@tsrx/mcp 0.0.38 → 0.0.39

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
@@ -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.38",
6
+ "version": "0.0.39",
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.3",
39
39
  "zod": "^4.3.6",
40
- "@tsrx/core": "0.1.25",
41
- "@tsrx/prettier-plugin": "0.3.77"
40
+ "@tsrx/core": "0.1.26",
41
+ "@tsrx/prettier-plugin": "0.3.78"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/node": "^24.3.0",
@@ -64,9 +64,9 @@ export const documentation_sections = [
64
64
  slug: 'dynamic-elements-and-components',
65
65
  title: 'Dynamic Elements and Components',
66
66
  use_cases:
67
- 'dynamic elements, dynamic components, Dynamic component, is prop, runtime tag, runtime component, removed <@tag syntax',
67
+ 'dynamic elements, dynamic components, dynamic tag syntax, runtime tag, runtime component, removed <@tag syntax, removed Dynamic component',
68
68
  content:
69
- "# Dynamic Elements and Components\n\nUse the target runtime `Dynamic` component when the element tag or component constructor is chosen at runtime. The source form is ordinary JSX: `<Dynamic is={value} />`.\n\nImport `Dynamic` from the active target runtime module:\n\n| Target | Import |\n| --- | --- |\n| React | `import { Dynamic } from '@tsrx/react/dynamic';` |\n| Preact | `import { Dynamic } from '@tsrx/preact/dynamic';` |\n| Solid | `import { Dynamic } from '@tsrx/solid/dynamic';` |\n| Vue | `import { Dynamic } from '@tsrx/vue/dynamic';` |\n| Ripple | `import { Dynamic } from 'ripple';` |\n\n```tsx\nimport { Dynamic } from '@tsrx/react/dynamic';\n\ntype Tag = 'section' | 'article';\n\nexport function Panel({ as = 'section', title }: { as?: Tag; title: string }) @{\n <Dynamic is={as} className=\"panel\">\n <h2>{title}</h2>\n </Dynamic>\n}\n```\n\nThe `is` prop can be a string tag name or a component value:\n\n```tsx\nconst Body = expanded ? ExpandedBody : CompactBody;\n\n<Dynamic is={Body} item={item} />\n```\n\nFor React host classes, use `className`. For Preact, Solid, Vue, and Ripple host classes, use `class`.\n\nDo not use removed dynamic tag syntax such as `<@tag />` or `<@Component />`. Use `<Dynamic is={...} />` instead.\n\nSource: website-tsrx/src/pages/features.tsrx#dynamic",
69
+ "# Dynamic Elements and Components\n\nUse the dynamic tag syntax `<{expression}>` when the element tag or component constructor is chosen at runtime. The expression can evaluate to a string tag name or a component value, and a non-self-closing element repeats the same expression in its closing tag: `</{expression}>`. No import is required; each target compiler lowers the form to its own runtime helper.\n\n```tsx\ntype Tag = 'section' | 'article';\n\nexport function Panel({ as = 'section', title }: { as?: Tag; title: string }) @{\n <{as} className=\"panel\">\n <h2>{title}</h2>\n </{as}>\n}\n```\n\nThe tag expression can be a string tag name or a component value:\n\n```tsx\nconst Body = expanded ? ExpandedBody : CompactBody;\n\n<{Body} item={item} />\n```\n\nThe tag expression must resolve to an element name: an identifier, member access, static string, or a runtime expression composed of those. Calls, spreads, string concatenation, string interpolation, and static non-string literals are not valid dynamic tag expressions.\n\nFor React host classes, use `className`. For Preact, Solid, Vue, and Ripple host classes, use `class`.\n\nDo not use removed dynamic tag syntax such as `<@tag />` or `<@Component />`, and do not import a runtime `Dynamic` component with an `is` prop. Use `<{tag}>` instead.\n\nSource: website-tsrx/src/pages/features.tsrx#dynamic",
70
70
  },
71
71
  {
72
72
  slug: 'target-integration',