john
1e4f432754
fix(chat): 阻止同会话并发 Agent Run 导致消息错乱
...
前端 submit 改用 chatStateRef 同步拦截连发;后端 createRun 检测同 session 活跃任务并返回 409,避免多条回复交错落库。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-07 11:48:59 +08:00
john
14a00774d9
feat(h5): web 联网能力、实时查询路由与 session Finish 对齐
...
- 新增 web 能力并挂载 platform/web(web_search/fetch_url)
- 实时查询强制 web skill,router fallback 与 await session Finish
- Session Broker 覆盖率/指标、stream replay 与相关单测/E2E 脚本
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-06 16:06:26 +08:00
john
08feae8bef
feat(h5-session): Session Broker、run SSE replay 与 Finish 竞态修复
...
落地 H5 Session 架构 Patch 1–5(Broker 收口、Router decision、SSE taxonomy、goosed 边界检查),
并新增可选 MEMIND_RUN_STREAM_REPLAY run 事件回放与 H5 假交付 guard;修复 Finish 先于 agent-run
gate 导致 UI 永久 loading 的竞态,接入 verify:h5-session-patches 回归脚本。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-06 14:19:48 +08:00
john
bdeab23b83
fix: persist direct chat transcript before Goosed escalation
...
Prevent portal direct-chat history from being lost when snapshot cache
is invalidated on Goosed submit by writing non-empty messages to DB first,
and stop caching empty Goose placeholder messages in snapshots.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-05 11:16:55 +08:00
john
a29158d589
fix: unblock agent events after portal direct chat escalation
...
When a session starts with LLM direct chat then escalates to goosed,
invalidate the portal-direct-chat snapshot and stop replaying stale SSE
so page-generation turns stream and finish correctly.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-04 23:15:44 +08:00
john
e45c9300bf
feat: LLM intent router, direct chat execution, and Memory V2 light intervention
...
Wire chat intent routing with direct_chat on regular sessions, skill-selected
short-circuit to Agent, memory light/heavy intervention tiers, and fix direct
chat UI stuck streaming after completion.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-04 22:32:57 +08:00
john
e4657c7e55
fix: rename h5 execution override to deep reasoning
2026-07-04 14:57:13 +08:00
john
12268110f7
fix: add goose execution override for h5 chat
2026-07-04 14:48:45 +08:00
john
29d9a87d4f
feat: split h5 direct chat from goosed tasks
2026-07-04 14:02:18 +08:00
Your Name
054379ac98
feat: add worker heartbeat for agent runs
2026-07-02 12:38:34 +08:00
Your Name
c27bf04a71
feat: recover stale running agent runs
2026-07-02 12:12:41 +08:00
Your Name
6340b57fda
feat: validate tool gateway artifacts
2026-07-02 10:12:30 +08:00
John
21e03d86b5
feat: add tool gateway protocol
2026-07-02 09:23:55 +08:00
John
05d29ce62d
feat: add external agent run worker entry
2026-07-02 08:02:03 +08:00
John
3ea973968e
feat: add agent run queue controls
2026-07-02 07:52:07 +08:00
John
0271d83756
feat: wire code agent runs to tool mode
2026-07-02 07:16:47 +08:00
john
8f620fa714
feat(agent): 聊天提交统一走 POST /agent/runs 异步网关
...
引入 Agent Run 网关替代直连 /sessions/:id/reply,并在 api_lockdown 白名单中放行新入口,避免策略拦截导致聊天不可用。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-29 22:50:00 +08:00