@wirecat/mail-cli 0.14.0 → 0.15.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/CHANGELOG.md +49 -0
- package/README.md +5 -4
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-O7HQNZOF.js → all-profiles-PKXL5TKP.js} +10 -10
- package/dist/bundle/{anthropic-SNA6PTVO.js → anthropic-DFDNZU7C.js} +6 -6
- package/dist/bundle/{app-server-LBKMJMKN.js → app-server-WOZAOCKX.js} +47 -47
- package/dist/bundle/{bun-KF5QK2YN.js → bun-DKZAL6ML.js} +2 -2
- package/dist/bundle/{bun-sqlite-2DKMM2PT.js → bun-sqlite-2A7FS5GD.js} +5 -5
- package/dist/bundle/{chunk-KLLKDOO2.js → chunk-2A4Z3WOC.js} +476 -304
- package/dist/bundle/{chunk-VERSKGJV.js → chunk-2BHY4GFP.js} +2 -2
- package/dist/bundle/{chunk-P62Z3Q35.js → chunk-3MKCLPQV.js} +14 -14
- package/dist/bundle/{chunk-FTGCXIQA.js → chunk-4DGOI6JB.js} +47 -33
- package/dist/bundle/{chunk-BP3TZ4EY.js → chunk-4HVY3QPF.js} +1 -1
- package/dist/bundle/{chunk-NGZW2JPK.js → chunk-4TPNRJER.js} +7 -7
- package/dist/bundle/{chunk-W643XZIR.js → chunk-4XRIALMN.js} +2 -2
- package/dist/bundle/{chunk-B5XAETYU.js → chunk-4YECCESG.js} +2 -2
- package/dist/bundle/{chunk-IPKXRW6W.js → chunk-5C3L2QER.js} +26 -25
- package/dist/bundle/{chunk-V5ZID7KC.js → chunk-5W7D5H2R.js} +1 -1
- package/dist/bundle/{chunk-E7BTD4P6.js → chunk-6AYJDBHT.js} +6 -6
- package/dist/bundle/{chunk-I7EWIIBC.js → chunk-6Z7VBDFR.js} +2 -3
- package/dist/bundle/{chunk-P547HU26.js → chunk-73SQQXSU.js} +10 -10
- package/dist/bundle/{chunk-ER6PJAPK.js → chunk-A6O3WHBD.js} +3 -3
- package/dist/bundle/{chunk-MQK2UNG4.js → chunk-BIKMEGC7.js} +8 -8
- package/dist/bundle/{chunk-AOVOIXGR.js → chunk-BKF7XIJ5.js} +10 -10
- package/dist/bundle/{chunk-NVQUK2DH.js → chunk-BY5S3JEZ.js} +47 -47
- package/dist/bundle/{chunk-CCHHEMPM.js → chunk-EB2IULWB.js} +3 -2
- package/dist/bundle/{chunk-2F7D6YMB.js → chunk-EDJQDR5X.js} +4 -4
- package/dist/bundle/{chunk-3YGYB3LJ.js → chunk-ENZTLYTS.js} +23 -5
- package/dist/bundle/{chunk-UHHARH5X.js → chunk-FEWWBU2I.js} +147 -73
- package/dist/bundle/{chunk-IVDUR5Y4.js → chunk-G6RG2AZV.js} +15 -8
- package/dist/bundle/{chunk-DIP3ENSY.js → chunk-HGOYQUT7.js} +1 -1
- package/dist/bundle/{chunk-XRJIQC6P.js → chunk-IA6U76ZY.js} +2 -2
- package/dist/bundle/{chunk-7LDC275M.js → chunk-JQTIB4WJ.js} +7 -7
- package/dist/bundle/{chunk-M2YIJDBL.js → chunk-K4N5UG64.js} +6 -6
- package/dist/bundle/{chunk-2A4BAMNF.js → chunk-KJYCA6IC.js} +4 -4
- package/dist/bundle/{chunk-ILHTNOIV.js → chunk-KV4267S4.js} +1 -1
- package/dist/bundle/{chunk-QZXHMQCM.js → chunk-LARQTWIL.js} +1 -1
- package/dist/bundle/{chunk-Q5EYTU3Q.js → chunk-LRBAQSU3.js} +3 -3
- package/dist/bundle/{chunk-UMWR5PKA.js → chunk-M5DF6QNT.js} +13 -13
- package/dist/bundle/{chunk-G53HRGTK.js → chunk-M5VHTDJZ.js} +17 -17
- package/dist/bundle/{chunk-RE5SEGSR.js → chunk-NDZK466U.js} +4 -4
- package/dist/bundle/{chunk-2KVR7FF3.js → chunk-NNLYS4IR.js} +9 -9
- package/dist/bundle/{chunk-WBJQEB6E.js → chunk-OJEIUOMW.js} +12 -12
- package/dist/bundle/{chunk-X5XIFNTI.js → chunk-OZVGHHFZ.js} +2 -2
- package/dist/bundle/{chunk-VA3JKERH.js → chunk-P4SV3VKP.js} +2 -2
- package/dist/bundle/{chunk-5C74F7XX.js → chunk-PI5P457W.js} +4 -4
- package/dist/bundle/{chunk-XPREXN3W.js → chunk-PXLVTHMH.js} +3 -3
- package/dist/bundle/{chunk-3EAAEF5U.js → chunk-QCNK3YUZ.js} +95 -36
- package/dist/bundle/{chunk-6EZ7XGRG.js → chunk-QJQV6KG2.js} +2 -2
- package/dist/bundle/{chunk-KQ5P5NLL.js → chunk-QSGT4ZH4.js} +1 -1
- package/dist/bundle/{chunk-OGK7LMYT.js → chunk-QTD3BVS5.js} +6 -6
- package/dist/bundle/{chunk-WVWNKZI4.js → chunk-R6UG66IM.js} +465 -280
- package/dist/bundle/{chunk-I62OTHDE.js → chunk-RBNL3DBQ.js} +3 -3
- package/dist/bundle/{chunk-7GSE57K3.js → chunk-RFDP45QO.js} +3 -3
- package/dist/bundle/{chunk-YG4OI3HJ.js → chunk-SPQY3PJX.js} +232 -180
- package/dist/bundle/{chunk-H7OQ4YZV.js → chunk-SRHKHE4C.js} +47 -28
- package/dist/bundle/{chunk-DPKHVBP3.js → chunk-U3VX3UUC.js} +5 -5
- package/dist/bundle/{chunk-6CZQJ5XR.js → chunk-VQQFOA4O.js} +8 -8
- package/dist/bundle/{chunk-UJEO3VWA.js → chunk-WIU733D2.js} +1 -1
- package/dist/bundle/{chunk-F5SZVO3A.js → chunk-WOV3ABQR.js} +4 -4
- package/dist/bundle/{chunk-KBFIKUCA.js → chunk-WTDYN3TQ.js} +28 -28
- package/dist/bundle/{chunk-EW3XTUPB.js → chunk-XBIPSSKI.js} +4 -4
- package/dist/bundle/{chunk-QWRBAQZ7.js → chunk-XGNC5OJG.js} +1 -1
- package/dist/bundle/{chunk-MXG4L7NH.js → chunk-XKUAEYJV.js} +10 -10
- package/dist/bundle/{chunk-PQLBPYJR.js → chunk-YPF6OS37.js} +1 -1
- package/dist/bundle/{chunk-H2ZURG7Q.js → chunk-YRHXVXLQ.js} +2 -2
- package/dist/bundle/{chunk-ZCPUKUST.js → chunk-YWIU4HOT.js} +1 -1
- package/dist/bundle/command-contract-4E4NYRR7.js +34 -0
- package/dist/bundle/{decode-X7Y2VSYZ.js → decode-LX4FPSI7.js} +5 -5
- package/dist/bundle/{dispatch-OWNO2CMC.js → dispatch-3ILCYZ4Q.js} +8 -8
- package/dist/bundle/{dist-L7FNC74Q.js → dist-HQIZDYNQ.js} +14 -14
- package/dist/bundle/{echarts-5AB3LFVD.js → echarts-BGBPRGR5.js} +2 -2
- package/dist/bundle/{embed-VBS5LRCE.js → embed-ASAE3H5I.js} +6 -6
- package/dist/bundle/{embedder-VFSYBDKK.js → embedder-QYDZRKBX.js} +9 -9
- package/dist/bundle/{failure-E534GZDF.js → failure-UDL5QZRZ.js} +2 -2
- package/dist/bundle/{first-run-NO2ODH2W.js → first-run-EFNNGFCB.js} +11 -11
- package/dist/bundle/first-screen-XHM3TT6G.js +32 -0
- package/dist/bundle/{instructions-52W6ZQTU.js → instructions-6LPDSKAD.js} +1 -1
- package/dist/bundle/mail.js +12 -12
- package/dist/bundle/{mcp-MNI62HHE.js → mcp-PPVOM4SE.js} +2 -2
- package/dist/bundle/{node-TL2PBNKO.js → node-IB246NCQ.js} +2 -2
- package/dist/bundle/{node-sqlite-757HNQAD.js → node-sqlite-UROXM4VR.js} +6 -6
- package/dist/bundle/{oauth-VDRNJ7KN.js → oauth-VSCKHS4T.js} +7 -7
- package/dist/bundle/{open-NUWYOKPO.js → open-R4LVB63T.js} +5 -5
- package/dist/bundle/{openai-YLBFVK5X.js → openai-MKCEOFKL.js} +14 -14
- package/dist/bundle/{process-PWAGP6YY.js → process-SWPJGPQC.js} +1 -1
- package/dist/bundle/{program-PPUPVL7O.js → program-CJ2YDRUY.js} +11358 -10374
- package/dist/bundle/{prompt-M5U66RVJ.js → prompt-TWWJ5VAM.js} +5 -5
- package/dist/bundle/{recognize-DCMDZA2U.js → recognize-XMO5ETQU.js} +4 -4
- package/dist/bundle/{remote-4SHI5WJG.js → remote-N6VAWJWE.js} +7 -7
- package/dist/bundle/{rerank-DYMZMNPQ.js → rerank-XNAMC6FH.js} +7 -7
- package/dist/bundle/{serve-HO3WME4G.js → serve-IJ32WEBH.js} +9 -9
- package/dist/bundle/server-CRVR4L2E.js +64 -0
- package/dist/bundle/{server-R3TIPRZN.js → server-KEYSE5OL.js} +39 -39
- package/dist/bundle/{sqlite-runtime-DWRITUIH.js → sqlite-runtime-NFBRN7OF.js} +6 -6
- package/dist/bundle/{state-QOMUDOGF.js → state-7WPJEW2Z.js} +6 -6
- package/dist/bundle/{store-LHHMOE5V.js → store-KHVHOGQR.js} +21 -19
- package/dist/bundle/{store-RGO6IABA.js → store-PKQCNACC.js} +15 -15
- package/dist/bundle/store-maintenance-command-5MODJN6R.js +54 -0
- package/dist/commands/account.d.ts.map +1 -1
- package/dist/commands/account.js +149 -3
- package/dist/commands/account.js.map +1 -1
- package/dist/commands/context.d.ts +2 -0
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +2 -2
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/import.d.ts +3 -0
- package/dist/commands/import.d.ts.map +1 -0
- package/dist/commands/import.js +92 -0
- package/dist/commands/import.js.map +1 -0
- package/dist/commands/read.d.ts.map +1 -1
- package/dist/commands/read.js +29 -3
- package/dist/commands/read.js.map +1 -1
- package/dist/commands/session-start.d.ts.map +1 -1
- package/dist/commands/session-start.js +9 -7
- package/dist/commands/session-start.js.map +1 -1
- package/dist/commands/stats.d.ts.map +1 -1
- package/dist/commands/stats.js +49 -2
- package/dist/commands/stats.js.map +1 -1
- package/dist/commands/sync.d.ts +2 -0
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +38 -4
- package/dist/commands/sync.js.map +1 -1
- package/dist/config.d.ts +9 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +17 -0
- package/dist/config.js.map +1 -1
- package/dist/mail/doctor.d.ts +3 -2
- package/dist/mail/doctor.d.ts.map +1 -1
- package/dist/mail/doctor.js +14 -16
- package/dist/mail/doctor.js.map +1 -1
- package/dist/mail/domain-age.d.ts +29 -0
- package/dist/mail/domain-age.d.ts.map +1 -0
- package/dist/mail/domain-age.js +157 -0
- package/dist/mail/domain-age.js.map +1 -0
- package/dist/mail/mbox.d.ts +9 -0
- package/dist/mail/mbox.d.ts.map +1 -0
- package/dist/mail/mbox.js +230 -0
- package/dist/mail/mbox.js.map +1 -0
- package/dist/oauth.d.ts +13 -9
- package/dist/oauth.d.ts.map +1 -1
- package/dist/oauth.js +12 -25
- package/dist/oauth.js.map +1 -1
- package/dist/profile.d.ts +4 -1
- package/dist/profile.d.ts.map +1 -1
- package/dist/profile.js +6 -1
- package/dist/profile.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +10 -1
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +0 -1
- package/dist/reasons.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/skills/mail-cli/SKILL.md +2 -0
- package/dist/bundle/command-contract-B3OGAIDB.js +0 -34
- package/dist/bundle/first-screen-7VJLGMJJ.js +0 -32
- package/dist/bundle/server-244FHPY4.js +0 -64
- package/dist/bundle/store-maintenance-command-LU2ZBDUY.js +0 -54
- /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-LU3WKZBA.js} +0 -0
|
@@ -30,18 +30,18 @@ import {
|
|
|
30
30
|
string,
|
|
31
31
|
union,
|
|
32
32
|
variant
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-G6RG2AZV.js";
|
|
34
34
|
import {
|
|
35
35
|
CliError,
|
|
36
36
|
isCliError,
|
|
37
37
|
singleLine,
|
|
38
38
|
visibleControls
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-EB2IULWB.js";
|
|
40
40
|
import {
|
|
41
41
|
__name
|
|
42
42
|
} from "./chunk-ZVVMGPBJ.js";
|
|
43
43
|
|
|
44
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
44
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
45
45
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
46
46
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
47
47
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -78,7 +78,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text6) => {
|
|
|
78
78
|
}, "parseMeetingReference");
|
|
79
79
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text6) => formatMeetingReference(parseMeetingReference(text6)), "canonicalMeetingReference");
|
|
80
80
|
|
|
81
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
81
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/payment.js
|
|
82
82
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
83
83
|
var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
|
|
84
84
|
var PAYMENT_STATES = ["expected", "paid", "cancelled"];
|
|
@@ -172,7 +172,7 @@ var paymentTitle = /* @__PURE__ */ __name((fact) => {
|
|
|
172
172
|
return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
|
|
173
173
|
}, "paymentTitle");
|
|
174
174
|
|
|
175
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
175
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/types.js
|
|
176
176
|
var QUERY_LIMITS = {
|
|
177
177
|
bytes: 8192,
|
|
178
178
|
depth: 32,
|
|
@@ -216,7 +216,7 @@ function queryError(reason, span, alternative, context3 = {}, details = {}) {
|
|
|
216
216
|
__name(queryError, "queryError");
|
|
217
217
|
var walkQuery = /* @__PURE__ */ __name((node) => node.kind === "predicate" ? [node] : node.clauses.flatMap(({ node: node2 }) => walkQuery(node2)), "walkQuery");
|
|
218
218
|
|
|
219
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
219
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/dates.js
|
|
220
220
|
var timezoneOf = /* @__PURE__ */ __name((given) => {
|
|
221
221
|
const zone = given ?? Intl.DateTimeFormat().resolvedOptions().timeZone ?? "UTC";
|
|
222
222
|
try {
|
|
@@ -361,7 +361,7 @@ var dateRange = /* @__PURE__ */ __name((lower, upper, lowerInclusive, upperInclu
|
|
|
361
361
|
};
|
|
362
362
|
}, "dateRange");
|
|
363
363
|
|
|
364
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
364
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/evaluate.js
|
|
365
365
|
var wordsOf = /* @__PURE__ */ __name((text6) => text6.toLowerCase().match(/[\p{L}\p{N}]+/gu) ?? [], "wordsOf");
|
|
366
366
|
var pattern = /* @__PURE__ */ __name((value) => new RegExp(`^${[...value].map((char) => char === "*" ? ".*" : char === "?" ? "." : char.replace(/[.+^${}()|[\]\\]/, "\\$&")).join("")}$`, "iu"), "pattern");
|
|
367
367
|
var present = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "", "present");
|
|
@@ -416,7 +416,7 @@ var matches = /* @__PURE__ */ __name((node, item, byName, options) => {
|
|
|
416
416
|
}, "matches");
|
|
417
417
|
var evaluate = /* @__PURE__ */ __name((ast, fields2, item, options = {}) => matches(ast.root, item, new Map(fields2.map((field) => [field.name, field])), options), "evaluate");
|
|
418
418
|
|
|
419
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
419
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/fields.js
|
|
420
420
|
var FIELD_TYPES = ["kw", "txt", "enum", "num", "time", "bool", "ref"];
|
|
421
421
|
var OPERATORS_BY_TYPE = {
|
|
422
422
|
kw: ["term", "phrase", "wildcard"],
|
|
@@ -495,22 +495,17 @@ var queryFieldsOf = /* @__PURE__ */ __name((schema, annotations = {}) => {
|
|
|
495
495
|
return [...own, ...relations, ...states];
|
|
496
496
|
}, "queryFieldsOf");
|
|
497
497
|
|
|
498
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
499
|
-
var QUERY_SYNTAX = 'field:value \xB7 "a phrase" \xB7 word* \xB7 AND OR NOT \xB7 ( ) \xB7 [a TO b] \xB7 > >= < <=';
|
|
498
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/help.js
|
|
500
499
|
var shownOf = /* @__PURE__ */ __name((registry) => registry.backend === "native" ? registry.fields.filter((field) => field.native) : registry.fields, "shownOf");
|
|
501
500
|
var leftOut = /* @__PURE__ */ __name((fields2) => fields2.filter((field) => field.negatable).map((field) => field.name), "leftOut");
|
|
502
501
|
var has = /* @__PURE__ */ __name((fields2, operator) => fields2.some((field) => field.operators.includes(operator)), "has");
|
|
503
|
-
var syntaxOf = /* @__PURE__ */ __name((shown, backend) =>
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
"terms joined by AND",
|
|
511
|
-
...has(shown, "range") ? ["[a TO b] \xB7 > >= < <="] : []
|
|
512
|
-
].join(" \xB7 ");
|
|
513
|
-
}, "syntaxOf");
|
|
502
|
+
var syntaxOf = /* @__PURE__ */ __name((shown, backend) => [
|
|
503
|
+
"field:value",
|
|
504
|
+
...has(shown, "phrase") ? ['"a phrase"'] : [],
|
|
505
|
+
...has(shown, "wildcard") ? ["word*"] : [],
|
|
506
|
+
...backend === "native" ? ["terms joined by AND"] : ["AND OR NOT", "( )"],
|
|
507
|
+
...has(shown, "range") ? ["[a TO b] \xB7 > >= < <="] : []
|
|
508
|
+
].join(" \xB7 "), "syntaxOf");
|
|
514
509
|
var kindOf = /* @__PURE__ */ __name((field) => field.values ? `${field.type}: ${field.values.join("|")}` : `${field.type}: ${field.operators.join(", ")}`, "kindOf");
|
|
515
510
|
var fieldsHelp = /* @__PURE__ */ __name((registry, guide) => {
|
|
516
511
|
const shown = shownOf(registry);
|
|
@@ -531,13 +526,13 @@ var queryDescription = /* @__PURE__ */ __name((registry) => {
|
|
|
531
526
|
if (shown.length === 0)
|
|
532
527
|
return "field:value terms; this list filters by none yet, so any term is refused";
|
|
533
528
|
const negatable = leftOut(shown);
|
|
534
|
-
const terms = registry.backend === "native" ? `field:value terms joined by AND that narrow the list${negatable.length > 0 ? `; -field:value or NOT field:value leaves out what matches, for ${negatable.join(", ")} only` : ""}` :
|
|
529
|
+
const terms = registry.backend === "native" ? `field:value terms joined by AND that narrow the list${negatable.length > 0 ? `; -field:value or NOT field:value leaves out what matches, for ${negatable.join(", ")} only` : ""}` : `field:value terms that narrow the list (Lucene: AND OR NOT, -field:value${has(shown, "range") ? ", [a TO b], > <" : ""})`;
|
|
535
530
|
const fields2 = shown.map((field) => field.values ? `${field.name} (${field.values.join("|")})` : field.name);
|
|
536
531
|
const defaults = registry.defaults?.length ? `; unless named: ${registry.defaults.join(" ")}` : "";
|
|
537
532
|
return `${terms}; fields: ${fields2.join(", ")}; e.g. ${shown[0]?.example ?? ""}${defaults}`;
|
|
538
533
|
}, "queryDescription");
|
|
539
534
|
|
|
540
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
535
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/parser.js
|
|
541
536
|
var whitespace = /* @__PURE__ */ __name((c) => /[ \t\n\r\u3000]/u.test(c), "whitespace");
|
|
542
537
|
var reserved = /* @__PURE__ */ new Set([
|
|
543
538
|
"+",
|
|
@@ -644,6 +639,10 @@ var tokensOf = /* @__PURE__ */ __name((text6, fail = queryError) => {
|
|
|
644
639
|
break;
|
|
645
640
|
at++;
|
|
646
641
|
}
|
|
642
|
+
const [field, colon] = tokens.slice(-2);
|
|
643
|
+
if (field?.kind === "term" && colon?.kind === ":" && colon.span.end === start && text6[at] === ":" && /^[a-z][a-z_-]*$/u.test(text6.slice(start, at)) && /^:[^\s()"]/u.test(text6.slice(at)))
|
|
644
|
+
while (at < text6.length && !whitespace(text6[at] ?? "") && !["(", ")", '"'].includes(text6[at] ?? ""))
|
|
645
|
+
at++;
|
|
647
646
|
const raw = text6.slice(start, at);
|
|
648
647
|
kind = { AND: "AND", OR: "OR", NOT: "NOT", "&&": "AND", "||": "OR" }[raw] ?? (/^\d+(?:\.\d+)?$/u.test(raw) ? "number" : "term");
|
|
649
648
|
}
|
|
@@ -842,7 +841,7 @@ var implicitTextTerms = /* @__PURE__ */ __name((text6) => {
|
|
|
842
841
|
return new Set(tokens.flatMap((token, index) => (token.kind === "term" || token.kind === "number") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index - 1]?.kind ?? "") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index + 1]?.kind ?? "") ? [token.span.start] : []));
|
|
843
842
|
}, "implicitTextTerms");
|
|
844
843
|
|
|
845
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
844
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/validate.js
|
|
846
845
|
var inContext = /* @__PURE__ */ __name((context3, run2) => {
|
|
847
846
|
try {
|
|
848
847
|
run2();
|
|
@@ -917,7 +916,7 @@ var validateQuery = /* @__PURE__ */ __name((ast, registry, options = {}) => {
|
|
|
917
916
|
}, "validateQuery");
|
|
918
917
|
var fieldsNamed = /* @__PURE__ */ __name((ast) => new Set(walkQuery(ast.root).map((node) => node.field)), "fieldsNamed");
|
|
919
918
|
|
|
920
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
919
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/registry.js
|
|
921
920
|
var describeQuery = /* @__PURE__ */ __name((registry) => ({
|
|
922
921
|
entity: registry.entity,
|
|
923
922
|
backend: registry.backend,
|
|
@@ -988,7 +987,7 @@ var QUERY_REASONS = defineReasons([
|
|
|
988
987
|
details: [...SPAN, ...details]
|
|
989
988
|
})));
|
|
990
989
|
|
|
991
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
990
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
992
991
|
var text = string();
|
|
993
992
|
var count = pipe(number(), integer(), minValue(0));
|
|
994
993
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -1053,7 +1052,7 @@ var MEETING_QUERY = {
|
|
|
1053
1052
|
})
|
|
1054
1053
|
};
|
|
1055
1054
|
|
|
1056
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1055
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
1057
1056
|
var text2 = string();
|
|
1058
1057
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
1059
1058
|
var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
@@ -1288,7 +1287,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
1288
1287
|
};
|
|
1289
1288
|
}, "meetingHitsList");
|
|
1290
1289
|
|
|
1291
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1290
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
1292
1291
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
1293
1292
|
const parsed = urlOf(url);
|
|
1294
1293
|
if (!parsed)
|
|
@@ -1322,7 +1321,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
1322
1321
|
}
|
|
1323
1322
|
}, "urlOf");
|
|
1324
1323
|
|
|
1325
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1324
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
1326
1325
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
1327
1326
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
1328
1327
|
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");
|
|
@@ -1355,7 +1354,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
1355
1354
|
return kept;
|
|
1356
1355
|
}, "entryMetadata");
|
|
1357
1356
|
|
|
1358
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
1359
1358
|
import { createHash } from "node:crypto";
|
|
1360
1359
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
1361
1360
|
reference: cue2.reference,
|
|
@@ -1369,7 +1368,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
1369
1368
|
text: cue2.text
|
|
1370
1369
|
})).digest("hex"), "meetingCueFingerprint");
|
|
1371
1370
|
|
|
1372
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1371
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
1373
1372
|
var EVENT_QUERY = defineQuery({
|
|
1374
1373
|
entity: "event",
|
|
1375
1374
|
backend: "sql",
|
|
@@ -1385,7 +1384,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
1385
1384
|
]
|
|
1386
1385
|
});
|
|
1387
1386
|
|
|
1388
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
1389
1388
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
1390
1389
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
1391
1390
|
if (entry.recurrenceEndsAt !== null)
|
|
@@ -1408,7 +1407,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
|
|
|
1408
1407
|
return Math.max(entry.endsAt ?? start, start + 1) > window.from;
|
|
1409
1408
|
}, "entryInWindow");
|
|
1410
1409
|
|
|
1411
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1410
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
1412
1411
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
|
|
1413
1412
|
const current = await store.meeting(details.meeting.id);
|
|
1414
1413
|
if (!current)
|
|
@@ -1451,7 +1450,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
1451
1450
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
1452
1451
|
}, "linkEvent");
|
|
1453
1452
|
|
|
1454
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1453
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
1455
1454
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text6) => text6.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
1456
1455
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
1457
1456
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -1475,7 +1474,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
1475
1474
|
};
|
|
1476
1475
|
}, "validateMeetingParticipantSearch");
|
|
1477
1476
|
|
|
1478
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1477
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
1479
1478
|
var MeetingError = class extends CliError {
|
|
1480
1479
|
static {
|
|
1481
1480
|
__name(this, "MeetingError");
|
|
@@ -1607,7 +1606,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id3, accountId)
|
|
|
1607
1606
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
1608
1607
|
}, "meetingSummaryAnswer");
|
|
1609
1608
|
|
|
1610
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1609
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
1611
1610
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
1612
1611
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
1613
1612
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -1703,10 +1702,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id3, options) => {
|
|
|
1703
1702
|
};
|
|
1704
1703
|
}, "exportMeeting");
|
|
1705
1704
|
|
|
1706
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1705
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1707
1706
|
import { createHash as createHash2 } from "node:crypto";
|
|
1708
1707
|
|
|
1709
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1708
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
1710
1709
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
1711
1710
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
1712
1711
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone`);
|
|
@@ -1717,7 +1716,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
1717
1716
|
return new Date(value).toISOString();
|
|
1718
1717
|
}, "meetingTimestamp");
|
|
1719
1718
|
|
|
1720
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1719
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1721
1720
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
1722
1721
|
var invalid3 = /* @__PURE__ */ __name((message) => {
|
|
1723
1722
|
throw new CliError("validation_error", message);
|
|
@@ -1864,7 +1863,7 @@ var findingText = /* @__PURE__ */ __name((value, limit) => text3(value, limit),
|
|
|
1864
1863
|
var findingFields = /* @__PURE__ */ __name((value, allowed, noun) => fields(value, allowed, noun), "findingFields");
|
|
1865
1864
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
1866
1865
|
|
|
1867
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1866
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
1868
1867
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
1869
1868
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
1870
1869
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -1875,7 +1874,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
1875
1874
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
1876
1875
|
var meetingFindingFingerprint = findingFingerprint;
|
|
1877
1876
|
|
|
1878
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1877
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
1879
1878
|
var context = {
|
|
1880
1879
|
command: "search meetings",
|
|
1881
1880
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -1938,7 +1937,7 @@ var MEETING_FIELDS = defineQuery({
|
|
|
1938
1937
|
});
|
|
1939
1938
|
var parseMeetingQuery = /* @__PURE__ */ __name((query) => validateQuery(parseLucene(query, { defaultField: "text", proximity: true, ...context }), MEETING_HIT_QUERY, context), "parseMeetingQuery");
|
|
1940
1939
|
|
|
1941
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1940
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/language.js
|
|
1942
1941
|
var LATIN_WORDS = {
|
|
1943
1942
|
en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
|
|
1944
1943
|
es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
|
|
@@ -1987,7 +1986,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
|
|
|
1987
1986
|
return null;
|
|
1988
1987
|
}, "transcriptLanguage");
|
|
1989
1988
|
|
|
1990
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1989
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
1991
1990
|
var contentHash = /* @__PURE__ */ __name(async (text6) => {
|
|
1992
1991
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text6));
|
|
1993
1992
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -2024,7 +2023,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
2024
2023
|
return time;
|
|
2025
2024
|
}, "timestamp");
|
|
2026
2025
|
|
|
2027
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2026
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
2028
2027
|
var TranscriptTextError = class extends Error {
|
|
2029
2028
|
static {
|
|
2030
2029
|
__name(this, "TranscriptTextError");
|
|
@@ -2079,7 +2078,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
2079
2078
|
return { header, lines };
|
|
2080
2079
|
}, "parseTranscriptText");
|
|
2081
2080
|
|
|
2082
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2081
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
2083
2082
|
var VttError = class extends Error {
|
|
2084
2083
|
static {
|
|
2085
2084
|
__name(this, "VttError");
|
|
@@ -2131,7 +2130,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
2131
2130
|
return cues;
|
|
2132
2131
|
}, "parseVtt");
|
|
2133
2132
|
|
|
2134
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2133
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
2135
2134
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
2136
2135
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
2137
2136
|
for (const file of files) {
|
|
@@ -2164,10 +2163,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
2164
2163
|
return report;
|
|
2165
2164
|
}, "importFiles");
|
|
2166
2165
|
|
|
2167
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2166
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
2168
2167
|
var CHAT_MESSAGES_READ = 1e5;
|
|
2169
2168
|
|
|
2170
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2169
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
2171
2170
|
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
2172
2171
|
if (typeof value !== "string" || !value.trim())
|
|
2173
2172
|
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
@@ -2218,7 +2217,7 @@ var validateMeetingChange = /* @__PURE__ */ __name((change, create) => {
|
|
|
2218
2217
|
return Object.freeze(result);
|
|
2219
2218
|
}, "validateMeetingChange");
|
|
2220
2219
|
|
|
2221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2220
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
2222
2221
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
2223
2222
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
2224
2223
|
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)))
|
|
@@ -2231,7 +2230,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
2231
2230
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
2232
2231
|
}, "validateMeetingPassage");
|
|
2233
2232
|
|
|
2234
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2233
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
2235
2234
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
2236
2235
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2237
2236
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -2256,7 +2255,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
2256
2255
|
return { ...input, limit, maxReadBytes };
|
|
2257
2256
|
}, "validateMeetingPreparationContext");
|
|
2258
2257
|
|
|
2259
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2258
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
2260
2259
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
2261
2260
|
var id = pipe(string(), minLength(1));
|
|
2262
2261
|
var meetingProjectEvidence = strictObject({
|
|
@@ -2377,7 +2376,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
2377
2376
|
};
|
|
2378
2377
|
}, "meetingProjectEvidenceAnswer");
|
|
2379
2378
|
|
|
2380
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2379
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
2381
2380
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
2382
2381
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
2383
2382
|
if (typeof query !== "string" || !query.trim() || query.includes("\0") || new TextEncoder().encode(query).byteLength > 65536 || !integer3(options.limit ?? 100, 1, 1e3) || !integer3(options.maxReadBytes ?? 4194304, 1, 67108864) || [
|
|
@@ -2397,7 +2396,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
2397
2396
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
2398
2397
|
}, "validateMeetingHitSearch");
|
|
2399
2398
|
|
|
2400
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2399
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
2401
2400
|
var ids = {
|
|
2402
2401
|
meeting_id: "meetingId",
|
|
2403
2402
|
identity_id: "participantIdentityId",
|
|
@@ -2488,7 +2487,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
|
|
|
2488
2487
|
return { project: project.trim(), options, query: frozen.join(" AND ") };
|
|
2489
2488
|
}, "prepareMeetingProjectEvidence");
|
|
2490
2489
|
|
|
2491
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2490
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
2492
2491
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
|
|
2493
2492
|
const prepared = prepareMeetingProjectEvidence(project, request, now);
|
|
2494
2493
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -2496,7 +2495,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
|
|
|
2496
2495
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
2497
2496
|
}, "readMeetingProjectEvidence");
|
|
2498
2497
|
|
|
2499
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2498
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
2500
2499
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
2501
2500
|
const { identityExternalId, ...fields2 } = p;
|
|
2502
2501
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -2635,7 +2634,7 @@ unlinked`, format)],
|
|
|
2635
2634
|
return report;
|
|
2636
2635
|
}, "pull");
|
|
2637
2636
|
|
|
2638
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2637
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
2639
2638
|
var text4 = string();
|
|
2640
2639
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2641
2640
|
var id2 = pipe(number(), integer(), minValue(1));
|
|
@@ -2695,6 +2694,23 @@ var meetingStats = strictObject({
|
|
|
2695
2694
|
weeks: array(strictObject({ week_start: text4, meetings: count4, talk_ms: count4 })),
|
|
2696
2695
|
top_speakers: array(meetingSpeaker)
|
|
2697
2696
|
});
|
|
2697
|
+
var meetingCountsRow = strictObject({
|
|
2698
|
+
key: text4,
|
|
2699
|
+
name: nullable(text4),
|
|
2700
|
+
meetings: count4,
|
|
2701
|
+
minutes: count4,
|
|
2702
|
+
mean_minutes: nullable(number()),
|
|
2703
|
+
transcripts: count4
|
|
2704
|
+
});
|
|
2705
|
+
var meetingCounts = strictObject({
|
|
2706
|
+
by: picklist(["day", "week", "series"]),
|
|
2707
|
+
meetings: count4,
|
|
2708
|
+
minutes: count4,
|
|
2709
|
+
mean_minutes: nullable(number()),
|
|
2710
|
+
transcripts: count4,
|
|
2711
|
+
rows: array(meetingCountsRow),
|
|
2712
|
+
has_more: boolean()
|
|
2713
|
+
});
|
|
2698
2714
|
var truncated = /* @__PURE__ */ __name((...why) => nullable(picklist(why)), "truncated");
|
|
2699
2715
|
var meetingParticipants = strictObject({
|
|
2700
2716
|
schema_version: literal(1),
|
|
@@ -2812,10 +2828,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
2812
2828
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
2813
2829
|
}), "eventItem");
|
|
2814
2830
|
|
|
2815
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2831
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
2816
2832
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
2817
2833
|
|
|
2818
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2834
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
2819
2835
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
2820
2836
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2821
2837
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -2845,7 +2861,7 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
2845
2861
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
2846
2862
|
}, "validateMeetingRelatedHistory");
|
|
2847
2863
|
|
|
2848
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2864
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
2849
2865
|
var text5 = string();
|
|
2850
2866
|
var identifier = pipe(text5, minLength(1));
|
|
2851
2867
|
var nullableText = nullable(text5);
|
|
@@ -2978,14 +2994,14 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
2978
2994
|
meeting_repair: repair
|
|
2979
2995
|
};
|
|
2980
2996
|
|
|
2981
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2997
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
2982
2998
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
2983
2999
|
|
|
2984
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3000
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
2985
3001
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
2986
3002
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
2987
3003
|
|
|
2988
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3004
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
2989
3005
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
2990
3006
|
input.signal?.throwIfAborted();
|
|
2991
3007
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -3006,10 +3022,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
3006
3022
|
return { ...input, limit, maxReadBytes };
|
|
3007
3023
|
}, "validateMeetingSeriesHistory");
|
|
3008
3024
|
|
|
3009
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3025
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
3010
3026
|
var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
|
|
3011
3027
|
|
|
3012
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3028
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
3013
3029
|
function invalid4(field, response = false) {
|
|
3014
3030
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
3015
3031
|
}
|
|
@@ -3038,7 +3054,8 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
3038
3054
|
cursorDetails(value);
|
|
3039
3055
|
}, "validateMeetingSeriesInventoryCursor");
|
|
3040
3056
|
|
|
3041
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3057
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
3058
|
+
var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
|
|
3042
3059
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
3043
3060
|
const zone = timeZone ?? "UTC";
|
|
3044
3061
|
try {
|
|
@@ -3054,17 +3071,72 @@ var weekStart = /* @__PURE__ */ __name((at, format) => {
|
|
|
3054
3071
|
const day = Date.UTC(Number(parts.year), Number(parts.month) - 1, Number(parts.day));
|
|
3055
3072
|
return new Date(day - DAYS.indexOf(parts.weekday ?? "Mon") * 864e5).toISOString().slice(0, 10);
|
|
3056
3073
|
}, "weekStart");
|
|
3074
|
+
var dayKey = /* @__PURE__ */ __name((at, format) => {
|
|
3075
|
+
const parts = Object.fromEntries(format.formatToParts(new Date(at)).map((part) => [part.type, part.value]));
|
|
3076
|
+
return `${parts.year}-${parts.month}-${parts.day}`;
|
|
3077
|
+
}, "dayKey");
|
|
3078
|
+
var zoneFormat = /* @__PURE__ */ __name((zone) => new Intl.DateTimeFormat("en-US", {
|
|
3079
|
+
timeZone: zone,
|
|
3080
|
+
year: "numeric",
|
|
3081
|
+
month: "2-digit",
|
|
3082
|
+
day: "2-digit",
|
|
3083
|
+
weekday: "short"
|
|
3084
|
+
}), "zoneFormat");
|
|
3085
|
+
var NO_SERIES = "no-series";
|
|
3086
|
+
var MOST_COUNT_ROWS = 100;
|
|
3087
|
+
var minutesOf = /* @__PURE__ */ __name((ms) => Math.round(ms / 6e4), "minutesOf");
|
|
3088
|
+
var meanOf = /* @__PURE__ */ __name((ms, timed) => timed === 0 ? null : Math.round(ms / timed / 6e3) / 10, "meanOf");
|
|
3089
|
+
var aggregateMeetingCounts = /* @__PURE__ */ __name((meetings, by, timeZone, limit = MOST_COUNT_ROWS) => {
|
|
3090
|
+
if (!MEETING_COUNTS_GROUPINGS.includes(by))
|
|
3091
|
+
throw new CliError("validation_error", `--by takes ${MEETING_COUNTS_GROUPINGS.join(", ")}`);
|
|
3092
|
+
if (!Number.isSafeInteger(limit) || limit < 1)
|
|
3093
|
+
throw new CliError("validation_error", "--limit is a positive number");
|
|
3094
|
+
const zone = zoneOf(timeZone);
|
|
3095
|
+
const format = zoneFormat(zone);
|
|
3096
|
+
const sum = /* @__PURE__ */ __name(() => ({ meetings: 0, ms: 0, timed: 0, transcripts: 0 }), "sum");
|
|
3097
|
+
const add = /* @__PURE__ */ __name((into, meeting2) => {
|
|
3098
|
+
into.meetings += 1;
|
|
3099
|
+
if (meeting2.durationMs !== null) {
|
|
3100
|
+
into.ms += Math.max(0, meeting2.durationMs);
|
|
3101
|
+
into.timed += 1;
|
|
3102
|
+
}
|
|
3103
|
+
if (meeting2.transcribed)
|
|
3104
|
+
into.transcripts += 1;
|
|
3105
|
+
}, "add");
|
|
3106
|
+
const total = { ...sum(), name: null };
|
|
3107
|
+
const groups = /* @__PURE__ */ new Map();
|
|
3108
|
+
for (const meeting2 of meetings) {
|
|
3109
|
+
add(total, meeting2);
|
|
3110
|
+
const key = by === "series" ? meeting2.seriesKey === null ? NO_SERIES : `series:${meeting2.seriesKey}` : meeting2.startedAt === null ? null : by === "day" ? dayKey(meeting2.startedAt, format) : weekStart(meeting2.startedAt, format);
|
|
3111
|
+
if (key === null)
|
|
3112
|
+
continue;
|
|
3113
|
+
const group = groups.get(key) ?? { ...sum(), name: by === "series" ? meeting2.seriesTitle : null };
|
|
3114
|
+
add(group, meeting2);
|
|
3115
|
+
groups.set(key, group);
|
|
3116
|
+
}
|
|
3117
|
+
const ordered = [...groups.entries()].sort(([a, one], [b, other]) => by === "series" ? other.ms - one.ms || other.meetings - one.meetings || a.localeCompare(b) : b.localeCompare(a));
|
|
3118
|
+
const kept = ordered.slice(0, limit);
|
|
3119
|
+
if (by !== "series")
|
|
3120
|
+
kept.reverse();
|
|
3121
|
+
const counted = /* @__PURE__ */ __name(({ meetings: count6, ms, timed, transcripts }) => ({
|
|
3122
|
+
meetings: count6,
|
|
3123
|
+
minutes: minutesOf(ms),
|
|
3124
|
+
meanMinutes: meanOf(ms, timed),
|
|
3125
|
+
transcripts
|
|
3126
|
+
}), "counted");
|
|
3127
|
+
return {
|
|
3128
|
+
by,
|
|
3129
|
+
timeZone: zone,
|
|
3130
|
+
...counted(total),
|
|
3131
|
+
rows: kept.map(([key, group]) => ({ key, name: group.name, ...counted(group) })),
|
|
3132
|
+
hasMore: ordered.length > limit
|
|
3133
|
+
};
|
|
3134
|
+
}, "aggregateMeetingCounts");
|
|
3057
3135
|
var UNKNOWN_SPEAKER = "unknown";
|
|
3058
3136
|
var speakerOf = /* @__PURE__ */ __name((row) => row.personId !== null ? { key: `person:${row.personId}`, name: row.personName ?? row.identityName ?? row.speakerName } : row.identityId !== null ? { key: `identity:${row.identityId}`, name: row.identityName ?? row.speakerName } : row.speakerName?.trim() ? { key: `name:${row.speakerName.trim().toLowerCase()}`, name: row.speakerName.trim() } : { key: UNKNOWN_SPEAKER, name: null }, "speakerOf");
|
|
3059
3137
|
var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
3060
3138
|
const zone = zoneOf(timeZone);
|
|
3061
|
-
const format =
|
|
3062
|
-
timeZone: zone,
|
|
3063
|
-
year: "numeric",
|
|
3064
|
-
month: "2-digit",
|
|
3065
|
-
day: "2-digit",
|
|
3066
|
-
weekday: "short"
|
|
3067
|
-
});
|
|
3139
|
+
const format = zoneFormat(zone);
|
|
3068
3140
|
const speakers = /* @__PURE__ */ new Map();
|
|
3069
3141
|
const weeks = /* @__PURE__ */ new Map();
|
|
3070
3142
|
const meetings = /* @__PURE__ */ new Set();
|
|
@@ -3117,7 +3189,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
3117
3189
|
};
|
|
3118
3190
|
}, "aggregateMeetingStats");
|
|
3119
3191
|
|
|
3120
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3192
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/domain/tags.js
|
|
3121
3193
|
var TAG_TYPES = ["chat", "contact", "message", "task"];
|
|
3122
3194
|
var TAG = /^[a-z0-9-]{1,32}$/;
|
|
3123
3195
|
var tagOf = /* @__PURE__ */ __name((value) => {
|
|
@@ -3219,6 +3291,7 @@ export {
|
|
|
3219
3291
|
meetingLink,
|
|
3220
3292
|
meetingSpeaker,
|
|
3221
3293
|
meetingStats,
|
|
3294
|
+
meetingCounts,
|
|
3222
3295
|
meetingParticipants,
|
|
3223
3296
|
meetingPassage,
|
|
3224
3297
|
event,
|
|
@@ -3230,6 +3303,7 @@ export {
|
|
|
3230
3303
|
SAVE_HELP,
|
|
3231
3304
|
validateMeetingSeriesHistory,
|
|
3232
3305
|
validateMeetingSeriesInventoryCursor,
|
|
3306
|
+
aggregateMeetingCounts,
|
|
3233
3307
|
aggregateMeetingStats,
|
|
3234
3308
|
TAG_TYPES,
|
|
3235
3309
|
tagOf,
|