mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-12 14:20:17 +00:00
* fix: add 30s AbortSignal.timeout to all cloud API fetch wrappers All four cloud provider API client wrapper functions (lightsailRest, hetznerApi, doFetch, daytonaApi) were missing fetch timeouts, while every other fetch call in the codebase already used AbortSignal.timeout. A stalled TCP connection to any cloud provider would cause the CLI to hang indefinitely with no user feedback or recovery path. Agent: team-lead Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * fix: apply biome formatting to fetch timeout changes --------- Co-authored-by: B <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
25 lines
616 B
JSON
25 lines
616 B
JSON
{
|
|
"name": "@openrouter/spawn",
|
|
"version": "0.12.3",
|
|
"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"
|
|
}
|
|
}
|