@provartesting/provardx-cli 1.5.0-beta.5 → 1.5.0-beta.6

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.
@@ -1,7 +1,9 @@
1
1
  # summary
2
+
2
3
  Show the current Provar API key configuration status.
3
4
 
4
5
  # description
6
+
5
7
  Reports where the active API key comes from (environment variable or stored file),
6
8
  shows the key prefix and when it was set, and states whether validation will use the
7
9
  Quality Hub API or local rules only. The full key is never printed.
@@ -9,5 +11,6 @@ Quality Hub API or local rules only. The full key is never printed.
9
11
  If no key is configured, guidance is shown for logging in or requesting access.
10
12
 
11
13
  # examples
14
+
12
15
  - Check auth status:
13
16
  <%= config.bin %> <%= command.id %>
@@ -213,69 +213,6 @@
213
213
  "status:auth:provar"
214
214
  ]
215
215
  },
216
- "provar:mcp:start": {
217
- "aliases": [],
218
- "args": {},
219
- "description": "Launches a stateless MCP (Model Context Protocol) server that exposes Provar tools to\nAI assistants (Claude Desktop, Claude Code, Cursor) via stdio transport. All MCP\nJSON-RPC communication happens over stdout; all internal logging goes to stderr.\n\nAvailable tools:\n\n Project & inspection:\n - provar.project.inspect — inspect project folder inventory\n - provar.project.validate — validate full project from disk: coverage, quality scores\n\n Page Object:\n - provar.pageobject.generate — generate a Java Page Object skeleton\n - provar.pageobject.validate — validate Page Object quality and naming\n\n Test Case:\n - provar.testcase.generate — generate an XML test case skeleton\n - provar.testcase.validate — validate test case XML (validity + best-practices scores)\n\n Test Suite / Plan:\n - provar.testsuite.validate — validate test suite hierarchy\n - provar.testplan.validate — validate test plan metadata completeness\n - provar.testplan.create-suite — create a test suite under a plan\n - provar.testplan.add-instance — add a test instance to a plan\n - provar.testplan.remove-instance — remove a test instance from a plan\n\n Properties files:\n - provar.properties.read — read a Provar properties file\n - provar.properties.set — set a key in a Provar properties file\n - provar.properties.validate — validate a properties file structure\n - provar.properties.generate — generate a properties file skeleton\n\n Quality Hub (sf provar quality-hub wrappers):\n - provar.qualityhub.connect — connect to a Quality Hub org\n - provar.qualityhub.display — display connected org info\n - provar.qualityhub.testrun — trigger a Quality Hub test run\n - provar.qualityhub.testrun.report — poll test run status\n - provar.qualityhub.testrun.abort — abort a running test run\n - provar.qualityhub.testcase.retrieve — retrieve test case results\n - provar.qualityhub.defect.create — create defects for failed test executions\n\n Automation (sf provar automation wrappers):\n - provar.automation.setup — set up the Provar Automation runtime\n - provar.automation.metadata.download — download Salesforce metadata\n - provar.automation.compile — compile Provar test assets\n - provar.automation.testrun — run Provar tests\n - provar.automation.config.load — load a Provar configuration\n\n ANT build:\n - provar.ant.generate — generate an ANT build.xml\n - provar.ant.validate — validate an ANT build.xml\n\n Test result analysis:\n - provar.testrun.rca — root cause analysis on a test result\n - provar.testrun.report.locate — locate a test result report\n\nFor full tool documentation see docs/mcp.md in this repository.",
220
- "examples": [
221
- "Start MCP server (accepts stdio connections from Claude Desktop / Cursor):\n<%= config.bin %> <%= command.id %>",
222
- "Start with explicit allowed paths:\n<%= config.bin %> <%= command.id %> --allowed-paths /workspace/provar",
223
- "Allow multiple project directories:\n<%= config.bin %> <%= command.id %> -a /workspace/project-a -a /workspace/project-b"
224
- ],
225
- "flags": {
226
- "flags-dir": {
227
- "helpGroup": "GLOBAL",
228
- "name": "flags-dir",
229
- "summary": "Import flag values from a directory.",
230
- "hasDynamicHelp": false,
231
- "multiple": false,
232
- "type": "option"
233
- },
234
- "allowed-paths": {
235
- "char": "a",
236
- "name": "allowed-paths",
237
- "summary": "Allowed base directory paths for file operations. Defaults to current directory.",
238
- "default": [
239
- "/home/runner/work/provardx-cli/provardx-cli"
240
- ],
241
- "hasDynamicHelp": false,
242
- "multiple": true,
243
- "type": "option"
244
- },
245
- "auto-defects": {
246
- "name": "auto-defects",
247
- "summary": "When enabled, testrun.report suggestions will prompt defect creation on failures.",
248
- "allowNo": false,
249
- "type": "boolean"
250
- }
251
- },
252
- "hasDynamicHelp": false,
253
- "hiddenAliases": [],
254
- "id": "provar:mcp:start",
255
- "pluginAlias": "@provartesting/provardx-cli",
256
- "pluginName": "@provartesting/provardx-cli",
257
- "pluginType": "core",
258
- "strict": true,
259
- "summary": "Start a local MCP server for Provar tools over stdio transport.",
260
- "enableJsonFlag": false,
261
- "isESM": true,
262
- "relativePath": [
263
- "lib",
264
- "commands",
265
- "provar",
266
- "mcp",
267
- "start.js"
268
- ],
269
- "aliasPermutations": [],
270
- "permutations": [
271
- "provar:mcp:start",
272
- "mcp:provar:start",
273
- "mcp:start:provar",
274
- "provar:start:mcp",
275
- "start:provar:mcp",
276
- "start:mcp:provar"
277
- ]
278
- },
279
216
  "provar:config:get": {
280
217
  "aliases": [],
281
218
  "args": {},
@@ -398,6 +335,69 @@
398
335
  "set:config:provar"
399
336
  ]
