@wirecat/zoom-cli 0.82.0 → 0.83.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 +2 -2
- package/contracts/wirecat.json +54 -54
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +1 -1
- package/dist/api.js.map +1 -1
- package/dist/bin/main.js +2 -15
- package/dist/bin/main.js.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/agent-3HDWEZ5M.js +47 -0
- package/dist/bundle/{all-profiles-RULEKTDQ.js → all-profiles-RY2OMSDL.js} +8 -8
- package/dist/bundle/answer-policy-IFVXPPGW.js +131 -0
- package/dist/bundle/{anthropic-4NAQBZFL.js → anthropic-36VPSF7B.js} +3 -3
- package/dist/bundle/{app-server-VLR42U5L.js → app-server-ZVJVUGB7.js} +72 -71
- package/dist/bundle/{bun-OPDGMZZQ.js → bun-F4M4KCNA.js} +2 -2
- package/dist/bundle/{bun-sqlite-HC6X4AOX.js → bun-sqlite-IOPYIUA7.js} +4 -4
- package/dist/bundle/{chunk-MAJJ4PG3.js → chunk-26TW5RZ6.js} +31 -315
- package/dist/bundle/{chunk-XQQVMECZ.js → chunk-2DK5BBFF.js} +1 -1
- package/dist/bundle/{chunk-BP4FYANF.js → chunk-2IBKKVVZ.js} +4 -4
- package/dist/bundle/{chunk-52Y4ETKU.js → chunk-2S54TM4N.js} +3 -3
- package/dist/bundle/{chunk-DCYFT3FR.js → chunk-3AQHKXVR.js} +4 -4
- package/dist/bundle/{chunk-VS6WURLX.js → chunk-3CW2C7ZA.js} +2 -2
- package/dist/bundle/{chunk-6QYZP4E2.js → chunk-3KUEZK5Z.js} +2 -2
- package/dist/bundle/{chunk-YJXJJ2XP.js → chunk-3PXUQFHX.js} +7 -7
- package/dist/bundle/{chunk-PSKTMMCO.js → chunk-575JMTDR.js} +17 -16
- package/dist/bundle/{chunk-QPHBK63S.js → chunk-5B2LV4MS.js} +2 -1
- package/dist/bundle/{chunk-OGNO35A2.js → chunk-5WL5RHOO.js} +5 -100
- package/dist/bundle/{chunk-ASBDFXLS.js → chunk-6C7ESL5N.js} +2 -2
- package/dist/bundle/{chunk-676C2LE6.js → chunk-6E4KLYNP.js} +10 -10
- package/dist/bundle/chunk-7JDXR75Q.js +465 -0
- package/dist/bundle/{chunk-UR5DBODY.js → chunk-AK3H2C65.js} +30 -26
- package/dist/bundle/{chunk-VB7FZOYX.js → chunk-AQ5RIOUE.js} +1 -1
- package/dist/bundle/{chunk-UKAAAOPC.js → chunk-AQLUAQXJ.js} +23 -15
- package/dist/bundle/{chunk-V5EJSF2B.js → chunk-ASTLGFTR.js} +205 -170
- package/dist/bundle/{chunk-PWVJUIDQ.js → chunk-ATHBB7OU.js} +2 -2
- package/dist/bundle/{chunk-GTKPMYK7.js → chunk-B2NM65RD.js} +13 -5
- package/dist/bundle/{chunk-G6PETRMV.js → chunk-B4KHDXJE.js} +2 -2
- package/dist/bundle/{chunk-4HLQ2JGK.js → chunk-BAFC7WNI.js} +3 -3
- package/dist/bundle/{chunk-KVJ3I7UL.js → chunk-BTLZYRIW.js} +5 -5
- package/dist/bundle/{chunk-KKFY23AK.js → chunk-BZDS2X6Y.js} +61 -61
- package/dist/bundle/{chunk-VZ5PPYDG.js → chunk-C7JPYWYQ.js} +1 -1
- package/dist/bundle/{chunk-W5QHB53X.js → chunk-CDQUW25G.js} +10 -10
- package/dist/bundle/{chunk-AIKFOBDO.js → chunk-CJWGJBHW.js} +28 -8
- package/dist/bundle/{chunk-HP7A2ZOP.js → chunk-D7RCUODT.js} +7 -7
- package/dist/bundle/{chunk-LEKKTJKK.js → chunk-DQJECJUE.js} +23 -102
- package/dist/bundle/{chunk-B32KZRQM.js → chunk-E4JQ3MCW.js} +11 -11
- package/dist/bundle/{chunk-HZENBDW2.js → chunk-E4ODYLEK.js} +6 -6
- package/dist/bundle/{chunk-RQOZBTNI.js → chunk-EE45N67Q.js} +3 -3
- package/dist/bundle/{chunk-VB72LTSZ.js → chunk-EEEU4MKK.js} +11 -11
- package/dist/bundle/{chunk-EGTCQKHV.js → chunk-ETIZGA4P.js} +5 -5
- package/dist/bundle/{chunk-BDKVOU3I.js → chunk-F44QK6CK.js} +3 -3
- package/dist/bundle/{chunk-274SLQNW.js → chunk-FH2UFNH6.js} +2 -2
- package/dist/bundle/{chunk-3HC5F3P7.js → chunk-FTH6WGYO.js} +1 -1
- package/dist/bundle/chunk-FWACRG4X.js +160 -0
- package/dist/bundle/chunk-G5SZL7G2.js +150 -0
- package/dist/bundle/{chunk-EQG3PIH2.js → chunk-G6CHEFAG.js} +2 -2
- package/dist/bundle/{chunk-66ALX4ZI.js → chunk-GHJD7PE6.js} +18 -18
- package/dist/bundle/{chunk-Q7ICVP25.js → chunk-GZ7WBU5Y.js} +1 -1
- package/dist/bundle/{chunk-UL2PXLKT.js → chunk-H6A4NWYJ.js} +320 -43
- package/dist/bundle/{chunk-WMANRJR5.js → chunk-HKLRI2LB.js} +6 -6
- package/dist/bundle/{chunk-L75SMSJR.js → chunk-HMD4FZYY.js} +3 -3
- package/dist/bundle/{chunk-2JHVQMVC.js → chunk-HO4JGD4Q.js} +1 -1
- package/dist/bundle/{chunk-WOPVBRPV.js → chunk-HUAHLO6N.js} +1 -1
- package/dist/bundle/{chunk-6VK332XS.js → chunk-IQZXFWFI.js} +2 -2
- package/dist/bundle/{chunk-NB7EOAUZ.js → chunk-ISQ23VKV.js} +1 -1
- package/dist/bundle/{chunk-QVYAV7F2.js → chunk-JEH33ZCD.js} +3 -3
- package/dist/bundle/{chunk-ICPJT672.js → chunk-JUNQYWQ2.js} +6 -6
- package/dist/bundle/{chunk-K5JGJIV2.js → chunk-JUXMVQWJ.js} +311 -152
- package/dist/bundle/{chunk-OBXQLFT5.js → chunk-KHQDWYCG.js} +1 -1
- package/dist/bundle/{chunk-GGMAIIVE.js → chunk-KYRYD4CR.js} +1 -1
- package/dist/bundle/chunk-LBGT6W4R.js +377 -0
- package/dist/bundle/{chunk-JQ54DYAQ.js → chunk-LN7HRYTH.js} +1 -1
- package/dist/bundle/{chunk-G46WJ7YO.js → chunk-MEB7HBTM.js} +5 -5
- package/dist/bundle/{chunk-M7H4MCAX.js → chunk-MEEFWYX3.js} +3 -3
- package/dist/bundle/{chunk-73MOMNLL.js → chunk-MNOAMJ6H.js} +1 -1
- package/dist/bundle/{chunk-A6EZK5RG.js → chunk-MYHPXJDG.js} +1 -1
- package/dist/bundle/{chunk-HC6VN5CO.js → chunk-NGI37RFW.js} +7 -7
- package/dist/bundle/{chunk-2GP573Q4.js → chunk-NZMWD7Y3.js} +3656 -2697
- package/dist/bundle/chunk-O6IECJRM.js +54 -0
- package/dist/bundle/{chunk-Y6PVS55U.js → chunk-OBWL3BUV.js} +35 -35
- package/dist/bundle/{chunk-2XBDILVW.js → chunk-OEEWVKJX.js} +1 -1
- package/dist/bundle/chunk-OGTN2KVG.js +147 -0
- package/dist/bundle/{chunk-GWGHH56B.js → chunk-OQYZ3W4K.js} +10 -10
- package/dist/bundle/{chunk-2CI2OEZQ.js → chunk-P3ZCTYGW.js} +2 -2
- package/dist/bundle/{chunk-OIPYBF43.js → chunk-PVEBAHFU.js} +2 -2
- package/dist/bundle/{chunk-2SWKQ7C4.js → chunk-R6IA5UQB.js} +1 -1
- package/dist/bundle/{chunk-T7IAWEBU.js → chunk-RLOH7RDN.js} +7 -7
- package/dist/bundle/{chunk-KJ6USQDZ.js → chunk-RQ4AXSCJ.js} +5 -5
- package/dist/bundle/{chunk-XQ2WL3HB.js → chunk-RYGTCRFZ.js} +2 -2
- package/dist/bundle/{chunk-N46F72AF.js → chunk-S4PXWIE4.js} +84 -86
- package/dist/bundle/{chunk-MQLPZBMQ.js → chunk-SDZZYZLL.js} +1 -1
- package/dist/bundle/{chunk-E745WZKY.js → chunk-SHQAYUK6.js} +6 -6
- package/dist/bundle/{chunk-3YM4B2GT.js → chunk-T3W4V4A6.js} +1 -1
- package/dist/bundle/{chunk-4N7PP76S.js → chunk-TCT5D2X2.js} +1 -1
- package/dist/bundle/{chunk-7QPIUMUG.js → chunk-TDWPOSPR.js} +10 -10
- package/dist/bundle/{chunk-ZED2CJW5.js → chunk-TER3N27H.js} +6 -6
- package/dist/bundle/{chunk-UQCTXZEP.js → chunk-TMTNP7QN.js} +9 -9
- package/dist/bundle/{chunk-KWU46LNK.js → chunk-TO5UEWXR.js} +2 -2
- package/dist/bundle/{chunk-OQFQ77AY.js → chunk-UBH7YF3C.js} +61 -59
- package/dist/bundle/{chunk-QVSL5WJ7.js → chunk-UEAE3JUU.js} +488 -436
- package/dist/bundle/{chunk-5KYQ53EF.js → chunk-UHR363OD.js} +7 -7
- package/dist/bundle/{chunk-7UVDPRFK.js → chunk-UM52A76S.js} +5 -5
- package/dist/bundle/{chunk-ZOYOXWJB.js → chunk-URP6BTHN.js} +34 -156
- package/dist/bundle/{chunk-N3JLO63O.js → chunk-UWQEAA6S.js} +1 -1
- package/dist/bundle/{chunk-OO4TRVPB.js → chunk-VR7QZGRU.js} +5 -5
- package/dist/bundle/{chunk-GBHMT2IU.js → chunk-VRH5PBSL.js} +13 -13
- package/dist/bundle/chunk-VTLQTQKY.js +1756 -0
- package/dist/bundle/{chunk-ACI4YIEH.js → chunk-VTYNLTDW.js} +1 -1
- package/dist/bundle/{chunk-NEMX3UNN.js → chunk-WY7XG6TE.js} +2 -2
- package/dist/bundle/{chunk-AC6VJNMJ.js → chunk-XEOZTA3H.js} +1 -1
- package/dist/bundle/{chunk-QG6PILDO.js → chunk-XH23ML2V.js} +1 -1
- package/dist/bundle/{chunk-5HAUK3I4.js → chunk-XYF76A26.js} +1179 -783
- package/dist/bundle/{chunk-KQPUVXKX.js → chunk-ZDYJAEVB.js} +2 -2
- package/dist/bundle/{chunk-TKNM22OH.js → chunk-ZJ63HDBT.js} +1 -1
- package/dist/bundle/{chunk-5TU7Y5UW.js → chunk-ZT4ZPUIO.js} +11 -11
- package/dist/bundle/{cli-U4O5XB7J.js → cli-JK6PQSSN.js} +94 -79
- package/dist/bundle/command-contract-F3QNBKPX.js +46 -0
- package/dist/bundle/{command-server-entry-KKH6ZWJV.js → command-server-entry-DJLGN62J.js} +31 -30
- package/dist/bundle/config-TYYMV3HV.js +118 -0
- package/dist/bundle/{decode-TPCNXEK4.js → decode-ZZICNNFF.js} +3 -3
- package/dist/bundle/{dist-7CLBCYZN.js → dist-NQPF25XI.js} +47 -46
- package/dist/bundle/{echarts-O3TNDAXJ.js → echarts-QMAA7HH5.js} +2 -2
- package/dist/bundle/{embed-WCJSFVSK.js → embed-T64EUKUI.js} +4 -4
- package/dist/bundle/{embedder-TBBUPXBX.js → embedder-ZEKISZXI.js} +7 -7
- package/dist/bundle/{first-run-ELEMFW42.js → first-run-ZFNY4RRH.js} +8 -8
- package/dist/bundle/first-screen-LPGCHRHZ.js +47 -0
- package/dist/bundle/{folders-LXOL4N4S.js → folders-ROKVKSCT.js} +2 -2
- package/dist/bundle/{instructions-AMH5RWVJ.js → instructions-4H7UREH2.js} +1 -1
- package/dist/bundle/{main-YAA7WQ23.js → main-GCK3VYAA.js} +24 -34
- package/dist/bundle/meeting-combined-7HDPOUPB.js +28 -0
- package/dist/bundle/{meeting-model-3BZJ3EQP.js → meeting-model-MVUW7UPQ.js} +10 -10
- package/dist/bundle/{meeting-semantic-3HU7I2SJ.js → meeting-semantic-IF633WGX.js} +3 -3
- package/dist/bundle/{meetings-XWMB6FOH.js → meetings-RY2AAPHV.js} +2 -2
- package/dist/bundle/{node-EGMCBAO7.js → node-P3PUHKYH.js} +2 -2
- package/dist/bundle/{node-sqlite-IJBWENFX.js → node-sqlite-ASAZJNHE.js} +5 -5
- package/dist/bundle/{oauth-SZDDAP7A.js → oauth-4U3OCK3W.js} +5 -5
- package/dist/bundle/oauth-AJARLPSY.js +46 -0
- package/dist/bundle/{open-NS3TMKZX.js → open-SEJRY2ZI.js} +3 -3
- package/dist/bundle/{openai-4DN6WI3B.js → openai-FZDSC2AA.js} +12 -12
- package/dist/bundle/{output-file-2UB5JP3R.js → output-file-RYIOIXMD.js} +1 -1
- package/dist/bundle/{process-SGHEN6MQ.js → process-AFIXYXWL.js} +1 -1
- package/dist/bundle/{program-GVCGZP27.js → program-OYLVYA4Z.js} +174 -236
- package/dist/bundle/{prompt-HJFMPFVC.js → prompt-BCRD64F4.js} +3 -3
- package/dist/bundle/{public-C2ZB2AGQ.js → public-SVJILCNI.js} +43 -35
- package/dist/bundle/{recognize-2SEI5PPM.js → recognize-25ITJWGX.js} +2 -2
- package/dist/bundle/{remote-2DMS74XE.js → remote-5FBAJX7O.js} +8 -8
- package/dist/bundle/{rerank-H6GCYVIA.js → rerank-2HGWWORY.js} +5 -5
- package/dist/bundle/run-log-7HRF4Y47.js +145 -0
- package/dist/bundle/{serve-ODVRPFJO.js → serve-RL35MSJD.js} +7 -7
- package/dist/bundle/{server-PCLIO24L.js → server-QUSBWACP.js} +64 -63
- package/dist/bundle/server-SCK2SRDK.js +96 -0
- package/dist/bundle/{services-4QAPXBLO.js → services-BGRIQNDC.js} +55 -53
- package/dist/bundle/{speech-MA6ZT3WE.js → speech-4W3ZMTFK.js} +21 -21
- package/dist/bundle/{sqlite-runtime-PVMAUXRN.js → sqlite-runtime-K3KLRZCV.js} +4 -4
- package/dist/bundle/{state-QFMTYUME.js → state-GYL4C74G.js} +4 -4
- package/dist/bundle/{store-25OTAQC3.js → store-27UQMNEO.js} +23 -21
- package/dist/bundle/{store-F724QIKJ.js → store-NLYH5SQX.js} +54 -43
- package/dist/bundle/store-connection-CZILWRSR.js +112 -0
- package/dist/bundle/store-maintenance-command-Z3QLNSXJ.js +84 -0
- package/dist/bundle/{streaming-S22C4DG5.js → streaming-73EKEGPF.js} +2 -2
- package/dist/bundle/surface-CV3C4RV2.js +82 -0
- package/dist/bundle/tokens-PY3S22LY.js +27 -0
- package/dist/bundle/zm.js +2 -2
- package/dist/bundle/{zoom-app-YWFB367P.js → zoom-app-4F4YY4OI.js} +8 -6
- package/dist/commands.d.ts +1 -8
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +3 -33
- package/dist/commands.js.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +2 -12
- package/dist/program-bindings.js.map +1 -1
- package/dist/program.d.ts +3 -5
- package/dist/program.d.ts.map +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +6 -1
- package/dist/run.js.map +1 -1
- package/dist/setup-commands.d.ts +5 -14
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +7 -142
- package/dist/setup-commands.js.map +1 -1
- package/dist/tokens.d.ts +20 -44
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +95 -308
- package/dist/tokens.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/zoom-app.js +1 -1
- package/dist/zoom-app.js.map +1 -1
- package/dist/zoom-session.d.ts +6 -0
- package/dist/zoom-session.d.ts.map +1 -0
- package/dist/zoom-session.js +72 -0
- package/dist/zoom-session.js.map +1 -0
- package/package.json +2 -2
- package/skills/zoom-cli/references/setup.md +2 -2
- package/dist/bundle/agent-F4TRJWWS.js +0 -46
- package/dist/bundle/answer-policy-6XC57AEZ.js +0 -131
- package/dist/bundle/chunk-2DBF2IIC.js +0 -330
- package/dist/bundle/chunk-DSZYABYL.js +0 -808
- package/dist/bundle/chunk-KXJ3JEDH.js +0 -2
- package/dist/bundle/chunk-LAYYO4WD.js +0 -31
- package/dist/bundle/chunk-PMUPN6JW.js +0 -773
- package/dist/bundle/chunk-TKVBFJ5C.js +0 -37
- package/dist/bundle/chunk-YY7XKHDY.js +0 -79
- package/dist/bundle/command-contract-FBTK6GQX.js +0 -45
- package/dist/bundle/config-FRJSIZNN.js +0 -118
- package/dist/bundle/first-screen-DIOBWMKP.js +0 -46
- package/dist/bundle/meeting-combined-UXCF4SJ3.js +0 -26
- package/dist/bundle/run-log-QU26SUZP.js +0 -145
- package/dist/bundle/server-NBPF6IDZ.js +0 -95
- package/dist/bundle/store-connection-OGPXANGB.js +0 -111
- package/dist/bundle/store-maintenance-command-2CM7LLNQ.js +0 -83
- package/dist/bundle/surface-7PXHWCF6.js +0 -81
- package/dist/bundle/tokens-NLUHA2DW.js +0 -25
- package/dist/login.d.ts +0 -16
- package/dist/login.d.ts.map +0 -1
- package/dist/login.js +0 -98
- package/dist/login.js.map +0 -1
- package/dist/bundle/{chunk-6CWL5BKG.js → chunk-3QN5KDFZ.js} +147 -147
- /package/dist/bundle/{chunk-7O7XM37N.js → chunk-7ECP5ZQR.js} +0 -0
|
@@ -5,21 +5,21 @@ import {
|
|
|
5
5
|
UNTRUSTED_NEUTRAL,
|
|
6
6
|
agentArguments,
|
|
7
7
|
agentJson
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-E4ODYLEK.js";
|
|
9
9
|
import {
|
|
10
10
|
callerOf
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-G6CHEFAG.js";
|
|
12
12
|
import {
|
|
13
13
|
refuseLacking
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZDYJAEVB.js";
|
|
15
15
|
import {
|
|
16
16
|
onlineDeps,
|
|
17
17
|
servicesFor,
|
|
18
18
|
storeModeDeps
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UEAE3JUU.js";
|
|
20
20
|
import {
|
|
21
21
|
failureContext
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-CJWGJBHW.js";
|
|
23
23
|
import {
|
|
24
24
|
DEFAULT_OUTPUT_BYTES,
|
|
25
25
|
ENTITIES,
|
|
@@ -32,32 +32,33 @@ import {
|
|
|
32
32
|
refuseStoreChange,
|
|
33
33
|
sealed,
|
|
34
34
|
startRecording
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-ASTLGFTR.js";
|
|
36
36
|
import {
|
|
37
37
|
currentCaller,
|
|
38
38
|
keepsSuccess,
|
|
39
39
|
runContextOf,
|
|
40
40
|
withCaller
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-RLOH7RDN.js";
|
|
42
42
|
import {
|
|
43
43
|
fetchesAt,
|
|
44
44
|
keyForCommand,
|
|
45
45
|
levelFor,
|
|
46
46
|
readKeysForCommand
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-RQ4AXSCJ.js";
|
|
48
48
|
import {
|
|
49
49
|
MAX_BUFFERED_INPUT
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-KHQDWYCG.js";
|
|
51
51
|
import {
|
|
52
52
|
inRun,
|
|
53
53
|
newRunId
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-HKLRI2LB.js";
|
|
55
55
|
import {
|
|
56
|
+
storeBusy,
|
|
56
57
|
storeDamaged
|
|
57
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-B2NM65RD.js";
|
|
58
59
|
import {
|
|
59
60
|
traceIdOf
|
|
60
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-3QN5KDFZ.js";
|
|
61
62
|
import {
|
|
62
63
|
array,
|
|
63
64
|
boolean,
|
|
@@ -93,10 +94,10 @@ import {
|
|
|
93
94
|
__name
|
|
94
95
|
} from "./chunk-ZVVMGPBJ.js";
|
|
95
96
|
|
|
96
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
97
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
97
98
|
import { randomUUID } from "node:crypto";
|
|
98
99
|
|
|
99
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
100
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
100
101
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
101
102
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
102
103
|
var message = pipe(
|
|
@@ -352,10 +353,10 @@ var answered = /* @__PURE__ */ __name((answer, maxBytes = DEFAULT_OUTPUT_BYTES,
|
|
|
352
353
|
var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
353
354
|
const judged = judgedEffects(effects);
|
|
354
355
|
const context = { ...failureContext(errors), ...judged ? { effects: judged } : {} };
|
|
355
|
-
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
|
|
356
|
+
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeBusy(storeDamaged(error)), context))));
|
|
356
357
|
}, "failed");
|
|
357
358
|
|
|
358
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
359
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
359
360
|
var MATCHES = 8;
|
|
360
361
|
var ANSWER = answerSchema();
|
|
361
362
|
var agentAnswer = /* @__PURE__ */ __name((prefix, writes) => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/http/time-limit.js
|
|
8
8
|
var timeLimit = /* @__PURE__ */ __name((ms) => {
|
|
9
9
|
const controller = new AbortController();
|
|
10
10
|
const timer = setTimeout(() => controller.abort(new DOMException("The operation timed out.", "TimeoutError")), ms);
|
|
@@ -21,5 +21,6 @@ var withTimeLimit = /* @__PURE__ */ __name(async (ms, run) => {
|
|
|
21
21
|
}, "withTimeLimit");
|
|
22
22
|
|
|
23
23
|
export {
|
|
24
|
+
timeLimit,
|
|
24
25
|
withTimeLimit
|
|
25
26
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
|
-
|
|
5
|
-
} from "./chunk-
|
|
4
|
+
REDIRECT
|
|
5
|
+
} from "./chunk-OGTN2KVG.js";
|
|
6
6
|
import {
|
|
7
7
|
BASE_CONSTANTS,
|
|
8
8
|
baseConstantsSchema,
|
|
9
9
|
loadConstants
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3QN5KDFZ.js";
|
|
11
11
|
import {
|
|
12
12
|
nonEmpty,
|
|
13
13
|
object,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/constants/obscure.js
|
|
27
27
|
import { createDecipheriv } from "node:crypto";
|
|
28
28
|
var KEY = Buffer.from("d43012779aa2dded3e98092a3dbcf5d8980c564172f5ce0a5fd0574e5f740339", "hex");
|
|
29
29
|
var reveal = /* @__PURE__ */ __name((obscured) => {
|
|
@@ -32,7 +32,7 @@ var reveal = /* @__PURE__ */ __name((obscured) => {
|
|
|
32
32
|
return Buffer.concat([decipher.update(bytes.subarray(16)), decipher.final()]).toString("utf8");
|
|
33
33
|
}, "reveal");
|
|
34
34
|
|
|
35
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
35
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/constants/index.js
|
|
36
36
|
var CORE_CONSTANTS = new URL("../../constants.json", new URL("constants/index.js", import.meta.resolve("@wirecat/cli-core")).href);
|
|
37
37
|
var constantsSchema = object({
|
|
38
38
|
...baseConstantsSchema.entries,
|
|
@@ -75,100 +75,6 @@ var oauthApp = /* @__PURE__ */ __name((options) => {
|
|
|
75
75
|
var app = /* @__PURE__ */ __name((client, source) => ({ client: { ...client, source }, source }), "app");
|
|
76
76
|
var oauthClientReport = /* @__PURE__ */ __name((app2, reason) => app2?.source ? { client: app2.source === "constants" ? "wirecat" : "own", source: app2.source } : { client: null, source: null, ...reason ? { reason } : {} }, "oauthClientReport");
|
|
77
77
|
|
|
78
|
-
// dist/login.js
|
|
79
|
-
import { createHash, randomBytes } from "node:crypto";
|
|
80
|
-
import { createServer } from "node:http";
|
|
81
|
-
var REDIRECT = "https://wirecat.dev/zoom-callback";
|
|
82
|
-
var login = /* @__PURE__ */ __name(async (options) => {
|
|
83
|
-
checkCancelled(options.signal);
|
|
84
|
-
const verifier = randomBytes(48).toString("base64url");
|
|
85
|
-
const challenge = createHash("sha256").update(verifier).digest("base64url");
|
|
86
|
-
const controller = new AbortController();
|
|
87
|
-
let state = "";
|
|
88
|
-
let accept = /* @__PURE__ */ __name(() => {
|
|
89
|
-
}, "accept");
|
|
90
|
-
let fail = /* @__PURE__ */ __name(() => {
|
|
91
|
-
}, "fail");
|
|
92
|
-
const codePromise = new Promise((resolve, reject) => {
|
|
93
|
-
accept = resolve;
|
|
94
|
-
fail = reject;
|
|
95
|
-
});
|
|
96
|
-
const onAbort = /* @__PURE__ */ __name(() => {
|
|
97
|
-
try {
|
|
98
|
-
checkCancelled(options.signal);
|
|
99
|
-
} catch (error) {
|
|
100
|
-
fail(error instanceof Error ? error : new CliError("cancelled", "command cancelled"));
|
|
101
|
-
}
|
|
102
|
-
}, "onAbort");
|
|
103
|
-
options.signal?.addEventListener("abort", onAbort, { once: true });
|
|
104
|
-
void codePromise.catch(() => {
|
|
105
|
-
});
|
|
106
|
-
const server = createServer((request, response) => {
|
|
107
|
-
const query = new URL(request.url ?? "/", "http://127.0.0.1");
|
|
108
|
-
if (query.pathname !== "/callback") {
|
|
109
|
-
response.writeHead(404).end();
|
|
110
|
-
return;
|
|
111
|
-
}
|
|
112
|
-
if (query.searchParams.get("state") !== state) {
|
|
113
|
-
response.writeHead(400).end("state does not match");
|
|
114
|
-
return;
|
|
115
|
-
}
|
|
116
|
-
const code = query.searchParams.get("code");
|
|
117
|
-
response.end("zm: received, you can close this tab");
|
|
118
|
-
if (code)
|
|
119
|
-
accept(code);
|
|
120
|
-
else
|
|
121
|
-
fail(new CliError("authentication_error", "Zoom login was not approved"));
|
|
122
|
-
});
|
|
123
|
-
const timer = setTimeout(() => fail(new CliError("authentication_error", "Zoom login timed out")), options.timeoutMs ?? 3e5);
|
|
124
|
-
try {
|
|
125
|
-
await new Promise((resolve, reject) => {
|
|
126
|
-
server.once("error", reject);
|
|
127
|
-
server.listen(0, "127.0.0.1", resolve);
|
|
128
|
-
});
|
|
129
|
-
const address = server.address();
|
|
130
|
-
if (!address || typeof address === "string")
|
|
131
|
-
throw new CliError("configuration_error", "could not start the local login listener");
|
|
132
|
-
state = `${address.port}.${randomBytes(24).toString("base64url")}`;
|
|
133
|
-
const authorize = new URL("https://zoom.us/oauth/authorize");
|
|
134
|
-
authorize.search = new URLSearchParams({
|
|
135
|
-
response_type: "code",
|
|
136
|
-
client_id: options.tokens.options.clientId,
|
|
137
|
-
redirect_uri: REDIRECT,
|
|
138
|
-
code_challenge: challenge,
|
|
139
|
-
code_challenge_method: "S256",
|
|
140
|
-
state
|
|
141
|
-
}).toString();
|
|
142
|
-
checkCancelled(options.signal);
|
|
143
|
-
options.showUrl?.(authorize.toString());
|
|
144
|
-
const pastePromise = options.readPaste?.(controller.signal).then((text) => {
|
|
145
|
-
const query = new URLSearchParams(text.includes("?") ? text.slice(text.indexOf("?") + 1) : text);
|
|
146
|
-
if (query.get("state") !== state || !query.get("code"))
|
|
147
|
-
throw new CliError("authentication_error", "pasted login must contain the matching code and state");
|
|
148
|
-
return query.get("code") ?? "";
|
|
149
|
-
});
|
|
150
|
-
void Promise.resolve().then(() => options.openBrowser(authorize.toString())).catch(() => {
|
|
151
|
-
if (!options.readPaste)
|
|
152
|
-
fail(new CliError("configuration_error", "could not open the browser; retry with --browser <program>"));
|
|
153
|
-
});
|
|
154
|
-
const code = await (pastePromise ? Promise.race([codePromise, pastePromise]) : codePromise);
|
|
155
|
-
controller.abort();
|
|
156
|
-
const tokens = await options.tokens.exchange({
|
|
157
|
-
grant_type: "authorization_code",
|
|
158
|
-
code,
|
|
159
|
-
redirect_uri: REDIRECT,
|
|
160
|
-
code_verifier: verifier
|
|
161
|
-
});
|
|
162
|
-
return { loggedIn: true, scopes: tokens.scopes, credentialStorage: options.tokens.storageOf() };
|
|
163
|
-
} finally {
|
|
164
|
-
options.signal?.removeEventListener("abort", onAbort);
|
|
165
|
-
clearTimeout(timer);
|
|
166
|
-
controller.abort();
|
|
167
|
-
server.close();
|
|
168
|
-
server.closeAllConnections();
|
|
169
|
-
}
|
|
170
|
-
}, "login");
|
|
171
|
-
|
|
172
78
|
// dist/zoom-app.js
|
|
173
79
|
var schema = object({
|
|
174
80
|
...constantsSchema.entries,
|
|
@@ -245,7 +151,6 @@ var CLIENT_ID_NEED = {
|
|
|
245
151
|
};
|
|
246
152
|
|
|
247
153
|
export {
|
|
248
|
-
login,
|
|
249
154
|
ZOOM_CONSTANTS,
|
|
250
155
|
NO_ZOOM_APP,
|
|
251
156
|
SET_ZOOM_APP,
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
decodeOgg
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2S54TM4N.js";
|
|
7
7
|
import {
|
|
8
8
|
importFrom
|
|
9
9
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/speech/decode.js
|
|
18
18
|
import { spawn } from "node:child_process";
|
|
19
19
|
import { mkdtemp, open, readFile, rm, writeFile } from "node:fs/promises";
|
|
20
20
|
import { createRequire } from "node:module";
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
withTimeLimit
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5B2LV4MS.js";
|
|
6
6
|
import {
|
|
7
7
|
EmptyAnswer,
|
|
8
8
|
checkedOptions,
|
|
@@ -10,25 +10,25 @@ import {
|
|
|
10
10
|
range,
|
|
11
11
|
systemFor,
|
|
12
12
|
validateImages
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WY7XG6TE.js";
|
|
14
14
|
import {
|
|
15
15
|
refuseOffComputer
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-D7RCUODT.js";
|
|
17
17
|
import {
|
|
18
18
|
envName
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZJ63HDBT.js";
|
|
20
20
|
import {
|
|
21
21
|
PLAIN_HTTP_REFUSED,
|
|
22
22
|
endpoint,
|
|
23
23
|
endpointFetch,
|
|
24
24
|
modelAddressAllowed,
|
|
25
25
|
onThisComputer
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-3KUEZK5Z.js";
|
|
27
27
|
import {
|
|
28
28
|
Credentials,
|
|
29
29
|
pathsAreOverridden,
|
|
30
30
|
resolvePaths
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-3QN5KDFZ.js";
|
|
32
32
|
import {
|
|
33
33
|
array,
|
|
34
34
|
integer,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
__name
|
|
48
48
|
} from "./chunk-ZVVMGPBJ.js";
|
|
49
49
|
|
|
50
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
50
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/models/openai.js
|
|
51
51
|
var options = strictObject({
|
|
52
52
|
temperature: range(0, 2),
|
|
53
53
|
top_p: range(0, 1),
|
|
@@ -114,7 +114,7 @@ var openai = {
|
|
|
114
114
|
}), "complete")
|
|
115
115
|
};
|
|
116
116
|
|
|
117
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
117
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/models/index.js
|
|
118
118
|
var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
119
119
|
complete: /* @__PURE__ */ __name(async (request) => {
|
|
120
120
|
if (deps.signal?.aborted)
|
|
@@ -129,7 +129,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
|
129
129
|
if (!adapter && target.provider === "openai")
|
|
130
130
|
adapter = openai;
|
|
131
131
|
if (!adapter && target.provider === "anthropic")
|
|
132
|
-
adapter = (await import("./anthropic-
|
|
132
|
+
adapter = (await import("./anthropic-36VPSF7B.js")).anthropic;
|
|
133
133
|
if (!adapter)
|
|
134
134
|
throw new CliError("validation_error", `no model adapter for ${target.provider}`);
|
|
135
135
|
if (request.images !== void 0 && adapter.images !== true)
|
|
@@ -189,7 +189,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
|
189
189
|
}, "complete")
|
|
190
190
|
}), "modelGateway");
|
|
191
191
|
|
|
192
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
192
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
|
|
193
193
|
var endpointKeyName = /* @__PURE__ */ __name((baseUrl) => {
|
|
194
194
|
const host = new URL(baseUrl).host;
|
|
195
195
|
return ["openai", "anthropic"].includes(host) ? `endpoint:${host}` : host;
|