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

@eta-mu/rheos

v0.1.0

Published

Agent-first kanban board: CLI, server, MCP tools, and web UI

Readme

@eta-mu/rheos

Kanban board runtime and service shell for the eta-mu workspace. Rheos is a ClojureScript Fastify + React app that reads markdown kanban cards from disk, serves a board UI, exposes a kanban HTTP/MCP API, and ships a rheos CLI for the same operations. Status moves are FSM-enforced and ledger-backed so the CLI, the UI, and the MCP tools cannot diverge on what transitions are legal.

It is an active ClojureScript package — there is no TypeScript source here. See AGENTS.md for CLJS conventions and shadow-cljs construction order before editing build/test flows.

Build, test, lint

All commands run from this package directory via pnpm:

pnpm -C packages/rheos build        # shadow-cljs release server cli  -> dist/server.js, dist/cli.cjs
pnpm -C packages/rheos watch        # shadow-cljs watch server-dev (hot reload, dist-dev)
pnpm -C packages/rheos start        # node dist/server.js  (production build output)
pnpm -C packages/rheos start:dev    # node dist-dev/server.js  (dev build output)
pnpm -C packages/rheos test         # shadow-cljs compile test && node dist/test.cjs
pnpm -C packages/rheos lint         # clj-kondo --lint src test
pnpm -C packages/rheos lint:kondo   # alias of lint
pnpm -C packages/rheos clean        # rm -rf dist dist-dev target

build releases both the server and cli shadow-cljs builds. The browser app build is not wired into build; it is the :app shadow target (see below) and emits to dist/web/js, which the server then serves statically. A bb.edn mirrors build/watch/test/lint/clean for Babashka users.

The test package script runs node dist/test.cjs; the :test shadow build writes its bundle to dist/test.cjs with :autorun true.

shadow-cljs targets

Defined in shadow-cljs.edn. Source paths pull in sibling workspace packages: ../protocols/src, ../event-ledger/src, and ../chat-ui/src.

| Build | Target | Output | Entry / notes | |-------|--------|--------|---------------| | server | :esm :node | dist/ | init-fn rheos.backend.infra.http-server/init; :optimizations :simple (bare JS interop, no :advanced) | | server-dev | :esm :node | dist-dev/ | same init-fn; hot reload via stop-http-before-load! / start-http-after-load! | | cli | :node-script | dist/cli.cjs | main rheos.backend.infra.cli/main; .cjs so node runs it as CommonJS under "type":"module" | | app | :browser | dist/web/js | init-fn rheos.ui.infra.mount/init; asset-path /js | | test | :node-test | dist/test.cjs | ns-regexp -test$, autorun |

Ports: nREPL 8799, watch HTTP 9634, dev-http (resources/public) 8800. The HTTP server listens per rheos.backend.infra.config (config + flags).

CLI

The package installs a rheos bin (dist/cli.cjs). Subcommands:

rheos board snapshot [--tasks-dir <path>] [--out <path>]
rheos board list [--verbose]
rheos compose [--domain ...] [--status ...] [--q <text>] [--save <name>] [--preset <name>]
rheos move <task-uuid> --to <status> [--project <id>]
rheos status-update <task-uuid> --to <status> [--project <id>]
rheos add-comment <task-uuid> --text <text> [--project <id>]
rheos create-subtask <parent-uuid> --title <title> [--project <id>] [--status <s>] [--priority <p>]
rheos read-task <task-uuid> [--project <id>]
rheos search-tasks --query <text>
rheos read-board [--project <id>]
rheos events [task-uuid] [--limit <n>]
rheos drift
rheos serve [--host <host>] [--port <port>]

move, status-update, add-comment, create-subtask, read-task, search-tasks, and read-board route through the same agent-tool dispatch (kanban_* tools) the MCP server exposes, so CLI and server resolve projects identically. serve boots the HTTP server in-process.

Config is loaded from --config <path> or $KANBAN_CONFIG, falling back to openhax.kanban.json / kanban.json in the working directory; tasks-dir resolution falls back to docs/agile/tasks. Projects are read from the projects array of that config (each with tasksDir, optional id/title/ fsm), or a single default project derived from the tasks dir.

HTTP / MCP surface

rheos.backend.infra.http-server registers a Fastify app (with @fastify/cors and @fastify/static serving the built web UI from dist/web):

  • GET /api/projects, GET /api/boards, GET /api/board, GET /api/board/compose
  • GET /api/events, GET /api/events/stream (SSE), GET /api/drift
  • GET /api/task/:uuid/content
  • PATCH /api/task/:uuid/frontmatter
  • POST /api/task/:uuid/comment, POST /api/task/:uuid/status, POST /api/task/:uuid/open-editor
  • POST /mcp — MCP transport (rheos.backend.infra.mcp) exposing the kanban_* tools
  • POST /api/chat/start, POST /api/chat, GET /api/chat/stream — chat proxy
  • GET /api/health

Namespace layout

CLJS source lives under src/rheos/, split into a backend service and a browser UI, each using a domain / law / shape / infra layering:

  • rheos.backend.domainboard, compose, events, task-edit, transition
  • rheos.backend.lawfrontmatter, fsm (legal-transition rules)
  • rheos.backend.shapecontent-parser, kanban (markdown card parsing)
  • rheos.backend.infrahttp-server, cli, mcp, config, projects, store / task-store / view-store, ledger, watcher, task-writeback, agent-tools, chat-proxy
  • rheos.ui.domainboard, filter-bar, layout, orchestrator, sidebar
  • rheos.ui.lawurl
  • rheos.ui.inframount, api, chat-session, ledger-stream

The ledger and protocol contracts come from the sibling @promethean-os/event-ledger and @promethean-os/openplanner-protocols packages; the chat UI components come from @open-hax/chat-ui (all wired via shadow-cljs source paths).