harnesstap 1.3.2 → 1.4.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 +2 -0
- package/dist/apply-SUNDXRJ3.js +54 -0
- package/dist/{approve-L7IFSYBO.js → approve-FBGYQGWN.js} +14 -15
- package/dist/{approve-L7IFSYBO.js.map → approve-FBGYQGWN.js.map} +1 -1
- package/dist/{audit-PBJDK7A4.js → audit-VI4QZ6X2.js} +30 -39
- package/dist/{audit-PBJDK7A4.js.map → audit-VI4QZ6X2.js.map} +1 -1
- package/dist/{auth-OM73RLNS.js → auth-4CQCDS2W.js} +17 -19
- package/dist/{auth-OM73RLNS.js.map → auth-4CQCDS2W.js.map} +1 -1
- package/dist/bin.js +3 -3
- package/dist/{chunk-YRGM7RAD.js → chunk-23XSG7LI.js} +7 -11
- package/dist/{chunk-YRGM7RAD.js.map → chunk-23XSG7LI.js.map} +1 -1
- package/dist/{chunk-LDVXYN6F.js → chunk-2A36HWDE.js} +63 -13
- package/dist/chunk-2A36HWDE.js.map +1 -0
- package/dist/{chunk-QNAIDM6W.js → chunk-3FS775NP.js} +51 -4
- package/dist/chunk-3FS775NP.js.map +1 -0
- package/dist/{chunk-XCPWLGPB.js → chunk-3P6BWL5F.js} +2 -2
- package/dist/{chunk-JJJJ2RAD.js → chunk-43BDGVN3.js} +19 -6
- package/dist/chunk-43BDGVN3.js.map +1 -0
- package/dist/{chunk-CZ4T75PP.js → chunk-4ZQ2SCGY.js} +146 -78
- package/dist/chunk-4ZQ2SCGY.js.map +1 -0
- package/dist/{chunk-ZVANUFPF.js → chunk-6LTLYV5D.js} +353 -267
- package/dist/chunk-6LTLYV5D.js.map +1 -0
- package/dist/{chunk-OPVIX7E4.js → chunk-73OJQTBW.js} +6 -2
- package/dist/chunk-73OJQTBW.js.map +1 -0
- package/dist/{chunk-WXRPQICX.js → chunk-7HP6AAI3.js} +2 -2
- package/dist/{chunk-ENHDEB7Z.js → chunk-BPWFQKI5.js} +5 -7
- package/dist/{chunk-ENHDEB7Z.js.map → chunk-BPWFQKI5.js.map} +1 -1
- package/dist/{chunk-64R32MG2.js → chunk-D432JAXV.js} +44 -19
- package/dist/chunk-D432JAXV.js.map +1 -0
- package/dist/chunk-DF4Z7LAD.js +3463 -0
- package/dist/chunk-DF4Z7LAD.js.map +1 -0
- package/dist/{chunk-FUV7QYBS.js → chunk-EOPFER6N.js} +71 -318
- package/dist/chunk-EOPFER6N.js.map +1 -0
- package/dist/chunk-G6WKY2W4.js +389 -0
- package/dist/chunk-G6WKY2W4.js.map +1 -0
- package/dist/{chunk-IHW4PCDT.js → chunk-GRASK6M6.js} +5 -5
- package/dist/{chunk-R4PTE774.js → chunk-IE7B6Q5K.js} +33 -39
- package/dist/chunk-IE7B6Q5K.js.map +1 -0
- package/dist/{chunk-UNRR4KH5.js → chunk-IMROMZ2K.js} +6 -5
- package/dist/{chunk-UNRR4KH5.js.map → chunk-IMROMZ2K.js.map} +1 -1
- package/dist/{chunk-G5RWVZZ7.js → chunk-L6YZE5MY.js} +3 -3
- package/dist/{chunk-SNVAMWB7.js → chunk-M2U3J7UX.js} +7 -1
- package/dist/chunk-M2U3J7UX.js.map +1 -0
- package/dist/{chunk-AFKCNFPP.js → chunk-M4KLHJ6U.js} +16 -13
- package/dist/chunk-M4KLHJ6U.js.map +1 -0
- package/dist/{chunk-XRXFJTAT.js → chunk-MR7IOHSX.js} +16 -19
- package/dist/chunk-MR7IOHSX.js.map +1 -0
- package/dist/{chunk-UEHDEADL.js → chunk-N3VGY3T3.js} +15 -15
- package/dist/chunk-N3VGY3T3.js.map +1 -0
- package/dist/{chunk-IKAGGJEO.js → chunk-N3ZCH64F.js} +496 -10
- package/dist/chunk-N3ZCH64F.js.map +1 -0
- package/dist/{chunk-U472S6IB.js → chunk-OML4HXKT.js} +20 -22
- package/dist/chunk-OML4HXKT.js.map +1 -0
- package/dist/{chunk-3EGM4IUI.js → chunk-P2C7JPLD.js} +3 -3
- package/dist/{chunk-MFCZN253.js → chunk-PCMON7Y2.js} +7 -7
- package/dist/{chunk-FBYAIBHP.js → chunk-PNGF5EV2.js} +2 -2
- package/dist/{chunk-6JMVGKMD.js → chunk-QA5U36JN.js} +187 -203
- package/dist/chunk-QA5U36JN.js.map +1 -0
- package/dist/{chunk-AVZOFMJX.js → chunk-R7ZOYVN3.js} +241 -126
- package/dist/chunk-R7ZOYVN3.js.map +1 -0
- package/dist/{chunk-YVJQ2QDG.js → chunk-RDG5DT7S.js} +45 -49
- package/dist/{chunk-YVJQ2QDG.js.map → chunk-RDG5DT7S.js.map} +1 -1
- package/dist/{chunk-VQVUJYYY.js → chunk-REHRUNBB.js} +8 -3
- package/dist/chunk-REHRUNBB.js.map +1 -0
- package/dist/{chunk-Y2JGMICO.js → chunk-RFQ3N7FB.js} +19 -29
- package/dist/chunk-RFQ3N7FB.js.map +1 -0
- package/dist/{chunk-EY4ES5MG.js → chunk-RVEXPMM3.js} +3 -3
- package/dist/{chunk-6I3RY6R5.js → chunk-TPEJFLV7.js} +13 -15
- package/dist/{chunk-6I3RY6R5.js.map → chunk-TPEJFLV7.js.map} +1 -1
- package/dist/{chunk-IAZNF35S.js → chunk-U6DXASQP.js} +2 -2
- package/dist/{chunk-OQ4KBUN2.js → chunk-ULCD6DJE.js} +30 -8
- package/dist/chunk-ULCD6DJE.js.map +1 -0
- package/dist/{chunk-BXSS2S4W.js → chunk-UVVZHWD2.js} +2 -2
- package/dist/{chunk-24V5ZSIF.js → chunk-WG5A6EAU.js} +269 -13
- package/dist/chunk-WG5A6EAU.js.map +1 -0
- package/dist/{chunk-LGWUTV5Q.js → chunk-WGP4GUYZ.js} +10 -10
- package/dist/{chunk-GWQVYGRD.js → chunk-XTVGCVU4.js} +124 -83
- package/dist/chunk-XTVGCVU4.js.map +1 -0
- package/dist/{chunk-YX7MVSDA.js → chunk-XUJKZQZA.js} +8 -8
- package/dist/chunk-XUJKZQZA.js.map +1 -0
- package/dist/chunk-ZUASVASP.js +30317 -0
- package/dist/chunk-ZUASVASP.js.map +1 -0
- package/dist/{compile-SDOASKGL.js → compile-GXADKGH5.js} +37 -50
- package/dist/{compile-SDOASKGL.js.map → compile-GXADKGH5.js.map} +1 -1
- package/dist/{config-4VZTVZKF.js → config-JMHNA2U5.js} +22 -35
- package/dist/{config-4VZTVZKF.js.map → config-JMHNA2U5.js.map} +1 -1
- package/dist/cursor-local-install-46RWRBDT.js +98 -0
- package/dist/cursor-local-install-46RWRBDT.js.map +1 -0
- package/dist/{doctor-HH6CFBRQ.js → doctor-N7ZULPOL.js} +18 -19
- package/dist/{doctor-HH6CFBRQ.js.map → doctor-N7ZULPOL.js.map} +1 -1
- package/dist/{environment-K7YMJJYN.js → environment-OBB3WU5B.js} +60 -71
- package/dist/{environment-K7YMJJYN.js.map → environment-OBB3WU5B.js.map} +1 -1
- package/dist/{github-A6TYG7WS.js → github-PBYBGOLH.js} +17 -17
- package/dist/{harness-772XBFZQ.js → harness-7KYATIV6.js} +56 -67
- package/dist/{harness-772XBFZQ.js.map → harness-7KYATIV6.js.map} +1 -1
- package/dist/{help-QR4VTJZU.js → help-EE3AJQD4.js} +48 -52
- package/dist/help-EE3AJQD4.js.map +1 -0
- package/dist/{help-TLHNRJJ6.js → help-VXWKLQ6A.js} +55 -15
- package/dist/help-VXWKLQ6A.js.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +16 -24
- package/dist/{init-AOKFPZHG.js → init-LBTMPDVJ.js} +43 -56
- package/dist/init-LBTMPDVJ.js.map +1 -0
- package/dist/live-read-cache-TUSP7U3D.js +10 -0
- package/dist/{lock-INAXNLMC.js → lock-WLJRXRVK.js} +16 -16
- package/dist/{marketplace-TUVLLPBG.js → marketplace-GXSV6QIY.js} +62 -28
- package/dist/marketplace-GXSV6QIY.js.map +1 -0
- package/dist/{mcp-MMWGRASN.js → mcp-XPDWWU75.js} +35 -48
- package/dist/{mcp-MMWGRASN.js.map → mcp-XPDWWU75.js.map} +1 -1
- package/dist/{migrate-55S4XODX.js → migrate-SBUIWN3U.js} +79 -64
- package/dist/migrate-SBUIWN3U.js.map +1 -0
- package/dist/open-HDGLYYVU.js +24 -0
- package/dist/{pack-VZIBS42E.js → pack-A73LDVOX.js} +16 -22
- package/dist/{pack-VZIBS42E.js.map → pack-A73LDVOX.js.map} +1 -1
- package/dist/plugin-CEO6ZJM5.js +51 -0
- package/dist/plugin-from-project-UK7VJVUP.js +18 -0
- package/dist/{policy-P3HGLEZS.js → policy-6VY3CMSU.js} +13 -14
- package/dist/{policy-P3HGLEZS.js.map → policy-6VY3CMSU.js.map} +1 -1
- package/dist/{profile-STS3CZUK.js → profile-YCKPMRRU.js} +96 -102
- package/dist/profile-YCKPMRRU.js.map +1 -0
- package/dist/{project-R4DGM3ZG.js → project-KHPPBKPN.js} +63 -77
- package/dist/{project-R4DGM3ZG.js.map → project-KHPPBKPN.js.map} +1 -1
- package/dist/{resource-GJVEDXVZ.js → resource-IJU3FAN5.js} +42 -49
- package/dist/{resource-GJVEDXVZ.js.map → resource-IJU3FAN5.js.map} +1 -1
- package/dist/{version-FUHV4O6U.js → version-Z66FWWMQ.js} +2 -2
- package/dist/version-Z66FWWMQ.js.map +1 -0
- package/package.json +3 -2
- package/dist/apply-Q5SFF3FY.js +0 -67
- package/dist/chunk-24V5ZSIF.js.map +0 -1
- package/dist/chunk-3JOPDYQD.js +0 -730
- package/dist/chunk-3JOPDYQD.js.map +0 -1
- package/dist/chunk-555XE3NJ.js +0 -60
- package/dist/chunk-555XE3NJ.js.map +0 -1
- package/dist/chunk-64R32MG2.js.map +0 -1
- package/dist/chunk-6JMVGKMD.js.map +0 -1
- package/dist/chunk-6ZWKF3YZ.js +0 -7795
- package/dist/chunk-6ZWKF3YZ.js.map +0 -1
- package/dist/chunk-AFKCNFPP.js.map +0 -1
- package/dist/chunk-AUWWL6KX.js +0 -296
- package/dist/chunk-AUWWL6KX.js.map +0 -1
- package/dist/chunk-AVZOFMJX.js.map +0 -1
- package/dist/chunk-CZ4T75PP.js.map +0 -1
- package/dist/chunk-FUV7QYBS.js.map +0 -1
- package/dist/chunk-GWQVYGRD.js.map +0 -1
- package/dist/chunk-HENOKIBB.js +0 -346
- package/dist/chunk-HENOKIBB.js.map +0 -1
- package/dist/chunk-HWL67OCJ.js +0 -238
- package/dist/chunk-HWL67OCJ.js.map +0 -1
- package/dist/chunk-IKAGGJEO.js.map +0 -1
- package/dist/chunk-JJJJ2RAD.js.map +0 -1
- package/dist/chunk-JRFUTIEH.js +0 -426
- package/dist/chunk-JRFUTIEH.js.map +0 -1
- package/dist/chunk-KJIFZLHN.js +0 -11066
- package/dist/chunk-KJIFZLHN.js.map +0 -1
- package/dist/chunk-LDVXYN6F.js.map +0 -1
- package/dist/chunk-MHOTXMD2.js +0 -430
- package/dist/chunk-MHOTXMD2.js.map +0 -1
- package/dist/chunk-NEPUP33Q.js +0 -35
- package/dist/chunk-NEPUP33Q.js.map +0 -1
- package/dist/chunk-OPVIX7E4.js.map +0 -1
- package/dist/chunk-OQ4KBUN2.js.map +0 -1
- package/dist/chunk-OXVCYRZB.js +0 -491
- package/dist/chunk-OXVCYRZB.js.map +0 -1
- package/dist/chunk-PJQAMC6L.js +0 -183
- package/dist/chunk-PJQAMC6L.js.map +0 -1
- package/dist/chunk-PW5QXRBA.js +0 -1173
- package/dist/chunk-PW5QXRBA.js.map +0 -1
- package/dist/chunk-QNAIDM6W.js.map +0 -1
- package/dist/chunk-R4PTE774.js.map +0 -1
- package/dist/chunk-S2E4KSYW.js +0 -610
- package/dist/chunk-S2E4KSYW.js.map +0 -1
- package/dist/chunk-SNVAMWB7.js.map +0 -1
- package/dist/chunk-U472S6IB.js.map +0 -1
- package/dist/chunk-UEHDEADL.js.map +0 -1
- package/dist/chunk-VQVUJYYY.js.map +0 -1
- package/dist/chunk-XRXFJTAT.js.map +0 -1
- package/dist/chunk-Y2JGMICO.js.map +0 -1
- package/dist/chunk-YX7MVSDA.js.map +0 -1
- package/dist/chunk-ZGRBIBO7.js +0 -681
- package/dist/chunk-ZGRBIBO7.js.map +0 -1
- package/dist/chunk-ZTBAMBAI.js +0 -6448
- package/dist/chunk-ZTBAMBAI.js.map +0 -1
- package/dist/chunk-ZVANUFPF.js.map +0 -1
- package/dist/help-QR4VTJZU.js.map +0 -1
- package/dist/help-TLHNRJJ6.js.map +0 -1
- package/dist/init-AOKFPZHG.js.map +0 -1
- package/dist/marketplace-TUVLLPBG.js.map +0 -1
- package/dist/migrate-55S4XODX.js.map +0 -1
- package/dist/open-SLFQV45J.js +0 -32
- package/dist/plugin-WLEFFBRY.js +0 -64
- package/dist/plugin-from-project-UV2O364T.js +0 -16
- package/dist/profile-STS3CZUK.js.map +0 -1
- /package/dist/{apply-Q5SFF3FY.js.map → apply-SUNDXRJ3.js.map} +0 -0
- /package/dist/{chunk-XCPWLGPB.js.map → chunk-3P6BWL5F.js.map} +0 -0
- /package/dist/{chunk-WXRPQICX.js.map → chunk-7HP6AAI3.js.map} +0 -0
- /package/dist/{chunk-IHW4PCDT.js.map → chunk-GRASK6M6.js.map} +0 -0
- /package/dist/{chunk-G5RWVZZ7.js.map → chunk-L6YZE5MY.js.map} +0 -0
- /package/dist/{chunk-3EGM4IUI.js.map → chunk-P2C7JPLD.js.map} +0 -0
- /package/dist/{chunk-MFCZN253.js.map → chunk-PCMON7Y2.js.map} +0 -0
- /package/dist/{chunk-FBYAIBHP.js.map → chunk-PNGF5EV2.js.map} +0 -0
- /package/dist/{chunk-EY4ES5MG.js.map → chunk-RVEXPMM3.js.map} +0 -0
- /package/dist/{chunk-IAZNF35S.js.map → chunk-U6DXASQP.js.map} +0 -0
- /package/dist/{chunk-BXSS2S4W.js.map → chunk-UVVZHWD2.js.map} +0 -0
- /package/dist/{chunk-LGWUTV5Q.js.map → chunk-WGP4GUYZ.js.map} +0 -0
- /package/dist/{github-A6TYG7WS.js.map → github-PBYBGOLH.js.map} +0 -0
- /package/dist/{open-SLFQV45J.js.map → live-read-cache-TUSP7U3D.js.map} +0 -0
- /package/dist/{lock-INAXNLMC.js.map → lock-WLJRXRVK.js.map} +0 -0
- /package/dist/{plugin-WLEFFBRY.js.map → open-HDGLYYVU.js.map} +0 -0
- /package/dist/{plugin-from-project-UV2O364T.js.map → plugin-CEO6ZJM5.js.map} +0 -0
- /package/dist/{version-FUHV4O6U.js.map → plugin-from-project-UK7VJVUP.js.map} +0 -0
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
isPluginAttachmentOnlyType,
|
|
3
|
-
renderResourceShow,
|
|
4
|
-
resolveResourceListType
|
|
5
|
-
} from "./chunk-64R32MG2.js";
|
|
6
|
-
import {
|
|
7
|
-
filterPluginEditRowsBySearch,
|
|
8
|
-
formatResourceSelectionLabel,
|
|
9
|
-
listNavigablePluginEditRows,
|
|
10
|
-
renderFlatPluginEditViewport,
|
|
11
|
-
renderGroupedPluginEditViewport,
|
|
12
|
-
sortResourcesByUpdatedAt,
|
|
13
|
-
toResourceListRows
|
|
14
|
-
} from "./chunk-OQ4KBUN2.js";
|
|
15
1
|
import {
|
|
16
2
|
PluginAmbiguityError,
|
|
17
3
|
PluginResolveError,
|
|
@@ -32,17 +18,7 @@ import {
|
|
|
32
18
|
resolveApplyPluginSource,
|
|
33
19
|
resolveCatalogSearchProjectRoot,
|
|
34
20
|
runPluginCreateFromSourceWizard
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import {
|
|
37
|
-
createLocalPluginPickAdapter,
|
|
38
|
-
resolvePluginMutationTarget
|
|
39
|
-
} from "./chunk-XRXFJTAT.js";
|
|
40
|
-
import {
|
|
41
|
-
loadVerifiedPackageFiles
|
|
42
|
-
} from "./chunk-PJQAMC6L.js";
|
|
43
|
-
import {
|
|
44
|
-
openPathInSystemEditor
|
|
45
|
-
} from "./chunk-UEHDEADL.js";
|
|
21
|
+
} from "./chunk-4ZQ2SCGY.js";
|
|
46
22
|
import {
|
|
47
23
|
importProjectConfigEnvironments,
|
|
48
24
|
printApplyDryRun,
|
|
@@ -53,64 +29,56 @@ import {
|
|
|
53
29
|
resolveExpectedPluginName,
|
|
54
30
|
resolveProjectProfilePluginName,
|
|
55
31
|
resolveUserPath
|
|
56
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-R7ZOYVN3.js";
|
|
57
33
|
import {
|
|
58
|
-
|
|
59
|
-
|
|
34
|
+
isPluginAttachmentOnlyType,
|
|
35
|
+
renderResourceShow,
|
|
36
|
+
resolveResourceListType
|
|
37
|
+
} from "./chunk-D432JAXV.js";
|
|
60
38
|
import {
|
|
61
|
-
|
|
62
|
-
|
|
39
|
+
createLocalPluginPickAdapter,
|
|
40
|
+
resolvePluginMutationTarget
|
|
41
|
+
} from "./chunk-MR7IOHSX.js";
|
|
42
|
+
import {
|
|
43
|
+
resolveSkillPackageCheckout
|
|
44
|
+
} from "./chunk-OML4HXKT.js";
|
|
45
|
+
import {
|
|
46
|
+
readDeclaredLicense
|
|
47
|
+
} from "./chunk-CHQGE2HF.js";
|
|
48
|
+
import {
|
|
49
|
+
filterPluginEditRowsBySearch,
|
|
50
|
+
formatResourceSelectionLabel,
|
|
51
|
+
listNavigablePluginEditRows,
|
|
52
|
+
renderFlatPluginEditViewport,
|
|
53
|
+
renderGroupedPluginEditViewport,
|
|
54
|
+
sortResourcesByUpdatedAt,
|
|
55
|
+
toResourceListRows
|
|
56
|
+
} from "./chunk-ULCD6DJE.js";
|
|
57
|
+
import {
|
|
58
|
+
openPathInSystemEditor
|
|
59
|
+
} from "./chunk-N3VGY3T3.js";
|
|
60
|
+
import {
|
|
61
|
+
validatePluginDependencyGraph
|
|
62
|
+
} from "./chunk-PNGF5EV2.js";
|
|
63
63
|
import {
|
|
64
64
|
createTableBrowserPrompt
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-P2C7JPLD.js";
|
|
66
|
+
import {
|
|
67
|
+
toPluginChoices
|
|
68
|
+
} from "./chunk-3P6BWL5F.js";
|
|
66
69
|
import {
|
|
67
70
|
matchesListSearchQuery,
|
|
68
71
|
parseListSearchQuery
|
|
69
72
|
} from "./chunk-KRI4R7EM.js";
|
|
70
|
-
import {
|
|
71
|
-
resolveSkillPackageCheckout
|
|
72
|
-
} from "./chunk-U472S6IB.js";
|
|
73
73
|
import {
|
|
74
74
|
parseCommaSeparatedList
|
|
75
75
|
} from "./chunk-37E5M4JX.js";
|
|
76
76
|
import {
|
|
77
77
|
buildHelpLine
|
|
78
78
|
} from "./chunk-3FIWOI3H.js";
|
|
79
|
-
import {
|
|
80
|
-
readDeclaredLicense
|
|
81
|
-
} from "./chunk-CHQGE2HF.js";
|
|
82
79
|
import {
|
|
83
80
|
renderCliError
|
|
84
|
-
} from "./chunk-
|
|
85
|
-
import {
|
|
86
|
-
PinnedPluginInstallConsentError,
|
|
87
|
-
captureManagedSnapshotState,
|
|
88
|
-
collectPluginPinsForPrepare,
|
|
89
|
-
ensureClaudeMarketplacesFromConfig,
|
|
90
|
-
ensureCursorMarketplaces,
|
|
91
|
-
ensureMissingCatalogDependencies,
|
|
92
|
-
gateDeployFiles,
|
|
93
|
-
generateFiles,
|
|
94
|
-
getActiveProfileName,
|
|
95
|
-
getGitOrigin,
|
|
96
|
-
installPluginFromCatalog,
|
|
97
|
-
installPluginPinAsync,
|
|
98
|
-
materializeFiles,
|
|
99
|
-
normalizeGitUrl,
|
|
100
|
-
persistWrittenMaterializations,
|
|
101
|
-
preparePluginPinsForApply,
|
|
102
|
-
printUnicodeGateWarnings,
|
|
103
|
-
projectNameFromUrl,
|
|
104
|
-
removeStaleProjectDeployedFiles,
|
|
105
|
-
resolveDefaultPluginInstallScope,
|
|
106
|
-
resolveEnvironmentCascadeForApply,
|
|
107
|
-
resolvePluginInstallScope,
|
|
108
|
-
setPluginEnvironmentCommand,
|
|
109
|
-
skillPlacementsFromPaths,
|
|
110
|
-
syncPluginPinsForApply,
|
|
111
|
-
tagProfileCommand,
|
|
112
|
-
unsetPluginEnvironmentCommand
|
|
113
|
-
} from "./chunk-6ZWKF3YZ.js";
|
|
81
|
+
} from "./chunk-RDG5DT7S.js";
|
|
114
82
|
import {
|
|
115
83
|
isPromptCancellationError,
|
|
116
84
|
promptForChoice,
|
|
@@ -122,119 +90,111 @@ import {
|
|
|
122
90
|
} from "./chunk-NAGAJ5UM.js";
|
|
123
91
|
import {
|
|
124
92
|
initializeSchema
|
|
125
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-3FS775NP.js";
|
|
126
94
|
import {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
} from "./chunk-NEPUP33Q.js";
|
|
130
|
-
import {
|
|
131
|
-
createSnapshot
|
|
132
|
-
} from "./chunk-555XE3NJ.js";
|
|
95
|
+
configureCommandGroup
|
|
96
|
+
} from "./chunk-43BDGVN3.js";
|
|
133
97
|
import {
|
|
134
98
|
createPluginFromProject
|
|
135
|
-
} from "./chunk-
|
|
136
|
-
import {
|
|
137
|
-
findProjectConfig,
|
|
138
|
-
getProfileEntry
|
|
139
|
-
} from "./chunk-HENOKIBB.js";
|
|
99
|
+
} from "./chunk-BPWFQKI5.js";
|
|
140
100
|
import {
|
|
141
101
|
formatPluginLabel
|
|
142
102
|
} from "./chunk-I6XFZLTJ.js";
|
|
143
|
-
import {
|
|
144
|
-
APM_MANIFEST_FILENAME,
|
|
145
|
-
TargetFlagError,
|
|
146
|
-
parseApmYamlDocument,
|
|
147
|
-
readPackageRuntimeApmDependencies,
|
|
148
|
-
resolveCompileTargets
|
|
149
|
-
} from "./chunk-S2E4KSYW.js";
|
|
150
|
-
import {
|
|
151
|
-
CriticalUnicodeError
|
|
152
|
-
} from "./chunk-JRFUTIEH.js";
|
|
153
|
-
import {
|
|
154
|
-
applyConfiguredPluginToProject,
|
|
155
|
-
assertSupportedHarnessTargets,
|
|
156
|
-
collectApplyPreferenceHarnesses,
|
|
157
|
-
getProjectByOrigin,
|
|
158
|
-
getProjectHarnessConfig,
|
|
159
|
-
uniqueHarnessTargets,
|
|
160
|
-
upsertProject
|
|
161
|
-
} from "./chunk-AUWWL6KX.js";
|
|
162
|
-
import {
|
|
163
|
-
detectPlatforms,
|
|
164
|
-
persistPluginSourceScanResults
|
|
165
|
-
} from "./chunk-ZTBAMBAI.js";
|
|
166
103
|
import {
|
|
167
104
|
applyExecutableTrustGate,
|
|
168
105
|
formatApproveRemedy,
|
|
169
106
|
overlappingDeployedHashes
|
|
170
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-23XSG7LI.js";
|
|
171
108
|
import {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
evaluateApplyPolicy
|
|
176
|
-
} from "./chunk-PW5QXRBA.js";
|
|
109
|
+
parseOutputFormat,
|
|
110
|
+
printJson
|
|
111
|
+
} from "./chunk-TQ2NA4Z4.js";
|
|
177
112
|
import {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
113
|
+
ON_CONFLICT_APPLY_HELP,
|
|
114
|
+
ON_CONFLICT_PLUGIN_IMPORT_HELP,
|
|
115
|
+
collectRepeatedOption,
|
|
116
|
+
fail,
|
|
117
|
+
failCaught,
|
|
118
|
+
formatCommand,
|
|
119
|
+
parseOnConflict,
|
|
120
|
+
toPluginImportOnConflict
|
|
121
|
+
} from "./chunk-RFQ3N7FB.js";
|
|
185
122
|
import {
|
|
123
|
+
APM_MANIFEST_FILENAME,
|
|
186
124
|
ApmGitResolveError,
|
|
187
|
-
assertCheckoutPathSafe,
|
|
188
|
-
canonicalApmRepoUrl,
|
|
189
|
-
isApmVirtualFilePath,
|
|
190
|
-
isFilesystemApmDependency,
|
|
191
|
-
resolveAndFetchApmGitDependency
|
|
192
|
-
} from "./chunk-ZGRBIBO7.js";
|
|
193
|
-
import {
|
|
194
125
|
BundleSymlinkError,
|
|
195
126
|
CatalogDependencyVersionError,
|
|
127
|
+
CriticalUnicodeError,
|
|
128
|
+
LockIntegrityError,
|
|
196
129
|
MATERIAL_RESOURCE_TYPES,
|
|
197
130
|
PLUGIN_ATTACHMENT_TYPES,
|
|
131
|
+
PROFILE_PLUGIN_TAG,
|
|
132
|
+
PinnedPluginInstallConsentError,
|
|
198
133
|
PluginAttachmentHintError,
|
|
199
134
|
PluginProvenanceError,
|
|
200
135
|
PluginVersionError,
|
|
136
|
+
PolicyError,
|
|
201
137
|
RESOURCE_TYPES,
|
|
202
138
|
SingletonConflictError,
|
|
139
|
+
TargetFlagError,
|
|
203
140
|
UnsatisfiableConstraintError,
|
|
204
141
|
addDependency,
|
|
205
142
|
addPluginAttachment,
|
|
206
143
|
addResourceToPlugin,
|
|
207
144
|
applyCheckedPluginOrigin,
|
|
208
145
|
assertAuthored,
|
|
146
|
+
assertCheckoutPathSafe,
|
|
209
147
|
assertContainedPath,
|
|
210
148
|
assertPluginsCleanForShare,
|
|
149
|
+
assertPolicyAllowsApply,
|
|
150
|
+
assertSupportedHarnessTargets,
|
|
211
151
|
attachPluginPinToPlugin,
|
|
212
152
|
attachScannedOriginResources,
|
|
213
153
|
buildApPackageFiles,
|
|
154
|
+
canonicalApmRepoUrl,
|
|
155
|
+
captureManagedSnapshotState,
|
|
214
156
|
clearPluginVersionOverride,
|
|
157
|
+
collectApplyPreferenceHarnesses,
|
|
158
|
+
collectPluginPinsForPrepare,
|
|
159
|
+
collectSkillMdFiles,
|
|
215
160
|
createPlugin,
|
|
216
161
|
cutPluginVersion,
|
|
217
162
|
deletePlugin,
|
|
218
163
|
dependenciesFromResources,
|
|
219
164
|
describeConflictSide,
|
|
165
|
+
detectPlatforms,
|
|
166
|
+
ensureClaudeMarketplacesFromConfig,
|
|
167
|
+
ensureCursorMarketplaces,
|
|
168
|
+
ensureMissingCatalogDependencies,
|
|
220
169
|
ensurePluginClaudeMarketplace,
|
|
221
170
|
ensurePluginResource,
|
|
171
|
+
evaluateApplyPolicy,
|
|
222
172
|
fetchCatalogPlugin,
|
|
223
173
|
findPluginResourceByPin,
|
|
174
|
+
findProjectConfig,
|
|
224
175
|
formatOriginLocator,
|
|
225
176
|
formatPluginRollbackConfirmMessage,
|
|
226
177
|
formatPluginVersionLabel,
|
|
178
|
+
gateDeployFiles,
|
|
179
|
+
generateFiles,
|
|
227
180
|
getPlugin,
|
|
228
181
|
getPluginById,
|
|
229
182
|
getPluginByName,
|
|
230
183
|
getPluginOrigin,
|
|
231
184
|
getPluginResources,
|
|
185
|
+
getProfileEntry,
|
|
186
|
+
getProjectHarnessConfig,
|
|
232
187
|
gitOriginCacheDir,
|
|
233
188
|
hashResourceBody,
|
|
234
189
|
importApPackageFiles,
|
|
235
190
|
ingestHostPluginTreeIntoCache,
|
|
191
|
+
installPluginFromCatalog,
|
|
192
|
+
installPluginPinAsync,
|
|
236
193
|
isApEnvelopePath,
|
|
194
|
+
isApmVirtualFilePath,
|
|
195
|
+
isFilesystemApmDependency,
|
|
237
196
|
isPluginInstallRoot,
|
|
197
|
+
isProfilePlugin,
|
|
238
198
|
listAttachedPluginPins,
|
|
239
199
|
listAttachedPluginRefs,
|
|
240
200
|
listContainedRegularFiles,
|
|
@@ -244,6 +204,12 @@ import {
|
|
|
244
204
|
listPluginVersionHistory,
|
|
245
205
|
listPlugins,
|
|
246
206
|
listResources,
|
|
207
|
+
loadSpecPackagePath,
|
|
208
|
+
loadVerifiedPackageFiles,
|
|
209
|
+
lockIsUsable,
|
|
210
|
+
lockedVersionsFrom,
|
|
211
|
+
lockfileFromResolution,
|
|
212
|
+
materializeFiles,
|
|
247
213
|
mergePluginsById,
|
|
248
214
|
normalizeResourceInput,
|
|
249
215
|
originApplyFailureRow,
|
|
@@ -251,36 +217,52 @@ import {
|
|
|
251
217
|
originSkipRow,
|
|
252
218
|
overrideWinnerValue,
|
|
253
219
|
parseApPackageFiles,
|
|
220
|
+
parseApmYamlDocument,
|
|
254
221
|
parseDependencyRef,
|
|
255
222
|
parsePluginRef,
|
|
256
223
|
parseVersionConstraint,
|
|
224
|
+
persistPluginSourceScanResults,
|
|
225
|
+
persistWrittenMaterializations,
|
|
257
226
|
pluginDescriptionFromManifest,
|
|
227
|
+
preparePluginPinsForApply,
|
|
228
|
+
printUnicodeGateWarnings,
|
|
229
|
+
readLockfile,
|
|
230
|
+
readPackageRuntimeApmDependencies,
|
|
258
231
|
recoverOriginLocator,
|
|
259
232
|
removeDependency,
|
|
260
233
|
removePluginAttachment,
|
|
261
234
|
removeResourceFromPlugin,
|
|
262
|
-
|
|
235
|
+
removeStaleProjectDeployedFiles,
|
|
236
|
+
resolveAndFetchApmGitDependency,
|
|
237
|
+
resolveCompileTargets,
|
|
263
238
|
resolveComposition,
|
|
264
|
-
|
|
265
|
-
|
|
239
|
+
resolveDefaultPluginInstallScope,
|
|
240
|
+
resolveEnvironmentCascadeForApply,
|
|
266
241
|
resolveMarketplacePluginDirectory,
|
|
242
|
+
resolvePluginInstallScope,
|
|
243
|
+
resolvePluginPackageRoot,
|
|
267
244
|
resolvePluginSelector,
|
|
268
245
|
rollbackPluginVersion,
|
|
269
246
|
scanPluginSource,
|
|
270
247
|
scanPluginSourceSync,
|
|
271
248
|
selectOriginUpdateTarget,
|
|
272
249
|
semverSafePluginVersion,
|
|
250
|
+
setPluginEnvironmentCommand,
|
|
273
251
|
setPluginOrigin,
|
|
274
252
|
setPluginResourceOrder,
|
|
275
253
|
setPluginResourceOverride,
|
|
276
254
|
setPluginTags,
|
|
277
255
|
setPluginVersionOverride,
|
|
256
|
+
skillPlacementsFromPaths,
|
|
278
257
|
slugifyApName,
|
|
279
258
|
stampPluginOrigin,
|
|
280
|
-
substituteResourcesForApply,
|
|
281
259
|
summarizeOriginUpdate,
|
|
282
260
|
syncClaudeMarketplacePluginsAfterAdd,
|
|
261
|
+
syncPluginPinsForApply,
|
|
262
|
+
tagProfileCommand,
|
|
283
263
|
touchPluginUpdatedAt,
|
|
264
|
+
uniqueHarnessTargets,
|
|
265
|
+
unsetPluginEnvironmentCommand,
|
|
284
266
|
updatePluginDescription,
|
|
285
267
|
upsertResource,
|
|
286
268
|
validateApManifest,
|
|
@@ -289,45 +271,15 @@ import {
|
|
|
289
271
|
validatePublicPluginExists,
|
|
290
272
|
withDefaultedApSchema,
|
|
291
273
|
writeApEnvelope,
|
|
292
|
-
writeApPackageFiles
|
|
293
|
-
|
|
274
|
+
writeApPackageFiles,
|
|
275
|
+
writeLockfile
|
|
276
|
+
} from "./chunk-ZUASVASP.js";
|
|
294
277
|
import {
|
|
295
278
|
listMarketplaces,
|
|
296
279
|
marketplaceCacheDir,
|
|
297
|
-
refreshGitSource,
|
|
298
280
|
refreshMarketplaceCatalog,
|
|
299
281
|
searchCatalogPlugins
|
|
300
|
-
} from "./chunk-
|
|
301
|
-
import {
|
|
302
|
-
trackPluginApplied,
|
|
303
|
-
trackPluginInstalled
|
|
304
|
-
} from "./chunk-OXVCYRZB.js";
|
|
305
|
-
import {
|
|
306
|
-
configureCommandGroup
|
|
307
|
-
} from "./chunk-JJJJ2RAD.js";
|
|
308
|
-
import {
|
|
309
|
-
parseOutputFormat,
|
|
310
|
-
printJson
|
|
311
|
-
} from "./chunk-TQ2NA4Z4.js";
|
|
312
|
-
import {
|
|
313
|
-
CliUsageError,
|
|
314
|
-
ON_CONFLICT_APPLY_HELP,
|
|
315
|
-
ON_CONFLICT_PLUGIN_IMPORT_HELP,
|
|
316
|
-
collectRepeatedOption,
|
|
317
|
-
conflictingOptions,
|
|
318
|
-
fail,
|
|
319
|
-
failCaught,
|
|
320
|
-
formatCommand,
|
|
321
|
-
missingRequiredArg,
|
|
322
|
-
parseOnConflict,
|
|
323
|
-
toPluginImportOnConflict
|
|
324
|
-
} from "./chunk-Y2JGMICO.js";
|
|
325
|
-
import {
|
|
326
|
-
createProgress,
|
|
327
|
-
formatCount,
|
|
328
|
-
theme,
|
|
329
|
-
ui
|
|
330
|
-
} from "./chunk-LDVXYN6F.js";
|
|
282
|
+
} from "./chunk-6LTLYV5D.js";
|
|
331
283
|
import {
|
|
332
284
|
DEFAULT_CATALOG_ORG_SLUG,
|
|
333
285
|
connectCatalogOrg,
|
|
@@ -338,16 +290,44 @@ import {
|
|
|
338
290
|
loadCatalogSettings,
|
|
339
291
|
loadRegisteredCatalogs,
|
|
340
292
|
resolveCatalogScope,
|
|
341
|
-
resolveRemotePluginSelector
|
|
342
|
-
|
|
293
|
+
resolveRemotePluginSelector,
|
|
294
|
+
trackPluginApplied,
|
|
295
|
+
trackPluginInstalled
|
|
296
|
+
} from "./chunk-N3ZCH64F.js";
|
|
297
|
+
import {
|
|
298
|
+
CliUsageError,
|
|
299
|
+
conflictingOptions,
|
|
300
|
+
createProgress,
|
|
301
|
+
missingRequiredArg,
|
|
302
|
+
theme,
|
|
303
|
+
ui
|
|
304
|
+
} from "./chunk-2A36HWDE.js";
|
|
305
|
+
import {
|
|
306
|
+
applyConfiguredPluginToProject,
|
|
307
|
+
createSnapshot,
|
|
308
|
+
getActiveProfileName,
|
|
309
|
+
getGitOrigin,
|
|
310
|
+
getProjectByOrigin,
|
|
311
|
+
normalizeGitUrl,
|
|
312
|
+
projectNameFromUrl,
|
|
313
|
+
resolveClaudeEnabledPluginRef,
|
|
314
|
+
resolveHomeRoot,
|
|
315
|
+
substituteResourcesForApply,
|
|
316
|
+
upsertProject
|
|
317
|
+
} from "./chunk-DF4Z7LAD.js";
|
|
318
|
+
import {
|
|
319
|
+
refreshGitSource
|
|
320
|
+
} from "./chunk-G6WKY2W4.js";
|
|
343
321
|
import {
|
|
344
322
|
CLI_ERRORS,
|
|
345
323
|
CLI_HINTS,
|
|
324
|
+
applyCancelledMessage,
|
|
346
325
|
fetchWithTimeout,
|
|
347
326
|
formatCatalogRequestError,
|
|
327
|
+
formatCount,
|
|
348
328
|
getDb,
|
|
349
329
|
getHarnesstapDir
|
|
350
|
-
} from "./chunk-
|
|
330
|
+
} from "./chunk-WG5A6EAU.js";
|
|
351
331
|
|
|
352
332
|
// src/cli/commands/plugin.ts
|
|
353
333
|
import { Option as Option2 } from "commander";
|
|
@@ -436,6 +416,8 @@ async function scanOriginTree(sourcePath, pluginName) {
|
|
|
436
416
|
const manifestCandidates = [
|
|
437
417
|
join(sourcePath, ".claude-plugin", "marketplace.json"),
|
|
438
418
|
join(sourcePath, ".cursor-plugin", "marketplace.json"),
|
|
419
|
+
join(sourcePath, ".github", "plugin", "marketplace.json"),
|
|
420
|
+
join(sourcePath, ".agents", "plugins", "marketplace.json"),
|
|
439
421
|
join(sourcePath, "marketplace.json")
|
|
440
422
|
];
|
|
441
423
|
for (const manifestPath of manifestCandidates) {
|
|
@@ -1062,6 +1044,31 @@ function handlePluginVersionsCommand(name, opts) {
|
|
|
1062
1044
|
});
|
|
1063
1045
|
}
|
|
1064
1046
|
|
|
1047
|
+
// src/cli/handlers/plugin-validate.ts
|
|
1048
|
+
function handlePluginValidateCommand(file, opts) {
|
|
1049
|
+
const format = parseOutputFormat(opts.format);
|
|
1050
|
+
const report = loadSpecPackagePath(file, opts.spec ?? "1.0.0");
|
|
1051
|
+
if (format === "json") {
|
|
1052
|
+
printJson(report);
|
|
1053
|
+
} else if (!report.ok) {
|
|
1054
|
+
ui.danger(report.rejected ?? "Invalid Agent Plugins package");
|
|
1055
|
+
} else {
|
|
1056
|
+
ui.success(`${report.name}@${report.version}`);
|
|
1057
|
+
ui.info(`skills: ${report.loaded.skills.join(", ") || "(none)"}`);
|
|
1058
|
+
ui.info(`mcp servers: ${report.loaded.mcpServers.join(", ") || "(none)"}`);
|
|
1059
|
+
for (const item of report.skipped) {
|
|
1060
|
+
ui.warn(`skipped ${item.component} ${item.name}: ${item.reason}`);
|
|
1061
|
+
}
|
|
1062
|
+
for (const item of report.reported) {
|
|
1063
|
+
ui.warn(`${item.field}: ${item.message}`);
|
|
1064
|
+
}
|
|
1065
|
+
if (report.mcpDisabled) {
|
|
1066
|
+
ui.warn(`MCP disabled: ${report.mcpDisabled}`);
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
if (!report.ok) process.exitCode = 1;
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1065
1072
|
// src/cli/handlers/plugin-validate-package.ts
|
|
1066
1073
|
import { resolve } from "path";
|
|
1067
1074
|
|
|
@@ -1585,6 +1592,8 @@ function scanMarketplaceManifests(sourcePath, pluginName) {
|
|
|
1585
1592
|
const manifestCandidates = [
|
|
1586
1593
|
join4(sourcePath, ".claude-plugin", "marketplace.json"),
|
|
1587
1594
|
join4(sourcePath, ".cursor-plugin", "marketplace.json"),
|
|
1595
|
+
join4(sourcePath, ".github", "plugin", "marketplace.json"),
|
|
1596
|
+
join4(sourcePath, ".agents", "plugins", "marketplace.json"),
|
|
1588
1597
|
join4(sourcePath, "marketplace.json")
|
|
1589
1598
|
];
|
|
1590
1599
|
for (const manifestPath of manifestCandidates) {
|
|
@@ -1598,35 +1607,6 @@ function scanMarketplaceManifests(sourcePath, pluginName) {
|
|
|
1598
1607
|
}
|
|
1599
1608
|
return void 0;
|
|
1600
1609
|
}
|
|
1601
|
-
function resolveUpstreamPackageRoot(plugin) {
|
|
1602
|
-
const locator = recoverOriginLocator(plugin);
|
|
1603
|
-
const harnesstapDir = getHarnesstapDir();
|
|
1604
|
-
const homeRoot = resolveHomeRoot();
|
|
1605
|
-
if (!locator) {
|
|
1606
|
-
return resolveInstallRoot(plugin.name, homeRoot);
|
|
1607
|
-
}
|
|
1608
|
-
switch (locator.kind) {
|
|
1609
|
-
case "marketplace": {
|
|
1610
|
-
const parsed = parseDependencyRef(locator.ref);
|
|
1611
|
-
const cacheDir = marketplaceCacheDir(harnesstapDir, parsed.namespace);
|
|
1612
|
-
const fromCache = resolveMarketplacePluginDirectory(cacheDir, parsed.name) ?? resolveMarketplacePluginDirectory(cacheDir, plugin.name);
|
|
1613
|
-
if (fromCache) {
|
|
1614
|
-
return fromCache;
|
|
1615
|
-
}
|
|
1616
|
-
return resolveInstallRoot(locator.ref, homeRoot) ?? resolveInstallRoot(`${plugin.name}@${parsed.namespace}`, homeRoot);
|
|
1617
|
-
}
|
|
1618
|
-
case "git": {
|
|
1619
|
-
const cacheDir = gitOriginCacheDir(harnesstapDir, locator.url);
|
|
1620
|
-
return resolveMarketplacePluginDirectory(cacheDir, plugin.name) ?? (existsSync4(cacheDir) ? cacheDir : void 0);
|
|
1621
|
-
}
|
|
1622
|
-
case "catalog":
|
|
1623
|
-
return void 0;
|
|
1624
|
-
default: {
|
|
1625
|
-
const _exhaustive = locator;
|
|
1626
|
-
return _exhaustive;
|
|
1627
|
-
}
|
|
1628
|
-
}
|
|
1629
|
-
}
|
|
1630
1610
|
function scanPackageTree(plugin, sourcePath) {
|
|
1631
1611
|
const fromManifest = scanMarketplaceManifests(sourcePath, plugin.name);
|
|
1632
1612
|
if (fromManifest) {
|
|
@@ -1649,7 +1629,7 @@ function ensureUpstreamPluginResources(plugin) {
|
|
|
1649
1629
|
if (plugin.origin === "authored") {
|
|
1650
1630
|
return attached;
|
|
1651
1631
|
}
|
|
1652
|
-
const packageRoot =
|
|
1632
|
+
const packageRoot = resolvePluginPackageRoot(plugin);
|
|
1653
1633
|
if (!packageRoot) {
|
|
1654
1634
|
return attached;
|
|
1655
1635
|
}
|
|
@@ -2618,7 +2598,7 @@ function claimAndEnqueue(frame, identity, importedPackage, packageRoot, walkNest
|
|
|
2618
2598
|
return true;
|
|
2619
2599
|
}
|
|
2620
2600
|
async function visitGit(frame, identity, state) {
|
|
2621
|
-
const fetched = resolveAndFetchApmGitDependency(frame.dependency, state.harnesstapDir, {
|
|
2601
|
+
const fetched = await resolveAndFetchApmGitDependency(frame.dependency, state.harnesstapDir, {
|
|
2622
2602
|
...state.update ? { update: true } : {},
|
|
2623
2603
|
...state.lock ? { lock: state.lock } : {}
|
|
2624
2604
|
});
|
|
@@ -3544,10 +3524,10 @@ async function addPluginFromMarketplace(input) {
|
|
|
3544
3524
|
homeRoot: input.homeRoot,
|
|
3545
3525
|
projectRoot: input.projectRoot
|
|
3546
3526
|
};
|
|
3547
|
-
ensureMarketplaces(refreshed.claude, ensureOptions);
|
|
3527
|
+
await ensureMarketplaces(refreshed.claude, ensureOptions);
|
|
3548
3528
|
if (marketplace.platforms.includes("cursor")) {
|
|
3549
3529
|
const ensureCursor = input.ensureCursorMarketplaces ?? ensureCursorMarketplaces;
|
|
3550
|
-
ensureCursor(
|
|
3530
|
+
await ensureCursor(
|
|
3551
3531
|
[{ name: marketplace.name, url: marketplace.url }],
|
|
3552
3532
|
{
|
|
3553
3533
|
homeRoot: input.homeRoot,
|
|
@@ -5020,7 +5000,7 @@ async function handleProjectApplyCommand(pluginNames, opts) {
|
|
|
5020
5000
|
});
|
|
5021
5001
|
spin.stop();
|
|
5022
5002
|
if (materialized.cancelled) {
|
|
5023
|
-
fail(
|
|
5003
|
+
fail(applyCancelledMessage(materialized.conflicts.map((conflict) => conflict.path), "apply"), {
|
|
5024
5004
|
hint: CLI_HINTS.onConflictReplace
|
|
5025
5005
|
});
|
|
5026
5006
|
process.exitCode = 1;
|
|
@@ -5601,7 +5581,7 @@ async function handlePluginFromProjectCommand(name, opts) {
|
|
|
5601
5581
|
fail(error instanceof Error ? error.message : String(error));
|
|
5602
5582
|
return;
|
|
5603
5583
|
}
|
|
5604
|
-
const { previewPluginFromProject } = await import("./plugin-from-project-
|
|
5584
|
+
const { previewPluginFromProject } = await import("./plugin-from-project-UK7VJVUP.js");
|
|
5605
5585
|
const preview = await previewPluginFromProject({
|
|
5606
5586
|
name: resolvedName,
|
|
5607
5587
|
projectRoot,
|
|
@@ -5764,7 +5744,7 @@ async function handlePluginCreateCommand(name, opts) {
|
|
|
5764
5744
|
if (harnesses) {
|
|
5765
5745
|
assertSupportedHarnessTargets(harnesses);
|
|
5766
5746
|
}
|
|
5767
|
-
const resolvedPackage = resolveSkillPackageCheckout(opts.from, harnesstapDir);
|
|
5747
|
+
const resolvedPackage = await resolveSkillPackageCheckout(opts.from, harnesstapDir);
|
|
5768
5748
|
const shouldPrompt = shouldUseWizard({
|
|
5769
5749
|
noInteractive: opts.yes,
|
|
5770
5750
|
interactive: opts.interactive,
|
|
@@ -5984,7 +5964,7 @@ async function handlePluginSearchCommand(query, opts = {}) {
|
|
|
5984
5964
|
format: opts.format
|
|
5985
5965
|
});
|
|
5986
5966
|
if (useBrowsePicker) {
|
|
5987
|
-
const plugins2 = searchCatalogPlugins(harnesstapDir, query ?? "", {
|
|
5967
|
+
const plugins2 = await searchCatalogPlugins(harnesstapDir, query ?? "", {
|
|
5988
5968
|
refresh: opts.refresh
|
|
5989
5969
|
});
|
|
5990
5970
|
if (plugins2.length === 0) {
|
|
@@ -6015,7 +5995,7 @@ async function handlePluginSearchCommand(query, opts = {}) {
|
|
|
6015
5995
|
await addMarketplacePluginPin(selectedRef, pluginName, format);
|
|
6016
5996
|
return;
|
|
6017
5997
|
}
|
|
6018
|
-
const plugins = searchCatalogPlugins(harnesstapDir, query ?? "", {
|
|
5998
|
+
const plugins = await searchCatalogPlugins(harnesstapDir, query ?? "", {
|
|
6019
5999
|
refresh: opts.refresh
|
|
6020
6000
|
});
|
|
6021
6001
|
printPluginSearchResults(plugins, format);
|
|
@@ -6365,7 +6345,10 @@ function registerPluginCommands(root) {
|
|
|
6365
6345
|
pluginPublishCmd.command("plan").argument("<plugin>", "Local plugin name").option("--account <name>", "Cloud account to use").option("--format <mode>", "Output format: human or json", "human").description("Dry-run publish targets for a local plugin").action(async (plugin, opts) => {
|
|
6366
6346
|
await handlePluginPublishPlanCommand(plugin, opts);
|
|
6367
6347
|
});
|
|
6368
|
-
pluginPublishCmd.argument("<plugin>", "Local plugin name to publish").argument("[target]", "One-off org/catalog target").option("--org <slug>", "One-off organization slug").option("--catalog <slug>", "One-off catalog slug (default: default)").option("--version <semver>", "Cut the plugin to this semver before publishing").option("--account <name>", "Cloud account to use").option("--format <mode>", "Output format: human or json", "human").
|
|
6348
|
+
pluginPublishCmd.argument("<plugin>", "Local plugin name to publish").argument("[target]", "One-off org/catalog target").option("--org <slug>", "One-off organization slug").option("--catalog <slug>", "One-off catalog slug (default: default)").option("--version <semver>", "Cut the plugin to this semver before publishing").option("--account <name>", "Cloud account to use").option("--format <mode>", "Output format: human or json", "human").option("--strict", "Block publish when Agent Plugins export warnings are present").option(
|
|
6349
|
+
"--vendor-extensions",
|
|
6350
|
+
"Also write com.github.copilot files and Codex hook settings"
|
|
6351
|
+
).action((plugin, target, opts) => handlePluginPublishCommand(plugin, target, opts));
|
|
6369
6352
|
pluginCmd.command("cut").argument("<plugin>", "Plugin name, name@version, or id").requiredOption("--version <semver>", "New version (must differ from current)").option("--format <mode>", "Output format: human or json", "human").description("Cut a new local version from the working head").action((plugin, opts) => {
|
|
6370
6353
|
handlePluginCutCommand(plugin, opts);
|
|
6371
6354
|
});
|
|
@@ -6379,6 +6362,7 @@ function registerPluginCommands(root) {
|
|
|
6379
6362
|
);
|
|
6380
6363
|
pluginCmd.command("diff").argument("<left>", "Plugin name or plugin export file").argument("<right>", "Plugin name or plugin export file").option("--format <mode>", "Output format: human or json", "human").description("Diff two plugins or a plugin and a plugin export file").action(handlePluginDiffCommand);
|
|
6381
6364
|
pluginCmd.command("doctor").argument("[name]", "Plugin name or ID").option("--check <name>", "Run only the named check", (value, previous = []) => [...previous, value], []).option("--list-checks", "List available checks").option("--format <mode>", "Output format: human or json", "human").description("Run doctor checks against a plugin").action(handlePluginDoctorCommand);
|
|
6365
|
+
pluginCmd.command("validate").argument("<file>", "Plugin directory, .zip, or .ap.json envelope").option("--spec <version>", "Agent Plugins version to load as", "1.0.0").option("--format <mode>", "Output format: human or json", "human").description("Load an Agent Plugins package and report skills, MCP servers, and skipped entries").action(handlePluginValidateCommand);
|
|
6382
6366
|
pluginCmd.command("validate-package", { hidden: true }).argument("<file>", "Package directory, .zip, or .ap.json envelope").option("--strict", "Require plugin.json $schema (publish and authoring rules)").option("--format <mode>", "Output format: human or json", "human").description("Validate an Agent Plugins package the same way catalog import does").action(handlePluginValidatePackageCommand);
|
|
6383
6367
|
pluginCmd.command("check").argument("[name]", "Plugin name; omit to check every syncable working head").option("--refresh", "Force-fetch origins").option("--format <mode>", "Output format: human or json", "human").description("Compare library working heads to marketplace, git, and catalog origins").action(async (name, opts) => {
|
|
6384
6368
|
try {
|
|
@@ -6435,4 +6419,4 @@ export {
|
|
|
6435
6419
|
registerPluginCommands,
|
|
6436
6420
|
registerDeprecatedLayerAlias
|
|
6437
6421
|
};
|
|
6438
|
-
//# sourceMappingURL=chunk-
|
|
6422
|
+
//# sourceMappingURL=chunk-QA5U36JN.js.map
|