telegram-dev 0.4.0__tar.gz → 0.5.1__tar.gz

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.
Files changed (68) hide show
  1. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/.claude-plugin/marketplace.json +4 -4
  2. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/.claude-plugin/plugin.json +3 -3
  3. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/.codex-plugin/plugin.json +4 -4
  4. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/.cursor-plugin/plugin.json +3 -3
  5. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/AGENTS.md +1 -1
  6. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/CHANGELOG.md +18 -0
  7. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/MANIFEST.in +1 -1
  8. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/NOTICE +1 -1
  9. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/PKG-INFO +34 -11
  10. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/README.md +32 -9
  11. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/README.ru.md +32 -9
  12. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/docs/catalog-submissions.md +2 -2
  13. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/docs/validation.md +10 -0
  14. telegram_dev-0.5.1/glama.json +4 -0
  15. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/pyproject.toml +2 -2
  16. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/server.json +3 -3
  17. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/skills/telegram-dev/SKILL.md +2 -1
  18. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/skills/telegram-dev/references/surface-map.md +1 -0
  19. telegram_dev-0.5.1/skills/telegram-dev/references/ton-and-blockchain.md +46 -0
  20. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/telegram_dev.egg-info/PKG-INFO +34 -11
  21. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/telegram_dev.egg-info/SOURCES.txt +4 -1
  22. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/telegram_knowledge.py +72 -9
  23. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/tests/test_http.py +5 -1
  24. telegram_dev-0.5.1/tests/test_ton.py +74 -0
  25. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/uv.lock +314 -280
  26. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/.agents/plugins/marketplace.json +0 -0
  27. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/.dockerignore +0 -0
  28. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/.mcp.json +0 -0
  29. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/Dockerfile +0 -0
  30. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/LICENSE +0 -0
  31. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/assets/icon-dark.svg +0 -0
  32. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/assets/icon.svg +0 -0
  33. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/assets/logo-dark.svg +0 -0
  34. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/assets/logo.svg +0 -0
  35. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/deploy/.env.example +0 -0
  36. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/deploy/Caddyfile +0 -0
  37. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/deploy/challenges/.gitkeep +0 -0
  38. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/deploy/compose.yml +0 -0
  39. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/docs/deployment.md +0 -0
  40. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/docs/maintenance.md +0 -0
  41. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/docs/privacy.md +0 -0
  42. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/docs/runtime.md +0 -0
  43. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/docs/support.md +0 -0
  44. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/docs/terms.md +0 -0
  45. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/scripts/check_sources.py +0 -0
  46. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/scripts/install.py +0 -0
  47. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/scripts/package_openai.py +0 -0
  48. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/setup.cfg +0 -0
  49. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/skills/telegram-dev/agents/openai.yaml +0 -0
  50. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/skills/telegram-dev/references/bot-operations.md +0 -0
  51. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/skills/telegram-dev/references/business-and-commerce.md +0 -0
  52. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/skills/telegram-dev/references/buttons-and-custom-emoji.md +0 -0
  53. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/skills/telegram-dev/references/client-development.md +0 -0
  54. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/skills/telegram-dev/references/feature-checks.md +0 -0
  55. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/skills/telegram-dev/references/groups-and-channels.md +0 -0
  56. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/skills/telegram-dev/references/mini-apps-and-web.md +0 -0
  57. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/telegram_dev.egg-info/dependency_links.txt +0 -0
  58. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/telegram_dev.egg-info/entry_points.txt +0 -0
  59. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/telegram_dev.egg-info/requires.txt +0 -0
  60. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/telegram_dev.egg-info/top_level.txt +0 -0
  61. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/telegram_dev_install.py +0 -0
  62. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/tests/behavioral-cases.json +0 -0
  63. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/tests/test_fetch.py +0 -0
  64. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/tests/test_install.py +0 -0
  65. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/tests/test_knowledge.py +0 -0
  66. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/tests/test_package.py +0 -0
  67. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/tests/test_refresh.py +0 -0
  68. {telegram_dev-0.4.0 → telegram_dev-0.5.1}/tests/test_sources.py +0 -0
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "telegram-dev-tools",
3
3
  "owner": {"name": "Kay0k1"},
4
- "metadata": {"description": "Independent Telegram development tools with official documentation", "version": "0.4.0"},
4
+ "metadata": {"description": "Independent Telegram development tools with official documentation", "version": "0.5.1"},
5
5
  "plugins": [
6
6
  {
7
7
  "name": "telegram-dev",
8
8
  "source": "./",
9
- "description": "Source-verified Telegram development with official documentation search",
10
- "version": "0.4.0",
9
+ "description": "Source-verified Telegram and TON development with official documentation search",
10
+ "version": "0.5.1",
11
11
  "homepage": "https://github.com/Kay0k1/telegram-dev",
12
12
  "repository": "https://github.com/Kay0k1/telegram-dev",
13
13
  "license": "MIT",
14
- "keywords": ["telegram", "documentation", "bot-api", "mini-apps", "mtproto", "tdlib"]
14
+ "keywords": ["telegram", "documentation", "bot-api", "mini-apps", "mtproto", "tdlib", "ton", "ton-connect"]
15
15
  }
16
16
  ]
17
17
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "telegram-dev",
3
- "version": "0.4.0",
3
+ "version": "0.5.1",
4
4
  "displayName": "Telegram Dev",
