WIP Telegram: modulo akode-telegram (API e impostazioni), in pausa
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -4736,6 +4736,56 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"TelegramConfigToml": {
|
||||
"additionalProperties": false,
|
||||
"description": "`[telegram]`: control of running sessions from the user's Telegram bot. The bot token is never stored here: it lives in the key store under `telegram-bot`.",
|
||||
"properties": {
|
||||
"allowed_chat_ids": {
|
||||
"description": "Chats served by the bot (added by pairing in `/telegram`). Others are ignored.",
|
||||
"items": {
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"enabled": {
|
||||
"description": "When `true`, the shared app-server serves the bot. Defaults to `false`: nothing contacts Telegram while disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"notify": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/TelegramNotifyToml"
|
||||
}
|
||||
],
|
||||
"description": "Which events are sent to Telegram. Every level defaults to `true`."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"TelegramNotifyToml": {
|
||||
"additionalProperties": false,
|
||||
"description": "`[telegram.notify]`: which events reach Telegram.",
|
||||
"properties": {
|
||||
"approvals": {
|
||||
"description": "Approval requests with inline buttons.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"errors": {
|
||||
"description": "Errors and rate-limit (429) notices.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"loops": {
|
||||
"description": "Stops of the repeated-failure guard.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"turn_end": {
|
||||
"description": "A short summary when a turn ends.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadStoreToml": {
|
||||
"oneOf": [
|
||||
{
|
||||
@@ -8807,6 +8857,14 @@
|
||||
"description": "Suppress warnings about unstable (under development) features.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"telegram": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/TelegramConfigToml"
|
||||
}
|
||||
],
|
||||
"description": "Telegram control of running sessions."
|
||||
},
|
||||
"thread_unload_delay_secs": {
|
||||
"description": "Seconds a thread must have no subscribers and no activity before app-server unloads it. Defaults to 60 (1 minute); zero unloads immediately. Resolved when each thread is loaded; request config overrides apply per thread.",
|
||||
"format": "uint64",
|
||||
|
||||
Reference in New Issue
Block a user