@wirecat/cli-memo 0.131.47 → 0.131.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-75EGCXK3.js → all-profiles-3HADTQZA.js} +9 -9
- package/dist/bundle/{anthropic-PTAYBCPR.js → anthropic-RI4DWC3G.js} +6 -6
- package/dist/bundle/{app-server-YSUBXGGB.js → app-server-6EKWAYJI.js} +42 -42
- package/dist/bundle/auto-NKUBNWLS.js +86 -0
- package/dist/bundle/{bun-3AIG5ML4.js → bun-HUHQD76Z.js} +2 -2
- package/dist/bundle/{bun-sqlite-5FCGI6EO.js → bun-sqlite-RPSKGB4O.js} +5 -5
- package/dist/bundle/{chunk-3HPFTKDH.js → chunk-2HPYP3ZT.js} +4 -4
- package/dist/bundle/{chunk-KLBZJZD2.js → chunk-2OIGV355.js} +216 -143
- package/dist/bundle/{chunk-R44PUK7G.js → chunk-355PHJYX.js} +1 -1
- package/dist/bundle/{chunk-F4HMPMET.js → chunk-3BG5VYMV.js} +10 -10
- package/dist/bundle/{chunk-5N6HWFXN.js → chunk-4VQPPX47.js} +350 -295
- package/dist/bundle/{chunk-PGVADNDD.js → chunk-57LMWEDK.js} +3 -3
- package/dist/bundle/{chunk-ELKK5M66.js → chunk-5JVA43HX.js} +6 -6
- package/dist/bundle/{chunk-U35N3EC7.js → chunk-5RVL7GYA.js} +2 -2
- package/dist/bundle/{chunk-BNIWLVWG.js → chunk-6N6BVPVX.js} +18 -4
- package/dist/bundle/{chunk-JY34MQW4.js → chunk-7RNHFNHX.js} +4 -4
- package/dist/bundle/{chunk-HCZV537M.js → chunk-AKD62EUH.js} +2 -2
- package/dist/bundle/{chunk-RZ54DSVU.js → chunk-BXTDAGM4.js} +2 -2
- package/dist/bundle/{chunk-V3B5COFP.js → chunk-BYVASZVV.js} +5 -5
- package/dist/bundle/{chunk-DS4DOK75.js → chunk-D5KGXYG6.js} +33 -25
- package/dist/bundle/{chunk-4LWX2WOB.js → chunk-DJRBSOWH.js} +4 -4
- package/dist/bundle/{chunk-W2JVP7GK.js → chunk-DVA6MQWK.js} +1 -1
- package/dist/bundle/{chunk-SN63VOE6.js → chunk-EBNNONF5.js} +8 -8
- package/dist/bundle/{chunk-XRRPQCTS.js → chunk-EJDV5IIF.js} +1 -1
- package/dist/bundle/{chunk-ZKH6LC5P.js → chunk-FOM7WE2C.js} +9 -9
- package/dist/bundle/{chunk-GA3KFYEZ.js → chunk-GAKZOX2S.js} +20 -11
- package/dist/bundle/{chunk-IPMBB6W5.js → chunk-GIDZGGAD.js} +4 -4
- package/dist/bundle/{chunk-6TKWJKPS.js → chunk-GV6XJMUW.js} +12 -12
- package/dist/bundle/{chunk-EFQCDCLY.js → chunk-HCMXUHHF.js} +99 -74
- package/dist/bundle/{chunk-U75ANK5K.js → chunk-HXOAPH47.js} +1 -1
- package/dist/bundle/{chunk-J324GKJM.js → chunk-IXXBPSXO.js} +2 -2
- package/dist/bundle/{chunk-UFVGAFID.js → chunk-KVOHC4ZM.js} +22 -14
- package/dist/bundle/{chunk-N63KZFH4.js → chunk-LUPJB7ZD.js} +9 -9
- package/dist/bundle/{chunk-IPLPMD6H.js → chunk-LZWXGO3G.js} +2 -2
- package/dist/bundle/{chunk-6QNPOBR5.js → chunk-N6IHOYMT.js} +198 -81
- package/dist/bundle/{chunk-32QM6X5H.js → chunk-ND6D4A6H.js} +3 -3
- package/dist/bundle/{chunk-MCMEBL3C.js → chunk-NJDGZRF5.js} +31 -15
- package/dist/bundle/{chunk-25RDNYKZ.js → chunk-NTQUBSIJ.js} +6 -6
- package/dist/bundle/{chunk-I2RDACUF.js → chunk-O3KOW7RG.js} +8 -8
- package/dist/bundle/{chunk-2R2Z2VWL.js → chunk-O3ZOYXH3.js} +20 -20
- package/dist/bundle/{chunk-W3T45MMN.js → chunk-OQTBCPSG.js} +8 -8
- package/dist/bundle/{chunk-SYTYLLYO.js → chunk-OT23U5LT.js} +2 -2
- package/dist/bundle/{chunk-OSCRP52P.js → chunk-P2LMXIHL.js} +675 -400
- package/dist/bundle/{chunk-ZLIARJU4.js → chunk-P2TISY3R.js} +1 -1
- package/dist/bundle/{chunk-CID4MNRQ.js → chunk-P3ASN72F.js} +1 -1
- package/dist/bundle/{chunk-YMK35KVV.js → chunk-PEYCLVIO.js} +2 -2
- package/dist/bundle/{chunk-UE4GMPBY.js → chunk-PUTGTW6W.js} +1 -1
- package/dist/bundle/{chunk-G3YSCD77.js → chunk-PYRHU35W.js} +173 -156
- package/dist/bundle/{chunk-DDADFHR7.js → chunk-QCPUC3HW.js} +13 -13
- package/dist/bundle/{chunk-N5QQFDNV.js → chunk-QCRJNWJZ.js} +3 -3
- package/dist/bundle/{chunk-HVTW2M6T.js → chunk-QNM36ARO.js} +8 -2
- package/dist/bundle/{chunk-Y5CAKD4X.js → chunk-QOGYHU3Q.js} +4 -4
- package/dist/bundle/{chunk-MMJDQQFX.js → chunk-RKFKRCOH.js} +310 -279
- package/dist/bundle/{chunk-DMTLG2GD.js → chunk-RYMYE5PF.js} +8 -8
- package/dist/bundle/{chunk-MSBRZ5QD.js → chunk-S7F4ZDFU.js} +3 -3
- package/dist/bundle/{chunk-G4W42RGE.js → chunk-SSPSNSC5.js} +1 -1
- package/dist/bundle/{chunk-ILK5BCBB.js → chunk-TSUNLSIN.js} +2 -2
- package/dist/bundle/{chunk-6IVHND3S.js → chunk-UAR6UMFL.js} +5 -5
- package/dist/bundle/{chunk-HYEYRFWX.js → chunk-UDJTRFRV.js} +1 -1
- package/dist/bundle/{chunk-FSAMZHIM.js → chunk-UG4BO256.js} +6 -6
- package/dist/bundle/{chunk-LE7NROV6.js → chunk-UJLYVXP6.js} +34 -34
- package/dist/bundle/{chunk-EVZI54B5.js → chunk-V2DMJ6ES.js} +6 -6
- package/dist/bundle/{chunk-LER7G4XY.js → chunk-VW6BF6M7.js} +1 -1
- package/dist/bundle/{chunk-V6OYLCCM.js → chunk-W6JQNNJ5.js} +3 -3
- package/dist/bundle/{chunk-DWBTCOF2.js → chunk-WNW6VW27.js} +7 -7
- package/dist/bundle/{chunk-KWM7HLAI.js → chunk-XH6K2B5L.js} +4 -4
- package/dist/bundle/{chunk-GOFPCOEI.js → chunk-XXGBXCBQ.js} +11 -11
- package/dist/bundle/{chunk-GQLSVXS2.js → chunk-XZZFHQGM.js} +22 -22
- package/dist/bundle/{chunk-CODD5SXC.js → chunk-Y6VH7IRN.js} +29 -29
- package/dist/bundle/{chunk-Y4ZXDJQF.js → chunk-ZA7FKGB7.js} +2 -2
- package/dist/bundle/command-contract-MRLLZQ4M.js +32 -0
- package/dist/bundle/{decode-F2A2BLIA.js → decode-IYWZ3X7X.js} +5 -5
- package/dist/bundle/{dispatch-MLRETSNQ.js → dispatch-HCRXCPCF.js} +8 -8
- package/dist/bundle/{echarts-JL55HJCM.js → echarts-5LLJ6JXC.js} +2 -2
- package/dist/bundle/{embed-74KVORNN.js → embed-EGY2R4FN.js} +6 -6
- package/dist/bundle/{embedder-GACNPCZN.js → embedder-K2BGPWNX.js} +9 -9
- package/dist/bundle/{entry-7FI2H4RQ.js → entry-NMAZNDNU.js} +7 -7
- package/dist/bundle/{failure-UJBGB2GP.js → failure-G4DCTWFD.js} +2 -2
- package/dist/bundle/failure-SACX3WGX.js +66 -0
- package/dist/bundle/{first-run-D4VBIJ7H.js → first-run-QDCSWX3N.js} +11 -11
- package/dist/bundle/first-screen-YABO6OZ7.js +30 -0
- package/dist/bundle/{instructions-QNPIVGKX.js → instructions-P72XX4AK.js} +1 -1
- package/dist/bundle/{mcp-YMXA6IH6.js → mcp-M4QN2E7R.js} +2 -2
- package/dist/bundle/mcp-QRZ2HSON.js +90 -0
- package/dist/bundle/memo.js +16 -16
- package/dist/bundle/{node-SPFML2D5.js → node-ZB4RNICS.js} +2 -2
- package/dist/bundle/{node-sqlite-T3KILRCP.js → node-sqlite-7XJ4J4E5.js} +6 -6
- package/dist/bundle/{oauth-ZOGSHZF3.js → oauth-FMH3JIPT.js} +7 -7
- package/dist/bundle/{open-XXFVCGCA.js → open-PRCTOHHL.js} +5 -5
- package/dist/bundle/{openai-JRHZLFKD.js → openai-VW4W6SIO.js} +10 -10
- package/dist/bundle/{process-OGYYVVLG.js → process-XNN4WG6N.js} +1 -1
- package/dist/bundle/{program-EFCQACPD.js → program-OSHEAD76.js} +161 -89
- package/dist/bundle/{prompt-53D5WVD3.js → prompt-RT55UZGB.js} +5 -5
- package/dist/bundle/{recognize-7GYZKJCD.js → recognize-AQ2UXUC2.js} +4 -4
- package/dist/bundle/{remote-V5GUFZCG.js → remote-T3P5OWRR.js} +7 -7
- package/dist/bundle/{rerank-FUNVBYFI.js → rerank-743T3675.js} +7 -7
- package/dist/bundle/{serve-ZLUYFAXC.js → serve-BSKOU4FJ.js} +9 -9
- package/dist/bundle/{server-HJRMD3XD.js → server-7GH6JLM3.js} +57 -57
- package/dist/bundle/server-VMWVYGK7.js +48 -0
- package/dist/bundle/server-ZFHSK6TT.js +61 -0
- package/dist/bundle/{state-4P7H6KBM.js → state-MDMI3I2Z.js} +6 -6
- package/dist/bundle/{store-NILJK24C.js → store-I3DIZALN.js} +13 -13
- package/dist/bundle/store-maintenance-command-HZPQPOK7.js +48 -0
- package/dist/bundle/update-Y3UQ5DQJ.js +69 -0
- package/dist/doctor/command.d.ts +2 -0
- package/dist/doctor/command.d.ts.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +1 -0
- package/dist/examples.js.map +1 -1
- package/dist/memories/memory.d.ts.map +1 -1
- package/dist/memories/memory.js +3 -1
- package/dist/memories/memory.js.map +1 -1
- package/dist/notes/folders-command.d.ts.map +1 -1
- package/dist/notes/folders-command.js +51 -1
- package/dist/notes/folders-command.js.map +1 -1
- package/dist/notes/folders.d.ts +1 -0
- package/dist/notes/folders.d.ts.map +1 -1
- package/dist/notes/folders.js +1 -0
- package/dist/notes/folders.js.map +1 -1
- package/dist/notes/import.d.ts +3 -1
- package/dist/notes/import.d.ts.map +1 -1
- package/dist/notes/import.js +8 -3
- package/dist/notes/import.js.map +1 -1
- package/dist/notes/state.d.ts +2 -0
- package/dist/notes/state.d.ts.map +1 -1
- package/dist/notes/state.js +3 -1
- package/dist/notes/state.js.map +1 -1
- package/dist/progress.d.ts +12 -0
- package/dist/progress.d.ts.map +1 -0
- package/dist/progress.js +19 -0
- package/dist/progress.js.map +1 -0
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +6 -0
- package/dist/reasons.js.map +1 -1
- package/dist/run/auto.d.ts +3 -0
- package/dist/run/auto.d.ts.map +1 -1
- package/dist/run/auto.js +16 -4
- package/dist/run/auto.js.map +1 -1
- package/dist/run/import.d.ts.map +1 -1
- package/dist/run/import.js +7 -1
- package/dist/run/import.js.map +1 -1
- package/dist/search/answers.d.ts.map +1 -1
- package/dist/search/answers.js +7 -2
- package/dist/search/answers.js.map +1 -1
- package/dist/search/search.d.ts.map +1 -1
- package/dist/search/search.js +4 -3
- package/dist/search/search.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/dist/bundle/auto-GB35FRTV.js +0 -86
- package/dist/bundle/command-contract-YYILWWYQ.js +0 -32
- package/dist/bundle/failure-AHPPXHAW.js +0 -66
- package/dist/bundle/first-screen-D7Q2U7VP.js +0 -30
- package/dist/bundle/mcp-AFXHH33V.js +0 -90
- package/dist/bundle/server-4OJC7ZWM.js +0 -61
- package/dist/bundle/server-CGUUZBLB.js +0 -48
- package/dist/bundle/store-maintenance-command-VP7CIBSS.js +0 -48
- package/dist/bundle/update-NPK4DT2E.js +0 -69
- /package/dist/bundle/{chunk-AT5Y62SD.js → chunk-CDFNOKPG.js} +0 -0
- /package/dist/bundle/{chunk-JPGEFBRW.js → chunk-VOXIGICJ.js} +0 -0
|
@@ -33,18 +33,18 @@ import {
|
|
|
33
33
|
union,
|
|
34
34
|
unknown,
|
|
35
35
|
variant
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-EBNNONF5.js";
|
|
37
37
|
import {
|
|
38
38
|
CliError,
|
|
39
39
|
isCliError,
|
|
40
40
|
singleLine,
|
|
41
41
|
visibleControls
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-BXTDAGM4.js";
|
|
43
43
|
import {
|
|
44
44
|
__name
|
|
45
45
|
} from "./chunk-ZVVMGPBJ.js";
|
|
46
46
|
|
|
47
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
47
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
|
|
48
48
|
var QUERY_LIMITS = {
|
|
49
49
|
bytes: 8192,
|
|
50
50
|
depth: 32,
|
|
@@ -88,7 +88,7 @@ function queryError(reason, span, alternative, context3 = {}, details = {}) {
|
|
|
88
88
|
__name(queryError, "queryError");
|
|
89
89
|
var walkQuery = /* @__PURE__ */ __name((node) => node.kind === "predicate" ? [node] : node.clauses.flatMap(({ node: node2 }) => walkQuery(node2)), "walkQuery");
|
|
90
90
|
|
|
91
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
91
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
|
|
92
92
|
var timezoneOf = /* @__PURE__ */ __name((given) => {
|
|
93
93
|
const zone = given ?? Intl.DateTimeFormat().resolvedOptions().timeZone ?? "UTC";
|
|
94
94
|
try {
|
|
@@ -233,7 +233,7 @@ var dateRange = /* @__PURE__ */ __name((lower, upper, lowerInclusive, upperInclu
|
|
|
233
233
|
};
|
|
234
234
|
}, "dateRange");
|
|
235
235
|
|
|
236
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
236
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
|
|
237
237
|
var FIELD_TYPES = ["kw", "txt", "enum", "num", "time", "bool", "ref"];
|
|
238
238
|
var OPERATORS_BY_TYPE = {
|
|
239
239
|
kw: ["term", "phrase", "wildcard"],
|
|
@@ -312,7 +312,7 @@ var queryFieldsOf = /* @__PURE__ */ __name((schema, annotations = {}) => {
|
|
|
312
312
|
return [...own, ...relations, ...states];
|
|
313
313
|
}, "queryFieldsOf");
|
|
314
314
|
|
|
315
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
315
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
|
|
316
316
|
var shownOf = /* @__PURE__ */ __name((registry) => registry.backend === "native" ? registry.fields.filter((field) => field.native) : registry.fields, "shownOf");
|
|
317
317
|
var leftOut = /* @__PURE__ */ __name((fields) => fields.filter((field) => field.negatable).map((field) => field.name), "leftOut");
|
|
318
318
|
var has = /* @__PURE__ */ __name((fields, operator) => fields.some((field) => field.operators.includes(operator)), "has");
|
|
@@ -349,7 +349,7 @@ var queryDescription = /* @__PURE__ */ __name((registry) => {
|
|
|
349
349
|
return `${terms}; fields: ${fields.join(", ")}; e.g. ${shown[0]?.example ?? ""}${defaults}`;
|
|
350
350
|
}, "queryDescription");
|
|
351
351
|
|
|
352
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
352
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
|
|
353
353
|
var whitespace = /* @__PURE__ */ __name((c) => /[ \t\n\r\u3000]/u.test(c), "whitespace");
|
|
354
354
|
var reserved = /* @__PURE__ */ new Set([
|
|
355
355
|
"+",
|
|
@@ -658,7 +658,7 @@ var implicitTextTerms = /* @__PURE__ */ __name((text6) => {
|
|
|
658
658
|
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] : []));
|
|
659
659
|
}, "implicitTextTerms");
|
|
660
660
|
|
|
661
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
661
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
|
|
662
662
|
var inContext = /* @__PURE__ */ __name((context3, run2) => {
|
|
663
663
|
try {
|
|
664
664
|
run2();
|
|
@@ -733,7 +733,7 @@ var validateQuery = /* @__PURE__ */ __name((ast, registry, options = {}) => {
|
|
|
733
733
|
}, "validateQuery");
|
|
734
734
|
var fieldsNamed = /* @__PURE__ */ __name((ast) => new Set(walkQuery(ast.root).map((node) => node.field)), "fieldsNamed");
|
|
735
735
|
|
|
736
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
736
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
|
|
737
737
|
var describeQuery = /* @__PURE__ */ __name((registry) => ({
|
|
738
738
|
entity: registry.entity,
|
|
739
739
|
backend: registry.backend,
|
|
@@ -804,7 +804,7 @@ var QUERY_REASONS = defineReasons([
|
|
|
804
804
|
details: [...SPAN, ...details]
|
|
805
805
|
})));
|
|
806
806
|
|
|
807
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
807
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
|
|
808
808
|
var wordsOf = /* @__PURE__ */ __name((text6) => text6.toLowerCase().match(/[\p{L}\p{N}]+/gu) ?? [], "wordsOf");
|
|
809
809
|
var pattern = /* @__PURE__ */ __name((value) => new RegExp(`^${[...value].map((char) => char === "*" ? ".*" : char === "?" ? "." : char.replace(/[.+^${}()|[\]\\]/, "\\$&")).join("")}$`, "iu"), "pattern");
|
|
810
810
|
var present = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "", "present");
|
|
@@ -859,7 +859,7 @@ var matches = /* @__PURE__ */ __name((node, item, byName, options) => {
|
|
|
859
859
|
}, "matches");
|
|
860
860
|
var evaluate = /* @__PURE__ */ __name((ast, fields, item, options = {}) => matches(ast.root, item, new Map(fields.map((field) => [field.name, field])), options), "evaluate");
|
|
861
861
|
|
|
862
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
862
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
863
863
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
864
864
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
865
865
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -896,7 +896,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text6) => {
|
|
|
896
896
|
}, "parseMeetingReference");
|
|
897
897
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text6) => formatMeetingReference(parseMeetingReference(text6)), "canonicalMeetingReference");
|
|
898
898
|
|
|
899
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
899
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
900
900
|
var text = string();
|
|
901
901
|
var count = pipe(number(), integer(), minValue(0));
|
|
902
902
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -961,7 +961,7 @@ var MEETING_QUERY = {
|
|
|
961
961
|
})
|
|
962
962
|
};
|
|
963
963
|
|
|
964
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
964
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
965
965
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
966
966
|
const parsed = urlOf(url);
|
|
967
967
|
if (!parsed)
|
|
@@ -995,7 +995,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
995
995
|
}
|
|
996
996
|
}, "urlOf");
|
|
997
997
|
|
|
998
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
998
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
999
999
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
1000
1000
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
1001
1001
|
var htmlToText = /* @__PURE__ */ __name((html) => html.replace(/<\s*br\s*\/?>/giu, "\n").replace(/<\/\s*(p|div|li|tr|h[1-6])\s*>/giu, "\n").replace(/<a\s[^>]*href\s*=\s*"([^"]*)"[^>]*>/giu, " $1 ").replace(/<[^>]+>/gu, "").replace(/&(amp|lt|gt|quot|#39|apos|nbsp);/gu, (_, name) => ENTITIES[name] ?? ""), "htmlToText");
|
|
@@ -1028,7 +1028,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
1028
1028
|
return kept;
|
|
1029
1029
|
}, "entryMetadata");
|
|
1030
1030
|
|
|
1031
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1031
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
1032
1032
|
import { createHash } from "node:crypto";
|
|
1033
1033
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
1034
1034
|
reference: cue2.reference,
|
|
@@ -1042,7 +1042,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
1042
1042
|
text: cue2.text
|
|
1043
1043
|
})).digest("hex"), "meetingCueFingerprint");
|
|
1044
1044
|
|
|
1045
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1045
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
1046
1046
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
1047
1047
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
1048
1048
|
if (entry.recurrenceEndsAt !== null)
|
|
@@ -1065,7 +1065,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
|
|
|
1065
1065
|
return Math.max(entry.endsAt ?? start, start + 1) > window.from;
|
|
1066
1066
|
}, "entryInWindow");
|
|
1067
1067
|
|
|
1068
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1068
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
1069
1069
|
var text2 = string();
|
|
1070
1070
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
1071
1071
|
var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
@@ -1300,7 +1300,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
1300
1300
|
};
|
|
1301
1301
|
}, "meetingHitsList");
|
|
1302
1302
|
|
|
1303
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1303
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
1304
1304
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text6) => text6.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
1305
1305
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
1306
1306
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -1324,7 +1324,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
1324
1324
|
};
|
|
1325
1325
|
}, "validateMeetingParticipantSearch");
|
|
1326
1326
|
|
|
1327
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1327
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
1328
1328
|
var MeetingError = class extends CliError {
|
|
1329
1329
|
static {
|
|
1330
1330
|
__name(this, "MeetingError");
|
|
@@ -1456,7 +1456,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id4, accountId)
|
|
|
1456
1456
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
1457
1457
|
}, "meetingSummaryAnswer");
|
|
1458
1458
|
|
|
1459
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1459
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
1460
1460
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
1461
1461
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
1462
1462
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -1552,7 +1552,7 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id4, options) => {
|
|
|
1552
1552
|
};
|
|
1553
1553
|
}, "exportMeeting");
|
|
1554
1554
|
|
|
1555
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1555
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/payment.js
|
|
1556
1556
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
1557
1557
|
var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
|
|
1558
1558
|
var PAYMENT_STATES = ["expected", "paid", "cancelled"];
|
|
@@ -1646,10 +1646,10 @@ var paymentTitle = /* @__PURE__ */ __name((fact) => {
|
|
|
1646
1646
|
return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
|
|
1647
1647
|
}, "paymentTitle");
|
|
1648
1648
|
|
|
1649
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1649
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1650
1650
|
import { createHash as createHash2 } from "node:crypto";
|
|
1651
1651
|
|
|
1652
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1652
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
1653
1653
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
1654
1654
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
1655
1655
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone, such as 2026-11-09T09:00:00Z`);
|
|
@@ -1660,7 +1660,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
1660
1660
|
return new Date(value).toISOString();
|
|
1661
1661
|
}, "meetingTimestamp");
|
|
1662
1662
|
|
|
1663
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1663
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1664
1664
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
1665
1665
|
var invalid3 = /* @__PURE__ */ __name((message) => {
|
|
1666
1666
|
throw new CliError("validation_error", message);
|
|
@@ -1833,7 +1833,7 @@ var validateBatch = /* @__PURE__ */ __name((input, rules, most, one) => {
|
|
|
1833
1833
|
var validateFindings = /* @__PURE__ */ __name((input, rules) => validateBatch(input, rules, 16, (finding, ids2) => validateFinding(finding, rules, ids2)), "validateFindings");
|
|
1834
1834
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
1835
1835
|
|
|
1836
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1836
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
1837
1837
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
1838
1838
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
1839
1839
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -1844,7 +1844,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
1844
1844
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
1845
1845
|
var meetingFindingFingerprint = findingFingerprint;
|
|
1846
1846
|
|
|
1847
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1847
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
1848
1848
|
var text3 = string();
|
|
1849
1849
|
var identifier = pipe(text3, minLength(1));
|
|
1850
1850
|
var nullableText = nullable(text3);
|
|
@@ -1977,7 +1977,7 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
1977
1977
|
meeting_repair: repair
|
|
1978
1978
|
};
|
|
1979
1979
|
|
|
1980
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1980
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
1981
1981
|
var EVENT_QUERY = defineQuery({
|
|
1982
1982
|
entity: "event",
|
|
1983
1983
|
backend: "sql",
|
|
@@ -1993,7 +1993,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
1993
1993
|
]
|
|
1994
1994
|
});
|
|
1995
1995
|
|
|
1996
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1996
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
1997
1997
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
|
|
1998
1998
|
const current = await store.meeting(details.meeting.id);
|
|
1999
1999
|
if (!current)
|
|
@@ -2036,7 +2036,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
2036
2036
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
2037
2037
|
}, "linkEvent");
|
|
2038
2038
|
|
|
2039
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2039
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
2040
2040
|
var context = {
|
|
2041
2041
|
command: "search meetings",
|
|
2042
2042
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -2098,6 +2098,7 @@ var MEETING_FIELDS = defineQuery({
|
|
|
2098
2098
|
]
|
|
2099
2099
|
});
|
|
2100
2100
|
var LIFTED = /* @__PURE__ */ new Set(["date", "project", "tag", "topic"]);
|
|
2101
|
+
var MEETING_FIELD_NAMES = new Set(MEETING_FIELDS.fields.map(({ name }) => name));
|
|
2101
2102
|
var liftMeetingFields = /* @__PURE__ */ __name((query, request, now) => {
|
|
2102
2103
|
let ast;
|
|
2103
2104
|
try {
|
|
@@ -2155,7 +2156,7 @@ var meetingWordsQuery = /* @__PURE__ */ __name((text6) => {
|
|
|
2155
2156
|
return { version: 1, language: "lucene-v1", root };
|
|
2156
2157
|
}, "meetingWordsQuery");
|
|
2157
2158
|
|
|
2158
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2159
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/language.js
|
|
2159
2160
|
var LATIN_WORDS = {
|
|
2160
2161
|
en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
|
|
2161
2162
|
es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
|
|
@@ -2204,7 +2205,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
|
|
|
2204
2205
|
return null;
|
|
2205
2206
|
}, "transcriptLanguage");
|
|
2206
2207
|
|
|
2207
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2208
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
2208
2209
|
var contentHash = /* @__PURE__ */ __name(async (text6) => {
|
|
2209
2210
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text6));
|
|
2210
2211
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -2241,7 +2242,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
2241
2242
|
return time2;
|
|
2242
2243
|
}, "timestamp");
|
|
2243
2244
|
|
|
2244
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2245
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
2245
2246
|
var TranscriptTextError = class extends Error {
|
|
2246
2247
|
static {
|
|
2247
2248
|
__name(this, "TranscriptTextError");
|
|
@@ -2296,7 +2297,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
2296
2297
|
return { header, lines };
|
|
2297
2298
|
}, "parseTranscriptText");
|
|
2298
2299
|
|
|
2299
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2300
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
2300
2301
|
var VttError = class extends Error {
|
|
2301
2302
|
static {
|
|
2302
2303
|
__name(this, "VttError");
|
|
@@ -2348,7 +2349,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
2348
2349
|
return cues;
|
|
2349
2350
|
}, "parseVtt");
|
|
2350
2351
|
|
|
2351
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2352
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
2352
2353
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
2353
2354
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
2354
2355
|
for (const file of files) {
|
|
@@ -2381,10 +2382,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
2381
2382
|
return report;
|
|
2382
2383
|
}, "importFiles");
|
|
2383
2384
|
|
|
2384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2385
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
2385
2386
|
var CHAT_MESSAGES_READ = 1e5;
|
|
2386
2387
|
|
|
2387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2388
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/provider.js
|
|
2388
2389
|
var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
2389
2390
|
const provider = scope2?.provider;
|
|
2390
2391
|
const account = scope2?.account;
|
|
@@ -2393,7 +2394,7 @@ var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
|
2393
2394
|
return Object.freeze({ provider, account });
|
|
2394
2395
|
}, "snapshotMeetingScope");
|
|
2395
2396
|
|
|
2396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2397
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
2397
2398
|
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
2398
2399
|
if (typeof value !== "string" || !value.trim())
|
|
2399
2400
|
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
@@ -2444,7 +2445,7 @@ var validateMeetingChange = /* @__PURE__ */ __name((change, create) => {
|
|
|
2444
2445
|
return Object.freeze(result);
|
|
2445
2446
|
}, "validateMeetingChange");
|
|
2446
2447
|
|
|
2447
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2448
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
2448
2449
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
2449
2450
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
2450
2451
|
if (![before, after].every((value) => Number.isSafeInteger(value) && value >= 0) || before + after > 999 || !Number.isSafeInteger(bytes) || bytes < 2 || bytes > 4194304 || !Number.isSafeInteger(max_read_bytes) || max_read_bytes < 1 || max_read_bytes > 67108864 || expected_fingerprint !== void 0 && (typeof expected_fingerprint !== "string" || !/^[a-f0-9]{64}$/.test(expected_fingerprint)))
|
|
@@ -2457,7 +2458,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
2457
2458
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
2458
2459
|
}, "validateMeetingPassage");
|
|
2459
2460
|
|
|
2460
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2461
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
2461
2462
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
2462
2463
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2463
2464
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -2482,7 +2483,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
2482
2483
|
return { ...input, limit, maxReadBytes };
|
|
2483
2484
|
}, "validateMeetingPreparationContext");
|
|
2484
2485
|
|
|
2485
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2486
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
2486
2487
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2487
2488
|
var id = pipe(string(), minLength(1));
|
|
2488
2489
|
var meetingProjectEvidence = strictObject({
|
|
@@ -2603,7 +2604,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
2603
2604
|
};
|
|
2604
2605
|
}, "meetingProjectEvidenceAnswer");
|
|
2605
2606
|
|
|
2606
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2607
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
2607
2608
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
2608
2609
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
2609
2610
|
if (typeof query !== "string" || !query.trim() || query.includes("\0") || new TextEncoder().encode(query).byteLength > 65536 || !integer3(options.limit ?? 100, 1, 1e3) || !integer3(options.maxReadBytes ?? 4194304, 1, 67108864) || [
|
|
@@ -2623,7 +2624,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
2623
2624
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
2624
2625
|
}, "validateMeetingHitSearch");
|
|
2625
2626
|
|
|
2626
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2627
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
2627
2628
|
var ids = {
|
|
2628
2629
|
meeting_id: "meetingId",
|
|
2629
2630
|
identity_id: "participantIdentityId",
|
|
@@ -2714,7 +2715,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project2, request =
|
|
|
2714
2715
|
return { project: project2.trim(), options, query: frozen.join(" AND ") };
|
|
2715
2716
|
}, "prepareMeetingProjectEvidence");
|
|
2716
2717
|
|
|
2717
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2718
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
2718
2719
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project2, request = {}, now = Date.now()) => {
|
|
2719
2720
|
const prepared = prepareMeetingProjectEvidence(project2, request, now);
|
|
2720
2721
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -2722,7 +2723,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project2, r
|
|
|
2722
2723
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
2723
2724
|
}, "readMeetingProjectEvidence");
|
|
2724
2725
|
|
|
2725
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2726
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
2726
2727
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
2727
2728
|
const { identityExternalId, ...fields } = p;
|
|
2728
2729
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -2737,24 +2738,47 @@ var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, posit
|
|
|
2737
2738
|
}
|
|
2738
2739
|
};
|
|
2739
2740
|
}, "participantInput");
|
|
2741
|
+
var startOf = /* @__PURE__ */ __name((m) => {
|
|
2742
|
+
const at = Date.parse(m.occurrence.startedAt);
|
|
2743
|
+
return Number.isFinite(at) ? at : Number.POSITIVE_INFINITY;
|
|
2744
|
+
}, "startOf");
|
|
2740
2745
|
var pull = /* @__PURE__ */ __name(async (source, store, options) => {
|
|
2741
2746
|
const now = options.now ?? Date.now();
|
|
2742
|
-
const
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2747
|
+
for (const [name, ms] of [
|
|
2748
|
+
["lookbackMs", options.lookbackMs ?? 0],
|
|
2749
|
+
["overlapMs", source.overlapMs ?? 0]
|
|
2750
|
+
])
|
|
2751
|
+
if (!Number.isSafeInteger(ms) || ms < 0 || ms > 31 * 864e5)
|
|
2752
|
+
throw new Error(`${name} must be an integer from 0 through 31 days`);
|
|
2753
|
+
const lookbackMs = Math.max(options.lookbackMs ?? 0, source.overlapMs ?? 0);
|
|
2754
|
+
const cursor = options.rescan ? void 0 : await store.cursor(options.accountId);
|
|
2755
|
+
const since = options.since ?? cursor ?? new Date(now - 30 * 864e5).toISOString();
|
|
2746
2756
|
timestamp2(since);
|
|
2747
2757
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
2748
2758
|
let failed = false;
|
|
2759
|
+
let firstFailed;
|
|
2749
2760
|
const from = timestamp2(since) - lookbackMs;
|
|
2750
|
-
const meetings = await source.meetings(lookbackMs === 0 ? since : new Date(from).toISOString());
|
|
2751
|
-
for (const m of meetings) {
|
|
2761
|
+
const meetings = (await source.meetings(lookbackMs === 0 ? since : new Date(from).toISOString())).toSorted((a, b) => startOf(a) - startOf(b));
|
|
2762
|
+
for (const [index, m] of meetings.entries()) {
|
|
2763
|
+
const stop = options.budget?.take() ?? null;
|
|
2764
|
+
if (stop) {
|
|
2765
|
+
report.stopped = stop;
|
|
2766
|
+
report.remaining = meetings.length - index;
|
|
2767
|
+
const reached = Math.min(startOf(m), firstFailed ?? Number.POSITIVE_INFINITY);
|
|
2768
|
+
if (Number.isFinite(reached) && reached > timestamp2(since))
|
|
2769
|
+
await store.setCursor(options.accountId, new Date(reached).toISOString(), now);
|
|
2770
|
+
return report;
|
|
2771
|
+
}
|
|
2752
2772
|
const id4 = m.occurrence.id;
|
|
2773
|
+
const failedHere = /* @__PURE__ */ __name(() => {
|
|
2774
|
+
failed = true;
|
|
2775
|
+
firstFailed ??= startOf(m);
|
|
2776
|
+
}, "failedHere");
|
|
2753
2777
|
const read = /* @__PURE__ */ __name(async (part, call) => {
|
|
2754
2778
|
try {
|
|
2755
2779
|
return await call();
|
|
2756
2780
|
} catch (error) {
|
|
2757
|
-
|
|
2781
|
+
failedHere();
|
|
2758
2782
|
const message = error instanceof Error ? error.message : "could not be read";
|
|
2759
2783
|
report.warnings.push({ externalId: id4, message: `${part}: ${message}` });
|
|
2760
2784
|
return void 0;
|
|
@@ -2852,7 +2876,7 @@ unlinked`, format)],
|
|
|
2852
2876
|
report.transcriptRows += lines?.length ?? 0;
|
|
2853
2877
|
report.summaries += summary ? 1 : 0;
|
|
2854
2878
|
} catch (error) {
|
|
2855
|
-
|
|
2879
|
+
failedHere();
|
|
2856
2880
|
report.warnings.push({ externalId: id4, message: error instanceof Error ? error.message : "Meeting pull failed" });
|
|
2857
2881
|
}
|
|
2858
2882
|
}
|
|
@@ -2861,7 +2885,7 @@ unlinked`, format)],
|
|
|
2861
2885
|
return report;
|
|
2862
2886
|
}, "pull");
|
|
2863
2887
|
|
|
2864
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2888
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
2865
2889
|
var text4 = string();
|
|
2866
2890
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
2867
2891
|
var id2 = pipe(number(), integer(), minValue(1));
|
|
@@ -3055,10 +3079,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
3055
3079
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
3056
3080
|
}), "eventItem");
|
|
3057
3081
|
|
|
3058
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3082
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
3059
3083
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
3060
3084
|
|
|
3061
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3085
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
3062
3086
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
3063
3087
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
3064
3088
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -3088,14 +3112,14 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
3088
3112
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
3089
3113
|
}, "validateMeetingRelatedHistory");
|
|
3090
3114
|
|
|
3091
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
3092
3116
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
3093
3117
|
|
|
3094
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3118
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
3095
3119
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
3096
3120
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
3097
3121
|
|
|
3098
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3122
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
3099
3123
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
3100
3124
|
input.signal?.throwIfAborted();
|
|
3101
3125
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -3116,7 +3140,7 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
3116
3140
|
return { ...input, limit, maxReadBytes };
|
|
3117
3141
|
}, "validateMeetingSeriesHistory");
|
|
3118
3142
|
|
|
3119
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3143
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
3120
3144
|
var invalid4 = /* @__PURE__ */ __name((field) => {
|
|
3121
3145
|
throw new CliError("invalid_response", `meeting occurrence ${field} is invalid`);
|
|
3122
3146
|
}, "invalid");
|
|
@@ -3185,7 +3209,7 @@ var readOccurrenceSchedule = /* @__PURE__ */ __name((input, meetingId, limit, ma
|
|
|
3185
3209
|
return result;
|
|
3186
3210
|
}, "readOccurrenceSchedule");
|
|
3187
3211
|
|
|
3188
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3212
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
3189
3213
|
function invalid5(field, response = false) {
|
|
3190
3214
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
3191
3215
|
}
|
|
@@ -3214,7 +3238,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
3214
3238
|
cursorDetails(value);
|
|
3215
3239
|
}, "validateMeetingSeriesInventoryCursor");
|
|
3216
3240
|
|
|
3217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3241
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
3218
3242
|
var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
|
|
3219
3243
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
3220
3244
|
const zone = timeZone ?? "UTC";
|
|
@@ -3349,7 +3373,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
3349
3373
|
};
|
|
3350
3374
|
}, "aggregateMeetingStats");
|
|
3351
3375
|
|
|
3352
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3376
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/meetings/upcoming.js
|
|
3353
3377
|
var cancelled = /* @__PURE__ */ __name((signal) => {
|
|
3354
3378
|
if (!signal?.aborted)
|
|
3355
3379
|
return;
|
|
@@ -3419,7 +3443,7 @@ var createUpcomingMeetingReader = /* @__PURE__ */ __name((scope2, port) => {
|
|
|
3419
3443
|
};
|
|
3420
3444
|
}, "createUpcomingMeetingReader");
|
|
3421
3445
|
|
|
3422
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3446
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/domain/tags.js
|
|
3423
3447
|
var TAG_TYPES = ["chat", "contact", "message", "task"];
|
|
3424
3448
|
var TAG = /^[a-z0-9-]{1,32}$/;
|
|
3425
3449
|
var tagOf = /* @__PURE__ */ __name((value) => {
|
|
@@ -3433,7 +3457,7 @@ var normalizeTag = /* @__PURE__ */ __name((value) => {
|
|
|
3433
3457
|
return tag;
|
|
3434
3458
|
}, "normalizeTag");
|
|
3435
3459
|
|
|
3436
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3460
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
|
|
3437
3461
|
var LINK_KINDS = [
|
|
3438
3462
|
"links-to",
|
|
3439
3463
|
"blocked-by",
|
|
@@ -3454,7 +3478,7 @@ var LINK_SOURCES = [...LINK_ORIGINS, "calendar"];
|
|
|
3454
3478
|
var RELATION_KINDS = ["member-of", "related-to"];
|
|
3455
3479
|
var linkKind = /* @__PURE__ */ __name((kind) => `'${kind}'`, "linkKind");
|
|
3456
3480
|
|
|
3457
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3481
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/tasks/model.js
|
|
3458
3482
|
var TASK_KINDS = ["question", "request", "mention", "promise"];
|
|
3459
3483
|
var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
|
|
3460
3484
|
var CLOSED_STATES = ["done", "dismissed"];
|
|
@@ -3469,7 +3493,7 @@ function closeTask(task, state, by, at, reason) {
|
|
|
3469
3493
|
}
|
|
3470
3494
|
__name(closeTask, "closeTask");
|
|
3471
3495
|
|
|
3472
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3496
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/tasks/priority.js
|
|
3473
3497
|
var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
|
|
3474
3498
|
var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
|
|
3475
3499
|
var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
|
|
@@ -3498,13 +3522,13 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
|
|
|
3498
3522
|
}, "priorityOf");
|
|
3499
3523
|
var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
|
|
3500
3524
|
|
|
3501
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3525
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/tasks/store.js
|
|
3502
3526
|
function matches2(task, filter) {
|
|
3503
3527
|
return (filter.account === void 0 || task.account === filter.account) && (filter.state === void 0 || task.state === filter.state) && (filter.group === void 0 || task.group === filter.group) && (filter.kind === void 0 || task.kind === filter.kind) && (filter.createdBefore === void 0 || task.createdAt < filter.createdBefore);
|
|
3504
3528
|
}
|
|
3505
3529
|
__name(matches2, "matches");
|
|
3506
3530
|
|
|
3507
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/tasks/service.js
|
|
3508
3532
|
function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
|
|
3509
3533
|
async function find(id4) {
|
|
3510
3534
|
const task = await store.get(id4);
|
|
@@ -3564,7 +3588,7 @@ function median(values) {
|
|
|
3564
3588
|
}
|
|
3565
3589
|
__name(median, "median");
|
|
3566
3590
|
|
|
3567
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3591
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
|
|
3568
3592
|
var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
|
|
3569
3593
|
var MEMORY_KINDS = ["summary", "digest", "preference"];
|
|
3570
3594
|
var MEMORY_STATUSES = ["proposed", "confirmed", "stale", "superseded"];
|
|
@@ -3572,7 +3596,7 @@ var MEMORY_SCOPES = ["personal", "work"];
|
|
|
3572
3596
|
var WORK_TASK_TYPES = ["bug", "feature", "chore"];
|
|
3573
3597
|
var TASK_TYPES2 = [...WORK_TASK_TYPES, ...TASK_KINDS];
|
|
3574
3598
|
|
|
3575
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3599
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/domain/money.js
|
|
3576
3600
|
var CURRENCY_SCALES = {
|
|
3577
3601
|
AED: 2,
|
|
3578
3602
|
AMD: 2,
|
|
@@ -3657,7 +3681,7 @@ var quantityOf = /* @__PURE__ */ __name((text6) => {
|
|
|
3657
3681
|
}, "quantityOf");
|
|
3658
3682
|
var lineUnits = /* @__PURE__ */ __name((thousandths, unitPrice) => Number((thousandths * BigInt(unitPrice) + 500n) / 1000n), "lineUnits");
|
|
3659
3683
|
|
|
3660
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3684
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/domain/finance.js
|
|
3661
3685
|
var INVOICE_DIRECTIONS = ["receivable", "payable"];
|
|
3662
3686
|
var INVOICE_STATUSES = ["draft", "issued", "partly_paid", "paid", "void"];
|
|
3663
3687
|
var MONEY_DIRECTIONS = ["in", "out"];
|
|
@@ -3686,7 +3710,7 @@ var paymentLine = /* @__PURE__ */ __name((payment) => {
|
|
|
3686
3710
|
var invoiceTitle = /* @__PURE__ */ __name((invoice) => `Invoice ${invoiceLine(invoice)}`, "invoiceTitle");
|
|
3687
3711
|
var paymentEntryTitle = /* @__PURE__ */ __name((payment) => `Payment \xB7 ${paymentLine(payment)}`, "paymentEntryTitle");
|
|
3688
3712
|
|
|
3689
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3713
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/domain/orders.js
|
|
3690
3714
|
var ORDER_STATUSES = ["placed", "shipped", "delivered", "cancelled", "returned"];
|
|
3691
3715
|
var ORDER_PURPOSES = ["personal", "business", "client", "other"];
|
|
3692
3716
|
var orderLine = /* @__PURE__ */ __name((order) => {
|
|
@@ -3696,7 +3720,7 @@ var orderLine = /* @__PURE__ */ __name((order) => {
|
|
|
3696
3720
|
}, "orderLine");
|
|
3697
3721
|
var orderTitle = /* @__PURE__ */ __name((order) => `Order ${orderLine(order)}`, "orderTitle");
|
|
3698
3722
|
|
|
3699
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3723
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
3700
3724
|
var text5 = string();
|
|
3701
3725
|
var id3 = pipe(string(), minLength(1));
|
|
3702
3726
|
var time = isoTime;
|
|
@@ -3720,7 +3744,7 @@ var author = strictObject({
|
|
|
3720
3744
|
name: nullable(text5)
|
|
3721
3745
|
});
|
|
3722
3746
|
|
|
3723
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3747
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
3724
3748
|
var organization = strictObject({
|
|
3725
3749
|
id: id3,
|
|
3726
3750
|
ref: reference,
|
|
@@ -3820,6 +3844,7 @@ export {
|
|
|
3820
3844
|
MEETING_FINDINGS_KIND,
|
|
3821
3845
|
validateMeetingFindings,
|
|
3822
3846
|
meetingFindingFingerprint,
|
|
3847
|
+
MEETING_FIELD_NAMES,
|
|
3823
3848
|
liftMeetingFields,
|
|
3824
3849
|
parseMeetingQuery,
|
|
3825
3850
|
meetingWordsQuery,
|