fix(work): import hashlib and wire heal subparser into main CLI
This commit is contained in:
@@ -22,6 +22,7 @@ import argparse
|
||||
import urllib.request
|
||||
import urllib.parse
|
||||
import urllib.error
|
||||
import hashlib
|
||||
from datetime import datetime, timezone
|
||||
from pathlib import Path
|
||||
|
||||
@@ -809,6 +810,9 @@ def main():
|
||||
p_merge = sub.add_parser("merge", help="Merge an open PR into master")
|
||||
p_merge.add_argument("pr", type=int, help="Pull request number (e.g. 214)")
|
||||
|
||||
p_heal = sub.add_parser("heal", help="Run automated remediation on an agent")
|
||||
p_heal.add_argument("agent", help="Agent username to heal")
|
||||
|
||||
p_chats = sub.add_parser("chats", help="View recent live chat activity")
|
||||
p_chats.add_argument("--agent", help="Filter by agent name")
|
||||
p_chats.add_argument("--limit", type=int, default=10, help="Number of messages to show")
|
||||
@@ -820,6 +824,8 @@ def main():
|
||||
cmd_status(args)
|
||||
elif action == "check":
|
||||
cmd_check(args)
|
||||
elif action == "heal":
|
||||
cmd_heal(args)
|
||||
elif action == "start":
|
||||
cmd_start(args)
|
||||
elif action == "assign":
|
||||
|
||||
Reference in New Issue
Block a user