🔐 Agent 监控
{{ error }}
用户名
密码
登录
👑 Agent 监控系统
👤 {{ username }}
自动刷新
🔄 刷新
退出
{{ totalAgents }}
📊 总 Agent 数
{{ totalBusy }}
🔴 忙碌中
{{ totalIdle }}
🟢 空闲
{{ totalSessions }}
💬 总会话数
{{ gatewayStatus === 'running' ? '🟢 正常' : '🔴 停用' }}
🌐 Gateway
启动时间: {{ gatewayStartTime }}
{{ getDisplayName(agentName) }}
{{ summary.is_busy ? '忙碌' : '空闲' }}
会话:
{{ summary.session_key || '-' }}
频道:
{{ summary.channel || '-' }}
模型:
{{ summary.model || '-' }}
Token 总消耗:
{{ formatTokenCount(summary?.total_tokens || 0) }}
最后活动:
{{ formatTime(summary.updated_at) }}
📋 {{ getDisplayName(selectedAgent) }} - 任务事件时间线
📝 {{ tasks[selectedAgent]?.length || 0 }} 任务
最近 1 小时
最近 6 小时
最近 24 小时
最近 7 天
📋 任务列表
加载中...
{{ task.status === 'busy' ? '🔄' : '✅' }}
{{ task.task_name || '未知任务' }}
🕐 {{ formatTime(task.started_at) }}
📊 {{ task.event_count }} 事件
暂无任务
{{ selectedTaskDetail?.task_name || '任务详情' }}
{{ selectedTaskDetail?.started_at ? formatTime(selectedTaskDetail.started_at) : '' }} · {{ selectedTaskEvents.length }} 个事件
{{ getEventIcon(event.event_type) }}
{{ event.actor_name }}
{{ event.event_type }}
{{ formatTime(event.started_at) }}
{{ event.step_name }}
📥 {{ event.input_summary }}
📤 {{ event.output_summary }}
❌ {{ event.error_message }}
暂无事件
📋
点击左侧任务查看事件时间线