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/idea-local-agent

v0.1.3

Published

Local runner connector for idea_to_spec workflow jobs.

Readme

Idea to Spec Local Agent

Local runner connector for idea_to_spec workflow jobs.

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

Install

npx @cyrnixlab/idea-local-agent --help

Connect a repository

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

npx @cyrnixlab/idea-local-agent connect \
  --server https://idea.example.com \
  --token idea_setup_xxx \
  --repo . \
  --agent codex \
  --model gpt-5.2-codex \
  --reasoning xhigh \
  --start \
  --interval 10 \
  --concurrency 3

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

With --start, the command stays in the foreground and keeps polling idea_to_spec for queued workflow steps. Keep the terminal open while this runner should process jobs. --concurrency starts several polling worker loops in the same process. The backend still atomically claims every workflow step, so two workers cannot execute the same step.

To restore an existing runner from a new setup token, use the same options with reconnect:

npx @cyrnixlab/idea-local-agent reconnect \
  --server https://idea.example.com \
  --token idea_setup_xxx \
  --repo . \
  --agent codex \
  --start \
  --interval 10 \
  --concurrency 3

Run

npx @cyrnixlab/idea-local-agent start --repo . --interval 10 --concurrency 3

For a single claim/execute/report cycle:

npx @cyrnixlab/idea-local-agent run-once --repo .

To verify local configuration without starting the polling loop:

npx @cyrnixlab/idea-local-agent status --repo .

Agent modes

  • codex: runs codex exec in the repository.
  • claude: runs Claude Code in the repository.
  • mock: returns deterministic markdown for smoke tests.

--model and --reasoning are optional local defaults. A workflow job can override reasoning through job.agentProfile.reasoning, job.input.step.agentProfile.reasoning, or the legacy job.input.reasoningEffort field.

Supported reasoning values:

  • low
  • medium
  • high
  • xhigh

The child process receives:

  • IDEA_TO_SPEC_SERVER
  • IDEA_TO_SPEC_WORKFLOW_RUN_ID
  • IDEA_TO_SPEC_ANALYSIS_PROJECT_ID
  • IDEA_TO_SPEC_STEP_RUN_ID
  • IDEA_TO_SPEC_STEP_ID
  • IDEA_TO_SPEC_STEP_TYPE
  • IDEA_TO_SPEC_OUTPUT_ARTIFACT_TYPE
  • IDEA_TO_SPEC_JOB_PROMPT_PATH
  • IDEA_TO_SPEC_JOB_RESULT_PATH

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 /workflow-runners/register.
  • The long-lived runner token is local to the repository checkout.
  • .idea-to-spec/ should be ignored by Git.
  • Revoke a runner from the project runner settings.

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.