@wirecat/tg-cli 0.101.0 → 0.103.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 +31 -19
- package/dist/bot/transport.d.ts.map +1 -1
- package/dist/bot/transport.js +14 -17
- package/dist/bot/transport.js.map +1 -1
- package/dist/bundle/{adapter-A3VD4Y6Z.js → adapter-QG3YFFOY.js} +101 -38
- package/dist/bundle/{all-profiles-UPVNHXB2.js → all-profiles-ECXH3TBF.js} +32 -11
- package/dist/bundle/{anthropic-IRKNWPIB.js → anthropic-5MKO3QX7.js} +10 -10
- package/dist/bundle/{bot-api-UNTQG2M5.js → bot-api-4DQPIOMK.js} +55 -58
- package/dist/bundle/{bot-history-V4RTY5K7.js → bot-history-UN74XXLU.js} +19 -19
- package/dist/bundle/{bun-2JZPG2NL.js → bun-PS73VF2C.js} +5 -5
- package/dist/bundle/{bun-sqlite-TZHKM225.js → bun-sqlite-RAWGPH23.js} +8 -8
- package/dist/bundle/{chunk-ZZLKX62Z.js → chunk-2ABQZVK4.js} +3 -3
- package/dist/bundle/{chunk-MLLJ74LM.js → chunk-3CP7RK5R.js} +4 -4
- package/dist/bundle/{chunk-BXQS5RCE.js → chunk-3IXKDIPH.js} +258 -83
- package/dist/bundle/{chunk-W2336E7Y.js → chunk-3QX6SOEO.js} +9 -9
- package/dist/bundle/{chunk-F7TDFWXY.js → chunk-537O7OVE.js} +6 -6
- package/dist/bundle/{chunk-N5UFBWDM.js → chunk-57XGUIXA.js} +9 -11
- package/dist/bundle/{chunk-3KHKYYCR.js → chunk-5D4AEUVA.js} +4 -3
- package/dist/bundle/{chunk-ODSVNH3H.js → chunk-5HPAPVCB.js} +2415 -1292
- package/dist/bundle/{chunk-OEJ5DMCX.js → chunk-67SRVSPU.js} +10 -10
- package/dist/bundle/{chunk-XCKD54TN.js → chunk-6N25NZOE.js} +9 -9
- package/dist/bundle/chunk-AAMJZJYC.js +922 -0
- package/dist/bundle/{chunk-AVWK4NCW.js → chunk-ADLS6FVG.js} +13 -13
- package/dist/bundle/{chunk-ZV24I2UJ.js → chunk-AUKAZRF6.js} +5 -5
- package/dist/bundle/{chunk-S7ZNLLY5.js → chunk-BV4N333Y.js} +6 -6
- package/dist/bundle/{chunk-UN6CKIBN.js → chunk-BYYSVINK.js} +11 -8
- package/dist/bundle/{chunk-54R2GDQ3.js → chunk-CMQ34EZL.js} +6 -6
- package/dist/bundle/{chunk-G2US6LJB.js → chunk-COZ74WW4.js} +4 -4
- package/dist/bundle/{chunk-7BFO3DY6.js → chunk-DFDN6AUB.js} +2 -2
- package/dist/bundle/{chunk-VA5YEJS3.js → chunk-DLF3H6NP.js} +7 -7
- package/dist/bundle/{chunk-QOWSVDPZ.js → chunk-DWQ4QT6X.js} +111 -100
- package/dist/bundle/chunk-EMC57SOZ.js +440 -0
- package/dist/bundle/{chunk-RVCS7Q3A.js → chunk-EQHQ2AX3.js} +1390 -522
- package/dist/bundle/{chunk-64DK7S4F.js → chunk-F27OI4J2.js} +4 -4
- package/dist/bundle/{chunk-2XBSVRT2.js → chunk-FG2QTYEF.js} +4 -4
- package/dist/bundle/{chunk-BX6HH4F6.js → chunk-FSPDODVT.js} +14 -14
- package/dist/bundle/{chunk-4ZS73HTJ.js → chunk-G5IMOOPB.js} +4 -4
- package/dist/bundle/{chunk-VCGL2ETF.js → chunk-GO354DJ5.js} +4 -4
- package/dist/bundle/{chunk-5TPT2S2Z.js → chunk-H2UTBYFC.js} +4 -4
- package/dist/bundle/{chunk-U46UNBMT.js → chunk-HCDZWFXO.js} +244 -21
- package/dist/bundle/{chunk-TGREFJVA.js → chunk-KCVDWZWS.js} +11 -11
- package/dist/bundle/{chunk-PUBS2F5J.js → chunk-KQ5BUI5T.js} +248 -248
- package/dist/bundle/{chunk-ACGTFLEB.js → chunk-LAYPLF7G.js} +35 -282
- package/dist/bundle/{chunk-5KU4UQBM.js → chunk-MFS52LTZ.js} +4 -4
- package/dist/bundle/{chunk-DYNSP6FW.js → chunk-MHHDVR4G.js} +1449 -832
- package/dist/bundle/{chunk-S2JSZWEC.js → chunk-NIVZHTN4.js} +15 -15
- package/dist/bundle/{chunk-A5JSTZZZ.js → chunk-NKN54EDN.js} +6 -6
- package/dist/bundle/chunk-O5EHUB2V.js +2 -0
- package/dist/bundle/{chunk-5GKXETRP.js → chunk-OGVBRRWY.js} +615 -56
- package/dist/bundle/{chunk-VYDTI254.js → chunk-Q2LBOPKO.js} +99 -50
- package/dist/bundle/{chunk-LPB2MDUW.js → chunk-QF7VVIF4.js} +11 -11
- package/dist/bundle/{chunk-VRSN7VLO.js → chunk-RD7SSY7H.js} +4 -4
- package/dist/bundle/{chunk-ZEOCU24Z.js → chunk-RKQIEJFR.js} +5 -5
- package/dist/bundle/chunk-RMC2S3F4.js +264 -0
- package/dist/bundle/{chunk-2DGOFLDA.js → chunk-S5M4HFOZ.js} +6 -6
- package/dist/bundle/{chunk-X4Y2ROJI.js → chunk-SSALGKMJ.js} +94 -5
- package/dist/bundle/{chunk-G3ZRY436.js → chunk-SSV37M5T.js} +59 -59
- package/dist/bundle/{chunk-DG62L57H.js → chunk-T4SDOYPY.js} +20 -20
- package/dist/bundle/{chunk-6IPY2QRG.js → chunk-TEO2KP52.js} +5 -5
- package/dist/bundle/{chunk-G77QOTXE.js → chunk-TPFLD4OM.js} +5 -5
- package/dist/bundle/{chunk-PYTOIDSM.js → chunk-VMU4SGCE.js} +7 -7
- package/dist/bundle/{chunk-QYVVRQTN.js → chunk-VZN5LD26.js} +6 -6
- package/dist/bundle/{chunk-ZJVZXJOG.js → chunk-WAGDZB62.js} +5 -5
- package/dist/bundle/{chunk-7CBUCTB6.js → chunk-WULARSC4.js} +33 -39
- package/dist/bundle/{chunk-BJG6JA5U.js → chunk-Y5E2WNWB.js} +4 -4
- package/dist/bundle/{chunk-H6OXALTJ.js → chunk-YI72UVTJ.js} +5 -5
- package/dist/bundle/{chunk-NC5WS7OP.js → chunk-Z2DPNTSU.js} +5 -5
- package/dist/bundle/{chunk-RF54YDBB.js → chunk-ZHXSRYJ5.js} +6 -6
- package/dist/bundle/{chunk-AFV74GK3.js → chunk-ZVVMGPBJ.js} +2 -2
- package/dist/bundle/command-contract-ZGFJTLB2.js +32 -0
- package/dist/bundle/{dist-RJMT44PL.js → dist-I7OZPHAZ.js} +3 -3
- package/dist/bundle/{echarts-QZ6PR3VC.js → echarts-UEQDIHVQ.js} +5 -5
- package/dist/bundle/{embed-UBXCXSRD.js → embed-5DPZKRW5.js} +9 -8
- package/dist/bundle/{embedder-B4ZTKC23.js → embedder-NBQXDXAO.js} +12 -11
- package/dist/bundle/entry-EE6YRAP4.js +14 -0
- package/dist/bundle/first-run-OSEVVWNT.js +24 -0
- package/dist/bundle/first-screen-753THOU6.js +30 -0
- package/dist/bundle/identity-LNH33PN3.js +11 -0
- package/dist/bundle/instructions-PYGVIT7I.js +9 -0
- package/dist/bundle/{mcp-4Y37G2UY.js → mcp-OQBZXELQ.js} +5 -5
- package/dist/bundle/{node-LZZX22VR.js → node-3OBKCX6M.js} +5 -5
- package/dist/bundle/{node-IUL5HSYI.js → node-P4E63KXA.js} +5 -5
- package/dist/bundle/node-TLZSIHIJ.js +21 -0
- package/dist/bundle/{node-sqlite-BPGT6T5U.js → node-sqlite-DMMTDRFB.js} +8 -8
- package/dist/bundle/oauth-FX5DDCRS.js +18 -0
- package/dist/bundle/open-G6QRQAAL.js +20 -0
- package/dist/bundle/{process-GPUXC4PG.js → process-47MMIFIJ.js} +5 -5
- package/dist/bundle/{program-NEXEAL7T.js → program-LBHBWRK5.js} +67 -71
- package/dist/bundle/prompt-CJ6Y4JYC.js +13 -0
- package/dist/bundle/proxy-transport-YSBYG26I.js +17 -0
- package/dist/bundle/{recognize-UJBXORVD.js → recognize-7BLTOI45.js} +9 -9
- package/dist/bundle/remote-Q4A4JY6U.js +27 -0
- package/dist/bundle/{rerank-3Y2VZM3J.js → rerank-CQAR46L3.js} +10 -9
- package/dist/bundle/{serve-VDZIVOPR.js → serve-2UO2YMMG.js} +13 -13
- package/dist/bundle/{server-BERXP4GW.js → server-6XYURULQ.js} +80 -68
- package/dist/bundle/{server-ZFHN4GUF.js → server-FMKC4RLL.js} +46 -41
- package/dist/bundle/{state-DGR4EE3E.js → state-RNWN2RDY.js} +9 -9
- package/dist/bundle/{store-MRCFSCZD.js → store-BBHTR477.js} +14 -14
- package/dist/bundle/store-maintenance-command-GD6OLRXH.js +44 -0
- package/dist/bundle/tg.js +8 -8
- package/dist/telegram/sending.d.ts.map +1 -1
- package/dist/telegram/sending.js +52 -3
- package/dist/telegram/sending.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/chunk-22PQUX72.js +0 -190
- package/dist/bundle/chunk-2SJOUK6J.js +0 -2
- package/dist/bundle/chunk-CJ6IYCYP.js +0 -583
- package/dist/bundle/chunk-NKJJJAIJ.js +0 -237
- package/dist/bundle/chunk-NMGO6LW6.js +0 -1950
- package/dist/bundle/chunk-OILBDLWL.js +0 -724
- package/dist/bundle/chunk-OPBTNQ35.js +0 -1007
- package/dist/bundle/command-contract-TKDI7E56.js +0 -31
- package/dist/bundle/entry-BTUTHO5M.js +0 -14
- package/dist/bundle/first-run-UC4HRIFV.js +0 -24
- package/dist/bundle/first-screen-SMCX6YKY.js +0 -29
- package/dist/bundle/identity-QSDEGDH7.js +0 -11
- package/dist/bundle/instructions-BBGLZKO3.js +0 -9
- package/dist/bundle/node-UPPL626U.js +0 -21
- package/dist/bundle/oauth-XNE2KPKJ.js +0 -18
- package/dist/bundle/open-SXGYZLB5.js +0 -20
- package/dist/bundle/prompt-SORGLEYI.js +0 -13
- package/dist/bundle/proxy-transport-G4MA6BGU.js +0 -17
- package/dist/bundle/remote-W72AR7KH.js +0 -26
- package/dist/bundle/store-maintenance-command-DCMZDMYS.js +0 -46
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createRequire as
|
|
2
|
-
const require =
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
singleLine,
|
|
5
5
|
visibleControls
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-T4SDOYPY.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-67SRVSPU.js";
|
|
40
40
|
import {
|
|
41
41
|
__name
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
43
43
|
|
|
44
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
44
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/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.65.0_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.65.0_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.65.0_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.65.0_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.65.0_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" && ![":", "=", "<", ">", "<=", ">="].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.65.0_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,
|
|
@@ -768,7 +768,7 @@ var QUERY_REASONS = defineReasons([
|
|
|
768
768
|
details: [...SPAN, ...details]
|
|
769
769
|
})));
|
|
770
770
|
|
|
771
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
771
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.65.0_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
|
|
772
772
|
var wordsOf = /* @__PURE__ */ __name((text6) => text6.toLowerCase().match(/[\p{L}\p{N}]+/gu) ?? [], "wordsOf");
|
|
773
773
|
var pattern = /* @__PURE__ */ __name((value) => new RegExp(`^${[...value].map((char) => char === "*" ? ".*" : char === "?" ? "." : char.replace(/[.+^${}()|[\]\\]/, "\\$&")).join("")}$`, "iu"), "pattern");
|
|
774
774
|
var present = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "", "present");
|
|
@@ -823,7 +823,7 @@ var matches = /* @__PURE__ */ __name((node, item, byName, options) => {
|
|
|
823
823
|
}, "matches");
|
|
824
824
|
var evaluate = /* @__PURE__ */ __name((ast, fields2, item, options = {}) => matches(ast.root, item, new Map(fields2.map((field) => [field.name, field])), options), "evaluate");
|
|
825
825
|
|
|
826
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
826
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.65.0_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
|
|
827
827
|
var QUERY_SYNTAX = 'field:value \xB7 "a phrase" \xB7 word* \xB7 AND OR NOT \xB7 ( ) \xB7 [a TO b] \xB7 > >= < <=';
|
|
828
828
|
var kindOf = /* @__PURE__ */ __name((field) => field.values ? `${field.type}: ${field.values.join("|")}` : `${field.type}: ${field.operators.join(", ")}`, "kindOf");
|
|
829
829
|
var fieldsHelp = /* @__PURE__ */ __name((registry, guide) => {
|
|
@@ -839,7 +839,7 @@ var fieldsHelp = /* @__PURE__ */ __name((registry, guide) => {
|
|
|
839
839
|
].join("\n");
|
|
840
840
|
}, "fieldsHelp");
|
|
841
841
|
|
|
842
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
842
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
843
843
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
844
844
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
845
845
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -876,7 +876,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text6) => {
|
|
|
876
876
|
}, "parseMeetingReference");
|
|
877
877
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text6) => formatMeetingReference(parseMeetingReference(text6)), "canonicalMeetingReference");
|
|
878
878
|
|
|
879
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
879
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
880
880
|
var text = string();
|
|
881
881
|
var count = pipe(number(), integer(), minValue(0));
|
|
882
882
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -941,7 +941,7 @@ var MEETING_QUERY = {
|
|
|
941
941
|
})
|
|
942
942
|
};
|
|
943
943
|
|
|
944
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
944
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
945
945
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
946
946
|
const parsed = urlOf(url);
|
|
947
947
|
if (!parsed)
|
|
@@ -975,7 +975,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
975
975
|
}
|
|
976
976
|
}, "urlOf");
|
|
977
977
|
|
|
978
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
978
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
979
979
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
980
980
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
981
981
|
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");
|
|
@@ -1008,7 +1008,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
1008
1008
|
return kept;
|
|
1009
1009
|
}, "entryMetadata");
|
|
1010
1010
|
|
|
1011
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1011
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
1012
1012
|
import { createHash } from "node:crypto";
|
|
1013
1013
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
1014
1014
|
reference: cue2.reference,
|
|
@@ -1022,7 +1022,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
1022
1022
|
text: cue2.text
|
|
1023
1023
|
})).digest("hex"), "meetingCueFingerprint");
|
|
1024
1024
|
|
|
1025
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1025
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
1026
1026
|
var text2 = string();
|
|
1027
1027
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
1028
1028
|
var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
@@ -1249,7 +1249,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
1249
1249
|
};
|
|
1250
1250
|
}, "meetingHitsList");
|
|
1251
1251
|
|
|
1252
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1252
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
1253
1253
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text6) => text6.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
1254
1254
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
1255
1255
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -1273,7 +1273,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
1273
1273
|
};
|
|
1274
1274
|
}, "validateMeetingParticipantSearch");
|
|
1275
1275
|
|
|
1276
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1276
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
1277
1277
|
var MeetingError = class extends CliError {
|
|
1278
1278
|
static {
|
|
1279
1279
|
__name(this, "MeetingError");
|
|
@@ -1401,7 +1401,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id3, accountId)
|
|
|
1401
1401
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
1402
1402
|
}, "meetingSummaryAnswer");
|
|
1403
1403
|
|
|
1404
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1404
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
1405
1405
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
1406
1406
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
1407
1407
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -1497,10 +1497,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id3, options) => {
|
|
|
1497
1497
|
};
|
|
1498
1498
|
}, "exportMeeting");
|
|
1499
1499
|
|
|
1500
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1500
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1501
1501
|
import { createHash as createHash2 } from "node:crypto";
|
|
1502
1502
|
|
|
1503
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1503
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
1504
1504
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
1505
1505
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
1506
1506
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone`);
|
|
@@ -1511,7 +1511,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
1511
1511
|
return new Date(value).toISOString();
|
|
1512
1512
|
}, "meetingTimestamp");
|
|
1513
1513
|
|
|
1514
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1514
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
1515
1515
|
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
1516
1516
|
if (typeof value !== "string" || !value.trim())
|
|
1517
1517
|
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
@@ -1562,10 +1562,10 @@ var validateMeetingChange = /* @__PURE__ */ __name((change, create) => {
|
|
|
1562
1562
|
return Object.freeze(result);
|
|
1563
1563
|
}, "validateMeetingChange");
|
|
1564
1564
|
|
|
1565
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1565
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/meeting-context.js
|
|
1566
1566
|
var MEETING_FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
1567
1567
|
|
|
1568
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1568
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1569
1569
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
1570
1570
|
var invalid2 = /* @__PURE__ */ __name((message) => {
|
|
1571
1571
|
throw new CliError("validation_error", message);
|
|
@@ -1666,7 +1666,7 @@ var validateFindings = /* @__PURE__ */ __name((input, rules) => {
|
|
|
1666
1666
|
}, "validateFindings");
|
|
1667
1667
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
1668
1668
|
|
|
1669
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1669
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
1670
1670
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
1671
1671
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
1672
1672
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -1677,7 +1677,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
1677
1677
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
1678
1678
|
var meetingFindingFingerprint = findingFingerprint;
|
|
1679
1679
|
|
|
1680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1680
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
1681
1681
|
var text4 = string();
|
|
1682
1682
|
var identifier = pipe(text4, minLength(1));
|
|
1683
1683
|
var nullableText = nullable(text4);
|
|
@@ -1803,7 +1803,7 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
1803
1803
|
meeting_embedding: embedding
|
|
1804
1804
|
};
|
|
1805
1805
|
|
|
1806
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1806
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
1807
1807
|
var EVENT_QUERY = defineQuery({
|
|
1808
1808
|
entity: "event",
|
|
1809
1809
|
backend: "sql",
|
|
@@ -1819,7 +1819,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
1819
1819
|
]
|
|
1820
1820
|
});
|
|
1821
1821
|
|
|
1822
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1822
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
1823
1823
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
|
|
1824
1824
|
const current = await store.meeting(details.meeting.id);
|
|
1825
1825
|
if (!current)
|
|
@@ -1862,7 +1862,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
1862
1862
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
1863
1863
|
}, "linkEvent");
|
|
1864
1864
|
|
|
1865
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1865
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
1866
1866
|
var context = {
|
|
1867
1867
|
command: "search meetings",
|
|
1868
1868
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -1925,7 +1925,7 @@ var MEETING_FIELDS = defineQuery({
|
|
|
1925
1925
|
});
|
|
1926
1926
|
var parseMeetingQuery = /* @__PURE__ */ __name((query) => validateQuery(parseLucene(query, { defaultField: "text", proximity: true, ...context }), MEETING_HIT_QUERY, context), "parseMeetingQuery");
|
|
1927
1927
|
|
|
1928
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1928
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
1929
1929
|
var contentHash = /* @__PURE__ */ __name(async (text6) => {
|
|
1930
1930
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text6));
|
|
1931
1931
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -1962,7 +1962,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
1962
1962
|
return time;
|
|
1963
1963
|
}, "timestamp");
|
|
1964
1964
|
|
|
1965
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1965
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
1966
1966
|
var TranscriptTextError = class extends Error {
|
|
1967
1967
|
static {
|
|
1968
1968
|
__name(this, "TranscriptTextError");
|
|
@@ -2017,7 +2017,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
2017
2017
|
return { header, lines };
|
|
2018
2018
|
}, "parseTranscriptText");
|
|
2019
2019
|
|
|
2020
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2020
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
2021
2021
|
var VttError = class extends Error {
|
|
2022
2022
|
static {
|
|
2023
2023
|
__name(this, "VttError");
|
|
@@ -2069,7 +2069,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
2069
2069
|
return cues;
|
|
2070
2070
|
}, "parseVtt");
|
|
2071
2071
|
|
|
2072
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2072
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
2073
2073
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
2074
2074
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
2075
2075
|
for (const file of files) {
|
|
@@ -2102,10 +2102,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
2102
2102
|
return report;
|
|
2103
2103
|
}, "importFiles");
|
|
2104
2104
|
|
|
2105
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2105
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
2106
2106
|
var CHAT_MESSAGES_READ = 1e5;
|
|
2107
2107
|
|
|
2108
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2108
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
2109
2109
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
2110
2110
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
2111
2111
|
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)))
|
|
@@ -2118,7 +2118,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
2118
2118
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
2119
2119
|
}, "validateMeetingPassage");
|
|
2120
2120
|
|
|
2121
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2121
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
2122
2122
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
2123
2123
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2124
2124
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -2143,7 +2143,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
2143
2143
|
return { ...input, limit, maxReadBytes };
|
|
2144
2144
|
}, "validateMeetingPreparationContext");
|
|
2145
2145
|
|
|
2146
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2146
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
2147
2147
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2148
2148
|
var id = pipe(string(), minLength(1));
|
|
2149
2149
|
var meetingProjectEvidence = strictObject({
|
|
@@ -2264,7 +2264,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
2264
2264
|
};
|
|
2265
2265
|
}, "meetingProjectEvidenceAnswer");
|
|
2266
2266
|
|
|
2267
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2267
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
2268
2268
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
2269
2269
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
2270
2270
|
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) || [
|
|
@@ -2284,7 +2284,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
2284
2284
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
2285
2285
|
}, "validateMeetingHitSearch");
|
|
2286
2286
|
|
|
2287
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2287
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
2288
2288
|
var ids = {
|
|
2289
2289
|
meeting_id: "meetingId",
|
|
2290
2290
|
identity_id: "participantIdentityId",
|
|
@@ -2375,7 +2375,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
|
|
|
2375
2375
|
return { project: project.trim(), options, query: frozen.join(" AND ") };
|
|
2376
2376
|
}, "prepareMeetingProjectEvidence");
|
|
2377
2377
|
|
|
2378
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2378
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
2379
2379
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
|
|
2380
2380
|
const prepared = prepareMeetingProjectEvidence(project, request, now);
|
|
2381
2381
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -2383,7 +2383,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
|
|
|
2383
2383
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
2384
2384
|
}, "readMeetingProjectEvidence");
|
|
2385
2385
|
|
|
2386
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2386
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
2387
2387
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
2388
2388
|
const { identityExternalId, ...fields2 } = p;
|
|
2389
2389
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -2522,7 +2522,7 @@ unlinked`, format)],
|
|
|
2522
2522
|
return report;
|
|
2523
2523
|
}, "pull");
|
|
2524
2524
|
|
|
2525
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2525
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
2526
2526
|
var text5 = string();
|
|
2527
2527
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
2528
2528
|
var id2 = pipe(number(), integer(), minValue(1));
|
|
@@ -2687,10 +2687,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
2687
2687
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
2688
2688
|
}), "eventItem");
|
|
2689
2689
|
|
|
2690
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2690
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
2691
2691
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
2692
2692
|
|
|
2693
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2693
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
2694
2694
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
2695
2695
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2696
2696
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -2720,14 +2720,14 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
2720
2720
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
2721
2721
|
}, "validateMeetingRelatedHistory");
|
|
2722
2722
|
|
|
2723
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2723
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
2724
2724
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
2725
2725
|
|
|
2726
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2726
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
2727
2727
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
2728
2728
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
2729
2729
|
|
|
2730
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2730
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
2731
2731
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
2732
2732
|
input.signal?.throwIfAborted();
|
|
2733
2733
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -2748,10 +2748,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
2748
2748
|
return { ...input, limit, maxReadBytes };
|
|
2749
2749
|
}, "validateMeetingSeriesHistory");
|
|
2750
2750
|
|
|
2751
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2751
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
2752
2752
|
var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
|
|
2753
2753
|
|
|
2754
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2754
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
2755
2755
|
function invalid3(field, response = false) {
|
|
2756
2756
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
2757
2757
|
}
|
|
@@ -2780,7 +2780,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
2780
2780
|
cursorDetails(value);
|
|
2781
2781
|
}, "validateMeetingSeriesInventoryCursor");
|
|
2782
2782
|
|
|
2783
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2783
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
2784
2784
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
2785
2785
|
const zone = timeZone ?? "UTC";
|
|
2786
2786
|
try {
|
|
@@ -2859,7 +2859,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
2859
2859
|
};
|
|
2860
2860
|
}, "aggregateMeetingStats");
|
|
2861
2861
|
|
|
2862
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2862
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
|
|
2863
2863
|
var LINK_KINDS = [
|
|
2864
2864
|
"links-to",
|
|
2865
2865
|
"blocked-by",
|
|
@@ -2880,7 +2880,7 @@ var LINK_SOURCES = [...LINK_ORIGINS, "calendar"];
|
|
|
2880
2880
|
var RELATION_KINDS = ["member-of", "related-to"];
|
|
2881
2881
|
var linkKind = /* @__PURE__ */ __name((kind) => `'${kind}'`, "linkKind");
|
|
2882
2882
|
|
|
2883
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2883
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/tasks/model.js
|
|
2884
2884
|
var TASK_KINDS = ["question", "request", "mention", "promise"];
|
|
2885
2885
|
var TASK_STATES = ["open", "done", "dismissed"];
|
|
2886
2886
|
var TASK_ORIGINS = ["rule", "agent", "owner"];
|
|
@@ -2893,13 +2893,13 @@ function closeTask(task, state, by, at, reason) {
|
|
|
2893
2893
|
}
|
|
2894
2894
|
__name(closeTask, "closeTask");
|
|
2895
2895
|
|
|
2896
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/tasks/store.js
|
|
2897
2897
|
function matches2(task, filter) {
|
|
2898
2898
|
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);
|
|
2899
2899
|
}
|
|
2900
2900
|
__name(matches2, "matches");
|
|
2901
2901
|
|
|
2902
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2902
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/tasks/service.js
|
|
2903
2903
|
function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
|
|
2904
2904
|
async function find(id3) {
|
|
2905
2905
|
const task = await store.get(id3);
|
|
@@ -2959,7 +2959,7 @@ function median(values) {
|
|
|
2959
2959
|
}
|
|
2960
2960
|
__name(median, "median");
|
|
2961
2961
|
|
|
2962
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2962
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
|
|
2963
2963
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
2964
2964
|
var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed"];
|
|
2965
2965
|
var MEMORY_KINDS = ["summary", "digest", "preference"];
|