Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

Merge pull request #265 from autonomous-ai/feat/agent-alert-sounds

scholes-autonomous7432ec1691f7
diff --cc desktop/lib/widgets/harness_session_manager.dart
index 3fd95bd6e,91e03365a..6d1bb1f6e
--- a/desktop/lib/widgets/harness_session_manager.dart
+++ b/desktop/lib/widgets/harness_session_manager.dart
@@@ -794,15 -810,32 +813,33 @@@ class _SessionRow extends StatelessWidg
semanticLabel:
'Needs input for ${row.agent.displayName}',
),
+ )
+ // The SAME SLOT, never both: a row is either waiting on a
+ // person or it is not, and the amber question already says
+ // the first case. This says the other one — work that is done
+ // and has not been looked at — in the one place the eye is
+ // already checking for a row's state.
+ else if (unread == AlertKind.done)
+ IconButton(
+ key: ValueKey('session-unread-done:${row.id}'),
+ tooltip: 'Finished',
+ onPressed: canOpen ? onOpen : null,
+ color: _UnreadMark.doneTint,
+ icon: Icon(
+ LucideIcons.circleCheckBig,
+ size: 17,
+ semanticLabel:
+ 'Finished, not yet seen: ${row.agent.displayName}',
+ ),
),
Tooltip(
+ // Every harness pauses; what differs is how much comes
+ // back, and the button says which before it is pressed —
+ // a shell loses what was running in it, and an engine with
+ // no way to reopen its conversation returns to a new one.
message: busy
? pendingLabel
- : row.controlUnavailable ??
- (row.agent.isStopped
- ? 'Resume harness'
- : 'Pause harness'),
+ : row.controlUnavailable ?? _toggleLabel(row),
child: SizedBox(
width: 40,
height: 40,