@modootoday/pmcp 0.22.13 → 0.23.1
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/.agents/plugins/marketplace.json +1 -1
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.mcp.json +1 -1
- package/dist/{affected-ZWO2F5EM.js → affected-D6FRJPPI.js} +2 -2
- package/dist/{apply-OIKQ5SIY.js → apply-3PWUO4J5.js} +20 -19
- package/dist/{available-Z5MIDFPH.js → available-74CMIBPD.js} +9 -9
- package/dist/{broadcast-BF2QL3O7.js → broadcast-VKZY7WSD.js} +3 -3
- package/dist/chunk-2GZKA33O.js +173 -0
- package/dist/chunk-2HL2MFNI.js +159 -0
- package/dist/{chunk-5PNS6V5C.js → chunk-2K4WYN4C.js} +2 -2
- package/dist/{chunk-4O4ZOSBQ.js → chunk-2MX5C7B2.js} +3 -3
- package/dist/chunk-43MXRTKH.js +134 -0
- package/dist/chunk-4VVQLWTS.js +93 -0
- package/dist/{chunk-24L4MO7H.js → chunk-5HNLHI5F.js} +2 -2
- package/dist/{chunk-JEL35P7S.js → chunk-5NDUWEMW.js} +2 -2
- package/dist/{chunk-737BENAU.js → chunk-6NRLBSEG.js} +5 -5
- package/dist/chunk-6QJ3F445.js +166 -0
- package/dist/{chunk-7ZOQELXR.js → chunk-72V6U7CZ.js} +3 -3
- package/dist/{chunk-J3QUG6O5.js → chunk-7CHUMF3E.js} +2 -2
- package/dist/{chunk-INT7QLEU.js → chunk-7DJQASH3.js} +25 -6
- package/dist/chunk-7IRXUPM2.js +7 -0
- package/dist/{chunk-UED3RH53.js → chunk-DNSHJIS4.js} +2 -2
- package/dist/{chunk-ISGBOJT7.js → chunk-DZTSCJOZ.js} +3 -3
- package/dist/{chunk-KEHB4FZP.js → chunk-E2E4HIEN.js} +49 -3
- package/dist/{chunk-VNZTULFD.js → chunk-EQF64INS.js} +3 -3
- package/dist/{chunk-G4ATQPQI.js → chunk-F3R5HEUB.js} +5 -1
- package/dist/{chunk-JW5NMQTU.js → chunk-HES44LTA.js} +4 -4
- package/dist/{chunk-RHJEGLYM.js → chunk-HF5D6B2U.js} +45 -6
- package/dist/{chunk-5OFQVW2K.js → chunk-HYXOJYVR.js} +2 -2
- package/dist/chunk-JANBBPKP.js +50 -0
- package/dist/{chunk-A6DARDQ4.js → chunk-JJFPSFDU.js} +2 -2
- package/dist/{chunk-XNML2KIC.js → chunk-JPYQDOEW.js} +3 -3
- package/dist/{chunk-733WVP2R.js → chunk-KYGGQPAH.js} +2 -2
- package/dist/{chunk-NNGGNXF2.js → chunk-LGRFYN5T.js} +2 -2
- package/dist/{chunk-GNVME5AD.js → chunk-LO54UUDE.js} +2 -2
- package/dist/{chunk-XSWF7APE.js → chunk-OGCJO6HQ.js} +9 -8
- package/dist/{chunk-T4GVN7XO.js → chunk-P25V6NEX.js} +5 -5
- package/dist/{chunk-A7XCUR2C.js → chunk-Q6V274OB.js} +8 -6
- package/dist/chunk-QR6A3TYP.js +315 -0
- package/dist/{chunk-EIDIVIAD.js → chunk-QYLOIM4U.js} +9 -2
- package/dist/{chunk-ZKB7ZNKY.js → chunk-RRKA3GF5.js} +4 -4
- package/dist/{chunk-P5D6RKMT.js → chunk-RZYZILU4.js} +5 -3
- package/dist/{chunk-5IZFEVPW.js → chunk-SDQYZDHS.js} +2 -2
- package/dist/chunk-UVTGY2R3.js +78 -0
- package/dist/{chunk-LLT5FQBE.js → chunk-VBVNOLRR.js} +7 -3
- package/dist/{chunk-ABTJQ4QV.js → chunk-WBPVNCQO.js} +20 -5
- package/dist/{chunk-K2VU3B4W.js → chunk-WQBKQTNT.js} +3 -3
- package/dist/{chunk-YGOWIJPE.js → chunk-WZYGM3FR.js} +6 -2
- package/dist/chunk-Y6NFETNG.js +232 -0
- package/dist/{chunk-5KWDQFVY.js → chunk-YRNFMPZB.js} +7 -8
- package/dist/{chunk-ZS5IDQFJ.js → chunk-ZXMECZBI.js} +4 -4
- package/dist/{cli-IHVNE3WL.js → cli-GFDT4YXM.js} +14 -15
- package/dist/{cli-FSSYFCV3.js → cli-YWV7FLYO.js} +18 -12
- package/dist/cli.js +307 -47
- package/dist/{completion-ZTTJVV4C.js → completion-OKGNN7DE.js} +25 -23
- package/dist/{diagnostics-XC5L6Z3E.js → diagnostics-N4XRRCQG.js} +5 -5
- package/dist/{doctor-FGDSUBR3.js → doctor-3H6UYNEA.js} +20 -20
- package/dist/{entry-NNB2CQLZ.js → entry-KDLLG6ED.js} +9 -9
- package/dist/{exec-mcp-ZU3Z3XT6.js → exec-mcp-AENALAHJ.js} +8 -8
- package/dist/{harness-B7ANLH5M.js → harness-GRYTNUF2.js} +26 -44
- package/dist/harness-launch-gate.js +3 -3
- package/dist/harness-worker.js +5 -5
- package/dist/{heavy-IIZBO4YM.js → heavy-BGXKJKYB.js} +78 -22
- package/dist/hooks-V25ANQ4Q.js +24 -0
- package/dist/{host-XXWQ23LD.js → host-4EGPADOJ.js} +6 -6
- package/dist/{host-5P4D7GSE.js → host-MLSWY7D7.js} +17 -14
- package/dist/{host-run-AEWHFVQL.js → host-run-VI52IUKF.js} +5 -5
- package/dist/http.js +1 -1
- package/dist/{import-mcp-BQM5DKYH.js → import-mcp-FIXFLUDM.js} +11 -11
- package/dist/index.d.ts +1 -1
- package/dist/index.js +10 -9
- package/dist/init-ALTBFUPP.js +14 -0
- package/dist/{install-OFVLR7TI.js → install-5JH4DSFF.js} +10 -10
- package/dist/{invoke-3BQ5NG3P.js → invoke-7T7UY57O.js} +7 -7
- package/dist/{list-EU4MJOXA.js → list-JFZ7UZLV.js} +11 -11
- package/dist/{list-WWYCGD3X.js → list-LV5EKCF6.js} +11 -7
- package/dist/{logout-6DFDYJUI.js → logout-7CNBO76Z.js} +8 -8
- package/dist/{logs-BRF6DBKG.js → logs-2JEMSNSG.js} +7 -7
- package/dist/{mailbox-QYA2LQSE.js → mailbox-5FVFMQ2J.js} +6 -6
- package/dist/{mailbox-AQCTXO3H.js → mailbox-ZHZWZMAY.js} +14 -21
- package/dist/{mainline-O5AEHG3J.js → mainline-6PBT3VNR.js} +8 -7
- package/dist/{marketplace-TI5HFAHB.js → marketplace-2X3OOEPW.js} +10 -9
- package/dist/{mcp-HR5JFUW7.js → mcp-MVQVMAKJ.js} +4 -4
- package/dist/{mcp-4R53HSGY.js → mcp-PBTQ5SJW.js} +2 -2
- package/dist/{models-63NQBSV3.js → models-XSF45MCD.js} +9 -5
- package/dist/{pause-UF7FQDJX.js → pause-CMZOIHTJ.js} +3 -3
- package/dist/{preview-WSESS2UN.js → preview-465CQJBQ.js} +4 -4
- package/dist/{project-JXXL24WN.js → project-FZGJRG2U.js} +14 -12
- package/dist/{reindex-3GPKAFBW.js → reindex-D62HQAN2.js} +7 -7
- package/dist/{report-JUSKQPAC.js → report-UB7MXAUB.js} +10 -10
- package/dist/{resume-3WAROOQ3.js → resume-PAKIT4TT.js} +3 -3
- package/dist/{run-XRWU4L73.js → run-TOP37ZQC.js} +7 -7
- package/dist/run-VGJDMA2O.js +23 -0
- package/dist/{serve-OEX5V5CD.js → serve-LR7SJHNH.js} +13 -13
- package/dist/{session-YZVX4NGN.js → session-3YVVO2GR.js} +6 -6
- package/dist/{setup-SWNAC2C7.js → setup-6AQUOWOH.js} +3 -2
- package/dist/{smoke-5BGJXAHX.js → smoke-6X6IXQIQ.js} +4 -4
- package/dist/{start-login-MG26NDE3.js → start-login-X37KGCCB.js} +9 -9
- package/dist/{status-GKCIVAAR.js → status-4PYPTYUB.js} +4 -4
- package/dist/{status-APADL7O2.js → status-E4AFUOQO.js} +17 -10
- package/dist/{status-LH7Q255G.js → status-LBRK37GA.js} +27 -26
- package/dist/stdio.js +2 -2
- package/dist/{sweep-VTVPDAPY.js → sweep-VURZU6DI.js} +3 -3
- package/dist/{test-TK2J3IB7.js → test-D2EEFUN2.js} +11 -11
- package/dist/{tui-YTPHHKCW.js → tui-D7E3MD3X.js} +45 -19
- package/dist/{unbroadcast-CH7BAQ2G.js → unbroadcast-7AMLURCG.js} +3 -3
- package/dist/{validate-5QVZBE6W.js → validate-YXR7FJJX.js} +11 -9
- package/dist/{wait-4HYJJAWO.js → wait-HEODT7KV.js} +3 -3
- package/dist/{worker-RBXYAMR4.js → worker-WTBC6VYO.js} +7 -7
- package/dist/{worktree-create-FEZNQUQ6.js → worktree-create-FTSLMZWS.js} +2 -2
- package/docs/commands.md +64 -28
- package/docs/hooks.md +3 -3
- package/docs/project-configuration.md +33 -33
- package/docs/terminal-workspace.md +2 -0
- package/docs/upgrading.md +43 -0
- package/gemini-extension.json +2 -2
- package/mcp.json +1 -1
- package/package.json +5 -5
- package/plugin.json +1 -1
- package/plugins/pmcp/.claude-plugin/plugin.json +1 -1
- package/plugins/pmcp/.mcp.json +1 -1
- package/plugins/pmcp/gemini-extension.json +2 -2
- package/plugins/pmcp/mcp.json +1 -1
- package/plugins/pmcp/plugin.json +1 -1
- package/plugins/pmcp/skills/headless-agents-ci-scaffold/SKILL.md +1 -1
- package/plugins/pmcp/skills/pmcp-project-init/SKILL.md +1 -1
- package/plugins/pmcp/skills/pmcp-sessions-and-git/SKILL.md +3 -2
- package/skills/headless-agents-ci-scaffold/SKILL.md +1 -1
- package/skills/pmcp-project-init/SKILL.md +1 -1
- package/skills/pmcp-sessions-and-git/SKILL.md +3 -2
- package/dist/chunk-2P4Z2NUX.js +0 -28
- package/dist/chunk-3Y3HDMHA.js +0 -108
- package/dist/chunk-74O7KZUH.js +0 -45
- package/dist/chunk-BN4XAXMQ.js +0 -65
- package/dist/chunk-E3DQB5LS.js +0 -48
- package/dist/chunk-JWRZDYB5.js +0 -59
- package/dist/chunk-LMUBBIE2.js +0 -83
- package/dist/chunk-QBSJL3SP.js +0 -162
- package/dist/chunk-VSTUKACC.js +0 -7
- package/dist/chunk-WFY7ATSZ.js +0 -116
- package/dist/hooks-IEJTW7BV.js +0 -24
- package/dist/init-L6GUO3PW.js +0 -14
- package/dist/run-VUUQS4WY.js +0 -19
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
configFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7CHUMF3E.js";
|
|
4
4
|
import {
|
|
5
5
|
backupFiles
|
|
6
6
|
} from "./chunk-ANJMLKBR.js";
|
|
7
7
|
import {
|
|
8
8
|
readMcp
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WQBKQTNT.js";
|
|
10
10
|
import "./chunk-UYBWUOLR.js";
|
|
11
11
|
import "./chunk-UKR64U7J.js";
|
|
12
12
|
import "./chunk-42SO7KYX.js";
|
|
@@ -16,21 +16,21 @@ import "./chunk-LFFIQBNY.js";
|
|
|
16
16
|
import "./chunk-HQOB7OQS.js";
|
|
17
17
|
import "./chunk-73AKO4UL.js";
|
|
18
18
|
import "./chunk-M6X6HVQK.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-RZYZILU4.js";
|
|
20
20
|
import "./chunk-SUDG7B6S.js";
|
|
21
21
|
import "./chunk-3V37OZQH.js";
|
|
22
22
|
import "./chunk-Z6WRFOFT.js";
|
|
23
23
|
import "./chunk-B3OZ4GGO.js";
|
|
24
24
|
import "./chunk-Q5H3L6Y4.js";
|
|
25
25
|
import "./chunk-ARXCYFFZ.js";
|
|
26
|
-
import {
|
|
27
|
-
ArgumentError,
|
|
28
|
-
many
|
|
29
|
-
} from "./chunk-WFY7ATSZ.js";
|
|
30
26
|
import {
|
|
31
27
|
TOOLS
|
|
32
28
|
} from "./chunk-V4NPDK6X.js";
|
|
33
|
-
import
|
|
29
|
+
import {
|
|
30
|
+
ArgumentError,
|
|
31
|
+
many
|
|
32
|
+
} from "./chunk-Y6NFETNG.js";
|
|
33
|
+
import "./chunk-KYGGQPAH.js";
|
|
34
34
|
import "./chunk-FOLA4EUJ.js";
|
|
35
35
|
import "./chunk-N7ANFMA5.js";
|
|
36
36
|
import {
|
|
@@ -41,7 +41,7 @@ import "./chunk-FQLCD4HU.js";
|
|
|
41
41
|
import "./chunk-GUHOEIHP.js";
|
|
42
42
|
import "./chunk-IJBSOWHK.js";
|
|
43
43
|
import "./chunk-XWLMZKH2.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-7IRXUPM2.js";
|
|
45
45
|
import "./chunk-GJXOFDJT.js";
|
|
46
46
|
import "./chunk-PMJG2CXF.js";
|
|
47
47
|
import "./chunk-J6KL3COD.js";
|
|
@@ -373,7 +373,7 @@ function importMcp(context) {
|
|
|
373
373
|
throw new ArgumentError("import-mcp needs --source <tool>:<file>");
|
|
374
374
|
}
|
|
375
375
|
const plan = planMcpImport(config.path, sources, many(context.args, "name"));
|
|
376
|
-
context.ui.table(
|
|
376
|
+
context.ui.results.table(
|
|
377
377
|
plan.entries.map((entry) => [
|
|
378
378
|
`${entry.status} ${entry.alias}`,
|
|
379
379
|
entry.detail ?? entry.source
|
|
@@ -406,4 +406,4 @@ function importMcp(context) {
|
|
|
406
406
|
export {
|
|
407
407
|
importMcp
|
|
408
408
|
};
|
|
409
|
-
//# sourceMappingURL=import-mcp-
|
|
409
|
+
//# sourceMappingURL=import-mcp-FIXFLUDM.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -304,7 +304,7 @@ declare function resolveSkillFileUri(uri: string, entries: readonly SkillEntry[]
|
|
|
304
304
|
} | null;
|
|
305
305
|
|
|
306
306
|
declare const SERVER_NAME = "pmcp";
|
|
307
|
-
declare const SERVER_VERSION = "0.
|
|
307
|
+
declare const SERVER_VERSION = "0.23.1";
|
|
308
308
|
declare function registerSkillTools(server: McpServer, tools: SkillTools): McpServer;
|
|
309
309
|
interface SkillMcpOptions extends SkillServerOptions {
|
|
310
310
|
readonly mailbox?: MailboxService;
|
package/dist/index.js
CHANGED
|
@@ -4,26 +4,26 @@ import {
|
|
|
4
4
|
} from "./chunk-YOWIYFIV.js";
|
|
5
5
|
import {
|
|
6
6
|
doctor
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-6NRLBSEG.js";
|
|
8
|
+
import "./chunk-JJFPSFDU.js";
|
|
9
9
|
import "./chunk-JQVSDPFL.js";
|
|
10
10
|
import "./chunk-VJFEN6DJ.js";
|
|
11
11
|
import "./chunk-NHUMPEPV.js";
|
|
12
12
|
import "./chunk-TIA4SPU2.js";
|
|
13
13
|
import {
|
|
14
14
|
project
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZXMECZBI.js";
|
|
16
16
|
import "./chunk-ANJMLKBR.js";
|
|
17
17
|
import {
|
|
18
18
|
prepareSearch
|
|
19
19
|
} from "./chunk-NLHLA2N5.js";
|
|
20
20
|
import {
|
|
21
21
|
deadGlobs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-72V6U7CZ.js";
|
|
23
23
|
import {
|
|
24
24
|
plan,
|
|
25
25
|
readSpec
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-WQBKQTNT.js";
|
|
27
27
|
import "./chunk-UYBWUOLR.js";
|
|
28
28
|
import "./chunk-UKR64U7J.js";
|
|
29
29
|
import "./chunk-42SO7KYX.js";
|
|
@@ -33,7 +33,7 @@ import "./chunk-LFFIQBNY.js";
|
|
|
33
33
|
import "./chunk-HQOB7OQS.js";
|
|
34
34
|
import "./chunk-73AKO4UL.js";
|
|
35
35
|
import "./chunk-M6X6HVQK.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-RZYZILU4.js";
|
|
37
37
|
import "./chunk-SUDG7B6S.js";
|
|
38
38
|
import "./chunk-3V37OZQH.js";
|
|
39
39
|
import "./chunk-Z6WRFOFT.js";
|
|
@@ -43,6 +43,7 @@ import "./chunk-ARXCYFFZ.js";
|
|
|
43
43
|
import {
|
|
44
44
|
TOOLS
|
|
45
45
|
} from "./chunk-V4NPDK6X.js";
|
|
46
|
+
import "./chunk-Y6NFETNG.js";
|
|
46
47
|
import {
|
|
47
48
|
DEFAULT_INTENT_CACHE_LIMIT,
|
|
48
49
|
encodeEntries,
|
|
@@ -82,7 +83,7 @@ import {
|
|
|
82
83
|
registerSkillsExtension,
|
|
83
84
|
resolveSkillFileUri,
|
|
84
85
|
skillFileUri
|
|
85
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-2K4WYN4C.js";
|
|
86
87
|
import {
|
|
87
88
|
normaliseIntent
|
|
88
89
|
} from "./chunk-6WXMJOMI.js";
|
|
@@ -117,7 +118,7 @@ import {
|
|
|
117
118
|
import "./chunk-6STKGOCW.js";
|
|
118
119
|
import {
|
|
119
120
|
LOCK_FILE
|
|
120
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-KYGGQPAH.js";
|
|
121
122
|
import "./chunk-FOLA4EUJ.js";
|
|
122
123
|
import "./chunk-N7ANFMA5.js";
|
|
123
124
|
import {
|
|
@@ -129,7 +130,7 @@ import "./chunk-FQLCD4HU.js";
|
|
|
129
130
|
import "./chunk-GUHOEIHP.js";
|
|
130
131
|
import "./chunk-IJBSOWHK.js";
|
|
131
132
|
import "./chunk-XWLMZKH2.js";
|
|
132
|
-
import "./chunk-
|
|
133
|
+
import "./chunk-7IRXUPM2.js";
|
|
133
134
|
import {
|
|
134
135
|
CONFIG_FILE,
|
|
135
136
|
ConfigError,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
initSpec
|
|
3
|
+
} from "./chunk-E2E4HIEN.js";
|
|
4
|
+
import "./chunk-JPYQDOEW.js";
|
|
5
|
+
|
|
6
|
+
// src/commands/init.ts
|
|
7
|
+
var initCommand = {
|
|
8
|
+
...initSpec,
|
|
9
|
+
run: async (context) => (await import("./run-TOP37ZQC.js")).run(context)
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
initCommand
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=init-ALTBFUPP.js.map
|
|
@@ -13,21 +13,21 @@ import {
|
|
|
13
13
|
catalogProvider,
|
|
14
14
|
projectFrom,
|
|
15
15
|
remoteCatalog
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HYXOJYVR.js";
|
|
17
17
|
import {
|
|
18
18
|
readSession
|
|
19
19
|
} from "./chunk-RMATE45Z.js";
|
|
20
|
-
import {
|
|
21
|
-
invocation
|
|
22
|
-
} from "./chunk-J7UYNJCR.js";
|
|
23
20
|
import "./chunk-73AKO4UL.js";
|
|
24
21
|
import {
|
|
25
22
|
installSpec,
|
|
26
23
|
syncSpec
|
|
27
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-WBPVNCQO.js";
|
|
25
|
+
import {
|
|
26
|
+
invocation
|
|
27
|
+
} from "./chunk-J7UYNJCR.js";
|
|
28
28
|
import {
|
|
29
29
|
ArgumentError
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-Y6NFETNG.js";
|
|
31
31
|
import "./chunk-4CRRLDDS.js";
|
|
32
32
|
import "./chunk-YSAWTGNA.js";
|
|
33
33
|
|
|
@@ -351,7 +351,7 @@ import { createInterface } from "readline/promises";
|
|
|
351
351
|
async function approve(context) {
|
|
352
352
|
if (!process.stdin.isTTY || !process.stderr.isTTY || context.args.flags.has("json")) {
|
|
353
353
|
throw new ArgumentError(
|
|
354
|
-
"use --yes to apply non-interactively or --dry-run to inspect the plan"
|
|
354
|
+
"use --yes (-y) to apply non-interactively or --dry-run to inspect the plan"
|
|
355
355
|
);
|
|
356
356
|
}
|
|
357
357
|
const prompt = createInterface({
|
|
@@ -378,9 +378,9 @@ function reportPlan(context, operation) {
|
|
|
378
378
|
if (!context.args.flags.has("json")) {
|
|
379
379
|
context.ui.info("project", project);
|
|
380
380
|
for (const entry of plan.changes)
|
|
381
|
-
context.ui.line(` ${entry.packageName}@${entry.version}`);
|
|
381
|
+
context.ui.results.line(` ${entry.packageName}@${entry.version}`);
|
|
382
382
|
if (plan.changes.length)
|
|
383
|
-
context.ui.line(
|
|
383
|
+
context.ui.results.line(
|
|
384
384
|
` ${plan.command.executable} ${plan.command.args.join(" ")}`
|
|
385
385
|
);
|
|
386
386
|
for (const entry of plan.recalled) {
|
|
@@ -803,4 +803,4 @@ export {
|
|
|
803
803
|
installCommand,
|
|
804
804
|
syncCommand
|
|
805
805
|
};
|
|
806
|
-
//# sourceMappingURL=install-
|
|
806
|
+
//# sourceMappingURL=install-5JH4DSFF.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
invoke
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-P25V6NEX.js";
|
|
4
4
|
import "./chunk-DZ2MRTYT.js";
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-DZTSCJOZ.js";
|
|
6
|
+
import "./chunk-SDQYZDHS.js";
|
|
7
7
|
import "./chunk-R2GPCZUX.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-LO54UUDE.js";
|
|
9
9
|
import "./chunk-34DECPVC.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-KYGGQPAH.js";
|
|
11
11
|
import "./chunk-FOLA4EUJ.js";
|
|
12
12
|
import "./chunk-N7ANFMA5.js";
|
|
13
13
|
import "./chunk-TYY5TYHF.js";
|
|
@@ -16,7 +16,7 @@ import "./chunk-FQLCD4HU.js";
|
|
|
16
16
|
import "./chunk-GUHOEIHP.js";
|
|
17
17
|
import "./chunk-IJBSOWHK.js";
|
|
18
18
|
import "./chunk-XWLMZKH2.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-7IRXUPM2.js";
|
|
20
20
|
import "./chunk-GJXOFDJT.js";
|
|
21
21
|
import "./chunk-PMJG2CXF.js";
|
|
22
22
|
import "./chunk-ITDJ2EXN.js";
|
|
@@ -26,4 +26,4 @@ import "./chunk-J6KL3COD.js";
|
|
|
26
26
|
export {
|
|
27
27
|
invoke
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=invoke-
|
|
29
|
+
//# sourceMappingURL=invoke-7T7UY57O.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
specFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YRNFMPZB.js";
|
|
4
4
|
import {
|
|
5
5
|
policyRows
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5HNLHI5F.js";
|
|
7
7
|
import "./chunk-7TD53M7L.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-7CHUMF3E.js";
|
|
9
|
+
import "./chunk-WQBKQTNT.js";
|
|
10
10
|
import "./chunk-UYBWUOLR.js";
|
|
11
11
|
import "./chunk-UKR64U7J.js";
|
|
12
12
|
import "./chunk-42SO7KYX.js";
|
|
@@ -16,7 +16,7 @@ import "./chunk-LFFIQBNY.js";
|
|
|
16
16
|
import "./chunk-HQOB7OQS.js";
|
|
17
17
|
import "./chunk-73AKO4UL.js";
|
|
18
18
|
import "./chunk-M6X6HVQK.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-RZYZILU4.js";
|
|
20
20
|
import "./chunk-SUDG7B6S.js";
|
|
21
21
|
import "./chunk-3V37OZQH.js";
|
|
22
22
|
import "./chunk-Z6WRFOFT.js";
|
|
@@ -25,12 +25,12 @@ import "./chunk-Q5H3L6Y4.js";
|
|
|
25
25
|
import {
|
|
26
26
|
RUNTIME_IDS
|
|
27
27
|
} from "./chunk-ARXCYFFZ.js";
|
|
28
|
+
import "./chunk-V4NPDK6X.js";
|
|
28
29
|
import {
|
|
29
30
|
ArgumentError,
|
|
30
31
|
one
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-733WVP2R.js";
|
|
32
|
+
} from "./chunk-Y6NFETNG.js";
|
|
33
|
+
import "./chunk-KYGGQPAH.js";
|
|
34
34
|
import "./chunk-FOLA4EUJ.js";
|
|
35
35
|
import "./chunk-N7ANFMA5.js";
|
|
36
36
|
import "./chunk-TYY5TYHF.js";
|
|
@@ -39,7 +39,7 @@ import "./chunk-FQLCD4HU.js";
|
|
|
39
39
|
import "./chunk-GUHOEIHP.js";
|
|
40
40
|
import "./chunk-IJBSOWHK.js";
|
|
41
41
|
import "./chunk-XWLMZKH2.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-7IRXUPM2.js";
|
|
43
43
|
import "./chunk-GJXOFDJT.js";
|
|
44
44
|
import "./chunk-PMJG2CXF.js";
|
|
45
45
|
import "./chunk-J6KL3COD.js";
|
|
@@ -61,7 +61,7 @@ function run(context) {
|
|
|
61
61
|
context.ui.data(JSON.stringify({ version: 1, policies: rows }) + "\n");
|
|
62
62
|
return 0;
|
|
63
63
|
}
|
|
64
|
-
if (!rows.length) context.ui.line("No compiled policies.");
|
|
64
|
+
if (!rows.length) context.ui.results.line("No compiled policies.");
|
|
65
65
|
for (const row of rows)
|
|
66
66
|
context.ui.data(
|
|
67
67
|
[row.runtime, row.event, row.policy, row.mode, row.source].join(" ") + "\n"
|
|
@@ -71,4 +71,4 @@ function run(context) {
|
|
|
71
71
|
export {
|
|
72
72
|
run
|
|
73
73
|
};
|
|
74
|
-
//# sourceMappingURL=list-
|
|
74
|
+
//# sourceMappingURL=list-JFZ7UZLV.js.map
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
catalogFrom,
|
|
3
3
|
rootsFrom
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-2MX5C7B2.js";
|
|
5
|
+
import "./chunk-7CHUMF3E.js";
|
|
6
6
|
import "./chunk-73AKO4UL.js";
|
|
7
7
|
import {
|
|
8
8
|
listSpec
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import
|
|
9
|
+
} from "./chunk-7DJQASH3.js";
|
|
10
|
+
import "./chunk-5NDUWEMW.js";
|
|
11
|
+
import {
|
|
12
|
+
ArgumentError
|
|
13
|
+
} from "./chunk-Y6NFETNG.js";
|
|
12
14
|
import "./chunk-4CRRLDDS.js";
|
|
13
15
|
import "./chunk-YSAWTGNA.js";
|
|
14
16
|
import "./chunk-GJXOFDJT.js";
|
|
@@ -18,6 +20,8 @@ import "./chunk-PMJG2CXF.js";
|
|
|
18
20
|
var listCommand = {
|
|
19
21
|
...listSpec,
|
|
20
22
|
run(context) {
|
|
23
|
+
if (context.args.positional.length > 0)
|
|
24
|
+
throw new ArgumentError(`unexpected ${context.args.positional[0]}`);
|
|
21
25
|
const rejected = [];
|
|
22
26
|
const entries = catalogFrom(
|
|
23
27
|
context,
|
|
@@ -36,7 +40,7 @@ var listCommand = {
|
|
|
36
40
|
context.ui.error("no skills found", rootsFrom(context).join(" "));
|
|
37
41
|
return 1;
|
|
38
42
|
}
|
|
39
|
-
context.ui.table(
|
|
43
|
+
context.ui.results.table(
|
|
40
44
|
entries.map((entry) => {
|
|
41
45
|
const tags = [entry.kind, entry.tier].filter(Boolean).join(", ");
|
|
42
46
|
return [
|
|
@@ -65,4 +69,4 @@ var listCommand = {
|
|
|
65
69
|
export {
|
|
66
70
|
listCommand
|
|
67
71
|
};
|
|
68
|
-
//# sourceMappingURL=list-
|
|
72
|
+
//# sourceMappingURL=list-LV5EKCF6.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
serverFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RRKA3GF5.js";
|
|
4
4
|
import {
|
|
5
5
|
logout
|
|
6
6
|
} from "./chunk-E2YOZ2FF.js";
|
|
7
7
|
import "./chunk-DZ2MRTYT.js";
|
|
8
8
|
import "./chunk-UPQTAHUK.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-7CHUMF3E.js";
|
|
10
|
+
import "./chunk-WQBKQTNT.js";
|
|
11
11
|
import "./chunk-UYBWUOLR.js";
|
|
12
12
|
import "./chunk-UKR64U7J.js";
|
|
13
13
|
import "./chunk-42SO7KYX.js";
|
|
@@ -17,16 +17,16 @@ import "./chunk-LFFIQBNY.js";
|
|
|
17
17
|
import "./chunk-HQOB7OQS.js";
|
|
18
18
|
import "./chunk-73AKO4UL.js";
|
|
19
19
|
import "./chunk-M6X6HVQK.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-RZYZILU4.js";
|
|
21
21
|
import "./chunk-SUDG7B6S.js";
|
|
22
22
|
import "./chunk-3V37OZQH.js";
|
|
23
23
|
import "./chunk-Z6WRFOFT.js";
|
|
24
24
|
import "./chunk-B3OZ4GGO.js";
|
|
25
25
|
import "./chunk-Q5H3L6Y4.js";
|
|
26
26
|
import "./chunk-ARXCYFFZ.js";
|
|
27
|
-
import "./chunk-WFY7ATSZ.js";
|
|
28
27
|
import "./chunk-V4NPDK6X.js";
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-Y6NFETNG.js";
|
|
29
|
+
import "./chunk-KYGGQPAH.js";
|
|
30
30
|
import "./chunk-FOLA4EUJ.js";
|
|
31
31
|
import "./chunk-N7ANFMA5.js";
|
|
32
32
|
import "./chunk-TYY5TYHF.js";
|
|
@@ -35,7 +35,7 @@ import "./chunk-FQLCD4HU.js";
|
|
|
35
35
|
import "./chunk-GUHOEIHP.js";
|
|
36
36
|
import "./chunk-IJBSOWHK.js";
|
|
37
37
|
import "./chunk-XWLMZKH2.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-7IRXUPM2.js";
|
|
39
39
|
import "./chunk-GJXOFDJT.js";
|
|
40
40
|
import "./chunk-PMJG2CXF.js";
|
|
41
41
|
import "./chunk-J6KL3COD.js";
|
|
@@ -50,4 +50,4 @@ async function run(context) {
|
|
|
50
50
|
export {
|
|
51
51
|
run
|
|
52
52
|
};
|
|
53
|
-
//# sourceMappingURL=logout-
|
|
53
|
+
//# sourceMappingURL=logout-7CNBO76Z.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-MHKY6TNF.js";
|
|
10
10
|
import {
|
|
11
11
|
configFrom
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7CHUMF3E.js";
|
|
13
13
|
import {
|
|
14
14
|
isLogLevel
|
|
15
15
|
} from "./chunk-HQOB7OQS.js";
|
|
@@ -17,12 +17,13 @@ import "./chunk-3V37OZQH.js";
|
|
|
17
17
|
import "./chunk-Z6WRFOFT.js";
|
|
18
18
|
import {
|
|
19
19
|
logsSpec
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-WZYGM3FR.js";
|
|
21
|
+
import "./chunk-JPYQDOEW.js";
|
|
22
22
|
import {
|
|
23
23
|
ArgumentError,
|
|
24
|
+
noConfig,
|
|
24
25
|
one
|
|
25
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-Y6NFETNG.js";
|
|
26
27
|
import "./chunk-FQLCD4HU.js";
|
|
27
28
|
import "./chunk-GUHOEIHP.js";
|
|
28
29
|
import "./chunk-IJBSOWHK.js";
|
|
@@ -93,8 +94,7 @@ async function runLogs(context, location) {
|
|
|
93
94
|
// src/commands/logs.ts
|
|
94
95
|
function run(context) {
|
|
95
96
|
const config = configFrom(context);
|
|
96
|
-
if (!config)
|
|
97
|
-
throw new ArgumentError("no pmcp.toml here or above; pass --config");
|
|
97
|
+
if (!config) throw noConfig();
|
|
98
98
|
const location = logLocation(config, context.env);
|
|
99
99
|
if (!context.args.flags.has("json") && !location.file)
|
|
100
100
|
pruneLogs(location.dir, location.keepDays);
|
|
@@ -104,4 +104,4 @@ var logsCommand = { ...logsSpec, run };
|
|
|
104
104
|
export {
|
|
105
105
|
logsCommand
|
|
106
106
|
};
|
|
107
|
-
//# sourceMappingURL=logs-
|
|
107
|
+
//# sourceMappingURL=logs-2JEMSNSG.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-65BW7Y6O.js";
|
|
4
4
|
import {
|
|
5
5
|
storeFrom
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HES44LTA.js";
|
|
7
7
|
import {
|
|
8
8
|
pmcpCommand
|
|
9
9
|
} from "./chunk-EATCUWGG.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
ArgumentError,
|
|
24
24
|
many,
|
|
25
25
|
one
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-Y6NFETNG.js";
|
|
27
27
|
import "./chunk-FQLCD4HU.js";
|
|
28
28
|
import "./chunk-GUHOEIHP.js";
|
|
29
29
|
import "./chunk-IJBSOWHK.js";
|
|
@@ -147,7 +147,7 @@ function print(context, value, line) {
|
|
|
147
147
|
if (context.args.flags.has("json"))
|
|
148
148
|
context.ui.data(`${JSON.stringify(value, null, 2)}
|
|
149
149
|
`);
|
|
150
|
-
else context.ui.line(line);
|
|
150
|
+
else context.ui.results.line(line);
|
|
151
151
|
}
|
|
152
152
|
async function sent(context, store, to, replyTo) {
|
|
153
153
|
const me = caller(context, store);
|
|
@@ -219,11 +219,11 @@ function inbox(context) {
|
|
|
219
219
|
`);
|
|
220
220
|
return 0;
|
|
221
221
|
}
|
|
222
|
-
if (rows.length === 0) context.ui.line("no messages");
|
|
222
|
+
if (rows.length === 0) context.ui.results.line("no messages");
|
|
223
223
|
for (const row of rows) {
|
|
224
224
|
const subject = row.subject ? ` (${row.subject})` : "";
|
|
225
225
|
const once = row.once ? " [once]" : "";
|
|
226
|
-
context.ui.line(
|
|
226
|
+
context.ui.results.line(
|
|
227
227
|
`${row.id} from ${sender(row)} to ${row.to.join(", ")}${subject}${once}: ${row.body}`
|
|
228
228
|
);
|
|
229
229
|
}
|
|
@@ -249,4 +249,4 @@ export {
|
|
|
249
249
|
reply,
|
|
250
250
|
send
|
|
251
251
|
};
|
|
252
|
-
//# sourceMappingURL=mailbox-
|
|
252
|
+
//# sourceMappingURL=mailbox-5FVFMQ2J.js.map
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
configFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7CHUMF3E.js";
|
|
4
4
|
import {
|
|
5
5
|
mailboxSpec
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-2HL2MFNI.js";
|
|
7
|
+
import "./chunk-JPYQDOEW.js";
|
|
8
8
|
import {
|
|
9
9
|
ArgumentError,
|
|
10
|
-
one
|
|
11
|
-
|
|
10
|
+
one,
|
|
11
|
+
unknownSubcommand
|
|
12
|
+
} from "./chunk-Y6NFETNG.js";
|
|
12
13
|
import {
|
|
13
14
|
MailboxError,
|
|
14
15
|
MailboxService,
|
|
@@ -31,19 +32,9 @@ import "./chunk-PMJG2CXF.js";
|
|
|
31
32
|
// src/commands/mailbox.ts
|
|
32
33
|
import { readFileSync, writeFileSync } from "fs";
|
|
33
34
|
import { resolve } from "path";
|
|
34
|
-
var allowed =
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
rotate: ["config", "actor", "actor-file", "operator"],
|
|
38
|
-
send: ["config", "actor-file", "binding-file", "input"],
|
|
39
|
-
inbox: ["config", "actor-file", "binding-file", "input"],
|
|
40
|
-
read: ["config", "actor-file", "binding-file", "input"],
|
|
41
|
-
ack: ["config", "actor-file", "binding-file", "input"],
|
|
42
|
-
sessions: ["config", "actor-file", "binding-file"],
|
|
43
|
-
export: ["config", "operator", "output", "scope-actor"],
|
|
44
|
-
backup: ["config", "operator", "output"],
|
|
45
|
-
restore: ["config", "operator", "input", "output"]
|
|
46
|
-
};
|
|
35
|
+
var allowed = Object.fromEntries(
|
|
36
|
+
(mailboxSpec.subcommands ?? []).map((sub) => [sub.name, sub.options ?? []])
|
|
37
|
+
);
|
|
47
38
|
function required(context, name) {
|
|
48
39
|
const value = one(context.args, name);
|
|
49
40
|
if (!value) throw new ArgumentError(`Provide --${name}`);
|
|
@@ -54,8 +45,10 @@ var mailboxCommand = {
|
|
|
54
45
|
async run(context) {
|
|
55
46
|
const [verb, ...extra] = context.args.positional;
|
|
56
47
|
const supported = verb ? allowed[verb] : void 0;
|
|
57
|
-
if (!supported
|
|
58
|
-
throw
|
|
48
|
+
if (!supported)
|
|
49
|
+
throw unknownSubcommand("mailbox", verb, Object.keys(allowed));
|
|
50
|
+
if (extra.length > 0)
|
|
51
|
+
throw new ArgumentError(`unexpected ${extra.join(" ")}`);
|
|
59
52
|
for (const key of [...context.args.options.keys(), ...context.args.flags]) {
|
|
60
53
|
if (!supported.includes(key))
|
|
61
54
|
throw new ArgumentError(`--${key} is not supported by mailbox ${verb}`);
|
|
@@ -186,4 +179,4 @@ var mailboxCommand = {
|
|
|
186
179
|
export {
|
|
187
180
|
mailboxCommand
|
|
188
181
|
};
|
|
189
|
-
//# sourceMappingURL=mailbox-
|
|
182
|
+
//# sourceMappingURL=mailbox-ZHZWZMAY.js.map
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
import {
|
|
37
37
|
gateTreePath,
|
|
38
38
|
leaseSpecs
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-RZYZILU4.js";
|
|
40
40
|
import {
|
|
41
41
|
detect
|
|
42
42
|
} from "./chunk-SUDG7B6S.js";
|
|
@@ -51,6 +51,7 @@ import {
|
|
|
51
51
|
runCommand,
|
|
52
52
|
runCommandLogged
|
|
53
53
|
} from "./chunk-B3OZ4GGO.js";
|
|
54
|
+
import "./chunk-Y6NFETNG.js";
|
|
54
55
|
import {
|
|
55
56
|
BUSY_EXIT
|
|
56
57
|
} from "./chunk-FOLA4EUJ.js";
|
|
@@ -376,7 +377,7 @@ function attempts(options) {
|
|
|
376
377
|
if (options.track) options.track.attempts = attempt;
|
|
377
378
|
if (!fetch(ctx)) {
|
|
378
379
|
report.warn(`fetch from ${ctx.remote} failed`);
|
|
379
|
-
return
|
|
380
|
+
return 1;
|
|
380
381
|
}
|
|
381
382
|
const commits = undelivered(ctx.root, ctx.upstream, options.named);
|
|
382
383
|
if (commits.length === 0) {
|
|
@@ -573,7 +574,7 @@ function deliver(options) {
|
|
|
573
574
|
} catch (error) {
|
|
574
575
|
if (!(error instanceof GitReadError)) throw error;
|
|
575
576
|
report.warn(error.message);
|
|
576
|
-
return
|
|
577
|
+
return 1;
|
|
577
578
|
}
|
|
578
579
|
});
|
|
579
580
|
options.onReceipt?.({
|
|
@@ -606,7 +607,7 @@ function deliverOnce(options) {
|
|
|
606
607
|
}
|
|
607
608
|
if (!fetch(ctx)) {
|
|
608
609
|
report.warn(`fetch from ${ctx.remote} failed`);
|
|
609
|
-
return
|
|
610
|
+
return 1;
|
|
610
611
|
}
|
|
611
612
|
const commits = undelivered(ctx.root, ctx.upstream, options.named);
|
|
612
613
|
const touched = touchedPaths(ctx.root, commits);
|
|
@@ -878,7 +879,7 @@ function syncMainline(options) {
|
|
|
878
879
|
} catch (error) {
|
|
879
880
|
if (!(error instanceof GitReadError)) throw error;
|
|
880
881
|
options.report.warn(error.message);
|
|
881
|
-
return
|
|
882
|
+
return 1;
|
|
882
883
|
}
|
|
883
884
|
});
|
|
884
885
|
}
|
|
@@ -905,7 +906,7 @@ function syncOnce(options) {
|
|
|
905
906
|
}
|
|
906
907
|
if (git(ctx.root, ["fetch", "-q", ctx.remote, ctx.mainline]).status !== 0) {
|
|
907
908
|
report.warn(`fetch from ${ctx.remote} failed`);
|
|
908
|
-
return
|
|
909
|
+
return 1;
|
|
909
910
|
}
|
|
910
911
|
const { carried, missing } = cherry(ctx.root, ctx.upstream);
|
|
911
912
|
if (missing.length > 0) {
|
|
@@ -1109,4 +1110,4 @@ export {
|
|
|
1109
1110
|
mainlineDeliver,
|
|
1110
1111
|
mainlineSync
|
|
1111
1112
|
};
|
|
1112
|
-
//# sourceMappingURL=mainline-
|
|
1113
|
+
//# sourceMappingURL=mainline-6PBT3VNR.js.map
|
|
@@ -3,11 +3,12 @@ import {
|
|
|
3
3
|
} from "./chunk-73AKO4UL.js";
|
|
4
4
|
import {
|
|
5
5
|
marketplaceSpec
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JANBBPKP.js";
|
|
7
7
|
import {
|
|
8
8
|
ArgumentError,
|
|
9
|
-
one
|
|
10
|
-
|
|
9
|
+
one,
|
|
10
|
+
unknownSubcommand
|
|
11
|
+
} from "./chunk-Y6NFETNG.js";
|
|
11
12
|
import {
|
|
12
13
|
containedPath,
|
|
13
14
|
readLocalMarketplace
|
|
@@ -148,7 +149,7 @@ var marketplaceCommand = {
|
|
|
148
149
|
);
|
|
149
150
|
return 0;
|
|
150
151
|
}
|
|
151
|
-
context.ui.table(
|
|
152
|
+
context.ui.results.table(
|
|
152
153
|
plugins.map((plugin) => [
|
|
153
154
|
plugin.name,
|
|
154
155
|
String(plugin.description ?? "")
|
|
@@ -156,10 +157,10 @@ var marketplaceCommand = {
|
|
|
156
157
|
);
|
|
157
158
|
return 0;
|
|
158
159
|
}
|
|
159
|
-
if (verb !== "export"
|
|
160
|
-
throw
|
|
161
|
-
|
|
162
|
-
);
|
|
160
|
+
if (verb !== "export")
|
|
161
|
+
throw unknownSubcommand("marketplace", verb, ["list", "export"]);
|
|
162
|
+
if (!name || extra.length)
|
|
163
|
+
throw new ArgumentError("marketplace export takes exactly one plugin");
|
|
163
164
|
const output = one(context.args, "output");
|
|
164
165
|
if (!output)
|
|
165
166
|
throw new ArgumentError("Provide --output for the exported plugin");
|
|
@@ -188,4 +189,4 @@ var marketplaceCommand = {
|
|
|
188
189
|
export {
|
|
189
190
|
marketplaceCommand
|
|
190
191
|
};
|
|
191
|
-
//# sourceMappingURL=marketplace-
|
|
192
|
+
//# sourceMappingURL=marketplace-2X3OOEPW.js.map
|