Own retained Eve Ink playback sidecar
This commit is contained in:
parent
d070159ba5
commit
826200184c
9 changed files with 321 additions and 1 deletions
28
docs/eve-sidecar.md
Normal file
28
docs/eve-sidecar.md
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# Sai Eve Sidecar
|
||||
|
||||
Sai owns retained Ink playback sessions behind the Eve plugin ABI. The sidecar
|
||||
loads compiled Ink with `inkjs`, applies story commands, and projects the live
|
||||
session through Sai's `gamecult.eve.surface.v1` module.
|
||||
|
||||
The sidecar does not render a runtime, accept provider commands on a provider's
|
||||
behalf, or execute Norn or TeX semantics. It advertises `norn.graph` and
|
||||
`tex.math` only as independent optional nested plugins.
|
||||
|
||||
## Transport
|
||||
|
||||
`src/eve-sidecar.cjs` is a long-running NDJSON process. Each input line is a
|
||||
`gamecult.eve.plugin_abi.request.v1`; each output line is the correlated
|
||||
`gamecult.eve.plugin_abi.response.v1`.
|
||||
|
||||
The retained operations are:
|
||||
|
||||
- `open`: create or replace a named Ink session and advance it to its first line.
|
||||
- `apply`: apply `story.continue`, `story.choose`, or `story.jump` to that session.
|
||||
- `project`: derive a Sai Eve surface from current session state.
|
||||
- `describe`: report the sidecar's owned and optional capabilities.
|
||||
|
||||
Run the owner-side conformance witness with:
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy Bypass -File scripts/run-eve-plugin-witness.ps1
|
||||
```
|
||||
Loading…
Reference in a new issue