cotal-ai 0.9.0 → 0.10.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/dist/cotal.js +14 -7
- package/package.json +12 -10
package/dist/cotal.js
CHANGED
|
@@ -6,10 +6,13 @@
|
|
|
6
6
|
* (@cotal-ai/manager). The root just picks which surfaces to pull in; `runCli` resolves
|
|
7
7
|
* whatever registered. A new surface (another connector, a control client …) is one more import line.
|
|
8
8
|
*/
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
// NOTE: registration order across these imports is NOT guaranteed (tsx's entry interop can
|
|
10
|
+
// evaluate the smaller daemon graphs first) — display order is a non-goal here; `help` ranks
|
|
11
|
+
// its groups explicitly (GROUP_ORDER in @cotal-ai/cli).
|
|
12
|
+
import { runCli } from "@cotal-ai/cli"; // self-registers the base surface incl. spawn (foreground + --detach) / stop / ps / attach
|
|
13
|
+
import "@cotal-ai/manager"; // self-registers `supervise` — the agent-supervisor daemon
|
|
11
14
|
import "@cotal-ai/delivery"; // self-registers `deliver` — the server-side Plane-3 delivery daemon
|
|
12
|
-
import "@cotal-ai/connector-claude-code"; // registers the `claude` connector that spawn
|
|
15
|
+
import "@cotal-ai/connector-claude-code"; // registers the `claude` connector that spawn resolves
|
|
13
16
|
import "@cotal-ai/connector-opencode"; // registers the `opencode` connector (native in-process plugin)
|
|
14
17
|
import "@cotal-ai/connector-hermes"; // registers the `hermes` connector (Nous Research gateway as a mesh peer)
|
|
15
18
|
import "@cotal-ai/cmux"; // opt into the cmux integration — registers the `cmux` runtime + TerminalLayout providers
|
|
@@ -25,9 +28,13 @@ process.stdout.on("error", (e) => {
|
|
|
25
28
|
process.exit(0);
|
|
26
29
|
throw e;
|
|
27
30
|
});
|
|
28
|
-
// The manager's default agent type is "cotal"
|
|
29
|
-
// cotal_spawn / `cotal
|
|
31
|
+
// The manager's built-in default agent type is "cotal" (when COTAL_DEFAULT_AGENT is unset); make it
|
|
32
|
+
// a real Claude coder so a bare cotal_spawn / `cotal spawn --detach <persona>` (no --agent) brings
|
|
33
|
+
// up a Claude Code session. Revisited at the start→spawn merge (stage 2a): still needed — the
|
|
34
|
+
// default rides the MANAGER side of the control plane, not the removed CLI verb.
|
|
30
35
|
registry.register({ ...claudeConnector, name: "cotal" });
|
|
31
|
-
// Bare `cotal` prints help; explicit `cotal setup` runs guided setup.
|
|
36
|
+
// Bare `cotal` prints help; explicit `cotal setup` runs guided setup. The published binary is
|
|
37
|
+
// the ONE composition root that loads operator-installed extensions (`cotal ext add …`) —
|
|
38
|
+
// library roots keep the explicit-import model.
|
|
32
39
|
const argv = process.argv.slice(2);
|
|
33
|
-
await runCli(registry, argv);
|
|
40
|
+
await runCli(registry, argv, { extensions: true });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cotal-ai",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.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": [
|
|
@@ -26,15 +26,17 @@
|
|
|
26
26
|
"node": ">=20"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@cotal-ai/
|
|
30
|
-
"@cotal-ai/
|
|
31
|
-
"@cotal-ai/
|
|
32
|
-
"@cotal-ai/connector-
|
|
33
|
-
"@cotal-ai/
|
|
34
|
-
"@cotal-ai/
|
|
35
|
-
"@cotal-ai/
|
|
36
|
-
"@cotal-ai/
|
|
37
|
-
"@cotal-ai/connector-
|
|
29
|
+
"@cotal-ai/cli": "0.10.0",
|
|
30
|
+
"@cotal-ai/tmux": "0.10.0",
|
|
31
|
+
"@cotal-ai/connector-claude-code": "0.10.0",
|
|
32
|
+
"@cotal-ai/connector-hermes": "0.10.0",
|
|
33
|
+
"@cotal-ai/cmux": "0.10.0",
|
|
34
|
+
"@cotal-ai/core": "0.10.0",
|
|
35
|
+
"@cotal-ai/connector-opencode": "0.10.0",
|
|
36
|
+
"@cotal-ai/workspace": "0.10.0",
|
|
37
|
+
"@cotal-ai/connector-core": "0.10.0",
|
|
38
|
+
"@cotal-ai/manager": "0.10.0",
|
|
39
|
+
"@cotal-ai/delivery": "0.10.0"
|
|
38
40
|
},
|
|
39
41
|
"files": [
|
|
40
42
|
"dist",
|