@wirecat/zoom-cli 0.64.0 → 0.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/answer-entities.d.ts +13 -0
- package/dist/answer-entities.d.ts.map +1 -1
- package/dist/answer-entities.js +5 -0
- package/dist/answer-entities.js.map +1 -1
- package/dist/answers.d.ts +8 -0
- package/dist/answers.d.ts.map +1 -1
- package/dist/archive-import.d.ts +1 -1
- package/dist/archive-import.d.ts.map +1 -1
- package/dist/archive-import.js +2 -1
- package/dist/archive-import.js.map +1 -1
- package/dist/bin/zm.js +6 -2
- package/dist/bin/zm.js.map +1 -1
- package/dist/bundle/{all-profiles-W2OVBZ7S.js → all-profiles-D5CFH2OK.js} +11 -8
- package/dist/bundle/answer-policy-YAYMKRRD.js +101 -0
- package/dist/bundle/{anthropic-P4BKQNBO.js → anthropic-K2E2JS4S.js} +7 -4
- package/dist/bundle/{app-server-AYUW45ND.js → app-server-TVXDG6HZ.js} +68 -61
- package/dist/bundle/{bun-MNGPTYDQ.js → bun-O4WHGL2F.js} +2 -2
- package/dist/bundle/{bun-sqlite-PTPUSXAO.js → bun-sqlite-HGBEHQI3.js} +6 -3
- package/dist/bundle/{chunk-TYKZCJD7.js → chunk-2T5BOLBS.js} +35 -35
- package/dist/bundle/{chunk-H3DMYF3W.js → chunk-2VPHQFO5.js} +8 -8
- package/dist/bundle/{chunk-JMSKDW5G.js → chunk-2YLNUZ3T.js} +5 -3
- package/dist/bundle/{chunk-AAC6VNSL.js → chunk-3B7L2UX4.js} +3 -3
- package/dist/bundle/{chunk-6NBQJJT6.js → chunk-3WTKZ2ZS.js} +13 -11
- package/dist/bundle/{chunk-H65B6A7Y.js → chunk-3Y2F65AY.js} +8 -8
- package/dist/bundle/{chunk-A2FOW3ZC.js → chunk-5A26IBAR.js} +162 -107
- package/dist/bundle/{chunk-BO5YVG3X.js → chunk-5GD2XZ6X.js} +132 -40
- package/dist/bundle/{chunk-7D56BQZL.js → chunk-5HPALDUO.js} +2 -2
- package/dist/bundle/{chunk-5FN4Q5H5.js → chunk-62GOOZO3.js} +8 -13
- package/dist/bundle/{chunk-J25UNZIL.js → chunk-67RNZGAG.js} +12 -10
- package/dist/bundle/{chunk-3AAO5N4L.js → chunk-6GSJLNP4.js} +2 -2
- package/dist/bundle/{chunk-UNO4G5NX.js → chunk-6TIKPRVQ.js} +11 -7
- package/dist/bundle/{chunk-HQHUPTZR.js → chunk-756RS4PH.js} +1393 -712
- package/dist/bundle/{chunk-R4NTPYXZ.js → chunk-7JMBEPW2.js} +2 -2
- package/dist/bundle/{chunk-HIGFBTEI.js → chunk-7KCTPGOF.js} +2 -2
- package/dist/bundle/{chunk-TJODNJKE.js → chunk-7PF56S6U.js} +33 -22
- package/dist/bundle/{chunk-LEQCRVPD.js → chunk-7SQJCKR6.js} +1 -1
- package/dist/bundle/{chunk-BWPKSUXW.js → chunk-A2SCXNA7.js} +4518 -402
- package/dist/bundle/{chunk-QK54GOGE.js → chunk-AU4JHT3R.js} +7 -9
- package/dist/bundle/{chunk-63MRRNDL.js → chunk-AZ7ICKIA.js} +8 -8
- package/dist/bundle/chunk-BLT3LR3U.js +34 -0
- package/dist/bundle/{chunk-UABUBDYB.js → chunk-BXSAROQP.js} +2 -2
- package/dist/bundle/{chunk-Q3EDUZ5R.js → chunk-CAW6IMFZ.js} +25 -18
- package/dist/bundle/{chunk-UCPL55YP.js → chunk-CR4CXOLX.js} +17 -17
- package/dist/bundle/{chunk-SMT6SFBK.js → chunk-CZ4KLUJG.js} +2 -2
- package/dist/bundle/{chunk-COTC7HF3.js → chunk-D72URWJE.js} +1 -39
- package/dist/bundle/{chunk-X6M5DK66.js → chunk-EXXM4RNI.js} +14 -12
- package/dist/bundle/{chunk-CZKV4USJ.js → chunk-FWFFQV4D.js} +59 -4
- package/dist/bundle/{chunk-JJZAGKUK.js → chunk-GHAPWKG2.js} +5 -3
- package/dist/bundle/{chunk-JRPYHDCO.js → chunk-GI6QVSCW.js} +4 -4
- package/dist/bundle/{chunk-Y7TWNMTW.js → chunk-GKXFL35E.js} +198 -65
- package/dist/bundle/{chunk-K6OSD6DG.js → chunk-GNGBG5BT.js} +81 -35
- package/dist/bundle/{chunk-RJLNVHIU.js → chunk-H5ZVZAOD.js} +3 -3
- package/dist/bundle/{chunk-XZSQLVED.js → chunk-HKQWV3KT.js} +5 -3
- package/dist/bundle/chunk-IDWHJ35K.js +166 -0
- package/dist/bundle/{chunk-JM43EKTY.js → chunk-IKQ73INC.js} +1928 -679
- package/dist/bundle/chunk-ILHTNOIV.js +23 -0
- package/dist/bundle/{chunk-OPP5CWAX.js → chunk-J4EZL6HY.js} +61 -56
- package/dist/bundle/{chunk-54UEJGYB.js → chunk-JX3V35A5.js} +3 -3
- package/dist/bundle/{chunk-7VJIKJNW.js → chunk-K5CIN4JP.js} +8 -8
- package/dist/bundle/{chunk-KJCCT3QY.js → chunk-KDKFGQWG.js} +17 -14
- package/dist/bundle/{chunk-RK3JBC4U.js → chunk-L7IK4FOA.js} +2 -2
- package/dist/bundle/{chunk-7EOW47PV.js → chunk-LN2S3RA3.js} +4 -4
- package/dist/bundle/{chunk-I5QX2HAT.js → chunk-N5JRRBEG.js} +214 -107
- package/dist/bundle/chunk-N67BLTBV.js +2443 -0
- package/dist/bundle/{chunk-23LOMA2I.js → chunk-N6JMJN5A.js} +48 -26
- package/dist/bundle/{chunk-CZFV6XTW.js → chunk-NMQUCHTX.js} +3 -3
- package/dist/bundle/{chunk-TJH5IQVZ.js → chunk-NO24PJNW.js} +1 -1
- package/dist/bundle/{chunk-UFI5SX3F.js → chunk-O5FKJV3T.js} +14 -12
- package/dist/bundle/{chunk-IIP4J3PD.js → chunk-P2G4KGTR.js} +94 -12
- package/dist/bundle/{chunk-OWXMQVVN.js → chunk-P2SYZNM4.js} +1 -1
- package/dist/bundle/{chunk-EQYPTGCT.js → chunk-P3XVLHIQ.js} +6 -4
- package/dist/bundle/chunk-PQLBPYJR.js +46 -0
- package/dist/bundle/{chunk-5BCNJB2A.js → chunk-Q47C3QZW.js} +675 -507
- package/dist/bundle/{chunk-IIGXCYEL.js → chunk-QAPU2JNO.js} +13 -13
- package/dist/bundle/{chunk-WFIJOFS5.js → chunk-QJHRYUMJ.js} +1 -1
- package/dist/bundle/{chunk-YNYMWXXH.js → chunk-QV5ZGRK3.js} +40 -11
- package/dist/bundle/{chunk-3IMEAZIM.js → chunk-RMKHYUHK.js} +9 -20
- package/dist/bundle/{chunk-AF4HONAZ.js → chunk-RO44LANT.js} +6449 -4436
- package/dist/bundle/{chunk-3DGQJASQ.js → chunk-S4GDDO5S.js} +1 -1
- package/dist/bundle/chunk-S6S3KVJI.js +45 -0
- package/dist/bundle/{chunk-SJIBJQJN.js → chunk-SU4WPBQE.js} +44 -14
- package/dist/bundle/{chunk-7NDSBTKR.js → chunk-TFDVFD4N.js} +91 -2546
- package/dist/bundle/{chunk-HQHYPKSU.js → chunk-TMVKZMDO.js} +54 -37
- package/dist/bundle/{chunk-PBJY5VR6.js → chunk-TN7K66PU.js} +1 -1
- package/dist/bundle/{chunk-ZW4N73FO.js → chunk-TUEEXECZ.js} +5 -5
- package/dist/bundle/{chunk-H5LLZ5XA.js → chunk-U3ZUT557.js} +1 -1
- package/dist/bundle/{chunk-4XVRA6P5.js → chunk-U4RVOSX3.js} +1 -1
- package/dist/bundle/{chunk-5YLR24D5.js → chunk-UOIXBEFR.js} +13 -6
- package/dist/bundle/chunk-UYV2JGLQ.js +34 -0
- package/dist/bundle/{chunk-7SWNZ44U.js → chunk-XFUID5NY.js} +4 -4
- package/dist/bundle/{chunk-BMYZWBAX.js → chunk-XWDSEJWP.js} +6 -6
- package/dist/bundle/{chunk-JZKNHA44.js → chunk-Y3EIK4XW.js} +1 -1
- package/dist/bundle/{chunk-24WCZURP.js → chunk-YLEQN6PB.js} +5 -3
- package/dist/bundle/{chunk-2UONVSJQ.js → chunk-Z6U3MEGJ.js} +2 -2
- package/dist/bundle/{chunk-L4JGVSBN.js → chunk-ZKTXUDSR.js} +33 -28
- package/dist/bundle/{chunk-FSYO3PUW.js → chunk-ZNFPDTQM.js} +2 -2
- package/dist/bundle/{chunk-C3RRIJ5C.js → chunk-ZTL7ANSG.js} +9 -42
- package/dist/bundle/{cli-Y2ZO3D5U.js → cli-HWQIL2AC.js} +124 -73
- package/dist/bundle/command-contract-CQFJXWX6.js +40 -0
- package/dist/bundle/config-R2Y6ZVQS.js +83 -0
- package/dist/bundle/{decode-GO6GAYH2.js → decode-XPAPPUGE.js} +6 -3
- package/dist/bundle/dispatch-AKVJGP2S.js +412 -0
- package/dist/bundle/{dist-MIJKAGXW.js → dist-LDIUQBM7.js} +23 -16
- package/dist/bundle/{echarts-NWK7LALR.js → echarts-FMACRZQC.js} +2 -2
- package/dist/bundle/{embed-2DOSN4DV.js → embed-LK45GRQ7.js} +7 -4
- package/dist/bundle/{embedder-3Q3C2WKC.js → embedder-QPBC5XBY.js} +12 -9
- package/dist/bundle/failure-7OULAOWQ.js +25 -0
- package/dist/bundle/first-run-J5FG773Q.js +28 -0
- package/dist/bundle/first-screen-MULOBUHN.js +38 -0
- package/dist/bundle/{folders-RSWEBHDZ.js → folders-RHPUVMDI.js} +5 -2
- package/dist/bundle/{instructions-M3FZPQVI.js → instructions-E5FXYCWF.js} +1 -1
- package/dist/bundle/{main-R77BPRRS.js → main-FJHE5YHU.js} +28 -22
- package/dist/bundle/{mcp-YJEQYYTR.js → mcp-MNI62HHE.js} +5 -3
- package/dist/bundle/{meetings-IV4Y4WRH.js → meetings-MYIDGYGW.js} +19 -6
- package/dist/bundle/{node-I3GEHYGL.js → node-4SNKUPXT.js} +2 -2
- package/dist/bundle/{node-sqlite-W6MR2TVQ.js → node-sqlite-SYZUTVPC.js} +12 -3
- package/dist/bundle/{oauth-M6YL4QXP.js → oauth-QPS5VTN6.js} +8 -5
- package/dist/bundle/{open-2VITLJAN.js → open-OVCASRSJ.js} +6 -2
- package/dist/bundle/openai-VEVT7D7L.js +25 -0
- package/dist/bundle/{output-file-XJJ3XMLQ.js → output-file-K5JEL33Z.js} +7 -4
- package/dist/bundle/{process-UBA4L4B2.js → process-HQZOTT6U.js} +1 -1
- package/dist/bundle/{program-5R5MRXUM.js → program-A546WC4F.js} +120 -112
- package/dist/bundle/{prompt-AVIXIM7Z.js → prompt-CYBKP7S5.js} +6 -3
- package/dist/bundle/{recognize-DJKTJOYU.js → recognize-3H3YDCFI.js} +5 -2
- package/dist/bundle/{remote-S3DTNYRP.js → remote-VAYVTJBS.js} +8 -5
- package/dist/bundle/{rerank-FMCDP6VF.js → rerank-XA4GA5PS.js} +8 -5
- package/dist/bundle/{run-log-T4MV2VEH.js → run-log-XAFHMI3F.js} +59 -54
- package/dist/bundle/{serve-5SGFJFMC.js → serve-KGHEDUHB.js} +18 -14
- package/dist/bundle/server-IDNSJXF3.js +71 -0
- package/dist/bundle/{server-PCMCY7WK.js → server-ZYTSMDTP.js} +47 -42
- package/dist/bundle/{services-SKRQ2POT.js → services-ZHMZC2OQ.js} +106 -28
- package/dist/bundle/{speech-FSDICIKO.js → speech-7CJEFKM3.js} +14 -11
- package/dist/bundle/{state-KPUSPWO6.js → state-U6KSYVOH.js} +7 -4
- package/dist/bundle/{store-W7LFPKG2.js → store-DJE3LAEG.js} +17 -13
- package/dist/bundle/{store-7MP2ZGQ7.js → store-WS4CQGYU.js} +40 -18
- package/dist/bundle/store-connection-T5WGOOPH.js +81 -0
- package/dist/bundle/store-maintenance-command-5CBQCEQQ.js +61 -0
- package/dist/bundle/{streaming-Q44ESD3E.js → streaming-QMHH7L6N.js} +7 -4
- package/dist/bundle/{tokens-TAFCHANI.js → tokens-PWQ56OXO.js} +7 -4
- package/dist/bundle/zm.js +150 -1
- package/dist/local-transcription.d.ts.map +1 -1
- package/dist/local-transcription.js +1 -0
- package/dist/local-transcription.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +5 -4
- package/dist/bundle/answer-policy-HOA43GNA.js +0 -96
- package/dist/bundle/chunk-JRPAZ2WD.js +0 -3635
- package/dist/bundle/command-contract-DGTZIH2F.js +0 -38
- package/dist/bundle/config-N2UHDKGG.js +0 -78
- package/dist/bundle/first-run-S75VKIT3.js +0 -23
- package/dist/bundle/first-screen-DQNRT6GH.js +0 -36
- package/dist/bundle/openai-OG6B3JCU.js +0 -22
- package/dist/bundle/server-EYGZLKKQ.js +0 -66
- package/dist/bundle/store-connection-3HNZFJC4.js +0 -76
- package/dist/bundle/store-maintenance-command-6WBLTUZP.js +0 -55
- /package/dist/bundle/{chunk-WJWLHLQ7.js → chunk-NUN6OGOV.js} +0 -0
|
@@ -8,9 +8,8 @@ import {
|
|
|
8
8
|
queryFieldsOf,
|
|
9
9
|
timezoneOf,
|
|
10
10
|
validateQuery
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SU4WPBQE.js";
|
|
12
12
|
import {
|
|
13
|
-
CliError,
|
|
14
13
|
STEPS,
|
|
15
14
|
array,
|
|
16
15
|
boolean,
|
|
@@ -29,18 +28,23 @@ import {
|
|
|
29
28
|
pipe,
|
|
30
29
|
reference,
|
|
31
30
|
safeParse,
|
|
32
|
-
singleLine,
|
|
33
31
|
stepOf,
|
|
34
32
|
strictObject,
|
|
35
33
|
string,
|
|
36
|
-
union
|
|
34
|
+
union
|
|
35
|
+
} from "./chunk-N67BLTBV.js";
|
|
36
|
+
import {
|
|
37
|
+
CliError
|
|
38
|
+
} from "./chunk-S6S3KVJI.js";
|
|
39
|
+
import {
|
|
40
|
+
singleLine,
|
|
37
41
|
visibleControls
|
|
38
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-UYV2JGLQ.js";
|
|
39
43
|
import {
|
|
40
44
|
__name
|
|
41
45
|
} from "./chunk-ZVVMGPBJ.js";
|
|
42
46
|
|
|
43
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
47
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
44
48
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
45
49
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
46
50
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -77,7 +81,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text9) => {
|
|
|
77
81
|
}, "parseMeetingReference");
|
|
78
82
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text9) => formatMeetingReference(parseMeetingReference(text9)), "canonicalMeetingReference");
|
|
79
83
|
|
|
80
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
84
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
81
85
|
var text = string();
|
|
82
86
|
var count = pipe(number(), integer(), minValue(0));
|
|
83
87
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -142,7 +146,7 @@ var MEETING_QUERY = {
|
|
|
142
146
|
})
|
|
143
147
|
};
|
|
144
148
|
|
|
145
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
149
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
146
150
|
var text2 = string();
|
|
147
151
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
148
152
|
var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
@@ -156,6 +160,11 @@ var meetingHit = strictObject({
|
|
|
156
160
|
excerpt: text2,
|
|
157
161
|
/** How far into the meeting the passage is. */
|
|
158
162
|
offset_ms: nullable(count2),
|
|
163
|
+
/** A transcript passage's transcript language (`ru`, `en`…), `null` when unknown. */
|
|
164
|
+
language: optional(nullable(text2)),
|
|
165
|
+
/** A transcript passage's line, from 1, of `lines_total`. */
|
|
166
|
+
line: optional(pipe(count2, minValue(1))),
|
|
167
|
+
lines_total: optional(count2),
|
|
159
168
|
/** `corrected`: a query word matched only a garbled form of itself, listed in `corrections`. */
|
|
160
169
|
match: optional(picklist(["words", "corrected"])),
|
|
161
170
|
corrections: optional(array(strictObject({ from: text2, to: array(text2) }))),
|
|
@@ -322,6 +331,9 @@ var meetingHitItem = /* @__PURE__ */ __name((hit) => ({
|
|
|
322
331
|
id: String(hit.id),
|
|
323
332
|
excerpt: hit.text,
|
|
324
333
|
offset_ms: hit.startMs,
|
|
334
|
+
...hit.language === void 0 ? {} : { language: hit.language },
|
|
335
|
+
...hit.line === void 0 ? {} : { line: hit.line },
|
|
336
|
+
...hit.linesTotal === void 0 ? {} : { lines_total: hit.linesTotal },
|
|
325
337
|
untrusted: hit.source === void 0 ? ["excerpt"] : ["excerpt", "source.title"],
|
|
326
338
|
...hit.match === void 0 ? {} : { match: hit.match },
|
|
327
339
|
...hit.corrections === void 0 ? {} : { corrections: hit.corrections },
|
|
@@ -369,7 +381,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
369
381
|
};
|
|
370
382
|
}, "meetingHitsList");
|
|
371
383
|
|
|
372
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
373
385
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
374
386
|
const parsed = urlOf(url);
|
|
375
387
|
if (!parsed)
|
|
@@ -403,7 +415,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
403
415
|
}
|
|
404
416
|
}, "urlOf");
|
|
405
417
|
|
|
406
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
407
419
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
408
420
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
409
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");
|
|
@@ -436,7 +448,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
436
448
|
return kept;
|
|
437
449
|
}, "entryMetadata");
|
|
438
450
|
|
|
439
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
451
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
440
452
|
import { createHash } from "node:crypto";
|
|
441
453
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
442
454
|
reference: cue2.reference,
|
|
@@ -450,7 +462,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
450
462
|
text: cue2.text
|
|
451
463
|
})).digest("hex"), "meetingCueFingerprint");
|
|
452
464
|
|
|
453
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
465
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
454
466
|
var EVENT_QUERY = defineQuery({
|
|
455
467
|
entity: "event",
|
|
456
468
|
backend: "sql",
|
|
@@ -466,7 +478,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
466
478
|
]
|
|
467
479
|
});
|
|
468
480
|
|
|
469
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
481
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
470
482
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
471
483
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
472
484
|
if (entry.recurrenceEndsAt !== null)
|
|
@@ -516,7 +528,7 @@ var eventChange = /* @__PURE__ */ __name((event2, entries, revisions, since) =>
|
|
|
516
528
|
return null;
|
|
517
529
|
}, "eventChange");
|
|
518
530
|
|
|
519
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
520
532
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
|
|
521
533
|
const current = await store.meeting(details.meeting.id);
|
|
522
534
|
if (!current)
|
|
@@ -559,7 +571,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
559
571
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
560
572
|
}, "linkEvent");
|
|
561
573
|
|
|
562
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
574
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
563
575
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text9) => text9.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
564
576
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
565
577
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -583,7 +595,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
583
595
|
};
|
|
584
596
|
}, "validateMeetingParticipantSearch");
|
|
585
597
|
|
|
586
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
598
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
587
599
|
var MeetingError = class extends CliError {
|
|
588
600
|
static {
|
|
589
601
|
__name(this, "MeetingError");
|
|
@@ -715,7 +727,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id4, accountId)
|
|
|
715
727
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
716
728
|
}, "meetingSummaryAnswer");
|
|
717
729
|
|
|
718
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
730
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
719
731
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
720
732
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
721
733
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -811,19 +823,89 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id4, options) => {
|
|
|
811
823
|
};
|
|
812
824
|
}, "exportMeeting");
|
|
813
825
|
|
|
814
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
815
827
|
import { createHash as createHash2 } from "node:crypto";
|
|
816
828
|
|
|
817
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
818
|
-
var
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
829
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/payment.js
|
|
830
|
+
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise", "payment"];
|
|
831
|
+
var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
|
|
832
|
+
var PAYMENT_STATES = ["expected", "paid", "cancelled"];
|
|
833
|
+
var invalid2 = /* @__PURE__ */ __name((message) => {
|
|
834
|
+
throw new CliError("validation_error", message);
|
|
835
|
+
}, "invalid");
|
|
836
|
+
var CURRENCIES = new Set(Intl.supportedValuesOf("currency"));
|
|
837
|
+
var AMOUNT = /^(\d{1,15})(?:\.(\d{1,2}))?$/;
|
|
838
|
+
var COUNTERPARTY = /^(person|organization|project):[1-9]\d*$/;
|
|
839
|
+
var amountOf = /* @__PURE__ */ __name((value) => {
|
|
840
|
+
const match = AMOUNT.exec(typeof value === "number" ? String(value) : typeof value === "string" ? value.trim() : "");
|
|
841
|
+
if (!match)
|
|
842
|
+
return invalid2("a payment's amount is a positive number with at most 2 decimals, such as 1200.50");
|
|
843
|
+
const amount = `${BigInt(match[1] ?? "0")}.${(match[2] ?? "").padEnd(2, "0")}`;
|
|
844
|
+
if (amount === "0.00")
|
|
845
|
+
return invalid2("a payment's amount is more than 0");
|
|
846
|
+
return amount;
|
|
847
|
+
}, "amountOf");
|
|
848
|
+
var dateOf = /* @__PURE__ */ __name((value) => {
|
|
849
|
+
const date2 = typeof value === "string" ? value.trim() : "";
|
|
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 due date is an ISO date, such as 2026-10-31");
|
|
852
|
+
return date2;
|
|
853
|
+
}, "dateOf");
|
|
854
|
+
var optionalText = /* @__PURE__ */ __name((value, what, limit) => {
|
|
855
|
+
if (value === void 0 || value === null)
|
|
856
|
+
return null;
|
|
857
|
+
if (typeof value !== "string" || !value.trim() || value.length > limit || value.includes("\0"))
|
|
858
|
+
return invalid2(`a payment's ${what} takes 1\u2013${limit} characters`);
|
|
859
|
+
return value.trim();
|
|
860
|
+
}, "optionalText");
|
|
861
|
+
var oneOf = /* @__PURE__ */ __name((value, allowed, what) => {
|
|
862
|
+
if (typeof value !== "string" || !allowed.includes(value))
|
|
863
|
+
return invalid2(`a payment's ${what} is one of ${allowed.join(", ")}`);
|
|
864
|
+
return value;
|
|
865
|
+
}, "oneOf");
|
|
866
|
+
var FIELDS = ["amount", "currency", "direction", "counterparty", "counterparty_name", "due_at", "state", "item"];
|
|
867
|
+
var validatePayment = /* @__PURE__ */ __name((input) => {
|
|
868
|
+
if (!input || typeof input !== "object" || Array.isArray(input))
|
|
869
|
+
return invalid2("a payment is an object");
|
|
870
|
+
const raw = input;
|
|
871
|
+
const unknown = Object.keys(raw).filter((key) => !FIELDS.includes(key));
|
|
872
|
+
if (unknown.length)
|
|
873
|
+
return invalid2(`a payment has no field ${unknown.join(", ")}; its fields are ${FIELDS.join(", ")}`);
|
|
874
|
+
const currency = typeof raw.currency === "string" ? raw.currency.trim().toUpperCase() : "";
|
|
875
|
+
if (!/^[A-Z]{3}$/.test(currency) || !CURRENCIES.has(currency))
|
|
876
|
+
return invalid2("a payment's currency is an ISO 4217 code, such as EUR or RUB");
|
|
877
|
+
const counterparty = optionalText(raw.counterparty, "counterparty", 80);
|
|
878
|
+
if (counterparty !== null && !COUNTERPARTY.test(counterparty))
|
|
879
|
+
return invalid2("a payment's counterparty is a person:, organization: or project: reference");
|
|
880
|
+
return {
|
|
881
|
+
amount: amountOf(raw.amount),
|
|
882
|
+
currency,
|
|
883
|
+
direction: oneOf(raw.direction, PAYMENT_DIRECTIONS, "direction"),
|
|
884
|
+
counterparty,
|
|
885
|
+
counterparty_name: optionalText(raw.counterparty_name, "counterparty name", 200),
|
|
886
|
+
due_at: raw.due_at === void 0 || raw.due_at === null ? null : dateOf(raw.due_at),
|
|
887
|
+
state: oneOf(raw.state, PAYMENT_STATES, "state"),
|
|
888
|
+
item: optionalText(raw.item, "item", 200)
|
|
889
|
+
};
|
|
890
|
+
}, "validatePayment");
|
|
891
|
+
var grouped = /* @__PURE__ */ __name((amount) => {
|
|
892
|
+
const [whole = "0", cents = "00"] = amount.split(".");
|
|
893
|
+
const digits = whole.replace(/\B(?=(\d{3})+(?!\d))/g, " ");
|
|
894
|
+
return cents === "00" ? digits : `${digits}.${cents}`;
|
|
895
|
+
}, "grouped");
|
|
896
|
+
var paymentTitle = /* @__PURE__ */ __name((fact) => {
|
|
897
|
+
const payment = fact.payment;
|
|
898
|
+
if (!payment)
|
|
899
|
+
return "";
|
|
900
|
+
const who = payment.counterparty_name ?? payment.counterparty;
|
|
901
|
+
const way = payment.direction === "to_us" ? "to us" : "from us";
|
|
902
|
+
const party = who === null ? "" : payment.direction === "to_us" ? ` from ${who}` : ` to ${who}`;
|
|
903
|
+
const due = payment.due_at === null ? "" : `, due ${payment.due_at.slice(8, 10)}.${payment.due_at.slice(5, 7)}`;
|
|
904
|
+
const item = payment.item === null ? "" : ` for ${payment.item}`;
|
|
905
|
+
return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
|
|
906
|
+
}, "paymentTitle");
|
|
825
907
|
|
|
826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
908
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
827
909
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
828
910
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
829
911
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone`);
|
|
@@ -834,319 +916,61 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
834
916
|
return new Date(value).toISOString();
|
|
835
917
|
}, "meetingTimestamp");
|
|
836
918
|
|
|
837
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
838
|
-
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
839
|
-
if (typeof value !== "string" || !value.trim())
|
|
840
|
-
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
841
|
-
return value;
|
|
842
|
-
}, "nonempty");
|
|
843
|
-
var validateMeetingChange = /* @__PURE__ */ __name((change, create) => {
|
|
844
|
-
if (!change || typeof change !== "object" || Array.isArray(change) || Object.keys(change).some((key) => !["title", "kind", "startTime", "durationMinutes", "timezone", "agenda"].includes(key)))
|
|
845
|
-
throw new CliError("validation_error", "unsupported meeting change field");
|
|
846
|
-
const result = {};
|
|
847
|
-
if (change.title !== void 0)
|
|
848
|
-
result.title = nonempty(change.title, "meeting title");
|
|
849
|
-
if (create && result.title === void 0)
|
|
850
|
-
throw new CliError("validation_error", "meeting title is required");
|
|
851
|
-
if (change.kind !== void 0) {
|
|
852
|
-
if (change.kind !== "instant" && change.kind !== "scheduled")
|
|
853
|
-
throw new CliError("validation_error", "only instant or scheduled meeting kinds are supported");
|
|
854
|
-
result.kind = change.kind;
|
|
855
|
-
}
|
|
856
|
-
if (change.startTime !== void 0) {
|
|
857
|
-
result.startTime = meetingTimestamp(change.startTime, "meeting start");
|
|
858
|
-
}
|
|
859
|
-
if (change.durationMinutes !== void 0) {
|
|
860
|
-
if (!Number.isSafeInteger(change.durationMinutes) || change.durationMinutes <= 0 || change.durationMinutes > 1440)
|
|
861
|
-
throw new CliError("validation_error", "meeting duration must be an integer from 1 to 1440 minutes");
|
|
862
|
-
result.durationMinutes = change.durationMinutes;
|
|
863
|
-
}
|
|
864
|
-
if (change.timezone !== void 0) {
|
|
865
|
-
if (typeof change.timezone !== "string" || !change.timezone.trim())
|
|
866
|
-
throw new CliError("validation_error", "meeting timezone must be a valid IANA timezone");
|
|
867
|
-
try {
|
|
868
|
-
new Intl.DateTimeFormat("en", { timeZone: change.timezone }).format();
|
|
869
|
-
} catch {
|
|
870
|
-
throw new CliError("validation_error", "meeting timezone must be a valid IANA timezone");
|
|
871
|
-
}
|
|
872
|
-
result.timezone = change.timezone;
|
|
873
|
-
}
|
|
874
|
-
if (change.agenda !== void 0) {
|
|
875
|
-
if (typeof change.agenda !== "string")
|
|
876
|
-
throw new CliError("validation_error", "meeting agenda must be text");
|
|
877
|
-
result.agenda = change.agenda;
|
|
878
|
-
}
|
|
879
|
-
if (create) {
|
|
880
|
-
result.kind ??= "scheduled";
|
|
881
|
-
if (result.kind === "scheduled" && result.startTime === void 0)
|
|
882
|
-
throw new CliError("validation_error", "scheduled meeting start is required");
|
|
883
|
-
} else if (!Object.keys(result).length)
|
|
884
|
-
throw new CliError("validation_error", "at least one meeting change is required");
|
|
885
|
-
return Object.freeze(result);
|
|
886
|
-
}, "validateMeetingChange");
|
|
887
|
-
var checkCancelled = /* @__PURE__ */ __name((signal) => {
|
|
888
|
-
if (!signal?.aborted)
|
|
889
|
-
return;
|
|
890
|
-
if (signal.reason instanceof CliError)
|
|
891
|
-
throw signal.reason;
|
|
892
|
-
const timeout = signal.reason instanceof Error && signal.reason.name === "TimeoutError";
|
|
893
|
-
throw new CliError(timeout ? "timeout" : "cancelled", timeout ? "meeting operation timed out" : "meeting operation cancelled");
|
|
894
|
-
}, "checkCancelled");
|
|
895
|
-
var dispatchMeetingMutation = /* @__PURE__ */ __name(async (options, dispatch) => {
|
|
896
|
-
const { apply, dryRun, signal } = options;
|
|
897
|
-
checkCancelled(signal);
|
|
898
|
-
if (apply !== true || dryRun)
|
|
899
|
-
return { applied: false };
|
|
900
|
-
return { applied: true, value: await dispatch(signal) };
|
|
901
|
-
}, "dispatchMeetingMutation");
|
|
902
|
-
var createMeetingManagement = /* @__PURE__ */ __name((scope3, ports) => {
|
|
903
|
-
const fixed = snapshotMeetingScope(scope3);
|
|
904
|
-
const capabilities = {};
|
|
905
|
-
for (const name of ["list", "get", "invitation", "create", "update", "cancel"]) {
|
|
906
|
-
const port = ports[name];
|
|
907
|
-
if (typeof port === "function")
|
|
908
|
-
Object.defineProperty(capabilities, name, { value: port.bind(ports), enumerable: true });
|
|
909
|
-
}
|
|
910
|
-
Object.freeze(capabilities);
|
|
911
|
-
const context3 = /* @__PURE__ */ __name((options) => {
|
|
912
|
-
const signal = options.signal;
|
|
913
|
-
checkCancelled(signal);
|
|
914
|
-
return Object.freeze({ scope: fixed, ...signal ? { signal } : {} });
|
|
915
|
-
}, "context");
|
|
916
|
-
const capability = /* @__PURE__ */ __name((name) => {
|
|
917
|
-
const port = capabilities[name];
|
|
918
|
-
if (!port)
|
|
919
|
-
throw new CliError("provider_unavailable", `meeting provider does not support ${name}`);
|
|
920
|
-
return port;
|
|
921
|
-
}, "capability");
|
|
922
|
-
return {
|
|
923
|
-
scope: fixed,
|
|
924
|
-
capabilities: Object.freeze(Object.keys(capabilities).filter((name) => typeof capabilities[name] === "function")),
|
|
925
|
-
list(options = {}) {
|
|
926
|
-
return capability("list")(context3(options));
|
|
927
|
-
},
|
|
928
|
-
get(id4, options = {}) {
|
|
929
|
-
return capability("get")(nonempty(id4, "meeting id"), context3(options));
|
|
930
|
-
},
|
|
931
|
-
invitation(id4, options = {}) {
|
|
932
|
-
return capability("invitation")(nonempty(id4, "meeting id"), context3(options));
|
|
933
|
-
},
|
|
934
|
-
async create(change, options = {}) {
|
|
935
|
-
const port = capability("create");
|
|
936
|
-
const validated = validateMeetingChange(change, true);
|
|
937
|
-
const ctx = context3(options);
|
|
938
|
-
const outcome = await dispatchMeetingMutation(options, () => port(validated, ctx));
|
|
939
|
-
return {
|
|
940
|
-
action: "create",
|
|
941
|
-
scope: fixed,
|
|
942
|
-
change: validated,
|
|
943
|
-
applied: outcome.applied,
|
|
944
|
-
...outcome.value ? { meeting: outcome.value } : {}
|
|
945
|
-
};
|
|
946
|
-
},
|
|
947
|
-
async update(id4, change, options = {}) {
|
|
948
|
-
const port = capability("update");
|
|
949
|
-
const validatedId = nonempty(id4, "meeting id");
|
|
950
|
-
const validated = validateMeetingChange(change, false);
|
|
951
|
-
const ctx = context3(options);
|
|
952
|
-
const outcome = await dispatchMeetingMutation(options, () => port(validatedId, validated, ctx));
|
|
953
|
-
return { action: "update", scope: fixed, id: validatedId, change: validated, applied: outcome.applied };
|
|
954
|
-
},
|
|
955
|
-
async cancel(id4, options = {}) {
|
|
956
|
-
const port = capability("cancel");
|
|
957
|
-
const validatedId = nonempty(id4, "meeting id");
|
|
958
|
-
const occurrenceId2 = options.occurrenceId === void 0 ? void 0 : nonempty(options.occurrenceId, "occurrence id");
|
|
959
|
-
const ctx = { ...context3(options), ...occurrenceId2 === void 0 ? {} : { occurrenceId: occurrenceId2 } };
|
|
960
|
-
const outcome = await dispatchMeetingMutation(options, () => port(validatedId, ctx));
|
|
961
|
-
return {
|
|
962
|
-
action: "cancel",
|
|
963
|
-
scope: fixed,
|
|
964
|
-
id: validatedId,
|
|
965
|
-
applied: outcome.applied,
|
|
966
|
-
...occurrenceId2 === void 0 ? {} : { occurrenceId: occurrenceId2 }
|
|
967
|
-
};
|
|
968
|
-
}
|
|
969
|
-
};
|
|
970
|
-
}, "createMeetingManagement");
|
|
971
|
-
|
|
972
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/meetings/meeting-context.js
|
|
973
|
-
var MEETING_FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
974
|
-
var id = /* @__PURE__ */ __name((value) => {
|
|
975
|
-
if (typeof value !== "number" || !Number.isSafeInteger(value) || value < 1)
|
|
976
|
-
throw new CliError("validation_error", "meeting context identifiers must be positive integers");
|
|
977
|
-
return value;
|
|
978
|
-
}, "id");
|
|
979
|
-
var text3 = /* @__PURE__ */ __name((value, max) => {
|
|
980
|
-
if (typeof value !== "string" || !value.trim() || value.length > max || value.includes("\0"))
|
|
981
|
-
throw new CliError("validation_error", `meeting context text must contain 1\u2013${max} characters without NUL`);
|
|
982
|
-
return value.trim();
|
|
983
|
-
}, "text");
|
|
984
|
-
var uid = /* @__PURE__ */ __name((value) => {
|
|
985
|
-
const result = text3(value, 100);
|
|
986
|
-
if (!/^[1-9]\d*$/.test(result) || !Number.isSafeInteger(Number(result)))
|
|
987
|
-
throw new CliError("validation_error", "person UID must be a positive integer");
|
|
988
|
-
return result;
|
|
989
|
-
}, "uid");
|
|
990
|
-
var strings = /* @__PURE__ */ __name((value, count6, length) => {
|
|
991
|
-
if (!Array.isArray(value) || value.length < 1 || value.length > count6)
|
|
992
|
-
throw new CliError("validation_error", `meeting context list must contain 1\u2013${count6} entries`);
|
|
993
|
-
return Object.freeze([...new Set(value.map((entry) => text3(entry, length)))]);
|
|
994
|
-
}, "strings");
|
|
995
|
-
var fields = {
|
|
996
|
-
"note.add": ["text", "title"],
|
|
997
|
-
"tags.add": ["tags"],
|
|
998
|
-
"tags.remove": ["tags"],
|
|
999
|
-
"memory.add": ["body", "kind", "scope", "evidence", "subject"],
|
|
1000
|
-
"fact.add": ["statement", "type", "scope", "evidence", "subject"],
|
|
1001
|
-
"event.link": ["eventId", "expectedEventId"],
|
|
1002
|
-
"person.link": ["participantId", "personUid", "targetAccountIds", "expectedPersonUid"]
|
|
1003
|
-
};
|
|
1004
|
-
var validateMeetingContextChange = /* @__PURE__ */ __name((change) => {
|
|
1005
|
-
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)))
|
|
1006
|
-
throw new CliError("validation_error", "unsupported meeting context change");
|
|
1007
|
-
switch (change.action) {
|
|
1008
|
-
case "note.add":
|
|
1009
|
-
return Object.freeze({
|
|
1010
|
-
action: change.action,
|
|
1011
|
-
text: text3(change.text, 1e5),
|
|
1012
|
-
...change.title === void 0 ? {} : { title: text3(change.title, 500) }
|
|
1013
|
-
});
|
|
1014
|
-
case "tags.add":
|
|
1015
|
-
case "tags.remove":
|
|
1016
|
-
return Object.freeze({ action: change.action, tags: strings(change.tags, 100, 200) });
|
|
1017
|
-
case "memory.add": {
|
|
1018
|
-
if (!["summary", "digest", "preference"].includes(change.kind) || !["personal", "work"].includes(change.scope))
|
|
1019
|
-
throw new CliError("validation_error", "memory kind and explicit personal/work scope are required");
|
|
1020
|
-
return Object.freeze({
|
|
1021
|
-
action: change.action,
|
|
1022
|
-
body: text3(change.body, 2e4),
|
|
1023
|
-
kind: change.kind,
|
|
1024
|
-
scope: change.scope,
|
|
1025
|
-
evidence: strings(change.evidence, 100, 4e3),
|
|
1026
|
-
...change.subject === void 0 ? {} : { subject: text3(change.subject, 4e3) }
|
|
1027
|
-
});
|
|
1028
|
-
}
|
|
1029
|
-
case "fact.add": {
|
|
1030
|
-
if (!MEETING_FACT_TYPES.includes(change.type) || !["personal", "work"].includes(change.scope))
|
|
1031
|
-
throw new CliError("validation_error", `fact type (${MEETING_FACT_TYPES.join(", ")}) and explicit personal/work scope are required`);
|
|
1032
|
-
return Object.freeze({
|
|
1033
|
-
action: change.action,
|
|
1034
|
-
statement: text3(change.statement, 2e4),
|
|
1035
|
-
type: change.type,
|
|
1036
|
-
scope: change.scope,
|
|
1037
|
-
evidence: strings(change.evidence, 100, 4e3),
|
|
1038
|
-
...change.subject === void 0 ? {} : { subject: text3(change.subject, 4e3) }
|
|
1039
|
-
});
|
|
1040
|
-
}
|
|
1041
|
-
case "event.link":
|
|
1042
|
-
return Object.freeze({
|
|
1043
|
-
action: change.action,
|
|
1044
|
-
eventId: change.eventId === null ? null : id(change.eventId),
|
|
1045
|
-
...change.expectedEventId === void 0 ? {} : { expectedEventId: change.expectedEventId === null ? null : id(change.expectedEventId) }
|
|
1046
|
-
});
|
|
1047
|
-
case "person.link": {
|
|
1048
|
-
const targets = change.targetAccountIds;
|
|
1049
|
-
if (targets !== void 0 && (!Array.isArray(targets) || targets.length < 1 || targets.length > 1e3))
|
|
1050
|
-
throw new CliError("validation_error", "target accounts must contain 1\u20131000 identifiers");
|
|
1051
|
-
return Object.freeze({
|
|
1052
|
-
action: change.action,
|
|
1053
|
-
participantId: id(change.participantId),
|
|
1054
|
-
personUid: uid(change.personUid),
|
|
1055
|
-
...targets === void 0 ? {} : { targetAccountIds: Object.freeze([...new Set(targets.map(id))]) },
|
|
1056
|
-
...change.expectedPersonUid === void 0 ? {} : { expectedPersonUid: change.expectedPersonUid === null ? null : uid(change.expectedPersonUid) }
|
|
1057
|
-
});
|
|
1058
|
-
}
|
|
1059
|
-
}
|
|
1060
|
-
}, "validateMeetingContextChange");
|
|
1061
|
-
var createMeetingContext = /* @__PURE__ */ __name((scope3, accountId, ports) => {
|
|
1062
|
-
const fixed = snapshotMeetingScope(scope3);
|
|
1063
|
-
const account = id(accountId);
|
|
1064
|
-
const actions = Object.freeze([...new Set(ports.actions)]);
|
|
1065
|
-
if (actions.some((action) => !Object.hasOwn(fields, action)))
|
|
1066
|
-
throw new CliError("validation_error", "unsupported meeting context capability");
|
|
1067
|
-
const apply = ports.apply.bind(ports);
|
|
1068
|
-
return {
|
|
1069
|
-
scope: fixed,
|
|
1070
|
-
accountId: account,
|
|
1071
|
-
actions,
|
|
1072
|
-
async change(meetingId, input, options = {}) {
|
|
1073
|
-
const target = id(meetingId);
|
|
1074
|
-
const change = validateMeetingContextChange(input);
|
|
1075
|
-
if (!actions.includes(change.action))
|
|
1076
|
-
throw new CliError("provider_unavailable", `meeting context does not support ${change.action}`);
|
|
1077
|
-
const context3 = Object.freeze({
|
|
1078
|
-
scope: fixed,
|
|
1079
|
-
accountId: account,
|
|
1080
|
-
...options.signal ? { signal: options.signal } : {}
|
|
1081
|
-
});
|
|
1082
|
-
const outcome = await dispatchMeetingMutation(options, () => apply(target, change, context3));
|
|
1083
|
-
return {
|
|
1084
|
-
scope: fixed,
|
|
1085
|
-
accountId: account,
|
|
1086
|
-
meetingId: target,
|
|
1087
|
-
change,
|
|
1088
|
-
applied: outcome.applied,
|
|
1089
|
-
...outcome.applied ? { result: outcome.value } : {}
|
|
1090
|
-
};
|
|
1091
|
-
}
|
|
1092
|
-
};
|
|
1093
|
-
}, "createMeetingContext");
|
|
1094
|
-
|
|
1095
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
919
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1096
920
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
1097
|
-
var
|
|
921
|
+
var invalid3 = /* @__PURE__ */ __name((message) => {
|
|
1098
922
|
throw new CliError("validation_error", message);
|
|
1099
923
|
}, "invalid");
|
|
1100
|
-
var
|
|
924
|
+
var text3 = /* @__PURE__ */ __name((value, limit) => {
|
|
1101
925
|
if (typeof value !== "string" || !value.trim() || value.includes("\0") || value.length > limit)
|
|
1102
|
-
return
|
|
926
|
+
return invalid3(`finding text must contain 1\u2013${limit} characters without NUL`);
|
|
1103
927
|
return value.trim();
|
|
1104
928
|
}, "text");
|
|
1105
929
|
var findingHash = /* @__PURE__ */ __name((value) => createHash2("sha256").update(JSON.stringify(value)).digest("hex"), "findingHash");
|
|
1106
|
-
var
|
|
930
|
+
var fields = /* @__PURE__ */ __name((value, allowed, noun) => {
|
|
1107
931
|
if (Object.keys(value).some((key) => !allowed.includes(key)))
|
|
1108
|
-
|
|
932
|
+
invalid3(`unknown ${noun} field`);
|
|
1109
933
|
}, "fields");
|
|
1110
934
|
var SUBJECT = /^(person|organization|project):[1-9]\d*$|^task:[A-Za-z0-9][A-Za-z0-9_.-]{0,63}$/;
|
|
1111
935
|
var validateFindings = /* @__PURE__ */ __name((input, rules) => {
|
|
1112
936
|
if (!input || typeof input !== "object" || Buffer.byteLength(JSON.stringify(input), "utf8") > 65536)
|
|
1113
|
-
return
|
|
1114
|
-
|
|
937
|
+
return invalid3(`${rules.plural} take at most 65536 UTF-8 bytes`);
|
|
938
|
+
fields(input, ["schemaVersion", "key", "extractor", "findings"], rules.singular);
|
|
1115
939
|
if (input.schemaVersion !== 1 || !Array.isArray(input.findings) || input.findings.length < 1 || input.findings.length > 16)
|
|
1116
|
-
return
|
|
1117
|
-
const key =
|
|
940
|
+
return invalid3(`schemaVersion 1 takes 1\u201316 ${rules.plural}`);
|
|
941
|
+
const key = text3(input.key, 64);
|
|
1118
942
|
if (!/^[a-zA-Z0-9][a-zA-Z0-9_.:-]*$/.test(key))
|
|
1119
|
-
return
|
|
943
|
+
return invalid3("a findings key uses letters, digits, dot, colon, underscore or hyphen");
|
|
1120
944
|
const ids2 = /* @__PURE__ */ new Set();
|
|
1121
945
|
const findings = input.findings.map((finding) => {
|
|
1122
946
|
if (!finding || typeof finding !== "object")
|
|
1123
|
-
return
|
|
1124
|
-
const id4 =
|
|
947
|
+
return invalid3("a finding is an object");
|
|
948
|
+
const id4 = text3(finding.id, 64);
|
|
1125
949
|
if (!/^[a-zA-Z0-9][a-zA-Z0-9_.:-]*$/.test(id4) || ids2.has(id4))
|
|
1126
|
-
return
|
|
950
|
+
return invalid3("finding IDs must be unique simple keys");
|
|
1127
951
|
ids2.add(id4);
|
|
1128
|
-
const project = finding.project === void 0 && rules.anySubject ? void 0 :
|
|
952
|
+
const project = finding.project === void 0 && rules.anySubject ? void 0 : text3(finding.project, 64);
|
|
1129
953
|
if (project !== void 0 && !/^project:[1-9]\d*$/.test(project))
|
|
1130
|
-
return
|
|
1131
|
-
if (finding.subject !== void 0 && (!rules.anySubject || !SUBJECT.test(
|
|
1132
|
-
return
|
|
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");
|
|
1133
957
|
if (finding.kind === "task" && project === void 0)
|
|
1134
|
-
return
|
|
958
|
+
return invalid3("a task finding names the project the task goes in");
|
|
1135
959
|
if (!Array.isArray(finding.evidence) || finding.evidence.length < 1 || finding.evidence.length > 8)
|
|
1136
|
-
return
|
|
960
|
+
return invalid3(`a finding requires 1\u20138 cited ${rules.cited}s`);
|
|
1137
961
|
const evidence = finding.evidence.map((item) => {
|
|
1138
962
|
if (!item || typeof item !== "object")
|
|
1139
|
-
return
|
|
1140
|
-
|
|
963
|
+
return invalid3("finding evidence is a reference and fingerprint");
|
|
964
|
+
fields(item, ["reference", "fingerprint"], rules.singular);
|
|
1141
965
|
if (typeof item.reference !== "string" || typeof item.fingerprint !== "string")
|
|
1142
|
-
return
|
|
966
|
+
return invalid3("evidence requires a reference and fingerprint");
|
|
1143
967
|
const reference2 = rules.reference(item.reference);
|
|
1144
968
|
if (!/^[a-f0-9]{64}$/.test(item.fingerprint))
|
|
1145
|
-
return
|
|
969
|
+
return invalid3(`finding evidence requires exact ${rules.cited} references and fingerprints`);
|
|
1146
970
|
return { reference: reference2, fingerprint: item.fingerprint };
|
|
1147
971
|
}).sort((a, b) => a.reference.localeCompare(b.reference));
|
|
1148
972
|
if (new Set(evidence.map((item) => item.reference)).size !== evidence.length)
|
|
1149
|
-
return
|
|
973
|
+
return invalid3(`duplicate evidence ${rules.cited}`);
|
|
1150
974
|
const base = {
|
|
1151
975
|
id: id4,
|
|
1152
976
|
...project === void 0 ? {} : { project },
|
|
@@ -1154,14 +978,28 @@ var validateFindings = /* @__PURE__ */ __name((input, rules) => {
|
|
|
1154
978
|
evidence
|
|
1155
979
|
};
|
|
1156
980
|
if (finding.kind === "fact") {
|
|
1157
|
-
|
|
1158
|
-
if (
|
|
1159
|
-
return
|
|
1160
|
-
|
|
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
|
+
};
|
|
1161
999
|
}
|
|
1162
1000
|
if (finding.kind !== "task")
|
|
1163
|
-
return
|
|
1164
|
-
|
|
1001
|
+
return invalid3(`a finding is a fact${rules.payments ? ", payment" : ""} or task`);
|
|
1002
|
+
fields(finding, [
|
|
1165
1003
|
"id",
|
|
1166
1004
|
"project",
|
|
1167
1005
|
"evidence",
|
|
@@ -1176,34 +1014,34 @@ var validateFindings = /* @__PURE__ */ __name((input, rules) => {
|
|
|
1176
1014
|
"assigneeEvidence"
|
|
1177
1015
|
], rules.singular);
|
|
1178
1016
|
if (!TASK_TYPES.includes(finding.type))
|
|
1179
|
-
return
|
|
1017
|
+
return invalid3("a task finding type is bug, chore or feature");
|
|
1180
1018
|
if (!["explicit", "inferred"].includes(finding.commitment))
|
|
1181
|
-
return
|
|
1019
|
+
return invalid3("task commitment must be explicit or inferred");
|
|
1182
1020
|
const support = /* @__PURE__ */ __name((value) => {
|
|
1183
1021
|
if (!Array.isArray(value) || value.length < 1 || value.length > 8 || value.some((ref) => typeof ref !== "string" || !evidence.some((item) => item.reference === ref)))
|
|
1184
|
-
return
|
|
1022
|
+
return invalid3("date and assignee support must cite the finding's evidence");
|
|
1185
1023
|
return [...new Set(value)].sort();
|
|
1186
1024
|
}, "support");
|
|
1187
1025
|
if (finding.dueAt === void 0 !== (finding.dueEvidence === void 0) || finding.assignee === void 0 !== (finding.assigneeEvidence === void 0))
|
|
1188
|
-
return
|
|
1026
|
+
return invalid3("optional dates and assignees require their supporting evidence");
|
|
1189
1027
|
if (finding.assignee !== void 0 && (typeof finding.assignee !== "string" || !/^person:[1-9]\d*$/.test(finding.assignee)))
|
|
1190
|
-
return
|
|
1028
|
+
return invalid3("an assignee must be a person reference");
|
|
1191
1029
|
return {
|
|
1192
1030
|
...base,
|
|
1193
1031
|
kind: "task",
|
|
1194
1032
|
type: finding.type,
|
|
1195
|
-
title:
|
|
1196
|
-
reason:
|
|
1033
|
+
title: text3(finding.title, 300),
|
|
1034
|
+
reason: text3(finding.reason, 2e3),
|
|
1197
1035
|
commitment: finding.commitment,
|
|
1198
1036
|
...finding.dueAt === void 0 ? {} : { dueAt: meetingTimestamp(finding.dueAt, "finding due date"), dueEvidence: support(finding.dueEvidence) },
|
|
1199
1037
|
...finding.assignee === void 0 ? {} : { assignee: finding.assignee, assigneeEvidence: support(finding.assigneeEvidence) }
|
|
1200
1038
|
};
|
|
1201
1039
|
});
|
|
1202
|
-
return { schemaVersion: 1, key, extractor:
|
|
1040
|
+
return { schemaVersion: 1, key, extractor: text3(input.extractor, 200), findings };
|
|
1203
1041
|
}, "validateFindings");
|
|
1204
1042
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
1205
1043
|
|
|
1206
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1044
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
1207
1045
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
1208
1046
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
1209
1047
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -1214,7 +1052,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
1214
1052
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
1215
1053
|
var meetingFindingFingerprint = findingFingerprint;
|
|
1216
1054
|
|
|
1217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1055
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
1218
1056
|
var context = {
|
|
1219
1057
|
command: "search meetings",
|
|
1220
1058
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -1333,7 +1171,56 @@ var meetingWordsQuery = /* @__PURE__ */ __name((text9) => {
|
|
|
1333
1171
|
return { version: 1, language: "lucene-v1", root };
|
|
1334
1172
|
}, "meetingWordsQuery");
|
|
1335
1173
|
|
|
1336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1174
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/language.js
|
|
1175
|
+
var LATIN_WORDS = {
|
|
1176
|
+
en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
|
|
1177
|
+
es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
|
|
1178
|
+
de: ["der", "und", "ist", "nicht", "das", "ich", "wir", "mit", "auch", "ein"],
|
|
1179
|
+
fr: ["le", "les", "est", "une", "pas", "je", "vous", "nous", "avec", "mais"],
|
|
1180
|
+
it: ["gli", "della", "sono", "perch\xE9", "anche", "questo", "molto", "che", "di", "\xE8"],
|
|
1181
|
+
pt: ["n\xE3o", "voc\xEA", "isso", "muito", "ent\xE3o", "com", "uma", "tamb\xE9m", "mas", "eu"]
|
|
1182
|
+
};
|
|
1183
|
+
var LATIN_LANGUAGE = new Map(Object.entries(LATIN_WORDS).flatMap(([language, words2]) => words2.map((word) => [word, language])));
|
|
1184
|
+
var UKRAINIAN = /[іїєґ]/giu;
|
|
1185
|
+
var CYRILLIC = new RegExp("\\p{Script=Cyrillic}", "gu");
|
|
1186
|
+
var LATIN = new RegExp("\\p{Script=Latin}", "gu");
|
|
1187
|
+
var MIN_LETTERS = 20;
|
|
1188
|
+
var DOMINANT = 0.75;
|
|
1189
|
+
var countOf = /* @__PURE__ */ __name((text9, pattern) => text9.match(pattern)?.length ?? 0, "countOf");
|
|
1190
|
+
var latinLanguage = /* @__PURE__ */ __name((texts) => {
|
|
1191
|
+
const votes = /* @__PURE__ */ new Map();
|
|
1192
|
+
for (const text9 of texts)
|
|
1193
|
+
for (const word of text9.toLowerCase().split(/[^\p{L}]+/u)) {
|
|
1194
|
+
const language = LATIN_LANGUAGE.get(word);
|
|
1195
|
+
if (language)
|
|
1196
|
+
votes.set(language, (votes.get(language) ?? 0) + 1);
|
|
1197
|
+
}
|
|
1198
|
+
const [first, second] = [...votes].sort((a, b) => b[1] - a[1]);
|
|
1199
|
+
if (!first || first[1] < 3 || second && first[1] < 2 * second[1])
|
|
1200
|
+
return null;
|
|
1201
|
+
return first[0];
|
|
1202
|
+
}, "latinLanguage");
|
|
1203
|
+
var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
|
|
1204
|
+
const all = [...texts];
|
|
1205
|
+
let cyrillic = 0;
|
|
1206
|
+
let latin = 0;
|
|
1207
|
+
let ukrainian = 0;
|
|
1208
|
+
for (const text9 of all) {
|
|
1209
|
+
cyrillic += countOf(text9, CYRILLIC);
|
|
1210
|
+
latin += countOf(text9, LATIN);
|
|
1211
|
+
ukrainian += countOf(text9, UKRAINIAN);
|
|
1212
|
+
}
|
|
1213
|
+
const letters = cyrillic + latin;
|
|
1214
|
+
if (letters < MIN_LETTERS)
|
|
1215
|
+
return null;
|
|
1216
|
+
if (cyrillic / letters >= DOMINANT)
|
|
1217
|
+
return ukrainian / cyrillic >= 0.01 ? "uk" : "ru";
|
|
1218
|
+
if (latin / letters >= DOMINANT)
|
|
1219
|
+
return latinLanguage(all);
|
|
1220
|
+
return null;
|
|
1221
|
+
}, "transcriptLanguage");
|
|
1222
|
+
|
|
1223
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
1337
1224
|
var contentHash = /* @__PURE__ */ __name(async (text9) => {
|
|
1338
1225
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text9));
|
|
1339
1226
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -1347,7 +1234,7 @@ var speakerPosition = /* @__PURE__ */ __name((name, participants) => {
|
|
|
1347
1234
|
var transcriptInput = /* @__PURE__ */ __name(async (lines, participants, source, hashText = JSON.stringify(lines), format = null) => ({
|
|
1348
1235
|
source,
|
|
1349
1236
|
format,
|
|
1350
|
-
language:
|
|
1237
|
+
language: transcriptLanguage(lines.map((line2) => line2.text)),
|
|
1351
1238
|
contentHash: await contentHash(hashText),
|
|
1352
1239
|
externalCreatedAt: null,
|
|
1353
1240
|
metadata: null,
|
|
@@ -1370,7 +1257,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
1370
1257
|
return time;
|
|
1371
1258
|
}, "timestamp");
|
|
1372
1259
|
|
|
1373
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1260
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
1374
1261
|
var TranscriptTextError = class extends Error {
|
|
1375
1262
|
static {
|
|
1376
1263
|
__name(this, "TranscriptTextError");
|
|
@@ -1403,117 +1290,383 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
1403
1290
|
else
|
|
1404
1291
|
header[key] = EMPTY.has(value) ? null : value;
|
|
1405
1292
|
}
|
|
1406
|
-
}
|
|
1407
|
-
if (!sawHeader)
|
|
1408
|
-
throw new TranscriptTextError('a text transcript starts with a header such as "\u0412\u0441\u0442\u0440\u0435\u0447\u0430: \u2026"');
|
|
1409
|
-
const found = [];
|
|
1410
|
-
for (const block of text9.split(/\n\s*\n/)) {
|
|
1411
|
-
const match = LINE.exec(block.trim().replace(RULE, ""));
|
|
1412
|
-
if (!match)
|
|
1413
|
-
continue;
|
|
1414
|
-
const [, hours = "0", minutes = "0", seconds = "0", speaker, said = ""] = match;
|
|
1415
|
-
found.push({
|
|
1416
|
-
startMs: ((Number(hours) * 60 + Number(minutes)) * 60 + Number(seconds)) * 1e3,
|
|
1417
|
-
speaker: speaker?.trim() || null,
|
|
1418
|
-
text: said.trim()
|
|
1419
|
-
});
|
|
1420
|
-
}
|
|
1421
|
-
const lines = found.map((line2, at) => ({
|
|
1422
|
-
...line2,
|
|
1423
|
-
endMs: Math.max(line2.startMs, found[at + 1]?.startMs ?? line2.startMs)
|
|
1424
|
-
}));
|
|
1425
|
-
return { header, lines };
|
|
1426
|
-
}, "parseTranscriptText");
|
|
1293
|
+
}
|
|
1294
|
+
if (!sawHeader)
|
|
1295
|
+
throw new TranscriptTextError('a text transcript starts with a header such as "\u0412\u0441\u0442\u0440\u0435\u0447\u0430: \u2026"');
|
|
1296
|
+
const found = [];
|
|
1297
|
+
for (const block of text9.split(/\n\s*\n/)) {
|
|
1298
|
+
const match = LINE.exec(block.trim().replace(RULE, ""));
|
|
1299
|
+
if (!match)
|
|
1300
|
+
continue;
|
|
1301
|
+
const [, hours = "0", minutes = "0", seconds = "0", speaker, said = ""] = match;
|
|
1302
|
+
found.push({
|
|
1303
|
+
startMs: ((Number(hours) * 60 + Number(minutes)) * 60 + Number(seconds)) * 1e3,
|
|
1304
|
+
speaker: speaker?.trim() || null,
|
|
1305
|
+
text: said.trim()
|
|
1306
|
+
});
|
|
1307
|
+
}
|
|
1308
|
+
const lines = found.map((line2, at) => ({
|
|
1309
|
+
...line2,
|
|
1310
|
+
endMs: Math.max(line2.startMs, found[at + 1]?.startMs ?? line2.startMs)
|
|
1311
|
+
}));
|
|
1312
|
+
return { header, lines };
|
|
1313
|
+
}, "parseTranscriptText");
|
|
1314
|
+
|
|
1315
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
1316
|
+
var VttError = class extends Error {
|
|
1317
|
+
static {
|
|
1318
|
+
__name(this, "VttError");
|
|
1319
|
+
}
|
|
1320
|
+
name = "VttError";
|
|
1321
|
+
};
|
|
1322
|
+
var TIMESTAMP = /^(?:(\d+):)?([0-5]\d):([0-5]\d)\.(\d{3})$/;
|
|
1323
|
+
var SKIPPED = /^(NOTE|STYLE|REGION)(\s|$)/;
|
|
1324
|
+
var millis = /* @__PURE__ */ __name((stamp, lineNo) => {
|
|
1325
|
+
const match = TIMESTAMP.exec(stamp);
|
|
1326
|
+
if (!match)
|
|
1327
|
+
throw new VttError(`line ${lineNo}: "${stamp}" is not a WebVTT timestamp`);
|
|
1328
|
+
const [, hours = "0", minutes = "0", seconds = "0", ms = "0"] = match;
|
|
1329
|
+
return ((Number(hours) * 60 + Number(minutes)) * 60 + Number(seconds)) * 1e3 + Number(ms);
|
|
1330
|
+
}, "millis");
|
|
1331
|
+
var splitSpeaker = /* @__PURE__ */ __name((text9) => {
|
|
1332
|
+
const firstLine = text9.split("\n", 1)[0] ?? "";
|
|
1333
|
+
const at = firstLine.indexOf(": ");
|
|
1334
|
+
if (at <= 0)
|
|
1335
|
+
return { speaker: null, text: text9 };
|
|
1336
|
+
return { speaker: firstLine.slice(0, at).trim(), text: text9.slice(at + 2) };
|
|
1337
|
+
}, "splitSpeaker");
|
|
1338
|
+
var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
1339
|
+
const lines = input.replace(/^/, "").split(/\r\n|\r|\n/);
|
|
1340
|
+
if (!/^WEBVTT([ \t].*)?$/.test(lines[0] ?? ""))
|
|
1341
|
+
throw new VttError('line 1: a WebVTT file starts with "WEBVTT"');
|
|
1342
|
+
const cues = [];
|
|
1343
|
+
let i = lines.findIndex((line2) => line2.trim() === "");
|
|
1344
|
+
if (i < 0)
|
|
1345
|
+
return [];
|
|
1346
|
+
while (i < lines.length) {
|
|
1347
|
+
while (i < lines.length && lines[i]?.trim() === "")
|
|
1348
|
+
i++;
|
|
1349
|
+
const start = i;
|
|
1350
|
+
while (i < lines.length && lines[i]?.trim() !== "")
|
|
1351
|
+
i++;
|
|
1352
|
+
const block = lines.slice(start, i);
|
|
1353
|
+
if (block.length === 0 || SKIPPED.test(block[0] ?? ""))
|
|
1354
|
+
continue;
|
|
1355
|
+
const timingAt = block.findIndex((line2) => line2.includes("-->"));
|
|
1356
|
+
if (timingAt < 0 || timingAt > 1)
|
|
1357
|
+
throw new VttError(`line ${start + 1}: a cue has no timing line`);
|
|
1358
|
+
const lineNo = start + timingAt + 1;
|
|
1359
|
+
const [from = "", rest = ""] = (block[timingAt] ?? "").split("-->");
|
|
1360
|
+
const to = rest.trim().split(/\s+/)[0] ?? "";
|
|
1361
|
+
const text9 = block.slice(timingAt + 1).join("\n").trim();
|
|
1362
|
+
cues.push({ startMs: millis(from.trim(), lineNo), endMs: millis(to, lineNo), ...splitSpeaker(text9) });
|
|
1363
|
+
}
|
|
1364
|
+
return cues;
|
|
1365
|
+
}, "parseVtt");
|
|
1366
|
+
|
|
1367
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
1368
|
+
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
1369
|
+
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
1370
|
+
for (const file of files) {
|
|
1371
|
+
try {
|
|
1372
|
+
const format = file.format ?? "vtt";
|
|
1373
|
+
const lines = format === "text" ? parseTranscriptText(file.content).lines : parseVtt(file.content);
|
|
1374
|
+
const participants = file.participants ?? [];
|
|
1375
|
+
const details = await store.saveMeeting({
|
|
1376
|
+
meeting: file.meeting,
|
|
1377
|
+
participants: file.participants,
|
|
1378
|
+
transcripts: [await transcriptInput(lines, participants, file.source ?? "file", file.content, format)],
|
|
1379
|
+
now,
|
|
1380
|
+
fromFile: true
|
|
1381
|
+
});
|
|
1382
|
+
await linkEvent(store, details, now);
|
|
1383
|
+
report.meetings++;
|
|
1384
|
+
report.participants += participants.length;
|
|
1385
|
+
report.transcriptRows += lines.length;
|
|
1386
|
+
} catch (error) {
|
|
1387
|
+
report.warnings.push({
|
|
1388
|
+
externalId: file.meeting.externalId,
|
|
1389
|
+
message: error instanceof Error ? error.message : "Meeting import failed"
|
|
1390
|
+
});
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
const zones = new Set(files.map((file) => file.meeting.timezone).filter((zone2) => zone2 !== null && zone2 !== void 0));
|
|
1394
|
+
const [zone] = zones;
|
|
1395
|
+
if (zones.size === 1 && zone)
|
|
1396
|
+
report.timezone = zone;
|
|
1397
|
+
return report;
|
|
1398
|
+
}, "importFiles");
|
|
1399
|
+
|
|
1400
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
1401
|
+
var CHAT_MESSAGES_READ = 1e5;
|
|
1402
|
+
|
|
1403
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/provider.js
|
|
1404
|
+
var snapshotMeetingScope = /* @__PURE__ */ __name((scope3) => {
|
|
1405
|
+
const provider = scope3?.provider;
|
|
1406
|
+
const account = scope3?.account;
|
|
1407
|
+
if (typeof provider !== "string" || !provider.trim() || provider.length > 200 || /[\0\r\n]/.test(provider) || typeof account !== "string" || !account.trim() || account.length > 1e3 || /[\0\r\n]/.test(account))
|
|
1408
|
+
throw new CliError("validation_error", "meeting provider and account must be bounded nonempty identifiers");
|
|
1409
|
+
return Object.freeze({ provider, account });
|
|
1410
|
+
}, "snapshotMeetingScope");
|
|
1411
|
+
|
|
1412
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
1413
|
+
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
1414
|
+
if (typeof value !== "string" || !value.trim())
|
|
1415
|
+
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
1416
|
+
return value;
|
|
1417
|
+
}, "nonempty");
|
|
1418
|
+
var validateMeetingChange = /* @__PURE__ */ __name((change, create) => {
|
|
1419
|
+
if (!change || typeof change !== "object" || Array.isArray(change) || Object.keys(change).some((key) => !["title", "kind", "startTime", "durationMinutes", "timezone", "agenda"].includes(key)))
|
|
1420
|
+
throw new CliError("validation_error", "unsupported meeting change field");
|
|
1421
|
+
const result = {};
|
|
1422
|
+
if (change.title !== void 0)
|
|
1423
|
+
result.title = nonempty(change.title, "meeting title");
|
|
1424
|
+
if (create && result.title === void 0)
|
|
1425
|
+
throw new CliError("validation_error", "meeting title is required");
|
|
1426
|
+
if (change.kind !== void 0) {
|
|
1427
|
+
if (change.kind !== "instant" && change.kind !== "scheduled")
|
|
1428
|
+
throw new CliError("validation_error", "only instant or scheduled meeting kinds are supported");
|
|
1429
|
+
result.kind = change.kind;
|
|
1430
|
+
}
|
|
1431
|
+
if (change.startTime !== void 0) {
|
|
1432
|
+
result.startTime = meetingTimestamp(change.startTime, "meeting start");
|
|
1433
|
+
}
|
|
1434
|
+
if (change.durationMinutes !== void 0) {
|
|
1435
|
+
if (!Number.isSafeInteger(change.durationMinutes) || change.durationMinutes <= 0 || change.durationMinutes > 1440)
|
|
1436
|
+
throw new CliError("validation_error", "meeting duration must be an integer from 1 to 1440 minutes");
|
|
1437
|
+
result.durationMinutes = change.durationMinutes;
|
|
1438
|
+
}
|
|
1439
|
+
if (change.timezone !== void 0) {
|
|
1440
|
+
if (typeof change.timezone !== "string" || !change.timezone.trim())
|
|
1441
|
+
throw new CliError("validation_error", "meeting timezone must be a valid IANA timezone");
|
|
1442
|
+
try {
|
|
1443
|
+
new Intl.DateTimeFormat("en", { timeZone: change.timezone }).format();
|
|
1444
|
+
} catch {
|
|
1445
|
+
throw new CliError("validation_error", "meeting timezone must be a valid IANA timezone");
|
|
1446
|
+
}
|
|
1447
|
+
result.timezone = change.timezone;
|
|
1448
|
+
}
|
|
1449
|
+
if (change.agenda !== void 0) {
|
|
1450
|
+
if (typeof change.agenda !== "string")
|
|
1451
|
+
throw new CliError("validation_error", "meeting agenda must be text");
|
|
1452
|
+
result.agenda = change.agenda;
|
|
1453
|
+
}
|
|
1454
|
+
if (create) {
|
|
1455
|
+
result.kind ??= "scheduled";
|
|
1456
|
+
if (result.kind === "scheduled" && result.startTime === void 0)
|
|
1457
|
+
throw new CliError("validation_error", "scheduled meeting start is required");
|
|
1458
|
+
} else if (!Object.keys(result).length)
|
|
1459
|
+
throw new CliError("validation_error", "at least one meeting change is required");
|
|
1460
|
+
return Object.freeze(result);
|
|
1461
|
+
}, "validateMeetingChange");
|
|
1462
|
+
var checkCancelled = /* @__PURE__ */ __name((signal) => {
|
|
1463
|
+
if (!signal?.aborted)
|
|
1464
|
+
return;
|
|
1465
|
+
if (signal.reason instanceof CliError)
|
|
1466
|
+
throw signal.reason;
|
|
1467
|
+
const timeout = signal.reason instanceof Error && signal.reason.name === "TimeoutError";
|
|
1468
|
+
throw new CliError(timeout ? "timeout" : "cancelled", timeout ? "meeting operation timed out" : "meeting operation cancelled");
|
|
1469
|
+
}, "checkCancelled");
|
|
1470
|
+
var dispatchMeetingMutation = /* @__PURE__ */ __name(async (options, dispatch) => {
|
|
1471
|
+
const { apply, dryRun, signal } = options;
|
|
1472
|
+
checkCancelled(signal);
|
|
1473
|
+
if (apply !== true || dryRun)
|
|
1474
|
+
return { applied: false };
|
|
1475
|
+
return { applied: true, value: await dispatch(signal) };
|
|
1476
|
+
}, "dispatchMeetingMutation");
|
|
1477
|
+
var createMeetingManagement = /* @__PURE__ */ __name((scope3, ports) => {
|
|
1478
|
+
const fixed = snapshotMeetingScope(scope3);
|
|
1479
|
+
const capabilities = {};
|
|
1480
|
+
for (const name of ["list", "get", "invitation", "create", "update", "cancel"]) {
|
|
1481
|
+
const port = ports[name];
|
|
1482
|
+
if (typeof port === "function")
|
|
1483
|
+
Object.defineProperty(capabilities, name, { value: port.bind(ports), enumerable: true });
|
|
1484
|
+
}
|
|
1485
|
+
Object.freeze(capabilities);
|
|
1486
|
+
const context3 = /* @__PURE__ */ __name((options) => {
|
|
1487
|
+
const signal = options.signal;
|
|
1488
|
+
checkCancelled(signal);
|
|
1489
|
+
return Object.freeze({ scope: fixed, ...signal ? { signal } : {} });
|
|
1490
|
+
}, "context");
|
|
1491
|
+
const capability = /* @__PURE__ */ __name((name) => {
|
|
1492
|
+
const port = capabilities[name];
|
|
1493
|
+
if (!port)
|
|
1494
|
+
throw new CliError("provider_unavailable", `meeting provider does not support ${name}`);
|
|
1495
|
+
return port;
|
|
1496
|
+
}, "capability");
|
|
1497
|
+
return {
|
|
1498
|
+
scope: fixed,
|
|
1499
|
+
capabilities: Object.freeze(Object.keys(capabilities).filter((name) => typeof capabilities[name] === "function")),
|
|
1500
|
+
list(options = {}) {
|
|
1501
|
+
return capability("list")(context3(options));
|
|
1502
|
+
},
|
|
1503
|
+
get(id4, options = {}) {
|
|
1504
|
+
return capability("get")(nonempty(id4, "meeting id"), context3(options));
|
|
1505
|
+
},
|
|
1506
|
+
invitation(id4, options = {}) {
|
|
1507
|
+
return capability("invitation")(nonempty(id4, "meeting id"), context3(options));
|
|
1508
|
+
},
|
|
1509
|
+
async create(change, options = {}) {
|
|
1510
|
+
const port = capability("create");
|
|
1511
|
+
const validated = validateMeetingChange(change, true);
|
|
1512
|
+
const ctx = context3(options);
|
|
1513
|
+
const outcome = await dispatchMeetingMutation(options, () => port(validated, ctx));
|
|
1514
|
+
return {
|
|
1515
|
+
action: "create",
|
|
1516
|
+
scope: fixed,
|
|
1517
|
+
change: validated,
|
|
1518
|
+
applied: outcome.applied,
|
|
1519
|
+
...outcome.value ? { meeting: outcome.value } : {}
|
|
1520
|
+
};
|
|
1521
|
+
},
|
|
1522
|
+
async update(id4, change, options = {}) {
|
|
1523
|
+
const port = capability("update");
|
|
1524
|
+
const validatedId = nonempty(id4, "meeting id");
|
|
1525
|
+
const validated = validateMeetingChange(change, false);
|
|
1526
|
+
const ctx = context3(options);
|
|
1527
|
+
const outcome = await dispatchMeetingMutation(options, () => port(validatedId, validated, ctx));
|
|
1528
|
+
return { action: "update", scope: fixed, id: validatedId, change: validated, applied: outcome.applied };
|
|
1529
|
+
},
|
|
1530
|
+
async cancel(id4, options = {}) {
|
|
1531
|
+
const port = capability("cancel");
|
|
1532
|
+
const validatedId = nonempty(id4, "meeting id");
|
|
1533
|
+
const occurrenceId2 = options.occurrenceId === void 0 ? void 0 : nonempty(options.occurrenceId, "occurrence id");
|
|
1534
|
+
const ctx = { ...context3(options), ...occurrenceId2 === void 0 ? {} : { occurrenceId: occurrenceId2 } };
|
|
1535
|
+
const outcome = await dispatchMeetingMutation(options, () => port(validatedId, ctx));
|
|
1536
|
+
return {
|
|
1537
|
+
action: "cancel",
|
|
1538
|
+
scope: fixed,
|
|
1539
|
+
id: validatedId,
|
|
1540
|
+
applied: outcome.applied,
|
|
1541
|
+
...occurrenceId2 === void 0 ? {} : { occurrenceId: occurrenceId2 }
|
|
1542
|
+
};
|
|
1543
|
+
}
|
|
1544
|
+
};
|
|
1545
|
+
}, "createMeetingManagement");
|
|
1427
1546
|
|
|
1428
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1429
|
-
var
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1547
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/meeting-context.js
|
|
1548
|
+
var id = /* @__PURE__ */ __name((value) => {
|
|
1549
|
+
if (typeof value !== "number" || !Number.isSafeInteger(value) || value < 1)
|
|
1550
|
+
throw new CliError("validation_error", "meeting context identifiers must be positive integers");
|
|
1551
|
+
return value;
|
|
1552
|
+
}, "id");
|
|
1553
|
+
var text4 = /* @__PURE__ */ __name((value, max) => {
|
|
1554
|
+
if (typeof value !== "string" || !value.trim() || value.length > max || value.includes("\0"))
|
|
1555
|
+
throw new CliError("validation_error", `meeting context text must contain 1\u2013${max} characters without NUL`);
|
|
1556
|
+
return value.trim();
|
|
1557
|
+
}, "text");
|
|
1558
|
+
var uid = /* @__PURE__ */ __name((value) => {
|
|
1559
|
+
const result = text4(value, 100);
|
|
1560
|
+
if (!/^[1-9]\d*$/.test(result) || !Number.isSafeInteger(Number(result)))
|
|
1561
|
+
throw new CliError("validation_error", "person UID must be a positive integer");
|
|
1562
|
+
return result;
|
|
1563
|
+
}, "uid");
|
|
1564
|
+
var strings = /* @__PURE__ */ __name((value, count6, length) => {
|
|
1565
|
+
if (!Array.isArray(value) || value.length < 1 || value.length > count6)
|
|
1566
|
+
throw new CliError("validation_error", `meeting context list must contain 1\u2013${count6} entries`);
|
|
1567
|
+
return Object.freeze([...new Set(value.map((entry) => text4(entry, length)))]);
|
|
1568
|
+
}, "strings");
|
|
1569
|
+
var fields2 = {
|
|
1570
|
+
"note.add": ["text", "title"],
|
|
1571
|
+
"tags.add": ["tags"],
|
|
1572
|
+
"tags.remove": ["tags"],
|
|
1573
|
+
"memory.add": ["body", "kind", "scope", "evidence", "subject"],
|
|
1574
|
+
"fact.add": ["statement", "type", "scope", "evidence", "subject"],
|
|
1575
|
+
"event.link": ["eventId", "expectedEventId"],
|
|
1576
|
+
"person.link": ["participantId", "personUid", "targetAccountIds", "expectedPersonUid"]
|
|
1434
1577
|
};
|
|
1435
|
-
var
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
},
|
|
1444
|
-
var splitSpeaker = /* @__PURE__ */ __name((text9) => {
|
|
1445
|
-
const firstLine = text9.split("\n", 1)[0] ?? "";
|
|
1446
|
-
const at = firstLine.indexOf(": ");
|
|
1447
|
-
if (at <= 0)
|
|
1448
|
-
return { speaker: null, text: text9 };
|
|
1449
|
-
return { speaker: firstLine.slice(0, at).trim(), text: text9.slice(at + 2) };
|
|
1450
|
-
}, "splitSpeaker");
|
|
1451
|
-
var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
1452
|
-
const lines = input.replace(/^/, "").split(/\r\n|\r|\n/);
|
|
1453
|
-
if (!/^WEBVTT([ \t].*)?$/.test(lines[0] ?? ""))
|
|
1454
|
-
throw new VttError('line 1: a WebVTT file starts with "WEBVTT"');
|
|
1455
|
-
const cues = [];
|
|
1456
|
-
let i = lines.findIndex((line2) => line2.trim() === "");
|
|
1457
|
-
if (i < 0)
|
|
1458
|
-
return [];
|
|
1459
|
-
while (i < lines.length) {
|
|
1460
|
-
while (i < lines.length && lines[i]?.trim() === "")
|
|
1461
|
-
i++;
|
|
1462
|
-
const start = i;
|
|
1463
|
-
while (i < lines.length && lines[i]?.trim() !== "")
|
|
1464
|
-
i++;
|
|
1465
|
-
const block = lines.slice(start, i);
|
|
1466
|
-
if (block.length === 0 || SKIPPED.test(block[0] ?? ""))
|
|
1467
|
-
continue;
|
|
1468
|
-
const timingAt = block.findIndex((line2) => line2.includes("-->"));
|
|
1469
|
-
if (timingAt < 0 || timingAt > 1)
|
|
1470
|
-
throw new VttError(`line ${start + 1}: a cue has no timing line`);
|
|
1471
|
-
const lineNo = start + timingAt + 1;
|
|
1472
|
-
const [from = "", rest = ""] = (block[timingAt] ?? "").split("-->");
|
|
1473
|
-
const to = rest.trim().split(/\s+/)[0] ?? "";
|
|
1474
|
-
const text9 = block.slice(timingAt + 1).join("\n").trim();
|
|
1475
|
-
cues.push({ startMs: millis(from.trim(), lineNo), endMs: millis(to, lineNo), ...splitSpeaker(text9) });
|
|
1476
|
-
}
|
|
1477
|
-
return cues;
|
|
1478
|
-
}, "parseVtt");
|
|
1479
|
-
|
|
1480
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
1481
|
-
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
1482
|
-
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
1483
|
-
for (const file of files) {
|
|
1484
|
-
try {
|
|
1485
|
-
const format = file.format ?? "vtt";
|
|
1486
|
-
const lines = format === "text" ? parseTranscriptText(file.content).lines : parseVtt(file.content);
|
|
1487
|
-
const participants = file.participants ?? [];
|
|
1488
|
-
const details = await store.saveMeeting({
|
|
1489
|
-
meeting: file.meeting,
|
|
1490
|
-
participants: file.participants,
|
|
1491
|
-
transcripts: [await transcriptInput(lines, participants, file.source ?? "file", file.content, format)],
|
|
1492
|
-
now,
|
|
1493
|
-
fromFile: true
|
|
1578
|
+
var validateMeetingContextChange = /* @__PURE__ */ __name((change) => {
|
|
1579
|
+
if (!change || typeof change !== "object" || Array.isArray(change) || !Object.hasOwn(fields2, change.action) || Object.keys(change).some((key) => key !== "action" && !fields2[change.action].includes(key)))
|
|
1580
|
+
throw new CliError("validation_error", "unsupported meeting context change");
|
|
1581
|
+
switch (change.action) {
|
|
1582
|
+
case "note.add":
|
|
1583
|
+
return Object.freeze({
|
|
1584
|
+
action: change.action,
|
|
1585
|
+
text: text4(change.text, 1e5),
|
|
1586
|
+
...change.title === void 0 ? {} : { title: text4(change.title, 500) }
|
|
1494
1587
|
});
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1588
|
+
case "tags.add":
|
|
1589
|
+
case "tags.remove":
|
|
1590
|
+
return Object.freeze({ action: change.action, tags: strings(change.tags, 100, 200) });
|
|
1591
|
+
case "memory.add": {
|
|
1592
|
+
if (!["summary", "digest", "preference"].includes(change.kind) || !["personal", "work"].includes(change.scope))
|
|
1593
|
+
throw new CliError("validation_error", "memory kind and explicit personal/work scope are required");
|
|
1594
|
+
return Object.freeze({
|
|
1595
|
+
action: change.action,
|
|
1596
|
+
body: text4(change.body, 2e4),
|
|
1597
|
+
kind: change.kind,
|
|
1598
|
+
scope: change.scope,
|
|
1599
|
+
evidence: strings(change.evidence, 100, 4e3),
|
|
1600
|
+
...change.subject === void 0 ? {} : { subject: text4(change.subject, 4e3) }
|
|
1601
|
+
});
|
|
1602
|
+
}
|
|
1603
|
+
case "fact.add": {
|
|
1604
|
+
if (!FACT_TYPES.includes(change.type) || !["personal", "work"].includes(change.scope))
|
|
1605
|
+
throw new CliError("validation_error", `fact type (${FACT_TYPES.join(", ")}) and explicit personal/work scope are required`);
|
|
1606
|
+
return Object.freeze({
|
|
1607
|
+
action: change.action,
|
|
1608
|
+
statement: text4(change.statement, 2e4),
|
|
1609
|
+
type: change.type,
|
|
1610
|
+
scope: change.scope,
|
|
1611
|
+
evidence: strings(change.evidence, 100, 4e3),
|
|
1612
|
+
...change.subject === void 0 ? {} : { subject: text4(change.subject, 4e3) }
|
|
1613
|
+
});
|
|
1614
|
+
}
|
|
1615
|
+
case "event.link":
|
|
1616
|
+
return Object.freeze({
|
|
1617
|
+
action: change.action,
|
|
1618
|
+
eventId: change.eventId === null ? null : id(change.eventId),
|
|
1619
|
+
...change.expectedEventId === void 0 ? {} : { expectedEventId: change.expectedEventId === null ? null : id(change.expectedEventId) }
|
|
1620
|
+
});
|
|
1621
|
+
case "person.link": {
|
|
1622
|
+
const targets = change.targetAccountIds;
|
|
1623
|
+
if (targets !== void 0 && (!Array.isArray(targets) || targets.length < 1 || targets.length > 1e3))
|
|
1624
|
+
throw new CliError("validation_error", "target accounts must contain 1\u20131000 identifiers");
|
|
1625
|
+
return Object.freeze({
|
|
1626
|
+
action: change.action,
|
|
1627
|
+
participantId: id(change.participantId),
|
|
1628
|
+
personUid: uid(change.personUid),
|
|
1629
|
+
...targets === void 0 ? {} : { targetAccountIds: Object.freeze([...new Set(targets.map(id))]) },
|
|
1630
|
+
...change.expectedPersonUid === void 0 ? {} : { expectedPersonUid: change.expectedPersonUid === null ? null : uid(change.expectedPersonUid) }
|
|
1503
1631
|
});
|
|
1504
1632
|
}
|
|
1505
1633
|
}
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1634
|
+
}, "validateMeetingContextChange");
|
|
1635
|
+
var createMeetingContext = /* @__PURE__ */ __name((scope3, accountId, ports) => {
|
|
1636
|
+
const fixed = snapshotMeetingScope(scope3);
|
|
1637
|
+
const account = id(accountId);
|
|
1638
|
+
const actions = Object.freeze([...new Set(ports.actions)]);
|
|
1639
|
+
if (actions.some((action) => !Object.hasOwn(fields2, action)))
|
|
1640
|
+
throw new CliError("validation_error", "unsupported meeting context capability");
|
|
1641
|
+
const apply = ports.apply.bind(ports);
|
|
1642
|
+
return {
|
|
1643
|
+
scope: fixed,
|
|
1644
|
+
accountId: account,
|
|
1645
|
+
actions,
|
|
1646
|
+
async change(meetingId, input, options = {}) {
|
|
1647
|
+
const target = id(meetingId);
|
|
1648
|
+
const change = validateMeetingContextChange(input);
|
|
1649
|
+
if (!actions.includes(change.action))
|
|
1650
|
+
throw new CliError("provider_unavailable", `meeting context does not support ${change.action}`);
|
|
1651
|
+
const context3 = Object.freeze({
|
|
1652
|
+
scope: fixed,
|
|
1653
|
+
accountId: account,
|
|
1654
|
+
...options.signal ? { signal: options.signal } : {}
|
|
1655
|
+
});
|
|
1656
|
+
const outcome = await dispatchMeetingMutation(options, () => apply(target, change, context3));
|
|
1657
|
+
return {
|
|
1658
|
+
scope: fixed,
|
|
1659
|
+
accountId: account,
|
|
1660
|
+
meetingId: target,
|
|
1661
|
+
change,
|
|
1662
|
+
applied: outcome.applied,
|
|
1663
|
+
...outcome.applied ? { result: outcome.value } : {}
|
|
1664
|
+
};
|
|
1665
|
+
}
|
|
1666
|
+
};
|
|
1667
|
+
}, "createMeetingContext");
|
|
1515
1668
|
|
|
1516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1669
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
1517
1670
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
1518
1671
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
1519
1672
|
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)))
|
|
@@ -1526,7 +1679,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
1526
1679
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
1527
1680
|
}, "validateMeetingPassage");
|
|
1528
1681
|
|
|
1529
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1682
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
1530
1683
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
1531
1684
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
1532
1685
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -1551,7 +1704,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
1551
1704
|
return { ...input, limit, maxReadBytes };
|
|
1552
1705
|
}, "validateMeetingPreparationContext");
|
|
1553
1706
|
|
|
1554
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1707
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
1555
1708
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
1556
1709
|
var id2 = pipe(string(), minLength(1));
|
|
1557
1710
|
var meetingProjectEvidence = strictObject({
|
|
@@ -1672,7 +1825,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
1672
1825
|
};
|
|
1673
1826
|
}, "meetingProjectEvidenceAnswer");
|
|
1674
1827
|
|
|
1675
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1828
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
1676
1829
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
1677
1830
|
const integer5 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
1678
1831
|
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) || [
|
|
@@ -1692,7 +1845,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
1692
1845
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
1693
1846
|
}, "validateMeetingHitSearch");
|
|
1694
1847
|
|
|
1695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1848
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
1696
1849
|
var ids = {
|
|
1697
1850
|
meeting_id: "meetingId",
|
|
1698
1851
|
identity_id: "participantIdentityId",
|
|
@@ -1783,7 +1936,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
|
|
|
1783
1936
|
return { project: project.trim(), options, query: frozen.join(" AND ") };
|
|
1784
1937
|
}, "prepareMeetingProjectEvidence");
|
|
1785
1938
|
|
|
1786
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1939
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
1787
1940
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
|
|
1788
1941
|
const prepared = prepareMeetingProjectEvidence(project, request, now);
|
|
1789
1942
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -1791,7 +1944,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
|
|
|
1791
1944
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
1792
1945
|
}, "readMeetingProjectEvidence");
|
|
1793
1946
|
|
|
1794
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1947
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
1795
1948
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
1796
1949
|
const { identityExternalId, ...fields3 } = p;
|
|
1797
1950
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -1930,7 +2083,7 @@ unlinked`, format)],
|
|
|
1930
2083
|
return report;
|
|
1931
2084
|
}, "pull");
|
|
1932
2085
|
|
|
1933
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2086
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
1934
2087
|
var text5 = string();
|
|
1935
2088
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
1936
2089
|
var id3 = pipe(number(), integer(), minValue(1));
|
|
@@ -2156,10 +2309,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
2156
2309
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
2157
2310
|
}), "eventItem");
|
|
2158
2311
|
|
|
2159
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2312
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/recording-schedule.js
|
|
2160
2313
|
import { createHash as createHash3 } from "node:crypto";
|
|
2161
2314
|
|
|
2162
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2315
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/recording-sync.js
|
|
2163
2316
|
var RecordingSyncError = class extends CliError {
|
|
2164
2317
|
static {
|
|
2165
2318
|
__name(this, "RecordingSyncError");
|
|
@@ -2480,7 +2633,7 @@ async function* syncRecordingArchive(catalog, input) {
|
|
|
2480
2633
|
}
|
|
2481
2634
|
__name(syncRecordingArchive, "syncRecordingArchive");
|
|
2482
2635
|
|
|
2483
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2636
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/recording-schedule.js
|
|
2484
2637
|
var fail2 = /* @__PURE__ */ __name((message) => {
|
|
2485
2638
|
throw new CliError("validation_error", message);
|
|
2486
2639
|
}, "fail");
|
|
@@ -2587,7 +2740,7 @@ var installRecordingArchiveSchedule = /* @__PURE__ */ __name(async (scheduler, v
|
|
|
2587
2740
|
return { applied: true, backend, schedule };
|
|
2588
2741
|
}, "installRecordingArchiveSchedule");
|
|
2589
2742
|
|
|
2590
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2743
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
2591
2744
|
var RecordingTransferError = class extends CliError {
|
|
2592
2745
|
static {
|
|
2593
2746
|
__name(this, "RecordingTransferError");
|
|
@@ -2752,7 +2905,7 @@ var transferRecording = /* @__PURE__ */ __name(async (source, storage, options)
|
|
|
2752
2905
|
}
|
|
2753
2906
|
}, "transferRecording");
|
|
2754
2907
|
|
|
2755
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2908
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
2756
2909
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
2757
2910
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2758
2911
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -2782,7 +2935,7 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
2782
2935
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
2783
2936
|
}, "validateMeetingRelatedHistory");
|
|
2784
2937
|
|
|
2785
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2938
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
2786
2939
|
var text8 = string();
|
|
2787
2940
|
var identifier = pipe(text8, minLength(1));
|
|
2788
2941
|
var nullableText2 = nullable(text8);
|
|
@@ -2900,23 +3053,30 @@ var embedding = union([
|
|
|
2900
3053
|
})
|
|
2901
3054
|
})
|
|
2902
3055
|
]);
|
|
3056
|
+
var repair = strictObject({
|
|
3057
|
+
account_id: identifier,
|
|
3058
|
+
applied: flag,
|
|
3059
|
+
transcripts: count5,
|
|
3060
|
+
languages: array(strictObject({ language: nullableText2, transcripts: count5 }))
|
|
3061
|
+
});
|
|
2903
3062
|
var MEETING_RESULT_ENTITIES = {
|
|
2904
3063
|
meeting_ingestion: run,
|
|
2905
3064
|
meeting_export: exported,
|
|
2906
3065
|
meeting_association: meetingChange,
|
|
2907
3066
|
meeting_transcription: transcription,
|
|
2908
|
-
meeting_embedding: embedding
|
|
3067
|
+
meeting_embedding: embedding,
|
|
3068
|
+
meeting_repair: repair
|
|
2909
3069
|
};
|
|
2910
3070
|
|
|
2911
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3071
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
2912
3072
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
2913
3073
|
|
|
2914
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3074
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
2915
3075
|
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.";
|
|
2916
3076
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
2917
3077
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
2918
3078
|
|
|
2919
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3079
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
2920
3080
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
2921
3081
|
input.signal?.throwIfAborted();
|
|
2922
3082
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -2937,62 +3097,62 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
2937
3097
|
return { ...input, limit, maxReadBytes };
|
|
2938
3098
|
}, "validateMeetingSeriesHistory");
|
|
2939
3099
|
|
|
2940
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3100
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
2941
3101
|
import { createHash as createHash4 } from "node:crypto";
|
|
2942
3102
|
|
|
2943
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2944
|
-
var
|
|
3103
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
3104
|
+
var invalid4 = /* @__PURE__ */ __name((field) => {
|
|
2945
3105
|
throw new CliError("invalid_response", `meeting occurrence ${field} is invalid`);
|
|
2946
3106
|
}, "invalid");
|
|
2947
3107
|
var occurrenceTime = /* @__PURE__ */ __name((value) => typeof value === "number" && Number.isSafeInteger(value) && Math.abs(value) <= 864e13, "occurrenceTime");
|
|
2948
3108
|
var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
|
|
2949
3109
|
var readOccurrenceSchedule = /* @__PURE__ */ __name((input, meetingId, limit, maxReadBytes) => {
|
|
2950
3110
|
if (!input || typeof input !== "object" || Array.isArray(input))
|
|
2951
|
-
|
|
3111
|
+
invalid4("schedule");
|
|
2952
3112
|
for (const key of Object.keys(input))
|
|
2953
3113
|
if (!["meetingId", "kind", "timezone", "occurrences", "complete", "missing"].includes(key))
|
|
2954
|
-
|
|
3114
|
+
invalid4(key);
|
|
2955
3115
|
if (input.meetingId !== meetingId)
|
|
2956
|
-
|
|
3116
|
+
invalid4("meetingId");
|
|
2957
3117
|
if (!["single", "recurring", "unscheduled", "unknown"].includes(input.kind))
|
|
2958
|
-
|
|
3118
|
+
invalid4("kind");
|
|
2959
3119
|
if (input.timezone !== null) {
|
|
2960
3120
|
if (typeof input.timezone !== "string" || input.timezone.length > 100)
|
|
2961
|
-
|
|
3121
|
+
invalid4("timezone");
|
|
2962
3122
|
try {
|
|
2963
3123
|
new Intl.DateTimeFormat("en", { timeZone: input.timezone }).format(0);
|
|
2964
3124
|
} catch {
|
|
2965
|
-
|
|
3125
|
+
invalid4("timezone");
|
|
2966
3126
|
}
|
|
2967
3127
|
}
|
|
2968
3128
|
if (typeof input.complete !== "boolean")
|
|
2969
|
-
|
|
3129
|
+
invalid4("complete");
|
|
2970
3130
|
if (!Array.isArray(input.missing) || input.missing.length > 2 || new Set(input.missing).size !== input.missing.length || input.missing.some((value) => !["schedule-details", "occurrence-details"].includes(value)) || input.complete && input.missing.length > 0)
|
|
2971
|
-
|
|
3131
|
+
invalid4("missing");
|
|
2972
3132
|
if (!Array.isArray(input.occurrences) || input.occurrences.length > limit)
|
|
2973
|
-
|
|
3133
|
+
invalid4("occurrences");
|
|
2974
3134
|
if (input.kind === "single" && input.occurrences.length > 1)
|
|
2975
|
-
|
|
3135
|
+
invalid4("single occurrence count");
|
|
2976
3136
|
const seen = /* @__PURE__ */ new Set();
|
|
2977
3137
|
const occurrences = input.occurrences.map((entry) => {
|
|
2978
3138
|
if (!entry || typeof entry !== "object" || Array.isArray(entry))
|
|
2979
|
-
|
|
3139
|
+
invalid4("entry");
|
|
2980
3140
|
for (const key2 of Object.keys(entry))
|
|
2981
3141
|
if (!["id", "startAt", "endAt", "status", "verified"].includes(key2))
|
|
2982
|
-
|
|
3142
|
+
invalid4(key2);
|
|
2983
3143
|
if (entry.id !== null && !occurrenceId(entry.id))
|
|
2984
|
-
|
|
3144
|
+
invalid4("id");
|
|
2985
3145
|
if (entry.startAt !== null && !occurrenceTime(entry.startAt))
|
|
2986
|
-
|
|
3146
|
+
invalid4("startAt");
|
|
2987
3147
|
if (entry.endAt !== null && (!occurrenceTime(entry.endAt) || entry.startAt === null || entry.endAt <= entry.startAt))
|
|
2988
|
-
|
|
3148
|
+
invalid4("endAt");
|
|
2989
3149
|
if (!["scheduled", "cancelled"].includes(entry.status) || typeof entry.verified !== "boolean")
|
|
2990
|
-
|
|
3150
|
+
invalid4("status");
|
|
2991
3151
|
if (entry.verified && (entry.startAt === null || !["single", "recurring"].includes(input.kind) || input.kind === "recurring" && entry.id === null))
|
|
2992
|
-
|
|
3152
|
+
invalid4("verification");
|
|
2993
3153
|
const key = entry.id ?? "single";
|
|
2994
3154
|
if (seen.has(key))
|
|
2995
|
-
|
|
3155
|
+
invalid4("duplicate id");
|
|
2996
3156
|
seen.add(key);
|
|
2997
3157
|
return { id: entry.id, startAt: entry.startAt, endAt: entry.endAt, status: entry.status, verified: entry.verified };
|
|
2998
3158
|
});
|
|
@@ -3005,35 +3165,35 @@ var readOccurrenceSchedule = /* @__PURE__ */ __name((input, meetingId, limit, ma
|
|
|
3005
3165
|
missing: [...input.missing]
|
|
3006
3166
|
};
|
|
3007
3167
|
if (new TextEncoder().encode(JSON.stringify(result)).byteLength > maxReadBytes)
|
|
3008
|
-
|
|
3168
|
+
invalid4("maxReadBytes budget");
|
|
3009
3169
|
return result;
|
|
3010
3170
|
}, "readOccurrenceSchedule");
|
|
3011
3171
|
|
|
3012
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3172
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
3013
3173
|
var inventoryHash = /* @__PURE__ */ __name((value) => createHash4("sha256").update(JSON.stringify(value)).digest("hex"), "inventoryHash");
|
|
3014
3174
|
var inventorySize = /* @__PURE__ */ __name((value) => Buffer.byteLength(JSON.stringify(value), "utf8"), "inventorySize");
|
|
3015
|
-
function
|
|
3175
|
+
function invalid5(field, response = false) {
|
|
3016
3176
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
3017
3177
|
}
|
|
3018
|
-
__name(
|
|
3178
|
+
__name(invalid5, "invalid");
|
|
3019
3179
|
var object2 = /* @__PURE__ */ __name((value, fields3, field, response = false) => {
|
|
3020
3180
|
if (!value || typeof value !== "object" || Array.isArray(value))
|
|
3021
|
-
|
|
3181
|
+
invalid5(field, response);
|
|
3022
3182
|
for (const key of Object.keys(value))
|
|
3023
3183
|
if (!fields3.includes(key))
|
|
3024
|
-
|
|
3184
|
+
invalid5(`${field}.${key}`, response);
|
|
3025
3185
|
}, "object");
|
|
3026
3186
|
var cursorDetails = /* @__PURE__ */ __name((value) => {
|
|
3027
3187
|
if (typeof value !== "string" || value.length > 4096 || !/^[A-Za-z0-9_-]+$/.test(value))
|
|
3028
|
-
|
|
3188
|
+
invalid5("cursor");
|
|
3029
3189
|
try {
|
|
3030
3190
|
const decoded = JSON.parse(new TextDecoder("utf8", { fatal: true }).decode(Buffer.from(value, "base64url")));
|
|
3031
3191
|
object2(decoded, ["version", "selection", "cursor"], "cursor");
|
|
3032
3192
|
if (decoded.version !== 1 || typeof decoded.selection !== "string" || !/^[a-f0-9]{64}$/.test(decoded.selection) || !occurrenceId(decoded.cursor))
|
|
3033
|
-
|
|
3193
|
+
invalid5("cursor");
|
|
3034
3194
|
return decoded;
|
|
3035
3195
|
} catch {
|
|
3036
|
-
return
|
|
3196
|
+
return invalid5("cursor");
|
|
3037
3197
|
}
|
|
3038
3198
|
}, "cursorDetails");
|
|
3039
3199
|
var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
@@ -3043,19 +3203,19 @@ var inventoryRequest = /* @__PURE__ */ __name((scope3, input) => {
|
|
|
3043
3203
|
object2(input, ["after", "until", "limit", "maxReadBytes", "bytes", "cursor", "signal"], "request");
|
|
3044
3204
|
const { after, until, signal } = input;
|
|
3045
3205
|
if (!occurrenceTime(after) || !occurrenceTime(until) || after >= until || until - after > 366 * 864e5)
|
|
3046
|
-
|
|
3206
|
+
invalid5("after/until");
|
|
3047
3207
|
const limits = { limit: input.limit ?? 100, maxReadBytes: input.maxReadBytes ?? 65536, bytes: input.bytes ?? 65536 };
|
|
3048
3208
|
for (const [key, value] of Object.entries(limits))
|
|
3049
3209
|
if (!Number.isSafeInteger(value) || value < (key === "bytes" ? 2048 : 1) || value > (key === "limit" ? 100 : 1048576))
|
|
3050
|
-
|
|
3210
|
+
invalid5(key);
|
|
3051
3211
|
if (signal !== void 0 && !(signal instanceof AbortSignal))
|
|
3052
|
-
|
|
3212
|
+
invalid5("signal");
|
|
3053
3213
|
const selection = inventoryHash({ scope: scope3, after, until });
|
|
3054
3214
|
let cursor;
|
|
3055
3215
|
if (input.cursor !== void 0) {
|
|
3056
3216
|
const decoded = cursorDetails(input.cursor);
|
|
3057
3217
|
if (decoded.selection !== selection)
|
|
3058
|
-
|
|
3218
|
+
invalid5("cursor");
|
|
3059
3219
|
cursor = decoded.cursor;
|
|
3060
3220
|
}
|
|
3061
3221
|
return { after, until, limits, signal, selection, cursor };
|
|
@@ -3063,41 +3223,41 @@ var inventoryRequest = /* @__PURE__ */ __name((scope3, input) => {
|
|
|
3063
3223
|
var inventoryCursor = /* @__PURE__ */ __name((selection, cursor) => {
|
|
3064
3224
|
const encoded = Buffer.from(JSON.stringify({ version: 1, selection, cursor }), "utf8").toString("base64url");
|
|
3065
3225
|
if (encoded.length > 4096)
|
|
3066
|
-
|
|
3226
|
+
invalid5("nextCursor budget", true);
|
|
3067
3227
|
return encoded;
|
|
3068
3228
|
}, "inventoryCursor");
|
|
3069
3229
|
var inventoryPage = /* @__PURE__ */ __name((scope3, request, page) => {
|
|
3070
3230
|
object2(page, ["scope", "after", "until", "items", "nextCursor", "coverage"], "page", true);
|
|
3071
3231
|
object2(page.scope, ["provider", "account"], "scope", true);
|
|
3072
3232
|
if (page.scope.provider !== scope3.provider || page.scope.account !== scope3.account || page.after !== request.after || page.until !== request.until)
|
|
3073
|
-
|
|
3233
|
+
invalid5("selection", true);
|
|
3074
3234
|
object2(page.coverage, ["selection", "partial"], "coverage", true);
|
|
3075
3235
|
if (!["provider-window", "provider-inventory"].includes(page.coverage.selection) || typeof page.coverage.partial !== "boolean")
|
|
3076
|
-
|
|
3236
|
+
invalid5("coverage", true);
|
|
3077
3237
|
if (page.nextCursor !== null && (!occurrenceId(page.nextCursor) || page.nextCursor === request.cursor))
|
|
3078
|
-
|
|
3238
|
+
invalid5("nextCursor", true);
|
|
3079
3239
|
if (!Array.isArray(page.items) || page.items.length > request.limits.limit)
|
|
3080
|
-
|
|
3240
|
+
invalid5("items", true);
|
|
3081
3241
|
const seen = /* @__PURE__ */ new Set();
|
|
3082
3242
|
const items = page.items.map((item) => {
|
|
3083
3243
|
object2(item, ["meetingId", "title", "kind", "scheduledStartAt"], "item", true);
|
|
3084
3244
|
if (!occurrenceId(item.meetingId) || seen.has(item.meetingId))
|
|
3085
|
-
|
|
3245
|
+
invalid5("meetingId", true);
|
|
3086
3246
|
seen.add(item.meetingId);
|
|
3087
3247
|
if (item.title !== null && (typeof item.title !== "string" || item.title.length > 8192))
|
|
3088
|
-
|
|
3248
|
+
invalid5("title", true);
|
|
3089
3249
|
if (!["single", "recurring", "unscheduled", "unknown"].includes(item.kind))
|
|
3090
|
-
|
|
3250
|
+
invalid5("kind", true);
|
|
3091
3251
|
if (item.scheduledStartAt !== null && !occurrenceTime(item.scheduledStartAt))
|
|
3092
|
-
|
|
3252
|
+
invalid5("scheduledStartAt", true);
|
|
3093
3253
|
return { meetingId: item.meetingId, title: item.title, kind: item.kind, scheduledStartAt: item.scheduledStartAt };
|
|
3094
3254
|
});
|
|
3095
3255
|
if (inventorySize(page) > request.limits.maxReadBytes)
|
|
3096
|
-
|
|
3256
|
+
invalid5("maxReadBytes budget", true);
|
|
3097
3257
|
return { items, selection: page.coverage.selection, partial: page.coverage.partial, nextCursor: page.nextCursor };
|
|
3098
3258
|
}, "inventoryPage");
|
|
3099
3259
|
|
|
3100
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3260
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/series-inventory.js
|
|
3101
3261
|
var cancelled3 = /* @__PURE__ */ __name((signal) => {
|
|
3102
3262
|
if (signal?.aborted)
|
|
3103
3263
|
throw new CliError("cancelled", "meeting inventory reading was cancelled");
|
|
@@ -3153,7 +3313,7 @@ var createMeetingSeriesInventoryReader = /* @__PURE__ */ __name((scope3, port) =
|
|
|
3153
3313
|
};
|
|
3154
3314
|
}, "createMeetingSeriesInventoryReader");
|
|
3155
3315
|
|
|
3156
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3316
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
3157
3317
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
3158
3318
|
const zone = timeZone ?? "UTC";
|
|
3159
3319
|
try {
|
|
@@ -3232,7 +3392,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
3232
3392
|
};
|
|
3233
3393
|
}, "aggregateMeetingStats");
|
|
3234
3394
|
|
|
3235
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3395
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/transcription.js
|
|
3236
3396
|
var bounded = /* @__PURE__ */ __name((value, max, name) => {
|
|
3237
3397
|
if (!Number.isSafeInteger(value) || value < 1 || value > max)
|
|
3238
3398
|
throw new CliError("validation_error", `${name} must be an integer from 1 to ${max}`);
|
|
@@ -3276,6 +3436,9 @@ var transcribeMeeting = /* @__PURE__ */ __name(async (source, store, target, opt
|
|
|
3276
3436
|
const timing = recognition2.timing ?? "recognition-segments";
|
|
3277
3437
|
if (timing !== "fixed-windows" && timing !== "recognition-segments")
|
|
3278
3438
|
throw new CliError("invalid_response", "unsupported recognition timing");
|
|
3439
|
+
const modelLanguage = recognition2.language;
|
|
3440
|
+
if (modelLanguage !== void 0 && (typeof modelLanguage !== "string" || !/^[a-z]{2,3}$/.test(modelLanguage)))
|
|
3441
|
+
throw new CliError("invalid_response", "recognition language must be a two- or three-letter code");
|
|
3279
3442
|
const media = Object.freeze({
|
|
3280
3443
|
id: identifier2(raw.id),
|
|
3281
3444
|
contentHash: raw.contentHash,
|
|
@@ -3353,7 +3516,7 @@ var transcribeMeeting = /* @__PURE__ */ __name(async (source, store, target, opt
|
|
|
3353
3516
|
source: `local/${encodeURIComponent(media.recognition.engine)}/${encodeURIComponent(media.recognition.model)}`,
|
|
3354
3517
|
format: "local-transcription"
|
|
3355
3518
|
},
|
|
3356
|
-
language:
|
|
3519
|
+
language: modelLanguage ?? transcriptLanguage(rows.map((row) => row.text)),
|
|
3357
3520
|
contentHash: hash,
|
|
3358
3521
|
externalCreatedAt: null,
|
|
3359
3522
|
metadata: provenance,
|
|
@@ -3383,7 +3546,7 @@ var transcribeMeeting = /* @__PURE__ */ __name(async (source, store, target, opt
|
|
|
3383
3546
|
};
|
|
3384
3547
|
}, "transcribeMeeting");
|
|
3385
3548
|
|
|
3386
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3549
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/upcoming.js
|
|
3387
3550
|
var cancelled5 = /* @__PURE__ */ __name((signal) => {
|
|
3388
3551
|
if (!signal?.aborted)
|
|
3389
3552
|
return;
|
|
@@ -3453,7 +3616,7 @@ var createUpcomingMeetingReader = /* @__PURE__ */ __name((scope3, port) => {
|
|
|
3453
3616
|
};
|
|
3454
3617
|
}, "createUpcomingMeetingReader");
|
|
3455
3618
|
|
|
3456
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3619
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/meetings/watch.js
|
|
3457
3620
|
var sleep = /* @__PURE__ */ __name((milliseconds, signal) => new Promise((resolve) => {
|
|
3458
3621
|
const finish = /* @__PURE__ */ __name(() => {
|
|
3459
3622
|
clearTimeout(timer);
|
|
@@ -3536,13 +3699,11 @@ export {
|
|
|
3536
3699
|
meetingSummaryAnswer,
|
|
3537
3700
|
serializeVtt,
|
|
3538
3701
|
exportMeeting,
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
validateMeetingContextChange,
|
|
3545
|
-
createMeetingContext,
|
|
3702
|
+
FACT_TYPES,
|
|
3703
|
+
PAYMENT_DIRECTIONS,
|
|
3704
|
+
PAYMENT_STATES,
|
|
3705
|
+
validatePayment,
|
|
3706
|
+
paymentTitle,
|
|
3546
3707
|
findingHash,
|
|
3547
3708
|
validateFindings,
|
|
3548
3709
|
findingFingerprint,
|
|
@@ -3553,12 +3714,19 @@ export {
|
|
|
3553
3714
|
liftMeetingFields,
|
|
3554
3715
|
parseMeetingQuery,
|
|
3555
3716
|
meetingWordsQuery,
|
|
3717
|
+
transcriptLanguage,
|
|
3556
3718
|
TranscriptTextError,
|
|
3557
3719
|
parseTranscriptText,
|
|
3558
3720
|
VttError,
|
|
3559
3721
|
parseVtt,
|
|
3560
3722
|
importFiles,
|
|
3561
3723
|
CHAT_MESSAGES_READ,
|
|
3724
|
+
snapshotMeetingScope,
|
|
3725
|
+
validateMeetingChange,
|
|
3726
|
+
dispatchMeetingMutation,
|
|
3727
|
+
createMeetingManagement,
|
|
3728
|
+
validateMeetingContextChange,
|
|
3729
|
+
createMeetingContext,
|
|
3562
3730
|
meetingHitContextLimits,
|
|
3563
3731
|
validateMeetingPassage,
|
|
3564
3732
|
validateMeetingPreparationContext,
|