npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

opencode-roast-tone-plugin

v0.1.9

Published

Roast-tone server plugin for OpenCode

Downloads

962

Readme

opencode-roast-tone-plugin

Roast-tone server plugin for OpenCode. It injects a roast-comic tone instruction into the first user message so the assistant stays sharp, fast, and a little judgmental — like good tooling with worse bedside manner.

Compatible with OpenCode >=1.4.6 <2.

Install in current project

opencode plugin opencode-roast-tone-plugin@latest

Global install

opencode plugin opencode-roast-tone-plugin@latest --global

Config alternative

If you would rather configure plugins directly, use:

{ "plugin": ["opencode-roast-tone-plugin@latest"] }

TUI controls in OpenCode

This plugin now has two TUI control surfaces:

  1. Built-in Plugins dialog: controls whether the whole opencode-roast-tone-plugin package is enabled.
  2. Roast Tone settings command: controls whether tone injection is enabled and which preset gets injected.

Open the command palette and run Roast Tone settings to manage both values.

Tone presets

  • Roast: the existing sharp roast-comic baseline
  • Dry: shorter, clipped, and unimpressed
  • Deadpan: flat delivery with colder punchlines
  • Mentor: stricter guidance with lighter roast

State combinations

  • Plugin enabled + Tone enabled: the selected preset is injected into future user messages.
  • Plugin enabled + Tone disabled: the plugin stays installed, but any known injected preset is removed from the active thread on the next transform.
  • Plugin disabled: the plugin is off from the Plugins dialog, so no roast-tone injection runs at all.

Persistence

The state is persisted across restarts.

It uses the existing config-root resolution order:

  1. OPENCODE_CONFIG_DIR
  2. the nearest workspace .opencode directory inside the current worktree
  3. XDG_CONFIG_HOME/opencode
  4. ~/.config/opencode

That means the plugin-level enabled state, the tone toggle, and the active preset all continue to follow the same config-root behavior OpenCode already uses.

Local development

From the repository root, build first, then install the local plugin with a path spec:

npm run build
opencode plugin "$(pwd)" --force

After changing code, run npm run build again and then reinstall or refresh the local plugin so OpenCode picks up the updated dist/ output. Amazing how compiled files do not, in fact, materialize out of pure optimism.

Development

npm install
npm test
npm run build

Publish

Use GitHub Actions release workflow only (OIDC trusted publishing).

  1. In npm package settings, add this repository workflow as a trusted publisher.
  2. Open Actions → Release → Run workflow.
  3. Select bump type (patch or major) and run on the default branch.

The workflow will automatically:

  • run npm test
  • run npm run build
  • bump version in package.json + package-lock.json
  • create and push the release commit and v* tag
  • publish to npm with npm publish --provenance --access public