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

@cyrnixlab/cyrboard-local-agent

v0.3.1

Published

Local runner connector for Cyrnix/Cyrboard Tracker Local Agent / MCP jobs.

Readme

Cyrnix Lab Local Agent

Local runner connector for Cyrnix/Cyrboard Tracker Local Agent / MCP jobs.

The connector runs on a developer machine, inside a project repository. It never opens inbound ports. It registers with Tracker once, polls jobs over HTTPS, runs the selected local AI tool, and reports status back to Tracker.

Install

npx --yes @cyrnixlab/cyrboard-local-agent@latest --help

Connect a repository

Copy the one-time command from the Tracker project AI settings and run it from the repository root:

npx --yes @cyrnixlab/cyrboard-local-agent@latest connect \
  --server https://tracker.example.com \
  --project-id 1 \
  --token cyr_mcp_xxx \
  --repo . \
  --agent codex \
  --model gpt-5.2-codex \
  --reasoning xhigh \
  --start \
  --interval 10

The setup token is short-lived and is not stored. After registration the local config stores only the runner token in .cyrboard/local-agent.json with 0600 permissions.

With --start, the command stays in the foreground and keeps polling Tracker for queued local_mcp jobs. Keep the terminal open while this runner should process jobs.

For branch-based jobs, the runner works in an isolated clone under .cyrboard/worktrees/. Codex/Claude edits files and runs checks there; after the CLI exits, the runner stages, validates, commits, and pushes the configured job branch. For epic review jobs, the runner also creates the missing epic branch when needed and pre-merges child branches listed in the job prompt.

For Codex, the default sandbox remains workspace-write. The runner also passes Codex workspace network access so the CLI can call Tracker MCP during the job.

Codex runners also accept user input attachments from Tracker: PNG/JPEG images, PDF, DOCX, XLSX and CSV. The runner downloads every file before starting Codex, verifies its declared size and SHA-256, and stores it outside the execution worktree with private permissions. Images are passed with codex exec --image; the verified attachment directory is added with --add-dir for documents. The files are checked again after every agent run and removed in finally.

Attachment capability is intentionally not advertised in claude mode yet. Tracker therefore leaves attachment jobs queued for a compatible Codex runner.

Automatic updates

The foreground start command runs a small supervisor and a job worker. Every idle claim sends the installed package version to Tracker. Tracker returns its current latestVersion; when a newer stable release is required it does not assign a job, and the supervisor installs that exact npm package version under .cyrboard/runtime/ before restarting the worker.

Updates never interrupt an active Codex/Claude process. A repository-level process lock also prevents two agents from polling with the same local config. If npm is temporarily unavailable, the supervisor keeps the old runtime, retries with backoff, and does not process jobs until it reaches the version required by Tracker.

Versions older than 0.3.0 predate the updater and require one manual restart:

npx --yes @cyrnixlab/cyrboard-local-agent@latest start --repo .

After that bootstrap update, later releases are installed automatically.

Run

npx --yes @cyrnixlab/cyrboard-local-agent@latest start

For a single claim/execute/report cycle:

npx --yes @cyrnixlab/cyrboard-local-agent@latest run-once

To verify local configuration without starting the polling loop:

npx --yes @cyrnixlab/cyrboard-local-agent@latest status

Agent modes

  • codex: runs codex exec in the repository.
  • claude: runs Claude Code in the repository.

--model and --reasoning are optional local defaults. Tracker job input can override them per AI executor/job.

For Claude Code, the default permission mode is bypassPermissions so non-interactive jobs can run shell checks. Override it with --permission-mode <mode> if a repository needs stricter local behavior.

Supported reasoning values:

  • low
  • medium
  • high
  • xhigh

The child process receives:

  • CYRBOARD_SERVER
  • CYRBOARD_JOB_ID
  • CYRBOARD_PROJECT_ID
  • CYRBOARD_ISSUE_ID
  • CYRBOARD_JOB_KIND
  • CYRBOARD_BRANCH_NAME
  • CYRBOARD_JOB_PROMPT_PATH
  • CYRBOARD_JOB_RESULT_PATH
  • CYRBOARD_MCP_ENDPOINT
  • CYRBOARD_MCP_TOKEN
  • CYRBOARD_MCP_TOKEN_ID
  • CYRBOARD_MCP_SCOPES
  • CYRBOARD_MCP_EXPIRES_AFTER_LAST_HEARTBEAT_SECONDS

CYRBOARD_MCP_TOKEN is issued per claimed job. It is valid only while the job is active and for a short window after the latest heartbeat. Do not print it in logs, comments, artifacts, or commits.

Security model

  • No inbound connection to the developer machine.
  • No secrets are committed or shipped in this repository.
  • The setup token is used only for /tracker/local-runners/register.
  • Tracker returns a separate job-scoped MCP token on /tracker/local-runners/claim.
  • Attachment downloads are same-origin, authenticated with that exact job token, size/hash verified, stored outside the worktree, and never included in git add.
  • Automatic updates install only the hardcoded official npm package at an exact semantic version returned by Tracker; npm lifecycle scripts are disabled.
  • The long-lived runner token is local to the repository checkout.
  • .cyrboard/ should be ignored by Git.
  • Revoke a runner from the Tracker project AI integration page.

Publishing

The package is intended to be published under the npm scope @cyrnixlab:

npm test
npm run smoke
npm pack --dry-run
npm publish --access public

Before publishing, make sure the GitHub repository URL in package.json matches the public repository that hosts this code.

Publish and verify the npm package before configuring TRACKER_LOCAL_RUNNER_LATEST_VERSION to the new version on Tracker. Reversing that order blocks old runners while the requested package is still unavailable.