@wirecat/zoom-cli 0.66.0 → 0.68.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 -1
- package/constants.json +7 -0
- package/dist/answer-entities.d.ts +18 -0
- package/dist/answer-entities.d.ts.map +1 -1
- package/dist/answer-entities.js +12 -0
- package/dist/answer-entities.js.map +1 -1
- package/dist/answer-policy.d.ts.map +1 -1
- package/dist/answer-policy.js +2 -1
- package/dist/answer-policy.js.map +1 -1
- package/dist/answers.d.ts +4 -4
- package/dist/bin/main.js +3 -2
- package/dist/bin/main.js.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-D5CFH2OK.js → all-profiles-R66UM3HM.js} +12 -11
- package/dist/bundle/answer-policy-UCGUO53A.js +104 -0
- package/dist/bundle/{anthropic-K2E2JS4S.js → anthropic-4ZI2BPLG.js} +7 -7
- package/dist/bundle/{app-server-TVXDG6HZ.js → app-server-64O5IQI5.js} +61 -57
- package/dist/bundle/{bun-O4WHGL2F.js → bun-HUHQD76Z.js} +2 -2
- package/dist/bundle/{bun-sqlite-HGBEHQI3.js → bun-sqlite-VOVHPTIF.js} +6 -6
- package/dist/bundle/{chunk-N6JMJN5A.js → chunk-2OSBCYJT.js} +39 -26
- package/dist/bundle/{chunk-7JMBEPW2.js → chunk-2T6XHWDX.js} +2 -2
- package/dist/bundle/chunk-32FPA7P2.js +35 -0
- package/dist/bundle/{chunk-NO24PJNW.js → chunk-355PHJYX.js} +1 -1
- package/dist/bundle/{chunk-NMQUCHTX.js → chunk-3BRV2YU2.js} +3 -3
- package/dist/bundle/{chunk-GNGBG5BT.js → chunk-474WF55M.js} +95 -48
- package/dist/bundle/{chunk-O5FKJV3T.js → chunk-4TLPOY22.js} +12 -12
- package/dist/bundle/{chunk-CR4CXOLX.js → chunk-4YFJYSSK.js} +205 -59
- package/dist/bundle/chunk-5JAYUG3X.js +261 -0
- package/dist/bundle/{chunk-5HPALDUO.js → chunk-65T3PU75.js} +3 -2
- package/dist/bundle/{chunk-QAPU2JNO.js → chunk-6CJ7NHIP.js} +13 -13
- package/dist/bundle/{chunk-LN2S3RA3.js → chunk-6T3P226D.js} +4 -4
- package/dist/bundle/{chunk-P3XVLHIQ.js → chunk-6TJ62LZQ.js} +22 -14
- package/dist/bundle/{chunk-FWFFQV4D.js → chunk-6XO7RTJY.js} +129 -9
- package/dist/bundle/{chunk-K5CIN4JP.js → chunk-77I67HWF.js} +8 -8
- package/dist/bundle/{chunk-3B7L2UX4.js → chunk-77KFLU5F.js} +3 -3
- package/dist/bundle/{chunk-2YLNUZ3T.js → chunk-7AUP2WT3.js} +3 -3
- package/dist/bundle/{chunk-7PF56S6U.js → chunk-7DUYFITC.js} +25 -23
- package/dist/bundle/{chunk-ZKTXUDSR.js → chunk-7QNJICKZ.js} +30 -26
- package/dist/bundle/{chunk-XWDSEJWP.js → chunk-A63ZFOQJ.js} +18 -4
- package/dist/bundle/{chunk-A2SCXNA7.js → chunk-AJ7CMUGD.js} +1396 -326
- package/dist/bundle/{chunk-Z6U3MEGJ.js → chunk-AVEIQMHZ.js} +4 -2
- package/dist/bundle/chunk-AYEVBAGO.js +178 -0
- package/dist/bundle/{chunk-SU4WPBQE.js → chunk-B6JMVB6R.js} +22 -23
- package/dist/bundle/{chunk-YLEQN6PB.js → chunk-BL36NSV5.js} +3 -3
- package/dist/bundle/{chunk-RMKHYUHK.js → chunk-BOAMDYLY.js} +4 -4
- package/dist/bundle/chunk-BSM43OMN.js +31 -0
- package/dist/bundle/{chunk-67RNZGAG.js → chunk-DGNPJGD3.js} +16 -10
- package/dist/bundle/{chunk-Y3EIK4XW.js → chunk-DVA6MQWK.js} +1 -1
- package/dist/bundle/{chunk-AU4JHT3R.js → chunk-DWSUSWAX.js} +98 -13
- package/dist/bundle/{chunk-H5ZVZAOD.js → chunk-EH5QGQFR.js} +3 -3
- package/dist/bundle/chunk-EJDV5IIF.js +93 -0
- package/dist/bundle/{chunk-3WTKZ2ZS.js → chunk-EWIBLDQQ.js} +8 -8
- package/dist/bundle/{chunk-GHAPWKG2.js → chunk-EZRPSZJS.js} +3 -3
- package/dist/bundle/{chunk-QJHRYUMJ.js → chunk-FBLUKCIR.js} +1 -1
- package/dist/bundle/{chunk-S6S3KVJI.js → chunk-FEM2JQN2.js} +2 -1
- package/dist/bundle/{chunk-P2G4KGTR.js → chunk-FMQS7HCC.js} +12 -12
- package/dist/bundle/{chunk-ZNFPDTQM.js → chunk-FNQASORM.js} +2 -2
- package/dist/bundle/{chunk-GKXFL35E.js → chunk-GOXDBCDM.js} +728 -130
- package/dist/bundle/{chunk-U3ZUT557.js → chunk-HXOAPH47.js} +1 -1
- package/dist/bundle/{chunk-QV5ZGRK3.js → chunk-JO4YADNV.js} +7 -7
- package/dist/bundle/{chunk-5A26IBAR.js → chunk-JRCYFCPL.js} +30 -28
- package/dist/bundle/{chunk-ZTL7ANSG.js → chunk-K67V24AT.js} +5 -5
- package/dist/bundle/{chunk-BXSAROQP.js → chunk-KAPJQGHE.js} +2 -2
- package/dist/bundle/{chunk-TFDVFD4N.js → chunk-KNE6VFHZ.js} +97 -38
- package/dist/bundle/{chunk-AZ7ICKIA.js → chunk-KUB2U5NT.js} +6 -6
- package/dist/bundle/{chunk-GI6QVSCW.js → chunk-L4WVLRXM.js} +4 -4
- package/dist/bundle/{chunk-756RS4PH.js → chunk-LBOSTBAY.js} +2541 -1355
- package/dist/bundle/{chunk-62GOOZO3.js → chunk-LV7QRR5S.js} +6 -6
- package/dist/bundle/{chunk-J4EZL6HY.js → chunk-LYWUG43B.js} +33 -33
- package/dist/bundle/{chunk-N67BLTBV.js → chunk-NRRI37NJ.js} +28 -9
- package/dist/bundle/{chunk-N5JRRBEG.js → chunk-NUJMJQXV.js} +281 -10
- package/dist/bundle/{chunk-UYV2JGLQ.js → chunk-OE7EIP5L.js} +1 -1
- package/dist/bundle/{chunk-U4RVOSX3.js → chunk-P2TISY3R.js} +1 -1
- package/dist/bundle/{chunk-ILHTNOIV.js → chunk-P3ASN72F.js} +1 -1
- package/dist/bundle/{chunk-UOIXBEFR.js → chunk-PIHBD3YS.js} +16 -6
- package/dist/bundle/{chunk-BLT3LR3U.js → chunk-PUTGTW6W.js} +4 -2
- package/dist/bundle/{chunk-TUEEXECZ.js → chunk-QXTREL2M.js} +3 -3
- package/dist/bundle/{chunk-2VPHQFO5.js → chunk-R7LFGEDE.js} +2 -2
- package/dist/bundle/{chunk-IDWHJ35K.js → chunk-RGJ7OWHU.js} +4 -4
- package/dist/bundle/{chunk-3Y2F65AY.js → chunk-RP3U3J53.js} +10 -89
- package/dist/bundle/{chunk-JX3V35A5.js → chunk-RRYUD2EF.js} +3 -3
- package/dist/bundle/{chunk-XFUID5NY.js → chunk-SRP6SFFD.js} +2 -2
- package/dist/bundle/{chunk-7SQJCKR6.js → chunk-SSPSNSC5.js} +1 -1
- package/dist/bundle/{chunk-Q47C3QZW.js → chunk-TDGZMC6K.js} +510 -318
- package/dist/bundle/{chunk-EXXM4RNI.js → chunk-TN3FH2GQ.js} +11 -11
- package/dist/bundle/chunk-TUNQ6NE2.js +64 -0
- package/dist/bundle/{chunk-CAW6IMFZ.js → chunk-TZUKDM72.js} +72 -20
- package/dist/bundle/{chunk-S4GDDO5S.js → chunk-UDJTRFRV.js} +1 -1
- package/dist/bundle/{chunk-5GD2XZ6X.js → chunk-US5C3WAY.js} +63 -53
- package/dist/bundle/{chunk-7KCTPGOF.js → chunk-UU5PLDRA.js} +2 -2
- package/dist/bundle/{chunk-6TIKPRVQ.js → chunk-VLD7Y4SY.js} +7 -7
- package/dist/bundle/{chunk-PQLBPYJR.js → chunk-VW6BF6M7.js} +1 -1
- package/dist/bundle/chunk-W42BJ65M.js +37 -0
- package/dist/bundle/{chunk-KDKFGQWG.js → chunk-Y5LP5SHV.js} +15 -12
- package/dist/bundle/{chunk-TMVKZMDO.js → chunk-YJY3W2ZT.js} +232 -88
- package/dist/bundle/{chunk-6GSJLNP4.js → chunk-YOAEZSDG.js} +2 -2
- package/dist/bundle/{chunk-IKQ73INC.js → chunk-YQRNFG2E.js} +15849 -1674
- package/dist/bundle/{chunk-RO44LANT.js → chunk-YTF2WPV4.js} +1880 -778
- package/dist/bundle/{chunk-CZ4KLUJG.js → chunk-ZRD3NDOX.js} +2 -2
- package/dist/bundle/{cli-HWQIL2AC.js → cli-VQJ7ZRYR.js} +124 -69
- package/dist/bundle/command-contract-JPUWWYIV.js +41 -0
- package/dist/bundle/config-YGLLR77A.js +90 -0
- package/dist/bundle/{decode-XPAPPUGE.js → decode-L3ENO2XH.js} +6 -6
- package/dist/bundle/{dispatch-AKVJGP2S.js → dispatch-5MGDLOK4.js} +9 -9
- package/dist/bundle/{dist-LDIUQBM7.js → dist-WQLS7U23.js} +66 -17
- package/dist/bundle/{echarts-FMACRZQC.js → echarts-5LLJ6JXC.js} +2 -2
- package/dist/bundle/{embed-LK45GRQ7.js → embed-37MYTCU7.js} +7 -7
- package/dist/bundle/{embedder-QPBC5XBY.js → embedder-GNGHVJAO.js} +10 -10
- package/dist/bundle/{failure-7OULAOWQ.js → failure-CR64C4XA.js} +3 -3
- package/dist/bundle/{first-run-J5FG773Q.js → first-run-NR5JKYP3.js} +12 -12
- package/dist/bundle/first-screen-RCR7ATO2.js +39 -0
- package/dist/bundle/{folders-RHPUVMDI.js → folders-VU4IN35Y.js} +5 -5
- package/dist/bundle/{instructions-E5FXYCWF.js → instructions-P72XX4AK.js} +1 -1
- package/dist/bundle/{main-FJHE5YHU.js → main-QYFCYSTW.js} +23 -24
- package/dist/bundle/{mcp-MNI62HHE.js → mcp-M4QN2E7R.js} +2 -2
- package/dist/bundle/{meetings-MYIDGYGW.js → meetings-66UQINKI.js} +37 -7
- package/dist/bundle/{node-4SNKUPXT.js → node-ZB4RNICS.js} +2 -2
- package/dist/bundle/{node-sqlite-SYZUTVPC.js → node-sqlite-XPRKBDF3.js} +7 -7
- package/dist/bundle/{oauth-QPS5VTN6.js → oauth-WJRDUU5J.js} +8 -8
- package/dist/bundle/{open-OVCASRSJ.js → open-S2YSIEOW.js} +6 -6
- package/dist/bundle/openai-CRNZFNZD.js +25 -0
- package/dist/bundle/{output-file-K5JEL33Z.js → output-file-6COFGPUL.js} +6 -6
- package/dist/bundle/{process-HQZOTT6U.js → process-XNN4WG6N.js} +1 -1
- package/dist/bundle/{program-A546WC4F.js → program-BRPJKRCX.js} +181 -205
- package/dist/bundle/{prompt-CYBKP7S5.js → prompt-7RQOL25I.js} +6 -6
- package/dist/bundle/{recognize-3H3YDCFI.js → recognize-N5WADGQB.js} +5 -5
- package/dist/bundle/{remote-VAYVTJBS.js → remote-WHYV35IF.js} +8 -8
- package/dist/bundle/{rerank-XA4GA5PS.js → rerank-FBMZVWSH.js} +8 -8
- package/dist/bundle/{run-log-XAFHMI3F.js → run-log-TOCHREH2.js} +59 -57
- package/dist/bundle/{serve-KGHEDUHB.js → serve-4BABX4WS.js} +10 -10
- package/dist/bundle/{server-ZYTSMDTP.js → server-CDVI6LOB.js} +47 -46
- package/dist/bundle/server-XOFQKFVO.js +72 -0
- package/dist/bundle/{services-ZHMZC2OQ.js → services-PIY33I7R.js} +59 -32
- package/dist/bundle/{speech-7CJEFKM3.js → speech-LS5Q4FL2.js} +14 -14
- package/dist/bundle/{state-U6KSYVOH.js → state-YUX5R2R7.js} +7 -7
- package/dist/bundle/{store-DJE3LAEG.js → store-BD7HAXAA.js} +22 -17
- package/dist/bundle/{store-WS4CQGYU.js → store-ERMGBF2B.js} +59 -30
- package/dist/bundle/store-connection-JBR6CMTJ.js +83 -0
- package/dist/bundle/store-maintenance-command-I5DUSO2C.js +62 -0
- package/dist/bundle/{streaming-QMHH7L6N.js → streaming-O53PIORL.js} +7 -7
- package/dist/bundle/{tokens-PWQ56OXO.js → tokens-QKNEP2GJ.js} +7 -7
- package/dist/bundle/zm.js +9 -10
- package/dist/bundle/zoom-app-XJXZ4ZBX.js +41 -0
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +1 -0
- package/dist/commands.js.map +1 -1
- package/dist/config.d.ts +9 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +48 -10
- package/dist/config.js.map +1 -1
- package/dist/identity.d.ts +1 -0
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +11 -0
- package/dist/identity.js.map +1 -1
- package/dist/meeting-source.d.ts.map +1 -1
- package/dist/meeting-source.js +2 -1
- package/dist/meeting-source.js.map +1 -1
- package/dist/meeting-stats-commands.d.ts +4 -2
- package/dist/meeting-stats-commands.d.ts.map +1 -1
- package/dist/meeting-stats-commands.js +27 -2
- package/dist/meeting-stats-commands.js.map +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +10 -4
- package/dist/program-bindings.js.map +1 -1
- package/dist/recording-schedule-setup.d.ts.map +1 -1
- package/dist/recording-schedule-setup.js +5 -5
- package/dist/recording-schedule-setup.js.map +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +2 -6
- package/dist/run.js.map +1 -1
- package/dist/setup-commands.d.ts +7 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +45 -8
- package/dist/setup-commands.js.map +1 -1
- package/dist/store-commands.d.ts.map +1 -1
- package/dist/store-commands.js +6 -0
- package/dist/store-commands.js.map +1 -1
- package/dist/store-connection.d.ts +2 -1
- package/dist/store-connection.d.ts.map +1 -1
- package/dist/store-connection.js +4 -0
- package/dist/store-connection.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/watch-service.d.ts +1 -1
- package/dist/watch-service.d.ts.map +1 -1
- package/dist/watch-service.js +5 -3
- package/dist/watch-service.js.map +1 -1
- package/dist/zoom-app.d.ts +49 -0
- package/dist/zoom-app.d.ts.map +1 -0
- package/dist/zoom-app.js +83 -0
- package/dist/zoom-app.js.map +1 -0
- package/package.json +4 -3
- package/skills/zoom-cli/SKILL.md +4 -1
- package/dist/bundle/answer-policy-YAYMKRRD.js +0 -101
- package/dist/bundle/chunk-2T5BOLBS.js +0 -132
- package/dist/bundle/chunk-HKQWV3KT.js +0 -31
- package/dist/bundle/chunk-L7IK4FOA.js +0 -18
- package/dist/bundle/chunk-P2SYZNM4.js +0 -19
- package/dist/bundle/chunk-TN7K66PU.js +0 -9
- package/dist/bundle/command-contract-CQFJXWX6.js +0 -40
- package/dist/bundle/config-R2Y6ZVQS.js +0 -83
- package/dist/bundle/first-screen-MULOBUHN.js +0 -38
- package/dist/bundle/openai-VEVT7D7L.js +0 -25
- package/dist/bundle/server-IDNSJXF3.js +0 -71
- package/dist/bundle/store-connection-T5WGOOPH.js +0 -81
- package/dist/bundle/store-maintenance-command-5CBQCEQQ.js +0 -61
- /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-VOXIGICJ.js} +0 -0
|
@@ -3,48 +3,48 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LYWUG43B.js";
|
|
7
7
|
import {
|
|
8
8
|
mcpUrlOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-474WF55M.js";
|
|
10
10
|
import {
|
|
11
11
|
answeredWire
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HXOAPH47.js";
|
|
13
13
|
import {
|
|
14
14
|
answered,
|
|
15
15
|
failed,
|
|
16
16
|
registerCommands,
|
|
17
17
|
runCommandForAgent,
|
|
18
18
|
toolsFromCommands
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YJY3W2ZT.js";
|
|
20
20
|
import {
|
|
21
21
|
agentJson,
|
|
22
22
|
skillResource
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-7DUYFITC.js";
|
|
24
24
|
import {
|
|
25
25
|
StdioServerTransport,
|
|
26
26
|
serveStdio
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-UU5PLDRA.js";
|
|
28
|
+
import "./chunk-6XO7RTJY.js";
|
|
29
29
|
import {
|
|
30
30
|
appInstructions
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-UDJTRFRV.js";
|
|
32
32
|
import {
|
|
33
33
|
McpServer
|
|
34
34
|
} from "./chunk-5D4AEUVA.js";
|
|
35
35
|
import {
|
|
36
36
|
mcpHttpMarker
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-6T3P226D.js";
|
|
38
|
+
import "./chunk-US5C3WAY.js";
|
|
39
|
+
import "./chunk-2OSBCYJT.js";
|
|
40
|
+
import "./chunk-EH5QGQFR.js";
|
|
41
|
+
import "./chunk-YTF2WPV4.js";
|
|
42
|
+
import "./chunk-6CJ7NHIP.js";
|
|
43
|
+
import "./chunk-BOAMDYLY.js";
|
|
44
|
+
import "./chunk-VW6BF6M7.js";
|
|
45
|
+
import "./chunk-FMQS7HCC.js";
|
|
46
|
+
import "./chunk-4YFJYSSK.js";
|
|
47
|
+
import "./chunk-K67V24AT.js";
|
|
48
48
|
import {
|
|
49
49
|
DEFAULT_OUTPUT_BYTES,
|
|
50
50
|
changesAuthorityAt,
|
|
@@ -53,52 +53,53 @@ import {
|
|
|
53
53
|
judgedTargets,
|
|
54
54
|
readsOverMcpAt,
|
|
55
55
|
rootOf2 as rootOf
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-AJ7CMUGD.js";
|
|
57
57
|
import {
|
|
58
58
|
readOnlyLockOf
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
59
|
+
} from "./chunk-AVEIQMHZ.js";
|
|
60
|
+
import "./chunk-RP3U3J53.js";
|
|
61
|
+
import "./chunk-L4WVLRXM.js";
|
|
62
|
+
import "./chunk-JO4YADNV.js";
|
|
63
|
+
import "./chunk-DVA6MQWK.js";
|
|
64
|
+
import "./chunk-JRCYFCPL.js";
|
|
65
|
+
import "./chunk-YOAEZSDG.js";
|
|
66
|
+
import "./chunk-65T3PU75.js";
|
|
67
|
+
import "./chunk-TUNQ6NE2.js";
|
|
68
|
+
import "./chunk-YQRNFG2E.js";
|
|
69
|
+
import "./chunk-77I67HWF.js";
|
|
70
|
+
import "./chunk-NUJMJQXV.js";
|
|
71
|
+
import "./chunk-DWSUSWAX.js";
|
|
72
|
+
import "./chunk-VLD7Y4SY.js";
|
|
73
|
+
import "./chunk-AYEVBAGO.js";
|
|
74
|
+
import "./chunk-EJDV5IIF.js";
|
|
75
|
+
import "./chunk-2T6XHWDX.js";
|
|
76
|
+
import "./chunk-ZRD3NDOX.js";
|
|
77
|
+
import "./chunk-3BRV2YU2.js";
|
|
78
|
+
import "./chunk-KUB2U5NT.js";
|
|
79
|
+
import "./chunk-6TJ62LZQ.js";
|
|
80
|
+
import "./chunk-32FPA7P2.js";
|
|
81
|
+
import "./chunk-P3ASN72F.js";
|
|
81
82
|
import "./chunk-D72URWJE.js";
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
83
|
+
import "./chunk-LV7QRR5S.js";
|
|
84
|
+
import "./chunk-PUTGTW6W.js";
|
|
85
|
+
import "./chunk-TDGZMC6K.js";
|
|
86
|
+
import "./chunk-B6JMVB6R.js";
|
|
87
|
+
import "./chunk-VOXIGICJ.js";
|
|
88
|
+
import "./chunk-KNE6VFHZ.js";
|
|
88
89
|
import {
|
|
89
90
|
mcpErrorResult
|
|
90
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-NRRI37NJ.js";
|
|
91
92
|
import "./chunk-Y5E2WNWB.js";
|
|
92
93
|
import {
|
|
93
94
|
CliError
|
|
94
|
-
} from "./chunk-
|
|
95
|
-
import "./chunk-
|
|
96
|
-
import "./chunk-
|
|
95
|
+
} from "./chunk-FEM2JQN2.js";
|
|
96
|
+
import "./chunk-OE7EIP5L.js";
|
|
97
|
+
import "./chunk-P2TISY3R.js";
|
|
97
98
|
import {
|
|
98
99
|
__name
|
|
99
100
|
} from "./chunk-ZVVMGPBJ.js";
|
|
100
101
|
|
|
101
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
102
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
|
|
102
103
|
var EXCLUDED = [["mcp"]];
|
|
103
104
|
var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
104
105
|
const { app } = options;
|
|
@@ -198,9 +199,12 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
198
199
|
});
|
|
199
200
|
const ended = await new Promise((resolve) => {
|
|
200
201
|
wire.ended.then(() => resolve("input"));
|
|
201
|
-
if (own)
|
|
202
|
-
signal?.
|
|
203
|
-
|
|
202
|
+
if (own) {
|
|
203
|
+
if (signal?.aborted)
|
|
204
|
+
resolve("stopped");
|
|
205
|
+
else
|
|
206
|
+
signal?.addEventListener("abort", () => resolve("stopped"), { once: true });
|
|
207
|
+
} else {
|
|
204
208
|
process.once("SIGINT", () => resolve("stopped"));
|
|
205
209
|
process.once("SIGTERM", () => resolve("stopped"));
|
|
206
210
|
}
|
|
@@ -213,7 +217,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
213
217
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
214
218
|
const { app } = options;
|
|
215
219
|
const { build } = createAppServer(command, context, options);
|
|
216
|
-
const { serveOverHttp } = await import("./serve-
|
|
220
|
+
const { serveOverHttp } = await import("./serve-4BABX4WS.js");
|
|
217
221
|
const listening = await serveOverHttp(build, {
|
|
218
222
|
...http,
|
|
219
223
|
appName: app.command,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-P2TISY3R.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
|
|
27
27
|
import { Database } from "bun:sqlite";
|
|
28
28
|
var bunSQLiteCodecs = refineSqliteCodecs({
|
|
29
29
|
"integer:boolean": { normalize: booleanFromInteger },
|
|
@@ -3,19 +3,19 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-SRP6SFFD.js";
|
|
7
|
+
import "./chunk-KNE6VFHZ.js";
|
|
8
|
+
import "./chunk-NRRI37NJ.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-FEM2JQN2.js";
|
|
13
|
+
import "./chunk-OE7EIP5L.js";
|
|
14
14
|
import {
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
|
|
19
19
|
var customised = false;
|
|
20
20
|
var ownLibrary = /* @__PURE__ */ __name(async () => {
|
|
21
21
|
try {
|
|
@@ -3,12 +3,13 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
AUDIT_MIN_SCORE,
|
|
5
5
|
throughWrapper
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YTF2WPV4.js";
|
|
7
7
|
import {
|
|
8
8
|
Command,
|
|
9
9
|
InvalidArgumentError,
|
|
10
10
|
Option,
|
|
11
11
|
annotate,
|
|
12
|
+
annotateOption,
|
|
12
13
|
environmentOf,
|
|
13
14
|
itemOf,
|
|
14
15
|
listOf,
|
|
@@ -16,13 +17,13 @@ import {
|
|
|
16
17
|
renderAnswer,
|
|
17
18
|
sharedCommand,
|
|
18
19
|
snakeKeys
|
|
19
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AJ7CMUGD.js";
|
|
20
21
|
import {
|
|
21
22
|
readOnlyLockOf
|
|
22
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AVEIQMHZ.js";
|
|
23
24
|
import {
|
|
24
25
|
formatReference
|
|
25
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-NUJMJQXV.js";
|
|
26
27
|
import {
|
|
27
28
|
EVENT_QUERY,
|
|
28
29
|
MEETING_PROJECT_EVIDENCE_QUERY,
|
|
@@ -45,7 +46,7 @@ import {
|
|
|
45
46
|
readMeetingProjectEvidence,
|
|
46
47
|
validateMeetingHitSearch,
|
|
47
48
|
validateMeetingPassage
|
|
48
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-TDGZMC6K.js";
|
|
49
50
|
import {
|
|
50
51
|
OPERATORS_BY_TYPE,
|
|
51
52
|
QUERY_LIMITS,
|
|
@@ -60,7 +61,7 @@ import {
|
|
|
60
61
|
timezoneOf,
|
|
61
62
|
validateQuery,
|
|
62
63
|
zonedMoment
|
|
63
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-B6JMVB6R.js";
|
|
64
65
|
import {
|
|
65
66
|
array,
|
|
66
67
|
boolean,
|
|
@@ -73,15 +74,15 @@ import {
|
|
|
73
74
|
safeParse,
|
|
74
75
|
strictObject,
|
|
75
76
|
string
|
|
76
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-NRRI37NJ.js";
|
|
77
78
|
import {
|
|
78
79
|
CliError
|
|
79
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-FEM2JQN2.js";
|
|
80
81
|
import {
|
|
81
82
|
__name
|
|
82
83
|
} from "./chunk-ZVVMGPBJ.js";
|
|
83
84
|
|
|
84
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
85
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
|
|
85
86
|
var COMMAND_NEEDS = {
|
|
86
87
|
"account update": ["updateProfile", "change the profile"],
|
|
87
88
|
"account sessions list": ["sessions", "list the account's sessions"],
|
|
@@ -131,7 +132,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
|
|
|
131
132
|
return group;
|
|
132
133
|
}, "hideNever");
|
|
133
134
|
|
|
134
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
135
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
|
|
135
136
|
var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
|
|
136
137
|
var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
|
|
137
138
|
const zone = timezoneOf();
|
|
@@ -217,7 +218,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
|
|
|
217
218
|
var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
|
|
218
219
|
var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
|
|
219
220
|
|
|
220
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
|
|
221
222
|
var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
222
223
|
command.allowUnknownOption();
|
|
223
224
|
const parse = command.parseOptions.bind(command);
|
|
@@ -237,7 +238,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
|
237
238
|
return command;
|
|
238
239
|
}, "queryWordsAfterOptions");
|
|
239
240
|
|
|
240
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
241
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
|
|
241
242
|
var count = /* @__PURE__ */ __name((value) => {
|
|
242
243
|
if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
243
244
|
throw new CliError("validation_error", "expected a nonnegative safe integer");
|
|
@@ -279,7 +280,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
|
|
|
279
280
|
var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
|
|
280
281
|
var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
|
|
281
282
|
|
|
282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
283
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
|
|
283
284
|
var integer2 = /* @__PURE__ */ __name((value) => {
|
|
284
285
|
if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
285
286
|
throw new CliError("validation_error", "expected a positive safe integer");
|
|
@@ -302,7 +303,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
|
|
|
302
303
|
}, "addMeetingProjectEvidenceCommandDefinition");
|
|
303
304
|
var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
|
|
304
305
|
|
|
305
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
306
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
|
|
306
307
|
var integer3 = /* @__PURE__ */ __name((text) => {
|
|
307
308
|
if (!/^[1-9]\d*$/.test(text) || !Number.isSafeInteger(Number(text)))
|
|
308
309
|
throw new InvalidArgumentError("expected a positive integer");
|
|
@@ -352,7 +353,14 @@ ${fieldsHelp(MEETING_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
352
353
|
output(annotate(group.command("summary"), { effects: LOCAL_READ, output: { entity: "meeting_summary" } }).description("show stored meeting summaries").argument("<meeting>", "stored meeting id", integer3)).action(async (id, _opts, command) => {
|
|
353
354
|
print(await meetingSummaryAnswer(deps.store, id, deps.accountId), command);
|
|
354
355
|
});
|
|
355
|
-
output(annotate(group.command("export"), { effects: LOCAL_WRITE, output: { entity: "meeting_export" } }).description("export a meeting as Markdown or one transcript as WebVTT").argument("<meeting>", "stored meeting id", integer3).addOption(new Option("--format <format>", "export format").choices(["markdown", "vtt"]).default("markdown")).option("--transcript-id <id>", "export a specific transcript version", integer3).
|
|
356
|
+
const exporter = output(annotate(group.command("export"), { effects: LOCAL_WRITE, output: { entity: "meeting_export" } }).description("export a meeting as Markdown or one transcript as WebVTT").argument("<meeting>", "stored meeting id", integer3).addOption(new Option("--format <format>", "export format").choices(["markdown", "vtt"]).default("markdown")).option("--transcript-id <id>", "export a specific transcript version", integer3).addOption(
|
|
357
|
+
// Not over MCP: an agent would choose where on the owner's disk to write; it gets the content in the answer.
|
|
358
|
+
annotateOption(new Option("--output <file>", "write content to a new file through the host's writer"), {
|
|
359
|
+
mcp: false
|
|
360
|
+
})
|
|
361
|
+
));
|
|
362
|
+
deps.newFileOutput?.(exporter, "output");
|
|
363
|
+
exporter.action(async (id, opts, command) => {
|
|
356
364
|
if (opts.output !== void 0 && !opts.output.trim())
|
|
357
365
|
throw new MeetingError("validation_error", "output path must not be empty");
|
|
358
366
|
if (opts.output !== void 0 && !deps.writeFile)
|
|
@@ -379,16 +387,21 @@ ${fieldsHelp(MEETING_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
379
387
|
output(annotate(group.command("sync"), {
|
|
380
388
|
effects: FETCH,
|
|
381
389
|
offline: false,
|
|
382
|
-
output: { entity: "meeting_ingestion" }
|
|
383
|
-
|
|
384
|
-
|
|
390
|
+
output: { entity: "meeting_ingestion" },
|
|
391
|
+
// Only a sync that stops itself at its budget may outlive the one-shot deadline.
|
|
392
|
+
...deps.budgetOf ? { cooperative: true, partial: true } : {}
|
|
393
|
+
}).description("bring the stored meetings up to date from the connected account, oldest first; a run that stops before its deadline keeps what it saved and the next one goes on from there")).option("--since-time <time>", "fetch meetings starting at or after this ISO 8601 date or time", date).option("--lookback-days <days>", "revisit recent occurrences for late transcripts (0\u201331)", lookbackDays).option("--rescan", "read the last 30 days again, not only what came after the last sync").action(async (opts, command) => {
|
|
394
|
+
const source = deps.source;
|
|
395
|
+
if (!source)
|
|
385
396
|
throw new MeetingError("configuration_error", "meeting source is unavailable");
|
|
386
|
-
print(await pull(
|
|
397
|
+
await deps.inRun(command, async () => print(await pull(source, deps.store, {
|
|
387
398
|
accountId: deps.accountId,
|
|
388
399
|
since: opts.sinceTime === void 0 ? void 0 : new Date(opts.sinceTime).toISOString(),
|
|
389
400
|
now: deps.now?.(),
|
|
390
|
-
lookbackMs: opts.lookbackDays * 864e5
|
|
391
|
-
|
|
401
|
+
...opts.lookbackDays === void 0 ? {} : { lookbackMs: opts.lookbackDays * 864e5 },
|
|
402
|
+
...opts.rescan ? { rescan: true } : {},
|
|
403
|
+
...deps.budgetOf ? { budget: deps.budgetOf(command) } : {}
|
|
404
|
+
}), command));
|
|
392
405
|
});
|
|
393
406
|
const importCommand = annotate(group.command("import"), {
|
|
394
407
|
effects: LOCAL_WRITE,
|
|
@@ -434,7 +447,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
434
447
|
}, "addMeetingCommandsDefinition");
|
|
435
448
|
var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
|
|
436
449
|
|
|
437
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/list-query.js
|
|
438
451
|
var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
|
|
439
452
|
var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
|
|
440
453
|
var withQuery = /* @__PURE__ */ __name((command, registry) => {
|
|
@@ -575,7 +588,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
|
|
|
575
588
|
var queryHelp = /* @__PURE__ */ __name((registry) => `
|
|
576
589
|
${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
|
|
577
590
|
|
|
578
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
591
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/paging.js
|
|
579
592
|
var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
580
593
|
if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
|
|
581
594
|
throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
|
|
@@ -584,7 +597,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
|
584
597
|
var withPaging = /* @__PURE__ */ __name((command) => command.option("--limit <n>", "how many to show", positiveCount("--limit")).option("--page <n>", "which page, starting at 1", positiveCount("--page")).option("--all", "every row, no paging"), "withPaging");
|
|
585
598
|
var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
|
|
586
599
|
|
|
587
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
600
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
|
|
588
601
|
var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
|
|
589
602
|
var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
|
|
590
603
|
var settingsOf = /* @__PURE__ */ __name((settings) => defined({
|
|
@@ -846,7 +859,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
|
|
|
846
859
|
...createdAt === void 0 ? {} : { created_at: createdAt }
|
|
847
860
|
}), "sessionAnswer");
|
|
848
861
|
|
|
849
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
862
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/background/relay.js
|
|
850
863
|
import { createHash } from "node:crypto";
|
|
851
864
|
import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
|
|
852
865
|
import { createConnection, createServer } from "node:net";
|
|
@@ -1067,7 +1080,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
|
|
|
1067
1080
|
}, () => finish({ error: stopped() }));
|
|
1068
1081
|
}), "relayCommand");
|
|
1069
1082
|
|
|
1070
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1083
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
|
|
1071
1084
|
var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
|
|
1072
1085
|
close: /* @__PURE__ */ __name(async () => {
|
|
1073
1086
|
}, "close"),
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FEM2JQN2.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
|
|
11
11
|
var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
|
|
12
12
|
var MAX_SECRET_INPUT = 64 * 1024;
|
|
13
13
|
var policies = /* @__PURE__ */ new WeakMap();
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
resolvePaths
|
|
5
|
+
} from "./chunk-KNE6VFHZ.js";
|
|
6
|
+
import {
|
|
7
|
+
__name
|
|
8
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
9
|
+
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/store/path.js
|
|
11
|
+
import { userInfo } from "node:os";
|
|
12
|
+
import { isAbsolute, join, relative, resolve } from "node:path";
|
|
13
|
+
var wirecatDirectory = /* @__PURE__ */ __name((env = process.env, platform) => resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env, ...platform ? { platform } : {} }).state, "wirecatDirectory");
|
|
14
|
+
var storePath = /* @__PURE__ */ __name((env = process.env) => env.MESSAGING_STORE ?? join(wirecatDirectory(env), "wirecat.db"), "storePath");
|
|
15
|
+
var accountHome = /* @__PURE__ */ __name(() => {
|
|
16
|
+
try {
|
|
17
|
+
return userInfo().homedir;
|
|
18
|
+
} catch {
|
|
19
|
+
return void 0;
|
|
20
|
+
}
|
|
21
|
+
}, "accountHome");
|
|
22
|
+
var refuseOwnerStoreInTests = /* @__PURE__ */ __name((file, env = process.env, home = accountHome()) => {
|
|
23
|
+
if (!env.VITEST || !home || file === ":memory:")
|
|
24
|
+
return;
|
|
25
|
+
const inside = relative(wirecatDirectory({ HOME: home, USERPROFILE: home }), resolve(file));
|
|
26
|
+
if (inside.startsWith("..") || isAbsolute(inside))
|
|
27
|
+
return;
|
|
28
|
+
throw new Error(`a test tried to open ${file}, in the owner's real WireCat folder; give it a MESSAGING_STORE or HOME of its own`);
|
|
29
|
+
}, "refuseOwnerStoreInTests");
|
|
30
|
+
|
|
31
|
+
export {
|
|
32
|
+
wirecatDirectory,
|
|
33
|
+
storePath,
|
|
34
|
+
refuseOwnerStoreInTests
|
|
35
|
+
};
|
|
@@ -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.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
|
|
8
8
|
var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
|
|
9
9
|
`The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
|
|
10
10
|
"Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
unit
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KUB2U5NT.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FEM2JQN2.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
14
14
|
import { setTimeout } from "node:timers/promises";
|
|
15
15
|
var OPENAI_URL = "https://api.openai.com/v1";
|
|
16
16
|
var OPENAI_MODELS = {
|