@wirecat/mail-cli 0.17.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-55AU2Q2N.js → all-profiles-4CVOXA5Y.js} +10 -10
- package/dist/bundle/{anthropic-I7RI7YPK.js → anthropic-5VIKYINO.js} +6 -6
- package/dist/bundle/{app-server-NY72GTQA.js → app-server-LTSQBDPF.js} +53 -50
- package/dist/bundle/{bun-C2R7UPM2.js → bun-C7DBRUW2.js} +2 -2
- package/dist/bundle/{bun-sqlite-RNPHH3KC.js → bun-sqlite-Y5JKT62B.js} +5 -5
- package/dist/bundle/{chunk-YO7BLBVE.js → chunk-23HWKHPZ.js} +301 -259
- package/dist/bundle/{chunk-OHS5CYZI.js → chunk-2NWOYXPJ.js} +56 -56
- package/dist/bundle/{chunk-JSB6BTPT.js → chunk-3DQYO7FB.js} +1 -1
- package/dist/bundle/{chunk-B73I6KLW.js → chunk-3W5H4TM7.js} +184 -16
- package/dist/bundle/{chunk-2EVM7GV5.js → chunk-3YRE6DNM.js} +8 -8
- package/dist/bundle/{chunk-YIJRPPF5.js → chunk-43I5XD7S.js} +1 -1
- package/dist/bundle/{chunk-HZL42476.js → chunk-5S6Q3SWU.js} +4 -2
- package/dist/bundle/{chunk-DG43I7MC.js → chunk-6RO5RDNR.js} +27 -9
- package/dist/bundle/{chunk-J7XH6CJC.js → chunk-7P4ICYJT.js} +1 -1
- package/dist/bundle/{chunk-BWCYUXF7.js → chunk-7SWWVDEZ.js} +4 -4
- package/dist/bundle/{chunk-24H2KUGW.js → chunk-A5OMARL4.js} +28 -28
- package/dist/bundle/{chunk-QDX2O5BN.js → chunk-ACLILULA.js} +3 -3
- package/dist/bundle/{chunk-QRNL5DIS.js → chunk-AOMSP4EI.js} +6 -6
- package/dist/bundle/{chunk-XJQJ3ZIY.js → chunk-BHNBWFT5.js} +8 -8
- package/dist/bundle/{chunk-LNC7XMEQ.js → chunk-BMFPCW6Q.js} +4 -4
- package/dist/bundle/{chunk-MG4NWXWI.js → chunk-BMGVKULS.js} +4 -4
- package/dist/bundle/{chunk-4HTTN4NO.js → chunk-BMV56JCL.js} +19 -19
- package/dist/bundle/{chunk-22WVQJW3.js → chunk-C4RUKMDT.js} +16 -10
- package/dist/bundle/{chunk-QU5TWVG5.js → chunk-C5T5K7HW.js} +127 -27
- package/dist/bundle/{chunk-KJKRLI2S.js → chunk-CPEN6BZZ.js} +2 -2
- package/dist/bundle/{chunk-YHUCNI2W.js → chunk-DALBYUPC.js} +2 -2
- package/dist/bundle/{chunk-6NN5ZX5T.js → chunk-DPSH46NO.js} +5 -5
- package/dist/bundle/{chunk-CHVHIDNK.js → chunk-EFP5NN7I.js} +3 -3
- package/dist/bundle/{chunk-22IKW3TY.js → chunk-ERBEBORA.js} +14 -14
- package/dist/bundle/{chunk-YCOBSDZY.js → chunk-FLOOPXOT.js} +12 -12
- package/dist/bundle/{chunk-F4P3VDJZ.js → chunk-GLLLYACZ.js} +6 -6
- package/dist/bundle/{chunk-S4NIDBLI.js → chunk-GRP67IQ4.js} +56 -47
- package/dist/bundle/{chunk-T4RRZILQ.js → chunk-HFUS33UT.js} +2 -2
- package/dist/bundle/{chunk-RFFE5ACS.js → chunk-HTFBXGJF.js} +2 -2
- package/dist/bundle/{chunk-MTFTMPB6.js → chunk-IANOK5SE.js} +2 -2
- package/dist/bundle/{chunk-WHI3LTAW.js → chunk-ITUC5WAV.js} +1 -1
- package/dist/bundle/{chunk-VMXMHC6E.js → chunk-JO3BIMYK.js} +3 -3
- package/dist/bundle/{chunk-45JQ72CH.js → chunk-KVSC657S.js} +19 -12
- package/dist/bundle/{chunk-OFZDCUUJ.js → chunk-L3YX7A5M.js} +7 -7
- package/dist/bundle/{chunk-2CY44MKY.js → chunk-M7C4IGJ6.js} +8 -8
- package/dist/bundle/{chunk-GBM7FFFI.js → chunk-MCR43SWG.js} +4 -4
- package/dist/bundle/{chunk-YB47AQWE.js → chunk-N5VEJ3E7.js} +10 -10
- package/dist/bundle/{chunk-IPFFPD3M.js → chunk-NDJZQCF3.js} +297 -174
- package/dist/bundle/{chunk-R3G33QIV.js → chunk-OLJDZTHB.js} +13 -13
- package/dist/bundle/{chunk-CHC2LWKY.js → chunk-OMKPALMX.js} +2 -2
- package/dist/bundle/{chunk-MRTSDBTN.js → chunk-OUGGAAXI.js} +1508 -559
- package/dist/bundle/{chunk-SHEVFBZT.js → chunk-P6WCG6X2.js} +36 -30
- package/dist/bundle/{chunk-GYCJQGFO.js → chunk-QPF4LTK5.js} +6 -6
- package/dist/bundle/{chunk-WOFGEJ6W.js → chunk-RIO3TD3I.js} +1 -1
- package/dist/bundle/{chunk-RIAHISWA.js → chunk-RQSF7X22.js} +1 -1
- package/dist/bundle/{chunk-2ON2PDHC.js → chunk-SIYT2BBI.js} +10 -10
- package/dist/bundle/{chunk-M6GLFDWV.js → chunk-SMS5YNPB.js} +3 -3
- package/dist/bundle/{chunk-H32SKDF2.js → chunk-SW2KERUB.js} +640 -123
- package/dist/bundle/{chunk-BPDUVWL2.js → chunk-TVZ77ZOV.js} +2 -2
- package/dist/bundle/{chunk-SQAAOEGI.js → chunk-U43HUE35.js} +9 -9
- package/dist/bundle/{chunk-RQGTRB73.js → chunk-UEGABYXI.js} +3 -3
- package/dist/bundle/{chunk-TCYLDGRA.js → chunk-UHC5I3JV.js} +1 -1
- package/dist/bundle/{chunk-XOJ5E777.js → chunk-UWL2IOII.js} +4 -4
- package/dist/bundle/{chunk-ITMGJX7I.js → chunk-UXD5JMS5.js} +1 -1
- package/dist/bundle/{chunk-JI225TBX.js → chunk-WA3DQSAZ.js} +2 -2
- package/dist/bundle/{chunk-VXBUDZV3.js → chunk-XGTW3GRX.js} +2 -2
- package/dist/bundle/{chunk-QEO7MI3E.js → chunk-YA2JPMYX.js} +2 -2
- package/dist/bundle/{chunk-A3PKKY24.js → chunk-ZLH465EU.js} +1 -1
- package/dist/bundle/{chunk-BD7OK4P5.js → chunk-ZT2Y267T.js} +3 -3
- package/dist/bundle/command-contract-Y3GIKCPB.js +34 -0
- package/dist/bundle/{decode-5AYG6LLW.js → decode-WVIDLK4E.js} +5 -5
- package/dist/bundle/{dispatch-EVLWT6N3.js → dispatch-R5OF2FVZ.js} +8 -8
- package/dist/bundle/{dist-JRTLLLLG.js → dist-KGQWS3XL.js} +24 -14
- package/dist/bundle/{echarts-EFAEE4D2.js → echarts-VMKACZBF.js} +2 -2
- package/dist/bundle/{embed-6SSOYGZQ.js → embed-EQINOOST.js} +6 -6
- package/dist/bundle/{embedder-VFSLGHBO.js → embedder-LM52TDRN.js} +9 -9
- package/dist/bundle/{failure-RBBZ7F3L.js → failure-WYKVF6RH.js} +2 -2
- package/dist/bundle/{first-run-PVEHOQOD.js → first-run-H4VXZAAF.js} +11 -11
- package/dist/bundle/first-screen-ZP74TJLK.js +32 -0
- package/dist/bundle/{instructions-EOLC3GYB.js → instructions-NLSME663.js} +1 -1
- package/dist/bundle/mail.js +12 -12
- package/dist/bundle/{mcp-JYLZR5LQ.js → mcp-CFVG2OUS.js} +2 -2
- package/dist/bundle/{node-2ZRMQAYF.js → node-FGMSXLTA.js} +2 -2
- package/dist/bundle/{node-sqlite-UKWOBONA.js → node-sqlite-K3T3ZRBY.js} +6 -6
- package/dist/bundle/{oauth-HFD46WAY.js → oauth-OJKJ6JLH.js} +7 -7
- package/dist/bundle/{open-2DLCQUC4.js → open-DCYIXHXS.js} +5 -5
- package/dist/bundle/{openai-A7YLLQEE.js → openai-C4H4W57J.js} +14 -14
- package/dist/bundle/{process-I3INVLFQ.js → process-MN4NSYGA.js} +1 -1
- package/dist/bundle/{program-4ZCATQND.js → program-ZZZOKWCX.js} +1028 -642
- package/dist/bundle/{prompt-R636OFYK.js → prompt-ELEJUDAU.js} +5 -5
- package/dist/bundle/{recognize-G4WUSU5I.js → recognize-G2FVMI5M.js} +4 -4
- package/dist/bundle/{remote-BMXVVYTN.js → remote-F4YVSEYM.js} +7 -7
- package/dist/bundle/{rerank-7W3QEZ3Q.js → rerank-7VM5R5N6.js} +7 -7
- package/dist/bundle/{serve-JQCPQYOJ.js → serve-A7NRFPRN.js} +9 -9
- package/dist/bundle/{server-IMOCOYXH.js → server-7R2BEIRY.js} +39 -39
- package/dist/bundle/server-DFJA2HBO.js +64 -0
- package/dist/bundle/{sqlite-runtime-H2IEHDRZ.js → sqlite-runtime-4SKUB4EN.js} +6 -6
- package/dist/bundle/{state-J5N3Y4LX.js → state-S2FKK2XB.js} +6 -6
- package/dist/bundle/{store-C4TIYTGI.js → store-4HAARQVR.js} +26 -18
- package/dist/bundle/{store-U5WIT3P4.js → store-FLHO3UMA.js} +17 -15
- package/dist/bundle/store-maintenance-command-BINJIQ6F.js +54 -0
- package/dist/commands/restore.js +1 -1
- package/dist/commands/restore.js.map +1 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +2 -8
- package/dist/commands/status.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/command-contract-AUPKK5Y4.js +0 -34
- package/dist/bundle/first-screen-7ONKJ7QW.js +0 -32
- package/dist/bundle/server-GYVOIGF5.js +0 -64
- package/dist/bundle/store-maintenance-command-WRRZ7Q7B.js +0 -54
- /package/dist/bundle/{chunk-CNMSF5QU.js → chunk-QZLK2ISN.js} +0 -0
|
@@ -30,18 +30,18 @@ import {
|
|
|
30
30
|
string,
|
|
31
31
|
union,
|
|
32
32
|
variant
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-BHNBWFT5.js";
|
|
34
34
|
import {
|
|
35
35
|
CliError,
|
|
36
36
|
isCliError,
|
|
37
37
|
singleLine,
|
|
38
38
|
visibleControls
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-DALBYUPC.js";
|
|
40
40
|
import {
|
|
41
41
|
__name
|
|
42
42
|
} from "./chunk-ZVVMGPBJ.js";
|
|
43
43
|
|
|
44
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
44
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
45
45
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
46
46
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
47
47
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -78,7 +78,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text5) => {
|
|
|
78
78
|
}, "parseMeetingReference");
|
|
79
79
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text5) => formatMeetingReference(parseMeetingReference(text5)), "canonicalMeetingReference");
|
|
80
80
|
|
|
81
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
81
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/payment.js
|
|
82
82
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
83
83
|
var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
|
|
84
84
|
var PAYMENT_STATES = ["expected", "paid", "cancelled"];
|
|
@@ -172,7 +172,7 @@ var paymentTitle = /* @__PURE__ */ __name((fact) => {
|
|
|
172
172
|
return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
|
|
173
173
|
}, "paymentTitle");
|
|
174
174
|
|
|
175
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.80.
|
|
175
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/types.js
|
|
176
176
|
var QUERY_LIMITS = {
|
|
177
177
|
bytes: 8192,
|
|
178
178
|
depth: 32,
|
|
@@ -216,7 +216,7 @@ function queryError(reason, span, alternative, context3 = {}, details = {}) {
|
|
|
216
216
|
__name(queryError, "queryError");
|
|
217
217
|
var walkQuery = /* @__PURE__ */ __name((node) => node.kind === "predicate" ? [node] : node.clauses.flatMap(({ node: node2 }) => walkQuery(node2)), "walkQuery");
|
|
218
218
|
|
|
219
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.80.
|
|
219
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/dates.js
|
|
220
220
|
var timezoneOf = /* @__PURE__ */ __name((given) => {
|
|
221
221
|
const zone = given ?? Intl.DateTimeFormat().resolvedOptions().timeZone ?? "UTC";
|
|
222
222
|
try {
|
|
@@ -361,7 +361,7 @@ var dateRange = /* @__PURE__ */ __name((lower, upper, lowerInclusive, upperInclu
|
|
|
361
361
|
};
|
|
362
362
|
}, "dateRange");
|
|
363
363
|
|
|
364
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.80.
|
|
364
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/evaluate.js
|
|
365
365
|
var wordsOf = /* @__PURE__ */ __name((text5) => text5.toLowerCase().match(/[\p{L}\p{N}]+/gu) ?? [], "wordsOf");
|
|
366
366
|
var pattern = /* @__PURE__ */ __name((value) => new RegExp(`^${[...value].map((char) => char === "*" ? ".*" : char === "?" ? "." : char.replace(/[.+^${}()|[\]\\]/, "\\$&")).join("")}$`, "iu"), "pattern");
|
|
367
367
|
var present = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "", "present");
|
|
@@ -416,7 +416,7 @@ var matches = /* @__PURE__ */ __name((node, item, byName, options) => {
|
|
|
416
416
|
}, "matches");
|
|
417
417
|
var evaluate = /* @__PURE__ */ __name((ast, fields, item, options = {}) => matches(ast.root, item, new Map(fields.map((field) => [field.name, field])), options), "evaluate");
|
|
418
418
|
|
|
419
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.80.
|
|
419
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/fields.js
|
|
420
420
|
var FIELD_TYPES = ["kw", "txt", "enum", "num", "time", "bool", "ref"];
|
|
421
421
|
var OPERATORS_BY_TYPE = {
|
|
422
422
|
kw: ["term", "phrase", "wildcard"],
|
|
@@ -495,7 +495,7 @@ var queryFieldsOf = /* @__PURE__ */ __name((schema, annotations = {}) => {
|
|
|
495
495
|
return [...own, ...relations, ...states];
|
|
496
496
|
}, "queryFieldsOf");
|
|
497
497
|
|
|
498
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.80.
|
|
498
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/help.js
|
|
499
499
|
var shownOf = /* @__PURE__ */ __name((registry) => registry.backend === "native" ? registry.fields.filter((field) => field.native) : registry.fields, "shownOf");
|
|
500
500
|
var leftOut = /* @__PURE__ */ __name((fields) => fields.filter((field) => field.negatable).map((field) => field.name), "leftOut");
|
|
501
501
|
var has = /* @__PURE__ */ __name((fields, operator) => fields.some((field) => field.operators.includes(operator)), "has");
|
|
@@ -532,7 +532,7 @@ var queryDescription = /* @__PURE__ */ __name((registry) => {
|
|
|
532
532
|
return `${terms}; fields: ${fields.join(", ")}; e.g. ${shown[0]?.example ?? ""}${defaults}`;
|
|
533
533
|
}, "queryDescription");
|
|
534
534
|
|
|
535
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.80.
|
|
535
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/parser.js
|
|
536
536
|
var whitespace = /* @__PURE__ */ __name((c) => /[ \t\n\r\u3000]/u.test(c), "whitespace");
|
|
537
537
|
var reserved = /* @__PURE__ */ new Set([
|
|
538
538
|
"+",
|
|
@@ -841,7 +841,7 @@ var implicitTextTerms = /* @__PURE__ */ __name((text5) => {
|
|
|
841
841
|
return new Set(tokens.flatMap((token, index) => (token.kind === "term" || token.kind === "number") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index - 1]?.kind ?? "") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index + 1]?.kind ?? "") ? [token.span.start] : []));
|
|
842
842
|
}, "implicitTextTerms");
|
|
843
843
|
|
|
844
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.80.
|
|
844
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/validate.js
|
|
845
845
|
var inContext = /* @__PURE__ */ __name((context3, run2) => {
|
|
846
846
|
try {
|
|
847
847
|
run2();
|
|
@@ -916,7 +916,7 @@ var validateQuery = /* @__PURE__ */ __name((ast, registry, options = {}) => {
|
|
|
916
916
|
}, "validateQuery");
|
|
917
917
|
var fieldsNamed = /* @__PURE__ */ __name((ast) => new Set(walkQuery(ast.root).map((node) => node.field)), "fieldsNamed");
|
|
918
918
|
|
|
919
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.80.
|
|
919
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/registry.js
|
|
920
920
|
var describeQuery = /* @__PURE__ */ __name((registry) => ({
|
|
921
921
|
entity: registry.entity,
|
|
922
922
|
backend: registry.backend,
|
|
@@ -987,7 +987,7 @@ var QUERY_REASONS = defineReasons([
|
|
|
987
987
|
details: [...SPAN, ...details]
|
|
988
988
|
})));
|
|
989
989
|
|
|
990
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
990
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
991
991
|
var text = string();
|
|
992
992
|
var count = pipe(number(), integer(), minValue(0));
|
|
993
993
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -1052,7 +1052,7 @@ var MEETING_QUERY = {
|
|
|
1052
1052
|
})
|
|
1053
1053
|
};
|
|
1054
1054
|
|
|
1055
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1055
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
1056
1056
|
var text2 = string();
|
|
1057
1057
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
1058
1058
|
var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
@@ -1287,7 +1287,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
1287
1287
|
};
|
|
1288
1288
|
}, "meetingHitsList");
|
|
1289
1289
|
|
|
1290
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1290
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
1291
1291
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
1292
1292
|
const parsed = urlOf(url);
|
|
1293
1293
|
if (!parsed)
|
|
@@ -1321,7 +1321,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
1321
1321
|
}
|
|
1322
1322
|
}, "urlOf");
|
|
1323
1323
|
|
|
1324
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1324
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
1325
1325
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
1326
1326
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
1327
1327
|
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");
|
|
@@ -1354,7 +1354,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
1354
1354
|
return kept;
|
|
1355
1355
|
}, "entryMetadata");
|
|
1356
1356
|
|
|
1357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
1358
1358
|
import { createHash } from "node:crypto";
|
|
1359
1359
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
1360
1360
|
reference: cue2.reference,
|
|
@@ -1368,7 +1368,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
1368
1368
|
text: cue2.text
|
|
1369
1369
|
})).digest("hex"), "meetingCueFingerprint");
|
|
1370
1370
|
|
|
1371
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1371
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
1372
1372
|
var EVENT_QUERY = defineQuery({
|
|
1373
1373
|
entity: "event",
|
|
1374
1374
|
backend: "sql",
|
|
@@ -1384,7 +1384,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
1384
1384
|
]
|
|
1385
1385
|
});
|
|
1386
1386
|
|
|
1387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
1388
1388
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
1389
1389
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
1390
1390
|
if (entry.recurrenceEndsAt !== null)
|
|
@@ -1407,7 +1407,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
|
|
|
1407
1407
|
return Math.max(entry.endsAt ?? start, start + 1) > window.from;
|
|
1408
1408
|
}, "entryInWindow");
|
|
1409
1409
|
|
|
1410
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1410
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
1411
1411
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
|
|
1412
1412
|
const current = await store.meeting(details.meeting.id);
|
|
1413
1413
|
if (!current)
|
|
@@ -1450,7 +1450,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
1450
1450
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
1451
1451
|
}, "linkEvent");
|
|
1452
1452
|
|
|
1453
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1453
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
1454
1454
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text5) => text5.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
1455
1455
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
1456
1456
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -1474,7 +1474,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
1474
1474
|
};
|
|
1475
1475
|
}, "validateMeetingParticipantSearch");
|
|
1476
1476
|
|
|
1477
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1477
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
1478
1478
|
var MeetingError = class extends CliError {
|
|
1479
1479
|
static {
|
|
1480
1480
|
__name(this, "MeetingError");
|
|
@@ -1606,7 +1606,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id3, accountId)
|
|
|
1606
1606
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
1607
1607
|
}, "meetingSummaryAnswer");
|
|
1608
1608
|
|
|
1609
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1609
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
1610
1610
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
1611
1611
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
1612
1612
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -1702,10 +1702,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id3, options) => {
|
|
|
1702
1702
|
};
|
|
1703
1703
|
}, "exportMeeting");
|
|
1704
1704
|
|
|
1705
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1705
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1706
1706
|
import { createHash as createHash2 } from "node:crypto";
|
|
1707
1707
|
|
|
1708
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1708
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
1709
1709
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
1710
1710
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
1711
1711
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone, such as 2026-11-09T09:00:00Z`);
|
|
@@ -1716,7 +1716,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
1716
1716
|
return new Date(value).toISOString();
|
|
1717
1717
|
}, "meetingTimestamp");
|
|
1718
1718
|
|
|
1719
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1719
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1720
1720
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
1721
1721
|
var invalid3 = /* @__PURE__ */ __name((message) => {
|
|
1722
1722
|
throw new CliError("validation_error", message);
|
|
@@ -1889,7 +1889,7 @@ var validateBatch = /* @__PURE__ */ __name((input, rules, most, one) => {
|
|
|
1889
1889
|
var validateFindings = /* @__PURE__ */ __name((input, rules) => validateBatch(input, rules, 16, (finding, ids2) => validateFinding(finding, rules, ids2)), "validateFindings");
|
|
1890
1890
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
1891
1891
|
|
|
1892
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1892
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
1893
1893
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
1894
1894
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
1895
1895
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -1900,7 +1900,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
1900
1900
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
1901
1901
|
var meetingFindingFingerprint = findingFingerprint;
|
|
1902
1902
|
|
|
1903
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1903
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
1904
1904
|
var context = {
|
|
1905
1905
|
command: "search meetings",
|
|
1906
1906
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -1963,7 +1963,7 @@ var MEETING_FIELDS = defineQuery({
|
|
|
1963
1963
|
});
|
|
1964
1964
|
var parseMeetingQuery = /* @__PURE__ */ __name((query) => validateQuery(parseLucene(query, { defaultField: "text", proximity: true, ...context }), MEETING_HIT_QUERY, context), "parseMeetingQuery");
|
|
1965
1965
|
|
|
1966
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1966
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/language.js
|
|
1967
1967
|
var LATIN_WORDS = {
|
|
1968
1968
|
en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
|
|
1969
1969
|
es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
|
|
@@ -2012,7 +2012,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
|
|
|
2012
2012
|
return null;
|
|
2013
2013
|
}, "transcriptLanguage");
|
|
2014
2014
|
|
|
2015
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2015
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
2016
2016
|
var contentHash = /* @__PURE__ */ __name(async (text5) => {
|
|
2017
2017
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text5));
|
|
2018
2018
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -2049,7 +2049,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
2049
2049
|
return time;
|
|
2050
2050
|
}, "timestamp");
|
|
2051
2051
|
|
|
2052
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2052
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
2053
2053
|
var TranscriptTextError = class extends Error {
|
|
2054
2054
|
static {
|
|
2055
2055
|
__name(this, "TranscriptTextError");
|
|
@@ -2104,7 +2104,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
2104
2104
|
return { header, lines };
|
|
2105
2105
|
}, "parseTranscriptText");
|
|
2106
2106
|
|
|
2107
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2107
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
2108
2108
|
var VttError = class extends Error {
|
|
2109
2109
|
static {
|
|
2110
2110
|
__name(this, "VttError");
|
|
@@ -2156,7 +2156,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
2156
2156
|
return cues;
|
|
2157
2157
|
}, "parseVtt");
|
|
2158
2158
|
|
|
2159
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2159
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
2160
2160
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
2161
2161
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
2162
2162
|
for (const file of files) {
|
|
@@ -2189,10 +2189,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
2189
2189
|
return report;
|
|
2190
2190
|
}, "importFiles");
|
|
2191
2191
|
|
|
2192
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2192
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
2193
2193
|
var CHAT_MESSAGES_READ = 1e5;
|
|
2194
2194
|
|
|
2195
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2195
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
2196
2196
|
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
2197
2197
|
if (typeof value !== "string" || !value.trim())
|
|
2198
2198
|
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
@@ -2243,7 +2243,7 @@ var validateMeetingChange = /* @__PURE__ */ __name((change, create) => {
|
|
|
2243
2243
|
return Object.freeze(result);
|
|
2244
2244
|
}, "validateMeetingChange");
|
|
2245
2245
|
|
|
2246
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2246
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
2247
2247
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
2248
2248
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
2249
2249
|
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)))
|
|
@@ -2256,7 +2256,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
2256
2256
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
2257
2257
|
}, "validateMeetingPassage");
|
|
2258
2258
|
|
|
2259
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2259
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
2260
2260
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
2261
2261
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2262
2262
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -2281,7 +2281,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
2281
2281
|
return { ...input, limit, maxReadBytes };
|
|
2282
2282
|
}, "validateMeetingPreparationContext");
|
|
2283
2283
|
|
|
2284
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2284
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
2285
2285
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
2286
2286
|
var id = pipe(string(), minLength(1));
|
|
2287
2287
|
var meetingProjectEvidence = strictObject({
|
|
@@ -2402,7 +2402,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
2402
2402
|
};
|
|
2403
2403
|
}, "meetingProjectEvidenceAnswer");
|
|
2404
2404
|
|
|
2405
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2405
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
2406
2406
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
2407
2407
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
2408
2408
|
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) || [
|
|
@@ -2422,7 +2422,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
2422
2422
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
2423
2423
|
}, "validateMeetingHitSearch");
|
|
2424
2424
|
|
|
2425
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2425
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
2426
2426
|
var ids = {
|
|
2427
2427
|
meeting_id: "meetingId",
|
|
2428
2428
|
identity_id: "participantIdentityId",
|
|
@@ -2513,7 +2513,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
|
|
|
2513
2513
|
return { project: project.trim(), options, query: frozen.join(" AND ") };
|
|
2514
2514
|
}, "prepareMeetingProjectEvidence");
|
|
2515
2515
|
|
|
2516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2516
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
2517
2517
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
|
|
2518
2518
|
const prepared = prepareMeetingProjectEvidence(project, request, now);
|
|
2519
2519
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -2521,7 +2521,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
|
|
|
2521
2521
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
2522
2522
|
}, "readMeetingProjectEvidence");
|
|
2523
2523
|
|
|
2524
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2524
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
2525
2525
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
2526
2526
|
const { identityExternalId, ...fields } = p;
|
|
2527
2527
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -2660,7 +2660,7 @@ unlinked`, format)],
|
|
|
2660
2660
|
return report;
|
|
2661
2661
|
}, "pull");
|
|
2662
2662
|
|
|
2663
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2663
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
2664
2664
|
var text3 = string();
|
|
2665
2665
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2666
2666
|
var id2 = pipe(number(), integer(), minValue(1));
|
|
@@ -2854,10 +2854,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
2854
2854
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
2855
2855
|
}), "eventItem");
|
|
2856
2856
|
|
|
2857
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2857
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
2858
2858
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
2859
2859
|
|
|
2860
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2860
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
2861
2861
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
2862
2862
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2863
2863
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -2887,7 +2887,7 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
2887
2887
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
2888
2888
|
}, "validateMeetingRelatedHistory");
|
|
2889
2889
|
|
|
2890
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2890
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
2891
2891
|
var text4 = string();
|
|
2892
2892
|
var identifier = pipe(text4, minLength(1));
|
|
2893
2893
|
var nullableText = nullable(text4);
|
|
@@ -3020,14 +3020,14 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
3020
3020
|
meeting_repair: repair
|
|
3021
3021
|
};
|
|
3022
3022
|
|
|
3023
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3023
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
3024
3024
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
3025
3025
|
|
|
3026
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3026
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
3027
3027
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
3028
3028
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
3029
3029
|
|
|
3030
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3030
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
3031
3031
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
3032
3032
|
input.signal?.throwIfAborted();
|
|
3033
3033
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -3048,10 +3048,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
3048
3048
|
return { ...input, limit, maxReadBytes };
|
|
3049
3049
|
}, "validateMeetingSeriesHistory");
|
|
3050
3050
|
|
|
3051
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3051
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
3052
3052
|
var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
|
|
3053
3053
|
|
|
3054
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3054
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
3055
3055
|
function invalid4(field, response = false) {
|
|
3056
3056
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
3057
3057
|
}
|
|
@@ -3080,7 +3080,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
3080
3080
|
cursorDetails(value);
|
|
3081
3081
|
}, "validateMeetingSeriesInventoryCursor");
|
|
3082
3082
|
|
|
3083
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3083
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
3084
3084
|
var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
|
|
3085
3085
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
3086
3086
|
const zone = timeZone ?? "UTC";
|
|
@@ -3215,7 +3215,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
3215
3215
|
};
|
|
3216
3216
|
}, "aggregateMeetingStats");
|
|
3217
3217
|
|
|
3218
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3218
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/domain/money.js
|
|
3219
3219
|
var CURRENCY_SCALES = {
|
|
3220
3220
|
AED: 2,
|
|
3221
3221
|
AMD: 2,
|
|
@@ -3300,7 +3300,7 @@ var quantityOf = /* @__PURE__ */ __name((text5) => {
|
|
|
3300
3300
|
}, "quantityOf");
|
|
3301
3301
|
var lineUnits = /* @__PURE__ */ __name((thousandths, unitPrice) => Number((thousandths * BigInt(unitPrice) + 500n) / 1000n), "lineUnits");
|
|
3302
3302
|
|
|
3303
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3303
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/domain/finance.js
|
|
3304
3304
|
var INVOICE_DIRECTIONS = ["receivable", "payable"];
|
|
3305
3305
|
var INVOICE_STATUSES = ["draft", "issued", "partly_paid", "paid", "void"];
|
|
3306
3306
|
var MONEY_DIRECTIONS = ["in", "out"];
|
|
@@ -3329,7 +3329,7 @@ var paymentLine = /* @__PURE__ */ __name((payment) => {
|
|
|
3329
3329
|
var invoiceTitle = /* @__PURE__ */ __name((invoice) => `Invoice ${invoiceLine(invoice)}`, "invoiceTitle");
|
|
3330
3330
|
var paymentEntryTitle = /* @__PURE__ */ __name((payment) => `Payment \xB7 ${paymentLine(payment)}`, "paymentEntryTitle");
|
|
3331
3331
|
|
|
3332
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3332
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/domain/orders.js
|
|
3333
3333
|
var ORDER_STATUSES = ["placed", "shipped", "delivered", "cancelled", "returned"];
|
|
3334
3334
|
var ORDER_PURPOSES = ["personal", "business", "client", "other"];
|
|
3335
3335
|
var orderLine = /* @__PURE__ */ __name((order) => {
|
|
@@ -3339,7 +3339,7 @@ var orderLine = /* @__PURE__ */ __name((order) => {
|
|
|
3339
3339
|
}, "orderLine");
|
|
3340
3340
|
var orderTitle = /* @__PURE__ */ __name((order) => `Order ${orderLine(order)}`, "orderTitle");
|
|
3341
3341
|
|
|
3342
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3342
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/domain/tags.js
|
|
3343
3343
|
var TAG_TYPES = ["chat", "contact", "message", "task"];
|
|
3344
3344
|
var TAG = /^[a-z0-9-]{1,32}$/;
|
|
3345
3345
|
var tagOf = /* @__PURE__ */ __name((value) => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.80.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
|
|
8
8
|
import { existsSync } from "node:fs";
|
|
9
9
|
import { win32 } from "node:path";
|
|
10
10
|
var variable = /* @__PURE__ */ __name((env, name) => Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1], "variable");
|