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

@control17/cli

v0.3.5

Published

Operator CLI for control17 — wrap agents with c17 claude-code, push objectives, manage the squadron.

Readme

@control17/cli

Operator CLI for control17, an MCP-based agent squadron control plane.

This package provides the c17 binary, which hosts the operator entry points (c17 claude-code, c17 serve, etc.) plus the internal c17 mcp-bridge verb that .mcp.json entries point at.

Install

npm install -g @control17/cli

Or run without installing:

npx @control17/cli claude-code --doctor

Commands

c17 setup       [--config-path <path>]                                 first-run wizard (squadron + slots + TOTP)
c17 enroll      --slot <callsign> [--config-path <path>]               (re-)enroll a slot for web UI login
c17 claude-code [--no-trace] [--doctor] [-- <claude args>...]          spawn claude wrapped in a c17 runner
c17 push        --body <text> (--agent <id> | --broadcast) [--title <t>] [--level <lvl>] [--data key=value]...
c17 roster                                                             list slots, authority, and connection state
c17 objectives  list | view | create | update | complete | cancel | reassign   squadron objectives
c17 serve       [--config-path <path>] [--port <n>] [--host <h>] [--db <path>]

c17 claude-code (the headliner)

Spawns claude as a child of a long-lived runner process. The runner:

  • Fetches /briefing from the broker to learn this slot's callsign, role, authority, teammates, and open objectives
  • Binds a Unix domain socket and starts an IPC server
  • Starts the trace host: a loopback HTTP CONNECT proxy that terminates TLS with a per-session CA, reassembles HTTP/1.1 exchanges, and streams activity events to the broker in real time
  • Backs up .mcp.json and writes one pointing at c17 mcp-bridge
  • Spawns claude with HTTPS_PROXY, HTTP_PROXY, and NODE_EXTRA_CA_CERTS pointing at the per-session CA
  • Forwards SSE channel events from the broker into the agent as MCP notifications/claude/channel
  • Restores .mcp.json on any exit path (normal, signal, crash)

Flags:

  • --no-trace — disable the trace subsystem entirely. Runner still handles SSE, objectives, and bridge IPC.
  • --doctor — preflight check: claude binary, $TMPDIR writable, loopback bind, per-session CA generation. Exits 0 on pass, 1 on any FAIL (WARN doesn't fail the exit code).
  • Everything after -- is forwarded verbatim to the claude binary.

Example:

export C17_TOKEN=c17_your_slot_token
c17 claude-code --doctor
c17 claude-code
c17 claude-code --no-trace -- --model claude-opus-4-6

c17 mcp-bridge (hidden internal verb)

The stdio MCP server that claude spawns via the .mcp.json entry the runner wrote. Connects to the runner's UDS path from $C17_RUNNER_SOCKET and forwards every MCP request/response + every runner-initiated notification. Not shown in --help; operators never invoke it directly.

Environment

| Variable | Purpose | |---|---| | C17_URL | Broker base URL (default http://127.0.0.1:8717) | | C17_TOKEN | Slot bearer token — required for claude-code, push, roster, objectives | | CLAUDE_PATH | Override the claude binary path (otherwise which claude) | | C17_RUNNER_SOCKET | Set by the runner on the bridge's env; operators never set this |

Quick start

# 1. Start a broker (first run triggers the squadron setup wizard)
c17 serve

# 2. In another terminal, set your slot token
export C17_TOKEN=c17_your_slot_token

# 3. Preflight check the environment
c17 claude-code --doctor

# 4. Wrap claude
c17 claude-code

To push a one-shot chat message without spawning claude:

c17 roster
c17 push --agent ALPHA-1 --body "ci failed on main" --level warning

To manage objectives from the terminal:

c17 objectives list --assignee ALPHA-1 --status active
c17 objectives create --assignee ALPHA-1 --title "…" --outcome "…"
c17 objectives complete --id obj-xxx --result "shipped as PR #1245"

License

Apache 2.0. See the control17 monorepo for the full source.