Unify agentd CLI: remove agent/agents subcommands

t-763·WorkTask·
·
·
Created1 week ago·Updated1 week ago·pipeline runs →

Description

Edit

Remove legacy agentd agent/agents subcommands and expose their behavior via top-level commands. Make work without an ID (list persistent sessions), add top-level for persistent config creation, and add top-level with mode resolution. Update parser/help text and verify build/tests for Omni/Agentd.hs.

Timeline (16)

🔄[human]Open → InProgress1 week ago
💬[human]1 week ago

Scope: remove legacy 'agent/agents' subcommand parser entries; add top-level 'create' (persistent config), add top-level 'restart' (mode-aware), and allow 'status' without ID to list persistent sessions. Keep existing top-level send/logs/stop/rm/purge behavior.

🔄[human]InProgress → Review1 week ago
💬[human]1 week ago

Implemented in Omni/Agentd.hs: removed parser entries for legacy 'agent'/'agents' subcommands; added top-level 'create' and 'restart'; made 'status' ID optional to list persistent sessions; verified with typecheck.sh Omni/Agentd.hs, bild Omni/Agentd.hs, bild --test Omni/Agentd.hs, and CLI help checks.

🔄[human]Review → InProgress1 week ago
💬[human]1 week ago

Committed 36d4022: removed legacy agent/agents parser commands, added top-level create/restart, and made status ID optional (lists persistent sessions).

🔄[human]InProgress → Review1 week ago
🔄[human]Review → InProgress1 week ago
💬[human]1 week ago

Follow-up implemented locally in Omni/Agentd.hs (not yet committed): auto mode now prefers persistent over oneshot (no ambiguity error), watch supports both modes (persistent logs + oneshot events), kill supports both modes via mode resolution, and ps now shows both oneshot containers and active persistent sessions.

💬[human]1 week ago

Committed efa934a: removed top-level run and steer aliases; auto mode now prefers persistent over oneshot; watch/kill are mode-aware for both session types; ps now lists both oneshot containers and active persistent sessions.

🔄[human]InProgress → Review1 week ago