@wirecat/mail-cli 0.31.0 → 0.32.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/CHANGELOG.md +9 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-XL62TNUO.js → all-profiles-OTCWJSJS.js} +6 -6
- package/dist/bundle/{anthropic-3MSWVYCE.js → anthropic-GUXHDK32.js} +2 -2
- package/dist/bundle/{app-server-RRNR5XFA.js → app-server-GX7DOE4O.js} +43 -43
- package/dist/bundle/{bun-E3F3PEQQ.js → bun-V5QLYBZU.js} +2 -2
- package/dist/bundle/{bun-sqlite-UOFN77LO.js → bun-sqlite-AXD5CCO3.js} +3 -3
- package/dist/bundle/{chunk-UFMR2TB3.js → chunk-2IYAZRTC.js} +2 -2
- package/dist/bundle/{chunk-GXBNTKJW.js → chunk-2UMEZY6D.js} +2 -2
- package/dist/bundle/{chunk-DPDS6IZJ.js → chunk-3URYKAJP.js} +1 -1
- package/dist/bundle/{chunk-FRXDSR45.js → chunk-4YNUQGDP.js} +1 -1
- package/dist/bundle/{chunk-H2QTUZ3C.js → chunk-6SJ7HHAE.js} +1 -1
- package/dist/bundle/{chunk-JLIVJSCF.js → chunk-6TRKNME5.js} +1 -1
- package/dist/bundle/{chunk-I5Y6Y7Q5.js → chunk-6XNTELM5.js} +1 -1
- package/dist/bundle/{chunk-D6D6JLXG.js → chunk-7GW4D3OW.js} +18 -17
- package/dist/bundle/{chunk-NEJU74O4.js → chunk-AJY2IT25.js} +6 -6
- package/dist/bundle/{chunk-7E7YXQ52.js → chunk-ANYADN3S.js} +17 -17
- package/dist/bundle/{chunk-ITU6K7LU.js → chunk-CAQ5GW3A.js} +1 -1
- package/dist/bundle/{chunk-DZSS2IUK.js → chunk-CD3TAITM.js} +2 -2
- package/dist/bundle/{chunk-BNP7WLDQ.js → chunk-FA3B2DHZ.js} +1 -1
- package/dist/bundle/{chunk-DWBY7DMF.js → chunk-GDDCKTBR.js} +1 -1
- package/dist/bundle/{chunk-QVGCHTTU.js → chunk-GPOTPA3S.js} +10 -10
- package/dist/bundle/{chunk-DCR3IWC7.js → chunk-GSXCMQWV.js} +31 -30
- package/dist/bundle/{chunk-THZHNCJP.js → chunk-HFA6AZWA.js} +3 -3
- package/dist/bundle/{chunk-NYQPKZWL.js → chunk-HUWQ7LXZ.js} +254 -264
- package/dist/bundle/{chunk-EMVLCION.js → chunk-IBCGCYRU.js} +1 -1
- package/dist/bundle/{chunk-HZCINHHS.js → chunk-IVD3JTN5.js} +1 -1
- package/dist/bundle/{chunk-3CJ4C6BB.js → chunk-JRGPPS6H.js} +12 -12
- package/dist/bundle/{chunk-LGDJDD5J.js → chunk-JUS4Y4BW.js} +3 -3
- package/dist/bundle/{chunk-EV5SR3OC.js → chunk-KLFF54AF.js} +7 -7
- package/dist/bundle/{chunk-JYGFEMTR.js → chunk-KLGZX6QT.js} +1 -1
- package/dist/bundle/{chunk-QANXOKYQ.js → chunk-LVFI3TCG.js} +5 -5
- package/dist/bundle/{chunk-PIXFZZUZ.js → chunk-LVJWN2PR.js} +6 -6
- package/dist/bundle/{chunk-NUN7DBR4.js → chunk-MENP3FF5.js} +11 -12
- package/dist/bundle/{chunk-P6CYVOL6.js → chunk-MHXZ62CU.js} +1 -1
- package/dist/bundle/{chunk-BXMLIKUM.js → chunk-MSK7RNOM.js} +149 -148
- package/dist/bundle/{chunk-I3BQ2QIY.js → chunk-MT2WDBG2.js} +12 -12
- package/dist/bundle/{chunk-KPFB2VUY.js → chunk-MVMNZ3Q3.js} +56 -56
- package/dist/bundle/{chunk-3V6J7VPF.js → chunk-NMN5JUYL.js} +3 -3
- package/dist/bundle/{chunk-5YRR52NH.js → chunk-O7OP5NQO.js} +1 -1
- package/dist/bundle/{chunk-WZGFC7D5.js → chunk-OUM4ZO53.js} +1 -1
- package/dist/bundle/{chunk-GZLCZU5B.js → chunk-PALY5PGE.js} +5 -5
- package/dist/bundle/{chunk-QSXJ2BVQ.js → chunk-PCMQYGEM.js} +4 -4
- package/dist/bundle/{chunk-MS5XYEYW.js → chunk-PCWAZVAD.js} +25 -4
- package/dist/bundle/{chunk-OP5ZLH53.js → chunk-QHXOXYAT.js} +52 -52
- package/dist/bundle/{chunk-BS6WYCNZ.js → chunk-RNBG75HW.js} +22 -22
- package/dist/bundle/{chunk-NV3WPD3B.js → chunk-SDAYOJLL.js} +5 -5
- package/dist/bundle/{chunk-DDCDOBZS.js → chunk-SEJBS7SI.js} +1 -1
- package/dist/bundle/{chunk-4BW5JACS.js → chunk-SWXKS7JK.js} +16 -16
- package/dist/bundle/{chunk-S2QO6KUI.js → chunk-SZZJOSIS.js} +2 -2
- package/dist/bundle/{chunk-PZL7DHVJ.js → chunk-T577U52I.js} +7 -7
- package/dist/bundle/{chunk-OXHQNEXU.js → chunk-TDTCCHAI.js} +3 -3
- package/dist/bundle/{chunk-GWKGZOSO.js → chunk-TWHIZJAZ.js} +2 -2
- package/dist/bundle/{chunk-T72DWT37.js → chunk-U346WBJ5.js} +4 -4
- package/dist/bundle/{chunk-4ME2NHNJ.js → chunk-U57QRUP7.js} +2 -2
- package/dist/bundle/{chunk-FYP2M6IT.js → chunk-U7RLFLTM.js} +23 -23
- package/dist/bundle/{chunk-BKRIIZPV.js → chunk-WNGMI6AZ.js} +2 -2
- package/dist/bundle/{chunk-SQA5JI7Q.js → chunk-WQOGHND4.js} +1 -1
- package/dist/bundle/{chunk-HZL3X4XR.js → chunk-XXXVVNGI.js} +18 -15
- package/dist/bundle/{chunk-TUXNILKR.js → chunk-Z6OKVD3R.js} +7 -7
- package/dist/bundle/{chunk-6UOUDIXL.js → chunk-ZAD7K4TI.js} +361 -361
- package/dist/bundle/{chunk-E3IOR37T.js → chunk-ZDP6A2VL.js} +2 -2
- package/dist/bundle/{command-contract-YRNKDQDL.js → command-contract-DZ6XRIOI.js} +15 -15
- package/dist/bundle/{command-server-entry-A3FCP24M.js → command-server-entry-BVXOPKXH.js} +21 -21
- package/dist/bundle/{decode-FI2ISRNZ.js → decode-STN3EHT7.js} +2 -2
- package/dist/bundle/{dist-NLOOZJ64.js → dist-B2JWWTNN.js} +11 -11
- package/dist/bundle/{echarts-PMAJUJFE.js → echarts-QIXLXS3G.js} +2 -2
- package/dist/bundle/{embed-OIMT6SAX.js → embed-4NC4ELYP.js} +3 -3
- package/dist/bundle/{embedder-Q5IF5WIM.js → embedder-HBRDIFQC.js} +6 -6
- package/dist/bundle/{first-run-4L53QWOT.js → first-run-6QF67AAZ.js} +6 -6
- package/dist/bundle/first-screen-LXSZMK2P.js +34 -0
- package/dist/bundle/{instructions-ZJGGGXOA.js → instructions-MD2RZT5Z.js} +1 -1
- package/dist/bundle/mail.js +2 -2
- package/dist/bundle/{node-DCSOHRD6.js → node-IEVT2FSJ.js} +2 -2
- package/dist/bundle/{node-sqlite-7F77K5JA.js → node-sqlite-EOTTDMOG.js} +4 -4
- package/dist/bundle/{oauth-LVPMEN6M.js → oauth-A5BEFGCI.js} +4 -4
- package/dist/bundle/{open-XM5LWEN6.js → open-HWN2EZYG.js} +2 -2
- package/dist/bundle/{openai-H2LCGK22.js → openai-PJKJ4CIU.js} +12 -12
- package/dist/bundle/{process-MFC5VSPT.js → process-6Q23D3TO.js} +1 -1
- package/dist/bundle/{program-ZQ43ZYKZ.js → program-WR43NPAV.js} +403 -381
- package/dist/bundle/{prompt-3LZAZNQ4.js → prompt-E7Q2662O.js} +2 -2
- package/dist/bundle/{recognize-GYQMHFY2.js → recognize-4F4PIL4B.js} +1 -1
- package/dist/bundle/{remote-P2MD5G64.js → remote-RGJXO7XK.js} +6 -6
- package/dist/bundle/{rerank-A5X6THV6.js → rerank-EDY7PHMG.js} +4 -4
- package/dist/bundle/{serve-IEC3EUKS.js → serve-Q4XF6ID2.js} +6 -6
- package/dist/bundle/server-2Y5NSP2U.js +67 -0
- package/dist/bundle/{server-3REPXFNI.js → server-5I72DSDF.js} +35 -35
- package/dist/bundle/{sqlite-runtime-AOLQGC5J.js → sqlite-runtime-PU3Z2H7C.js} +3 -3
- package/dist/bundle/{state-D3P5IXXA.js → state-CWSXJBU2.js} +3 -3
- package/dist/bundle/{store-MZCQXBVW.js → store-KQPKS3PX.js} +15 -15
- package/dist/bundle/{store-DIN6OY3K.js → store-ZAMKKM2A.js} +13 -13
- package/dist/bundle/store-maintenance-command-PMTTDR6J.js +58 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/first-screen-ZPQLAAIS.js +0 -34
- package/dist/bundle/server-E2QTFURI.js +0 -67
- package/dist/bundle/store-maintenance-command-UMVFI6M6.js +0 -58
|
@@ -2,18 +2,18 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
validateFormattedText
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LVJWN2PR.js";
|
|
6
6
|
import {
|
|
7
7
|
inputPolicy
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IVD3JTN5.js";
|
|
9
9
|
import {
|
|
10
10
|
RECORDS_SCHEMA_VERSION,
|
|
11
11
|
RECORD_TYPES,
|
|
12
12
|
pointerOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ANYADN3S.js";
|
|
14
14
|
import {
|
|
15
15
|
parseReference
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MVMNZ3Q3.js";
|
|
17
17
|
import {
|
|
18
18
|
indent
|
|
19
19
|
} from "./chunk-7MEVD5PI.js";
|
|
@@ -24,12 +24,12 @@ import {
|
|
|
24
24
|
__name
|
|
25
25
|
} from "./chunk-ZVVMGPBJ.js";
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/domain/checks.js
|
|
28
28
|
var spelled = /* @__PURE__ */ __name((check, args) => `${check.replaceAll(".", " ")}${args === void 0 ? "" : ` ${args}`}`, "spelled");
|
|
29
29
|
var bareCheck = /* @__PURE__ */ __name((check, args) => `\`${spelled(check, args)}\``, "bareCheck");
|
|
30
30
|
var checkWords = /* @__PURE__ */ __name((command, profile) => (check, args) => `\`${command} ${profile === void 0 ? "" : `${profile} `}${spelled(check, args)}\``, "checkWords");
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/domain/links.js
|
|
33
33
|
var LINK_VERSION = "v1";
|
|
34
34
|
var DEFAULT_LINK_CONFIG = { base: "https://wirecat.dev/o", enabled: true };
|
|
35
35
|
var APP_PREFIX = "wirecat://open";
|
|
@@ -146,7 +146,7 @@ var linkFor = /* @__PURE__ */ __name((ref, { form, config = DEFAULT_LINK_CONFIG,
|
|
|
146
146
|
return form === "app" ? `${APP_PREFIX}${path}` : `${config.base}#${path}`;
|
|
147
147
|
}, "linkFor");
|
|
148
148
|
|
|
149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
149
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/domain/markdown.js
|
|
150
150
|
var MARKERS = [
|
|
151
151
|
["**", "bold"],
|
|
152
152
|
["~~", "strike"],
|
|
@@ -192,7 +192,7 @@ var closing = /* @__PURE__ */ __name((input, open, marker) => {
|
|
|
192
192
|
return end;
|
|
193
193
|
}, "closing");
|
|
194
194
|
|
|
195
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
195
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/domain/markdown-spans.js
|
|
196
196
|
var STYLES = [
|
|
197
197
|
["**", "bold"],
|
|
198
198
|
["__", "underline"],
|
|
@@ -352,7 +352,7 @@ var parseMarkdownSpans = /* @__PURE__ */ __name((input) => {
|
|
|
352
352
|
return validateFormattedText(result);
|
|
353
353
|
}, "parseMarkdownSpans");
|
|
354
354
|
|
|
355
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
355
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/domain/polls.js
|
|
356
356
|
var countedPoll = /* @__PURE__ */ __name((poll, votes, self) => {
|
|
357
357
|
const cast = votes.filter((vote) => vote.answers.length > 0);
|
|
358
358
|
const mine = self === null ? void 0 : votes.find((vote) => vote.person.id === self);
|
|
@@ -367,7 +367,7 @@ var countedPoll = /* @__PURE__ */ __name((poll, votes, self) => {
|
|
|
367
367
|
};
|
|
368
368
|
}, "countedPoll");
|
|
369
369
|
|
|
370
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
370
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/domain/records-table.js
|
|
371
371
|
var TABLE_RECORD_TYPES = Object.keys(RECORD_TYPES).filter((type) => RECORD_TYPES[type].sheet !== false);
|
|
372
372
|
var TableError = class extends Error {
|
|
373
373
|
static {
|
|
@@ -2357,7 +2357,7 @@ var createDataURL = /* @__PURE__ */ __name(function(width, height, getPixel) {
|
|
|
2357
2357
|
var qrcode_default = qrcode;
|
|
2358
2358
|
var stringToBytes = qrcode.stringToBytes;
|
|
2359
2359
|
|
|
2360
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2360
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/terminal/qr.js
|
|
2361
2361
|
var QUIET_ZONE = 4;
|
|
2362
2362
|
var BLACK_ON_WHITE = "\x1B[30;107m";
|
|
2363
2363
|
var RESET = "\x1B[0m";
|
|
@@ -2404,7 +2404,7 @@ var plainQr = /* @__PURE__ */ __name((link) => {
|
|
|
2404
2404
|
return lines.join("\n");
|
|
2405
2405
|
}, "plainQr");
|
|
2406
2406
|
|
|
2407
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2407
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/terminal/login-qr.js
|
|
2408
2408
|
var MARGIN = 2;
|
|
2409
2409
|
var atTerminal = /* @__PURE__ */ __name((input) => input.isTTY === true && !inputPolicy(input).noInput, "atTerminal");
|
|
2410
2410
|
var PASTE_QR = "agents: paste the QR code above into the chat as a code block, exactly as printed; when a new one is printed, paste it and say the old one expired";
|
|
@@ -856,7 +856,7 @@ var QUERY_REASONS = defineReasons([
|
|
|
856
856
|
details: [...SPAN, ...details]
|
|
857
857
|
})));
|
|
858
858
|
|
|
859
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
859
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/search/service-query.js
|
|
860
860
|
var BACKENDS = ["archive", "server", "both"];
|
|
861
861
|
var MAX_BRANCHES = 64;
|
|
862
862
|
var some = /* @__PURE__ */ __name((value) => value === void 0 ? [] : [value], "some");
|
|
@@ -892,7 +892,7 @@ var windowOf = /* @__PURE__ */ __name(({ lower, upper, lower_inclusive, upper_in
|
|
|
892
892
|
...upper === void 0 ? {} : { to: upper_inclusive ? upper : upper - 1 }
|
|
893
893
|
}), "windowOf");
|
|
894
894
|
|
|
895
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
895
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
896
896
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
897
897
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
898
898
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -929,7 +929,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text5) => {
|
|
|
929
929
|
}, "parseMeetingReference");
|
|
930
930
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text5) => formatMeetingReference(parseMeetingReference(text5)), "canonicalMeetingReference");
|
|
931
931
|
|
|
932
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
932
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/payment.js
|
|
933
933
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
934
934
|
var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
|
|
935
935
|
var PAYMENT_STATES = ["expected", "paid", "cancelled"];
|
|
@@ -1023,7 +1023,7 @@ var paymentTitle = /* @__PURE__ */ __name((fact) => {
|
|
|
1023
1023
|
return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
|
|
1024
1024
|
}, "paymentTitle");
|
|
1025
1025
|
|
|
1026
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1026
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
1027
1027
|
var text = string();
|
|
1028
1028
|
var count = pipe(number(), integer(), minValue(0));
|
|
1029
1029
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -1113,11 +1113,11 @@ var MEETING_QUERY = {
|
|
|
1113
1113
|
})
|
|
1114
1114
|
};
|
|
1115
1115
|
|
|
1116
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1116
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/store.js
|
|
1117
1117
|
var MEETING_DOCUMENT_ROLES = ["transcript", "recording", "notes"];
|
|
1118
1118
|
var READ_BUDGET_EXCEEDED = "Meeting search exceeds its stored text byte budget";
|
|
1119
1119
|
|
|
1120
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1120
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
1121
1121
|
var text2 = string();
|
|
1122
1122
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
1123
1123
|
var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
@@ -1372,7 +1372,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
1372
1372
|
};
|
|
1373
1373
|
}, "meetingHitsList");
|
|
1374
1374
|
|
|
1375
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1375
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
1376
1376
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
1377
1377
|
const parsed = urlOf(url);
|
|
1378
1378
|
if (!parsed)
|
|
@@ -1406,7 +1406,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
1406
1406
|
}
|
|
1407
1407
|
}, "urlOf");
|
|
1408
1408
|
|
|
1409
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1409
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
1410
1410
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
1411
1411
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
1412
1412
|
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");
|
|
@@ -1443,7 +1443,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
1443
1443
|
return kept;
|
|
1444
1444
|
}, "entryMetadata");
|
|
1445
1445
|
|
|
1446
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1446
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
1447
1447
|
import { createHash } from "node:crypto";
|
|
1448
1448
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
1449
1449
|
reference: cue2.reference,
|
|
@@ -1457,7 +1457,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
1457
1457
|
text: cue2.text
|
|
1458
1458
|
})).digest("hex"), "meetingCueFingerprint");
|
|
1459
1459
|
|
|
1460
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1460
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
1461
1461
|
var EVENT_QUERY = defineQuery({
|
|
1462
1462
|
entity: "event",
|
|
1463
1463
|
backend: "sql",
|
|
@@ -1473,7 +1473,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
1473
1473
|
]
|
|
1474
1474
|
});
|
|
1475
1475
|
|
|
1476
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1476
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
1477
1477
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
1478
1478
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
1479
1479
|
if (entry.recurrenceEndsAt !== null)
|
|
@@ -1496,7 +1496,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
|
|
|
1496
1496
|
return Math.max(entry.endsAt ?? start, start + 1) > window.from;
|
|
1497
1497
|
}, "entryInWindow");
|
|
1498
1498
|
|
|
1499
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1499
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
1500
1500
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now(), { create = true } = {}) => {
|
|
1501
1501
|
const current = await store.meeting(details.meeting.id);
|
|
1502
1502
|
if (!current)
|
|
@@ -1541,7 +1541,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now(),
|
|
|
1541
1541
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
1542
1542
|
}, "linkEvent");
|
|
1543
1543
|
|
|
1544
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1544
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
1545
1545
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text5) => text5.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
1546
1546
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
1547
1547
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -1565,7 +1565,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
1565
1565
|
};
|
|
1566
1566
|
}, "validateMeetingParticipantSearch");
|
|
1567
1567
|
|
|
1568
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1568
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
1569
1569
|
var MeetingError = class extends CliError {
|
|
1570
1570
|
static {
|
|
1571
1571
|
__name(this, "MeetingError");
|
|
@@ -1696,7 +1696,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id3, accountId)
|
|
|
1696
1696
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
1697
1697
|
}, "meetingSummaryAnswer");
|
|
1698
1698
|
|
|
1699
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1699
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
1700
1700
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
1701
1701
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
1702
1702
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -1792,10 +1792,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id3, options) => {
|
|
|
1792
1792
|
};
|
|
1793
1793
|
}, "exportMeeting");
|
|
1794
1794
|
|
|
1795
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1795
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1796
1796
|
import { createHash as createHash2 } from "node:crypto";
|
|
1797
1797
|
|
|
1798
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1798
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
1799
1799
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
1800
1800
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
1801
1801
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone, such as 2026-11-09T09:00:00Z`);
|
|
@@ -1806,7 +1806,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
1806
1806
|
return new Date(value).toISOString();
|
|
1807
1807
|
}, "meetingTimestamp");
|
|
1808
1808
|
|
|
1809
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1809
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1810
1810
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
1811
1811
|
var invalid3 = /* @__PURE__ */ __name((message) => {
|
|
1812
1812
|
throw new CliError("validation_error", message);
|
|
@@ -1981,7 +1981,7 @@ var validateBatch = /* @__PURE__ */ __name((input, rules, most, one) => {
|
|
|
1981
1981
|
var validateFindings = /* @__PURE__ */ __name((input, rules) => validateBatch(input, rules, 16, (finding, ids2) => validateFinding(finding, rules, ids2)), "validateFindings");
|
|
1982
1982
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
1983
1983
|
|
|
1984
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1984
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
1985
1985
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
1986
1986
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
1987
1987
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -1992,7 +1992,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
1992
1992
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
1993
1993
|
var meetingFindingFingerprint = findingFingerprint;
|
|
1994
1994
|
|
|
1995
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1995
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
1996
1996
|
var context = {
|
|
1997
1997
|
command: "search meetings",
|
|
1998
1998
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -2104,7 +2104,7 @@ var liftMeetingFields = /* @__PURE__ */ __name((query, request, now, timezone) =
|
|
|
2104
2104
|
}, "liftMeetingFields");
|
|
2105
2105
|
var parseMeetingQuery = /* @__PURE__ */ __name((query) => validateQuery(parseLucene(query, { defaultField: "text", proximity: true, ...context }), MEETING_HIT_QUERY, context), "parseMeetingQuery");
|
|
2106
2106
|
|
|
2107
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2107
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/language.js
|
|
2108
2108
|
var LATIN_WORDS = {
|
|
2109
2109
|
en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
|
|
2110
2110
|
es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
|
|
@@ -2153,7 +2153,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
|
|
|
2153
2153
|
return null;
|
|
2154
2154
|
}, "transcriptLanguage");
|
|
2155
2155
|
|
|
2156
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2156
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
2157
2157
|
var contentHash = /* @__PURE__ */ __name(async (text5) => {
|
|
2158
2158
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text5));
|
|
2159
2159
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -2190,7 +2190,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
2190
2190
|
return time;
|
|
2191
2191
|
}, "timestamp");
|
|
2192
2192
|
|
|
2193
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2193
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
2194
2194
|
var TranscriptTextError = class extends Error {
|
|
2195
2195
|
static {
|
|
2196
2196
|
__name(this, "TranscriptTextError");
|
|
@@ -2245,7 +2245,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
2245
2245
|
return { header, lines };
|
|
2246
2246
|
}, "parseTranscriptText");
|
|
2247
2247
|
|
|
2248
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2248
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
2249
2249
|
var VttError = class extends Error {
|
|
2250
2250
|
static {
|
|
2251
2251
|
__name(this, "VttError");
|
|
@@ -2297,7 +2297,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
2297
2297
|
return cues;
|
|
2298
2298
|
}, "parseVtt");
|
|
2299
2299
|
|
|
2300
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2300
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
2301
2301
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
2302
2302
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
2303
2303
|
for (const file of files) {
|
|
@@ -2330,10 +2330,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
2330
2330
|
return report;
|
|
2331
2331
|
}, "importFiles");
|
|
2332
2332
|
|
|
2333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2333
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
2334
2334
|
var CHAT_MESSAGES_READ = 1e5;
|
|
2335
2335
|
|
|
2336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2336
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
2337
2337
|
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
2338
2338
|
if (typeof value !== "string" || !value.trim())
|
|
2339
2339
|
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
@@ -2384,7 +2384,7 @@ var validateMeetingChange = /* @__PURE__ */ __name((change, create) => {
|
|
|
2384
2384
|
return Object.freeze(result);
|
|
2385
2385
|
}, "validateMeetingChange");
|
|
2386
2386
|
|
|
2387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
2388
2388
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
2389
2389
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
2390
2390
|
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)))
|
|
@@ -2397,7 +2397,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
2397
2397
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
2398
2398
|
}, "validateMeetingPassage");
|
|
2399
2399
|
|
|
2400
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2400
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
2401
2401
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
2402
2402
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2403
2403
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -2422,7 +2422,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
2422
2422
|
return { ...input, limit, maxReadBytes };
|
|
2423
2423
|
}, "validateMeetingPreparationContext");
|
|
2424
2424
|
|
|
2425
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2425
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
2426
2426
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
2427
2427
|
var id = pipe(string(), minLength(1));
|
|
2428
2428
|
var meetingProjectEvidence = strictObject({
|
|
@@ -2543,7 +2543,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
2543
2543
|
};
|
|
2544
2544
|
}, "meetingProjectEvidenceAnswer");
|
|
2545
2545
|
|
|
2546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2546
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
2547
2547
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
2548
2548
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
2549
2549
|
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) || [
|
|
@@ -2563,7 +2563,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
2563
2563
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
2564
2564
|
}, "validateMeetingHitSearch");
|
|
2565
2565
|
|
|
2566
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2566
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
2567
2567
|
var ids = {
|
|
2568
2568
|
meeting_id: "meetingId",
|
|
2569
2569
|
identity_id: "participantIdentityId",
|
|
@@ -2654,7 +2654,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
|
|
|
2654
2654
|
return { project: project.trim(), options, query: frozen.join(" AND ") };
|
|
2655
2655
|
}, "prepareMeetingProjectEvidence");
|
|
2656
2656
|
|
|
2657
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2657
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
2658
2658
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
|
|
2659
2659
|
const prepared = prepareMeetingProjectEvidence(project, request, now);
|
|
2660
2660
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -2662,7 +2662,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
|
|
|
2662
2662
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
2663
2663
|
}, "readMeetingProjectEvidence");
|
|
2664
2664
|
|
|
2665
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2665
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
2666
2666
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
2667
2667
|
const { identityExternalId, phone, ...fields } = p;
|
|
2668
2668
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -2862,7 +2862,7 @@ var pull = /* @__PURE__ */ __name(async (source, store, options) => {
|
|
|
2862
2862
|
return report;
|
|
2863
2863
|
}, "pull");
|
|
2864
2864
|
|
|
2865
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2865
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
2866
2866
|
var text3 = string();
|
|
2867
2867
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2868
2868
|
var id2 = pipe(number(), integer(), minValue(1));
|
|
@@ -3057,7 +3057,7 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
3057
3057
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
3058
3058
|
}), "eventItem");
|
|
3059
3059
|
|
|
3060
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3060
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/read-through.js
|
|
3061
3061
|
var MEETING_SERVER_BOUNDS = { calls: 3, pages: 2 };
|
|
3062
3062
|
var ISSUES = {
|
|
3063
3063
|
offline: ["permission_error", "meetings.server-offline"],
|
|
@@ -3338,10 +3338,10 @@ var meetingShowThrough = /* @__PURE__ */ __name(async (source, store, accountId,
|
|
|
3338
3338
|
return { details: fresh, foundIn: step.found.get(details.meeting.id) ?? "server", server: step.report };
|
|
3339
3339
|
}, "meetingShowThrough");
|
|
3340
3340
|
|
|
3341
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3341
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
3342
3342
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
3343
3343
|
|
|
3344
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3344
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
3345
3345
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
3346
3346
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
3347
3347
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -3371,7 +3371,7 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
3371
3371
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
3372
3372
|
}, "validateMeetingRelatedHistory");
|
|
3373
3373
|
|
|
3374
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3374
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
3375
3375
|
var text4 = string();
|
|
3376
3376
|
var identifier = pipe(text4, minLength(1));
|
|
3377
3377
|
var nullableText = nullable(text4);
|
|
@@ -3535,14 +3535,14 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
3535
3535
|
meeting_repair: repair
|
|
3536
3536
|
};
|
|
3537
3537
|
|
|
3538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3538
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
3539
3539
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
3540
3540
|
|
|
3541
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3541
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
3542
3542
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
3543
3543
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
3544
3544
|
|
|
3545
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3545
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
3546
3546
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
3547
3547
|
input.signal?.throwIfAborted();
|
|
3548
3548
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -3563,10 +3563,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
3563
3563
|
return { ...input, limit, maxReadBytes };
|
|
3564
3564
|
}, "validateMeetingSeriesHistory");
|
|
3565
3565
|
|
|
3566
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3566
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
3567
3567
|
var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
|
|
3568
3568
|
|
|
3569
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3569
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
3570
3570
|
function invalid4(field, response = false) {
|
|
3571
3571
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
3572
3572
|
}
|
|
@@ -3595,7 +3595,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
3595
3595
|
cursorDetails(value);
|
|
3596
3596
|
}, "validateMeetingSeriesInventoryCursor");
|
|
3597
3597
|
|
|
3598
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3598
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
3599
3599
|
var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
|
|
3600
3600
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
3601
3601
|
const zone = timeZone ?? "UTC";
|
|
@@ -3730,7 +3730,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
3730
3730
|
};
|
|
3731
3731
|
}, "aggregateMeetingStats");
|
|
3732
3732
|
|
|
3733
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3733
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/domain/locator.js
|
|
3734
3734
|
var SCHEME = "msg:";
|
|
3735
3735
|
var formatLocator = /* @__PURE__ */ __name(({ provider, account, chat, message }) => SCHEME + [provider, account, chat, message].map(encodeURIComponent).join("/"), "formatLocator");
|
|
3736
3736
|
var isLocator = /* @__PURE__ */ __name((reference2) => reference2.trim().startsWith(SCHEME), "isLocator");
|
|
@@ -3751,7 +3751,7 @@ var parseLocator = /* @__PURE__ */ __name((reference2) => {
|
|
|
3751
3751
|
return { provider, account, chat, message };
|
|
3752
3752
|
}, "parseLocator");
|
|
3753
3753
|
|
|
3754
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3754
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/domain/references.js
|
|
3755
3755
|
var SIMPLE_REFERENCES = [
|
|
3756
3756
|
"note",
|
|
3757
3757
|
"document",
|
|
@@ -3914,7 +3914,7 @@ var looksLikeReference = /* @__PURE__ */ __name((text5) => {
|
|
|
3914
3914
|
return match !== null && byPrefix.has(match[1]);
|
|
3915
3915
|
}, "looksLikeReference");
|
|
3916
3916
|
|
|
3917
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3917
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/domain/providers.js
|
|
3918
3918
|
var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events", "crm"];
|
|
3919
3919
|
var MESSENGER_OPENS = { chat: "messages list", message: "messages show", contact: "contacts show" };
|
|
3920
3920
|
var CRM_OPENS = { deal: "deals show", lead: "leads show", pipeline: "pipelines show" };
|
|
@@ -4090,7 +4090,7 @@ var holdsKind = /* @__PURE__ */ __name((provider, kind3) => kindsIn(provider).in
|
|
|
4090
4090
|
var holdsKindOf = /* @__PURE__ */ __name((provider, kind3) => kindIn(provider) === void 0 ? kind3 === "messages" : holdsKind(provider, kind3), "holdsKindOf");
|
|
4091
4091
|
var kindOf2 = /* @__PURE__ */ __name((provider) => kindIn(provider) ?? "messages", "kindOf");
|
|
4092
4092
|
|
|
4093
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4093
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/domain/money.js
|
|
4094
4094
|
var CURRENCY_SCALES = {
|
|
4095
4095
|
AED: 2,
|
|
4096
4096
|
AMD: 2,
|
|
@@ -4184,7 +4184,7 @@ var quantityOf = /* @__PURE__ */ __name((text5) => {
|
|
|
4184
4184
|
}, "quantityOf");
|
|
4185
4185
|
var lineUnits = /* @__PURE__ */ __name((thousandths, unitPrice) => Number((thousandths * BigInt(unitPrice) + 500n) / 1000n), "lineUnits");
|
|
4186
4186
|
|
|
4187
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4187
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/domain/deals.js
|
|
4188
4188
|
var DEAL_KINDS = ["deal", "lead"];
|
|
4189
4189
|
var DEAL_STATUSES = ["open", "won", "lost"];
|
|
4190
4190
|
var STAGE_OUTCOMES = DEAL_STATUSES;
|
|
@@ -4194,7 +4194,7 @@ var dealLine = /* @__PURE__ */ __name((deal) => {
|
|
|
4194
4194
|
return `${deal.title} \xB7 ${deal.stage}${money}${deal.status === "open" ? "" : ` (${deal.status})`}`;
|
|
4195
4195
|
}, "dealLine");
|
|
4196
4196
|
|
|
4197
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4197
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/domain/finance.js
|
|
4198
4198
|
var INVOICE_DIRECTIONS = ["receivable", "payable"];
|
|
4199
4199
|
var INVOICE_STATUSES = ["draft", "issued", "partly_paid", "paid", "void"];
|
|
4200
4200
|
var MONEY_DIRECTIONS = ["in", "out"];
|
|
@@ -4223,7 +4223,7 @@ var paymentLine = /* @__PURE__ */ __name((payment) => {
|
|
|
4223
4223
|
var invoiceTitle = /* @__PURE__ */ __name((invoice) => `Invoice ${invoiceLine(invoice)}`, "invoiceTitle");
|
|
4224
4224
|
var paymentEntryTitle = /* @__PURE__ */ __name((payment) => `Payment \xB7 ${paymentLine(payment)}`, "paymentEntryTitle");
|
|
4225
4225
|
|
|
4226
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4226
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/domain/orders.js
|
|
4227
4227
|
var ORDER_STATUSES = ["placed", "shipped", "delivered", "cancelled", "returned"];
|
|
4228
4228
|
var ORDER_PURPOSES = ["personal", "business", "client", "other"];
|
|
4229
4229
|
var orderLine = /* @__PURE__ */ __name((order) => {
|
|
@@ -4234,7 +4234,7 @@ var orderLine = /* @__PURE__ */ __name((order) => {
|
|
|
4234
4234
|
}, "orderLine");
|
|
4235
4235
|
var orderTitle = /* @__PURE__ */ __name((order) => `Order ${orderLine(order)}`, "orderTitle");
|
|
4236
4236
|
|
|
4237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4237
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/domain/relations.js
|
|
4238
4238
|
var ORGANIZATION_ROLES = [
|
|
4239
4239
|
"employee",
|
|
4240
4240
|
"contractor",
|
|
@@ -4341,7 +4341,7 @@ var KEYED = "kind IN ('member-of', 'related-to', 'reports-to', 'customer-of', 'p
|
|
|
4341
4341
|
var notOverriddenSql = /* @__PURE__ */ __name((alias) => `NOT EXISTS (SELECT 1 FROM links override WHERE ${KEYED} AND override.kind = ${alias}.kind AND override.from_type = ${alias}.from_type AND override.from_id = ${alias}.from_id AND override.to_type = ${alias}.to_type AND override.to_id = ${alias}.to_id AND json_extract(override.metadata, '$.overrides') = ${alias}.id)`, "notOverriddenSql");
|
|
4342
4342
|
var usableLinkSql = /* @__PURE__ */ __name((alias, now) => `(${alias}.confirmed = 1 OR (${alias}.account_id IS NOT NULL AND ${alias}.deleted_at IS NULL))` + (now === void 0 ? "" : ` AND (${alias}.ends_at IS NULL OR ${alias}.ends_at > ${Math.trunc(now)})`), "usableLinkSql");
|
|
4343
4343
|
|
|
4344
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4344
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/domain/crm.js
|
|
4345
4345
|
var CRM_KINDS = ["organization", "person", "deal", "lead"];
|
|
4346
4346
|
var CRM_ACTIVITY_KINDS = ["call", "email", "meeting", "todo", "task", "comment", "other"];
|
|
4347
4347
|
var isCrmUserId = /* @__PURE__ */ __name((id3) => /^\d{1,20}$/.test(id3), "isCrmUserId");
|
|
@@ -4351,7 +4351,7 @@ var normalCrmUserId = /* @__PURE__ */ __name((id3) => {
|
|
|
4351
4351
|
}, "normalCrmUserId");
|
|
4352
4352
|
var isItemKind = /* @__PURE__ */ __name((kind3) => kind3 === "deal" || kind3 === "lead", "isItemKind");
|
|
4353
4353
|
|
|
4354
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4354
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/domain/tags.js
|
|
4355
4355
|
var TAG_TYPES = ["chat", "contact", "message", "task"];
|
|
4356
4356
|
var TAG = /^[a-z0-9-]{1,32}$/;
|
|
4357
4357
|
var tagOf = /* @__PURE__ */ __name((value) => {
|
|
@@ -4365,7 +4365,7 @@ var normalizeTag = /* @__PURE__ */ __name((value) => {
|
|
|
4365
4365
|
return tag;
|
|
4366
4366
|
}, "normalizeTag");
|
|
4367
4367
|
|
|
4368
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4368
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/domain/business.js
|
|
4369
4369
|
var CATALOG_KINDS = ["product", "service"];
|
|
4370
4370
|
var BUSINESS_KINDS = ["invoice", "payment", "order", "contract", "subscription", "product", "wallet"];
|
|
4371
4371
|
var CONTRACT_KINDS = ["sale", "purchase", "service", "lease", "employment", "nda", "license", "other"];
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
answerSchema,
|
|
7
7
|
describeOptions,
|
|
8
8
|
metaOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MSK7RNOM.js";
|
|
10
10
|
import {
|
|
11
11
|
keyForCommand
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PCWAZVAD.js";
|
|
13
13
|
import {
|
|
14
14
|
jsonSchemaOf
|
|
15
15
|
} from "./chunk-ECZSYLSL.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
__name
|
|
21
21
|
} from "./chunk-ZVVMGPBJ.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
24
24
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
25
25
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
26
26
|
const entity = answerEntitySchema(command);
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
__name
|
|
9
9
|
} from "./chunk-ZVVMGPBJ.js";
|
|
10
10
|
|
|
11
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/errors/failures.js
|
|
12
12
|
var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
|
|
13
13
|
var isCommanderFailure = /* @__PURE__ */ __name((value) => {
|
|
14
14
|
const { code, exitCode } = value ?? {};
|