{% extends "base.html" %} {% block title %}supyagent — Agents Dashboard{% endblock %} {% block extra_css %} .dashboard-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; } .refresh-indicator { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; } .refresh-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } } /* Stat bar */ .stat-bar { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; } .stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; flex: 1; min-width: 120px; } .stat-value { font-size: 24px; font-weight: 700; margin-bottom: 2px; } .stat-label { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; } /* Agent cards */ .agent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 24px; } .agent-card { background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius); padding: 16px; cursor: pointer; transition: all 0.15s; } .agent-card:hover { border-color: var(--border-light); } .agent-card.selected { border-color: var(--accent); } .agent-card-name { font-weight: 600; font-size: 14px; margin-bottom: 4px; } .agent-card-desc { font-size: 12px; color: var(--text-dim); margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .agent-card-meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 11px; } .agent-card-error { color: var(--red); font-size: 12px; } .type-badge { display: inline-block; padding: 1px 6px; border-radius: 3px; font-size: 11px; font-weight: 600; background: #1e293b; } .type-badge.interactive { color: var(--accent); } .type-badge.execution { color: var(--yellow); } .type-badge.daemon { color: var(--green); } /* Instance table */ .instance-section { margin-bottom: 24px; } /* Status dots */ .status-active .status-dot { background: var(--green); } .status-stale .status-dot { background: var(--yellow); } .status-completed .status-dot { background: var(--text-muted); } .status-failed .status-dot { background: var(--red); } /* Detail panel */ .detail-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 24px; overflow: hidden; } .detail-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); } .detail-header h2 { margin: 0; } .detail-tabs { display: flex; border-bottom: 1px solid var(--border); } .detail-tab { padding: 10px 20px; font-size: 13px; color: var(--text-dim); cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.15s; background: none; border-top: none; border-left: none; border-right: none; font-family: var(--font); } .detail-tab:hover { color: var(--text); } .detail-tab.active { color: var(--accent); border-bottom-color: var(--accent); } .detail-content { padding: 20px; } .tab-pane { display: none; } .tab-pane.active { display: block; } /* Session list */ .session-row { padding: 10px 0; border-bottom: 1px solid var(--border); cursor: pointer; transition: background 0.1s; } .session-row:hover { background: var(--surface-hover); margin: 0 -20px; padding: 10px 20px; } .session-row:last-child { border-bottom: none; } .session-title { font-weight: 600; font-size: 13px; } .session-meta { font-size: 12px; color: var(--text-dim); margin-top: 2px; } /* Message preview */ .msg-preview { background: var(--bg); border: 1px solid var(--border); border-radius: 6px; margin-top: 8px; padding: 12px; max-height: 400px; overflow-y: auto; } .msg-item { padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 12px; } .msg-item:last-child { border-bottom: none; } .msg-role { font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; } .msg-role-user { color: var(--text); } .msg-role-assistant { color: var(--accent); } .msg-role-tool_result { color: var(--text-muted); } .msg-role-system { color: var(--yellow); } .msg-content { color: var(--text-dim); white-space: pre-wrap; word-break: break-word; line-height: 1.4; } /* Telemetry / Memory stats */ .stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; } .mini-stat { background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 12px; } .mini-stat-value { font-size: 20px; font-weight: 700; } .mini-stat-label { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; } /* Empty state */ .empty-state { color: var(--text-muted); font-size: 13px; padding: 20px 0; } {% endblock %} {% block content %}
Monitor and manage your agent instances.
| ID | Agent | Status | Parent | Depth | Age | |
|---|---|---|---|---|---|---|
| Loading... | ||||||
Stored credential names (values are encrypted and not shown).
${credentials.map(c => `