@cotal-ai/connector-jcode 0.164.18 → 0.165.1

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.
Binary file
Binary file
package/dist/host.d.ts CHANGED
@@ -15,5 +15,9 @@ export declare function permanentBridgeRecoveryFailure(error: unknown): error is
15
15
  * the native code kept as `source`. Without this the seat read `waiting` with the error only in
16
16
  * its private log (#618). */
17
17
  export declare function jcodeTurnCondition(error: unknown, since?: number): PresenceCondition | undefined;
18
+ /** Jcode acknowledges a plain send with `message_accepted` before it checks whether this connection
19
+ * is still processing a message, and then refuses the send with this error. The acknowledgement is
20
+ * therefore no proof that the model received the text. */
21
+ export declare function isJcodeBusyRefusal(error: unknown): boolean;
18
22
  export declare function runJcodeHost(): Promise<void>;
19
23
  //# sourceMappingURL=host.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"host.d.ts","sourceRoot":"","sources":["../src/host.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAqE,MAAM,qBAAqB,CAAC;AACtH,OAAO,EAAgC,KAAK,iBAAiB,EAA8B,MAAM,gBAAgB,CAAC;AAgFlH;;;;uDAIuD;AACvD,eAAO,MAAM,yBAAyB,QAAS,CAAC;AA6BhD,eAAO,MAAM,+BAA+B,aAQ1C,CAAC;AACH,eAAO,MAAM,oCAAoC,aAAsB,CAAC;AAExE,6FAA6F;AAC7F,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,YAAY,CAMpF;AAaD;;;8BAG8B;AAC9B,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,SAAa,GAAG,iBAAiB,GAAG,SAAS,CAKpG;AAuOD,wBAAsB,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC,CAy5DlD"}
1
+ {"version":3,"file":"host.d.ts","sourceRoot":"","sources":["../src/host.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAqE,MAAM,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