# Repository Briefing: dark-hxx/CLI-Manager
> Source: https://repoforai.com/repo/dark-hxx/CLI-Manager (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/dark-hxx/CLI-Manager
- **Official Docs / Website**: https://cli-manager.github.io/
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Rust
- **License**: AGPL-3.0
- **Engineering Health**: A (82/100 · Maintenance 35/35 · Adoption 16/25 · Releases 20/20 · License 11/20)
- **Latest Release**: V1.5.3 (2026-11-27) — https://github.com/dark-hxx/CLI-Manager/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: Self-Hosted, CLI
- **Momentum**: 819 ★ total (+1 24h / +4 7d) · 105 forks
- **Topics**: `ai-cli`, `claude-code`, `codex`, `developer-tools`, `tauri-app`, `terminal`
- **When to Use**: Best for: Developers who keep Claude Code or Codex running across multiple local and SSH projects and need to reattach to tasks, review historical diffs and track usage in one workspace. Skip if: You need remote Worktrees, file/Git panels and analytics at desktop parity, want a native mobile client, or primarily want to compare and merge competing agent outputs.

## Overview
```text
### Architecture & Core Mechanics
CLI-Manager is a desktop control layer around existing shells and AI CLIs. React 19, TypeScript, Vite and Zustand drive the workspace; xterm.js renders terminal output, with WebGL acceleration. Tauri 2 and Rust handle native operations and PTY sessions. Persistence uses SQLite through `tauri-plugin-sql` and `tauri-plugin-store`. Workspan preserves the pane layout, while `cli-manager-daemon` and `cli-manager-web-daemon` host background sessions so a returning client can reattach and replay output in order instead of rerunning the launch command.

Terminal transport and agent status follow separate paths. The local Claude Code/Codex hook bridge uses loopback and bearer-token validation. SSH terminal launch uses an OpenSSH launch plan; verified remote hook installations can use a shared per-host bridge with agent protocol 1.1+, heartbeats, reconnect throttling and isolated event spools for catch-up. The app manages session state and surfaces tool calls, including MCP activity, while the underlying CLI runs the agent.

### Key Capabilities & Differentiators
Claude Code and Codex get the deepest integration: hooks attach sessions to tabs and surface approval requests and task status; live views show token breakdowns, estimated cost, tool calls and the Git branch. History spans 11 sources with unified search and filtering, but only the two primary integrations provide the full combination of change diffs, audited message edits and rollback, resume, and two-way conversion. Grok Build has local/WSL resume and live stats, while OpenCode supports resume; available statistics depend on each source's fields.

For parallel local work, the app can put tasks in separate Git Worktrees and `wt/` branches, then guide review, commit, merge, conflict abort and cleanup. Paired browsers get a classic terminal and read-only Git browsing at `/`, or a mobile-oriented conversation view at `/tap/`. Provider switching reads the cc-switch database without modifying it and writes Claude project overrides to `.claude/settings.json`. WebDAV offers versioned snapshots, selective restore and an undo path rather than a single overwritten backup.

### Trade-offs & Limitations
CLI-Manager is a better fit for maintaining a long-lived, searchable record across projects and hosts than for comparing competing agent outputs. Orca centers on isolated multi-agent execution, result comparison and merge; cmux centers on native macOS terminal panes, notifications and programmability. Do not assume SSH has desktop feature parity: remote terminals, reattachment and Claude/Codex hook status are available, but remote history and analytics, file/Git panels, Worktrees and provider switching are not.

The wider feature set adds operational surfaces: daemon sessions can outlive the window, remote hooks change CLI configuration, and optional browser access exposes a terminal surface that needs careful access controls. Rendering overhead is managed separately from PTY lifetime: history loads 160 entries per page, tool output and diffs load on demand, and hidden terminal WebGL renderers are released after 30 seconds, or 10 in low-memory mode. Those policies do not cap the memory used by shells, builds or agents. AGPL-3.0 also warrants review before distributing modifications or offering a modified version over a network.

### Hardware & Deployment Guide
V1.5.3 release assets include a Windows MSI and x64 portable ZIP, an Apple Silicon DMG, and experimental Linux `.deb` packages for x86_64 and arm64. The installation overview still emphasizes Windows artifacts, so check the exact release assets for your platform. Expect a possible Windows SmartScreen prompt and macOS signing or notarization warnings. Source builds list Node.js 20+ and Rust 1.70+, with `npm install` followed by `npm run tauri dev` or `npm run tauri build`.

Desktop use does not require the optional Web service. That service defaults to manual startup and `127.0.0.1:8787`; configure an administrator password and pair devices for browser access. For non-loopback deployment, use HTTPS and secure cookies; all-interface binding also requires an exact allowed Origin. For SSH hooks, explicitly install the signed Linux x86_64 or aarch64 agent, verify its status, and preview and confirm the Claude/Codex hook changes separately. Model and provider connectivity remains the responsibility of the configured CLI.
```

## Key Capabilities
```text
- Session continuity: Daemon-hosted PTYs reattach after the desktop window closes, replaying output without rerunning the launch command.
- SSH integration: OpenSSH configuration, jump hosts and proxy support, plus a separately installed signed agent and a reusable protocol 1.1+ hook bridge.
- History depth: Unified search across 11 sources; Claude Code and Codex add diffs, audited edits, resume, and two-way conversion.
- Git isolation: Independent Worktree directories and `wt/` branches, with a review-to-merge workflow that blocks merging into a dirty main workspace.
- Browser access: A paired classic terminal at `/` and a mobile-friendly Claude/Codex conversation view at `/tap/`.
- Provider and backup boundaries: cc-switch data is read-only at the source, Claude project overrides write `.claude/settings.json`, and WebDAV snapshots support selective restore and rollback.
```

## Quick Start / Clone
```bash
curl -fL -o install-ssh-agent.sh https://github.com/dark-hxx/CLI-Manager/releases/latest/download/install-ssh-agent.sh
less install-ssh-agent.sh
sh install-ssh-agent.sh
```
