cotal-ai 0.165.0 → 0.165.2

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.
@@ -74,6 +74,7 @@ const composed = { ...command, async run(args) {
74
74
  let targetAdmissionChecked = false;
75
75
  let recoveryFence = false;
76
76
  const retainsExecution = () => targetReceipt !== undefined || readUpdateRecovery()?.execution !== undefined;
77
+ const reportsRetainedExecution = () => retainsExecution() || (currentPackages && logicalExecutionEntry() !== undefined && !updateRuntime.checkout() && (process.platform === "linux" || process.platform === "darwin"));
77
78
  const retainedReads = (flags) => readManagerContinuity(flags, { readOnly: true, retainGraph: true, installedEntry: logicalExecutionEntry() });
78
79
  const retainedReport = (flags) => reportRunningManagers(flags, retainedReads, selected => localUpdateManagers(selected, logicalExecutionEntry()));
79
80
  try {
@@ -207,7 +208,7 @@ const composed = { ...command, async run(args) {
207
208
  if (error instanceof EndpointRefusal && ["NOT_RUNNING", "NO_RUNTIME_DIR"].includes(error.code)) {
208
209
  if (error.code === "NOT_RUNNING" && process.platform === "win32")
209
210
  await captureWindowsGeneration(daemonPaths());
210
- return retainsExecution() ? retainedReport(flags) : updateRuntime.reportRunningManager(flags);
211
+ return reportsRetainedExecution() ? retainedReport(flags) : updateRuntime.reportRunningManager(flags);
211
212
  }
212
213
  throw error;
213
214
  }
@@ -219,7 +220,7 @@ const composed = { ...command, async run(args) {
219
220
  const active = managers.filter((manager) => manager.pid !== undefined);
220
221
  hostedSpaces = active.map((manager) => manager.space);
221
222
  if (!active.length)
222
- return retainsExecution() ? retainedReport(flags) : updateRuntime.reportRunningManager(flags);
223
+ return reportsRetainedExecution() ? retainedReport(flags) : updateRuntime.reportRunningManager(flags);
223
224
  const blockedAgents = [];
224
225
  for (const manager of active) {
225
226
  // A failed earlier observation is not proof that a retained child's endpoint cannot answer.
@@ -290,7 +291,7 @@ const composed = { ...command, async run(args) {
290
291
  continue;
291
292
  if (manager.process && assertRecordIdentity(manager.process).kind !== "match")
292
293
  throw new Error(`local Manager ${manager.instanceId} changed before its continuity read`);
293
- if (await (retainsExecution() ? retainedReads : readManagerContinuity)({ ...flags, space: manager.space, server: manager.server, on: manager.instanceId }) === "legacy")
294
+ if (await (reportsRetainedExecution() ? retainedReads : readManagerContinuity)({ ...flags, space: manager.space, server: manager.server, on: manager.instanceId }) === "legacy")
294
295
  localVerdict = "legacy";
295
296
  }
296
297
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cotal-ai",
3
- "version": "0.165.0",
3
+ "version": "0.165.2",
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": [
@@ -37,30 +37,30 @@
37
37
  "node": ">=22.10"
38
38
  },
39
39
  "dependencies": {
40
- "@cotal-ai/auth": "0.165.0",
41
- "@cotal-ai/cli": "0.165.0",
42
- "@cotal-ai/connector-core": "0.165.0",
43
- "@cotal-ai/core": "0.165.0",
44
- "@cotal-ai/delivery": "0.165.0",
45
- "@cotal-ai/manager": "0.165.0",
46
- "@cotal-ai/registry": "0.165.0",
47
- "@cotal-ai/runtime": "0.165.0",
48
- "@cotal-ai/seat": "0.165.0",
49
- "@cotal-ai/workspace": "0.165.0",
40
+ "@cotal-ai/auth": "0.165.2",
41
+ "@cotal-ai/cli": "0.165.2",
42
+ "@cotal-ai/connector-core": "0.165.2",
43
+ "@cotal-ai/core": "0.165.2",
44
+ "@cotal-ai/delivery": "0.165.2",
45
+ "@cotal-ai/manager": "0.165.2",
46
+ "@cotal-ai/registry": "0.165.2",
47
+ "@cotal-ai/runtime": "0.165.2",
48
+ "@cotal-ai/seat": "0.165.2",
49
+ "@cotal-ai/workspace": "0.165.2",
50
50
  "jose": "^6.2.3"
51
51
  },
52
52
  "devDependencies": {
53
- "@cotal-ai/connector-claude-code": "0.165.0",
54
- "@cotal-ai/connector-codex": "0.165.0",
55
- "@cotal-ai/connector-hermes": "0.165.0",
56
- "@cotal-ai/connector-jcode": "0.165.0",
57
- "@cotal-ai/connector-opencode": "0.165.0",
58
- "@cotal-ai/linear": "0.165.0",
59
- "@cotal-ai/pi": "0.165.0",
53
+ "@cotal-ai/connector-claude-code": "0.165.2",
54
+ "@cotal-ai/connector-codex": "0.165.2",
55
+ "@cotal-ai/connector-hermes": "0.165.2",
56
+ "@cotal-ai/connector-jcode": "0.165.2",
57
+ "@cotal-ai/connector-opencode": "0.165.2",
58
+ "@cotal-ai/linear": "0.165.2",
59
+ "@cotal-ai/pi": "0.165.2",
60
60
  "@cotal-ai/smoke-kit": "0.0.0",
61
- "@cotal-ai/web": "0.165.0",
62
- "@nats-io/jetstream": "^3.4.0",
63
- "@nats-io/transport-node": "^3.4.0",
61
+ "@cotal-ai/web": "0.165.2",
62
+ "@nats-io/jetstream": "3.4.0",
63
+ "@nats-io/transport-node": "3.4.0",
64
64
  "typescript": "^5.9.3"
65
65
  },
66
66
  "files": [
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "v": 1,
3
3
  "files": {
4
- "docs-bundle.bin": "aa37ad1b73dabb509cd30823f6f42c726c8455b82c2f75a22f85341c2b82b5e0",
5
- "docs-index.bin": "df33bb5cc33a9ff4350aa4cc8ed54709048533cdcbf2b435a2f7a962e991ef6b"
4
+ "docs-bundle.bin": "cf0851b1133d367944f1c36e96653b41239034a28720a6ab7379611d10f9bb47",
5
+ "docs-index.bin": "d65563139abd6c5ffa146d970422dcd68450f0b97150a7fbbbad5829385f98ae"
6
6
  },
7
7
  "placements": {
8
8
  "claude": [