summaryrefslogtreecommitdiff
path: root/plugins/plugin-dev/skills/plugin-settings/scripts/validate-settings.sh
diff options
context:
space:
mode:
authorKenneth Lien <kenneth@anthropic.com>2026-03-20 10:54:33 -0700
committerKenneth Lien <kenneth@anthropic.com>2026-03-20 10:54:33 -0700
commit2aa90a83876b548c5db2e3ecae22d93088e6e0e5 (patch)
tree871257f7dc70e6b19c3095931dd84d033cdd6a17 /plugins/plugin-dev/skills/plugin-settings/scripts/validate-settings.sh
parent90accf6fd2008fe0ee9578ebc088740c3a754d58 (diff)
telegram: exit when Claude Code closes the connectionkenneth/telegram-shutdown
When the MCP stdio transport closes, the bot kept polling Telegram as a zombie process — holding the token and causing 409 Conflict for the next session. - Listen for stdin end/close and SIGTERM/SIGINT -> bot.stop() + exit - Force-exit after 2s if bot.stop() stalls on the long-poll timeout - unref the approval-check interval so it doesn't keep us alive Fixes #793, partial #788 (issue 3)
Diffstat (limited to 'plugins/plugin-dev/skills/plugin-settings/scripts/validate-settings.sh')
0 files changed, 0 insertions, 0 deletions