@copilotkit/runtime-client-gql 1.51.4-next.7 → 1.51.4-next.8
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/CHANGELOG.md +7 -0
- package/codegen.ts +4 -1
- package/dist/{chunk-L6PM6AT3.mjs → chunk-A4INSSNE.mjs} +55 -55
- package/dist/chunk-A4INSSNE.mjs.map +1 -0
- package/dist/{chunk-KTA7QTTU.mjs → chunk-E5FOLXLN.mjs} +6 -3
- package/dist/chunk-E5FOLXLN.mjs.map +1 -0
- package/dist/{chunk-FTOMK35N.mjs → chunk-FIXKL5PL.mjs} +18 -7
- package/dist/chunk-FIXKL5PL.mjs.map +1 -0
- package/dist/{chunk-RNENVFJ3.mjs → chunk-LTVE64IE.mjs} +31 -11
- package/dist/chunk-LTVE64IE.mjs.map +1 -0
- package/dist/{chunk-AMFKR5ST.mjs → chunk-M4CK5HDR.mjs} +2 -2
- package/dist/chunk-M4CK5HDR.mjs.map +1 -0
- package/dist/{chunk-3ETRQN2E.mjs → chunk-QUH7QWUA.mjs} +2 -2
- package/dist/chunk-SDQPJXLL.mjs +20 -0
- package/dist/chunk-SDQPJXLL.mjs.map +1 -0
- package/dist/{chunk-NHOKFX55.mjs → chunk-UOAPP5IN.mjs} +6 -2
- package/dist/chunk-UOAPP5IN.mjs.map +1 -0
- package/dist/{chunk-EIPAWDCN.mjs → chunk-VIHKTLUA.mjs} +14 -6
- package/dist/chunk-VIHKTLUA.mjs.map +1 -0
- package/dist/client/CopilotRuntimeClient.js +20 -6
- package/dist/client/CopilotRuntimeClient.js.map +1 -1
- package/dist/client/CopilotRuntimeClient.mjs +4 -4
- package/dist/client/conversion.js.map +1 -1
- package/dist/client/conversion.mjs +2 -2
- package/dist/client/index.js +25 -7
- package/dist/client/index.js.map +1 -1
- package/dist/client/index.mjs +6 -6
- package/dist/client/types.js +5 -1
- package/dist/client/types.js.map +1 -1
- package/dist/client/types.mjs +1 -1
- package/dist/graphql/@generated/gql.d.ts +2 -2
- package/dist/graphql/@generated/gql.js +1 -1
- package/dist/graphql/@generated/gql.js.map +1 -1
- package/dist/graphql/@generated/gql.mjs +1 -1
- package/dist/graphql/@generated/index.js +1 -1
- package/dist/graphql/@generated/index.js.map +1 -1
- package/dist/graphql/@generated/index.mjs +1 -1
- package/dist/graphql/definitions/mutations.js +5 -2
- package/dist/graphql/definitions/mutations.js.map +1 -1
- package/dist/graphql/definitions/mutations.mjs +2 -2
- package/dist/graphql/definitions/queries.js +1 -1
- package/dist/graphql/definitions/queries.js.map +1 -1
- package/dist/graphql/definitions/queries.mjs +2 -2
- package/dist/index.js +66 -20
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -8
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/{magic-string.es-26DP735G.mjs → magic-string.es-XBKSJO3K.mjs} +3 -3
- package/dist/magic-string.es-XBKSJO3K.mjs.map +1 -0
- package/dist/message-conversion/agui-to-gql.js +29 -9
- package/dist/message-conversion/agui-to-gql.js.map +1 -1
- package/dist/message-conversion/agui-to-gql.mjs +7 -7
- package/dist/message-conversion/agui-to-gql.test.js +133 -82
- package/dist/message-conversion/agui-to-gql.test.js.map +1 -1
- package/dist/message-conversion/agui-to-gql.test.mjs +55 -24
- package/dist/message-conversion/agui-to-gql.test.mjs.map +1 -1
- package/dist/message-conversion/gql-to-agui.js +12 -4
- package/dist/message-conversion/gql-to-agui.js.map +1 -1
- package/dist/message-conversion/gql-to-agui.mjs +7 -7
- package/dist/message-conversion/gql-to-agui.test.js +166 -85
- package/dist/message-conversion/gql-to-agui.test.js.map +1 -1
- package/dist/message-conversion/gql-to-agui.test.mjs +105 -32
- package/dist/message-conversion/gql-to-agui.test.mjs.map +1 -1
- package/dist/message-conversion/index.js +41 -13
- package/dist/message-conversion/index.js.map +1 -1
- package/dist/message-conversion/index.mjs +8 -8
- package/dist/message-conversion/roundtrip-conversion.test.js +149 -87
- package/dist/message-conversion/roundtrip-conversion.test.js.map +1 -1
- package/dist/message-conversion/roundtrip-conversion.test.mjs +60 -26
- package/dist/message-conversion/roundtrip-conversion.test.mjs.map +1 -1
- package/package.json +3 -4
- package/src/client/CopilotRuntimeClient.ts +21 -5
- package/src/client/conversion.ts +3 -1
- package/src/client/types.ts +34 -12
- package/src/graphql/@generated/gql.ts +3 -3
- package/src/graphql/definitions/mutations.ts +4 -1
- package/src/message-conversion/agui-to-gql.test.ts +49 -17
- package/src/message-conversion/agui-to-gql.ts +47 -15
- package/src/message-conversion/gql-to-agui.test.ts +101 -26
- package/src/message-conversion/gql-to-agui.ts +30 -11
- package/src/message-conversion/roundtrip-conversion.test.ts +53 -18
- package/tsconfig.json +1 -1
- package/dist/chunk-AMFKR5ST.mjs.map +0 -1
- package/dist/chunk-EIPAWDCN.mjs.map +0 -1
- package/dist/chunk-FTOMK35N.mjs.map +0 -1
- package/dist/chunk-KTA7QTTU.mjs.map +0 -1
- package/dist/chunk-L6PM6AT3.mjs.map +0 -1
- package/dist/chunk-M5LBGBWO.mjs +0 -20
- package/dist/chunk-M5LBGBWO.mjs.map +0 -1
- package/dist/chunk-NHOKFX55.mjs.map +0 -1
- package/dist/chunk-RNENVFJ3.mjs.map +0 -1
- package/dist/magic-string.es-26DP735G.mjs.map +0 -1
- /package/dist/{chunk-3ETRQN2E.mjs.map → chunk-QUH7QWUA.mjs.map} +0 -0
package/CHANGELOG.md
CHANGED
package/codegen.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import type { CodegenConfig } from "@graphql-codegen/cli";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
|
|
4
|
-
const schema = path.resolve(
|
|
4
|
+
const schema = path.resolve(
|
|
5
|
+
__dirname,
|
|
6
|
+
"../runtime/__snapshots__/schema/schema.graphql",
|
|
7
|
+
);
|
|
5
8
|
|
|
6
9
|
const config: CodegenConfig = {
|
|
7
10
|
schema,
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
__toESM
|
|
4
4
|
} from "./chunk-DELDZXUX.mjs";
|
|
5
5
|
|
|
6
|
-
//
|
|
6
|
+
// ../../../node_modules/.pnpm/js-tokens@9.0.1/node_modules/js-tokens/index.js
|
|
7
7
|
var require_js_tokens = __commonJS({
|
|
8
|
-
"
|
|
8
|
+
"../../../node_modules/.pnpm/js-tokens@9.0.1/node_modules/js-tokens/index.js"(exports, module) {
|
|
9
9
|
var HashbangComment;
|
|
10
10
|
var Identifier;
|
|
11
11
|
var JSXIdentifier;
|
|
@@ -423,17 +423,17 @@ var require_js_tokens = __commonJS({
|
|
|
423
423
|
}
|
|
424
424
|
});
|
|
425
425
|
|
|
426
|
-
//
|
|
426
|
+
// ../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/branding.js
|
|
427
427
|
var require_branding = __commonJS({
|
|
428
|
-
"
|
|
428
|
+
"../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/branding.js"(exports) {
|
|
429
429
|
"use strict";
|
|
430
430
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
431
431
|
}
|
|
432
432
|
});
|
|
433
433
|
|
|
434
|
-
//
|
|
434
|
+
// ../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/messages.js
|
|
435
435
|
var require_messages = __commonJS({
|
|
436
|
-
"
|
|
436
|
+
"../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/messages.js"(exports) {
|
|
437
437
|
"use strict";
|
|
438
438
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
439
439
|
var inverted = Symbol("inverted");
|
|
@@ -455,17 +455,17 @@ var require_messages = __commonJS({
|
|
|
455
455
|
}
|
|
456
456
|
});
|
|
457
457
|
|
|
458
|
-
//
|
|
458
|
+
// ../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/overloads.js
|
|
459
459
|
var require_overloads = __commonJS({
|
|
460
|
-
"
|
|
460
|
+
"../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/overloads.js"(exports) {
|
|
461
461
|
"use strict";
|
|
462
462
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
463
463
|
}
|
|
464
464
|
});
|
|
465
465
|
|
|
466
|
-
//
|
|
466
|
+
// ../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/utils.js
|
|
467
467
|
var require_utils = __commonJS({
|
|
468
|
-
"
|
|
468
|
+
"../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/utils.js"(exports) {
|
|
469
469
|
"use strict";
|
|
470
470
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
471
471
|
var secret = Symbol("secret");
|
|
@@ -474,9 +474,9 @@ var require_utils = __commonJS({
|
|
|
474
474
|
}
|
|
475
475
|
});
|
|
476
476
|
|
|
477
|
-
//
|
|
477
|
+
// ../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/index.js
|
|
478
478
|
var require_dist = __commonJS({
|
|
479
|
-
"
|
|
479
|
+
"../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/index.js"(exports) {
|
|
480
480
|
"use strict";
|
|
481
481
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m2, k2, k22) {
|
|
482
482
|
if (k22 === void 0)
|
|
@@ -558,7 +558,7 @@ var require_dist = __commonJS({
|
|
|
558
558
|
}
|
|
559
559
|
});
|
|
560
560
|
|
|
561
|
-
//
|
|
561
|
+
// ../../../node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js
|
|
562
562
|
var f = {
|
|
563
563
|
reset: [0, 0],
|
|
564
564
|
bold: [1, 22, "\x1B[22m\x1B[1m"],
|
|
@@ -637,12 +637,12 @@ function p(n = false) {
|
|
|
637
637
|
return u3;
|
|
638
638
|
}
|
|
639
639
|
|
|
640
|
-
//
|
|
640
|
+
// ../../../node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.js
|
|
641
641
|
import { isatty as s } from "tty";
|
|
642
642
|
var r = process.env.FORCE_TTY !== void 0 || s(1);
|
|
643
643
|
var u = p(r);
|
|
644
644
|
|
|
645
|
-
//
|
|
645
|
+
// ../../../node_modules/.pnpm/@vitest+pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.js
|
|
646
646
|
function _mergeNamespaces(n, m2) {
|
|
647
647
|
m2.forEach(function(e) {
|
|
648
648
|
e && typeof e !== "string" && !Array.isArray(e) && Object.keys(e).forEach(function(k2) {
|
|
@@ -1880,7 +1880,7 @@ var plugins = {
|
|
|
1880
1880
|
Error: ErrorPlugin
|
|
1881
1881
|
};
|
|
1882
1882
|
|
|
1883
|
-
//
|
|
1883
|
+
// ../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/helpers.js
|
|
1884
1884
|
var ansiColors = {
|
|
1885
1885
|
bold: ["1", "22"],
|
|
1886
1886
|
dim: ["2", "22"],
|
|
@@ -2035,7 +2035,7 @@ function inspectProperty([key, value], options) {
|
|
|
2035
2035
|
return `${key}: ${value}`;
|
|
2036
2036
|
}
|
|
2037
2037
|
|
|
2038
|
-
//
|
|
2038
|
+
// ../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.js
|
|
2039
2039
|
function inspectArray(array2, options) {
|
|
2040
2040
|
const nonIndexProperties = Object.keys(array2).slice(array2.length);
|
|
2041
2041
|
if (!array2.length && !nonIndexProperties.length)
|
|
@@ -2050,7 +2050,7 @@ function inspectArray(array2, options) {
|
|
|
2050
2050
|
return `[ ${listContents}${propertyContents ? `, ${propertyContents}` : ""} ]`;
|
|
2051
2051
|
}
|
|
2052
2052
|
|
|
2053
|
-
//
|
|
2053
|
+
// ../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/typedarray.js
|
|
2054
2054
|
var getArrayName = (array2) => {
|
|
2055
2055
|
if (typeof Buffer === "function" && array2 instanceof Buffer) {
|
|
2056
2056
|
return "Buffer";
|
|
@@ -2083,7 +2083,7 @@ function inspectTypedArray(array2, options) {
|
|
|
2083
2083
|
return `${name}[ ${output}${propertyContents ? `, ${propertyContents}` : ""} ]`;
|
|
2084
2084
|
}
|
|
2085
2085
|
|
|
2086
|
-
//
|
|
2086
|
+
// ../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.js
|
|
2087
2087
|
function inspectDate(dateObject, options) {
|
|
2088
2088
|
const stringRepresentation = dateObject.toJSON();
|
|
2089
2089
|
if (stringRepresentation === null) {
|
|
@@ -2094,7 +2094,7 @@ function inspectDate(dateObject, options) {
|
|
|
2094
2094
|
return options.stylize(`${date}T${truncate(split[1], options.truncate - date.length - 1)}`, "date");
|
|
2095
2095
|
}
|
|
2096
2096
|
|
|
2097
|
-
//
|
|
2097
|
+
// ../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/function.js
|
|
2098
2098
|
function inspectFunction(func, options) {
|
|
2099
2099
|
const functionType = func[Symbol.toStringTag] || "Function";
|
|
2100
2100
|
const name = func.name;
|
|
@@ -2104,7 +2104,7 @@ function inspectFunction(func, options) {
|
|
|
2104
2104
|
return options.stylize(`[${functionType} ${truncate(name, options.truncate - 11)}]`, "special");
|
|
2105
2105
|
}
|
|
2106
2106
|
|
|
2107
|
-
//
|
|
2107
|
+
// ../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/map.js
|
|
2108
2108
|
function inspectMapEntry([key, value], options) {
|
|
2109
2109
|
options.truncate -= 4;
|
|
2110
2110
|
key = options.inspect(key, options);
|
|
@@ -2126,7 +2126,7 @@ function inspectMap(map2, options) {
|
|
|
2126
2126
|
return `Map{ ${inspectList(mapToEntries(map2), options, inspectMapEntry)} }`;
|
|
2127
2127
|
}
|
|
2128
2128
|
|
|
2129
|
-
//
|
|
2129
|
+
// ../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/number.js
|
|
2130
2130
|
var isNaN = Number.isNaN || ((i) => i !== i);
|
|
2131
2131
|
function inspectNumber(number, options) {
|
|
2132
2132
|
if (isNaN(number)) {
|
|
@@ -2144,7 +2144,7 @@ function inspectNumber(number, options) {
|
|
|
2144
2144
|
return options.stylize(truncate(String(number), options.truncate), "number");
|
|
2145
2145
|
}
|
|
2146
2146
|
|
|
2147
|
-
//
|
|
2147
|
+
// ../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.js
|
|
2148
2148
|
function inspectBigInt(number, options) {
|
|
2149
2149
|
let nums = truncate(number.toString(), options.truncate - 1);
|
|
2150
2150
|
if (nums !== truncator)
|
|
@@ -2152,7 +2152,7 @@ function inspectBigInt(number, options) {
|
|
|
2152
2152
|
return options.stylize(nums, "bigint");
|
|
2153
2153
|
}
|
|
2154
2154
|
|
|
2155
|
-
//
|
|
2155
|
+
// ../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/regexp.js
|
|
2156
2156
|
function inspectRegExp(value, options) {
|
|
2157
2157
|
const flags = value.toString().split("/")[2];
|
|
2158
2158
|
const sourceLength = options.truncate - (2 + flags.length);
|
|
@@ -2160,7 +2160,7 @@ function inspectRegExp(value, options) {
|
|
|
2160
2160
|
return options.stylize(`/${truncate(source, sourceLength)}/${flags}`, "regexp");
|
|
2161
2161
|
}
|
|
2162
2162
|
|
|
2163
|
-
//
|
|
2163
|
+
// ../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/set.js
|
|
2164
2164
|
function arrayFromSet(set3) {
|
|
2165
2165
|
const values = [];
|
|
2166
2166
|
set3.forEach((value) => {
|
|
@@ -2175,7 +2175,7 @@ function inspectSet(set3, options) {
|
|
|
2175
2175
|
return `Set{ ${inspectList(arrayFromSet(set3), options)} }`;
|
|
2176
2176
|
}
|
|
2177
2177
|
|
|
2178
|
-
//
|
|
2178
|
+
// ../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/string.js
|
|
2179
2179
|
var stringEscapeChars = new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]", "g");
|
|
2180
2180
|
var escapeCharacters = {
|
|
2181
2181
|
"\b": "\\b",
|
|
@@ -2198,7 +2198,7 @@ function inspectString(string2, options) {
|
|
|
2198
2198
|
return options.stylize(`'${truncate(string2, options.truncate - 2)}'`, "string");
|
|
2199
2199
|
}
|
|
2200
2200
|
|
|
2201
|
-
//
|
|
2201
|
+
// ../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/symbol.js
|
|
2202
2202
|
function inspectSymbol(value) {
|
|
2203
2203
|
if ("description" in Symbol.prototype) {
|
|
2204
2204
|
return value.description ? `Symbol(${value.description})` : "Symbol()";
|
|
@@ -2206,11 +2206,11 @@ function inspectSymbol(value) {
|
|
|
2206
2206
|
return value.toString();
|
|
2207
2207
|
}
|
|
2208
2208
|
|
|
2209
|
-
//
|
|
2209
|
+
// ../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/promise.js
|
|
2210
2210
|
var getPromiseValue = () => "Promise{\u2026}";
|
|
2211
2211
|
var promise_default = getPromiseValue;
|
|
2212
2212
|
|
|
2213
|
-
//
|
|
2213
|
+
// ../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/object.js
|
|
2214
2214
|
function inspectObject(object2, options) {
|
|
2215
2215
|
const properties = Object.getOwnPropertyNames(object2);
|
|
2216
2216
|
const symbols = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(object2) : [];
|
|
@@ -2233,7 +2233,7 @@ function inspectObject(object2, options) {
|
|
|
2233
2233
|
return `{ ${propertyContents}${sep2}${symbolContents} }`;
|
|
2234
2234
|
}
|
|
2235
2235
|
|
|
2236
|
-
//
|
|
2236
|
+
// ../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.js
|
|
2237
2237
|
var toStringTag = typeof Symbol !== "undefined" && Symbol.toStringTag ? Symbol.toStringTag : false;
|
|
2238
2238
|
function inspectClass(value, options) {
|
|
2239
2239
|
let name = "";
|
|
@@ -2248,7 +2248,7 @@ function inspectClass(value, options) {
|
|
|
2248
2248
|
return `${name}${inspectObject(value, options)}`;
|
|
2249
2249
|
}
|
|
2250
2250
|
|
|
2251
|
-
//
|
|
2251
|
+
// ../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.js
|
|
2252
2252
|
function inspectArguments(args, options) {
|
|
2253
2253
|
if (args.length === 0)
|
|
2254
2254
|
return "Arguments[]";
|
|
@@ -2256,7 +2256,7 @@ function inspectArguments(args, options) {
|
|
|
2256
2256
|
return `Arguments[ ${inspectList(args, options)} ]`;
|
|
2257
2257
|
}
|
|
2258
2258
|
|
|
2259
|
-
//
|
|
2259
|
+
// ../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/error.js
|
|
2260
2260
|
var errorKeys = [
|
|
2261
2261
|
"stack",
|
|
2262
2262
|
"line",
|
|
@@ -2291,7 +2291,7 @@ function inspectObject2(error, options) {
|
|
|
2291
2291
|
return `${name}${message}${propertyContents ? ` { ${propertyContents} }` : ""}`;
|
|
2292
2292
|
}
|
|
2293
2293
|
|
|
2294
|
-
//
|
|
2294
|
+
// ../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/html.js
|
|
2295
2295
|
function inspectAttribute([key, value], options) {
|
|
2296
2296
|
options.truncate -= 3;
|
|
2297
2297
|
if (!value) {
|
|
@@ -2333,7 +2333,7 @@ function inspectHTML(element, options) {
|
|
|
2333
2333
|
return `${head}${propertyContents}${headClose}${children}${tail}`;
|
|
2334
2334
|
}
|
|
2335
2335
|
|
|
2336
|
-
//
|
|
2336
|
+
// ../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/index.js
|
|
2337
2337
|
var symbolsSupported = typeof Symbol === "function" && typeof Symbol.for === "function";
|
|
2338
2338
|
var chaiInspect = symbolsSupported ? Symbol.for("chai/inspect") : "@@chai/inspect";
|
|
2339
2339
|
var nodeInspect = Symbol.for("nodejs.util.inspect.custom");
|
|
@@ -2437,7 +2437,7 @@ function inspect(value, opts = {}) {
|
|
|
2437
2437
|
return options.stylize(String(value), type3);
|
|
2438
2438
|
}
|
|
2439
2439
|
|
|
2440
|
-
//
|
|
2440
|
+
// ../../../node_modules/.pnpm/@vitest+utils@3.2.4/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js
|
|
2441
2441
|
var { AsymmetricMatcher, DOMCollection, DOMElement, Immutable, ReactElement, ReactTestComponent } = plugins;
|
|
2442
2442
|
var PLUGINS = [
|
|
2443
2443
|
ReactTestComponent,
|
|
@@ -2595,7 +2595,7 @@ function getDefaultExportFromCjs2(x2) {
|
|
|
2595
2595
|
return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
|
|
2596
2596
|
}
|
|
2597
2597
|
|
|
2598
|
-
//
|
|
2598
|
+
// ../../../node_modules/.pnpm/@vitest+utils@3.2.4/node_modules/@vitest/utils/dist/helpers.js
|
|
2599
2599
|
function createSimpleStackTrace(options) {
|
|
2600
2600
|
const { message = "$$stack trace error", stackTraceLimit = 1 } = options || {};
|
|
2601
2601
|
const limit = Error.stackTraceLimit;
|
|
@@ -2734,7 +2734,7 @@ function isNegativeNaN(val) {
|
|
|
2734
2734
|
return isNegative;
|
|
2735
2735
|
}
|
|
2736
2736
|
|
|
2737
|
-
//
|
|
2737
|
+
// ../../../node_modules/.pnpm/@vitest+utils@3.2.4/node_modules/@vitest/utils/dist/index.js
|
|
2738
2738
|
var jsTokens_1;
|
|
2739
2739
|
var hasRequiredJsTokens;
|
|
2740
2740
|
function requireJsTokens() {
|
|
@@ -3198,7 +3198,7 @@ function getSafeTimers() {
|
|
|
3198
3198
|
};
|
|
3199
3199
|
}
|
|
3200
3200
|
|
|
3201
|
-
//
|
|
3201
|
+
// ../../../node_modules/.pnpm/@vitest+utils@3.2.4/node_modules/@vitest/utils/dist/source-map.js
|
|
3202
3202
|
var comma = ",".charCodeAt(0);
|
|
3203
3203
|
var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
3204
3204
|
var intToChar = new Uint8Array(64);
|
|
@@ -3412,7 +3412,7 @@ function parseSingleV8Stack(raw) {
|
|
|
3412
3412
|
};
|
|
3413
3413
|
}
|
|
3414
3414
|
|
|
3415
|
-
//
|
|
3415
|
+
// ../../../node_modules/.pnpm/@vitest+utils@3.2.4/node_modules/@vitest/utils/dist/diff.js
|
|
3416
3416
|
var DIFF_DELETE = -1;
|
|
3417
3417
|
var DIFF_INSERT = 1;
|
|
3418
3418
|
var DIFF_EQUAL = 0;
|
|
@@ -5009,7 +5009,7 @@ function getCommonAndChangedSubstrings(diffs, op, hasCommonDiff2) {
|
|
|
5009
5009
|
return diffs.reduce((reduced, diff2) => reduced + (diff2[0] === DIFF_EQUAL ? diff2[1] : diff2[0] === op ? hasCommonDiff2 ? u.inverse(diff2[1]) : diff2[1] : ""), "");
|
|
5010
5010
|
}
|
|
5011
5011
|
|
|
5012
|
-
//
|
|
5012
|
+
// ../../../node_modules/.pnpm/@vitest+utils@3.2.4/node_modules/@vitest/utils/dist/error.js
|
|
5013
5013
|
var IS_RECORD_SYMBOL = "@@__IMMUTABLE_RECORD__@@";
|
|
5014
5014
|
var IS_COLLECTION_SYMBOL = "@@__IMMUTABLE_ITERABLE__@@";
|
|
5015
5015
|
function isImmutable(v2) {
|
|
@@ -5159,7 +5159,7 @@ Inner error message: ${err === null || err === void 0 ? void 0 : err.message}`))
|
|
|
5159
5159
|
}
|
|
5160
5160
|
}
|
|
5161
5161
|
|
|
5162
|
-
//
|
|
5162
|
+
// ../../../node_modules/.pnpm/strip-literal@3.1.0/node_modules/strip-literal/dist/index.mjs
|
|
5163
5163
|
var import_js_tokens = __toESM(require_js_tokens(), 1);
|
|
5164
5164
|
var FILL_COMMENT = " ";
|
|
5165
5165
|
function stripLiteralFromToken(token, fillChar, filter) {
|
|
@@ -5225,7 +5225,7 @@ function stripLiteral(code, options) {
|
|
|
5225
5225
|
return result;
|
|
5226
5226
|
}
|
|
5227
5227
|
|
|
5228
|
-
//
|
|
5228
|
+
// ../../../node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs
|
|
5229
5229
|
var _DRIVE_LETTER_START_RE2 = /^[A-Za-z]:\//;
|
|
5230
5230
|
function normalizeWindowsPath2(input = "") {
|
|
5231
5231
|
if (!input) {
|
|
@@ -5323,7 +5323,7 @@ var isAbsolute2 = function(p3) {
|
|
|
5323
5323
|
return _IS_ABSOLUTE_RE2.test(p3);
|
|
5324
5324
|
};
|
|
5325
5325
|
|
|
5326
|
-
//
|
|
5326
|
+
// ../../../node_modules/.pnpm/@vitest+runner@3.2.4/node_modules/@vitest/runner/dist/chunk-hooks.js
|
|
5327
5327
|
var PendingError = class extends Error {
|
|
5328
5328
|
code = "VITEST_PENDING";
|
|
5329
5329
|
taskId;
|
|
@@ -6401,7 +6401,7 @@ function createTestHook(name, handler) {
|
|
|
6401
6401
|
};
|
|
6402
6402
|
}
|
|
6403
6403
|
|
|
6404
|
-
//
|
|
6404
|
+
// ../../../node_modules/.pnpm/tinyspy@4.0.4/node_modules/tinyspy/dist/index.js
|
|
6405
6405
|
function S(e, t) {
|
|
6406
6406
|
if (!e)
|
|
6407
6407
|
throw new Error(t);
|
|
@@ -6558,7 +6558,7 @@ function j(e) {
|
|
|
6558
6558
|
return v(e) && "getOriginal" in e[y];
|
|
6559
6559
|
}
|
|
6560
6560
|
|
|
6561
|
-
//
|
|
6561
|
+
// ../../../node_modules/.pnpm/@vitest+spy@3.2.4/node_modules/@vitest/spy/dist/index.js
|
|
6562
6562
|
var mocks = /* @__PURE__ */ new Set();
|
|
6563
6563
|
function isMockFunction(fn2) {
|
|
6564
6564
|
return typeof fn2 === "function" && "_isMockFunction" in fn2 && fn2._isMockFunction;
|
|
@@ -6748,7 +6748,7 @@ function getDescriptor(obj, method) {
|
|
|
6748
6748
|
}
|
|
6749
6749
|
}
|
|
6750
6750
|
|
|
6751
|
-
//
|
|
6751
|
+
// ../../../node_modules/.pnpm/chai@5.3.3/node_modules/chai/index.js
|
|
6752
6752
|
var __defProp = Object.defineProperty;
|
|
6753
6753
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
6754
6754
|
var __export = (target, all) => {
|
|
@@ -10820,7 +10820,7 @@ function use(fn2) {
|
|
|
10820
10820
|
}
|
|
10821
10821
|
__name(use, "use");
|
|
10822
10822
|
|
|
10823
|
-
//
|
|
10823
|
+
// ../../../node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index.js
|
|
10824
10824
|
var MATCHERS_OBJECT = Symbol.for("matchers-object");
|
|
10825
10825
|
var JEST_MATCHERS_OBJECT = Symbol.for("$$jest-matchers-object");
|
|
10826
10826
|
var GLOBAL_EXPECT = Symbol.for("expect-global");
|
|
@@ -12493,7 +12493,7 @@ var JestExtend = (chai2, utils) => {
|
|
|
12493
12493
|
});
|
|
12494
12494
|
};
|
|
12495
12495
|
|
|
12496
|
-
//
|
|
12496
|
+
// ../../../node_modules/.pnpm/vitest@3.2.4_@types+debug@4.1.12_@types+node@20.19.27_@vitest+ui@3.2.4_jiti@2.6.1_jsdom_ad9a99fae9beb8635e1487dc560ee7c6/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js
|
|
12497
12497
|
var NAME_WORKER_STATE = "__vitest_worker__";
|
|
12498
12498
|
function getWorkerState() {
|
|
12499
12499
|
const workerState = globalThis[NAME_WORKER_STATE];
|
|
@@ -12545,13 +12545,13 @@ async function waitForImportsToResolve() {
|
|
|
12545
12545
|
await waitForImportsToResolve();
|
|
12546
12546
|
}
|
|
12547
12547
|
|
|
12548
|
-
//
|
|
12548
|
+
// ../../../node_modules/.pnpm/vitest@3.2.4_@types+debug@4.1.12_@types+node@20.19.27_@vitest+ui@3.2.4_jiti@2.6.1_jsdom_ad9a99fae9beb8635e1487dc560ee7c6/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js
|
|
12549
12549
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
12550
12550
|
function getDefaultExportFromCjs3(x2) {
|
|
12551
12551
|
return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
|
|
12552
12552
|
}
|
|
12553
12553
|
|
|
12554
|
-
//
|
|
12554
|
+
// ../../../node_modules/.pnpm/@vitest+snapshot@3.2.4/node_modules/@vitest/snapshot/dist/index.js
|
|
12555
12555
|
var comma2 = ",".charCodeAt(0);
|
|
12556
12556
|
var chars2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
12557
12557
|
var intToChar2 = new Uint8Array(64);
|
|
@@ -13797,7 +13797,7 @@ function offsetToLineNumber(source, offset) {
|
|
|
13797
13797
|
return line + 1;
|
|
13798
13798
|
}
|
|
13799
13799
|
async function saveInlineSnapshots(environment, snapshots) {
|
|
13800
|
-
const MagicString = (await import("./magic-string.es-
|
|
13800
|
+
const MagicString = (await import("./magic-string.es-XBKSJO3K.mjs")).default;
|
|
13801
13801
|
const files = new Set(snapshots.map((i) => i.file));
|
|
13802
13802
|
await Promise.all(Array.from(files).map(async (file) => {
|
|
13803
13803
|
const snaps = snapshots.filter((i) => i.file === file);
|
|
@@ -14578,7 +14578,7 @@ var SnapshotClient = class {
|
|
|
14578
14578
|
}
|
|
14579
14579
|
};
|
|
14580
14580
|
|
|
14581
|
-
//
|
|
14581
|
+
// ../../../node_modules/.pnpm/vitest@3.2.4_@types+debug@4.1.12_@types+node@20.19.27_@vitest+ui@3.2.4_jiti@2.6.1_jsdom_ad9a99fae9beb8635e1487dc560ee7c6/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js
|
|
14582
14582
|
var RealDate = Date;
|
|
14583
14583
|
var now2 = null;
|
|
14584
14584
|
var MockDate = class extends RealDate {
|
|
@@ -14629,7 +14629,7 @@ function resetDate() {
|
|
|
14629
14629
|
globalThis.Date = RealDate;
|
|
14630
14630
|
}
|
|
14631
14631
|
|
|
14632
|
-
//
|
|
14632
|
+
// ../../../node_modules/.pnpm/vitest@3.2.4_@types+debug@4.1.12_@types+node@20.19.27_@vitest+ui@3.2.4_jiti@2.6.1_jsdom_ad9a99fae9beb8635e1487dc560ee7c6/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js
|
|
14633
14633
|
var unsupported = [
|
|
14634
14634
|
"matchSnapshot",
|
|
14635
14635
|
"toMatchSnapshot",
|
|
@@ -17419,7 +17419,7 @@ function getImporter(name) {
|
|
|
17419
17419
|
return (stack == null ? void 0 : stack.file) || "";
|
|
17420
17420
|
}
|
|
17421
17421
|
|
|
17422
|
-
//
|
|
17422
|
+
// ../../../node_modules/.pnpm/vitest@3.2.4_@types+debug@4.1.12_@types+node@20.19.27_@vitest+ui@3.2.4_jiti@2.6.1_jsdom_ad9a99fae9beb8635e1487dc560ee7c6/node_modules/vitest/dist/index.js
|
|
17423
17423
|
var import_expect_type = __toESM(require_dist(), 1);
|
|
17424
17424
|
|
|
17425
17425
|
export {
|
|
@@ -17719,4 +17719,4 @@ chai/index.js:
|
|
|
17719
17719
|
* @license MIT License
|
|
17720
17720
|
*)
|
|
17721
17721
|
*/
|
|
17722
|
-
//# sourceMappingURL=chunk-
|
|
17722
|
+
//# sourceMappingURL=chunk-A4INSSNE.mjs.map
|