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

@o3c/o3c-code-cli

v0.1.8

Published

Ori3com AI coding CLI — local-first cognitive memory, repo code-graph context, and a free/local model cascade

Readme

o3c-code-cli

Ori3com AI coding CLI — a terminal coding agent with inter-session memory, a repo-aware code graph, and a free/local model cascade for disconnected use.

npm install -g @o3c/o3c-code-cli
o3c                    # first run: pick a free model, sign in, or paste a key
o3c "fix auth.ts"      # run the coding agent

Install

npm install -g @o3c/o3c-code-cli

Requires Node.js ≥ 20.

Setup

The first time you run o3c without a session, it shows a chooser — you are not forced to sign in:

  • Use a free coding model now — no account (the offline picker)
  • Sign in with your Ori3com account — the same login as platform/chat.ori3com.cloud
  • Paste an API key — an evergreen key for api.ori3com.cloud (offered to be remembered in ~/.o3c/.env)
o3c login     # sign in directly — opens a browser (loopback PKCE)
o3c whoami    # show current user, plan tier + token expiry
o3c logout    # clear the local session

The session is stored under ~/.o3c/.

Offline / free models (no login)

o3c can run against a free or local OpenAI-compatible model when you're offline or just want a zero-cost cascade. Pick one interactively, then use it:

o3c offline                        # choose a free/local model (no key for some providers)
o3c --offline "explain this repo"  # run against the configured model, no login/worker

With a model configured, o3c auto-engages offline when no auth is present, and escalates to the hosted endpoint otherwise.

Usage

o3c "refactor the parser in src/lexer.ts"     # run the agent
o3c -p "list the exported symbols in api.ts"  # non-interactive (print) mode
o3c --offline "rename foo to bar everywhere"  # use the free/local model

Options: -m/--model, -p/--print, --offline, --no-spawn, --permission-mode <mode>, --max-turns <n>.

What's under the hood

  • Cognitive memory — the agent remembers across sessions. Prior work is distilled into a local brain (~/.o3c/brain/) and recalled into new sessions. Opt-in cloud sync (O3C_BRAIN_SYNC=1, via rclone) lets the brain oscillate between devices.
  • Code-graph context — a dependency/symbol graph of the current repo seeds the session with the most relevant files, and the CodeGraph tool answers structural queries on demand.
  • Model cascade — cheapest-capable-first routing, with a free/local rung (o3c offline) that escalates to the hosted endpoint when needed.

Development

npm install
npm run check     # typecheck + build + tests (the full DoD gate)
npm test          # tests only (vitest)
npm run dev -- whoami

License

MIT