Add the session view to the trace page. Read the specimens first, then build the lane strip, the tree, the document, and the inspector from one authored run. The family's plugins must be visible on the records they touch, and the page must read the same run with the family off.
hook / Classic
hook-dsh-live-containers
Keeps live, editable blocks in the system prompt
Facts
- Package
- @playform/hook-dsh-live-containers
- Version
- 0.2.1
- Kind
- hook
- Release
- Classic
- Licence
- CC0-1.0
- Directory
- Classic/packages/hook-dsh-live-containers
What it does
Keeps live, editable blocks in the system prompt.
Conversation
The turn as a document: the calls every plugin page shares, what this package changes in them, and the order its work happens in.
Conversational
Lane
The same run as time: one row per resource, a bar per span, and the clock every record shares. A wait is drawn as an outline, because nothing is busy.
Session
The tree, the document, and the inspector read one record list. The switch at the top of the document changes the face they read, and the run changes with it.
The turn
The same 3 calls on every plugin page, so a reader who moves between plugins stays in the same frame.
| Seq | Call | Outcome |
|---|---|---|
20 | bash ls -la | ok |
21 | write src/index.ts | ok |
22 | read src/index.ts | ok |
Change
The one line that differs with this package installed, transcribed from its source by the dissection.
- Model only the harness sections
- Transcript --- LIVE CONTAINER n (recomputed each request; not harness state) ---
69 character changed, from 25 to 69.
- Property
- Live state in the prompt
- Knob
- sections, one per container
- Seam
- system-prompt/assemble
Harness
The laws the package states, the line it writes when it loads, the seam the harness dispatches with none of the family, and the surface and knobs a run can set.
Default
What the harness does at this package's seam with none of the family installed, so the surface below has something to be a difference from.
The harness dispatches system-prompt/assemble as a waterfall and already has listeners there: browser-use-runtime, working-directory.
A waterfall listener receives the payload and may return a changed one, so the harness's own listeners can already change what the model reads. This package adds another listener to that list.
Surface
Every listener, tool, service, and knob the README documents.
| Kind | Name | What |
|---|---|---|
| section | system-prompt/assemble - live-containers | the ONE appended section, fixed frame per block, built-in kinds time, counter, manifest, gauge, note, template |
| listener | tools/post-execute (CAN-1 transform) | detaches matching command calls into ctx.jobs background jobs, marker reply + [stale]-style live frames |
| listener | agent/pre-step + tools/post-execute | the counter observers (messages, turns, since last tool) |
| listener | dynamic context live-containers-completion | the batched completion report snapshot |
| tool | live_plant | opens a planted board (plantType: "monitors" aggregates member monitors) |
| tool | live_container_set | the verbs: accept/dismiss a suggestion, prune a stalled member |
| tool | live_monitor / live_monitor_check | enroll/inspect a monitor; on-demand check |
| config | SCHEME.md | the full Schemastery schema (see the table below) |
Install
The package as the profile adds it.
pnpm add @playform/hook-dsh-live-containersConfiguration
Every knob this plugin documents, with its default.
| Field | Type | Default | Meaning |
|---|---|---|---|
| log | boolean | true | volatile - the shared factory log switch |
| logFile | string | ~/.dsh/playform/hook-dsh-live-containers.log | volatile - the ledger file |
| enabled | boolean | false | volatile - the IDLE-forever switch |
| sectionName | string | live-containers | volatile - the appended section's name |
| refresh | union | request | volatile - request | ttl; ttl is the KV-cache-friendly cadence |
| ttlCalls | number | 8 | volatile - assemblies the section text is held for |
| separator | string | --- | volatile - the frame separator |
| sectionBudgetBytes | number | 4096 | volatile - over budget the OLDEST frames collapse to one-line summaries |
| blocks | array | DEFAULT_BLOCKS | volatile - { id, kind, template, enabled, vars, trigger, ttlCalls, scope } |
| detach | object | mode off | volatile - CAN-1: mode, markers, latency/dedup/liveTimeout knobs |
| plant | object | stallMs 45000, leaseTurns 3, ... | volatile - CAN-2: board budgets, the lease, stallAction |
| failsafes | union | off | volatile - off disables the CAN-4 engine entirely; the transform keeps working |
| hangBudgetMs | number | 120000 | volatile - the hang guard budget |
| hangAction | union | warn-only | volatile - kill only at "kill" |
| failsafesPerTurn | number | 5 | volatile - the per-turn meta-budget |
| suggester | union | off | volatile - section | plant, the CAN-5 suggester |
| suggesterPrivacy | union | redact | volatile - verbatim forwards the request text |
| suggestGateMinChars | number | 40 | volatile - the qualifying-message gate |
| maxSuggestionsPerHour | number | 6 | volatile - the rate cap |
| maxPromptBytes | number | 4000 | volatile - the forwarded-request cap |
| suggestTimeoutMs | number | 8000 | volatile - the suggester deadline |
| autoPlant | boolean | false | volatile - instantiate accepted suggestions as dormant blocks |
| suggesterRoute | object | provider/model/reasoningEffort | volatile - the suggester's LLM route |
| completionCapBytes | number | 4096 | volatile - the completion snapshot cap |
| monitors | union | off | volatile - the wave-3 monitor engine |
| watchlist | array | [] | volatile - { glob, checks } enrollment rules (default: no scan, no watch-all) |
| checksets | dict | DEFAULT_CHECK_SETS | volatile - the named check sets |
| monitor | object | debounceMs 1500, bandCapBytes 2048, ... | volatile - the monitor budgets |
Family
The neighbours at the same seam, the arms beyond it, the twin in the other release tree, and the packages this one needs.
Neighbours
The behavior map lists 1 answer at system-prompt/assemble, in the order the family registers them.
| Answer | Effect | Position |
|---|---|---|
| hook-dsh-live-containers | rewrite | this package |
Arms
The seams its source also registers, beyond the one its README documents.
- agent/pre-step
- session/event
- tools/change
- tools/execute
- tools/post-execute
- tools/pre-execute
Twin
The same package in the other release tree, when one exists.
Its twin is ets-hook-dsh-live-containers.
It registers the same listeners in the same order and composes the same ledger strings; the ledger file's name, which carries the package identity, and the factory base import are the only differences.
Dependencies
The packages this one imports, and whether each one is the family's own.
| Package | Role |
|---|---|
| family | |
| family |
Person
What the person waits for, reads, and never sees.
The person sees the text after the rewrite and not what it replaced, so the change stays invisible unless the source is read beside the result.
- the harness assembles its own sections
- a block's text is fixed at assembly
- an unresolved variable fails the assembly
- live-containers is appended as one more section
- each block is recomputed at ask time
- an unknown token renders literally and logs a line
The section is the only addition; every harness section stays where the harness put it.
Architecture
This plugin's own structure: the shape the portrait gives it, the facts its source documents, and the rule its flow obeys.
Shape
Plugs into the system-prompt/assemble waterfall as one appended section, beside its own tools and observers.
The conversation blocks that are recomputed at ask time and read as live.
- Appends one section whose blocks are recomputed at every request
- Frames each block so the model cannot mistake it for harness state
- Renders an unknown token literally rather than failing the assembly
- Collapses the oldest frames to one line when the section passes its budget
Its shape machine belongs to Person.
Record
The release line, the source, and the files this page was read from.
Release
The versions the package's own changelog records, newest first.
- 0.3.0
- 0.2.1
- 0.2.0
- 0.1.0
Source
The package as the repository holds it.
Origin
The files this page was built from, and what each one supplies.
The files this page was read from 5
| File | Contributed | State |
|---|---|---|
| package.json | The name, the version, the private flag, and the dependencies. | read |
| README.md | The summary, the surface table, and the configuration table. | read |
| CHANGELOG.md | The release lines and their versions. | read |
| cordis.patch.yml | Activation: the bundle entry that mounts the plugin. | read |
| Source/Function/Apply.ts | The listeners, their registration order, and the service the flow calls. | absent |
- Data
- The monorepo, read during the build
- Connection
- Build-time read; nothing is fetched at runtime
- Capture
- package.json, README.md, CHANGELOG.md, Source/Function/Apply.ts
Expand provenance source
This page is static. It cannot invoke the plugin, read a ledger, or change a configuration. Every figure comes from those files; a missing README falls back to the manifest's own description, and a package with no surface table shows no surface section.