@wirecat/drive-cli 0.49.0 → 0.51.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/drive.js +2 -2
- package/dist/bundle/{all-profiles-WK2XXGPU.js → all-profiles-H3APJWSO.js} +8 -8
- package/dist/bundle/{anthropic-R354D7GT.js → anthropic-P7DXFYFE.js} +5 -5
- package/dist/bundle/{app-server-3YHJ757G.js → app-server-IQUR7ZC2.js} +52 -52
- package/dist/bundle/{bun-JVDJVDHL.js → bun-LZUEW2ML.js} +2 -2
- package/dist/bundle/{bun-sqlite-KZCZWSRZ.js → bun-sqlite-6LUE7UA6.js} +4 -4
- package/dist/bundle/{chunk-NFU3OBCC.js → chunk-2TPENYCK.js} +4 -4
- package/dist/bundle/{chunk-SSD2V4HR.js → chunk-35IHF562.js} +280 -259
- package/dist/bundle/{chunk-U77RLMOK.js → chunk-3KTDFSSK.js} +2 -2
- package/dist/bundle/{chunk-463NMG57.js → chunk-4GFAOETW.js} +3 -3
- package/dist/bundle/{chunk-EOZPMJJP.js → chunk-4YG2FZ53.js} +7 -7
- package/dist/bundle/{chunk-JMRHDZMV.js → chunk-5C7RKU7O.js} +33 -32
- package/dist/bundle/{chunk-75VCGSNB.js → chunk-6FXFYXTR.js} +15 -15
- package/dist/bundle/{chunk-QEM3MOSB.js → chunk-7LYVWMKD.js} +8 -8
- package/dist/bundle/{chunk-467AQO7E.js → chunk-7ZNM6KXP.js} +7 -7
- package/dist/bundle/{chunk-P7INAZIT.js → chunk-AKW5MNQP.js} +5 -5
- package/dist/bundle/{chunk-HD3TFIT4.js → chunk-AUW45JPI.js} +6 -6
- package/dist/bundle/{chunk-JZ3SUK2M.js → chunk-BMI5VCR4.js} +5 -5
- package/dist/bundle/{chunk-22LTNYO2.js → chunk-BVDAP3FQ.js} +9 -9
- package/dist/bundle/{chunk-CCLDCM7J.js → chunk-CT6Z6Z64.js} +410 -244
- package/dist/bundle/{chunk-ABVFH76X.js → chunk-CX7HQ6KK.js} +5 -5
- package/dist/bundle/{chunk-MC77UZVA.js → chunk-D222O57O.js} +6 -6
- package/dist/bundle/{chunk-HF2T7E67.js → chunk-D3UFQC7K.js} +49 -49
- package/dist/bundle/{chunk-KK3BA4IS.js → chunk-DDD3FS6G.js} +2 -2
- package/dist/bundle/{chunk-254VYUWN.js → chunk-DEVPGI27.js} +17 -17
- package/dist/bundle/{chunk-BJ3JRO34.js → chunk-EY4CUQW2.js} +7 -7
- package/dist/bundle/{chunk-RAAI3JLI.js → chunk-F3PPSIKI.js} +3 -3
- package/dist/bundle/{chunk-6Z3W7LTD.js → chunk-FCZ762RV.js} +8 -8
- package/dist/bundle/{chunk-Y2AUB4TJ.js → chunk-FV5WG4WU.js} +80 -33
- package/dist/bundle/{chunk-R2QRP7EJ.js → chunk-G75FZQAZ.js} +13 -9
- package/dist/bundle/{chunk-2BADVV4A.js → chunk-GK2VUKQY.js} +2 -2
- package/dist/bundle/{chunk-3UHJC6HH.js → chunk-HBRTKJ3J.js} +7 -7
- package/dist/bundle/{chunk-VHT2WI4I.js → chunk-HGWMX7BM.js} +101 -73
- package/dist/bundle/{chunk-XVXXWNAA.js → chunk-HYT3FJVB.js} +4 -4
- package/dist/bundle/{chunk-HIAO4MPA.js → chunk-I7EP3VPJ.js} +1 -1
- package/dist/bundle/{chunk-P4OU3OVF.js → chunk-J2S7QDOP.js} +14 -14
- package/dist/bundle/{chunk-FB7I5JWC.js → chunk-JI5KFKTL.js} +6 -6
- package/dist/bundle/{chunk-IRDGH7DV.js → chunk-K3EK4MTU.js} +3 -3
- package/dist/bundle/{chunk-5KR7BKDV.js → chunk-K6JSVXDN.js} +5 -5
- package/dist/bundle/{chunk-5ISHP4TK.js → chunk-LLMHJE5Q.js} +2 -2
- package/dist/bundle/{chunk-7BA3HL7N.js → chunk-LZKPT7GY.js} +35 -35
- package/dist/bundle/{chunk-CB5NGX6E.js → chunk-MPTD5P53.js} +2 -2
- package/dist/bundle/{chunk-MP2UCK3Z.js → chunk-N33EOINW.js} +4 -4
- package/dist/bundle/{chunk-KYJYOZYG.js → chunk-NO34DAIB.js} +6 -6
- package/dist/bundle/{chunk-PPXNEHYX.js → chunk-NRWDEBJB.js} +8 -8
- package/dist/bundle/{chunk-FZQSGLHU.js → chunk-NVHPYKYC.js} +11 -11
- package/dist/bundle/{chunk-2ZFR67KY.js → chunk-OASIFIXM.js} +2 -2
- package/dist/bundle/{chunk-MFS52LTZ.js → chunk-OKSS7YUN.js} +1 -1
- package/dist/bundle/{chunk-HVM5LS5Z.js → chunk-OQVJQSEH.js} +3 -3
- package/dist/bundle/{chunk-MAXN7COO.js → chunk-P3T2SZW2.js} +1 -1
- package/dist/bundle/{chunk-A3FU4RR6.js → chunk-PNUS224S.js} +4 -4
- package/dist/bundle/{chunk-FUJZ5S2Q.js → chunk-POFLDSTX.js} +10 -10
- package/dist/bundle/{chunk-R235IRSJ.js → chunk-PQGIV36R.js} +2 -2
- package/dist/bundle/{chunk-ZK7Y5K63.js → chunk-PRBPVOW4.js} +1 -1
- package/dist/bundle/{chunk-ITZI7T2X.js → chunk-PT6XDCOY.js} +2 -2
- package/dist/bundle/{chunk-2CKGGIWF.js → chunk-Q5CLTK5R.js} +3 -3
- package/dist/bundle/{chunk-NVHB2MHX.js → chunk-SRIPLP7N.js} +4 -4
- package/dist/bundle/{chunk-46X7Z4FD.js → chunk-SRONUWOM.js} +343 -282
- package/dist/bundle/{chunk-E2Y6GJZX.js → chunk-SZWQFR5X.js} +4 -4
- package/dist/bundle/{chunk-IRNX4CO5.js → chunk-TEH76MZK.js} +27 -27
- package/dist/bundle/{chunk-45TPBTR3.js → chunk-TSZJXI4N.js} +21 -21
- package/dist/bundle/{chunk-7WEISHFA.js → chunk-TVJU245P.js} +2 -2
- package/dist/bundle/{chunk-JMOX454R.js → chunk-U3OS6V6S.js} +1 -1
- package/dist/bundle/{chunk-AN7HENGZ.js → chunk-U7DPS46V.js} +108 -96
- package/dist/bundle/{chunk-XLJV3ZOH.js → chunk-UM4E2OFL.js} +1 -1
- package/dist/bundle/{chunk-DKJGYYCP.js → chunk-UMY4IQE2.js} +46 -46
- package/dist/bundle/{chunk-L5RZI2M5.js → chunk-UW7VXKKZ.js} +19 -19
- package/dist/bundle/{chunk-4ORK4UAY.js → chunk-VCPS7Q2W.js} +3 -3
- package/dist/bundle/{chunk-KKZYZ32J.js → chunk-VH4GVA2N.js} +2 -2
- package/dist/bundle/{chunk-IEAZAPC3.js → chunk-WACVI3CS.js} +42 -17
- package/dist/bundle/{chunk-LF7ACSTK.js → chunk-WX2NQO2D.js} +1 -1
- package/dist/bundle/{chunk-HBYE4EP2.js → chunk-WYWXOIGT.js} +1 -1
- package/dist/bundle/{chunk-P4NOTS3U.js → chunk-XBENRRBS.js} +2 -2
- package/dist/bundle/{chunk-W5IDHD6C.js → chunk-XCXUP76D.js} +27 -27
- package/dist/bundle/{chunk-NXFEZQDL.js → chunk-XE2GEE3E.js} +26 -26
- package/dist/bundle/{chunk-BQV3WYXW.js → chunk-XXLTVVMT.js} +31 -21
- package/dist/bundle/{chunk-YYMHFXHK.js → chunk-Y4YBW5S4.js} +2 -2
- package/dist/bundle/{chunk-VAGF723Z.js → chunk-Y73IZWRI.js} +1 -1
- package/dist/bundle/{chunk-624B6G64.js → chunk-YLC4JVQZ.js} +5 -5
- package/dist/bundle/{chunk-2DLAJGRN.js → chunk-YOABRW2M.js} +1 -1
- package/dist/bundle/{chunk-YOF5BC4G.js → chunk-YVQJPLPU.js} +2 -2
- package/dist/bundle/{chunk-EF2RCQ3L.js → chunk-YXHMEFL7.js} +1 -1
- package/dist/bundle/{chunk-W5EUHV3J.js → chunk-Z3GWVRW3.js} +1 -1
- package/dist/bundle/{chunk-65AW2AEQ.js → chunk-Z6KTSXE3.js} +2 -2
- package/dist/bundle/{chunk-HQ2PGEOK.js → chunk-ZKAAFY4C.js} +11 -11
- package/dist/bundle/command-contract-R6CGYG7L.js +38 -0
- package/dist/bundle/{decode-BE3VDYTJ.js → decode-4EENADOV.js} +4 -4
- package/dist/bundle/drive.js +7 -7
- package/dist/bundle/{echarts-4OQHS575.js → echarts-ZFC37XW7.js} +2 -2
- package/dist/bundle/{embed-QR76SJDI.js → embed-UZMNP26C.js} +5 -5
- package/dist/bundle/{embedder-EMIDKBYV.js → embedder-7VDWDBKF.js} +8 -8
- package/dist/bundle/{entry-FE4REJDO.js → entry-JJKCHVIK.js} +6 -6
- package/dist/bundle/failure-VBQBKCD5.js +37 -0
- package/dist/bundle/{first-run-ALPI62PX.js → first-run-FJTEUJBF.js} +9 -9
- package/dist/bundle/first-screen-NSPQWNMQ.js +36 -0
- package/dist/bundle/{google-NV75VSCD.js → google-JBJASYKY.js} +9 -9
- package/dist/bundle/google-api-2FKF4UUN.js +82 -0
- package/dist/bundle/{identity-NZ7SP6OL.js → identity-XE73ALJH.js} +2 -2
- package/dist/bundle/{instructions-3QZBKKPF.js → instructions-Q4ASITKO.js} +1 -1
- package/dist/bundle/{login-KNBM6XUX.js → login-BD2WQT5F.js} +62 -62
- package/dist/bundle/{mcp-XY2FGGUM.js → mcp-G6U2Q63E.js} +76 -76
- package/dist/bundle/mcp-H3XD47NW.js +95 -0
- package/dist/bundle/{mcp-OQBZXELQ.js → mcp-ZYZ4DFW2.js} +2 -2
- package/dist/bundle/{node-R2BLYUSB.js → node-CYM7VXFR.js} +2 -2
- package/dist/bundle/{node-sqlite-PMRVP442.js → node-sqlite-RK4MHW57.js} +4 -4
- package/dist/bundle/{oauth-NM2AKRRT.js → oauth-CQXQRHJR.js} +6 -6
- package/dist/bundle/{open-XZH5ZNDA.js → open-WSE4NBD2.js} +3 -3
- package/dist/bundle/{process-IX5YWGDP.js → process-7HHZZZLA.js} +1 -1
- package/dist/bundle/{program-MDWQHGBY.js → program-ZMQYZNV5.js} +95 -88
- package/dist/bundle/{prompt-5K6XGWSK.js → prompt-YSBBQJGF.js} +4 -4
- package/dist/bundle/{reasons-GF2TYGX6.js → reasons-366PI7OV.js} +3 -3
- package/dist/bundle/{recognize-U7GDD6T2.js → recognize-AZKGPCAS.js} +3 -3
- package/dist/bundle/{remote-ZWXOGNQX.js → remote-EYSK3XKD.js} +6 -6
- package/dist/bundle/{rerank-YRQBCS63.js → rerank-LOW6VIDF.js} +6 -6
- package/dist/bundle/{serve-6PQ7K5RK.js → serve-UJ52HGA7.js} +8 -8
- package/dist/bundle/server-CA2VLY25.js +56 -0
- package/dist/bundle/server-TW75RDEP.js +69 -0
- package/dist/bundle/{services-QBIQX236.js → services-B4QUSCFN.js} +28 -28
- package/dist/bundle/{sqlite-runtime-7Q5UD2VR.js → sqlite-runtime-GEURBVK5.js} +4 -4
- package/dist/bundle/{state-U72TC26L.js → state-OJNSKOXO.js} +5 -5
- package/dist/bundle/{store-B4RAJ63G.js → store-62SBP45X.js} +14 -14
- package/dist/bundle/{store-FYABCSIH.js → store-FTS2HVVB.js} +16 -16
- package/dist/bundle/store-maintenance-command-FQMB3R4E.js +57 -0
- package/dist/bundle/tokens-JALZUGEM.js +103 -0
- package/dist/commands/search.js +1 -1
- package/dist/commands/search.js.map +1 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +10 -2
- package/dist/commands/session.js.map +1 -1
- package/dist/contract-overrides.js +1 -1
- package/dist/contract-overrides.js.map +1 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +2 -2
- package/dist/tokens.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-AEA45IX7.js +0 -38
- package/dist/bundle/failure-GYOTW6NN.js +0 -37
- package/dist/bundle/first-screen-JLS57PIT.js +0 -36
- package/dist/bundle/google-api-6623OUF2.js +0 -82
- package/dist/bundle/mcp-4NPK6BM3.js +0 -95
- package/dist/bundle/server-O7SS6NAY.js +0 -56
- package/dist/bundle/server-WT57TF6S.js +0 -69
- package/dist/bundle/store-maintenance-command-DAF5NI3T.js +0 -57
- package/dist/bundle/tokens-DISQJKDM.js +0 -103
- /package/dist/bundle/{chunk-O5EHUB2V.js → chunk-2WNDZFGG.js} +0 -0
- /package/dist/bundle/{chunk-YLBNPI7H.js → chunk-UO5O3665.js} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
|
|
8
8
|
var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
|
|
9
9
|
const all = typeof profile !== "string";
|
|
10
10
|
const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
queryFieldsOf,
|
|
9
9
|
timezoneOf,
|
|
10
10
|
validateQuery
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-G75FZQAZ.js";
|
|
12
12
|
import {
|
|
13
13
|
singleLine,
|
|
14
14
|
visibleControls
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HGWMX7BM.js";
|
|
16
16
|
import {
|
|
17
17
|
CliError,
|
|
18
18
|
STEPS,
|
|
@@ -37,12 +37,12 @@ import {
|
|
|
37
37
|
strictObject,
|
|
38
38
|
string,
|
|
39
39
|
union
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-EY4CUQW2.js";
|
|
41
41
|
import {
|
|
42
42
|
__name
|
|
43
43
|
} from "./chunk-ZVVMGPBJ.js";
|
|
44
44
|
|
|
45
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
45
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
46
46
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
47
47
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
48
48
|
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)))
|
|
@@ -55,7 +55,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
55
55
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
56
56
|
}, "validateMeetingPassage");
|
|
57
57
|
|
|
58
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
58
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
59
59
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
60
60
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
61
61
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -92,7 +92,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text7) => {
|
|
|
92
92
|
}, "parseMeetingReference");
|
|
93
93
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text7) => formatMeetingReference(parseMeetingReference(text7)), "canonicalMeetingReference");
|
|
94
94
|
|
|
95
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
95
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
96
96
|
var text = string();
|
|
97
97
|
var count = pipe(number(), integer(), minValue(0));
|
|
98
98
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -157,7 +157,7 @@ var MEETING_QUERY = {
|
|
|
157
157
|
})
|
|
158
158
|
};
|
|
159
159
|
|
|
160
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
160
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
161
161
|
var text2 = string();
|
|
162
162
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
163
163
|
var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
@@ -384,7 +384,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
384
384
|
};
|
|
385
385
|
}, "meetingHitsList");
|
|
386
386
|
|
|
387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
388
388
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
389
389
|
const parsed = urlOf(url);
|
|
390
390
|
if (!parsed)
|
|
@@ -418,7 +418,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
418
418
|
}
|
|
419
419
|
}, "urlOf");
|
|
420
420
|
|
|
421
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
421
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
422
422
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
423
423
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
424
424
|
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");
|
|
@@ -451,7 +451,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
451
451
|
return kept;
|
|
452
452
|
}, "entryMetadata");
|
|
453
453
|
|
|
454
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
455
455
|
import { createHash } from "node:crypto";
|
|
456
456
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
457
457
|
reference: cue2.reference,
|
|
@@ -465,7 +465,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
465
465
|
text: cue2.text
|
|
466
466
|
})).digest("hex"), "meetingCueFingerprint");
|
|
467
467
|
|
|
468
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
468
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
469
469
|
var EVENT_QUERY = defineQuery({
|
|
470
470
|
entity: "event",
|
|
471
471
|
backend: "sql",
|
|
@@ -481,7 +481,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
481
481
|
]
|
|
482
482
|
});
|
|
483
483
|
|
|
484
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
484
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
485
485
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
486
486
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
487
487
|
if (entry.recurrenceEndsAt !== null)
|
|
@@ -504,7 +504,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
|
|
|
504
504
|
return Math.max(entry.endsAt ?? start, start + 1) > window.from;
|
|
505
505
|
}, "entryInWindow");
|
|
506
506
|
|
|
507
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
507
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
508
508
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
|
|
509
509
|
const current = await store.meeting(details.meeting.id);
|
|
510
510
|
if (!current)
|
|
@@ -547,7 +547,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
547
547
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
548
548
|
}, "linkEvent");
|
|
549
549
|
|
|
550
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
550
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
551
551
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text7) => text7.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
552
552
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
553
553
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -571,7 +571,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
571
571
|
};
|
|
572
572
|
}, "validateMeetingParticipantSearch");
|
|
573
573
|
|
|
574
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
574
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
575
575
|
var MeetingError = class extends CliError {
|
|
576
576
|
static {
|
|
577
577
|
__name(this, "MeetingError");
|
|
@@ -703,7 +703,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id4, accountId)
|
|
|
703
703
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
704
704
|
}, "meetingSummaryAnswer");
|
|
705
705
|
|
|
706
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
706
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
707
707
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
708
708
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
709
709
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -799,10 +799,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id4, options) => {
|
|
|
799
799
|
};
|
|
800
800
|
}, "exportMeeting");
|
|
801
801
|
|
|
802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
802
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
803
803
|
import { createHash as createHash2 } from "node:crypto";
|
|
804
804
|
|
|
805
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
805
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/provider.js
|
|
806
806
|
var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
807
807
|
const provider = scope2?.provider;
|
|
808
808
|
const account = scope2?.account;
|
|
@@ -811,7 +811,7 @@ var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
|
811
811
|
return Object.freeze({ provider, account });
|
|
812
812
|
}, "snapshotMeetingScope");
|
|
813
813
|
|
|
814
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
814
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
815
815
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
816
816
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
817
817
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone`);
|
|
@@ -822,7 +822,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
822
822
|
return new Date(value).toISOString();
|
|
823
823
|
}, "meetingTimestamp");
|
|
824
824
|
|
|
825
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
825
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
826
826
|
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
827
827
|
if (typeof value !== "string" || !value.trim())
|
|
828
828
|
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
@@ -888,7 +888,7 @@ var dispatchMeetingMutation = /* @__PURE__ */ __name(async (options, dispatch) =
|
|
|
888
888
|
return { applied: true, value: await dispatch(signal) };
|
|
889
889
|
}, "dispatchMeetingMutation");
|
|
890
890
|
|
|
891
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
891
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/meeting-context.js
|
|
892
892
|
var MEETING_FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
893
893
|
var id = /* @__PURE__ */ __name((value) => {
|
|
894
894
|
if (typeof value !== "number" || !Number.isSafeInteger(value) || value < 1)
|
|
@@ -1011,7 +1011,7 @@ var createMeetingContext = /* @__PURE__ */ __name((scope2, accountId, ports) =>
|
|
|
1011
1011
|
};
|
|
1012
1012
|
}, "createMeetingContext");
|
|
1013
1013
|
|
|
1014
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1014
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1015
1015
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
1016
1016
|
var invalid2 = /* @__PURE__ */ __name((message) => {
|
|
1017
1017
|
throw new CliError("validation_error", message);
|
|
@@ -1112,7 +1112,7 @@ var validateFindings = /* @__PURE__ */ __name((input, rules) => {
|
|
|
1112
1112
|
}, "validateFindings");
|
|
1113
1113
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
1114
1114
|
|
|
1115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
1116
1116
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
1117
1117
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
1118
1118
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -1123,7 +1123,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
1123
1123
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
1124
1124
|
var meetingFindingFingerprint = findingFingerprint;
|
|
1125
1125
|
|
|
1126
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1126
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
1127
1127
|
var context = {
|
|
1128
1128
|
command: "search meetings",
|
|
1129
1129
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -1242,7 +1242,7 @@ var meetingWordsQuery = /* @__PURE__ */ __name((text7) => {
|
|
|
1242
1242
|
return { version: 1, language: "lucene-v1", root };
|
|
1243
1243
|
}, "meetingWordsQuery");
|
|
1244
1244
|
|
|
1245
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1245
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
1246
1246
|
var contentHash = /* @__PURE__ */ __name(async (text7) => {
|
|
1247
1247
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text7));
|
|
1248
1248
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -1279,7 +1279,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
1279
1279
|
return time;
|
|
1280
1280
|
}, "timestamp");
|
|
1281
1281
|
|
|
1282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1282
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
1283
1283
|
var TranscriptTextError = class extends Error {
|
|
1284
1284
|
static {
|
|
1285
1285
|
__name(this, "TranscriptTextError");
|
|
@@ -1334,7 +1334,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
1334
1334
|
return { header, lines };
|
|
1335
1335
|
}, "parseTranscriptText");
|
|
1336
1336
|
|
|
1337
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1337
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
1338
1338
|
var VttError = class extends Error {
|
|
1339
1339
|
static {
|
|
1340
1340
|
__name(this, "VttError");
|
|
@@ -1386,7 +1386,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
1386
1386
|
return cues;
|
|
1387
1387
|
}, "parseVtt");
|
|
1388
1388
|
|
|
1389
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1389
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
1390
1390
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
1391
1391
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
1392
1392
|
for (const file of files) {
|
|
@@ -1419,10 +1419,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
1419
1419
|
return report;
|
|
1420
1420
|
}, "importFiles");
|
|
1421
1421
|
|
|
1422
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1422
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
1423
1423
|
var CHAT_MESSAGES_READ = 1e5;
|
|
1424
1424
|
|
|
1425
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1425
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
1426
1426
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
1427
1427
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
1428
1428
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -1447,7 +1447,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
1447
1447
|
return { ...input, limit, maxReadBytes };
|
|
1448
1448
|
}, "validateMeetingPreparationContext");
|
|
1449
1449
|
|
|
1450
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
1451
1451
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
1452
1452
|
var id2 = pipe(string(), minLength(1));
|
|
1453
1453
|
var meetingProjectEvidence = strictObject({
|
|
@@ -1568,7 +1568,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
1568
1568
|
};
|
|
1569
1569
|
}, "meetingProjectEvidenceAnswer");
|
|
1570
1570
|
|
|
1571
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1571
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
1572
1572
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
1573
1573
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
1574
1574
|
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) || [
|
|
@@ -1588,7 +1588,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
1588
1588
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
1589
1589
|
}, "validateMeetingHitSearch");
|
|
1590
1590
|
|
|
1591
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1591
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
1592
1592
|
var ids = {
|
|
1593
1593
|
meeting_id: "meetingId",
|
|
1594
1594
|
identity_id: "participantIdentityId",
|
|
@@ -1679,7 +1679,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
|
|
|
1679
1679
|
return { project: project.trim(), options, query: frozen.join(" AND ") };
|
|
1680
1680
|
}, "prepareMeetingProjectEvidence");
|
|
1681
1681
|
|
|
1682
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1682
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
1683
1683
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
|
|
1684
1684
|
const prepared = prepareMeetingProjectEvidence(project, request, now);
|
|
1685
1685
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -1687,7 +1687,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
|
|
|
1687
1687
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
1688
1688
|
}, "readMeetingProjectEvidence");
|
|
1689
1689
|
|
|
1690
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1690
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
1691
1691
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
1692
1692
|
const { identityExternalId, ...fields3 } = p;
|
|
1693
1693
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -1826,7 +1826,7 @@ unlinked`, format)],
|
|
|
1826
1826
|
return report;
|
|
1827
1827
|
}, "pull");
|
|
1828
1828
|
|
|
1829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1829
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
1830
1830
|
var text5 = string();
|
|
1831
1831
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
1832
1832
|
var id3 = pipe(number(), integer(), minValue(1));
|
|
@@ -1991,10 +1991,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
1991
1991
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
1992
1992
|
}), "eventItem");
|
|
1993
1993
|
|
|
1994
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1994
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
1995
1995
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
1996
1996
|
|
|
1997
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1997
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
1998
1998
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
1999
1999
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2000
2000
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -2024,7 +2024,7 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
2024
2024
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
2025
2025
|
}, "validateMeetingRelatedHistory");
|
|
2026
2026
|
|
|
2027
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2027
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
2028
2028
|
var text6 = string();
|
|
2029
2029
|
var identifier = pipe(text6, minLength(1));
|
|
2030
2030
|
var nullableText = nullable(text6);
|
|
@@ -2150,14 +2150,14 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
2150
2150
|
meeting_embedding: embedding
|
|
2151
2151
|
};
|
|
2152
2152
|
|
|
2153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
2154
2154
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
2155
2155
|
|
|
2156
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2156
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
2157
2157
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
2158
2158
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
2159
2159
|
|
|
2160
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2160
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
2161
2161
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
2162
2162
|
input.signal?.throwIfAborted();
|
|
2163
2163
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -2178,10 +2178,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
2178
2178
|
return { ...input, limit, maxReadBytes };
|
|
2179
2179
|
}, "validateMeetingSeriesHistory");
|
|
2180
2180
|
|
|
2181
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2181
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
2182
2182
|
var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
|
|
2183
2183
|
|
|
2184
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2184
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
2185
2185
|
function invalid3(field, response = false) {
|
|
2186
2186
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
2187
2187
|
}
|
|
@@ -2210,7 +2210,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
2210
2210
|
cursorDetails(value);
|
|
2211
2211
|
}, "validateMeetingSeriesInventoryCursor");
|
|
2212
2212
|
|
|
2213
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2213
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
2214
2214
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
2215
2215
|
const zone = timeZone ?? "UTC";
|
|
2216
2216
|
try {
|
|
@@ -2289,7 +2289,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
2289
2289
|
};
|
|
2290
2290
|
}, "aggregateMeetingStats");
|
|
2291
2291
|
|
|
2292
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2292
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/domain/tags.js
|
|
2293
2293
|
var TAG_TYPES = ["chat", "contact", "message", "task"];
|
|
2294
2294
|
var TAG = /^[a-z0-9-]{1,32}$/;
|
|
2295
2295
|
var tagOf = /* @__PURE__ */ __name((value) => {
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
AUDIT_MIN_SCORE,
|
|
5
5
|
throughWrapper
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CT6Z6Z64.js";
|
|
7
7
|
import {
|
|
8
8
|
environmentOf,
|
|
9
9
|
itemOf,
|
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
nextStep,
|
|
12
12
|
renderAnswer,
|
|
13
13
|
snakeKeys
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5C7RKU7O.js";
|
|
15
15
|
import {
|
|
16
16
|
Command,
|
|
17
17
|
InvalidArgumentError,
|
|
18
18
|
Option,
|
|
19
19
|
annotate,
|
|
20
20
|
sharedCommand
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BVDAP3FQ.js";
|
|
22
22
|
import {
|
|
23
23
|
readOnlyLockOf
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-DDD3FS6G.js";
|
|
25
25
|
import {
|
|
26
26
|
formatReference
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-7ZNM6KXP.js";
|
|
28
28
|
import {
|
|
29
29
|
EVENT_QUERY,
|
|
30
30
|
MEETING_PROJECT_EVIDENCE_QUERY,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
readMeetingProjectEvidence,
|
|
48
48
|
validateMeetingHitSearch,
|
|
49
49
|
validateMeetingPassage
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-UMY4IQE2.js";
|
|
51
51
|
import {
|
|
52
52
|
OPERATORS_BY_TYPE,
|
|
53
53
|
dateRange,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
timezoneOf,
|
|
61
61
|
validateQuery,
|
|
62
62
|
zonedMoment
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-G75FZQAZ.js";
|
|
64
64
|
import {
|
|
65
65
|
CliError,
|
|
66
66
|
array,
|
|
@@ -71,12 +71,12 @@ import {
|
|
|
71
71
|
safeParse,
|
|
72
72
|
strictObject,
|
|
73
73
|
string
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-EY4CUQW2.js";
|
|
75
75
|
import {
|
|
76
76
|
__name
|
|
77
77
|
} from "./chunk-ZVVMGPBJ.js";
|
|
78
78
|
|
|
79
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
79
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
|
|
80
80
|
var COMMAND_NEEDS = {
|
|
81
81
|
"account update": ["updateProfile", "change the profile"],
|
|
82
82
|
"account sessions list": ["sessions", "list the account's sessions"],
|
|
@@ -126,7 +126,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
|
|
|
126
126
|
return group;
|
|
127
127
|
}, "hideNever");
|
|
128
128
|
|
|
129
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
129
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
|
|
130
130
|
var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
131
131
|
command.allowUnknownOption();
|
|
132
132
|
const parse = command.parseOptions.bind(command);
|
|
@@ -146,7 +146,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
|
146
146
|
return command;
|
|
147
147
|
}, "queryWordsAfterOptions");
|
|
148
148
|
|
|
149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
149
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
|
|
150
150
|
var count = /* @__PURE__ */ __name((value) => {
|
|
151
151
|
if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
152
152
|
throw new CliError("validation_error", "expected a nonnegative safe integer");
|
|
@@ -188,7 +188,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
|
|
|
188
188
|
var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
|
|
189
189
|
var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
|
|
190
190
|
|
|
191
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
191
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
|
|
192
192
|
var integer = /* @__PURE__ */ __name((value) => {
|
|
193
193
|
if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
194
194
|
throw new CliError("validation_error", "expected a positive safe integer");
|
|
@@ -211,7 +211,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
|
|
|
211
211
|
}, "addMeetingProjectEvidenceCommandDefinition");
|
|
212
212
|
var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
|
|
213
213
|
|
|
214
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
214
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
|
|
215
215
|
var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
|
|
216
216
|
var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
|
|
217
217
|
const zone = timezoneOf();
|
|
@@ -297,7 +297,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
|
|
|
297
297
|
var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
|
|
298
298
|
var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
|
|
299
299
|
|
|
300
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
300
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
|
|
301
301
|
var integer3 = /* @__PURE__ */ __name((text) => {
|
|
302
302
|
if (!/^[1-9]\d*$/.test(text) || !Number.isSafeInteger(Number(text)))
|
|
303
303
|
throw new InvalidArgumentError("expected a positive integer");
|
|
@@ -417,7 +417,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
417
417
|
}, "addMeetingCommandsDefinition");
|
|
418
418
|
var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
|
|
419
419
|
|
|
420
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
420
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/list-query.js
|
|
421
421
|
var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
|
|
422
422
|
var withQuery = /* @__PURE__ */ __name((command, registry) => {
|
|
423
423
|
const query = defineQuery(registry);
|
|
@@ -531,7 +531,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
|
|
|
531
531
|
var queryHelp = /* @__PURE__ */ __name((registry) => `
|
|
532
532
|
${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
|
|
533
533
|
|
|
534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
534
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/paging.js
|
|
535
535
|
var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
536
536
|
if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
|
|
537
537
|
throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
|
|
@@ -540,7 +540,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
|
540
540
|
var withPaging = /* @__PURE__ */ __name((command) => command.option("--limit <n>", "how many to show", positiveCount("--limit")).option("--page <n>", "which page, starting at 1", positiveCount("--page")).option("--all", "every row, no paging"), "withPaging");
|
|
541
541
|
var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
|
|
542
542
|
|
|
543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
543
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
|
|
544
544
|
var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
|
|
545
545
|
var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
|
|
546
546
|
var settingsOf = /* @__PURE__ */ __name((settings) => defined({
|
|
@@ -802,7 +802,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
|
|
|
802
802
|
...createdAt === void 0 ? {} : { created_at: createdAt }
|
|
803
803
|
}), "sessionAnswer");
|
|
804
804
|
|
|
805
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
805
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/background/relay.js
|
|
806
806
|
import { createHash } from "node:crypto";
|
|
807
807
|
import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
|
|
808
808
|
import { createConnection, createServer } from "node:net";
|
|
@@ -950,7 +950,7 @@ var serve = /* @__PURE__ */ __name(async (socket, request, stdin, signal, run) =
|
|
|
950
950
|
}
|
|
951
951
|
}, "serve");
|
|
952
952
|
|
|
953
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
953
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
|
|
954
954
|
var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
|
|
955
955
|
close: /* @__PURE__ */ __name(async () => {
|
|
956
956
|
}, "close"),
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
MAX_SECRET_INPUT,
|
|
5
5
|
bufferedInput,
|
|
6
6
|
inputPolicy
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VH4GVA2N.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-EY4CUQW2.js";
|
|
11
11
|
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.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
|
|
16
16
|
import { createInterface } from "node:readline";
|
|
17
17
|
import { Writable } from "node:stream";
|
|
18
18
|
var readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin, output = process.stderr, echo = false, signal: givenSignal } = {}) => {
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EY4CUQW2.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
|
|
11
11
|
var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
|
|
12
12
|
var MAX_SECRET_INPUT = 64 * 1024;
|
|
13
13
|
var policies = /* @__PURE__ */ new WeakMap();
|