@tsrx/mcp 0.0.66 → 0.0.68

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/analyze.js +2 -2
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "MCP server for TSRX documentation and project context",
4
4
  "license": "MIT",
5
5
  "author": "Dominic Gannaway",
6
- "version": "0.0.66",
6
+ "version": "0.0.68",
7
7
  "type": "module",
8
8
  "repository": {
9
9
  "type": "git",
@@ -37,8 +37,8 @@
37
37
  "@modelcontextprotocol/sdk": "^1.29.0",
38
38
  "prettier": "^3.8.4",
39
39
  "zod": "^4.3.6",
40
- "@tsrx/core": "0.1.44",
41
- "@tsrx/prettier-plugin": "0.3.105"
40
+ "@tsrx/core": "0.1.46",
41
+ "@tsrx/prettier-plugin": "0.3.107"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/node": "^24.3.0",
package/src/analyze.js CHANGED
@@ -91,9 +91,9 @@ function create_advice(input) {
91
91
  advice.push({
92
92
  kind: 'forgotten-statement-container',
93
93
  severity: 'error',
94
- title: 'Add @ before statement-container braces',
94
+ title: 'Render or retain template output',
95
95
  message:
96
- 'A function body with TypeScript setup followed by bare TSRX output must use a JSX statement container. Change the opening `{` to `@{`, or use an ordinary `return` when the function only returns JSX.',
96
+ 'Free-floating TSRX output in ordinary setup is discarded. Return it, assign it to a value that is later rendered, or make it part of the rendered output of a function `@{...}` body.',
97
97
  documentation: ['tsrx://docs/components.md', 'tsrx://docs/expression-values.md'],
98
98
  });
99
99
  }