@wirecat/zoom-cli 0.60.1 → 0.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/answers.d.ts +16 -0
- package/dist/answers.d.ts.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{chunk-3R437ICM.js → all-profiles-HZLIU6RZ.js} +11 -7
- package/dist/bundle/answer-policy-GRODO2DY.js +96 -0
- package/dist/bundle/{anthropic-CSLAACWX.js → anthropic-O2YYPCVK.js} +4 -4
- package/dist/bundle/{app-server-RYYXX6QV.js → app-server-YYCANTUE.js} +50 -50
- package/dist/bundle/{bun-JVDJVDHL.js → bun-UEFRULAT.js} +2 -2
- package/dist/bundle/{bun-sqlite-B5CZHAV4.js → bun-sqlite-VVYKOY7S.js} +3 -3
- package/dist/bundle/{chunk-KNAS4VEA.js → chunk-2M2U43IF.js} +2 -2
- package/dist/bundle/{chunk-QKSCDALS.js → chunk-35X6G276.js} +1 -1
- package/dist/bundle/{chunk-PPHUBORC.js → chunk-3TGR4RDD.js} +32 -34
- package/dist/bundle/{chunk-WEUXLXOZ.js → chunk-4XI4PDEH.js} +31 -21
- package/dist/bundle/{chunk-W5EUHV3J.js → chunk-4XPIOW5L.js} +1 -1
- package/dist/bundle/{chunk-XS72YFPV.js → chunk-5NRBNGR3.js} +2 -2
- package/dist/bundle/{chunk-VVKHF6VJ.js → chunk-67WW33JB.js} +49 -24
- package/dist/bundle/{chunk-KYUIU5UR.js → chunk-6LHTWR3X.js} +2 -2
- package/dist/bundle/{chunk-K6NPOZUP.js → chunk-6RV7KXDF.js} +7 -7
- package/dist/bundle/{chunk-46R2JTGO.js → chunk-6SLGIPLT.js} +2 -2
- package/dist/bundle/{chunk-IQENQXUJ.js → chunk-77GJITSU.js} +2 -2
- package/dist/bundle/{chunk-BO7J5Z3T.js → chunk-7ATLKYBN.js} +17 -17
- package/dist/bundle/{chunk-VJBVNDFR.js → chunk-7DMMNCY2.js} +3 -3
- package/dist/bundle/chunk-ABCHE4YP.js +217 -0
- package/dist/bundle/{chunk-Y3YURIZF.js → chunk-AOSIU5T6.js} +51 -38
- package/dist/bundle/{chunk-HYZ545ON.js → chunk-B3PTSX5D.js} +2 -2
- package/dist/bundle/{chunk-GEVHI226.js → chunk-B45MFBBF.js} +6 -6
- package/dist/bundle/{chunk-6BJQBVMN.js → chunk-BNUNZTOU.js} +25 -25
- package/dist/bundle/{chunk-ZDRDCANC.js → chunk-BPQNTYLN.js} +388 -299
- package/dist/bundle/{chunk-VLE3FWE3.js → chunk-CMG54Q4X.js} +120 -32
- package/dist/bundle/{chunk-RACSKYNX.js → chunk-COU66X3X.js} +7 -5
- package/dist/bundle/{chunk-AOZGGGUK.js → chunk-CUSGSXSR.js} +2 -2
- package/dist/bundle/{chunk-MFS52LTZ.js → chunk-DLAFGSTN.js} +1 -1
- package/dist/bundle/{chunk-V53IB5AU.js → chunk-E4QPLXZT.js} +47 -47
- package/dist/bundle/{chunk-EUHQ5D4K.js → chunk-E4T7IJJO.js} +26 -26
- package/dist/bundle/{chunk-3LBA63D5.js → chunk-F32GKBMF.js} +22 -5
- package/dist/bundle/{chunk-YEZQ7SD7.js → chunk-FAOVUALC.js} +13 -13
- package/dist/bundle/{chunk-EF2RCQ3L.js → chunk-FBJC7OCI.js} +1 -1
- package/dist/bundle/{chunk-HIAO4MPA.js → chunk-FQ54A7GI.js} +1 -1
- package/dist/bundle/{chunk-ES6UWVTM.js → chunk-FXY45HU7.js} +6 -6
- package/dist/bundle/{chunk-REC3AZP6.js → chunk-GNHPYQMM.js} +2 -2
- package/dist/bundle/{chunk-TY5PBEH2.js → chunk-H5EAHMQN.js} +11 -11
- package/dist/bundle/chunk-HF233RN4.js +335 -0
- package/dist/bundle/{chunk-RUEPZTNA.js → chunk-HTGBUE2U.js} +2 -2
- package/dist/bundle/{chunk-HAUAEGGI.js → chunk-IKZFR645.js} +10 -10
- package/dist/bundle/chunk-JKWYXBGK.js +380 -0
- package/dist/bundle/{chunk-EN5DBDKW.js → chunk-KGZHRJ7H.js} +4 -4
- package/dist/bundle/{chunk-ZK7Y5K63.js → chunk-KPZIQKOF.js} +1 -1
- package/dist/bundle/{chunk-PAEBFJUC.js → chunk-KXYURHVE.js} +118 -95
- package/dist/bundle/{chunk-IRX2YVAH.js → chunk-KZGHGU2M.js} +4 -4
- package/dist/bundle/{chunk-ZXQCA3ZW.js → chunk-KZV5GU7G.js} +8 -8
- package/dist/bundle/{chunk-R4SRXI7M.js → chunk-L7VIPVHL.js} +166 -102
- package/dist/bundle/{chunk-XLJV3ZOH.js → chunk-LPJ3S6GE.js} +1 -1
- package/dist/bundle/{chunk-HBYE4EP2.js → chunk-LX6DO44O.js} +1 -1
- package/dist/bundle/{chunk-N27LOY3D.js → chunk-LXOSBFWW.js} +7 -7
- package/dist/bundle/{chunk-KXEC5FVT.js → chunk-M3EVVGR6.js} +2 -2
- package/dist/bundle/{chunk-YLATWUE7.js → chunk-MBMDF5EL.js} +6 -6
- package/dist/bundle/{chunk-AZZPMHP2.js → chunk-MTAVA2LS.js} +2 -2
- package/dist/bundle/{chunk-7IDNHVJS.js → chunk-MVRCLMQL.js} +2 -2
- package/dist/bundle/{chunk-LVHZQCP4.js → chunk-NVN4O5IC.js} +14 -10
- package/dist/bundle/{chunk-4TCQT57W.js → chunk-O3WVOAT7.js} +408 -420
- package/dist/bundle/{chunk-UWVNY5CA.js → chunk-OLZE27RS.js} +2 -2
- package/dist/bundle/{chunk-XX7KVQIG.js → chunk-OMUX4LSS.js} +4 -4
- package/dist/bundle/{chunk-IQSBMAYB.js → chunk-OU46OTTE.js} +3 -3
- package/dist/bundle/{chunk-Z4D6M62I.js → chunk-OVVDOVLN.js} +2 -2
- package/dist/bundle/{chunk-WB7MQHUI.js → chunk-P2NRA7E5.js} +2 -2
- package/dist/bundle/{chunk-PEMLI3T7.js → chunk-PCUPOGKR.js} +6 -4
- package/dist/bundle/{chunk-OEEMCNAO.js → chunk-QHT2LZRW.js} +6 -6
- package/dist/bundle/{decode-CTQJQYNU.js → chunk-RGOBGHWE.js} +21 -18
- package/dist/bundle/{chunk-Q7U627RY.js → chunk-RSXLI5GP.js} +79 -59
- package/dist/bundle/{chunk-LPY2ISJK.js → chunk-S726LZCH.js} +6 -6
- package/dist/bundle/{chunk-PATM7JGR.js → chunk-SVBM6F4Z.js} +1 -1
- package/dist/bundle/{chunk-X7YPTYM4.js → chunk-T7IQMYPW.js} +15 -3
- package/dist/bundle/{chunk-WFT2GGFH.js → chunk-TD4Y5LXG.js} +25 -22
- package/dist/bundle/{chunk-FZMRHNOP.js → chunk-U4Y2QQ2D.js} +3 -3
- package/dist/bundle/{chunk-CGCJ6P3A.js → chunk-UPWHCUVA.js} +617 -380
- package/dist/bundle/{chunk-FWJ3Q7NO.js → chunk-UYAKSUT5.js} +5 -5
- package/dist/bundle/{chunk-LPDYI5GR.js → chunk-VARX3SBT.js} +1 -1
- package/dist/bundle/{chunk-WWNZS7ZY.js → chunk-WVYSOV3C.js} +16 -4
- package/dist/bundle/{chunk-VKUS2V4L.js → chunk-XOJGXWTK.js} +8 -8
- package/dist/bundle/{chunk-OBUKZ2ZM.js → chunk-XX2PDQ54.js} +31 -211
- package/dist/bundle/{chunk-43BX56ZI.js → chunk-XZ4OVTA5.js} +9 -9
- package/dist/bundle/{chunk-Z5H47R4G.js → chunk-YESOQEOB.js} +735 -826
- package/dist/bundle/{cli-CYKEKT5P.js → cli-O4LAGYXI.js} +60 -54
- package/dist/bundle/command-contract-67QKBY6M.js +38 -0
- package/dist/bundle/config-ABURZDD2.js +78 -0
- package/dist/bundle/decode-WRMZJJCR.js +20 -0
- package/dist/bundle/{dist-YLSQKPPY.js → dist-SQK4GIJT.js} +14 -14
- package/dist/bundle/{echarts-4OQHS575.js → echarts-3DOOJSQR.js} +2 -2
- package/dist/bundle/{embed-P2BKRRJD.js → embed-OYRHTMFI.js} +4 -4
- package/dist/bundle/{embedder-HC6ZARP5.js → embedder-ZAYCL22W.js} +7 -7
- package/dist/bundle/{first-run-UERFFXBV.js → first-run-QXSPIXOQ.js} +8 -8
- package/dist/bundle/first-screen-MD6HWIJW.js +36 -0
- package/dist/bundle/{folders-RSLPTZLJ.js → folders-EXQLKXVK.js} +2 -2
- package/dist/bundle/{instructions-3QZBKKPF.js → instructions-GFEOB7XJ.js} +1 -1
- package/dist/bundle/{main-2T6D77JC.js → main-RADF3CRI.js} +16 -16
- package/dist/bundle/{mcp-OQBZXELQ.js → mcp-WSGVVZWI.js} +2 -2
- package/dist/bundle/{meetings-ZIDSQZBJ.js → meetings-6BIIT42H.js} +4 -4
- package/dist/bundle/{node-R2BLYUSB.js → node-A3B2YRQI.js} +2 -2
- package/dist/bundle/{node-sqlite-7CGHAHIS.js → node-sqlite-XRP5FUDY.js} +3 -3
- package/dist/bundle/{oauth-UBCYXTWV.js → oauth-YICY4AN4.js} +5 -5
- package/dist/bundle/{open-AWUB4Q7Z.js → open-4CNKSQRB.js} +2 -2
- package/dist/bundle/openai-YYRO3X7I.js +22 -0
- package/dist/bundle/{output-file-SN22HAVL.js → output-file-7BXYV6OL.js} +3 -3
- package/dist/bundle/{process-IX5YWGDP.js → process-A45QXKID.js} +1 -1
- package/dist/bundle/{program-STYPTNT3.js → program-DTP7BRTW.js} +415 -428
- package/dist/bundle/{prompt-MAYUHEGN.js → prompt-5LMKO7SE.js} +3 -3
- package/dist/bundle/{recognize-FVTNXRTF.js → recognize-MB6WRGUD.js} +4 -2
- package/dist/bundle/{remote-WCPRU73L.js → remote-PD7WMTTS.js} +5 -5
- package/dist/bundle/{rerank-6CBLZBCV.js → rerank-7E6GQ5Y6.js} +5 -5
- package/dist/bundle/{run-log-G4WZTOBW.js → run-log-TCFK4LEC.js} +53 -53
- package/dist/bundle/{chunk-XNUFDYR6.js → serve-JBT2BWHK.js} +8 -6
- package/dist/bundle/server-CFIKEPLG.js +66 -0
- package/dist/bundle/{chunk-INARC5O7.js → server-H2UPGGBI.js} +43 -10
- package/dist/bundle/{services-326Z3TNE.js → services-SJOTKL5V.js} +33 -26
- package/dist/bundle/{speech-KSZ7RKM3.js → speech-4SL25GSC.js} +28 -5
- package/dist/bundle/{state-EPB3L2JM.js → state-FVMTDZ6B.js} +4 -4
- package/dist/bundle/{store-KO242JBK.js → store-DNPKBUVO.js} +13 -13
- package/dist/bundle/{store-7WX7SW2R.js → store-TI77SCNL.js} +15 -15
- package/dist/bundle/store-connection-GIFWWMNO.js +76 -0
- package/dist/bundle/store-maintenance-command-WBKGF2CZ.js +55 -0
- package/dist/bundle/{streaming-M6VDKBBH.js → streaming-UHAHGPH5.js} +4 -4
- package/dist/bundle/{tokens-BTNXHR7T.js → tokens-Y2MX6JBL.js} +4 -4
- package/dist/bundle/zm.js +1 -1
- package/dist/commands.d.ts +1 -2
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +3 -16
- package/dist/commands.js.map +1 -1
- package/dist/contract-overrides.d.ts +0 -2
- package/dist/contract-overrides.d.ts.map +1 -1
- package/dist/contract-overrides.js +0 -158
- package/dist/contract-overrides.js.map +1 -1
- package/dist/program-bindings.d.ts +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +16 -18
- package/dist/program-bindings.js.map +1 -1
- package/dist/program.d.ts +2 -4
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js.map +1 -1
- package/dist/read-only.d.ts.map +1 -1
- package/dist/read-only.js +3 -0
- package/dist/read-only.js.map +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +82 -32
- package/dist/run.js.map +1 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +8 -46
- package/dist/setup-commands.js.map +1 -1
- package/dist/store-commands.d.ts.map +1 -1
- package/dist/store-commands.js +4 -1
- package/dist/store-commands.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/all-profiles-E6KXASLY.js +0 -25
- package/dist/bundle/answer-policy-YWCC55NB.js +0 -96
- package/dist/bundle/chunk-DBSWVZES.js +0 -48
- package/dist/bundle/chunk-WYRYLBST.js +0 -390
- package/dist/bundle/chunk-YLBNPI7H.js +0 -2
- package/dist/bundle/command-contract-P45QCCXM.js +0 -38
- package/dist/bundle/config-JYKTLEA3.js +0 -79
- package/dist/bundle/first-screen-VFIS7FX3.js +0 -36
- package/dist/bundle/mcp-4VHVUMCR.js +0 -92
- package/dist/bundle/mcp-6CLW2IZM.js +0 -189
- package/dist/bundle/serve-3IDUVTZL.js +0 -19
- package/dist/bundle/server-7GU36TER.js +0 -66
- package/dist/bundle/server-VHRS5UAL.js +0 -53
- package/dist/bundle/store-connection-K3MNDCQQ.js +0 -76
- package/dist/bundle/store-maintenance-command-GJDJYI2U.js +0 -54
- package/dist/mcp-command.d.ts +0 -33
- package/dist/mcp-command.d.ts.map +0 -1
- package/dist/mcp-command.js +0 -143
- package/dist/mcp-command.js.map +0 -1
- package/dist/mcp.d.ts +0 -30
- package/dist/mcp.d.ts.map +0 -1
- package/dist/mcp.js +0 -110
- package/dist/mcp.js.map +0 -1
- /package/dist/bundle/{chunk-O5EHUB2V.js → chunk-62EDJKGP.js} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
envName,
|
|
5
5
|
readOnlyLockOf,
|
|
6
6
|
readOnlyRefusal
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6LHTWR3X.js";
|
|
8
8
|
import {
|
|
9
9
|
currentCaller,
|
|
10
10
|
endpointTemplate,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
providerErrorKey,
|
|
15
15
|
renderEvent,
|
|
16
16
|
runContextOf
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XOJGXWTK.js";
|
|
18
18
|
import {
|
|
19
19
|
DEFAULT_RERANK_MODEL,
|
|
20
20
|
IMAGE_MODELS,
|
|
@@ -36,22 +36,22 @@ import {
|
|
|
36
36
|
typedCommand,
|
|
37
37
|
useAsProcessRun,
|
|
38
38
|
withWriteScope
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-4XI4PDEH.js";
|
|
40
40
|
import {
|
|
41
41
|
isCliFailure
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-77GJITSU.js";
|
|
43
43
|
import {
|
|
44
44
|
count,
|
|
45
45
|
text
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-WVYSOV3C.js";
|
|
47
47
|
import {
|
|
48
48
|
permissionCeiling
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-KZGHGU2M.js";
|
|
50
50
|
import {
|
|
51
51
|
fieldsOf,
|
|
52
52
|
projectFields,
|
|
53
53
|
resolveOutput
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-KGZHRJ7H.js";
|
|
55
55
|
import {
|
|
56
56
|
CEILING_KEY,
|
|
57
57
|
COMMAND_PATH_KEY,
|
|
@@ -62,18 +62,18 @@ import {
|
|
|
62
62
|
keyForCommand,
|
|
63
63
|
layerPermissions,
|
|
64
64
|
permissionOverrides
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-CUSGSXSR.js";
|
|
66
66
|
import {
|
|
67
67
|
sharedConfigPath
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-UYAKSUT5.js";
|
|
69
69
|
import {
|
|
70
70
|
storePath
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-M3EVVGR6.js";
|
|
72
72
|
import {
|
|
73
73
|
FIELD_TYPES,
|
|
74
74
|
QUERY_BACKENDS,
|
|
75
75
|
describeQuery
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-NVN4O5IC.js";
|
|
77
77
|
import {
|
|
78
78
|
CliError,
|
|
79
79
|
MAX_NEXT_STEPS,
|
|
@@ -119,12 +119,12 @@ import {
|
|
|
119
119
|
unknown,
|
|
120
120
|
writeSecurely,
|
|
121
121
|
writes
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-L7VIPVHL.js";
|
|
123
123
|
import {
|
|
124
124
|
__name
|
|
125
125
|
} from "./chunk-ZVVMGPBJ.js";
|
|
126
126
|
|
|
127
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
127
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
|
|
128
128
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
129
129
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
130
130
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3625,7 +3625,7 @@ __name(useColor, "useColor");
|
|
|
3625
3625
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3626
3626
|
var program = new Command();
|
|
3627
3627
|
|
|
3628
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3628
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
|
|
3629
3629
|
import { isDeepStrictEqual } from "node:util";
|
|
3630
3630
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3631
3631
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3827,7 +3827,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference, reason, build, e
|
|
|
3827
3827
|
return command;
|
|
3828
3828
|
}, "customizeSharedCommand");
|
|
3829
3829
|
|
|
3830
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3830
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
|
|
3831
3831
|
var argumentInfoSchema = object({
|
|
3832
3832
|
name: string(),
|
|
3833
3833
|
required: boolean(),
|
|
@@ -3900,7 +3900,7 @@ var commandsDocumentSchema = strictObject({
|
|
|
3900
3900
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
3901
3901
|
});
|
|
3902
3902
|
|
|
3903
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3903
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
|
|
3904
3904
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
3905
3905
|
let command = root;
|
|
3906
3906
|
const path2 = [];
|
|
@@ -3918,7 +3918,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3918
3918
|
}
|
|
3919
3919
|
}, "refuseJoinedPath");
|
|
3920
3920
|
|
|
3921
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3921
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
3922
3922
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
3923
3923
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
3924
3924
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -3952,7 +3952,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
3952
3952
|
cache: "cache.answered"
|
|
3953
3953
|
};
|
|
3954
3954
|
|
|
3955
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3955
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
3956
3956
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
3957
3957
|
const recording = startRecording(options);
|
|
3958
3958
|
try {
|
|
@@ -4137,7 +4137,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
4137
4137
|
return void 0;
|
|
4138
4138
|
}, "partialOutcome");
|
|
4139
4139
|
|
|
4140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
4141
4141
|
var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
|
|
4142
4142
|
if (ms === void 0)
|
|
4143
4143
|
return body();
|
|
@@ -4163,7 +4163,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
|
|
|
4163
4163
|
}
|
|
4164
4164
|
}, "withDeadline");
|
|
4165
4165
|
|
|
4166
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4166
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4167
4167
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
4168
4168
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4169
4169
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4345,7 +4345,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4345
4345
|
}
|
|
4346
4346
|
}, "withAbort");
|
|
4347
4347
|
|
|
4348
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4348
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
4349
4349
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
4350
4350
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
4351
4351
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -4414,7 +4414,7 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
4414
4414
|
return void 0;
|
|
4415
4415
|
}, "sampleCommand");
|
|
4416
4416
|
|
|
4417
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
4418
4418
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
4419
4419
|
try {
|
|
4420
4420
|
const url2 = new URL(value);
|
|
@@ -4424,7 +4424,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
4424
4424
|
}
|
|
4425
4425
|
}, "endpoint");
|
|
4426
4426
|
|
|
4427
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4427
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
4428
4428
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
4429
4429
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
4430
4430
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -4493,7 +4493,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
4493
4493
|
};
|
|
4494
4494
|
}, "modelTarget");
|
|
4495
4495
|
|
|
4496
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4496
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
4497
4497
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
4498
4498
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
4499
4499
|
var AI_FIELDS = {
|
|
@@ -4537,7 +4537,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
4537
4537
|
};
|
|
4538
4538
|
}, "resolveAISettings");
|
|
4539
4539
|
|
|
4540
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4540
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
4541
4541
|
import { readFileSync } from "node:fs";
|
|
4542
4542
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
4543
4543
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -4828,7 +4828,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
4828
4828
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
4829
4829
|
}, "readConfigFile");
|
|
4830
4830
|
|
|
4831
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4831
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
4832
4832
|
import { existsSync, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
4833
4833
|
import { dirname, join } from "node:path";
|
|
4834
4834
|
var DEFAULT_CONFIG = {
|
|
@@ -4857,7 +4857,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
4857
4857
|
}
|
|
4858
4858
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
4859
4859
|
|
|
4860
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4860
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4861
4861
|
import { existsSync as existsSync2, readdirSync, readFileSync as readFileSync2 } from "node:fs";
|
|
4862
4862
|
import { join as join2 } from "node:path";
|
|
4863
4863
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4879,7 +4879,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4879
4879
|
}, "profilesWithAccounts");
|
|
4880
4880
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4881
4881
|
|
|
4882
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4882
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
4883
4883
|
import { existsSync as existsSync3 } from "node:fs";
|
|
4884
4884
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
4885
4885
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
@@ -5270,7 +5270,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
5270
5270
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
5271
5271
|
}, "given");
|
|
5272
5272
|
|
|
5273
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5273
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
5274
5274
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
5275
5275
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
5276
5276
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -5313,7 +5313,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests, deadline, requestMs, signal,
|
|
|
5313
5313
|
};
|
|
5314
5314
|
}, "runBudget");
|
|
5315
5315
|
|
|
5316
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5316
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
5317
5317
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests) => {
|
|
5318
5318
|
const { deadline, signal, app } = environmentOf(command);
|
|
5319
5319
|
const now = deadline?.();
|
|
@@ -5430,7 +5430,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
5430
5430
|
return words.join(" ");
|
|
5431
5431
|
}, "commandPath");
|
|
5432
5432
|
|
|
5433
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5433
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
5434
5434
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
5435
5435
|
var FETCH = { remote: "read", local: "write" };
|
|
5436
5436
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -5532,7 +5532,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
5532
5532
|
throw readOnlyRefusal(lock, what);
|
|
5533
5533
|
}, "refuseUnderReadOnly");
|
|
5534
5534
|
|
|
5535
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5535
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
5536
5536
|
var STEPS2 = defineSteps([
|
|
5537
5537
|
...STEPS,
|
|
5538
5538
|
{
|
|
@@ -5541,6 +5541,7 @@ var STEPS2 = defineSteps([
|
|
|
5541
5541
|
args: [
|
|
5542
5542
|
{ name: "chat", required: false },
|
|
5543
5543
|
{ name: "all", required: false },
|
|
5544
|
+
{ name: "since_time", required: false },
|
|
5544
5545
|
{ name: "background", required: false }
|
|
5545
5546
|
],
|
|
5546
5547
|
why: "the local copy is missing messages; syncing brings them in"
|
|
@@ -5798,7 +5799,7 @@ var stepLine = /* @__PURE__ */ __name((root, step) => {
|
|
|
5798
5799
|
].join(" ");
|
|
5799
5800
|
}, "stepLine");
|
|
5800
5801
|
|
|
5801
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5802
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
5802
5803
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
5803
5804
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
5804
5805
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -5812,11 +5813,11 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
5812
5813
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
5813
5814
|
}, "strip");
|
|
5814
5815
|
|
|
5815
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5816
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
5816
5817
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
5817
5818
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
5818
5819
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
5819
|
-
const { items, limit, has_more, cursor, paging, page, args = {}, next = [], missing, meta } = input;
|
|
5820
|
+
const { items, limit, has_more, cursor, paging, page, total, args = {}, next = [], missing, meta } = input;
|
|
5820
5821
|
const byCursor = paging === "cursor" || cursor !== void 0;
|
|
5821
5822
|
const more = has_more ? [
|
|
5822
5823
|
nextStep("page.next", {
|
|
@@ -5827,7 +5828,19 @@ var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
|
5827
5828
|
] : [];
|
|
5828
5829
|
const body = {
|
|
5829
5830
|
items,
|
|
5830
|
-
page: byCursor ? {
|
|
5831
|
+
page: byCursor ? {
|
|
5832
|
+
mode: "cursor",
|
|
5833
|
+
limit,
|
|
5834
|
+
has_more,
|
|
5835
|
+
...has_more && cursor !== void 0 ? { next_cursor: cursor } : {},
|
|
5836
|
+
...total ? { total } : {}
|
|
5837
|
+
} : {
|
|
5838
|
+
mode: "page",
|
|
5839
|
+
limit,
|
|
5840
|
+
has_more,
|
|
5841
|
+
...has_more ? { next_page: (page ?? 1) + 1 } : {},
|
|
5842
|
+
...total ? { total } : {}
|
|
5843
|
+
},
|
|
5831
5844
|
...capped2([...more, ...next]),
|
|
5832
5845
|
...missing && missing.length > 0 ? { missing } : {},
|
|
5833
5846
|
...meta ? { meta } : {}
|
|
@@ -5934,7 +5947,7 @@ var printItem = /* @__PURE__ */ __name(({ renderer, format }, item) => {
|
|
|
5934
5947
|
renderer.result(item);
|
|
5935
5948
|
}, "printItem");
|
|
5936
5949
|
|
|
5937
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5950
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
5938
5951
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
5939
5952
|
var storeTable = strictObject({
|
|
5940
5953
|
name: text,
|
|
@@ -5943,7 +5956,7 @@ var storeTable = strictObject({
|
|
|
5943
5956
|
bytes: optional(nullable(count))
|
|
5944
5957
|
});
|
|
5945
5958
|
|
|
5946
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5959
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
5947
5960
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
5948
5961
|
const run = currentRun();
|
|
5949
5962
|
const trace = traceId ?? run.traceId;
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
singleLine,
|
|
9
9
|
visibleControls
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-L7VIPVHL.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/render/messages.js
|
|
16
16
|
import { styleText } from "node:util";
|
|
17
17
|
var TIME_WIDTH = 8;
|
|
18
18
|
var INDENT = " ".repeat(TIME_WIDTH + 2);
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
installFiles,
|
|
6
6
|
megabytes,
|
|
7
7
|
sharedModelsDirectory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PCUPOGKR.js";
|
|
9
9
|
import {
|
|
10
10
|
CliError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-L7VIPVHL.js";
|
|
12
12
|
import {
|
|
13
13
|
importFrom
|
|
14
14
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
20
20
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
21
21
|
import { availableParallelism } from "node:os";
|
|
22
22
|
import { basename, join as join2 } from "node:path";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
25
25
|
import { createHash } from "node:crypto";
|
|
26
26
|
import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
27
27
|
import { join } from "node:path";
|
|
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
|
|
|
678
678
|
return Unzip2;
|
|
679
679
|
})();
|
|
680
680
|
|
|
681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
682
682
|
var ONNX_RUNTIME_VERSION = "1.30.0";
|
|
683
683
|
var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
|
|
684
684
|
name,
|
|
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
|
|
|
858
858
|
return { ort, session: await ort.InferenceSession.create(bytes, options) };
|
|
859
859
|
}, "openSession");
|
|
860
860
|
|
|
861
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
861
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
862
862
|
var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
|
|
863
863
|
var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
|
|
864
864
|
var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
|
|
@@ -6,22 +6,22 @@ import {
|
|
|
6
6
|
agentArguments,
|
|
7
7
|
agentJson,
|
|
8
8
|
commandAvailability
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FAOVUALC.js";
|
|
10
10
|
import {
|
|
11
11
|
callerOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2M2U43IF.js";
|
|
13
13
|
import {
|
|
14
14
|
lentConnection,
|
|
15
15
|
refuseLacking
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TD4Y5LXG.js";
|
|
17
17
|
import {
|
|
18
18
|
onlineDeps,
|
|
19
19
|
servicesFor,
|
|
20
20
|
storeModeDeps
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YESOQEOB.js";
|
|
22
22
|
import {
|
|
23
23
|
ENTITIES
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-KXYURHVE.js";
|
|
25
25
|
import {
|
|
26
26
|
DEFAULT_OUTPUT_BYTES,
|
|
27
27
|
LOCAL_WRITE,
|
|
@@ -35,32 +35,32 @@ import {
|
|
|
35
35
|
refuseStoreChange,
|
|
36
36
|
sealed,
|
|
37
37
|
startRecording
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-AOSIU5T6.js";
|
|
39
39
|
import {
|
|
40
40
|
currentCaller,
|
|
41
41
|
keepsSuccess,
|
|
42
42
|
runContextOf,
|
|
43
43
|
withCaller
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-XOJGXWTK.js";
|
|
45
45
|
import {
|
|
46
46
|
enclosingTraceId,
|
|
47
47
|
inRun,
|
|
48
48
|
newRunId,
|
|
49
49
|
traceOf
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-4XI4PDEH.js";
|
|
51
51
|
import {
|
|
52
52
|
failureContext
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-T7IQMYPW.js";
|
|
54
54
|
import {
|
|
55
55
|
authorityAllowed,
|
|
56
56
|
botApiAllowed,
|
|
57
57
|
keyForCommand,
|
|
58
58
|
levelFor,
|
|
59
59
|
readKeysForCommand
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-CUSGSXSR.js";
|
|
61
61
|
import {
|
|
62
62
|
MAX_BUFFERED_INPUT
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-MTAVA2LS.js";
|
|
64
64
|
import {
|
|
65
65
|
CliError,
|
|
66
66
|
SNAKE_CASE,
|
|
@@ -102,15 +102,15 @@ import {
|
|
|
102
102
|
unknown,
|
|
103
103
|
word,
|
|
104
104
|
writes
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-L7VIPVHL.js";
|
|
106
106
|
import {
|
|
107
107
|
__name
|
|
108
108
|
} from "./chunk-ZVVMGPBJ.js";
|
|
109
109
|
|
|
110
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
110
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
111
111
|
import { Readable } from "node:stream";
|
|
112
112
|
|
|
113
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
113
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
|
|
114
114
|
var LINT_SEVERITIES = ["high", "medium", "low"];
|
|
115
115
|
var lintRuleSchema = strictObject({
|
|
116
116
|
id: word,
|
|
@@ -237,7 +237,7 @@ var overridesSchema = array(strictObject({
|
|
|
237
237
|
review_after: pipe(string(), isoDate("a date, YYYY-MM-DD"))
|
|
238
238
|
}));
|
|
239
239
|
|
|
240
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
240
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
|
|
241
241
|
var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
|
|
242
242
|
var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
|
|
243
243
|
var AUDIT_RULES = defineAuditRules([
|
|
@@ -295,7 +295,7 @@ var PARITY_GROUPS = defineParityGroups([
|
|
|
295
295
|
{ name: "messengers", members: ["tg", "max"], covers: "tree", differences: [] },
|
|
296
296
|
{
|
|
297
297
|
name: "all",
|
|
298
|
-
members: ["tg", "max", "memo", "drive", "zm", "wa"],
|
|
298
|
+
members: ["tg", "max", "memo", "drive", "zm", "wa", "mail"],
|
|
299
299
|
covers: ["commands", "doctor", "skill", "mcp", "upgrade", "search", "notes", "meetings"],
|
|
300
300
|
differences: []
|
|
301
301
|
},
|
|
@@ -319,7 +319,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
|
|
|
319
319
|
{ path: ["upgrade"], meaning: "updates the CLI" }
|
|
320
320
|
]);
|
|
321
321
|
|
|
322
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
322
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
|
|
323
323
|
var fieldRuleSchema = strictObject({ id: word, rule: text });
|
|
324
324
|
var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
|
|
325
325
|
var FIELD_RULES = defineFieldRules([
|
|
@@ -335,7 +335,7 @@ var FIELD_RULES = defineFieldRules([
|
|
|
335
335
|
}
|
|
336
336
|
]);
|
|
337
337
|
|
|
338
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
338
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
|
|
339
339
|
var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
|
|
340
340
|
var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
|
|
341
341
|
var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
|
|
@@ -357,7 +357,7 @@ var IDENTIFIERS = defineIdentifiers([
|
|
|
357
357
|
{ key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
|
|
358
358
|
]);
|
|
359
359
|
|
|
360
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
360
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
|
|
361
361
|
var CALENDAR_FLAGS = [
|
|
362
362
|
{ name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
|
|
363
363
|
{
|
|
@@ -431,7 +431,7 @@ var CALENDAR_FLAGS = [
|
|
|
431
431
|
}
|
|
432
432
|
];
|
|
433
433
|
|
|
434
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
434
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
|
|
435
435
|
var HOW_FLAGS = [
|
|
436
436
|
{
|
|
437
437
|
name: "--limit",
|
|
@@ -1411,7 +1411,7 @@ var HOW_FLAGS = [
|
|
|
1411
1411
|
}
|
|
1412
1412
|
];
|
|
1413
1413
|
|
|
1414
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1414
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
|
|
1415
1415
|
var WHAT_FLAGS = [
|
|
1416
1416
|
{
|
|
1417
1417
|
name: "--analysis-provider",
|
|
@@ -2401,7 +2401,7 @@ var WHAT_FLAGS = [
|
|
|
2401
2401
|
}
|
|
2402
2402
|
];
|
|
2403
2403
|
|
|
2404
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2404
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
|
|
2405
2405
|
var FLAG_TYPES = [
|
|
2406
2406
|
"switch",
|
|
2407
2407
|
"count",
|
|
@@ -2755,7 +2755,7 @@ var VOCABULARY = defineVocabulary({
|
|
|
2755
2755
|
flags: [...HOW_FLAGS, ...WHAT_FLAGS, ...CALENDAR_FLAGS]
|
|
2756
2756
|
});
|
|
2757
2757
|
|
|
2758
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2758
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
2759
2759
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
2760
2760
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
2761
2761
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -2976,7 +2976,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
2976
2976
|
}
|
|
2977
2977
|
}, "runCommandForAgent");
|
|
2978
2978
|
|
|
2979
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2979
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
2980
2980
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
2981
2981
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
2982
2982
|
var message = pipe(
|
|
@@ -3235,7 +3235,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
|
3235
3235
|
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
|
|
3236
3236
|
}, "failed");
|
|
3237
3237
|
|
|
3238
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3238
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
3239
3239
|
import { randomUUID } from "node:crypto";
|
|
3240
3240
|
var MATCHES = 8;
|
|
3241
3241
|
var ANSWER = answerSchema();
|