feat(tui): clean transcript style, right-click context menus, rate limits & dual copy
- Add clean line-by-line transcript style toggle ('b' key / /clean / /boxed)
- Implement right-click context menus for chat list, fleet agent panel, and transcript
- Add cooldown mode lock bypass (2-second double-confirm force sync)
- Implement dual copy support: clean text (strip reply metadata) vs full context
- Add clickable [📋 Copy] and [📑+ Context] buttons to message headers
- Add unit test suites for transcript cleaning, context menus, rate limits, and copy actions
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
---
|
||||
name: box
|
||||
description: Use the box CLI to check NetVM fleet health and read the latest from each agent.
|
||||
---
|
||||
|
||||
# Box Fleet CLI
|
||||
|
||||
Use `box` (`/usr/local/bin/box`, the NetVM unified orchestrator CLI) for all fleet observation and agent coordination. Prefer read-only lookups first; coordinate via sidechats, never Main Chat dumps.
|
||||
|
||||
Nodes (node == agent == profile): `muse`, `pip`, `646`, `opm`, `def`, `dev`.
|
||||
|
||||
## Latest From Each Agent (Default Workflow)
|
||||
|
||||
1. `box fleet status` — node health, CDP status, active page/thread.
|
||||
2. `box lookup unread` — unread counts across agents.
|
||||
3. `box lookup threads` — registered threads and sidechats.
|
||||
4. Per agent with activity: `box thread list <agent>`, then `box thread view <agent> <thread_id> --limit 10` (use the thread UUID from the list; `main` only for urgent human-visible items).
|
||||
5. `box dm log -n 20` (or `--agent <agent>`) — recent inter-agent DMs, work orders, and acks.
|
||||
6. `box approvals check` — agents blocked on browser or key approval.
|
||||
|
||||
Add `--json` to any command for machine-readable output when parsing results in scripts.
|
||||
|
||||
## Common Commands
|
||||
|
||||
- `box fleet status` / `box fleet cdp <node>` — health table / CDP endpoint plus SSH forward.
|
||||
- `box thread list [<agent>]` — threads for one agent, or all fleet sidechats when omitted.
|
||||
- `box thread view <agent> <thread_id|main> --limit N` — recent messages from one thread.
|
||||
- `box dm log -n N [--agent X] [--filter TEXT]` — recent DM activity.
|
||||
- `box dm send --agent <self> --to <peer> --target <sidechat> "<msg>"` — peer DM.
|
||||
- `box lookup summary|fleet|threads|unread|approvals` — seamless one-shot lookups.
|
||||
- `box job list` / `box job log` — scheduled jobs and execution events.
|
||||
- `box harvest status` / `box followup list` — harvest watermarks / pending nudges.
|
||||
|
||||
## Rules
|
||||
|
||||
- Sidechat-first per `CHAT_POLICY.md`: `646 tasks`, `heartbeat` (opm), `646-pip-coord`, `646-opm-coord`. Never route routine checks or coordination through `main`.
|
||||
- Never paste multi-KB logs or dumps into chat; write payloads under `logs/` and send a short path pointer instead.
|
||||
- Avoid blocking commands in automated runs: `box fleet watch`, `box dm tail`, `box approvals watch`, `box dm chat` (interactive REPL).
|
||||
- `box` probes CDP per node and can take several seconds; use generous timeouts and `--json` for scripted use.
|
||||
Reference in New Issue
Block a user