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

@kynver-app/runtime

v0.1.139

Published

Kynver AgentOS local execution runtime and CLI

Readme

@kynver-app/runtime

Standalone Kynver AgentOS execution runtime and CLI (kynver).

Quick start

npm run kynver:build
npm run kynver -- setup --api-base-url http://localhost:3000 --agent-os-id <id> [--repo /path/to/repo] --max-workers 13
npm run kynver -- login --api-key "$KYNVER_API_KEY"
npm run kynver -- runner credential --agent-os-id <id>
npm run kynver -- config ensure-default-repo   # persist defaultRepo in ~/.kynver/config.json
npm run kynver -- run create [--repo /path/to/repo] --name my-run
npm run kynver -- daemon --run <runId> --agent-os-id <id> --execute

Callback auth (scoped runner tokens)

User-hosted runners should not use deployment-wide OPENCLAW_CRON_SECRET / KYNVER_RUNTIME_SECRET. After kynver login, mint a workspace-bound token:

kynver runner credential --agent-os-id <id>

The token (krc1.*) is stored in ~/.kynver/credentials as runnerToken and sent as X-Kynver-Runner-Token on dispatch/sweep/completion/progress callbacks. It is bound to one agentOsId and a capability set (tasks, harness, plans.progress, runtime.read, operator). The server persists only a token hash plus audit metadata, so credentials can be listed, revoked, and rotated without exposing the clear token again.

Global env secrets remain supported for first-party dogfood, QStash, and OpenClaw cron — server-side verifyHarnessCallback accepts QStash signatures, scoped tokens, or global secrets (in that precedence for non-QStash callers).

CLI verbs

run create | list | status | dispatch | sweep
worker start | status | tail | stop | complete
login | runner credential | setup | config ensure-default-repo | doctor runtime-takeover | daemon

scripts/opus-harness.mjs is a compatibility shim that delegates to this package.

Worker providers

Set once in kynver setup --provider claude|cursor (stored in ~/.kynver/config.json as workerProvider).

| Provider | CLI | Auth | | --- | --- | --- | | cursor (default) | agent on PATH (Cursor Agent CLI) | agent login (OAuth) or CURSOR_API_KEY for headless runners. | | codex (BYO OAuth / Hermes subscription, low-cost orchestration) | codex on PATH (Codex CLI) or hermes with openai-codex | codex login / CODEX_API_KEY, or hermes auth status openai-codex (ChatGPT Codex subscription). When the standalone codex CLI is absent, harness workers spawn hermes chat -q … --provider openai-codex -Q (non-interactive). Kynver never stores raw OAuth tokens — fingerprint audit only. Low-risk orchestration routes here when bound; privileged actions escalate to Cursor. | | claude (operator override) | claude on PATH | claude login (OAuth). Use --provider claude on dispatch/worker start, or set executorRef: provider:claude / [worker-provider: claude] on the board task. Legacy workerProvider: "claude" in config is normalized to Cursor at dispatch. |

Override per invocation: kynver worker start ... --provider claude (requires operator intent; default dispatches stay on Cursor)

Install Cursor CLI (Windows PowerShell): irm 'https://cursor.com/install?win32=true' | iex

Default Cursor model: composer-2.5. Override with --model on dispatch/worker start.

Targeted dispatch (after creating a board task)

Broad lane:any dispatch still sweeps the ready queue (review lane first, then priority/age). To start one specific task you just created — without admitting an older ready row — pass the task id:

kynver run dispatch --run <runId> --agent-os-id <id> --execute \
  --target-task-id <taskId> --max-starts 1

The server dispatch-next body field is targetTaskId (same semantics). When set, no candidate pages are scanned; the response includes targetTaskMiss: true if the row is missing or belongs to another workspace.

PR-ready handoff

ensurePrReadyHandoff resolves owner/repo from git remote get-url origin via URL parsing (repo names with dots, e.g. Totalsolutionsync/Kynver, are no longer truncated).

Tests

npm run kynver:test