Fix/resume parse#48
Closed
Altergom wants to merge 7 commits into
Closed
Conversation
新增独立 gateway/ 模块(Hertz HTTP 服务),包含: - domain: GatewaySession、SessionStatus 核心类型 - inbound: 统一入站事件协议 InboundEvent - channel: ChannelAdapter 接口 + feishu/qqbot 空实现 - handler: webhook、session 查询、handoff/terminate 管理接口 - session: SessionManager 骨架 - statemachine: FSM 骨架,定义状态集合和 Decide/Transition 接口 - agent: Kitex RPC client 骨架 - outbound: 出站分发器 - idl: interview.thrift RPC 协议定义 closes #39 #40 #41 #42 #43 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
feat(gateway): 搭建多渠道面试网关骨架
docker-compose: - etcd/milvus/elasticsearch 加 rag profile,默认不启动 - ollama 加 ollama profile - collector profile 保持不变 启动脚本: - start-wiki.sh: 只拉 postgres/redis/minio/rabbitmq,2C2G 可用 - start-rag.sh: --profile rag 拉全套,需 8G+ 内存 - collect-wiki.sh: 保持不变,注释更新 README: - 依赖表新增"模式"列,标注 Milvus/ES 为 RAG 专用 - 快速启动改为 wiki/rag 两条路,移除单一 docker-compose up -d Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
三个目标渠道(微信 iLink 长轮询、飞书 WebSocket、QQ WS/webhook)官方实现 都收敛到「主动维持长连接 + 自管重连 + 取消即停」模型,原 webhook 被动接收 抽象选错方向。重写为 ChannelConnector:Start 阻塞维持入站连接归一为 InboundEvent,Send 出站,Status 健康检查。feishu/qqbot 改为实现新接口的空壳。
|
🚫 PR 已自动关闭
请将目标分支改为 |
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.
No description provided.