400
337
  },
338
+ "provar:mcp:start": {
339
+ "aliases": [],
340
+ "args": {},
341
+ "description": "Launches a stateless MCP (Model Context Protocol) server that exposes Provar tools to\nAI assistants (Claude Desktop, Claude Code, Cursor) via stdio transport. All MCP\nJSON-RPC communication happens over stdout; all internal logging goes to stderr.\n\nAvailable tools:\n\n Project & inspection:\n - provar.project.inspect — inspect project folder inventory\n - provar.project.validate — validate full project from disk: coverage, quality scores\n\n Page Object:\n - provar.pageobject.generate — generate a Java Page Object skeleton\n - provar.pageobject.validate — validate Page Object quality and naming\n\n Test Case:\n - provar.testcase.generate — generate an XML test case skeleton\n - provar.testcase.validate — validate test case XML (validity + best-practices scores)\n\n Test Suite / Plan:\n - provar.testsuite.validate — validate test suite hierarchy\n - provar.testplan.validate — validate test plan metadata completeness\n - provar.testplan.create-suite — create a test suite under a plan\n - provar.testplan.add-instance — add a test instance to a plan\n - provar.testplan.remove-instance — remove a test instance from a plan\n\n Properties files:\n - provar.properties.read — read a Provar properties file\n - provar.properties.set — set a key in a Provar properties file\n - provar.properties.validate — validate a properties file structure\n - provar.properties.generate — generate a properties file skeleton\n\n Quality Hub (sf provar quality-hub wrappers):\n - provar.qualityhub.connect — connect to a Quality Hub org\n - provar.qualityhub.display — display connected org info\n - provar.qualityhub.testrun — trigger a Quality Hub test run\n - provar.qualityhub.testrun.report — poll test run status\n - provar.qualityhub.testrun.abort — abort a running test run\n - provar.qualityhub.testcase.retrieve — retrieve test case results\n - provar.qualityhub.defect.create — create defects for failed test executions\n\n Automation (sf provar automation wrappers):\n - provar.automation.setup — set up the Provar Automation runtime\n - provar.automation.metadata.download — download Salesforce metadata\n - provar.automation.compile — compile Provar test assets\n - provar.automation.testrun — run Provar tests\n - provar.automation.config.load — load a Provar configuration\n\n ANT build:\n - provar.ant.generate — generate an ANT build.xml\n - provar.ant.validate — validate an ANT build.xml\n\n Test result analysis:\n - provar.testrun.rca — root cause analysis on a test result\n - provar.testrun.report.locate — locate a test result report\n\nFor full tool documentation see docs/mcp.md in this repository.",
342
+ "examples": [
343
+ "Start MCP server (accepts stdio connections from Claude Desktop / Cursor):\n<%= config.bin %> <%= command.id %>",
344
+ "Start with explicit allowed paths:\n<%= config.bin %> <%= command.id %> --allowed-paths /workspace/provar",
345
+ "Allow multiple project directories:\n<%= config.bin %> <%= command.id %> -a /workspace/project-a -a /workspace/project-b"
346
+ ],
347
+ "flags": {
348
+ "flags-dir": {
349
+ "helpGroup": "GLOBAL",
350
+ "name": "flags-dir",
351
+ "summary": "Import flag values from a directory.",
352
+ "hasDynamicHelp": false,
353
+ "multiple": false,
354
+ "type": "option"
355
+ },
356
+ "allowed-paths": {
357
+ "char": "a",
358
+ "name": "allowed-paths",
359
+ "summary": "Allowed base directory paths for file operations. Defaults to current directory.",
360
+ "default": [
361
+ "/home/runner/work/provardx-cli/provardx-cli"
362
+ ],
363
+ "hasDynamicHelp": false,
364
+ "multiple": true,
365
+ "type": "option"
366
+ },
367
+ "auto-defects": {
368
+ "name": "auto-defects",
369
+ "summary": "When enabled, testrun.report suggestions will prompt defect creation on failures.",
370
+ "allowNo": false,
371
+ "type": "boolean"
372
+ }
373
+ },
374
+ "hasDynamicHelp": false,
375
+ "hiddenAliases": [],
376
+ "id": "provar:mcp:start",
377
+ "pluginAlias": "@provartesting/provardx-cli",
378
+ "pluginName": "@provartesting/provardx-cli",
379
+ "pluginType": "core",
380
+ "strict": true,
381
+ "summary": "Start a local MCP server for Provar tools over stdio transport.",
382
+ "enableJsonFlag": false,
383
+ "isESM": true,
384
+ "relativePath": [
385
+ "lib",
386
+ "commands",
387
+ "provar",
388
+ "mcp",
389
+ "start.js"
390
+ ],
391
+ "aliasPermutations": [],
392
+ "permutations": [
393
+ "provar:mcp:start",
394
+ "mcp:provar:start",
395
+ "mcp:start:provar",
396
+ "provar:start:mcp",
397
+ "start:provar:mcp",
398
+ "start:mcp:provar"
399
+ ]
400
+ },
401
401
  "provar:quality-hub:connect": {
402
402
  "aliases": [
403
403
  "provar:manager:connect"
@@ -2024,5 +2024,5 @@
2024
2024
  ]
2025
2025
  }
2026
2026
  },
2027
- "version": "1.5.0-beta.5"
2027
+ "version": "1.5.0-beta.6"
2028
2028
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@provartesting/provardx-cli",
3
3
  "description": "A plugin for the Salesforce CLI to orchestrate testing activities and report quality metrics to Provar Quality Hub",
4
- "version": "1.5.0-beta.5",
4
+ "version": "1.5.0-beta.6",
5
5
  "license": "BSD-3-Clause",
6
6
  "plugins": [
7
7
  "@provartesting/provardx-plugins-automation",