mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 11:59:29 +00:00
Agents declare their dependency tier (minimal/node/bun/full), and cloud-init only installs what's needed. Lightweight agents like OpenCode and ZeroClaw skip Node.js upgrade, Bun install, and build-essential — saving 60-90s on boot and eliminating the DigitalOcean cloud-init timeout. - Add CloudInitTier type + cloudInitTier field to AgentConfig - Add shared/cloud-init.ts: tier-to-packages mapping - Update all 6 clouds (DO, Hetzner, AWS, GCP, Fly, Daytona) - Bump CLI version to 0.6.8 Co-authored-by: Claude <claude@anthropic.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
24 lines
595 B
JSON
24 lines
595 B
JSON
{
|
|
"name": "@openrouter/spawn",
|
|
"version": "0.6.8",
|
|
"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"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.4.3",
|
|
"@types/bun": "^1.3.8"
|
|
}
|
|
}
|