feat(cognitive): implement real-time cognitive sensing, menu navigation, and single-task lock
This commit is contained in:
@@ -1489,6 +1489,10 @@ def cmd_work(args):
|
||||
box_work.cmd_heal(args)
|
||||
elif action == "chats":
|
||||
box_work.cmd_chats(args)
|
||||
elif action == "menu":
|
||||
box_work.cmd_menu(args)
|
||||
elif action == "cognitive":
|
||||
box_work.cmd_cognitive(args)
|
||||
else:
|
||||
box_work.cmd_status(args)
|
||||
|
||||
@@ -7004,6 +7008,11 @@ def build_parser():
|
||||
p_w_chats = work_sub.add_parser("chats", parents=[common], help="View recent live chat activity")
|
||||
p_w_chats.add_argument("--agent", help="Filter by agent name")
|
||||
p_w_chats.add_argument("--limit", type=int, default=10, help="Number of messages to show")
|
||||
p_w_menu = work_sub.add_parser("menu", parents=[common], help="Navigate agent profile menu (tasks, timers, approvals, identity)")
|
||||
p_w_menu.add_argument("agent", help="Agent username (muse, pip, 646, opm, dev, def)")
|
||||
p_w_menu.add_argument("tab", nargs="?", default="activity", choices=["activity", "upcoming", "approvals", "identity", "all"], help="Menu tab to view")
|
||||
p_w_cog = work_sub.add_parser("cognitive", parents=[common], help="Probe real-time cognitive sensor (thinking, generating, sidechats)")
|
||||
p_w_cog.add_argument("agents", nargs="*", help="Optional agent usernames")
|
||||
|
||||
p_tasks = subparsers.add_parser("tasks", parents=[common], help="Agent work queue: pending/claimed/done files (distinct from scheduled jobs)")
|
||||
p_tasks.add_argument("--dir", default=None, help="Task queue dir (default: fleet/tasks)")
|
||||
|
||||
Reference in New Issue
Block a user