功能: 飞书/Telegram/QQ 旁路提问 (/btw) + 修复会话恢复与代理劫持#203
Closed
Xiaoyuan-Liu wants to merge 2 commits intoriba2534:mainfrom
Closed
功能: 飞书/Telegram/QQ 旁路提问 (/btw) + 修复会话恢复与代理劫持#203Xiaoyuan-Liu wants to merge 2 commits intoriba2534:mainfrom
Xiaoyuan-Liu wants to merge 2 commits intoriba2534:mainfrom
Conversation
- 新增 /btw 命令:在 Agent 运行时向其发送旁路提问,Agent 通过 btw_response WebSocket 事件实时回复 - 前端新增 BtwBubble 组件展示旁路提问的问答对 - 支持飞书/Telegram/QQ 三个 IM 渠道的 /btw 命令 - 修复 thinking signature 无效导致会话恢复失败的问题 - 修复 npm 代理劫持飞书 API 的问题
移除对不存在的 AgentStatusCard 组件的导入及未使用的 agents、onAgentClick props,修复编译错误。
Owner
|
先不做 /btw |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题描述
新增
/btw旁路提问功能,允许用户在 Agent 运行时向其发送问题并实时获得回答,无需等待当前任务完成。同时修复两个独立 bug。实现方案
新功能:
/btw旁路提问src/index.ts、src/web.ts):新增/btwWebSocket 命令和 IPC 通道,Agent 运行时通过btw_response事件实时回复container/agent-runner/src/index.ts):监听 btw IPC 文件,调用 Claude--print模式回答src/feishu.ts、src/telegram.ts、src/qq.ts):三个渠道支持/btw斜杠命令web/src/components/chat/BtwBubble.tsx、ChatView.tsx、MessageList.tsx、stores/chat.ts):新增 BtwBubble 组件展示旁路问答对Bug 修复
.gitignore和 Makefile 调整避免 npm 代理影响飞书 WebSocket 连接变更文件(16 个文件,+508/-25)
src/index.tssrc/web.tssrc/feishu.ts/src/telegram.ts/src/qq.tssrc/im-command-utils.tssrc/types.ts/src/web-context.tscontainer/agent-runner/src/index.tsweb/src/components/chat/BtwBubble.tsxweb/src/components/chat/ChatView.tsx/MessageList.tsxweb/src/stores/chat.ts.gitignore/Makefile/CLAUDE.md