mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 11:59:29 +00:00
* feat: add --custom flag for interactive machine type/region selection By default, all clouds now skip size/region prompts and use sensible defaults for faster provisioning. The --custom flag enables interactive pickers on all clouds, unifying the previously inconsistent behavior where some clouds always prompted and others never did. - AWS: promptRegion/promptBundle gated on SPAWN_CUSTOM - GCP: promptMachineType/promptZone gated on SPAWN_CUSTOM - Fly: promptVmOptions gated on SPAWN_CUSTOM - Hetzner: new promptServerType/promptLocation with type/location arrays - DigitalOcean: new promptDropletSize/promptDoRegion with size/region arrays - Daytona: new promptSandboxSize with cpu/memory/disk presets - Sprite: no change (managed platform, no meaningful size options) - --custom + --headless is an error (incompatible modes) - Version bump to 0.8.0 (new feature) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * style: fix biome format violations in --custom flag code Auto-format object literals in arrays (expand to multi-line), wrap long console.error line, and expand inline array in test assertion. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: lab <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
25 lines
620 B
JSON
25 lines
620 B
JSON
{
|
|
"name": "@openrouter/spawn",
|
|
"version": "0.8.0",
|
|
"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",
|
|
"picocolors": "^1.1.1",
|
|
"valibot": "^1.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.4.3",
|
|
"@types/bun": "^1.3.8"
|
|
}
|
|
}
|