@wirecat/cli-memo 0.131.78 → 0.131.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-ZEUEPNFD.js → all-profiles-ZMIHTBZD.js} +9 -9
- package/dist/bundle/{anthropic-VF75LSDZ.js → anthropic-PNRUKJHS.js} +6 -6
- package/dist/bundle/{app-server-Z4TY5VP5.js → app-server-RNASTWZO.js} +41 -41
- package/dist/bundle/auto-TRSJQGJH.js +91 -0
- package/dist/bundle/{bun-OUR5UZAI.js → bun-QU4I5GWB.js} +2 -2
- package/dist/bundle/{bun-sqlite-26ZGEVH3.js → bun-sqlite-J4KG5VML.js} +10 -6
- package/dist/bundle/{chunk-EIQ6HCIB.js → chunk-24FOGKJI.js} +7 -7
- package/dist/bundle/{chunk-YOM4PA3A.js → chunk-2C536VQW.js} +1 -1
- package/dist/bundle/{chunk-3QBRLN6T.js → chunk-2EGS6BXF.js} +2 -2
- package/dist/bundle/{chunk-QEJHNTCX.js → chunk-2TIK6LHL.js} +443 -344
- package/dist/bundle/{chunk-XTCN3VUP.js → chunk-3GOMBG55.js} +8 -8
- package/dist/bundle/{chunk-ZKCAR2OL.js → chunk-3HCGK4FN.js} +1 -1
- package/dist/bundle/{chunk-Q2CQNT3A.js → chunk-46Z7UUCG.js} +1 -1
- package/dist/bundle/{chunk-7ENXMVT5.js → chunk-4BSNHOEV.js} +20 -11
- package/dist/bundle/{chunk-WETWQO6X.js → chunk-4FPSZCWN.js} +2 -2
- package/dist/bundle/{chunk-P3UQGKGY.js → chunk-4XOAQ5EQ.js} +10 -10
- package/dist/bundle/{chunk-6A37YXAL.js → chunk-5LEIPSJG.js} +24 -0
- package/dist/bundle/{chunk-VJLJFLKZ.js → chunk-5YS4WS74.js} +1 -1
- package/dist/bundle/{chunk-DAEPTQ6N.js → chunk-6ZO2ZVKV.js} +5 -5
- package/dist/bundle/{chunk-TWWYDJBW.js → chunk-7SGURCSQ.js} +1 -1
- package/dist/bundle/chunk-A5TSIMI2.js +53 -0
- package/dist/bundle/{chunk-NGWKI3E6.js → chunk-AWUANCLC.js} +1 -1
- package/dist/bundle/{chunk-6GHBGGN7.js → chunk-BBJBWSGN.js} +2 -2
- package/dist/bundle/{chunk-PTKJIA7M.js → chunk-CLZHPHKI.js} +3 -3
- package/dist/bundle/{chunk-MW6IAMUI.js → chunk-CQPXUMIS.js} +1 -1
- package/dist/bundle/{chunk-T6LXUBXY.js → chunk-CX3D6D43.js} +3 -3
- package/dist/bundle/{chunk-5PCPPT43.js → chunk-CY7WACM7.js} +31 -31
- package/dist/bundle/{chunk-D67YDJ35.js → chunk-DAJEINOF.js} +1049 -902
- package/dist/bundle/{chunk-EXFRC4OT.js → chunk-DCK5AT3D.js} +1 -1
- package/dist/bundle/{chunk-Y2J52Y3A.js → chunk-DP2RZ6FO.js} +3 -3
- package/dist/bundle/{chunk-N7CHOWDF.js → chunk-FCHVDLEL.js} +3 -3
- package/dist/bundle/{chunk-T37LLOZR.js → chunk-GDSCR5BG.js} +1 -1
- package/dist/bundle/{chunk-DDPZY27T.js → chunk-GJ7KTKIP.js} +16 -16
- package/dist/bundle/{chunk-4LZLU2V3.js → chunk-GTYESBB2.js} +3 -3
- package/dist/bundle/{chunk-XC26CUGL.js → chunk-H6QELEPY.js} +6 -6
- package/dist/bundle/{chunk-UWF6WXM7.js → chunk-HKOHKYDY.js} +7 -7
- package/dist/bundle/{chunk-H2AQV772.js → chunk-IE6AEPW3.js} +10 -10
- package/dist/bundle/{chunk-NXQFVHG4.js → chunk-IHWPNLCI.js} +165 -152
- package/dist/bundle/{chunk-OHMF7LWW.js → chunk-IU2QDYBO.js} +5 -5
- package/dist/bundle/{chunk-OMGNXKSH.js → chunk-J2KPUG2X.js} +4 -4
- package/dist/bundle/{chunk-KUY35N7Q.js → chunk-JDI7CKLO.js} +7 -7
- package/dist/bundle/{chunk-I6CZU7X7.js → chunk-JX4YNSYT.js} +1 -1
- package/dist/bundle/{chunk-QU7UPCW2.js → chunk-LQBVQX47.js} +80 -80
- package/dist/bundle/{chunk-7DKS4GIW.js → chunk-MQ6XB6BV.js} +5 -5
- package/dist/bundle/{chunk-OUATPEPP.js → chunk-O4ZIN4AY.js} +6 -6
- package/dist/bundle/{chunk-EF33DKMR.js → chunk-OP5MKU7T.js} +1 -1
- package/dist/bundle/{chunk-6ABWVQ4T.js → chunk-PB4ZGGR4.js} +1 -1
- package/dist/bundle/{chunk-UIJBGS6K.js → chunk-PI42ZHZQ.js} +2 -2
- package/dist/bundle/{chunk-MUFU4LNS.js → chunk-Q5YM3JWV.js} +2 -2
- package/dist/bundle/{chunk-B2ZAEF5Z.js → chunk-QNI3Q7XS.js} +2 -2
- package/dist/bundle/{chunk-Z4TPRASF.js → chunk-QOFD6JSB.js} +5 -5
- package/dist/bundle/{chunk-5NBQOU5V.js → chunk-R24Q24U5.js} +26 -23
- package/dist/bundle/{chunk-X2SA73EE.js → chunk-RK24IARI.js} +1 -1
- package/dist/bundle/{chunk-OMCET4QP.js → chunk-RMKJWDVT.js} +47 -47
- package/dist/bundle/{chunk-F7MKFYYP.js → chunk-RUHFWDHD.js} +3 -3
- package/dist/bundle/{chunk-2IQWMWMC.js → chunk-SB3AOH3M.js} +3 -3
- package/dist/bundle/{chunk-LJRXD44C.js → chunk-SEIRBXJT.js} +7 -7
- package/dist/bundle/{chunk-AZIXZIXT.js → chunk-SM7PB5CU.js} +7 -7
- package/dist/bundle/{chunk-22RYCAAO.js → chunk-TBCHID7L.js} +9263 -8766
- package/dist/bundle/{chunk-3QV5JWFN.js → chunk-TH3LLEA2.js} +3 -3
- package/dist/bundle/{chunk-ELKRFQ5Y.js → chunk-U3VXKVKI.js} +12 -12
- package/dist/bundle/{chunk-E5JVYVRX.js → chunk-UC5YCXKS.js} +15 -14
- package/dist/bundle/{chunk-EI7LYQQA.js → chunk-UYKKJOND.js} +4 -4
- package/dist/bundle/{chunk-WYSFOL74.js → chunk-VIZBCX3C.js} +4 -4
- package/dist/bundle/{chunk-GXHPPHGB.js → chunk-VSSWVVOZ.js} +11 -11
- package/dist/bundle/{chunk-WHMKYJZR.js → chunk-WN7BSOD2.js} +1 -1
- package/dist/bundle/{chunk-IFANDP3T.js → chunk-XO6RP5FV.js} +14 -2
- package/dist/bundle/{chunk-TT5RMHM6.js → chunk-YJUVVYS6.js} +5 -5
- package/dist/bundle/{chunk-JHW2ARPA.js → chunk-ZFUYVQII.js} +34 -34
- package/dist/bundle/{chunk-WHZJHUK6.js → chunk-ZIDR2CSX.js} +2 -2
- package/dist/bundle/command-contract-4ZJOMSQ2.js +34 -0
- package/dist/bundle/{command-server-entry-A7ZCZWHH.js → command-server-entry-VSWZ5K2Q.js} +21 -21
- package/dist/bundle/{decode-FO2ELPW6.js → decode-OPD4OHCW.js} +6 -6
- package/dist/bundle/{dispatch-N73TJNYM.js → dispatch-BRRZ6TLX.js} +1 -1
- package/dist/bundle/{echarts-HTY3OB2X.js → echarts-AXYKRYU7.js} +2 -2
- package/dist/bundle/{embed-2DTGMR7Z.js → embed-6DBZRTQ7.js} +7 -7
- package/dist/bundle/{embedder-N3IGQ2M6.js → embedder-SQI6IDZC.js} +10 -10
- package/dist/bundle/{entry-Q7CIJ3TU.js → entry-2GKNMGW6.js} +9 -9
- package/dist/bundle/{entry-YDEKGRCA.js → entry-RV5QAV44.js} +9 -9
- package/dist/bundle/failure-7RJ4HOL4.js +71 -0
- package/dist/bundle/{failure-IPHFR3KW.js → failure-ECNGLVHX.js} +2 -2
- package/dist/bundle/{first-run-SAADMYEA.js → first-run-BBMUDHYX.js} +10 -10
- package/dist/bundle/first-screen-4BS5M4JW.js +32 -0
- package/dist/bundle/{instructions-XB5Y5DFA.js → instructions-JNAROG65.js} +1 -1
- package/dist/bundle/mcp-3MBYSBNS.js +92 -0
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-4ZOD7X75.js → node-6OTEDFSP.js} +2 -2
- package/dist/bundle/{node-sqlite-DWXKYFW6.js → node-sqlite-HBHJOJX6.js} +11 -7
- package/dist/bundle/{oauth-GMIBNJQB.js → oauth-PVQSSPPE.js} +8 -8
- package/dist/bundle/{open-3DBI3MHV.js → open-ARBTD4LX.js} +6 -6
- package/dist/bundle/{openai-HFJAR7W5.js → openai-2JRFTWUA.js} +11 -11
- package/dist/bundle/{process-2H5HNPHH.js → process-4ERCV4WX.js} +1 -1
- package/dist/bundle/{program-VXKN6DLP.js → program-5KVHPFJU.js} +294 -129
- package/dist/bundle/{prompt-WETKFAQS.js → prompt-4I34VBPK.js} +6 -6
- package/dist/bundle/{recognize-5LC3DQ2W.js → recognize-22BJ7RWB.js} +5 -5
- package/dist/bundle/{remote-FURTWZ25.js → remote-BON3MKY5.js} +8 -8
- package/dist/bundle/{rerank-CMQWT3WC.js → rerank-6CCCIZDS.js} +8 -8
- package/dist/bundle/{serve-LEF3PX34.js → serve-FB54DFIV.js} +10 -10
- package/dist/bundle/server-SG4BOF6U.js +64 -0
- package/dist/bundle/{server-GYLFN6Y7.js → server-TL5WPR3I.js} +59 -59
- package/dist/bundle/server-UYEXFEEB.js +50 -0
- package/dist/bundle/{state-OVZT24JF.js → state-23IF45K6.js} +7 -7
- package/dist/bundle/{store-SV46T732.js → store-FGNXSGJU.js} +13 -13
- package/dist/bundle/store-maintenance-command-PDLIZ4J2.js +49 -0
- package/dist/bundle/update-QTZREQD6.js +74 -0
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +12 -3
- package/dist/examples.js.map +1 -1
- package/dist/mcp/catalogue.d.ts +4 -4
- package/dist/mcp/catalogue.d.ts.map +1 -1
- package/dist/mcp/catalogue.js +2 -2
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/people/doubts-command.d.ts +5 -0
- package/dist/people/doubts-command.d.ts.map +1 -0
- package/dist/people/doubts-command.js +46 -0
- package/dist/people/doubts-command.js.map +1 -0
- package/dist/people/identities-command.d.ts.map +1 -1
- package/dist/people/identities-command.js +52 -57
- package/dist/people/identities-command.js.map +1 -1
- package/dist/people/proposal-rows.d.ts +48 -0
- package/dist/people/proposal-rows.d.ts.map +1 -0
- package/dist/people/proposal-rows.js +61 -0
- package/dist/people/proposal-rows.js.map +1 -0
- package/dist/people/proposals-command.d.ts +5 -0
- package/dist/people/proposals-command.d.ts.map +1 -0
- package/dist/people/proposals-command.js +107 -0
- package/dist/people/proposals-command.js.map +1 -0
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +12 -0
- package/dist/reasons.js.map +1 -1
- package/dist/review/kinds.d.ts +1 -1
- package/dist/review/kinds.d.ts.map +1 -1
- package/dist/review/kinds.js +1 -0
- package/dist/review/kinds.js.map +1 -1
- package/dist/tasks/shared.d.ts.map +1 -1
- package/dist/tasks/shared.js +14 -2
- package/dist/tasks/shared.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/cli-memo/topics/proposals.md +10 -6
- package/dist/bundle/auto-SA667UAT.js +0 -91
- package/dist/bundle/chunk-VHA3LJQT.js +0 -35
- package/dist/bundle/command-contract-L5GTW74N.js +0 -34
- package/dist/bundle/failure-QL3RJILP.js +0 -71
- package/dist/bundle/first-screen-WXKAIMY6.js +0 -32
- package/dist/bundle/mcp-IRJS472M.js +0 -92
- package/dist/bundle/server-C2EVLJLW.js +0 -64
- package/dist/bundle/server-L7GHFXJF.js +0 -50
- package/dist/bundle/store-maintenance-command-TZYC5HVL.js +0 -49
- package/dist/bundle/update-PRBIV3RG.js +0 -74
- /package/dist/bundle/{chunk-DK3W4FPW.js → chunk-2AFREBSM.js} +0 -0
|
@@ -3,18 +3,18 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
isCliFailure,
|
|
5
5
|
isStoreDamage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZIDR2CSX.js";
|
|
7
7
|
import {
|
|
8
8
|
refuseOwnerStoreInTests
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-A5TSIMI2.js";
|
|
10
10
|
import {
|
|
11
11
|
createRecordLog,
|
|
12
12
|
resolvePaths,
|
|
13
13
|
writeSecurely
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SB3AOH3M.js";
|
|
15
15
|
import {
|
|
16
16
|
traceIdOf
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DCK5AT3D.js";
|
|
18
18
|
import {
|
|
19
19
|
RegistryError,
|
|
20
20
|
SNAKE_CASE,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
union,
|
|
49
49
|
unknown,
|
|
50
50
|
variant
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-5LEIPSJG.js";
|
|
52
52
|
import {
|
|
53
53
|
CliError,
|
|
54
54
|
isCliError,
|
|
@@ -59,17 +59,17 @@ import {
|
|
|
59
59
|
__name
|
|
60
60
|
} from "./chunk-ZVVMGPBJ.js";
|
|
61
61
|
|
|
62
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
62
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
63
63
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
64
64
|
import { randomBytes } from "node:crypto";
|
|
65
65
|
|
|
66
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
66
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
67
67
|
import { randomUUID } from "node:crypto";
|
|
68
68
|
import { appendFileSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
69
69
|
import { userInfo } from "node:os";
|
|
70
70
|
import { join, sep } from "node:path";
|
|
71
71
|
|
|
72
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
72
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
73
73
|
var snake = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
74
74
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
75
75
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -82,7 +82,7 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
82
82
|
error: /* @__PURE__ */ __name((event2, message) => logger.error(logAttributes(event2), message), "error")
|
|
83
83
|
}), "snakeLogger");
|
|
84
84
|
|
|
85
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
85
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
86
86
|
var diagnostic = {
|
|
87
87
|
event: true,
|
|
88
88
|
operation: true,
|
|
@@ -156,7 +156,7 @@ var LOG_ATTRIBUTES = [
|
|
|
156
156
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
157
157
|
].sort();
|
|
158
158
|
|
|
159
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
159
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
160
160
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
161
161
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
162
162
|
var KEEP_STORE_RUNS_FOR_DAYS = 3;
|
|
@@ -523,7 +523,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
523
523
|
};
|
|
524
524
|
}, "metadataOf");
|
|
525
525
|
|
|
526
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
526
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
527
527
|
var scopes = new AsyncLocalStorage();
|
|
528
528
|
var processScope;
|
|
529
529
|
var ownProcesses = new AsyncLocalStorage();
|
|
@@ -569,7 +569,7 @@ var childTrace = /* @__PURE__ */ __name(() => {
|
|
|
569
569
|
var attempts = new AsyncLocalStorage();
|
|
570
570
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
571
571
|
|
|
572
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
572
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/domain/money.js
|
|
573
573
|
var CURRENCY_SCALES = {
|
|
574
574
|
AED: 2,
|
|
575
575
|
AMD: 2,
|
|
@@ -663,7 +663,7 @@ var quantityOf = /* @__PURE__ */ __name((text6) => {
|
|
|
663
663
|
}, "quantityOf");
|
|
664
664
|
var lineUnits = /* @__PURE__ */ __name((thousandths, unitPrice) => Number((thousandths * BigInt(unitPrice) + 500n) / 1000n), "lineUnits");
|
|
665
665
|
|
|
666
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
666
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/domain/finance.js
|
|
667
667
|
var INVOICE_DIRECTIONS = ["receivable", "payable"];
|
|
668
668
|
var INVOICE_STATUSES = ["draft", "issued", "partly_paid", "paid", "void"];
|
|
669
669
|
var MONEY_DIRECTIONS = ["in", "out"];
|
|
@@ -692,7 +692,7 @@ var paymentLine = /* @__PURE__ */ __name((payment) => {
|
|
|
692
692
|
var invoiceTitle = /* @__PURE__ */ __name((invoice) => `Invoice ${invoiceLine(invoice)}`, "invoiceTitle");
|
|
693
693
|
var paymentEntryTitle = /* @__PURE__ */ __name((payment) => `Payment \xB7 ${paymentLine(payment)}`, "paymentEntryTitle");
|
|
694
694
|
|
|
695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
695
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/domain/business.js
|
|
696
696
|
var CATALOG_KINDS = ["product", "service"];
|
|
697
697
|
var BUSINESS_KINDS = ["invoice", "payment", "order", "contract", "subscription", "product", "wallet"];
|
|
698
698
|
var CONTRACT_KINDS = ["sale", "purchase", "service", "lease", "employment", "nda", "license", "other"];
|
|
@@ -720,7 +720,7 @@ var subscriptionLine = /* @__PURE__ */ __name((subscription) => `${subscription.
|
|
|
720
720
|
var walletLine = /* @__PURE__ */ __name((wallet) => `${wallet.name} \xB7 ${wallet.kind}, ${wallet.currency}${wallet.numberHint === null ? "" : `, \u2026${wallet.numberHint}`}` + notes(wallet.closed ? "closed" : null), "walletLine");
|
|
721
721
|
var transactionLine = /* @__PURE__ */ __name((transaction) => `${moneyLabel(transaction.amount, transaction.currency)} ${transaction.direction}${transaction.label === null ? "" : ` \xB7 ${transaction.label}`}, ${dayMonth(transaction.date)}` + notes(transaction.status === "pending" ? "pending" : null, pending(transaction.review)), "transactionLine");
|
|
722
722
|
|
|
723
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
723
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/store/marks.js
|
|
724
724
|
import { readFileSync as readFileSync2, rmSync as rmSync2, statSync as statSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
725
725
|
var damageMarkPath = /* @__PURE__ */ __name((store) => `${store}.damaged.json`, "damageMarkPath");
|
|
726
726
|
var healthMarkPath = /* @__PURE__ */ __name((store) => `${store}.health.json`, "healthMarkPath");
|
|
@@ -1656,7 +1656,7 @@ var QUERY_REASONS = defineReasons([
|
|
|
1656
1656
|
details: [...SPAN, ...details]
|
|
1657
1657
|
})));
|
|
1658
1658
|
|
|
1659
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1659
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
1660
1660
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
1661
1661
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
1662
1662
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -1693,7 +1693,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text6) => {
|
|
|
1693
1693
|
}, "parseMeetingReference");
|
|
1694
1694
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text6) => formatMeetingReference(parseMeetingReference(text6)), "canonicalMeetingReference");
|
|
1695
1695
|
|
|
1696
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1696
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
1697
1697
|
var text = string();
|
|
1698
1698
|
var count = pipe(number(), integer(), minValue(0));
|
|
1699
1699
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -1758,7 +1758,7 @@ var MEETING_QUERY = {
|
|
|
1758
1758
|
})
|
|
1759
1759
|
};
|
|
1760
1760
|
|
|
1761
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1761
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
1762
1762
|
var text2 = string();
|
|
1763
1763
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
1764
1764
|
var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
@@ -1993,7 +1993,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
1993
1993
|
};
|
|
1994
1994
|
}, "meetingHitsList");
|
|
1995
1995
|
|
|
1996
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1996
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
1997
1997
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
1998
1998
|
const parsed = urlOf(url);
|
|
1999
1999
|
if (!parsed)
|
|
@@ -2027,7 +2027,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
2027
2027
|
}
|
|
2028
2028
|
}, "urlOf");
|
|
2029
2029
|
|
|
2030
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2030
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
2031
2031
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
2032
2032
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
2033
2033
|
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");
|
|
@@ -2064,7 +2064,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
2064
2064
|
return kept;
|
|
2065
2065
|
}, "entryMetadata");
|
|
2066
2066
|
|
|
2067
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2067
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
2068
2068
|
import { createHash } from "node:crypto";
|
|
2069
2069
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
2070
2070
|
reference: cue2.reference,
|
|
@@ -2078,7 +2078,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
2078
2078
|
text: cue2.text
|
|
2079
2079
|
})).digest("hex"), "meetingCueFingerprint");
|
|
2080
2080
|
|
|
2081
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2081
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
2082
2082
|
var EVENT_QUERY = defineQuery({
|
|
2083
2083
|
entity: "event",
|
|
2084
2084
|
backend: "sql",
|
|
@@ -2094,7 +2094,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
2094
2094
|
]
|
|
2095
2095
|
});
|
|
2096
2096
|
|
|
2097
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2097
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
2098
2098
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
2099
2099
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
2100
2100
|
if (entry.recurrenceEndsAt !== null)
|
|
@@ -2117,7 +2117,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
|
|
|
2117
2117
|
return Math.max(entry.endsAt ?? start, start + 1) > window.from;
|
|
2118
2118
|
}, "entryInWindow");
|
|
2119
2119
|
|
|
2120
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2120
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
2121
2121
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
|
|
2122
2122
|
const current = await store.meeting(details.meeting.id);
|
|
2123
2123
|
if (!current)
|
|
@@ -2160,7 +2160,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
2160
2160
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
2161
2161
|
}, "linkEvent");
|
|
2162
2162
|
|
|
2163
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2163
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
2164
2164
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text6) => text6.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
2165
2165
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
2166
2166
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -2184,7 +2184,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
2184
2184
|
};
|
|
2185
2185
|
}, "validateMeetingParticipantSearch");
|
|
2186
2186
|
|
|
2187
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2187
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
2188
2188
|
var MeetingError = class extends CliError {
|
|
2189
2189
|
static {
|
|
2190
2190
|
__name(this, "MeetingError");
|
|
@@ -2316,7 +2316,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id4, accountId)
|
|
|
2316
2316
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
2317
2317
|
}, "meetingSummaryAnswer");
|
|
2318
2318
|
|
|
2319
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2319
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
2320
2320
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
2321
2321
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
2322
2322
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -2412,10 +2412,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id4, options) => {
|
|
|
2412
2412
|
};
|
|
2413
2413
|
}, "exportMeeting");
|
|
2414
2414
|
|
|
2415
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2415
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
2416
2416
|
import { createHash as createHash2 } from "node:crypto";
|
|
2417
2417
|
|
|
2418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/payment.js
|
|
2419
2419
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
2420
2420
|
var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
|
|
2421
2421
|
var PAYMENT_STATES = ["expected", "paid", "cancelled"];
|
|
@@ -2509,7 +2509,7 @@ var paymentTitle = /* @__PURE__ */ __name((fact) => {
|
|
|
2509
2509
|
return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
|
|
2510
2510
|
}, "paymentTitle");
|
|
2511
2511
|
|
|
2512
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2512
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
2513
2513
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
2514
2514
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
2515
2515
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone, such as 2026-11-09T09:00:00Z`);
|
|
@@ -2520,7 +2520,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
2520
2520
|
return new Date(value).toISOString();
|
|
2521
2521
|
}, "meetingTimestamp");
|
|
2522
2522
|
|
|
2523
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2523
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
2524
2524
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
2525
2525
|
var invalid3 = /* @__PURE__ */ __name((message) => {
|
|
2526
2526
|
throw new CliError("validation_error", message);
|
|
@@ -2695,7 +2695,7 @@ var validateBatch = /* @__PURE__ */ __name((input, rules, most, one) => {
|
|
|
2695
2695
|
var validateFindings = /* @__PURE__ */ __name((input, rules) => validateBatch(input, rules, 16, (finding, ids2) => validateFinding(finding, rules, ids2)), "validateFindings");
|
|
2696
2696
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
2697
2697
|
|
|
2698
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2698
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
2699
2699
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
2700
2700
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
2701
2701
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -2706,7 +2706,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
2706
2706
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
2707
2707
|
var meetingFindingFingerprint = findingFingerprint;
|
|
2708
2708
|
|
|
2709
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2709
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
2710
2710
|
var context = {
|
|
2711
2711
|
command: "search meetings",
|
|
2712
2712
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -2826,7 +2826,7 @@ var meetingWordsQuery = /* @__PURE__ */ __name((text6) => {
|
|
|
2826
2826
|
return { version: 1, language: "lucene-v1", root };
|
|
2827
2827
|
}, "meetingWordsQuery");
|
|
2828
2828
|
|
|
2829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2829
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/language.js
|
|
2830
2830
|
var LATIN_WORDS = {
|
|
2831
2831
|
en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
|
|
2832
2832
|
es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
|
|
@@ -2875,7 +2875,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
|
|
|
2875
2875
|
return null;
|
|
2876
2876
|
}, "transcriptLanguage");
|
|
2877
2877
|
|
|
2878
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2878
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
2879
2879
|
var contentHash = /* @__PURE__ */ __name(async (text6) => {
|
|
2880
2880
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text6));
|
|
2881
2881
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -2912,7 +2912,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
2912
2912
|
return time2;
|
|
2913
2913
|
}, "timestamp");
|
|
2914
2914
|
|
|
2915
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2915
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
2916
2916
|
var TranscriptTextError = class extends Error {
|
|
2917
2917
|
static {
|
|
2918
2918
|
__name(this, "TranscriptTextError");
|
|
@@ -2967,7 +2967,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
2967
2967
|
return { header, lines };
|
|
2968
2968
|
}, "parseTranscriptText");
|
|
2969
2969
|
|
|
2970
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2970
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
2971
2971
|
var VttError = class extends Error {
|
|
2972
2972
|
static {
|
|
2973
2973
|
__name(this, "VttError");
|
|
@@ -3019,7 +3019,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
3019
3019
|
return cues;
|
|
3020
3020
|
}, "parseVtt");
|
|
3021
3021
|
|
|
3022
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3022
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
3023
3023
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
3024
3024
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
3025
3025
|
for (const file of files) {
|
|
@@ -3052,10 +3052,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
3052
3052
|
return report;
|
|
3053
3053
|
}, "importFiles");
|
|
3054
3054
|
|
|
3055
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3055
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
3056
3056
|
var CHAT_MESSAGES_READ = 1e5;
|
|
3057
3057
|
|
|
3058
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3058
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/provider.js
|
|
3059
3059
|
var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
3060
3060
|
const provider = scope2?.provider;
|
|
3061
3061
|
const account = scope2?.account;
|
|
@@ -3064,7 +3064,7 @@ var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
|
3064
3064
|
return Object.freeze({ provider, account });
|
|
3065
3065
|
}, "snapshotMeetingScope");
|
|
3066
3066
|
|
|
3067
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3067
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
3068
3068
|
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
3069
3069
|
if (typeof value !== "string" || !value.trim())
|
|
3070
3070
|
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
@@ -3115,7 +3115,7 @@ var validateMeetingChange = /* @__PURE__ */ __name((change, create) => {
|
|
|
3115
3115
|
return Object.freeze(result);
|
|
3116
3116
|
}, "validateMeetingChange");
|
|
3117
3117
|
|
|
3118
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3118
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
3119
3119
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
3120
3120
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
3121
3121
|
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)))
|
|
@@ -3128,7 +3128,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
3128
3128
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
3129
3129
|
}, "validateMeetingPassage");
|
|
3130
3130
|
|
|
3131
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3131
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
3132
3132
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
3133
3133
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
3134
3134
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -3153,7 +3153,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
3153
3153
|
return { ...input, limit, maxReadBytes };
|
|
3154
3154
|
}, "validateMeetingPreparationContext");
|
|
3155
3155
|
|
|
3156
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3156
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
3157
3157
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
3158
3158
|
var id = pipe(string(), minLength(1));
|
|
3159
3159
|
var meetingProjectEvidence = strictObject({
|
|
@@ -3274,7 +3274,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
3274
3274
|
};
|
|
3275
3275
|
}, "meetingProjectEvidenceAnswer");
|
|
3276
3276
|
|
|
3277
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3277
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
3278
3278
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
3279
3279
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
3280
3280
|
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) || [
|
|
@@ -3294,7 +3294,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
3294
3294
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
3295
3295
|
}, "validateMeetingHitSearch");
|
|
3296
3296
|
|
|
3297
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3297
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
3298
3298
|
var ids = {
|
|
3299
3299
|
meeting_id: "meetingId",
|
|
3300
3300
|
identity_id: "participantIdentityId",
|
|
@@ -3385,7 +3385,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project2, request =
|
|
|
3385
3385
|
return { project: project2.trim(), options, query: frozen.join(" AND ") };
|
|
3386
3386
|
}, "prepareMeetingProjectEvidence");
|
|
3387
3387
|
|
|
3388
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3388
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
3389
3389
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project2, request = {}, now = Date.now()) => {
|
|
3390
3390
|
const prepared = prepareMeetingProjectEvidence(project2, request, now);
|
|
3391
3391
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -3393,7 +3393,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project2, r
|
|
|
3393
3393
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
3394
3394
|
}, "readMeetingProjectEvidence");
|
|
3395
3395
|
|
|
3396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
3397
3397
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
3398
3398
|
const { identityExternalId, ...fields } = p;
|
|
3399
3399
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -3555,7 +3555,7 @@ unlinked`, format)],
|
|
|
3555
3555
|
return report;
|
|
3556
3556
|
}, "pull");
|
|
3557
3557
|
|
|
3558
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3558
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
3559
3559
|
var text3 = string();
|
|
3560
3560
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
3561
3561
|
var id2 = pipe(number(), integer(), minValue(1));
|
|
@@ -3749,10 +3749,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
3749
3749
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
3750
3750
|
}), "eventItem");
|
|
3751
3751
|
|
|
3752
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3752
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
3753
3753
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
3754
3754
|
|
|
3755
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3755
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
3756
3756
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
3757
3757
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
3758
3758
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -3782,7 +3782,7 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
3782
3782
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
3783
3783
|
}, "validateMeetingRelatedHistory");
|
|
3784
3784
|
|
|
3785
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3785
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
3786
3786
|
var text4 = string();
|
|
3787
3787
|
var identifier = pipe(text4, minLength(1));
|
|
3788
3788
|
var nullableText = nullable(text4);
|
|
@@ -3916,14 +3916,14 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
3916
3916
|
meeting_repair: repair
|
|
3917
3917
|
};
|
|
3918
3918
|
|
|
3919
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3919
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
3920
3920
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
3921
3921
|
|
|
3922
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3922
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
3923
3923
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
3924
3924
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
3925
3925
|
|
|
3926
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3926
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
3927
3927
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
3928
3928
|
input.signal?.throwIfAborted();
|
|
3929
3929
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -3944,7 +3944,7 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
3944
3944
|
return { ...input, limit, maxReadBytes };
|
|
3945
3945
|
}, "validateMeetingSeriesHistory");
|
|
3946
3946
|
|
|
3947
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3947
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
3948
3948
|
var invalid4 = /* @__PURE__ */ __name((field) => {
|
|
3949
3949
|
throw new CliError("invalid_response", `meeting occurrence ${field} is invalid`);
|
|
3950
3950
|
}, "invalid");
|
|
@@ -4013,7 +4013,7 @@ var readOccurrenceSchedule = /* @__PURE__ */ __name((input, meetingId, limit, ma
|
|
|
4013
4013
|
return result;
|
|
4014
4014
|
}, "readOccurrenceSchedule");
|
|
4015
4015
|
|
|
4016
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4016
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
4017
4017
|
function invalid5(field, response = false) {
|
|
4018
4018
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
4019
4019
|
}
|
|
@@ -4042,7 +4042,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
4042
4042
|
cursorDetails(value);
|
|
4043
4043
|
}, "validateMeetingSeriesInventoryCursor");
|
|
4044
4044
|
|
|
4045
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4045
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
4046
4046
|
var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
|
|
4047
4047
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
4048
4048
|
const zone = timeZone ?? "UTC";
|
|
@@ -4177,10 +4177,10 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
4177
4177
|
};
|
|
4178
4178
|
}, "aggregateMeetingStats");
|
|
4179
4179
|
|
|
4180
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4180
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/store.js
|
|
4181
4181
|
var READ_BUDGET_EXCEEDED = "Meeting search exceeds its stored text byte budget";
|
|
4182
4182
|
|
|
4183
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4183
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/meetings/upcoming.js
|
|
4184
4184
|
var cancelled = /* @__PURE__ */ __name((signal) => {
|
|
4185
4185
|
if (!signal?.aborted)
|
|
4186
4186
|
return;
|
|
@@ -4250,7 +4250,7 @@ var createUpcomingMeetingReader = /* @__PURE__ */ __name((scope2, port) => {
|
|
|
4250
4250
|
};
|
|
4251
4251
|
}, "createUpcomingMeetingReader");
|
|
4252
4252
|
|
|
4253
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4253
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/domain/locator.js
|
|
4254
4254
|
var SCHEME = "msg:";
|
|
4255
4255
|
var formatLocator = /* @__PURE__ */ __name(({ provider, account, chat, message }) => SCHEME + [provider, account, chat, message].map(encodeURIComponent).join("/"), "formatLocator");
|
|
4256
4256
|
var isLocator = /* @__PURE__ */ __name((reference2) => reference2.trim().startsWith(SCHEME), "isLocator");
|
|
@@ -4264,7 +4264,7 @@ var parseLocator = /* @__PURE__ */ __name((reference2) => {
|
|
|
4264
4264
|
return { provider, account, chat, message };
|
|
4265
4265
|
}, "parseLocator");
|
|
4266
4266
|
|
|
4267
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4267
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/domain/references.js
|
|
4268
4268
|
var SIMPLE_REFERENCES = [
|
|
4269
4269
|
"note",
|
|
4270
4270
|
"document",
|
|
@@ -4420,14 +4420,14 @@ var looksLikeReference = /* @__PURE__ */ __name((text6) => {
|
|
|
4420
4420
|
return match !== null && byPrefix.has(match[1]);
|
|
4421
4421
|
}, "looksLikeReference");
|
|
4422
4422
|
|
|
4423
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4423
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/store/source-review.js
|
|
4424
4424
|
var SOURCE_REVIEW_KIND = "memory_source_review";
|
|
4425
4425
|
var SOURCE_REVIEW_CAUSES = ["changed", "outdated", "deleted", "contradicted"];
|
|
4426
4426
|
var ERASED_TEXT = "[source erased]";
|
|
4427
4427
|
var severity = /* @__PURE__ */ __name((cause) => SOURCE_REVIEW_CAUSES.indexOf(cause), "severity");
|
|
4428
4428
|
var graver = /* @__PURE__ */ __name((a, b) => severity(b) > severity(a) ? b : a, "graver");
|
|
4429
4429
|
|
|
4430
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4430
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/tasks/model.js
|
|
4431
4431
|
var TASK_KINDS = ["question", "request", "mention", "promise"];
|
|
4432
4432
|
var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
|
|
4433
4433
|
var CLOSED_STATES = ["done", "dismissed"];
|
|
@@ -4442,7 +4442,7 @@ function closeTask(task, state, by, at, reason) {
|
|
|
4442
4442
|
}
|
|
4443
4443
|
__name(closeTask, "closeTask");
|
|
4444
4444
|
|
|
4445
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4445
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/tasks/priority.js
|
|
4446
4446
|
var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
|
|
4447
4447
|
var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
|
|
4448
4448
|
var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
|
|
@@ -4471,13 +4471,13 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
|
|
|
4471
4471
|
}, "priorityOf");
|
|
4472
4472
|
var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
|
|
4473
4473
|
|
|
4474
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4474
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/tasks/store.js
|
|
4475
4475
|
function matches2(task, filter) {
|
|
4476
4476
|
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);
|
|
4477
4477
|
}
|
|
4478
4478
|
__name(matches2, "matches");
|
|
4479
4479
|
|
|
4480
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4480
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/tasks/service.js
|
|
4481
4481
|
function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
|
|
4482
4482
|
async function find(id4) {
|
|
4483
4483
|
const task = await store.get(id4);
|
|
@@ -4537,7 +4537,7 @@ function median(values) {
|
|
|
4537
4537
|
}
|
|
4538
4538
|
__name(median, "median");
|
|
4539
4539
|
|
|
4540
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4540
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
|
|
4541
4541
|
var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
|
|
4542
4542
|
var MEMORY_KINDS = ["summary", "digest", "preference"];
|
|
4543
4543
|
var MEMORY_STATUSES = ["proposed", "confirmed", "stale", "superseded"];
|
|
@@ -4545,10 +4545,10 @@ var MEMORY_SCOPES = ["personal", "work"];
|
|
|
4545
4545
|
var WORK_TASK_TYPES = ["bug", "feature", "chore"];
|
|
4546
4546
|
var TASK_TYPES2 = [...WORK_TASK_TYPES, ...TASK_KINDS];
|
|
4547
4547
|
|
|
4548
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4548
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/domain/categories.js
|
|
4549
4549
|
var CATEGORIES = ["client", "supplier", "partner", "employer"];
|
|
4550
4550
|
|
|
4551
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4551
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/domain/deals.js
|
|
4552
4552
|
var DEAL_KINDS = ["deal", "lead"];
|
|
4553
4553
|
var DEAL_STATUSES = ["open", "won", "lost"];
|
|
4554
4554
|
var STAGE_OUTCOMES = DEAL_STATUSES;
|
|
@@ -4558,7 +4558,7 @@ var dealLine = /* @__PURE__ */ __name((deal) => {
|
|
|
4558
4558
|
return `${deal.title} \xB7 ${deal.stage}${money}${deal.status === "open" ? "" : ` (${deal.status})`}`;
|
|
4559
4559
|
}, "dealLine");
|
|
4560
4560
|
|
|
4561
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4561
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/domain/orders.js
|
|
4562
4562
|
var ORDER_STATUSES = ["placed", "shipped", "delivered", "cancelled", "returned"];
|
|
4563
4563
|
var ORDER_PURPOSES = ["personal", "business", "client", "other"];
|
|
4564
4564
|
var orderLine = /* @__PURE__ */ __name((order) => {
|
|
@@ -4569,7 +4569,7 @@ var orderLine = /* @__PURE__ */ __name((order) => {
|
|
|
4569
4569
|
}, "orderLine");
|
|
4570
4570
|
var orderTitle = /* @__PURE__ */ __name((order) => `Order ${orderLine(order)}`, "orderTitle");
|
|
4571
4571
|
|
|
4572
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4572
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/domain/relations.js
|
|
4573
4573
|
var ORGANIZATION_ROLES = [
|
|
4574
4574
|
"employee",
|
|
4575
4575
|
"contractor",
|
|
@@ -4670,7 +4670,7 @@ var KEYED = "kind IN ('member-of', 'related-to', 'reports-to', 'customer-of', 'p
|
|
|
4670
4670
|
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");
|
|
4671
4671
|
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");
|
|
4672
4672
|
|
|
4673
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4673
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
4674
4674
|
var text5 = string();
|
|
4675
4675
|
var id3 = pipe(string(), minLength(1));
|
|
4676
4676
|
var time = isoTime;
|
|
@@ -4695,7 +4695,7 @@ var author = strictObject({
|
|
|
4695
4695
|
name: nullable(text5)
|
|
4696
4696
|
});
|
|
4697
4697
|
|
|
4698
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4698
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
4699
4699
|
var organization = strictObject({
|
|
4700
4700
|
id: id3,
|
|
4701
4701
|
ref: reference,
|
|
@@ -4725,7 +4725,7 @@ var reminder = strictObject({
|
|
|
4725
4725
|
receipt: nullable(text5)
|
|
4726
4726
|
});
|
|
4727
4727
|
|
|
4728
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4728
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/domain/tags.js
|
|
4729
4729
|
var TAG_TYPES = ["chat", "contact", "message", "task"];
|
|
4730
4730
|
var TAG = /^[a-z0-9-]{1,32}$/;
|
|
4731
4731
|
var tagOf = /* @__PURE__ */ __name((value) => {
|
|
@@ -4739,7 +4739,7 @@ var normalizeTag = /* @__PURE__ */ __name((value) => {
|
|
|
4739
4739
|
return tag;
|
|
4740
4740
|
}, "normalizeTag");
|
|
4741
4741
|
|
|
4742
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4742
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/store/sqlite/link-source.js
|
|
4743
4743
|
var REPORTER_SQL = "(SELECT provider || ':' || external_id FROM accounts r WHERE r.id = links.account_id) AS reporter";
|
|
4744
4744
|
var sourceOf = /* @__PURE__ */ __name((database, row, metadata) => {
|
|
4745
4745
|
const reporter = row.account_id == null ? void 0 : "reporter" in row ? row.reporter : database.prepare("SELECT provider || ':' || external_id AS key FROM accounts WHERE id = ?").get(Number(row.account_id))?.key;
|
|
@@ -4749,7 +4749,7 @@ var sourceOf = /* @__PURE__ */ __name((database, row, metadata) => {
|
|
|
4749
4749
|
};
|
|
4750
4750
|
}, "sourceOf");
|
|
4751
4751
|
|
|
4752
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4752
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
|
|
4753
4753
|
var LINK_KINDS = [
|
|
4754
4754
|
"links-to",
|
|
4755
4755
|
"blocked-by",
|
|
@@ -4773,7 +4773,7 @@ var LINK_SOURCES = [...LINK_ORIGINS, "calendar"];
|
|
|
4773
4773
|
var linkKind = /* @__PURE__ */ __name((kind2) => `'${kind2}'`, "linkKind");
|
|
4774
4774
|
var COUNTERPART_ROLE = "counterpart";
|
|
4775
4775
|
|
|
4776
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/domain/providers.js
|
|
4777
4777
|
var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events", "crm"];
|
|
4778
4778
|
var MESSENGER_OPENS = { chat: "messages list", message: "messages show", contact: "contacts show" };
|
|
4779
4779
|
var PROVIDERS = [
|
|
@@ -4936,7 +4936,7 @@ var holdsKind = /* @__PURE__ */ __name((provider, kind2) => kindsIn(provider).in
|
|
|
4936
4936
|
var holdsKindOf = /* @__PURE__ */ __name((provider, kind2) => kindIn(provider) === void 0 ? kind2 === "messages" : holdsKind(provider, kind2), "holdsKindOf");
|
|
4937
4937
|
var kindOf2 = /* @__PURE__ */ __name((provider) => kindIn(provider) ?? "messages", "kindOf");
|
|
4938
4938
|
|
|
4939
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4939
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/search/query.js
|
|
4940
4940
|
var isBotProvider = /* @__PURE__ */ __name((provider) => provider.endsWith("-bot"), "isBotProvider");
|
|
4941
4941
|
var inSource = /* @__PURE__ */ __name((source, provider) => source === "all" || source === "bots" && isBotProvider(provider) || source === "personal" && !isBotProvider(provider) || source === provider || providerNamed(source)?.name === provider || isKind(source) && holdsKindOf(provider, source), "inSource");
|
|
4942
4942
|
var fail = /* @__PURE__ */ __name((message) => {
|
|
@@ -4959,7 +4959,7 @@ var sourceOf2 = /* @__PURE__ */ __name((name, value, providers2) => {
|
|
|
4959
4959
|
return fail(`${name} takes ${[...sources, "messages", "mail"].join(", ")} \u2014 not "${value}"`);
|
|
4960
4960
|
}, "sourceOf");
|
|
4961
4961
|
|
|
4962
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4962
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/search/account-list.js
|
|
4963
4963
|
var ACCOUNT_GROUPS = "accountGroups";
|
|
4964
4964
|
var ACCOUNT_GROUPS_SETTING = "account_groups";
|
|
4965
4965
|
var GROUP_NAME = /^[a-z0-9][a-z0-9_-]*$/i;
|