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

cofluxd

v2.4.0

Published

Coflux 无界面宿主(cofluxd)与统一操作工具(coflux)

Readme

Coflux CLI

Operate local and remote terminals from one account. This package provides two distinct commands:

| Command | Purpose | | --- | --- | | cofluxd | Manage a headless device: install, start, stop, diagnose, and update its runtime | | coflux | Sign in and operate devices, workspaces, and terminals |

Desktop, CLI, and runtime releases share the same version. The macOS desktop app includes its own native coflux binary and does not require this npm package or Node.js.

Codex skill discovery in Coflux terminals

Interactive codex, codex resume, and codex fork invocations use a private Codex app-server. The native CLI registers the invocation's immutable Coflux skill directory through skills/extraRoots/set before connecting the TUI over a private Unix socket. Coflux appears in /skills and the $ skill selector, and Codex loads the skill body on demand. The session hook continues to supply current terminal and workspace coordinates.

No skill is installed in the user's skill directories and no plugin or marketplace registration is written to their configuration. The extra root belongs only to this app-server process; concurrent invocations keep their own skill versions. The launcher monitors the terminal UI, and a lifetime-pipe watchdog cleans up the backend and socket when the launcher exits, including when the terminal is killed.

This requires a Codex version supporting --remote unix://PATH and skills/extraRoots/set (verified with Codex CLI 0.154.0). If startup or skill discovery fails, the launcher reports the error instead of claiming integration is ready. COFLUX_AGENT_INTEGRATION=off codex bypasses managed integration. Profile-selected invocations (--profile / -p) retain the native runtime and print an explanatory notice: Codex app-server cannot load profiles, and using the remote TUI would lose profile fields such as developer_instructions. Explicit --remote endpoints, administrative commands, and noninteractive commands such as codex exec retain the existing launch path; they do not receive this process-local skill registration. Existing hook injection remains unchanged.

For remote resume/fork, --yolo, --sandbox, --ask-for-approval, and permission config overrides are applied to the private backend; Codex rejects these options on the remote TUI itself. New sessions retain the native TUI permission flags.

Install

Requires Node.js 20 or later.

npm install -g cofluxd
cofluxd up

Follow the authorization link to connect the host to your account. Use cofluxd status, cofluxd doctor, or cofluxd logs -f to inspect it.

Operate your workspaces

# Supply the password through stdin, not in a command-line argument.
coflux login --username <account> --password-stdin
coflux device list
coflux workspace list
coflux terminal new --workspace <id> --cmd 'git status'
coflux terminal read <terminal-id> --remote

Account commands return JSON. Inside a Coflux terminal, local commands automatically use the current workspace:

coflux terminal new --title 'Tests' --cmd 'pnpm test'   # a persistent shell; the command is typed in once its prompt is ready
coflux terminal wait <terminal-id>                      # blocks until that command finishes and prints its exit code
coflux terminal run <terminal-id> --cmd 'pnpm lint'     # type another command into the same shell
coflux terminal read <terminal-id>                      # the tail of the terminal's scrollback
coflux terminal list
coflux terminal close <terminal-id>
coflux progress 'Reviewing the changes.'
coflux notify 'Ready for your review.'

Every terminal is the workspace's default login shell on a real tty, alive until exit or close; --cmd and run only type a command in after the shell has signalled that its prompt is ready, and wait reports that command's exit code while the terminal stays open.

coflux notify sends a persistent notification to your account inbox from the owning terminal. It needs a server connection and reports success only after the server saves it. Desktop shows an in-app hint in the foreground and additionally requests a system notification in the background. Reading a notification clears its unread state, while history survives hooks, terminal exit, and source deletion.

The CLI bundled with the desktop app can reuse the app's login through a local channel. Independently installed CLIs can sign in themselves. See coflux --help, cofluxd --help, and the agent skill.

Upgrades and terminal lifetime

Updating this npm package does not end running terminals. cofluxd update downloads runtime artifacts without restarting the Supervisor that owns the PTYs. Apply that update with cofluxd restart after your tasks finish.

cofluxd restart and cofluxd down end local terminal processes. The desktop app stays online in the background; fully quitting or signing out ends its local terminals after confirmation.

Starting with 1.0, operation commands such as cofluxd terminal and cofluxd login have been removed. Use coflux terminal and coflux login. The MCP interface has also been removed in favor of the CLI.

GitHub · Releases · Issues

MIT © 2026 Shuaiqi Wang.