mirror of
https://github.com/JimLiu/baoyu-skills.git
synced 2026-07-12 05:51:44 +08:00
23fac03691
Move the codex-imagegen wrapper out of scripts/ into its own workspace package alongside baoyu-md, baoyu-chrome-cdp, and baoyu-fetch. Drop the bash shim — src/main.ts now carries a `#\!/usr/bin/env bun` shebang and serves as the sole entrypoint. Add scripts/sync-codex-imagegen.sh so skills/baoyu-image-gen/scripts/codex-imagegen/ can be regenerated from packages/baoyu-codex-imagegen/src/ for skill self-containment. Update CLAUDE.md, docs/codex-imagegen-backend.md, and the CI workflow paths accordingly.
40 lines
953 B
JSON
40 lines
953 B
JSON
{
|
|
"name": "baoyu-codex-imagegen",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"description": "Generate images via Codex CLI's built-in image_gen tool from non-Codex runtimes (Claude Code, Hermes, …).",
|
|
"bin": {
|
|
"codex-imagegen": "./src/main.ts"
|
|
},
|
|
"files": [
|
|
"src/**/*.ts",
|
|
"!src/**/*.test.ts"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./src/main.ts",
|
|
"default": "./src/main.ts"
|
|
},
|
|
"./src/*": "./src/*"
|
|
},
|
|
"scripts": {
|
|
"test": "bun test",
|
|
"smoke": "bun src/main.ts --help"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/JimLiu/baoyu-skills.git",
|
|
"directory": "packages/baoyu-codex-imagegen"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/JimLiu/baoyu-skills/issues"
|
|
},
|
|
"homepage": "https://github.com/JimLiu/baoyu-skills/tree/main/packages/baoyu-codex-imagegen#readme",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"engines": {
|
|
"bun": ">=1.2.0"
|
|
}
|
|
}
|