@wirecat/zoom-cli 0.80.0 → 0.82.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/contracts/wirecat.json +71 -3
- package/dist/answers.d.ts +100 -0
- package/dist/answers.d.ts.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/agent-F4TRJWWS.js +46 -0
- package/dist/bundle/{all-profiles-5GOKWOT4.js → all-profiles-RULEKTDQ.js} +64 -22
- package/dist/bundle/answer-policy-6XC57AEZ.js +131 -0
- package/dist/bundle/{anthropic-NHXMOFYS.js → anthropic-4NAQBZFL.js} +6 -6
- package/dist/bundle/{app-server-HFW5Z5PI.js → app-server-VLR42U5L.js} +92 -80
- package/dist/bundle/{bun-M5IGY2TG.js → bun-OPDGMZZQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-MTP5JJQ2.js → bun-sqlite-HC6X4AOX.js} +7 -7
- package/dist/bundle/{chunk-TNL3YQ33.js → chunk-274SLQNW.js} +2 -2
- package/dist/bundle/{chunk-5CJ6AAUI.js → chunk-2CI2OEZQ.js} +4 -4
- package/dist/bundle/{chunk-GVKZZT7E.js → chunk-2DBF2IIC.js} +7 -78
- package/dist/bundle/{chunk-NRVMK5H3.js → chunk-2GP573Q4.js} +15748 -11939
- package/dist/bundle/{chunk-4OAR7BGU.js → chunk-2JHVQMVC.js} +1 -1
- package/dist/bundle/{chunk-XKLU5KV2.js → chunk-2SWKQ7C4.js} +1 -1
- package/dist/bundle/{chunk-W3GZ7JUO.js → chunk-2XBDILVW.js} +1 -1
- package/dist/bundle/{chunk-3UONR5HW.js → chunk-3HC5F3P7.js} +1 -1
- package/dist/bundle/{chunk-VN7TKMOW.js → chunk-3YM4B2GT.js} +1 -1
- package/dist/bundle/{chunk-PCPOO5FS.js → chunk-434YFJAE.js} +2 -2
- package/dist/bundle/{chunk-CW6CPQHI.js → chunk-4HLQ2JGK.js} +4 -4
- package/dist/bundle/{chunk-RT7C3SSJ.js → chunk-4N7PP76S.js} +1 -1
- package/dist/bundle/{chunk-JJX4HKDV.js → chunk-52Y4ETKU.js} +4 -4
- package/dist/bundle/{chunk-BIKHHFD2.js → chunk-5HAUK3I4.js} +2166 -2760
- package/dist/bundle/{chunk-W2QDYMAM.js → chunk-5KYQ53EF.js} +13 -9
- package/dist/bundle/{chunk-BW5JEOBE.js → chunk-5TU7Y5UW.js} +12 -12
- package/dist/bundle/{chunk-P2JTVRGU.js → chunk-66ALX4ZI.js} +168 -168
- package/dist/bundle/{chunk-EPIA2UUM.js → chunk-676C2LE6.js} +12 -12
- package/dist/bundle/{chunk-BNEJKGG7.js → chunk-6CWL5BKG.js} +78 -76
- package/dist/bundle/{chunk-TDBVM2SS.js → chunk-6QYZP4E2.js} +3 -3
- package/dist/bundle/{chunk-JXSEH64A.js → chunk-6VK332XS.js} +3 -3
- package/dist/bundle/{chunk-W7M4JYEE.js → chunk-73MOMNLL.js} +1 -1
- package/dist/bundle/{chunk-K672XJ2P.js → chunk-7QPIUMUG.js} +12 -12
- package/dist/bundle/{chunk-CWCDCNXA.js → chunk-7UVDPRFK.js} +6 -6
- package/dist/bundle/{chunk-RMX2WPWS.js → chunk-A6EZK5RG.js} +4 -4
- package/dist/bundle/{chunk-ONJPUFLX.js → chunk-AC6VJNMJ.js} +1 -1
- package/dist/bundle/{chunk-QIK2IBJ4.js → chunk-ACI4YIEH.js} +23 -7
- package/dist/bundle/{chunk-UX4JZMA4.js → chunk-AIKFOBDO.js} +278 -59
- package/dist/bundle/{chunk-GCPO7T2X.js → chunk-ASBDFXLS.js} +3 -3
- package/dist/bundle/{chunk-O4ZBFATF.js → chunk-B32KZRQM.js} +12 -12
- package/dist/bundle/{chunk-5RVXXDN7.js → chunk-BBGJQMRI.js} +1 -1
- package/dist/bundle/chunk-BDKVOU3I.js +52 -0
- package/dist/bundle/{chunk-GCUOZ2OA.js → chunk-BP4FYANF.js} +6 -6
- package/dist/bundle/{chunk-XTCAWNBP.js → chunk-DCYFT3FR.js} +4 -4
- package/dist/bundle/{chunk-FPUGMDJV.js → chunk-DNCLQPOM.js} +1 -1
- package/dist/bundle/{chunk-PKW3TPNP.js → chunk-DSZYABYL.js} +38 -19
- package/dist/bundle/{chunk-6MDL2LZA.js → chunk-E745WZKY.js} +8 -8
- package/dist/bundle/chunk-EGTCQKHV.js +340 -0
- package/dist/bundle/chunk-EQG3PIH2.js +108 -0
- package/dist/bundle/{chunk-ZPZT46O6.js → chunk-ESN3W2MZ.js} +48 -12
- package/dist/bundle/{chunk-7U5X37TE.js → chunk-G46WJ7YO.js} +6 -6
- package/dist/bundle/{chunk-L6FM5RQY.js → chunk-G6PETRMV.js} +3 -3
- package/dist/bundle/chunk-GBHMT2IU.js +755 -0
- package/dist/bundle/{chunk-6QCBTBDA.js → chunk-GGMAIIVE.js} +1 -1
- package/dist/bundle/{chunk-6I4C4ZFT.js → chunk-GTKPMYK7.js} +2 -2
- package/dist/bundle/{chunk-N5YUHN6S.js → chunk-GWGHH56B.js} +12 -12
- package/dist/bundle/{chunk-5XO2AY6D.js → chunk-HC6VN5CO.js} +10 -10
- package/dist/bundle/{chunk-ARL2TTPZ.js → chunk-HP7A2ZOP.js} +9 -9
- package/dist/bundle/chunk-HZENBDW2.js +209 -0
- package/dist/bundle/{chunk-ST3ZB7LS.js → chunk-IANKXHSE.js} +1 -1
- package/dist/bundle/{chunk-GGKEQQME.js → chunk-ICPJT672.js} +13 -9
- package/dist/bundle/chunk-JQ54DYAQ.js +80 -0
- package/dist/bundle/chunk-K5JGJIV2.js +640 -0
- package/dist/bundle/{chunk-DYRISFHZ.js → chunk-KJ6USQDZ.js} +19 -9
- package/dist/bundle/{chunk-TMYZKDQ7.js → chunk-KKFY23AK.js} +65 -65
- package/dist/bundle/chunk-KQPUVXKX.js +84 -0
- package/dist/bundle/{chunk-BPSURRAD.js → chunk-KVJ3I7UL.js} +43 -64
- package/dist/bundle/{chunk-NXFKZFTC.js → chunk-KWU46LNK.js} +3 -3
- package/dist/bundle/chunk-KXJ3JEDH.js +2 -0
- package/dist/bundle/{chunk-YAA2D6RP.js → chunk-L75SMSJR.js} +5 -5
- package/dist/bundle/{chunk-OXPHJEJ2.js → chunk-LAYYO4WD.js} +3 -3
- package/dist/bundle/{chunk-6PIXP5IH.js → chunk-LEKKTJKK.js} +40 -26
- package/dist/bundle/{chunk-3AOESMW6.js → chunk-M7H4MCAX.js} +18 -259
- package/dist/bundle/{chunk-DZ6H3YJH.js → chunk-MAJJ4PG3.js} +19 -16
- package/dist/bundle/{chunk-G5VH4WUF.js → chunk-MQLPZBMQ.js} +2 -2
- package/dist/bundle/{chunk-3Z7CFQTI.js → chunk-N3JLO63O.js} +1 -1
- package/dist/bundle/{chunk-NMETTKCV.js → chunk-N46F72AF.js} +14 -14
- package/dist/bundle/{chunk-A3TUG2DP.js → chunk-NB7EOAUZ.js} +36 -1
- package/dist/bundle/{chunk-BRMV33MO.js → chunk-NEMX3UNN.js} +4 -4
- package/dist/bundle/{chunk-6CDMGT6Q.js → chunk-OBXQLFT5.js} +2 -2
- package/dist/bundle/{chunk-HH7GR6TN.js → chunk-OGNO35A2.js} +6 -6
- package/dist/bundle/{chunk-Q6MISDKJ.js → chunk-OIPYBF43.js} +3 -3
- package/dist/bundle/{chunk-6LY4LBSD.js → chunk-OO4TRVPB.js} +7 -7
- package/dist/bundle/{chunk-CHEHK6IW.js → chunk-OQFQ77AY.js} +214 -118
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-Q5LUGY2V.js → chunk-PMUPN6JW.js} +9 -9
- package/dist/bundle/chunk-PSKTMMCO.js +561 -0
- package/dist/bundle/{chunk-U5N2PKKM.js → chunk-PWVJUIDQ.js} +2 -2
- package/dist/bundle/{chunk-475P3LWG.js → chunk-Q7ICVP25.js} +1 -1
- package/dist/bundle/{chunk-JGSVWLL2.js → chunk-QG6PILDO.js} +2 -2
- package/dist/bundle/{chunk-5K54M6RD.js → chunk-QPHBK63S.js} +1 -1
- package/dist/bundle/{chunk-RFXJLG5V.js → chunk-QVSL5WJ7.js} +5173 -3077
- package/dist/bundle/{chunk-IQWBGMCR.js → chunk-QVYAV7F2.js} +4 -4
- package/dist/bundle/{chunk-XIHENZW6.js → chunk-R2B6PUVI.js} +4 -4
- package/dist/bundle/{chunk-MH4L5LL6.js → chunk-RQOZBTNI.js} +16 -3
- package/dist/bundle/{chunk-FSLR2YGR.js → chunk-T7IAWEBU.js} +7 -7
- package/dist/bundle/{chunk-D4HKTC2T.js → chunk-TKNM22OH.js} +2 -2
- package/dist/bundle/{chunk-EI37UXDR.js → chunk-TKVBFJ5C.js} +1 -1
- package/dist/bundle/{chunk-O3DYRCIT.js → chunk-TXDR6YSF.js} +1 -1
- package/dist/bundle/{chunk-CWXOXIWS.js → chunk-TY7NDMFY.js} +1 -1
- package/dist/bundle/{chunk-Z3CPZ4I4.js → chunk-UAWSINMC.js} +306 -306
- package/dist/bundle/{chunk-4F7Q5CET.js → chunk-UKAAAOPC.js} +31 -180
- package/dist/bundle/{chunk-XL4ND7CZ.js → chunk-UL2PXLKT.js} +26 -26
- package/dist/bundle/{chunk-GRYXOSN6.js → chunk-UQCTXZEP.js} +10 -10
- package/dist/bundle/{chunk-E3JVLVVB.js → chunk-UR5DBODY.js} +37 -30
- package/dist/bundle/{chunk-SUG6YGAF.js → chunk-V5EJSF2B.js} +237 -167
- package/dist/bundle/{chunk-HGSBLY6M.js → chunk-VB72LTSZ.js} +12 -12
- package/dist/bundle/{chunk-2XZ2YKW4.js → chunk-VB7FZOYX.js} +2 -100
- package/dist/bundle/{chunk-PMO2Z6DQ.js → chunk-VS6WURLX.js} +3 -3
- package/dist/bundle/{chunk-5QXQIZJY.js → chunk-VZ5PPYDG.js} +3 -4
- package/dist/bundle/{chunk-YR5TRWT2.js → chunk-W5QHB53X.js} +287 -580
- package/dist/bundle/{chunk-2P6MQH4V.js → chunk-WMANRJR5.js} +6 -6
- package/dist/bundle/chunk-WOPVBRPV.js +29 -0
- package/dist/bundle/{chunk-W32HK7KG.js → chunk-XQ2WL3HB.js} +2 -2
- package/dist/bundle/{chunk-FIJREKLA.js → chunk-XQQVMECZ.js} +3 -3
- package/dist/bundle/{chunk-75JW7X2W.js → chunk-Y6PVS55U.js} +71 -61
- package/dist/bundle/{chunk-EMYRUJCV.js → chunk-YJXJJ2XP.js} +8 -8
- package/dist/bundle/{chunk-L2TURFT6.js → chunk-YY7XKHDY.js} +10 -3
- package/dist/bundle/chunk-ZED2CJW5.js +353 -0
- package/dist/bundle/chunk-ZOYOXWJB.js +746 -0
- package/dist/bundle/{cli-QNBYDOKV.js → cli-U4O5XB7J.js} +171 -124
- package/dist/bundle/command-contract-FBTK6GQX.js +45 -0
- package/dist/bundle/{command-server-entry-WMA4SWJ5.js → command-server-entry-KKH6ZWJV.js} +35 -35
- package/dist/bundle/config-FRJSIZNN.js +118 -0
- package/dist/bundle/{decode-7PXUXNIP.js → decode-TPCNXEK4.js} +6 -6
- package/dist/bundle/{dispatch-AWDROXWN.js → dispatch-FKMIPCPQ.js} +9 -9
- package/dist/bundle/{dist-TSBH4FOU.js → dist-7CLBCYZN.js} +23 -21
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{echarts-WIDIUEO6.js → echarts-O3TNDAXJ.js} +2 -2
- package/dist/bundle/{embed-EIRVQF5E.js → embed-WCJSFVSK.js} +7 -7
- package/dist/bundle/{embedder-MXPM6OXK.js → embedder-TBBUPXBX.js} +10 -10
- package/dist/bundle/{failure-JZW73RP7.js → failure-XTWBYI2A.js} +3 -3
- package/dist/bundle/first-run-ELEMFW42.js +29 -0
- package/dist/bundle/first-screen-DIOBWMKP.js +46 -0
- package/dist/bundle/{folders-TGFOE7DY.js → folders-LXOL4N4S.js} +5 -5
- package/dist/bundle/{instructions-D5LNE6NJ.js → instructions-AMH5RWVJ.js} +1 -1
- package/dist/bundle/{main-OHW5Z56X.js → main-YAA7WQ23.js} +24 -24
- package/dist/bundle/{mcp-RGNRW77S.js → mcp-5HFPWC3W.js} +2 -2
- package/dist/bundle/meeting-combined-UXCF4SJ3.js +26 -0
- package/dist/bundle/meeting-model-3BZJ3EQP.js +26 -0
- package/dist/bundle/{meeting-semantic-FYOVY4S2.js → meeting-semantic-3HU7I2SJ.js} +8 -8
- package/dist/bundle/{meetings-WI4SXPBJ.js → meetings-XWMB6FOH.js} +7 -7
- package/dist/bundle/{node-UEWUFR7N.js → node-EGMCBAO7.js} +2 -2
- package/dist/bundle/{node-sqlite-FJWKJHYU.js → node-sqlite-IJBWENFX.js} +8 -8
- package/dist/bundle/oauth-SZDDAP7A.js +20 -0
- package/dist/bundle/{open-EFYTWUGC.js → open-NS3TMKZX.js} +6 -6
- package/dist/bundle/openai-4DN6WI3B.js +28 -0
- package/dist/bundle/{output-file-J4SU6X4I.js → output-file-2UB5JP3R.js} +6 -6
- package/dist/bundle/{process-U5PLNIDC.js → process-SGHEN6MQ.js} +1 -1
- package/dist/bundle/{program-3JICCSA6.js → program-GVCGZP27.js} +170 -160
- package/dist/bundle/{prompt-YPDMSOKC.js → prompt-HJFMPFVC.js} +6 -6
- package/dist/bundle/public-C2ZB2AGQ.js +198 -0
- package/dist/bundle/{recognize-Z2SSWUKH.js → recognize-2SEI5PPM.js} +5 -5
- package/dist/bundle/{remote-R5HMDHOG.js → remote-2DMS74XE.js} +11 -11
- package/dist/bundle/{rerank-6NGBEMQ2.js → rerank-H6GCYVIA.js} +8 -8
- package/dist/bundle/run-log-QU26SUZP.js +145 -0
- package/dist/bundle/{serve-CU3RMWU7.js → serve-ODVRPFJO.js} +11 -11
- package/dist/bundle/server-NBPF6IDZ.js +95 -0
- package/dist/bundle/{server-SOQSVX2Q.js → server-PCLIO24L.js} +82 -69
- package/dist/bundle/{services-LROZ3RDT.js → services-4QAPXBLO.js} +60 -54
- package/dist/bundle/{speech-AS77HFIF.js → speech-MA6ZT3WE.js} +28 -28
- package/dist/bundle/{sqlite-runtime-U25NS6BK.js → sqlite-runtime-PVMAUXRN.js} +7 -7
- package/dist/bundle/{state-CPEVKK66.js → state-QFMTYUME.js} +7 -7
- package/dist/bundle/{store-6CHRMJM7.js → store-25OTAQC3.js} +31 -24
- package/dist/bundle/{store-QKHCZOYR.js → store-F724QIKJ.js} +34 -26
- package/dist/bundle/store-connection-OGPXANGB.js +111 -0
- package/dist/bundle/store-maintenance-command-2CM7LLNQ.js +83 -0
- package/dist/bundle/{streaming-VDJOYGMO.js → streaming-S22C4DG5.js} +7 -7
- package/dist/bundle/surface-7PXHWCF6.js +81 -0
- package/dist/bundle/{tokens-JBN2OHQB.js → tokens-NLUHA2DW.js} +11 -10
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-Q4IKYNG3.js → zoom-app-YWFB367P.js} +8 -8
- package/dist/commands.d.ts +1 -0
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +8 -2
- package/dist/commands.js.map +1 -1
- package/dist/setup-commands.d.ts +1 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +31 -5
- package/dist/setup-commands.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/zoom-api/types.d.ts +5 -0
- package/dist/zoom-api/types.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/bundle/answer-policy-7PYXHK2I.js +0 -122
- package/dist/bundle/chunk-3BTRJYIT.js +0 -729
- package/dist/bundle/chunk-M4LAF627.js +0 -719
- package/dist/bundle/command-contract-CT6MV6YG.js +0 -45
- package/dist/bundle/config-ZFQFDEVL.js +0 -109
- package/dist/bundle/first-run-K6EHRAIM.js +0 -29
- package/dist/bundle/first-screen-C6AF4KT4.js +0 -45
- package/dist/bundle/meeting-combined-3OKFXZNA.js +0 -26
- package/dist/bundle/meeting-model-4XNF725D.js +0 -26
- package/dist/bundle/oauth-KOONTGLW.js +0 -20
- package/dist/bundle/openai-6Y2JRDNY.js +0 -28
- package/dist/bundle/run-log-LG3TI3WI.js +0 -136
- package/dist/bundle/server-X7JYRMKX.js +0 -85
- package/dist/bundle/store-connection-FCDVOPWB.js +0 -102
- package/dist/bundle/store-maintenance-command-6HVOAHOZ.js +0 -77
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
resolvePaths,
|
|
6
6
|
traceIdOf,
|
|
7
7
|
writeSecurely
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6CWL5BKG.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
15
15
|
import { appendFileSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
16
16
|
import { userInfo } from "node:os";
|
|
17
17
|
import { join, sep } from "node:path";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
20
20
|
var snake = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
21
21
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
22
22
|
var renamed = /* @__PURE__ */ __name((record, name) => Object.fromEntries(Object.entries(record).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -29,7 +29,7 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
29
29
|
error: /* @__PURE__ */ __name((event, message) => logger.error(logAttributes(event), message), "error")
|
|
30
30
|
}), "snakeLogger");
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
33
33
|
var diagnostic = {
|
|
34
34
|
event: true,
|
|
35
35
|
operation: true,
|
|
@@ -103,7 +103,7 @@ var LOG_ATTRIBUTES = [
|
|
|
103
103
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
104
104
|
].sort();
|
|
105
105
|
|
|
106
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
106
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
107
107
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
108
108
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
109
109
|
var KEEP_STORE_RUNS_FOR_DAYS = 3;
|
|
@@ -470,7 +470,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
470
470
|
};
|
|
471
471
|
}, "metadataOf");
|
|
472
472
|
|
|
473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
473
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
474
474
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
475
475
|
import { randomBytes } from "node:crypto";
|
|
476
476
|
var scopes = new AsyncLocalStorage();
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
__name
|
|
5
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
6
|
+
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/commander-internals.js
|
|
8
|
+
var internals = /* @__PURE__ */ __name((command) => command, "internals");
|
|
9
|
+
var hasOwnAction = /* @__PURE__ */ __name((command) => internals(command)._actionHandler != null, "hasOwnAction");
|
|
10
|
+
var isHidden = /* @__PURE__ */ __name((command) => internals(command)._hidden === true, "isHidden");
|
|
11
|
+
var hide = /* @__PURE__ */ __name((command) => {
|
|
12
|
+
internals(command)._hidden = true;
|
|
13
|
+
}, "hide");
|
|
14
|
+
var helpOptionOf = /* @__PURE__ */ __name((command) => internals(command)._getHelpOption(), "helpOptionOf");
|
|
15
|
+
var rejectUnknownOption = /* @__PURE__ */ __name((command, flag) => internals(command).unknownOption(flag), "rejectUnknownOption");
|
|
16
|
+
var onUnknownOption = /* @__PURE__ */ __name((command, handle) => {
|
|
17
|
+
const own = internals(command);
|
|
18
|
+
const fallback = own.unknownOption.bind(command);
|
|
19
|
+
own.unknownOption = (flag) => handle(flag, fallback);
|
|
20
|
+
}, "onUnknownOption");
|
|
21
|
+
|
|
22
|
+
export {
|
|
23
|
+
hasOwnAction,
|
|
24
|
+
isHidden,
|
|
25
|
+
hide,
|
|
26
|
+
helpOptionOf,
|
|
27
|
+
rejectUnknownOption,
|
|
28
|
+
onUnknownOption
|
|
29
|
+
};
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
parseReference
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DSZYABYL.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/links.js
|
|
11
11
|
var LINK_VERSION = "v1";
|
|
12
12
|
var DEFAULT_LINK_CONFIG = { base: "https://wirecat.dev/o", enabled: true };
|
|
13
13
|
var APP_PREFIX = "wirecat://open";
|
|
@@ -2,13 +2,13 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
checkCancelled
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-434YFJAE.js";
|
|
6
6
|
import {
|
|
7
7
|
createOutputBuffer
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6CWL5BKG.js";
|
|
9
9
|
import {
|
|
10
10
|
CliError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IANKXHSE.js";
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
14
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
CHART_KINDS,
|
|
5
|
+
CHART_SIZE,
|
|
6
|
+
chartAnswer,
|
|
7
|
+
chartPng,
|
|
8
|
+
chartRenderer,
|
|
9
|
+
chatChart,
|
|
10
|
+
keepRefreshedRefs,
|
|
11
|
+
mcpUrlOf,
|
|
12
|
+
refuseWriteBeforeConnecting,
|
|
13
|
+
registerPrompts,
|
|
14
|
+
syncsFirst
|
|
15
|
+
} from "./chunk-UR5DBODY.js";
|
|
16
|
+
import {
|
|
17
|
+
skillResources
|
|
18
|
+
} from "./chunk-M7H4MCAX.js";
|
|
19
|
+
import {
|
|
20
|
+
StdioServerTransport,
|
|
21
|
+
answeredWire,
|
|
22
|
+
serveStdio
|
|
23
|
+
} from "./chunk-VB7FZOYX.js";
|
|
24
|
+
import {
|
|
25
|
+
runCommandForAgent,
|
|
26
|
+
toolsFromCommands
|
|
27
|
+
} from "./chunk-W5QHB53X.js";
|
|
28
|
+
import {
|
|
29
|
+
instructions
|
|
30
|
+
} from "./chunk-2XBDILVW.js";
|
|
3
31
|
import {
|
|
4
32
|
BinaryResource,
|
|
5
33
|
Picture,
|
|
@@ -14,71 +42,53 @@ import {
|
|
|
14
42
|
outcomeOf,
|
|
15
43
|
outputOf,
|
|
16
44
|
registerCommands,
|
|
17
|
-
runCommandForAgent,
|
|
18
45
|
surfaceCommands,
|
|
19
46
|
tierOf,
|
|
20
47
|
tool,
|
|
21
|
-
toolKey
|
|
22
|
-
|
|
23
|
-
} from "./chunk-YR5TRWT2.js";
|
|
48
|
+
toolKey
|
|
49
|
+
} from "./chunk-PSKTMMCO.js";
|
|
24
50
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
chartAnswer,
|
|
28
|
-
chartPng,
|
|
29
|
-
chartRenderer,
|
|
30
|
-
chatChart,
|
|
31
|
-
keepRefreshedRefs,
|
|
32
|
-
mcpUrlOf,
|
|
33
|
-
refuseWriteBeforeConnecting,
|
|
34
|
-
registerPrompts,
|
|
35
|
-
syncsFirst
|
|
36
|
-
} from "./chunk-E3JVLVVB.js";
|
|
37
|
-
import {
|
|
38
|
-
agentJson,
|
|
39
|
-
skillResources
|
|
40
|
-
} from "./chunk-3AOESMW6.js";
|
|
51
|
+
agentJson
|
|
52
|
+
} from "./chunk-HZENBDW2.js";
|
|
41
53
|
import {
|
|
42
|
-
|
|
43
|
-
|
|
54
|
+
callerOf,
|
|
55
|
+
callingAgent
|
|
56
|
+
} from "./chunk-EQG3PIH2.js";
|
|
44
57
|
import {
|
|
45
58
|
mcpHttpMarker
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import {
|
|
48
|
-
StdioServerTransport,
|
|
49
|
-
answeredWire,
|
|
50
|
-
callerOf,
|
|
51
|
-
callingAgent,
|
|
52
|
-
serveStdio
|
|
53
|
-
} from "./chunk-2XZ2YKW4.js";
|
|
59
|
+
} from "./chunk-DCYFT3FR.js";
|
|
54
60
|
import {
|
|
55
61
|
McpServer,
|
|
56
62
|
ResourceTemplate
|
|
57
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-PL5P7UKW.js";
|
|
58
64
|
import {
|
|
59
65
|
connectedFor
|
|
60
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-UKAAAOPC.js";
|
|
61
67
|
import {
|
|
62
|
-
lackedNeed,
|
|
63
68
|
wholeList
|
|
64
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-ZED2CJW5.js";
|
|
70
|
+
import {
|
|
71
|
+
lackedNeed
|
|
72
|
+
} from "./chunk-KQPUVXKX.js";
|
|
65
73
|
import {
|
|
66
|
-
capability,
|
|
67
|
-
dateWindow,
|
|
68
74
|
guardFor,
|
|
69
75
|
imageSize,
|
|
70
76
|
servicesFor,
|
|
71
77
|
storedDeps
|
|
72
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-QVSL5WJ7.js";
|
|
79
|
+
import {
|
|
80
|
+
capability,
|
|
81
|
+
dateWindow
|
|
82
|
+
} from "./chunk-GBHMT2IU.js";
|
|
73
83
|
import {
|
|
74
84
|
warmEmbedders
|
|
75
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-KVJ3I7UL.js";
|
|
76
86
|
import {
|
|
77
87
|
stdinFieldOf
|
|
78
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-Q7ICVP25.js";
|
|
79
89
|
import {
|
|
80
90
|
findCommand
|
|
81
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-L75SMSJR.js";
|
|
82
92
|
import {
|
|
83
93
|
DEFAULT_OUTPUT_BYTES,
|
|
84
94
|
changesAuthorityAt,
|
|
@@ -92,31 +102,31 @@ import {
|
|
|
92
102
|
rootOf2 as rootOf,
|
|
93
103
|
sealed,
|
|
94
104
|
snakeKeys
|
|
95
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-V5EJSF2B.js";
|
|
96
106
|
import {
|
|
97
107
|
readOnlyLockOf
|
|
98
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-TKNM22OH.js";
|
|
99
109
|
import {
|
|
100
110
|
withCaller
|
|
101
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-T7IAWEBU.js";
|
|
102
112
|
import {
|
|
103
113
|
fetchesAt,
|
|
104
114
|
levelFor,
|
|
105
115
|
readKeysForCommand
|
|
106
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-KJ6USQDZ.js";
|
|
107
117
|
import {
|
|
108
118
|
openStore,
|
|
109
119
|
pdfPreviewLimits
|
|
110
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-2GP573Q4.js";
|
|
111
121
|
import {
|
|
112
122
|
typedCommand
|
|
113
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-WMANRJR5.js";
|
|
114
124
|
import {
|
|
115
125
|
isCliFailure
|
|
116
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-GTKPMYK7.js";
|
|
117
127
|
import {
|
|
118
128
|
timezoneOf
|
|
119
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-UAWSINMC.js";
|
|
120
130
|
import {
|
|
121
131
|
description,
|
|
122
132
|
errorObjectOf,
|
|
@@ -133,21 +143,21 @@ import {
|
|
|
133
143
|
regex,
|
|
134
144
|
strictObject,
|
|
135
145
|
string
|
|
136
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-ESN3W2MZ.js";
|
|
137
147
|
import {
|
|
138
148
|
CliError
|
|
139
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-IANKXHSE.js";
|
|
140
150
|
import {
|
|
141
151
|
visibleControls
|
|
142
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-BBGJQMRI.js";
|
|
143
153
|
import {
|
|
144
154
|
__name
|
|
145
155
|
} from "./chunk-ZVVMGPBJ.js";
|
|
146
156
|
|
|
147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
157
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
148
158
|
import { randomUUID } from "node:crypto";
|
|
149
159
|
|
|
150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
160
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
|
|
151
161
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
152
162
|
let held;
|
|
153
163
|
return {
|
|
@@ -166,7 +176,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
166
176
|
};
|
|
167
177
|
}, "agentLog");
|
|
168
178
|
|
|
169
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
179
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/resources.js
|
|
170
180
|
var LISTED = 100;
|
|
171
181
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
172
182
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -204,7 +214,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
204
214
|
});
|
|
205
215
|
}, "registerResources");
|
|
206
216
|
|
|
207
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
217
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/session.js
|
|
208
218
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
209
219
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
210
220
|
var MessengerSession = class {
|
|
@@ -279,7 +289,7 @@ var MessengerSession = class {
|
|
|
279
289
|
}
|
|
280
290
|
};
|
|
281
291
|
|
|
282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
292
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
|
|
283
293
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
284
294
|
const _command = messenger.app.command;
|
|
285
295
|
return {
|
|
@@ -333,7 +343,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
333
343
|
};
|
|
334
344
|
}, "attachmentsTools");
|
|
335
345
|
|
|
336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
346
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
|
|
337
347
|
var PHOTO_LIMIT = 512 * 1024;
|
|
338
348
|
var IMAGE_TYPES = [
|
|
339
349
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -389,7 +399,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
389
399
|
return new Uint8Array(Buffer.concat(chunks));
|
|
390
400
|
}, "readUpTo");
|
|
391
401
|
|
|
392
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
402
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
|
|
393
403
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
394
404
|
stats_charts: tool({
|
|
395
405
|
title: "A chart from a chat's statistics",
|
|
@@ -426,14 +436,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
426
436
|
})
|
|
427
437
|
}), "statsTools");
|
|
428
438
|
|
|
429
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
439
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/tools.js
|
|
430
440
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
431
441
|
...messagesPhotoTools(messenger),
|
|
432
442
|
...attachmentsTools(messenger),
|
|
433
443
|
...statsTools(messenger)
|
|
434
444
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
435
445
|
|
|
436
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
446
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
437
447
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
438
448
|
"streams",
|
|
439
449
|
"stdin",
|
|
@@ -749,7 +759,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
749
759
|
}, "serveOverStdio");
|
|
750
760
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
751
761
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
752
|
-
const { serveOverHttp } = await import("./serve-
|
|
762
|
+
const { serveOverHttp } = await import("./serve-ODVRPFJO.js");
|
|
753
763
|
const appName = messenger.app.command;
|
|
754
764
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
755
765
|
const listening = await serveOverHttp(build, {
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
normalize
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2JHVQMVC.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IANKXHSE.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/search/languages.js
|
|
14
14
|
var LANGUAGES = [
|
|
15
15
|
{ name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
|
|
16
16
|
{ name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
|
|
@@ -18,7 +18,7 @@ var LANGUAGES = [
|
|
|
18
18
|
];
|
|
19
19
|
var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
|
|
22
22
|
var BaseStemmer = class {
|
|
23
23
|
static {
|
|
24
24
|
__name(this, "BaseStemmer");
|
|
@@ -393,7 +393,7 @@ var BaseStemmer = class {
|
|
|
393
393
|
}
|
|
394
394
|
};
|
|
395
395
|
|
|
396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
396
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
|
|
397
397
|
var a_0 = [
|
|
398
398
|
["arsen", -1],
|
|
399
399
|
["commun", -1],
|
|
@@ -1094,7 +1094,7 @@ var english_stemmer_default = class extends BaseStemmer {
|
|
|
1094
1094
|
stemWord = this.stem;
|
|
1095
1095
|
};
|
|
1096
1096
|
|
|
1097
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1097
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
|
|
1098
1098
|
var a_02 = [
|
|
1099
1099
|
["\u0432", 1],
|
|
1100
1100
|
["\u0438\u0432", 2, 1],
|
|
@@ -1517,7 +1517,7 @@ var russian_stemmer_default = class extends BaseStemmer {
|
|
|
1517
1517
|
stemWord = this.stem;
|
|
1518
1518
|
};
|
|
1519
1519
|
|
|
1520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1520
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
|
|
1521
1521
|
var a_03 = [
|
|
1522
1522
|
["", 6],
|
|
1523
1523
|
["\xE1", 1, 1],
|
|
@@ -2193,7 +2193,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
|
|
|
2193
2193
|
stemWord = this.stem;
|
|
2194
2194
|
};
|
|
2195
2195
|
|
|
2196
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2196
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/search/stem.js
|
|
2197
2197
|
var SNOWBALL_VERSION = "3.1.1";
|
|
2198
2198
|
var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
|
|
2199
2199
|
var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
|
|
@@ -3,16 +3,16 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
QUERY_LIMITS,
|
|
5
5
|
queryError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UAWSINMC.js";
|
|
7
7
|
import {
|
|
8
8
|
CliError,
|
|
9
9
|
isCliError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IANKXHSE.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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/search/lucene/types.js
|
|
16
16
|
var QUERY_VERSION = 1;
|
|
17
17
|
var QUERY_LIMITS2 = {
|
|
18
18
|
...QUERY_LIMITS,
|
|
@@ -41,6 +41,12 @@ function outOfTime(limitMs = QUERY_LIMITS2.milliseconds) {
|
|
|
41
41
|
}
|
|
42
42
|
__name(outOfTime, "outOfTime");
|
|
43
43
|
var isQueryLimit = /* @__PURE__ */ __name((error) => isCliError(error) && (error.details.reason === "query.too-large" || error.details.reason === "query.time-limit"), "isQueryLimit");
|
|
44
|
+
var SQLITE_TOO_LARGE = /nested too deep|too many terms in compound SELECT|Expression tree is too large|parser stack overflow/;
|
|
45
|
+
var sqliteLimit = /* @__PURE__ */ __name((error) => {
|
|
46
|
+
if (error instanceof Error && SQLITE_TOO_LARGE.test(error.message))
|
|
47
|
+
exhausted("nodes");
|
|
48
|
+
return error;
|
|
49
|
+
}, "sqliteLimit");
|
|
44
50
|
function exhausted(budget) {
|
|
45
51
|
throw new CliError("validation_error", `search exceeded its ${budget} budget \u2014 narrow the chat or date range`, {
|
|
46
52
|
reason: "query.too-large",
|
|
@@ -67,6 +73,7 @@ export {
|
|
|
67
73
|
searchTimeLimit,
|
|
68
74
|
outOfTime,
|
|
69
75
|
isQueryLimit,
|
|
76
|
+
sqliteLimit,
|
|
70
77
|
exhausted,
|
|
71
78
|
tooWideTerm
|
|
72
79
|
};
|