@jun133/athlete 0.0.3 → 0.0.4

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 CHANGED
@@ -131,7 +131,7 @@ Athlete 想坚持的,不是“让模型显得更聪明”,而是让任务真
131
131
  | `athlete weixin serve` | 启动 Weixin 私聊服务 |
132
132
  | `athlete weixin logout` | 清理 Weixin 登录态 |
133
133
 
134
- 文档读取能力依赖 `MINERU_API_TOKEN`。Telegram 需要 `ATHLETE_TELEGRAM_TOKEN` 和 `ATHLETE_TELEGRAM_ALLOWED_USER_IDS`。Weixin 需要先执行 `athlete weixin login`,再配置 `ATHLETE_WEIXIN_ALLOWED_USER_IDS`。Telegram 和 Weixin 私聊里都支持 `/stop`,用于停止当前任务但不关闭服务。
134
+ 文档读取能力依赖 `MINERU_API_TOKEN`。Telegram 需要 `ATHLETE_TELEGRAM_TOKEN` 和 `ATHLETE_TELEGRAM_ALLOWED_USER_IDS`。Weixin 需要先执行 `athlete weixin login`,再配置 `ATHLETE_WEIXIN_ALLOWED_USER_IDS`。Telegram 和 Weixin 私聊里都支持 `/stop`,用于停止当前任务但不关闭服务。
135
135
 
136
136
  ### NPM 发布
137
137
 
package/dist/cli.js CHANGED
@@ -19228,6 +19228,7 @@ var TelegramTurnDisplay = class extends DurableTurnDisplay {
19228
19228
  },
19229
19229
  sendTyping: async (target) => options.sendTyping(target.chatId),
19230
19230
  enqueueVisibleMessage: options.enqueueVisibleMessage,
19231
+ shouldEmitEvent: (event) => event.kind !== "tool_call",
19231
19232
  flushBufferedAssistantBeforeToolEvents: true,
19232
19233
  enableAssistantStageEvents: true,
19233
19234
  typingIntervalMs: options.typingIntervalMs,