dokan v0.1.2 — last-result-as-input (beta/preview)
Pre-release
Pre-release
dokan v0.1.2 — beta / preview
Stateful monitors on a stateless runtime.
What's new
feed_prev_result(opt-in per script, defaultfalse). Whentrue, dokan injects the most-recent prior run's structured result of the same script into the next run'sDOKAN_INPUT.prev_result(any exit code — a monitor's exit-1 verdict still carries its state;nullon the first run).- A monitor can now keep a cross-run diff —
read prev_result.state → diff → emit new state in ::dokan:result:: + exit nonzero on change— with no host files and no external store, staying deterministic and isolated. false= unchanged behavior for every existing script. Surfaced onget_script.
Schema-additive (ALTER TABLE ... ADD COLUMN IF NOT EXISTS), exec.rs untouched (merge happens in the dispatch path). Still honest beta/preview — see SECURITY.md. Full notes in CHANGELOG.md.