@wirecat/drive-cli 0.60.0 → 0.61.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/README.md +4 -5
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-537I27Z4.js → all-profiles-H4L3Z5UM.js} +14 -14
- package/dist/bundle/{anthropic-X4NWVHDF.js → anthropic-PPGFISVP.js} +9 -9
- package/dist/bundle/{app-server-KSHJKKS7.js → app-server-YXVK2FUZ.js} +52 -52
- package/dist/bundle/{bun-WTBGGCUC.js → bun-DKZAL6ML.js} +2 -2
- package/dist/bundle/{bun-sqlite-T7Y3JFFD.js → bun-sqlite-MTZY36QK.js} +8 -8
- package/dist/bundle/{chunk-VRW6ZDTH.js → chunk-2RJA4BQB.js} +19 -19
- package/dist/bundle/{chunk-VVCZS42A.js → chunk-3252WXOL.js} +1 -1
- package/dist/bundle/{chunk-3TQHIHZI.js → chunk-36CWGEVX.js} +2 -2
- package/dist/bundle/{chunk-AXWXQNTC.js → chunk-3I2D5TK2.js} +10 -10
- package/dist/bundle/{chunk-PDYHEWKG.js → chunk-3SJQNS72.js} +5 -5
- package/dist/bundle/{chunk-PPL5ASW2.js → chunk-3UPIJ7DW.js} +280 -280
- package/dist/bundle/{chunk-PETFPXLU.js → chunk-3WZH3WV3.js} +3 -3
- package/dist/bundle/{chunk-5XHLQZAG.js → chunk-5W56YMQS.js} +25 -25
- package/dist/bundle/{chunk-IXN7Y6JA.js → chunk-5W7D5H2R.js} +1 -1
- package/dist/bundle/{chunk-FZOCQQ66.js → chunk-67HS46KM.js} +12 -12
- package/dist/bundle/{chunk-HFGR33KD.js → chunk-6DN4VPA7.js} +25 -25
- package/dist/bundle/{chunk-HIP43OGZ.js → chunk-6IBM4Z3V.js} +1 -1
- package/dist/bundle/{chunk-V7QMHMR3.js → chunk-6SUGANRJ.js} +6 -6
- package/dist/bundle/{chunk-LQSRVQ3V.js → chunk-6Y2FWJZ4.js} +3 -3
- package/dist/bundle/{chunk-GVRS5AIH.js → chunk-73WSULMI.js} +2 -2
- package/dist/bundle/{chunk-ZPQS7XJA.js → chunk-AM4RIWOZ.js} +4 -4
- package/dist/bundle/{chunk-HCJG7ENG.js → chunk-AWN22PJK.js} +3 -3
- package/dist/bundle/{chunk-YDN2RH5S.js → chunk-BCWUDTYQ.js} +2 -2
- package/dist/bundle/{chunk-GD6TQ6U4.js → chunk-BF6TQMNB.js} +8 -8
- package/dist/bundle/chunk-BQMIDYBA.js +415 -0
- package/dist/bundle/{chunk-JQLIM6BH.js → chunk-BXR7BKM3.js} +1 -1
- package/dist/bundle/{chunk-MVNPE5FZ.js → chunk-CACYL36O.js} +8 -8
- package/dist/bundle/{chunk-246P2DCT.js → chunk-DCBFNBEB.js} +113 -51
- package/dist/bundle/{chunk-TXMTMEHW.js → chunk-DEPMQHXQ.js} +4 -4
- package/dist/bundle/{chunk-O37ESNAP.js → chunk-DXPOVLQC.js} +46 -28
- package/dist/bundle/{chunk-CKGHRWVR.js → chunk-E5EXJ2XS.js} +4 -4
- package/dist/bundle/{chunk-4CBZEAQ7.js → chunk-E6J5YH2N.js} +34 -34
- package/dist/bundle/{chunk-4XZXH2NM.js → chunk-ECEYAQGN.js} +2 -2
- package/dist/bundle/{chunk-XDIEQ2CE.js → chunk-EPCJUL6M.js} +3 -3
- package/dist/bundle/{chunk-EHAI773E.js → chunk-FE5JJXKA.js} +2 -2
- package/dist/bundle/{chunk-DQDKLZAK.js → chunk-HFM653T3.js} +49 -49
- package/dist/bundle/{chunk-UVYVIHEA.js → chunk-HGOYQUT7.js} +1 -1
- package/dist/bundle/{chunk-KEXTTZJM.js → chunk-I26VL4W7.js} +2 -2
- package/dist/bundle/{chunk-LJ77Y3TK.js → chunk-J4HQVHMN.js} +6 -5
- package/dist/bundle/{chunk-YGG7UA3C.js → chunk-J5UDQD5S.js} +5 -5
- package/dist/bundle/{chunk-73TTP6ET.js → chunk-JVBLXSAA.js} +141 -141
- package/dist/bundle/{chunk-N7S2UPF3.js → chunk-K7LS3NGM.js} +55 -55
- package/dist/bundle/{chunk-2AXA5SKP.js → chunk-KV4267S4.js} +1 -1
- package/dist/bundle/{chunk-IRZ7OF3F.js → chunk-LARQTWIL.js} +1 -1
- package/dist/bundle/{chunk-QIJWSKZL.js → chunk-N2RLJTIW.js} +4 -4
- package/dist/bundle/{chunk-HQVIK6PM.js → chunk-NIX2MWHZ.js} +242 -362
- package/dist/bundle/{chunk-4VHBDVY2.js → chunk-NZ2EIZLX.js} +14 -10
- package/dist/bundle/{chunk-SZXI4OXX.js → chunk-O5CUFS7T.js} +2 -2
- package/dist/bundle/{chunk-FO4TCH6P.js → chunk-OFFA54TW.js} +2 -2
- package/dist/bundle/{chunk-W62CON5K.js → chunk-OGNOQDWB.js} +4 -4
- package/dist/bundle/{chunk-OYNUBWD2.js → chunk-OLPJRD4S.js} +1 -1
- package/dist/bundle/{chunk-67QXMO2G.js → chunk-PJTX2MOI.js} +26 -26
- package/dist/bundle/{chunk-MXP35VPO.js → chunk-PY7LKNOS.js} +2 -2
- package/dist/bundle/{chunk-FTZNUZO7.js → chunk-Q4XVBKX4.js} +3 -3
- package/dist/bundle/{chunk-5AMRCBMP.js → chunk-QR5VQXQ5.js} +26 -26
- package/dist/bundle/{chunk-S36HRPNS.js → chunk-QSGT4ZH4.js} +1 -1
- package/dist/bundle/{chunk-57QVQGBE.js → chunk-RFRCOAWS.js} +22 -22
- package/dist/bundle/{chunk-DMHGWL5D.js → chunk-S4YK6TTG.js} +13 -13
- package/dist/bundle/{chunk-UVLSWLPZ.js → chunk-TKGAYKXW.js} +16 -16
- package/dist/bundle/{chunk-SBHSNOU4.js → chunk-UKOYQC5O.js} +19 -18
- package/dist/bundle/{chunk-XFXRGQXJ.js → chunk-UO2IUDVK.js} +2 -2
- package/dist/bundle/{chunk-UTFATA4K.js → chunk-VPDAH7PJ.js} +1 -1
- package/dist/bundle/{chunk-TKW4QWCY.js → chunk-VYXVPYA3.js} +12 -6
- package/dist/bundle/{chunk-YYHKVOVK.js → chunk-W767AUNR.js} +4 -4
- package/dist/bundle/{chunk-73MNUSP3.js → chunk-WIU733D2.js} +1 -1
- package/dist/bundle/{chunk-UNJE63JK.js → chunk-WUP2MJDN.js} +2 -2
- package/dist/bundle/{chunk-EBLA7GXY.js → chunk-WZ5XK74U.js} +2 -1
- package/dist/bundle/{chunk-77C5XRH3.js → chunk-X2CXW4HM.js} +7 -7
- package/dist/bundle/{chunk-D6WIWOQC.js → chunk-XGMDWIUP.js} +4 -4
- package/dist/bundle/{chunk-K6XVRA6U.js → chunk-XGNC5OJG.js} +1 -1
- package/dist/bundle/{chunk-ALWTUDZF.js → chunk-XLFJLZJL.js} +4 -4
- package/dist/bundle/{chunk-JGUJJNGZ.js → chunk-XYCCGGKN.js} +242 -242
- package/dist/bundle/{chunk-TVQDMP2F.js → chunk-XZBR2O63.js} +271 -271
- package/dist/bundle/{chunk-OMKUBCNN.js → chunk-YMBFZA3H.js} +8 -8
- package/dist/bundle/{chunk-ZYCLPJ7U.js → chunk-YPF6OS37.js} +1 -1
- package/dist/bundle/{chunk-6HTKB4WC.js → chunk-YWIU4HOT.js} +1 -1
- package/dist/bundle/{chunk-V2VMBM7O.js → chunk-ZHYRHERD.js} +2 -2
- package/dist/bundle/{chunk-22ATLSNK.js → chunk-ZMNYK3FC.js} +5 -5
- package/dist/bundle/command-contract-T3EO5AYD.js +39 -0
- package/dist/bundle/{decode-35N57AFW.js → decode-62A3HGPW.js} +8 -8
- package/dist/bundle/{dispatch-CWXZW3PL.js → dispatch-IE7PBEQC.js} +9 -9
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-3P3QZWMU.js → echarts-BGBPRGR5.js} +2 -2
- package/dist/bundle/{embed-Q6Q5IOJQ.js → embed-J3IBVV2V.js} +9 -9
- package/dist/bundle/{embedder-D44JDTAA.js → embedder-QFPMDRT2.js} +12 -12
- package/dist/bundle/entry-YQSYER66.js +22 -0
- package/dist/bundle/{failure-GRMMSDCZ.js → failure-BKOGBMIC.js} +4 -4
- package/dist/bundle/first-run-ZIFPVZAI.js +30 -0
- package/dist/bundle/first-screen-L5U26EY7.js +37 -0
- package/dist/bundle/{google-6ZZDKFBN.js → google-RXM2XEPD.js} +13 -13
- package/dist/bundle/{google-api-E6MOJ4ZD.js → google-api-NC65BZO4.js} +83 -64
- package/dist/bundle/grants-SEWUYYH3.js +105 -0
- package/dist/bundle/{identity-TID7S5NE.js → identity-PI6F2GWA.js} +6 -6
- package/dist/bundle/{instructions-ANJN4HV3.js → instructions-6LPDSKAD.js} +1 -1
- package/dist/bundle/{login-BGMK2ABH.js → login-HTY7GT2S.js} +64 -64
- package/dist/bundle/{mcp-WBHKX5E3.js → mcp-PPVOM4SE.js} +2 -2
- package/dist/bundle/{node-VOB45ES2.js → node-IB246NCQ.js} +2 -2
- package/dist/bundle/{node-sqlite-TSX6XQY2.js → node-sqlite-G2Y5SFJM.js} +9 -9
- package/dist/bundle/oauth-MWBKBI4T.js +22 -0
- package/dist/bundle/{open-3USWHGNR.js → open-WD4GFSJD.js} +8 -8
- package/dist/bundle/{openai-YZ5VGPIP.js → openai-QVM4PMY7.js} +17 -17
- package/dist/bundle/{process-44JS2W7L.js → process-SWPJGPQC.js} +1 -1
- package/dist/bundle/{program-TZLAFKJV.js → program-WHYFAMXR.js} +117 -98
- package/dist/bundle/prompt-OVYCGZB7.js +17 -0
- package/dist/bundle/{reasons-ZK3U3CIN.js → reasons-Q34DQWB6.js} +5 -5
- package/dist/bundle/{recognize-OFW7HWTM.js → recognize-DM3YWHSE.js} +7 -7
- package/dist/bundle/{remote-YBDRZQZ5.js → remote-KXVWRK7J.js} +10 -10
- package/dist/bundle/{rerank-TQQNS5FJ.js → rerank-TINXM3MY.js} +10 -10
- package/dist/bundle/{serve-OPZXMVLH.js → serve-IY2WL656.js} +12 -12
- package/dist/bundle/server-EMWVVT2C.js +70 -0
- package/dist/bundle/{server-2D6DDIK5.js → server-VPY3OWPC.js} +44 -44
- package/dist/bundle/{services-34WKT3NN.js → services-PXNBOCOC.js} +32 -32
- package/dist/bundle/{sqlite-runtime-WPUMKLUV.js → sqlite-runtime-5ZK2CV7Y.js} +9 -9
- package/dist/bundle/{start-ZXUJZ4JV.js → start-LDVCN3DK.js} +7 -7
- package/dist/bundle/{state-AV2RB3AQ.js → state-3MKTT3VS.js} +9 -9
- package/dist/bundle/{store-3M7N2Q5T.js → store-4VQOT5IJ.js} +18 -18
- package/dist/bundle/{store-YKV4GAMS.js → store-7M4MSUJV.js} +20 -20
- package/dist/bundle/store-maintenance-command-NRATYBWD.js +60 -0
- package/dist/bundle/tokens-XUKLM3SL.js +103 -0
- package/dist/commands/config.js +1 -1
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +10 -2
- package/dist/commands/session.js.map +1 -1
- package/dist/config.d.ts +16 -5
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +11 -17
- package/dist/config.js.map +1 -1
- package/dist/download.d.ts +3 -2
- package/dist/download.d.ts.map +1 -1
- package/dist/download.js +21 -9
- package/dist/download.js.map +1 -1
- package/dist/google-api.d.ts +3 -1
- package/dist/google-api.d.ts.map +1 -1
- package/dist/google-api.js +27 -7
- package/dist/google-api.js.map +1 -1
- package/dist/login.js +1 -1
- package/dist/login.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +6 -6
- package/dist/program.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/chunk-77YTRBL6.js +0 -249
- package/dist/bundle/command-contract-NUIWUVYB.js +0 -39
- package/dist/bundle/entry-ZHCNI7XO.js +0 -22
- package/dist/bundle/first-run-3DC2SDWM.js +0 -30
- package/dist/bundle/first-screen-YJF4YODC.js +0 -37
- package/dist/bundle/grants-GWXDH5GM.js +0 -105
- package/dist/bundle/oauth-CEOYXW6C.js +0 -22
- package/dist/bundle/prompt-SG7LAOXW.js +0 -17
- package/dist/bundle/server-R6G2O772.js +0 -70
- package/dist/bundle/store-maintenance-command-WDXNY4ZF.js +0 -60
- package/dist/bundle/tokens-F63RXXEF.js +0 -103
- package/dist/oauth-application.d.ts +0 -5
- package/dist/oauth-application.d.ts.map +0 -1
- package/dist/oauth-application.js +0 -9
- package/dist/oauth-application.js.map +0 -1
- /package/dist/bundle/{chunk-LK2E2ELG.js → chunk-LU3WKZBA.js} +0 -0
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
queryFieldsOf,
|
|
9
9
|
timezoneOf,
|
|
10
10
|
validateQuery
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NZ2EIZLX.js";
|
|
12
12
|
import {
|
|
13
13
|
singleLine,
|
|
14
14
|
visibleControls
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6IBM4Z3V.js";
|
|
16
16
|
import {
|
|
17
17
|
STEPS,
|
|
18
18
|
array,
|
|
@@ -36,15 +36,15 @@ import {
|
|
|
36
36
|
strictObject,
|
|
37
37
|
string,
|
|
38
38
|
union
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-VYXVPYA3.js";
|
|
40
40
|
import {
|
|
41
41
|
CliError
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-WZ5XK74U.js";
|
|
43
43
|
import {
|
|
44
44
|
__name
|
|
45
45
|
} from "./chunk-ZVVMGPBJ.js";
|
|
46
46
|
|
|
47
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
47
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/payment.js
|
|
48
48
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
49
49
|
var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
|
|
50
50
|
var PAYMENT_STATES = ["expected", "paid", "cancelled"];
|
|
@@ -138,7 +138,7 @@ var paymentTitle = /* @__PURE__ */ __name((fact) => {
|
|
|
138
138
|
return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
|
|
139
139
|
}, "paymentTitle");
|
|
140
140
|
|
|
141
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
141
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
142
142
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
143
143
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
144
144
|
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)))
|
|
@@ -151,7 +151,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
151
151
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
152
152
|
}, "validateMeetingPassage");
|
|
153
153
|
|
|
154
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
154
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
155
155
|
var invalid2 = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
156
156
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
157
157
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -188,7 +188,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text7) => {
|
|
|
188
188
|
}, "parseMeetingReference");
|
|
189
189
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text7) => formatMeetingReference(parseMeetingReference(text7)), "canonicalMeetingReference");
|
|
190
190
|
|
|
191
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
191
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
192
192
|
var text = string();
|
|
193
193
|
var count = pipe(number(), integer(), minValue(0));
|
|
194
194
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -253,7 +253,7 @@ var MEETING_QUERY = {
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
256
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
257
257
|
var text2 = string();
|
|
258
258
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
259
259
|
var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
@@ -488,7 +488,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
488
488
|
};
|
|
489
489
|
}, "meetingHitsList");
|
|
490
490
|
|
|
491
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
491
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
492
492
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
493
493
|
const parsed = urlOf(url);
|
|
494
494
|
if (!parsed)
|
|
@@ -522,7 +522,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
522
522
|
}
|
|
523
523
|
}, "urlOf");
|
|
524
524
|
|
|
525
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
525
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
526
526
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
527
527
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
528
528
|
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");
|
|
@@ -555,7 +555,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
555
555
|
return kept;
|
|
556
556
|
}, "entryMetadata");
|
|
557
557
|
|
|
558
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
558
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
559
559
|
import { createHash } from "node:crypto";
|
|
560
560
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
561
561
|
reference: cue2.reference,
|
|
@@ -569,7 +569,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
569
569
|
text: cue2.text
|
|
570
570
|
})).digest("hex"), "meetingCueFingerprint");
|
|
571
571
|
|
|
572
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
572
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
573
573
|
var EVENT_QUERY = defineQuery({
|
|
574
574
|
entity: "event",
|
|
575
575
|
backend: "sql",
|
|
@@ -585,7 +585,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
585
585
|
]
|
|
586
586
|
});
|
|
587
587
|
|
|
588
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
588
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
589
589
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
590
590
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
591
591
|
if (entry.recurrenceEndsAt !== null)
|
|
@@ -608,7 +608,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
|
|
|
608
608
|
return Math.max(entry.endsAt ?? start, start + 1) > window.from;
|
|
609
609
|
}, "entryInWindow");
|
|
610
610
|
|
|
611
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
611
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
612
612
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
|
|
613
613
|
const current = await store.meeting(details.meeting.id);
|
|
614
614
|
if (!current)
|
|
@@ -651,7 +651,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
651
651
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
652
652
|
}, "linkEvent");
|
|
653
653
|
|
|
654
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
654
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
655
655
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text7) => text7.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
656
656
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
657
657
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -675,7 +675,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
675
675
|
};
|
|
676
676
|
}, "validateMeetingParticipantSearch");
|
|
677
677
|
|
|
678
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
678
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
679
679
|
var MeetingError = class extends CliError {
|
|
680
680
|
static {
|
|
681
681
|
__name(this, "MeetingError");
|
|
@@ -807,7 +807,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id4, accountId)
|
|
|
807
807
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
808
808
|
}, "meetingSummaryAnswer");
|
|
809
809
|
|
|
810
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
810
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
811
811
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
812
812
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
813
813
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -903,10 +903,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id4, options) => {
|
|
|
903
903
|
};
|
|
904
904
|
}, "exportMeeting");
|
|
905
905
|
|
|
906
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
906
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
907
907
|
import { createHash as createHash2 } from "node:crypto";
|
|
908
908
|
|
|
909
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
909
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
910
910
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
911
911
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
912
912
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone`);
|
|
@@ -917,7 +917,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
917
917
|
return new Date(value).toISOString();
|
|
918
918
|
}, "meetingTimestamp");
|
|
919
919
|
|
|
920
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
920
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
921
921
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
922
922
|
var invalid3 = /* @__PURE__ */ __name((message) => {
|
|
923
923
|
throw new CliError("validation_error", message);
|
|
@@ -1064,7 +1064,7 @@ var findingText = /* @__PURE__ */ __name((value, limit) => text3(value, limit),
|
|
|
1064
1064
|
var findingFields = /* @__PURE__ */ __name((value, allowed, noun) => fields(value, allowed, noun), "findingFields");
|
|
1065
1065
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
1066
1066
|
|
|
1067
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1067
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
1068
1068
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
1069
1069
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
1070
1070
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -1075,7 +1075,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
1075
1075
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
1076
1076
|
var meetingFindingFingerprint = findingFingerprint;
|
|
1077
1077
|
|
|
1078
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1078
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
1079
1079
|
var context = {
|
|
1080
1080
|
command: "search meetings",
|
|
1081
1081
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -1194,7 +1194,7 @@ var meetingWordsQuery = /* @__PURE__ */ __name((text7) => {
|
|
|
1194
1194
|
return { version: 1, language: "lucene-v1", root };
|
|
1195
1195
|
}, "meetingWordsQuery");
|
|
1196
1196
|
|
|
1197
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1197
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/language.js
|
|
1198
1198
|
var LATIN_WORDS = {
|
|
1199
1199
|
en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
|
|
1200
1200
|
es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
|
|
@@ -1243,7 +1243,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
|
|
|
1243
1243
|
return null;
|
|
1244
1244
|
}, "transcriptLanguage");
|
|
1245
1245
|
|
|
1246
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1246
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
1247
1247
|
var contentHash = /* @__PURE__ */ __name(async (text7) => {
|
|
1248
1248
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text7));
|
|
1249
1249
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -1280,7 +1280,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
1280
1280
|
return time;
|
|
1281
1281
|
}, "timestamp");
|
|
1282
1282
|
|
|
1283
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1283
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
1284
1284
|
var TranscriptTextError = class extends Error {
|
|
1285
1285
|
static {
|
|
1286
1286
|
__name(this, "TranscriptTextError");
|
|
@@ -1335,7 +1335,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
1335
1335
|
return { header, lines };
|
|
1336
1336
|
}, "parseTranscriptText");
|
|
1337
1337
|
|
|
1338
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1338
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
1339
1339
|
var VttError = class extends Error {
|
|
1340
1340
|
static {
|
|
1341
1341
|
__name(this, "VttError");
|
|
@@ -1387,7 +1387,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
1387
1387
|
return cues;
|
|
1388
1388
|
}, "parseVtt");
|
|
1389
1389
|
|
|
1390
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1390
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
1391
1391
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
1392
1392
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
1393
1393
|
for (const file of files) {
|
|
@@ -1420,10 +1420,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
1420
1420
|
return report;
|
|
1421
1421
|
}, "importFiles");
|
|
1422
1422
|
|
|
1423
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1423
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
1424
1424
|
var CHAT_MESSAGES_READ = 1e5;
|
|
1425
1425
|
|
|
1426
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1426
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/provider.js
|
|
1427
1427
|
var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
1428
1428
|
const provider = scope2?.provider;
|
|
1429
1429
|
const account = scope2?.account;
|
|
@@ -1432,7 +1432,7 @@ var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
|
1432
1432
|
return Object.freeze({ provider, account });
|
|
1433
1433
|
}, "snapshotMeetingScope");
|
|
1434
1434
|
|
|
1435
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1435
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
1436
1436
|
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
1437
1437
|
if (typeof value !== "string" || !value.trim())
|
|
1438
1438
|
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
@@ -1498,7 +1498,7 @@ var dispatchMeetingMutation = /* @__PURE__ */ __name(async (options, dispatch) =
|
|
|
1498
1498
|
return { applied: true, value: await dispatch(signal) };
|
|
1499
1499
|
}, "dispatchMeetingMutation");
|
|
1500
1500
|
|
|
1501
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1501
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/meeting-context.js
|
|
1502
1502
|
var id = /* @__PURE__ */ __name((value) => {
|
|
1503
1503
|
if (typeof value !== "number" || !Number.isSafeInteger(value) || value < 1)
|
|
1504
1504
|
throw new CliError("validation_error", "meeting context identifiers must be positive integers");
|
|
@@ -1620,7 +1620,7 @@ var createMeetingContext = /* @__PURE__ */ __name((scope2, accountId, ports) =>
|
|
|
1620
1620
|
};
|
|
1621
1621
|
}, "createMeetingContext");
|
|
1622
1622
|
|
|
1623
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1623
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
1624
1624
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
1625
1625
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
1626
1626
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -1645,7 +1645,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
1645
1645
|
return { ...input, limit, maxReadBytes };
|
|
1646
1646
|
}, "validateMeetingPreparationContext");
|
|
1647
1647
|
|
|
1648
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1648
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
1649
1649
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
1650
1650
|
var id2 = pipe(string(), minLength(1));
|
|
1651
1651
|
var meetingProjectEvidence = strictObject({
|
|
@@ -1766,7 +1766,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
1766
1766
|
};
|
|
1767
1767
|
}, "meetingProjectEvidenceAnswer");
|
|
1768
1768
|
|
|
1769
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1769
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
1770
1770
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
1771
1771
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
1772
1772
|
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) || [
|
|
@@ -1786,7 +1786,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
1786
1786
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
1787
1787
|
}, "validateMeetingHitSearch");
|
|
1788
1788
|
|
|
1789
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1789
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
1790
1790
|
var ids = {
|
|
1791
1791
|
meeting_id: "meetingId",
|
|
1792
1792
|
identity_id: "participantIdentityId",
|
|
@@ -1877,7 +1877,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
|
|
|
1877
1877
|
return { project: project.trim(), options, query: frozen.join(" AND ") };
|
|
1878
1878
|
}, "prepareMeetingProjectEvidence");
|
|
1879
1879
|
|
|
1880
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1880
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
1881
1881
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
|
|
1882
1882
|
const prepared = prepareMeetingProjectEvidence(project, request, now);
|
|
1883
1883
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -1885,7 +1885,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
|
|
|
1885
1885
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
1886
1886
|
}, "readMeetingProjectEvidence");
|
|
1887
1887
|
|
|
1888
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1888
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
1889
1889
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
1890
1890
|
const { identityExternalId, ...fields3 } = p;
|
|
1891
1891
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -2024,7 +2024,7 @@ unlinked`, format)],
|
|
|
2024
2024
|
return report;
|
|
2025
2025
|
}, "pull");
|
|
2026
2026
|
|
|
2027
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2027
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
2028
2028
|
var text5 = string();
|
|
2029
2029
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2030
2030
|
var id3 = pipe(number(), integer(), minValue(1));
|
|
@@ -2218,10 +2218,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
2218
2218
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
2219
2219
|
}), "eventItem");
|
|
2220
2220
|
|
|
2221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
2222
2222
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
2223
2223
|
|
|
2224
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2224
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
2225
2225
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
2226
2226
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2227
2227
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -2251,7 +2251,7 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
2251
2251
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
2252
2252
|
}, "validateMeetingRelatedHistory");
|
|
2253
2253
|
|
|
2254
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2254
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
2255
2255
|
var text6 = string();
|
|
2256
2256
|
var identifier = pipe(text6, minLength(1));
|
|
2257
2257
|
var nullableText = nullable(text6);
|
|
@@ -2384,14 +2384,14 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
2384
2384
|
meeting_repair: repair
|
|
2385
2385
|
};
|
|
2386
2386
|
|
|
2387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
2388
2388
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
2389
2389
|
|
|
2390
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2390
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
2391
2391
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
2392
2392
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
2393
2393
|
|
|
2394
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2394
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
2395
2395
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
2396
2396
|
input.signal?.throwIfAborted();
|
|
2397
2397
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -2412,10 +2412,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
2412
2412
|
return { ...input, limit, maxReadBytes };
|
|
2413
2413
|
}, "validateMeetingSeriesHistory");
|
|
2414
2414
|
|
|
2415
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2415
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
2416
2416
|
var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
|
|
2417
2417
|
|
|
2418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
2419
2419
|
function invalid4(field, response = false) {
|
|
2420
2420
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
2421
2421
|
}
|
|
@@ -2444,7 +2444,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
2444
2444
|
cursorDetails(value);
|
|
2445
2445
|
}, "validateMeetingSeriesInventoryCursor");
|
|
2446
2446
|
|
|
2447
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2447
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
2448
2448
|
var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
|
|
2449
2449
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
2450
2450
|
const zone = timeZone ?? "UTC";
|
|
@@ -2579,7 +2579,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
2579
2579
|
};
|
|
2580
2580
|
}, "aggregateMeetingStats");
|
|
2581
2581
|
|
|
2582
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2582
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/tasks/model.js
|
|
2583
2583
|
var TASK_KINDS = ["question", "request", "mention", "promise"];
|
|
2584
2584
|
var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
|
|
2585
2585
|
var CLOSED_STATES = ["done", "dismissed"];
|
|
@@ -2594,7 +2594,7 @@ function closeTask(task, state, by, at, reason) {
|
|
|
2594
2594
|
}
|
|
2595
2595
|
__name(closeTask, "closeTask");
|
|
2596
2596
|
|
|
2597
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2597
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/tasks/priority.js
|
|
2598
2598
|
var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
|
|
2599
2599
|
var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
|
|
2600
2600
|
var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
|
|
@@ -2623,7 +2623,7 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
|
|
|
2623
2623
|
}, "priorityOf");
|
|
2624
2624
|
var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
|
|
2625
2625
|
|
|
2626
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2626
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/tasks/service.js
|
|
2627
2627
|
function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
|
|
2628
2628
|
async function find(id4) {
|
|
2629
2629
|
const task = await store.get(id4);
|
|
@@ -2683,13 +2683,13 @@ function median(values) {
|
|
|
2683
2683
|
}
|
|
2684
2684
|
__name(median, "median");
|
|
2685
2685
|
|
|
2686
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2686
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/tasks/store.js
|
|
2687
2687
|
function matches(task, filter) {
|
|
2688
2688
|
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);
|
|
2689
2689
|
}
|
|
2690
2690
|
__name(matches, "matches");
|
|
2691
2691
|
|
|
2692
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2692
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
|
|
2693
2693
|
var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
|
|
2694
2694
|
var MEMORY_KINDS = ["summary", "digest", "preference"];
|
|
2695
2695
|
var MEMORY_STATUSES = ["proposed", "confirmed", "stale", "superseded"];
|
|
@@ -2697,7 +2697,7 @@ var MEMORY_SCOPES = ["personal", "work"];
|
|
|
2697
2697
|
var WORK_TASK_TYPES = ["bug", "feature", "chore"];
|
|
2698
2698
|
var TASK_TYPES2 = [...WORK_TASK_TYPES, ...TASK_KINDS];
|
|
2699
2699
|
|
|
2700
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2700
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/domain/tags.js
|
|
2701
2701
|
var TAG_TYPES = ["chat", "contact", "message", "task"];
|
|
2702
2702
|
var TAG = /^[a-z0-9-]{1,32}$/;
|
|
2703
2703
|
var tagOf = /* @__PURE__ */ __name((value) => {
|
|
@@ -2711,7 +2711,7 @@ var normalizeTag = /* @__PURE__ */ __name((value) => {
|
|
|
2711
2711
|
return tag;
|
|
2712
2712
|
}, "normalizeTag");
|
|
2713
2713
|
|
|
2714
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2714
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
|
|
2715
2715
|
var LINK_KINDS = [
|
|
2716
2716
|
"links-to",
|
|
2717
2717
|
"blocked-by",
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/installer.js
|
|
8
8
|
var installerOf = /* @__PURE__ */ __name((scriptPath) => {
|
|
9
9
|
const path = scriptPath.replaceAll("\\", "/");
|
|
10
10
|
if (path.includes("/_npx/"))
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/http/listen.js
|
|
8
8
|
import { createServer } from "node:http";
|
|
9
9
|
import { Readable } from "node:stream";
|
|
10
10
|
var MAX_BODY = 4 * 1024 * 1024;
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
checkApiParameter,
|
|
12
12
|
operations,
|
|
13
13
|
parseApiJson
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XZBR2O63.js";
|
|
15
15
|
import {
|
|
16
16
|
array,
|
|
17
17
|
boolean,
|
|
@@ -27,15 +27,15 @@ import {
|
|
|
27
27
|
string,
|
|
28
28
|
transform,
|
|
29
29
|
unknown
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-VYXVPYA3.js";
|
|
31
31
|
import {
|
|
32
32
|
CliError
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-WZ5XK74U.js";
|
|
34
34
|
import {
|
|
35
35
|
__name
|
|
36
36
|
} from "./chunk-ZVVMGPBJ.js";
|
|
37
37
|
|
|
38
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
38
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/codegen/runtime.js
|
|
39
39
|
var isLossless = /* @__PURE__ */ __name((input) => typeof input === "object" && input !== null && input.isLosslessNumber === true && typeof input.value === "string", "isLossless");
|
|
40
40
|
var INTEGER = /^-?\d+$/;
|
|
41
41
|
var INT64_MIN = -(2n ** 63n);
|