spawn/packages/cli/package.json
A cdf2bec2d1
Some checks failed
CLI Release / Build and release CLI (push) Has been cancelled
Lint / ShellCheck (push) Has been cancelled
Lint / Biome Lint (push) Has been cancelled
Lint / macOS Compatibility (push) Has been cancelled
fix(sprite): use new --flag forms required by sprite CLI v0.0.1-rc43+ (#3409)
The sprite CLI rejects the legacy single-dash long-flag forms we still
emit, so `spawn run <agent>` fails on sprite at the very first remote
call (`sprite create -skip-console NAME`) before any agent install runs.

Updates the calls + tests to the supported forms:

- sprite create  -skip-console      → --skip-console
- sprite exec    -tty               → --tty
- sprite exec    -file SRC:DST      → --file SRC:DST
- sprite version  (subcommand gone) → sprite --version
- sprite url      (deprecated)      → sprite info  (URL still extracted
                                       via the existing https://… regex)

Bumps @openrouter/spawn to 1.0.44 so users on sprite pick up the fix on
their next run.

Reported by Andrew via Slack; tracking issue #3408.

Co-authored-by: Claude <claude@anthropic.com>
2026-05-13 05:58:27 -07:00

27 lines
696 B
JSON

{
"name": "@openrouter/spawn",
"version": "1.0.44",
"type": "module",
"bin": {
"spawn": "cli.js"
},
"scripts": {
"dev": "bun run src/index.ts",
"build": "bun build src/index.ts --outfile cli.js --target bun --minify --packages bundle",
"compile": "bun build src/index.ts --compile --outfile spawn",
"lint": "biome lint src/",
"test": "bun test",
"test:watch": "bun test --watch"
},
"dependencies": {
"@clack/prompts": "1.0.0",
"@daytonaio/sdk": "0.160.0",
"@openrouter/spawn-shared": "workspace:*",
"picocolors": "1.1.1",
"valibot": "1.2.0"
},
"devDependencies": {
"@biomejs/biome": "2.4.3",
"@types/bun": "1.3.8"
}
}