Skip to content

v0.1.0

Choose a tag to compare

@adikpb adikpb released this 13 Oct 10:10
· 8 commits to main since this release
5ba6d22

Initial release of opencode-scratchpad — a per-project scratchpad TUI plugin for OpenCode.

Install

npm install opencode-scratchpad

Register it in your OpenCode config:

{ "plugins": ["opencode-scratchpad"] }

Features

  • One private scratchpad per project, stored outside your repo at $OPENCODE_DATA_DIR/scratchpad/<projectKey>.md.
  • /scratch <text> appends a line and shows a confirmation toast.
  • /scratch opens a modal editor (Enter adds a line, Esc saves and closes).
  • A session sidebar row shows a collapsible, read-only preview that refreshes when the editor saves.

Compatibility

Verified against OpenCode v2.0.27; pins @opencode/plugin@2.0.27. The V2 TUI plugin API is beta — pin your versions.

License

MIT