@openacp/cli 0.6.9 → 2026.41.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +116 -152
- package/dist/cli.d.ts +11 -0
- package/dist/cli.js +27740 -415
- package/dist/cli.js.map +1 -1
- package/dist/data/registry-snapshot.json +1 -1
- package/dist/index.d.ts +1944 -463
- package/dist/index.js +17365 -102
- package/dist/index.js.map +1 -1
- package/package.json +13 -7
- package/dist/action-detect-P7ZE4NEM.js +0 -16
- package/dist/action-detect-P7ZE4NEM.js.map +0 -1
- package/dist/adapter-LNEGLMOE.js +0 -799
- package/dist/adapter-LNEGLMOE.js.map +0 -1
- package/dist/admin-6SYB6XCZ.js +0 -23
- package/dist/admin-6SYB6XCZ.js.map +0 -1
- package/dist/agent-catalog-FC3HGDEQ.js +0 -11
- package/dist/agent-catalog-FC3HGDEQ.js.map +0 -1
- package/dist/agent-dependencies-4OWBMZWZ.js +0 -24
- package/dist/agent-dependencies-4OWBMZWZ.js.map +0 -1
- package/dist/agent-registry-WT4NXPYG.js +0 -9
- package/dist/agent-registry-WT4NXPYG.js.map +0 -1
- package/dist/agent-store-VZLFPTZU.js +0 -9
- package/dist/agent-store-VZLFPTZU.js.map +0 -1
- package/dist/agents-QO7DKARJ.js +0 -15
- package/dist/agents-QO7DKARJ.js.map +0 -1
- package/dist/api-client-CFQT5U7D.js +0 -14
- package/dist/api-client-CFQT5U7D.js.map +0 -1
- package/dist/autostart-X33OGMX6.js +0 -23
- package/dist/autostart-X33OGMX6.js.map +0 -1
- package/dist/chunk-2CJ46J3C.js +0 -154
- package/dist/chunk-2CJ46J3C.js.map +0 -1
- package/dist/chunk-2HMQOC7N.js +0 -134
- package/dist/chunk-2HMQOC7N.js.map +0 -1
- package/dist/chunk-33RP6K2O.js +0 -435
- package/dist/chunk-33RP6K2O.js.map +0 -1
- package/dist/chunk-34M4OS5P.js +0 -83
- package/dist/chunk-34M4OS5P.js.map +0 -1
- package/dist/chunk-4CTX774K.js +0 -265
- package/dist/chunk-4CTX774K.js.map +0 -1
- package/dist/chunk-7QJS2XBD.js +0 -92
- package/dist/chunk-7QJS2XBD.js.map +0 -1
- package/dist/chunk-BDYVCIBH.js +0 -735
- package/dist/chunk-BDYVCIBH.js.map +0 -1
- package/dist/chunk-BN3X7UXB.js +0 -738
- package/dist/chunk-BN3X7UXB.js.map +0 -1
- package/dist/chunk-BNLGTZ34.js +0 -122
- package/dist/chunk-BNLGTZ34.js.map +0 -1
- package/dist/chunk-GAK6PIBW.js +0 -224
- package/dist/chunk-GAK6PIBW.js.map +0 -1
- package/dist/chunk-H5P2C6H4.js +0 -4740
- package/dist/chunk-H5P2C6H4.js.map +0 -1
- package/dist/chunk-I7WC6E5S.js +0 -71
- package/dist/chunk-I7WC6E5S.js.map +0 -1
- package/dist/chunk-J4SJTKIK.js +0 -203
- package/dist/chunk-J4SJTKIK.js.map +0 -1
- package/dist/chunk-JHYXKVV2.js +0 -183
- package/dist/chunk-JHYXKVV2.js.map +0 -1
- package/dist/chunk-JKBFUAJK.js +0 -282
- package/dist/chunk-JKBFUAJK.js.map +0 -1
- package/dist/chunk-JUYDFUSN.js +0 -673
- package/dist/chunk-JUYDFUSN.js.map +0 -1
- package/dist/chunk-KIRH7TUJ.js +0 -219
- package/dist/chunk-KIRH7TUJ.js.map +0 -1
- package/dist/chunk-LBIKITQT.js +0 -22
- package/dist/chunk-LBIKITQT.js.map +0 -1
- package/dist/chunk-LGP2YGRL.js +0 -4880
- package/dist/chunk-LGP2YGRL.js.map +0 -1
- package/dist/chunk-NAMYZIS5.js +0 -1
- package/dist/chunk-NAMYZIS5.js.map +0 -1
- package/dist/chunk-NVPG6JCL.js +0 -724
- package/dist/chunk-NVPG6JCL.js.map +0 -1
- package/dist/chunk-O7CPGUAI.js +0 -298
- package/dist/chunk-O7CPGUAI.js.map +0 -1
- package/dist/chunk-S64CB6J3.js +0 -98
- package/dist/chunk-S64CB6J3.js.map +0 -1
- package/dist/chunk-UKT3G5IA.js +0 -484
- package/dist/chunk-UKT3G5IA.js.map +0 -1
- package/dist/chunk-V5GZQEIY.js +0 -101
- package/dist/chunk-V5GZQEIY.js.map +0 -1
- package/dist/chunk-VOIJ6OY4.js +0 -63
- package/dist/chunk-VOIJ6OY4.js.map +0 -1
- package/dist/chunk-VUNV25KB.js +0 -16
- package/dist/chunk-VUNV25KB.js.map +0 -1
- package/dist/chunk-W3EYKZNQ.js +0 -45
- package/dist/chunk-W3EYKZNQ.js.map +0 -1
- package/dist/chunk-WTZDAYZX.js +0 -172
- package/dist/chunk-WTZDAYZX.js.map +0 -1
- package/dist/chunk-XANPHG7W.js +0 -145
- package/dist/chunk-XANPHG7W.js.map +0 -1
- package/dist/config-6S355X75.js +0 -15
- package/dist/config-6S355X75.js.map +0 -1
- package/dist/config-editor-RVLWZLVB.js +0 -13
- package/dist/config-editor-RVLWZLVB.js.map +0 -1
- package/dist/config-registry-AHYI4MYL.js +0 -18
- package/dist/config-registry-AHYI4MYL.js.map +0 -1
- package/dist/daemon-4CS6HMB5.js +0 -30
- package/dist/daemon-4CS6HMB5.js.map +0 -1
- package/dist/discord-7IVQKB2H.js +0 -2083
- package/dist/discord-7IVQKB2H.js.map +0 -1
- package/dist/dist-UHQK5CXN.js +0 -21151
- package/dist/dist-UHQK5CXN.js.map +0 -1
- package/dist/doctor-HZZ5BSHB.js +0 -10
- package/dist/doctor-HZZ5BSHB.js.map +0 -1
- package/dist/doctor-OLYBO3V3.js +0 -15
- package/dist/doctor-OLYBO3V3.js.map +0 -1
- package/dist/install-cloudflared-Z7VCGOVG.js +0 -33
- package/dist/install-cloudflared-Z7VCGOVG.js.map +0 -1
- package/dist/install-jq-HUYSQWKR.js +0 -32
- package/dist/install-jq-HUYSQWKR.js.map +0 -1
- package/dist/integrate-PNEHRY2I.js +0 -373
- package/dist/integrate-PNEHRY2I.js.map +0 -1
- package/dist/log-NXABYJTT.js +0 -24
- package/dist/log-NXABYJTT.js.map +0 -1
- package/dist/main-ZK4MPMBG.js +0 -238
- package/dist/main-ZK4MPMBG.js.map +0 -1
- package/dist/menu-YY5MKHEK.js +0 -16
- package/dist/menu-YY5MKHEK.js.map +0 -1
- package/dist/new-session-FEO4J4VU.js +0 -17
- package/dist/new-session-FEO4J4VU.js.map +0 -1
- package/dist/post-upgrade-CJG5I7M2.js +0 -80
- package/dist/post-upgrade-CJG5I7M2.js.map +0 -1
- package/dist/session-IUSI7P5S.js +0 -20
- package/dist/session-IUSI7P5S.js.map +0 -1
- package/dist/settings-RQPAM4KC.js +0 -14
- package/dist/settings-RQPAM4KC.js.map +0 -1
- package/dist/setup-3GQSYBE4.js +0 -35
- package/dist/setup-3GQSYBE4.js.map +0 -1
- package/dist/suggest-7D6B542M.js +0 -38
- package/dist/suggest-7D6B542M.js.map +0 -1
- package/dist/tunnel-service-CJLUH6SZ.js +0 -1174
- package/dist/tunnel-service-CJLUH6SZ.js.map +0 -1
- package/dist/version-NQZBM5M7.js +0 -16
- package/dist/version-NQZBM5M7.js.map +0 -1
package/README.md
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
# OpenACP
|
|
4
4
|
|
|
5
|
-
**
|
|
5
|
+
**Control AI coding agents from Telegram, Discord & Slack**
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Send a message. The agent writes code. You see everything — in real time.
|
|
8
8
|
|
|
9
9
|
[](LICENSE)
|
|
10
10
|
[](https://nodejs.org/)
|
|
11
11
|
[](https://agentclientprotocol.org/)
|
|
12
12
|
[](https://www.npmjs.com/package/@openacp/cli)
|
|
13
|
-
[](https://x.com/openacp_ai)
|
|
14
14
|
|
|
15
|
-
[
|
|
15
|
+
[Documentation](https://openacp.gitbook.io/docs) · [Quick Start](#quick-start) · [Features](#features) · [Agents](#supported-agents) · [Contributing](https://openacp.gitbook.io/docs/extending/contributing)
|
|
16
16
|
|
|
17
17
|
</div>
|
|
18
18
|
|
|
@@ -20,22 +20,20 @@ One message, any channel, any agent.
|
|
|
20
20
|
|
|
21
21
|
## What is OpenACP?
|
|
22
22
|
|
|
23
|
-
OpenACP
|
|
23
|
+
OpenACP is a self-hosted bridge that connects AI coding agents to your messaging platforms. You chat with an AI agent through Telegram, Discord, or Slack — it reads your codebase, writes code, runs commands, and streams results back to you in real time.
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
Built on the open [Agent Client Protocol (ACP)](https://agentclientprotocol.org/). Your machine, your keys, your data.
|
|
26
26
|
|
|
27
27
|
```
|
|
28
|
-
You (Telegram / Discord /
|
|
28
|
+
You (Telegram / Discord / Slack)
|
|
29
29
|
↓
|
|
30
|
-
OpenACP
|
|
31
|
-
↓
|
|
32
|
-
|
|
33
|
-
↓
|
|
34
|
-
|
|
30
|
+
OpenACP (bridge + session manager)
|
|
31
|
+
↓
|
|
32
|
+
AI Agent (Claude Code, Codex, Gemini, Cursor, ...)
|
|
33
|
+
↓
|
|
34
|
+
Your Codebase
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
## Screenshots
|
|
38
|
-
|
|
39
37
|
<div align="center">
|
|
40
38
|
<table>
|
|
41
39
|
<tr>
|
|
@@ -49,176 +47,142 @@ AI Agent (Claude Code, Codex, ...) File/Diff Viewer
|
|
|
49
47
|
</table>
|
|
50
48
|
</div>
|
|
51
49
|
|
|
52
|
-
##
|
|
53
|
-
|
|
54
|
-
OpenACP follows the [Agent Client Protocol (ACP)](https://agentclientprotocol.com/) standard — an open protocol for connecting AI coding agents to client applications. Agent definitions are loaded from the [official ACP Registry](https://agentclientprotocol.com/get-started/registry) via CDN ([`registry.json`](https://cdn.agentclientprotocol.com/registry/v1/latest/registry.json)), so new agents are available as soon as they're registered.
|
|
55
|
-
|
|
56
|
-
| Agent | Distribution | Description |
|
|
57
|
-
|-------|-------------|-------------|
|
|
58
|
-
| [Claude Agent](https://github.com/anthropics/claude-code) | npx | Anthropic's Claude coding agent |
|
|
59
|
-
| [Gemini CLI](https://github.com/google-gemini/gemini-cli) | npx | Google's official CLI for Gemini |
|
|
60
|
-
| [Codex CLI](https://github.com/openai/codex) | npx | OpenAI's coding assistant |
|
|
61
|
-
| [GitHub Copilot](https://github.com/github/copilot-cli) | npx | GitHub's AI pair programmer |
|
|
62
|
-
| [Cursor](https://www.cursor.com/) | binary | Cursor's coding agent |
|
|
63
|
-
| [Cline](https://github.com/cline/cline) | npx | Autonomous coding agent with file editing, commands, and browser |
|
|
64
|
-
| [goose](https://github.com/block/goose) | binary | Open source AI agent for engineering tasks |
|
|
65
|
-
| [Amp](https://github.com/tao12345666333/amp-acp) | binary | The frontier coding agent |
|
|
66
|
-
| [Auggie CLI](https://www.augmentcode.com/) | npx | Augment Code's agent with industry-leading context engine |
|
|
67
|
-
| [Junie](https://www.jetbrains.com/) | binary | AI coding agent by JetBrains |
|
|
68
|
-
| [Kilo](https://github.com/kilocode/kilo) | npx | The open source coding agent |
|
|
69
|
-
| [Qwen Code](https://github.com/QwenLM/qwen-code) | npx | Alibaba's Qwen coding assistant |
|
|
70
|
-
| [crow-cli](https://github.com/crowdecode/crow-cli) | uvx | Minimal ACP native coding agent |
|
|
71
|
-
| ...and more | | [See full registry →](https://agentclientprotocol.com/get-started/registry) |
|
|
50
|
+
## Quick Start
|
|
72
51
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
- **Multi-agent** — Claude Code, Codex, Gemini, Cursor, and [28+ ACP-compatible agents](#supported-agents)
|
|
78
|
-
- **Telegram** — Forum topics, real-time streaming, permission buttons, skill commands
|
|
79
|
-
- **Discord** — Forum/thread-based sessions, slash commands, button interactions
|
|
80
|
-
- **Session persistence** — Resume sessions across restarts
|
|
81
|
-
- **Daemon mode** — Background service with auto-start on boot
|
|
82
|
-
- **CLI API** — Create and manage sessions from the terminal
|
|
83
|
-
- **Config editor** — Interactive `openacp config` for all settings
|
|
84
|
-
- **Setup wizard** — Interactive first-run setup with bot validation and auto-detect
|
|
85
|
-
- **Plugin system** — Install channel adapters as npm packages
|
|
86
|
-
- **Structured logging** — Pino with rotation, per-session log files
|
|
87
|
-
- **Self-hosted** — Your keys, your data, your machine
|
|
88
|
-
|
|
89
|
-
### [Tunnel & Port Forwarding](docs/guide/tunnel.md)
|
|
90
|
-
|
|
91
|
-
Expose any local port to the internet — dev servers, APIs, static sites. Tunnel is enabled by default with Cloudflare (free, no account needed).
|
|
92
|
-
|
|
93
|
-
- `/tunnel 3000 my-app` in Telegram or `openacp tunnel add 3000 --label my-app` from CLI
|
|
94
|
-
- `/tunnels` to list active tunnels with public URLs and stop buttons
|
|
95
|
-
- Agents can create tunnels too — say "expose port 5173" and the agent handles it
|
|
96
|
-
- Built-in file/diff viewer — Monaco Editor (VS Code engine) with syntax highlighting, line range links, markdown preview
|
|
97
|
-
- Providers: Cloudflare (default), ngrok, bore, Tailscale Funnel
|
|
98
|
-
|
|
99
|
-
## Setup
|
|
52
|
+
```bash
|
|
53
|
+
# macOS / Linux
|
|
54
|
+
curl -fsSL https://raw.githubusercontent.com/Open-ACP/OpenACP/main/scripts/install.sh | bash
|
|
100
55
|
|
|
101
|
-
|
|
56
|
+
# Windows
|
|
57
|
+
powershell -c "irm https://raw.githubusercontent.com/Open-ACP/OpenACP/main/scripts/install.ps1 | iex"
|
|
58
|
+
```
|
|
102
59
|
|
|
103
|
-
|
|
104
|
-
- **A messaging platform** — Telegram, Discord, or both:
|
|
105
|
-
- **Telegram**: Create a bot via [@BotFather](https://t.me/BotFather), create a supergroup with Topics enabled, add bot as admin
|
|
106
|
-
- **Discord**: Create a bot at [Discord Developer Portal](https://discord.com/developers/applications), invite it to your server with Manage Channels + Send Messages permissions
|
|
60
|
+
Works on macOS, Linux & Windows. Installs Node.js (if needed) and everything else for you.
|
|
107
61
|
|
|
108
|
-
|
|
62
|
+
<details>
|
|
63
|
+
<summary>Or install via npm</summary>
|
|
109
64
|
|
|
110
65
|
```bash
|
|
111
66
|
npm install -g @openacp/cli
|
|
112
67
|
openacp
|
|
113
68
|
```
|
|
114
69
|
|
|
115
|
-
>
|
|
116
|
-
> The first run launches a setup wizard that asks you questions in the terminal (bot token, server selection, workspace path, etc.).
|
|
117
|
-
> You **must run it yourself in a terminal** — it cannot be run by a script or an AI agent because it requires interactive input.
|
|
70
|
+
</details>
|
|
118
71
|
|
|
119
|
-
The wizard
|
|
72
|
+
The interactive setup wizard walks you through everything:
|
|
120
73
|
|
|
121
|
-
1.
|
|
122
|
-
2.
|
|
123
|
-
3.
|
|
124
|
-
4.
|
|
125
|
-
5.
|
|
74
|
+
1. Choose your platform (Telegram, Discord, Slack, or multiple)
|
|
75
|
+
2. Connect your bot (token validation + auto-detection)
|
|
76
|
+
3. Pick a workspace directory
|
|
77
|
+
4. Select your default AI agent
|
|
78
|
+
5. Choose run mode (foreground or daemon)
|
|
126
79
|
|
|
127
|
-
|
|
80
|
+
That's it. Send a message to your bot and start coding.
|
|
128
81
|
|
|
129
|
-
|
|
82
|
+
> **Need detailed setup for a specific platform?** See the [Platform Setup guides](https://openacp.gitbook.io/docs/platform-setup).
|
|
130
83
|
|
|
131
|
-
|
|
132
|
-
# Foreground (shows logs in terminal)
|
|
133
|
-
openacp
|
|
84
|
+
## Features
|
|
134
85
|
|
|
135
|
-
|
|
136
|
-
openacp start
|
|
137
|
-
openacp stop
|
|
138
|
-
openacp status
|
|
139
|
-
openacp logs
|
|
140
|
-
```
|
|
86
|
+
### Messaging Platforms
|
|
141
87
|
|
|
142
|
-
|
|
88
|
+
| Platform | Status | Highlights |
|
|
89
|
+
|----------|--------|------------|
|
|
90
|
+
| **Telegram** | Stable | Forum topics per session, streaming, permission buttons, voice |
|
|
91
|
+
| **Discord** | Stable | Thread-based sessions, slash commands, button interactions |
|
|
92
|
+
| **Slack** | Stable | Socket Mode, channel-based sessions, thread organization |
|
|
143
93
|
|
|
144
|
-
|
|
145
|
-
# Agent management
|
|
146
|
-
openacp agents # List all agents (installed + available)
|
|
147
|
-
openacp agents install <name> # Install an agent from the ACP Registry
|
|
148
|
-
openacp agents uninstall <name> # Remove an installed agent
|
|
149
|
-
openacp agents info <name> # Show agent details & dependencies
|
|
150
|
-
openacp agents refresh # Force-refresh the registry
|
|
151
|
-
|
|
152
|
-
# API (requires running daemon)
|
|
153
|
-
openacp api new [agent] [workspace] # Create a new session
|
|
154
|
-
openacp api cancel <id> # Cancel a session
|
|
155
|
-
openacp api status # Show active sessions
|
|
156
|
-
openacp api agents # List available agents
|
|
157
|
-
|
|
158
|
-
# System
|
|
159
|
-
openacp config # Interactive config editor
|
|
160
|
-
openacp reset # Re-run the setup wizard
|
|
161
|
-
openacp update # Update to latest version
|
|
162
|
-
openacp install <plugin> # Install a plugin (e.g. @openacp/adapter-discord)
|
|
163
|
-
openacp uninstall <plugin>
|
|
164
|
-
openacp plugins # List installed plugins
|
|
165
|
-
```
|
|
94
|
+
### Core
|
|
166
95
|
|
|
167
|
-
|
|
96
|
+
- **28+ AI agents** — Claude Code, Codex, Gemini, Cursor, Copilot, and [more](#supported-agents)
|
|
97
|
+
- **Session management** — Each conversation gets its own thread/topic with auto-naming
|
|
98
|
+
- **Session persistence** — Sessions survive restarts, with configurable TTL
|
|
99
|
+
- **Permission control** — Approve or deny agent actions via buttons, with optional auto-approve
|
|
100
|
+
- **Real-time streaming** — See agent thinking, tool calls, and output as they happen
|
|
101
|
+
- **Agent switching** — Switch agents mid-conversation with `/switch`; history carries over automatically
|
|
168
102
|
|
|
169
|
-
|
|
103
|
+
### Developer Tools
|
|
170
104
|
|
|
171
|
-
**
|
|
105
|
+
- **Tunnel & port forwarding** — Expose local ports to the internet (Cloudflare, ngrok, bore, Tailscale)
|
|
106
|
+
- **Built-in file viewer** — Monaco Editor with syntax highlighting, diffs, and markdown preview
|
|
107
|
+
- **Session transfer** — Move sessions between terminal and chat (`/handoff`)
|
|
108
|
+
- **Agent switch** — Change which AI agent handles your session mid-conversation (`/switch`)
|
|
109
|
+
- **Voice & speech** — Send voice messages, get spoken responses (Groq STT + Edge TTS)
|
|
110
|
+
- **Usage tracking** — Token counts, cost reports, optional monthly budget limits
|
|
111
|
+
- **Context resume** — Resume sessions with full conversation history
|
|
172
112
|
|
|
173
|
-
|
|
174
|
-
|---------|-------------|
|
|
175
|
-
| `/new [agent] [workspace]` | Create a new session |
|
|
176
|
-
| `/newchat` | New session, same agent & workspace |
|
|
177
|
-
| `/cancel` | Cancel current session |
|
|
178
|
-
| `/status` | Show session or system status |
|
|
179
|
-
| `/agents` | Browse & install agents from ACP Registry |
|
|
180
|
-
| `/install <name>` | Install an agent directly |
|
|
113
|
+
### Operations
|
|
181
114
|
|
|
182
|
-
|
|
115
|
+
- **Daemon mode** — Run as a background service with auto-start on boot
|
|
116
|
+
- **CLI API** — Full REST API for automation (`openacp api ...`)
|
|
117
|
+
- **Plugin system** — Install adapters as npm packages
|
|
118
|
+
- **Doctor diagnostics** — `openacp doctor` checks everything and suggests fixes
|
|
119
|
+
- **Structured logging** — Pino with rotation, per-session log files
|
|
183
120
|
|
|
184
|
-
**
|
|
121
|
+
> **Full feature documentation** — [Documentation](https://openacp.gitbook.io/docs)
|
|
185
122
|
|
|
186
|
-
|
|
187
|
-
|---------|-------------|
|
|
188
|
-
| `/new [agent] [workspace]` | Create a new session |
|
|
189
|
-
| `/newchat` | New session, same agent & workspace |
|
|
190
|
-
| `/cancel` | Cancel current session |
|
|
191
|
-
| `/status` | Show session or system status |
|
|
192
|
-
| `/menu` | Open the control panel |
|
|
193
|
-
|
|
194
|
-
Each session gets its own thread in the sessions channel. The agent streams responses in real time, shows tool calls, and asks for permission when needed.
|
|
123
|
+
## Supported Agents
|
|
195
124
|
|
|
196
|
-
|
|
125
|
+
OpenACP uses the [ACP Registry](https://agentclientprotocol.com/get-started/registry) — new agents are available as soon as they're registered.
|
|
197
126
|
|
|
198
|
-
|
|
127
|
+
| Agent | Type | Description |
|
|
128
|
+
|-------|------|-------------|
|
|
129
|
+
| [Claude Code](https://github.com/anthropics/claude-code) | npx | Anthropic's Claude coding agent |
|
|
130
|
+
| [Gemini CLI](https://github.com/google-gemini/gemini-cli) | npx | Google's Gemini CLI |
|
|
131
|
+
| [Codex CLI](https://github.com/openai/codex) | npx | OpenAI's coding assistant |
|
|
132
|
+
| [GitHub Copilot](https://github.com/github/copilot-cli) | npx | GitHub's AI pair programmer |
|
|
133
|
+
| [Cursor](https://www.cursor.com/) | binary | Cursor's coding agent |
|
|
134
|
+
| [Cline](https://github.com/cline/cline) | npx | Autonomous coding agent |
|
|
135
|
+
| [goose](https://github.com/block/goose) | binary | Open source AI agent by Block |
|
|
136
|
+
| [Amp](https://github.com/tao12345666333/amp-acp) | binary | The frontier coding agent |
|
|
137
|
+
| [Auggie CLI](https://www.augmentcode.com/) | npx | Augment Code's context engine |
|
|
138
|
+
| [Junie](https://www.jetbrains.com/) | binary | AI coding agent by JetBrains |
|
|
139
|
+
| [Kilo](https://github.com/kilocode/kilo) | npx | Open source coding agent |
|
|
140
|
+
| [Qwen Code](https://github.com/QwenLM/qwen-code) | npx | Alibaba's Qwen assistant |
|
|
141
|
+
| ...and more | | [Full registry →](https://agentclientprotocol.com/get-started/registry) |
|
|
199
142
|
|
|
200
|
-
**Terminal → Chat:**
|
|
201
143
|
```bash
|
|
202
|
-
#
|
|
203
|
-
openacp
|
|
204
|
-
|
|
205
|
-
# In Claude CLI, type /openacp:handoff to transfer the current session
|
|
206
|
-
# Or manually:
|
|
207
|
-
openacp adopt claude <session_id> --cwd /path/to/project
|
|
144
|
+
openacp agents # Browse all agents
|
|
145
|
+
openacp agents install <name> # Install from registry
|
|
208
146
|
```
|
|
209
147
|
|
|
210
|
-
|
|
211
|
-
Type `/handoff` in any session topic/thread. The bot replies with a command you can paste in your terminal to continue.
|
|
148
|
+
## CLI Overview
|
|
212
149
|
|
|
213
|
-
|
|
150
|
+
```bash
|
|
151
|
+
# Server
|
|
152
|
+
openacp # Start (first run = setup wizard)
|
|
153
|
+
openacp start / stop / restart # Daemon management
|
|
154
|
+
openacp status # Check daemon status
|
|
155
|
+
openacp logs # Tail daemon logs
|
|
156
|
+
|
|
157
|
+
# Configuration
|
|
158
|
+
openacp config # Interactive config editor
|
|
159
|
+
openacp reset # Re-run setup wizard
|
|
160
|
+
openacp doctor # System diagnostics
|
|
161
|
+
|
|
162
|
+
# Sessions & API (requires running daemon)
|
|
163
|
+
openacp api new [agent] [workspace]
|
|
164
|
+
openacp api status
|
|
165
|
+
openacp api cancel <id>
|
|
166
|
+
|
|
167
|
+
# Tunnels
|
|
168
|
+
openacp tunnel add <port> [--label name]
|
|
169
|
+
openacp tunnel list
|
|
170
|
+
```
|
|
214
171
|
|
|
215
|
-
|
|
172
|
+
> **Full CLI reference** — [CLI Commands](https://openacp.gitbook.io/docs/api-reference/cli-commands)
|
|
216
173
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
-
|
|
174
|
+
## Documentation
|
|
175
|
+
|
|
176
|
+
| Section | Description |
|
|
177
|
+
|---------|-------------|
|
|
178
|
+
| [Getting Started](https://openacp.gitbook.io/docs/getting-started) | What is OpenACP, quickstart for users & developers |
|
|
179
|
+
| [Platform Setup](https://openacp.gitbook.io/docs/platform-setup) | Step-by-step guides for Telegram, Discord, Slack |
|
|
180
|
+
| [Using OpenACP](https://openacp.gitbook.io/docs/using-openacp) | Commands, sessions, agents, permissions, voice |
|
|
181
|
+
| [Self-Hosting](https://openacp.gitbook.io/docs/self-hosting) | Installation, configuration, daemon, security |
|
|
182
|
+
| [Features](https://openacp.gitbook.io/docs/features) | Tunnel, context resume, usage tracking, and more |
|
|
183
|
+
| [Extending](https://openacp.gitbook.io/docs/extending) | Plugin system, building adapters, contributing |
|
|
184
|
+
| [API Reference](https://openacp.gitbook.io/docs/api-reference) | CLI commands, REST API, config schema, env vars |
|
|
185
|
+
| [Troubleshooting](https://openacp.gitbook.io/docs/troubleshooting) | Common issues and FAQ |
|
|
222
186
|
|
|
223
187
|
## Star History
|
|
224
188
|
|
|
@@ -232,11 +196,11 @@ Sessions are not locked after transfer — you can continue from either side.
|
|
|
232
196
|
|
|
233
197
|
## Contributing
|
|
234
198
|
|
|
235
|
-
See [
|
|
199
|
+
We welcome contributions! See the [contributing guide](https://openacp.gitbook.io/docs/extending/contributing) for development setup, testing conventions, and PR process.
|
|
236
200
|
|
|
237
201
|
## Follow Us
|
|
238
202
|
|
|
239
|
-
[](https://x.com/openacp_ai)
|
|
240
204
|
|
|
241
205
|
## License
|
|
242
206
|
|
package/dist/cli.d.ts
CHANGED
|
@@ -1 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
interface InstanceFlags {
|
|
3
|
+
local: boolean;
|
|
4
|
+
global: boolean;
|
|
5
|
+
dir?: string;
|
|
6
|
+
from?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
}
|
|
9
|
+
declare function getResolvedInstanceRoot(): string | null;
|
|
10
|
+
declare function getInstanceFlags(): InstanceFlags;
|
|
11
|
+
|
|
12
|
+
export { type InstanceFlags, getInstanceFlags, getResolvedInstanceRoot };
|