百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

cli-jaw

> AI 编程
开源

2 条安装个人 AI 助理。11 个 AI 运行时表面(Claude、Codex、Cursor、Gemini、Grok、Antigravity、OpenCode、Copilot),200 多个技能,零禁用风险

191 stars0 点赞3 次浏览
访问官网GitHub

工具介绍

2 条安装个人 AI 助理。11 个 AI 运行时表面(Claude、Codex、Cursor、Gemini、Grok、Antigravity、OpenCode、Copilot),200 多个技能,零禁用风险

The native Code API (/api/code) provides isolated Codex, Claude, Cursor, and Grok sessions with durable transcripts and native resume. It uses the installed CLIs and their existing logins. See native Code sessions.

Install

Safe install — for existing users who want minimal changes

bash
# macOS / Linux
JAW_SAFE=1 npm install -g cli-jaw    # skips optional tool/runtime setup
jaw init                              # interactive setup later when you're ready

Windows support. WSL is the recommended, stable path. A native PowerShell installer also exists, but it is still beta:

powershell
irm https://raw.githubusercontent.com/lidge-jun/cli-jaw/main/scripts/install.ps1 | iex

Requires Node.js 22.4+.

The manager dashboard runs on 24576, and each agent web UI on 3457. If a restrictive execution policy blocks jaw.ps1, use the .cmd entry point instead of loosening the policy:

powershell
jaw.cmd doctor

Native Windows autostart is registered through the windows-startup backend. jaw service install also covers macOS (launchd) and Linux (systemd).

Either way cli-jaw now tells the two apart precisely: jaw doctor --json reports platform as windows-native or wsl, and each gets its own diagnostics. Native Windows no longer receives "reinstall inside WSL" advice just because WSL interop is configured on the machine.

bash
# macOS / Linux / WSL with Node.js 22+ already installed
npm install -g cli-jaw
jaw dashboard

npm 12+? npm now blocks dependency install scripts by default. If you see npm warn allow-scripts, install with the scripts approved:

bash
npm install -g cli-jaw --allow-scripts=cli-jaw

Windows npm install recovery

npm 12+ may finish a global install while blocking CLI-JAW's dependency postinstall. Approve only this package and reinstall, or save the approval for future upgrades:

powershell
npm install -g cli-jaw --allow-scripts=cli-jaw
npm config set allow-scripts=cli-jaw --location=user
jaw doctor

If PowerShell reports that jaw.ps1 cannot be loaded because script execution is disabled, choose one of these bounded workarounds:

powershell
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
jaw.cmd doctor
node "$(npm prefix -g)\node_modules\cli-jaw\dist\bin\cli-jaw.js" doctor

jaw.ps1 is PowerShell's npm shim and is subject to execution policy; jaw.cmd is the equivalent cmd shim and does not use that policy. The direct node form bypasses both shims. jaw doctor reports a blocked/stale install, leftover npm staging directories, and the current PowerShell policy; it also prints the matching recovery guidance.

That's it. Open http://localhost:24576 for the manager dashboard. Per-instance agent Web UIs still run from http://localhost:3457 when you start jaw serve. Requires Node.js 22.4+.

First time? The default npm install initializes CLI-JAW and attempts native Claude setup. Other AI CLIs are optional; install them all during npm setup with CLI_JAW_INSTALL_CLI_TOOLS=1 npm install -g cli-jaw on macOS/Linux. On Windows, use the WSL install path below.

Retired JWC integration

Jawcode SDK, ACP child, TUI bundles and installer integration have been removed. Use Code for native Codex, Claude, Cursor or Grok sessions. A saved jwc runtime selection remains visible as retired and cannot execute; choose an available runtime explicitly. Existing external installations and saved user files are left intact. jaw jwc reports retirement and performs no installation or cleanup.

Retired Claude E and AI-E runtimes

The Claude E helper (claude-e, including native/claude-e, compatibility claude-exec, and legacy jaw-claude-i) and the AI-E multiplexer (ai-e, @bitkyc08/ai-e) have been removed. Use claude for Claude Code. A saved claude-e or ai-e runtime selection remains visible as retired and cannot execute; choose an available runtime explicitly. Existing settings, session buckets and user files are left intact. Execution reports retired_runtime:claude-e or retired_runtime:ai-e before fallback.

