cotal-ai 0.109.24 → 0.110.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.
@@ -350,17 +350,17 @@ const daemonCommand = {
350
350
  positionals: "<status|serve|login|connect-check|register|service-connect|service-disconnect|service-status>",
351
351
  flags: daemonFlags,
352
352
  subcommands: [
353
- { name: "status", summary: "ask the running daemon for its status over the local endpoint", flagNames: ["daemon-home", "json", "plain"], outputs: ["json", "plain"], reads: true, prepareMeshTarget: false },
354
- { name: "serve", summary: "run the daemon in the foreground and serve its local endpoint (refusals honor --json)", flagNames: ["daemon-home", "json", "plain"], outputs: ["json", "plain"], prepareMeshTarget: false },
355
- { name: "login", summary: "sign the running daemon in to a provider with device approval; the daemon keeps the session", flagNames: ["idp", "client-id", "daemon-home", "json", "plain"], outputs: ["json", "plain"], prepareMeshTarget: false },
356
- { name: "connect-check", summary: "ask the running daemon whether it could register with a space as its own service; registers nothing", flagNames: ["space", "daemon-home", "json", "plain"], outputs: ["json", "plain"], reads: true, prepareMeshTarget: false },
357
- { name: "register", summary: "ask the running daemon to request its own service registration with a space; the space owner must approve it, and it does not connect", flagNames: ["space", "daemon-home", "json", "plain"], outputs: ["json", "plain"], prepareMeshTarget: false },
358
- { name: "service-connect", summary: "connect the running daemon to a space as its own approved service; succeeds only when the broker accepts the connection and the space accepts it as ready", flagNames: ["space", "daemon-home", "json", "plain"], outputs: ["json", "plain"], prepareMeshTarget: false },
359
- { name: "service-disconnect", summary: "close the running daemon's service connection to a space", flagNames: ["space", "daemon-home", "json", "plain"], outputs: ["json", "plain"], prepareMeshTarget: false },
360
- { name: "service-status", summary: "read the running daemon's service connection to a space, without contacting it", flagNames: ["space", "daemon-home", "json", "plain"], outputs: ["json", "plain"], reads: true, prepareMeshTarget: false },
353
+ { name: "status", summary: "ask the running daemon for its status over the local endpoint", examples: [{ command: "cotal daemon status", note: "ask the running daemon for its status" }, { command: "cotal daemon status --json", note: "the same as one JSON document" }], flagNames: ["daemon-home", "json", "plain"], outputs: ["json", "plain"], reads: true, prepareMeshTarget: false },
354
+ { name: "serve", summary: "run the daemon in the foreground and serve its local endpoint (refusals honor --json)", examples: [{ command: "cotal daemon serve", note: "run the machine daemon in this terminal" }], flagNames: ["daemon-home", "json", "plain"], outputs: ["json", "plain"], prepareMeshTarget: false },
355
+ { name: "login", summary: "sign the running daemon in to a provider with device approval; the daemon keeps the session", examples: [{ command: "cotal daemon login --idp <url>", note: "sign the daemon in with device approval" }], flagNames: ["idp", "client-id", "daemon-home", "json", "plain"], outputs: ["json", "plain"], prepareMeshTarget: false },
356
+ { name: "connect-check", summary: "ask the running daemon whether it could register with a space as its own service; registers nothing", examples: [{ command: "cotal daemon connect-check --space <space>", note: "check whether it could register" }], flagNames: ["space", "daemon-home", "json", "plain"], outputs: ["json", "plain"], reads: true, prepareMeshTarget: false },
357
+ { name: "register", summary: "ask the running daemon to request its own service registration with a space; the space owner must approve it, and it does not connect", examples: [{ command: "cotal daemon register --space <space>", note: "ask a space to approve it as a service" }], flagNames: ["space", "daemon-home", "json", "plain"], outputs: ["json", "plain"], prepareMeshTarget: false },
358
+ { name: "service-connect", summary: "connect the running daemon to a space as its own approved service; succeeds only when the broker accepts the connection and the space accepts it as ready", examples: [{ command: "cotal daemon service-connect --space <space>", note: "connect it to a space" }], flagNames: ["space", "daemon-home", "json", "plain"], outputs: ["json", "plain"], prepareMeshTarget: false },
359
+ { name: "service-disconnect", summary: "close the running daemon's service connection to a space", examples: [{ command: "cotal daemon service-disconnect --space <space>", note: "close its service connection to a space" }], flagNames: ["space", "daemon-home", "json", "plain"], outputs: ["json", "plain"], prepareMeshTarget: false },
360
+ { name: "service-status", summary: "read the running daemon's service connection to a space, without contacting it", examples: [{ command: "cotal daemon service-status --space <space>", note: "read the state of that connection" }], flagNames: ["space", "daemon-home", "json", "plain"], outputs: ["json", "plain"], reads: true, prepareMeshTarget: false },
361
361
  ],
362
362
  prepareMeshTarget: false,
363
- examples: ["cotal daemon serve", "cotal daemon status", "cotal daemon status --json", "cotal daemon login --idp https://example.org/api/auth", "cotal daemon connect-check --space acme", "cotal daemon register --space acme", "cotal daemon service-connect --space acme", "cotal daemon service-status --space acme"],
363
+ examples: [{ command: "cotal daemon serve", note: "run the machine daemon in this terminal" }, { command: "cotal daemon status", note: "ask the running daemon for its status" }, { command: "cotal daemon login --idp <url>", note: "sign the daemon in with device approval" }],
364
364
  run,
365
365
  };
