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

@kleio/manager

v4.10.1-kleio.0

Published

Kleio Manager orchestrates multiple Kleio Coder workers across projects from one chat

Readme

Kleio Manager

You talk to Kleio Manager. It drives one worker per project in parallel. Dispatch work, watch workers finish, keep a backlog, and swap models on the fly—all from one terminal.

Built on @kleio/coder, @kleio/agent, and @kleio/ai. Part of the Kleio Framework monorepo.


🚀 Run It

# Sign in once with Kleio Coder; Kleio Manager reuses the same auth
npm i -g @kleio/coder
kleio-coder login

# Install Kleio Manager
npm i -g @kleio/manager

# Pick projects with an interactive history scanner
kleio-manager link

# Start the manager
kleio-manager

Already linked? kleio-manager continue resumes the most recent session. kleio-manager --resume <id> resumes a specific one.


Command compatibility

ggboss remains a compatibility alias for kleio-manager, and ggcoder remains a compatibility alias for kleio-coder. The legacy /model-boss command and --boss-model flag also remain accepted beside /model-manager and --manager-model. Existing scripts can continue to use the legacy names; new documentation and automation should use the Kleio names. Both command generations use the same .gg credentials and sessions, including Manager state under ~/.gg/boss/.


🪄 How it works

You type one prompt. Kleio Manager decides which workers to dispatch, in parallel or serial, with prompt_worker (fire-and-forget) or by adding to the task plan and calling dispatch_pending. Each worker is a full Kleio Coder agent—read, write, edit, bash, grep, find, ls, web fetch, and sub-agents—running in its own project directory.

When a worker finishes, you get a tight summary back: Changed, Skipped, Verified, Notes, and a single-letter Status (DONE / UNVERIFIED / PARTIAL / BLOCKED / INFO). Kleio Manager cross-checks that summary against the worker's actual tool calls, then reports back or re-prompts the worker to verify, finish, or unblock.

A few things make it feel like one conversation instead of N:

  • Live worker state is appended to every event the manager receives, so it cannot forget that "B is still working" while reading "A finished."
  • Auto-chain. If the manager leaves a project parked while pending tasks remain, the orchestrator dispatches the next task and reports the change.
  • Auto-compact. When the manager's context crosses 80%, it compacts and starts a fresh session file so kleio-manager continue resumes the trimmed history.
  • Crash-resistant. Six workers in one process cannot take the manager down. Uncaught throws and unhandled rejections are logged to ~/.gg/boss/debug.log, and the run loop continues.
  • Audio chimes. A done sound plays when each worker finishes, followed by an all-clear chime when every worker is idle and the queue is empty.

🎛 Models

Manager and workers run on different models, on purpose. Use a strong reasoning model (Opus, GPT-5) for Kleio Manager and a fast, inexpensive model (Sonnet, Haiku) for the workers—or whatever combination fits the work.

Defaults are claude-opus-4-8 for the manager and claude-sonnet-4-6 for the workers. Anthropic, OpenAI, GLM, and Moonshot are all supported—anything Kleio Coder supports. Swap mid-session with /model-manager and /model-workers; your choice persists across restarts.

kleio-manager --manager-model claude-opus-4-8 --worker-model claude-sonnet-4-6
kleio-manager --project ../api --project ../web   # Explicit project list

⌨️ Keybindings

| Key | What it does | | --------------------------- | --------------------------------------------------------------------- | | Tab | Cycle the project scope pill (All / per-project) on your next message | | Shift+Tab | Cycle the manager's thinking level (Anthropic/OpenAI tiers, then off) | | Esc | Interrupt the manager mid-turn (workers keep running) | | Ctrl+T | Open the Tasks pane | | Ctrl+C ×2 | Exit Kleio Manager | | / | Recall previous prompts (when input is empty) | | Enter | Send · Shift+Enter newline · / opens the slash menu |

Inside the Tasks pane (Ctrl+T):

| Key | What it does | | ------------------------------------------------------------ | ----------------------------------------------------- | | / (or k / j) | Navigate tasks | | Enter | Dispatch the selected task to its worker | | r | Run all pending and blocked tasks across idle workers | | d | Delete the selected task | | Esc | Close the pane |


💬 Slash commands

| Command | What it does | | ----------------------- | --------------------------------------------------- | | /help (/?) | Show all commands and keybindings | | /model-manager | Switch the manager's model | | /model-workers | Switch every worker's model | | /compact | Compact the manager's context now | | /clear | Clear chat history and terminal | | /radio | Stream a free internet radio station while you work | | /quit (/q, /exit) | Exit Kleio Manager |


📋 The task plan

Kleio Manager is more than a dispatcher: it keeps a persistent backlog for tracked, reviewable, resumable work.

  • The manager adds tasks via add_task(project, title, description, fresh?).
  • Tasks live in ~/.gg/boss/plan.json and survive restarts.
  • Press Ctrl+T at any time to see the plan, dispatch an item, or delete it.
  • Worker self-reported status (DONE / UNVERIFIED / PARTIAL / BLOCKED / INFO) updates the task automatically, and the manager can override it after cross-checking.
  • When a project goes idle with pending work in the plan, auto-chain picks up the next task without waiting for the manager to remember it.

Direct dispatch (prompt_worker) is for one-shot work. The plan is for batches you want to curate, review, and resume.


📻 Radio

/radio streams long-running, royalty-free internet radio while you work — SomaFM Groove Salad, Drone Zone, Radio Paradise Mellow Mix, lofi beats. Pick a station or Off. Requires one of mpv (recommended), ffplay, mpg123, or vlc/cvlc on your PATH.


🗂 Project discovery

kleio-manager link is interactive. It scans:

  • ~/.gg/sessions/—your existing Kleio Coder projects
  • ~/.claude/projects/—your Claude Code projects (working directories are extracted from the JSONL events rather than the lossy directory-name encoding)
  • ~/.codex/sessions/—your Codex projects (working directories come from session metadata)

Projects are sorted most-recent first. Pick a few, save the list, and Kleio Manager starts a worker for each one.


🛟 Auto-update

On every launch, Kleio Manager applies an update queued by the previous run (effective on the next launch) and schedules a fresh registry check in the background. No prompts or interruption—you stay current.


Support


📄 License

MIT