tgbot 0.2.4
tgbot: ^0.2.4 copied to clipboard
A CLI tool that bridges Telegram messages to AI CLIs (Codex, Cursor Agent, OpenCode, Gemini, Claude), allowing you to interact with AI agents through a Telegram bot.
0.2.4 #
- Add
allowed_chat_idsconfig support so bots can authorize and respond in Telegram groups/supergroups by chat ID. - Allow message processing when either sender is in
allowed_user_idsor chat is inallowed_chat_ids. - Update config templates/README with group chat ID setup guidance.
0.2.3 #
- Fix Windows prompt argument normalization.
0.2.2 #
- Fix Windows prompt argument normalization by escaping double quotes in addition to CRLF/newline normalization.
0.2.1 #
- Fix Windows startup crash by skipping unsupported
SIGTERMsignal registration on Windows while keepingSIGINT(Ctrl+C) graceful shutdown behavior.
0.2.0 #
- Add Cursor provider support (
provider: cursor) with default commandcursor-agent. - Add
CursorRunnerand wire it through config parsing, runner factory, and provider labeling. - Fix Cursor invocation to use
--print --output-format stream-json(instead of unsupported--json). - Fix Cursor output handling to ignore
userevents so wrapped system prompts are not echoed to Telegram. - Add automatic Cursor workspace trust for non-interactive runs by injecting
--trustunless--trust,--yolo, or-fis already set. - Update docs/templates for Cursor provider and invocation patterns.
- Add/extend tests for Cursor config defaults, runner wiring, argument building, and prompt-leak regression coverage.
0.1.9 #
- Initial release.