@wirecat/zoom-cli 0.77.0 → 0.78.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/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-PMCFNDMA.js → all-profiles-7JN3N3E6.js} +11 -11
- package/dist/bundle/answer-policy-G2BNMPEX.js +122 -0
- package/dist/bundle/{anthropic-TGJOKLUS.js → anthropic-U6O7UYGZ.js} +6 -6
- package/dist/bundle/{app-server-OAODUFM3.js → app-server-G7BTC6CE.js} +72 -72
- package/dist/bundle/{bun-HJHVHJJV.js → bun-VLROVUFK.js} +2 -2
- package/dist/bundle/{bun-sqlite-PLBOY6FP.js → bun-sqlite-C5JLANDE.js} +7 -7
- package/dist/bundle/{chunk-LWMDLXEO.js → chunk-2AWWMROP.js} +3252 -3057
- package/dist/bundle/{chunk-QKNO3JTG.js → chunk-2LMD3JUD.js} +2 -2
- package/dist/bundle/{chunk-5A5W322G.js → chunk-2O66KMOR.js} +2 -2
- package/dist/bundle/{chunk-MMAZUJBO.js → chunk-2USGT7LE.js} +1 -1
- package/dist/bundle/{chunk-FRC5QIPQ.js → chunk-3A3B3JX4.js} +8 -8
- package/dist/bundle/{chunk-SVJQRG5N.js → chunk-3NZJKY7A.js} +103 -42
- package/dist/bundle/{chunk-7ILGYNWX.js → chunk-3QWYRZME.js} +8 -8
- package/dist/bundle/{chunk-36SI35XZ.js → chunk-4QCLPSJ7.js} +5 -5
- package/dist/bundle/{chunk-6YCFDDRO.js → chunk-4XPVRZXE.js} +1 -1
- package/dist/bundle/{chunk-Q7ZW7XAX.js → chunk-532FNLON.js} +20 -20
- package/dist/bundle/{chunk-NOF6LABG.js → chunk-53TV72JG.js} +2 -2
- package/dist/bundle/{chunk-ZUMKZOHR.js → chunk-5DLK4OXF.js} +3 -3
- package/dist/bundle/{chunk-5C6CRSEM.js → chunk-5SM2IOAS.js} +12 -12
- package/dist/bundle/{chunk-YFN5A7OP.js → chunk-6MFEWAK4.js} +4 -4
- package/dist/bundle/{chunk-OXXJW3A5.js → chunk-6NTNAEZF.js} +2014 -1032
- package/dist/bundle/{chunk-RQS3W4P6.js → chunk-7AMKSXMB.js} +6 -6
- package/dist/bundle/{chunk-7CMYNW3W.js → chunk-7EVB4UV7.js} +4 -4
- package/dist/bundle/{chunk-MIG4RLDB.js → chunk-7HEZQCHL.js} +6 -6
- package/dist/bundle/{chunk-QUGESVOE.js → chunk-7IIQU5RA.js} +13 -13
- package/dist/bundle/{chunk-A6LK2W5J.js → chunk-7K5O2VWO.js} +1 -1
- package/dist/bundle/{chunk-5KHCFIWI.js → chunk-AEVSVVTP.js} +2 -2
- package/dist/bundle/{chunk-7SNU7RFU.js → chunk-B4V4DRVO.js} +12 -12
- package/dist/bundle/{chunk-W7UCN7MF.js → chunk-B6TUEQ4O.js} +3 -3
- package/dist/bundle/{chunk-DCEQIKFD.js → chunk-BAHXR4PA.js} +6 -6
- package/dist/bundle/{chunk-XCA5N63N.js → chunk-BGO7IEHY.js} +6 -6
- package/dist/bundle/{chunk-I3QMPQYD.js → chunk-BIUHLXL2.js} +38 -39
- package/dist/bundle/{chunk-ECRFXQHA.js → chunk-C26V2XNV.js} +1 -1
- package/dist/bundle/{chunk-5C5UEKUJ.js → chunk-C56OYYFG.js} +3 -3
- package/dist/bundle/{chunk-KHBSQROH.js → chunk-DLJPN47R.js} +8 -6
- package/dist/bundle/{chunk-ZRNNMBPC.js → chunk-EV7QCFQR.js} +19 -19
- package/dist/bundle/{chunk-IUOKIZZN.js → chunk-F2KZNAFF.js} +2 -2
- package/dist/bundle/{chunk-GHBDYYPO.js → chunk-F7IDYQLM.js} +2 -2
- package/dist/bundle/{chunk-QE4L2QQZ.js → chunk-FCGRXUAU.js} +9 -9
- package/dist/bundle/{chunk-T6RSYDFA.js → chunk-FHOQWPQ6.js} +119 -67
- package/dist/bundle/{chunk-CUJJZJ4R.js → chunk-FMMCGQNT.js} +36 -5
- package/dist/bundle/{chunk-4QNW4NK6.js → chunk-FNLXFQN6.js} +1 -1
- package/dist/bundle/{chunk-SP5OMHOO.js → chunk-FURKMNC2.js} +3 -3
- package/dist/bundle/{chunk-VJ2TLU7R.js → chunk-FXHZHQKU.js} +6 -6
- package/dist/bundle/{chunk-NKKVVPL5.js → chunk-GQ6EJDMV.js} +1 -1
- package/dist/bundle/{chunk-MTH3JJHF.js → chunk-H34KEXTN.js} +10 -10
- package/dist/bundle/{chunk-JFVZVPRW.js → chunk-H74NENWA.js} +3 -3
- package/dist/bundle/{chunk-6JRBMNRN.js → chunk-H7SRM26V.js} +3 -3
- package/dist/bundle/{chunk-77JQIY2V.js → chunk-HGBZBQAE.js} +3 -3
- package/dist/bundle/{chunk-NJJEUG4C.js → chunk-HI4QICF7.js} +12 -12
- package/dist/bundle/{chunk-635GRAO5.js → chunk-HOJOVUO6.js} +14 -13
- package/dist/bundle/{chunk-ICZVSVTW.js → chunk-HUSIS3XO.js} +59 -59
- package/dist/bundle/{chunk-STNZQBY4.js → chunk-IBINGDYF.js} +6 -6
- package/dist/bundle/{chunk-DDUNPLET.js → chunk-INJK7FNM.js} +240 -168
- package/dist/bundle/{chunk-MCLZ74II.js → chunk-JOIAE3NO.js} +7 -7
- package/dist/bundle/{chunk-3TLQF3DN.js → chunk-KBTINKQF.js} +3 -3
- package/dist/bundle/{chunk-YJIGGUPI.js → chunk-KEAKNNXU.js} +4 -4
- package/dist/bundle/{chunk-SFPUSEOT.js → chunk-LBTANUUH.js} +2 -2
- package/dist/bundle/{chunk-7DTU7QZP.js → chunk-LBV4673S.js} +3 -3
- package/dist/bundle/{chunk-PM3MB3E7.js → chunk-LERF2FIK.js} +3 -3
- package/dist/bundle/{chunk-FDQE2CLT.js → chunk-LX532BXO.js} +1 -1
- package/dist/bundle/{chunk-WD5OL5JB.js → chunk-M2M3U4UU.js} +12 -12
- package/dist/bundle/{chunk-B7XFDMFV.js → chunk-M5R2DURM.js} +10 -10
- package/dist/bundle/{chunk-VGERRRDC.js → chunk-MJMHUU3J.js} +1 -1
- package/dist/bundle/{chunk-BOJCRTQW.js → chunk-MSMFYW6N.js} +2 -2
- package/dist/bundle/{chunk-LUAS73NT.js → chunk-MVLLWSV7.js} +20 -118
- package/dist/bundle/{chunk-YVI5SQPY.js → chunk-NO2LIHWA.js} +1 -1
- package/dist/bundle/{chunk-7S3N5CTA.js → chunk-NS5XSCHC.js} +1 -1
- package/dist/bundle/{chunk-TY4FFK2P.js → chunk-OAE6XR7E.js} +9 -60
- package/dist/bundle/{chunk-QAGECFHL.js → chunk-OAYAGQ7C.js} +21 -21
- package/dist/bundle/{chunk-CL6QAZGT.js → chunk-OI4563JI.js} +13 -13
- package/dist/bundle/{chunk-E3UPMPUV.js → chunk-OOLNK3Y5.js} +8 -8
- package/dist/bundle/{chunk-PO4RZ4XZ.js → chunk-ORSTSBWU.js} +1 -1
- package/dist/bundle/{chunk-T4CI3YXW.js → chunk-P5QO7Y3H.js} +6 -6
- package/dist/bundle/{chunk-FS5HPXQN.js → chunk-PJMQE4PW.js} +29 -9
- package/dist/bundle/{chunk-NPDPD2H3.js → chunk-Q4AKIAIA.js} +12 -12
- package/dist/bundle/{chunk-7AFYZOHU.js → chunk-Q4CNLEAY.js} +26 -26
- package/dist/bundle/{chunk-ADJIYY33.js → chunk-RJIJR6KH.js} +1 -1
- package/dist/bundle/{chunk-LYVHQ6DJ.js → chunk-TEFHNXXX.js} +14 -14
- package/dist/bundle/{chunk-IZMRQ3MV.js → chunk-TFDD4Q5Z.js} +10 -10
- package/dist/bundle/{chunk-CJL5GHTQ.js → chunk-TXDCIM5D.js} +2493 -1444
- package/dist/bundle/{chunk-2QRGJSKO.js → chunk-U2Z35B3W.js} +2 -2
- package/dist/bundle/{chunk-IS6MUPN2.js → chunk-UHBQM54J.js} +4 -4
- package/dist/bundle/{chunk-DYIRJINE.js → chunk-UIBKGH5P.js} +1 -1
- package/dist/bundle/{chunk-NPIVV52M.js → chunk-UKYO3HNO.js} +1 -1
- package/dist/bundle/{chunk-JMU3E2WA.js → chunk-V53TIJLY.js} +2 -2
- package/dist/bundle/{chunk-H2EVYY5Z.js → chunk-VMA7SILL.js} +1 -1
- package/dist/bundle/chunk-VW36ZSAE.js +88 -0
- package/dist/bundle/{chunk-XVHDT4CO.js → chunk-WEAMGNST.js} +3 -3
- package/dist/bundle/{chunk-KYKW2W6X.js → chunk-WJTXO2EI.js} +1 -1
- package/dist/bundle/{chunk-375BH5OD.js → chunk-WOYPWXZK.js} +4 -4
- package/dist/bundle/{chunk-CZ6OO66B.js → chunk-XCOGI4JE.js} +4 -4
- package/dist/bundle/{chunk-XC3MWABM.js → chunk-XOG7B7K5.js} +4 -4
- package/dist/bundle/{chunk-UGRGYLEI.js → chunk-XSF5OBVZ.js} +8 -8
- package/dist/bundle/{chunk-SY5NGYKA.js → chunk-XXD4YPHQ.js} +12 -12
- package/dist/bundle/{chunk-ZZ32DXTH.js → chunk-YAPDU3SV.js} +1 -1
- package/dist/bundle/{chunk-IJTBB23F.js → chunk-YHQ3TEGB.js} +27 -27
- package/dist/bundle/{chunk-F4ROWGLU.js → chunk-YLNUKNGD.js} +63 -33
- package/dist/bundle/{chunk-JQUYHPQD.js → chunk-YNYQGZUW.js} +7 -7
- package/dist/bundle/{chunk-2QDD6S2R.js → chunk-YZKVCTZI.js} +8 -8
- package/dist/bundle/{chunk-OOIU36FA.js → chunk-ZCVO6GAT.js} +1 -1
- package/dist/bundle/{chunk-4Z4VOQRR.js → chunk-ZDZASHSQ.js} +17 -17
- package/dist/bundle/{chunk-LMZUC4CS.js → chunk-ZZJ5IWNT.js} +4 -4
- package/dist/bundle/{cli-Y27PHKBV.js → cli-YALONJ4V.js} +111 -77
- package/dist/bundle/command-contract-DMR5EOIN.js +45 -0
- package/dist/bundle/{command-server-entry-AXQSW2X6.js → command-server-entry-W4XTBUZE.js} +35 -35
- package/dist/bundle/config-4TLDRXRL.js +109 -0
- package/dist/bundle/{decode-ZRNOOTUZ.js → decode-IFQHVCFX.js} +6 -6
- package/dist/bundle/{dispatch-2GHGPAYH.js → dispatch-GOJB4TDK.js} +9 -9
- package/dist/bundle/{dist-MUFVAMKB.js → dist-H7XFUMRX.js} +21 -21
- package/dist/bundle/{echarts-F4PHDYET.js → echarts-HPUHPJCO.js} +2 -2
- package/dist/bundle/{embed-KWHCKPCV.js → embed-ESU3WZYW.js} +7 -7
- package/dist/bundle/{embedder-U3R3RY54.js → embedder-BV6O76B3.js} +10 -10
- package/dist/bundle/{failure-S2YXEN4A.js → failure-SWVCYFQX.js} +3 -3
- package/dist/bundle/first-run-OEJGAQAE.js +29 -0
- package/dist/bundle/first-screen-QLM4IABL.js +45 -0
- package/dist/bundle/{folders-DVTRFQKW.js → folders-VQGKBM3P.js} +5 -5
- package/dist/bundle/{instructions-JU4YW6QY.js → instructions-UUX57I3V.js} +1 -1
- package/dist/bundle/{main-5UCRPACH.js → main-UIKADOFB.js} +24 -24
- package/dist/bundle/{mcp-O6ACR2DX.js → mcp-VMS6PBCU.js} +2 -2
- package/dist/bundle/meeting-combined-SKJISCC7.js +26 -0
- package/dist/bundle/meeting-model-YG3Z5KCB.js +26 -0
- package/dist/bundle/{meeting-semantic-5DKRGZFS.js → meeting-semantic-F6GUICB7.js} +8 -8
- package/dist/bundle/{meetings-T2UY35DV.js → meetings-KIBUPLPW.js} +19 -7
- package/dist/bundle/{node-MAVRAF4M.js → node-AM3JCAWB.js} +2 -2
- package/dist/bundle/{node-sqlite-TFBQ5NDI.js → node-sqlite-VM6VS3RU.js} +8 -8
- package/dist/bundle/{oauth-7IG5HWSY.js → oauth-AX5Z32H6.js} +8 -8
- package/dist/bundle/{open-3R3N7L3X.js → open-SSGOOOZG.js} +6 -6
- package/dist/bundle/openai-YIP73X2B.js +28 -0
- package/dist/bundle/{output-file-KKHHAYWF.js → output-file-FR226A64.js} +6 -6
- package/dist/bundle/{process-OIO254NR.js → process-5ZEK2VFY.js} +1 -1
- package/dist/bundle/{program-IBYRU76H.js → program-ROJAJHCB.js} +93 -92
- package/dist/bundle/{prompt-LNEOO7PN.js → prompt-6Y7A4453.js} +6 -6
- package/dist/bundle/{recognize-2WYLT3PC.js → recognize-R5W25WKH.js} +5 -5
- package/dist/bundle/{remote-7EAJEIV7.js → remote-PA4FQUZK.js} +11 -11
- package/dist/bundle/{rerank-DZBZ744F.js → rerank-CYX3UFTM.js} +8 -8
- package/dist/bundle/run-log-FHERL3H6.js +136 -0
- package/dist/bundle/{serve-T3KQV5SS.js → serve-MM5QEZJW.js} +10 -10
- package/dist/bundle/{server-2QQAQZ2J.js → server-JQQAH7E5.js} +64 -64
- package/dist/bundle/server-W2BBONCQ.js +85 -0
- package/dist/bundle/{services-DETAKMC3.js → services-Y2DOQONM.js} +58 -51
- package/dist/bundle/{speech-HD57JNTK.js → speech-O6WLX34V.js} +25 -25
- package/dist/bundle/{sqlite-runtime-OCETZSEZ.js → sqlite-runtime-LQTBZMFH.js} +7 -7
- package/dist/bundle/{state-ZKVQ4DBI.js → state-AIDPZLVH.js} +7 -7
- package/dist/bundle/{store-7IZ2WMHF.js → store-BA4FQS5V.js} +26 -24
- package/dist/bundle/{store-GEAQ7V5R.js → store-UNDS2TBG.js} +30 -26
- package/dist/bundle/store-connection-ADBJ36T4.js +102 -0
- package/dist/bundle/store-maintenance-command-IB6ML4UI.js +77 -0
- package/dist/bundle/{streaming-CLBAO3MG.js → streaming-UFHT5MR2.js} +7 -7
- package/dist/bundle/{tokens-WH73ZWFI.js → tokens-Z32UKGQB.js} +10 -10
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-ZDTYMJET.js → zoom-app-6U46XBTG.js} +8 -8
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +5 -4
- package/skills/zoom-cli/SKILL.md +88 -236
- package/skills/zoom-cli/references/archive.md +59 -0
- package/skills/zoom-cli/references/people-and-projects.md +51 -0
- package/skills/zoom-cli/references/prepare.md +78 -0
- package/skills/zoom-cli/references/search.md +71 -0
- package/skills/zoom-cli/references/setup.md +31 -0
- package/skills/zoom-cli/references/zoom-live.md +27 -0
- package/dist/bundle/answer-policy-XU7KEW2V.js +0 -121
- package/dist/bundle/command-contract-GB7YA3KW.js +0 -45
- package/dist/bundle/config-2OOABHR7.js +0 -108
- package/dist/bundle/first-run-F4YR2E2C.js +0 -29
- package/dist/bundle/first-screen-HPRHD3VK.js +0 -43
- package/dist/bundle/meeting-combined-IWU5SPAH.js +0 -26
- package/dist/bundle/meeting-model-ILIUJECZ.js +0 -26
- package/dist/bundle/openai-DD5I3DWC.js +0 -28
- package/dist/bundle/run-log-CCIVRSHP.js +0 -135
- package/dist/bundle/server-OJQMPF2R.js +0 -84
- package/dist/bundle/store-connection-BALCZW7P.js +0 -101
- package/dist/bundle/store-maintenance-command-SBT4LDSI.js +0 -76
- /package/dist/bundle/{chunk-VKE77B3F.js → chunk-SHTHNBHG.js} +0 -0
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
tool,
|
|
21
21
|
toolKey,
|
|
22
22
|
toolsFromCommands
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-YLNUKNGD.js";
|
|
24
24
|
import {
|
|
25
25
|
CHART_KINDS,
|
|
26
26
|
CHART_SIZE,
|
|
@@ -33,35 +33,35 @@ import {
|
|
|
33
33
|
refuseWriteBeforeConnecting,
|
|
34
34
|
registerPrompts,
|
|
35
35
|
syncsFirst
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-YHQ3TEGB.js";
|
|
37
37
|
import {
|
|
38
38
|
agentJson,
|
|
39
|
-
|
|
40
|
-
} from "./chunk-
|
|
39
|
+
skillResources
|
|
40
|
+
} from "./chunk-3NZJKY7A.js";
|
|
41
41
|
import {
|
|
42
42
|
instructions
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-UIBKGH5P.js";
|
|
44
44
|
import {
|
|
45
45
|
mcpHttpMarker
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-7EVB4UV7.js";
|
|
47
47
|
import {
|
|
48
48
|
StdioServerTransport,
|
|
49
49
|
answeredWire,
|
|
50
50
|
callerOf,
|
|
51
51
|
callingAgent,
|
|
52
52
|
serveStdio
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-HGBZBQAE.js";
|
|
54
54
|
import {
|
|
55
55
|
McpServer,
|
|
56
56
|
ResourceTemplate
|
|
57
57
|
} from "./chunk-5D4AEUVA.js";
|
|
58
58
|
import {
|
|
59
59
|
connectedFor
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-MVLLWSV7.js";
|
|
61
61
|
import {
|
|
62
62
|
lackedNeed,
|
|
63
63
|
wholeList
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-HI4QICF7.js";
|
|
65
65
|
import {
|
|
66
66
|
capability,
|
|
67
67
|
dateWindow,
|
|
@@ -69,16 +69,16 @@ import {
|
|
|
69
69
|
imageSize,
|
|
70
70
|
servicesFor,
|
|
71
71
|
storedDeps
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-2AWWMROP.js";
|
|
73
73
|
import {
|
|
74
74
|
warmEmbedders
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-P5QO7Y3H.js";
|
|
76
76
|
import {
|
|
77
77
|
stdinFieldOf
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-RJIJR6KH.js";
|
|
79
79
|
import {
|
|
80
80
|
findCommand
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-4QCLPSJ7.js";
|
|
82
82
|
import {
|
|
83
83
|
DEFAULT_OUTPUT_BYTES,
|
|
84
84
|
changesAuthorityAt,
|
|
@@ -92,31 +92,31 @@ import {
|
|
|
92
92
|
rootOf2 as rootOf,
|
|
93
93
|
sealed,
|
|
94
94
|
snakeKeys
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-INJK7FNM.js";
|
|
96
96
|
import {
|
|
97
97
|
readOnlyLockOf
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-F7IDYQLM.js";
|
|
99
99
|
import {
|
|
100
100
|
withCaller
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-JOIAE3NO.js";
|
|
102
102
|
import {
|
|
103
103
|
fetchesAt,
|
|
104
104
|
levelFor,
|
|
105
105
|
readKeysForCommand
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-YZKVCTZI.js";
|
|
107
107
|
import {
|
|
108
108
|
openStore,
|
|
109
109
|
pdfPreviewLimits
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-6NTNAEZF.js";
|
|
111
111
|
import {
|
|
112
112
|
typedCommand
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-7HEZQCHL.js";
|
|
114
114
|
import {
|
|
115
115
|
isCliFailure
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-AEVSVVTP.js";
|
|
117
117
|
import {
|
|
118
118
|
timezoneOf
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-TFDD4Q5Z.js";
|
|
120
120
|
import {
|
|
121
121
|
description,
|
|
122
122
|
errorObjectOf,
|
|
@@ -133,21 +133,21 @@ import {
|
|
|
133
133
|
regex,
|
|
134
134
|
strictObject,
|
|
135
135
|
string
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-PJMQE4PW.js";
|
|
137
137
|
import {
|
|
138
138
|
CliError
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-FNLXFQN6.js";
|
|
140
140
|
import {
|
|
141
141
|
visibleControls
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-WJTXO2EI.js";
|
|
143
143
|
import {
|
|
144
144
|
__name
|
|
145
145
|
} from "./chunk-ZVVMGPBJ.js";
|
|
146
146
|
|
|
147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
148
148
|
import { randomUUID } from "node:crypto";
|
|
149
149
|
|
|
150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
|
|
151
151
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
152
152
|
let held;
|
|
153
153
|
return {
|
|
@@ -166,7 +166,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
166
166
|
};
|
|
167
167
|
}, "agentLog");
|
|
168
168
|
|
|
169
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
169
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/mcp/resources.js
|
|
170
170
|
var LISTED = 100;
|
|
171
171
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
172
172
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -204,7 +204,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
204
204
|
});
|
|
205
205
|
}, "registerResources");
|
|
206
206
|
|
|
207
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
207
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/mcp/session.js
|
|
208
208
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
209
209
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
210
210
|
var MessengerSession = class {
|
|
@@ -279,7 +279,7 @@ var MessengerSession = class {
|
|
|
279
279
|
}
|
|
280
280
|
};
|
|
281
281
|
|
|
282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
282
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
|
|
283
283
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
284
284
|
const _command = messenger.app.command;
|
|
285
285
|
return {
|
|
@@ -333,7 +333,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
333
333
|
};
|
|
334
334
|
}, "attachmentsTools");
|
|
335
335
|
|
|
336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
336
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
|
|
337
337
|
var PHOTO_LIMIT = 512 * 1024;
|
|
338
338
|
var IMAGE_TYPES = [
|
|
339
339
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -389,7 +389,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
389
389
|
return new Uint8Array(Buffer.concat(chunks));
|
|
390
390
|
}, "readUpTo");
|
|
391
391
|
|
|
392
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
392
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
|
|
393
393
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
394
394
|
stats_charts: tool({
|
|
395
395
|
title: "A chart from a chat's statistics",
|
|
@@ -426,14 +426,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
426
426
|
})
|
|
427
427
|
}), "statsTools");
|
|
428
428
|
|
|
429
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
429
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/mcp/tools.js
|
|
430
430
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
431
431
|
...messagesPhotoTools(messenger),
|
|
432
432
|
...attachmentsTools(messenger),
|
|
433
433
|
...statsTools(messenger)
|
|
434
434
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
435
435
|
|
|
436
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
436
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
437
437
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
438
438
|
"streams",
|
|
439
439
|
"stdin",
|
|
@@ -551,7 +551,8 @@ var createServer = /* @__PURE__ */ __name((command, context, messenger, sessionO
|
|
|
551
551
|
...messenger.diagnose ? { [messenger.provider]: await messenger.diagnose(command, context) } : {}
|
|
552
552
|
}), "local")
|
|
553
553
|
});
|
|
554
|
-
const
|
|
554
|
+
const skills = messenger.skill ? skillResources(app, messenger.skill) : [];
|
|
555
|
+
const skill = skills[0];
|
|
555
556
|
const log = agentLog(() => openStore({ env: context.env, command: app.command, version: app.version }));
|
|
556
557
|
const audit = /* @__PURE__ */ __name(async (call, caller) => {
|
|
557
558
|
if (!recalledAccount(app, provider, settings.profile, context.env))
|
|
@@ -721,10 +722,8 @@ var createServer = /* @__PURE__ */ __name((command, context, messenger, sessionO
|
|
|
721
722
|
});
|
|
722
723
|
}, "assertRead")
|
|
723
724
|
});
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
server.registerResource(resource, uri, { title, description: description2, mimeType }, read);
|
|
727
|
-
}
|
|
725
|
+
for (const { uri, name: name2, title, description: description2, mimeType, read } of skills)
|
|
726
|
+
server.registerResource(name2, uri, { title, description: description2, mimeType }, read);
|
|
728
727
|
return server;
|
|
729
728
|
}, "build");
|
|
730
729
|
return { session, embedders, build, log, offered: [...commands.map((one) => one.command), ...pictured] };
|
|
@@ -750,7 +749,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
750
749
|
}, "serveOverStdio");
|
|
751
750
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
752
751
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
753
|
-
const { serveOverHttp } = await import("./serve-
|
|
752
|
+
const { serveOverHttp } = await import("./serve-MM5QEZJW.js");
|
|
754
753
|
const appName = messenger.app.command;
|
|
755
754
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
756
755
|
const listening = await serveOverHttp(build, {
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
formatMeetingReference
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FHOQWPQ6.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FNLXFQN6.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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/services/meeting-semantic.js
|
|
14
14
|
var positive = /* @__PURE__ */ __name((value, name, max) => {
|
|
15
15
|
if (!Number.isSafeInteger(value) || value < 1 || value > max)
|
|
16
16
|
throw new CliError("validation_error", `Invalid ${name}`);
|
|
@@ -3,17 +3,17 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
checkCancelled,
|
|
5
5
|
object
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-U2Z35B3W.js";
|
|
7
7
|
import {
|
|
8
8
|
acquireLock
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TEFHNXXX.js";
|
|
10
10
|
import {
|
|
11
11
|
Credentials
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OAYAGQ7C.js";
|
|
13
13
|
import {
|
|
14
14
|
CliError,
|
|
15
15
|
isCliError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FNLXFQN6.js";
|
|
17
17
|
import {
|
|
18
18
|
__name
|
|
19
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -23,7 +23,7 @@ import { createHash } from "node:crypto";
|
|
|
23
23
|
import { join } from "node:path";
|
|
24
24
|
import { setTimeout as delay } from "node:timers/promises";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/oauth/storage.js
|
|
27
27
|
var invalid = /* @__PURE__ */ __name(() => new CliError("authentication_error", "the saved sign-in cannot be read; sign in again", { reason: "oauth.invalid" }), "invalid");
|
|
28
28
|
var parse = /* @__PURE__ */ __name((raw) => {
|
|
29
29
|
let value;
|
|
@@ -50,7 +50,9 @@ var previousOf = /* @__PURE__ */ __name((raw) => {
|
|
|
50
50
|
var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, field]) => field !== void 0)), "defined");
|
|
51
51
|
var oauthAccount = /* @__PURE__ */ __name((providerId, profile) => {
|
|
52
52
|
if (!profile.trim())
|
|
53
|
-
throw new CliError("validation_error", "name a profile: a sign-in always belongs to one"
|
|
53
|
+
throw new CliError("validation_error", "name a profile: a sign-in always belongs to one", {
|
|
54
|
+
reason: "profile.missing"
|
|
55
|
+
});
|
|
54
56
|
return `oauth:${providerId}:${profile}`;
|
|
55
57
|
}, "oauthAccount");
|
|
56
58
|
var standardCodec = /* @__PURE__ */ __name((providerId) => ({
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
isCliFailure,
|
|
5
5
|
isStoreDamage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AEVSVVTP.js";
|
|
7
7
|
import {
|
|
8
8
|
ADDED_PROVIDER,
|
|
9
9
|
INTERNAL_NOTES,
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
kindsIn,
|
|
18
18
|
providerNamed,
|
|
19
19
|
providers
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-7IIQU5RA.js";
|
|
21
21
|
import {
|
|
22
22
|
refuseOwnerStoreInTests
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-LBTANUUH.js";
|
|
24
24
|
import {
|
|
25
25
|
array,
|
|
26
26
|
boolean,
|
|
@@ -40,22 +40,22 @@ import {
|
|
|
40
40
|
strictObject,
|
|
41
41
|
string,
|
|
42
42
|
unknown
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-PJMQE4PW.js";
|
|
44
44
|
import {
|
|
45
45
|
CliError
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-FNLXFQN6.js";
|
|
47
47
|
import {
|
|
48
48
|
__name
|
|
49
49
|
} from "./chunk-ZVVMGPBJ.js";
|
|
50
50
|
|
|
51
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
51
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/store/source-review.js
|
|
52
52
|
var SOURCE_REVIEW_KIND = "memory_source_review";
|
|
53
53
|
var SOURCE_REVIEW_CAUSES = ["changed", "outdated", "deleted", "contradicted"];
|
|
54
54
|
var ERASED_TEXT = "[source erased]";
|
|
55
55
|
var severity = /* @__PURE__ */ __name((cause) => SOURCE_REVIEW_CAUSES.indexOf(cause), "severity");
|
|
56
56
|
var graver = /* @__PURE__ */ __name((a, b) => severity(b) > severity(a) ? b : a, "graver");
|
|
57
57
|
|
|
58
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
58
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/tasks/model.js
|
|
59
59
|
var TASK_KINDS = ["question", "request", "mention", "promise"];
|
|
60
60
|
var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
|
|
61
61
|
var CLOSED_STATES = ["done", "dismissed"];
|
|
@@ -70,7 +70,7 @@ function closeTask(task, state, by, at, reason) {
|
|
|
70
70
|
}
|
|
71
71
|
__name(closeTask, "closeTask");
|
|
72
72
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
73
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/tasks/priority.js
|
|
74
74
|
var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
|
|
75
75
|
var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
|
|
76
76
|
var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
|
|
@@ -99,7 +99,7 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
|
|
|
99
99
|
}, "priorityOf");
|
|
100
100
|
var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
|
|
101
101
|
|
|
102
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
102
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/tasks/service.js
|
|
103
103
|
function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
|
|
104
104
|
async function find(id2) {
|
|
105
105
|
const task = await store.get(id2);
|
|
@@ -159,13 +159,13 @@ function median(values) {
|
|
|
159
159
|
}
|
|
160
160
|
__name(median, "median");
|
|
161
161
|
|
|
162
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
162
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/tasks/store.js
|
|
163
163
|
function matches(task, filter) {
|
|
164
164
|
return (filter.account === void 0 || task.account === filter.account) && (filter.state === void 0 || task.state === filter.state) && (filter.group === void 0 || task.group === filter.group) && (filter.kind === void 0 || task.kind === filter.kind) && (filter.createdBefore === void 0 || task.createdAt < filter.createdBefore);
|
|
165
165
|
}
|
|
166
166
|
__name(matches, "matches");
|
|
167
167
|
|
|
168
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
168
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
|
|
169
169
|
var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
|
|
170
170
|
var MEMORY_KINDS = ["summary", "digest", "preference"];
|
|
171
171
|
var MEMORY_STATUSES = ["proposed", "confirmed", "stale", "superseded"];
|
|
@@ -173,10 +173,10 @@ var MEMORY_SCOPES = ["personal", "work"];
|
|
|
173
173
|
var WORK_TASK_TYPES = ["bug", "feature", "chore"];
|
|
174
174
|
var TASK_TYPES = [...WORK_TASK_TYPES, ...TASK_KINDS];
|
|
175
175
|
|
|
176
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
176
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/domain/categories.js
|
|
177
177
|
var CATEGORIES = ["client", "supplier", "partner", "employer"];
|
|
178
178
|
|
|
179
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
179
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
180
180
|
var text = string();
|
|
181
181
|
var id = pipe(string(), minLength(1));
|
|
182
182
|
var time = isoTime;
|
|
@@ -201,7 +201,7 @@ var author = strictObject({
|
|
|
201
201
|
name: nullable(text)
|
|
202
202
|
});
|
|
203
203
|
|
|
204
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
204
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
205
205
|
var organization = strictObject({
|
|
206
206
|
id,
|
|
207
207
|
ref: reference,
|
|
@@ -231,7 +231,7 @@ var reminder = strictObject({
|
|
|
231
231
|
receipt: nullable(text)
|
|
232
232
|
});
|
|
233
233
|
|
|
234
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
234
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/store/marks.js
|
|
235
235
|
import { readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
236
236
|
var damageMarkPath = /* @__PURE__ */ __name((store) => `${store}.damaged.json`, "damageMarkPath");
|
|
237
237
|
var healthMarkPath = /* @__PURE__ */ __name((store) => `${store}.health.json`, "healthMarkPath");
|
|
@@ -352,7 +352,7 @@ var recordDeepCheck = /* @__PURE__ */ __name((store, health, { cli, version, sch
|
|
|
352
352
|
return { previous, cleared };
|
|
353
353
|
}, "recordDeepCheck");
|
|
354
354
|
|
|
355
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
355
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/search/query.js
|
|
356
356
|
var isBotProvider = /* @__PURE__ */ __name((provider) => provider.endsWith("-bot"), "isBotProvider");
|
|
357
357
|
var inSource = /* @__PURE__ */ __name((source, provider) => source === "all" || source === "bots" && isBotProvider(provider) || source === "personal" && !isBotProvider(provider) || source === provider || providerNamed(source)?.name === provider || isKind(source) && holdsKindOf(provider, source), "inSource");
|
|
358
358
|
var fail = /* @__PURE__ */ __name((message) => {
|
|
@@ -375,7 +375,7 @@ var sourceOf = /* @__PURE__ */ __name((name, value, providers2) => {
|
|
|
375
375
|
return fail(`${name} takes ${[...sources, "messages", "mail"].join(", ")} \u2014 not "${value}"`);
|
|
376
376
|
}, "sourceOf");
|
|
377
377
|
|
|
378
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
378
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/search/account-list.js
|
|
379
379
|
var ACCOUNT_GROUPS = "accountGroups";
|
|
380
380
|
var ACCOUNT_GROUPS_SETTING = "account_groups";
|
|
381
381
|
var GROUP_NAME = /^[a-z0-9][a-z0-9_-]*$/i;
|
|
@@ -585,7 +585,7 @@ var fitting = /* @__PURE__ */ __name((entries, kinds, what, reasonOf = (kind) =>
|
|
|
585
585
|
return { accounts: [...chosen.values()], skipped };
|
|
586
586
|
}, "fitting");
|
|
587
587
|
|
|
588
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
588
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/store/sqlite/link-source.js
|
|
589
589
|
var REPORTER_SQL = "(SELECT provider || ':' || external_id FROM accounts r WHERE r.id = links.account_id) AS reporter";
|
|
590
590
|
var sourceOf3 = /* @__PURE__ */ __name((database, row, metadata) => {
|
|
591
591
|
const reporter = row.account_id == null ? void 0 : "reporter" in row ? row.reporter : database.prepare("SELECT provider || ':' || external_id AS key FROM accounts WHERE id = ?").get(Number(row.account_id))?.key;
|
|
@@ -595,7 +595,7 @@ var sourceOf3 = /* @__PURE__ */ __name((database, row, metadata) => {
|
|
|
595
595
|
};
|
|
596
596
|
}, "sourceOf");
|
|
597
597
|
|
|
598
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
598
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
|
|
599
599
|
var LINK_KINDS = [
|
|
600
600
|
"links-to",
|
|
601
601
|
"blocked-by",
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
singleLine,
|
|
9
9
|
visibleControls
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WJTXO2EI.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/render/messages.js
|
|
16
16
|
import { styleText } from "node:util";
|
|
17
17
|
var TIME_WIDTH = 8;
|
|
18
18
|
var INDENT = " ".repeat(TIME_WIDTH + 2);
|
|
@@ -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-FNLXFQN6.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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
11
11
|
import { readFileSync } from "node:fs";
|
|
12
12
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
13
13
|
var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
|
|
@@ -2,20 +2,20 @@ 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-P5QO7Y3H.js";
|
|
6
6
|
import {
|
|
7
7
|
PLAIN_HTTP_REFUSED,
|
|
8
8
|
modelAddressAllowed,
|
|
9
9
|
onThisComputer
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FURKMNC2.js";
|
|
11
11
|
import {
|
|
12
12
|
readSharedSection,
|
|
13
13
|
sharedConfigPath,
|
|
14
14
|
writeSharedSection
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OOLNK3Y5.js";
|
|
16
16
|
import {
|
|
17
17
|
storePath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LBTANUUH.js";
|
|
19
19
|
import {
|
|
20
20
|
boolean,
|
|
21
21
|
isoTimestamp,
|
|
@@ -23,18 +23,18 @@ import {
|
|
|
23
23
|
safeParse,
|
|
24
24
|
strictObject,
|
|
25
25
|
string
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-PJMQE4PW.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-FNLXFQN6.js";
|
|
30
30
|
import {
|
|
31
31
|
__name
|
|
32
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
35
35
|
import { setTimeout } from "node:timers/promises";
|
|
36
36
|
|
|
37
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/models/local-only.js
|
|
38
38
|
var SECTION = "local_only";
|
|
39
39
|
var Setting = strictObject({
|
|
40
40
|
on: boolean(),
|
|
@@ -68,7 +68,7 @@ var refuseModelAddress = /* @__PURE__ */ __name((env, address, what) => {
|
|
|
68
68
|
refuseOffComputer(env, address, what);
|
|
69
69
|
}, "refuseModelAddress");
|
|
70
70
|
|
|
71
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
71
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
72
72
|
var OPENAI_URL = "https://api.openai.com/v1";
|
|
73
73
|
var OPENAI_MODELS = {
|
|
74
74
|
"text-embedding-3-small": { dims: 1536, perMillion: 0.02 },
|