@wirecat/zoom-cli 0.79.0 → 0.81.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 +5 -4
- package/contracts/wirecat.json +71 -3
- package/dist/answer-output.d.ts +1 -1
- package/dist/answer-output.js +1 -1
- package/dist/answers.d.ts +44 -0
- package/dist/answers.d.ts.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/agent-VYAJCJLE.js +45 -0
- package/dist/bundle/{all-profiles-LDSHUH5W.js → all-profiles-3ASMN35R.js} +64 -22
- package/dist/bundle/answer-policy-PTH4F2DW.js +129 -0
- package/dist/bundle/{anthropic-UH3QWA3F.js → anthropic-XXI53VNI.js} +6 -6
- package/dist/bundle/{app-server-LFANTLAJ.js → app-server-B7WLNZNQ.js} +90 -80
- package/dist/bundle/{bun-M3J2QTR3.js → bun-2FLR4IV4.js} +2 -2
- package/dist/bundle/{bun-sqlite-NYP5UH23.js → bun-sqlite-3NNHTOGM.js} +7 -7
- package/dist/bundle/{chunk-RMQ7EALU.js → chunk-2ELGSNX3.js} +17 -17
- package/dist/bundle/{chunk-5RVXXDN7.js → chunk-2GNGR265.js} +1 -1
- package/dist/bundle/{chunk-FMT4CIGN.js → chunk-2RFWRJFK.js} +7 -7
- package/dist/bundle/{chunk-HZRQLAHO.js → chunk-2Z7UOXFC.js} +1 -1
- package/dist/bundle/chunk-337ALCXQ.js +640 -0
- package/dist/bundle/{chunk-2PUMYKGV.js → chunk-35FVYRH5.js} +20 -18
- package/dist/bundle/{chunk-Y64L7A7E.js → chunk-3M436OO2.js} +6 -6
- package/dist/bundle/{chunk-E5WLE7BM.js → chunk-3UX4VJWD.js} +1 -1
- package/dist/bundle/{chunk-P4MZOAPC.js → chunk-437DLSB3.js} +1371 -638
- package/dist/bundle/{chunk-I75KOOUD.js → chunk-46EF6P2J.js} +3 -3
- package/dist/bundle/{chunk-XOYMIEAZ.js → chunk-4B335BCJ.js} +7 -78
- package/dist/bundle/chunk-4BU3LRTB.js +561 -0
- package/dist/bundle/{chunk-LITZ7KPO.js → chunk-4BXLHSXY.js} +2 -2
- package/dist/bundle/{chunk-TUECY6LV.js → chunk-4FSH7K6N.js} +2 -2
- package/dist/bundle/{chunk-W656MRJD.js → chunk-4VOCXLMJ.js} +6 -6
- package/dist/bundle/{chunk-TLO62ROR.js → chunk-4ZXJ4AZW.js} +26 -26
- package/dist/bundle/{chunk-XFMVDQ6J.js → chunk-5EWYDHBH.js} +2 -2
- package/dist/bundle/{chunk-UQKVZFIX.js → chunk-5SEBLX6B.js} +12 -12
- package/dist/bundle/{chunk-HVQVCGME.js → chunk-77TJ3AJH.js} +3 -3
- package/dist/bundle/{chunk-I6VDTYML.js → chunk-7JWVPJIP.js} +10 -10
- package/dist/bundle/{chunk-FPUGMDJV.js → chunk-AV2ZJ4WX.js} +1 -1
- package/dist/bundle/{chunk-PCPOO5FS.js → chunk-AWJQ6FAX.js} +2 -2
- package/dist/bundle/{chunk-NKFEEY5M.js → chunk-B2WBWKYN.js} +12 -12
- package/dist/bundle/{chunk-52ZQ72HL.js → chunk-BQBC2WIG.js} +1 -1
- package/dist/bundle/{chunk-2GI63IPV.js → chunk-BZXHJKKI.js} +3 -3
- package/dist/bundle/{chunk-3QPAD6YI.js → chunk-C4BBCSGK.js} +43 -64
- package/dist/bundle/{chunk-CWXOXIWS.js → chunk-CFQQTDSA.js} +1 -1
- package/dist/bundle/{chunk-OLMEJNL4.js → chunk-D26K6756.js} +6 -6
- package/dist/bundle/{chunk-DI5JX4SD.js → chunk-D7CDHBDX.js} +1 -1
- package/dist/bundle/{chunk-Y4UDPQ3L.js → chunk-DMJLJVD3.js} +7 -7
- package/dist/bundle/{chunk-LCCVEX4R.js → chunk-EEBSKMEA.js} +12 -12
- package/dist/bundle/{chunk-DQVCCO7G.js → chunk-EPASOAEI.js} +184 -165
- package/dist/bundle/{chunk-RUE3WP7K.js → chunk-EWEQ7AXL.js} +45 -23
- package/dist/bundle/{chunk-4T3J4NCF.js → chunk-F2J2FQUB.js} +9 -9
- package/dist/bundle/{chunk-TP7GDWVF.js → chunk-F5ZAN7OC.js} +1 -1
- package/dist/bundle/{chunk-DFCHHR5M.js → chunk-FMMYBVCH.js} +1 -1
- package/dist/bundle/{chunk-XAOSZGTD.js → chunk-FXCR4DGU.js} +1 -1
- package/dist/bundle/{chunk-M5FW654Z.js → chunk-FXZPAGHT.js} +2 -2
- package/dist/bundle/{chunk-5KEOCHBZ.js → chunk-G3DWMG7Y.js} +4 -4
- package/dist/bundle/{chunk-FKA7DOCK.js → chunk-GCAJW4SR.js} +1 -1
- package/dist/bundle/chunk-GDRFVBCB.js +108 -0
- package/dist/bundle/{chunk-WE4UFASG.js → chunk-GPRJXJC7.js} +15 -1
- package/dist/bundle/chunk-GW2A2FJH.js +209 -0
- package/dist/bundle/{chunk-2N57GL4L.js → chunk-HHQROAJQ.js} +1 -1
- package/dist/bundle/{chunk-M4RXPZ6K.js → chunk-HIFPHARA.js} +4 -4
- package/dist/bundle/{chunk-O3DYRCIT.js → chunk-HVXOA4FO.js} +1 -1
- package/dist/bundle/{chunk-ONJPUFLX.js → chunk-IBYGNUO7.js} +1 -1
- package/dist/bundle/{chunk-2W6QGFHF.js → chunk-IDUKCXL7.js} +8 -8
- package/dist/bundle/{chunk-FO5UNFFN.js → chunk-IFM4G4MT.js} +4 -4
- package/dist/bundle/chunk-IVZACJ6X.js +52 -0
- package/dist/bundle/{chunk-XIHENZW6.js → chunk-IYNICUCC.js} +4 -4
- package/dist/bundle/chunk-J5EHZBO5.js +68 -0
- package/dist/bundle/{chunk-FIJREKLA.js → chunk-JK24A3RP.js} +3 -3
- package/dist/bundle/{chunk-73L5R7AS.js → chunk-JKEMW6E4.js} +2 -2
- package/dist/bundle/{chunk-PP6SZLCY.js → chunk-K7CTCDYX.js} +18 -249
- package/dist/bundle/{chunk-63WT3HCY.js → chunk-KZ3B6HW5.js} +3 -3
- package/dist/bundle/{chunk-XDBGGOE2.js → chunk-L2ERFXB7.js} +32 -28
- package/dist/bundle/{chunk-2IPIBDXI.js → chunk-L54I45OX.js} +19 -16
- package/dist/bundle/{chunk-X2M6NIQG.js → chunk-LECMHK2F.js} +1 -1
- package/dist/bundle/{chunk-NQMHYLZO.js → chunk-LGESUPKO.js} +20 -20
- package/dist/bundle/{chunk-SGFNQFP4.js → chunk-LVCCZI5A.js} +71 -61
- package/dist/bundle/chunk-M7OYEMLI.js +340 -0
- package/dist/bundle/{chunk-VX6ZSKXM.js → chunk-MA4UJNUI.js} +12 -12
- package/dist/bundle/{chunk-4S7RUA3U.js → chunk-MBBR7QHI.js} +9333 -8433
- package/dist/bundle/{chunk-BNEJKGG7.js → chunk-N5ROXGY4.js} +78 -76
- package/dist/bundle/{chunk-2LJARGNG.js → chunk-N62P5FY4.js} +12 -12
- package/dist/bundle/{chunk-65DOVVHQ.js → chunk-NM5XMKWO.js} +1 -1
- package/dist/bundle/{chunk-YOBTKYIX.js → chunk-NQGGTO3B.js} +35 -12
- package/dist/bundle/{chunk-W5HRTC6X.js → chunk-NS3JWBDR.js} +6 -6
- package/dist/bundle/{chunk-QIK2IBJ4.js → chunk-NX3BLISW.js} +23 -7
- package/dist/bundle/{chunk-4BQN5IFQ.js → chunk-OEQNP56V.js} +2 -100
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-AWLZZTPW.js → chunk-PS7HQ5LQ.js} +3 -3
- package/dist/bundle/{chunk-J62BQBVG.js → chunk-Q26UFIH4.js} +3 -3
- package/dist/bundle/{chunk-QRKSASGP.js → chunk-QFK52FG6.js} +3 -3
- package/dist/bundle/chunk-QNG27PGH.js +751 -0
- package/dist/bundle/{chunk-T6LA664Z.js → chunk-R4CXFYQN.js} +139 -574
- package/dist/bundle/{chunk-OZQSTX4J.js → chunk-R6HP2XKD.js} +5 -5
- package/dist/bundle/{chunk-GTUBQQU2.js → chunk-RQFRXUI4.js} +77 -67
- package/dist/bundle/{chunk-BTFPDS52.js → chunk-RRYHLP3A.js} +6 -6
- package/dist/bundle/{chunk-HOXBHGP2.js → chunk-SRUAUMBL.js} +12 -12
- package/dist/bundle/{chunk-RJ5JAYNZ.js → chunk-T2BHIC37.js} +65 -65
- package/dist/bundle/{chunk-JJGUHWLB.js → chunk-T7QPZYRZ.js} +7 -7
- package/dist/bundle/{chunk-NI7UYGTF.js → chunk-TI4WJOEX.js} +13 -13
- package/dist/bundle/{chunk-ST3ZB7LS.js → chunk-UHMJSSQO.js} +1 -1
- package/dist/bundle/{chunk-BOVYOUB3.js → chunk-UMPUY77T.js} +10 -10
- package/dist/bundle/{chunk-U7QXC75C.js → chunk-UPR2S5IE.js} +9 -9
- package/dist/bundle/chunk-UUVWAVKN.js +80 -0
- package/dist/bundle/{chunk-2OTETB4A.js → chunk-V3ZTAAJ6.js} +19 -9
- package/dist/bundle/{chunk-QX3PO5UE.js → chunk-VAW7QGJA.js} +3 -3
- package/dist/bundle/{chunk-N5O3XVX3.js → chunk-VQTYJ6XH.js} +3 -3
- package/dist/bundle/{chunk-YCW422X7.js → chunk-VXD65V67.js} +1466 -1544
- package/dist/bundle/{chunk-D264RGZ4.js → chunk-WHXYPLUE.js} +4 -4
- package/dist/bundle/chunk-WIX6BFRF.js +353 -0
- package/dist/bundle/{chunk-P4WHDL2F.js → chunk-WKNYNK7W.js} +4 -4
- package/dist/bundle/{chunk-PJFVE7UH.js → chunk-XWKUGAG6.js} +31 -16
- package/dist/bundle/{chunk-W7HM2VGO.js → chunk-XYQVVW4R.js} +1 -1
- package/dist/bundle/{chunk-RMX2WPWS.js → chunk-Y7XJA4EW.js} +4 -4
- package/dist/bundle/{chunk-Z3CPZ4I4.js → chunk-YIIGF643.js} +306 -306
- package/dist/bundle/{chunk-525BI32C.js → chunk-YISJJNXT.js} +3 -3
- package/dist/bundle/{chunk-AZB6QXZU.js → chunk-YJKXCINQ.js} +51 -4
- package/dist/bundle/{chunk-IIFRJV3A.js → chunk-YNWBRDBX.js} +2 -2
- package/dist/bundle/{chunk-ZPZT46O6.js → chunk-YRDQ54G5.js} +33 -10
- package/dist/bundle/{chunk-W53EJOFQ.js → chunk-YUDVRFXN.js} +1 -1
- package/dist/bundle/{chunk-ND7TBQKO.js → chunk-ZFRYFDZN.js} +2 -2
- package/dist/bundle/{chunk-XEIL6VNA.js → chunk-ZLYICF6A.js} +4 -4
- package/dist/bundle/{chunk-7DTWT7BN.js → chunk-ZMAPXIGC.js} +2 -2
- package/dist/bundle/{chunk-ZKVYV25H.js → chunk-ZNAX7GUV.js} +8 -8
- package/dist/bundle/{cli-AVQU63FT.js → cli-WTGAGSXV.js} +144 -97
- package/dist/bundle/command-contract-3IKVWPDL.js +45 -0
- package/dist/bundle/{command-server-entry-JZP7Y73G.js → command-server-entry-47CAYN3E.js} +35 -35
- package/dist/bundle/config-ZOGOKGTU.js +116 -0
- package/dist/bundle/{decode-JLAYH7GC.js → decode-2G7QS5IQ.js} +6 -6
- package/dist/bundle/{dispatch-AWDROXWN.js → dispatch-ZAP3KBVJ.js} +9 -9
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{dist-TBLTUL5M.js → dist-WY6R3WH7.js} +21 -21
- package/dist/bundle/{echarts-FVTUDXDU.js → echarts-YRRVLEX3.js} +2 -2
- package/dist/bundle/{embed-CJRENDF7.js → embed-B5H3OW2O.js} +7 -7
- package/dist/bundle/{embedder-RPE67QJD.js → embedder-3O73SP6Y.js} +10 -10
- package/dist/bundle/{failure-JZW73RP7.js → failure-EYGW7JMC.js} +3 -3
- package/dist/bundle/first-run-MPKMDEMA.js +29 -0
- package/dist/bundle/first-screen-AIAAC3KF.js +45 -0
- package/dist/bundle/{folders-TGFOE7DY.js → folders-4CGFWM6H.js} +5 -5
- package/dist/bundle/{instructions-HET7BCYK.js → instructions-AG7SRWTR.js} +1 -1
- package/dist/bundle/{main-QRJ6NRCD.js → main-DOGY6FJP.js} +24 -24
- package/dist/bundle/{mcp-RGNRW77S.js → mcp-YGOAUNC3.js} +2 -2
- package/dist/bundle/meeting-combined-YKPKTKGA.js +26 -0
- package/dist/bundle/meeting-model-HTXSGHNM.js +26 -0
- package/dist/bundle/{meeting-semantic-4MURLQCA.js → meeting-semantic-FOEBWV3P.js} +8 -8
- package/dist/bundle/{meetings-QFZWKHI4.js → meetings-PVE4C2NF.js} +7 -7
- package/dist/bundle/{node-CXZIFHZC.js → node-GJQYN4FT.js} +2 -2
- package/dist/bundle/{node-sqlite-CZPYFROO.js → node-sqlite-MLRYKVCQ.js} +8 -8
- package/dist/bundle/oauth-AC55C6SG.js +20 -0
- package/dist/bundle/{open-3AONZFET.js → open-3LGTYP6M.js} +6 -6
- package/dist/bundle/openai-E2MSLVIX.js +28 -0
- package/dist/bundle/{output-file-J4SU6X4I.js → output-file-FXMTTLOI.js} +6 -6
- package/dist/bundle/{process-5RUXWGYS.js → process-MEKCZMX3.js} +1 -1
- package/dist/bundle/{program-2O4YSRWY.js → program-E5BSSIGY.js} +166 -156
- package/dist/bundle/{prompt-NDLUFCJV.js → prompt-AIA6QSZK.js} +6 -6
- package/dist/bundle/{recognize-CZOIAJQX.js → recognize-M57VNTEV.js} +5 -5
- package/dist/bundle/{remote-O3CE4Q3B.js → remote-3OTENZ7Z.js} +11 -11
- package/dist/bundle/{rerank-MZOL746K.js → rerank-P5WHDFDU.js} +8 -8
- package/dist/bundle/run-log-EOQ4EQDS.js +143 -0
- package/dist/bundle/{serve-43IBHMFM.js → serve-BRLC2QVV.js} +11 -11
- package/dist/bundle/{server-6LTMPPTO.js → server-25NF7DMS.js} +80 -69
- package/dist/bundle/server-EW2RL2EL.js +93 -0
- package/dist/bundle/{services-UIRD5PHE.js → services-MJE43OGD.js} +54 -52
- package/dist/bundle/{speech-6QVKIJVR.js → speech-4AVCWTQH.js} +28 -28
- package/dist/bundle/{sqlite-runtime-PKCIBVHZ.js → sqlite-runtime-U4TQXWMC.js} +7 -7
- package/dist/bundle/{state-AC55V3IE.js → state-GNUGVMY7.js} +7 -7
- package/dist/bundle/{store-OAGA2ZK3.js → store-KBFZVQWF.js} +33 -24
- package/dist/bundle/{store-QOCYJNKX.js → store-MHVBFUBB.js} +27 -26
- package/dist/bundle/store-connection-SKRUAI4L.js +109 -0
- package/dist/bundle/store-maintenance-command-G6EXJSHJ.js +81 -0
- package/dist/bundle/{streaming-VDJOYGMO.js → streaming-6F7AFEHD.js} +7 -7
- package/dist/bundle/surface-DWEWB5RG.js +79 -0
- package/dist/bundle/{tokens-LN442AO6.js → tokens-BB4MQBLH.js} +11 -10
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-TOCQ7LB5.js → zoom-app-YTGOZ2FS.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/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +2 -2
- package/dist/program-bindings.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-VJK4ID2F.js +0 -122
- package/dist/bundle/chunk-3AFZ6Q5N.js +0 -729
- package/dist/bundle/command-contract-MCWBL5VS.js +0 -45
- package/dist/bundle/config-G3C54VH6.js +0 -109
- package/dist/bundle/first-run-QEASX5J5.js +0 -29
- package/dist/bundle/first-screen-NGCQD3CU.js +0 -45
- package/dist/bundle/meeting-combined-AZXCDXCV.js +0 -26
- package/dist/bundle/meeting-model-7HNQ4I3J.js +0 -26
- package/dist/bundle/oauth-T45MPIZF.js +0 -20
- package/dist/bundle/openai-LHWUXEBO.js +0 -28
- package/dist/bundle/run-log-GX6LNMWY.js +0 -136
- package/dist/bundle/server-3E2PJGYK.js +0 -85
- package/dist/bundle/store-connection-PBZMFY56.js +0 -102
- package/dist/bundle/store-maintenance-command-VBCHEOGI.js +0 -77
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
checkedClientId
|
|
5
|
-
} from "./chunk-Y64L7A7E.js";
|
|
6
3
|
import {
|
|
7
4
|
commandsCommand,
|
|
8
5
|
formatSuggestions,
|
|
9
6
|
meetingResultItem,
|
|
10
7
|
runsCommand,
|
|
11
8
|
suggest
|
|
12
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VXD65V67.js";
|
|
10
|
+
import {
|
|
11
|
+
checkedClientId
|
|
12
|
+
} from "./chunk-3M436OO2.js";
|
|
13
13
|
import {
|
|
14
14
|
sharedStoreCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RQFRXUI4.js";
|
|
16
16
|
import {
|
|
17
|
+
LOCAL_READ,
|
|
17
18
|
NO_EFFECTS,
|
|
18
19
|
REMOTE_READ,
|
|
19
20
|
annotate,
|
|
@@ -35,39 +36,40 @@ import {
|
|
|
35
36
|
profileFree,
|
|
36
37
|
renderAnswer,
|
|
37
38
|
snakeKeys,
|
|
39
|
+
takesProfile,
|
|
38
40
|
usableProfileName,
|
|
39
41
|
withSettingDefaults
|
|
40
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-EPASOAEI.js";
|
|
41
43
|
import {
|
|
42
44
|
readOnlyLockOf,
|
|
43
45
|
readOnlyRefusal
|
|
44
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-FXZPAGHT.js";
|
|
45
47
|
import {
|
|
46
48
|
setupPermissionCeiling
|
|
47
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-ZLYICF6A.js";
|
|
48
50
|
import {
|
|
49
51
|
CEILING_KEY,
|
|
50
52
|
DEFAULT_PERMISSIONS,
|
|
51
53
|
LEVELS,
|
|
52
54
|
keyForCommand,
|
|
53
55
|
levelFor
|
|
54
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-V3ZTAAJ6.js";
|
|
55
57
|
import {
|
|
56
58
|
KEEP_RUNS_FOR_DAYS,
|
|
57
59
|
KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
|
|
58
60
|
RUNS_SIZE_LIMIT_MB
|
|
59
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-D26K6756.js";
|
|
60
62
|
import {
|
|
61
63
|
ZM
|
|
62
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-D7CDHBDX.js";
|
|
63
65
|
import {
|
|
64
66
|
MEETING_RESULT_ENTITIES
|
|
65
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-T2BHIC37.js";
|
|
66
68
|
import {
|
|
67
69
|
createRenderer,
|
|
68
70
|
projectFields,
|
|
69
71
|
saveConfigFile
|
|
70
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-N5ROXGY4.js";
|
|
71
73
|
import {
|
|
72
74
|
array,
|
|
73
75
|
boolean,
|
|
@@ -92,10 +94,10 @@ import {
|
|
|
92
94
|
strictObject,
|
|
93
95
|
string,
|
|
94
96
|
union
|
|
95
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-YRDQ54G5.js";
|
|
96
98
|
import {
|
|
97
99
|
CliError
|
|
98
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-UHMJSSQO.js";
|
|
99
101
|
import {
|
|
100
102
|
__name
|
|
101
103
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -552,6 +554,7 @@ var addStandardCommandsDefinition = /* @__PURE__ */ __name((program, deps) => {
|
|
|
552
554
|
effects: REMOTE_READ,
|
|
553
555
|
examples: ["zm personal session status --json", "zm personal session status --check --dry-run --json"]
|
|
554
556
|
});
|
|
557
|
+
annotate(profileFree(session.command("list").description("list the profiles on this computer and the state of each one's saved Zoom login").action(async () => deps.output(wholeList("session list", await deps.sessionList())))), { effects: LOCAL_READ, examples: ["zm session list --json"] });
|
|
555
558
|
}, "addStandardCommandsDefinition");
|
|
556
559
|
var annotateMeetingCommands = /* @__PURE__ */ __name((program) => {
|
|
557
560
|
for (const item of flatten(describeProgram(program))) {
|
|
@@ -566,7 +569,7 @@ var annotateMeetingCommands = /* @__PURE__ */ __name((program) => {
|
|
|
566
569
|
const path = item.path.join(" ");
|
|
567
570
|
if (!metaOf(command).effects)
|
|
568
571
|
throw new CliError("configuration_error", `command effects are missing: ${path}`);
|
|
569
|
-
const examples = item.examples?.map((example) => PROFILE_FREE.has(item.path[0] ?? "") ? example : example.replace(`zm ${path}`, `zm personal ${path}`)) ?? [exampleFor(path)];
|
|
572
|
+
const examples = item.examples?.map((example) => PROFILE_FREE.has(item.path[0] ?? "") || !takesProfile(command) ? example : example.replace(`zm ${path}`, `zm personal ${path}`)) ?? [exampleFor(path)];
|
|
570
573
|
if (JSON.stringify(examples) === JSON.stringify(item.examples))
|
|
571
574
|
continue;
|
|
572
575
|
const change = /* @__PURE__ */ __name((one) => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/stdin-field.js
|
|
8
8
|
var fields = /* @__PURE__ */ new WeakMap();
|
|
9
9
|
var readsStdin = /* @__PURE__ */ __name((command, field) => {
|
|
10
10
|
fields.set(command, field);
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
QUERY_LIMITS,
|
|
5
5
|
exhausted,
|
|
6
6
|
searchError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-46EF6P2J.js";
|
|
8
8
|
import {
|
|
9
9
|
fold
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2Z7UOXFC.js";
|
|
11
11
|
import {
|
|
12
12
|
CATALOG_KINDS,
|
|
13
13
|
CONTRACT_KINDS,
|
|
@@ -26,22 +26,22 @@ import {
|
|
|
26
26
|
parseReference,
|
|
27
27
|
providerLabel,
|
|
28
28
|
providerNamed
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-TI4WJOEX.js";
|
|
30
30
|
import {
|
|
31
31
|
holdsCredential,
|
|
32
32
|
secretNamed
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-BQBC2WIG.js";
|
|
34
34
|
import {
|
|
35
35
|
CliError
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-UHMJSSQO.js";
|
|
37
37
|
import {
|
|
38
38
|
singleLine
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-2GNGR265.js";
|
|
40
40
|
import {
|
|
41
41
|
__name
|
|
42
42
|
} from "./chunk-ZVVMGPBJ.js";
|
|
43
43
|
|
|
44
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
44
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/record-fields.js
|
|
45
45
|
var DECIMAL_PATTERN = "^[0-9]{1,16}(\\.[0-9]{1,6})?$";
|
|
46
46
|
var SIGNED_DECIMAL = "^-?[0-9]{1,16}(\\.[0-9]{1,6})?$";
|
|
47
47
|
var DAY = "^[0-9]{4}-[0-9]{2}-[0-9]{2}$";
|
|
@@ -160,7 +160,7 @@ var fieldError = /* @__PURE__ */ __name((schema, value, at = []) => {
|
|
|
160
160
|
return void 0;
|
|
161
161
|
}, "fieldError");
|
|
162
162
|
|
|
163
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
163
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/record-types.js
|
|
164
164
|
var kept = /* @__PURE__ */ __name((description) => ({ description }), "kept");
|
|
165
165
|
var PARTY = ["person", "organization"];
|
|
166
166
|
var ORGANIZATION = ["organization"];
|
|
@@ -555,7 +555,7 @@ var hasV1Roles = /* @__PURE__ */ __name((type) => rolesOf(type).some(([, role])
|
|
|
555
555
|
var IDENTITY_TYPES = RECORD_ENTITY_TYPES.filter((type) => RECORD_TYPES[type].review === "identity");
|
|
556
556
|
var article = /* @__PURE__ */ __name((word) => /^[aeiou]/.test(word) ? "an" : "a", "article");
|
|
557
557
|
|
|
558
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
558
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/addresses.js
|
|
559
559
|
var EMAIL_ADDRESS = /^[^\s@]+@[^\s@]+\.[^\s@]+$/u;
|
|
560
560
|
var isEmailAddress = /* @__PURE__ */ __name((value) => EMAIL_ADDRESS.test(value), "isEmailAddress");
|
|
561
561
|
var ROLE_ADDRESS_WORDS = {
|
|
@@ -617,7 +617,7 @@ var PERSON_LIKE = /* @__PURE__ */ new Set(["hr"]);
|
|
|
617
617
|
var isPersonLikeRoleAddress = /* @__PURE__ */ __name((address) => PERSON_LIKE.has(localWord(address)), "isPersonLikeRoleAddress");
|
|
618
618
|
var isNoReplyAddress = /* @__PURE__ */ __name((address) => NO_REPLY.has(localWord(address)), "isNoReplyAddress");
|
|
619
619
|
|
|
620
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
620
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/phone-plans.generated.js
|
|
621
621
|
var PHONE_PLANS = [
|
|
622
622
|
{
|
|
623
623
|
country: "us",
|
|
@@ -997,7 +997,7 @@ var PHONE_PLANS = [
|
|
|
997
997
|
}
|
|
998
998
|
];
|
|
999
999
|
|
|
1000
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1000
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/phones.js
|
|
1001
1001
|
var PHONE_COUNTRIES = PHONE_PLANS.map((plan) => plan.country);
|
|
1002
1002
|
var DEFAULT_PHONE_COUNTRIES = ["ru"];
|
|
1003
1003
|
var parsePhoneCountries = /* @__PURE__ */ __name((value) => {
|
|
@@ -1072,7 +1072,7 @@ var storedPhone = /* @__PURE__ */ __name((raw, provider) => {
|
|
|
1072
1072
|
return found ? `+${found[1]}` : void 0;
|
|
1073
1073
|
}, "storedPhone");
|
|
1074
1074
|
|
|
1075
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1075
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
|
|
1076
1076
|
var TAKES = {
|
|
1077
1077
|
chat: "a chat: chat:<provider>/<account>/<chat>, its id or its title",
|
|
1078
1078
|
message: "a message: msg:<provider>/<account>/<chat>/<message>, or a chat and the message's id"
|
|
@@ -1132,7 +1132,7 @@ var ensureAccount = /* @__PURE__ */ __name(async (reference, scope, profilesOn)
|
|
|
1132
1132
|
throw wrongAccount(reference, scope, profiles);
|
|
1133
1133
|
}, "ensureAccount");
|
|
1134
1134
|
|
|
1135
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1135
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/search/lucene/automaton.js
|
|
1136
1136
|
var any = { kind: "char", ranges: [[0, 1114111]], negate: false };
|
|
1137
1137
|
var literal = /* @__PURE__ */ __name((c) => ({
|
|
1138
1138
|
kind: "char",
|
|
@@ -1532,7 +1532,7 @@ var foldRegex = /* @__PURE__ */ __name((pattern, span) => {
|
|
|
1532
1532
|
return out;
|
|
1533
1533
|
}, "foldRegex");
|
|
1534
1534
|
|
|
1535
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1535
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/search/trigrams.js
|
|
1536
1536
|
var trigrams = /* @__PURE__ */ __name((term) => {
|
|
1537
1537
|
const padded = ` ${term} `;
|
|
1538
1538
|
const pieces = /* @__PURE__ */ new Set();
|
|
@@ -1541,7 +1541,7 @@ var trigrams = /* @__PURE__ */ __name((term) => {
|
|
|
1541
1541
|
return [...pieces];
|
|
1542
1542
|
}, "trigrams");
|
|
1543
1543
|
|
|
1544
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1544
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/resolve.js
|
|
1545
1545
|
var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
|
|
1546
1546
|
var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase().replaceAll("\u0451", "\u0435"), "foldName");
|
|
1547
1547
|
var pickChat = /* @__PURE__ */ __name((reference, chats) => {
|
|
@@ -1612,7 +1612,7 @@ ${lines}`, { candidates });
|
|
|
1612
1612
|
}, "ambiguous");
|
|
1613
1613
|
var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
|
|
1614
1614
|
|
|
1615
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1615
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/display-names.js
|
|
1616
1616
|
var QUOTES = [
|
|
1617
1617
|
['"', '"'],
|
|
1618
1618
|
["'", "'"],
|
|
@@ -1670,7 +1670,7 @@ var nameKey = /* @__PURE__ */ __name((name) => {
|
|
|
1670
1670
|
}, "nameKey");
|
|
1671
1671
|
var isReadable = /* @__PURE__ */ __name((shown) => shown !== null && READABLE.test(shown), "isReadable");
|
|
1672
1672
|
|
|
1673
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1673
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/counters.js
|
|
1674
1674
|
var COUNTER_FIELDS = ["views", "reactions", "comments"];
|
|
1675
1675
|
var validCounter = /* @__PURE__ */ __name((value) => typeof value === "number" && Number.isFinite(value) && value >= 0, "validCounter");
|
|
1676
1676
|
var counterValue = /* @__PURE__ */ __name((message, field) => {
|
|
@@ -1707,7 +1707,7 @@ var counterFreshness = /* @__PURE__ */ __name((states) => {
|
|
|
1707
1707
|
return states.some((one) => one.freshness === "stale") ? "stale" : "fresh";
|
|
1708
1708
|
}, "counterFreshness");
|
|
1709
1709
|
|
|
1710
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1710
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/rankings-options.js
|
|
1711
1711
|
var MESSAGE_MEASURES = ["views", "reactions", "forwards", "comments", "replies", "thread-size"];
|
|
1712
1712
|
var AUTHOR_MEASURES = [
|
|
1713
1713
|
"messages",
|
|
@@ -1847,7 +1847,7 @@ var withoutUrls = /* @__PURE__ */ __name((text2) => text2.replace(/\S+/gu, (toke
|
|
|
1847
1847
|
var rankingWords = /* @__PURE__ */ __name((text2) => withoutUrls(text2).match(/[\p{L}\p{N}]+/gu)?.length ?? 0, "rankingWords");
|
|
1848
1848
|
var rankingQuestion = /* @__PURE__ */ __name((text2) => withoutUrls(text2).includes("?"), "rankingQuestion");
|
|
1849
1849
|
|
|
1850
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1850
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/records.js
|
|
1851
1851
|
import { createHash } from "node:crypto";
|
|
1852
1852
|
var RECORDS_SCHEMA_VERSION = 1;
|
|
1853
1853
|
var RECORD_OPERATIONS = ["upsert", "delete"];
|
|
@@ -2200,7 +2200,7 @@ var fieldReferences = /* @__PURE__ */ __name((record, options = {}) => {
|
|
|
2200
2200
|
return found;
|
|
2201
2201
|
}, "fieldReferences");
|
|
2202
2202
|
|
|
2203
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2203
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/relation-role-labels.js
|
|
2204
2204
|
var label = /* @__PURE__ */ __name((en, ru, es) => ({ en, ru, es }), "label");
|
|
2205
2205
|
var ROLE_LABELS = {
|
|
2206
2206
|
organization: {
|
|
@@ -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-L2ERFXB7.js";
|
|
16
|
+
import {
|
|
17
|
+
skillResources
|
|
18
|
+
} from "./chunk-K7CTCDYX.js";
|
|
19
|
+
import {
|
|
20
|
+
StdioServerTransport,
|
|
21
|
+
answeredWire,
|
|
22
|
+
serveStdio
|
|
23
|
+
} from "./chunk-OEQNP56V.js";
|
|
24
|
+
import {
|
|
25
|
+
runCommandForAgent,
|
|
26
|
+
toolsFromCommands
|
|
27
|
+
} from "./chunk-R4CXFYQN.js";
|
|
28
|
+
import {
|
|
29
|
+
instructions
|
|
30
|
+
} from "./chunk-GCAJW4SR.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-T6LA664Z.js";
|
|
48
|
+
toolKey
|
|
49
|
+
} from "./chunk-4BU3LRTB.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-XDBGGOE2.js";
|
|
37
|
-
import {
|
|
38
|
-
agentJson,
|
|
39
|
-
skillResources
|
|
40
|
-
} from "./chunk-PP6SZLCY.js";
|
|
51
|
+
agentJson
|
|
52
|
+
} from "./chunk-GW2A2FJH.js";
|
|
41
53
|
import {
|
|
42
|
-
|
|
43
|
-
|
|
54
|
+
callerOf,
|
|
55
|
+
callingAgent
|
|
56
|
+
} from "./chunk-GDRFVBCB.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-4BQN5IFQ.js";
|
|
59
|
+
} from "./chunk-WHXYPLUE.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-35FVYRH5.js";
|
|
61
67
|
import {
|
|
62
|
-
lackedNeed,
|
|
63
68
|
wholeList
|
|
64
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-WIX6BFRF.js";
|
|
70
|
+
import {
|
|
71
|
+
lackedNeed
|
|
72
|
+
} from "./chunk-J5EHZBO5.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-MBBR7QHI.js";
|
|
79
|
+
import {
|
|
80
|
+
capability,
|
|
81
|
+
dateWindow
|
|
82
|
+
} from "./chunk-QNG27PGH.js";
|
|
73
83
|
import {
|
|
74
84
|
warmEmbedders
|
|
75
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-C4BBCSGK.js";
|
|
76
86
|
import {
|
|
77
87
|
stdinFieldOf
|
|
78
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-LECMHK2F.js";
|
|
79
89
|
import {
|
|
80
90
|
findCommand
|
|
81
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-R6HP2XKD.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-EPASOAEI.js";
|
|
96
106
|
import {
|
|
97
107
|
readOnlyLockOf
|
|
98
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-FXZPAGHT.js";
|
|
99
109
|
import {
|
|
100
110
|
withCaller
|
|
101
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-T7QPZYRZ.js";
|
|
102
112
|
import {
|
|
103
113
|
fetchesAt,
|
|
104
114
|
levelFor,
|
|
105
115
|
readKeysForCommand
|
|
106
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-V3ZTAAJ6.js";
|
|
107
117
|
import {
|
|
108
118
|
openStore,
|
|
109
119
|
pdfPreviewLimits
|
|
110
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-437DLSB3.js";
|
|
111
121
|
import {
|
|
112
122
|
typedCommand
|
|
113
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-D26K6756.js";
|
|
114
124
|
import {
|
|
115
125
|
isCliFailure
|
|
116
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-ZFRYFDZN.js";
|
|
117
127
|
import {
|
|
118
128
|
timezoneOf
|
|
119
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-YIIGF643.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-YRDQ54G5.js";
|
|
137
147
|
import {
|
|
138
148
|
CliError
|
|
139
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-UHMJSSQO.js";
|
|
140
150
|
import {
|
|
141
151
|
visibleControls
|
|
142
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-2GNGR265.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@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/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@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/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@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/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@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/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@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/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@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/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@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/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@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/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@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/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-BRLC2QVV.js");
|
|
753
763
|
const appName = messenger.app.command;
|
|
754
764
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
755
765
|
const listening = await serveOverHttp(build, {
|