@wirecat/zoom-cli 0.66.0 → 0.67.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/constants.json +7 -0
- package/dist/answers.d.ts +4 -4
- package/dist/bin/main.js +3 -2
- package/dist/bin/main.js.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-D5CFH2OK.js → all-profiles-SEW2VL76.js} +12 -11
- package/dist/bundle/answer-policy-5OYUL6UF.js +103 -0
- package/dist/bundle/{anthropic-K2E2JS4S.js → anthropic-FSNASJML.js} +7 -7
- package/dist/bundle/{app-server-TVXDG6HZ.js → app-server-EVSRYJ3H.js} +55 -54
- package/dist/bundle/{bun-O4WHGL2F.js → bun-DACL5SVO.js} +2 -2
- package/dist/bundle/{bun-sqlite-HGBEHQI3.js → bun-sqlite-HQ2KOXSI.js} +6 -6
- package/dist/bundle/{chunk-IDWHJ35K.js → chunk-2UW533HQ.js} +4 -4
- package/dist/bundle/{chunk-NMQUCHTX.js → chunk-3GO3KME7.js} +3 -3
- package/dist/bundle/{chunk-6GSJLNP4.js → chunk-3ZIHUSMM.js} +2 -2
- package/dist/bundle/{chunk-2YLNUZ3T.js → chunk-4GCKDO2H.js} +3 -3
- package/dist/bundle/{chunk-7SQJCKR6.js → chunk-4KDZ22RA.js} +1 -1
- package/dist/bundle/{chunk-5A26IBAR.js → chunk-4U2555EQ.js} +23 -23
- package/dist/bundle/{chunk-RMKHYUHK.js → chunk-4UVT2QCO.js} +4 -4
- package/dist/bundle/{chunk-GHAPWKG2.js → chunk-4ZR5DJ26.js} +3 -3
- package/dist/bundle/{chunk-2T5BOLBS.js → chunk-54RTMQL6.js} +4 -4
- package/dist/bundle/chunk-6AJDVJVZ.js +35 -0
- package/dist/bundle/{chunk-UYV2JGLQ.js → chunk-6IBM4Z3V.js} +1 -1
- package/dist/bundle/{chunk-QAPU2JNO.js → chunk-6TZF2JP7.js} +13 -13
- package/dist/bundle/{chunk-CZ4KLUJG.js → chunk-6UFWFKFH.js} +2 -2
- package/dist/bundle/chunk-6VFORXL3.js +101 -0
- package/dist/bundle/{chunk-RO44LANT.js → chunk-7HAIM7GV.js} +1577 -633
- package/dist/bundle/{chunk-QV5ZGRK3.js → chunk-7K5TDTZY.js} +7 -7
- package/dist/bundle/{chunk-NO24PJNW.js → chunk-7LLUUXJB.js} +1 -1
- package/dist/bundle/{chunk-7PF56S6U.js → chunk-7VU5UGRR.js} +24 -22
- package/dist/bundle/{chunk-SU4WPBQE.js → chunk-AAZFLJSH.js} +22 -23
- package/dist/bundle/{chunk-ZKTXUDSR.js → chunk-ASCHAVNW.js} +30 -26
- package/dist/bundle/{chunk-BXSAROQP.js → chunk-B3KWAULD.js} +2 -2
- package/dist/bundle/{chunk-ZNFPDTQM.js → chunk-B5Z4XPVS.js} +2 -2
- package/dist/bundle/{chunk-756RS4PH.js → chunk-BKY4XVB4.js} +1688 -1133
- package/dist/bundle/{chunk-62GOOZO3.js → chunk-C6UKW7JO.js} +6 -6
- package/dist/bundle/{chunk-U3ZUT557.js → chunk-CLEZE65P.js} +1 -1
- package/dist/bundle/{chunk-YLEQN6PB.js → chunk-CRLBTNC4.js} +3 -3
- package/dist/bundle/{chunk-P2SYZNM4.js → chunk-D4KBD63W.js} +1 -1
- package/dist/bundle/{chunk-CR4CXOLX.js → chunk-D6OXI2NV.js} +17 -17
- package/dist/bundle/{chunk-Q47C3QZW.js → chunk-DFUPETW7.js} +444 -307
- package/dist/bundle/{chunk-JX3V35A5.js → chunk-DG4DWAU7.js} +3 -3
- package/dist/bundle/{chunk-P3XVLHIQ.js → chunk-EPDRF66S.js} +4 -4
- package/dist/bundle/{chunk-EXXM4RNI.js → chunk-EQ7XRRKV.js} +11 -11
- package/dist/bundle/{chunk-5GD2XZ6X.js → chunk-ESFMHBHH.js} +30 -29
- package/dist/bundle/{chunk-GI6QVSCW.js → chunk-EUPZSR2G.js} +4 -4
- package/dist/bundle/{chunk-J4EZL6HY.js → chunk-FGTPREAZ.js} +33 -33
- package/dist/bundle/{chunk-GKXFL35E.js → chunk-FWU3ZYHE.js} +50 -50
- package/dist/bundle/{chunk-CAW6IMFZ.js → chunk-FXQPK742.js} +55 -17
- package/dist/bundle/{chunk-P2G4KGTR.js → chunk-GP4NSYDU.js} +11 -11
- package/dist/bundle/{chunk-GNGBG5BT.js → chunk-I7SOXH64.js} +71 -38
- package/dist/bundle/{chunk-S4GDDO5S.js → chunk-IFDO3YPJ.js} +1 -1
- package/dist/bundle/{chunk-N5JRRBEG.js → chunk-J3ZBEWQY.js} +373 -9
- package/dist/bundle/chunk-JVCHGI7W.js +37 -0
- package/dist/bundle/{chunk-7KCTPGOF.js → chunk-KANH7GBB.js} +2 -2
- package/dist/bundle/{chunk-QJHRYUMJ.js → chunk-KIJLM5UL.js} +1 -1
- package/dist/bundle/{chunk-ILHTNOIV.js → chunk-KV4267S4.js} +1 -1
- package/dist/bundle/{chunk-XWDSEJWP.js → chunk-KWRSC6O6.js} +4 -4
- package/dist/bundle/{chunk-O5FKJV3T.js → chunk-L643D4RJ.js} +12 -12
- package/dist/bundle/{chunk-ZTL7ANSG.js → chunk-L6CAUVMU.js} +5 -5
- package/dist/bundle/{chunk-TUEEXECZ.js → chunk-L6WUAGPN.js} +3 -3
- package/dist/bundle/{chunk-H5ZVZAOD.js → chunk-LFQ73UFK.js} +3 -3
- package/dist/bundle/{chunk-3Y2F65AY.js → chunk-LKJXTACE.js} +10 -89
- package/dist/bundle/{chunk-AZ7ICKIA.js → chunk-LM26DJOK.js} +6 -6
- package/dist/bundle/{chunk-IKQ73INC.js → chunk-M43MBWJX.js} +3229 -1236
- package/dist/bundle/{chunk-LN2S3RA3.js → chunk-MWEOVTIF.js} +4 -4
- package/dist/bundle/{chunk-N67BLTBV.js → chunk-NTZDM5SJ.js} +28 -9
- package/dist/bundle/{chunk-6TIKPRVQ.js → chunk-OTMGAKUM.js} +7 -7
- package/dist/bundle/chunk-OZEYFJX2.js +93 -0
- package/dist/bundle/{chunk-XFUID5NY.js → chunk-Q65SDEFN.js} +2 -2
- package/dist/bundle/{chunk-67RNZGAG.js → chunk-QEI55M2F.js} +10 -10
- package/dist/bundle/{chunk-3B7L2UX4.js → chunk-QX2MAT6I.js} +3 -3
- package/dist/bundle/{chunk-KDKFGQWG.js → chunk-RAMPYIO2.js} +15 -12
- package/dist/bundle/{chunk-BLT3LR3U.js → chunk-RYKG6AEH.js} +1 -1
- package/dist/bundle/{chunk-Z6U3MEGJ.js → chunk-SCFFCIIP.js} +4 -2
- package/dist/bundle/{chunk-N6JMJN5A.js → chunk-SMVO5R3T.js} +19 -19
- package/dist/bundle/{chunk-Y3EIK4XW.js → chunk-SOZVC3SV.js} +1 -1
- package/dist/bundle/{chunk-A2SCXNA7.js → chunk-SSXCOUP3.js} +1084 -258
- package/dist/bundle/{chunk-TN7K66PU.js → chunk-SXFODCYK.js} +1 -1
- package/dist/bundle/{chunk-TFDVFD4N.js → chunk-T6CZWSHF.js} +97 -38
- package/dist/bundle/{chunk-7JMBEPW2.js → chunk-TBRG2DPE.js} +2 -2
- package/dist/bundle/{chunk-UOIXBEFR.js → chunk-V33VGWT3.js} +5 -5
- package/dist/bundle/{chunk-K5CIN4JP.js → chunk-VFIEYRYD.js} +8 -8
- package/dist/bundle/{chunk-5HPALDUO.js → chunk-VNIBTNV4.js} +3 -2
- package/dist/bundle/{chunk-3WTKZ2ZS.js → chunk-VQTAU4DV.js} +8 -8
- package/dist/bundle/{chunk-TMVKZMDO.js → chunk-WHQ4ZCJI.js} +49 -30
- package/dist/bundle/{chunk-S6S3KVJI.js → chunk-WZ5XK74U.js} +2 -1
- package/dist/bundle/{chunk-2VPHQFO5.js → chunk-X67YD3QI.js} +2 -2
- package/dist/bundle/{chunk-PQLBPYJR.js → chunk-YPF6OS37.js} +1 -1
- package/dist/bundle/{chunk-AU4JHT3R.js → chunk-YRNZT4GQ.js} +7 -7
- package/dist/bundle/{chunk-HKQWV3KT.js → chunk-Z3WXI4DK.js} +3 -3
- package/dist/bundle/{chunk-U4RVOSX3.js → chunk-ZMPTO2WB.js} +1 -1
- package/dist/bundle/{chunk-FWFFQV4D.js → chunk-ZRMZBMOF.js} +69 -9
- package/dist/bundle/{cli-HWQIL2AC.js → cli-YUATSOLA.js} +94 -67
- package/dist/bundle/command-contract-UWHY55UE.js +41 -0
- package/dist/bundle/config-TGF6E6ZD.js +89 -0
- package/dist/bundle/{decode-XPAPPUGE.js → decode-IL44LNC3.js} +6 -6
- package/dist/bundle/{dispatch-AKVJGP2S.js → dispatch-3BGIXSJR.js} +9 -9
- package/dist/bundle/{dist-LDIUQBM7.js → dist-3W27UQ2S.js} +46 -17
- package/dist/bundle/{echarts-FMACRZQC.js → echarts-CO4D26JF.js} +2 -2
- package/dist/bundle/{embed-LK45GRQ7.js → embed-XH2X4DFM.js} +7 -7
- package/dist/bundle/{embedder-QPBC5XBY.js → embedder-WTFWDXBJ.js} +10 -10
- package/dist/bundle/{failure-7OULAOWQ.js → failure-HTIS3NLS.js} +3 -3
- package/dist/bundle/{first-run-J5FG773Q.js → first-run-5RBH7FDO.js} +12 -12
- package/dist/bundle/first-screen-PGFIXJAX.js +39 -0
- package/dist/bundle/{folders-RHPUVMDI.js → folders-F4DNQPIY.js} +5 -5
- package/dist/bundle/{instructions-E5FXYCWF.js → instructions-EPPBL6TT.js} +1 -1
- package/dist/bundle/{main-FJHE5YHU.js → main-LVQTCDZS.js} +23 -22
- package/dist/bundle/{mcp-MNI62HHE.js → mcp-PPVOM4SE.js} +2 -2
- package/dist/bundle/{meetings-MYIDGYGW.js → meetings-BMELXRTR.js} +31 -7
- package/dist/bundle/{node-4SNKUPXT.js → node-CQVMWVIG.js} +2 -2
- package/dist/bundle/{node-sqlite-SYZUTVPC.js → node-sqlite-QQEX7LZT.js} +7 -7
- package/dist/bundle/{oauth-QPS5VTN6.js → oauth-AYGX7CQS.js} +8 -8
- package/dist/bundle/{open-OVCASRSJ.js → open-MIL2TOT6.js} +6 -6
- package/dist/bundle/openai-7QZZXQW5.js +25 -0
- package/dist/bundle/{output-file-K5JEL33Z.js → output-file-4XADZPYH.js} +6 -6
- package/dist/bundle/{process-HQZOTT6U.js → process-NJVQK6GB.js} +1 -1
- package/dist/bundle/{program-A546WC4F.js → program-WUYRS6H7.js} +152 -104
- package/dist/bundle/{prompt-CYBKP7S5.js → prompt-J4QPFLEA.js} +6 -6
- package/dist/bundle/{recognize-3H3YDCFI.js → recognize-OLJZVNWW.js} +5 -5
- package/dist/bundle/{remote-VAYVTJBS.js → remote-JPUXNYLV.js} +8 -8
- package/dist/bundle/{rerank-XA4GA5PS.js → rerank-XVV3X5TT.js} +8 -8
- package/dist/bundle/{run-log-XAFHMI3F.js → run-log-DJXBEVS5.js} +59 -57
- package/dist/bundle/{serve-KGHEDUHB.js → serve-NYYUO3MR.js} +10 -10
- package/dist/bundle/{server-ZYTSMDTP.js → server-4Z5E4YTT.js} +47 -46
- package/dist/bundle/server-VW5UVCH7.js +72 -0
- package/dist/bundle/{services-ZHMZC2OQ.js → services-EKWM76HP.js} +49 -32
- package/dist/bundle/{speech-7CJEFKM3.js → speech-WFJ44ACJ.js} +14 -14
- package/dist/bundle/{state-U6KSYVOH.js → state-VIRCT4VW.js} +7 -7
- package/dist/bundle/{store-WS4CQGYU.js → store-2Q4GEZJS.js} +30 -21
- package/dist/bundle/{store-DJE3LAEG.js → store-ZTDZ6UY5.js} +20 -17
- package/dist/bundle/store-connection-FKVVQLEF.js +83 -0
- package/dist/bundle/store-maintenance-command-AU73UVUQ.js +62 -0
- package/dist/bundle/{streaming-QMHH7L6N.js → streaming-7BPKIGAS.js} +7 -7
- package/dist/bundle/{tokens-PWQ56OXO.js → tokens-CQHMMKNX.js} +7 -7
- package/dist/bundle/zm.js +10 -10
- package/dist/bundle/zoom-app-OEKFMJS6.js +25 -0
- package/dist/config.d.ts +9 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +46 -7
- package/dist/config.js.map +1 -1
- package/dist/meeting-source.d.ts.map +1 -1
- package/dist/meeting-source.js +2 -1
- package/dist/meeting-source.js.map +1 -1
- package/dist/meeting-stats-commands.d.ts +4 -2
- package/dist/meeting-stats-commands.d.ts.map +1 -1
- package/dist/meeting-stats-commands.js +27 -2
- package/dist/meeting-stats-commands.js.map +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +3 -2
- package/dist/program-bindings.js.map +1 -1
- package/dist/recording-schedule-setup.d.ts.map +1 -1
- package/dist/recording-schedule-setup.js +5 -5
- package/dist/recording-schedule-setup.js.map +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +2 -6
- package/dist/run.js.map +1 -1
- package/dist/setup-commands.d.ts +1 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +30 -8
- package/dist/setup-commands.js.map +1 -1
- package/dist/store-commands.d.ts.map +1 -1
- package/dist/store-commands.js +6 -0
- package/dist/store-commands.js.map +1 -1
- package/dist/store-connection.d.ts +2 -1
- package/dist/store-connection.d.ts.map +1 -1
- package/dist/store-connection.js +4 -0
- package/dist/store-connection.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/watch-service.d.ts +1 -1
- package/dist/watch-service.d.ts.map +1 -1
- package/dist/watch-service.js +5 -3
- package/dist/watch-service.js.map +1 -1
- package/dist/zoom-app.d.ts +17 -0
- package/dist/zoom-app.d.ts.map +1 -0
- package/dist/zoom-app.js +22 -0
- package/dist/zoom-app.js.map +1 -0
- package/package.json +4 -3
- package/skills/zoom-cli/SKILL.md +4 -1
- package/dist/bundle/answer-policy-YAYMKRRD.js +0 -101
- package/dist/bundle/chunk-L7IK4FOA.js +0 -18
- package/dist/bundle/command-contract-CQFJXWX6.js +0 -40
- package/dist/bundle/config-R2Y6ZVQS.js +0 -83
- package/dist/bundle/first-screen-MULOBUHN.js +0 -38
- package/dist/bundle/openai-VEVT7D7L.js +0 -25
- package/dist/bundle/server-IDNSJXF3.js +0 -71
- package/dist/bundle/store-connection-T5WGOOPH.js +0 -81
- package/dist/bundle/store-maintenance-command-5CBQCEQQ.js +0 -61
- /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-LU3WKZBA.js} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
queryFieldsOf,
|
|
9
9
|
timezoneOf,
|
|
10
10
|
validateQuery
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AAZFLJSH.js";
|
|
12
12
|
import {
|
|
13
13
|
STEPS,
|
|
14
14
|
array,
|
|
@@ -32,19 +32,19 @@ import {
|
|
|
32
32
|
strictObject,
|
|
33
33
|
string,
|
|
34
34
|
union
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-NTZDM5SJ.js";
|
|
36
36
|
import {
|
|
37
37
|
CliError
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-WZ5XK74U.js";
|
|
39
39
|
import {
|
|
40
40
|
singleLine,
|
|
41
41
|
visibleControls
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-6IBM4Z3V.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.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
48
48
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
49
49
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
50
50
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -62,8 +62,8 @@ var formatMeetingReference = /* @__PURE__ */ __name((reference2) => {
|
|
|
62
62
|
}
|
|
63
63
|
return `meeting:${parts.join("/")}`;
|
|
64
64
|
}, "formatMeetingReference");
|
|
65
|
-
var parseMeetingReference = /* @__PURE__ */ __name((
|
|
66
|
-
const value =
|
|
65
|
+
var parseMeetingReference = /* @__PURE__ */ __name((text8) => {
|
|
66
|
+
const value = text8.trim();
|
|
67
67
|
if (!value.startsWith("meeting:"))
|
|
68
68
|
throw invalid();
|
|
69
69
|
const parts = value.slice(8).split("/");
|
|
@@ -79,9 +79,9 @@ var parseMeetingReference = /* @__PURE__ */ __name((text9) => {
|
|
|
79
79
|
};
|
|
80
80
|
return reference2;
|
|
81
81
|
}, "parseMeetingReference");
|
|
82
|
-
var canonicalMeetingReference = /* @__PURE__ */ __name((
|
|
82
|
+
var canonicalMeetingReference = /* @__PURE__ */ __name((text8) => formatMeetingReference(parseMeetingReference(text8)), "canonicalMeetingReference");
|
|
83
83
|
|
|
84
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
84
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
85
85
|
var text = string();
|
|
86
86
|
var count = pipe(number(), integer(), minValue(0));
|
|
87
87
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -146,7 +146,7 @@ var MEETING_QUERY = {
|
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
148
|
|
|
149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
149
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
150
150
|
var text2 = string();
|
|
151
151
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
152
152
|
var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
@@ -260,7 +260,7 @@ var meetingSummaryItem = /* @__PURE__ */ __name((accountId, summary) => ({
|
|
|
260
260
|
source: summary.source,
|
|
261
261
|
title: summary.title,
|
|
262
262
|
overview: summary.overview,
|
|
263
|
-
sections: summary.sections.map(({ label: label2, text:
|
|
263
|
+
sections: summary.sections.map(({ label: label2, text: text8 }) => ({ label: label2, text: text8 })),
|
|
264
264
|
next_steps: summary.nextSteps,
|
|
265
265
|
content: summary.content,
|
|
266
266
|
url: summary.docUrl,
|
|
@@ -381,7 +381,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
381
381
|
};
|
|
382
382
|
}, "meetingHitsList");
|
|
383
383
|
|
|
384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
385
385
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
386
386
|
const parsed = urlOf(url);
|
|
387
387
|
if (!parsed)
|
|
@@ -415,15 +415,15 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
415
415
|
}
|
|
416
416
|
}, "urlOf");
|
|
417
417
|
|
|
418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
419
419
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
420
420
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
421
421
|
var htmlToText = /* @__PURE__ */ __name((html) => html.replace(/<\s*br\s*\/?>/giu, "\n").replace(/<\/\s*(p|div|li|tr|h[1-6])\s*>/giu, "\n").replace(/<a\s[^>]*href\s*=\s*"([^"]*)"[^>]*>/giu, " $1 ").replace(/<[^>]+>/gu, "").replace(/&(amp|lt|gt|quot|#39|apos|nbsp);/gu, (_, name) => ENTITIES[name] ?? ""), "htmlToText");
|
|
422
|
-
var withoutLinkQueries = /* @__PURE__ */ __name((
|
|
423
|
-
var calendarText = /* @__PURE__ */ __name((
|
|
424
|
-
if (!
|
|
422
|
+
var withoutLinkQueries = /* @__PURE__ */ __name((text8) => text8.replace(/https?:\/\/[^\s<>"')\]]+/giu, (url) => joinUrlWithoutQuery(url) ?? ""), "withoutLinkQueries");
|
|
423
|
+
var calendarText = /* @__PURE__ */ __name((text8, { dropSecretLines = true } = {}) => {
|
|
424
|
+
if (!text8)
|
|
425
425
|
return null;
|
|
426
|
-
const kept = htmlToText(
|
|
426
|
+
const kept = htmlToText(text8).split(/\r?\n/u).map((line2) => withoutLinkQueries(line2).replace(/[ \t]+/gu, " ").trim()).filter((line2) => !dropSecretLines || !SECRET_LINE.test(line2));
|
|
427
427
|
const joined = kept.join("\n").replace(/\n{3,}/gu, "\n\n").trim();
|
|
428
428
|
return joined || null;
|
|
429
429
|
}, "calendarText");
|
|
@@ -448,7 +448,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
448
448
|
return kept;
|
|
449
449
|
}, "entryMetadata");
|
|
450
450
|
|
|
451
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
451
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
452
452
|
import { createHash } from "node:crypto";
|
|
453
453
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
454
454
|
reference: cue2.reference,
|
|
@@ -462,7 +462,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
462
462
|
text: cue2.text
|
|
463
463
|
})).digest("hex"), "meetingCueFingerprint");
|
|
464
464
|
|
|
465
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
465
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
466
466
|
var EVENT_QUERY = defineQuery({
|
|
467
467
|
entity: "event",
|
|
468
468
|
backend: "sql",
|
|
@@ -478,7 +478,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
478
478
|
]
|
|
479
479
|
});
|
|
480
480
|
|
|
481
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
481
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
482
482
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
483
483
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
484
484
|
if (entry.recurrenceEndsAt !== null)
|
|
@@ -528,7 +528,7 @@ var eventChange = /* @__PURE__ */ __name((event2, entries, revisions, since) =>
|
|
|
528
528
|
return null;
|
|
529
529
|
}, "eventChange");
|
|
530
530
|
|
|
531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
532
532
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
|
|
533
533
|
const current = await store.meeting(details.meeting.id);
|
|
534
534
|
if (!current)
|
|
@@ -571,8 +571,8 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
571
571
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
572
572
|
}, "linkEvent");
|
|
573
573
|
|
|
574
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
575
|
-
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((
|
|
574
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
575
|
+
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text8) => text8.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
576
576
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
577
577
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
578
578
|
throw new CliError("validation_error", "participant query must contain 1\u2013500 characters without NUL");
|
|
@@ -595,7 +595,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
595
595
|
};
|
|
596
596
|
}, "validateMeetingParticipantSearch");
|
|
597
597
|
|
|
598
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
598
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
599
599
|
var MeetingError = class extends CliError {
|
|
600
600
|
static {
|
|
601
601
|
__name(this, "MeetingError");
|
|
@@ -699,11 +699,11 @@ var meetingsList = /* @__PURE__ */ __name(async (store, filter = {}, page = 1) =
|
|
|
699
699
|
} : {}
|
|
700
700
|
};
|
|
701
701
|
}, "meetingsList");
|
|
702
|
-
var meetingsQuery = /* @__PURE__ */ __name((
|
|
703
|
-
if (
|
|
702
|
+
var meetingsQuery = /* @__PURE__ */ __name((text8) => {
|
|
703
|
+
if (text8 === void 0 || text8.trim() === "")
|
|
704
704
|
return void 0;
|
|
705
705
|
const context3 = { command: "meetings list", guide: MEETING_QUERY_GUIDE };
|
|
706
|
-
const query = parseLucene(
|
|
706
|
+
const query = parseLucene(text8, { defaultField: "none", ...context3 });
|
|
707
707
|
validateQuery(query, MEETING_QUERY, context3);
|
|
708
708
|
return query;
|
|
709
709
|
}, "meetingsQuery");
|
|
@@ -727,7 +727,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id4, accountId)
|
|
|
727
727
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
728
728
|
}, "meetingSummaryAnswer");
|
|
729
729
|
|
|
730
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
730
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
731
731
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
732
732
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
733
733
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -736,10 +736,10 @@ var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
|
736
736
|
const seconds = Math.floor(milliseconds % 6e4 / 1e3);
|
|
737
737
|
return `${String(hours).padStart(2, "0")}:${String(minutes).padStart(2, "0")}:${String(seconds).padStart(2, "0")}.${String(milliseconds % 1e3).padStart(3, "0")}`;
|
|
738
738
|
}, "timestamp");
|
|
739
|
-
var vttText = /* @__PURE__ */ __name((
|
|
740
|
-
if (visibleControls(
|
|
739
|
+
var vttText = /* @__PURE__ */ __name((text8) => {
|
|
740
|
+
if (visibleControls(text8) !== text8 || /\n\s*\n/.test(text8))
|
|
741
741
|
throw new MeetingError("validation_error", "cue paragraphs or control characters require Markdown export");
|
|
742
|
-
return
|
|
742
|
+
return text8.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">");
|
|
743
743
|
}, "vttText");
|
|
744
744
|
var serializeVtt = /* @__PURE__ */ __name((lines) => `WEBVTT
|
|
745
745
|
|
|
@@ -757,9 +757,9 @@ ${speaker}${vttText(line2.text)}
|
|
|
757
757
|
|
|
758
758
|
`;
|
|
759
759
|
}).join("")}`, "serializeVtt");
|
|
760
|
-
var markdown = /* @__PURE__ */ __name((
|
|
761
|
-
var heading = /* @__PURE__ */ __name((
|
|
762
|
-
var quote = /* @__PURE__ */ __name((
|
|
760
|
+
var markdown = /* @__PURE__ */ __name((text8) => visibleControls(text8).replace(/[\\`*_{}[\]()<>#+.!|~]/g, "\\$&"), "markdown");
|
|
761
|
+
var heading = /* @__PURE__ */ __name((text8) => markdown(singleLine(text8)), "heading");
|
|
762
|
+
var quote = /* @__PURE__ */ __name((text8) => markdown(text8).split(/\r\n|\r|\n/).map((line2) => `> ${line2}`).join("\n"), "quote");
|
|
763
763
|
var transcriptsOf = /* @__PURE__ */ __name((details, transcriptId) => {
|
|
764
764
|
if (transcriptId !== void 0) {
|
|
765
765
|
positiveInteger(transcriptId);
|
|
@@ -823,11 +823,11 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id4, options) => {
|
|
|
823
823
|
};
|
|
824
824
|
}, "exportMeeting");
|
|
825
825
|
|
|
826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
827
827
|
import { createHash as createHash2 } from "node:crypto";
|
|
828
828
|
|
|
829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
830
|
-
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"
|
|
829
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/payment.js
|
|
830
|
+
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
831
831
|
var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
|
|
832
832
|
var PAYMENT_STATES = ["expected", "paid", "cancelled"];
|
|
833
833
|
var invalid2 = /* @__PURE__ */ __name((message) => {
|
|
@@ -848,7 +848,7 @@ var amountOf = /* @__PURE__ */ __name((value) => {
|
|
|
848
848
|
var dateOf = /* @__PURE__ */ __name((value) => {
|
|
849
849
|
const date2 = typeof value === "string" ? value.trim() : "";
|
|
850
850
|
if (!/^\d{4}-\d{2}-\d{2}$/.test(date2) || (/* @__PURE__ */ new Date(`${date2}T00:00:00Z`)).toISOString().slice(0, 10) !== date2)
|
|
851
|
-
return invalid2("a payment's
|
|
851
|
+
return invalid2("a payment's dates are ISO dates, such as 2026-10-31");
|
|
852
852
|
return date2;
|
|
853
853
|
}, "dateOf");
|
|
854
854
|
var optionalText = /* @__PURE__ */ __name((value, what, limit) => {
|
|
@@ -863,7 +863,17 @@ var oneOf = /* @__PURE__ */ __name((value, allowed, what) => {
|
|
|
863
863
|
return invalid2(`a payment's ${what} is one of ${allowed.join(", ")}`);
|
|
864
864
|
return value;
|
|
865
865
|
}, "oneOf");
|
|
866
|
-
var FIELDS = [
|
|
866
|
+
var FIELDS = [
|
|
867
|
+
"amount",
|
|
868
|
+
"currency",
|
|
869
|
+
"direction",
|
|
870
|
+
"counterparty",
|
|
871
|
+
"counterparty_name",
|
|
872
|
+
"due_at",
|
|
873
|
+
"state",
|
|
874
|
+
"item",
|
|
875
|
+
"paid_at"
|
|
876
|
+
];
|
|
867
877
|
var validatePayment = /* @__PURE__ */ __name((input) => {
|
|
868
878
|
if (!input || typeof input !== "object" || Array.isArray(input))
|
|
869
879
|
return invalid2("a payment is an object");
|
|
@@ -877,6 +887,9 @@ var validatePayment = /* @__PURE__ */ __name((input) => {
|
|
|
877
887
|
const counterparty = optionalText(raw.counterparty, "counterparty", 80);
|
|
878
888
|
if (counterparty !== null && !COUNTERPARTY.test(counterparty))
|
|
879
889
|
return invalid2("a payment's counterparty is a person:, organization: or project: reference");
|
|
890
|
+
const state = oneOf(raw.state, PAYMENT_STATES, "state");
|
|
891
|
+
if (raw.paid_at != null && state !== "paid")
|
|
892
|
+
return invalid2("only a paid payment has paid_at");
|
|
880
893
|
return {
|
|
881
894
|
amount: amountOf(raw.amount),
|
|
882
895
|
currency,
|
|
@@ -884,8 +897,10 @@ var validatePayment = /* @__PURE__ */ __name((input) => {
|
|
|
884
897
|
counterparty,
|
|
885
898
|
counterparty_name: optionalText(raw.counterparty_name, "counterparty name", 200),
|
|
886
899
|
due_at: raw.due_at === void 0 || raw.due_at === null ? null : dateOf(raw.due_at),
|
|
887
|
-
state
|
|
888
|
-
item: optionalText(raw.item, "item", 200)
|
|
900
|
+
state,
|
|
901
|
+
item: optionalText(raw.item, "item", 200),
|
|
902
|
+
// Left out when absent, so a finding staged before the field keeps its fingerprint.
|
|
903
|
+
...raw.paid_at == null ? {} : { paid_at: dateOf(raw.paid_at) }
|
|
889
904
|
};
|
|
890
905
|
}, "validatePayment");
|
|
891
906
|
var grouped = /* @__PURE__ */ __name((amount) => {
|
|
@@ -905,7 +920,7 @@ var paymentTitle = /* @__PURE__ */ __name((fact) => {
|
|
|
905
920
|
return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
|
|
906
921
|
}, "paymentTitle");
|
|
907
922
|
|
|
908
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
923
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
909
924
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
910
925
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
911
926
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone`);
|
|
@@ -916,132 +931,152 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
916
931
|
return new Date(value).toISOString();
|
|
917
932
|
}, "meetingTimestamp");
|
|
918
933
|
|
|
919
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
934
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
920
935
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
921
936
|
var invalid3 = /* @__PURE__ */ __name((message) => {
|
|
922
937
|
throw new CliError("validation_error", message);
|
|
923
938
|
}, "invalid");
|
|
924
|
-
var
|
|
939
|
+
var findingText = /* @__PURE__ */ __name((value, limit) => {
|
|
925
940
|
if (typeof value !== "string" || !value.trim() || value.includes("\0") || value.length > limit)
|
|
926
941
|
return invalid3(`finding text must contain 1\u2013${limit} characters without NUL`);
|
|
927
942
|
return value.trim();
|
|
928
|
-
}, "
|
|
943
|
+
}, "findingText");
|
|
929
944
|
var findingHash = /* @__PURE__ */ __name((value) => createHash2("sha256").update(JSON.stringify(value)).digest("hex"), "findingHash");
|
|
930
|
-
var
|
|
945
|
+
var findingFields = /* @__PURE__ */ __name((value, allowed, noun) => {
|
|
931
946
|
if (Object.keys(value).some((key) => !allowed.includes(key)))
|
|
932
947
|
invalid3(`unknown ${noun} field`);
|
|
933
|
-
}, "
|
|
948
|
+
}, "findingFields");
|
|
934
949
|
var SUBJECT = /^(person|organization|project):[1-9]\d*$|^task:[A-Za-z0-9][A-Za-z0-9_.-]{0,63}$/;
|
|
935
|
-
var
|
|
950
|
+
var validEvidence = /* @__PURE__ */ __name((raw, rules) => {
|
|
951
|
+
if (!Array.isArray(raw) || raw.length < 1 || raw.length > 8)
|
|
952
|
+
return invalid3(`a finding requires 1\u20138 cited ${rules.cited}s`);
|
|
953
|
+
const evidence = raw.map((item) => {
|
|
954
|
+
if (!item || typeof item !== "object")
|
|
955
|
+
return invalid3("finding evidence is a reference and fingerprint");
|
|
956
|
+
findingFields(item, ["reference", "fingerprint"], rules.singular);
|
|
957
|
+
if (typeof item.reference !== "string" || typeof item.fingerprint !== "string")
|
|
958
|
+
return invalid3("evidence requires a reference and fingerprint");
|
|
959
|
+
const reference2 = rules.reference(item.reference);
|
|
960
|
+
if (!/^[a-f0-9]{64}$/.test(item.fingerprint))
|
|
961
|
+
return invalid3(`finding evidence requires exact ${rules.cited} references and fingerprints`);
|
|
962
|
+
return { reference: reference2, fingerprint: item.fingerprint };
|
|
963
|
+
}).sort((a, b) => a.reference.localeCompare(b.reference));
|
|
964
|
+
if (new Set(evidence.map((item) => item.reference)).size !== evidence.length)
|
|
965
|
+
return invalid3(`duplicate evidence ${rules.cited}`);
|
|
966
|
+
return evidence;
|
|
967
|
+
}, "validEvidence");
|
|
968
|
+
var findingId = /* @__PURE__ */ __name((raw, ids2) => {
|
|
969
|
+
const id4 = findingText(raw, 64);
|
|
970
|
+
if (!/^[a-zA-Z0-9][a-zA-Z0-9_.:-]*$/.test(id4) || ids2.has(id4))
|
|
971
|
+
return invalid3("finding IDs must be unique simple keys");
|
|
972
|
+
ids2.add(id4);
|
|
973
|
+
return id4;
|
|
974
|
+
}, "findingId");
|
|
975
|
+
var validateFinding = /* @__PURE__ */ __name((finding, rules, ids2) => {
|
|
976
|
+
if (!finding || typeof finding !== "object")
|
|
977
|
+
return invalid3("a finding is an object");
|
|
978
|
+
const id4 = findingId(finding.id, ids2);
|
|
979
|
+
const project = finding.project === void 0 && rules.anySubject ? void 0 : findingText(finding.project, 64);
|
|
980
|
+
if (project !== void 0 && !/^project:[1-9]\d*$/.test(project))
|
|
981
|
+
return invalid3("a finding names a project reference");
|
|
982
|
+
if (finding.subject !== void 0 && (!rules.anySubject || !SUBJECT.test(findingText(finding.subject, 80))))
|
|
983
|
+
return invalid3("a finding's subject is a person:, organization:, task: or project: reference");
|
|
984
|
+
if (finding.kind === "task" && project === void 0 && !rules.inboxTasks)
|
|
985
|
+
return invalid3("a task finding names the project the task goes in");
|
|
986
|
+
const evidence = validEvidence(finding.evidence, rules);
|
|
987
|
+
const base = {
|
|
988
|
+
id: id4,
|
|
989
|
+
...project === void 0 ? {} : { project },
|
|
990
|
+
...finding.subject === void 0 ? {} : { subject: finding.subject },
|
|
991
|
+
evidence
|
|
992
|
+
};
|
|
993
|
+
if (finding.kind === "fact") {
|
|
994
|
+
findingFields(finding, ["id", "project", "subject", "evidence", "kind", "type", "statement"], rules.singular);
|
|
995
|
+
if (finding.type === "payment")
|
|
996
|
+
return invalid3("a payment is a finding of kind payment; money is a payments row, not a fact");
|
|
997
|
+
if (!FACT_TYPES.includes(finding.type))
|
|
998
|
+
return invalid3("unknown fact finding type");
|
|
999
|
+
return { ...base, kind: "fact", type: finding.type, statement: findingText(finding.statement, 2e3) };
|
|
1000
|
+
}
|
|
1001
|
+
if (finding.kind === "payment" && rules.payments) {
|
|
1002
|
+
findingFields(finding, ["id", "project", "subject", "evidence", "kind", "statement", "payment", "supersedes"], rules.singular);
|
|
1003
|
+
if (finding.supersedes !== void 0 && !/^invoice:[1-9]\d*$/.test(String(finding.supersedes)))
|
|
1004
|
+
return invalid3("a payment finding supersedes an invoice: reference, the expected payment it settles or voids");
|
|
1005
|
+
const payment = validatePayment(finding.payment);
|
|
1006
|
+
if (payment.state === "expected" && finding.supersedes !== void 0)
|
|
1007
|
+
return invalid3("an expected payment supersedes nothing; a paid or cancelled one supersedes its invoice");
|
|
1008
|
+
if (payment.state === "cancelled" && finding.supersedes === void 0)
|
|
1009
|
+
return invalid3("a cancelled payment names the invoice: it cancels in supersedes");
|
|
1010
|
+
if (payment.state === "expected" && !/^(person|organization):/.test(payment.counterparty ?? ""))
|
|
1011
|
+
return invalid3("an expected payment becomes an invoice, which names its counterparty as a person: or organization:");
|
|
1012
|
+
return {
|
|
1013
|
+
...base,
|
|
1014
|
+
kind: "payment",
|
|
1015
|
+
...finding.statement === void 0 ? {} : { statement: findingText(finding.statement, 2e3) },
|
|
1016
|
+
payment,
|
|
1017
|
+
...finding.supersedes === void 0 ? {} : { supersedes: finding.supersedes }
|
|
1018
|
+
};
|
|
1019
|
+
}
|
|
1020
|
+
if (finding.kind !== "task")
|
|
1021
|
+
return invalid3(`a finding is a fact${rules.payments ? ", payment" : ""} or task`);
|
|
1022
|
+
findingFields(finding, [
|
|
1023
|
+
"id",
|
|
1024
|
+
"project",
|
|
1025
|
+
"evidence",
|
|
1026
|
+
"kind",
|
|
1027
|
+
"type",
|
|
1028
|
+
"title",
|
|
1029
|
+
"reason",
|
|
1030
|
+
"commitment",
|
|
1031
|
+
"dueAt",
|
|
1032
|
+
"dueEvidence",
|
|
1033
|
+
"assignee",
|
|
1034
|
+
"assigneeEvidence"
|
|
1035
|
+
], rules.singular);
|
|
1036
|
+
if (!TASK_TYPES.includes(finding.type))
|
|
1037
|
+
return invalid3("a task finding type is bug, chore or feature");
|
|
1038
|
+
if (!["explicit", "inferred"].includes(finding.commitment))
|
|
1039
|
+
return invalid3("task commitment must be explicit or inferred");
|
|
1040
|
+
if (finding.dueAt === void 0 !== (finding.dueEvidence === void 0) || finding.assignee === void 0 !== (finding.assigneeEvidence === void 0))
|
|
1041
|
+
return invalid3("optional dates and assignees require their supporting evidence");
|
|
1042
|
+
if (finding.assignee !== void 0 && (typeof finding.assignee !== "string" || !/^person:[1-9]\d*$/.test(finding.assignee)))
|
|
1043
|
+
return invalid3("an assignee must be a person reference");
|
|
1044
|
+
return {
|
|
1045
|
+
...base,
|
|
1046
|
+
kind: "task",
|
|
1047
|
+
type: finding.type,
|
|
1048
|
+
title: findingText(finding.title, 300),
|
|
1049
|
+
reason: findingText(finding.reason, 2e3),
|
|
1050
|
+
commitment: finding.commitment,
|
|
1051
|
+
...finding.dueAt === void 0 ? {} : {
|
|
1052
|
+
dueAt: meetingTimestamp(finding.dueAt, "finding due date"),
|
|
1053
|
+
dueEvidence: support(finding.dueEvidence, evidence)
|
|
1054
|
+
},
|
|
1055
|
+
...finding.assignee === void 0 ? {} : { assignee: finding.assignee, assigneeEvidence: support(finding.assigneeEvidence, evidence) }
|
|
1056
|
+
};
|
|
1057
|
+
}, "validateFinding");
|
|
1058
|
+
var support = /* @__PURE__ */ __name((value, evidence) => {
|
|
1059
|
+
if (!Array.isArray(value) || value.length < 1 || value.length > 8 || value.some((ref) => typeof ref !== "string" || !evidence.some((item) => item.reference === ref)))
|
|
1060
|
+
return invalid3("date and assignee support must cite the finding's evidence");
|
|
1061
|
+
return [...new Set(value)].sort();
|
|
1062
|
+
}, "support");
|
|
1063
|
+
var validateBatch = /* @__PURE__ */ __name((input, rules, most, one) => {
|
|
936
1064
|
if (!input || typeof input !== "object" || Buffer.byteLength(JSON.stringify(input), "utf8") > 65536)
|
|
937
1065
|
return invalid3(`${rules.plural} take at most 65536 UTF-8 bytes`);
|
|
938
|
-
|
|
939
|
-
if (input.schemaVersion !== 1 || !Array.isArray(input.findings) || input.findings.length < 1 || input.findings.length >
|
|
940
|
-
return invalid3(`schemaVersion 1 takes 1\
|
|
941
|
-
const key =
|
|
1066
|
+
findingFields(input, ["schemaVersion", "key", "extractor", "findings"], rules.singular);
|
|
1067
|
+
if (input.schemaVersion !== 1 || !Array.isArray(input.findings) || input.findings.length < 1 || input.findings.length > most)
|
|
1068
|
+
return invalid3(`schemaVersion 1 takes 1\u2013${most} ${rules.plural}`);
|
|
1069
|
+
const key = findingText(input.key, 64);
|
|
942
1070
|
if (!/^[a-zA-Z0-9][a-zA-Z0-9_.:-]*$/.test(key))
|
|
943
1071
|
return invalid3("a findings key uses letters, digits, dot, colon, underscore or hyphen");
|
|
944
1072
|
const ids2 = /* @__PURE__ */ new Set();
|
|
945
|
-
const findings = input.findings.map((finding) =>
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
if (!/^[a-zA-Z0-9][a-zA-Z0-9_.:-]*$/.test(id4) || ids2.has(id4))
|
|
950
|
-
return invalid3("finding IDs must be unique simple keys");
|
|
951
|
-
ids2.add(id4);
|
|
952
|
-
const project = finding.project === void 0 && rules.anySubject ? void 0 : text3(finding.project, 64);
|
|
953
|
-
if (project !== void 0 && !/^project:[1-9]\d*$/.test(project))
|
|
954
|
-
return invalid3("a finding names a project reference");
|
|
955
|
-
if (finding.subject !== void 0 && (!rules.anySubject || !SUBJECT.test(text3(finding.subject, 80))))
|
|
956
|
-
return invalid3("a finding's subject is a person:, organization:, task: or project: reference");
|
|
957
|
-
if (finding.kind === "task" && project === void 0)
|
|
958
|
-
return invalid3("a task finding names the project the task goes in");
|
|
959
|
-
if (!Array.isArray(finding.evidence) || finding.evidence.length < 1 || finding.evidence.length > 8)
|
|
960
|
-
return invalid3(`a finding requires 1\u20138 cited ${rules.cited}s`);
|
|
961
|
-
const evidence = finding.evidence.map((item) => {
|
|
962
|
-
if (!item || typeof item !== "object")
|
|
963
|
-
return invalid3("finding evidence is a reference and fingerprint");
|
|
964
|
-
fields(item, ["reference", "fingerprint"], rules.singular);
|
|
965
|
-
if (typeof item.reference !== "string" || typeof item.fingerprint !== "string")
|
|
966
|
-
return invalid3("evidence requires a reference and fingerprint");
|
|
967
|
-
const reference2 = rules.reference(item.reference);
|
|
968
|
-
if (!/^[a-f0-9]{64}$/.test(item.fingerprint))
|
|
969
|
-
return invalid3(`finding evidence requires exact ${rules.cited} references and fingerprints`);
|
|
970
|
-
return { reference: reference2, fingerprint: item.fingerprint };
|
|
971
|
-
}).sort((a, b) => a.reference.localeCompare(b.reference));
|
|
972
|
-
if (new Set(evidence.map((item) => item.reference)).size !== evidence.length)
|
|
973
|
-
return invalid3(`duplicate evidence ${rules.cited}`);
|
|
974
|
-
const base = {
|
|
975
|
-
id: id4,
|
|
976
|
-
...project === void 0 ? {} : { project },
|
|
977
|
-
...finding.subject === void 0 ? {} : { subject: finding.subject },
|
|
978
|
-
evidence
|
|
979
|
-
};
|
|
980
|
-
if (finding.kind === "fact") {
|
|
981
|
-
fields(finding, ["id", "project", "subject", "evidence", "kind", "type", "statement"], rules.singular);
|
|
982
|
-
if (finding.type === "payment")
|
|
983
|
-
return invalid3("a payment is a finding of kind payment");
|
|
984
|
-
if (!FACT_TYPES.includes(finding.type))
|
|
985
|
-
return invalid3("unknown fact finding type");
|
|
986
|
-
return { ...base, kind: "fact", type: finding.type, statement: text3(finding.statement, 2e3) };
|
|
987
|
-
}
|
|
988
|
-
if (finding.kind === "payment" && rules.payments) {
|
|
989
|
-
fields(finding, ["id", "project", "subject", "evidence", "kind", "statement", "payment", "supersedes"], rules.singular);
|
|
990
|
-
if (finding.supersedes !== void 0 && !/^fact:[1-9]\d*$/.test(String(finding.supersedes)))
|
|
991
|
-
return invalid3("a payment finding supersedes a fact: reference");
|
|
992
|
-
return {
|
|
993
|
-
...base,
|
|
994
|
-
kind: "payment",
|
|
995
|
-
...finding.statement === void 0 ? {} : { statement: text3(finding.statement, 2e3) },
|
|
996
|
-
payment: validatePayment(finding.payment),
|
|
997
|
-
...finding.supersedes === void 0 ? {} : { supersedes: finding.supersedes }
|
|
998
|
-
};
|
|
999
|
-
}
|
|
1000
|
-
if (finding.kind !== "task")
|
|
1001
|
-
return invalid3(`a finding is a fact${rules.payments ? ", payment" : ""} or task`);
|
|
1002
|
-
fields(finding, [
|
|
1003
|
-
"id",
|
|
1004
|
-
"project",
|
|
1005
|
-
"evidence",
|
|
1006
|
-
"kind",
|
|
1007
|
-
"type",
|
|
1008
|
-
"title",
|
|
1009
|
-
"reason",
|
|
1010
|
-
"commitment",
|
|
1011
|
-
"dueAt",
|
|
1012
|
-
"dueEvidence",
|
|
1013
|
-
"assignee",
|
|
1014
|
-
"assigneeEvidence"
|
|
1015
|
-
], rules.singular);
|
|
1016
|
-
if (!TASK_TYPES.includes(finding.type))
|
|
1017
|
-
return invalid3("a task finding type is bug, chore or feature");
|
|
1018
|
-
if (!["explicit", "inferred"].includes(finding.commitment))
|
|
1019
|
-
return invalid3("task commitment must be explicit or inferred");
|
|
1020
|
-
const support = /* @__PURE__ */ __name((value) => {
|
|
1021
|
-
if (!Array.isArray(value) || value.length < 1 || value.length > 8 || value.some((ref) => typeof ref !== "string" || !evidence.some((item) => item.reference === ref)))
|
|
1022
|
-
return invalid3("date and assignee support must cite the finding's evidence");
|
|
1023
|
-
return [...new Set(value)].sort();
|
|
1024
|
-
}, "support");
|
|
1025
|
-
if (finding.dueAt === void 0 !== (finding.dueEvidence === void 0) || finding.assignee === void 0 !== (finding.assigneeEvidence === void 0))
|
|
1026
|
-
return invalid3("optional dates and assignees require their supporting evidence");
|
|
1027
|
-
if (finding.assignee !== void 0 && (typeof finding.assignee !== "string" || !/^person:[1-9]\d*$/.test(finding.assignee)))
|
|
1028
|
-
return invalid3("an assignee must be a person reference");
|
|
1029
|
-
return {
|
|
1030
|
-
...base,
|
|
1031
|
-
kind: "task",
|
|
1032
|
-
type: finding.type,
|
|
1033
|
-
title: text3(finding.title, 300),
|
|
1034
|
-
reason: text3(finding.reason, 2e3),
|
|
1035
|
-
commitment: finding.commitment,
|
|
1036
|
-
...finding.dueAt === void 0 ? {} : { dueAt: meetingTimestamp(finding.dueAt, "finding due date"), dueEvidence: support(finding.dueEvidence) },
|
|
1037
|
-
...finding.assignee === void 0 ? {} : { assignee: finding.assignee, assigneeEvidence: support(finding.assigneeEvidence) }
|
|
1038
|
-
};
|
|
1039
|
-
});
|
|
1040
|
-
return { schemaVersion: 1, key, extractor: text3(input.extractor, 200), findings };
|
|
1041
|
-
}, "validateFindings");
|
|
1073
|
+
const findings = input.findings.map((finding) => one(finding, ids2));
|
|
1074
|
+
return { schemaVersion: 1, key, extractor: findingText(input.extractor, 200), findings };
|
|
1075
|
+
}, "validateBatch");
|
|
1076
|
+
var validateFindings = /* @__PURE__ */ __name((input, rules) => validateBatch(input, rules, 16, (finding, ids2) => validateFinding(finding, rules, ids2)), "validateFindings");
|
|
1042
1077
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
1043
1078
|
|
|
1044
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1079
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
1045
1080
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
1046
1081
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
1047
1082
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -1052,7 +1087,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
1052
1087
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
1053
1088
|
var meetingFindingFingerprint = findingFingerprint;
|
|
1054
1089
|
|
|
1055
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1090
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
1056
1091
|
var context = {
|
|
1057
1092
|
command: "search meetings",
|
|
1058
1093
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -1160,9 +1195,9 @@ var liftMeetingFields = /* @__PURE__ */ __name((query, request, now) => {
|
|
|
1160
1195
|
return { query: rest, request: next };
|
|
1161
1196
|
}, "liftMeetingFields");
|
|
1162
1197
|
var parseMeetingQuery = /* @__PURE__ */ __name((query) => validateQuery(parseLucene(query, { defaultField: "text", proximity: true, ...context }), MEETING_HIT_QUERY, context), "parseMeetingQuery");
|
|
1163
|
-
var meetingWordsQuery = /* @__PURE__ */ __name((
|
|
1164
|
-
const found =
|
|
1165
|
-
const span = { start: 0, end:
|
|
1198
|
+
var meetingWordsQuery = /* @__PURE__ */ __name((text8) => {
|
|
1199
|
+
const found = text8.match(/[\p{L}\p{N}\p{M}]+/gu) ?? [];
|
|
1200
|
+
const span = { start: 0, end: text8.length };
|
|
1166
1201
|
const clauses = found.map((value) => ({
|
|
1167
1202
|
occur: "must",
|
|
1168
1203
|
node: { kind: "predicate", field: "text", operator: "term", value, span }
|
|
@@ -1171,7 +1206,7 @@ var meetingWordsQuery = /* @__PURE__ */ __name((text9) => {
|
|
|
1171
1206
|
return { version: 1, language: "lucene-v1", root };
|
|
1172
1207
|
}, "meetingWordsQuery");
|
|
1173
1208
|
|
|
1174
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1209
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/language.js
|
|
1175
1210
|
var LATIN_WORDS = {
|
|
1176
1211
|
en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
|
|
1177
1212
|
es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
|
|
@@ -1186,11 +1221,11 @@ var CYRILLIC = new RegExp("\\p{Script=Cyrillic}", "gu");
|
|
|
1186
1221
|
var LATIN = new RegExp("\\p{Script=Latin}", "gu");
|
|
1187
1222
|
var MIN_LETTERS = 20;
|
|
1188
1223
|
var DOMINANT = 0.75;
|
|
1189
|
-
var countOf = /* @__PURE__ */ __name((
|
|
1224
|
+
var countOf = /* @__PURE__ */ __name((text8, pattern) => text8.match(pattern)?.length ?? 0, "countOf");
|
|
1190
1225
|
var latinLanguage = /* @__PURE__ */ __name((texts) => {
|
|
1191
1226
|
const votes = /* @__PURE__ */ new Map();
|
|
1192
|
-
for (const
|
|
1193
|
-
for (const word of
|
|
1227
|
+
for (const text8 of texts)
|
|
1228
|
+
for (const word of text8.toLowerCase().split(/[^\p{L}]+/u)) {
|
|
1194
1229
|
const language = LATIN_LANGUAGE.get(word);
|
|
1195
1230
|
if (language)
|
|
1196
1231
|
votes.set(language, (votes.get(language) ?? 0) + 1);
|
|
@@ -1205,10 +1240,10 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
|
|
|
1205
1240
|
let cyrillic = 0;
|
|
1206
1241
|
let latin = 0;
|
|
1207
1242
|
let ukrainian = 0;
|
|
1208
|
-
for (const
|
|
1209
|
-
cyrillic += countOf(
|
|
1210
|
-
latin += countOf(
|
|
1211
|
-
ukrainian += countOf(
|
|
1243
|
+
for (const text8 of all) {
|
|
1244
|
+
cyrillic += countOf(text8, CYRILLIC);
|
|
1245
|
+
latin += countOf(text8, LATIN);
|
|
1246
|
+
ukrainian += countOf(text8, UKRAINIAN);
|
|
1212
1247
|
}
|
|
1213
1248
|
const letters = cyrillic + latin;
|
|
1214
1249
|
if (letters < MIN_LETTERS)
|
|
@@ -1220,9 +1255,9 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
|
|
|
1220
1255
|
return null;
|
|
1221
1256
|
}, "transcriptLanguage");
|
|
1222
1257
|
|
|
1223
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1224
|
-
var contentHash = /* @__PURE__ */ __name(async (
|
|
1225
|
-
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(
|
|
1258
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
1259
|
+
var contentHash = /* @__PURE__ */ __name(async (text8) => {
|
|
1260
|
+
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text8));
|
|
1226
1261
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
1227
1262
|
}, "contentHash");
|
|
1228
1263
|
var speakerPosition = /* @__PURE__ */ __name((name, participants) => {
|
|
@@ -1257,7 +1292,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
1257
1292
|
return time;
|
|
1258
1293
|
}, "timestamp");
|
|
1259
1294
|
|
|
1260
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1295
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
1261
1296
|
var TranscriptTextError = class extends Error {
|
|
1262
1297
|
static {
|
|
1263
1298
|
__name(this, "TranscriptTextError");
|
|
@@ -1274,10 +1309,10 @@ var LINE = /^\[(\d{2,}):([0-5]\d):([0-5]\d)\]\s*(?:([^:\n]{1,60}):\s*)?([\s\S]*)
|
|
|
1274
1309
|
var RULE = /^[—–-]{10,}[^\n]*(?:\n|$)/;
|
|
1275
1310
|
var EMPTY = /* @__PURE__ */ new Set(["", "\u2014", "-"]);
|
|
1276
1311
|
var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
1277
|
-
const
|
|
1312
|
+
const text8 = input.replace(/^/, "").replace(/\r\n?/g, "\n");
|
|
1278
1313
|
const header = { title: null, date: null, meetingId: null, speakers: [] };
|
|
1279
1314
|
let sawHeader = false;
|
|
1280
|
-
for (const line2 of
|
|
1315
|
+
for (const line2 of text8.split("\n")) {
|
|
1281
1316
|
if (!line2.trim())
|
|
1282
1317
|
break;
|
|
1283
1318
|
for (const [prefix, key] of Object.entries(HEADER)) {
|
|
@@ -1294,7 +1329,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
1294
1329
|
if (!sawHeader)
|
|
1295
1330
|
throw new TranscriptTextError('a text transcript starts with a header such as "\u0412\u0441\u0442\u0440\u0435\u0447\u0430: \u2026"');
|
|
1296
1331
|
const found = [];
|
|
1297
|
-
for (const block of
|
|
1332
|
+
for (const block of text8.split(/\n\s*\n/)) {
|
|
1298
1333
|
const match = LINE.exec(block.trim().replace(RULE, ""));
|
|
1299
1334
|
if (!match)
|
|
1300
1335
|
continue;
|
|
@@ -1312,7 +1347,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
1312
1347
|
return { header, lines };
|
|
1313
1348
|
}, "parseTranscriptText");
|
|
1314
1349
|
|
|
1315
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1350
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
1316
1351
|
var VttError = class extends Error {
|
|
1317
1352
|
static {
|
|
1318
1353
|
__name(this, "VttError");
|
|
@@ -1328,12 +1363,12 @@ var millis = /* @__PURE__ */ __name((stamp, lineNo) => {
|
|
|
1328
1363
|
const [, hours = "0", minutes = "0", seconds = "0", ms = "0"] = match;
|
|
1329
1364
|
return ((Number(hours) * 60 + Number(minutes)) * 60 + Number(seconds)) * 1e3 + Number(ms);
|
|
1330
1365
|
}, "millis");
|
|
1331
|
-
var splitSpeaker = /* @__PURE__ */ __name((
|
|
1332
|
-
const firstLine =
|
|
1366
|
+
var splitSpeaker = /* @__PURE__ */ __name((text8) => {
|
|
1367
|
+
const firstLine = text8.split("\n", 1)[0] ?? "";
|
|
1333
1368
|
const at = firstLine.indexOf(": ");
|
|
1334
1369
|
if (at <= 0)
|
|
1335
|
-
return { speaker: null, text:
|
|
1336
|
-
return { speaker: firstLine.slice(0, at).trim(), text:
|
|
1370
|
+
return { speaker: null, text: text8 };
|
|
1371
|
+
return { speaker: firstLine.slice(0, at).trim(), text: text8.slice(at + 2) };
|
|
1337
1372
|
}, "splitSpeaker");
|
|
1338
1373
|
var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
1339
1374
|
const lines = input.replace(/^/, "").split(/\r\n|\r|\n/);
|
|
@@ -1358,13 +1393,13 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
1358
1393
|
const lineNo = start + timingAt + 1;
|
|
1359
1394
|
const [from = "", rest = ""] = (block[timingAt] ?? "").split("-->");
|
|
1360
1395
|
const to = rest.trim().split(/\s+/)[0] ?? "";
|
|
1361
|
-
const
|
|
1362
|
-
cues.push({ startMs: millis(from.trim(), lineNo), endMs: millis(to, lineNo), ...splitSpeaker(
|
|
1396
|
+
const text8 = block.slice(timingAt + 1).join("\n").trim();
|
|
1397
|
+
cues.push({ startMs: millis(from.trim(), lineNo), endMs: millis(to, lineNo), ...splitSpeaker(text8) });
|
|
1363
1398
|
}
|
|
1364
1399
|
return cues;
|
|
1365
1400
|
}, "parseVtt");
|
|
1366
1401
|
|
|
1367
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
1368
1403
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
1369
1404
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
1370
1405
|
for (const file of files) {
|
|
@@ -1397,10 +1432,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
1397
1432
|
return report;
|
|
1398
1433
|
}, "importFiles");
|
|
1399
1434
|
|
|
1400
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1435
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
1401
1436
|
var CHAT_MESSAGES_READ = 1e5;
|
|
1402
1437
|
|
|
1403
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1438
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/provider.js
|
|
1404
1439
|
var snapshotMeetingScope = /* @__PURE__ */ __name((scope3) => {
|
|
1405
1440
|
const provider = scope3?.provider;
|
|
1406
1441
|
const account = scope3?.account;
|
|
@@ -1409,7 +1444,7 @@ var snapshotMeetingScope = /* @__PURE__ */ __name((scope3) => {
|
|
|
1409
1444
|
return Object.freeze({ provider, account });
|
|
1410
1445
|
}, "snapshotMeetingScope");
|
|
1411
1446
|
|
|
1412
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1447
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
1413
1448
|
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
1414
1449
|
if (typeof value !== "string" || !value.trim())
|
|
1415
1450
|
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
@@ -1544,19 +1579,19 @@ var createMeetingManagement = /* @__PURE__ */ __name((scope3, ports) => {
|
|
|
1544
1579
|
};
|
|
1545
1580
|
}, "createMeetingManagement");
|
|
1546
1581
|
|
|
1547
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1582
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/meeting-context.js
|
|
1548
1583
|
var id = /* @__PURE__ */ __name((value) => {
|
|
1549
1584
|
if (typeof value !== "number" || !Number.isSafeInteger(value) || value < 1)
|
|
1550
1585
|
throw new CliError("validation_error", "meeting context identifiers must be positive integers");
|
|
1551
1586
|
return value;
|
|
1552
1587
|
}, "id");
|
|
1553
|
-
var
|
|
1588
|
+
var text3 = /* @__PURE__ */ __name((value, max) => {
|
|
1554
1589
|
if (typeof value !== "string" || !value.trim() || value.length > max || value.includes("\0"))
|
|
1555
1590
|
throw new CliError("validation_error", `meeting context text must contain 1\u2013${max} characters without NUL`);
|
|
1556
1591
|
return value.trim();
|
|
1557
1592
|
}, "text");
|
|
1558
1593
|
var uid = /* @__PURE__ */ __name((value) => {
|
|
1559
|
-
const result =
|
|
1594
|
+
const result = text3(value, 100);
|
|
1560
1595
|
if (!/^[1-9]\d*$/.test(result) || !Number.isSafeInteger(Number(result)))
|
|
1561
1596
|
throw new CliError("validation_error", "person UID must be a positive integer");
|
|
1562
1597
|
return result;
|
|
@@ -1564,9 +1599,9 @@ var uid = /* @__PURE__ */ __name((value) => {
|
|
|
1564
1599
|
var strings = /* @__PURE__ */ __name((value, count6, length) => {
|
|
1565
1600
|
if (!Array.isArray(value) || value.length < 1 || value.length > count6)
|
|
1566
1601
|
throw new CliError("validation_error", `meeting context list must contain 1\u2013${count6} entries`);
|
|
1567
|
-
return Object.freeze([...new Set(value.map((entry) =>
|
|
1602
|
+
return Object.freeze([...new Set(value.map((entry) => text3(entry, length)))]);
|
|
1568
1603
|
}, "strings");
|
|
1569
|
-
var
|
|
1604
|
+
var fields = {
|
|
1570
1605
|
"note.add": ["text", "title"],
|
|
1571
1606
|
"tags.add": ["tags"],
|
|
1572
1607
|
"tags.remove": ["tags"],
|
|
@@ -1576,14 +1611,14 @@ var fields2 = {
|
|
|
1576
1611
|
"person.link": ["participantId", "personUid", "targetAccountIds", "expectedPersonUid"]
|
|
1577
1612
|
};
|
|
1578
1613
|
var validateMeetingContextChange = /* @__PURE__ */ __name((change) => {
|
|
1579
|
-
if (!change || typeof change !== "object" || Array.isArray(change) || !Object.hasOwn(
|
|
1614
|
+
if (!change || typeof change !== "object" || Array.isArray(change) || !Object.hasOwn(fields, change.action) || Object.keys(change).some((key) => key !== "action" && !fields[change.action].includes(key)))
|
|
1580
1615
|
throw new CliError("validation_error", "unsupported meeting context change");
|
|
1581
1616
|
switch (change.action) {
|
|
1582
1617
|
case "note.add":
|
|
1583
1618
|
return Object.freeze({
|
|
1584
1619
|
action: change.action,
|
|
1585
|
-
text:
|
|
1586
|
-
...change.title === void 0 ? {} : { title:
|
|
1620
|
+
text: text3(change.text, 1e5),
|
|
1621
|
+
...change.title === void 0 ? {} : { title: text3(change.title, 500) }
|
|
1587
1622
|
});
|
|
1588
1623
|
case "tags.add":
|
|
1589
1624
|
case "tags.remove":
|
|
@@ -1593,11 +1628,11 @@ var validateMeetingContextChange = /* @__PURE__ */ __name((change) => {
|
|
|
1593
1628
|
throw new CliError("validation_error", "memory kind and explicit personal/work scope are required");
|
|
1594
1629
|
return Object.freeze({
|
|
1595
1630
|
action: change.action,
|
|
1596
|
-
body:
|
|
1631
|
+
body: text3(change.body, 2e4),
|
|
1597
1632
|
kind: change.kind,
|
|
1598
1633
|
scope: change.scope,
|
|
1599
1634
|
evidence: strings(change.evidence, 100, 4e3),
|
|
1600
|
-
...change.subject === void 0 ? {} : { subject:
|
|
1635
|
+
...change.subject === void 0 ? {} : { subject: text3(change.subject, 4e3) }
|
|
1601
1636
|
});
|
|
1602
1637
|
}
|
|
1603
1638
|
case "fact.add": {
|
|
@@ -1605,11 +1640,11 @@ var validateMeetingContextChange = /* @__PURE__ */ __name((change) => {
|
|
|
1605
1640
|
throw new CliError("validation_error", `fact type (${FACT_TYPES.join(", ")}) and explicit personal/work scope are required`);
|
|
1606
1641
|
return Object.freeze({
|
|
1607
1642
|
action: change.action,
|
|
1608
|
-
statement:
|
|
1643
|
+
statement: text3(change.statement, 2e4),
|
|
1609
1644
|
type: change.type,
|
|
1610
1645
|
scope: change.scope,
|
|
1611
1646
|
evidence: strings(change.evidence, 100, 4e3),
|
|
1612
|
-
...change.subject === void 0 ? {} : { subject:
|
|
1647
|
+
...change.subject === void 0 ? {} : { subject: text3(change.subject, 4e3) }
|
|
1613
1648
|
});
|
|
1614
1649
|
}
|
|
1615
1650
|
case "event.link":
|
|
@@ -1636,7 +1671,7 @@ var createMeetingContext = /* @__PURE__ */ __name((scope3, accountId, ports) =>
|
|
|
1636
1671
|
const fixed = snapshotMeetingScope(scope3);
|
|
1637
1672
|
const account = id(accountId);
|
|
1638
1673
|
const actions = Object.freeze([...new Set(ports.actions)]);
|
|
1639
|
-
if (actions.some((action) => !Object.hasOwn(
|
|
1674
|
+
if (actions.some((action) => !Object.hasOwn(fields, action)))
|
|
1640
1675
|
throw new CliError("validation_error", "unsupported meeting context capability");
|
|
1641
1676
|
const apply = ports.apply.bind(ports);
|
|
1642
1677
|
return {
|
|
@@ -1666,7 +1701,7 @@ var createMeetingContext = /* @__PURE__ */ __name((scope3, accountId, ports) =>
|
|
|
1666
1701
|
};
|
|
1667
1702
|
}, "createMeetingContext");
|
|
1668
1703
|
|
|
1669
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1704
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
1670
1705
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
1671
1706
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
1672
1707
|
if (![before, after].every((value) => Number.isSafeInteger(value) && value >= 0) || before + after > 999 || !Number.isSafeInteger(bytes) || bytes < 2 || bytes > 4194304 || !Number.isSafeInteger(max_read_bytes) || max_read_bytes < 1 || max_read_bytes > 67108864 || expected_fingerprint !== void 0 && (typeof expected_fingerprint !== "string" || !/^[a-f0-9]{64}$/.test(expected_fingerprint)))
|
|
@@ -1679,7 +1714,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
1679
1714
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
1680
1715
|
}, "validateMeetingPassage");
|
|
1681
1716
|
|
|
1682
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1717
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
1683
1718
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
1684
1719
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
1685
1720
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -1704,7 +1739,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
1704
1739
|
return { ...input, limit, maxReadBytes };
|
|
1705
1740
|
}, "validateMeetingPreparationContext");
|
|
1706
1741
|
|
|
1707
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1742
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
1708
1743
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
1709
1744
|
var id2 = pipe(string(), minLength(1));
|
|
1710
1745
|
var meetingProjectEvidence = strictObject({
|
|
@@ -1825,7 +1860,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
1825
1860
|
};
|
|
1826
1861
|
}, "meetingProjectEvidenceAnswer");
|
|
1827
1862
|
|
|
1828
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1863
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
1829
1864
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
1830
1865
|
const integer5 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
1831
1866
|
if (typeof query !== "string" || !query.trim() || query.includes("\0") || new TextEncoder().encode(query).byteLength > 65536 || !integer5(options.limit ?? 100, 1, 1e3) || !integer5(options.maxReadBytes ?? 4194304, 1, 67108864) || [
|
|
@@ -1845,7 +1880,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
1845
1880
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
1846
1881
|
}, "validateMeetingHitSearch");
|
|
1847
1882
|
|
|
1848
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1883
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
1849
1884
|
var ids = {
|
|
1850
1885
|
meeting_id: "meetingId",
|
|
1851
1886
|
identity_id: "participantIdentityId",
|
|
@@ -1936,7 +1971,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
|
|
|
1936
1971
|
return { project: project.trim(), options, query: frozen.join(" AND ") };
|
|
1937
1972
|
}, "prepareMeetingProjectEvidence");
|
|
1938
1973
|
|
|
1939
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1974
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
1940
1975
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
|
|
1941
1976
|
const prepared = prepareMeetingProjectEvidence(project, request, now);
|
|
1942
1977
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -1944,12 +1979,12 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
|
|
|
1944
1979
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
1945
1980
|
}, "readMeetingProjectEvidence");
|
|
1946
1981
|
|
|
1947
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1982
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
1948
1983
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
1949
|
-
const { identityExternalId, ...
|
|
1984
|
+
const { identityExternalId, ...fields2 } = p;
|
|
1950
1985
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
1951
1986
|
return {
|
|
1952
|
-
...
|
|
1987
|
+
...fields2,
|
|
1953
1988
|
identity: {
|
|
1954
1989
|
provider,
|
|
1955
1990
|
externalId,
|
|
@@ -2083,8 +2118,8 @@ unlinked`, format)],
|
|
|
2083
2118
|
return report;
|
|
2084
2119
|
}, "pull");
|
|
2085
2120
|
|
|
2086
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2087
|
-
var
|
|
2121
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
2122
|
+
var text4 = string();
|
|
2088
2123
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2089
2124
|
var id3 = pipe(number(), integer(), minValue(1));
|
|
2090
2125
|
var iso3 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
@@ -2092,22 +2127,22 @@ var meetingRef2 = /* @__PURE__ */ __name((accountId, meetingId) => formatMeeting
|
|
|
2092
2127
|
var meetingReview = strictObject({
|
|
2093
2128
|
ref: reference,
|
|
2094
2129
|
id: pipe(string(), minLength(1)),
|
|
2095
|
-
title: nullable(
|
|
2130
|
+
title: nullable(text4),
|
|
2096
2131
|
started_at: nullable(isoTime),
|
|
2097
2132
|
duration_ms: nullable(count4),
|
|
2098
2133
|
participants_count: nullable(count4),
|
|
2099
|
-
projects: array(
|
|
2134
|
+
projects: array(text4),
|
|
2100
2135
|
/** Null when the meeting has no current transcript. */
|
|
2101
2136
|
transcript: nullable(strictObject({ lines: count4, words: count4 })),
|
|
2102
2137
|
/** The three who talked longest. */
|
|
2103
|
-
speakers: array(strictObject({ name: nullable(
|
|
2138
|
+
speakers: array(strictObject({ name: nullable(text4), talk_ms: count4 })),
|
|
2104
2139
|
/** The newest stored summary; null when there is none. */
|
|
2105
2140
|
summary: nullable(strictObject({
|
|
2106
|
-
source:
|
|
2107
|
-
title: nullable(
|
|
2108
|
-
overview: nullable(
|
|
2109
|
-
next_steps: array(
|
|
2110
|
-
url: nullable(
|
|
2141
|
+
source: text4,
|
|
2142
|
+
title: nullable(text4),
|
|
2143
|
+
overview: nullable(text4),
|
|
2144
|
+
next_steps: array(text4),
|
|
2145
|
+
url: nullable(text4)
|
|
2111
2146
|
}))
|
|
2112
2147
|
});
|
|
2113
2148
|
var meetingReviewItem = /* @__PURE__ */ __name((one) => ({
|
|
@@ -2129,15 +2164,15 @@ var meetingReviewItem = /* @__PURE__ */ __name((one) => ({
|
|
|
2129
2164
|
}
|
|
2130
2165
|
}), "meetingReviewItem");
|
|
2131
2166
|
var meetingLink = strictObject({
|
|
2132
|
-
url:
|
|
2133
|
-
domain: nullable(
|
|
2167
|
+
url: text4,
|
|
2168
|
+
domain: nullable(text4),
|
|
2134
2169
|
/** The Google Docs, Sheets, Slides, Forms or Drive file it names. */
|
|
2135
|
-
document_id: nullable(
|
|
2170
|
+
document_id: nullable(text4),
|
|
2136
2171
|
count: count4,
|
|
2137
2172
|
first_at: isoTime,
|
|
2138
2173
|
last_at: isoTime,
|
|
2139
|
-
senders: array(
|
|
2140
|
-
meetings: array(strictObject({ ref: reference, title: nullable(
|
|
2174
|
+
senders: array(text4),
|
|
2175
|
+
meetings: array(strictObject({ ref: reference, title: nullable(text4) }))
|
|
2141
2176
|
});
|
|
2142
2177
|
var meetingLinkItem = /* @__PURE__ */ __name((link) => ({
|
|
2143
2178
|
url: link.url,
|
|
@@ -2151,8 +2186,8 @@ var meetingLinkItem = /* @__PURE__ */ __name((link) => ({
|
|
|
2151
2186
|
}), "meetingLinkItem");
|
|
2152
2187
|
var meetingSpeaker = strictObject({
|
|
2153
2188
|
/** `person:<id>`, `identity:<id>`, `name:<lowercased name>` or `unknown`. */
|
|
2154
|
-
key:
|
|
2155
|
-
name: nullable(
|
|
2189
|
+
key: text4,
|
|
2190
|
+
name: nullable(text4),
|
|
2156
2191
|
person_id: nullable(id3),
|
|
2157
2192
|
identity_id: nullable(id3),
|
|
2158
2193
|
meetings: count4,
|
|
@@ -2174,13 +2209,13 @@ var meetingSpeakerItem = /* @__PURE__ */ __name((one) => ({
|
|
|
2174
2209
|
share: one.share
|
|
2175
2210
|
}), "meetingSpeakerItem");
|
|
2176
2211
|
var meetingStats = strictObject({
|
|
2177
|
-
time_zone:
|
|
2212
|
+
time_zone: text4,
|
|
2178
2213
|
meetings: count4,
|
|
2179
2214
|
lines: count4,
|
|
2180
2215
|
words: count4,
|
|
2181
2216
|
talk_ms: count4,
|
|
2182
2217
|
/** `week_start` is the Monday, as a date in `time_zone`. */
|
|
2183
|
-
weeks: array(strictObject({ week_start:
|
|
2218
|
+
weeks: array(strictObject({ week_start: text4, meetings: count4, talk_ms: count4 })),
|
|
2184
2219
|
top_speakers: array(meetingSpeaker)
|
|
2185
2220
|
});
|
|
2186
2221
|
var meetingStatsItem = /* @__PURE__ */ __name((found, top = 10) => ({
|
|
@@ -2192,18 +2227,52 @@ var meetingStatsItem = /* @__PURE__ */ __name((found, top = 10) => ({
|
|
|
2192
2227
|
weeks: found.weeks.map((week) => ({ week_start: week.weekStart, meetings: week.meetings, talk_ms: week.talkMs })),
|
|
2193
2228
|
top_speakers: found.speakers.slice(0, top).map(meetingSpeakerItem)
|
|
2194
2229
|
}), "meetingStatsItem");
|
|
2230
|
+
var meetingCountsRow = strictObject({
|
|
2231
|
+
key: text4,
|
|
2232
|
+
name: nullable(text4),
|
|
2233
|
+
meetings: count4,
|
|
2234
|
+
minutes: count4,
|
|
2235
|
+
mean_minutes: nullable(number()),
|
|
2236
|
+
transcripts: count4
|
|
2237
|
+
});
|
|
2238
|
+
var meetingCounts = strictObject({
|
|
2239
|
+
by: picklist(["day", "week", "series"]),
|
|
2240
|
+
meetings: count4,
|
|
2241
|
+
minutes: count4,
|
|
2242
|
+
mean_minutes: nullable(number()),
|
|
2243
|
+
transcripts: count4,
|
|
2244
|
+
rows: array(meetingCountsRow),
|
|
2245
|
+
has_more: boolean()
|
|
2246
|
+
});
|
|
2247
|
+
var countsRowItem = /* @__PURE__ */ __name((row) => ({
|
|
2248
|
+
key: row.key,
|
|
2249
|
+
name: row.name,
|
|
2250
|
+
meetings: row.meetings,
|
|
2251
|
+
minutes: row.minutes,
|
|
2252
|
+
mean_minutes: row.meanMinutes,
|
|
2253
|
+
transcripts: row.transcripts
|
|
2254
|
+
}), "countsRowItem");
|
|
2255
|
+
var meetingCountsItem = /* @__PURE__ */ __name((found) => ({
|
|
2256
|
+
by: found.by,
|
|
2257
|
+
meetings: found.meetings,
|
|
2258
|
+
minutes: found.minutes,
|
|
2259
|
+
mean_minutes: found.meanMinutes,
|
|
2260
|
+
transcripts: found.transcripts,
|
|
2261
|
+
rows: found.rows.map(countsRowItem),
|
|
2262
|
+
has_more: found.hasMore
|
|
2263
|
+
}), "meetingCountsItem");
|
|
2195
2264
|
var truncated = /* @__PURE__ */ __name((...why) => nullable(picklist(why)), "truncated");
|
|
2196
2265
|
var meetingParticipants = strictObject({
|
|
2197
2266
|
schema_version: literal(1),
|
|
2198
2267
|
kind: literal("meeting_participants"),
|
|
2199
2268
|
account_id: id3,
|
|
2200
|
-
query:
|
|
2269
|
+
query: text4,
|
|
2201
2270
|
items: array(strictObject({
|
|
2202
2271
|
participant_id: id3,
|
|
2203
2272
|
meeting_id: id3,
|
|
2204
2273
|
identity_id: id3,
|
|
2205
|
-
display_name: nullable(
|
|
2206
|
-
email: nullable(
|
|
2274
|
+
display_name: nullable(text4),
|
|
2275
|
+
email: nullable(text4)
|
|
2207
2276
|
})),
|
|
2208
2277
|
/** Several identities on one page are observations, never speaker attribution or person links. */
|
|
2209
2278
|
ambiguity: strictObject({ scope: literal("page"), multiple_identities: boolean(), identity_ids: array(id3) }),
|
|
@@ -2217,7 +2286,7 @@ var meetingParticipants = strictObject({
|
|
|
2217
2286
|
mode: literal("cursor"),
|
|
2218
2287
|
limit: count4,
|
|
2219
2288
|
has_more: boolean(),
|
|
2220
|
-
next_cursor: optional(
|
|
2289
|
+
next_cursor: optional(text4)
|
|
2221
2290
|
})
|
|
2222
2291
|
});
|
|
2223
2292
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -2226,8 +2295,8 @@ var meetingPassage = strictObject({
|
|
|
2226
2295
|
kind: literal("meeting_context"),
|
|
2227
2296
|
source: reference,
|
|
2228
2297
|
target_ref: reference,
|
|
2229
|
-
target_fingerprint:
|
|
2230
|
-
fingerprint:
|
|
2298
|
+
target_fingerprint: text4,
|
|
2299
|
+
fingerprint: text4,
|
|
2231
2300
|
revision,
|
|
2232
2301
|
limits: strictObject({ before: count4, after: count4, bytes: count4, max_read_bytes: count4 }),
|
|
2233
2302
|
content_bytes: count4,
|
|
@@ -2246,30 +2315,30 @@ var meetingPassage = strictObject({
|
|
|
2246
2315
|
}),
|
|
2247
2316
|
items: array(strictObject({
|
|
2248
2317
|
ref: reference,
|
|
2249
|
-
fingerprint:
|
|
2318
|
+
fingerprint: text4,
|
|
2250
2319
|
transcript_id: id3,
|
|
2251
|
-
content_hash: nullable(
|
|
2320
|
+
content_hash: nullable(text4),
|
|
2252
2321
|
position: count4,
|
|
2253
2322
|
start_ms: count4,
|
|
2254
2323
|
end_ms: count4,
|
|
2255
2324
|
speaker_participant_id: nullable(id3),
|
|
2256
|
-
speaker_name: nullable(
|
|
2257
|
-
text:
|
|
2325
|
+
speaker_name: nullable(text4),
|
|
2326
|
+
text: text4,
|
|
2258
2327
|
revision
|
|
2259
2328
|
}))
|
|
2260
2329
|
});
|
|
2261
2330
|
var event = strictObject({
|
|
2262
2331
|
id: pipe(string(), minLength(1)),
|
|
2263
|
-
event_series_id: nullable(
|
|
2264
|
-
title: nullable(
|
|
2265
|
-
description: nullable(
|
|
2266
|
-
location: nullable(
|
|
2332
|
+
event_series_id: nullable(text4),
|
|
2333
|
+
title: nullable(text4),
|
|
2334
|
+
description: nullable(text4),
|
|
2335
|
+
location: nullable(text4),
|
|
2267
2336
|
starts_at: nullable(isoTime),
|
|
2268
2337
|
ends_at: nullable(isoTime),
|
|
2269
|
-
timezone: nullable(
|
|
2338
|
+
timezone: nullable(text4),
|
|
2270
2339
|
/** `auto`: made from a meeting; `owner`: made by hand; `calendar`: from a calendar's entries. */
|
|
2271
2340
|
origin: picklist(["auto", "owner", "calendar"]),
|
|
2272
|
-
status: nullable(
|
|
2341
|
+
status: nullable(text4),
|
|
2273
2342
|
all_day: boolean(),
|
|
2274
2343
|
/** When its calendar deleted it: shown as "deleted in Google", kept as history. */
|
|
2275
2344
|
source_deleted_at: nullable(isoTime),
|
|
@@ -2277,7 +2346,7 @@ var event = strictObject({
|
|
|
2277
2346
|
created_at: isoTime,
|
|
2278
2347
|
updated_at: isoTime,
|
|
2279
2348
|
/** The fields whoever sent the invitation wrote, on a calendar CLI's `events list`: an agent reads them as data. */
|
|
2280
|
-
untrusted: optional(array(
|
|
2349
|
+
untrusted: optional(array(text4)),
|
|
2281
2350
|
/** On a calendar CLI's `events list changed:<date>`: what changed since then, and when the store saw it. */
|
|
2282
2351
|
change: optional(picklist(["new", "moved", "cancelled"])),
|
|
2283
2352
|
changed_at: optional(nullable(isoTime)),
|
|
@@ -2289,7 +2358,7 @@ var event = strictObject({
|
|
|
2289
2358
|
*/
|
|
2290
2359
|
overlapping: optional(boolean()),
|
|
2291
2360
|
/** With `overlapping:true`: the events it overlaps, as `event:<id>`. */
|
|
2292
|
-
overlaps: optional(array(
|
|
2361
|
+
overlaps: optional(array(text4))
|
|
2293
2362
|
});
|
|
2294
2363
|
var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
2295
2364
|
id: String(one.id),
|
|
@@ -2309,10 +2378,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
2309
2378
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
2310
2379
|
}), "eventItem");
|
|
2311
2380
|
|
|
2312
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2381
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/recording-schedule.js
|
|
2313
2382
|
import { createHash as createHash3 } from "node:crypto";
|
|
2314
2383
|
|
|
2315
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/recording-sync.js
|
|
2316
2385
|
var RecordingSyncError = class extends CliError {
|
|
2317
2386
|
static {
|
|
2318
2387
|
__name(this, "RecordingSyncError");
|
|
@@ -2325,7 +2394,7 @@ var RecordingSyncError = class extends CliError {
|
|
|
2325
2394
|
var fail = /* @__PURE__ */ __name((message, code = "validation_error") => {
|
|
2326
2395
|
throw new RecordingSyncError(code, message);
|
|
2327
2396
|
}, "fail");
|
|
2328
|
-
var
|
|
2397
|
+
var text5 = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 4096, "text");
|
|
2329
2398
|
var integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && Number(value) >= low && Number(value) <= high, "integer");
|
|
2330
2399
|
var date = /* @__PURE__ */ __name((value) => {
|
|
2331
2400
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}$/.test(value))
|
|
@@ -2370,7 +2439,7 @@ var object = /* @__PURE__ */ __name((value) => {
|
|
|
2370
2439
|
}, "object");
|
|
2371
2440
|
var scope = /* @__PURE__ */ __name((value) => {
|
|
2372
2441
|
const row = object(value);
|
|
2373
|
-
if (!
|
|
2442
|
+
if (!text5(row.provider) || !text5(row.account))
|
|
2374
2443
|
return fail("archive provider and account are required");
|
|
2375
2444
|
try {
|
|
2376
2445
|
return snapshotMeetingScope({ provider: row.provider, account: row.account });
|
|
@@ -2386,10 +2455,10 @@ var window = /* @__PURE__ */ __name((value) => {
|
|
|
2386
2455
|
return fail("invalid archive checkpoint window", "invalid_response");
|
|
2387
2456
|
return { from, to };
|
|
2388
2457
|
}, "window");
|
|
2389
|
-
var nullableText = /* @__PURE__ */ __name((value) => value === null ||
|
|
2458
|
+
var nullableText = /* @__PURE__ */ __name((value) => value === null || text5(value), "nullableText");
|
|
2390
2459
|
var asset = /* @__PURE__ */ __name((value) => {
|
|
2391
2460
|
const row = object(value);
|
|
2392
|
-
if (!nullableText(row.id) || !
|
|
2461
|
+
if (!nullableText(row.id) || !text5(row.type) || !nullableText(row.format) || !text5(row.status) || typeof row.available !== "boolean" || !(row.size === null || integer3(row.size, 0, Number.MAX_SAFE_INTEGER)) || !nullableText(row.startedAt) || !nullableText(row.endedAt))
|
|
2393
2462
|
return fail("invalid recording asset metadata", "invalid_response");
|
|
2394
2463
|
for (const value2 of [row.startedAt, row.endedAt])
|
|
2395
2464
|
if (value2 !== null && !Number.isFinite(Date.parse(value2)))
|
|
@@ -2424,14 +2493,14 @@ function parseRecordingSyncCheckpoint(value, maxEntries = 1e4) {
|
|
|
2424
2493
|
if (!integer3(maxEntries, 1, 1e4))
|
|
2425
2494
|
return fail("archive entry limit must be between 1 and 10000");
|
|
2426
2495
|
const row = object(value);
|
|
2427
|
-
if (row.version !== 1 || !
|
|
2496
|
+
if (row.version !== 1 || !text5(row.configKey) || !integer3(row.revision, 1, Number.MAX_SAFE_INTEGER) || !integer3(row.updatedAt, 0, Number.MAX_SAFE_INTEGER) || !Array.isArray(row.windows) || row.windows.length > 1e3 || !Array.isArray(row.pendingWindows) || row.pendingWindows.length > 1e3 || !Array.isArray(row.entries) || row.entries.length > maxEntries)
|
|
2428
2497
|
return fail("unsupported or oversized archive checkpoint", "invalid_response");
|
|
2429
2498
|
const windows = row.windows.map(window);
|
|
2430
2499
|
const pendingWindows = row.pendingWindows.map(window);
|
|
2431
2500
|
let metadataBytes = 0;
|
|
2432
2501
|
const entries = row.entries.map((value2) => {
|
|
2433
2502
|
const entry = object(value2);
|
|
2434
|
-
if (!
|
|
2503
|
+
if (!text5(entry.externalId) || !Array.isArray(entry.acknowledged) || entry.acknowledged.length > 1e3 || entry.acknowledged.some((value3) => typeof value3 !== "string" || value3.length > 65536))
|
|
2435
2504
|
return fail("invalid archive checkpoint entry", "invalid_response");
|
|
2436
2505
|
const metadata = assets(entry.assets);
|
|
2437
2506
|
const acknowledged = entry.acknowledged;
|
|
@@ -2480,10 +2549,10 @@ var compactWindows = /* @__PURE__ */ __name((windows, from) => {
|
|
|
2480
2549
|
}, "compactWindows");
|
|
2481
2550
|
var pending = /* @__PURE__ */ __name((entry) => entry.assets.length === 0 || entry.assets.some((item) => !item.available || !entry.acknowledged.includes(recordingAssetFingerprint(item))), "pending");
|
|
2482
2551
|
var acknowledgedAssets = /* @__PURE__ */ __name((occurrence, result) => {
|
|
2483
|
-
if (result.externalId !== occurrence.externalId || !
|
|
2552
|
+
if (result.externalId !== occurrence.externalId || !text5(result.manifestPath) || !Array.isArray(result.downloaded) || !Array.isArray(result.skipped) || !Array.isArray(result.unavailable) || result.downloaded.length + result.skipped.length > 1e3)
|
|
2484
2553
|
return fail("archive returned an invalid occurrence acknowledgement", "invalid_response");
|
|
2485
2554
|
const completed = [...result.downloaded, ...result.skipped];
|
|
2486
|
-
return occurrence.assets.filter((item) => item.available && completed.some((file) => file.id === item.id && file.remoteSize === item.size && file.type === item.type && file.format === item.format && file.startedAt === item.startedAt && file.endedAt === item.endedAt &&
|
|
2555
|
+
return occurrence.assets.filter((item) => item.available && completed.some((file) => file.id === item.id && file.remoteSize === item.size && file.type === item.type && file.format === item.format && file.startedAt === item.startedAt && file.endedAt === item.endedAt && text5(file.path) && integer3(file.size, 0, Number.MAX_SAFE_INTEGER) && (item.size === null || file.size === item.size) && /^[a-f0-9]{64}$/.test(file.sha256))).map(recordingAssetFingerprint);
|
|
2487
2556
|
}, "acknowledgedAssets");
|
|
2488
2557
|
async function* syncRecordingArchive(catalog, input) {
|
|
2489
2558
|
const options = {
|
|
@@ -2500,7 +2569,7 @@ async function* syncRecordingArchive(catalog, input) {
|
|
|
2500
2569
|
if (options.recheckFrom !== void 0)
|
|
2501
2570
|
date(options.recheckFrom);
|
|
2502
2571
|
const checkpoint = options.checkpoint;
|
|
2503
|
-
if (checkpoint && (!
|
|
2572
|
+
if (checkpoint && (!text5(checkpoint.jobId) || !text5(checkpoint.configKey)))
|
|
2504
2573
|
return fail("archive checkpoint job and configuration key are required");
|
|
2505
2574
|
const clock2 = /* @__PURE__ */ __name(() => {
|
|
2506
2575
|
const now = options.now();
|
|
@@ -2560,11 +2629,11 @@ async function* syncRecordingArchive(catalog, input) {
|
|
|
2560
2629
|
...options.signal ? { signal: options.signal } : {}
|
|
2561
2630
|
});
|
|
2562
2631
|
cancelled(options.signal);
|
|
2563
|
-
if (!Array.isArray(page.items) || page.items.length > 1e3 || !(page.nextCursor === null ||
|
|
2632
|
+
if (!Array.isArray(page.items) || page.items.length > 1e3 || !(page.nextCursor === null || text5(page.nextCursor)))
|
|
2564
2633
|
return fail("provider returned an invalid recording page", "invalid_response");
|
|
2565
2634
|
for (const raw of page.items) {
|
|
2566
2635
|
cancelled(options.signal);
|
|
2567
|
-
if (!
|
|
2636
|
+
if (!text5(raw.id) || !text5(raw.externalId) || !nullableText(raw.title) || !nullableText(raw.startedAt))
|
|
2568
2637
|
return fail("provider returned an invalid recording occurrence", "invalid_response");
|
|
2569
2638
|
const occurrence = {
|
|
2570
2639
|
id: raw.id,
|
|
@@ -2633,11 +2702,11 @@ async function* syncRecordingArchive(catalog, input) {
|
|
|
2633
2702
|
}
|
|
2634
2703
|
__name(syncRecordingArchive, "syncRecordingArchive");
|
|
2635
2704
|
|
|
2636
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2705
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/recording-schedule.js
|
|
2637
2706
|
var fail2 = /* @__PURE__ */ __name((message) => {
|
|
2638
2707
|
throw new CliError("validation_error", message);
|
|
2639
2708
|
}, "fail");
|
|
2640
|
-
var
|
|
2709
|
+
var text6 = /* @__PURE__ */ __name((value, maximum) => typeof value === "string" && !!value.trim() && value.length <= maximum && !/[\0\r\n]/.test(value), "text");
|
|
2641
2710
|
var clock = /* @__PURE__ */ __name((now) => {
|
|
2642
2711
|
if (!Number.isSafeInteger(now) || now < 0 || now > 253402300799999)
|
|
2643
2712
|
fail2("invalid archive schedule clock");
|
|
@@ -2649,11 +2718,11 @@ var identity = /* @__PURE__ */ __name((schedule) => createHash3("sha256").update
|
|
|
2649
2718
|
var planRecordingArchiveSchedule = /* @__PURE__ */ __name((input, options) => {
|
|
2650
2719
|
const now = clock(options.now);
|
|
2651
2720
|
const scope3 = snapshotMeetingScope(input.scope);
|
|
2652
|
-
if (!
|
|
2721
|
+
if (!text6(input.name, 200) || !text6(input.destination, 4096))
|
|
2653
2722
|
fail2("archive schedule name and destination are required");
|
|
2654
2723
|
if (typeof input.dailyAt !== "string" || !/^(?:[01]\d|2[0-3]):[0-5]\d$/.test(input.dailyAt))
|
|
2655
2724
|
fail2("archive schedule time must be HH:mm");
|
|
2656
|
-
if (!
|
|
2725
|
+
if (!text6(input.timeZone, 200))
|
|
2657
2726
|
fail2("archive schedule requires a time zone");
|
|
2658
2727
|
try {
|
|
2659
2728
|
new Intl.DateTimeFormat("en", { timeZone: input.timeZone });
|
|
@@ -2740,7 +2809,7 @@ var installRecordingArchiveSchedule = /* @__PURE__ */ __name(async (scheduler, v
|
|
|
2740
2809
|
return { applied: true, backend, schedule };
|
|
2741
2810
|
}, "installRecordingArchiveSchedule");
|
|
2742
2811
|
|
|
2743
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2812
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
2744
2813
|
var RecordingTransferError = class extends CliError {
|
|
2745
2814
|
static {
|
|
2746
2815
|
__name(this, "RecordingTransferError");
|
|
@@ -2905,7 +2974,7 @@ var transferRecording = /* @__PURE__ */ __name(async (source, storage, options)
|
|
|
2905
2974
|
}
|
|
2906
2975
|
}, "transferRecording");
|
|
2907
2976
|
|
|
2908
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2977
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
2909
2978
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
2910
2979
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2911
2980
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -2935,24 +3004,24 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
2935
3004
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
2936
3005
|
}, "validateMeetingRelatedHistory");
|
|
2937
3006
|
|
|
2938
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2939
|
-
var
|
|
2940
|
-
var identifier = pipe(
|
|
2941
|
-
var nullableText2 = nullable(
|
|
3007
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
3008
|
+
var text7 = string();
|
|
3009
|
+
var identifier = pipe(text7, minLength(1));
|
|
3010
|
+
var nullableText2 = nullable(text7);
|
|
2942
3011
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
2943
3012
|
var flag = boolean();
|
|
2944
|
-
var scope2 = strictObject({ provider:
|
|
3013
|
+
var scope2 = strictObject({ provider: text7, account: text7 });
|
|
2945
3014
|
var run = strictObject({
|
|
2946
3015
|
meetings: count5,
|
|
2947
3016
|
participants: count5,
|
|
2948
3017
|
transcript_rows: count5,
|
|
2949
3018
|
summaries: count5,
|
|
2950
|
-
warnings: array(strictObject({ external_id:
|
|
2951
|
-
timezone: optional(
|
|
3019
|
+
warnings: array(strictObject({ external_id: text7, message: text7 })),
|
|
3020
|
+
timezone: optional(text7)
|
|
2952
3021
|
});
|
|
2953
3022
|
var exported = union([
|
|
2954
|
-
strictObject({ meeting_id: identifier, format: picklist(["markdown", "vtt"]), filename:
|
|
2955
|
-
strictObject({ meeting_id: identifier, format: picklist(["markdown", "vtt"]), output:
|
|
3023
|
+
strictObject({ meeting_id: identifier, format: picklist(["markdown", "vtt"]), filename: text7, content: text7 }),
|
|
3024
|
+
strictObject({ meeting_id: identifier, format: picklist(["markdown", "vtt"]), output: text7 })
|
|
2956
3025
|
]);
|
|
2957
3026
|
var eventChange2 = strictObject({
|
|
2958
3027
|
action: literal("event.link"),
|
|
@@ -2962,7 +3031,7 @@ var eventChange2 = strictObject({
|
|
|
2962
3031
|
var personChange = strictObject({
|
|
2963
3032
|
action: literal("person.link"),
|
|
2964
3033
|
participant_id: identifier,
|
|
2965
|
-
person_uid:
|
|
3034
|
+
person_uid: text7,
|
|
2966
3035
|
expected_person_uid: optional(nullableText2),
|
|
2967
3036
|
target_account_ids: optional(array(identifier))
|
|
2968
3037
|
});
|
|
@@ -2975,7 +3044,7 @@ var eventResult = strictObject({
|
|
|
2975
3044
|
var personResult = strictObject({
|
|
2976
3045
|
meeting_id: identifier,
|
|
2977
3046
|
participant_id: identifier,
|
|
2978
|
-
person_uid:
|
|
3047
|
+
person_uid: text7,
|
|
2979
3048
|
previous_person_uid: nullableText2,
|
|
2980
3049
|
changed: flag
|
|
2981
3050
|
});
|
|
@@ -2988,23 +3057,23 @@ var meetingChange = strictObject({
|
|
|
2988
3057
|
result: optional(union([eventResult, personResult]))
|
|
2989
3058
|
});
|
|
2990
3059
|
var recognition = strictObject({
|
|
2991
|
-
engine:
|
|
2992
|
-
model:
|
|
2993
|
-
version: optional(
|
|
3060
|
+
engine: text7,
|
|
3061
|
+
model: text7,
|
|
3062
|
+
version: optional(text7),
|
|
2994
3063
|
timing: optional(picklist(["fixed-windows", "recognition-segments"]))
|
|
2995
3064
|
});
|
|
2996
3065
|
var transcription = union([
|
|
2997
3066
|
strictObject({
|
|
2998
3067
|
applied: literal(false),
|
|
2999
3068
|
account_id: identifier,
|
|
3000
|
-
external_id:
|
|
3069
|
+
external_id: text7,
|
|
3001
3070
|
segments: count5,
|
|
3002
3071
|
media: strictObject({
|
|
3003
|
-
id:
|
|
3004
|
-
content_hash:
|
|
3072
|
+
id: text7,
|
|
3073
|
+
content_hash: text7,
|
|
3005
3074
|
size: count5,
|
|
3006
3075
|
duration_ms: count5,
|
|
3007
|
-
format:
|
|
3076
|
+
format: text7,
|
|
3008
3077
|
sample_rate: count5,
|
|
3009
3078
|
channels: count5,
|
|
3010
3079
|
recognition
|
|
@@ -3013,21 +3082,21 @@ var transcription = union([
|
|
|
3013
3082
|
strictObject({
|
|
3014
3083
|
applied: literal(true),
|
|
3015
3084
|
account_id: identifier,
|
|
3016
|
-
external_id:
|
|
3085
|
+
external_id: text7,
|
|
3017
3086
|
meeting_id: identifier,
|
|
3018
3087
|
created: flag,
|
|
3019
3088
|
inserted_transcripts: count5,
|
|
3020
3089
|
replayed_transcripts: count5,
|
|
3021
3090
|
superseded_transcripts: count5,
|
|
3022
3091
|
segments: count5,
|
|
3023
|
-
media_sha256:
|
|
3024
|
-
engine:
|
|
3025
|
-
model:
|
|
3092
|
+
media_sha256: text7,
|
|
3093
|
+
engine: text7,
|
|
3094
|
+
model: text7,
|
|
3026
3095
|
model_version: nullableText2,
|
|
3027
3096
|
timing: picklist(["fixed-windows", "recognition-segments"])
|
|
3028
3097
|
})
|
|
3029
3098
|
]);
|
|
3030
|
-
var embeddingModel = strictObject({ key:
|
|
3099
|
+
var embeddingModel = strictObject({ key: text7, dims: count5, kind: picklist(["local", "remote"]), model: text7 });
|
|
3031
3100
|
var embedding = union([
|
|
3032
3101
|
strictObject({
|
|
3033
3102
|
account_id: identifier,
|
|
@@ -3043,7 +3112,7 @@ var embedding = union([
|
|
|
3043
3112
|
saved: count5,
|
|
3044
3113
|
skipped: count5,
|
|
3045
3114
|
has_more: flag,
|
|
3046
|
-
next_hash: optional(
|
|
3115
|
+
next_hash: optional(text7),
|
|
3047
3116
|
applied: literal(true),
|
|
3048
3117
|
rebuild: strictObject({
|
|
3049
3118
|
transcripts: count5,
|
|
@@ -3068,15 +3137,15 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
3068
3137
|
meeting_repair: repair
|
|
3069
3138
|
};
|
|
3070
3139
|
|
|
3071
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
3072
3141
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
3073
3142
|
|
|
3074
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3143
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
3075
3144
|
var SAVE_INSTRUCTION = "If this shows something worth keeping \u2014 a decision, a promise, a preference \u2014 and memo's server is connected, propose it with facts_add or memories_add, citing the msg: locator or meeting: reference. Otherwise skip this.";
|
|
3076
3145
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
3077
3146
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
3078
3147
|
|
|
3079
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3148
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
3080
3149
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
3081
3150
|
input.signal?.throwIfAborted();
|
|
3082
3151
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -3097,10 +3166,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
3097
3166
|
return { ...input, limit, maxReadBytes };
|
|
3098
3167
|
}, "validateMeetingSeriesHistory");
|
|
3099
3168
|
|
|
3100
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3169
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
3101
3170
|
import { createHash as createHash4 } from "node:crypto";
|
|
3102
3171
|
|
|
3103
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3172
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
3104
3173
|
var invalid4 = /* @__PURE__ */ __name((field) => {
|
|
3105
3174
|
throw new CliError("invalid_response", `meeting occurrence ${field} is invalid`);
|
|
3106
3175
|
}, "invalid");
|
|
@@ -3169,18 +3238,18 @@ var readOccurrenceSchedule = /* @__PURE__ */ __name((input, meetingId, limit, ma
|
|
|
3169
3238
|
return result;
|
|
3170
3239
|
}, "readOccurrenceSchedule");
|
|
3171
3240
|
|
|
3172
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3241
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
3173
3242
|
var inventoryHash = /* @__PURE__ */ __name((value) => createHash4("sha256").update(JSON.stringify(value)).digest("hex"), "inventoryHash");
|
|
3174
3243
|
var inventorySize = /* @__PURE__ */ __name((value) => Buffer.byteLength(JSON.stringify(value), "utf8"), "inventorySize");
|
|
3175
3244
|
function invalid5(field, response = false) {
|
|
3176
3245
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
3177
3246
|
}
|
|
3178
3247
|
__name(invalid5, "invalid");
|
|
3179
|
-
var object2 = /* @__PURE__ */ __name((value,
|
|
3248
|
+
var object2 = /* @__PURE__ */ __name((value, fields2, field, response = false) => {
|
|
3180
3249
|
if (!value || typeof value !== "object" || Array.isArray(value))
|
|
3181
3250
|
invalid5(field, response);
|
|
3182
3251
|
for (const key of Object.keys(value))
|
|
3183
|
-
if (!
|
|
3252
|
+
if (!fields2.includes(key))
|
|
3184
3253
|
invalid5(`${field}.${key}`, response);
|
|
3185
3254
|
}, "object");
|
|
3186
3255
|
var cursorDetails = /* @__PURE__ */ __name((value) => {
|
|
@@ -3257,7 +3326,7 @@ var inventoryPage = /* @__PURE__ */ __name((scope3, request, page) => {
|
|
|
3257
3326
|
return { items, selection: page.coverage.selection, partial: page.coverage.partial, nextCursor: page.nextCursor };
|
|
3258
3327
|
}, "inventoryPage");
|
|
3259
3328
|
|
|
3260
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3329
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/series-inventory.js
|
|
3261
3330
|
var cancelled3 = /* @__PURE__ */ __name((signal) => {
|
|
3262
3331
|
if (signal?.aborted)
|
|
3263
3332
|
throw new CliError("cancelled", "meeting inventory reading was cancelled");
|
|
@@ -3313,7 +3382,8 @@ var createMeetingSeriesInventoryReader = /* @__PURE__ */ __name((scope3, port) =
|
|
|
3313
3382
|
};
|
|
3314
3383
|
}, "createMeetingSeriesInventoryReader");
|
|
3315
3384
|
|
|
3316
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3385
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
3386
|
+
var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
|
|
3317
3387
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
3318
3388
|
const zone = timeZone ?? "UTC";
|
|
3319
3389
|
try {
|
|
@@ -3329,17 +3399,72 @@ var weekStart = /* @__PURE__ */ __name((at, format) => {
|
|
|
3329
3399
|
const day2 = Date.UTC(Number(parts.year), Number(parts.month) - 1, Number(parts.day));
|
|
3330
3400
|
return new Date(day2 - DAYS.indexOf(parts.weekday ?? "Mon") * 864e5).toISOString().slice(0, 10);
|
|
3331
3401
|
}, "weekStart");
|
|
3402
|
+
var dayKey = /* @__PURE__ */ __name((at, format) => {
|
|
3403
|
+
const parts = Object.fromEntries(format.formatToParts(new Date(at)).map((part) => [part.type, part.value]));
|
|
3404
|
+
return `${parts.year}-${parts.month}-${parts.day}`;
|
|
3405
|
+
}, "dayKey");
|
|
3406
|
+
var zoneFormat = /* @__PURE__ */ __name((zone) => new Intl.DateTimeFormat("en-US", {
|
|
3407
|
+
timeZone: zone,
|
|
3408
|
+
year: "numeric",
|
|
3409
|
+
month: "2-digit",
|
|
3410
|
+
day: "2-digit",
|
|
3411
|
+
weekday: "short"
|
|
3412
|
+
}), "zoneFormat");
|
|
3413
|
+
var NO_SERIES = "no-series";
|
|
3414
|
+
var MOST_COUNT_ROWS = 100;
|
|
3415
|
+
var minutesOf = /* @__PURE__ */ __name((ms) => Math.round(ms / 6e4), "minutesOf");
|
|
3416
|
+
var meanOf = /* @__PURE__ */ __name((ms, timed) => timed === 0 ? null : Math.round(ms / timed / 6e3) / 10, "meanOf");
|
|
3417
|
+
var aggregateMeetingCounts = /* @__PURE__ */ __name((meetings, by, timeZone, limit = MOST_COUNT_ROWS) => {
|
|
3418
|
+
if (!MEETING_COUNTS_GROUPINGS.includes(by))
|
|
3419
|
+
throw new CliError("validation_error", `--by takes ${MEETING_COUNTS_GROUPINGS.join(", ")}`);
|
|
3420
|
+
if (!Number.isSafeInteger(limit) || limit < 1)
|
|
3421
|
+
throw new CliError("validation_error", "--limit is a positive number");
|
|
3422
|
+
const zone = zoneOf(timeZone);
|
|
3423
|
+
const format = zoneFormat(zone);
|
|
3424
|
+
const sum = /* @__PURE__ */ __name(() => ({ meetings: 0, ms: 0, timed: 0, transcripts: 0 }), "sum");
|
|
3425
|
+
const add = /* @__PURE__ */ __name((into, meeting2) => {
|
|
3426
|
+
into.meetings += 1;
|
|
3427
|
+
if (meeting2.durationMs !== null) {
|
|
3428
|
+
into.ms += Math.max(0, meeting2.durationMs);
|
|
3429
|
+
into.timed += 1;
|
|
3430
|
+
}
|
|
3431
|
+
if (meeting2.transcribed)
|
|
3432
|
+
into.transcripts += 1;
|
|
3433
|
+
}, "add");
|
|
3434
|
+
const total = { ...sum(), name: null };
|
|
3435
|
+
const groups = /* @__PURE__ */ new Map();
|
|
3436
|
+
for (const meeting2 of meetings) {
|
|
3437
|
+
add(total, meeting2);
|
|
3438
|
+
const key = by === "series" ? meeting2.seriesKey === null ? NO_SERIES : `series:${meeting2.seriesKey}` : meeting2.startedAt === null ? null : by === "day" ? dayKey(meeting2.startedAt, format) : weekStart(meeting2.startedAt, format);
|
|
3439
|
+
if (key === null)
|
|
3440
|
+
continue;
|
|
3441
|
+
const group = groups.get(key) ?? { ...sum(), name: by === "series" ? meeting2.seriesTitle : null };
|
|
3442
|
+
add(group, meeting2);
|
|
3443
|
+
groups.set(key, group);
|
|
3444
|
+
}
|
|
3445
|
+
const ordered = [...groups.entries()].sort(([a, one], [b, other]) => by === "series" ? other.ms - one.ms || other.meetings - one.meetings || a.localeCompare(b) : b.localeCompare(a));
|
|
3446
|
+
const kept = ordered.slice(0, limit);
|
|
3447
|
+
if (by !== "series")
|
|
3448
|
+
kept.reverse();
|
|
3449
|
+
const counted = /* @__PURE__ */ __name(({ meetings: count6, ms, timed, transcripts }) => ({
|
|
3450
|
+
meetings: count6,
|
|
3451
|
+
minutes: minutesOf(ms),
|
|
3452
|
+
meanMinutes: meanOf(ms, timed),
|
|
3453
|
+
transcripts
|
|
3454
|
+
}), "counted");
|
|
3455
|
+
return {
|
|
3456
|
+
by,
|
|
3457
|
+
timeZone: zone,
|
|
3458
|
+
...counted(total),
|
|
3459
|
+
rows: kept.map(([key, group]) => ({ key, name: group.name, ...counted(group) })),
|
|
3460
|
+
hasMore: ordered.length > limit
|
|
3461
|
+
};
|
|
3462
|
+
}, "aggregateMeetingCounts");
|
|
3332
3463
|
var UNKNOWN_SPEAKER = "unknown";
|
|
3333
3464
|
var speakerOf = /* @__PURE__ */ __name((row) => row.personId !== null ? { key: `person:${row.personId}`, name: row.personName ?? row.identityName ?? row.speakerName } : row.identityId !== null ? { key: `identity:${row.identityId}`, name: row.identityName ?? row.speakerName } : row.speakerName?.trim() ? { key: `name:${row.speakerName.trim().toLowerCase()}`, name: row.speakerName.trim() } : { key: UNKNOWN_SPEAKER, name: null }, "speakerOf");
|
|
3334
3465
|
var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
3335
3466
|
const zone = zoneOf(timeZone);
|
|
3336
|
-
const format =
|
|
3337
|
-
timeZone: zone,
|
|
3338
|
-
year: "numeric",
|
|
3339
|
-
month: "2-digit",
|
|
3340
|
-
day: "2-digit",
|
|
3341
|
-
weekday: "short"
|
|
3342
|
-
});
|
|
3467
|
+
const format = zoneFormat(zone);
|
|
3343
3468
|
const speakers = /* @__PURE__ */ new Map();
|
|
3344
3469
|
const weeks = /* @__PURE__ */ new Map();
|
|
3345
3470
|
const meetings = /* @__PURE__ */ new Set();
|
|
@@ -3392,7 +3517,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
3392
3517
|
};
|
|
3393
3518
|
}, "aggregateMeetingStats");
|
|
3394
3519
|
|
|
3395
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/transcription.js
|
|
3396
3521
|
var bounded = /* @__PURE__ */ __name((value, max, name) => {
|
|
3397
3522
|
if (!Number.isSafeInteger(value) || value < 1 || value > max)
|
|
3398
3523
|
throw new CliError("validation_error", `${name} must be an integer from 1 to ${max}`);
|
|
@@ -3474,19 +3599,19 @@ var transcribeMeeting = /* @__PURE__ */ __name(async (source, store, target, opt
|
|
|
3474
3599
|
throw new CliError("invalid_response", "invalid or excessive recognition segments");
|
|
3475
3600
|
start = segment.startMs;
|
|
3476
3601
|
ends.set(speaker, Math.max(ends.get(speaker) ?? 0, segment.endMs));
|
|
3477
|
-
const
|
|
3478
|
-
if (
|
|
3602
|
+
const text8 = segment.text.trim();
|
|
3603
|
+
if (text8.length > maxTextBytes - textBytes)
|
|
3479
3604
|
throw new CliError("validation_error", "transcript exceeds its byte limit");
|
|
3480
|
-
textBytes += new TextEncoder().encode(
|
|
3605
|
+
textBytes += new TextEncoder().encode(text8).byteLength;
|
|
3481
3606
|
if (textBytes > maxTextBytes)
|
|
3482
3607
|
throw new CliError("validation_error", "transcript exceeds its byte limit");
|
|
3483
|
-
if (
|
|
3608
|
+
if (text8)
|
|
3484
3609
|
rows.push({
|
|
3485
3610
|
position: rows.length,
|
|
3486
3611
|
startMs: segment.startMs,
|
|
3487
3612
|
endMs: segment.endMs,
|
|
3488
3613
|
speakerName: speaker ?? null,
|
|
3489
|
-
text:
|
|
3614
|
+
text: text8,
|
|
3490
3615
|
normalizedText: null,
|
|
3491
3616
|
metadata: null
|
|
3492
3617
|
});
|
|
@@ -3546,7 +3671,7 @@ var transcribeMeeting = /* @__PURE__ */ __name(async (source, store, target, opt
|
|
|
3546
3671
|
};
|
|
3547
3672
|
}, "transcribeMeeting");
|
|
3548
3673
|
|
|
3549
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3674
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/upcoming.js
|
|
3550
3675
|
var cancelled5 = /* @__PURE__ */ __name((signal) => {
|
|
3551
3676
|
if (!signal?.aborted)
|
|
3552
3677
|
return;
|
|
@@ -3616,7 +3741,7 @@ var createUpcomingMeetingReader = /* @__PURE__ */ __name((scope3, port) => {
|
|
|
3616
3741
|
};
|
|
3617
3742
|
}, "createUpcomingMeetingReader");
|
|
3618
3743
|
|
|
3619
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3744
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/meetings/watch.js
|
|
3620
3745
|
var sleep = /* @__PURE__ */ __name((milliseconds, signal) => new Promise((resolve) => {
|
|
3621
3746
|
const finish = /* @__PURE__ */ __name(() => {
|
|
3622
3747
|
clearTimeout(timer);
|
|
@@ -3704,7 +3829,14 @@ export {
|
|
|
3704
3829
|
PAYMENT_STATES,
|
|
3705
3830
|
validatePayment,
|
|
3706
3831
|
paymentTitle,
|
|
3832
|
+
meetingTimestamp,
|
|
3833
|
+
findingText,
|
|
3707
3834
|
findingHash,
|
|
3835
|
+
findingFields,
|
|
3836
|
+
validEvidence,
|
|
3837
|
+
findingId,
|
|
3838
|
+
validateFinding,
|
|
3839
|
+
validateBatch,
|
|
3708
3840
|
validateFindings,
|
|
3709
3841
|
findingFingerprint,
|
|
3710
3842
|
MEETING_FINDINGS_KIND,
|
|
@@ -3745,6 +3877,8 @@ export {
|
|
|
3745
3877
|
meetingSpeakerItem,
|
|
3746
3878
|
meetingStats,
|
|
3747
3879
|
meetingStatsItem,
|
|
3880
|
+
meetingCounts,
|
|
3881
|
+
meetingCountsItem,
|
|
3748
3882
|
meetingParticipants,
|
|
3749
3883
|
meetingPassage,
|
|
3750
3884
|
event,
|
|
@@ -3769,6 +3903,9 @@ export {
|
|
|
3769
3903
|
validateMeetingSeriesHistory,
|
|
3770
3904
|
validateMeetingSeriesInventoryCursor,
|
|
3771
3905
|
createMeetingSeriesInventoryReader,
|
|
3906
|
+
MEETING_COUNTS_GROUPINGS,
|
|
3907
|
+
NO_SERIES,
|
|
3908
|
+
aggregateMeetingCounts,
|
|
3772
3909
|
aggregateMeetingStats,
|
|
3773
3910
|
transcribeMeeting,
|
|
3774
3911
|
createUpcomingMeetingReader,
|