mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-29 12:29:31 +00:00
refactor: Remove dead code and stale references (#2151)
- Extract duplicate loadTokenFromConfig helper (hetzner + daytona) into shared loadApiToken() in shared/ui.ts, eliminating 24 lines of duplicate validation logic across two cloud modules - Move misplaced FETCH_TIMEOUT and UPDATE_BACKOFF_MS constants in update-check.ts from the Schemas section into the Constants section where they belong (stale empty section header fix) Co-authored-by: spawn-qa-bot <qa@openrouter.ai> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
6423eb51f5
commit
796eaa9d02
5 changed files with 30 additions and 31 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@openrouter/spawn",
|
||||
"version": "0.12.9",
|
||||
"version": "0.12.10",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
"spawn": "cli.js"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue