fix(agent-debug): stream execution traces with platform mocks and coverage

This commit is contained in:
Hyu
2026-09-05 15:34:29 +08:00
parent a4d36aa2db
commit 8f0a55a1f4
47 changed files with 1815 additions and 562 deletions
+20
View File
@@ -833,6 +833,26 @@ const zhHans = {
debugEmptyTranscript:
'选择事件类型,填写测试内容,然后点击“运行测试”。结果只会显示在这里。',
debugAgentOutput: 'Agent 输出',
debugReasoning: '思考内容',
debugTextOutput: '文本输出',
debugPlatformNotice:
'平台工具使用 Mock:Agent 真实调用工具,回复、发送等平台动作模拟执行,不发送真实消息。其他工具仍按实际配置执行。',
debugToolSimulated: '模拟执行成功 · Mock',
debugStop: '停止调试',
debugMockOptions: 'Mock 场景(JSON',
debugInvalidMock: 'Mock 场景必须是有效的 JSON 对象。',
debugToolMockFailed: '模拟执行失败 · Mock',
debugMockOptionsHelp:
'默认模拟成功。errors 按工具名设置失败原因,results 设置查询结果,unsupported_apis 设置不支持的接口。例如:{"errors":{"event_reply":"模拟发送失败"}}',
debugCancelled: '已停止调试,保留停止前的执行记录。',
debugNoToolCalls: '未记录到工具调用;生成文本不代表消息已发送。',
debugToolCount: '已记录 {{count}} 次工具调用,执行状态和结果见下方。',
debugToolRunning: '执行中',
debugToolCompleted: '已完成',
debugToolFailed: '执行失败',
debugToolInterrupted: '未返回结果',
debugToolArguments: '调用参数',
debugToolResult: '执行结果',
debugTestInput: '测试输入',
debugNoTextOutput: '运行完成,但没有产生文本输出。',
debugEventTypeRequired: '请输入事件类型',