@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.
Files changed (133) hide show
  1. package/README.md +116 -152
  2. package/dist/cli.d.ts +11 -0
  3. package/dist/cli.js +27740 -415
  4. package/dist/cli.js.map +1 -1
  5. package/dist/data/registry-snapshot.json +1 -1
  6. package/dist/index.d.ts +1944 -463
  7. package/dist/index.js +17365 -102
  8. package/dist/index.js.map +1 -1
  9. package/package.json +13 -7
  10. package/dist/action-detect-P7ZE4NEM.js +0 -16
  11. package/dist/action-detect-P7ZE4NEM.js.map +0 -1
  12. package/dist/adapter-LNEGLMOE.js +0 -799
  13. package/dist/adapter-LNEGLMOE.js.map +0 -1
  14. package/dist/admin-6SYB6XCZ.js +0 -23
  15. package/dist/admin-6SYB6XCZ.js.map +0 -1
  16. package/dist/agent-catalog-FC3HGDEQ.js +0 -11
  17. package/dist/agent-catalog-FC3HGDEQ.js.map +0 -1
  18. package/dist/agent-dependencies-4OWBMZWZ.js +0 -24
  19. package/dist/agent-dependencies-4OWBMZWZ.js.map +0 -1
  20. package/dist/agent-registry-WT4NXPYG.js +0 -9
  21. package/dist/agent-registry-WT4NXPYG.js.map +0 -1
  22. package/dist/agent-store-VZLFPTZU.js +0 -9
  23. package/dist/agent-store-VZLFPTZU.js.map +0 -1
  24. package/dist/agents-QO7DKARJ.js +0 -15
  25. package/dist/agents-QO7DKARJ.js.map +0 -1
  26. package/dist/api-client-CFQT5U7D.js +0 -14
  27. package/dist/api-client-CFQT5U7D.js.map +0 -1
  28. package/dist/autostart-X33OGMX6.js +0 -23
  29. package/dist/autostart-X33OGMX6.js.map +0 -1
  30. package/dist/chunk-2CJ46J3C.js +0 -154
  31. package/dist/chunk-2CJ46J3C.js.map +0 -1
  32. package/dist/chunk-2HMQOC7N.js +0 -134
  33. package/dist/chunk-2HMQOC7N.js.map +0 -1
  34. package/dist/chunk-33RP6K2O.js +0 -435
  35. package/dist/chunk-33RP6K2O.js.map +0 -1
  36. package/dist/chunk-34M4OS5P.js +0 -83
  37. package/dist/chunk-34M4OS5P.js.map +0 -1
  38. package/dist/chunk-4CTX774K.js +0 -265
  39. package/dist/chunk-4CTX774K.js.map +0 -1
  40. package/dist/chunk-7QJS2XBD.js +0 -92
  41. package/dist/chunk-7QJS2XBD.js.map +0 -1
  42. package/dist/chunk-BDYVCIBH.js +0 -735
  43. package/dist/chunk-BDYVCIBH.js.map +0 -1
  44. package/dist/chunk-BN3X7UXB.js +0 -738
  45. package/dist/chunk-BN3X7UXB.js.map +0 -1
  46. package/dist/chunk-BNLGTZ34.js +0 -122
  47. package/dist/chunk-BNLGTZ34.js.map +0 -1
  48. package/dist/chunk-GAK6PIBW.js +0 -224
  49. package/dist/chunk-GAK6PIBW.js.map +0 -1
  50. package/dist/chunk-H5P2C6H4.js +0 -4740
  51. package/dist/chunk-H5P2C6H4.js.map +0 -1
  52. package/dist/chunk-I7WC6E5S.js +0 -71
  53. package/dist/chunk-I7WC6E5S.js.map +0 -1
  54. package/dist/chunk-J4SJTKIK.js +0 -203
  55. package/dist/chunk-J4SJTKIK.js.map +0 -1
  56. package/dist/chunk-JHYXKVV2.js +0 -183
  57. package/dist/chunk-JHYXKVV2.js.map +0 -1
  58. package/dist/chunk-JKBFUAJK.js +0 -282
  59. package/dist/chunk-JKBFUAJK.js.map +0 -1
  60. package/dist/chunk-JUYDFUSN.js +0 -673
  61. package/dist/chunk-JUYDFUSN.js.map +0 -1
  62. package/dist/chunk-KIRH7TUJ.js +0 -219
  63. package/dist/chunk-KIRH7TUJ.js.map +0 -1
  64. package/dist/chunk-LBIKITQT.js +0 -22
  65. package/dist/chunk-LBIKITQT.js.map +0 -1
  66. package/dist/chunk-LGP2YGRL.js +0 -4880
  67. package/dist/chunk-LGP2YGRL.js.map +0 -1
  68. package/dist/chunk-NAMYZIS5.js +0 -1
  69. package/dist/chunk-NAMYZIS5.js.map +0 -1
  70. package/dist/chunk-NVPG6JCL.js +0 -724
  71. package/dist/chunk-NVPG6JCL.js.map +0 -1
  72. package/dist/chunk-O7CPGUAI.js +0 -298
  73. package/dist/chunk-O7CPGUAI.js.map +0 -1
  74. package/dist/chunk-S64CB6J3.js +0 -98
  75. package/dist/chunk-S64CB6J3.js.map +0 -1
  76. package/dist/chunk-UKT3G5IA.js +0 -484
  77. package/dist/chunk-UKT3G5IA.js.map +0 -1
  78. package/dist/chunk-V5GZQEIY.js +0 -101
  79. package/dist/chunk-V5GZQEIY.js.map +0 -1
  80. package/dist/chunk-VOIJ6OY4.js +0 -63
  81. package/dist/chunk-VOIJ6OY4.js.map +0 -1
  82. package/dist/chunk-VUNV25KB.js +0 -16
  83. package/dist/chunk-VUNV25KB.js.map +0 -1
  84. package/dist/chunk-W3EYKZNQ.js +0 -45
  85. package/dist/chunk-W3EYKZNQ.js.map +0 -1
  86. package/dist/chunk-WTZDAYZX.js +0 -172
  87. package/dist/chunk-WTZDAYZX.js.map +0 -1
  88. package/dist/chunk-XANPHG7W.js +0 -145
  89. package/dist/chunk-XANPHG7W.js.map +0 -1
  90. package/dist/config-6S355X75.js +0 -15
  91. package/dist/config-6S355X75.js.map +0 -1
  92. package/dist/config-editor-RVLWZLVB.js +0 -13
  93. package/dist/config-editor-RVLWZLVB.js.map +0 -1
  94. package/dist/config-registry-AHYI4MYL.js +0 -18
  95. package/dist/config-registry-AHYI4MYL.js.map +0 -1
  96. package/dist/daemon-4CS6HMB5.js +0 -30
  97. package/dist/daemon-4CS6HMB5.js.map +0 -1
  98. package/dist/discord-7IVQKB2H.js +0 -2083
  99. package/dist/discord-7IVQKB2H.js.map +0 -1
  100. package/dist/dist-UHQK5CXN.js +0 -21151
  101. package/dist/dist-UHQK5CXN.js.map +0 -1
  102. package/dist/doctor-HZZ5BSHB.js +0 -10
  103. package/dist/doctor-HZZ5BSHB.js.map +0 -1
  104. package/dist/doctor-OLYBO3V3.js +0 -15
  105. package/dist/doctor-OLYBO3V3.js.map +0 -1
  106. package/dist/install-cloudflared-Z7VCGOVG.js +0 -33
  107. package/dist/install-cloudflared-Z7VCGOVG.js.map +0 -1
  108. package/dist/install-jq-HUYSQWKR.js +0 -32
  109. package/dist/install-jq-HUYSQWKR.js.map +0 -1
  110. package/dist/integrate-PNEHRY2I.js +0 -373
  111. package/dist/integrate-PNEHRY2I.js.map +0 -1
  112. package/dist/log-NXABYJTT.js +0 -24
  113. package/dist/log-NXABYJTT.js.map +0 -1
  114. package/dist/main-ZK4MPMBG.js +0 -238
  115. package/dist/main-ZK4MPMBG.js.map +0 -1
  116. package/dist/menu-YY5MKHEK.js +0 -16
  117. package/dist/menu-YY5MKHEK.js.map +0 -1
  118. package/dist/new-session-FEO4J4VU.js +0 -17
  119. package/dist/new-session-FEO4J4VU.js.map +0 -1
  120. package/dist/post-upgrade-CJG5I7M2.js +0 -80
  121. package/dist/post-upgrade-CJG5I7M2.js.map +0 -1
  122. package/dist/session-IUSI7P5S.js +0 -20
  123. package/dist/session-IUSI7P5S.js.map +0 -1
  124. package/dist/settings-RQPAM4KC.js +0 -14
  125. package/dist/settings-RQPAM4KC.js.map +0 -1
  126. package/dist/setup-3GQSYBE4.js +0 -35
  127. package/dist/setup-3GQSYBE4.js.map +0 -1
  128. package/dist/suggest-7D6B542M.js +0 -38
  129. package/dist/suggest-7D6B542M.js.map +0 -1
  130. package/dist/tunnel-service-CJLUH6SZ.js +0 -1174
  131. package/dist/tunnel-service-CJLUH6SZ.js.map +0 -1
  132. package/dist/version-NQZBM5M7.js +0 -16
  133. package/dist/version-NQZBM5M7.js.map +0 -1
