@provartesting/provardx-cli 1.5.0-dev → 1.5.0-dev.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/oclif.manifest.json +56 -56
- package/package.json +20 -11
package/oclif.manifest.json
CHANGED
|
@@ -1,60 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"provar:mcp:start": {
|
|
4
|
-
"aliases": [],
|
|
5
|
-
"args": {},
|
|
6
|
-
"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.",
|
|
7
|
-
"examples": [
|
|
8
|
-
"Start MCP server (accepts stdio connections from Claude Desktop / Cursor):\n<%= config.bin %> <%= command.id %>",
|
|
9
|
-
"Start with explicit allowed paths:\n<%= config.bin %> <%= command.id %> --allowed-paths /workspace/provar",
|
|
10
|
-
"Allow multiple project directories:\n<%= config.bin %> <%= command.id %> -a /workspace/project-a -a /workspace/project-b"
|
|
11
|
-
],
|
|
12
|
-
"flags": {
|
|
13
|
-
"allowed-paths": {
|
|
14
|
-
"char": "a",
|
|
15
|
-
"name": "allowed-paths",
|
|
16
|
-
"summary": "Allowed base directory paths for file operations. Defaults to current directory.",
|
|
17
|
-
"default": [
|
|
18
|
-
"/home/runner/work/provardx-cli/provardx-cli"
|
|
19
|
-
],
|
|
20
|
-
"hasDynamicHelp": false,
|
|
21
|
-
"multiple": true,
|
|
22
|
-
"type": "option"
|
|
23
|
-
},
|
|
24
|
-
"auto-defects": {
|
|
25
|
-
"name": "auto-defects",
|
|
26
|
-
"summary": "When enabled, testrun.report suggestions will prompt defect creation on failures.",
|
|
27
|
-
"allowNo": false,
|
|
28
|
-
"type": "boolean"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"hasDynamicHelp": false,
|
|
32
|
-
"hiddenAliases": [],
|
|
33
|
-
"id": "provar:mcp:start",
|
|
34
|
-
"pluginAlias": "@provartesting/provardx-cli",
|
|
35
|
-
"pluginName": "@provartesting/provardx-cli",
|
|
36
|
-
"pluginType": "core",
|
|
37
|
-
"strict": true,
|
|
38
|
-
"summary": "Start a local MCP server for Provar tools over stdio transport.",
|
|
39
|
-
"enableJsonFlag": false,
|
|
40
|
-
"isESM": true,
|
|
41
|
-
"relativePath": [
|
|
42
|
-
"lib",
|
|
43
|
-
"commands",
|
|
44
|
-
"provar",
|
|
45
|
-
"mcp",
|
|
46
|
-
"start.js"
|
|
47
|
-
],
|
|
48
|
-
"aliasPermutations": [],
|
|
49
|
-
"permutations": [
|
|
50
|
-
"provar:mcp:start",
|
|
51
|
-
"mcp:provar:start",
|
|
52
|
-
"mcp:start:provar",
|
|
53
|
-
"provar:start:mcp",
|
|
54
|
-
"start:provar:mcp",
|
|
55
|
-
"start:mcp:provar"
|
|
56
|
-
]
|
|
57
|
-
},
|
|
58
3
|
"provar:config:get": {
|
|
59
4
|
"aliases": [],
|
|
60
5
|
"args": {},
|
|
@@ -161,6 +106,61 @@
|
|
|
161
106
|
"set:config:provar"
|
|
162
107
|
]
|
|
163
108
|
},
|
|
109
|
+
"provar:mcp:start": {
|
|
110
|
+
"aliases": [],
|
|
111
|
+
"args": {},
|
|
112
|
+
"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.",
|
|
113
|
+
"examples": [
|
|
114
|
+
"Start MCP server (accepts stdio connections from Claude Desktop / Cursor):\n<%= config.bin %> <%= command.id %>",
|
|
115
|
+
"Start with explicit allowed paths:\n<%= config.bin %> <%= command.id %> --allowed-paths /workspace/provar",
|
|
116
|
+
"Allow multiple project directories:\n<%= config.bin %> <%= command.id %> -a /workspace/project-a -a /workspace/project-b"
|
|
117
|
+
],
|
|
118
|
+
"flags": {
|
|
119
|
+
"allowed-paths": {
|
|
120
|
+
"char": "a",
|
|
121
|
+
"name": "allowed-paths",
|
|
122
|
+
"summary": "Allowed base directory paths for file operations. Defaults to current directory.",
|
|
123
|
+
"default": [
|
|
124
|
+
"/home/runner/work/provardx-cli/provardx-cli"
|
|
125
|
+
],
|
|
126
|
+
"hasDynamicHelp": false,
|
|
127
|
+
"multiple": true,
|
|
128
|
+
"type": "option"
|
|
129
|
+
},
|
|
130
|
+
"auto-defects": {
|
|
131
|
+
"name": "auto-defects",
|
|
132
|
+
"summary": "When enabled, testrun.report suggestions will prompt defect creation on failures.",
|
|
133
|
+
"allowNo": false,
|
|
134
|
+
"type": "boolean"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"hasDynamicHelp": false,
|
|
138
|
+
"hiddenAliases": [],
|
|
139
|
+
"id": "provar:mcp:start",
|
|
140
|
+
"pluginAlias": "@provartesting/provardx-cli",
|
|
141
|
+
"pluginName": "@provartesting/provardx-cli",
|
|
142
|
+
"pluginType": "core",
|
|
143
|
+
"strict": true,
|
|
144
|
+
"summary": "Start a local MCP server for Provar tools over stdio transport.",
|
|
145
|
+
"enableJsonFlag": false,
|
|
146
|
+
"isESM": true,
|
|
147
|
+
"relativePath": [
|
|
148
|
+
"lib",
|
|
149
|
+
"commands",
|
|
150
|
+
"provar",
|
|
151
|
+
"mcp",
|
|
152
|
+
"start.js"
|
|
153
|
+
],
|
|
154
|
+
"aliasPermutations": [],
|
|
155
|
+
"permutations": [
|
|
156
|
+
"provar:mcp:start",
|
|
157
|
+
"mcp:provar:start",
|
|
158
|
+
"mcp:start:provar",
|
|
159
|
+
"provar:start:mcp",
|
|
160
|
+
"start:provar:mcp",
|
|
161
|
+
"start:mcp:provar"
|
|
162
|
+
]
|
|
163
|
+
},
|
|
164
164
|
"provar:quality-hub:connect": {
|
|
165
165
|
"aliases": [
|
|
166
166
|
"provar:manager:connect"
|
|
@@ -1739,5 +1739,5 @@
|
|
|
1739
1739
|
]
|
|
1740
1740
|
}
|
|
1741
1741
|
},
|
|
1742
|
-
"version": "1.5.0-dev"
|
|
1742
|
+
"version": "1.5.0-dev.1"
|
|
1743
1743
|
}
|
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-dev",
|
|
4
|
+
"version": "1.5.0-dev.1",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"plugins": [
|
|
7
7
|
"@provartesting/provardx-plugins-automation",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"@modelcontextprotocol/sdk": "^1.8.0",
|
|
12
12
|
"@oclif/core": "^3.26.2",
|
|
13
13
|
"@provartesting/provardx-plugins-automation": "1.2.2-dev.0",
|
|
14
|
-
"@provartesting/provardx-plugins-manager": "1.3.2-dev.
|
|
14
|
+
"@provartesting/provardx-plugins-manager": "1.3.2-dev.1",
|
|
15
15
|
"@provartesting/provardx-plugins-utils": "1.3.2-dev.0",
|
|
16
16
|
"@salesforce/core": "^6.5.1",
|
|
17
17
|
"@salesforce/kit": "^3.0.15",
|
|
@@ -70,11 +70,22 @@
|
|
|
70
70
|
"mcp": {
|
|
71
71
|
"description": "Commands to start and manage the Provar MCP server."
|
|
72
72
|
},
|
|
73
|
+
"config": {
|
|
74
|
+
"description": "Commands to manage ProvarDX property configuration files."
|
|
75
|
+
},
|
|
76
|
+
"manager": {
|
|
77
|
+
"description": "Commands to connect and interact with Provar Quality Hub."
|
|
78
|
+
},
|
|
73
79
|
"quality-hub": {
|
|
74
80
|
"description": "Commands to connect and interact with Provar Quality Hub.",
|
|
75
81
|
"subtopics": {
|
|
76
82
|
"test": {
|
|
77
|
-
"description": "Operations related to Quality Hub test runs."
|
|
83
|
+
"description": "Operations related to Quality Hub test runs.",
|
|
84
|
+
"subtopics": {
|
|
85
|
+
"run": {
|
|
86
|
+
"description": "Commands to launch, monitor, abort, and report on Quality Hub test runs."
|
|
87
|
+
}
|
|
88
|
+
}
|
|
78
89
|
},
|
|
79
90
|
"testcase": {
|
|
80
91
|
"description": "Operations related to Quality Hub test cases."
|
|
@@ -82,21 +93,19 @@
|
|
|
82
93
|
}
|
|
83
94
|
},
|
|
84
95
|
"automation": {
|
|
85
|
-
"description": "
|
|
96
|
+
"description": "Commands to interact with Provar Automation.",
|
|
86
97
|
"subtopics": {
|
|
87
98
|
"config": {
|
|
88
|
-
"description": "
|
|
99
|
+
"description": "Commands to generate and manage the provardx-properties configuration file."
|
|
89
100
|
},
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"description": "commands to download metadata for required connections."
|
|
93
|
-
}
|
|
101
|
+
"metadata": {
|
|
102
|
+
"description": "Commands to download required metadata for Salesforce connections."
|
|
94
103
|
},
|
|
95
104
|
"test": {
|
|
96
|
-
"description": "
|
|
105
|
+
"description": "Commands to execute and manage Provar Automation test runs."
|
|
97
106
|
},
|
|
98
107
|
"project": {
|
|
99
|
-
"description": "
|
|
108
|
+
"description": "Commands to compile and manage Provar Automation projects."
|
|
100
109
|
}
|
|
101
110
|
}
|
|
102
111
|
}
|