cotal-ai 0.166.1 → 0.166.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.
Files changed (31) hide show
  1. package/dist/daemon/execution-preinstall.js +59 -3
  2. package/dist/daemon/manager.js +59 -27
  3. package/dist/daemon/preinstall-preservation.js +46 -0
  4. package/dist/daemon/update-entry.js +52 -1
  5. package/dist/daemon/update-generation.js +7 -1
  6. package/package.json +19 -19
  7. package/seeded-connectors/_shared/docs-bundle.bin +0 -0
  8. package/seeded-connectors/_shared/docs-index.bin +0 -0
  9. package/seeded-connectors/_shared/placements.json +2 -2
  10. package/seeded-connectors/claude/dist/index.js +1 -1
  11. package/seeded-connectors/claude/dist/mcp.cjs +3 -3
  12. package/seeded-connectors/claude/package.json +1 -1
  13. package/seeded-connectors/codex/dist/host.js +2 -2
  14. package/seeded-connectors/codex/dist/index.js +1 -1
  15. package/seeded-connectors/codex/dist/personal.js +3 -3
  16. package/seeded-connectors/codex/package.json +1 -1
  17. package/seeded-connectors/hermes/dist/index.js +1 -1
  18. package/seeded-connectors/hermes/dist/launch.js +2 -2
  19. package/seeded-connectors/hermes/package.json +1 -1
  20. package/seeded-connectors/hermes/plugin/cotal/_sidecar/standalone.cjs +2 -2
  21. package/seeded-connectors/jcode/dist/host.js +2 -2
  22. package/seeded-connectors/jcode/dist/index.js +1 -1
  23. package/seeded-connectors/jcode/dist/mcp.js +1 -1
  24. package/seeded-connectors/jcode/package.json +1 -1
  25. package/seeded-connectors/opencode/dist/index.js +1 -1
  26. package/seeded-connectors/opencode/dist/plugin/index.js +2 -2
  27. package/seeded-connectors/opencode/package.json +1 -1
  28. package/seeded-connectors/pi/dist/index.js +2 -2
  29. package/seeded-connectors/pi/dist/standalone.js +2 -2
  30. package/seeded-connectors/pi/package.json +1 -1
  31. package/seeded-connectors/web/package.json +1 -1
@@ -6,6 +6,8 @@ import { askManager } from "@cotal-ai/workspace/control";
6
6
  import { queryDaemon } from "./client.js";
7
7
  import { daemonPaths, EndpointRefusal } from "./endpoint.js";
8
8
  import { preflightInstalledDaemon } from "./install.js";
9
+ import { setTimeout as delay } from "node:timers/promises";
10
+ import { preinstallPreservationObservation, preservingPreinstallRefusal } from "./preinstall-preservation.js";
9
11
  import { processBirth, readLifetimeRecord } from "./lifetime.js";
10
12
  /** Read-only admission. Consent and all Manager/daemon mutation remain in the parent transaction. */
