@compozy/cli 0.3.0-beta.8 → 0.4.0
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 +91 -43
- package/install.js +0 -0
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<img src="packages/site/public/icon-512.png" alt="
|
|
2
|
+
<img src="packages/site/public/icon-512.png" alt="CompozyOS" width="96" height="96">
|
|
3
3
|
<h1>CompozyOS</h1>
|
|
4
|
-
<p><strong>
|
|
4
|
+
<p><strong>The system around the agent, already built.</strong></p>
|
|
5
|
+
<p>An operating system for AI agents.</p>
|
|
5
6
|
<p>
|
|
6
7
|
<a href="https://github.com/compozy/compozy/actions/workflows/ci.yml">
|
|
7
8
|
<img src="https://github.com/compozy/compozy/actions/workflows/ci.yml/badge.svg" alt="CI">
|
|
@@ -21,62 +22,68 @@
|
|
|
21
22
|
</p>
|
|
22
23
|
</div>
|
|
23
24
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
Anyone can prompt an agent. Making agents work continuously is still an engineering project: loops,
|
|
26
|
+
triggers, cron, permissions, approvals, observability, and the glue scripts that hold them
|
|
27
|
+
together. CompozyOS turns that entire agent stack into one product, a complete environment to
|
|
28
|
+
create, automate, and supervise agent work with the agent CLIs you already use (Claude Code,
|
|
29
|
+
Codex, and Cursor). Built first for developers and technical operators.
|
|
28
30
|
|
|
29
|
-
> [!
|
|
30
|
-
>
|
|
31
|
-
>
|
|
32
|
-
>
|
|
31
|
+
> [!NOTE]
|
|
32
|
+
> v0.4.0 is the first stable CompozyOS release. The previous v0.2 product has reached end of life
|
|
33
|
+
> and receives no further releases. Start with the [migration guide](MIGRATION_GUIDE.md) before
|
|
34
|
+
> replacing an existing v0.2 installation.
|
|
33
35
|
|
|
34
36
|
<div align="center">
|
|
35
|
-
<img src="imgs/screenshot.png" alt="CompozyOS
|
|
37
|
+
<img src="imgs/screenshot.png" alt="CompozyOS web shell" width="100%">
|
|
36
38
|
</div>
|
|
37
39
|
|
|
38
40
|
## ✨ Highlights
|
|
39
41
|
|
|
42
|
+
- **Create.** Sessions, agents, Loops, and capabilities are objects you author once and reuse, not
|
|
43
|
+
scripts you rewrite per run.
|
|
44
|
+
- **Automate.** Cron schedules, webhooks, and triggers keep work running with no terminal open.
|
|
45
|
+
- **Supervise.** Approvals, permissions, run state, artifacts, and agent activity stay inspectable
|
|
46
|
+
while work continues in the background.
|
|
40
47
|
- **Work survives the terminal.** Sessions and Loop runs belong to the daemon, so closing one client
|
|
41
48
|
does not erase the work.
|
|
42
|
-
- **
|
|
43
|
-
same
|
|
44
|
-
- **
|
|
45
|
-
|
|
49
|
+
- **Runs the agents you already use.** ACP-compatible CLIs (Claude Code, Codex, and Cursor)
|
|
50
|
+
operate the same daemon-owned state.
|
|
51
|
+
- **Batteries included.** One runtime, one state model: loops and approvals are core
|
|
52
|
+
objects, not plugins, reachable from web, CLI, HTTP/SSE, UDS, MCP, and native tools.
|
|
46
53
|
- **Local-first by default.** One Go binary and SQLite-backed stores keep runtime state on the
|
|
47
54
|
operator's machine unless a configured provider or extension owns an external boundary.
|
|
48
55
|
- **Remote access stays explicit.** The [Gateway](https://compozy.com/docs/gateway)
|
|
49
56
|
pairs devices and exposes only the private or public surfaces an operator enables.
|
|
50
|
-
- **Built to extend.** Agents, skills, capabilities, hooks,
|
|
57
|
+
- **Built to extend.** Agents, skills, capabilities, hooks, and extension kits plug into
|
|
51
58
|
explicit runtime contracts.
|
|
52
|
-
- **Compozy Network.** Sessions can discover peers, exchange typed messages, delegate work, and close
|
|
53
|
-
it with receipts over `compozy-network/v0`.
|
|
54
59
|
|
|
55
60
|
## 📦 Installation
|
|
56
61
|
|
|
57
|
-
The v0.3 beta ships through the channels below. Homebrew continues to serve the deprecated v0.2 line
|
|
58
|
-
during the beta window and is intentionally omitted here. The `compozy` formula returns with v0.3.0
|
|
59
|
-
stable.
|
|
60
|
-
|
|
61
62
|
#### Verified installer
|
|
62
63
|
|
|
63
|
-
The installer pins the latest published
|
|
64
|
-
binary on macOS or Linux.
|
|
64
|
+
The installer pins the latest published release and verifies Sigstore provenance before installing
|
|
65
|
+
the binary on macOS or Linux.
|
|
65
66
|
|
|
66
67
|
```bash
|
|
67
68
|
curl -fsSL https://compozy.com/install.sh | sh
|
|
68
69
|
```
|
|
69
70
|
|
|
71
|
+
#### Homebrew
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
brew install compozy/compozy/compozy
|
|
75
|
+
```
|
|
76
|
+
|
|
70
77
|
#### NPM
|
|
71
78
|
|
|
72
79
|
```bash
|
|
73
|
-
npm install -g @compozy/cli
|
|
80
|
+
npm install -g @compozy/cli
|
|
74
81
|
```
|
|
75
82
|
|
|
76
83
|
#### Go
|
|
77
84
|
|
|
78
|
-
|
|
79
|
-
|
|
85
|
+
Install with the explicit tag shown on the
|
|
86
|
+
[latest release](https://github.com/compozy/compozy/releases/latest):
|
|
80
87
|
|
|
81
88
|
```bash
|
|
82
89
|
go install github.com/compozy/compozy@<release-tag>
|
|
@@ -107,8 +114,8 @@ parallel model.
|
|
|
107
114
|
### Daemon Runtime Model
|
|
108
115
|
|
|
109
116
|
`compozy daemon start`, `compozy status`, and `compozy daemon stop` manage the local daemon.
|
|
110
|
-
Sessions, tasks, Loop runs,
|
|
111
|
-
automation
|
|
117
|
+
Sessions, tasks, Loop runs,
|
|
118
|
+
automation and tools keep explicit owners and workspace boundaries. Use
|
|
112
119
|
structured CLI output (`-o json`), HTTP/SSE, UDS, MCP, or native tools when another agent or program
|
|
113
120
|
needs to manage the same resources.
|
|
114
121
|
|
|
@@ -160,8 +167,9 @@ compozy extension dev hello
|
|
|
160
167
|
compozy tool invoke ext__hello__search --workspace . --input '{"query":"compozy"}'
|
|
161
168
|
```
|
|
162
169
|
|
|
163
|
-
|
|
164
|
-
the manifest.
|
|
170
|
+
Executable extensions are code-first: declare the tool once in code and `compozy extension build`
|
|
171
|
+
generates the manifest. Resource-only extensions can instead hand-write `extension.toml` and use the
|
|
172
|
+
same build, dev, reload, and watch loop without running extension code. Walkthrough:
|
|
165
173
|
[Build your first extension](https://compozy.com/docs/guides/build-your-first-extension).
|
|
166
174
|
|
|
167
175
|
### SDK support
|
|
@@ -184,13 +192,24 @@ compozy extension logs <name> --follow
|
|
|
184
192
|
- [Extensions](https://compozy.com/docs/extensions)
|
|
185
193
|
- [Publish an extension](https://compozy.com/docs/extensions/publish)
|
|
186
194
|
- [Capabilities and extension kits](https://compozy.com/docs/extensions)
|
|
187
|
-
- [Official
|
|
195
|
+
- [Official CompozyOS skill](skills/compozy/)
|
|
188
196
|
- [Migration guide](MIGRATION_GUIDE.md)
|
|
189
197
|
|
|
198
|
+
## Build an app
|
|
199
|
+
|
|
200
|
+
Use `@compozy/client` for TypeScript or `github.com/compozy/compozy/sdk/go/client` for Go to connect
|
|
201
|
+
an external app to your running daemon. Both clients provide typed operations and agent streams;
|
|
202
|
+
app tokens authorize trusted browser origins on the local listener.
|
|
203
|
+
|
|
204
|
+
Follow the [Build an app tutorials](https://compozy.com/docs/apps) for Node, a server-backed chat UI,
|
|
205
|
+
browser access, Go, and token administration. The [API reference](https://compozy.com/docs/api)
|
|
206
|
+
includes generated SDK calls for each operation. These app SDK surfaces are experimental in 0.4;
|
|
207
|
+
pin the exact version matching your daemon.
|
|
208
|
+
|
|
190
209
|
## 🚀 Quick Start
|
|
191
210
|
|
|
192
211
|
Bootstrap the home, start the daemon, enter the repository you want agents to work in, and create one
|
|
193
|
-
durable session.
|
|
212
|
+
durable session. CompozyOS infers and registers the workspace from the current directory; use
|
|
194
213
|
`--workspace <id|name|path>` only when you need an override.
|
|
195
214
|
|
|
196
215
|
```bash
|
|
@@ -215,13 +234,13 @@ compozy marketplace search --kind skill --query <term> -o json
|
|
|
215
234
|
|
|
216
235
|
### 🧠 Workflow Memory
|
|
217
236
|
|
|
218
|
-
|
|
219
|
-
the
|
|
220
|
-
|
|
237
|
+
Workflow memory is ordinary repository files under `.compozy/tasks/<name>/memory/`, written and read by
|
|
238
|
+
the spec-cycle skills. The v0.2 workflow-memory files remain repository artifacts; they are not
|
|
239
|
+
imported as hidden runtime state.
|
|
221
240
|
|
|
222
241
|
### 🤖 Supported Agents
|
|
223
242
|
|
|
224
|
-
|
|
243
|
+
CompozyOS runs ACP-compatible agent CLIs and adapters. The active provider catalog and each agent's
|
|
225
244
|
runtime settings are runtime truth; inspect them before selecting a model or reasoning mode. See the
|
|
226
245
|
[provider guide](https://compozy.com/docs/agents/providers) for authentication and
|
|
227
246
|
provider-home policies.
|
|
@@ -244,7 +263,6 @@ compozy doctor -o json
|
|
|
244
263
|
- [Quick Start](https://compozy.com/docs/getting-started/quick-start)
|
|
245
264
|
- [Migrate from v0.2.15](MIGRATION_GUIDE.md)
|
|
246
265
|
- [CLI reference](https://compozy.com/docs/cli-reference)
|
|
247
|
-
- [Compozy Network protocol](https://compozy.com/protocol)
|
|
248
266
|
- [GitHub releases](https://github.com/compozy/compozy/releases)
|
|
249
267
|
|
|
250
268
|
## 🛠️ Development
|
|
@@ -256,12 +274,42 @@ Vite HMR:
|
|
|
256
274
|
make dev
|
|
257
275
|
```
|
|
258
276
|
|
|
259
|
-
|
|
277
|
+
To populate the Northstar Pay demo and leave its daemon running in the background:
|
|
260
278
|
|
|
261
279
|
```bash
|
|
262
|
-
make
|
|
280
|
+
make demo-seed
|
|
281
|
+
# Optional isolated home and secondary port:
|
|
282
|
+
make demo-seed DEMO_HOME="$HOME/.compozy-demo-other" DEMO_PORT=2125
|
|
263
283
|
```
|
|
264
284
|
|
|
285
|
+
This builds the daemon and Web bundle, replaces the seed-owned scenario, and starts
|
|
286
|
+
the demo at `http://localhost:2124` using `~/.compozy-demo` by default. The main
|
|
287
|
+
instance is unchanged. To reseed a running demo, first stop its daemon with
|
|
288
|
+
`COMPOZY_HOME="$HOME/.compozy-demo" ./bin/compozy daemon stop` (use your custom home
|
|
289
|
+
if overridden). The raw `go run ./scripts/demo-seed --home <path>` command remains
|
|
290
|
+
available for data-only seeding. Existing demos in `~/.agh` can still be selected
|
|
291
|
+
explicitly with `DEMO_HOME`.
|
|
292
|
+
|
|
293
|
+
To prepare the same demo and open it in the Electron desktop shell:
|
|
294
|
+
|
|
295
|
+
```bash
|
|
296
|
+
make demo-seed-desktop
|
|
297
|
+
# The same overrides apply:
|
|
298
|
+
make demo-seed-desktop DEMO_HOME="$HOME/.compozy-demo-other" DEMO_PORT=2125
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
The desktop shell uses the demo home for its runtime connection and Electron
|
|
302
|
+
profile. Quitting Electron leaves the demo daemon running in the background.
|
|
303
|
+
As with `demo-seed`, stop an already-running demo before reseeding it.
|
|
304
|
+
|
|
305
|
+
Run the affected local gate before committing or pushing:
|
|
306
|
+
|
|
307
|
+
```bash
|
|
308
|
+
make gate
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
Delivery finishes in the draft PR: wait for every required CI check to pass on its current head.
|
|
312
|
+
|
|
265
313
|
Read [AGENTS.md](AGENTS.md) and the surface-specific instructions before editing.
|
|
266
314
|
|
|
267
315
|
## Star History
|
|
@@ -277,12 +325,12 @@ Read [AGENTS.md](AGENTS.md) and the surface-specific instructions before editing
|
|
|
277
325
|
## 🤝 Contributing
|
|
278
326
|
|
|
279
327
|
Contributions are welcome. Open an issue or pull request, keep public behavior agent-manageable, and
|
|
280
|
-
run `make
|
|
328
|
+
run `make gate` before sending changes, then keep the PR until its current-head CI is green. [Security reports](SECURITY.md) belong in the repository's
|
|
281
329
|
private security channel, not a public issue.
|
|
282
330
|
|
|
283
331
|
## Contributors
|
|
284
332
|
|
|
285
|
-
Thanks to everyone who has contributed to
|
|
333
|
+
Thanks to everyone who has contributed to CompozyOS.
|
|
286
334
|
|
|
287
335
|
<a href="https://github.com/compozy/compozy/graphs/contributors">
|
|
288
336
|
<img src="https://contrib.rocks/image?repo=compozy/compozy" alt="Contributors" />
|
|
@@ -290,4 +338,4 @@ Thanks to everyone who has contributed to Compozy.
|
|
|
290
338
|
|
|
291
339
|
## 📄 License
|
|
292
340
|
|
|
293
|
-
|
|
341
|
+
CompozyOS is distributed under the [MIT License](LICENSE).
|
package/install.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@compozy/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"description": "
|
|
4
|
+
"version": "0.4.0",
|
|
5
|
+
"description": "One complete environment to create, automate, and supervise agent work.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"postinstall": "node install.js",
|
|
8
8
|
"run": "node run-compozy.js"
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"type": "git",
|
|
12
12
|
"url": "git+https://github.com/compozy/compozy.git"
|
|
13
13
|
},
|
|
14
|
-
"author": "
|
|
14
|
+
"author": "CompozyOS Team",
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"bugs": {
|
|
17
17
|
"url": "https://github.com/compozy/compozy/issues"
|
|
@@ -28,50 +28,50 @@
|
|
|
28
28
|
"archives": {
|
|
29
29
|
"darwin-arm64": {
|
|
30
30
|
"name": "compozy_darwin_arm64.tar.gz",
|
|
31
|
-
"url": "https://github.com/compozy/compozy/releases/download/v0.
|
|
31
|
+
"url": "https://github.com/compozy/compozy/releases/download/v0.4.0/compozy_darwin_arm64.tar.gz",
|
|
32
32
|
"bins": [
|
|
33
33
|
"compozy"
|
|
34
34
|
],
|
|
35
35
|
"format": "tar.gz",
|
|
36
36
|
"checksum": {
|
|
37
37
|
"algorithm": "sha256",
|
|
38
|
-
"digest": "
|
|
38
|
+
"digest": "fba380310068a32460616fb4a19250bf080baa59c5513049d7e75423253c1fa2"
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"darwin-x64": {
|
|
42
42
|
"name": "compozy_darwin_x86_64.tar.gz",
|
|
43
|
-
"url": "https://github.com/compozy/compozy/releases/download/v0.
|
|
43
|
+
"url": "https://github.com/compozy/compozy/releases/download/v0.4.0/compozy_darwin_x86_64.tar.gz",
|
|
44
44
|
"bins": [
|
|
45
45
|
"compozy"
|
|
46
46
|
],
|
|
47
47
|
"format": "tar.gz",
|
|
48
48
|
"checksum": {
|
|
49
49
|
"algorithm": "sha256",
|
|
50
|
-
"digest": "
|
|
50
|
+
"digest": "891c1b1a738f153d6e2115216846db5e514401582ca6e49e0921b52164f989fa"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"linux-arm64": {
|
|
54
54
|
"name": "compozy_linux_arm64.tar.gz",
|
|
55
|
-
"url": "https://github.com/compozy/compozy/releases/download/v0.
|
|
55
|
+
"url": "https://github.com/compozy/compozy/releases/download/v0.4.0/compozy_linux_arm64.tar.gz",
|
|
56
56
|
"bins": [
|
|
57
57
|
"compozy"
|
|
58
58
|
],
|
|
59
59
|
"format": "tar.gz",
|
|
60
60
|
"checksum": {
|
|
61
61
|
"algorithm": "sha256",
|
|
62
|
-
"digest": "
|
|
62
|
+
"digest": "86fdf1c4c203f90171a5ba8d987f3cb698412e542a64c71189bffeb5b36df060"
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
"linux-x64": {
|
|
66
66
|
"name": "compozy_linux_x86_64.tar.gz",
|
|
67
|
-
"url": "https://github.com/compozy/compozy/releases/download/v0.
|
|
67
|
+
"url": "https://github.com/compozy/compozy/releases/download/v0.4.0/compozy_linux_x86_64.tar.gz",
|
|
68
68
|
"bins": [
|
|
69
69
|
"compozy"
|
|
70
70
|
],
|
|
71
71
|
"format": "tar.gz",
|
|
72
72
|
"checksum": {
|
|
73
73
|
"algorithm": "sha256",
|
|
74
|
-
"digest": "
|
|
74
|
+
"digest": "a4394a1b7bd5141a4083b2ca662b227ffb2fc26a43e492f04917e7d9787b1d8b"
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
}
|