@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golemui/gui-mcp",
3
- "version": "1.0.3",
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.3",
44
- "@golemui/gui-shared": "1.0.3",
45
- "@golemui/gui-validators": "1.0.3",
46
- "@golemui/core": "1.0.3",
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[];