macOS one-click — don't have Node.js? This installs everything

bash
curl -fsSL https://raw.githubusercontent.com/lidge-jun/cli-jaw/main/scripts/install.sh | bash
source "${ZDOTDIR:-$HOME}/.zshrc" 2>/dev/null || true
bash "$(npm root -g)/cli-jaw/scripts/verify-fresh-install.sh"

Windows (WSL — Windows Subsystem for Linux) — one-click from scratch

powershell
# 1. Install WSL (PowerShell as Admin)
wsl --install

Restart, open Ubuntu, then:

bash
# 2. Install CLI-JAW + all dependencies
curl -fsSL https://raw.githubusercontent.com/lidge-jun/cli-jaw/main/scripts/install-wsl.sh | bash
source ~/.bashrc
jaw dashboard
bash "$(npm root -g)/cli-jaw/scripts/verify-fresh-install.sh"

From Windows PowerShell into WSL, run commands through a login shell so the WSL profile PATH is loaded:

powershell
wsl.exe -d Ubuntu -- bash -lc "jaw dashboard"

Native Windows (PowerShell beta) — detached server logs

jaw serve preserves the stdout and stderr streams it inherits and also appends both streams to \logs\serve.log. At startup, a file already at 5 MiB is rotated once to serve.log.1. Native Windows still does not have a registered jaw service logging backend. PowerShell's Start-Process -RedirectStandardOutput/-RedirectStandardError creates or truncates its target files on every launch, so do not point those options at the instance-owned serve.log.

If separate operator-owned stdout/stderr files are needed, run the redirection inside a child PowerShell process instead. This example appends them under \logs without the Start-Process truncate default:

…

Read each stream from a separate PowerShell terminal (Get-Content -Wait occupies its terminal). These commands use explicit paths because variables from the launch terminal are not available in a new PowerShell session:

powershell
# Terminal 1
Get-Content -LiteralPath 'C:\jaw\worker-a\logs\serve.out.log' -Tail 100 -Wait

# Terminal 2
Get-Content -LiteralPath 'C:\jaw\worker-a\logs\serve.err.log' -Tail 100 -Wait

Lifecycle commands are home-scoped and verify \jaw.pid.json before signalling:

powershell
& $jaw --home $jawHome service stop --port $port
& $jaw --home $jawHome service restart --port $port

A standalone service restart safely relaunches the instance detached, but cannot recreate the operator's file redirection. To preserve file capture, stop, optionally rotate the closed logs, and run the launch block again:

…

Do not use Get-Process node | Stop-Process; it can terminate unrelated cli-jaw instances and AI runtime processes.

Fresh-machine evidence — maintainer release check

Run this on a clean VM before publishing installer changes. It writes environment snapshots, installer logs, the exact collector/installer/verifier scripts that ran, their SHA-256 hashes, verifier logs, and new-shell PATH probes into ~/cli-jaw-fresh-install-evidence-*.

bash
# macOS Terminal
COLLECTOR=/tmp/cli-jaw-collect-fresh-install-evidence.sh
curl -fsSL https://raw.githubusercontent.com/lidge-jun/cli-jaw/main/scripts/collect-fresh-install-evidence.sh -o "$COLLECTOR"
bash "$COLLECTOR" --target macos

# Ubuntu inside WSL
COLLECTOR=/tmp/cli-jaw-collect-fresh-install-evidence.sh
bash "$COLLECTOR" --target wsl

From Windows PowerShell, enter the supported WSL path:

powershell
wsl.exe -d Ubuntu -- bash -lc 'COLLECTOR=/tmp/cli-jaw-collect-fresh-install-evidence.sh; curl -fsSL https://raw.githubusercontent.com/lidge-jun/cli-jaw/main/scripts/collect-fresh-install-evidence.sh -o "$COLLECTOR"; bash "$COLLECTOR" --target wsl'

If the collector says powershell.exe is not available inside WSL, run this from Windows PowerShell before auditing:

