@compozy/cli 0.3.0-beta.9 → 0.4.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 (3) hide show
  1. package/README.md +85 -37
  2. package/install.js +0 -0
  3. package/package.json +10 -10
package/README.md CHANGED
@@ -1,7 +1,8 @@
1
1
  <div align="center">
2
2
  <img src="packages/site/public/icon-512.png" alt="CompozyOS" width="96" height="96">
3
3
  <h1>CompozyOS</h1>
4
- <p><strong>A local-first operating system for agent work.</strong></p>
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
- CompozyOS gives agent work a durable place to live. One local daemon connects sessions, tasks,
25
- loops, memory, permissions, automation, and tools. People can see and steer the work through the web
26
- shell and CLI; agents operate the same state through structured HTTP, UDS, MCP, and native-tool
27
- surfaces.
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
- > [!WARNING]
30
- > The v0.3 line is in beta. The previous v0.2.15 product is deprecated and maintained only for
31
- > critical fixes on [`legacy/v0.2`](https://github.com/compozy/compozy/tree/legacy/v0.2). Start with
32
- > the [migration guide](MIGRATION_GUIDE.md) before replacing an existing v0.2 installation.
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 workspace with durable agent work" width="100%">
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
- - **One state, several control surfaces.** Web, CLI, HTTP/SSE, UDS, MCP, and native tools expose the
43
- same runtime-owned resources.
44
- - **People stay in control.** Approvals, permissions, run state, artifacts, and agent activity remain
45
- inspectable while work continues in the background.
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, bridges, and extension kits plug into
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 beta and verifies Sigstore provenance before installing the
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@beta
80
+ npm install -g @compozy/cli
74
81
  ```
75
82
 
76
83
  #### Go
77
84
 
78
- Go's `@latest` still resolves the v0.2 stable line while v0.3 is in beta, so install with the
79
- explicit tag shown on the [latest release](https://github.com/compozy/compozy/releases/latest):
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, memory,
111
- automation, tools, and Compozy Network activity keep explicit owners and workspace boundaries. Use
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
- Authoring is code-first: you declare the tool once in code and `compozy extension build` generates
164
- the manifest. Walkthrough:
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
@@ -187,6 +195,17 @@ compozy extension logs <name> --follow
187
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
@@ -215,9 +234,9 @@ compozy marketplace search --kind skill --query <term> -o json
215
234
 
216
235
  ### 🧠 Workflow Memory
217
236
 
218
- Durable memory is scoped and daemon-owned. Agents can inspect, propose, and consolidate memory through
219
- the same public contracts as people. The v0.2 workflow-memory files remain ordinary repository
220
- artifacts; they are not imported as hidden runtime state.
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
 
@@ -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
- Run the full repository gate once the change is ready:
277
+ To populate the Northstar Pay demo and leave its daemon running in the background:
260
278
 
261
279
  ```bash
262
- make verify
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,7 +325,7 @@ 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 verify` before sending changes. [Security reports](SECURITY.md) belong in the repository's
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
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.3.0-beta.9",
5
- "description": "A local-first operating system for agent work.",
4
+ "version": "0.4.1",
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"
@@ -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.3.0-beta.9/compozy_darwin_arm64.tar.gz",
31
+ "url": "https://github.com/compozy/compozy/releases/download/v0.4.1/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": "9710c3d02df19b3e2d0e63746a577495619fda2d508d024dde6ca6caffb44a5a"
38
+ "digest": "fa002927cc9f6e6a2b81640314628e2b49a5e7a32a1663390f2a5a41b8c62b44"
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.3.0-beta.9/compozy_darwin_x86_64.tar.gz",
43
+ "url": "https://github.com/compozy/compozy/releases/download/v0.4.1/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": "df65b0a49794245c9b36ffad4009a11c15f5507a5727f3b9dbdd96e73e76fc7f"
50
+ "digest": "6b30e16172ab4fd67f9e48f2a3045a63b192641b124748d41e517cf634ee6ba3"
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.3.0-beta.9/compozy_linux_arm64.tar.gz",
55
+ "url": "https://github.com/compozy/compozy/releases/download/v0.4.1/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": "cd328cc0f709f9cda4cf0c795d041fbd1869ae6fb5009d8a4dab577de2d925ee"
62
+ "digest": "42ad778ef649fed145f956d1818c4dd1da45508795ecbf2e8c17adc817f2cd0c"
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.3.0-beta.9/compozy_linux_x86_64.tar.gz",
67
+ "url": "https://github.com/compozy/compozy/releases/download/v0.4.1/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": "ca590110212d3c926a11990774d3d12d19fbcd5c165af99dc66edaa76e95abb1"
74
+ "digest": "ae5c2006da5be8270c72be66a2fda1bfa16a5de3194ace21074bc1e4ee784330"
75
75
  }
76
76
  }
77
77
  }