@cotal-ai/connector-claude-code 0.21.0 → 0.22.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/dist/agui-map.d.ts +220 -0
- package/dist/agui-map.d.ts.map +1 -0
- package/dist/extension.d.ts.map +1 -1
- package/dist/hook.cjs +8 -8
- package/dist/hooks.d.ts +4 -3
- package/dist/hooks.d.ts.map +1 -1
- package/dist/index.js +8 -14
- package/dist/mcp.cjs +2072 -488
- package/package.json +4 -4
- package/dist/transcript.d.ts +0 -27
- package/dist/transcript.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cotal-ai/connector-claude-code",
|
|
3
3
|
"description": "Cotal connector for Claude Code: an installed plugin that joins a session to the mesh.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.22.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
25
25
|
"esbuild": "^0.28.0",
|
|
26
26
|
"tsx": "^4.22.4",
|
|
27
|
-
"@cotal-ai/core": "0.
|
|
28
|
-
"@cotal-ai/
|
|
29
|
-
"@cotal-ai/
|
|
27
|
+
"@cotal-ai/connector-core": "0.22.0",
|
|
28
|
+
"@cotal-ai/core": "0.22.0",
|
|
29
|
+
"@cotal-ai/smoke-kit": "0.0.0"
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
32
32
|
"dist",
|
package/dist/transcript.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { MeshAgent } from "@cotal-ai/connector-core";
|
|
2
|
-
export { transcriptChannel } from "@cotal-ai/connector-core";
|
|
3
|
-
export declare class TranscriptMirror {
|
|
4
|
-
private readonly agent;
|
|
5
|
-
private readonly channel;
|
|
6
|
-
private path?;
|
|
7
|
-
private offset;
|
|
8
|
-
/** A batch that failed mid-publish: chunks + how many already landed. Retried (from the
|
|
9
|
-
* first unsent chunk — never re-sending a delivered one) before any new read. */
|
|
10
|
-
private pending?;
|
|
11
|
-
/** ALL path/offset mutation and publishing runs on this serialized chain — hook events
|
|
12
|
-
* land concurrently on the control socket. */
|
|
13
|
-
private chain;
|
|
14
|
-
constructor(agent: MeshAgent, channel: string);
|
|
15
|
-
/** Adopt the transcript at its CURRENT end — mirror only what happens from now on, so a
|
|
16
|
-
* resumed session (or a mirror that first sees the path mid-session) never rebroadcasts. */
|
|
17
|
-
adopt(path: unknown): void;
|
|
18
|
-
/** Queue a flush of new transcript entries to the channel. Never throws, never blocks the
|
|
19
|
-
* hook reply — the read+publish runs on the serialized chain. */
|
|
20
|
-
flush(path: unknown): void;
|
|
21
|
-
private enqueue;
|
|
22
|
-
private adoptNow;
|
|
23
|
-
private doFlush;
|
|
24
|
-
/** New complete lines since the offset (a trailing partial line stays for the next flush). */
|
|
25
|
-
private readComplete;
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=transcript.d.ts.map
|
package/dist/transcript.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transcript.d.ts","sourceRoot":"","sources":["../src/transcript.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAO1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AA8D7D,qBAAa,gBAAgB;IAWzB,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,OAAO;IAX1B,OAAO,CAAC,IAAI,CAAC,CAAS;IACtB,OAAO,CAAC,MAAM,CAAK;IACnB;sFACkF;IAClF,OAAO,CAAC,OAAO,CAAC,CAAyD;IACzE;mDAC+C;IAC/C,OAAO,CAAC,KAAK,CAAoC;gBAG9B,KAAK,EAAE,SAAS,EAChB,OAAO,EAAE,MAAM;IAGlC;iGAC6F;IAC7F,KAAK,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI;IAO1B;sEACkE;IAClE,KAAK,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI;IAO1B,OAAO,CAAC,OAAO;IAMf,OAAO,CAAC,QAAQ;YAWF,OAAO;IAmBrB,8FAA8F;IAC9F,OAAO,CAAC,YAAY;CAyBrB"}
|