mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-05 16:31:44 +00:00
* feat(channels): add channel-owned setup contracts * test(channels): align legacy setup fixtures * chore(channels): regenerate config and SDK baselines after rebase * fix(update): run fresh doctor after current-process core changes * fix(channels): align add pre-scan with execution precedence * style(cli): format channels-cli test additions * fix(channels): restore option-before-positional channel resolution via metadata arity scan * fix(channels): keep help flags out of metadata arity escalation * test(update): mock fresh post-update doctor in current-process suites * style: format review fixes and correct entrypoint mock type * fix(channels): register only modern contract options for dual-publishing plugins * test(update): align downgrade suites with fresh-doctor child invocation * docs(channels): record empty-contract and input-forwarding invariants * fix(line): keep the shipped --token switch as a channel access token alias * fix(signal): stop treating exact cross-family loopback endpoints as bind-aligned * chore(config): regenerate docs config baselines after second rebase * style: format rebased channels add tests * fix(channels): enforce field-key and flag-name agreement in setup contracts * fix(signal): detect container endpoints for bare --http-url setup * fix(signal): ignore unconfigured accounts in transport collision checks * fix(channels): validate negated setup flags in contract and normalizer * fix(signal): preserve existing transport kind when setup detection is unreachable * style(signal): use direct boolean check in collision guard * style(signal): type test config literals * docs(update): record two-read design of fresh-doctor validation gate * fix(channels): satisfy post-rebase architecture gates * docs: refresh channel setup map --------- Co-authored-by: Peter Steinberger <steipete@gmail.com>
77 lines
2.0 KiB
JSON
77 lines
2.0 KiB
JSON
{
|
|
"name": "@openclaw/telegram",
|
|
"version": "2026.7.2",
|
|
"private": true,
|
|
"description": "OpenClaw Telegram channel plugin",
|
|
"type": "module",
|
|
"dependencies": {
|
|
"@grammyjs/runner": "2.0.3",
|
|
"@grammyjs/transformer-throttler": "1.2.1",
|
|
"grammy": "1.44.0",
|
|
"typebox": "1.3.3",
|
|
"undici": "8.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@openclaw/plugin-sdk": "workspace:*"
|
|
},
|
|
"openclaw": {
|
|
"extensions": [
|
|
"./index.ts"
|
|
],
|
|
"setupEntry": "./setup-entry.ts",
|
|
"setupFeatures": {
|
|
"configPromotion": true,
|
|
"legacyStateMigrations": true
|
|
},
|
|
"channel": {
|
|
"id": "telegram",
|
|
"configuredState": {
|
|
"env": {
|
|
"anyOf": [
|
|
"TELEGRAM_BOT_TOKEN"
|
|
]
|
|
}
|
|
},
|
|
"approvalFlags": ["native"],
|
|
"label": "Telegram",
|
|
"selectionLabel": "Telegram (Bot API)",
|
|
"detailLabel": "Telegram Bot",
|
|
"docsPath": "/channels/telegram",
|
|
"docsLabel": "telegram",
|
|
"blurb": "simplest way to get started — register a bot with @BotFather and get going.",
|
|
"systemImage": "paperplane",
|
|
"selectionDocsPrefix": "",
|
|
"selectionDocsOmitLabel": true,
|
|
"selectionExtras": [
|
|
"https://openclaw.ai"
|
|
],
|
|
"markdownCapable": true,
|
|
"setup": {
|
|
"fields": [
|
|
{
|
|
"key": "token",
|
|
"kind": "string",
|
|
"sensitive": true,
|
|
"cli": { "flags": "--token <token>", "description": "Telegram bot token" }
|
|
},
|
|
{
|
|
"key": "tokenFile",
|
|
"kind": "string",
|
|
"sensitive": true,
|
|
"cli": { "flags": "--token-file <path>", "description": "Telegram bot token file" }
|
|
},
|
|
{
|
|
"key": "useEnv",
|
|
"kind": "boolean",
|
|
"cli": { "flags": "--use-env", "description": "Use TELEGRAM_BOT_TOKEN" }
|
|
}
|
|
]
|
|
},
|
|
"commands": {
|
|
"nativeCommandsAutoEnabled": true,
|
|
"nativeSkillsAutoEnabled": true
|
|
}
|
|
}
|
|
}
|
|
}
|