cotal-ai 0.101.6 → 0.101.7

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 CHANGED
@@ -64,11 +64,17 @@ process.emitWarning = ((warning, ...rest) => {
64
64
  if (warning !== "The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.")
65
65
  emitWarning(warning, ...rest);
66
66
  });
67
- // The notice holds until the command begins, or until the command's own notice takes it over. An
68
- // internal entry, such as a stack member or shell completion, keeps Node's default signal exit.
69
- // Every word before the command word is a flag.
70
- const commandWord = process.argv.slice(2).find((word) => !word.startsWith("-"));
71
- if (!commandWord?.startsWith("__"))
72
- (await import("./startup-interrupt.js")).holdStartupInterrupt();
73
- await import("./run.js");
67
+ // A spawned seat execs `cotal agent-bearer` for every bearer, so it runs from its own module before
68
+ // the rest of the CLI loads: loading the whole command surface was most of each bearer's cost. A
69
+ // command line that does not parse goes on to the full CLI, which refuses it with the command's help.
70
+ const bearerDone = process.argv[2] === "agent-bearer" && await (await import("@cotal-ai/auth/agent-bearer")).runAgentBearerEntry(process.argv.slice(3));
71
+ if (!bearerDone) {
72
+ // The notice holds until the command begins, or until the command's own notice takes it over. An
73
+ // internal entry, such as a stack member or shell completion, keeps Node's default signal exit.
74
+ // Every word before the command word is a flag.
75
+ const commandWord = process.argv.slice(2).find((word) => !word.startsWith("-"));
76
+ if (!commandWord?.startsWith("__"))
77
+ (await import("./startup-interrupt.js")).holdStartupInterrupt();
78
+ await import("./run.js");
79
+ }
74
80
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cotal-ai",
3
- "version": "0.101.6",
3
+ "version": "0.101.7",
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.101.6",
37
- "@cotal-ai/cli": "0.101.6",
38
- "@cotal-ai/connector-core": "0.101.6",
39
- "@cotal-ai/core": "0.101.6",
40
- "@cotal-ai/delivery": "0.101.6",
41
- "@cotal-ai/manager": "0.101.6",
42
- "@cotal-ai/runtime": "0.101.6",
43
- "@cotal-ai/seat": "0.101.6",
44
- "@cotal-ai/workspace": "0.101.6"
36
+ "@cotal-ai/auth": "0.101.7",
37
+ "@cotal-ai/cli": "0.101.7",
38
+ "@cotal-ai/connector-core": "0.101.7",
39
+ "@cotal-ai/core": "0.101.7",
40
+ "@cotal-ai/delivery": "0.101.7",
41
+ "@cotal-ai/manager": "0.101.7",
42
+ "@cotal-ai/runtime": "0.101.7",
43
+ "@cotal-ai/seat": "0.101.7",
44
+ "@cotal-ai/workspace": "0.101.7"
45
45
  },
46
46
  "devDependencies": {
47
- "@cotal-ai/connector-claude-code": "0.101.6",
48
- "@cotal-ai/connector-codex": "0.101.6",
49
- "@cotal-ai/connector-hermes": "0.101.6",
50
- "@cotal-ai/connector-jcode": "0.101.6",
51
- "@cotal-ai/connector-opencode": "0.101.6",
52
- "@cotal-ai/linear": "0.101.6",
53
- "@cotal-ai/pi": "0.101.6",
47
+ "@cotal-ai/connector-claude-code": "0.101.7",
48
+ "@cotal-ai/connector-codex": "0.101.7",
49
+ "@cotal-ai/connector-hermes": "0.101.7",
50
+ "@cotal-ai/connector-jcode": "0.101.7",
51
+ "@cotal-ai/connector-opencode": "0.101.7",
52
+ "@cotal-ai/linear": "0.101.7",
53
+ "@cotal-ai/pi": "0.101.7",
54
54
  "@cotal-ai/smoke-kit": "0.0.0",
55
- "@cotal-ai/web": "0.101.6",
55
+ "@cotal-ai/web": "0.101.7",
56
56
  "@nats-io/jetstream": "^3.4.0",
57
57
  "@nats-io/transport-node": "^3.4.0",
58
58
  "typescript": "^5.9.3"