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

vibeostheog

v0.19.7

Published

Cost-aware delegation enforcer for OpenCode. Tracks model usage, routes Task subagents to cheaper tiers, surfaces cumulative savings in chat. Includes research audit, reporting framework, project memory, progressive scratchpad decadence, and trinity CLI f

Readme

vibeOS for OpenCode

Alpha Release — This is the first alpha milestone of vibeOS. See CHANGELOG.md for release notes. vibeOS is the cost-aware routing layer for OpenCode Desktop. It keeps high-tier models focused on orchestration, pushes implementation work to cheaper tiers, and makes the savings visible in real time through the live footer and dashboard.

It also adds guardrails: delegation enforcement, flow and TDD controls, pattern learning, stress-aware routing, blackbox decision tracking, reporting, and remote API protection for the core algorithms.

Why Teams Use It

  • Routes work to the right model tier without manual babysitting
  • Tracks delegation savings and cache savings separately
  • Shows live status in chat, the footer, and the web dashboard
  • Adds runtime controls for flow, TDD, model locking, and blackbox mode
  • Falls back to local algorithms if the remote API is unavailable

Install

OpenCode plugin

  1. Register the plugin with the bundled setup command:
npx vibeostheog setup --project

Use npx vibeostheog setup for a global OpenCode install under ~/.config/opencode/.

  1. The setup command writes the package name into your OpenCode config. OpenCode installs npm plugins automatically at startup:
{
  "plugin": [
    "vibeostheog"
  ]
}
  1. If you keep a local checkout of the plugin, point OpenCode at the built file instead:
{
  "plugin": [
    "/absolute/path/to/theSaver-oc/src/index.js"
  ]
}

Restart OpenCode Desktop after changing the config.

The package also exposes vibeostheog/server and vibeostheog/tui for integrations that need the MCP server or sidebar plugin entrypoints directly.

Common Npm Commands

npm install
npm run build
npm run typecheck
npm test
npm run release:patch

npm run build compiles src/index.ts to src/index.js for the local checkout. npm run typecheck validates the TypeScript sources without emitting files.

Core Controls

trinity is an OpenCode plugin command. Run it from inside OpenCode, not from a normal terminal shell. Use trinity help for the full command list. The bundled TUI plugin also registers trinity and the common slot actions in OpenCode's command palette.

The most common controls are:

  • trinity status - show current tier, enforcement, savings, stress, and lock state
  • trinity set brain|medium|cheap - switch the active tier
  • trinity brain|medium|cheap - shorthand tier switch
  • trinity rebuild - re-detect available models and repopulate slots
  • trinity enable / trinity disable - toggle the plugin on or off
  • trinity mode budget|quality|speed|longrun|auto - change the optimization mode
  • trinity thinking full|brief|off - change reasoning depth
  • trinity enforce on|off - control delegation enforcement
  • trinity lock on|off - freeze the active model for the session
  • trinity flow on|off and trinity flow enforce on|off - manage flow checks
  • trinity tdd on|off, trinity tdd strict on|off, trinity tdd quality on|off - manage test skeleton behavior
  • trinity project - open project analytics
  • trinity patterns / trinity patterns clear - inspect or reset learned patterns
  • trinity diagnose - run a health check
  • trinity repair-state preview|apply - fix state fingerprint collisions
  • trinity blackbox on|off|status|reset - control the decision engine
  • trinity guard - refresh AGENTS.md and README.md checks
  • trinity api-token <token> - update the remote API token

Additional reporting commands:

  • report-save
  • report-list
  • report-read
  • research-audit

Savings And Footer

The footer shows:

  • the active model split
  • cumulative delegation savings
  • cache savings
  • stress level
  • lock and enforcement tags

Savings are persisted in ~/.claude/delegation-state.json.

Configuration

| Variable | Default | Purpose | |---|---|---| | VIBEOS_API_URL | https://api.vibetheog.com | Remote API server URL | | VIBEOS_API_TOKEN | unset | vos_ffa6c7dacb244a03 | | VIBEOS_API_ENABLED | true | Set to false for local-only mode | | CLAUDE_CREDIT_PERCENT | 100 | Credit override | | CLAUDE_CONTEXT7_AVAILABLE | unset | Enables context7 optimization | | CLAUDE_SCRATCHPAD_MAX_AGE_SEC | 86400 | Scratchpad cache lifetime | | VIBEOS_MCP_PORT | 3001 | MCP server port |

Without a token, vibeOS keeps running in local-only mode with bundled algorithms.

Troubleshooting

  • If the plugin does not appear, confirm the OpenCode config entry, then restart OpenCode Desktop.
  • If the model will not switch, run trinity rebuild and then trinity set brain|medium|cheap.
  • If writes or edits are blocked, that is usually delegation enforcement working as intended on the brain tier.
  • If the footer is missing, check that the plugin is enabled and that the current OpenCode session is receiving assistant completions.
  • If the remote API is down or the token is invalid, use trinity api-token <token> or rely on local-only mode.
  • If the dashboard does not load, rebuild the plugin with npm run build and restart OpenCode.
  • If state or config looks inconsistent, run trinity diagnose and trinity guard.

Notes

  • trinity help is the canonical command reference.
  • The README stays intentionally high level so the command details can follow the code without a rewrite.