@wirecat/tg-cli 0.109.0 → 0.110.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/tg.js +2 -2
- package/dist/bundle/{adapter-6JLFYFL5.js → adapter-JWUCHTXU.js} +45 -45
- package/dist/bundle/{all-profiles-X7Y3T5S4.js → all-profiles-OMRCKP54.js} +8 -8
- package/dist/bundle/{anthropic-LGVXAADT.js → anthropic-WXFHH74P.js} +5 -5
- package/dist/bundle/{app-server-UI3AFSJX.js → app-server-ILIPNO6T.js} +40 -40
- package/dist/bundle/{bot-api-TQYRNYJQ.js → bot-api-KV765AZK.js} +46 -46
- package/dist/bundle/{bot-history-DDNTNMNB.js → bot-history-3P6EIM5L.js} +15 -15
- package/dist/bundle/{bun-WXGS6HML.js → bun-MJOYPPEN.js} +2 -2
- package/dist/bundle/{bun-sqlite-M6JEXKRT.js → bun-sqlite-GFRVRRDZ.js} +4 -4
- package/dist/bundle/{chunk-C3RX3UOE.js → chunk-2YWQEG2P.js} +11 -11
- package/dist/bundle/{chunk-UIPBAT2T.js → chunk-32HEOKI2.js} +15 -14
- package/dist/bundle/{chunk-BZIZLEJN.js → chunk-3KOF5T4N.js} +4 -4
- package/dist/bundle/{chunk-WHYS6OSG.js → chunk-3L2JTAVD.js} +2 -2
- package/dist/bundle/{chunk-XJVGCCQE.js → chunk-3XTMVGTS.js} +1904 -624
- package/dist/bundle/{chunk-P5ILJ7MN.js → chunk-4BMXELWN.js} +5 -5
- package/dist/bundle/{chunk-ZMZKZL3Y.js → chunk-4GOF43MW.js} +1 -1
- package/dist/bundle/{chunk-7AJ2IESO.js → chunk-4I6HTOCM.js} +1 -1
- package/dist/bundle/{chunk-4R4AH6FM.js → chunk-4YOPRYEY.js} +94 -94
- package/dist/bundle/{chunk-AGVKIJB7.js → chunk-54CWOD7V.js} +6 -6
- package/dist/bundle/{chunk-76C5SSMR.js → chunk-5ASW5BNM.js} +12 -12
- package/dist/bundle/{chunk-P57R2P75.js → chunk-5CMOXHQS.js} +7 -7
- package/dist/bundle/{chunk-N56WXUCW.js → chunk-6KESAYMZ.js} +2 -2
- package/dist/bundle/{chunk-YYOIULA2.js → chunk-6WTLP2SI.js} +8 -8
- package/dist/bundle/{chunk-TMXNMO66.js → chunk-7ABA4EXC.js} +3 -3
- package/dist/bundle/{chunk-RD2NLJSU.js → chunk-7LZBMZQM.js} +4 -4
- package/dist/bundle/{chunk-VFVMB3NV.js → chunk-ABVHA4K6.js} +5 -5
- package/dist/bundle/{chunk-BESIMQ5U.js → chunk-AXNBGLO5.js} +1 -1
- package/dist/bundle/{chunk-INYO2QFW.js → chunk-AZYVTDAE.js} +3 -3
- package/dist/bundle/{chunk-N5FSRC6H.js → chunk-BWRCPMMC.js} +41 -31
- package/dist/bundle/{chunk-2ILQYCBY.js → chunk-BYOEVYY2.js} +553 -291
- package/dist/bundle/{chunk-NAVNCM5K.js → chunk-EB44Z44U.js} +1 -1
- package/dist/bundle/{chunk-XMMWKHNY.js → chunk-EO563SUX.js} +7 -7
- package/dist/bundle/{chunk-OHLMHBDI.js → chunk-F24EAGOU.js} +32 -31
- package/dist/bundle/{chunk-WNTXIQMB.js → chunk-F7RWNBC2.js} +2 -2
- package/dist/bundle/{chunk-IGIPIO4J.js → chunk-FYAHTTOB.js} +11 -11
- package/dist/bundle/{chunk-SH63Q4QR.js → chunk-GPIORQAD.js} +22 -22
- package/dist/bundle/{chunk-BHPCZCX7.js → chunk-HCAYTAJN.js} +2 -2
- package/dist/bundle/{chunk-P55L4S6N.js → chunk-JDOSIWPN.js} +3 -3
- package/dist/bundle/{chunk-MF6NKU3Z.js → chunk-KLOFBUXA.js} +22 -22
- package/dist/bundle/{chunk-IV2QWSPG.js → chunk-L3YDXUDK.js} +12 -3
- package/dist/bundle/{chunk-QQF7RDLR.js → chunk-M3XIME74.js} +4 -4
- package/dist/bundle/{chunk-CHI6D4D6.js → chunk-MXIBRT6W.js} +4 -4
- package/dist/bundle/{chunk-ZHP44EML.js → chunk-MZRD776E.js} +3 -3
- package/dist/bundle/{chunk-KHKC236O.js → chunk-NDT22GBK.js} +2 -2
- package/dist/bundle/{chunk-IULYECPC.js → chunk-NFBOZT7H.js} +4 -4
- package/dist/bundle/{chunk-GUFM5RLW.js → chunk-ONHHBPV3.js} +2 -2
- package/dist/bundle/{chunk-CVLDXFRP.js → chunk-Q35J5LCO.js} +8 -8
- package/dist/bundle/{chunk-DZVYGBZB.js → chunk-QRH2AWBZ.js} +55 -54
- package/dist/bundle/{chunk-25VC6U3A.js → chunk-RARYRHQA.js} +1 -1
- package/dist/bundle/{chunk-AD3QPYI3.js → chunk-RSZEEWOW.js} +2 -2
- package/dist/bundle/{chunk-M62LF3QE.js → chunk-RXWG7OWT.js} +348 -300
- package/dist/bundle/{chunk-ZUOS7QUB.js → chunk-SD5J5T7M.js} +11 -11
- package/dist/bundle/{chunk-S7B6MTXX.js → chunk-SLAPUEMZ.js} +6 -6
- package/dist/bundle/{chunk-CH2ESVV5.js → chunk-TDQVVXPF.js} +42 -24
- package/dist/bundle/{chunk-YXCQ4DLZ.js → chunk-TJA3BWY3.js} +1 -1
- package/dist/bundle/{chunk-DLAFGSTN.js → chunk-UIPT6IAU.js} +1 -1
- package/dist/bundle/{chunk-UUQ3BH2Z.js → chunk-VM7I5VKX.js} +2 -2
- package/dist/bundle/{chunk-5SUFMBU5.js → chunk-VOBMR7E5.js} +45 -45
- package/dist/bundle/{chunk-VYR2IIWW.js → chunk-W3B6EEZU.js} +1 -1
- package/dist/bundle/{chunk-7T7ILNCU.js → chunk-XLNYDJKG.js} +2 -2
- package/dist/bundle/{chunk-ZFMS5G4H.js → chunk-YPEAEEHF.js} +2 -2
- package/dist/bundle/{chunk-DO33KAMM.js → chunk-YPLL3Q3M.js} +57 -57
- package/dist/bundle/{chunk-3PEZWXKO.js → chunk-YWSNUUW5.js} +6 -6
- package/dist/bundle/command-contract-TNSW7W6G.js +32 -0
- package/dist/bundle/{decode-RKPOGPBE.js → decode-3KBXZCFM.js} +4 -4
- package/dist/bundle/{echarts-H5QQRBHI.js → echarts-24TVPFGC.js} +2 -2
- package/dist/bundle/{embed-7TVAPNP7.js → embed-3BDPZ4Q7.js} +5 -5
- package/dist/bundle/{embedder-YOOHWWN6.js → embedder-EMVDEZFR.js} +8 -8
- package/dist/bundle/{entry-SAKW5HEZ.js → entry-NQD6Z2BM.js} +5 -5
- package/dist/bundle/{first-run-C744N572.js → first-run-ZBIO6C67.js} +9 -9
- package/dist/bundle/first-screen-4HRCG7OX.js +30 -0
- package/dist/bundle/{identity-NRWTZIQ4.js → identity-EDGOOTOM.js} +3 -3
- package/dist/bundle/{instructions-6LWRAW47.js → instructions-N2WVMNFZ.js} +1 -1
- package/dist/bundle/{mcp-WSGVVZWI.js → mcp-EMNFFY4N.js} +2 -2
- package/dist/bundle/{node-XN4PIVWW.js → node-VBZAZHUS.js} +2 -2
- package/dist/bundle/{node-sqlite-PCBGROGQ.js → node-sqlite-C3V64OAL.js} +4 -4
- package/dist/bundle/{oauth-PX6NGHUV.js → oauth-NZXELYDA.js} +6 -6
- package/dist/bundle/{open-BKJGJ6GX.js → open-2XRUGMV7.js} +3 -3
- package/dist/bundle/{openai-MJP7CZXP.js → openai-OLGTN3ZB.js} +13 -13
- package/dist/bundle/{process-4PRR3MLT.js → process-CASPZ2DH.js} +1 -1
- package/dist/bundle/{program-7YZUO42B.js → program-QPQDSGYA.js} +50 -48
- package/dist/bundle/{prompt-CILSZC2R.js → prompt-ESZL7SGX.js} +4 -4
- package/dist/bundle/{proxy-transport-FWGKTYBL.js → proxy-transport-OROEVBCG.js} +4 -4
- package/dist/bundle/{recognize-AVFDJAIL.js → recognize-LQ7QOG4T.js} +3 -3
- package/dist/bundle/{remote-2VYXGOM4.js → remote-34XP4EDN.js} +6 -6
- package/dist/bundle/{rerank-6FU2JPCD.js → rerank-7F6NLBCW.js} +6 -6
- package/dist/bundle/{serve-3YQOHBR6.js → serve-M6TTKXI4.js} +8 -8
- package/dist/bundle/{server-TPK3LNEX.js → server-GLZ5M7PE.js} +32 -32
- package/dist/bundle/server-KOW7OKE2.js +56 -0
- package/dist/bundle/{state-LLUNBLZE.js → state-UKKPLMHS.js} +5 -5
- package/dist/bundle/{store-27FQ743G.js → store-J2MBIDJK.js} +10 -10
- package/dist/bundle/store-maintenance-command-64B57C3U.js +45 -0
- package/dist/bundle/tg.js +4 -4
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +2 -1
- package/dist/program.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-E2MWR3T3.js +0 -32
- package/dist/bundle/first-screen-7GKUEIWS.js +0 -30
- package/dist/bundle/server-S2K4YDDG.js +0 -56
- package/dist/bundle/store-maintenance-command-AFJMKEBK.js +0 -45
- /package/dist/bundle/{chunk-62EDJKGP.js → chunk-NPGVOZVK.js} +0 -0
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
singleLine,
|
|
5
5
|
visibleControls
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BWRCPMMC.js";
|
|
7
7
|
import {
|
|
8
8
|
CliError,
|
|
9
9
|
RegistryError,
|
|
@@ -36,12 +36,12 @@ import {
|
|
|
36
36
|
string,
|
|
37
37
|
union,
|
|
38
38
|
variant
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-EO563SUX.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.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/domain/tags.js
|
|
45
45
|
var TAG_TYPES = ["chat", "contact", "message", "task"];
|
|
46
46
|
var TAG = /^[a-z0-9-]{1,32}$/;
|
|
47
47
|
var tagOf = /* @__PURE__ */ __name((value) => {
|
|
@@ -55,7 +55,7 @@ var normalizeTag = /* @__PURE__ */ __name((value) => {
|
|
|
55
55
|
return tag;
|
|
56
56
|
}, "normalizeTag");
|
|
57
57
|
|
|
58
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
58
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_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
|
|
59
59
|
var QUERY_LIMITS = {
|
|
60
60
|
bytes: 8192,
|
|
61
61
|
depth: 32,
|
|
@@ -99,7 +99,7 @@ function queryError(reason, span, alternative, context3 = {}, details = {}) {
|
|
|
99
99
|
__name(queryError, "queryError");
|
|
100
100
|
var walkQuery = /* @__PURE__ */ __name((node) => node.kind === "predicate" ? [node] : node.clauses.flatMap(({ node: node2 }) => walkQuery(node2)), "walkQuery");
|
|
101
101
|
|
|
102
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
102
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_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
|
|
103
103
|
var timezoneOf = /* @__PURE__ */ __name((given) => {
|
|
104
104
|
const zone = given ?? Intl.DateTimeFormat().resolvedOptions().timeZone ?? "UTC";
|
|
105
105
|
try {
|
|
@@ -244,7 +244,7 @@ var dateRange = /* @__PURE__ */ __name((lower, upper, lowerInclusive, upperInclu
|
|
|
244
244
|
};
|
|
245
245
|
}, "dateRange");
|
|
246
246
|
|
|
247
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
247
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_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
|
|
248
248
|
var FIELD_TYPES = ["kw", "txt", "enum", "num", "time", "bool", "ref"];
|
|
249
249
|
var OPERATORS_BY_TYPE = {
|
|
250
250
|
kw: ["term", "phrase", "wildcard"],
|
|
@@ -321,7 +321,7 @@ var queryFieldsOf = /* @__PURE__ */ __name((schema, annotations = {}) => {
|
|
|
321
321
|
return [...own, ...relations, ...states];
|
|
322
322
|
}, "queryFieldsOf");
|
|
323
323
|
|
|
324
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
324
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_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
|
|
325
325
|
var inContext = /* @__PURE__ */ __name((context3, run2) => {
|
|
326
326
|
try {
|
|
327
327
|
run2();
|
|
@@ -396,7 +396,7 @@ var validateQuery = /* @__PURE__ */ __name((ast, registry, options = {}) => {
|
|
|
396
396
|
}, "validateQuery");
|
|
397
397
|
var fieldsNamed = /* @__PURE__ */ __name((ast) => new Set(walkQuery(ast.root).map((node) => node.field)), "fieldsNamed");
|
|
398
398
|
|
|
399
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
399
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_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
|
|
400
400
|
var whitespace = /* @__PURE__ */ __name((c) => /[ \t\n\r\u3000]/u.test(c), "whitespace");
|
|
401
401
|
var reserved = /* @__PURE__ */ new Set([
|
|
402
402
|
"+",
|
|
@@ -701,7 +701,7 @@ var implicitTextTerms = /* @__PURE__ */ __name((text6) => {
|
|
|
701
701
|
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] : []));
|
|
702
702
|
}, "implicitTextTerms");
|
|
703
703
|
|
|
704
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
704
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_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
|
|
705
705
|
var describeQuery = /* @__PURE__ */ __name((registry) => ({
|
|
706
706
|
entity: registry.entity,
|
|
707
707
|
backend: registry.backend,
|
|
@@ -772,7 +772,7 @@ var QUERY_REASONS = defineReasons([
|
|
|
772
772
|
details: [...SPAN, ...details]
|
|
773
773
|
})));
|
|
774
774
|
|
|
775
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
775
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_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
|
|
776
776
|
var wordsOf = /* @__PURE__ */ __name((text6) => text6.toLowerCase().match(/[\p{L}\p{N}]+/gu) ?? [], "wordsOf");
|
|
777
777
|
var pattern = /* @__PURE__ */ __name((value) => new RegExp(`^${[...value].map((char) => char === "*" ? ".*" : char === "?" ? "." : char.replace(/[.+^${}()|[\]\\]/, "\\$&")).join("")}$`, "iu"), "pattern");
|
|
778
778
|
var present = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "", "present");
|
|
@@ -827,7 +827,7 @@ var matches = /* @__PURE__ */ __name((node, item, byName, options) => {
|
|
|
827
827
|
}, "matches");
|
|
828
828
|
var evaluate = /* @__PURE__ */ __name((ast, fields2, item, options = {}) => matches(ast.root, item, new Map(fields2.map((field) => [field.name, field])), options), "evaluate");
|
|
829
829
|
|
|
830
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
830
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_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
|
|
831
831
|
var QUERY_SYNTAX = 'field:value \xB7 "a phrase" \xB7 word* \xB7 AND OR NOT \xB7 ( ) \xB7 [a TO b] \xB7 > >= < <=';
|
|
832
832
|
var kindOf = /* @__PURE__ */ __name((field) => field.values ? `${field.type}: ${field.values.join("|")}` : `${field.type}: ${field.operators.join(", ")}`, "kindOf");
|
|
833
833
|
var fieldsHelp = /* @__PURE__ */ __name((registry, guide) => {
|
|
@@ -843,7 +843,7 @@ var fieldsHelp = /* @__PURE__ */ __name((registry, guide) => {
|
|
|
843
843
|
].join("\n");
|
|
844
844
|
}, "fieldsHelp");
|
|
845
845
|
|
|
846
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
846
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
847
847
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
848
848
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
849
849
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -880,7 +880,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text6) => {
|
|
|
880
880
|
}, "parseMeetingReference");
|
|
881
881
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text6) => formatMeetingReference(parseMeetingReference(text6)), "canonicalMeetingReference");
|
|
882
882
|
|
|
883
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
883
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
884
884
|
var text = string();
|
|
885
885
|
var count = pipe(number(), integer(), minValue(0));
|
|
886
886
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -945,7 +945,7 @@ var MEETING_QUERY = {
|
|
|
945
945
|
})
|
|
946
946
|
};
|
|
947
947
|
|
|
948
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
948
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
949
949
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
950
950
|
const parsed = urlOf(url);
|
|
951
951
|
if (!parsed)
|
|
@@ -979,7 +979,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
979
979
|
}
|
|
980
980
|
}, "urlOf");
|
|
981
981
|
|
|
982
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
982
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
983
983
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
984
984
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
985
985
|
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");
|
|
@@ -1012,7 +1012,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
1012
1012
|
return kept;
|
|
1013
1013
|
}, "entryMetadata");
|
|
1014
1014
|
|
|
1015
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1015
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
1016
1016
|
import { createHash } from "node:crypto";
|
|
1017
1017
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
1018
1018
|
reference: cue2.reference,
|
|
@@ -1026,7 +1026,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
1026
1026
|
text: cue2.text
|
|
1027
1027
|
})).digest("hex"), "meetingCueFingerprint");
|
|
1028
1028
|
|
|
1029
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1029
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
1030
1030
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
1031
1031
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
1032
1032
|
if (entry.recurrenceEndsAt !== null)
|
|
@@ -1049,7 +1049,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
|
|
|
1049
1049
|
return Math.max(entry.endsAt ?? start, start + 1) > window.from;
|
|
1050
1050
|
}, "entryInWindow");
|
|
1051
1051
|
|
|
1052
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1052
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
1053
1053
|
var text2 = string();
|
|
1054
1054
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
1055
1055
|
var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
@@ -1276,7 +1276,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
1276
1276
|
};
|
|
1277
1277
|
}, "meetingHitsList");
|
|
1278
1278
|
|
|
1279
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1279
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
1280
1280
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text6) => text6.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
1281
1281
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
1282
1282
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -1300,7 +1300,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
1300
1300
|
};
|
|
1301
1301
|
}, "validateMeetingParticipantSearch");
|
|
1302
1302
|
|
|
1303
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1303
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
1304
1304
|
var MeetingError = class extends CliError {
|
|
1305
1305
|
static {
|
|
1306
1306
|
__name(this, "MeetingError");
|
|
@@ -1432,7 +1432,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id3, accountId)
|
|
|
1432
1432
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
1433
1433
|
}, "meetingSummaryAnswer");
|
|
1434
1434
|
|
|
1435
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1435
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
1436
1436
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
1437
1437
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
1438
1438
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -1528,10 +1528,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id3, options) => {
|
|
|
1528
1528
|
};
|
|
1529
1529
|
}, "exportMeeting");
|
|
1530
1530
|
|
|
1531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1532
1532
|
import { createHash as createHash2 } from "node:crypto";
|
|
1533
1533
|
|
|
1534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1534
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
1535
1535
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
1536
1536
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
1537
1537
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone`);
|
|
@@ -1542,7 +1542,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
1542
1542
|
return new Date(value).toISOString();
|
|
1543
1543
|
}, "meetingTimestamp");
|
|
1544
1544
|
|
|
1545
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1545
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
1546
1546
|
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
1547
1547
|
if (typeof value !== "string" || !value.trim())
|
|
1548
1548
|
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
@@ -1593,10 +1593,10 @@ var validateMeetingChange = /* @__PURE__ */ __name((change, create) => {
|
|
|
1593
1593
|
return Object.freeze(result);
|
|
1594
1594
|
}, "validateMeetingChange");
|
|
1595
1595
|
|
|
1596
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1596
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/meeting-context.js
|
|
1597
1597
|
var MEETING_FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
1598
1598
|
|
|
1599
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1599
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1600
1600
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
1601
1601
|
var invalid2 = /* @__PURE__ */ __name((message) => {
|
|
1602
1602
|
throw new CliError("validation_error", message);
|
|
@@ -1697,7 +1697,7 @@ var validateFindings = /* @__PURE__ */ __name((input, rules) => {
|
|
|
1697
1697
|
}, "validateFindings");
|
|
1698
1698
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
1699
1699
|
|
|
1700
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1700
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
1701
1701
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
1702
1702
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
1703
1703
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -1708,7 +1708,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
1708
1708
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
1709
1709
|
var meetingFindingFingerprint = findingFingerprint;
|
|
1710
1710
|
|
|
1711
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1711
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
1712
1712
|
var text4 = string();
|
|
1713
1713
|
var identifier = pipe(text4, minLength(1));
|
|
1714
1714
|
var nullableText = nullable(text4);
|
|
@@ -1834,7 +1834,7 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
1834
1834
|
meeting_embedding: embedding
|
|
1835
1835
|
};
|
|
1836
1836
|
|
|
1837
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1837
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
1838
1838
|
var EVENT_QUERY = defineQuery({
|
|
1839
1839
|
entity: "event",
|
|
1840
1840
|
backend: "sql",
|
|
@@ -1850,7 +1850,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
1850
1850
|
]
|
|
1851
1851
|
});
|
|
1852
1852
|
|
|
1853
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1853
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
1854
1854
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
|
|
1855
1855
|
const current = await store.meeting(details.meeting.id);
|
|
1856
1856
|
if (!current)
|
|
@@ -1893,7 +1893,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
1893
1893
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
1894
1894
|
}, "linkEvent");
|
|
1895
1895
|
|
|
1896
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
1897
1897
|
var context = {
|
|
1898
1898
|
command: "search meetings",
|
|
1899
1899
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -1956,7 +1956,7 @@ var MEETING_FIELDS = defineQuery({
|
|
|
1956
1956
|
});
|
|
1957
1957
|
var parseMeetingQuery = /* @__PURE__ */ __name((query) => validateQuery(parseLucene(query, { defaultField: "text", proximity: true, ...context }), MEETING_HIT_QUERY, context), "parseMeetingQuery");
|
|
1958
1958
|
|
|
1959
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1959
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
1960
1960
|
var contentHash = /* @__PURE__ */ __name(async (text6) => {
|
|
1961
1961
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text6));
|
|
1962
1962
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -1993,7 +1993,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
1993
1993
|
return time;
|
|
1994
1994
|
}, "timestamp");
|
|
1995
1995
|
|
|
1996
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1996
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
1997
1997
|
var TranscriptTextError = class extends Error {
|
|
1998
1998
|
static {
|
|
1999
1999
|
__name(this, "TranscriptTextError");
|
|
@@ -2048,7 +2048,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
2048
2048
|
return { header, lines };
|
|
2049
2049
|
}, "parseTranscriptText");
|
|
2050
2050
|
|
|
2051
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2051
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
2052
2052
|
var VttError = class extends Error {
|
|
2053
2053
|
static {
|
|
2054
2054
|
__name(this, "VttError");
|
|
@@ -2100,7 +2100,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
2100
2100
|
return cues;
|
|
2101
2101
|
}, "parseVtt");
|
|
2102
2102
|
|
|
2103
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2103
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
2104
2104
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
2105
2105
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
2106
2106
|
for (const file of files) {
|
|
@@ -2133,10 +2133,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
2133
2133
|
return report;
|
|
2134
2134
|
}, "importFiles");
|
|
2135
2135
|
|
|
2136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
2137
2137
|
var CHAT_MESSAGES_READ = 1e5;
|
|
2138
2138
|
|
|
2139
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2139
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
2140
2140
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
2141
2141
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
2142
2142
|
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)))
|
|
@@ -2149,7 +2149,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
2149
2149
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
2150
2150
|
}, "validateMeetingPassage");
|
|
2151
2151
|
|
|
2152
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2152
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
2153
2153
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
2154
2154
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2155
2155
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -2174,7 +2174,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
2174
2174
|
return { ...input, limit, maxReadBytes };
|
|
2175
2175
|
}, "validateMeetingPreparationContext");
|
|
2176
2176
|
|
|
2177
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2177
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
2178
2178
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2179
2179
|
var id = pipe(string(), minLength(1));
|
|
2180
2180
|
var meetingProjectEvidence = strictObject({
|
|
@@ -2295,7 +2295,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
2295
2295
|
};
|
|
2296
2296
|
}, "meetingProjectEvidenceAnswer");
|
|
2297
2297
|
|
|
2298
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2298
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
2299
2299
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
2300
2300
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
2301
2301
|
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) || [
|
|
@@ -2315,7 +2315,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
2315
2315
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
2316
2316
|
}, "validateMeetingHitSearch");
|
|
2317
2317
|
|
|
2318
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2318
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
2319
2319
|
var ids = {
|
|
2320
2320
|
meeting_id: "meetingId",
|
|
2321
2321
|
identity_id: "participantIdentityId",
|
|
@@ -2406,7 +2406,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
|
|
|
2406
2406
|
return { project: project.trim(), options, query: frozen.join(" AND ") };
|
|
2407
2407
|
}, "prepareMeetingProjectEvidence");
|
|
2408
2408
|
|
|
2409
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2409
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
2410
2410
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
|
|
2411
2411
|
const prepared = prepareMeetingProjectEvidence(project, request, now);
|
|
2412
2412
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -2414,7 +2414,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
|
|
|
2414
2414
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
2415
2415
|
}, "readMeetingProjectEvidence");
|
|
2416
2416
|
|
|
2417
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
2418
2418
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
2419
2419
|
const { identityExternalId, ...fields2 } = p;
|
|
2420
2420
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -2553,7 +2553,7 @@ unlinked`, format)],
|
|
|
2553
2553
|
return report;
|
|
2554
2554
|
}, "pull");
|
|
2555
2555
|
|
|
2556
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2556
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
2557
2557
|
var text5 = string();
|
|
2558
2558
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
2559
2559
|
var id2 = pipe(number(), integer(), minValue(1));
|
|
@@ -2725,10 +2725,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
2725
2725
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
2726
2726
|
}), "eventItem");
|
|
2727
2727
|
|
|
2728
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2728
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
2729
2729
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
2730
2730
|
|
|
2731
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2731
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
2732
2732
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
2733
2733
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2734
2734
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -2758,14 +2758,14 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
2758
2758
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
2759
2759
|
}, "validateMeetingRelatedHistory");
|
|
2760
2760
|
|
|
2761
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2761
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
2762
2762
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
2763
2763
|
|
|
2764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2764
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
2765
2765
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
2766
2766
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
2767
2767
|
|
|
2768
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2768
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
2769
2769
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
2770
2770
|
input.signal?.throwIfAborted();
|
|
2771
2771
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -2786,10 +2786,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
2786
2786
|
return { ...input, limit, maxReadBytes };
|
|
2787
2787
|
}, "validateMeetingSeriesHistory");
|
|
2788
2788
|
|
|
2789
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2789
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
2790
2790
|
var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
|
|
2791
2791
|
|
|
2792
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2792
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
2793
2793
|
function invalid3(field, response = false) {
|
|
2794
2794
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
2795
2795
|
}
|
|
@@ -2818,7 +2818,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
2818
2818
|
cursorDetails(value);
|
|
2819
2819
|
}, "validateMeetingSeriesInventoryCursor");
|
|
2820
2820
|
|
|
2821
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2821
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
2822
2822
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
2823
2823
|
const zone = timeZone ?? "UTC";
|
|
2824
2824
|
try {
|
|
@@ -2897,7 +2897,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
2897
2897
|
};
|
|
2898
2898
|
}, "aggregateMeetingStats");
|
|
2899
2899
|
|
|
2900
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2900
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
|
|
2901
2901
|
var LINK_KINDS = [
|
|
2902
2902
|
"links-to",
|
|
2903
2903
|
"blocked-by",
|
|
@@ -2918,7 +2918,7 @@ var LINK_SOURCES = [...LINK_ORIGINS, "calendar"];
|
|
|
2918
2918
|
var RELATION_KINDS = ["member-of", "related-to"];
|
|
2919
2919
|
var linkKind = /* @__PURE__ */ __name((kind) => `'${kind}'`, "linkKind");
|
|
2920
2920
|
|
|
2921
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2921
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/tasks/model.js
|
|
2922
2922
|
var TASK_KINDS = ["question", "request", "mention", "promise"];
|
|
2923
2923
|
var TASK_STATES = ["open", "done", "dismissed"];
|
|
2924
2924
|
var TASK_ORIGINS = ["rule", "agent", "owner"];
|
|
@@ -2931,13 +2931,13 @@ function closeTask(task, state, by, at, reason) {
|
|
|
2931
2931
|
}
|
|
2932
2932
|
__name(closeTask, "closeTask");
|
|
2933
2933
|
|
|
2934
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2934
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/tasks/store.js
|
|
2935
2935
|
function matches2(task, filter) {
|
|
2936
2936
|
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);
|
|
2937
2937
|
}
|
|
2938
2938
|
__name(matches2, "matches");
|
|
2939
2939
|
|
|
2940
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2940
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/tasks/service.js
|
|
2941
2941
|
function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
|
|
2942
2942
|
async function find(id3) {
|
|
2943
2943
|
const task = await store.get(id3);
|
|
@@ -2997,7 +2997,7 @@ function median(values) {
|
|
|
2997
2997
|
}
|
|
2998
2998
|
__name(median, "median");
|
|
2999
2999
|
|
|
3000
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3000
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
|
|
3001
3001
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
3002
3002
|
var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
|
|
3003
3003
|
var MEMORY_KINDS = ["summary", "digest", "preference"];
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
installFiles,
|
|
6
6
|
megabytes,
|
|
7
7
|
sharedModelsDirectory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NFBOZT7H.js";
|
|
9
9
|
import {
|
|
10
10
|
CliError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EO563SUX.js";
|
|
12
12
|
import {
|
|
13
13
|
importFrom
|
|
14
14
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
20
20
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
21
21
|
import { availableParallelism } from "node:os";
|
|
22
22
|
import { basename, join as join2 } from "node:path";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
25
25
|
import { createHash } from "node:crypto";
|
|
26
26
|
import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
27
27
|
import { join } from "node:path";
|
|
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
|
|
|
678
678
|
return Unzip2;
|
|
679
679
|
})();
|
|
680
680
|
|
|
681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
682
682
|
var ONNX_RUNTIME_VERSION = "1.30.0";
|
|
683
683
|
var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
|
|
684
684
|
name,
|
|
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
|
|
|
858
858
|
return { ort, session: await ort.InferenceSession.create(bytes, options) };
|
|
859
859
|
}, "openSession");
|
|
860
860
|
|
|
861
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
861
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
862
862
|
var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
|
|
863
863
|
var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
|
|
864
864
|
var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
SCHEMA_DIALECT,
|
|
5
|
+
commandContract,
|
|
6
|
+
commandPathOf,
|
|
7
|
+
findCommand,
|
|
8
|
+
outputOf
|
|
9
|
+
} from "./chunk-4BMXELWN.js";
|
|
10
|
+
import "./chunk-4YOPRYEY.js";
|
|
11
|
+
import "./chunk-QRH2AWBZ.js";
|
|
12
|
+
import "./chunk-7LZBMZQM.js";
|
|
13
|
+
import "./chunk-Q35J5LCO.js";
|
|
14
|
+
import "./chunk-JDOSIWPN.js";
|
|
15
|
+
import "./chunk-XLNYDJKG.js";
|
|
16
|
+
import "./chunk-RARYRHQA.js";
|
|
17
|
+
import "./chunk-NFBOZT7H.js";
|
|
18
|
+
import "./chunk-YPLL3Q3M.js";
|
|
19
|
+
import "./chunk-54CWOD7V.js";
|
|
20
|
+
import "./chunk-NPGVOZVK.js";
|
|
21
|
+
import "./chunk-VM7I5VKX.js";
|
|
22
|
+
import "./chunk-BWRCPMMC.js";
|
|
23
|
+
import "./chunk-EO563SUX.js";
|
|
24
|
+
import "./chunk-Y5E2WNWB.js";
|
|
25
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
26
|
+
export {
|
|
27
|
+
SCHEMA_DIALECT,
|
|
28
|
+
commandContract,
|
|
29
|
+
commandPathOf,
|
|
30
|
+
findCommand,
|
|
31
|
+
outputOf
|
|
32
|
+
};
|
|
@@ -3,11 +3,11 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
decodeOgg
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-M3XIME74.js";
|
|
7
|
+
import "./chunk-BWRCPMMC.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-EO563SUX.js";
|
|
11
11
|
import {
|
|
12
12
|
importFrom
|
|
13
13
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/speech/decode.js
|
|
19
19
|
import { spawn } from "node:child_process";
|
|
20
20
|
import { mkdtemp, rm, writeFile } from "node:fs/promises";
|
|
21
21
|
import { createRequire } from "node:module";
|
|
@@ -42399,7 +42399,7 @@ function install11(registers) {
|
|
|
42399
42399
|
}
|
|
42400
42400
|
__name(install11, "install");
|
|
42401
42401
|
|
|
42402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
|
|
42403
42403
|
var echartsOption = /* @__PURE__ */ __name((chart) => ({
|
|
42404
42404
|
animation: false,
|
|
42405
42405
|
backgroundColor: "#111827",
|
|
@@ -42447,7 +42447,7 @@ var echartsOption = /* @__PURE__ */ __name((chart) => ({
|
|
|
42447
42447
|
} : {}
|
|
42448
42448
|
}), "echartsOption");
|
|
42449
42449
|
|
|
42450
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/charts/echarts.js
|
|
42451
42451
|
use([install2, install, install6, install5, install10, install7, install11]);
|
|
42452
42452
|
var echartsRenderer = {
|
|
42453
42453
|
render: /* @__PURE__ */ __name(async (chart, size) => {
|