@openacp/cli 0.6.10 → 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 +34 -16
- package/dist/cli.d.ts +11 -0
- package/dist/cli.js +27787 -467
- 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-ZOANORGM.js +0 -799
- package/dist/adapter-ZOANORGM.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-BNLGTZ34.js +0 -122
- package/dist/chunk-BNLGTZ34.js.map +0 -1
- package/dist/chunk-CS3KCJ5D.js +0 -4788
- package/dist/chunk-CS3KCJ5D.js.map +0 -1
- package/dist/chunk-GAK6PIBW.js +0 -224
- package/dist/chunk-GAK6PIBW.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-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-LCRLAV4G.js +0 -1085
- package/dist/chunk-LCRLAV4G.js.map +0 -1
- package/dist/chunk-LGP2YGRL.js +0 -4880
- package/dist/chunk-LGP2YGRL.js.map +0 -1
- package/dist/chunk-MKHUZLII.js +0 -738
- package/dist/chunk-MKHUZLII.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-OWP7RZ62.js +0 -697
- package/dist/chunk-OWP7RZ62.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-QQTZMWGD.js +0 -13
- package/dist/config-editor-QQTZMWGD.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-OMC52Y54.js +0 -2239
- package/dist/discord-OMC52Y54.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-XOZCLFUK.js +0 -238
- package/dist/main-XOZCLFUK.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-XHS4OMPM.js +0 -37
- package/dist/setup-XHS4OMPM.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
|
@@ -10,9 +10,9 @@ Send a message. The agent writes code. You see everything — in real time.
|
|
|
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
|
-
[Documentation](
|
|
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
|
|
|
@@ -49,11 +49,26 @@ Your Codebase
|
|
|
49
49
|
|
|
50
50
|
## Quick Start
|
|
51
51
|
|
|
52
|
+
```bash
|
|
53
|
+
# macOS / Linux
|
|
54
|
+
curl -fsSL https://raw.githubusercontent.com/Open-ACP/OpenACP/main/scripts/install.sh | bash
|
|
55
|
+
|
|
56
|
+
# Windows
|
|
57
|
+
powershell -c "irm https://raw.githubusercontent.com/Open-ACP/OpenACP/main/scripts/install.ps1 | iex"
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Works on macOS, Linux & Windows. Installs Node.js (if needed) and everything else for you.
|
|
61
|
+
|
|
62
|
+
<details>
|
|
63
|
+
<summary>Or install via npm</summary>
|
|
64
|
+
|
|
52
65
|
```bash
|
|
53
66
|
npm install -g @openacp/cli
|
|
54
67
|
openacp
|
|
55
68
|
```
|
|
56
69
|
|
|
70
|
+
</details>
|
|
71
|
+
|
|
57
72
|
The interactive setup wizard walks you through everything:
|
|
58
73
|
|
|
59
74
|
1. Choose your platform (Telegram, Discord, Slack, or multiple)
|
|
@@ -64,7 +79,7 @@ The interactive setup wizard walks you through everything:
|
|
|
64
79
|
|
|
65
80
|
That's it. Send a message to your bot and start coding.
|
|
66
81
|
|
|
67
|
-
> **Need detailed setup for a specific platform?** See the [Platform Setup guides](docs/
|
|
82
|
+
> **Need detailed setup for a specific platform?** See the [Platform Setup guides](https://openacp.gitbook.io/docs/platform-setup).
|
|
68
83
|
|
|
69
84
|
## Features
|
|
70
85
|
|
|
@@ -83,12 +98,14 @@ That's it. Send a message to your bot and start coding.
|
|
|
83
98
|
- **Session persistence** — Sessions survive restarts, with configurable TTL
|
|
84
99
|
- **Permission control** — Approve or deny agent actions via buttons, with optional auto-approve
|
|
85
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
|
|
86
102
|
|
|
87
103
|
### Developer Tools
|
|
88
104
|
|
|
89
105
|
- **Tunnel & port forwarding** — Expose local ports to the internet (Cloudflare, ngrok, bore, Tailscale)
|
|
90
106
|
- **Built-in file viewer** — Monaco Editor with syntax highlighting, diffs, and markdown preview
|
|
91
107
|
- **Session transfer** — Move sessions between terminal and chat (`/handoff`)
|
|
108
|
+
- **Agent switch** — Change which AI agent handles your session mid-conversation (`/switch`)
|
|
92
109
|
- **Voice & speech** — Send voice messages, get spoken responses (Groq STT + Edge TTS)
|
|
93
110
|
- **Usage tracking** — Token counts, cost reports, optional monthly budget limits
|
|
94
111
|
- **Context resume** — Resume sessions with full conversation history
|
|
@@ -101,7 +118,7 @@ That's it. Send a message to your bot and start coding.
|
|
|
101
118
|
- **Doctor diagnostics** — `openacp doctor` checks everything and suggests fixes
|
|
102
119
|
- **Structured logging** — Pino with rotation, per-session log files
|
|
103
120
|
|
|
104
|
-
> **Full feature documentation** — [
|
|
121
|
+
> **Full feature documentation** — [Documentation](https://openacp.gitbook.io/docs)
|
|
105
122
|
|
|
106
123
|
## Supported Agents
|
|
107
124
|
|
|
@@ -133,7 +150,8 @@ openacp agents install <name> # Install from registry
|
|
|
133
150
|
```bash
|
|
134
151
|
# Server
|
|
135
152
|
openacp # Start (first run = setup wizard)
|
|
136
|
-
openacp start / stop /
|
|
153
|
+
openacp start / stop / restart # Daemon management
|
|
154
|
+
openacp status # Check daemon status
|
|
137
155
|
openacp logs # Tail daemon logs
|
|
138
156
|
|
|
139
157
|
# Configuration
|
|
@@ -151,20 +169,20 @@ openacp tunnel add <port> [--label name]
|
|
|
151
169
|
openacp tunnel list
|
|
152
170
|
```
|
|
153
171
|
|
|
154
|
-
> **Full CLI reference** — [
|
|
172
|
+
> **Full CLI reference** — [CLI Commands](https://openacp.gitbook.io/docs/api-reference/cli-commands)
|
|
155
173
|
|
|
156
174
|
## Documentation
|
|
157
175
|
|
|
158
176
|
| Section | Description |
|
|
159
177
|
|---------|-------------|
|
|
160
|
-
| [Getting Started](docs/
|
|
161
|
-
| [Platform Setup](docs/
|
|
162
|
-
| [Using OpenACP](docs/
|
|
163
|
-
| [Self-Hosting](docs/
|
|
164
|
-
| [Features](docs/
|
|
165
|
-
| [Extending](docs/
|
|
166
|
-
| [API Reference](docs/
|
|
167
|
-
| [Troubleshooting](docs/
|
|
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 |
|
|
168
186
|
|
|
169
187
|
## Star History
|
|
170
188
|
|
|
@@ -178,11 +196,11 @@ openacp tunnel list
|
|
|
178
196
|
|
|
179
197
|
## Contributing
|
|
180
198
|
|
|
181
|
-
We welcome contributions! See the [contributing guide](docs/
|
|
199
|
+
We welcome contributions! See the [contributing guide](https://openacp.gitbook.io/docs/extending/contributing) for development setup, testing conventions, and PR process.
|
|
182
200
|
|
|
183
201
|
## Follow Us
|
|
184
202
|
|
|
185
|
-
[](https://x.com/openacp_ai)
|
|
186
204
|
|
|
187
205
|
## License
|
|
188
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 };
|