@wirecat/tg-cli 0.106.0 → 0.108.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/tg.js +2 -2
- package/dist/bundle/{adapter-TIGHDHUK.js → adapter-YFWRJWL5.js} +37 -37
- package/dist/bundle/{all-profiles-N4DLSGWY.js → all-profiles-GQIZSF4W.js} +5 -5
- package/dist/bundle/{anthropic-D2T2QRLR.js → anthropic-BKWEDKPU.js} +3 -3
- package/dist/bundle/{app-server-FZTDNSPB.js → app-server-RJV7ICLH.js} +34 -34
- package/dist/bundle/{bot-api-OMUV6EIK.js → bot-api-2PAH2JZ3.js} +38 -38
- package/dist/bundle/{bot-history-P2MWYLXW.js → bot-history-DPPZ43F4.js} +10 -10
- package/dist/bundle/{bun-UA5PRMLC.js → bun-Q7COX3Z5.js} +2 -2
- package/dist/bundle/{bun-sqlite-XVRVJ7A2.js → bun-sqlite-YI4AYZXO.js} +2 -2
- package/dist/bundle/{chunk-ELQ5ORY2.js → chunk-26PWIQPP.js} +195 -195
- package/dist/bundle/{chunk-R2F6U4F3.js → chunk-3562DVQ7.js} +7 -7
- package/dist/bundle/{chunk-QWTHUKS4.js → chunk-3GXKJKIC.js} +4 -4
- package/dist/bundle/{chunk-XX37LKXG.js → chunk-3HYDKCXB.js} +4 -4
- package/dist/bundle/{chunk-ID6TO5P5.js → chunk-4RDMNNVO.js} +14 -9
- package/dist/bundle/{chunk-XXLAGQDN.js → chunk-5HPXENE5.js} +1 -1
- package/dist/bundle/{chunk-T3ZLOMWW.js → chunk-5P27JGGA.js} +4 -4
- package/dist/bundle/{chunk-WLGQTYIO.js → chunk-6MZ2ZBX4.js} +2 -2
- package/dist/bundle/{chunk-DC7O7TVJ.js → chunk-6QTUYMGX.js} +1 -1
- package/dist/bundle/{chunk-JOSUY2NX.js → chunk-76OSISA3.js} +1 -1
- package/dist/bundle/{chunk-LSP2NCNL.js → chunk-77OOX2OE.js} +47 -47
- package/dist/bundle/{chunk-C2MKA7SX.js → chunk-AOUB2QFP.js} +1 -1
- package/dist/bundle/{recognize-T5TPTI6P.js → chunk-AS2BVZU3.js} +6 -6
- package/dist/bundle/{chunk-LGKLQE2I.js → chunk-B7TFWNKJ.js} +1 -1
- package/dist/bundle/{chunk-XFXTB522.js → chunk-BL72ZIBV.js} +1 -1
- package/dist/bundle/{chunk-C6NTI37N.js → chunk-BOSMBW4I.js} +10 -10
- package/dist/bundle/{chunk-2J3TUUCO.js → chunk-BT6PWDM6.js} +2 -2
- package/dist/bundle/{chunk-VYFKWPIS.js → chunk-CVWF3BFK.js} +42 -42
- package/dist/bundle/{chunk-E5Z4FGRD.js → chunk-CZANI3DM.js} +20 -20
- package/dist/bundle/{chunk-ADLIUGL2.js → chunk-D6DBVPES.js} +2 -2
- package/dist/bundle/{chunk-XMKKBDEW.js → chunk-DNOJKQXQ.js} +289 -264
- package/dist/bundle/{chunk-AQSKZMBD.js → chunk-DUWTG2GE.js} +7 -7
- package/dist/bundle/{chunk-PEIDCYF5.js → chunk-EBB7RFCW.js} +1 -1
- package/dist/bundle/{chunk-FO33YFWF.js → chunk-EWL3ZFOI.js} +5 -5
- package/dist/bundle/{chunk-QI75LME5.js → chunk-F67VPIJL.js} +26 -26
- package/dist/bundle/{chunk-DECFDUNW.js → chunk-KQFR7ZAA.js} +11 -11
- package/dist/bundle/{chunk-EPKGNUOZ.js → chunk-KZPZFPGB.js} +20 -20
- package/dist/bundle/{chunk-67GS5BZI.js → chunk-LY2LFJMU.js} +92 -92
- package/dist/bundle/{chunk-7P6ZCUPN.js → chunk-LYLGLFWY.js} +2 -2
- package/dist/bundle/{chunk-T5OFRHDS.js → chunk-NCXCBVHO.js} +5 -5
- package/dist/bundle/{chunk-GD6BOLZP.js → chunk-OB5PPPXH.js} +11 -6
- package/dist/bundle/{chunk-6BQUCCBD.js → chunk-ON67U6WV.js} +4 -4
- package/dist/bundle/{chunk-T4UTTH3A.js → chunk-PCMW3PW6.js} +1 -1
- package/dist/bundle/{chunk-2GQCWNX5.js → chunk-PQHYM2XC.js} +1 -1
- package/dist/bundle/{chunk-PHPXTRMS.js → chunk-QVIT6SQ5.js} +1888 -1562
- package/dist/bundle/{chunk-EW3Y44NV.js → chunk-R5YOKYTE.js} +9 -9
- package/dist/bundle/{chunk-WPRLG5SL.js → chunk-REI5TPS3.js} +8 -8
- package/dist/bundle/{chunk-EUTOFAUT.js → chunk-SONKULUF.js} +2 -2
- package/dist/bundle/{chunk-GHAQXUH3.js → chunk-TVA3NXXO.js} +1 -1
- package/dist/bundle/{chunk-QQYM26DA.js → chunk-VK2YLSK7.js} +1 -1
- package/dist/bundle/{chunk-BLWCHZCW.js → chunk-WEDWIXIC.js} +2 -2
- package/dist/bundle/{chunk-V7OXTQBY.js → chunk-WKSLGPZQ.js} +3 -3
- package/dist/bundle/{chunk-XQV7EMAI.js → chunk-WUF64WOG.js} +4 -4
- package/dist/bundle/{chunk-PAHBZPZN.js → chunk-XZXOGHU5.js} +70 -46
- package/dist/bundle/{chunk-6XXI3AHJ.js → chunk-YJ6GFFEE.js} +1 -1
- package/dist/bundle/{chunk-ONK66VVG.js → chunk-ZHHVNTBJ.js} +1 -1
- package/dist/bundle/{chunk-BZUO2KFV.js → chunk-ZYBDAZFO.js} +1 -1
- package/dist/bundle/{command-contract-N5FA573V.js → command-contract-5GJV6EHG.js} +12 -12
- package/dist/bundle/decode-ZFAFVFWX.js +159 -0
- package/dist/bundle/{echarts-WLPTUTMR.js → echarts-SVXNTKGV.js} +2 -2
- package/dist/bundle/{embed-IALJOWZJ.js → embed-V755YE7O.js} +3 -3
- package/dist/bundle/{embedder-ZY2TS2XJ.js → embedder-MQAPNQBH.js} +6 -6
- package/dist/bundle/{entry-67RA75VS.js → entry-ULQ3VOMQ.js} +3 -3
- package/dist/bundle/{first-run-QN3UUBJW.js → first-run-64BTWXDR.js} +5 -5
- package/dist/bundle/{first-screen-FK4ZJQJY.js → first-screen-YZCH4TEV.js} +13 -13
- package/dist/bundle/{identity-X3YA364I.js → identity-PW45VBUU.js} +1 -1
- package/dist/bundle/{instructions-355MU4CT.js → instructions-G3ZUIRRH.js} +1 -1
- package/dist/bundle/{node-UGJWZLVB.js → node-IDJXLZSX.js} +2 -2
- package/dist/bundle/node-sqlite-W22J37MG.js +62 -0
- package/dist/bundle/{oauth-EZGVL3PP.js → oauth-Q52LBXDE.js} +4 -4
- package/dist/bundle/{open-ANYJ5AKD.js → open-YLD7VHEC.js} +1 -1
- package/dist/bundle/{process-JVAQXITD.js → process-OBESF2XG.js} +1 -1
- package/dist/bundle/{program-QGSZY5SZ.js → program-EBMWHOKQ.js} +40 -40
- package/dist/bundle/{prompt-EWF4ZSJO.js → prompt-FHHQF3MG.js} +2 -2
- package/dist/bundle/recognize-QNHKHGKM.js +22 -0
- package/dist/bundle/{remote-KOAALKIC.js → remote-RVZWRCCT.js} +4 -4
- package/dist/bundle/{rerank-MCXFZFRH.js → rerank-KG2USEME.js} +4 -4
- package/dist/bundle/{serve-QEVXXJ2G.js → serve-I4MJKEQ4.js} +6 -6
- package/dist/bundle/server-AXMWFPNT.js +55 -0
- package/dist/bundle/{server-Y3ZLG44J.js → server-GV7SV3L6.js} +26 -26
- package/dist/bundle/{state-F2ZJV2VP.js → state-AJKHWFBU.js} +3 -3
- package/dist/bundle/{store-QX7HBTOW.js → store-L3HFSSGJ.js} +7 -7
- package/dist/bundle/store-maintenance-command-Y22ARSDR.js +44 -0
- package/dist/bundle/tg.js +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/node-sqlite-FJFIOC3K.js +0 -46
- package/dist/bundle/server-6QM3GFZX.js +0 -55
- package/dist/bundle/store-maintenance-command-ZBOQSTHY.js +0 -44
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
__name
|
|
42
42
|
} from "./chunk-ZVVMGPBJ.js";
|
|
43
43
|
|
|
44
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
44
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/domain/tags.js
|
|
45
45
|
var TAG_TYPES = ["chat", "contact", "message", "task"];
|
|
46
46
|
var TAG = /^[a-z0-9-]{1,32}$/;
|
|
47
47
|
var tagOf = /* @__PURE__ */ __name((value) => {
|
|
@@ -839,7 +839,7 @@ var fieldsHelp = /* @__PURE__ */ __name((registry, guide) => {
|
|
|
839
839
|
].join("\n");
|
|
840
840
|
}, "fieldsHelp");
|
|
841
841
|
|
|
842
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
842
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
843
843
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
844
844
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
845
845
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -876,7 +876,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text6) => {
|
|
|
876
876
|
}, "parseMeetingReference");
|
|
877
877
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text6) => formatMeetingReference(parseMeetingReference(text6)), "canonicalMeetingReference");
|
|
878
878
|
|
|
879
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
879
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
880
880
|
var text = string();
|
|
881
881
|
var count = pipe(number(), integer(), minValue(0));
|
|
882
882
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -941,7 +941,7 @@ var MEETING_QUERY = {
|
|
|
941
941
|
})
|
|
942
942
|
};
|
|
943
943
|
|
|
944
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
944
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
945
945
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
946
946
|
const parsed = urlOf(url);
|
|
947
947
|
if (!parsed)
|
|
@@ -975,7 +975,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
975
975
|
}
|
|
976
976
|
}, "urlOf");
|
|
977
977
|
|
|
978
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
978
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
979
979
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
980
980
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
981
981
|
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");
|
|
@@ -1008,7 +1008,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
1008
1008
|
return kept;
|
|
1009
1009
|
}, "entryMetadata");
|
|
1010
1010
|
|
|
1011
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1011
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
1012
1012
|
import { createHash } from "node:crypto";
|
|
1013
1013
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
1014
1014
|
reference: cue2.reference,
|
|
@@ -1022,7 +1022,30 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
1022
1022
|
text: cue2.text
|
|
1023
1023
|
})).digest("hex"), "meetingCueFingerprint");
|
|
1024
1024
|
|
|
1025
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1025
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
1026
|
+
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
1027
|
+
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
1028
|
+
if (entry.recurrenceEndsAt !== null)
|
|
1029
|
+
return entry.recurrenceEndsAt;
|
|
1030
|
+
const rule = entry.recurrence?.find((line2) => /^RRULE:/iu.test(line2));
|
|
1031
|
+
const until = rule === void 0 ? null : UNTIL.exec(rule.slice("RRULE:".length));
|
|
1032
|
+
if (!until)
|
|
1033
|
+
return Number.POSITIVE_INFINITY;
|
|
1034
|
+
const [, year, month, day, hour = "23", minute = "59", second = "59"] = until;
|
|
1035
|
+
return Date.UTC(Number(year), Number(month) - 1, Number(day), Number(hour), Number(minute), Number(second)) + 864e5;
|
|
1036
|
+
}, "seriesEnd");
|
|
1037
|
+
var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
|
|
1038
|
+
if (entry.kind === "occurrence" && !entry.exception)
|
|
1039
|
+
return entry.originalStartsAt !== null && entry.originalStartsAt >= window.from && entry.originalStartsAt < window.to;
|
|
1040
|
+
const start = entry.startsAt ?? (entry.kind === "occurrence" ? entry.originalStartsAt : null);
|
|
1041
|
+
if (start === null || start >= window.to)
|
|
1042
|
+
return false;
|
|
1043
|
+
if (entry.kind === "series")
|
|
1044
|
+
return seriesEnd(entry) >= window.from;
|
|
1045
|
+
return Math.max(entry.endsAt ?? start, start + 1) > window.from;
|
|
1046
|
+
}, "entryInWindow");
|
|
1047
|
+
|
|
1048
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
1026
1049
|
var text2 = string();
|
|
1027
1050
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
1028
1051
|
var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
@@ -1249,7 +1272,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
1249
1272
|
};
|
|
1250
1273
|
}, "meetingHitsList");
|
|
1251
1274
|
|
|
1252
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1275
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
1253
1276
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text6) => text6.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
1254
1277
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
1255
1278
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -1273,7 +1296,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
1273
1296
|
};
|
|
1274
1297
|
}, "validateMeetingParticipantSearch");
|
|
1275
1298
|
|
|
1276
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1299
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
1277
1300
|
var MeetingError = class extends CliError {
|
|
1278
1301
|
static {
|
|
1279
1302
|
__name(this, "MeetingError");
|
|
@@ -1405,7 +1428,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id3, accountId)
|
|
|
1405
1428
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
1406
1429
|
}, "meetingSummaryAnswer");
|
|
1407
1430
|
|
|
1408
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1431
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
1409
1432
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
1410
1433
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
1411
1434
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -1501,10 +1524,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id3, options) => {
|
|
|
1501
1524
|
};
|
|
1502
1525
|
}, "exportMeeting");
|
|
1503
1526
|
|
|
1504
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1527
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1505
1528
|
import { createHash as createHash2 } from "node:crypto";
|
|
1506
1529
|
|
|
1507
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1530
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
1508
1531
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
1509
1532
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
1510
1533
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone`);
|
|
@@ -1515,7 +1538,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
1515
1538
|
return new Date(value).toISOString();
|
|
1516
1539
|
}, "meetingTimestamp");
|
|
1517
1540
|
|
|
1518
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1541
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
1519
1542
|
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
1520
1543
|
if (typeof value !== "string" || !value.trim())
|
|
1521
1544
|
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
@@ -1566,10 +1589,10 @@ var validateMeetingChange = /* @__PURE__ */ __name((change, create) => {
|
|
|
1566
1589
|
return Object.freeze(result);
|
|
1567
1590
|
}, "validateMeetingChange");
|
|
1568
1591
|
|
|
1569
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1592
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/meeting-context.js
|
|
1570
1593
|
var MEETING_FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
1571
1594
|
|
|
1572
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1595
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1573
1596
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
1574
1597
|
var invalid2 = /* @__PURE__ */ __name((message) => {
|
|
1575
1598
|
throw new CliError("validation_error", message);
|
|
@@ -1670,7 +1693,7 @@ var validateFindings = /* @__PURE__ */ __name((input, rules) => {
|
|
|
1670
1693
|
}, "validateFindings");
|
|
1671
1694
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
1672
1695
|
|
|
1673
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1696
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
1674
1697
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
1675
1698
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
1676
1699
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -1681,7 +1704,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
1681
1704
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
1682
1705
|
var meetingFindingFingerprint = findingFingerprint;
|
|
1683
1706
|
|
|
1684
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1707
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
1685
1708
|
var text4 = string();
|
|
1686
1709
|
var identifier = pipe(text4, minLength(1));
|
|
1687
1710
|
var nullableText = nullable(text4);
|
|
@@ -1807,7 +1830,7 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
1807
1830
|
meeting_embedding: embedding
|
|
1808
1831
|
};
|
|
1809
1832
|
|
|
1810
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1833
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
1811
1834
|
var EVENT_QUERY = defineQuery({
|
|
1812
1835
|
entity: "event",
|
|
1813
1836
|
backend: "sql",
|
|
@@ -1823,7 +1846,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
1823
1846
|
]
|
|
1824
1847
|
});
|
|
1825
1848
|
|
|
1826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1849
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
1827
1850
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
|
|
1828
1851
|
const current = await store.meeting(details.meeting.id);
|
|
1829
1852
|
if (!current)
|
|
@@ -1866,7 +1889,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
1866
1889
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
1867
1890
|
}, "linkEvent");
|
|
1868
1891
|
|
|
1869
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1892
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
1870
1893
|
var context = {
|
|
1871
1894
|
command: "search meetings",
|
|
1872
1895
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -1929,7 +1952,7 @@ var MEETING_FIELDS = defineQuery({
|
|
|
1929
1952
|
});
|
|
1930
1953
|
var parseMeetingQuery = /* @__PURE__ */ __name((query) => validateQuery(parseLucene(query, { defaultField: "text", proximity: true, ...context }), MEETING_HIT_QUERY, context), "parseMeetingQuery");
|
|
1931
1954
|
|
|
1932
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1955
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
1933
1956
|
var contentHash = /* @__PURE__ */ __name(async (text6) => {
|
|
1934
1957
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text6));
|
|
1935
1958
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -1966,7 +1989,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
1966
1989
|
return time;
|
|
1967
1990
|
}, "timestamp");
|
|
1968
1991
|
|
|
1969
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1992
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
1970
1993
|
var TranscriptTextError = class extends Error {
|
|
1971
1994
|
static {
|
|
1972
1995
|
__name(this, "TranscriptTextError");
|
|
@@ -2021,7 +2044,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
2021
2044
|
return { header, lines };
|
|
2022
2045
|
}, "parseTranscriptText");
|
|
2023
2046
|
|
|
2024
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2047
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
2025
2048
|
var VttError = class extends Error {
|
|
2026
2049
|
static {
|
|
2027
2050
|
__name(this, "VttError");
|
|
@@ -2073,7 +2096,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
2073
2096
|
return cues;
|
|
2074
2097
|
}, "parseVtt");
|
|
2075
2098
|
|
|
2076
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
2077
2100
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
2078
2101
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
2079
2102
|
for (const file of files) {
|
|
@@ -2106,10 +2129,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
2106
2129
|
return report;
|
|
2107
2130
|
}, "importFiles");
|
|
2108
2131
|
|
|
2109
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2132
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
2110
2133
|
var CHAT_MESSAGES_READ = 1e5;
|
|
2111
2134
|
|
|
2112
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2135
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
2113
2136
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
2114
2137
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
2115
2138
|
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)))
|
|
@@ -2122,7 +2145,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
2122
2145
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
2123
2146
|
}, "validateMeetingPassage");
|
|
2124
2147
|
|
|
2125
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2148
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
2126
2149
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
2127
2150
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2128
2151
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -2147,7 +2170,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
2147
2170
|
return { ...input, limit, maxReadBytes };
|
|
2148
2171
|
}, "validateMeetingPreparationContext");
|
|
2149
2172
|
|
|
2150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2173
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
2151
2174
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2152
2175
|
var id = pipe(string(), minLength(1));
|
|
2153
2176
|
var meetingProjectEvidence = strictObject({
|
|
@@ -2268,7 +2291,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
2268
2291
|
};
|
|
2269
2292
|
}, "meetingProjectEvidenceAnswer");
|
|
2270
2293
|
|
|
2271
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2294
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
2272
2295
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
2273
2296
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
2274
2297
|
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) || [
|
|
@@ -2288,7 +2311,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
2288
2311
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
2289
2312
|
}, "validateMeetingHitSearch");
|
|
2290
2313
|
|
|
2291
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2314
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
2292
2315
|
var ids = {
|
|
2293
2316
|
meeting_id: "meetingId",
|
|
2294
2317
|
identity_id: "participantIdentityId",
|
|
@@ -2379,7 +2402,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
|
|
|
2379
2402
|
return { project: project.trim(), options, query: frozen.join(" AND ") };
|
|
2380
2403
|
}, "prepareMeetingProjectEvidence");
|
|
2381
2404
|
|
|
2382
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2405
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
2383
2406
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
|
|
2384
2407
|
const prepared = prepareMeetingProjectEvidence(project, request, now);
|
|
2385
2408
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -2387,7 +2410,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
|
|
|
2387
2410
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
2388
2411
|
}, "readMeetingProjectEvidence");
|
|
2389
2412
|
|
|
2390
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2413
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
2391
2414
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
2392
2415
|
const { identityExternalId, ...fields2 } = p;
|
|
2393
2416
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -2526,7 +2549,7 @@ unlinked`, format)],
|
|
|
2526
2549
|
return report;
|
|
2527
2550
|
}, "pull");
|
|
2528
2551
|
|
|
2529
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2552
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
2530
2553
|
var text5 = string();
|
|
2531
2554
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
2532
2555
|
var id2 = pipe(number(), integer(), minValue(1));
|
|
@@ -2691,10 +2714,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
2691
2714
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
2692
2715
|
}), "eventItem");
|
|
2693
2716
|
|
|
2694
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2717
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
2695
2718
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
2696
2719
|
|
|
2697
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2720
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
2698
2721
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
2699
2722
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2700
2723
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -2724,14 +2747,14 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
2724
2747
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
2725
2748
|
}, "validateMeetingRelatedHistory");
|
|
2726
2749
|
|
|
2727
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2750
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
2728
2751
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
2729
2752
|
|
|
2730
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2753
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
2731
2754
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
2732
2755
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
2733
2756
|
|
|
2734
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2757
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
2735
2758
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
2736
2759
|
input.signal?.throwIfAborted();
|
|
2737
2760
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -2752,10 +2775,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
2752
2775
|
return { ...input, limit, maxReadBytes };
|
|
2753
2776
|
}, "validateMeetingSeriesHistory");
|
|
2754
2777
|
|
|
2755
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2778
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
2756
2779
|
var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
|
|
2757
2780
|
|
|
2758
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2781
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
2759
2782
|
function invalid3(field, response = false) {
|
|
2760
2783
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
2761
2784
|
}
|
|
@@ -2784,7 +2807,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
2784
2807
|
cursorDetails(value);
|
|
2785
2808
|
}, "validateMeetingSeriesInventoryCursor");
|
|
2786
2809
|
|
|
2787
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2810
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
2788
2811
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
2789
2812
|
const zone = timeZone ?? "UTC";
|
|
2790
2813
|
try {
|
|
@@ -2863,7 +2886,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
2863
2886
|
};
|
|
2864
2887
|
}, "aggregateMeetingStats");
|
|
2865
2888
|
|
|
2866
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2889
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
|
|
2867
2890
|
var LINK_KINDS = [
|
|
2868
2891
|
"links-to",
|
|
2869
2892
|
"blocked-by",
|
|
@@ -2884,7 +2907,7 @@ var LINK_SOURCES = [...LINK_ORIGINS, "calendar"];
|
|
|
2884
2907
|
var RELATION_KINDS = ["member-of", "related-to"];
|
|
2885
2908
|
var linkKind = /* @__PURE__ */ __name((kind) => `'${kind}'`, "linkKind");
|
|
2886
2909
|
|
|
2887
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2910
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/tasks/model.js
|
|
2888
2911
|
var TASK_KINDS = ["question", "request", "mention", "promise"];
|
|
2889
2912
|
var TASK_STATES = ["open", "done", "dismissed"];
|
|
2890
2913
|
var TASK_ORIGINS = ["rule", "agent", "owner"];
|
|
@@ -2897,13 +2920,13 @@ function closeTask(task, state, by, at, reason) {
|
|
|
2897
2920
|
}
|
|
2898
2921
|
__name(closeTask, "closeTask");
|
|
2899
2922
|
|
|
2900
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2923
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/tasks/store.js
|
|
2901
2924
|
function matches2(task, filter) {
|
|
2902
2925
|
return (filter.account === void 0 || task.account === filter.account) && (filter.state === void 0 || task.state === filter.state) && (filter.group === void 0 || task.group === filter.group) && (filter.kind === void 0 || task.kind === filter.kind) && (filter.createdBefore === void 0 || task.createdAt < filter.createdBefore);
|
|
2903
2926
|
}
|
|
2904
2927
|
__name(matches2, "matches");
|
|
2905
2928
|
|
|
2906
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2929
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/tasks/service.js
|
|
2907
2930
|
function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
|
|
2908
2931
|
async function find(id3) {
|
|
2909
2932
|
const task = await store.get(id3);
|
|
@@ -2963,7 +2986,7 @@ function median(values) {
|
|
|
2963
2986
|
}
|
|
2964
2987
|
__name(median, "median");
|
|
2965
2988
|
|
|
2966
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2989
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
|
|
2967
2990
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
2968
2991
|
var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed"];
|
|
2969
2992
|
var MEMORY_KINDS = ["summary", "digest", "preference"];
|
|
@@ -3013,6 +3036,7 @@ export {
|
|
|
3013
3036
|
entryMetadata,
|
|
3014
3037
|
meetingCueFingerprint,
|
|
3015
3038
|
EVENT_QUERY,
|
|
3039
|
+
entryInWindow,
|
|
3016
3040
|
normalizeMeetingParticipantQuery,
|
|
3017
3041
|
validateMeetingParticipantSearch,
|
|
3018
3042
|
MeetingError,
|
|
@@ -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_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
|
|
8
8
|
var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
|
|
9
9
|
`The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
|
|
10
10
|
"Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
|
|
@@ -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.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/models/options.js
|
|
19
19
|
var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
|
|
20
20
|
const parsed = safeParse(schema, options);
|
|
21
21
|
if (!parsed.success) {
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
commandPathOf,
|
|
7
7
|
findCommand,
|
|
8
8
|
outputOf
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-5P27JGGA.js";
|
|
10
|
+
import "./chunk-LY2LFJMU.js";
|
|
11
|
+
import "./chunk-77OOX2OE.js";
|
|
12
|
+
import "./chunk-WKSLGPZQ.js";
|
|
13
|
+
import "./chunk-DUWTG2GE.js";
|
|
14
|
+
import "./chunk-SONKULUF.js";
|
|
15
|
+
import "./chunk-PCMW3PW6.js";
|
|
16
|
+
import "./chunk-PQHYM2XC.js";
|
|
17
|
+
import "./chunk-3HYDKCXB.js";
|
|
18
|
+
import "./chunk-XZXOGHU5.js";
|
|
19
|
+
import "./chunk-ON67U6WV.js";
|
|
20
20
|
import "./chunk-O5EHUB2V.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-EBB7RFCW.js";
|
|
22
22
|
import "./chunk-T4SDOYPY.js";
|
|
23
23
|
import "./chunk-67SRVSPU.js";
|
|
24
24
|
import "./chunk-Y5E2WNWB.js";
|