@wirecat/zoom-cli 0.76.0 → 0.78.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 +12 -11
- package/contracts/wirecat.json +53 -105
- package/dist/answer-entities.d.ts +1 -141
- package/dist/answer-entities.d.ts.map +1 -1
- package/dist/answer-entities.js +0 -31
- package/dist/answer-entities.js.map +1 -1
- package/dist/api.d.ts +18 -1
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +179 -54
- package/dist/api.js.map +1 -1
- package/dist/archive-commands.d.ts +0 -3
- package/dist/archive-commands.d.ts.map +1 -1
- package/dist/archive-commands.js +1 -54
- package/dist/archive-commands.js.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-AAMFP7IN.js → all-profiles-7JN3N3E6.js} +11 -11
- package/dist/bundle/answer-policy-G2BNMPEX.js +122 -0
- package/dist/bundle/{anthropic-6KIS53QB.js → anthropic-U6O7UYGZ.js} +6 -6
- package/dist/bundle/{app-server-6QYNNYEU.js → app-server-G7BTC6CE.js} +78 -68
- package/dist/bundle/{bun-QVVCH4MJ.js → bun-VLROVUFK.js} +2 -2
- package/dist/bundle/{bun-sqlite-Y2ZFMNQ3.js → bun-sqlite-C5JLANDE.js} +7 -7
- package/dist/bundle/{chunk-25GMFXPF.js → chunk-2AWWMROP.js} +3244 -3674
- package/dist/bundle/{chunk-YESHGC3M.js → chunk-2LMD3JUD.js} +2 -2
- package/dist/bundle/{chunk-LGBLYFKI.js → chunk-2O66KMOR.js} +6 -2
- package/dist/bundle/{chunk-JADBHKBP.js → chunk-2USGT7LE.js} +1 -1
- package/dist/bundle/{chunk-M7WYBGQT.js → chunk-3A3B3JX4.js} +8 -8
- package/dist/bundle/{chunk-RJK5ADMH.js → chunk-3NZJKY7A.js} +103 -42
- package/dist/bundle/chunk-3QWYRZME.js +773 -0
- package/dist/bundle/{chunk-D2TGXSHQ.js → chunk-4QCLPSJ7.js} +5 -5
- package/dist/bundle/{chunk-XC4V6YCS.js → chunk-4XPVRZXE.js} +1 -1
- package/dist/bundle/{chunk-EZJSAYWZ.js → chunk-532FNLON.js} +31 -87
- package/dist/bundle/{chunk-QLUU3BV2.js → chunk-53TV72JG.js} +6 -6
- package/dist/bundle/{chunk-VJANMYEC.js → chunk-5DLK4OXF.js} +3 -3
- package/dist/bundle/chunk-5SM2IOAS.js +389 -0
- package/dist/bundle/{chunk-65VRWNDP.js → chunk-6MFEWAK4.js} +4 -4
- package/dist/bundle/{chunk-IUSY4ZJK.js → chunk-6NTNAEZF.js} +2379 -2114
- package/dist/bundle/{chunk-DQHS336B.js → chunk-7AMKSXMB.js} +7 -6
- package/dist/bundle/{chunk-IXPBSDKB.js → chunk-7EVB4UV7.js} +4 -4
- package/dist/bundle/chunk-7HEZQCHL.js +555 -0
- package/dist/bundle/{chunk-TYAFL66K.js → chunk-7IIQU5RA.js} +15 -31
- package/dist/bundle/{chunk-TK77DCE5.js → chunk-7K5O2VWO.js} +1 -1
- package/dist/bundle/{chunk-VG63EXRC.js → chunk-AEVSVVTP.js} +2 -2
- package/dist/bundle/chunk-B4V4DRVO.js +229 -0
- package/dist/bundle/{chunk-2HKUQ7DR.js → chunk-B6TUEQ4O.js} +3 -3
- package/dist/bundle/chunk-BAHXR4PA.js +259 -0
- package/dist/bundle/{chunk-ZFYNJERV.js → chunk-BGO7IEHY.js} +6 -6
- package/dist/bundle/{chunk-PFLJJQWW.js → chunk-BIUHLXL2.js} +54 -55
- package/dist/bundle/{chunk-5T7TBK5Y.js → chunk-C26V2XNV.js} +1 -1
- package/dist/bundle/chunk-C56OYYFG.js +170 -0
- package/dist/bundle/{chunk-MDTEAKA5.js → chunk-DLJPN47R.js} +8 -6
- package/dist/bundle/{chunk-FBVJGJDM.js → chunk-EV7QCFQR.js} +27 -574
- package/dist/bundle/{chunk-ORM73DZO.js → chunk-F2KZNAFF.js} +2 -2
- package/dist/bundle/{chunk-QY6GE7CL.js → chunk-F7IDYQLM.js} +2 -2
- package/dist/bundle/{chunk-WNXC42IU.js → chunk-FCGRXUAU.js} +9 -9
- package/dist/bundle/{chunk-ELW3LMJZ.js → chunk-FHOQWPQ6.js} +397 -157
- package/dist/bundle/{chunk-NQ356ERO.js → chunk-FMMCGQNT.js} +77 -10
- package/dist/bundle/{chunk-K3K3WKDB.js → chunk-FNLXFQN6.js} +1 -1
- package/dist/bundle/{chunk-YGKM2ZWF.js → chunk-FURKMNC2.js} +3 -3
- package/dist/bundle/{chunk-XRH2NKW4.js → chunk-FXHZHQKU.js} +6 -6
- package/dist/bundle/{chunk-GZYICXO4.js → chunk-GQ6EJDMV.js} +1 -1
- package/dist/bundle/{chunk-VABYJQYE.js → chunk-H34KEXTN.js} +24 -22
- package/dist/bundle/{chunk-HWYSJ4SL.js → chunk-H74NENWA.js} +3 -3
- package/dist/bundle/{chunk-Y2BGABXP.js → chunk-H7SRM26V.js} +3 -3
- package/dist/bundle/{chunk-VRA4RVQU.js → chunk-HGBZBQAE.js} +3 -3
- package/dist/bundle/{chunk-EZXW3ZCR.js → chunk-HI4QICF7.js} +12 -12
- package/dist/bundle/{chunk-LEVOI6Z3.js → chunk-HOJOVUO6.js} +14 -13
- package/dist/bundle/{chunk-XWQKRKMT.js → chunk-HUSIS3XO.js} +71 -252
- package/dist/bundle/chunk-IBINGDYF.js +335 -0
- package/dist/bundle/{chunk-55SWKR6Y.js → chunk-INJK7FNM.js} +337 -597
- package/dist/bundle/{chunk-CXHUOPN5.js → chunk-JOIAE3NO.js} +7 -7
- package/dist/bundle/{chunk-OFODCJ2A.js → chunk-KBTINKQF.js} +3 -3
- package/dist/bundle/{chunk-VCFSUGPE.js → chunk-KEAKNNXU.js} +4 -4
- package/dist/bundle/{chunk-XHVFX74L.js → chunk-LBTANUUH.js} +2 -2
- package/dist/bundle/chunk-LBV4673S.js +72 -0
- package/dist/bundle/chunk-LERF2FIK.js +295 -0
- package/dist/bundle/{chunk-UYZDH5LK.js → chunk-LX532BXO.js} +1 -1
- package/dist/bundle/{chunk-IVFNHIU4.js → chunk-M2M3U4UU.js} +81 -5
- package/dist/bundle/{chunk-JWMOHEDL.js → chunk-M5R2DURM.js} +10 -10
- package/dist/bundle/{chunk-4ERYXY4Y.js → chunk-MJMHUU3J.js} +1 -1
- package/dist/bundle/{chunk-GYTAHH5Y.js → chunk-MSMFYW6N.js} +2 -2
- package/dist/bundle/{chunk-X73YEFQE.js → chunk-MVLLWSV7.js} +20 -118
- package/dist/bundle/{chunk-RXUVXAMM.js → chunk-NO2LIHWA.js} +1 -1
- package/dist/bundle/{chunk-Y4WEAWU7.js → chunk-NS5XSCHC.js} +1 -1
- package/dist/bundle/{chunk-ZETM63M6.js → chunk-OAE6XR7E.js} +9 -60
- package/dist/bundle/{chunk-CS62FET6.js → chunk-OAYAGQ7C.js} +22 -22
- package/dist/bundle/{chunk-T2QVWRJF.js → chunk-OI4563JI.js} +39 -67
- package/dist/bundle/{chunk-WKT5RPSY.js → chunk-OOLNK3Y5.js} +8 -8
- package/dist/bundle/{chunk-EBIK5Q73.js → chunk-ORSTSBWU.js} +1 -1
- package/dist/bundle/{chunk-GB5LI5RM.js → chunk-P5QO7Y3H.js} +6 -6
- package/dist/bundle/{chunk-3D5PETD2.js → chunk-PJMQE4PW.js} +29 -9
- package/dist/bundle/{chunk-KEFDP6NL.js → chunk-Q4AKIAIA.js} +12 -12
- package/dist/bundle/{chunk-CPOFLYPU.js → chunk-Q4CNLEAY.js} +29 -29
- package/dist/bundle/{chunk-UAV74EY4.js → chunk-RJIJR6KH.js} +1 -1
- package/dist/bundle/{chunk-GPIQY4YB.js → chunk-TEFHNXXX.js} +14 -14
- package/dist/bundle/{chunk-FMJ4QSSU.js → chunk-TFDD4Q5Z.js} +10 -10
- package/dist/bundle/{chunk-HUHH25AG.js → chunk-TXDCIM5D.js} +3017 -1599
- package/dist/bundle/{chunk-FGRFIXG2.js → chunk-U2Z35B3W.js} +2 -2
- package/dist/bundle/{chunk-WZJ7ZYR4.js → chunk-UHBQM54J.js} +4 -4
- package/dist/bundle/{chunk-6VCQ4CTK.js → chunk-UIBKGH5P.js} +1 -1
- package/dist/bundle/{chunk-5EII5RIL.js → chunk-UKYO3HNO.js} +1 -1
- package/dist/bundle/{chunk-7RORMNKP.js → chunk-V53TIJLY.js} +2 -2
- package/dist/bundle/{chunk-OOYIPK4F.js → chunk-VMA7SILL.js} +1 -1
- package/dist/bundle/chunk-VW36ZSAE.js +88 -0
- package/dist/bundle/chunk-WEAMGNST.js +31 -0
- package/dist/bundle/{chunk-EPPE6ZTS.js → chunk-WJTXO2EI.js} +1 -1
- package/dist/bundle/{chunk-4JPOELCT.js → chunk-WOYPWXZK.js} +4 -4
- package/dist/bundle/{chunk-OINDAHXC.js → chunk-XCOGI4JE.js} +4 -4
- package/dist/bundle/{chunk-CE5Y7PQU.js → chunk-XOG7B7K5.js} +4 -4
- package/dist/bundle/chunk-XSF5OBVZ.js +224 -0
- package/dist/bundle/{chunk-B7ZREOBD.js → chunk-XXD4YPHQ.js} +12 -12
- package/dist/bundle/{chunk-35AH33VJ.js → chunk-YAPDU3SV.js} +1 -1
- package/dist/bundle/{chunk-R47GYLNN.js → chunk-YHQ3TEGB.js} +29 -27
- package/dist/bundle/{chunk-LOEK6IFQ.js → chunk-YLNUKNGD.js} +87 -35
- package/dist/bundle/{chunk-6SXCGS3A.js → chunk-YNYQGZUW.js} +7 -7
- package/dist/bundle/{chunk-OWZETMRE.js → chunk-YZKVCTZI.js} +8 -8
- package/dist/bundle/{chunk-UG2QDGAH.js → chunk-ZCVO6GAT.js} +1 -1
- package/dist/bundle/{chunk-YEBWRWE3.js → chunk-ZDZASHSQ.js} +17 -17
- package/dist/bundle/chunk-ZZJ5IWNT.js +101 -0
- package/dist/bundle/{cli-FHMLYHUZ.js → cli-YALONJ4V.js} +135 -84
- package/dist/bundle/command-contract-DMR5EOIN.js +45 -0
- package/dist/bundle/{command-server-entry-YEZM52R5.js → command-server-entry-W4XTBUZE.js} +35 -31
- package/dist/bundle/config-4TLDRXRL.js +109 -0
- package/dist/bundle/{decode-SIYRMJOK.js → decode-IFQHVCFX.js} +16 -8
- package/dist/bundle/{dispatch-SMER3WDX.js → dispatch-GOJB4TDK.js} +9 -9
- package/dist/bundle/{dist-BSJETSFE.js → dist-H7XFUMRX.js} +25 -22
- package/dist/bundle/{echarts-UZJ6AREV.js → echarts-HPUHPJCO.js} +2 -2
- package/dist/bundle/{embed-A7DSHVI7.js → embed-ESU3WZYW.js} +7 -7
- package/dist/bundle/{embedder-WQBR4UGS.js → embedder-BV6O76B3.js} +10 -10
- package/dist/bundle/{failure-73UQXQTW.js → failure-SWVCYFQX.js} +3 -3
- package/dist/bundle/first-run-OEJGAQAE.js +29 -0
- package/dist/bundle/first-screen-QLM4IABL.js +45 -0
- package/dist/bundle/{folders-BH4SV6SI.js → folders-VQGKBM3P.js} +5 -5
- package/dist/bundle/{instructions-SDDUBGH4.js → instructions-UUX57I3V.js} +1 -1
- package/dist/bundle/{main-KL4FN5F3.js → main-UIKADOFB.js} +24 -24
- package/dist/bundle/{mcp-GN4FTJX5.js → mcp-VMS6PBCU.js} +2 -2
- package/dist/bundle/meeting-combined-SKJISCC7.js +26 -0
- package/dist/bundle/meeting-model-YG3Z5KCB.js +26 -0
- package/dist/bundle/meeting-semantic-F6GUICB7.js +23 -0
- package/dist/bundle/{meetings-URPXBHV7.js → meetings-KIBUPLPW.js} +37 -7
- package/dist/bundle/{node-ELCNUOCE.js → node-AM3JCAWB.js} +2 -2
- package/dist/bundle/{node-sqlite-QLSNHZBM.js → node-sqlite-VM6VS3RU.js} +8 -8
- package/dist/bundle/{oauth-LZ64S7Y3.js → oauth-AX5Z32H6.js} +8 -8
- package/dist/bundle/{open-WB4HUPQT.js → open-SSGOOOZG.js} +6 -6
- package/dist/bundle/openai-YIP73X2B.js +28 -0
- package/dist/bundle/{output-file-AHPQA5LR.js → output-file-FR226A64.js} +6 -6
- package/dist/bundle/{process-67DAKAAQ.js → process-5ZEK2VFY.js} +1 -1
- package/dist/bundle/{program-CIMACIBE.js → program-ROJAJHCB.js} +424 -251
- package/dist/bundle/{prompt-GG53UBDJ.js → prompt-6Y7A4453.js} +6 -6
- package/dist/bundle/{recognize-CFJ3CAEH.js → recognize-R5W25WKH.js} +5 -5
- package/dist/bundle/{remote-BLEM7C3Q.js → remote-PA4FQUZK.js} +11 -11
- package/dist/bundle/{rerank-ERN6PC66.js → rerank-CYX3UFTM.js} +8 -8
- package/dist/bundle/run-log-FHERL3H6.js +136 -0
- package/dist/bundle/{serve-FJPPTJXH.js → serve-MM5QEZJW.js} +15 -15
- package/dist/bundle/{server-FLUSDUGM.js → server-JQQAH7E5.js} +64 -54
- package/dist/bundle/server-W2BBONCQ.js +85 -0
- package/dist/bundle/{services-LXC6DVUQ.js → services-Y2DOQONM.js} +85 -54
- package/dist/bundle/{speech-WFEZTKXA.js → speech-O6WLX34V.js} +34 -18
- package/dist/bundle/{sqlite-runtime-KN33VSP7.js → sqlite-runtime-LQTBZMFH.js} +7 -7
- package/dist/bundle/{state-TXS4ZHIT.js → state-AIDPZLVH.js} +7 -7
- package/dist/bundle/{store-ZUREZYZB.js → store-BA4FQS5V.js} +26 -20
- package/dist/bundle/{store-MUOXLVL4.js → store-UNDS2TBG.js} +30 -22
- package/dist/bundle/store-connection-ADBJ36T4.js +102 -0
- package/dist/bundle/store-maintenance-command-IB6ML4UI.js +77 -0
- package/dist/bundle/{streaming-ZSCHRC5S.js → streaming-UFHT5MR2.js} +7 -7
- package/dist/bundle/{tokens-YVDOY4EV.js → tokens-Z32UKGQB.js} +10 -10
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-O6GIMB7Y.js → zoom-app-6U46XBTG.js} +8 -8
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +3 -0
- package/dist/commands.js.map +1 -1
- package/dist/first-screen.d.ts.map +1 -1
- package/dist/first-screen.js +3 -5
- package/dist/first-screen.js.map +1 -1
- package/dist/meeting-integration-commands.d.ts.map +1 -1
- package/dist/meeting-integration-commands.js +46 -28
- package/dist/meeting-integration-commands.js.map +1 -1
- package/dist/meeting-source.d.ts.map +1 -1
- package/dist/meeting-source.js +15 -1
- package/dist/meeting-source.js.map +1 -1
- package/dist/permissions.d.ts +8 -4
- package/dist/permissions.d.ts.map +1 -1
- package/dist/permissions.js +25 -24
- package/dist/permissions.js.map +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +8 -5
- package/dist/program-bindings.js.map +1 -1
- package/dist/program.d.ts +2 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js.map +1 -1
- package/dist/remote-meetings.d.ts +38 -8
- package/dist/remote-meetings.d.ts.map +1 -1
- package/dist/remote-meetings.js +52 -29
- package/dist/remote-meetings.js.map +1 -1
- package/dist/run.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/zoom-app.d.ts.map +1 -1
- package/dist/zoom-app.js +1 -0
- package/dist/zoom-app.js.map +1 -1
- package/package.json +5 -4
- package/skills/zoom-cli/SKILL.md +88 -236
- package/skills/zoom-cli/references/archive.md +59 -0
- package/skills/zoom-cli/references/people-and-projects.md +51 -0
- package/skills/zoom-cli/references/prepare.md +78 -0
- package/skills/zoom-cli/references/search.md +71 -0
- package/skills/zoom-cli/references/setup.md +31 -0
- package/skills/zoom-cli/references/zoom-live.md +27 -0
- package/dist/bundle/answer-policy-ETAELI4A.js +0 -110
- package/dist/bundle/chunk-64N7MY3I.js +0 -161
- package/dist/bundle/command-contract-HUZ4I23S.js +0 -41
- package/dist/bundle/config-KVTWN7QZ.js +0 -97
- package/dist/bundle/first-run-SY6XSUZ3.js +0 -29
- package/dist/bundle/first-screen-ZDMODGWS.js +0 -39
- package/dist/bundle/openai-KN6JE4QU.js +0 -28
- package/dist/bundle/run-log-S67YPJF6.js +0 -124
- package/dist/bundle/server-UNJY3TSJ.js +0 -74
- package/dist/bundle/store-connection-NRNEBUPU.js +0 -90
- package/dist/bundle/store-maintenance-command-OBOPYFZ5.js +0 -65
- /package/dist/bundle/{chunk-BDCC2J2Z.js → chunk-SHTHNBHG.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
checkedClientId
|
|
5
|
+
} from "./chunk-7AMKSXMB.js";
|
|
3
6
|
import {
|
|
4
7
|
commandsCommand,
|
|
5
8
|
formatSuggestions,
|
|
6
9
|
meetingResultItem,
|
|
7
10
|
runsCommand,
|
|
8
11
|
suggest
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
checkedClientId
|
|
12
|
-
} from "./chunk-DQHS336B.js";
|
|
12
|
+
} from "./chunk-TXDCIM5D.js";
|
|
13
13
|
import {
|
|
14
14
|
sharedStoreCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HUSIS3XO.js";
|
|
16
16
|
import {
|
|
17
17
|
NO_EFFECTS,
|
|
18
18
|
REMOTE_READ,
|
|
@@ -37,37 +37,37 @@ import {
|
|
|
37
37
|
snakeKeys,
|
|
38
38
|
usableProfileName,
|
|
39
39
|
withSettingDefaults
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-INJK7FNM.js";
|
|
41
41
|
import {
|
|
42
42
|
readOnlyLockOf,
|
|
43
43
|
readOnlyRefusal
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-F7IDYQLM.js";
|
|
45
45
|
import {
|
|
46
46
|
setupPermissionCeiling
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-WOYPWXZK.js";
|
|
48
48
|
import {
|
|
49
49
|
CEILING_KEY,
|
|
50
50
|
DEFAULT_PERMISSIONS,
|
|
51
51
|
LEVELS,
|
|
52
52
|
keyForCommand,
|
|
53
53
|
levelFor
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-YZKVCTZI.js";
|
|
55
55
|
import {
|
|
56
56
|
KEEP_RUNS_FOR_DAYS,
|
|
57
57
|
KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
|
|
58
58
|
RUNS_SIZE_LIMIT_MB
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-7HEZQCHL.js";
|
|
60
60
|
import {
|
|
61
61
|
ZM
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-C26V2XNV.js";
|
|
63
63
|
import {
|
|
64
64
|
MEETING_RESULT_ENTITIES
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-FHOQWPQ6.js";
|
|
66
66
|
import {
|
|
67
67
|
createRenderer,
|
|
68
68
|
projectFields,
|
|
69
69
|
saveConfigFile
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-OAYAGQ7C.js";
|
|
71
71
|
import {
|
|
72
72
|
array,
|
|
73
73
|
boolean,
|
|
@@ -92,10 +92,10 @@ import {
|
|
|
92
92
|
strictObject,
|
|
93
93
|
string,
|
|
94
94
|
union
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-PJMQE4PW.js";
|
|
96
96
|
import {
|
|
97
97
|
CliError
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-FNLXFQN6.js";
|
|
99
99
|
import {
|
|
100
100
|
__name
|
|
101
101
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -305,27 +305,6 @@ var archiveReceipt = strictObject({
|
|
|
305
305
|
availability: optional(literal("unknown")),
|
|
306
306
|
checkpoint_revision: optional(nullable(count))
|
|
307
307
|
});
|
|
308
|
-
var remote = strictObject({
|
|
309
|
-
id: text,
|
|
310
|
-
uuid: nullableText,
|
|
311
|
-
title: nullableText,
|
|
312
|
-
type: nullable(number()),
|
|
313
|
-
started_at: nullableText,
|
|
314
|
-
duration_minutes: nullable(number()),
|
|
315
|
-
timezone: nullableText,
|
|
316
|
-
agenda: nullableText,
|
|
317
|
-
join_url: nullableText
|
|
318
|
-
});
|
|
319
|
-
var remoteChange = strictObject({
|
|
320
|
-
action: picklist(["create", "update", "cancel"]),
|
|
321
|
-
applied: flag,
|
|
322
|
-
request: strictObject({
|
|
323
|
-
method: picklist(["POST", "PATCH", "DELETE"]),
|
|
324
|
-
path: text,
|
|
325
|
-
body: optional(record(text, union([text, number()])))
|
|
326
|
-
}),
|
|
327
|
-
meeting: optional(remote)
|
|
328
|
-
});
|
|
329
308
|
var schedule = strictObject({
|
|
330
309
|
version: literal(1),
|
|
331
310
|
id: text,
|
|
@@ -411,15 +390,6 @@ var ZOOM_ANSWER_ENTITIES = {
|
|
|
411
390
|
"recordings schedule create": { name: "zoom_archive_schedule_change", schema: scheduleReceipt },
|
|
412
391
|
"recordings schedule disable": { name: "zoom_archive_schedule_change", schema: scheduleReceipt },
|
|
413
392
|
"recordings schedule run": { name: "zoom_archive_receipt", schema: archiveReceipt },
|
|
414
|
-
"remote-meetings list": { name: "zoom_remote_meeting", schema: remote },
|
|
415
|
-
"remote-meetings show": { name: "zoom_remote_meeting", schema: remote },
|
|
416
|
-
"remote-meetings invitation": {
|
|
417
|
-
name: "zoom_remote_invitation",
|
|
418
|
-
schema: strictObject({ id: text, invitation: text })
|
|
419
|
-
},
|
|
420
|
-
"remote-meetings create": { name: "zoom_remote_change", schema: remoteChange },
|
|
421
|
-
"remote-meetings update": { name: "zoom_remote_change", schema: remoteChange },
|
|
422
|
-
"remote-meetings cancel": { name: "zoom_remote_change", schema: remoteChange },
|
|
423
393
|
"zoom search": { name: "zoom_search_hit", schema: searchHit },
|
|
424
394
|
"meetings embeddings": { name: "meeting_embedding", schema: MEETING_RESULT_ENTITIES.meeting_embedding, shared: true },
|
|
425
395
|
"meetings sync": { name: "meeting_ingestion", schema: MEETING_RESULT_ENTITIES.meeting_ingestion, shared: true },
|
|
@@ -431,7 +401,6 @@ var ZOOM_ANSWER_ENTITIES = {
|
|
|
431
401
|
},
|
|
432
402
|
watch: { name: "meeting_ingestion", schema: MEETING_RESULT_ENTITIES.meeting_ingestion, shared: true },
|
|
433
403
|
"meetings export": { name: "meeting_export", schema: MEETING_RESULT_ENTITIES.meeting_export, shared: true },
|
|
434
|
-
"meetings update": { name: "meeting_association", schema: MEETING_RESULT_ENTITIES.meeting_association, shared: true },
|
|
435
404
|
"meetings link": { name: "meeting_association", schema: MEETING_RESULT_ENTITIES.meeting_association, shared: true },
|
|
436
405
|
"meetings transcribe": {
|
|
437
406
|
name: "meeting_transcription",
|
|
@@ -650,17 +619,17 @@ var exampleFor = /* @__PURE__ */ __name((path) => {
|
|
|
650
619
|
"meetings export": "1 --format markdown",
|
|
651
620
|
"meetings people": '"Alice Example"',
|
|
652
621
|
"meetings projects evidence": 'RES "identity_id:12"',
|
|
653
|
-
"meetings import": "./downloaded-transcripts"
|
|
622
|
+
"meetings import": "./downloaded-transcripts",
|
|
623
|
+
"meetings update": '123456789 --title "Example review" --dry-run',
|
|
624
|
+
"meetings cancel": "123456789 --dry-run",
|
|
625
|
+
"meetings invitation": "123456789"
|
|
654
626
|
};
|
|
655
627
|
return `zm ${profile}${path}${argumentsByPath[path] ? ` ${argumentsByPath[path]}` : ""} --json`;
|
|
656
628
|
}, "exampleFor");
|
|
657
629
|
var addStandardCommands = addStandardCommandsDefinition;
|
|
658
630
|
|
|
659
631
|
// dist/permissions.js
|
|
660
|
-
var DEFAULT_PERMISSIONS2 =
|
|
661
|
-
...DEFAULT_PERMISSIONS,
|
|
662
|
-
"remote-meetings": "ask"
|
|
663
|
-
};
|
|
632
|
+
var DEFAULT_PERMISSIONS2 = DEFAULT_PERMISSIONS;
|
|
664
633
|
var discoveryLevels = /* @__PURE__ */ __name((own, env) => {
|
|
665
634
|
const ceiling = setupPermissionCeiling(env);
|
|
666
635
|
return {
|
|
@@ -699,10 +668,10 @@ var parsePermissions = /* @__PURE__ */ __name((value, known) => {
|
|
|
699
668
|
try {
|
|
700
669
|
parsed = JSON.parse(value);
|
|
701
670
|
} catch {
|
|
702
|
-
throw new CliError("validation_error", 'permissions must be a JSON object: {"
|
|
671
|
+
throw new CliError("validation_error", 'permissions must be a JSON object: {"meetings.create": "allow"}');
|
|
703
672
|
}
|
|
704
673
|
if (!parsed || typeof parsed !== "object" || Array.isArray(parsed))
|
|
705
|
-
throw new CliError("validation_error", 'permissions must be a JSON object: {"
|
|
674
|
+
throw new CliError("validation_error", 'permissions must be a JSON object: {"meetings.create": "allow"}');
|
|
706
675
|
for (const [key, level] of Object.entries(parsed)) {
|
|
707
676
|
if (!known.has(key))
|
|
708
677
|
throw new CliError("validation_error", `no command is called ${key}; a key is a command path, dotted`, {
|
|
@@ -731,22 +700,24 @@ var checkPermission = /* @__PURE__ */ __name((command, context) => {
|
|
|
731
700
|
throw new CliError("permission_error", `refused to ${changes}: the WireCat setup answer keeps every tool read-only \u2014 \`tg setup\`, \`max setup\` or \`wa setup\` at a terminal changes it`, { key, level });
|
|
732
701
|
if (level === "readonly" && changes)
|
|
733
702
|
throw refuse(at, level, profile, `refused to ${changes}`);
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
if (!
|
|
703
|
+
}, "checkPermission");
|
|
704
|
+
var askOwner = /* @__PURE__ */ __name(async (command, at, profile, confirm) => {
|
|
705
|
+
if (!confirm)
|
|
706
|
+
throw new CliError("confirmation_required", `${at} asks first for profile ${profile}: add --yes to apply, or --dry-run to preview`, { key: at });
|
|
707
|
+
if (!await confirm(`zm: ${pathOf3(command).join(" ")} changes Zoom for profile ${profile}. Apply?`))
|
|
708
|
+
throw new CliError("cancelled", "not applied");
|
|
709
|
+
}, "askOwner");
|
|
710
|
+
var askBeforeWrite = /* @__PURE__ */ __name(async (command, context) => {
|
|
711
|
+
const key = permissionKeyOf(command);
|
|
712
|
+
if (!key)
|
|
737
713
|
return;
|
|
738
|
-
|
|
739
|
-
|
|
714
|
+
const named = context.profile();
|
|
715
|
+
const own = named === void 0 ? {} : context.config().permissions[named] ?? {};
|
|
716
|
+
const { level, key: by } = levelFor(own, key, DEFAULT_PERMISSIONS2);
|
|
717
|
+
if (level !== "ask" || command.optsWithGlobals().yes)
|
|
740
718
|
return;
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
throw new CliError("confirmation_required", `${at} asks first for profile ${profile}: add --yes to apply, or --dry-run to preview`, { key: at });
|
|
744
|
-
return context.confirm(`zm: ${pathOf3(command).join(" ")} changes Zoom for profile ${profile}. Apply?`).then((yes) => {
|
|
745
|
-
if (!yes)
|
|
746
|
-
throw new CliError("cancelled", "not applied");
|
|
747
|
-
command.setOptionValue("yes", true);
|
|
748
|
-
});
|
|
749
|
-
}, "checkPermission");
|
|
719
|
+
await askOwner(command, by ?? key, named ?? "<profile>", context.confirm);
|
|
720
|
+
}, "askBeforeWrite");
|
|
750
721
|
var guardCommand = /* @__PURE__ */ __name((command, env, context, confirm) => {
|
|
751
722
|
refuseChangeWhenReadOnly(command, env);
|
|
752
723
|
const ceiling = setupPermissionCeiling(env);
|
|
@@ -983,6 +954,7 @@ export {
|
|
|
983
954
|
discoveryLevels,
|
|
984
955
|
permissionKeyForPath,
|
|
985
956
|
permissionKeys,
|
|
957
|
+
askBeforeWrite,
|
|
986
958
|
guardCommand,
|
|
987
959
|
ZOOM_SETTINGS,
|
|
988
960
|
inspectConfig,
|
|
@@ -2,26 +2,26 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
storePath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LBTANUUH.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
writeSecurely
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OAYAGQ7C.js";
|
|
10
10
|
import {
|
|
11
11
|
CliError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FNLXFQN6.js";
|
|
13
13
|
import {
|
|
14
14
|
singleLine
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WJTXO2EI.js";
|
|
16
16
|
import {
|
|
17
17
|
__name
|
|
18
18
|
} from "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
|
|
20
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
21
21
|
import { existsSync, mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
|
|
22
22
|
import { dirname, join, resolve } from "node:path";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/domain/config-repair.js
|
|
25
25
|
var REPAIR_WORDS = {
|
|
26
26
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
27
27
|
comment: "a comment, which JSON does not allow",
|
|
@@ -305,7 +305,7 @@ var explainBrokenJson = /* @__PURE__ */ __name((text, result) => {
|
|
|
305
305
|
return `line ${line}, column ${column}: ${why}${around(line)}; likely fix: ${fix ?? "correct that part by hand"}`;
|
|
306
306
|
}, "explainBrokenJson");
|
|
307
307
|
|
|
308
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
308
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
|
|
309
309
|
var DEFAULT_TASK_CATEGORIES = [
|
|
310
310
|
{
|
|
311
311
|
name: "taxes",
|
|
@@ -1060,7 +1060,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
|
|
|
1060
1060
|
}
|
|
1061
1061
|
}, "storedTaskCategories");
|
|
1062
1062
|
|
|
1063
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1063
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
1064
1064
|
var SECTION = "task_categories";
|
|
1065
1065
|
var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
|
|
1066
1066
|
const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/runs/secrets.js
|
|
8
8
|
var SECRET_WORDS = /* @__PURE__ */ new Set([
|
|
9
9
|
"authorization",
|
|
10
10
|
"cookie",
|
|
@@ -5,23 +5,23 @@ import {
|
|
|
5
5
|
installFiles,
|
|
6
6
|
megabytes,
|
|
7
7
|
sharedModelsDirectory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XCOGI4JE.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FNLXFQN6.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
20
20
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
21
21
|
import { availableParallelism } from "node:os";
|
|
22
22
|
import { basename, join as join2 } from "node:path";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
25
25
|
import { createHash } from "node:crypto";
|
|
26
26
|
import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
27
27
|
import { join } from "node:path";
|
|
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
|
|
|
678
678
|
return Unzip2;
|
|
679
679
|
})();
|
|
680
680
|
|
|
681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
682
682
|
var ONNX_RUNTIME_VERSION = "1.30.0";
|
|
683
683
|
var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
|
|
684
684
|
name,
|
|
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
|
|
|
858
858
|
return { ort, session: await ort.InferenceSession.create(bytes, options) };
|
|
859
859
|
}, "openSession");
|
|
860
860
|
|
|
861
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
861
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
862
862
|
var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
|
|
863
863
|
var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
|
|
864
864
|
var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
|
|
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
errorCodes,
|
|
5
5
|
isCliError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FNLXFQN6.js";
|
|
7
7
|
import {
|
|
8
8
|
visibleControls
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WJTXO2EI.js";
|
|
10
10
|
import {
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
|
|
15
15
|
var EXIT_CODES = {
|
|
16
16
|
validation_error: 2,
|
|
17
17
|
configuration_error: 3,
|
|
@@ -273,6 +273,25 @@ function isoTimestamp(message$1) {
|
|
|
273
273
|
}
|
|
274
274
|
__name(isoTimestamp, "isoTimestamp");
|
|
275
275
|
// @__NO_SIDE_EFFECTS__
|
|
276
|
+
function maxEntries(requirement, message$1) {
|
|
277
|
+
return {
|
|
278
|
+
kind: "validation",
|
|
279
|
+
type: "max_entries",
|
|
280
|
+
reference: maxEntries,
|
|
281
|
+
async: false,
|
|
282
|
+
expects: `<=${requirement}`,
|
|
283
|
+
requirement,
|
|
284
|
+
message: message$1,
|
|
285
|
+
"~run"(dataset, config$1) {
|
|
286
|
+
if (!dataset.typed) return dataset;
|
|
287
|
+
const count = Object.keys(dataset.value).length;
|
|
288
|
+
if (dataset.typed && count > this.requirement) _addIssue(this, "entries", dataset, config$1, { received: `${count}` });
|
|
289
|
+
return dataset;
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
__name(maxEntries, "maxEntries");
|
|
294
|
+
// @__NO_SIDE_EFFECTS__
|
|
276
295
|
function maxLength(requirement, message$1) {
|
|
277
296
|
return {
|
|
278
297
|
kind: "validation",
|
|
@@ -1347,7 +1366,7 @@ function unwrap(schema) {
|
|
|
1347
1366
|
}
|
|
1348
1367
|
__name(unwrap, "unwrap");
|
|
1349
1368
|
|
|
1350
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1369
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
|
|
1351
1370
|
var EFFECT_LEVELS = ["none", "read", "write"];
|
|
1352
1371
|
var effectsSchema = strictObject({
|
|
1353
1372
|
remote: picklist(EFFECT_LEVELS),
|
|
@@ -1984,7 +2003,7 @@ function toStandardJsonSchema(schema) {
|
|
|
1984
2003
|
}
|
|
1985
2004
|
__name(toStandardJsonSchema, "toStandardJsonSchema");
|
|
1986
2005
|
|
|
1987
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2006
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
|
|
1988
2007
|
var word = pipe(string(), regex(/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/, "a lower-case word, words joined by -"));
|
|
1989
2008
|
var SNAKE_CASE = /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/;
|
|
1990
2009
|
var text = pipe(string(), regex(/\S/, "must not be empty"));
|
|
@@ -2026,7 +2045,7 @@ var fill = /* @__PURE__ */ __name((template, values) => template.replace(PLACEHO
|
|
|
2026
2045
|
return String(value);
|
|
2027
2046
|
}), "fill");
|
|
2028
2047
|
|
|
2029
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2048
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
|
|
2030
2049
|
var MAX_NEXT_STEPS = 2;
|
|
2031
2050
|
var COMPACT_FLAG = "--compact";
|
|
2032
2051
|
var isoTime = pipe(string(), isoTimestamp("an ISO 8601 time in UTC"), endsWith("Z", "an ISO 8601 time in UTC, ending in `Z`"));
|
|
@@ -2153,7 +2172,7 @@ var jsonlOf = /* @__PURE__ */ __name(({ items, page, meta }) => [
|
|
|
2153
2172
|
JSON.stringify({ type: "end", complete: meta.complete, ...meta.issues ? { issues: meta.issues } : {}, page })
|
|
2154
2173
|
].join("\n"), "jsonlOf");
|
|
2155
2174
|
|
|
2156
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2175
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
|
|
2157
2176
|
var CRASH_CODE = "internal_error";
|
|
2158
2177
|
var CRASH_REASON = "command.crashed";
|
|
2159
2178
|
var errorObjectSchema = strictObject({
|
|
@@ -2246,7 +2265,7 @@ var BASE_REASONS = defineReasons([
|
|
|
2246
2265
|
{ reason: CRASH_REASON, code: CRASH_CODE, message: "the command failed; this is a bug", details: [] }
|
|
2247
2266
|
]);
|
|
2248
2267
|
|
|
2249
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2268
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
|
|
2250
2269
|
var SAME_COMMAND = "*";
|
|
2251
2270
|
var commandPath = pipe(string(), regex(/^[a-z][a-z0-9-]*( [a-z][a-z0-9-]*)*$/, "a command path such as `messages sync`"));
|
|
2252
2271
|
var stepSchema = union([
|
|
@@ -2325,7 +2344,7 @@ var STEPS = defineSteps([
|
|
|
2325
2344
|
}
|
|
2326
2345
|
]);
|
|
2327
2346
|
|
|
2328
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2347
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
|
|
2329
2348
|
var recognise = /* @__PURE__ */ __name((failure) => {
|
|
2330
2349
|
if (isCliError(failure))
|
|
2331
2350
|
return failure;
|
|
@@ -2483,6 +2502,7 @@ export {
|
|
|
2483
2502
|
integer,
|
|
2484
2503
|
isoDate,
|
|
2485
2504
|
isoTimestamp,
|
|
2505
|
+
maxEntries,
|
|
2486
2506
|
maxLength,
|
|
2487
2507
|
maxValue,
|
|
2488
2508
|
minLength,
|
|
@@ -2,28 +2,28 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
isCommandServer
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NS5XSCHC.js";
|
|
6
6
|
import {
|
|
7
7
|
envName,
|
|
8
8
|
readOnlyLockOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-F7IDYQLM.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureSqlite
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-V53TIJLY.js";
|
|
13
13
|
import {
|
|
14
14
|
catchCrashes
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PJMQE4PW.js";
|
|
16
16
|
import {
|
|
17
17
|
CliError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FNLXFQN6.js";
|
|
19
19
|
import {
|
|
20
20
|
__name
|
|
21
21
|
} from "./chunk-ZVVMGPBJ.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/entry.js
|
|
24
24
|
import { spawn } from "node:child_process";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
|
|
27
27
|
import { appendFileSync } from "node:fs";
|
|
28
28
|
var logParsedArgv = /* @__PURE__ */ __name((file, action) => {
|
|
29
29
|
const words = [];
|
|
@@ -47,7 +47,7 @@ var logVersion = /* @__PURE__ */ __name((file) => {
|
|
|
47
47
|
`);
|
|
48
48
|
}, "logVersion");
|
|
49
49
|
|
|
50
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
50
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/entry.js
|
|
51
51
|
var processIo = /* @__PURE__ */ __name(() => ({
|
|
52
52
|
argv: process.argv,
|
|
53
53
|
env: process.env,
|
|
@@ -67,7 +67,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
67
67
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-V"))
|
|
68
68
|
return printVersion(entry.app, io);
|
|
69
69
|
if (isCommandServer(args)) {
|
|
70
|
-
const { serveEntry } = await import("./command-server-entry-
|
|
70
|
+
const { serveEntry } = await import("./command-server-entry-W4XTBUZE.js");
|
|
71
71
|
return serveEntry(entry, io, { firstRunAt, commanderExit });
|
|
72
72
|
}
|
|
73
73
|
const tty = io.stdout.isTTY === true;
|
|
@@ -105,7 +105,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
105
105
|
ask: /* @__PURE__ */ __name(async (question, command) => {
|
|
106
106
|
if (headless(command) || io.stdin.isTTY !== true)
|
|
107
107
|
return false;
|
|
108
|
-
const { readSecret } = await import("./prompt-
|
|
108
|
+
const { readSecret } = await import("./prompt-6Y7A4453.js");
|
|
109
109
|
const answer = await readSecret(`${question} [y/N] `, {
|
|
110
110
|
input: io.stdin,
|
|
111
111
|
output: io.stderr,
|
|
@@ -148,8 +148,8 @@ var firstRunAt = /* @__PURE__ */ __name((entry, io, headless) => async (command)
|
|
|
148
148
|
if (command.optsWithGlobals().dryRun === true)
|
|
149
149
|
return;
|
|
150
150
|
const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
|
|
151
|
-
import("./first-run-
|
|
152
|
-
import("./command-contract-
|
|
151
|
+
import("./first-run-OEJGAQAE.js"),
|
|
152
|
+
import("./command-contract-DMR5EOIN.js")
|
|
153
153
|
]);
|
|
154
154
|
await setupAtStart({
|
|
155
155
|
command: entry.app.command,
|