@wirecat/drive-cli 0.51.0 → 0.52.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-H3APJWSO.js → all-profiles-CYW6XBBS.js} +8 -8
- package/dist/bundle/{anthropic-P7DXFYFE.js → anthropic-KW6KU36Y.js} +5 -5
- package/dist/bundle/{app-server-IQUR7ZC2.js → app-server-TCJZ333E.js} +53 -52
- package/dist/bundle/{bun-LZUEW2ML.js → bun-7SYKSCLA.js} +2 -2
- package/dist/bundle/{bun-sqlite-6LUE7UA6.js → bun-sqlite-RI7DR6RZ.js} +4 -4
- package/dist/bundle/{chunk-7ZNM6KXP.js → chunk-234MHU76.js} +7 -7
- package/dist/bundle/{chunk-U7DPS46V.js → chunk-2623YE5I.js} +107 -96
- package/dist/bundle/{chunk-UW7VXKKZ.js → chunk-2AUXBJRX.js} +19 -19
- package/dist/bundle/{chunk-OQVJQSEH.js → chunk-2UIMEMWU.js} +3 -3
- package/dist/bundle/{chunk-NO34DAIB.js → chunk-33NVQGUY.js} +6 -6
- package/dist/bundle/{chunk-D3UFQC7K.js → chunk-43QVYW3K.js} +49 -49
- package/dist/bundle/{chunk-WX2NQO2D.js → chunk-4A2PIGC6.js} +1 -1
- package/dist/bundle/{chunk-D222O57O.js → chunk-4CPLOMRK.js} +6 -6
- package/dist/bundle/{chunk-U3OS6V6S.js → chunk-4Z6TCU5T.js} +1 -1
- package/dist/bundle/{chunk-POFLDSTX.js → chunk-54O62JWP.js} +10 -10
- package/dist/bundle/{chunk-HBRTKJ3J.js → chunk-5PLJKSG4.js} +7 -7
- package/dist/bundle/{chunk-PRBPVOW4.js → chunk-6DHQTUB2.js} +1 -1
- package/dist/bundle/{chunk-BVDAP3FQ.js → chunk-725OHXKR.js} +9 -9
- package/dist/bundle/chunk-7SH4JHYW.js +379 -0
- package/dist/bundle/{chunk-FCZ762RV.js → chunk-7XKAVMCF.js} +8 -8
- package/dist/bundle/{chunk-PNUS224S.js → chunk-7YMDL4JQ.js} +8 -6
- package/dist/bundle/{chunk-FV5WG4WU.js → chunk-A4UNTWAX.js} +29 -25
- package/dist/bundle/{chunk-I7EP3VPJ.js → chunk-ALJWBGD5.js} +1 -1
- package/dist/bundle/{chunk-CX7HQ6KK.js → chunk-BSSCTWWK.js} +12 -12
- package/dist/bundle/{chunk-HYT3FJVB.js → chunk-C6Z25IBJ.js} +49 -24
- package/dist/bundle/{chunk-XCXUP76D.js → chunk-CB7SBYLO.js} +27 -27
- package/dist/bundle/{chunk-YXHMEFL7.js → chunk-CITFEQ6S.js} +1 -1
- package/dist/bundle/{chunk-Y73IZWRI.js → chunk-CKBHR7QO.js} +1 -1
- package/dist/bundle/{chunk-AKW5MNQP.js → chunk-CM7GAXGD.js} +5 -5
- package/dist/bundle/{chunk-OKSS7YUN.js → chunk-DLAFGSTN.js} +1 -1
- package/dist/bundle/{chunk-MPTD5P53.js → chunk-DO4PDQY5.js} +2 -2
- package/dist/bundle/{chunk-P3T2SZW2.js → chunk-DW46P2DY.js} +1 -1
- package/dist/bundle/{chunk-ZKAAFY4C.js → chunk-F7UUZATI.js} +11 -11
- package/dist/bundle/{chunk-XBENRRBS.js → chunk-FCJAHD4R.js} +2 -2
- package/dist/bundle/{chunk-5C7RKU7O.js → chunk-FDWYPONW.js} +46 -34
- package/dist/bundle/{chunk-TVJU245P.js → chunk-FG4XXZZE.js} +2 -2
- package/dist/bundle/{chunk-BMI5VCR4.js → chunk-FJW3DDCF.js} +5 -5
- package/dist/bundle/{chunk-LZKPT7GY.js → chunk-G6QF5KWF.js} +35 -35
- package/dist/bundle/{chunk-K6JSVXDN.js → chunk-G7DCVJ4F.js} +5 -5
- package/dist/bundle/{chunk-Q5CLTK5R.js → chunk-GR5GGZKH.js} +3 -3
- package/dist/bundle/{chunk-SZWQFR5X.js → chunk-GVCN3GLZ.js} +16 -4
- package/dist/bundle/{chunk-CT6Z6Z64.js → chunk-H47W2J6S.js} +523 -778
- package/dist/bundle/{chunk-HGWMX7BM.js → chunk-HQVJK5E7.js} +44 -22
- package/dist/bundle/{chunk-35IHF562.js → chunk-HX7Y2ASG.js} +350 -281
- package/dist/bundle/{chunk-7LYVWMKD.js → chunk-I7UH5CTA.js} +8 -8
- package/dist/bundle/{chunk-YVQJPLPU.js → chunk-IDUNJCFO.js} +2 -2
- package/dist/bundle/{chunk-6FXFYXTR.js → chunk-IWFBAWZK.js} +15 -15
- package/dist/bundle/{chunk-3KTDFSSK.js → chunk-JEOYFKUK.js} +2 -2
- package/dist/bundle/{chunk-4GFAOETW.js → chunk-KYVXMEBC.js} +3 -3
- package/dist/bundle/{chunk-PT6XDCOY.js → chunk-LJAX6YCF.js} +2 -2
- package/dist/bundle/{chunk-XXLTVVMT.js → chunk-LONV6HIK.js} +20 -20
- package/dist/bundle/{chunk-G75FZQAZ.js → chunk-NHBUTCNR.js} +10 -10
- package/dist/bundle/{chunk-OASIFIXM.js → chunk-NPSZPUK6.js} +2 -2
- package/dist/bundle/{chunk-Z3GWVRW3.js → chunk-NSIFQ5OP.js} +1 -1
- package/dist/bundle/{chunk-TSZJXI4N.js → chunk-O6IOL6RX.js} +21 -21
- package/dist/bundle/{chunk-YLC4JVQZ.js → chunk-PAXKALHV.js} +5 -5
- package/dist/bundle/{chunk-AUW45JPI.js → chunk-PDGECM5D.js} +7 -7
- package/dist/bundle/{chunk-NRWDEBJB.js → chunk-PEOCBV2Z.js} +8 -8
- package/dist/bundle/{chunk-VCPS7Q2W.js → chunk-PQJYM5ES.js} +3 -3
- package/dist/bundle/{chunk-TEH76MZK.js → chunk-PQYVPCJ2.js} +26 -26
- package/dist/bundle/{chunk-WYWXOIGT.js → chunk-PSNHPFSK.js} +1 -1
- package/dist/bundle/{chunk-Y4YBW5S4.js → chunk-Q765VPZY.js} +2 -2
- package/dist/bundle/{chunk-YOABRW2M.js → chunk-R276546S.js} +1 -1
- package/dist/bundle/{chunk-SRIPLP7N.js → chunk-RNSP57TC.js} +4 -4
- package/dist/bundle/{chunk-WACVI3CS.js → chunk-UC22Q5KU.js} +11 -11
- package/dist/bundle/{chunk-VH4GVA2N.js → chunk-UR32UWTQ.js} +2 -2
- package/dist/bundle/{chunk-Z6KTSXE3.js → chunk-VJZST5RD.js} +2 -2
- package/dist/bundle/{chunk-LLMHJE5Q.js → chunk-VSOLLTYT.js} +2 -2
- package/dist/bundle/{chunk-PQGIV36R.js → chunk-VZ2I62HN.js} +2 -2
- package/dist/bundle/{chunk-DEVPGI27.js → chunk-W7IK7E4B.js} +17 -17
- package/dist/bundle/{chunk-NVHPYKYC.js → chunk-WBTVGFXI.js} +11 -11
- package/dist/bundle/{chunk-2TPENYCK.js → chunk-WLFUBNFX.js} +4 -4
- package/dist/bundle/{chunk-SRONUWOM.js → chunk-WQJBAWQP.js} +515 -344
- package/dist/bundle/{chunk-K3EK4MTU.js → chunk-WQRGA75U.js} +15 -3
- package/dist/bundle/{chunk-XE2GEE3E.js → chunk-WUX7AUOQ.js} +26 -26
- package/dist/bundle/{chunk-J2S7QDOP.js → chunk-X6ID5EAR.js} +16 -16
- package/dist/bundle/{chunk-JI5KFKTL.js → chunk-XOLQSCMF.js} +6 -6
- package/dist/bundle/{chunk-EY4CUQW2.js → chunk-YKZ4IPLB.js} +26 -9
- package/dist/bundle/{chunk-GK2VUKQY.js → chunk-YNFELLNQ.js} +2 -2
- package/dist/bundle/{chunk-F3PPSIKI.js → chunk-YVPHJHIL.js} +3 -3
- package/dist/bundle/{chunk-4YG2FZ53.js → chunk-Z47LOJUS.js} +7 -7
- package/dist/bundle/{chunk-DDD3FS6G.js → chunk-ZDLIO76S.js} +2 -2
- package/dist/bundle/{chunk-UMY4IQE2.js → chunk-ZNZUZGSV.js} +54 -47
- package/dist/bundle/{chunk-UM4E2OFL.js → chunk-ZSXRDF6I.js} +1 -1
- package/dist/bundle/{chunk-N33EOINW.js → chunk-ZWSG7OCA.js} +4 -4
- package/dist/bundle/command-contract-I2YB5IXI.js +38 -0
- package/dist/bundle/{decode-4EENADOV.js → decode-EDN2ARXZ.js} +19 -17
- package/dist/bundle/drive.js +7 -7
- package/dist/bundle/{echarts-ZFC37XW7.js → echarts-GXY34GHA.js} +2 -2
- package/dist/bundle/{embed-UZMNP26C.js → embed-3GSQIQXE.js} +5 -5
- package/dist/bundle/{embedder-7VDWDBKF.js → embedder-6ULWRG3R.js} +8 -8
- package/dist/bundle/{entry-JJKCHVIK.js → entry-IPRJLFHO.js} +6 -6
- package/dist/bundle/failure-4CVEVY45.js +37 -0
- package/dist/bundle/{first-run-FJTEUJBF.js → first-run-FGHGWHC2.js} +9 -9
- package/dist/bundle/first-screen-M62KTPZG.js +36 -0
- package/dist/bundle/{google-JBJASYKY.js → google-BD3ZNFVJ.js} +9 -9
- package/dist/bundle/google-api-BDUWZMRV.js +83 -0
- package/dist/bundle/{identity-XE73ALJH.js → identity-QLBSASO5.js} +2 -2
- package/dist/bundle/{instructions-Q4ASITKO.js → instructions-K5BEQM4C.js} +1 -1
- package/dist/bundle/{login-BD2WQT5F.js → login-VNZKRSAD.js} +65 -64
- package/dist/bundle/{mcp-G6U2Q63E.js → mcp-5SNSMI2M.js} +82 -81
- package/dist/bundle/mcp-JZSYPQA4.js +96 -0
- package/dist/bundle/{mcp-ZYZ4DFW2.js → mcp-WSGVVZWI.js} +2 -2
- package/dist/bundle/{node-CYM7VXFR.js → node-ZYWB7IET.js} +2 -2
- package/dist/bundle/{node-sqlite-RK4MHW57.js → node-sqlite-J3OODPYK.js} +4 -4
- package/dist/bundle/{oauth-CQXQRHJR.js → oauth-L4VTCBLF.js} +6 -6
- package/dist/bundle/{open-WSE4NBD2.js → open-SGUN7ZVF.js} +3 -3
- package/dist/bundle/openai-RLVISEDH.js +251 -0
- package/dist/bundle/{process-7HHZZZLA.js → process-ZXO2MWRJ.js} +1 -1
- package/dist/bundle/{program-ZMQYZNV5.js → program-6S5EH7BS.js} +103 -101
- package/dist/bundle/{prompt-YSBBQJGF.js → prompt-AUWTBLO7.js} +4 -4
- package/dist/bundle/{reasons-366PI7OV.js → reasons-M5AKCNCU.js} +3 -3
- package/dist/bundle/{recognize-AZKGPCAS.js → recognize-ORX2UBQW.js} +5 -3
- package/dist/bundle/{remote-EYSK3XKD.js → remote-AGIJY73X.js} +6 -6
- package/dist/bundle/{rerank-LOW6VIDF.js → rerank-R6PE44M5.js} +6 -6
- package/dist/bundle/{serve-UJ52HGA7.js → serve-VOBAQHAQ.js} +8 -8
- package/dist/bundle/server-24PS4M7U.js +70 -0
- package/dist/bundle/server-G6HFZ2CK.js +57 -0
- package/dist/bundle/{services-B4QUSCFN.js → services-HZFTTZSF.js} +35 -28
- package/dist/bundle/{sqlite-runtime-GEURBVK5.js → sqlite-runtime-DTGPR2T2.js} +4 -4
- package/dist/bundle/{state-OJNSKOXO.js → state-WG3JKJM3.js} +5 -5
- package/dist/bundle/{store-62SBP45X.js → store-33VHIMEO.js} +14 -14
- package/dist/bundle/{store-FTS2HVVB.js → store-EV72MT5U.js} +16 -16
- package/dist/bundle/store-maintenance-command-ZTUEI4EC.js +58 -0
- package/dist/bundle/tokens-XDQXUFDQ.js +104 -0
- package/dist/knowledge-query.d.ts +1 -1
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +1 -0
- package/dist/store.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-R6CGYG7L.js +0 -38
- package/dist/bundle/failure-VBQBKCD5.js +0 -37
- package/dist/bundle/first-screen-NSPQWNMQ.js +0 -36
- package/dist/bundle/google-api-2FKF4UUN.js +0 -82
- package/dist/bundle/mcp-H3XD47NW.js +0 -95
- package/dist/bundle/server-CA2VLY25.js +0 -56
- package/dist/bundle/server-TW75RDEP.js +0 -69
- package/dist/bundle/store-maintenance-command-FQMB3R4E.js +0 -57
- package/dist/bundle/tokens-JALZUGEM.js +0 -103
- /package/dist/bundle/{chunk-2WNDZFGG.js → chunk-62EDJKGP.js} +0 -0
- /package/dist/bundle/{chunk-UO5O3665.js → chunk-FQRJWVEB.js} +0 -0
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
queryFieldsOf,
|
|
9
9
|
timezoneOf,
|
|
10
10
|
validateQuery
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NHBUTCNR.js";
|
|
12
12
|
import {
|
|
13
13
|
singleLine,
|
|
14
14
|
visibleControls
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HQVJK5E7.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-YKZ4IPLB.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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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));
|
|
@@ -1971,7 +1971,14 @@ var event = strictObject({
|
|
|
1971
1971
|
created_at: isoTime,
|
|
1972
1972
|
updated_at: isoTime,
|
|
1973
1973
|
/** The fields whoever sent the invitation wrote, on a calendar CLI's `events list`: an agent reads them as data. */
|
|
1974
|
-
untrusted: optional(array(text5))
|
|
1974
|
+
untrusted: optional(array(text5)),
|
|
1975
|
+
/** On a calendar CLI's `events list changed:<date>`: what changed since then, and when the store saw it. */
|
|
1976
|
+
change: optional(picklist(["new", "moved", "cancelled"])),
|
|
1977
|
+
changed_at: optional(nullable(isoTime)),
|
|
1978
|
+
/** The times a moved event had at that date. */
|
|
1979
|
+
was: optional(strictObject({ starts_at: nullable(isoTime), ends_at: nullable(isoTime) })),
|
|
1980
|
+
/** On a calendar CLI's `events list overlapping`: the events it clashes with, as `event:<id>`. */
|
|
1981
|
+
overlaps: optional(array(text5))
|
|
1975
1982
|
});
|
|
1976
1983
|
var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
1977
1984
|
id: String(one.id),
|
|
@@ -1991,10 +1998,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
1991
1998
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
1992
1999
|
}), "eventItem");
|
|
1993
2000
|
|
|
1994
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2001
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
1995
2002
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
1996
2003
|
|
|
1997
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2004
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
1998
2005
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
1999
2006
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2000
2007
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -2024,7 +2031,7 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
2024
2031
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
2025
2032
|
}, "validateMeetingRelatedHistory");
|
|
2026
2033
|
|
|
2027
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2034
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
2028
2035
|
var text6 = string();
|
|
2029
2036
|
var identifier = pipe(text6, minLength(1));
|
|
2030
2037
|
var nullableText = nullable(text6);
|
|
@@ -2150,14 +2157,14 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
2150
2157
|
meeting_embedding: embedding
|
|
2151
2158
|
};
|
|
2152
2159
|
|
|
2153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2160
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
2154
2161
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
2155
2162
|
|
|
2156
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2163
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
2157
2164
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
2158
2165
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
2159
2166
|
|
|
2160
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2167
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
2161
2168
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
2162
2169
|
input.signal?.throwIfAborted();
|
|
2163
2170
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -2178,10 +2185,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
2178
2185
|
return { ...input, limit, maxReadBytes };
|
|
2179
2186
|
}, "validateMeetingSeriesHistory");
|
|
2180
2187
|
|
|
2181
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2188
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
2182
2189
|
var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
|
|
2183
2190
|
|
|
2184
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2191
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
2185
2192
|
function invalid3(field, response = false) {
|
|
2186
2193
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
2187
2194
|
}
|
|
@@ -2210,7 +2217,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
2210
2217
|
cursorDetails(value);
|
|
2211
2218
|
}, "validateMeetingSeriesInventoryCursor");
|
|
2212
2219
|
|
|
2213
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2220
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
2214
2221
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
2215
2222
|
const zone = timeZone ?? "UTC";
|
|
2216
2223
|
try {
|
|
@@ -2289,7 +2296,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
2289
2296
|
};
|
|
2290
2297
|
}, "aggregateMeetingStats");
|
|
2291
2298
|
|
|
2292
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2299
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/domain/tags.js
|
|
2293
2300
|
var TAG_TYPES = ["chat", "contact", "message", "task"];
|
|
2294
2301
|
var TAG = /^[a-z0-9-]{1,32}$/;
|
|
2295
2302
|
var tagOf = /* @__PURE__ */ __name((value) => {
|
|
@@ -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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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");
|
|
@@ -2,14 +2,14 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
answeredWire
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CITFEQ6S.js";
|
|
6
6
|
import {
|
|
7
7
|
CALLER_META_KEY,
|
|
8
8
|
PROXY_CLIENT_NAME,
|
|
9
9
|
StdioServerTransport,
|
|
10
10
|
callerOf,
|
|
11
11
|
serveStdio
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FCJAHD4R.js";
|
|
13
13
|
import {
|
|
14
14
|
McpServer
|
|
15
15
|
} from "./chunk-5FONRUG6.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
__name
|
|
18
18
|
} from "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
|
|
20
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
21
21
|
import { spawn } from "node:child_process";
|
|
22
22
|
import { randomUUID } from "node:crypto";
|
|
23
23
|
var PROTOCOL = "2025-06-18";
|
|
@@ -251,7 +251,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
251
251
|
}, "serveAllProfilesOverStdio");
|
|
252
252
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
253
253
|
const { build, close } = allProfilesServer(options);
|
|
254
|
-
const { serveOverHttp } = await import("./serve-
|
|
254
|
+
const { serveOverHttp } = await import("./serve-VOBAQHAQ.js");
|
|
255
255
|
const listening = await serveOverHttp(build, {
|
|
256
256
|
...http,
|
|
257
257
|
appName: options.command,
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
SCHEMA_DIALECT,
|
|
5
|
+
commandContract,
|
|
6
|
+
commandPathOf,
|
|
7
|
+
findCommand,
|
|
8
|
+
outputOf
|
|
9
|
+
} from "./chunk-5PLJKSG4.js";
|
|
10
|
+
import "./chunk-2623YE5I.js";
|
|
11
|
+
import "./chunk-FDWYPONW.js";
|
|
12
|
+
import "./chunk-PEOCBV2Z.js";
|
|
13
|
+
import "./chunk-725OHXKR.js";
|
|
14
|
+
import "./chunk-NSIFQ5OP.js";
|
|
15
|
+
import "./chunk-LONV6HIK.js";
|
|
16
|
+
import "./chunk-VSOLLTYT.js";
|
|
17
|
+
import "./chunk-Q765VPZY.js";
|
|
18
|
+
import "./chunk-GVCN3GLZ.js";
|
|
19
|
+
import "./chunk-WLFUBNFX.js";
|
|
20
|
+
import "./chunk-ZDLIO76S.js";
|
|
21
|
+
import "./chunk-BSSCTWWK.js";
|
|
22
|
+
import "./chunk-PDGECM5D.js";
|
|
23
|
+
import "./chunk-ZNZUZGSV.js";
|
|
24
|
+
import "./chunk-NHBUTCNR.js";
|
|
25
|
+
import "./chunk-62EDJKGP.js";
|
|
26
|
+
import "./chunk-XOLQSCMF.js";
|
|
27
|
+
import "./chunk-VJZST5RD.js";
|
|
28
|
+
import "./chunk-HQVJK5E7.js";
|
|
29
|
+
import "./chunk-YKZ4IPLB.js";
|
|
30
|
+
import "./chunk-Y5E2WNWB.js";
|
|
31
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
32
|
+
export {
|
|
33
|
+
SCHEMA_DIALECT,
|
|
34
|
+
commandContract,
|
|
35
|
+
commandPathOf,
|
|
36
|
+
findCommand,
|
|
37
|
+
outputOf
|
|
38
|
+
};
|
|
@@ -3,11 +3,11 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
decodeOgg
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-C6Z25IBJ.js";
|
|
7
|
+
import "./chunk-HQVJK5E7.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YKZ4IPLB.js";
|
|
11
11
|
import {
|
|
12
12
|
importFrom
|
|
13
13
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/speech/decode.js
|
|
19
19
|
import { spawn } from "node:child_process";
|
|
20
20
|
import { mkdtemp, rm, writeFile } from "node:fs/promises";
|
|
21
21
|
import { createRequire } from "node:module";
|
|
@@ -42,19 +42,18 @@ var formatOf = /* @__PURE__ */ __name((bytes) => {
|
|
|
42
42
|
return "mp3";
|
|
43
43
|
return "other";
|
|
44
44
|
}, "formatOf");
|
|
45
|
-
var
|
|
46
|
-
|
|
47
|
-
if (!samples || decoded.samplesDecoded === 0)
|
|
45
|
+
var everyChannel = /* @__PURE__ */ __name((decoded) => {
|
|
46
|
+
if (!decoded.channelData[0] || decoded.samplesDecoded === 0)
|
|
48
47
|
throw new CliError("validation_error", "no audio in that file");
|
|
49
|
-
return { samples, rate: decoded.sampleRate };
|
|
50
|
-
}, "
|
|
48
|
+
return decoded.channelData.map((samples) => ({ samples, rate: decoded.sampleRate }));
|
|
49
|
+
}, "everyChannel");
|
|
51
50
|
var load = /* @__PURE__ */ __name((name) => importFrom(new URL("speech/decode.js", import.meta.resolve("@wirecat/cli-core")).href, pathToFileURL(createRequire(new URL("speech/decode.js", import.meta.resolve("@wirecat/cli-core")).href).resolve(name)).href), "load");
|
|
52
51
|
var decodeVorbis = /* @__PURE__ */ __name(async (bytes) => {
|
|
53
52
|
const { OggVorbisDecoder } = await load("@wasm-audio-decoders/ogg-vorbis");
|
|
54
53
|
const decoder = new OggVorbisDecoder();
|
|
55
54
|
await decoder.ready;
|
|
56
55
|
try {
|
|
57
|
-
return
|
|
56
|
+
return everyChannel(await decoder.decodeFile(bytes));
|
|
58
57
|
} finally {
|
|
59
58
|
decoder.free();
|
|
60
59
|
}
|
|
@@ -64,7 +63,7 @@ var decodeFlac = /* @__PURE__ */ __name(async (bytes) => {
|
|
|
64
63
|
const decoder = new FLACDecoder();
|
|
65
64
|
await decoder.ready;
|
|
66
65
|
try {
|
|
67
|
-
return
|
|
66
|
+
return everyChannel(await decoder.decodeFile(bytes));
|
|
68
67
|
} finally {
|
|
69
68
|
decoder.free();
|
|
70
69
|
}
|
|
@@ -74,7 +73,7 @@ var decodeMp3 = /* @__PURE__ */ __name(async (bytes) => {
|
|
|
74
73
|
const decoder = new MPEGDecoder();
|
|
75
74
|
await decoder.ready;
|
|
76
75
|
try {
|
|
77
|
-
return
|
|
76
|
+
return everyChannel(decoder.decode(bytes));
|
|
78
77
|
} finally {
|
|
79
78
|
decoder.free();
|
|
80
79
|
}
|
|
@@ -142,18 +141,21 @@ var BUNDLED = {
|
|
|
142
141
|
flac: decodeFlac,
|
|
143
142
|
mp3: decodeMp3
|
|
144
143
|
};
|
|
145
|
-
var
|
|
144
|
+
var tooLong = /* @__PURE__ */ __name((pcm) => pcm.samples.length / pcm.rate > LONGEST_AUDIO_SECONDS, "tooLong");
|
|
145
|
+
var decodeChannels = /* @__PURE__ */ __name(async (bytes, ffmpeg = runFfmpeg) => {
|
|
146
146
|
const format = formatOf(bytes);
|
|
147
|
-
const
|
|
147
|
+
const decoded = format === "other" ? { channels: [await ffmpeg(bytes)], mixed: true } : await BUNDLED[format](bytes).then((channels) => ({ channels, mixed: false }), (error) => ffmpeg(bytes).then((pcm) => ({ channels: [pcm], mixed: true }), () => {
|
|
148
148
|
throw error;
|
|
149
149
|
}));
|
|
150
|
-
if (
|
|
150
|
+
if (decoded.channels.some(tooLong))
|
|
151
151
|
throw new CliError("validation_error", `the audio is longer than ${LONGEST_AUDIO_SECONDS / 60} minutes`);
|
|
152
|
-
return
|
|
153
|
-
}, "
|
|
152
|
+
return decoded;
|
|
153
|
+
}, "decodeChannels");
|
|
154
|
+
var decodeAudio = /* @__PURE__ */ __name(async (bytes, ffmpeg = runFfmpeg) => (await decodeChannels(bytes, ffmpeg)).channels[0], "decodeAudio");
|
|
154
155
|
export {
|
|
155
156
|
LONGEST_AUDIO_SECONDS,
|
|
156
157
|
decodeAudio,
|
|
158
|
+
decodeChannels,
|
|
157
159
|
formatOf,
|
|
158
160
|
runFfmpeg
|
|
159
161
|
};
|
package/dist/bundle/drive.js
CHANGED
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
exitCodeOfError,
|
|
7
7
|
processStreams,
|
|
8
8
|
renderError
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-HQVJK5E7.js";
|
|
10
|
+
import "./chunk-YKZ4IPLB.js";
|
|
11
11
|
import "./chunk-Y5E2WNWB.js";
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
@@ -17,9 +17,9 @@ import {
|
|
|
17
17
|
import { enableCompileCache } from "node:module";
|
|
18
18
|
enableCompileCache();
|
|
19
19
|
var [{ startCli }, { DRIVE_APP }, { REASONS }, { interactiveOf }] = await Promise.all([
|
|
20
|
-
import("./entry-
|
|
21
|
-
import("./identity-
|
|
22
|
-
import("./reasons-
|
|
20
|
+
import("./entry-IPRJLFHO.js"),
|
|
21
|
+
import("./identity-QLBSASO5.js"),
|
|
22
|
+
import("./reasons-M5AKCNCU.js"),
|
|
23
23
|
import("./terminal-TFCTWLOS.js")
|
|
24
24
|
]);
|
|
25
25
|
var program;
|
|
@@ -29,8 +29,8 @@ await startCli({
|
|
|
29
29
|
interactive: interactiveOf,
|
|
30
30
|
reasons: REASONS,
|
|
31
31
|
run: /* @__PURE__ */ __name(async (entry) => {
|
|
32
|
-
failure = await import("./failure-
|
|
33
|
-
const { createProgram } = await import("./program-
|
|
32
|
+
failure = await import("./failure-4CVEVY45.js");
|
|
33
|
+
const { createProgram } = await import("./program-6S5EH7BS.js");
|
|
34
34
|
program = createProgram({
|
|
35
35
|
signal: entry.signal,
|
|
36
36
|
atStart: entry.atStart,
|