@cotal-ai/connector-claude-code 0.54.0 → 0.55.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.
@@ -28,4 +28,16 @@ export declare function readStartupTranscriptWhenReady<T>(read: () => Promise<So
28
28
  }): Promise<SourceRead<T>>;
29
29
  /** Build the transcript source for the exact source value Claude supplied on SessionStart. */
30
30
  export declare function createClaudeTranscriptSource(path: string, sessionSource: unknown, opts?: ClaudeTranscriptSourceOpts): DurableSource<ClaudeEntry>;
31
+ /**
32
+ * Same as {@link createClaudeTranscriptSource}, but for every retained-history mode also captures
33
+ * the adopt boundary BEFORE the caller's mesh wait, per `BoundStartSource`: a lazily-bound emitter
34
+ * would otherwise position itself on its own first read, which happens only after the mesh wait and
35
+ * everything else the bind does first, silently dropping anything the session wrote in between.
36
+ *
37
+ * `startup` already reads from byte zero and needs no boundary. `fork` waits for its copied file to
38
+ * appear before it knows its own boundary (`StartupClaudeTranscriptSource` in adopt-at-end mode) —
39
+ * this runs that SAME wait, once, right here, and the eventual first real read substitutes the
40
+ * captured cursor and goes straight to the file, never waiting twice.
41
+ */
42
+ export declare function createBoundClaudeTranscriptSource(path: string, sessionSource: unknown, opts?: ClaudeTranscriptSourceOpts): Promise<DurableSource<ClaudeEntry>>;
31
43
  //# sourceMappingURL=agui-source.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"agui-source.d.ts","sourceRoot":"","sources":["../src/agui-source.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EAAmB,KAAK,aAAa,EAAE,KAAK,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAChG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAUjD,MAAM,WAAW,0BAA0B;IACzC;uCACmC;IACnC,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID,wBAAsB,8BAA8B,CAAC,CAAC,EACpD,IAAI,EAAE,MAAM,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ACZ,aAAa,EAAE,OAAO,EACtB,IAAI,GAAE,0BAA+B,GACpC,OAAO,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,CAKrC"}
@@ -1 +1 @@
1
- {"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2D,KAAK,SAAS,EAAoC,MAAM,gBAAgB,CAAC;AAM3I;;;;;;;;;4FAS4F;AAC5F,eAAO,MAAM,oBAAoB,8/DA4EvB,CAAC;AAsDX,eAAO,MAAM,eAAe,EAAE,SAkM7B,CAAC"}
1
+ {"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2D,KAAK,SAAS,EAAoC,MAAM,gBAAgB,CAAC;AAM3I;;;;;;;;;4FAS4F;AAC5F,eAAO,MAAM,oBAAoB,8/DA4EvB,CAAC;AAsDX,eAAO,MAAM,eAAe,EAAE,SAmM7B,CAAC"}