No description
- JavaScript 47.4%
- Go 37.1%
- Shell 15.5%
| bin | ||
| js | ||
| cues.go | ||
| go.mod | ||
| README.md | ||
| static.go | ||
cues
The DOM cue pipeline for the web, shared by the repos that run a browser-hosted agent. Web-generic: no wanix, no Go module dependencies — the wire vocabulary and the page-side applier.
cues(root package) — the wire vocabulary:Action(append / update / remove / signals), theSinkinterface, and theDoAppend/DoUpdate/DoRemove/DoSignalsconstructors. Platform-neutral, stdlib only.js/cueplay.js— the page-side half: a self-contained ES module that reads a cue stream (JSON lines of Actions) and applies the four primitives on the main thread (window.cues:start,apply,write).StaticHandler()— servesjs/embedded, so a backend canmux.Handle("/js/", cues.StaticHandler())and the page's/js/cueplay.jsjust works.
Used by wanix-acp (and through it, autonaut): the
brain's renderers produce cues, a sink (wanix-acp's cuestream, the
wanix-specific half) moves them through the kernel, cueplay.js
applies them to the DOM.