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

@mstar-harness/opencode

v3.6.2

Published

Morning Star harness OpenCode plugin — skills bootstrap + engine-backed runtime hooks (status lint, dispatch validation, Enforcement: hard gates).

Readme

@mstar-harness/opencode

Morning Star (启明星) harness plugin for OpenCode.

Install this package via OpenCode’s plugin array — it bundles mstar-* skills, role agents, and iteration commands so multi-role workflows (PM routing, SDD implement, QC tri-review, iteration lifecycle) work the same way as in the Cursor and Codex plugins.

Install

Add to opencode.json (global or project):

{
  "plugin": ["@mstar-harness/opencode@latest"]
}

Restart OpenCode.

Or use the installer CLI:

npx @mstar-harness/cli init --target opencode

What you get

| Path in package | Contents | |-----------------|----------| | harness-skills/ | mstar-harness-core, mstar-iteration, mstar-sdd, roles, phase/dispatch gates, … | | harness-agents/ | Role shells (project-manager, fullstack-dev, qc-specialist, …) | | harness-commands/ | /iteration-start, /iteration-drive, /iteration-loop |

The plugin resolves only paths inside this package — not process.cwd()/skills, so your app repo root does not affect harness loading.

Status write lint (hook coverage)

The plugin registers a non-blocking tool.execute.before lint for write/edit tools that target {HARNESS_DIR}/status.json: the about-to-be-written (or current on-disk) document is validated against the engine status.validateStatus schema and violations are logged as warnings. The hook never blocks and never modifies the write.

Hook coverage follows the engine resolveHarnessDir resolution — a repo .mstarc [config] harness_dir (gitignored local config), else the probe order (.mstar/.agents/.plans//plans/ walking up from the target file). Repos whose harness root is not one of those names are not auto-discovered: set MSTAR_HARNESS_DIR in the OpenCode server environment (absolute path to the harness root) or declare it in .mstarc to enable the lint for such repos.

Dispatch presence lint (hook coverage)

The plugin registers a non-blocking tool.execute.before lint for the task tool (subagent dispatch): the prompt is parsed for the three core Assignment header fields — Execute as: <role-id>, Delegation: allowed|forbidden, Task category: <category> — and each missing field is logged as a warning (assignment.presence.missing-*, high for Execute as, medium otherwise). The hook never blocks and never modifies the prompt; prompts that are not Assignment-shaped (no ## Assignment heading and none of the three fields) stay silent. Field presence only: value-level Assignment validation (Working-branch forms, N→seat mapping, tri identity) is a later-slice extension via dispatch.validateAssignmentFields.

Quick start

  1. Install the plugin (above).
  2. In OpenCode, start with the Project Manager agent (project-manager).
  3. For a full iteration: run /iteration-start (Phase 1 grill-me → auto-continues Phase 2→5; add pause to stop after Phase 1), or one-shot /iteration-loop (autonomous Phase 1→5). Use /iteration-drive to resume an interrupted iteration.

Entry skill: mstar-harness-core (loaded before other mstar-* skills).

Docs

Development (this monorepo)

From the repository root:

bun install
bun run opencode:bundle-assets   # syncs harness-skills/ + harness-agents/

Plugin entry: packages/opencode/src/mstar.tsdist/mstar.js.

License

MIT — see LICENSE.