@wirecat/zoom-cli 0.69.0 → 0.70.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 +1 -1
- package/dist/account-removal.d.ts +6 -0
- package/dist/account-removal.d.ts.map +1 -0
- package/dist/account-removal.js +43 -0
- package/dist/account-removal.js.map +1 -0
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-ZQWPCJEK.js → all-profiles-GE2TFJJP.js} +9 -9
- package/dist/bundle/answer-policy-GOXSDYDD.js +104 -0
- package/dist/bundle/{anthropic-7FUQ2HYJ.js → anthropic-FA6NHENI.js} +9 -7
- package/dist/bundle/{app-server-DNPE2EQB.js → app-server-IRADMSNX.js} +50 -50
- package/dist/bundle/{bun-ZVQFCFCC.js → bun-ZYZGGCX5.js} +2 -2
- package/dist/bundle/{bun-sqlite-EB2UMUPJ.js → bun-sqlite-Y24TUIGS.js} +4 -4
- package/dist/bundle/{chunk-B5D7NZI7.js → chunk-2JEM2YNV.js} +1 -1
- package/dist/bundle/{chunk-JX5JJZC3.js → chunk-2QFPVUM3.js} +2 -2
- package/dist/bundle/{chunk-KAPJQGHE.js → chunk-2U6SER67.js} +1 -1
- package/dist/bundle/{chunk-TWIC6JJG.js → chunk-3KC7C465.js} +7 -7
- package/dist/bundle/{chunk-MOTKS7XG.js → chunk-4DSIWYGO.js} +863 -423
- package/dist/bundle/{chunk-LEA4BGK7.js → chunk-56OV5ASY.js} +11 -11
- package/dist/bundle/{chunk-TN77LX6W.js → chunk-5XWCBLUR.js} +1 -1
- package/dist/bundle/{chunk-SZ3Z4ZNO.js → chunk-6HJFIMT7.js} +1 -1
- package/dist/bundle/{chunk-SQT47CFW.js → chunk-6IF5ZHDS.js} +1 -1
- package/dist/bundle/{chunk-BOAMDYLY.js → chunk-7QC4M4HS.js} +2 -2
- package/dist/bundle/{chunk-MSDCZ6GT.js → chunk-AISJCF7A.js} +4 -4
- package/dist/bundle/{chunk-F5DYBWH7.js → chunk-AT2XKNFN.js} +51 -8
- package/dist/bundle/{chunk-V74QFMSL.js → chunk-AUNW7N4I.js} +1 -1
- package/dist/bundle/{chunk-6TICX3MN.js → chunk-BSS6HX4O.js} +2 -2
- package/dist/bundle/{chunk-5ZJXKASF.js → chunk-BVWF4B33.js} +10 -10
- package/dist/bundle/{chunk-GXDOTUUO.js → chunk-CEJJBZAE.js} +9 -9
- package/dist/bundle/{chunk-IPBZKUC3.js → chunk-CHGUNZ3L.js} +3 -3
- package/dist/bundle/{chunk-O7L44JK2.js → chunk-CIZ25UPK.js} +2259 -1046
- package/dist/bundle/{chunk-JHFP3Z5S.js → chunk-CSEBB4OP.js} +8 -8
- package/dist/bundle/{chunk-RPQ3JOD3.js → chunk-D3PNCJD5.js} +5 -5
- package/dist/bundle/{chunk-R2ULMWB4.js → chunk-DCUWJITQ.js} +29 -29
- package/dist/bundle/{chunk-R3JYPY3J.js → chunk-DNR4B5YV.js} +2 -2
- package/dist/bundle/{chunk-EPPSMCEV.js → chunk-DXCTW3MV.js} +1 -1
- package/dist/bundle/{chunk-B6JMVB6R.js → chunk-EOSVN2ER.js} +1 -1
- package/dist/bundle/{chunk-QW5VPZEH.js → chunk-GB5X3GBE.js} +23 -1
- package/dist/bundle/{chunk-CKK6JOC4.js → chunk-GVT5363M.js} +2 -2
- package/dist/bundle/{chunk-C6TEYKXV.js → chunk-IINZIP73.js} +7 -7
- package/dist/bundle/{chunk-H3MFBYTQ.js → chunk-IS3ZTT2Z.js} +5 -5
- package/dist/bundle/{chunk-HW5QTRFF.js → chunk-IWPXWGF7.js} +33 -33
- package/dist/bundle/{chunk-CUZHKYC2.js → chunk-J3SKXICS.js} +350 -136
- package/dist/bundle/{chunk-ZRHMB3LQ.js → chunk-JRO2FWO2.js} +1 -1
- package/dist/bundle/chunk-JULBAECW.js +126 -0
- package/dist/bundle/{chunk-XITUFTON.js → chunk-KM736RMJ.js} +1 -1
- package/dist/bundle/{chunk-S2EAGDS7.js → chunk-KWRCP55G.js} +11 -11
- package/dist/bundle/{chunk-6KMTQX3D.js → chunk-L24UOUWG.js} +1 -1
- package/dist/bundle/{chunk-G6IX2MD2.js → chunk-LAG5O2FV.js} +180 -222
- package/dist/bundle/{chunk-XRZDYWF6.js → chunk-LXXCLQCW.js} +2 -2
- package/dist/bundle/{chunk-IEC4E65G.js → chunk-M6JIXMQZ.js} +5 -1
- package/dist/bundle/{chunk-QXM7S3Y3.js → chunk-M7E44TMT.js} +5 -5
- package/dist/bundle/{chunk-Z6TTGTMU.js → chunk-M7VUXXGS.js} +19 -4
- package/dist/bundle/{chunk-MNOVYS43.js → chunk-MVOMLJYQ.js} +3 -3
- package/dist/bundle/{chunk-MVDPZRFE.js → chunk-OA37BWE5.js} +1 -1
- package/dist/bundle/{chunk-5H6VTEEC.js → chunk-OAQLVV6W.js} +2 -2
- package/dist/bundle/{chunk-KNE6VFHZ.js → chunk-OORMSM6O.js} +1 -1
- package/dist/bundle/{chunk-UEZ6URJR.js → chunk-PV6OHXHN.js} +16 -16
- package/dist/bundle/{chunk-TFFEFEG2.js → chunk-QL7EMFIC.js} +18 -18
- package/dist/bundle/{chunk-HSI7YOYK.js → chunk-QO2KPU26.js} +16 -16
- package/dist/bundle/{chunk-XJBYGMZ4.js → chunk-RB33VTUW.js} +243 -387
- package/dist/bundle/{chunk-HC56J5LB.js → chunk-RIPAUCKJ.js} +54 -54
- package/dist/bundle/{chunk-WY4NYPPS.js → chunk-RO3ZR4VP.js} +12 -12
- package/dist/bundle/{chunk-BL36NSV5.js → chunk-RQG5VOGH.js} +12 -2
- package/dist/bundle/{chunk-JZ4YOAHA.js → chunk-RRRJCHUC.js} +1767 -1038
- package/dist/bundle/{chunk-37B7A4RP.js → chunk-RWIILYKW.js} +1 -1
- package/dist/bundle/{chunk-3TPRYZUW.js → chunk-SNIY3JDN.js} +18 -18
- package/dist/bundle/{chunk-TKXLWFM2.js → chunk-SVF3NDAO.js} +3 -3
- package/dist/bundle/{chunk-GR3QDHBU.js → chunk-UVPL7YAY.js} +5 -5
- package/dist/bundle/{chunk-6N2D6JGX.js → chunk-V2E7QFZ3.js} +1 -1
- package/dist/bundle/{chunk-4APZQYCH.js → chunk-V5GRSOCZ.js} +4 -4
- package/dist/bundle/{chunk-T5X4LGXE.js → chunk-VE2VNECR.js} +12 -12
- package/dist/bundle/{chunk-QLGG7S6F.js → chunk-VJ5ZU4UF.js} +22 -4
- package/dist/bundle/{chunk-52DCABMU.js → chunk-VNU5L37V.js} +26 -26
- package/dist/bundle/{chunk-LDRQ5NAP.js → chunk-VSLDWT4E.js} +3 -3
- package/dist/bundle/{chunk-LQX74VKG.js → chunk-W7ZEEC4K.js} +1 -1
- package/dist/bundle/{chunk-NRRI37NJ.js → chunk-WOIHSQAL.js} +44 -0
- package/dist/bundle/{chunk-V4MM6GST.js → chunk-X4ZF4XXI.js} +1 -1
- package/dist/bundle/{chunk-FBLUKCIR.js → chunk-XRFHQGOD.js} +1 -1
- package/dist/bundle/{chunk-5GOE6PQK.js → chunk-XWQNJKTP.js} +5 -5
- package/dist/bundle/{chunk-6AMMTXEA.js → chunk-Y6C3N7YG.js} +26 -65
- package/dist/bundle/{chunk-KX5MZVPX.js → chunk-YJSPBUGB.js} +50 -32
- package/dist/bundle/{chunk-MJMVIFSC.js → chunk-YTN2JN6N.js} +7 -7
- package/dist/bundle/{chunk-OSBHEM2A.js → chunk-YUHM2OJM.js} +10 -10
- package/dist/bundle/{chunk-7AUP2WT3.js → chunk-ZBKWRYRS.js} +2 -2
- package/dist/bundle/{chunk-DHD25JII.js → chunk-ZS55EERO.js} +1 -1
- package/dist/bundle/{chunk-L62EJDNZ.js → chunk-ZSKE7N2U.js} +3 -3
- package/dist/bundle/{chunk-5ZF6QVMC.js → chunk-ZV3INEKM.js} +4 -4
- package/dist/bundle/{cli-P3BZUE6S.js → cli-VRSQ7HAE.js} +60 -58
- package/dist/bundle/command-contract-RPRKHVU6.js +41 -0
- package/dist/bundle/config-QU6A6VIO.js +90 -0
- package/dist/bundle/{decode-QWOQXM7M.js → decode-523PUQMR.js} +4 -4
- package/dist/bundle/{dispatch-5MGDLOK4.js → dispatch-IZCAK47P.js} +1 -1
- package/dist/bundle/{dist-OUE4MF37.js → dist-6WWKPEVW.js} +41 -25
- package/dist/bundle/{echarts-65IMPY43.js → echarts-S5UMX2D3.js} +2 -2
- package/dist/bundle/{embed-4IULBCKL.js → embed-ODPDVHUK.js} +5 -5
- package/dist/bundle/{embedder-JW4W6IZI.js → embedder-PAXRBSZE.js} +8 -8
- package/dist/bundle/{failure-CR64C4XA.js → failure-R2OIHCE5.js} +1 -1
- package/dist/bundle/{first-run-CH6C674R.js → first-run-NVTDR5VO.js} +8 -8
- package/dist/bundle/first-screen-5RWZDWLK.js +39 -0
- package/dist/bundle/{folders-VU4IN35Y.js → folders-ZXTOFY4T.js} +3 -3
- package/dist/bundle/{instructions-G5QIH2TM.js → instructions-DUB7E6C5.js} +1 -1
- package/dist/bundle/{main-O4ZJIEWP.js → main-A7JSYQI6.js} +18 -18
- package/dist/bundle/{meetings-77CCAVYD.js → meetings-BDZQV3HR.js} +4 -4
- package/dist/bundle/{node-E6VQHU4Y.js → node-E25KP53H.js} +2 -2
- package/dist/bundle/{node-sqlite-RJZ4PGLD.js → node-sqlite-PHWDFZCP.js} +5 -5
- package/dist/bundle/{oauth-F4JKNRW4.js → oauth-G2K46IYP.js} +6 -6
- package/dist/bundle/{open-NYOGMIAA.js → open-INWS5HIZ.js} +4 -4
- package/dist/bundle/{openai-5U6EQTFQ.js → openai-T44ORVGQ.js} +10 -10
- package/dist/bundle/{output-file-6COFGPUL.js → output-file-YGQYZCBJ.js} +4 -4
- package/dist/bundle/{process-OBWUKBMX.js → process-UJ2JHMJN.js} +1 -1
- package/dist/bundle/{program-MU7DEJTO.js → program-LYTGFV6L.js} +115 -72
- package/dist/bundle/{prompt-2QWQTHWT.js → prompt-VTUCRCE4.js} +6 -4
- package/dist/bundle/{recognize-SNUNTUC3.js → recognize-3CEPOW2F.js} +3 -3
- package/dist/bundle/{remote-2CTCIQGF.js → remote-DRQEXEZL.js} +6 -6
- package/dist/bundle/{rerank-XDA7NJNH.js → rerank-UL4KNNVN.js} +6 -6
- package/dist/bundle/{run-log-NSG3DJVX.js → run-log-UZAB5CWF.js} +54 -54
- package/dist/bundle/{serve-TWQFHOV2.js → serve-P5UWUOWQ.js} +8 -8
- package/dist/bundle/server-F3NPVMS2.js +72 -0
- package/dist/bundle/{server-RIQ6HMH2.js → server-M6XK2Y3X.js} +42 -42
- package/dist/bundle/{services-NKZQJQIV.js → services-4HRYNY62.js} +60 -30
- package/dist/bundle/{speech-ZOB76SXA.js → speech-BBPBMFAO.js} +12 -12
- package/dist/bundle/{state-7YYEIXQ5.js → state-GDSUNUSY.js} +5 -5
- package/dist/bundle/{store-E6RTSSNR.js → store-LBQ6FZP2.js} +33 -16
- package/dist/bundle/{store-OX4HRBLO.js → store-VWLABMLF.js} +27 -18
- package/dist/bundle/store-connection-XEBFP56U.js +83 -0
- package/dist/bundle/store-maintenance-command-G43JN57J.js +61 -0
- package/dist/bundle/{streaming-O53PIORL.js → streaming-EJ3NM2C2.js} +5 -5
- package/dist/bundle/{tokens-QKNEP2GJ.js → tokens-BE6CJMR5.js} +5 -5
- package/dist/bundle/zm.js +3 -3
- package/dist/bundle/{zoom-app-TSI2MGVK.js → zoom-app-YIEJLWCW.js} +6 -6
- package/dist/first-screen.d.ts.map +1 -1
- package/dist/first-screen.js +1 -0
- package/dist/first-screen.js.map +1 -1
- package/dist/permissions.js +1 -1
- package/dist/permissions.js.map +1 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +11 -0
- package/dist/setup-commands.js.map +1 -1
- package/dist/tokens.d.ts +2 -0
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +11 -0
- package/dist/tokens.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/answer-policy-VBDYLUXI.js +0 -104
- package/dist/bundle/chunk-2SYWVIQJ.js +0 -33
- package/dist/bundle/command-contract-TOLB32NJ.js +0 -41
- package/dist/bundle/config-4KLLIADY.js +0 -90
- package/dist/bundle/first-screen-OCAW5ZN6.js +0 -39
- package/dist/bundle/server-XO6XQQTJ.js +0 -72
- package/dist/bundle/store-connection-55QPNUDS.js +0 -83
- package/dist/bundle/store-maintenance-command-Q5MSU6OK.js +0 -62
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
queryFieldsOf,
|
|
9
9
|
timezoneOf,
|
|
10
10
|
validateQuery
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EOSVN2ER.js";
|
|
12
12
|
import {
|
|
13
13
|
STEPS,
|
|
14
14
|
array,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
strictObject,
|
|
33
33
|
string,
|
|
34
34
|
union
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-WOIHSQAL.js";
|
|
36
36
|
import {
|
|
37
37
|
CliError
|
|
38
38
|
} from "./chunk-FEM2JQN2.js";
|
|
@@ -44,7 +44,7 @@ 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.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
48
48
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
49
49
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
50
50
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -81,7 +81,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text8) => {
|
|
|
81
81
|
}, "parseMeetingReference");
|
|
82
82
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text8) => formatMeetingReference(parseMeetingReference(text8)), "canonicalMeetingReference");
|
|
83
83
|
|
|
84
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
84
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
85
85
|
var text = string();
|
|
86
86
|
var count = pipe(number(), integer(), minValue(0));
|
|
87
87
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -146,7 +146,7 @@ var MEETING_QUERY = {
|
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
148
|
|
|
149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
149
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
150
150
|
var text2 = string();
|
|
151
151
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
152
152
|
var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
@@ -381,7 +381,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
381
381
|
};
|
|
382
382
|
}, "meetingHitsList");
|
|
383
383
|
|
|
384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
385
385
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
386
386
|
const parsed = urlOf(url);
|
|
387
387
|
if (!parsed)
|
|
@@ -415,7 +415,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
415
415
|
}
|
|
416
416
|
}, "urlOf");
|
|
417
417
|
|
|
418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
419
419
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
420
420
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
421
421
|
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");
|
|
@@ -452,7 +452,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
452
452
|
return kept;
|
|
453
453
|
}, "entryMetadata");
|
|
454
454
|
|
|
455
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
455
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
456
456
|
import { createHash } from "node:crypto";
|
|
457
457
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
458
458
|
reference: cue2.reference,
|
|
@@ -466,7 +466,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
466
466
|
text: cue2.text
|
|
467
467
|
})).digest("hex"), "meetingCueFingerprint");
|
|
468
468
|
|
|
469
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
469
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
470
470
|
var EVENT_QUERY = defineQuery({
|
|
471
471
|
entity: "event",
|
|
472
472
|
backend: "sql",
|
|
@@ -482,7 +482,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
482
482
|
]
|
|
483
483
|
});
|
|
484
484
|
|
|
485
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
485
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
486
486
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
487
487
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
488
488
|
if (entry.recurrenceEndsAt !== null)
|
|
@@ -532,7 +532,7 @@ var eventChange = /* @__PURE__ */ __name((event2, entries, revisions, since) =>
|
|
|
532
532
|
return null;
|
|
533
533
|
}, "eventChange");
|
|
534
534
|
|
|
535
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
535
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
536
536
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
|
|
537
537
|
const current = await store.meeting(details.meeting.id);
|
|
538
538
|
if (!current)
|
|
@@ -575,7 +575,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
575
575
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
576
576
|
}, "linkEvent");
|
|
577
577
|
|
|
578
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
578
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
579
579
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text8) => text8.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
580
580
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
581
581
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -599,7 +599,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
599
599
|
};
|
|
600
600
|
}, "validateMeetingParticipantSearch");
|
|
601
601
|
|
|
602
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
602
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
603
603
|
var MeetingError = class extends CliError {
|
|
604
604
|
static {
|
|
605
605
|
__name(this, "MeetingError");
|
|
@@ -731,7 +731,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id4, accountId)
|
|
|
731
731
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
732
732
|
}, "meetingSummaryAnswer");
|
|
733
733
|
|
|
734
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
734
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
735
735
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
736
736
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
737
737
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -827,10 +827,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id4, options) => {
|
|
|
827
827
|
};
|
|
828
828
|
}, "exportMeeting");
|
|
829
829
|
|
|
830
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
830
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
831
831
|
import { createHash as createHash2 } from "node:crypto";
|
|
832
832
|
|
|
833
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
833
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/payment.js
|
|
834
834
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
835
835
|
var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
|
|
836
836
|
var PAYMENT_STATES = ["expected", "paid", "cancelled"];
|
|
@@ -924,7 +924,7 @@ var paymentTitle = /* @__PURE__ */ __name((fact) => {
|
|
|
924
924
|
return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
|
|
925
925
|
}, "paymentTitle");
|
|
926
926
|
|
|
927
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
927
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
928
928
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
929
929
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
930
930
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone, such as 2026-11-09T09:00:00Z`);
|
|
@@ -935,7 +935,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
935
935
|
return new Date(value).toISOString();
|
|
936
936
|
}, "meetingTimestamp");
|
|
937
937
|
|
|
938
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
938
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
939
939
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
940
940
|
var invalid3 = /* @__PURE__ */ __name((message) => {
|
|
941
941
|
throw new CliError("validation_error", message);
|
|
@@ -1108,7 +1108,7 @@ var validateBatch = /* @__PURE__ */ __name((input, rules, most, one) => {
|
|
|
1108
1108
|
var validateFindings = /* @__PURE__ */ __name((input, rules) => validateBatch(input, rules, 16, (finding, ids2) => validateFinding(finding, rules, ids2)), "validateFindings");
|
|
1109
1109
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
1110
1110
|
|
|
1111
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1111
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
1112
1112
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
1113
1113
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
1114
1114
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -1119,7 +1119,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
1119
1119
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
1120
1120
|
var meetingFindingFingerprint = findingFingerprint;
|
|
1121
1121
|
|
|
1122
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1122
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
1123
1123
|
var context = {
|
|
1124
1124
|
command: "search meetings",
|
|
1125
1125
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -1239,7 +1239,7 @@ var meetingWordsQuery = /* @__PURE__ */ __name((text8) => {
|
|
|
1239
1239
|
return { version: 1, language: "lucene-v1", root };
|
|
1240
1240
|
}, "meetingWordsQuery");
|
|
1241
1241
|
|
|
1242
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1242
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/language.js
|
|
1243
1243
|
var LATIN_WORDS = {
|
|
1244
1244
|
en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
|
|
1245
1245
|
es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
|
|
@@ -1288,7 +1288,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
|
|
|
1288
1288
|
return null;
|
|
1289
1289
|
}, "transcriptLanguage");
|
|
1290
1290
|
|
|
1291
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1291
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
1292
1292
|
var contentHash = /* @__PURE__ */ __name(async (text8) => {
|
|
1293
1293
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text8));
|
|
1294
1294
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -1325,7 +1325,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
1325
1325
|
return time;
|
|
1326
1326
|
}, "timestamp");
|
|
1327
1327
|
|
|
1328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1328
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
1329
1329
|
var TranscriptTextError = class extends Error {
|
|
1330
1330
|
static {
|
|
1331
1331
|
__name(this, "TranscriptTextError");
|
|
@@ -1380,7 +1380,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
1380
1380
|
return { header, lines };
|
|
1381
1381
|
}, "parseTranscriptText");
|
|
1382
1382
|
|
|
1383
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1383
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
1384
1384
|
var VttError = class extends Error {
|
|
1385
1385
|
static {
|
|
1386
1386
|
__name(this, "VttError");
|
|
@@ -1432,7 +1432,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
1432
1432
|
return cues;
|
|
1433
1433
|
}, "parseVtt");
|
|
1434
1434
|
|
|
1435
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1435
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
1436
1436
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
1437
1437
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
1438
1438
|
for (const file of files) {
|
|
@@ -1465,10 +1465,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
1465
1465
|
return report;
|
|
1466
1466
|
}, "importFiles");
|
|
1467
1467
|
|
|
1468
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1468
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
1469
1469
|
var CHAT_MESSAGES_READ = 1e5;
|
|
1470
1470
|
|
|
1471
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1471
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/provider.js
|
|
1472
1472
|
var snapshotMeetingScope = /* @__PURE__ */ __name((scope3) => {
|
|
1473
1473
|
const provider = scope3?.provider;
|
|
1474
1474
|
const account = scope3?.account;
|
|
@@ -1477,7 +1477,7 @@ var snapshotMeetingScope = /* @__PURE__ */ __name((scope3) => {
|
|
|
1477
1477
|
return Object.freeze({ provider, account });
|
|
1478
1478
|
}, "snapshotMeetingScope");
|
|
1479
1479
|
|
|
1480
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1480
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
1481
1481
|
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
1482
1482
|
if (typeof value !== "string" || !value.trim())
|
|
1483
1483
|
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
@@ -1612,7 +1612,7 @@ var createMeetingManagement = /* @__PURE__ */ __name((scope3, ports) => {
|
|
|
1612
1612
|
};
|
|
1613
1613
|
}, "createMeetingManagement");
|
|
1614
1614
|
|
|
1615
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1615
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/meeting-context.js
|
|
1616
1616
|
var id = /* @__PURE__ */ __name((value) => {
|
|
1617
1617
|
if (typeof value !== "number" || !Number.isSafeInteger(value) || value < 1)
|
|
1618
1618
|
throw new CliError("validation_error", "meeting context identifiers must be positive integers");
|
|
@@ -1734,7 +1734,7 @@ var createMeetingContext = /* @__PURE__ */ __name((scope3, accountId, ports) =>
|
|
|
1734
1734
|
};
|
|
1735
1735
|
}, "createMeetingContext");
|
|
1736
1736
|
|
|
1737
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1737
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
1738
1738
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
1739
1739
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
1740
1740
|
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)))
|
|
@@ -1747,7 +1747,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
1747
1747
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
1748
1748
|
}, "validateMeetingPassage");
|
|
1749
1749
|
|
|
1750
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1750
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
1751
1751
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
1752
1752
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
1753
1753
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -1772,7 +1772,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
1772
1772
|
return { ...input, limit, maxReadBytes };
|
|
1773
1773
|
}, "validateMeetingPreparationContext");
|
|
1774
1774
|
|
|
1775
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1775
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
1776
1776
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
1777
1777
|
var id2 = pipe(string(), minLength(1));
|
|
1778
1778
|
var meetingProjectEvidence = strictObject({
|
|
@@ -1893,7 +1893,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
1893
1893
|
};
|
|
1894
1894
|
}, "meetingProjectEvidenceAnswer");
|
|
1895
1895
|
|
|
1896
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
1897
1897
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
1898
1898
|
const integer5 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
1899
1899
|
if (typeof query !== "string" || !query.trim() || query.includes("\0") || new TextEncoder().encode(query).byteLength > 65536 || !integer5(options.limit ?? 100, 1, 1e3) || !integer5(options.maxReadBytes ?? 4194304, 1, 67108864) || [
|
|
@@ -1913,7 +1913,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
1913
1913
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
1914
1914
|
}, "validateMeetingHitSearch");
|
|
1915
1915
|
|
|
1916
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1916
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
1917
1917
|
var ids = {
|
|
1918
1918
|
meeting_id: "meetingId",
|
|
1919
1919
|
identity_id: "participantIdentityId",
|
|
@@ -2004,7 +2004,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
|
|
|
2004
2004
|
return { project: project.trim(), options, query: frozen.join(" AND ") };
|
|
2005
2005
|
}, "prepareMeetingProjectEvidence");
|
|
2006
2006
|
|
|
2007
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2007
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
2008
2008
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
|
|
2009
2009
|
const prepared = prepareMeetingProjectEvidence(project, request, now);
|
|
2010
2010
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -2012,7 +2012,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
|
|
|
2012
2012
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
2013
2013
|
}, "readMeetingProjectEvidence");
|
|
2014
2014
|
|
|
2015
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2015
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
2016
2016
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
2017
2017
|
const { identityExternalId, ...fields2 } = p;
|
|
2018
2018
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -2174,7 +2174,7 @@ unlinked`, format)],
|
|
|
2174
2174
|
return report;
|
|
2175
2175
|
}, "pull");
|
|
2176
2176
|
|
|
2177
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2177
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
2178
2178
|
var text4 = string();
|
|
2179
2179
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2180
2180
|
var id3 = pipe(number(), integer(), minValue(1));
|
|
@@ -2434,10 +2434,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
2434
2434
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
2435
2435
|
}), "eventItem");
|
|
2436
2436
|
|
|
2437
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2437
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/recording-schedule.js
|
|
2438
2438
|
import { createHash as createHash3 } from "node:crypto";
|
|
2439
2439
|
|
|
2440
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2440
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/recording-sync.js
|
|
2441
2441
|
var RecordingSyncError = class extends CliError {
|
|
2442
2442
|
static {
|
|
2443
2443
|
__name(this, "RecordingSyncError");
|
|
@@ -2758,7 +2758,7 @@ async function* syncRecordingArchive(catalog, input) {
|
|
|
2758
2758
|
}
|
|
2759
2759
|
__name(syncRecordingArchive, "syncRecordingArchive");
|
|
2760
2760
|
|
|
2761
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2761
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/recording-schedule.js
|
|
2762
2762
|
var fail2 = /* @__PURE__ */ __name((message) => {
|
|
2763
2763
|
throw new CliError("validation_error", message);
|
|
2764
2764
|
}, "fail");
|
|
@@ -2865,7 +2865,7 @@ var installRecordingArchiveSchedule = /* @__PURE__ */ __name(async (scheduler, v
|
|
|
2865
2865
|
return { applied: true, backend, schedule };
|
|
2866
2866
|
}, "installRecordingArchiveSchedule");
|
|
2867
2867
|
|
|
2868
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2868
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
2869
2869
|
var RecordingTransferError = class extends CliError {
|
|
2870
2870
|
static {
|
|
2871
2871
|
__name(this, "RecordingTransferError");
|
|
@@ -3030,7 +3030,7 @@ var transferRecording = /* @__PURE__ */ __name(async (source, storage, options)
|
|
|
3030
3030
|
}
|
|
3031
3031
|
}, "transferRecording");
|
|
3032
3032
|
|
|
3033
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3033
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
3034
3034
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
3035
3035
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
3036
3036
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -3060,7 +3060,7 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
3060
3060
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
3061
3061
|
}, "validateMeetingRelatedHistory");
|
|
3062
3062
|
|
|
3063
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3063
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
3064
3064
|
var text7 = string();
|
|
3065
3065
|
var identifier = pipe(text7, minLength(1));
|
|
3066
3066
|
var nullableText2 = nullable(text7);
|
|
@@ -3193,15 +3193,15 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
3193
3193
|
meeting_repair: repair
|
|
3194
3194
|
};
|
|
3195
3195
|
|
|
3196
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3196
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
3197
3197
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
3198
3198
|
|
|
3199
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3199
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
3200
3200
|
var SAVE_INSTRUCTION = "If this shows something worth keeping \u2014 a decision, a promise, a preference \u2014 and memo's server is connected, propose it with facts_add or memories_add, citing the msg: locator or meeting: reference. Otherwise skip this.";
|
|
3201
3201
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
3202
3202
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
3203
3203
|
|
|
3204
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3204
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
3205
3205
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
3206
3206
|
input.signal?.throwIfAborted();
|
|
3207
3207
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -3222,10 +3222,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
3222
3222
|
return { ...input, limit, maxReadBytes };
|
|
3223
3223
|
}, "validateMeetingSeriesHistory");
|
|
3224
3224
|
|
|
3225
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3225
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
3226
3226
|
import { createHash as createHash4 } from "node:crypto";
|
|
3227
3227
|
|
|
3228
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3228
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
3229
3229
|
var invalid4 = /* @__PURE__ */ __name((field) => {
|
|
3230
3230
|
throw new CliError("invalid_response", `meeting occurrence ${field} is invalid`);
|
|
3231
3231
|
}, "invalid");
|
|
@@ -3294,7 +3294,7 @@ var readOccurrenceSchedule = /* @__PURE__ */ __name((input, meetingId, limit, ma
|
|
|
3294
3294
|
return result;
|
|
3295
3295
|
}, "readOccurrenceSchedule");
|
|
3296
3296
|
|
|
3297
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3297
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
3298
3298
|
var inventoryHash = /* @__PURE__ */ __name((value) => createHash4("sha256").update(JSON.stringify(value)).digest("hex"), "inventoryHash");
|
|
3299
3299
|
var inventorySize = /* @__PURE__ */ __name((value) => Buffer.byteLength(JSON.stringify(value), "utf8"), "inventorySize");
|
|
3300
3300
|
function invalid5(field, response = false) {
|
|
@@ -3382,7 +3382,7 @@ var inventoryPage = /* @__PURE__ */ __name((scope3, request, page) => {
|
|
|
3382
3382
|
return { items, selection: page.coverage.selection, partial: page.coverage.partial, nextCursor: page.nextCursor };
|
|
3383
3383
|
}, "inventoryPage");
|
|
3384
3384
|
|
|
3385
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3385
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/series-inventory.js
|
|
3386
3386
|
var cancelled3 = /* @__PURE__ */ __name((signal) => {
|
|
3387
3387
|
if (signal?.aborted)
|
|
3388
3388
|
throw new CliError("cancelled", "meeting inventory reading was cancelled");
|
|
@@ -3438,7 +3438,7 @@ var createMeetingSeriesInventoryReader = /* @__PURE__ */ __name((scope3, port) =
|
|
|
3438
3438
|
};
|
|
3439
3439
|
}, "createMeetingSeriesInventoryReader");
|
|
3440
3440
|
|
|
3441
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3441
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
3442
3442
|
var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
|
|
3443
3443
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
3444
3444
|
const zone = timeZone ?? "UTC";
|
|
@@ -3573,7 +3573,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
3573
3573
|
};
|
|
3574
3574
|
}, "aggregateMeetingStats");
|
|
3575
3575
|
|
|
3576
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3576
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/transcription.js
|
|
3577
3577
|
var bounded = /* @__PURE__ */ __name((value, max, name) => {
|
|
3578
3578
|
if (!Number.isSafeInteger(value) || value < 1 || value > max)
|
|
3579
3579
|
throw new CliError("validation_error", `${name} must be an integer from 1 to ${max}`);
|
|
@@ -3727,7 +3727,7 @@ var transcribeMeeting = /* @__PURE__ */ __name(async (source, store, target, opt
|
|
|
3727
3727
|
};
|
|
3728
3728
|
}, "transcribeMeeting");
|
|
3729
3729
|
|
|
3730
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3730
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/upcoming.js
|
|
3731
3731
|
var cancelled5 = /* @__PURE__ */ __name((signal) => {
|
|
3732
3732
|
if (!signal?.aborted)
|
|
3733
3733
|
return;
|
|
@@ -3797,7 +3797,7 @@ var createUpcomingMeetingReader = /* @__PURE__ */ __name((scope3, port) => {
|
|
|
3797
3797
|
};
|
|
3798
3798
|
}, "createUpcomingMeetingReader");
|
|
3799
3799
|
|
|
3800
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3800
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/watch.js
|
|
3801
3801
|
var sleep = /* @__PURE__ */ __name((milliseconds, signal) => new Promise((resolve) => {
|
|
3802
3802
|
const finish = /* @__PURE__ */ __name(() => {
|
|
3803
3803
|
clearTimeout(timer);
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
|
|
11
11
|
import { randomUUID } from "node:crypto";
|
|
12
12
|
import { constants } from "node:fs";
|
|
13
13
|
import { link, open, realpath, rename, unlink } from "node:fs/promises";
|
|
@@ -45,7 +45,7 @@ var writeFileAtomic = /* @__PURE__ */ __name(async (path, content, { mode = 384,
|
|
|
45
45
|
}
|
|
46
46
|
}, "writeFileAtomic");
|
|
47
47
|
|
|
48
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
48
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
|
|
49
49
|
import { constants as constants2 } from "node:fs";
|
|
50
50
|
import { lstat, open as open2 } from "node:fs/promises";
|
|
51
51
|
var deviceOf = /* @__PURE__ */ __name((dev) => process.platform === "win32" ? BigInt.asUintN(32, dev) : dev, "deviceOf");
|
|
@@ -111,7 +111,7 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
|
|
|
111
111
|
}
|
|
112
112
|
}, "syncDirectory");
|
|
113
113
|
|
|
114
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
114
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
|
|
115
115
|
var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
|
|
116
116
|
if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
|
|
117
117
|
throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
|
|
@@ -140,21 +140,21 @@ var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
|
|
|
140
140
|
}
|
|
141
141
|
}, "readBoundedUtf8File");
|
|
142
142
|
|
|
143
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
143
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/files/lock.js
|
|
144
144
|
import { mkdir as mkdir2 } from "node:fs/promises";
|
|
145
145
|
import { basename as basename2, dirname as dirname2 } from "node:path";
|
|
146
146
|
|
|
147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
|
|
148
148
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
149
149
|
import { lstat as lstat3, mkdir, open as open3, realpath as realpath3, rmdir as rmdir2, unlink as unlink4 } from "node:fs/promises";
|
|
150
150
|
import { hostname as hostname2 } from "node:os";
|
|
151
151
|
import { join as join3 } from "node:path";
|
|
152
152
|
|
|
153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
|
|
154
154
|
import { lstat as lstat2, readdir, realpath as realpath2, unlink as unlink2 } from "node:fs/promises";
|
|
155
155
|
import { join as join2 } from "node:path";
|
|
156
156
|
|
|
157
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
157
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
|
|
158
158
|
import { hostname } from "node:os";
|
|
159
159
|
var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
|
|
160
160
|
var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
|
|
@@ -199,7 +199,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
|
|
|
199
199
|
}
|
|
200
200
|
}, "leaseOwnerStatus");
|
|
201
201
|
|
|
202
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
|
|
203
203
|
var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
|
|
204
204
|
const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
|
|
205
205
|
options.signal?.throwIfAborted();
|
|
@@ -258,7 +258,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
|
|
|
258
258
|
return { inspect, recover };
|
|
259
259
|
}, "leaseInspection");
|
|
260
260
|
|
|
261
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
261
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
|
|
262
262
|
import { rmdir, unlink as unlink3 } from "node:fs/promises";
|
|
263
263
|
var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
|
|
264
264
|
let releasing;
|
|
@@ -283,7 +283,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
|
|
|
283
283
|
};
|
|
284
284
|
}, "ownedNativeLease");
|
|
285
285
|
|
|
286
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
286
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
|
|
287
287
|
var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
|
|
288
288
|
var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
|
|
289
289
|
const { markerDirectory, legacyMarker } = layout;
|
|
@@ -354,7 +354,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
|
|
|
354
354
|
};
|
|
355
355
|
}, "nativeWriterLeaseStore");
|
|
356
356
|
|
|
357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/files/lock.js
|
|
358
358
|
var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
|
|
359
359
|
const folder = dirname2(path);
|
|
360
360
|
await mkdir2(folder, { recursive: true, mode: 448 });
|
|
@@ -369,7 +369,7 @@ var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
|
|
|
369
369
|
});
|
|
370
370
|
}, "acquireLock");
|
|
371
371
|
|
|
372
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
372
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/files/safe-name.js
|
|
373
373
|
import { basename as basename3 } from "node:path";
|
|
374
374
|
var safeName = /* @__PURE__ */ __name((name, platform = process.platform) => {
|
|
375
375
|
let plain = name === void 0 ? "" : basename3(name.replaceAll("\\", "/")).replace(/[\p{Cc}---]/gu, "").replace(/^\.+/, "");
|
|
@@ -3,10 +3,10 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
checkCancelled,
|
|
5
5
|
object
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2U6SER67.js";
|
|
7
7
|
import {
|
|
8
8
|
Credentials
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OORMSM6O.js";
|
|
10
10
|
import {
|
|
11
11
|
CliError,
|
|
12
12
|
isCliError
|
|
@@ -106,6 +106,16 @@ var TokenManager = class _TokenManager {
|
|
|
106
106
|
throw new CliError("configuration_error", "system keyring is unavailable");
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
+
/** Deletes this login from the keyring and from the private file; false when there was none. */
|
|
110
|
+
remove(account = this.accountOf()) {
|
|
111
|
+
if (this.stores)
|
|
112
|
+
return this.stores.auto.remove(account).length > 0;
|
|
113
|
+
try {
|
|
114
|
+
return this.options.keyring.delete(this.options.service, account);
|
|
115
|
+
} catch {
|
|
116
|
+
throw new CliError("configuration_error", "system keyring is unavailable");
|
|
117
|
+
}
|
|
118
|
+
}
|
|
109
119
|
load(account = this.accountOf()) {
|
|
110
120
|
const saved = this.read(account);
|
|
111
121
|
if (!saved)
|