v0.35.4
Patch Changes
-
Added OpenClaw and Hermes as "Open with AI" terminal launch targets in OK Desktop, alongside the existing agent CLIs. OpenClaw opens its interactive TUI seeded with the composed prompt via
openclaw chat --message '<prompt>'. Hermes has no starting-prompt argument (its only prompt-carrying modes run once and exit), so OK launcheshermes chatand, once Hermes signals its input is ready, delivers the prompt as a bracketed-paste write — bracketed paste keeps a multi-line prompt intact and inert to the TUI's key handling, then submits it. The paste waits for Hermes' readiness signal (with a timeout fallback) rather than a fixed delay, so it lands cleanly on slow and fast boots alike. Both were already supported as MCP servers; this adds the one-click terminal handoff. -
Add "Import as template" to the File Tree context menu. Right-click a markdown file to copy it into the folder's
.ok/templates/, with the option to keep the original or convert it (delete the source). Backed by a newPOST /api/template/importendpoint that carries over the source frontmatter. -
Diagnostics bundles now capture more of what matters for content-loss triage. The full bundle stages the shadow repo's recovery-checkpoint refs (
state/checkpoint-refs.txt— ref name, date, and content-free subject per checkpoint) and a newstate/agent-effects.jsonsnapshot of the per-document agent activity ring buffers, served by a new loopback-onlyGET /api/metrics/agent-effectsendpoint that summarizes agent writes as character counts (never raw text). Doc names in the new artifacts are anonymized by the existing--redactpass, which now also hashes the agent-presence bundle'scurrentDocpath so a redactedstate/agent-presence.jsonno longer leaks the document a person was editing. The web client's log forwarder also stops losing entries silently: drops from buffer overflow or failed uploads are counted and recorded as an explicitdroppedSinceLastFlushgap marker in the server log on the next delivered batch, and a failed recovery-checkpoint write now also emits a structured server-log line with doc and branch context.