@wirecat/drive-cli 0.70.0 → 0.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-FW3GK3QO.js → all-profiles-3QJG2NAN.js} +13 -13
- package/dist/bundle/{anthropic-QVKJT3II.js → anthropic-PSWTEU6G.js} +8 -8
- package/dist/bundle/{app-server-QU73RD5R.js → app-server-PVTA6ABR.js} +62 -62
- package/dist/bundle/{bun-5XCD5CBB.js → bun-LU5LP3JI.js} +2 -2
- package/dist/bundle/{bun-sqlite-TIGSVNSV.js → bun-sqlite-PYMKLBRU.js} +9 -9
- package/dist/bundle/{chunk-BFKFKDPC.js → chunk-22QQUKWA.js} +1 -1
- package/dist/bundle/{chunk-RLNZ7NX5.js → chunk-26DHFMGZ.js} +2 -2
- package/dist/bundle/{chunk-RHSBXOQM.js → chunk-2BVVU7GG.js} +1 -1
- package/dist/bundle/{chunk-ILAQIBEO.js → chunk-2LHAVY4U.js} +1 -1
- package/dist/bundle/{chunk-GAHIHE4K.js → chunk-2PUNKUYJ.js} +3177 -3043
- package/dist/bundle/{chunk-DHX27E5M.js → chunk-2UUWXPOB.js} +3 -3
- package/dist/bundle/{chunk-RCTOWLCD.js → chunk-35SCQ4VI.js} +26 -26
- package/dist/bundle/{chunk-ZCXWV4XO.js → chunk-3EBBLKIT.js} +4 -4
- package/dist/bundle/{chunk-SONPLYV7.js → chunk-3N2OFXB5.js} +5 -5
- package/dist/bundle/{chunk-KSJAFMU5.js → chunk-3UGYFXH6.js} +42 -19
- package/dist/bundle/{chunk-HK225DAG.js → chunk-4HWJOU7N.js} +1 -1
- package/dist/bundle/{chunk-6DPOWBKA.js → chunk-4PA4DHYV.js} +6 -6
- package/dist/bundle/{chunk-54NDYVZA.js → chunk-4QNW4NK6.js} +1 -1
- package/dist/bundle/{chunk-2SBC4DVV.js → chunk-6SJOTNHF.js} +4 -4
- package/dist/bundle/{chunk-VVN6GHAZ.js → chunk-6TNNT2MQ.js} +223 -126
- package/dist/bundle/{chunk-5JTB4URG.js → chunk-6W763DZN.js} +12 -12
- package/dist/bundle/{chunk-FVTKFIQH.js → chunk-6XFIITOG.js} +383 -349
- package/dist/bundle/{chunk-54BQWRJL.js → chunk-72C4YOCH.js} +7 -7
- package/dist/bundle/{chunk-3UWRAIWA.js → chunk-7PDHGZN4.js} +4 -4
- package/dist/bundle/{chunk-REM5WHHQ.js → chunk-ACUAV6VX.js} +56 -56
- package/dist/bundle/{chunk-IGNIUDI3.js → chunk-ASMMG72J.js} +40 -33
- package/dist/bundle/{chunk-DVI72ZQG.js → chunk-B5KSXHJ7.js} +1 -1
- package/dist/bundle/{chunk-6BMTW5A6.js → chunk-BKSQBBYG.js} +7 -7
- package/dist/bundle/{chunk-HRATXUFH.js → chunk-CJLVYIOP.js} +21 -21
- package/dist/bundle/{chunk-RQNRYF6D.js → chunk-COJSWDNU.js} +3 -3
- package/dist/bundle/{chunk-FONIFRYI.js → chunk-COOOO5B3.js} +4 -4
- package/dist/bundle/{chunk-EG62WVR2.js → chunk-D5TGYUVU.js} +6 -6
- package/dist/bundle/{chunk-LMJBQFW6.js → chunk-EOEU3AZN.js} +6 -6
- package/dist/bundle/{chunk-GV5DGHSA.js → chunk-FCS26CYQ.js} +4 -4
- package/dist/bundle/{chunk-BD2K2ONK.js → chunk-FJH7DJWK.js} +4 -4
- package/dist/bundle/{chunk-FADAOLGB.js → chunk-FP54WSIR.js} +4 -4
- package/dist/bundle/{chunk-PAPY6Q6H.js → chunk-FT3LN3HP.js} +1 -1
- package/dist/bundle/{chunk-WJK6KTCS.js → chunk-GBKNJWOZ.js} +8 -8
- package/dist/bundle/{chunk-GJZSVSV3.js → chunk-GOWXXYEF.js} +2 -2
- package/dist/bundle/{chunk-LINBDWJK.js → chunk-GPQ44Y2R.js} +2 -2
- package/dist/bundle/{chunk-3AHBZP33.js → chunk-GZ2D4KXG.js} +8 -8
- package/dist/bundle/{chunk-ZHZYGY5R.js → chunk-HKY7X6NY.js} +4 -4
- package/dist/bundle/{chunk-GPDPEHYX.js → chunk-HL52XXZX.js} +1 -1
- package/dist/bundle/{chunk-BBFXQPKD.js → chunk-HMS6EEQL.js} +3 -3
- package/dist/bundle/{chunk-FYPW7NMH.js → chunk-I4RWW3UD.js} +49 -4
- package/dist/bundle/{chunk-HWUPU6WX.js → chunk-ICDCAQ6K.js} +8 -8
- package/dist/bundle/{chunk-NP7LJATI.js → chunk-J5Q5FS2N.js} +17 -22
- package/dist/bundle/{chunk-I7YSHUPW.js → chunk-JDV7HNNQ.js} +13 -13
- package/dist/bundle/{chunk-BBRMDMIR.js → chunk-JZHBZOJR.js} +3 -3
- package/dist/bundle/{chunk-QBAOIMVB.js → chunk-KGERXYTV.js} +1 -1
- package/dist/bundle/{chunk-7IBENBCK.js → chunk-KGYVHPGE.js} +2 -2
- package/dist/bundle/{chunk-ABZ2NYDT.js → chunk-KYKW2W6X.js} +1 -1
- package/dist/bundle/{chunk-AV5UKJZM.js → chunk-L46C6HQ7.js} +12 -12
- package/dist/bundle/{chunk-3TCMANIM.js → chunk-LXKYKRHD.js} +11 -11
- package/dist/bundle/{chunk-DVVUJ254.js → chunk-MIA7P6FZ.js} +2 -2
- package/dist/bundle/{chunk-PR7XD2DI.js → chunk-MNLL5YLM.js} +2 -2
- package/dist/bundle/{chunk-Q5C6YKAY.js → chunk-OF422U5D.js} +10 -10
- package/dist/bundle/{chunk-HHAZ6DCY.js → chunk-OJSBWP3F.js} +6 -6
- package/dist/bundle/{chunk-EDO5LZVF.js → chunk-P7CUM5IB.js} +1 -1
- package/dist/bundle/{chunk-P7PLKNPX.js → chunk-PRW6SYA3.js} +157 -70
- package/dist/bundle/{chunk-7QSRODXM.js → chunk-Q7DOMFJ4.js} +6 -6
- package/dist/bundle/{chunk-HYXXMSVD.js → chunk-QETR5HIZ.js} +503 -416
- package/dist/bundle/{chunk-YZPE72GE.js → chunk-QFR2PNJN.js} +12 -12
- package/dist/bundle/{chunk-MXNQZAJQ.js → chunk-QNRRK3CN.js} +2 -2
- package/dist/bundle/{chunk-PN4JYURZ.js → chunk-QXC6IEH6.js} +45 -45
- package/dist/bundle/{chunk-WWE5GO6G.js → chunk-RESDD3Q4.js} +3 -3
- package/dist/bundle/{chunk-YCL3SK4T.js → chunk-RJOQH5YY.js} +39 -38
- package/dist/bundle/{chunk-7C5KENNU.js → chunk-RWDKMU74.js} +3 -3
- package/dist/bundle/{chunk-GK3BJMGK.js → chunk-SAKO3P4H.js} +1 -1
- package/dist/bundle/{chunk-FN3RXBO7.js → chunk-SDKQNOL5.js} +6 -6
- package/dist/bundle/{chunk-TGS5VPJD.js → chunk-SERXSCN3.js} +167 -206
- package/dist/bundle/{chunk-3UZ4OH22.js → chunk-TAFHYHKA.js} +18 -116
- package/dist/bundle/{chunk-YRUR3E3E.js → chunk-TAUBRNC5.js} +35 -35
- package/dist/bundle/{chunk-P77FL6RY.js → chunk-UDMNY63V.js} +20 -17
- package/dist/bundle/{chunk-IFTX7AQU.js → chunk-UTO2GO4P.js} +5 -5
- package/dist/bundle/{chunk-3CHW7JGR.js → chunk-WVDCCYS3.js} +17 -17
- package/dist/bundle/{chunk-OY7TNUEC.js → chunk-X4TIMMKJ.js} +1 -1
- package/dist/bundle/{chunk-TNKQDS5A.js → chunk-XF4EXO2C.js} +6 -6
- package/dist/bundle/{chunk-BXPC5TFG.js → chunk-XMMFBPGC.js} +2 -2
- package/dist/bundle/{chunk-FCSHWUMW.js → chunk-Y2NWGNUB.js} +5 -5
- package/dist/bundle/{chunk-ML3R2UHV.js → chunk-YJIGGUPI.js} +4 -4
- package/dist/bundle/{chunk-DR57KDAY.js → chunk-YMJ6IDGT.js} +6 -6
- package/dist/bundle/{chunk-F5KJWRF5.js → chunk-YPFWNVHV.js} +3 -3
- package/dist/bundle/{chunk-XZBA6FVH.js → chunk-YPNWIB6H.js} +3 -3
- package/dist/bundle/{chunk-GA3URWIF.js → chunk-YVI5SQPY.js} +1 -1
- package/dist/bundle/{chunk-T5D4OGDC.js → chunk-Z3KUSRCF.js} +2 -2
- package/dist/bundle/{chunk-4WK26MPY.js → chunk-Z56QFOBR.js} +1 -1
- package/dist/bundle/{chunk-7DJNURKV.js → chunk-ZCR3IRZ2.js} +8 -8
- package/dist/bundle/{chunk-XOL346TJ.js → chunk-ZM63SUHG.js} +2 -2
- package/dist/bundle/{chunk-66PL7P4C.js → chunk-ZZ32DXTH.js} +1 -1
- package/dist/bundle/{cli-K4D4DIGQ.js → cli-556DERZL.js} +68 -68
- package/dist/bundle/command-contract-VRTOAV6W.js +43 -0
- package/dist/bundle/{command-server-entry-WREK3QBB.js → command-server-entry-AYLGNZWD.js} +33 -33
- package/dist/bundle/{decode-SEETPKBH.js → decode-QU24MWMN.js} +8 -8
- package/dist/bundle/{dispatch-SQCEURVK.js → dispatch-4KODNOXV.js} +9 -9
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-WZ5RKFCX.js → echarts-BXX4OQWC.js} +2 -2
- package/dist/bundle/{embed-B2UCRZZR.js → embed-KG27KG3D.js} +9 -9
- package/dist/bundle/{embedder-4R6Z7G7L.js → embedder-IPAVUQUV.js} +12 -12
- package/dist/bundle/entry-MVXQETWS.js +25 -0
- package/dist/bundle/{failure-CYNXH3RQ.js → failure-ESL7ETL4.js} +4 -4
- package/dist/bundle/first-run-4UVLW2WR.js +31 -0
- package/dist/bundle/first-screen-JAKAIINI.js +41 -0
- package/dist/bundle/google-22NXXJX5.js +45 -0
- package/dist/bundle/{google-api-SAND2F7L.js → google-api-VCDBSNOW.js} +70 -70
- package/dist/bundle/grants-MQMTVCRQ.js +118 -0
- package/dist/bundle/{identity-JVVGS4U6.js → identity-LOWMVGZY.js} +6 -6
- package/dist/bundle/{instructions-JSMTSB22.js → instructions-2VECIDXF.js} +1 -1
- package/dist/bundle/{login-6WG3YBDU.js → login-7GBONT7V.js} +76 -76
- package/dist/bundle/{mcp-VFIOZDVY.js → mcp-O6ACR2DX.js} +2 -2
- package/dist/bundle/meeting-combined-LVP4AZKA.js +27 -0
- package/dist/bundle/meeting-model-RAY5XDXZ.js +29 -0
- package/dist/bundle/{meeting-semantic-5U7JQCFF.js → meeting-semantic-G7PFOKU7.js} +10 -10
- package/dist/bundle/{node-VJMVHOWD.js → node-MPEQSFI3.js} +2 -2
- package/dist/bundle/{node-sqlite-DCNT3HVE.js → node-sqlite-OLQMAYB4.js} +10 -10
- package/dist/bundle/oauth-SGH2I2BY.js +22 -0
- package/dist/bundle/{open-NFOEHVW7.js → open-OXTE672W.js} +8 -8
- package/dist/bundle/{openai-D47WY7EC.js → openai-EB3TPIZY.js} +19 -19
- package/dist/bundle/{process-Q2FRU5VA.js → process-F6TKXWWA.js} +1 -1
- package/dist/bundle/{program-T2AJJQEM.js → program-4IFDZ7FM.js} +142 -125
- package/dist/bundle/{prompt-YJSDABXN.js → prompt-F5RRHPN2.js} +8 -8
- package/dist/bundle/{reasons-WEHPCSJX.js → reasons-UORHJDHK.js} +5 -5
- package/dist/bundle/{recognize-6OBEIEB3.js → recognize-DAVNZND3.js} +7 -7
- package/dist/bundle/{remote-3SL2QJ7T.js → remote-D5EYYIAU.js} +13 -13
- package/dist/bundle/{rerank-L6F5SLIB.js → rerank-CND2GVLZ.js} +10 -10
- package/dist/bundle/{serve-GYSWIWH4.js → serve-ZHSPUIGX.js} +12 -12
- package/dist/bundle/server-DUVJWP3Q.js +80 -0
- package/dist/bundle/{server-GWWP3RIT.js → server-YMAK4LHC.js} +54 -54
- package/dist/bundle/{services-BDQBRXT5.js → services-ZILSFJ6E.js} +47 -47
- package/dist/bundle/{sqlite-runtime-ZSZGAUYB.js → sqlite-runtime-S5VPMZQH.js} +9 -9
- package/dist/bundle/{start-BJ275RUK.js → start-CR6X25RT.js} +7 -7
- package/dist/bundle/{state-HLNGFI2T.js → state-YFPHVIIJ.js} +9 -9
- package/dist/bundle/{store-OSRTGYGI.js → store-CL4ZJZRI.js} +23 -23
- package/dist/bundle/{store-I43KZNJW.js → store-UODRT6X4.js} +25 -25
- package/dist/bundle/store-maintenance-command-DY5XIBWR.js +72 -0
- package/dist/bundle/tokens-AF7QOFOF.js +118 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +2 -1
- package/dist/config.js.map +1 -1
- package/dist/sync.d.ts.map +1 -1
- package/dist/sync.js +1 -2
- package/dist/sync.js.map +1 -1
- package/dist/transcripts.d.ts +0 -6
- package/dist/transcripts.d.ts.map +1 -1
- package/dist/transcripts.js +0 -13
- package/dist/transcripts.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/command-contract-V3F452QI.js +0 -43
- package/dist/bundle/entry-ORZYRJ5N.js +0 -25
- package/dist/bundle/first-run-KAKA6KBY.js +0 -31
- package/dist/bundle/first-screen-R645UHRH.js +0 -41
- package/dist/bundle/google-BSO3YB7N.js +0 -45
- package/dist/bundle/grants-PLNFYARD.js +0 -118
- package/dist/bundle/meeting-combined-SUKMFK3F.js +0 -27
- package/dist/bundle/meeting-model-S4YGKIFI.js +0 -29
- package/dist/bundle/oauth-KCMNQ3ZP.js +0 -22
- package/dist/bundle/server-BI46BSRE.js +0 -80
- package/dist/bundle/store-maintenance-command-FO7LEVSL.js +0 -72
- package/dist/bundle/tokens-DB7O7QNB.js +0 -118
- /package/dist/bundle/{chunk-ZI3YTXSF.js → chunk-VKE77B3F.js} +0 -0
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
timezoneOf,
|
|
10
10
|
validateQuery,
|
|
11
11
|
walkQuery
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OF422U5D.js";
|
|
13
13
|
import {
|
|
14
14
|
singleLine,
|
|
15
15
|
visibleControls
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-KYKW2W6X.js";
|
|
17
17
|
import {
|
|
18
18
|
STEPS,
|
|
19
19
|
array,
|
|
@@ -32,21 +32,22 @@ import {
|
|
|
32
32
|
pageSchema,
|
|
33
33
|
picklist,
|
|
34
34
|
pipe,
|
|
35
|
+
record,
|
|
35
36
|
reference,
|
|
36
37
|
safeParse,
|
|
37
38
|
stepOf,
|
|
38
39
|
strictObject,
|
|
39
40
|
string,
|
|
40
41
|
union
|
|
41
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-OJSBWP3F.js";
|
|
42
43
|
import {
|
|
43
44
|
CliError
|
|
44
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-4QNW4NK6.js";
|
|
45
46
|
import {
|
|
46
47
|
__name
|
|
47
48
|
} from "./chunk-ZVVMGPBJ.js";
|
|
48
49
|
|
|
49
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
50
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
50
51
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
51
52
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
52
53
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -83,7 +84,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text7) => {
|
|
|
83
84
|
}, "parseMeetingReference");
|
|
84
85
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text7) => formatMeetingReference(parseMeetingReference(text7)), "canonicalMeetingReference");
|
|
85
86
|
|
|
86
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
87
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/payment.js
|
|
87
88
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
88
89
|
var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
|
|
89
90
|
var PAYMENT_STATES = ["expected", "paid", "cancelled"];
|
|
@@ -177,7 +178,7 @@ var paymentTitle = /* @__PURE__ */ __name((fact) => {
|
|
|
177
178
|
return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
|
|
178
179
|
}, "paymentTitle");
|
|
179
180
|
|
|
180
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
181
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
181
182
|
var context = {
|
|
182
183
|
command: "search meetings",
|
|
183
184
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -299,20 +300,28 @@ var meetingWordsQuery = /* @__PURE__ */ __name((text7) => {
|
|
|
299
300
|
return { version: 1, language: "lucene-v1", root };
|
|
300
301
|
}, "meetingWordsQuery");
|
|
301
302
|
|
|
302
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
303
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
303
304
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
304
305
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
305
306
|
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)))
|
|
306
307
|
throw new CliError("validation_error", "context takes 0\u2013999 surrounding cues, 2\u20134194304 output bytes and a bounded read budget");
|
|
307
308
|
return { before, after, bytes, max_read_bytes };
|
|
308
309
|
}, "meetingHitContextLimits");
|
|
310
|
+
var MEETING_CUE_UNTRUSTED = ["speaker_name", "text"];
|
|
311
|
+
var markedPassage = /* @__PURE__ */ __name((result) => ({
|
|
312
|
+
...result,
|
|
313
|
+
packet: {
|
|
314
|
+
...result.packet,
|
|
315
|
+
items: result.packet.items.map((cue2) => ({ ...cue2, untrusted: [...MEETING_CUE_UNTRUSTED] }))
|
|
316
|
+
}
|
|
317
|
+
}), "markedPassage");
|
|
309
318
|
var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
310
319
|
meetingHitContextLimits(options);
|
|
311
320
|
if (typeof reference2 !== "string" || !reference2.trim() || reference2.length > 200 || options.format !== void 0 && !["json", "text", "markdown"].includes(options.format))
|
|
312
321
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
313
322
|
}, "validateMeetingPassage");
|
|
314
323
|
|
|
315
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
324
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
316
325
|
var text = string();
|
|
317
326
|
var identifier = pipe(text, minLength(1));
|
|
318
327
|
var nullableText = nullable(text);
|
|
@@ -328,7 +337,13 @@ var run = strictObject({
|
|
|
328
337
|
timezone: optional(text)
|
|
329
338
|
});
|
|
330
339
|
var exported = union([
|
|
331
|
-
strictObject({
|
|
340
|
+
strictObject({
|
|
341
|
+
meeting_id: identifier,
|
|
342
|
+
format: picklist(["markdown", "vtt"]),
|
|
343
|
+
filename: text,
|
|
344
|
+
content: text,
|
|
345
|
+
untrusted: optional(array(text))
|
|
346
|
+
}),
|
|
332
347
|
strictObject({ meeting_id: identifier, format: picklist(["markdown", "vtt"]), output: text })
|
|
333
348
|
]);
|
|
334
349
|
var eventChange = strictObject({
|
|
@@ -450,7 +465,8 @@ var managedChange = strictObject({
|
|
|
450
465
|
start_time: optional(text),
|
|
451
466
|
duration_minutes: optional(count),
|
|
452
467
|
timezone: optional(text),
|
|
453
|
-
agenda: optional(text)
|
|
468
|
+
agenda: optional(text),
|
|
469
|
+
settings: optional(record(text, union([text, flag])))
|
|
454
470
|
})),
|
|
455
471
|
applied: flag,
|
|
456
472
|
meeting: optional(strictObject({
|
|
@@ -462,7 +478,8 @@ var managedChange = strictObject({
|
|
|
462
478
|
timezone: nullableText,
|
|
463
479
|
agenda: nullableText,
|
|
464
480
|
join_url: nullableText
|
|
465
|
-
}))
|
|
481
|
+
})),
|
|
482
|
+
untrusted: optional(array(text))
|
|
466
483
|
});
|
|
467
484
|
var invitation = strictObject({ id: identifier, invitation: text, untrusted: optional(array(text)) });
|
|
468
485
|
var MEETING_RESULT_ENTITIES = {
|
|
@@ -476,7 +493,7 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
476
493
|
meeting_repair: repair
|
|
477
494
|
};
|
|
478
495
|
|
|
479
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
496
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/search/service-query.js
|
|
480
497
|
var BACKENDS = ["archive", "server", "both"];
|
|
481
498
|
var MAX_BRANCHES = 64;
|
|
482
499
|
var some = /* @__PURE__ */ __name((value) => value === void 0 ? [] : [value], "some");
|
|
@@ -515,7 +532,7 @@ var RELATIVE_TIME = /^\d+[mhd]$/i;
|
|
|
515
532
|
var OFFSET = /(?:Z|[+-]\d{2}:?\d{2})$/i;
|
|
516
533
|
var readsZone = /* @__PURE__ */ __name((ast, times) => walkQuery(ast.root).some((term) => times.has(term.field) && [term.value, term.upper].some((value) => value !== void 0 && value !== "*" && !RELATIVE_TIME.test(value) && !OFFSET.test(value))), "readsZone");
|
|
517
534
|
|
|
518
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
535
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
519
536
|
var text2 = string();
|
|
520
537
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
521
538
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -605,11 +622,19 @@ var MEETING_QUERY = {
|
|
|
605
622
|
})
|
|
606
623
|
};
|
|
607
624
|
|
|
608
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
625
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/store.js
|
|
609
626
|
var MEETING_DOCUMENT_ROLES = ["transcript", "recording", "notes"];
|
|
627
|
+
var TRANSCRIPT_WORDS = [
|
|
628
|
+
"Transcript",
|
|
629
|
+
"Notes by Gemini",
|
|
630
|
+
"\u0422\u0440\u0430\u043D\u0441\u043A\u0440\u0438\u043F\u0442",
|
|
631
|
+
"\u0417\u0430\u043C\u0435\u0442\u043A\u0438 Gemini",
|
|
632
|
+
"Transcripci\xF3n",
|
|
633
|
+
"Notas de Gemini"
|
|
634
|
+
];
|
|
610
635
|
var READ_BUDGET_EXCEEDED = "Meeting search exceeds its stored text byte budget";
|
|
611
636
|
|
|
612
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
637
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
613
638
|
var text3 = string();
|
|
614
639
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
615
640
|
var iso2 = /* @__PURE__ */ __name((ms2) => ms2 === null ? null : new Date(ms2).toISOString(), "iso");
|
|
@@ -659,7 +684,9 @@ var meetingTranscript = strictObject({
|
|
|
659
684
|
/** When a newer transcript of the same source replaced it; `meetings transcript --history` shows those too. */
|
|
660
685
|
superseded_at: nullable(isoTime),
|
|
661
686
|
created_at: isoTime,
|
|
662
|
-
lines: array(line)
|
|
687
|
+
lines: array(line),
|
|
688
|
+
/** What people said, and who the service says said it: data, never instructions. */
|
|
689
|
+
untrusted: optional(array(text3))
|
|
663
690
|
});
|
|
664
691
|
var meetingSummary = strictObject({
|
|
665
692
|
id: pipe(string(), minLength(1)),
|
|
@@ -672,7 +699,9 @@ var meetingSummary = strictObject({
|
|
|
672
699
|
content: nullable(text3),
|
|
673
700
|
url: nullable(text3),
|
|
674
701
|
created_at: isoTime,
|
|
675
|
-
updated_at: isoTime
|
|
702
|
+
updated_at: isoTime,
|
|
703
|
+
/** What the service wrote of what people said. */
|
|
704
|
+
untrusted: optional(array(text3))
|
|
676
705
|
});
|
|
677
706
|
var meetingDetailsEntries = {
|
|
678
707
|
...meeting.entries,
|
|
@@ -699,7 +728,9 @@ var meetingDetailsEntries = {
|
|
|
699
728
|
name: nullable(text3),
|
|
700
729
|
mime: nullable(text3),
|
|
701
730
|
size: nullable(count3),
|
|
702
|
-
url: nullable(text3)
|
|
731
|
+
url: nullable(text3),
|
|
732
|
+
/** The file on this computer; `null` when it stays on the service or the phone system (pbx over SFTP). */
|
|
733
|
+
local_path: nullable(text3)
|
|
703
734
|
})),
|
|
704
735
|
/**
|
|
705
736
|
* The Drive files the meeting service saved for it, by role. `document` is the stored document (`document:<id>`) once
|
|
@@ -713,6 +744,20 @@ var meetingDetailsEntries = {
|
|
|
713
744
|
}))
|
|
714
745
|
};
|
|
715
746
|
var meetingDetails = strictObject(meetingDetailsEntries);
|
|
747
|
+
var TRANSCRIPT_UNTRUSTED = ["lines.text", "lines.speaker"];
|
|
748
|
+
var SUMMARY_UNTRUSTED = ["title", "overview", "sections.label", "sections.text", "next_steps", "content"];
|
|
749
|
+
var DETAILS_UNTRUSTED = [
|
|
750
|
+
"series_title",
|
|
751
|
+
"participants.name",
|
|
752
|
+
"participants.email",
|
|
753
|
+
"participants.person.name",
|
|
754
|
+
"chat.sender",
|
|
755
|
+
"chat.recipient",
|
|
756
|
+
"chat.text",
|
|
757
|
+
"attachments.name",
|
|
758
|
+
"documents.title"
|
|
759
|
+
];
|
|
760
|
+
var PARTICIPANT_UNTRUSTED = ["display_name", "email", "person.name"];
|
|
716
761
|
var meetingRef = /* @__PURE__ */ __name((accountId, meetingId) => formatMeetingReference({ type: "meeting", accountId, meetingId }), "meetingRef");
|
|
717
762
|
var meetingTranscriptItem = /* @__PURE__ */ __name((accountId, transcript, rows) => ({
|
|
718
763
|
ref: formatMeetingReference({
|
|
@@ -732,7 +777,8 @@ var meetingTranscriptItem = /* @__PURE__ */ __name((accountId, transcript, rows)
|
|
|
732
777
|
end_ms: row.endMs,
|
|
733
778
|
speaker: row.speakerName,
|
|
734
779
|
text: row.text
|
|
735
|
-
}))
|
|
780
|
+
})),
|
|
781
|
+
untrusted: [...TRANSCRIPT_UNTRUSTED]
|
|
736
782
|
}), "meetingTranscriptItem");
|
|
737
783
|
var meetingSummaryItem = /* @__PURE__ */ __name((accountId, summary) => ({
|
|
738
784
|
id: String(summary.id),
|
|
@@ -745,12 +791,15 @@ var meetingSummaryItem = /* @__PURE__ */ __name((accountId, summary) => ({
|
|
|
745
791
|
content: summary.content,
|
|
746
792
|
url: summary.docUrl,
|
|
747
793
|
created_at: new Date(summary.externalCreatedAt ?? summary.createdAt).toISOString(),
|
|
748
|
-
updated_at: new Date(summary.externalUpdatedAt ?? summary.updatedAt).toISOString()
|
|
794
|
+
updated_at: new Date(summary.externalUpdatedAt ?? summary.updatedAt).toISOString(),
|
|
795
|
+
untrusted: [...SUMMARY_UNTRUSTED]
|
|
749
796
|
}), "meetingSummaryItem");
|
|
750
797
|
var meetingDetailsItem = /* @__PURE__ */ __name((details, owner) => {
|
|
751
798
|
const { accountId } = details.meeting;
|
|
799
|
+
const item = meetingItem(details.meeting, owner);
|
|
752
800
|
return {
|
|
753
|
-
...
|
|
801
|
+
...item,
|
|
802
|
+
untrusted: [...item.untrusted ?? [], ...DETAILS_UNTRUSTED],
|
|
754
803
|
event_id: details.meeting.eventId === null ? null : String(details.meeting.eventId),
|
|
755
804
|
series_id: details.meeting.meetingSeriesId === null ? null : String(details.meeting.meetingSeriesId),
|
|
756
805
|
series_title: details.series?.title ?? null,
|
|
@@ -787,7 +836,8 @@ var meetingDetailsItem = /* @__PURE__ */ __name((details, owner) => {
|
|
|
787
836
|
name: one.name ?? one.title,
|
|
788
837
|
mime: one.mime,
|
|
789
838
|
size: one.size,
|
|
790
|
-
url: one.url
|
|
839
|
+
url: one.url,
|
|
840
|
+
local_path: one.localPath
|
|
791
841
|
})),
|
|
792
842
|
documents: (details.documents ?? []).map((one) => ({
|
|
793
843
|
file_id: one.fileId,
|
|
@@ -868,7 +918,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
868
918
|
};
|
|
869
919
|
}, "meetingHitsList");
|
|
870
920
|
|
|
871
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
921
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
872
922
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
873
923
|
const parsed = urlOf(url);
|
|
874
924
|
if (!parsed)
|
|
@@ -902,7 +952,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
902
952
|
}
|
|
903
953
|
}, "urlOf");
|
|
904
954
|
|
|
905
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
955
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
906
956
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
907
957
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
908
958
|
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");
|
|
@@ -939,7 +989,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
939
989
|
return kept;
|
|
940
990
|
}, "entryMetadata");
|
|
941
991
|
|
|
942
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
992
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/calls.js
|
|
943
993
|
var CALL_DIRECTIONS = ["incoming", "outgoing", "internal"];
|
|
944
994
|
var CALL_OUTCOMES = ["answered", "voicemail", "busy", "no_answer", "failed"];
|
|
945
995
|
var MISSED_OUTCOMES = ["voicemail", "busy", "no_answer"];
|
|
@@ -1008,7 +1058,7 @@ var callOf = /* @__PURE__ */ __name((stored) => {
|
|
|
1008
1058
|
};
|
|
1009
1059
|
}, "callOf");
|
|
1010
1060
|
|
|
1011
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1061
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/call-answers.js
|
|
1012
1062
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
1013
1063
|
var ms = count4;
|
|
1014
1064
|
var id = pipe(number(), integer(), minValue(1));
|
|
@@ -1171,7 +1221,7 @@ var callStatsItem = /* @__PURE__ */ __name((found) => {
|
|
|
1171
1221
|
};
|
|
1172
1222
|
}, "callStatsItem");
|
|
1173
1223
|
|
|
1174
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1224
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
1175
1225
|
var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
|
|
1176
1226
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
1177
1227
|
const zone = timeZone ?? "UTC";
|
|
@@ -1306,7 +1356,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
1306
1356
|
};
|
|
1307
1357
|
}, "aggregateMeetingStats");
|
|
1308
1358
|
|
|
1309
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1359
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/call-stats.js
|
|
1310
1360
|
var CALLBACK_WITHIN_MS = 24 * 60 * 60 * 1e3;
|
|
1311
1361
|
var SHORT_CALL_UNDER_MS = 3e4;
|
|
1312
1362
|
var MOST_MISSED = 100;
|
|
@@ -1496,7 +1546,7 @@ var aggregateCallStats = /* @__PURE__ */ __name((calls, options = {}) => {
|
|
|
1496
1546
|
};
|
|
1497
1547
|
}, "aggregateCallStats");
|
|
1498
1548
|
|
|
1499
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1549
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
1500
1550
|
import { createHash } from "node:crypto";
|
|
1501
1551
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
1502
1552
|
reference: cue2.reference,
|
|
@@ -1510,7 +1560,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
1510
1560
|
text: cue2.text
|
|
1511
1561
|
})).digest("hex"), "meetingCueFingerprint");
|
|
1512
1562
|
|
|
1513
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1563
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
1514
1564
|
var EVENT_QUERY = defineQuery({
|
|
1515
1565
|
entity: "event",
|
|
1516
1566
|
backend: "sql",
|
|
@@ -1526,7 +1576,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
1526
1576
|
]
|
|
1527
1577
|
});
|
|
1528
1578
|
|
|
1529
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1579
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
1530
1580
|
var PARTICIPANT_RESPONSES = ["needs-action", "accepted", "tentative", "declined", "delegated"];
|
|
1531
1581
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
1532
1582
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
@@ -1550,7 +1600,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
|
|
|
1550
1600
|
return Math.max(entry.endsAt ?? start, start + 1) > window.from;
|
|
1551
1601
|
}, "entryInWindow");
|
|
1552
1602
|
|
|
1553
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1603
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
1554
1604
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now(), { create = true } = {}) => {
|
|
1555
1605
|
const current = await store.meeting(details.meeting.id);
|
|
1556
1606
|
if (!current)
|
|
@@ -1595,7 +1645,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now(),
|
|
|
1595
1645
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
1596
1646
|
}, "linkEvent");
|
|
1597
1647
|
|
|
1598
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1648
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
1599
1649
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text7) => text7.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
1600
1650
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
1601
1651
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -1619,7 +1669,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
1619
1669
|
};
|
|
1620
1670
|
}, "validateMeetingParticipantSearch");
|
|
1621
1671
|
|
|
1622
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1672
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
1623
1673
|
var MeetingError = class extends CliError {
|
|
1624
1674
|
static {
|
|
1625
1675
|
__name(this, "MeetingError");
|
|
@@ -1671,6 +1721,7 @@ var meetingPeople = /* @__PURE__ */ __name(async (store, query, accountId, optio
|
|
|
1671
1721
|
});
|
|
1672
1722
|
return {
|
|
1673
1723
|
...packet,
|
|
1724
|
+
items: packet.items.map((one) => ({ ...one, untrusted: [...PARTICIPANT_UNTRUSTED] })),
|
|
1674
1725
|
page: { mode: "cursor", limit, has_more, ...next_cursor ? { next_cursor } : {} },
|
|
1675
1726
|
...next_cursor ? {
|
|
1676
1727
|
next: [
|
|
@@ -1691,7 +1742,14 @@ var meetingPeople = /* @__PURE__ */ __name(async (store, query, accountId, optio
|
|
|
1691
1742
|
}
|
|
1692
1743
|
if (Object.values(options).some((value) => value !== void 0))
|
|
1693
1744
|
throw new MeetingError("configuration_error", "bounded participant lookup needs a selected account and capable store");
|
|
1694
|
-
return listed(await store.participants(query, accountId))
|
|
1745
|
+
return listed((await store.participants(query, accountId)).map((one) => ({
|
|
1746
|
+
participant_id: one.id,
|
|
1747
|
+
meeting_id: one.meetingId,
|
|
1748
|
+
identity_id: one.identityId,
|
|
1749
|
+
display_name: one.displayName,
|
|
1750
|
+
email: one.email,
|
|
1751
|
+
untrusted: [...PARTICIPANT_UNTRUSTED]
|
|
1752
|
+
})));
|
|
1695
1753
|
}, "meetingPeople");
|
|
1696
1754
|
var PAGE_NEXT2 = STEPS.find((step) => step.id === "page.next");
|
|
1697
1755
|
var meetingsList = /* @__PURE__ */ __name(async (store, filter = {}) => {
|
|
@@ -1750,7 +1808,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id5, accountId)
|
|
|
1750
1808
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
1751
1809
|
}, "meetingSummaryAnswer");
|
|
1752
1810
|
|
|
1753
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1811
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
1754
1812
|
var timestamp = /* @__PURE__ */ __name((milliseconds2) => {
|
|
1755
1813
|
if (!Number.isSafeInteger(milliseconds2) || milliseconds2 < 0)
|
|
1756
1814
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -1842,14 +1900,15 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id5, options) => {
|
|
|
1842
1900
|
meetingId: details.meeting.id,
|
|
1843
1901
|
format: options.format,
|
|
1844
1902
|
filename: `meeting-${details.meeting.id}${options.transcriptId === void 0 ? "" : `-transcript-${options.transcriptId}`}.${options.format === "markdown" ? "md" : "vtt"}`,
|
|
1845
|
-
content
|
|
1903
|
+
content,
|
|
1904
|
+
untrusted: ["content"]
|
|
1846
1905
|
};
|
|
1847
1906
|
}, "exportMeeting");
|
|
1848
1907
|
|
|
1849
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1908
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1850
1909
|
import { createHash as createHash2 } from "node:crypto";
|
|
1851
1910
|
|
|
1852
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1911
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
1853
1912
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
1854
1913
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
1855
1914
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone, such as 2026-11-09T09:00:00Z`);
|
|
@@ -1860,7 +1919,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
1860
1919
|
return new Date(value).toISOString();
|
|
1861
1920
|
}, "meetingTimestamp");
|
|
1862
1921
|
|
|
1863
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1922
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1864
1923
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
1865
1924
|
var invalid3 = /* @__PURE__ */ __name((message) => {
|
|
1866
1925
|
throw new CliError("validation_error", message);
|
|
@@ -2035,7 +2094,7 @@ var validateBatch = /* @__PURE__ */ __name((input, rules, most, one) => {
|
|
|
2035
2094
|
var validateFindings = /* @__PURE__ */ __name((input, rules) => validateBatch(input, rules, 16, (finding, ids2) => validateFinding(finding, rules, ids2)), "validateFindings");
|
|
2036
2095
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
2037
2096
|
|
|
2038
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2097
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
2039
2098
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
2040
2099
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
2041
2100
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -2046,7 +2105,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
2046
2105
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
2047
2106
|
var meetingFindingFingerprint = findingFingerprint;
|
|
2048
2107
|
|
|
2049
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2108
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/language.js
|
|
2050
2109
|
var LATIN_WORDS = {
|
|
2051
2110
|
en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
|
|
2052
2111
|
es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
|
|
@@ -2095,7 +2154,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
|
|
|
2095
2154
|
return null;
|
|
2096
2155
|
}, "transcriptLanguage");
|
|
2097
2156
|
|
|
2098
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2157
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
2099
2158
|
var contentHash = /* @__PURE__ */ __name(async (text7) => {
|
|
2100
2159
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text7));
|
|
2101
2160
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -2132,7 +2191,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
2132
2191
|
return time;
|
|
2133
2192
|
}, "timestamp");
|
|
2134
2193
|
|
|
2135
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2194
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
2136
2195
|
var TranscriptTextError = class extends Error {
|
|
2137
2196
|
static {
|
|
2138
2197
|
__name(this, "TranscriptTextError");
|
|
@@ -2187,7 +2246,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
2187
2246
|
return { header, lines };
|
|
2188
2247
|
}, "parseTranscriptText");
|
|
2189
2248
|
|
|
2190
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2249
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
2191
2250
|
var VttError = class extends Error {
|
|
2192
2251
|
static {
|
|
2193
2252
|
__name(this, "VttError");
|
|
@@ -2239,7 +2298,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
2239
2298
|
return cues;
|
|
2240
2299
|
}, "parseVtt");
|
|
2241
2300
|
|
|
2242
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2301
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
2243
2302
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
2244
2303
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
2245
2304
|
for (const file of files) {
|
|
@@ -2272,10 +2331,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
2272
2331
|
return report;
|
|
2273
2332
|
}, "importFiles");
|
|
2274
2333
|
|
|
2275
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2334
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
2276
2335
|
var CHAT_MESSAGES_READ = 1e5;
|
|
2277
2336
|
|
|
2278
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2337
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/provider.js
|
|
2279
2338
|
var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
2280
2339
|
const provider = scope2?.provider;
|
|
2281
2340
|
const account = scope2?.account;
|
|
@@ -2284,7 +2343,18 @@ var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
|
2284
2343
|
return Object.freeze({ provider, account });
|
|
2285
2344
|
}, "snapshotMeetingScope");
|
|
2286
2345
|
|
|
2287
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2346
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
2347
|
+
var MEETING_FIELD_KEYS = Object.freeze({
|
|
2348
|
+
title: "title",
|
|
2349
|
+
kind: "kind",
|
|
2350
|
+
startTime: "start_time",
|
|
2351
|
+
durationMinutes: "duration_minutes",
|
|
2352
|
+
timezone: "timezone",
|
|
2353
|
+
agenda: "agenda"
|
|
2354
|
+
});
|
|
2355
|
+
var MEETING_FIELDS2 = Object.freeze(Object.keys(MEETING_FIELD_KEYS));
|
|
2356
|
+
var meetingFieldFlag = /* @__PURE__ */ __name((field) => `--${MEETING_FIELD_KEYS[field].replaceAll("_", "-")}`, "meetingFieldFlag");
|
|
2357
|
+
var SNAKE_CASE = /^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$/;
|
|
2288
2358
|
var checkCancelled = /* @__PURE__ */ __name((signal) => {
|
|
2289
2359
|
if (!signal?.aborted)
|
|
2290
2360
|
return;
|
|
@@ -2294,14 +2364,18 @@ var checkCancelled = /* @__PURE__ */ __name((signal) => {
|
|
|
2294
2364
|
throw new CliError(timeout ? "timeout" : "cancelled", timeout ? "meeting operation timed out" : "meeting operation cancelled");
|
|
2295
2365
|
}, "checkCancelled");
|
|
2296
2366
|
var dispatchMeetingMutation = /* @__PURE__ */ __name(async (options, dispatch) => {
|
|
2297
|
-
const { apply, dryRun, signal } = options;
|
|
2367
|
+
const { apply, dryRun, signal, confirm } = options;
|
|
2298
2368
|
checkCancelled(signal);
|
|
2299
2369
|
if (apply !== true || dryRun)
|
|
2300
2370
|
return { applied: false };
|
|
2371
|
+
if (confirm) {
|
|
2372
|
+
await confirm();
|
|
2373
|
+
checkCancelled(signal);
|
|
2374
|
+
}
|
|
2301
2375
|
return { applied: true, value: await dispatch(signal) };
|
|
2302
2376
|
}, "dispatchMeetingMutation");
|
|
2303
2377
|
|
|
2304
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2378
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/meeting-context.js
|
|
2305
2379
|
var id2 = /* @__PURE__ */ __name((value) => {
|
|
2306
2380
|
if (typeof value !== "number" || !Number.isSafeInteger(value) || value < 1)
|
|
2307
2381
|
throw new CliError("validation_error", "meeting context identifiers must be positive integers");
|
|
@@ -2423,7 +2497,7 @@ var createMeetingContext = /* @__PURE__ */ __name((scope2, accountId, ports) =>
|
|
|
2423
2497
|
};
|
|
2424
2498
|
}, "createMeetingContext");
|
|
2425
2499
|
|
|
2426
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2500
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
2427
2501
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
2428
2502
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2429
2503
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -2448,7 +2522,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
2448
2522
|
return { ...input, limit, maxReadBytes };
|
|
2449
2523
|
}, "validateMeetingPreparationContext");
|
|
2450
2524
|
|
|
2451
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2525
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
2452
2526
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
2453
2527
|
var id3 = pipe(string(), minLength(1));
|
|
2454
2528
|
var meetingProjectEvidence = strictObject({
|
|
@@ -2569,7 +2643,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
2569
2643
|
};
|
|
2570
2644
|
}, "meetingProjectEvidenceAnswer");
|
|
2571
2645
|
|
|
2572
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2646
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
2573
2647
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
2574
2648
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
2575
2649
|
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) || [
|
|
@@ -2589,7 +2663,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
2589
2663
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
2590
2664
|
}, "validateMeetingHitSearch");
|
|
2591
2665
|
|
|
2592
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2666
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
2593
2667
|
var ids = {
|
|
2594
2668
|
meeting_id: "meetingId",
|
|
2595
2669
|
identity_id: "participantIdentityId",
|
|
@@ -2680,7 +2754,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
|
|
|
2680
2754
|
return { project: project.trim(), options, query: frozen.join(" AND ") };
|
|
2681
2755
|
}, "prepareMeetingProjectEvidence");
|
|
2682
2756
|
|
|
2683
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2757
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
2684
2758
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
|
|
2685
2759
|
const prepared = prepareMeetingProjectEvidence(project, request, now);
|
|
2686
2760
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -2688,7 +2762,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
|
|
|
2688
2762
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
2689
2763
|
}, "readMeetingProjectEvidence");
|
|
2690
2764
|
|
|
2691
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2765
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
2692
2766
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
2693
2767
|
const { identityExternalId, phone, ...fields2 } = p;
|
|
2694
2768
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -2888,7 +2962,7 @@ var pull = /* @__PURE__ */ __name(async (source, store, options) => {
|
|
|
2888
2962
|
return report;
|
|
2889
2963
|
}, "pull");
|
|
2890
2964
|
|
|
2891
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2965
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
2892
2966
|
var text5 = string();
|
|
2893
2967
|
var count6 = pipe(number(), integer(), minValue(0));
|
|
2894
2968
|
var id4 = pipe(number(), integer(), minValue(1));
|
|
@@ -2977,7 +3051,8 @@ var meetingParticipants = strictObject({
|
|
|
2977
3051
|
identity_id: id4,
|
|
2978
3052
|
display_name: nullable(text5),
|
|
2979
3053
|
email: nullable(text5),
|
|
2980
|
-
person: nullable(strictObject({ ref: text5, name: nullable(text5) }))
|
|
3054
|
+
person: nullable(strictObject({ ref: text5, name: nullable(text5) })),
|
|
3055
|
+
untrusted: optional(array(text5))
|
|
2981
3056
|
})),
|
|
2982
3057
|
/** Several identities on one page are observations, never speaker attribution or person links. */
|
|
2983
3058
|
ambiguity: strictObject({ scope: literal("page"), multiple_identities: boolean(), identity_ids: array(id4) }),
|
|
@@ -3029,7 +3104,9 @@ var meetingPassage = strictObject({
|
|
|
3029
3104
|
speaker_participant_id: nullable(id4),
|
|
3030
3105
|
speaker_name: nullable(text5),
|
|
3031
3106
|
text: text5,
|
|
3032
|
-
revision
|
|
3107
|
+
revision,
|
|
3108
|
+
/** What people said: `speaker_name` and `text`. */
|
|
3109
|
+
untrusted: optional(array(text5))
|
|
3033
3110
|
}))
|
|
3034
3111
|
});
|
|
3035
3112
|
var event = strictObject({
|
|
@@ -3083,13 +3160,14 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
3083
3160
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
3084
3161
|
}), "eventItem");
|
|
3085
3162
|
|
|
3086
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3163
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/read-through.js
|
|
3087
3164
|
var MEETING_SERVER_BOUNDS = { calls: 3, pages: 2 };
|
|
3088
3165
|
var ISSUES = {
|
|
3089
3166
|
offline: ["permission_error", "meetings.server-offline"],
|
|
3090
3167
|
unreachable: ["network_error", "meetings.server-unreachable"],
|
|
3091
3168
|
not_signed_in: ["authentication_error", "meetings.server-signed-out"],
|
|
3092
3169
|
refused: ["permission_error", "meetings.server-refused"],
|
|
3170
|
+
rate_limited: ["rate_limited", "meetings.server-rate-limited"],
|
|
3093
3171
|
failed: ["provider_error", "meetings.server-failed"]
|
|
3094
3172
|
};
|
|
3095
3173
|
var metaOf = /* @__PURE__ */ __name((reason, provider) => {
|
|
@@ -3102,6 +3180,7 @@ var WHY = {
|
|
|
3102
3180
|
unreachable: /* @__PURE__ */ __name((provider) => `${provider} could not be reached \u2014 the answer is the store's`, "unreachable"),
|
|
3103
3181
|
not_signed_in: /* @__PURE__ */ __name((provider) => `not signed in to ${provider} \u2014 the answer is the store's`, "not_signed_in"),
|
|
3104
3182
|
refused: /* @__PURE__ */ __name((provider) => `${provider} refused the request \u2014 the answer is the store's`, "refused"),
|
|
3183
|
+
rate_limited: /* @__PURE__ */ __name((provider) => `${provider} asked to wait before more requests \u2014 the answer is the store's`, "rate_limited"),
|
|
3105
3184
|
failed: /* @__PURE__ */ __name((provider) => `${provider} could not be read \u2014 the answer is the store's`, "failed"),
|
|
3106
3185
|
no_upcoming: /* @__PURE__ */ __name((provider) => `${provider} lists no meeting before it starts \u2014 upcoming ones are not in the answer`, "no_upcoming")
|
|
3107
3186
|
};
|
|
@@ -3113,6 +3192,8 @@ var reasonOf = /* @__PURE__ */ __name((error) => {
|
|
|
3113
3192
|
return "refused";
|
|
3114
3193
|
if (code === "network_error")
|
|
3115
3194
|
return "unreachable";
|
|
3195
|
+
if (code === "rate_limited")
|
|
3196
|
+
return "rate_limited";
|
|
3116
3197
|
return "failed";
|
|
3117
3198
|
}, "reasonOf");
|
|
3118
3199
|
var refusal = /* @__PURE__ */ __name((reason, provider, error) => error ?? new CliError("validation_error", `--backend server: ${WHY[reason](provider).replace(/ — .*$/, "")}; use --backend archive or both`, { reason }), "refusal");
|
|
@@ -3371,10 +3452,10 @@ var meetingShowThrough = /* @__PURE__ */ __name(async (source, store, accountId,
|
|
|
3371
3452
|
return { details: fresh, foundIn: step.found.get(details.meeting.id) ?? "server", server: step.report };
|
|
3372
3453
|
}, "meetingShowThrough");
|
|
3373
3454
|
|
|
3374
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3455
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
3375
3456
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
3376
3457
|
|
|
3377
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3458
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
3378
3459
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
3379
3460
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
3380
3461
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -3404,14 +3485,14 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
3404
3485
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
3405
3486
|
}, "validateMeetingRelatedHistory");
|
|
3406
3487
|
|
|
3407
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3488
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
3408
3489
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
3409
3490
|
|
|
3410
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3491
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
3411
3492
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
3412
3493
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
3413
3494
|
|
|
3414
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3495
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
3415
3496
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
3416
3497
|
input.signal?.throwIfAborted();
|
|
3417
3498
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -3432,10 +3513,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
3432
3513
|
return { ...input, limit, maxReadBytes };
|
|
3433
3514
|
}, "validateMeetingSeriesHistory");
|
|
3434
3515
|
|
|
3435
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3516
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
3436
3517
|
var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
|
|
3437
3518
|
|
|
3438
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3519
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
3439
3520
|
function invalid4(field, response = false) {
|
|
3440
3521
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
3441
3522
|
}
|
|
@@ -3464,7 +3545,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
3464
3545
|
cursorDetails(value);
|
|
3465
3546
|
}, "validateMeetingSeriesInventoryCursor");
|
|
3466
3547
|
|
|
3467
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3548
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/meetings/tag-answers.js
|
|
3468
3549
|
var text6 = string();
|
|
3469
3550
|
var storeId = pipe(number(), integer(), minValue(1));
|
|
3470
3551
|
var meetingTagChange = strictObject({
|
|
@@ -3514,6 +3595,7 @@ export {
|
|
|
3514
3595
|
meeting,
|
|
3515
3596
|
MEETING_QUERY,
|
|
3516
3597
|
MEETING_DOCUMENT_ROLES,
|
|
3598
|
+
TRANSCRIPT_WORDS,
|
|
3517
3599
|
READ_BUDGET_EXCEEDED,
|
|
3518
3600
|
meetingHit,
|
|
3519
3601
|
meetingTranscript,
|
|
@@ -3574,9 +3656,14 @@ export {
|
|
|
3574
3656
|
importFiles,
|
|
3575
3657
|
CHAT_MESSAGES_READ,
|
|
3576
3658
|
snapshotMeetingScope,
|
|
3659
|
+
MEETING_FIELD_KEYS,
|
|
3660
|
+
MEETING_FIELDS2 as MEETING_FIELDS,
|
|
3661
|
+
meetingFieldFlag,
|
|
3662
|
+
SNAKE_CASE,
|
|
3577
3663
|
validateMeetingContextChange,
|
|
3578
3664
|
createMeetingContext,
|
|
3579
3665
|
meetingHitContextLimits,
|
|
3666
|
+
markedPassage,
|
|
3580
3667
|
validateMeetingPassage,
|
|
3581
3668
|
validateMeetingPreparationContext,
|
|
3582
3669
|
meetingProjectEvidence,
|