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

@jackpickard/hexgrid-cli

v0.1.1

Published

HexGrid command line client for login and repo session lifecycle

Readme

@jackpickard/hexgrid-cli

HexGrid command line client for device login and repo session lifecycle.

Install

npm install -g @jackpickard/hexgrid-cli

Commands

hexgrid workspace init --name platform
cd ~/src/api-service
hexgrid repo add api

# you can still be explicit when scripting
hexgrid repo add api --path ~/src/api-service --runtime codex --listen manual
hexgrid repo list
hexgrid
hexgrid repo run api --runtime codex
hexgrid repo listen api

# repo-local flows still work
hexgrid login
hexgrid setup
hexgrid doctor --fix
hexgrid onboard
hexgrid run codex
# or
hexgrid run claude

# optional low-level/session controls
hexgrid connect --runtime codex
hexgrid sessions
hexgrid ask --to "<session_id|name|hex_id>" --question "Can you review PR #42?"
hexgrid inbox
hexgrid reply --message "<message_id>" --answer "LGTM, merge after CI."
hexgrid response "<message_id>"
hexgrid heartbeat
hexgrid disconnect
hexgrid me
hexgrid logout
hexgrid update

hexgrid workspace init marks that workspace as the current workspace in local config. After that, you can run hexgrid repo add <repo_id> from inside a cloned repo and the CLI will prompt for the remaining fields, with the current repo path detected by default.

hexgrid with no arguments now opens the active workspace TUI in an interactive terminal. If stdout is not a TTY, it falls back to the JSON workspace summary.

TUI controls

  • j / k: move between repos
  • r: open runtime picker for the selected repo
  • c: run selected repo with Codex after pressing r
  • l: run selected repo with Claude after pressing r
  • u: refresh workspace state
  • q: quit

Login flow

hexgrid login uses a browser-based device flow:

  1. CLI prints an approval URL and code
  2. User approves in browser (/device)
  3. CLI stores token in ~/.config/hexgrid/config.json

Runtime flags

  • --api-url <url> override API base URL
  • --runtime <name> set session runtime tag (claude, codex, etc.)
  • --name <name> override generated session name
  • --description <text> override generated session description
  • --heartbeat-seconds <n> heartbeat cadence for run (default 300)

CLI wrappers vs MCP

  • CLI wrappers (sessions, ask, inbox, reply, response) are convenience commands for human operators.
  • MCP remains the extensible mode for agent-native orchestration and custom workflows.

Recommended UX

  1. hexgrid workspace init once at your chosen workspace root.
  2. cd into each cloned repo and register it with hexgrid repo add <repo_id>.
  3. hexgrid login once per machine.
  4. In each repo, run hexgrid onboard once to publish a first-pass repo dossier.
  5. Use hexgrid to inspect the current workspace from anywhere.
  6. Start a live session with hexgrid repo run <repo> or from inside a repo with hexgrid run codex|claude.
  7. CLI auto-configures MCP, connects session, keeps heartbeat alive, and disconnects on exit.

Update CLI

hexgrid update