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

v0.1.10

Published

Akane orchestration plugin for OpenCode

Readme

Akane Agents

Akane is a global OpenCode orchestration plugin draft.

Current direction:

  • Keep OpenCode provider and auth infrastructure
  • Keep oh-my-opencode installed but neutralized
  • Drive a deterministic workflow across planning, review, implementation, and synthesis

See docs/session-context-20260306.md for the current working context.

MVP scaffold

This repository now contains the first MVP skeleton for the plugin:

  • src/plugin.ts: OpenCode plugin entry
  • src/config.ts: ~/.config/opencode/akane.json loader with defaults
  • src/artifacts.ts: .opencode/akane/ artifact and state.json helpers
  • src/tools/akane-init.ts: initializes the per-project workspace
  • src/tools/akane-stage-artifact.ts: writes stage artifacts deterministically
  • src/workflow.ts: child-session orchestration, stage prompts, and artifact handoff
  • src/tools/akane-plan.ts: planner stage
  • src/tools/akane-plan-review.ts: plan review stage
  • src/tools/akane-implement.ts: implementation stage
  • src/tools/akane-review.ts: review stage
  • src/tools/akane-synthesize.ts: final synthesis stage
  • src/tools/akane-run.ts: end-to-end MVP workflow runner
  • examples/akane.example.json: example global Akane config

Local development

bun install
bun run typecheck
bun run build

The build emits dist/index.js as the package entrypoint and also keeps dist/akane.js for local file-based linking.

Available tools

Once the plugin is loaded in OpenCode, the current MVP exposes these tools:

  • akane_init
  • akane_stage_artifact
  • akane_plan
  • akane_plan_review
  • akane_implement
  • akane_review
  • akane_synthesize
  • akane_run

Notes:

  • akane_init is optional because the stage tools lazily create .opencode/akane/ on first use
  • akane_run is the main MVP entrypoint when you want to test the full workflow

Repo-local commands and skill

This repository now includes project-local OpenCode command files in .opencode/commands/ and a project-local skill at .opencode/skills/akane-workflow/SKILL.md.

That gives you slash-command style entrypoints such as:

  • /akane-init
  • /akane-plan
  • /akane-plan-review
  • /akane-implement
  • /akane-review
  • /akane-synthesize
  • /akane-run

The commands are thin wrappers that tell OpenCode to load the akane-workflow skill and then invoke the matching akane_* tool while reusing existing artifacts in .opencode/akane/. When the Akane plugin loads, it now bootstraps these managed command and skill files into the global OpenCode paths under ~/.config/opencode/commands/ and ~/.config/opencode/skills/akane-workflow/. Existing files are only updated automatically when they are recognized as Akane-managed copies.

Package install

For package-based installation, publish this repository to npm and add it to the OpenCode plugin array in ~/.config/opencode/opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "plugin": [
    "oh-my-opencode@latest",
    "opencode-akane@latest"
  ]
}

Akane still reads its runtime config from ~/.config/opencode/akane.json. If that file does not exist yet, the plugin now bootstraps it automatically on first load with the default config. You only need to edit it when you want to override the default role or artifact settings. By default, Akane stays model-first and does not depend on oh-my-opencode. workflow.agentMode is the explicit routing switch:

  • models: Akane routes by model only
  • native: Akane uses OpenCode native/custom agents like plan, build, and general
  • omo: Akane prefers OMO agent names like prometheus, atlas, and momus

workflow.preferAgents is still supported for backward compatibility, but workflow.agentMode should be preferred for new configs. workflow.stageTimeoutMinutes controls the per-stage timeout budget and defaults to hour-scale values.

akane.json supports both model routing and agent routing:

{
  "workflow": {
    "agentMode": "omo",
    "stageTimeoutMinutes": {
      "plan": 180,
      "plan-review": 180,
      "implementation-context": 360,
      "review-codex": 180,
      "review-claude": 180,
      "final-synthesis": 180
    }
  },
  "roleAgents": {
    "planner": "prometheus",
    "plan_reviewer": "hephaestus",
    "implementer": "atlas",
    "reviewer_codex": "momus",
    "reviewer_claude": "oracle",
    "synthesizer": "sisyphus"
  }
}

For native OpenCode agents, the config is typically closer to:

{
  "workflow": {
    "agentMode": "native",
    "stageTimeoutMinutes": {
      "plan": 180,
      "plan-review": 180,
      "implementation-context": 360,
      "review-codex": 180,
      "review-claude": 180,
      "final-synthesis": 180
    }
  },
  "roleAgents": {
    "planner": "plan",
    "plan_reviewer": "general",
    "implementer": "build",
    "reviewer_codex": "general",
    "reviewer_claude": "akane-review-claude",
    "synthesizer": "general"
  }
}

Publish flow

The package is prepared to publish from npm with:

bun install
bun run typecheck
bun run build
npm publish

Useful checks before publishing:

bun run pack:check

Notes:

  • The current package name assumption is opencode-akane
  • The current license is MIT
  • If you later switch to a scoped package name, publish with npm publish --access public

Automated publishing

This repository includes GitHub Actions workflows for CI and npm publishing:

  • .github/workflows/ci.yml: runs install, typecheck, build, and npm pack --dry-run
  • .github/workflows/publish.yml: publishes to npm when a tag like v0.1.0 is pushed

Recommended setup for public release:

  1. Make the GitHub repository public
  2. Publish opencode-akane once manually from your npm account, or reserve the package name
  3. In npm package settings, add a Trusted Publisher for:
    • GitHub owner: NaturaAurum
    • Repository: akane-agents
    • Workflow filename: publish.yml
  4. Push a version tag that matches package.json, for example:
git tag v0.1.0
git push origin main --tags

The publish workflow intentionally uses npm trusted publishing with GitHub OIDC instead of an NPM_TOKEN.