Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
c6181b5
✨ Agent 对话最大工具调用次数可配置 + 达上限后可继续
cyfung1031 Jul 6, 2026
1185215
⚡️ Anthropic 消息历史缓存断点 + execute_script 超大返回值截断
cyfung1031 Jul 6, 2026
e6d5a50
⚡️ 长 tool loop 分批裁剪旧 tool 结果(滑动窗口)
cyfung1031 Jul 6, 2026
d85ba72
✨ 循环检测连续命中时暂停并询问用户是否继续
cyfung1031 Jul 6, 2026
dd1d162
Delete issue-1545-proposal.md
cyfung1031 Jul 6, 2026
de83fd3
🐛 修复代码审查发现的 4 处问题
cyfung1031 Jul 7, 2026
fddde4c
fix agent loop context accounting and cancellation
cyfung1031 Jul 11, 2026
19024ec
Update tool_loop_orchestrator.ts
cyfung1031 Jul 11, 2026
cc1261e
🐛 修复 Agent 对话续接与工具结果处理
cyfung1031 Jul 11, 2026
bb142ca
🐛 保持临时 Agent 对话消息语义
cyfung1031 Jul 11, 2026
ad31fd2
🐛 修复 Agent 任务终态与循环提示
cyfung1031 Jul 11, 2026
769c15b
🐛 修复 Agent 适配器终态与上下文预算
cyfung1031 Jul 11, 2026
256705d
🐛 修复 ask_user 终态与任务错误传播
cyfung1031 Jul 11, 2026
cbb6d8f
🐛 完善上下文与工具终态传播
cyfung1031 Jul 12, 2026
b335f5c
🐛 请求前预算检查,防止 tool 结果撑爆下一次请求
cyfung1031 Jul 12, 2026
b17e139
🐛 附件预算按 provider 实际内联行为估算,裁剪保留可恢复标识
cyfung1031 Jul 12, 2026
8c72058
🐛 修复用户脚本工具循环遗漏 tool_call_complete/new_message 事件
cyfung1031 Jul 12, 2026
7df9585
🐛 子代理原生异常补发终态事件,tool_call_complete 状态不再硬编码
cyfung1031 Jul 12, 2026
fc587b2
🐛 消除 ask_user 终态事件重复广播
cyfung1031 Jul 12, 2026
dc56064
fix(agent): harden userscript tool sessions
cyfung1031 Jul 12, 2026
700a848
脚本工具返回结果时,应继续工具循环并完成对话
cyfung1031 Jul 12, 2026
381b33d
🐛 fix sub-agent streaming and compact budgets
cyfung1031 Jul 12, 2026
41ff115
fix agent abort and summary budgeting
cyfung1031 Jul 12, 2026
bd6c0d5
🐛 修复 Agent 取消和用量统计
cyfung1031 Jul 12, 2026
ae540d4
🐛 修复后台会话取消竞态、压缩终止竞态与端口泄漏
cyfung1031 Jul 12, 2026
2f7467f
🐛 修复 compact_service 测试用例超时
cyfung1031 Jul 12, 2026
c4b7dfa
🐛 修复 processChat 在 done/error 时因 disconnect 时序被误判为连接断开
cyfung1031 Jul 12, 2026
7e7c1f2
⚡ 降低 tool loop 工具调用回写与 elideUntilWithinBudget 的常数开销
cyfung1031 Jul 12, 2026
58c7eb9
⚡ estimateRequestTokens 按消息缓存序列化字节数,消除 tool loop 的 O(n²) 重复计费
cyfung1031 Jul 12, 2026
2777cea
🐛 修复 SSE abort 悬挂、取消终态双主体竞态、compact 破坏性覆写与并发写入
cyfung1031 Jul 12, 2026
40ad4b0
🐛 修复取消终态清理漏判、SSE 截断误判成功、图片 token 严重高估等问题
cyfung1031 Jul 12, 2026
cd3c79d
🐛 修复取消 abort 悬挂、终态双主体竞态、compact 破坏性覆写与并发写入
cyfung1031 Jul 12, 2026
ee4a0bf
Merge branch 'main' into feat/ai-001
cyfung1031 Jul 14, 2026
bafbc17
Merge branch 'main' into feat/ai-001
cyfung1031 Jul 14, 2026
d8360c4
🐛 修复小上下文窗口模型输入预算塌缩为 0 导致对话必然失败
cyfung1031 Jul 15, 2026
f1841ad
♻️ 合并 ToolLoopOrchestrator 包装层与基类为单一实现
cyfung1031 Jul 15, 2026
5fcb92d
♻️ 合并 ChatService 包装子类与基类为单一实现
cyfung1031 Jul 15, 2026
eff43a0
🐛 定时任务续接会话时纳入 agent-chat 会话队列锁,防止并发写覆盖消息
cyfung1031 Jul 15, 2026
47ec421
♻️ 合并 cat_agent 原型补丁覆盖层与基类为单一实现
cyfung1031 Jul 15, 2026
f648cc4
🎨 Settings 复用 agent_config 导出的最大工具调用次数上下限常量
cyfung1031 Jul 15, 2026
ef96056
🐛 provider 非取消失败时并入错误自带的本轮部分 usage
cyfung1031 Jul 16, 2026
59248ce
🐛 生成附件按"本轮租约"管理,未被消息引用前的退出路径统一回收
cyfung1031 Jul 16, 2026
6be9ea9
🐛 工具后处理阶段实时观察取消信号,附件/任务写入取消可靠化
cyfung1031 Jul 16, 2026
32af66a
🐛 compact 提交撞上 Stop 的 close() 窗口时补偿性回写原历史
cyfung1031 Jul 16, 2026
ded6c36
🐛 OPFS 仓库层跨上下文写锁 + 读取失败不再退化为默认快照
cyfung1031 Jul 17, 2026
8cc266a
🐛 会话队列连接感知化:排队前注册回调、入锁后复查、重入 clear 显式拒绝
cyfung1031 Jul 17, 2026
3da6099
🐛 脚本工具批次超时后按 requestId 通知客户端作废该批次
cyfung1031 Jul 17, 2026
67fb81f
⚡️ 图片按像素尺寸估算视觉 token,替代压缩字节数换算
cyfung1031 Jul 17, 2026
d5bff89
Merge branch 'main' into feat/ai-001
cyfung1031 Jul 17, 2026
1aa5737
🐛 fix(agent): harden cancellation and reentrant chats
cyfung1031 Jul 17, 2026
9f676a0
🐛 fix(agent): make persistence and tool rounds transactional
cyfung1031 Jul 17, 2026
f68594f
🐛 fix(agent): preserve attachment ownership boundaries
cyfung1031 Jul 17, 2026
9f5b21f
🐛 fix(agent): close lifecycle and storage races
cyfung1031 Jul 17, 2026
cafd8ad
Merge branch 'main' into feat/ai-001
cyfung1031 Jul 17, 2026
87530d5
🐛 fix(agent): enforce conversation generation at chat/getMessages/cle…
cyfung1031 Jul 17, 2026
61b054e
🐛 fix(agent): don't treat an ambiguous commit or a failed confirmatio…
cyfung1031 Jul 17, 2026
4c3699d
🐛 fix(agent): decouple conversation create/delete/replace commits fro…
cyfung1031 Jul 17, 2026
510ac6f
🐛 fix(agent): infer attachment ownership from content blocks for lega…
cyfung1031 Jul 17, 2026
b21e4a8
🐛 fix(agent): cancel a running scheduled task before, not after, dele…
cyfung1031 Jul 17, 2026
6759c77
🐛 fix(agent-ui): stop leaking attachment preview object URLs on ChatI…
cyfung1031 Jul 17, 2026
41dde82
🐛 fix(agent): surface generated-image persistence failures instead of…
cyfung1031 Jul 17, 2026
b98b022
🐛 fix(agent): classify provider context-length rejections instead of …
cyfung1031 Jul 17, 2026
3bb2423
💄 格式化 handleAttachToConversation 相关方法签名(prettier)
cyfung1031 Jul 17, 2026
5e6814b
💄 移除代码注释与测试用例名称中无关的 "finding N" 审计编号引用
cyfung1031 Jul 17, 2026
83bb362
💄 清理若干纯复述代码、与相邻文档重复的注释
cyfung1031 Jul 17, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/message/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ export type TMessagQueueUnit<T = any> = {
export type TMessageCommAction<T = any> = {
action: string;
data?: NonNullable<T>;
/** 可选请求关联 ID,用于连接上的请求/响应批次匹配。 */
requestId?: string;
msgQueue?: never;
code?: never;
};
Expand Down
Loading
Loading