@chibitek/chibi 0.1.192 → 0.1.193
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/assets/{TerminalPanel-PcPGVxjJ.js → TerminalPanel-BtDirrJJ.js} +1 -1
- package/dist/assets/{abnfDiagram-O67JEVCF-CrdtKXgW.js → abnfDiagram-O67JEVCF-C37-IeyR.js} +1 -1
- package/dist/assets/{arc-DZp6zTLS.js → arc-glzbadrM.js} +1 -1
- package/dist/assets/{architectureDiagram-NJMV4G6O-By4YaF8p.js → architectureDiagram-NJMV4G6O-Bcx1rmTd.js} +1 -1
- package/dist/assets/{blockDiagram-BEXU5L5S-b9XT0BEX.js → blockDiagram-BEXU5L5S-B6KUNaLE.js} +1 -1
- package/dist/assets/{c4Diagram-YGBWAQC7-ClDc6UCa.js → c4Diagram-YGBWAQC7-DZ__tNnZ.js} +1 -1
- package/dist/assets/channel-C2UiHr1q.js +1 -0
- package/dist/assets/{chunk-2Q5K7J3B-D8FDC39i.js → chunk-2Q5K7J3B-Dn-yLeEA.js} +1 -1
- package/dist/assets/{chunk-3FUC2YCW-_Lb0IVFX.js → chunk-3FUC2YCW-BB0MhLD8.js} +2 -2
- package/dist/assets/{chunk-5VM5RSS4-f7re7-dy.js → chunk-5VM5RSS4-B0MU1Lq4.js} +1 -1
- package/dist/assets/{chunk-GTNCS2PH-Cl4oAWQ1.js → chunk-GTNCS2PH-BmT88VI9.js} +1 -1
- package/dist/assets/{chunk-GWA4HPMP-CLO3k8zE.js → chunk-GWA4HPMP-hgdMCsOk.js} +1 -1
- package/dist/assets/{chunk-JWPE2WC7-kXWDfQP-.js → chunk-JWPE2WC7-zlkz0m7Z.js} +1 -1
- package/dist/assets/{chunk-NETBCI7D-DPtewwHN.js → chunk-NETBCI7D-Dz15-399.js} +1 -1
- package/dist/assets/{chunk-WEXAMYUT-B17lA9FX.js → chunk-WEXAMYUT-CrWvQLTH.js} +1 -1
- package/dist/assets/{chunk-XXDRQBXY-B6RbRjkG.js → chunk-XXDRQBXY-BRuLbyd6.js} +1 -1
- package/dist/assets/{classDiagram-v2-NBCMYWYE-BrZPolTO.js → classDiagram-v2-NBCMYWYE-BoexnyNG.js} +1 -1
- package/dist/assets/{cose-bilkent-JH36ORCC-DAvSQrfJ.js → cose-bilkent-JH36ORCC-CPTjVRUh.js} +1 -1
- package/dist/assets/{cynefin-OW5HDTMX-BBEKoW-B.js → cynefin-OW5HDTMX-DtqtEAnC.js} +1 -1
- package/dist/assets/{cynefinDiagram-VND7K2PF-DTeD9b7A.js → cynefinDiagram-VND7K2PF-BVP8JLg8.js} +1 -1
- package/dist/assets/{dagre-6A5THRUB-7Lem_oJB.js → dagre-6A5THRUB-BBDMxGXp.js} +1 -1
- package/dist/assets/{diagram-22UHCM2B-BBMu1DQ4.js → diagram-22UHCM2B-BRZ8cAsI.js} +1 -1
- package/dist/assets/{diagram-3UASUU5V-wTBd45sT.js → diagram-3UASUU5V-D3lhs7ty.js} +1 -1
- package/dist/assets/{diagram-ATOU4E4O-DejXVMcb.js → diagram-ATOU4E4O-n8v1YvKt.js} +1 -1
- package/dist/assets/{diagram-CDSNMT55-CqYId1m8.js → diagram-CDSNMT55-B6jeaO-z.js} +1 -1
- package/dist/assets/{diagram-MLGK6HIB-DrOnQ-Zt.js → diagram-MLGK6HIB-BLmKtNgD.js} +1 -1
- package/dist/assets/{diagram-MPIPVDR6-CHDvidFk.js → diagram-MPIPVDR6-CNWlEkJQ.js} +1 -1
- package/dist/assets/{ebnfDiagram-ZINNZB2B-BzwpPn5m.js → ebnfDiagram-ZINNZB2B-C0uBXIgJ.js} +1 -1
- package/dist/assets/{elk-276RUBZZ-E1HDqzYH.js → elk-276RUBZZ-DCjvJpgP.js} +1 -1
- package/dist/assets/{erDiagram-OPXOYQCR-D5E6uaT3.js → erDiagram-OPXOYQCR-BryVWOsq.js} +1 -1
- package/dist/assets/{flowDiagram-KWPJA3E3-R1exlkB4.js → flowDiagram-KWPJA3E3-Cq-t83b3.js} +1 -1
- package/dist/assets/{ganttDiagram-FUAMR5RP-B5kjMGRd.js → ganttDiagram-FUAMR5RP-4vyfI4a8.js} +1 -1
- package/dist/assets/{gitGraphDiagram-X574FWY7-BqkJtDvq.js → gitGraphDiagram-X574FWY7-DxZIWlPq.js} +1 -1
- package/dist/assets/{index-DvEhLbPJ.js → index-C2Rnf5Lg.js} +1 -1
- package/dist/assets/{index-D_WPT1i-.js → index-DtMmBnv1.js} +163 -163
- package/dist/assets/{infoDiagram-VRGFBTTK-LXwGqqoO.js → infoDiagram-VRGFBTTK-CdS4oDZm.js} +1 -1
- package/dist/assets/{ishikawaDiagram-OU5B5YK6-D_E17iEV.js → ishikawaDiagram-OU5B5YK6-7FJ6XPAt.js} +1 -1
- package/dist/assets/{journeyDiagram-ZHPQQLJL-BkKKJrLR.js → journeyDiagram-ZHPQQLJL-DK5jSuP5.js} +1 -1
- package/dist/assets/{kanban-definition-PNTS6WVX-y6rjCvyW.js → kanban-definition-PNTS6WVX-LSLVTPp1.js} +1 -1
- package/dist/assets/{linear-BYdFcAFG.js → linear-C8T48PcW.js} +1 -1
- package/dist/assets/{mermaid.core-BZnTzEV7.js → mermaid.core-CajU6Pki.js} +5 -5
- package/dist/assets/{mindmap-definition-NLK3R4M7-HPM-ymN0.js → mindmap-definition-NLK3R4M7-26gQ6jip.js} +1 -1
- package/dist/assets/{pegDiagram-GJSIUBJH-X2YHQQDC.js → pegDiagram-GJSIUBJH-rvhqKdDP.js} +1 -1
- package/dist/assets/{pieDiagram-5QR66LMP-FQ47RvEb.js → pieDiagram-5QR66LMP-BOFsvwEp.js} +1 -1
- package/dist/assets/{quadrantDiagram-O4NWA36T-CZok45i-.js → quadrantDiagram-O4NWA36T-BGd_kb8s.js} +1 -1
- package/dist/assets/{railroadDiagram-XR7U4H2S-CkzgSbiA.js → railroadDiagram-XR7U4H2S-DROi1ea2.js} +1 -1
- package/dist/assets/{requirementDiagram-PLB6GJNP-B96vOB2k.js → requirementDiagram-PLB6GJNP-BLFC_C4R.js} +1 -1
- package/dist/assets/{sankeyDiagram-IPEJSGJF-C3OzzNBk.js → sankeyDiagram-IPEJSGJF-bCdrWFYF.js} +1 -1
- package/dist/assets/{sequenceDiagram-PO4LG4MO-UEjwqc9C.js → sequenceDiagram-PO4LG4MO-CaCPCA52.js} +1 -1
- package/dist/assets/{sizeCapture-INFHLROL-CYlsATAn.js → sizeCapture-INFHLROL-DZr2YdGO.js} +1 -1
- package/dist/assets/{stateDiagram-v2-GCMORJYK-i3kPrA1F.js → stateDiagram-v2-GCMORJYK-BymY8iLv.js} +1 -1
- package/dist/assets/{swimlanes-2SLR337P-CwxGl-A-.js → swimlanes-2SLR337P-NumTJ1tl.js} +1 -1
- package/dist/assets/swimlanesDiagram-TC7HE7FX-CjJ-nT3Z.js +8 -0
- package/dist/assets/{timeline-definition-EJHVYXUP-B-CIp72A.js → timeline-definition-EJHVYXUP-d9-CUPKk.js} +1 -1
- package/dist/assets/{usecaseDiagram-POWQR4AR-CvI2j7z-.js → usecaseDiagram-POWQR4AR-CGvoockc.js} +1 -1
- package/dist/assets/{vennDiagram-UO4OBE2U--l2Nr666.js → vennDiagram-UO4OBE2U-CUkwrnK7.js} +1 -1
- package/dist/assets/{wardleyDiagram-VNRHLVJA-C_WERxNO.js → wardleyDiagram-VNRHLVJA-DALQej81.js} +1 -1
- package/dist/assets/{xychartDiagram-PMCCYNJV-VoRUD4V6.js → xychartDiagram-PMCCYNJV-2oukzPo1.js} +1 -1
- package/dist/index.html +1 -1
- package/dist-server/container-mcp.js +83 -82
- package/dist-server/drivers/agents-proxy.js +81 -81
- package/dist-server/index.js +905 -531
- package/dist-server/mcp-server.js +36 -1
- package/dist-server/openmausbot.js +784 -595
- package/dist-server/pair-cli.js +784 -595
- package/dist-server/server/atomic-engine-accounts.js +64 -12
- package/dist-server/server/atomic-engine-classes.js +30 -0
- package/dist-server/server/atomic-engine-local.js +41 -0
- package/dist-server/server/chibi-defaults.js +14 -8
- package/dist-server/server/config.js +1 -1
- package/dist-server/server/default-model-selection.js +7 -0
- package/dist-server/server/drivers/acp/custom.js +7 -2
- package/dist-server/server/editor-connect.js +39 -2
- package/dist-server/server/engine-tiers.js +19 -19
- package/dist-server/server/harness-import/engine-policy.js +4 -3
- package/dist-server/server/index.js +13 -13
- package/dist-server/server/model-gateway/failover.js +44 -0
- package/dist-server/server/model-gateway/ladder.js +29 -0
- package/dist-server/server/model-gateway/route.js +104 -0
- package/dist-server/server/plan-credit.js +67 -0
- package/dist-server/server/provider-accounts.js +3 -0
- package/dist-server/server/request-auth.js +3 -0
- package/dist-server/server/routes/provider-accounts.js +46 -5
- package/dist-server/shared/atomic-auto.js +10 -0
- package/dist-server/shared/engine-tiers.js +24 -8
- package/dist-server/shared/harness-weights.js +3 -1
- package/dist-server/shared/provider-accounts.js +42 -5
- package/dist-server/shared/vault-api-providers.js +9 -2
- package/dist-server/vps-container-mcp.js +83 -82
- package/package.json +1 -1
- package/dist/assets/channel-CP6zTF5h.js +0 -1
- package/dist/assets/swimlanesDiagram-TC7HE7FX-BxG6JDb-.js +0 -8
package/dist-server/index.js
CHANGED
|
@@ -32,9 +32,9 @@ var __toESM = (mod3, isNodeMode, target) => (target = mod3 != null ? __create(__
|
|
|
32
32
|
mod3
|
|
33
33
|
));
|
|
34
34
|
|
|
35
|
-
//
|
|
35
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/code.js
|
|
36
36
|
var require_code = __commonJS({
|
|
37
|
-
"
|
|
37
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/code.js"(exports) {
|
|
38
38
|
"use strict";
|
|
39
39
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
40
|
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;
|
|
@@ -186,9 +186,9 @@ var require_code = __commonJS({
|
|
|
186
186
|
}
|
|
187
187
|
});
|
|
188
188
|
|
|
189
|
-
//
|
|
189
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/scope.js
|
|
190
190
|
var require_scope = __commonJS({
|
|
191
|
-
"
|
|
191
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/scope.js"(exports) {
|
|
192
192
|
"use strict";
|
|
193
193
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
194
194
|
exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0;
|
|
@@ -331,9 +331,9 @@ var require_scope = __commonJS({
|
|
|
331
331
|
}
|
|
332
332
|
});
|
|
333
333
|
|
|
334
|
-
//
|
|
334
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/index.js
|
|
335
335
|
var require_codegen = __commonJS({
|
|
336
|
-
"
|
|
336
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/index.js"(exports) {
|
|
337
337
|
"use strict";
|
|
338
338
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
339
339
|
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;
|
|
@@ -1051,9 +1051,9 @@ var require_codegen = __commonJS({
|
|
|
1051
1051
|
}
|
|
1052
1052
|
});
|
|
1053
1053
|
|
|
1054
|
-
//
|
|
1054
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/util.js
|
|
1055
1055
|
var require_util = __commonJS({
|
|
1056
|
-
"
|
|
1056
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/util.js"(exports) {
|
|
1057
1057
|
"use strict";
|
|
1058
1058
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1059
1059
|
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;
|
|
@@ -1218,9 +1218,9 @@ var require_util = __commonJS({
|
|
|
1218
1218
|
}
|
|
1219
1219
|
});
|
|
1220
1220
|
|
|
1221
|
-
//
|
|
1221
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/names.js
|
|
1222
1222
|
var require_names = __commonJS({
|
|
1223
|
-
"
|
|
1223
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/names.js"(exports) {
|
|
1224
1224
|
"use strict";
|
|
1225
1225
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1226
1226
|
var codegen_1 = require_codegen();
|
|
@@ -1257,9 +1257,9 @@ var require_names = __commonJS({
|
|
|
1257
1257
|
}
|
|
1258
1258
|
});
|
|
1259
1259
|
|
|
1260
|
-
//
|
|
1260
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/errors.js
|
|
1261
1261
|
var require_errors = __commonJS({
|
|
1262
|
-
"
|
|
1262
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/errors.js"(exports) {
|
|
1263
1263
|
"use strict";
|
|
1264
1264
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1265
1265
|
exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0;
|
|
@@ -1379,9 +1379,9 @@ var require_errors = __commonJS({
|
|
|
1379
1379
|
}
|
|
1380
1380
|
});
|
|
1381
1381
|
|
|
1382
|
-
//
|
|
1382
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/boolSchema.js
|
|
1383
1383
|
var require_boolSchema = __commonJS({
|
|
1384
|
-
"
|
|
1384
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/boolSchema.js"(exports) {
|
|
1385
1385
|
"use strict";
|
|
1386
1386
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1387
1387
|
exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;
|
|
@@ -1430,9 +1430,9 @@ var require_boolSchema = __commonJS({
|
|
|
1430
1430
|
}
|
|
1431
1431
|
});
|
|
1432
1432
|
|
|
1433
|
-
//
|
|
1433
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/rules.js
|
|
1434
1434
|
var require_rules = __commonJS({
|
|
1435
|
-
"
|
|
1435
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/rules.js"(exports) {
|
|
1436
1436
|
"use strict";
|
|
1437
1437
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1438
1438
|
exports.getRules = exports.isJSONType = void 0;
|
|
@@ -1461,9 +1461,9 @@ var require_rules = __commonJS({
|
|
|
1461
1461
|
}
|
|
1462
1462
|
});
|
|
1463
1463
|
|
|
1464
|
-
//
|
|
1464
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/applicability.js
|
|
1465
1465
|
var require_applicability = __commonJS({
|
|
1466
|
-
"
|
|
1466
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/applicability.js"(exports) {
|
|
1467
1467
|
"use strict";
|
|
1468
1468
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1469
1469
|
exports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = void 0;
|
|
@@ -1484,9 +1484,9 @@ var require_applicability = __commonJS({
|
|
|
1484
1484
|
}
|
|
1485
1485
|
});
|
|
1486
1486
|
|
|
1487
|
-
//
|
|
1487
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/dataType.js
|
|
1488
1488
|
var require_dataType = __commonJS({
|
|
1489
|
-
"
|
|
1489
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/dataType.js"(exports) {
|
|
1490
1490
|
"use strict";
|
|
1491
1491
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1492
1492
|
exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = void 0;
|
|
@@ -1668,9 +1668,9 @@ var require_dataType = __commonJS({
|
|
|
1668
1668
|
}
|
|
1669
1669
|
});
|
|
1670
1670
|
|
|
1671
|
-
//
|
|
1671
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/defaults.js
|
|
1672
1672
|
var require_defaults = __commonJS({
|
|
1673
|
-
"
|
|
1673
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/defaults.js"(exports) {
|
|
1674
1674
|
"use strict";
|
|
1675
1675
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1676
1676
|
exports.assignDefaults = void 0;
|
|
@@ -1705,9 +1705,9 @@ var require_defaults = __commonJS({
|
|
|
1705
1705
|
}
|
|
1706
1706
|
});
|
|
1707
1707
|
|
|
1708
|
-
//
|
|
1708
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/code.js
|
|
1709
1709
|
var require_code2 = __commonJS({
|
|
1710
|
-
"
|
|
1710
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/code.js"(exports) {
|
|
1711
1711
|
"use strict";
|
|
1712
1712
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1713
1713
|
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;
|
|
@@ -1838,9 +1838,9 @@ var require_code2 = __commonJS({
|
|
|
1838
1838
|
}
|
|
1839
1839
|
});
|
|
1840
1840
|
|
|
1841
|
-
//
|
|
1841
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/keyword.js
|
|
1842
1842
|
var require_keyword = __commonJS({
|
|
1843
|
-
"
|
|
1843
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/keyword.js"(exports) {
|
|
1844
1844
|
"use strict";
|
|
1845
1845
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1846
1846
|
exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = void 0;
|
|
@@ -1956,9 +1956,9 @@ var require_keyword = __commonJS({
|
|
|
1956
1956
|
}
|
|
1957
1957
|
});
|
|
1958
1958
|
|
|
1959
|
-
//
|
|
1959
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/subschema.js
|
|
1960
1960
|
var require_subschema = __commonJS({
|
|
1961
|
-
"
|
|
1961
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/subschema.js"(exports) {
|
|
1962
1962
|
"use strict";
|
|
1963
1963
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1964
1964
|
exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = void 0;
|
|
@@ -2039,9 +2039,9 @@ var require_subschema = __commonJS({
|
|
|
2039
2039
|
}
|
|
2040
2040
|
});
|
|
2041
2041
|
|
|
2042
|
-
//
|
|
2042
|
+
// node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js
|
|
2043
2043
|
var require_fast_deep_equal = __commonJS({
|
|
2044
|
-
"
|
|
2044
|
+
"node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js"(exports, module) {
|
|
2045
2045
|
"use strict";
|
|
2046
2046
|
module.exports = function equal(a, b3) {
|
|
2047
2047
|
if (a === b3) return true;
|
|
@@ -2074,9 +2074,9 @@ var require_fast_deep_equal = __commonJS({
|
|
|
2074
2074
|
}
|
|
2075
2075
|
});
|
|
2076
2076
|
|
|
2077
|
-
//
|
|
2077
|
+
// node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js
|
|
2078
2078
|
var require_json_schema_traverse = __commonJS({
|
|
2079
|
-
"
|
|
2079
|
+
"node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js"(exports, module) {
|
|
2080
2080
|
"use strict";
|
|
2081
2081
|
var traverse = module.exports = function(schema5, opts, cb) {
|
|
2082
2082
|
if (typeof opts == "function") {
|
|
@@ -2162,9 +2162,9 @@ var require_json_schema_traverse = __commonJS({
|
|
|
2162
2162
|
}
|
|
2163
2163
|
});
|
|
2164
2164
|
|
|
2165
|
-
//
|
|
2165
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/resolve.js
|
|
2166
2166
|
var require_resolve = __commonJS({
|
|
2167
|
-
"
|
|
2167
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/resolve.js"(exports) {
|
|
2168
2168
|
"use strict";
|
|
2169
2169
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2170
2170
|
exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0;
|
|
@@ -2318,9 +2318,9 @@ var require_resolve = __commonJS({
|
|
|
2318
2318
|
}
|
|
2319
2319
|
});
|
|
2320
2320
|
|
|
2321
|
-
//
|
|
2321
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/index.js
|
|
2322
2322
|
var require_validate = __commonJS({
|
|
2323
|
-
"
|
|
2323
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/index.js"(exports) {
|
|
2324
2324
|
"use strict";
|
|
2325
2325
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2326
2326
|
exports.getData = exports.KeywordCxt = exports.validateFunctionCode = void 0;
|
|
@@ -2826,9 +2826,9 @@ var require_validate = __commonJS({
|
|
|
2826
2826
|
}
|
|
2827
2827
|
});
|
|
2828
2828
|
|
|
2829
|
-
//
|
|
2829
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/validation_error.js
|
|
2830
2830
|
var require_validation_error = __commonJS({
|
|
2831
|
-
"
|
|
2831
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/validation_error.js"(exports) {
|
|
2832
2832
|
"use strict";
|
|
2833
2833
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2834
2834
|
var ValidationError2 = class extends Error {
|
|
@@ -2842,9 +2842,9 @@ var require_validation_error = __commonJS({
|
|
|
2842
2842
|
}
|
|
2843
2843
|
});
|
|
2844
2844
|
|
|
2845
|
-
//
|
|
2845
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/ref_error.js
|
|
2846
2846
|
var require_ref_error = __commonJS({
|
|
2847
|
-
"
|
|
2847
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/ref_error.js"(exports) {
|
|
2848
2848
|
"use strict";
|
|
2849
2849
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2850
2850
|
var resolve_1 = require_resolve();
|
|
@@ -2859,9 +2859,9 @@ var require_ref_error = __commonJS({
|
|
|
2859
2859
|
}
|
|
2860
2860
|
});
|
|
2861
2861
|
|
|
2862
|
-
//
|
|
2862
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/index.js
|
|
2863
2863
|
var require_compile = __commonJS({
|
|
2864
|
-
"
|
|
2864
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/index.js"(exports) {
|
|
2865
2865
|
"use strict";
|
|
2866
2866
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2867
2867
|
exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0;
|
|
@@ -3083,9 +3083,9 @@ var require_compile = __commonJS({
|
|
|
3083
3083
|
}
|
|
3084
3084
|
});
|
|
3085
3085
|
|
|
3086
|
-
//
|
|
3086
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/data.json
|
|
3087
3087
|
var require_data = __commonJS({
|
|
3088
|
-
"
|
|
3088
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/data.json"(exports, module) {
|
|
3089
3089
|
module.exports = {
|
|
3090
3090
|
$id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
|
|
3091
3091
|
description: "Meta-schema for $data reference (JSON AnySchema extension proposal)",
|
|
@@ -3102,9 +3102,9 @@ var require_data = __commonJS({
|
|
|
3102
3102
|
}
|
|
3103
3103
|
});
|
|
3104
3104
|
|
|
3105
|
-
//
|
|
3105
|
+
// node_modules/.pnpm/fast-uri@3.1.8/node_modules/fast-uri/lib/utils.js
|
|
3106
3106
|
var require_utils = __commonJS({
|
|
3107
|
-
"
|
|
3107
|
+
"node_modules/.pnpm/fast-uri@3.1.8/node_modules/fast-uri/lib/utils.js"(exports, module) {
|
|
3108
3108
|
"use strict";
|
|
3109
3109
|
var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
|
|
3110
3110
|
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);
|
|
@@ -3604,9 +3604,9 @@ var require_utils = __commonJS({
|
|
|
3604
3604
|
}
|
|
3605
3605
|
});
|
|
3606
3606
|
|
|
3607
|
-
//
|
|
3607
|
+
// node_modules/.pnpm/fast-uri@3.1.8/node_modules/fast-uri/lib/schemes.js
|
|
3608
3608
|
var require_schemes = __commonJS({
|
|
3609
|
-
"
|
|
3609
|
+
"node_modules/.pnpm/fast-uri@3.1.8/node_modules/fast-uri/lib/schemes.js"(exports, module) {
|
|
3610
3610
|
"use strict";
|
|
3611
3611
|
var { isUUID } = require_utils();
|
|
3612
3612
|
var URN_REG = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu;
|
|
@@ -3815,9 +3815,9 @@ var require_schemes = __commonJS({
|
|
|
3815
3815
|
}
|
|
3816
3816
|
});
|
|
3817
3817
|
|
|
3818
|
-
//
|
|
3818
|
+
// node_modules/.pnpm/fast-uri@3.1.8/node_modules/fast-uri/index.js
|
|
3819
3819
|
var require_fast_uri = __commonJS({
|
|
3820
|
-
"
|
|
3820
|
+
"node_modules/.pnpm/fast-uri@3.1.8/node_modules/fast-uri/index.js"(exports, module) {
|
|
3821
3821
|
"use strict";
|
|
3822
3822
|
var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, serializePathEncoding, normalizeQueryFragmentEncoding, encodeQuery, encodeFragment, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
|
|
3823
3823
|
var { SCHEMES, getSchemeHandler } = require_schemes();
|
|
@@ -4221,9 +4221,9 @@ var require_fast_uri = __commonJS({
|
|
|
4221
4221
|
}
|
|
4222
4222
|
});
|
|
4223
4223
|
|
|
4224
|
-
//
|
|
4224
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/uri.js
|
|
4225
4225
|
var require_uri = __commonJS({
|
|
4226
|
-
"
|
|
4226
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/uri.js"(exports) {
|
|
4227
4227
|
"use strict";
|
|
4228
4228
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4229
4229
|
var uri = require_fast_uri();
|
|
@@ -4232,9 +4232,9 @@ var require_uri = __commonJS({
|
|
|
4232
4232
|
}
|
|
4233
4233
|
});
|
|
4234
4234
|
|
|
4235
|
-
//
|
|
4235
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/core.js
|
|
4236
4236
|
var require_core = __commonJS({
|
|
4237
|
-
"
|
|
4237
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/core.js"(exports) {
|
|
4238
4238
|
"use strict";
|
|
4239
4239
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4240
4240
|
exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
|
|
@@ -4843,9 +4843,9 @@ var require_core = __commonJS({
|
|
|
4843
4843
|
}
|
|
4844
4844
|
});
|
|
4845
4845
|
|
|
4846
|
-
//
|
|
4846
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/id.js
|
|
4847
4847
|
var require_id = __commonJS({
|
|
4848
|
-
"
|
|
4848
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/id.js"(exports) {
|
|
4849
4849
|
"use strict";
|
|
4850
4850
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4851
4851
|
var def = {
|
|
@@ -4858,9 +4858,9 @@ var require_id = __commonJS({
|
|
|
4858
4858
|
}
|
|
4859
4859
|
});
|
|
4860
4860
|
|
|
4861
|
-
//
|
|
4861
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/ref.js
|
|
4862
4862
|
var require_ref = __commonJS({
|
|
4863
|
-
"
|
|
4863
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/ref.js"(exports) {
|
|
4864
4864
|
"use strict";
|
|
4865
4865
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4866
4866
|
exports.callRef = exports.getValidate = void 0;
|
|
@@ -4980,9 +4980,9 @@ var require_ref = __commonJS({
|
|
|
4980
4980
|
}
|
|
4981
4981
|
});
|
|
4982
4982
|
|
|
4983
|
-
//
|
|
4983
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/index.js
|
|
4984
4984
|
var require_core2 = __commonJS({
|
|
4985
|
-
"
|
|
4985
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/index.js"(exports) {
|
|
4986
4986
|
"use strict";
|
|
4987
4987
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4988
4988
|
var id_1 = require_id();
|
|
@@ -5001,9 +5001,9 @@ var require_core2 = __commonJS({
|
|
|
5001
5001
|
}
|
|
5002
5002
|
});
|
|
5003
5003
|
|
|
5004
|
-
//
|
|
5004
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
|
|
5005
5005
|
var require_limitNumber = __commonJS({
|
|
5006
|
-
"
|
|
5006
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports) {
|
|
5007
5007
|
"use strict";
|
|
5008
5008
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5009
5009
|
var codegen_1 = require_codegen();
|
|
@@ -5033,9 +5033,9 @@ var require_limitNumber = __commonJS({
|
|
|
5033
5033
|
}
|
|
5034
5034
|
});
|
|
5035
5035
|
|
|
5036
|
-
//
|
|
5036
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
|
|
5037
5037
|
var require_multipleOf = __commonJS({
|
|
5038
|
-
"
|
|
5038
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports) {
|
|
5039
5039
|
"use strict";
|
|
5040
5040
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5041
5041
|
var codegen_1 = require_codegen();
|
|
@@ -5061,9 +5061,9 @@ var require_multipleOf = __commonJS({
|
|
|
5061
5061
|
}
|
|
5062
5062
|
});
|
|
5063
5063
|
|
|
5064
|
-
//
|
|
5064
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/ucs2length.js
|
|
5065
5065
|
var require_ucs2length = __commonJS({
|
|
5066
|
-
"
|
|
5066
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/ucs2length.js"(exports) {
|
|
5067
5067
|
"use strict";
|
|
5068
5068
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5069
5069
|
function ucs2length(str5) {
|
|
@@ -5087,9 +5087,9 @@ var require_ucs2length = __commonJS({
|
|
|
5087
5087
|
}
|
|
5088
5088
|
});
|
|
5089
5089
|
|
|
5090
|
-
//
|
|
5090
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js
|
|
5091
5091
|
var require_limitLength = __commonJS({
|
|
5092
|
-
"
|
|
5092
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports) {
|
|
5093
5093
|
"use strict";
|
|
5094
5094
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5095
5095
|
var codegen_1 = require_codegen();
|
|
@@ -5119,9 +5119,9 @@ var require_limitLength = __commonJS({
|
|
|
5119
5119
|
}
|
|
5120
5120
|
});
|
|
5121
5121
|
|
|
5122
|
-
//
|
|
5122
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/pattern.js
|
|
5123
5123
|
var require_pattern = __commonJS({
|
|
5124
|
-
"
|
|
5124
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports) {
|
|
5125
5125
|
"use strict";
|
|
5126
5126
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5127
5127
|
var code_1 = require_code2();
|
|
@@ -5156,9 +5156,9 @@ var require_pattern = __commonJS({
|
|
|
5156
5156
|
}
|
|
5157
5157
|
});
|
|
5158
5158
|
|
|
5159
|
-
//
|
|
5159
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
|
|
5160
5160
|
var require_limitProperties = __commonJS({
|
|
5161
|
-
"
|
|
5161
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports) {
|
|
5162
5162
|
"use strict";
|
|
5163
5163
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5164
5164
|
var codegen_1 = require_codegen();
|
|
@@ -5185,9 +5185,9 @@ var require_limitProperties = __commonJS({
|
|
|
5185
5185
|
}
|
|
5186
5186
|
});
|
|
5187
5187
|
|
|
5188
|
-
//
|
|
5188
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/required.js
|
|
5189
5189
|
var require_required = __commonJS({
|
|
5190
|
-
"
|
|
5190
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/required.js"(exports) {
|
|
5191
5191
|
"use strict";
|
|
5192
5192
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5193
5193
|
var code_1 = require_code2();
|
|
@@ -5267,9 +5267,9 @@ var require_required = __commonJS({
|
|
|
5267
5267
|
}
|
|
5268
5268
|
});
|
|
5269
5269
|
|
|
5270
|
-
//
|
|
5270
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js
|
|
5271
5271
|
var require_limitItems = __commonJS({
|
|
5272
|
-
"
|
|
5272
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports) {
|
|
5273
5273
|
"use strict";
|
|
5274
5274
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5275
5275
|
var codegen_1 = require_codegen();
|
|
@@ -5296,9 +5296,9 @@ var require_limitItems = __commonJS({
|
|
|
5296
5296
|
}
|
|
5297
5297
|
});
|
|
5298
5298
|
|
|
5299
|
-
//
|
|
5299
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/equal.js
|
|
5300
5300
|
var require_equal = __commonJS({
|
|
5301
|
-
"
|
|
5301
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/equal.js"(exports) {
|
|
5302
5302
|
"use strict";
|
|
5303
5303
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5304
5304
|
var equal = require_fast_deep_equal();
|
|
@@ -5307,9 +5307,9 @@ var require_equal = __commonJS({
|
|
|
5307
5307
|
}
|
|
5308
5308
|
});
|
|
5309
5309
|
|
|
5310
|
-
//
|
|
5310
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
|
|
5311
5311
|
var require_uniqueItems = __commonJS({
|
|
5312
|
-
"
|
|
5312
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports) {
|
|
5313
5313
|
"use strict";
|
|
5314
5314
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5315
5315
|
var dataType_1 = require_dataType();
|
|
@@ -5374,9 +5374,9 @@ var require_uniqueItems = __commonJS({
|
|
|
5374
5374
|
}
|
|
5375
5375
|
});
|
|
5376
5376
|
|
|
5377
|
-
//
|
|
5377
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/const.js
|
|
5378
5378
|
var require_const = __commonJS({
|
|
5379
|
-
"
|
|
5379
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/const.js"(exports) {
|
|
5380
5380
|
"use strict";
|
|
5381
5381
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5382
5382
|
var codegen_1 = require_codegen();
|
|
@@ -5403,9 +5403,9 @@ var require_const = __commonJS({
|
|
|
5403
5403
|
}
|
|
5404
5404
|
});
|
|
5405
5405
|
|
|
5406
|
-
//
|
|
5406
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/enum.js
|
|
5407
5407
|
var require_enum = __commonJS({
|
|
5408
|
-
"
|
|
5408
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/enum.js"(exports) {
|
|
5409
5409
|
"use strict";
|
|
5410
5410
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5411
5411
|
var codegen_1 = require_codegen();
|
|
@@ -5452,9 +5452,9 @@ var require_enum = __commonJS({
|
|
|
5452
5452
|
}
|
|
5453
5453
|
});
|
|
5454
5454
|
|
|
5455
|
-
//
|
|
5455
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/index.js
|
|
5456
5456
|
var require_validation = __commonJS({
|
|
5457
|
-
"
|
|
5457
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/index.js"(exports) {
|
|
5458
5458
|
"use strict";
|
|
5459
5459
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5460
5460
|
var limitNumber_1 = require_limitNumber();
|
|
@@ -5490,9 +5490,9 @@ var require_validation = __commonJS({
|
|
|
5490
5490
|
}
|
|
5491
5491
|
});
|
|
5492
5492
|
|
|
5493
|
-
//
|
|
5493
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
|
|
5494
5494
|
var require_additionalItems = __commonJS({
|
|
5495
|
-
"
|
|
5495
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports) {
|
|
5496
5496
|
"use strict";
|
|
5497
5497
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5498
5498
|
exports.validateAdditionalItems = void 0;
|
|
@@ -5543,9 +5543,9 @@ var require_additionalItems = __commonJS({
|
|
|
5543
5543
|
}
|
|
5544
5544
|
});
|
|
5545
5545
|
|
|
5546
|
-
//
|
|
5546
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items.js
|
|
5547
5547
|
var require_items = __commonJS({
|
|
5548
|
-
"
|
|
5548
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items.js"(exports) {
|
|
5549
5549
|
"use strict";
|
|
5550
5550
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5551
5551
|
exports.validateTuple = void 0;
|
|
@@ -5600,9 +5600,9 @@ var require_items = __commonJS({
|
|
|
5600
5600
|
}
|
|
5601
5601
|
});
|
|
5602
5602
|
|
|
5603
|
-
//
|
|
5603
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
|
|
5604
5604
|
var require_prefixItems = __commonJS({
|
|
5605
|
-
"
|
|
5605
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports) {
|
|
5606
5606
|
"use strict";
|
|
5607
5607
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5608
5608
|
var items_1 = require_items();
|
|
@@ -5617,9 +5617,9 @@ var require_prefixItems = __commonJS({
|
|
|
5617
5617
|
}
|
|
5618
5618
|
});
|
|
5619
5619
|
|
|
5620
|
-
//
|
|
5620
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js
|
|
5621
5621
|
var require_items2020 = __commonJS({
|
|
5622
|
-
"
|
|
5622
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports) {
|
|
5623
5623
|
"use strict";
|
|
5624
5624
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5625
5625
|
var codegen_1 = require_codegen();
|
|
@@ -5652,9 +5652,9 @@ var require_items2020 = __commonJS({
|
|
|
5652
5652
|
}
|
|
5653
5653
|
});
|
|
5654
5654
|
|
|
5655
|
-
//
|
|
5655
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/contains.js
|
|
5656
5656
|
var require_contains = __commonJS({
|
|
5657
|
-
"
|
|
5657
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports) {
|
|
5658
5658
|
"use strict";
|
|
5659
5659
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5660
5660
|
var codegen_1 = require_codegen();
|
|
@@ -5746,9 +5746,9 @@ var require_contains = __commonJS({
|
|
|
5746
5746
|
}
|
|
5747
5747
|
});
|
|
5748
5748
|
|
|
5749
|
-
//
|
|
5749
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
|
|
5750
5750
|
var require_dependencies = __commonJS({
|
|
5751
|
-
"
|
|
5751
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports) {
|
|
5752
5752
|
"use strict";
|
|
5753
5753
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5754
5754
|
exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0;
|
|
@@ -5840,9 +5840,9 @@ var require_dependencies = __commonJS({
|
|
|
5840
5840
|
}
|
|
5841
5841
|
});
|
|
5842
5842
|
|
|
5843
|
-
//
|
|
5843
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
|
|
5844
5844
|
var require_propertyNames = __commonJS({
|
|
5845
|
-
"
|
|
5845
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports) {
|
|
5846
5846
|
"use strict";
|
|
5847
5847
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5848
5848
|
var codegen_1 = require_codegen();
|
|
@@ -5883,9 +5883,9 @@ var require_propertyNames = __commonJS({
|
|
|
5883
5883
|
}
|
|
5884
5884
|
});
|
|
5885
5885
|
|
|
5886
|
-
//
|
|
5886
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
|
|
5887
5887
|
var require_additionalProperties = __commonJS({
|
|
5888
|
-
"
|
|
5888
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports) {
|
|
5889
5889
|
"use strict";
|
|
5890
5890
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5891
5891
|
var code_1 = require_code2();
|
|
@@ -5989,9 +5989,9 @@ var require_additionalProperties = __commonJS({
|
|
|
5989
5989
|
}
|
|
5990
5990
|
});
|
|
5991
5991
|
|
|
5992
|
-
//
|
|
5992
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/properties.js
|
|
5993
5993
|
var require_properties = __commonJS({
|
|
5994
|
-
"
|
|
5994
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports) {
|
|
5995
5995
|
"use strict";
|
|
5996
5996
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5997
5997
|
var validate_1 = require_validate();
|
|
@@ -6047,9 +6047,9 @@ var require_properties = __commonJS({
|
|
|
6047
6047
|
}
|
|
6048
6048
|
});
|
|
6049
6049
|
|
|
6050
|
-
//
|
|
6050
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
|
|
6051
6051
|
var require_patternProperties = __commonJS({
|
|
6052
|
-
"
|
|
6052
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports) {
|
|
6053
6053
|
"use strict";
|
|
6054
6054
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6055
6055
|
var code_1 = require_code2();
|
|
@@ -6121,9 +6121,9 @@ var require_patternProperties = __commonJS({
|
|
|
6121
6121
|
}
|
|
6122
6122
|
});
|
|
6123
6123
|
|
|
6124
|
-
//
|
|
6124
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/not.js
|
|
6125
6125
|
var require_not = __commonJS({
|
|
6126
|
-
"
|
|
6126
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/not.js"(exports) {
|
|
6127
6127
|
"use strict";
|
|
6128
6128
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6129
6129
|
var util_1 = require_util();
|
|
@@ -6152,9 +6152,9 @@ var require_not = __commonJS({
|
|
|
6152
6152
|
}
|
|
6153
6153
|
});
|
|
6154
6154
|
|
|
6155
|
-
//
|
|
6155
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
|
|
6156
6156
|
var require_anyOf = __commonJS({
|
|
6157
|
-
"
|
|
6157
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports) {
|
|
6158
6158
|
"use strict";
|
|
6159
6159
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6160
6160
|
var code_1 = require_code2();
|
|
@@ -6169,9 +6169,9 @@ var require_anyOf = __commonJS({
|
|
|
6169
6169
|
}
|
|
6170
6170
|
});
|
|
6171
6171
|
|
|
6172
|
-
//
|
|
6172
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
|
|
6173
6173
|
var require_oneOf = __commonJS({
|
|
6174
|
-
"
|
|
6174
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports) {
|
|
6175
6175
|
"use strict";
|
|
6176
6176
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6177
6177
|
var codegen_1 = require_codegen();
|
|
@@ -6227,9 +6227,9 @@ var require_oneOf = __commonJS({
|
|
|
6227
6227
|
}
|
|
6228
6228
|
});
|
|
6229
6229
|
|
|
6230
|
-
//
|
|
6230
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js
|
|
6231
6231
|
var require_allOf = __commonJS({
|
|
6232
|
-
"
|
|
6232
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports) {
|
|
6233
6233
|
"use strict";
|
|
6234
6234
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6235
6235
|
var util_1 = require_util();
|
|
@@ -6254,9 +6254,9 @@ var require_allOf = __commonJS({
|
|
|
6254
6254
|
}
|
|
6255
6255
|
});
|
|
6256
6256
|
|
|
6257
|
-
//
|
|
6257
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/if.js
|
|
6258
6258
|
var require_if = __commonJS({
|
|
6259
|
-
"
|
|
6259
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/if.js"(exports) {
|
|
6260
6260
|
"use strict";
|
|
6261
6261
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6262
6262
|
var codegen_1 = require_codegen();
|
|
@@ -6323,9 +6323,9 @@ var require_if = __commonJS({
|
|
|
6323
6323
|
}
|
|
6324
6324
|
});
|
|
6325
6325
|
|
|
6326
|
-
//
|
|
6326
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
|
|
6327
6327
|
var require_thenElse = __commonJS({
|
|
6328
|
-
"
|
|
6328
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports) {
|
|
6329
6329
|
"use strict";
|
|
6330
6330
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6331
6331
|
var util_1 = require_util();
|
|
@@ -6341,9 +6341,9 @@ var require_thenElse = __commonJS({
|
|
|
6341
6341
|
}
|
|
6342
6342
|
});
|
|
6343
6343
|
|
|
6344
|
-
//
|
|
6344
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/index.js
|
|
6345
6345
|
var require_applicator = __commonJS({
|
|
6346
|
-
"
|
|
6346
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/index.js"(exports) {
|
|
6347
6347
|
"use strict";
|
|
6348
6348
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6349
6349
|
var additionalItems_1 = require_additionalItems();
|
|
@@ -6389,9 +6389,9 @@ var require_applicator = __commonJS({
|
|
|
6389
6389
|
}
|
|
6390
6390
|
});
|
|
6391
6391
|
|
|
6392
|
-
//
|
|
6392
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/format.js
|
|
6393
6393
|
var require_format = __commonJS({
|
|
6394
|
-
"
|
|
6394
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/format.js"(exports) {
|
|
6395
6395
|
"use strict";
|
|
6396
6396
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6397
6397
|
var codegen_1 = require_codegen();
|
|
@@ -6479,9 +6479,9 @@ var require_format = __commonJS({
|
|
|
6479
6479
|
}
|
|
6480
6480
|
});
|
|
6481
6481
|
|
|
6482
|
-
//
|
|
6482
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/index.js
|
|
6483
6483
|
var require_format2 = __commonJS({
|
|
6484
|
-
"
|
|
6484
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/index.js"(exports) {
|
|
6485
6485
|
"use strict";
|
|
6486
6486
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6487
6487
|
var format_1 = require_format();
|
|
@@ -6490,9 +6490,9 @@ var require_format2 = __commonJS({
|
|
|
6490
6490
|
}
|
|
6491
6491
|
});
|
|
6492
6492
|
|
|
6493
|
-
//
|
|
6493
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/metadata.js
|
|
6494
6494
|
var require_metadata = __commonJS({
|
|
6495
|
-
"
|
|
6495
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/metadata.js"(exports) {
|
|
6496
6496
|
"use strict";
|
|
6497
6497
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6498
6498
|
exports.contentVocabulary = exports.metadataVocabulary = void 0;
|
|
@@ -6513,9 +6513,9 @@ var require_metadata = __commonJS({
|
|
|
6513
6513
|
}
|
|
6514
6514
|
});
|
|
6515
6515
|
|
|
6516
|
-
//
|
|
6516
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/draft7.js
|
|
6517
6517
|
var require_draft7 = __commonJS({
|
|
6518
|
-
"
|
|
6518
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/draft7.js"(exports) {
|
|
6519
6519
|
"use strict";
|
|
6520
6520
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6521
6521
|
var core_1 = require_core2();
|
|
@@ -6535,9 +6535,9 @@ var require_draft7 = __commonJS({
|
|
|
6535
6535
|
}
|
|
6536
6536
|
});
|
|
6537
6537
|
|
|
6538
|
-
//
|
|
6538
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/types.js
|
|
6539
6539
|
var require_types = __commonJS({
|
|
6540
|
-
"
|
|
6540
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports) {
|
|
6541
6541
|
"use strict";
|
|
6542
6542
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6543
6543
|
exports.DiscrError = void 0;
|
|
@@ -6549,9 +6549,9 @@ var require_types = __commonJS({
|
|
|
6549
6549
|
}
|
|
6550
6550
|
});
|
|
6551
6551
|
|
|
6552
|
-
//
|
|
6552
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/index.js
|
|
6553
6553
|
var require_discriminator = __commonJS({
|
|
6554
|
-
"
|
|
6554
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports) {
|
|
6555
6555
|
"use strict";
|
|
6556
6556
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6557
6557
|
var codegen_1 = require_codegen();
|
|
@@ -6654,9 +6654,9 @@ var require_discriminator = __commonJS({
|
|
|
6654
6654
|
}
|
|
6655
6655
|
});
|
|
6656
6656
|
|
|
6657
|
-
//
|
|
6657
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-draft-07.json
|
|
6658
6658
|
var require_json_schema_draft_07 = __commonJS({
|
|
6659
|
-
"
|
|
6659
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports, module) {
|
|
6660
6660
|
module.exports = {
|
|
6661
6661
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
6662
6662
|
$id: "http://json-schema.org/draft-07/schema#",
|
|
@@ -6811,9 +6811,9 @@ var require_json_schema_draft_07 = __commonJS({
|
|
|
6811
6811
|
}
|
|
6812
6812
|
});
|
|
6813
6813
|
|
|
6814
|
-
//
|
|
6814
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/ajv.js
|
|
6815
6815
|
var require_ajv = __commonJS({
|
|
6816
|
-
"
|
|
6816
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/ajv.js"(exports, module) {
|
|
6817
6817
|
"use strict";
|
|
6818
6818
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6819
6819
|
exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = void 0;
|
|
@@ -6881,9 +6881,9 @@ var require_ajv = __commonJS({
|
|
|
6881
6881
|
}
|
|
6882
6882
|
});
|
|
6883
6883
|
|
|
6884
|
-
//
|
|
6884
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js
|
|
6885
6885
|
var require_dynamicAnchor = __commonJS({
|
|
6886
|
-
"
|
|
6886
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js"(exports) {
|
|
6887
6887
|
"use strict";
|
|
6888
6888
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6889
6889
|
exports.dynamicAnchor = void 0;
|
|
@@ -6916,9 +6916,9 @@ var require_dynamicAnchor = __commonJS({
|
|
|
6916
6916
|
}
|
|
6917
6917
|
});
|
|
6918
6918
|
|
|
6919
|
-
//
|
|
6919
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js
|
|
6920
6920
|
var require_dynamicRef = __commonJS({
|
|
6921
|
-
"
|
|
6921
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js"(exports) {
|
|
6922
6922
|
"use strict";
|
|
6923
6923
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6924
6924
|
exports.dynamicRef = void 0;
|
|
@@ -6962,9 +6962,9 @@ var require_dynamicRef = __commonJS({
|
|
|
6962
6962
|
}
|
|
6963
6963
|
});
|
|
6964
6964
|
|
|
6965
|
-
//
|
|
6965
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js
|
|
6966
6966
|
var require_recursiveAnchor = __commonJS({
|
|
6967
|
-
"
|
|
6967
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js"(exports) {
|
|
6968
6968
|
"use strict";
|
|
6969
6969
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6970
6970
|
var dynamicAnchor_1 = require_dynamicAnchor();
|
|
@@ -6983,9 +6983,9 @@ var require_recursiveAnchor = __commonJS({
|
|
|
6983
6983
|
}
|
|
6984
6984
|
});
|
|
6985
6985
|
|
|
6986
|
-
//
|
|
6986
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js
|
|
6987
6987
|
var require_recursiveRef = __commonJS({
|
|
6988
|
-
"
|
|
6988
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js"(exports) {
|
|
6989
6989
|
"use strict";
|
|
6990
6990
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6991
6991
|
var dynamicRef_1 = require_dynamicRef();
|
|
@@ -6998,9 +6998,9 @@ var require_recursiveRef = __commonJS({
|
|
|
6998
6998
|
}
|
|
6999
6999
|
});
|
|
7000
7000
|
|
|
7001
|
-
//
|
|
7001
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/index.js
|
|
7002
7002
|
var require_dynamic = __commonJS({
|
|
7003
|
-
"
|
|
7003
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/index.js"(exports) {
|
|
7004
7004
|
"use strict";
|
|
7005
7005
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7006
7006
|
var dynamicAnchor_1 = require_dynamicAnchor();
|
|
@@ -7012,9 +7012,9 @@ var require_dynamic = __commonJS({
|
|
|
7012
7012
|
}
|
|
7013
7013
|
});
|
|
7014
7014
|
|
|
7015
|
-
//
|
|
7015
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js
|
|
7016
7016
|
var require_dependentRequired = __commonJS({
|
|
7017
|
-
"
|
|
7017
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js"(exports) {
|
|
7018
7018
|
"use strict";
|
|
7019
7019
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7020
7020
|
var dependencies_1 = require_dependencies();
|
|
@@ -7029,9 +7029,9 @@ var require_dependentRequired = __commonJS({
|
|
|
7029
7029
|
}
|
|
7030
7030
|
});
|
|
7031
7031
|
|
|
7032
|
-
//
|
|
7032
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js
|
|
7033
7033
|
var require_dependentSchemas = __commonJS({
|
|
7034
|
-
"
|
|
7034
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js"(exports) {
|
|
7035
7035
|
"use strict";
|
|
7036
7036
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7037
7037
|
var dependencies_1 = require_dependencies();
|
|
@@ -7045,9 +7045,9 @@ var require_dependentSchemas = __commonJS({
|
|
|
7045
7045
|
}
|
|
7046
7046
|
});
|
|
7047
7047
|
|
|
7048
|
-
//
|
|
7048
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitContains.js
|
|
7049
7049
|
var require_limitContains = __commonJS({
|
|
7050
|
-
"
|
|
7050
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitContains.js"(exports) {
|
|
7051
7051
|
"use strict";
|
|
7052
7052
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7053
7053
|
var util_1 = require_util();
|
|
@@ -7065,9 +7065,9 @@ var require_limitContains = __commonJS({
|
|
|
7065
7065
|
}
|
|
7066
7066
|
});
|
|
7067
7067
|
|
|
7068
|
-
//
|
|
7068
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/next.js
|
|
7069
7069
|
var require_next = __commonJS({
|
|
7070
|
-
"
|
|
7070
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/next.js"(exports) {
|
|
7071
7071
|
"use strict";
|
|
7072
7072
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7073
7073
|
var dependentRequired_1 = require_dependentRequired();
|
|
@@ -7078,9 +7078,9 @@ var require_next = __commonJS({
|
|
|
7078
7078
|
}
|
|
7079
7079
|
});
|
|
7080
7080
|
|
|
7081
|
-
//
|
|
7081
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js
|
|
7082
7082
|
var require_unevaluatedProperties = __commonJS({
|
|
7083
|
-
"
|
|
7083
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js"(exports) {
|
|
7084
7084
|
"use strict";
|
|
7085
7085
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7086
7086
|
var codegen_1 = require_codegen();
|
|
@@ -7144,9 +7144,9 @@ var require_unevaluatedProperties = __commonJS({
|
|
|
7144
7144
|
}
|
|
7145
7145
|
});
|
|
7146
7146
|
|
|
7147
|
-
//
|
|
7147
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js
|
|
7148
7148
|
var require_unevaluatedItems = __commonJS({
|
|
7149
|
-
"
|
|
7149
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js"(exports) {
|
|
7150
7150
|
"use strict";
|
|
7151
7151
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7152
7152
|
var codegen_1 = require_codegen();
|
|
@@ -7188,9 +7188,9 @@ var require_unevaluatedItems = __commonJS({
|
|
|
7188
7188
|
}
|
|
7189
7189
|
});
|
|
7190
7190
|
|
|
7191
|
-
//
|
|
7191
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/index.js
|
|
7192
7192
|
var require_unevaluated = __commonJS({
|
|
7193
|
-
"
|
|
7193
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/index.js"(exports) {
|
|
7194
7194
|
"use strict";
|
|
7195
7195
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7196
7196
|
var unevaluatedProperties_1 = require_unevaluatedProperties();
|
|
@@ -7200,9 +7200,9 @@ var require_unevaluated = __commonJS({
|
|
|
7200
7200
|
}
|
|
7201
7201
|
});
|
|
7202
7202
|
|
|
7203
|
-
//
|
|
7203
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/draft2020.js
|
|
7204
7204
|
var require_draft2020 = __commonJS({
|
|
7205
|
-
"
|
|
7205
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/draft2020.js"(exports) {
|
|
7206
7206
|
"use strict";
|
|
7207
7207
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7208
7208
|
var core_1 = require_core2();
|
|
@@ -7228,9 +7228,9 @@ var require_draft2020 = __commonJS({
|
|
|
7228
7228
|
}
|
|
7229
7229
|
});
|
|
7230
7230
|
|
|
7231
|
-
//
|
|
7231
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json
|
|
7232
7232
|
var require_schema = __commonJS({
|
|
7233
|
-
"
|
|
7233
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json"(exports, module) {
|
|
7234
7234
|
module.exports = {
|
|
7235
7235
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
7236
7236
|
$id: "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -7288,9 +7288,9 @@ var require_schema = __commonJS({
|
|
|
7288
7288
|
}
|
|
7289
7289
|
});
|
|
7290
7290
|
|
|
7291
|
-
//
|
|
7291
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json
|
|
7292
7292
|
var require_applicator2 = __commonJS({
|
|
7293
|
-
"
|
|
7293
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json"(exports, module) {
|
|
7294
7294
|
module.exports = {
|
|
7295
7295
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
7296
7296
|
$id: "https://json-schema.org/draft/2020-12/meta/applicator",
|
|
@@ -7341,9 +7341,9 @@ var require_applicator2 = __commonJS({
|
|
|
7341
7341
|
}
|
|
7342
7342
|
});
|
|
7343
7343
|
|
|
7344
|
-
//
|
|
7344
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json
|
|
7345
7345
|
var require_unevaluated2 = __commonJS({
|
|
7346
|
-
"
|
|
7346
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json"(exports, module) {
|
|
7347
7347
|
module.exports = {
|
|
7348
7348
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
7349
7349
|
$id: "https://json-schema.org/draft/2020-12/meta/unevaluated",
|
|
@@ -7361,9 +7361,9 @@ var require_unevaluated2 = __commonJS({
|
|
|
7361
7361
|
}
|
|
7362
7362
|
});
|
|
7363
7363
|
|
|
7364
|
-
//
|
|
7364
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json
|
|
7365
7365
|
var require_content = __commonJS({
|
|
7366
|
-
"
|
|
7366
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json"(exports, module) {
|
|
7367
7367
|
module.exports = {
|
|
7368
7368
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
7369
7369
|
$id: "https://json-schema.org/draft/2020-12/meta/content",
|
|
@@ -7382,9 +7382,9 @@ var require_content = __commonJS({
|
|
|
7382
7382
|
}
|
|
7383
7383
|
});
|
|
7384
7384
|
|
|
7385
|
-
//
|
|
7385
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json
|
|
7386
7386
|
var require_core3 = __commonJS({
|
|
7387
|
-
"
|
|
7387
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json"(exports, module) {
|
|
7388
7388
|
module.exports = {
|
|
7389
7389
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
7390
7390
|
$id: "https://json-schema.org/draft/2020-12/meta/core",
|
|
@@ -7438,9 +7438,9 @@ var require_core3 = __commonJS({
|
|
|
7438
7438
|
}
|
|
7439
7439
|
});
|
|
7440
7440
|
|
|
7441
|
-
//
|
|
7441
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json
|
|
7442
7442
|
var require_format_annotation = __commonJS({
|
|
7443
|
-
"
|
|
7443
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json"(exports, module) {
|
|
7444
7444
|
module.exports = {
|
|
7445
7445
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
7446
7446
|
$id: "https://json-schema.org/draft/2020-12/meta/format-annotation",
|
|
@@ -7457,9 +7457,9 @@ var require_format_annotation = __commonJS({
|
|
|
7457
7457
|
}
|
|
7458
7458
|
});
|
|
7459
7459
|
|
|
7460
|
-
//
|
|
7460
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json
|
|
7461
7461
|
var require_meta_data = __commonJS({
|
|
7462
|
-
"
|
|
7462
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json"(exports, module) {
|
|
7463
7463
|
module.exports = {
|
|
7464
7464
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
7465
7465
|
$id: "https://json-schema.org/draft/2020-12/meta/meta-data",
|
|
@@ -7498,9 +7498,9 @@ var require_meta_data = __commonJS({
|
|
|
7498
7498
|
}
|
|
7499
7499
|
});
|
|
7500
7500
|
|
|
7501
|
-
//
|
|
7501
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json
|
|
7502
7502
|
var require_validation2 = __commonJS({
|
|
7503
|
-
"
|
|
7503
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json"(exports, module) {
|
|
7504
7504
|
module.exports = {
|
|
7505
7505
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
7506
7506
|
$id: "https://json-schema.org/draft/2020-12/meta/validation",
|
|
@@ -7593,9 +7593,9 @@ var require_validation2 = __commonJS({
|
|
|
7593
7593
|
}
|
|
7594
7594
|
});
|
|
7595
7595
|
|
|
7596
|
-
//
|
|
7596
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/index.js
|
|
7597
7597
|
var require_json_schema_2020_12 = __commonJS({
|
|
7598
|
-
"
|
|
7598
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/index.js"(exports) {
|
|
7599
7599
|
"use strict";
|
|
7600
7600
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7601
7601
|
var metaSchema = require_schema();
|
|
@@ -7628,9 +7628,9 @@ var require_json_schema_2020_12 = __commonJS({
|
|
|
7628
7628
|
}
|
|
7629
7629
|
});
|
|
7630
7630
|
|
|
7631
|
-
//
|
|
7631
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/2020.js
|
|
7632
7632
|
var require__ = __commonJS({
|
|
7633
|
-
"
|
|
7633
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/2020.js"(exports, module) {
|
|
7634
7634
|
"use strict";
|
|
7635
7635
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7636
7636
|
exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv2020 = void 0;
|
|
@@ -7705,9 +7705,9 @@ var require__ = __commonJS({
|
|
|
7705
7705
|
}
|
|
7706
7706
|
});
|
|
7707
7707
|
|
|
7708
|
-
//
|
|
7708
|
+
// node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.20.0/node_modules/ajv-formats/dist/formats.js
|
|
7709
7709
|
var require_formats = __commonJS({
|
|
7710
|
-
"
|
|
7710
|
+
"node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.20.0/node_modules/ajv-formats/dist/formats.js"(exports) {
|
|
7711
7711
|
"use strict";
|
|
7712
7712
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7713
7713
|
exports.formatNames = exports.fastFormats = exports.fullFormats = void 0;
|
|
@@ -7908,9 +7908,9 @@ var require_formats = __commonJS({
|
|
|
7908
7908
|
}
|
|
7909
7909
|
});
|
|
7910
7910
|
|
|
7911
|
-
//
|
|
7911
|
+
// node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.20.0/node_modules/ajv-formats/dist/limit.js
|
|
7912
7912
|
var require_limit = __commonJS({
|
|
7913
|
-
"
|
|
7913
|
+
"node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.20.0/node_modules/ajv-formats/dist/limit.js"(exports) {
|
|
7914
7914
|
"use strict";
|
|
7915
7915
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7916
7916
|
exports.formatLimitDefinition = void 0;
|
|
@@ -7980,9 +7980,9 @@ var require_limit = __commonJS({
|
|
|
7980
7980
|
}
|
|
7981
7981
|
});
|
|
7982
7982
|
|
|
7983
|
-
//
|
|
7983
|
+
// node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.20.0/node_modules/ajv-formats/dist/index.js
|
|
7984
7984
|
var require_dist = __commonJS({
|
|
7985
|
-
"
|
|
7985
|
+
"node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.20.0/node_modules/ajv-formats/dist/index.js"(exports, module) {
|
|
7986
7986
|
"use strict";
|
|
7987
7987
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7988
7988
|
var formats_1 = require_formats();
|
|
@@ -8044,7 +8044,7 @@ import { open, realpath, stat } from "node:fs/promises";
|
|
|
8044
8044
|
import { basename, extname, isAbsolute, posix, relative, resolve, sep, win32 } from "node:path";
|
|
8045
8045
|
import { fileURLToPath } from "node:url";
|
|
8046
8046
|
|
|
8047
|
-
//
|
|
8047
|
+
// node_modules/.pnpm/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string/lib/index.js
|
|
8048
8048
|
var emptyOptions = {};
|
|
8049
8049
|
function toString(value, options) {
|
|
8050
8050
|
const settings = options || emptyOptions;
|
|
@@ -8081,7 +8081,7 @@ function node(value) {
|
|
|
8081
8081
|
return Boolean(value && typeof value === "object");
|
|
8082
8082
|
}
|
|
8083
8083
|
|
|
8084
|
-
//
|
|
8084
|
+
// node_modules/.pnpm/character-entities@2.0.2/node_modules/character-entities/index.js
|
|
8085
8085
|
var characterEntities = {
|
|
8086
8086
|
AElig: "\xC6",
|
|
8087
8087
|
AMP: "&",
|
|
@@ -10210,13 +10210,13 @@ var characterEntities = {
|
|
|
10210
10210
|
zwnj: "\u200C"
|
|
10211
10211
|
};
|
|
10212
10212
|
|
|
10213
|
-
//
|
|
10213
|
+
// node_modules/.pnpm/decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference/index.js
|
|
10214
10214
|
var own = {}.hasOwnProperty;
|
|
10215
10215
|
function decodeNamedCharacterReference(value) {
|
|
10216
10216
|
return own.call(characterEntities, value) ? characterEntities[value] : false;
|
|
10217
10217
|
}
|
|
10218
10218
|
|
|
10219
|
-
//
|
|
10219
|
+
// node_modules/.pnpm/micromark-util-chunked@2.0.1/node_modules/micromark-util-chunked/index.js
|
|
10220
10220
|
function splice(list3, start, remove, items) {
|
|
10221
10221
|
const end = list3.length;
|
|
10222
10222
|
let chunkStart = 0;
|
|
@@ -10250,7 +10250,7 @@ function push(list3, items) {
|
|
|
10250
10250
|
return items;
|
|
10251
10251
|
}
|
|
10252
10252
|
|
|
10253
|
-
//
|
|
10253
|
+
// node_modules/.pnpm/micromark-util-combine-extensions@2.0.1/node_modules/micromark-util-combine-extensions/index.js
|
|
10254
10254
|
var hasOwnProperty = {}.hasOwnProperty;
|
|
10255
10255
|
function combineExtensions(extensions) {
|
|
10256
10256
|
const all2 = {};
|
|
@@ -10290,7 +10290,7 @@ function constructs(existing, list3) {
|
|
|
10290
10290
|
splice(existing, 0, 0, before);
|
|
10291
10291
|
}
|
|
10292
10292
|
|
|
10293
|
-
//
|
|
10293
|
+
// node_modules/.pnpm/micromark-util-decode-numeric-character-reference@2.0.2/node_modules/micromark-util-decode-numeric-character-reference/index.js
|
|
10294
10294
|
function decodeNumericCharacterReference(value, base5) {
|
|
10295
10295
|
const code = Number.parseInt(value, base5);
|
|
10296
10296
|
if (
|
|
@@ -10308,12 +10308,12 @@ function decodeNumericCharacterReference(value, base5) {
|
|
|
10308
10308
|
return String.fromCodePoint(code);
|
|
10309
10309
|
}
|
|
10310
10310
|
|
|
10311
|
-
//
|
|
10311
|
+
// node_modules/.pnpm/micromark-util-normalize-identifier@2.0.1/node_modules/micromark-util-normalize-identifier/index.js
|
|
10312
10312
|
function normalizeIdentifier(value) {
|
|
10313
10313
|
return value.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
10314
10314
|
}
|
|
10315
10315
|
|
|
10316
|
-
//
|
|
10316
|
+
// node_modules/.pnpm/micromark-util-character@2.1.1/node_modules/micromark-util-character/index.js
|
|
10317
10317
|
var asciiAlpha = regexCheck(/[A-Za-z]/);
|
|
10318
10318
|
var asciiAlphanumeric = regexCheck(/[\dA-Za-z]/);
|
|
10319
10319
|
var asciiAtext = regexCheck(/[#-'*+\--9=?A-Z^-~]/);
|
|
@@ -10345,7 +10345,7 @@ function regexCheck(regex) {
|
|
|
10345
10345
|
}
|
|
10346
10346
|
}
|
|
10347
10347
|
|
|
10348
|
-
//
|
|
10348
|
+
// node_modules/.pnpm/micromark-factory-space@2.0.1/node_modules/micromark-factory-space/index.js
|
|
10349
10349
|
function factorySpace(effects, ok, type, max) {
|
|
10350
10350
|
const limit = max ? max - 1 : Number.POSITIVE_INFINITY;
|
|
10351
10351
|
let size = 0;
|
|
@@ -10367,7 +10367,7 @@ function factorySpace(effects, ok, type, max) {
|
|
|
10367
10367
|
}
|
|
10368
10368
|
}
|
|
10369
10369
|
|
|
10370
|
-
//
|
|
10370
|
+
// node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/content.js
|
|
10371
10371
|
var content = {
|
|
10372
10372
|
tokenize: initializeContent
|
|
10373
10373
|
};
|
|
@@ -10417,7 +10417,7 @@ function initializeContent(effects) {
|
|
|
10417
10417
|
}
|
|
10418
10418
|
}
|
|
10419
10419
|
|
|
10420
|
-
//
|
|
10420
|
+
// node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/document.js
|
|
10421
10421
|
var document = {
|
|
10422
10422
|
tokenize: initializeDocument
|
|
10423
10423
|
};
|
|
@@ -10599,7 +10599,7 @@ function tokenizeContainer(effects, ok, nok) {
|
|
|
10599
10599
|
return factorySpace(effects, effects.attempt(this.parser.constructs.document, ok, nok), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
10600
10600
|
}
|
|
10601
10601
|
|
|
10602
|
-
//
|
|
10602
|
+
// node_modules/.pnpm/micromark-util-classify-character@2.0.1/node_modules/micromark-util-classify-character/index.js
|
|
10603
10603
|
function classifyCharacter(code) {
|
|
10604
10604
|
if (code === null || markdownLineEndingOrSpace(code) || unicodeWhitespace(code)) {
|
|
10605
10605
|
return 1;
|
|
@@ -10609,7 +10609,7 @@ function classifyCharacter(code) {
|
|
|
10609
10609
|
}
|
|
10610
10610
|
}
|
|
10611
10611
|
|
|
10612
|
-
//
|
|
10612
|
+
// node_modules/.pnpm/micromark-util-resolve-all@2.0.1/node_modules/micromark-util-resolve-all/index.js
|
|
10613
10613
|
function resolveAll(constructs2, events, context) {
|
|
10614
10614
|
const called = [];
|
|
10615
10615
|
let index2 = -1;
|
|
@@ -10623,7 +10623,7 @@ function resolveAll(constructs2, events, context) {
|
|
|
10623
10623
|
return events;
|
|
10624
10624
|
}
|
|
10625
10625
|
|
|
10626
|
-
//
|
|
10626
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/attention.js
|
|
10627
10627
|
var attention = {
|
|
10628
10628
|
name: "attention",
|
|
10629
10629
|
resolveAll: resolveAllAttention,
|
|
@@ -10754,7 +10754,7 @@ function movePoint(point3, offset) {
|
|
|
10754
10754
|
point3._bufferIndex += offset;
|
|
10755
10755
|
}
|
|
10756
10756
|
|
|
10757
|
-
//
|
|
10757
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/autolink.js
|
|
10758
10758
|
var autolink = {
|
|
10759
10759
|
name: "autolink",
|
|
10760
10760
|
tokenize: tokenizeAutolink
|
|
@@ -10855,7 +10855,7 @@ function tokenizeAutolink(effects, ok, nok) {
|
|
|
10855
10855
|
}
|
|
10856
10856
|
}
|
|
10857
10857
|
|
|
10858
|
-
//
|
|
10858
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/blank-line.js
|
|
10859
10859
|
var blankLine = {
|
|
10860
10860
|
partial: true,
|
|
10861
10861
|
tokenize: tokenizeBlankLine
|
|
@@ -10870,7 +10870,7 @@ function tokenizeBlankLine(effects, ok, nok) {
|
|
|
10870
10870
|
}
|
|
10871
10871
|
}
|
|
10872
10872
|
|
|
10873
|
-
//
|
|
10873
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/block-quote.js
|
|
10874
10874
|
var blockQuote = {
|
|
10875
10875
|
continuation: {
|
|
10876
10876
|
tokenize: tokenizeBlockQuoteContinuation
|
|
@@ -10928,7 +10928,7 @@ function exit(effects) {
|
|
|
10928
10928
|
effects.exit("blockQuote");
|
|
10929
10929
|
}
|
|
10930
10930
|
|
|
10931
|
-
//
|
|
10931
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/character-escape.js
|
|
10932
10932
|
var characterEscape = {
|
|
10933
10933
|
name: "characterEscape",
|
|
10934
10934
|
tokenize: tokenizeCharacterEscape
|
|
@@ -10954,7 +10954,7 @@ function tokenizeCharacterEscape(effects, ok, nok) {
|
|
|
10954
10954
|
}
|
|
10955
10955
|
}
|
|
10956
10956
|
|
|
10957
|
-
//
|
|
10957
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/character-reference.js
|
|
10958
10958
|
var characterReference = {
|
|
10959
10959
|
name: "characterReference",
|
|
10960
10960
|
tokenize: tokenizeCharacterReference
|
|
@@ -11019,7 +11019,7 @@ function tokenizeCharacterReference(effects, ok, nok) {
|
|
|
11019
11019
|
}
|
|
11020
11020
|
}
|
|
11021
11021
|
|
|
11022
|
-
//
|
|
11022
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-fenced.js
|
|
11023
11023
|
var nonLazyContinuation = {
|
|
11024
11024
|
partial: true,
|
|
11025
11025
|
tokenize: tokenizeNonLazyContinuation
|
|
@@ -11202,7 +11202,7 @@ function tokenizeNonLazyContinuation(effects, ok, nok) {
|
|
|
11202
11202
|
}
|
|
11203
11203
|
}
|
|
11204
11204
|
|
|
11205
|
-
//
|
|
11205
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-indented.js
|
|
11206
11206
|
var codeIndented = {
|
|
11207
11207
|
name: "codeIndented",
|
|
11208
11208
|
tokenize: tokenizeCodeIndented
|
|
@@ -11266,7 +11266,7 @@ function tokenizeFurtherStart(effects, ok, nok) {
|
|
|
11266
11266
|
}
|
|
11267
11267
|
}
|
|
11268
11268
|
|
|
11269
|
-
//
|
|
11269
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-text.js
|
|
11270
11270
|
var codeText = {
|
|
11271
11271
|
name: "codeText",
|
|
11272
11272
|
previous,
|
|
@@ -11381,7 +11381,7 @@ function tokenizeCodeText(effects, ok, nok) {
|
|
|
11381
11381
|
}
|
|
11382
11382
|
}
|
|
11383
11383
|
|
|
11384
|
-
//
|
|
11384
|
+
// node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/lib/splice-buffer.js
|
|
11385
11385
|
var SpliceBuffer = class {
|
|
11386
11386
|
/**
|
|
11387
11387
|
* @param {ReadonlyArray<T> | null | undefined} [initial]
|
|
@@ -11574,7 +11574,7 @@ function chunkedPush(list3, right) {
|
|
|
11574
11574
|
}
|
|
11575
11575
|
}
|
|
11576
11576
|
|
|
11577
|
-
//
|
|
11577
|
+
// node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/index.js
|
|
11578
11578
|
function subtokenize(eventsArray) {
|
|
11579
11579
|
const jumps = {};
|
|
11580
11580
|
let index2 = -1;
|
|
@@ -11727,7 +11727,7 @@ function subcontent(events, eventIndex) {
|
|
|
11727
11727
|
return gaps;
|
|
11728
11728
|
}
|
|
11729
11729
|
|
|
11730
|
-
//
|
|
11730
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/content.js
|
|
11731
11731
|
var content2 = {
|
|
11732
11732
|
resolve: resolveContent,
|
|
11733
11733
|
tokenize: tokenizeContent
|
|
@@ -11798,7 +11798,7 @@ function tokenizeContinuation(effects, ok, nok) {
|
|
|
11798
11798
|
}
|
|
11799
11799
|
}
|
|
11800
11800
|
|
|
11801
|
-
//
|
|
11801
|
+
// node_modules/.pnpm/micromark-factory-destination@2.0.1/node_modules/micromark-factory-destination/index.js
|
|
11802
11802
|
function factoryDestination(effects, ok, nok, type, literalType, literalMarkerType, rawType, stringType, max) {
|
|
11803
11803
|
const limit = max || Number.POSITIVE_INFINITY;
|
|
11804
11804
|
let balance = 0;
|
|
@@ -11890,7 +11890,7 @@ function factoryDestination(effects, ok, nok, type, literalType, literalMarkerTy
|
|
|
11890
11890
|
}
|
|
11891
11891
|
}
|
|
11892
11892
|
|
|
11893
|
-
//
|
|
11893
|
+
// node_modules/.pnpm/micromark-factory-label@2.0.1/node_modules/micromark-factory-label/index.js
|
|
11894
11894
|
function factoryLabel(effects, ok, nok, type, markerType, stringType) {
|
|
11895
11895
|
const self = this;
|
|
11896
11896
|
let size = 0;
|
|
@@ -11951,7 +11951,7 @@ function factoryLabel(effects, ok, nok, type, markerType, stringType) {
|
|
|
11951
11951
|
}
|
|
11952
11952
|
}
|
|
11953
11953
|
|
|
11954
|
-
//
|
|
11954
|
+
// node_modules/.pnpm/micromark-factory-title@2.0.1/node_modules/micromark-factory-title/index.js
|
|
11955
11955
|
function factoryTitle(effects, ok, nok, type, markerType, stringType) {
|
|
11956
11956
|
let marker2;
|
|
11957
11957
|
return start;
|
|
@@ -12013,7 +12013,7 @@ function factoryTitle(effects, ok, nok, type, markerType, stringType) {
|
|
|
12013
12013
|
}
|
|
12014
12014
|
}
|
|
12015
12015
|
|
|
12016
|
-
//
|
|
12016
|
+
// node_modules/.pnpm/micromark-factory-whitespace@2.0.1/node_modules/micromark-factory-whitespace/index.js
|
|
12017
12017
|
function factoryWhitespace(effects, ok) {
|
|
12018
12018
|
let seen;
|
|
12019
12019
|
return start;
|
|
@@ -12032,7 +12032,7 @@ function factoryWhitespace(effects, ok) {
|
|
|
12032
12032
|
}
|
|
12033
12033
|
}
|
|
12034
12034
|
|
|
12035
|
-
//
|
|
12035
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/definition.js
|
|
12036
12036
|
var definition = {
|
|
12037
12037
|
name: "definition",
|
|
12038
12038
|
tokenize: tokenizeDefinition
|
|
@@ -12118,7 +12118,7 @@ function tokenizeTitleBefore(effects, ok, nok) {
|
|
|
12118
12118
|
}
|
|
12119
12119
|
}
|
|
12120
12120
|
|
|
12121
|
-
//
|
|
12121
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/hard-break-escape.js
|
|
12122
12122
|
var hardBreakEscape = {
|
|
12123
12123
|
name: "hardBreakEscape",
|
|
12124
12124
|
tokenize: tokenizeHardBreakEscape
|
|
@@ -12139,7 +12139,7 @@ function tokenizeHardBreakEscape(effects, ok, nok) {
|
|
|
12139
12139
|
}
|
|
12140
12140
|
}
|
|
12141
12141
|
|
|
12142
|
-
//
|
|
12142
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/heading-atx.js
|
|
12143
12143
|
var headingAtx = {
|
|
12144
12144
|
name: "headingAtx",
|
|
12145
12145
|
resolve: resolveHeadingAtx,
|
|
@@ -12230,7 +12230,7 @@ function tokenizeHeadingAtx(effects, ok, nok) {
|
|
|
12230
12230
|
}
|
|
12231
12231
|
}
|
|
12232
12232
|
|
|
12233
|
-
//
|
|
12233
|
+
// node_modules/.pnpm/micromark-util-html-tag-name@2.0.1/node_modules/micromark-util-html-tag-name/index.js
|
|
12234
12234
|
var htmlBlockNames = [
|
|
12235
12235
|
"address",
|
|
12236
12236
|
"article",
|
|
@@ -12297,7 +12297,7 @@ var htmlBlockNames = [
|
|
|
12297
12297
|
];
|
|
12298
12298
|
var htmlRawNames = ["pre", "script", "style", "textarea"];
|
|
12299
12299
|
|
|
12300
|
-
//
|
|
12300
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/html-flow.js
|
|
12301
12301
|
var htmlFlow = {
|
|
12302
12302
|
concrete: true,
|
|
12303
12303
|
name: "htmlFlow",
|
|
@@ -12676,7 +12676,7 @@ function tokenizeBlankLineBefore(effects, ok, nok) {
|
|
|
12676
12676
|
}
|
|
12677
12677
|
}
|
|
12678
12678
|
|
|
12679
|
-
//
|
|
12679
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/html-text.js
|
|
12680
12680
|
var htmlText = {
|
|
12681
12681
|
name: "htmlText",
|
|
12682
12682
|
tokenize: tokenizeHtmlText
|
|
@@ -12982,7 +12982,7 @@ function tokenizeHtmlText(effects, ok, nok) {
|
|
|
12982
12982
|
}
|
|
12983
12983
|
}
|
|
12984
12984
|
|
|
12985
|
-
//
|
|
12985
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-end.js
|
|
12986
12986
|
var labelEnd = {
|
|
12987
12987
|
name: "labelEnd",
|
|
12988
12988
|
resolveAll: resolveAllLabelEnd,
|
|
@@ -13208,7 +13208,7 @@ function tokenizeReferenceCollapsed(effects, ok, nok) {
|
|
|
13208
13208
|
}
|
|
13209
13209
|
}
|
|
13210
13210
|
|
|
13211
|
-
//
|
|
13211
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-start-image.js
|
|
13212
13212
|
var labelStartImage = {
|
|
13213
13213
|
name: "labelStartImage",
|
|
13214
13214
|
resolveAll: labelEnd.resolveAll,
|
|
@@ -13239,7 +13239,7 @@ function tokenizeLabelStartImage(effects, ok, nok) {
|
|
|
13239
13239
|
}
|
|
13240
13240
|
}
|
|
13241
13241
|
|
|
13242
|
-
//
|
|
13242
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-start-link.js
|
|
13243
13243
|
var labelStartLink = {
|
|
13244
13244
|
name: "labelStartLink",
|
|
13245
13245
|
resolveAll: labelEnd.resolveAll,
|
|
@@ -13261,7 +13261,7 @@ function tokenizeLabelStartLink(effects, ok, nok) {
|
|
|
13261
13261
|
}
|
|
13262
13262
|
}
|
|
13263
13263
|
|
|
13264
|
-
//
|
|
13264
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/line-ending.js
|
|
13265
13265
|
var lineEnding = {
|
|
13266
13266
|
name: "lineEnding",
|
|
13267
13267
|
tokenize: tokenizeLineEnding
|
|
@@ -13276,7 +13276,7 @@ function tokenizeLineEnding(effects, ok) {
|
|
|
13276
13276
|
}
|
|
13277
13277
|
}
|
|
13278
13278
|
|
|
13279
|
-
//
|
|
13279
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/thematic-break.js
|
|
13280
13280
|
var thematicBreak = {
|
|
13281
13281
|
name: "thematicBreak",
|
|
13282
13282
|
tokenize: tokenizeThematicBreak
|
|
@@ -13315,7 +13315,7 @@ function tokenizeThematicBreak(effects, ok, nok) {
|
|
|
13315
13315
|
}
|
|
13316
13316
|
}
|
|
13317
13317
|
|
|
13318
|
-
//
|
|
13318
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/list.js
|
|
13319
13319
|
var list = {
|
|
13320
13320
|
continuation: {
|
|
13321
13321
|
tokenize: tokenizeListContinuation
|
|
@@ -13445,7 +13445,7 @@ function tokenizeListItemPrefixWhitespace(effects, ok, nok) {
|
|
|
13445
13445
|
}
|
|
13446
13446
|
}
|
|
13447
13447
|
|
|
13448
|
-
//
|
|
13448
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/setext-underline.js
|
|
13449
13449
|
var setextUnderline = {
|
|
13450
13450
|
name: "setextUnderline",
|
|
13451
13451
|
resolveTo: resolveToSetextUnderline,
|
|
@@ -13537,7 +13537,7 @@ function tokenizeSetextUnderline(effects, ok, nok) {
|
|
|
13537
13537
|
}
|
|
13538
13538
|
}
|
|
13539
13539
|
|
|
13540
|
-
//
|
|
13540
|
+
// node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/flow.js
|
|
13541
13541
|
var flow = {
|
|
13542
13542
|
tokenize: initializeFlow
|
|
13543
13543
|
};
|
|
@@ -13575,7 +13575,7 @@ function initializeFlow(effects) {
|
|
|
13575
13575
|
}
|
|
13576
13576
|
}
|
|
13577
13577
|
|
|
13578
|
-
//
|
|
13578
|
+
// node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/text.js
|
|
13579
13579
|
var resolver = {
|
|
13580
13580
|
resolveAll: createResolver()
|
|
13581
13581
|
};
|
|
@@ -13714,7 +13714,7 @@ function resolveAllLineSuffixes(events, context) {
|
|
|
13714
13714
|
return events;
|
|
13715
13715
|
}
|
|
13716
13716
|
|
|
13717
|
-
//
|
|
13717
|
+
// node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/constructs.js
|
|
13718
13718
|
var constructs_exports = {};
|
|
13719
13719
|
__export(constructs_exports, {
|
|
13720
13720
|
attentionMarkers: () => attentionMarkers,
|
|
@@ -13789,7 +13789,7 @@ var disable = {
|
|
|
13789
13789
|
null: []
|
|
13790
13790
|
};
|
|
13791
13791
|
|
|
13792
|
-
//
|
|
13792
|
+
// node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/create-tokenizer.js
|
|
13793
13793
|
function createTokenizer(parser, initialize, from) {
|
|
13794
13794
|
let point3 = {
|
|
13795
13795
|
_bufferIndex: -1,
|
|
@@ -14112,7 +14112,7 @@ function serializeChunks(chunks, expandTabs) {
|
|
|
14112
14112
|
return result.join("");
|
|
14113
14113
|
}
|
|
14114
14114
|
|
|
14115
|
-
//
|
|
14115
|
+
// node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/parse.js
|
|
14116
14116
|
function parse(options) {
|
|
14117
14117
|
const settings = options || {};
|
|
14118
14118
|
const constructs2 = (
|
|
@@ -14138,14 +14138,14 @@ function parse(options) {
|
|
|
14138
14138
|
}
|
|
14139
14139
|
}
|
|
14140
14140
|
|
|
14141
|
-
//
|
|
14141
|
+
// node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/postprocess.js
|
|
14142
14142
|
function postprocess(events) {
|
|
14143
14143
|
while (!subtokenize(events)) {
|
|
14144
14144
|
}
|
|
14145
14145
|
return events;
|
|
14146
14146
|
}
|
|
14147
14147
|
|
|
14148
|
-
//
|
|
14148
|
+
// node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/preprocess.js
|
|
14149
14149
|
var search = /[\0\t\n\r]/g;
|
|
14150
14150
|
function preprocess() {
|
|
14151
14151
|
let column = 1;
|
|
@@ -14224,7 +14224,7 @@ function preprocess() {
|
|
|
14224
14224
|
}
|
|
14225
14225
|
}
|
|
14226
14226
|
|
|
14227
|
-
//
|
|
14227
|
+
// node_modules/.pnpm/micromark-util-decode-string@2.0.1/node_modules/micromark-util-decode-string/index.js
|
|
14228
14228
|
var characterEscapeOrReference = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
|
|
14229
14229
|
function decodeString(value) {
|
|
14230
14230
|
return value.replace(characterEscapeOrReference, decode);
|
|
@@ -14242,7 +14242,7 @@ function decode($0, $1, $2) {
|
|
|
14242
14242
|
return decodeNamedCharacterReference($2) || $0;
|
|
14243
14243
|
}
|
|
14244
14244
|
|
|
14245
|
-
//
|
|
14245
|
+
// node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/lib/index.js
|
|
14246
14246
|
function stringifyPosition(value) {
|
|
14247
14247
|
if (!value || typeof value !== "object") {
|
|
14248
14248
|
return "";
|
|
@@ -14268,7 +14268,7 @@ function index(value) {
|
|
|
14268
14268
|
return value && typeof value === "number" ? value : 1;
|
|
14269
14269
|
}
|
|
14270
14270
|
|
|
14271
|
-
//
|
|
14271
|
+
// node_modules/.pnpm/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/lib/index.js
|
|
14272
14272
|
var own2 = {}.hasOwnProperty;
|
|
14273
14273
|
function fromMarkdown(value, encoding, options) {
|
|
14274
14274
|
if (encoding && typeof encoding === "object") {
|
|
@@ -15483,7 +15483,7 @@ import { realpath as realpath2, stat as stat2 } from "node:fs/promises";
|
|
|
15483
15483
|
import { homedir } from "node:os";
|
|
15484
15484
|
import { isAbsolute as isAbsolute2, join, relative as relative2, resolve as resolve2, sep as sep2 } from "node:path";
|
|
15485
15485
|
|
|
15486
|
-
//
|
|
15486
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/external.js
|
|
15487
15487
|
var external_exports = {};
|
|
15488
15488
|
__export(external_exports, {
|
|
15489
15489
|
$brand: () => $brand,
|
|
@@ -15726,7 +15726,7 @@ __export(external_exports, {
|
|
|
15726
15726
|
xor: () => xor
|
|
15727
15727
|
});
|
|
15728
15728
|
|
|
15729
|
-
//
|
|
15729
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/index.js
|
|
15730
15730
|
var core_exports2 = {};
|
|
15731
15731
|
__export(core_exports2, {
|
|
15732
15732
|
$ZodAny: () => $ZodAny,
|
|
@@ -16005,7 +16005,7 @@ __export(core_exports2, {
|
|
|
16005
16005
|
version: () => version
|
|
16006
16006
|
});
|
|
16007
16007
|
|
|
16008
|
-
//
|
|
16008
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.js
|
|
16009
16009
|
var _a;
|
|
16010
16010
|
var NEVER = /* @__PURE__ */ Object.freeze({
|
|
16011
16011
|
status: "aborted"
|
|
@@ -16082,7 +16082,7 @@ function config(newConfig) {
|
|
|
16082
16082
|
return globalConfig;
|
|
16083
16083
|
}
|
|
16084
16084
|
|
|
16085
|
-
//
|
|
16085
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/util.js
|
|
16086
16086
|
var util_exports = {};
|
|
16087
16087
|
__export(util_exports, {
|
|
16088
16088
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -16778,7 +16778,7 @@ var Class = class {
|
|
|
16778
16778
|
}
|
|
16779
16779
|
};
|
|
16780
16780
|
|
|
16781
|
-
//
|
|
16781
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/errors.js
|
|
16782
16782
|
var initializer = (inst, def) => {
|
|
16783
16783
|
inst.name = "$ZodError";
|
|
16784
16784
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -16917,7 +16917,7 @@ function prettifyError(error51) {
|
|
|
16917
16917
|
return lines.join("\n");
|
|
16918
16918
|
}
|
|
16919
16919
|
|
|
16920
|
-
//
|
|
16920
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/parse.js
|
|
16921
16921
|
var _parse = (_Err) => (schema5, value, _ctx, _params) => {
|
|
16922
16922
|
const ctx = _ctx ? { ..._ctx, async: false } : { async: false };
|
|
16923
16923
|
const result = schema5._zod.run({ value, issues: [] }, ctx);
|
|
@@ -17005,7 +17005,7 @@ var _safeDecodeAsync = (_Err) => async (schema5, value, _ctx) => {
|
|
|
17005
17005
|
};
|
|
17006
17006
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
17007
17007
|
|
|
17008
|
-
//
|
|
17008
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/regexes.js
|
|
17009
17009
|
var regexes_exports = {};
|
|
17010
17010
|
__export(regexes_exports, {
|
|
17011
17011
|
base64: () => base64,
|
|
@@ -17164,7 +17164,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
17164
17164
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
17165
17165
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
17166
17166
|
|
|
17167
|
-
//
|
|
17167
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/checks.js
|
|
17168
17168
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
17169
17169
|
var _a4;
|
|
17170
17170
|
inst._zod ?? (inst._zod = {});
|
|
@@ -17712,7 +17712,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
17712
17712
|
};
|
|
17713
17713
|
});
|
|
17714
17714
|
|
|
17715
|
-
//
|
|
17715
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/doc.js
|
|
17716
17716
|
var Doc = class {
|
|
17717
17717
|
constructor(args = []) {
|
|
17718
17718
|
this.content = [];
|
|
@@ -17748,14 +17748,14 @@ var Doc = class {
|
|
|
17748
17748
|
}
|
|
17749
17749
|
};
|
|
17750
17750
|
|
|
17751
|
-
//
|
|
17751
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/versions.js
|
|
17752
17752
|
var version = {
|
|
17753
17753
|
major: 4,
|
|
17754
17754
|
minor: 4,
|
|
17755
17755
|
patch: 3
|
|
17756
17756
|
};
|
|
17757
17757
|
|
|
17758
|
-
//
|
|
17758
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/schemas.js
|
|
17759
17759
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
17760
17760
|
var _a4;
|
|
17761
17761
|
inst ?? (inst = {});
|
|
@@ -19848,7 +19848,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
19848
19848
|
}
|
|
19849
19849
|
}
|
|
19850
19850
|
|
|
19851
|
-
//
|
|
19851
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/index.js
|
|
19852
19852
|
var locales_exports = {};
|
|
19853
19853
|
__export(locales_exports, {
|
|
19854
19854
|
ar: () => ar_default,
|
|
@@ -19905,7 +19905,7 @@ __export(locales_exports, {
|
|
|
19905
19905
|
zhTW: () => zh_TW_default
|
|
19906
19906
|
});
|
|
19907
19907
|
|
|
19908
|
-
//
|
|
19908
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ar.js
|
|
19909
19909
|
var error = () => {
|
|
19910
19910
|
const Sizable = {
|
|
19911
19911
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -20012,7 +20012,7 @@ function ar_default() {
|
|
|
20012
20012
|
};
|
|
20013
20013
|
}
|
|
20014
20014
|
|
|
20015
|
-
//
|
|
20015
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/az.js
|
|
20016
20016
|
var error2 = () => {
|
|
20017
20017
|
const Sizable = {
|
|
20018
20018
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -20118,7 +20118,7 @@ function az_default() {
|
|
|
20118
20118
|
};
|
|
20119
20119
|
}
|
|
20120
20120
|
|
|
20121
|
-
//
|
|
20121
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/be.js
|
|
20122
20122
|
function getBelarusianPlural(count, one2, few, many) {
|
|
20123
20123
|
const absCount = Math.abs(count);
|
|
20124
20124
|
const lastDigit = absCount % 10;
|
|
@@ -20275,7 +20275,7 @@ function be_default() {
|
|
|
20275
20275
|
};
|
|
20276
20276
|
}
|
|
20277
20277
|
|
|
20278
|
-
//
|
|
20278
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/bg.js
|
|
20279
20279
|
var error4 = () => {
|
|
20280
20280
|
const Sizable = {
|
|
20281
20281
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
@@ -20396,7 +20396,7 @@ function bg_default() {
|
|
|
20396
20396
|
};
|
|
20397
20397
|
}
|
|
20398
20398
|
|
|
20399
|
-
//
|
|
20399
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ca.js
|
|
20400
20400
|
var error5 = () => {
|
|
20401
20401
|
const Sizable = {
|
|
20402
20402
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
@@ -20505,7 +20505,7 @@ function ca_default() {
|
|
|
20505
20505
|
};
|
|
20506
20506
|
}
|
|
20507
20507
|
|
|
20508
|
-
//
|
|
20508
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/cs.js
|
|
20509
20509
|
var error6 = () => {
|
|
20510
20510
|
const Sizable = {
|
|
20511
20511
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
@@ -20617,7 +20617,7 @@ function cs_default() {
|
|
|
20617
20617
|
};
|
|
20618
20618
|
}
|
|
20619
20619
|
|
|
20620
|
-
//
|
|
20620
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/da.js
|
|
20621
20621
|
var error7 = () => {
|
|
20622
20622
|
const Sizable = {
|
|
20623
20623
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -20733,7 +20733,7 @@ function da_default() {
|
|
|
20733
20733
|
};
|
|
20734
20734
|
}
|
|
20735
20735
|
|
|
20736
|
-
//
|
|
20736
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/de.js
|
|
20737
20737
|
var error8 = () => {
|
|
20738
20738
|
const Sizable = {
|
|
20739
20739
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -20842,7 +20842,7 @@ function de_default() {
|
|
|
20842
20842
|
};
|
|
20843
20843
|
}
|
|
20844
20844
|
|
|
20845
|
-
//
|
|
20845
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/el.js
|
|
20846
20846
|
var error9 = () => {
|
|
20847
20847
|
const Sizable = {
|
|
20848
20848
|
string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
@@ -20952,7 +20952,7 @@ function el_default() {
|
|
|
20952
20952
|
};
|
|
20953
20953
|
}
|
|
20954
20954
|
|
|
20955
|
-
//
|
|
20955
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/en.js
|
|
20956
20956
|
var error10 = () => {
|
|
20957
20957
|
const Sizable = {
|
|
20958
20958
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -21065,7 +21065,7 @@ function en_default() {
|
|
|
21065
21065
|
};
|
|
21066
21066
|
}
|
|
21067
21067
|
|
|
21068
|
-
//
|
|
21068
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/eo.js
|
|
21069
21069
|
var error11 = () => {
|
|
21070
21070
|
const Sizable = {
|
|
21071
21071
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -21175,7 +21175,7 @@ function eo_default() {
|
|
|
21175
21175
|
};
|
|
21176
21176
|
}
|
|
21177
21177
|
|
|
21178
|
-
//
|
|
21178
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/es.js
|
|
21179
21179
|
var error12 = () => {
|
|
21180
21180
|
const Sizable = {
|
|
21181
21181
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -21308,7 +21308,7 @@ function es_default() {
|
|
|
21308
21308
|
};
|
|
21309
21309
|
}
|
|
21310
21310
|
|
|
21311
|
-
//
|
|
21311
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fa.js
|
|
21312
21312
|
var error13 = () => {
|
|
21313
21313
|
const Sizable = {
|
|
21314
21314
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -21423,7 +21423,7 @@ function fa_default() {
|
|
|
21423
21423
|
};
|
|
21424
21424
|
}
|
|
21425
21425
|
|
|
21426
|
-
//
|
|
21426
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fi.js
|
|
21427
21427
|
var error14 = () => {
|
|
21428
21428
|
const Sizable = {
|
|
21429
21429
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
@@ -21536,7 +21536,7 @@ function fi_default() {
|
|
|
21536
21536
|
};
|
|
21537
21537
|
}
|
|
21538
21538
|
|
|
21539
|
-
//
|
|
21539
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fr.js
|
|
21540
21540
|
var error15 = () => {
|
|
21541
21541
|
const Sizable = {
|
|
21542
21542
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -21662,7 +21662,7 @@ function fr_default() {
|
|
|
21662
21662
|
};
|
|
21663
21663
|
}
|
|
21664
21664
|
|
|
21665
|
-
//
|
|
21665
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fr-CA.js
|
|
21666
21666
|
var error16 = () => {
|
|
21667
21667
|
const Sizable = {
|
|
21668
21668
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -21770,7 +21770,7 @@ function fr_CA_default() {
|
|
|
21770
21770
|
};
|
|
21771
21771
|
}
|
|
21772
21772
|
|
|
21773
|
-
//
|
|
21773
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/he.js
|
|
21774
21774
|
var error17 = () => {
|
|
21775
21775
|
const TypeNames = {
|
|
21776
21776
|
string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
|
|
@@ -21965,7 +21965,7 @@ function he_default() {
|
|
|
21965
21965
|
};
|
|
21966
21966
|
}
|
|
21967
21967
|
|
|
21968
|
-
//
|
|
21968
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/hr.js
|
|
21969
21969
|
var error18 = () => {
|
|
21970
21970
|
const Sizable = {
|
|
21971
21971
|
string: { unit: "znakova", verb: "imati" },
|
|
@@ -22088,7 +22088,7 @@ function hr_default() {
|
|
|
22088
22088
|
};
|
|
22089
22089
|
}
|
|
22090
22090
|
|
|
22091
|
-
//
|
|
22091
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/hu.js
|
|
22092
22092
|
var error19 = () => {
|
|
22093
22093
|
const Sizable = {
|
|
22094
22094
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -22197,7 +22197,7 @@ function hu_default() {
|
|
|
22197
22197
|
};
|
|
22198
22198
|
}
|
|
22199
22199
|
|
|
22200
|
-
//
|
|
22200
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/hy.js
|
|
22201
22201
|
function getArmenianPlural(count, one2, many) {
|
|
22202
22202
|
return Math.abs(count) === 1 ? one2 : many;
|
|
22203
22203
|
}
|
|
@@ -22345,7 +22345,7 @@ function hy_default() {
|
|
|
22345
22345
|
};
|
|
22346
22346
|
}
|
|
22347
22347
|
|
|
22348
|
-
//
|
|
22348
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/id.js
|
|
22349
22349
|
var error21 = () => {
|
|
22350
22350
|
const Sizable = {
|
|
22351
22351
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -22452,7 +22452,7 @@ function id_default() {
|
|
|
22452
22452
|
};
|
|
22453
22453
|
}
|
|
22454
22454
|
|
|
22455
|
-
//
|
|
22455
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/is.js
|
|
22456
22456
|
var error22 = () => {
|
|
22457
22457
|
const Sizable = {
|
|
22458
22458
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
@@ -22562,7 +22562,7 @@ function is_default() {
|
|
|
22562
22562
|
};
|
|
22563
22563
|
}
|
|
22564
22564
|
|
|
22565
|
-
//
|
|
22565
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/it.js
|
|
22566
22566
|
var error23 = () => {
|
|
22567
22567
|
const Sizable = {
|
|
22568
22568
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -22671,7 +22671,7 @@ function it_default() {
|
|
|
22671
22671
|
};
|
|
22672
22672
|
}
|
|
22673
22673
|
|
|
22674
|
-
//
|
|
22674
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ja.js
|
|
22675
22675
|
var error24 = () => {
|
|
22676
22676
|
const Sizable = {
|
|
22677
22677
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
@@ -22779,7 +22779,7 @@ function ja_default() {
|
|
|
22779
22779
|
};
|
|
22780
22780
|
}
|
|
22781
22781
|
|
|
22782
|
-
//
|
|
22782
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ka.js
|
|
22783
22783
|
var error25 = () => {
|
|
22784
22784
|
const Sizable = {
|
|
22785
22785
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -22892,7 +22892,7 @@ function ka_default() {
|
|
|
22892
22892
|
};
|
|
22893
22893
|
}
|
|
22894
22894
|
|
|
22895
|
-
//
|
|
22895
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/km.js
|
|
22896
22896
|
var error26 = () => {
|
|
22897
22897
|
const Sizable = {
|
|
22898
22898
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -23003,12 +23003,12 @@ function km_default() {
|
|
|
23003
23003
|
};
|
|
23004
23004
|
}
|
|
23005
23005
|
|
|
23006
|
-
//
|
|
23006
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/kh.js
|
|
23007
23007
|
function kh_default() {
|
|
23008
23008
|
return km_default();
|
|
23009
23009
|
}
|
|
23010
23010
|
|
|
23011
|
-
//
|
|
23011
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ko.js
|
|
23012
23012
|
var error27 = () => {
|
|
23013
23013
|
const Sizable = {
|
|
23014
23014
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
@@ -23120,7 +23120,7 @@ function ko_default() {
|
|
|
23120
23120
|
};
|
|
23121
23121
|
}
|
|
23122
23122
|
|
|
23123
|
-
//
|
|
23123
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/lt.js
|
|
23124
23124
|
var capitalizeFirstCharacter = (text19) => {
|
|
23125
23125
|
return text19.charAt(0).toUpperCase() + text19.slice(1);
|
|
23126
23126
|
};
|
|
@@ -23324,7 +23324,7 @@ function lt_default() {
|
|
|
23324
23324
|
};
|
|
23325
23325
|
}
|
|
23326
23326
|
|
|
23327
|
-
//
|
|
23327
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/mk.js
|
|
23328
23328
|
var error29 = () => {
|
|
23329
23329
|
const Sizable = {
|
|
23330
23330
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -23434,7 +23434,7 @@ function mk_default() {
|
|
|
23434
23434
|
};
|
|
23435
23435
|
}
|
|
23436
23436
|
|
|
23437
|
-
//
|
|
23437
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ms.js
|
|
23438
23438
|
var error30 = () => {
|
|
23439
23439
|
const Sizable = {
|
|
23440
23440
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -23542,7 +23542,7 @@ function ms_default() {
|
|
|
23542
23542
|
};
|
|
23543
23543
|
}
|
|
23544
23544
|
|
|
23545
|
-
//
|
|
23545
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/nl.js
|
|
23546
23546
|
var error31 = () => {
|
|
23547
23547
|
const Sizable = {
|
|
23548
23548
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -23653,7 +23653,7 @@ function nl_default() {
|
|
|
23653
23653
|
};
|
|
23654
23654
|
}
|
|
23655
23655
|
|
|
23656
|
-
//
|
|
23656
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/no.js
|
|
23657
23657
|
var error32 = () => {
|
|
23658
23658
|
const Sizable = {
|
|
23659
23659
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
@@ -23762,7 +23762,7 @@ function no_default() {
|
|
|
23762
23762
|
};
|
|
23763
23763
|
}
|
|
23764
23764
|
|
|
23765
|
-
//
|
|
23765
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ota.js
|
|
23766
23766
|
var error33 = () => {
|
|
23767
23767
|
const Sizable = {
|
|
23768
23768
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
@@ -23872,7 +23872,7 @@ function ota_default() {
|
|
|
23872
23872
|
};
|
|
23873
23873
|
}
|
|
23874
23874
|
|
|
23875
|
-
//
|
|
23875
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ps.js
|
|
23876
23876
|
var error34 = () => {
|
|
23877
23877
|
const Sizable = {
|
|
23878
23878
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -23987,7 +23987,7 @@ function ps_default() {
|
|
|
23987
23987
|
};
|
|
23988
23988
|
}
|
|
23989
23989
|
|
|
23990
|
-
//
|
|
23990
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/pl.js
|
|
23991
23991
|
var error35 = () => {
|
|
23992
23992
|
const Sizable = {
|
|
23993
23993
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
@@ -24097,7 +24097,7 @@ function pl_default() {
|
|
|
24097
24097
|
};
|
|
24098
24098
|
}
|
|
24099
24099
|
|
|
24100
|
-
//
|
|
24100
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/pt.js
|
|
24101
24101
|
var error36 = () => {
|
|
24102
24102
|
const Sizable = {
|
|
24103
24103
|
string: { unit: "caracteres", verb: "ter" },
|
|
@@ -24206,7 +24206,7 @@ function pt_default() {
|
|
|
24206
24206
|
};
|
|
24207
24207
|
}
|
|
24208
24208
|
|
|
24209
|
-
//
|
|
24209
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ro.js
|
|
24210
24210
|
var error37 = () => {
|
|
24211
24211
|
const Sizable = {
|
|
24212
24212
|
string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
|
|
@@ -24326,7 +24326,7 @@ function ro_default() {
|
|
|
24326
24326
|
};
|
|
24327
24327
|
}
|
|
24328
24328
|
|
|
24329
|
-
//
|
|
24329
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ru.js
|
|
24330
24330
|
function getRussianPlural(count, one2, few, many) {
|
|
24331
24331
|
const absCount = Math.abs(count);
|
|
24332
24332
|
const lastDigit = absCount % 10;
|
|
@@ -24483,7 +24483,7 @@ function ru_default() {
|
|
|
24483
24483
|
};
|
|
24484
24484
|
}
|
|
24485
24485
|
|
|
24486
|
-
//
|
|
24486
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/sl.js
|
|
24487
24487
|
var error39 = () => {
|
|
24488
24488
|
const Sizable = {
|
|
24489
24489
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -24593,7 +24593,7 @@ function sl_default() {
|
|
|
24593
24593
|
};
|
|
24594
24594
|
}
|
|
24595
24595
|
|
|
24596
|
-
//
|
|
24596
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/sv.js
|
|
24597
24597
|
var error40 = () => {
|
|
24598
24598
|
const Sizable = {
|
|
24599
24599
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -24704,7 +24704,7 @@ function sv_default() {
|
|
|
24704
24704
|
};
|
|
24705
24705
|
}
|
|
24706
24706
|
|
|
24707
|
-
//
|
|
24707
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ta.js
|
|
24708
24708
|
var error41 = () => {
|
|
24709
24709
|
const Sizable = {
|
|
24710
24710
|
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" },
|
|
@@ -24815,7 +24815,7 @@ function ta_default() {
|
|
|
24815
24815
|
};
|
|
24816
24816
|
}
|
|
24817
24817
|
|
|
24818
|
-
//
|
|
24818
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/th.js
|
|
24819
24819
|
var error42 = () => {
|
|
24820
24820
|
const Sizable = {
|
|
24821
24821
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -24926,7 +24926,7 @@ function th_default() {
|
|
|
24926
24926
|
};
|
|
24927
24927
|
}
|
|
24928
24928
|
|
|
24929
|
-
//
|
|
24929
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/tr.js
|
|
24930
24930
|
var error43 = () => {
|
|
24931
24931
|
const Sizable = {
|
|
24932
24932
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
@@ -25032,7 +25032,7 @@ function tr_default() {
|
|
|
25032
25032
|
};
|
|
25033
25033
|
}
|
|
25034
25034
|
|
|
25035
|
-
//
|
|
25035
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/uk.js
|
|
25036
25036
|
var error44 = () => {
|
|
25037
25037
|
const Sizable = {
|
|
25038
25038
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -25141,12 +25141,12 @@ function uk_default() {
|
|
|
25141
25141
|
};
|
|
25142
25142
|
}
|
|
25143
25143
|
|
|
25144
|
-
//
|
|
25144
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ua.js
|
|
25145
25145
|
function ua_default() {
|
|
25146
25146
|
return uk_default();
|
|
25147
25147
|
}
|
|
25148
25148
|
|
|
25149
|
-
//
|
|
25149
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ur.js
|
|
25150
25150
|
var error45 = () => {
|
|
25151
25151
|
const Sizable = {
|
|
25152
25152
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -25257,7 +25257,7 @@ function ur_default() {
|
|
|
25257
25257
|
};
|
|
25258
25258
|
}
|
|
25259
25259
|
|
|
25260
|
-
//
|
|
25260
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/uz.js
|
|
25261
25261
|
var error46 = () => {
|
|
25262
25262
|
const Sizable = {
|
|
25263
25263
|
string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
|
|
@@ -25368,7 +25368,7 @@ function uz_default() {
|
|
|
25368
25368
|
};
|
|
25369
25369
|
}
|
|
25370
25370
|
|
|
25371
|
-
//
|
|
25371
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/vi.js
|
|
25372
25372
|
var error47 = () => {
|
|
25373
25373
|
const Sizable = {
|
|
25374
25374
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
@@ -25477,7 +25477,7 @@ function vi_default() {
|
|
|
25477
25477
|
};
|
|
25478
25478
|
}
|
|
25479
25479
|
|
|
25480
|
-
//
|
|
25480
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/zh-CN.js
|
|
25481
25481
|
var error48 = () => {
|
|
25482
25482
|
const Sizable = {
|
|
25483
25483
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
@@ -25587,7 +25587,7 @@ function zh_CN_default() {
|
|
|
25587
25587
|
};
|
|
25588
25588
|
}
|
|
25589
25589
|
|
|
25590
|
-
//
|
|
25590
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/zh-TW.js
|
|
25591
25591
|
var error49 = () => {
|
|
25592
25592
|
const Sizable = {
|
|
25593
25593
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
@@ -25695,7 +25695,7 @@ function zh_TW_default() {
|
|
|
25695
25695
|
};
|
|
25696
25696
|
}
|
|
25697
25697
|
|
|
25698
|
-
//
|
|
25698
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/yo.js
|
|
25699
25699
|
var error50 = () => {
|
|
25700
25700
|
const Sizable = {
|
|
25701
25701
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
@@ -25803,7 +25803,7 @@ function yo_default() {
|
|
|
25803
25803
|
};
|
|
25804
25804
|
}
|
|
25805
25805
|
|
|
25806
|
-
//
|
|
25806
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/registries.js
|
|
25807
25807
|
var _a2;
|
|
25808
25808
|
var $output = /* @__PURE__ */ Symbol("ZodOutput");
|
|
25809
25809
|
var $input = /* @__PURE__ */ Symbol("ZodInput");
|
|
@@ -25853,7 +25853,7 @@ function registry() {
|
|
|
25853
25853
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
25854
25854
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
25855
25855
|
|
|
25856
|
-
//
|
|
25856
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/api.js
|
|
25857
25857
|
// @__NO_SIDE_EFFECTS__
|
|
25858
25858
|
function _string(Class2, params) {
|
|
25859
25859
|
return new Class2({
|
|
@@ -26892,7 +26892,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
26892
26892
|
return inst;
|
|
26893
26893
|
}
|
|
26894
26894
|
|
|
26895
|
-
//
|
|
26895
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/to-json-schema.js
|
|
26896
26896
|
function initializeContext(params) {
|
|
26897
26897
|
let target = params?.target ?? "draft-2020-12";
|
|
26898
26898
|
if (target === "draft-4")
|
|
@@ -27251,7 +27251,7 @@ var createStandardJSONSchemaMethod = (schema5, io2, processors = {}) => (params)
|
|
|
27251
27251
|
return finalize(ctx, schema5);
|
|
27252
27252
|
};
|
|
27253
27253
|
|
|
27254
|
-
//
|
|
27254
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-processors.js
|
|
27255
27255
|
var formatMap = {
|
|
27256
27256
|
guid: "uuid",
|
|
27257
27257
|
url: "uri",
|
|
@@ -27795,7 +27795,7 @@ function toJSONSchema(input, params) {
|
|
|
27795
27795
|
return finalize(ctx, input);
|
|
27796
27796
|
}
|
|
27797
27797
|
|
|
27798
|
-
//
|
|
27798
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-generator.js
|
|
27799
27799
|
var JSONSchemaGenerator = class {
|
|
27800
27800
|
/** @deprecated Access via ctx instead */
|
|
27801
27801
|
get metadataRegistry() {
|
|
@@ -27870,10 +27870,10 @@ var JSONSchemaGenerator = class {
|
|
|
27870
27870
|
}
|
|
27871
27871
|
};
|
|
27872
27872
|
|
|
27873
|
-
//
|
|
27873
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema.js
|
|
27874
27874
|
var json_schema_exports = {};
|
|
27875
27875
|
|
|
27876
|
-
//
|
|
27876
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.js
|
|
27877
27877
|
var schemas_exports2 = {};
|
|
27878
27878
|
__export(schemas_exports2, {
|
|
27879
27879
|
ZodAny: () => ZodAny,
|
|
@@ -28044,7 +28044,7 @@ __export(schemas_exports2, {
|
|
|
28044
28044
|
xor: () => xor
|
|
28045
28045
|
});
|
|
28046
28046
|
|
|
28047
|
-
//
|
|
28047
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/checks.js
|
|
28048
28048
|
var checks_exports2 = {};
|
|
28049
28049
|
__export(checks_exports2, {
|
|
28050
28050
|
endsWith: () => _endsWith,
|
|
@@ -28078,7 +28078,7 @@ __export(checks_exports2, {
|
|
|
28078
28078
|
uppercase: () => _uppercase
|
|
28079
28079
|
});
|
|
28080
28080
|
|
|
28081
|
-
//
|
|
28081
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/iso.js
|
|
28082
28082
|
var iso_exports = {};
|
|
28083
28083
|
__export(iso_exports, {
|
|
28084
28084
|
ZodISODate: () => ZodISODate,
|
|
@@ -28119,7 +28119,7 @@ function duration2(params) {
|
|
|
28119
28119
|
return _isoDuration(ZodISODuration, params);
|
|
28120
28120
|
}
|
|
28121
28121
|
|
|
28122
|
-
//
|
|
28122
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/errors.js
|
|
28123
28123
|
var initializer2 = (inst, issues) => {
|
|
28124
28124
|
$ZodError.init(inst, issues);
|
|
28125
28125
|
inst.name = "ZodError";
|
|
@@ -28159,7 +28159,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, {
|
|
|
28159
28159
|
Parent: Error
|
|
28160
28160
|
});
|
|
28161
28161
|
|
|
28162
|
-
//
|
|
28162
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/parse.js
|
|
28163
28163
|
var parse3 = /* @__PURE__ */ _parse(ZodRealError);
|
|
28164
28164
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
28165
28165
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -28173,7 +28173,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
28173
28173
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
28174
28174
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
28175
28175
|
|
|
28176
|
-
//
|
|
28176
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.js
|
|
28177
28177
|
var _installedGroups = /* @__PURE__ */ new WeakMap();
|
|
28178
28178
|
function _installLazyMethods(inst, group, methods) {
|
|
28179
28179
|
const proto = Object.getPrototypeOf(inst);
|
|
@@ -29463,7 +29463,7 @@ function preprocess2(fn, schema5) {
|
|
|
29463
29463
|
});
|
|
29464
29464
|
}
|
|
29465
29465
|
|
|
29466
|
-
//
|
|
29466
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/compat.js
|
|
29467
29467
|
var ZodIssueCode = {
|
|
29468
29468
|
invalid_type: "invalid_type",
|
|
29469
29469
|
too_big: "too_big",
|
|
@@ -29489,7 +29489,7 @@ var ZodFirstPartyTypeKind;
|
|
|
29489
29489
|
/* @__PURE__ */ (function(ZodFirstPartyTypeKind2) {
|
|
29490
29490
|
})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
29491
29491
|
|
|
29492
|
-
//
|
|
29492
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/from-json-schema.js
|
|
29493
29493
|
var z = {
|
|
29494
29494
|
...schemas_exports2,
|
|
29495
29495
|
...checks_exports2,
|
|
@@ -29969,7 +29969,7 @@ function fromJSONSchema(schema5, params) {
|
|
|
29969
29969
|
return convertSchema(normalized, ctx);
|
|
29970
29970
|
}
|
|
29971
29971
|
|
|
29972
|
-
//
|
|
29972
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/coerce.js
|
|
29973
29973
|
var coerce_exports = {};
|
|
29974
29974
|
__export(coerce_exports, {
|
|
29975
29975
|
bigint: () => bigint3,
|
|
@@ -29994,7 +29994,7 @@ function date4(params) {
|
|
|
29994
29994
|
return _coercedDate(ZodDate, params);
|
|
29995
29995
|
}
|
|
29996
29996
|
|
|
29997
|
-
//
|
|
29997
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/external.js
|
|
29998
29998
|
config(en_default());
|
|
29999
29999
|
|
|
30000
30000
|
// server/atomic.ts
|
|
@@ -31390,10 +31390,12 @@ function toModelClass(value) {
|
|
|
31390
31390
|
}
|
|
31391
31391
|
var classBelow = (modelClass) => MODEL_CLASSES[MODEL_CLASSES.indexOf(modelClass) + 1];
|
|
31392
31392
|
var DEFAULT_CLASS_BANDS = { Mezcal: 50, Plata: 44, Reposado: 38 };
|
|
31393
|
-
var
|
|
31394
|
-
var
|
|
31393
|
+
var ATOMIC_AUTO_RUNG = Object.freeze({ engine: "atomic-engine", model: "atomic/auto" });
|
|
31394
|
+
var CHIBI_DEFAULT_RUNG = Object.freeze({ engine: "claudeAgent", model: "claude-opus-5", modelClass: "Plata" });
|
|
31395
|
+
var CHIBI_DEFAULTS_VERSION = 2;
|
|
31395
31396
|
var DEFAULT_LADDERS = {
|
|
31396
31397
|
orchestrator: [
|
|
31398
|
+
{ ...ATOMIC_AUTO_RUNG },
|
|
31397
31399
|
{ ...CHIBI_DEFAULT_RUNG },
|
|
31398
31400
|
{ engine: "claudeAgent", model: "claude-opus-5-5", modelClass: "Plata" },
|
|
31399
31401
|
{ engine: "codex", model: "gpt-6-sol" },
|
|
@@ -31412,6 +31414,7 @@ var DEFAULT_LADDERS = {
|
|
|
31412
31414
|
{ engine: "hermesAgent", model: "openai-codex:gpt-6.1-sol", modelClass: "Plata" }
|
|
31413
31415
|
],
|
|
31414
31416
|
engineering: [
|
|
31417
|
+
{ ...ATOMIC_AUTO_RUNG },
|
|
31415
31418
|
{ engine: "codex", model: "gpt-6-astra", modelClass: "Mezcal" },
|
|
31416
31419
|
{ engine: "claude", model: "claude-opus-5-5" },
|
|
31417
31420
|
{ engine: "claudeAgent", model: "claude-opus-5-5" },
|
|
@@ -31427,6 +31430,7 @@ var DEFAULT_LADDERS = {
|
|
|
31427
31430
|
{ engine: "cursorAgent", model: "auto" }
|
|
31428
31431
|
],
|
|
31429
31432
|
research: [
|
|
31433
|
+
{ ...ATOMIC_AUTO_RUNG },
|
|
31430
31434
|
{ engine: "openai-compat", model: "MiniMax-M2.5" },
|
|
31431
31435
|
{ engine: "vibe", model: "mistral-medium-3.5" },
|
|
31432
31436
|
{ engine: "antigravityAgent", model: "gemini-3.8-flash-low" },
|
|
@@ -31440,6 +31444,7 @@ var DEFAULT_LADDERS = {
|
|
|
31440
31444
|
{ engine: "opencodeGo", model: "opencode/claude-opus-5", modelClass: "Plata" }
|
|
31441
31445
|
],
|
|
31442
31446
|
writing: [
|
|
31447
|
+
{ ...ATOMIC_AUTO_RUNG },
|
|
31443
31448
|
{ engine: "claudeAgent", model: "claude-sonnet-5-5" },
|
|
31444
31449
|
{ engine: "claude", model: "claude-sonnet-5-5" },
|
|
31445
31450
|
{ engine: "codex", model: "gpt-5.6-luna" },
|
|
@@ -31448,6 +31453,7 @@ var DEFAULT_LADDERS = {
|
|
|
31448
31453
|
{ engine: "hermes", model: "nous:moonshotai/kimi-k3" }
|
|
31449
31454
|
],
|
|
31450
31455
|
routine: [
|
|
31456
|
+
{ ...ATOMIC_AUTO_RUNG },
|
|
31451
31457
|
{ engine: "antigravityAgent", model: "gemini-3.8-flash-low" },
|
|
31452
31458
|
{ engine: "antigravity", model: "gemini-3.8-flash-low" },
|
|
31453
31459
|
{ engine: "openai-compat", model: "MiniMax-M2.5" },
|
|
@@ -32729,7 +32735,7 @@ var eventCounter = 0;
|
|
|
32729
32735
|
var newEventId = () => `ev-${Date.now().toString(36)}-${(eventCounter++).toString(36)}`;
|
|
32730
32736
|
var newId = () => crypto.randomUUID();
|
|
32731
32737
|
|
|
32732
|
-
//
|
|
32738
|
+
// node_modules/.pnpm/croner@10.0.1/node_modules/croner/dist/croner.js
|
|
32733
32739
|
function T(s4) {
|
|
32734
32740
|
return Date.UTC(s4.y, s4.m - 1, s4.d, s4.h, s4.i, s4.s);
|
|
32735
32741
|
}
|
|
@@ -33781,7 +33787,9 @@ var ACCOUNT_PROVIDERS = [
|
|
|
33781
33787
|
keyUrl: "https://console.mistral.ai/api-keys"
|
|
33782
33788
|
},
|
|
33783
33789
|
{
|
|
33784
|
-
// Ollama's Free, Pro and
|
|
33790
|
+
// Ollama's Free, Pro, Max and Team plans each include a monthly credit.
|
|
33791
|
+
// Unused credit does not carry over (use it or lose it); use past it is
|
|
33792
|
+
// billed by Ollama (Erick, 2026-11-15).
|
|
33785
33793
|
id: "ollamaCloud",
|
|
33786
33794
|
kind: "apiKey",
|
|
33787
33795
|
label: "Ollama Cloud",
|
|
@@ -33792,17 +33800,19 @@ var ACCOUNT_PROVIDERS = [
|
|
|
33792
33800
|
config: {},
|
|
33793
33801
|
keyTest: { provider: "ollamaCloud" },
|
|
33794
33802
|
keyUrl: "https://ollama.com/settings/keys",
|
|
33795
|
-
signupUrl: "https://ollama.com/pricing"
|
|
33803
|
+
signupUrl: "https://ollama.com/pricing",
|
|
33804
|
+
plan: { kind: "includedCredit", unusedCredit: "expires", afterCredit: "overage" }
|
|
33796
33805
|
},
|
|
33797
33806
|
{
|
|
33798
33807
|
// Nous Portal's OpenAI-compatible API with a portal key: no Hermes needed
|
|
33799
|
-
// (Erick, 2026-11-08).
|
|
33800
|
-
//
|
|
33801
|
-
//
|
|
33808
|
+
// (Erick, 2026-11-08). Counted as the person's Nous subscription, not pay
|
|
33809
|
+
// per use (Erick, 2026-11-15, reversing the 2026-11-13 per-use reading of
|
|
33810
|
+
// Portal's terms): it walks with the subscriptions and Atomic Engine uses
|
|
33811
|
+
// it as the `nous-api` provider (server/atomic-engine-accounts.ts).
|
|
33802
33812
|
id: "nous",
|
|
33803
33813
|
kind: "apiKey",
|
|
33804
33814
|
label: "Nous Research",
|
|
33805
|
-
billing: "
|
|
33815
|
+
billing: "subscription",
|
|
33806
33816
|
driver: "openai-compat",
|
|
33807
33817
|
envVar: "NOUS_API_KEY",
|
|
33808
33818
|
config: { url: "https://inference-api.nousresearch.com/v1", apiKeyEnv: "NOUS_API_KEY", model: "Hermes-4-405B", provider: "" },
|
|
@@ -33889,6 +33899,24 @@ var ACCOUNT_PROVIDERS = [
|
|
|
33889
33899
|
signupUrl: "https://build.nvidia.com/"
|
|
33890
33900
|
}
|
|
33891
33901
|
];
|
|
33902
|
+
function planTerms(provider) {
|
|
33903
|
+
if (provider.kind === "signIn") return { kind: "signIn" };
|
|
33904
|
+
if (provider.plan) return provider.plan;
|
|
33905
|
+
if (provider.billing === "subscription") return { kind: "flatPlan" };
|
|
33906
|
+
return provider.billing === "free" ? { kind: "free" } : { kind: "perToken" };
|
|
33907
|
+
}
|
|
33908
|
+
function billingWithCredit(terms, creditLeftUsd) {
|
|
33909
|
+
switch (terms.kind) {
|
|
33910
|
+
case "includedCredit":
|
|
33911
|
+
return creditLeftUsd !== void 0 && creditLeftUsd <= 0 && terms.afterCredit === "overage" ? "payPerUse" : "subscription";
|
|
33912
|
+
case "perToken":
|
|
33913
|
+
return "payPerUse";
|
|
33914
|
+
case "free":
|
|
33915
|
+
return "free";
|
|
33916
|
+
default:
|
|
33917
|
+
return "subscription";
|
|
33918
|
+
}
|
|
33919
|
+
}
|
|
33892
33920
|
function accountProvider(id) {
|
|
33893
33921
|
return ACCOUNT_PROVIDERS.find((provider) => provider.id === id);
|
|
33894
33922
|
}
|
|
@@ -34591,7 +34619,8 @@ var instanceConfigSchema = external_exports.object({
|
|
|
34591
34619
|
environment: external_exports.record(external_exports.string(), external_exports.string()).optional(),
|
|
34592
34620
|
enabled: external_exports.boolean().optional(),
|
|
34593
34621
|
config: external_exports.json().optional(),
|
|
34594
|
-
account: external_exports.string().trim().min(1).max(64).optional()
|
|
34622
|
+
account: external_exports.string().trim().min(1).max(64).optional(),
|
|
34623
|
+
planCreditUsd: external_exports.number().positive().max(1e6).optional()
|
|
34595
34624
|
});
|
|
34596
34625
|
var instanceConfigMapSchema = external_exports.record(external_exports.string(), instanceConfigSchema);
|
|
34597
34626
|
var defaultModelSelectionSchema = external_exports.object({
|
|
@@ -39208,9 +39237,9 @@ var ClaudeDriver = {
|
|
|
39208
39237
|
sessionAllows: {
|
|
39209
39238
|
has: (key5) => sessionAllows.get(threadId)?.has(key5) ?? false,
|
|
39210
39239
|
add: (key5) => {
|
|
39211
|
-
const
|
|
39212
|
-
|
|
39213
|
-
sessionAllows.set(threadId,
|
|
39240
|
+
const remembered2 = sessionAllows.get(threadId) ?? /* @__PURE__ */ new Set();
|
|
39241
|
+
remembered2.add(key5);
|
|
39242
|
+
sessionAllows.set(threadId, remembered2);
|
|
39214
39243
|
}
|
|
39215
39244
|
},
|
|
39216
39245
|
// host control stays one action at a time
|
|
@@ -47364,9 +47393,9 @@ async function sleepManagedBox(cfg2, owners, boxId, claim) {
|
|
|
47364
47393
|
}
|
|
47365
47394
|
async function deleteManagedBox(cfg2, owners, boxId, confirmName, claim, options = {}) {
|
|
47366
47395
|
cfg2 = snapshotBoxConfig(cfg2);
|
|
47367
|
-
const
|
|
47368
|
-
if (
|
|
47369
|
-
const reconciled = await reconcileRecordedBoxDeletion(cfg2,
|
|
47396
|
+
const remembered2 = getBoxDeletion(boxId);
|
|
47397
|
+
if (remembered2) {
|
|
47398
|
+
const reconciled = await reconcileRecordedBoxDeletion(cfg2, remembered2, [0]);
|
|
47370
47399
|
if (reconciled === "confirmed") return { ok: true };
|
|
47371
47400
|
const current4 = getBoxDeletion(boxId);
|
|
47372
47401
|
if (current4?.phase === "accepted") {
|
|
@@ -47569,9 +47598,9 @@ async function createBox(cfg2, botId, env) {
|
|
|
47569
47598
|
return trialTtl === null ? first : requestBoxCreate(cfg2, botId, trialTtl, env);
|
|
47570
47599
|
}
|
|
47571
47600
|
async function finishPriorDeletionBeforeProvision(cfg2, botId) {
|
|
47572
|
-
const
|
|
47573
|
-
if (!
|
|
47574
|
-
for (const deletion of
|
|
47601
|
+
const remembered2 = boxDeletionSnapshot().filter((record12) => record12.ownerBotId === botId);
|
|
47602
|
+
if (!remembered2.length) return;
|
|
47603
|
+
for (const deletion of remembered2) {
|
|
47575
47604
|
let state2 = await reconcileRecordedBoxDeletion(cfg2, deletion, [0]);
|
|
47576
47605
|
if (state2 !== "confirmed") {
|
|
47577
47606
|
const current4 = getBoxDeletion(deletion.boxId);
|
|
@@ -49107,12 +49136,12 @@ async function containerComputerScreenshot(runner = sh, platform = process.platf
|
|
|
49107
49136
|
return `data:image/${format};base64,${png}`;
|
|
49108
49137
|
}
|
|
49109
49138
|
var screenshotStatusCache = /* @__PURE__ */ new Map();
|
|
49110
|
-
async function recentContainerComputerStatus(target = SHARED_LOCAL_VM_TARGET, runner = sh, platform = process.platform,
|
|
49111
|
-
const cached3 =
|
|
49139
|
+
async function recentContainerComputerStatus(target = SHARED_LOCAL_VM_TARGET, runner = sh, platform = process.platform, cache3 = runner === sh && platform === process.platform ? screenshotStatusCache : null) {
|
|
49140
|
+
const cached3 = cache3?.get(target.key);
|
|
49112
49141
|
if (cached3 && cached3.expiresAt > Date.now()) return cached3.status;
|
|
49113
49142
|
const status = await containerComputerStatus(runner, platform, target);
|
|
49114
|
-
if (
|
|
49115
|
-
else
|
|
49143
|
+
if (cache3 && status.ready) cache3.set(target.key, { status, expiresAt: Date.now() + SCREENSHOT_STATUS_TTL_MS });
|
|
49144
|
+
else cache3?.delete(target.key);
|
|
49116
49145
|
return status;
|
|
49117
49146
|
}
|
|
49118
49147
|
var containerMcpPath = SPAWNED_PROXIES.containerMcp;
|
|
@@ -49457,7 +49486,7 @@ import { createHash as createHash11 } from "node:crypto";
|
|
|
49457
49486
|
import { existsSync as existsSync16, mkdirSync as mkdirSync12, mkdtempSync as mkdtempSync2, readFileSync as readFileSync25, renameSync as renameSync5, rmSync as rmSync4, writeFileSync as writeFileSync8 } from "node:fs";
|
|
49458
49487
|
import { join as join31 } from "node:path";
|
|
49459
49488
|
|
|
49460
|
-
//
|
|
49489
|
+
// node_modules/.pnpm/tar@7.5.22/node_modules/tar/dist/esm/index.min.js
|
|
49461
49490
|
import Qr from "events";
|
|
49462
49491
|
import I from "fs";
|
|
49463
49492
|
import { EventEmitter as Di } from "node:events";
|
|
@@ -52767,6 +52796,47 @@ function runNpm(args, env, cwd, timeoutMs, launch = npmLaunch(), onOutput) {
|
|
|
52767
52796
|
});
|
|
52768
52797
|
}
|
|
52769
52798
|
|
|
52799
|
+
// server/plan-credit.ts
|
|
52800
|
+
var CACHE_MS = 15e3;
|
|
52801
|
+
var cache = /* @__PURE__ */ new Map();
|
|
52802
|
+
var monthOf = (now) => now.toISOString().slice(0, 7);
|
|
52803
|
+
var costOf = (value) => typeof value === "number" && Number.isFinite(value) && value > 0 ? value : 0;
|
|
52804
|
+
function monthToDateByInstance(dataDir2, now = /* @__PURE__ */ new Date()) {
|
|
52805
|
+
const month = monthOf(now);
|
|
52806
|
+
const hit = cache.get(dataDir2);
|
|
52807
|
+
if (hit && hit.month === month && now.getTime() - hit.at < CACHE_MS) return hit.byInstance;
|
|
52808
|
+
const from = new Date(Date.UTC(now.getUTCFullYear(), now.getUTCMonth(), 1));
|
|
52809
|
+
const byInstance = /* @__PURE__ */ new Map();
|
|
52810
|
+
for (const row of readUsage(dataDir2, { from, to: now })) {
|
|
52811
|
+
byInstance.set(row.instanceId, (byInstance.get(row.instanceId) ?? 0) + costOf(row.costUsd));
|
|
52812
|
+
}
|
|
52813
|
+
cache.set(dataDir2, { at: now.getTime(), month, byInstance });
|
|
52814
|
+
return byInstance;
|
|
52815
|
+
}
|
|
52816
|
+
function resetPlanCreditCache() {
|
|
52817
|
+
cache.clear();
|
|
52818
|
+
}
|
|
52819
|
+
function providerOf(entry) {
|
|
52820
|
+
if (entry.account !== void 0) return accountProvider(entry.account);
|
|
52821
|
+
return accountProvider(entry.driver === "ollamaCloud" ? "ollamaCloud" : void 0);
|
|
52822
|
+
}
|
|
52823
|
+
function planCredit(instanceId, entry, spent) {
|
|
52824
|
+
const provider = providerOf(entry);
|
|
52825
|
+
if (!provider) return void 0;
|
|
52826
|
+
const terms = planTerms(provider);
|
|
52827
|
+
if (terms.kind !== "includedCredit") return void 0;
|
|
52828
|
+
const monthlyCreditUsd = entry.planCreditUsd ?? terms.monthlyCreditUsd;
|
|
52829
|
+
if (monthlyCreditUsd === void 0 || !(monthlyCreditUsd > 0)) return void 0;
|
|
52830
|
+
const spentUsd = spent.get(instanceId) ?? 0;
|
|
52831
|
+
const leftUsd = Math.max(0, monthlyCreditUsd - spentUsd);
|
|
52832
|
+
return { monthlyCreditUsd, spentUsd, leftUsd, billing: billingWithCredit(terms, monthlyCreditUsd - spentUsd) };
|
|
52833
|
+
}
|
|
52834
|
+
function accountBilling(instanceId, entry, dataDir2) {
|
|
52835
|
+
if (!entry) return void 0;
|
|
52836
|
+
const credit = planCredit(instanceId, entry, monthToDateByInstance(dataDir2));
|
|
52837
|
+
return credit?.billing ?? (entry.account === void 0 ? void 0 : accountProvider(entry.account)?.billing);
|
|
52838
|
+
}
|
|
52839
|
+
|
|
52770
52840
|
// server/group-thread-usage.ts
|
|
52771
52841
|
import { readdirSync as readdirSync7, readFileSync as readFileSync27, statSync as statSync7 } from "node:fs";
|
|
52772
52842
|
import { join as join34 } from "node:path";
|
|
@@ -53190,21 +53260,21 @@ function describeEdition(status) {
|
|
|
53190
53260
|
|
|
53191
53261
|
// server/spend.ts
|
|
53192
53262
|
var DEFAULT_WARN_AT_PERCENT = 80;
|
|
53193
|
-
var
|
|
53194
|
-
var
|
|
53263
|
+
var CACHE_MS2 = 15e3;
|
|
53264
|
+
var cache2 = /* @__PURE__ */ new Map();
|
|
53195
53265
|
var unwritten = /* @__PURE__ */ new Map();
|
|
53196
|
-
function
|
|
53266
|
+
function monthOf2(now) {
|
|
53197
53267
|
return now.toISOString().slice(0, 7);
|
|
53198
53268
|
}
|
|
53199
|
-
var
|
|
53269
|
+
var costOf2 = (value) => typeof value === "number" && Number.isFinite(value) && value > 0 ? value : 0;
|
|
53200
53270
|
function monthToDateSpend(dataDir2, now = /* @__PURE__ */ new Date()) {
|
|
53201
|
-
const month =
|
|
53202
|
-
let read =
|
|
53203
|
-
if (!read || read.month !== month || now.getTime() - read.at >=
|
|
53271
|
+
const month = monthOf2(now);
|
|
53272
|
+
let read = cache2.get(dataDir2);
|
|
53273
|
+
if (!read || read.month !== month || now.getTime() - read.at >= CACHE_MS2) {
|
|
53204
53274
|
const from = new Date(Date.UTC(now.getUTCFullYear(), now.getUTCMonth(), 1));
|
|
53205
53275
|
const rows = readUsage(dataDir2, { from, to: now });
|
|
53206
|
-
read = { at: now.getTime(), month, fileUsd: rows.reduce((sum, row) => sum +
|
|
53207
|
-
|
|
53276
|
+
read = { at: now.getTime(), month, fileUsd: rows.reduce((sum, row) => sum + costOf2(row.costUsd), 0), keys: new Set(rows.map(usageRowKey)) };
|
|
53277
|
+
cache2.set(dataDir2, read);
|
|
53208
53278
|
}
|
|
53209
53279
|
let pending2 = 0;
|
|
53210
53280
|
for (const [key5, entry] of unwritten.get(dataDir2) ?? []) {
|
|
@@ -53213,7 +53283,7 @@ function monthToDateSpend(dataDir2, now = /* @__PURE__ */ new Date()) {
|
|
|
53213
53283
|
return read.fileUsd + pending2;
|
|
53214
53284
|
}
|
|
53215
53285
|
function noteSpend(dataDir2, row, written) {
|
|
53216
|
-
const costUsd =
|
|
53286
|
+
const costUsd = costOf2(row.costUsd);
|
|
53217
53287
|
if (!costUsd) return;
|
|
53218
53288
|
const key5 = usageRowKey(row);
|
|
53219
53289
|
const month = row.at.slice(0, 7);
|
|
@@ -53223,7 +53293,7 @@ function noteSpend(dataDir2, row, written) {
|
|
|
53223
53293
|
void written.then((landed) => {
|
|
53224
53294
|
entries2.delete(key5);
|
|
53225
53295
|
if (entries2.size === 0 && unwritten.get(dataDir2) === entries2) unwritten.delete(dataDir2);
|
|
53226
|
-
const read =
|
|
53296
|
+
const read = cache2.get(dataDir2);
|
|
53227
53297
|
if (landed && read && read.month === month && !read.keys.has(key5)) {
|
|
53228
53298
|
read.fileUsd += costUsd;
|
|
53229
53299
|
read.keys.add(key5);
|
|
@@ -53237,7 +53307,7 @@ function spendState(cfg2, dataDir2, now = /* @__PURE__ */ new Date(), isEntitled
|
|
|
53237
53307
|
const warnAtPercent = cfg2.budgets?.warnAtPercent ?? DEFAULT_WARN_AT_PERCENT;
|
|
53238
53308
|
const percent = Math.min(999, Math.round(spentUsd / monthlyUsd * 100));
|
|
53239
53309
|
return {
|
|
53240
|
-
month:
|
|
53310
|
+
month: monthOf2(now),
|
|
53241
53311
|
monthlyUsd,
|
|
53242
53312
|
spentUsd,
|
|
53243
53313
|
percent,
|
|
@@ -54629,7 +54699,7 @@ import { readFileSync as readFileSync33 } from "node:fs";
|
|
|
54629
54699
|
import { homedir as homedir12 } from "node:os";
|
|
54630
54700
|
import { basename as basename8, join as join38 } from "node:path";
|
|
54631
54701
|
|
|
54632
|
-
//
|
|
54702
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/identity.js
|
|
54633
54703
|
var ALIAS = /* @__PURE__ */ Symbol.for("yaml.alias");
|
|
54634
54704
|
var DOC = /* @__PURE__ */ Symbol.for("yaml.document");
|
|
54635
54705
|
var MAP = /* @__PURE__ */ Symbol.for("yaml.map");
|
|
@@ -54665,7 +54735,7 @@ function isNode(node2) {
|
|
|
54665
54735
|
}
|
|
54666
54736
|
var hasAnchor = (node2) => (isScalar(node2) || isCollection(node2)) && !!node2.anchor;
|
|
54667
54737
|
|
|
54668
|
-
//
|
|
54738
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/visit.js
|
|
54669
54739
|
var BREAK = /* @__PURE__ */ Symbol("break visit");
|
|
54670
54740
|
var SKIP = /* @__PURE__ */ Symbol("skip children");
|
|
54671
54741
|
var REMOVE = /* @__PURE__ */ Symbol("remove node");
|
|
@@ -54815,7 +54885,7 @@ function replaceNode(key5, path2, node2) {
|
|
|
54815
54885
|
}
|
|
54816
54886
|
}
|
|
54817
54887
|
|
|
54818
|
-
//
|
|
54888
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/doc/directives.js
|
|
54819
54889
|
var escapeChars = {
|
|
54820
54890
|
"!": "%21",
|
|
54821
54891
|
",": "%2C",
|
|
@@ -54978,7 +55048,7 @@ var Directives = class _Directives {
|
|
|
54978
55048
|
Directives.defaultYaml = { explicit: false, version: "1.2" };
|
|
54979
55049
|
Directives.defaultTags = { "!!": "tag:yaml.org,2002:" };
|
|
54980
55050
|
|
|
54981
|
-
//
|
|
55051
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/doc/anchors.js
|
|
54982
55052
|
function anchorIsValid(anchor) {
|
|
54983
55053
|
if (/[\x00-\x19\s,[\]{}]/.test(anchor)) {
|
|
54984
55054
|
const sa = JSON.stringify(anchor);
|
|
@@ -55037,7 +55107,7 @@ function createNodeAnchors(doc, prefix) {
|
|
|
55037
55107
|
};
|
|
55038
55108
|
}
|
|
55039
55109
|
|
|
55040
|
-
//
|
|
55110
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/doc/applyReviver.js
|
|
55041
55111
|
function applyReviver(reviver, obj, key5, val) {
|
|
55042
55112
|
if (val && typeof val === "object") {
|
|
55043
55113
|
if (Array.isArray(val)) {
|
|
@@ -55081,7 +55151,7 @@ function applyReviver(reviver, obj, key5, val) {
|
|
|
55081
55151
|
return reviver.call(obj, key5, val);
|
|
55082
55152
|
}
|
|
55083
55153
|
|
|
55084
|
-
//
|
|
55154
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/toJS.js
|
|
55085
55155
|
function toJS(value, arg, ctx) {
|
|
55086
55156
|
if (Array.isArray(value))
|
|
55087
55157
|
return value.map((v3, i) => toJS(v3, String(i), ctx));
|
|
@@ -55104,7 +55174,7 @@ function toJS(value, arg, ctx) {
|
|
|
55104
55174
|
return value;
|
|
55105
55175
|
}
|
|
55106
55176
|
|
|
55107
|
-
//
|
|
55177
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/Node.js
|
|
55108
55178
|
var NodeBase = class {
|
|
55109
55179
|
constructor(type) {
|
|
55110
55180
|
Object.defineProperty(this, NODE_TYPE, { value: type });
|
|
@@ -55136,7 +55206,7 @@ var NodeBase = class {
|
|
|
55136
55206
|
}
|
|
55137
55207
|
};
|
|
55138
55208
|
|
|
55139
|
-
//
|
|
55209
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/Alias.js
|
|
55140
55210
|
var Alias = class extends NodeBase {
|
|
55141
55211
|
constructor(source3) {
|
|
55142
55212
|
super(ALIAS);
|
|
@@ -55241,7 +55311,7 @@ function getAliasCount(doc, node2, anchors) {
|
|
|
55241
55311
|
return 1;
|
|
55242
55312
|
}
|
|
55243
55313
|
|
|
55244
|
-
//
|
|
55314
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/Scalar.js
|
|
55245
55315
|
var isScalarValue = (value) => !value || typeof value !== "function" && typeof value !== "object";
|
|
55246
55316
|
var Scalar = class extends NodeBase {
|
|
55247
55317
|
constructor(value) {
|
|
@@ -55261,7 +55331,7 @@ Scalar.PLAIN = "PLAIN";
|
|
|
55261
55331
|
Scalar.QUOTE_DOUBLE = "QUOTE_DOUBLE";
|
|
55262
55332
|
Scalar.QUOTE_SINGLE = "QUOTE_SINGLE";
|
|
55263
55333
|
|
|
55264
|
-
//
|
|
55334
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/doc/createNode.js
|
|
55265
55335
|
var defaultTagPrefix = "tag:yaml.org,2002:";
|
|
55266
55336
|
function findTagObject(value, tagName, tags) {
|
|
55267
55337
|
if (tagName) {
|
|
@@ -55327,7 +55397,7 @@ function createNode(value, tagName, ctx) {
|
|
|
55327
55397
|
return node2;
|
|
55328
55398
|
}
|
|
55329
55399
|
|
|
55330
|
-
//
|
|
55400
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/Collection.js
|
|
55331
55401
|
function collectionFromPath(schema5, path2, value) {
|
|
55332
55402
|
let v3 = value;
|
|
55333
55403
|
for (let i = path2.length - 1; i >= 0; --i) {
|
|
@@ -55459,7 +55529,7 @@ var Collection = class extends NodeBase {
|
|
|
55459
55529
|
}
|
|
55460
55530
|
};
|
|
55461
55531
|
|
|
55462
|
-
//
|
|
55532
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/stringify/stringifyComment.js
|
|
55463
55533
|
var stringifyComment = (str5) => str5.replace(/^(?!$)(?: $)?/gm, "#");
|
|
55464
55534
|
function indentComment(comment, indent) {
|
|
55465
55535
|
if (/^\n+$/.test(comment))
|
|
@@ -55468,7 +55538,7 @@ function indentComment(comment, indent) {
|
|
|
55468
55538
|
}
|
|
55469
55539
|
var lineComment = (str5, indent, comment) => str5.endsWith("\n") ? indentComment(comment, indent) : comment.includes("\n") ? "\n" + indentComment(comment, indent) : (str5.endsWith(" ") ? "" : " ") + comment;
|
|
55470
55540
|
|
|
55471
|
-
//
|
|
55541
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/stringify/foldFlowLines.js
|
|
55472
55542
|
var FOLD_FLOW = "flow";
|
|
55473
55543
|
var FOLD_BLOCK = "block";
|
|
55474
55544
|
var FOLD_QUOTED = "quoted";
|
|
@@ -55595,7 +55665,7 @@ function consumeMoreIndentedLines(text19, i, indent) {
|
|
|
55595
55665
|
return end;
|
|
55596
55666
|
}
|
|
55597
55667
|
|
|
55598
|
-
//
|
|
55668
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/stringify/stringifyString.js
|
|
55599
55669
|
var getFoldOptions = (ctx, isBlock2) => ({
|
|
55600
55670
|
indentAtStart: isBlock2 ? ctx.indent.length : ctx.indentAtStart,
|
|
55601
55671
|
lineWidth: ctx.options.lineWidth,
|
|
@@ -55870,7 +55940,7 @@ function stringifyString(item, ctx, onComment, onChompKeep) {
|
|
|
55870
55940
|
return res;
|
|
55871
55941
|
}
|
|
55872
55942
|
|
|
55873
|
-
//
|
|
55943
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/stringify/stringify.js
|
|
55874
55944
|
function createStringifyContext(doc, options) {
|
|
55875
55945
|
const opt = Object.assign({
|
|
55876
55946
|
blockQuote: true,
|
|
@@ -55983,7 +56053,7 @@ function stringify(item, ctx, onComment, onChompKeep) {
|
|
|
55983
56053
|
${ctx.indent}${str5}`;
|
|
55984
56054
|
}
|
|
55985
56055
|
|
|
55986
|
-
//
|
|
56056
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/stringify/stringifyPair.js
|
|
55987
56057
|
function stringifyPair({ key: key5, value }, ctx, onComment, onChompKeep) {
|
|
55988
56058
|
const { allNullValues, doc, indent, indentStep, options: { commentString, indentSeq, simpleKeys } } = ctx;
|
|
55989
56059
|
let keyComment = isNode(key5) && key5.comment || null;
|
|
@@ -56106,14 +56176,14 @@ ${ctx.indent}`;
|
|
|
56106
56176
|
return str5;
|
|
56107
56177
|
}
|
|
56108
56178
|
|
|
56109
|
-
//
|
|
56179
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/log.js
|
|
56110
56180
|
function warn(logLevel, warning) {
|
|
56111
56181
|
if (logLevel === "debug" || logLevel === "warn") {
|
|
56112
56182
|
console.warn(warning);
|
|
56113
56183
|
}
|
|
56114
56184
|
}
|
|
56115
56185
|
|
|
56116
|
-
//
|
|
56186
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js
|
|
56117
56187
|
var MERGE_KEY = "<<";
|
|
56118
56188
|
var merge2 = {
|
|
56119
56189
|
identify: (value) => value === MERGE_KEY || typeof value === "symbol" && value.description === MERGE_KEY,
|
|
@@ -56163,7 +56233,7 @@ function resolveAliasValue(ctx, value) {
|
|
|
56163
56233
|
return ctx && isAlias(value) ? value.resolve(ctx.doc, ctx) : value;
|
|
56164
56234
|
}
|
|
56165
56235
|
|
|
56166
|
-
//
|
|
56236
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js
|
|
56167
56237
|
function addPairToJSMap(ctx, map3, { key: key5, value }) {
|
|
56168
56238
|
if (isNode(key5) && key5.addToJSMap)
|
|
56169
56239
|
key5.addToJSMap(ctx, map3, value);
|
|
@@ -56216,7 +56286,7 @@ function stringifyKey(key5, jsKey, ctx) {
|
|
|
56216
56286
|
return JSON.stringify(jsKey);
|
|
56217
56287
|
}
|
|
56218
56288
|
|
|
56219
|
-
//
|
|
56289
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/Pair.js
|
|
56220
56290
|
function createPair(key5, value, ctx) {
|
|
56221
56291
|
const k3 = createNode(key5, void 0, ctx);
|
|
56222
56292
|
const v3 = createNode(value, void 0, ctx);
|
|
@@ -56245,7 +56315,7 @@ var Pair = class _Pair {
|
|
|
56245
56315
|
}
|
|
56246
56316
|
};
|
|
56247
56317
|
|
|
56248
|
-
//
|
|
56318
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/stringify/stringifyCollection.js
|
|
56249
56319
|
function stringifyCollection(collection, ctx, options) {
|
|
56250
56320
|
const flow3 = ctx.inFlow ?? collection.flow;
|
|
56251
56321
|
const stringify4 = flow3 ? stringifyFlowCollection : stringifyBlockCollection;
|
|
@@ -56387,7 +56457,7 @@ function addCommentBefore({ indent, options: { commentString } }, lines, comment
|
|
|
56387
56457
|
}
|
|
56388
56458
|
}
|
|
56389
56459
|
|
|
56390
|
-
//
|
|
56460
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/YAMLMap.js
|
|
56391
56461
|
function findPair(items, key5) {
|
|
56392
56462
|
const k3 = isScalar(key5) ? key5.value : key5;
|
|
56393
56463
|
for (const it2 of items) {
|
|
@@ -56518,7 +56588,7 @@ var YAMLMap = class extends Collection {
|
|
|
56518
56588
|
}
|
|
56519
56589
|
};
|
|
56520
56590
|
|
|
56521
|
-
//
|
|
56591
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/common/map.js
|
|
56522
56592
|
var map2 = {
|
|
56523
56593
|
collection: "map",
|
|
56524
56594
|
default: true,
|
|
@@ -56532,7 +56602,7 @@ var map2 = {
|
|
|
56532
56602
|
createNode: (schema5, obj, ctx) => YAMLMap.from(schema5, obj, ctx)
|
|
56533
56603
|
};
|
|
56534
56604
|
|
|
56535
|
-
//
|
|
56605
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/YAMLSeq.js
|
|
56536
56606
|
var YAMLSeq = class extends Collection {
|
|
56537
56607
|
static get tagName() {
|
|
56538
56608
|
return "tag:yaml.org,2002:seq";
|
|
@@ -56636,7 +56706,7 @@ function asItemIndex(key5) {
|
|
|
56636
56706
|
return typeof idx === "number" && Number.isInteger(idx) && idx >= 0 ? idx : null;
|
|
56637
56707
|
}
|
|
56638
56708
|
|
|
56639
|
-
//
|
|
56709
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/common/seq.js
|
|
56640
56710
|
var seq = {
|
|
56641
56711
|
collection: "seq",
|
|
56642
56712
|
default: true,
|
|
@@ -56650,7 +56720,7 @@ var seq = {
|
|
|
56650
56720
|
createNode: (schema5, obj, ctx) => YAMLSeq.from(schema5, obj, ctx)
|
|
56651
56721
|
};
|
|
56652
56722
|
|
|
56653
|
-
//
|
|
56723
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/common/string.js
|
|
56654
56724
|
var string6 = {
|
|
56655
56725
|
identify: (value) => typeof value === "string",
|
|
56656
56726
|
default: true,
|
|
@@ -56662,7 +56732,7 @@ var string6 = {
|
|
|
56662
56732
|
}
|
|
56663
56733
|
};
|
|
56664
56734
|
|
|
56665
|
-
//
|
|
56735
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/common/null.js
|
|
56666
56736
|
var nullTag = {
|
|
56667
56737
|
identify: (value) => value == null,
|
|
56668
56738
|
createNode: () => new Scalar(null),
|
|
@@ -56673,7 +56743,7 @@ var nullTag = {
|
|
|
56673
56743
|
stringify: ({ source: source3 }, ctx) => typeof source3 === "string" && nullTag.test.test(source3) ? source3 : ctx.options.nullStr
|
|
56674
56744
|
};
|
|
56675
56745
|
|
|
56676
|
-
//
|
|
56746
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/core/bool.js
|
|
56677
56747
|
var boolTag = {
|
|
56678
56748
|
identify: (value) => typeof value === "boolean",
|
|
56679
56749
|
default: true,
|
|
@@ -56690,7 +56760,7 @@ var boolTag = {
|
|
|
56690
56760
|
}
|
|
56691
56761
|
};
|
|
56692
56762
|
|
|
56693
|
-
//
|
|
56763
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/stringify/stringifyNumber.js
|
|
56694
56764
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
56695
56765
|
if (typeof value === "bigint")
|
|
56696
56766
|
return String(value);
|
|
@@ -56711,7 +56781,7 @@ function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
|
56711
56781
|
return n;
|
|
56712
56782
|
}
|
|
56713
56783
|
|
|
56714
|
-
//
|
|
56784
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/core/float.js
|
|
56715
56785
|
var floatNaN = {
|
|
56716
56786
|
identify: (value) => typeof value === "number",
|
|
56717
56787
|
default: true,
|
|
@@ -56747,7 +56817,7 @@ var float = {
|
|
|
56747
56817
|
stringify: stringifyNumber
|
|
56748
56818
|
};
|
|
56749
56819
|
|
|
56750
|
-
//
|
|
56820
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/core/int.js
|
|
56751
56821
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
56752
56822
|
var intResolve = (str5, offset, radix, { intAsBigInt }) => intAsBigInt ? BigInt(str5) : parseInt(str5.substring(offset), radix);
|
|
56753
56823
|
function intStringify(node2, radix, prefix) {
|
|
@@ -56783,7 +56853,7 @@ var intHex = {
|
|
|
56783
56853
|
stringify: (node2) => intStringify(node2, 16, "0x")
|
|
56784
56854
|
};
|
|
56785
56855
|
|
|
56786
|
-
//
|
|
56856
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/core/schema.js
|
|
56787
56857
|
var schema2 = [
|
|
56788
56858
|
map2,
|
|
56789
56859
|
seq,
|
|
@@ -56798,7 +56868,7 @@ var schema2 = [
|
|
|
56798
56868
|
float
|
|
56799
56869
|
];
|
|
56800
56870
|
|
|
56801
|
-
//
|
|
56871
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/json/schema.js
|
|
56802
56872
|
function intIdentify2(value) {
|
|
56803
56873
|
return typeof value === "bigint" || Number.isInteger(value);
|
|
56804
56874
|
}
|
|
@@ -56856,7 +56926,7 @@ var jsonError = {
|
|
|
56856
56926
|
};
|
|
56857
56927
|
var schema3 = [map2, seq].concat(jsonScalars, jsonError);
|
|
56858
56928
|
|
|
56859
|
-
//
|
|
56929
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js
|
|
56860
56930
|
var binary = {
|
|
56861
56931
|
identify: (value) => value instanceof Uint8Array,
|
|
56862
56932
|
// Buffer inherits from Uint8Array
|
|
@@ -56909,7 +56979,7 @@ var binary = {
|
|
|
56909
56979
|
}
|
|
56910
56980
|
};
|
|
56911
56981
|
|
|
56912
|
-
//
|
|
56982
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js
|
|
56913
56983
|
function resolvePairs(seq2, onError) {
|
|
56914
56984
|
if (isSeq(seq2)) {
|
|
56915
56985
|
for (let i = 0; i < seq2.items.length; ++i) {
|
|
@@ -56975,7 +57045,7 @@ var pairs = {
|
|
|
56975
57045
|
createNode: createPairs
|
|
56976
57046
|
};
|
|
56977
57047
|
|
|
56978
|
-
//
|
|
57048
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js
|
|
56979
57049
|
var YAMLOMap = class _YAMLOMap extends YAMLSeq {
|
|
56980
57050
|
constructor() {
|
|
56981
57051
|
super();
|
|
@@ -57041,7 +57111,7 @@ var omap = {
|
|
|
57041
57111
|
createNode: (schema5, iterable, ctx) => YAMLOMap.from(schema5, iterable, ctx)
|
|
57042
57112
|
};
|
|
57043
57113
|
|
|
57044
|
-
//
|
|
57114
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js
|
|
57045
57115
|
function boolStringify({ value, source: source3 }, ctx) {
|
|
57046
57116
|
const boolObj = value ? trueTag : falseTag;
|
|
57047
57117
|
if (source3 && boolObj.test.test(source3))
|
|
@@ -57065,7 +57135,7 @@ var falseTag = {
|
|
|
57065
57135
|
stringify: boolStringify
|
|
57066
57136
|
};
|
|
57067
57137
|
|
|
57068
|
-
//
|
|
57138
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js
|
|
57069
57139
|
var floatNaN2 = {
|
|
57070
57140
|
identify: (value) => typeof value === "number",
|
|
57071
57141
|
default: true,
|
|
@@ -57104,7 +57174,7 @@ var float2 = {
|
|
|
57104
57174
|
stringify: stringifyNumber
|
|
57105
57175
|
};
|
|
57106
57176
|
|
|
57107
|
-
//
|
|
57177
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js
|
|
57108
57178
|
var intIdentify3 = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
57109
57179
|
function intResolve2(str5, offset, radix, { intAsBigInt }) {
|
|
57110
57180
|
const sign2 = str5[0];
|
|
@@ -57173,7 +57243,7 @@ var intHex2 = {
|
|
|
57173
57243
|
stringify: (node2) => intStringify2(node2, 16, "0x")
|
|
57174
57244
|
};
|
|
57175
57245
|
|
|
57176
|
-
//
|
|
57246
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js
|
|
57177
57247
|
var YAMLSet = class _YAMLSet extends YAMLMap {
|
|
57178
57248
|
constructor(schema5) {
|
|
57179
57249
|
super(schema5);
|
|
@@ -57252,7 +57322,7 @@ var set2 = {
|
|
|
57252
57322
|
}
|
|
57253
57323
|
};
|
|
57254
57324
|
|
|
57255
|
-
//
|
|
57325
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js
|
|
57256
57326
|
function parseSexagesimal(str5, asBigInt) {
|
|
57257
57327
|
const sign2 = str5[0];
|
|
57258
57328
|
const parts = sign2 === "-" || sign2 === "+" ? str5.substring(1) : str5;
|
|
@@ -57331,7 +57401,7 @@ var timestamp3 = {
|
|
|
57331
57401
|
stringify: ({ value }) => value?.toISOString().replace(/(T00:00:00)?\.000Z$/, "") ?? ""
|
|
57332
57402
|
};
|
|
57333
57403
|
|
|
57334
|
-
//
|
|
57404
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js
|
|
57335
57405
|
var schema4 = [
|
|
57336
57406
|
map2,
|
|
57337
57407
|
seq,
|
|
@@ -57356,7 +57426,7 @@ var schema4 = [
|
|
|
57356
57426
|
timestamp3
|
|
57357
57427
|
];
|
|
57358
57428
|
|
|
57359
|
-
//
|
|
57429
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/tags.js
|
|
57360
57430
|
var schemas = /* @__PURE__ */ new Map([
|
|
57361
57431
|
["core", schema2],
|
|
57362
57432
|
["failsafe", [map2, seq, string6]],
|
|
@@ -57427,7 +57497,7 @@ function getTags(customTags, schemaName, addMergeTag) {
|
|
|
57427
57497
|
}, []);
|
|
57428
57498
|
}
|
|
57429
57499
|
|
|
57430
|
-
//
|
|
57500
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/Schema.js
|
|
57431
57501
|
var sortMapEntriesByKey = (a, b3) => a.key < b3.key ? -1 : a.key > b3.key ? 1 : 0;
|
|
57432
57502
|
var Schema = class _Schema {
|
|
57433
57503
|
constructor({ compat, customTags, merge: merge3, resolveKnownTags, schema: schema5, sortMapEntries, toStringDefaults }) {
|
|
@@ -57448,7 +57518,7 @@ var Schema = class _Schema {
|
|
|
57448
57518
|
}
|
|
57449
57519
|
};
|
|
57450
57520
|
|
|
57451
|
-
//
|
|
57521
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/stringify/stringifyDocument.js
|
|
57452
57522
|
function stringifyDocument(doc, options) {
|
|
57453
57523
|
const lines = [];
|
|
57454
57524
|
let hasDirectives = options.directives === true;
|
|
@@ -57519,7 +57589,7 @@ function stringifyDocument(doc, options) {
|
|
|
57519
57589
|
return lines.join("\n") + "\n";
|
|
57520
57590
|
}
|
|
57521
57591
|
|
|
57522
|
-
//
|
|
57592
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/doc/Document.js
|
|
57523
57593
|
var Document = class _Document {
|
|
57524
57594
|
constructor(value, replacer, options) {
|
|
57525
57595
|
this.commentBefore = null;
|
|
@@ -57811,7 +57881,7 @@ function assertCollection(contents) {
|
|
|
57811
57881
|
throw new Error("Expected a YAML collection as document contents");
|
|
57812
57882
|
}
|
|
57813
57883
|
|
|
57814
|
-
//
|
|
57884
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/errors.js
|
|
57815
57885
|
var YAMLError = class extends Error {
|
|
57816
57886
|
constructor(name2, pos, code, message4) {
|
|
57817
57887
|
super();
|
|
@@ -57867,7 +57937,7 @@ ${pointer}
|
|
|
57867
57937
|
}
|
|
57868
57938
|
};
|
|
57869
57939
|
|
|
57870
|
-
//
|
|
57940
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-props.js
|
|
57871
57941
|
function resolveProps(tokens, { flow: flow3, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
57872
57942
|
let spaceBefore = false;
|
|
57873
57943
|
let atNewline = startOnNewline;
|
|
@@ -57995,7 +58065,7 @@ function resolveProps(tokens, { flow: flow3, indicator, next, offset, onError, p
|
|
|
57995
58065
|
};
|
|
57996
58066
|
}
|
|
57997
58067
|
|
|
57998
|
-
//
|
|
58068
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/util-contains-newline.js
|
|
57999
58069
|
function containsNewline(key5) {
|
|
58000
58070
|
if (!key5)
|
|
58001
58071
|
return null;
|
|
@@ -58031,7 +58101,7 @@ function containsNewline(key5) {
|
|
|
58031
58101
|
}
|
|
58032
58102
|
}
|
|
58033
58103
|
|
|
58034
|
-
//
|
|
58104
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js
|
|
58035
58105
|
function flowIndentCheck(indent, fc, onError) {
|
|
58036
58106
|
if (fc?.type === "flow-collection") {
|
|
58037
58107
|
const end = fc.end[0];
|
|
@@ -58042,7 +58112,7 @@ function flowIndentCheck(indent, fc, onError) {
|
|
|
58042
58112
|
}
|
|
58043
58113
|
}
|
|
58044
58114
|
|
|
58045
|
-
//
|
|
58115
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/util-map-includes.js
|
|
58046
58116
|
function mapIncludes(ctx, items, search2) {
|
|
58047
58117
|
const { uniqueKeys } = ctx.options;
|
|
58048
58118
|
if (uniqueKeys === false)
|
|
@@ -58051,7 +58121,7 @@ function mapIncludes(ctx, items, search2) {
|
|
|
58051
58121
|
return items.some((pair) => isEqual(pair.key, search2));
|
|
58052
58122
|
}
|
|
58053
58123
|
|
|
58054
|
-
//
|
|
58124
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-block-map.js
|
|
58055
58125
|
var startColMsg = "All mapping items must start at the same column";
|
|
58056
58126
|
function resolveBlockMap({ composeNode: composeNode2, composeEmptyNode: composeEmptyNode2 }, ctx, bm, onError, tag) {
|
|
58057
58127
|
const NodeClass = tag?.nodeClass ?? YAMLMap;
|
|
@@ -58147,7 +58217,7 @@ function resolveBlockMap({ composeNode: composeNode2, composeEmptyNode: composeE
|
|
|
58147
58217
|
return map3;
|
|
58148
58218
|
}
|
|
58149
58219
|
|
|
58150
|
-
//
|
|
58220
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-block-seq.js
|
|
58151
58221
|
function resolveBlockSeq({ composeNode: composeNode2, composeEmptyNode: composeEmptyNode2 }, ctx, bs2, onError, tag) {
|
|
58152
58222
|
const NodeClass = tag?.nodeClass ?? YAMLSeq;
|
|
58153
58223
|
const seq2 = new NodeClass(ctx.schema);
|
|
@@ -58189,7 +58259,7 @@ function resolveBlockSeq({ composeNode: composeNode2, composeEmptyNode: composeE
|
|
|
58189
58259
|
return seq2;
|
|
58190
58260
|
}
|
|
58191
58261
|
|
|
58192
|
-
//
|
|
58262
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-end.js
|
|
58193
58263
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
58194
58264
|
let comment = "";
|
|
58195
58265
|
if (end) {
|
|
@@ -58226,7 +58296,7 @@ function resolveEnd(end, offset, reqSpace, onError) {
|
|
|
58226
58296
|
return { comment, offset };
|
|
58227
58297
|
}
|
|
58228
58298
|
|
|
58229
|
-
//
|
|
58299
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js
|
|
58230
58300
|
var blockMsg = "Block collections are not allowed within flow collections";
|
|
58231
58301
|
var isBlock = (token) => token && (token.type === "block-map" || token.type === "block-seq");
|
|
58232
58302
|
function resolveFlowCollection({ composeNode: composeNode2, composeEmptyNode: composeEmptyNode2 }, ctx, fc, onError, tag) {
|
|
@@ -58406,7 +58476,7 @@ function resolveFlowCollection({ composeNode: composeNode2, composeEmptyNode: co
|
|
|
58406
58476
|
return coll;
|
|
58407
58477
|
}
|
|
58408
58478
|
|
|
58409
|
-
//
|
|
58479
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/compose-collection.js
|
|
58410
58480
|
function resolveCollection(CN2, ctx, token, onError, tagName, tag) {
|
|
58411
58481
|
const coll = token.type === "block-map" ? resolveBlockMap(CN2, ctx, token, onError, tag) : token.type === "block-seq" ? resolveBlockSeq(CN2, ctx, token, onError, tag) : resolveFlowCollection(CN2, ctx, token, onError, tag);
|
|
58412
58482
|
const Coll = coll.constructor;
|
|
@@ -58458,7 +58528,7 @@ function composeCollection(CN2, ctx, token, props, onError) {
|
|
|
58458
58528
|
return node2;
|
|
58459
58529
|
}
|
|
58460
58530
|
|
|
58461
|
-
//
|
|
58531
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js
|
|
58462
58532
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
58463
58533
|
const start = scalar.offset;
|
|
58464
58534
|
const header3 = parseBlockScalarHeader(scalar, ctx.options.strict, onError);
|
|
@@ -58634,7 +58704,7 @@ function splitLines(source3) {
|
|
|
58634
58704
|
return lines;
|
|
58635
58705
|
}
|
|
58636
58706
|
|
|
58637
|
-
//
|
|
58707
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js
|
|
58638
58708
|
function resolveFlowScalar(scalar, strict, onError) {
|
|
58639
58709
|
const { offset, type, source: source3, end } = scalar;
|
|
58640
58710
|
let _type;
|
|
@@ -58846,7 +58916,7 @@ function parseCharCode(source3, offset, length, onError) {
|
|
|
58846
58916
|
}
|
|
58847
58917
|
}
|
|
58848
58918
|
|
|
58849
|
-
//
|
|
58919
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/compose-scalar.js
|
|
58850
58920
|
function composeScalar(ctx, token, tagToken, onError) {
|
|
58851
58921
|
const { value, type, comment, range: range2 } = token.type === "block-scalar" ? resolveBlockScalar(ctx, token, onError) : resolveFlowScalar(token, ctx.options.strict, onError);
|
|
58852
58922
|
const tagName = tagToken ? ctx.directives.tagName(tagToken.source, (msg) => onError(tagToken, "TAG_RESOLVE_FAILED", msg)) : null;
|
|
@@ -58917,7 +58987,7 @@ function findScalarTagByTest({ atKey, directives, schema: schema5 }, value, toke
|
|
|
58917
58987
|
return tag;
|
|
58918
58988
|
}
|
|
58919
58989
|
|
|
58920
|
-
//
|
|
58990
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js
|
|
58921
58991
|
function emptyScalarPosition(offset, before, pos) {
|
|
58922
58992
|
if (before) {
|
|
58923
58993
|
pos ?? (pos = before.length);
|
|
@@ -58941,7 +59011,7 @@ function emptyScalarPosition(offset, before, pos) {
|
|
|
58941
59011
|
return offset;
|
|
58942
59012
|
}
|
|
58943
59013
|
|
|
58944
|
-
//
|
|
59014
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/compose-node.js
|
|
58945
59015
|
var CN = { composeNode, composeEmptyNode };
|
|
58946
59016
|
function composeNode(ctx, token, props, onError) {
|
|
58947
59017
|
const atKey = ctx.atKey;
|
|
@@ -59034,7 +59104,7 @@ function composeAlias({ options }, { offset, source: source3, end }, onError) {
|
|
|
59034
59104
|
return alias;
|
|
59035
59105
|
}
|
|
59036
59106
|
|
|
59037
|
-
//
|
|
59107
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/compose-doc.js
|
|
59038
59108
|
function composeDoc(options, directives, { offset, start, value, end }, onError) {
|
|
59039
59109
|
const opts = Object.assign({ _directives: directives }, options);
|
|
59040
59110
|
const doc = new Document(void 0, opts);
|
|
@@ -59067,7 +59137,7 @@ function composeDoc(options, directives, { offset, start, value, end }, onError)
|
|
|
59067
59137
|
return doc;
|
|
59068
59138
|
}
|
|
59069
59139
|
|
|
59070
|
-
//
|
|
59140
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/composer.js
|
|
59071
59141
|
function getErrorPos(src) {
|
|
59072
59142
|
if (typeof src === "number")
|
|
59073
59143
|
return [src, src + 1];
|
|
@@ -59260,7 +59330,7 @@ ${end.comment}` : end.comment;
|
|
|
59260
59330
|
}
|
|
59261
59331
|
};
|
|
59262
59332
|
|
|
59263
|
-
//
|
|
59333
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/parse/cst-visit.js
|
|
59264
59334
|
var BREAK2 = /* @__PURE__ */ Symbol("break visit");
|
|
59265
59335
|
var SKIP2 = /* @__PURE__ */ Symbol("skip children");
|
|
59266
59336
|
var REMOVE2 = /* @__PURE__ */ Symbol("remove item");
|
|
@@ -59316,7 +59386,7 @@ function _visit(path2, item, visitor) {
|
|
|
59316
59386
|
return typeof ctrl === "function" ? ctrl(item, path2) : ctrl;
|
|
59317
59387
|
}
|
|
59318
59388
|
|
|
59319
|
-
//
|
|
59389
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/parse/cst.js
|
|
59320
59390
|
var BOM = "\uFEFF";
|
|
59321
59391
|
var DOCUMENT = "";
|
|
59322
59392
|
var FLOW_END = "";
|
|
@@ -59381,7 +59451,7 @@ function tokenType(source3) {
|
|
|
59381
59451
|
return null;
|
|
59382
59452
|
}
|
|
59383
59453
|
|
|
59384
|
-
//
|
|
59454
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/parse/lexer.js
|
|
59385
59455
|
function isEmpty(ch) {
|
|
59386
59456
|
switch (ch) {
|
|
59387
59457
|
case void 0:
|
|
@@ -59963,7 +60033,7 @@ var Lexer = class {
|
|
|
59963
60033
|
}
|
|
59964
60034
|
};
|
|
59965
60035
|
|
|
59966
|
-
//
|
|
60036
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/parse/line-counter.js
|
|
59967
60037
|
var LineCounter = class {
|
|
59968
60038
|
constructor() {
|
|
59969
60039
|
this.lineStarts = [];
|
|
@@ -59988,7 +60058,7 @@ var LineCounter = class {
|
|
|
59988
60058
|
}
|
|
59989
60059
|
};
|
|
59990
60060
|
|
|
59991
|
-
//
|
|
60061
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/parse/parser.js
|
|
59992
60062
|
function includesToken(list3, type) {
|
|
59993
60063
|
for (let i = 0; i < list3.length; ++i)
|
|
59994
60064
|
if (list3[i].type === type)
|
|
@@ -60851,7 +60921,7 @@ var Parser = class {
|
|
|
60851
60921
|
}
|
|
60852
60922
|
};
|
|
60853
60923
|
|
|
60854
|
-
//
|
|
60924
|
+
// node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/public-api.js
|
|
60855
60925
|
function parseOptions(options) {
|
|
60856
60926
|
const prettyErrors = options.prettyErrors !== false;
|
|
60857
60927
|
const lineCounter = options.lineCounter || prettyErrors && new LineCounter() || null;
|
|
@@ -62080,9 +62150,9 @@ function createAcpDriver(support12) {
|
|
|
62080
62150
|
const named = isQuestion && behavior === "answer" ? options.filter((option) => option.optionId === message4 || option.name?.trim() === message4) : [];
|
|
62081
62151
|
const optionId = behavior === "cancel" ? null : isQuestion ? named.length === 1 && typeof named[0].optionId === "string" ? named[0].optionId : null : forSession ? optionAlways ?? optionFor2("allow") : optionFor2(want);
|
|
62082
62152
|
if (forSession && !optionAlways && optionId && operationKey) {
|
|
62083
|
-
const
|
|
62084
|
-
|
|
62085
|
-
sessionAllows.set(threadId,
|
|
62153
|
+
const remembered2 = sessionAllows.get(threadId) ?? /* @__PURE__ */ new Set();
|
|
62154
|
+
remembered2.add(operationKey);
|
|
62155
|
+
sessionAllows.set(threadId, remembered2);
|
|
62086
62156
|
}
|
|
62087
62157
|
if (behavior !== "cancel" && !optionId) missing(isQuestion ? "matching answer" : want);
|
|
62088
62158
|
send2({
|
|
@@ -68992,7 +69062,7 @@ import { readFile as readFile4 } from "node:fs/promises";
|
|
|
68992
69062
|
import { homedir as homedir25, tmpdir as tmpdir5 } from "node:os";
|
|
68993
69063
|
import { join as join52 } from "node:path";
|
|
68994
69064
|
|
|
68995
|
-
//
|
|
69065
|
+
// node_modules/.pnpm/@muse-code+sdk@1.4.12_@types+node@26.2.0/node_modules/@muse-code/sdk/dist/src/fingerprint.js
|
|
68996
69066
|
var EXPECTED_SCHEMA_FINGERPRINT = "sha256:cfdb6d2525601b9bac76584ccb0610ab3a5539b5e4f51141f079b99b39fcb4e0";
|
|
68997
69067
|
function checkServedFingerprint(served, pinned = EXPECTED_SCHEMA_FINGERPRINT) {
|
|
68998
69068
|
if (served === pinned)
|
|
@@ -69005,7 +69075,7 @@ function checkServedFingerprint(served, pinned = EXPECTED_SCHEMA_FINGERPRINT) {
|
|
|
69005
69075
|
};
|
|
69006
69076
|
}
|
|
69007
69077
|
|
|
69008
|
-
//
|
|
69078
|
+
// node_modules/.pnpm/@muse-code+sdk@1.4.12_@types+node@26.2.0/node_modules/@muse-code/sdk/dist/src/errors.js
|
|
69009
69079
|
var MuseForeignSessionError = class extends Error {
|
|
69010
69080
|
constructor(message4) {
|
|
69011
69081
|
super(message4);
|
|
@@ -69026,7 +69096,7 @@ var MuseGapFillError = class extends Error {
|
|
|
69026
69096
|
}
|
|
69027
69097
|
};
|
|
69028
69098
|
|
|
69029
|
-
//
|
|
69099
|
+
// node_modules/.pnpm/@muse-code+sdk@1.4.12_@types+node@26.2.0/node_modules/@muse-code/sdk/dist/src/connection/connection.js
|
|
69030
69100
|
import { createHash as createHash19 } from "node:crypto";
|
|
69031
69101
|
var DEFAULT_FRAME_LIMIT_BYTES = 10485760;
|
|
69032
69102
|
var submissionTail = /* @__PURE__ */ Symbol("Connection.submissionTail");
|
|
@@ -69262,8 +69332,8 @@ var Connection = class {
|
|
|
69262
69332
|
if (memory2 !== void 0 && memory2.signature !== signature2) {
|
|
69263
69333
|
throw new ProtocolError(`commandId ${commandId} was reused with a different payload`);
|
|
69264
69334
|
}
|
|
69265
|
-
const
|
|
69266
|
-
this.#commands.set(commandId,
|
|
69335
|
+
const remembered2 = memory2 ?? { signature: signature2 };
|
|
69336
|
+
this.#commands.set(commandId, remembered2);
|
|
69267
69337
|
const maxAttempts = Math.max(1, options?.maxAttempts ?? 3);
|
|
69268
69338
|
const retryDelay = options?.retryDelay ?? defaultRetryDelay;
|
|
69269
69339
|
for (let attempt = 1; attempt <= maxAttempts; attempt += 1) {
|
|
@@ -69273,10 +69343,10 @@ var Connection = class {
|
|
|
69273
69343
|
throw new ProtocolError(`${method} ack commandId ${String(ack["commandId"])} did not echo ${commandId}`);
|
|
69274
69344
|
}
|
|
69275
69345
|
const ackFingerprint = fingerprint2(canonical2(ack));
|
|
69276
|
-
if (
|
|
69346
|
+
if (remembered2.ack !== void 0 && remembered2.ack !== ackFingerprint) {
|
|
69277
69347
|
throw new ProtocolError(`${method} replay for commandId ${commandId} did not return a value-identical ack`);
|
|
69278
69348
|
}
|
|
69279
|
-
|
|
69349
|
+
remembered2.ack = ackFingerprint;
|
|
69280
69350
|
return ack;
|
|
69281
69351
|
} catch (error51) {
|
|
69282
69352
|
const retryableNothingAdmitted = error51 instanceof MspError && (error51.code === -32001 && error51.kind === "overloaded" || error51.code === -32031 && error51.kind === "backpressured");
|
|
@@ -69501,7 +69571,7 @@ var Connection = class {
|
|
|
69501
69571
|
}
|
|
69502
69572
|
};
|
|
69503
69573
|
|
|
69504
|
-
//
|
|
69574
|
+
// node_modules/.pnpm/@muse-code+sdk@1.4.12_@types+node@26.2.0/node_modules/@muse-code/sdk/dist/src/connection/spawn.js
|
|
69505
69575
|
import { spawn as spawn2 } from "node:child_process";
|
|
69506
69576
|
var DEFAULT_STDERR_MAX_BYTES = 8 * 1024;
|
|
69507
69577
|
var DEFAULT_STDERR_MAX_LINES = 100;
|
|
@@ -69887,7 +69957,7 @@ function spawnMspConnection(options) {
|
|
|
69887
69957
|
return new MspHandshake(options);
|
|
69888
69958
|
}
|
|
69889
69959
|
|
|
69890
|
-
//
|
|
69960
|
+
// node_modules/.pnpm/@muse-code+sdk@1.4.12_@types+node@26.2.0/node_modules/@muse-code/sdk/dist/src/facade/gap-fill.js
|
|
69891
69961
|
var _a3;
|
|
69892
69962
|
var PAGE_LIMIT = 200;
|
|
69893
69963
|
var NO_RETIREMENTS = Promise.resolve([]);
|
|
@@ -70145,7 +70215,7 @@ var GapFiller = class {
|
|
|
70145
70215
|
};
|
|
70146
70216
|
_a3 = GapFiller;
|
|
70147
70217
|
|
|
70148
|
-
//
|
|
70218
|
+
// node_modules/.pnpm/@muse-code+sdk@1.4.12_@types+node@26.2.0/node_modules/@muse-code/sdk/dist/src/facade/session.js
|
|
70149
70219
|
var NO_IO = Promise.resolve([]);
|
|
70150
70220
|
|
|
70151
70221
|
// server/drivers/muse-code-login.ts
|
|
@@ -71932,13 +72002,70 @@ import { basename as basename12, join as join59 } from "node:path";
|
|
|
71932
72002
|
import { mkdirSync as mkdirSync25, readFileSync as readFileSync45, writeFileSync as writeFileSync19 } from "node:fs";
|
|
71933
72003
|
import { homedir as homedir28 } from "node:os";
|
|
71934
72004
|
import { join as join55 } from "node:path";
|
|
72005
|
+
|
|
72006
|
+
// server/atomic-engine-classes.ts
|
|
72007
|
+
var PROVIDER_DRIVER = {
|
|
72008
|
+
anthropic: "claudeAgent",
|
|
72009
|
+
"openai-codex": "codex",
|
|
72010
|
+
"ollama-cloud": "ollamaCloud",
|
|
72011
|
+
minimax: "minimax"
|
|
72012
|
+
};
|
|
72013
|
+
var engineModelId = (provider, model2) => provider === "ollama-cloud" ? model2.replace(/:cloud$/i, "") : model2;
|
|
72014
|
+
function classPick(provider, models, order) {
|
|
72015
|
+
const driverKind = PROVIDER_DRIVER[provider];
|
|
72016
|
+
if (!driverKind) return void 0;
|
|
72017
|
+
for (const modelClass of order) {
|
|
72018
|
+
for (const graded of models) {
|
|
72019
|
+
if (graded.modelClass !== modelClass) continue;
|
|
72020
|
+
const run7 = graded.runs.find((candidate) => candidate.driverKind === driverKind);
|
|
72021
|
+
if (run7) return { model: engineModelId(provider, run7.model), modelClass };
|
|
72022
|
+
}
|
|
72023
|
+
}
|
|
72024
|
+
return void 0;
|
|
72025
|
+
}
|
|
72026
|
+
|
|
72027
|
+
// server/atomic-engine-local.ts
|
|
72028
|
+
var remembered = [];
|
|
72029
|
+
function localPicks(options) {
|
|
72030
|
+
const byHost = /* @__PURE__ */ new Map();
|
|
72031
|
+
const seenUrls = /* @__PURE__ */ new Set();
|
|
72032
|
+
for (const option of options) {
|
|
72033
|
+
const inject = decodeInjectId(option.id);
|
|
72034
|
+
const host = inject ? localHost(inject.host) : void 0;
|
|
72035
|
+
if (!inject || !host || isOllamaCloudModel(inject.model)) continue;
|
|
72036
|
+
const current4 = byHost.get(host.id);
|
|
72037
|
+
if (current4 && (current4.loaded || !option.loaded)) continue;
|
|
72038
|
+
if (!current4 && seenUrls.has(host.baseUrl)) continue;
|
|
72039
|
+
seenUrls.add(host.baseUrl);
|
|
72040
|
+
byHost.set(host.id, { host, model: inject.model, loaded: option.loaded === true });
|
|
72041
|
+
}
|
|
72042
|
+
return [...byHost.values()].map(({ host, model: model2 }) => ({ host, model: model2 }));
|
|
72043
|
+
}
|
|
72044
|
+
function rememberLocalModels(options) {
|
|
72045
|
+
remembered = localPicks(options);
|
|
72046
|
+
}
|
|
72047
|
+
function rememberedLocalModels() {
|
|
72048
|
+
return remembered;
|
|
72049
|
+
}
|
|
72050
|
+
|
|
72051
|
+
// server/atomic-engine-accounts.ts
|
|
71935
72052
|
var ACCOUNTS_ENV = "ATOMIC_ENGINE_ACCOUNTS";
|
|
71936
72053
|
var ACCOUNTS_FILE = "atomic-accounts.json";
|
|
71937
72054
|
var KEY_ENV_PREFIX = "ATOMIC_ACCOUNT_KEY_";
|
|
71938
72055
|
var FAILOVER_MODEL = {
|
|
71939
|
-
anthropic: "claude-
|
|
72056
|
+
anthropic: CHIBI_DEFAULT_RUNG.model ?? "claude-opus-5",
|
|
71940
72057
|
"openai-codex": "gpt-5.6-sol",
|
|
71941
|
-
"ollama-cloud": "kimi-k3"
|
|
72058
|
+
"ollama-cloud": "kimi-k3",
|
|
72059
|
+
// Atomic's MiniMax engine default (server/drivers/minimax.ts) and the
|
|
72060
|
+
// engine's own MiniMax default.
|
|
72061
|
+
minimax: "MiniMax-M3"
|
|
72062
|
+
};
|
|
72063
|
+
var KEY_PLAN_PROVIDER = {
|
|
72064
|
+
qwenCodingPlan: "alibaba-coding-plan",
|
|
72065
|
+
minimaxPlan: "minimax",
|
|
72066
|
+
zai: "zai",
|
|
72067
|
+
opencodeGo: "opencode-go",
|
|
72068
|
+
nous: "nous-api"
|
|
71942
72069
|
};
|
|
71943
72070
|
function rawConfig2(entry) {
|
|
71944
72071
|
return entry.config && typeof entry.config === "object" && !Array.isArray(entry.config) ? entry.config : {};
|
|
@@ -71992,15 +72119,17 @@ function asAccount(id, entry) {
|
|
|
71992
72119
|
model: FAILOVER_MODEL["ollama-cloud"]
|
|
71993
72120
|
}, key: key5 };
|
|
71994
72121
|
}
|
|
71995
|
-
|
|
72122
|
+
const keyProvider = added?.kind === "apiKey" && added.billing === "subscription" ? KEY_PLAN_PROVIDER[added.id] : void 0;
|
|
72123
|
+
if (added?.kind === "apiKey" && keyProvider) {
|
|
71996
72124
|
const key5 = entry.environment?.[added.envVar]?.trim();
|
|
71997
72125
|
if (!key5) return null;
|
|
71998
72126
|
const config2 = rawConfig2(entry);
|
|
71999
|
-
const model2 = typeof config2.model === "string" && config2.model ? config2.model : added.config.model;
|
|
72000
|
-
const
|
|
72127
|
+
const model2 = typeof config2.model === "string" && config2.model ? config2.model : added.config.model ?? FAILOVER_MODEL[keyProvider];
|
|
72128
|
+
const ownUrl = entry.driver === "openai-compat" && typeof config2.url === "string" && config2.url ? config2.url : void 0;
|
|
72129
|
+
const baseUrl = ownUrl ?? added.config.url;
|
|
72001
72130
|
return { account: {
|
|
72002
72131
|
id,
|
|
72003
|
-
provider:
|
|
72132
|
+
provider: keyProvider,
|
|
72004
72133
|
kind: "api-key",
|
|
72005
72134
|
label,
|
|
72006
72135
|
billing: "subscription",
|
|
@@ -72010,7 +72139,7 @@ function asAccount(id, entry) {
|
|
|
72010
72139
|
}
|
|
72011
72140
|
return null;
|
|
72012
72141
|
}
|
|
72013
|
-
var KIND_ORDER = { "claude-code": 0, "codex-cli": 1, "api-key": 2 };
|
|
72142
|
+
var KIND_ORDER = { "claude-code": 0, "codex-cli": 1, "api-key": 2, local: 3 };
|
|
72014
72143
|
function atomicEngineAccounts(input) {
|
|
72015
72144
|
const engineOwner2 = input.owner(input.engineInstanceId);
|
|
72016
72145
|
const rows = [];
|
|
@@ -72021,9 +72150,26 @@ function atomicEngineAccounts(input) {
|
|
|
72021
72150
|
if (!found) continue;
|
|
72022
72151
|
const resting = input.restingUntil?.(id);
|
|
72023
72152
|
if (resting && resting > Date.now()) found.account.restingUntil = resting;
|
|
72153
|
+
const pick4 = input.classModels && input.classOrder ? classPick(found.account.provider, input.classModels, input.classOrder) : void 0;
|
|
72154
|
+
if (pick4) Object.assign(found.account, pick4);
|
|
72024
72155
|
rows.push({ ...found, order: order++ });
|
|
72025
72156
|
}
|
|
72026
|
-
|
|
72157
|
+
const classRank = (account2) => {
|
|
72158
|
+
const at2 = account2.modelClass ? (input.classOrder ?? MODEL_CLASSES).indexOf(account2.modelClass) : -1;
|
|
72159
|
+
return at2 < 0 ? MODEL_CLASSES.length : at2;
|
|
72160
|
+
};
|
|
72161
|
+
rows.sort((a, b3) => classRank(a.account) - classRank(b3.account) || KIND_ORDER[a.account.kind] - KIND_ORDER[b3.account.kind] || a.order - b3.order);
|
|
72162
|
+
for (const { host, model: model2 } of input.local ?? rememberedLocalModels()) {
|
|
72163
|
+
rows.push({ account: {
|
|
72164
|
+
id: `local-${host.id}`,
|
|
72165
|
+
provider: "custom",
|
|
72166
|
+
kind: "local",
|
|
72167
|
+
label: host.label,
|
|
72168
|
+
billing: "local",
|
|
72169
|
+
baseUrl: host.baseUrl,
|
|
72170
|
+
model: model2
|
|
72171
|
+
}, key: hostApiKey(host), order: order++ });
|
|
72172
|
+
}
|
|
72027
72173
|
const env = {};
|
|
72028
72174
|
rows.forEach((row, index2) => {
|
|
72029
72175
|
if (row.key === void 0) return;
|
|
@@ -72065,6 +72211,9 @@ function currentAtomicEngineAccounts() {
|
|
|
72065
72211
|
}
|
|
72066
72212
|
}
|
|
72067
72213
|
|
|
72214
|
+
// shared/atomic-auto.ts
|
|
72215
|
+
var ATOMIC_AUTO_MODEL = "atomic/auto";
|
|
72216
|
+
|
|
72068
72217
|
// server/atomic-engine-release.ts
|
|
72069
72218
|
var ASSETS = [
|
|
72070
72219
|
{
|
|
@@ -72772,8 +72921,10 @@ function lockAtomicEngineMemory(env, instanceId, cli) {
|
|
|
72772
72921
|
}
|
|
72773
72922
|
async function customAcpModels(env, config2, instanceId, fetchImpl = fetch) {
|
|
72774
72923
|
if (!isAtomicEngine(instanceId, config2?.cli)) return PASSTHROUGH;
|
|
72775
|
-
const own3 = { default:
|
|
72776
|
-
|
|
72924
|
+
const own3 = { default: ATOMIC_AUTO_MODEL, options: [{ id: ATOMIC_AUTO_MODEL, label: "Atomic Engine (Auto)", custom: true }] };
|
|
72925
|
+
const catalog2 = await mergeLocalInject(own3, env, fetchImpl);
|
|
72926
|
+
rememberLocalModels(catalog2.options);
|
|
72927
|
+
return catalog2;
|
|
72777
72928
|
}
|
|
72778
72929
|
function customAcpTurnModel(model2, env) {
|
|
72779
72930
|
if (model2 && decodeInjectId(model2)) ensureHermesInjectProvider(model2, env, atomicEngineHome2(env));
|
|
@@ -75053,7 +75204,10 @@ var DEFAULT_HARNESS_WEIGHTS = {
|
|
|
75053
75204
|
kimiAgent: 1,
|
|
75054
75205
|
vibeAgent: 1,
|
|
75055
75206
|
qwenAgent: 1,
|
|
75207
|
+
// Atomic Engine is Hermes under the hood, run on the person's Atomic
|
|
75208
|
+
// accounts: the same weight (Erick, 2026-11-15).
|
|
75056
75209
|
hermesAgent: 0.9,
|
|
75210
|
+
atomicEngine: 0.9,
|
|
75057
75211
|
cursorAgent: 0.8,
|
|
75058
75212
|
opencodeGo: 0.8,
|
|
75059
75213
|
droidAgent: 0.8,
|
|
@@ -75161,8 +75315,8 @@ var paidCandidate = (candidate) => {
|
|
|
75161
75315
|
return candidate.snapshot.billing === "metered" || PER_TOKEN_KINDS.has(candidate.driverKind) || candidate.snapshot.account?.method === "api-key";
|
|
75162
75316
|
};
|
|
75163
75317
|
var freeCandidate = (candidate) => candidate.billing === "free";
|
|
75164
|
-
var FLAT_PLAN_PROVIDERS = /* @__PURE__ */ new Set(["nous", "kimi-coding", "opencode-go", "openai-codex", "copilot", "qwen-oauth", "zai-coding-plan"]);
|
|
75165
|
-
var LOCAL_PROVIDERS = /* @__PURE__ */ new Set(["custom", "lmstudio", "ollama", "vllm", "llamacpp"]);
|
|
75318
|
+
var FLAT_PLAN_PROVIDERS = /* @__PURE__ */ new Set(["nous", "nous-api", "kimi-coding", "opencode-go", "openai-codex", "copilot", "qwen-oauth", "zai-coding-plan"]);
|
|
75319
|
+
var LOCAL_PROVIDERS = /* @__PURE__ */ new Set(["custom", "lmstudio", "ollama", "vllm", "llamacpp", "omlx", "exo", "unsloth"]);
|
|
75166
75320
|
var multiProviderEngine = (candidate) => candidate.driverKind === "hermesAgent" || candidate.instanceId === ATOMIC_ENGINE_INSTANCE;
|
|
75167
75321
|
function modelProvider(candidate, model2) {
|
|
75168
75322
|
if (!multiProviderEngine(candidate) || decodeInjectId(model2)) return void 0;
|
|
@@ -75271,7 +75425,7 @@ function harnessOption(name2, candidates) {
|
|
|
75271
75425
|
var TIER_PREFERRED_DRIVERS = {
|
|
75272
75426
|
orchestrator: ["claudeAgent"]
|
|
75273
75427
|
};
|
|
75274
|
-
var PREFERRED_RUNGS =
|
|
75428
|
+
var PREFERRED_RUNGS = 3;
|
|
75275
75429
|
function classRungs(models, modelClass) {
|
|
75276
75430
|
const out = [];
|
|
75277
75431
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -75294,7 +75448,7 @@ function generateLadders(models, classes) {
|
|
|
75294
75448
|
const seen = /* @__PURE__ */ new Set();
|
|
75295
75449
|
const rungs = classRungs(models, classes[tier]);
|
|
75296
75450
|
const drivers = TIER_PREFERRED_DRIVERS[tier] ?? [];
|
|
75297
|
-
const preferred = [...tier === "orchestrator" && classes[tier] === CHIBI_DEFAULT_RUNG.modelClass ? [{ ...CHIBI_DEFAULT_RUNG }] : [], ...rungs.filter((entry) => drivers.includes(entry.engine)), ...drivers.map((engine) => ({ engine }))];
|
|
75451
|
+
const preferred = [{ ...ATOMIC_AUTO_RUNG }, ...tier === "orchestrator" && classes[tier] === CHIBI_DEFAULT_RUNG.modelClass ? [{ ...CHIBI_DEFAULT_RUNG }] : [], ...rungs.filter((entry) => drivers.includes(entry.engine)), ...drivers.map((engine) => ({ engine }))];
|
|
75298
75452
|
const pinned = Math.min(PREFERRED_RUNGS, preferred.length);
|
|
75299
75453
|
const ordered = [...preferred, ...rungs].filter((entry) => {
|
|
75300
75454
|
const key5 = entryKey(entry);
|
|
@@ -75454,7 +75608,7 @@ function resolveLadder(ladder, stored, context) {
|
|
|
75454
75608
|
subscription.sort((a, b3) => atomicFirst(a.candidate) - atomicFirst(b3.candidate) || a.step - b3.step);
|
|
75455
75609
|
key5.sort((a, b3) => a.step - b3.step || storedFirst(a.candidate, b3.candidate) || a.index - b3.index);
|
|
75456
75610
|
free.sort((a, b3) => a.step - b3.step || storedFirst(a.candidate, b3.candidate) || a.index - b3.index);
|
|
75457
|
-
for (const { step, entry, candidate, band } of [...subscription, ...
|
|
75611
|
+
for (const { step, entry, candidate, band } of [...subscription, ...free, ...key5]) {
|
|
75458
75612
|
const reason = band === "free" && !context.includeFree ? "free-off" : band === "free" && context.clientData ? "client-data" : skipReason(entry, candidate, context, step < ladder.length) ?? (band === "key" && context.keyBandPaused ? "paused" : void 0);
|
|
75459
75613
|
if (reason) {
|
|
75460
75614
|
skipped2.push({ step, instanceId: candidate.instanceId, reason, band });
|
|
@@ -75508,13 +75662,13 @@ function resolveFailover(request4) {
|
|
|
75508
75662
|
const ladders = new Map(classes.map((modelClass) => [modelClass, ladderOf(modelClass)]));
|
|
75509
75663
|
const all2 = [];
|
|
75510
75664
|
let lastPassSkipped;
|
|
75511
|
-
for (const stage of ["subscription", "
|
|
75665
|
+
for (const stage of ["subscription", "free", "key"]) {
|
|
75512
75666
|
for (const modelClass of classes) {
|
|
75513
75667
|
const { ladder, vouched } = ladders.get(modelClass);
|
|
75514
75668
|
const effective = (candidate, model2, entry, step) => entry?.modelClass ?? request4.classOf(candidate, model2) ?? (step < vouched ? modelClass : "A\xF1ejo");
|
|
75515
75669
|
const accept = (candidate, model2, entry, named) => {
|
|
75516
75670
|
if (request4.tried.has(candidate.instanceId)) return "tried";
|
|
75517
|
-
if (
|
|
75671
|
+
if (freeCandidate(candidate) !== (stage === "free")) return "key-later";
|
|
75518
75672
|
if (stage === "subscription" && (keyBased(candidate) || perTokenModel(candidate, model2))) return "key-later";
|
|
75519
75673
|
if (!named && request4.isLocal?.(candidate, model2) && !(request4.localAllowed && modelClass === "A\xF1ejo")) return "local";
|
|
75520
75674
|
const step = named ? ladder.indexOf(entry) : ladder.length;
|
|
@@ -75522,7 +75676,7 @@ function resolveFailover(request4) {
|
|
|
75522
75676
|
};
|
|
75523
75677
|
const resolution = resolveLadder(ladder, request4.failed, { ...request4.context, accept });
|
|
75524
75678
|
all2.push(...resolution.skipped);
|
|
75525
|
-
if (stage === "
|
|
75679
|
+
if (stage === "key" && modelClass === request4.modelClass) lastPassSkipped = resolution.skipped;
|
|
75526
75680
|
if (resolution.choice) {
|
|
75527
75681
|
const { choice } = resolution;
|
|
75528
75682
|
const named = choice.step < ladder.length;
|
|
@@ -80893,6 +81047,8 @@ function createSummaryScheduler(deps) {
|
|
|
80893
81047
|
|
|
80894
81048
|
// server/default-model-selection.ts
|
|
80895
81049
|
var claudeFirst = (instances) => instances.find((instance) => instance.driverKind === "claudeAgent") ?? instances[0];
|
|
81050
|
+
var ATOMIC_AUTO = { instanceId: "atomic-engine", model: "atomic/auto" };
|
|
81051
|
+
var atomicAuto = (instances) => instances.find((instance) => instance.instanceId === ATOMIC_AUTO.instanceId && instance.snapshot.authenticated !== false && instance.models.options.some((model2) => model2.id === ATOMIC_AUTO.model));
|
|
80896
81052
|
function selectDefaultModelSelection(instances, preferred, context = {}) {
|
|
80897
81053
|
if (preferred) {
|
|
80898
81054
|
const instance = instances.find((candidate) => candidate.instanceId === preferred.instanceId);
|
|
@@ -80906,6 +81062,7 @@ function selectDefaultModelSelection(instances, preferred, context = {}) {
|
|
|
80906
81062
|
return selection;
|
|
80907
81063
|
}
|
|
80908
81064
|
const available = instances.filter((instance) => instance.snapshot.state === "available" && instance.capabilities?.chatOnly !== true && context.refusal?.(instance) === void 0);
|
|
81065
|
+
if (atomicAuto(available)) return { ...ATOMIC_AUTO };
|
|
80909
81066
|
const company = context.company;
|
|
80910
81067
|
let pick4;
|
|
80911
81068
|
if (company && instances.some((instance) => company(instance.instanceId))) {
|
|
@@ -91017,9 +91174,13 @@ function vaultAuthMode(saved) {
|
|
|
91017
91174
|
return saved.authMode ?? ((saved.header ?? "Authorization").toLowerCase() === "authorization" && (saved.prefix ?? "Bearer ") === "Bearer " ? "auto" : "custom");
|
|
91018
91175
|
}
|
|
91019
91176
|
function apiAuthFor(destination, saved) {
|
|
91020
|
-
if (vaultAuthMode(saved) === "custom") return saved;
|
|
91021
91177
|
const origin2 = new URL(destination).origin;
|
|
91022
|
-
|
|
91178
|
+
const provider = API_PROVIDERS.find((candidate) => candidate.automatic && candidate.origins.includes(origin2));
|
|
91179
|
+
if (provider?.prefix === "" && saved.header.toLowerCase() === provider.header.toLowerCase() && saved.prefix === "Bearer ") {
|
|
91180
|
+
return { header: saved.header, prefix: "" };
|
|
91181
|
+
}
|
|
91182
|
+
if (vaultAuthMode(saved) === "custom") return saved;
|
|
91183
|
+
return provider ?? saved;
|
|
91023
91184
|
}
|
|
91024
91185
|
|
|
91025
91186
|
// server/vault/store.ts
|
|
@@ -98765,7 +98926,7 @@ function scanMcpTools(name2, tools) {
|
|
|
98765
98926
|
snippet: "description far longer than a tool needs"
|
|
98766
98927
|
})))]);
|
|
98767
98928
|
}
|
|
98768
|
-
var
|
|
98929
|
+
var CACHE_MS3 = 30 * 6e4;
|
|
98769
98930
|
var packageCache = /* @__PURE__ */ new Map();
|
|
98770
98931
|
async function scanMcpServerWithPackage(name2, spec, fetcher = fetch) {
|
|
98771
98932
|
const definition2 = scanMcpServer(name2, spec);
|
|
@@ -98774,7 +98935,7 @@ async function scanMcpServerWithPackage(name2, spec, fetcher = fetch) {
|
|
|
98774
98935
|
const key5 = `${pkg.name}@${pkg.version ?? "latest"}`;
|
|
98775
98936
|
const cached3 = packageCache.get(key5);
|
|
98776
98937
|
let packageResult;
|
|
98777
|
-
if (cached3 && Date.now() - cached3.at <
|
|
98938
|
+
if (cached3 && Date.now() - cached3.at < CACHE_MS3) {
|
|
98778
98939
|
packageResult = cached3.result;
|
|
98779
98940
|
} else {
|
|
98780
98941
|
try {
|
|
@@ -98953,9 +99114,9 @@ import { readFileSync as readFileSync77 } from "node:fs";
|
|
|
98953
99114
|
import { join as join101 } from "node:path";
|
|
98954
99115
|
var ADDON_CHECK_INTERVAL_MS = 24 * 60 * 60 * 1e3;
|
|
98955
99116
|
var RELEASES_API = process.env.OMB_ADDON_RELEASES_API || "https://api.github.com";
|
|
98956
|
-
async function refreshAddonReleases(
|
|
98957
|
-
if (now -
|
|
98958
|
-
const releases = { ...
|
|
99117
|
+
async function refreshAddonReleases(cache3, { now = Date.now(), fetchImpl = fetch, api = RELEASES_API } = {}) {
|
|
99118
|
+
if (now - cache3.checkedAt < ADDON_CHECK_INTERVAL_MS) return cache3;
|
|
99119
|
+
const releases = { ...cache3.releases };
|
|
98959
99120
|
for (const addon of ADDONS) {
|
|
98960
99121
|
if (!addon.upstream) continue;
|
|
98961
99122
|
try {
|
|
@@ -98973,9 +99134,9 @@ async function refreshAddonReleases(cache2, { now = Date.now(), fetchImpl = fetc
|
|
|
98973
99134
|
}
|
|
98974
99135
|
return { checkedAt: now, releases };
|
|
98975
99136
|
}
|
|
98976
|
-
function addonStatusesFrom(
|
|
99137
|
+
function addonStatusesFrom(cache3, enabled2, local = () => ({})) {
|
|
98977
99138
|
return Object.fromEntries(ADDONS.map((addon) => {
|
|
98978
|
-
const release2 =
|
|
99139
|
+
const release2 = cache3.releases[addon.id];
|
|
98979
99140
|
const update = release2 && isNewerVersion(release2.version, addon.version) ? { update: release2 } : {};
|
|
98980
99141
|
return [addon.id, { enabled: enabled2(addon.id), ...update, ...local(addon.id) }];
|
|
98981
99142
|
}));
|
|
@@ -105544,7 +105705,10 @@ var ASSISTANT_ALLOW = [
|
|
|
105544
105705
|
{ methods: ["GET"], path: /^\/api\/threads\/[\w-]+\/images(?:\/[\w.-]+)?$/ },
|
|
105545
105706
|
{ methods: ["POST"], path: /^\/api\/groups\/[\w-]+\/messages$/ },
|
|
105546
105707
|
{ methods: ["POST"], path: /^\/api\/bots$/, create: true },
|
|
105547
|
-
{ methods: ["POST"], path: /^\/api\/groups$/, create: true }
|
|
105708
|
+
{ methods: ["POST"], path: /^\/api\/groups$/, create: true },
|
|
105709
|
+
// Atomic as a model source, `atomic/auto` (server/model-gateway/route.ts).
|
|
105710
|
+
{ methods: ["GET"], path: /^\/api\/v1\/models$/ },
|
|
105711
|
+
{ methods: ["POST"], path: /^\/api\/v1\/(?:responses|chat\/completions|messages)$/ }
|
|
105548
105712
|
];
|
|
105549
105713
|
function assistantAllowed(method, path2, assistant) {
|
|
105550
105714
|
const upper = method.toUpperCase();
|
|
@@ -106193,7 +106357,9 @@ function editorTargets(home = homedir44(), platform = process.platform, env = pr
|
|
|
106193
106357
|
{ id: "antigravity-ide", label: "Antigravity IDE", configPath: join119(home, ".gemini", "antigravity-ide", "mcp_config.json"), format: "mcp-servers", installedAt: [...apps("Antigravity IDE"), join119(home, ".gemini", "antigravity-ide")] },
|
|
106194
106358
|
// Xcode 26.3+ shares one MCP server list with all of its coding agents (Claude, Codex, Gemini). macOS only.
|
|
106195
106359
|
...platform === "darwin" ? [{ id: "xcode", label: "Xcode", configPath: join119(home, "Library", "Developer", "Xcode", "CodingAssistant", "mcp-servers.json"), format: "mcp-servers", installedAt: [...apps("Xcode"), join119(home, "Library", "Developer", "Xcode", "CodingAssistant")] }] : [],
|
|
106196
|
-
{ id: "opencode", label: "OpenCode", configPath: join119(xdgConfig, "opencode", "opencode.json"), format: "opencode", installedAt: [join119(home, ".opencode"), join119(xdgConfig, "opencode")] }
|
|
106360
|
+
{ id: "opencode", label: "OpenCode", configPath: join119(xdgConfig, "opencode", "opencode.json"), format: "opencode", installedAt: [join119(home, ".opencode"), join119(xdgConfig, "opencode")] },
|
|
106361
|
+
// Codex (CLI and app) reads [mcp_servers.*] from its TOML config; with it, Codex can hand work to Atomic Engine (atomic_engine).
|
|
106362
|
+
{ id: "codex", label: "Codex", configPath: join119(env.CODEX_HOME || join119(home, ".codex"), "config.toml"), format: "codex-toml", installedAt: [...apps("Codex"), env.CODEX_HOME || join119(home, ".codex")] }
|
|
106197
106363
|
];
|
|
106198
106364
|
}
|
|
106199
106365
|
function editorTarget(id, targets = editorTargets()) {
|
|
@@ -106215,6 +106381,27 @@ function readConfig(path2) {
|
|
|
106215
106381
|
if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) throw new Error(`${path2} is not a JSON object`);
|
|
106216
106382
|
return parsed;
|
|
106217
106383
|
}
|
|
106384
|
+
var CODEX_TABLE = new RegExp(`^\\s*\\[mcp_servers\\.${CLAUDE_CODE_SERVER_NAME}(\\.[^\\]]+)?\\]\\s*$`);
|
|
106385
|
+
function withoutCodexEntry(toml) {
|
|
106386
|
+
const out = [];
|
|
106387
|
+
let skipping = false;
|
|
106388
|
+
for (const line3 of toml.split("\n")) {
|
|
106389
|
+
if (/^\s*\[/.test(line3)) skipping = CODEX_TABLE.test(line3);
|
|
106390
|
+
if (!skipping) out.push(line3);
|
|
106391
|
+
}
|
|
106392
|
+
return out.join("\n").replace(/\s+$/, "");
|
|
106393
|
+
}
|
|
106394
|
+
function withCodexEntry(toml, entry) {
|
|
106395
|
+
const table = [`[mcp_servers.${CLAUDE_CODE_SERVER_NAME}]`, `command = ${JSON.stringify(entry.command)}`, `args = ${JSON.stringify(entry.args)}`];
|
|
106396
|
+
const env = Object.entries(entry.env ?? {});
|
|
106397
|
+
if (env.length) table.push("", `[mcp_servers.${CLAUDE_CODE_SERVER_NAME}.env]`, ...env.map(([key5, value]) => `${JSON.stringify(key5)} = ${JSON.stringify(value)}`));
|
|
106398
|
+
const rest = withoutCodexEntry(toml);
|
|
106399
|
+
return `${rest ? `${rest}
|
|
106400
|
+
|
|
106401
|
+
` : ""}${table.join("\n")}
|
|
106402
|
+
`;
|
|
106403
|
+
}
|
|
106404
|
+
var codexHasEntry = (toml) => toml.split("\n").some((line3) => CODEX_TABLE.test(line3) && !line3.includes(`${CLAUDE_CODE_SERVER_NAME}.`));
|
|
106218
106405
|
function writeConfig(path2, config2, now) {
|
|
106219
106406
|
let mode = 384;
|
|
106220
106407
|
if (existsSync66(path2)) {
|
|
@@ -106223,10 +106410,12 @@ function writeConfig(path2, config2, now) {
|
|
|
106223
106410
|
} else {
|
|
106224
106411
|
mkdirSync62(dirname34(path2), { recursive: true });
|
|
106225
106412
|
}
|
|
106226
|
-
writeFileAtomic(path2, `${JSON.stringify(config2, null, 2)}
|
|
106413
|
+
writeFileAtomic(path2, typeof config2 === "string" ? config2 : `${JSON.stringify(config2, null, 2)}
|
|
106227
106414
|
`, { mode });
|
|
106228
106415
|
}
|
|
106416
|
+
var readText6 = (path2) => existsSync66(path2) ? readFileSync93(path2, "utf8") : "";
|
|
106229
106417
|
function registerWithEditor(target, entry, now = /* @__PURE__ */ new Date()) {
|
|
106418
|
+
if (target.format === "codex-toml") return writeConfig(target.configPath, withCodexEntry(readText6(target.configPath), entry), now);
|
|
106230
106419
|
const config2 = readConfig(target.configPath);
|
|
106231
106420
|
const key5 = serversKey(target.format);
|
|
106232
106421
|
const servers = config2[key5] && typeof config2[key5] === "object" && !Array.isArray(config2[key5]) ? config2[key5] : {};
|
|
@@ -106234,6 +106423,12 @@ function registerWithEditor(target, entry, now = /* @__PURE__ */ new Date()) {
|
|
|
106234
106423
|
}
|
|
106235
106424
|
function unregisterFromEditor(target, now = /* @__PURE__ */ new Date()) {
|
|
106236
106425
|
if (!existsSync66(target.configPath)) return;
|
|
106426
|
+
if (target.format === "codex-toml") {
|
|
106427
|
+
const toml = readText6(target.configPath);
|
|
106428
|
+
if (codexHasEntry(toml)) writeConfig(target.configPath, `${withoutCodexEntry(toml)}
|
|
106429
|
+
`, now);
|
|
106430
|
+
return;
|
|
106431
|
+
}
|
|
106237
106432
|
const config2 = readConfig(target.configPath);
|
|
106238
106433
|
const key5 = serversKey(target.format);
|
|
106239
106434
|
const servers = config2[key5];
|
|
@@ -106243,6 +106438,7 @@ function unregisterFromEditor(target, now = /* @__PURE__ */ new Date()) {
|
|
|
106243
106438
|
}
|
|
106244
106439
|
function editorHasEntry(target) {
|
|
106245
106440
|
try {
|
|
106441
|
+
if (target.format === "codex-toml") return codexHasEntry(readText6(target.configPath));
|
|
106246
106442
|
const servers = readConfig(target.configPath)[serversKey(target.format)];
|
|
106247
106443
|
return Boolean(servers && typeof servers === "object" && CLAUDE_CODE_SERVER_NAME in servers);
|
|
106248
106444
|
} catch {
|
|
@@ -106750,7 +106946,7 @@ function removeStream(clients, registry4, client) {
|
|
|
106750
106946
|
// server/phone-secret.ts
|
|
106751
106947
|
import { createECDH, createHash as createHash48 } from "node:crypto";
|
|
106752
106948
|
|
|
106753
|
-
//
|
|
106949
|
+
// node_modules/.pnpm/@hpke+common@1.10.1/node_modules/@hpke/common/esm/src/errors.js
|
|
106754
106950
|
var HpkeError = class extends Error {
|
|
106755
106951
|
constructor(e) {
|
|
106756
106952
|
let message4;
|
|
@@ -106788,7 +106984,7 @@ var DeriveKeyPairError = class extends HpkeError {
|
|
|
106788
106984
|
var NotSupportedError = class extends HpkeError {
|
|
106789
106985
|
};
|
|
106790
106986
|
|
|
106791
|
-
//
|
|
106987
|
+
// node_modules/.pnpm/@hpke+common@1.10.1/node_modules/@hpke/common/esm/_dnt.shims.js
|
|
106792
106988
|
var dntGlobals = {};
|
|
106793
106989
|
var dntGlobalThis = createMergeProxy(globalThis, dntGlobals);
|
|
106794
106990
|
function createMergeProxy(baseObj, extObj) {
|
|
@@ -106845,7 +107041,7 @@ function createMergeProxy(baseObj, extObj) {
|
|
|
106845
107041
|
});
|
|
106846
107042
|
}
|
|
106847
107043
|
|
|
106848
|
-
//
|
|
107044
|
+
// node_modules/.pnpm/@hpke+common@1.10.1/node_modules/@hpke/common/esm/src/algorithm.js
|
|
106849
107045
|
async function loadSubtleCrypto() {
|
|
106850
107046
|
if (dntGlobalThis !== void 0 && globalThis.crypto !== void 0) {
|
|
106851
107047
|
return globalThis.crypto.subtle;
|
|
@@ -106874,7 +107070,7 @@ var NativeAlgorithm = class {
|
|
|
106874
107070
|
}
|
|
106875
107071
|
};
|
|
106876
107072
|
|
|
106877
|
-
//
|
|
107073
|
+
// node_modules/.pnpm/@hpke+common@1.10.1/node_modules/@hpke/common/esm/src/identifiers.js
|
|
106878
107074
|
var Mode = {
|
|
106879
107075
|
Base: 0,
|
|
106880
107076
|
Psk: 1,
|
|
@@ -106914,7 +107110,7 @@ var AeadId = {
|
|
|
106914
107110
|
ExportOnly: 65535
|
|
106915
107111
|
};
|
|
106916
107112
|
|
|
106917
|
-
//
|
|
107113
|
+
// node_modules/.pnpm/@hpke+common@1.10.1/node_modules/@hpke/common/esm/src/consts.js
|
|
106918
107114
|
var INPUT_LENGTH_LIMIT = 8192;
|
|
106919
107115
|
var INFO_LENGTH_LIMIT = 268435456;
|
|
106920
107116
|
var MINIMUM_PSK_LENGTH = 32;
|
|
@@ -106931,7 +107127,7 @@ var BYTE_TO_BIGINT_256 = /* @__PURE__ */ (() => {
|
|
|
106931
107127
|
return out;
|
|
106932
107128
|
})();
|
|
106933
107129
|
|
|
106934
|
-
//
|
|
107130
|
+
// node_modules/.pnpm/@hpke+common@1.10.1/node_modules/@hpke/common/esm/src/interfaces/kemInterface.js
|
|
106935
107131
|
var SUITE_ID_HEADER_KEM = /* @__PURE__ */ new Uint8Array([
|
|
106936
107132
|
75,
|
|
106937
107133
|
69,
|
|
@@ -106940,7 +107136,7 @@ var SUITE_ID_HEADER_KEM = /* @__PURE__ */ new Uint8Array([
|
|
|
106940
107136
|
0
|
|
106941
107137
|
]);
|
|
106942
107138
|
|
|
106943
|
-
//
|
|
107139
|
+
// node_modules/.pnpm/@hpke+common@1.10.1/node_modules/@hpke/common/esm/src/kdfs/hkdf.js
|
|
106944
107140
|
var HPKE_VERSION = /* @__PURE__ */ new Uint8Array([
|
|
106945
107141
|
72,
|
|
106946
107142
|
80,
|
|
@@ -107110,7 +107306,7 @@ var HkdfSha256Native = class extends HkdfNative {
|
|
|
107110
107306
|
}
|
|
107111
107307
|
};
|
|
107112
107308
|
|
|
107113
|
-
//
|
|
107309
|
+
// node_modules/.pnpm/@hpke+common@1.10.1/node_modules/@hpke/common/esm/src/utils/misc.js
|
|
107114
107310
|
var isCryptoKeyPair = (x2) => typeof x2 === "object" && x2 !== null && typeof x2.privateKey === "object" && typeof x2.publicKey === "object";
|
|
107115
107311
|
function i2Osp(n, w3) {
|
|
107116
107312
|
if (w3 <= 0) {
|
|
@@ -107152,7 +107348,7 @@ function xor2(a, b3) {
|
|
|
107152
107348
|
return buf;
|
|
107153
107349
|
}
|
|
107154
107350
|
|
|
107155
|
-
//
|
|
107351
|
+
// node_modules/.pnpm/@hpke+common@1.10.1/node_modules/@hpke/common/esm/src/kems/dhkem.js
|
|
107156
107352
|
var LABEL_EAE_PRK = /* @__PURE__ */ new Uint8Array([
|
|
107157
107353
|
101,
|
|
107158
107354
|
97,
|
|
@@ -107335,7 +107531,7 @@ var Dhkem = class {
|
|
|
107335
107531
|
}
|
|
107336
107532
|
};
|
|
107337
107533
|
|
|
107338
|
-
//
|
|
107534
|
+
// node_modules/.pnpm/@hpke+common@1.10.1/node_modules/@hpke/common/esm/src/interfaces/dhkemPrimitives.js
|
|
107339
107535
|
var KEM_USAGES = ["deriveBits"];
|
|
107340
107536
|
var LABEL_DKP_PRK = /* @__PURE__ */ new Uint8Array([
|
|
107341
107537
|
100,
|
|
@@ -107347,7 +107543,7 @@ var LABEL_DKP_PRK = /* @__PURE__ */ new Uint8Array([
|
|
|
107347
107543
|
107
|
|
107348
107544
|
]);
|
|
107349
107545
|
|
|
107350
|
-
//
|
|
107546
|
+
// node_modules/.pnpm/@hpke+common@1.10.1/node_modules/@hpke/common/esm/src/utils/bignum.js
|
|
107351
107547
|
var Bignum = class {
|
|
107352
107548
|
constructor(size) {
|
|
107353
107549
|
Object.defineProperty(this, "_num", {
|
|
@@ -107394,7 +107590,7 @@ var Bignum = class {
|
|
|
107394
107590
|
}
|
|
107395
107591
|
};
|
|
107396
107592
|
|
|
107397
|
-
//
|
|
107593
|
+
// node_modules/.pnpm/@hpke+common@1.10.1/node_modules/@hpke/common/esm/src/kems/dhkemPrimitives/ec.js
|
|
107398
107594
|
var LABEL_CANDIDATE = /* @__PURE__ */ new Uint8Array([
|
|
107399
107595
|
99,
|
|
107400
107596
|
97,
|
|
@@ -107986,10 +108182,10 @@ var Ec = class extends NativeAlgorithm {
|
|
|
107986
108182
|
}
|
|
107987
108183
|
};
|
|
107988
108184
|
|
|
107989
|
-
//
|
|
108185
|
+
// node_modules/.pnpm/@hpke+common@1.10.1/node_modules/@hpke/common/esm/src/interfaces/aeadEncryptionContext.js
|
|
107990
108186
|
var AEAD_USAGES = ["encrypt", "decrypt"];
|
|
107991
108187
|
|
|
107992
|
-
//
|
|
108188
|
+
// node_modules/.pnpm/@hpke+common@1.10.1/node_modules/@hpke/common/esm/src/utils/noble.js
|
|
107993
108189
|
function isBytes(a) {
|
|
107994
108190
|
return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array";
|
|
107995
108191
|
}
|
|
@@ -108027,7 +108223,7 @@ var _endianTestBuffer = /* @__PURE__ */ new Uint32Array([287454020]);
|
|
|
108027
108223
|
var _endianTestBytes = /* @__PURE__ */ new Uint8Array(_endianTestBuffer.buffer);
|
|
108028
108224
|
var isLE = _endianTestBytes[0] === 68;
|
|
108029
108225
|
|
|
108030
|
-
//
|
|
108226
|
+
// node_modules/.pnpm/@hpke+common@1.10.1/node_modules/@hpke/common/esm/src/hash/hash.js
|
|
108031
108227
|
function ahash(h) {
|
|
108032
108228
|
if (typeof h !== "function" || typeof h.create !== "function") {
|
|
108033
108229
|
throw new Error("Hash must wrapped by utils.createHasher");
|
|
@@ -108036,7 +108232,7 @@ function ahash(h) {
|
|
|
108036
108232
|
anumber(h.blockLen);
|
|
108037
108233
|
}
|
|
108038
108234
|
|
|
108039
|
-
//
|
|
108235
|
+
// node_modules/.pnpm/@hpke+common@1.10.1/node_modules/@hpke/common/esm/src/hash/hmac.js
|
|
108040
108236
|
var _HMAC = class {
|
|
108041
108237
|
constructor(hash4, key5) {
|
|
108042
108238
|
Object.defineProperty(this, "oHash", {
|
|
@@ -108138,7 +108334,7 @@ var _HMAC = class {
|
|
|
108138
108334
|
var hmac = (hash4, key5, message4) => new _HMAC(hash4, key5).update(message4).digest();
|
|
108139
108335
|
hmac.create = (hash4, key5) => new _HMAC(hash4, key5);
|
|
108140
108336
|
|
|
108141
|
-
//
|
|
108337
|
+
// node_modules/.pnpm/@hpke+common@1.10.1/node_modules/@hpke/common/esm/src/hash/u64.js
|
|
108142
108338
|
var U32_MASK64 = 0xffffffffn;
|
|
108143
108339
|
var _32n = 32n;
|
|
108144
108340
|
function fromBig(n, le2 = false) {
|
|
@@ -108161,7 +108357,7 @@ function split(lst, le2 = false) {
|
|
|
108161
108357
|
return [Ah, Al];
|
|
108162
108358
|
}
|
|
108163
108359
|
|
|
108164
|
-
//
|
|
108360
|
+
// node_modules/.pnpm/@hpke+common@1.10.1/node_modules/@hpke/common/esm/src/hash/sha3.js
|
|
108165
108361
|
var _0n = 0n;
|
|
108166
108362
|
var _1n = 1n;
|
|
108167
108363
|
var _2n = 2n;
|
|
@@ -108187,7 +108383,7 @@ var IOTAS = split(_SHA3_IOTA, true);
|
|
|
108187
108383
|
var SHA3_IOTA_H = IOTAS[0];
|
|
108188
108384
|
var SHA3_IOTA_L = IOTAS[1];
|
|
108189
108385
|
|
|
108190
|
-
//
|
|
108386
|
+
// node_modules/.pnpm/@hpke+core@1.9.0/node_modules/@hpke/core/esm/src/aeads/aesGcm.js
|
|
108191
108387
|
var AesGcmContext = class extends NativeAlgorithm {
|
|
108192
108388
|
constructor(key5) {
|
|
108193
108389
|
super();
|
|
@@ -108300,14 +108496,14 @@ var Aes256Gcm = class extends Aes128Gcm {
|
|
|
108300
108496
|
}
|
|
108301
108497
|
};
|
|
108302
108498
|
|
|
108303
|
-
//
|
|
108499
|
+
// node_modules/.pnpm/@hpke+core@1.9.0/node_modules/@hpke/core/esm/src/utils/emitNotSupported.js
|
|
108304
108500
|
function emitNotSupported() {
|
|
108305
108501
|
return new Promise((_resolve, reject) => {
|
|
108306
108502
|
reject(new NotSupportedError("Not supported"));
|
|
108307
108503
|
});
|
|
108308
108504
|
}
|
|
108309
108505
|
|
|
108310
|
-
//
|
|
108506
|
+
// node_modules/.pnpm/@hpke+core@1.9.0/node_modules/@hpke/core/esm/src/exporterContext.js
|
|
108311
108507
|
var LABEL_SEC = new Uint8Array([115, 101, 99]);
|
|
108312
108508
|
var ExporterContextImpl = class {
|
|
108313
108509
|
constructor(api, kdf, exporterSecret) {
|
|
@@ -108367,7 +108563,7 @@ var SenderExporterContextImpl = class extends ExporterContextImpl {
|
|
|
108367
108563
|
}
|
|
108368
108564
|
};
|
|
108369
108565
|
|
|
108370
|
-
//
|
|
108566
|
+
// node_modules/.pnpm/@hpke+core@1.9.0/node_modules/@hpke/core/esm/src/encryptionContext.js
|
|
108371
108567
|
var EncryptionContextImpl = class extends ExporterContextImpl {
|
|
108372
108568
|
constructor(api, kdf, params) {
|
|
108373
108569
|
super(api, kdf, params.exporterSecret);
|
|
@@ -108428,7 +108624,7 @@ var EncryptionContextImpl = class extends ExporterContextImpl {
|
|
|
108428
108624
|
}
|
|
108429
108625
|
};
|
|
108430
108626
|
|
|
108431
|
-
//
|
|
108627
|
+
// node_modules/.pnpm/@hpke+core@1.9.0/node_modules/@hpke/core/esm/src/mutex.js
|
|
108432
108628
|
var __classPrivateFieldGet = function(receiver, state2, kind, f3) {
|
|
108433
108629
|
if (kind === "a" && !f3) throw new TypeError("Private accessor was defined without a getter");
|
|
108434
108630
|
if (typeof state2 === "function" ? receiver !== state2 || !f3 : !state2.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
@@ -108458,7 +108654,7 @@ var Mutex = class {
|
|
|
108458
108654
|
};
|
|
108459
108655
|
_Mutex_locked = /* @__PURE__ */ new WeakMap();
|
|
108460
108656
|
|
|
108461
|
-
//
|
|
108657
|
+
// node_modules/.pnpm/@hpke+core@1.9.0/node_modules/@hpke/core/esm/src/recipientContext.js
|
|
108462
108658
|
var __classPrivateFieldGet2 = function(receiver, state2, kind, f3) {
|
|
108463
108659
|
if (kind === "a" && !f3) throw new TypeError("Private accessor was defined without a getter");
|
|
108464
108660
|
if (typeof state2 === "function" ? receiver !== state2 || !f3 : !state2.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
@@ -108493,7 +108689,7 @@ var RecipientContextImpl = class extends EncryptionContextImpl {
|
|
|
108493
108689
|
};
|
|
108494
108690
|
_RecipientContextImpl_mutex = /* @__PURE__ */ new WeakMap();
|
|
108495
108691
|
|
|
108496
|
-
//
|
|
108692
|
+
// node_modules/.pnpm/@hpke+core@1.9.0/node_modules/@hpke/core/esm/src/senderContext.js
|
|
108497
108693
|
var __classPrivateFieldGet3 = function(receiver, state2, kind, f3) {
|
|
108498
108694
|
if (kind === "a" && !f3) throw new TypeError("Private accessor was defined without a getter");
|
|
108499
108695
|
if (typeof state2 === "function" ? receiver !== state2 || !f3 : !state2.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
@@ -108535,7 +108731,7 @@ var SenderContextImpl = class extends EncryptionContextImpl {
|
|
|
108535
108731
|
};
|
|
108536
108732
|
_SenderContextImpl_mutex = /* @__PURE__ */ new WeakMap();
|
|
108537
108733
|
|
|
108538
|
-
//
|
|
108734
|
+
// node_modules/.pnpm/@hpke+core@1.9.0/node_modules/@hpke/core/esm/src/cipherSuiteNative.js
|
|
108539
108735
|
var LABEL_BASE_NONCE = new Uint8Array([
|
|
108540
108736
|
98,
|
|
108541
108737
|
97,
|
|
@@ -108808,7 +109004,7 @@ var CipherSuiteNative = class extends NativeAlgorithm {
|
|
|
108808
109004
|
}
|
|
108809
109005
|
};
|
|
108810
109006
|
|
|
108811
|
-
//
|
|
109007
|
+
// node_modules/.pnpm/@hpke+core@1.9.0/node_modules/@hpke/core/esm/src/kems/dhkemNative.js
|
|
108812
109008
|
var DhkemP256HkdfSha256Native = class extends Dhkem {
|
|
108813
109009
|
constructor() {
|
|
108814
109010
|
const kdf = new HkdfSha256Native();
|
|
@@ -108847,7 +109043,7 @@ var DhkemP256HkdfSha256Native = class extends Dhkem {
|
|
|
108847
109043
|
}
|
|
108848
109044
|
};
|
|
108849
109045
|
|
|
108850
|
-
//
|
|
109046
|
+
// node_modules/.pnpm/@hpke+core@1.9.0/node_modules/@hpke/core/esm/src/native.js
|
|
108851
109047
|
var CipherSuite = class extends CipherSuiteNative {
|
|
108852
109048
|
};
|
|
108853
109049
|
var DhkemP256HkdfSha256 = class extends DhkemP256HkdfSha256Native {
|
|
@@ -108855,7 +109051,7 @@ var DhkemP256HkdfSha256 = class extends DhkemP256HkdfSha256Native {
|
|
|
108855
109051
|
var HkdfSha256 = class extends HkdfSha256Native {
|
|
108856
109052
|
};
|
|
108857
109053
|
|
|
108858
|
-
//
|
|
109054
|
+
// node_modules/.pnpm/@hpke+core@1.9.0/node_modules/@hpke/core/esm/src/kems/dhkemPrimitives/x25519.js
|
|
108859
109055
|
var PKCS8_ALG_ID_X25519 = new Uint8Array([
|
|
108860
109056
|
48,
|
|
108861
109057
|
46,
|
|
@@ -108875,7 +109071,7 @@ var PKCS8_ALG_ID_X25519 = new Uint8Array([
|
|
|
108875
109071
|
32
|
|
108876
109072
|
]);
|
|
108877
109073
|
|
|
108878
|
-
//
|
|
109074
|
+
// node_modules/.pnpm/@hpke+core@1.9.0/node_modules/@hpke/core/esm/src/kems/dhkemPrimitives/x448.js
|
|
108879
109075
|
var PKCS8_ALG_ID_X448 = new Uint8Array([
|
|
108880
109076
|
48,
|
|
108881
109077
|
70,
|
|
@@ -113567,10 +113763,10 @@ function createLocalModelRoutes(deps) {
|
|
|
113567
113763
|
if (deps.fromBot?.(req)) return json5(res, 403, { error: "Bots cannot manage local models." });
|
|
113568
113764
|
if (deps.disabled()) return json5(res, 403, { error: "Local models are managed by this server's administrator." });
|
|
113569
113765
|
if (path2 === "/api/local-models" && method === "GET") {
|
|
113570
|
-
const [
|
|
113766
|
+
const [ollama2, others] = await Promise.all([status(), deps.otherServers().catch(() => [])]);
|
|
113571
113767
|
let models = [];
|
|
113572
113768
|
let error51;
|
|
113573
|
-
if (
|
|
113769
|
+
if (ollama2.state === "running") {
|
|
113574
113770
|
try {
|
|
113575
113771
|
const response = await fetchImpl(`${base5}/api/tags`, { signal: AbortSignal.timeout(PROBE_TIMEOUT_MS) });
|
|
113576
113772
|
if (response.ok) models = installedModelsFromTags(await response.json(), deps.bots(), deps.engines());
|
|
@@ -113580,7 +113776,7 @@ function createLocalModelRoutes(deps) {
|
|
|
113580
113776
|
}
|
|
113581
113777
|
}
|
|
113582
113778
|
return json5(res, 200, {
|
|
113583
|
-
ollama: { ...
|
|
113779
|
+
ollama: { ...ollama2, models, ...error51 ? { error: error51 } : {}, downloadUrl: OLLAMA_DOWNLOAD_URL },
|
|
113584
113780
|
others: others.filter((server2) => server2.models.length > 0),
|
|
113585
113781
|
memoryBytes: deps.totalMemory()
|
|
113586
113782
|
});
|
|
@@ -113588,8 +113784,8 @@ function createLocalModelRoutes(deps) {
|
|
|
113588
113784
|
if (path2 === "/api/local-models" && method === "DELETE") {
|
|
113589
113785
|
const name2 = url2.searchParams.get("name") ?? "";
|
|
113590
113786
|
if (!validLocalModelTag(name2)) return json5(res, 400, { error: "Choose a model to remove." });
|
|
113591
|
-
const
|
|
113592
|
-
if (
|
|
113787
|
+
const ollama2 = await status();
|
|
113788
|
+
if (ollama2.state !== "running") return json5(res, 503, notRunning(ollama2.state));
|
|
113593
113789
|
const users = localModelUsage(name2, deps.bots(), deps.engines());
|
|
113594
113790
|
if (users.length) return json5(res, 409, { error: `${users.map((use) => use.name).join(", ")} still use this model. Choose another model for them first.`, usedBy: users });
|
|
113595
113791
|
const response = await fetchImpl(`${base5}/api/delete`, {
|
|
@@ -113609,8 +113805,8 @@ function createLocalModelRoutes(deps) {
|
|
|
113609
113805
|
const body = await readBody2(req, 4096);
|
|
113610
113806
|
const name2 = typeof body?.name === "string" ? body.name.trim() : "";
|
|
113611
113807
|
if (!validLocalModelTag(name2)) return json5(res, 400, { error: "Enter a model name like qwen3:8b." });
|
|
113612
|
-
const
|
|
113613
|
-
if (
|
|
113808
|
+
const ollama2 = await status();
|
|
113809
|
+
if (ollama2.state !== "running") return json5(res, 503, notRunning(ollama2.state));
|
|
113614
113810
|
const upstream = new AbortController();
|
|
113615
113811
|
res.on("close", () => {
|
|
113616
113812
|
if (!res.writableFinished) upstream.abort();
|
|
@@ -114158,11 +114354,11 @@ function createSetupRoutes(deps) {
|
|
|
114158
114354
|
if (deps.disabled()) return json5(res, 403, { error: "This server's administrator manages its setup." });
|
|
114159
114355
|
if (path2 === "/api/setup/machine" && method === "GET") {
|
|
114160
114356
|
const machine = deps.machine();
|
|
114161
|
-
const [
|
|
114357
|
+
const [ollama2, podman] = await Promise.all([deps.ollama().catch(() => "missing"), deps.podman().catch(() => ({ installed: false, path: null, running: false }))]);
|
|
114162
114358
|
return json5(res, 200, {
|
|
114163
114359
|
...machine,
|
|
114164
114360
|
npm: deps.npm(),
|
|
114165
|
-
ollama,
|
|
114361
|
+
ollama: ollama2,
|
|
114166
114362
|
podman: { installed: podman.installed, running: podman.running },
|
|
114167
114363
|
localModel: recommendLocalModel(machine)
|
|
114168
114364
|
});
|
|
@@ -114294,6 +114490,7 @@ var addAccountSchema = external_exports.object({
|
|
|
114294
114490
|
owner: external_exports.enum(["company", "personal"]).optional()
|
|
114295
114491
|
}).strict();
|
|
114296
114492
|
var renameAccountSchema = external_exports.object({ displayName: displayName2 }).strict();
|
|
114493
|
+
var planCreditSchema = external_exports.object({ planCreditUsd: external_exports.number().positive().max(1e6).nullable() }).strict();
|
|
114297
114494
|
var accountKeySchema = external_exports.object({ key: key4 }).strict();
|
|
114298
114495
|
var DEFAULT_HOME = {
|
|
114299
114496
|
CODEX_HOME: ".codex",
|
|
@@ -114413,9 +114610,17 @@ var ACCOUNT = /^\/api\/provider-accounts\/([\w.-]+)(?:\/(key|test))?$/;
|
|
|
114413
114610
|
function removable(instanceId, entry) {
|
|
114414
114611
|
return entry.account !== void 0 || entry.driver === "claudeAgent" && instanceId !== "claude";
|
|
114415
114612
|
}
|
|
114416
|
-
function
|
|
114613
|
+
function creditFields(instanceId, entry, spent) {
|
|
114614
|
+
const credit = planCredit(instanceId, entry, spent);
|
|
114615
|
+
return {
|
|
114616
|
+
...entry.planCreditUsd !== void 0 ? { planCreditUsd: entry.planCreditUsd } : {},
|
|
114617
|
+
...credit ? { planCredit: credit } : {}
|
|
114618
|
+
};
|
|
114619
|
+
}
|
|
114620
|
+
function account(provider, instanceId, entry, described, owner4, spent) {
|
|
114417
114621
|
const tag = owner4?.(instanceId);
|
|
114418
114622
|
const base5 = {
|
|
114623
|
+
...planTerms(provider).kind === "includedCredit" ? creditFields(instanceId, entry, spent) : {},
|
|
114419
114624
|
instanceId,
|
|
114420
114625
|
...tag ? { owner: tag.owner, ownerLocked: tag.locked } : {},
|
|
114421
114626
|
displayName: described?.displayName ?? entry.displayName ?? provider.label,
|
|
@@ -114444,6 +114649,8 @@ function account(provider, instanceId, entry, described, owner4) {
|
|
|
114444
114649
|
async function listing(deps) {
|
|
114445
114650
|
const instances = persistableInstanceConfigs(deps.config());
|
|
114446
114651
|
const described = new Map((await deps.describe()).map((instance) => [instance.instanceId, instance]));
|
|
114652
|
+
const spent = monthToDateByInstance(deps.dataDir);
|
|
114653
|
+
const mainOllama = Object.entries(instances).find(([, entry]) => entry.driver === "ollamaCloud" && entry.account === void 0);
|
|
114447
114654
|
return {
|
|
114448
114655
|
providers: ACCOUNT_PROVIDERS.map((provider) => ({
|
|
114449
114656
|
id: provider.id,
|
|
@@ -114454,7 +114661,8 @@ async function listing(deps) {
|
|
|
114454
114661
|
...provider.icon ? { icon: provider.icon } : {},
|
|
114455
114662
|
...provider.kind === "apiKey" ? { keyUrl: provider.keyUrl, ...provider.keyTest ? { keyTest: provider.keyTest } : {} } : {},
|
|
114456
114663
|
...provider.signupUrl ? { signupUrl: provider.signupUrl } : {},
|
|
114457
|
-
accounts: Object.entries(instances).filter(([, entry]) => accountProviderFor(entry)?.id === provider.id).map(([instanceId, entry]) => account(provider, instanceId, entry, described.get(instanceId), deps.owner))
|
|
114664
|
+
accounts: Object.entries(instances).filter(([, entry]) => accountProviderFor(entry)?.id === provider.id).map(([instanceId, entry]) => account(provider, instanceId, entry, described.get(instanceId), deps.owner, spent)),
|
|
114665
|
+
...provider.id === "ollamaCloud" && mainOllama ? { main: { instanceId: mainOllama[0], ...creditFields(mainOllama[0], mainOllama[1], spent) } } : {}
|
|
114458
114666
|
}))
|
|
114459
114667
|
};
|
|
114460
114668
|
}
|
|
@@ -114547,7 +114755,26 @@ function createProviderAccountRoutes(deps) {
|
|
|
114547
114755
|
}
|
|
114548
114756
|
if (!entry || !provider && method !== "PATCH") return json5(res, 404, { error: "unknown account" });
|
|
114549
114757
|
if (method === "PATCH") {
|
|
114550
|
-
const
|
|
114758
|
+
const body = await readBody2(req, 8192);
|
|
114759
|
+
if (body && typeof body === "object" && Object.hasOwn(body, "planCreditUsd")) {
|
|
114760
|
+
const credit = planCreditSchema.safeParse(body);
|
|
114761
|
+
if (!credit.success) return json5(res, 400, { error: "Enter the plan's monthly credit in dollars, more than 0." });
|
|
114762
|
+
const paidThrough = entry.account !== void 0 ? provider : entry.driver === "ollamaCloud" ? accountProvider("ollamaCloud") : void 0;
|
|
114763
|
+
if (!paidThrough || planTerms(paidThrough).kind !== "includedCredit") {
|
|
114764
|
+
return json5(res, 400, { error: "This account's plan has no included monthly credit." });
|
|
114765
|
+
}
|
|
114766
|
+
if (!deps.lock()) return json5(res, 409, { error: "Provider settings are already being updated." });
|
|
114767
|
+
try {
|
|
114768
|
+
if (credit.data.planCreditUsd === null) delete entry.planCreditUsd;
|
|
114769
|
+
else entry.planCreditUsd = credit.data.planCreditUsd;
|
|
114770
|
+
await deps.persist(instanceId, instances);
|
|
114771
|
+
resetPlanCreditCache();
|
|
114772
|
+
return json5(res, 200, await listing(deps));
|
|
114773
|
+
} finally {
|
|
114774
|
+
deps.unlock();
|
|
114775
|
+
}
|
|
114776
|
+
}
|
|
114777
|
+
const parsed = renameAccountSchema.safeParse(body);
|
|
114551
114778
|
if (!parsed.success) return json5(res, 400, { error: "Enter an account name (up to 80 characters)." });
|
|
114552
114779
|
if (deps.busy(instanceId)) return json5(res, 409, { error: "Wait for bots using this account to finish before renaming it." });
|
|
114553
114780
|
if (!deps.lock()) return json5(res, 409, { error: "Provider settings are already being updated." });
|
|
@@ -119986,13 +120213,158 @@ function isChange(value) {
|
|
|
119986
120213
|
return Object.keys(change).every((key5) => ["botId", "tier", "pin", "modelSelection"].includes(key5)) && typeof change.botId === "string" && /^[\w-]{1,128}$/.test(change.botId) && isBotTier(change.tier) && typeof change.pin === "boolean" && (selection === void 0 || typeof selection === "object" && selection !== null && typeof selection.instanceId === "string" && typeof selection.model === "string");
|
|
119987
120214
|
}
|
|
119988
120215
|
|
|
120216
|
+
// server/model-gateway/route.ts
|
|
120217
|
+
import { Readable as Readable3 } from "node:stream";
|
|
120218
|
+
|
|
120219
|
+
// server/model-gateway/failover.ts
|
|
120220
|
+
var REST_MS = 10 * 6e4;
|
|
120221
|
+
function failsOver(status, body) {
|
|
120222
|
+
if (status === 401 || status === 402 || status === 403 || status === 404 || status === 408 || status === 429 || status >= 500) return true;
|
|
120223
|
+
return status >= 400 && classifyEngineFailure(body) !== null;
|
|
120224
|
+
}
|
|
120225
|
+
var GatewayRests = class {
|
|
120226
|
+
until = /* @__PURE__ */ new Map();
|
|
120227
|
+
now;
|
|
120228
|
+
constructor(now = Date.now) {
|
|
120229
|
+
this.now = now;
|
|
120230
|
+
}
|
|
120231
|
+
rest(model2, ms2 = REST_MS) {
|
|
120232
|
+
this.until.set(model2, this.now() + ms2);
|
|
120233
|
+
}
|
|
120234
|
+
resting = (model2) => (this.until.get(model2) ?? 0) > this.now();
|
|
120235
|
+
};
|
|
120236
|
+
async function firstAnswer(models, send2, rests) {
|
|
120237
|
+
const failovers = [];
|
|
120238
|
+
let last = { status: 404, error: "No model is available behind Atomic right now. Start Ollama, or sign in to Ollama for its cloud models." };
|
|
120239
|
+
for (const model2 of models) {
|
|
120240
|
+
let response;
|
|
120241
|
+
try {
|
|
120242
|
+
response = await send2(model2);
|
|
120243
|
+
} catch (error51) {
|
|
120244
|
+
failovers.push(model2);
|
|
120245
|
+
last = { status: 502, error: `Ollama did not answer (${error51.message}).` };
|
|
120246
|
+
continue;
|
|
120247
|
+
}
|
|
120248
|
+
if (response.ok) return { ok: true, model: model2, response, failovers };
|
|
120249
|
+
const body = await response.text().catch(() => "");
|
|
120250
|
+
if (!failsOver(response.status, body)) return { ok: true, model: model2, response: new Response(body, { status: response.status, headers: response.headers }), failovers };
|
|
120251
|
+
if (response.status === 429 || response.status === 402) rests?.rest(model2);
|
|
120252
|
+
failovers.push(model2);
|
|
120253
|
+
last = { status: response.status, error: `${model2} could not answer (${response.status}).` };
|
|
120254
|
+
}
|
|
120255
|
+
return { ok: false, ...last, failovers };
|
|
120256
|
+
}
|
|
120257
|
+
|
|
120258
|
+
// server/model-gateway/ladder.ts
|
|
120259
|
+
var ATOMIC_AUTO_GATEWAY_MODEL = "atomic/auto";
|
|
120260
|
+
var LOCKED_CLOUD_ORDER = ["glm-5.3:cloud", "deepseek-v4-pro:cloud", "qwen3.5:cloud"];
|
|
120261
|
+
var isCloud = (model2) => /(^|[:-])cloud$/.test(model2);
|
|
120262
|
+
function autoLadder(available, resting = () => false, locked = LOCKED_CLOUD_ORDER) {
|
|
120263
|
+
const unique = [...new Set(available.filter((model2) => model2 && model2 !== ATOMIC_AUTO_GATEWAY_MODEL))];
|
|
120264
|
+
const ordered = [
|
|
120265
|
+
...locked.filter((model2) => unique.includes(model2)),
|
|
120266
|
+
...unique.filter((model2) => isCloud(model2) && !locked.includes(model2)),
|
|
120267
|
+
...unique.filter((model2) => !isCloud(model2))
|
|
120268
|
+
];
|
|
120269
|
+
const awake = ordered.filter((model2) => !resting(model2));
|
|
120270
|
+
return awake.length ? awake : ordered;
|
|
120271
|
+
}
|
|
120272
|
+
function modelsFor(asked, available, resting) {
|
|
120273
|
+
if (asked === ATOMIC_AUTO_GATEWAY_MODEL) return autoLadder(available, resting);
|
|
120274
|
+
return available.includes(asked) ? [asked] : [];
|
|
120275
|
+
}
|
|
120276
|
+
|
|
120277
|
+
// server/model-gateway/route.ts
|
|
120278
|
+
var PREFIX3 = "/api/v1/";
|
|
120279
|
+
var PASS_THROUGH = /* @__PURE__ */ new Set(["responses", "chat/completions", "messages"]);
|
|
120280
|
+
var MAX_BODY = 32 * 1024 * 1024;
|
|
120281
|
+
var LOOPBACK = /* @__PURE__ */ new Set(["127.0.0.1", "::1", "::ffff:127.0.0.1", "localhost"]);
|
|
120282
|
+
function fromLoopback(remoteAddress, host) {
|
|
120283
|
+
if (!remoteAddress || !LOOPBACK.has(remoteAddress)) return false;
|
|
120284
|
+
if (!host) return true;
|
|
120285
|
+
const name2 = host.startsWith("[") ? host.slice(1, host.indexOf("]")) : host.replace(/:\d+$/, "");
|
|
120286
|
+
return LOOPBACK.has(name2.toLowerCase());
|
|
120287
|
+
}
|
|
120288
|
+
function ollama() {
|
|
120289
|
+
const host = localHost("ollama");
|
|
120290
|
+
return host ? { baseUrl: host.baseUrl.replace(/\/+$/, ""), apiKey: hostApiKey(host) } : null;
|
|
120291
|
+
}
|
|
120292
|
+
function createModelGatewayRoutes(deps = {}) {
|
|
120293
|
+
const fetchImpl = deps.fetchImpl ?? fetch;
|
|
120294
|
+
const rests = deps.rests ?? new GatewayRests();
|
|
120295
|
+
const log = deps.log ?? ((line3) => console.info(line3));
|
|
120296
|
+
const upstream = () => (deps.upstream ?? ollama)();
|
|
120297
|
+
async function served() {
|
|
120298
|
+
const base5 = upstream();
|
|
120299
|
+
if (!base5) return [];
|
|
120300
|
+
try {
|
|
120301
|
+
const res = await fetchImpl(`${base5.baseUrl}/models`, { headers: base5.apiKey ? { authorization: `Bearer ${base5.apiKey}` } : {}, signal: AbortSignal.timeout(5e3) });
|
|
120302
|
+
const body = res.ok ? await res.json() : {};
|
|
120303
|
+
return (body.data ?? []).map((row) => row.id).filter((id) => typeof id === "string" && id.length > 0);
|
|
120304
|
+
} catch {
|
|
120305
|
+
return [];
|
|
120306
|
+
}
|
|
120307
|
+
}
|
|
120308
|
+
return async ({ req, res, path: path2, method, auth, json: json5, readBody: readBody2 }) => {
|
|
120309
|
+
if (!path2.startsWith(PREFIX3)) return PASS;
|
|
120310
|
+
const tail3 = path2.slice(PREFIX3.length);
|
|
120311
|
+
if (!(tail3 === "models" && method === "GET") && !(PASS_THROUGH.has(tail3) && method === "POST")) return PASS;
|
|
120312
|
+
if (!fromLoopback(req.socket.remoteAddress, req.headers.host)) return json5(res, 403, { error: "Atomic's model source answers only on this computer." });
|
|
120313
|
+
if (auth.kind !== "assistant") return json5(res, 401, { error: "Send a connected assistant's token from Atomic Settings \u2192 Connected assistants." });
|
|
120314
|
+
const available = await served();
|
|
120315
|
+
if (tail3 === "models") {
|
|
120316
|
+
const ids2 = [ATOMIC_AUTO_GATEWAY_MODEL, ...available];
|
|
120317
|
+
return json5(res, 200, { object: "list", data: ids2.map((id) => ({ id, object: "model", owned_by: id === ATOMIC_AUTO_GATEWAY_MODEL ? "atomic" : "ollama", ...id === ATOMIC_AUTO_GATEWAY_MODEL ? { display_name: "Atomic Engine (Auto)" } : {} })) });
|
|
120318
|
+
}
|
|
120319
|
+
let body;
|
|
120320
|
+
try {
|
|
120321
|
+
body = await readBody2(req, MAX_BODY);
|
|
120322
|
+
} catch (error51) {
|
|
120323
|
+
return json5(res, error51.status ?? 400, { error: error51.message });
|
|
120324
|
+
}
|
|
120325
|
+
const asked = typeof body.model === "string" ? body.model : "";
|
|
120326
|
+
const models = modelsFor(asked, available, rests.resting);
|
|
120327
|
+
if (!models.length) {
|
|
120328
|
+
return json5(res, 404, { error: available.length ? `Atomic does not serve "${asked}". Use ${ATOMIC_AUTO_GATEWAY_MODEL} or a model from /api/v1/models.` : "No model is available behind Atomic right now. Start Ollama, or sign in to Ollama for its cloud models." });
|
|
120329
|
+
}
|
|
120330
|
+
const base5 = upstream();
|
|
120331
|
+
const headers = { "content-type": "application/json" };
|
|
120332
|
+
if (base5.apiKey) headers.authorization = `Bearer ${base5.apiKey}`;
|
|
120333
|
+
if (tail3 === "messages") {
|
|
120334
|
+
headers["x-api-key"] = base5.apiKey ?? "ollama";
|
|
120335
|
+
headers["anthropic-version"] = String(req.headers["anthropic-version"] ?? "2023-06-01");
|
|
120336
|
+
}
|
|
120337
|
+
const answer2 = await firstAnswer(models, (model2) => fetchImpl(`${base5.baseUrl}/${tail3}`, { method: "POST", headers, body: JSON.stringify({ ...body, model: model2 }) }), rests);
|
|
120338
|
+
log(`[model-gateway] ${tail3} asked=${asked} used=${answer2.ok ? answer2.model : "none"} failovers=${answer2.failovers.join(",") || "none"}`);
|
|
120339
|
+
if (!answer2.ok) return json5(res, answer2.status === 404 ? 503 : answer2.status, { error: answer2.error });
|
|
120340
|
+
const type = answer2.response.headers.get("content-type") ?? "application/json";
|
|
120341
|
+
res.writeHead(answer2.response.status, { "content-type": type, "cache-control": "no-cache", "x-atomic-model": answer2.model });
|
|
120342
|
+
if (!answer2.response.body) return void res.end();
|
|
120343
|
+
await new Promise((resolve32) => {
|
|
120344
|
+
const stream = Readable3.fromWeb(answer2.response.body);
|
|
120345
|
+
stream.on("error", () => {
|
|
120346
|
+
res.destroy();
|
|
120347
|
+
resolve32();
|
|
120348
|
+
});
|
|
120349
|
+
res.on("close", () => {
|
|
120350
|
+
stream.destroy();
|
|
120351
|
+
resolve32();
|
|
120352
|
+
});
|
|
120353
|
+
stream.pipe(res).on("finish", () => resolve32());
|
|
120354
|
+
});
|
|
120355
|
+
};
|
|
120356
|
+
}
|
|
120357
|
+
|
|
119989
120358
|
// server/chibi-defaults.ts
|
|
119990
120359
|
import { existsSync as existsSync78, readFileSync as readFileSync103 } from "node:fs";
|
|
119991
120360
|
import { join as join133 } from "node:path";
|
|
119992
120361
|
var CHIBI_DEFAULTS_FILE = "chibi-defaults.json";
|
|
119993
120362
|
var NEAREST_CLASSES = ["Plata", "Reposado", "Mezcal", "A\xF1ejo"];
|
|
119994
120363
|
function chibiDefaultSelection(engines, refused, models = []) {
|
|
119995
|
-
const
|
|
120364
|
+
const usable = engines.filter((engine) => engine.snapshot.state === "available" && engine.snapshot.authenticated !== false && refused(engine) === void 0);
|
|
120365
|
+
const atomic = usable.find((engine) => engine.instanceId === ATOMIC_AUTO_RUNG.engine && engine.models.options.some((option) => option.id === ATOMIC_AUTO_RUNG.model));
|
|
120366
|
+
if (atomic) return { instanceId: atomic.instanceId, model: ATOMIC_AUTO_RUNG.model };
|
|
120367
|
+
const ready2 = usable.filter((engine) => engine.instanceId !== ATOMIC_AUTO_RUNG.engine);
|
|
119996
120368
|
const on = (driverKind, model2) => {
|
|
119997
120369
|
for (const engine of ready2) {
|
|
119998
120370
|
if (engine.driverKind !== driverKind) continue;
|
|
@@ -120046,7 +120418,7 @@ async function applyChibiDefaults(deps) {
|
|
|
120046
120418
|
for (const task2 of chibi.tasks ?? []) deps.store.setThreadEngineClass(chibi.id, task2.threadId, "tier");
|
|
120047
120419
|
writeFileAtomic(join133(deps.dataDir, CHIBI_DEFAULTS_FILE), `${JSON.stringify({ version: CHIBI_DEFAULTS_VERSION, appliedAt: (/* @__PURE__ */ new Date()).toISOString() })}
|
|
120048
120420
|
`);
|
|
120049
|
-
console.log(`[chibi] put on its default: Automatic, ${CHIBI_DEFAULT_RUNG.modelClass}, ${selection ? `${selection.instanceId}/${selection.model}` : "the model it had (no graded model is ready here)"}`);
|
|
120421
|
+
console.log(`[chibi] put on its default: Automatic, ${selection?.model === ATOMIC_AUTO_RUNG.model ? "Atomic Engine (Auto)" : CHIBI_DEFAULT_RUNG.modelClass}, ${selection ? `${selection.instanceId}/${selection.model}` : "the model it had (no graded model is ready here)"}`);
|
|
120050
120422
|
return true;
|
|
120051
120423
|
}
|
|
120052
120424
|
|
|
@@ -123718,21 +124090,21 @@ var LocalModelInventory = class {
|
|
|
123718
124090
|
}
|
|
123719
124091
|
async read() {
|
|
123720
124092
|
const found = [];
|
|
123721
|
-
const
|
|
123722
|
-
if (
|
|
123723
|
-
const [tags, ps2] = await Promise.all([hostJson(
|
|
124093
|
+
const ollama2 = probedLocalHost("ollama");
|
|
124094
|
+
if (ollama2) {
|
|
124095
|
+
const [tags, ps2] = await Promise.all([hostJson(ollama2, "/api/tags", this.fetchImpl), hostJson(ollama2, "/api/ps", this.fetchImpl)]);
|
|
123724
124096
|
const shows = /* @__PURE__ */ new Map();
|
|
123725
124097
|
await Promise.all(records(tags, "models").map(async (row) => {
|
|
123726
124098
|
const name2 = rowName(row);
|
|
123727
124099
|
if (!name2 || isOllamaCloudModel({ ...row, name: name2 }) || EMBEDDING.test(name2)) return;
|
|
123728
124100
|
const key5 = `${name2}@${typeof row.digest === "string" ? row.digest : ""}`;
|
|
123729
124101
|
if (!this.shows.has(key5)) {
|
|
123730
|
-
const show = await hostJson(
|
|
124102
|
+
const show = await hostJson(ollama2, "/api/show", this.fetchImpl, { model: name2 });
|
|
123731
124103
|
if (show !== void 0) this.shows.set(key5, show);
|
|
123732
124104
|
}
|
|
123733
124105
|
if (this.shows.has(key5)) shows.set(name2, this.shows.get(key5));
|
|
123734
124106
|
}));
|
|
123735
|
-
found.push(...ollamaChatModels(tags, ps2, shows,
|
|
124107
|
+
found.push(...ollamaChatModels(tags, ps2, shows, ollama2.id));
|
|
123736
124108
|
}
|
|
123737
124109
|
const lmStudio = probedLocalHost("lmstudio");
|
|
123738
124110
|
if (lmStudio) found.push(...lmStudioChatModels(await hostJson(lmStudio, "/api/v0/models", this.fetchImpl), lmStudio.id));
|
|
@@ -126604,9 +126976,9 @@ var workspaceAccess = null;
|
|
|
126604
126976
|
var DESKTOP_MANAGED = process.env.OMB_DESKTOP_PARENT === "1";
|
|
126605
126977
|
var SHARED_WORKSPACE_FULL_ACCESS = sharedWorkspaceFullAccessConfigured();
|
|
126606
126978
|
var sharedWorkspaceFullAccessEnabled = () => SHARED_WORKSPACE_FULL_ACCESS && Boolean(workspaceAccess) && entitled("admin");
|
|
126607
|
-
var
|
|
126979
|
+
var LOOPBACK2 = resolveLoopbackTrust({ desktopManaged: DESKTOP_MANAGED, hostedWorkspace: HOSTED_WORKSPACE });
|
|
126608
126980
|
var cliOwnerToken;
|
|
126609
|
-
if (process.env.OMB_CLI_OWNER_STDIN === "1" &&
|
|
126981
|
+
if (process.env.OMB_CLI_OWNER_STDIN === "1" && LOOPBACK2.trust === "service" && process.stdin) {
|
|
126610
126982
|
let received = "";
|
|
126611
126983
|
process.stdin.setEncoding("utf8");
|
|
126612
126984
|
process.stdin.on("error", () => {
|
|
@@ -127994,8 +128366,7 @@ var tierCandidates = (described) => {
|
|
|
127994
128366
|
if (hostedModels) return [];
|
|
127995
128367
|
const configs = providerConfigs();
|
|
127996
128368
|
return described.filter((instance) => policyModelRefusal(instance) === void 0).map((instance) => {
|
|
127997
|
-
const
|
|
127998
|
-
const billing = account2 === void 0 ? void 0 : accountProvider(account2)?.billing;
|
|
128369
|
+
const billing = accountBilling(instance.instanceId, configs[instance.instanceId], DATA_DIR);
|
|
127999
128370
|
return billing ? { ...instance, billing } : instance;
|
|
128000
128371
|
});
|
|
128001
128372
|
};
|
|
@@ -128200,8 +128571,7 @@ var subscriptionFacts = {
|
|
|
128200
128571
|
function subscriptionCandidate(instanceId) {
|
|
128201
128572
|
const described = engineSnapshots.current()?.find((candidate) => candidate.instanceId === instanceId);
|
|
128202
128573
|
if (described) return described;
|
|
128203
|
-
const
|
|
128204
|
-
const billing = account2 === void 0 ? void 0 : accountProvider(account2)?.billing;
|
|
128574
|
+
const billing = accountBilling(instanceId, providerConfigs()[instanceId], DATA_DIR);
|
|
128205
128575
|
return {
|
|
128206
128576
|
instanceId,
|
|
128207
128577
|
driverKind: registry3.get(instanceId)?.driverKind ?? "",
|
|
@@ -128820,6 +129190,9 @@ var needsPerson = (instanceId) => engineRests.active().some((entry) => entry.ins
|
|
|
128820
129190
|
bindAtomicEngineAccountSource(() => ({
|
|
128821
129191
|
instances: providerConfigs(),
|
|
128822
129192
|
engineInstanceId: "atomic-engine",
|
|
129193
|
+
classModels: classedModels(),
|
|
129194
|
+
classOrder: failoverClassOrder(engineTierClasses(cfg.engineTiers).orchestrator),
|
|
129195
|
+
// class Auto (server/atomic-engine-classes.ts)
|
|
128823
129196
|
owner: instanceOwner,
|
|
128824
129197
|
restingUntil: (instanceId) => engineRests.active().filter((entry) => entry.instanceId === instanceId && !entry.scope && entry.reason !== "stalled").reduce((latest, entry) => Math.max(latest ?? 0, entry.until), void 0)
|
|
128825
129198
|
}));
|
|
@@ -128930,6 +129303,7 @@ function botClassChoices(profile, threadId) {
|
|
|
128930
129303
|
tier,
|
|
128931
129304
|
tierClass: engineTierClasses(cfg.engineTiers)[tier],
|
|
128932
129305
|
bot: botEngineMode(profile),
|
|
129306
|
+
includeFree: engineTiersIncludeFree(cfg.engineTiers),
|
|
128933
129307
|
...task2 ? { thread: threadEngineMode(profile, task2) } : {}
|
|
128934
129308
|
};
|
|
128935
129309
|
const projected = store.projectBotForTask(profile.id, threadId);
|
|
@@ -129396,7 +129770,7 @@ async function jevAnswerCheck(c) {
|
|
|
129396
129770
|
settings: answerCheckSettings(cfg.jevAnswerChecks),
|
|
129397
129771
|
policy: {
|
|
129398
129772
|
keySet: Boolean(route),
|
|
129399
|
-
hostedWorkspace: Boolean(hostedModels) || HOSTED_WORKSPACE ||
|
|
129773
|
+
hostedWorkspace: Boolean(hostedModels) || HOSTED_WORKSPACE || LOOPBACK2.trust === "service",
|
|
129400
129774
|
hipaaWorkspace: workspaceHipaa().enabled,
|
|
129401
129775
|
hipaaBot: profile.hipaa === true
|
|
129402
129776
|
},
|
|
@@ -137953,7 +138327,7 @@ var workspaceBackupRoutes = createWorkspaceBackupRoutes({
|
|
|
137953
138327
|
url: new URL(req.url ?? "/", `http://localhost:${PORT}`),
|
|
137954
138328
|
loopbackMutationToken: desktopMutationToken,
|
|
137955
138329
|
companionMutationToken,
|
|
137956
|
-
loopbackTrust:
|
|
138330
|
+
loopbackTrust: LOOPBACK2.trust,
|
|
137957
138331
|
cliOwnerToken
|
|
137958
138332
|
}).auth;
|
|
137959
138333
|
return Boolean(current4?.scopes.includes("admin") && current4.kind === original.kind && (current4.kind !== "session" || original.kind === "session" && current4.session.id === original.session.id));
|
|
@@ -138103,7 +138477,7 @@ ROUTES.push(createJevRoutes({
|
|
|
138103
138477
|
cfg.jevAnswerChecks = value;
|
|
138104
138478
|
},
|
|
138105
138479
|
route: () => jevRoute(),
|
|
138106
|
-
hosted: () => Boolean(hostedModels) || HOSTED_WORKSPACE ||
|
|
138480
|
+
hosted: () => Boolean(hostedModels) || HOSTED_WORKSPACE || LOOPBACK2.trust === "service",
|
|
138107
138481
|
hipaa: () => workspaceHipaa().enabled,
|
|
138108
138482
|
fromBot: (req) => authorizedInternalCapability(req.headers.authorization) !== null
|
|
138109
138483
|
}));
|
|
@@ -138124,7 +138498,7 @@ ROUTES.push(createDictationRoutes({
|
|
|
138124
138498
|
return { onDevice, subscription: allowSubscriptions ? dictationSubscription() : null };
|
|
138125
138499
|
},
|
|
138126
138500
|
fromBot: (req) => authorizedInternalCapability(req.headers.authorization) !== null,
|
|
138127
|
-
hosted: () => Boolean(hostedModels) || HOSTED_WORKSPACE ||
|
|
138501
|
+
hosted: () => Boolean(hostedModels) || HOSTED_WORKSPACE || LOOPBACK2.trust === "service"
|
|
138128
138502
|
}));
|
|
138129
138503
|
var watchRemoteFlags = new RemoteFlags((url2, init) => fetch(url2, init));
|
|
138130
138504
|
var watchTranscriptCounts = new TranscriptCounts();
|
|
@@ -138919,7 +139293,7 @@ var deliverableAccess = (senderId, auth) => sharedDeliverableAccess(sharedDelive
|
|
|
138919
139293
|
canSeeGroup: auth ? (id) => visibleTo(viewerFor(auth)).group(id) : () => true
|
|
138920
139294
|
});
|
|
138921
139295
|
ROUTES.push(createSharedDeliverablesRoutes(sharedDeliverables, () => deliverableAccess(void 0).sharedBlockedRoots ?? []));
|
|
138922
|
-
ROUTES.push(createMessageFileRoutes({ store, attachments: ATTACHMENTS_DIR, workspaceDir, access: deliverableAccess }));
|
|
139296
|
+
ROUTES.push(createMessageFileRoutes({ store, attachments: ATTACHMENTS_DIR, workspaceDir, access: deliverableAccess }), createModelGatewayRoutes());
|
|
138923
139297
|
ROUTES.push(createPinOrderRoutes({ store, visible: (auth) => visibleTo(viewerFor(auth)), personalHidden: personalBotHidden, fromBot: (req) => authorizedInternalCapability(req.headers.authorization) !== null }));
|
|
138924
139298
|
ROUTES.push(createRepoRoutes({
|
|
138925
139299
|
registry: repoRegistry,
|
|
@@ -139078,7 +139452,7 @@ var handleRequest = async (req, res) => {
|
|
|
139078
139452
|
loopbackMutationToken: desktopMutationToken,
|
|
139079
139453
|
companionMutationToken,
|
|
139080
139454
|
features: { sharedComputers: sharedComputersEnabled(cfg) },
|
|
139081
|
-
loopbackTrust:
|
|
139455
|
+
loopbackTrust: LOOPBACK2.trust,
|
|
139082
139456
|
cliOwnerToken,
|
|
139083
139457
|
assistants
|
|
139084
139458
|
});
|
|
@@ -145980,8 +146354,8 @@ calendarCalls.start();
|
|
|
145980
146354
|
console.log(describeEdition(await loadEnterpriseLayer()));
|
|
145981
146355
|
var startupLicenseWarning = licenseWarning(editionStatus());
|
|
145982
146356
|
if (startupLicenseWarning) console.warn(startupLicenseWarning);
|
|
145983
|
-
console.log(
|
|
145984
|
-
if (
|
|
146357
|
+
console.log(LOOPBACK2.trust === "service" ? `local requests: service trust (${LOOPBACK2.reason}); without a session, loopback may use only health, the Slack worker's guarded routes and bot capability routes` : `local requests: owner trust (${LOOPBACK2.reason})`);
|
|
146358
|
+
if (LOOPBACK2.warning) console.warn(`local requests: ${LOOPBACK2.warning}`);
|
|
145985
146359
|
for (const group of store.groups) settleRoomFloor(group);
|
|
145986
146360
|
var pruneDecisionLog = () => {
|
|
145987
146361
|
void pruneDecisions(DATA_DIR, decisionRetentionDays(cfg.decisions?.retentionDays));
|