Skip to content

v0.7.1 — on npm

Latest

Choose a tag to compare

@thejohnd0e thejohnd0e released this 07 Nov 01:29
· 3 commits to master since this release

opencode-discuss is now on npm: https://www.npmjs.com/package/opencode-discuss. No code changes to the discussion itself; this release is about installing it.

Install from npm

Add the package name to plugins in ~/.config/opencode/opencode.json(c):

{ "package": "opencode-discuss", "options": { "python": "python3" } }

Then install the two agent files and reload:

npx opencode-discuss              # add --dry-run to only see what it would do

Python 3.12 is still a separate requirement. Building from source works as before.

What changed

  • Light install. @opencode/*, @opentui/* and solid-js come from OpenCode itself, so they are now optional peer dependencies. Installing the package pulls one package (before this change: 424).
  • Small package. 11 files, about 65 kB: the built plugin, the Python runner, the agent files, README and LICENSE. No tests or internal docs.
  • npx opencode-discuss installs the agents (--dry-run, --target DIR, --help).
  • The README images use absolute URLs, so they show on the npm page.
  • prepublishOnly builds, typechecks and runs the unit and Python tests before every publish.

Verified

  • The published package installed from the registry into an empty folder: one package, the agent installer runs.
  • An isolated OpenCode with plugins: ["opencode-discuss"] loaded it from the registry: server and TUI reached ready, no host failures.
  • 222 unit tests and 43 Python bridge tests pass; CI is green.

Full changes: v0.7.0...v0.7.1