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

march-control-cli

v0.1.5

Published

FHL Control desktop-style manager for Codex, OpenCode, and OpenClaw.

Readme

FHL Control

march is a provider configuration manager for:

  • Codex
  • OpenCode
  • OpenClaw

It provides both:

  • CLI (march / mch / ccman)
  • Desktop/web workspace in this repo (src/, desktop/, src-tauri/)

CLI Features

  • One-shot setup: write provider configs to multiple tools
  • Provider lifecycle commands per platform:
    • add
    • list
    • current
    • use
    • edit
    • clone
    • remove
  • Preset management:
    • preset list
    • preset add
    • preset use
    • preset remove
  • FHL quick shortcuts:
    • fhl
    • fhl1
    • fhlcode
  • URL probe before apply
  • Safe backup/rollback before writing config files

Install

npm install -g march-control-cli

If ccman command already exists from another package, uninstall it first:

npm uninstall -g ccman

Install now includes:

  • Chinese postinstall banner with quick-start commands
  • Branded setup flow with step-by-step output ([1/4] ... [4/4])
  • Dual command entrypoints: march, mch, and ccman

Quick Start

Interactive quick setup:

ccman

Non-interactive setup:

ccman setup -k sk-your-key

# Setup using a preset
ccman setup --preset march -k sk-your-key

Open full interactive menu:

ccman menu

# same command alias
march menu

Command Examples

# Codex
march cx list
march cx current
march cx add -n march -u https://gmncode.cn -k sk-xxx --model gpt-5.4
march cx use march
march cx edit march --model gpt-5.3-codex
march cx clone march -n march-backup
march cx remove march-backup

# OpenCode / OpenClaw
march oc list
march ow list

# Presets
march preset list
march preset add -n team-a --provider-name teama --base-url https://example.com
march preset use team-a -k sk-xxx -p codex,opencode
march preset remove team-a

# FHL quick shortcuts (ccman fhl-like)
ccman fhl sk-xxx
ccman fhl --platform codex,openclaw
ccman fhlcode -k sk-xxx --no-probe
march fhl sk-xxx

Probe endpoints:

march probe -u https://gmncode.cn -u https://gmncode.cn/v1

Local Development

Run CLI directly from source:

npm run start

Syntax check CLI core:

npm run check

Type check frontend:

npm run typecheck

Run frontend dev server:

npm run dev

Default dev URL:

http://127.0.0.1:3001

Build frontend:

npm run build:web

本地验证(CLI 体验)

# 1) 基础检查
npm run check
npm run desktop:check

# 2) 查看安装后欢迎页(本地模拟)
node scripts/postinstall.mjs

# 3) 验证中文帮助
node core/index.js --help
node core/index.js preset --help
node core/index.js cx --help
node core/index.js fhl --help

隔离目录实测(不污染当前用户目录):

$env:MARCH_HOME="C:\\tmp\\march-smoke"
node core/index.js setup --preset march -k sk-demo-1234 --platforms codex,opencode --no-probe --no-backup

客户安装模拟

# 在项目目录打包
npm pack

# 卸载旧版本(可选)
npm uninstall -g march-control-cli

# 安装你刚打出来的 tgz 包(把版本号替换成当前文件名)
npm install -g .\\march-control-cli-0.1.4.tgz

# 客户侧常用验证命令
ccman --help
march --help
ccman fhl --help
ccman
ccman setup --preset march -k sk-demo-1234 --platforms codex --no-probe

Desktop

Run desktop shell:

npm run desktop:dev

If Electron runtime is missing:

npm run desktop:install-runtime

Check desktop entry files:

npm run desktop:check

Build Windows packages:

npm run desktop:pack

ccman Parity Roadmap

Current parity focus completed:

  • Provider lifecycle parity (edit/remove/clone)
  • Scriptable non-interactive commands
  • Interactive menu aligned with lifecycle actions
  • Preset manager (preset list/add/use/remove)

Next suggested parity items:

  1. Import/export command set
  2. MCP profile manager for Codex/OpenClaw ecosystem
  3. Optional WebDAV sync module for shared config state
  4. Desktop preset CRUD + one-click preset apply