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

orlithra-code

v0.2.7

Published

`orlithra-code` is a local autonomous coding agent. It talks to the authenticated `/coding` backend for model reasoning, then executes deterministic tools on your current workspace: indexing, file edits, patches, safe commands, verification, checkpoints,

Readme

Orlithra Code CLI

orlithra-code is a local autonomous coding agent. It talks to the authenticated /coding backend for model reasoning, then executes deterministic tools on your current workspace: indexing, file edits, patches, safe commands, verification, checkpoints, and undo.

Quick Start

npm install -g orlithra-code
orlithra-code login
orlithra-code
orlithra-code "review this repo and suggest the safest first patch"

Running orlithra-code with no task starts an interactive agent session. It can inspect files, search the workspace, create/edit/delete files under Safe Agent policy, run safe verification commands, persist state, and undo changes. Type follow-up instructions at the You: prompt, use /status, /review, /files, /undo, /apply, and /exit. Passing a task keeps one-shot behavior unless you add --interactive.

If no token is provided, the CLI starts a device login:

Open:
https://orlithra.com/device

Code:
ABCD-1234

Log in through the browser, approve the code, and return to the terminal. This works on Android, Termux, SSH, and headless terminals because it does not depend on a localhost callback. Desktop callback login is still available with --localhost-login for development.

The CLI stores only a short-lived Orlithra CLI session token in ~/.orlithra/code/session.json. Use orlithra-code logout to clear it.

On launch, the CLI checks Orlithra's public CLI manifest and installs the latest hosted CLI tarball when a newer version is available. Use --no-update or ORLITHRA_CODE_NO_UPDATE=1 to skip that check.

Use a local backend during development:

$env:ORLITHRA_API_BASE = "http://127.0.0.1:8080"
npm run orlithra:code -- --mode debug --include backend/src/app.js "why is streaming failing?"

Useful Flags

  • --mode plan|generate|debug|refactor|review
  • --auto safe|review|full to choose the autonomy policy
  • --dry-run to show planned mutations without changing files
  • --verify fast|deep to select verification depth
  • --cwd <path> to run against another repository
  • --device-login to force the Android/Termux-safe device flow
  • --localhost-login to use the legacy desktop callback flow
  • --include <path> to attach specific file contents
  • --max-rounds <n> to allow local tool request loops
  • --max-steps <n> and --max-failures <n> to bound autonomous loops
  • --interactive to keep a session open after the first answer
  • --watch to keep an incremental live watcher open during an interactive session
  • --once to exit after one response when launching without a task
  • --no-edits to disable file-writing tools
  • --yes to approve local tools automatically except shell commands
  • --allow-run to permit explicit run_command tool calls; shell commands still ask before running
  • --allow-network, --allow-installs, --allow-git-push, --allow-shell for per-session permission grants
  • --apply to apply the first generated unified diff after confirmation

Agent State

Each run persists state under .orlithra/code/<sessionId>/:

  • state.json
  • plan.json
  • manifest.json
  • failure-memory.json
  • tool-log.ndjson
  • trace.ndjson
  • journal.ndjson
  • checkpoints/

Safe Agent mode auto-runs reads, searches, workspace writes, mkdir, patch validation, and safe verification commands. It asks before destructive, install, network, privileged, git push, or shell-like commands.

For automation, use ORLITHRA_AUTH_TOKEN, ORLITHRA_ID_TOKEN, or --token.