tg-agent 1.2.4 → 1.2.5

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.cn.md CHANGED
@@ -184,6 +184,10 @@ url = "https://mcp.notion.com/mcp"
184
184
  - `stdio`: 通过标准输入输出通信(使用 `command` 和 `args`)
185
185
  - HTTP: 通过 HTTP 请求通信(使用 `url`)
186
186
 
187
+ ## Skills 配置
188
+
189
+ 将 Skills 放到 `~/.tg-agent/skills` 文件夹,程序就会自动发现。
190
+
187
191
  ## 常见问题
188
192
 
189
193
  - `Bad Request: can't parse entities`: 说明文本不符合 MarkdownV2 规则,当前实现会自动降级到 Markdown 或纯文本。
package/README.md CHANGED
@@ -18,13 +18,13 @@ A locally running Telegram bot that supports multiple LLM providers (Codex, Clau
18
18
 
19
19
  ## Quick Start
20
20
 
21
- 1) Install globally
21
+ 1. Install globally
22
22
 
23
23
  ```bash
24
24
  npm install -g tg-agent
25
25
  ```
26
26
 
27
- 2) Run
27
+ 2. Run
28
28
 
29
29
  ```bash
30
30
  tg-agent
@@ -32,7 +32,7 @@ tg-agent
32
32
 
33
33
  On first run, you'll be prompted to enter `telegram.bot_token` which will be written to `~/.tg-agent/config.toml`.
34
34
 
35
- 3) Configuration (optional)
35
+ 3. Configuration (optional)
36
36
 
37
37
  You can manually create or edit `~/.tg-agent/config.toml` with a minimal example:
38
38
 
@@ -181,9 +181,14 @@ url = "https://mcp.notion.com/mcp"
181
181
  ```
182
182
 
183
183
  Two types of MCP servers are supported:
184
+
184
185
  - `stdio`: Communication via standard input/output (using `command` and `args`)
185
186
  - HTTP: Communication via HTTP requests (using `url`)
186
187
 
188
+ ## Skills Configuration
189
+
190
+ Place Skills in the `~/.tg-agent/skills` folder, and the program will automatically discover them.
191
+
187
192
  ## Troubleshooting
188
193
 
189
194
  - `Bad Request: can't parse entities`: Text doesn't conform to MarkdownV2 rules. The implementation automatically falls back to Markdown or plain text.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tg-agent",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "Telegram Agent Bot",
5
5
  "type": "module",
6
6
  "bin": {