cotal-ai 0.164.11 → 0.164.12
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 +10 -3
- 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 +4 -4
- package/seeded-connectors/claude/package.json +1 -1
- package/seeded-connectors/codex/dist/host.js +4 -4
- package/seeded-connectors/codex/dist/index.js +1 -1
- package/seeded-connectors/codex/dist/personal.js +4 -4
- package/seeded-connectors/codex/package.json +1 -1
- package/seeded-connectors/hermes/dist/index.js +1 -1
- package/seeded-connectors/hermes/dist/launch.js +4 -4
- package/seeded-connectors/hermes/package.json +1 -1
- package/seeded-connectors/hermes/plugin/cotal/_sidecar/standalone.cjs +4 -4
- package/seeded-connectors/jcode/dist/host.js +4 -4
- 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 +4 -4
- package/seeded-connectors/opencode/package.json +1 -1
- package/seeded-connectors/pi/dist/index.js +4 -4
- package/seeded-connectors/pi/dist/standalone.js +4 -4
- package/seeded-connectors/pi/package.json +1 -1
- package/seeded-connectors/web/package.json +1 -1
package/dist/cotal.js
CHANGED
|
@@ -162,6 +162,12 @@ export function selectExecutionProgram(root) {
|
|
|
162
162
|
return { root: selected, entry: join(selected, "dist", "cotal-program.js"), retained: true };
|
|
163
163
|
}
|
|
164
164
|
const executionStarted = Symbol.for("cotal.execution.started");
|
|
165
|
+
/** Whether Node was started on this file. Both sides go through the native canonical path, because
|
|
166
|
+
* Node keeps a Windows extended-length (`\\?\`) or short-name spelling in `argv[1]` and not in the
|
|
167
|
+
* module URL. */
|
|
168
|
+
function startedHere() {
|
|
169
|
+
return !!process.argv[1] && realpathSync.native(process.argv[1]) === realpathSync.native(fileURLToPath(import.meta.url));
|
|
170
|
+
}
|
|
165
171
|
/** Explicit CLI delegation for a wrapper that imports the bootstrap rather than launching it. */
|
|
166
172
|
export function startExecutionProgram() {
|
|
167
173
|
if (Reflect.get(globalThis, executionStarted))
|
|
@@ -176,15 +182,16 @@ export function startExecutionProgram() {
|
|
|
176
182
|
process.exitCode = 1;
|
|
177
183
|
}
|
|
178
184
|
if (selected) {
|
|
185
|
+
const direct = startedHere();
|
|
179
186
|
if (!import.meta.url.endsWith(".ts"))
|
|
180
187
|
Object.defineProperty(globalThis, Symbol.for("cotal.execution.identity"), {
|
|
181
|
-
value: Object.freeze({ logicalEntry: fileURLToPath(import.meta.url), launchEntry:
|
|
188
|
+
value: Object.freeze({ logicalEntry: fileURLToPath(import.meta.url), launchEntry: direct ? resolve(process.argv[1]) : fileURLToPath(import.meta.url), loadedEntry: join(selected.root, "dist", "cotal.js") }),
|
|
182
189
|
configurable: false, writable: false,
|
|
183
190
|
});
|
|
184
|
-
if (selected.retained || !
|
|
191
|
+
if (selected.retained || !direct)
|
|
185
192
|
process.argv[1] = join(selected.root, "dist", "cotal.js");
|
|
186
193
|
void import(pathToFileURL(selected.entry).href);
|
|
187
194
|
}
|
|
188
195
|
}
|
|
189
|
-
if (
|
|
196
|
+
if (startedHere())
|
|
190
197
|
startExecutionProgram();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cotal-ai",
|
|
3
|
-
"version": "0.164.
|
|
3
|
+
"version": "0.164.12",
|
|
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,28 +33,28 @@
|
|
|
33
33
|
"node": ">=22.10"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@cotal-ai/auth": "0.164.
|
|
37
|
-
"@cotal-ai/cli": "0.164.
|
|
38
|
-
"@cotal-ai/connector-core": "0.164.
|
|
39
|
-
"@cotal-ai/core": "0.164.
|
|
40
|
-
"@cotal-ai/delivery": "0.164.
|
|
41
|
-
"@cotal-ai/manager": "0.164.
|
|
42
|
-
"@cotal-ai/registry": "0.164.
|
|
43
|
-
"@cotal-ai/runtime": "0.164.
|
|
44
|
-
"@cotal-ai/seat": "0.164.
|
|
45
|
-
"@cotal-ai/workspace": "0.164.
|
|
36
|
+
"@cotal-ai/auth": "0.164.12",
|
|
37
|
+
"@cotal-ai/cli": "0.164.12",
|
|
38
|
+
"@cotal-ai/connector-core": "0.164.12",
|
|
39
|
+
"@cotal-ai/core": "0.164.12",
|
|
40
|
+
"@cotal-ai/delivery": "0.164.12",
|
|
41
|
+
"@cotal-ai/manager": "0.164.12",
|
|
42
|
+
"@cotal-ai/registry": "0.164.12",
|
|
43
|
+
"@cotal-ai/runtime": "0.164.12",
|
|
44
|
+
"@cotal-ai/seat": "0.164.12",
|
|
45
|
+
"@cotal-ai/workspace": "0.164.12",
|
|
46
46
|
"jose": "^6.2.3"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@cotal-ai/connector-claude-code": "0.164.
|
|
50
|
-
"@cotal-ai/connector-codex": "0.164.
|
|
51
|
-
"@cotal-ai/connector-hermes": "0.164.
|
|
52
|
-
"@cotal-ai/connector-jcode": "0.164.
|
|
53
|
-
"@cotal-ai/connector-opencode": "0.164.
|
|
54
|
-
"@cotal-ai/linear": "0.164.
|
|
55
|
-
"@cotal-ai/pi": "0.164.
|
|
49
|
+
"@cotal-ai/connector-claude-code": "0.164.12",
|
|
50
|
+
"@cotal-ai/connector-codex": "0.164.12",
|
|
51
|
+
"@cotal-ai/connector-hermes": "0.164.12",
|
|
52
|
+
"@cotal-ai/connector-jcode": "0.164.12",
|
|
53
|
+
"@cotal-ai/connector-opencode": "0.164.12",
|
|
54
|
+
"@cotal-ai/linear": "0.164.12",
|
|
55
|
+
"@cotal-ai/pi": "0.164.12",
|
|
56
56
|
"@cotal-ai/smoke-kit": "0.0.0",
|
|
57
|
-
"@cotal-ai/web": "0.164.
|
|
57
|
+
"@cotal-ai/web": "0.164.12",
|
|
58
58
|
"@nats-io/jetstream": "^3.4.0",
|
|
59
59
|
"@nats-io/transport-node": "^3.4.0",
|
|
60
60
|
"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": "38105406da940ded06f4eb82b82584599f6f3400a3828458bd3aeadccb0bd86c",
|
|
5
|
+
"docs-index.bin": "783ce501856a81604238b07174237d06d0180e6ac2da58d2ff08feaddc7e7945"
|
|
6
6
|
},
|
|
7
7
|
"placements": {
|
|
8
8
|
"claude": [
|