@wirecat/cli-memo 0.131.46 → 0.131.47
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/memo.js +2 -2
- package/dist/bundle/{all-profiles-I2JBJDOR.js → all-profiles-75EGCXK3.js} +5 -5
- package/dist/bundle/{anthropic-CARSCLDG.js → anthropic-PTAYBCPR.js} +3 -3
- package/dist/bundle/{app-server-SAMZMY3C.js → app-server-YSUBXGGB.js} +41 -38
- package/dist/bundle/auto-GB35FRTV.js +86 -0
- package/dist/bundle/{bun-T6E2RGI5.js → bun-3AIG5ML4.js} +2 -2
- package/dist/bundle/{bun-sqlite-WWDLRDBW.js → bun-sqlite-5FCGI6EO.js} +2 -2
- package/dist/bundle/{chunk-3ZLDPPI4.js → chunk-25RDNYKZ.js} +5 -5
- package/dist/bundle/{chunk-CV5MM7HG.js → chunk-32QM6X5H.js} +1 -1
- package/dist/bundle/{chunk-2K7E5YOZ.js → chunk-3HPFTKDH.js} +4 -4
- package/dist/bundle/{chunk-HFQZYHLX.js → chunk-4LWX2WOB.js} +3 -3
- package/dist/bundle/{chunk-ZGQSWRCY.js → chunk-5N6HWFXN.js} +508 -338
- package/dist/bundle/{chunk-5FN27OVR.js → chunk-6IVHND3S.js} +4 -4
- package/dist/bundle/{chunk-YPD27HJI.js → chunk-6QNPOBR5.js} +11 -11
- package/dist/bundle/{chunk-UI4MKFTZ.js → chunk-6TKWJKPS.js} +10 -10
- package/dist/bundle/{chunk-2FYCJ3KB.js → chunk-BNIWLVWG.js} +3 -3
- package/dist/bundle/{chunk-JX6JZTOI.js → chunk-CODD5SXC.js} +27 -27
- package/dist/bundle/{chunk-VOUTO3WF.js → chunk-DDADFHR7.js} +12 -12
- package/dist/bundle/{chunk-TOSRVNCY.js → chunk-DMTLG2GD.js} +7 -7
- package/dist/bundle/{chunk-GPBUD6WS.js → chunk-DS4DOK75.js} +22 -21
- package/dist/bundle/{chunk-IQJQLLAV.js → chunk-DWBTCOF2.js} +4 -4
- package/dist/bundle/{chunk-37D3IHOG.js → chunk-EFQCDCLY.js} +56 -56
- package/dist/bundle/{chunk-NFSFUVP2.js → chunk-ELKK5M66.js} +5 -5
- package/dist/bundle/{chunk-VZRGIWJM.js → chunk-EVZI54B5.js} +4 -4
- package/dist/bundle/{chunk-LTZHG4BX.js → chunk-F4HMPMET.js} +7 -7
- package/dist/bundle/{chunk-AXCYTZJD.js → chunk-FSAMZHIM.js} +5 -5
- package/dist/bundle/{chunk-XFT24B7A.js → chunk-G3YSCD77.js} +155 -152
- package/dist/bundle/{chunk-YFZ45S6S.js → chunk-G4W42RGE.js} +1 -1
- package/dist/bundle/{chunk-PIHAI7NF.js → chunk-GA3KFYEZ.js} +4 -4
- package/dist/bundle/{chunk-IPNORZSF.js → chunk-GOFPCOEI.js} +9 -9
- package/dist/bundle/{chunk-RF3R3W2I.js → chunk-GQLSVXS2.js} +20 -20
- package/dist/bundle/{chunk-ADBD5GOY.js → chunk-HCZV537M.js} +1 -1
- package/dist/bundle/{chunk-36DLHVMS.js → chunk-HVTW2M6T.js} +1 -1
- package/dist/bundle/{chunk-QR5HJROX.js → chunk-HYEYRFWX.js} +1 -1
- package/dist/bundle/{chunk-LOSAAPRY.js → chunk-I2RDACUF.js} +6 -6
- package/dist/bundle/{chunk-UYITVRUC.js → chunk-ILK5BCBB.js} +1 -1
- package/dist/bundle/{chunk-W2EY5PSH.js → chunk-IPLPMD6H.js} +1 -1
- package/dist/bundle/{chunk-QUUYSYCG.js → chunk-IPMBB6W5.js} +2 -2
- package/dist/bundle/{chunk-UEMY6RSB.js → chunk-J324GKJM.js} +1 -1
- package/dist/bundle/{chunk-TFWTSBON.js → chunk-KLBZJZD2.js} +592 -118
- package/dist/bundle/{chunk-HE535VWC.js → chunk-KWM7HLAI.js} +4 -4
- package/dist/bundle/{chunk-7UNXTC2J.js → chunk-LE7NROV6.js} +31 -31
- package/dist/bundle/{chunk-6B75W6XW.js → chunk-MCMEBL3C.js} +17 -9
- package/dist/bundle/{chunk-F7XQEYF3.js → chunk-MMJDQQFX.js} +268 -255
- package/dist/bundle/{chunk-5FBJQHCG.js → chunk-MSBRZ5QD.js} +2 -2
- package/dist/bundle/{chunk-IFGMJXND.js → chunk-N5QQFDNV.js} +2 -2
- package/dist/bundle/{chunk-XB43J5VQ.js → chunk-N63KZFH4.js} +8 -8
- package/dist/bundle/{chunk-YBBCGTZO.js → chunk-OSCRP52P.js} +298 -287
- package/dist/bundle/{chunk-AAKU7TGI.js → chunk-PGVADNDD.js} +2 -2
- package/dist/bundle/{chunk-IEVJMRL2.js → chunk-R44PUK7G.js} +1 -1
- package/dist/bundle/{chunk-UT2K3TAH.js → chunk-SYTYLLYO.js} +1 -1
- package/dist/bundle/{chunk-WXCRRP4B.js → chunk-U35N3EC7.js} +1 -1
- package/dist/bundle/{chunk-2MKPY6NU.js → chunk-U75ANK5K.js} +1 -1
- package/dist/bundle/{chunk-PZQCIEMC.js → chunk-UE4GMPBY.js} +1 -1
- package/dist/bundle/{chunk-J6EUSJ3X.js → chunk-UFVGAFID.js} +3 -3
- package/dist/bundle/{chunk-CWBRCYDY.js → chunk-V3B5COFP.js} +3 -3
- package/dist/bundle/{chunk-KGVDWSGM.js → chunk-V6OYLCCM.js} +2 -2
- package/dist/bundle/{chunk-VUSM6XFE.js → chunk-W2JVP7GK.js} +1 -1
- package/dist/bundle/{chunk-MKA3NOUU.js → chunk-W3T45MMN.js} +5 -5
- package/dist/bundle/{chunk-HDNMDLWC.js → chunk-XRRPQCTS.js} +1 -1
- package/dist/bundle/{chunk-BJSZECFV.js → chunk-Y4ZXDJQF.js} +2 -2
- package/dist/bundle/{chunk-TU34HVOY.js → chunk-YMK35KVV.js} +2 -2
- package/dist/bundle/{chunk-V7QNIJOE.js → chunk-ZKH6LC5P.js} +7 -7
- package/dist/bundle/{chunk-ICF3LNBX.js → chunk-ZLIARJU4.js} +1 -1
- package/dist/bundle/{command-contract-B6MBG7GI.js → command-contract-YYILWWYQ.js} +11 -11
- package/dist/bundle/{decode-E3TI4HEU.js → decode-F2A2BLIA.js} +2 -2
- package/dist/bundle/{echarts-B46XTHOI.js → echarts-JL55HJCM.js} +2 -2
- package/dist/bundle/{embed-BIUMRFOQ.js → embed-74KVORNN.js} +3 -3
- package/dist/bundle/{embedder-IA3CG6LB.js → embedder-GACNPCZN.js} +6 -6
- package/dist/bundle/{entry-E3QEAAYL.js → entry-7FI2H4RQ.js} +4 -4
- package/dist/bundle/failure-AHPPXHAW.js +66 -0
- package/dist/bundle/{first-run-6UQRVGZ4.js → first-run-D4VBIJ7H.js} +5 -5
- package/dist/bundle/{first-screen-W3BPVWCT.js → first-screen-D7Q2U7VP.js} +12 -12
- package/dist/bundle/{instructions-6AISOK6M.js → instructions-QNPIVGKX.js} +1 -1
- package/dist/bundle/{mcp-RX3COQPC.js → mcp-AFXHH33V.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-6GP2V36M.js → node-SPFML2D5.js} +2 -2
- package/dist/bundle/{node-sqlite-2CC5J5RZ.js → node-sqlite-T3KILRCP.js} +3 -3
- package/dist/bundle/{oauth-VOOLTPGW.js → oauth-ZOGSHZF3.js} +4 -4
- package/dist/bundle/{open-AGFSOJG6.js → open-XXFVCGCA.js} +2 -2
- package/dist/bundle/{openai-KPRA5NIB.js → openai-JRHZLFKD.js} +7 -7
- package/dist/bundle/{process-J74KA6F3.js → process-OGYYVVLG.js} +1 -1
- package/dist/bundle/{program-VAYJBUPU.js → program-EFCQACPD.js} +91 -61
- package/dist/bundle/{prompt-PDQD5OD5.js → prompt-53D5WVD3.js} +2 -2
- package/dist/bundle/{recognize-QH6FBB2L.js → recognize-7GYZKJCD.js} +1 -1
- package/dist/bundle/{remote-BREQR2BJ.js → remote-V5GUFZCG.js} +4 -4
- package/dist/bundle/{rerank-HWNJXOHL.js → rerank-FUNVBYFI.js} +4 -4
- package/dist/bundle/{serve-A63VR5F4.js → serve-ZLUYFAXC.js} +6 -6
- package/dist/bundle/server-4OJC7ZWM.js +61 -0
- package/dist/bundle/server-CGUUZBLB.js +48 -0
- package/dist/bundle/{server-6UZJQQ4E.js → server-HJRMD3XD.js} +50 -50
- package/dist/bundle/{state-GMJJEIPI.js → state-4P7H6KBM.js} +3 -3
- package/dist/bundle/{store-HLK3ZQ7A.js → store-NILJK24C.js} +9 -9
- package/dist/bundle/store-maintenance-command-VP7CIBSS.js +48 -0
- package/dist/bundle/update-NPK4DT2E.js +69 -0
- package/dist/contract-overrides/doctor.d.ts.map +1 -1
- package/dist/contract-overrides/doctor.js +6 -0
- package/dist/contract-overrides/doctor.js.map +1 -1
- package/dist/doctor/command.d.ts +23 -2
- package/dist/doctor/command.d.ts.map +1 -1
- package/dist/doctor/command.js +13 -5
- package/dist/doctor/command.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +2 -0
- package/dist/examples.js.map +1 -1
- package/dist/store/info-command.d.ts.map +1 -1
- package/dist/store/info-command.js +23 -1
- package/dist/store/info-command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/auto-KD7L4X6G.js +0 -86
- package/dist/bundle/failure-UKRO32A7.js +0 -66
- package/dist/bundle/server-3FKLHDFN.js +0 -48
- package/dist/bundle/server-XKZXPS7I.js +0 -61
- package/dist/bundle/store-maintenance-command-2WOANSCK.js +0 -48
- package/dist/bundle/update-GIAB6TXY.js +0 -69
- /package/dist/bundle/{chunk-B6ZCQNF4.js → chunk-JPGEFBRW.js} +0 -0
|
@@ -859,7 +859,7 @@ var matches = /* @__PURE__ */ __name((node, item, byName, options) => {
|
|
|
859
859
|
}, "matches");
|
|
860
860
|
var evaluate = /* @__PURE__ */ __name((ast, fields, item, options = {}) => matches(ast.root, item, new Map(fields.map((field) => [field.name, field])), options), "evaluate");
|
|
861
861
|
|
|
862
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
862
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
863
863
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
864
864
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
865
865
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -896,7 +896,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text6) => {
|
|
|
896
896
|
}, "parseMeetingReference");
|
|
897
897
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text6) => formatMeetingReference(parseMeetingReference(text6)), "canonicalMeetingReference");
|
|
898
898
|
|
|
899
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
899
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
900
900
|
var text = string();
|
|
901
901
|
var count = pipe(number(), integer(), minValue(0));
|
|
902
902
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -961,7 +961,7 @@ var MEETING_QUERY = {
|
|
|
961
961
|
})
|
|
962
962
|
};
|
|
963
963
|
|
|
964
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
964
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
965
965
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
966
966
|
const parsed = urlOf(url);
|
|
967
967
|
if (!parsed)
|
|
@@ -995,7 +995,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
995
995
|
}
|
|
996
996
|
}, "urlOf");
|
|
997
997
|
|
|
998
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
998
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
999
999
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
1000
1000
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
1001
1001
|
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");
|
|
@@ -1028,7 +1028,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
1028
1028
|
return kept;
|
|
1029
1029
|
}, "entryMetadata");
|
|
1030
1030
|
|
|
1031
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1031
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
1032
1032
|
import { createHash } from "node:crypto";
|
|
1033
1033
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
1034
1034
|
reference: cue2.reference,
|
|
@@ -1042,7 +1042,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
1042
1042
|
text: cue2.text
|
|
1043
1043
|
})).digest("hex"), "meetingCueFingerprint");
|
|
1044
1044
|
|
|
1045
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1045
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
1046
1046
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
1047
1047
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
1048
1048
|
if (entry.recurrenceEndsAt !== null)
|
|
@@ -1065,7 +1065,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
|
|
|
1065
1065
|
return Math.max(entry.endsAt ?? start, start + 1) > window.from;
|
|
1066
1066
|
}, "entryInWindow");
|
|
1067
1067
|
|
|
1068
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1068
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
1069
1069
|
var text2 = string();
|
|
1070
1070
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
1071
1071
|
var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
@@ -1300,7 +1300,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
1300
1300
|
};
|
|
1301
1301
|
}, "meetingHitsList");
|
|
1302
1302
|
|
|
1303
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1303
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
1304
1304
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text6) => text6.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
1305
1305
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
1306
1306
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -1324,7 +1324,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
1324
1324
|
};
|
|
1325
1325
|
}, "validateMeetingParticipantSearch");
|
|
1326
1326
|
|
|
1327
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1327
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
1328
1328
|
var MeetingError = class extends CliError {
|
|
1329
1329
|
static {
|
|
1330
1330
|
__name(this, "MeetingError");
|
|
@@ -1456,7 +1456,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id4, accountId)
|
|
|
1456
1456
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
1457
1457
|
}, "meetingSummaryAnswer");
|
|
1458
1458
|
|
|
1459
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1459
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
1460
1460
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
1461
1461
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
1462
1462
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -1552,7 +1552,7 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id4, options) => {
|
|
|
1552
1552
|
};
|
|
1553
1553
|
}, "exportMeeting");
|
|
1554
1554
|
|
|
1555
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1555
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/payment.js
|
|
1556
1556
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
1557
1557
|
var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
|
|
1558
1558
|
var PAYMENT_STATES = ["expected", "paid", "cancelled"];
|
|
@@ -1646,10 +1646,10 @@ var paymentTitle = /* @__PURE__ */ __name((fact) => {
|
|
|
1646
1646
|
return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
|
|
1647
1647
|
}, "paymentTitle");
|
|
1648
1648
|
|
|
1649
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1649
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1650
1650
|
import { createHash as createHash2 } from "node:crypto";
|
|
1651
1651
|
|
|
1652
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1652
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
1653
1653
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
1654
1654
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
1655
1655
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone, such as 2026-11-09T09:00:00Z`);
|
|
@@ -1660,7 +1660,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
1660
1660
|
return new Date(value).toISOString();
|
|
1661
1661
|
}, "meetingTimestamp");
|
|
1662
1662
|
|
|
1663
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1663
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1664
1664
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
1665
1665
|
var invalid3 = /* @__PURE__ */ __name((message) => {
|
|
1666
1666
|
throw new CliError("validation_error", message);
|
|
@@ -1833,7 +1833,7 @@ var validateBatch = /* @__PURE__ */ __name((input, rules, most, one) => {
|
|
|
1833
1833
|
var validateFindings = /* @__PURE__ */ __name((input, rules) => validateBatch(input, rules, 16, (finding, ids2) => validateFinding(finding, rules, ids2)), "validateFindings");
|
|
1834
1834
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
1835
1835
|
|
|
1836
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1836
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
1837
1837
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
1838
1838
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
1839
1839
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -1844,7 +1844,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
1844
1844
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
1845
1845
|
var meetingFindingFingerprint = findingFingerprint;
|
|
1846
1846
|
|
|
1847
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1847
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
1848
1848
|
var text3 = string();
|
|
1849
1849
|
var identifier = pipe(text3, minLength(1));
|
|
1850
1850
|
var nullableText = nullable(text3);
|
|
@@ -1977,7 +1977,7 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
1977
1977
|
meeting_repair: repair
|
|
1978
1978
|
};
|
|
1979
1979
|
|
|
1980
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1980
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
1981
1981
|
var EVENT_QUERY = defineQuery({
|
|
1982
1982
|
entity: "event",
|
|
1983
1983
|
backend: "sql",
|
|
@@ -1993,7 +1993,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
1993
1993
|
]
|
|
1994
1994
|
});
|
|
1995
1995
|
|
|
1996
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1996
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
1997
1997
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
|
|
1998
1998
|
const current = await store.meeting(details.meeting.id);
|
|
1999
1999
|
if (!current)
|
|
@@ -2036,7 +2036,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
2036
2036
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
2037
2037
|
}, "linkEvent");
|
|
2038
2038
|
|
|
2039
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2039
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
2040
2040
|
var context = {
|
|
2041
2041
|
command: "search meetings",
|
|
2042
2042
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -2155,7 +2155,7 @@ var meetingWordsQuery = /* @__PURE__ */ __name((text6) => {
|
|
|
2155
2155
|
return { version: 1, language: "lucene-v1", root };
|
|
2156
2156
|
}, "meetingWordsQuery");
|
|
2157
2157
|
|
|
2158
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2158
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/language.js
|
|
2159
2159
|
var LATIN_WORDS = {
|
|
2160
2160
|
en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
|
|
2161
2161
|
es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
|
|
@@ -2204,7 +2204,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
|
|
|
2204
2204
|
return null;
|
|
2205
2205
|
}, "transcriptLanguage");
|
|
2206
2206
|
|
|
2207
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2207
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
2208
2208
|
var contentHash = /* @__PURE__ */ __name(async (text6) => {
|
|
2209
2209
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text6));
|
|
2210
2210
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -2241,7 +2241,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
2241
2241
|
return time2;
|
|
2242
2242
|
}, "timestamp");
|
|
2243
2243
|
|
|
2244
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2244
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
2245
2245
|
var TranscriptTextError = class extends Error {
|
|
2246
2246
|
static {
|
|
2247
2247
|
__name(this, "TranscriptTextError");
|
|
@@ -2296,7 +2296,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
2296
2296
|
return { header, lines };
|
|
2297
2297
|
}, "parseTranscriptText");
|
|
2298
2298
|
|
|
2299
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2299
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
2300
2300
|
var VttError = class extends Error {
|
|
2301
2301
|
static {
|
|
2302
2302
|
__name(this, "VttError");
|
|
@@ -2348,7 +2348,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
2348
2348
|
return cues;
|
|
2349
2349
|
}, "parseVtt");
|
|
2350
2350
|
|
|
2351
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2351
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
2352
2352
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
2353
2353
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
2354
2354
|
for (const file of files) {
|
|
@@ -2381,10 +2381,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
2381
2381
|
return report;
|
|
2382
2382
|
}, "importFiles");
|
|
2383
2383
|
|
|
2384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
2385
2385
|
var CHAT_MESSAGES_READ = 1e5;
|
|
2386
2386
|
|
|
2387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/provider.js
|
|
2388
2388
|
var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
2389
2389
|
const provider = scope2?.provider;
|
|
2390
2390
|
const account = scope2?.account;
|
|
@@ -2393,7 +2393,7 @@ var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
|
2393
2393
|
return Object.freeze({ provider, account });
|
|
2394
2394
|
}, "snapshotMeetingScope");
|
|
2395
2395
|
|
|
2396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
2397
2397
|
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
2398
2398
|
if (typeof value !== "string" || !value.trim())
|
|
2399
2399
|
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
@@ -2444,7 +2444,7 @@ var validateMeetingChange = /* @__PURE__ */ __name((change, create) => {
|
|
|
2444
2444
|
return Object.freeze(result);
|
|
2445
2445
|
}, "validateMeetingChange");
|
|
2446
2446
|
|
|
2447
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2447
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
2448
2448
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
2449
2449
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
2450
2450
|
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)))
|
|
@@ -2457,7 +2457,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
2457
2457
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
2458
2458
|
}, "validateMeetingPassage");
|
|
2459
2459
|
|
|
2460
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2460
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
2461
2461
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
2462
2462
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2463
2463
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -2482,7 +2482,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
2482
2482
|
return { ...input, limit, maxReadBytes };
|
|
2483
2483
|
}, "validateMeetingPreparationContext");
|
|
2484
2484
|
|
|
2485
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2485
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
2486
2486
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2487
2487
|
var id = pipe(string(), minLength(1));
|
|
2488
2488
|
var meetingProjectEvidence = strictObject({
|
|
@@ -2603,7 +2603,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
2603
2603
|
};
|
|
2604
2604
|
}, "meetingProjectEvidenceAnswer");
|
|
2605
2605
|
|
|
2606
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2606
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
2607
2607
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
2608
2608
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
2609
2609
|
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) || [
|
|
@@ -2623,7 +2623,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
2623
2623
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
2624
2624
|
}, "validateMeetingHitSearch");
|
|
2625
2625
|
|
|
2626
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2626
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
2627
2627
|
var ids = {
|
|
2628
2628
|
meeting_id: "meetingId",
|
|
2629
2629
|
identity_id: "participantIdentityId",
|
|
@@ -2714,7 +2714,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project2, request =
|
|
|
2714
2714
|
return { project: project2.trim(), options, query: frozen.join(" AND ") };
|
|
2715
2715
|
}, "prepareMeetingProjectEvidence");
|
|
2716
2716
|
|
|
2717
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2717
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
2718
2718
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project2, request = {}, now = Date.now()) => {
|
|
2719
2719
|
const prepared = prepareMeetingProjectEvidence(project2, request, now);
|
|
2720
2720
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -2722,7 +2722,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project2, r
|
|
|
2722
2722
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
2723
2723
|
}, "readMeetingProjectEvidence");
|
|
2724
2724
|
|
|
2725
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2725
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
2726
2726
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
2727
2727
|
const { identityExternalId, ...fields } = p;
|
|
2728
2728
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -2861,7 +2861,7 @@ unlinked`, format)],
|
|
|
2861
2861
|
return report;
|
|
2862
2862
|
}, "pull");
|
|
2863
2863
|
|
|
2864
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2864
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
2865
2865
|
var text4 = string();
|
|
2866
2866
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
2867
2867
|
var id2 = pipe(number(), integer(), minValue(1));
|
|
@@ -3055,10 +3055,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
3055
3055
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
3056
3056
|
}), "eventItem");
|
|
3057
3057
|
|
|
3058
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3058
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
3059
3059
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
3060
3060
|
|
|
3061
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3061
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
3062
3062
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
3063
3063
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
3064
3064
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -3088,14 +3088,14 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
3088
3088
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
3089
3089
|
}, "validateMeetingRelatedHistory");
|
|
3090
3090
|
|
|
3091
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3091
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
3092
3092
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
3093
3093
|
|
|
3094
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3094
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
3095
3095
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
3096
3096
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
3097
3097
|
|
|
3098
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3098
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
3099
3099
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
3100
3100
|
input.signal?.throwIfAborted();
|
|
3101
3101
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -3116,7 +3116,7 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
3116
3116
|
return { ...input, limit, maxReadBytes };
|
|
3117
3117
|
}, "validateMeetingSeriesHistory");
|
|
3118
3118
|
|
|
3119
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3119
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
3120
3120
|
var invalid4 = /* @__PURE__ */ __name((field) => {
|
|
3121
3121
|
throw new CliError("invalid_response", `meeting occurrence ${field} is invalid`);
|
|
3122
3122
|
}, "invalid");
|
|
@@ -3185,7 +3185,7 @@ var readOccurrenceSchedule = /* @__PURE__ */ __name((input, meetingId, limit, ma
|
|
|
3185
3185
|
return result;
|
|
3186
3186
|
}, "readOccurrenceSchedule");
|
|
3187
3187
|
|
|
3188
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3188
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
3189
3189
|
function invalid5(field, response = false) {
|
|
3190
3190
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
3191
3191
|
}
|
|
@@ -3214,7 +3214,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
3214
3214
|
cursorDetails(value);
|
|
3215
3215
|
}, "validateMeetingSeriesInventoryCursor");
|
|
3216
3216
|
|
|
3217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
3218
3218
|
var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
|
|
3219
3219
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
3220
3220
|
const zone = timeZone ?? "UTC";
|
|
@@ -3349,7 +3349,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
3349
3349
|
};
|
|
3350
3350
|
}, "aggregateMeetingStats");
|
|
3351
3351
|
|
|
3352
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3352
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/meetings/upcoming.js
|
|
3353
3353
|
var cancelled = /* @__PURE__ */ __name((signal) => {
|
|
3354
3354
|
if (!signal?.aborted)
|
|
3355
3355
|
return;
|
|
@@ -3419,7 +3419,7 @@ var createUpcomingMeetingReader = /* @__PURE__ */ __name((scope2, port) => {
|
|
|
3419
3419
|
};
|
|
3420
3420
|
}, "createUpcomingMeetingReader");
|
|
3421
3421
|
|
|
3422
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3422
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/domain/tags.js
|
|
3423
3423
|
var TAG_TYPES = ["chat", "contact", "message", "task"];
|
|
3424
3424
|
var TAG = /^[a-z0-9-]{1,32}$/;
|
|
3425
3425
|
var tagOf = /* @__PURE__ */ __name((value) => {
|
|
@@ -3433,7 +3433,7 @@ var normalizeTag = /* @__PURE__ */ __name((value) => {
|
|
|
3433
3433
|
return tag;
|
|
3434
3434
|
}, "normalizeTag");
|
|
3435
3435
|
|
|
3436
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3436
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
|
|
3437
3437
|
var LINK_KINDS = [
|
|
3438
3438
|
"links-to",
|
|
3439
3439
|
"blocked-by",
|
|
@@ -3454,7 +3454,7 @@ var LINK_SOURCES = [...LINK_ORIGINS, "calendar"];
|
|
|
3454
3454
|
var RELATION_KINDS = ["member-of", "related-to"];
|
|
3455
3455
|
var linkKind = /* @__PURE__ */ __name((kind) => `'${kind}'`, "linkKind");
|
|
3456
3456
|
|
|
3457
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3457
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/tasks/model.js
|
|
3458
3458
|
var TASK_KINDS = ["question", "request", "mention", "promise"];
|
|
3459
3459
|
var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
|
|
3460
3460
|
var CLOSED_STATES = ["done", "dismissed"];
|
|
@@ -3469,7 +3469,7 @@ function closeTask(task, state, by, at, reason) {
|
|
|
3469
3469
|
}
|
|
3470
3470
|
__name(closeTask, "closeTask");
|
|
3471
3471
|
|
|
3472
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3472
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/tasks/priority.js
|
|
3473
3473
|
var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
|
|
3474
3474
|
var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
|
|
3475
3475
|
var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
|
|
@@ -3498,13 +3498,13 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
|
|
|
3498
3498
|
}, "priorityOf");
|
|
3499
3499
|
var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
|
|
3500
3500
|
|
|
3501
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3501
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/tasks/store.js
|
|
3502
3502
|
function matches2(task, filter) {
|
|
3503
3503
|
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);
|
|
3504
3504
|
}
|
|
3505
3505
|
__name(matches2, "matches");
|
|
3506
3506
|
|
|
3507
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3507
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/tasks/service.js
|
|
3508
3508
|
function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
|
|
3509
3509
|
async function find(id4) {
|
|
3510
3510
|
const task = await store.get(id4);
|
|
@@ -3564,7 +3564,7 @@ function median(values) {
|
|
|
3564
3564
|
}
|
|
3565
3565
|
__name(median, "median");
|
|
3566
3566
|
|
|
3567
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3567
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
|
|
3568
3568
|
var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
|
|
3569
3569
|
var MEMORY_KINDS = ["summary", "digest", "preference"];
|
|
3570
3570
|
var MEMORY_STATUSES = ["proposed", "confirmed", "stale", "superseded"];
|
|
@@ -3572,7 +3572,7 @@ var MEMORY_SCOPES = ["personal", "work"];
|
|
|
3572
3572
|
var WORK_TASK_TYPES = ["bug", "feature", "chore"];
|
|
3573
3573
|
var TASK_TYPES2 = [...WORK_TASK_TYPES, ...TASK_KINDS];
|
|
3574
3574
|
|
|
3575
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3575
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/domain/money.js
|
|
3576
3576
|
var CURRENCY_SCALES = {
|
|
3577
3577
|
AED: 2,
|
|
3578
3578
|
AMD: 2,
|
|
@@ -3657,7 +3657,7 @@ var quantityOf = /* @__PURE__ */ __name((text6) => {
|
|
|
3657
3657
|
}, "quantityOf");
|
|
3658
3658
|
var lineUnits = /* @__PURE__ */ __name((thousandths, unitPrice) => Number((thousandths * BigInt(unitPrice) + 500n) / 1000n), "lineUnits");
|
|
3659
3659
|
|
|
3660
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3660
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/domain/finance.js
|
|
3661
3661
|
var INVOICE_DIRECTIONS = ["receivable", "payable"];
|
|
3662
3662
|
var INVOICE_STATUSES = ["draft", "issued", "partly_paid", "paid", "void"];
|
|
3663
3663
|
var MONEY_DIRECTIONS = ["in", "out"];
|
|
@@ -3686,7 +3686,7 @@ var paymentLine = /* @__PURE__ */ __name((payment) => {
|
|
|
3686
3686
|
var invoiceTitle = /* @__PURE__ */ __name((invoice) => `Invoice ${invoiceLine(invoice)}`, "invoiceTitle");
|
|
3687
3687
|
var paymentEntryTitle = /* @__PURE__ */ __name((payment) => `Payment \xB7 ${paymentLine(payment)}`, "paymentEntryTitle");
|
|
3688
3688
|
|
|
3689
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3689
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/domain/orders.js
|
|
3690
3690
|
var ORDER_STATUSES = ["placed", "shipped", "delivered", "cancelled", "returned"];
|
|
3691
3691
|
var ORDER_PURPOSES = ["personal", "business", "client", "other"];
|
|
3692
3692
|
var orderLine = /* @__PURE__ */ __name((order) => {
|
|
@@ -3696,7 +3696,7 @@ var orderLine = /* @__PURE__ */ __name((order) => {
|
|
|
3696
3696
|
}, "orderLine");
|
|
3697
3697
|
var orderTitle = /* @__PURE__ */ __name((order) => `Order ${orderLine(order)}`, "orderTitle");
|
|
3698
3698
|
|
|
3699
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3699
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
3700
3700
|
var text5 = string();
|
|
3701
3701
|
var id3 = pipe(string(), minLength(1));
|
|
3702
3702
|
var time = isoTime;
|
|
@@ -3720,7 +3720,7 @@ var author = strictObject({
|
|
|
3720
3720
|
name: nullable(text5)
|
|
3721
3721
|
});
|
|
3722
3722
|
|
|
3723
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3723
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
3724
3724
|
var organization = strictObject({
|
|
3725
3725
|
id: id3,
|
|
3726
3726
|
ref: reference,
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
installFiles,
|
|
6
6
|
megabytes,
|
|
7
7
|
sharedModelsDirectory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UFVGAFID.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
20
20
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
21
21
|
import { availableParallelism } from "node:os";
|
|
22
22
|
import { basename, join as join2 } from "node:path";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
25
25
|
import { createHash } from "node:crypto";
|
|
26
26
|
import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
27
27
|
import { join } from "node:path";
|
|
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
|
|
|
678
678
|
return Unzip2;
|
|
679
679
|
})();
|
|
680
680
|
|
|
681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
682
682
|
var ONNX_RUNTIME_VERSION = "1.30.0";
|
|
683
683
|
var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
|
|
684
684
|
name,
|
|
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
|
|
|
858
858
|
return { ort, session: await ort.InferenceSession.create(bytes, options) };
|
|
859
859
|
}, "openSession");
|
|
860
860
|
|
|
861
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
861
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
862
862
|
var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
|
|
863
863
|
var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
|
|
864
864
|
var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
|
|
@@ -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-IPLPMD6H.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths
|
|
8
8
|
} from "./chunk-2R2Z2VWL.js";
|
|
@@ -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.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/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.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/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.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/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 });
|