@impractical-ai/motion 0.1.12 → 0.1.13
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/{api-3IX5MBOY.js → api-4YQKINQI.js} +2 -2
- package/dist/{chunk-6GR7BQDV.js → chunk-GAHKKLF3.js} +1 -1
- package/dist/{chunk-ACBYTWXK.js → chunk-PTYSKJ2Y.js} +3 -4
- package/dist/{chunk-4JSZNV7I.js → chunk-ZCTJTQB7.js} +2 -2
- package/dist/{commands-K6AOA7CK.js → commands-NWJK7ANI.js} +3 -3
- package/dist/index.js +5 -5
- package/dist/{main-72BNF5J2.js → main-BEONOBG5.js} +2 -2
- package/dist/{stdio-HFGQR34V.js → stdio-PLWZDKDA.js} +507 -446
- package/package.json +2 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
openBrowser
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZCTJTQB7.js";
|
|
5
5
|
import {
|
|
6
6
|
ApiError,
|
|
7
7
|
admitMcpCall,
|
|
@@ -11,22 +11,22 @@ import {
|
|
|
11
11
|
saveConfig,
|
|
12
12
|
validateApiResponse,
|
|
13
13
|
withAdmissionReceipt
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GAHKKLF3.js";
|
|
15
15
|
import {
|
|
16
16
|
BUILD_COMMIT,
|
|
17
17
|
PACKAGE_VERSION,
|
|
18
18
|
PRODUCTION_APP_URL,
|
|
19
19
|
PRODUCTION_SUPABASE_URL
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PTYSKJ2Y.js";
|
|
21
21
|
import {
|
|
22
22
|
__commonJS,
|
|
23
23
|
__export,
|
|
24
24
|
__toESM
|
|
25
25
|
} from "./chunk-77HVPD4G.js";
|
|
26
26
|
|
|
27
|
-
//
|
|
27
|
+
// node_modules/ajv/dist/compile/codegen/code.js
|
|
28
28
|
var require_code = __commonJS({
|
|
29
|
-
"
|
|
29
|
+
"node_modules/ajv/dist/compile/codegen/code.js"(exports) {
|
|
30
30
|
"use strict";
|
|
31
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
32
|
exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;
|
|
@@ -178,9 +178,9 @@ var require_code = __commonJS({
|
|
|
178
178
|
}
|
|
179
179
|
});
|
|
180
180
|
|
|
181
|
-
//
|
|
181
|
+
// node_modules/ajv/dist/compile/codegen/scope.js
|
|
182
182
|
var require_scope = __commonJS({
|
|
183
|
-
"
|
|
183
|
+
"node_modules/ajv/dist/compile/codegen/scope.js"(exports) {
|
|
184
184
|
"use strict";
|
|
185
185
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
186
186
|
exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0;
|
|
@@ -323,9 +323,9 @@ var require_scope = __commonJS({
|
|
|
323
323
|
}
|
|
324
324
|
});
|
|
325
325
|
|
|
326
|
-
//
|
|
326
|
+
// node_modules/ajv/dist/compile/codegen/index.js
|
|
327
327
|
var require_codegen = __commonJS({
|
|
328
|
-
"
|
|
328
|
+
"node_modules/ajv/dist/compile/codegen/index.js"(exports) {
|
|
329
329
|
"use strict";
|
|
330
330
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
331
331
|
exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0;
|
|
@@ -1043,9 +1043,9 @@ var require_codegen = __commonJS({
|
|
|
1043
1043
|
}
|
|
1044
1044
|
});
|
|
1045
1045
|
|
|
1046
|
-
//
|
|
1046
|
+
// node_modules/ajv/dist/compile/util.js
|
|
1047
1047
|
var require_util = __commonJS({
|
|
1048
|
-
"
|
|
1048
|
+
"node_modules/ajv/dist/compile/util.js"(exports) {
|
|
1049
1049
|
"use strict";
|
|
1050
1050
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1051
1051
|
exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0;
|
|
@@ -1210,9 +1210,9 @@ var require_util = __commonJS({
|
|
|
1210
1210
|
}
|
|
1211
1211
|
});
|
|
1212
1212
|
|
|
1213
|
-
//
|
|
1213
|
+
// node_modules/ajv/dist/compile/names.js
|
|
1214
1214
|
var require_names = __commonJS({
|
|
1215
|
-
"
|
|
1215
|
+
"node_modules/ajv/dist/compile/names.js"(exports) {
|
|
1216
1216
|
"use strict";
|
|
1217
1217
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1218
1218
|
var codegen_1 = require_codegen();
|
|
@@ -1249,9 +1249,9 @@ var require_names = __commonJS({
|
|
|
1249
1249
|
}
|
|
1250
1250
|
});
|
|
1251
1251
|
|
|
1252
|
-
//
|
|
1252
|
+
// node_modules/ajv/dist/compile/errors.js
|
|
1253
1253
|
var require_errors = __commonJS({
|
|
1254
|
-
"
|
|
1254
|
+
"node_modules/ajv/dist/compile/errors.js"(exports) {
|
|
1255
1255
|
"use strict";
|
|
1256
1256
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1257
1257
|
exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0;
|
|
@@ -1371,9 +1371,9 @@ var require_errors = __commonJS({
|
|
|
1371
1371
|
}
|
|
1372
1372
|
});
|
|
1373
1373
|
|
|
1374
|
-
//
|
|
1374
|
+
// node_modules/ajv/dist/compile/validate/boolSchema.js
|
|
1375
1375
|
var require_boolSchema = __commonJS({
|
|
1376
|
-
"
|
|
1376
|
+
"node_modules/ajv/dist/compile/validate/boolSchema.js"(exports) {
|
|
1377
1377
|
"use strict";
|
|
1378
1378
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1379
1379
|
exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;
|
|
@@ -1422,9 +1422,9 @@ var require_boolSchema = __commonJS({
|
|
|
1422
1422
|
}
|
|
1423
1423
|
});
|
|
1424
1424
|
|
|
1425
|
-
//
|
|
1425
|
+
// node_modules/ajv/dist/compile/rules.js
|
|
1426
1426
|
var require_rules = __commonJS({
|
|
1427
|
-
"
|
|
1427
|
+
"node_modules/ajv/dist/compile/rules.js"(exports) {
|
|
1428
1428
|
"use strict";
|
|
1429
1429
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1430
1430
|
exports.getRules = exports.isJSONType = void 0;
|
|
@@ -1453,9 +1453,9 @@ var require_rules = __commonJS({
|
|
|
1453
1453
|
}
|
|
1454
1454
|
});
|
|
1455
1455
|
|
|
1456
|
-
//
|
|
1456
|
+
// node_modules/ajv/dist/compile/validate/applicability.js
|
|
1457
1457
|
var require_applicability = __commonJS({
|
|
1458
|
-
"
|
|
1458
|
+
"node_modules/ajv/dist/compile/validate/applicability.js"(exports) {
|
|
1459
1459
|
"use strict";
|
|
1460
1460
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1461
1461
|
exports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = void 0;
|
|
@@ -1476,9 +1476,9 @@ var require_applicability = __commonJS({
|
|
|
1476
1476
|
}
|
|
1477
1477
|
});
|
|
1478
1478
|
|
|
1479
|
-
//
|
|
1479
|
+
// node_modules/ajv/dist/compile/validate/dataType.js
|
|
1480
1480
|
var require_dataType = __commonJS({
|
|
1481
|
-
"
|
|
1481
|
+
"node_modules/ajv/dist/compile/validate/dataType.js"(exports) {
|
|
1482
1482
|
"use strict";
|
|
1483
1483
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1484
1484
|
exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = void 0;
|
|
@@ -1660,9 +1660,9 @@ var require_dataType = __commonJS({
|
|
|
1660
1660
|
}
|
|
1661
1661
|
});
|
|
1662
1662
|
|
|
1663
|
-
//
|
|
1663
|
+
// node_modules/ajv/dist/compile/validate/defaults.js
|
|
1664
1664
|
var require_defaults = __commonJS({
|
|
1665
|
-
"
|
|
1665
|
+
"node_modules/ajv/dist/compile/validate/defaults.js"(exports) {
|
|
1666
1666
|
"use strict";
|
|
1667
1667
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1668
1668
|
exports.assignDefaults = void 0;
|
|
@@ -1697,9 +1697,9 @@ var require_defaults = __commonJS({
|
|
|
1697
1697
|
}
|
|
1698
1698
|
});
|
|
1699
1699
|
|
|
1700
|
-
//
|
|
1700
|
+
// node_modules/ajv/dist/vocabularies/code.js
|
|
1701
1701
|
var require_code2 = __commonJS({
|
|
1702
|
-
"
|
|
1702
|
+
"node_modules/ajv/dist/vocabularies/code.js"(exports) {
|
|
1703
1703
|
"use strict";
|
|
1704
1704
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1705
1705
|
exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = void 0;
|
|
@@ -1830,9 +1830,9 @@ var require_code2 = __commonJS({
|
|
|
1830
1830
|
}
|
|
1831
1831
|
});
|
|
1832
1832
|
|
|
1833
|
-
//
|
|
1833
|
+
// node_modules/ajv/dist/compile/validate/keyword.js
|
|
1834
1834
|
var require_keyword = __commonJS({
|
|
1835
|
-
"
|
|
1835
|
+
"node_modules/ajv/dist/compile/validate/keyword.js"(exports) {
|
|
1836
1836
|
"use strict";
|
|
1837
1837
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1838
1838
|
exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = void 0;
|
|
@@ -1948,9 +1948,9 @@ var require_keyword = __commonJS({
|
|
|
1948
1948
|
}
|
|
1949
1949
|
});
|
|
1950
1950
|
|
|
1951
|
-
//
|
|
1951
|
+
// node_modules/ajv/dist/compile/validate/subschema.js
|
|
1952
1952
|
var require_subschema = __commonJS({
|
|
1953
|
-
"
|
|
1953
|
+
"node_modules/ajv/dist/compile/validate/subschema.js"(exports) {
|
|
1954
1954
|
"use strict";
|
|
1955
1955
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1956
1956
|
exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = void 0;
|
|
@@ -2031,9 +2031,9 @@ var require_subschema = __commonJS({
|
|
|
2031
2031
|
}
|
|
2032
2032
|
});
|
|
2033
2033
|
|
|
2034
|
-
//
|
|
2034
|
+
// node_modules/fast-deep-equal/index.js
|
|
2035
2035
|
var require_fast_deep_equal = __commonJS({
|
|
2036
|
-
"
|
|
2036
|
+
"node_modules/fast-deep-equal/index.js"(exports, module) {
|
|
2037
2037
|
"use strict";
|
|
2038
2038
|
module.exports = function equal(a, b) {
|
|
2039
2039
|
if (a === b) return true;
|
|
@@ -2066,9 +2066,9 @@ var require_fast_deep_equal = __commonJS({
|
|
|
2066
2066
|
}
|
|
2067
2067
|
});
|
|
2068
2068
|
|
|
2069
|
-
//
|
|
2069
|
+
// node_modules/json-schema-traverse/index.js
|
|
2070
2070
|
var require_json_schema_traverse = __commonJS({
|
|
2071
|
-
"
|
|
2071
|
+
"node_modules/json-schema-traverse/index.js"(exports, module) {
|
|
2072
2072
|
"use strict";
|
|
2073
2073
|
var traverse = module.exports = function(schema, opts, cb) {
|
|
2074
2074
|
if (typeof opts == "function") {
|
|
@@ -2154,9 +2154,9 @@ var require_json_schema_traverse = __commonJS({
|
|
|
2154
2154
|
}
|
|
2155
2155
|
});
|
|
2156
2156
|
|
|
2157
|
-
//
|
|
2157
|
+
// node_modules/ajv/dist/compile/resolve.js
|
|
2158
2158
|
var require_resolve = __commonJS({
|
|
2159
|
-
"
|
|
2159
|
+
"node_modules/ajv/dist/compile/resolve.js"(exports) {
|
|
2160
2160
|
"use strict";
|
|
2161
2161
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2162
2162
|
exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0;
|
|
@@ -2310,9 +2310,9 @@ var require_resolve = __commonJS({
|
|
|
2310
2310
|
}
|
|
2311
2311
|
});
|
|
2312
2312
|
|
|
2313
|
-
//
|
|
2313
|
+
// node_modules/ajv/dist/compile/validate/index.js
|
|
2314
2314
|
var require_validate = __commonJS({
|
|
2315
|
-
"
|
|
2315
|
+
"node_modules/ajv/dist/compile/validate/index.js"(exports) {
|
|
2316
2316
|
"use strict";
|
|
2317
2317
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2318
2318
|
exports.getData = exports.KeywordCxt = exports.validateFunctionCode = void 0;
|
|
@@ -2818,9 +2818,9 @@ var require_validate = __commonJS({
|
|
|
2818
2818
|
}
|
|
2819
2819
|
});
|
|
2820
2820
|
|
|
2821
|
-
//
|
|
2821
|
+
// node_modules/ajv/dist/runtime/validation_error.js
|
|
2822
2822
|
var require_validation_error = __commonJS({
|
|
2823
|
-
"
|
|
2823
|
+
"node_modules/ajv/dist/runtime/validation_error.js"(exports) {
|
|
2824
2824
|
"use strict";
|
|
2825
2825
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2826
2826
|
var ValidationError = class extends Error {
|
|
@@ -2834,9 +2834,9 @@ var require_validation_error = __commonJS({
|
|
|
2834
2834
|
}
|
|
2835
2835
|
});
|
|
2836
2836
|
|
|
2837
|
-
//
|
|
2837
|
+
// node_modules/ajv/dist/compile/ref_error.js
|
|
2838
2838
|
var require_ref_error = __commonJS({
|
|
2839
|
-
"
|
|
2839
|
+
"node_modules/ajv/dist/compile/ref_error.js"(exports) {
|
|
2840
2840
|
"use strict";
|
|
2841
2841
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2842
2842
|
var resolve_1 = require_resolve();
|
|
@@ -2851,9 +2851,9 @@ var require_ref_error = __commonJS({
|
|
|
2851
2851
|
}
|
|
2852
2852
|
});
|
|
2853
2853
|
|
|
2854
|
-
//
|
|
2854
|
+
// node_modules/ajv/dist/compile/index.js
|
|
2855
2855
|
var require_compile = __commonJS({
|
|
2856
|
-
"
|
|
2856
|
+
"node_modules/ajv/dist/compile/index.js"(exports) {
|
|
2857
2857
|
"use strict";
|
|
2858
2858
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2859
2859
|
exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0;
|
|
@@ -3075,9 +3075,9 @@ var require_compile = __commonJS({
|
|
|
3075
3075
|
}
|
|
3076
3076
|
});
|
|
3077
3077
|
|
|
3078
|
-
//
|
|
3078
|
+
// node_modules/ajv/dist/refs/data.json
|
|
3079
3079
|
var require_data = __commonJS({
|
|
3080
|
-
"
|
|
3080
|
+
"node_modules/ajv/dist/refs/data.json"(exports, module) {
|
|
3081
3081
|
module.exports = {
|
|
3082
3082
|
$id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
|
|
3083
3083
|
description: "Meta-schema for $data reference (JSON AnySchema extension proposal)",
|
|
@@ -3094,9 +3094,9 @@ var require_data = __commonJS({
|
|
|
3094
3094
|
}
|
|
3095
3095
|
});
|
|
3096
3096
|
|
|
3097
|
-
//
|
|
3097
|
+
// node_modules/fast-uri/lib/utils.js
|
|
3098
3098
|
var require_utils = __commonJS({
|
|
3099
|
-
"
|
|
3099
|
+
"node_modules/fast-uri/lib/utils.js"(exports, module) {
|
|
3100
3100
|
"use strict";
|
|
3101
3101
|
var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
|
|
3102
3102
|
var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
|
|
@@ -3220,8 +3220,8 @@ var require_utils = __commonJS({
|
|
|
3220
3220
|
}
|
|
3221
3221
|
return ind;
|
|
3222
3222
|
}
|
|
3223
|
-
function removeDotSegments(
|
|
3224
|
-
let input =
|
|
3223
|
+
function removeDotSegments(path7) {
|
|
3224
|
+
let input = path7;
|
|
3225
3225
|
const output = [];
|
|
3226
3226
|
let nextSlash = -1;
|
|
3227
3227
|
let len = 0;
|
|
@@ -3407,9 +3407,9 @@ var require_utils = __commonJS({
|
|
|
3407
3407
|
}
|
|
3408
3408
|
});
|
|
3409
3409
|
|
|
3410
|
-
//
|
|
3410
|
+
// node_modules/fast-uri/lib/schemes.js
|
|
3411
3411
|
var require_schemes = __commonJS({
|
|
3412
|
-
"
|
|
3412
|
+
"node_modules/fast-uri/lib/schemes.js"(exports, module) {
|
|
3413
3413
|
"use strict";
|
|
3414
3414
|
var { isUUID } = require_utils();
|
|
3415
3415
|
var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
|
|
@@ -3473,8 +3473,8 @@ var require_schemes = __commonJS({
|
|
|
3473
3473
|
wsComponent.secure = void 0;
|
|
3474
3474
|
}
|
|
3475
3475
|
if (wsComponent.resourceName) {
|
|
3476
|
-
const [
|
|
3477
|
-
wsComponent.path =
|
|
3476
|
+
const [path7, query] = wsComponent.resourceName.split("?");
|
|
3477
|
+
wsComponent.path = path7 && path7 !== "/" ? path7 : void 0;
|
|
3478
3478
|
wsComponent.query = query;
|
|
3479
3479
|
wsComponent.resourceName = void 0;
|
|
3480
3480
|
}
|
|
@@ -3617,9 +3617,9 @@ var require_schemes = __commonJS({
|
|
|
3617
3617
|
}
|
|
3618
3618
|
});
|
|
3619
3619
|
|
|
3620
|
-
//
|
|
3620
|
+
// node_modules/fast-uri/index.js
|
|
3621
3621
|
var require_fast_uri = __commonJS({
|
|
3622
|
-
"
|
|
3622
|
+
"node_modules/fast-uri/index.js"(exports, module) {
|
|
3623
3623
|
"use strict";
|
|
3624
3624
|
var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, escapePreservingEscapes, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
|
|
3625
3625
|
var { SCHEMES, getSchemeHandler } = require_schemes();
|
|
@@ -3929,9 +3929,9 @@ var require_fast_uri = __commonJS({
|
|
|
3929
3929
|
}
|
|
3930
3930
|
});
|
|
3931
3931
|
|
|
3932
|
-
//
|
|
3932
|
+
// node_modules/ajv/dist/runtime/uri.js
|
|
3933
3933
|
var require_uri = __commonJS({
|
|
3934
|
-
"
|
|
3934
|
+
"node_modules/ajv/dist/runtime/uri.js"(exports) {
|
|
3935
3935
|
"use strict";
|
|
3936
3936
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3937
3937
|
var uri = require_fast_uri();
|
|
@@ -3940,9 +3940,9 @@ var require_uri = __commonJS({
|
|
|
3940
3940
|
}
|
|
3941
3941
|
});
|
|
3942
3942
|
|
|
3943
|
-
//
|
|
3943
|
+
// node_modules/ajv/dist/core.js
|
|
3944
3944
|
var require_core = __commonJS({
|
|
3945
|
-
"
|
|
3945
|
+
"node_modules/ajv/dist/core.js"(exports) {
|
|
3946
3946
|
"use strict";
|
|
3947
3947
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3948
3948
|
exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
|
|
@@ -4551,9 +4551,9 @@ var require_core = __commonJS({
|
|
|
4551
4551
|
}
|
|
4552
4552
|
});
|
|
4553
4553
|
|
|
4554
|
-
//
|
|
4554
|
+
// node_modules/ajv/dist/vocabularies/core/id.js
|
|
4555
4555
|
var require_id = __commonJS({
|
|
4556
|
-
"
|
|
4556
|
+
"node_modules/ajv/dist/vocabularies/core/id.js"(exports) {
|
|
4557
4557
|
"use strict";
|
|
4558
4558
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4559
4559
|
var def = {
|
|
@@ -4566,9 +4566,9 @@ var require_id = __commonJS({
|
|
|
4566
4566
|
}
|
|
4567
4567
|
});
|
|
4568
4568
|
|
|
4569
|
-
//
|
|
4569
|
+
// node_modules/ajv/dist/vocabularies/core/ref.js
|
|
4570
4570
|
var require_ref = __commonJS({
|
|
4571
|
-
"
|
|
4571
|
+
"node_modules/ajv/dist/vocabularies/core/ref.js"(exports) {
|
|
4572
4572
|
"use strict";
|
|
4573
4573
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4574
4574
|
exports.callRef = exports.getValidate = void 0;
|
|
@@ -4688,9 +4688,9 @@ var require_ref = __commonJS({
|
|
|
4688
4688
|
}
|
|
4689
4689
|
});
|
|
4690
4690
|
|
|
4691
|
-
//
|
|
4691
|
+
// node_modules/ajv/dist/vocabularies/core/index.js
|
|
4692
4692
|
var require_core2 = __commonJS({
|
|
4693
|
-
"
|
|
4693
|
+
"node_modules/ajv/dist/vocabularies/core/index.js"(exports) {
|
|
4694
4694
|
"use strict";
|
|
4695
4695
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4696
4696
|
var id_1 = require_id();
|
|
@@ -4709,9 +4709,9 @@ var require_core2 = __commonJS({
|
|
|
4709
4709
|
}
|
|
4710
4710
|
});
|
|
4711
4711
|
|
|
4712
|
-
//
|
|
4712
|
+
// node_modules/ajv/dist/vocabularies/validation/limitNumber.js
|
|
4713
4713
|
var require_limitNumber = __commonJS({
|
|
4714
|
-
"
|
|
4714
|
+
"node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports) {
|
|
4715
4715
|
"use strict";
|
|
4716
4716
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4717
4717
|
var codegen_1 = require_codegen();
|
|
@@ -4741,9 +4741,9 @@ var require_limitNumber = __commonJS({
|
|
|
4741
4741
|
}
|
|
4742
4742
|
});
|
|
4743
4743
|
|
|
4744
|
-
//
|
|
4744
|
+
// node_modules/ajv/dist/vocabularies/validation/multipleOf.js
|
|
4745
4745
|
var require_multipleOf = __commonJS({
|
|
4746
|
-
"
|
|
4746
|
+
"node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports) {
|
|
4747
4747
|
"use strict";
|
|
4748
4748
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4749
4749
|
var codegen_1 = require_codegen();
|
|
@@ -4769,9 +4769,9 @@ var require_multipleOf = __commonJS({
|
|
|
4769
4769
|
}
|
|
4770
4770
|
});
|
|
4771
4771
|
|
|
4772
|
-
//
|
|
4772
|
+
// node_modules/ajv/dist/runtime/ucs2length.js
|
|
4773
4773
|
var require_ucs2length = __commonJS({
|
|
4774
|
-
"
|
|
4774
|
+
"node_modules/ajv/dist/runtime/ucs2length.js"(exports) {
|
|
4775
4775
|
"use strict";
|
|
4776
4776
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4777
4777
|
function ucs2length(str) {
|
|
@@ -4795,9 +4795,9 @@ var require_ucs2length = __commonJS({
|
|
|
4795
4795
|
}
|
|
4796
4796
|
});
|
|
4797
4797
|
|
|
4798
|
-
//
|
|
4798
|
+
// node_modules/ajv/dist/vocabularies/validation/limitLength.js
|
|
4799
4799
|
var require_limitLength = __commonJS({
|
|
4800
|
-
"
|
|
4800
|
+
"node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports) {
|
|
4801
4801
|
"use strict";
|
|
4802
4802
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4803
4803
|
var codegen_1 = require_codegen();
|
|
@@ -4827,9 +4827,9 @@ var require_limitLength = __commonJS({
|
|
|
4827
4827
|
}
|
|
4828
4828
|
});
|
|
4829
4829
|
|
|
4830
|
-
//
|
|
4830
|
+
// node_modules/ajv/dist/vocabularies/validation/pattern.js
|
|
4831
4831
|
var require_pattern = __commonJS({
|
|
4832
|
-
"
|
|
4832
|
+
"node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports) {
|
|
4833
4833
|
"use strict";
|
|
4834
4834
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4835
4835
|
var code_1 = require_code2();
|
|
@@ -4864,9 +4864,9 @@ var require_pattern = __commonJS({
|
|
|
4864
4864
|
}
|
|
4865
4865
|
});
|
|
4866
4866
|
|
|
4867
|
-
//
|
|
4867
|
+
// node_modules/ajv/dist/vocabularies/validation/limitProperties.js
|
|
4868
4868
|
var require_limitProperties = __commonJS({
|
|
4869
|
-
"
|
|
4869
|
+
"node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports) {
|
|
4870
4870
|
"use strict";
|
|
4871
4871
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4872
4872
|
var codegen_1 = require_codegen();
|
|
@@ -4893,9 +4893,9 @@ var require_limitProperties = __commonJS({
|
|
|
4893
4893
|
}
|
|
4894
4894
|
});
|
|
4895
4895
|
|
|
4896
|
-
//
|
|
4896
|
+
// node_modules/ajv/dist/vocabularies/validation/required.js
|
|
4897
4897
|
var require_required = __commonJS({
|
|
4898
|
-
"
|
|
4898
|
+
"node_modules/ajv/dist/vocabularies/validation/required.js"(exports) {
|
|
4899
4899
|
"use strict";
|
|
4900
4900
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4901
4901
|
var code_1 = require_code2();
|
|
@@ -4975,9 +4975,9 @@ var require_required = __commonJS({
|
|
|
4975
4975
|
}
|
|
4976
4976
|
});
|
|
4977
4977
|
|
|
4978
|
-
//
|
|
4978
|
+
// node_modules/ajv/dist/vocabularies/validation/limitItems.js
|
|
4979
4979
|
var require_limitItems = __commonJS({
|
|
4980
|
-
"
|
|
4980
|
+
"node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports) {
|
|
4981
4981
|
"use strict";
|
|
4982
4982
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4983
4983
|
var codegen_1 = require_codegen();
|
|
@@ -5004,9 +5004,9 @@ var require_limitItems = __commonJS({
|
|
|
5004
5004
|
}
|
|
5005
5005
|
});
|
|
5006
5006
|
|
|
5007
|
-
//
|
|
5007
|
+
// node_modules/ajv/dist/runtime/equal.js
|
|
5008
5008
|
var require_equal = __commonJS({
|
|
5009
|
-
"
|
|
5009
|
+
"node_modules/ajv/dist/runtime/equal.js"(exports) {
|
|
5010
5010
|
"use strict";
|
|
5011
5011
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5012
5012
|
var equal = require_fast_deep_equal();
|
|
@@ -5015,9 +5015,9 @@ var require_equal = __commonJS({
|
|
|
5015
5015
|
}
|
|
5016
5016
|
});
|
|
5017
5017
|
|
|
5018
|
-
//
|
|
5018
|
+
// node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
|
|
5019
5019
|
var require_uniqueItems = __commonJS({
|
|
5020
|
-
"
|
|
5020
|
+
"node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports) {
|
|
5021
5021
|
"use strict";
|
|
5022
5022
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5023
5023
|
var dataType_1 = require_dataType();
|
|
@@ -5082,9 +5082,9 @@ var require_uniqueItems = __commonJS({
|
|
|
5082
5082
|
}
|
|
5083
5083
|
});
|
|
5084
5084
|
|
|
5085
|
-
//
|
|
5085
|
+
// node_modules/ajv/dist/vocabularies/validation/const.js
|
|
5086
5086
|
var require_const = __commonJS({
|
|
5087
|
-
"
|
|
5087
|
+
"node_modules/ajv/dist/vocabularies/validation/const.js"(exports) {
|
|
5088
5088
|
"use strict";
|
|
5089
5089
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5090
5090
|
var codegen_1 = require_codegen();
|
|
@@ -5111,9 +5111,9 @@ var require_const = __commonJS({
|
|
|
5111
5111
|
}
|
|
5112
5112
|
});
|
|
5113
5113
|
|
|
5114
|
-
//
|
|
5114
|
+
// node_modules/ajv/dist/vocabularies/validation/enum.js
|
|
5115
5115
|
var require_enum = __commonJS({
|
|
5116
|
-
"
|
|
5116
|
+
"node_modules/ajv/dist/vocabularies/validation/enum.js"(exports) {
|
|
5117
5117
|
"use strict";
|
|
5118
5118
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5119
5119
|
var codegen_1 = require_codegen();
|
|
@@ -5160,9 +5160,9 @@ var require_enum = __commonJS({
|
|
|
5160
5160
|
}
|
|
5161
5161
|
});
|
|
5162
5162
|
|
|
5163
|
-
//
|
|
5163
|
+
// node_modules/ajv/dist/vocabularies/validation/index.js
|
|
5164
5164
|
var require_validation = __commonJS({
|
|
5165
|
-
"
|
|
5165
|
+
"node_modules/ajv/dist/vocabularies/validation/index.js"(exports) {
|
|
5166
5166
|
"use strict";
|
|
5167
5167
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5168
5168
|
var limitNumber_1 = require_limitNumber();
|
|
@@ -5198,9 +5198,9 @@ var require_validation = __commonJS({
|
|
|
5198
5198
|
}
|
|
5199
5199
|
});
|
|
5200
5200
|
|
|
5201
|
-
//
|
|
5201
|
+
// node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
|
|
5202
5202
|
var require_additionalItems = __commonJS({
|
|
5203
|
-
"
|
|
5203
|
+
"node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports) {
|
|
5204
5204
|
"use strict";
|
|
5205
5205
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5206
5206
|
exports.validateAdditionalItems = void 0;
|
|
@@ -5251,9 +5251,9 @@ var require_additionalItems = __commonJS({
|
|
|
5251
5251
|
}
|
|
5252
5252
|
});
|
|
5253
5253
|
|
|
5254
|
-
//
|
|
5254
|
+
// node_modules/ajv/dist/vocabularies/applicator/items.js
|
|
5255
5255
|
var require_items = __commonJS({
|
|
5256
|
-
"
|
|
5256
|
+
"node_modules/ajv/dist/vocabularies/applicator/items.js"(exports) {
|
|
5257
5257
|
"use strict";
|
|
5258
5258
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5259
5259
|
exports.validateTuple = void 0;
|
|
@@ -5308,9 +5308,9 @@ var require_items = __commonJS({
|
|
|
5308
5308
|
}
|
|
5309
5309
|
});
|
|
5310
5310
|
|
|
5311
|
-
//
|
|
5311
|
+
// node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
|
|
5312
5312
|
var require_prefixItems = __commonJS({
|
|
5313
|
-
"
|
|
5313
|
+
"node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports) {
|
|
5314
5314
|
"use strict";
|
|
5315
5315
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5316
5316
|
var items_1 = require_items();
|
|
@@ -5325,9 +5325,9 @@ var require_prefixItems = __commonJS({
|
|
|
5325
5325
|
}
|
|
5326
5326
|
});
|
|
5327
5327
|
|
|
5328
|
-
//
|
|
5328
|
+
// node_modules/ajv/dist/vocabularies/applicator/items2020.js
|
|
5329
5329
|
var require_items2020 = __commonJS({
|
|
5330
|
-
"
|
|
5330
|
+
"node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports) {
|
|
5331
5331
|
"use strict";
|
|
5332
5332
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5333
5333
|
var codegen_1 = require_codegen();
|
|
@@ -5360,9 +5360,9 @@ var require_items2020 = __commonJS({
|
|
|
5360
5360
|
}
|
|
5361
5361
|
});
|
|
5362
5362
|
|
|
5363
|
-
//
|
|
5363
|
+
// node_modules/ajv/dist/vocabularies/applicator/contains.js
|
|
5364
5364
|
var require_contains = __commonJS({
|
|
5365
|
-
"
|
|
5365
|
+
"node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports) {
|
|
5366
5366
|
"use strict";
|
|
5367
5367
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5368
5368
|
var codegen_1 = require_codegen();
|
|
@@ -5454,9 +5454,9 @@ var require_contains = __commonJS({
|
|
|
5454
5454
|
}
|
|
5455
5455
|
});
|
|
5456
5456
|
|
|
5457
|
-
//
|
|
5457
|
+
// node_modules/ajv/dist/vocabularies/applicator/dependencies.js
|
|
5458
5458
|
var require_dependencies = __commonJS({
|
|
5459
|
-
"
|
|
5459
|
+
"node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports) {
|
|
5460
5460
|
"use strict";
|
|
5461
5461
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5462
5462
|
exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0;
|
|
@@ -5548,9 +5548,9 @@ var require_dependencies = __commonJS({
|
|
|
5548
5548
|
}
|
|
5549
5549
|
});
|
|
5550
5550
|
|
|
5551
|
-
//
|
|
5551
|
+
// node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
|
|
5552
5552
|
var require_propertyNames = __commonJS({
|
|
5553
|
-
"
|
|
5553
|
+
"node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports) {
|
|
5554
5554
|
"use strict";
|
|
5555
5555
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5556
5556
|
var codegen_1 = require_codegen();
|
|
@@ -5591,9 +5591,9 @@ var require_propertyNames = __commonJS({
|
|
|
5591
5591
|
}
|
|
5592
5592
|
});
|
|
5593
5593
|
|
|
5594
|
-
//
|
|
5594
|
+
// node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
|
|
5595
5595
|
var require_additionalProperties = __commonJS({
|
|
5596
|
-
"
|
|
5596
|
+
"node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports) {
|
|
5597
5597
|
"use strict";
|
|
5598
5598
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5599
5599
|
var code_1 = require_code2();
|
|
@@ -5697,9 +5697,9 @@ var require_additionalProperties = __commonJS({
|
|
|
5697
5697
|
}
|
|
5698
5698
|
});
|
|
5699
5699
|
|
|
5700
|
-
//
|
|
5700
|
+
// node_modules/ajv/dist/vocabularies/applicator/properties.js
|
|
5701
5701
|
var require_properties = __commonJS({
|
|
5702
|
-
"
|
|
5702
|
+
"node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports) {
|
|
5703
5703
|
"use strict";
|
|
5704
5704
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5705
5705
|
var validate_1 = require_validate();
|
|
@@ -5755,9 +5755,9 @@ var require_properties = __commonJS({
|
|
|
5755
5755
|
}
|
|
5756
5756
|
});
|
|
5757
5757
|
|
|
5758
|
-
//
|
|
5758
|
+
// node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
|
|
5759
5759
|
var require_patternProperties = __commonJS({
|
|
5760
|
-
"
|
|
5760
|
+
"node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports) {
|
|
5761
5761
|
"use strict";
|
|
5762
5762
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5763
5763
|
var code_1 = require_code2();
|
|
@@ -5829,9 +5829,9 @@ var require_patternProperties = __commonJS({
|
|
|
5829
5829
|
}
|
|
5830
5830
|
});
|
|
5831
5831
|
|
|
5832
|
-
//
|
|
5832
|
+
// node_modules/ajv/dist/vocabularies/applicator/not.js
|
|
5833
5833
|
var require_not = __commonJS({
|
|
5834
|
-
"
|
|
5834
|
+
"node_modules/ajv/dist/vocabularies/applicator/not.js"(exports) {
|
|
5835
5835
|
"use strict";
|
|
5836
5836
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5837
5837
|
var util_1 = require_util();
|
|
@@ -5860,9 +5860,9 @@ var require_not = __commonJS({
|
|
|
5860
5860
|
}
|
|
5861
5861
|
});
|
|
5862
5862
|
|
|
5863
|
-
//
|
|
5863
|
+
// node_modules/ajv/dist/vocabularies/applicator/anyOf.js
|
|
5864
5864
|
var require_anyOf = __commonJS({
|
|
5865
|
-
"
|
|
5865
|
+
"node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports) {
|
|
5866
5866
|
"use strict";
|
|
5867
5867
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5868
5868
|
var code_1 = require_code2();
|
|
@@ -5877,9 +5877,9 @@ var require_anyOf = __commonJS({
|
|
|
5877
5877
|
}
|
|
5878
5878
|
});
|
|
5879
5879
|
|
|
5880
|
-
//
|
|
5880
|
+
// node_modules/ajv/dist/vocabularies/applicator/oneOf.js
|
|
5881
5881
|
var require_oneOf = __commonJS({
|
|
5882
|
-
"
|
|
5882
|
+
"node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports) {
|
|
5883
5883
|
"use strict";
|
|
5884
5884
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5885
5885
|
var codegen_1 = require_codegen();
|
|
@@ -5935,9 +5935,9 @@ var require_oneOf = __commonJS({
|
|
|
5935
5935
|
}
|
|
5936
5936
|
});
|
|
5937
5937
|
|
|
5938
|
-
//
|
|
5938
|
+
// node_modules/ajv/dist/vocabularies/applicator/allOf.js
|
|
5939
5939
|
var require_allOf = __commonJS({
|
|
5940
|
-
"
|
|
5940
|
+
"node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports) {
|
|
5941
5941
|
"use strict";
|
|
5942
5942
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5943
5943
|
var util_1 = require_util();
|
|
@@ -5962,9 +5962,9 @@ var require_allOf = __commonJS({
|
|
|
5962
5962
|
}
|
|
5963
5963
|
});
|
|
5964
5964
|
|
|
5965
|
-
//
|
|
5965
|
+
// node_modules/ajv/dist/vocabularies/applicator/if.js
|
|
5966
5966
|
var require_if = __commonJS({
|
|
5967
|
-
"
|
|
5967
|
+
"node_modules/ajv/dist/vocabularies/applicator/if.js"(exports) {
|
|
5968
5968
|
"use strict";
|
|
5969
5969
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5970
5970
|
var codegen_1 = require_codegen();
|
|
@@ -6031,9 +6031,9 @@ var require_if = __commonJS({
|
|
|
6031
6031
|
}
|
|
6032
6032
|
});
|
|
6033
6033
|
|
|
6034
|
-
//
|
|
6034
|
+
// node_modules/ajv/dist/vocabularies/applicator/thenElse.js
|
|
6035
6035
|
var require_thenElse = __commonJS({
|
|
6036
|
-
"
|
|
6036
|
+
"node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports) {
|
|
6037
6037
|
"use strict";
|
|
6038
6038
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6039
6039
|
var util_1 = require_util();
|
|
@@ -6049,9 +6049,9 @@ var require_thenElse = __commonJS({
|
|
|
6049
6049
|
}
|
|
6050
6050
|
});
|
|
6051
6051
|
|
|
6052
|
-
//
|
|
6052
|
+
// node_modules/ajv/dist/vocabularies/applicator/index.js
|
|
6053
6053
|
var require_applicator = __commonJS({
|
|
6054
|
-
"
|
|
6054
|
+
"node_modules/ajv/dist/vocabularies/applicator/index.js"(exports) {
|
|
6055
6055
|
"use strict";
|
|
6056
6056
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6057
6057
|
var additionalItems_1 = require_additionalItems();
|
|
@@ -6097,9 +6097,9 @@ var require_applicator = __commonJS({
|
|
|
6097
6097
|
}
|
|
6098
6098
|
});
|
|
6099
6099
|
|
|
6100
|
-
//
|
|
6100
|
+
// node_modules/ajv/dist/vocabularies/format/format.js
|
|
6101
6101
|
var require_format = __commonJS({
|
|
6102
|
-
"
|
|
6102
|
+
"node_modules/ajv/dist/vocabularies/format/format.js"(exports) {
|
|
6103
6103
|
"use strict";
|
|
6104
6104
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6105
6105
|
var codegen_1 = require_codegen();
|
|
@@ -6187,9 +6187,9 @@ var require_format = __commonJS({
|
|
|
6187
6187
|
}
|
|
6188
6188
|
});
|
|
6189
6189
|
|
|
6190
|
-
//
|
|
6190
|
+
// node_modules/ajv/dist/vocabularies/format/index.js
|
|
6191
6191
|
var require_format2 = __commonJS({
|
|
6192
|
-
"
|
|
6192
|
+
"node_modules/ajv/dist/vocabularies/format/index.js"(exports) {
|
|
6193
6193
|
"use strict";
|
|
6194
6194
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6195
6195
|
var format_1 = require_format();
|
|
@@ -6198,9 +6198,9 @@ var require_format2 = __commonJS({
|
|
|
6198
6198
|
}
|
|
6199
6199
|
});
|
|
6200
6200
|
|
|
6201
|
-
//
|
|
6201
|
+
// node_modules/ajv/dist/vocabularies/metadata.js
|
|
6202
6202
|
var require_metadata = __commonJS({
|
|
6203
|
-
"
|
|
6203
|
+
"node_modules/ajv/dist/vocabularies/metadata.js"(exports) {
|
|
6204
6204
|
"use strict";
|
|
6205
6205
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6206
6206
|
exports.contentVocabulary = exports.metadataVocabulary = void 0;
|
|
@@ -6221,9 +6221,9 @@ var require_metadata = __commonJS({
|
|
|
6221
6221
|
}
|
|
6222
6222
|
});
|
|
6223
6223
|
|
|
6224
|
-
//
|
|
6224
|
+
// node_modules/ajv/dist/vocabularies/draft7.js
|
|
6225
6225
|
var require_draft7 = __commonJS({
|
|
6226
|
-
"
|
|
6226
|
+
"node_modules/ajv/dist/vocabularies/draft7.js"(exports) {
|
|
6227
6227
|
"use strict";
|
|
6228
6228
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6229
6229
|
var core_1 = require_core2();
|
|
@@ -6243,9 +6243,9 @@ var require_draft7 = __commonJS({
|
|
|
6243
6243
|
}
|
|
6244
6244
|
});
|
|
6245
6245
|
|
|
6246
|
-
//
|
|
6246
|
+
// node_modules/ajv/dist/vocabularies/discriminator/types.js
|
|
6247
6247
|
var require_types = __commonJS({
|
|
6248
|
-
"
|
|
6248
|
+
"node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports) {
|
|
6249
6249
|
"use strict";
|
|
6250
6250
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6251
6251
|
exports.DiscrError = void 0;
|
|
@@ -6257,9 +6257,9 @@ var require_types = __commonJS({
|
|
|
6257
6257
|
}
|
|
6258
6258
|
});
|
|
6259
6259
|
|
|
6260
|
-
//
|
|
6260
|
+
// node_modules/ajv/dist/vocabularies/discriminator/index.js
|
|
6261
6261
|
var require_discriminator = __commonJS({
|
|
6262
|
-
"
|
|
6262
|
+
"node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports) {
|
|
6263
6263
|
"use strict";
|
|
6264
6264
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6265
6265
|
var codegen_1 = require_codegen();
|
|
@@ -6362,9 +6362,9 @@ var require_discriminator = __commonJS({
|
|
|
6362
6362
|
}
|
|
6363
6363
|
});
|
|
6364
6364
|
|
|
6365
|
-
//
|
|
6365
|
+
// node_modules/ajv/dist/refs/json-schema-draft-07.json
|
|
6366
6366
|
var require_json_schema_draft_07 = __commonJS({
|
|
6367
|
-
"
|
|
6367
|
+
"node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports, module) {
|
|
6368
6368
|
module.exports = {
|
|
6369
6369
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
6370
6370
|
$id: "http://json-schema.org/draft-07/schema#",
|
|
@@ -6519,9 +6519,9 @@ var require_json_schema_draft_07 = __commonJS({
|
|
|
6519
6519
|
}
|
|
6520
6520
|
});
|
|
6521
6521
|
|
|
6522
|
-
//
|
|
6522
|
+
// node_modules/ajv/dist/ajv.js
|
|
6523
6523
|
var require_ajv = __commonJS({
|
|
6524
|
-
"
|
|
6524
|
+
"node_modules/ajv/dist/ajv.js"(exports, module) {
|
|
6525
6525
|
"use strict";
|
|
6526
6526
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6527
6527
|
exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = void 0;
|
|
@@ -6589,9 +6589,9 @@ var require_ajv = __commonJS({
|
|
|
6589
6589
|
}
|
|
6590
6590
|
});
|
|
6591
6591
|
|
|
6592
|
-
//
|
|
6592
|
+
// node_modules/ajv-formats/dist/formats.js
|
|
6593
6593
|
var require_formats = __commonJS({
|
|
6594
|
-
"
|
|
6594
|
+
"node_modules/ajv-formats/dist/formats.js"(exports) {
|
|
6595
6595
|
"use strict";
|
|
6596
6596
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6597
6597
|
exports.formatNames = exports.fastFormats = exports.fullFormats = void 0;
|
|
@@ -6792,9 +6792,9 @@ var require_formats = __commonJS({
|
|
|
6792
6792
|
}
|
|
6793
6793
|
});
|
|
6794
6794
|
|
|
6795
|
-
//
|
|
6795
|
+
// node_modules/ajv-formats/dist/limit.js
|
|
6796
6796
|
var require_limit = __commonJS({
|
|
6797
|
-
"
|
|
6797
|
+
"node_modules/ajv-formats/dist/limit.js"(exports) {
|
|
6798
6798
|
"use strict";
|
|
6799
6799
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6800
6800
|
exports.formatLimitDefinition = void 0;
|
|
@@ -6864,9 +6864,9 @@ var require_limit = __commonJS({
|
|
|
6864
6864
|
}
|
|
6865
6865
|
});
|
|
6866
6866
|
|
|
6867
|
-
//
|
|
6867
|
+
// node_modules/ajv-formats/dist/index.js
|
|
6868
6868
|
var require_dist = __commonJS({
|
|
6869
|
-
"
|
|
6869
|
+
"node_modules/ajv-formats/dist/index.js"(exports, module) {
|
|
6870
6870
|
"use strict";
|
|
6871
6871
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6872
6872
|
var formats_1 = require_formats();
|
|
@@ -35549,9 +35549,9 @@ var require_lib4 = __commonJS({
|
|
|
35549
35549
|
// src/mcp/stdio.ts
|
|
35550
35550
|
import { readFileSync as readFileSync7 } from "node:fs";
|
|
35551
35551
|
import { readFile as readFile4 } from "node:fs/promises";
|
|
35552
|
-
import { fileURLToPath as
|
|
35552
|
+
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
35553
35553
|
|
|
35554
|
-
//
|
|
35554
|
+
// node_modules/zod/v3/helpers/util.js
|
|
35555
35555
|
var util;
|
|
35556
35556
|
(function(util2) {
|
|
35557
35557
|
util2.assertEqual = (_) => {
|
|
@@ -35685,7 +35685,7 @@ var getParsedType = (data) => {
|
|
|
35685
35685
|
}
|
|
35686
35686
|
};
|
|
35687
35687
|
|
|
35688
|
-
//
|
|
35688
|
+
// node_modules/zod/v3/ZodError.js
|
|
35689
35689
|
var ZodIssueCode = util.arrayToEnum([
|
|
35690
35690
|
"invalid_type",
|
|
35691
35691
|
"invalid_literal",
|
|
@@ -35799,7 +35799,7 @@ ZodError.create = (issues) => {
|
|
|
35799
35799
|
return error51;
|
|
35800
35800
|
};
|
|
35801
35801
|
|
|
35802
|
-
//
|
|
35802
|
+
// node_modules/zod/v3/locales/en.js
|
|
35803
35803
|
var errorMap = (issue2, _ctx) => {
|
|
35804
35804
|
let message;
|
|
35805
35805
|
switch (issue2.code) {
|
|
@@ -35902,16 +35902,16 @@ var errorMap = (issue2, _ctx) => {
|
|
|
35902
35902
|
};
|
|
35903
35903
|
var en_default = errorMap;
|
|
35904
35904
|
|
|
35905
|
-
//
|
|
35905
|
+
// node_modules/zod/v3/errors.js
|
|
35906
35906
|
var overrideErrorMap = en_default;
|
|
35907
35907
|
function getErrorMap() {
|
|
35908
35908
|
return overrideErrorMap;
|
|
35909
35909
|
}
|
|
35910
35910
|
|
|
35911
|
-
//
|
|
35911
|
+
// node_modules/zod/v3/helpers/parseUtil.js
|
|
35912
35912
|
var makeIssue = (params) => {
|
|
35913
|
-
const { data, path:
|
|
35914
|
-
const fullPath = [...
|
|
35913
|
+
const { data, path: path7, errorMaps, issueData } = params;
|
|
35914
|
+
const fullPath = [...path7, ...issueData.path || []];
|
|
35915
35915
|
const fullIssue = {
|
|
35916
35916
|
...issueData,
|
|
35917
35917
|
path: fullPath
|
|
@@ -36017,20 +36017,20 @@ var isDirty = (x) => x.status === "dirty";
|
|
|
36017
36017
|
var isValid = (x) => x.status === "valid";
|
|
36018
36018
|
var isAsync = (x) => typeof Promise !== "undefined" && x instanceof Promise;
|
|
36019
36019
|
|
|
36020
|
-
//
|
|
36020
|
+
// node_modules/zod/v3/helpers/errorUtil.js
|
|
36021
36021
|
var errorUtil;
|
|
36022
36022
|
(function(errorUtil2) {
|
|
36023
36023
|
errorUtil2.errToObj = (message) => typeof message === "string" ? { message } : message || {};
|
|
36024
36024
|
errorUtil2.toString = (message) => typeof message === "string" ? message : message?.message;
|
|
36025
36025
|
})(errorUtil || (errorUtil = {}));
|
|
36026
36026
|
|
|
36027
|
-
//
|
|
36027
|
+
// node_modules/zod/v3/types.js
|
|
36028
36028
|
var ParseInputLazyPath = class {
|
|
36029
|
-
constructor(parent, value,
|
|
36029
|
+
constructor(parent, value, path7, key) {
|
|
36030
36030
|
this._cachedPath = [];
|
|
36031
36031
|
this.parent = parent;
|
|
36032
36032
|
this.data = value;
|
|
36033
|
-
this._path =
|
|
36033
|
+
this._path = path7;
|
|
36034
36034
|
this._key = key;
|
|
36035
36035
|
}
|
|
36036
36036
|
get path() {
|
|
@@ -39428,7 +39428,7 @@ var nullableType = ZodNullable.create;
|
|
|
39428
39428
|
var preprocessType = ZodEffects.createWithPreprocess;
|
|
39429
39429
|
var pipelineType = ZodPipeline.create;
|
|
39430
39430
|
|
|
39431
|
-
//
|
|
39431
|
+
// node_modules/zod/v4/core/index.js
|
|
39432
39432
|
var core_exports2 = {};
|
|
39433
39433
|
__export(core_exports2, {
|
|
39434
39434
|
$ZodAny: () => $ZodAny,
|
|
@@ -39707,7 +39707,7 @@ __export(core_exports2, {
|
|
|
39707
39707
|
version: () => version
|
|
39708
39708
|
});
|
|
39709
39709
|
|
|
39710
|
-
//
|
|
39710
|
+
// node_modules/zod/v4/core/core.js
|
|
39711
39711
|
var _a;
|
|
39712
39712
|
var NEVER = /* @__PURE__ */ Object.freeze({
|
|
39713
39713
|
status: "aborted"
|
|
@@ -39784,7 +39784,7 @@ function config(newConfig) {
|
|
|
39784
39784
|
return globalConfig;
|
|
39785
39785
|
}
|
|
39786
39786
|
|
|
39787
|
-
//
|
|
39787
|
+
// node_modules/zod/v4/core/util.js
|
|
39788
39788
|
var util_exports = {};
|
|
39789
39789
|
__export(util_exports, {
|
|
39790
39790
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -39951,10 +39951,10 @@ function mergeDefs(...defs) {
|
|
|
39951
39951
|
function cloneDef(schema) {
|
|
39952
39952
|
return mergeDefs(schema._zod.def);
|
|
39953
39953
|
}
|
|
39954
|
-
function getElementAtPath(obj,
|
|
39955
|
-
if (!
|
|
39954
|
+
function getElementAtPath(obj, path7) {
|
|
39955
|
+
if (!path7)
|
|
39956
39956
|
return obj;
|
|
39957
|
-
return
|
|
39957
|
+
return path7.reduce((acc, key) => acc?.[key], obj);
|
|
39958
39958
|
}
|
|
39959
39959
|
function promiseAllObject(promisesObj) {
|
|
39960
39960
|
const keys = Object.keys(promisesObj);
|
|
@@ -40363,11 +40363,11 @@ function explicitlyAborted(x, startIndex = 0) {
|
|
|
40363
40363
|
}
|
|
40364
40364
|
return false;
|
|
40365
40365
|
}
|
|
40366
|
-
function prefixIssues(
|
|
40366
|
+
function prefixIssues(path7, issues) {
|
|
40367
40367
|
return issues.map((iss) => {
|
|
40368
40368
|
var _a3;
|
|
40369
40369
|
(_a3 = iss).path ?? (_a3.path = []);
|
|
40370
|
-
iss.path.unshift(
|
|
40370
|
+
iss.path.unshift(path7);
|
|
40371
40371
|
return iss;
|
|
40372
40372
|
});
|
|
40373
40373
|
}
|
|
@@ -40480,7 +40480,7 @@ var Class = class {
|
|
|
40480
40480
|
}
|
|
40481
40481
|
};
|
|
40482
40482
|
|
|
40483
|
-
//
|
|
40483
|
+
// node_modules/zod/v4/core/errors.js
|
|
40484
40484
|
var initializer = (inst, def) => {
|
|
40485
40485
|
inst.name = "$ZodError";
|
|
40486
40486
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -40514,16 +40514,16 @@ function flattenError(error51, mapper = (issue2) => issue2.message) {
|
|
|
40514
40514
|
}
|
|
40515
40515
|
function formatError(error51, mapper = (issue2) => issue2.message) {
|
|
40516
40516
|
const fieldErrors = { _errors: [] };
|
|
40517
|
-
const processError = (error52,
|
|
40517
|
+
const processError = (error52, path7 = []) => {
|
|
40518
40518
|
for (const issue2 of error52.issues) {
|
|
40519
40519
|
if (issue2.code === "invalid_union" && issue2.errors.length) {
|
|
40520
|
-
issue2.errors.map((issues) => processError({ issues }, [...
|
|
40520
|
+
issue2.errors.map((issues) => processError({ issues }, [...path7, ...issue2.path]));
|
|
40521
40521
|
} else if (issue2.code === "invalid_key") {
|
|
40522
|
-
processError({ issues: issue2.issues }, [...
|
|
40522
|
+
processError({ issues: issue2.issues }, [...path7, ...issue2.path]);
|
|
40523
40523
|
} else if (issue2.code === "invalid_element") {
|
|
40524
|
-
processError({ issues: issue2.issues }, [...
|
|
40524
|
+
processError({ issues: issue2.issues }, [...path7, ...issue2.path]);
|
|
40525
40525
|
} else {
|
|
40526
|
-
const fullpath = [...
|
|
40526
|
+
const fullpath = [...path7, ...issue2.path];
|
|
40527
40527
|
if (fullpath.length === 0) {
|
|
40528
40528
|
fieldErrors._errors.push(mapper(issue2));
|
|
40529
40529
|
} else {
|
|
@@ -40550,17 +40550,17 @@ function formatError(error51, mapper = (issue2) => issue2.message) {
|
|
|
40550
40550
|
}
|
|
40551
40551
|
function treeifyError(error51, mapper = (issue2) => issue2.message) {
|
|
40552
40552
|
const result = { errors: [] };
|
|
40553
|
-
const processError = (error52,
|
|
40553
|
+
const processError = (error52, path7 = []) => {
|
|
40554
40554
|
var _a3, _b;
|
|
40555
40555
|
for (const issue2 of error52.issues) {
|
|
40556
40556
|
if (issue2.code === "invalid_union" && issue2.errors.length) {
|
|
40557
|
-
issue2.errors.map((issues) => processError({ issues }, [...
|
|
40557
|
+
issue2.errors.map((issues) => processError({ issues }, [...path7, ...issue2.path]));
|
|
40558
40558
|
} else if (issue2.code === "invalid_key") {
|
|
40559
|
-
processError({ issues: issue2.issues }, [...
|
|
40559
|
+
processError({ issues: issue2.issues }, [...path7, ...issue2.path]);
|
|
40560
40560
|
} else if (issue2.code === "invalid_element") {
|
|
40561
|
-
processError({ issues: issue2.issues }, [...
|
|
40561
|
+
processError({ issues: issue2.issues }, [...path7, ...issue2.path]);
|
|
40562
40562
|
} else {
|
|
40563
|
-
const fullpath = [...
|
|
40563
|
+
const fullpath = [...path7, ...issue2.path];
|
|
40564
40564
|
if (fullpath.length === 0) {
|
|
40565
40565
|
result.errors.push(mapper(issue2));
|
|
40566
40566
|
continue;
|
|
@@ -40592,8 +40592,8 @@ function treeifyError(error51, mapper = (issue2) => issue2.message) {
|
|
|
40592
40592
|
}
|
|
40593
40593
|
function toDotPath(_path) {
|
|
40594
40594
|
const segs = [];
|
|
40595
|
-
const
|
|
40596
|
-
for (const seg of
|
|
40595
|
+
const path7 = _path.map((seg) => typeof seg === "object" ? seg.key : seg);
|
|
40596
|
+
for (const seg of path7) {
|
|
40597
40597
|
if (typeof seg === "number")
|
|
40598
40598
|
segs.push(`[${seg}]`);
|
|
40599
40599
|
else if (typeof seg === "symbol")
|
|
@@ -40619,7 +40619,7 @@ function prettifyError(error51) {
|
|
|
40619
40619
|
return lines.join("\n");
|
|
40620
40620
|
}
|
|
40621
40621
|
|
|
40622
|
-
//
|
|
40622
|
+
// node_modules/zod/v4/core/parse.js
|
|
40623
40623
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
40624
40624
|
const ctx = _ctx ? { ..._ctx, async: false } : { async: false };
|
|
40625
40625
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -40707,7 +40707,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
40707
40707
|
};
|
|
40708
40708
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
40709
40709
|
|
|
40710
|
-
//
|
|
40710
|
+
// node_modules/zod/v4/core/regexes.js
|
|
40711
40711
|
var regexes_exports = {};
|
|
40712
40712
|
__export(regexes_exports, {
|
|
40713
40713
|
base64: () => base64,
|
|
@@ -40866,7 +40866,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
40866
40866
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
40867
40867
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
40868
40868
|
|
|
40869
|
-
//
|
|
40869
|
+
// node_modules/zod/v4/core/checks.js
|
|
40870
40870
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
40871
40871
|
var _a3;
|
|
40872
40872
|
inst._zod ?? (inst._zod = {});
|
|
@@ -41414,7 +41414,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
41414
41414
|
};
|
|
41415
41415
|
});
|
|
41416
41416
|
|
|
41417
|
-
//
|
|
41417
|
+
// node_modules/zod/v4/core/doc.js
|
|
41418
41418
|
var Doc = class {
|
|
41419
41419
|
constructor(args = []) {
|
|
41420
41420
|
this.content = [];
|
|
@@ -41450,14 +41450,14 @@ var Doc = class {
|
|
|
41450
41450
|
}
|
|
41451
41451
|
};
|
|
41452
41452
|
|
|
41453
|
-
//
|
|
41453
|
+
// node_modules/zod/v4/core/versions.js
|
|
41454
41454
|
var version = {
|
|
41455
41455
|
major: 4,
|
|
41456
41456
|
minor: 4,
|
|
41457
41457
|
patch: 3
|
|
41458
41458
|
};
|
|
41459
41459
|
|
|
41460
|
-
//
|
|
41460
|
+
// node_modules/zod/v4/core/schemas.js
|
|
41461
41461
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
41462
41462
|
var _a3;
|
|
41463
41463
|
inst ?? (inst = {});
|
|
@@ -43550,7 +43550,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
43550
43550
|
}
|
|
43551
43551
|
}
|
|
43552
43552
|
|
|
43553
|
-
//
|
|
43553
|
+
// node_modules/zod/v4/locales/index.js
|
|
43554
43554
|
var locales_exports = {};
|
|
43555
43555
|
__export(locales_exports, {
|
|
43556
43556
|
ar: () => ar_default,
|
|
@@ -43607,7 +43607,7 @@ __export(locales_exports, {
|
|
|
43607
43607
|
zhTW: () => zh_TW_default
|
|
43608
43608
|
});
|
|
43609
43609
|
|
|
43610
|
-
//
|
|
43610
|
+
// node_modules/zod/v4/locales/ar.js
|
|
43611
43611
|
var error = () => {
|
|
43612
43612
|
const Sizable = {
|
|
43613
43613
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -43714,7 +43714,7 @@ function ar_default() {
|
|
|
43714
43714
|
};
|
|
43715
43715
|
}
|
|
43716
43716
|
|
|
43717
|
-
//
|
|
43717
|
+
// node_modules/zod/v4/locales/az.js
|
|
43718
43718
|
var error2 = () => {
|
|
43719
43719
|
const Sizable = {
|
|
43720
43720
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -43820,7 +43820,7 @@ function az_default() {
|
|
|
43820
43820
|
};
|
|
43821
43821
|
}
|
|
43822
43822
|
|
|
43823
|
-
//
|
|
43823
|
+
// node_modules/zod/v4/locales/be.js
|
|
43824
43824
|
function getBelarusianPlural(count, one, few, many) {
|
|
43825
43825
|
const absCount = Math.abs(count);
|
|
43826
43826
|
const lastDigit = absCount % 10;
|
|
@@ -43977,7 +43977,7 @@ function be_default() {
|
|
|
43977
43977
|
};
|
|
43978
43978
|
}
|
|
43979
43979
|
|
|
43980
|
-
//
|
|
43980
|
+
// node_modules/zod/v4/locales/bg.js
|
|
43981
43981
|
var error4 = () => {
|
|
43982
43982
|
const Sizable = {
|
|
43983
43983
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
@@ -44098,7 +44098,7 @@ function bg_default() {
|
|
|
44098
44098
|
};
|
|
44099
44099
|
}
|
|
44100
44100
|
|
|
44101
|
-
//
|
|
44101
|
+
// node_modules/zod/v4/locales/ca.js
|
|
44102
44102
|
var error5 = () => {
|
|
44103
44103
|
const Sizable = {
|
|
44104
44104
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
@@ -44207,7 +44207,7 @@ function ca_default() {
|
|
|
44207
44207
|
};
|
|
44208
44208
|
}
|
|
44209
44209
|
|
|
44210
|
-
//
|
|
44210
|
+
// node_modules/zod/v4/locales/cs.js
|
|
44211
44211
|
var error6 = () => {
|
|
44212
44212
|
const Sizable = {
|
|
44213
44213
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
@@ -44319,7 +44319,7 @@ function cs_default() {
|
|
|
44319
44319
|
};
|
|
44320
44320
|
}
|
|
44321
44321
|
|
|
44322
|
-
//
|
|
44322
|
+
// node_modules/zod/v4/locales/da.js
|
|
44323
44323
|
var error7 = () => {
|
|
44324
44324
|
const Sizable = {
|
|
44325
44325
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -44435,7 +44435,7 @@ function da_default() {
|
|
|
44435
44435
|
};
|
|
44436
44436
|
}
|
|
44437
44437
|
|
|
44438
|
-
//
|
|
44438
|
+
// node_modules/zod/v4/locales/de.js
|
|
44439
44439
|
var error8 = () => {
|
|
44440
44440
|
const Sizable = {
|
|
44441
44441
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -44544,7 +44544,7 @@ function de_default() {
|
|
|
44544
44544
|
};
|
|
44545
44545
|
}
|
|
44546
44546
|
|
|
44547
|
-
//
|
|
44547
|
+
// node_modules/zod/v4/locales/el.js
|
|
44548
44548
|
var error9 = () => {
|
|
44549
44549
|
const Sizable = {
|
|
44550
44550
|
string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
@@ -44654,7 +44654,7 @@ function el_default() {
|
|
|
44654
44654
|
};
|
|
44655
44655
|
}
|
|
44656
44656
|
|
|
44657
|
-
//
|
|
44657
|
+
// node_modules/zod/v4/locales/en.js
|
|
44658
44658
|
var error10 = () => {
|
|
44659
44659
|
const Sizable = {
|
|
44660
44660
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -44767,7 +44767,7 @@ function en_default2() {
|
|
|
44767
44767
|
};
|
|
44768
44768
|
}
|
|
44769
44769
|
|
|
44770
|
-
//
|
|
44770
|
+
// node_modules/zod/v4/locales/eo.js
|
|
44771
44771
|
var error11 = () => {
|
|
44772
44772
|
const Sizable = {
|
|
44773
44773
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -44877,7 +44877,7 @@ function eo_default() {
|
|
|
44877
44877
|
};
|
|
44878
44878
|
}
|
|
44879
44879
|
|
|
44880
|
-
//
|
|
44880
|
+
// node_modules/zod/v4/locales/es.js
|
|
44881
44881
|
var error12 = () => {
|
|
44882
44882
|
const Sizable = {
|
|
44883
44883
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -45010,7 +45010,7 @@ function es_default() {
|
|
|
45010
45010
|
};
|
|
45011
45011
|
}
|
|
45012
45012
|
|
|
45013
|
-
//
|
|
45013
|
+
// node_modules/zod/v4/locales/fa.js
|
|
45014
45014
|
var error13 = () => {
|
|
45015
45015
|
const Sizable = {
|
|
45016
45016
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -45125,7 +45125,7 @@ function fa_default() {
|
|
|
45125
45125
|
};
|
|
45126
45126
|
}
|
|
45127
45127
|
|
|
45128
|
-
//
|
|
45128
|
+
// node_modules/zod/v4/locales/fi.js
|
|
45129
45129
|
var error14 = () => {
|
|
45130
45130
|
const Sizable = {
|
|
45131
45131
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
@@ -45238,7 +45238,7 @@ function fi_default() {
|
|
|
45238
45238
|
};
|
|
45239
45239
|
}
|
|
45240
45240
|
|
|
45241
|
-
//
|
|
45241
|
+
// node_modules/zod/v4/locales/fr.js
|
|
45242
45242
|
var error15 = () => {
|
|
45243
45243
|
const Sizable = {
|
|
45244
45244
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -45364,7 +45364,7 @@ function fr_default() {
|
|
|
45364
45364
|
};
|
|
45365
45365
|
}
|
|
45366
45366
|
|
|
45367
|
-
//
|
|
45367
|
+
// node_modules/zod/v4/locales/fr-CA.js
|
|
45368
45368
|
var error16 = () => {
|
|
45369
45369
|
const Sizable = {
|
|
45370
45370
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -45472,7 +45472,7 @@ function fr_CA_default() {
|
|
|
45472
45472
|
};
|
|
45473
45473
|
}
|
|
45474
45474
|
|
|
45475
|
-
//
|
|
45475
|
+
// node_modules/zod/v4/locales/he.js
|
|
45476
45476
|
var error17 = () => {
|
|
45477
45477
|
const TypeNames = {
|
|
45478
45478
|
string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
|
|
@@ -45667,7 +45667,7 @@ function he_default() {
|
|
|
45667
45667
|
};
|
|
45668
45668
|
}
|
|
45669
45669
|
|
|
45670
|
-
//
|
|
45670
|
+
// node_modules/zod/v4/locales/hr.js
|
|
45671
45671
|
var error18 = () => {
|
|
45672
45672
|
const Sizable = {
|
|
45673
45673
|
string: { unit: "znakova", verb: "imati" },
|
|
@@ -45790,7 +45790,7 @@ function hr_default() {
|
|
|
45790
45790
|
};
|
|
45791
45791
|
}
|
|
45792
45792
|
|
|
45793
|
-
//
|
|
45793
|
+
// node_modules/zod/v4/locales/hu.js
|
|
45794
45794
|
var error19 = () => {
|
|
45795
45795
|
const Sizable = {
|
|
45796
45796
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -45899,7 +45899,7 @@ function hu_default() {
|
|
|
45899
45899
|
};
|
|
45900
45900
|
}
|
|
45901
45901
|
|
|
45902
|
-
//
|
|
45902
|
+
// node_modules/zod/v4/locales/hy.js
|
|
45903
45903
|
function getArmenianPlural(count, one, many) {
|
|
45904
45904
|
return Math.abs(count) === 1 ? one : many;
|
|
45905
45905
|
}
|
|
@@ -46047,7 +46047,7 @@ function hy_default() {
|
|
|
46047
46047
|
};
|
|
46048
46048
|
}
|
|
46049
46049
|
|
|
46050
|
-
//
|
|
46050
|
+
// node_modules/zod/v4/locales/id.js
|
|
46051
46051
|
var error21 = () => {
|
|
46052
46052
|
const Sizable = {
|
|
46053
46053
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -46154,7 +46154,7 @@ function id_default() {
|
|
|
46154
46154
|
};
|
|
46155
46155
|
}
|
|
46156
46156
|
|
|
46157
|
-
//
|
|
46157
|
+
// node_modules/zod/v4/locales/is.js
|
|
46158
46158
|
var error22 = () => {
|
|
46159
46159
|
const Sizable = {
|
|
46160
46160
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
@@ -46264,7 +46264,7 @@ function is_default() {
|
|
|
46264
46264
|
};
|
|
46265
46265
|
}
|
|
46266
46266
|
|
|
46267
|
-
//
|
|
46267
|
+
// node_modules/zod/v4/locales/it.js
|
|
46268
46268
|
var error23 = () => {
|
|
46269
46269
|
const Sizable = {
|
|
46270
46270
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -46373,7 +46373,7 @@ function it_default() {
|
|
|
46373
46373
|
};
|
|
46374
46374
|
}
|
|
46375
46375
|
|
|
46376
|
-
//
|
|
46376
|
+
// node_modules/zod/v4/locales/ja.js
|
|
46377
46377
|
var error24 = () => {
|
|
46378
46378
|
const Sizable = {
|
|
46379
46379
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
@@ -46481,7 +46481,7 @@ function ja_default() {
|
|
|
46481
46481
|
};
|
|
46482
46482
|
}
|
|
46483
46483
|
|
|
46484
|
-
//
|
|
46484
|
+
// node_modules/zod/v4/locales/ka.js
|
|
46485
46485
|
var error25 = () => {
|
|
46486
46486
|
const Sizable = {
|
|
46487
46487
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -46594,7 +46594,7 @@ function ka_default() {
|
|
|
46594
46594
|
};
|
|
46595
46595
|
}
|
|
46596
46596
|
|
|
46597
|
-
//
|
|
46597
|
+
// node_modules/zod/v4/locales/km.js
|
|
46598
46598
|
var error26 = () => {
|
|
46599
46599
|
const Sizable = {
|
|
46600
46600
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -46705,12 +46705,12 @@ function km_default() {
|
|
|
46705
46705
|
};
|
|
46706
46706
|
}
|
|
46707
46707
|
|
|
46708
|
-
//
|
|
46708
|
+
// node_modules/zod/v4/locales/kh.js
|
|
46709
46709
|
function kh_default() {
|
|
46710
46710
|
return km_default();
|
|
46711
46711
|
}
|
|
46712
46712
|
|
|
46713
|
-
//
|
|
46713
|
+
// node_modules/zod/v4/locales/ko.js
|
|
46714
46714
|
var error27 = () => {
|
|
46715
46715
|
const Sizable = {
|
|
46716
46716
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
@@ -46822,7 +46822,7 @@ function ko_default() {
|
|
|
46822
46822
|
};
|
|
46823
46823
|
}
|
|
46824
46824
|
|
|
46825
|
-
//
|
|
46825
|
+
// node_modules/zod/v4/locales/lt.js
|
|
46826
46826
|
var capitalizeFirstCharacter = (text) => {
|
|
46827
46827
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
46828
46828
|
};
|
|
@@ -47026,7 +47026,7 @@ function lt_default() {
|
|
|
47026
47026
|
};
|
|
47027
47027
|
}
|
|
47028
47028
|
|
|
47029
|
-
//
|
|
47029
|
+
// node_modules/zod/v4/locales/mk.js
|
|
47030
47030
|
var error29 = () => {
|
|
47031
47031
|
const Sizable = {
|
|
47032
47032
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -47136,7 +47136,7 @@ function mk_default() {
|
|
|
47136
47136
|
};
|
|
47137
47137
|
}
|
|
47138
47138
|
|
|
47139
|
-
//
|
|
47139
|
+
// node_modules/zod/v4/locales/ms.js
|
|
47140
47140
|
var error30 = () => {
|
|
47141
47141
|
const Sizable = {
|
|
47142
47142
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -47244,7 +47244,7 @@ function ms_default() {
|
|
|
47244
47244
|
};
|
|
47245
47245
|
}
|
|
47246
47246
|
|
|
47247
|
-
//
|
|
47247
|
+
// node_modules/zod/v4/locales/nl.js
|
|
47248
47248
|
var error31 = () => {
|
|
47249
47249
|
const Sizable = {
|
|
47250
47250
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -47355,7 +47355,7 @@ function nl_default() {
|
|
|
47355
47355
|
};
|
|
47356
47356
|
}
|
|
47357
47357
|
|
|
47358
|
-
//
|
|
47358
|
+
// node_modules/zod/v4/locales/no.js
|
|
47359
47359
|
var error32 = () => {
|
|
47360
47360
|
const Sizable = {
|
|
47361
47361
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
@@ -47464,7 +47464,7 @@ function no_default() {
|
|
|
47464
47464
|
};
|
|
47465
47465
|
}
|
|
47466
47466
|
|
|
47467
|
-
//
|
|
47467
|
+
// node_modules/zod/v4/locales/ota.js
|
|
47468
47468
|
var error33 = () => {
|
|
47469
47469
|
const Sizable = {
|
|
47470
47470
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
@@ -47574,7 +47574,7 @@ function ota_default() {
|
|
|
47574
47574
|
};
|
|
47575
47575
|
}
|
|
47576
47576
|
|
|
47577
|
-
//
|
|
47577
|
+
// node_modules/zod/v4/locales/ps.js
|
|
47578
47578
|
var error34 = () => {
|
|
47579
47579
|
const Sizable = {
|
|
47580
47580
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -47689,7 +47689,7 @@ function ps_default() {
|
|
|
47689
47689
|
};
|
|
47690
47690
|
}
|
|
47691
47691
|
|
|
47692
|
-
//
|
|
47692
|
+
// node_modules/zod/v4/locales/pl.js
|
|
47693
47693
|
var error35 = () => {
|
|
47694
47694
|
const Sizable = {
|
|
47695
47695
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
@@ -47799,7 +47799,7 @@ function pl_default() {
|
|
|
47799
47799
|
};
|
|
47800
47800
|
}
|
|
47801
47801
|
|
|
47802
|
-
//
|
|
47802
|
+
// node_modules/zod/v4/locales/pt.js
|
|
47803
47803
|
var error36 = () => {
|
|
47804
47804
|
const Sizable = {
|
|
47805
47805
|
string: { unit: "caracteres", verb: "ter" },
|
|
@@ -47908,7 +47908,7 @@ function pt_default() {
|
|
|
47908
47908
|
};
|
|
47909
47909
|
}
|
|
47910
47910
|
|
|
47911
|
-
//
|
|
47911
|
+
// node_modules/zod/v4/locales/ro.js
|
|
47912
47912
|
var error37 = () => {
|
|
47913
47913
|
const Sizable = {
|
|
47914
47914
|
string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
|
|
@@ -48028,7 +48028,7 @@ function ro_default() {
|
|
|
48028
48028
|
};
|
|
48029
48029
|
}
|
|
48030
48030
|
|
|
48031
|
-
//
|
|
48031
|
+
// node_modules/zod/v4/locales/ru.js
|
|
48032
48032
|
function getRussianPlural(count, one, few, many) {
|
|
48033
48033
|
const absCount = Math.abs(count);
|
|
48034
48034
|
const lastDigit = absCount % 10;
|
|
@@ -48185,7 +48185,7 @@ function ru_default() {
|
|
|
48185
48185
|
};
|
|
48186
48186
|
}
|
|
48187
48187
|
|
|
48188
|
-
//
|
|
48188
|
+
// node_modules/zod/v4/locales/sl.js
|
|
48189
48189
|
var error39 = () => {
|
|
48190
48190
|
const Sizable = {
|
|
48191
48191
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -48295,7 +48295,7 @@ function sl_default() {
|
|
|
48295
48295
|
};
|
|
48296
48296
|
}
|
|
48297
48297
|
|
|
48298
|
-
//
|
|
48298
|
+
// node_modules/zod/v4/locales/sv.js
|
|
48299
48299
|
var error40 = () => {
|
|
48300
48300
|
const Sizable = {
|
|
48301
48301
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -48406,7 +48406,7 @@ function sv_default() {
|
|
|
48406
48406
|
};
|
|
48407
48407
|
}
|
|
48408
48408
|
|
|
48409
|
-
//
|
|
48409
|
+
// node_modules/zod/v4/locales/ta.js
|
|
48410
48410
|
var error41 = () => {
|
|
48411
48411
|
const Sizable = {
|
|
48412
48412
|
string: { unit: "\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD", verb: "\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD" },
|
|
@@ -48517,7 +48517,7 @@ function ta_default() {
|
|
|
48517
48517
|
};
|
|
48518
48518
|
}
|
|
48519
48519
|
|
|
48520
|
-
//
|
|
48520
|
+
// node_modules/zod/v4/locales/th.js
|
|
48521
48521
|
var error42 = () => {
|
|
48522
48522
|
const Sizable = {
|
|
48523
48523
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -48628,7 +48628,7 @@ function th_default() {
|
|
|
48628
48628
|
};
|
|
48629
48629
|
}
|
|
48630
48630
|
|
|
48631
|
-
//
|
|
48631
|
+
// node_modules/zod/v4/locales/tr.js
|
|
48632
48632
|
var error43 = () => {
|
|
48633
48633
|
const Sizable = {
|
|
48634
48634
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
@@ -48734,7 +48734,7 @@ function tr_default() {
|
|
|
48734
48734
|
};
|
|
48735
48735
|
}
|
|
48736
48736
|
|
|
48737
|
-
//
|
|
48737
|
+
// node_modules/zod/v4/locales/uk.js
|
|
48738
48738
|
var error44 = () => {
|
|
48739
48739
|
const Sizable = {
|
|
48740
48740
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -48843,12 +48843,12 @@ function uk_default() {
|
|
|
48843
48843
|
};
|
|
48844
48844
|
}
|
|
48845
48845
|
|
|
48846
|
-
//
|
|
48846
|
+
// node_modules/zod/v4/locales/ua.js
|
|
48847
48847
|
function ua_default() {
|
|
48848
48848
|
return uk_default();
|
|
48849
48849
|
}
|
|
48850
48850
|
|
|
48851
|
-
//
|
|
48851
|
+
// node_modules/zod/v4/locales/ur.js
|
|
48852
48852
|
var error45 = () => {
|
|
48853
48853
|
const Sizable = {
|
|
48854
48854
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -48959,7 +48959,7 @@ function ur_default() {
|
|
|
48959
48959
|
};
|
|
48960
48960
|
}
|
|
48961
48961
|
|
|
48962
|
-
//
|
|
48962
|
+
// node_modules/zod/v4/locales/uz.js
|
|
48963
48963
|
var error46 = () => {
|
|
48964
48964
|
const Sizable = {
|
|
48965
48965
|
string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
|
|
@@ -49070,7 +49070,7 @@ function uz_default() {
|
|
|
49070
49070
|
};
|
|
49071
49071
|
}
|
|
49072
49072
|
|
|
49073
|
-
//
|
|
49073
|
+
// node_modules/zod/v4/locales/vi.js
|
|
49074
49074
|
var error47 = () => {
|
|
49075
49075
|
const Sizable = {
|
|
49076
49076
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
@@ -49179,7 +49179,7 @@ function vi_default() {
|
|
|
49179
49179
|
};
|
|
49180
49180
|
}
|
|
49181
49181
|
|
|
49182
|
-
//
|
|
49182
|
+
// node_modules/zod/v4/locales/zh-CN.js
|
|
49183
49183
|
var error48 = () => {
|
|
49184
49184
|
const Sizable = {
|
|
49185
49185
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
@@ -49289,7 +49289,7 @@ function zh_CN_default() {
|
|
|
49289
49289
|
};
|
|
49290
49290
|
}
|
|
49291
49291
|
|
|
49292
|
-
//
|
|
49292
|
+
// node_modules/zod/v4/locales/zh-TW.js
|
|
49293
49293
|
var error49 = () => {
|
|
49294
49294
|
const Sizable = {
|
|
49295
49295
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
@@ -49397,7 +49397,7 @@ function zh_TW_default() {
|
|
|
49397
49397
|
};
|
|
49398
49398
|
}
|
|
49399
49399
|
|
|
49400
|
-
//
|
|
49400
|
+
// node_modules/zod/v4/locales/yo.js
|
|
49401
49401
|
var error50 = () => {
|
|
49402
49402
|
const Sizable = {
|
|
49403
49403
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
@@ -49505,7 +49505,7 @@ function yo_default() {
|
|
|
49505
49505
|
};
|
|
49506
49506
|
}
|
|
49507
49507
|
|
|
49508
|
-
//
|
|
49508
|
+
// node_modules/zod/v4/core/registries.js
|
|
49509
49509
|
var _a2;
|
|
49510
49510
|
var $output = Symbol("ZodOutput");
|
|
49511
49511
|
var $input = Symbol("ZodInput");
|
|
@@ -49555,7 +49555,7 @@ function registry() {
|
|
|
49555
49555
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
49556
49556
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
49557
49557
|
|
|
49558
|
-
//
|
|
49558
|
+
// node_modules/zod/v4/core/api.js
|
|
49559
49559
|
// @__NO_SIDE_EFFECTS__
|
|
49560
49560
|
function _string(Class2, params) {
|
|
49561
49561
|
return new Class2({
|
|
@@ -50594,7 +50594,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
50594
50594
|
return inst;
|
|
50595
50595
|
}
|
|
50596
50596
|
|
|
50597
|
-
//
|
|
50597
|
+
// node_modules/zod/v4/core/to-json-schema.js
|
|
50598
50598
|
function initializeContext(params) {
|
|
50599
50599
|
let target = params?.target ?? "draft-2020-12";
|
|
50600
50600
|
if (target === "draft-4")
|
|
@@ -50953,7 +50953,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
50953
50953
|
return finalize(ctx, schema);
|
|
50954
50954
|
};
|
|
50955
50955
|
|
|
50956
|
-
//
|
|
50956
|
+
// node_modules/zod/v4/core/json-schema-processors.js
|
|
50957
50957
|
var formatMap = {
|
|
50958
50958
|
guid: "uuid",
|
|
50959
50959
|
url: "uri",
|
|
@@ -51497,7 +51497,7 @@ function toJSONSchema(input, params) {
|
|
|
51497
51497
|
return finalize(ctx, input);
|
|
51498
51498
|
}
|
|
51499
51499
|
|
|
51500
|
-
//
|
|
51500
|
+
// node_modules/zod/v4/core/json-schema-generator.js
|
|
51501
51501
|
var JSONSchemaGenerator = class {
|
|
51502
51502
|
/** @deprecated Access via ctx instead */
|
|
51503
51503
|
get metadataRegistry() {
|
|
@@ -51572,10 +51572,10 @@ var JSONSchemaGenerator = class {
|
|
|
51572
51572
|
}
|
|
51573
51573
|
};
|
|
51574
51574
|
|
|
51575
|
-
//
|
|
51575
|
+
// node_modules/zod/v4/core/json-schema.js
|
|
51576
51576
|
var json_schema_exports = {};
|
|
51577
51577
|
|
|
51578
|
-
//
|
|
51578
|
+
// node_modules/zod/v4/mini/schemas.js
|
|
51579
51579
|
var ZodMiniType = /* @__PURE__ */ $constructor("ZodMiniType", (inst, def) => {
|
|
51580
51580
|
if (!inst._zod)
|
|
51581
51581
|
throw new Error("Uninitialized schema in ZodMiniType.");
|
|
@@ -51621,7 +51621,7 @@ function object(shape, params) {
|
|
|
51621
51621
|
return new ZodMiniObject(def);
|
|
51622
51622
|
}
|
|
51623
51623
|
|
|
51624
|
-
//
|
|
51624
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
|
|
51625
51625
|
function isZ4Schema(s) {
|
|
51626
51626
|
const schema = s;
|
|
51627
51627
|
return !!schema._zod;
|
|
@@ -51705,11 +51705,11 @@ function normalizeObjectSchema(schema) {
|
|
|
51705
51705
|
}
|
|
51706
51706
|
return void 0;
|
|
51707
51707
|
}
|
|
51708
|
-
function getDotPath(
|
|
51709
|
-
if (
|
|
51708
|
+
function getDotPath(path7) {
|
|
51709
|
+
if (path7.length === 0) {
|
|
51710
51710
|
return "object root";
|
|
51711
51711
|
}
|
|
51712
|
-
return
|
|
51712
|
+
return path7.reduce((acc, seg, index) => {
|
|
51713
51713
|
if (index === 0) {
|
|
51714
51714
|
return String(seg);
|
|
51715
51715
|
}
|
|
@@ -51781,7 +51781,7 @@ function getLiteralValue(schema) {
|
|
|
51781
51781
|
return void 0;
|
|
51782
51782
|
}
|
|
51783
51783
|
|
|
51784
|
-
//
|
|
51784
|
+
// node_modules/zod/v4/classic/external.js
|
|
51785
51785
|
var external_exports = {};
|
|
51786
51786
|
__export(external_exports, {
|
|
51787
51787
|
$brand: () => $brand,
|
|
@@ -52024,7 +52024,7 @@ __export(external_exports, {
|
|
|
52024
52024
|
xor: () => xor
|
|
52025
52025
|
});
|
|
52026
52026
|
|
|
52027
|
-
//
|
|
52027
|
+
// node_modules/zod/v4/classic/schemas.js
|
|
52028
52028
|
var schemas_exports2 = {};
|
|
52029
52029
|
__export(schemas_exports2, {
|
|
52030
52030
|
ZodAny: () => ZodAny2,
|
|
@@ -52195,7 +52195,7 @@ __export(schemas_exports2, {
|
|
|
52195
52195
|
xor: () => xor
|
|
52196
52196
|
});
|
|
52197
52197
|
|
|
52198
|
-
//
|
|
52198
|
+
// node_modules/zod/v4/classic/checks.js
|
|
52199
52199
|
var checks_exports2 = {};
|
|
52200
52200
|
__export(checks_exports2, {
|
|
52201
52201
|
endsWith: () => _endsWith,
|
|
@@ -52229,7 +52229,7 @@ __export(checks_exports2, {
|
|
|
52229
52229
|
uppercase: () => _uppercase
|
|
52230
52230
|
});
|
|
52231
52231
|
|
|
52232
|
-
//
|
|
52232
|
+
// node_modules/zod/v4/classic/iso.js
|
|
52233
52233
|
var iso_exports2 = {};
|
|
52234
52234
|
__export(iso_exports2, {
|
|
52235
52235
|
ZodISODate: () => ZodISODate,
|
|
@@ -52270,7 +52270,7 @@ function duration2(params) {
|
|
|
52270
52270
|
return _isoDuration(ZodISODuration, params);
|
|
52271
52271
|
}
|
|
52272
52272
|
|
|
52273
|
-
//
|
|
52273
|
+
// node_modules/zod/v4/classic/errors.js
|
|
52274
52274
|
var initializer2 = (inst, issues) => {
|
|
52275
52275
|
$ZodError.init(inst, issues);
|
|
52276
52276
|
inst.name = "ZodError";
|
|
@@ -52310,7 +52310,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, {
|
|
|
52310
52310
|
Parent: Error
|
|
52311
52311
|
});
|
|
52312
52312
|
|
|
52313
|
-
//
|
|
52313
|
+
// node_modules/zod/v4/classic/parse.js
|
|
52314
52314
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
52315
52315
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
52316
52316
|
var safeParse3 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -52324,7 +52324,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
52324
52324
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
52325
52325
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
52326
52326
|
|
|
52327
|
-
//
|
|
52327
|
+
// node_modules/zod/v4/classic/schemas.js
|
|
52328
52328
|
var _installedGroups = /* @__PURE__ */ new WeakMap();
|
|
52329
52329
|
function _installLazyMethods(inst, group, methods) {
|
|
52330
52330
|
const proto = Object.getPrototypeOf(inst);
|
|
@@ -53614,7 +53614,7 @@ function preprocess(fn, schema) {
|
|
|
53614
53614
|
});
|
|
53615
53615
|
}
|
|
53616
53616
|
|
|
53617
|
-
//
|
|
53617
|
+
// node_modules/zod/v4/classic/compat.js
|
|
53618
53618
|
var ZodIssueCode2 = {
|
|
53619
53619
|
invalid_type: "invalid_type",
|
|
53620
53620
|
too_big: "too_big",
|
|
@@ -53640,7 +53640,7 @@ var ZodFirstPartyTypeKind2;
|
|
|
53640
53640
|
/* @__PURE__ */ (function(ZodFirstPartyTypeKind3) {
|
|
53641
53641
|
})(ZodFirstPartyTypeKind2 || (ZodFirstPartyTypeKind2 = {}));
|
|
53642
53642
|
|
|
53643
|
-
//
|
|
53643
|
+
// node_modules/zod/v4/classic/from-json-schema.js
|
|
53644
53644
|
var z = {
|
|
53645
53645
|
...schemas_exports2,
|
|
53646
53646
|
...checks_exports2,
|
|
@@ -53734,13 +53734,13 @@ function resolveRef(ref, ctx) {
|
|
|
53734
53734
|
if (!ref.startsWith("#")) {
|
|
53735
53735
|
throw new Error("External $ref is not supported, only local refs (#/...) are allowed");
|
|
53736
53736
|
}
|
|
53737
|
-
const
|
|
53738
|
-
if (
|
|
53737
|
+
const path7 = ref.slice(1).split("/").filter(Boolean);
|
|
53738
|
+
if (path7.length === 0) {
|
|
53739
53739
|
return ctx.rootSchema;
|
|
53740
53740
|
}
|
|
53741
53741
|
const defsKey = ctx.version === "draft-2020-12" ? "$defs" : "definitions";
|
|
53742
|
-
if (
|
|
53743
|
-
const key =
|
|
53742
|
+
if (path7[0] === defsKey) {
|
|
53743
|
+
const key = path7[1];
|
|
53744
53744
|
if (!key || !ctx.defs[key]) {
|
|
53745
53745
|
throw new Error(`Reference not found: ${ref}`);
|
|
53746
53746
|
}
|
|
@@ -54120,7 +54120,7 @@ function fromJSONSchema(schema, params) {
|
|
|
54120
54120
|
return convertSchema(normalized, ctx);
|
|
54121
54121
|
}
|
|
54122
54122
|
|
|
54123
|
-
//
|
|
54123
|
+
// node_modules/zod/v4/classic/coerce.js
|
|
54124
54124
|
var coerce_exports2 = {};
|
|
54125
54125
|
__export(coerce_exports2, {
|
|
54126
54126
|
bigint: () => bigint3,
|
|
@@ -54145,10 +54145,10 @@ function date4(params) {
|
|
|
54145
54145
|
return _coercedDate(ZodDate2, params);
|
|
54146
54146
|
}
|
|
54147
54147
|
|
|
54148
|
-
//
|
|
54148
|
+
// node_modules/zod/v4/classic/external.js
|
|
54149
54149
|
config(en_default2());
|
|
54150
54150
|
|
|
54151
|
-
//
|
|
54151
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
54152
54152
|
var LATEST_PROTOCOL_VERSION = "2025-11-25";
|
|
54153
54153
|
var SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION, "2025-06-18", "2025-03-26", "2024-11-05", "2024-10-07"];
|
|
54154
54154
|
var RELATED_TASK_META_KEY = "io.modelcontextprotocol/related-task";
|
|
@@ -55679,12 +55679,12 @@ var UrlElicitationRequiredError = class extends McpError {
|
|
|
55679
55679
|
}
|
|
55680
55680
|
};
|
|
55681
55681
|
|
|
55682
|
-
//
|
|
55682
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
|
|
55683
55683
|
function isTerminal(status) {
|
|
55684
55684
|
return status === "completed" || status === "failed" || status === "cancelled";
|
|
55685
55685
|
}
|
|
55686
55686
|
|
|
55687
|
-
//
|
|
55687
|
+
// node_modules/zod-to-json-schema/dist/esm/Options.js
|
|
55688
55688
|
var ignoreOverride = Symbol("Let zodToJsonSchema decide on which parser to use");
|
|
55689
55689
|
var defaultOptions = {
|
|
55690
55690
|
name: void 0,
|
|
@@ -55718,7 +55718,7 @@ var getDefaultOptions = (options) => typeof options === "string" ? {
|
|
|
55718
55718
|
...options
|
|
55719
55719
|
};
|
|
55720
55720
|
|
|
55721
|
-
//
|
|
55721
|
+
// node_modules/zod-to-json-schema/dist/esm/Refs.js
|
|
55722
55722
|
var getRefs = (options) => {
|
|
55723
55723
|
const _options = getDefaultOptions(options);
|
|
55724
55724
|
const currentPath = _options.name !== void 0 ? [..._options.basePath, _options.definitionPath, _options.name] : _options.basePath;
|
|
@@ -55739,7 +55739,7 @@ var getRefs = (options) => {
|
|
|
55739
55739
|
};
|
|
55740
55740
|
};
|
|
55741
55741
|
|
|
55742
|
-
//
|
|
55742
|
+
// node_modules/zod-to-json-schema/dist/esm/errorMessages.js
|
|
55743
55743
|
function addErrorMessage(res, key, errorMessage, refs) {
|
|
55744
55744
|
if (!refs?.errorMessages)
|
|
55745
55745
|
return;
|
|
@@ -55755,7 +55755,7 @@ function setResponseValueAndErrors(res, key, value, errorMessage, refs) {
|
|
|
55755
55755
|
addErrorMessage(res, key, errorMessage, refs);
|
|
55756
55756
|
}
|
|
55757
55757
|
|
|
55758
|
-
//
|
|
55758
|
+
// node_modules/zod-to-json-schema/dist/esm/getRelativePath.js
|
|
55759
55759
|
var getRelativePath = (pathA, pathB) => {
|
|
55760
55760
|
let i = 0;
|
|
55761
55761
|
for (; i < pathA.length && i < pathB.length; i++) {
|
|
@@ -55765,7 +55765,7 @@ var getRelativePath = (pathA, pathB) => {
|
|
|
55765
55765
|
return [(pathA.length - i).toString(), ...pathB.slice(i)].join("/");
|
|
55766
55766
|
};
|
|
55767
55767
|
|
|
55768
|
-
//
|
|
55768
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/any.js
|
|
55769
55769
|
function parseAnyDef(refs) {
|
|
55770
55770
|
if (refs.target !== "openAi") {
|
|
55771
55771
|
return {};
|
|
@@ -55781,7 +55781,7 @@ function parseAnyDef(refs) {
|
|
|
55781
55781
|
};
|
|
55782
55782
|
}
|
|
55783
55783
|
|
|
55784
|
-
//
|
|
55784
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/array.js
|
|
55785
55785
|
function parseArrayDef(def, refs) {
|
|
55786
55786
|
const res = {
|
|
55787
55787
|
type: "array"
|
|
@@ -55805,7 +55805,7 @@ function parseArrayDef(def, refs) {
|
|
|
55805
55805
|
return res;
|
|
55806
55806
|
}
|
|
55807
55807
|
|
|
55808
|
-
//
|
|
55808
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js
|
|
55809
55809
|
function parseBigintDef(def, refs) {
|
|
55810
55810
|
const res = {
|
|
55811
55811
|
type: "integer",
|
|
@@ -55851,24 +55851,24 @@ function parseBigintDef(def, refs) {
|
|
|
55851
55851
|
return res;
|
|
55852
55852
|
}
|
|
55853
55853
|
|
|
55854
|
-
//
|
|
55854
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js
|
|
55855
55855
|
function parseBooleanDef() {
|
|
55856
55856
|
return {
|
|
55857
55857
|
type: "boolean"
|
|
55858
55858
|
};
|
|
55859
55859
|
}
|
|
55860
55860
|
|
|
55861
|
-
//
|
|
55861
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/branded.js
|
|
55862
55862
|
function parseBrandedDef(_def, refs) {
|
|
55863
55863
|
return parseDef(_def.type._def, refs);
|
|
55864
55864
|
}
|
|
55865
55865
|
|
|
55866
|
-
//
|
|
55866
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/catch.js
|
|
55867
55867
|
var parseCatchDef = (def, refs) => {
|
|
55868
55868
|
return parseDef(def.innerType._def, refs);
|
|
55869
55869
|
};
|
|
55870
55870
|
|
|
55871
|
-
//
|
|
55871
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/date.js
|
|
55872
55872
|
function parseDateDef(def, refs, overrideDateStrategy) {
|
|
55873
55873
|
const strategy = overrideDateStrategy ?? refs.dateStrategy;
|
|
55874
55874
|
if (Array.isArray(strategy)) {
|
|
@@ -55927,7 +55927,7 @@ var integerDateParser = (def, refs) => {
|
|
|
55927
55927
|
return res;
|
|
55928
55928
|
};
|
|
55929
55929
|
|
|
55930
|
-
//
|
|
55930
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/default.js
|
|
55931
55931
|
function parseDefaultDef(_def, refs) {
|
|
55932
55932
|
return {
|
|
55933
55933
|
...parseDef(_def.innerType._def, refs),
|
|
@@ -55935,12 +55935,12 @@ function parseDefaultDef(_def, refs) {
|
|
|
55935
55935
|
};
|
|
55936
55936
|
}
|
|
55937
55937
|
|
|
55938
|
-
//
|
|
55938
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/effects.js
|
|
55939
55939
|
function parseEffectsDef(_def, refs) {
|
|
55940
55940
|
return refs.effectStrategy === "input" ? parseDef(_def.schema._def, refs) : parseAnyDef(refs);
|
|
55941
55941
|
}
|
|
55942
55942
|
|
|
55943
|
-
//
|
|
55943
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/enum.js
|
|
55944
55944
|
function parseEnumDef(def) {
|
|
55945
55945
|
return {
|
|
55946
55946
|
type: "string",
|
|
@@ -55948,7 +55948,7 @@ function parseEnumDef(def) {
|
|
|
55948
55948
|
};
|
|
55949
55949
|
}
|
|
55950
55950
|
|
|
55951
|
-
//
|
|
55951
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js
|
|
55952
55952
|
var isJsonSchema7AllOfType = (type) => {
|
|
55953
55953
|
if ("type" in type && type.type === "string")
|
|
55954
55954
|
return false;
|
|
@@ -55990,7 +55990,7 @@ function parseIntersectionDef(def, refs) {
|
|
|
55990
55990
|
} : void 0;
|
|
55991
55991
|
}
|
|
55992
55992
|
|
|
55993
|
-
//
|
|
55993
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/literal.js
|
|
55994
55994
|
function parseLiteralDef(def, refs) {
|
|
55995
55995
|
const parsedType2 = typeof def.value;
|
|
55996
55996
|
if (parsedType2 !== "bigint" && parsedType2 !== "number" && parsedType2 !== "boolean" && parsedType2 !== "string") {
|
|
@@ -56010,7 +56010,7 @@ function parseLiteralDef(def, refs) {
|
|
|
56010
56010
|
};
|
|
56011
56011
|
}
|
|
56012
56012
|
|
|
56013
|
-
//
|
|
56013
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/string.js
|
|
56014
56014
|
var emojiRegex2 = void 0;
|
|
56015
56015
|
var zodPatterns = {
|
|
56016
56016
|
/**
|
|
@@ -56335,7 +56335,7 @@ function stringifyRegExpWithFlags(regex, refs) {
|
|
|
56335
56335
|
return pattern;
|
|
56336
56336
|
}
|
|
56337
56337
|
|
|
56338
|
-
//
|
|
56338
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/record.js
|
|
56339
56339
|
function parseRecordDef(def, refs) {
|
|
56340
56340
|
if (refs.target === "openAi") {
|
|
56341
56341
|
console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead.");
|
|
@@ -56387,7 +56387,7 @@ function parseRecordDef(def, refs) {
|
|
|
56387
56387
|
return schema;
|
|
56388
56388
|
}
|
|
56389
56389
|
|
|
56390
|
-
//
|
|
56390
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/map.js
|
|
56391
56391
|
function parseMapDef(def, refs) {
|
|
56392
56392
|
if (refs.mapStrategy === "record") {
|
|
56393
56393
|
return parseRecordDef(def, refs);
|
|
@@ -56412,7 +56412,7 @@ function parseMapDef(def, refs) {
|
|
|
56412
56412
|
};
|
|
56413
56413
|
}
|
|
56414
56414
|
|
|
56415
|
-
//
|
|
56415
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js
|
|
56416
56416
|
function parseNativeEnumDef(def) {
|
|
56417
56417
|
const object3 = def.values;
|
|
56418
56418
|
const actualKeys = Object.keys(def.values).filter((key) => {
|
|
@@ -56426,7 +56426,7 @@ function parseNativeEnumDef(def) {
|
|
|
56426
56426
|
};
|
|
56427
56427
|
}
|
|
56428
56428
|
|
|
56429
|
-
//
|
|
56429
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/never.js
|
|
56430
56430
|
function parseNeverDef(refs) {
|
|
56431
56431
|
return refs.target === "openAi" ? void 0 : {
|
|
56432
56432
|
not: parseAnyDef({
|
|
@@ -56436,7 +56436,7 @@ function parseNeverDef(refs) {
|
|
|
56436
56436
|
};
|
|
56437
56437
|
}
|
|
56438
56438
|
|
|
56439
|
-
//
|
|
56439
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/null.js
|
|
56440
56440
|
function parseNullDef(refs) {
|
|
56441
56441
|
return refs.target === "openApi3" ? {
|
|
56442
56442
|
enum: ["null"],
|
|
@@ -56446,7 +56446,7 @@ function parseNullDef(refs) {
|
|
|
56446
56446
|
};
|
|
56447
56447
|
}
|
|
56448
56448
|
|
|
56449
|
-
//
|
|
56449
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/union.js
|
|
56450
56450
|
var primitiveMappings = {
|
|
56451
56451
|
ZodString: "string",
|
|
56452
56452
|
ZodNumber: "number",
|
|
@@ -56514,7 +56514,7 @@ var asAnyOf = (def, refs) => {
|
|
|
56514
56514
|
return anyOf.length ? { anyOf } : void 0;
|
|
56515
56515
|
};
|
|
56516
56516
|
|
|
56517
|
-
//
|
|
56517
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js
|
|
56518
56518
|
function parseNullableDef(def, refs) {
|
|
56519
56519
|
if (["ZodString", "ZodNumber", "ZodBigInt", "ZodBoolean", "ZodNull"].includes(def.innerType._def.typeName) && (!def.innerType._def.checks || !def.innerType._def.checks.length)) {
|
|
56520
56520
|
if (refs.target === "openApi3") {
|
|
@@ -56546,7 +56546,7 @@ function parseNullableDef(def, refs) {
|
|
|
56546
56546
|
return base && { anyOf: [base, { type: "null" }] };
|
|
56547
56547
|
}
|
|
56548
56548
|
|
|
56549
|
-
//
|
|
56549
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/number.js
|
|
56550
56550
|
function parseNumberDef(def, refs) {
|
|
56551
56551
|
const res = {
|
|
56552
56552
|
type: "number"
|
|
@@ -56595,7 +56595,7 @@ function parseNumberDef(def, refs) {
|
|
|
56595
56595
|
return res;
|
|
56596
56596
|
}
|
|
56597
56597
|
|
|
56598
|
-
//
|
|
56598
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/object.js
|
|
56599
56599
|
function parseObjectDef(def, refs) {
|
|
56600
56600
|
const forceOptionalIntoNullable = refs.target === "openAi";
|
|
56601
56601
|
const result = {
|
|
@@ -56665,7 +56665,7 @@ function safeIsOptional(schema) {
|
|
|
56665
56665
|
}
|
|
56666
56666
|
}
|
|
56667
56667
|
|
|
56668
|
-
//
|
|
56668
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/optional.js
|
|
56669
56669
|
var parseOptionalDef = (def, refs) => {
|
|
56670
56670
|
if (refs.currentPath.toString() === refs.propertyPath?.toString()) {
|
|
56671
56671
|
return parseDef(def.innerType._def, refs);
|
|
@@ -56684,7 +56684,7 @@ var parseOptionalDef = (def, refs) => {
|
|
|
56684
56684
|
} : parseAnyDef(refs);
|
|
56685
56685
|
};
|
|
56686
56686
|
|
|
56687
|
-
//
|
|
56687
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js
|
|
56688
56688
|
var parsePipelineDef = (def, refs) => {
|
|
56689
56689
|
if (refs.pipeStrategy === "input") {
|
|
56690
56690
|
return parseDef(def.in._def, refs);
|
|
@@ -56704,12 +56704,12 @@ var parsePipelineDef = (def, refs) => {
|
|
|
56704
56704
|
};
|
|
56705
56705
|
};
|
|
56706
56706
|
|
|
56707
|
-
//
|
|
56707
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/promise.js
|
|
56708
56708
|
function parsePromiseDef(def, refs) {
|
|
56709
56709
|
return parseDef(def.type._def, refs);
|
|
56710
56710
|
}
|
|
56711
56711
|
|
|
56712
|
-
//
|
|
56712
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/set.js
|
|
56713
56713
|
function parseSetDef(def, refs) {
|
|
56714
56714
|
const items = parseDef(def.valueType._def, {
|
|
56715
56715
|
...refs,
|
|
@@ -56729,7 +56729,7 @@ function parseSetDef(def, refs) {
|
|
|
56729
56729
|
return schema;
|
|
56730
56730
|
}
|
|
56731
56731
|
|
|
56732
|
-
//
|
|
56732
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js
|
|
56733
56733
|
function parseTupleDef(def, refs) {
|
|
56734
56734
|
if (def.rest) {
|
|
56735
56735
|
return {
|
|
@@ -56757,24 +56757,24 @@ function parseTupleDef(def, refs) {
|
|
|
56757
56757
|
}
|
|
56758
56758
|
}
|
|
56759
56759
|
|
|
56760
|
-
//
|
|
56760
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js
|
|
56761
56761
|
function parseUndefinedDef(refs) {
|
|
56762
56762
|
return {
|
|
56763
56763
|
not: parseAnyDef(refs)
|
|
56764
56764
|
};
|
|
56765
56765
|
}
|
|
56766
56766
|
|
|
56767
|
-
//
|
|
56767
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js
|
|
56768
56768
|
function parseUnknownDef(refs) {
|
|
56769
56769
|
return parseAnyDef(refs);
|
|
56770
56770
|
}
|
|
56771
56771
|
|
|
56772
|
-
//
|
|
56772
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js
|
|
56773
56773
|
var parseReadonlyDef = (def, refs) => {
|
|
56774
56774
|
return parseDef(def.innerType._def, refs);
|
|
56775
56775
|
};
|
|
56776
56776
|
|
|
56777
|
-
//
|
|
56777
|
+
// node_modules/zod-to-json-schema/dist/esm/selectParser.js
|
|
56778
56778
|
var selectParser = (def, typeName, refs) => {
|
|
56779
56779
|
switch (typeName) {
|
|
56780
56780
|
case ZodFirstPartyTypeKind.ZodString:
|
|
@@ -56850,7 +56850,7 @@ var selectParser = (def, typeName, refs) => {
|
|
|
56850
56850
|
}
|
|
56851
56851
|
};
|
|
56852
56852
|
|
|
56853
|
-
//
|
|
56853
|
+
// node_modules/zod-to-json-schema/dist/esm/parseDef.js
|
|
56854
56854
|
function parseDef(def, refs, forceResolution = false) {
|
|
56855
56855
|
const seenItem = refs.seen.get(def);
|
|
56856
56856
|
if (refs.override) {
|
|
@@ -56906,7 +56906,7 @@ var addMeta = (def, refs, jsonSchema) => {
|
|
|
56906
56906
|
return jsonSchema;
|
|
56907
56907
|
};
|
|
56908
56908
|
|
|
56909
|
-
//
|
|
56909
|
+
// node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js
|
|
56910
56910
|
var zodToJsonSchema = (schema, options) => {
|
|
56911
56911
|
const refs = getRefs(options);
|
|
56912
56912
|
let definitions = typeof options === "object" && options.definitions ? Object.entries(options.definitions).reduce((acc, [name3, schema2]) => ({
|
|
@@ -56968,7 +56968,7 @@ var zodToJsonSchema = (schema, options) => {
|
|
|
56968
56968
|
return combined;
|
|
56969
56969
|
};
|
|
56970
56970
|
|
|
56971
|
-
//
|
|
56971
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
56972
56972
|
function mapMiniTarget(t4) {
|
|
56973
56973
|
if (!t4)
|
|
56974
56974
|
return "draft-7";
|
|
@@ -57010,7 +57010,7 @@ function parseWithCompat(schema, data) {
|
|
|
57010
57010
|
return result.data;
|
|
57011
57011
|
}
|
|
57012
57012
|
|
|
57013
|
-
//
|
|
57013
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
|
|
57014
57014
|
var DEFAULT_REQUEST_TIMEOUT_MSEC = 6e4;
|
|
57015
57015
|
var Protocol = class {
|
|
57016
57016
|
constructor(_options) {
|
|
@@ -57964,7 +57964,7 @@ function mergeCapabilities(base, additional) {
|
|
|
57964
57964
|
return result;
|
|
57965
57965
|
}
|
|
57966
57966
|
|
|
57967
|
-
//
|
|
57967
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
|
|
57968
57968
|
var import_ajv = __toESM(require_ajv(), 1);
|
|
57969
57969
|
var import_ajv_formats = __toESM(require_dist(), 1);
|
|
57970
57970
|
function createDefaultAjvInstance() {
|
|
@@ -58032,7 +58032,7 @@ var AjvJsonSchemaValidator = class {
|
|
|
58032
58032
|
}
|
|
58033
58033
|
};
|
|
58034
58034
|
|
|
58035
|
-
//
|
|
58035
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
|
|
58036
58036
|
var ExperimentalServerTasks = class {
|
|
58037
58037
|
constructor(_server) {
|
|
58038
58038
|
this._server = _server;
|
|
@@ -58245,7 +58245,7 @@ var ExperimentalServerTasks = class {
|
|
|
58245
58245
|
}
|
|
58246
58246
|
};
|
|
58247
58247
|
|
|
58248
|
-
//
|
|
58248
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
|
|
58249
58249
|
function assertToolsCallTaskCapability(requests, method, entityName) {
|
|
58250
58250
|
if (!requests) {
|
|
58251
58251
|
throw new Error(`${entityName} does not support task creation (required for ${method})`);
|
|
@@ -58280,7 +58280,7 @@ function assertClientRequestTaskCapability(requests, method, entityName) {
|
|
|
58280
58280
|
}
|
|
58281
58281
|
}
|
|
58282
58282
|
|
|
58283
|
-
//
|
|
58283
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
|
|
58284
58284
|
var Server = class extends Protocol {
|
|
58285
58285
|
/**
|
|
58286
58286
|
* Initializes this server with the given name and version information.
|
|
@@ -58651,7 +58651,7 @@ var Server = class extends Protocol {
|
|
|
58651
58651
|
}
|
|
58652
58652
|
};
|
|
58653
58653
|
|
|
58654
|
-
//
|
|
58654
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
|
|
58655
58655
|
var COMPLETABLE_SYMBOL = Symbol.for("mcp.completable");
|
|
58656
58656
|
function isCompletable(schema) {
|
|
58657
58657
|
return !!schema && typeof schema === "object" && COMPLETABLE_SYMBOL in schema;
|
|
@@ -58665,7 +58665,7 @@ var McpZodTypeKind;
|
|
|
58665
58665
|
McpZodTypeKind2["Completable"] = "McpCompletable";
|
|
58666
58666
|
})(McpZodTypeKind || (McpZodTypeKind = {}));
|
|
58667
58667
|
|
|
58668
|
-
//
|
|
58668
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js
|
|
58669
58669
|
var TOOL_NAME_REGEX = /^[A-Za-z0-9._-]{1,128}$/;
|
|
58670
58670
|
function validateToolName(name2) {
|
|
58671
58671
|
const warnings = [];
|
|
@@ -58723,7 +58723,7 @@ function validateAndWarnToolName(name2) {
|
|
|
58723
58723
|
return result.isValid;
|
|
58724
58724
|
}
|
|
58725
58725
|
|
|
58726
|
-
//
|
|
58726
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js
|
|
58727
58727
|
var ExperimentalMcpServerTasks = class {
|
|
58728
58728
|
constructor(_mcpServer) {
|
|
58729
58729
|
this._mcpServer = _mcpServer;
|
|
@@ -58738,7 +58738,7 @@ var ExperimentalMcpServerTasks = class {
|
|
|
58738
58738
|
}
|
|
58739
58739
|
};
|
|
58740
58740
|
|
|
58741
|
-
//
|
|
58741
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
|
|
58742
58742
|
var McpServer = class {
|
|
58743
58743
|
constructor(serverInfo, options) {
|
|
58744
58744
|
this._registeredResources = {};
|
|
@@ -59530,10 +59530,10 @@ var EMPTY_COMPLETION_RESULT = {
|
|
|
59530
59530
|
}
|
|
59531
59531
|
};
|
|
59532
59532
|
|
|
59533
|
-
//
|
|
59533
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
59534
59534
|
import process3 from "node:process";
|
|
59535
59535
|
|
|
59536
|
-
//
|
|
59536
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
59537
59537
|
var STDIO_DEFAULT_MAX_BUFFER_SIZE = 10 * 1024 * 1024;
|
|
59538
59538
|
var ReadBuffer = class {
|
|
59539
59539
|
constructor(options) {
|
|
@@ -59570,7 +59570,7 @@ function serializeMessage(message) {
|
|
|
59570
59570
|
return JSON.stringify(message) + "\n";
|
|
59571
59571
|
}
|
|
59572
59572
|
|
|
59573
|
-
//
|
|
59573
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
59574
59574
|
var StdioServerTransport = class {
|
|
59575
59575
|
constructor(_stdin = process3.stdin, _stdout = process3.stdout, options) {
|
|
59576
59576
|
this._stdin = _stdin;
|
|
@@ -59653,7 +59653,6 @@ var POSITIONING_RULE = "POSITIONING: never hand-position an element relative to
|
|
|
59653
59653
|
|
|
59654
59654
|
// src/mcp/atelier.ts
|
|
59655
59655
|
import { readFile as readFile2 } from "node:fs/promises";
|
|
59656
|
-
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
59657
59656
|
|
|
59658
59657
|
// src/mcp/motion-context.ts
|
|
59659
59658
|
import { readFile } from "node:fs/promises";
|
|
@@ -59781,13 +59780,13 @@ function killDaemon(advert) {
|
|
|
59781
59780
|
function cachedBinary(launcher) {
|
|
59782
59781
|
try {
|
|
59783
59782
|
const cache2 = JSON.parse(readFileSync(BINARIES(), "utf8"));
|
|
59784
|
-
const
|
|
59785
|
-
return
|
|
59783
|
+
const path7 = cache2[launcher];
|
|
59784
|
+
return path7 && existsSync(path7) ? path7 : void 0;
|
|
59786
59785
|
} catch {
|
|
59787
59786
|
return void 0;
|
|
59788
59787
|
}
|
|
59789
59788
|
}
|
|
59790
|
-
function cacheBinary(launcher,
|
|
59789
|
+
function cacheBinary(launcher, path7) {
|
|
59791
59790
|
try {
|
|
59792
59791
|
mkdirSync(STATE_DIR(), { recursive: true });
|
|
59793
59792
|
let cache2 = {};
|
|
@@ -59795,7 +59794,7 @@ function cacheBinary(launcher, path6) {
|
|
|
59795
59794
|
cache2 = JSON.parse(readFileSync(BINARIES(), "utf8"));
|
|
59796
59795
|
} catch {
|
|
59797
59796
|
}
|
|
59798
|
-
cache2[launcher] =
|
|
59797
|
+
cache2[launcher] = path7;
|
|
59799
59798
|
writeFileSync(BINARIES(), JSON.stringify(cache2, null, 2));
|
|
59800
59799
|
} catch {
|
|
59801
59800
|
}
|
|
@@ -59805,10 +59804,10 @@ async function resolveBinary(launcher, options) {
|
|
|
59805
59804
|
if (cached2) return cached2;
|
|
59806
59805
|
const server = await chromium.launchServer(options);
|
|
59807
59806
|
try {
|
|
59808
|
-
const
|
|
59809
|
-
if (!
|
|
59810
|
-
cacheBinary(launcher,
|
|
59811
|
-
return
|
|
59807
|
+
const path7 = server.process()?.spawnfile;
|
|
59808
|
+
if (!path7) throw new Error("Playwright launched a browser without recording its path");
|
|
59809
|
+
cacheBinary(launcher, path7);
|
|
59810
|
+
return path7;
|
|
59812
59811
|
} finally {
|
|
59813
59812
|
await server.close().catch(() => void 0);
|
|
59814
59813
|
}
|
|
@@ -60736,20 +60735,20 @@ var collectPoseGeometry = (input) => {
|
|
|
60736
60735
|
}
|
|
60737
60736
|
const connectors = [];
|
|
60738
60737
|
for (const svg of Array.from(document.querySelectorAll("svg[data-connector]"))) {
|
|
60739
|
-
const
|
|
60740
|
-
if (!
|
|
60738
|
+
const path7 = svg.querySelector("path");
|
|
60739
|
+
if (!path7 || !(path7 instanceof SVGPathElement)) continue;
|
|
60741
60740
|
const opacity = effectiveOpacity(svg);
|
|
60742
60741
|
if (opacity <= 0) continue;
|
|
60743
60742
|
let aIn = false;
|
|
60744
60743
|
let bIn = false;
|
|
60745
60744
|
let midIn = false;
|
|
60746
60745
|
try {
|
|
60747
|
-
const total =
|
|
60748
|
-
const ctm =
|
|
60746
|
+
const total = path7.getTotalLength();
|
|
60747
|
+
const ctm = path7.getScreenCTM();
|
|
60749
60748
|
if (!ctm || !(total > 0)) continue;
|
|
60750
60749
|
const owner = svg.createSVGPoint ? svg : null;
|
|
60751
60750
|
const project = (t4) => {
|
|
60752
|
-
const p =
|
|
60751
|
+
const p = path7.getPointAtLength(t4);
|
|
60753
60752
|
if (owner) {
|
|
60754
60753
|
const pt = owner.createSVGPoint();
|
|
60755
60754
|
pt.x = p.x;
|
|
@@ -62187,17 +62186,17 @@ function collectTableInPage(rootSelector) {
|
|
|
62187
62186
|
};
|
|
62188
62187
|
const conns = [];
|
|
62189
62188
|
for (const svg of Array.from(document.querySelectorAll("svg[data-connector]"))) {
|
|
62190
|
-
const
|
|
62191
|
-
if (!(
|
|
62189
|
+
const path7 = svg.querySelector("path");
|
|
62190
|
+
if (!(path7 instanceof SVGPathElement)) continue;
|
|
62192
62191
|
const op = effectiveOpacity(svg);
|
|
62193
62192
|
if (op <= 0.05) continue;
|
|
62194
62193
|
try {
|
|
62195
|
-
const total =
|
|
62196
|
-
const ctm =
|
|
62194
|
+
const total = path7.getTotalLength();
|
|
62195
|
+
const ctm = path7.getScreenCTM();
|
|
62197
62196
|
if (!ctm || !(total > 0)) continue;
|
|
62198
62197
|
const owner = svg;
|
|
62199
62198
|
const project = (t4) => {
|
|
62200
|
-
const p =
|
|
62199
|
+
const p = path7.getPointAtLength(t4);
|
|
62201
62200
|
const pt = owner.createSVGPoint();
|
|
62202
62201
|
pt.x = p.x;
|
|
62203
62202
|
pt.y = p.y;
|
|
@@ -64747,7 +64746,7 @@ async function sampleCatalogFeatures(page, frames) {
|
|
|
64747
64746
|
// src/mcp/preflight.ts
|
|
64748
64747
|
var esbuildPromise = null;
|
|
64749
64748
|
function loadEsbuild() {
|
|
64750
|
-
esbuildPromise ??= import("./main-
|
|
64749
|
+
esbuildPromise ??= import("./main-BEONOBG5.js").then(
|
|
64751
64750
|
(mod) => mod,
|
|
64752
64751
|
() => null
|
|
64753
64752
|
);
|
|
@@ -65014,7 +65013,7 @@ function pushAdvisoryEnabled(env = process.env) {
|
|
|
65014
65013
|
return motionSlopEnabled(env) && env.IMPRACTICAL_PUSH_ADVISORY !== "0";
|
|
65015
65014
|
}
|
|
65016
65015
|
var lineOf = (content, index) => content.slice(0, index).split("\n").length;
|
|
65017
|
-
var scannable = (
|
|
65016
|
+
var scannable = (path7) => !path7.startsWith("kit/") && !path7.endsWith(".json") && !path7.endsWith(".md") && /\.(tsx?|jsx?|css|html)$/.test(path7);
|
|
65018
65017
|
var clip = (text, max = 90) => {
|
|
65019
65018
|
const flat = text.replace(/\s+/g, " ").trim();
|
|
65020
65019
|
return flat.length > max ? `${flat.slice(0, max - 1)}\u2026` : flat;
|
|
@@ -65197,8 +65196,8 @@ var CARD_PAD_RE = /\bp[xy]?-(?:\d|\[)/;
|
|
|
65197
65196
|
var CARD_FIXED_RE = /\b[wh]-\[\d/;
|
|
65198
65197
|
function cssCardClasses(files) {
|
|
65199
65198
|
const classes = /* @__PURE__ */ new Set();
|
|
65200
|
-
for (const [
|
|
65201
|
-
if (!scannable(
|
|
65199
|
+
for (const [path7, content] of Object.entries(files)) {
|
|
65200
|
+
if (!scannable(path7) || !path7.endsWith(".css") || typeof content !== "string") continue;
|
|
65202
65201
|
for (const chunk of content.split("}")) {
|
|
65203
65202
|
const brace = chunk.indexOf("{");
|
|
65204
65203
|
if (brace < 0) continue;
|
|
@@ -65287,10 +65286,10 @@ function collectCardConstructs(file2, content, cssCards) {
|
|
|
65287
65286
|
function detectCardGridReflex(files) {
|
|
65288
65287
|
const cssCards = cssCardClasses(files);
|
|
65289
65288
|
const constructs = [];
|
|
65290
|
-
for (const [
|
|
65291
|
-
if (!scannable(
|
|
65292
|
-
if (
|
|
65293
|
-
constructs.push(...collectCardConstructs(
|
|
65289
|
+
for (const [path7, content] of Object.entries(files)) {
|
|
65290
|
+
if (!scannable(path7) || typeof content !== "string") continue;
|
|
65291
|
+
if (path7.endsWith(".css")) continue;
|
|
65292
|
+
constructs.push(...collectCardConstructs(path7, content, cssCards));
|
|
65294
65293
|
}
|
|
65295
65294
|
const scenes = new Set(constructs.map((c) => c.scene));
|
|
65296
65295
|
if (scenes.size < 2) return [];
|
|
@@ -65317,13 +65316,13 @@ function detectNakedFonts(files) {
|
|
|
65317
65316
|
}
|
|
65318
65317
|
function detectMotionSlop(files) {
|
|
65319
65318
|
const findings = [];
|
|
65320
|
-
for (const [
|
|
65321
|
-
if (!scannable(
|
|
65319
|
+
for (const [path7, content] of Object.entries(files)) {
|
|
65320
|
+
if (!scannable(path7) || typeof content !== "string") continue;
|
|
65322
65321
|
findings.push(
|
|
65323
|
-
...detectEyebrows(
|
|
65324
|
-
...detectTextInCards(
|
|
65325
|
-
...detectMetronome(
|
|
65326
|
-
...detectSingleTemplate(
|
|
65322
|
+
...detectEyebrows(path7, content),
|
|
65323
|
+
...detectTextInCards(path7, content),
|
|
65324
|
+
...detectMetronome(path7, content),
|
|
65325
|
+
...detectSingleTemplate(path7, content)
|
|
65327
65326
|
);
|
|
65328
65327
|
}
|
|
65329
65328
|
findings.push(...detectCardGridReflex(files));
|
|
@@ -70105,7 +70104,7 @@ function normalizeBundle(html) {
|
|
|
70105
70104
|
var INLINEABLE = /\.(png|jpe?g|gif|webp|svg|mp4|webm|mov|woff2)$/i;
|
|
70106
70105
|
function skippedMedia(html, slug) {
|
|
70107
70106
|
const pattern = new RegExp(`/scenes/${slug.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")}/[^"'\\s)]+`, "g");
|
|
70108
|
-
return [...new Set(html.match(pattern) ?? [])].filter((
|
|
70107
|
+
return [...new Set(html.match(pattern) ?? [])].filter((path7) => INLINEABLE.test(path7));
|
|
70109
70108
|
}
|
|
70110
70109
|
async function resolvePreview(ctx, draftId) {
|
|
70111
70110
|
const draft = await ctx.invoke("get-draft", { draftId });
|
|
@@ -70533,6 +70532,21 @@ ${notes.join("\n")}`.trim(),
|
|
|
70533
70532
|
}
|
|
70534
70533
|
};
|
|
70535
70534
|
|
|
70535
|
+
// src/mcp/checkout.ts
|
|
70536
|
+
import { existsSync as existsSync6 } from "node:fs";
|
|
70537
|
+
import path5 from "node:path";
|
|
70538
|
+
function checkoutFile(relative, cwd = process.cwd()) {
|
|
70539
|
+
let directory = path5.resolve(cwd);
|
|
70540
|
+
for (let depth = 0; depth < 6; depth += 1) {
|
|
70541
|
+
const candidate = path5.join(directory, relative);
|
|
70542
|
+
if (existsSync6(candidate)) return candidate;
|
|
70543
|
+
const parent = path5.dirname(directory);
|
|
70544
|
+
if (parent === directory) break;
|
|
70545
|
+
directory = parent;
|
|
70546
|
+
}
|
|
70547
|
+
return void 0;
|
|
70548
|
+
}
|
|
70549
|
+
|
|
70536
70550
|
// src/mcp/atelier.ts
|
|
70537
70551
|
var ATELIER_ENV = "IMPRACTICAL_ATELIER";
|
|
70538
70552
|
function atelierEnabled(env = process.env) {
|
|
@@ -70540,33 +70554,51 @@ function atelierEnabled(env = process.env) {
|
|
|
70540
70554
|
}
|
|
70541
70555
|
var ATELIER_FIRST_PASS_RULE = "ATELIER FIRST PASS: on the first authored attempt, every entrance, transition, and typography beat must use an Atelier component. Preserve its native choreography and replace content through its supported structure. If the user asks to change that treatment, follow the user and allow custom motion or another approach; this default must never block a requested revision. Use components_catalog/component_study/install_components when the exact-source component extension is available; atelier_catalog/atelier_study provide the skeleton alternative. Both are Atelier components, and a beat needs only one integration. Keep the current World motion standard.";
|
|
70542
70556
|
var ATELIER_RULE = ATELIER_FIRST_PASS_RULE + " For skeleton studies, preserve the required elements, use atelier.place() to fit the wrapper, and atelier.plan() inside film.cut() for boundaries. World cut semantics start all boundary plans together after the previous end horizon. Use atelier.play() for explicit in-scene cues; atelier.target() provides camera targets inside transformed studies.";
|
|
70543
|
-
async function
|
|
70557
|
+
async function loadLocalCatalog() {
|
|
70544
70558
|
const file2 = process.env[LOCAL_MOTION_LIBRARY_ENV]?.trim();
|
|
70545
|
-
if (
|
|
70546
|
-
const
|
|
70547
|
-
|
|
70548
|
-
|
|
70549
|
-
|
|
70550
|
-
|
|
70551
|
-
|
|
70552
|
-
|
|
70553
|
-
|
|
70554
|
-
|
|
70555
|
-
|
|
70556
|
-
|
|
70557
|
-
|
|
70558
|
-
|
|
70559
|
+
if (file2) {
|
|
70560
|
+
const local2 = parseLocalMotionLibrary(await readFile2(file2, "utf8"), file2);
|
|
70561
|
+
if (!Array.isArray(local2.atelier) || !local2.atelier.length) {
|
|
70562
|
+
throw new Error(`${file2} carries no Atelier catalog. Clear the override to use the live library, or supply its matching catalog and kit together.`);
|
|
70563
|
+
}
|
|
70564
|
+
return local2.atelier;
|
|
70565
|
+
}
|
|
70566
|
+
const checkout = checkoutFile("experiment/atelier/atelier-catalog.json");
|
|
70567
|
+
return checkout ? JSON.parse(await readFile2(checkout, "utf8")) : null;
|
|
70568
|
+
}
|
|
70569
|
+
var remoteLabels = null;
|
|
70570
|
+
var REMOTE_LABELS_TTL_MS = 5 * 6e4;
|
|
70571
|
+
async function catalogLabels(ctx) {
|
|
70572
|
+
const local2 = await loadLocalCatalog();
|
|
70573
|
+
if (local2) return local2;
|
|
70574
|
+
if (remoteLabels && Date.now() - remoteLabels.at < REMOTE_LABELS_TTL_MS) return remoteLabels.studies;
|
|
70575
|
+
if (!ctx) throw new Error("The Atelier library is served live; no connection is available here.");
|
|
70576
|
+
const index = await ctx.invoke("atelier-library", { action: "index" });
|
|
70577
|
+
if (!Array.isArray(index.studies) || !index.studies.length) {
|
|
70578
|
+
throw new Error("The Atelier library returned no studies \u2014 the server may predate live Atelier serving.");
|
|
70579
|
+
}
|
|
70580
|
+
remoteLabels = { at: Date.now(), studies: index.studies };
|
|
70581
|
+
return index.studies;
|
|
70582
|
+
}
|
|
70583
|
+
async function studyEntry(id, ctx) {
|
|
70584
|
+
const local2 = await loadLocalCatalog();
|
|
70585
|
+
if (local2) return local2.find((entry) => entry.id === id) ?? null;
|
|
70586
|
+
if (!/^[a-z0-9][a-z0-9-]{0,79}$/.test(id)) return null;
|
|
70587
|
+
try {
|
|
70588
|
+
return (await ctx.invoke("atelier-library", { action: "study", id })).study;
|
|
70589
|
+
} catch (error51) {
|
|
70590
|
+
if (/\b404\b|not published/i.test(error51 instanceof Error ? error51.message : "")) return null;
|
|
70591
|
+
throw error51;
|
|
70559
70592
|
}
|
|
70560
|
-
return local2.atelier;
|
|
70561
70593
|
}
|
|
70562
70594
|
var SECTIONS = ["entrances", "transitions", "typography", "camera", "choreography", "interactions", "backgrounds"];
|
|
70563
|
-
async function atelierSourceFindings(direction, app = "") {
|
|
70595
|
+
async function atelierSourceFindings(direction, app = "", ctx) {
|
|
70564
70596
|
const plays = [...direction.matchAll(/atelier\.play\(\s*'([^']+)'/g)].map((m) => m[1]);
|
|
70565
70597
|
const out = [];
|
|
70566
70598
|
if (!plays.length && !/data-atelier=/.test(app)) return out;
|
|
70567
70599
|
let sections = /* @__PURE__ */ new Map();
|
|
70568
70600
|
try {
|
|
70569
|
-
sections = new Map((await
|
|
70601
|
+
sections = new Map((await catalogLabels(ctx)).map((c) => [c.id, c.section]));
|
|
70570
70602
|
} catch {
|
|
70571
70603
|
return [];
|
|
70572
70604
|
}
|
|
@@ -70598,8 +70630,8 @@ var atelierCatalogTool = {
|
|
|
70598
70630
|
position: external_exports.string().optional().describe("Only studies usable at this film position: 'opening', 'anywhere', 'payoff', 'close'.")
|
|
70599
70631
|
},
|
|
70600
70632
|
local: true,
|
|
70601
|
-
handler: async (args) => {
|
|
70602
|
-
const all = await
|
|
70633
|
+
handler: async (args, ctx) => {
|
|
70634
|
+
const all = await catalogLabels(ctx);
|
|
70603
70635
|
const rows = all.filter(
|
|
70604
70636
|
(c) => (!args.section || c.section === args.section || c.secondary_sections.includes(String(args.section))) && (!args.role || c.role.includes(String(args.role))) && (!args.position || c.position_in_film.includes(String(args.position)))
|
|
70605
70637
|
);
|
|
@@ -70621,10 +70653,10 @@ var atelierStudyTool = {
|
|
|
70621
70653
|
id: external_exports.string().describe("Study id from atelier_catalog.")
|
|
70622
70654
|
},
|
|
70623
70655
|
local: true,
|
|
70624
|
-
handler: async (args) => {
|
|
70625
|
-
const
|
|
70626
|
-
const c = all.find((x) => x.id === String(args.id));
|
|
70656
|
+
handler: async (args, ctx) => {
|
|
70657
|
+
const c = await studyEntry(String(args.id), ctx);
|
|
70627
70658
|
if (!c) {
|
|
70659
|
+
const all = await catalogLabels(ctx);
|
|
70628
70660
|
const near = all.filter((x) => x.id.includes(String(args.id).slice(0, 6))).map((x) => x.id).slice(0, 6);
|
|
70629
70661
|
return { text: `No Atelier study "${args.id}".${near.length ? " Near: " + near.join(", ") : ""} Call atelier_catalog.`, isError: true };
|
|
70630
70662
|
}
|
|
@@ -70632,7 +70664,7 @@ var atelierStudyTool = {
|
|
|
70632
70664
|
text: `ATELIER STUDY ${c.id} \u2014 ${c.name} (${c.duration}s)
|
|
70633
70665
|
${c.premise}
|
|
70634
70666
|
|
|
70635
|
-
This study requires its mounted React component; a static skeleton does not preserve its lifecycle or canvas rendering. Call component_study({id:${JSON.stringify(c.component_id ?? c.id)}}), then install_components for that ID. Mount Component and use playComponent as shown in its usage. Do not call atelier.play/plan for this study.
|
|
70667
|
+
This study requires its mounted React component; a static skeleton does not preserve its lifecycle or canvas rendering. Call component_study({id:${JSON.stringify(c.component_id ?? c.id)}}), then install_components for that ID. Mount Component and use playComponent as shown in its usage. Do not call atelier.play/plan for this study.
|
|
70636
70668
|
|
|
70637
70669
|
` + ATELIER_FIRST_PASS_RULE
|
|
70638
70670
|
};
|
|
@@ -70683,43 +70715,43 @@ var APP_STAGE_TRANSFORM = /data-stage[^>]*(?:transform\s*:\s*['"`]?\s*(?:scale|t
|
|
|
70683
70715
|
var RETURN_TIMELINE = /(?:^|[;{\s])return\s+(?:ctx\.)?(?:tl|timeline)\s*(?:;|\}|$)/;
|
|
70684
70716
|
function cameraLint(files) {
|
|
70685
70717
|
const out = [];
|
|
70686
|
-
for (const [
|
|
70687
|
-
if (
|
|
70718
|
+
for (const [path7, content] of Object.entries(files)) {
|
|
70719
|
+
if (path7.startsWith("kit/") || !/\.(ts|tsx|js|jsx)$/.test(path7)) continue;
|
|
70688
70720
|
const lines = content.split("\n");
|
|
70689
70721
|
lines.forEach((raw, i) => {
|
|
70690
70722
|
if (ALLOW.test(raw)) return;
|
|
70691
70723
|
const line = i + 1;
|
|
70692
70724
|
const text = raw.trim().slice(0, 140);
|
|
70693
|
-
if (
|
|
70725
|
+
if (path7.endsWith("App.tsx") || path7.endsWith(".tsx")) {
|
|
70694
70726
|
if (APP_STAGE_TRANSFORM.test(raw))
|
|
70695
|
-
out.push({ path:
|
|
70727
|
+
out.push({ path: path7, line, text, severity: "note", why: "the stage element carries its own transform \u2014 that is a hand-rolled camera", fix: "remove it; the World Camera moves the stage" });
|
|
70696
70728
|
return;
|
|
70697
70729
|
}
|
|
70698
70730
|
let m;
|
|
70699
70731
|
if (RETURN_TIMELINE.test(raw)) {
|
|
70700
|
-
out.push({ path:
|
|
70732
|
+
out.push({ path: path7, line, text, severity: "note", why: "the direction returns the timeline \u2014 the stage awaits that value, and a GSAP timeline is a thenable that resolves only when the film COMPLETES; a paused film never does, so the preview never becomes ready", fix: "return nothing from direction (delete this line); the engine already owns ctx.tl" });
|
|
70701
70733
|
return;
|
|
70702
70734
|
}
|
|
70703
70735
|
if (m = LEGACY.exec(raw)) {
|
|
70704
70736
|
const verb = m[1];
|
|
70705
70737
|
const fix = verb === "set" || verb === "full" ? "world.camera.cutTo(subject) (or world.camera.moveTo for a glide)" : verb === "move" ? "film.at(t).do(world.camera.moveTo(subject)) \u2014 name the subject, the verb centres and frames it" : verb === "crop" || verb === "focus" ? "world.camera.zoomTo(subject) (or focusOn)" : "world.camera.moveTo / zoomTo / cutTo / whipTo";
|
|
70706
|
-
out.push({ path:
|
|
70738
|
+
out.push({ path: path7, line, text, severity: "note", why: `legacy camera API (camera.${verb})`, fix });
|
|
70707
70739
|
return;
|
|
70708
70740
|
}
|
|
70709
70741
|
if (!b20Semantics() && HAND_TIMED_BOUNDARY.test(raw)) {
|
|
70710
|
-
out.push({ path:
|
|
70742
|
+
out.push({ path: path7, line, text, severity: "note", why: "a scene boundary scheduled by hand (film.at(<number>) with an exit/strike/transition)", fix: "film.cut(previous.exit(...), next.enter(...), world.camera.moveTo(...)) \u2014 the sequencer advances on the previous plan's end horizon; typed times are for in-scene cues only" });
|
|
70711
70743
|
return;
|
|
70712
70744
|
}
|
|
70713
70745
|
if (STAGE_TWEEN.test(raw)) {
|
|
70714
|
-
out.push({ path:
|
|
70746
|
+
out.push({ path: path7, line, text, severity: "note", why: "a tween on the stage element is a hand-rolled camera move", fix: "world.camera.moveTo / zoomTo on the subject instead" });
|
|
70715
70747
|
return;
|
|
70716
70748
|
}
|
|
70717
70749
|
if (m = SCENE_ROOT.exec(raw)) {
|
|
70718
70750
|
const vars = m[1];
|
|
70719
70751
|
if (SCALE_IN.test(vars))
|
|
70720
|
-
out.push({ path:
|
|
70752
|
+
out.push({ path: path7, line, text, severity: "note", why: "scaling a scene root is a zoom in disguise", fix: "world.camera.zoomTo(the component the story is about)" });
|
|
70721
70753
|
else if (TRANSLATE_IN.test(vars))
|
|
70722
|
-
out.push({ path:
|
|
70754
|
+
out.push({ path: path7, line, text, severity: "note", why: "translating a scene root by hand", fix: "use the engine's exit families or world.strike / world.transition for a scene change" });
|
|
70723
70755
|
}
|
|
70724
70756
|
});
|
|
70725
70757
|
}
|
|
@@ -70881,7 +70913,7 @@ async function saveDraft(ctx, draftId, apply) {
|
|
|
70881
70913
|
const merged = { ...draft.files, ...change.files };
|
|
70882
70914
|
for (const deleted of change.deletedPaths) delete merged[deleted];
|
|
70883
70915
|
const cameraFindings = cameraLintEnabled() ? cameraLint(change.files) : [];
|
|
70884
|
-
const atelierFindings = atelierEnabled() ? await atelierSourceFindings(String(merged["direction.ts"] ?? ""), String(merged["App.tsx"] ?? "")) : [];
|
|
70916
|
+
const atelierFindings = atelierEnabled() ? await atelierSourceFindings(String(merged["direction.ts"] ?? ""), String(merged["App.tsx"] ?? ""), ctx) : [];
|
|
70885
70917
|
const preflightError = await preflightDraft(merged);
|
|
70886
70918
|
if (preflightError) {
|
|
70887
70919
|
return fail(
|
|
@@ -70889,7 +70921,7 @@ async function saveDraft(ctx, draftId, apply) {
|
|
|
70889
70921
|
);
|
|
70890
70922
|
}
|
|
70891
70923
|
let advisory = "";
|
|
70892
|
-
if (pushAdvisoryEnabled() && Object.keys(change.files).some((
|
|
70924
|
+
if (pushAdvisoryEnabled() && Object.keys(change.files).some((path7) => /\.(tsx?|jsx?|css|html)$/.test(path7))) {
|
|
70893
70925
|
try {
|
|
70894
70926
|
advisory = formatSlopFindings(detectMotionSlop(merged));
|
|
70895
70927
|
} catch {
|
|
@@ -71239,7 +71271,7 @@ var listDraftFiles = {
|
|
|
71239
71271
|
revision: draft.revision,
|
|
71240
71272
|
staleNote: `Any file contents read before revision ${draft.revision} are stale \u2014 re-read before editing them.`,
|
|
71241
71273
|
lockedByJobId: draft.lockedByJobId,
|
|
71242
|
-
files: Object.entries(draft.files).map(([
|
|
71274
|
+
files: Object.entries(draft.files).map(([path7, content]) => ({ path: path7, bytes: Buffer.byteLength(content, "utf8") })).sort((a, b) => a.path.localeCompare(b.path))
|
|
71243
71275
|
});
|
|
71244
71276
|
}
|
|
71245
71277
|
};
|
|
@@ -71255,14 +71287,14 @@ var readDraftFile = {
|
|
|
71255
71287
|
},
|
|
71256
71288
|
handler: async (args, ctx) => {
|
|
71257
71289
|
const draft = await getDraft(ctx, String(args.draftId));
|
|
71258
|
-
const
|
|
71259
|
-
const content = draft.files[
|
|
71290
|
+
const path7 = String(args.path);
|
|
71291
|
+
const content = draft.files[path7];
|
|
71260
71292
|
if (content === void 0) {
|
|
71261
71293
|
return fail(
|
|
71262
|
-
`No file "${
|
|
71294
|
+
`No file "${path7}" in draft ${args.draftId}. Available: ${Object.keys(draft.files).sort().join(", ")}`
|
|
71263
71295
|
);
|
|
71264
71296
|
}
|
|
71265
|
-
const stamp = `[${
|
|
71297
|
+
const stamp = `[${path7} @ revision ${draft.revision} \u2014 earlier copies of this file in your context are stale if this revision is newer]`;
|
|
71266
71298
|
const lines = content.split("\n");
|
|
71267
71299
|
const startLine = typeof args.startLine === "number" ? Math.max(1, args.startLine) : 1;
|
|
71268
71300
|
const lineCount = typeof args.lineCount === "number" ? Math.max(1, args.lineCount) : lines.length;
|
|
@@ -71275,7 +71307,7 @@ ${content}` };
|
|
|
71275
71307
|
};
|
|
71276
71308
|
}
|
|
71277
71309
|
return {
|
|
71278
|
-
text: `[lines ${startLine}-${startLine - 1 + slice.length} of ${lines.length}, ${
|
|
71310
|
+
text: `[lines ${startLine}-${startLine - 1 + slice.length} of ${lines.length}, ${path7} @ revision ${draft.revision} \u2014 page with startLine/lineCount]
|
|
71279
71311
|
` + slice.join("\n")
|
|
71280
71312
|
};
|
|
71281
71313
|
}
|
|
@@ -71307,7 +71339,7 @@ var editDraftFile = {
|
|
|
71307
71339
|
replaceAll: external_exports.boolean().optional().describe("Replace every occurrence. Default false, which requires a unique match.")
|
|
71308
71340
|
},
|
|
71309
71341
|
handler: async (args, ctx) => {
|
|
71310
|
-
const
|
|
71342
|
+
const path7 = String(args.path);
|
|
71311
71343
|
const oldString = String(args.oldString);
|
|
71312
71344
|
const newString = String(args.newString);
|
|
71313
71345
|
let problem = null;
|
|
@@ -71315,22 +71347,22 @@ var editDraftFile = {
|
|
|
71315
71347
|
ctx,
|
|
71316
71348
|
String(args.draftId),
|
|
71317
71349
|
(draft) => {
|
|
71318
|
-
const content = draft.files[
|
|
71350
|
+
const content = draft.files[path7];
|
|
71319
71351
|
if (content === void 0) {
|
|
71320
|
-
problem = `No file "${
|
|
71352
|
+
problem = `No file "${path7}" in this draft. Available: ${Object.keys(draft.files).sort().join(", ")}`;
|
|
71321
71353
|
return { files: {}, deletedPaths: [] };
|
|
71322
71354
|
}
|
|
71323
71355
|
const occurrences = content.split(oldString).length - 1;
|
|
71324
71356
|
if (occurrences === 0) {
|
|
71325
|
-
problem = `oldString was not found in ${
|
|
71357
|
+
problem = `oldString was not found in ${path7} at revision ${draft.revision}. Either the match is inexact, or your copy of this file is stale \u2014 if you last read it at an earlier revision, read_draft_file again and re-apply the edit against the current text.`;
|
|
71326
71358
|
return { files: {}, deletedPaths: [] };
|
|
71327
71359
|
}
|
|
71328
71360
|
if (occurrences > 1 && !args.replaceAll) {
|
|
71329
|
-
problem = `oldString appears ${occurrences} times in ${
|
|
71361
|
+
problem = `oldString appears ${occurrences} times in ${path7} at revision ${draft.revision}. Add more surrounding context to make it unique, or pass replaceAll: true.`;
|
|
71330
71362
|
return { files: {}, deletedPaths: [] };
|
|
71331
71363
|
}
|
|
71332
71364
|
const next = args.replaceAll ? content.split(oldString).join(newString) : content.replace(oldString, newString);
|
|
71333
|
-
return { files: { [
|
|
71365
|
+
return { files: { [path7]: next }, deletedPaths: [] };
|
|
71334
71366
|
}
|
|
71335
71367
|
);
|
|
71336
71368
|
return problem ? fail(problem) : output;
|
|
@@ -71601,7 +71633,7 @@ var REMOTE_SAFE_TOOLS = [
|
|
|
71601
71633
|
];
|
|
71602
71634
|
|
|
71603
71635
|
// src/mcp/gather-references.ts
|
|
71604
|
-
import { existsSync as
|
|
71636
|
+
import { existsSync as existsSync7, statSync as statSync2 } from "node:fs";
|
|
71605
71637
|
var referenceEntry = external_exports.object({
|
|
71606
71638
|
kind: external_exports.enum(["local-code", "product-ui-screenshot", "site-code", "website", "screenshot", "image-to-use", "component-class-image", "mockup"]),
|
|
71607
71639
|
/** URL or local file path. */
|
|
@@ -71634,7 +71666,7 @@ async function captureSource(source) {
|
|
|
71634
71666
|
}
|
|
71635
71667
|
}
|
|
71636
71668
|
try {
|
|
71637
|
-
return { verified:
|
|
71669
|
+
return { verified: existsSync7(source) && statSync2(source).size > 0 };
|
|
71638
71670
|
} catch {
|
|
71639
71671
|
return { verified: false };
|
|
71640
71672
|
}
|
|
@@ -71810,16 +71842,16 @@ async function assertKitOverrideParity(files, overridePath, expectedKitsVersion)
|
|
|
71810
71842
|
);
|
|
71811
71843
|
}
|
|
71812
71844
|
}
|
|
71813
|
-
for (const [
|
|
71814
|
-
const want = expected.get(
|
|
71845
|
+
for (const [path7, content] of Object.entries(files)) {
|
|
71846
|
+
const want = expected.get(path7);
|
|
71815
71847
|
if (want === void 0) {
|
|
71816
71848
|
throw new Error(
|
|
71817
|
-
`Kit override parity failure: served file ${
|
|
71849
|
+
`Kit override parity failure: served file ${path7} does not exist in ${overridePath} \u2014 a second kit lineage leaked into the install. Refusing to install.`
|
|
71818
71850
|
);
|
|
71819
71851
|
}
|
|
71820
71852
|
if (want !== content) {
|
|
71821
71853
|
throw new Error(
|
|
71822
|
-
`Kit override parity failure: ${
|
|
71854
|
+
`Kit override parity failure: ${path7} does not byte-match ${overridePath} \u2014 mixed kit lineages. Refusing to install.`
|
|
71823
71855
|
);
|
|
71824
71856
|
}
|
|
71825
71857
|
}
|
|
@@ -71979,8 +72011,8 @@ var installFontTool = {
|
|
|
71979
72011
|
|
|
71980
72012
|
// src/mcp/components.ts
|
|
71981
72013
|
import { createHash as createHash2 } from "node:crypto";
|
|
71982
|
-
import { existsSync as
|
|
71983
|
-
import
|
|
72014
|
+
import { existsSync as existsSync8 } from "node:fs";
|
|
72015
|
+
import path6 from "node:path";
|
|
71984
72016
|
import { readFileSync as readFileSync6 } from "node:fs";
|
|
71985
72017
|
var COMPONENT_MANIFEST_ENV = "IMPRACTICAL_COMPONENT_MANIFEST";
|
|
71986
72018
|
var hash2 = (content) => createHash2("sha256").update(content).digest("hex");
|
|
@@ -72014,8 +72046,8 @@ var manifestSchema = external_exports.object({
|
|
|
72014
72046
|
runtime: sourceSchema,
|
|
72015
72047
|
components: external_exports.array(componentSchema).min(1)
|
|
72016
72048
|
});
|
|
72017
|
-
function loadComponentManifest(
|
|
72018
|
-
const manifest = manifestSchema.parse(JSON.parse(readFileSync6(
|
|
72049
|
+
function loadComponentManifest(path7) {
|
|
72050
|
+
const manifest = manifestSchema.parse(JSON.parse(readFileSync6(path7, "utf8")));
|
|
72019
72051
|
const aliases = /* @__PURE__ */ new Map();
|
|
72020
72052
|
const paths = /* @__PURE__ */ new Set([manifest.runtime.path]);
|
|
72021
72053
|
for (const file2 of [manifest.runtime, ...manifest.components.map((item) => item.source)]) {
|
|
@@ -72039,38 +72071,80 @@ function resolveComponent(manifest, id) {
|
|
|
72039
72071
|
function componentManifestPath(env = process.env, cwd = process.cwd()) {
|
|
72040
72072
|
const override = env[COMPONENT_MANIFEST_ENV]?.trim();
|
|
72041
72073
|
if (override) return override;
|
|
72042
|
-
let directory =
|
|
72074
|
+
let directory = path6.resolve(cwd);
|
|
72043
72075
|
for (let depth = 0; depth < 6; depth += 1) {
|
|
72044
|
-
const candidate =
|
|
72045
|
-
if (
|
|
72046
|
-
const parent =
|
|
72076
|
+
const candidate = path6.join(directory, "experiment/component-handoff/generated/manifest.json");
|
|
72077
|
+
if (existsSync8(candidate)) return candidate;
|
|
72078
|
+
const parent = path6.dirname(directory);
|
|
72047
72079
|
if (parent === directory) break;
|
|
72048
72080
|
directory = parent;
|
|
72049
72081
|
}
|
|
72050
72082
|
return void 0;
|
|
72051
72083
|
}
|
|
72052
|
-
function componentServerInstructions(
|
|
72053
|
-
return
|
|
72084
|
+
function componentServerInstructions(path7) {
|
|
72085
|
+
return path7 ? "\n\nVIDEO CREATIVE DIRECTION:\nYou are a professional motion graphics designer and pro social media specialist. You need to design an eye catching, popping video that will stand out to people scrolling social media or catch the eye when run on ads. You need to be harsh, critical on yourself when designing, and meeting the bar of a motion graphics video isn't enough. your work needs to rival other motion designers that are making stuff with adobe after effects.\n\nLOCAL COMPONENT HANDOFF IS ENABLED. When a brief names Explore component IDs or slugs, call components_catalog and component_study for those exact selections before authoring. These tools expose a versioned snapshot of the local app, including source, selectors, and usage. Call install_components to copy the selected sources and runtime into your draft, then import them using the returned examples. Keep all selected components; never substitute a similarly named house style. A missing ID is a handoff failure to report, not permission to invent it. Read engine_types and use the normal create_video, write_draft_files, job_status, get_frames and export_video workflow. Components use their own deterministic timeline through the supplied runtime. \nCOMPONENT PROMO EDITORIAL REQUIREMENTS FOR THIS LOCAL EXPERIMENT: the user requires each shot to last at most THREE SECONDS, including its transition and reading hold. Plan the shot boundaries before writing code; a 24-second film needs at least eight substantive visual beats. Connected shots can develop one concrete scene without cutting away or reintroducing its subject. A new label, another card landing, or a cut to the same unchanged screen does not make a new beat. Each beat must advance the product story with a new visible action, state change, or benefit. Cover the real workflow from input through transformation, decision, and outcome; do not spend an entire promo on three cards and a static list. For fictional test products, keep added workflow clearly illustrative; for real products use verified capabilities only. Study each selected component as a motion primitive, not a full scene whose demo duration must be preserved. Use playComponent duration to fit the choreography inside the shot, trim native demo holds, and author short readable copy. User pacing requirements override generic slower house defaults. A continuous ambient backdrop may span scenes, but cannot count as new content. Vary scale, composition, camera direction and transitions with narrative purpose. Review the complete sequence in motion: prove every shot is <=3 seconds and show the meaningful product change in every interval. Do not excuse dead time as a reading hold or dismiss actual pacing warnings because compilation and still frames pass. \nVISUAL COMPREHENSION: the user must understand the component at a glance. Do not fill product cards with paragraphs, quotations, opportunity briefs, or marketing explanations. Show the capability through imagery, a recognizable control, a visible interaction, and its result. Keep only essential short UI labels inside the component. Give explanatory primary copy its own clear hierarchy in the scene, separate from the product UI contents. More content means more visible product behavior, not more words or denser dashboards. Each selected entrance introduces a distinct component or concept. After an entrance, develop that subject through interactions and purposeful camera framing; do not repeatedly reintroduce the same dashboard to demonstrate different styles. Connected three-second shots may follow the same subject as long as the visible action and framing advance. Before expanding the film, review a short product proof with captions hidden: its action and outcome should still be understandable. Treat a need to read the card to understand the scene as a creative defect, even if every word is technically legible. \nSILENT VIDEO NARRATIVE: minimal component text does not mean minimal explanation. When there is no voiceover, primary copy must carry a complete, understandable product story: who the product is for or what it does, the capabilities being demonstrated, and the payoff. Before authoring, extract only the intended message text and read it in sequence without the visuals or UI labels. It must make sense as a concise standalone script, not a few disconnected slogans. Then pair each line with a visual demonstration of that claim. Use short meaningful titles, timed for comfortable reading, rather than paragraphs, redundant labels, or title-only slides between every action. Reserve real space for this copy; do not cover important controls, crowd components, or shrink everything to fit. Budget entrance, fully readable hold, and exit separately. Start the reading hold only after the complete line has landed; end it when motion or occlusion starts obscuring it. Let words arrive and leave deliberately, with deceleration and enough time to follow their motion. Reclaim empty success holds before rushing the message or slowing the entire video. Check the reading rhythm in playback, not just on paused frames. Review both layers independently: the primary-copy transcript should explain the story, and the caption-free product view should demonstrate an immediately recognizable action. \nCOPY IN THE SCENE: primary copy is part of the authored visual world, not a pinned webpage header or a fixed caption band pasted over the film. Plan where the words live relative to the subject, their depth or plane when appropriate, and how the subject or camera affects their entrance, action, and exit. Use specific readable relationships: a subject can make room for words, carry or push them, pass in front of them, or reveal them as the camera reframes. Share the relevant world/camera transform when that is the intended relationship. Keep clear reading moments, but do not equate readable with permanently locked to the screen. Solve collisions with scene composition and timing, not an opaque header strip covering the product. Do not force every line into the same interaction or bury explanatory copy inside a dense product card. \nSELECTED MOTION FIDELITY: preserve what makes each selected reference recognizable. An imported source ID is not proof that the effect works. Inspect the actual motion and transform hierarchy; avoid competing animations on one node and wrappers that flatten the intended perspective. If a reference combines continuous subject movement with editorial camera cuts, preserve both and their relationship. Do not silently remove defining motion to accommodate another reference; reorganize the sequence or assign a distinct subject instead. Compare the result against the selected reference at the moments that demonstrate its distinctive behavior. \nCURSOR ACCURACY: verify the visible cursor hotspot lands inside the intended control at the actual press frame, after camera transforms and component motion. Use compatible coordinate spaces or scope the cursor to the product world; do not compensate with guessed offsets. Check that direct seeks and continuous playback agree. Tie the visible UI response to that press and leave enough time to see the resulting state. \nAMBIENT COMPONENT MOTION: during settled holds, consider a very light continuous drift of the component or its camera so the composition still feels alive. Background motion alone is not a substitute. Keep it barely perceptible, coherent with perspective, and subordinate to the primary interaction. Preserve readable copy and maintain the relationship between controls and any cursor; settle the drift during precise clicks or tracking if needed. Use a separate wrapper or compose transforms so drift does not fight the selected entrance, camera, or exit. Evaluate it deterministically from timeline time, without an independent clock or reset at shot boundaries. Do not bob every element, force motion where stillness is intentional, or count ambient drift as a substantive story beat. \nSCENE HANDOFFS: plan how each concrete scene exits as deliberately as how its subject enters. Do not default to entrance, token action, then unrelated cut. In the shot plan, name the outgoing subject and state, the action or camera move that carries us out, and the incoming subject and relationship that makes the connection understandable. Build the transition from what is already happening: an artifact can carry forward, an interaction can change the framing, or a meaningful object can occlude and reveal the next view. These are options, not a mandatory recipe; choose a connection specific to the product story. A selected transition effect supplies motion language, not the narrative reason for the handoff. Preserve recognizable details through the connection and do not imply a product feature or causal relationship that does not exist. Three-second shot pacing does not require a cut or a fresh entrance every three seconds. A motivated cut can be right; do not force every connection into a morph or add decorative travel that delays the story. Review at least one complete entrance, developed action, and outgoing handoff in the caption-free proof, then review all scene boundaries in motion before delivery. This local extension does not mean these components are available in the published CLI." : "";
|
|
72054
72086
|
}
|
|
72055
|
-
function
|
|
72056
|
-
if (!pathArg) return [];
|
|
72087
|
+
function localLibrary(pathArg) {
|
|
72057
72088
|
const load = () => loadComponentManifest(pathArg);
|
|
72089
|
+
return {
|
|
72090
|
+
async index() {
|
|
72091
|
+
const indexPath = path6.join(path6.dirname(pathArg), "catalog-index.json");
|
|
72092
|
+
return existsSync8(indexPath) ? JSON.parse(readFileSync6(indexPath, "utf8")) : load();
|
|
72093
|
+
},
|
|
72094
|
+
async study(_ctx, id, include) {
|
|
72095
|
+
const manifest = load();
|
|
72096
|
+
const component = resolveComponent(manifest, id);
|
|
72097
|
+
return {
|
|
72098
|
+
snapshot: manifest.snapshot,
|
|
72099
|
+
component: { ...component, source: include ? component.source : { path: component.source.path, sha256: component.source.sha256 } },
|
|
72100
|
+
runtime: include ? manifest.runtime : { path: manifest.runtime.path, sha256: manifest.runtime.sha256 }
|
|
72101
|
+
};
|
|
72102
|
+
},
|
|
72103
|
+
async install(_ctx, ids) {
|
|
72104
|
+
const manifest = load();
|
|
72105
|
+
const components = [...new Map(ids.map((id) => {
|
|
72106
|
+
const component = resolveComponent(manifest, id);
|
|
72107
|
+
return [component.id, component];
|
|
72108
|
+
})).values()];
|
|
72109
|
+
return { snapshot: manifest.snapshot, components, runtime: manifest.runtime };
|
|
72110
|
+
}
|
|
72111
|
+
};
|
|
72112
|
+
}
|
|
72113
|
+
var liveInstallShape = external_exports.object({
|
|
72114
|
+
snapshot: external_exports.object({ sha256: external_exports.string() }).passthrough(),
|
|
72115
|
+
components: external_exports.array(componentSchema).min(1),
|
|
72116
|
+
runtime: sourceSchema
|
|
72117
|
+
});
|
|
72118
|
+
function liveLibrary() {
|
|
72119
|
+
return {
|
|
72120
|
+
index: (ctx) => ctx.invoke("atelier-library", { action: "index" }),
|
|
72121
|
+
study: (ctx, id, includeSource) => ctx.invoke("atelier-library", { action: "component", id, includeSource }),
|
|
72122
|
+
async install(ctx, ids) {
|
|
72123
|
+
const served = liveInstallShape.parse(await ctx.invoke("atelier-library", { action: "install", ids }));
|
|
72124
|
+
for (const file2 of [served.runtime, ...served.components.map((item) => item.source)]) {
|
|
72125
|
+
if (hash2(file2.content) !== file2.sha256) throw new Error(`Component source checksum mismatch: ${file2.path}`);
|
|
72126
|
+
}
|
|
72127
|
+
return served;
|
|
72128
|
+
}
|
|
72129
|
+
};
|
|
72130
|
+
}
|
|
72131
|
+
function createComponentTools(pathArg = componentManifestPath()) {
|
|
72132
|
+
const library = pathArg ? localLibrary(pathArg) : liveLibrary();
|
|
72058
72133
|
const json3 = (value) => ({ text: JSON.stringify(value, null, 2) });
|
|
72059
72134
|
return [
|
|
72060
72135
|
{
|
|
72061
72136
|
name: "components_catalog",
|
|
72062
|
-
title: "Discover the
|
|
72063
|
-
description: "List exact component IDs, slugs, canonical source IDs, categories, and the source snapshot version
|
|
72137
|
+
title: "Discover the Atelier components",
|
|
72138
|
+
description: "List exact component IDs, slugs, canonical source IDs, categories, and the source snapshot version for the Atelier components shown in Explore. Use for briefs copied from Create from components.",
|
|
72064
72139
|
inputSchema: {
|
|
72065
72140
|
category: external_exports.string().optional().describe("Optional exact category filter."),
|
|
72066
72141
|
query: external_exports.string().optional().describe("Optional case-insensitive title, description, or ID search.")
|
|
72067
72142
|
},
|
|
72068
72143
|
local: true,
|
|
72069
|
-
// Same policy as gather_references:
|
|
72144
|
+
// Same policy as gather_references: library reads are not metered.
|
|
72070
72145
|
admitAs: "studio_link",
|
|
72071
|
-
handler: async (args) => {
|
|
72072
|
-
const
|
|
72073
|
-
const index = existsSync7(indexPath) ? JSON.parse(readFileSync6(indexPath, "utf8")) : load();
|
|
72146
|
+
handler: async (args, ctx) => {
|
|
72147
|
+
const index = await library.index(ctx);
|
|
72074
72148
|
const query = String(args.query ?? "").trim().toLowerCase();
|
|
72075
72149
|
const components = index.components.filter(
|
|
72076
72150
|
(item) => (!args.category || item.category === args.category) && (!query || [item.id, item.slug, item.sourceId, item.title, item.description].some((value) => value.toLowerCase().includes(query)))
|
|
@@ -72088,20 +72162,11 @@ function createComponentTools(pathArg = componentManifestPath()) {
|
|
|
72088
72162
|
},
|
|
72089
72163
|
local: true,
|
|
72090
72164
|
admitAs: "studio_link",
|
|
72091
|
-
handler: async (args) =>
|
|
72092
|
-
const manifest = load();
|
|
72093
|
-
const component = resolveComponent(manifest, String(args.id));
|
|
72094
|
-
const include = args.includeSource !== false;
|
|
72095
|
-
return json3({
|
|
72096
|
-
snapshot: manifest.snapshot,
|
|
72097
|
-
component: { ...component, source: include ? component.source : { path: component.source.path, sha256: component.source.sha256 } },
|
|
72098
|
-
runtime: include ? manifest.runtime : { path: manifest.runtime.path, sha256: manifest.runtime.sha256 }
|
|
72099
|
-
});
|
|
72100
|
-
}
|
|
72165
|
+
handler: async (args, ctx) => json3(await library.study(ctx, String(args.id), args.includeSource !== false))
|
|
72101
72166
|
},
|
|
72102
72167
|
{
|
|
72103
72168
|
name: "install_components",
|
|
72104
|
-
title: "Install selected
|
|
72169
|
+
title: "Install selected Atelier component source into a draft",
|
|
72105
72170
|
description: "Copy exact selected component sources plus their shared runtime into a cloud draft under components/. Pass every selected ID. Uses normal draft-write admission, revision checks, build preflight, and preview jobs. Does not overwrite modified files unless overwrite is explicitly true. Pin snapshotSha256 from component_study for reproducibility.",
|
|
72106
72171
|
inputSchema: {
|
|
72107
72172
|
draftId: external_exports.string().min(1),
|
|
@@ -72112,15 +72177,11 @@ function createComponentTools(pathArg = componentManifestPath()) {
|
|
|
72112
72177
|
local: true,
|
|
72113
72178
|
admitAs: "write_draft_files",
|
|
72114
72179
|
handler: async (args, ctx) => {
|
|
72115
|
-
const
|
|
72116
|
-
if (args.snapshotSha256 && args.snapshotSha256 !==
|
|
72180
|
+
const { snapshot, components: selected, runtime } = await library.install(ctx, args.ids);
|
|
72181
|
+
if (args.snapshotSha256 && args.snapshotSha256 !== snapshot.sha256) {
|
|
72117
72182
|
throw new Error("Component snapshot changed. Re-read component_study before installing this version.");
|
|
72118
72183
|
}
|
|
72119
|
-
const
|
|
72120
|
-
const component = resolveComponent(manifest, id);
|
|
72121
|
-
return [component.id, component];
|
|
72122
|
-
})).values()];
|
|
72123
|
-
const sources = [manifest.runtime, ...selected.map((component) => component.source)];
|
|
72184
|
+
const sources = [runtime, ...selected.map((component) => component.source)];
|
|
72124
72185
|
const output = await saveDraft(ctx, String(args.draftId), (draft) => {
|
|
72125
72186
|
const files = {};
|
|
72126
72187
|
for (const source of sources) {
|
|
@@ -72136,9 +72197,9 @@ function createComponentTools(pathArg = componentManifestPath()) {
|
|
|
72136
72197
|
if (output.isError) return output;
|
|
72137
72198
|
return {
|
|
72138
72199
|
text: JSON.stringify({
|
|
72139
|
-
snapshotSha256:
|
|
72200
|
+
snapshotSha256: snapshot.sha256,
|
|
72140
72201
|
installed: selected.map(({ id, sourceId, source, usage }) => ({ id, sourceId, path: source.path, sha256: source.sha256, usage })),
|
|
72141
|
-
runtime: { path:
|
|
72202
|
+
runtime: { path: runtime.path, sha256: runtime.sha256 }
|
|
72142
72203
|
}, null, 2) + "\n\n" + output.text
|
|
72143
72204
|
};
|
|
72144
72205
|
}
|
|
@@ -72535,7 +72596,7 @@ ${formatUsageNotice(admission.warning)}`;
|
|
|
72535
72596
|
}
|
|
72536
72597
|
var ENGINE_DTS_URI = "impractical://engine.d.ts";
|
|
72537
72598
|
function readEngineTypes() {
|
|
72538
|
-
return readFileSync7(
|
|
72599
|
+
return readFileSync7(fileURLToPath2(new URL("../assets/engine.d.ts", import.meta.url)), "utf8");
|
|
72539
72600
|
}
|
|
72540
72601
|
function registerEngineResource(server) {
|
|
72541
72602
|
server.registerResource(
|