@wirecat/drive-cli 0.72.0 → 0.73.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 -0
- package/contracts/wirecat.json +82 -18
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/agent-ZOHMLVWI.js +46 -0
- package/dist/bundle/{all-profiles-GXGDVNQJ.js → all-profiles-HGQGKCKQ.js} +14 -14
- package/dist/bundle/{anthropic-H5C4GQHC.js → anthropic-2L5DN3HF.js} +8 -8
- package/dist/bundle/{app-server-EQ3UK4C7.js → app-server-TRSOKYYF.js} +79 -79
- package/dist/bundle/{bun-DTJVSRY3.js → bun-AFA5HULK.js} +2 -2
- package/dist/bundle/{bun-sqlite-JIFY7MAE.js → bun-sqlite-5MW2BWV4.js} +9 -9
- package/dist/bundle/{chunk-FRCJHGZM.js → chunk-2G24DYSZ.js} +2 -2
- package/dist/bundle/{chunk-FUDUXIVG.js → chunk-2MCMUZCE.js} +1 -1
- package/dist/bundle/{chunk-COJTCEZP.js → chunk-2NAMKBBV.js} +31 -23
- package/dist/bundle/{chunk-CIFE4KPX.js → chunk-2WAGRBQT.js} +50 -47
- package/dist/bundle/{chunk-ZKWT6HXT.js → chunk-33RQ3YVC.js} +1 -1
- package/dist/bundle/{chunk-E3VWZC3K.js → chunk-36256UTA.js} +12 -12
- package/dist/bundle/{chunk-KP2XMCNT.js → chunk-4FTGSEBR.js} +6 -6
- package/dist/bundle/{chunk-MUFF2YTH.js → chunk-4KOMZRN6.js} +2 -2
- package/dist/bundle/{chunk-J4NUHSM7.js → chunk-4LLO4USI.js} +1 -1
- package/dist/bundle/{chunk-CWPYDT73.js → chunk-4VTAPSZE.js} +4 -4
- package/dist/bundle/{chunk-OLDQLEPA.js → chunk-4ZP3IK5I.js} +6 -6
- package/dist/bundle/{chunk-M2ZWYVWO.js → chunk-5CYWWYIG.js} +6 -1
- package/dist/bundle/{chunk-AA4LKC6W.js → chunk-5EZCDENA.js} +78 -35
- package/dist/bundle/{chunk-GWCDOYSC.js → chunk-5R2VPXVT.js} +1 -1
- package/dist/bundle/{chunk-KF3ZBQJV.js → chunk-5SQHQRNO.js} +4 -4
- package/dist/bundle/{chunk-77OBW43F.js → chunk-6AVHD6WB.js} +6 -6
- package/dist/bundle/{chunk-K652FYCO.js → chunk-6EC3LAVC.js} +2 -2
- package/dist/bundle/{chunk-ST35FIUG.js → chunk-6HZKX65K.js} +3 -3
- package/dist/bundle/{chunk-VAR3MJU6.js → chunk-6TGZCOYR.js} +3 -3
- package/dist/bundle/{chunk-D4JNCXS7.js → chunk-6V5556NF.js} +7 -7
- package/dist/bundle/{chunk-BM6V7456.js → chunk-6WZLP4CI.js} +5 -5
- package/dist/bundle/{chunk-ML2QIWX2.js → chunk-77SAHCDZ.js} +4 -4
- package/dist/bundle/{chunk-NNGA4QDR.js → chunk-AGATODLO.js} +12 -12
- package/dist/bundle/{chunk-OLCU7Q2B.js → chunk-B6YBN6VK.js} +1 -1
- package/dist/bundle/{chunk-TTPWKTVR.js → chunk-BAG4KIN5.js} +1 -1
- package/dist/bundle/{chunk-U7VEJ3CW.js → chunk-BAHWXDWN.js} +29 -190
- package/dist/bundle/{chunk-4HPXWYTE.js → chunk-BFESDJPU.js} +1 -1
- package/dist/bundle/{chunk-QSLOACDT.js → chunk-BOHC2GPY.js} +36 -36
- package/dist/bundle/{chunk-BO6EDBYJ.js → chunk-BY5D2LXE.js} +3 -3
- package/dist/bundle/{chunk-FBEZSA76.js → chunk-CMB6URN7.js} +5 -5
- package/dist/bundle/{chunk-4JS32SRX.js → chunk-CY2MNN3I.js} +5 -5
- package/dist/bundle/{chunk-PRYMT3OG.js → chunk-DAYHLKTM.js} +2 -2
- package/dist/bundle/{chunk-YWOLQEDV.js → chunk-DOUFW7RK.js} +3 -3
- package/dist/bundle/{chunk-CKB4XZZJ.js → chunk-DZG5SAO6.js} +14 -14
- package/dist/bundle/{chunk-FTG5QBSD.js → chunk-E3UFICXC.js} +35 -31
- package/dist/bundle/{chunk-QDUIVMEW.js → chunk-EBGI3Z6U.js} +1 -1
- package/dist/bundle/{chunk-ZJKXSMXK.js → chunk-EQGVNLUN.js} +42 -42
- package/dist/bundle/{chunk-WMG3H2VK.js → chunk-F5XMZDR5.js} +2 -2
- package/dist/bundle/{chunk-6ZW2ZJYC.js → chunk-FITKBN46.js} +2 -2
- package/dist/bundle/{chunk-ZFDSJ5YJ.js → chunk-FRQBKAPV.js} +6 -6
- package/dist/bundle/{chunk-DHMNCOQI.js → chunk-GW7L2G4I.js} +57 -57
- package/dist/bundle/{chunk-FIZOPJYY.js → chunk-HGXFOXSA.js} +1 -1
- package/dist/bundle/{chunk-N24YSLED.js → chunk-HYJEBBFK.js} +1892 -588
- package/dist/bundle/{chunk-SQHDSIFL.js → chunk-I2KGZ6XQ.js} +6 -6
- package/dist/bundle/{chunk-XZ7MO6EU.js → chunk-I3DZHZHM.js} +7 -7
- package/dist/bundle/{chunk-ZFUZEFU6.js → chunk-I3MLLVPE.js} +3 -3
- package/dist/bundle/{chunk-5BNMWSU2.js → chunk-IDJKYHVG.js} +2246 -2047
- package/dist/bundle/{chunk-SPNPJ3FZ.js → chunk-IEGU6GG7.js} +1 -1
- package/dist/bundle/{chunk-ZPUY3COZ.js → chunk-IKW3PRNG.js} +13 -13
- package/dist/bundle/{chunk-R57QUYBG.js → chunk-J3I4WOBI.js} +3 -3
- package/dist/bundle/{chunk-DCPWZIOV.js → chunk-JA37PJL4.js} +11 -11
- package/dist/bundle/{chunk-OAONP6KI.js → chunk-JJGKHGBX.js} +8 -8
- package/dist/bundle/{chunk-UIQ35CA5.js → chunk-JWNM6FCC.js} +1 -1
- package/dist/bundle/{chunk-R32DHS6J.js → chunk-JZYNXTMH.js} +51 -15
- package/dist/bundle/{chunk-QKBPCX7Y.js → chunk-K34B37AP.js} +1 -1
- package/dist/bundle/{chunk-HAGXTGJC.js → chunk-KERX3BQL.js} +4 -4
- package/dist/bundle/{chunk-QUZFDU4K.js → chunk-KV232TIK.js} +4 -4
- package/dist/bundle/{chunk-RSPBVKOC.js → chunk-KXETGAU4.js} +8 -8
- package/dist/bundle/{chunk-VPQSI5IU.js → chunk-L5ZZ6RLL.js} +2 -2
- package/dist/bundle/{chunk-OPIPG6AP.js → chunk-LGRZNEMA.js} +8 -8
- package/dist/bundle/{chunk-X5BGAZC5.js → chunk-M3VJTLFM.js} +6 -6
- package/dist/bundle/{chunk-5H747A76.js → chunk-MTH76YSQ.js} +500 -1428
- package/dist/bundle/{chunk-75DAHQOV.js → chunk-NA4HEM4Z.js} +3 -3
- package/dist/bundle/{chunk-5KWCO56H.js → chunk-OCZWU2H4.js} +2 -2
- package/dist/bundle/{chunk-GUMKKRE6.js → chunk-OHKAL25R.js} +63 -63
- package/dist/bundle/{chunk-O7CZZ36M.js → chunk-P2FOF6RR.js} +3 -3
- package/dist/bundle/{chunk-OHR6IZNH.js → chunk-PMYTDTT4.js} +8 -1
- package/dist/bundle/{chunk-XQZEMRCU.js → chunk-PQSCABAC.js} +10 -10
- package/dist/bundle/{chunk-GU6ICH53.js → chunk-PSFACXOC.js} +2 -2
- package/dist/bundle/{chunk-NBMGDRP4.js → chunk-PSWVHX53.js} +1 -1
- package/dist/bundle/{chunk-KFZCHJRT.js → chunk-Q2L3W7PS.js} +2 -2
- package/dist/bundle/{chunk-VQPT3Y7W.js → chunk-QMDVQ4AN.js} +12 -12
- package/dist/bundle/{chunk-GXGSC622.js → chunk-QZXFWDTX.js} +6 -6
- package/dist/bundle/{chunk-R64OSDOD.js → chunk-R2GLRHNK.js} +5 -5
- package/dist/bundle/{chunk-FNAYSZWK.js → chunk-R6K36FZ7.js} +23 -23
- package/dist/bundle/{chunk-7EFM6AW3.js → chunk-RHS3OBO5.js} +4 -4
- package/dist/bundle/{chunk-UJY26HW4.js → chunk-RNLLWYPV.js} +1 -1
- package/dist/bundle/{chunk-6CCO3JCM.js → chunk-RX6D64YA.js} +20 -20
- package/dist/bundle/{chunk-FBQJN74J.js → chunk-S7EQIYNF.js} +1 -1
- package/dist/bundle/{chunk-DWRUOLBF.js → chunk-SIC2CGYE.js} +4 -4
- package/dist/bundle/{chunk-55FH6IEL.js → chunk-SNY4WYPH.js} +5 -5
- package/dist/bundle/{chunk-A3S7QM5L.js → chunk-SQODI3DH.js} +2 -2
- package/dist/bundle/{chunk-EVG3AA5M.js → chunk-SRRNRQSQ.js} +2 -2
- package/dist/bundle/{chunk-IVGVVSPW.js → chunk-SYQKLEP3.js} +4 -4
- package/dist/bundle/{chunk-5U3NCE5R.js → chunk-TAQUEQ5B.js} +8 -8
- package/dist/bundle/{chunk-GIEZYBRC.js → chunk-TPIGO4JJ.js} +1 -1
- package/dist/bundle/{chunk-DOQMH4DC.js → chunk-U5SB2WDG.js} +12 -10
- package/dist/bundle/{chunk-KWDZ3KVH.js → chunk-UDP7EQNY.js} +4 -4
- package/dist/bundle/{chunk-4IUNYYYL.js → chunk-UZAOKKGK.js} +753 -494
- package/dist/bundle/{chunk-K6ZWNTXY.js → chunk-V5GIK53Z.js} +17 -17
- package/dist/bundle/{chunk-2Q325BBD.js → chunk-VENGEFU4.js} +8 -8
- package/dist/bundle/{chunk-N4GTCPML.js → chunk-VHPNTMJJ.js} +1 -1
- package/dist/bundle/{chunk-UWG3PRY7.js → chunk-VM3IERRK.js} +7 -7
- package/dist/bundle/{chunk-KLPFDFLI.js → chunk-VQ7K2EAW.js} +9 -9
- package/dist/bundle/{chunk-3FRQ6V4T.js → chunk-VQC4GYIQ.js} +3 -3
- package/dist/bundle/{chunk-XC6TRWLZ.js → chunk-VZTDELYM.js} +3 -3
- package/dist/bundle/{chunk-ASTKHB6B.js → chunk-W3OKRT6L.js} +179 -135
- package/dist/bundle/{chunk-KX4C32WD.js → chunk-WB46DJSK.js} +2 -2
- package/dist/bundle/{chunk-BPA3R4KN.js → chunk-WITO2RZO.js} +1 -1
- package/dist/bundle/{chunk-OESP4PHB.js → chunk-WJ7E6TPR.js} +17 -17
- package/dist/bundle/{chunk-YAIOEPKU.js → chunk-WUVNBZWC.js} +191 -160
- package/dist/bundle/{chunk-47L262VI.js → chunk-ZDYWRT3X.js} +7 -7
- package/dist/bundle/{chunk-IMAWQC5K.js → chunk-ZQMURHTL.js} +6 -6
- package/dist/bundle/{cli-2P5FW2RL.js → cli-A7MMBLGR.js} +107 -107
- package/dist/bundle/command-contract-WCGIIXYM.js +45 -0
- package/dist/bundle/{command-server-entry-KP2UDGLA.js → command-server-entry-557ZCX63.js} +35 -35
- package/dist/bundle/{decode-K2JZ5D6V.js → decode-3IPZIY2P.js} +8 -8
- package/dist/bundle/{dispatch-KOQZA74A.js → dispatch-UWS7A35Q.js} +9 -9
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-URO3QGCG.js → echarts-JLCV6NKC.js} +2 -2
- package/dist/bundle/{embed-JLIPWTNN.js → embed-Q6H3QSMC.js} +9 -9
- package/dist/bundle/{embedder-LUTDO3HS.js → embedder-536EI65E.js} +12 -12
- package/dist/bundle/entry-3PKJTP5E.js +25 -0
- package/dist/bundle/{failure-GJMQLM7O.js → failure-W3VT5D3H.js} +4 -4
- package/dist/bundle/first-run-XTLP6VXF.js +31 -0
- package/dist/bundle/first-screen-3GQGULPE.js +45 -0
- package/dist/bundle/google-MEPVU4EP.js +46 -0
- package/dist/bundle/{google-api-RFXKRLL4.js → google-api-SY25TRXJ.js} +85 -85
- package/dist/bundle/grants-77W5MSWQ.js +133 -0
- package/dist/bundle/{identity-FXPB5EMT.js → identity-ZBMVHXUY.js} +6 -6
- package/dist/bundle/{instructions-IROIUVZI.js → instructions-XQOWVU6J.js} +1 -1
- package/dist/bundle/{login-WIY5VQU7.js → login-LXXYFMD3.js} +91 -91
- package/dist/bundle/{mcp-NJIOKW3E.js → mcp-VNOYBWW2.js} +2 -2
- package/dist/bundle/meeting-combined-NWWZCYN4.js +28 -0
- package/dist/bundle/meeting-model-K7UQ7TO5.js +29 -0
- package/dist/bundle/{meeting-semantic-62QNQMOM.js → meeting-semantic-Z7FAOSLQ.js} +10 -10
- package/dist/bundle/{node-IACCI2CW.js → node-MPZ3SVB4.js} +2 -2
- package/dist/bundle/{node-sqlite-WYIRC7C7.js → node-sqlite-VL5BMY34.js} +10 -10
- package/dist/bundle/notes-search-MF7QKFQD.js +74 -0
- package/dist/bundle/oauth-EYJXUTXZ.js +22 -0
- package/dist/bundle/{open-H32B6BCT.js → open-SERV3YXC.js} +8 -8
- package/dist/bundle/{openai-VHMPJJUG.js → openai-HUXETQVC.js} +20 -20
- package/dist/bundle/{process-RNHPF5OK.js → process-RFIII6TW.js} +1 -1
- package/dist/bundle/{program-GYMJ3DDH.js → program-VQ6IKDBJ.js} +353 -131
- package/dist/bundle/{prompt-TOG2CRCE.js → prompt-LCD5ZR7Q.js} +8 -8
- package/dist/bundle/{reasons-TLFQ45YX.js → reasons-GDQIXGWT.js} +5 -5
- package/dist/bundle/{recognize-GYGY45EY.js → recognize-GWKRFWHF.js} +7 -7
- package/dist/bundle/{remote-6XN2QLI5.js → remote-XM2CRZJY.js} +13 -13
- package/dist/bundle/{rerank-HJO3O4TW.js → rerank-HR5J35V6.js} +10 -10
- package/dist/bundle/{serve-XPCNLHCR.js → serve-PP3XR3GA.js} +12 -12
- package/dist/bundle/{server-WPT3NC5B.js → server-DD3DE536.js} +71 -71
- package/dist/bundle/server-NB4RGNYM.js +97 -0
- package/dist/bundle/{services-253KKKVU.js → services-4Y7R425J.js} +62 -58
- package/dist/bundle/{sqlite-runtime-EZASGJXW.js → sqlite-runtime-CVYBPVKO.js} +9 -9
- package/dist/bundle/{start-UHI35JFL.js → start-2KFZDMWM.js} +7 -7
- package/dist/bundle/{state-KJTSPFGK.js → state-AUXW4REW.js} +9 -9
- package/dist/bundle/{store-62J2H2A3.js → store-B7X6UN75.js} +28 -28
- package/dist/bundle/{store-G5B7T7M7.js → store-RADARFIH.js} +26 -26
- package/dist/bundle/store-maintenance-command-UTZWPNUF.js +85 -0
- package/dist/bundle/surface-4MUNDC3D.js +83 -0
- package/dist/bundle/tokens-AIKNGAOI.js +133 -0
- package/dist/commands/file-edit.d.ts +18 -0
- package/dist/commands/file-edit.d.ts.map +1 -0
- package/dist/commands/file-edit.js +39 -0
- package/dist/commands/file-edit.js.map +1 -0
- package/dist/commands/remote.d.ts +4 -0
- package/dist/commands/remote.d.ts.map +1 -1
- package/dist/commands/remote.js +59 -17
- package/dist/commands/remote.js.map +1 -1
- package/dist/config.d.ts +2 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +17 -1
- package/dist/config.js.map +1 -1
- package/dist/drive-files.d.ts +26 -0
- package/dist/drive-files.d.ts.map +1 -0
- package/dist/drive-files.js +127 -0
- package/dist/drive-files.js.map +1 -0
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +52 -1
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +5 -0
- package/dist/reasons.js.map +1 -1
- package/dist/upload.d.ts +3 -1
- package/dist/upload.d.ts.map +1 -1
- package/dist/upload.js +5 -4
- package/dist/upload.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/drive-cli/SKILL.md +4 -0
- package/dist/bundle/agent-23OB2NZP.js +0 -46
- package/dist/bundle/command-contract-BMQT2G5X.js +0 -45
- package/dist/bundle/entry-AVF6LMG7.js +0 -25
- package/dist/bundle/first-run-VYTIEUDA.js +0 -31
- package/dist/bundle/first-screen-QVZPF7KL.js +0 -45
- package/dist/bundle/google-VX7IPACN.js +0 -46
- package/dist/bundle/grants-4XWJFVD6.js +0 -133
- package/dist/bundle/meeting-combined-JUNV35GM.js +0 -28
- package/dist/bundle/meeting-model-XY4UNWWK.js +0 -29
- package/dist/bundle/notes-search-DEDUJKSN.js +0 -70
- package/dist/bundle/oauth-HXBXF4VI.js +0 -22
- package/dist/bundle/server-UBJZ66XE.js +0 -97
- package/dist/bundle/store-maintenance-command-C6T4YLVF.js +0 -85
- package/dist/bundle/surface-3OT64BHS.js +0 -83
- package/dist/bundle/tokens-EHYO6D2X.js +0 -133
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
timezoneOf,
|
|
10
10
|
validateQuery,
|
|
11
11
|
walkQuery
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PQSCABAC.js";
|
|
13
13
|
import {
|
|
14
14
|
singleLine,
|
|
15
15
|
visibleControls
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2MCMUZCE.js";
|
|
17
17
|
import {
|
|
18
18
|
STEPS,
|
|
19
19
|
array,
|
|
@@ -39,15 +39,15 @@ import {
|
|
|
39
39
|
strictObject,
|
|
40
40
|
string,
|
|
41
41
|
union
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-QZXFWDTX.js";
|
|
43
43
|
import {
|
|
44
44
|
CliError
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-B6YBN6VK.js";
|
|
46
46
|
import {
|
|
47
47
|
__name
|
|
48
48
|
} from "./chunk-ZVVMGPBJ.js";
|
|
49
49
|
|
|
50
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
50
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
51
51
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
52
52
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
53
53
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -84,7 +84,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text7) => {
|
|
|
84
84
|
}, "parseMeetingReference");
|
|
85
85
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text7) => formatMeetingReference(parseMeetingReference(text7)), "canonicalMeetingReference");
|
|
86
86
|
|
|
87
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
87
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/payment.js
|
|
88
88
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
89
89
|
var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
|
|
90
90
|
var PAYMENT_STATES = ["expected", "paid", "cancelled"];
|
|
@@ -178,7 +178,7 @@ var paymentTitle = /* @__PURE__ */ __name((fact) => {
|
|
|
178
178
|
return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
|
|
179
179
|
}, "paymentTitle");
|
|
180
180
|
|
|
181
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
181
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
182
182
|
var context = {
|
|
183
183
|
command: "search meetings",
|
|
184
184
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -300,7 +300,7 @@ var meetingWordsQuery = /* @__PURE__ */ __name((text7) => {
|
|
|
300
300
|
return { version: 1, language: "lucene-v1", root };
|
|
301
301
|
}, "meetingWordsQuery");
|
|
302
302
|
|
|
303
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
303
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/search-store.js
|
|
304
304
|
var refreshMeetingIndex = /* @__PURE__ */ __name(async (meetings, accountId, signal) => {
|
|
305
305
|
let before = Number.POSITIVE_INFINITY;
|
|
306
306
|
for (; ; ) {
|
|
@@ -317,7 +317,7 @@ var refreshMeetingIndex = /* @__PURE__ */ __name(async (meetings, accountId, sig
|
|
|
317
317
|
}
|
|
318
318
|
}, "refreshMeetingIndex");
|
|
319
319
|
|
|
320
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
320
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
321
321
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
322
322
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
323
323
|
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)))
|
|
@@ -338,7 +338,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
338
338
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
339
339
|
}, "validateMeetingPassage");
|
|
340
340
|
|
|
341
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
341
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
342
342
|
var text = string();
|
|
343
343
|
var identifier = pipe(text, minLength(1));
|
|
344
344
|
var nullableText = nullable(text);
|
|
@@ -510,7 +510,7 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
510
510
|
meeting_repair: repair
|
|
511
511
|
};
|
|
512
512
|
|
|
513
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
513
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/search/service-query.js
|
|
514
514
|
var BACKENDS = ["archive", "server", "both"];
|
|
515
515
|
var MAX_BRANCHES = 64;
|
|
516
516
|
var some = /* @__PURE__ */ __name((value) => value === void 0 ? [] : [value], "some");
|
|
@@ -549,10 +549,10 @@ var RELATIVE_TIME = /^\d+[mhd]$/i;
|
|
|
549
549
|
var OFFSET = /(?:Z|[+-]\d{2}:?\d{2})$/i;
|
|
550
550
|
var readsZone = /* @__PURE__ */ __name((ast, times) => walkQuery(ast.root).some((term) => times.has(term.field) && [term.value, term.upper].some((value) => value !== void 0 && value !== "*" && !RELATIVE_TIME.test(value) && !OFFSET.test(value))), "readsZone");
|
|
551
551
|
|
|
552
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
552
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/model.js
|
|
553
553
|
var MEETING_CALL_DIRECTIONS = ["in", "out"];
|
|
554
554
|
|
|
555
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
555
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
556
556
|
var text2 = string();
|
|
557
557
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
558
558
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -652,7 +652,7 @@ var MEETING_QUERY = {
|
|
|
652
652
|
})
|
|
653
653
|
};
|
|
654
654
|
|
|
655
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
655
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/store.js
|
|
656
656
|
var MEETING_DOCUMENT_ROLES = ["transcript", "recording", "notes"];
|
|
657
657
|
var TRANSCRIPT_WORDS = [
|
|
658
658
|
"Transcript",
|
|
@@ -664,7 +664,7 @@ var TRANSCRIPT_WORDS = [
|
|
|
664
664
|
];
|
|
665
665
|
var READ_BUDGET_EXCEEDED = "Meeting search exceeds its stored text byte budget";
|
|
666
666
|
|
|
667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
667
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
668
668
|
var text3 = string();
|
|
669
669
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
670
670
|
var iso2 = /* @__PURE__ */ __name((ms2) => ms2 === null ? null : new Date(ms2).toISOString(), "iso");
|
|
@@ -948,7 +948,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
948
948
|
};
|
|
949
949
|
}, "meetingHitsList");
|
|
950
950
|
|
|
951
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
951
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
952
952
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
953
953
|
const parsed = urlOf(url);
|
|
954
954
|
if (!parsed)
|
|
@@ -982,7 +982,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
982
982
|
}
|
|
983
983
|
}, "urlOf");
|
|
984
984
|
|
|
985
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
985
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
986
986
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
987
987
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
988
988
|
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");
|
|
@@ -1019,7 +1019,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
1019
1019
|
return kept;
|
|
1020
1020
|
}, "entryMetadata");
|
|
1021
1021
|
|
|
1022
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1022
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/calls.js
|
|
1023
1023
|
var CALL_DIRECTIONS = ["incoming", "outgoing", "internal"];
|
|
1024
1024
|
var CALL_OUTCOMES = ["answered", "voicemail", "busy", "no_answer", "failed"];
|
|
1025
1025
|
var MISSED_OUTCOMES = ["voicemail", "busy", "no_answer"];
|
|
@@ -1088,7 +1088,7 @@ var callOf = /* @__PURE__ */ __name((stored) => {
|
|
|
1088
1088
|
};
|
|
1089
1089
|
}, "callOf");
|
|
1090
1090
|
|
|
1091
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1091
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/call-answers.js
|
|
1092
1092
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
1093
1093
|
var ms = count4;
|
|
1094
1094
|
var id = pipe(number(), integer(), minValue(1));
|
|
@@ -1251,7 +1251,7 @@ var callStatsItem = /* @__PURE__ */ __name((found) => {
|
|
|
1251
1251
|
};
|
|
1252
1252
|
}, "callStatsItem");
|
|
1253
1253
|
|
|
1254
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1254
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
1255
1255
|
var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
|
|
1256
1256
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
1257
1257
|
const zone = timeZone ?? "UTC";
|
|
@@ -1386,7 +1386,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
1386
1386
|
};
|
|
1387
1387
|
}, "aggregateMeetingStats");
|
|
1388
1388
|
|
|
1389
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1389
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/call-stats.js
|
|
1390
1390
|
var CALLBACK_WITHIN_MS = 24 * 60 * 60 * 1e3;
|
|
1391
1391
|
var SHORT_CALL_UNDER_MS = 3e4;
|
|
1392
1392
|
var MOST_MISSED = 100;
|
|
@@ -1576,7 +1576,7 @@ var aggregateCallStats = /* @__PURE__ */ __name((calls, options = {}) => {
|
|
|
1576
1576
|
};
|
|
1577
1577
|
}, "aggregateCallStats");
|
|
1578
1578
|
|
|
1579
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1579
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
1580
1580
|
import { createHash } from "node:crypto";
|
|
1581
1581
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
1582
1582
|
reference: cue2.reference,
|
|
@@ -1590,7 +1590,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
1590
1590
|
text: cue2.text
|
|
1591
1591
|
})).digest("hex"), "meetingCueFingerprint");
|
|
1592
1592
|
|
|
1593
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1593
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
1594
1594
|
var EVENT_QUERY = defineQuery({
|
|
1595
1595
|
entity: "event",
|
|
1596
1596
|
backend: "sql",
|
|
@@ -1606,7 +1606,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
1606
1606
|
]
|
|
1607
1607
|
});
|
|
1608
1608
|
|
|
1609
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1609
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
1610
1610
|
var PARTICIPANT_RESPONSES = ["needs-action", "accepted", "tentative", "declined", "delegated"];
|
|
1611
1611
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
1612
1612
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
@@ -1630,7 +1630,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
|
|
|
1630
1630
|
return Math.max(entry.endsAt ?? start, start + 1) > window.from;
|
|
1631
1631
|
}, "entryInWindow");
|
|
1632
1632
|
|
|
1633
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1633
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
1634
1634
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now(), { create = true } = {}) => {
|
|
1635
1635
|
const current = await store.meeting(details.meeting.id);
|
|
1636
1636
|
if (!current)
|
|
@@ -1675,7 +1675,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now(),
|
|
|
1675
1675
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
1676
1676
|
}, "linkEvent");
|
|
1677
1677
|
|
|
1678
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1678
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
1679
1679
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text7) => text7.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
1680
1680
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
1681
1681
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -1699,7 +1699,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
1699
1699
|
};
|
|
1700
1700
|
}, "validateMeetingParticipantSearch");
|
|
1701
1701
|
|
|
1702
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1702
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
1703
1703
|
var MeetingError = class extends CliError {
|
|
1704
1704
|
static {
|
|
1705
1705
|
__name(this, "MeetingError");
|
|
@@ -1838,7 +1838,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id5, accountId)
|
|
|
1838
1838
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
1839
1839
|
}, "meetingSummaryAnswer");
|
|
1840
1840
|
|
|
1841
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1841
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
1842
1842
|
var timestamp = /* @__PURE__ */ __name((milliseconds2) => {
|
|
1843
1843
|
if (!Number.isSafeInteger(milliseconds2) || milliseconds2 < 0)
|
|
1844
1844
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -1935,10 +1935,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id5, options) => {
|
|
|
1935
1935
|
};
|
|
1936
1936
|
}, "exportMeeting");
|
|
1937
1937
|
|
|
1938
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1938
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1939
1939
|
import { createHash as createHash2 } from "node:crypto";
|
|
1940
1940
|
|
|
1941
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1941
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
1942
1942
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
1943
1943
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
1944
1944
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone, such as 2026-11-09T09:00:00Z`);
|
|
@@ -1949,7 +1949,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
1949
1949
|
return new Date(value).toISOString();
|
|
1950
1950
|
}, "meetingTimestamp");
|
|
1951
1951
|
|
|
1952
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1952
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1953
1953
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
1954
1954
|
var invalid3 = /* @__PURE__ */ __name((message) => {
|
|
1955
1955
|
throw new CliError("validation_error", message);
|
|
@@ -2124,7 +2124,7 @@ var validateBatch = /* @__PURE__ */ __name((input, rules, most, one) => {
|
|
|
2124
2124
|
var validateFindings = /* @__PURE__ */ __name((input, rules) => validateBatch(input, rules, 16, (finding, ids2) => validateFinding(finding, rules, ids2)), "validateFindings");
|
|
2125
2125
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
2126
2126
|
|
|
2127
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2127
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
2128
2128
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
2129
2129
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
2130
2130
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -2135,7 +2135,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
2135
2135
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
2136
2136
|
var meetingFindingFingerprint = findingFingerprint;
|
|
2137
2137
|
|
|
2138
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2138
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/language.js
|
|
2139
2139
|
var LATIN_WORDS = {
|
|
2140
2140
|
en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
|
|
2141
2141
|
es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
|
|
@@ -2184,7 +2184,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
|
|
|
2184
2184
|
return null;
|
|
2185
2185
|
}, "transcriptLanguage");
|
|
2186
2186
|
|
|
2187
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2187
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
2188
2188
|
var contentHash = /* @__PURE__ */ __name(async (text7) => {
|
|
2189
2189
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text7));
|
|
2190
2190
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -2221,7 +2221,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
2221
2221
|
return time;
|
|
2222
2222
|
}, "timestamp");
|
|
2223
2223
|
|
|
2224
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2224
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
2225
2225
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
2226
2226
|
const { identityExternalId, phone, ...fields2 } = p;
|
|
2227
2227
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -2437,7 +2437,7 @@ var pull = /* @__PURE__ */ __name(async (source, store, options) => {
|
|
|
2437
2437
|
return report;
|
|
2438
2438
|
}, "pull");
|
|
2439
2439
|
|
|
2440
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2440
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
2441
2441
|
var TranscriptTextError = class extends Error {
|
|
2442
2442
|
static {
|
|
2443
2443
|
__name(this, "TranscriptTextError");
|
|
@@ -2492,7 +2492,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
2492
2492
|
return { header, lines };
|
|
2493
2493
|
}, "parseTranscriptText");
|
|
2494
2494
|
|
|
2495
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2495
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
2496
2496
|
var VttError = class extends Error {
|
|
2497
2497
|
static {
|
|
2498
2498
|
__name(this, "VttError");
|
|
@@ -2544,7 +2544,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
2544
2544
|
return cues;
|
|
2545
2545
|
}, "parseVtt");
|
|
2546
2546
|
|
|
2547
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2547
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
2548
2548
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
2549
2549
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
2550
2550
|
for (const file of files) {
|
|
@@ -2578,10 +2578,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
2578
2578
|
return report;
|
|
2579
2579
|
}, "importFiles");
|
|
2580
2580
|
|
|
2581
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2581
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
2582
2582
|
var CHAT_MESSAGES_READ = 1e5;
|
|
2583
2583
|
|
|
2584
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2584
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/provider.js
|
|
2585
2585
|
var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
2586
2586
|
const provider = scope2?.provider;
|
|
2587
2587
|
const account = scope2?.account;
|
|
@@ -2590,7 +2590,7 @@ var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
|
2590
2590
|
return Object.freeze({ provider, account });
|
|
2591
2591
|
}, "snapshotMeetingScope");
|
|
2592
2592
|
|
|
2593
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2593
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
2594
2594
|
var MEETING_FIELD_KEYS = Object.freeze({
|
|
2595
2595
|
title: "title",
|
|
2596
2596
|
kind: "kind",
|
|
@@ -2622,7 +2622,7 @@ var dispatchMeetingMutation = /* @__PURE__ */ __name(async (options, dispatch) =
|
|
|
2622
2622
|
return { applied: true, value: await dispatch(signal) };
|
|
2623
2623
|
}, "dispatchMeetingMutation");
|
|
2624
2624
|
|
|
2625
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2625
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/meeting-context.js
|
|
2626
2626
|
var id2 = /* @__PURE__ */ __name((value) => {
|
|
2627
2627
|
if (typeof value !== "number" || !Number.isSafeInteger(value) || value < 1)
|
|
2628
2628
|
throw new CliError("validation_error", "meeting context identifiers must be positive integers");
|
|
@@ -2744,7 +2744,7 @@ var createMeetingContext = /* @__PURE__ */ __name((scope2, accountId, ports) =>
|
|
|
2744
2744
|
};
|
|
2745
2745
|
}, "createMeetingContext");
|
|
2746
2746
|
|
|
2747
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2747
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
2748
2748
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
2749
2749
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2750
2750
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -2769,7 +2769,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
2769
2769
|
return { ...input, limit, maxReadBytes };
|
|
2770
2770
|
}, "validateMeetingPreparationContext");
|
|
2771
2771
|
|
|
2772
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2772
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
2773
2773
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
2774
2774
|
var id3 = pipe(string(), minLength(1));
|
|
2775
2775
|
var meetingProjectEvidence = strictObject({
|
|
@@ -2890,7 +2890,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
2890
2890
|
};
|
|
2891
2891
|
}, "meetingProjectEvidenceAnswer");
|
|
2892
2892
|
|
|
2893
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2893
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
2894
2894
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
2895
2895
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
2896
2896
|
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) || [
|
|
@@ -2910,7 +2910,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
2910
2910
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
2911
2911
|
}, "validateMeetingHitSearch");
|
|
2912
2912
|
|
|
2913
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2913
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
2914
2914
|
var ids = {
|
|
2915
2915
|
meeting_id: "meetingId",
|
|
2916
2916
|
identity_id: "participantIdentityId",
|
|
@@ -3001,7 +3001,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
|
|
|
3001
3001
|
return { project: project.trim(), options, query: frozen.join(" AND ") };
|
|
3002
3002
|
}, "prepareMeetingProjectEvidence");
|
|
3003
3003
|
|
|
3004
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3004
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
3005
3005
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
|
|
3006
3006
|
const prepared = prepareMeetingProjectEvidence(project, request, now);
|
|
3007
3007
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -3009,7 +3009,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
|
|
|
3009
3009
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
3010
3010
|
}, "readMeetingProjectEvidence");
|
|
3011
3011
|
|
|
3012
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3012
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
3013
3013
|
var text5 = string();
|
|
3014
3014
|
var count6 = pipe(number(), integer(), minValue(0));
|
|
3015
3015
|
var id4 = pipe(number(), integer(), minValue(1));
|
|
@@ -3207,7 +3207,7 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
3207
3207
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
3208
3208
|
}), "eventItem");
|
|
3209
3209
|
|
|
3210
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3210
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/read-through.js
|
|
3211
3211
|
var MEETING_SERVER_BOUNDS = { calls: 3, pages: 2 };
|
|
3212
3212
|
var ISSUES = {
|
|
3213
3213
|
offline: ["permission_error", "meetings.server-offline"],
|
|
@@ -3504,10 +3504,10 @@ var meetingShowThrough = /* @__PURE__ */ __name(async (source, store, accountId,
|
|
|
3504
3504
|
return { details: fresh, foundIn: step.found.get(details.meeting.id) ?? "server", server: step.report };
|
|
3505
3505
|
}, "meetingShowThrough");
|
|
3506
3506
|
|
|
3507
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3507
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
3508
3508
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
3509
3509
|
|
|
3510
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3510
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
3511
3511
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
3512
3512
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
3513
3513
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -3537,14 +3537,14 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
3537
3537
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
3538
3538
|
}, "validateMeetingRelatedHistory");
|
|
3539
3539
|
|
|
3540
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3540
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
3541
3541
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
3542
3542
|
|
|
3543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3543
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
3544
3544
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
3545
3545
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
3546
3546
|
|
|
3547
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3547
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
3548
3548
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
3549
3549
|
input.signal?.throwIfAborted();
|
|
3550
3550
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -3565,10 +3565,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
3565
3565
|
return { ...input, limit, maxReadBytes };
|
|
3566
3566
|
}, "validateMeetingSeriesHistory");
|
|
3567
3567
|
|
|
3568
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3568
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
3569
3569
|
var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
|
|
3570
3570
|
|
|
3571
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3571
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
3572
3572
|
function invalid4(field, response = false) {
|
|
3573
3573
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
3574
3574
|
}
|
|
@@ -3597,7 +3597,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
3597
3597
|
cursorDetails(value);
|
|
3598
3598
|
}, "validateMeetingSeriesInventoryCursor");
|
|
3599
3599
|
|
|
3600
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3600
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/meetings/tag-answers.js
|
|
3601
3601
|
var text6 = string();
|
|
3602
3602
|
var storeId = pipe(number(), integer(), minValue(1));
|
|
3603
3603
|
var meetingTagChange = strictObject({
|
|
@@ -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.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/background/processes.js
|
|
8
8
|
import { execFileSync } from "node:child_process";
|
|
9
9
|
import { readdirSync, readFileSync, readlinkSync } from "node:fs";
|
|
10
10
|
var alive = /* @__PURE__ */ __name((pid) => {
|