cotal-ai 0.165.2 → 0.165.3
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/execution-store.js +1 -1
- package/dist/execution-transaction.js +1 -1
- package/dist/run.js +5 -2
- package/package.json +19 -19
- package/seeded-connectors/_shared/docs-bundle.bin +0 -0
- package/seeded-connectors/_shared/docs-index.bin +0 -0
- package/seeded-connectors/_shared/placements.json +2 -2
- package/seeded-connectors/claude/dist/index.js +1 -1
- package/seeded-connectors/claude/dist/mcp.cjs +2 -2
- package/seeded-connectors/claude/package.json +1 -1
- package/seeded-connectors/codex/dist/host.js +2 -2
- package/seeded-connectors/codex/dist/index.js +1 -1
- package/seeded-connectors/codex/dist/personal.js +2 -2
- package/seeded-connectors/codex/package.json +1 -1
- package/seeded-connectors/hermes/dist/index.js +1 -1
- package/seeded-connectors/hermes/dist/launch.js +2 -2
- package/seeded-connectors/hermes/package.json +1 -1
- package/seeded-connectors/hermes/plugin/cotal/_sidecar/standalone.cjs +2 -2
- package/seeded-connectors/jcode/dist/host.js +2 -2
- package/seeded-connectors/jcode/dist/index.js +1 -1
- package/seeded-connectors/jcode/dist/mcp.js +1 -1
- package/seeded-connectors/jcode/package.json +1 -1
- package/seeded-connectors/opencode/dist/index.js +1 -1
- package/seeded-connectors/opencode/dist/plugin/index.js +2 -2
- package/seeded-connectors/opencode/package.json +1 -1
- package/seeded-connectors/pi/dist/index.js +2 -2
- package/seeded-connectors/pi/dist/standalone.js +2 -2
- package/seeded-connectors/pi/package.json +1 -1
- package/seeded-connectors/web/package.json +1 -1
package/dist/execution-store.js
CHANGED
|
@@ -36,7 +36,7 @@ export function retainExecutionGeneration(installedRoot, verifiedSource) {
|
|
|
36
36
|
accessSync(dirname(dirname(installedRoot)), constants.W_OK);
|
|
37
37
|
}
|
|
38
38
|
catch {
|
|
39
|
-
throw new Error(`installation is not writable;
|
|
39
|
+
throw new Error(`installation is not writable; have an administrator run: sudo npm install -g --prefix '${dirname(dirname(dirname(installedRoot))).replace(/'/g, "'\\''")}' cotal-ai@latest; then run cotal update as your normal account, without sudo`);
|
|
40
40
|
}
|
|
41
41
|
const store = executionStore(installedRoot), shared = executionShared(installedRoot);
|
|
42
42
|
if (!lstatSync(store, { throwIfNoEntry: false })) {
|
|
@@ -20,7 +20,7 @@ export function assertExecutionDestination(installed) {
|
|
|
20
20
|
accessSync(path, constants.W_OK);
|
|
21
21
|
}
|
|
22
22
|
catch {
|
|
23
|
-
throw new Error(`installation is not writable;
|
|
23
|
+
throw new Error(`installation is not writable; have an administrator run: sudo npm install -g --prefix '${dirname(dirname(dirname(installed))).replace(/'/g, "'\\''")}' cotal-ai@latest; then run cotal update as your normal account, without sudo`);
|
|
24
24
|
}
|
|
25
25
|
selectExecutionProgram(installed);
|
|
26
26
|
}
|
package/dist/run.js
CHANGED
|
@@ -57,7 +57,7 @@ registry.provide({ provides: commands("__service-unit"), load: () => import("@co
|
|
|
57
57
|
registry.provide({ provides: commands("daemon"), load: importing("daemon", "auth") });
|
|
58
58
|
// The dispatch module reads the command word as `runCli` will, and loads no command. A word a
|
|
59
59
|
// provider declares imports that provider's surfaces; any other word imports them all.
|
|
60
|
-
const { commandWord, runCli, stdoutError } = await import("@cotal-ai/cli/dispatch");
|
|
60
|
+
const { commandWord, completeFileWrites, runCli, stdoutError } = await import("@cotal-ai/cli/dispatch");
|
|
61
61
|
const { executionIdentity } = await import("@cotal-ai/workspace");
|
|
62
62
|
const identity = executionIdentity();
|
|
63
63
|
if (identity && identity.logicalEntry === identity.loadedEntry) {
|
|
@@ -80,8 +80,11 @@ if (word === "update")
|
|
|
80
80
|
// or a shell's process substitution (`source <(cotal completion script bash)`). Node otherwise turns the
|
|
81
81
|
// closed-pipe write into a fatal unhandled 'error' event with a stack trace. Mirror SIGPIPE: exit
|
|
82
82
|
// 0. A command that must close something first, such as a chat session, owns stdout's errors while
|
|
83
|
-
// it runs, and this listener stands down for it. Registered before any command can write.
|
|
83
|
+
// it runs, and this listener stands down for it. Registered before any command can write. A stdout
|
|
84
|
+
// redirected to a file writes each chunk whole or fails into this listener, so a file-size limit or
|
|
85
|
+
// a full disk cannot cut an export short and still exit 0.
|
|
84
86
|
process.stdout.on("error", stdoutError);
|
|
87
|
+
completeFileWrites();
|
|
85
88
|
// The four agent connectors (claude/opencode/hermes/pi) are NOT imported here: they are removable,
|
|
86
89
|
// install-seeded `cotal ext` plugins loaded through the manifest, exactly like a third-party
|
|
87
90
|
// connector (and like the `@cotal-ai/orca` runtime already is). `runCli` seeds them on first run and
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cotal-ai",
|
|
3
|
-
"version": "0.165.
|
|
3
|
+
"version": "0.165.3",
|
|
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.165.
|
|
41
|
-
"@cotal-ai/cli": "0.165.
|
|
42
|
-
"@cotal-ai/connector-core": "0.165.
|
|
43
|
-
"@cotal-ai/core": "0.165.
|
|
44
|
-
"@cotal-ai/delivery": "0.165.
|
|
45
|
-
"@cotal-ai/manager": "0.165.
|
|
46
|
-
"@cotal-ai/registry": "0.165.
|
|
47
|
-
"@cotal-ai/runtime": "0.165.
|
|
48
|
-
"@cotal-ai/seat": "0.165.
|
|
49
|
-
"@cotal-ai/workspace": "0.165.
|
|
40
|
+
"@cotal-ai/auth": "0.165.3",
|
|
41
|
+
"@cotal-ai/cli": "0.165.3",
|
|
42
|
+
"@cotal-ai/connector-core": "0.165.3",
|
|
43
|
+
"@cotal-ai/core": "0.165.3",
|
|
44
|
+
"@cotal-ai/delivery": "0.165.3",
|
|
45
|
+
"@cotal-ai/manager": "0.165.3",
|
|
46
|
+
"@cotal-ai/registry": "0.165.3",
|
|
47
|
+
"@cotal-ai/runtime": "0.165.3",
|
|
48
|
+
"@cotal-ai/seat": "0.165.3",
|
|
49
|
+
"@cotal-ai/workspace": "0.165.3",
|
|
50
50
|
"jose": "^6.2.3"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@cotal-ai/connector-claude-code": "0.165.
|
|
54
|
-
"@cotal-ai/connector-codex": "0.165.
|
|
55
|
-
"@cotal-ai/connector-hermes": "0.165.
|
|
56
|
-
"@cotal-ai/connector-jcode": "0.165.
|
|
57
|
-
"@cotal-ai/connector-opencode": "0.165.
|
|
58
|
-
"@cotal-ai/linear": "0.165.
|
|
59
|
-
"@cotal-ai/pi": "0.165.
|
|
53
|
+
"@cotal-ai/connector-claude-code": "0.165.3",
|
|
54
|
+
"@cotal-ai/connector-codex": "0.165.3",
|
|
55
|
+
"@cotal-ai/connector-hermes": "0.165.3",
|
|
56
|
+
"@cotal-ai/connector-jcode": "0.165.3",
|
|
57
|
+
"@cotal-ai/connector-opencode": "0.165.3",
|
|
58
|
+
"@cotal-ai/linear": "0.165.3",
|
|
59
|
+
"@cotal-ai/pi": "0.165.3",
|
|
60
60
|
"@cotal-ai/smoke-kit": "0.0.0",
|
|
61
|
-
"@cotal-ai/web": "0.165.
|
|
61
|
+
"@cotal-ai/web": "0.165.3",
|
|
62
62
|
"@nats-io/jetstream": "3.4.0",
|
|
63
63
|
"@nats-io/transport-node": "3.4.0",
|
|
64
64
|
"typescript": "^5.9.3"
|
|
Binary file
|
|
Binary file
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"v": 1,
|
|
3
3
|
"files": {
|
|
4
|
-
"docs-bundle.bin": "
|
|
5
|
-
"docs-index.bin": "
|
|
4
|
+
"docs-bundle.bin": "98f08e9bc08a7e7ed3474ea56fe54c95bb7ab4d6c98b6f774bde7a2672c6f225",
|
|
5
|
+
"docs-index.bin": "c326709f9f9b7b9e1608d1cf55bdc59bf097742a181c14b34f0ca11fc88b492b"
|
|
6
6
|
},
|
|
7
7
|
"placements": {
|
|
8
8
|
"claude": [
|