package/README.md CHANGED
@@ -2,17 +2,17 @@
2
2
 
3
3
  # OpenACP
4
4
 
5
- **Self-hosted bridge between messaging platforms and AI coding agents**
5
+ **Control AI coding agents from Telegram, Discord & Slack**
6
6
 
7
- One message, any channel, any agent.
7
+ Send a message. The agent writes code. You see everything — in real time.
8
8
 
9
9
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
10
10
  [![Node.js >= 20](https://img.shields.io/badge/Node.js-%3E%3D%2020-green.svg)](https://nodejs.org/)
11
11
  [![ACP Protocol](https://img.shields.io/badge/Protocol-ACP-purple.svg)](https://agentclientprotocol.org/)
12
12
  [![npm](https://img.shields.io/npm/v/@openacp/cli.svg)](https://www.npmjs.com/package/@openacp/cli)
13
- [![Twitter Follow](https://img.shields.io/twitter/follow/Open_ACP?style=social)](https://x.com/Open_ACP)
13
+ [![Twitter Follow](https://img.shields.io/twitter/follow/openacp_ai?style=social)](https://x.com/openacp_ai)
14
14
 
15
- [Getting Started](docs/guide/getting-started.md) | [Agents](docs/guide/agents.md) | [Usage](docs/guide/usage.md) | [Configuration](docs/guide/configuration.md) | [Plugins](docs/guide/plugins.md) | [Development](docs/guide/development.md)
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 lets you control AI coding agents (Claude Code, Codex, ...) from messaging apps like Telegram and Discord. You send a message, the agent writes code, runs commands, and streams everything back in real time.
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
- It uses the [Agent Client Protocol (ACP)](https://agentclientprotocol.org/) to talk to agents. You host it on your own machine, so you own the data.
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 ─── ChannelAdapter ─── Session Manager ─── Session Store
31
-
32
- ACP Protocol (JSON-RPC / stdio) Tunnel Service
33
-
34
- AI Agent (Claude Code, Codex, ...) File/Diff Viewer
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
- ## Supported Agents
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
- > **28+ agents supported** — any agent registered in the ACP Registry works out of the box. Install with `openacp agents install <name>` or browse from Telegram with `/agents`.
74
-
75
- ## Features
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
- ### Prerequisites
56
+ # Windows
57
+ powershell -c "irm https://raw.githubusercontent.com/Open-ACP/OpenACP/main/scripts/install.ps1 | iex"
58
+ ```
102
59
 
103
- - **Node.js 20+**
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
- ### Install & first run
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
- > **Important: `openacp` is an interactive CLI.**
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 will:
72
+ The interactive setup wizard walks you through everything:
120
73
 
121
- 1. **Choose your channel(s)** — Telegram, Discord, or both
122
- 2. **Configure bot credentials** — bot token and server/group ID, validated against the platform API
123
- 3. **Set a workspace directory** — where agents will create project folders (default: `~/openacp-workspace`)
124
- 4. **Detect installed agents** finds Claude Code, Codex, etc.
125
- 5. **Choose run mode** foreground (in terminal) or background (daemon with auto-start)
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
- Config is saved to `~/.openacp/config.json`. After setup, OpenACP starts automatically.
80
+ That's it. Send a message to your bot and start coding.
128
81
 
129
- ### Running after setup
82
+ > **Need detailed setup for a specific platform?** See the [Platform Setup guides](https://openacp.gitbook.io/docs/platform-setup).
130
83
 
131
- ```bash
132
- # Foreground (shows logs in terminal)
133
- openacp
84
+ ## Features
134
85
 
135
- # Or as a background daemon
136
- openacp start
137
- openacp stop
138
- openacp status
139
- openacp logs
140
- ```
86
+ ### Messaging Platforms
141
87
 
142
- ### Other CLI commands
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
- ```bash
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
- ## Usage
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
- Once OpenACP is running, control it from Telegram or Discord:
103
+ ### Developer Tools
170
104
 
171
- **Telegram** — Bot commands in your supergroup:
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
- | Command | Description |
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
- Each session gets its own forum topic.
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
- **Discord** — Slash commands in your server:
121
+ > **Full feature documentation** — [Documentation](https://openacp.gitbook.io/docs)
185
122
 
186
- | Command | Description |
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
- ### Session Transfer
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
- Move sessions between your terminal and messaging platforms:
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
- # Install integration (one-time)
203
- openacp integrate claude
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
- **Chat Terminal:**
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
- Sessions are not locked after transfer — you can continue from either side.
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
- ## Roadmap
172
+ > **Full CLI reference** — [CLI Commands](https://openacp.gitbook.io/docs/api-reference/cli-commands)
216
173
 
217
- - **Phase 1** — Core + Telegram + ACP agents
218
- - **Phase 2** — Tunnel/file viewer, session persistence, logging, plugin system
219
- - **Phase 3** Agent skills as commands, Discord adapter 🚧, Web UI
220
- - **Phase 4** — Voice control, file/image sharing
221
- - **Phase 5** WhatsApp, agent chaining, plugin marketplace
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 [development guide](docs/guide/development.md).
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
- [![Twitter Follow](https://img.shields.io/twitter/follow/Open_ACP?style=social)](https://x.com/Open_ACP)
203
+ [![Twitter Follow](https://img.shields.io/twitter/follow/openacp_ai?style=social)](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 };