@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
|
@@ -2,17 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
refuseLacking
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KQPUVXKX.js";
|
|
6
6
|
import {
|
|
7
7
|
servingProfiles
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RQOZBTNI.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_PACE,
|
|
11
11
|
FloodMemory,
|
|
12
12
|
OFFLINE,
|
|
13
13
|
Pacer,
|
|
14
14
|
RecipientList,
|
|
15
|
-
capability,
|
|
16
15
|
ceilingRefusal,
|
|
17
16
|
chatIdIn,
|
|
18
17
|
floodPathFor,
|
|
@@ -21,195 +20,56 @@ import {
|
|
|
21
20
|
pacePathFor,
|
|
22
21
|
profilesOnAccount,
|
|
23
22
|
recipientsPathFor,
|
|
23
|
+
refuseUnknownPermissionKeys,
|
|
24
24
|
servicesFor,
|
|
25
|
-
|
|
25
|
+
terminalAsker,
|
|
26
26
|
waitForTurn
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-QVSL5WJ7.js";
|
|
28
|
+
import {
|
|
29
|
+
capability,
|
|
30
|
+
throughWrapper
|
|
31
|
+
} from "./chunk-GBHMT2IU.js";
|
|
28
32
|
import {
|
|
29
33
|
asFirstWord,
|
|
30
34
|
baseContext,
|
|
31
35
|
codeOf,
|
|
32
36
|
currentOperation,
|
|
33
37
|
environmentOf,
|
|
34
|
-
issueMessage,
|
|
35
38
|
limitBatch,
|
|
36
|
-
permissionIssues,
|
|
37
|
-
publicIssue,
|
|
38
39
|
recalledAccount,
|
|
39
40
|
rememberAccount,
|
|
40
41
|
rootOf2 as rootOf
|
|
41
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-V5EJSF2B.js";
|
|
42
43
|
import {
|
|
43
44
|
providerErrorKey
|
|
44
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-T7IAWEBU.js";
|
|
45
46
|
import {
|
|
46
|
-
AUTHORITY_KEY,
|
|
47
47
|
CEILING_KEY,
|
|
48
|
-
DEFAULT_PERMISSIONS,
|
|
49
|
-
KEYED_UNDER_HOUSEKEEPING,
|
|
50
|
-
WRITE_KEYS,
|
|
51
48
|
fetchesUnder,
|
|
52
|
-
keyForCommand,
|
|
53
49
|
levelFor,
|
|
54
|
-
readKeysForCommand
|
|
55
|
-
|
|
56
|
-
} from "./chunk-DYRISFHZ.js";
|
|
50
|
+
readKeysForCommand
|
|
51
|
+
} from "./chunk-KJ6USQDZ.js";
|
|
57
52
|
import {
|
|
58
53
|
openStore
|
|
59
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-2GP573Q4.js";
|
|
60
55
|
import {
|
|
61
56
|
chatReferenceOf,
|
|
62
57
|
ensureAccount,
|
|
63
58
|
foldName,
|
|
64
59
|
isId,
|
|
65
60
|
pickPerson
|
|
66
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-LEKKTJKK.js";
|
|
67
62
|
import {
|
|
68
63
|
isCliFailure
|
|
69
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-GTKPMYK7.js";
|
|
70
65
|
import {
|
|
71
66
|
CliError
|
|
72
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-IANKXHSE.js";
|
|
73
68
|
import {
|
|
74
69
|
__name
|
|
75
70
|
} from "./chunk-ZVVMGPBJ.js";
|
|
76
71
|
|
|
77
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
78
|
-
import { openSync } from "node:fs";
|
|
79
|
-
import { createInterface } from "node:readline";
|
|
80
|
-
import { ReadStream } from "node:tty";
|
|
81
|
-
var fromTerminal = /* @__PURE__ */ __name(async (question) => {
|
|
82
|
-
if (!process.stdin.isTTY || !process.stderr.isTTY)
|
|
83
|
-
return null;
|
|
84
|
-
let input;
|
|
85
|
-
try {
|
|
86
|
-
input = new ReadStream(openSync("/dev/tty", "r"));
|
|
87
|
-
} catch {
|
|
88
|
-
return null;
|
|
89
|
-
}
|
|
90
|
-
const reader = createInterface({ input, output: process.stderr, terminal: true });
|
|
91
|
-
try {
|
|
92
|
-
return await new Promise((resolve, reject) => {
|
|
93
|
-
const cancel = /* @__PURE__ */ __name(() => reject(new CliError("cancelled", "cancelled \u2014 nothing was done")), "cancel");
|
|
94
|
-
reader.once("SIGINT", cancel);
|
|
95
|
-
reader.once("close", cancel);
|
|
96
|
-
reader.question(question, resolve);
|
|
97
|
-
});
|
|
98
|
-
} finally {
|
|
99
|
-
reader.close();
|
|
100
|
-
input.destroy();
|
|
101
|
-
}
|
|
102
|
-
}, "fromTerminal");
|
|
103
|
-
var what = /* @__PURE__ */ __name((key, { chatId, count, personIds, forEveryone }) => [
|
|
104
|
-
key,
|
|
105
|
-
forEveryone ? "for everyone" : void 0,
|
|
106
|
-
count !== void 0 ? `${count} ${count === 1 ? "item" : "items"}` : void 0,
|
|
107
|
-
personIds?.length ? `${personIds.length} ${personIds.length === 1 ? "person" : "people"}` : void 0,
|
|
108
|
-
chatId !== null ? `in chat ${chatId}` : void 0
|
|
109
|
-
].filter(Boolean).join(", "), "what");
|
|
110
|
-
var answerOf = /* @__PURE__ */ __name(async (command, question) => {
|
|
111
|
-
const given = command.optsWithGlobals();
|
|
112
|
-
if (given.json === true || given.jsonl === true)
|
|
113
|
-
return null;
|
|
114
|
-
return (environmentOf(command).answer ?? fromTerminal)(question);
|
|
115
|
-
}, "answerOf");
|
|
116
|
-
var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) => {
|
|
117
|
-
if (environmentOf(command).agent)
|
|
118
|
-
return;
|
|
119
|
-
const flag = skipFlagFor(key);
|
|
120
|
-
const given = command.optsWithGlobals();
|
|
121
|
-
if (flag === "--yes" ? given.yes === true : given.allowDangerous === true)
|
|
122
|
-
return;
|
|
123
|
-
const machine = given.json === true || given.jsonl === true;
|
|
124
|
-
const answer = machine ? null : await (environmentOf(command).answer ?? fromTerminal)(`${what(key, request)} \u2014 go ahead? [y/N] `);
|
|
125
|
-
if (answer === null) {
|
|
126
|
-
throw new CliError("confirmation_required", `${key} asks before it acts (its permission level is ask), and nobody is at a terminal to answer \u2014 add ${flag} to go ahead`, { permission: key });
|
|
127
|
-
}
|
|
128
|
-
if (!/^\s*y(es)?\s*$/i.test(answer))
|
|
129
|
-
throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
|
|
130
|
-
}, "terminalAsker");
|
|
131
|
-
|
|
132
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
|
|
133
|
-
var HOUSEKEEPING = /* @__PURE__ */ new Set([
|
|
134
|
-
"help",
|
|
135
|
-
"guide",
|
|
136
|
-
"config",
|
|
137
|
-
"session",
|
|
138
|
-
"doctor",
|
|
139
|
-
"commands",
|
|
140
|
-
"complete",
|
|
141
|
-
"upgrade",
|
|
142
|
-
"skill",
|
|
143
|
-
"mcp",
|
|
144
|
-
"runs"
|
|
145
|
-
]);
|
|
146
|
-
var commandPathKey = /* @__PURE__ */ __name((path) => path[0] === void 0 || HOUSEKEEPING.has(path[0]) && !KEYED_UNDER_HOUSEKEEPING.has(path.join(".")) ? null : path.join("."), "commandPathKey");
|
|
147
|
-
var commandPermissions = /* @__PURE__ */ __name(({ keyOf = commandPathKey, extra = [], defaults = {}, alsoChecks } = {}) => ({
|
|
148
|
-
keyOf,
|
|
149
|
-
extra: [AUTHORITY_KEY, ...extra],
|
|
150
|
-
defaults: { ...DEFAULT_PERMISSIONS, ...defaults },
|
|
151
|
-
...alsoChecks ? { alsoChecks } : {}
|
|
152
|
-
}), "commandPermissions");
|
|
153
|
-
var pathOf = /* @__PURE__ */ __name((command) => {
|
|
154
|
-
const words = [];
|
|
155
|
-
for (let at = command; at?.parent; at = at.parent)
|
|
156
|
-
words.unshift(at.name());
|
|
157
|
-
return words;
|
|
158
|
-
}, "pathOf");
|
|
159
|
-
var rootOf2 = /* @__PURE__ */ __name((command) => {
|
|
160
|
-
let at = command;
|
|
161
|
-
while (at.parent)
|
|
162
|
-
at = at.parent;
|
|
163
|
-
return at;
|
|
164
|
-
}, "rootOf");
|
|
165
|
-
var everyCommand = /* @__PURE__ */ __name((command) => [command, ...command.commands.flatMap(everyCommand)], "everyCommand");
|
|
166
|
-
var knownPermissionKeys = /* @__PURE__ */ __name((command, keyOf = (one) => keyForCommand(pathOf(one)), extra = []) => {
|
|
167
|
-
const known = /* @__PURE__ */ new Set();
|
|
168
|
-
const add = /* @__PURE__ */ __name((key) => {
|
|
169
|
-
for (let parts = key.split("."); parts.length > 0; parts = parts.slice(0, -1))
|
|
170
|
-
known.add(parts.join("."));
|
|
171
|
-
}, "add");
|
|
172
|
-
if (typeof keyOf !== "function") {
|
|
173
|
-
for (const one of everyCommand(rootOf2(command))) {
|
|
174
|
-
const key = keyOf.keyOf(pathOf(one));
|
|
175
|
-
if (key)
|
|
176
|
-
add(key);
|
|
177
|
-
}
|
|
178
|
-
for (const key of [...keyOf.extra, ...extra])
|
|
179
|
-
add(key);
|
|
180
|
-
return known;
|
|
181
|
-
}
|
|
182
|
-
for (const one of everyCommand(rootOf2(command))) {
|
|
183
|
-
const own = keyOf(one);
|
|
184
|
-
const key = own === void 0 ? keyForCommand(pathOf(one)) : own;
|
|
185
|
-
if (key)
|
|
186
|
-
add(key);
|
|
187
|
-
}
|
|
188
|
-
for (const key of [...WRITE_KEYS, ...extra])
|
|
189
|
-
add(key);
|
|
190
|
-
return known;
|
|
191
|
-
}, "knownPermissionKeys");
|
|
192
|
-
var knownBeside = /* @__PURE__ */ __name((key, known) => {
|
|
193
|
-
const parent = key.split(".").slice(0, -1).join(".");
|
|
194
|
-
const depth = parent === "" ? 1 : parent.split(".").length + 1;
|
|
195
|
-
return [...known].filter((one) => one.split(".").length === depth && (parent === "" || one.startsWith(`${parent}.`))).sort();
|
|
196
|
-
}, "knownBeside");
|
|
197
|
-
var unknownPermissionKeys = /* @__PURE__ */ __name((levels, known) => Object.keys(levels).filter((key) => key !== CEILING_KEY && !known.has(key)), "unknownPermissionKeys");
|
|
198
|
-
var unknownPermissionIssues = /* @__PURE__ */ __name((command, settings, tool, keyOf) => {
|
|
199
|
-
const saved = settings.savedPermissions ?? Object.keys(settings.permissions).filter((key) => key !== CEILING_KEY && settings.permissionSources[key] !== "flag").map((key) => ({ key, at: ["profiles", settings.profile, "permissions", key] }));
|
|
200
|
-
return permissionIssues(saved, knownPermissionKeys(command, keyOf), { file: settings.configPath, tool }).map(publicIssue);
|
|
201
|
-
}, "unknownPermissionIssues");
|
|
202
|
-
var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, tool, keyOf) => {
|
|
203
|
-
const issues = unknownPermissionIssues(command, settings, tool, keyOf);
|
|
204
|
-
if (issues.length > 0)
|
|
205
|
-
throw new CliError("configuration_error", issueMessage(issues), { permission: issues[0]?.key });
|
|
206
|
-
const flagged = Object.keys(settings.permissions).filter((key2) => settings.permissionSources[key2] === "flag");
|
|
207
|
-
const [key] = unknownPermissionKeys(Object.fromEntries(flagged.map((one) => [one, true])), knownPermissionKeys(command, keyOf));
|
|
208
|
-
if (key !== void 0)
|
|
209
|
-
throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
|
|
210
|
-
}, "refuseUnknownPermissionKeys");
|
|
211
|
-
|
|
212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
|
|
72
|
+
// 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/messenger/stored.js
|
|
213
73
|
var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
|
|
214
74
|
var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false, historyLimits, command = "cli" }) => {
|
|
215
75
|
let warned = false;
|
|
@@ -785,15 +645,15 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
|
|
|
785
645
|
}
|
|
786
646
|
}, "keep");
|
|
787
647
|
|
|
788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
648
|
+
// 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/messenger/flooded.js
|
|
789
649
|
var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
|
|
790
650
|
var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
|
|
791
651
|
var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
|
|
792
652
|
var chatOf = /* @__PURE__ */ __name((args) => typeof args[0] === "string" && /^-?\d+$/.test(args[0]) ? args[0] : void 0, "chatOf");
|
|
793
653
|
var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer }) => {
|
|
794
|
-
const kept = /* @__PURE__ */ __name(async (operation,
|
|
654
|
+
const kept = /* @__PURE__ */ __name(async (operation, what) => {
|
|
795
655
|
try {
|
|
796
|
-
await
|
|
656
|
+
await what();
|
|
797
657
|
} catch (error) {
|
|
798
658
|
warn(`could not remember ${name}'s wait (${error instanceof Error ? error.message : String(error)})`, {
|
|
799
659
|
event: "warning",
|
|
@@ -882,7 +742,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
|
|
|
882
742
|
});
|
|
883
743
|
}, "flooded");
|
|
884
744
|
|
|
885
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
745
|
+
// 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/messenger/observed.js
|
|
886
746
|
var observed = /* @__PURE__ */ __name((messenger, events) => {
|
|
887
747
|
const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
|
|
888
748
|
const write = currentOperation();
|
|
@@ -981,7 +841,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
|
|
|
981
841
|
counts[part] = (counts[part] ?? 0) + items.length;
|
|
982
842
|
}, "byPart");
|
|
983
843
|
|
|
984
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
844
|
+
// 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/messenger/context.js
|
|
985
845
|
var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
|
|
986
846
|
let opened;
|
|
987
847
|
return {
|
|
@@ -1075,7 +935,7 @@ var settled = /* @__PURE__ */ __name(async (pending, ms) => {
|
|
|
1075
935
|
clearTimeout(timer);
|
|
1076
936
|
}
|
|
1077
937
|
}, "settled");
|
|
1078
|
-
var listened = /* @__PURE__ */ __name(({ run, operation, what
|
|
938
|
+
var listened = /* @__PURE__ */ __name(({ run, operation, what }, events, warn, waitMs) => {
|
|
1079
939
|
const abort = new AbortController();
|
|
1080
940
|
let closing = false;
|
|
1081
941
|
const ended = Promise.resolve().then(() => run(abort.signal)).catch((error) => {
|
|
@@ -1083,11 +943,11 @@ var listened = /* @__PURE__ */ __name(({ run, operation, what: what2 }, events,
|
|
|
1083
943
|
return;
|
|
1084
944
|
const warning = { event: "warning", code: "listen_failed", operation };
|
|
1085
945
|
events(warning);
|
|
1086
|
-
warn(`${
|
|
946
|
+
warn(`${what} arriving during this command are not saved: ${error instanceof Error ? error.message : String(error)}`, warning);
|
|
1087
947
|
});
|
|
1088
948
|
return {
|
|
1089
949
|
operation,
|
|
1090
|
-
what
|
|
950
|
+
what,
|
|
1091
951
|
closing: /* @__PURE__ */ __name(() => {
|
|
1092
952
|
closing = true;
|
|
1093
953
|
}, "closing"),
|
|
@@ -1178,10 +1038,10 @@ var connected = /* @__PURE__ */ __name((connection, { app, provider, name, delet
|
|
|
1178
1038
|
events(warning);
|
|
1179
1039
|
warn(text, warning);
|
|
1180
1040
|
}, "warned");
|
|
1181
|
-
passives.forEach(({ operation, what
|
|
1041
|
+
passives.forEach(({ operation, what }, at) => {
|
|
1182
1042
|
if (ended[at])
|
|
1183
1043
|
return;
|
|
1184
|
-
warned({ event: "warning", code: "store_not_written", operation }, `not saved to the local store: the messenger was still handing on ${
|
|
1044
|
+
warned({ event: "warning", code: "store_not_written", operation }, `not saved to the local store: the messenger was still handing on ${what} at exit`);
|
|
1185
1045
|
});
|
|
1186
1046
|
await settled(/* @__PURE__ */ new Set([...pending, ...announcing]), closeWaitMs);
|
|
1187
1047
|
closing.abort();
|
|
@@ -1240,14 +1100,14 @@ var warnUnserved = /* @__PURE__ */ __name(async (messenger, profile, { env, rend
|
|
|
1240
1100
|
const newest = (await store.chats.chatStats(account)).map((one) => one.newestAt).reduce((latest, at) => at !== null && (latest === null || at > latest) ? at : latest, null);
|
|
1241
1101
|
renderer.warn(`no \`${messenger.app.command} ${profile} serve\` keeps profile "${profile}" up to date \u2014 ` + (newest === null ? "the local store holds no messages yet" : `the newest stored message is from ${newest}`));
|
|
1242
1102
|
}, "warnUnserved");
|
|
1243
|
-
var
|
|
1103
|
+
var pathOf = /* @__PURE__ */ __name((command) => {
|
|
1244
1104
|
const words = [];
|
|
1245
1105
|
for (let at = command; at?.parent; at = at.parent)
|
|
1246
1106
|
words.unshift(at.name());
|
|
1247
1107
|
return words;
|
|
1248
1108
|
}, "pathOf");
|
|
1249
1109
|
var refuseDenied = /* @__PURE__ */ __name((command, settings) => {
|
|
1250
|
-
for (const key of readKeysForCommand(
|
|
1110
|
+
for (const key of readKeysForCommand(pathOf(command))) {
|
|
1251
1111
|
const { level, key: named } = levelFor(settings.permissions, key);
|
|
1252
1112
|
if (level !== "deny")
|
|
1253
1113
|
continue;
|
|
@@ -1270,7 +1130,7 @@ var messengerContext = /* @__PURE__ */ __name((command, messenger, resolving = {
|
|
|
1270
1130
|
const base = baseContext(command, (flags, options) => messenger.resolveSettings(flags, { ...options, ...resolving }));
|
|
1271
1131
|
const { profile } = base.settings;
|
|
1272
1132
|
refuseDenied(command, base.settings);
|
|
1273
|
-
refuseLacking(messenger,
|
|
1133
|
+
refuseLacking(messenger, pathOf(command));
|
|
1274
1134
|
refuseUnknownPermissionKeys(command, base.settings, app.command, messenger.permissionKey);
|
|
1275
1135
|
const warn = /* @__PURE__ */ __name((text, warning) => base.renderer.warn(text, warning), "warn");
|
|
1276
1136
|
const accountFor = /* @__PURE__ */ __name(() => {
|
|
@@ -1382,15 +1242,6 @@ var messengerContext = /* @__PURE__ */ __name((command, messenger, resolving = {
|
|
|
1382
1242
|
}, "messengerContext");
|
|
1383
1243
|
|
|
1384
1244
|
export {
|
|
1385
|
-
answerOf,
|
|
1386
|
-
terminalAsker,
|
|
1387
|
-
commandPathKey,
|
|
1388
|
-
commandPermissions,
|
|
1389
|
-
knownPermissionKeys,
|
|
1390
|
-
knownBeside,
|
|
1391
|
-
unknownPermissionKeys,
|
|
1392
|
-
unknownPermissionIssues,
|
|
1393
|
-
refuseUnknownPermissionKeys,
|
|
1394
1245
|
stored,
|
|
1395
1246
|
fill,
|
|
1396
1247
|
connectFor,
|
|
@@ -3,23 +3,23 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
profileAccountKey,
|
|
5
5
|
profilePattern
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MAJJ4PG3.js";
|
|
7
7
|
import {
|
|
8
8
|
checkCancelled
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-434YFJAE.js";
|
|
10
10
|
import {
|
|
11
11
|
openWavAudio,
|
|
12
12
|
preflightWavAudio
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VS6WURLX.js";
|
|
14
14
|
import {
|
|
15
15
|
pagingOf
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZED2CJW5.js";
|
|
17
17
|
import {
|
|
18
18
|
createMeetingSearchCommand,
|
|
19
19
|
meetingHitSearchRequest,
|
|
20
20
|
meetingSearchArguments,
|
|
21
21
|
meetingSearchMeta
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-GBHMT2IU.js";
|
|
23
23
|
import {
|
|
24
24
|
Command,
|
|
25
25
|
FETCH,
|
|
@@ -33,21 +33,21 @@ import {
|
|
|
33
33
|
metaOf,
|
|
34
34
|
overrideSharedContract,
|
|
35
35
|
parseDuration
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-V5EJSF2B.js";
|
|
37
37
|
import {
|
|
38
38
|
canonicalMeetingReference,
|
|
39
39
|
meetingHitsList,
|
|
40
40
|
parseMeetingReference,
|
|
41
41
|
validateMeetingContextChange,
|
|
42
42
|
validateMeetingHitSearch
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-KKFY23AK.js";
|
|
44
44
|
import {
|
|
45
45
|
createOutputBuffer
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-6CWL5BKG.js";
|
|
47
47
|
import {
|
|
48
48
|
CliError,
|
|
49
49
|
isCliError
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-IANKXHSE.js";
|
|
51
51
|
import {
|
|
52
52
|
__name
|
|
53
53
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -160,7 +160,7 @@ var engineFailure = /* @__PURE__ */ __name(async (model, work) => {
|
|
|
160
160
|
}
|
|
161
161
|
}, "engineFailure");
|
|
162
162
|
var loadSpeech = /* @__PURE__ */ __name(async () => {
|
|
163
|
-
const speech = await import("./speech-
|
|
163
|
+
const speech = await import("./speech-MA6ZT3WE.js");
|
|
164
164
|
return { describe: speech.localSpeechRecognitionModel, open: speech.openLocalSpeechRecognizer };
|
|
165
165
|
}, "loadSpeech");
|
|
166
166
|
var createWavTranscriptionSource = /* @__PURE__ */ __name((file, options) => {
|
|
@@ -246,7 +246,7 @@ var createLocalTranscriptionCapabilities = /* @__PURE__ */ __name((store, input
|
|
|
246
246
|
env: options.env,
|
|
247
247
|
speech: options.speech
|
|
248
248
|
});
|
|
249
|
-
const { transcribeMeeting } = await import("./meetings-
|
|
249
|
+
const { transcribeMeeting } = await import("./meetings-XWMB6FOH.js");
|
|
250
250
|
return await transcribeMeeting(source, {
|
|
251
251
|
appendTranscriptsWithReceipt(value) {
|
|
252
252
|
if (value.accountId !== accountId || value.externalId !== target.externalId)
|
|
@@ -282,7 +282,7 @@ var validateTaskProposal = /* @__PURE__ */ __name((value) => {
|
|
|
282
282
|
throw new CliError("invalid_response", "task proposal must be unapplied and proposal-only");
|
|
283
283
|
}, "validateTaskProposal");
|
|
284
284
|
var loadProducer = /* @__PURE__ */ __name(async () => {
|
|
285
|
-
const [domain, services] = await Promise.all([import("./dist-
|
|
285
|
+
const [domain, services] = await Promise.all([import("./dist-7CLBCYZN.js"), import("./services-4QAPXBLO.js")]);
|
|
286
286
|
return { ...services, ...domain };
|
|
287
287
|
}, "loadProducer");
|
|
288
288
|
var createMeetingContextCapabilities = /* @__PURE__ */ __name((store, meetings, accountId, load = loadProducer) => {
|
|
@@ -593,7 +593,7 @@ var addMeetingSearchCommands = /* @__PURE__ */ __name((program, deps) => {
|
|
|
593
593
|
}, "addMeetingSearchCommands");
|
|
594
594
|
|
|
595
595
|
// dist/meeting-semantic.js
|
|
596
|
-
var loadProducer2 = /* @__PURE__ */ __name(async () => import("./services-
|
|
596
|
+
var loadProducer2 = /* @__PURE__ */ __name(async () => import("./services-4QAPXBLO.js"), "loadProducer");
|
|
597
597
|
var createMeetingSemanticCapabilities = /* @__PURE__ */ __name((store, accountId, options = {}) => {
|
|
598
598
|
if (!Number.isSafeInteger(accountId) || accountId < 1)
|
|
599
599
|
throw new CliError("validation_error", "meeting vectors require a selected positive account ID");
|
|
@@ -742,7 +742,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
742
742
|
throw new CliError("validation_error", "expected a selected Zoom profile and read or ingestion intent");
|
|
743
743
|
let store;
|
|
744
744
|
try {
|
|
745
|
-
const open2 = options.openStore ?? (await import("./
|
|
745
|
+
const open2 = options.openStore ?? (await import("./public-C2ZB2AGQ.js")).openStore;
|
|
746
746
|
store = await open2({
|
|
747
747
|
path: options.path,
|
|
748
748
|
env: options.env,
|
|
@@ -763,7 +763,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
763
763
|
let cachedBatchReader;
|
|
764
764
|
const batchReader = /* @__PURE__ */ __name(async () => {
|
|
765
765
|
if (!cachedBatchReader) {
|
|
766
|
-
const { createMeetingBatchReader } = await import("./services-
|
|
766
|
+
const { createMeetingBatchReader } = await import("./services-4QAPXBLO.js");
|
|
767
767
|
cachedBatchReader = createMeetingBatchReader(connected, accountId);
|
|
768
768
|
}
|
|
769
769
|
return cachedBatchReader;
|
|
@@ -772,7 +772,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
772
772
|
meetingPreparation: {
|
|
773
773
|
scope: key,
|
|
774
774
|
create: /* @__PURE__ */ __name(async (upcoming) => {
|
|
775
|
-
const { createMeetingPreparationService } = await import("./services-
|
|
775
|
+
const { createMeetingPreparationService } = await import("./services-4QAPXBLO.js");
|
|
776
776
|
const reader = connected.contextEvidence;
|
|
777
777
|
if (context && !reader)
|
|
778
778
|
throw new CliError("configuration_error", "the installed store does not support bounded communications");
|
|
@@ -797,7 +797,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
797
797
|
close: /* @__PURE__ */ __name(() => connected.close(), "close"),
|
|
798
798
|
appendTranscriptsWithReceipt: /* @__PURE__ */ __name((input) => meetings.appendTranscriptsWithReceipt(ownAccount(input, "append")), "appendTranscriptsWithReceipt"),
|
|
799
799
|
meetingProjectCandidates: /* @__PURE__ */ __name(async (reference, request2) => {
|
|
800
|
-
const { createStoredMeetingProjectCandidateReader } = await import("./services-
|
|
800
|
+
const { createStoredMeetingProjectCandidateReader } = await import("./services-4QAPXBLO.js");
|
|
801
801
|
const read = createStoredMeetingProjectCandidateReader(key, accountId, {
|
|
802
802
|
meetings,
|
|
803
803
|
vocabulary: connected.knowledge
|
|
@@ -805,7 +805,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
805
805
|
return read(reference, request2);
|
|
806
806
|
}, "meetingProjectCandidates"),
|
|
807
807
|
meetingProjectEvidence: /* @__PURE__ */ __name(async (project, request2) => {
|
|
808
|
-
const { readMeetingProjectDiscovery } = await import("./services-
|
|
808
|
+
const { readMeetingProjectDiscovery } = await import("./services-4QAPXBLO.js");
|
|
809
809
|
return readMeetingProjectDiscovery({
|
|
810
810
|
vocabulary: connected.knowledge,
|
|
811
811
|
search: { searchHits: /* @__PURE__ */ __name((query, hits) => meetings.searchHits(query, hits), "searchHits") }
|
|
@@ -832,7 +832,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
832
832
|
},
|
|
833
833
|
meetingSearch: /* @__PURE__ */ __name(async (query, request2) => {
|
|
834
834
|
validateMeetingHitSearch(query, request2);
|
|
835
|
-
const { searchMeetingHits } = await import("./services-
|
|
835
|
+
const { searchMeetingHits } = await import("./services-4QAPXBLO.js");
|
|
836
836
|
return searchMeetingHits({ meetings, knowledge: connected.knowledge }, query, { ...request2, accountId });
|
|
837
837
|
}, "meetingSearch"),
|
|
838
838
|
meetingIntegration: {
|
|
@@ -843,7 +843,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
843
843
|
const change = validateMeetingContextChange(input);
|
|
844
844
|
if (change.action !== "event.link" && change.action !== "person.link")
|
|
845
845
|
throw new CliError("validation_error", "meeting linking supports only explicit event or person changes");
|
|
846
|
-
const api = await import("./services-
|
|
846
|
+
const api = await import("./services-4QAPXBLO.js");
|
|
847
847
|
await api.resolveMeetingReference(meetings, accountId, source.reference, { signal: mutation.signal });
|
|
848
848
|
const service = await api.createMeetingContextService({
|
|
849
849
|
accounts: connected.accounts,
|
|
@@ -864,29 +864,29 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
864
864
|
},
|
|
865
865
|
unifiedSearch: /* @__PURE__ */ __name(async (input) => {
|
|
866
866
|
const request2 = validateUnifiedSearch(input);
|
|
867
|
-
const { searchAll } = await import("./services-
|
|
867
|
+
const { searchAll } = await import("./services-4QAPXBLO.js");
|
|
868
868
|
return searchAll(connected, key, { ...request2, scope: { meetings: [key] }, env: options.env });
|
|
869
869
|
}, "unifiedSearch"),
|
|
870
870
|
meetingContext: createMeetingContextCapabilities(connected, meetings, accountId),
|
|
871
871
|
meetingSemantic: createMeetingSemanticCapabilities(connected, accountId, { env: options.env }),
|
|
872
872
|
meetingSearches: await (async () => {
|
|
873
|
-
const { meetingSearchesService } = await import("./services-
|
|
873
|
+
const { meetingSearchesService } = await import("./services-4QAPXBLO.js");
|
|
874
874
|
return meetingSearchesService(async () => connected.searches);
|
|
875
875
|
})(),
|
|
876
876
|
meetingStats: /* @__PURE__ */ __name(async (request2) => {
|
|
877
|
-
const { readMeetingStats } = await import("./services-
|
|
877
|
+
const { readMeetingStats } = await import("./services-4QAPXBLO.js");
|
|
878
878
|
return readMeetingStats(connected, { ...request2, accountId });
|
|
879
879
|
}, "meetingStats"),
|
|
880
880
|
meetingCounts: /* @__PURE__ */ __name(async (request2) => {
|
|
881
|
-
const { readMeetingCounts } = await import("./services-
|
|
881
|
+
const { readMeetingCounts } = await import("./services-4QAPXBLO.js");
|
|
882
882
|
return readMeetingCounts(connected, { ...request2, accountId });
|
|
883
883
|
}, "meetingCounts"),
|
|
884
884
|
meetingReview: /* @__PURE__ */ __name(async (request2) => {
|
|
885
|
-
const { readMeetingReview } = await import("./services-
|
|
885
|
+
const { readMeetingReview } = await import("./services-4QAPXBLO.js");
|
|
886
886
|
return readMeetingReview(connected, { ...request2, accountId });
|
|
887
887
|
}, "meetingReview"),
|
|
888
888
|
meetingLinks: /* @__PURE__ */ __name(async (request2) => {
|
|
889
|
-
const { readMeetingLinks } = await import("./services-
|
|
889
|
+
const { readMeetingLinks } = await import("./services-4QAPXBLO.js");
|
|
890
890
|
return readMeetingLinks(connected, { ...request2, accountId });
|
|
891
891
|
}, "meetingLinks")
|
|
892
892
|
};
|
|
@@ -2,41 +2,41 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
encodeWav
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VS6WURLX.js";
|
|
6
6
|
import {
|
|
7
7
|
SAMPLE_RATE,
|
|
8
8
|
toModelRate
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-52Y4ETKU.js";
|
|
10
10
|
import {
|
|
11
11
|
OPENAI_URL,
|
|
12
12
|
refuseModelAddress
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HP7A2ZOP.js";
|
|
14
14
|
import {
|
|
15
15
|
endpointFetch,
|
|
16
16
|
onThisComputer
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6QYZP4E2.js";
|
|
18
18
|
import {
|
|
19
19
|
providerWaitMs
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ACI4YIEH.js";
|
|
21
21
|
import {
|
|
22
22
|
OPENAI_TRANSCRIBE_MODEL,
|
|
23
23
|
VAD,
|
|
24
24
|
filesPresent,
|
|
25
25
|
modelsDirectory,
|
|
26
26
|
vadPath
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4HLQ2JGK.js";
|
|
28
28
|
import {
|
|
29
29
|
DEFAULT_RETRY,
|
|
30
30
|
backoffMs
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-6CWL5BKG.js";
|
|
32
32
|
import {
|
|
33
33
|
CliError
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-IANKXHSE.js";
|
|
35
35
|
import {
|
|
36
36
|
__name
|
|
37
37
|
} from "./chunk-ZVVMGPBJ.js";
|
|
38
38
|
|
|
39
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39
|
+
// 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/speech/openai.js
|
|
40
40
|
import { setTimeout as wait } from "node:timers/promises";
|
|
41
41
|
var LONGEST_REQUEST_SECONDS = 600;
|
|
42
42
|
var JOINED_SECONDS = 0.2;
|
|
@@ -161,7 +161,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
|
|
|
161
161
|
return pieces;
|
|
162
162
|
}, "piecesOf");
|
|
163
163
|
var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
|
|
164
|
-
const { openSpeechCutter } = await import("./recognize-
|
|
164
|
+
const { openSpeechCutter } = await import("./recognize-2SEI5PPM.js");
|
|
165
165
|
return openSpeechCutter(vadModel);
|
|
166
166
|
}, "openCutter");
|
|
167
167
|
var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
|