powershell
wsl.exe -d Ubuntu -- bash -lc 'EVIDENCE_DIR="$(ls -dt ~/cli-jaw-fresh-install-evidence-* | head -1)"; { echo "command=wsl.exe -d Ubuntu -- bash -lc jaw --version"; jaw --version; } | tee "$EVIDENCE_DIR/33-powershell-to-wsl-probe.log"'

For an unmerged branch or local VM checkout, pass the local installer and verifier explicitly:

bash
bash scripts/collect-fresh-install-evidence.sh --target macos --install-script scripts/install.sh --verifier-script scripts/verify-fresh-install.sh
bash scripts/collect-fresh-install-evidence.sh --target wsl --install-script scripts/install-wsl.sh --verifier-script scripts/verify-fresh-install.sh

Audit each collected directory before treating it as target evidence:

bash
EVIDENCE_DIR="$(ls -dt ~/cli-jaw-fresh-install-evidence-* | head -1)"
AUDITOR="$(npm root -g)/cli-jaw/scripts/audit-fresh-install-evidence.mjs"
node "$AUDITOR" "$EVIDENCE_DIR" --target macos
node "$AUDITOR" "$EVIDENCE_DIR" --target wsl

# For a local checkout, audit with the checkout's auditor:
node scripts/audit-fresh-install-evidence.mjs "$EVIDENCE_DIR" --target macos
node scripts/audit-fresh-install-evidence.mjs "$EVIDENCE_DIR" --target wsl

Before publishing installer changes, run the matrix gate with both strict evidence directories:

bash
GATE="$(npm root -g)/cli-jaw/scripts/verify-release-evidence.mjs"
node "$GATE" --macos /path/to/macos-evidence --wsl /path/to/wsl-evidence

# For a local checkout:
node scripts/verify-release-evidence.mjs --macos /path/to/macos-evidence --wsl /path/to/wsl-evidence

The matrix gate rejects evidence collected with stale collector, installer, or verifier scripts; archived evidence scripts must match the current package or checkout that runs the gate.

When scripts/promote-to-main.sh, scripts/release-preview.sh, or npm publish detects installer-sensitive changes since the previous tag, it runs this same matrix gate before any git push or npm publish. Set the evidence directories before starting a release:

bash
CLI_JAW_MACOS_EVIDENCE_DIR=/path/to/macos-evidence \
CLI_JAW_WSL_EVIDENCE_DIR=/path/to/wsl-evidence \
bash scripts/promote-to-main.sh

scripts/promote-to-main.sh promotes only an already-certified preview head. It refuses to start unless a successful test.yml push run exists for that exact preview SHA. With no argument it promotes the live origin/preview head; an optional SHA argument must equal that same head, so it acts as an assertion rather than a way to promote an older commit.

The script dispatches the npm publish and then exits without checking whether the publish succeeded, and it cannot be re-run afterwards. Recovery for a partially completed release — npm publish missing, GitHub release missing, a bad version on latest, or a red commit on main — is documented in structure/infra.md § 릴리스 파이프라인과 부분 실패 복구.

Docker

bash
docker compose up -d       # → http://localhost:3457

What is CLI-JAW?

CLI-JAW is an open-source platform that unifies the AI coding CLIs you already use — Pi, Claude, Antigravity, Codex, Codex App, Cursor, Grok, Kiro, OpenCode, and Copilot — into one assistant with one memory and one dashboard.

Your main CLI (the “Boss”) calls the others as “employees.” You stop copy-pasting between apps and start giving orders from a single place.

  • No API keys needed — routes through subscriptions you already pay for
  • No per-token billing — flat monthly cost, same as what you already have
  • Runs locally — your code never leaves your machine

Authenticate

You only need one. Pick whichever subscription you already have:

bash
# Free options (no credit card needed)
copilot login        # GitHub Copilot (free tier available)
opencode             # OpenCode — free models available
kiro                 # AWS Kiro (free tier with AWS account)

# Paid (monthly subscription you already pay for)
claude auth login    # Anthropic Claude Pro or higher
codex login          # OpenAI ChatGPT Pr

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptaiassistantautomationclaude

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类AI 编程
定价开源

> 相关工具

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.