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

@nextclaw/collaboration

v0.1.4

Published

Local, durable collaboration between external conversations and agents.

Readme

@nextclaw/collaboration

The SDK does not impose a display name. Configure optional reply presentation with nextclaw-collaboration presentation CONNECTION --prefix '[My Agent]'; omit the prefix to render only the response body. --strip-prefix LABEL... removes only explicitly configured leading labels. Stop the host before changing presentation, then restart; bindings are preserved.

Connect GitHub Issues, Linear and other event sources to persistent local agent tasks. One local process and one SQLite database; no hosted control plane. NextClaw uses this same public package.

Requires Node.js 22.13+, a local Codex installation, and an authenticated platform CLI (gh or the schpet linear CLI). Existing CLI credentials stay with that CLI. Codex must support app-server, turn client IDs and paginated turn history.

npm install -g @nextclaw/collaboration
nextclaw-collaboration connect github --adapter github --repository OWNER/REPO --workspace /absolute/project
nextclaw-collaboration connect linear --adapter linear --team TEAM --workspace /absolute/project
nextclaw-collaboration check
nextclaw-collaboration start

Create the agent:mozhao label in the platform. Add it to a new issue to invite the agent. The default allowlist contains only the logged-in account; use --allow account1,account2 when connecting to authorize others. On GitHub these are logins; on Linear these are viewer/user UUIDs. --executable selects a platform CLI; --codex selects Codex. Existing issues can be invited explicitly with follow CONNECTION SUBJECT (GitHub issue number; Linear issue UUID).

The host checks every 30 seconds while this computer is awake and online. A status receipt shows the Codex task ID and when processing starts. Later messages continue that same task. The agent can handle irrelevant input quietly. Statuses are updated in place on GitHub/Linear; official discussions support a first receipt and explicit status replies.

GitHub issues and comments receive an eyes reaction after durable acceptance, before execution. This is a receipt, not a completion signal; status comments remain authoritative for agent identity and progress. Reaction failures are recorded locally without blocking work. Greetings and connectivity tests receive replies, and the host removes duplicate leading internal labels before adding its signed identity prefix.

Send a standalone /agent pause, /agent resume, /agent cancel or /agent status in the issue. Pause retains pending input and lets current work finish. Cancel requests interruption and pauses future work. Closing an issue pauses follow-up; reopening only clears a pause caused by closure. A user pause remains until resumed.

status and show CONTEXT inspect local state without invoking a model. stop preserves bindings and pending work; restart resumes them. run is the foreground entry for an existing OS service manager. start runs detached until shutdown; it does not install an OS startup service. Default state: ~/.nextclaw/collaboration. Protect that directory: it contains agent private keys and task input. Completed input/result payloads older than 30 days are compacted on host startup; small identity and deduplication records remain. Do not delete state while its host is running.

Agent identity and bounded execution

Platform accounts and agents are separate identities. Each agent signs its output with Ed25519; signatures bind the body, source, subject, operation, purpose and hop count. Share only {id, publicKey} and authorize the peer using trust CONNECTION PUBLIC_IDENTITY_FILE ACCOUNT. Add --controls only if that peer may pause/resume/cancel. Same-account trusted peers can converse; own output, status receipts, malformed signatures and untrusted agents cannot wake the agent. Default bounds: four agent hops, twelve runs per conversation per hour, two simultaneous local executions. Reaching a bound pauses the conversation visibly.

Recovery

An uncertain Codex acceptance is looked up by persisted request ID, never blindly submitted again. reconcile CONTEXT queries again. bind CONTEXT THREAD repairs an idle binding explicitly. retry-run RUN --confirm-safe requires inspection of prior side effects. Ambiguous platform delivery is located by a verified signed operation; resolve-output ID --confirm-not-delivered retries only after the operator confirms absence (--discard discards obsolete output). No source can guarantee exactly-once external side effects after arbitrary failures.

migrate-discussion --workspace /absolute/project imports a stopped legacy NextClaw listener's cursor and Codex bindings. It refuses active/uncertain legacy work, preserves the old state and retires its configuration. Migrated NextClaw listener start/status/stop/restart commands route to the shared host.

Add a platform or use another consumer

See the public protocol and adapter walkthrough. Applications import from @nextclaw/collaboration; no internal subpaths are required. Built-in sources expose SourceAdapter; CollaborationService owns identity, routing, durable execution and output. Consumer separates Codex from ordinary commands and other runtimes.

Only messages from explicitly authorized accounts and trusted adapters are executable inputs. Remote issue text cannot change local authorization. Choose a project workspace with the same care as a local agent task.