Skip to content
This repository was archived by the owner on Aug 30, 2026. It is now read-only.

v0.2.0

Choose a tag to compare

@gabparrot gabparrot released this 25 Aug 17:15
· 5 commits to main since this release

opencode2-todo v0.2.0

Restores the todowrite tool for OpenCode V2 and keeps the model's view of the todo list current every round.

Highlights

  • Fresh per-round todo injection — a session.context hook re-reads the per-session todo store at prompt assembly and injects the current list as a system-context part. The model therefore re-reads the todos each round, including writes made between rounds without a new todowrite call.
  • Compaction-proof for the model — even if compaction drops old todowrite tool results from the model's view, the injected snapshot still shows the current todos. (The TUI sidebar still reads the transcript and can go empty after compaction.)
  • injectEveryRound flag (default true) — keep the todowrite tool but skip per-round injection by setting it to false.
  • Tests — 27 tests passing across 2 files; bun typecheck clean.

Install

npm install opencode2-todo (or reference the repo path for local dev), then add "opencode2-todo" to your plugins array.