Skip to content

Releases: aihaipeng/opencode-skills-tui

v1.2.3

Choose a tag to compare

@aihaipeng aihaipeng released this 22 Oct 19:40

Fixed

  • Skill preview broken on OpenCode 2.1 (#3): OpenCode 2.1 bundles @opentui/core 0.6, where SyntaxStyle.fromStyles() requires an explicit resource owner. The preview threw while mounting, leaving the dialog half-rendered with no working backdrop — Esc, Ctrl+C and clicking outside could not close it. The owning renderer scene is now passed explicitly, and the preview registers its own modal escape binding so dismissal no longer depends on the host's default dialog layer.

Upgrade note

After updating, fully quit every opencode process before restarting — the host does not refresh an already-cached plugin install, so an old process keeps serving the old copy:

opencode plugin update opencode-skills-tui

v0.4.4

Choose a tag to compare

@aihaipeng aihaipeng released this 15 Sep 18:38
  • refactor: dedupe server/state scan paths via a shared merge loop
  • refactor: drop redundant message/session event subscriptions (part-level events + render-time scan already cover them)
  • fix: remove dead in-memory counts mirror (stats dialog already reads from disk)
  • docs: README rework (EN/zh-CN)

v0.4.3

Choose a tag to compare

@aihaipeng aihaipeng released this 15 Sep 15:30
  • Fix: usage stats now live in a dedicated state file (~/.local/state/opencode/opencode-skills-tui-usage.json) written read-merge-write on every count, so totals are shared and visible across concurrent OpenCode windows instead of being clobbered by the shared kv snapshot
  • /skills-stats reads straight from disk, showing other windows counts immediately
  • Note for 0.4.x users: counts start fresh once (the old kv keys are no longer read)

v0.4.2

Choose a tag to compare

@aihaipeng aihaipeng released this 15 Sep 15:11
  • Cleanup pass, no behavior changes: dropped the sourcemap from the package (-54 kB), merged the two usage kv keys into one (opencode-skills-tui.usage)
  • Note for 0.4.0/0.4.1 users: existing usage counts start fresh once (the old kv keys are no longer read)

v0.4.1

Choose a tag to compare

@aihaipeng aihaipeng released this 15 Sep 14:55
  • Fix: deleting a session no longer touches usage bookkeeping; counts are global and permanent (session deletion never changes them)
  • README: trimmed usage-stats notes to the essentials (both languages)

v0.4.0

Choose a tag to compare

@aihaipeng aihaipeng released this 15 Sep 14:44
  • New: all-time usage counts per skill, persisted across restarts (stored in OpenCode TUI state)
  • New: /skills-stats command opens a window with every skill total usage; deleted skills show as "(deleted)"
  • Counts are deduped per message part (streaming updates and post-restart history backfills do not double-count) and ignore calls to skills that no longer exist
  • README polish (both languages)

v0.3.2

Choose a tag to compare

@aihaipeng aihaipeng released this 05 Sep 18:57
  • Correct the install docs: OpenCode installs npm plugins with its embedded Bun runtime — no separate Bun install is required
  • Loading-screen hang troubleshooting now points to opencode --print-logs and clearing ~/.cache/opencode/ (typical cause: embedded runtime stuck resolving packages behind proxies/slow networks)

v0.3.1

Choose a tag to compare

@aihaipeng aihaipeng released this 05 Sep 18:47
  • Install docs: add copy-paste "let your agent do it" prompt and step-by-step For LLM Agents instructions
  • Document Bun as a prerequisite for OpenCode's npm auto-install
  • Troubleshooting: TUI hanging on the loading screen when Bun is missing (silent install failure)