tenjin-cli 0.1.0-alpha.2 → 0.1.0-alpha.21
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/NOTICE.md +54 -7
- package/README.md +175 -256
- package/dist/{_esm-FEASBWRP.js → _esm-CE7KNONL.js} +9 -10
- package/dist/{ccip-NQXCEK2U.js → ccip-7RMRLAGV.js} +4 -4
- package/dist/{ccip-XR5NE5QK.js → ccip-NLCSCHKI.js} +5 -5
- package/dist/chunk-2AQO4YDI.js +291 -0
- package/dist/chunk-2AQO4YDI.js.map +1 -0
- package/dist/chunk-2QYORQBF.js +55 -0
- package/dist/chunk-2QYORQBF.js.map +1 -0
- package/dist/chunk-3EUTWC2B.js +194 -0
- package/dist/chunk-3EUTWC2B.js.map +1 -0
- package/dist/{chunk-ZMHYXMO6.js → chunk-5IEP5EGE.js} +3 -3
- package/dist/chunk-7QKHZQKW.js +1680 -0
- package/dist/chunk-7QKHZQKW.js.map +1 -0
- package/dist/chunk-A36LQPHV.js +29 -0
- package/dist/chunk-A36LQPHV.js.map +1 -0
- package/dist/{chunk-XJIW7USF.js → chunk-AQRUD5GQ.js} +115 -11
- package/dist/chunk-AQRUD5GQ.js.map +1 -0
- package/dist/{chunk-UGX7YPX2.js → chunk-AWQPGIR6.js} +7 -9
- package/dist/{chunk-UGX7YPX2.js.map → chunk-AWQPGIR6.js.map} +1 -1
- package/dist/{chunk-5CLSD5YN.js → chunk-BPMWXTFX.js} +2 -2
- package/dist/chunk-C363JZN2.js +127 -0
- package/dist/chunk-C363JZN2.js.map +1 -0
- package/dist/{chunk-YALGASEU.js → chunk-EGELTSPU.js} +2 -2
- package/dist/chunk-ETW2ASBP.js +10562 -0
- package/dist/chunk-ETW2ASBP.js.map +1 -0
- package/dist/chunk-GHTPYKDT.js +112 -0
- package/dist/chunk-GHTPYKDT.js.map +1 -0
- package/dist/{chunk-CYOF7ROH.js → chunk-HPWO4O6S.js} +3 -3
- package/dist/chunk-IOB7URFH.js +242 -0
- package/dist/chunk-IOB7URFH.js.map +1 -0
- package/dist/chunk-IOIHYOU4.js +1784 -0
- package/dist/chunk-IOIHYOU4.js.map +1 -0
- package/dist/chunk-JLEF5WHM.js +132 -0
- package/dist/chunk-JLEF5WHM.js.map +1 -0
- package/dist/chunk-JN7TMXVF.js +172 -0
- package/dist/chunk-JN7TMXVF.js.map +1 -0
- package/dist/{chunk-QVX5MWJZ.js → chunk-JRGFKVAZ.js} +2 -2
- package/dist/chunk-K6AXXYCG.js +109 -0
- package/dist/chunk-K6AXXYCG.js.map +1 -0
- package/dist/{chunk-HIVZG55D.js → chunk-KG3D7FIF.js} +2 -2
- package/dist/chunk-LAIZ2AQA.js +107 -0
- package/dist/chunk-LAIZ2AQA.js.map +1 -0
- package/dist/chunk-LHHMV4GU.js +27 -0
- package/dist/chunk-LHHMV4GU.js.map +1 -0
- package/dist/{chunk-YBMMV4Y4.js → chunk-MEFB5KHA.js} +13 -5
- package/dist/chunk-MEFB5KHA.js.map +1 -0
- package/dist/{chunk-NCE5NSN6.js → chunk-N35E6CM2.js} +140 -10
- package/dist/chunk-N35E6CM2.js.map +1 -0
- package/dist/chunk-N4DJEQAF.js +190 -0
- package/dist/chunk-N4DJEQAF.js.map +1 -0
- package/dist/chunk-O2JYBOUO.js +47 -0
- package/dist/chunk-O2JYBOUO.js.map +1 -0
- package/dist/chunk-OSUD6YZZ.js +451 -0
- package/dist/chunk-OSUD6YZZ.js.map +1 -0
- package/dist/chunk-OTPEH3AH.js +926 -0
- package/dist/chunk-OTPEH3AH.js.map +1 -0
- package/dist/chunk-PJEG2JIJ.js +242 -0
- package/dist/chunk-PJEG2JIJ.js.map +1 -0
- package/dist/{chunk-ZABPQJ3M.js → chunk-POUWHWID.js} +2 -2
- package/dist/chunk-QF4SSCQV.js +377 -0
- package/dist/chunk-QF4SSCQV.js.map +1 -0
- package/dist/chunk-QHILSA6G.js +82 -0
- package/dist/chunk-QHILSA6G.js.map +1 -0
- package/dist/chunk-QRFONFRW.js +231 -0
- package/dist/chunk-QRFONFRW.js.map +1 -0
- package/dist/{chunk-N62ROTMC.js → chunk-RCJQARZF.js} +14 -10
- package/dist/chunk-RCJQARZF.js.map +1 -0
- package/dist/{chunk-S3IGX57D.js → chunk-RGVOODF4.js} +7703 -7475
- package/dist/chunk-RGVOODF4.js.map +1 -0
- package/dist/chunk-S2NRVRPF.js +171 -0
- package/dist/chunk-S2NRVRPF.js.map +1 -0
- package/dist/chunk-SRVDXR6B.js +337 -0
- package/dist/chunk-SRVDXR6B.js.map +1 -0
- package/dist/chunk-TGLKKLQG.js +11 -0
- package/dist/chunk-TGLKKLQG.js.map +1 -0
- package/dist/{chunk-RRN3YTK7.js → chunk-TTNESUPQ.js} +3 -3
- package/dist/chunk-U2ATFMKZ.js +164 -0
- package/dist/chunk-U2ATFMKZ.js.map +1 -0
- package/dist/chunk-UY2TOI3B.js +208 -0
- package/dist/chunk-UY2TOI3B.js.map +1 -0
- package/dist/{chunk-OYMYCW7J.js → chunk-W3LVZ2EN.js} +605 -97
- package/dist/chunk-W3LVZ2EN.js.map +1 -0
- package/dist/{chunk-HSDCI7OV.js → chunk-XZKD7DIF.js} +3 -3
- package/dist/{chunk-Z6MFJV5Z.js → chunk-YVODPFTL.js} +851 -500
- package/dist/chunk-YVODPFTL.js.map +1 -0
- package/dist/{cli-4NNBEQYH.js → cli-7KJ4QLUU.js} +367 -216
- package/dist/cli-7KJ4QLUU.js.map +1 -0
- package/dist/config-MSN6H4MD.js +41 -0
- package/dist/dist-3LOO6M4U.js +2842 -0
- package/dist/dist-3LOO6M4U.js.map +1 -0
- package/dist/doctor-ITUCKN6C.js +453 -0
- package/dist/doctor-ITUCKN6C.js.map +1 -0
- package/dist/{ethersCompat-Df4a6QIZ-3YZIAXDK.js → ethersCompat-Df4a6QIZ-THAVUGIJ.js} +5 -5
- package/dist/fund-XPB4IIG5.js +298 -0
- package/dist/fund-XPB4IIG5.js.map +1 -0
- package/dist/hook-command-VVV2Q23L.js +1265 -0
- package/dist/hook-command-VVV2Q23L.js.map +1 -0
- package/dist/index.js +11 -3
- package/dist/index.js.map +1 -1
- package/dist/install-OSJRM2ME.js +63 -0
- package/dist/install-identity-YIWKQOUD.js +27 -0
- package/dist/install-wallet-BWJO2SUC.js +107 -0
- package/dist/install-wallet-BWJO2SUC.js.map +1 -0
- package/dist/mcp-KE5YKPS2.js +10174 -0
- package/dist/mcp-KE5YKPS2.js.map +1 -0
- package/dist/paths-MUXHUOCM.js +57 -0
- package/dist/pay-MUV2U232.js +46 -0
- package/dist/payments-4D27K4L2.js +48 -0
- package/dist/payments-4D27K4L2.js.map +1 -0
- package/dist/redact-6W23GGJC.js +15 -0
- package/dist/{secp256k1-N3ZHU7LB.js → secp256k1-ZZZT2CAX.js} +3 -3
- package/dist/secp256k1-ZZZT2CAX.js.map +1 -0
- package/dist/send-BXHFKDBF.js +225 -0
- package/dist/send-BXHFKDBF.js.map +1 -0
- package/dist/status-3Z3YPRSE.js +71 -0
- package/dist/status-3Z3YPRSE.js.map +1 -0
- package/dist/status-line-CKRMGZ3Q.js +87 -0
- package/dist/status-line-CKRMGZ3Q.js.map +1 -0
- package/dist/status-line-wiring-GECLIIBT.js +29 -0
- package/dist/status-line-wiring-GECLIIBT.js.map +1 -0
- package/dist/tenjin-daemon.mjs +20598 -0
- package/dist/tenjin-shim.mjs +251 -0
- package/dist/tenjin-vitest-reporter.mjs +49 -0
- package/dist/uninstall-BZTVWJ7W.js +165 -0
- package/dist/uninstall-BZTVWJ7W.js.map +1 -0
- package/dist/update-IQQTEOI5.js +433 -0
- package/dist/update-IQQTEOI5.js.map +1 -0
- package/dist/{viemAdapter-By13KInL-ZZE6UV4Y.js → viemAdapter-By13KInL-X2VY6CY3.js} +5 -5
- package/dist/viemAdapter-By13KInL-X2VY6CY3.js.map +1 -0
- package/dist/wallet-UFXQ57TZ.js +33 -0
- package/dist/wallet-UFXQ57TZ.js.map +1 -0
- package/dist/wallet-kdf-worker.mjs +980 -0
- package/docs/agent-permissions.md +141 -0
- package/docs/safety-model.md +70 -0
- package/package.json +14 -9
- package/LICENSE +0 -21
- package/dist/buy-U35DQ6XM.js +0 -1598
- package/dist/buy-U35DQ6XM.js.map +0 -1
- package/dist/candidate-RLYCQMF5.js +0 -127
- package/dist/candidate-RLYCQMF5.js.map +0 -1
- package/dist/chunk-27ONARHV.js +0 -171
- package/dist/chunk-27ONARHV.js.map +0 -1
- package/dist/chunk-3OV7E5G5.js +0 -18
- package/dist/chunk-3OV7E5G5.js.map +0 -1
- package/dist/chunk-7KUW4MJD.js +0 -59
- package/dist/chunk-7KUW4MJD.js.map +0 -1
- package/dist/chunk-7PHSZKQS.js +0 -333
- package/dist/chunk-7PHSZKQS.js.map +0 -1
- package/dist/chunk-IYLHQMT5.js +0 -211
- package/dist/chunk-IYLHQMT5.js.map +0 -1
- package/dist/chunk-JPHG2JW3.js +0 -96
- package/dist/chunk-JPHG2JW3.js.map +0 -1
- package/dist/chunk-MUBUQVC3.js +0 -67
- package/dist/chunk-MUBUQVC3.js.map +0 -1
- package/dist/chunk-N62ROTMC.js.map +0 -1
- package/dist/chunk-NCE5NSN6.js.map +0 -1
- package/dist/chunk-OYMYCW7J.js.map +0 -1
- package/dist/chunk-QNP7H47L.js +0 -152
- package/dist/chunk-QNP7H47L.js.map +0 -1
- package/dist/chunk-RY4XKNV3.js +0 -140
- package/dist/chunk-RY4XKNV3.js.map +0 -1
- package/dist/chunk-S3IGX57D.js.map +0 -1
- package/dist/chunk-TFGSOPWR.js +0 -261
- package/dist/chunk-TFGSOPWR.js.map +0 -1
- package/dist/chunk-TLCMMYLY.js +0 -126
- package/dist/chunk-TLCMMYLY.js.map +0 -1
- package/dist/chunk-UO22YNY4.js +0 -69
- package/dist/chunk-UO22YNY4.js.map +0 -1
- package/dist/chunk-UPIEAMGH.js +0 -160
- package/dist/chunk-UPIEAMGH.js.map +0 -1
- package/dist/chunk-XJIW7USF.js.map +0 -1
- package/dist/chunk-YBMMV4Y4.js.map +0 -1
- package/dist/chunk-YIYQ2ZNT.js +0 -286
- package/dist/chunk-YIYQ2ZNT.js.map +0 -1
- package/dist/chunk-YN5SHIXQ.js +0 -126
- package/dist/chunk-YN5SHIXQ.js.map +0 -1
- package/dist/chunk-Z52RA3NC.js +0 -137
- package/dist/chunk-Z52RA3NC.js.map +0 -1
- package/dist/chunk-Z6MFJV5Z.js.map +0 -1
- package/dist/cli-4NNBEQYH.js.map +0 -1
- package/dist/config-2VSXWWHK.js +0 -21
- package/dist/doctor-JJPNIBYH.js +0 -20
- package/dist/inspect-JGYJWFDP.js +0 -96
- package/dist/inspect-JGYJWFDP.js.map +0 -1
- package/dist/install-ZQRMSRGW.js +0 -378
- package/dist/install-ZQRMSRGW.js.map +0 -1
- package/dist/lookup-WYVTOMVY.js +0 -113
- package/dist/lookup-WYVTOMVY.js.map +0 -1
- package/dist/outcome-HKKT6QIA.js +0 -66
- package/dist/outcome-HKKT6QIA.js.map +0 -1
- package/dist/publish-D76B3MBK.js +0 -1480
- package/dist/publish-D76B3MBK.js.map +0 -1
- package/dist/usdc-JIAJW4SV.js +0 -22
- package/dist/wallet-6QKS6UHW.js +0 -179
- package/dist/wallet-6QKS6UHW.js.map +0 -1
- package/dist/wallet-PA54CRBL.js +0 -30
- package/skills/tenjin/SKILL.md +0 -199
- package/skills/tenjin-publish/SKILL.md +0 -96
- package/skills/tenjin-search/SKILL.md +0 -122
- /package/dist/{_esm-FEASBWRP.js.map → _esm-CE7KNONL.js.map} +0 -0
- /package/dist/{ccip-NQXCEK2U.js.map → ccip-7RMRLAGV.js.map} +0 -0
- /package/dist/{ccip-XR5NE5QK.js.map → ccip-NLCSCHKI.js.map} +0 -0
- /package/dist/{chunk-ZMHYXMO6.js.map → chunk-5IEP5EGE.js.map} +0 -0
- /package/dist/{chunk-5CLSD5YN.js.map → chunk-BPMWXTFX.js.map} +0 -0
- /package/dist/{chunk-YALGASEU.js.map → chunk-EGELTSPU.js.map} +0 -0
- /package/dist/{chunk-CYOF7ROH.js.map → chunk-HPWO4O6S.js.map} +0 -0
- /package/dist/{chunk-QVX5MWJZ.js.map → chunk-JRGFKVAZ.js.map} +0 -0
- /package/dist/{chunk-HIVZG55D.js.map → chunk-KG3D7FIF.js.map} +0 -0
- /package/dist/{chunk-ZABPQJ3M.js.map → chunk-POUWHWID.js.map} +0 -0
- /package/dist/{chunk-RRN3YTK7.js.map → chunk-TTNESUPQ.js.map} +0 -0
- /package/dist/{chunk-HSDCI7OV.js.map → chunk-XZKD7DIF.js.map} +0 -0
- /package/dist/{config-2VSXWWHK.js.map → config-MSN6H4MD.js.map} +0 -0
- /package/dist/{doctor-JJPNIBYH.js.map → ethersCompat-Df4a6QIZ-THAVUGIJ.js.map} +0 -0
- /package/dist/{ethersCompat-Df4a6QIZ-3YZIAXDK.js.map → install-OSJRM2ME.js.map} +0 -0
- /package/dist/{secp256k1-N3ZHU7LB.js.map → install-identity-YIWKQOUD.js.map} +0 -0
- /package/dist/{usdc-JIAJW4SV.js.map → paths-MUXHUOCM.js.map} +0 -0
- /package/dist/{viemAdapter-By13KInL-ZZE6UV4Y.js.map → pay-MUV2U232.js.map} +0 -0
- /package/dist/{wallet-PA54CRBL.js.map → redact-6W23GGJC.js.map} +0 -0
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { createRequire as __tenjinCreateRequire } from 'node:module'; const require = __tenjinCreateRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
CliError,
|
|
4
|
+
HARNESSES
|
|
5
|
+
} from "./chunk-JLEF5WHM.js";
|
|
6
|
+
import {
|
|
7
|
+
configPath
|
|
8
|
+
} from "./chunk-K6AXXYCG.js";
|
|
2
9
|
import {
|
|
3
10
|
__export
|
|
4
11
|
} from "./chunk-ZXTAQYNA.js";
|
|
@@ -509,7 +516,7 @@ __export(core_exports2, {
|
|
|
509
516
|
parse: () => parse,
|
|
510
517
|
parseAsync: () => parseAsync,
|
|
511
518
|
prettifyError: () => prettifyError,
|
|
512
|
-
process: () =>
|
|
519
|
+
process: () => process,
|
|
513
520
|
regexes: () => regexes_exports,
|
|
514
521
|
registry: () => registry,
|
|
515
522
|
safeDecode: () => safeDecode,
|
|
@@ -11434,7 +11441,7 @@ function initializeContext(params) {
|
|
|
11434
11441
|
external: params?.external ?? void 0
|
|
11435
11442
|
};
|
|
11436
11443
|
}
|
|
11437
|
-
function
|
|
11444
|
+
function process(schema, ctx, _params = { path: [], schemaPath: [] }) {
|
|
11438
11445
|
var _a3;
|
|
11439
11446
|
const def = schema._zod.def;
|
|
11440
11447
|
const seen = ctx.seen.get(schema);
|
|
@@ -11471,7 +11478,7 @@ function process2(schema, ctx, _params = { path: [], schemaPath: [] }) {
|
|
|
11471
11478
|
if (parent) {
|
|
11472
11479
|
if (!result.ref)
|
|
11473
11480
|
result.ref = parent;
|
|
11474
|
-
|
|
11481
|
+
process(parent, ctx, params);
|
|
11475
11482
|
ctx.seen.get(parent).isParent = true;
|
|
11476
11483
|
}
|
|
11477
11484
|
}
|
|
@@ -11759,14 +11766,14 @@ function isTransforming(_schema, _ctx) {
|
|
|
11759
11766
|
}
|
|
11760
11767
|
var createToJSONSchemaMethod = (schema, processors = {}) => (params) => {
|
|
11761
11768
|
const ctx = initializeContext({ ...params, processors });
|
|
11762
|
-
|
|
11769
|
+
process(schema, ctx);
|
|
11763
11770
|
extractDefs(ctx, schema);
|
|
11764
11771
|
return finalize(ctx, schema);
|
|
11765
11772
|
};
|
|
11766
11773
|
var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) => {
|
|
11767
11774
|
const { libraryOptions, target } = params ?? {};
|
|
11768
11775
|
const ctx = initializeContext({ ...libraryOptions ?? {}, target, io, processors });
|
|
11769
|
-
|
|
11776
|
+
process(schema, ctx);
|
|
11770
11777
|
extractDefs(ctx, schema);
|
|
11771
11778
|
return finalize(ctx, schema);
|
|
11772
11779
|
};
|
|
@@ -12012,7 +12019,7 @@ var arrayProcessor = (schema, ctx, _json, params) => {
|
|
|
12012
12019
|
if (typeof maximum === "number")
|
|
12013
12020
|
json2.maxItems = maximum;
|
|
12014
12021
|
json2.type = "array";
|
|
12015
|
-
json2.items =
|
|
12022
|
+
json2.items = process(def.element, ctx, {
|
|
12016
12023
|
...params,
|
|
12017
12024
|
path: [...params.path, "items"]
|
|
12018
12025
|
});
|
|
@@ -12024,7 +12031,7 @@ var objectProcessor = (schema, ctx, _json, params) => {
|
|
|
12024
12031
|
json2.properties = {};
|
|
12025
12032
|
const shape = def.shape;
|
|
12026
12033
|
for (const key in shape) {
|
|
12027
|
-
json2.properties[key] =
|
|
12034
|
+
json2.properties[key] = process(shape[key], ctx, {
|
|
12028
12035
|
...params,
|
|
12029
12036
|
path: [...params.path, "properties", key]
|
|
12030
12037
|
});
|
|
@@ -12047,7 +12054,7 @@ var objectProcessor = (schema, ctx, _json, params) => {
|
|
|
12047
12054
|
if (ctx.io === "output")
|
|
12048
12055
|
json2.additionalProperties = false;
|
|
12049
12056
|
} else if (def.catchall) {
|
|
12050
|
-
json2.additionalProperties =
|
|
12057
|
+
json2.additionalProperties = process(def.catchall, ctx, {
|
|
12051
12058
|
...params,
|
|
12052
12059
|
path: [...params.path, "additionalProperties"]
|
|
12053
12060
|
});
|
|
@@ -12056,7 +12063,7 @@ var objectProcessor = (schema, ctx, _json, params) => {
|
|
|
12056
12063
|
var unionProcessor = (schema, ctx, json2, params) => {
|
|
12057
12064
|
const def = schema._zod.def;
|
|
12058
12065
|
const isExclusive = def.inclusive === false;
|
|
12059
|
-
const options = def.options.map((x, i) =>
|
|
12066
|
+
const options = def.options.map((x, i) => process(x, ctx, {
|
|
12060
12067
|
...params,
|
|
12061
12068
|
path: [...params.path, isExclusive ? "oneOf" : "anyOf", i]
|
|
12062
12069
|
}));
|
|
@@ -12068,11 +12075,11 @@ var unionProcessor = (schema, ctx, json2, params) => {
|
|
|
12068
12075
|
};
|
|
12069
12076
|
var intersectionProcessor = (schema, ctx, json2, params) => {
|
|
12070
12077
|
const def = schema._zod.def;
|
|
12071
|
-
const a =
|
|
12078
|
+
const a = process(def.left, ctx, {
|
|
12072
12079
|
...params,
|
|
12073
12080
|
path: [...params.path, "allOf", 0]
|
|
12074
12081
|
});
|
|
12075
|
-
const b =
|
|
12082
|
+
const b = process(def.right, ctx, {
|
|
12076
12083
|
...params,
|
|
12077
12084
|
path: [...params.path, "allOf", 1]
|
|
12078
12085
|
});
|
|
@@ -12089,11 +12096,11 @@ var tupleProcessor = (schema, ctx, _json, params) => {
|
|
|
12089
12096
|
json2.type = "array";
|
|
12090
12097
|
const prefixPath = ctx.target === "draft-2020-12" ? "prefixItems" : "items";
|
|
12091
12098
|
const restPath = ctx.target === "draft-2020-12" ? "items" : ctx.target === "openapi-3.0" ? "items" : "additionalItems";
|
|
12092
|
-
const prefixItems = def.items.map((x, i) =>
|
|
12099
|
+
const prefixItems = def.items.map((x, i) => process(x, ctx, {
|
|
12093
12100
|
...params,
|
|
12094
12101
|
path: [...params.path, prefixPath, i]
|
|
12095
12102
|
}));
|
|
12096
|
-
const rest = def.rest ?
|
|
12103
|
+
const rest = def.rest ? process(def.rest, ctx, {
|
|
12097
12104
|
...params,
|
|
12098
12105
|
path: [...params.path, restPath, ...ctx.target === "openapi-3.0" ? [def.items.length] : []]
|
|
12099
12106
|
}) : null;
|
|
@@ -12133,7 +12140,7 @@ var recordProcessor = (schema, ctx, _json, params) => {
|
|
|
12133
12140
|
const keyBag = keyType._zod.bag;
|
|
12134
12141
|
const patterns = keyBag?.patterns;
|
|
12135
12142
|
if (def.mode === "loose" && patterns && patterns.size > 0) {
|
|
12136
|
-
const valueSchema =
|
|
12143
|
+
const valueSchema = process(def.valueType, ctx, {
|
|
12137
12144
|
...params,
|
|
12138
12145
|
path: [...params.path, "patternProperties", "*"]
|
|
12139
12146
|
});
|
|
@@ -12143,12 +12150,12 @@ var recordProcessor = (schema, ctx, _json, params) => {
|
|
|
12143
12150
|
}
|
|
12144
12151
|
} else {
|
|
12145
12152
|
if (ctx.target === "draft-07" || ctx.target === "draft-2020-12") {
|
|
12146
|
-
json2.propertyNames =
|
|
12153
|
+
json2.propertyNames = process(def.keyType, ctx, {
|
|
12147
12154
|
...params,
|
|
12148
12155
|
path: [...params.path, "propertyNames"]
|
|
12149
12156
|
});
|
|
12150
12157
|
}
|
|
12151
|
-
json2.additionalProperties =
|
|
12158
|
+
json2.additionalProperties = process(def.valueType, ctx, {
|
|
12152
12159
|
...params,
|
|
12153
12160
|
path: [...params.path, "additionalProperties"]
|
|
12154
12161
|
});
|
|
@@ -12163,7 +12170,7 @@ var recordProcessor = (schema, ctx, _json, params) => {
|
|
|
12163
12170
|
};
|
|
12164
12171
|
var nullableProcessor = (schema, ctx, json2, params) => {
|
|
12165
12172
|
const def = schema._zod.def;
|
|
12166
|
-
const inner =
|
|
12173
|
+
const inner = process(def.innerType, ctx, params);
|
|
12167
12174
|
const seen = ctx.seen.get(schema);
|
|
12168
12175
|
if (ctx.target === "openapi-3.0") {
|
|
12169
12176
|
seen.ref = def.innerType;
|
|
@@ -12174,20 +12181,20 @@ var nullableProcessor = (schema, ctx, json2, params) => {
|
|
|
12174
12181
|
};
|
|
12175
12182
|
var nonoptionalProcessor = (schema, ctx, _json, params) => {
|
|
12176
12183
|
const def = schema._zod.def;
|
|
12177
|
-
|
|
12184
|
+
process(def.innerType, ctx, params);
|
|
12178
12185
|
const seen = ctx.seen.get(schema);
|
|
12179
12186
|
seen.ref = def.innerType;
|
|
12180
12187
|
};
|
|
12181
12188
|
var defaultProcessor = (schema, ctx, json2, params) => {
|
|
12182
12189
|
const def = schema._zod.def;
|
|
12183
|
-
|
|
12190
|
+
process(def.innerType, ctx, params);
|
|
12184
12191
|
const seen = ctx.seen.get(schema);
|
|
12185
12192
|
seen.ref = def.innerType;
|
|
12186
12193
|
json2.default = JSON.parse(JSON.stringify(def.defaultValue));
|
|
12187
12194
|
};
|
|
12188
12195
|
var prefaultProcessor = (schema, ctx, json2, params) => {
|
|
12189
12196
|
const def = schema._zod.def;
|
|
12190
|
-
|
|
12197
|
+
process(def.innerType, ctx, params);
|
|
12191
12198
|
const seen = ctx.seen.get(schema);
|
|
12192
12199
|
seen.ref = def.innerType;
|
|
12193
12200
|
if (ctx.io === "input")
|
|
@@ -12195,7 +12202,7 @@ var prefaultProcessor = (schema, ctx, json2, params) => {
|
|
|
12195
12202
|
};
|
|
12196
12203
|
var catchProcessor = (schema, ctx, json2, params) => {
|
|
12197
12204
|
const def = schema._zod.def;
|
|
12198
|
-
|
|
12205
|
+
process(def.innerType, ctx, params);
|
|
12199
12206
|
const seen = ctx.seen.get(schema);
|
|
12200
12207
|
seen.ref = def.innerType;
|
|
12201
12208
|
let catchValue;
|
|
@@ -12210,32 +12217,32 @@ var pipeProcessor = (schema, ctx, _json, params) => {
|
|
|
12210
12217
|
const def = schema._zod.def;
|
|
12211
12218
|
const inIsTransform = def.in._zod.traits.has("$ZodTransform");
|
|
12212
12219
|
const innerType = ctx.io === "input" ? inIsTransform ? def.out : def.in : def.out;
|
|
12213
|
-
|
|
12220
|
+
process(innerType, ctx, params);
|
|
12214
12221
|
const seen = ctx.seen.get(schema);
|
|
12215
12222
|
seen.ref = innerType;
|
|
12216
12223
|
};
|
|
12217
12224
|
var readonlyProcessor = (schema, ctx, json2, params) => {
|
|
12218
12225
|
const def = schema._zod.def;
|
|
12219
|
-
|
|
12226
|
+
process(def.innerType, ctx, params);
|
|
12220
12227
|
const seen = ctx.seen.get(schema);
|
|
12221
12228
|
seen.ref = def.innerType;
|
|
12222
12229
|
json2.readOnly = true;
|
|
12223
12230
|
};
|
|
12224
12231
|
var promiseProcessor = (schema, ctx, _json, params) => {
|
|
12225
12232
|
const def = schema._zod.def;
|
|
12226
|
-
|
|
12233
|
+
process(def.innerType, ctx, params);
|
|
12227
12234
|
const seen = ctx.seen.get(schema);
|
|
12228
12235
|
seen.ref = def.innerType;
|
|
12229
12236
|
};
|
|
12230
12237
|
var optionalProcessor = (schema, ctx, _json, params) => {
|
|
12231
12238
|
const def = schema._zod.def;
|
|
12232
|
-
|
|
12239
|
+
process(def.innerType, ctx, params);
|
|
12233
12240
|
const seen = ctx.seen.get(schema);
|
|
12234
12241
|
seen.ref = def.innerType;
|
|
12235
12242
|
};
|
|
12236
12243
|
var lazyProcessor = (schema, ctx, _json, params) => {
|
|
12237
12244
|
const innerType = schema._zod.innerType;
|
|
12238
|
-
|
|
12245
|
+
process(innerType, ctx, params);
|
|
12239
12246
|
const seen = ctx.seen.get(schema);
|
|
12240
12247
|
seen.ref = innerType;
|
|
12241
12248
|
};
|
|
@@ -12287,7 +12294,7 @@ function toJSONSchema(input, params) {
|
|
|
12287
12294
|
const defs = {};
|
|
12288
12295
|
for (const entry of registry2._idmap.entries()) {
|
|
12289
12296
|
const [_, schema] = entry;
|
|
12290
|
-
|
|
12297
|
+
process(schema, ctx2);
|
|
12291
12298
|
}
|
|
12292
12299
|
const schemas = {};
|
|
12293
12300
|
const external = {
|
|
@@ -12310,7 +12317,7 @@ function toJSONSchema(input, params) {
|
|
|
12310
12317
|
return { schemas };
|
|
12311
12318
|
}
|
|
12312
12319
|
const ctx = initializeContext({ ...params, processors: allProcessors });
|
|
12313
|
-
|
|
12320
|
+
process(input, ctx);
|
|
12314
12321
|
extractDefs(ctx, input);
|
|
12315
12322
|
return finalize(ctx, input);
|
|
12316
12323
|
}
|
|
@@ -12368,7 +12375,7 @@ var JSONSchemaGenerator = class {
|
|
|
12368
12375
|
* This must be called before emit().
|
|
12369
12376
|
*/
|
|
12370
12377
|
process(schema, _params = { path: [], schemaPath: [] }) {
|
|
12371
|
-
return
|
|
12378
|
+
return process(schema, this.ctx, _params);
|
|
12372
12379
|
}
|
|
12373
12380
|
/**
|
|
12374
12381
|
* Emit the final JSON Schema after processing.
|
|
@@ -14517,80 +14524,581 @@ function date4(params) {
|
|
|
14517
14524
|
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/external.js
|
|
14518
14525
|
config(en_default());
|
|
14519
14526
|
|
|
14520
|
-
// src/lib/
|
|
14521
|
-
var
|
|
14522
|
-
|
|
14523
|
-
|
|
14524
|
-
|
|
14525
|
-
|
|
14526
|
-
|
|
14527
|
-
|
|
14528
|
-
|
|
14529
|
-
|
|
14530
|
-
|
|
14531
|
-
|
|
14532
|
-
|
|
14533
|
-
|
|
14534
|
-
INTERNAL: 1,
|
|
14535
|
-
NOT_IMPLEMENTED: 1,
|
|
14536
|
-
POLICY_REFUSED: 3,
|
|
14537
|
-
PAYMENT_FAILED: 4,
|
|
14538
|
-
RESOURCE_NOT_FOUND: 1,
|
|
14539
|
-
LOOKUP_NOT_FOUND: 1,
|
|
14540
|
-
RATE_LIMITED: 1,
|
|
14541
|
-
// A publish awaiting confirmation or hard-blocked is understood-but-refused (3),
|
|
14542
|
-
// the same posture as POLICY_REFUSED; a write that failed after approval is a
|
|
14543
|
-
// settlement-class failure (4), like PAYMENT_FAILED.
|
|
14544
|
-
NEEDS_CONFIRMATION: 3,
|
|
14545
|
-
PUBLISH_BLOCKED: 3,
|
|
14546
|
-
PUBLISH_FAILED: 4
|
|
14547
|
-
};
|
|
14548
|
-
function exitCodeFor(code) {
|
|
14549
|
-
return EXIT_BY_CODE[code];
|
|
14550
|
-
}
|
|
14551
|
-
var CliError = class extends Error {
|
|
14552
|
-
code;
|
|
14553
|
-
exitCode;
|
|
14554
|
-
fix;
|
|
14555
|
-
details;
|
|
14556
|
-
constructor(code, message, opts = {}) {
|
|
14557
|
-
super(message, opts.cause !== void 0 ? { cause: opts.cause } : void 0);
|
|
14558
|
-
this.name = "CliError";
|
|
14559
|
-
this.code = code;
|
|
14560
|
-
this.exitCode = opts.exitCode ?? exitCodeFor(code);
|
|
14561
|
-
this.fix = opts.fix;
|
|
14562
|
-
this.details = opts.details;
|
|
14563
|
-
}
|
|
14564
|
-
};
|
|
14527
|
+
// src/lib/production-origin.ts
|
|
14528
|
+
var PRODUCTION_ORIGIN = "https://tenjin.blog";
|
|
14529
|
+
var PRODUCTION_HOST = new URL(PRODUCTION_ORIGIN).host;
|
|
14530
|
+
var KNOWN_DEPLOYMENT_ORIGINS = /* @__PURE__ */ new Set([
|
|
14531
|
+
PRODUCTION_ORIGIN,
|
|
14532
|
+
"https://tenjin.sh"
|
|
14533
|
+
]);
|
|
14534
|
+
function isSameDeployment(a, b) {
|
|
14535
|
+
if (a === b) return true;
|
|
14536
|
+
return KNOWN_DEPLOYMENT_ORIGINS.has(a) && KNOWN_DEPLOYMENT_ORIGINS.has(b);
|
|
14537
|
+
}
|
|
14538
|
+
function knownDeploymentOrigins() {
|
|
14539
|
+
return [...KNOWN_DEPLOYMENT_ORIGINS];
|
|
14540
|
+
}
|
|
14565
14541
|
|
|
14566
|
-
// src/lib/
|
|
14567
|
-
import {
|
|
14568
|
-
|
|
14569
|
-
|
|
14570
|
-
|
|
14571
|
-
|
|
14572
|
-
|
|
14542
|
+
// src/lib/config.ts
|
|
14543
|
+
import { readFile } from "node:fs/promises";
|
|
14544
|
+
var atomicString = external_exports.string().regex(/^\d+$/, "expected an atomic USDC integer string");
|
|
14545
|
+
var PublishModeSchema = external_exports.enum(["review", "auto", "full-auto"]);
|
|
14546
|
+
var AckServerWarningsSchema = external_exports.enum(["mode", "on", "off"]);
|
|
14547
|
+
function parseAckServerWarnings(value, keyName) {
|
|
14548
|
+
const parsed = AckServerWarningsSchema.safeParse(value);
|
|
14549
|
+
if (parsed.success) return parsed.data;
|
|
14550
|
+
throw new CliError("USAGE", `Invalid ${keyName} ${JSON.stringify(value)}`, {
|
|
14551
|
+
fix: 'Use "mode", "on", or "off".'
|
|
14552
|
+
});
|
|
14553
|
+
}
|
|
14554
|
+
var PublishConfigSchema = external_exports.object({
|
|
14555
|
+
mode: PublishModeSchema,
|
|
14556
|
+
defaultPrice: atomicString,
|
|
14557
|
+
ackServerWarnings: AckServerWarningsSchema
|
|
14558
|
+
});
|
|
14559
|
+
var HOOK_ARMS = [
|
|
14560
|
+
"prompt",
|
|
14561
|
+
"web-search",
|
|
14562
|
+
"web-fetch",
|
|
14563
|
+
"subagent",
|
|
14564
|
+
"failure",
|
|
14565
|
+
"publish",
|
|
14566
|
+
"primer"
|
|
14567
|
+
];
|
|
14568
|
+
var HooksConfigSchema = external_exports.object({
|
|
14569
|
+
prompt: external_exports.boolean(),
|
|
14570
|
+
"web-search": external_exports.boolean(),
|
|
14571
|
+
"web-fetch": external_exports.boolean(),
|
|
14572
|
+
subagent: external_exports.boolean(),
|
|
14573
|
+
failure: external_exports.boolean(),
|
|
14574
|
+
publish: external_exports.boolean(),
|
|
14575
|
+
primer: external_exports.boolean()
|
|
14576
|
+
});
|
|
14577
|
+
var ROUTER_CONTEXTS = ["session", "turn"];
|
|
14578
|
+
var RouterLayerSchema = external_exports.object({
|
|
14579
|
+
enabled: external_exports.boolean().optional(),
|
|
14580
|
+
context: external_exports.enum(ROUTER_CONTEXTS).optional()
|
|
14581
|
+
});
|
|
14582
|
+
var RouterConfigSchema = RouterLayerSchema.required();
|
|
14583
|
+
function parseRouterLayer(json2, path) {
|
|
14584
|
+
if (json2 === null || typeof json2 !== "object" || Array.isArray(json2)) {
|
|
14585
|
+
throw new CliError("CONFIG_INVALID", `Config at ${path} is not a JSON object`, {
|
|
14586
|
+
fix: `Fix ${path}, or delete it.`
|
|
14587
|
+
});
|
|
14588
|
+
}
|
|
14589
|
+
const parsed = RouterLayerSchema.safeParse(json2.router ?? {});
|
|
14590
|
+
if (!parsed.success) {
|
|
14591
|
+
throw new CliError("CONFIG_INVALID", `Config at ${path} has an invalid router block`, {
|
|
14592
|
+
fix: `Use router.enabled true|false and router.context "session"|"turn" in ${path}, or delete it.`,
|
|
14593
|
+
details: parsed.error.issues
|
|
14594
|
+
});
|
|
14595
|
+
}
|
|
14596
|
+
const { enabled, context } = parsed.data;
|
|
14597
|
+
return {
|
|
14598
|
+
...enabled !== void 0 ? { enabled } : {},
|
|
14599
|
+
...context !== void 0 ? { context } : {}
|
|
14600
|
+
};
|
|
14601
|
+
}
|
|
14602
|
+
var UpdateModeSchema = external_exports.enum(["nudge", "off"]);
|
|
14603
|
+
var positiveInt = external_exports.number().int().positive();
|
|
14604
|
+
var LoopConfigSchema = external_exports.object({
|
|
14605
|
+
human_wait_ms: positiveInt,
|
|
14606
|
+
tool_wait_ms: positiveInt,
|
|
14607
|
+
idle_exit_min: positiveInt,
|
|
14608
|
+
port: external_exports.number().int().min(0).max(65535).nullable()
|
|
14609
|
+
});
|
|
14610
|
+
var PublicFallbackSchema = external_exports.enum(["on", "off"]);
|
|
14611
|
+
var TeamConfigSchema = external_exports.object({ publicFallback: PublicFallbackSchema });
|
|
14612
|
+
var ExperimentalConfigSchema = external_exports.object({ bazaar: PublicFallbackSchema });
|
|
14613
|
+
function parsePublicFallbackFlag(value, keyName) {
|
|
14614
|
+
const parsed = PublicFallbackSchema.safeParse(value);
|
|
14615
|
+
if (parsed.success) return parsed.data;
|
|
14616
|
+
throw new CliError("USAGE", `Invalid ${keyName}: ${JSON.stringify(value)}`, {
|
|
14617
|
+
fix: 'Use "on" or "off".'
|
|
14618
|
+
});
|
|
14619
|
+
}
|
|
14620
|
+
function parseLoopValue(key, value) {
|
|
14621
|
+
const field = key.slice("loop.".length);
|
|
14622
|
+
if (field === "port" && (value === "null" || value === "auto")) return null;
|
|
14623
|
+
const n = /^\d+$/.test(value.trim()) ? Number(value.trim()) : NaN;
|
|
14624
|
+
const parsed = LoopConfigSchema.shape[field].safeParse(n);
|
|
14625
|
+
if (parsed.success) return parsed.data;
|
|
14626
|
+
throw new CliError("USAGE", `Invalid ${key}: ${JSON.stringify(value)}`, {
|
|
14627
|
+
fix: field === "port" ? 'Use an integer from 0 to 65535, or "null" to derive one from the data dir.' : "Use a positive integer."
|
|
14628
|
+
});
|
|
14629
|
+
}
|
|
14630
|
+
var UpdateConfigSchema = external_exports.object({
|
|
14631
|
+
mode: UpdateModeSchema
|
|
14632
|
+
});
|
|
14633
|
+
function parseUpdateModeFlag(value, flagName) {
|
|
14634
|
+
const parsed = UpdateModeSchema.safeParse(value);
|
|
14635
|
+
if (parsed.success) return parsed.data;
|
|
14636
|
+
throw new CliError("USAGE", `Invalid ${flagName} ${JSON.stringify(value)}`, {
|
|
14637
|
+
fix: 'Use "nudge" or "off".'
|
|
14638
|
+
});
|
|
14639
|
+
}
|
|
14640
|
+
var InstallConfigSchema = external_exports.object({
|
|
14641
|
+
harness: external_exports.array(external_exports.enum(HARNESSES)),
|
|
14642
|
+
/**
|
|
14643
|
+
* The EXACT rule strings still pending the last time an install explicitly
|
|
14644
|
+
* declined the free-verb allowlist (`--no-grant`), so `--refresh`
|
|
14645
|
+
* can subtract them from what it would
|
|
14646
|
+
* otherwise report as pending instead of recomputing from the settings file
|
|
14647
|
+
* and nagging about a settled "no" on every refresh (tenjin-agent#234).
|
|
14648
|
+
*
|
|
14649
|
+
* A LIST, NOT A FLAG, on purpose: a boolean has no way to say "these were
|
|
14650
|
+
* declined" without also silencing every rule a LATER version might add, so a
|
|
14651
|
+
* genuinely new suggestion would never be reported again either. Per-rule
|
|
14652
|
+
* suppression means only the rules that were actually offered and refused
|
|
14653
|
+
* stay quiet; a new one still surfaces.
|
|
14654
|
+
*
|
|
14655
|
+
* Cleared back to `[]` the next time an install actually wires the allowlist,
|
|
14656
|
+
* or finds it already fully satisfied, so a later legitimate grant (manual or
|
|
14657
|
+
* otherwise) is never shadowed by a stale decline.
|
|
14658
|
+
*/
|
|
14659
|
+
grantDeclined: external_exports.array(external_exports.string()),
|
|
14660
|
+
/**
|
|
14661
|
+
* Absolute directories a `tenjin install --project` wired, so `tenjin update`
|
|
14662
|
+
* can refresh them. It spawns `install --refresh` from the HOME directory,
|
|
14663
|
+
* which is the one place a project install can never be found by looking
|
|
14664
|
+
* around: without this list a project-only machine refreshed nothing and
|
|
14665
|
+
* reported success while its hooks stayed on the old build.
|
|
14666
|
+
*
|
|
14667
|
+
* A LIST, because one machine can wire several projects, and entries are
|
|
14668
|
+
* dropped by `tenjin uninstall --project` and by any refresh that finds the
|
|
14669
|
+
* project's settings file no longer carries our entries.
|
|
14670
|
+
*/
|
|
14671
|
+
routerProjects: external_exports.array(external_exports.string())
|
|
14672
|
+
});
|
|
14673
|
+
var STORED_INSTALL_HARNESSES = [...HARNESSES, "shared"];
|
|
14674
|
+
function resolveInstallHarness(value) {
|
|
14675
|
+
const normalized = new Set(value?.map((harness) => harness === "shared" ? "codex" : harness));
|
|
14676
|
+
return HARNESSES.filter((harness) => normalized.has(harness));
|
|
14677
|
+
}
|
|
14678
|
+
var RawInstallHarnessSchema = external_exports.array(external_exports.enum(STORED_INSTALL_HARNESSES)).transform(resolveInstallHarness);
|
|
14679
|
+
var ConfigSchema = external_exports.object({
|
|
14680
|
+
maxAutoSpend: atomicString,
|
|
14681
|
+
sessionBudget: external_exports.union([atomicString, external_exports.literal("none")]),
|
|
14682
|
+
/**
|
|
14683
|
+
* Hard per-send cap for `tenjin wallet send`, NOT satisfiable by --yes or a prompt
|
|
14684
|
+
* (the spend-policy posture): an atomic amount caps each send, "0" disables
|
|
14685
|
+
* the verb entirely, and "none" = explicitly uncapped (send exists to drain
|
|
14686
|
+
* the wallet, but uncapped is an opt-in, never a default). The key has NO
|
|
14687
|
+
* usable default: absent from config.json, `tenjin wallet send` refuses until it is
|
|
14688
|
+
* set (see resolveSendMaxAmount). Client-enforced like every spend key (see
|
|
14689
|
+
* the note above).
|
|
14690
|
+
*/
|
|
14691
|
+
sendMaxAmount: external_exports.union([external_exports.literal("none"), atomicString]),
|
|
14692
|
+
allowlistCreators: external_exports.array(external_exports.string()),
|
|
14693
|
+
baseUrl: external_exports.url(),
|
|
14694
|
+
/**
|
|
14695
|
+
* The PUBLIC marketplace, consume-only, and the second shelf a team-mode
|
|
14696
|
+
* lookup falls through to. Distinct from `baseUrl` because in team mode
|
|
14697
|
+
* `baseUrl` is the team's own deployment: `publish`, `read` and the first leg
|
|
14698
|
+
* of every search go there, and this is the shelf that still gets asked when
|
|
14699
|
+
* the team's own has nothing. In public mode the two are the same origin and
|
|
14700
|
+
* nothing falls through.
|
|
14701
|
+
*/
|
|
14702
|
+
publicShelfUrl: external_exports.url(),
|
|
14703
|
+
/**
|
|
14704
|
+
* The team shelf's Vercel "Protection Bypass for Automation" secret, and the
|
|
14705
|
+
* ONE key that decides which mode this CLI is in: empty (the default) is
|
|
14706
|
+
* public mode, byte-for-byte what it always did; non-empty is team mode.
|
|
14707
|
+
*
|
|
14708
|
+
* It is a DOOR KEY, not a credential of the operator's: it gets a request past
|
|
14709
|
+
* Deployment Protection on the team's preview deployment and authenticates
|
|
14710
|
+
* nobody. Stored in plain config.json alongside everything else for exactly
|
|
14711
|
+
* that reason — anything that can read this file can already read the wallet's
|
|
14712
|
+
* keystore path and rewrite `baseUrl`. It is redacted from `config get` and
|
|
14713
|
+
* `config list` all the same, because those outputs are pasted into issues.
|
|
14714
|
+
*
|
|
14715
|
+
* Sent ONLY to `baseUrl`'s origin; see lib/http.ts's `bypass` option, which
|
|
14716
|
+
* derives that from the request URL rather than from the caller's intent.
|
|
14717
|
+
*/
|
|
14718
|
+
shelfBypassSecret: external_exports.string(),
|
|
14719
|
+
rpcUrl: external_exports.url(),
|
|
14720
|
+
/**
|
|
14721
|
+
* Evaluation-cohort opt-in (spec 09 §3): when true, search sends
|
|
14722
|
+
* X-Tenjin-Eval-Cohort: 1 and the server stores the generalized question for
|
|
14723
|
+
* 90 days. Off by default; no query text is retained server-side without it.
|
|
14724
|
+
*/
|
|
14725
|
+
evalCohort: external_exports.boolean(),
|
|
14726
|
+
/** x402 discovery registries (facilitator base URLs) `discover` queries and
|
|
14727
|
+
* the Bazaar pay lane verifies against. */
|
|
14728
|
+
bazaarRegistries: external_exports.array(external_exports.url()),
|
|
14729
|
+
publish: PublishConfigSchema,
|
|
14730
|
+
install: InstallConfigSchema,
|
|
14731
|
+
hooks: HooksConfigSchema,
|
|
14732
|
+
update: UpdateConfigSchema,
|
|
14733
|
+
loop: LoopConfigSchema,
|
|
14734
|
+
team: TeamConfigSchema,
|
|
14735
|
+
router: RouterConfigSchema,
|
|
14736
|
+
experimental: ExperimentalConfigSchema
|
|
14737
|
+
});
|
|
14738
|
+
var RawInstallConfigSchema = InstallConfigSchema.partial().extend({
|
|
14739
|
+
harness: RawInstallHarnessSchema.optional(),
|
|
14740
|
+
grantDeclined: external_exports.array(external_exports.string()).optional()
|
|
14741
|
+
}).passthrough();
|
|
14742
|
+
var RawConfigSchema = ConfigSchema.partial().extend({
|
|
14743
|
+
publish: PublishConfigSchema.partial().passthrough().optional(),
|
|
14744
|
+
install: RawInstallConfigSchema.optional(),
|
|
14745
|
+
hooks: HooksConfigSchema.partial().passthrough().optional(),
|
|
14746
|
+
update: UpdateConfigSchema.partial().passthrough().optional(),
|
|
14747
|
+
loop: LoopConfigSchema.partial().passthrough().optional(),
|
|
14748
|
+
team: TeamConfigSchema.partial().passthrough().optional(),
|
|
14749
|
+
router: RouterLayerSchema.passthrough().optional(),
|
|
14750
|
+
experimental: ExperimentalConfigSchema.partial().passthrough().optional()
|
|
14751
|
+
}).passthrough();
|
|
14752
|
+
function resolveGrantDeclined(value) {
|
|
14753
|
+
return value ?? [];
|
|
14754
|
+
}
|
|
14755
|
+
var SEND_MAX_UNSET = "unset";
|
|
14756
|
+
var DEFAULT_BAZAAR_REGISTRIES = [
|
|
14757
|
+
"https://api.cdp.coinbase.com/platform/v2/x402",
|
|
14758
|
+
"https://facilitator.ultravioletadao.xyz",
|
|
14759
|
+
"https://facilitator.payai.network"
|
|
14760
|
+
];
|
|
14761
|
+
var CONFIG_DEFAULTS = {
|
|
14762
|
+
maxAutoSpend: "0",
|
|
14763
|
+
sessionBudget: "5000000",
|
|
14764
|
+
// A type placeholder only, never honored: Config requires every key (and
|
|
14765
|
+
// CONFIG_KEYS derives from these). resolveSendMaxAmount never reads it — an
|
|
14766
|
+
// absent key resolves to SEND_MAX_UNSET and `tenjin wallet send` refuses until the
|
|
14767
|
+
// cap is set. '0' (send disabled) rather than 'none' (uncapped) so that if a
|
|
14768
|
+
// future caller ever DOES read the cap through loadConfig/fileOrDefault, the
|
|
14769
|
+
// leak fails closed instead of silently running uncapped.
|
|
14770
|
+
sendMaxAmount: "0",
|
|
14771
|
+
allowlistCreators: [],
|
|
14772
|
+
baseUrl: PRODUCTION_ORIGIN,
|
|
14773
|
+
publicShelfUrl: PRODUCTION_ORIGIN,
|
|
14774
|
+
// Empty = public mode. Setting it is the whole of "turn on team mode".
|
|
14775
|
+
shelfBypassSecret: "",
|
|
14776
|
+
rpcUrl: "https://mainnet.base.org",
|
|
14777
|
+
evalCohort: false,
|
|
14778
|
+
bazaarRegistries: DEFAULT_BAZAAR_REGISTRIES,
|
|
14779
|
+
publish: { mode: "review", defaultPrice: "100000", ackServerWarnings: "mode" },
|
|
14780
|
+
install: { harness: [], grantDeclined: [], routerProjects: [] },
|
|
14781
|
+
// Every hook is on out of the box: a vanilla install turns the whole loop on,
|
|
14782
|
+
// and the disclosure and the undo ride the install output. `false` leaves the
|
|
14783
|
+
// registered entries inert without touching settings.json, so any of these is
|
|
14784
|
+
// one `config set` away in either direction.
|
|
14785
|
+
hooks: {
|
|
14786
|
+
prompt: true,
|
|
14787
|
+
"web-search": true,
|
|
14788
|
+
"web-fetch": true,
|
|
14789
|
+
subagent: true,
|
|
14790
|
+
failure: true,
|
|
14791
|
+
publish: true,
|
|
14792
|
+
primer: true
|
|
14793
|
+
},
|
|
14794
|
+
update: { mode: "nudge" },
|
|
14795
|
+
loop: {
|
|
14796
|
+
human_wait_ms: 2500,
|
|
14797
|
+
tool_wait_ms: 4e3,
|
|
14798
|
+
idle_exit_min: 30,
|
|
14799
|
+
port: null
|
|
14800
|
+
},
|
|
14801
|
+
team: { publicFallback: "on" },
|
|
14802
|
+
router: { enabled: true, context: "session" },
|
|
14803
|
+
experimental: { bazaar: "off" }
|
|
14804
|
+
};
|
|
14805
|
+
var NESTED_CONFIG_KEYS = /* @__PURE__ */ new Set([
|
|
14806
|
+
"publish",
|
|
14807
|
+
"install",
|
|
14808
|
+
"hooks",
|
|
14809
|
+
"update",
|
|
14810
|
+
"loop",
|
|
14811
|
+
"team",
|
|
14812
|
+
"router",
|
|
14813
|
+
"experimental"
|
|
14814
|
+
]);
|
|
14815
|
+
var CONFIG_KEYS = Object.keys(CONFIG_DEFAULTS).filter(
|
|
14816
|
+
(key) => !NESTED_CONFIG_KEYS.has(key)
|
|
14817
|
+
);
|
|
14818
|
+
var PUBLISH_CONFIG_KEYS = [
|
|
14819
|
+
"publish.mode",
|
|
14820
|
+
"publish.defaultPrice",
|
|
14821
|
+
"publish.ackServerWarnings"
|
|
14822
|
+
];
|
|
14823
|
+
var HOOKS_CONFIG_KEYS = HOOK_ARMS.map(
|
|
14824
|
+
(arm) => `hooks.${arm}`
|
|
14825
|
+
);
|
|
14826
|
+
var UPDATE_CONFIG_KEYS = ["update.mode"];
|
|
14827
|
+
var LOOP_CONFIG_KEYS = [
|
|
14828
|
+
"loop.human_wait_ms",
|
|
14829
|
+
"loop.tool_wait_ms",
|
|
14830
|
+
"loop.idle_exit_min",
|
|
14831
|
+
"loop.port"
|
|
14832
|
+
];
|
|
14833
|
+
var TEAM_CONFIG_KEYS = ["team.publicFallback"];
|
|
14834
|
+
var EXPERIMENTAL_CONFIG_KEYS = ["experimental.bazaar"];
|
|
14835
|
+
var ROUTER_CONFIG_KEYS = ["router.enabled", "router.context"];
|
|
14836
|
+
var RETIRED_PAYMENT_KEYS = ["bazaarPay", "confirm"];
|
|
14837
|
+
var RETIRED_PAYMENT_GUIDANCE = "Retired payment settings no longer control payments. Use router.enabled, maxAutoSpend and sessionBudget for automatic routing; manual pay always requires consent. Run tenjin install to remove retired keys.";
|
|
14838
|
+
function retiredPaymentKeys(raw) {
|
|
14839
|
+
return RETIRED_PAYMENT_KEYS.filter((key) => Object.hasOwn(raw, key));
|
|
14840
|
+
}
|
|
14841
|
+
async function loadRawConfig(dir) {
|
|
14842
|
+
const path = configPath(dir);
|
|
14843
|
+
let raw;
|
|
14844
|
+
try {
|
|
14845
|
+
raw = await readFile(path, "utf8");
|
|
14846
|
+
} catch (err) {
|
|
14847
|
+
if (isNotFound(err)) return {};
|
|
14848
|
+
throw new CliError("CONFIG_INVALID", `Could not read config at ${path}`, {
|
|
14849
|
+
fix: `Check file permissions on ${path}.`,
|
|
14850
|
+
cause: err
|
|
14851
|
+
});
|
|
14852
|
+
}
|
|
14853
|
+
let json2;
|
|
14854
|
+
try {
|
|
14855
|
+
json2 = JSON.parse(raw);
|
|
14856
|
+
} catch (err) {
|
|
14857
|
+
throw new CliError("CONFIG_INVALID", `Config at ${path} is not valid JSON`, {
|
|
14858
|
+
fix: `Fix the JSON syntax in ${path}, or delete it to restore defaults.`,
|
|
14859
|
+
cause: err
|
|
14860
|
+
});
|
|
14861
|
+
}
|
|
14862
|
+
const parsed = RawConfigSchema.safeParse(json2);
|
|
14863
|
+
if (!parsed.success) {
|
|
14864
|
+
throw new CliError("CONFIG_INVALID", `Config at ${path} is invalid`, {
|
|
14865
|
+
fix: `Correct the reported keys in ${path}, or delete it to restore defaults.`,
|
|
14866
|
+
details: parsed.error.issues
|
|
14867
|
+
});
|
|
14868
|
+
}
|
|
14869
|
+
return parsed.data;
|
|
14573
14870
|
}
|
|
14574
|
-
function
|
|
14575
|
-
|
|
14871
|
+
async function loadConfig(dir) {
|
|
14872
|
+
const raw = { ...await loadRawConfig(dir) };
|
|
14873
|
+
for (const key of retiredPaymentKeys(raw)) delete raw[key];
|
|
14874
|
+
return {
|
|
14875
|
+
...CONFIG_DEFAULTS,
|
|
14876
|
+
...raw,
|
|
14877
|
+
publish: {
|
|
14878
|
+
mode: raw.publish?.mode ?? CONFIG_DEFAULTS.publish.mode,
|
|
14879
|
+
defaultPrice: raw.publish?.defaultPrice ?? CONFIG_DEFAULTS.publish.defaultPrice,
|
|
14880
|
+
ackServerWarnings: raw.publish?.ackServerWarnings ?? CONFIG_DEFAULTS.publish.ackServerWarnings
|
|
14881
|
+
},
|
|
14882
|
+
install: {
|
|
14883
|
+
harness: raw.install?.harness ?? CONFIG_DEFAULTS.install.harness,
|
|
14884
|
+
routerProjects: raw.install?.routerProjects ?? CONFIG_DEFAULTS.install.routerProjects,
|
|
14885
|
+
grantDeclined: resolveGrantDeclined(raw.install?.grantDeclined)
|
|
14886
|
+
},
|
|
14887
|
+
hooks: resolveHooksConfig(raw),
|
|
14888
|
+
update: { mode: raw.update?.mode ?? CONFIG_DEFAULTS.update.mode },
|
|
14889
|
+
loop: resolveLoopConfig(raw),
|
|
14890
|
+
team: { publicFallback: raw.team?.publicFallback ?? CONFIG_DEFAULTS.team.publicFallback },
|
|
14891
|
+
router: {
|
|
14892
|
+
enabled: raw.router?.enabled ?? CONFIG_DEFAULTS.router.enabled,
|
|
14893
|
+
context: raw.router?.context ?? CONFIG_DEFAULTS.router.context
|
|
14894
|
+
},
|
|
14895
|
+
experimental: {
|
|
14896
|
+
bazaar: raw.experimental?.bazaar ?? CONFIG_DEFAULTS.experimental.bazaar
|
|
14897
|
+
}
|
|
14898
|
+
};
|
|
14576
14899
|
}
|
|
14577
|
-
function
|
|
14578
|
-
|
|
14900
|
+
function resolveLoopConfig(raw) {
|
|
14901
|
+
const file2 = raw.loop ?? {};
|
|
14902
|
+
return {
|
|
14903
|
+
human_wait_ms: file2.human_wait_ms ?? CONFIG_DEFAULTS.loop.human_wait_ms,
|
|
14904
|
+
tool_wait_ms: file2.tool_wait_ms ?? CONFIG_DEFAULTS.loop.tool_wait_ms,
|
|
14905
|
+
idle_exit_min: file2.idle_exit_min ?? CONFIG_DEFAULTS.loop.idle_exit_min,
|
|
14906
|
+
port: file2.port === void 0 ? CONFIG_DEFAULTS.loop.port : file2.port
|
|
14907
|
+
};
|
|
14579
14908
|
}
|
|
14580
|
-
function
|
|
14581
|
-
|
|
14909
|
+
function resolveSettings(input) {
|
|
14910
|
+
const { config: config2, flags, env, project } = input;
|
|
14911
|
+
return {
|
|
14912
|
+
maxAutoSpend: fileOrDefault("maxAutoSpend", config2),
|
|
14913
|
+
sessionBudget: fileOrDefault("sessionBudget", config2),
|
|
14914
|
+
sendMaxAmount: resolveSendMaxAmount(config2),
|
|
14915
|
+
allowlistCreators: fileOrDefault("allowlistCreators", config2),
|
|
14916
|
+
baseUrl: resolveBaseUrl(config2, flags, env),
|
|
14917
|
+
publicShelfUrl: fileOrDefault("publicShelfUrl", config2),
|
|
14918
|
+
shelfBypassSecret: fileOrDefault("shelfBypassSecret", config2),
|
|
14919
|
+
rpcUrl: fileOrDefault("rpcUrl", config2),
|
|
14920
|
+
evalCohort: fileOrDefault("evalCohort", config2),
|
|
14921
|
+
bazaarRegistries: fileOrDefault("bazaarRegistries", config2),
|
|
14922
|
+
publishMode: resolvePublishMode({ config: config2, project, env }),
|
|
14923
|
+
publishDefaultPrice: resolvePublishDefaultPrice({ config: config2, project }),
|
|
14924
|
+
publishAckServerWarnings: resolveAckServerWarnings(config2),
|
|
14925
|
+
hooks: resolveHookSettings(config2),
|
|
14926
|
+
updateMode: resolveUpdateMode(config2),
|
|
14927
|
+
loop: resolveLoopSettings(config2),
|
|
14928
|
+
teamPublicFallback: resolveTeamPublicFallback(config2),
|
|
14929
|
+
experimentalBazaar: resolveExperimentalBazaar(config2)
|
|
14930
|
+
};
|
|
14931
|
+
}
|
|
14932
|
+
function resolveLoopSettings(config2) {
|
|
14933
|
+
const file2 = config2.loop ?? {};
|
|
14934
|
+
const one = (key) => {
|
|
14935
|
+
const fromFile = file2[key];
|
|
14936
|
+
if (fromFile !== void 0) return { value: fromFile, source: "file" };
|
|
14937
|
+
return { value: CONFIG_DEFAULTS.loop[key], source: "default" };
|
|
14938
|
+
};
|
|
14939
|
+
return {
|
|
14940
|
+
human_wait_ms: one("human_wait_ms"),
|
|
14941
|
+
tool_wait_ms: one("tool_wait_ms"),
|
|
14942
|
+
idle_exit_min: one("idle_exit_min"),
|
|
14943
|
+
port: one("port")
|
|
14944
|
+
};
|
|
14945
|
+
}
|
|
14946
|
+
function resolveExperimentalBazaar(config2) {
|
|
14947
|
+
const fromFile = config2.experimental?.bazaar;
|
|
14948
|
+
if (fromFile !== void 0) return { value: fromFile, source: "file" };
|
|
14949
|
+
return { value: CONFIG_DEFAULTS.experimental.bazaar, source: "default" };
|
|
14950
|
+
}
|
|
14951
|
+
function resolveTeamPublicFallback(config2) {
|
|
14952
|
+
const fromFile = config2.team?.publicFallback;
|
|
14953
|
+
if (fromFile !== void 0) return { value: fromFile, source: "file" };
|
|
14954
|
+
return { value: CONFIG_DEFAULTS.team.publicFallback, source: "default" };
|
|
14955
|
+
}
|
|
14956
|
+
function resolveAckServerWarnings(config2) {
|
|
14957
|
+
const fromFile = config2.publish?.ackServerWarnings;
|
|
14958
|
+
if (fromFile !== void 0) return { value: fromFile, source: "file" };
|
|
14959
|
+
return { value: CONFIG_DEFAULTS.publish.ackServerWarnings, source: "default" };
|
|
14960
|
+
}
|
|
14961
|
+
function resolveUpdateMode(config2) {
|
|
14962
|
+
const fromFile = config2.update?.mode;
|
|
14963
|
+
if (fromFile !== void 0) return { value: fromFile, source: "file" };
|
|
14964
|
+
return { value: CONFIG_DEFAULTS.update.mode, source: "default" };
|
|
14965
|
+
}
|
|
14966
|
+
function resolveHook(config2, arm) {
|
|
14967
|
+
const fromFile = config2.hooks?.[arm];
|
|
14968
|
+
if (fromFile !== void 0) return { value: fromFile, source: "file" };
|
|
14969
|
+
return { value: CONFIG_DEFAULTS.hooks[arm], source: "default" };
|
|
14970
|
+
}
|
|
14971
|
+
function resolveHookSettings(config2) {
|
|
14972
|
+
return Object.fromEntries(
|
|
14973
|
+
HOOK_ARMS.map((arm) => [arm, resolveHook(config2, arm)])
|
|
14974
|
+
);
|
|
14975
|
+
}
|
|
14976
|
+
function resolveHooksConfig(raw) {
|
|
14977
|
+
return Object.fromEntries(
|
|
14978
|
+
HOOK_ARMS.map((arm) => [arm, raw.hooks?.[arm] ?? CONFIG_DEFAULTS.hooks[arm]])
|
|
14979
|
+
);
|
|
14980
|
+
}
|
|
14981
|
+
var FULL_AUTO_DOWNGRADE_WARNING = 'Ignoring publish.mode "full-auto" from a committed .tenjin.json (cloning a repo must not enable auto-publish); using "auto". Add .tenjin.json to .gitignore to opt in.';
|
|
14982
|
+
function coercePublishMode(raw) {
|
|
14983
|
+
if (raw === void 0 || raw.length === 0) return void 0;
|
|
14984
|
+
const parsed = PublishModeSchema.safeParse(raw);
|
|
14985
|
+
return parsed.success ? parsed.data : void 0;
|
|
14986
|
+
}
|
|
14987
|
+
function resolvePublishMode(input) {
|
|
14988
|
+
const { config: config2, project, env, flag } = input;
|
|
14989
|
+
let winner = { value: CONFIG_DEFAULTS.publish.mode, source: "default" };
|
|
14990
|
+
const fromFile = config2.publish?.mode;
|
|
14991
|
+
if (fromFile !== void 0) winner = { value: fromFile, source: "file" };
|
|
14992
|
+
if (project !== void 0 && project.publish?.mode !== void 0) {
|
|
14993
|
+
const fromProject = project.publish.mode;
|
|
14994
|
+
if (fromProject === "full-auto" && !project.gitignored) {
|
|
14995
|
+
winner = { value: "auto", source: "project", downgradedWarning: FULL_AUTO_DOWNGRADE_WARNING };
|
|
14996
|
+
} else {
|
|
14997
|
+
winner = { value: fromProject, source: "project" };
|
|
14998
|
+
}
|
|
14999
|
+
}
|
|
15000
|
+
const fromEnv = coercePublishMode(env.TENJIN_PUBLISH_MODE);
|
|
15001
|
+
if (fromEnv !== void 0) winner = { value: fromEnv, source: "env" };
|
|
15002
|
+
const fromFlag = coercePublishMode(flag);
|
|
15003
|
+
if (fromFlag !== void 0) winner = { value: fromFlag, source: "flag" };
|
|
15004
|
+
return winner;
|
|
15005
|
+
}
|
|
15006
|
+
function resolvePublishDefaultPrice(input) {
|
|
15007
|
+
const { config: config2, project } = input;
|
|
15008
|
+
let result = {
|
|
15009
|
+
value: CONFIG_DEFAULTS.publish.defaultPrice,
|
|
15010
|
+
source: "default"
|
|
15011
|
+
};
|
|
15012
|
+
if (config2.publish?.defaultPrice !== void 0) {
|
|
15013
|
+
result = { value: config2.publish.defaultPrice, source: "file" };
|
|
15014
|
+
}
|
|
15015
|
+
if (project?.publish?.defaultPrice !== void 0) {
|
|
15016
|
+
result = { value: project.publish.defaultPrice, source: "project" };
|
|
15017
|
+
}
|
|
15018
|
+
return result;
|
|
14582
15019
|
}
|
|
14583
|
-
function
|
|
14584
|
-
return
|
|
15020
|
+
function resolveSendMaxAmount(config2) {
|
|
15021
|
+
if (config2.sendMaxAmount !== void 0) return { value: config2.sendMaxAmount, source: "file" };
|
|
15022
|
+
return { value: SEND_MAX_UNSET, source: "default" };
|
|
15023
|
+
}
|
|
15024
|
+
function fileOrDefault(key, config2) {
|
|
15025
|
+
const fromFile = config2[key];
|
|
15026
|
+
if (fromFile !== void 0) return { value: fromFile, source: "file" };
|
|
15027
|
+
return { value: CONFIG_DEFAULTS[key], source: "default" };
|
|
15028
|
+
}
|
|
15029
|
+
function resolveBaseUrl(config2, flags, env) {
|
|
15030
|
+
if (flags.baseUrl !== void 0 && flags.baseUrl.length > 0) {
|
|
15031
|
+
return { value: flags.baseUrl, source: "flag" };
|
|
15032
|
+
}
|
|
15033
|
+
const fromEnv = env.TENJIN_BASE_URL;
|
|
15034
|
+
if (fromEnv !== void 0 && fromEnv.length > 0) {
|
|
15035
|
+
return { value: fromEnv, source: "env" };
|
|
15036
|
+
}
|
|
15037
|
+
if (config2.baseUrl !== void 0) return { value: config2.baseUrl, source: "file" };
|
|
15038
|
+
return { value: CONFIG_DEFAULTS.baseUrl, source: "default" };
|
|
15039
|
+
}
|
|
15040
|
+
function isNotFound(err) {
|
|
15041
|
+
return typeof err === "object" && err !== null && "code" in err && err.code === "ENOENT";
|
|
14585
15042
|
}
|
|
14586
15043
|
|
|
14587
15044
|
export {
|
|
15045
|
+
$constructor,
|
|
15046
|
+
defineLazy,
|
|
15047
|
+
clone,
|
|
15048
|
+
normalizeParams,
|
|
15049
|
+
parse,
|
|
15050
|
+
parseAsync,
|
|
15051
|
+
safeParse,
|
|
15052
|
+
safeParseAsync,
|
|
15053
|
+
$ZodType,
|
|
15054
|
+
$ZodObject,
|
|
15055
|
+
toJSONSchema,
|
|
15056
|
+
iso_exports,
|
|
15057
|
+
string2 as string,
|
|
15058
|
+
number2 as number,
|
|
15059
|
+
boolean2 as boolean,
|
|
15060
|
+
_null3 as _null,
|
|
15061
|
+
unknown,
|
|
15062
|
+
array,
|
|
15063
|
+
object,
|
|
15064
|
+
looseObject,
|
|
15065
|
+
union,
|
|
15066
|
+
discriminatedUnion,
|
|
15067
|
+
intersection,
|
|
15068
|
+
record,
|
|
15069
|
+
_enum2 as _enum,
|
|
15070
|
+
literal,
|
|
15071
|
+
ZodOptional,
|
|
15072
|
+
optional,
|
|
15073
|
+
custom,
|
|
15074
|
+
preprocess,
|
|
14588
15075
|
external_exports,
|
|
14589
|
-
|
|
14590
|
-
|
|
14591
|
-
|
|
14592
|
-
|
|
14593
|
-
|
|
14594
|
-
|
|
14595
|
-
|
|
14596
|
-
|
|
15076
|
+
PRODUCTION_ORIGIN,
|
|
15077
|
+
isSameDeployment,
|
|
15078
|
+
knownDeploymentOrigins,
|
|
15079
|
+
PublishModeSchema,
|
|
15080
|
+
parseAckServerWarnings,
|
|
15081
|
+
ROUTER_CONTEXTS,
|
|
15082
|
+
parseRouterLayer,
|
|
15083
|
+
parsePublicFallbackFlag,
|
|
15084
|
+
parseLoopValue,
|
|
15085
|
+
parseUpdateModeFlag,
|
|
15086
|
+
RawConfigSchema,
|
|
15087
|
+
SEND_MAX_UNSET,
|
|
15088
|
+
CONFIG_DEFAULTS,
|
|
15089
|
+
CONFIG_KEYS,
|
|
15090
|
+
PUBLISH_CONFIG_KEYS,
|
|
15091
|
+
HOOKS_CONFIG_KEYS,
|
|
15092
|
+
UPDATE_CONFIG_KEYS,
|
|
15093
|
+
LOOP_CONFIG_KEYS,
|
|
15094
|
+
TEAM_CONFIG_KEYS,
|
|
15095
|
+
EXPERIMENTAL_CONFIG_KEYS,
|
|
15096
|
+
ROUTER_CONFIG_KEYS,
|
|
15097
|
+
RETIRED_PAYMENT_GUIDANCE,
|
|
15098
|
+
retiredPaymentKeys,
|
|
15099
|
+
loadRawConfig,
|
|
15100
|
+
loadConfig,
|
|
15101
|
+
resolveSettings,
|
|
15102
|
+
resolveExperimentalBazaar
|
|
15103
|
+
};
|
|
15104
|
+
//# sourceMappingURL=chunk-W3LVZ2EN.js.map
|