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-amplifier

v0.5.0

Published

OpenCode plugin for the native Amplifier runtime: thin client, fail-closed bootstrap, and authoritative Amplifier-mode execution

Downloads

644

Readme

opencode-amplifier

OpenCode plugin that connects to a native local Amplifier runtime. Provides Amplifier-mode execution, bundle/profile management, mode switching, provider control, and fail-closed diagnostics from within any OpenCode session.

What it does

| Layer | Responsibility | |-------|---------------| | opencode-amplifier (this plugin) | Bootstrap/connect runtime, translate OpenCode UX into runtime calls, render status and diagnostics | | Native Amplifier runtime | Resolve bundles/profiles, create sessions, execute prompts, manage tools/hooks/approvals/orchestration |

Quick start

1. Clone and install

git clone https://github.com/anthropics/opencode-amplifier.git
cd opencode-amplifier
bun install

2. Run tests

bun test          # 80 tests, should all pass with clean output
bun run typecheck  # should exit silently (no errors)

3. Use with OpenCode

Add the plugin to your opencode.json or opencode.jsonc:

{
  "plugin": ["file:///absolute/path/to/opencode-amplifier"]
}

Then start OpenCode normally. The plugin registers 19 tools and 4 hooks automatically.

4. (Optional) Full Amplifier integration

For bundle resolution and context loading, install the Amplifier Python runtime:

uv tool install amplifier

Without it the plugin still works — it falls back to built-in defaults.

Available tools

| Tool | Description | |------|-------------| | amplifier_status | Session state, runtime connection, active bundle/mode/provider | | amplifier_capability | Get, set, or list coordinator capabilities | | amplifier_emit | Emit a kernel hook event | | amplifier_bundle_resolve | Resolve a bundle and show its mount plan | | amplifier_bundle_list | List available bundles | | amplifier_bundle_show | Show bundle details | | amplifier_bundle_use | Switch active bundle | | amplifier_bundle_current | Show currently active bundle | | amplifier_agents_list | List available agents | | amplifier_agents_show | Show agent details | | amplifier_provider_list | List configured providers | | amplifier_provider_use | Switch active provider | | amplifier_modes_list | List available modes | | amplifier_mode | Activate or deactivate a mode | | amplifier_settings_get | Show current settings | | amplifier_settings_set | Update a setting | | amplifier_init | Initialize Amplifier in the current project | | amplifier_doctor | Diagnose configuration and runtime issues | | amplifier_cli | Escape hatch: run any CLI command (diagnostics only) |

Architecture

OpenCode UI surfaces
  -> opencode-amplifier plugin  (src/plugin/index.ts)
    -> runtime client            (src/runtime/client.ts)
      -> transport               (src/runtime/transport.ts)
        -> native Amplifier runtime
    -> bundle resolution         (src/bundle/)
    -> mode discovery            (src/modes/)
    -> provider mapping          (src/providers/)
    -> hooks                     (src/plugin/hooks.ts)
    -> tools                     (src/tools/)
    -> [transitional] kernel     (src/kernel/session.ts)

Development

bun install        # install dependencies
bun test           # 80 tests, all should pass with clean output
bun run typecheck  # should exit silently (no errors)

Requirements

  • Bun (for development and testing)
  • OpenCode (any version with plugin support)
  • Optional: Amplifier Python runtime (uv tool install amplifier) for full bundle resolution and context loading

License

MIT