t-800
In agentd top, pressing Enter currently opens logs for the selected agent.
agentd top
Requested behavior: pressing Enter should run agentd watch on the selected agent instead.
agentd watch
Acceptance:
l
Omni/Agentd.hs
Implemented in Omni/Agentd.hs:
showTopAgentWatch
runOneshotWatch [runId] False
runPersistentWatch [runId] False
Watching <runId> (press Enter to return to dashboard)...
Async.race
Enter=watch l=logs
Verification:
typecheck.sh Omni/Agentd.hs
lint Omni/Agentd.hs
bild --test Omni/Agentd.hs
Implemented in
Omni/Agentd.hs:agentd topEnter key now launches watch for the selected row (instead of logs).showTopAgentWatch:runOneshotWatch [runId] FalserunPersistentWatch [runId] FalseWatching <runId> (press Enter to return to dashboard)...Async.raceso Enter cancels watch and returns to top.lbehavior unchanged for logs.Enter=watch l=logsVerification:
typecheck.sh Omni/Agentd.hslint Omni/Agentd.hsbild --test Omni/Agentd.hs