@wirecat/zoom-cli 0.75.0 → 0.77.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 +12 -11
- package/contracts/wirecat.json +53 -105
- package/dist/answer-entities.d.ts +1 -141
- package/dist/answer-entities.d.ts.map +1 -1
- package/dist/answer-entities.js +0 -31
- package/dist/answer-entities.js.map +1 -1
- package/dist/api.d.ts +18 -1
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +179 -54
- package/dist/api.js.map +1 -1
- package/dist/archive-commands.d.ts +0 -3
- package/dist/archive-commands.d.ts.map +1 -1
- package/dist/archive-commands.js +1 -54
- package/dist/archive-commands.js.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-WFLKFKJC.js → all-profiles-PMCFNDMA.js} +11 -11
- package/dist/bundle/answer-policy-XU7KEW2V.js +121 -0
- package/dist/bundle/{anthropic-H45W4P22.js → anthropic-TGJOKLUS.js} +6 -6
- package/dist/bundle/{app-server-I4FPLBIX.js → app-server-OAODUFM3.js} +73 -63
- package/dist/bundle/{bun-V5QLYBZU.js → bun-HJHVHJJV.js} +2 -2
- package/dist/bundle/{bun-sqlite-X2YZPHDS.js → bun-sqlite-PLBOY6FP.js} +7 -7
- package/dist/bundle/{chunk-P6MQ6FS4.js → chunk-2QDD6S2R.js} +8 -8
- package/dist/bundle/{chunk-ZMHZ6CQS.js → chunk-2QRGJSKO.js} +2 -2
- package/dist/bundle/{chunk-DQBLDZ7M.js → chunk-36SI35XZ.js} +5 -5
- package/dist/bundle/{chunk-HKPNQL52.js → chunk-375BH5OD.js} +4 -4
- package/dist/bundle/{chunk-T4FMXDDV.js → chunk-3TLQF3DN.js} +3 -3
- package/dist/bundle/{chunk-EA2OB75T.js → chunk-4QNW4NK6.js} +1 -1
- package/dist/bundle/{chunk-4XDWV6VJ.js → chunk-4Z4VOQRR.js} +17 -17
- package/dist/bundle/{chunk-VLK3X53X.js → chunk-5A5W322G.js} +6 -2
- package/dist/bundle/chunk-5C5UEKUJ.js +170 -0
- package/dist/bundle/chunk-5C6CRSEM.js +389 -0
- package/dist/bundle/{chunk-3YKAFLXY.js → chunk-5KHCFIWI.js} +2 -2
- package/dist/bundle/{chunk-NQQVNLO6.js → chunk-635GRAO5.js} +12 -12
- package/dist/bundle/{chunk-RKI4BGWG.js → chunk-6JRBMNRN.js} +3 -3
- package/dist/bundle/{chunk-Y5J5CAG2.js → chunk-6YCFDDRO.js} +1 -1
- package/dist/bundle/{chunk-ZVVRRMLW.js → chunk-77JQIY2V.js} +3 -3
- package/dist/bundle/{chunk-IW245Q5B.js → chunk-7AFYZOHU.js} +36 -32
- package/dist/bundle/{chunk-V3UK6E5B.js → chunk-7CMYNW3W.js} +4 -4
- package/dist/bundle/chunk-7DTU7QZP.js +72 -0
- package/dist/bundle/chunk-7ILGYNWX.js +773 -0
- package/dist/bundle/{chunk-XUHQ7DVT.js → chunk-7S3N5CTA.js} +1 -1
- package/dist/bundle/chunk-7SNU7RFU.js +229 -0
- package/dist/bundle/{chunk-4YNUQGDP.js → chunk-A6LK2W5J.js} +1 -1
- package/dist/bundle/{chunk-MHXZ62CU.js → chunk-ADJIYY33.js} +1 -1
- package/dist/bundle/{chunk-WUWF4EXZ.js → chunk-B7XFDMFV.js} +22 -12
- package/dist/bundle/{chunk-2Q4CB4EI.js → chunk-BOJCRTQW.js} +2 -2
- package/dist/bundle/{chunk-GPVSGZ4R.js → chunk-CJL5GHTQ.js} +1010 -617
- package/dist/bundle/{chunk-BY2YPKZZ.js → chunk-CL6QAZGT.js} +39 -67
- package/dist/bundle/{chunk-GU4FVTJV.js → chunk-CUJJZJ4R.js} +44 -9
- package/dist/bundle/{chunk-FBYGBR4Q.js → chunk-CZ6OO66B.js} +4 -4
- package/dist/bundle/chunk-DCEQIKFD.js +259 -0
- package/dist/bundle/{chunk-QBKKTTA3.js → chunk-DDUNPLET.js} +279 -588
- package/dist/bundle/{chunk-CAQ5GW3A.js → chunk-DYIRJINE.js} +1 -1
- package/dist/bundle/{chunk-L5UILROP.js → chunk-E3UPMPUV.js} +8 -8
- package/dist/bundle/{chunk-F6RB5FHZ.js → chunk-ECRFXQHA.js} +1 -1
- package/dist/bundle/{chunk-AVCYD4WQ.js → chunk-F4ROWGLU.js} +68 -38
- package/dist/bundle/{chunk-6XNTELM5.js → chunk-FDQE2CLT.js} +1 -1
- package/dist/bundle/{chunk-PCJRHC5Y.js → chunk-FRC5QIPQ.js} +8 -8
- package/dist/bundle/{chunk-4RJL32PF.js → chunk-FS5HPXQN.js} +26 -9
- package/dist/bundle/{chunk-ZBYKCVSV.js → chunk-GHBDYYPO.js} +2 -2
- package/dist/bundle/{chunk-OUM4ZO53.js → chunk-H2EVYY5Z.js} +1 -1
- package/dist/bundle/{chunk-VPSQZ2YR.js → chunk-I3QMPQYD.js} +49 -49
- package/dist/bundle/{chunk-3U3W6YY5.js → chunk-ICZVSVTW.js} +71 -252
- package/dist/bundle/{chunk-QEO3XTIE.js → chunk-IJTBB23F.js} +32 -33
- package/dist/bundle/{chunk-FT7X74RT.js → chunk-IS6MUPN2.js} +4 -4
- package/dist/bundle/{chunk-NL6AZ6S2.js → chunk-IUOKIZZN.js} +2 -2
- package/dist/bundle/{chunk-3HTJBGNP.js → chunk-IZMRQ3MV.js} +21 -16
- package/dist/bundle/{chunk-X2FILY5F.js → chunk-JFVZVPRW.js} +3 -3
- package/dist/bundle/{chunk-MNVT7EJS.js → chunk-JMU3E2WA.js} +2 -2
- package/dist/bundle/{chunk-T25PR26L.js → chunk-JQUYHPQD.js} +7 -7
- package/dist/bundle/{chunk-JDTZCZ5K.js → chunk-KHBSQROH.js} +5 -5
- package/dist/bundle/{chunk-HCZYJMBP.js → chunk-KYKW2W6X.js} +1 -1
- package/dist/bundle/chunk-LMZUC4CS.js +101 -0
- package/dist/bundle/{chunk-PPM7UTCT.js → chunk-LUAS73NT.js} +18 -18
- package/dist/bundle/{chunk-P4ZQQLZF.js → chunk-LWMDLXEO.js} +2384 -3000
- package/dist/bundle/{chunk-W2AC2RAG.js → chunk-LYVHQ6DJ.js} +14 -14
- package/dist/bundle/{chunk-DUPFAY35.js → chunk-MCLZ74II.js} +7 -7
- package/dist/bundle/chunk-MIG4RLDB.js +555 -0
- package/dist/bundle/{chunk-3URYKAJP.js → chunk-MMAZUJBO.js} +1 -1
- package/dist/bundle/{chunk-B6Q53CVA.js → chunk-MTH3JJHF.js} +24 -22
- package/dist/bundle/{chunk-7ZVWV33Z.js → chunk-NJJEUG4C.js} +35 -13
- package/dist/bundle/{chunk-SEJBS7SI.js → chunk-NKKVVPL5.js} +1 -1
- package/dist/bundle/{chunk-TSHUBGN4.js → chunk-NOF6LABG.js} +6 -6
- package/dist/bundle/{chunk-F7K2V6OA.js → chunk-NPDPD2H3.js} +12 -12
- package/dist/bundle/{chunk-2PYZTRRC.js → chunk-NPIVV52M.js} +1 -1
- package/dist/bundle/{chunk-WQOGHND4.js → chunk-OOIU36FA.js} +1 -1
- package/dist/bundle/{chunk-XCJGDPMN.js → chunk-OXXJW3A5.js} +22320 -22886
- package/dist/bundle/chunk-PM3MB3E7.js +295 -0
- package/dist/bundle/{chunk-VUPWDCYV.js → chunk-PO4RZ4XZ.js} +1 -1
- package/dist/bundle/{chunk-K5E5MB4C.js → chunk-Q7ZW7XAX.js} +31 -87
- package/dist/bundle/{chunk-HNWDEDMU.js → chunk-QAGECFHL.js} +22 -22
- package/dist/bundle/{chunk-JTYWSXJG.js → chunk-QE4L2QQZ.js} +9 -9
- package/dist/bundle/{chunk-4J5GJJ2I.js → chunk-QKNO3JTG.js} +2 -2
- package/dist/bundle/{chunk-IMDTC4MD.js → chunk-QUGESVOE.js} +22 -35
- package/dist/bundle/{chunk-ELD5AC7Q.js → chunk-RQS3W4P6.js} +7 -6
- package/dist/bundle/{chunk-A3Q3PG54.js → chunk-SFPUSEOT.js} +2 -2
- package/dist/bundle/{chunk-SR5X7YKB.js → chunk-SP5OMHOO.js} +3 -3
- package/dist/bundle/chunk-STNZQBY4.js +335 -0
- package/dist/bundle/{chunk-EOZAJGB4.js → chunk-SVJQRG5N.js} +16 -16
- package/dist/bundle/{chunk-IDGWBKMH.js → chunk-SY5NGYKA.js} +12 -12
- package/dist/bundle/{chunk-NE4GYKQA.js → chunk-T4CI3YXW.js} +6 -6
- package/dist/bundle/{chunk-3YRPDNWK.js → chunk-T6RSYDFA.js} +1075 -443
- package/dist/bundle/{chunk-QXQUANWE.js → chunk-TY4FFK2P.js} +6 -6
- package/dist/bundle/chunk-UGRGYLEI.js +224 -0
- package/dist/bundle/{chunk-C5WQ57AB.js → chunk-VGERRRDC.js} +1 -1
- package/dist/bundle/{chunk-NQLL4KRN.js → chunk-VJ2TLU7R.js} +6 -6
- package/dist/bundle/{chunk-PX4IMYVB.js → chunk-W7UCN7MF.js} +3 -3
- package/dist/bundle/{chunk-RBYVQE3S.js → chunk-WD5OL5JB.js} +81 -5
- package/dist/bundle/{chunk-LRCSDAYK.js → chunk-XC3MWABM.js} +4 -4
- package/dist/bundle/{chunk-MAE5UGRQ.js → chunk-XCA5N63N.js} +6 -6
- package/dist/bundle/chunk-XVHDT4CO.js +31 -0
- package/dist/bundle/{chunk-532H3KT3.js → chunk-YFN5A7OP.js} +4 -4
- package/dist/bundle/{chunk-IJCUAKR5.js → chunk-YJIGGUPI.js} +4 -4
- package/dist/bundle/{chunk-FIVFP53N.js → chunk-YVI5SQPY.js} +1 -1
- package/dist/bundle/{chunk-IO3BQ6JU.js → chunk-ZRNNMBPC.js} +31 -577
- package/dist/bundle/{chunk-RABCFGT3.js → chunk-ZUMKZOHR.js} +3 -3
- package/dist/bundle/{chunk-M4OP5ASJ.js → chunk-ZZ32DXTH.js} +1 -1
- package/dist/bundle/{cli-NPRYCWFH.js → cli-Y27PHKBV.js} +105 -84
- package/dist/bundle/command-contract-GB7YA3KW.js +45 -0
- package/dist/bundle/{command-server-entry-BV4SUPUI.js → command-server-entry-AXQSW2X6.js} +35 -31
- package/dist/bundle/config-2OOABHR7.js +108 -0
- package/dist/bundle/{decode-PRMKCHHC.js → decode-ZRNOOTUZ.js} +16 -8
- package/dist/bundle/{dispatch-EU67WGME.js → dispatch-2GHGPAYH.js} +9 -9
- package/dist/bundle/{dist-HGLDGKUW.js → dist-MUFVAMKB.js} +25 -22
- package/dist/bundle/{echarts-QIXLXS3G.js → echarts-F4PHDYET.js} +2 -2
- package/dist/bundle/{embed-OZN2BIJY.js → embed-KWHCKPCV.js} +7 -7
- package/dist/bundle/{embedder-RBDHO6Z6.js → embedder-U3R3RY54.js} +10 -10
- package/dist/bundle/{failure-CTJLEB2R.js → failure-S2YXEN4A.js} +3 -3
- package/dist/bundle/first-run-F4YR2E2C.js +29 -0
- package/dist/bundle/first-screen-HPRHD3VK.js +43 -0
- package/dist/bundle/{folders-MSBTAPAG.js → folders-DVTRFQKW.js} +5 -5
- package/dist/bundle/{instructions-MD2RZT5Z.js → instructions-JU4YW6QY.js} +1 -1
- package/dist/bundle/{main-FPMCCRIQ.js → main-5UCRPACH.js} +24 -24
- package/dist/bundle/{mcp-TDKGDB4V.js → mcp-O6ACR2DX.js} +2 -2
- package/dist/bundle/meeting-combined-IWU5SPAH.js +26 -0
- package/dist/bundle/meeting-model-ILIUJECZ.js +26 -0
- package/dist/bundle/meeting-semantic-5DKRGZFS.js +23 -0
- package/dist/bundle/{meetings-WYCVHAIP.js → meetings-T2UY35DV.js} +43 -7
- package/dist/bundle/{node-IEVT2FSJ.js → node-MAVRAF4M.js} +2 -2
- package/dist/bundle/{node-sqlite-O4C6IWSM.js → node-sqlite-TFBQ5NDI.js} +8 -8
- package/dist/bundle/{oauth-6VXOUXSE.js → oauth-7IG5HWSY.js} +8 -8
- package/dist/bundle/{open-AMUIWV3Y.js → open-3R3N7L3X.js} +6 -6
- package/dist/bundle/openai-DD5I3DWC.js +28 -0
- package/dist/bundle/{output-file-VDOCYH2G.js → output-file-KKHHAYWF.js} +6 -6
- package/dist/bundle/{process-6Q23D3TO.js → process-OIO254NR.js} +1 -1
- package/dist/bundle/{program-CF2NKA2A.js → program-IBYRU76H.js} +428 -250
- package/dist/bundle/{prompt-N3UZE4ZR.js → prompt-LNEOO7PN.js} +6 -6
- package/dist/bundle/{recognize-I5F3K3CZ.js → recognize-2WYLT3PC.js} +5 -5
- package/dist/bundle/{remote-CJF5KMMY.js → remote-7EAJEIV7.js} +11 -11
- package/dist/bundle/{rerank-6WLY6MKY.js → rerank-DZBZ744F.js} +8 -8
- package/dist/bundle/run-log-CCIVRSHP.js +135 -0
- package/dist/bundle/{serve-FOQJ3WMX.js → serve-T3KQV5SS.js} +15 -15
- package/dist/bundle/{server-OEEGRSQD.js → server-2QQAQZ2J.js} +59 -49
- package/dist/bundle/server-OJQMPF2R.js +84 -0
- package/dist/bundle/{services-Q6SFESMS.js → services-DETAKMC3.js} +80 -54
- package/dist/bundle/{speech-PBVEIG4N.js → speech-HD57JNTK.js} +34 -18
- package/dist/bundle/{sqlite-runtime-IWR65V6I.js → sqlite-runtime-OCETZSEZ.js} +7 -7
- package/dist/bundle/{state-G54C2N6U.js → state-ZKVQ4DBI.js} +7 -7
- package/dist/bundle/{store-D5OLXIFW.js → store-7IZ2WMHF.js} +24 -20
- package/dist/bundle/{store-7EWMPTTW.js → store-GEAQ7V5R.js} +26 -22
- package/dist/bundle/store-connection-BALCZW7P.js +101 -0
- package/dist/bundle/store-maintenance-command-SBT4LDSI.js +76 -0
- package/dist/bundle/{streaming-PQEXKTE5.js → streaming-CLBAO3MG.js} +7 -7
- package/dist/bundle/{tokens-J7TFHLEG.js → tokens-WH73ZWFI.js} +10 -10
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-SULPMVN4.js → zoom-app-ZDTYMJET.js} +8 -8
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +3 -0
- package/dist/commands.js.map +1 -1
- package/dist/first-screen.d.ts.map +1 -1
- package/dist/first-screen.js +3 -5
- package/dist/first-screen.js.map +1 -1
- package/dist/meeting-integration-commands.d.ts.map +1 -1
- package/dist/meeting-integration-commands.js +46 -28
- package/dist/meeting-integration-commands.js.map +1 -1
- package/dist/meeting-search-commands.d.ts.map +1 -1
- package/dist/meeting-search-commands.js +6 -5
- package/dist/meeting-search-commands.js.map +1 -1
- package/dist/meeting-source.d.ts.map +1 -1
- package/dist/meeting-source.js +15 -1
- package/dist/meeting-source.js.map +1 -1
- package/dist/permissions.d.ts +8 -4
- package/dist/permissions.d.ts.map +1 -1
- package/dist/permissions.js +25 -24
- package/dist/permissions.js.map +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +10 -6
- package/dist/program-bindings.js.map +1 -1
- package/dist/program.d.ts +2 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js.map +1 -1
- package/dist/remote-meetings.d.ts +38 -8
- package/dist/remote-meetings.d.ts.map +1 -1
- package/dist/remote-meetings.js +52 -29
- package/dist/remote-meetings.js.map +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +4 -2
- package/dist/run.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/zoom-app.d.ts.map +1 -1
- package/dist/zoom-app.js +1 -0
- package/dist/zoom-app.js.map +1 -1
- package/package.json +3 -3
- package/skills/zoom-cli/SKILL.md +2 -2
- package/dist/bundle/answer-policy-XCKC2LLN.js +0 -110
- package/dist/bundle/chunk-NU4FSSMN.js +0 -161
- package/dist/bundle/command-contract-OJYRKQHR.js +0 -41
- package/dist/bundle/config-UMEV24OE.js +0 -97
- package/dist/bundle/first-run-HNCD7U3B.js +0 -29
- package/dist/bundle/first-screen-374BBMO6.js +0 -39
- package/dist/bundle/openai-MEDN6FSK.js +0 -28
- package/dist/bundle/run-log-FKF4ZX4M.js +0 -124
- package/dist/bundle/server-BAGY5HEZ.js +0 -74
- package/dist/bundle/store-connection-34747SCC.js +0 -90
- package/dist/bundle/store-maintenance-command-QBO67F7Z.js +0 -65
- /package/dist/bundle/{chunk-XWBPP2HX.js → chunk-VKE77B3F.js} +0 -0
|
@@ -1,22 +1,25 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
openWavAudio,
|
|
5
|
-
preflightWavAudio
|
|
6
|
-
} from "./chunk-RABCFGT3.js";
|
|
7
3
|
import {
|
|
8
4
|
profileAccountKey,
|
|
9
5
|
profilePattern
|
|
10
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CL6QAZGT.js";
|
|
11
7
|
import {
|
|
12
8
|
checkCancelled
|
|
13
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2QRGJSKO.js";
|
|
10
|
+
import {
|
|
11
|
+
openWavAudio,
|
|
12
|
+
preflightWavAudio
|
|
13
|
+
} from "./chunk-ZUMKZOHR.js";
|
|
14
|
+
import {
|
|
15
|
+
pagingOf
|
|
16
|
+
} from "./chunk-NJJEUG4C.js";
|
|
14
17
|
import {
|
|
15
18
|
createMeetingSearchCommand,
|
|
16
19
|
meetingHitSearchRequest,
|
|
17
20
|
meetingSearchArguments,
|
|
18
21
|
meetingSearchMeta
|
|
19
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LWMDLXEO.js";
|
|
20
23
|
import {
|
|
21
24
|
Command,
|
|
22
25
|
FETCH,
|
|
@@ -30,21 +33,21 @@ import {
|
|
|
30
33
|
metaOf,
|
|
31
34
|
overrideSharedContract,
|
|
32
35
|
parseDuration
|
|
33
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-DDUNPLET.js";
|
|
34
37
|
import {
|
|
35
38
|
canonicalMeetingReference,
|
|
36
39
|
meetingHitsList,
|
|
37
40
|
parseMeetingReference,
|
|
38
41
|
validateMeetingContextChange,
|
|
39
42
|
validateMeetingHitSearch
|
|
40
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-T6RSYDFA.js";
|
|
41
44
|
import {
|
|
42
45
|
createOutputBuffer
|
|
43
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-QAGECFHL.js";
|
|
44
47
|
import {
|
|
45
48
|
CliError,
|
|
46
49
|
isCliError
|
|
47
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-4QNW4NK6.js";
|
|
48
51
|
import {
|
|
49
52
|
__name
|
|
50
53
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -157,7 +160,7 @@ var engineFailure = /* @__PURE__ */ __name(async (model, work) => {
|
|
|
157
160
|
}
|
|
158
161
|
}, "engineFailure");
|
|
159
162
|
var loadSpeech = /* @__PURE__ */ __name(async () => {
|
|
160
|
-
const speech = await import("./speech-
|
|
163
|
+
const speech = await import("./speech-HD57JNTK.js");
|
|
161
164
|
return { describe: speech.localSpeechRecognitionModel, open: speech.openLocalSpeechRecognizer };
|
|
162
165
|
}, "loadSpeech");
|
|
163
166
|
var createWavTranscriptionSource = /* @__PURE__ */ __name((file, options) => {
|
|
@@ -243,7 +246,7 @@ var createLocalTranscriptionCapabilities = /* @__PURE__ */ __name((store, input
|
|
|
243
246
|
env: options.env,
|
|
244
247
|
speech: options.speech
|
|
245
248
|
});
|
|
246
|
-
const { transcribeMeeting } = await import("./meetings-
|
|
249
|
+
const { transcribeMeeting } = await import("./meetings-T2UY35DV.js");
|
|
247
250
|
return await transcribeMeeting(source, {
|
|
248
251
|
appendTranscriptsWithReceipt(value) {
|
|
249
252
|
if (value.accountId !== accountId || value.externalId !== target.externalId)
|
|
@@ -279,7 +282,7 @@ var validateTaskProposal = /* @__PURE__ */ __name((value) => {
|
|
|
279
282
|
throw new CliError("invalid_response", "task proposal must be unapplied and proposal-only");
|
|
280
283
|
}, "validateTaskProposal");
|
|
281
284
|
var loadProducer = /* @__PURE__ */ __name(async () => {
|
|
282
|
-
const [domain, services] = await Promise.all([import("./dist-
|
|
285
|
+
const [domain, services] = await Promise.all([import("./dist-MUFVAMKB.js"), import("./services-DETAKMC3.js")]);
|
|
283
286
|
return { ...services, ...domain };
|
|
284
287
|
}, "loadProducer");
|
|
285
288
|
var createMeetingContextCapabilities = /* @__PURE__ */ __name((store, meetings, accountId, load = loadProducer) => {
|
|
@@ -533,15 +536,16 @@ var meetingSearchDefinition = /* @__PURE__ */ __name(() => {
|
|
|
533
536
|
}, "meetingSearchDefinition");
|
|
534
537
|
var addMeetingSearchCommands = /* @__PURE__ */ __name((program, deps) => {
|
|
535
538
|
const execute = /* @__PURE__ */ __name(async (query, options) => {
|
|
536
|
-
const
|
|
539
|
+
const limit = options.limit ?? pagingOf(command).limit;
|
|
540
|
+
const request = meetingHitSearchRequest(query, options, limit, deps.signal());
|
|
537
541
|
if (options.model !== void 0) {
|
|
538
542
|
refuse(options, ["maxReadBytes"], "to a search by meaning");
|
|
539
|
-
const { limit, after, maxReadBytes: _bytes, signal, ...selection } = request;
|
|
543
|
+
const { limit: _limit, after, maxReadBytes: _bytes, signal, ...selection } = request;
|
|
540
544
|
const meaning = {
|
|
541
545
|
model: options.model,
|
|
542
546
|
baseUrl: options.baseUrl,
|
|
543
547
|
dims: options.dims,
|
|
544
|
-
limit
|
|
548
|
+
limit,
|
|
545
549
|
maxChunks: options.maxChunks,
|
|
546
550
|
after,
|
|
547
551
|
selection,
|
|
@@ -556,7 +560,7 @@ var addMeetingSearchCommands = /* @__PURE__ */ __name((program, deps) => {
|
|
|
556
560
|
return combinedList(await (await deps.meaning()).search(query, meaning), meaning.limit, meetingSearchArguments(query, options));
|
|
557
561
|
}
|
|
558
562
|
refuse(options, ["baseUrl", "dims", "maxChunks", "maxRows", "maxTextBytes"], "without --model");
|
|
559
|
-
return meetingHitsList(await (await deps.words())(query, request),
|
|
563
|
+
return meetingHitsList(await (await deps.words())(query, request), limit, "search meetings", meetingSearchArguments(query, options), meetingSearchMeta(options));
|
|
560
564
|
}, "execute");
|
|
561
565
|
const command = withMeaningOptions(createMeetingSearchCommand(program)).action(async (query, options) => {
|
|
562
566
|
deps.output(await execute(query, options));
|
|
@@ -589,7 +593,7 @@ var addMeetingSearchCommands = /* @__PURE__ */ __name((program, deps) => {
|
|
|
589
593
|
}, "addMeetingSearchCommands");
|
|
590
594
|
|
|
591
595
|
// dist/meeting-semantic.js
|
|
592
|
-
var loadProducer2 = /* @__PURE__ */ __name(async () => import("./services-
|
|
596
|
+
var loadProducer2 = /* @__PURE__ */ __name(async () => import("./services-DETAKMC3.js"), "loadProducer");
|
|
593
597
|
var createMeetingSemanticCapabilities = /* @__PURE__ */ __name((store, accountId, options = {}) => {
|
|
594
598
|
if (!Number.isSafeInteger(accountId) || accountId < 1)
|
|
595
599
|
throw new CliError("validation_error", "meeting vectors require a selected positive account ID");
|
|
@@ -738,7 +742,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
738
742
|
throw new CliError("validation_error", "expected a selected Zoom profile and read or ingestion intent");
|
|
739
743
|
let store;
|
|
740
744
|
try {
|
|
741
|
-
const open2 = options.openStore ?? (await import("./store-
|
|
745
|
+
const open2 = options.openStore ?? (await import("./store-GEAQ7V5R.js")).openStore;
|
|
742
746
|
store = await open2({
|
|
743
747
|
path: options.path,
|
|
744
748
|
env: options.env,
|
|
@@ -759,7 +763,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
759
763
|
let cachedBatchReader;
|
|
760
764
|
const batchReader = /* @__PURE__ */ __name(async () => {
|
|
761
765
|
if (!cachedBatchReader) {
|
|
762
|
-
const { createMeetingBatchReader } = await import("./services-
|
|
766
|
+
const { createMeetingBatchReader } = await import("./services-DETAKMC3.js");
|
|
763
767
|
cachedBatchReader = createMeetingBatchReader(connected, accountId);
|
|
764
768
|
}
|
|
765
769
|
return cachedBatchReader;
|
|
@@ -768,7 +772,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
768
772
|
meetingPreparation: {
|
|
769
773
|
scope: key,
|
|
770
774
|
create: /* @__PURE__ */ __name(async (upcoming) => {
|
|
771
|
-
const { createMeetingPreparationService } = await import("./services-
|
|
775
|
+
const { createMeetingPreparationService } = await import("./services-DETAKMC3.js");
|
|
772
776
|
const reader = connected.contextEvidence;
|
|
773
777
|
if (context && !reader)
|
|
774
778
|
throw new CliError("configuration_error", "the installed store does not support bounded communications");
|
|
@@ -793,7 +797,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
793
797
|
close: /* @__PURE__ */ __name(() => connected.close(), "close"),
|
|
794
798
|
appendTranscriptsWithReceipt: /* @__PURE__ */ __name((input) => meetings.appendTranscriptsWithReceipt(ownAccount(input, "append")), "appendTranscriptsWithReceipt"),
|
|
795
799
|
meetingProjectCandidates: /* @__PURE__ */ __name(async (reference, request2) => {
|
|
796
|
-
const { createStoredMeetingProjectCandidateReader } = await import("./services-
|
|
800
|
+
const { createStoredMeetingProjectCandidateReader } = await import("./services-DETAKMC3.js");
|
|
797
801
|
const read = createStoredMeetingProjectCandidateReader(key, accountId, {
|
|
798
802
|
meetings,
|
|
799
803
|
vocabulary: connected.knowledge
|
|
@@ -801,7 +805,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
801
805
|
return read(reference, request2);
|
|
802
806
|
}, "meetingProjectCandidates"),
|
|
803
807
|
meetingProjectEvidence: /* @__PURE__ */ __name(async (project, request2) => {
|
|
804
|
-
const { readMeetingProjectDiscovery } = await import("./services-
|
|
808
|
+
const { readMeetingProjectDiscovery } = await import("./services-DETAKMC3.js");
|
|
805
809
|
return readMeetingProjectDiscovery({
|
|
806
810
|
vocabulary: connected.knowledge,
|
|
807
811
|
search: { searchHits: /* @__PURE__ */ __name((query, hits) => meetings.searchHits(query, hits), "searchHits") }
|
|
@@ -828,7 +832,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
828
832
|
},
|
|
829
833
|
meetingSearch: /* @__PURE__ */ __name(async (query, request2) => {
|
|
830
834
|
validateMeetingHitSearch(query, request2);
|
|
831
|
-
const { searchMeetingHits } = await import("./services-
|
|
835
|
+
const { searchMeetingHits } = await import("./services-DETAKMC3.js");
|
|
832
836
|
return searchMeetingHits({ meetings, knowledge: connected.knowledge }, query, { ...request2, accountId });
|
|
833
837
|
}, "meetingSearch"),
|
|
834
838
|
meetingIntegration: {
|
|
@@ -839,7 +843,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
839
843
|
const change = validateMeetingContextChange(input);
|
|
840
844
|
if (change.action !== "event.link" && change.action !== "person.link")
|
|
841
845
|
throw new CliError("validation_error", "meeting linking supports only explicit event or person changes");
|
|
842
|
-
const api = await import("./services-
|
|
846
|
+
const api = await import("./services-DETAKMC3.js");
|
|
843
847
|
await api.resolveMeetingReference(meetings, accountId, source.reference, { signal: mutation.signal });
|
|
844
848
|
const service = await api.createMeetingContextService({
|
|
845
849
|
accounts: connected.accounts,
|
|
@@ -860,29 +864,29 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
860
864
|
},
|
|
861
865
|
unifiedSearch: /* @__PURE__ */ __name(async (input) => {
|
|
862
866
|
const request2 = validateUnifiedSearch(input);
|
|
863
|
-
const { searchAll } = await import("./services-
|
|
867
|
+
const { searchAll } = await import("./services-DETAKMC3.js");
|
|
864
868
|
return searchAll(connected, key, { ...request2, scope: { meetings: [key] }, env: options.env });
|
|
865
869
|
}, "unifiedSearch"),
|
|
866
870
|
meetingContext: createMeetingContextCapabilities(connected, meetings, accountId),
|
|
867
871
|
meetingSemantic: createMeetingSemanticCapabilities(connected, accountId, { env: options.env }),
|
|
868
872
|
meetingSearches: await (async () => {
|
|
869
|
-
const { meetingSearchesService } = await import("./services-
|
|
873
|
+
const { meetingSearchesService } = await import("./services-DETAKMC3.js");
|
|
870
874
|
return meetingSearchesService(async () => connected.searches);
|
|
871
875
|
})(),
|
|
872
876
|
meetingStats: /* @__PURE__ */ __name(async (request2) => {
|
|
873
|
-
const { readMeetingStats } = await import("./services-
|
|
877
|
+
const { readMeetingStats } = await import("./services-DETAKMC3.js");
|
|
874
878
|
return readMeetingStats(connected, { ...request2, accountId });
|
|
875
879
|
}, "meetingStats"),
|
|
876
880
|
meetingCounts: /* @__PURE__ */ __name(async (request2) => {
|
|
877
|
-
const { readMeetingCounts } = await import("./services-
|
|
881
|
+
const { readMeetingCounts } = await import("./services-DETAKMC3.js");
|
|
878
882
|
return readMeetingCounts(connected, { ...request2, accountId });
|
|
879
883
|
}, "meetingCounts"),
|
|
880
884
|
meetingReview: /* @__PURE__ */ __name(async (request2) => {
|
|
881
|
-
const { readMeetingReview } = await import("./services-
|
|
885
|
+
const { readMeetingReview } = await import("./services-DETAKMC3.js");
|
|
882
886
|
return readMeetingReview(connected, { ...request2, accountId });
|
|
883
887
|
}, "meetingReview"),
|
|
884
888
|
meetingLinks: /* @__PURE__ */ __name(async (request2) => {
|
|
885
|
-
const { readMeetingLinks } = await import("./services-
|
|
889
|
+
const { readMeetingLinks } = await import("./services-DETAKMC3.js");
|
|
886
890
|
return readMeetingLinks(connected, { ...request2, accountId });
|
|
887
891
|
}, "meetingLinks")
|
|
888
892
|
};
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
readLock,
|
|
6
6
|
releaseLock,
|
|
7
7
|
takeLock
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-W7UCN7MF.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.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
14
14
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
|
|
17
17
|
import { randomBytes } from "node:crypto";
|
|
18
18
|
import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
|
|
|
86
86
|
};
|
|
87
87
|
}, "activityRecorder");
|
|
88
88
|
|
|
89
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
89
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
90
90
|
var ACCESS_SECONDS = 60 * 60;
|
|
91
91
|
var REFRESH_SECONDS = 30 * 24 * 60 * 60;
|
|
92
92
|
var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
QUERY_LIMITS,
|
|
5
|
+
queryError
|
|
6
|
+
} from "./chunk-IZMRQ3MV.js";
|
|
7
|
+
import {
|
|
8
|
+
CliError,
|
|
9
|
+
isCliError
|
|
10
|
+
} from "./chunk-4QNW4NK6.js";
|
|
11
|
+
import {
|
|
12
|
+
__name
|
|
13
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
14
|
+
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.667.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_0b2555be96e01c2163d7c05aae2e84c1/node_modules/@wirecat/cli-core/dist/search/lucene/types.js
|
|
16
|
+
var QUERY_VERSION = 1;
|
|
17
|
+
var QUERY_LIMITS2 = {
|
|
18
|
+
...QUERY_LIMITS,
|
|
19
|
+
pattern: 1024,
|
|
20
|
+
states: 1e4,
|
|
21
|
+
expansions: 1e4,
|
|
22
|
+
candidates: 5e4,
|
|
23
|
+
bodyBytes: 8388608,
|
|
24
|
+
milliseconds: 2e3,
|
|
25
|
+
work: 1e7
|
|
26
|
+
};
|
|
27
|
+
var SEARCH_QUERY = {
|
|
28
|
+
command: "search",
|
|
29
|
+
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md"
|
|
30
|
+
};
|
|
31
|
+
var MESSAGE_PARSING = { ...SEARCH_QUERY, proximity: true };
|
|
32
|
+
var MOST_WORDS_APART = 50;
|
|
33
|
+
function searchError(reason, span, alternative) {
|
|
34
|
+
queryError(reason, span, alternative, SEARCH_QUERY);
|
|
35
|
+
}
|
|
36
|
+
__name(searchError, "searchError");
|
|
37
|
+
var ANSWER_MS = 1e3;
|
|
38
|
+
var searchTimeLimit = /* @__PURE__ */ __name((deadline, now = Date.now()) => deadline?.explicit ? Math.max(QUERY_LIMITS2.milliseconds, deadline.endsAt - now - ANSWER_MS) : void 0, "searchTimeLimit");
|
|
39
|
+
function outOfTime(limitMs = QUERY_LIMITS2.milliseconds) {
|
|
40
|
+
throw new CliError("timeout", `search stopped at its time limit of ${limitMs / 1e3}s \u2014 the query is valid; add chat: or date: to search less of the store`, { reason: "query.time-limit", budget: "time", limit_ms: limitMs, complete: false });
|
|
41
|
+
}
|
|
42
|
+
__name(outOfTime, "outOfTime");
|
|
43
|
+
var isQueryLimit = /* @__PURE__ */ __name((error) => isCliError(error) && (error.details.reason === "query.too-large" || error.details.reason === "query.time-limit"), "isQueryLimit");
|
|
44
|
+
function exhausted(budget) {
|
|
45
|
+
throw new CliError("validation_error", `search exceeded its ${budget} budget \u2014 narrow the chat or date range`, {
|
|
46
|
+
reason: "query.too-large",
|
|
47
|
+
budget,
|
|
48
|
+
complete: false
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
__name(exhausted, "exhausted");
|
|
52
|
+
function tooWideTerm([term], budget) {
|
|
53
|
+
if (term === void 0)
|
|
54
|
+
exhausted(budget);
|
|
55
|
+
const part = term.replace(/[*?]+/gu, " ").trim().split(/\s+/u).sort((a, b) => b.length - a.length)[0] ?? term;
|
|
56
|
+
throw new CliError("validation_error", `search exceeded its ${budget} budget: ${term} is checked word by word, and too many messages hold it \u2014 write *${part}* (any word holding it, read from the index), more of the word, or add chat: or date:`, { reason: "query.too-large", budget, term, complete: false });
|
|
57
|
+
}
|
|
58
|
+
__name(tooWideTerm, "tooWideTerm");
|
|
59
|
+
|
|
60
|
+
export {
|
|
61
|
+
QUERY_VERSION,
|
|
62
|
+
QUERY_LIMITS2 as QUERY_LIMITS,
|
|
63
|
+
SEARCH_QUERY,
|
|
64
|
+
MESSAGE_PARSING,
|
|
65
|
+
MOST_WORDS_APART,
|
|
66
|
+
searchError,
|
|
67
|
+
searchTimeLimit,
|
|
68
|
+
outOfTime,
|
|
69
|
+
isQueryLimit,
|
|
70
|
+
exhausted,
|
|
71
|
+
tooWideTerm
|
|
72
|
+
};
|