@wirecat/cli-template 0.16.0 → 0.17.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/.github/workflows/ci.yml +18 -0
- package/.github/workflows/release-pr.yml +37 -0
- package/CHANGELOG.md +14 -0
- package/bin/release +10 -3
- package/biome.json +6 -0
- package/contracts/plan.json +2 -1
- package/dist/bin/clidev.js +2 -2
- package/dist/bundle/{all-profiles-FS7AEOE7.js → all-profiles-CCT2XPJL.js} +7 -7
- package/dist/bundle/{anthropic-5RN7BGDI.js → anthropic-QLLP7EE4.js} +4 -4
- package/dist/bundle/{app-server-WGTKZQKJ.js → app-server-ELI5TGL7.js} +36 -36
- package/dist/bundle/{bun-ILPS6AYA.js → bun-C7JS2V7G.js} +2 -2
- package/dist/bundle/{bun-sqlite-WK2IGBGD.js → bun-sqlite-OM72TCYT.js} +3 -3
- package/dist/bundle/{chunk-ADFSSIV4.js → chunk-2Y5NBD7U.js} +4 -4
- package/dist/bundle/{chunk-7EUX7AZV.js → chunk-33JGD2CR.js} +3 -3
- package/dist/bundle/{chunk-JFXWLQ2L.js → chunk-3VVIEZRY.js} +2 -2
- package/dist/bundle/{chunk-CGFQT3LQ.js → chunk-6PHTRAZA.js} +1 -1
- package/dist/bundle/{chunk-VS5LGSTM.js → chunk-6VCFDEHT.js} +1 -1
- package/dist/bundle/{chunk-NENYWEXF.js → chunk-7OQF5ZMN.js} +1 -1
- package/dist/bundle/{chunk-6WOJIAYA.js → chunk-AKUMR7PE.js} +2 -2
- package/dist/bundle/{chunk-BPMKAZSS.js → chunk-ASO23RNM.js} +152 -79
- package/dist/bundle/{chunk-VOTEB3AN.js → chunk-AUVPTFUS.js} +1 -1
- package/dist/bundle/{chunk-JJZCPBH3.js → chunk-BOCIYBBO.js} +53 -44
- package/dist/bundle/{chunk-QGOOPPEW.js → chunk-BXZRTMXA.js} +5 -5
- package/dist/bundle/{chunk-SKBRW5U3.js → chunk-DVLM23HB.js} +2 -2
- package/dist/bundle/{chunk-YIVY2WI3.js → chunk-E4KQOKQ5.js} +1 -1
- package/dist/bundle/{chunk-ZSY4WAGI.js → chunk-EQDVQN4E.js} +299 -258
- package/dist/bundle/{chunk-RFJKNFVF.js → chunk-FF3AGTHY.js} +6 -6
- package/dist/bundle/{chunk-TXHCL75B.js → chunk-GG5PXNMH.js} +25 -22
- package/dist/bundle/{chunk-DEHBTFIC.js → chunk-GUCMIUNB.js} +2 -2
- package/dist/bundle/{chunk-RYOAQCVJ.js → chunk-HVAEHUSZ.js} +2 -2
- package/dist/bundle/{chunk-CTBHQRX6.js → chunk-ITPFCKCL.js} +13 -13
- package/dist/bundle/{chunk-Z5NL6YNU.js → chunk-J2RUBXCI.js} +6 -6
- package/dist/bundle/{chunk-7Z4HR6GO.js → chunk-KRXN3FV3.js} +1 -1
- package/dist/bundle/{chunk-OF56L2JU.js → chunk-LFLN6PVS.js} +4 -4
- package/dist/bundle/{chunk-YNROUY3R.js → chunk-LN53L2V5.js} +11 -11
- package/dist/bundle/{chunk-WDWP5N6M.js → chunk-MLSN3UP4.js} +26 -26
- package/dist/bundle/{chunk-3MDNAYQA.js → chunk-O6PBO4BU.js} +1 -1
- package/dist/bundle/{chunk-5KAYQKBK.js → chunk-QJS4WWYK.js} +63 -63
- package/dist/bundle/{chunk-EA3TMI4A.js → chunk-QLBS6OC2.js} +2362 -1225
- package/dist/bundle/{chunk-5HHIPDNW.js → chunk-QVPTZDRA.js} +2 -2
- package/dist/bundle/{chunk-OGTRPW2K.js → chunk-R5CPFSPI.js} +7 -7
- package/dist/bundle/{chunk-2MWNE4L3.js → chunk-R5IY4O25.js} +4 -4
- package/dist/bundle/{chunk-C3GNOEJP.js → chunk-RGKXMVOZ.js} +3 -3
- package/dist/bundle/{chunk-G45R7M42.js → chunk-RT46AWIH.js} +1 -1
- package/dist/bundle/{chunk-MEXT6XDP.js → chunk-RUHNHEAF.js} +3 -3
- package/dist/bundle/{chunk-ORV4EGNC.js → chunk-S465TCR3.js} +8 -8
- package/dist/bundle/{chunk-WM5AMTRY.js → chunk-SQKP6V4S.js} +27 -13
- package/dist/bundle/{chunk-VPCXYY46.js → chunk-SQOXYNKF.js} +1 -1
- package/dist/bundle/{chunk-NVPWZF67.js → chunk-URPKIONS.js} +8 -8
- package/dist/bundle/{chunk-HTYLT6ME.js → chunk-UW4PJZVJ.js} +282 -170
- package/dist/bundle/{chunk-ENDBOYQR.js → chunk-WKUJCPSP.js} +89 -45
- package/dist/bundle/{chunk-FMO6F5Q2.js → chunk-WQBBSVZM.js} +2 -2
- package/dist/bundle/{chunk-LRHX62ZF.js → chunk-WRLOK7XC.js} +3 -3
- package/dist/bundle/{chunk-MBBOINK4.js → chunk-X44ZT64I.js} +3 -3
- package/dist/bundle/{chunk-ATHZEV2Z.js → chunk-XKL5FRH3.js} +3 -3
- package/dist/bundle/{chunk-ETJXPB6A.js → chunk-XS56LIQ7.js} +4 -4
- package/dist/bundle/{chunk-3WDYHOAF.js → chunk-YIH3PYWJ.js} +1 -1
- package/dist/bundle/{chunk-EILS4BTQ.js → chunk-ZRNBKTPP.js} +26 -26
- package/dist/bundle/clidev.js +3 -3
- package/dist/bundle/{command-contract-ZDU73EPH.js → command-contract-RV5ZOEAT.js} +11 -11
- package/dist/bundle/{decode-QMLOGZ6R.js → decode-V7HNHZBC.js} +3 -3
- package/dist/bundle/{echarts-DRDGGHJT.js → echarts-Y42YP2OL.js} +2 -2
- package/dist/bundle/{embed-PIR2LJR2.js → embed-JSQZL7JF.js} +4 -4
- package/dist/bundle/{embedder-6KBRPAEQ.js → embedder-7BHRCXWL.js} +7 -7
- package/dist/bundle/{first-run-JO3CMY3Z.js → first-run-BJ36KGST.js} +8 -8
- package/dist/bundle/first-screen-5YHQVNY4.js +26 -0
- package/dist/bundle/{instructions-EOQOXY6V.js → instructions-UWERND54.js} +1 -1
- package/dist/bundle/{mcp-7HBLFGCW.js → mcp-P4FSBSRS.js} +2 -2
- package/dist/bundle/{node-52WF2326.js → node-PZDNPKN7.js} +2 -2
- package/dist/bundle/{node-sqlite-LIK6OYNF.js → node-sqlite-4F5NLRNT.js} +4 -4
- package/dist/bundle/{oauth-7FVF7HQQ.js → oauth-VDXNA3DK.js} +5 -5
- package/dist/bundle/{open-CRZDEATN.js → open-EUJRQQNS.js} +3 -3
- package/dist/bundle/{openai-WAJ6WREQ.js → openai-EIBV2K72.js} +12 -12
- package/dist/bundle/{process-YIQPKLZI.js → process-XD5ZIFIL.js} +1 -1
- package/dist/bundle/{program-ZFFFPBRS.js → program-TJTVMIOX.js} +866 -495
- package/dist/bundle/{prompt-QQIVHO3M.js → prompt-LYUZNHDK.js} +3 -3
- package/dist/bundle/{recognize-4KLBZDEC.js → recognize-LQMHLOD5.js} +2 -2
- package/dist/bundle/{remote-BABMZTHA.js → remote-34HUWSZI.js} +5 -5
- package/dist/bundle/{rerank-P3IQQJIL.js → rerank-ONBASQ5Z.js} +5 -5
- package/dist/bundle/{serve-25SSAKRZ.js → serve-UJ7FDYAM.js} +7 -7
- package/dist/bundle/{server-P4XUYY5A.js → server-GNT76BXM.js} +28 -28
- package/dist/bundle/server-J4YIXKMI.js +52 -0
- package/dist/bundle/{state-QCQALQBJ.js → state-IW5OO6IZ.js} +4 -4
- package/dist/bundle/{store-ZECPRGGH.js → store-55UB27H2.js} +12 -10
- package/dist/bundle/store-maintenance-command-BLDKUZ3L.js +42 -0
- package/dist/commands/session.js +1 -1
- package/dist/commands/session.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +1 -0
- package/dist/program.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/docs/dev/skills/release/SKILL.md +9 -3
- package/docs/dev/skills/release/fresh-audit.md +1 -1
- package/kit/dist/new.js +1 -0
- package/package.json +4 -4
- package/src/commands/session.ts +1 -1
- package/src/program.ts +1 -0
- package/src/version.ts +1 -1
- package/dist/bundle/first-screen-3T5IXTFL.js +0 -26
- package/dist/bundle/server-G4GCDMYI.js +0 -52
- package/dist/bundle/store-maintenance-command-ECUO5G6L.js +0 -42
|
@@ -37,12 +37,12 @@ import {
|
|
|
37
37
|
unknown,
|
|
38
38
|
variant,
|
|
39
39
|
visibleControls
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-MLSN3UP4.js";
|
|
41
41
|
import {
|
|
42
42
|
__name
|
|
43
43
|
} from "./chunk-ZVVMGPBJ.js";
|
|
44
44
|
|
|
45
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
45
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.3_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
|
|
46
46
|
var QUERY_LIMITS = {
|
|
47
47
|
bytes: 8192,
|
|
48
48
|
depth: 32,
|
|
@@ -86,7 +86,7 @@ function queryError(reason, span, alternative, context3 = {}, details = {}) {
|
|
|
86
86
|
__name(queryError, "queryError");
|
|
87
87
|
var walkQuery = /* @__PURE__ */ __name((node) => node.kind === "predicate" ? [node] : node.clauses.flatMap(({ node: node2 }) => walkQuery(node2)), "walkQuery");
|
|
88
88
|
|
|
89
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
89
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.3_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
|
|
90
90
|
var timezoneOf = /* @__PURE__ */ __name((given) => {
|
|
91
91
|
const zone = given ?? Intl.DateTimeFormat().resolvedOptions().timeZone ?? "UTC";
|
|
92
92
|
try {
|
|
@@ -231,7 +231,7 @@ var dateRange = /* @__PURE__ */ __name((lower, upper, lowerInclusive, upperInclu
|
|
|
231
231
|
};
|
|
232
232
|
}, "dateRange");
|
|
233
233
|
|
|
234
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
234
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.3_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
|
|
235
235
|
var FIELD_TYPES = ["kw", "txt", "enum", "num", "time", "bool", "ref"];
|
|
236
236
|
var OPERATORS_BY_TYPE = {
|
|
237
237
|
kw: ["term", "phrase", "wildcard"],
|
|
@@ -310,7 +310,7 @@ var queryFieldsOf = /* @__PURE__ */ __name((schema, annotations = {}) => {
|
|
|
310
310
|
return [...own, ...relations, ...states];
|
|
311
311
|
}, "queryFieldsOf");
|
|
312
312
|
|
|
313
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
313
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.3_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
|
|
314
314
|
var shownOf = /* @__PURE__ */ __name((registry) => registry.backend === "native" ? registry.fields.filter((field) => field.native) : registry.fields, "shownOf");
|
|
315
315
|
var leftOut = /* @__PURE__ */ __name((fields) => fields.filter((field) => field.negatable).map((field) => field.name), "leftOut");
|
|
316
316
|
var has = /* @__PURE__ */ __name((fields, operator) => fields.some((field) => field.operators.includes(operator)), "has");
|
|
@@ -347,7 +347,7 @@ var queryDescription = /* @__PURE__ */ __name((registry) => {
|
|
|
347
347
|
return `${terms}; fields: ${fields.join(", ")}; e.g. ${shown[0]?.example ?? ""}${defaults}`;
|
|
348
348
|
}, "queryDescription");
|
|
349
349
|
|
|
350
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
350
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.3_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
|
|
351
351
|
var inContext = /* @__PURE__ */ __name((context3, run2) => {
|
|
352
352
|
try {
|
|
353
353
|
run2();
|
|
@@ -422,7 +422,7 @@ var validateQuery = /* @__PURE__ */ __name((ast, registry, options = {}) => {
|
|
|
422
422
|
}, "validateQuery");
|
|
423
423
|
var fieldsNamed = /* @__PURE__ */ __name((ast) => new Set(walkQuery(ast.root).map((node) => node.field)), "fieldsNamed");
|
|
424
424
|
|
|
425
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
425
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.3_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
|
|
426
426
|
var whitespace = /* @__PURE__ */ __name((c) => /[ \t\n\r\u3000]/u.test(c), "whitespace");
|
|
427
427
|
var reserved = /* @__PURE__ */ new Set([
|
|
428
428
|
"+",
|
|
@@ -731,7 +731,7 @@ var implicitTextTerms = /* @__PURE__ */ __name((text6) => {
|
|
|
731
731
|
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] : []));
|
|
732
732
|
}, "implicitTextTerms");
|
|
733
733
|
|
|
734
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
734
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.3_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
|
|
735
735
|
var describeQuery = /* @__PURE__ */ __name((registry) => ({
|
|
736
736
|
entity: registry.entity,
|
|
737
737
|
backend: registry.backend,
|
|
@@ -802,7 +802,7 @@ var QUERY_REASONS = defineReasons([
|
|
|
802
802
|
details: [...SPAN, ...details]
|
|
803
803
|
})));
|
|
804
804
|
|
|
805
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
805
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.3_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
|
|
806
806
|
var wordsOf = /* @__PURE__ */ __name((text6) => text6.toLowerCase().match(/[\p{L}\p{N}]+/gu) ?? [], "wordsOf");
|
|
807
807
|
var pattern = /* @__PURE__ */ __name((value) => new RegExp(`^${[...value].map((char) => char === "*" ? ".*" : char === "?" ? "." : char.replace(/[.+^${}()|[\]\\]/, "\\$&")).join("")}$`, "iu"), "pattern");
|
|
808
808
|
var present = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "", "present");
|
|
@@ -857,7 +857,7 @@ var matches = /* @__PURE__ */ __name((node, item, byName, options) => {
|
|
|
857
857
|
}, "matches");
|
|
858
858
|
var evaluate = /* @__PURE__ */ __name((ast, fields, item, options = {}) => matches(ast.root, item, new Map(fields.map((field) => [field.name, field])), options), "evaluate");
|
|
859
859
|
|
|
860
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
860
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
861
861
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
862
862
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
863
863
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -894,7 +894,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text6) => {
|
|
|
894
894
|
}, "parseMeetingReference");
|
|
895
895
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text6) => formatMeetingReference(parseMeetingReference(text6)), "canonicalMeetingReference");
|
|
896
896
|
|
|
897
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
897
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
898
898
|
var text = string();
|
|
899
899
|
var count = pipe(number(), integer(), minValue(0));
|
|
900
900
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -959,7 +959,7 @@ var MEETING_QUERY = {
|
|
|
959
959
|
})
|
|
960
960
|
};
|
|
961
961
|
|
|
962
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
962
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
963
963
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
964
964
|
const parsed = urlOf(url);
|
|
965
965
|
if (!parsed)
|
|
@@ -993,7 +993,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
993
993
|
}
|
|
994
994
|
}, "urlOf");
|
|
995
995
|
|
|
996
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
996
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
997
997
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
998
998
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
999
999
|
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");
|
|
@@ -1026,7 +1026,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
1026
1026
|
return kept;
|
|
1027
1027
|
}, "entryMetadata");
|
|
1028
1028
|
|
|
1029
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1029
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
1030
1030
|
import { createHash } from "node:crypto";
|
|
1031
1031
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
1032
1032
|
reference: cue2.reference,
|
|
@@ -1040,7 +1040,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
1040
1040
|
text: cue2.text
|
|
1041
1041
|
})).digest("hex"), "meetingCueFingerprint");
|
|
1042
1042
|
|
|
1043
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1043
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
1044
1044
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
1045
1045
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
1046
1046
|
if (entry.recurrenceEndsAt !== null)
|
|
@@ -1063,7 +1063,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
|
|
|
1063
1063
|
return Math.max(entry.endsAt ?? start, start + 1) > window.from;
|
|
1064
1064
|
}, "entryInWindow");
|
|
1065
1065
|
|
|
1066
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1066
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
1067
1067
|
var text2 = string();
|
|
1068
1068
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
1069
1069
|
var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
@@ -1298,7 +1298,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
1298
1298
|
};
|
|
1299
1299
|
}, "meetingHitsList");
|
|
1300
1300
|
|
|
1301
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1301
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
1302
1302
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text6) => text6.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
1303
1303
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
1304
1304
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -1322,7 +1322,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
1322
1322
|
};
|
|
1323
1323
|
}, "validateMeetingParticipantSearch");
|
|
1324
1324
|
|
|
1325
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1325
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
1326
1326
|
var MeetingError = class extends CliError {
|
|
1327
1327
|
static {
|
|
1328
1328
|
__name(this, "MeetingError");
|
|
@@ -1454,7 +1454,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id4, accountId)
|
|
|
1454
1454
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
1455
1455
|
}, "meetingSummaryAnswer");
|
|
1456
1456
|
|
|
1457
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1457
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
1458
1458
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
1459
1459
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
1460
1460
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -1550,7 +1550,7 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id4, options) => {
|
|
|
1550
1550
|
};
|
|
1551
1551
|
}, "exportMeeting");
|
|
1552
1552
|
|
|
1553
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1553
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/payment.js
|
|
1554
1554
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
1555
1555
|
var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
|
|
1556
1556
|
var PAYMENT_STATES = ["expected", "paid", "cancelled"];
|
|
@@ -1644,10 +1644,10 @@ var paymentTitle = /* @__PURE__ */ __name((fact) => {
|
|
|
1644
1644
|
return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
|
|
1645
1645
|
}, "paymentTitle");
|
|
1646
1646
|
|
|
1647
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1647
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1648
1648
|
import { createHash as createHash2 } from "node:crypto";
|
|
1649
1649
|
|
|
1650
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1650
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
1651
1651
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
1652
1652
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
1653
1653
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone, such as 2026-11-09T09:00:00Z`);
|
|
@@ -1658,7 +1658,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
1658
1658
|
return new Date(value).toISOString();
|
|
1659
1659
|
}, "meetingTimestamp");
|
|
1660
1660
|
|
|
1661
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1661
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1662
1662
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
1663
1663
|
var invalid3 = /* @__PURE__ */ __name((message) => {
|
|
1664
1664
|
throw new CliError("validation_error", message);
|
|
@@ -1831,7 +1831,7 @@ var validateBatch = /* @__PURE__ */ __name((input, rules, most, one) => {
|
|
|
1831
1831
|
var validateFindings = /* @__PURE__ */ __name((input, rules) => validateBatch(input, rules, 16, (finding, ids2) => validateFinding(finding, rules, ids2)), "validateFindings");
|
|
1832
1832
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
1833
1833
|
|
|
1834
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1834
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
1835
1835
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
1836
1836
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
1837
1837
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -1842,7 +1842,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
1842
1842
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
1843
1843
|
var meetingFindingFingerprint = findingFingerprint;
|
|
1844
1844
|
|
|
1845
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1845
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
1846
1846
|
var text3 = string();
|
|
1847
1847
|
var identifier = pipe(text3, minLength(1));
|
|
1848
1848
|
var nullableText = nullable(text3);
|
|
@@ -1975,7 +1975,7 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
1975
1975
|
meeting_repair: repair
|
|
1976
1976
|
};
|
|
1977
1977
|
|
|
1978
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1978
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
1979
1979
|
var EVENT_QUERY = defineQuery({
|
|
1980
1980
|
entity: "event",
|
|
1981
1981
|
backend: "sql",
|
|
@@ -1991,7 +1991,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
1991
1991
|
]
|
|
1992
1992
|
});
|
|
1993
1993
|
|
|
1994
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1994
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
1995
1995
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
|
|
1996
1996
|
const current = await store.meeting(details.meeting.id);
|
|
1997
1997
|
if (!current)
|
|
@@ -2034,7 +2034,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
2034
2034
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
2035
2035
|
}, "linkEvent");
|
|
2036
2036
|
|
|
2037
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2037
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
2038
2038
|
var context = {
|
|
2039
2039
|
command: "search meetings",
|
|
2040
2040
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -2097,7 +2097,7 @@ var MEETING_FIELDS = defineQuery({
|
|
|
2097
2097
|
});
|
|
2098
2098
|
var parseMeetingQuery = /* @__PURE__ */ __name((query) => validateQuery(parseLucene(query, { defaultField: "text", proximity: true, ...context }), MEETING_HIT_QUERY, context), "parseMeetingQuery");
|
|
2099
2099
|
|
|
2100
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2100
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/language.js
|
|
2101
2101
|
var LATIN_WORDS = {
|
|
2102
2102
|
en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
|
|
2103
2103
|
es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
|
|
@@ -2146,7 +2146,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
|
|
|
2146
2146
|
return null;
|
|
2147
2147
|
}, "transcriptLanguage");
|
|
2148
2148
|
|
|
2149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2149
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
2150
2150
|
var contentHash = /* @__PURE__ */ __name(async (text6) => {
|
|
2151
2151
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text6));
|
|
2152
2152
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -2183,7 +2183,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
2183
2183
|
return time2;
|
|
2184
2184
|
}, "timestamp");
|
|
2185
2185
|
|
|
2186
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2186
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
2187
2187
|
var TranscriptTextError = class extends Error {
|
|
2188
2188
|
static {
|
|
2189
2189
|
__name(this, "TranscriptTextError");
|
|
@@ -2238,7 +2238,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
2238
2238
|
return { header, lines };
|
|
2239
2239
|
}, "parseTranscriptText");
|
|
2240
2240
|
|
|
2241
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2241
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
2242
2242
|
var VttError = class extends Error {
|
|
2243
2243
|
static {
|
|
2244
2244
|
__name(this, "VttError");
|
|
@@ -2290,7 +2290,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
2290
2290
|
return cues;
|
|
2291
2291
|
}, "parseVtt");
|
|
2292
2292
|
|
|
2293
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2293
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
2294
2294
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
2295
2295
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
2296
2296
|
for (const file of files) {
|
|
@@ -2323,10 +2323,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
2323
2323
|
return report;
|
|
2324
2324
|
}, "importFiles");
|
|
2325
2325
|
|
|
2326
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2326
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
2327
2327
|
var CHAT_MESSAGES_READ = 1e5;
|
|
2328
2328
|
|
|
2329
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2329
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
2330
2330
|
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
2331
2331
|
if (typeof value !== "string" || !value.trim())
|
|
2332
2332
|
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
@@ -2377,7 +2377,7 @@ var validateMeetingChange = /* @__PURE__ */ __name((change, create) => {
|
|
|
2377
2377
|
return Object.freeze(result);
|
|
2378
2378
|
}, "validateMeetingChange");
|
|
2379
2379
|
|
|
2380
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2380
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
2381
2381
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
2382
2382
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
2383
2383
|
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)))
|
|
@@ -2390,7 +2390,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
2390
2390
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
2391
2391
|
}, "validateMeetingPassage");
|
|
2392
2392
|
|
|
2393
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2393
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
2394
2394
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
2395
2395
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2396
2396
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -2415,7 +2415,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
2415
2415
|
return { ...input, limit, maxReadBytes };
|
|
2416
2416
|
}, "validateMeetingPreparationContext");
|
|
2417
2417
|
|
|
2418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
2419
2419
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2420
2420
|
var id = pipe(string(), minLength(1));
|
|
2421
2421
|
var meetingProjectEvidence = strictObject({
|
|
@@ -2536,7 +2536,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
2536
2536
|
};
|
|
2537
2537
|
}, "meetingProjectEvidenceAnswer");
|
|
2538
2538
|
|
|
2539
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2539
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
2540
2540
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
2541
2541
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
2542
2542
|
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) || [
|
|
@@ -2556,7 +2556,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
2556
2556
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
2557
2557
|
}, "validateMeetingHitSearch");
|
|
2558
2558
|
|
|
2559
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2559
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
2560
2560
|
var ids = {
|
|
2561
2561
|
meeting_id: "meetingId",
|
|
2562
2562
|
identity_id: "participantIdentityId",
|
|
@@ -2647,7 +2647,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project2, request =
|
|
|
2647
2647
|
return { project: project2.trim(), options, query: frozen.join(" AND ") };
|
|
2648
2648
|
}, "prepareMeetingProjectEvidence");
|
|
2649
2649
|
|
|
2650
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2650
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
2651
2651
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project2, request = {}, now = Date.now()) => {
|
|
2652
2652
|
const prepared = prepareMeetingProjectEvidence(project2, request, now);
|
|
2653
2653
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -2655,7 +2655,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project2, r
|
|
|
2655
2655
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
2656
2656
|
}, "readMeetingProjectEvidence");
|
|
2657
2657
|
|
|
2658
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2658
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
2659
2659
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
2660
2660
|
const { identityExternalId, ...fields } = p;
|
|
2661
2661
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -2794,7 +2794,7 @@ unlinked`, format)],
|
|
|
2794
2794
|
return report;
|
|
2795
2795
|
}, "pull");
|
|
2796
2796
|
|
|
2797
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2797
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
2798
2798
|
var text4 = string();
|
|
2799
2799
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
2800
2800
|
var id2 = pipe(number(), integer(), minValue(1));
|
|
@@ -2988,10 +2988,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
2988
2988
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
2989
2989
|
}), "eventItem");
|
|
2990
2990
|
|
|
2991
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2991
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
2992
2992
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
2993
2993
|
|
|
2994
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2994
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
2995
2995
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
2996
2996
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2997
2997
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -3021,14 +3021,14 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
3021
3021
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
3022
3022
|
}, "validateMeetingRelatedHistory");
|
|
3023
3023
|
|
|
3024
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3024
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
3025
3025
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
3026
3026
|
|
|
3027
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3027
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
3028
3028
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
3029
3029
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
3030
3030
|
|
|
3031
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3031
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
3032
3032
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
3033
3033
|
input.signal?.throwIfAborted();
|
|
3034
3034
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -3049,10 +3049,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
3049
3049
|
return { ...input, limit, maxReadBytes };
|
|
3050
3050
|
}, "validateMeetingSeriesHistory");
|
|
3051
3051
|
|
|
3052
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3052
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
3053
3053
|
var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
|
|
3054
3054
|
|
|
3055
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3055
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
3056
3056
|
function invalid4(field, response = false) {
|
|
3057
3057
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
3058
3058
|
}
|
|
@@ -3081,7 +3081,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
3081
3081
|
cursorDetails(value);
|
|
3082
3082
|
}, "validateMeetingSeriesInventoryCursor");
|
|
3083
3083
|
|
|
3084
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3084
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
3085
3085
|
var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
|
|
3086
3086
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
3087
3087
|
const zone = timeZone ?? "UTC";
|
|
@@ -3216,7 +3216,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
3216
3216
|
};
|
|
3217
3217
|
}, "aggregateMeetingStats");
|
|
3218
3218
|
|
|
3219
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3219
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/domain/money.js
|
|
3220
3220
|
var CURRENCY_SCALES = {
|
|
3221
3221
|
AED: 2,
|
|
3222
3222
|
AMD: 2,
|
|
@@ -3301,7 +3301,7 @@ var quantityOf = /* @__PURE__ */ __name((text6) => {
|
|
|
3301
3301
|
}, "quantityOf");
|
|
3302
3302
|
var lineUnits = /* @__PURE__ */ __name((thousandths, unitPrice) => Number((thousandths * BigInt(unitPrice) + 500n) / 1000n), "lineUnits");
|
|
3303
3303
|
|
|
3304
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3304
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/domain/finance.js
|
|
3305
3305
|
var INVOICE_DIRECTIONS = ["receivable", "payable"];
|
|
3306
3306
|
var INVOICE_STATUSES = ["draft", "issued", "partly_paid", "paid", "void"];
|
|
3307
3307
|
var MONEY_DIRECTIONS = ["in", "out"];
|
|
@@ -3330,7 +3330,7 @@ var paymentLine = /* @__PURE__ */ __name((payment) => {
|
|
|
3330
3330
|
var invoiceTitle = /* @__PURE__ */ __name((invoice) => `Invoice ${invoiceLine(invoice)}`, "invoiceTitle");
|
|
3331
3331
|
var paymentEntryTitle = /* @__PURE__ */ __name((payment) => `Payment \xB7 ${paymentLine(payment)}`, "paymentEntryTitle");
|
|
3332
3332
|
|
|
3333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3333
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/tasks/model.js
|
|
3334
3334
|
var TASK_KINDS = ["question", "request", "mention", "promise"];
|
|
3335
3335
|
var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
|
|
3336
3336
|
var CLOSED_STATES = ["done", "dismissed"];
|
|
@@ -3345,13 +3345,13 @@ function closeTask(task, state, by, at, reason) {
|
|
|
3345
3345
|
}
|
|
3346
3346
|
__name(closeTask, "closeTask");
|
|
3347
3347
|
|
|
3348
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3348
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/tasks/store.js
|
|
3349
3349
|
function matches2(task, filter) {
|
|
3350
3350
|
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);
|
|
3351
3351
|
}
|
|
3352
3352
|
__name(matches2, "matches");
|
|
3353
3353
|
|
|
3354
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3354
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/tasks/priority.js
|
|
3355
3355
|
var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
|
|
3356
3356
|
var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
|
|
3357
3357
|
var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
|
|
@@ -3380,7 +3380,7 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
|
|
|
3380
3380
|
}, "priorityOf");
|
|
3381
3381
|
var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
|
|
3382
3382
|
|
|
3383
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3383
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/tasks/service.js
|
|
3384
3384
|
function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
|
|
3385
3385
|
async function find(id4) {
|
|
3386
3386
|
const task = await store.get(id4);
|
|
@@ -3440,7 +3440,7 @@ function median(values) {
|
|
|
3440
3440
|
}
|
|
3441
3441
|
__name(median, "median");
|
|
3442
3442
|
|
|
3443
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3443
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
|
|
3444
3444
|
var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
|
|
3445
3445
|
var MEMORY_KINDS = ["summary", "digest", "preference"];
|
|
3446
3446
|
var MEMORY_STATUSES = ["proposed", "confirmed", "stale", "superseded"];
|
|
@@ -3448,7 +3448,7 @@ var MEMORY_SCOPES = ["personal", "work"];
|
|
|
3448
3448
|
var WORK_TASK_TYPES = ["bug", "feature", "chore"];
|
|
3449
3449
|
var TASK_TYPES2 = [...WORK_TASK_TYPES, ...TASK_KINDS];
|
|
3450
3450
|
|
|
3451
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3451
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/domain/orders.js
|
|
3452
3452
|
var ORDER_STATUSES = ["placed", "shipped", "delivered", "cancelled", "returned"];
|
|
3453
3453
|
var ORDER_PURPOSES = ["personal", "business", "client", "other"];
|
|
3454
3454
|
var orderLine = /* @__PURE__ */ __name((order) => {
|
|
@@ -3458,7 +3458,7 @@ var orderLine = /* @__PURE__ */ __name((order) => {
|
|
|
3458
3458
|
}, "orderLine");
|
|
3459
3459
|
var orderTitle = /* @__PURE__ */ __name((order) => `Order ${orderLine(order)}`, "orderTitle");
|
|
3460
3460
|
|
|
3461
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3461
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
|
|
3462
3462
|
var LINK_KINDS = [
|
|
3463
3463
|
"links-to",
|
|
3464
3464
|
"blocked-by",
|
|
@@ -3479,7 +3479,7 @@ var LINK_SOURCES = [...LINK_ORIGINS, "calendar"];
|
|
|
3479
3479
|
var RELATION_KINDS = ["member-of", "related-to"];
|
|
3480
3480
|
var linkKind = /* @__PURE__ */ __name((kind) => `'${kind}'`, "linkKind");
|
|
3481
3481
|
|
|
3482
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3482
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/domain/tags.js
|
|
3483
3483
|
var TAG_TYPES = ["chat", "contact", "message", "task"];
|
|
3484
3484
|
var TAG = /^[a-z0-9-]{1,32}$/;
|
|
3485
3485
|
var tagOf = /* @__PURE__ */ __name((value) => {
|
|
@@ -3493,7 +3493,7 @@ var normalizeTag = /* @__PURE__ */ __name((value) => {
|
|
|
3493
3493
|
return tag;
|
|
3494
3494
|
}, "normalizeTag");
|
|
3495
3495
|
|
|
3496
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3496
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
3497
3497
|
var text5 = string();
|
|
3498
3498
|
var id3 = pipe(string(), minLength(1));
|
|
3499
3499
|
var time = isoTime;
|
|
@@ -3517,7 +3517,7 @@ var author = strictObject({
|
|
|
3517
3517
|
name: nullable(text5)
|
|
3518
3518
|
});
|
|
3519
3519
|
|
|
3520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
3521
3521
|
var organization = strictObject({
|
|
3522
3522
|
id: id3,
|
|
3523
3523
|
ref: reference,
|