@wirecat/tg-cli 0.132.0 → 0.133.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/README.md +138 -317
- package/dist/bin/tg.js +2 -2
- package/dist/bundle/{adapter-OXVMOWVE.js → adapter-GSGX3WBH.js} +61 -60
- package/dist/bundle/{all-profiles-6OQC7PBL.js → all-profiles-VOCJ55YH.js} +9 -9
- package/dist/bundle/{anthropic-YFMIHFW5.js → anthropic-J6CTLU3W.js} +5 -5
- package/dist/bundle/{app-server-S7CJPJXN.js → app-server-GVFGA4TJ.js} +57 -57
- package/dist/bundle/{bot-api-KJ6EZ4R6.js → bot-api-LWONPIGK.js} +62 -61
- package/dist/bundle/{bot-history-JYCXDFW4.js → bot-history-XOW7Y2GC.js} +22 -22
- package/dist/bundle/{bun-FVTOBYZ2.js → bun-436CH6CP.js} +2 -2
- package/dist/bundle/{bun-sqlite-KDGWBNOR.js → bun-sqlite-ZLB5RK5Q.js} +6 -6
- package/dist/bundle/chunk-2KQDJHF3.js +88 -0
- package/dist/bundle/{chunk-4CKYANQH.js → chunk-54WLIPIQ.js} +1 -1
- package/dist/bundle/{chunk-IY7CTAOQ.js → chunk-57KJ3TRS.js} +9 -9
- package/dist/bundle/{chunk-YAPO7QNO.js → chunk-5HKPQPD4.js} +6 -6
- package/dist/bundle/{chunk-EPR67IRV.js → chunk-5L44DSHV.js} +4 -4
- package/dist/bundle/{chunk-IYJ4B632.js → chunk-5LRTYBZW.js} +12 -12
- package/dist/bundle/{chunk-AUZWIBHJ.js → chunk-6A44ZZFC.js} +6 -6
- package/dist/bundle/{chunk-44A2XRDE.js → chunk-6CHIGUCY.js} +19 -19
- package/dist/bundle/{chunk-42MXCMW6.js → chunk-6H2NW6HK.js} +3 -3
- package/dist/bundle/{chunk-JPSRC732.js → chunk-6S77EKZU.js} +13 -13
- package/dist/bundle/{chunk-FPSRT2TX.js → chunk-6VCSOQFL.js} +2 -2
- package/dist/bundle/{chunk-4ZTVJHWU.js → chunk-7NF3V5L2.js} +4 -4
- package/dist/bundle/{chunk-Y57EKZZK.js → chunk-7NYP4RBO.js} +1617 -963
- package/dist/bundle/{chunk-BLZEQVP4.js → chunk-BXVB42KJ.js} +2 -2
- package/dist/bundle/{chunk-A5D3J7XZ.js → chunk-CEJYNB3I.js} +4 -4
- package/dist/bundle/{chunk-LZ3HFDYL.js → chunk-D2SJLZSH.js} +2 -2
- package/dist/bundle/{chunk-LF6FACSW.js → chunk-H7ML7X3G.js} +5 -5
- package/dist/bundle/{chunk-O3AM32YN.js → chunk-HB5DP6L5.js} +15 -15
- package/dist/bundle/{chunk-NWCFO37P.js → chunk-IBCXEVNY.js} +3 -3
- package/dist/bundle/{chunk-U7PHJSTX.js → chunk-IH4Z3KZU.js} +2 -2
- package/dist/bundle/{chunk-LMGVPDXN.js → chunk-IPPCQ7IK.js} +2 -2
- package/dist/bundle/{chunk-OIRNHSAH.js → chunk-IYAXLLGR.js} +6 -6
- package/dist/bundle/{chunk-5UPEEMEF.js → chunk-JGMXBAGH.js} +104 -41
- package/dist/bundle/{chunk-4YB7JU2W.js → chunk-JKSD43L7.js} +6 -6
- package/dist/bundle/{chunk-YSNQGOUI.js → chunk-JPNVEPS4.js} +439 -394
- package/dist/bundle/{chunk-74UPKW7H.js → chunk-KEN4B57V.js} +2 -2
- package/dist/bundle/{chunk-PYECFCPD.js → chunk-KHUXDSXN.js} +1 -1
- package/dist/bundle/{chunk-2UGSIHLV.js → chunk-KUA24HWG.js} +2 -2
- package/dist/bundle/{chunk-JMJOWT4N.js → chunk-KVFUH5IT.js} +1 -1
- package/dist/bundle/{chunk-KJICORS4.js → chunk-LBZEZO32.js} +36 -36
- package/dist/bundle/{chunk-5RDNBG7D.js → chunk-LIQMUDIZ.js} +2 -2
- package/dist/bundle/{chunk-ESOFH7PA.js → chunk-LOS4D6ZB.js} +60 -30
- package/dist/bundle/{chunk-PR4F3TYK.js → chunk-LQQSDGQ6.js} +35 -36
- package/dist/bundle/{chunk-BSXS7VAC.js → chunk-M6QOM6SL.js} +1 -1
- package/dist/bundle/{chunk-B4LGDOG5.js → chunk-N3JUHGKM.js} +302 -282
- package/dist/bundle/{chunk-CFWFESBO.js → chunk-N7QREPZW.js} +8 -8
- package/dist/bundle/{chunk-7SEVVE3X.js → chunk-NAXOT35J.js} +3 -3
- package/dist/bundle/{chunk-YVI5SQPY.js → chunk-NO2LIHWA.js} +1 -1
- package/dist/bundle/{chunk-DXPGMUOR.js → chunk-NTWXL2QV.js} +2 -2
- package/dist/bundle/{chunk-BMI2NWFI.js → chunk-O6JUVATT.js} +8 -8
- package/dist/bundle/{chunk-FKGYXIN7.js → chunk-OWY52JBO.js} +7 -7
- package/dist/bundle/{chunk-UGD4SCUI.js → chunk-OX73ERZW.js} +1 -1
- package/dist/bundle/{chunk-ZRW3DF25.js → chunk-QGWISM4W.js} +24 -24
- package/dist/bundle/{chunk-4EDJJQJI.js → chunk-QVGEL66U.js} +8 -8
- package/dist/bundle/{chunk-LG3K5NHX.js → chunk-QWO7L4UH.js} +7 -7
- package/dist/bundle/{chunk-DSJNZXTP.js → chunk-QYLZD4DS.js} +1 -1
- package/dist/bundle/{chunk-PG37E63A.js → chunk-RABUG4KA.js} +60 -60
- package/dist/bundle/{chunk-HBSKP7OV.js → chunk-SMI2EUH4.js} +1 -1
- package/dist/bundle/{chunk-2LZD2VFV.js → chunk-SMU6NA7F.js} +4 -4
- package/dist/bundle/{chunk-AERP2QR6.js → chunk-TCI7I6YF.js} +10 -10
- package/dist/bundle/{chunk-SMQ45RZX.js → chunk-THYGLTRB.js} +9 -60
- package/dist/bundle/{chunk-NLRGMP7M.js → chunk-TPD37ECC.js} +3 -3
- package/dist/bundle/{chunk-FIUH52FE.js → chunk-TTDZVWDU.js} +1 -1
- package/dist/bundle/{chunk-YRXSNH3R.js → chunk-UGS57TT5.js} +2 -2
- package/dist/bundle/{chunk-OGZZUDJJ.js → chunk-UIAKLELF.js} +54 -54
- package/dist/bundle/{chunk-O43PARFS.js → chunk-UKBK2VWZ.js} +208 -161
- package/dist/bundle/{chunk-JNWKV3QV.js → chunk-UQYL6TJ7.js} +4 -4
- package/dist/bundle/{chunk-3QHKZLBU.js → chunk-UZ63ORMY.js} +4 -4
- package/dist/bundle/{chunk-UAFSDTID.js → chunk-VCAOH45X.js} +1 -1
- package/dist/bundle/{chunk-6LPUK62N.js → chunk-VGN5YXYI.js} +3 -3
- package/dist/bundle/{chunk-N5LZ6L4D.js → chunk-VTQMR3XG.js} +3 -3
- package/dist/bundle/{chunk-QS46C5SW.js → chunk-VWJTYAIQ.js} +17 -17
- package/dist/bundle/{chunk-M2TV6BDB.js → chunk-WCYKVX3B.js} +7 -7
- package/dist/bundle/{chunk-QNEAPLOP.js → chunk-XDQU5HBO.js} +12 -12
- package/dist/bundle/{chunk-ZJIGVT6Z.js → chunk-XKOMP3HV.js} +2 -2
- package/dist/bundle/{chunk-JDNDWZYS.js → chunk-XOX4BX5A.js} +4 -4
- package/dist/bundle/{chunk-ZZ32DXTH.js → chunk-YAPDU3SV.js} +1 -1
- package/dist/bundle/{chunk-JZJV3DYK.js → chunk-YY6FGKGD.js} +2 -2
- package/dist/bundle/{chunk-WAVRUADL.js → chunk-ZHO3TPHM.js} +13 -13
- package/dist/bundle/{chunk-NWDADTPE.js → chunk-ZYAHZKYF.js} +3 -3
- package/dist/bundle/command-contract-TQIARAB4.js +37 -0
- package/dist/bundle/{command-server-entry-TM264M2J.js → command-server-entry-AE27QXTE.js} +27 -27
- package/dist/bundle/{decode-RJFOSHCE.js → decode-RQPPZ72F.js} +5 -5
- package/dist/bundle/{dispatch-7OZP3X4O.js → dispatch-KQO2MCSH.js} +8 -8
- package/dist/bundle/{echarts-PYKF4D7B.js → echarts-FZRIACN4.js} +2 -2
- package/dist/bundle/{embed-JFN6Z5TG.js → embed-TOSWWMDL.js} +6 -6
- package/dist/bundle/{embedder-WN54JIMY.js → embedder-JHIQSBGD.js} +9 -9
- package/dist/bundle/{entry-Z6LO6N6S.js → entry-DU4KRXTG.js} +9 -9
- package/dist/bundle/{failure-UONA2IA5.js → failure-3YC3YGYO.js} +2 -2
- package/dist/bundle/{first-run-WQAKES7G.js → first-run-DQQT4FID.js} +12 -12
- package/dist/bundle/first-screen-7N4CTZSA.js +37 -0
- package/dist/bundle/{instructions-PR4BBBTM.js → instructions-WI64CJQ6.js} +1 -1
- package/dist/bundle/{mcp-O6ACR2DX.js → mcp-VMS6PBCU.js} +2 -2
- package/dist/bundle/meeting-combined-3RAOFQ7M.js +23 -0
- package/dist/bundle/{meeting-model-YVTUOM4H.js → meeting-model-XNRSREIK.js} +11 -11
- package/dist/bundle/{meeting-semantic-X4KG6RNV.js → meeting-semantic-OOSCHQMB.js} +6 -6
- package/dist/bundle/{node-OVS5LTVZ.js → node-JLKDNVKV.js} +2 -2
- package/dist/bundle/{node-sqlite-LC44SM4Z.js → node-sqlite-YOGH26O2.js} +7 -7
- package/dist/bundle/{oauth-NSVUFQCW.js → oauth-FOMXM5HP.js} +7 -7
- package/dist/bundle/{open-XN5SJFVY.js → open-SM2UXUKM.js} +5 -5
- package/dist/bundle/{openai-WOYZHJNL.js → openai-J2H7S6ZF.js} +15 -15
- package/dist/bundle/{process-UFBRGTQC.js → process-HI7OZBOI.js} +1 -1
- package/dist/bundle/{program-RAGBRRQH.js → program-VY4HFU25.js} +64 -63
- package/dist/bundle/{prompt-6HAKBUQN.js → prompt-NUUVFMOF.js} +5 -5
- package/dist/bundle/{proxy-transport-5EJVFUTC.js → proxy-transport-AN4VMRRN.js} +5 -5
- package/dist/bundle/{recognize-CN5COBVJ.js → recognize-MALJHPDI.js} +4 -4
- package/dist/bundle/{remote-STX5AMGE.js → remote-QUDRSTS2.js} +9 -9
- package/dist/bundle/{rerank-ZCOWTXIJ.js → rerank-2DSO3D3S.js} +7 -7
- package/dist/bundle/{serve-XMQEOIG2.js → serve-NCJ52MY3.js} +9 -9
- package/dist/bundle/server-CHGON5I2.js +70 -0
- package/dist/bundle/{server-PGGUD3DM.js → server-Y3M544AM.js} +49 -49
- package/dist/bundle/{sqlite-runtime-PS4DSOIU.js → sqlite-runtime-NJUSXVKK.js} +6 -6
- package/dist/bundle/{state-GL4ZC57O.js → state-AVOWQVET.js} +6 -6
- package/dist/bundle/{store-HJ76TLWD.js → store-BZ5ICDRP.js} +23 -19
- package/dist/bundle/{store-VISFXSHL.js → store-MMIYOL4H.js} +19 -17
- package/dist/bundle/store-maintenance-command-VKZ4WHUB.js +61 -0
- package/dist/bundle/tg.js +13 -13
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/tg-cli/SKILL.md +78 -576
- package/skills/tg-cli/references/files.md +64 -0
- package/skills/tg-cli/references/history.md +22 -0
- package/skills/tg-cli/references/mcp-and-bots.md +54 -0
- package/skills/tg-cli/references/messages.md +111 -0
- package/skills/tg-cli/references/people.md +85 -0
- package/skills/tg-cli/references/search.md +130 -0
- package/skills/tg-cli/references/setup.md +91 -0
- package/skills/tg-cli/references/stats.md +45 -0
- package/skills/tg-cli/references/tasks.md +54 -0
- package/dist/bundle/command-contract-FRH7LBGE.js +0 -37
- package/dist/bundle/first-screen-4RFG22SA.js +0 -35
- package/dist/bundle/meeting-combined-MHWTZOF2.js +0 -23
- package/dist/bundle/server-WTNYWCZ4.js +0 -69
- package/dist/bundle/store-maintenance-command-SMARMN5C.js +0 -60
- /package/dist/bundle/{chunk-VKE77B3F.js → chunk-SHTHNBHG.js} +0 -0
|
@@ -32,18 +32,18 @@ import {
|
|
|
32
32
|
string,
|
|
33
33
|
union,
|
|
34
34
|
variant
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-QVGEL66U.js";
|
|
36
36
|
import {
|
|
37
37
|
CliError,
|
|
38
38
|
isCliError,
|
|
39
39
|
singleLine,
|
|
40
40
|
visibleControls
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-LIQMUDIZ.js";
|
|
42
42
|
import {
|
|
43
43
|
__name
|
|
44
44
|
} from "./chunk-ZVVMGPBJ.js";
|
|
45
45
|
|
|
46
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
46
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
47
47
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
48
48
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
49
49
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -80,7 +80,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text6) => {
|
|
|
80
80
|
}, "parseMeetingReference");
|
|
81
81
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text6) => formatMeetingReference(parseMeetingReference(text6)), "canonicalMeetingReference");
|
|
82
82
|
|
|
83
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
83
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/payment.js
|
|
84
84
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
85
85
|
var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
|
|
86
86
|
var PAYMENT_STATES = ["expected", "paid", "cancelled"];
|
|
@@ -174,7 +174,7 @@ var paymentTitle = /* @__PURE__ */ __name((fact) => {
|
|
|
174
174
|
return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
|
|
175
175
|
}, "paymentTitle");
|
|
176
176
|
|
|
177
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
177
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.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
|
|
178
178
|
var QUERY_LIMITS = {
|
|
179
179
|
bytes: 8192,
|
|
180
180
|
depth: 32,
|
|
@@ -218,7 +218,7 @@ function queryError(reason, span, alternative, context3 = {}, details = {}) {
|
|
|
218
218
|
__name(queryError, "queryError");
|
|
219
219
|
var walkQuery = /* @__PURE__ */ __name((node) => node.kind === "predicate" ? [node] : node.clauses.flatMap(({ node: node2 }) => walkQuery(node2)), "walkQuery");
|
|
220
220
|
|
|
221
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
221
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.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
|
|
222
222
|
var timezoneOf = /* @__PURE__ */ __name((given) => {
|
|
223
223
|
const zone = given ?? Intl.DateTimeFormat().resolvedOptions().timeZone ?? "UTC";
|
|
224
224
|
try {
|
|
@@ -368,7 +368,7 @@ var dateRange = /* @__PURE__ */ __name((lower, upper, lowerInclusive, upperInclu
|
|
|
368
368
|
};
|
|
369
369
|
}, "dateRange");
|
|
370
370
|
|
|
371
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
371
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.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
|
|
372
372
|
var wordsOf = /* @__PURE__ */ __name((text6) => text6.toLowerCase().match(/[\p{L}\p{N}]+/gu) ?? [], "wordsOf");
|
|
373
373
|
var pattern = /* @__PURE__ */ __name((value) => new RegExp(`^${[...value].map((char) => char === "*" ? ".*" : char === "?" ? "." : char.replace(/[.+^${}()|[\]\\]/, "\\$&")).join("")}$`, "iu"), "pattern");
|
|
374
374
|
var present = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "", "present");
|
|
@@ -423,7 +423,7 @@ var matches = /* @__PURE__ */ __name((node, item, byName, options) => {
|
|
|
423
423
|
}, "matches");
|
|
424
424
|
var evaluate = /* @__PURE__ */ __name((ast, fields, item, options = {}) => matches(ast.root, item, new Map(fields.map((field) => [field.name, field])), options), "evaluate");
|
|
425
425
|
|
|
426
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
426
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.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
|
|
427
427
|
var FIELD_TYPES = ["kw", "txt", "enum", "num", "time", "bool", "ref"];
|
|
428
428
|
var OPERATORS_BY_TYPE = {
|
|
429
429
|
kw: ["term", "phrase", "wildcard"],
|
|
@@ -502,7 +502,7 @@ var queryFieldsOf = /* @__PURE__ */ __name((schema, annotations = {}) => {
|
|
|
502
502
|
return [...own, ...relations, ...states];
|
|
503
503
|
}, "queryFieldsOf");
|
|
504
504
|
|
|
505
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
505
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.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
|
|
506
506
|
var shownOf = /* @__PURE__ */ __name((registry) => registry.backend === "native" ? registry.fields.filter((field) => field.native) : registry.fields, "shownOf");
|
|
507
507
|
var leftOut = /* @__PURE__ */ __name((fields) => fields.filter((field) => field.negatable).map((field) => field.name), "leftOut");
|
|
508
508
|
var has = /* @__PURE__ */ __name((fields, operator) => fields.some((field) => field.operators.includes(operator)), "has");
|
|
@@ -539,7 +539,7 @@ var queryDescription = /* @__PURE__ */ __name((registry) => {
|
|
|
539
539
|
return `${terms}; fields: ${fields.join(", ")}; e.g. ${shown[0]?.example ?? ""}${defaults}`;
|
|
540
540
|
}, "queryDescription");
|
|
541
541
|
|
|
542
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
542
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.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
|
|
543
543
|
var whitespace = /* @__PURE__ */ __name((c) => /[ \t\n\r\u3000]/u.test(c), "whitespace");
|
|
544
544
|
var reserved = /* @__PURE__ */ new Set([
|
|
545
545
|
"+",
|
|
@@ -848,7 +848,7 @@ var implicitTextTerms = /* @__PURE__ */ __name((text6) => {
|
|
|
848
848
|
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] : []));
|
|
849
849
|
}, "implicitTextTerms");
|
|
850
850
|
|
|
851
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
851
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.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
|
|
852
852
|
var inContext = /* @__PURE__ */ __name((context3, run2) => {
|
|
853
853
|
try {
|
|
854
854
|
run2();
|
|
@@ -923,7 +923,7 @@ var validateQuery = /* @__PURE__ */ __name((ast, registry, options = {}) => {
|
|
|
923
923
|
}, "validateQuery");
|
|
924
924
|
var fieldsNamed = /* @__PURE__ */ __name((ast) => new Set(walkQuery(ast.root).map((node) => node.field)), "fieldsNamed");
|
|
925
925
|
|
|
926
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
926
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.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
|
|
927
927
|
var describeQuery = /* @__PURE__ */ __name((registry) => ({
|
|
928
928
|
entity: registry.entity,
|
|
929
929
|
backend: registry.backend,
|
|
@@ -994,7 +994,7 @@ var QUERY_REASONS = defineReasons([
|
|
|
994
994
|
details: [...SPAN, ...details]
|
|
995
995
|
})));
|
|
996
996
|
|
|
997
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
997
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
998
998
|
var context = {
|
|
999
999
|
command: "search meetings",
|
|
1000
1000
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -1106,7 +1106,7 @@ var liftMeetingFields = /* @__PURE__ */ __name((query, request, now, timezone) =
|
|
|
1106
1106
|
}, "liftMeetingFields");
|
|
1107
1107
|
var parseMeetingQuery = /* @__PURE__ */ __name((query) => validateQuery(parseLucene(query, { defaultField: "text", proximity: true, ...context }), MEETING_HIT_QUERY, context), "parseMeetingQuery");
|
|
1108
1108
|
|
|
1109
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1109
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/search/service-query.js
|
|
1110
1110
|
var BACKENDS = ["archive", "server", "both"];
|
|
1111
1111
|
var MAX_BRANCHES = 64;
|
|
1112
1112
|
var some = /* @__PURE__ */ __name((value) => value === void 0 ? [] : [value], "some");
|
|
@@ -1145,10 +1145,10 @@ var RELATIVE_TIME = /^\d+[mhd]$/i;
|
|
|
1145
1145
|
var OFFSET = /(?:Z|[+-]\d{2}:?\d{2})$/i;
|
|
1146
1146
|
var readsZone = /* @__PURE__ */ __name((ast, times) => walkQuery(ast.root).some((term) => times.has(term.field) && [term.value, term.upper].some((value) => value !== void 0 && value !== "*" && !RELATIVE_TIME.test(value) && !OFFSET.test(value))), "readsZone");
|
|
1147
1147
|
|
|
1148
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1148
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/model.js
|
|
1149
1149
|
var MEETING_CALL_DIRECTIONS = ["in", "out"];
|
|
1150
1150
|
|
|
1151
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1151
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
1152
1152
|
var text = string();
|
|
1153
1153
|
var count = pipe(number(), integer(), minValue(0));
|
|
1154
1154
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -1248,7 +1248,7 @@ var MEETING_QUERY = {
|
|
|
1248
1248
|
})
|
|
1249
1249
|
};
|
|
1250
1250
|
|
|
1251
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1251
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/store.js
|
|
1252
1252
|
var MEETING_DOCUMENT_ROLES = ["transcript", "recording", "notes"];
|
|
1253
1253
|
var TRANSCRIPT_WORDS = [
|
|
1254
1254
|
"Transcript",
|
|
@@ -1260,7 +1260,7 @@ var TRANSCRIPT_WORDS = [
|
|
|
1260
1260
|
];
|
|
1261
1261
|
var READ_BUDGET_EXCEEDED = "Meeting search exceeds its stored text byte budget";
|
|
1262
1262
|
|
|
1263
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1263
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
1264
1264
|
var text2 = string();
|
|
1265
1265
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
1266
1266
|
var iso2 = /* @__PURE__ */ __name((ms2) => ms2 === null ? null : new Date(ms2).toISOString(), "iso");
|
|
@@ -1544,7 +1544,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
1544
1544
|
};
|
|
1545
1545
|
}, "meetingHitsList");
|
|
1546
1546
|
|
|
1547
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1547
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
1548
1548
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
1549
1549
|
const parsed = urlOf(url);
|
|
1550
1550
|
if (!parsed)
|
|
@@ -1578,7 +1578,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
1578
1578
|
}
|
|
1579
1579
|
}, "urlOf");
|
|
1580
1580
|
|
|
1581
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1581
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
1582
1582
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
1583
1583
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
1584
1584
|
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");
|
|
@@ -1615,11 +1615,11 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
1615
1615
|
return kept;
|
|
1616
1616
|
}, "entryMetadata");
|
|
1617
1617
|
|
|
1618
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1618
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/calls.js
|
|
1619
1619
|
var CALL_DIRECTIONS = ["incoming", "outgoing", "internal"];
|
|
1620
1620
|
var CALL_OUTCOMES = ["answered", "voicemail", "busy", "no_answer", "failed"];
|
|
1621
1621
|
|
|
1622
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1622
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/call-answers.js
|
|
1623
1623
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
1624
1624
|
var ms = count3;
|
|
1625
1625
|
var id = pipe(number(), integer(), minValue(1));
|
|
@@ -1702,7 +1702,7 @@ var callStatsSchema = strictObject({
|
|
|
1702
1702
|
});
|
|
1703
1703
|
var callStats = callStatsSchema;
|
|
1704
1704
|
|
|
1705
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1705
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
1706
1706
|
var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
|
|
1707
1707
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
1708
1708
|
const zone = timeZone ?? "UTC";
|
|
@@ -1837,10 +1837,10 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
1837
1837
|
};
|
|
1838
1838
|
}, "aggregateMeetingStats");
|
|
1839
1839
|
|
|
1840
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1840
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/call-stats.js
|
|
1841
1841
|
var CALLBACK_WITHIN_MS = 24 * 60 * 60 * 1e3;
|
|
1842
1842
|
|
|
1843
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1843
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
1844
1844
|
import { createHash } from "node:crypto";
|
|
1845
1845
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
1846
1846
|
reference: cue2.reference,
|
|
@@ -1854,7 +1854,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
1854
1854
|
text: cue2.text
|
|
1855
1855
|
})).digest("hex"), "meetingCueFingerprint");
|
|
1856
1856
|
|
|
1857
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1857
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
1858
1858
|
var EVENT_QUERY = defineQuery({
|
|
1859
1859
|
entity: "event",
|
|
1860
1860
|
backend: "sql",
|
|
@@ -1870,7 +1870,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
1870
1870
|
]
|
|
1871
1871
|
});
|
|
1872
1872
|
|
|
1873
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1873
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
1874
1874
|
var PARTICIPANT_RESPONSES = ["needs-action", "accepted", "tentative", "declined", "delegated"];
|
|
1875
1875
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
1876
1876
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
@@ -1894,7 +1894,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
|
|
|
1894
1894
|
return Math.max(entry.endsAt ?? start, start + 1) > window.from;
|
|
1895
1895
|
}, "entryInWindow");
|
|
1896
1896
|
|
|
1897
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1897
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
1898
1898
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now(), { create = true } = {}) => {
|
|
1899
1899
|
const current = await store.meeting(details.meeting.id);
|
|
1900
1900
|
if (!current)
|
|
@@ -1939,7 +1939,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now(),
|
|
|
1939
1939
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
1940
1940
|
}, "linkEvent");
|
|
1941
1941
|
|
|
1942
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1942
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
1943
1943
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text6) => text6.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
1944
1944
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
1945
1945
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -1963,7 +1963,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
1963
1963
|
};
|
|
1964
1964
|
}, "validateMeetingParticipantSearch");
|
|
1965
1965
|
|
|
1966
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1966
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
1967
1967
|
var MeetingError = class extends CliError {
|
|
1968
1968
|
static {
|
|
1969
1969
|
__name(this, "MeetingError");
|
|
@@ -2102,7 +2102,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id4, accountId)
|
|
|
2102
2102
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
2103
2103
|
}, "meetingSummaryAnswer");
|
|
2104
2104
|
|
|
2105
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2105
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
2106
2106
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
2107
2107
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
2108
2108
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -2199,10 +2199,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id4, options) => {
|
|
|
2199
2199
|
};
|
|
2200
2200
|
}, "exportMeeting");
|
|
2201
2201
|
|
|
2202
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
2203
2203
|
import { createHash as createHash2 } from "node:crypto";
|
|
2204
2204
|
|
|
2205
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2205
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
2206
2206
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
2207
2207
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
2208
2208
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone, such as 2026-11-09T09:00:00Z`);
|
|
@@ -2213,7 +2213,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
2213
2213
|
return new Date(value).toISOString();
|
|
2214
2214
|
}, "meetingTimestamp");
|
|
2215
2215
|
|
|
2216
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2216
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
2217
2217
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
2218
2218
|
var invalid3 = /* @__PURE__ */ __name((message) => {
|
|
2219
2219
|
throw new CliError("validation_error", message);
|
|
@@ -2388,7 +2388,7 @@ var validateBatch = /* @__PURE__ */ __name((input, rules, most, one) => {
|
|
|
2388
2388
|
var validateFindings = /* @__PURE__ */ __name((input, rules) => validateBatch(input, rules, 16, (finding, ids2) => validateFinding(finding, rules, ids2)), "validateFindings");
|
|
2389
2389
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
2390
2390
|
|
|
2391
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2391
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
2392
2392
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
2393
2393
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
2394
2394
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -2399,7 +2399,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
2399
2399
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
2400
2400
|
var meetingFindingFingerprint = findingFingerprint;
|
|
2401
2401
|
|
|
2402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/language.js
|
|
2403
2403
|
var LATIN_WORDS = {
|
|
2404
2404
|
en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
|
|
2405
2405
|
es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
|
|
@@ -2448,7 +2448,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
|
|
|
2448
2448
|
return null;
|
|
2449
2449
|
}, "transcriptLanguage");
|
|
2450
2450
|
|
|
2451
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2451
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
2452
2452
|
var contentHash = /* @__PURE__ */ __name(async (text6) => {
|
|
2453
2453
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text6));
|
|
2454
2454
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -2485,7 +2485,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
2485
2485
|
return time;
|
|
2486
2486
|
}, "timestamp");
|
|
2487
2487
|
|
|
2488
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2488
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
2489
2489
|
var TranscriptTextError = class extends Error {
|
|
2490
2490
|
static {
|
|
2491
2491
|
__name(this, "TranscriptTextError");
|
|
@@ -2540,7 +2540,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
2540
2540
|
return { header, lines };
|
|
2541
2541
|
}, "parseTranscriptText");
|
|
2542
2542
|
|
|
2543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2543
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
2544
2544
|
var VttError = class extends Error {
|
|
2545
2545
|
static {
|
|
2546
2546
|
__name(this, "VttError");
|
|
@@ -2592,7 +2592,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
2592
2592
|
return cues;
|
|
2593
2593
|
}, "parseVtt");
|
|
2594
2594
|
|
|
2595
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2595
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
2596
2596
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
2597
2597
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
2598
2598
|
for (const file of files) {
|
|
@@ -2625,10 +2625,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
2625
2625
|
return report;
|
|
2626
2626
|
}, "importFiles");
|
|
2627
2627
|
|
|
2628
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2628
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
2629
2629
|
var CHAT_MESSAGES_READ = 1e5;
|
|
2630
2630
|
|
|
2631
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2631
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
2632
2632
|
var MEETING_FIELD_KEYS = Object.freeze({
|
|
2633
2633
|
title: "title",
|
|
2634
2634
|
kind: "kind",
|
|
@@ -2641,7 +2641,7 @@ var MEETING_FIELDS2 = Object.freeze(Object.keys(MEETING_FIELD_KEYS));
|
|
|
2641
2641
|
var meetingFieldFlag = /* @__PURE__ */ __name((field) => `--${MEETING_FIELD_KEYS[field].replaceAll("_", "-")}`, "meetingFieldFlag");
|
|
2642
2642
|
var SNAKE_CASE2 = /^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$/;
|
|
2643
2643
|
|
|
2644
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2644
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
2645
2645
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
2646
2646
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
2647
2647
|
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)))
|
|
@@ -2662,7 +2662,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
2662
2662
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
2663
2663
|
}, "validateMeetingPassage");
|
|
2664
2664
|
|
|
2665
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2665
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
2666
2666
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
2667
2667
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2668
2668
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -2687,7 +2687,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
2687
2687
|
return { ...input, limit, maxReadBytes };
|
|
2688
2688
|
}, "validateMeetingPreparationContext");
|
|
2689
2689
|
|
|
2690
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2690
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
2691
2691
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2692
2692
|
var id2 = pipe(string(), minLength(1));
|
|
2693
2693
|
var meetingProjectEvidence = strictObject({
|
|
@@ -2808,7 +2808,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
2808
2808
|
};
|
|
2809
2809
|
}, "meetingProjectEvidenceAnswer");
|
|
2810
2810
|
|
|
2811
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2811
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
2812
2812
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
2813
2813
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
2814
2814
|
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) || [
|
|
@@ -2828,7 +2828,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
2828
2828
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
2829
2829
|
}, "validateMeetingHitSearch");
|
|
2830
2830
|
|
|
2831
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2831
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
2832
2832
|
var ids = {
|
|
2833
2833
|
meeting_id: "meetingId",
|
|
2834
2834
|
identity_id: "participantIdentityId",
|
|
@@ -2919,7 +2919,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
|
|
|
2919
2919
|
return { project: project.trim(), options, query: frozen.join(" AND ") };
|
|
2920
2920
|
}, "prepareMeetingProjectEvidence");
|
|
2921
2921
|
|
|
2922
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2922
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
2923
2923
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
|
|
2924
2924
|
const prepared = prepareMeetingProjectEvidence(project, request, now);
|
|
2925
2925
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -2927,7 +2927,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
|
|
|
2927
2927
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
2928
2928
|
}, "readMeetingProjectEvidence");
|
|
2929
2929
|
|
|
2930
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2930
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
2931
2931
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
2932
2932
|
const { identityExternalId, phone, ...fields } = p;
|
|
2933
2933
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -3128,7 +3128,7 @@ var pull = /* @__PURE__ */ __name(async (source, store, options) => {
|
|
|
3128
3128
|
return report;
|
|
3129
3129
|
}, "pull");
|
|
3130
3130
|
|
|
3131
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3131
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
3132
3132
|
var text3 = string();
|
|
3133
3133
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
3134
3134
|
var id3 = pipe(number(), integer(), minValue(1));
|
|
@@ -3326,7 +3326,7 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
3326
3326
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
3327
3327
|
}), "eventItem");
|
|
3328
3328
|
|
|
3329
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3329
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/read-through.js
|
|
3330
3330
|
var MEETING_SERVER_BOUNDS = { calls: 3, pages: 2 };
|
|
3331
3331
|
var ISSUES = {
|
|
3332
3332
|
offline: ["permission_error", "meetings.server-offline"],
|
|
@@ -3618,10 +3618,10 @@ var meetingShowThrough = /* @__PURE__ */ __name(async (source, store, accountId,
|
|
|
3618
3618
|
return { details: fresh, foundIn: step.found.get(details.meeting.id) ?? "server", server: step.report };
|
|
3619
3619
|
}, "meetingShowThrough");
|
|
3620
3620
|
|
|
3621
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3621
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
3622
3622
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
3623
3623
|
|
|
3624
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3624
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
3625
3625
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
3626
3626
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
3627
3627
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -3651,7 +3651,7 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
3651
3651
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
3652
3652
|
}, "validateMeetingRelatedHistory");
|
|
3653
3653
|
|
|
3654
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3654
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
3655
3655
|
var text4 = string();
|
|
3656
3656
|
var identifier = pipe(text4, minLength(1));
|
|
3657
3657
|
var nullableText = nullable(text4);
|
|
@@ -3823,14 +3823,14 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
3823
3823
|
meeting_repair: repair
|
|
3824
3824
|
};
|
|
3825
3825
|
|
|
3826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
3827
3827
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
3828
3828
|
|
|
3829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3829
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
3830
3830
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
3831
3831
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
3832
3832
|
|
|
3833
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3833
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
3834
3834
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
3835
3835
|
input.signal?.throwIfAborted();
|
|
3836
3836
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -3851,10 +3851,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
3851
3851
|
return { ...input, limit, maxReadBytes };
|
|
3852
3852
|
}, "validateMeetingSeriesHistory");
|
|
3853
3853
|
|
|
3854
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3854
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
3855
3855
|
var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
|
|
3856
3856
|
|
|
3857
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3857
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
3858
3858
|
function invalid4(field, response = false) {
|
|
3859
3859
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
3860
3860
|
}
|
|
@@ -3883,7 +3883,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
3883
3883
|
cursorDetails(value);
|
|
3884
3884
|
}, "validateMeetingSeriesInventoryCursor");
|
|
3885
3885
|
|
|
3886
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3886
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/meetings/tag-answers.js
|
|
3887
3887
|
var text5 = string();
|
|
3888
3888
|
var storeId = pipe(number(), integer(), minValue(1));
|
|
3889
3889
|
var meetingTagChange = strictObject({
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/command-server-argv.js
|
|
8
8
|
var COMMAND_SERVER_ARGV = ["commands", "--serve"];
|
|
9
9
|
var isCommandServer = /* @__PURE__ */ __name((args) => args.length === COMMAND_SERVER_ARGV.length && COMMAND_SERVER_ARGV.every((word, at) => args[at] === word), "isCommandServer");
|
|
10
10
|
|
|
@@ -7,18 +7,18 @@ import {
|
|
|
7
7
|
describeOptions,
|
|
8
8
|
keyForCommand,
|
|
9
9
|
metaOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UKBK2VWZ.js";
|
|
11
11
|
import {
|
|
12
12
|
jsonSchemaOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QVGEL66U.js";
|
|
14
14
|
import {
|
|
15
15
|
CliError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LIQMUDIZ.js";
|
|
17
17
|
import {
|
|
18
18
|
__name
|
|
19
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
22
22
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
23
23
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
24
24
|
const entity = answerEntitySchema(command);
|
|
@@ -2,17 +2,17 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
validateVector
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VTQMR3XG.js";
|
|
6
6
|
import {
|
|
7
7
|
MESSAGE_PARSING,
|
|
8
8
|
RRF_K
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-N7QREPZW.js";
|
|
10
10
|
import {
|
|
11
11
|
normalize
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TTDZVWDU.js";
|
|
13
13
|
import {
|
|
14
14
|
meaningFloor
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JKSD43L7.js";
|
|
16
16
|
import {
|
|
17
17
|
formatMeetingReference,
|
|
18
18
|
implicitTextTerms,
|
|
@@ -20,18 +20,18 @@ import {
|
|
|
20
20
|
parseLucene,
|
|
21
21
|
parseMeetingReference,
|
|
22
22
|
walkQuery
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-RABUG4KA.js";
|
|
24
24
|
import {
|
|
25
25
|
CliError
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-LIQMUDIZ.js";
|
|
27
27
|
import {
|
|
28
28
|
__name
|
|
29
29
|
} from "./chunk-ZVVMGPBJ.js";
|
|
30
30
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/services/meeting-combined.js
|
|
32
32
|
import { createHash } from "node:crypto";
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/search/question-plan.js
|
|
35
35
|
var words = /* @__PURE__ */ __name((text) => normalize(text).match(/[\p{L}\p{N}]+/gu) ?? [], "words");
|
|
36
36
|
var joinedHyphens = /* @__PURE__ */ __name((text) => (normalize(text).match(new RegExp("(?<![:\\p{L}\\p{N}-])\\p{L}[\\p{L}\\p{N}]*(?:-\\p{L}[\\p{L}\\p{N}]*)+", "gu")) ?? []).map((word) => word.replaceAll("-", "")), "joinedHyphens");
|
|
37
37
|
var scaffolding = new Set(words("what which how many much who where when is are was were do does did can could should we the a an for of to under from in on at has have \u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043A\u0430\u043A\u043E\u0439 \u043A\u0430\u043A\u0430\u044F \u043A\u0430\u043A\u0438\u0435 \u043A\u0430\u043A\u043E\u0435 \u043A\u0442\u043E \u043A\u043E\u043C\u0443 \u043A\u0435\u043C \u0433\u0434\u0435 \u043A\u043E\u0433\u0434\u0430 \u043A\u0430\u043A \u0447\u0442\u043E \u0432\u043E \u043F\u043E \u043D\u0430 \u0432 \u043A \u0441 \u0443 \u0447\u0435\u0440\u0435\u0437 \u043B\u0438 \u0434\u043E\u043B\u0436\u0435\u043D \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0443\u0436\u043D\u043E \u0438\u0434\u0451\u0442 \u0438\u0434\u0435\u0442 \u043C\u043E\u0436\u043D\u043E \u043C\u043E\u0436\u0435\u0442 \u043C\u043E\u0433\u0443\u0442"));
|
|
@@ -168,7 +168,7 @@ var questionLookup = /* @__PURE__ */ __name((text) => {
|
|
|
168
168
|
return terms.length ? anyOfTerms(terms, plan.scope) : void 0;
|
|
169
169
|
}, "questionLookup");
|
|
170
170
|
|
|
171
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
171
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/services/meeting-hit-search.js
|
|
172
172
|
var refreshMeetingIndex = /* @__PURE__ */ __name(async (meetings, accountId, signal) => {
|
|
173
173
|
let before = Number.POSITIVE_INFINITY;
|
|
174
174
|
for (; ; ) {
|
|
@@ -221,7 +221,7 @@ var resolveMeetingSelection = /* @__PURE__ */ __name(async (store, request) => {
|
|
|
221
221
|
return { input, selection };
|
|
222
222
|
}, "resolveMeetingSelection");
|
|
223
223
|
|
|
224
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
224
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/services/meeting-combined.js
|
|
225
225
|
var DEPTH = 200;
|
|
226
226
|
var cursorOf = /* @__PURE__ */ __name((value, key) => {
|
|
227
227
|
if (value === void 0)
|