@wirecat/drive-cli 0.46.0 → 0.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/age.d.ts +73 -0
- package/dist/age.d.ts.map +1 -0
- package/dist/age.js +44 -0
- package/dist/age.js.map +1 -0
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-O7CNQ7FO.js → all-profiles-WK2XXGPU.js} +5 -5
- package/dist/bundle/{anthropic-6T67J2CE.js → anthropic-R354D7GT.js} +3 -3
- package/dist/bundle/{app-server-BVBZT3UY.js → app-server-3YHJ757G.js} +46 -46
- package/dist/bundle/{bun-O6RL6LRQ.js → bun-JVDJVDHL.js} +2 -2
- package/dist/bundle/{bun-sqlite-54W7JUY3.js → bun-sqlite-KZCZWSRZ.js} +2 -2
- package/dist/bundle/{chunk-LOTQ2HMT.js → chunk-22LTNYO2.js} +3 -3
- package/dist/bundle/{chunk-5MGIL5LW.js → chunk-254VYUWN.js} +18 -15
- package/dist/bundle/{chunk-NLEB26GA.js → chunk-2BADVV4A.js} +2 -2
- package/dist/bundle/{chunk-XEBFFKXO.js → chunk-2CKGGIWF.js} +1 -1
- package/dist/bundle/{chunk-D67JGWSC.js → chunk-2ZFR67KY.js} +6 -3
- package/dist/bundle/{chunk-K74PQVQZ.js → chunk-3UHJC6HH.js} +6 -6
- package/dist/bundle/{chunk-44FV5JAS.js → chunk-45TPBTR3.js} +18 -18
- package/dist/bundle/{chunk-NP3XLLN3.js → chunk-463NMG57.js} +2 -2
- package/dist/bundle/{chunk-AOOD3RMK.js → chunk-467AQO7E.js} +5 -5
- package/dist/bundle/{chunk-FEULDMWM.js → chunk-46X7Z4FD.js} +1903 -1526
- package/dist/bundle/{chunk-IKNU5A5Y.js → chunk-4ORK4UAY.js} +2 -2
- package/dist/bundle/{chunk-GOR3Z2FR.js → chunk-5ISHP4TK.js} +1 -1
- package/dist/bundle/{chunk-R2A3K7ZF.js → chunk-5KR7BKDV.js} +4 -4
- package/dist/bundle/{chunk-GWPKIRNQ.js → chunk-624B6G64.js} +3 -3
- package/dist/bundle/{chunk-TRMIV3OA.js → chunk-65AW2AEQ.js} +1 -1
- package/dist/bundle/{chunk-BQUPOB5H.js → chunk-6Z3W7LTD.js} +7 -7
- package/dist/bundle/{chunk-XF5MFUEB.js → chunk-75VCGSNB.js} +10 -10
- package/dist/bundle/{chunk-K7FRUB33.js → chunk-7BA3HL7N.js} +32 -32
- package/dist/bundle/{chunk-NDNTLUPS.js → chunk-7WEISHFA.js} +1 -1
- package/dist/bundle/{chunk-GNFHZZ55.js → chunk-ABVFH76X.js} +4 -4
- package/dist/bundle/{chunk-BEXHAGXH.js → chunk-AN7HENGZ.js} +156 -144
- package/dist/bundle/{chunk-CFZWPIVC.js → chunk-BQV3WYXW.js} +26 -18
- package/dist/bundle/{chunk-SWMMR3FR.js → chunk-CB5NGX6E.js} +1 -1
- package/dist/bundle/{chunk-DL7D6Y3B.js → chunk-CCLDCM7J.js} +3320 -3282
- package/dist/bundle/{chunk-BHE7ZY2N.js → chunk-DKJGYYCP.js} +71 -43
- package/dist/bundle/{chunk-ZBM4GEV2.js → chunk-E2Y6GJZX.js} +3 -3
- package/dist/bundle/{chunk-CVIKKIGE.js → chunk-EF2RCQ3L.js} +1 -1
- package/dist/bundle/{chunk-DORXXBFC.js → chunk-EOZPMJJP.js} +5 -5
- package/dist/bundle/{chunk-GQW4GRYR.js → chunk-FB7I5JWC.js} +4 -4
- package/dist/bundle/{chunk-PDBBBUY7.js → chunk-FUJZ5S2Q.js} +8 -8
- package/dist/bundle/{chunk-OWXTPXIQ.js → chunk-FZQSGLHU.js} +10 -10
- package/dist/bundle/{chunk-4NGLRHWO.js → chunk-HBYE4EP2.js} +1 -1
- package/dist/bundle/{chunk-NB2N6L3R.js → chunk-HD3TFIT4.js} +5 -5
- package/dist/bundle/{chunk-HEPIOCHN.js → chunk-HF2T7E67.js} +55 -48
- package/dist/bundle/{chunk-NW7IMGRR.js → chunk-HIAO4MPA.js} +1 -1
- package/dist/bundle/{chunk-4DW6QGEV.js → chunk-HQ2PGEOK.js} +9 -9
- package/dist/bundle/{chunk-PH74B2VZ.js → chunk-HVM5LS5Z.js} +2 -2
- package/dist/bundle/{chunk-CKR3DVUK.js → chunk-IEAZAPC3.js} +20 -17
- package/dist/bundle/{chunk-GHOWRW7E.js → chunk-IRDGH7DV.js} +8 -1
- package/dist/bundle/{chunk-XAZQTJXR.js → chunk-IRNX4CO5.js} +16 -16
- package/dist/bundle/{chunk-LHIL46I3.js → chunk-ITZI7T2X.js} +1 -1
- package/dist/bundle/{chunk-NM26XAS2.js → chunk-JMOX454R.js} +1 -1
- package/dist/bundle/{chunk-AUS6TKP5.js → chunk-JMRHDZMV.js} +30 -30
- package/dist/bundle/{chunk-VHQNVG3J.js → chunk-JZ3SUK2M.js} +2 -2
- package/dist/bundle/{chunk-RJ633GFA.js → chunk-KK3BA4IS.js} +1 -1
- package/dist/bundle/{chunk-WUFCYDKB.js → chunk-KKZYZ32J.js} +1 -1
- package/dist/bundle/{chunk-VYBOYBLX.js → chunk-KYJYOZYG.js} +5 -5
- package/dist/bundle/{chunk-JVTVAZ5X.js → chunk-L5RZI2M5.js} +56 -17
- package/dist/bundle/{chunk-ZKXDI45R.js → chunk-LF7ACSTK.js} +1 -1
- package/dist/bundle/{chunk-LZ5OTVWH.js → chunk-MC77UZVA.js} +3 -3
- package/dist/bundle/{chunk-QWSRPXCJ.js → chunk-MP2UCK3Z.js} +4 -4
- package/dist/bundle/{chunk-LJARCTGL.js → chunk-NFU3OBCC.js} +3 -3
- package/dist/bundle/{chunk-3HRDEJJW.js → chunk-NVHB2MHX.js} +4 -4
- package/dist/bundle/{chunk-VCYFEWPD.js → chunk-NXFEZQDL.js} +25 -25
- package/dist/bundle/{chunk-G3FAOS52.js → chunk-P4NOTS3U.js} +2 -2
- package/dist/bundle/{chunk-5MYFPQDA.js → chunk-P4OU3OVF.js} +12 -12
- package/dist/bundle/{chunk-RCS2SCX5.js → chunk-P7INAZIT.js} +4 -4
- package/dist/bundle/{chunk-3Z7WSD2A.js → chunk-PPXNEHYX.js} +7 -7
- package/dist/bundle/{chunk-SMHQA5J6.js → chunk-QEM3MOSB.js} +14 -7
- package/dist/bundle/{chunk-KADPV4YA.js → chunk-R235IRSJ.js} +1 -1
- package/dist/bundle/{chunk-QTJUH3LS.js → chunk-RAAI3JLI.js} +1 -1
- package/dist/bundle/{chunk-KJMBV574.js → chunk-SSD2V4HR.js} +356 -304
- package/dist/bundle/{chunk-5TC3NCAF.js → chunk-U77RLMOK.js} +1 -1
- package/dist/bundle/{chunk-AIXLOMH4.js → chunk-W5EUHV3J.js} +1 -1
- package/dist/bundle/{chunk-IAW5A7OR.js → chunk-W5IDHD6C.js} +30 -26
- package/dist/bundle/{chunk-DXKVEOSS.js → chunk-XLJV3ZOH.js} +1 -1
- package/dist/bundle/{recognize-IFXOJHEA.js → chunk-XVXXWNAA.js} +6 -6
- package/dist/bundle/{chunk-IGMRWQP3.js → chunk-Y2AUB4TJ.js} +29 -25
- package/dist/bundle/{chunk-QW36EOAM.js → chunk-YOF5BC4G.js} +2 -2
- package/dist/bundle/{chunk-PJ7IQVOM.js → chunk-YYMHFXHK.js} +1 -1
- package/dist/bundle/{chunk-DDYR6DYL.js → chunk-ZK7Y5K63.js} +1 -1
- package/dist/bundle/command-contract-AEA45IX7.js +38 -0
- package/dist/bundle/decode-BE3VDYTJ.js +159 -0
- package/dist/bundle/drive.js +4 -4
- package/dist/bundle/{echarts-LD3AI55P.js → echarts-4OQHS575.js} +2 -2
- package/dist/bundle/{embed-FJKIIM43.js → embed-QR76SJDI.js} +3 -3
- package/dist/bundle/{embedder-NNQ5ZC25.js → embedder-EMIDKBYV.js} +6 -6
- package/dist/bundle/{entry-ZYSNPDSD.js → entry-FE4REJDO.js} +4 -4
- package/dist/bundle/{failure-M5HSCCJJ.js → failure-GYOTW6NN.js} +11 -11
- package/dist/bundle/{first-run-KA2UPZAU.js → first-run-ALPI62PX.js} +5 -5
- package/dist/bundle/first-screen-JLS57PIT.js +36 -0
- package/dist/bundle/{google-ZYDFTHLN.js → google-NV75VSCD.js} +4 -4
- package/dist/bundle/google-api-6623OUF2.js +82 -0
- package/dist/bundle/{identity-R5OKB5O5.js → identity-NZ7SP6OL.js} +2 -2
- package/dist/bundle/{instructions-RZMSW3OC.js → instructions-3QZBKKPF.js} +1 -1
- package/dist/bundle/{login-JU6NKW5P.js → login-KNBM6XUX.js} +54 -54
- package/dist/bundle/mcp-4NPK6BM3.js +95 -0
- package/dist/bundle/{mcp-Z362OMZG.js → mcp-XY2FGGUM.js} +68 -68
- package/dist/bundle/{node-ZRLYQL7J.js → node-R2BLYUSB.js} +2 -2
- package/dist/bundle/node-sqlite-PMRVP442.js +62 -0
- package/dist/bundle/{oauth-NAIBKERJ.js → oauth-NM2AKRRT.js} +4 -4
- package/dist/bundle/{open-3P5EPXPV.js → open-XZH5ZNDA.js} +1 -1
- package/dist/bundle/{process-LL77573L.js → process-IX5YWGDP.js} +1 -1
- package/dist/bundle/{program-PA2J6OFM.js → program-MDWQHGBY.js} +166 -96
- package/dist/bundle/{prompt-3TX2SWOY.js → prompt-5K6XGWSK.js} +2 -2
- package/dist/bundle/recognize-U7GDD6T2.js +22 -0
- package/dist/bundle/{remote-663M42Y5.js → remote-ZWXOGNQX.js} +4 -4
- package/dist/bundle/{rerank-OT2F2DBV.js → rerank-YRQBCS63.js} +4 -4
- package/dist/bundle/{serve-PDNNI6O6.js → serve-6PQ7K5RK.js} +6 -6
- package/dist/bundle/server-O7SS6NAY.js +56 -0
- package/dist/bundle/server-WT57TF6S.js +69 -0
- package/dist/bundle/{services-5MCTECBU.js → services-QBIQX236.js} +22 -22
- package/dist/bundle/{sqlite-runtime-BF3KDM7W.js → sqlite-runtime-7Q5UD2VR.js} +2 -2
- package/dist/bundle/{state-SZX65E74.js → state-U72TC26L.js} +3 -3
- package/dist/bundle/{store-TCWNLA3V.js → store-B4RAJ63G.js} +10 -10
- package/dist/bundle/{store-UKPGGAPW.js → store-FYABCSIH.js} +12 -12
- package/dist/bundle/store-maintenance-command-DAF5NI3T.js +57 -0
- package/dist/bundle/tokens-DISQJKDM.js +103 -0
- package/dist/commands/documents.d.ts +5 -1
- package/dist/commands/documents.d.ts.map +1 -1
- package/dist/commands/documents.js +21 -9
- package/dist/commands/documents.js.map +1 -1
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/mcp.js +8 -4
- package/dist/commands/mcp.js.map +1 -1
- package/dist/commands/remote.d.ts +8 -0
- package/dist/commands/remote.d.ts.map +1 -1
- package/dist/commands/remote.js +16 -0
- package/dist/commands/remote.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +4 -1
- package/dist/program.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/command-contract-MXCBV3GJ.js +0 -38
- package/dist/bundle/first-screen-VQ3RXDMF.js +0 -36
- package/dist/bundle/google-api-2GT5PAW2.js +0 -82
- package/dist/bundle/mcp-JOQMFGBC.js +0 -95
- package/dist/bundle/node-sqlite-TXPSRROT.js +0 -46
- package/dist/bundle/server-BFOEPMR7.js +0 -56
- package/dist/bundle/server-K566PJ7H.js +0 -69
- package/dist/bundle/store-maintenance-command-QHLUVBTJ.js +0 -57
- package/dist/bundle/tokens-DFCFRF7I.js +0 -103
- /package/dist/bundle/{chunk-Q2Z3VCM4.js → chunk-YLBNPI7H.js} +0 -0
|
@@ -42,7 +42,7 @@ 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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
469
469
|
var EVENT_QUERY = defineQuery({
|
|
470
470
|
entity: "event",
|
|
471
471
|
backend: "sql",
|
|
@@ -481,7 +481,30 @@ 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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
485
|
+
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
486
|
+
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
487
|
+
if (entry.recurrenceEndsAt !== null)
|
|
488
|
+
return entry.recurrenceEndsAt;
|
|
489
|
+
const rule = entry.recurrence?.find((line2) => /^RRULE:/iu.test(line2));
|
|
490
|
+
const until = rule === void 0 ? null : UNTIL.exec(rule.slice("RRULE:".length));
|
|
491
|
+
if (!until)
|
|
492
|
+
return Number.POSITIVE_INFINITY;
|
|
493
|
+
const [, year, month, day, hour = "23", minute = "59", second = "59"] = until;
|
|
494
|
+
return Date.UTC(Number(year), Number(month) - 1, Number(day), Number(hour), Number(minute), Number(second)) + 864e5;
|
|
495
|
+
}, "seriesEnd");
|
|
496
|
+
var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
|
|
497
|
+
if (entry.kind === "occurrence" && !entry.exception)
|
|
498
|
+
return entry.originalStartsAt !== null && entry.originalStartsAt >= window.from && entry.originalStartsAt < window.to;
|
|
499
|
+
const start = entry.startsAt ?? (entry.kind === "occurrence" ? entry.originalStartsAt : null);
|
|
500
|
+
if (start === null || start >= window.to)
|
|
501
|
+
return false;
|
|
502
|
+
if (entry.kind === "series")
|
|
503
|
+
return seriesEnd(entry) >= window.from;
|
|
504
|
+
return Math.max(entry.endsAt ?? start, start + 1) > window.from;
|
|
505
|
+
}, "entryInWindow");
|
|
506
|
+
|
|
507
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
485
508
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
|
|
486
509
|
const current = await store.meeting(details.meeting.id);
|
|
487
510
|
if (!current)
|
|
@@ -524,7 +547,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
524
547
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
525
548
|
}, "linkEvent");
|
|
526
549
|
|
|
527
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
550
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
528
551
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text7) => text7.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
529
552
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
530
553
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -548,7 +571,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
548
571
|
};
|
|
549
572
|
}, "validateMeetingParticipantSearch");
|
|
550
573
|
|
|
551
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
574
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
552
575
|
var MeetingError = class extends CliError {
|
|
553
576
|
static {
|
|
554
577
|
__name(this, "MeetingError");
|
|
@@ -581,7 +604,11 @@ var meetingShow = /* @__PURE__ */ __name(async (store, id4, accountId) => {
|
|
|
581
604
|
throw new MeetingError("not_found", "meeting not found");
|
|
582
605
|
return details;
|
|
583
606
|
}, "meetingShow");
|
|
584
|
-
var listed = /* @__PURE__ */ __name((items
|
|
607
|
+
var listed = /* @__PURE__ */ __name((items, page = { limit: items.length, hasMore: false }) => ({
|
|
608
|
+
items,
|
|
609
|
+
page: 1,
|
|
610
|
+
...page
|
|
611
|
+
}), "listed");
|
|
585
612
|
var meetingPeople = /* @__PURE__ */ __name(async (store, query, accountId, options = {}) => {
|
|
586
613
|
if (accountId === void 0)
|
|
587
614
|
validateMeetingParticipantQuery(query);
|
|
@@ -676,7 +703,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id4, accountId)
|
|
|
676
703
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
677
704
|
}, "meetingSummaryAnswer");
|
|
678
705
|
|
|
679
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
706
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
680
707
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
681
708
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
682
709
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -772,10 +799,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id4, options) => {
|
|
|
772
799
|
};
|
|
773
800
|
}, "exportMeeting");
|
|
774
801
|
|
|
775
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
802
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
776
803
|
import { createHash as createHash2 } from "node:crypto";
|
|
777
804
|
|
|
778
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
805
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/provider.js
|
|
779
806
|
var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
780
807
|
const provider = scope2?.provider;
|
|
781
808
|
const account = scope2?.account;
|
|
@@ -784,7 +811,7 @@ var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
|
784
811
|
return Object.freeze({ provider, account });
|
|
785
812
|
}, "snapshotMeetingScope");
|
|
786
813
|
|
|
787
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
814
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
788
815
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
789
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)))
|
|
790
817
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone`);
|
|
@@ -795,7 +822,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
795
822
|
return new Date(value).toISOString();
|
|
796
823
|
}, "meetingTimestamp");
|
|
797
824
|
|
|
798
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
825
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
799
826
|
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
800
827
|
if (typeof value !== "string" || !value.trim())
|
|
801
828
|
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
@@ -861,7 +888,7 @@ var dispatchMeetingMutation = /* @__PURE__ */ __name(async (options, dispatch) =
|
|
|
861
888
|
return { applied: true, value: await dispatch(signal) };
|
|
862
889
|
}, "dispatchMeetingMutation");
|
|
863
890
|
|
|
864
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
891
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/meeting-context.js
|
|
865
892
|
var MEETING_FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
866
893
|
var id = /* @__PURE__ */ __name((value) => {
|
|
867
894
|
if (typeof value !== "number" || !Number.isSafeInteger(value) || value < 1)
|
|
@@ -984,7 +1011,7 @@ var createMeetingContext = /* @__PURE__ */ __name((scope2, accountId, ports) =>
|
|
|
984
1011
|
};
|
|
985
1012
|
}, "createMeetingContext");
|
|
986
1013
|
|
|
987
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1014
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
988
1015
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
989
1016
|
var invalid2 = /* @__PURE__ */ __name((message) => {
|
|
990
1017
|
throw new CliError("validation_error", message);
|
|
@@ -1085,7 +1112,7 @@ var validateFindings = /* @__PURE__ */ __name((input, rules) => {
|
|
|
1085
1112
|
}, "validateFindings");
|
|
1086
1113
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
1087
1114
|
|
|
1088
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
1089
1116
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
1090
1117
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
1091
1118
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -1096,7 +1123,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
1096
1123
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
1097
1124
|
var meetingFindingFingerprint = findingFingerprint;
|
|
1098
1125
|
|
|
1099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1126
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
1100
1127
|
var context = {
|
|
1101
1128
|
command: "search meetings",
|
|
1102
1129
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -1215,7 +1242,7 @@ var meetingWordsQuery = /* @__PURE__ */ __name((text7) => {
|
|
|
1215
1242
|
return { version: 1, language: "lucene-v1", root };
|
|
1216
1243
|
}, "meetingWordsQuery");
|
|
1217
1244
|
|
|
1218
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1245
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
1219
1246
|
var contentHash = /* @__PURE__ */ __name(async (text7) => {
|
|
1220
1247
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text7));
|
|
1221
1248
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -1252,7 +1279,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
1252
1279
|
return time;
|
|
1253
1280
|
}, "timestamp");
|
|
1254
1281
|
|
|
1255
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1282
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
1256
1283
|
var TranscriptTextError = class extends Error {
|
|
1257
1284
|
static {
|
|
1258
1285
|
__name(this, "TranscriptTextError");
|
|
@@ -1307,7 +1334,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
1307
1334
|
return { header, lines };
|
|
1308
1335
|
}, "parseTranscriptText");
|
|
1309
1336
|
|
|
1310
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1337
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
1311
1338
|
var VttError = class extends Error {
|
|
1312
1339
|
static {
|
|
1313
1340
|
__name(this, "VttError");
|
|
@@ -1359,7 +1386,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
1359
1386
|
return cues;
|
|
1360
1387
|
}, "parseVtt");
|
|
1361
1388
|
|
|
1362
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1389
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
1363
1390
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
1364
1391
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
1365
1392
|
for (const file of files) {
|
|
@@ -1392,10 +1419,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
1392
1419
|
return report;
|
|
1393
1420
|
}, "importFiles");
|
|
1394
1421
|
|
|
1395
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1422
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
1396
1423
|
var CHAT_MESSAGES_READ = 1e5;
|
|
1397
1424
|
|
|
1398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1425
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
1399
1426
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
1400
1427
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
1401
1428
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -1420,7 +1447,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
1420
1447
|
return { ...input, limit, maxReadBytes };
|
|
1421
1448
|
}, "validateMeetingPreparationContext");
|
|
1422
1449
|
|
|
1423
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
1424
1451
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
1425
1452
|
var id2 = pipe(string(), minLength(1));
|
|
1426
1453
|
var meetingProjectEvidence = strictObject({
|
|
@@ -1541,7 +1568,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
1541
1568
|
};
|
|
1542
1569
|
}, "meetingProjectEvidenceAnswer");
|
|
1543
1570
|
|
|
1544
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1571
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
1545
1572
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
1546
1573
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
1547
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) || [
|
|
@@ -1561,7 +1588,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
1561
1588
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
1562
1589
|
}, "validateMeetingHitSearch");
|
|
1563
1590
|
|
|
1564
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1591
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
1565
1592
|
var ids = {
|
|
1566
1593
|
meeting_id: "meetingId",
|
|
1567
1594
|
identity_id: "participantIdentityId",
|
|
@@ -1652,7 +1679,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
|
|
|
1652
1679
|
return { project: project.trim(), options, query: frozen.join(" AND ") };
|
|
1653
1680
|
}, "prepareMeetingProjectEvidence");
|
|
1654
1681
|
|
|
1655
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1682
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
1656
1683
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
|
|
1657
1684
|
const prepared = prepareMeetingProjectEvidence(project, request, now);
|
|
1658
1685
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -1660,7 +1687,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
|
|
|
1660
1687
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
1661
1688
|
}, "readMeetingProjectEvidence");
|
|
1662
1689
|
|
|
1663
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1690
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
1664
1691
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
1665
1692
|
const { identityExternalId, ...fields3 } = p;
|
|
1666
1693
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -1799,7 +1826,7 @@ unlinked`, format)],
|
|
|
1799
1826
|
return report;
|
|
1800
1827
|
}, "pull");
|
|
1801
1828
|
|
|
1802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1829
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
1803
1830
|
var text5 = string();
|
|
1804
1831
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
1805
1832
|
var id3 = pipe(number(), integer(), minValue(1));
|
|
@@ -1964,10 +1991,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
1964
1991
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
1965
1992
|
}), "eventItem");
|
|
1966
1993
|
|
|
1967
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1994
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
1968
1995
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
1969
1996
|
|
|
1970
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1997
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
1971
1998
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
1972
1999
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
1973
2000
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -1997,7 +2024,7 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
1997
2024
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
1998
2025
|
}, "validateMeetingRelatedHistory");
|
|
1999
2026
|
|
|
2000
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2027
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
2001
2028
|
var text6 = string();
|
|
2002
2029
|
var identifier = pipe(text6, minLength(1));
|
|
2003
2030
|
var nullableText = nullable(text6);
|
|
@@ -2123,14 +2150,14 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
2123
2150
|
meeting_embedding: embedding
|
|
2124
2151
|
};
|
|
2125
2152
|
|
|
2126
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
2127
2154
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
2128
2155
|
|
|
2129
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2156
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
2130
2157
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
2131
2158
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
2132
2159
|
|
|
2133
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2160
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
2134
2161
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
2135
2162
|
input.signal?.throwIfAborted();
|
|
2136
2163
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -2151,10 +2178,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
2151
2178
|
return { ...input, limit, maxReadBytes };
|
|
2152
2179
|
}, "validateMeetingSeriesHistory");
|
|
2153
2180
|
|
|
2154
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2181
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
2155
2182
|
var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
|
|
2156
2183
|
|
|
2157
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2184
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
2158
2185
|
function invalid3(field, response = false) {
|
|
2159
2186
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
2160
2187
|
}
|
|
@@ -2183,7 +2210,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
2183
2210
|
cursorDetails(value);
|
|
2184
2211
|
}, "validateMeetingSeriesInventoryCursor");
|
|
2185
2212
|
|
|
2186
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2213
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
2187
2214
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
2188
2215
|
const zone = timeZone ?? "UTC";
|
|
2189
2216
|
try {
|
|
@@ -2262,7 +2289,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
2262
2289
|
};
|
|
2263
2290
|
}, "aggregateMeetingStats");
|
|
2264
2291
|
|
|
2265
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2292
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/domain/tags.js
|
|
2266
2293
|
var TAG_TYPES = ["chat", "contact", "message", "task"];
|
|
2267
2294
|
var TAG = /^[a-z0-9-]{1,32}$/;
|
|
2268
2295
|
var tagOf = /* @__PURE__ */ __name((value) => {
|
|
@@ -2296,6 +2323,7 @@ export {
|
|
|
2296
2323
|
entryMetadata,
|
|
2297
2324
|
meetingCueFingerprint,
|
|
2298
2325
|
EVENT_QUERY,
|
|
2326
|
+
entryInWindow,
|
|
2299
2327
|
normalizeMeetingParticipantQuery,
|
|
2300
2328
|
validateMeetingParticipantSearch,
|
|
2301
2329
|
MeetingError,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
unknown
|
|
20
20
|
} from "./chunk-BJ3JRO34.js";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
23
23
|
var text = string();
|
|
24
24
|
var id = pipe(string(), minLength(1));
|
|
25
25
|
var time = isoTime;
|
|
@@ -33,7 +33,7 @@ var author = strictObject({
|
|
|
33
33
|
name: nullable(text)
|
|
34
34
|
});
|
|
35
35
|
|
|
36
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
36
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
37
37
|
var link = {
|
|
38
38
|
target_text: nullable(text),
|
|
39
39
|
kind: text,
|
|
@@ -74,7 +74,7 @@ var note = strictObject({
|
|
|
74
74
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
77
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
78
78
|
var organization = strictObject({
|
|
79
79
|
id,
|
|
80
80
|
ref: reference,
|
|
@@ -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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
|
|
8
8
|
import { PassThrough, Writable } from "node:stream";
|
|
9
9
|
var lineReader = /* @__PURE__ */ __name((onMessage) => {
|
|
10
10
|
let rest = "";
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
LEVELS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YYMHFXHK.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
singleLine,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
__name
|
|
34
34
|
} from "./chunk-ZVVMGPBJ.js";
|
|
35
35
|
|
|
36
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
36
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/resolve.js
|
|
37
37
|
var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
|
|
38
38
|
var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase(), "foldName");
|
|
39
39
|
var pickChat = /* @__PURE__ */ __name((reference, chats) => {
|
|
@@ -71,7 +71,7 @@ ${lines}`, { candidates });
|
|
|
71
71
|
}, "ambiguous");
|
|
72
72
|
var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
|
|
73
73
|
|
|
74
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
74
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/domain/formatting.js
|
|
75
75
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
|
|
76
76
|
var validateFormattedText = /* @__PURE__ */ __name((formatted) => {
|
|
77
77
|
const { text, spans } = formatted;
|
|
@@ -131,7 +131,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted) => {
|
|
|
131
131
|
};
|
|
132
132
|
}, "visibleFormattedText");
|
|
133
133
|
|
|
134
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
134
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/moderation/check.js
|
|
135
135
|
var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
|
|
136
136
|
var LINK = /https?:\/\/\S+/i;
|
|
137
137
|
var STRENGTH = { report: 0, delete: 1, remove: 2 };
|
|
@@ -319,7 +319,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
|
|
|
319
319
|
}, "nextPoint");
|
|
320
320
|
var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
|
|
321
321
|
|
|
322
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
322
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/moderation/rules.js
|
|
323
323
|
import { existsSync, readFileSync } from "node:fs";
|
|
324
324
|
import { join } from "node:path";
|
|
325
325
|
var RULE_ACTIONS = ["report", "delete", "remove"];
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
storePath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-65AW2AEQ.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
singleLine
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
18
18
|
import { mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname, join, resolve } from "node:path";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
|
|
22
22
|
var DEFAULT_TASK_CATEGORIES = [
|
|
23
23
|
{
|
|
24
24
|
name: "taxes",
|
|
@@ -773,7 +773,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
|
|
|
773
773
|
}
|
|
774
774
|
}, "storedTaskCategories");
|
|
775
775
|
|
|
776
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
777
777
|
var SECTION = "task_categories";
|
|
778
778
|
var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
|
|
779
779
|
const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
|
|
@@ -3,10 +3,10 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
envName,
|
|
5
5
|
readOnlyLockOf
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KK3BA4IS.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureSqlite
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YOF5BC4G.js";
|
|
10
10
|
import {
|
|
11
11
|
catchCrashes
|
|
12
12
|
} from "./chunk-VHT2WI4I.js";
|
|
@@ -17,17 +17,17 @@ 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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/entry.js
|
|
21
21
|
import { spawn } from "node:child_process";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
|
|
24
24
|
import { appendFileSync } from "node:fs";
|
|
25
25
|
var logVersion = /* @__PURE__ */ __name((file) => {
|
|
26
26
|
appendFileSync(file, `${JSON.stringify({ command: "", options: ["--version"] })}
|
|
27
27
|
`);
|
|
28
28
|
}, "logVersion");
|
|
29
29
|
|
|
30
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/entry.js
|
|
31
31
|
var processIo = /* @__PURE__ */ __name(() => ({
|
|
32
32
|
argv: process.argv,
|
|
33
33
|
env: process.env,
|
|
@@ -81,8 +81,8 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
81
81
|
if (command.optsWithGlobals().dryRun === true)
|
|
82
82
|
return;
|
|
83
83
|
const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
|
|
84
|
-
import("./first-run-
|
|
85
|
-
import("./command-contract-
|
|
84
|
+
import("./first-run-ALPI62PX.js"),
|
|
85
|
+
import("./command-contract-AEA45IX7.js")
|
|
86
86
|
]);
|
|
87
87
|
await setupAtStart({
|
|
88
88
|
command: entry.app.command,
|
|
@@ -97,7 +97,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
97
97
|
ask: /* @__PURE__ */ __name(async (question, command) => {
|
|
98
98
|
if (headless(command) || io.stdin.isTTY !== true)
|
|
99
99
|
return false;
|
|
100
|
-
const { readSecret } = await import("./prompt-
|
|
100
|
+
const { readSecret } = await import("./prompt-5K6XGWSK.js");
|
|
101
101
|
const answer = await readSecret(`${question} [y/N] `, {
|
|
102
102
|
input: io.stdin,
|
|
103
103
|
output: io.stderr,
|