cotal-ai 0.85.0 → 0.86.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/.claude-plugin/plugin.json +1 -1
- package/seeded-connectors/claude/dist/app-host.d.ts +16 -0
- package/seeded-connectors/claude/dist/app-host.d.ts.map +1 -0
- package/seeded-connectors/claude/dist/cli-record.d.ts +5 -0
- package/seeded-connectors/claude/dist/cli-record.d.ts.map +1 -0
- package/seeded-connectors/claude/dist/connection-owner.d.ts +5 -0
- package/seeded-connectors/claude/dist/connection-owner.d.ts.map +1 -0
- package/seeded-connectors/claude/dist/desktop-config.d.ts +15 -0
- package/seeded-connectors/claude/dist/desktop-config.d.ts.map +1 -0
- package/seeded-connectors/claude/dist/hook.cjs +213 -26685
- package/seeded-connectors/claude/dist/hooks.d.ts.map +1 -1
- package/seeded-connectors/claude/dist/index.js +270 -102
- package/seeded-connectors/claude/dist/mcp.cjs +2038 -1349
- package/seeded-connectors/claude/dist/mcp.d.ts.map +1 -1
- package/seeded-connectors/claude/dist/monitor.cjs +97 -0
- package/seeded-connectors/claude/dist/monitor.d.ts +2 -0
- package/seeded-connectors/claude/dist/monitor.d.ts.map +1 -0
- package/seeded-connectors/claude/dist/one-path.d.ts +17 -0
- package/seeded-connectors/claude/dist/one-path.d.ts.map +1 -0
- package/seeded-connectors/claude/dist/setup.d.ts.map +1 -1
- package/seeded-connectors/claude/dist/wake-feed.d.ts +18 -0
- package/seeded-connectors/claude/dist/wake-feed.d.ts.map +1 -0
- package/seeded-connectors/claude/hooks/hooks.json +11 -0
- package/seeded-connectors/claude/monitors/monitors.json +7 -0
- package/seeded-connectors/claude/package.json +3 -2
- package/seeded-connectors/codex/dist/host.js +1582 -1360
- package/seeded-connectors/codex/dist/index.js +13 -2
- package/seeded-connectors/codex/package.json +1 -1
- package/seeded-connectors/hermes/dist/index.js +13 -2
- package/seeded-connectors/hermes/dist/launch.js +1565 -1343
- package/seeded-connectors/hermes/package.json +1 -1
- package/seeded-connectors/hermes/plugin/cotal/_sidecar/standalone.cjs +1574 -1352
- package/seeded-connectors/jcode/dist/host.js +1583 -1361
- package/seeded-connectors/jcode/dist/index.js +13 -2
- package/seeded-connectors/jcode/dist/mcp.js +443 -342
- package/seeded-connectors/jcode/package.json +1 -1
- package/seeded-connectors/opencode/dist/index.js +13 -2
- package/seeded-connectors/opencode/dist/plugin/index.js +1575 -1353
- package/seeded-connectors/opencode/dist/plugin.d.ts.map +1 -1
- package/seeded-connectors/opencode/package.json +1 -1
- package/seeded-connectors/pi/dist/index.js +107 -51
- package/seeded-connectors/pi/dist/standalone.js +1575 -1353
- 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 +12 -15
- 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.86.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.86.0",
|
|
37
|
+
"@cotal-ai/cli": "0.86.0",
|
|
38
|
+
"@cotal-ai/connector-core": "0.86.0",
|
|
39
|
+
"@cotal-ai/core": "0.86.0",
|
|
40
|
+
"@cotal-ai/delivery": "0.86.0",
|
|
41
|
+
"@cotal-ai/manager": "0.86.0",
|
|
42
|
+
"@cotal-ai/runtime": "0.86.0",
|
|
43
|
+
"@cotal-ai/workspace": "0.86.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.86.0",
|
|
47
|
+
"@cotal-ai/connector-codex": "0.86.0",
|
|
48
|
+
"@cotal-ai/connector-hermes": "0.86.0",
|
|
49
|
+
"@cotal-ai/connector-jcode": "0.86.0",
|
|
50
|
+
"@cotal-ai/connector-opencode": "0.86.0",
|
|
51
|
+
"@cotal-ai/pi": "0.86.0",
|
|
52
52
|
"@cotal-ai/smoke-kit": "0.0.0",
|
|
53
|
-
"@cotal-ai/web": "0.
|
|
53
|
+
"@cotal-ai/web": "0.86.0",
|
|
54
54
|
"@nats-io/jetstream": "^3.4.0",
|
|
55
55
|
"@nats-io/transport-node": "^3.4.0",
|
|
56
56
|
"typescript": "^5.9.3"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cotal",
|
|
3
3
|
"version": "0.0.0",
|
|
4
|
-
"description": "Join the Cotal mesh: coordinate with other AI agents as lateral peers (presence, messaging, role requests) over NATS. Adds one MCP server
|
|
4
|
+
"description": "Join the Cotal mesh: coordinate with other AI agents as lateral peers (presence, messaging, role requests) over NATS. Adds one MCP server, 7 hooks and a monitor. A session the cotal CLI did not launch joins only when it calls cotal_connect, and the monitor then starts a turn when a message arrives.",
|
|
5
5
|
"author": { "name": "Cotal", "url": "https://cotal.ai" },
|
|
6
6
|
"homepage": "https://cotal.ai",
|
|
7
7
|
"repository": "https://github.com/Cotal-AI/Cotal",
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type GatewayHost } from "@cotal-ai/connector-core";
|
|
2
|
+
export interface AppHostOptions {
|
|
3
|
+
/** The argv that runs the CLI. Read when a conversation connects, so a server whose record is
|
|
4
|
+
* missing still answers MCP and refuses `cotal_connect` with the remedy. */
|
|
5
|
+
cotal: () => readonly string[];
|
|
6
|
+
/** Where `app-identity` runs. A Claude Code session passes its own directory, so a project's mesh
|
|
7
|
+
* is found as `cotal spawn` finds it; Claude Desktop passes a directory that is no project. */
|
|
8
|
+
cwd: string;
|
|
9
|
+
env: NodeJS.ProcessEnv;
|
|
10
|
+
}
|
|
11
|
+
export interface AppHost extends GatewayHost {
|
|
12
|
+
/** Disconnect and retire every connection. Safe to call more than once. */
|
|
13
|
+
closeAll(): Promise<void>;
|
|
14
|
+
}
|
|
15
|
+
export declare function createAppHost(o: AppHostOptions): AppHost;
|
|
16
|
+
//# sourceMappingURL=app-host.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-host.d.ts","sourceRoot":"","sources":["../src/app-host.ts"],"names":[],"mappings":"AASA,OAAO,EAA+D,KAAK,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAMzH,MAAM,WAAW,cAAc;IAC7B;iFAC6E;IAC7E,KAAK,EAAE,MAAM,SAAS,MAAM,EAAE,CAAC;IAC/B;oGACgG;IAChG,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC,UAAU,CAAC;CACxB;AAED,MAAM,WAAW,OAAQ,SAAQ,WAAW;IAC1C,2EAA2E;IAC3E,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC3B;AAkBD,wBAAgB,aAAa,CAAC,CAAC,EAAE,cAAc,GAAG,OAAO,CA0ExD"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Beside the plugin's `mcp.cjs`, written by `cotal setup`: the argv that runs the CLI. */
|
|
2
|
+
export declare const CLI_RECORD = "cli.json";
|
|
3
|
+
/** The argv in `dir/cli.json`, or a refusal that names the remedy. */
|
|
4
|
+
export declare function readCliRecord(dir: string): string[];
|
|
5
|
+
//# sourceMappingURL=cli-record.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli-record.d.ts","sourceRoot":"","sources":["../src/cli-record.ts"],"names":[],"mappings":"AAGA,2FAA2F;AAC3F,eAAO,MAAM,UAAU,aAAa,CAAC;AAErC,sEAAsE;AACtE,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAUnD"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { LocalHookAnswer } from "@cotal-ai/connector-core/relay";
|
|
2
|
+
export declare const FORKED_REASON: string;
|
|
3
|
+
/** The hook answer over `dataDir`, the plugin's data directory. Without one it records nothing. */
|
|
4
|
+
export declare function connectionOwner(dataDir: string | undefined): LocalHookAnswer;
|
|
5
|
+
//# sourceMappingURL=connection-owner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connection-owner.d.ts","sourceRoot":"","sources":["../src/connection-owner.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAWtE,eAAO,MAAM,aAAa,QAGd,CAAC;AAqBb,mGAAmG;AACnG,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,eAAe,CAwC5E"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/** The server's name in Desktop's config. */
|
|
2
|
+
export declare const DESKTOP_SERVER = "cotal";
|
|
3
|
+
/** Where Claude Desktop keeps its config, as the MCP docs give it, or `undefined` on a platform whose
|
|
4
|
+
* location they do not give. */
|
|
5
|
+
export declare function desktopConfigPath(platform?: NodeJS.Platform, env?: NodeJS.ProcessEnv, home?: string): string | undefined;
|
|
6
|
+
export interface DesktopEntry {
|
|
7
|
+
command: string;
|
|
8
|
+
args: string[];
|
|
9
|
+
env?: Record<string, string>;
|
|
10
|
+
}
|
|
11
|
+
/** The `cotal` entry in the config at `path`, if it has one. */
|
|
12
|
+
export declare function readDesktopEntry(path: string): unknown;
|
|
13
|
+
/** Write `entry` as the `cotal` server in the config at `path`. Returns what changed. */
|
|
14
|
+
export declare function writeDesktopEntry(path: string, entry: DesktopEntry): "added" | "updated" | "current";
|
|
15
|
+
//# sourceMappingURL=desktop-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"desktop-config.d.ts","sourceRoot":"","sources":["../src/desktop-config.ts"],"names":[],"mappings":"AAUA,6CAA6C;AAC7C,eAAO,MAAM,cAAc,UAAU,CAAC;AAEtC;iCACiC;AACjC,wBAAgB,iBAAiB,CAAC,QAAQ,GAAE,MAAM,CAAC,QAA2B,EAAE,GAAG,GAAE,MAAM,CAAC,UAAwB,EAAE,IAAI,GAAE,MAAkB,GAAG,MAAM,GAAG,SAAS,CAIlK;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC9B;AAqBD,gEAAgE;AAChE,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAEtD;AAED,yFAAyF;AACzF,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CASpG"}
|