@wirecat/zoom-cli 0.59.0 → 0.60.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/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-RS5IWIGR.js → all-profiles-7OZPJY76.js} +5 -5
- package/dist/bundle/{answer-policy-K56DZ3AS.js → answer-policy-PVWMA2QC.js} +50 -50
- package/dist/bundle/{anthropic-5QHQR4WF.js → anthropic-TT2XV74T.js} +3 -3
- package/dist/bundle/{app-server-7LANSZGE.js → app-server-POMYD6QV.js} +45 -45
- package/dist/bundle/{bun-O6RL6LRQ.js → bun-JVDJVDHL.js} +2 -2
- package/dist/bundle/{bun-sqlite-PEJM6CS4.js → bun-sqlite-BBOPAQVG.js} +2 -2
- package/dist/bundle/{chunk-ZHXIXDH5.js → chunk-22UBF6U6.js} +4 -4
- package/dist/bundle/{chunk-L2UIJDWB.js → chunk-2EVRKK75.js} +1 -1
- package/dist/bundle/{chunk-YSHSCBPM.js → chunk-2TV7UTHK.js} +7 -7
- package/dist/bundle/{chunk-XFCSPOLZ.js → chunk-3P4LUGXI.js} +1 -1
- package/dist/bundle/{chunk-QFGBMS67.js → chunk-3UMXCNDI.js} +13 -6
- package/dist/bundle/{chunk-5RM5TCUY.js → chunk-4FTPE5SB.js} +23 -23
- package/dist/bundle/{chunk-4AURKUDZ.js → chunk-4HZRZDMC.js} +3 -3
- package/dist/bundle/{chunk-RXDIG23Z.js → chunk-4MC4Z45G.js} +5 -5
- package/dist/bundle/{chunk-PKTFZAXG.js → chunk-57LT4A2E.js} +1 -1
- package/dist/bundle/{chunk-T6AAM7UT.js → chunk-72A7CIPL.js} +18 -15
- package/dist/bundle/{chunk-6FL25KC5.js → chunk-7PQY4ISY.js} +3 -3
- package/dist/bundle/{chunk-URO44C5T.js → chunk-7T3BUWJK.js} +156 -144
- package/dist/bundle/{chunk-BXZ6WSVF.js → chunk-AJA5ZAV6.js} +3 -3
- package/dist/bundle/{chunk-MBT7GP7K.js → chunk-D6L35XQS.js} +8 -8
- package/dist/bundle/{chunk-K76WFW4I.js → chunk-DAQXO6SM.js} +3 -3
- package/dist/bundle/{chunk-SIA7HJE2.js → chunk-DKIIKMSE.js} +54 -47
- package/dist/bundle/{chunk-XT7XVPEM.js → chunk-DN7VHENQ.js} +9 -9
- package/dist/bundle/{chunk-KVHRHBLY.js → chunk-E3AMUYNB.js} +4 -4
- package/dist/bundle/{chunk-CVIKKIGE.js → chunk-EF2RCQ3L.js} +1 -1
- package/dist/bundle/{chunk-OBZWUNO4.js → chunk-EH6G2LEU.js} +8 -8
- package/dist/bundle/{chunk-A6323R5P.js → chunk-EOZWDEJL.js} +1 -1
- package/dist/bundle/{chunk-UKR7KH3H.js → chunk-EROQ5SC7.js} +2 -2
- package/dist/bundle/{chunk-NDXAZB5Z.js → chunk-EXFAA4N3.js} +5 -5
- package/dist/bundle/{chunk-MNUTWGSA.js → chunk-G3MXAGF2.js} +30 -30
- package/dist/bundle/{chunk-3SCTDFNO.js → chunk-GNRYFESK.js} +15 -15
- package/dist/bundle/{chunk-PACC5N6T.js → chunk-GXACHTB2.js} +8 -1
- package/dist/bundle/{chunk-4NGLRHWO.js → chunk-HBYE4EP2.js} +1 -1
- package/dist/bundle/{chunk-NW7IMGRR.js → chunk-HIAO4MPA.js} +1 -1
- package/dist/bundle/{chunk-7D2CD3E3.js → chunk-HWZXQLR5.js} +4 -4
- package/dist/bundle/{chunk-QCFHL4ES.js → chunk-I45V6AFG.js} +1 -1
- package/dist/bundle/{chunk-DXZTLB24.js → chunk-IFXPNXAH.js} +3 -3
- package/dist/bundle/{chunk-NOKFJJPA.js → chunk-J3N2LL37.js} +5 -5
- package/dist/bundle/{chunk-XPNFF6SE.js → chunk-J5ZVGKSZ.js} +1 -1
- package/dist/bundle/{chunk-MMT46EN4.js → chunk-JBGYI5BY.js} +1 -1
- package/dist/bundle/{chunk-B32SF7J3.js → chunk-KUBCUE6T.js} +1 -1
- package/dist/bundle/{chunk-G27MRA24.js → chunk-KUBWRI5E.js} +1 -1
- package/dist/bundle/{chunk-7H3ZRDLW.js → chunk-KVPYI52N.js} +2 -2
- package/dist/bundle/{chunk-27P22POE.js → chunk-LKV3NRCJ.js} +29 -25
- package/dist/bundle/{recognize-EMHQX4XF.js → chunk-LYZNVNJA.js} +6 -5
- package/dist/bundle/{chunk-IYAGQXED.js → chunk-LZBWU2IA.js} +7 -7
- package/dist/bundle/{chunk-ZC5UXEIH.js → chunk-M5WLBRL7.js} +10 -10
- package/dist/bundle/{chunk-BAQLQIMI.js → chunk-MGYFSXI5.js} +30 -26
- package/dist/bundle/{chunk-PF25S7L4.js → chunk-NKFRV2LB.js} +1 -1
- package/dist/bundle/{chunk-PNBEREOU.js → chunk-ODFIV4OS.js} +1904 -1527
- package/dist/bundle/{chunk-YIFIY7ZE.js → chunk-PU4FKK5T.js} +1 -1
- package/dist/bundle/{chunk-UXM7I35J.js → chunk-PUOBYJFI.js} +4 -4
- package/dist/bundle/{chunk-VOAVOK4I.js → chunk-Q4NDCDFG.js} +55 -16
- package/dist/bundle/{chunk-UYJUTZTT.js → chunk-QJCVOVNR.js} +2 -2
- package/dist/bundle/{chunk-5DVW77VC.js → chunk-RH5YXXAB.js} +30 -30
- package/dist/bundle/{chunk-L3VS3H34.js → chunk-RNX73QCL.js} +5 -5
- package/dist/bundle/{chunk-YJRMMZI5.js → chunk-RSLXLUTS.js} +9 -9
- package/dist/bundle/{chunk-CTGI4ES2.js → chunk-SG3WSP7Y.js} +5 -5
- package/dist/bundle/{chunk-U6QW67SU.js → chunk-SK3K2VHF.js} +371 -314
- package/dist/bundle/{chunk-62NCJILK.js → chunk-SKENSSY2.js} +9 -9
- package/dist/bundle/{chunk-VSUY7PDW.js → chunk-TAQKNWCD.js} +6 -3
- package/dist/bundle/{chunk-4ZIROI4H.js → chunk-TB72GE55.js} +1 -1
- package/dist/bundle/{chunk-PP3JGQQE.js → chunk-UOL4ILXT.js} +108 -52
- package/dist/bundle/{chunk-ZTOAAYFV.js → chunk-V2QOLHPM.js} +2 -2
- package/dist/bundle/{chunk-AIXLOMH4.js → chunk-W5EUHV3J.js} +1 -1
- package/dist/bundle/{chunk-SL3SXQZ5.js → chunk-WVXAQVLG.js} +5 -5
- package/dist/bundle/{chunk-3SERIWJD.js → chunk-XAF2LHZG.js} +7853 -7815
- package/dist/bundle/{chunk-DXKVEOSS.js → chunk-XLJV3ZOH.js} +1 -1
- package/dist/bundle/{chunk-OZS7QXCQ.js → chunk-XMCVB4Q4.js} +9 -4
- package/dist/bundle/{chunk-N7GAQ27N.js → chunk-YSZQ5SZK.js} +2 -2
- package/dist/bundle/{chunk-7Z4ANTAK.js → chunk-YZZ6NBXC.js} +27 -19
- package/dist/bundle/{chunk-DDYR6DYL.js → chunk-ZK7Y5K63.js} +1 -1
- package/dist/bundle/{cli-IQTASP44.js → cli-WIMAOCXF.js} +51 -51
- package/dist/bundle/command-contract-J7PDZQMC.js +38 -0
- package/dist/bundle/config-G62PBNZF.js +79 -0
- package/dist/bundle/decode-UBPIHVNG.js +158 -0
- package/dist/bundle/{dist-WT73DF46.js → dist-YYDTME5J.js} +11 -11
- package/dist/bundle/{echarts-LD3AI55P.js → echarts-4OQHS575.js} +2 -2
- package/dist/bundle/{embed-XEMH4LNX.js → embed-7JHEPBFD.js} +3 -3
- package/dist/bundle/{embedder-ZCYKSKAE.js → embedder-HTRPWR6T.js} +6 -6
- package/dist/bundle/{first-run-LGYDLIUM.js → first-run-I52ADRJ2.js} +5 -5
- package/dist/bundle/first-screen-XNCFWOLC.js +36 -0
- package/dist/bundle/{instructions-RZMSW3OC.js → instructions-3QZBKKPF.js} +1 -1
- package/dist/bundle/{main-C2V7TVLV.js → main-64VVZ5QG.js} +11 -11
- package/dist/bundle/mcp-5SJXWEJW.js +92 -0
- package/dist/bundle/{mcp-44GCZJZF.js → mcp-ZMIPDB4R.js} +59 -59
- package/dist/bundle/{meetings-XPBHVZAU.js → meetings-RD3NU6NN.js} +5 -1
- package/dist/bundle/{node-ZRLYQL7J.js → node-R2BLYUSB.js} +2 -2
- package/dist/bundle/node-sqlite-DGEEDBXV.js +61 -0
- package/dist/bundle/{oauth-UHVRGKZU.js → oauth-NRZMCFH3.js} +4 -4
- package/dist/bundle/{open-J4FCAUAJ.js → open-SUGCOCAU.js} +1 -1
- package/dist/bundle/{process-LL77573L.js → process-IX5YWGDP.js} +1 -1
- package/dist/bundle/{program-GPY5SU7M.js → program-WGNTV7NS.js} +61 -61
- package/dist/bundle/{prompt-LUUMQTMY.js → prompt-NICXDWN3.js} +2 -2
- package/dist/bundle/recognize-6DAHO6X6.js +21 -0
- package/dist/bundle/{remote-ZXS6D7VB.js → remote-JZ3TXP6I.js} +4 -4
- package/dist/bundle/{rerank-WP7RKZNB.js → rerank-YSXWCAGZ.js} +4 -4
- package/dist/bundle/{run-log-GS2L66G6.js → run-log-APHZZWC7.js} +48 -48
- package/dist/bundle/{serve-L6KLLXK2.js → serve-7VWL475U.js} +6 -6
- package/dist/bundle/server-7LABFAA5.js +53 -0
- package/dist/bundle/server-VFXB5WRG.js +66 -0
- package/dist/bundle/{services-SPOEWVK3.js → services-D64U72OE.js} +21 -21
- package/dist/bundle/{speech-6OBAKMND.js → speech-QLCQAT4O.js} +3 -3
- package/dist/bundle/{state-HN5EJKXQ.js → state-KAD3R27T.js} +3 -3
- package/dist/bundle/{store-ZP2URKET.js → store-2BHHS77S.js} +12 -12
- package/dist/bundle/{store-LEU3M6IN.js → store-7UNPRLZ3.js} +10 -10
- package/dist/bundle/store-connection-QTMLZ7LR.js +76 -0
- package/dist/bundle/store-maintenance-command-ND6PQCVZ.js +54 -0
- package/dist/bundle/zm.js +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +3 -1
- package/dist/config.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/zoom-cli/SKILL.md +1 -0
- package/dist/bundle/command-contract-WHZPF7NA.js +0 -38
- package/dist/bundle/config-N7ENOITZ.js +0 -79
- package/dist/bundle/first-screen-LYQKPNF4.js +0 -36
- package/dist/bundle/mcp-VISEXTVC.js +0 -92
- package/dist/bundle/node-sqlite-BBEDYBWO.js +0 -45
- package/dist/bundle/server-NOFYENP5.js +0 -53
- package/dist/bundle/server-P5TXAPBY.js +0 -66
- package/dist/bundle/store-connection-5MOUQ2MU.js +0 -76
- package/dist/bundle/store-maintenance-command-PSCHEHHY.js +0 -54
- /package/dist/bundle/{chunk-Q2Z3VCM4.js → chunk-YLBNPI7H.js} +0 -0
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
ZM
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-J5ZVGKSZ.js";
|
|
6
6
|
import {
|
|
7
7
|
commandsCommand,
|
|
8
8
|
formatSuggestions,
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
runsCommand,
|
|
11
11
|
sharedCommandTemplate,
|
|
12
12
|
suggest
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-SK3K2VHF.js";
|
|
14
14
|
import {
|
|
15
15
|
sharedStoreCommand
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DKIIKMSE.js";
|
|
17
17
|
import {
|
|
18
18
|
answerEntity
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-4MC4Z45G.js";
|
|
20
20
|
import {
|
|
21
21
|
LOCAL_READ,
|
|
22
22
|
NO_EFFECTS,
|
|
@@ -38,24 +38,24 @@ import {
|
|
|
38
38
|
profileFree,
|
|
39
39
|
renderAnswer,
|
|
40
40
|
snakeKeys
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-G3MXAGF2.js";
|
|
42
42
|
import {
|
|
43
43
|
readOnlyLockOf,
|
|
44
44
|
readOnlyRefusal
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-3P4LUGXI.js";
|
|
46
46
|
import {
|
|
47
47
|
setupPermissionCeiling
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-4HZRZDMC.js";
|
|
49
49
|
import {
|
|
50
50
|
CEILING_KEY,
|
|
51
51
|
DEFAULT_PERMISSIONS,
|
|
52
52
|
LEVELS,
|
|
53
53
|
keyForCommand,
|
|
54
54
|
levelFor
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-NKFRV2LB.js";
|
|
56
56
|
import {
|
|
57
57
|
MEETING_RESULT_ENTITIES
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-UOL4ILXT.js";
|
|
59
59
|
import {
|
|
60
60
|
CliError,
|
|
61
61
|
array,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/render/messages.js
|
|
16
16
|
import { styleText } from "node:util";
|
|
17
17
|
var TIME_WIDTH = 8;
|
|
18
18
|
var INDENT = " ".repeat(TIME_WIDTH + 2);
|
|
@@ -119,9 +119,12 @@ var attachmentLines = /* @__PURE__ */ __name((attachments, paint, options) => {
|
|
|
119
119
|
let number = 0;
|
|
120
120
|
const keyboard = attachments.flatMap((attachment) => attachment.buttons ?? []).map((row) => paint("dim", row.map((button) => link(`[${++number} ${singleLine(button.text)}]`, button.url)).join(" ")));
|
|
121
121
|
const polls = attachments.flatMap((attachment) => attachment.poll ? pollLines(attachment.poll) : []);
|
|
122
|
+
const cards = attachments.flatMap(({ contact }) => contact ? [
|
|
123
|
+
paint("dim", `\u{1F464} ${[contact.name, contact.phone].flatMap((part) => part ? [singleLine(part)] : []).join(" \xB7 ")}`)
|
|
124
|
+
] : []);
|
|
122
125
|
const groups = /* @__PURE__ */ new Map();
|
|
123
126
|
for (const attachment of attachments) {
|
|
124
|
-
if (attachment.buttons || attachment.poll)
|
|
127
|
+
if (attachment.buttons || attachment.poll || attachment.contact)
|
|
125
128
|
continue;
|
|
126
129
|
const key = singleLine(attachment.name ?? attachment.title ?? attachment.kind);
|
|
127
130
|
groups.set(key, [...groups.get(key) ?? [], attachment]);
|
|
@@ -134,7 +137,7 @@ var attachmentLines = /* @__PURE__ */ __name((attachments, paint, options) => {
|
|
|
134
137
|
const each = same.map((attachment, index) => link(String(index + 1), attachment.url)).join(" ");
|
|
135
138
|
return paint("dim", `\u{1F4CE} ${label} \xD7${same.length} ${each}`);
|
|
136
139
|
});
|
|
137
|
-
return [...polls, ...files, ...keyboard];
|
|
140
|
+
return [...polls, ...cards, ...files, ...keyboard];
|
|
138
141
|
}, "attachmentLines");
|
|
139
142
|
var pollLines = /* @__PURE__ */ __name((poll) => {
|
|
140
143
|
const kind = [
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
__name
|
|
41
41
|
} from "./chunk-ZVVMGPBJ.js";
|
|
42
42
|
|
|
43
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
43
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
44
44
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
45
45
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
46
46
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -77,7 +77,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text9) => {
|
|
|
77
77
|
}, "parseMeetingReference");
|
|
78
78
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text9) => formatMeetingReference(parseMeetingReference(text9)), "canonicalMeetingReference");
|
|
79
79
|
|
|
80
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
80
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
81
81
|
var text = string();
|
|
82
82
|
var count = pipe(number(), integer(), minValue(0));
|
|
83
83
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -142,7 +142,7 @@ var MEETING_QUERY = {
|
|
|
142
142
|
})
|
|
143
143
|
};
|
|
144
144
|
|
|
145
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
145
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
146
146
|
var text2 = string();
|
|
147
147
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
148
148
|
var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
@@ -369,7 +369,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
369
369
|
};
|
|
370
370
|
}, "meetingHitsList");
|
|
371
371
|
|
|
372
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
372
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
373
373
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
374
374
|
const parsed = urlOf(url);
|
|
375
375
|
if (!parsed)
|
|
@@ -403,7 +403,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
403
403
|
}
|
|
404
404
|
}, "urlOf");
|
|
405
405
|
|
|
406
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
406
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
407
407
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
408
408
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
409
409
|
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 +436,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
436
436
|
return kept;
|
|
437
437
|
}, "entryMetadata");
|
|
438
438
|
|
|
439
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
439
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
440
440
|
import { createHash } from "node:crypto";
|
|
441
441
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
442
442
|
reference: cue2.reference,
|
|
@@ -450,7 +450,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
450
450
|
text: cue2.text
|
|
451
451
|
})).digest("hex"), "meetingCueFingerprint");
|
|
452
452
|
|
|
453
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
453
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
454
454
|
var EVENT_QUERY = defineQuery({
|
|
455
455
|
entity: "event",
|
|
456
456
|
backend: "sql",
|
|
@@ -466,7 +466,57 @@ var EVENT_QUERY = defineQuery({
|
|
|
466
466
|
]
|
|
467
467
|
});
|
|
468
468
|
|
|
469
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
469
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
470
|
+
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
471
|
+
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
472
|
+
if (entry.recurrenceEndsAt !== null)
|
|
473
|
+
return entry.recurrenceEndsAt;
|
|
474
|
+
const rule = entry.recurrence?.find((line2) => /^RRULE:/iu.test(line2));
|
|
475
|
+
const until = rule === void 0 ? null : UNTIL.exec(rule.slice("RRULE:".length));
|
|
476
|
+
if (!until)
|
|
477
|
+
return Number.POSITIVE_INFINITY;
|
|
478
|
+
const [, year, month, day2, hour = "23", minute = "59", second = "59"] = until;
|
|
479
|
+
return Date.UTC(Number(year), Number(month) - 1, Number(day2), Number(hour), Number(minute), Number(second)) + 864e5;
|
|
480
|
+
}, "seriesEnd");
|
|
481
|
+
var entryInWindow = /* @__PURE__ */ __name((entry, window2) => {
|
|
482
|
+
if (entry.kind === "occurrence" && !entry.exception)
|
|
483
|
+
return entry.originalStartsAt !== null && entry.originalStartsAt >= window2.from && entry.originalStartsAt < window2.to;
|
|
484
|
+
const start = entry.startsAt ?? (entry.kind === "occurrence" ? entry.originalStartsAt : null);
|
|
485
|
+
if (start === null || start >= window2.to)
|
|
486
|
+
return false;
|
|
487
|
+
if (entry.kind === "series")
|
|
488
|
+
return seriesEnd(entry) >= window2.from;
|
|
489
|
+
return Math.max(entry.endsAt ?? start, start + 1) > window2.from;
|
|
490
|
+
}, "entryInWindow");
|
|
491
|
+
var eventChange = /* @__PURE__ */ __name((event2, entries, revisions, since) => {
|
|
492
|
+
const after = /* @__PURE__ */ __name((entryId) => revisions.filter((one) => one.entryId === entryId && one.createdAt >= since).sort((a, b) => a.createdAt - b.createdAt), "after");
|
|
493
|
+
if (event2.status === "cancelled" || event2.sourceDeletedAt !== null) {
|
|
494
|
+
const times = entries.flatMap((entry) => [
|
|
495
|
+
...entry.deletedAt !== null && entry.deletedAt >= since ? [entry.deletedAt] : [],
|
|
496
|
+
...entry.status === "cancelled" ? after(entry.id).filter((one) => one.status !== "cancelled").map(({ createdAt }) => createdAt) : []
|
|
497
|
+
]);
|
|
498
|
+
if (times.length)
|
|
499
|
+
return { change: "cancelled", at: Math.max(...times) };
|
|
500
|
+
}
|
|
501
|
+
const first = Math.min(...entries.map(({ createdAt }) => createdAt));
|
|
502
|
+
if (entries.length && first >= since)
|
|
503
|
+
return { change: "new", at: first };
|
|
504
|
+
for (const entry of entries) {
|
|
505
|
+
if (entry.deletedAt !== null || entry.status === "cancelled")
|
|
506
|
+
continue;
|
|
507
|
+
const changes = after(entry.id);
|
|
508
|
+
const [was] = changes;
|
|
509
|
+
if (was && (was.startsAt !== entry.startsAt || was.endsAt !== entry.endsAt))
|
|
510
|
+
return {
|
|
511
|
+
change: "moved",
|
|
512
|
+
at: changes.at(-1).createdAt,
|
|
513
|
+
was: { startsAt: was.startsAt, endsAt: was.endsAt }
|
|
514
|
+
};
|
|
515
|
+
}
|
|
516
|
+
return null;
|
|
517
|
+
}, "eventChange");
|
|
518
|
+
|
|
519
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
470
520
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
|
|
471
521
|
const current = await store.meeting(details.meeting.id);
|
|
472
522
|
if (!current)
|
|
@@ -509,7 +559,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
509
559
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
510
560
|
}, "linkEvent");
|
|
511
561
|
|
|
512
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
562
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
513
563
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text9) => text9.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
514
564
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
515
565
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -533,7 +583,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
533
583
|
};
|
|
534
584
|
}, "validateMeetingParticipantSearch");
|
|
535
585
|
|
|
536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
586
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
537
587
|
var MeetingError = class extends CliError {
|
|
538
588
|
static {
|
|
539
589
|
__name(this, "MeetingError");
|
|
@@ -566,7 +616,11 @@ var meetingShow = /* @__PURE__ */ __name(async (store, id4, accountId) => {
|
|
|
566
616
|
throw new MeetingError("not_found", "meeting not found");
|
|
567
617
|
return details;
|
|
568
618
|
}, "meetingShow");
|
|
569
|
-
var listed = /* @__PURE__ */ __name((items
|
|
619
|
+
var listed = /* @__PURE__ */ __name((items, page = { limit: items.length, hasMore: false }) => ({
|
|
620
|
+
items,
|
|
621
|
+
page: 1,
|
|
622
|
+
...page
|
|
623
|
+
}), "listed");
|
|
570
624
|
var meetingPeople = /* @__PURE__ */ __name(async (store, query, accountId, options = {}) => {
|
|
571
625
|
if (accountId === void 0)
|
|
572
626
|
validateMeetingParticipantQuery(query);
|
|
@@ -661,7 +715,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id4, accountId)
|
|
|
661
715
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
662
716
|
}, "meetingSummaryAnswer");
|
|
663
717
|
|
|
664
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
718
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
665
719
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
666
720
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
667
721
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -757,10 +811,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id4, options) => {
|
|
|
757
811
|
};
|
|
758
812
|
}, "exportMeeting");
|
|
759
813
|
|
|
760
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
814
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
761
815
|
import { createHash as createHash2 } from "node:crypto";
|
|
762
816
|
|
|
763
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
817
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/provider.js
|
|
764
818
|
var snapshotMeetingScope = /* @__PURE__ */ __name((scope3) => {
|
|
765
819
|
const provider = scope3?.provider;
|
|
766
820
|
const account = scope3?.account;
|
|
@@ -769,7 +823,7 @@ var snapshotMeetingScope = /* @__PURE__ */ __name((scope3) => {
|
|
|
769
823
|
return Object.freeze({ provider, account });
|
|
770
824
|
}, "snapshotMeetingScope");
|
|
771
825
|
|
|
772
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
773
827
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
774
828
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
775
829
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone`);
|
|
@@ -780,7 +834,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
780
834
|
return new Date(value).toISOString();
|
|
781
835
|
}, "meetingTimestamp");
|
|
782
836
|
|
|
783
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
837
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
784
838
|
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
785
839
|
if (typeof value !== "string" || !value.trim())
|
|
786
840
|
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
@@ -915,7 +969,7 @@ var createMeetingManagement = /* @__PURE__ */ __name((scope3, ports) => {
|
|
|
915
969
|
};
|
|
916
970
|
}, "createMeetingManagement");
|
|
917
971
|
|
|
918
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
972
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/meeting-context.js
|
|
919
973
|
var MEETING_FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
920
974
|
var id = /* @__PURE__ */ __name((value) => {
|
|
921
975
|
if (typeof value !== "number" || !Number.isSafeInteger(value) || value < 1)
|
|
@@ -1038,7 +1092,7 @@ var createMeetingContext = /* @__PURE__ */ __name((scope3, accountId, ports) =>
|
|
|
1038
1092
|
};
|
|
1039
1093
|
}, "createMeetingContext");
|
|
1040
1094
|
|
|
1041
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1095
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1042
1096
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
1043
1097
|
var invalid2 = /* @__PURE__ */ __name((message) => {
|
|
1044
1098
|
throw new CliError("validation_error", message);
|
|
@@ -1139,7 +1193,7 @@ var validateFindings = /* @__PURE__ */ __name((input, rules) => {
|
|
|
1139
1193
|
}, "validateFindings");
|
|
1140
1194
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
1141
1195
|
|
|
1142
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1196
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
1143
1197
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
1144
1198
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
1145
1199
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -1150,7 +1204,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
1150
1204
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
1151
1205
|
var meetingFindingFingerprint = findingFingerprint;
|
|
1152
1206
|
|
|
1153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1207
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
1154
1208
|
var context = {
|
|
1155
1209
|
command: "search meetings",
|
|
1156
1210
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -1269,7 +1323,7 @@ var meetingWordsQuery = /* @__PURE__ */ __name((text9) => {
|
|
|
1269
1323
|
return { version: 1, language: "lucene-v1", root };
|
|
1270
1324
|
}, "meetingWordsQuery");
|
|
1271
1325
|
|
|
1272
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1326
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
1273
1327
|
var contentHash = /* @__PURE__ */ __name(async (text9) => {
|
|
1274
1328
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text9));
|
|
1275
1329
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -1306,7 +1360,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
1306
1360
|
return time;
|
|
1307
1361
|
}, "timestamp");
|
|
1308
1362
|
|
|
1309
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1363
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
1310
1364
|
var TranscriptTextError = class extends Error {
|
|
1311
1365
|
static {
|
|
1312
1366
|
__name(this, "TranscriptTextError");
|
|
@@ -1361,7 +1415,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
1361
1415
|
return { header, lines };
|
|
1362
1416
|
}, "parseTranscriptText");
|
|
1363
1417
|
|
|
1364
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
1365
1419
|
var VttError = class extends Error {
|
|
1366
1420
|
static {
|
|
1367
1421
|
__name(this, "VttError");
|
|
@@ -1413,7 +1467,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
1413
1467
|
return cues;
|
|
1414
1468
|
}, "parseVtt");
|
|
1415
1469
|
|
|
1416
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1470
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
1417
1471
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
1418
1472
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
1419
1473
|
for (const file of files) {
|
|
@@ -1446,10 +1500,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
1446
1500
|
return report;
|
|
1447
1501
|
}, "importFiles");
|
|
1448
1502
|
|
|
1449
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1503
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
1450
1504
|
var CHAT_MESSAGES_READ = 1e5;
|
|
1451
1505
|
|
|
1452
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1506
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
1453
1507
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
1454
1508
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
1455
1509
|
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)))
|
|
@@ -1462,7 +1516,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
1462
1516
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
1463
1517
|
}, "validateMeetingPassage");
|
|
1464
1518
|
|
|
1465
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1519
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
1466
1520
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
1467
1521
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
1468
1522
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -1487,7 +1541,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
1487
1541
|
return { ...input, limit, maxReadBytes };
|
|
1488
1542
|
}, "validateMeetingPreparationContext");
|
|
1489
1543
|
|
|
1490
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1544
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
1491
1545
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
1492
1546
|
var id2 = pipe(string(), minLength(1));
|
|
1493
1547
|
var meetingProjectEvidence = strictObject({
|
|
@@ -1608,7 +1662,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
1608
1662
|
};
|
|
1609
1663
|
}, "meetingProjectEvidenceAnswer");
|
|
1610
1664
|
|
|
1611
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1665
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
1612
1666
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
1613
1667
|
const integer5 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
1614
1668
|
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) || [
|
|
@@ -1628,7 +1682,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
1628
1682
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
1629
1683
|
}, "validateMeetingHitSearch");
|
|
1630
1684
|
|
|
1631
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1685
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
1632
1686
|
var ids = {
|
|
1633
1687
|
meeting_id: "meetingId",
|
|
1634
1688
|
identity_id: "participantIdentityId",
|
|
@@ -1719,7 +1773,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
|
|
|
1719
1773
|
return { project: project.trim(), options, query: frozen.join(" AND ") };
|
|
1720
1774
|
}, "prepareMeetingProjectEvidence");
|
|
1721
1775
|
|
|
1722
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
1723
1777
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
|
|
1724
1778
|
const prepared = prepareMeetingProjectEvidence(project, request, now);
|
|
1725
1779
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -1727,7 +1781,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
|
|
|
1727
1781
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
1728
1782
|
}, "readMeetingProjectEvidence");
|
|
1729
1783
|
|
|
1730
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1784
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
1731
1785
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
1732
1786
|
const { identityExternalId, ...fields3 } = p;
|
|
1733
1787
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -1866,7 +1920,7 @@ unlinked`, format)],
|
|
|
1866
1920
|
return report;
|
|
1867
1921
|
}, "pull");
|
|
1868
1922
|
|
|
1869
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1923
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
1870
1924
|
var text5 = string();
|
|
1871
1925
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
1872
1926
|
var id3 = pipe(number(), integer(), minValue(1));
|
|
@@ -2080,10 +2134,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
2080
2134
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
2081
2135
|
}), "eventItem");
|
|
2082
2136
|
|
|
2083
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2137
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/recording-schedule.js
|
|
2084
2138
|
import { createHash as createHash3 } from "node:crypto";
|
|
2085
2139
|
|
|
2086
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/recording-sync.js
|
|
2087
2141
|
var RecordingSyncError = class extends CliError {
|
|
2088
2142
|
static {
|
|
2089
2143
|
__name(this, "RecordingSyncError");
|
|
@@ -2404,7 +2458,7 @@ async function* syncRecordingArchive(catalog, input) {
|
|
|
2404
2458
|
}
|
|
2405
2459
|
__name(syncRecordingArchive, "syncRecordingArchive");
|
|
2406
2460
|
|
|
2407
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2461
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/recording-schedule.js
|
|
2408
2462
|
var fail2 = /* @__PURE__ */ __name((message) => {
|
|
2409
2463
|
throw new CliError("validation_error", message);
|
|
2410
2464
|
}, "fail");
|
|
@@ -2511,7 +2565,7 @@ var installRecordingArchiveSchedule = /* @__PURE__ */ __name(async (scheduler, v
|
|
|
2511
2565
|
return { applied: true, backend, schedule };
|
|
2512
2566
|
}, "installRecordingArchiveSchedule");
|
|
2513
2567
|
|
|
2514
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2568
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
2515
2569
|
var RecordingTransferError = class extends CliError {
|
|
2516
2570
|
static {
|
|
2517
2571
|
__name(this, "RecordingTransferError");
|
|
@@ -2676,7 +2730,7 @@ var transferRecording = /* @__PURE__ */ __name(async (source, storage, options)
|
|
|
2676
2730
|
}
|
|
2677
2731
|
}, "transferRecording");
|
|
2678
2732
|
|
|
2679
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2733
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
2680
2734
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
2681
2735
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2682
2736
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -2706,7 +2760,7 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
2706
2760
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
2707
2761
|
}, "validateMeetingRelatedHistory");
|
|
2708
2762
|
|
|
2709
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2763
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
2710
2764
|
var text8 = string();
|
|
2711
2765
|
var identifier = pipe(text8, minLength(1));
|
|
2712
2766
|
var nullableText2 = nullable(text8);
|
|
@@ -2725,7 +2779,7 @@ var exported = union([
|
|
|
2725
2779
|
strictObject({ meeting_id: identifier, format: picklist(["markdown", "vtt"]), filename: text8, content: text8 }),
|
|
2726
2780
|
strictObject({ meeting_id: identifier, format: picklist(["markdown", "vtt"]), output: text8 })
|
|
2727
2781
|
]);
|
|
2728
|
-
var
|
|
2782
|
+
var eventChange2 = strictObject({
|
|
2729
2783
|
action: literal("event.link"),
|
|
2730
2784
|
event_id: nullable(identifier),
|
|
2731
2785
|
expected_event_id: optional(nullable(identifier))
|
|
@@ -2754,7 +2808,7 @@ var meetingChange = strictObject({
|
|
|
2754
2808
|
scope: scope2,
|
|
2755
2809
|
account_id: identifier,
|
|
2756
2810
|
meeting_id: identifier,
|
|
2757
|
-
change: union([
|
|
2811
|
+
change: union([eventChange2, personChange]),
|
|
2758
2812
|
applied: flag,
|
|
2759
2813
|
result: optional(union([eventResult, personResult]))
|
|
2760
2814
|
});
|
|
@@ -2832,15 +2886,15 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
2832
2886
|
meeting_embedding: embedding
|
|
2833
2887
|
};
|
|
2834
2888
|
|
|
2835
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2889
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
2836
2890
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
2837
2891
|
|
|
2838
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2892
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
2839
2893
|
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.";
|
|
2840
2894
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
2841
2895
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
2842
2896
|
|
|
2843
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2897
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
2844
2898
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
2845
2899
|
input.signal?.throwIfAborted();
|
|
2846
2900
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -2861,10 +2915,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
2861
2915
|
return { ...input, limit, maxReadBytes };
|
|
2862
2916
|
}, "validateMeetingSeriesHistory");
|
|
2863
2917
|
|
|
2864
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2918
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
2865
2919
|
import { createHash as createHash4 } from "node:crypto";
|
|
2866
2920
|
|
|
2867
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2921
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
2868
2922
|
var invalid3 = /* @__PURE__ */ __name((field) => {
|
|
2869
2923
|
throw new CliError("invalid_response", `meeting occurrence ${field} is invalid`);
|
|
2870
2924
|
}, "invalid");
|
|
@@ -2933,7 +2987,7 @@ var readOccurrenceSchedule = /* @__PURE__ */ __name((input, meetingId, limit, ma
|
|
|
2933
2987
|
return result;
|
|
2934
2988
|
}, "readOccurrenceSchedule");
|
|
2935
2989
|
|
|
2936
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2990
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
2937
2991
|
var inventoryHash = /* @__PURE__ */ __name((value) => createHash4("sha256").update(JSON.stringify(value)).digest("hex"), "inventoryHash");
|
|
2938
2992
|
var inventorySize = /* @__PURE__ */ __name((value) => Buffer.byteLength(JSON.stringify(value), "utf8"), "inventorySize");
|
|
2939
2993
|
function invalid4(field, response = false) {
|
|
@@ -3021,7 +3075,7 @@ var inventoryPage = /* @__PURE__ */ __name((scope3, request, page) => {
|
|
|
3021
3075
|
return { items, selection: page.coverage.selection, partial: page.coverage.partial, nextCursor: page.nextCursor };
|
|
3022
3076
|
}, "inventoryPage");
|
|
3023
3077
|
|
|
3024
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3078
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/series-inventory.js
|
|
3025
3079
|
var cancelled3 = /* @__PURE__ */ __name((signal) => {
|
|
3026
3080
|
if (signal?.aborted)
|
|
3027
3081
|
throw new CliError("cancelled", "meeting inventory reading was cancelled");
|
|
@@ -3077,7 +3131,7 @@ var createMeetingSeriesInventoryReader = /* @__PURE__ */ __name((scope3, port) =
|
|
|
3077
3131
|
};
|
|
3078
3132
|
}, "createMeetingSeriesInventoryReader");
|
|
3079
3133
|
|
|
3080
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3134
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
3081
3135
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
3082
3136
|
const zone = timeZone ?? "UTC";
|
|
3083
3137
|
try {
|
|
@@ -3156,7 +3210,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
3156
3210
|
};
|
|
3157
3211
|
}, "aggregateMeetingStats");
|
|
3158
3212
|
|
|
3159
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3213
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/transcription.js
|
|
3160
3214
|
var bounded = /* @__PURE__ */ __name((value, max, name) => {
|
|
3161
3215
|
if (!Number.isSafeInteger(value) || value < 1 || value > max)
|
|
3162
3216
|
throw new CliError("validation_error", `${name} must be an integer from 1 to ${max}`);
|
|
@@ -3294,7 +3348,7 @@ var transcribeMeeting = /* @__PURE__ */ __name(async (source, store, target, opt
|
|
|
3294
3348
|
};
|
|
3295
3349
|
}, "transcribeMeeting");
|
|
3296
3350
|
|
|
3297
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3351
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/upcoming.js
|
|
3298
3352
|
var cancelled5 = /* @__PURE__ */ __name((signal) => {
|
|
3299
3353
|
if (!signal?.aborted)
|
|
3300
3354
|
return;
|
|
@@ -3364,7 +3418,7 @@ var createUpcomingMeetingReader = /* @__PURE__ */ __name((scope3, port) => {
|
|
|
3364
3418
|
};
|
|
3365
3419
|
}, "createUpcomingMeetingReader");
|
|
3366
3420
|
|
|
3367
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3421
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/watch.js
|
|
3368
3422
|
var sleep = /* @__PURE__ */ __name((milliseconds, signal) => new Promise((resolve) => {
|
|
3369
3423
|
const finish = /* @__PURE__ */ __name(() => {
|
|
3370
3424
|
clearTimeout(timer);
|
|
@@ -3431,6 +3485,8 @@ export {
|
|
|
3431
3485
|
entryMetadata,
|
|
3432
3486
|
meetingCueFingerprint,
|
|
3433
3487
|
EVENT_QUERY,
|
|
3488
|
+
entryInWindow,
|
|
3489
|
+
eventChange,
|
|
3434
3490
|
linkEvent,
|
|
3435
3491
|
normalizeMeetingParticipantQuery,
|
|
3436
3492
|
validateMeetingParticipantSearch,
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
unit
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-J3N2LL37.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-YIMI6O7R.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
14
14
|
import { setTimeout } from "node:timers/promises";
|
|
15
15
|
var OPENAI_URL = "https://api.openai.com/v1";
|
|
16
16
|
var OPENAI_MODELS = {
|