@dthsoft/cm
v0.1.4
Published
Claude Manager CLI: SSO-authenticated proxy wrapper for `claude`
Readme
@dthsoft/cm
Claude Manager CLI — SSO-authenticated proxy wrapper for the claude CLI.
cm forwards every invocation to your locally installed claude binary,
but tunnels Anthropic API traffic through a self-hosted Claude Manager
server so requests are centrally authenticated, audited, and rate-limited
across a team.
Install
npm install -g @dthsoft/cmThis pulls down a small Node shim (bin/cm.js) plus the platform-specific
binary package (@dthsoft/cm-linux-x64, @dthsoft/cm-linux-arm64,
@dthsoft/cm-win32-x64, @dthsoft/cm-darwin-x64, or
@dthsoft/cm-darwin-arm64) via optionalDependencies. Only the binary
that matches your OS/arch is downloaded.
Supported platforms:
- linux-x64 (glibc ≥ 2.31)
- linux-arm64 (glibc ≥ 2.31)
- win32-x64
- darwin-x64 (Intel macOS)
- darwin-arm64 (Apple Silicon)
Usage
cm login # authenticate via SSO and pull a Claude session
cm # equivalent to `claude` (tunneled through Manager)
cm <any args> # all args are forwarded to `claude` verbatim
cm logout # forget local credentials
cm status # show current session and server reachability
cm config set-server <url>
cm cm-help # cm's own help (use --help to see claude's help)Environment
CM_SERVER— override the Manager server URL.CM_CLAUDE_BIN— path to the realclaudebinary if it is not on PATH.
Requirements
- Node.js ≥ 18 (for the shim).
- The official
claudeCLI installed and on PATH. - A Claude Manager server you have been granted a session on.
