@dianshuv/copilot-api 0.11.1 → 0.11.2
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/main.mjs +2 -2
- package/package.json +1 -1
package/dist/main.mjs
CHANGED
|
@@ -1348,7 +1348,7 @@ const patchClaude = defineCommand({
|
|
|
1348
1348
|
|
|
1349
1349
|
//#endregion
|
|
1350
1350
|
//#region package.json
|
|
1351
|
-
var version = "0.11.
|
|
1351
|
+
var version = "0.11.2";
|
|
1352
1352
|
|
|
1353
1353
|
//#endregion
|
|
1354
1354
|
//#region src/lib/adaptive-rate-limiter.ts
|
|
@@ -8051,7 +8051,7 @@ function translateErrorToAnthropicErrorEvent(error) {
|
|
|
8051
8051
|
|
|
8052
8052
|
//#endregion
|
|
8053
8053
|
//#region src/routes/messages/tool-call-recovery.ts
|
|
8054
|
-
const ENVELOPE = String.raw`(?:<(?:antml:)?function_calls>|call)`;
|
|
8054
|
+
const ENVELOPE = String.raw`(?:<(?:antml:)?function_calls>|call|count|court)`;
|
|
8055
8055
|
const INVOKE_BODY = String.raw`<(?:antml:)?invoke\s+name="[^"]+">(?:(?!<(?:antml:)?invoke\b)[\s\S])*?</(?:antml:)?invoke>`;
|
|
8056
8056
|
const LEAKED_REGION_RE = new RegExp(String.raw`(?:^|\n)[ \t]*(?:` + ENVELOPE + String.raw`[ \t\n]*(?:` + INVOKE_BODY + String.raw`\s*)+(?:</(?:antml:)?function_calls>)?|` + INVOKE_BODY + String.raw`)`, "g");
|
|
8057
8057
|
const STARTS_WITH_ENVELOPE_RE = new RegExp(String.raw`^[ \t\n]*` + ENVELOPE);
|