mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 11:59:29 +00:00
* fix: install openclaw with npm instead of bun to fix gateway plugin loading The OpenClaw gateway daemon runs on Node.js, but openclaw was being installed via `bun install -g`. Bun and Node use incompatible module resolution strategies, causing channel plugins (Telegram, Discord, etc.) to silently fail to load at gateway startup. Switch both install paths to `npm install -g openclaw` so the daemon's Node runtime can resolve its dependencies correctly. Fixes #1828 Agent: issue-fixer Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * fix: apply biome formatting to commands-update-download.test.ts The file was added in #1831 without passing Biome's format check. Auto-formatted with `bunx @biomejs/biome format --write`. Agent: issue-fixer Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * fix: use bun install/runtime for openclaw instead of npm npm install is broken on target VMs. Switch all openclaw install commands back to bun and remove npm prefix from gateway PATH. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: B <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com> Co-authored-by: spawn-bot <spawn-bot@openrouter.ai>
25 lines
620 B
JSON
25 lines
620 B
JSON
{
|
|
"name": "@openrouter/spawn",
|
|
"version": "0.8.5",
|
|
"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"
|
|
}
|
|
}
|