mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-19 16:39:50 +00:00
fix: Add missing security.ts to CLI installer downloads
commands.ts imports ./security.js but install.sh never downloaded security.ts, causing build to fail with "Could not resolve" error. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7410c8ee4f
commit
863cfbe711
1 changed files with 2 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ if command -v bun &>/dev/null; then
|
|||
curl -fsSL "${SPAWN_RAW_BASE}/cli/src/manifest.ts" -o "${tmpdir}/cli/src/manifest.ts"
|
||||
curl -fsSL "${SPAWN_RAW_BASE}/cli/src/commands.ts" -o "${tmpdir}/cli/src/commands.ts"
|
||||
curl -fsSL "${SPAWN_RAW_BASE}/cli/src/version.ts" -o "${tmpdir}/cli/src/version.ts"
|
||||
curl -fsSL "${SPAWN_RAW_BASE}/cli/src/security.ts" -o "${tmpdir}/cli/src/security.ts"
|
||||
|
||||
cd "${tmpdir}/cli"
|
||||
bun install
|
||||
|
|
@ -78,6 +79,7 @@ if command -v npm &>/dev/null && command -v node &>/dev/null; then
|
|||
curl -fsSL "${SPAWN_RAW_BASE}/cli/src/manifest.ts" -o "${tmpdir}/cli/src/manifest.ts"
|
||||
curl -fsSL "${SPAWN_RAW_BASE}/cli/src/commands.ts" -o "${tmpdir}/cli/src/commands.ts"
|
||||
curl -fsSL "${SPAWN_RAW_BASE}/cli/src/version.ts" -o "${tmpdir}/cli/src/version.ts"
|
||||
curl -fsSL "${SPAWN_RAW_BASE}/cli/src/security.ts" -o "${tmpdir}/cli/src/security.ts"
|
||||
|
||||
cd "${tmpdir}/cli"
|
||||
npm install
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue