From 353b452453a065a65a98bf700436fcad4e5c0904 Mon Sep 17 00:00:00 2001
From: Hyu
- {eventPatternLabel(selected.metadata.event_type ?? '', t)}
-
- {new Date(selected.created_at * 1000).toLocaleString()}
-
+ {eventPatternLabel(selected.metadata.event_type ?? '', t)}
+
+ {new Date(selected.created_at * 1000).toLocaleString()}
+ {t('agents.monitoring.runStatus')} {stateLabel(selected)}
+ {t('agents.monitoring.runStatus')}
+
+ {stateLabel(selected)}
+ {t('agents.monitoring.toolCalls')} {toolSteps.length}
+ {t('agents.monitoring.toolCalls')}
+
+ {toolSteps.length}
+ {t('agents.monitoring.delivery')}
- {t(`agents.monitoring.${sendFailed ? 'sendFailed' : sentCount ? 'sendCount' : 'noSend'}`, { count: sentCount })}
+
+ {t('agents.monitoring.delivery')}
+
+ {t(
+ `agents.monitoring.${sendFailed ? 'sendFailed' : sentCount ? 'sendCount' : 'noSend'}`,
+ { count: sentCount },
+ )}
{t('agents.monitoring.noSteps')}
+ {t('agents.monitoring.noSteps')}
+ {step.text} {replyText} {actionText} {t('agents.monitoring.recipient')}: {summary.recipient} {step.error} {t(`agents.monitoring.${mock ? 'simulatedAction' : 'actionCompleted'}`)}
+ {step.text}
+
+ {replyText}
+
+ {actionText}
+
+ {t('agents.monitoring.recipient')}: {summary.recipient}
+
+ {step.error}
+
+ {t(
+ `agents.monitoring.${mock ? 'simulatedAction' : 'actionCompleted'}`,
+ )}
+
- {String(event.data.text)}
-
+ {String(event.data.text)}
+
- {t('bots.noMatchingAdapters')}
-
+ {t('bots.noMatchingAdapters')}
+ {t('botSetup.warning')} {text('intro')}
+ {text('intro')}
+ {text('instructions')} {t('bots.legacyAdaptersHint')}
+ {t('bots.legacyAdaptersHint')}
+ {t('agents.eventProcessor.input')}
-
-
-
+ {t('agents.eventProcessor.input')}
+
+
+
+
{t('agents.monitoring.execution')}
- {steps.length}
+
+ {steps.length}
+
- {!steps.length &&
- {step.kind === 'message' ? t('agents.debugTextOutput') : labels[step.name] || step.name}
+ {step.kind === 'message'
+ ? t('agents.debugTextOutput')
+ : labels[step.name] || step.name}
- {status && {text('title')}
- {t('bots.legacyAdapters')}
-
{t('monitoring.execution.detail.duration')}
-{record.duration_ms != null ? formatRunDuration(record.duration_ms) : '—'}
++ {t('monitoring.execution.detail.duration')} +
++ {record.duration_ms != null + ? formatRunDuration(record.duration_ms) + : '—'} +
{t('monitoring.llmCalls.totalTokens')}
-{record.usage?.total_tokens?.toLocaleString() ?? '—'}
++ {t('monitoring.llmCalls.totalTokens')} +
++ {record.usage?.total_tokens?.toLocaleString() ?? '—'} +
{t('monitoring.unified.deliveries')}
-{visible?.pages.deliveries?.items.length ?? 0}{visible?.pages.deliveries?.has_more ? '+' : ''}
++ {t('monitoring.unified.deliveries')} +
++ {visible?.pages.deliveries?.items.length ?? 0} + {visible?.pages.deliveries?.has_more ? '+' : ''} +
- {record.status_reason.split('; ').map((reason) => - reason === 'failure_reason_not_recorded' - ? t('common.failureReasonNotRecorded') : reason, - ).join('; ')} -
- )} + {record.status_reason && + !['stop', 'completed', 'success'].includes( + record.status_reason, + ) && ( ++ {record.status_reason + .split('; ') + .map((reason) => + reason === 'failure_reason_not_recorded' + ? t('common.failureReasonNotRecorded') + : reason, + ) + .join('; ')} +
+ )} {mainSections.map((section) => renderSection(section, true))} {secondarySections.map((section) => renderSection(section))}