@cotal-ai/connector-codex 0.33.8 → 0.34.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 +5 -0
- package/dist/agui-map.d.ts.map +1 -1
- package/dist/host.d.ts.map +1 -1
- package/dist/host.js +48 -40
- package/dist/index.js +7 -7
- package/package.json +4 -4
package/dist/agui-map.d.ts
CHANGED
|
@@ -39,9 +39,14 @@ export interface CodexMapper {
|
|
|
39
39
|
* id, so reading it back would make the two independently derivable and let them disagree.
|
|
40
40
|
* @param mintRunId Injected so a test can make runs deterministic without the mapper owning a
|
|
41
41
|
* source of randomness.
|
|
42
|
+
* @param resumeRunId The WAL's already-open AG-UI run after a process-local mapper was lost. The
|
|
43
|
+
* source cursor is ordered, so the next native task terminal closes this run before another task
|
|
44
|
+
* can start. Without this handoff, the terminal is dropped and the next RUN_STARTED collides with
|
|
45
|
+
* the WAL bracket that correctly survived the outage.
|
|
42
46
|
*/
|
|
43
47
|
export declare function createCodexMapper(opts: {
|
|
44
48
|
threadId: string;
|
|
45
49
|
mintRunId: () => string;
|
|
50
|
+
resumeRunId?: string;
|
|
46
51
|
}): CodexMapper;
|
|
47
52
|
//# sourceMappingURL=agui-map.d.ts.map
|
package/dist/agui-map.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agui-map.d.ts","sourceRoot":"","sources":["../src/agui-map.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAcL,KAAK,SAAS,EACf,MAAM,0BAA0B,CAAC;AAElC;oGACoG;AACpG,MAAM,WAAW,WAAW;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,SAAS,EAAE,CAAA;KAAE,GAAG,IAAI,CAAC;IAC5E;6DACyD;IACzD,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AA+CD
|
|
1
|
+
{"version":3,"file":"agui-map.d.ts","sourceRoot":"","sources":["../src/agui-map.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAcL,KAAK,SAAS,EACf,MAAM,0BAA0B,CAAC;AAElC;oGACoG;AACpG,MAAM,WAAW,WAAW;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,SAAS,EAAE,CAAA;KAAE,GAAG,IAAI,CAAC;IAC5E;6DACyD;IACzD,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AA+CD;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,WAAW,CA2LxH"}
|
package/dist/host.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host.d.ts","sourceRoot":"","sources":["../src/host.ts"],"names":[],"mappings":"AAkVA,wBAAsB,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"host.d.ts","sourceRoot":"","sources":["../src/host.ts"],"names":[],"mappings":"AAkVA,wBAAsB,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC,CAw4BlD"}
|