11
13
  export async function readExecutionPreinstall(request) {
@@ -31,15 +33,69 @@ export async function readExecutionPreinstall(request) {
31
33
  if (!lifetime?.start || lifetime.pid !== reply.result.pid || processBirth(lifetime.pid) !== lifetime.start)
32
34
  throw new Error("machine daemon lifetime changed during pre-install check");
33
35
  const active = (reply.result.managers ?? []).filter(manager => manager.pid !== undefined);
36
+ let preservingDeadline;
37
+ const hostedIdentity = (status) => {
38
+ if (!Array.isArray(status.managers))
39
+ throw new Error("hosted Manager inventory is unknown during preserving observation");
40
+ return JSON.stringify(status.managers.filter(row => row.pid !== undefined).map(row => [row.space, row.pid, row.instanceId]).sort((a, b) => String(a[0]).localeCompare(String(b[0]))));
41
+ };
42
+ const initialHostedIdentity = hostedIdentity(reply.result);
34
43
  let occupied = 0;
35
44
  for (const manager of active) {
36
45
  if (!manager.instanceId)
37
46
  throw new CommandFailure("refused", "LIFECYCLE_BLOCKED", `hosted Manager ${manager.space} has no verified instance identity`);
47
+ const managerBirth = processBirth(manager.pid);
48
+ if (!managerBirth)
49
+ throw new Error("hosted Manager lifetime is unreadable during pre-install check");
38
50
  await withIdpSessionDir(homeCotalDir(), async () => {
39
51
  const target = await resolveControlTarget({ space: manager.space }, "control-caller-privileged", manager.instanceId, { onRefusal: "throw", readOnly: true });
40
- const status = await askManager({ versionSkew: (text) => text, roster: async () => [] }, manager.space, target.server, "managerStatus", undefined, target.auth, "owner", 3000, { instanceId: manager.instanceId });
41
- if (!status.ok)
42
- throw new Error(status.error ?? "hosted Manager status did not answer");
52
+ let observed = reply.result;
53
+ const pin = () => {
54
+ if (processBirth(lifetime.pid) !== lifetime.start || observed.pid !== lifetime.pid || hostedIdentity(observed) !== initialHostedIdentity)
55
+ throw new Error("machine daemon or hosted Manager identities changed during preserving observation");
56
+ if (!Array.isArray(observed.managers))
57
+ throw new Error("hosted Manager inventory is unknown during preserving observation");
58
+ const current = observed.managers.find(row => row.space === manager.space && row.instanceId === manager.instanceId);
59
+ if (!current || current.pid !== manager.pid || processBirth(manager.pid) !== managerBirth)
60
+ throw new Error("hosted Manager lifetime changed during preserving observation");
61
+ };
62
+ const bounded = async (read) => {
63
+ const remaining = preservingDeadline - Date.now();
64
+ if (remaining <= 0)
65
+ throw preservingPreinstallRefusal(preinstallPreservationObservation(observed));
66
+ let timer;
67
+ try {
68
+ const result = await Promise.race([read(), new Promise((_, reject) => { timer = setTimeout(() => reject(preservingPreinstallRefusal(preinstallPreservationObservation(observed))), remaining); })]);
69
+ if (Date.now() >= preservingDeadline)
70
+ throw preservingPreinstallRefusal(preinstallPreservationObservation(observed));
71
+ return result;
72
+ }
73
+ finally {
74
+ clearTimeout(timer);
75
+ }
76
+ };
77
+ let status;
78
+ for (;;) {
79
+ pin();
80
+ const ask = () => askManager({ versionSkew: (text) => text, roster: async () => [] }, manager.space, target.server, "managerStatus", undefined, target.auth, "owner", preservingDeadline === undefined ? 3000 : Math.max(1, Math.min(3000, preservingDeadline - Date.now())), { instanceId: manager.instanceId });
81
+ status = preservingDeadline === undefined ? await ask() : await bounded(ask);
82
+ if (status.ok)
83
+ break;
84
+ if (!/manager is in preserving mode/.test(status.error ?? ""))
85
+ throw new Error(status.error ?? "hosted Manager status did not answer");
86
+ preservingDeadline ??= Date.now() + 5000;
87
+ const custody = preinstallPreservationObservation(observed);
88
+ if (custody.seats !== 0 || !["gone", "transaction"].includes(custody.owner) || Date.now() >= preservingDeadline)
89
+ throw preservingPreinstallRefusal(custody);
90
+ await delay(Math.min(100, Math.max(1, preservingDeadline - Date.now())));
91
+ const fresh = await bounded(() => queryDaemon({ paths, timeoutMs: Math.max(1, Math.min(1000, preservingDeadline - Date.now())) }));
92
+ if (!fresh.ok)
93
+ throw new Error("machine daemon custody is unreadable during preserving observation");
94
+ observed = fresh.result;
95
+ }
96
+ pin();
97
+ if (status.data.instanceId !== manager.instanceId)
98
+ throw new Error("hosted Manager instance changed before pre-install receipt");
43
99
  const count = status.data.agentCount;
44
100
  if (!Number.isSafeInteger(count) || count < 0)
45
101
  throw new Error("hosted Manager returned an invalid agent count");
@@ -14,6 +14,8 @@ import { daemonPaths, daemonPathsFor } from "./endpoint.js";
14
14
  import { daemonStartedByOwnedService, installedDaemonIdentity, unitReceiptFile } from "./install.js";
15
15
  import { readHostedAgents } from "./agents.js";
16
16
  import { readManagerCleanup, writeManagerCleanup, validateManagerCleanupAuthority, managerCleanupFile } from "./manager-cleanup.js";
17
+ import { processBirth } from "./lifetime.js";
18
+ import { probeLiveness } from "@cotal-ai/workspace/liveness";
17
19
  export const daemonManagerRoot = (space, home) => join(home, "daemon", spaceSegment(space), "manager");
18
20
  export const daemonManagerIntentFile = (space, home) => join(home, "daemon", spaceSegment(space), "manager-host.json");
19
21
  /** Forget only the daemon's per-space hosting records after its owned service was removed. */
@@ -67,6 +69,56 @@ export function createHostedManagers(home = homeCotalDir(), version = installedG
67
69
  return task;
68
70
  };
69
71
  const generationAttempts = new Map();
72
+ const abortGenerationRestart = (owner) => queueGeneration(async () => {
73
+ if (!generationOwners.delete(owner) && !generationReleases.has(owner))
74
+ return;
75
+ if (generationOwners.size !== 0)
76
+ return;
77
+ generationReleases.add(owner);
78
+ generationPrepared = false;
79
+ for (const [child, attemptId] of generationAttempts) {
80
+ await generationCall(child, attemptId, "abort");
81
+ generationAttempts.delete(child);
82
+ }
83
+ generationReleases.clear();
84
+ generationPending = generationAcquisitions !== 0;
85
+ if (!generationPending)
86
+ for (const l of live.values()) {
87
+ if (!l.child && !l.starting && !l.timer && l.view.state === "restarting")
88
+ schedule(l);
89
+ else if (l.child)
90
+ observe(l);
91
+ }
92
+ });
93
+ let reapingGeneration = false;
94
+ const generationReaper = setInterval(() => {
95
+ if (closed || reapingGeneration)
96
+ return;
97
+ reapingGeneration = true;
98
+ void (async () => {
99
+ for (const owner of new Set([...generationOwners, ...generationReleases])) {
100
+ let record;
101
+ try {
102
+ record = JSON.parse(owner);
103
+ }
104
+ catch {
105
+ continue;
106
+ }
107
+ if (!Array.isArray(record) || record[0] !== "peer" || !Number.isSafeInteger(record[2]) || typeof record[3] !== "string")
108
+ continue;
109
+ const pid = record[2];
110
+ try {
111
+ const start = processBirth(pid);
112
+ if (start !== undefined ? start !== record[3] : probeLiveness(pid) === "dead") {
113
+ await abortGenerationRestart(owner);
114
+ console.log(`machine daemon: released the preserving hold of updater ${pid} because that process ended`);
115
+ }
116
+ }
117
+ catch { /* Unknown custody keeps the fence and retries on the next bounded observation. */ }
118
+ }
119
+ })().finally(() => { reapingGeneration = false; });
120
+ }, 1000);
121
+ generationReaper.unref();
70
122
  const generationCall = (child, attemptId, op) => new Promise((resolve, reject) => {
71
123
  if (child.exitCode !== null || child.signalCode !== null) {
72
124
  resolve(undefined);
@@ -807,13 +859,13 @@ export function createHostedManagers(home = homeCotalDir(), version = installedG
807
859
  },
808
860
  prepareGenerationRestart(owner) {
809
861
  generationPending = true;
862
+ generationOwners.add(owner);
810
863
  generationAcquisitions++;
811
864
  return queueGeneration(async () => {
812
865
  generationAcquisitions--;
813
- if (generationPrepared) {
814
- generationOwners.add(owner);
866
+ generationOwners.add(owner);
867
+ if (generationPrepared)
815
868
  return;
816
- }
817
869
  try {
818
870
  await Promise.all([...live.values()].map((l) => l.healthTask));
819
871
  // A timed-out prepare can still have landed. Roll back every retained attempt before retrying.
@@ -881,6 +933,8 @@ export function createHostedManagers(home = homeCotalDir(), version = installedG
881
933
  }
882
934
  catch { /* Retain the exact attempt for rollback on the next automatic retry. */ }
883
935
  }
936
+ if (generationAttempts.size === 0)
937
+ generationOwners.delete(owner);
884
938
  generationPending = generationAttempts.size !== 0 || generationAcquisitions !== 0;
885
939
  if (!generationPending)
886
940
  for (const l of live.values()) {
@@ -893,30 +947,7 @@ export function createHostedManagers(home = homeCotalDir(), version = installedG
893
947
  }
894
948
  });
895
949
  },
896
- abortGenerationRestart(owner) {
897
- return queueGeneration(async () => {
898
- if (!generationOwners.delete(owner) && !generationReleases.has(owner))
899
- return;
900
- if (generationOwners.size !== 0)
901
- return;
902
- // Keep release authority and exact child attempts if an abort is unconfirmed.
903
- generationReleases.add(owner);
904
- generationPrepared = false;
905
- for (const [child, attemptId] of generationAttempts) {
906
- await generationCall(child, attemptId, "abort");
907
- generationAttempts.delete(child);
908
- }
909
- generationReleases.clear();
910
- generationPending = generationAcquisitions !== 0;
911
- if (!generationPending)
912
- for (const l of live.values()) {
913
- if (!l.child && !l.starting && !l.timer && l.view.state === "restarting")
914
- schedule(l);
915
- else if (l.child)
916
- observe(l);
917
- }
918
- });
919
- },
950
+ abortGenerationRestart,
920
951
  all: () => [...new Set([...spaces(true), ...live.keys()])].map(status),
921
952
  async disconnect(space, options) {
922
953
  // A crash during child shutdown must not restore a withdrawn hosting intent.
@@ -1064,6 +1095,7 @@ export function createHostedManagers(home = homeCotalDir(), version = installedG
1064
1095
  },
1065
1096
  async close() {
1066
1097
  closed = true;
1098
+ clearInterval(generationReaper);
1067
1099
  await Promise.all([...live.values()].map(async (l) => {
1068
1100
  l.stopping = true;
1069
1101
  closeProbeSession(l);
@@ -0,0 +1,46 @@
1
+ import { constants, closeSync, fstatSync, openSync, readFileSync } from "node:fs";
2
+ import { join } from "node:path";
3
+ import { homeCotalDir } from "@cotal-ai/workspace";
4
+ import { probeLiveness } from "@cotal-ai/workspace/liveness";
5
+ import { processStartToken } from "@cotal-ai/core";
6
+ /** Inspect existing records only. Missing or unreadable ownership never proves death. */
7
+ export function preinstallPreservationObservation(status) {
8
+ if (!Array.isArray(status.managers))
9
+ return { owner: "unknown", age: "unknown", seats: "unknown" };
10
+ const active = status.managers.filter(row => row.pid !== undefined);
11
+ const evidence = status.update?.restartEvidence;
12
+ const complete = evidence?.prepared === true && evidence.managers.length === active.length
13
+ && new Set(evidence.managers.map(row => row.space)).size === active.length
14
+ && active.every(manager => evidence.managers.some(row => row.space === manager.space && row.fenced === true && Number.isSafeInteger(row.seats) && row.seats >= 0));
15
+ const seats = complete ? evidence.managers.reduce((sum, row) => sum + row.seats, 0) : "unknown";
16
+ let owner = "unknown", age = "unknown";
17
+ let fd;
18
+ try {
19
+ fd = openSync(join(homeCotalDir(), ".update-closure.lock"), constants.O_RDONLY | constants.O_NOFOLLOW);
20
+ const st = fstatSync(fd);
21
+ if (!st.isFile() || st.nlink !== 1 || st.size > 65536 || (st.mode & 0o022) !== 0 || (process.getuid && st.uid !== process.getuid()))
22
+ return { owner, age, seats };
23
+ const record = JSON.parse(readFileSync(fd, "utf8"));
24
+ if (!Number.isSafeInteger(record.pid) || Number(record.pid) <= 0 || typeof record.start !== "string" || !record.start || typeof record.nonce !== "string" || !record.nonce)
25
+ return { owner, age, seats };
26
+ if (typeof record.ts === "number" && Number.isFinite(record.ts) && record.ts <= Date.now())
27
+ age = `${Math.floor((Date.now() - record.ts) / 1000)} s since the recorded update closure`;
28
+ const pid = Number(record.pid), birth = processStartToken(pid);
29
+ if (birth !== undefined && birth !== record.start || birth === undefined && probeLiveness(pid) === "dead")
30
+ owner = "gone";
31
+ else if (birth === record.start) {
32
+ const env = process.env;
33
+ const delegated = env.COTAL_UPDATE_CLOSURE_OWNER === String(pid) && env.COTAL_UPDATE_CLOSURE_START === record.start && env.COTAL_UPDATE_CLOSURE_NONCE === record.nonce;
34
+ owner = pid === process.pid || delegated ? "transaction" : "live";
35
+ }
36
+ }
37
+ catch { /* Unknown custody is a refusal, not recovery authority. */ }
38
+ finally {
39
+ if (fd !== undefined)
40
+ closeSync(fd);
41
+ }
42
+ return { owner, age, seats };
43
+ }
44
+ export function preservingPreinstallRefusal(observation) {
45
+ return new Error(`manager is in preserving mode; hold age ${observation.age}; seats ${observation.seats}; update owner ${observation.owner}. Wait for a running update to finish, then run \`cotal update --self\` again. No hold was released by this check.`);
46
+ }
@@ -15,7 +15,7 @@ import { waitForInstalledDaemonGeneration } from "./update-generation.js";
15
15
  import { cleanupExecutionStore } from "../execution-store.js";
16
16
  import { repairExecutionInstallModes } from "../execution-transaction.js";
17
17
  import { prepareExecutionUpdate, preflightExecutionUpdate, recoverExecutionUpdate, executionInstallRoot } from "./execution-update.js";
18
- import { findMesh, logicalExecutionEntry, retainConnectorConfig, shellPath } from "@cotal-ai/workspace";
18
+ import { findMesh, logicalExecutionEntry, pruneRetainedConnectorConfig, retainConnectorConfig, shellPath } from "@cotal-ai/workspace";
19
19
  import { reportRunningManagers } from "@cotal-ai/cli/update";
20
20
  import { adoptAutomaticUpdateChild } from "./update-scope.js";
21
21
  import { captureWindowsGeneration, closeWindowsGeneration, windowsGenerationLifecycle } from "./update-generation-win32.js";
@@ -70,6 +70,56 @@ function assertDaemonReachable() {
70
70
  if (lifetime?.start && processBirth(lifetime.pid) === lifetime.start)
71
71
  throw new Error("the machine daemon is running and this session has no XDG_RUNTIME_DIR to reach it; run the update from a login session of this account, or leave it to the daemon's automatic update");
72
72
  }
73
+ async function collectConnectorSets() {
74
+ try {
75
+ const entry = logicalExecutionEntry();
76
+ if (!entry || updateRuntime.checkout())
77
+ return;
78
+ const release = claimUpdateClosureAccess();
79
+ try {
80
+ const holders = [];
81
+ const managers = localUpdateManagers({}, entry);
82
+ for (const manager of managers) {
83
+ if (!manager.process || assertRecordIdentity(manager.process).kind !== "match")
84
+ return;
85
+ const target = await resolveControlTarget({ space: manager.space, server: manager.server }, "control-caller-admin", manager.instanceId, { onRefusal: "throw", readOnly: true });
86
+ const reply = await askManager({ versionSkew: text => text, roster: async () => [] }, manager.space, target.server, "managerStatus", undefined, target.auth, "owner", 3000, { instanceId: manager.instanceId });
87
+ if (!reply.ok || assertRecordIdentity(manager.process).kind !== "match")
88
+ return;
89
+ const version = reply.data?.version;
90
+ holders.push(typeof version === "string" ? version : undefined);
91
+ }
92
+ try {
93
+ const paths = daemonPaths();
94
+ const reply = await queryDaemon({ paths });
95
+ if (!reply.ok)
96
+ return;
97
+ const lifetime = readLifetimeRecord(paths.lock);
98
+ if (!lifetime?.start || lifetime.pid !== reply.result.pid || processBirth(lifetime.pid) !== lifetime.start)
99
+ return;
100
+ // Hosted Managers can remain on an earlier generation than their daemon.
101
+ // Their separate records must all have appeared in the authenticated inventory.
102
+ if ((reply.result.managers ?? []).some(row => row.pid !== undefined && !managers.some(manager => manager.pid === row.pid && manager.instanceId === row.instanceId)))
103
+ return;
104
+ holders.push(reply.result.version);
105
+ }
106
+ catch (error) {
107
+ if (!(error instanceof EndpointRefusal) || !["NOT_RUNNING", "NO_RUNTIME_DIR"].includes(error.code))
108
+ return;
109
+ if (error.code === "NO_RUNTIME_DIR" && existsSync(join(homeCotalDir(), "daemon", "daemon.lock")))
110
+ return;
111
+ assertDaemonReachable();
112
+ }
113
+ if (managers.some(manager => !manager.process || assertRecordIdentity(manager.process).kind !== "match"))
114
+ return;
115
+ pruneRetainedConnectorConfig(holders);
116
+ }
117
+ finally {
118
+ release();
119
+ }
120
+ }
121
+ catch { /* An incomplete inventory or failed collection never fails the update. */ }
122
+ }
73
123
  const command = registry.resolve("command", "update");
74
124
  registry.unregister("command", "update");
75
125
  const composed = { ...command, async run(args) {
@@ -379,6 +429,7 @@ const composed = { ...command, async run(args) {
379
429
  await update(args, runtime);
380
430
  if (args.values.check === true || args.values.auto || args.values.notify || process.exitCode)
381
431
  return;
432
+ await collectConnectorSets();
382
433
  // The daemon started this update and restarts itself once this process has exited. A restart
383
434
  // asked for from here would stop this process with the rest of the service.
384
435
  if (process.env.COTAL_AUTO_UPDATE === "1")
@@ -33,8 +33,9 @@ export async function waitForInstalledDaemonGeneration(version, probe = {}) {
33
33
  }
34
34
  const query = probe.query ?? queryDaemon;
35
35
  const bound = probe.timeoutMs ?? 120_000;
36
+ const waitLine = `machine daemon: waiting up to ${Math.round(bound / 1000)}s for Cotal ${version} and its hosted Managers before the continuity check`;
36
37
  if (!probe.quiet)
37
- console.log(`machine daemon: waiting up to ${Math.round(bound / 1000)}s for Cotal ${version} and its hosted Managers before the continuity check`);
38
+ console.log(waitLine);
38
39
  const deadline = Date.now() + bound;
39
40
  let waiting = "the recorded daemon has not answered";
40
41
  const lifecycle = await probe.lifecycle?.(paths, deadline);
@@ -83,6 +84,11 @@ export async function waitForInstalledDaemonGeneration(version, probe = {}) {
83
84
  await new Promise(resolve => setTimeout(resolve, Math.min(250, Math.max(0, deadline - Date.now()))));
84
85
  }
85
86
  }
87
+ catch (error) {
88
+ if (probe.quiet)
89
+ console.log(waitLine);
90
+ throw error;
91
+ }
86
92
  finally {
87
93
  lifecycle?.close();
88
94
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cotal-ai",
3
- "version": "0.166.1",
3
+ "version": "0.166.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,28 +37,28 @@
37
37
  "node": ">=22.10"
38
38
  },
39
39
  "dependencies": {
40
- "@cotal-ai/auth": "0.166.1",
41
- "@cotal-ai/cli": "0.166.1",
42
- "@cotal-ai/connector-core": "0.166.1",
43
- "@cotal-ai/core": "0.166.1",
44
- "@cotal-ai/delivery": "0.166.1",
45
- "@cotal-ai/manager": "0.166.1",
46
- "@cotal-ai/registry": "0.166.1",
47
- "@cotal-ai/runtime": "0.166.1",
48
- "@cotal-ai/seat": "0.166.1",
49
- "@cotal-ai/workspace": "0.166.1",
40
+ "@cotal-ai/auth": "0.166.2",
41
+ "@cotal-ai/cli": "0.166.2",
42
+ "@cotal-ai/connector-core": "0.166.2",
43
+ "@cotal-ai/core": "0.166.2",
44
+ "@cotal-ai/delivery": "0.166.2",
45
+ "@cotal-ai/manager": "0.166.2",
46
+ "@cotal-ai/registry": "0.166.2",
47
+ "@cotal-ai/runtime": "0.166.2",
48
+ "@cotal-ai/seat": "0.166.2",
49
+ "@cotal-ai/workspace": "0.166.2",
50
50
  "jose": "^6.2.3"
51
51
  },
52
52
  "devDependencies": {
53
- "@cotal-ai/connector-claude-code": "0.166.1",
54
- "@cotal-ai/connector-codex": "0.166.1",
55
- "@cotal-ai/connector-hermes": "0.166.1",
56
- "@cotal-ai/connector-jcode": "0.166.1",
57
- "@cotal-ai/connector-opencode": "0.166.1",
58
- "@cotal-ai/linear": "0.166.1",
59
- "@cotal-ai/pi": "0.166.1",
53
+ "@cotal-ai/connector-claude-code": "0.166.2",
54
+ "@cotal-ai/connector-codex": "0.166.2",
55
+ "@cotal-ai/connector-hermes": "0.166.2",
56
+ "@cotal-ai/connector-jcode": "0.166.2",
57
+ "@cotal-ai/connector-opencode": "0.166.2",
58
+ "@cotal-ai/linear": "0.166.2",
59
+ "@cotal-ai/pi": "0.166.2",
60
60
  "@cotal-ai/smoke-kit": "0.0.0",
61
- "@cotal-ai/web": "0.166.1",
61
+ "@cotal-ai/web": "0.166.2",
62
62
  "@nats-io/jetstream": "3.4.0",
63
63
  "@nats-io/transport-node": "3.4.0",
64
64
  "typescript": "^5.9.3"
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "v": 1,
3
3
  "files": {
4
- "docs-bundle.bin": "285ae6b1d8c6705a77c6bab13234fe269b94b309862fdfd33b697e7adbe9c68b",
5
- "docs-index.bin": "e45c7db4dedb68ca9e8cca79ffe309eb2c8f52df12193fa1f9725ca2c437b1d1"
4
+ "docs-bundle.bin": "3234914c2b77feb10c7325108c7bd6729f9d1f6637a035e85293823cc6db8d0c",
5
+ "docs-index.bin": "4128143351fbc95f42e3a98cb8ea612c79f0b01d878c20e4f69ca36cbbacb949"
6
6
  },
7
7
  "placements": {
8
8
  "claude": [