366
366
  registry.register(daemonCommand);
package/dist/docs.js CHANGED
@@ -161,7 +161,7 @@ const docsCommand = {
161
161
  positionals: "[<page>]",
162
162
  flags: docsFlags,
163
163
  outputs: ["json", "plain"],
164
- examples: ["cotal docs", "cotal docs architecture", "cotal docs --search allowSubscribe", "cotal docs spec --refresh"],
164
+ examples: [{ command: "cotal docs", note: "list the docs pages bundled with this version" }, { command: "cotal docs cli", note: "read the CLI reference" }, { command: "cotal docs --search <query>", note: "find the sections that match a query" }],
165
165
  reads: true,
166
166
  run: docs,
167
167
  complete: docsComplete,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cotal-ai",
3
- "version": "0.109.24",
3
+ "version": "0.110.0",
4
4
  "description": "Cotal — lateral agent coordination over NATS. Run `npx cotal-ai` for the CLI.",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -33,26 +33,26 @@
33
33
  "node": ">=22"
34
34
  },
35
35
  "dependencies": {
36
- "@cotal-ai/auth": "0.109.24",
37
- "@cotal-ai/cli": "0.109.24",
38
- "@cotal-ai/connector-core": "0.109.24",
39
- "@cotal-ai/core": "0.109.24",
40
- "@cotal-ai/delivery": "0.109.24",
41
- "@cotal-ai/manager": "0.109.24",
42
- "@cotal-ai/runtime": "0.109.24",
43
- "@cotal-ai/seat": "0.109.24",
44
- "@cotal-ai/workspace": "0.109.24"
36
+ "@cotal-ai/auth": "0.110.0",
37
+ "@cotal-ai/cli": "0.110.0",
38
+ "@cotal-ai/connector-core": "0.110.0",
39
+ "@cotal-ai/core": "0.110.0",
40
+ "@cotal-ai/delivery": "0.110.0",
41
+ "@cotal-ai/manager": "0.110.0",
42
+ "@cotal-ai/runtime": "0.110.0",
43
+ "@cotal-ai/seat": "0.110.0",
44
+ "@cotal-ai/workspace": "0.110.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@cotal-ai/connector-claude-code": "0.109.24",
48
- "@cotal-ai/connector-codex": "0.109.24",
49
- "@cotal-ai/connector-hermes": "0.109.24",
50
- "@cotal-ai/connector-jcode": "0.109.24",
51
- "@cotal-ai/connector-opencode": "0.109.24",
52
- "@cotal-ai/linear": "0.109.24",
53
- "@cotal-ai/pi": "0.109.24",
47
+ "@cotal-ai/connector-claude-code": "0.110.0",
48
+ "@cotal-ai/connector-codex": "0.110.0",
49
+ "@cotal-ai/connector-hermes": "0.110.0",
50
+ "@cotal-ai/connector-jcode": "0.110.0",
51
+ "@cotal-ai/connector-opencode": "0.110.0",
52
+ "@cotal-ai/linear": "0.110.0",
53
+ "@cotal-ai/pi": "0.110.0",
54
54
  "@cotal-ai/smoke-kit": "0.0.0",
55
- "@cotal-ai/web": "0.109.24",
55
+ "@cotal-ai/web": "0.110.0",
56
56
  "@nats-io/jetstream": "^3.4.0",
57
57
  "@nats-io/transport-node": "^3.4.0",
58
58
  "typescript": "^5.9.3"