DSH familySearch GitHub

hook / EffectTS

ets-hook-dsh-live-containers

Keeps live, editable blocks in the system prompt

0.2.1 hook EffectTS

Facts

Package
@playform/ets-hook-dsh-live-containers
Version
0.2.1
Kind
hook
Release
EffectTS
Licence
CC0-1.0
Directory
EffectTS/packages/ets-hook-dsh-live-containers

What it does

Keeps live, editable blocks in the system prompt.

Read the full description in the README.

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.

session 7c41e0a2 | deepseek-v4.1-flash | max | 3 turns | 9 steps | 40 records | simulated

*emit~waterfall=serial>parallel

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.

Turn 1Read the specimens14 records | 3 steps

Step 12 calls, 265 chars

Step 24 calls, 313 chars

Step 33 calls, 153 chars

Turn 2Write the run13 records | 3 steps

Step 43 calls, 174 chars

Step 52 calls, 258 chars

Step 62 calls, 115 chars

Turn 3Repair the run13 records | 3 steps

Step 72 calls, 143 chars

Step 83 calls, 184 chars

Step 92 calls, 123 chars

The turn

The same 3 calls on every plugin page, so a reader who moves between plugins stays in the same frame.

The 3 calls every plugin page shares, in sequence order
SeqCallOutcome
20bash ls -laok
21write src/index.tsok
22read src/index.tsok

Change

The one line that differs with this package installed, transcribed from its source by the dissection.

  1. Model only the harness sections
  2. 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.

The surfaces ets-hook-dsh-live-containers registers
KindNameWhat
sectionsystem-prompt/assemble - live-containersthe ONE appended section, fixed frame per block, built-in kinds time, counter, manifest, gauge, note, template
listenertools/post-execute (CAN-1 transform)detaches matching command calls into ctx.jobs background jobs, marker reply + [stale]-style live frames
listeneragent/pre-step + tools/post-executethe counter observers (messages, turns, since last tool)
listenerdynamic context live-containers-completionthe batched completion report snapshot
toollive_plantopens a planted board (plantType: "monitors" aggregates member monitors)
toollive_container_setthe verbs: accept/dismiss a suggestion, prune a stalled member
toollive_monitor / live_monitor_checkenroll/inspect a monitor; on-demand check
configSCHEME.mdthe full Schemastery schema (see the table below)

Install

The package as the profile adds it.

Install sh
pnpm add @playform/ets-hook-dsh-live-containers

Configuration

Every knob this plugin documents, with its default.

Configuration of ets-hook-dsh-live-containers
FieldTypeDefaultMeaning
logbooleantruevolatile - the shared factory log switch
logFilestring~/.dsh/playform/hook-dsh-live-containers.logvolatile - the ledger file
enabledbooleanfalsevolatile - the IDLE-forever switch
sectionNamestringlive-containersvolatile - the appended section's name
refreshunionrequestvolatile - request | ttl; ttl is the KV-cache-friendly cadence
ttlCallsnumber8volatile - assemblies the section text is held for
separatorstring---volatile - the frame separator
sectionBudgetBytesnumber4096volatile - over budget the OLDEST frames collapse to one-line summaries
blocksarrayDEFAULT_BLOCKSvolatile - { id, kind, template, enabled, vars, trigger, ttlCalls, scope }
detachobjectmode offvolatile - CAN-1: mode, markers, latency/dedup/liveTimeout knobs
plantobjectstallMs 45000, leaseTurns 3, ...volatile - CAN-2: board budgets, the lease, stallAction
failsafesunionoffvolatile - off disables the CAN-4 engine entirely; the transform keeps working
hangBudgetMsnumber120000volatile - the hang guard budget
hangActionunionwarn-onlyvolatile - kill only at "kill"
failsafesPerTurnnumber5volatile - the per-turn meta-budget
suggesterunionoffvolatile - section | plant, the CAN-5 suggester
suggesterPrivacyunionredactvolatile - verbatim forwards the request text
suggestGateMinCharsnumber40volatile - the qualifying-message gate
maxSuggestionsPerHournumber6volatile - the rate cap
maxPromptBytesnumber4000volatile - the forwarded-request cap
suggestTimeoutMsnumber8000volatile - the suggester deadline
autoPlantbooleanfalsevolatile - instantiate accepted suggestions as dormant blocks
suggesterRouteobjectprovider/model/reasoningEffortvolatile - the suggester's LLM route
completionCapBytesnumber4096volatile - the completion snapshot cap
monitorsunionoffvolatile - the wave-3 monitor engine
watchlistarray[]volatile - { glob, checks } enrollment rules (default: no scan, no watch-all)
checksetsdictDEFAULT_CHECK_SETSvolatile - the named check sets
monitorobjectdebounceMs 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.

The family's answers at system-prompt/assemble, in the order the behavior map lists them
AnswerEffectPosition
hook-dsh-live-containersrewriteits twin

Arms

The seams its source also registers, beyond the one its README documents.

Twin

The same package in the other release tree, when one exists.

Its twin is 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.

Dependencies of ets-hook-dsh-live-containers
PackageRole
@playform/ets-base-dshfamily
@playform/ets-plugin-dsh-factoryfamily

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.

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.

Open the package source

Origin

The files this page was built from, and what each one supplies.

The files this page was read from 5
The files behind https://github.com/PlayForm/DeepSeek/tree/Current/EffectTS/packages/ets-hook-dsh-live-containers
FileContributedState
package.jsonThe name, the version, the private flag, and the dependencies.read
README.mdThe summary, the surface table, and the configuration table.read
CHANGELOG.mdThe release lines and their versions.read
cordis.patch.ymlActivation: the bundle entry that mounts the plugin.read
Source/Function/Apply.tsThe 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.