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
+35
View File
@@ -730,6 +730,41 @@ const enUS = {
runnerReady: 'Runner ready',
runnerReadyDescription:
'{{runner}} is registered and the plugin runtime is connected.',
debugTab: 'Event Debug',
debugTitle: 'Agent Event Debug',
debugDescription:
'Run the current Agent with a message or platform event and inspect the real output.',
debugResetSession: 'Reset session',
debugActualRun: 'This is a real run',
debugActualRunDescription:
'The test calls the configured runner, models, and authorized tools, but does not deliver output to a real chat platform.',
debugEventType: 'Event type',
debugMessageReceived: 'Message received',
debugGroupMemberJoined: 'Group member joined',
debugGroupMemberLeft: 'Group member left',
debugFriendRequested: 'Friend request received',
debugFeedbackReceived: 'Feedback received',
debugCustomEvent: 'Custom event',
debugCustomEventType: 'Custom event name',
debugMessageInput: 'Conversation input',
debugEventSummary: 'Event summary',
debugInputPlaceholder: 'Enter what the Agent should handle',
debugEventPayload: 'Event payload (JSON)',
debugSupportedEvents: 'Agent supports',
debugRun: 'Run test',
debugRunning: 'Running',
debugTranscript: 'Debug transcript',
debugTranscriptDescription:
'Inputs and Agent outputs from the current debug session.',
debugEmptyTranscript:
'Choose an event and run a test to see the result here.',
debugAgentOutput: 'Agent output',
debugTestInput: 'Test input',
debugNoTextOutput: 'The run completed without textual output.',
debugEventTypeRequired: 'Enter an event type',
debugInputRequired: 'Enter a conversation input',
debugInvalidPayload: 'The event payload must be a valid JSON object',
debugRunFailed: 'Agent debug run failed',
},
plugins: {
title: 'Extensions',