mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-29 04:19:30 +00:00
The autonomous refactoring added `set -euo pipefail` but the scripts check optional env vars with `[[ -n "$VAR" ]]` which is a fatal error under nounset when the var isn't set (e.g. SPRITE_NAME, OPENROUTER_API_KEY). Fix: downgrade to `set -eo pipefail` across all 42 affected files. Co-authored-by: Sprite <noreply@sprite.dev> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
20 lines
454 B
JSON
20 lines
454 B
JSON
{
|
|
"name": "@openrouter/spawn",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"bin": {
|
|
"spawn": "cli.js"
|
|
},
|
|
"scripts": {
|
|
"dev": "bun run src/index.ts",
|
|
"build": "bun build src/index.ts --outfile cli.js --target node --minify",
|
|
"compile": "bun build src/index.ts --compile --outfile spawn"
|
|
},
|
|
"dependencies": {
|
|
"@clack/prompts": "^0.10.0",
|
|
"picocolors": "^1.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "^1.2.0"
|
|
}
|
|
}
|