@wirecat/zoom-cli 0.80.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/contracts/wirecat.json +71 -3
- 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-5GOKWOT4.js → all-profiles-3ASMN35R.js} +64 -22
- package/dist/bundle/answer-policy-PTH4F2DW.js +129 -0
- package/dist/bundle/{anthropic-NHXMOFYS.js → anthropic-XXI53VNI.js} +6 -6
- package/dist/bundle/{app-server-HFW5Z5PI.js → app-server-B7WLNZNQ.js} +90 -80
- package/dist/bundle/{bun-M5IGY2TG.js → bun-2FLR4IV4.js} +2 -2
- package/dist/bundle/{bun-sqlite-MTP5JJQ2.js → bun-sqlite-3NNHTOGM.js} +7 -7
- package/dist/bundle/{chunk-P2JTVRGU.js → chunk-2ELGSNX3.js} +17 -17
- package/dist/bundle/{chunk-5RVXXDN7.js → chunk-2GNGR265.js} +1 -1
- package/dist/bundle/{chunk-W2QDYMAM.js → chunk-2RFWRJFK.js} +7 -7
- package/dist/bundle/{chunk-4OAR7BGU.js → chunk-2Z7UOXFC.js} +1 -1
- package/dist/bundle/chunk-337ALCXQ.js +640 -0
- package/dist/bundle/{chunk-4F7Q5CET.js → chunk-35FVYRH5.js} +20 -18
- package/dist/bundle/{chunk-HH7GR6TN.js → chunk-3M436OO2.js} +6 -6
- package/dist/bundle/{chunk-5QXQIZJY.js → chunk-3UX4VJWD.js} +1 -1
- package/dist/bundle/{chunk-NRVMK5H3.js → chunk-437DLSB3.js} +1211 -615
- package/dist/bundle/{chunk-L2TURFT6.js → chunk-46EF6P2J.js} +3 -3
- package/dist/bundle/{chunk-GVKZZT7E.js → chunk-4B335BCJ.js} +7 -78
- package/dist/bundle/chunk-4BU3LRTB.js +561 -0
- package/dist/bundle/{chunk-W32HK7KG.js → chunk-4BXLHSXY.js} +2 -2
- package/dist/bundle/{chunk-JGSVWLL2.js → chunk-4FSH7K6N.js} +2 -2
- package/dist/bundle/{chunk-GCUOZ2OA.js → chunk-4VOCXLMJ.js} +6 -6
- package/dist/bundle/{chunk-XL4ND7CZ.js → chunk-4ZXJ4AZW.js} +26 -26
- package/dist/bundle/{chunk-6CDMGT6Q.js → chunk-5EWYDHBH.js} +2 -2
- package/dist/bundle/{chunk-HGSBLY6M.js → chunk-5SEBLX6B.js} +12 -12
- package/dist/bundle/{chunk-TDBVM2SS.js → chunk-77TJ3AJH.js} +3 -3
- package/dist/bundle/{chunk-5XO2AY6D.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-N5YUHN6S.js → chunk-B2WBWKYN.js} +12 -12
- package/dist/bundle/{chunk-W7M4JYEE.js → chunk-BQBC2WIG.js} +1 -1
- package/dist/bundle/{chunk-NXFKZFTC.js → chunk-BZXHJKKI.js} +3 -3
- package/dist/bundle/{chunk-BPSURRAD.js → chunk-C4BBCSGK.js} +43 -64
- package/dist/bundle/{chunk-CWXOXIWS.js → chunk-CFQQTDSA.js} +1 -1
- package/dist/bundle/{chunk-2P6MQH4V.js → chunk-D26K6756.js} +6 -6
- package/dist/bundle/{chunk-XKLU5KV2.js → chunk-D7CDHBDX.js} +1 -1
- package/dist/bundle/{chunk-6LY4LBSD.js → chunk-DMJLJVD3.js} +7 -7
- package/dist/bundle/{chunk-K672XJ2P.js → chunk-EEBSKMEA.js} +12 -12
- package/dist/bundle/{chunk-SUG6YGAF.js → chunk-EPASOAEI.js} +166 -161
- package/dist/bundle/{chunk-M4LAF627.js → chunk-EWEQ7AXL.js} +19 -19
- package/dist/bundle/{chunk-ARL2TTPZ.js → chunk-F2J2FQUB.js} +9 -9
- package/dist/bundle/{chunk-RT7C3SSJ.js → chunk-F5ZAN7OC.js} +1 -1
- package/dist/bundle/{chunk-6QCBTBDA.js → chunk-FMMYBVCH.js} +1 -1
- package/dist/bundle/{chunk-EI37UXDR.js → chunk-FXCR4DGU.js} +1 -1
- package/dist/bundle/{chunk-D4HKTC2T.js → chunk-FXZPAGHT.js} +2 -2
- package/dist/bundle/{chunk-CW6CPQHI.js → chunk-G3DWMG7Y.js} +4 -4
- package/dist/bundle/{chunk-W3GZ7JUO.js → chunk-GCAJW4SR.js} +1 -1
- package/dist/bundle/chunk-GDRFVBCB.js +108 -0
- package/dist/bundle/{chunk-A3TUG2DP.js → chunk-GPRJXJC7.js} +15 -1
- package/dist/bundle/chunk-GW2A2FJH.js +209 -0
- package/dist/bundle/{chunk-3Z7CFQTI.js → chunk-HHQROAJQ.js} +1 -1
- package/dist/bundle/{chunk-BRMV33MO.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-GGKEQQME.js → chunk-IDUKCXL7.js} +8 -8
- package/dist/bundle/{chunk-5CJ6AAUI.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-TNL3YQ33.js → chunk-JKEMW6E4.js} +2 -2
- package/dist/bundle/{chunk-3AOESMW6.js → chunk-K7CTCDYX.js} +18 -259
- package/dist/bundle/{chunk-OXPHJEJ2.js → chunk-KZ3B6HW5.js} +3 -3
- package/dist/bundle/{chunk-E3JVLVVB.js → chunk-L2ERFXB7.js} +30 -28
- package/dist/bundle/{chunk-DZ6H3YJH.js → chunk-L54I45OX.js} +19 -16
- package/dist/bundle/{chunk-475P3LWG.js → chunk-LECMHK2F.js} +1 -1
- package/dist/bundle/{chunk-6PIXP5IH.js → chunk-LGESUPKO.js} +20 -20
- package/dist/bundle/{chunk-75JW7X2W.js → chunk-LVCCZI5A.js} +71 -61
- package/dist/bundle/chunk-M7OYEMLI.js +340 -0
- package/dist/bundle/{chunk-O4ZBFATF.js → chunk-MA4UJNUI.js} +12 -12
- package/dist/bundle/{chunk-RFXJLG5V.js → chunk-MBBR7QHI.js} +3377 -2720
- package/dist/bundle/{chunk-BNEJKGG7.js → chunk-N5ROXGY4.js} +78 -76
- package/dist/bundle/{chunk-BW5JEOBE.js → chunk-N62P5FY4.js} +12 -12
- package/dist/bundle/{chunk-5K54M6RD.js → chunk-NM5XMKWO.js} +1 -1
- package/dist/bundle/{chunk-EMYRUJCV.js → chunk-NQGGTO3B.js} +8 -8
- package/dist/bundle/{chunk-7U5X37TE.js → chunk-NS3JWBDR.js} +6 -6
- package/dist/bundle/{chunk-QIK2IBJ4.js → chunk-NX3BLISW.js} +23 -7
- package/dist/bundle/{chunk-2XZ2YKW4.js → chunk-OEQNP56V.js} +2 -100
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-GCPO7T2X.js → chunk-PS7HQ5LQ.js} +3 -3
- package/dist/bundle/{chunk-MH4L5LL6.js → chunk-Q26UFIH4.js} +3 -3
- package/dist/bundle/{chunk-JXSEH64A.js → chunk-QFK52FG6.js} +3 -3
- package/dist/bundle/chunk-QNG27PGH.js +751 -0
- package/dist/bundle/{chunk-YR5TRWT2.js → chunk-R4CXFYQN.js} +139 -574
- package/dist/bundle/{chunk-YAA2D6RP.js → chunk-R6HP2XKD.js} +5 -5
- package/dist/bundle/{chunk-CHEHK6IW.js → chunk-RQFRXUI4.js} +77 -67
- package/dist/bundle/{chunk-CWCDCNXA.js → chunk-RRYHLP3A.js} +6 -6
- package/dist/bundle/{chunk-EPIA2UUM.js → chunk-SRUAUMBL.js} +12 -12
- package/dist/bundle/{chunk-TMYZKDQ7.js → chunk-T2BHIC37.js} +65 -65
- package/dist/bundle/{chunk-FSLR2YGR.js → chunk-T7QPZYRZ.js} +7 -7
- package/dist/bundle/{chunk-PKW3TPNP.js → chunk-TI4WJOEX.js} +13 -13
- package/dist/bundle/{chunk-ST3ZB7LS.js → chunk-UHMJSSQO.js} +1 -1
- package/dist/bundle/{chunk-GRYXOSN6.js → chunk-UMPUY77T.js} +10 -10
- package/dist/bundle/{chunk-Q5LUGY2V.js → chunk-UPR2S5IE.js} +9 -9
- package/dist/bundle/chunk-UUVWAVKN.js +80 -0
- package/dist/bundle/{chunk-DYRISFHZ.js → chunk-V3ZTAAJ6.js} +19 -9
- package/dist/bundle/{chunk-Q6MISDKJ.js → chunk-VAW7QGJA.js} +3 -3
- package/dist/bundle/{chunk-L6FM5RQY.js → chunk-VQTYJ6XH.js} +3 -3
- package/dist/bundle/{chunk-BIKHHFD2.js → chunk-VXD65V67.js} +1395 -1529
- package/dist/bundle/{chunk-XTCAWNBP.js → chunk-WHXYPLUE.js} +4 -4
- package/dist/bundle/chunk-WIX6BFRF.js +353 -0
- package/dist/bundle/{chunk-JJX4HKDV.js → chunk-WKNYNK7W.js} +4 -4
- package/dist/bundle/{chunk-NMETTKCV.js → chunk-XWKUGAG6.js} +14 -14
- package/dist/bundle/{chunk-3UONR5HW.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-PMO2Z6DQ.js → chunk-YISJJNXT.js} +3 -3
- package/dist/bundle/{chunk-UX4JZMA4.js → chunk-YJKXCINQ.js} +28 -3
- package/dist/bundle/{chunk-U5N2PKKM.js → chunk-YNWBRDBX.js} +2 -2
- package/dist/bundle/{chunk-ZPZT46O6.js → chunk-YRDQ54G5.js} +33 -10
- package/dist/bundle/{chunk-VN7TKMOW.js → chunk-YUDVRFXN.js} +1 -1
- package/dist/bundle/{chunk-6I4C4ZFT.js → chunk-ZFRYFDZN.js} +2 -2
- package/dist/bundle/{chunk-IQWBGMCR.js → chunk-ZLYICF6A.js} +4 -4
- package/dist/bundle/{chunk-G5VH4WUF.js → chunk-ZMAPXIGC.js} +2 -2
- package/dist/bundle/{chunk-6MDL2LZA.js → chunk-ZNAX7GUV.js} +8 -8
- package/dist/bundle/{cli-QNBYDOKV.js → cli-WTGAGSXV.js} +142 -97
- package/dist/bundle/command-contract-3IKVWPDL.js +45 -0
- package/dist/bundle/{command-server-entry-WMA4SWJ5.js → command-server-entry-47CAYN3E.js} +35 -35
- package/dist/bundle/config-ZOGOKGTU.js +116 -0
- package/dist/bundle/{decode-7PXUXNIP.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-TSBH4FOU.js → dist-WY6R3WH7.js} +21 -21
- package/dist/bundle/{echarts-WIDIUEO6.js → echarts-YRRVLEX3.js} +2 -2
- package/dist/bundle/{embed-EIRVQF5E.js → embed-B5H3OW2O.js} +7 -7
- package/dist/bundle/{embedder-MXPM6OXK.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-D5LNE6NJ.js → instructions-AG7SRWTR.js} +1 -1
- package/dist/bundle/{main-OHW5Z56X.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-FYOVY4S2.js → meeting-semantic-FOEBWV3P.js} +8 -8
- package/dist/bundle/{meetings-WI4SXPBJ.js → meetings-PVE4C2NF.js} +7 -7
- package/dist/bundle/{node-UEWUFR7N.js → node-GJQYN4FT.js} +2 -2
- package/dist/bundle/{node-sqlite-FJWKJHYU.js → node-sqlite-MLRYKVCQ.js} +8 -8
- package/dist/bundle/oauth-AC55C6SG.js +20 -0
- package/dist/bundle/{open-EFYTWUGC.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-U5PLNIDC.js → process-MEKCZMX3.js} +1 -1
- package/dist/bundle/{program-3JICCSA6.js → program-E5BSSIGY.js} +164 -155
- package/dist/bundle/{prompt-YPDMSOKC.js → prompt-AIA6QSZK.js} +6 -6
- package/dist/bundle/{recognize-Z2SSWUKH.js → recognize-M57VNTEV.js} +5 -5
- package/dist/bundle/{remote-R5HMDHOG.js → remote-3OTENZ7Z.js} +11 -11
- package/dist/bundle/{rerank-6NGBEMQ2.js → rerank-P5WHDFDU.js} +8 -8
- package/dist/bundle/run-log-EOQ4EQDS.js +143 -0
- package/dist/bundle/{serve-CU3RMWU7.js → serve-BRLC2QVV.js} +11 -11
- package/dist/bundle/{server-SOQSVX2Q.js → server-25NF7DMS.js} +80 -69
- package/dist/bundle/server-EW2RL2EL.js +93 -0
- package/dist/bundle/{services-LROZ3RDT.js → services-MJE43OGD.js} +54 -52
- package/dist/bundle/{speech-AS77HFIF.js → speech-4AVCWTQH.js} +28 -28
- package/dist/bundle/{sqlite-runtime-U25NS6BK.js → sqlite-runtime-U4TQXWMC.js} +7 -7
- package/dist/bundle/{state-CPEVKK66.js → state-GNUGVMY7.js} +7 -7
- package/dist/bundle/{store-6CHRMJM7.js → store-KBFZVQWF.js} +31 -24
- package/dist/bundle/{store-QKHCZOYR.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-JBN2OHQB.js → tokens-BB4MQBLH.js} +11 -10
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-Q4IKYNG3.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/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/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
package/contracts/wirecat.json
CHANGED
|
@@ -619,6 +619,17 @@
|
|
|
619
619
|
"local": "read"
|
|
620
620
|
}
|
|
621
621
|
},
|
|
622
|
+
{
|
|
623
|
+
"path": [
|
|
624
|
+
"session",
|
|
625
|
+
"list"
|
|
626
|
+
],
|
|
627
|
+
"summary": "list the profiles on this computer and the state of each one's saved Zoom login",
|
|
628
|
+
"effects": {
|
|
629
|
+
"remote": "none",
|
|
630
|
+
"local": "read"
|
|
631
|
+
}
|
|
632
|
+
},
|
|
622
633
|
{
|
|
623
634
|
"path": [
|
|
624
635
|
"session",
|
|
@@ -1295,8 +1306,17 @@
|
|
|
1295
1306
|
},
|
|
1296
1307
|
"desktop": {
|
|
1297
1308
|
"tagline": "Zoom transcripts and recordings, searchable",
|
|
1298
|
-
"profiles":
|
|
1309
|
+
"profiles": {
|
|
1310
|
+
"args": [
|
|
1311
|
+
"session",
|
|
1312
|
+
"list",
|
|
1313
|
+
"--no-record",
|
|
1314
|
+
"--json"
|
|
1315
|
+
],
|
|
1316
|
+
"shape": "items"
|
|
1317
|
+
},
|
|
1299
1318
|
"doctor": [
|
|
1319
|
+
"{profile}",
|
|
1300
1320
|
"doctor",
|
|
1301
1321
|
"--record",
|
|
1302
1322
|
"--json"
|
|
@@ -1323,6 +1343,7 @@
|
|
|
1323
1343
|
},
|
|
1324
1344
|
"search": null,
|
|
1325
1345
|
"setup": [
|
|
1346
|
+
"{profile}",
|
|
1326
1347
|
"session",
|
|
1327
1348
|
"start"
|
|
1328
1349
|
],
|
|
@@ -1400,12 +1421,21 @@
|
|
|
1400
1421
|
"tasks": null,
|
|
1401
1422
|
"sync": {
|
|
1402
1423
|
"run": [
|
|
1424
|
+
"{profile}",
|
|
1403
1425
|
"meetings",
|
|
1404
1426
|
"sync",
|
|
1405
1427
|
"--record",
|
|
1406
1428
|
"--json"
|
|
1407
1429
|
],
|
|
1408
|
-
"last":
|
|
1430
|
+
"last": [
|
|
1431
|
+
"runs",
|
|
1432
|
+
"list",
|
|
1433
|
+
"command:\"meetings sync\" status:success",
|
|
1434
|
+
"--limit",
|
|
1435
|
+
"50",
|
|
1436
|
+
"--no-record",
|
|
1437
|
+
"--json"
|
|
1438
|
+
],
|
|
1409
1439
|
"lastShape": "runs",
|
|
1410
1440
|
"what": "meetings and transcripts",
|
|
1411
1441
|
"note": null
|
|
@@ -1422,6 +1452,44 @@
|
|
|
1422
1452
|
"app": "zoom-cli",
|
|
1423
1453
|
"env": "ZM"
|
|
1424
1454
|
},
|
|
1425
|
-
"settings": null
|
|
1455
|
+
"settings": null,
|
|
1456
|
+
"accountRemove": {
|
|
1457
|
+
"signOut": [
|
|
1458
|
+
"{profile}",
|
|
1459
|
+
"session",
|
|
1460
|
+
"end",
|
|
1461
|
+
"--record",
|
|
1462
|
+
"--json"
|
|
1463
|
+
],
|
|
1464
|
+
"remove": {
|
|
1465
|
+
"minVersion": "0.0.0",
|
|
1466
|
+
"keepData": [
|
|
1467
|
+
"{profile}",
|
|
1468
|
+
"account",
|
|
1469
|
+
"remove",
|
|
1470
|
+
"--keep-data",
|
|
1471
|
+
"--record",
|
|
1472
|
+
"--json"
|
|
1473
|
+
],
|
|
1474
|
+
"deleteData": [
|
|
1475
|
+
"{profile}",
|
|
1476
|
+
"account",
|
|
1477
|
+
"remove",
|
|
1478
|
+
"--delete-data",
|
|
1479
|
+
"--record",
|
|
1480
|
+
"--json"
|
|
1481
|
+
],
|
|
1482
|
+
"dryRun": "--dry-run",
|
|
1483
|
+
"confirm": "--yes"
|
|
1484
|
+
},
|
|
1485
|
+
"removes": [
|
|
1486
|
+
"signIn"
|
|
1487
|
+
],
|
|
1488
|
+
"keeps": [
|
|
1489
|
+
"settings",
|
|
1490
|
+
"data",
|
|
1491
|
+
"listed"
|
|
1492
|
+
]
|
|
1493
|
+
}
|
|
1426
1494
|
}
|
|
1427
1495
|
}
|
package/dist/answers.d.ts
CHANGED
|
@@ -88,6 +88,17 @@ export declare const answerSchema: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
88
88
|
}, undefined>, undefined>;
|
|
89
89
|
readonly ms: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
90
90
|
}, undefined>, undefined>;
|
|
91
|
+
readonly query: v.OptionalSchema<v.StrictObjectSchema<{
|
|
92
|
+
readonly chat: v.OptionalSchema<v.StrictObjectSchema<{
|
|
93
|
+
readonly word: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "must not be empty">]>;
|
|
94
|
+
readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "must not be empty">]>;
|
|
95
|
+
readonly title: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "must not be empty">]>, undefined>;
|
|
96
|
+
}, undefined>, undefined>;
|
|
97
|
+
readonly respelled: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
98
|
+
readonly word: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "must not be empty">]>;
|
|
99
|
+
readonly tried: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "must not be empty">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
100
|
+
}, undefined>, undefined>, undefined>;
|
|
101
|
+
}, undefined>, undefined>;
|
|
91
102
|
}, undefined>;
|
|
92
103
|
}, undefined>, v.StrictObjectSchema<{
|
|
93
104
|
readonly item: v.GenericSchema;
|
|
@@ -157,6 +168,17 @@ export declare const answerSchema: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
157
168
|
}, undefined>, undefined>;
|
|
158
169
|
readonly ms: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
159
170
|
}, undefined>, undefined>;
|
|
171
|
+
readonly query: v.OptionalSchema<v.StrictObjectSchema<{
|
|
172
|
+
readonly chat: v.OptionalSchema<v.StrictObjectSchema<{
|
|
173
|
+
readonly word: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "must not be empty">]>;
|
|
174
|
+
readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "must not be empty">]>;
|
|
175
|
+
readonly title: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "must not be empty">]>, undefined>;
|
|
176
|
+
}, undefined>, undefined>;
|
|
177
|
+
readonly respelled: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
178
|
+
readonly word: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "must not be empty">]>;
|
|
179
|
+
readonly tried: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "must not be empty">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
180
|
+
}, undefined>, undefined>, undefined>;
|
|
181
|
+
}, undefined>, undefined>;
|
|
160
182
|
}, undefined>;
|
|
161
183
|
}, undefined>], undefined>;
|
|
162
184
|
export declare const readMetadata: (now?: () => number, runId?: string) => (() => Meta);
|
|
@@ -235,6 +257,17 @@ export declare const toolAnswer: (value: unknown, meta: Meta, registry?: Command
|
|
|
235
257
|
} | undefined;
|
|
236
258
|
ms: number;
|
|
237
259
|
} | undefined;
|
|
260
|
+
query?: {
|
|
261
|
+
chat?: {
|
|
262
|
+
word: string;
|
|
263
|
+
chat_id: string;
|
|
264
|
+
title: string | null;
|
|
265
|
+
} | undefined;
|
|
266
|
+
respelled?: {
|
|
267
|
+
word: string;
|
|
268
|
+
tried: string[];
|
|
269
|
+
}[] | undefined;
|
|
270
|
+
} | undefined;
|
|
238
271
|
};
|
|
239
272
|
} | {
|
|
240
273
|
item: unknown;
|
|
@@ -291,6 +324,17 @@ export declare const toolAnswer: (value: unknown, meta: Meta, registry?: Command
|
|
|
291
324
|
} | undefined;
|
|
292
325
|
ms: number;
|
|
293
326
|
} | undefined;
|
|
327
|
+
query?: {
|
|
328
|
+
chat?: {
|
|
329
|
+
word: string;
|
|
330
|
+
chat_id: string;
|
|
331
|
+
title: string | null;
|
|
332
|
+
} | undefined;
|
|
333
|
+
respelled?: {
|
|
334
|
+
word: string;
|
|
335
|
+
tried: string[];
|
|
336
|
+
}[] | undefined;
|
|
337
|
+
} | undefined;
|
|
294
338
|
};
|
|
295
339
|
};
|
|
296
340
|
//# sourceMappingURL=answers.d.ts.map
|
package/dist/answers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"answers.d.ts","sourceRoot":"","sources":["../src/answers.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAA;AAEvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACxC,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAG5B,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"answers.d.ts","sourceRoot":"","sources":["../src/answers.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAA;AAEvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACxC,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAG5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAAuB,CAAA;AAEhD,eAAO,MAAM,YAAY,SAAS,MAAM,MAAM,UAAoB,MAAM,KAAkB,CAAC,MAAM,IAAI,CAGpG,CAAA;AAED,8GAA8G;AAC9G,eAAO,MAAM,UAAU,UAAW,OAAO,QAAQ,IAAI,aAAa,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAexE,CAAA"}
|
package/dist/bin/zm.js
CHANGED
|
@@ -9,7 +9,7 @@ if (
|
|
|
9
9
|
(words[0] === "--version" || words[0] === "-V") &&
|
|
10
10
|
!Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
|
|
11
11
|
) {
|
|
12
|
-
process.stdout.write("0.
|
|
12
|
+
process.stdout.write("0.81.0\n")
|
|
13
13
|
} else {
|
|
14
14
|
// Before the bundle compiles: the bundle's own call comes after its chunks.
|
|
15
15
|
module.enableCompileCache()
|
|
@@ -28,7 +28,7 @@ if (
|
|
|
28
28
|
: next(specifier, context),
|
|
29
29
|
})
|
|
30
30
|
}
|
|
31
|
-
const chunks = ["../bundle/all-profiles-
|
|
31
|
+
const chunks = ["../bundle/agent-VYAJCJLE.js","../bundle/all-profiles-3ASMN35R.js","../bundle/answer-policy-PTH4F2DW.js","../bundle/anthropic-XXI53VNI.js","../bundle/app-server-B7WLNZNQ.js","../bundle/bun-2FLR4IV4.js","../bundle/bun-sqlite-3NNHTOGM.js","../bundle/cli-WTGAGSXV.js","../bundle/command-contract-3IKVWPDL.js","../bundle/command-server-entry-47CAYN3E.js","../bundle/config-ZOGOKGTU.js","../bundle/decode-2G7QS5IQ.js","../bundle/dispatch-ZAP3KBVJ.js","../bundle/dist-PAKDDIBT.js","../bundle/dist-WY6R3WH7.js","../bundle/dist-XUFQCJXW.js","../bundle/echarts-YRRVLEX3.js","../bundle/embed-B5H3OW2O.js","../bundle/embedder-3O73SP6Y.js","../bundle/failure-EYGW7JMC.js","../bundle/first-run-MPKMDEMA.js","../bundle/first-screen-AIAAC3KF.js","../bundle/folders-4CGFWM6H.js","../bundle/instructions-AG7SRWTR.js","../bundle/main-DOGY6FJP.js","../bundle/mcp-YGOAUNC3.js","../bundle/meeting-combined-YKPKTKGA.js","../bundle/meeting-model-HTXSGHNM.js","../bundle/meeting-semantic-FOEBWV3P.js","../bundle/meetings-PVE4C2NF.js","../bundle/node-GJQYN4FT.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-MLRYKVCQ.js","../bundle/oauth-AC55C6SG.js","../bundle/open-3LGTYP6M.js","../bundle/openai-E2MSLVIX.js","../bundle/output-file-FXMTTLOI.js","../bundle/process-MEKCZMX3.js","../bundle/program-E5BSSIGY.js","../bundle/prompt-AIA6QSZK.js","../bundle/recognize-M57VNTEV.js","../bundle/remote-3OTENZ7Z.js","../bundle/rerank-P5WHDFDU.js","../bundle/run-log-EOQ4EQDS.js","../bundle/serve-BRLC2QVV.js","../bundle/server-25NF7DMS.js","../bundle/server-EW2RL2EL.js","../bundle/services-MJE43OGD.js","../bundle/speech-4AVCWTQH.js","../bundle/sqlite-runtime-U4TQXWMC.js","../bundle/state-GNUGVMY7.js","../bundle/store-KBFZVQWF.js","../bundle/store-MHVBFUBB.js","../bundle/store-connection-SKRUAI4L.js","../bundle/store-maintenance-command-G6EXJSHJ.js","../bundle/streaming-6F7AFEHD.js","../bundle/surface-DWEWB5RG.js","../bundle/tokens-BB4MQBLH.js","../bundle/zoom-app-YTGOZ2FS.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
runCommandForAgent,
|
|
5
|
+
toolsFromCommands
|
|
6
|
+
} from "./chunk-R4CXFYQN.js";
|
|
7
|
+
import "./chunk-IVZACJ6X.js";
|
|
8
|
+
import "./chunk-GDRFVBCB.js";
|
|
9
|
+
import "./chunk-PL5P7UKW.js";
|
|
10
|
+
import "./chunk-M7OYEMLI.js";
|
|
11
|
+
import "./chunk-QNG27PGH.js";
|
|
12
|
+
import "./chunk-EPASOAEI.js";
|
|
13
|
+
import "./chunk-IFM4G4MT.js";
|
|
14
|
+
import "./chunk-FXZPAGHT.js";
|
|
15
|
+
import "./chunk-T7QPZYRZ.js";
|
|
16
|
+
import "./chunk-YUDVRFXN.js";
|
|
17
|
+
import "./chunk-ZLYICF6A.js";
|
|
18
|
+
import "./chunk-V3ZTAAJ6.js";
|
|
19
|
+
import "./chunk-VQTYJ6XH.js";
|
|
20
|
+
import "./chunk-4VOCXLMJ.js";
|
|
21
|
+
import "./chunk-77TJ3AJH.js";
|
|
22
|
+
import "./chunk-NX3BLISW.js";
|
|
23
|
+
import "./chunk-G3DWMG7Y.js";
|
|
24
|
+
import "./chunk-UUVWAVKN.js";
|
|
25
|
+
import "./chunk-EWEQ7AXL.js";
|
|
26
|
+
import "./chunk-D26K6756.js";
|
|
27
|
+
import "./chunk-ZFRYFDZN.js";
|
|
28
|
+
import "./chunk-TI4WJOEX.js";
|
|
29
|
+
import "./chunk-BQBC2WIG.js";
|
|
30
|
+
import "./chunk-KZ3B6HW5.js";
|
|
31
|
+
import "./chunk-ZNAX7GUV.js";
|
|
32
|
+
import "./chunk-JKEMW6E4.js";
|
|
33
|
+
import "./chunk-T2BHIC37.js";
|
|
34
|
+
import "./chunk-YIIGF643.js";
|
|
35
|
+
import "./chunk-AV2ZJ4WX.js";
|
|
36
|
+
import "./chunk-N5ROXGY4.js";
|
|
37
|
+
import "./chunk-YRDQ54G5.js";
|
|
38
|
+
import "./chunk-Y5E2WNWB.js";
|
|
39
|
+
import "./chunk-UHMJSSQO.js";
|
|
40
|
+
import "./chunk-2GNGR265.js";
|
|
41
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
42
|
+
export {
|
|
43
|
+
runCommandForAgent,
|
|
44
|
+
toolsFromCommands
|
|
45
|
+
};
|
|
@@ -1,35 +1,38 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
|
-
CALLER_META_KEY,
|
|
5
|
-
PROXY_CLIENT_NAME,
|
|
6
4
|
StdioServerTransport,
|
|
7
5
|
answeredWire,
|
|
8
|
-
callerOf,
|
|
9
6
|
serveStdio
|
|
10
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OEQNP56V.js";
|
|
8
|
+
import {
|
|
9
|
+
CALLER_META_KEY,
|
|
10
|
+
PROXY_CLIENT_NAME,
|
|
11
|
+
callerOf
|
|
12
|
+
} from "./chunk-GDRFVBCB.js";
|
|
11
13
|
import {
|
|
14
|
+
InMemoryTransport,
|
|
12
15
|
McpServer
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-PL5P7UKW.js";
|
|
17
|
+
import "./chunk-T7QPZYRZ.js";
|
|
18
|
+
import "./chunk-ZFRYFDZN.js";
|
|
19
|
+
import "./chunk-BQBC2WIG.js";
|
|
20
|
+
import "./chunk-AV2ZJ4WX.js";
|
|
21
|
+
import "./chunk-N5ROXGY4.js";
|
|
19
22
|
import {
|
|
20
23
|
errorObjectOf,
|
|
21
24
|
mcpErrorResult
|
|
22
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YRDQ54G5.js";
|
|
23
26
|
import "./chunk-Y5E2WNWB.js";
|
|
24
27
|
import {
|
|
25
28
|
CliError
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-UHMJSSQO.js";
|
|
30
|
+
import "./chunk-2GNGR265.js";
|
|
28
31
|
import {
|
|
29
32
|
__name
|
|
30
33
|
} from "./chunk-ZVVMGPBJ.js";
|
|
31
34
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35
|
+
// 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/all-profiles.js
|
|
33
36
|
import { spawn } from "node:child_process";
|
|
34
37
|
import { randomUUID } from "node:crypto";
|
|
35
38
|
var PROTOCOL = "2025-06-18";
|
|
@@ -170,13 +173,16 @@ var withProfile = /* @__PURE__ */ __name((tool, profiles, name, signedIn = () =>
|
|
|
170
173
|
inputSchema: {
|
|
171
174
|
...tool.inputSchema,
|
|
172
175
|
properties: {
|
|
173
|
-
profile:
|
|
176
|
+
profile: profiles.length === 0 ? (
|
|
177
|
+
// An empty enum matches nothing, and a directory that checks the schema refuses the tool.
|
|
178
|
+
{
|
|
179
|
+
type: "string",
|
|
180
|
+
description: `Which ${name} account, by its profile. None is set up on this computer yet.`
|
|
181
|
+
}
|
|
182
|
+
) : {
|
|
174
183
|
type: "string",
|
|
175
184
|
enum: [...profiles],
|
|
176
|
-
oneOf: profiles.map((
|
|
177
|
-
const: profile,
|
|
178
|
-
title: signedIn(profile) ? profile : `${profile} \u2014 not signed in`
|
|
179
|
-
})),
|
|
185
|
+
oneOf: profiles.map((one) => ({ const: one, title: signedIn(one) ? one : `${one} \u2014 not signed in` })),
|
|
180
186
|
description: `Which ${name} account, by its profile. If the owner did not name one, ask which \u2014 never guess.${states}`
|
|
181
187
|
},
|
|
182
188
|
...schema.properties
|
|
@@ -199,9 +205,14 @@ var allProfilesServer = /* @__PURE__ */ __name((options) => {
|
|
|
199
205
|
const signedIn = /* @__PURE__ */ __name((profile) => options.signedIn?.(profile) ?? true, "signedIn");
|
|
200
206
|
const build = /* @__PURE__ */ __name(() => {
|
|
201
207
|
const profiles = [...options.profiles()].sort();
|
|
202
|
-
const server = new McpServer({ name: options.command, version: options.version }, {
|
|
208
|
+
const server = new McpServer({ name: options.command, version: options.version }, {
|
|
209
|
+
capabilities: { tools: {} },
|
|
210
|
+
// Read per session, as the profiles are: clients cut the instructions short, so this line comes first.
|
|
211
|
+
instructions: profiles.length === 0 && options.setup ? `${options.setup.charAt(0).toUpperCase()}${options.setup.slice(1)}.
|
|
212
|
+
${options.instructions}` : options.instructions
|
|
213
|
+
});
|
|
203
214
|
server.server.setRequestHandler("tools/list", async () => ({
|
|
204
|
-
tools: profiles.length === 0 ? [] :
|
|
215
|
+
tools: (profiles.length === 0 ? await options.catalogue?.() ?? [] : await tools(profiles)).map((one) => withProfile(one, profiles, options.name, signedIn))
|
|
205
216
|
}));
|
|
206
217
|
const callers = {
|
|
207
218
|
env: options.env ?? process.env,
|
|
@@ -211,6 +222,8 @@ var allProfilesServer = /* @__PURE__ */ __name((options) => {
|
|
|
211
222
|
server.server.setRequestHandler("tools/call", async (request, ctx) => {
|
|
212
223
|
const { name, arguments: given = {}, _meta } = request.params;
|
|
213
224
|
const { profile, ...rest } = given;
|
|
225
|
+
if (profiles.length === 0)
|
|
226
|
+
return refusal("configuration_error", options.setup ?? `no ${options.command} profile on this computer yet.`);
|
|
214
227
|
if (typeof profile !== "string" || !profiles.includes(profile))
|
|
215
228
|
return refusal("validation_error", `${name} needs "profile", one of: ${profiles.join(", ")}. If the owner did not say which account, ask.`);
|
|
216
229
|
if (!signedIn(profile))
|
|
@@ -232,6 +245,34 @@ var allProfilesServer = /* @__PURE__ */ __name((options) => {
|
|
|
232
245
|
}, "build");
|
|
233
246
|
return { build, close: /* @__PURE__ */ __name(() => children.close(), "close") };
|
|
234
247
|
}, "allProfilesServer");
|
|
248
|
+
var listedTools = /* @__PURE__ */ __name(async (server) => {
|
|
249
|
+
const [own, other] = InMemoryTransport.createLinkedPair();
|
|
250
|
+
const answers = /* @__PURE__ */ new Map();
|
|
251
|
+
other.onmessage = (message) => {
|
|
252
|
+
const { id, result, error } = message;
|
|
253
|
+
if (typeof id === "number")
|
|
254
|
+
answers.get(id)?.(result, error);
|
|
255
|
+
};
|
|
256
|
+
const ask = /* @__PURE__ */ __name((id, method, params) => new Promise((resolve, reject) => {
|
|
257
|
+
answers.set(id, (result, error) => error || !result ? reject(new Error(error?.message ?? `${method} had no answer`)) : resolve(result));
|
|
258
|
+
void other.send({ jsonrpc: "2.0", id, method, params });
|
|
259
|
+
}), "ask");
|
|
260
|
+
await server.connect(own);
|
|
261
|
+
try {
|
|
262
|
+
await ask(1, "initialize", {
|
|
263
|
+
protocolVersion: PROTOCOL,
|
|
264
|
+
capabilities: {},
|
|
265
|
+
clientInfo: { name: PROXY_CLIENT_NAME, version: "1" }
|
|
266
|
+
});
|
|
267
|
+
await other.send({ jsonrpc: "2.0", method: "notifications/initialized" });
|
|
268
|
+
const answer = await ask(2, "tools/list", {});
|
|
269
|
+
if (!Array.isArray(answer.tools))
|
|
270
|
+
throw new Error("the catalogue server listed no tools");
|
|
271
|
+
return answer.tools;
|
|
272
|
+
} finally {
|
|
273
|
+
await server.close();
|
|
274
|
+
}
|
|
275
|
+
}, "listedTools");
|
|
235
276
|
var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {}) => {
|
|
236
277
|
const { build, close } = allProfilesServer(options);
|
|
237
278
|
const own = io.stdin !== void 0 && io.stdin !== process.stdin;
|
|
@@ -250,7 +291,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
250
291
|
}, "serveAllProfilesOverStdio");
|
|
251
292
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
252
293
|
const { build, close } = allProfilesServer(options);
|
|
253
|
-
const { serveOverHttp } = await import("./serve-
|
|
294
|
+
const { serveOverHttp } = await import("./serve-BRLC2QVV.js");
|
|
254
295
|
const listening = await serveOverHttp(build, {
|
|
255
296
|
...http,
|
|
256
297
|
appName: options.command,
|
|
@@ -273,6 +314,7 @@ var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
|
273
314
|
export {
|
|
274
315
|
CHILD_IDLE_MS,
|
|
275
316
|
allProfilesServer,
|
|
317
|
+
listedTools,
|
|
276
318
|
serveAllProfilesOverHttp,
|
|
277
319
|
serveAllProfilesOverStdio,
|
|
278
320
|
withProfile
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import "./chunk-VXD65V67.js";
|
|
4
|
+
import "./chunk-EEBSKMEA.js";
|
|
5
|
+
import "./chunk-337ALCXQ.js";
|
|
6
|
+
import "./chunk-FXCR4DGU.js";
|
|
7
|
+
import "./chunk-L2ERFXB7.js";
|
|
8
|
+
import "./chunk-XYQVVW4R.js";
|
|
9
|
+
import "./chunk-K7CTCDYX.js";
|
|
10
|
+
import "./chunk-IVZACJ6X.js";
|
|
11
|
+
import "./chunk-GW2A2FJH.js";
|
|
12
|
+
import "./chunk-3UX4VJWD.js";
|
|
13
|
+
import "./chunk-WHXYPLUE.js";
|
|
14
|
+
import "./chunk-RQFRXUI4.js";
|
|
15
|
+
import "./chunk-IDUKCXL7.js";
|
|
16
|
+
import "./chunk-35FVYRH5.js";
|
|
17
|
+
import "./chunk-WIX6BFRF.js";
|
|
18
|
+
import "./chunk-M7OYEMLI.js";
|
|
19
|
+
import "./chunk-J5EHZBO5.js";
|
|
20
|
+
import "./chunk-Q26UFIH4.js";
|
|
21
|
+
import "./chunk-MBBR7QHI.js";
|
|
22
|
+
import "./chunk-SRUAUMBL.js";
|
|
23
|
+
import "./chunk-NM5XMKWO.js";
|
|
24
|
+
import "./chunk-XWKUGAG6.js";
|
|
25
|
+
import "./chunk-QNG27PGH.js";
|
|
26
|
+
import "./chunk-B2WBWKYN.js";
|
|
27
|
+
import "./chunk-QFK52FG6.js";
|
|
28
|
+
import "./chunk-2RFWRJFK.js";
|
|
29
|
+
import "./chunk-GPRJXJC7.js";
|
|
30
|
+
import "./chunk-N62P5FY4.js";
|
|
31
|
+
import "./chunk-Y7XJA4EW.js";
|
|
32
|
+
import "./chunk-CFQQTDSA.js";
|
|
33
|
+
import "./chunk-MA4UJNUI.js";
|
|
34
|
+
import "./chunk-4BXLHSXY.js";
|
|
35
|
+
import {
|
|
36
|
+
failureContext
|
|
37
|
+
} from "./chunk-YJKXCINQ.js";
|
|
38
|
+
import "./chunk-4FSH7K6N.js";
|
|
39
|
+
import "./chunk-7JWVPJIP.js";
|
|
40
|
+
import "./chunk-HTQTIKWP.js";
|
|
41
|
+
import "./chunk-HIFPHARA.js";
|
|
42
|
+
import "./chunk-2ELGSNX3.js";
|
|
43
|
+
import "./chunk-RRYHLP3A.js";
|
|
44
|
+
import "./chunk-F2J2FQUB.js";
|
|
45
|
+
import "./chunk-C4BBCSGK.js";
|
|
46
|
+
import "./chunk-DMJLJVD3.js";
|
|
47
|
+
import "./chunk-HHQROAJQ.js";
|
|
48
|
+
import "./chunk-LECMHK2F.js";
|
|
49
|
+
import "./chunk-R6HP2XKD.js";
|
|
50
|
+
import {
|
|
51
|
+
judgedEffects,
|
|
52
|
+
judgedTargets
|
|
53
|
+
} from "./chunk-EPASOAEI.js";
|
|
54
|
+
import "./chunk-IFM4G4MT.js";
|
|
55
|
+
import "./chunk-FXZPAGHT.js";
|
|
56
|
+
import "./chunk-T7QPZYRZ.js";
|
|
57
|
+
import "./chunk-YUDVRFXN.js";
|
|
58
|
+
import "./chunk-ZLYICF6A.js";
|
|
59
|
+
import "./chunk-V3ZTAAJ6.js";
|
|
60
|
+
import "./chunk-VQTYJ6XH.js";
|
|
61
|
+
import "./chunk-4VOCXLMJ.js";
|
|
62
|
+
import "./chunk-77TJ3AJH.js";
|
|
63
|
+
import "./chunk-NX3BLISW.js";
|
|
64
|
+
import "./chunk-G3DWMG7Y.js";
|
|
65
|
+
import "./chunk-VAW7QGJA.js";
|
|
66
|
+
import "./chunk-5EWYDHBH.js";
|
|
67
|
+
import "./chunk-437DLSB3.js";
|
|
68
|
+
import "./chunk-UUVWAVKN.js";
|
|
69
|
+
import "./chunk-UPR2S5IE.js";
|
|
70
|
+
import "./chunk-NQGGTO3B.js";
|
|
71
|
+
import "./chunk-LGESUPKO.js";
|
|
72
|
+
import "./chunk-46EF6P2J.js";
|
|
73
|
+
import "./chunk-2Z7UOXFC.js";
|
|
74
|
+
import "./chunk-EWEQ7AXL.js";
|
|
75
|
+
import "./chunk-D26K6756.js";
|
|
76
|
+
import "./chunk-ZFRYFDZN.js";
|
|
77
|
+
import "./chunk-TI4WJOEX.js";
|
|
78
|
+
import "./chunk-BQBC2WIG.js";
|
|
79
|
+
import "./chunk-KZ3B6HW5.js";
|
|
80
|
+
import "./chunk-ZNAX7GUV.js";
|
|
81
|
+
import "./chunk-F5ZAN7OC.js";
|
|
82
|
+
import {
|
|
83
|
+
VERSION,
|
|
84
|
+
ZM
|
|
85
|
+
} from "./chunk-D7CDHBDX.js";
|
|
86
|
+
import "./chunk-HVXOA4FO.js";
|
|
87
|
+
import "./chunk-D72URWJE.js";
|
|
88
|
+
import "./chunk-JKEMW6E4.js";
|
|
89
|
+
import "./chunk-YNWBRDBX.js";
|
|
90
|
+
import "./chunk-NS3JWBDR.js";
|
|
91
|
+
import "./chunk-FMMYBVCH.js";
|
|
92
|
+
import "./chunk-T2BHIC37.js";
|
|
93
|
+
import "./chunk-YIIGF643.js";
|
|
94
|
+
import "./chunk-AV2ZJ4WX.js";
|
|
95
|
+
import "./chunk-N5ROXGY4.js";
|
|
96
|
+
import {
|
|
97
|
+
errorObjectOf,
|
|
98
|
+
errorRecordOf,
|
|
99
|
+
exitCodeOfError,
|
|
100
|
+
renderError
|
|
101
|
+
} from "./chunk-YRDQ54G5.js";
|
|
102
|
+
import "./chunk-Y5E2WNWB.js";
|
|
103
|
+
import "./chunk-UHMJSSQO.js";
|
|
104
|
+
import "./chunk-2GNGR265.js";
|
|
105
|
+
import {
|
|
106
|
+
__name
|
|
107
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
108
|
+
|
|
109
|
+
// dist/answer-policy.js
|
|
110
|
+
var hostFailureContext = /* @__PURE__ */ __name((registry, effects) => ({
|
|
111
|
+
...failureContext(ZM.errors),
|
|
112
|
+
...effects ? { effects: judgedEffects(effects) } : {},
|
|
113
|
+
...registry ? { targets: judgedTargets(registry) } : {}
|
|
114
|
+
}), "hostFailureContext");
|
|
115
|
+
var reportFailure = /* @__PURE__ */ __name((failure, args, deps, command = "zm", context = hostFailureContext()) => {
|
|
116
|
+
const end = args.indexOf("--");
|
|
117
|
+
const flags = args.slice(0, end < 0 ? void 0 : end);
|
|
118
|
+
const machine = flags.some((word) => word === "--json" || word === "--jsonl");
|
|
119
|
+
const object = errorObjectOf(failure, context);
|
|
120
|
+
const record = flags.includes("--debug") ? errorRecordOf(failure, object, { command, service: "zm", version: VERSION }) : void 0;
|
|
121
|
+
const interactive = deps.outputIsTTY === true && !machine;
|
|
122
|
+
deps.diagnostic(`${renderError(object, { cli: "zm", interactive, ...record ? { record } : {} })}
|
|
123
|
+
`);
|
|
124
|
+
return exitCodeOfError(object);
|
|
125
|
+
}, "reportFailure");
|
|
126
|
+
export {
|
|
127
|
+
hostFailureContext,
|
|
128
|
+
reportFailure
|
|
129
|
+
};
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
checkedOptions,
|
|
6
6
|
messagesFor,
|
|
7
7
|
systemFor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HIFPHARA.js";
|
|
9
9
|
import {
|
|
10
10
|
Anthropic
|
|
11
11
|
} from "./chunk-FXBHOCJK.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-N5ROXGY4.js";
|
|
13
13
|
import {
|
|
14
14
|
array,
|
|
15
15
|
literal,
|
|
@@ -19,15 +19,15 @@ import {
|
|
|
19
19
|
strictObject,
|
|
20
20
|
string,
|
|
21
21
|
unknown
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YRDQ54G5.js";
|
|
23
23
|
import "./chunk-Y5E2WNWB.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-UHMJSSQO.js";
|
|
25
|
+
import "./chunk-2GNGR265.js";
|
|
26
26
|
import {
|
|
27
27
|
__name
|
|
28
28
|
} from "./chunk-ZVVMGPBJ.js";
|
|
29
29
|
|
|
30
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30
|
+
// 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/models/anthropic.js
|
|
31
31
|
var options = strictObject({
|
|
32
32
|
stop_sequences: optional(array(string())),
|
|
33
33
|
thinking: optional(strictObject({ type: picklist(["disabled", "adaptive"]) })),
|