diff --git a/README.md b/README.md index eb31294d..e0e47cb6 100644 --- a/README.md +++ b/README.md @@ -451,6 +451,8 @@ The general-purpose pieces, by import path. Every export with its one-line summa | Conversations + durability | Multi-turn two-agent sessions with SQL-backed resume (D1/pg/sqlite/libSQL adapters) | `/conversation` | | Training/eval adapter | Package the same runtime program as a PrimeIntellect Verifiers environment; import its traces back | `/primeintellect` | +| Watching live runs | A terminal view of every supervisor run in a workspace — workers, spend, tokens, latency, plus steer and cancel (`agent-runtime-top`) | `/tui` | + Remaining subpaths: `/agent`, `/profiles`, `/platform`, `/analyst-loop`, `/environment-provider`, `/testing` (validated fixture records for consumer tests). ## Examples diff --git a/docs/api/README.md b/docs/api/README.md index c930d421..94ec3d41 100644 --- a/docs/api/README.md +++ b/docs/api/README.md @@ -22,3 +22,4 @@ - [runtime](runtime.md) - [testing](testing.md) - [tool-loop](tool-loop.md) +- [tui](tui.md) diff --git a/docs/api/primitive-catalog.md b/docs/api/primitive-catalog.md index 15bed704..060abe41 100644 --- a/docs/api/primitive-catalog.md +++ b/docs/api/primitive-catalog.md @@ -508,7 +508,7 @@ Import from `@tangle-network/agent-runtime/intelligence` — 166 exports. ### Execution kernel — recursive atom, supervision, executors, round-synchronous loop -Import from `@tangle-network/agent-runtime/kernel` — 685 exports. +Import from `@tangle-network/agent-runtime/kernel` — 688 exports. | Symbol | Kind | Summary | |---|---|---| @@ -604,6 +604,7 @@ Import from `@tangle-network/agent-runtime/kernel` — 685 exports. | `jjWorkspace` | function | A jj-backed `Workspace` (Jujutsu, colocated with git for the durable remote). | | `leaderboard` | function | Aggregate a fleet of records into the ranked, multi-axis report. Pure — no IO, deterministic. | | `legacySupervisorRunDir` | function | Where a pre-rename writer put the same run (`/.loops/supervisor/`). Readers that must | +| `legacySupervisorRunsRoot` | function | The pre-rename runs root (`/.loops/supervisor`). Only readers that ENUMERATE historical | | `loadSpawnForest` | function | Load every journal tree owned by one recursive supervision run and flatten its nodes/events. | | `localSandboxClient` | function | A same-host `SandboxClient` adapter with no process isolation. Local MCP is | | `localShell` | function | Host-process `Shell`: run a command via `execFile`, resolving `{ stdout, stderr, code }` (never throws on non-zero exit). | @@ -697,6 +698,7 @@ Import from `@tangle-network/agent-runtime/kernel` — 685 exports. | `supervisorInstructions` | function | The supervisor SKILL — the how-to the supervisor reads (its system prompt). THE optimizable | | `supervisorRunDir` | function | The run directory every artifact of one supervisor run lives under. | | `supervisorRunsRoot` | function | The root every supervisor run of one workspace lives under. | +| `supervisorWorkersDir` | function | The directory holding every per-worker file of one run (inboxes and control-event logs). | | `timerAt` | function | Build a `timer` spec from a DURATION. The instant is resolved once, at arm time — a resumed | | `trajectoryReport` | function | Reconstruct the whole spawn tree for `root` with per-node + rolled-up `Spend`. Reads the | | `validateWaitSpec` | function | Structural validation, independent of the run. Returns null when the spec is usable. | @@ -706,6 +708,7 @@ Import from `@tangle-network/agent-runtime/kernel` — 685 exports. | `watchTrace` | function | Subscribe to a `TraceSource` and run the streaming detectors over its live spans. Returns an | | `widen` | function | `widen(spec)` — the streaming spawn-on-completion driver. Spawns the seed lineages, then REACTS | | `withUntrackedArtifacts` | function | Wrap a `Workspace` so every `materialize` (the per-worker `git clone` inside | +| `workerControlLogFile` | function | The best-effort control-event log for one worker (`workers/