cotal-ai 0.62.0 → 0.63.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 (29) hide show
  1. package/dist/cotal.js +14 -0
  2. package/package.json +16 -16
  3. package/seeded-connectors/claude/dist/extension.d.ts.map +1 -1
  4. package/seeded-connectors/claude/dist/hook.cjs +39 -35
  5. package/seeded-connectors/claude/dist/index.js +270 -230
  6. package/seeded-connectors/claude/dist/mcp.cjs +249 -129
  7. package/seeded-connectors/claude/dist/setup.d.ts.map +1 -1
  8. package/seeded-connectors/claude/package.json +1 -1
  9. package/seeded-connectors/codex/dist/host.js +233 -113
  10. package/seeded-connectors/codex/dist/index.js +19 -19
  11. package/seeded-connectors/codex/package.json +1 -1
  12. package/seeded-connectors/hermes/dist/index.js +19 -19
  13. package/seeded-connectors/hermes/dist/launch.js +225 -105
  14. package/seeded-connectors/hermes/package.json +1 -1
  15. package/seeded-connectors/hermes/plugin/cotal/_sidecar/standalone.cjs +236 -116
  16. package/seeded-connectors/jcode/dist/host.js +237 -117
  17. package/seeded-connectors/jcode/dist/index.js +19 -19
  18. package/seeded-connectors/jcode/dist/mcp.js +52 -41
  19. package/seeded-connectors/jcode/package.json +1 -1
  20. package/seeded-connectors/opencode/dist/index.js +19 -19
  21. package/seeded-connectors/opencode/dist/plugin/index.js +220 -100
  22. package/seeded-connectors/opencode/package.json +1 -1
  23. package/seeded-connectors/pi/dist/index.js +46 -29
  24. package/seeded-connectors/pi/dist/standalone.js +222 -102
  25. package/seeded-connectors/pi/package.json +1 -1
  26. package/seeded-connectors/web/dist/web.d.ts.map +1 -1
  27. package/seeded-connectors/web/dist/web.js +34 -49
  28. package/seeded-connectors/web/dist/web.js.map +1 -1
  29. package/seeded-connectors/web/package.json +1 -1
package/dist/cotal.js CHANGED
@@ -36,6 +36,20 @@ if (!Number.isInteger(nodeMajor) || nodeMajor < MIN_NODE_MAJOR) {
36
36
  `The bundled nats-server broker (and the CLI's UI stack) need Node >= ${MIN_NODE_MAJOR}; on an\n` +
37
37
  `older Node, npm silently skips the broker binary and the CLI cannot start.\n\n` +
38
38
  remedy);
39
+ // A delegated child's handoff file holds its actor token and is taken before anything else on a
40
+ // supported Node, so this refusal must not leave it on disk either. Unlink only, never read.
41
+ const { unlinkSync } = await import("node:fs");
42
+ for (const [key, path] of Object.entries(process.env)) {
43
+ if (key.toUpperCase() !== "COTAL_MANAGED_HANDOFF_FILE" || !path)
44
+ continue;
45
+ try {
46
+ unlinkSync(path);
47
+ }
48
+ catch (e) {
49
+ if (e.code !== "ENOENT")
50
+ process.stderr.write(`cannot remove the managed handoff file: ${e.message}\n`);
51
+ }
52
+ }
39
53
  process.exit(1);
40
54
  }
41
55
  await import("./run.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cotal-ai",
3
- "version": "0.62.0",
3
+ "version": "0.63.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,24 +33,24 @@
33
33
  "node": ">=22"
34
34
  },
35
35
  "dependencies": {
36
- "@cotal-ai/auth": "0.62.0",
37
- "@cotal-ai/cli": "0.62.0",
38
- "@cotal-ai/connector-core": "0.62.0",
39
- "@cotal-ai/core": "0.62.0",
40
- "@cotal-ai/delivery": "0.62.0",
41
- "@cotal-ai/manager": "0.62.0",
42
- "@cotal-ai/runtime": "0.62.0",
43
- "@cotal-ai/workspace": "0.62.0"
36
+ "@cotal-ai/auth": "0.63.0",
37
+ "@cotal-ai/cli": "0.63.0",
38
+ "@cotal-ai/connector-core": "0.63.0",
39
+ "@cotal-ai/core": "0.63.0",
40
+ "@cotal-ai/delivery": "0.63.0",
41
+ "@cotal-ai/manager": "0.63.0",
42
+ "@cotal-ai/runtime": "0.63.0",
43
+ "@cotal-ai/workspace": "0.63.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@cotal-ai/connector-claude-code": "0.62.0",
47
- "@cotal-ai/connector-codex": "0.62.0",
48
- "@cotal-ai/connector-hermes": "0.62.0",
49
- "@cotal-ai/connector-jcode": "0.62.0",
50
- "@cotal-ai/connector-opencode": "0.62.0",
51
- "@cotal-ai/pi": "0.62.0",
46
+ "@cotal-ai/connector-claude-code": "0.63.0",
47
+ "@cotal-ai/connector-codex": "0.63.0",
48
+ "@cotal-ai/connector-hermes": "0.63.0",
49
+ "@cotal-ai/connector-jcode": "0.63.0",
50
+ "@cotal-ai/connector-opencode": "0.63.0",
51
+ "@cotal-ai/pi": "0.63.0",
52
52
  "@cotal-ai/smoke-kit": "0.0.0",
53
- "@cotal-ai/web": "0.62.0",
53
+ "@cotal-ai/web": "0.63.0",
54
54
  "@nats-io/jetstream": "^3.4.0",
55
55
  "@nats-io/transport-node": "^3.4.0",
56
56
  "typescript": "^5.9.3"
@@ -1 +1 @@
1
- {"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"AAEA,OAAO,EAAgD,KAAK,SAAS,EAAoC,MAAM,gBAAgB,CAAC;AAMhI;;;;;;;;;4FAS4F;AAC5F,eAAO,MAAM,oBAAoB,8/DA4EvB,CAAC;AAgDX;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,SA+L7B,CAAC"}
1
+ {"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"AAEA,OAAO,EAAgD,KAAK,SAAS,EAAoC,MAAM,gBAAgB,CAAC;AAMhI;;;;;;;;;4FAS4F;AAC5F,eAAO,MAAM,oBAAoB,8/DA4EvB,CAAC;AAgDX;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,SAgM7B,CAAC"}