@wireweave/mcp-server 1.2.0 → 1.3.0-beta.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/dist/index.js +18 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28,13 +28,18 @@ var tools = [
|
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
name: "wireweave_validate",
|
|
31
|
-
description: "Validate Wireweave DSL syntax without generating output",
|
|
31
|
+
description: "Validate Wireweave DSL syntax without generating output. Use strict mode to also check for unknown attributes.",
|
|
32
32
|
inputSchema: {
|
|
33
33
|
"type": "object",
|
|
34
34
|
"properties": {
|
|
35
35
|
"source": {
|
|
36
36
|
"type": "string",
|
|
37
37
|
"description": "The Wireweave DSL source code to validate"
|
|
38
|
+
},
|
|
39
|
+
"strict": {
|
|
40
|
+
"type": "boolean",
|
|
41
|
+
"description": "Enable strict mode to also validate that only known attributes are used. Recommended for catching typos and incorrect attribute names.",
|
|
42
|
+
"default": false
|
|
38
43
|
}
|
|
39
44
|
},
|
|
40
45
|
"required": [
|
|
@@ -148,7 +153,11 @@ var tools = [
|
|
|
148
153
|
"form",
|
|
149
154
|
"touch-target",
|
|
150
155
|
"consistency",
|
|
151
|
-
"navigation"
|
|
156
|
+
"navigation",
|
|
157
|
+
"feedback",
|
|
158
|
+
"content",
|
|
159
|
+
"data-display",
|
|
160
|
+
"interaction"
|
|
152
161
|
]
|
|
153
162
|
},
|
|
154
163
|
"description": "UX rule categories to check. If not specified, all categories are checked."
|
|
@@ -166,6 +175,13 @@ var tools = [
|
|
|
166
175
|
"maxIssues": {
|
|
167
176
|
"type": "number",
|
|
168
177
|
"description": "Maximum number of issues to return"
|
|
178
|
+
},
|
|
179
|
+
"disabledRules": {
|
|
180
|
+
"type": "array",
|
|
181
|
+
"items": {
|
|
182
|
+
"type": "string"
|
|
183
|
+
},
|
|
184
|
+
"description": 'List of rule IDs to disable (e.g., ["a11y-input-label", "form-submit-button"])'
|
|
169
185
|
}
|
|
170
186
|
},
|
|
171
187
|
"required": [
|