Skip to content

v0.2.1 — Fix npm plugin loading

Latest

Choose a tag to compare

@andy-takker andy-takker released this 31 Oct 21:32
· 2 commits to main since this release
6acc224

npm loading fix

Version 0.2.1 fixes the npm installation failure in 0.2.0 (Cannot find package 'react'). The package now ships a precompiled Solid/OpenTUI entry instead of source TSX, because the host source transform excludes node_modules.

  • The sole export remains ./tui.
  • Solid, OpenTUI and the OpenCode plugin runtime remain external and host-owned.
  • No React dependency or runtime behavior change is introduced.
  • A real packed-package regression test exercises loading, rendering, navigation and cleanup beneath node_modules.

Install

Download and extract opencode-plugin-subagents-sidebar-0.2.1.tgz to a permanent directory, then add its absolute directory path to plugins in ~/.config/opencode/cli.json, preserving existing entries. No separate dependency installation is needed for the extracted archive. Use /reload if necessary.

Published on npm as latest. The pinned entry is:

{
  "plugins": ["opencode-plugin-subagents-sidebar@0.2.1"]
}

The npm archive is byte-identical to the attached checked archive. Loading by the exact npm name above was verified in OpenCode 2.2.5 on macOS arm64, including expansion of the nested task tree and completed statuses/durations. Do not install React as a workaround for 0.2.0.

Verification

  • 127 tests / 398 assertions, strict types, recommended lint, formatting and package checks.
  • Linux and macOS CI.
  • OpenCode 2.2.5 on macOS arm64 loaded the checked archive beneath node_modules, alongside Orca, with running/completed tasks, nested rows, keyboard navigation, reload and root switching.
  • Windows and a Linux host runtime remain unverified.

SHA256SUMS covers the attached archive. See the compatibility record and changelog.