@wirecat/cli-memo 0.131.30 → 0.131.32
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-4XCG2A54.js → all-profiles-PFCNICOF.js} +5 -5
- package/dist/bundle/{anthropic-MAVIW4DJ.js → anthropic-QLGMYWVZ.js} +3 -3
- package/dist/bundle/{app-server-LGSYLIB3.js → app-server-QD67I7V2.js} +35 -35
- package/dist/bundle/auto-PZKJQ3FL.js +86 -0
- package/dist/bundle/{bun-XWUEHWDW.js → bun-JRTUGKIJ.js} +2 -2
- package/dist/bundle/{bun-sqlite-OSAC45TI.js → bun-sqlite-HCZP2CNO.js} +2 -2
- package/dist/bundle/{chunk-3V5JXPGK.js → chunk-2N74ZVI6.js} +1 -1
- package/dist/bundle/{chunk-Q3XFJOAY.js → chunk-2XBDA3XF.js} +1 -1
- package/dist/bundle/{chunk-SIY75R4D.js → chunk-3G44GDIZ.js} +5 -5
- package/dist/bundle/{chunk-TIU2N2SP.js → chunk-42I4XE3O.js} +20 -20
- package/dist/bundle/{chunk-RCPP2Q5O.js → chunk-4D6BG353.js} +6 -6
- package/dist/bundle/{chunk-IIXZMACE.js → chunk-54DA525P.js} +9 -9
- package/dist/bundle/{chunk-2NEXX3EI.js → chunk-5BVGJBZX.js} +1 -1
- package/dist/bundle/{chunk-5CKE7LAP.js → chunk-5JTW3LNF.js} +1 -1
- package/dist/bundle/{chunk-XDQIJSJE.js → chunk-5OYZNBE7.js} +1 -1
- package/dist/bundle/{chunk-RUWY43XR.js → chunk-63JF4E76.js} +480 -256
- package/dist/bundle/{chunk-UGV57SZH.js → chunk-7AMJFTJM.js} +1 -1
- package/dist/bundle/{chunk-MLDBSKW6.js → chunk-7JWW4YEK.js} +8 -8
- package/dist/bundle/{chunk-UVO7UNYH.js → chunk-7MKROF5R.js} +1 -1
- package/dist/bundle/{chunk-YJSCSLAT.js → chunk-A56GDMFH.js} +3 -3
- package/dist/bundle/{chunk-CYUP7HQG.js → chunk-ARVXP2UJ.js} +258 -258
- package/dist/bundle/{chunk-TIQUMRSO.js → chunk-AZGQ7ABE.js} +150 -150
- package/dist/bundle/{chunk-DYNSZDXG.js → chunk-CGI5EIIA.js} +20 -20
- package/dist/bundle/{chunk-UXGQXP5U.js → chunk-CUT72KGN.js} +3 -3
- package/dist/bundle/{chunk-XV7YW65Y.js → chunk-CV5EXF7J.js} +4 -4
- package/dist/bundle/{chunk-76MMXZ3W.js → chunk-CWHGN6HC.js} +4 -4
- package/dist/bundle/{chunk-EJZKYJKO.js → chunk-FE2SLKUO.js} +2 -2
- package/dist/bundle/{chunk-HWJHWNBW.js → chunk-FGJKBQCP.js} +3 -3
- package/dist/bundle/{chunk-KJE2KFYH.js → chunk-GKZ65EOY.js} +54 -54
- package/dist/bundle/{chunk-PJM4QQBT.js → chunk-GNY5YLNY.js} +2 -2
- package/dist/bundle/{chunk-GW2KCP4G.js → chunk-H24AL555.js} +27 -27
- package/dist/bundle/{program-4UU6HJQM.js → chunk-HGXTDMKN.js} +1498 -10061
- package/dist/bundle/{chunk-6ZVN4S36.js → chunk-HLJ6IUVF.js} +2 -2
- package/dist/bundle/{chunk-VDGKBAS2.js → chunk-JTSYAO5V.js} +274 -274
- package/dist/bundle/{chunk-MHHLYRRD.js → chunk-K3CJHSLS.js} +1 -1
- package/dist/bundle/{chunk-QQBRNKHQ.js → chunk-K3TUIQZ4.js} +43 -43
- package/dist/bundle/{chunk-5R3OXHIN.js → chunk-K6ZWFP2X.js} +1 -1
- package/dist/bundle/{chunk-7VJZKUN3.js → chunk-L34KLQIU.js} +9 -9
- package/dist/bundle/{chunk-N4AWIP4D.js → chunk-MG2JNBUV.js} +5 -5
- package/dist/bundle/{chunk-CNAOMV43.js → chunk-NDJUEFV2.js} +1 -1
- package/dist/bundle/{chunk-6SE6ZDBF.js → chunk-NG26I3JV.js} +1 -1
- package/dist/bundle/{chunk-M3REIIOH.js → chunk-PG4KORTB.js} +1 -1
- package/dist/bundle/{chunk-H52RNBPU.js → chunk-Q2ZIIXA2.js} +2 -2
- package/dist/bundle/{chunk-JHLGFPMK.js → chunk-Q3ZB4JGL.js} +2 -2
- package/dist/bundle/{chunk-GN3U74DV.js → chunk-QUQOKNAX.js} +12 -12
- package/dist/bundle/{chunk-GSCFCNGO.js → chunk-QWA3MTHH.js} +7 -7
- package/dist/bundle/{chunk-S34FLB7K.js → chunk-REUXOW2O.js} +2 -2
- package/dist/bundle/{chunk-EEKOBGQ7.js → chunk-RO4YPDGF.js} +1 -1
- package/dist/bundle/{chunk-DIQAOLWH.js → chunk-RRDXT63A.js} +1 -1
- package/dist/bundle/{chunk-U5PEYBQT.js → chunk-RTFU72GD.js} +4 -4
- package/dist/bundle/{chunk-WUV5O5HN.js → chunk-S3FQQRUM.js} +4 -4
- package/dist/bundle/{chunk-DIT5NA73.js → chunk-TFEXCHMC.js} +5 -5
- package/dist/bundle/{chunk-UBYCWQSV.js → chunk-URPBRYVA.js} +4 -4
- package/dist/bundle/{chunk-B6S42B6J.js → chunk-USMKR34T.js} +11 -11
- package/dist/bundle/{chunk-D6BK3H4D.js → chunk-UXA37BVT.js} +4 -4
- package/dist/bundle/{chunk-SQHIXN2N.js → chunk-W4GV42D5.js} +2 -2
- package/dist/bundle/{chunk-USLIHXWA.js → chunk-WGX6AEUP.js} +3 -3
- package/dist/bundle/{chunk-K6Z6B2CW.js → chunk-WP3J2FNH.js} +10 -10
- package/dist/bundle/{chunk-U6NL7SAX.js → chunk-X3GQJTTF.js} +5 -5
- package/dist/bundle/{chunk-3DXTHN5C.js → chunk-X6HXGL5E.js} +7 -7
- package/dist/bundle/{chunk-NUEIRBKY.js → chunk-XUMYVRBZ.js} +1 -1
- package/dist/bundle/{chunk-Z7J7SVZJ.js → chunk-XWIRWBB5.js} +1 -1
- package/dist/bundle/{chunk-YUEAM6ZP.js → chunk-ZHDOELM7.js} +7 -7
- package/dist/bundle/{command-contract-ZLDRM6DG.js → command-contract-DFXPO5Q7.js} +11 -11
- package/dist/bundle/{decode-Y2DWOSOW.js → decode-7NGILAKQ.js} +2 -2
- package/dist/bundle/{echarts-2ZHQHZ4R.js → echarts-JERQI2HW.js} +2 -2
- package/dist/bundle/{embed-JEER47U6.js → embed-3AO7KZXC.js} +3 -3
- package/dist/bundle/{embedder-BJQEGCE5.js → embedder-WRQ7TDDB.js} +6 -6
- package/dist/bundle/{entry-YKH7GAX7.js → entry-IBRPU7NO.js} +4 -4
- package/dist/bundle/failure-46JTICYP.js +66 -0
- package/dist/bundle/{first-run-ESH5B55J.js → first-run-IJOREEQM.js} +5 -5
- package/dist/bundle/{first-screen-RTATNK4S.js → first-screen-KYNY6ELY.js} +12 -12
- package/dist/bundle/{instructions-NJYYRMYK.js → instructions-BET2PLGV.js} +1 -1
- package/dist/bundle/{mcp-ZRKYZLNM.js → mcp-NUBFFPGF.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-DBNZMTJO.js → node-NCSG7QX5.js} +2 -2
- package/dist/bundle/{node-sqlite-CCNVCZSG.js → node-sqlite-QL4M5RIK.js} +3 -3
- package/dist/bundle/{oauth-UV7KBQFP.js → oauth-BGMMED35.js} +4 -4
- package/dist/bundle/{open-VTOLLLS4.js → open-YN3KJMMQ.js} +2 -2
- package/dist/bundle/{openai-RTJNHBCG.js → openai-CTZUSKUS.js} +7 -7
- package/dist/bundle/{process-TAFRBB53.js → process-DW237TK4.js} +1 -1
- package/dist/bundle/program-RAUHPTRG.js +9173 -0
- package/dist/bundle/{prompt-ESMCTEJI.js → prompt-EZCCUYCS.js} +2 -2
- package/dist/bundle/{recognize-V53GEY6R.js → recognize-XP3LHQD6.js} +1 -1
- package/dist/bundle/{remote-KGKRAGA6.js → remote-RLR5ZKKT.js} +4 -4
- package/dist/bundle/{rerank-DTD24I7Y.js → rerank-P7LE52AC.js} +4 -4
- package/dist/bundle/{serve-2DVSIKM7.js → serve-UA7RQDNK.js} +6 -6
- package/dist/bundle/server-N6L3LGQO.js +48 -0
- package/dist/bundle/{server-UBMV5OI7.js → server-XM4LNODP.js} +50 -50
- package/dist/bundle/server-XU362INX.js +61 -0
- package/dist/bundle/{state-ONT6T6PY.js → state-72Y55LBR.js} +3 -3
- package/dist/bundle/{store-TOYBDMML.js → store-PED4JCBB.js} +9 -9
- package/dist/bundle/store-maintenance-command-B364Q2O4.js +48 -0
- package/dist/bundle/update-IWJYYYRI.js +69 -0
- package/dist/config.d.ts +11 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +19 -0
- package/dist/config.js.map +1 -1
- package/dist/examples.js +1 -1
- package/dist/examples.js.map +1 -1
- package/dist/findings/command.d.ts.map +1 -1
- package/dist/findings/command.js +4 -4
- package/dist/findings/command.js.map +1 -1
- package/dist/findings-input.d.ts +7 -0
- package/dist/findings-input.d.ts.map +1 -0
- package/dist/findings-input.js +13 -0
- package/dist/findings-input.js.map +1 -0
- package/dist/knowledge/project-actions-command.d.ts.map +1 -1
- package/dist/knowledge/project-actions-command.js +4 -4
- package/dist/knowledge/project-actions-command.js.map +1 -1
- package/dist/mail/findings-command.d.ts +1 -1
- package/dist/mail/findings-command.d.ts.map +1 -1
- package/dist/mail/findings-command.js +5 -6
- package/dist/mail/findings-command.js.map +1 -1
- package/dist/mail/review-command.d.ts.map +1 -1
- package/dist/mail/review-command.js +2 -0
- package/dist/mail/review-command.js.map +1 -1
- package/dist/schedule/command.d.ts.map +1 -1
- package/dist/schedule/command.js +4 -3
- package/dist/schedule/command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/mail-triage/SKILL.md +15 -10
- package/dist/bundle/auto-72Y6UJWK.js +0 -86
- package/dist/bundle/chunk-GACW4GZZ.js +0 -452
- package/dist/bundle/failure-JE2JCLGO.js +0 -66
- package/dist/bundle/server-ODWZJIRX.js +0 -48
- package/dist/bundle/server-V5YRZZID.js +0 -61
- package/dist/bundle/store-maintenance-command-HIMIMWFU.js +0 -48
- package/dist/bundle/update-AO5UWEBY.js +0 -69
- /package/dist/bundle/{chunk-G6I5A2N3.js → chunk-QPPNLE7G.js} +0 -0
|
@@ -856,7 +856,7 @@ var matches = /* @__PURE__ */ __name((node, item, byName, options) => {
|
|
|
856
856
|
}, "matches");
|
|
857
857
|
var evaluate = /* @__PURE__ */ __name((ast, fields, item, options = {}) => matches(ast.root, item, new Map(fields.map((field) => [field.name, field])), options), "evaluate");
|
|
858
858
|
|
|
859
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
859
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
860
860
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
861
861
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
862
862
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -893,7 +893,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text5) => {
|
|
|
893
893
|
}, "parseMeetingReference");
|
|
894
894
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text5) => formatMeetingReference(parseMeetingReference(text5)), "canonicalMeetingReference");
|
|
895
895
|
|
|
896
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
897
897
|
var text = string();
|
|
898
898
|
var count = pipe(number(), integer(), minValue(0));
|
|
899
899
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -958,7 +958,7 @@ var MEETING_QUERY = {
|
|
|
958
958
|
})
|
|
959
959
|
};
|
|
960
960
|
|
|
961
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
961
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
962
962
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
963
963
|
const parsed = urlOf(url);
|
|
964
964
|
if (!parsed)
|
|
@@ -992,7 +992,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
992
992
|
}
|
|
993
993
|
}, "urlOf");
|
|
994
994
|
|
|
995
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
995
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
996
996
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
997
997
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
998
998
|
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");
|
|
@@ -1025,7 +1025,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
1025
1025
|
return kept;
|
|
1026
1026
|
}, "entryMetadata");
|
|
1027
1027
|
|
|
1028
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1028
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
1029
1029
|
import { createHash } from "node:crypto";
|
|
1030
1030
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
1031
1031
|
reference: cue2.reference,
|
|
@@ -1039,7 +1039,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
1039
1039
|
text: cue2.text
|
|
1040
1040
|
})).digest("hex"), "meetingCueFingerprint");
|
|
1041
1041
|
|
|
1042
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1042
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
1043
1043
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
1044
1044
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
1045
1045
|
if (entry.recurrenceEndsAt !== null)
|
|
@@ -1062,7 +1062,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
|
|
|
1062
1062
|
return Math.max(entry.endsAt ?? start, start + 1) > window.from;
|
|
1063
1063
|
}, "entryInWindow");
|
|
1064
1064
|
|
|
1065
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1065
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
1066
1066
|
var text2 = string();
|
|
1067
1067
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
1068
1068
|
var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
@@ -1297,7 +1297,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
1297
1297
|
};
|
|
1298
1298
|
}, "meetingHitsList");
|
|
1299
1299
|
|
|
1300
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1300
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
1301
1301
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text5) => text5.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
1302
1302
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
1303
1303
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -1321,7 +1321,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
1321
1321
|
};
|
|
1322
1322
|
}, "validateMeetingParticipantSearch");
|
|
1323
1323
|
|
|
1324
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1324
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
1325
1325
|
var MeetingError = class extends CliError {
|
|
1326
1326
|
static {
|
|
1327
1327
|
__name(this, "MeetingError");
|
|
@@ -1453,7 +1453,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id3, accountId)
|
|
|
1453
1453
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
1454
1454
|
}, "meetingSummaryAnswer");
|
|
1455
1455
|
|
|
1456
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1456
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
1457
1457
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
1458
1458
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
1459
1459
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -1549,7 +1549,7 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id3, options) => {
|
|
|
1549
1549
|
};
|
|
1550
1550
|
}, "exportMeeting");
|
|
1551
1551
|
|
|
1552
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1552
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/payment.js
|
|
1553
1553
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
1554
1554
|
var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
|
|
1555
1555
|
var PAYMENT_STATES = ["expected", "paid", "cancelled"];
|
|
@@ -1643,10 +1643,10 @@ var paymentTitle = /* @__PURE__ */ __name((fact) => {
|
|
|
1643
1643
|
return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
|
|
1644
1644
|
}, "paymentTitle");
|
|
1645
1645
|
|
|
1646
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1646
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1647
1647
|
import { createHash as createHash2 } from "node:crypto";
|
|
1648
1648
|
|
|
1649
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1649
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
1650
1650
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
1651
1651
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
1652
1652
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone`);
|
|
@@ -1657,7 +1657,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
1657
1657
|
return new Date(value).toISOString();
|
|
1658
1658
|
}, "meetingTimestamp");
|
|
1659
1659
|
|
|
1660
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1660
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1661
1661
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
1662
1662
|
var invalid3 = /* @__PURE__ */ __name((message) => {
|
|
1663
1663
|
throw new CliError("validation_error", message);
|
|
@@ -1802,7 +1802,7 @@ var validateBatch = /* @__PURE__ */ __name((input, rules, most, one) => {
|
|
|
1802
1802
|
var validateFindings = /* @__PURE__ */ __name((input, rules) => validateBatch(input, rules, 16, (finding, ids2) => validateFinding(finding, rules, ids2)), "validateFindings");
|
|
1803
1803
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
1804
1804
|
|
|
1805
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1805
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
1806
1806
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
1807
1807
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
1808
1808
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -1813,7 +1813,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
1813
1813
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
1814
1814
|
var meetingFindingFingerprint = findingFingerprint;
|
|
1815
1815
|
|
|
1816
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1816
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
1817
1817
|
var text3 = string();
|
|
1818
1818
|
var identifier = pipe(text3, minLength(1));
|
|
1819
1819
|
var nullableText = nullable(text3);
|
|
@@ -1946,7 +1946,7 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
1946
1946
|
meeting_repair: repair
|
|
1947
1947
|
};
|
|
1948
1948
|
|
|
1949
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1949
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
1950
1950
|
var EVENT_QUERY = defineQuery({
|
|
1951
1951
|
entity: "event",
|
|
1952
1952
|
backend: "sql",
|
|
@@ -1962,7 +1962,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
1962
1962
|
]
|
|
1963
1963
|
});
|
|
1964
1964
|
|
|
1965
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1965
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
1966
1966
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
|
|
1967
1967
|
const current = await store.meeting(details.meeting.id);
|
|
1968
1968
|
if (!current)
|
|
@@ -2005,7 +2005,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
2005
2005
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
2006
2006
|
}, "linkEvent");
|
|
2007
2007
|
|
|
2008
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2008
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
2009
2009
|
var context = {
|
|
2010
2010
|
command: "search meetings",
|
|
2011
2011
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -2124,7 +2124,7 @@ var meetingWordsQuery = /* @__PURE__ */ __name((text5) => {
|
|
|
2124
2124
|
return { version: 1, language: "lucene-v1", root };
|
|
2125
2125
|
}, "meetingWordsQuery");
|
|
2126
2126
|
|
|
2127
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2127
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/language.js
|
|
2128
2128
|
var LATIN_WORDS = {
|
|
2129
2129
|
en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
|
|
2130
2130
|
es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
|
|
@@ -2173,7 +2173,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
|
|
|
2173
2173
|
return null;
|
|
2174
2174
|
}, "transcriptLanguage");
|
|
2175
2175
|
|
|
2176
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2176
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
2177
2177
|
var contentHash = /* @__PURE__ */ __name(async (text5) => {
|
|
2178
2178
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text5));
|
|
2179
2179
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -2210,7 +2210,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
2210
2210
|
return time;
|
|
2211
2211
|
}, "timestamp");
|
|
2212
2212
|
|
|
2213
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2213
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
2214
2214
|
var TranscriptTextError = class extends Error {
|
|
2215
2215
|
static {
|
|
2216
2216
|
__name(this, "TranscriptTextError");
|
|
@@ -2265,7 +2265,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
2265
2265
|
return { header, lines };
|
|
2266
2266
|
}, "parseTranscriptText");
|
|
2267
2267
|
|
|
2268
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2268
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
2269
2269
|
var VttError = class extends Error {
|
|
2270
2270
|
static {
|
|
2271
2271
|
__name(this, "VttError");
|
|
@@ -2317,7 +2317,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
2317
2317
|
return cues;
|
|
2318
2318
|
}, "parseVtt");
|
|
2319
2319
|
|
|
2320
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2320
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
2321
2321
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
2322
2322
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
2323
2323
|
for (const file of files) {
|
|
@@ -2350,10 +2350,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
2350
2350
|
return report;
|
|
2351
2351
|
}, "importFiles");
|
|
2352
2352
|
|
|
2353
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2353
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
2354
2354
|
var CHAT_MESSAGES_READ = 1e5;
|
|
2355
2355
|
|
|
2356
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2356
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/provider.js
|
|
2357
2357
|
var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
2358
2358
|
const provider = scope2?.provider;
|
|
2359
2359
|
const account = scope2?.account;
|
|
@@ -2362,7 +2362,7 @@ var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
|
2362
2362
|
return Object.freeze({ provider, account });
|
|
2363
2363
|
}, "snapshotMeetingScope");
|
|
2364
2364
|
|
|
2365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
2366
2366
|
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
2367
2367
|
if (typeof value !== "string" || !value.trim())
|
|
2368
2368
|
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
@@ -2413,7 +2413,7 @@ var validateMeetingChange = /* @__PURE__ */ __name((change, create) => {
|
|
|
2413
2413
|
return Object.freeze(result);
|
|
2414
2414
|
}, "validateMeetingChange");
|
|
2415
2415
|
|
|
2416
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2416
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
2417
2417
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
2418
2418
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
2419
2419
|
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)))
|
|
@@ -2426,7 +2426,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
2426
2426
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
2427
2427
|
}, "validateMeetingPassage");
|
|
2428
2428
|
|
|
2429
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2429
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
2430
2430
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
2431
2431
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2432
2432
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -2451,7 +2451,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
2451
2451
|
return { ...input, limit, maxReadBytes };
|
|
2452
2452
|
}, "validateMeetingPreparationContext");
|
|
2453
2453
|
|
|
2454
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
2455
2455
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2456
2456
|
var id = pipe(string(), minLength(1));
|
|
2457
2457
|
var meetingProjectEvidence = strictObject({
|
|
@@ -2572,7 +2572,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
2572
2572
|
};
|
|
2573
2573
|
}, "meetingProjectEvidenceAnswer");
|
|
2574
2574
|
|
|
2575
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2575
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
2576
2576
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
2577
2577
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
2578
2578
|
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) || [
|
|
@@ -2592,7 +2592,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
2592
2592
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
2593
2593
|
}, "validateMeetingHitSearch");
|
|
2594
2594
|
|
|
2595
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2595
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
2596
2596
|
var ids = {
|
|
2597
2597
|
meeting_id: "meetingId",
|
|
2598
2598
|
identity_id: "participantIdentityId",
|
|
@@ -2683,7 +2683,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
|
|
|
2683
2683
|
return { project: project.trim(), options, query: frozen.join(" AND ") };
|
|
2684
2684
|
}, "prepareMeetingProjectEvidence");
|
|
2685
2685
|
|
|
2686
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2686
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
2687
2687
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
|
|
2688
2688
|
const prepared = prepareMeetingProjectEvidence(project, request, now);
|
|
2689
2689
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -2691,7 +2691,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
|
|
|
2691
2691
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
2692
2692
|
}, "readMeetingProjectEvidence");
|
|
2693
2693
|
|
|
2694
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2694
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
2695
2695
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
2696
2696
|
const { identityExternalId, ...fields } = p;
|
|
2697
2697
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -2830,7 +2830,7 @@ unlinked`, format)],
|
|
|
2830
2830
|
return report;
|
|
2831
2831
|
}, "pull");
|
|
2832
2832
|
|
|
2833
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2833
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
2834
2834
|
var text4 = string();
|
|
2835
2835
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
2836
2836
|
var id2 = pipe(number(), integer(), minValue(1));
|
|
@@ -3024,10 +3024,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
3024
3024
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
3025
3025
|
}), "eventItem");
|
|
3026
3026
|
|
|
3027
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3027
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
3028
3028
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
3029
3029
|
|
|
3030
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3030
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
3031
3031
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
3032
3032
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
3033
3033
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -3057,14 +3057,14 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
3057
3057
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
3058
3058
|
}, "validateMeetingRelatedHistory");
|
|
3059
3059
|
|
|
3060
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3060
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
3061
3061
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
3062
3062
|
|
|
3063
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3063
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
3064
3064
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
3065
3065
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
3066
3066
|
|
|
3067
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3067
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
3068
3068
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
3069
3069
|
input.signal?.throwIfAborted();
|
|
3070
3070
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -3085,7 +3085,7 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
3085
3085
|
return { ...input, limit, maxReadBytes };
|
|
3086
3086
|
}, "validateMeetingSeriesHistory");
|
|
3087
3087
|
|
|
3088
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3088
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
3089
3089
|
var invalid4 = /* @__PURE__ */ __name((field) => {
|
|
3090
3090
|
throw new CliError("invalid_response", `meeting occurrence ${field} is invalid`);
|
|
3091
3091
|
}, "invalid");
|
|
@@ -3154,7 +3154,7 @@ var readOccurrenceSchedule = /* @__PURE__ */ __name((input, meetingId, limit, ma
|
|
|
3154
3154
|
return result;
|
|
3155
3155
|
}, "readOccurrenceSchedule");
|
|
3156
3156
|
|
|
3157
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3157
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
3158
3158
|
function invalid5(field, response = false) {
|
|
3159
3159
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
3160
3160
|
}
|
|
@@ -3183,7 +3183,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
3183
3183
|
cursorDetails(value);
|
|
3184
3184
|
}, "validateMeetingSeriesInventoryCursor");
|
|
3185
3185
|
|
|
3186
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3186
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
3187
3187
|
var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
|
|
3188
3188
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
3189
3189
|
const zone = timeZone ?? "UTC";
|
|
@@ -3318,7 +3318,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
3318
3318
|
};
|
|
3319
3319
|
}, "aggregateMeetingStats");
|
|
3320
3320
|
|
|
3321
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3321
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/meetings/upcoming.js
|
|
3322
3322
|
var cancelled = /* @__PURE__ */ __name((signal) => {
|
|
3323
3323
|
if (!signal?.aborted)
|
|
3324
3324
|
return;
|
|
@@ -3388,7 +3388,7 @@ var createUpcomingMeetingReader = /* @__PURE__ */ __name((scope2, port) => {
|
|
|
3388
3388
|
};
|
|
3389
3389
|
}, "createUpcomingMeetingReader");
|
|
3390
3390
|
|
|
3391
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3391
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/domain/tags.js
|
|
3392
3392
|
var TAG_TYPES = ["chat", "contact", "message", "task"];
|
|
3393
3393
|
var TAG = /^[a-z0-9-]{1,32}$/;
|
|
3394
3394
|
var tagOf = /* @__PURE__ */ __name((value) => {
|
|
@@ -3402,7 +3402,7 @@ var normalizeTag = /* @__PURE__ */ __name((value) => {
|
|
|
3402
3402
|
return tag;
|
|
3403
3403
|
}, "normalizeTag");
|
|
3404
3404
|
|
|
3405
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3405
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
|
|
3406
3406
|
var LINK_KINDS = [
|
|
3407
3407
|
"links-to",
|
|
3408
3408
|
"blocked-by",
|
|
@@ -3423,7 +3423,7 @@ var LINK_SOURCES = [...LINK_ORIGINS, "calendar"];
|
|
|
3423
3423
|
var RELATION_KINDS = ["member-of", "related-to"];
|
|
3424
3424
|
var linkKind = /* @__PURE__ */ __name((kind) => `'${kind}'`, "linkKind");
|
|
3425
3425
|
|
|
3426
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3426
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/tasks/model.js
|
|
3427
3427
|
var TASK_KINDS = ["question", "request", "mention", "promise"];
|
|
3428
3428
|
var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
|
|
3429
3429
|
var CLOSED_STATES = ["done", "dismissed"];
|
|
@@ -3438,7 +3438,7 @@ function closeTask(task, state, by, at, reason) {
|
|
|
3438
3438
|
}
|
|
3439
3439
|
__name(closeTask, "closeTask");
|
|
3440
3440
|
|
|
3441
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3441
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/tasks/priority.js
|
|
3442
3442
|
var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
|
|
3443
3443
|
var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
|
|
3444
3444
|
var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
|
|
@@ -3467,13 +3467,13 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
|
|
|
3467
3467
|
}, "priorityOf");
|
|
3468
3468
|
var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
|
|
3469
3469
|
|
|
3470
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3470
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/tasks/store.js
|
|
3471
3471
|
function matches2(task, filter) {
|
|
3472
3472
|
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);
|
|
3473
3473
|
}
|
|
3474
3474
|
__name(matches2, "matches");
|
|
3475
3475
|
|
|
3476
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3476
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/tasks/service.js
|
|
3477
3477
|
function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
|
|
3478
3478
|
async function find(id3) {
|
|
3479
3479
|
const task = await store.get(id3);
|
|
@@ -3533,7 +3533,7 @@ function median(values) {
|
|
|
3533
3533
|
}
|
|
3534
3534
|
__name(median, "median");
|
|
3535
3535
|
|
|
3536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3536
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
|
|
3537
3537
|
var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
|
|
3538
3538
|
var MEMORY_KINDS = ["summary", "digest", "preference"];
|
|
3539
3539
|
var MEMORY_STATUSES = ["proposed", "confirmed", "stale", "superseded"];
|
|
@@ -3541,7 +3541,7 @@ var MEMORY_SCOPES = ["personal", "work"];
|
|
|
3541
3541
|
var WORK_TASK_TYPES = ["bug", "feature", "chore"];
|
|
3542
3542
|
var TASK_TYPES2 = [...WORK_TASK_TYPES, ...TASK_KINDS];
|
|
3543
3543
|
|
|
3544
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3544
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/domain/money.js
|
|
3545
3545
|
var CURRENCY_SCALES = {
|
|
3546
3546
|
AED: 2,
|
|
3547
3547
|
AMD: 2,
|
|
@@ -3626,7 +3626,7 @@ var quantityOf = /* @__PURE__ */ __name((text5) => {
|
|
|
3626
3626
|
}, "quantityOf");
|
|
3627
3627
|
var lineUnits = /* @__PURE__ */ __name((thousandths, unitPrice) => Number((thousandths * BigInt(unitPrice) + 500n) / 1000n), "lineUnits");
|
|
3628
3628
|
|
|
3629
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3629
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/domain/finance.js
|
|
3630
3630
|
var INVOICE_DIRECTIONS = ["receivable", "payable"];
|
|
3631
3631
|
var INVOICE_STATUSES = ["draft", "issued", "partly_paid", "paid", "void"];
|
|
3632
3632
|
var MONEY_DIRECTIONS = ["in", "out"];
|
|
@@ -3655,7 +3655,7 @@ var paymentLine = /* @__PURE__ */ __name((payment) => {
|
|
|
3655
3655
|
var invoiceTitle = /* @__PURE__ */ __name((invoice) => `Invoice ${invoiceLine(invoice)}`, "invoiceTitle");
|
|
3656
3656
|
var paymentEntryTitle = /* @__PURE__ */ __name((payment) => `Payment \xB7 ${paymentLine(payment)}`, "paymentEntryTitle");
|
|
3657
3657
|
|
|
3658
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3658
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/domain/orders.js
|
|
3659
3659
|
var ORDER_STATUSES = ["placed", "shipped", "delivered", "cancelled", "returned"];
|
|
3660
3660
|
var ORDER_PURPOSES = ["personal", "business", "client", "other"];
|
|
3661
3661
|
var orderLine = /* @__PURE__ */ __name((order) => {
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
ACCESS_SECONDS,
|
|
9
9
|
REFRESH_SECONDS,
|
|
10
10
|
readStored
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CWHGN6HC.js";
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
14
|
} from "./chunk-ZVVMGPBJ.js";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
|
|
17
17
|
import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
|
|
18
18
|
import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|