better-tg-cli 0.24.0 → 0.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -2
- package/README.ru.md +33 -2
- package/dist/telegram.mjs +1 -1
- package/package.json +1 -1
- package/skills/better-tg-cli/reference.md +7 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "better-tg-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.1",
|
|
4
4
|
"description": "Telegram for your terminal and your AI agents: read, search, send and press bot buttons on your own account. MCP server included.",
|
|
5
5
|
"mcpName": "io.github.TheVilfer/better-tg-cli",
|
|
6
6
|
"keywords": [
|
|
@@ -119,9 +119,14 @@ Buttons that need 2FA take `--password`. `--no-wait` skips waiting for the bot's
|
|
|
119
119
|
Showing its status is allowed.
|
|
120
120
|
- **Safety:** the read tool runs with `TG_READ_ONLY=1`, which blocks every guarded write even if a
|
|
121
121
|
command were misclassified.
|
|
122
|
-
- **Execution:** each call is a separate CLI process with no stdin
|
|
123
|
-
out after 120 s, and output is capped at 100 KB.
|
|
122
|
+
- **Execution:** each call is a separate CLI process with no stdin (a worker thread inside Claude
|
|
123
|
+
Desktop). Calls run one at a time, time out after 120 s, and output is capped at 100 KB.
|
|
124
|
+
`watch` needs `-t` or `-n`.
|
|
124
125
|
- **Protocol:** MCP 2025-11-25 with the `initialize` handshake. Newer clients fall back to it.
|
|
126
|
+
- **HTTP:** `telegram mcp --http [--host 127.0.0.1] [--port 8787]` serves the same tools on
|
|
127
|
+
`POST /mcp` (stateless, JSON responses) for remote hosts such as Grok Bot. Every request needs
|
|
128
|
+
`Authorization: Bearer <token>` (`telegram mcp --token`, `--rotate-token`). Requests with an
|
|
129
|
+
`Origin` header are refused. `--read-only` drops `telegram_write` (also works over stdio).
|
|
125
130
|
|
|
126
131
|
## Chat identifiers
|
|
127
132
|
|