cotal-ai 0.109.12 → 0.109.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cotal-ai",
3
- "version": "0.109.12",
3
+ "version": "0.109.14",
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.12",
37
- "@cotal-ai/cli": "0.109.12",
38
- "@cotal-ai/connector-core": "0.109.12",
39
- "@cotal-ai/core": "0.109.12",
40
- "@cotal-ai/delivery": "0.109.12",
41
- "@cotal-ai/manager": "0.109.12",
42
- "@cotal-ai/runtime": "0.109.12",
43
- "@cotal-ai/seat": "0.109.12",
44
- "@cotal-ai/workspace": "0.109.12"
36
+ "@cotal-ai/auth": "0.109.14",
37
+ "@cotal-ai/cli": "0.109.14",
38
+ "@cotal-ai/connector-core": "0.109.14",
39
+ "@cotal-ai/core": "0.109.14",
40
+ "@cotal-ai/delivery": "0.109.14",
41
+ "@cotal-ai/manager": "0.109.14",
42
+ "@cotal-ai/runtime": "0.109.14",
43
+ "@cotal-ai/seat": "0.109.14",
44
+ "@cotal-ai/workspace": "0.109.14"
45
45
  },
46
46
  "devDependencies": {
47
- "@cotal-ai/connector-claude-code": "0.109.12",
48
- "@cotal-ai/connector-codex": "0.109.12",
49
- "@cotal-ai/connector-hermes": "0.109.12",
50
- "@cotal-ai/connector-jcode": "0.109.12",
51
- "@cotal-ai/connector-opencode": "0.109.12",
52
- "@cotal-ai/linear": "0.109.12",
53
- "@cotal-ai/pi": "0.109.12",
47
+ "@cotal-ai/connector-claude-code": "0.109.14",
48
+ "@cotal-ai/connector-codex": "0.109.14",
49
+ "@cotal-ai/connector-hermes": "0.109.14",
50
+ "@cotal-ai/connector-jcode": "0.109.14",
51
+ "@cotal-ai/connector-opencode": "0.109.14",
52
+ "@cotal-ai/linear": "0.109.14",
53
+ "@cotal-ai/pi": "0.109.14",
54
54
  "@cotal-ai/smoke-kit": "0.0.0",
55
- "@cotal-ai/web": "0.109.12",
55
+ "@cotal-ai/web": "0.109.14",
56
56
  "@nats-io/jetstream": "^3.4.0",
57
57
  "@nats-io/transport-node": "^3.4.0",
58
58
  "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;AAShI;;;;;;;;;4FAS4F;AAC5F,eAAO,MAAM,oBAAoB,8/DA4EvB,CAAC;AAgDX;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,SA8M7B,CAAC"}
1
+ {"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"AAEA,OAAO,EAAgD,KAAK,SAAS,EAAoC,MAAM,gBAAgB,CAAC;AAShI;;;;;;;;;4FAS4F;AAC5F,eAAO,MAAM,oBAAoB,8/DA4EvB,CAAC;AAgDX;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,SAiN7B,CAAC"}
@@ -24243,6 +24243,20 @@ var CLAUDE_WORKSPACE_TRUST_REPLIES = Object.freeze([
24243
24243
  Object.freeze({ prompt: "No, exit\n\u276F Yes, I trust this folder", key: "Enter" })
24244
24244
  ]);
24245
24245
  var CLAUDE_READY_TEXTS = Object.freeze(["(shift+tab to cycle)", "? for shortcuts"]);
24246
+ var CLAUDE_STARTUP_BLOCKERS = Object.freeze([
24247
+ Object.freeze({
24248
+ prompt: "Choose the text style that looks best with your terminal",
24249
+ reason: "Claude Code is showing its first-run setup, which Cotal does not answer. Run `claude` once in a terminal as this user, finish setup and log in, then launch again."
24250
+ }),
24251
+ Object.freeze({
24252
+ prompt: "Select login method:",
24253
+ reason: "Claude Code is not logged in for this user and asks for a login method, which Cotal does not answer. Run `claude` once in a terminal and log in, or pass a credential the connector forwards, such as CLAUDE_CODE_OAUTH_TOKEN, then launch again."
24254
+ }),
24255
+ Object.freeze({
24256
+ prompt: "WARNING: Claude Code running in Bypass Permissions mode",
24257
+ reason: "Claude Code asks this user to accept Bypass Permissions mode, which a managed seat uses by default, and Cotal never accepts it for you. Accept it once yourself with `claude --permission-mode bypassPermissions` in a terminal, or launch with permission-mode=default (`--opt permission-mode=default`, or `launchOptions` in a manifest)."
24258
+ })
24259
+ ]);
24246
24260
 
24247
24261
  // src/extension.ts
24248
24262
  var MCP_SERVER_NAME = "cotal";
@@ -24418,7 +24432,7 @@ var claudeConnector = {
24418
24432
  }
24419
24433
  if (opts.resume) args.push("--resume", opts.resume, "--fork-session");
24420
24434
  if (opts.carried) Object.assign(env, placeCarried(opts.carried.home, opts.carried.transcript, opts.resume, opts.carried.cwd));
24421
- if (!passthrough.some(([k]) => k === "permission-mode" || k === "dangerously-skip-permissions"))
24435
+ if (opts.cwd && !passthrough.some(([k]) => k === "permission-mode" || k === "dangerously-skip-permissions"))
24422
24436
  args.push("--permission-mode", "bypassPermissions");
24423
24437
  for (const [k, val] of passthrough) {
24424
24438
  if (val === "") args.push(`--${k}`);
@@ -24434,6 +24448,7 @@ var claudeConnector = {
24434
24448
  // Claude skips the gate when channels are off for the session, and opens its input screen.
24435
24449
  confirm: "WARNING: Loading development channels",
24436
24450
  confirmReady: CLAUDE_READY_TEXTS,
24451
+ confirmBlockers: CLAUDE_STARTUP_BLOCKERS,
24437
24452
  ...opts.cwd ? { confirmBefore: CLAUDE_WORKSPACE_TRUST_REPLIES } : {},
24438
24453
  control,
24439
24454
  ...opts.carried ? { resumeRecordPath: carriedForkRecord(opts.carried.home) } : {},