@wirecat/tg-cli 0.112.0 → 0.113.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-ILDV2YSZ.js → adapter-EQKEFGPB.js} +45 -45
- package/dist/bundle/{all-profiles-4SH2Q4WV.js → all-profiles-TTBFF663.js} +8 -8
- package/dist/bundle/{anthropic-64SM23YO.js → anthropic-XPZS7267.js} +5 -5
- package/dist/bundle/{app-server-SSYZWCDJ.js → app-server-ZSZ7KRAY.js} +42 -42
- package/dist/bundle/{bot-api-OHAGQMES.js → bot-api-X7BOVNIO.js} +46 -46
- package/dist/bundle/{bot-history-AUFO7UL2.js → bot-history-DWIUIPN5.js} +15 -15
- package/dist/bundle/{bun-AHZX63TR.js → bun-ZGZVAJU2.js} +2 -2
- package/dist/bundle/{bun-sqlite-KBIIODPV.js → bun-sqlite-UN2UJ6SI.js} +4 -4
- package/dist/bundle/{chunk-DFUTZGEV.js → chunk-3MAYYFKY.js} +1 -1
- package/dist/bundle/{chunk-B3Y2KZRS.js → chunk-452UZ2PU.js} +110 -95
- package/dist/bundle/{chunk-SC2DUQAK.js → chunk-4GLMEES6.js} +1 -1
- package/dist/bundle/{chunk-BTAET4U3.js → chunk-4SQB5VKL.js} +1 -1
- package/dist/bundle/{chunk-GM44UNGL.js → chunk-5NF7M4MN.js} +1 -1
- package/dist/bundle/{chunk-JXTYTAWE.js → chunk-6F6K3LWV.js} +11 -11
- package/dist/bundle/{chunk-XSYJKEA5.js → chunk-6OKGHHRL.js} +4 -4
- package/dist/bundle/{chunk-DNYGJAEP.js → chunk-6WJ5M2Q4.js} +4 -4
- package/dist/bundle/{chunk-NQKPXVLX.js → chunk-7IWDS2CM.js} +2 -2
- package/dist/bundle/{chunk-3AJO4GER.js → chunk-AGUCXSSM.js} +5 -5
- package/dist/bundle/{chunk-E4EJ2UTT.js → chunk-AVUIWZTP.js} +2 -2
- package/dist/bundle/{chunk-JIGYVVWA.js → chunk-BI5YJZJB.js} +31 -27
- package/dist/bundle/{chunk-MCXVGHL6.js → chunk-EGR5IJCG.js} +32 -25
- package/dist/bundle/{chunk-K7VOCHVS.js → chunk-ENXO43TV.js} +6 -6
- package/dist/bundle/{chunk-D5JP2YWG.js → chunk-G74QMORP.js} +2 -2
- package/dist/bundle/{chunk-4JXZKMXV.js → chunk-GX4LRLVD.js} +68 -59
- package/dist/bundle/{chunk-EO7PQE3J.js → chunk-HNN7EKIM.js} +90 -73
- package/dist/bundle/{chunk-UXCWUEN7.js → chunk-HO53POQG.js} +5 -5
- package/dist/bundle/{chunk-2IGZLBTE.js → chunk-IDUYRTPF.js} +2 -2
- package/dist/bundle/{chunk-JPRYFDOJ.js → chunk-IYKRHDX6.js} +44 -44
- package/dist/bundle/{chunk-BIERCQVG.js → chunk-J6USEBA6.js} +313 -258
- package/dist/bundle/{chunk-KYYAHIG2.js → chunk-JDQSX2JQ.js} +416 -337
- package/dist/bundle/{chunk-EPAOLRUL.js → chunk-JO45BOYE.js} +2 -2
- package/dist/bundle/{chunk-SFJFBIYP.js → chunk-JRTZ5I6M.js} +2 -2
- package/dist/bundle/{chunk-6KGENDPF.js → chunk-JW7BMJ6O.js} +2 -2
- package/dist/bundle/{chunk-5BNYW5RA.js → chunk-K3F46QVN.js} +2 -2
- package/dist/bundle/{chunk-JYOQMYNJ.js → chunk-KK3JVOOV.js} +30 -30
- package/dist/bundle/{chunk-GW7JRFTF.js → chunk-KOWQVHXI.js} +3 -3
- package/dist/bundle/{chunk-KLNQXUDX.js → chunk-KQ23JWLJ.js} +20 -18
- package/dist/bundle/{chunk-UVRD447S.js → chunk-KVLCIZUK.js} +3 -3
- package/dist/bundle/{chunk-UQOSZ2XX.js → chunk-MTX5EDYJ.js} +636 -473
- package/dist/bundle/{chunk-RANORATG.js → chunk-OC4RRFKH.js} +4 -4
- package/dist/bundle/{chunk-3GL4AOOG.js → chunk-OQR442B6.js} +1 -1
- package/dist/bundle/{chunk-3W7BU2BL.js → chunk-OSBAISA5.js} +6 -6
- package/dist/bundle/{chunk-COTC7HF3.js → chunk-OYNSFQ7K.js} +1 -1
- package/dist/bundle/{chunk-QL4WBCL5.js → chunk-PCRLXJRH.js} +11 -7
- package/dist/bundle/{chunk-PXUHQO66.js → chunk-PHPNA2HU.js} +11 -11
- package/dist/bundle/{chunk-RHYMEHYK.js → chunk-PHYDBR5M.js} +2 -2
- package/dist/bundle/{chunk-NKACHGB2.js → chunk-Q264PYGE.js} +40 -14
- package/dist/bundle/{chunk-ICEJKOKO.js → chunk-T4TTRFP5.js} +7 -7
- package/dist/bundle/{chunk-JLB5LEXJ.js → chunk-T5RM4Y35.js} +3 -3
- package/dist/bundle/{chunk-TOBJGMMA.js → chunk-TQ6EA7TB.js} +11 -11
- package/dist/bundle/{chunk-RPNRCFEE.js → chunk-TUD4MU7S.js} +2 -2
- package/dist/bundle/{chunk-TUJEJ4D5.js → chunk-U3MJQLZQ.js} +13 -13
- package/dist/bundle/{chunk-4IDJ7QCG.js → chunk-UE75KPAC.js} +4 -4
- package/dist/bundle/{chunk-7MFJFVUN.js → chunk-UIVLDKWT.js} +1 -1
- package/dist/bundle/{chunk-WI2S6INJ.js → chunk-VDATXIO4.js} +6 -6
- package/dist/bundle/{chunk-WWKXTKCE.js → chunk-VDEXNNMH.js} +4 -4
- package/dist/bundle/{chunk-5W72OARG.js → chunk-VVA4555T.js} +8 -8
- package/dist/bundle/{chunk-QMJGHSGN.js → chunk-WSAHUQ6K.js} +3 -3
- package/dist/bundle/{chunk-KGYPSBTI.js → chunk-XXNJF3ZM.js} +32 -26
- package/dist/bundle/{chunk-GSGS62LX.js → chunk-XZ2ZHIAO.js} +1 -1
- package/dist/bundle/{chunk-RC7EBLHM.js → chunk-Z6TRIW2O.js} +8 -8
- package/dist/bundle/{chunk-PDVSMGWO.js → chunk-ZID2Y4XU.js} +2 -2
- package/dist/bundle/command-contract-GV67H22L.js +32 -0
- package/dist/bundle/{decode-FR3QHHJI.js → decode-AMQVTEMW.js} +4 -4
- package/dist/bundle/{echarts-VTV4C2OS.js → echarts-ECYONFQJ.js} +2 -2
- package/dist/bundle/{embed-US7X5P5D.js → embed-VZYBZEWI.js} +5 -5
- package/dist/bundle/{embedder-63Z7ZBYG.js → embedder-GSWBGHRK.js} +8 -8
- package/dist/bundle/{entry-B4J7IAG3.js → entry-LALZILY4.js} +5 -5
- package/dist/bundle/{first-run-MXPPUGII.js → first-run-LEAI623Q.js} +9 -9
- package/dist/bundle/first-screen-MOCVLE23.js +30 -0
- package/dist/bundle/{identity-AQWKU7SM.js → identity-54HA5GN6.js} +3 -3
- package/dist/bundle/{instructions-GBR6DJTK.js → instructions-AXLQQS3G.js} +1 -1
- package/dist/bundle/{mcp-YJEQYYTR.js → mcp-VVMPUDSL.js} +2 -2
- package/dist/bundle/{node-QXGPMDH2.js → node-7JHC5K77.js} +2 -2
- package/dist/bundle/{node-sqlite-L6CAMXQ2.js → node-sqlite-LYJEK46T.js} +4 -4
- package/dist/bundle/{oauth-5RK6J4SG.js → oauth-BROPKI3K.js} +6 -6
- package/dist/bundle/{open-A3IAG7U6.js → open-C6XQ46JK.js} +3 -3
- package/dist/bundle/{openai-YKNGCHVV.js → openai-VWSU7ZDD.js} +13 -13
- package/dist/bundle/{process-CGLNXFIU.js → process-QKEFL5HL.js} +1 -1
- package/dist/bundle/{program-AEDR6R5P.js → program-ACY7O33O.js} +48 -48
- package/dist/bundle/{prompt-65CSCL2T.js → prompt-EGULVW2F.js} +4 -4
- package/dist/bundle/{proxy-transport-U3QOYMQF.js → proxy-transport-KIMADLQ2.js} +4 -4
- package/dist/bundle/{recognize-ECRO6CFK.js → recognize-UMTKLWVR.js} +3 -3
- package/dist/bundle/{remote-6IEFZFGO.js → remote-DABI7PSQ.js} +6 -6
- package/dist/bundle/{rerank-23GXWT2V.js → rerank-ZFATWWBE.js} +6 -6
- package/dist/bundle/{serve-S65YTPZN.js → serve-B7YYCMGN.js} +8 -8
- package/dist/bundle/{server-MVTBK7GV.js → server-DGKZISZH.js} +32 -32
- package/dist/bundle/server-UC7UWUIS.js +56 -0
- package/dist/bundle/{state-TH3UVQAW.js → state-AQ2PABA5.js} +5 -5
- package/dist/bundle/{store-2WFTUSNG.js → store-46GJTFLJ.js} +10 -10
- package/dist/bundle/store-maintenance-command-FCFKHGRM.js +45 -0
- package/dist/bundle/tg.js +4 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/command-contract-4KVJJZ46.js +0 -32
- package/dist/bundle/first-screen-GFYHUBBD.js +0 -30
- package/dist/bundle/server-IH24WEAC.js +0 -56
- package/dist/bundle/store-maintenance-command-PUOU2CL6.js +0 -45
- /package/dist/bundle/{chunk-WJWLHLQ7.js → chunk-HPXYN7F3.js} +0 -0
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
singleLine,
|
|
5
5
|
visibleControls
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KQ23JWLJ.js";
|
|
7
7
|
import {
|
|
8
8
|
CliError,
|
|
9
9
|
RegistryError,
|
|
@@ -36,12 +36,12 @@ import {
|
|
|
36
36
|
string,
|
|
37
37
|
union,
|
|
38
38
|
variant
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-PCRLXJRH.js";
|
|
40
40
|
import {
|
|
41
41
|
__name
|
|
42
42
|
} from "./chunk-ZVVMGPBJ.js";
|
|
43
43
|
|
|
44
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
44
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/domain/tags.js
|
|
45
45
|
var TAG_TYPES = ["chat", "contact", "message", "task"];
|
|
46
46
|
var TAG = /^[a-z0-9-]{1,32}$/;
|
|
47
47
|
var tagOf = /* @__PURE__ */ __name((value) => {
|
|
@@ -55,7 +55,7 @@ var normalizeTag = /* @__PURE__ */ __name((value) => {
|
|
|
55
55
|
return tag;
|
|
56
56
|
}, "normalizeTag");
|
|
57
57
|
|
|
58
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
58
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/types.js
|
|
59
59
|
var QUERY_LIMITS = {
|
|
60
60
|
bytes: 8192,
|
|
61
61
|
depth: 32,
|
|
@@ -99,7 +99,7 @@ function queryError(reason, span, alternative, context3 = {}, details = {}) {
|
|
|
99
99
|
__name(queryError, "queryError");
|
|
100
100
|
var walkQuery = /* @__PURE__ */ __name((node) => node.kind === "predicate" ? [node] : node.clauses.flatMap(({ node: node2 }) => walkQuery(node2)), "walkQuery");
|
|
101
101
|
|
|
102
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
102
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/dates.js
|
|
103
103
|
var timezoneOf = /* @__PURE__ */ __name((given) => {
|
|
104
104
|
const zone = given ?? Intl.DateTimeFormat().resolvedOptions().timeZone ?? "UTC";
|
|
105
105
|
try {
|
|
@@ -244,7 +244,7 @@ var dateRange = /* @__PURE__ */ __name((lower, upper, lowerInclusive, upperInclu
|
|
|
244
244
|
};
|
|
245
245
|
}, "dateRange");
|
|
246
246
|
|
|
247
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
247
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/fields.js
|
|
248
248
|
var FIELD_TYPES = ["kw", "txt", "enum", "num", "time", "bool", "ref"];
|
|
249
249
|
var OPERATORS_BY_TYPE = {
|
|
250
250
|
kw: ["term", "phrase", "wildcard"],
|
|
@@ -294,11 +294,13 @@ var queryFieldsOf = /* @__PURE__ */ __name((schema, annotations = {}) => {
|
|
|
294
294
|
const excluded = new Set(annotations.exclude ?? []);
|
|
295
295
|
const words2 = new Set(annotations.text ?? []);
|
|
296
296
|
const native = new Set(annotations.native ?? []);
|
|
297
|
+
const negatable = new Set(annotations.negatable ?? []);
|
|
297
298
|
const finish = /* @__PURE__ */ __name((field) => ({
|
|
298
299
|
...field,
|
|
299
300
|
operators: OPERATORS_BY_TYPE[field.type],
|
|
300
301
|
example: annotations.examples?.[field.name] ?? field.example ?? exampleOf(field.name, field.type, field.values),
|
|
301
302
|
...native.has(field.name) ? { native: true } : {},
|
|
303
|
+
...negatable.has(field.name) ? { negatable: true } : {},
|
|
302
304
|
...annotations.validate?.[field.name] ? { validate: annotations.validate[field.name] } : {}
|
|
303
305
|
}), "finish");
|
|
304
306
|
const own = Object.entries(entries).flatMap(([name, entry]) => {
|
|
@@ -321,7 +323,37 @@ var queryFieldsOf = /* @__PURE__ */ __name((schema, annotations = {}) => {
|
|
|
321
323
|
return [...own, ...relations, ...states];
|
|
322
324
|
}, "queryFieldsOf");
|
|
323
325
|
|
|
324
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
326
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.73.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
|
|
327
|
+
var QUERY_SYNTAX = 'field:value \xB7 "a phrase" \xB7 word* \xB7 AND OR NOT \xB7 ( ) \xB7 [a TO b] \xB7 > >= < <=';
|
|
328
|
+
var shownOf = /* @__PURE__ */ __name((registry) => registry.backend === "native" ? registry.fields.filter((field) => field.native) : registry.fields, "shownOf");
|
|
329
|
+
var leftOut = /* @__PURE__ */ __name((fields2) => fields2.filter((field) => field.negatable).map((field) => field.name), "leftOut");
|
|
330
|
+
var kindOf = /* @__PURE__ */ __name((field) => field.values ? `${field.type}: ${field.values.join("|")}` : `${field.type}: ${field.operators.join(", ")}`, "kindOf");
|
|
331
|
+
var fieldsHelp = /* @__PURE__ */ __name((registry, guide) => {
|
|
332
|
+
const shown = shownOf(registry);
|
|
333
|
+
const negatable = leftOut(shown);
|
|
334
|
+
const rows = shown.map((field) => [field.name, kindOf(field), field.example]);
|
|
335
|
+
const widths = [0, 1].map((at) => Math.max(...rows.map((row) => (row[at] ?? "").length)));
|
|
336
|
+
return [
|
|
337
|
+
"Fields:",
|
|
338
|
+
...rows.map(([name = "", kind = "", example = ""]) => ` ${name.padEnd(widths[0] ?? 0)} ${kind.padEnd(widths[1] ?? 0)} ${example}`.trimEnd()),
|
|
339
|
+
...registry.defaults && registry.defaults.length > 0 ? [`Defaults: ${registry.defaults.join(" ")} \u2014 name the field to change it`] : [],
|
|
340
|
+
...negatable.length > 0 ? [`Leave out: -${negatable[0]}:value or NOT ${negatable[0]}:value, for ${negatable.join(", ")}`] : [],
|
|
341
|
+
`Syntax: ${QUERY_SYNTAX}`,
|
|
342
|
+
...guide ? [`Guide: ${guide}`] : []
|
|
343
|
+
].join("\n");
|
|
344
|
+
}, "fieldsHelp");
|
|
345
|
+
var queryDescription = /* @__PURE__ */ __name((registry) => {
|
|
346
|
+
const shown = shownOf(registry);
|
|
347
|
+
if (shown.length === 0)
|
|
348
|
+
return "field:value terms; this list filters by none yet, so any term is refused";
|
|
349
|
+
const negatable = leftOut(shown);
|
|
350
|
+
const terms = registry.backend === "native" ? `field:value terms joined by AND that narrow the list${negatable.length > 0 ? `; -field:value or NOT field:value leaves out what matches, for ${negatable.join(", ")} only` : ""}` : "field:value terms that narrow the list (Lucene: AND OR NOT, -field:value, [a TO b], > <)";
|
|
351
|
+
const fields2 = shown.map((field) => field.values ? `${field.name} (${field.values.join("|")})` : field.name);
|
|
352
|
+
const defaults = registry.defaults?.length ? `; unless named: ${registry.defaults.join(" ")}` : "";
|
|
353
|
+
return `${terms}; fields: ${fields2.join(", ")}; e.g. ${shown[0]?.example ?? ""}${defaults}`;
|
|
354
|
+
}, "queryDescription");
|
|
355
|
+
|
|
356
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/validate.js
|
|
325
357
|
var inContext = /* @__PURE__ */ __name((context3, run2) => {
|
|
326
358
|
try {
|
|
327
359
|
run2();
|
|
@@ -396,7 +428,7 @@ var validateQuery = /* @__PURE__ */ __name((ast, registry, options = {}) => {
|
|
|
396
428
|
}, "validateQuery");
|
|
397
429
|
var fieldsNamed = /* @__PURE__ */ __name((ast) => new Set(walkQuery(ast.root).map((node) => node.field)), "fieldsNamed");
|
|
398
430
|
|
|
399
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
431
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/parser.js
|
|
400
432
|
var whitespace = /* @__PURE__ */ __name((c) => /[ \t\n\r\u3000]/u.test(c), "whitespace");
|
|
401
433
|
var reserved = /* @__PURE__ */ new Set([
|
|
402
434
|
"+",
|
|
@@ -701,7 +733,7 @@ var implicitTextTerms = /* @__PURE__ */ __name((text6) => {
|
|
|
701
733
|
return new Set(tokens.flatMap((token, index) => (token.kind === "term" || token.kind === "number") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index - 1]?.kind ?? "") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index + 1]?.kind ?? "") ? [token.span.start] : []));
|
|
702
734
|
}, "implicitTextTerms");
|
|
703
735
|
|
|
704
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
736
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/registry.js
|
|
705
737
|
var describeQuery = /* @__PURE__ */ __name((registry) => ({
|
|
706
738
|
entity: registry.entity,
|
|
707
739
|
backend: registry.backend,
|
|
@@ -772,7 +804,7 @@ var QUERY_REASONS = defineReasons([
|
|
|
772
804
|
details: [...SPAN, ...details]
|
|
773
805
|
})));
|
|
774
806
|
|
|
775
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
807
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.73.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
|
|
776
808
|
var wordsOf = /* @__PURE__ */ __name((text6) => text6.toLowerCase().match(/[\p{L}\p{N}]+/gu) ?? [], "wordsOf");
|
|
777
809
|
var pattern = /* @__PURE__ */ __name((value) => new RegExp(`^${[...value].map((char) => char === "*" ? ".*" : char === "?" ? "." : char.replace(/[.+^${}()|[\]\\]/, "\\$&")).join("")}$`, "iu"), "pattern");
|
|
778
810
|
var present = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "", "present");
|
|
@@ -827,23 +859,7 @@ var matches = /* @__PURE__ */ __name((node, item, byName, options) => {
|
|
|
827
859
|
}, "matches");
|
|
828
860
|
var evaluate = /* @__PURE__ */ __name((ast, fields2, item, options = {}) => matches(ast.root, item, new Map(fields2.map((field) => [field.name, field])), options), "evaluate");
|
|
829
861
|
|
|
830
|
-
// node_modules/.pnpm/@wirecat+cli-
|
|
831
|
-
var QUERY_SYNTAX = 'field:value \xB7 "a phrase" \xB7 word* \xB7 AND OR NOT \xB7 ( ) \xB7 [a TO b] \xB7 > >= < <=';
|
|
832
|
-
var kindOf = /* @__PURE__ */ __name((field) => field.values ? `${field.type}: ${field.values.join("|")}` : `${field.type}: ${field.operators.join(", ")}`, "kindOf");
|
|
833
|
-
var fieldsHelp = /* @__PURE__ */ __name((registry, guide) => {
|
|
834
|
-
const shown = registry.backend === "native" ? registry.fields.filter((field) => field.native) : registry.fields;
|
|
835
|
-
const rows = shown.map((field) => [field.name, kindOf(field), field.example]);
|
|
836
|
-
const widths = [0, 1].map((at) => Math.max(...rows.map((row) => (row[at] ?? "").length)));
|
|
837
|
-
return [
|
|
838
|
-
"Fields:",
|
|
839
|
-
...rows.map(([name = "", kind = "", example = ""]) => ` ${name.padEnd(widths[0] ?? 0)} ${kind.padEnd(widths[1] ?? 0)} ${example}`.trimEnd()),
|
|
840
|
-
...registry.defaults && registry.defaults.length > 0 ? [`Defaults: ${registry.defaults.join(" ")} \u2014 name the field to change it`] : [],
|
|
841
|
-
`Syntax: ${QUERY_SYNTAX}`,
|
|
842
|
-
...guide ? [`Guide: ${guide}`] : []
|
|
843
|
-
].join("\n");
|
|
844
|
-
}, "fieldsHelp");
|
|
845
|
-
|
|
846
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
862
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
847
863
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
848
864
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
849
865
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -880,7 +896,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text6) => {
|
|
|
880
896
|
}, "parseMeetingReference");
|
|
881
897
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text6) => formatMeetingReference(parseMeetingReference(text6)), "canonicalMeetingReference");
|
|
882
898
|
|
|
883
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
899
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
884
900
|
var text = string();
|
|
885
901
|
var count = pipe(number(), integer(), minValue(0));
|
|
886
902
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -945,7 +961,7 @@ var MEETING_QUERY = {
|
|
|
945
961
|
})
|
|
946
962
|
};
|
|
947
963
|
|
|
948
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
964
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
949
965
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
950
966
|
const parsed = urlOf(url);
|
|
951
967
|
if (!parsed)
|
|
@@ -979,7 +995,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
979
995
|
}
|
|
980
996
|
}, "urlOf");
|
|
981
997
|
|
|
982
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
998
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
983
999
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
984
1000
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
985
1001
|
var htmlToText = /* @__PURE__ */ __name((html) => html.replace(/<\s*br\s*\/?>/giu, "\n").replace(/<\/\s*(p|div|li|tr|h[1-6])\s*>/giu, "\n").replace(/<a\s[^>]*href\s*=\s*"([^"]*)"[^>]*>/giu, " $1 ").replace(/<[^>]+>/gu, "").replace(/&(amp|lt|gt|quot|#39|apos|nbsp);/gu, (_, name) => ENTITIES[name] ?? ""), "htmlToText");
|
|
@@ -1012,7 +1028,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
1012
1028
|
return kept;
|
|
1013
1029
|
}, "entryMetadata");
|
|
1014
1030
|
|
|
1015
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1031
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
1016
1032
|
import { createHash } from "node:crypto";
|
|
1017
1033
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
1018
1034
|
reference: cue2.reference,
|
|
@@ -1026,7 +1042,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
1026
1042
|
text: cue2.text
|
|
1027
1043
|
})).digest("hex"), "meetingCueFingerprint");
|
|
1028
1044
|
|
|
1029
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1045
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
1030
1046
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
1031
1047
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
1032
1048
|
if (entry.recurrenceEndsAt !== null)
|
|
@@ -1049,7 +1065,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
|
|
|
1049
1065
|
return Math.max(entry.endsAt ?? start, start + 1) > window.from;
|
|
1050
1066
|
}, "entryInWindow");
|
|
1051
1067
|
|
|
1052
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1068
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
1053
1069
|
var text2 = string();
|
|
1054
1070
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
1055
1071
|
var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
@@ -1276,7 +1292,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
1276
1292
|
};
|
|
1277
1293
|
}, "meetingHitsList");
|
|
1278
1294
|
|
|
1279
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1295
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
1280
1296
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text6) => text6.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
1281
1297
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
1282
1298
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -1300,7 +1316,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
1300
1316
|
};
|
|
1301
1317
|
}, "validateMeetingParticipantSearch");
|
|
1302
1318
|
|
|
1303
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1319
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
1304
1320
|
var MeetingError = class extends CliError {
|
|
1305
1321
|
static {
|
|
1306
1322
|
__name(this, "MeetingError");
|
|
@@ -1432,7 +1448,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id3, accountId)
|
|
|
1432
1448
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
1433
1449
|
}, "meetingSummaryAnswer");
|
|
1434
1450
|
|
|
1435
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1451
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
1436
1452
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
1437
1453
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
1438
1454
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -1528,10 +1544,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id3, options) => {
|
|
|
1528
1544
|
};
|
|
1529
1545
|
}, "exportMeeting");
|
|
1530
1546
|
|
|
1531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1547
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1532
1548
|
import { createHash as createHash2 } from "node:crypto";
|
|
1533
1549
|
|
|
1534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1550
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
1535
1551
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
1536
1552
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
1537
1553
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone`);
|
|
@@ -1542,7 +1558,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
1542
1558
|
return new Date(value).toISOString();
|
|
1543
1559
|
}, "meetingTimestamp");
|
|
1544
1560
|
|
|
1545
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1561
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
1546
1562
|
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
1547
1563
|
if (typeof value !== "string" || !value.trim())
|
|
1548
1564
|
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
@@ -1593,10 +1609,10 @@ var validateMeetingChange = /* @__PURE__ */ __name((change, create) => {
|
|
|
1593
1609
|
return Object.freeze(result);
|
|
1594
1610
|
}, "validateMeetingChange");
|
|
1595
1611
|
|
|
1596
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1612
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/meeting-context.js
|
|
1597
1613
|
var MEETING_FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
1598
1614
|
|
|
1599
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1615
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1600
1616
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
1601
1617
|
var invalid2 = /* @__PURE__ */ __name((message) => {
|
|
1602
1618
|
throw new CliError("validation_error", message);
|
|
@@ -1707,7 +1723,7 @@ var validateFindings = /* @__PURE__ */ __name((input, rules) => {
|
|
|
1707
1723
|
}, "validateFindings");
|
|
1708
1724
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
1709
1725
|
|
|
1710
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1726
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
1711
1727
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
1712
1728
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
1713
1729
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -1718,7 +1734,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
1718
1734
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
1719
1735
|
var meetingFindingFingerprint = findingFingerprint;
|
|
1720
1736
|
|
|
1721
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1737
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
1722
1738
|
var text4 = string();
|
|
1723
1739
|
var identifier = pipe(text4, minLength(1));
|
|
1724
1740
|
var nullableText = nullable(text4);
|
|
@@ -1844,7 +1860,7 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
1844
1860
|
meeting_embedding: embedding
|
|
1845
1861
|
};
|
|
1846
1862
|
|
|
1847
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1863
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
1848
1864
|
var EVENT_QUERY = defineQuery({
|
|
1849
1865
|
entity: "event",
|
|
1850
1866
|
backend: "sql",
|
|
@@ -1860,7 +1876,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
1860
1876
|
]
|
|
1861
1877
|
});
|
|
1862
1878
|
|
|
1863
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1879
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
1864
1880
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
|
|
1865
1881
|
const current = await store.meeting(details.meeting.id);
|
|
1866
1882
|
if (!current)
|
|
@@ -1903,7 +1919,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
1903
1919
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
1904
1920
|
}, "linkEvent");
|
|
1905
1921
|
|
|
1906
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1922
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
1907
1923
|
var context = {
|
|
1908
1924
|
command: "search meetings",
|
|
1909
1925
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -1966,7 +1982,7 @@ var MEETING_FIELDS = defineQuery({
|
|
|
1966
1982
|
});
|
|
1967
1983
|
var parseMeetingQuery = /* @__PURE__ */ __name((query) => validateQuery(parseLucene(query, { defaultField: "text", proximity: true, ...context }), MEETING_HIT_QUERY, context), "parseMeetingQuery");
|
|
1968
1984
|
|
|
1969
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1985
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
1970
1986
|
var contentHash = /* @__PURE__ */ __name(async (text6) => {
|
|
1971
1987
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text6));
|
|
1972
1988
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -2003,7 +2019,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
2003
2019
|
return time;
|
|
2004
2020
|
}, "timestamp");
|
|
2005
2021
|
|
|
2006
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2022
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
2007
2023
|
var TranscriptTextError = class extends Error {
|
|
2008
2024
|
static {
|
|
2009
2025
|
__name(this, "TranscriptTextError");
|
|
@@ -2058,7 +2074,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
2058
2074
|
return { header, lines };
|
|
2059
2075
|
}, "parseTranscriptText");
|
|
2060
2076
|
|
|
2061
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2077
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
2062
2078
|
var VttError = class extends Error {
|
|
2063
2079
|
static {
|
|
2064
2080
|
__name(this, "VttError");
|
|
@@ -2110,7 +2126,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
2110
2126
|
return cues;
|
|
2111
2127
|
}, "parseVtt");
|
|
2112
2128
|
|
|
2113
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2129
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
2114
2130
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
2115
2131
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
2116
2132
|
for (const file of files) {
|
|
@@ -2143,10 +2159,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
2143
2159
|
return report;
|
|
2144
2160
|
}, "importFiles");
|
|
2145
2161
|
|
|
2146
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2162
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
2147
2163
|
var CHAT_MESSAGES_READ = 1e5;
|
|
2148
2164
|
|
|
2149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2165
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
2150
2166
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
2151
2167
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
2152
2168
|
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)))
|
|
@@ -2159,7 +2175,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
2159
2175
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
2160
2176
|
}, "validateMeetingPassage");
|
|
2161
2177
|
|
|
2162
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2178
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
2163
2179
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
2164
2180
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2165
2181
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -2184,7 +2200,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
2184
2200
|
return { ...input, limit, maxReadBytes };
|
|
2185
2201
|
}, "validateMeetingPreparationContext");
|
|
2186
2202
|
|
|
2187
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2203
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
2188
2204
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2189
2205
|
var id = pipe(string(), minLength(1));
|
|
2190
2206
|
var meetingProjectEvidence = strictObject({
|
|
@@ -2305,7 +2321,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
2305
2321
|
};
|
|
2306
2322
|
}, "meetingProjectEvidenceAnswer");
|
|
2307
2323
|
|
|
2308
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2324
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
2309
2325
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
2310
2326
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
2311
2327
|
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) || [
|
|
@@ -2325,7 +2341,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
2325
2341
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
2326
2342
|
}, "validateMeetingHitSearch");
|
|
2327
2343
|
|
|
2328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2344
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
2329
2345
|
var ids = {
|
|
2330
2346
|
meeting_id: "meetingId",
|
|
2331
2347
|
identity_id: "participantIdentityId",
|
|
@@ -2416,7 +2432,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
|
|
|
2416
2432
|
return { project: project.trim(), options, query: frozen.join(" AND ") };
|
|
2417
2433
|
}, "prepareMeetingProjectEvidence");
|
|
2418
2434
|
|
|
2419
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2435
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
2420
2436
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
|
|
2421
2437
|
const prepared = prepareMeetingProjectEvidence(project, request, now);
|
|
2422
2438
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -2424,7 +2440,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
|
|
|
2424
2440
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
2425
2441
|
}, "readMeetingProjectEvidence");
|
|
2426
2442
|
|
|
2427
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2443
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
2428
2444
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
2429
2445
|
const { identityExternalId, ...fields2 } = p;
|
|
2430
2446
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -2563,7 +2579,7 @@ unlinked`, format)],
|
|
|
2563
2579
|
return report;
|
|
2564
2580
|
}, "pull");
|
|
2565
2581
|
|
|
2566
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2582
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
2567
2583
|
var text5 = string();
|
|
2568
2584
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
2569
2585
|
var id2 = pipe(number(), integer(), minValue(1));
|
|
@@ -2740,10 +2756,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
2740
2756
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
2741
2757
|
}), "eventItem");
|
|
2742
2758
|
|
|
2743
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2759
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
2744
2760
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
2745
2761
|
|
|
2746
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2762
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
2747
2763
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
2748
2764
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2749
2765
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -2773,14 +2789,14 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
2773
2789
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
2774
2790
|
}, "validateMeetingRelatedHistory");
|
|
2775
2791
|
|
|
2776
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2792
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
2777
2793
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
2778
2794
|
|
|
2779
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2795
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
2780
2796
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
2781
2797
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
2782
2798
|
|
|
2783
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2799
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
2784
2800
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
2785
2801
|
input.signal?.throwIfAborted();
|
|
2786
2802
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -2801,10 +2817,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
2801
2817
|
return { ...input, limit, maxReadBytes };
|
|
2802
2818
|
}, "validateMeetingSeriesHistory");
|
|
2803
2819
|
|
|
2804
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2820
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
2805
2821
|
var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
|
|
2806
2822
|
|
|
2807
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2823
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
2808
2824
|
function invalid3(field, response = false) {
|
|
2809
2825
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
2810
2826
|
}
|
|
@@ -2833,7 +2849,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
2833
2849
|
cursorDetails(value);
|
|
2834
2850
|
}, "validateMeetingSeriesInventoryCursor");
|
|
2835
2851
|
|
|
2836
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2852
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
2837
2853
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
2838
2854
|
const zone = timeZone ?? "UTC";
|
|
2839
2855
|
try {
|
|
@@ -2912,7 +2928,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
2912
2928
|
};
|
|
2913
2929
|
}, "aggregateMeetingStats");
|
|
2914
2930
|
|
|
2915
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2931
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
|
|
2916
2932
|
var LINK_KINDS = [
|
|
2917
2933
|
"links-to",
|
|
2918
2934
|
"blocked-by",
|
|
@@ -2933,7 +2949,7 @@ var LINK_SOURCES = [...LINK_ORIGINS, "calendar"];
|
|
|
2933
2949
|
var RELATION_KINDS = ["member-of", "related-to"];
|
|
2934
2950
|
var linkKind = /* @__PURE__ */ __name((kind) => `'${kind}'`, "linkKind");
|
|
2935
2951
|
|
|
2936
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2952
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/tasks/model.js
|
|
2937
2953
|
var TASK_KINDS = ["question", "request", "mention", "promise"];
|
|
2938
2954
|
var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
|
|
2939
2955
|
var CLOSED_STATES = ["done", "dismissed"];
|
|
@@ -2948,13 +2964,13 @@ function closeTask(task, state, by, at, reason) {
|
|
|
2948
2964
|
}
|
|
2949
2965
|
__name(closeTask, "closeTask");
|
|
2950
2966
|
|
|
2951
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2967
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/tasks/store.js
|
|
2952
2968
|
function matches2(task, filter) {
|
|
2953
2969
|
return (filter.account === void 0 || task.account === filter.account) && (filter.state === void 0 || task.state === filter.state) && (filter.group === void 0 || task.group === filter.group) && (filter.kind === void 0 || task.kind === filter.kind) && (filter.createdBefore === void 0 || task.createdAt < filter.createdBefore);
|
|
2954
2970
|
}
|
|
2955
2971
|
__name(matches2, "matches");
|
|
2956
2972
|
|
|
2957
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2973
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/tasks/priority.js
|
|
2958
2974
|
var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
|
|
2959
2975
|
var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
|
|
2960
2976
|
var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
|
|
@@ -2983,7 +2999,7 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
|
|
|
2983
2999
|
}, "priorityOf");
|
|
2984
3000
|
var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
|
|
2985
3001
|
|
|
2986
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3002
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/tasks/service.js
|
|
2987
3003
|
function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
|
|
2988
3004
|
async function find(id3) {
|
|
2989
3005
|
const task = await store.get(id3);
|
|
@@ -3043,7 +3059,7 @@ function median(values) {
|
|
|
3043
3059
|
}
|
|
3044
3060
|
__name(median, "median");
|
|
3045
3061
|
|
|
3046
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3062
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
|
|
3047
3063
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
3048
3064
|
var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
|
|
3049
3065
|
var MEMORY_KINDS = ["summary", "digest", "preference"];
|
|
@@ -3071,6 +3087,7 @@ export {
|
|
|
3071
3087
|
QUERY_BACKENDS,
|
|
3072
3088
|
queryFieldsOf,
|
|
3073
3089
|
fieldsHelp,
|
|
3090
|
+
queryDescription,
|
|
3074
3091
|
parseLucene,
|
|
3075
3092
|
implicitTextTerms,
|
|
3076
3093
|
validateQuery,
|
|
@@ -2,23 +2,23 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
ENTITIES
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-452UZ2PU.js";
|
|
6
6
|
import {
|
|
7
7
|
annotate,
|
|
8
8
|
answerSchema,
|
|
9
9
|
describeOptions,
|
|
10
10
|
keyForCommand,
|
|
11
11
|
metaOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GX4LRLVD.js";
|
|
13
13
|
import {
|
|
14
14
|
CliError,
|
|
15
15
|
jsonSchemaOf
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PCRLXJRH.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.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
22
22
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
23
23
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema, options = {}) => {
|
|
24
24
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -48,7 +48,7 @@ var answerProjectionSchema = /* @__PURE__ */ __name((command) => {
|
|
|
48
48
|
return own && metaOf(command).output?.entity === own.name ? own.project : void 0;
|
|
49
49
|
}, "answerProjectionSchema");
|
|
50
50
|
|
|
51
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
51
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
52
52
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
53
53
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
54
54
|
const entity = answerEntitySchema(command);
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PCRLXJRH.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
11
11
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
12
12
|
var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
|
|
13
13
|
const name = envName(app, "READ_ONLY");
|