Conversation
|
The following comment was made by an LLM, it may be inaccurate: This PR may overlap with existing open pull requests:
Please check whether this work should be consolidated. |
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
b73cb53 to
036488f
Compare
- Implemented Feishu connection management in `manager.ts` with WebSocket and event handling. - Created API routes for starting, stopping, and checking status of the Feishu bridge in `feishu.ts`. - Added UI dialog for Feishu connection in `dialog-feishu.tsx` with configuration inputs and status indicators. - Introduced context for managing Feishu status in `feishu.ts`. - Documented the setup and usage of Feishu integration in `feishu-setup-guide.md`.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… message handling
036488f to
19158b5
Compare
Issue for this PR
Closes #146
Type of change
What does this PR do?
通过飞书官方 SDK 的 WebSocket 长连接模式接入飞书,实现本地 Aether 与飞书的消息收发。
主要改动:
FeishuManager单例(packages/opencode/src/feishu/manager.ts),管理 WebSocket 连接、消息接收与回复、会话映射packages/opencode/src/server/routes/feishu.ts):start/stop/status/events SSEpackages/app/src/components/dialog-feishu.tsx):App ID/Secret 输入、连接状态指示Instance.bind()解决飞书 SDK 回调中 AsyncLocalStorage 上下文丢失问题void非阻塞,避免飞书服务器因超时重发消息/new命令立即创建新会话How did you verify your code works?
/new和/help命令Checklist