修复运行时事件、MITM 捕获与资产处理稳定性 - #120
Open
wuchulonly wants to merge 8 commits into
Open
Conversation
RunForeground 在未显式指定目录时,从调用上下文读取 WorkDir,与后台执行路径保持一致。补充回归测试并同步登记 Unix 平台跳过项。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
将进入 AOP TextContent 的任意文本统一转换为合法 UTF-8,避免截断的多字节输出导致 tool.result 无法编码和前端持续等待。补充 helper 与 Agent 完整事件链路回归测试。
为单个请求和响应设置 8 MiB 保留上限,并按实际落盘大小执行 2 GiB 总预算。淘汰、过滤和关闭捕获时同步清理 body 文件,序列化读取与回收使用锁协调,并在流错误中标明截断状态。
Web 服务通过 CancelTurnRequest 请求会话所属节点取消 turn,并等待运行时确认后再发布终止事件。这样也能取消未登记为 Web task 的自动 turn,同时保留协议错误码用于准确映射失败原因。
curl 响应 Artifact 改用 AIScan 通用 schema,统一 body_length 字段和 aiscan 工具归属;补充事件与服务端归一化测试。
资产列表使用客户端分页,每页展示 50 条,并让面板 body 采用纵向布局,避免大量资产挤压或撑开界面。
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.
变更概览
验证