cotal-ai 0.81.1 → 0.82.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/.mcp.json +1 -1
- package/seeded-connectors/claude/dist/hook.cjs +13 -0
- package/seeded-connectors/claude/dist/hooks.d.ts +2 -0
- package/seeded-connectors/claude/dist/hooks.d.ts.map +1 -1
- package/seeded-connectors/claude/dist/index.js +1 -1
- package/seeded-connectors/claude/dist/mcp.cjs +208 -109
- package/seeded-connectors/claude/dist/mcp.d.cts +34 -0
- package/seeded-connectors/claude/dist/mcp.d.ts +33 -1
- package/seeded-connectors/claude/dist/mcp.d.ts.map +1 -1
- package/seeded-connectors/claude/package.json +7 -3
- package/seeded-connectors/codex/dist/host.js +72 -32
- package/seeded-connectors/codex/package.json +1 -1
- package/seeded-connectors/hermes/dist/launch.js +72 -32
- package/seeded-connectors/hermes/package.json +1 -1
- package/seeded-connectors/hermes/plugin/cotal/_sidecar/standalone.cjs +72 -32
- package/seeded-connectors/jcode/dist/host.d.ts.map +1 -1
- package/seeded-connectors/jcode/dist/host.js +100 -55
- package/seeded-connectors/jcode/dist/mcp.js +34 -19
- package/seeded-connectors/jcode/package.json +1 -1
- package/seeded-connectors/opencode/dist/launch.d.ts.map +1 -1
- package/seeded-connectors/opencode/dist/launch.js +26 -19
- package/seeded-connectors/opencode/dist/plugin/index.js +89 -47
- package/seeded-connectors/opencode/dist/plugin2.d.ts.map +1 -1
- package/seeded-connectors/opencode/dist/serve.js +26 -19
- package/seeded-connectors/opencode/package.json +1 -1
- package/seeded-connectors/pi/dist/index.js +46 -29
- package/seeded-connectors/pi/dist/standalone.js +72 -32
- package/seeded-connectors/pi/package.json +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.82.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.82.0",
|
|
37
|
+
"@cotal-ai/cli": "0.82.0",
|
|
38
|
+
"@cotal-ai/connector-core": "0.82.0",
|
|
39
|
+
"@cotal-ai/core": "0.82.0",
|
|
40
|
+
"@cotal-ai/delivery": "0.82.0",
|
|
41
|
+
"@cotal-ai/manager": "0.82.0",
|
|
42
|
+
"@cotal-ai/runtime": "0.82.0",
|
|
43
|
+
"@cotal-ai/workspace": "0.82.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.82.0",
|
|
47
|
+
"@cotal-ai/connector-codex": "0.82.0",
|
|
48
|
+
"@cotal-ai/connector-hermes": "0.82.0",
|
|
49
|
+
"@cotal-ai/connector-jcode": "0.82.0",
|
|
50
|
+
"@cotal-ai/connector-opencode": "0.82.0",
|
|
51
|
+
"@cotal-ai/pi": "0.82.0",
|
|
52
52
|
"@cotal-ai/smoke-kit": "0.0.0",
|
|
53
|
-
"@cotal-ai/web": "0.
|
|
53
|
+
"@cotal-ai/web": "0.82.0",
|
|
54
54
|
"@nats-io/jetstream": "^3.4.0",
|
|
55
55
|
"@nats-io/transport-node": "^3.4.0",
|
|
56
56
|
"typescript": "^5.9.3"
|
|
@@ -26632,6 +26632,19 @@ var Registry = class {
|
|
|
26632
26632
|
};
|
|
26633
26633
|
var registry2 = new Registry();
|
|
26634
26634
|
|
|
26635
|
+
// ../../packages/core/dist/delegated-recovery.js
|
|
26636
|
+
var DELEGATED_RECOVERY_REASONS = Object.freeze([
|
|
26637
|
+
"provider-unknown",
|
|
26638
|
+
"store-unavailable",
|
|
26639
|
+
"authority-unavailable",
|
|
26640
|
+
"identity-unverified",
|
|
26641
|
+
"descriptor-incomplete",
|
|
26642
|
+
"retiring",
|
|
26643
|
+
"authority-drift",
|
|
26644
|
+
"identity-changed",
|
|
26645
|
+
"scope-changed"
|
|
26646
|
+
]);
|
|
26647
|
+
|
|
26635
26648
|
// ../../packages/core/dist/agui-kind.js
|
|
26636
26649
|
var AGUI_EVENT_TYPE = Object.freeze({
|
|
26637
26650
|
RUN_STARTED: "RUN_STARTED",
|
|
@@ -2,6 +2,8 @@ import { type MeshAgent, type InboxItem, type HookEvent, type HookHandle } from
|
|
|
2
2
|
import type { AguiEmitterHolder } from "@cotal-ai/connector-core";
|
|
3
3
|
import type { ClaudeEntry } from "./agui-map.js";
|
|
4
4
|
export interface ClaudeHandleDeps {
|
|
5
|
+
/** Launch environment for a hosted session's carried-fork record. Omitted uses the process env. */
|
|
6
|
+
env?: NodeJS.ProcessEnv;
|
|
5
7
|
/** The session's AG-UI emitter, read lazily — `mcp.ts` assigns it after the handler exists. */
|
|
6
8
|
events?: () => AguiEmitterHolder<ClaudeEntry, unknown> | undefined;
|
|
7
9
|
/** Told which inbox items a frame surfaced; pass {@link WakePolicy.surfaced}. */
|
|
@@ -1 +1 @@
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MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AAE5H,MAAM,WAAW,UAAU;IACzB,+EAA+E;IAC/E,gBAAgB,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;IACxC;+FAC2F;IAC3F,QAAQ,CAAC,KAAK,EAAE,SAAS,SAAS,EAAE,GAAG,IAAI,CAAC;IAC5C,sCAAsC;IACtC,IAAI,IAAI,IAAI,CAAC;CACd;AAKD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,GAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAe,GAAG,UAAU,CAsH3H"}
|
|
@@ -15385,7 +15385,7 @@ var claudeConnector = {
|
|
|
15385
15385
|
throw new Error("claude connector: an initial prompt was given but it is empty, there is no first turn to submit");
|
|
15386
15386
|
const args = prompt ? [prompt, "--dangerously-load-development-channels", CHANNEL_REF, "--plugin-dir", PLUGIN_ROOT] : ["--dangerously-load-development-channels", CHANNEL_REF, "--plugin-dir", PLUGIN_ROOT];
|
|
15387
15387
|
args.push("--allowedTools", "WebFetch(domain:github.com),WebFetch(domain:raw.githubusercontent.com)");
|
|
15388
|
-
const mcpServers = { ...shared, [MCP_SERVER_NAME]: { command: "node", args: [MCP_CJS] } };
|
|
15388
|
+
const mcpServers = { ...shared, [MCP_SERVER_NAME]: { command: "node", args: ["--optimize-for-size", "--max-semi-space-size=1", MCP_CJS] } };
|
|
15389
15389
|
const agentFile = opts.configPath ? resolve(opts.configPath) : void 0;
|
|
15390
15390
|
const def = agentFile ? loadAgentFile2(agentFile) : void 0;
|
|
15391
15391
|
if (opts.model) assertServableModel(opts.model);
|