feat(agent): add event debugging and streamline configuration

This commit is contained in:
huanghuoguoguo
2026-08-23 20:32:51 +08:00
parent 5170e2e2f3
commit 0fbb1f897e
13 changed files with 1035 additions and 228 deletions
+32
View File
@@ -698,6 +698,38 @@ const zhHans = {
noRunnerSelected: '尚未选择运行器',
runnerReady: '运行器已就绪',
runnerReadyDescription: '{{runner}} 已注册,插件运行时连接正常。',
debugTab: '事件调试',
debugTitle: 'Agent 事件调试',
debugDescription: '用消息或平台事件直接运行当前 Agent,并查看真实输出。',
debugResetSession: '重置会话',
debugActualRun: '这是真实运行',
debugActualRunDescription:
'测试会调用当前运行器、模型与已授权工具,但不会把输出发送到真实聊天平台。',
debugEventType: '事件类型',
debugMessageReceived: '收到消息',
debugGroupMemberJoined: '成员加入群组',
debugGroupMemberLeft: '成员离开群组',
debugFriendRequested: '收到好友请求',
debugFeedbackReceived: '收到反馈',
debugCustomEvent: '自定义事件',
debugCustomEventType: '自定义事件名称',
debugMessageInput: '对话内容',
debugEventSummary: '事件说明',
debugInputPlaceholder: '输入希望 Agent 处理的内容',
debugEventPayload: '事件载荷(JSON',
debugSupportedEvents: 'Agent 支持',
debugRun: '运行测试',
debugRunning: '运行中',
debugTranscript: '调试记录',
debugTranscriptDescription: '当前调试会话中的输入与 Agent 输出。',
debugEmptyTranscript: '选择事件并运行测试后,结果会显示在这里。',
debugAgentOutput: 'Agent 输出',
debugTestInput: '测试输入',
debugNoTextOutput: '运行完成,但没有产生文本输出。',
debugEventTypeRequired: '请输入事件类型',
debugInputRequired: '请输入对话内容',
debugInvalidPayload: '事件载荷必须是有效的 JSON 对象',
debugRunFailed: 'Agent 调试运行失败',
},
plugins: {
title: '插件扩展',