mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 11:59:29 +00:00
* fix: set telegram groupPolicy to open during channel setup OpenClaw defaults groupPolicy to "allowlist" with an empty groupAllowFrom, which silently drops all group messages. Set it to "open" after adding the Telegram channel so group messages work out of the box. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: use OpenClaw config file for Telegram setup instead of broken CLI commands Telegram is a built-in channel in OpenClaw, not a plugin. The previous approach used `openclaw plugins enable telegram` (caused OOM on 2GB) and `openclaw channels add --channel telegram` (command doesn't exist). Now writes Telegram config (botToken, enabled, groupPolicy) directly into the atomic JSON config file during setup. Also sets groupPolicy to "open" so group messages work out of the box instead of being silently dropped. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: use openclaw onboard for channel setup instead of manual config OpenClaw has a built-in `openclaw onboard` command that interactively guides users through Telegram/WhatsApp channel setup. Use that instead of manually prompting for tokens and writing config ourselves. - Remove custom Telegram token prompt from agent-setup.ts - Remove broken `openclaw channels add` and `openclaw plugins enable` - Run `openclaw onboard` after gateway starts for channel setup - Base config (API key, gateway, model) still written atomically Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
26 lines
664 B
JSON
26 lines
664 B
JSON
{
|
|
"name": "@openrouter/spawn",
|
|
"version": "0.17.14",
|
|
"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",
|
|
"@openrouter/spawn-shared": "workspace:*",
|
|
"picocolors": "1.1.1",
|
|
"valibot": "1.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "2.4.3",
|
|
"@types/bun": "1.3.8"
|
|
}
|
|
}
|