@f5-sales-demo/xcsh 21.29.2 → 21.29.3
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/package.json +8 -8
- package/src/cli/plugin-cli.ts +24 -2
- package/src/discovery/helpers.ts +15 -3
- package/src/extensibility/plugins/marketplace/builtin-marketplace-snapshot.ts +445 -0
- package/src/extensibility/plugins/marketplace/builtin-marketplace.provenance.json +7 -0
- package/src/extensibility/plugins/marketplace/builtin.ts +49 -0
- package/src/extensibility/plugins/marketplace/index.ts +1 -0
- package/src/extensibility/plugins/marketplace/manager.ts +140 -19
- package/src/extensibility/plugins/marketplace/registry.ts +19 -4
- package/src/extensibility/plugins/marketplace/types.ts +24 -1
- package/src/internal-urls/build-info.generated.ts +8 -8
- package/src/internal-urls/docs-index.generated.ts +46 -47
- package/src/locales/en.json +2 -2
- package/src/modes/components/plugins/state-manager.ts +1 -1
- package/src/remote-control/router.ts +7 -1
- package/src/remote-control/session.ts +6 -1
- package/src/slash-commands/builtin-registry.ts +37 -1
- package/src/slash-commands/plugin-reviewed-actions.ts +34 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@f5-sales-demo/xcsh",
|
|
4
|
-
"version": "21.29.
|
|
4
|
+
"version": "21.29.3",
|
|
5
5
|
"description": "Coding agent CLI with read, bash, edit, write tools and session management",
|
|
6
6
|
"homepage": "https://github.com/f5-sales-demo/xcsh",
|
|
7
7
|
"author": "Can Boluk",
|
|
@@ -63,13 +63,13 @@
|
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@agentclientprotocol/sdk": "1.4.0",
|
|
66
|
-
"@f5-sales-demo/pi-agent-core": "21.29.
|
|
67
|
-
"@f5-sales-demo/pi-ai": "21.29.
|
|
68
|
-
"@f5-sales-demo/pi-natives": "21.29.
|
|
69
|
-
"@f5-sales-demo/pi-resource-management": "21.29.
|
|
70
|
-
"@f5-sales-demo/pi-tui": "21.29.
|
|
71
|
-
"@f5-sales-demo/pi-utils": "21.29.
|
|
72
|
-
"@f5-sales-demo/xcsh-stats": "21.29.
|
|
66
|
+
"@f5-sales-demo/pi-agent-core": "21.29.3",
|
|
67
|
+
"@f5-sales-demo/pi-ai": "21.29.3",
|
|
68
|
+
"@f5-sales-demo/pi-natives": "21.29.3",
|
|
69
|
+
"@f5-sales-demo/pi-resource-management": "21.29.3",
|
|
70
|
+
"@f5-sales-demo/pi-tui": "21.29.3",
|
|
71
|
+
"@f5-sales-demo/pi-utils": "21.29.3",
|
|
72
|
+
"@f5-sales-demo/xcsh-stats": "21.29.3",
|
|
73
73
|
"@mozilla/readability": "^0.6",
|
|
74
74
|
"@sinclair/typebox": "0.34.52",
|
|
75
75
|
"@xterm/headless": "^6.0",
|
package/src/cli/plugin-cli.ts
CHANGED
|
@@ -258,10 +258,30 @@ async function handleMarketplace(args: string[], _flags: PluginCommandArgs["flag
|
|
|
258
258
|
}
|
|
259
259
|
break;
|
|
260
260
|
}
|
|
261
|
+
case "enable":
|
|
262
|
+
case "disable": {
|
|
263
|
+
const name = args[1];
|
|
264
|
+
if (!name) {
|
|
265
|
+
console.error(chalk.red(`Usage: ${APP_NAME} plugin marketplace ${subcommand} <name>`));
|
|
266
|
+
process.exit(1);
|
|
267
|
+
}
|
|
268
|
+
try {
|
|
269
|
+
await manager.setMarketplaceEnabled(name, subcommand === "enable");
|
|
270
|
+
console.log(
|
|
271
|
+
chalk.green(
|
|
272
|
+
`${theme.status.success} ${subcommand === "enable" ? "Enabled" : "Disabled"} marketplace: ${name}`,
|
|
273
|
+
),
|
|
274
|
+
);
|
|
275
|
+
} catch (err) {
|
|
276
|
+
console.error(chalk.red(`${theme.status.error} Failed to ${subcommand} marketplace: ${err}`));
|
|
277
|
+
process.exit(1);
|
|
278
|
+
}
|
|
279
|
+
break;
|
|
280
|
+
}
|
|
261
281
|
default: {
|
|
262
282
|
if (subcommand !== "list") {
|
|
263
283
|
console.error(chalk.red(`Unknown marketplace subcommand: ${subcommand}`));
|
|
264
|
-
console.error(chalk.dim("Valid subcommands: add, remove, update, list"));
|
|
284
|
+
console.error(chalk.dim("Valid subcommands: add, remove, update, enable, disable, list"));
|
|
265
285
|
process.exit(1);
|
|
266
286
|
}
|
|
267
287
|
try {
|
|
@@ -273,7 +293,9 @@ async function handleMarketplace(args: string[], _flags: PluginCommandArgs["flag
|
|
|
273
293
|
}
|
|
274
294
|
console.log(chalk.bold("Configured Marketplaces:\n"));
|
|
275
295
|
for (const mp of marketplaces) {
|
|
276
|
-
|
|
296
|
+
const state = mp.enabled ? chalk.green("enabled") : chalk.yellow("disabled");
|
|
297
|
+
const kind = mp.builtIn ? chalk.dim("built-in") : chalk.dim("custom");
|
|
298
|
+
console.log(` ${chalk.cyan(mp.name)} ${state} ${kind} ${chalk.dim(mp.sourceUri)}`);
|
|
277
299
|
}
|
|
278
300
|
} catch (err) {
|
|
279
301
|
console.error(chalk.red(`${theme.status.error} Failed to list marketplaces: ${err}`));
|
package/src/discovery/helpers.ts
CHANGED
|
@@ -14,8 +14,11 @@ import { readDirEntries, readFile } from "../capability/fs";
|
|
|
14
14
|
import { parseRuleConditionAndScope, type Rule, type RuleFrontmatter } from "../capability/rule";
|
|
15
15
|
import type { Skill, SkillFrontmatter } from "../capability/skill";
|
|
16
16
|
import type { LoadContext, LoadResult, SourceMeta } from "../capability/types";
|
|
17
|
+
import {
|
|
18
|
+
isInstalledPluginEffectivelyEnabled,
|
|
19
|
+
type MarketplaceRegistryEntry,
|
|
20
|
+
} from "../extensibility/plugins/marketplace/types";
|
|
17
21
|
import { parseThinkingLevel } from "../thinking";
|
|
18
|
-
|
|
19
22
|
import { buildPluginDirRoot } from "./plugin-dir-roots";
|
|
20
23
|
|
|
21
24
|
/**
|
|
@@ -613,6 +616,7 @@ export interface XcshPluginEntry {
|
|
|
613
616
|
lastUpdated: string;
|
|
614
617
|
gitCommitSha?: string;
|
|
615
618
|
enabled?: boolean;
|
|
619
|
+
enabledAt?: string;
|
|
616
620
|
}
|
|
617
621
|
|
|
618
622
|
/**
|
|
@@ -753,6 +757,14 @@ export async function listXcshPluginRoots(
|
|
|
753
757
|
const roots: XcshPluginRoot[] = [];
|
|
754
758
|
const warnings: string[] = [];
|
|
755
759
|
const projectRoots: XcshPluginRoot[] = [];
|
|
760
|
+
const marketplaceStates = new Map<string, MarketplaceRegistryEntry>();
|
|
761
|
+
const marketplacesContent = await readFile(path.join(home, getConfigDirName(), "marketplaces.json"));
|
|
762
|
+
if (marketplacesContent) {
|
|
763
|
+
const marketplacesRegistry = tryParseJson<{ marketplaces?: MarketplaceRegistryEntry[] }>(marketplacesContent);
|
|
764
|
+
for (const marketplace of marketplacesRegistry?.marketplaces ?? []) {
|
|
765
|
+
if (marketplace && typeof marketplace.name === "string") marketplaceStates.set(marketplace.name, marketplace);
|
|
766
|
+
}
|
|
767
|
+
}
|
|
756
768
|
|
|
757
769
|
// ── Installed plugins registry ───────────────────────────────────────────
|
|
758
770
|
// Path derived from `home` (not os.homedir()) so test isolation works when home is overridden.
|
|
@@ -777,7 +789,7 @@ export async function listXcshPluginRoots(
|
|
|
777
789
|
warnings.push(`Plugin ${pluginId} entry has no installPath`);
|
|
778
790
|
continue;
|
|
779
791
|
}
|
|
780
|
-
if (entry.
|
|
792
|
+
if (!isInstalledPluginEffectivelyEnabled(entry, marketplaceStates.get(marketplace))) continue;
|
|
781
793
|
if (roots.some(r => r.id === pluginId && r.path === entry.installPath)) continue;
|
|
782
794
|
|
|
783
795
|
roots.push({
|
|
@@ -818,7 +830,7 @@ export async function listXcshPluginRoots(
|
|
|
818
830
|
warnings.push(`Plugin ${pluginId} entry has no installPath`);
|
|
819
831
|
continue;
|
|
820
832
|
}
|
|
821
|
-
if (entry.
|
|
833
|
+
if (!isInstalledPluginEffectivelyEnabled(entry, marketplaceStates.get(marketplace))) continue;
|
|
822
834
|
projectRoots.push({
|
|
823
835
|
id: pluginId,
|
|
824
836
|
marketplace,
|
|
@@ -0,0 +1,445 @@
|
|
|
1
|
+
const builtinMarketplaceSnapshot = `{
|
|
2
|
+
"$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
|
|
3
|
+
"name": "f5-sales-demo-marketplace",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"metadata": {
|
|
6
|
+
"description": "Claude Code plugins for f5-sales-demo documentation repositories"
|
|
7
|
+
},
|
|
8
|
+
"owner": {
|
|
9
|
+
"name": "f5-sales-demo",
|
|
10
|
+
"url": "https://github.com/f5-sales-demo"
|
|
11
|
+
},
|
|
12
|
+
"plugins": [
|
|
13
|
+
{
|
|
14
|
+
"name": "docs-tools",
|
|
15
|
+
"description": "MDX content validation and review tools for f5-sales-demo docs repos",
|
|
16
|
+
"version": "1.1.5",
|
|
17
|
+
"author": {
|
|
18
|
+
"name": "f5-sales-demo"
|
|
19
|
+
},
|
|
20
|
+
"source": "./plugins/docs-tools",
|
|
21
|
+
"category": "productivity",
|
|
22
|
+
"homepage": "https://github.com/f5-sales-demo/marketplace/tree/main/plugins/docs-tools",
|
|
23
|
+
"license": "Apache-2.0",
|
|
24
|
+
"keywords": ["mdx", "documentation", "validation", "starlight", "astro"],
|
|
25
|
+
"tags": ["docs", "linting", "content-review", "f5xc"],
|
|
26
|
+
"repository": "https://github.com/f5-sales-demo/marketplace"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "sales-engineer",
|
|
30
|
+
"description": "Sales Engineer persona framework for F5 XC demo repositories — demo execution, environment operations, presentation, Q&A, post-session debrief",
|
|
31
|
+
"version": "1.0.10",
|
|
32
|
+
"author": {
|
|
33
|
+
"name": "f5-sales-demo"
|
|
34
|
+
},
|
|
35
|
+
"source": "./plugins/sales-engineer",
|
|
36
|
+
"category": "productivity",
|
|
37
|
+
"homepage": "https://github.com/f5-sales-demo/marketplace/tree/main/plugins/sales-engineer",
|
|
38
|
+
"license": "Apache-2.0",
|
|
39
|
+
"keywords": ["sales-engineer", "demo", "persona", "presentation", "f5xc"],
|
|
40
|
+
"tags": ["demo", "sales", "persona", "f5xc"],
|
|
41
|
+
"repository": "https://github.com/f5-sales-demo/marketplace"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "docs-pipeline",
|
|
45
|
+
"description": "Documentation pipeline architecture — config ownership, release dispatch chain, content authoring, managed files, local preview",
|
|
46
|
+
"version": "1.0.5",
|
|
47
|
+
"author": {
|
|
48
|
+
"name": "f5-sales-demo"
|
|
49
|
+
},
|
|
50
|
+
"source": "./plugins/docs-pipeline",
|
|
51
|
+
"category": "productivity",
|
|
52
|
+
"homepage": "https://github.com/f5-sales-demo/marketplace/tree/main/plugins/docs-pipeline",
|
|
53
|
+
"license": "Apache-2.0",
|
|
54
|
+
"keywords": ["docs", "pipeline", "astro", "starlight", "content", "authoring"],
|
|
55
|
+
"tags": ["docs", "pipeline", "content", "f5xc"],
|
|
56
|
+
"repository": "https://github.com/f5-sales-demo/marketplace"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "brand",
|
|
60
|
+
"description": "F5 corporate branding enforcement — colors, typography, logos, icons, accessibility, and visual identity standards across all content types",
|
|
61
|
+
"version": "1.0.5",
|
|
62
|
+
"author": {
|
|
63
|
+
"name": "f5-sales-demo"
|
|
64
|
+
},
|
|
65
|
+
"source": "./plugins/brand",
|
|
66
|
+
"category": "productivity",
|
|
67
|
+
"homepage": "https://github.com/f5-sales-demo/marketplace/tree/main/plugins/brand",
|
|
68
|
+
"license": "Apache-2.0",
|
|
69
|
+
"keywords": ["brand", "design-system", "colors", "typography", "accessibility"],
|
|
70
|
+
"tags": ["brand", "design", "visual-identity", "f5xc"],
|
|
71
|
+
"repository": "https://github.com/f5-sales-demo/marketplace"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "meddpicc",
|
|
75
|
+
"description": "MEDDPICC sales qualification and deal-execution framework — evidence-based deal management, stakeholder mapping, mutual action plans, and forecast integrity for complex enterprise B2B sales",
|
|
76
|
+
"version": "7.5.8",
|
|
77
|
+
"author": {
|
|
78
|
+
"name": "f5-sales-demo"
|
|
79
|
+
},
|
|
80
|
+
"source": "./plugins/meddpicc",
|
|
81
|
+
"category": "productivity",
|
|
82
|
+
"homepage": "https://github.com/f5-sales-demo/marketplace/tree/main/plugins/meddpicc",
|
|
83
|
+
"license": "Apache-2.0",
|
|
84
|
+
"keywords": [
|
|
85
|
+
"meddpicc",
|
|
86
|
+
"sales-qualification",
|
|
87
|
+
"deal-management",
|
|
88
|
+
"enterprise-sales",
|
|
89
|
+
"forecast",
|
|
90
|
+
"champion",
|
|
91
|
+
"economic-buyer",
|
|
92
|
+
"mutual-action-plan",
|
|
93
|
+
"f5xc"
|
|
94
|
+
],
|
|
95
|
+
"tags": ["sales", "qualification", "deal-management", "forecast", "f5xc"],
|
|
96
|
+
"repository": "https://github.com/f5-sales-demo/marketplace"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "devcontainer",
|
|
100
|
+
"description": "Container awareness — tool catalog, self-identity, self-diagnosis, and maintenance for the f5-sales-demo devcontainer",
|
|
101
|
+
"version": "1.1.12",
|
|
102
|
+
"author": {
|
|
103
|
+
"name": "f5-sales-demo"
|
|
104
|
+
},
|
|
105
|
+
"source": "./plugins/devcontainer",
|
|
106
|
+
"category": "productivity",
|
|
107
|
+
"homepage": "https://github.com/f5-sales-demo/marketplace/tree/main/plugins/devcontainer",
|
|
108
|
+
"license": "Apache-2.0",
|
|
109
|
+
"keywords": ["devcontainer", "tools", "catalog", "cli", "inventory", "container"],
|
|
110
|
+
"tags": ["devcontainer", "tools", "catalog", "f5xc"],
|
|
111
|
+
"repository": "https://github.com/f5-sales-demo/marketplace"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "platform",
|
|
115
|
+
"description": "F5 Distributed Cloud automation with provider-neutral Secure Mesh Site v2 capabilities, typed configuration, one-use bootstrap checkout, status evidence, console access, and spec-aware REST operations.",
|
|
116
|
+
"version": "5.0.1",
|
|
117
|
+
"author": {
|
|
118
|
+
"name": "f5-sales-demo"
|
|
119
|
+
},
|
|
120
|
+
"source": "./plugins/platform",
|
|
121
|
+
"category": "productivity",
|
|
122
|
+
"homepage": "https://github.com/f5-sales-demo/marketplace/tree/main/plugins/platform",
|
|
123
|
+
"license": "Apache-2.0",
|
|
124
|
+
"keywords": [
|
|
125
|
+
"console",
|
|
126
|
+
"browser",
|
|
127
|
+
"automation",
|
|
128
|
+
"azure-sso",
|
|
129
|
+
"mcp",
|
|
130
|
+
"chrome-devtools",
|
|
131
|
+
"f5xc",
|
|
132
|
+
"api",
|
|
133
|
+
"rest",
|
|
134
|
+
"platform",
|
|
135
|
+
"openapi",
|
|
136
|
+
"crud",
|
|
137
|
+
"spec-aware"
|
|
138
|
+
],
|
|
139
|
+
"tags": ["console", "browser", "automation", "f5xc", "api", "platform", "openapi"],
|
|
140
|
+
"repository": "https://github.com/f5-sales-demo/marketplace"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"name": "osint-framework",
|
|
144
|
+
"description": "OSINT Framework tool catalog and investigation skills — 1,064 free intelligence-gathering tools across 34 categories, mapped from osintframework.com. Category-based skills, executable investigation pipelines, CLI tool execution, and OPSEC-aware workflows.",
|
|
145
|
+
"version": "1.0.7",
|
|
146
|
+
"author": {
|
|
147
|
+
"name": "f5-sales-demo"
|
|
148
|
+
},
|
|
149
|
+
"source": "./plugins/osint-framework",
|
|
150
|
+
"category": "security",
|
|
151
|
+
"homepage": "https://github.com/f5-sales-demo/marketplace/tree/main/plugins/osint-framework",
|
|
152
|
+
"license": "Apache-2.0",
|
|
153
|
+
"keywords": ["osint", "reconnaissance", "intelligence", "investigation", "security"],
|
|
154
|
+
"tags": ["osint", "recon", "security", "intelligence"],
|
|
155
|
+
"repository": "https://github.com/f5-sales-demo/marketplace"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "firecrawl",
|
|
159
|
+
"description": "Local self-hosted firecrawl web scraping — scrape, crawl, and map websites via the local firecrawl API on port 3002. No API keys, no subscriptions, fully open-source.",
|
|
160
|
+
"version": "1.1.3",
|
|
161
|
+
"author": {
|
|
162
|
+
"name": "f5-sales-demo"
|
|
163
|
+
},
|
|
164
|
+
"source": "./plugins/firecrawl",
|
|
165
|
+
"category": "productivity",
|
|
166
|
+
"homepage": "https://github.com/f5-sales-demo/marketplace/tree/main/plugins/firecrawl",
|
|
167
|
+
"license": "Apache-2.0",
|
|
168
|
+
"keywords": ["firecrawl", "scrape", "crawl", "web-scraping", "markdown", "self-hosted", "local", "open-source"],
|
|
169
|
+
"tags": ["firecrawl", "scraping", "web", "local"],
|
|
170
|
+
"repository": "https://github.com/f5-sales-demo/marketplace"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"name": "salesforce",
|
|
174
|
+
"description": "Salesforce pipeline intelligence — native xcsh tools (sf_setup, sf_query, sf_org_display, sf_pipeline_report), container-adapted authentication, context discovery, and pipeline reporting. Bridge to forcedotcom/afv-library skills for Apex, LWC, Flow, SOQL, metadata, and deployment.",
|
|
175
|
+
"version": "1.3.13",
|
|
176
|
+
"author": {
|
|
177
|
+
"name": "f5-sales-demo"
|
|
178
|
+
},
|
|
179
|
+
"source": "./plugins/salesforce",
|
|
180
|
+
"category": "development",
|
|
181
|
+
"keywords": [
|
|
182
|
+
"salesforce",
|
|
183
|
+
"sf",
|
|
184
|
+
"apex",
|
|
185
|
+
"lwc",
|
|
186
|
+
"soql",
|
|
187
|
+
"metadata",
|
|
188
|
+
"deploy",
|
|
189
|
+
"testing",
|
|
190
|
+
"sfdx",
|
|
191
|
+
"agentforce",
|
|
192
|
+
"pipeline",
|
|
193
|
+
"xcsh"
|
|
194
|
+
],
|
|
195
|
+
"tags": ["salesforce", "development", "cli", "crm", "xcsh-extension"],
|
|
196
|
+
"license": "Apache-2.0",
|
|
197
|
+
"homepage": "https://github.com/f5-sales-demo/marketplace/tree/main/plugins/salesforce",
|
|
198
|
+
"repository": "https://github.com/f5-sales-demo/marketplace",
|
|
199
|
+
"recommended": true,
|
|
200
|
+
"prerequisites": [
|
|
201
|
+
{
|
|
202
|
+
"tool": "sf",
|
|
203
|
+
"installCmd": "brew install sf",
|
|
204
|
+
"detectCmd": "sf version",
|
|
205
|
+
"authDetectCmd": "sf org display --json",
|
|
206
|
+
"authLoginCmd": "sf org login web"
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"name": "cloudstatus",
|
|
212
|
+
"description": "Live cloud status and Internet network intelligence for xcsh — current incidents, routing, registration, RPKI, peering, facilities, F5 Regional Edge evidence, and bounded path diagnostics",
|
|
213
|
+
"version": "1.5.3",
|
|
214
|
+
"author": {
|
|
215
|
+
"name": "f5-sales-demo"
|
|
216
|
+
},
|
|
217
|
+
"source": "./plugins/cloudstatus",
|
|
218
|
+
"category": "productivity",
|
|
219
|
+
"homepage": "https://github.com/f5-sales-demo/marketplace/tree/main/plugins/cloudstatus",
|
|
220
|
+
"license": "Apache-2.0",
|
|
221
|
+
"keywords": [
|
|
222
|
+
"status",
|
|
223
|
+
"monitoring",
|
|
224
|
+
"incidents",
|
|
225
|
+
"maintenance",
|
|
226
|
+
"statuspage",
|
|
227
|
+
"operational-intelligence",
|
|
228
|
+
"network-intelligence",
|
|
229
|
+
"bgp",
|
|
230
|
+
"rdap",
|
|
231
|
+
"rpki",
|
|
232
|
+
"routing",
|
|
233
|
+
"location",
|
|
234
|
+
"peeringdb",
|
|
235
|
+
"facilities",
|
|
236
|
+
"f5xc",
|
|
237
|
+
"atlassian"
|
|
238
|
+
],
|
|
239
|
+
"tags": ["status", "network-intelligence", "routing", "peering", "f5xc"],
|
|
240
|
+
"repository": "https://github.com/f5-sales-demo/marketplace"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "azure",
|
|
244
|
+
"description": "Azure CLI integration with official-source research, live F5 Customer Edge discovery, immutable plans, approved apply/resume, lifecycle, status, and diagnostics",
|
|
245
|
+
"version": "4.3.2",
|
|
246
|
+
"author": {
|
|
247
|
+
"name": "f5-sales-demo"
|
|
248
|
+
},
|
|
249
|
+
"source": "./plugins/azure",
|
|
250
|
+
"category": "development",
|
|
251
|
+
"keywords": ["azure", "az", "cloud", "f5xc", "customer-edge", "secure-mesh-site"],
|
|
252
|
+
"tags": ["azure", "cloud", "f5xc", "customer-edge", "xcsh-extension"],
|
|
253
|
+
"license": "Apache-2.0",
|
|
254
|
+
"homepage": "https://github.com/f5-sales-demo/marketplace/tree/main/plugins/azure",
|
|
255
|
+
"repository": "https://github.com/f5-sales-demo/marketplace",
|
|
256
|
+
"recommended": true,
|
|
257
|
+
"prerequisites": [
|
|
258
|
+
{
|
|
259
|
+
"tool": "az",
|
|
260
|
+
"installCmd": "brew install azure-cli",
|
|
261
|
+
"detectCmd": "az version",
|
|
262
|
+
"authDetectCmd": "az account show --output json",
|
|
263
|
+
"authLoginCmd": "az login"
|
|
264
|
+
}
|
|
265
|
+
]
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "aws",
|
|
269
|
+
"description": "AWS CLI integration with current-source F5 Customer Edge discovery, immutable plans, approved apply/resume, lifecycle, status, NLB/TGW networking, and diagnostics",
|
|
270
|
+
"version": "2.0.1",
|
|
271
|
+
"author": {
|
|
272
|
+
"name": "f5-sales-demo"
|
|
273
|
+
},
|
|
274
|
+
"source": "./plugins/aws",
|
|
275
|
+
"category": "development",
|
|
276
|
+
"keywords": ["aws", "amazon", "cloud", "f5xc", "customer-edge", "secure-mesh-site", "tgw", "nlb"],
|
|
277
|
+
"tags": ["aws", "cloud", "f5xc", "customer-edge", "xcsh-extension"],
|
|
278
|
+
"license": "Apache-2.0",
|
|
279
|
+
"homepage": "https://github.com/f5-sales-demo/marketplace/tree/main/plugins/aws",
|
|
280
|
+
"repository": "https://github.com/f5-sales-demo/marketplace",
|
|
281
|
+
"recommended": true,
|
|
282
|
+
"prerequisites": [
|
|
283
|
+
{
|
|
284
|
+
"tool": "aws",
|
|
285
|
+
"installCmd": "brew install awscli",
|
|
286
|
+
"detectCmd": "aws --version",
|
|
287
|
+
"authDetectCmd": "aws sts get-caller-identity --output json",
|
|
288
|
+
"authLoginCmd": "aws sso login"
|
|
289
|
+
}
|
|
290
|
+
]
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"name": "kvm",
|
|
294
|
+
"description": "Deterministic F5 Secure Mesh Site v2 lifecycle for KVM, libvirt, Terraform-owned FRR routing, health, traffic, drift recovery, destroy, and rebuild",
|
|
295
|
+
"version": "1.0.2",
|
|
296
|
+
"author": {
|
|
297
|
+
"name": "f5-sales-demo"
|
|
298
|
+
},
|
|
299
|
+
"source": "./plugins/kvm",
|
|
300
|
+
"category": "development",
|
|
301
|
+
"keywords": ["kvm", "libvirt", "qemu", "f5xc", "customer-edge", "secure-mesh-site", "frr", "terraform"],
|
|
302
|
+
"tags": ["kvm", "libvirt", "f5xc", "customer-edge", "xcsh-extension"],
|
|
303
|
+
"license": "Apache-2.0",
|
|
304
|
+
"homepage": "https://github.com/f5-sales-demo/marketplace/tree/main/plugins/kvm",
|
|
305
|
+
"repository": "https://github.com/f5-sales-demo/marketplace",
|
|
306
|
+
"recommended": true,
|
|
307
|
+
"prerequisites": [
|
|
308
|
+
{
|
|
309
|
+
"tool": "terraform",
|
|
310
|
+
"installCmd": "brew install terraform",
|
|
311
|
+
"detectCmd": "terraform version",
|
|
312
|
+
"authDetectCmd": "virsh --connect qemu:///system uri",
|
|
313
|
+
"authLoginCmd": "virsh --connect qemu:///system uri"
|
|
314
|
+
}
|
|
315
|
+
]
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"name": "gcloud",
|
|
319
|
+
"description": "Google Cloud CLI integration — container-adapted auth, context injection, CLI operator agent, token expiry detection, and welcome screen status",
|
|
320
|
+
"version": "1.2.8",
|
|
321
|
+
"author": {
|
|
322
|
+
"name": "f5-sales-demo"
|
|
323
|
+
},
|
|
324
|
+
"source": "./plugins/gcloud",
|
|
325
|
+
"category": "development",
|
|
326
|
+
"keywords": ["gcloud", "google", "cloud"],
|
|
327
|
+
"tags": ["gcloud", "google", "cloud", "xcsh-extension"],
|
|
328
|
+
"license": "Apache-2.0",
|
|
329
|
+
"homepage": "https://github.com/f5-sales-demo/marketplace/tree/main/plugins/gcloud",
|
|
330
|
+
"repository": "https://github.com/f5-sales-demo/marketplace",
|
|
331
|
+
"recommended": true,
|
|
332
|
+
"prerequisites": [
|
|
333
|
+
{
|
|
334
|
+
"tool": "gcloud",
|
|
335
|
+
"installCmd": "brew install google-cloud-sdk",
|
|
336
|
+
"detectCmd": "gcloud version",
|
|
337
|
+
"authDetectCmd": "gcloud auth print-access-token --quiet",
|
|
338
|
+
"authLoginCmd": "gcloud auth login"
|
|
339
|
+
}
|
|
340
|
+
]
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"name": "gitlab",
|
|
344
|
+
"description": "GitLab CLI integration — native xcsh tools, container-adapted auth, context injection, CLI operator agent, and welcome screen status via glab CLI",
|
|
345
|
+
"version": "1.2.7",
|
|
346
|
+
"author": {
|
|
347
|
+
"name": "f5-sales-demo"
|
|
348
|
+
},
|
|
349
|
+
"source": "./plugins/gitlab",
|
|
350
|
+
"category": "development",
|
|
351
|
+
"keywords": ["gitlab", "glab", "issues", "git"],
|
|
352
|
+
"tags": ["gitlab", "development", "cli", "xcsh-extension"],
|
|
353
|
+
"license": "Apache-2.0",
|
|
354
|
+
"homepage": "https://github.com/f5-sales-demo/marketplace/tree/main/plugins/gitlab",
|
|
355
|
+
"repository": "https://github.com/f5-sales-demo/marketplace",
|
|
356
|
+
"recommended": true,
|
|
357
|
+
"prerequisites": [
|
|
358
|
+
{
|
|
359
|
+
"tool": "glab",
|
|
360
|
+
"installCmd": "brew install glab",
|
|
361
|
+
"detectCmd": "glab version",
|
|
362
|
+
"authDetectCmd": "glab auth status",
|
|
363
|
+
"authLoginCmd": "glab auth login"
|
|
364
|
+
}
|
|
365
|
+
]
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"name": "github",
|
|
369
|
+
"description": "Poweruser GitHub & Git Operations plugin combining direct native CLI mastery (git and gh) with complete Git SOPs workflow governance (issue-driven development, PR lifecycle, CI polling, auto-merge, post-merge teardown, and rate limit management)",
|
|
370
|
+
"version": "2.0.4",
|
|
371
|
+
"author": {
|
|
372
|
+
"name": "f5-sales-demo"
|
|
373
|
+
},
|
|
374
|
+
"source": "./plugins/github",
|
|
375
|
+
"category": "development",
|
|
376
|
+
"keywords": ["github", "gh", "git", "pr", "issues", "ci", "workflow", "git-sops", "github-ops"],
|
|
377
|
+
"tags": ["github", "development", "cli", "workflow", "xcsh-extension"],
|
|
378
|
+
"license": "Apache-2.0",
|
|
379
|
+
"homepage": "https://github.com/f5-sales-demo/marketplace/tree/main/plugins/github",
|
|
380
|
+
"repository": "https://github.com/f5-sales-demo/marketplace",
|
|
381
|
+
"recommended": true,
|
|
382
|
+
"prerequisites": [
|
|
383
|
+
{
|
|
384
|
+
"tool": "git",
|
|
385
|
+
"detectCmd": "git --version"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"tool": "gh",
|
|
389
|
+
"installCmd": "brew install gh",
|
|
390
|
+
"detectCmd": "gh version",
|
|
391
|
+
"authDetectCmd": "gh auth status",
|
|
392
|
+
"authLoginCmd": "gh auth login"
|
|
393
|
+
}
|
|
394
|
+
]
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"name": "herdr",
|
|
398
|
+
"description": "Control Herdr, a terminal multiplexer for coding agents — inspect workspaces, tabs and panes, split panes, run commands without stealing focus, read pane output, and coordinate sibling agents. Requires HERDR_ENV=1.",
|
|
399
|
+
"version": "1.0.3",
|
|
400
|
+
"author": {
|
|
401
|
+
"name": "f5-sales-demo"
|
|
402
|
+
},
|
|
403
|
+
"source": "./plugins/herdr",
|
|
404
|
+
"category": "development",
|
|
405
|
+
"keywords": ["herdr", "terminal", "multiplexer", "panes", "agents"],
|
|
406
|
+
"tags": ["terminal", "orchestration", "agents", "xcsh-extension"],
|
|
407
|
+
"license": "Apache-2.0",
|
|
408
|
+
"homepage": "https://github.com/f5-sales-demo/marketplace/tree/main/plugins/herdr",
|
|
409
|
+
"repository": "https://github.com/f5-sales-demo/marketplace"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"name": "asm-migration",
|
|
413
|
+
"description": "Deterministic BIG-IP ASM conversion and guarded F5 Distributed Cloud deployment",
|
|
414
|
+
"version": "2.0.10",
|
|
415
|
+
"author": {
|
|
416
|
+
"name": "f5-sales-demo"
|
|
417
|
+
},
|
|
418
|
+
"source": "./plugins/asm-migration",
|
|
419
|
+
"category": "security",
|
|
420
|
+
"keywords": ["asm", "waf", "migration", "f5xc", "xcsh-extension"],
|
|
421
|
+
"tags": ["asm", "waf", "security", "migration", "f5xc"],
|
|
422
|
+
"license": "Apache-2.0",
|
|
423
|
+
"homepage": "https://github.com/f5-sales-demo/marketplace/tree/main/plugins/asm-migration",
|
|
424
|
+
"repository": "https://github.com/f5-sales-demo/marketplace",
|
|
425
|
+
"recommended": false
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"name": "terraform",
|
|
429
|
+
"description": "Senior DevOps Infrastructure-as-Code plugin providing HashiCorp Registry proactive version checks, HCL authoring, testing frameworks, and troubleshooting playbooks.",
|
|
430
|
+
"version": "2.0.0",
|
|
431
|
+
"author": {
|
|
432
|
+
"name": "f5-sales-demo"
|
|
433
|
+
},
|
|
434
|
+
"source": "./plugins/terraform",
|
|
435
|
+
"category": "development",
|
|
436
|
+
"keywords": ["terraform", "hcl", "iac", "devops", "hashicorp", "testing", "troubleshooting"],
|
|
437
|
+
"tags": ["terraform", "iac", "devops", "f5xc"],
|
|
438
|
+
"license": "Apache-2.0",
|
|
439
|
+
"homepage": "https://github.com/f5-sales-demo/marketplace/tree/main/plugins/terraform",
|
|
440
|
+
"repository": "https://github.com/f5-sales-demo/marketplace"
|
|
441
|
+
}
|
|
442
|
+
]
|
|
443
|
+
}\n`;
|
|
444
|
+
|
|
445
|
+
export default builtinMarketplaceSnapshot;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"repository": "https://github.com/f5-sales-demo/marketplace",
|
|
3
|
+
"sourcePath": ".xcsh-plugin/marketplace.json",
|
|
4
|
+
"commit": "8b7067c1a8358808f4927772a8755769c1ce2af9",
|
|
5
|
+
"sha256": "37f6507b6bc3fe1940abe1ad689b17047142770fc58d1bc8e7a27d99c285662d",
|
|
6
|
+
"capturedAt": "2026-09-16T08:39:46-04:00"
|
|
7
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { createHash } from "node:crypto";
|
|
2
|
+
import provenance from "./builtin-marketplace.provenance.json";
|
|
3
|
+
import snapshotJson from "./builtin-marketplace-snapshot";
|
|
4
|
+
import { parseMarketplaceCatalog } from "./fetcher";
|
|
5
|
+
import type { MarketplaceCatalog, MarketplaceRegistryEntry } from "./types";
|
|
6
|
+
|
|
7
|
+
export const BUILTIN_MARKETPLACE_NAME = "f5-sales-demo-marketplace";
|
|
8
|
+
export const BUILTIN_MARKETPLACE_SOURCE = "f5-sales-demo/marketplace";
|
|
9
|
+
export const BUILTIN_MARKETPLACE_PROVENANCE = provenance;
|
|
10
|
+
|
|
11
|
+
export function isBuiltinMarketplaceSource(source: string): boolean {
|
|
12
|
+
const normalized = source
|
|
13
|
+
.trim()
|
|
14
|
+
.toLowerCase()
|
|
15
|
+
.replace(/^git@github\.com:/, "")
|
|
16
|
+
.replace(/^https?:\/\/github\.com\//, "")
|
|
17
|
+
.replace(/\.git$/, "")
|
|
18
|
+
.replace(/\/$/, "");
|
|
19
|
+
return normalized === BUILTIN_MARKETPLACE_SOURCE;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export function getBuiltinMarketplaceSnapshot(): { catalog: MarketplaceCatalog; json: string } {
|
|
23
|
+
const actual = createHash("sha256").update(snapshotJson).digest("hex");
|
|
24
|
+
if (actual !== provenance.sha256) {
|
|
25
|
+
throw new Error(
|
|
26
|
+
`Built-in marketplace snapshot failed integrity validation: expected ${provenance.sha256}, got ${actual}`,
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
const catalog = parseMarketplaceCatalog(snapshotJson, `embedded:${provenance.sourcePath}`);
|
|
30
|
+
if (catalog.name !== BUILTIN_MARKETPLACE_NAME) {
|
|
31
|
+
throw new Error(
|
|
32
|
+
`Built-in marketplace snapshot name must be "${BUILTIN_MARKETPLACE_NAME}", got "${catalog.name}"`,
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
return { catalog, json: snapshotJson };
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function createBuiltinMarketplaceEntry(catalogPath: string): MarketplaceRegistryEntry {
|
|
39
|
+
return {
|
|
40
|
+
name: BUILTIN_MARKETPLACE_NAME,
|
|
41
|
+
sourceType: "github",
|
|
42
|
+
sourceUri: BUILTIN_MARKETPLACE_SOURCE,
|
|
43
|
+
catalogPath,
|
|
44
|
+
addedAt: provenance.capturedAt,
|
|
45
|
+
updatedAt: provenance.capturedAt,
|
|
46
|
+
enabled: true,
|
|
47
|
+
builtIn: true,
|
|
48
|
+
};
|
|
49
|
+
}
|