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

@designteam/adapter-codex-local

v0.1.0

Published

Design Team adapter that dispatches tasks to the local OpenAI codex CLI. Mirror of adapter-claude-cli built on the shared `runSubprocess` helper — proof that the adapter-utils extraction scales to any CLI-wrapping runtime.

Readme

@designteam/adapter-codex-local

Design Team adapter that dispatches each task to the local OpenAI codex CLI — mirror of adapter-claude-cli, built on the shared runSubprocess helper from @designteam/adapter-utils.

Under 60 LOC of adapter code. The heavy lifting — prompt assembly, process-group kill, signal+timeout plumbing — lives in adapter-utils so every CLI-wrapping adapter stays thin.

See the monorepo root's adapter-plugin.md for the full adapter spec.

Install

pnpm add @designteam/adapter-codex-local

You also need the codex CLI on your PATH. See OpenAI's install instructions.

Usage

import { registerAdapter } from '@designteam/adapter-utils'
import { createCodexCliAdapter } from '@designteam/adapter-codex-local'

registerAdapter(createCodexCliAdapter({
  codexPath: 'codex',             // default
  extraArgs: ['--full-auto'],     // optional — appended after `exec <prompt>`
  timeoutMs: 15 * 60 * 1000,      // default: 15 min
}))

Then dispatch:

designteam run <plan-id> <task-id> --adapter=@designteam/adapter-codex-local

What the model sees

Same stitched prompt as adapter-claude-cli — agent identity + personality + mood + per-agent memory + team memory + user profile + task brief — via buildAgentPrompt(ctx) from adapter-utils. See that package's README for the full rendered example.

Outcome mapping

| Subprocess result | Adapter outcome | Host transition | |---|---|---| | exit 0 | done (first 800 chars of stdout) | progress --done | | non-zero exit | error (stderr or "codex exited N") | release checkout, log | | ctx.signal.aborted | cancelled reason signal.aborted | progress --cancel | | exceeds timeoutMs | cancelled reason timeout | progress --cancel |

Options

interface CodexCliAdapterOptions {
  codexPath?: string    // default 'codex'
  id?: string           // default '@designteam/adapter-codex-local'
  extraArgs?: string[]  // default [] — appended after `exec <prompt>`
  timeoutMs?: number    // default 15 minutes
}

License

MIT