cotal-ai 0.77.0 → 0.78.0
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 +16 -16
- package/seeded-connectors/claude/dist/index.js +7 -4
- package/seeded-connectors/claude/dist/mcp.cjs +239 -176
- package/seeded-connectors/claude/package.json +1 -1
- package/seeded-connectors/codex/dist/host.d.ts.map +1 -1
- package/seeded-connectors/codex/dist/host.js +238 -175
- package/seeded-connectors/codex/dist/index.js +7 -4
- package/seeded-connectors/codex/package.json +1 -1
- package/seeded-connectors/hermes/dist/index.js +3 -3
- package/seeded-connectors/hermes/dist/launch.js +234 -174
- package/seeded-connectors/hermes/package.json +1 -1
- package/seeded-connectors/hermes/plugin/cotal/_sidecar/standalone.cjs +234 -174
- package/seeded-connectors/jcode/dist/host.d.ts.map +1 -1
- package/seeded-connectors/jcode/dist/host.js +238 -175
- package/seeded-connectors/jcode/dist/index.js +7 -4
- package/seeded-connectors/jcode/dist/mcp.js +16 -16
- package/seeded-connectors/jcode/package.json +1 -1
- package/seeded-connectors/opencode/dist/index.js +7 -4
- package/seeded-connectors/opencode/dist/launch.d.ts.map +1 -1
- package/seeded-connectors/opencode/dist/launch.js +5 -2
- package/seeded-connectors/opencode/dist/plugin/index.js +238 -175
- package/seeded-connectors/opencode/dist/serve.js +5 -2
- package/seeded-connectors/opencode/package.json +1 -1
- package/seeded-connectors/pi/dist/connector.d.ts.map +1 -1
- package/seeded-connectors/pi/dist/index.js +156 -127
- package/seeded-connectors/pi/dist/standalone.js +238 -175
- package/seeded-connectors/pi/package.json +1 -1
- package/seeded-connectors/web/dist/web.d.ts.map +1 -1
- package/seeded-connectors/web/dist/web.js +43 -7
- package/seeded-connectors/web/dist/web.js.map +1 -1
- package/seeded-connectors/web/package.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cotal-ai",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.78.0",
|
|
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,24 +33,24 @@
|
|
|
33
33
|
"node": ">=22"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@cotal-ai/auth": "0.
|
|
37
|
-
"@cotal-ai/cli": "0.
|
|
38
|
-
"@cotal-ai/connector-core": "0.
|
|
39
|
-
"@cotal-ai/core": "0.
|
|
40
|
-
"@cotal-ai/delivery": "0.
|
|
41
|
-
"@cotal-ai/manager": "0.
|
|
42
|
-
"@cotal-ai/runtime": "0.
|
|
43
|
-
"@cotal-ai/workspace": "0.
|
|
36
|
+
"@cotal-ai/auth": "0.78.0",
|
|
37
|
+
"@cotal-ai/cli": "0.78.0",
|
|
38
|
+
"@cotal-ai/connector-core": "0.78.0",
|
|
39
|
+
"@cotal-ai/core": "0.78.0",
|
|
40
|
+
"@cotal-ai/delivery": "0.78.0",
|
|
41
|
+
"@cotal-ai/manager": "0.78.0",
|
|
42
|
+
"@cotal-ai/runtime": "0.78.0",
|
|
43
|
+
"@cotal-ai/workspace": "0.78.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@cotal-ai/connector-claude-code": "0.
|
|
47
|
-
"@cotal-ai/connector-codex": "0.
|
|
48
|
-
"@cotal-ai/connector-hermes": "0.
|
|
49
|
-
"@cotal-ai/connector-jcode": "0.
|
|
50
|
-
"@cotal-ai/connector-opencode": "0.
|
|
51
|
-
"@cotal-ai/pi": "0.
|
|
46
|
+
"@cotal-ai/connector-claude-code": "0.78.0",
|
|
47
|
+
"@cotal-ai/connector-codex": "0.78.0",
|
|
48
|
+
"@cotal-ai/connector-hermes": "0.78.0",
|
|
49
|
+
"@cotal-ai/connector-jcode": "0.78.0",
|
|
50
|
+
"@cotal-ai/connector-opencode": "0.78.0",
|
|
51
|
+
"@cotal-ai/pi": "0.78.0",
|
|
52
52
|
"@cotal-ai/smoke-kit": "0.0.0",
|
|
53
|
-
"@cotal-ai/web": "0.
|
|
53
|
+
"@cotal-ai/web": "0.78.0",
|
|
54
54
|
"@nats-io/jetstream": "^3.4.0",
|
|
55
55
|
"@nats-io/transport-node": "^3.4.0",
|
|
56
56
|
"typescript": "^5.9.3"
|
|
@@ -24,13 +24,13 @@ import { DEFAULT_SERVER, DEV_OWNER, LAUNCH_MATERIAL_ENV as LAUNCH_MATERIAL_ENV2,
|
|
|
24
24
|
import { LAUNCH_MATERIAL_ENV, readLaunchMaterial } from "@cotal-ai/core/launch-material";
|
|
25
25
|
|
|
26
26
|
// ../connector-core/dist/agent.js
|
|
27
|
-
import { normalizeMentions, RUN_LAUNCH_DEADLINE_MS, subjectMatches, isConcreteChannel as isConcreteChannel2, assertValidChannel as assertValidChannel2, channelInAllow as channelInAllow2, resolvePeer as resolvePeerInRoster, peerLabel as peerLabel2, CotalEndpoint, acquireLocalConsumer, BASELINE_LIFECYCLE_ENDPOINT as BASELINE_LIFECYCLE_ENDPOINT2, BIND_SPLIT_REISSUES, assertLifecycleToken as assertLifecycleToken2, EpEnvelopeError, isPublishPermissionDenied, unansweredRequest, renderLifecycleBlocked, controlReplyFrom, runAgentBearer, partsToText, assertValidRole } from "@cotal-ai/core";
|
|
27
|
+
import { normalizeMentions, RUN_LAUNCH_DEADLINE_MS, subjectMatches, isConcreteChannel as isConcreteChannel2, assertValidChannel as assertValidChannel2, channelInAllow as channelInAllow2, resolvePeer as resolvePeerInRoster, peerLabel as peerLabel2, CotalEndpoint, acquireLocalConsumer, BASELINE_LIFECYCLE_ENDPOINT as BASELINE_LIFECYCLE_ENDPOINT2, BIND_SPLIT_REISSUES, assertLifecycleToken as assertLifecycleToken2, EpEnvelopeError as EpEnvelopeError2, isPublishPermissionDenied, unansweredRequest, renderLifecycleBlocked, controlReplyFrom, runAgentBearer, partsToText, assertValidRole } from "@cotal-ai/core";
|
|
28
28
|
|
|
29
29
|
// ../connector-core/dist/framing.js
|
|
30
30
|
import { peerLabel } from "@cotal-ai/core";
|
|
31
31
|
|
|
32
32
|
// ../connector-core/dist/manager-call.js
|
|
33
|
-
import { BASELINE_LIFECYCLE_ENDPOINT, dialerFor, goalFollowRefusal, invokeCommand, isPermissionDenied, issuedUserCaller, managerCallerBinding, replyRefusedBeforeEffect, resolveService, standaloneConnectOpts } from "@cotal-ai/core";
|
|
33
|
+
import { BASELINE_LIFECYCLE_ENDPOINT, EpEnvelopeError, dialerFor, goalFollowRefusal, invokeCommand, isPermissionDenied, issuedUserCaller, managerCallerBinding, replyRefusedBeforeEffect, resolveService, standaloneConnectOpts } from "@cotal-ai/core";
|
|
34
34
|
|
|
35
35
|
// ../connector-core/dist/runtime.js
|
|
36
36
|
import { tmpdir } from "node:os";
|
|
@@ -185,6 +185,9 @@ function materialEnv(opts) {
|
|
|
185
185
|
return {};
|
|
186
186
|
return { [LAUNCH_MATERIAL_ENV3]: writeLaunchMaterial(material) };
|
|
187
187
|
}
|
|
188
|
+
function launchArmsEvents(opts) {
|
|
189
|
+
return opts.events !== false || opts.eventsRequired === true;
|
|
190
|
+
}
|
|
188
191
|
var ENV_REFERENCE = /\$\{([A-Za-z_][A-Za-z0-9_]*)(?::-[^}]*)?\}/g;
|
|
189
192
|
function mcpServerEnvKeys(servers) {
|
|
190
193
|
const names = /* @__PURE__ */ new Set();
|
|
@@ -14888,7 +14891,7 @@ function date4(params) {
|
|
|
14888
14891
|
config(en_default());
|
|
14889
14892
|
|
|
14890
14893
|
// ../connector-core/dist/tool-specs.js
|
|
14891
|
-
import { isConcreteChannel as isConcreteChannel3, channelInAllow as channelInAllow3, AmbiguousPeerError, peerLabel as peerLabel4, assertLifecycleToken as assertLifecycleToken3, isPermissionDenied as isPermissionDenied2, renderLifecycleBlocked as renderLifecycleBlocked2, EpEnvelopeError as
|
|
14894
|
+
import { isConcreteChannel as isConcreteChannel3, channelInAllow as channelInAllow3, AmbiguousPeerError, peerLabel as peerLabel4, assertLifecycleToken as assertLifecycleToken3, isPermissionDenied as isPermissionDenied2, renderLifecycleBlocked as renderLifecycleBlocked2, EpEnvelopeError as EpEnvelopeError3, LANG_PROBLEM_DETAIL_KIND, formatAge, presenceAges } from "@cotal-ai/core";
|
|
14892
14895
|
|
|
14893
14896
|
// ../connector-core/dist/orientation.js
|
|
14894
14897
|
import { peerLabel as peerLabel3 } from "@cotal-ai/core";
|
|
@@ -15395,7 +15398,7 @@ var claudeConnector = {
|
|
|
15395
15398
|
COTAL_CHANNEL: "1",
|
|
15396
15399
|
COTAL_CONTROL_SOCKET: control.path
|
|
15397
15400
|
};
|
|
15398
|
-
if (opts
|
|
15401
|
+
if (launchArmsEvents(opts)) {
|
|
15399
15402
|
env.COTAL_EVENTS = "1";
|
|
15400
15403
|
if (!opts.workspaceRoot)
|
|
15401
15404
|
throw new Error(
|