feat(work): add box work read command to extract live active chat text and side chats
This commit is contained in:
@@ -1495,6 +1495,8 @@ def cmd_work(args):
|
||||
box_work.cmd_cognitive(args)
|
||||
elif action == "loopback":
|
||||
box_work.cmd_loopback(args)
|
||||
elif action == "read":
|
||||
box_work.cmd_read(args)
|
||||
else:
|
||||
box_work.cmd_status(args)
|
||||
|
||||
@@ -7018,6 +7020,8 @@ def build_parser():
|
||||
p_w_cog.add_argument("agents", nargs="*", help="Optional agent usernames")
|
||||
p_w_loop = work_sub.add_parser("loopback", parents=[common], help="Sweep active tickets with 3-tier loopback escalation")
|
||||
p_w_loop.add_argument("--dry-run", action="store_true", help="Inspect without modifying tickets or sending DMs")
|
||||
p_w_read = work_sub.add_parser("read", parents=[common], help="Extract live screen text, active thoughts, and side chats for an agent")
|
||||
p_w_read.add_argument("agent", help="Agent username (muse, pip, 646, opm, dev, def)")
|
||||
|
||||
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