@openclaw/ai 2026.11.5 → 2026.11.10-beta.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.
- package/README.md +15 -3
- package/dist/{anthropic-CNEzO12C.mjs → anthropic-CBz5v2U3.mjs} +16 -15
- package/dist/{anthropic-payload-policy-DVk38bnY.d.mts → anthropic-payload-policy-BTrHSS_v.d.mts} +4 -8
- package/dist/{anthropic-stream-lifecycle-DJUtasDB.mjs → anthropic-stream-lifecycle-96vq-4V9.mjs} +154 -88
- package/dist/{anthropic-tool-projection-DcvsDiyX.mjs → anthropic-tool-projection-A9GceDnD.mjs} +4 -5
- package/dist/{anthropic-tool-projection-DKAlondV.d.mts → anthropic-tool-projection-DCOX8qai.d.mts} +1 -3
- package/dist/{api-registry-DY2MLUyg.d.mts → api-registry-DUEK-a3o.d.mts} +2 -4
- package/dist/{assistant-message-events-CHMJgbhs.mjs → assistant-message-events-DtSjIQmB.mjs} +1 -2
- package/dist/{assistant-output-C3czmoN4.mjs → assistant-output-kYOaiso5.mjs} +2 -3
- package/dist/{azure-openai-responses-client-compat-D0dvJMbZ.mjs → azure-deployment-map-hwDQc3uL.mjs} +2 -16
- package/dist/{azure-openai-responses-DRkduRmW.mjs → azure-openai-responses-CZheDTt_.mjs} +12 -12
- package/dist/azure-openai-responses-client-compat-DLsS6V6z.mjs +13 -0
- package/dist/{base64-C8CdcsjU.mjs → base64-FdymvxN9.mjs} +1 -2
- package/dist/cloudflare-BCLfDuew.mjs +15 -0
- package/dist/{credential-redaction-DrgndwTJ.d.mts → credential-redaction-BNv5SWQz.d.mts} +0 -2
- package/dist/{deferred-event-buffer-tIGkTkTm.mjs → deferred-event-buffer-BgT1IIfq.mjs} +1 -2
- package/dist/{diagnostics-CloVGQiK.mjs → diagnostics-BNlb1zlT.mjs} +12 -19
- package/dist/{diagnostics-o1PrVNQb.mjs → diagnostics-DP1SXgAW.mjs} +1 -2
- package/dist/diagnostics.d.mts +6 -10
- package/dist/diagnostics.mjs +3 -3
- package/dist/{env-api-keys-BuHc86ya.mjs → env-api-keys-DlUbTgKq.mjs} +1 -2
- package/dist/{event-stream-BYmtRe8-.d.mts → event-stream-BJS9Q8G_.d.mts} +1 -3
- package/dist/{event-stream-X2gmsUWv.mjs → event-stream-Bf6cK7-d.mjs} +1 -2
- package/dist/event-stream-CPiqa8PI.d.mts +1 -0
- package/dist/event-stream.d.mts +2 -2
- package/dist/event-stream.mjs +1 -1
- package/dist/{expect-lbe3Hgrh.mjs → expect-DqyhV9d8.mjs} +1 -2
- package/dist/github-copilot-headers-CqLRrd-i.mjs +22 -0
- package/dist/{github-copilot-request-facts-BZ_EMo7X.mjs → github-copilot-request-facts-BxuLEdNF.mjs} +2 -3
- package/dist/{google-DqG05iBa.mjs → google-BUgkXPYL.mjs} +6 -7
- package/dist/{google-interactions-BE7cxFPc.mjs → google-interactions-84f0xFly.mjs} +36 -25
- package/dist/{google-messages-p2iBzsAp.mjs → google-messages-Dip5zphv.mjs} +16 -20
- package/dist/{google-provider-stream-DZ6tqteU.mjs → google-provider-stream-COaKMdQv.mjs} +14 -15
- package/dist/{google-shared-BMYt1xSI.mjs → google-shared-Dooy5JJL.mjs} +11 -14
- package/dist/{google-vertex-CAq2q1Ln.mjs → google-vertex--S8AlXUD.mjs} +4 -5
- package/dist/{google-video-slots-Bxt-OXO8.mjs → google-video-slots-CzdrKzrO.mjs} +2 -3
- package/dist/{host-DqX-64Pb.mjs → host-Cf7zb-48.mjs} +73 -89
- package/dist/{host-ccbwPC3A.d.mts → host-Dgpzj407.d.mts} +3 -5
- package/dist/{host-policy-Bk85E9ue.mjs → host-policy-B1qzS7Xe.mjs} +2 -3
- package/dist/{index-Bczt0MnO.d.mts → index-BDF5kurq.d.mts} +10 -10
- package/dist/index.d.mts +8 -10
- package/dist/index.mjs +11 -11
- package/dist/internal/anthropic.d.mts +10 -21
- package/dist/internal/anthropic.mjs +6 -6
- package/dist/internal/google-model-family.d.mts +1 -3
- package/dist/internal/google-model-family.mjs +2 -3
- package/dist/internal/google.d.mts +3 -5
- package/dist/internal/google.mjs +1 -1
- package/dist/internal/model-request-body.d.mts +5 -5
- package/dist/internal/model-request-body.mjs +19 -6
- package/dist/internal/openai-completions-compat.d.mts +1 -3
- package/dist/internal/openai-completions-compat.mjs +2 -2
- package/dist/internal/openai-responses-payload-policy.d.mts +2 -4
- package/dist/internal/openai-responses-payload-policy.mjs +2 -2
- package/dist/internal/openai.d.mts +10 -32
- package/dist/internal/openai.mjs +12 -11
- package/dist/internal/reasoning-tag-text-partitioner.d.mts +0 -4
- package/dist/internal/reasoning-tag-text-partitioner.mjs +64 -125
- package/dist/internal/retry-after.d.mts +1 -1
- package/dist/internal/retry-after.mjs +1 -2
- package/dist/internal/runtime.d.mts +9 -43
- package/dist/internal/runtime.mjs +14 -15
- package/dist/internal/session-resources.d.mts +11 -0
- package/dist/{session-resources-vKvGIE3J.mjs → internal/session-resources.mjs} +2 -3
- package/dist/internal/shared.d.mts +17 -26
- package/dist/internal/shared.mjs +10 -10
- package/dist/internal/tool-schema.d.mts +2 -22
- package/dist/internal/tool-schema.mjs +3 -3
- package/dist/{llm-request-activity-DzaHoRAU.mjs → llm-request-activity-v1liRqNt.mjs} +1 -2
- package/dist/{mistral-DIGInqJI.mjs → mistral-BAps5cN2.mjs} +713 -299
- package/dist/{model-transport-url-BdksnBqu.d.mts → model-transport-url-Dad-sfx2.d.mts} +0 -4
- package/dist/{number-coercion-C7HsBgUL.mjs → number-coercion-BO6bhGm6.mjs} +2 -3
- package/dist/{observe-async-iterator-DgmegcZR.mjs → observe-async-iterator-DdOlbgrr.mjs} +1 -2
- package/dist/{observe-async-iterator-AlARO5wS.d.mts → observe-async-iterator-DeB_Vxes.d.mts} +14 -7
- package/dist/openai-BtJTmLWF.mjs +21460 -0
- package/dist/{openai-chatgpt-jwt-KWcgd0d_.mjs → openai-chatgpt-jwt-v5F5jJmX.mjs} +1 -2
- package/dist/{openai-chatgpt-responses-C6rEZcsZ.mjs → openai-chatgpt-responses-CYXMKG89.mjs} +53 -49
- package/dist/{openai-completions-B93R3N3b.mjs → openai-completions-Bi4Ghg3V.mjs} +6 -7
- package/dist/{openai-completions-compat-CJ-NsDzg.d.mts → openai-completions-compat-BJBQ682M.d.mts} +10 -5
- package/dist/{openai-completions-compat-CS3dlDBR.mjs → openai-completions-compat-DZLGotNt.mjs} +19 -16
- package/dist/{openai-completions-reasoning-replay-BwT1xwRI.mjs → openai-completions-reasoning-replay-DyH5XzNo.mjs} +1 -2
- package/dist/{openai-completions-transport-DHTFq-BM.mjs → openai-completions-transport-otONaRhv.mjs} +160 -527
- package/dist/{openai-prompt-cache-BZGaIWYh.d.mts → openai-prompt-cache-C5rwtmA_.d.mts} +2 -4
- package/dist/{openai-prompt-cache-3H_Fz0ya.mjs → openai-prompt-cache-CJv1bvw0.mjs} +3 -5
- package/dist/openai-provider-client-apBsWo9b.mjs +51 -0
- package/dist/{openai-responses-DSxPKV0U.mjs → openai-responses-CiIAm8fJ.mjs} +14 -14
- package/dist/{openai-responses-compaction-replay-DXF5BjD2.d.mts → openai-responses-compaction-replay-CUw4owu9.d.mts} +6 -7
- package/dist/{openai-responses-contracts-Cb1IIRRG.d.mts → openai-responses-contracts-bYtvXSvv.d.mts} +7 -12
- package/dist/{openai-responses-contracts-xU-n9AJJ.mjs → openai-responses-contracts-eppTI5DQ.mjs} +11 -18
- package/dist/{openai-responses-endpoint-CqO3ejTe.mjs → openai-responses-endpoint-AeVu3HmP.mjs} +80 -34
- package/dist/{openai-responses-payload-policy-BsQaD-gD.d.mts → openai-responses-payload-policy-Cihgy9fC.d.mts} +0 -2
- package/dist/{openai-responses-request-lifecycle-C_3FKkl7.mjs → openai-responses-request-lifecycle-DfE4xNHj.mjs} +120 -20
- package/dist/{openai-responses-shared-En3Jf0Vg.mjs → openai-responses-shared-BAJzOqwt.mjs} +1649 -312
- package/dist/{openai-responses-terminal-usage-D7IhRA6i.d.mts → openai-responses-terminal-usage-BYXQTt9u.d.mts} +2 -4
- package/dist/openai-responses-websocket-DywDiO81.mjs +8143 -0
- package/dist/{openai-stop-reason-8s70vDXj.mjs → openai-stop-reason-cA0GUHlU.mjs} +4 -3
- package/dist/{openai-tool-schema-CvxySRyf.mjs → openai-tool-schema-Ca74_fkR.mjs} +17 -26
- package/dist/openai.LICENSE +201 -0
- package/dist/{otel-B2u5HGvm.mjs → otel-C5Cn7IFQ.mjs} +8 -8
- package/dist/{overflow-CpApyjG2.mjs → overflow-CM0yZomw.mjs} +2 -3
- package/dist/{positive-integer-DiqE5vNi.mjs → positive-integer-AM4ltyhP.mjs} +2 -3
- package/dist/{prompt-cache-stability-w-ICeyOI.mjs → prompt-cache-stability-oTx0nIsh.mjs} +3 -4
- package/dist/{prompt-cache-stability-Cwcjv_fx.d.mts → prompt-cache-stability-xNfkD-3g.d.mts} +0 -2
- package/dist/{provider-error-DD-fo4Rz.mjs → provider-error-B7aKA_dg.mjs} +24 -23
- package/dist/{provider-error-CnaWYTRY.d.mts → provider-error-DZMru0Jv.d.mts} +0 -2
- package/dist/{provider-options-BQ2Msop2.d.mts → provider-options-CR_UfgUE.d.mts} +15 -11
- package/dist/{provider-replay-context--QGWotXx.mjs → provider-replay-context-CHJQzB0n.mjs} +3 -4
- package/dist/{provider-transcript-transform-Hr1kCoMX.mjs → provider-transcript-transform-C-WfgiLJ.mjs} +2 -3
- package/dist/{provider-transport-turn-state-DyaOKAYm.mjs → provider-transport-turn-state-BdMA1v46.mjs} +4 -27
- package/dist/{provider-types-B1e98js5.d.mts → provider-types-CfiTmXyw.d.mts} +3 -5
- package/dist/provider-types.d.mts +7 -7
- package/dist/provider-types.mjs +1 -2
- package/dist/providers.d.mts +2 -4
- package/dist/providers.mjs +14 -15
- package/dist/{record-coerce-BQaoiN3r.mjs → record-coerce-BgUo6bj4.mjs} +1 -2
- package/dist/{request-headers-DO4Mqhw1.mjs → request-headers-DJ4QrMC_.mjs} +1 -2
- package/dist/{required-api-key-2zZTkmsi.mjs → required-api-key-BniLGxy4.mjs} +2 -3
- package/dist/{retry-after-DnHBlFS2.d.mts → retry-after-f3ZIm8TA.d.mts} +0 -2
- package/dist/rolldown-runtime-DYf_mQCB.mjs +34 -0
- package/dist/{sanitize-unicode-CRGuMONI.mjs → sanitize-unicode-B3kUqQ-q.mjs} +1 -2
- package/dist/{sanitize-unicode-BISmUlUv.d.mts → sanitize-unicode-DlVtgmsw.d.mts} +2 -6
- package/dist/{session-affinity-DA4WHv1h.mjs → session-affinity-Czm9tjAm.mjs} +1 -2
- package/dist/{simple-options-CQNPKCEb.mjs → simple-options-D8CTqHvk.mjs} +40 -16
- package/dist/src-CNWvILd1.mjs +2 -0
- package/dist/{src-CQ7nH2mL.mjs → src-CmBmaGOV.mjs} +87 -20
- package/dist/{stable-stringify-CchQEmeA.mjs → stable-stringify-CGB-o900.mjs} +10 -8
- package/dist/{stream-DM-q0y5H.mjs → stream-BEE5qy7Z.mjs} +5 -7
- package/dist/{stream-first-event-timeout-B7RcufAV.mjs → stream-first-event-timeout-CWiv_y--.mjs} +2 -3
- package/dist/{streaming-byte-guard-DBXr1XYn.mjs → streaming-byte-guard-gOcUrHJF.mjs} +1 -2
- package/dist/{string-coerce-BCuWMIrk.mjs → string-coerce-CpcyRbc6.mjs} +1 -2
- package/dist/{string-normalization-B8TDDBX_.mjs → string-normalization-CS77PHD3.mjs} +2 -3
- package/dist/{telemetry-DJibfNKZ.mjs → telemetry-Cd4i-clM.mjs} +6 -8
- package/dist/{tool-schema-json-projection-BSHb4gaJ.mjs → tool-schema-json-projection-C13fPskA.mjs} +11 -16
- package/dist/{transport-stream-shared-CBVh6QEc.mjs → transport-stream-shared-DEpLe9fG.mjs} +24 -30
- package/dist/{transport-stream-shared-D3IAU4jn.d.mts → transport-stream-shared-DW4DoJLv.d.mts} +7 -8
- package/dist/{transport-utils-rxOHnq9y.mjs → transport-utils-Cx9L80PZ.mjs} +6 -8
- package/dist/transports.d.mts +29 -82
- package/dist/transports.mjs +39 -38
- package/dist/{types-BVdTf0YV.d.mts → types-BNp71XKW.d.mts} +11 -6
- package/dist/types-CwcLeW-7.d.mts +1 -0
- package/dist/{types-OVEWUaDh.mjs → types-DIBUKaTM.mjs} +1 -2
- package/dist/types.d.mts +7 -7
- package/dist/types.mjs +9 -9
- package/dist/{usage-CJH5D6Ea.mjs → usage-B8ggJtuG.mjs} +1 -2
- package/dist/{validation-QmyD0E5A.d.mts → validation-BFNWNeUl.d.mts} +1 -3
- package/dist/{validation-DGXqfvkj.mjs → validation-BO7nCOKO.mjs} +5 -8
- package/dist/validation.d.mts +1 -1
- package/dist/validation.mjs +1 -1
- package/dist/ws.LICENSE +20 -0
- package/dist/x509-transport-state-D4gFbgWG.mjs +40 -0
- package/package.json +13 -7
- package/dist/.source-module-urls/fe058cc430242ce2ab0dfbcbe153e240a52cf9c3072c3dc0a73e5f956b6ba49b.json +0 -1
- package/dist/cloudflare-BJ2_Xabx.mjs +0 -39
- package/dist/event-stream-B4ZcSvsu.d.mts +0 -1
- package/dist/rolldown-runtime-D7D4PA-g.mjs +0 -13
- package/dist/src-BUsVkrNt.mjs +0 -105
- package/dist/types-Cb3-5WM9.d.mts +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import { n as __exportAll } from "../rolldown-runtime-DYf_mQCB.mjs";
|
|
2
|
+
import { t as expectDefined } from "../expect-DqyhV9d8.mjs";
|
|
3
|
+
import "../src-CNWvILd1.mjs";
|
|
4
|
+
// node_modules/.pnpm/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string/lib/index.js
|
|
5
5
|
/**
|
|
6
6
|
* @typedef {import('mdast').Nodes} Nodes
|
|
7
7
|
*
|
|
@@ -82,8 +82,7 @@ function all(values, includeImageAlt, includeHtml) {
|
|
|
82
82
|
function node(value) {
|
|
83
83
|
return Boolean(value && typeof value === "object");
|
|
84
84
|
}
|
|
85
|
-
|
|
86
|
-
//#region node_modules/.pnpm/character-entities@2.0.2/node_modules/character-entities/index.js
|
|
85
|
+
// node_modules/.pnpm/character-entities@2.0.2/node_modules/character-entities/index.js
|
|
87
86
|
/**
|
|
88
87
|
* Map of named character references.
|
|
89
88
|
*
|
|
@@ -2216,8 +2215,7 @@ const characterEntities = {
|
|
|
2216
2215
|
zwj: "",
|
|
2217
2216
|
zwnj: ""
|
|
2218
2217
|
};
|
|
2219
|
-
|
|
2220
|
-
//#region node_modules/.pnpm/decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference/index.js
|
|
2218
|
+
// node_modules/.pnpm/decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference/index.js
|
|
2221
2219
|
const own$1 = {}.hasOwnProperty;
|
|
2222
2220
|
/**
|
|
2223
2221
|
* Decode a single character reference (without the `&` or `;`).
|
|
@@ -2233,8 +2231,7 @@ const own$1 = {}.hasOwnProperty;
|
|
|
2233
2231
|
function decodeNamedCharacterReference(value) {
|
|
2234
2232
|
return own$1.call(characterEntities, value) ? characterEntities[value] : false;
|
|
2235
2233
|
}
|
|
2236
|
-
|
|
2237
|
-
//#region node_modules/.pnpm/micromark-util-chunked@2.0.1/node_modules/micromark-util-chunked/index.js
|
|
2234
|
+
// node_modules/.pnpm/micromark-util-chunked@2.0.1/node_modules/micromark-util-chunked/index.js
|
|
2238
2235
|
/**
|
|
2239
2236
|
* Like `Array#splice`, but smarter for giant arrays.
|
|
2240
2237
|
*
|
|
@@ -2303,8 +2300,7 @@ function push(list, items) {
|
|
|
2303
2300
|
}
|
|
2304
2301
|
return items;
|
|
2305
2302
|
}
|
|
2306
|
-
|
|
2307
|
-
//#region node_modules/.pnpm/micromark-util-combine-extensions@2.0.1/node_modules/micromark-util-combine-extensions/index.js
|
|
2303
|
+
// node_modules/.pnpm/micromark-util-combine-extensions@2.0.1/node_modules/micromark-util-combine-extensions/index.js
|
|
2308
2304
|
/**
|
|
2309
2305
|
* @import {
|
|
2310
2306
|
* Extension,
|
|
@@ -2374,8 +2370,7 @@ function constructs(existing, list) {
|
|
|
2374
2370
|
while (++index < list.length) (list[index].add === "after" ? existing : before).push(list[index]);
|
|
2375
2371
|
splice(existing, 0, 0, before);
|
|
2376
2372
|
}
|
|
2377
|
-
|
|
2378
|
-
//#region node_modules/.pnpm/micromark-util-decode-numeric-character-reference@2.0.2/node_modules/micromark-util-decode-numeric-character-reference/index.js
|
|
2373
|
+
// node_modules/.pnpm/micromark-util-decode-numeric-character-reference@2.0.2/node_modules/micromark-util-decode-numeric-character-reference/index.js
|
|
2379
2374
|
/**
|
|
2380
2375
|
* Turn the number (in string form as either hexa- or plain decimal) coming from
|
|
2381
2376
|
* a numeric character reference into a character.
|
|
@@ -2395,8 +2390,7 @@ function decodeNumericCharacterReference(value, base) {
|
|
|
2395
2390
|
if (code < 9 || code === 11 || code > 13 && code < 32 || code > 126 && code < 160 || code > 55295 && code < 57344 || code > 64975 && code < 65008 || (code & 65535) === 65535 || (code & 65535) === 65534 || code > 1114111) return "�";
|
|
2396
2391
|
return String.fromCodePoint(code);
|
|
2397
2392
|
}
|
|
2398
|
-
|
|
2399
|
-
//#region node_modules/.pnpm/micromark-util-normalize-identifier@2.0.1/node_modules/micromark-util-normalize-identifier/index.js
|
|
2393
|
+
// node_modules/.pnpm/micromark-util-normalize-identifier@2.0.1/node_modules/micromark-util-normalize-identifier/index.js
|
|
2400
2394
|
/**
|
|
2401
2395
|
* Normalize an identifier (as found in references, definitions).
|
|
2402
2396
|
*
|
|
@@ -2419,8 +2413,7 @@ function decodeNumericCharacterReference(value, base) {
|
|
|
2419
2413
|
function normalizeIdentifier(value) {
|
|
2420
2414
|
return value.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
2421
2415
|
}
|
|
2422
|
-
|
|
2423
|
-
//#region node_modules/.pnpm/micromark-util-character@2.1.1/node_modules/micromark-util-character/index.js
|
|
2416
|
+
// node_modules/.pnpm/micromark-util-character@2.1.1/node_modules/micromark-util-character/index.js
|
|
2424
2417
|
/**
|
|
2425
2418
|
* @import {Code} from 'micromark-util-types'
|
|
2426
2419
|
*/
|
|
@@ -2647,8 +2640,7 @@ function regexCheck(regex) {
|
|
|
2647
2640
|
return code !== null && code > -1 && regex.test(String.fromCharCode(code));
|
|
2648
2641
|
}
|
|
2649
2642
|
}
|
|
2650
|
-
|
|
2651
|
-
//#region node_modules/.pnpm/micromark-factory-space@2.1.0/node_modules/micromark-factory-space/index.js
|
|
2643
|
+
// node_modules/.pnpm/micromark-factory-space@2.1.0/node_modules/micromark-factory-space/index.js
|
|
2652
2644
|
/**
|
|
2653
2645
|
* @import {Effects, State, TokenType} from 'micromark-util-types'
|
|
2654
2646
|
*/
|
|
@@ -2754,8 +2746,7 @@ function factorySpaceMinMax(effects, ok, nok, type, min, max) {
|
|
|
2754
2746
|
return size >= min ? ok(code) : nok(code);
|
|
2755
2747
|
}
|
|
2756
2748
|
}
|
|
2757
|
-
|
|
2758
|
-
//#region node_modules/.pnpm/micromark@4.0.3_supports-color@10.2.2/node_modules/micromark/lib/initialize/content.js
|
|
2749
|
+
// node_modules/.pnpm/micromark@4.0.3_supports-color@10.2.2/node_modules/micromark/lib/initialize/content.js
|
|
2759
2750
|
/**
|
|
2760
2751
|
* @import {
|
|
2761
2752
|
* InitialConstruct,
|
|
@@ -2821,8 +2812,7 @@ function initializeContent(effects) {
|
|
|
2821
2812
|
return data;
|
|
2822
2813
|
}
|
|
2823
2814
|
}
|
|
2824
|
-
|
|
2825
|
-
//#region node_modules/.pnpm/micromark-util-edit-map@1.0.0/node_modules/micromark-util-edit-map/index.js
|
|
2815
|
+
// node_modules/.pnpm/micromark-util-edit-map@1.0.0/node_modules/micromark-util-edit-map/index.js
|
|
2826
2816
|
/**
|
|
2827
2817
|
* @import {Event} from 'micromark-util-types'
|
|
2828
2818
|
*/
|
|
@@ -2967,8 +2957,7 @@ function addImplementation$1(editMap, at, remove, add, before) {
|
|
|
2967
2957
|
editMap.map.push(change);
|
|
2968
2958
|
editMap.index.set(at, change);
|
|
2969
2959
|
}
|
|
2970
|
-
|
|
2971
|
-
//#region node_modules/.pnpm/micromark@4.0.3_supports-color@10.2.2/node_modules/micromark/lib/initialize/document.js
|
|
2960
|
+
// node_modules/.pnpm/micromark@4.0.3_supports-color@10.2.2/node_modules/micromark/lib/initialize/document.js
|
|
2972
2961
|
/**
|
|
2973
2962
|
* @import {
|
|
2974
2963
|
* Construct,
|
|
@@ -3187,8 +3176,7 @@ function initializeDocument(effects) {
|
|
|
3187
3176
|
function tokenizeContainer(effects, ok, nok) {
|
|
3188
3177
|
return factorySpace(effects, effects.attempt(this.parser.constructs.document, ok, nok), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
3189
3178
|
}
|
|
3190
|
-
|
|
3191
|
-
//#region node_modules/.pnpm/micromark-util-classify-character@2.0.1/node_modules/micromark-util-classify-character/index.js
|
|
3179
|
+
// node_modules/.pnpm/micromark-util-classify-character@2.0.1/node_modules/micromark-util-classify-character/index.js
|
|
3192
3180
|
/**
|
|
3193
3181
|
* @import {Code} from 'micromark-util-types'
|
|
3194
3182
|
*/
|
|
@@ -3210,8 +3198,7 @@ function classifyCharacter(code) {
|
|
|
3210
3198
|
if (code === null || markdownLineEndingOrSpace(code) || unicodeWhitespace(code)) return 1;
|
|
3211
3199
|
if (unicodePunctuation(code)) return 2;
|
|
3212
3200
|
}
|
|
3213
|
-
|
|
3214
|
-
//#region node_modules/.pnpm/micromark-util-resolve-all@2.0.1/node_modules/micromark-util-resolve-all/index.js
|
|
3201
|
+
// node_modules/.pnpm/micromark-util-resolve-all@2.0.1/node_modules/micromark-util-resolve-all/index.js
|
|
3215
3202
|
/**
|
|
3216
3203
|
* @import {Event, Resolver, TokenizeContext} from 'micromark-util-types'
|
|
3217
3204
|
*/
|
|
@@ -3240,8 +3227,7 @@ function resolveAll(constructs, events, context) {
|
|
|
3240
3227
|
}
|
|
3241
3228
|
return events;
|
|
3242
3229
|
}
|
|
3243
|
-
|
|
3244
|
-
//#region node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/attention.js
|
|
3230
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/attention.js
|
|
3245
3231
|
/**
|
|
3246
3232
|
* @import {
|
|
3247
3233
|
* Code,
|
|
@@ -3448,8 +3434,7 @@ function movePoint(point, offset) {
|
|
|
3448
3434
|
point.offset += offset;
|
|
3449
3435
|
point._bufferIndex += offset;
|
|
3450
3436
|
}
|
|
3451
|
-
|
|
3452
|
-
//#region node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/autolink.js
|
|
3437
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/autolink.js
|
|
3453
3438
|
/**
|
|
3454
3439
|
* @import {
|
|
3455
3440
|
* Construct,
|
|
@@ -3659,8 +3644,7 @@ function tokenizeAutolink(effects, ok, nok) {
|
|
|
3659
3644
|
return nok(code);
|
|
3660
3645
|
}
|
|
3661
3646
|
}
|
|
3662
|
-
|
|
3663
|
-
//#region node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/blank-line.js
|
|
3647
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/blank-line.js
|
|
3664
3648
|
/**
|
|
3665
3649
|
* @import {
|
|
3666
3650
|
* Construct,
|
|
@@ -3716,8 +3700,7 @@ function tokenizeBlankLine(effects, ok, nok) {
|
|
|
3716
3700
|
return code === null || markdownLineEnding(code) ? ok(code) : nok(code);
|
|
3717
3701
|
}
|
|
3718
3702
|
}
|
|
3719
|
-
|
|
3720
|
-
//#region node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/block-quote.js
|
|
3703
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/block-quote.js
|
|
3721
3704
|
/**
|
|
3722
3705
|
* @import {
|
|
3723
3706
|
* Construct,
|
|
@@ -3843,8 +3826,7 @@ function tokenizeBlockQuoteContinuation(effects, ok, nok) {
|
|
|
3843
3826
|
function exit$1(effects) {
|
|
3844
3827
|
effects.exit("blockQuote");
|
|
3845
3828
|
}
|
|
3846
|
-
|
|
3847
|
-
//#region node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/character-escape.js
|
|
3829
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/character-escape.js
|
|
3848
3830
|
/**
|
|
3849
3831
|
* @import {
|
|
3850
3832
|
* Construct,
|
|
@@ -3903,8 +3885,7 @@ function tokenizeCharacterEscape(effects, ok, nok) {
|
|
|
3903
3885
|
return nok(code);
|
|
3904
3886
|
}
|
|
3905
3887
|
}
|
|
3906
|
-
|
|
3907
|
-
//#region node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/character-reference.js
|
|
3888
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/character-reference.js
|
|
3908
3889
|
/**
|
|
3909
3890
|
* @import {
|
|
3910
3891
|
* Code,
|
|
@@ -4041,8 +4022,7 @@ function tokenizeCharacterReference(effects, ok, nok) {
|
|
|
4041
4022
|
return nok(code);
|
|
4042
4023
|
}
|
|
4043
4024
|
}
|
|
4044
|
-
|
|
4045
|
-
//#region node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js
|
|
4025
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js
|
|
4046
4026
|
/** @type {Construct} */
|
|
4047
4027
|
const nonLazyContinuation = {
|
|
4048
4028
|
partial: true,
|
|
@@ -4089,8 +4069,7 @@ function tokenizeNonLazyContinuation(effects, ok, nok) {
|
|
|
4089
4069
|
return self.parser.lazy[self.now().line] ? nok(code) : ok(code);
|
|
4090
4070
|
}
|
|
4091
4071
|
}
|
|
4092
|
-
|
|
4093
|
-
//#region node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/code-fenced.js
|
|
4072
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/code-fenced.js
|
|
4094
4073
|
/**
|
|
4095
4074
|
* @import {
|
|
4096
4075
|
* Code,
|
|
@@ -4470,8 +4449,7 @@ function tokenizeCodeFenced(effects, ok, nok) {
|
|
|
4470
4449
|
}
|
|
4471
4450
|
}
|
|
4472
4451
|
}
|
|
4473
|
-
|
|
4474
|
-
//#region node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/code-indented.js
|
|
4452
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/code-indented.js
|
|
4475
4453
|
/**
|
|
4476
4454
|
* @import {
|
|
4477
4455
|
* Construct,
|
|
@@ -4602,8 +4580,7 @@ function tokenizeFurtherStart(effects, ok, nok) {
|
|
|
4602
4580
|
return markdownLineEnding(code) ? furtherStart(code) : nok(code);
|
|
4603
4581
|
}
|
|
4604
4582
|
}
|
|
4605
|
-
|
|
4606
|
-
//#region node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/code-text.js
|
|
4583
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/code-text.js
|
|
4607
4584
|
/**
|
|
4608
4585
|
* @import {
|
|
4609
4586
|
* Construct,
|
|
@@ -4787,8 +4764,7 @@ function tokenizeCodeText(effects, ok, nok) {
|
|
|
4787
4764
|
return data(code);
|
|
4788
4765
|
}
|
|
4789
4766
|
}
|
|
4790
|
-
|
|
4791
|
-
//#region node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/lib/splice-buffer.js
|
|
4767
|
+
// node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/lib/splice-buffer.js
|
|
4792
4768
|
/**
|
|
4793
4769
|
* Some of the internal operations of micromark do lots of editing
|
|
4794
4770
|
* operations on very large arrays. This runs into problems with two
|
|
@@ -5017,8 +4993,7 @@ function chunkedPush(list, right) {
|
|
|
5017
4993
|
chunkStart += 1e4;
|
|
5018
4994
|
}
|
|
5019
4995
|
}
|
|
5020
|
-
|
|
5021
|
-
//#region node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/index.js
|
|
4996
|
+
// node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/index.js
|
|
5022
4997
|
/**
|
|
5023
4998
|
* @import {Chunk, Event, Token} from 'micromark-util-types'
|
|
5024
4999
|
*/
|
|
@@ -5172,8 +5147,7 @@ function subcontent(events, eventIndex) {
|
|
|
5172
5147
|
}
|
|
5173
5148
|
return gaps;
|
|
5174
5149
|
}
|
|
5175
|
-
|
|
5176
|
-
//#region node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/content.js
|
|
5150
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/content.js
|
|
5177
5151
|
/**
|
|
5178
5152
|
* @import {
|
|
5179
5153
|
* Construct,
|
|
@@ -5305,8 +5279,7 @@ function tokenizeContinuation(effects, ok, nok) {
|
|
|
5305
5279
|
return effects.interrupt(self.parser.constructs.flow, nok, ok)(code);
|
|
5306
5280
|
}
|
|
5307
5281
|
}
|
|
5308
|
-
|
|
5309
|
-
//#region node_modules/.pnpm/micromark-factory-destination@2.0.1/node_modules/micromark-factory-destination/index.js
|
|
5282
|
+
// node_modules/.pnpm/micromark-factory-destination@2.0.1/node_modules/micromark-factory-destination/index.js
|
|
5310
5283
|
/**
|
|
5311
5284
|
* @import {Effects, State, TokenType} from 'micromark-util-types'
|
|
5312
5285
|
*/
|
|
@@ -5489,8 +5462,7 @@ function factoryDestination(effects, ok, nok, type, literalType, literalMarkerTy
|
|
|
5489
5462
|
return raw(code);
|
|
5490
5463
|
}
|
|
5491
5464
|
}
|
|
5492
|
-
|
|
5493
|
-
//#region node_modules/.pnpm/micromark-factory-label@2.0.1/node_modules/micromark-factory-label/index.js
|
|
5465
|
+
// node_modules/.pnpm/micromark-factory-label@2.0.1/node_modules/micromark-factory-label/index.js
|
|
5494
5466
|
/**
|
|
5495
5467
|
* @import {
|
|
5496
5468
|
* Effects,
|
|
@@ -5623,8 +5595,7 @@ function factoryLabel(effects, ok, nok, type, markerType, stringType) {
|
|
|
5623
5595
|
return labelInside(code);
|
|
5624
5596
|
}
|
|
5625
5597
|
}
|
|
5626
|
-
|
|
5627
|
-
//#region node_modules/.pnpm/micromark-factory-title@2.0.1/node_modules/micromark-factory-title/index.js
|
|
5598
|
+
// node_modules/.pnpm/micromark-factory-title@2.0.1/node_modules/micromark-factory-title/index.js
|
|
5628
5599
|
/**
|
|
5629
5600
|
* @import {
|
|
5630
5601
|
* Code,
|
|
@@ -5768,8 +5739,7 @@ function factoryTitle(effects, ok, nok, type, markerType, stringType) {
|
|
|
5768
5739
|
return inside(code);
|
|
5769
5740
|
}
|
|
5770
5741
|
}
|
|
5771
|
-
|
|
5772
|
-
//#region node_modules/.pnpm/micromark-factory-whitespace@2.0.1/node_modules/micromark-factory-whitespace/index.js
|
|
5742
|
+
// node_modules/.pnpm/micromark-factory-whitespace@2.0.1/node_modules/micromark-factory-whitespace/index.js
|
|
5773
5743
|
/**
|
|
5774
5744
|
* @import {Effects, State} from 'micromark-util-types'
|
|
5775
5745
|
*/
|
|
@@ -5808,8 +5778,7 @@ function factoryWhitespace(effects, ok) {
|
|
|
5808
5778
|
return ok(code);
|
|
5809
5779
|
}
|
|
5810
5780
|
}
|
|
5811
|
-
|
|
5812
|
-
//#region node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/definition.js
|
|
5781
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/definition.js
|
|
5813
5782
|
/**
|
|
5814
5783
|
* @import {
|
|
5815
5784
|
* Construct,
|
|
@@ -6023,8 +5992,7 @@ function tokenizeTitleBefore(effects, ok, nok) {
|
|
|
6023
5992
|
return code === null || markdownLineEnding(code) ? ok(code) : nok(code);
|
|
6024
5993
|
}
|
|
6025
5994
|
}
|
|
6026
|
-
|
|
6027
|
-
//#region node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/hard-break-escape.js
|
|
5995
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/hard-break-escape.js
|
|
6028
5996
|
/**
|
|
6029
5997
|
* @import {
|
|
6030
5998
|
* Construct,
|
|
@@ -6080,8 +6048,7 @@ function tokenizeHardBreakEscape(effects, ok, nok) {
|
|
|
6080
6048
|
return nok(code);
|
|
6081
6049
|
}
|
|
6082
6050
|
}
|
|
6083
|
-
|
|
6084
|
-
//#region node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/heading-atx.js
|
|
6051
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/heading-atx.js
|
|
6085
6052
|
/**
|
|
6086
6053
|
* @import {
|
|
6087
6054
|
* Construct,
|
|
@@ -6261,8 +6228,7 @@ function tokenizeHeadingAtx(effects, ok, nok) {
|
|
|
6261
6228
|
return data;
|
|
6262
6229
|
}
|
|
6263
6230
|
}
|
|
6264
|
-
|
|
6265
|
-
//#region node_modules/.pnpm/micromark-util-html-tag-name@2.0.1/node_modules/micromark-util-html-tag-name/index.js
|
|
6231
|
+
// node_modules/.pnpm/micromark-util-html-tag-name@2.0.1/node_modules/micromark-util-html-tag-name/index.js
|
|
6266
6232
|
/**
|
|
6267
6233
|
* List of lowercase HTML “block” tag names.
|
|
6268
6234
|
*
|
|
@@ -6360,8 +6326,7 @@ const htmlRawNames = [
|
|
|
6360
6326
|
"style",
|
|
6361
6327
|
"textarea"
|
|
6362
6328
|
];
|
|
6363
|
-
|
|
6364
|
-
//#region node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/html-flow.js
|
|
6329
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/html-flow.js
|
|
6365
6330
|
/**
|
|
6366
6331
|
* @import {
|
|
6367
6332
|
* Code,
|
|
@@ -7086,8 +7051,7 @@ function tokenizeBlankLineBefore(effects, ok, nok) {
|
|
|
7086
7051
|
return effects.attempt(blankLine, ok, nok);
|
|
7087
7052
|
}
|
|
7088
7053
|
}
|
|
7089
|
-
|
|
7090
|
-
//#region node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/html-text.js
|
|
7054
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/html-text.js
|
|
7091
7055
|
/**
|
|
7092
7056
|
* @import {
|
|
7093
7057
|
* Code,
|
|
@@ -7700,8 +7664,7 @@ function tokenizeHtmlText(effects, ok, nok) {
|
|
|
7700
7664
|
return returnState(code);
|
|
7701
7665
|
}
|
|
7702
7666
|
}
|
|
7703
|
-
|
|
7704
|
-
//#region node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/label-end.js
|
|
7667
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/label-end.js
|
|
7705
7668
|
/**
|
|
7706
7669
|
* @import {
|
|
7707
7670
|
* Construct,
|
|
@@ -8169,8 +8132,7 @@ function tokenizeReferenceCollapsed(effects, ok, nok) {
|
|
|
8169
8132
|
return nok(code);
|
|
8170
8133
|
}
|
|
8171
8134
|
}
|
|
8172
|
-
|
|
8173
|
-
//#region node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/label-start-image.js
|
|
8135
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/label-start-image.js
|
|
8174
8136
|
/**
|
|
8175
8137
|
* @import {
|
|
8176
8138
|
* Construct,
|
|
@@ -8268,8 +8230,7 @@ function tokenizeLabelStartImage(effects, ok, nok) {
|
|
|
8268
8230
|
return ok(code);
|
|
8269
8231
|
}
|
|
8270
8232
|
}
|
|
8271
|
-
|
|
8272
|
-
//#region node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/label-start-link.js
|
|
8233
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/label-start-link.js
|
|
8273
8234
|
/**
|
|
8274
8235
|
* @import {
|
|
8275
8236
|
* Construct,
|
|
@@ -8322,8 +8283,7 @@ function tokenizeLabelStartLink(effects, ok, nok) {
|
|
|
8322
8283
|
return ok(code);
|
|
8323
8284
|
}
|
|
8324
8285
|
}
|
|
8325
|
-
|
|
8326
|
-
//#region node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/line-ending.js
|
|
8286
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/line-ending.js
|
|
8327
8287
|
/**
|
|
8328
8288
|
* @import {
|
|
8329
8289
|
* Construct,
|
|
@@ -8352,8 +8312,7 @@ function tokenizeLineEnding(effects, ok) {
|
|
|
8352
8312
|
return factorySpace(effects, ok, "linePrefix");
|
|
8353
8313
|
}
|
|
8354
8314
|
}
|
|
8355
|
-
|
|
8356
|
-
//#region node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/thematic-break.js
|
|
8315
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/thematic-break.js
|
|
8357
8316
|
/**
|
|
8358
8317
|
* @import {
|
|
8359
8318
|
* Code,
|
|
@@ -8447,8 +8406,7 @@ function tokenizeThematicBreak(effects, ok, nok) {
|
|
|
8447
8406
|
return markdownSpace(code) ? factorySpace(effects, atBreak, "whitespace")(code) : atBreak(code);
|
|
8448
8407
|
}
|
|
8449
8408
|
}
|
|
8450
|
-
|
|
8451
|
-
//#region node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/list.js
|
|
8409
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/list.js
|
|
8452
8410
|
/**
|
|
8453
8411
|
* @import {
|
|
8454
8412
|
* Code,
|
|
@@ -8619,8 +8577,7 @@ function tokenizeListItemPrefixWhitespace(effects, ok, nok) {
|
|
|
8619
8577
|
return !markdownSpace(code) && tail && tail[1].type === "listItemPrefixWhitespace" ? ok(code) : nok(code);
|
|
8620
8578
|
}
|
|
8621
8579
|
}
|
|
8622
|
-
|
|
8623
|
-
//#region node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/setext-underline.js
|
|
8580
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/setext-underline.js
|
|
8624
8581
|
/**
|
|
8625
8582
|
* @import {
|
|
8626
8583
|
* Code,
|
|
@@ -8773,8 +8730,7 @@ function tokenizeSetextUnderline(effects, ok, nok) {
|
|
|
8773
8730
|
return nok(code);
|
|
8774
8731
|
}
|
|
8775
8732
|
}
|
|
8776
|
-
|
|
8777
|
-
//#region node_modules/.pnpm/micromark@4.0.3_supports-color@10.2.2/node_modules/micromark/lib/initialize/flow.js
|
|
8733
|
+
// node_modules/.pnpm/micromark@4.0.3_supports-color@10.2.2/node_modules/micromark/lib/initialize/flow.js
|
|
8778
8734
|
/**
|
|
8779
8735
|
* @import {
|
|
8780
8736
|
* InitialConstruct,
|
|
@@ -8820,8 +8776,7 @@ function initializeFlow(effects) {
|
|
|
8820
8776
|
return initial;
|
|
8821
8777
|
}
|
|
8822
8778
|
}
|
|
8823
|
-
|
|
8824
|
-
//#region node_modules/.pnpm/micromark@4.0.3_supports-color@10.2.2/node_modules/micromark/lib/initialize/text.js
|
|
8779
|
+
// node_modules/.pnpm/micromark@4.0.3_supports-color@10.2.2/node_modules/micromark/lib/initialize/text.js
|
|
8825
8780
|
/**
|
|
8826
8781
|
* @import {
|
|
8827
8782
|
* Code,
|
|
@@ -8996,8 +8951,7 @@ function resolveAllLineSuffixes(events, context) {
|
|
|
8996
8951
|
editMap.consume(events);
|
|
8997
8952
|
return events;
|
|
8998
8953
|
}
|
|
8999
|
-
|
|
9000
|
-
//#region node_modules/.pnpm/micromark@4.0.3_supports-color@10.2.2/node_modules/micromark/lib/constructs.js
|
|
8954
|
+
// node_modules/.pnpm/micromark@4.0.3_supports-color@10.2.2/node_modules/micromark/lib/constructs.js
|
|
9001
8955
|
/**
|
|
9002
8956
|
* @import {Extension} from 'micromark-util-types'
|
|
9003
8957
|
*/
|
|
@@ -9074,8 +9028,7 @@ const insideSpan = { null: [attention, resolver] };
|
|
|
9074
9028
|
const attentionMarkers = { null: [42, 95] };
|
|
9075
9029
|
/** @satisfies {Extension['disable']} */
|
|
9076
9030
|
const disable = { null: [] };
|
|
9077
|
-
|
|
9078
|
-
//#region node_modules/.pnpm/micromark@4.0.3_supports-color@10.2.2/node_modules/micromark/lib/create-tokenizer.js
|
|
9031
|
+
// node_modules/.pnpm/micromark@4.0.3_supports-color@10.2.2/node_modules/micromark/lib/create-tokenizer.js
|
|
9079
9032
|
/**
|
|
9080
9033
|
* @import {
|
|
9081
9034
|
* Chunk,
|
|
@@ -9541,8 +9494,7 @@ function serializeChunks(chunks, expandTabs) {
|
|
|
9541
9494
|
}
|
|
9542
9495
|
return result.join("");
|
|
9543
9496
|
}
|
|
9544
|
-
|
|
9545
|
-
//#region node_modules/.pnpm/micromark@4.0.3_supports-color@10.2.2/node_modules/micromark/lib/parse.js
|
|
9497
|
+
// node_modules/.pnpm/micromark@4.0.3_supports-color@10.2.2/node_modules/micromark/lib/parse.js
|
|
9546
9498
|
/**
|
|
9547
9499
|
* @import {
|
|
9548
9500
|
* Create,
|
|
@@ -9585,8 +9537,7 @@ function parse(options) {
|
|
|
9585
9537
|
}
|
|
9586
9538
|
}
|
|
9587
9539
|
}
|
|
9588
|
-
|
|
9589
|
-
//#region node_modules/.pnpm/micromark@4.0.3_supports-color@10.2.2/node_modules/micromark/lib/postprocess.js
|
|
9540
|
+
// node_modules/.pnpm/micromark@4.0.3_supports-color@10.2.2/node_modules/micromark/lib/postprocess.js
|
|
9590
9541
|
/**
|
|
9591
9542
|
* @import {Event} from 'micromark-util-types'
|
|
9592
9543
|
*/
|
|
@@ -9600,8 +9551,7 @@ function postprocess(events) {
|
|
|
9600
9551
|
while (!subtokenize(events));
|
|
9601
9552
|
return events;
|
|
9602
9553
|
}
|
|
9603
|
-
|
|
9604
|
-
//#region node_modules/.pnpm/micromark@4.0.3_supports-color@10.2.2/node_modules/micromark/lib/preprocess.js
|
|
9554
|
+
// node_modules/.pnpm/micromark@4.0.3_supports-color@10.2.2/node_modules/micromark/lib/preprocess.js
|
|
9605
9555
|
/**
|
|
9606
9556
|
* @import {Chunk, Code, Encoding, Value} from 'micromark-util-types'
|
|
9607
9557
|
*/
|
|
@@ -9692,8 +9642,7 @@ function preprocess() {
|
|
|
9692
9642
|
return chunks;
|
|
9693
9643
|
}
|
|
9694
9644
|
}
|
|
9695
|
-
|
|
9696
|
-
//#region node_modules/.pnpm/micromark-util-decode-string@2.0.1/node_modules/micromark-util-decode-string/index.js
|
|
9645
|
+
// node_modules/.pnpm/micromark-util-decode-string@2.0.1/node_modules/micromark-util-decode-string/index.js
|
|
9697
9646
|
const characterEscapeOrReference = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
|
|
9698
9647
|
/**
|
|
9699
9648
|
* Decode markdown strings (which occur in places such as fenced code info
|
|
@@ -9729,8 +9678,7 @@ function decode($0, $1, $2) {
|
|
|
9729
9678
|
}
|
|
9730
9679
|
return decodeNamedCharacterReference($2) || $0;
|
|
9731
9680
|
}
|
|
9732
|
-
|
|
9733
|
-
//#region node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/lib/index.js
|
|
9681
|
+
// node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/lib/index.js
|
|
9734
9682
|
/**
|
|
9735
9683
|
* @typedef {import('unist').Node} Node
|
|
9736
9684
|
* @typedef {import('unist').Point} Point
|
|
@@ -9793,8 +9741,7 @@ function position(pos) {
|
|
|
9793
9741
|
function index(value) {
|
|
9794
9742
|
return value && typeof value === "number" ? value : 1;
|
|
9795
9743
|
}
|
|
9796
|
-
|
|
9797
|
-
//#region node_modules/.pnpm/mdast-util-from-markdown@2.1.0_supports-color@10.2.2/node_modules/mdast-util-from-markdown/lib/index.js
|
|
9744
|
+
// node_modules/.pnpm/mdast-util-from-markdown@2.1.0_supports-color@10.2.2/node_modules/mdast-util-from-markdown/lib/index.js
|
|
9798
9745
|
/**
|
|
9799
9746
|
* @import {
|
|
9800
9747
|
* Break,
|
|
@@ -10840,8 +10787,7 @@ function defaultOnError(left, right) {
|
|
|
10840
10787
|
end: right.end
|
|
10841
10788
|
}) + ") is still open");
|
|
10842
10789
|
}
|
|
10843
|
-
|
|
10844
|
-
//#region node_modules/.pnpm/mdast-util-gfm-table@2.0.0_supports-color@10.2.2/node_modules/mdast-util-gfm-table/lib/index.js
|
|
10790
|
+
// node_modules/.pnpm/mdast-util-gfm-table@2.0.0_supports-color@10.2.2/node_modules/mdast-util-gfm-table/lib/index.js
|
|
10845
10791
|
/**
|
|
10846
10792
|
* @typedef {import('mdast').InlineCode} InlineCode
|
|
10847
10793
|
* @typedef {import('mdast').Table} Table
|
|
@@ -10965,8 +10911,7 @@ function exitCodeText(token) {
|
|
|
10965
10911
|
function replace($0, $1) {
|
|
10966
10912
|
return $1 === "|" ? $1 : $0;
|
|
10967
10913
|
}
|
|
10968
|
-
|
|
10969
|
-
//#region node_modules/.pnpm/micromark-extension-gfm-table@2.1.2/node_modules/micromark-extension-gfm-table/lib/edit-map.js
|
|
10914
|
+
// node_modules/.pnpm/micromark-extension-gfm-table@2.1.2/node_modules/micromark-extension-gfm-table/lib/edit-map.js
|
|
10970
10915
|
/**
|
|
10971
10916
|
* @import {Event} from 'micromark-util-types'
|
|
10972
10917
|
*/
|
|
@@ -11076,8 +11021,7 @@ function addImplementation(editMap, at, remove, add) {
|
|
|
11076
11021
|
editMap.map.push(change);
|
|
11077
11022
|
editMap.index.set(at, change);
|
|
11078
11023
|
}
|
|
11079
|
-
|
|
11080
|
-
//#region node_modules/.pnpm/micromark-extension-gfm-table@2.1.2/node_modules/micromark-extension-gfm-table/lib/infer.js
|
|
11024
|
+
// node_modules/.pnpm/micromark-extension-gfm-table@2.1.2/node_modules/micromark-extension-gfm-table/lib/infer.js
|
|
11081
11025
|
/**
|
|
11082
11026
|
* @import {Event} from 'micromark-util-types'
|
|
11083
11027
|
*/
|
|
@@ -11114,8 +11058,7 @@ function gfmTableAlign(events, index) {
|
|
|
11114
11058
|
}
|
|
11115
11059
|
return align;
|
|
11116
11060
|
}
|
|
11117
|
-
|
|
11118
|
-
//#region node_modules/.pnpm/micromark-extension-gfm-table@2.1.2/node_modules/micromark-extension-gfm-table/lib/syntax.js
|
|
11061
|
+
// node_modules/.pnpm/micromark-extension-gfm-table@2.1.2/node_modules/micromark-extension-gfm-table/lib/syntax.js
|
|
11119
11062
|
/**
|
|
11120
11063
|
* @import {Event, Extension, Point, Resolver, State, Token, TokenizeContext, Tokenizer} from 'micromark-util-types'
|
|
11121
11064
|
*/
|
|
@@ -11831,8 +11774,7 @@ function getPoint(events, index) {
|
|
|
11831
11774
|
const side = event[0] === "enter" ? "start" : "end";
|
|
11832
11775
|
return event[1][side];
|
|
11833
11776
|
}
|
|
11834
|
-
|
|
11835
|
-
//#region packages/markdown-core/src/reasoning-tag-syntax.ts
|
|
11777
|
+
// packages/markdown-core/src/reasoning-tag-syntax.ts
|
|
11836
11778
|
const REASONING_TAG_NAMES = [
|
|
11837
11779
|
"think",
|
|
11838
11780
|
"thinking",
|
|
@@ -12087,8 +12029,7 @@ function reduceReasoningText(text, codeSpans, state, options) {
|
|
|
12087
12029
|
}
|
|
12088
12030
|
return output;
|
|
12089
12031
|
}
|
|
12090
|
-
|
|
12091
|
-
//#region packages/markdown-core/src/reasoning-tag-parser.ts
|
|
12032
|
+
// packages/markdown-core/src/reasoning-tag-parser.ts
|
|
12092
12033
|
const DISABLE_HTML_MARKDOWN = { disable: { null: ["htmlFlow", "htmlText"] } };
|
|
12093
12034
|
function appendMarkdownSource(source, start, token, value) {
|
|
12094
12035
|
const extra = value.length - (token.end.offset - token.start.offset);
|
|
@@ -12426,8 +12367,7 @@ function retainTableParagraph(retainStart, textLength, block, previous) {
|
|
|
12426
12367
|
const startLine = block.position?.start?.line;
|
|
12427
12368
|
return block.type === "table" && block.children?.length === 1 && block.position?.end?.offset === textLength && previous?.type === "paragraph" && startLine !== void 0 && previous.position?.end?.line === startLine - 1 ? Math.min(retainStart, previous.position?.start?.offset ?? retainStart) : retainStart;
|
|
12428
12369
|
}
|
|
12429
|
-
|
|
12430
|
-
//#region packages/markdown-core/src/reasoning-tags.ts
|
|
12370
|
+
// packages/markdown-core/src/reasoning-tags.ts
|
|
12431
12371
|
const MARKDOWN_CONTAINER_LINE_RE = /^(?: {0,3}(?:>|[-+*][\t ]|\d{1,9}[.)][\t ]))/mu;
|
|
12432
12372
|
function endsBlankBlock(text) {
|
|
12433
12373
|
let cursor = text.length - 1;
|
|
@@ -12784,5 +12724,4 @@ function createReasoningTagTextPartitioner() {
|
|
|
12784
12724
|
}
|
|
12785
12725
|
};
|
|
12786
12726
|
}
|
|
12787
|
-
//#endregion
|
|
12788
12727
|
export { createReasoningTagTextPartitioner };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as parseHttpDateInstant, c as parseRetryAfterHeadersSeconds, d as parseRetryAfterTextSeconds, f as resolveProviderErrorRetrySeconds, i as parseGoogleRetryDelaySeconds, l as parseRetryAfterHeadersTiming, n as RetryAfterTiming, o as parseRetryAfterErrorSeconds, r as hasExplicitRetryText, s as parseRetryAfterErrorTiming, t as RETRY_AFTER_TEXT_RE, u as parseRetryAfterHttpDateMs } from "../retry-after-
|
|
1
|
+
import { a as parseHttpDateInstant, c as parseRetryAfterHeadersSeconds, d as parseRetryAfterTextSeconds, f as resolveProviderErrorRetrySeconds, i as parseGoogleRetryDelaySeconds, l as parseRetryAfterHeadersTiming, n as RetryAfterTiming, o as parseRetryAfterErrorSeconds, r as hasExplicitRetryText, s as parseRetryAfterErrorTiming, t as RETRY_AFTER_TEXT_RE, u as parseRetryAfterHttpDateMs } from "../retry-after-f3ZIm8TA.mjs";
|
|
2
2
|
export { RETRY_AFTER_TEXT_RE, RetryAfterTiming, hasExplicitRetryText, parseGoogleRetryDelaySeconds, parseHttpDateInstant, parseRetryAfterErrorSeconds, parseRetryAfterErrorTiming, parseRetryAfterHeadersSeconds, parseRetryAfterHeadersTiming, parseRetryAfterHttpDateMs, parseRetryAfterTextSeconds, resolveProviderErrorRetrySeconds };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// packages/ai/src/internal/retry-after.ts
|
|
2
2
|
const HTTP_DATE_MONTH_INDEX = new Map([
|
|
3
3
|
"Jan",
|
|
4
4
|
"Feb",
|
|
@@ -309,5 +309,4 @@ function parseHttpDateCalendarMs(components) {
|
|
|
309
309
|
if (parsedDate.getUTCFullYear() !== year || parsedDate.getUTCMonth() !== month || parsedDate.getUTCDate() !== day || parsedDate.getUTCHours() !== hours || parsedDate.getUTCMinutes() !== minutes || parsedDate.getUTCSeconds() !== calendarSecond) return;
|
|
310
310
|
return seconds === 60 ? timestamp + 1e3 : timestamp;
|
|
311
311
|
}
|
|
312
|
-
//#endregion
|
|
313
312
|
export { RETRY_AFTER_TEXT_RE, hasExplicitRetryText, parseGoogleRetryDelaySeconds, parseHttpDateInstant, parseRetryAfterErrorSeconds, parseRetryAfterErrorTiming, parseRetryAfterHeadersSeconds, parseRetryAfterHeadersTiming, parseRetryAfterHttpDateMs, parseRetryAfterTextSeconds, resolveProviderErrorRetrySeconds };
|