better-tg-cli 0.31.1 → 0.32.0
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 +24 -0
- package/dist/telegram.mjs +1 -1
- package/package.json +2 -5
- package/skills/better-tg-cli/reference.md +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "better-tg-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.0",
|
|
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": [
|
|
@@ -49,8 +49,7 @@
|
|
|
49
49
|
"skills/better-tg-cli/SKILL.md",
|
|
50
50
|
"skills/better-tg-cli/reference.md",
|
|
51
51
|
"LICENSE",
|
|
52
|
-
"README.md"
|
|
53
|
-
"npm-shrinkwrap.json"
|
|
52
|
+
"README.md"
|
|
54
53
|
],
|
|
55
54
|
"engines": {
|
|
56
55
|
"node": ">=20"
|
|
@@ -62,8 +61,6 @@
|
|
|
62
61
|
"scripts": {
|
|
63
62
|
"build": "node scripts/gen-version.mjs && tsc --noEmit && node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && bun scripts/bundle.mjs node",
|
|
64
63
|
"prepublishOnly": "npm run build",
|
|
65
|
-
"prepack": "node scripts/shrinkwrap.mjs",
|
|
66
|
-
"postpack": "node scripts/shrinkwrap.mjs clean",
|
|
67
64
|
"dev": "scripts/tg-dev",
|
|
68
65
|
"dev:node": "TG_PROFILE=${TG_PROFILE-dev} TG_NO_UPDATE_CHECK=1 tsx src/index.ts",
|
|
69
66
|
"dev:debug": "TG_PROFILE=${TG_PROFILE-dev} TG_NO_UPDATE_CHECK=1 tsx --inspect-brk src/index.ts",
|
|
@@ -127,6 +127,11 @@ Buttons that need 2FA take `--password`. `--no-wait` skips waiting for the bot's
|
|
|
127
127
|
`POST /mcp` (stateless, JSON responses) for remote hosts such as Grok Bot. Every request needs
|
|
128
128
|
`Authorization: Bearer <token>` (`telegram mcp --token`, `--rotate-token`). Requests with an
|
|
129
129
|
`Origin` header are refused. `--read-only` drops `telegram_write` (also works over stdio).
|
|
130
|
+
- **Relay:** `telegram mcp --remote` connects this computer to the hosted relay
|
|
131
|
+
(`https://mcp.better-tg-cli.com/mcp`) for claude.ai, ChatGPT and other apps that connect by URL.
|
|
132
|
+
The user pairs each app with `telegram remote pair` and confirms it in a dialog; never pair or
|
|
133
|
+
confirm for them. `telegram remote clients|revoke|reset` manage connected apps. `remote` is not
|
|
134
|
+
available over MCP.
|
|
130
135
|
|
|
131
136
|
## Chat identifiers
|
|
132
137
|
|