@salesforce/b2c-dx-mcp 3.0.0 → 3.0.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/dist/commands/mcp.d.ts +1 -0
- package/dist/commands/mcp.js +7 -0
- package/oclif.manifest.json +8 -1
- package/package.json +1 -1
package/dist/commands/mcp.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export default class McpServerCommand extends BaseCommand<typeof McpServerComman
|
|
|
20
20
|
command: string;
|
|
21
21
|
}[];
|
|
22
22
|
static flags: {
|
|
23
|
+
'allow-non-ga-tools': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
23
24
|
toolsets: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
24
25
|
tools: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
25
26
|
'docs-topics': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
package/dist/commands/mcp.js
CHANGED
|
@@ -182,6 +182,10 @@ export default class McpServerCommand extends BaseCommand {
|
|
|
182
182
|
// Inherit Instance flags (server, code-version, username, password, client-id, client-secret)
|
|
183
183
|
// These provide B2C instance configuration for tools like cartridge_deploy
|
|
184
184
|
...InstanceCommand.baseFlags,
|
|
185
|
+
'allow-non-ga-tools': Flags.boolean({
|
|
186
|
+
description: 'Deprecated compatibility flag; has no effect',
|
|
187
|
+
hidden: true,
|
|
188
|
+
}),
|
|
185
189
|
// MCP-specific toolset selection flags
|
|
186
190
|
toolsets: Flags.string({
|
|
187
191
|
description: `Toolsets to enable (comma-separated; default: all). Options: all, ${TOOLSETS.join(', ')}`,
|
|
@@ -346,6 +350,9 @@ export default class McpServerCommand extends BaseCommand {
|
|
|
346
350
|
* These can be exposed to Services if needed for features like telemetry or caching.
|
|
347
351
|
*/
|
|
348
352
|
async run() {
|
|
353
|
+
if (this.flags['allow-non-ga-tools']) {
|
|
354
|
+
this.logger.warn('--allow-non-ga-tools is deprecated and has no effect. You can remove it from your MCP configuration.');
|
|
355
|
+
}
|
|
349
356
|
// Flags are already parsed by BaseCommand.init()
|
|
350
357
|
// Parse toolsets and tools from comma-separated strings
|
|
351
358
|
// Note: toolsets are uppercased, tools are lowercased by their parse functions
|
package/oclif.manifest.json
CHANGED
|
@@ -420,6 +420,13 @@
|
|
|
420
420
|
],
|
|
421
421
|
"type": "option"
|
|
422
422
|
},
|
|
423
|
+
"allow-non-ga-tools": {
|
|
424
|
+
"description": "Deprecated compatibility flag; has no effect",
|
|
425
|
+
"hidden": true,
|
|
426
|
+
"name": "allow-non-ga-tools",
|
|
427
|
+
"allowNo": false,
|
|
428
|
+
"type": "boolean"
|
|
429
|
+
},
|
|
423
430
|
"toolsets": {
|
|
424
431
|
"description": "Toolsets to enable (comma-separated; default: all). Options: all, CARTRIDGES, DIAGNOSTICS, MRT, PWAV3, SCAPI, STOREFRONTNEXT, CIP",
|
|
425
432
|
"env": "SFCC_TOOLSETS",
|
|
@@ -455,5 +462,5 @@
|
|
|
455
462
|
"enableJsonFlag": false
|
|
456
463
|
}
|
|
457
464
|
},
|
|
458
|
-
"version": "3.0.
|
|
465
|
+
"version": "3.0.1"
|
|
459
466
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/b2c-dx-mcp",
|
|
3
3
|
"description": "MCP server for B2C Commerce developer experience tools",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.1",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": "SalesforceCommerceCloud/b2c-developer-tooling",
|