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

kura-agent-cli

v0.2.4

Published

Kura command-line interface — local Claude Code editing for Kura-managed sites + agent-import submission.

Readme

kura-agent-cli

Command-line interface for Kura. Two surfaces:

  1. kura agent ... — submit AI-built sites to Kura's agent-import endpoints (customer-facing).
  2. kura pull / push / status / abort / extend / serve — local Claude Code editing for Kura-managed sites (admin-only).

Install

npm install -g kura-agent-cli

Auth

Mint an API key:

Then either:

export KURA_API_KEY=kura_<your-48-hex-key>

Or create ~/.kurarc:

{ "api_key": "kura_<your-48-hex-key>" }

Agent-import usage (customer-facing)

From the root of your agent-built site directory (the one containing kura.config.json):

kura agent validate .                        # dry-run — no side effects
kura agent submit .                          # first build, AND every update to a live site
kura agent approve . <approvalId> --yes      # after the owner said yes in chat
kura agent approve . <approvalId> --code C   # an approval that needs the owner's emailed code
kura agent withdraw . <approvalId>           # the owner said no
kura agent status <projectId>                # check build progress

The CLI walks the directory, skips node_modules / dist / .env*, and classifies each file as utf-8 text or base64 binary by extension.

  • A folder bound to a Kura project (.kura/scaffold.json from kura launch, or .kura/project.json) ships through that project's build surface, /api/agent/me/build/* (ADR 0290). The server backs a draft or redeploys the live site, and a live rebuild parks until the owner says yes. The CLI uses its own key for the project: minted once from your account key via POST /api/agent/mint-project-key and stored only in ~/.kura/project-keys.json (override the path with KURA_PROJECT_KEYS_PATH). Never put a Kura key in the site folder or a .env file.
  • A folder with no project POSTs to /api/agent/projects, which creates one.

Every ship/approve command ends with one RESULT: … line (DEPLOYED, PARKED, VALIDATION FAILED, SUBMIT FAILED, BUILD FAILED, STILL BUILDING, APPROVED, WITHDRAWN, CODE SENT, NEEDS OWNER YES, APPROVAL FAILED). Approvals happen in chat with the owner, never in the Kura dashboard.

A submitted or approved build is followed by its own build id (GET /api/agent/me/build/state?buildId=…, agent contract 1.47, ADR 0305), never by "the newest deploy": BUILD FAILED names the reason the deploy recorded (a field-stamp gate refusal such as marker_gate_coverage, a crash as deploy_crashed), and another deploy's outcome (an owner publish) is never reported as this build's. Against a server older than 1.47 the CLI says STILL BUILDING rather than guess.

See the agent integration guide for the full kura.config.json schema and per-framework rules.

Admin usage

For Kura admins managing existing customer projects:

kura pull <project-id|slug>     # fetch pages locally + claim lock
kura status                     # show local changes
kura push [--yes]               # save + publish + release lock
kura abort                      # release lock without writing
kura extend                     # extend lock by 2h
kura serve [--port=4001]        # localhost preview

Requires an admin-full scope key.

Configuration

KURA_API_KEY      — your bearer token (required, kura_<48 hex>)
KURA_BASE_URL     — orchestrator URL (defaults to prod)

Source

This package lives in github.com/benbybee/kura-orchestrator/tree/main/cli. PRs welcome.