v0.12.0-beta.10
Pre-release
Pre-release
·
252 commits
to main
since this release
Delta since previous beta (v0.12.0-beta.9) — 2 new changesets.
Patch Changes
preview_urlnow treats a preview request as demand for a backend. When no Open Knowledge server is running for the project, the tool auto-starts one through the same machinery the read/write tools use (OK_MCP_AUTOSTARTgate, spawn timeout, spawn-error log) and waits briefly for the preview UI sibling to bind, so an agent whose first action is "open the preview" gets a working URL instead ofrunning: false. The ensure also runs when a UI is already up, which revives the backend for a surviving preview UI whose server idle-shut-down. When no UI can be reached the recovery hint now names the right command for the actual state:ok startwhen nothing is running (previously the hint saidok ui, which produces a backend-less UI shell in that state) andok uiwhen the server is alive but no UI is bound. Auto-start opt-out (OK_MCP_AUTOSTART=0) keeps today's soft not-running answer; spawn failures surface as tool errors with the spawn log attached.