@cotal-ai/connector-claude-code 0.33.3 → 0.33.4
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-source.d.ts +14 -0
- package/dist/agui-source.d.ts.map +1 -0
- package/dist/hook.cjs +48 -48
- package/dist/hooks.d.ts +1 -1
- package/dist/hooks.d.ts.map +1 -1
- package/dist/index.js +48 -48
- package/dist/mcp.cjs +129 -73
- package/package.json +4 -4
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Claude's SessionStart source decides where a virgin event WAL begins reading its transcript.
|
|
3
|
+
*
|
|
4
|
+
* A positional startup prompt is written before SessionStart reaches the connector. Generic JSONL
|
|
5
|
+
* adoption therefore parks after the only record that can open the first run, and every later
|
|
6
|
+
* assistant/tool record maps to nothing. Only `source: "startup"` names a genuinely new session;
|
|
7
|
+
* resume, fork, clear and compact all point at retained history and must keep ordinary adopt-at-end
|
|
8
|
+
* semantics.
|
|
9
|
+
*/
|
|
10
|
+
import { type DurableSource } from "@cotal-ai/connector-core";
|
|
11
|
+
import type { ClaudeEntry } from "./agui-map.js";
|
|
12
|
+
/** Build the transcript source for the exact source value Claude supplied on SessionStart. */
|
|
13
|
+
export declare function createClaudeTranscriptSource(path: string, sessionSource: unknown): DurableSource<ClaudeEntry>;
|
|
14
|
+
//# sourceMappingURL=agui-source.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agui-source.d.ts","sourceRoot":"","sources":["../src/agui-source.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAmB,KAAK,aAAa,EAAmB,MAAM,0BAA0B,CAAC;AAChG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAgBjD,8FAA8F;AAC9F,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,GAAG,aAAa,CAAC,WAAW,CAAC,CAgB7G"}
|