+
+
+
+
Wartet auf dich
+
+ Strukturierte Fragen mit Entscheidungsbedarf — der Rest des Rueckstaus ist Agentenarbeit.
+
+
+
+
{waiting}
+
von {openTotal} offenen Tasks
+
+
+
+ {Object.keys(data?.by_recipient ?? {}).length > 0 && (
+
+ {Object.entries(data!.by_recipient).map(([who, n]) => (
+
+ {who}: {n}
+
+ ))}
+
+ )}
+
+ {error && (
+
+ {error}
+
+ )}
+ {feedback && (
+
+ {feedback.msg}
+
+ )}
+
+
+ {items.length === 0 && !error && (
+
+ Keine offene Frage braucht gerade eine menschliche Entscheidung. Wenn das dauerhaft so
+ bleibt, obwohl Agenten haengen, fehlt ihnen das attention-Feld — dann ist
+ die Skill-Seite dran, nicht die Anzeige.
+
+ )}
+
+ {items.map((it) => (
+
+
+
+
+ {it.from} → {it.to} · {it.priority} · {it.status} · seit {age(it.age_s)}
+
+
{it.question}
+
+
{it.task_id.slice(0, 8)}
+
+
+ {it.options?.length > 0 && (
+
+ {it.options.map((opt) => (
+
+ ))}
+
+ )}
+
+
+ setDraft((p) => ({ ...p, [it.task_id]: e.target.value }))}
+ placeholder="Oder eigene Antwort…"
+ className="min-w-0 flex-1 rounded border border-neutral-700 bg-neutral-900 px-3 py-1.5 text-sm"
+ />
+
+
+
+ ))}
+
+ )
+}
diff --git a/app/page.tsx b/app/page.tsx
index da48d8e..a16d0c0 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -15,6 +15,7 @@ import MessageFeed from './components/fleet/MessageFeed'
import KanbanBoard from './components/fleet/KanbanBoard'
import OwnerPanel from './components/fleet/OwnerPanel'
import OwnerApprovals from './components/fleet/OwnerApprovals'
+import AttentionPanel from './components/fleet/AttentionPanel'
import EscalationHistory from './components/fleet/EscalationHistory'
import SandboxFleetView from './components/fleet/SandboxFleetView'
import TaskBrowser from './components/fleet/TaskBrowser'
@@ -34,7 +35,7 @@ export default function Dashboard() {
const [dashboardSession, setDashboardSession] = useState(() => createHydrationSafeDashboardSessionState())
const [isCreateMode, setIsCreateMode] = useState(false)
const [isDestroyMode, setIsDestroyMode] = useState(false)
- const [activeView, setActiveView] = useState<'settings' | 'sandboxes' | 'help' | 'wizards' | 'mcp' | 'org' | 'messages' | 'board' | 'owner' | 'escalations' | 'approvals' | 'fleet-sandboxes' | 'tasks' | 'ops'>('org')
+ const [activeView, setActiveView] = useState<'settings' | 'sandboxes' | 'help' | 'wizards' | 'mcp' | 'org' | 'messages' | 'board' | 'owner' | 'escalations' | 'approvals' | 'attention' | 'fleet-sandboxes' | 'tasks' | 'ops'>('org')
const [telemetryBarEnabled, setTelemetryBarEnabled] = useState(false)
const [deletingSandboxId, setDeletingSandboxId] = useState