@wirecat/zoom-cli 0.71.0 → 0.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/contracts/wirecat.json +1478 -0
- package/dist/account-removal.d.ts.map +1 -1
- package/dist/account-removal.js +0 -2
- package/dist/account-removal.js.map +1 -1
- package/dist/answers.d.ts +57 -3
- package/dist/answers.d.ts.map +1 -1
- package/dist/answers.js +0 -3
- package/dist/answers.js.map +1 -1
- package/dist/bin/main.js +13 -5
- package/dist/bin/main.js.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-O4YNVPZX.js → all-profiles-V47CUJFK.js} +12 -12
- package/dist/bundle/answer-policy-W6H72X2R.js +112 -0
- package/dist/bundle/{anthropic-7GGRX3RX.js → anthropic-SID7Z3QN.js} +19 -12
- package/dist/bundle/{app-server-CPMKM3HI.js → app-server-KCMUSY4A.js} +75 -57
- package/dist/bundle/{bun-POHZKEPV.js → bun-PWMM6L45.js} +2 -2
- package/dist/bundle/{bun-sqlite-PGYMBPEL.js → bun-sqlite-3TLKUN5A.js} +10 -6
- package/dist/bundle/{chunk-Q3XLZIY3.js → chunk-2BAZRRJP.js} +29 -23
- package/dist/bundle/{chunk-OWEBWDHV.js → chunk-2NQPB6MT.js} +103 -9
- package/dist/bundle/chunk-2PYZTRRC.js +84 -0
- package/dist/bundle/chunk-2VYEGKQ3.js +13 -0
- package/dist/bundle/{chunk-I4DFFR7F.js → chunk-35CYSRGJ.js} +14 -5
- package/dist/bundle/{chunk-GGS6D4W4.js → chunk-3ADFJ3UP.js} +3 -3
- package/dist/bundle/{chunk-EOSVN2ER.js → chunk-3HTJBGNP.js} +242 -242
- package/dist/bundle/{chunk-2KESWII5.js → chunk-44YVZIA4.js} +3 -3
- package/dist/bundle/{chunk-GXF5HFFP.js → chunk-4LFFDUUW.js} +4 -4
- package/dist/bundle/{chunk-WOIHSQAL.js → chunk-4RJL32PF.js} +49 -10
- package/dist/bundle/{chunk-7ROXXRGG.js → chunk-6AO2RSYH.js} +7031 -5279
- package/dist/bundle/{chunk-DIQLXAAZ.js → chunk-6NI4FE5G.js} +6 -8
- package/dist/bundle/{chunk-X277FBTF.js → chunk-6WUTUCKH.js} +3 -3
- package/dist/bundle/{chunk-77TCCHMP.js → chunk-AIEMFRBU.js} +1 -1
- package/dist/bundle/{chunk-MRI6QMZ3.js → chunk-CIUJEQH4.js} +27 -19
- package/dist/bundle/{chunk-CRFOGYDG.js → chunk-CMWFYZ45.js} +2 -2
- package/dist/bundle/{chunk-LE7MDAQG.js → chunk-CQBLPBZU.js} +2 -2
- package/dist/bundle/{chunk-RQG5VOGH.js → chunk-DPSTOVKC.js} +185 -34
- package/dist/bundle/{chunk-4QUFFB2U.js → chunk-DYLYH7VE.js} +4 -4
- package/dist/bundle/{chunk-FEM2JQN2.js → chunk-EA2OB75T.js} +1 -1
- package/dist/bundle/chunk-ERQRY6WZ.js +54 -0
- package/dist/bundle/{chunk-P3XC6EDU.js → chunk-ETQNHS3A.js} +10 -129
- package/dist/bundle/{chunk-IAV5BG3I.js → chunk-EXWZCI5G.js} +1 -1
- package/dist/bundle/{chunk-VW6BF6M7.js → chunk-FIVFP53N.js} +1 -1
- package/dist/bundle/{chunk-DSVZEXYJ.js → chunk-FJMRDRPN.js} +3573 -3347
- package/dist/bundle/{chunk-7QC4M4HS.js → chunk-FT7X74RT.js} +4 -4
- package/dist/bundle/{chunk-ADLS6FVG.js → chunk-FXBHOCJK.js} +1 -1
- package/dist/bundle/{chunk-ZBFL5JPT.js → chunk-FZLJ2G7A.js} +22 -120
- package/dist/bundle/{chunk-GL3MYFMX.js → chunk-G2TSDMTA.js} +5 -5
- package/dist/bundle/{chunk-2FV5JUQU.js → chunk-G3SIY4MQ.js} +47 -40
- package/dist/bundle/{chunk-2U27KIKU.js → chunk-GCZMYDKU.js} +6 -6
- package/dist/bundle/{chunk-CKPCVEXU.js → chunk-HAMDPWEZ.js} +6 -6
- package/dist/bundle/{chunk-OE7EIP5L.js → chunk-HCZYJMBP.js} +1 -1
- package/dist/bundle/{chunk-OORMSM6O.js → chunk-HNWDEDMU.js} +61 -30
- package/dist/bundle/{chunk-FSHCAWZS.js → chunk-HO3GBTIT.js} +13464 -10422
- package/dist/bundle/chunk-IE7YBRUO.js +25 -0
- package/dist/bundle/{chunk-RGJ7OWHU.js → chunk-IJCUAKR5.js} +61 -21
- package/dist/bundle/{chunk-ULDXZ6LH.js → chunk-IKNOTHG2.js} +116 -70
- package/dist/bundle/{chunk-633QXP57.js → chunk-ILDGZBZD.js} +14 -9
- package/dist/bundle/{chunk-CFQF6IGY.js → chunk-JIS34MLC.js} +69 -6
- package/dist/bundle/{chunk-DHWBSXG3.js → chunk-JQF4LM3V.js} +415 -66
- package/dist/bundle/{chunk-4LAQDZXU.js → chunk-K5JFX5TK.js} +953 -210
- package/dist/bundle/{chunk-5LJTU4LY.js → chunk-K7EMVFJ7.js} +115 -113
- package/dist/bundle/chunk-KHBZ4OEP.js +16 -0
- package/dist/bundle/chunk-KK2IVZUQ.js +185 -0
- package/dist/bundle/{chunk-SELXER2Q.js → chunk-KQD4ZVNC.js} +7 -7
- package/dist/bundle/{chunk-VJXHIUFP.js → chunk-KSNJK4QM.js} +13 -13
- package/dist/bundle/{chunk-X4GWR6GO.js → chunk-KUL7S5Y3.js} +376 -10
- package/dist/bundle/{chunk-M76MXMLY.js → chunk-L6YSKCC3.js} +1 -1
- package/dist/bundle/chunk-LQYMN36C.js +73 -0
- package/dist/bundle/{chunk-USQ23X5V.js → chunk-LSVQCI6V.js} +751 -735
- package/dist/bundle/{chunk-DRBQDCDU.js → chunk-LVDTSCIN.js} +39 -122
- package/dist/bundle/{chunk-P3ASN72F.js → chunk-M4OP5ASJ.js} +1 -1
- package/dist/bundle/chunk-MAE5UGRQ.js +301 -0
- package/dist/bundle/{chunk-CT4WVR4N.js → chunk-MG2CCAVG.js} +3 -3
- package/dist/bundle/chunk-MOKEB656.js +71 -0
- package/dist/bundle/{chunk-BGTEVIW4.js → chunk-N3SOTKXC.js} +6 -6
- package/dist/bundle/{chunk-VRH7VRTK.js → chunk-NBA2V6LB.js} +10 -15
- package/dist/bundle/{chunk-5J4AMBMM.js → chunk-OFA22L4G.js} +4 -4
- package/dist/bundle/chunk-OKOJEBHK.js +106 -0
- package/dist/bundle/{chunk-Q5PI72CR.js → chunk-OMLVWOEF.js} +7 -2
- package/dist/bundle/{chunk-DK6ICIGL.js → chunk-OU5OXA6Q.js} +2150 -1312
- package/dist/bundle/{chunk-QVSLSWAL.js → chunk-P4FU6R3Z.js} +27 -152
- package/dist/bundle/{chunk-YPO2U2YB.js → chunk-PACLT6IW.js} +363 -115
- package/dist/bundle/{chunk-BBTQIVFP.js → chunk-PGPHEC2X.js} +2 -2
- package/dist/bundle/chunk-PJ3FKBXG.js +18 -0
- package/dist/bundle/{chunk-X3ZDN3U7.js → chunk-PKON63JH.js} +2 -2
- package/dist/bundle/{chunk-Q2SUFGSH.js → chunk-Q43KX56Z.js} +2 -2
- package/dist/bundle/{chunk-XI3VIQKW.js → chunk-QS6DWXDB.js} +569 -537
- package/dist/bundle/{chunk-INVTDIF6.js → chunk-QVJMFZFW.js} +1 -1
- package/dist/bundle/{chunk-QTHIU7CO.js → chunk-QWGEOQHA.js} +3 -2
- package/dist/bundle/{chunk-N2FNMION.js → chunk-R5FTCNLJ.js} +1 -1
- package/dist/bundle/{chunk-MW4EGDDV.js → chunk-SO52EJ2W.js} +2 -2
- package/dist/bundle/{chunk-HB6XJQ3Y.js → chunk-SYIOT45G.js} +5 -5
- package/dist/bundle/{chunk-4QPQ7MDA.js → chunk-TI2OANJZ.js} +1 -1
- package/dist/bundle/{chunk-ALIT5QFT.js → chunk-UIKVP23D.js} +1 -1
- package/dist/bundle/{chunk-OHWMIUCT.js → chunk-USIMMGWS.js} +244 -245
- package/dist/bundle/{chunk-MEED7YFG.js → chunk-UYBLNGZ2.js} +8 -2
- package/dist/bundle/{chunk-IED3NS7G.js → chunk-V5Q2QKYM.js} +29 -36
- package/dist/bundle/{chunk-54YDWBYG.js → chunk-VJVYGTPM.js} +15 -2
- package/dist/bundle/{chunk-5K7OGPGA.js → chunk-VPPNYUQM.js} +8 -8
- package/dist/bundle/{chunk-ZBKWRYRS.js → chunk-X2FILY5F.js} +3 -3
- package/dist/bundle/{chunk-2RUAMDVV.js → chunk-XLY7V2LB.js} +14 -14
- package/dist/bundle/chunk-XWBPP2HX.js +2 -0
- package/dist/bundle/{chunk-ZVI6TFQR.js → chunk-Y3IH7EZC.js} +17 -17
- package/dist/bundle/{chunk-YD2RYVMK.js → chunk-Z5XCU4S7.js} +46 -40
- package/dist/bundle/{chunk-RN4EHCC5.js → chunk-ZAIE3G5I.js} +3 -3
- package/dist/bundle/{chunk-2U6SER67.js → chunk-ZMHZ6CQS.js} +2 -2
- package/dist/bundle/{chunk-64ZHF6PJ.js → chunk-ZVQDOKDY.js} +3 -1
- package/dist/bundle/{chunk-TM4JSVGQ.js → chunk-ZX4QWTMQ.js} +42 -43
- package/dist/bundle/{cli-KHMEUXNG.js → cli-4ZYJ6OZE.js} +158 -88
- package/dist/bundle/command-contract-FJDDCHYP.js +43 -0
- package/dist/bundle/command-server-entry-CASONRIJ.js +173 -0
- package/dist/bundle/config-4DZHX2WX.js +99 -0
- package/dist/bundle/{decode-7RP4HSVE.js → decode-KEFCVGEB.js} +6 -6
- package/dist/bundle/{dispatch-IZCAK47P.js → dispatch-EU67WGME.js} +11 -11
- package/dist/bundle/{dist-BFT2SUBV.js → dist-GCQ7KCKN.js} +55 -30
- package/dist/bundle/{echarts-T2BSQ2YV.js → echarts-SDZA2SWG.js} +2 -2
- package/dist/bundle/{embed-BAS6YPDT.js → embed-43VJEPM6.js} +7 -7
- package/dist/bundle/{embedder-5XD5FCAO.js → embedder-Q4ZHAGRP.js} +10 -10
- package/dist/bundle/{failure-R2OIHCE5.js → failure-CTJLEB2R.js} +3 -3
- package/dist/bundle/first-run-CPOLQVNA.js +29 -0
- package/dist/bundle/first-screen-XYESRGWW.js +41 -0
- package/dist/bundle/folders-MSBTAPAG.js +24 -0
- package/dist/bundle/{instructions-XZPROPKY.js → instructions-7T6JJIFS.js} +1 -1
- package/dist/bundle/{main-TZXKGL3L.js → main-NA3QVPXS.js} +39 -25
- package/dist/bundle/{mcp-M4QN2E7R.js → mcp-TDKGDB4V.js} +2 -2
- package/dist/bundle/{meetings-JB2ISPND.js → meetings-7CVIQJTA.js} +9 -7
- package/dist/bundle/{node-A3B3MJWX.js → node-BZDMUFTW.js} +2 -2
- package/dist/bundle/{node-P4E63KXA.js → node-KM3CUABH.js} +9 -9
- package/dist/bundle/{node-sqlite-QVWDLGDX.js → node-sqlite-QHGB23B4.js} +11 -7
- package/dist/bundle/{oauth-YA6IYV4O.js → oauth-BMEMCM2I.js} +8 -8
- package/dist/bundle/{open-SY7TXJBS.js → open-JGU2NRJP.js} +6 -6
- package/dist/bundle/openai-VTXXFNCS.js +28 -0
- package/dist/bundle/{output-file-YGQYZCBJ.js → output-file-VDOCYH2G.js} +6 -6
- package/dist/bundle/{process-6HNBTJIY.js → process-756VBE7E.js} +1 -1
- package/dist/bundle/{program-77BUCJ4H.js → program-XM6CDIJ2.js} +134 -129
- package/dist/bundle/{prompt-YDG73YDS.js → prompt-2IPFXJ4B.js} +6 -6
- package/dist/bundle/{recognize-ECXDGTB7.js → recognize-672E2RIB.js} +5 -5
- package/dist/bundle/{remote-K4JHGBVJ.js → remote-YLHRVPDS.js} +11 -8
- package/dist/bundle/{rerank-IU2YYD4T.js → rerank-NBXQG3OS.js} +8 -8
- package/dist/bundle/run-log-3WITBT2F.js +126 -0
- package/dist/bundle/{serve-3XWIF3HI.js → serve-FNLOUMYP.js} +10 -10
- package/dist/bundle/{server-56VYOHWP.js → server-7ZB5AK5H.js} +53 -47
- package/dist/bundle/server-GGRGD4SH.js +77 -0
- package/dist/bundle/{services-X7IPEGQ5.js → services-Z4UWN64R.js} +56 -37
- package/dist/bundle/{speech-E2OBQWYA.js → speech-XSYVCKR3.js} +17 -14
- package/dist/bundle/sqlite-runtime-GAPXJNWU.js +20 -0
- package/dist/bundle/{state-4GMJYK4H.js → state-QSA53EF5.js} +7 -7
- package/dist/bundle/{store-LA4TV4DM.js → store-EKI4OAJH.js} +22 -19
- package/dist/bundle/{store-KPI7GB5Y.js → store-NOF5EYUC.js} +38 -21
- package/dist/bundle/store-connection-2OZQGEIO.js +92 -0
- package/dist/bundle/store-maintenance-command-GNX3SOZ6.js +67 -0
- package/dist/bundle/{streaming-EJ3NM2C2.js → streaming-PQEXKTE5.js} +7 -7
- package/dist/bundle/tokens-WJQYQ3FK.js +24 -0
- package/dist/bundle/zm.js +34 -10
- package/dist/bundle/{zoom-app-QEJBTIJ4.js → zoom-app-Y7RMWLVU.js} +9 -8
- package/dist/folders.d.ts +12 -2
- package/dist/folders.d.ts.map +1 -1
- package/dist/folders.js +81 -3
- package/dist/folders.js.map +1 -1
- package/dist/identity.d.ts +5 -0
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +14 -0
- package/dist/identity.js.map +1 -1
- package/dist/recording-schedule-setup.d.ts.map +1 -1
- package/dist/recording-schedule-setup.js +4 -7
- package/dist/recording-schedule-setup.js.map +1 -1
- package/dist/remote-http.d.ts +1 -1
- package/dist/remote-http.d.ts.map +1 -1
- package/dist/remote-http.js +21 -23
- package/dist/remote-http.js.map +1 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +2 -4
- package/dist/setup-commands.js.map +1 -1
- package/dist/tokens.d.ts +17 -2
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +109 -29
- package/dist/tokens.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wcat.d.ts +3 -0
- package/dist/wcat.d.ts.map +1 -0
- package/dist/wcat.js +4 -0
- package/dist/wcat.js.map +1 -0
- package/package.json +15 -14
- package/dist/bundle/answer-policy-PPSPMCLH.js +0 -104
- package/dist/bundle/chunk-KMV7GZB6.js +0 -35
- package/dist/bundle/chunk-UG447QY2.js +0 -27
- package/dist/bundle/chunk-XRFHQGOD.js +0 -17
- package/dist/bundle/command-contract-4K6XXZYE.js +0 -41
- package/dist/bundle/config-EEDB632I.js +0 -90
- package/dist/bundle/first-run-23WWZ2PW.js +0 -28
- package/dist/bundle/first-screen-6HFUYVFR.js +0 -39
- package/dist/bundle/folders-ZXTOFY4T.js +0 -16
- package/dist/bundle/openai-2AU24NRN.js +0 -25
- package/dist/bundle/run-log-LFEXNZ74.js +0 -118
- package/dist/bundle/server-YSTMUZ22.js +0 -72
- package/dist/bundle/store-connection-AZTIF6IH.js +0 -83
- package/dist/bundle/store-maintenance-command-LR572PS4.js +0 -61
- package/dist/bundle/tokens-BE6CJMR5.js +0 -20
- /package/dist/bundle/{chunk-VOXIGICJ.js → chunk-7O7XM37N.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
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-MG2CCAVG.js";
|
|
3
7
|
import {
|
|
4
8
|
profileAccountKey,
|
|
5
9
|
profilePattern
|
|
6
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KSNJK4QM.js";
|
|
7
11
|
import {
|
|
8
12
|
checkCancelled
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
openWavAudio,
|
|
12
|
-
preflightWavAudio
|
|
13
|
-
} from "./chunk-CT4WVR4N.js";
|
|
13
|
+
} from "./chunk-ZMHZ6CQS.js";
|
|
14
14
|
import {
|
|
15
15
|
createMeetingSearchCommand,
|
|
16
16
|
meetingHitSearchRequest,
|
|
17
17
|
meetingSearchArguments,
|
|
18
18
|
meetingSearchMeta
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-2BAZRRJP.js";
|
|
20
20
|
import {
|
|
21
21
|
Command,
|
|
22
22
|
FETCH,
|
|
@@ -29,29 +29,24 @@ import {
|
|
|
29
29
|
metaNow,
|
|
30
30
|
metaOf,
|
|
31
31
|
overrideSharedContract
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-FJMRDRPN.js";
|
|
33
33
|
import {
|
|
34
34
|
parseDuration
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-USIMMGWS.js";
|
|
36
36
|
import {
|
|
37
37
|
canonicalMeetingReference,
|
|
38
38
|
meetingHitsList,
|
|
39
39
|
parseMeetingReference,
|
|
40
40
|
validateMeetingContextChange,
|
|
41
41
|
validateMeetingHitSearch
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-IKNOTHG2.js";
|
|
43
43
|
import {
|
|
44
44
|
createOutputBuffer
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import {
|
|
47
|
-
errorObjectSchema,
|
|
48
|
-
jsonSchemaOf,
|
|
49
|
-
union
|
|
50
|
-
} from "./chunk-WOIHSQAL.js";
|
|
45
|
+
} from "./chunk-HNWDEDMU.js";
|
|
51
46
|
import {
|
|
52
47
|
CliError,
|
|
53
48
|
isCliError
|
|
54
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-EA2OB75T.js";
|
|
55
50
|
import {
|
|
56
51
|
__name
|
|
57
52
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -164,7 +159,7 @@ var engineFailure = /* @__PURE__ */ __name(async (model, work) => {
|
|
|
164
159
|
}
|
|
165
160
|
}, "engineFailure");
|
|
166
161
|
var loadSpeech = /* @__PURE__ */ __name(async () => {
|
|
167
|
-
const speech = await import("./speech-
|
|
162
|
+
const speech = await import("./speech-XSYVCKR3.js");
|
|
168
163
|
return { describe: speech.localSpeechRecognitionModel, open: speech.openLocalSpeechRecognizer };
|
|
169
164
|
}, "loadSpeech");
|
|
170
165
|
var createWavTranscriptionSource = /* @__PURE__ */ __name((file, options) => {
|
|
@@ -250,7 +245,7 @@ var createLocalTranscriptionCapabilities = /* @__PURE__ */ __name((store, input
|
|
|
250
245
|
env: options.env,
|
|
251
246
|
speech: options.speech
|
|
252
247
|
});
|
|
253
|
-
const { transcribeMeeting } = await import("./meetings-
|
|
248
|
+
const { transcribeMeeting } = await import("./meetings-7CVIQJTA.js");
|
|
254
249
|
return await transcribeMeeting(source, {
|
|
255
250
|
appendTranscriptsWithReceipt(value) {
|
|
256
251
|
if (value.accountId !== accountId || value.externalId !== target.externalId)
|
|
@@ -286,7 +281,7 @@ var validateTaskProposal = /* @__PURE__ */ __name((value) => {
|
|
|
286
281
|
throw new CliError("invalid_response", "task proposal must be unapplied and proposal-only");
|
|
287
282
|
}, "validateTaskProposal");
|
|
288
283
|
var loadProducer = /* @__PURE__ */ __name(async () => {
|
|
289
|
-
const [domain, services] = await Promise.all([import("./dist-
|
|
284
|
+
const [domain, services] = await Promise.all([import("./dist-GCQ7KCKN.js"), import("./services-Z4UWN64R.js")]);
|
|
290
285
|
return { ...services, ...domain };
|
|
291
286
|
}, "loadProducer");
|
|
292
287
|
var createMeetingContextCapabilities = /* @__PURE__ */ __name((store, meetings, accountId, load = loadProducer) => {
|
|
@@ -372,8 +367,6 @@ var integrationReference = /* @__PURE__ */ __name((reference) => {
|
|
|
372
367
|
// dist/answers.js
|
|
373
368
|
import { randomUUID } from "node:crypto";
|
|
374
369
|
var answerSchema2 = answerSchema();
|
|
375
|
-
var outputSchema = { ...jsonSchemaOf(union([answerSchema2, errorObjectSchema])) };
|
|
376
|
-
var toolAnswerSchema = { ...outputSchema, type: "object" };
|
|
377
370
|
var readMetadata = /* @__PURE__ */ __name((now = Date.now, runId = randomUUID()) => {
|
|
378
371
|
const started = now();
|
|
379
372
|
return () => metaNow({ run_id: runId, duration_ms: Math.max(0, Math.round(now() - started)) });
|
|
@@ -598,7 +591,7 @@ var addMeetingSearchCommands = /* @__PURE__ */ __name((program, deps) => {
|
|
|
598
591
|
}, "addMeetingSearchCommands");
|
|
599
592
|
|
|
600
593
|
// dist/meeting-semantic.js
|
|
601
|
-
var loadProducer2 = /* @__PURE__ */ __name(async () => import("./services-
|
|
594
|
+
var loadProducer2 = /* @__PURE__ */ __name(async () => import("./services-Z4UWN64R.js"), "loadProducer");
|
|
602
595
|
var createMeetingSemanticCapabilities = /* @__PURE__ */ __name((store, accountId, options = {}) => {
|
|
603
596
|
if (!Number.isSafeInteger(accountId) || accountId < 1)
|
|
604
597
|
throw new CliError("validation_error", "meeting vectors require a selected positive account ID");
|
|
@@ -747,7 +740,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
747
740
|
throw new CliError("validation_error", "expected a selected Zoom profile and read or ingestion intent");
|
|
748
741
|
let store;
|
|
749
742
|
try {
|
|
750
|
-
const open2 = options.openStore ?? (await import("./store-
|
|
743
|
+
const open2 = options.openStore ?? (await import("./store-NOF5EYUC.js")).openStore;
|
|
751
744
|
store = await open2({
|
|
752
745
|
path: options.path,
|
|
753
746
|
env: options.env,
|
|
@@ -768,7 +761,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
768
761
|
let cachedBatchReader;
|
|
769
762
|
const batchReader = /* @__PURE__ */ __name(async () => {
|
|
770
763
|
if (!cachedBatchReader) {
|
|
771
|
-
const { createMeetingBatchReader } = await import("./services-
|
|
764
|
+
const { createMeetingBatchReader } = await import("./services-Z4UWN64R.js");
|
|
772
765
|
cachedBatchReader = createMeetingBatchReader(connected, accountId);
|
|
773
766
|
}
|
|
774
767
|
return cachedBatchReader;
|
|
@@ -777,7 +770,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
777
770
|
meetingPreparation: {
|
|
778
771
|
scope: key,
|
|
779
772
|
create: /* @__PURE__ */ __name(async (upcoming) => {
|
|
780
|
-
const { createMeetingPreparationService } = await import("./services-
|
|
773
|
+
const { createMeetingPreparationService } = await import("./services-Z4UWN64R.js");
|
|
781
774
|
const reader = connected.contextEvidence;
|
|
782
775
|
if (context && !reader)
|
|
783
776
|
throw new CliError("configuration_error", "the installed store does not support bounded communications");
|
|
@@ -802,7 +795,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
802
795
|
close: /* @__PURE__ */ __name(() => connected.close(), "close"),
|
|
803
796
|
appendTranscriptsWithReceipt: /* @__PURE__ */ __name((input) => meetings.appendTranscriptsWithReceipt(ownAccount(input, "append")), "appendTranscriptsWithReceipt"),
|
|
804
797
|
meetingProjectCandidates: /* @__PURE__ */ __name(async (reference, request2) => {
|
|
805
|
-
const { createStoredMeetingProjectCandidateReader } = await import("./services-
|
|
798
|
+
const { createStoredMeetingProjectCandidateReader } = await import("./services-Z4UWN64R.js");
|
|
806
799
|
const read = createStoredMeetingProjectCandidateReader(key, accountId, {
|
|
807
800
|
meetings,
|
|
808
801
|
vocabulary: connected.knowledge
|
|
@@ -810,7 +803,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
810
803
|
return read(reference, request2);
|
|
811
804
|
}, "meetingProjectCandidates"),
|
|
812
805
|
meetingProjectEvidence: /* @__PURE__ */ __name(async (project, request2) => {
|
|
813
|
-
const { readMeetingProjectDiscovery } = await import("./services-
|
|
806
|
+
const { readMeetingProjectDiscovery } = await import("./services-Z4UWN64R.js");
|
|
814
807
|
return readMeetingProjectDiscovery({
|
|
815
808
|
vocabulary: connected.knowledge,
|
|
816
809
|
search: { searchHits: /* @__PURE__ */ __name((query, hits) => meetings.searchHits(query, hits), "searchHits") }
|
|
@@ -837,7 +830,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
837
830
|
},
|
|
838
831
|
meetingSearch: /* @__PURE__ */ __name(async (query, request2) => {
|
|
839
832
|
validateMeetingHitSearch(query, request2);
|
|
840
|
-
const { searchMeetingHits } = await import("./services-
|
|
833
|
+
const { searchMeetingHits } = await import("./services-Z4UWN64R.js");
|
|
841
834
|
return searchMeetingHits({ meetings, knowledge: connected.knowledge }, query, { ...request2, accountId });
|
|
842
835
|
}, "meetingSearch"),
|
|
843
836
|
meetingIntegration: {
|
|
@@ -848,7 +841,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
848
841
|
const change = validateMeetingContextChange(input);
|
|
849
842
|
if (change.action !== "event.link" && change.action !== "person.link")
|
|
850
843
|
throw new CliError("validation_error", "meeting linking supports only explicit event or person changes");
|
|
851
|
-
const api = await import("./services-
|
|
844
|
+
const api = await import("./services-Z4UWN64R.js");
|
|
852
845
|
await api.resolveMeetingReference(meetings, accountId, source.reference, { signal: mutation.signal });
|
|
853
846
|
const service = await api.createMeetingContextService({
|
|
854
847
|
accounts: connected.accounts,
|
|
@@ -869,29 +862,29 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
869
862
|
},
|
|
870
863
|
unifiedSearch: /* @__PURE__ */ __name(async (input) => {
|
|
871
864
|
const request2 = validateUnifiedSearch(input);
|
|
872
|
-
const { searchAll } = await import("./services-
|
|
865
|
+
const { searchAll } = await import("./services-Z4UWN64R.js");
|
|
873
866
|
return searchAll(connected, key, { ...request2, scope: { meetings: [key] }, env: options.env });
|
|
874
867
|
}, "unifiedSearch"),
|
|
875
868
|
meetingContext: createMeetingContextCapabilities(connected, meetings, accountId),
|
|
876
869
|
meetingSemantic: createMeetingSemanticCapabilities(connected, accountId, { env: options.env }),
|
|
877
870
|
meetingSearches: await (async () => {
|
|
878
|
-
const { meetingSearchesService } = await import("./services-
|
|
871
|
+
const { meetingSearchesService } = await import("./services-Z4UWN64R.js");
|
|
879
872
|
return meetingSearchesService(async () => connected.searches);
|
|
880
873
|
})(),
|
|
881
874
|
meetingStats: /* @__PURE__ */ __name(async (request2) => {
|
|
882
|
-
const { readMeetingStats } = await import("./services-
|
|
875
|
+
const { readMeetingStats } = await import("./services-Z4UWN64R.js");
|
|
883
876
|
return readMeetingStats(connected, { ...request2, accountId });
|
|
884
877
|
}, "meetingStats"),
|
|
885
878
|
meetingCounts: /* @__PURE__ */ __name(async (request2) => {
|
|
886
|
-
const { readMeetingCounts } = await import("./services-
|
|
879
|
+
const { readMeetingCounts } = await import("./services-Z4UWN64R.js");
|
|
887
880
|
return readMeetingCounts(connected, { ...request2, accountId });
|
|
888
881
|
}, "meetingCounts"),
|
|
889
882
|
meetingReview: /* @__PURE__ */ __name(async (request2) => {
|
|
890
|
-
const { readMeetingReview } = await import("./services-
|
|
883
|
+
const { readMeetingReview } = await import("./services-Z4UWN64R.js");
|
|
891
884
|
return readMeetingReview(connected, { ...request2, accountId });
|
|
892
885
|
}, "meetingReview"),
|
|
893
886
|
meetingLinks: /* @__PURE__ */ __name(async (request2) => {
|
|
894
|
-
const { readMeetingLinks } = await import("./services-
|
|
887
|
+
const { readMeetingLinks } = await import("./services-Z4UWN64R.js");
|
|
895
888
|
return readMeetingLinks(connected, { ...request2, accountId });
|
|
896
889
|
}, "meetingLinks")
|
|
897
890
|
};
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
|
|
4
4
|
// dist/version.js
|
|
5
|
-
var VERSION = "0.
|
|
5
|
+
var VERSION = "0.73.0";
|
|
6
6
|
|
|
7
7
|
// dist/identity.js
|
|
8
8
|
var CLIENT_ID_MISSING = "zoom.client-id-missing";
|
|
@@ -23,9 +23,22 @@ var ZM = {
|
|
|
23
23
|
messenger: false,
|
|
24
24
|
errors: { reasons: ZOOM_REASONS }
|
|
25
25
|
};
|
|
26
|
+
var ZOOM_HOSTS = ["zoom.us", "*.zoom.us", "zoom.com", "*.zoom.com"];
|
|
27
|
+
var DESKTOP = {
|
|
28
|
+
...ZM,
|
|
29
|
+
docs: "https://wirecat.dev/en/docs/zm",
|
|
30
|
+
hosts: ZOOM_HOSTS,
|
|
31
|
+
tagline: "Zoom transcripts and recordings, searchable",
|
|
32
|
+
syncs: "meetings and transcripts",
|
|
33
|
+
signIn: {
|
|
34
|
+
gives: "Lets your agent find your Zoom meetings and read their transcripts and summaries.",
|
|
35
|
+
asks: "Your browser opens Zoom to approve access. Zoom first needs an app of your own, made once in the Zoom App Marketplace."
|
|
36
|
+
}
|
|
37
|
+
};
|
|
26
38
|
|
|
27
39
|
export {
|
|
28
40
|
VERSION,
|
|
29
41
|
CLIENT_ID_MISSING,
|
|
30
|
-
ZM
|
|
42
|
+
ZM,
|
|
43
|
+
ZOOM_HOSTS
|
|
31
44
|
};
|
|
@@ -2,25 +2,25 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
storePath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ERQRY6WZ.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HNWDEDMU.js";
|
|
9
9
|
import {
|
|
10
10
|
CliError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EA2OB75T.js";
|
|
12
12
|
import {
|
|
13
13
|
singleLine
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HCZYJMBP.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
20
20
|
import { mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
|
|
21
21
|
import { dirname, join, resolve } from "node:path";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
|
|
24
24
|
var DEFAULT_TASK_CATEGORIES = [
|
|
25
25
|
{
|
|
26
26
|
name: "taxes",
|
|
@@ -775,7 +775,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
|
|
|
775
775
|
}
|
|
776
776
|
}, "storedTaskCategories");
|
|
777
777
|
|
|
778
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
778
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
779
779
|
var SECTION = "task_categories";
|
|
780
780
|
var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
|
|
781
781
|
const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
|
|
@@ -794,7 +794,7 @@ var readJson = /* @__PURE__ */ __name((path) => {
|
|
|
794
794
|
}
|
|
795
795
|
let parsed;
|
|
796
796
|
try {
|
|
797
|
-
parsed = JSON.parse(text);
|
|
797
|
+
parsed = JSON.parse(text.replace(/^\uFEFF/u, ""));
|
|
798
798
|
} catch (error) {
|
|
799
799
|
throw new CliError("configuration_error", `${path} is not valid JSON: ${error.message}`);
|
|
800
800
|
}
|
|
@@ -2,13 +2,13 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
checkCancelled
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZMHZ6CQS.js";
|
|
6
6
|
import {
|
|
7
7
|
createOutputBuffer
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HNWDEDMU.js";
|
|
9
9
|
import {
|
|
10
10
|
CliError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EA2OB75T.js";
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
14
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
updateCommand
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FT7X74RT.js";
|
|
6
6
|
import {
|
|
7
7
|
QUESTIONS,
|
|
8
8
|
readSetupAnswers,
|
|
9
9
|
unanswered,
|
|
10
10
|
writeSetupAnswers
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6NI4FE5G.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_STEMMERS,
|
|
14
14
|
LANGUAGES
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NBA2V6LB.js";
|
|
16
16
|
import {
|
|
17
17
|
sharedConfigPath
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import {
|
|
20
|
-
storePath
|
|
21
|
-
} from "./chunk-KMV7GZB6.js";
|
|
18
|
+
} from "./chunk-VPPNYUQM.js";
|
|
22
19
|
import {
|
|
23
20
|
installerOf
|
|
24
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-M4OP5ASJ.js";
|
|
22
|
+
import {
|
|
23
|
+
storePath
|
|
24
|
+
} from "./chunk-ERQRY6WZ.js";
|
|
25
25
|
import {
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/first-run.js
|
|
30
30
|
import { spawnSync } from "node:child_process";
|
|
31
31
|
import { accessSync, constants, realpathSync } from "node:fs";
|
|
32
32
|
import { delimiter, join } from "node:path";
|
|
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
|
|
|
84
84
|
return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
|
|
85
85
|
}, "suggested");
|
|
86
86
|
var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
|
|
87
|
-
const { openStore } = await import("./store-
|
|
87
|
+
const { openStore } = await import("./store-EKI4OAJH.js");
|
|
88
88
|
const store = await openStore({ env });
|
|
89
89
|
let rebuild = false;
|
|
90
90
|
try {
|
|
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
113
113
|
if (!rebuild)
|
|
114
114
|
return;
|
|
115
115
|
const [{ openCache }, { buildStems }] = await Promise.all([
|
|
116
|
-
import("./open-
|
|
117
|
-
import("./store-maintenance-command-
|
|
116
|
+
import("./open-JGU2NRJP.js"),
|
|
117
|
+
import("./store-maintenance-command-GNX3SOZ6.js")
|
|
118
118
|
]);
|
|
119
119
|
const database = await openCache(storePath(env));
|
|
120
120
|
try {
|
|
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
126
126
|
var askTools = /* @__PURE__ */ __name(async (run) => {
|
|
127
127
|
const { command, env, io } = run;
|
|
128
128
|
const installed = run.installed ?? ((name) => onPath(name, env));
|
|
129
|
-
const { WIRECAT_TOOLS } = await import("./first-screen-
|
|
129
|
+
const { WIRECAT_TOOLS } = await import("./first-screen-XYESRGWW.js");
|
|
130
130
|
const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
|
|
131
131
|
const missing = others.filter((tool) => !installed(tool.command));
|
|
132
132
|
io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
|
|
@@ -199,7 +199,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
|
|
|
199
199
|
contentLanguages: start.contentLanguages,
|
|
200
200
|
all: start.path[0] === "setup",
|
|
201
201
|
io: {
|
|
202
|
-
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-
|
|
202
|
+
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-2IPFXJ4B.js")).readSecret(prompt, { input, echo: true }), "ask"),
|
|
203
203
|
say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
|
|
204
204
|
`), "say")
|
|
205
205
|
}
|
|
@@ -23,28 +23,28 @@ import {
|
|
|
23
23
|
tagMemberIds,
|
|
24
24
|
thingOf,
|
|
25
25
|
write
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-HO3GBTIT.js";
|
|
27
27
|
import {
|
|
28
28
|
fold
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-KHBZ4OEP.js";
|
|
30
30
|
import {
|
|
31
31
|
damagedFile
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-UYBLNGZ2.js";
|
|
33
33
|
import {
|
|
34
34
|
ADDED_PROVIDER,
|
|
35
35
|
filesAccountSql,
|
|
36
36
|
folderProviderOf,
|
|
37
37
|
folderProviderSql,
|
|
38
38
|
isDocumentAccountProvider
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-QS6DWXDB.js";
|
|
40
40
|
import {
|
|
41
41
|
CliError
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-EA2OB75T.js";
|
|
43
43
|
import {
|
|
44
44
|
__name
|
|
45
45
|
} from "./chunk-ZVVMGPBJ.js";
|
|
46
46
|
|
|
47
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
47
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/damage.js
|
|
48
48
|
var DERIVED = /* @__PURE__ */ new Set(["mentions", "involvements", "embeddings"]);
|
|
49
49
|
var named = /* @__PURE__ */ __name((tables) => tables.length <= 5 ? tables.join(", ") : `${tables.slice(0, 5).join(", ")} and ${tables.length - 5} more`, "named");
|
|
50
50
|
var isDerivedTable = /* @__PURE__ */ __name((table, searchIndexes) => DERIVED.has(table) || table.startsWith("vector_index_") || searchIndexes.some((index) => table === index || table.startsWith(`${index}_`)), "isDerivedTable");
|
|
@@ -147,11 +147,11 @@ var storeDamageReport = /* @__PURE__ */ __name(({ health, command, mark = null,
|
|
|
147
147
|
};
|
|
148
148
|
}, "storeDamageReport");
|
|
149
149
|
|
|
150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
|
|
151
151
|
import { realpathSync, statSync } from "node:fs";
|
|
152
152
|
import { resolve } from "node:path";
|
|
153
153
|
|
|
154
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
154
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/people.js
|
|
155
155
|
var planPeople = /* @__PURE__ */ __name((database, snapshot, mappings, bindings, conflicts) => {
|
|
156
156
|
const creatable = /* @__PURE__ */ new Set();
|
|
157
157
|
let people = 0, identities = 0;
|
|
@@ -214,11 +214,11 @@ var copyPeople = /* @__PURE__ */ __name((database, snapshot, mappings, now) => {
|
|
|
214
214
|
}
|
|
215
215
|
}, "copyPeople");
|
|
216
216
|
|
|
217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/document-transfer/digest.js
|
|
218
218
|
import { createHash } from "node:crypto";
|
|
219
219
|
var digest = /* @__PURE__ */ __name((value) => createHash("sha256").update(JSON.stringify(value)).digest("hex"), "digest");
|
|
220
220
|
|
|
221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/collection.js
|
|
222
222
|
var documentsKeyOf = /* @__PURE__ */ __name((collection) => {
|
|
223
223
|
const colon = collection.indexOf(":");
|
|
224
224
|
const provider = collection.slice(0, colon);
|
|
@@ -262,7 +262,7 @@ var currentCollection = /* @__PURE__ */ __name((row) => {
|
|
|
262
262
|
};
|
|
263
263
|
}, "currentCollection");
|
|
264
264
|
|
|
265
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
265
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/plan.js
|
|
266
266
|
var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindings) => {
|
|
267
267
|
const mappings = /* @__PURE__ */ new Map();
|
|
268
268
|
const missing = /* @__PURE__ */ new Set(), conflicts = /* @__PURE__ */ new Set();
|
|
@@ -429,7 +429,7 @@ var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindin
|
|
|
429
429
|
};
|
|
430
430
|
}, "planTransfer");
|
|
431
431
|
|
|
432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
432
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
|
|
433
433
|
var TRANSFER_TABLES = { document: "documents", note: "notes", memory: "memories", fact: "facts" };
|
|
434
434
|
var MAX_ENTITIES = 1e3;
|
|
435
435
|
var MAX_AUXILIARY = 1e4;
|
|
@@ -591,7 +591,7 @@ var transferSnapshot = /* @__PURE__ */ __name((database, collection) => read(dat
|
|
|
591
591
|
};
|
|
592
592
|
}), "transferSnapshot");
|
|
593
593
|
|
|
594
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
594
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/apply.js
|
|
595
595
|
var providerHere = /* @__PURE__ */ __name(({ provider, name, settings }) => {
|
|
596
596
|
if (provider !== "folder" || String(name ?? "").startsWith("google-drive:"))
|
|
597
597
|
return provider ?? null;
|
|
@@ -763,7 +763,7 @@ var remapEntity = /* @__PURE__ */ __name((database, entity, id, mappings) => {
|
|
|
763
763
|
database.prepare(`UPDATE ${TRANSFER_TABLES[entity.kind]} SET ${columns.join(",")} WHERE id=?`).run(...values, id);
|
|
764
764
|
}, "remapEntity");
|
|
765
765
|
|
|
766
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
766
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
|
|
767
767
|
var locations = /* @__PURE__ */ __name((options) => {
|
|
768
768
|
for (const value of [options.source, options.destination, options.collection])
|
|
769
769
|
if (typeof value !== "string" || !value.trim())
|
|
@@ -865,7 +865,7 @@ var applyWith = /* @__PURE__ */ __name(async (location, options) => {
|
|
|
865
865
|
}
|
|
866
866
|
}, "applyWith");
|
|
867
867
|
|
|
868
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
868
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/health.js
|
|
869
869
|
import { existsSync, statSync as statSync2 } from "node:fs";
|
|
870
870
|
var JSON_COLUMNS = {
|
|
871
871
|
accounts: ["settings"],
|
|
@@ -1007,7 +1007,7 @@ var storeHealth = /* @__PURE__ */ __name(async (path, { deep = false } = {}) =>
|
|
|
1007
1007
|
}
|
|
1008
1008
|
}, "storeHealth");
|
|
1009
1009
|
|
|
1010
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1010
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
|
|
1011
1011
|
var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) => {
|
|
1012
1012
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
1013
1013
|
throw new CliError("validation_error", "project preview options are required");
|
|
@@ -1033,7 +1033,7 @@ var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) =>
|
|
|
1033
1033
|
});
|
|
1034
1034
|
}, "previewProjectAnnotationSnapshot");
|
|
1035
1035
|
|
|
1036
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1036
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
|
|
1037
1037
|
var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options) => {
|
|
1038
1038
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
1039
1039
|
throw new CliError("validation_error", "snapshot options are required");
|