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

@brainervirus/workit-opencode

v0.8.9

Published

Workit OpenCode plugin (thin wrapper over @brainervirus/workit-core)

Readme

@brainervirus/workit-opencode

OpenCode plugin for workit — workflow rails for agentic coding (specs, plans, YouTrack, CI-gated commits), with host-native approval, delegation, handoff, and diagnostics.

Install

// opencode.json / opencode.jsonc
{
  "$schema": "https://opencode.ai/config.json",
  "plugin": ["@brainervirus/workit-opencode"]
}

Local dev variant (absolute path to this repo):

{
  "$schema": "https://opencode.ai/config.json",
  "plugin": ["file:///path/to/workit/packages/workit-opencode/src/plugin.ts"]
}

Requirements: OpenCode ≥ 1.15.0, Node ≥ 22 (the published plugin is a self-contained Node bundle).

What it provides

  • 12 wk-* commands/skills (wk-init, wk-status, wk-verify, wk-commit, wk-pr, wk-changelog, wk-release-notes, wk-docs-refresh, wk-handoff, wk-implement, wk-meetings, wk-issue-update).
  • Native plugin tools (workflow_*) — branch setup, PR create/context, docs validate/promote, YouTrack post/log/time, templates, rules, presentation, doctor, and handoff.
  • Per-turn enforcement rails — contract reminder, doc rendering, self-review gates, config guard, issue rails, and post-hoc detectors.

Host-native behavior

  • Approvals — flow gates (workflow_spec_approve / workflow_plan_approve / workflow_plan_menu) record native question receipts; the self-review validation runs automatically during the transition. Approvals bind to the document's exact SHA-256 digest: editing an approved spec/plan invalidates the approval and forces a fresh reapproval.
  • Lifecycleworkflow_plan_pause / workflow_plan_resume / workflow_plan_complete move a plan through pending/active/paused/completed, each gated by a one-use native-question receipt; completion requires a complete SDD ledger and passing repository verification.
  • Delegation — approved plans execute through subagent-driven task delegation (native task); while a subagent-driven plan is active, coordinator product edits are intercepted. Receipts are purpose-bound: each gate consumes the newest fresh receipt for exactly its purpose, so unrelated questions never authorize or mask a gate. Delegated authority is direct-child-only — authorized workers receive compact worker-only context, while mismatched session lineage is denied (delegation_lineage_denied).
  • Commitwk-commit previews a Conventional Commit and confirms through a native question.
  • Handoffwk-handoff seeds and spawns a native OpenCode continuation session; a destination session presents a four-choice menu (never the originating Handoff option) and carries the handoff-destination marker.
  • Diagnostics — durable JSONL journal plus native client.app.log(); nothing is mirrored to process.stderr or the agent conversation.

Bundle / runtime model

The build bundles the @opencode-ai/plugin SDK surface used by the adapter into dist/plugin.js, so the published plugin has no runtime @opencode-ai/plugin dependency (it stays a development/build-only pinned dependency). The plugin loads through its real package entry dist/plugin.js; commands, skills, vendor skills, and templates ship package-locally under assets/.

Package scripts

bun run build       # bundle dist/plugin.js + assets
bun run typecheck   # tsc --noEmit

Docs

Full usage: https://github.com/BrainerVirus/workit#readme