@wirecat/zoom-cli 0.68.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-R66UM3HM.js → all-profiles-GE2TFJJP.js} +9 -9
- package/dist/bundle/answer-policy-GOXSDYDD.js +104 -0
- package/dist/bundle/{anthropic-4ZI2BPLG.js → anthropic-FA6NHENI.js} +9 -7
- package/dist/bundle/{app-server-64O5IQI5.js → app-server-IRADMSNX.js} +50 -50
- package/dist/bundle/{bun-HUHQD76Z.js → bun-ZYZGGCX5.js} +2 -2
- package/dist/bundle/{bun-sqlite-VOVHPTIF.js → bun-sqlite-Y24TUIGS.js} +4 -4
- package/dist/bundle/{chunk-W42BJ65M.js → chunk-2JEM2YNV.js} +1 -1
- package/dist/bundle/{chunk-3BRV2YU2.js → chunk-2QFPVUM3.js} +2 -2
- package/dist/bundle/{chunk-KAPJQGHE.js → chunk-2U6SER67.js} +1 -1
- package/dist/bundle/{chunk-77I67HWF.js → chunk-3KC7C465.js} +7 -7
- package/dist/bundle/{chunk-YQRNFG2E.js → chunk-4DSIWYGO.js} +7661 -13544
- package/dist/bundle/{chunk-7DUYFITC.js → chunk-56OV5ASY.js} +11 -11
- package/dist/bundle/{chunk-AVEIQMHZ.js → chunk-5XWCBLUR.js} +1 -1
- package/dist/bundle/{chunk-HXOAPH47.js → chunk-6HJFIMT7.js} +1 -1
- package/dist/bundle/{chunk-SSPSNSC5.js → chunk-6IF5ZHDS.js} +1 -1
- package/dist/bundle/{chunk-BOAMDYLY.js → chunk-7QC4M4HS.js} +2 -2
- package/dist/bundle/{chunk-6T3P226D.js → chunk-AISJCF7A.js} +4 -4
- package/dist/bundle/chunk-AT2XKNFN.js +342 -0
- package/dist/bundle/{chunk-BSM43OMN.js → chunk-AUNW7N4I.js} +1 -1
- package/dist/bundle/{chunk-R7LFGEDE.js → chunk-BSS6HX4O.js} +2 -2
- package/dist/bundle/{chunk-FMQS7HCC.js → chunk-BVWF4B33.js} +251 -10
- package/dist/bundle/{chunk-DGNPJGD3.js → chunk-CEJJBZAE.js} +9 -15
- package/dist/bundle/{chunk-L4WVLRXM.js → chunk-CHGUNZ3L.js} +3 -3
- package/dist/bundle/{chunk-LBOSTBAY.js → chunk-CIZ25UPK.js} +3841 -2497
- package/dist/bundle/{chunk-TN3FH2GQ.js → chunk-CSEBB4OP.js} +8 -8
- package/dist/bundle/{chunk-JO4YADNV.js → chunk-D3PNCJD5.js} +5 -5
- package/dist/bundle/{chunk-US5C3WAY.js → chunk-DCUWJITQ.js} +30 -30
- package/dist/bundle/{chunk-QXTREL2M.js → chunk-DNR4B5YV.js} +2 -2
- package/dist/bundle/{chunk-PUTGTW6W.js → chunk-DXCTW3MV.js} +1 -1
- package/dist/bundle/{chunk-B6JMVB6R.js → chunk-EOSVN2ER.js} +1 -1
- package/dist/bundle/{chunk-ZRD3NDOX.js → chunk-GB5X3GBE.js} +23 -1
- package/dist/bundle/{chunk-32FPA7P2.js → chunk-GVT5363M.js} +2 -2
- package/dist/bundle/{chunk-EWIBLDQQ.js → chunk-IINZIP73.js} +7 -7
- package/dist/bundle/{chunk-5JAYUG3X.js → chunk-IS3ZTT2Z.js} +5 -5
- package/dist/bundle/{chunk-LYWUG43B.js → chunk-IWPXWGF7.js} +34 -34
- package/dist/bundle/{chunk-JRCYFCPL.js → chunk-J3SKXICS.js} +350 -136
- package/dist/bundle/{chunk-UDJTRFRV.js → chunk-JRO2FWO2.js} +1 -1
- package/dist/bundle/chunk-JULBAECW.js +126 -0
- package/dist/bundle/{chunk-FNQASORM.js → chunk-KM736RMJ.js} +1 -1
- package/dist/bundle/{chunk-4TLPOY22.js → chunk-KWRCP55G.js} +11 -11
- package/dist/bundle/{chunk-SRP6SFFD.js → chunk-L24UOUWG.js} +1 -1
- package/dist/bundle/{chunk-AJ7CMUGD.js → chunk-LAG5O2FV.js} +218 -231
- package/dist/bundle/{chunk-UU5PLDRA.js → chunk-LXXCLQCW.js} +2 -2
- package/dist/bundle/{chunk-65T3PU75.js → chunk-M6JIXMQZ.js} +5 -1
- package/dist/bundle/{chunk-LV7QRR5S.js → chunk-M7E44TMT.js} +5 -5
- package/dist/bundle/{chunk-6XO7RTJY.js → chunk-M7VUXXGS.js} +110 -8
- package/dist/bundle/{chunk-A63ZFOQJ.js → chunk-MVOMLJYQ.js} +3 -3
- package/dist/bundle/{chunk-DVA6MQWK.js → chunk-OA37BWE5.js} +1 -1
- package/dist/bundle/{chunk-77KFLU5F.js → chunk-OAQLVV6W.js} +2 -2
- package/dist/bundle/{chunk-KNE6VFHZ.js → chunk-OORMSM6O.js} +1 -1
- package/dist/bundle/{chunk-TZUKDM72.js → chunk-PV6OHXHN.js} +16 -16
- package/dist/bundle/{chunk-2OSBCYJT.js → chunk-QL7EMFIC.js} +18 -18
- package/dist/bundle/{chunk-4YFJYSSK.js → chunk-QO2KPU26.js} +45 -29
- package/dist/bundle/{chunk-GOXDBCDM.js → chunk-RB33VTUW.js} +297 -397
- package/dist/bundle/{chunk-TDGZMC6K.js → chunk-RIPAUCKJ.js} +59 -55
- package/dist/bundle/{chunk-6CJ7NHIP.js → chunk-RO3ZR4VP.js} +12 -12
- package/dist/bundle/{chunk-BL36NSV5.js → chunk-RQG5VOGH.js} +12 -2
- package/dist/bundle/{chunk-YTF2WPV4.js → chunk-RRRJCHUC.js} +2162 -1250
- package/dist/bundle/chunk-RWIILYKW.js +66 -0
- package/dist/bundle/{chunk-YJY3W2ZT.js → chunk-SNIY3JDN.js} +21 -18
- package/dist/bundle/{chunk-EH5QGQFR.js → chunk-SVF3NDAO.js} +3 -3
- package/dist/bundle/{chunk-VLD7Y4SY.js → chunk-UVPL7YAY.js} +5 -5
- package/dist/bundle/{chunk-2T6XHWDX.js → chunk-V2E7QFZ3.js} +1 -1
- package/dist/bundle/{chunk-K67V24AT.js → chunk-V5GRSOCZ.js} +4 -4
- package/dist/bundle/{chunk-DWSUSWAX.js → chunk-VE2VNECR.js} +131 -12
- package/dist/bundle/{chunk-RRYUD2EF.js → chunk-VJ5ZU4UF.js} +22 -4
- package/dist/bundle/{chunk-7QNJICKZ.js → chunk-VNU5L37V.js} +26 -26
- package/dist/bundle/{chunk-6TJ62LZQ.js → chunk-VSLDWT4E.js} +3 -3
- package/dist/bundle/{chunk-P2TISY3R.js → chunk-W7ZEEC4K.js} +1 -1
- package/dist/bundle/{chunk-NRRI37NJ.js → chunk-WOIHSQAL.js} +44 -0
- package/dist/bundle/{chunk-EJDV5IIF.js → chunk-X4ZF4XXI.js} +1 -1
- package/dist/bundle/{chunk-FBLUKCIR.js → chunk-XRFHQGOD.js} +1 -1
- package/dist/bundle/{chunk-KUB2U5NT.js → chunk-XWQNJKTP.js} +5 -5
- package/dist/bundle/chunk-Y6C3N7YG.js +12434 -0
- package/dist/bundle/{chunk-474WF55M.js → chunk-YJSPBUGB.js} +63 -32
- package/dist/bundle/{chunk-RP3U3J53.js → chunk-YTN2JN6N.js} +7 -7
- package/dist/bundle/{chunk-Y5LP5SHV.js → chunk-YUHM2OJM.js} +10 -10
- package/dist/bundle/{chunk-7AUP2WT3.js → chunk-ZBKWRYRS.js} +2 -2
- package/dist/bundle/{chunk-355PHJYX.js → chunk-ZS55EERO.js} +1 -1
- package/dist/bundle/{chunk-TUNQ6NE2.js → chunk-ZSKE7N2U.js} +3 -3
- package/dist/bundle/{chunk-PIHBD3YS.js → chunk-ZV3INEKM.js} +4 -4
- package/dist/bundle/{cli-VQJ7ZRYR.js → cli-VRSQ7HAE.js} +76 -60
- package/dist/bundle/command-contract-RPRKHVU6.js +41 -0
- package/dist/bundle/config-QU6A6VIO.js +90 -0
- package/dist/bundle/{decode-L3ENO2XH.js → decode-523PUQMR.js} +4 -4
- package/dist/bundle/{dispatch-5MGDLOK4.js → dispatch-IZCAK47P.js} +1 -1
- package/dist/bundle/{dist-WQLS7U23.js → dist-6WWKPEVW.js} +98 -22
- package/dist/bundle/{echarts-5LLJ6JXC.js → echarts-S5UMX2D3.js} +2 -2
- package/dist/bundle/{embed-37MYTCU7.js → embed-ODPDVHUK.js} +5 -5
- package/dist/bundle/{embedder-GNGHVJAO.js → embedder-PAXRBSZE.js} +8 -8
- package/dist/bundle/{failure-CR64C4XA.js → failure-R2OIHCE5.js} +1 -1
- package/dist/bundle/{first-run-NR5JKYP3.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-P72XX4AK.js → instructions-DUB7E6C5.js} +1 -1
- package/dist/bundle/{main-QYFCYSTW.js → main-A7JSYQI6.js} +18 -18
- package/dist/bundle/{meetings-66UQINKI.js → meetings-BDZQV3HR.js} +4 -4
- package/dist/bundle/{node-ZB4RNICS.js → node-E25KP53H.js} +2 -2
- package/dist/bundle/{node-sqlite-XPRKBDF3.js → node-sqlite-PHWDFZCP.js} +5 -5
- package/dist/bundle/{oauth-WJRDUU5J.js → oauth-G2K46IYP.js} +6 -6
- package/dist/bundle/{open-S2YSIEOW.js → open-INWS5HIZ.js} +4 -4
- package/dist/bundle/{openai-CRNZFNZD.js → openai-T44ORVGQ.js} +10 -10
- package/dist/bundle/{output-file-6COFGPUL.js → output-file-YGQYZCBJ.js} +4 -4
- package/dist/bundle/{process-XNN4WG6N.js → process-UJ2JHMJN.js} +1 -1
- package/dist/bundle/{program-BRPJKRCX.js → program-LYTGFV6L.js} +115 -72
- package/dist/bundle/{prompt-7RQOL25I.js → prompt-VTUCRCE4.js} +6 -4
- package/dist/bundle/{recognize-N5WADGQB.js → recognize-3CEPOW2F.js} +3 -3
- package/dist/bundle/{remote-WHYV35IF.js → remote-DRQEXEZL.js} +6 -6
- package/dist/bundle/{rerank-FBMZVWSH.js → rerank-UL4KNNVN.js} +6 -6
- package/dist/bundle/{run-log-TOCHREH2.js → run-log-UZAB5CWF.js} +54 -54
- package/dist/bundle/{serve-4BABX4WS.js → serve-P5UWUOWQ.js} +8 -8
- package/dist/bundle/server-F3NPVMS2.js +72 -0
- package/dist/bundle/{server-CDVI6LOB.js → server-M6XK2Y3X.js} +42 -42
- package/dist/bundle/{services-PIY33I7R.js → services-4HRYNY62.js} +66 -30
- package/dist/bundle/{speech-LS5Q4FL2.js → speech-BBPBMFAO.js} +12 -12
- package/dist/bundle/{state-YUX5R2R7.js → state-GDSUNUSY.js} +5 -5
- package/dist/bundle/{store-BD7HAXAA.js → store-LBQ6FZP2.js} +41 -15
- package/dist/bundle/{store-ERMGBF2B.js → store-VWLABMLF.js} +57 -17
- 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-XJXZ4ZBX.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-UCGUO53A.js +0 -104
- package/dist/bundle/chunk-AYEVBAGO.js +0 -178
- package/dist/bundle/chunk-EZRPSZJS.js +0 -33
- package/dist/bundle/chunk-NUJMJQXV.js +0 -787
- package/dist/bundle/chunk-YOAEZSDG.js +0 -22
- package/dist/bundle/command-contract-JPUWWYIV.js +0 -41
- package/dist/bundle/config-YGLLR77A.js +0 -90
- package/dist/bundle/first-screen-RCR7ATO2.js +0 -39
- package/dist/bundle/server-XOFQKFVO.js +0 -72
- package/dist/bundle/store-connection-JBR6CMTJ.js +0 -83
- package/dist/bundle/store-maintenance-command-I5DUSO2C.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");
|
|
@@ -434,7 +434,11 @@ var ENTRY_METADATA_KEYS = [
|
|
|
434
434
|
"guestsCanSeeOtherGuests",
|
|
435
435
|
"hangoutLink",
|
|
436
436
|
"locked",
|
|
437
|
-
"privateCopy"
|
|
437
|
+
"privateCopy",
|
|
438
|
+
// A phone call's, from a records import: the entry's other columns have no place for them.
|
|
439
|
+
"callDirection",
|
|
440
|
+
"callSeconds",
|
|
441
|
+
"callNumber"
|
|
438
442
|
];
|
|
439
443
|
var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
440
444
|
const kept = {};
|
|
@@ -448,7 +452,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
448
452
|
return kept;
|
|
449
453
|
}, "entryMetadata");
|
|
450
454
|
|
|
451
|
-
// 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
|
|
452
456
|
import { createHash } from "node:crypto";
|
|
453
457
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
454
458
|
reference: cue2.reference,
|
|
@@ -462,7 +466,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
462
466
|
text: cue2.text
|
|
463
467
|
})).digest("hex"), "meetingCueFingerprint");
|
|
464
468
|
|
|
465
|
-
// 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
|
|
466
470
|
var EVENT_QUERY = defineQuery({
|
|
467
471
|
entity: "event",
|
|
468
472
|
backend: "sql",
|
|
@@ -478,7 +482,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
478
482
|
]
|
|
479
483
|
});
|
|
480
484
|
|
|
481
|
-
// 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
|
|
482
486
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
483
487
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
484
488
|
if (entry.recurrenceEndsAt !== null)
|
|
@@ -528,7 +532,7 @@ var eventChange = /* @__PURE__ */ __name((event2, entries, revisions, since) =>
|
|
|
528
532
|
return null;
|
|
529
533
|
}, "eventChange");
|
|
530
534
|
|
|
531
|
-
// 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
|
|
532
536
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
|
|
533
537
|
const current = await store.meeting(details.meeting.id);
|
|
534
538
|
if (!current)
|
|
@@ -571,7 +575,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
571
575
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
572
576
|
}, "linkEvent");
|
|
573
577
|
|
|
574
|
-
// 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
|
|
575
579
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text8) => text8.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
576
580
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
577
581
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -595,7 +599,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
595
599
|
};
|
|
596
600
|
}, "validateMeetingParticipantSearch");
|
|
597
601
|
|
|
598
|
-
// 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
|
|
599
603
|
var MeetingError = class extends CliError {
|
|
600
604
|
static {
|
|
601
605
|
__name(this, "MeetingError");
|
|
@@ -727,7 +731,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id4, accountId)
|
|
|
727
731
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
728
732
|
}, "meetingSummaryAnswer");
|
|
729
733
|
|
|
730
|
-
// 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
|
|
731
735
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
732
736
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
733
737
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -823,10 +827,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id4, options) => {
|
|
|
823
827
|
};
|
|
824
828
|
}, "exportMeeting");
|
|
825
829
|
|
|
826
|
-
// 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
|
|
827
831
|
import { createHash as createHash2 } from "node:crypto";
|
|
828
832
|
|
|
829
|
-
// 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
|
|
830
834
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
831
835
|
var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
|
|
832
836
|
var PAYMENT_STATES = ["expected", "paid", "cancelled"];
|
|
@@ -920,7 +924,7 @@ var paymentTitle = /* @__PURE__ */ __name((fact) => {
|
|
|
920
924
|
return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
|
|
921
925
|
}, "paymentTitle");
|
|
922
926
|
|
|
923
|
-
// 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
|
|
924
928
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
925
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)))
|
|
926
930
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone, such as 2026-11-09T09:00:00Z`);
|
|
@@ -931,7 +935,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
931
935
|
return new Date(value).toISOString();
|
|
932
936
|
}, "meetingTimestamp");
|
|
933
937
|
|
|
934
|
-
// 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
|
|
935
939
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
936
940
|
var invalid3 = /* @__PURE__ */ __name((message) => {
|
|
937
941
|
throw new CliError("validation_error", message);
|
|
@@ -1104,7 +1108,7 @@ var validateBatch = /* @__PURE__ */ __name((input, rules, most, one) => {
|
|
|
1104
1108
|
var validateFindings = /* @__PURE__ */ __name((input, rules) => validateBatch(input, rules, 16, (finding, ids2) => validateFinding(finding, rules, ids2)), "validateFindings");
|
|
1105
1109
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
1106
1110
|
|
|
1107
|
-
// 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
|
|
1108
1112
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
1109
1113
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
1110
1114
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -1115,7 +1119,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
1115
1119
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
1116
1120
|
var meetingFindingFingerprint = findingFingerprint;
|
|
1117
1121
|
|
|
1118
|
-
// 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
|
|
1119
1123
|
var context = {
|
|
1120
1124
|
command: "search meetings",
|
|
1121
1125
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -1235,7 +1239,7 @@ var meetingWordsQuery = /* @__PURE__ */ __name((text8) => {
|
|
|
1235
1239
|
return { version: 1, language: "lucene-v1", root };
|
|
1236
1240
|
}, "meetingWordsQuery");
|
|
1237
1241
|
|
|
1238
|
-
// 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
|
|
1239
1243
|
var LATIN_WORDS = {
|
|
1240
1244
|
en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
|
|
1241
1245
|
es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
|
|
@@ -1284,7 +1288,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
|
|
|
1284
1288
|
return null;
|
|
1285
1289
|
}, "transcriptLanguage");
|
|
1286
1290
|
|
|
1287
|
-
// 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
|
|
1288
1292
|
var contentHash = /* @__PURE__ */ __name(async (text8) => {
|
|
1289
1293
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text8));
|
|
1290
1294
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -1321,7 +1325,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
1321
1325
|
return time;
|
|
1322
1326
|
}, "timestamp");
|
|
1323
1327
|
|
|
1324
|
-
// 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
|
|
1325
1329
|
var TranscriptTextError = class extends Error {
|
|
1326
1330
|
static {
|
|
1327
1331
|
__name(this, "TranscriptTextError");
|
|
@@ -1376,7 +1380,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
1376
1380
|
return { header, lines };
|
|
1377
1381
|
}, "parseTranscriptText");
|
|
1378
1382
|
|
|
1379
|
-
// 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
|
|
1380
1384
|
var VttError = class extends Error {
|
|
1381
1385
|
static {
|
|
1382
1386
|
__name(this, "VttError");
|
|
@@ -1428,7 +1432,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
1428
1432
|
return cues;
|
|
1429
1433
|
}, "parseVtt");
|
|
1430
1434
|
|
|
1431
|
-
// 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
|
|
1432
1436
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
1433
1437
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
1434
1438
|
for (const file of files) {
|
|
@@ -1461,10 +1465,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
1461
1465
|
return report;
|
|
1462
1466
|
}, "importFiles");
|
|
1463
1467
|
|
|
1464
|
-
// 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
|
|
1465
1469
|
var CHAT_MESSAGES_READ = 1e5;
|
|
1466
1470
|
|
|
1467
|
-
// 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
|
|
1468
1472
|
var snapshotMeetingScope = /* @__PURE__ */ __name((scope3) => {
|
|
1469
1473
|
const provider = scope3?.provider;
|
|
1470
1474
|
const account = scope3?.account;
|
|
@@ -1473,7 +1477,7 @@ var snapshotMeetingScope = /* @__PURE__ */ __name((scope3) => {
|
|
|
1473
1477
|
return Object.freeze({ provider, account });
|
|
1474
1478
|
}, "snapshotMeetingScope");
|
|
1475
1479
|
|
|
1476
|
-
// 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
|
|
1477
1481
|
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
1478
1482
|
if (typeof value !== "string" || !value.trim())
|
|
1479
1483
|
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
@@ -1608,7 +1612,7 @@ var createMeetingManagement = /* @__PURE__ */ __name((scope3, ports) => {
|
|
|
1608
1612
|
};
|
|
1609
1613
|
}, "createMeetingManagement");
|
|
1610
1614
|
|
|
1611
|
-
// 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
|
|
1612
1616
|
var id = /* @__PURE__ */ __name((value) => {
|
|
1613
1617
|
if (typeof value !== "number" || !Number.isSafeInteger(value) || value < 1)
|
|
1614
1618
|
throw new CliError("validation_error", "meeting context identifiers must be positive integers");
|
|
@@ -1730,7 +1734,7 @@ var createMeetingContext = /* @__PURE__ */ __name((scope3, accountId, ports) =>
|
|
|
1730
1734
|
};
|
|
1731
1735
|
}, "createMeetingContext");
|
|
1732
1736
|
|
|
1733
|
-
// 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
|
|
1734
1738
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
1735
1739
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
1736
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)))
|
|
@@ -1743,7 +1747,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
1743
1747
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
1744
1748
|
}, "validateMeetingPassage");
|
|
1745
1749
|
|
|
1746
|
-
// 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
|
|
1747
1751
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
1748
1752
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
1749
1753
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -1768,7 +1772,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
1768
1772
|
return { ...input, limit, maxReadBytes };
|
|
1769
1773
|
}, "validateMeetingPreparationContext");
|
|
1770
1774
|
|
|
1771
|
-
// 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
|
|
1772
1776
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
1773
1777
|
var id2 = pipe(string(), minLength(1));
|
|
1774
1778
|
var meetingProjectEvidence = strictObject({
|
|
@@ -1889,7 +1893,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
1889
1893
|
};
|
|
1890
1894
|
}, "meetingProjectEvidenceAnswer");
|
|
1891
1895
|
|
|
1892
|
-
// 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
|
|
1893
1897
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
1894
1898
|
const integer5 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
1895
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) || [
|
|
@@ -1909,7 +1913,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
1909
1913
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
1910
1914
|
}, "validateMeetingHitSearch");
|
|
1911
1915
|
|
|
1912
|
-
// 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
|
|
1913
1917
|
var ids = {
|
|
1914
1918
|
meeting_id: "meetingId",
|
|
1915
1919
|
identity_id: "participantIdentityId",
|
|
@@ -2000,7 +2004,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
|
|
|
2000
2004
|
return { project: project.trim(), options, query: frozen.join(" AND ") };
|
|
2001
2005
|
}, "prepareMeetingProjectEvidence");
|
|
2002
2006
|
|
|
2003
|
-
// 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
|
|
2004
2008
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
|
|
2005
2009
|
const prepared = prepareMeetingProjectEvidence(project, request, now);
|
|
2006
2010
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -2008,7 +2012,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
|
|
|
2008
2012
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
2009
2013
|
}, "readMeetingProjectEvidence");
|
|
2010
2014
|
|
|
2011
|
-
// 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
|
|
2012
2016
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
2013
2017
|
const { identityExternalId, ...fields2 } = p;
|
|
2014
2018
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -2170,7 +2174,7 @@ unlinked`, format)],
|
|
|
2170
2174
|
return report;
|
|
2171
2175
|
}, "pull");
|
|
2172
2176
|
|
|
2173
|
-
// 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
|
|
2174
2178
|
var text4 = string();
|
|
2175
2179
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2176
2180
|
var id3 = pipe(number(), integer(), minValue(1));
|
|
@@ -2430,10 +2434,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
2430
2434
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
2431
2435
|
}), "eventItem");
|
|
2432
2436
|
|
|
2433
|
-
// 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
|
|
2434
2438
|
import { createHash as createHash3 } from "node:crypto";
|
|
2435
2439
|
|
|
2436
|
-
// 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
|
|
2437
2441
|
var RecordingSyncError = class extends CliError {
|
|
2438
2442
|
static {
|
|
2439
2443
|
__name(this, "RecordingSyncError");
|
|
@@ -2754,7 +2758,7 @@ async function* syncRecordingArchive(catalog, input) {
|
|
|
2754
2758
|
}
|
|
2755
2759
|
__name(syncRecordingArchive, "syncRecordingArchive");
|
|
2756
2760
|
|
|
2757
|
-
// 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
|
|
2758
2762
|
var fail2 = /* @__PURE__ */ __name((message) => {
|
|
2759
2763
|
throw new CliError("validation_error", message);
|
|
2760
2764
|
}, "fail");
|
|
@@ -2861,7 +2865,7 @@ var installRecordingArchiveSchedule = /* @__PURE__ */ __name(async (scheduler, v
|
|
|
2861
2865
|
return { applied: true, backend, schedule };
|
|
2862
2866
|
}, "installRecordingArchiveSchedule");
|
|
2863
2867
|
|
|
2864
|
-
// 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
|
|
2865
2869
|
var RecordingTransferError = class extends CliError {
|
|
2866
2870
|
static {
|
|
2867
2871
|
__name(this, "RecordingTransferError");
|
|
@@ -3026,7 +3030,7 @@ var transferRecording = /* @__PURE__ */ __name(async (source, storage, options)
|
|
|
3026
3030
|
}
|
|
3027
3031
|
}, "transferRecording");
|
|
3028
3032
|
|
|
3029
|
-
// 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
|
|
3030
3034
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
3031
3035
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
3032
3036
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -3056,7 +3060,7 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
3056
3060
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
3057
3061
|
}, "validateMeetingRelatedHistory");
|
|
3058
3062
|
|
|
3059
|
-
// 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
|
|
3060
3064
|
var text7 = string();
|
|
3061
3065
|
var identifier = pipe(text7, minLength(1));
|
|
3062
3066
|
var nullableText2 = nullable(text7);
|
|
@@ -3189,15 +3193,15 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
3189
3193
|
meeting_repair: repair
|
|
3190
3194
|
};
|
|
3191
3195
|
|
|
3192
|
-
// 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
|
|
3193
3197
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
3194
3198
|
|
|
3195
|
-
// 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
|
|
3196
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.";
|
|
3197
3201
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
3198
3202
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
3199
3203
|
|
|
3200
|
-
// 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
|
|
3201
3205
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
3202
3206
|
input.signal?.throwIfAborted();
|
|
3203
3207
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -3218,10 +3222,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
3218
3222
|
return { ...input, limit, maxReadBytes };
|
|
3219
3223
|
}, "validateMeetingSeriesHistory");
|
|
3220
3224
|
|
|
3221
|
-
// 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
|
|
3222
3226
|
import { createHash as createHash4 } from "node:crypto";
|
|
3223
3227
|
|
|
3224
|
-
// 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
|
|
3225
3229
|
var invalid4 = /* @__PURE__ */ __name((field) => {
|
|
3226
3230
|
throw new CliError("invalid_response", `meeting occurrence ${field} is invalid`);
|
|
3227
3231
|
}, "invalid");
|
|
@@ -3290,7 +3294,7 @@ var readOccurrenceSchedule = /* @__PURE__ */ __name((input, meetingId, limit, ma
|
|
|
3290
3294
|
return result;
|
|
3291
3295
|
}, "readOccurrenceSchedule");
|
|
3292
3296
|
|
|
3293
|
-
// 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
|
|
3294
3298
|
var inventoryHash = /* @__PURE__ */ __name((value) => createHash4("sha256").update(JSON.stringify(value)).digest("hex"), "inventoryHash");
|
|
3295
3299
|
var inventorySize = /* @__PURE__ */ __name((value) => Buffer.byteLength(JSON.stringify(value), "utf8"), "inventorySize");
|
|
3296
3300
|
function invalid5(field, response = false) {
|
|
@@ -3378,7 +3382,7 @@ var inventoryPage = /* @__PURE__ */ __name((scope3, request, page) => {
|
|
|
3378
3382
|
return { items, selection: page.coverage.selection, partial: page.coverage.partial, nextCursor: page.nextCursor };
|
|
3379
3383
|
}, "inventoryPage");
|
|
3380
3384
|
|
|
3381
|
-
// 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
|
|
3382
3386
|
var cancelled3 = /* @__PURE__ */ __name((signal) => {
|
|
3383
3387
|
if (signal?.aborted)
|
|
3384
3388
|
throw new CliError("cancelled", "meeting inventory reading was cancelled");
|
|
@@ -3434,7 +3438,7 @@ var createMeetingSeriesInventoryReader = /* @__PURE__ */ __name((scope3, port) =
|
|
|
3434
3438
|
};
|
|
3435
3439
|
}, "createMeetingSeriesInventoryReader");
|
|
3436
3440
|
|
|
3437
|
-
// 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
|
|
3438
3442
|
var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
|
|
3439
3443
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
3440
3444
|
const zone = timeZone ?? "UTC";
|
|
@@ -3569,7 +3573,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
3569
3573
|
};
|
|
3570
3574
|
}, "aggregateMeetingStats");
|
|
3571
3575
|
|
|
3572
|
-
// 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
|
|
3573
3577
|
var bounded = /* @__PURE__ */ __name((value, max, name) => {
|
|
3574
3578
|
if (!Number.isSafeInteger(value) || value < 1 || value > max)
|
|
3575
3579
|
throw new CliError("validation_error", `${name} must be an integer from 1 to ${max}`);
|
|
@@ -3723,7 +3727,7 @@ var transcribeMeeting = /* @__PURE__ */ __name(async (source, store, target, opt
|
|
|
3723
3727
|
};
|
|
3724
3728
|
}, "transcribeMeeting");
|
|
3725
3729
|
|
|
3726
|
-
// 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
|
|
3727
3731
|
var cancelled5 = /* @__PURE__ */ __name((signal) => {
|
|
3728
3732
|
if (!signal?.aborted)
|
|
3729
3733
|
return;
|
|
@@ -3793,7 +3797,7 @@ var createUpcomingMeetingReader = /* @__PURE__ */ __name((scope3, port) => {
|
|
|
3793
3797
|
};
|
|
3794
3798
|
}, "createUpcomingMeetingReader");
|
|
3795
3799
|
|
|
3796
|
-
// 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
|
|
3797
3801
|
var sleep = /* @__PURE__ */ __name((milliseconds, signal) => new Promise((resolve) => {
|
|
3798
3802
|
const finish = /* @__PURE__ */ __name(() => {
|
|
3799
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)
|