Skip to content

v0.2.3

Choose a tag to compare

@alanzhao0128 alanzhao0128 released this 16 Sep 07:35
· 18 commits to main since this release

v0.2.3 — silent extraction failures fixed; catalog moved to the official source

Fixes

  • Implicit extraction no longer dies silently after a session-format migration. A released v0→v1→v2→v3 migration renumbers every session event, so a stored extraction checkpoint from the previous numbering sat beyond the log's end and the extraction window was always empty — no run, no log, no error. The plugin now detects the rebase and resumes from the recent window; already-affected sessions recover automatically on their next trigger.
  • A failed run keeps its bookmark. llm-error / parse-error / apply-error / no-route runs no longer advance the checkpoint past the window they failed to read, so the next trigger retries it instead of dropping the content.
  • System injections no longer count as conversation. The memory catalog and other injected user messages no longer count toward windowTurns or keep re-arming the idle timer; the trigger counter and the window selector now share one predicate.
  • An empty window clears the pending counter, so an oversized counter cannot re-schedule a full-log scan on every subsequent event.

Compatibility

  • The injected catalog now uses the official source vocabulary: { kind: 'plugin', plugin: 'dsh-memory-lite', form: 'catalog' } instead of the private memory-catalog kind. Released session-format migrations audit message sources against a closed, plugin-independent set, so the private kind made old sessions fail to load on dsh 0.1.5.
  • Sessions written before 0.2.3 keep working: the legacy kind is still recognized, so an existing catalog is never injected twice and no session data is rewritten.
  • The official catalog form carries no payload, so "the published catalog is still current" is now decided by comparing the published message text with the current rendering.
  • Requires dsh ≥ 0.1.5. No dependency changes.

Docs

  • README "How it works" and IMPLEMENTATION §5.1/§5.4 updated for the official source form.