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

@eunjae/planner

v0.3.0

Published

Local markdown planning sessions with PR-like revisions, line comments, resolved threads, and configurable agent follow-ups.

Readme

@eunjae/planner

Local markdown planning sessions with PR-like revisions, line comments, resolved threads, and configurable agent follow-ups.

Commands

planner setup
planner setup --agents pi
planner setup --agents codex
planner setup --background
planner agents list
planner actions list
planner new "Session title"
planner new "Session title" --agent-target <target-id> --agent-var key=value
planner new "Session title" --agent-target codex --agent-var "codexSessionId=$CODEX_THREAD_ID,cwd=$PWD"
planner new "Session title" --agent-target pi-extension --agent-var "piSessionId=<pi-session-id>"
planner attach-agent <session-id> <target-id> --var key=value
planner attach-agent <session-id> codex --var "codexSessionId=$CODEX_THREAD_ID,cwd=$PWD"
planner attach-agent <session-id> pi-extension --var "piSessionId=<pi-session-id>"
planner install-skill --agents pi
planner write <session-id> --file /tmp/plan.md
planner latest <session-id>
planner latest <session-id> --withComments
planner comments list <session-id>
planner comments add <session-id> --line 12 --content "Clarify this"
planner comments reply <session-id> <thread-id> --content "Updated in the next rev"
planner comments resolve <session-id> <thread-id>
planner setup --hostname my-mac.tailnet-name.ts.net --scheme https --bind-host 0.0.0.0
planner server start
planner server status
planner server stop
planner install-skill --all

Data is stored under ~/.config/planner. Agent delivery is configured by ~/.config/planner/planner.config.ts; planner setup installs skills, creates a matching config when none exists, and asks whether to start the background server. Sessions store generic agent metadata (targetId + variables), and the web UI uses the configured actions/targets to queue follow-up requests. The web UI is a TanStack Start + Tailwind app styled with coss/ui components. It is served at <configured-scheme>://<configured-hostname>:<port>/s/<session-id> and includes raw markdown, latest-revision changes, and comment threads. For Tailnet/LAN HTTPS setup, enable Tailscale Serve and pass planner setup --hostname ... --bind-host 0.0.0.0; .ts.net hostnames default to https.

planner install-skill writes an agent-specific skill file for each selected agent. Pi installs Pi linkage instructions, Codex installs Codex linkage instructions, and other agents receive generic attach-agent guidance.

When running from Codex, pass the current CODEX_THREAD_ID as the Codex target's codexSessionId variable. Without that session variable, the web UI cannot route Ask-agent actions back to the current Codex thread. planner setup --agents codex records the detected absolute codex binary path when available and adds the Planner home directory as a Codex writable directory, so Ask-agent actions still work when the Planner server is launched by launchctl with a minimal PATH.

Agent config

Create a global TypeScript config during setup:

planner setup
# or non-interactively
planner setup --agents pi --background
planner setup --agents codex --skip-server

The config can import helpers from @eunjae/planner/config:

import { definePlannerConfig, piExtensionTarget } from "@eunjae/planner/config";

const pi = piExtensionTarget({
  id: "pi-extension",
  label: "Pi",
  sessionId: (ctx) => ctx.variables.piSessionId,
});

export default definePlannerConfig({
  targets: [pi],
  actions: [
    {
      id: "reply",
      label: "Ask agent to reply",
      buildMessage: ({ sessionId, url }) =>
        `Planner request: Please review ${url} and reply to unresolved comments. Use planner session ${sessionId}. Do not resolve threads.`,
    },
    {
      id: "update",
      label: "Ask agent to update plan",
      requiresResolvedThreads: true,
      buildMessage: ({ sessionId, url }) =>
        `Planner request: Please update planner session ${sessionId} based on resolved comments at ${url}. Do not resolve threads.`,
    },
  ],
});

Install

npm install -g @eunjae/planner

The published CLI runs on Node.js 20+ and uses the package bin entry (planner -> dist/cli.js). After installing, run planner setup for an interactive setup. It recommends the launchctl background server, but you can skip it and run planner server run in the foreground only when needed.

Build

bun install
bun run build

The build first compiles web/ with TanStack Start/Nitro, then emits the Node CLI into dist/. Run planner setup to install integrations and launch the background service, or planner server start to only install/start the launchctl service.

End-to-end tests

npx playwright install chromium # first time only
bun run test:e2e

The E2E suite uses a temporary PLANNER_HOME, starts the built Planner server on a random port, and sends Ask-agent requests to a test config that writes JSONL locally.