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

zeroclaw-setup

v0.1.0

Published

Onboarding-first CLI for configuring ZeroClaw to use GonkaGate through audited v0.6.9 install and verify flows.

Downloads

126

Readme

zeroclaw-setup

Onboarding-first ZeroClaw utility for configuring GonkaGate as the primary custom provider.

The repository is still intentionally narrow: it owns only the GonkaGate provider contract, delegates persistence to ZeroClaw-native seams, and stays pinned to audited stable ZeroClaw v0.6.9.

Current status:

  • repository infrastructure is ready for active development and publishing
  • install now performs real Phase 2 mutation work on audited ZeroClaw v0.6.9
  • first-run setup uses a proven two-step native path: zeroclaw onboard --quick --provider custom:https://api.gonkagate.com/v1 --model <curated-model-id> followed by the hidden native zeroclaw props set api-key prompt
  • first-run mutation stays intentionally limited to that hidden native prompt path; stdin-fed secret transport remains blocked because it is not part of the shipped proof on audited v0.6.9
  • existing-config updates use a split native write seam: default-provider and default-model go through zeroclaw props set --no-interactive, while api-key stays on the hidden native zeroclaw props set api-key path
  • install refuses mutation when the runtime is active or ambiguous, when the config contains unknown top-level keys, or when the installed ZeroClaw runtime is outside audited v0.6.9
  • verify now performs the shipped Phase 3 read-only verdict flow on audited v0.6.9: exact-version gating, active config resolution, saved-config contract checks, runtime summary through zeroclaw status, and advisory zeroclaw doctor output
  • verify returns explicit pass, warn-shadowed, and fail results, with the exact warning saved config is correct but inactive when env overrides shadow an otherwise-correct saved GonkaGate contract

Quick Start

npm install
npm run ci
npm run dev -- --help

Development entrypoints:

  • npm run dev
  • npm run dev -- verify
  • npm run build
  • npm run lint
  • npm test
  • npm run ci

What Is Already Set Up

  • TypeScript ESM project structure with separate typecheck and build configs
  • ESLint + Prettier wired into local scripts and CI
  • packaged CLI binary at zeroclaw-setup
  • GitHub Actions for CI, release-please, and npm publish
  • release metadata files aligned with sibling *-setup repositories
  • mirrored .agents and .claude skill packs copied from opencode-setup
  • starter docs under docs/
  • node:test coverage for version gating, config resolution, first-run proof, native write sequencing, restore boundaries, model catalog, docs, and package metadata

Repository Layout

bin/                    packaged CLI entrypoint
docs/                   docs, security notes, implementation plan, specs mirror
scripts/                repository utility scripts
src/constants/          fixed provider and model registry data
src/install/            install and verify runtime seams
test/                   fast node:test coverage for install, verify, and repo contracts
.agents/skills/         mirrored local skill pack for agent workflows
.claude/skills/         mirrored local skill pack for Claude-compatible workflows

Product Contract Seeded In Code

The code hard-codes the GonkaGate contract from the PRD:

  • provider base URL: https://api.gonkagate.com/v1
  • provider key: custom:https://api.gonkagate.com/v1
  • managed config fields:
    • default_provider
    • api_key
    • default_model
  • shipped first-run path:
    • zeroclaw onboard --quick --provider custom:https://api.gonkagate.com/v1 --model <curated-model-id>
    • hidden native zeroclaw props set api-key
    • first-run mutation stays blocked when the API key would need stdin or another unproven transport
  • shipped existing-config path:
    • zeroclaw props set --no-interactive default-provider custom:https://api.gonkagate.com/v1
    • zeroclaw props set --no-interactive default-model <curated-model-id>
    • hidden native zeroclaw props set api-key
    • runtime-quiesced sequencing with non-secret restore after pre-secret and post-secret failures
    • explicit secret remediation because stable native read-back does not expose the prior api-key
    • saved-config confirmation uses api_key set/unset evidence only; literal secret read-back is not part of the wrapper contract
  • chosen v1 verify shadowing behavior:
    • explicit saved config is correct but inactive warning when env overrides mask the saved GonkaGate contract
  • shipped verify evidence split:
    • zeroclaw status informs the effective runtime verdict
    • zeroclaw doctor remains advisory troubleshooting context
  • initial curated v1 model catalog:
    • qwen3-235b -> qwen/qwen3-235b-a22b-instruct-2507-fp8
  • public install flag surface:
    • optional --model <curated-key>
  • env override checks:
    • ZEROCLAW_PROVIDER
    • ZEROCLAW_MODEL_PROVIDER
    • MODEL_PROVIDER
    • PROVIDER
    • ZEROCLAW_MODEL
    • MODEL
    • ZEROCLAW_API_KEY
    • API_KEY
  • stable-target compatibility gate:
    • audited stable ZeroClaw v0.6.9 only
    • unaudited v0.6.x builds and prerelease v0.7.0-beta.* / config-v2 targets stay blocked

CLI Status

The package exposes these public commands:

npx zeroclaw-setup
npx zeroclaw-setup verify

Current shipped behavior:

  • npx zeroclaw-setup performs real Phase 2 install mutation on exact audited v0.6.9 when read-only gating passes
  • install prompts for a curated model when --model is omitted, then defers hidden API-key entry until the chosen mutation path is known and the runtime quiesce gate has passed
  • first-run install is shipped only when ZeroClaw can collect the secret through its hidden native zeroclaw props set api-key prompt
  • install does not place the GonkaGate API key on argv in the shipped happy path
  • npx zeroclaw-setup verify now performs shipped read-only verification on exact audited v0.6.9, including final pass / warn-shadowed / fail verdicts
  • verify and saved-config confirmation use api_key set/unset evidence only; they do not claim literal saved secret read-back

Docs

Release Flow

The repository follows the same release automation pattern as neighboring GonkaGate CLI utilities:

  1. CI runs on push and pull request
  2. Release Please opens and updates release PRs from conventional commits
  3. tags dispatch Publish (npm) with OIDC-based provenance publishing

License

Apache-2.0