@golemui/gui-mcp 1.0.3 → 1.1.1-rc.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/CHANGELOG.md +20 -0
- package/README.md +16 -0
- package/cli-commands.d.ts +18 -0
- package/cli.js +87 -2
- package/dx/dx-specs.d.ts +12 -0
- package/{get-concept-Py3iLVmb.js → get-concept-DRFSt-XX.js} +574 -263
- package/json.js +1 -1
- package/lib.js +2 -2
- package/{list-dx-factories-C-Z5Sc5E.js → list-dx-factories-Dwy_BYZi.js} +396 -9
- package/package.json +5 -5
- package/shared/lint/reactive-expressions.d.ts +8 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemui/gui-mcp",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.1-rc.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Model Context Protocol server for GolemUI — gives AI coding assistants deterministic schema validation and form generation for GolemUI form definitions.",
|
|
6
6
|
"type": "module",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"ajv": "^8.17.1",
|
|
41
41
|
"ajv-formats": "^3.0.1",
|
|
42
42
|
"typescript": "^5.9.2",
|
|
43
|
-
"@golemui/gui-schemas": "1.0
|
|
44
|
-
"@golemui/gui-shared": "1.0
|
|
45
|
-
"@golemui/gui-validators": "1.0
|
|
46
|
-
"@golemui/core": "1.0
|
|
43
|
+
"@golemui/gui-schemas": "1.1.1-rc.0",
|
|
44
|
+
"@golemui/gui-shared": "1.1.1-rc.0",
|
|
45
|
+
"@golemui/gui-validators": "1.1.1-rc.0",
|
|
46
|
+
"@golemui/core": "1.1.1-rc.0",
|
|
47
47
|
"zod": "^4.0.0",
|
|
48
48
|
"@standard-schema/spec": "^1.0.0"
|
|
49
49
|
},
|
|
@@ -16,6 +16,13 @@ export type ExpressionFinding = {
|
|
|
16
16
|
* We deliberately don't try to fully parse: too easy to get false positives, too little gain.
|
|
17
17
|
*/
|
|
18
18
|
export declare function lintReactiveExpressions(formDefinition: unknown): ExpressionFinding[];
|
|
19
|
+
export type CheckExpressionOptions = {
|
|
20
|
+
/**
|
|
21
|
+
* True when the expression lives inside a repeater `props.template`, where the
|
|
22
|
+
* `$item` and `$index` scope variables are available.
|
|
23
|
+
*/
|
|
24
|
+
inRepeaterTemplate?: boolean;
|
|
25
|
+
};
|
|
19
26
|
/**
|
|
20
27
|
* Lint a single reactive expression string in isolation, against the same rules
|
|
21
28
|
* `lintReactiveExpressions` applies while walking a JSON form definition. This is
|
|
@@ -23,4 +30,4 @@ export declare function lintReactiveExpressions(formDefinition: unknown): Expres
|
|
|
23
30
|
* object tree, the DX linter has the AST — both funnel each `when` expression
|
|
24
31
|
* through here so the two surfaces can never drift.
|
|
25
32
|
*/
|
|
26
|
-
export declare function checkReactiveExpression(expression: string, path?: string): ExpressionFinding[];
|
|
33
|
+
export declare function checkReactiveExpression(expression: string, path?: string, options?: CheckExpressionOptions): ExpressionFinding[];
|