@wirecat/tg-cli 0.130.0 → 0.132.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/tg.js +2 -2
- package/dist/bundle/{adapter-2XFPXBTA.js → adapter-OXVMOWVE.js} +60 -60
- package/dist/bundle/{all-profiles-GXFPZLYU.js → all-profiles-6OQC7PBL.js} +9 -9
- package/dist/bundle/{anthropic-FHS5XNK5.js → anthropic-YFMIHFW5.js} +5 -5
- package/dist/bundle/{app-server-IZMFSFP2.js → app-server-S7CJPJXN.js} +52 -52
- package/dist/bundle/{bot-api-V3ZJ75KE.js → bot-api-KJ6EZ4R6.js} +61 -61
- package/dist/bundle/{bot-history-EJQOD4AQ.js → bot-history-JYCXDFW4.js} +22 -22
- package/dist/bundle/{bun-GBAZFRCV.js → bun-FVTOBYZ2.js} +2 -2
- package/dist/bundle/{bun-sqlite-JB4BX6X7.js → bun-sqlite-KDGWBNOR.js} +6 -6
- package/dist/bundle/{chunk-KY3JLXW2.js → chunk-2LZD2VFV.js} +4 -4
- package/dist/bundle/{chunk-JUFLELQ7.js → chunk-2UGSIHLV.js} +2 -2
- package/dist/bundle/{chunk-TGRB4SSZ.js → chunk-3QHKZLBU.js} +4 -4
- package/dist/bundle/{chunk-6M3FAHPS.js → chunk-42MXCMW6.js} +3 -3
- package/dist/bundle/{chunk-HT6OFANN.js → chunk-44A2XRDE.js} +20 -20
- package/dist/bundle/{chunk-QJLCEOAP.js → chunk-4CKYANQH.js} +1 -1
- package/dist/bundle/{chunk-AUNNJDVD.js → chunk-4EDJJQJI.js} +28 -8
- package/dist/bundle/{chunk-2JZJPVBH.js → chunk-4YB7JU2W.js} +6 -6
- package/dist/bundle/{chunk-CLG2ISQH.js → chunk-4ZTVJHWU.js} +4 -4
- package/dist/bundle/{chunk-F6MLJ3V5.js → chunk-5RDNBG7D.js} +2 -2
- package/dist/bundle/{chunk-6JBRQ6PM.js → chunk-5UPEEMEF.js} +61 -19
- package/dist/bundle/{chunk-SYZXOEHY.js → chunk-6LPUK62N.js} +3 -3
- package/dist/bundle/{chunk-NRCY3WBC.js → chunk-74UPKW7H.js} +2 -2
- package/dist/bundle/{chunk-QDEP2QOA.js → chunk-7SEVVE3X.js} +3 -3
- package/dist/bundle/{chunk-PS7ZS5HD.js → chunk-A5D3J7XZ.js} +4 -4
- package/dist/bundle/{chunk-3XMUP55N.js → chunk-AERP2QR6.js} +10 -10
- package/dist/bundle/{chunk-RZPMFVWM.js → chunk-AUZWIBHJ.js} +6 -6
- package/dist/bundle/{chunk-OWVQMK7G.js → chunk-B4LGDOG5.js} +528 -389
- package/dist/bundle/{chunk-B6NQJAUC.js → chunk-BLZEQVP4.js} +2 -2
- package/dist/bundle/{chunk-GGGBPWUS.js → chunk-BMI2NWFI.js} +8 -8
- package/dist/bundle/{chunk-EB2JE722.js → chunk-BSXS7VAC.js} +1 -1
- package/dist/bundle/{chunk-FIO5NMK3.js → chunk-CFWFESBO.js} +8 -8
- package/dist/bundle/{chunk-QFVIHBLD.js → chunk-DSJNZXTP.js} +1 -1
- package/dist/bundle/{chunk-F6CV4KUN.js → chunk-DXPGMUOR.js} +2 -2
- package/dist/bundle/{chunk-IV6SIKVH.js → chunk-EPR67IRV.js} +4 -4
- package/dist/bundle/{chunk-BMSS3PCY.js → chunk-ESOFH7PA.js} +37 -30
- package/dist/bundle/{chunk-XXW6PFAX.js → chunk-FIUH52FE.js} +1 -1
- package/dist/bundle/{chunk-4BJAQNJ5.js → chunk-FKGYXIN7.js} +7 -7
- package/dist/bundle/{chunk-VSPSHBAC.js → chunk-FPSRT2TX.js} +2 -2
- package/dist/bundle/{chunk-OKTRB4ZQ.js → chunk-HBSKP7OV.js} +1 -1
- package/dist/bundle/{chunk-RAFK5KXU.js → chunk-IY7CTAOQ.js} +9 -9
- package/dist/bundle/{chunk-66UG67CE.js → chunk-IYJ4B632.js} +14 -13
- package/dist/bundle/{chunk-FH4YIBBH.js → chunk-JDNDWZYS.js} +4 -4
- package/dist/bundle/{chunk-C4ALE7CH.js → chunk-JMJOWT4N.js} +1 -1
- package/dist/bundle/{chunk-ZRQQOGAZ.js → chunk-JNWKV3QV.js} +4 -4
- package/dist/bundle/{chunk-2LPODKIF.js → chunk-JPSRC732.js} +17 -115
- package/dist/bundle/{chunk-SZB5WRMI.js → chunk-JZJV3DYK.js} +2 -2
- package/dist/bundle/{chunk-S5UTBEV3.js → chunk-KJICORS4.js} +38 -37
- package/dist/bundle/{chunk-RPWYTOLI.js → chunk-LF6FACSW.js} +5 -5
- package/dist/bundle/{chunk-QJDHRBXL.js → chunk-LG3K5NHX.js} +7 -7
- package/dist/bundle/{chunk-6WGAWISN.js → chunk-LMGVPDXN.js} +2 -2
- package/dist/bundle/{chunk-EUL7HMUL.js → chunk-LZ3HFDYL.js} +2 -2
- package/dist/bundle/{chunk-B5RGPZDZ.js → chunk-M2TV6BDB.js} +7 -7
- package/dist/bundle/{chunk-3KZG63EH.js → chunk-N5LZ6L4D.js} +3 -3
- package/dist/bundle/{chunk-O2ULG7OO.js → chunk-NLRGMP7M.js} +3 -3
- package/dist/bundle/{chunk-GYCKRIRK.js → chunk-NWCFO37P.js} +3 -3
- package/dist/bundle/{chunk-QBNEWEJC.js → chunk-NWDADTPE.js} +3 -3
- package/dist/bundle/{chunk-42LRWOTT.js → chunk-O3AM32YN.js} +15 -15
- package/dist/bundle/{chunk-7F3LOHRB.js → chunk-O43PARFS.js} +170 -162
- package/dist/bundle/{chunk-IRWSZJYL.js → chunk-OGZZUDJJ.js} +54 -54
- package/dist/bundle/{chunk-M327UNS6.js → chunk-OIRNHSAH.js} +6 -6
- package/dist/bundle/{chunk-XHX5D5VE.js → chunk-PG37E63A.js} +174 -72
- package/dist/bundle/{chunk-PWQKGFS2.js → chunk-PR4F3TYK.js} +30 -30
- package/dist/bundle/{chunk-I5PILOTU.js → chunk-PYECFCPD.js} +1 -1
- package/dist/bundle/{chunk-MVFSWKTM.js → chunk-QNEAPLOP.js} +12 -12
- package/dist/bundle/{chunk-VTJ3AOTT.js → chunk-QS46C5SW.js} +17 -17
- package/dist/bundle/{chunk-X5H5NERR.js → chunk-SMQ45RZX.js} +6 -6
- package/dist/bundle/{chunk-IBSHQWIJ.js → chunk-U7PHJSTX.js} +2 -2
- package/dist/bundle/{chunk-CKJ73EF3.js → chunk-UAFSDTID.js} +1 -1
- package/dist/bundle/{chunk-HHUK3XO5.js → chunk-UGD4SCUI.js} +1 -1
- package/dist/bundle/{chunk-MS6YEIG5.js → chunk-WAVRUADL.js} +13 -13
- package/dist/bundle/{chunk-VXWDQDRU.js → chunk-Y57EKZZK.js} +795 -467
- package/dist/bundle/{chunk-LQPZDDDP.js → chunk-YAPO7QNO.js} +6 -6
- package/dist/bundle/{chunk-G2SMVYBU.js → chunk-YRXSNH3R.js} +2 -2
- package/dist/bundle/{chunk-OJMDKWWL.js → chunk-YSNQGOUI.js} +2268 -1354
- package/dist/bundle/{chunk-GA3URWIF.js → chunk-YVI5SQPY.js} +1 -1
- package/dist/bundle/{chunk-GSHTLLCJ.js → chunk-ZJIGVT6Z.js} +2 -2
- package/dist/bundle/{chunk-LPT5T6PU.js → chunk-ZRW3DF25.js} +24 -24
- package/dist/bundle/{chunk-66PL7P4C.js → chunk-ZZ32DXTH.js} +1 -1
- package/dist/bundle/command-contract-FRH7LBGE.js +37 -0
- package/dist/bundle/{command-server-entry-YR6ONDWO.js → command-server-entry-TM264M2J.js} +27 -27
- package/dist/bundle/{decode-VUKGWFSW.js → decode-RJFOSHCE.js} +5 -5
- package/dist/bundle/{dispatch-ST5FK2KI.js → dispatch-7OZP3X4O.js} +8 -8
- package/dist/bundle/{echarts-GOV5M733.js → echarts-PYKF4D7B.js} +2 -2
- package/dist/bundle/{embed-2IVIYNAJ.js → embed-JFN6Z5TG.js} +6 -6
- package/dist/bundle/{embedder-2HU7JYZK.js → embedder-WN54JIMY.js} +9 -9
- package/dist/bundle/{entry-CSTCXYI5.js → entry-Z6LO6N6S.js} +9 -9
- package/dist/bundle/{failure-GMUQKQ5K.js → failure-UONA2IA5.js} +2 -2
- package/dist/bundle/{first-run-3IZGXZT5.js → first-run-WQAKES7G.js} +12 -12
- package/dist/bundle/first-screen-4RFG22SA.js +35 -0
- package/dist/bundle/{instructions-YSXV6FAC.js → instructions-PR4BBBTM.js} +1 -1
- package/dist/bundle/{mcp-VFIOZDVY.js → mcp-O6ACR2DX.js} +2 -2
- package/dist/bundle/meeting-combined-MHWTZOF2.js +23 -0
- package/dist/bundle/{meeting-model-FQBDHGRU.js → meeting-model-YVTUOM4H.js} +11 -11
- package/dist/bundle/{meeting-semantic-ONNEOJX5.js → meeting-semantic-X4KG6RNV.js} +6 -6
- package/dist/bundle/{node-FMQWCZRS.js → node-OVS5LTVZ.js} +2 -2
- package/dist/bundle/{node-sqlite-YN5OKOC6.js → node-sqlite-LC44SM4Z.js} +7 -7
- package/dist/bundle/{oauth-EW7PTZVT.js → oauth-NSVUFQCW.js} +7 -7
- package/dist/bundle/{open-Q2RDY344.js → open-XN5SJFVY.js} +5 -5
- package/dist/bundle/{openai-STON6G3O.js → openai-WOYZHJNL.js} +15 -15
- package/dist/bundle/{process-OQUC2TW3.js → process-UFBRGTQC.js} +1 -1
- package/dist/bundle/{program-N5BT75OC.js → program-RAGBRRQH.js} +65 -65
- package/dist/bundle/{prompt-WHVF7UTW.js → prompt-6HAKBUQN.js} +5 -5
- package/dist/bundle/{proxy-transport-A4MRO3PF.js → proxy-transport-5EJVFUTC.js} +5 -5
- package/dist/bundle/{recognize-YDQWMXNI.js → recognize-CN5COBVJ.js} +4 -4
- package/dist/bundle/{remote-477LQHP6.js → remote-STX5AMGE.js} +9 -9
- package/dist/bundle/{rerank-4YPB26FG.js → rerank-ZCOWTXIJ.js} +7 -7
- package/dist/bundle/{serve-FXJNUOTS.js → serve-XMQEOIG2.js} +9 -9
- package/dist/bundle/{server-2S6HFBGR.js → server-PGGUD3DM.js} +44 -44
- package/dist/bundle/server-WTNYWCZ4.js +69 -0
- package/dist/bundle/{sqlite-runtime-RXYNJYMC.js → sqlite-runtime-PS4DSOIU.js} +6 -6
- package/dist/bundle/{state-I2GGYGRL.js → state-GL4ZC57O.js} +6 -6
- package/dist/bundle/{store-KX3AAQZH.js → store-HJ76TLWD.js} +19 -19
- package/dist/bundle/{store-VQXIB6KV.js → store-VISFXSHL.js} +17 -17
- package/dist/bundle/store-maintenance-command-SMARMN5C.js +60 -0
- package/dist/bundle/tg.js +13 -13
- package/dist/program.js +1 -1
- package/dist/program.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/tg-cli/SKILL.md +11 -9
- package/dist/bundle/command-contract-G752BLKA.js +0 -37
- package/dist/bundle/first-screen-7QSNCZIK.js +0 -35
- package/dist/bundle/meeting-combined-X4E3LSIJ.js +0 -23
- package/dist/bundle/server-UOSUTZNE.js +0 -69
- package/dist/bundle/store-maintenance-command-LW2MMDLY.js +0 -60
- /package/dist/bundle/{chunk-ZI3YTXSF.js → chunk-VKE77B3F.js} +0 -0
|
@@ -24,6 +24,7 @@ import {
|
|
|
24
24
|
pageSchema,
|
|
25
25
|
picklist,
|
|
26
26
|
pipe,
|
|
27
|
+
record,
|
|
27
28
|
reference,
|
|
28
29
|
safeParse,
|
|
29
30
|
stepOf,
|
|
@@ -31,18 +32,18 @@ import {
|
|
|
31
32
|
string,
|
|
32
33
|
union,
|
|
33
34
|
variant
|
|
34
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-4EDJJQJI.js";
|
|
35
36
|
import {
|
|
36
37
|
CliError,
|
|
37
38
|
isCliError,
|
|
38
39
|
singleLine,
|
|
39
40
|
visibleControls
|
|
40
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-5RDNBG7D.js";
|
|
41
42
|
import {
|
|
42
43
|
__name
|
|
43
44
|
} from "./chunk-ZVVMGPBJ.js";
|
|
44
45
|
|
|
45
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
46
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
46
47
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
47
48
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
48
49
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -79,7 +80,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text6) => {
|
|
|
79
80
|
}, "parseMeetingReference");
|
|
80
81
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text6) => formatMeetingReference(parseMeetingReference(text6)), "canonicalMeetingReference");
|
|
81
82
|
|
|
82
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
83
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/payment.js
|
|
83
84
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
84
85
|
var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
|
|
85
86
|
var PAYMENT_STATES = ["expected", "paid", "cancelled"];
|
|
@@ -173,7 +174,7 @@ var paymentTitle = /* @__PURE__ */ __name((fact) => {
|
|
|
173
174
|
return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
|
|
174
175
|
}, "paymentTitle");
|
|
175
176
|
|
|
176
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
177
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/types.js
|
|
177
178
|
var QUERY_LIMITS = {
|
|
178
179
|
bytes: 8192,
|
|
179
180
|
depth: 32,
|
|
@@ -217,7 +218,7 @@ function queryError(reason, span, alternative, context3 = {}, details = {}) {
|
|
|
217
218
|
__name(queryError, "queryError");
|
|
218
219
|
var walkQuery = /* @__PURE__ */ __name((node) => node.kind === "predicate" ? [node] : node.clauses.flatMap(({ node: node2 }) => walkQuery(node2)), "walkQuery");
|
|
219
220
|
|
|
220
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
221
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/dates.js
|
|
221
222
|
var timezoneOf = /* @__PURE__ */ __name((given) => {
|
|
222
223
|
const zone = given ?? Intl.DateTimeFormat().resolvedOptions().timeZone ?? "UTC";
|
|
223
224
|
try {
|
|
@@ -367,7 +368,7 @@ var dateRange = /* @__PURE__ */ __name((lower, upper, lowerInclusive, upperInclu
|
|
|
367
368
|
};
|
|
368
369
|
}, "dateRange");
|
|
369
370
|
|
|
370
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
371
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/evaluate.js
|
|
371
372
|
var wordsOf = /* @__PURE__ */ __name((text6) => text6.toLowerCase().match(/[\p{L}\p{N}]+/gu) ?? [], "wordsOf");
|
|
372
373
|
var pattern = /* @__PURE__ */ __name((value) => new RegExp(`^${[...value].map((char) => char === "*" ? ".*" : char === "?" ? "." : char.replace(/[.+^${}()|[\]\\]/, "\\$&")).join("")}$`, "iu"), "pattern");
|
|
373
374
|
var present = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "", "present");
|
|
@@ -422,7 +423,7 @@ var matches = /* @__PURE__ */ __name((node, item, byName, options) => {
|
|
|
422
423
|
}, "matches");
|
|
423
424
|
var evaluate = /* @__PURE__ */ __name((ast, fields, item, options = {}) => matches(ast.root, item, new Map(fields.map((field) => [field.name, field])), options), "evaluate");
|
|
424
425
|
|
|
425
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
426
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/fields.js
|
|
426
427
|
var FIELD_TYPES = ["kw", "txt", "enum", "num", "time", "bool", "ref"];
|
|
427
428
|
var OPERATORS_BY_TYPE = {
|
|
428
429
|
kw: ["term", "phrase", "wildcard"],
|
|
@@ -501,7 +502,7 @@ var queryFieldsOf = /* @__PURE__ */ __name((schema, annotations = {}) => {
|
|
|
501
502
|
return [...own, ...relations, ...states];
|
|
502
503
|
}, "queryFieldsOf");
|
|
503
504
|
|
|
504
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
505
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/help.js
|
|
505
506
|
var shownOf = /* @__PURE__ */ __name((registry) => registry.backend === "native" ? registry.fields.filter((field) => field.native) : registry.fields, "shownOf");
|
|
506
507
|
var leftOut = /* @__PURE__ */ __name((fields) => fields.filter((field) => field.negatable).map((field) => field.name), "leftOut");
|
|
507
508
|
var has = /* @__PURE__ */ __name((fields, operator) => fields.some((field) => field.operators.includes(operator)), "has");
|
|
@@ -538,7 +539,7 @@ var queryDescription = /* @__PURE__ */ __name((registry) => {
|
|
|
538
539
|
return `${terms}; fields: ${fields.join(", ")}; e.g. ${shown[0]?.example ?? ""}${defaults}`;
|
|
539
540
|
}, "queryDescription");
|
|
540
541
|
|
|
541
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
542
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/parser.js
|
|
542
543
|
var whitespace = /* @__PURE__ */ __name((c) => /[ \t\n\r\u3000]/u.test(c), "whitespace");
|
|
543
544
|
var reserved = /* @__PURE__ */ new Set([
|
|
544
545
|
"+",
|
|
@@ -847,7 +848,7 @@ var implicitTextTerms = /* @__PURE__ */ __name((text6) => {
|
|
|
847
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] : []));
|
|
848
849
|
}, "implicitTextTerms");
|
|
849
850
|
|
|
850
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
851
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/validate.js
|
|
851
852
|
var inContext = /* @__PURE__ */ __name((context3, run2) => {
|
|
852
853
|
try {
|
|
853
854
|
run2();
|
|
@@ -922,7 +923,7 @@ var validateQuery = /* @__PURE__ */ __name((ast, registry, options = {}) => {
|
|
|
922
923
|
}, "validateQuery");
|
|
923
924
|
var fieldsNamed = /* @__PURE__ */ __name((ast) => new Set(walkQuery(ast.root).map((node) => node.field)), "fieldsNamed");
|
|
924
925
|
|
|
925
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
926
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/registry.js
|
|
926
927
|
var describeQuery = /* @__PURE__ */ __name((registry) => ({
|
|
927
928
|
entity: registry.entity,
|
|
928
929
|
backend: registry.backend,
|
|
@@ -993,7 +994,7 @@ var QUERY_REASONS = defineReasons([
|
|
|
993
994
|
details: [...SPAN, ...details]
|
|
994
995
|
})));
|
|
995
996
|
|
|
996
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
997
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
997
998
|
var context = {
|
|
998
999
|
command: "search meetings",
|
|
999
1000
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -1105,7 +1106,7 @@ var liftMeetingFields = /* @__PURE__ */ __name((query, request, now, timezone) =
|
|
|
1105
1106
|
}, "liftMeetingFields");
|
|
1106
1107
|
var parseMeetingQuery = /* @__PURE__ */ __name((query) => validateQuery(parseLucene(query, { defaultField: "text", proximity: true, ...context }), MEETING_HIT_QUERY, context), "parseMeetingQuery");
|
|
1107
1108
|
|
|
1108
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1109
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/search/service-query.js
|
|
1109
1110
|
var BACKENDS = ["archive", "server", "both"];
|
|
1110
1111
|
var MAX_BRANCHES = 64;
|
|
1111
1112
|
var some = /* @__PURE__ */ __name((value) => value === void 0 ? [] : [value], "some");
|
|
@@ -1144,7 +1145,10 @@ var RELATIVE_TIME = /^\d+[mhd]$/i;
|
|
|
1144
1145
|
var OFFSET = /(?:Z|[+-]\d{2}:?\d{2})$/i;
|
|
1145
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");
|
|
1146
1147
|
|
|
1147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1148
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/model.js
|
|
1149
|
+
var MEETING_CALL_DIRECTIONS = ["in", "out"];
|
|
1150
|
+
|
|
1151
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
1148
1152
|
var text = string();
|
|
1149
1153
|
var count = pipe(number(), integer(), minValue(0));
|
|
1150
1154
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -1152,6 +1156,12 @@ var meetingIssuesOf = /* @__PURE__ */ __name((metadata) => {
|
|
|
1152
1156
|
const listed2 = metadata?.issues;
|
|
1153
1157
|
return Array.isArray(listed2) ? MEETING_ISSUES.filter((issue) => listed2.includes(issue)) : [];
|
|
1154
1158
|
}, "meetingIssuesOf");
|
|
1159
|
+
var meetingCall = strictObject({
|
|
1160
|
+
direction: nullable(picklist(MEETING_CALL_DIRECTIONS)),
|
|
1161
|
+
manager: nullable(strictObject({ name: nullable(text), person: nullable(reference) })),
|
|
1162
|
+
client_phone: nullable(text)
|
|
1163
|
+
});
|
|
1164
|
+
var meetingCallItem = /* @__PURE__ */ __name((row) => row.direction == null && row.clientPhone == null ? void 0 : { direction: row.direction ?? null, manager: row.manager ?? null, client_phone: row.clientPhone ?? null }, "meetingCallItem");
|
|
1155
1165
|
var meetingEntries = {
|
|
1156
1166
|
ref: reference,
|
|
1157
1167
|
id: pipe(string(), minLength(1)),
|
|
@@ -1169,6 +1179,8 @@ var meetingEntries = {
|
|
|
1169
1179
|
duration_ms: nullable(count),
|
|
1170
1180
|
timezone: optional(nullable(text)),
|
|
1171
1181
|
participants_count: nullable(count),
|
|
1182
|
+
/** Present only on a phone call. */
|
|
1183
|
+
call: optional(meetingCall),
|
|
1172
1184
|
/** Present only when something about this meeting is doubtful. */
|
|
1173
1185
|
issues: optional(array(picklist(MEETING_ISSUES))),
|
|
1174
1186
|
/**
|
|
@@ -1186,6 +1198,7 @@ var MEETING_UNTRUSTED = ["title", "description", "location"];
|
|
|
1186
1198
|
var iso = /* @__PURE__ */ __name((ms2) => ms2 === null ? null : new Date(ms2).toISOString(), "iso");
|
|
1187
1199
|
var meetingItem = /* @__PURE__ */ __name((row, owner) => {
|
|
1188
1200
|
const issues = meetingIssuesOf(row.metadata);
|
|
1201
|
+
const call = meetingCallItem(row);
|
|
1189
1202
|
return {
|
|
1190
1203
|
ref: formatMeetingReference({ type: "meeting", accountId: row.accountId, meetingId: row.id }),
|
|
1191
1204
|
id: String(row.id),
|
|
@@ -1201,6 +1214,7 @@ var meetingItem = /* @__PURE__ */ __name((row, owner) => {
|
|
|
1201
1214
|
duration_ms: row.durationMs,
|
|
1202
1215
|
timezone: row.timezone,
|
|
1203
1216
|
participants_count: row.participantsCount,
|
|
1217
|
+
...call ? { call } : {},
|
|
1204
1218
|
...issues.length ? { issues } : {},
|
|
1205
1219
|
untrusted: [...MEETING_UNTRUSTED],
|
|
1206
1220
|
created_at: new Date(row.createdAt).toISOString(),
|
|
@@ -1234,11 +1248,19 @@ var MEETING_QUERY = {
|
|
|
1234
1248
|
})
|
|
1235
1249
|
};
|
|
1236
1250
|
|
|
1237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1251
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/store.js
|
|
1238
1252
|
var MEETING_DOCUMENT_ROLES = ["transcript", "recording", "notes"];
|
|
1253
|
+
var TRANSCRIPT_WORDS = [
|
|
1254
|
+
"Transcript",
|
|
1255
|
+
"Notes by Gemini",
|
|
1256
|
+
"\u0422\u0440\u0430\u043D\u0441\u043A\u0440\u0438\u043F\u0442",
|
|
1257
|
+
"\u0417\u0430\u043C\u0435\u0442\u043A\u0438 Gemini",
|
|
1258
|
+
"Transcripci\xF3n",
|
|
1259
|
+
"Notas de Gemini"
|
|
1260
|
+
];
|
|
1239
1261
|
var READ_BUDGET_EXCEEDED = "Meeting search exceeds its stored text byte budget";
|
|
1240
1262
|
|
|
1241
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1263
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
1242
1264
|
var text2 = string();
|
|
1243
1265
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
1244
1266
|
var iso2 = /* @__PURE__ */ __name((ms2) => ms2 === null ? null : new Date(ms2).toISOString(), "iso");
|
|
@@ -1288,7 +1310,9 @@ var meetingTranscript = strictObject({
|
|
|
1288
1310
|
/** When a newer transcript of the same source replaced it; `meetings transcript --history` shows those too. */
|
|
1289
1311
|
superseded_at: nullable(isoTime),
|
|
1290
1312
|
created_at: isoTime,
|
|
1291
|
-
lines: array(line)
|
|
1313
|
+
lines: array(line),
|
|
1314
|
+
/** What people said, and who the service says said it: data, never instructions. */
|
|
1315
|
+
untrusted: optional(array(text2))
|
|
1292
1316
|
});
|
|
1293
1317
|
var meetingSummary = strictObject({
|
|
1294
1318
|
id: pipe(string(), minLength(1)),
|
|
@@ -1301,7 +1325,9 @@ var meetingSummary = strictObject({
|
|
|
1301
1325
|
content: nullable(text2),
|
|
1302
1326
|
url: nullable(text2),
|
|
1303
1327
|
created_at: isoTime,
|
|
1304
|
-
updated_at: isoTime
|
|
1328
|
+
updated_at: isoTime,
|
|
1329
|
+
/** What the service wrote of what people said. */
|
|
1330
|
+
untrusted: optional(array(text2))
|
|
1305
1331
|
});
|
|
1306
1332
|
var meetingDetailsEntries = {
|
|
1307
1333
|
...meeting.entries,
|
|
@@ -1328,7 +1354,9 @@ var meetingDetailsEntries = {
|
|
|
1328
1354
|
name: nullable(text2),
|
|
1329
1355
|
mime: nullable(text2),
|
|
1330
1356
|
size: nullable(count2),
|
|
1331
|
-
url: nullable(text2)
|
|
1357
|
+
url: nullable(text2),
|
|
1358
|
+
/** The file on this computer; `null` when it stays on the service or the phone system (pbx over SFTP). */
|
|
1359
|
+
local_path: nullable(text2)
|
|
1332
1360
|
})),
|
|
1333
1361
|
/**
|
|
1334
1362
|
* The Drive files the meeting service saved for it, by role. `document` is the stored document (`document:<id>`) once
|
|
@@ -1342,6 +1370,20 @@ var meetingDetailsEntries = {
|
|
|
1342
1370
|
}))
|
|
1343
1371
|
};
|
|
1344
1372
|
var meetingDetails = strictObject(meetingDetailsEntries);
|
|
1373
|
+
var TRANSCRIPT_UNTRUSTED = ["lines.text", "lines.speaker"];
|
|
1374
|
+
var SUMMARY_UNTRUSTED = ["title", "overview", "sections.label", "sections.text", "next_steps", "content"];
|
|
1375
|
+
var DETAILS_UNTRUSTED = [
|
|
1376
|
+
"series_title",
|
|
1377
|
+
"participants.name",
|
|
1378
|
+
"participants.email",
|
|
1379
|
+
"participants.person.name",
|
|
1380
|
+
"chat.sender",
|
|
1381
|
+
"chat.recipient",
|
|
1382
|
+
"chat.text",
|
|
1383
|
+
"attachments.name",
|
|
1384
|
+
"documents.title"
|
|
1385
|
+
];
|
|
1386
|
+
var PARTICIPANT_UNTRUSTED = ["display_name", "email", "person.name"];
|
|
1345
1387
|
var meetingRef = /* @__PURE__ */ __name((accountId, meetingId) => formatMeetingReference({ type: "meeting", accountId, meetingId }), "meetingRef");
|
|
1346
1388
|
var meetingTranscriptItem = /* @__PURE__ */ __name((accountId, transcript, rows) => ({
|
|
1347
1389
|
ref: formatMeetingReference({
|
|
@@ -1361,7 +1403,8 @@ var meetingTranscriptItem = /* @__PURE__ */ __name((accountId, transcript, rows)
|
|
|
1361
1403
|
end_ms: row.endMs,
|
|
1362
1404
|
speaker: row.speakerName,
|
|
1363
1405
|
text: row.text
|
|
1364
|
-
}))
|
|
1406
|
+
})),
|
|
1407
|
+
untrusted: [...TRANSCRIPT_UNTRUSTED]
|
|
1365
1408
|
}), "meetingTranscriptItem");
|
|
1366
1409
|
var meetingSummaryItem = /* @__PURE__ */ __name((accountId, summary) => ({
|
|
1367
1410
|
id: String(summary.id),
|
|
@@ -1374,12 +1417,15 @@ var meetingSummaryItem = /* @__PURE__ */ __name((accountId, summary) => ({
|
|
|
1374
1417
|
content: summary.content,
|
|
1375
1418
|
url: summary.docUrl,
|
|
1376
1419
|
created_at: new Date(summary.externalCreatedAt ?? summary.createdAt).toISOString(),
|
|
1377
|
-
updated_at: new Date(summary.externalUpdatedAt ?? summary.updatedAt).toISOString()
|
|
1420
|
+
updated_at: new Date(summary.externalUpdatedAt ?? summary.updatedAt).toISOString(),
|
|
1421
|
+
untrusted: [...SUMMARY_UNTRUSTED]
|
|
1378
1422
|
}), "meetingSummaryItem");
|
|
1379
1423
|
var meetingDetailsItem = /* @__PURE__ */ __name((details, owner) => {
|
|
1380
1424
|
const { accountId } = details.meeting;
|
|
1425
|
+
const item = meetingItem(details.meeting, owner);
|
|
1381
1426
|
return {
|
|
1382
|
-
...
|
|
1427
|
+
...item,
|
|
1428
|
+
untrusted: [...item.untrusted ?? [], ...DETAILS_UNTRUSTED],
|
|
1383
1429
|
event_id: details.meeting.eventId === null ? null : String(details.meeting.eventId),
|
|
1384
1430
|
series_id: details.meeting.meetingSeriesId === null ? null : String(details.meeting.meetingSeriesId),
|
|
1385
1431
|
series_title: details.series?.title ?? null,
|
|
@@ -1416,7 +1462,8 @@ var meetingDetailsItem = /* @__PURE__ */ __name((details, owner) => {
|
|
|
1416
1462
|
name: one.name ?? one.title,
|
|
1417
1463
|
mime: one.mime,
|
|
1418
1464
|
size: one.size,
|
|
1419
|
-
url: one.url
|
|
1465
|
+
url: one.url,
|
|
1466
|
+
local_path: one.localPath
|
|
1420
1467
|
})),
|
|
1421
1468
|
documents: (details.documents ?? []).map((one) => ({
|
|
1422
1469
|
file_id: one.fileId,
|
|
@@ -1497,7 +1544,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
1497
1544
|
};
|
|
1498
1545
|
}, "meetingHitsList");
|
|
1499
1546
|
|
|
1500
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1547
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
1501
1548
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
1502
1549
|
const parsed = urlOf(url);
|
|
1503
1550
|
if (!parsed)
|
|
@@ -1531,7 +1578,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
1531
1578
|
}
|
|
1532
1579
|
}, "urlOf");
|
|
1533
1580
|
|
|
1534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1581
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
1535
1582
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
1536
1583
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
1537
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");
|
|
@@ -1568,11 +1615,11 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
1568
1615
|
return kept;
|
|
1569
1616
|
}, "entryMetadata");
|
|
1570
1617
|
|
|
1571
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1618
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/calls.js
|
|
1572
1619
|
var CALL_DIRECTIONS = ["incoming", "outgoing", "internal"];
|
|
1573
1620
|
var CALL_OUTCOMES = ["answered", "voicemail", "busy", "no_answer", "failed"];
|
|
1574
1621
|
|
|
1575
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1622
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/call-answers.js
|
|
1576
1623
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
1577
1624
|
var ms = count3;
|
|
1578
1625
|
var id = pipe(number(), integer(), minValue(1));
|
|
@@ -1655,7 +1702,7 @@ var callStatsSchema = strictObject({
|
|
|
1655
1702
|
});
|
|
1656
1703
|
var callStats = callStatsSchema;
|
|
1657
1704
|
|
|
1658
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1705
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
1659
1706
|
var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
|
|
1660
1707
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
1661
1708
|
const zone = timeZone ?? "UTC";
|
|
@@ -1790,10 +1837,10 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
1790
1837
|
};
|
|
1791
1838
|
}, "aggregateMeetingStats");
|
|
1792
1839
|
|
|
1793
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1840
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/call-stats.js
|
|
1794
1841
|
var CALLBACK_WITHIN_MS = 24 * 60 * 60 * 1e3;
|
|
1795
1842
|
|
|
1796
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1843
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
1797
1844
|
import { createHash } from "node:crypto";
|
|
1798
1845
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
1799
1846
|
reference: cue2.reference,
|
|
@@ -1807,7 +1854,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
1807
1854
|
text: cue2.text
|
|
1808
1855
|
})).digest("hex"), "meetingCueFingerprint");
|
|
1809
1856
|
|
|
1810
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1857
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
1811
1858
|
var EVENT_QUERY = defineQuery({
|
|
1812
1859
|
entity: "event",
|
|
1813
1860
|
backend: "sql",
|
|
@@ -1823,7 +1870,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
1823
1870
|
]
|
|
1824
1871
|
});
|
|
1825
1872
|
|
|
1826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1873
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
1827
1874
|
var PARTICIPANT_RESPONSES = ["needs-action", "accepted", "tentative", "declined", "delegated"];
|
|
1828
1875
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
1829
1876
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
@@ -1847,7 +1894,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
|
|
|
1847
1894
|
return Math.max(entry.endsAt ?? start, start + 1) > window.from;
|
|
1848
1895
|
}, "entryInWindow");
|
|
1849
1896
|
|
|
1850
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1897
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
1851
1898
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now(), { create = true } = {}) => {
|
|
1852
1899
|
const current = await store.meeting(details.meeting.id);
|
|
1853
1900
|
if (!current)
|
|
@@ -1892,7 +1939,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now(),
|
|
|
1892
1939
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
1893
1940
|
}, "linkEvent");
|
|
1894
1941
|
|
|
1895
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1942
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
1896
1943
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text6) => text6.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
1897
1944
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
1898
1945
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -1916,7 +1963,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
1916
1963
|
};
|
|
1917
1964
|
}, "validateMeetingParticipantSearch");
|
|
1918
1965
|
|
|
1919
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1966
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
1920
1967
|
var MeetingError = class extends CliError {
|
|
1921
1968
|
static {
|
|
1922
1969
|
__name(this, "MeetingError");
|
|
@@ -1968,6 +2015,7 @@ var meetingPeople = /* @__PURE__ */ __name(async (store, query, accountId, optio
|
|
|
1968
2015
|
});
|
|
1969
2016
|
return {
|
|
1970
2017
|
...packet,
|
|
2018
|
+
items: packet.items.map((one) => ({ ...one, untrusted: [...PARTICIPANT_UNTRUSTED] })),
|
|
1971
2019
|
page: { mode: "cursor", limit, has_more, ...next_cursor ? { next_cursor } : {} },
|
|
1972
2020
|
...next_cursor ? {
|
|
1973
2021
|
next: [
|
|
@@ -1988,7 +2036,14 @@ var meetingPeople = /* @__PURE__ */ __name(async (store, query, accountId, optio
|
|
|
1988
2036
|
}
|
|
1989
2037
|
if (Object.values(options).some((value) => value !== void 0))
|
|
1990
2038
|
throw new MeetingError("configuration_error", "bounded participant lookup needs a selected account and capable store");
|
|
1991
|
-
return listed(await store.participants(query, accountId))
|
|
2039
|
+
return listed((await store.participants(query, accountId)).map((one) => ({
|
|
2040
|
+
participant_id: one.id,
|
|
2041
|
+
meeting_id: one.meetingId,
|
|
2042
|
+
identity_id: one.identityId,
|
|
2043
|
+
display_name: one.displayName,
|
|
2044
|
+
email: one.email,
|
|
2045
|
+
untrusted: [...PARTICIPANT_UNTRUSTED]
|
|
2046
|
+
})));
|
|
1992
2047
|
}, "meetingPeople");
|
|
1993
2048
|
var PAGE_NEXT2 = STEPS.find((step) => step.id === "page.next");
|
|
1994
2049
|
var meetingsList = /* @__PURE__ */ __name(async (store, filter = {}) => {
|
|
@@ -2047,7 +2102,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id4, accountId)
|
|
|
2047
2102
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
2048
2103
|
}, "meetingSummaryAnswer");
|
|
2049
2104
|
|
|
2050
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2105
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
2051
2106
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
2052
2107
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
2053
2108
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -2139,14 +2194,15 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id4, options) => {
|
|
|
2139
2194
|
meetingId: details.meeting.id,
|
|
2140
2195
|
format: options.format,
|
|
2141
2196
|
filename: `meeting-${details.meeting.id}${options.transcriptId === void 0 ? "" : `-transcript-${options.transcriptId}`}.${options.format === "markdown" ? "md" : "vtt"}`,
|
|
2142
|
-
content
|
|
2197
|
+
content,
|
|
2198
|
+
untrusted: ["content"]
|
|
2143
2199
|
};
|
|
2144
2200
|
}, "exportMeeting");
|
|
2145
2201
|
|
|
2146
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
2147
2203
|
import { createHash as createHash2 } from "node:crypto";
|
|
2148
2204
|
|
|
2149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2205
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
2150
2206
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
2151
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)))
|
|
2152
2208
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone, such as 2026-11-09T09:00:00Z`);
|
|
@@ -2157,7 +2213,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
2157
2213
|
return new Date(value).toISOString();
|
|
2158
2214
|
}, "meetingTimestamp");
|
|
2159
2215
|
|
|
2160
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2216
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
2161
2217
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
2162
2218
|
var invalid3 = /* @__PURE__ */ __name((message) => {
|
|
2163
2219
|
throw new CliError("validation_error", message);
|
|
@@ -2332,7 +2388,7 @@ var validateBatch = /* @__PURE__ */ __name((input, rules, most, one) => {
|
|
|
2332
2388
|
var validateFindings = /* @__PURE__ */ __name((input, rules) => validateBatch(input, rules, 16, (finding, ids2) => validateFinding(finding, rules, ids2)), "validateFindings");
|
|
2333
2389
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
2334
2390
|
|
|
2335
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2391
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
2336
2392
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
2337
2393
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
2338
2394
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -2343,7 +2399,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
2343
2399
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
2344
2400
|
var meetingFindingFingerprint = findingFingerprint;
|
|
2345
2401
|
|
|
2346
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/language.js
|
|
2347
2403
|
var LATIN_WORDS = {
|
|
2348
2404
|
en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
|
|
2349
2405
|
es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
|
|
@@ -2392,7 +2448,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
|
|
|
2392
2448
|
return null;
|
|
2393
2449
|
}, "transcriptLanguage");
|
|
2394
2450
|
|
|
2395
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2451
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
2396
2452
|
var contentHash = /* @__PURE__ */ __name(async (text6) => {
|
|
2397
2453
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text6));
|
|
2398
2454
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -2429,7 +2485,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
2429
2485
|
return time;
|
|
2430
2486
|
}, "timestamp");
|
|
2431
2487
|
|
|
2432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2488
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
2433
2489
|
var TranscriptTextError = class extends Error {
|
|
2434
2490
|
static {
|
|
2435
2491
|
__name(this, "TranscriptTextError");
|
|
@@ -2484,7 +2540,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
2484
2540
|
return { header, lines };
|
|
2485
2541
|
}, "parseTranscriptText");
|
|
2486
2542
|
|
|
2487
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2543
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
2488
2544
|
var VttError = class extends Error {
|
|
2489
2545
|
static {
|
|
2490
2546
|
__name(this, "VttError");
|
|
@@ -2536,7 +2592,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
2536
2592
|
return cues;
|
|
2537
2593
|
}, "parseVtt");
|
|
2538
2594
|
|
|
2539
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2595
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
2540
2596
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
2541
2597
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
2542
2598
|
for (const file of files) {
|
|
@@ -2569,23 +2625,44 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
2569
2625
|
return report;
|
|
2570
2626
|
}, "importFiles");
|
|
2571
2627
|
|
|
2572
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2628
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
2573
2629
|
var CHAT_MESSAGES_READ = 1e5;
|
|
2574
2630
|
|
|
2575
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2631
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
2632
|
+
var MEETING_FIELD_KEYS = Object.freeze({
|
|
2633
|
+
title: "title",
|
|
2634
|
+
kind: "kind",
|
|
2635
|
+
startTime: "start_time",
|
|
2636
|
+
durationMinutes: "duration_minutes",
|
|
2637
|
+
timezone: "timezone",
|
|
2638
|
+
agenda: "agenda"
|
|
2639
|
+
});
|
|
2640
|
+
var MEETING_FIELDS2 = Object.freeze(Object.keys(MEETING_FIELD_KEYS));
|
|
2641
|
+
var meetingFieldFlag = /* @__PURE__ */ __name((field) => `--${MEETING_FIELD_KEYS[field].replaceAll("_", "-")}`, "meetingFieldFlag");
|
|
2642
|
+
var SNAKE_CASE2 = /^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$/;
|
|
2643
|
+
|
|
2644
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
2576
2645
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
2577
2646
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
2578
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)))
|
|
2579
2648
|
throw new CliError("validation_error", "context takes 0\u2013999 surrounding cues, 2\u20134194304 output bytes and a bounded read budget");
|
|
2580
2649
|
return { before, after, bytes, max_read_bytes };
|
|
2581
2650
|
}, "meetingHitContextLimits");
|
|
2651
|
+
var MEETING_CUE_UNTRUSTED = ["speaker_name", "text"];
|
|
2652
|
+
var markedPassage = /* @__PURE__ */ __name((result) => ({
|
|
2653
|
+
...result,
|
|
2654
|
+
packet: {
|
|
2655
|
+
...result.packet,
|
|
2656
|
+
items: result.packet.items.map((cue2) => ({ ...cue2, untrusted: [...MEETING_CUE_UNTRUSTED] }))
|
|
2657
|
+
}
|
|
2658
|
+
}), "markedPassage");
|
|
2582
2659
|
var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
2583
2660
|
meetingHitContextLimits(options);
|
|
2584
2661
|
if (typeof reference2 !== "string" || !reference2.trim() || reference2.length > 200 || options.format !== void 0 && !["json", "text", "markdown"].includes(options.format))
|
|
2585
2662
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
2586
2663
|
}, "validateMeetingPassage");
|
|
2587
2664
|
|
|
2588
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2665
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
2589
2666
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
2590
2667
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2591
2668
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -2610,7 +2687,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
2610
2687
|
return { ...input, limit, maxReadBytes };
|
|
2611
2688
|
}, "validateMeetingPreparationContext");
|
|
2612
2689
|
|
|
2613
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2690
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
2614
2691
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2615
2692
|
var id2 = pipe(string(), minLength(1));
|
|
2616
2693
|
var meetingProjectEvidence = strictObject({
|
|
@@ -2731,7 +2808,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
2731
2808
|
};
|
|
2732
2809
|
}, "meetingProjectEvidenceAnswer");
|
|
2733
2810
|
|
|
2734
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2811
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
2735
2812
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
2736
2813
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
2737
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) || [
|
|
@@ -2751,7 +2828,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
2751
2828
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
2752
2829
|
}, "validateMeetingHitSearch");
|
|
2753
2830
|
|
|
2754
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2831
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
2755
2832
|
var ids = {
|
|
2756
2833
|
meeting_id: "meetingId",
|
|
2757
2834
|
identity_id: "participantIdentityId",
|
|
@@ -2842,7 +2919,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
|
|
|
2842
2919
|
return { project: project.trim(), options, query: frozen.join(" AND ") };
|
|
2843
2920
|
}, "prepareMeetingProjectEvidence");
|
|
2844
2921
|
|
|
2845
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2922
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
2846
2923
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
|
|
2847
2924
|
const prepared = prepareMeetingProjectEvidence(project, request, now);
|
|
2848
2925
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -2850,7 +2927,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
|
|
|
2850
2927
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
2851
2928
|
}, "readMeetingProjectEvidence");
|
|
2852
2929
|
|
|
2853
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2930
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
2854
2931
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
2855
2932
|
const { identityExternalId, phone, ...fields } = p;
|
|
2856
2933
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -2889,6 +2966,7 @@ var sourceMeetingInput = /* @__PURE__ */ __name((m, accountId, participantsCount
|
|
|
2889
2966
|
timezone: m.timezone ?? kept?.timezone ?? null,
|
|
2890
2967
|
hostIdentityId: kept?.hostIdentityId ?? null,
|
|
2891
2968
|
...count7 === void 0 ? {} : { participantsCount: count7 },
|
|
2969
|
+
...m.call ? { direction: m.call.direction ?? null, clientPhone: m.call.clientPhone ?? null } : {},
|
|
2892
2970
|
metadata,
|
|
2893
2971
|
deletedAt: null
|
|
2894
2972
|
};
|
|
@@ -3050,7 +3128,7 @@ var pull = /* @__PURE__ */ __name(async (source, store, options) => {
|
|
|
3050
3128
|
return report;
|
|
3051
3129
|
}, "pull");
|
|
3052
3130
|
|
|
3053
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3131
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
3054
3132
|
var text3 = string();
|
|
3055
3133
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
3056
3134
|
var id3 = pipe(number(), integer(), minValue(1));
|
|
@@ -3139,7 +3217,8 @@ var meetingParticipants = strictObject({
|
|
|
3139
3217
|
identity_id: id3,
|
|
3140
3218
|
display_name: nullable(text3),
|
|
3141
3219
|
email: nullable(text3),
|
|
3142
|
-
person: nullable(strictObject({ ref: text3, name: nullable(text3) }))
|
|
3220
|
+
person: nullable(strictObject({ ref: text3, name: nullable(text3) })),
|
|
3221
|
+
untrusted: optional(array(text3))
|
|
3143
3222
|
})),
|
|
3144
3223
|
/** Several identities on one page are observations, never speaker attribution or person links. */
|
|
3145
3224
|
ambiguity: strictObject({ scope: literal("page"), multiple_identities: boolean(), identity_ids: array(id3) }),
|
|
@@ -3191,7 +3270,9 @@ var meetingPassage = strictObject({
|
|
|
3191
3270
|
speaker_participant_id: nullable(id3),
|
|
3192
3271
|
speaker_name: nullable(text3),
|
|
3193
3272
|
text: text3,
|
|
3194
|
-
revision
|
|
3273
|
+
revision,
|
|
3274
|
+
/** What people said: `speaker_name` and `text`. */
|
|
3275
|
+
untrusted: optional(array(text3))
|
|
3195
3276
|
}))
|
|
3196
3277
|
});
|
|
3197
3278
|
var event = strictObject({
|
|
@@ -3245,13 +3326,14 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
3245
3326
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
3246
3327
|
}), "eventItem");
|
|
3247
3328
|
|
|
3248
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3329
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/read-through.js
|
|
3249
3330
|
var MEETING_SERVER_BOUNDS = { calls: 3, pages: 2 };
|
|
3250
3331
|
var ISSUES = {
|
|
3251
3332
|
offline: ["permission_error", "meetings.server-offline"],
|
|
3252
3333
|
unreachable: ["network_error", "meetings.server-unreachable"],
|
|
3253
3334
|
not_signed_in: ["authentication_error", "meetings.server-signed-out"],
|
|
3254
3335
|
refused: ["permission_error", "meetings.server-refused"],
|
|
3336
|
+
rate_limited: ["rate_limited", "meetings.server-rate-limited"],
|
|
3255
3337
|
failed: ["provider_error", "meetings.server-failed"]
|
|
3256
3338
|
};
|
|
3257
3339
|
var metaOf = /* @__PURE__ */ __name((reason, provider) => {
|
|
@@ -3264,6 +3346,7 @@ var WHY = {
|
|
|
3264
3346
|
unreachable: /* @__PURE__ */ __name((provider) => `${provider} could not be reached \u2014 the answer is the store's`, "unreachable"),
|
|
3265
3347
|
not_signed_in: /* @__PURE__ */ __name((provider) => `not signed in to ${provider} \u2014 the answer is the store's`, "not_signed_in"),
|
|
3266
3348
|
refused: /* @__PURE__ */ __name((provider) => `${provider} refused the request \u2014 the answer is the store's`, "refused"),
|
|
3349
|
+
rate_limited: /* @__PURE__ */ __name((provider) => `${provider} asked to wait before more requests \u2014 the answer is the store's`, "rate_limited"),
|
|
3267
3350
|
failed: /* @__PURE__ */ __name((provider) => `${provider} could not be read \u2014 the answer is the store's`, "failed"),
|
|
3268
3351
|
no_upcoming: /* @__PURE__ */ __name((provider) => `${provider} lists no meeting before it starts \u2014 upcoming ones are not in the answer`, "no_upcoming")
|
|
3269
3352
|
};
|
|
@@ -3275,6 +3358,8 @@ var reasonOf = /* @__PURE__ */ __name((error) => {
|
|
|
3275
3358
|
return "refused";
|
|
3276
3359
|
if (code === "network_error")
|
|
3277
3360
|
return "unreachable";
|
|
3361
|
+
if (code === "rate_limited")
|
|
3362
|
+
return "rate_limited";
|
|
3278
3363
|
return "failed";
|
|
3279
3364
|
}, "reasonOf");
|
|
3280
3365
|
var refusal = /* @__PURE__ */ __name((reason, provider, error) => error ?? new CliError("validation_error", `--backend server: ${WHY[reason](provider).replace(/ — .*$/, "")}; use --backend archive or both`, { reason }), "refusal");
|
|
@@ -3533,10 +3618,10 @@ var meetingShowThrough = /* @__PURE__ */ __name(async (source, store, accountId,
|
|
|
3533
3618
|
return { details: fresh, foundIn: step.found.get(details.meeting.id) ?? "server", server: step.report };
|
|
3534
3619
|
}, "meetingShowThrough");
|
|
3535
3620
|
|
|
3536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3621
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
3537
3622
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
3538
3623
|
|
|
3539
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3624
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
3540
3625
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
3541
3626
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
3542
3627
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -3566,7 +3651,7 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
3566
3651
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
3567
3652
|
}, "validateMeetingRelatedHistory");
|
|
3568
3653
|
|
|
3569
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3654
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
3570
3655
|
var text4 = string();
|
|
3571
3656
|
var identifier = pipe(text4, minLength(1));
|
|
3572
3657
|
var nullableText = nullable(text4);
|
|
@@ -3582,7 +3667,13 @@ var run = strictObject({
|
|
|
3582
3667
|
timezone: optional(text4)
|
|
3583
3668
|
});
|
|
3584
3669
|
var exported = union([
|
|
3585
|
-
strictObject({
|
|
3670
|
+
strictObject({
|
|
3671
|
+
meeting_id: identifier,
|
|
3672
|
+
format: picklist(["markdown", "vtt"]),
|
|
3673
|
+
filename: text4,
|
|
3674
|
+
content: text4,
|
|
3675
|
+
untrusted: optional(array(text4))
|
|
3676
|
+
}),
|
|
3586
3677
|
strictObject({ meeting_id: identifier, format: picklist(["markdown", "vtt"]), output: text4 })
|
|
3587
3678
|
]);
|
|
3588
3679
|
var eventChange = strictObject({
|
|
@@ -3704,7 +3795,8 @@ var managedChange = strictObject({
|
|
|
3704
3795
|
start_time: optional(text4),
|
|
3705
3796
|
duration_minutes: optional(count6),
|
|
3706
3797
|
timezone: optional(text4),
|
|
3707
|
-
agenda: optional(text4)
|
|
3798
|
+
agenda: optional(text4),
|
|
3799
|
+
settings: optional(record(text4, union([text4, flag])))
|
|
3708
3800
|
})),
|
|
3709
3801
|
applied: flag,
|
|
3710
3802
|
meeting: optional(strictObject({
|
|
@@ -3716,7 +3808,8 @@ var managedChange = strictObject({
|
|
|
3716
3808
|
timezone: nullableText,
|
|
3717
3809
|
agenda: nullableText,
|
|
3718
3810
|
join_url: nullableText
|
|
3719
|
-
}))
|
|
3811
|
+
})),
|
|
3812
|
+
untrusted: optional(array(text4))
|
|
3720
3813
|
});
|
|
3721
3814
|
var invitation = strictObject({ id: identifier, invitation: text4, untrusted: optional(array(text4)) });
|
|
3722
3815
|
var MEETING_RESULT_ENTITIES = {
|
|
@@ -3730,14 +3823,14 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
3730
3823
|
meeting_repair: repair
|
|
3731
3824
|
};
|
|
3732
3825
|
|
|
3733
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
3734
3827
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
3735
3828
|
|
|
3736
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3829
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
3737
3830
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
3738
3831
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
3739
3832
|
|
|
3740
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3833
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
3741
3834
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
3742
3835
|
input.signal?.throwIfAborted();
|
|
3743
3836
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -3758,10 +3851,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
3758
3851
|
return { ...input, limit, maxReadBytes };
|
|
3759
3852
|
}, "validateMeetingSeriesHistory");
|
|
3760
3853
|
|
|
3761
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3854
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
3762
3855
|
var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
|
|
3763
3856
|
|
|
3764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3857
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
3765
3858
|
function invalid4(field, response = false) {
|
|
3766
3859
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
3767
3860
|
}
|
|
@@ -3790,7 +3883,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
3790
3883
|
cursorDetails(value);
|
|
3791
3884
|
}, "validateMeetingSeriesInventoryCursor");
|
|
3792
3885
|
|
|
3793
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3886
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/meetings/tag-answers.js
|
|
3794
3887
|
var text5 = string();
|
|
3795
3888
|
var storeId = pipe(number(), integer(), minValue(1));
|
|
3796
3889
|
var meetingTagChange = strictObject({
|
|
@@ -3838,12 +3931,16 @@ export {
|
|
|
3838
3931
|
rangeOf,
|
|
3839
3932
|
windowOf,
|
|
3840
3933
|
readsZone,
|
|
3934
|
+
MEETING_CALL_DIRECTIONS,
|
|
3841
3935
|
formatMeetingReference,
|
|
3842
3936
|
parseMeetingReference,
|
|
3843
3937
|
canonicalMeetingReference,
|
|
3938
|
+
meetingCall,
|
|
3939
|
+
meetingCallItem,
|
|
3844
3940
|
meeting,
|
|
3845
3941
|
MEETING_QUERY,
|
|
3846
3942
|
MEETING_DOCUMENT_ROLES,
|
|
3943
|
+
TRANSCRIPT_WORDS,
|
|
3847
3944
|
READ_BUDGET_EXCEEDED,
|
|
3848
3945
|
meetingHit,
|
|
3849
3946
|
meetingTranscript,
|
|
@@ -3897,6 +3994,11 @@ export {
|
|
|
3897
3994
|
transcriptLanguage,
|
|
3898
3995
|
importFiles,
|
|
3899
3996
|
CHAT_MESSAGES_READ,
|
|
3997
|
+
MEETING_FIELD_KEYS,
|
|
3998
|
+
MEETING_FIELDS2 as MEETING_FIELDS,
|
|
3999
|
+
meetingFieldFlag,
|
|
4000
|
+
SNAKE_CASE2 as SNAKE_CASE,
|
|
4001
|
+
markedPassage,
|
|
3900
4002
|
validateMeetingPassage,
|
|
3901
4003
|
validateMeetingPreparationContext,
|
|
3902
4004
|
meetingProjectEvidence,
|