5
- "description": "Source-verified Telegram development across Bot API, Mini Apps, MTProto, TDLib, media and public releases. Independent project by Kay0k1.",
5
+ "description": "Source-verified Telegram and TON development across Bot API, Mini Apps, MTProto, TDLib, TON Connect, Tolk and public releases. Independent project by Kay0k1.",
6
6
  "author": {
7
7
  "name": "Kay0k1",
8
8
  "url": "https://github.com/Kay0k1"
@@ -15,5 +15,5 @@
15
15
  "supportUrl": "https://github.com/Kay0k1/telegram-dev/issues",
16
16
  "privacyPolicyUrl": "https://github.com/Kay0k1/telegram-dev/blob/main/docs/privacy.md",
17
17
  "termsOfServiceUrl": "https://github.com/Kay0k1/telegram-dev/blob/main/docs/terms.md",
18
- "keywords": ["telegram", "bot-api", "mini-apps", "mtproto", "tdlib", "documentation"]
18
+ "keywords": ["telegram", "bot-api", "mini-apps", "mtproto", "tdlib", "ton", "ton-connect", "documentation"]
19
19
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "telegram-dev",
3
- "version": "0.4.0",
4
- "description": "Source-verified Telegram development across Bot API, Mini Apps, MTProto, TDLib and public release history",
3
+ "version": "0.5.1",
4
+ "description": "Source-verified Telegram and TON development across Bot API, Mini Apps, MTProto, TDLib, TON Connect, Tolk and public release history",
5
5
  "author": {
6
6
  "name": "Kay0k1",
7
7
  "url": "https://github.com/Kay0k1"
@@ -9,7 +9,7 @@
9
9
  "homepage": "https://github.com/Kay0k1/telegram-dev",
10
10
  "repository": "https://github.com/Kay0k1/telegram-dev",
11
11
  "license": "MIT",
12
- "keywords": ["telegram", "bot-api", "mini-apps", "mtproto", "tdlib", "documentation"],
12
+ "keywords": ["telegram", "bot-api", "mini-apps", "mtproto", "tdlib", "ton", "ton-connect", "documentation"],
13
13
  "skills": "./skills/",
14
14
  "mcpServers": {
15
15
  "telegram-knowledge": {
@@ -22,7 +22,7 @@
22
22
  "interface": {
23
23
  "displayName": "Telegram Dev",
24
24
  "shortDescription": "Telegram development knowledge",
25
- "longDescription": "Develop Telegram bots, Mini Apps, clients and integrations using public official documentation. Telegram Dev helps identify the API surface, verify feature eligibility, inspect release changes and read current documentation before implementation. The bundled local MCP maintains a documentation cache; uv is required. This independent community project is maintained by Kay0k1 and is not affiliated with Telegram. It does not connect to Telegram accounts or operate on private chats.",
25
+ "longDescription": "Develop Telegram bots, Mini Apps, clients, integrations and TON features using public official Telegram and TON documentation. Telegram Dev helps identify the API surface, verify feature eligibility, inspect release changes and read current documentation before implementation. The bundled local MCP maintains a documentation cache; uv is required. This independent community project is maintained by Kay0k1 and is not affiliated with Telegram. It does not connect to Telegram accounts or operate on private chats.",
26
26
  "developerName": "Kay0k1",
27
27
  "category": "Developer Tools",
28
28
  "capabilities": ["Search Telegram documentation", "Read official sources", "Check documentation freshness"],
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "telegram-dev",
3
- "version": "0.4.0",
4
- "description": "Source-verified Telegram development: Bot API, Mini Apps, MTProto, TDLib, media and public releases",
3
+ "version": "0.5.1",
4
+ "description": "Source-verified Telegram and TON development: Bot API, Mini Apps, MTProto, TDLib, TON Connect, Tolk and public releases",
5
5
  "author": {"name": "Kay0k1"},
6
6
  "license": "MIT",
7
7
  "repository": "https://github.com/Kay0k1/telegram-dev",
8
8
  "homepage": "https://github.com/Kay0k1/telegram-dev",
9
- "keywords": ["telegram", "bot-api", "mini-apps", "mtproto", "tdlib", "documentation"],
9
+ "keywords": ["telegram", "bot-api", "mini-apps", "mtproto", "tdlib", "ton", "ton-connect", "documentation"],
10
10
  "logo": "assets/logo.svg",
11
11
  "skills": "./skills/",
12
12
  "mcpServers": "./.mcp.json"
@@ -1,6 +1,6 @@
1
1
  # Telegram Dev — notes for coding agents
2
2
 
3
- MCP server + agent skill that give Claude Code, Codex and Cursor current official Telegram documentation. `CLAUDE.md` is a symlink to this file.
3
+ MCP server + agent skill that give Claude Code, Codex and Cursor current official Telegram and TON documentation. TON pages are crawled from the Markdown twins listed in `https://docs.ton.org/llms.txt` and cited by their human URLs (`fetch_location()` maps between them). `CLAUDE.md` is a symlink to this file.
4
4
 
5
5
  ## Layout
6
6
 
@@ -2,6 +2,22 @@
2
2
 
3
3
  All notable changes to this project. Versions follow [Semantic Versioning](https://semver.org/).
4
4
 
5
+ ## [0.5.1] - 2026-11-10
6
+
7
+ ### Fixed
8
+
9
+ - `uv sync --frozen` on a machine without Python failed: uv picked Python 3.15, for which the locked pydantic-core and rpds-py had no wheels, and anyio does not yet start on 3.15. The project now requires Python `>=3.10,<3.15`, so uv installs 3.14, and the lock uses pydantic-core, rpds-py, anyio and MCP SDK dependencies with current wheels. This fixes Glama builds and the Claude Code plugin on such machines.
10
+ - CI also runs the tests on the newest Python the project allows, installed by uv.
11
+
12
+ ## [0.5.0] - 2026-11-10
13
+
14
+ ### Added
15
+
16
+ - TON documentation: every page listed in the docs.ton.org `llms.txt` index (TON Connect, payments, APIs, smart contracts, Tolk, TVM, blockchain foundations), the TEP standards, the TON node and Tolk changelogs, and Telegram's Blockchain Guidelines for Mini Apps. Pages are read as Markdown and cited by their docs.ton.org URLs.
17
+ - Search areas `ton` and `ton-releases`; Russian aliases for wallets, contracts, jettons and NFTs.
18
+ - Skill guide `ton-and-blockchain.md`: Telegram's rules first (TON and TON Connect only, Stars for digital goods), then TON Connect and `ton_proof`, payment confirmation, standards, testnet and key safety.
19
+ - The daily source monitor covers the new TON sources (57 in total).
20
+
5
21
  ## [0.4.0] - 2026-11-10
6
22
 
7
23
  ### Added
@@ -35,6 +51,8 @@ All notable changes to this project. Versions follow [Semantic Versioning](https
35
51
 
36
52
  - First public release: documentation MCP server with an on-demand local cache, agent skill, project installer for Codex, Claude Code and Cursor, and a Claude Code plugin catalog.
37
53
 
54
+ [0.5.1]: https://github.com/Kay0k1/telegram-dev/compare/v0.5.0...v0.5.1
55
+ [0.5.0]: https://github.com/Kay0k1/telegram-dev/compare/v0.4.0...v0.5.0
38
56
  [0.4.0]: https://github.com/Kay0k1/telegram-dev/compare/v0.3.0...v0.4.0
39
57
  [0.3.0]: https://github.com/Kay0k1/telegram-dev/compare/v0.2.0...v0.3.0
40
58
  [0.2.0]: https://github.com/Kay0k1/telegram-dev/releases/tag/v0.2.0
@@ -1,4 +1,4 @@
1
- include README.ru.md CHANGELOG.md AGENTS.md server.json uv.lock .mcp.json
1
+ include README.ru.md CHANGELOG.md AGENTS.md server.json glama.json uv.lock .mcp.json
2
2
  include Dockerfile .dockerignore
3
3
  recursive-include docs *.md
4
4
  recursive-include deploy *.yml Caddyfile .env.example .gitkeep
@@ -1,6 +1,6 @@
1
1
  Telegram Dev is an independent community project, not an official Telegram product.
2
2
  The MIT license applies to this project's original code and authored instructions.
3
- Retrieved Telegram documentation, third-party source code, names and trademarks
3
+ Retrieved Telegram and TON documentation, third-party source code, names and trademarks
4
4
  retain their original ownership and applicable terms. The public source package
5
5
  does not redistribute the previously downloaded documentation database. Each
6
6
  installation retrieves public sources directly and retains source URLs.
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: telegram-dev
3
- Version: 0.4.0
3
+ Version: 0.5.1
4
4
  Summary: Source-grounded Telegram development skills and documentation MCP
5
5
  License-Expression: MIT
6
- Requires-Python: >=3.10
6
+ Requires-Python: <3.15,>=3.10
7
7
  Description-Content-Type: text/markdown
8
8
  License-File: LICENSE
9
9
  License-File: NOTICE
@@ -22,9 +22,9 @@ Dynamic: license-file
22
22
  [![Docs monitor](https://github.com/Kay0k1/telegram-dev/actions/workflows/documentation.yml/badge.svg)](https://github.com/Kay0k1/telegram-dev/tree/docs-status)
23
23
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
24
24
 
25
- **Current official Telegram documentation for Claude Code, Codex and Cursor.**
25
+ **Current official Telegram and TON documentation for Claude Code, Codex and Cursor.**
26
26
 
27
- Telegram Dev is an MCP server plus an agent skill. The server fetches, indexes and searches the official docs (Bot API, Mini Apps, MTProto, TDLib, changelogs) and keeps them fresh. The skill teaches the agent to pick the right API, check eligibility and library support, and cite what it read.
27
+ Telegram Dev is an MCP server plus an agent skill. The server fetches, indexes and searches the official docs and keeps them fresh: Bot API, Mini Apps, MTProto, TDLib, and on the TON side docs.ton.org (TON Connect, Tolk, TVM, APIs), the TEP standards and the changelogs. The skill teaches the agent to pick the right API, follow Telegram's rules, check library support, and cite what it read.
28
28
 
29
29
  [Русская версия](README.ru.md)
30
30
 
@@ -34,6 +34,8 @@ Telegram Dev is an MCP server plus an agent skill. The server fetches, indexes a
34
34
 
35
35
  Telegram ships a new Bot API version every month or two. A model's knowledge of it stops at its training cutoff, so agents confidently write code against fields that changed or never existed. They also mix up the Bot API, MTProto and TDLib, which have very different capabilities.
36
36
 
37
+ TON moves just as fast. The current TON docs call the coin Gram, describe Telegram Money, the wallet built into Telegram, and treat Tolk as the main contract language with FunC as legacy. On top of that, Telegram has its own rules: blockchain features in Mini Apps must use TON and TON Connect, and digital goods are sold for Stars.
38
+
37
39
  With Telegram Dev the agent reads the current page before it writes code. A real Codex CLI run in a fresh project after `uvx telegram-dev install --agent codex` (tool calls trimmed):
38
40
 
39
41
  ```text
@@ -62,6 +64,26 @@ unstyled. Source: https://core.telegram.org/bots/api#inlinekeyboardbutton
62
64
  "style": "danger", "icon_custom_emoji_id": "YOUR_CUSTOM_EMOJI_ID"}]]}}
63
65
  ```
64
66
 
67
+ The skill also knows when *not* to reach for a blockchain. Another real Codex run:
68
+
69
+ ```text
70
+ > Use the telegram-dev skill. Our Telegram Mini App sells a premium in-game skin
71
+ for 2 TON. I want a Buy button that connects the user's wallet and charges them.
72
+
73
+ get_telegram_document {"url": "https://core.telegram.org/bots/payments-stars", "refresh": true}
74
+ search_telegram_docs {"query": "createInvoiceLink answerPreCheckoutQuery successful_payment XTR", "area": "bot-api"}
75
+ get_telegram_document {"url": "https://docs.ton.org/applications/ton-connect/overview", "refresh": true}
76
+ get_telegram_document {"url": "https://core.telegram.org/bots/webapps", "offset": 40310}
77
+
78
+ Use Telegram Stars (XTR) through the Bot API. The skin is a digital good, so
79
+ Telegram requires Stars and prohibits cryptocurrency payment for this purchase.
80
+ For permitted wallet features, use the TON Connect SDK.
81
+ 1. Validate initData on the backend and bind the order to the user.
82
+ 2. createInvoiceLink with currency "XTR", open it with Telegram.WebApp.openInvoice.
83
+ 3. Answer pre_checkout_query, grant the skin once on successful_payment,
84
+ store telegram_payment_charge_id for refunds.
85
+ ```
86
+
65
87
  ## Install
66
88
 
67
89
  You need [uv](https://docs.astral.sh/uv/getting-started/installation/). No bot token, Telegram account or API key is needed: the server only reads public documentation.
@@ -121,11 +143,11 @@ The tools work without the skill, but the skill is what makes an agent use them
121
143
 
122
144
  | Tool | What it does |
123
145
  | --- | --- |
124
- | `search_telegram_docs` | Full-text search over indexed sections, optionally limited to one area: `bot-api`, `mini-apps`, `telegram-api`, `tdlib`, `releases` and others |
146
+ | `search_telegram_docs` | Full-text search over indexed sections, optionally limited to one area: `bot-api`, `mini-apps`, `telegram-api`, `tdlib`, `ton`, `releases`, `ton-releases` and others |
125
147
  | `get_telegram_document` | Reads an official page in pages of up to 40,000 characters; fetches it if it is missing or older than 6 hours |
126
148
  | `telegram_corpus_status` | What is indexed, how fresh it is and which sources failed |
127
149
  | `telegram_document_history` | Revisions of a page captured by this installation |
128
- | `telegram_sources` | The 52 official entry points, grouped by API area |
150
+ | `telegram_sources` | The 57 official entry points, grouped by API area |
129
151
 
130
152
  The cache starts empty. Pages are fetched the first time the agent reads them and indexed right away. To pre-fetch everything reachable from the configured sources:
131
153
 
@@ -146,7 +168,8 @@ uvx telegram-dev status
146
168
  | MTProto and TDLib | User vs bot authorization, schema and layers, TDLib versions |
147
169
  | Business and payments | Business connections, Stars, subscriptions, gifts, paid media |
148
170
  | Groups and channels | Admin rights, forums and topics, moderation |
149
- | Releases | Bot API changelog, API layers, TDLib changelog, official announcements |
171
+ | TON | Telegram's blockchain rules for Mini Apps, Stars vs crypto, TON Connect and `ton_proof`, payment processing, jettons and NFTs (TEPs), Tolk contracts, testnet first, key safety |
172
+ | Releases | Bot API changelog, API layers, TDLib changelog, TON node and Tolk changelogs, official announcements |
150
173
 
151
174
  The skill lives in [skills/telegram-dev](skills/telegram-dev/SKILL.md), with one reference file per area.
152
175
 
@@ -155,7 +178,7 @@ The skill lives in [skills/telegram-dev](skills/telegram-dev/SKILL.md), with one
155
178
  - Reading a page older than 6 hours re-fetches it. Search re-fetches up to six stale matching pages.
156
179
  - While the server runs, a background cycle checks up to 120 pages every 6 hours: entry points, newly found links, oldest pages.
157
180
  - If Telegram's site is unreachable, the cached text is kept and marked stale with the error, so the agent knows it is reading an old copy.
158
- - A daily GitHub Action checks all 52 official sources and publishes hashes and errors on the [`docs-status`](https://github.com/Kay0k1/telegram-dev/tree/docs-status) branch.
181
+ - A daily GitHub Action checks all 57 official sources and publishes hashes and errors on the [`docs-status`](https://github.com/Kay0k1/telegram-dev/tree/docs-status) branch.
159
182
 
160
183
  Settings such as the cache path (`TELEGRAM_KNOWLEDGE_DB`) and refresh intervals are in [docs/runtime.md](docs/runtime.md).
161
184
 
@@ -170,8 +193,8 @@ uvx telegram-dev serve --transport streamable-http --port 8000
170
193
  ## Limits
171
194
 
172
195
  - Search is local full-text search (SQLite FTS5), not semantic search. Exact method names and English terms work best. A small set of Russian aliases is built in.
173
- - Coverage is what can be reached from the 52 official entry points. Page history starts when your installation first fetched the page.
174
- - The server does not log in to Telegram, send messages or touch chats. It only reads public pages.
196
+ - Coverage is what can be reached from the 57 official entry points. TON pages come from the `llms.txt` index that docs.ton.org publishes for agents, so new TON pages are picked up automatically. Page history starts when your installation first fetched the page.
197
+ - The server does not log in to Telegram, send messages, touch chats or hold wallet keys. It only reads public pages.
175
198
  - The skill improves how agents work. It does not guarantee a correct answer: check the code against Telegram before shipping.
176
199
 
177
200
  ## Development
@@ -187,4 +210,4 @@ CI runs the tests on Linux, macOS and Windows and checks the Docker image. [docs
187
210
 
188
211
  ## License
189
212
 
190
- [MIT](LICENSE) for the code and the skill. Fetched Telegram documentation remains Telegram's; the package does not bundle it ([NOTICE](NOTICE)). This is an independent project, not affiliated with Telegram.
213
+ [MIT](LICENSE) for the code and the skill. Fetched Telegram and TON documentation remains with its owners; the package does not bundle it ([NOTICE](NOTICE)). This is an independent project, not affiliated with Telegram or the TON Foundation.
@@ -5,9 +5,9 @@
5
5
  [![Docs monitor](https://github.com/Kay0k1/telegram-dev/actions/workflows/documentation.yml/badge.svg)](https://github.com/Kay0k1/telegram-dev/tree/docs-status)
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
7
7
 
8
- **Current official Telegram documentation for Claude Code, Codex and Cursor.**
8
+ **Current official Telegram and TON documentation for Claude Code, Codex and Cursor.**
9
9
 
10
- Telegram Dev is an MCP server plus an agent skill. The server fetches, indexes and searches the official docs (Bot API, Mini Apps, MTProto, TDLib, changelogs) and keeps them fresh. The skill teaches the agent to pick the right API, check eligibility and library support, and cite what it read.
10
+ Telegram Dev is an MCP server plus an agent skill. The server fetches, indexes and searches the official docs and keeps them fresh: Bot API, Mini Apps, MTProto, TDLib, and on the TON side docs.ton.org (TON Connect, Tolk, TVM, APIs), the TEP standards and the changelogs. The skill teaches the agent to pick the right API, follow Telegram's rules, check library support, and cite what it read.
11
11
 
12
12
  [Русская версия](README.ru.md)
13
13
 
@@ -17,6 +17,8 @@ Telegram Dev is an MCP server plus an agent skill. The server fetches, indexes a
17
17
 
18
18
  Telegram ships a new Bot API version every month or two. A model's knowledge of it stops at its training cutoff, so agents confidently write code against fields that changed or never existed. They also mix up the Bot API, MTProto and TDLib, which have very different capabilities.
19
19
 
20
+ TON moves just as fast. The current TON docs call the coin Gram, describe Telegram Money, the wallet built into Telegram, and treat Tolk as the main contract language with FunC as legacy. On top of that, Telegram has its own rules: blockchain features in Mini Apps must use TON and TON Connect, and digital goods are sold for Stars.
21
+
20
22
  With Telegram Dev the agent reads the current page before it writes code. A real Codex CLI run in a fresh project after `uvx telegram-dev install --agent codex` (tool calls trimmed):
21
23
 
22
24
  ```text
@@ -45,6 +47,26 @@ unstyled. Source: https://core.telegram.org/bots/api#inlinekeyboardbutton
45
47
  "style": "danger", "icon_custom_emoji_id": "YOUR_CUSTOM_EMOJI_ID"}]]}}
46
48
  ```
47
49
 
50
+ The skill also knows when *not* to reach for a blockchain. Another real Codex run:
51
+
52
+ ```text
53
+ > Use the telegram-dev skill. Our Telegram Mini App sells a premium in-game skin
54
+ for 2 TON. I want a Buy button that connects the user's wallet and charges them.
55
+
56
+ get_telegram_document {"url": "https://core.telegram.org/bots/payments-stars", "refresh": true}
57
+ search_telegram_docs {"query": "createInvoiceLink answerPreCheckoutQuery successful_payment XTR", "area": "bot-api"}
58
+ get_telegram_document {"url": "https://docs.ton.org/applications/ton-connect/overview", "refresh": true}
59
+ get_telegram_document {"url": "https://core.telegram.org/bots/webapps", "offset": 40310}
60
+
61
+ Use Telegram Stars (XTR) through the Bot API. The skin is a digital good, so
62
+ Telegram requires Stars and prohibits cryptocurrency payment for this purchase.
63
+ For permitted wallet features, use the TON Connect SDK.
64
+ 1. Validate initData on the backend and bind the order to the user.
65
+ 2. createInvoiceLink with currency "XTR", open it with Telegram.WebApp.openInvoice.
66
+ 3. Answer pre_checkout_query, grant the skin once on successful_payment,
67
+ store telegram_payment_charge_id for refunds.
68
+ ```
69
+
48
70
  ## Install
49
71
 
50
72
  You need [uv](https://docs.astral.sh/uv/getting-started/installation/). No bot token, Telegram account or API key is needed: the server only reads public documentation.
@@ -104,11 +126,11 @@ The tools work without the skill, but the skill is what makes an agent use them
104
126
 
105
127
  | Tool | What it does |
106
128
  | --- | --- |
107
- | `search_telegram_docs` | Full-text search over indexed sections, optionally limited to one area: `bot-api`, `mini-apps`, `telegram-api`, `tdlib`, `releases` and others |
129
+ | `search_telegram_docs` | Full-text search over indexed sections, optionally limited to one area: `bot-api`, `mini-apps`, `telegram-api`, `tdlib`, `ton`, `releases`, `ton-releases` and others |
108
130
  | `get_telegram_document` | Reads an official page in pages of up to 40,000 characters; fetches it if it is missing or older than 6 hours |
109
131
  | `telegram_corpus_status` | What is indexed, how fresh it is and which sources failed |
110
132
  | `telegram_document_history` | Revisions of a page captured by this installation |
111
- | `telegram_sources` | The 52 official entry points, grouped by API area |
133
+ | `telegram_sources` | The 57 official entry points, grouped by API area |
112
134
 
113
135
  The cache starts empty. Pages are fetched the first time the agent reads them and indexed right away. To pre-fetch everything reachable from the configured sources:
114
136
 
@@ -129,7 +151,8 @@ uvx telegram-dev status
129
151
  | MTProto and TDLib | User vs bot authorization, schema and layers, TDLib versions |
130
152
  | Business and payments | Business connections, Stars, subscriptions, gifts, paid media |
131
153
  | Groups and channels | Admin rights, forums and topics, moderation |
132
- | Releases | Bot API changelog, API layers, TDLib changelog, official announcements |
154
+ | TON | Telegram's blockchain rules for Mini Apps, Stars vs crypto, TON Connect and `ton_proof`, payment processing, jettons and NFTs (TEPs), Tolk contracts, testnet first, key safety |
155
+ | Releases | Bot API changelog, API layers, TDLib changelog, TON node and Tolk changelogs, official announcements |
133
156
 
134
157
  The skill lives in [skills/telegram-dev](skills/telegram-dev/SKILL.md), with one reference file per area.
135
158
 
@@ -138,7 +161,7 @@ The skill lives in [skills/telegram-dev](skills/telegram-dev/SKILL.md), with one
138
161
  - Reading a page older than 6 hours re-fetches it. Search re-fetches up to six stale matching pages.
139
162
  - While the server runs, a background cycle checks up to 120 pages every 6 hours: entry points, newly found links, oldest pages.
140
163
  - If Telegram's site is unreachable, the cached text is kept and marked stale with the error, so the agent knows it is reading an old copy.
141
- - A daily GitHub Action checks all 52 official sources and publishes hashes and errors on the [`docs-status`](https://github.com/Kay0k1/telegram-dev/tree/docs-status) branch.
164
+ - A daily GitHub Action checks all 57 official sources and publishes hashes and errors on the [`docs-status`](https://github.com/Kay0k1/telegram-dev/tree/docs-status) branch.
142
165
 
143
166
  Settings such as the cache path (`TELEGRAM_KNOWLEDGE_DB`) and refresh intervals are in [docs/runtime.md](docs/runtime.md).
144
167
 
@@ -153,8 +176,8 @@ uvx telegram-dev serve --transport streamable-http --port 8000
153
176
  ## Limits
154
177
 
155
178
  - Search is local full-text search (SQLite FTS5), not semantic search. Exact method names and English terms work best. A small set of Russian aliases is built in.
156
- - Coverage is what can be reached from the 52 official entry points. Page history starts when your installation first fetched the page.
157
- - The server does not log in to Telegram, send messages or touch chats. It only reads public pages.
179
+ - Coverage is what can be reached from the 57 official entry points. TON pages come from the `llms.txt` index that docs.ton.org publishes for agents, so new TON pages are picked up automatically. Page history starts when your installation first fetched the page.
180
+ - The server does not log in to Telegram, send messages, touch chats or hold wallet keys. It only reads public pages.
158
181
  - The skill improves how agents work. It does not guarantee a correct answer: check the code against Telegram before shipping.
159
182
 
160
183
  ## Development
@@ -170,4 +193,4 @@ CI runs the tests on Linux, macOS and Windows and checks the Docker image. [docs
170
193
 
171
194
  ## License
172
195
 
173
- [MIT](LICENSE) for the code and the skill. Fetched Telegram documentation remains Telegram's; the package does not bundle it ([NOTICE](NOTICE)). This is an independent project, not affiliated with Telegram.
196
+ [MIT](LICENSE) for the code and the skill. Fetched Telegram and TON documentation remains with its owners; the package does not bundle it ([NOTICE](NOTICE)). This is an independent project, not affiliated with Telegram or the TON Foundation.
@@ -5,9 +5,9 @@
5
5
  [![Docs monitor](https://github.com/Kay0k1/telegram-dev/actions/workflows/documentation.yml/badge.svg)](https://github.com/Kay0k1/telegram-dev/tree/docs-status)
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
7
7
 
8
- **Актуальная официальная документация Telegram для Claude Code, Codex и Cursor.**
8
+ **Актуальная официальная документация Telegram и TON для Claude Code, Codex и Cursor.**
9
9
 
10
- Telegram Dev — это MCP-сервер и скилл для агента. Сервер загружает, индексирует и ищет официальную документацию (Bot API, Mini Apps, MTProto, TDLib, списки изменений) и следит, чтобы она не устаревала. Скилл учит агента выбирать нужный API, проверять, кому доступна функция и поддерживает ли её библиотека, и указывать, откуда взяты сведения.
10
+ Telegram Dev — это MCP-сервер и скилл для агента. Сервер загружает, индексирует и ищет официальную документацию и следит, чтобы она не устаревала: Bot API, Mini Apps, MTProto, TDLib, а со стороны TON — docs.ton.org (TON Connect, Tolk, TVM, API), стандарты TEP и списки изменений. Скилл учит агента выбирать нужный API, соблюдать правила Telegram, проверять поддержку в библиотеке и указывать, откуда взяты сведения.
11
11
 
12
12
  [English](README.md)
13
13
 
@@ -15,6 +15,8 @@ Telegram Dev — это MCP-сервер и скилл для агента. Се
15
15
 
16
16
  Bot API выходит раз в месяц-два. Модель знает его только на дату своего обучения, поэтому агент уверенно пишет код с полями, которые уже изменились или которых никогда не было. Ещё агенты путают Bot API, MTProto и TDLib, а возможности у них сильно разные.
17
17
 
18
+ TON меняется так же быстро. В текущей документации TON монета называется Gram, описан Telegram Money — кошелёк внутри Telegram, а основной язык контрактов — Tolk, FunC стал устаревшим. Сверху — правила самого Telegram: блокчейн в Mini Apps только на TON и через TON Connect, цифровые товары — за Stars.
19
+
18
20
  С Telegram Dev агент сначала читает актуальную страницу, потом пишет код. Настоящий прогон Codex CLI в новом проекте после `uvx telegram-dev install --agent codex` (вызовы сокращены):
19
21
 
20
22
  ```text
@@ -39,6 +41,26 @@ supergroup. PTB 22.7+ supports both fields. Older Telegram clients show the butt
39
41
  unstyled. Source: https://core.telegram.org/bots/api#inlinekeyboardbutton
40
42
  ```
41
43
 
44
+ Скилл знает и когда блокчейн *не* нужен. Ещё один настоящий прогон Codex:
45
+
46
+ ```text
47
+ > Use the telegram-dev skill. Our Telegram Mini App sells a premium in-game skin
48
+ for 2 TON. I want a Buy button that connects the user's wallet and charges them.
49
+
50
+ get_telegram_document {"url": "https://core.telegram.org/bots/payments-stars", "refresh": true}
51
+ search_telegram_docs {"query": "createInvoiceLink answerPreCheckoutQuery successful_payment XTR", "area": "bot-api"}
52
+ get_telegram_document {"url": "https://docs.ton.org/applications/ton-connect/overview", "refresh": true}
53
+ get_telegram_document {"url": "https://core.telegram.org/bots/webapps", "offset": 40310}
54
+
55
+ Use Telegram Stars (XTR) through the Bot API. The skin is a digital good, so
56
+ Telegram requires Stars and prohibits cryptocurrency payment for this purchase.
57
+ For permitted wallet features, use the TON Connect SDK.
58
+ 1. Validate initData on the backend and bind the order to the user.
59
+ 2. createInvoiceLink with currency "XTR", open it with Telegram.WebApp.openInvoice.
60
+ 3. Answer pre_checkout_query, grant the skin once on successful_payment,
61
+ store telegram_payment_charge_id for refunds.
62
+ ```
63
+
42
64
  ## Установка
43
65
 
44
66
  Нужен [uv](https://docs.astral.sh/uv/getting-started/installation/). Токен бота, аккаунт Telegram и ключи API не нужны: сервер читает только публичную документацию.
@@ -98,11 +120,11 @@ Cursor: [![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](htt
98
120
 
99
121
  | Инструмент | Что делает |
100
122
  | --- | --- |
101
- | `search_telegram_docs` | Полнотекстовый поиск по разделам, можно ограничить областью: `bot-api`, `mini-apps`, `telegram-api`, `tdlib`, `releases` и другими |
123
+ | `search_telegram_docs` | Полнотекстовый поиск по разделам, можно ограничить областью: `bot-api`, `mini-apps`, `telegram-api`, `tdlib`, `ton`, `releases`, `ton-releases` и другими |
102
124
  | `get_telegram_document` | Читает официальную страницу частями до 40 000 символов; загружает её, если страницы нет или она старше 6 часов |
103
125
  | `telegram_corpus_status` | Что проиндексировано, насколько свежее и какие источники не загрузились |
104
126
  | `telegram_document_history` | Версии страницы, которые видела эта установка |
105
- | `telegram_sources` | 52 официальные точки входа по областям API |
127
+ | `telegram_sources` | 57 официальных точек входа по областям API |
106
128
 
107
129
  Кэш сначала пустой. Страница загружается, когда агент впервые её читает, и сразу индексируется. Загрузить заранее всё, что достижимо из настроенных источников:
108
130
 
@@ -123,7 +145,8 @@ uvx telegram-dev status
123
145
  | MTProto и TDLib | Авторизация пользователя и бота, схема и слои, версии TDLib |
124
146
  | Бизнес и платежи | Бизнес-подключения, Stars, подписки, подарки, платный контент |
125
147
  | Группы и каналы | Права администраторов, форумы и темы, модерация |
126
- | Релизы | Changelog Bot API, слои API, changelog TDLib, официальные анонсы |
148
+ | TON | Правила Telegram для блокчейна в Mini Apps, Stars или крипта, TON Connect и `ton_proof`, приём платежей, жетоны и NFT (TEP), контракты на Tolk, сначала testnet, безопасность ключей |
149
+ | Релизы | Changelog Bot API, слои API, changelog TDLib, changelog узла TON и Tolk, официальные анонсы |
127
150
 
128
151
  Скилл лежит в [skills/telegram-dev](skills/telegram-dev/SKILL.md), по справочному файлу на каждую область.
129
152
 
@@ -132,7 +155,7 @@ uvx telegram-dev status
132
155
  - Страница старше 6 часов при чтении загружается заново. Поиск обновляет до шести устаревших совпадений.
133
156
  - Пока сервер работает, раз в 6 часов фоновый цикл проверяет до 120 страниц: точки входа, новые ссылки, самые старые страницы.
134
157
  - Если сайт Telegram недоступен, сохраняется прежний текст с пометкой об устаревании и ошибкой, и агент видит, что читает старую копию.
135
- - GitHub Action раз в сутки проверяет все 52 официальных источника и публикует хеши и ошибки в ветке [`docs-status`](https://github.com/Kay0k1/telegram-dev/tree/docs-status).
158
+ - GitHub Action раз в сутки проверяет все 57 официальных источников и публикует хеши и ошибки в ветке [`docs-status`](https://github.com/Kay0k1/telegram-dev/tree/docs-status).
136
159
 
137
160
  Путь к кэшу (`TELEGRAM_KNOWLEDGE_DB`) и интервалы обновления — в [docs/runtime.md](docs/runtime.md).
138
161
 
@@ -147,8 +170,8 @@ uvx telegram-dev serve --transport streamable-http --port 8000
147
170
  ## Ограничения
148
171
 
149
172
  - Поиск локальный полнотекстовый (SQLite FTS5), не семантический. Лучше всего работают точные имена методов и английские термины. Есть небольшая таблица русских синонимов.
150
- - Охват — то, что достижимо из 52 официальных точек входа. История страницы начинается с её первой загрузки в вашей установке.
151
- - Сервер не входит в Telegram, не отправляет сообщения и не трогает чаты. Он читает только публичные страницы.
173
+ - Охват — то, что достижимо из 57 официальных точек входа. Страницы TON берутся из оглавления `llms.txt`, которое docs.ton.org публикует для агентов, поэтому новые страницы подхватываются сами. История страницы начинается с её первой загрузки в вашей установке.
174
+ - Сервер не входит в Telegram, не отправляет сообщения, не трогает чаты и не хранит ключи кошельков. Он читает только публичные страницы.
152
175
  - Скилл улучшает работу агента, но не гарантирует правильный ответ: проверяйте код в Telegram перед выкаткой.
153
176
 
154
177
  ## Разработка
@@ -164,4 +187,4 @@ CI запускает тесты на Linux, macOS и Windows и проверя
164
187
 
165
188
  ## Лицензия
166
189
 
167
- [MIT](LICENSE) для кода и скилла. Загруженная документация Telegram остаётся собственностью Telegram, пакет её не содержит ([NOTICE](NOTICE)). Независимый проект, не связан с Telegram.
190
+ [MIT](LICENSE) для кода и скилла. Загруженная документация Telegram и TON остаётся у её владельцев, пакет её не содержит ([NOTICE](NOTICE)). Независимый проект, не связан с Telegram и TON Foundation.
@@ -49,13 +49,13 @@ uv run --frozen python scripts/package_openai.py --skill-only
49
49
  1. Войдите своим аккаунтом в [OpenAI Plugins](https://platform.openai.com/plugins), выберите организацию и проект. Нужны права владельца или Apps Management Write. Завершите individual verification в [Organization settings](https://platform.openai.com/settings/organization/general); проверка личности выполняется издателем в кабинете.
50
50
  2. Сначала проверьте существующие drafts. Для новой заявки выберите **Upload new or existing plugin** / **Create plugin**, затем **Skills only**, свою проверенную Developer identity и файл `telegram-dev-skill-openai.zip`.
51
51
  3. В **Metadata & Skills** проверьте импортированные значения и дождитесь scans. Required safety/security scans каждого скилла должны пройти; они могут занять до двух часов. Для исправления package-managed полей загрузите исправленный ZIP.
52
- 4. Выберите draft → **Submit for review**, заполните требуемые policy attestations. Сохраните URL/ID заявки, версию `0.4.0`, дату и подтверждённый Review status. После одобрения отдельно выберите **Publish plugin**.
52
+ 4. Выберите draft → **Submit for review**, заполните требуемые policy attestations. Сохраните URL/ID заявки, версию `0.5.0`, дату и подтверждённый Review status. После одобрения отдельно выберите **Publish plugin**.
53
53
 
54
54
  | Поле skills-only пакета | Подготовленное значение |
55
55
  | --- | --- |
56
56
  | Package name | `telegram-dev-skill` |
57
57
  | Display name | `Telegram Dev Skill` |
58
- | Version | `0.4.0` |
58
+ | Version | `0.5.0` |
59
59
  | Category | `Developer Tools` |
60
60
  | Subtitle | `Telegram development knowledge` |
61
61
  | Русский subtitle | `Знания для разработки Telegram` |
@@ -1,5 +1,15 @@
1
1
  # Проверки / Validation
2
2
 
3
+ ## 0.5.0 — 2026-11-10 (Linux)
4
+
5
+ | Check | Result |
6
+ | --- | --- |
7
+ | Repository tests | **55 passed**, including TON URL boundaries, Markdown fetching via the `llms.txt` twins, TEP link resolution and the `ton` / `ton-releases` areas |
8
+ | TON crawl | Starting from the TON sources, 463 TON pages and 3 TON release pages were indexed. Three TON links failed because docs.ton.org itself returns 404 (`/languages/fift`, `/tvm`) or redirects off-site (`/contracts/acton`) |
9
+ | TON search | Exact hits for TON Connect transactions, jetton transfers, Gram, Tolk structs, `ton_proof`, WalletTg and the Russian query «кошелек»; Telegram's Blockchain Guidelines rank next to TON Connect |
10
+ | Source monitor | `scripts/check_sources.py` fetched all five new TON sources |
11
+ | Real agent run | Codex CLI 0.167.0 with the 0.5.0 wheel installed: asked to sell a Mini App skin for 2 TON, it read the Stars and TON Connect pages over MCP and answered that digital goods must use Stars (`XTR`), with TON Connect only for permitted wallet features. This run is the second README example |
12
+
3
13
  ## 0.4.0 — 2026-11-10 (Linux)
4
14
 
5
15
  | Check | Result |
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema": "https://glama.ai/mcp/schemas/server.json",
3
+ "maintainers": ["Kay0k1"]
4
+ }
@@ -4,10 +4,10 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "telegram-dev"
7
- version = "0.4.0"
7
+ version = "0.5.1"
8
8
  description = "Source-grounded Telegram development skills and documentation MCP"
9
9
  readme = "README.md"
10
- requires-python = ">=3.10"
10
+ requires-python = ">=3.10,<3.15"
11
11
  license = "MIT"
12
12
  dependencies = ["mcp>=1.30,<2", "httpx>=0.28,<1", "beautifulsoup4>=4.13,<5", "markdownify>=1,<2", "platformdirs>=4,<5", "tomlkit>=0.13,<1"]
13
13
 
@@ -2,18 +2,18 @@
2
2
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
3
  "name": "io.github.Kay0k1/telegram-dev",
4
4
  "title": "Telegram Dev",
5
- "description": "Search current official Telegram docs: Bot API, Mini Apps, MTProto, TDLib and changelogs",
5
+ "description": "Current official Telegram and TON docs: Bot API, Mini Apps, MTProto, TDLib, TON Connect, Tolk",
6
6
  "repository": {
7
7
  "url": "https://github.com/Kay0k1/telegram-dev",
8
8
  "source": "github"
9
9
  },
10
10
  "websiteUrl": "https://github.com/Kay0k1/telegram-dev",
11
- "version": "0.4.0",
11
+ "version": "0.5.1",
12
12
  "packages": [
13
13
  {
14
14
  "registryType": "pypi",
15
15
  "identifier": "telegram-dev",
16
- "version": "0.4.0",
16
+ "version": "0.5.1",
17
17
  "runtimeHint": "uvx",
18
18
  "transport": {
19
19
  "type": "stdio"
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: telegram-dev
3
- description: Build, debug, migrate, and explain Telegram integrations using current official documentation and release history. Use for bots, Mini Apps, TDLib/MTProto clients, messaging and media, community administration, business, payments, account features, and Telegram web integrations. Does not itself access accounts or execute Telegram actions.
3
+ description: Build, debug, migrate, and explain Telegram and TON integrations using current official documentation and release history. Use for bots, Mini Apps, TDLib/MTProto clients, messaging and media, community administration, business, payments, account features, Telegram web integrations, and TON wallets, TON Connect, jettons, NFTs and smart contracts. Does not itself access accounts or execute Telegram actions.
4
4
  ---
5
5
 
6
6
  # Telegram development
@@ -32,6 +32,7 @@ Read only the guide relevant to the requested behavior:
32
32
  | Business connections, Stars, invoices, subscriptions, gifts, stories | [Business and commerce](references/business-and-commerce.md) |
33
33
  | Mini Apps, website/mobile login, links, Gateway, Passport | [Mini Apps and web authentication](references/mini-apps-and-web.md) |
34
34
  | TDLib/MTProto clients, account auth, calls, secret chats, updates, export | [Client development](references/client-development.md) |
35
+ | TON: wallets, TON Connect, crypto payments, jettons, NFTs, smart contracts (Tolk), blockchain features in Mini Apps | [TON and blockchain](references/ton-and-blockchain.md) |
35
36
 
36
37
  For an unfamiliar feature, browse the current API index and follow its related article, method, constructors and changelog. The routing table is intentionally open-ended: newly added features need evidence, not a new handwritten skill release before the agent can use them.
37
38
 
@@ -19,6 +19,7 @@
19
19
  | Passport | https://core.telegram.org/passport | Separate identity-document integration. |
20
20
  | Instant View | https://instantview.telegram.org/docs | Article templates; not Mini Apps. |
21
21
  | Themes | https://core.telegram.org/api/themes | Client themes; distinct from Mini App theme parameters. |
22
+ | Blockchain in Mini Apps, wallets, crypto payments, tokens, smart contracts | https://core.telegram.org/bots/blockchain-guidelines ; https://docs.ton.org/llms.txt | Telegram's rules (TON only, TON Connect, Stars for digital goods) come before TON implementation docs. Read `ton-and-blockchain.md`. |
22
23
 
23
24
  ## Feature-family entrypoints
24
25