cotal-ai 0.18.0 → 0.19.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.
Files changed (39) hide show
  1. package/dist/run.js +12 -0
  2. package/package.json +14 -14
  3. package/seeded-connectors/claude/dist/extension.d.ts +0 -6
  4. package/seeded-connectors/claude/dist/extension.d.ts.map +1 -1
  5. package/seeded-connectors/claude/dist/hook.cjs +15446 -689
  6. package/seeded-connectors/claude/dist/index.js +14796 -127
  7. package/seeded-connectors/claude/dist/mcp.cjs +886 -262
  8. package/seeded-connectors/claude/package.json +1 -1
  9. package/seeded-connectors/codex/dist/host.js +895 -271
  10. package/seeded-connectors/codex/dist/index.js +14779 -117
  11. package/seeded-connectors/codex/dist/mcp.d.ts.map +1 -1
  12. package/seeded-connectors/codex/package.json +1 -1
  13. package/seeded-connectors/hermes/dist/bridge.d.ts.map +1 -1
  14. package/seeded-connectors/hermes/dist/index.js +14769 -106
  15. package/seeded-connectors/hermes/dist/launch.js +885 -247
  16. package/seeded-connectors/hermes/dist/tool-schema.d.ts.map +1 -1
  17. package/seeded-connectors/hermes/package.json +1 -1
  18. package/seeded-connectors/hermes/plugin/cotal/_sidecar/standalone.cjs +885 -247
  19. package/seeded-connectors/opencode/dist/extension.d.ts.map +1 -1
  20. package/seeded-connectors/opencode/dist/index.js +14800 -129
  21. package/seeded-connectors/opencode/dist/plugin.bundle.js +920 -248
  22. package/seeded-connectors/opencode/dist/plugin.d.ts.map +1 -1
  23. package/seeded-connectors/opencode/dist/tools.d.ts.map +1 -1
  24. package/seeded-connectors/opencode/package.json +1 -1
  25. package/seeded-connectors/pi/dist/index.js +174 -32
  26. package/seeded-connectors/pi/dist/standalone.js +877 -247
  27. package/seeded-connectors/pi/dist/tools.d.ts.map +1 -1
  28. package/seeded-connectors/pi/package.json +1 -1
  29. package/seeded-connectors/web/dist/web/agui-frame.js +210 -0
  30. package/seeded-connectors/web/dist/web/app.js +24 -2
  31. package/seeded-connectors/web/dist/web/graph.html +2 -0
  32. package/seeded-connectors/web/dist/web/graph.js +52 -12
  33. package/seeded-connectors/web/dist/web/index.html +2 -0
  34. package/seeded-connectors/web/dist/web/parts.js +144 -0
  35. package/seeded-connectors/web/dist/web.d.ts +10 -0
  36. package/seeded-connectors/web/dist/web.d.ts.map +1 -1
  37. package/seeded-connectors/web/dist/web.js +86 -18
  38. package/seeded-connectors/web/dist/web.js.map +1 -1
  39. package/seeded-connectors/web/package.json +1 -1
package/dist/run.js CHANGED
@@ -16,6 +16,18 @@ import { runCli } from "@cotal-ai/cli"; // self-registers the base surface incl.
16
16
  import "@cotal-ai/manager"; // self-registers `supervise` — the agent-supervisor daemon
17
17
  import "@cotal-ai/delivery"; // self-registers `deliver` — the server-side Plane-3 delivery daemon
18
18
  import "@cotal-ai/auth"; // self-registers login / logout — per-user IdP sessions (device-code sign-in)
19
+ // Self-registers the `ag-ui.frame` part renderer, so `cotal console` and `cotal join` draw an event
20
+ // frame instead of `[unrenderable part kind "ag-ui.frame"]`.
21
+ //
22
+ // IMPORTED HERE BECAUSE NOTHING ELSE IN THIS PROCESS WOULD. The four agent connectors are removable
23
+ // ext plugins materialized lazily by `runCli`, and no `implementations/*` package imports
24
+ // connector-core at runtime — measured, not assumed. So a renderer that only registered inside the
25
+ // connector would be absent from every process that RENDERS, which is the one place it is needed.
26
+ // The seam is worth nothing if the provider never loads at the display site.
27
+ //
28
+ // The narrow subpath rather than the package root, deliberately: the root pulls the MCP server
29
+ // runtime and its zod copy into CLI startup, and a renderer needs none of it.
30
+ import "@cotal-ai/connector-core/agui-render";
19
31
  import { registry } from "@cotal-ai/core";
20
32
  // A CLI must exit quietly when its stdout is closed early — piped to `head`, a pager that quits,
21
33
  // or a shell's process substitution (`source <(cotal completion bash)`). Node otherwise turns the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cotal-ai",
3
- "version": "0.18.0",
3
+ "version": "0.19.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,23 +33,23 @@
33
33
  "node": ">=22"
34
34
  },
35
35
  "dependencies": {
36
- "@cotal-ai/cli": "0.18.0",
37
- "@cotal-ai/auth": "0.18.0",
38
- "@cotal-ai/connector-core": "0.18.0",
39
- "@cotal-ai/delivery": "0.18.0",
40
- "@cotal-ai/workspace": "0.18.0",
41
- "@cotal-ai/core": "0.18.0",
42
- "@cotal-ai/manager": "0.18.0"
36
+ "@cotal-ai/auth": "0.19.0",
37
+ "@cotal-ai/cli": "0.19.0",
38
+ "@cotal-ai/core": "0.19.0",
39
+ "@cotal-ai/delivery": "0.19.0",
40
+ "@cotal-ai/connector-core": "0.19.0",
41
+ "@cotal-ai/workspace": "0.19.0",
42
+ "@cotal-ai/manager": "0.19.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@nats-io/jetstream": "^3.4.0",
46
46
  "@nats-io/transport-node": "^3.4.0",
47
- "@cotal-ai/connector-claude-code": "0.18.0",
48
- "@cotal-ai/connector-codex": "0.18.0",
49
- "@cotal-ai/connector-hermes": "0.18.0",
50
- "@cotal-ai/connector-opencode": "0.18.0",
51
- "@cotal-ai/pi": "0.18.0",
52
- "@cotal-ai/web": "0.18.0"
47
+ "@cotal-ai/connector-codex": "0.19.0",
48
+ "@cotal-ai/connector-claude-code": "0.19.0",
49
+ "@cotal-ai/connector-hermes": "0.19.0",
50
+ "@cotal-ai/pi": "0.19.0",
51
+ "@cotal-ai/connector-opencode": "0.19.0",
52
+ "@cotal-ai/web": "0.19.0"
53
53
  },
54
54
  "files": [
55
55
  "dist",
@@ -1,9 +1,3 @@
1
1
  import { type Connector } from "@cotal-ai/core";
2
- /**
3
- * The Claude Code connector: launches the real `claude` with the Cotal identity in
4
- * the environment and the mesh channel enabled, so the session joins the mesh and
5
- * wakes on incoming peer messages. Self-registers on import; the manager resolves it
6
- * by agent type "claude".
7
- */
8
2
  export declare const claudeConnector: Connector;
9
3
  //# sourceMappingURL=extension.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2D,KAAK,SAAS,EAAoC,MAAM,gBAAgB,CAAC;AAoB3I;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,SAqI7B,CAAC"}
1
+ {"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2D,KAAK,SAAS,EAAoC,MAAM,gBAAgB,CAAC;AA0D3I,eAAO,MAAM,eAAe,EAAE,SAsI7B,CAAC"}