fix(work): import hashlib and wire heal subparser into main CLI
This commit is contained in:
@@ -13,6 +13,8 @@ stable network presence.
|
|||||||
|--------------|-------|---------------|---------|----------|-----------|---------|-------|
|
|--------------|-------|---------------|---------|----------|-----------|---------|-------|
|
||||||
| tp | warp-tp | /etc/netvm/tp.conf (wgcf, 2026-10-03) | 10.201.149.2 | 9277 | 104.28.203.246 | — | laptop; orchestrator + first node; UP, handshake+egress verified 2026-10-03 |
|
| tp | warp-tp | /etc/netvm/tp.conf (wgcf, 2026-10-03) | 10.201.149.2 | 9277 | 104.28.203.246 | — | laptop; orchestrator + first node; UP, handshake+egress verified 2026-10-03 |
|
||||||
| smoke | warp-smoke | /etc/netvm/smoke.conf (wgcf, 2026-10-03) | 10.201.87.2 | 9410 | 104.28.203.246 | — | laptop; dedicated test rig (chrome-box profile smoke); UP, handshake+egress+CDP+muse.ai verified 2026-10-03 |
|
| smoke | warp-smoke | /etc/netvm/smoke.conf (wgcf, 2026-10-03) | 10.201.87.2 | 9410 | 104.28.203.246 | — | laptop; dedicated test rig (chrome-box profile smoke); UP, handshake+egress+CDP+muse.ai verified 2026-10-03 |
|
||||||
|
| smoke2 | warp-smoke2 | /etc/netvm/smoke2.conf (wgcf, 2026-10-03) | 10.201.117.2 | 9585 | 104.28.227.184 | — | laptop; dedicated test rig (chrome-box profile smoke2); UP, handshake+egress+CDP+muse.ai verified 2026-10-03 |
|
||||||
|
|
||||||
|
|
||||||
CDP: `http://<veth IP>:<CDP port>/json/list` from the host, or
|
CDP: `http://<veth IP>:<CDP port>/json/list` from the host, or
|
||||||
`ssh -L <port>:<veth IP>:<port> <user>@<tail IP>` for remote automation.
|
`ssh -L <port>:<veth IP>:<port> <user>@<tail IP>` for remote automation.
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ import argparse
|
|||||||
import urllib.request
|
import urllib.request
|
||||||
import urllib.parse
|
import urllib.parse
|
||||||
import urllib.error
|
import urllib.error
|
||||||
|
import hashlib
|
||||||
from datetime import datetime, timezone
|
from datetime import datetime, timezone
|
||||||
from pathlib import Path
|
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 = 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_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 = sub.add_parser("chats", help="View recent live chat activity")
|
||||||
p_chats.add_argument("--agent", help="Filter by agent name")
|
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")
|
p_chats.add_argument("--limit", type=int, default=10, help="Number of messages to show")
|
||||||
@@ -820,6 +824,8 @@ def main():
|
|||||||
cmd_status(args)
|
cmd_status(args)
|
||||||
elif action == "check":
|
elif action == "check":
|
||||||
cmd_check(args)
|
cmd_check(args)
|
||||||
|
elif action == "heal":
|
||||||
|
cmd_heal(args)
|
||||||
elif action == "start":
|
elif action == "start":
|
||||||
cmd_start(args)
|
cmd_start(args)
|
||||||
elif action == "assign":
|
elif action == "assign":
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user