@nucleux/mcp 0.4.2 → 0.4.3

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/dist/index.js +221 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -21,8 +21,8 @@ var catalog_default = {
21
21
  note: "Every component is also re-exported from the @nucleux/react umbrella."
22
22
  },
23
23
  counts: {
24
- components: 132,
25
- packages: 137,
24
+ components: 137,
25
+ packages: 142,
26
26
  examples: 6
27
27
  },
28
28
  packages: [
@@ -2095,6 +2095,44 @@ Source: Figma "Recovery / Error & Empty States".`,
2095
2095
  "react-dom": ">=18"
2096
2096
  }
2097
2097
  },
2098
+ {
2099
+ name: "md3-action-confirmation",
2100
+ package: "@nucleux/md3-action-confirmation",
2101
+ kind: "component",
2102
+ description: "A Material Design 3 guardrail shown before an agent performs a consequential\naction \u2014 tonal surface, state-layer actions. Same API as {@link ActionConfirmation}.",
2103
+ summary: "Material 3 agent action confirmation \u2014 Nucleux agentic UI for React.",
2104
+ keywords: [
2105
+ "nucleux",
2106
+ "react",
2107
+ "ui",
2108
+ "components",
2109
+ "agentic",
2110
+ "ai",
2111
+ "tailwind",
2112
+ "md3-action-confirmation"
2113
+ ],
2114
+ exports: [
2115
+ "Md3ActionConfirmation",
2116
+ "Md3ActionConfirmationVariant",
2117
+ "Md3ActionConfirmationProps"
2118
+ ],
2119
+ components: [
2120
+ "Md3ActionConfirmation"
2121
+ ],
2122
+ import: 'import { Md3ActionConfirmation } from "@nucleux/md3-action-confirmation";',
2123
+ installSingle: "pnpm add @nucleux/md3-action-confirmation @nucleux/tokens",
2124
+ props: [
2125
+ {
2126
+ name: "Md3ActionConfirmationProps",
2127
+ source: 'export interface Md3ActionConfirmationProps\n extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {\n title: React.ReactNode;\n description?: React.ReactNode;\n variant?: Md3ActionConfirmationVariant;\n badge?: React.ReactNode;\n icon?: React.ReactNode;\n confirmLabel?: React.ReactNode;\n cancelLabel?: React.ReactNode;\n onConfirm?: () => void;\n onCancel?: () => void;\n}'
2128
+ }
2129
+ ],
2130
+ readme: '# @nucleux/md3-action-confirmation\n\nMaterial 3 agent action confirmation \u2014 Nucleux agentic UI for React.\n\nPart of **[Nucleux](https://github.com/intelligaia-open-labs/nucleux)** \u2014 agentic UI components for React. Install a single component, or the full kit via [`@nucleux/react`](https://www.npmjs.com/package/@nucleux/react).\n\n## Install\n\n```bash\npnpm add @nucleux/md3-action-confirmation @nucleux/tokens\n```\n\n`react` / `react-dom` are peer dependencies.\n\n## Usage\n\n```tsx\nimport { Md3ActionConfirmation } from "@nucleux/md3-action-confirmation";\n```\n\nRequires the theme once in your app: `import "@nucleux/tokens/styles.css";`\nand the Tailwind preset from `@nucleux/tokens/preset`.\n\n## License\n\nMIT \xA9 Nucleux',
2131
+ peerDependencies: {
2132
+ react: ">=18",
2133
+ "react-dom": ">=18"
2134
+ }
2135
+ },
2098
2136
  {
2099
2137
  name: "md3-action-plan",
2100
2138
  package: "@nucleux/md3-action-plan",
@@ -2139,6 +2177,50 @@ Source: Figma "Recovery / Error & Empty States".`,
2139
2177
  "react-dom": ">=18"
2140
2178
  }
2141
2179
  },
2180
+ {
2181
+ name: "md3-activity-log",
2182
+ package: "@nucleux/md3-activity-log",
2183
+ kind: "component",
2184
+ description: "A single entry in an {@link Md3ActivityLog}.",
2185
+ summary: "Material 3 agent activity log \u2014 Nucleux agentic UI for React.",
2186
+ keywords: [
2187
+ "nucleux",
2188
+ "react",
2189
+ "ui",
2190
+ "components",
2191
+ "agentic",
2192
+ "ai",
2193
+ "tailwind",
2194
+ "md3-activity-log"
2195
+ ],
2196
+ exports: [
2197
+ "Md3ActivityLogItem",
2198
+ "Md3ActivityLog",
2199
+ "Md3ActivityLogItemProps",
2200
+ "Md3ActivityLogProps"
2201
+ ],
2202
+ components: [
2203
+ "Md3ActivityLogItem",
2204
+ "Md3ActivityLog"
2205
+ ],
2206
+ import: 'import { Md3ActivityLogItem, Md3ActivityLog } from "@nucleux/md3-activity-log";',
2207
+ installSingle: "pnpm add @nucleux/md3-activity-log @nucleux/tokens",
2208
+ props: [
2209
+ {
2210
+ name: "Md3ActivityLogItemProps",
2211
+ source: "export interface Md3ActivityLogItemProps extends React.LiHTMLAttributes<HTMLLIElement> {\n icon?: React.ReactNode;\n time?: React.ReactNode;\n}"
2212
+ },
2213
+ {
2214
+ name: "Md3ActivityLogProps",
2215
+ source: "export interface Md3ActivityLogProps extends React.HTMLAttributes<HTMLOListElement> {\n heading?: React.ReactNode;\n}"
2216
+ }
2217
+ ],
2218
+ readme: '# @nucleux/md3-activity-log\n\nMaterial 3 agent activity log \u2014 Nucleux agentic UI for React.\n\nPart of **[Nucleux](https://github.com/intelligaia-open-labs/nucleux)** \u2014 agentic UI components for React. Install a single component, or the full kit via [`@nucleux/react`](https://www.npmjs.com/package/@nucleux/react).\n\n## Install\n\n```bash\npnpm add @nucleux/md3-activity-log @nucleux/tokens\n```\n\n`react` / `react-dom` are peer dependencies.\n\n## Usage\n\n```tsx\nimport { Md3ActivityLog } from "@nucleux/md3-activity-log";\n```\n\nRequires the theme once in your app: `import "@nucleux/tokens/styles.css";`\nand the Tailwind preset from `@nucleux/tokens/preset`.\n\n## License\n\nMIT \xA9 Nucleux',
2219
+ peerDependencies: {
2220
+ react: ">=18",
2221
+ "react-dom": ">=18"
2222
+ }
2223
+ },
2142
2224
  {
2143
2225
  name: "md3-agent-composer",
2144
2226
  package: "@nucleux/md3-agent-composer",
@@ -2176,6 +2258,48 @@ Source: Figma "Recovery / Error & Empty States".`,
2176
2258
  "react-dom": ">=18"
2177
2259
  }
2178
2260
  },
2261
+ {
2262
+ name: "md3-agent-steps",
2263
+ package: "@nucleux/md3-agent-steps",
2264
+ kind: "component",
2265
+ description: "A single step in an {@link Md3AgentSteps} tracker.",
2266
+ summary: "Material 3 agent step tracker \u2014 Nucleux agentic UI for React.",
2267
+ keywords: [
2268
+ "nucleux",
2269
+ "react",
2270
+ "ui",
2271
+ "components",
2272
+ "agentic",
2273
+ "ai",
2274
+ "tailwind",
2275
+ "md3-agent-steps"
2276
+ ],
2277
+ exports: [
2278
+ "Md3AgentStep",
2279
+ "Md3AgentSteps",
2280
+ "Md3AgentStepStatus",
2281
+ "Md3AgentStepProps",
2282
+ "Md3AgentStepsProps"
2283
+ ],
2284
+ components: [
2285
+ "Md3AgentStep",
2286
+ "Md3AgentSteps",
2287
+ "Md3AgentStepStatus"
2288
+ ],
2289
+ import: 'import { Md3AgentStep, Md3AgentSteps, Md3AgentStepStatus } from "@nucleux/md3-agent-steps";',
2290
+ installSingle: "pnpm add @nucleux/md3-agent-steps @nucleux/tokens",
2291
+ props: [
2292
+ {
2293
+ name: "Md3AgentStepProps",
2294
+ source: 'export interface Md3AgentStepProps\n extends Omit<React.LiHTMLAttributes<HTMLLIElement>, "title"> {\n status?: Md3AgentStepStatus;\n icon?: React.ReactNode;\n title: React.ReactNode;\n description?: React.ReactNode;\n progress?: number;\n}'
2295
+ }
2296
+ ],
2297
+ readme: '# @nucleux/md3-agent-steps\n\nMaterial 3 agent step tracker \u2014 Nucleux agentic UI for React.\n\nPart of **[Nucleux](https://github.com/intelligaia-open-labs/nucleux)** \u2014 agentic UI components for React. Install a single component, or the full kit via [`@nucleux/react`](https://www.npmjs.com/package/@nucleux/react).\n\n## Install\n\n```bash\npnpm add @nucleux/md3-agent-steps @nucleux/tokens\n```\n\n`react` / `react-dom` are peer dependencies.\n\n## Usage\n\n```tsx\nimport { Md3AgentSteps } from "@nucleux/md3-agent-steps";\n```\n\nRequires the theme once in your app: `import "@nucleux/tokens/styles.css";`\nand the Tailwind preset from `@nucleux/tokens/preset`.\n\n## License\n\nMIT \xA9 Nucleux',
2298
+ peerDependencies: {
2299
+ react: ">=18",
2300
+ "react-dom": ">=18"
2301
+ }
2302
+ },
2179
2303
  {
2180
2304
  name: "md3-badge",
2181
2305
  package: "@nucleux/md3-badge",
@@ -2967,6 +3091,43 @@ Source: Figma "Recovery / Error & Empty States".`,
2967
3091
  "react-dom": ">=18"
2968
3092
  }
2969
3093
  },
3094
+ {
3095
+ name: "md3-reasoning",
3096
+ package: "@nucleux/md3-reasoning",
3097
+ kind: "component",
3098
+ description: "A Material Design 3 collapsible chain-of-thought panel, de-emphasized from the\nfinal answer with a tonal surface and a state layer. Same API as {@link Reasoning}.",
3099
+ summary: "Material 3 chain-of-thought panel \u2014 Nucleux agentic UI for React.",
3100
+ keywords: [
3101
+ "nucleux",
3102
+ "react",
3103
+ "ui",
3104
+ "components",
3105
+ "agentic",
3106
+ "ai",
3107
+ "tailwind",
3108
+ "md3-reasoning"
3109
+ ],
3110
+ exports: [
3111
+ "Md3Reasoning",
3112
+ "Md3ReasoningProps"
3113
+ ],
3114
+ components: [
3115
+ "Md3Reasoning"
3116
+ ],
3117
+ import: 'import { Md3Reasoning } from "@nucleux/md3-reasoning";',
3118
+ installSingle: "pnpm add @nucleux/md3-reasoning @nucleux/tokens",
3119
+ props: [
3120
+ {
3121
+ name: "Md3ReasoningProps",
3122
+ source: "export interface Md3ReasoningProps extends React.HTMLAttributes<HTMLDivElement> {\n /** The reasoning / thinking text to reveal. */\n content: string;\n /** Whether reasoning is still streaming (shows a subtle pulse). */\n streaming?: boolean;\n /** Expanded by default. */\n defaultOpen?: boolean;\n /** Header label. */\n label?: string;\n}"
3123
+ }
3124
+ ],
3125
+ readme: '# @nucleux/md3-reasoning\n\nMaterial 3 chain-of-thought panel \u2014 Nucleux agentic UI for React.\n\nPart of **[Nucleux](https://github.com/intelligaia-open-labs/nucleux)** \u2014 agentic UI components for React. Install a single component, or the full kit via [`@nucleux/react`](https://www.npmjs.com/package/@nucleux/react).\n\n## Install\n\n```bash\npnpm add @nucleux/md3-reasoning @nucleux/tokens\n```\n\n`react` / `react-dom` are peer dependencies.\n\n## Usage\n\n```tsx\nimport { Md3Reasoning } from "@nucleux/md3-reasoning";\n```\n\nRequires the theme once in your app: `import "@nucleux/tokens/styles.css";`\nand the Tailwind preset from `@nucleux/tokens/preset`.\n\n## License\n\nMIT \xA9 Nucleux',
3126
+ peerDependencies: {
3127
+ react: ">=18",
3128
+ "react-dom": ">=18"
3129
+ }
3130
+ },
2970
3131
  {
2971
3132
  name: "md3-search",
2972
3133
  package: "@nucleux/md3-search",
@@ -3276,6 +3437,43 @@ Source: Figma "Recovery / Error & Empty States".`,
3276
3437
  readme: '# @nucleux/md3-theme\n\nMaterial Design 3 theme for Nucleux \u2014 remaps the semantic `--nx-*` tokens to the MD3 tonal palette so any Nucleux component renders in a Material UI 3 look \u2014 Nucleux agentic UI for React.\n\nPart of **[Nucleux](https://github.com/intelligaia-open-labs/nucleux)** \u2014 agentic UI components for React.\n\n## Install\n\n```bash\npnpm add @nucleux/md3-theme @nucleux/tokens\n```\n\n## Usage\n\nImport the base tokens once, then the MD3 theme:\n\n```ts\nimport "@nucleux/tokens/styles.css";\nimport "@nucleux/md3-theme/theme.css";\n```\n\nWrap any subtree in `nx-theme-mui` to switch it (and everything inside) from the\ndefault shadcn/slate look to Material UI 3 \u2014 the same components, restyled:\n\n```tsx\n<div className="nx-theme-mui">\n <AgentComposer /* \u2026 */ /> {/* now Material 3 */}\n</div>\n```\n\nCombine with `.dark` for dark mode (`<html class="dark">` or on the wrapper).\n\n## License\n\nMIT \xA9 Nucleux',
3277
3438
  peerDependencies: {}
3278
3439
  },
3440
+ {
3441
+ name: "md3-thread",
3442
+ package: "@nucleux/md3-thread",
3443
+ kind: "component",
3444
+ description: 'A Material Design 3 auto-scrolling transcript container. Pins to the newest\nmessage and surfaces a tonal "jump to latest" FAB. Same API as {@link Thread}.',
3445
+ summary: "Material 3 auto-scrolling thread \u2014 Nucleux agentic UI for React.",
3446
+ keywords: [
3447
+ "nucleux",
3448
+ "react",
3449
+ "ui",
3450
+ "components",
3451
+ "agentic",
3452
+ "ai",
3453
+ "tailwind",
3454
+ "md3-thread"
3455
+ ],
3456
+ exports: [
3457
+ "Md3Thread",
3458
+ "Md3ThreadProps"
3459
+ ],
3460
+ components: [
3461
+ "Md3Thread"
3462
+ ],
3463
+ import: 'import { Md3Thread } from "@nucleux/md3-thread";',
3464
+ installSingle: "pnpm add @nucleux/md3-thread @nucleux/tokens",
3465
+ props: [
3466
+ {
3467
+ name: "Md3ThreadProps",
3468
+ source: 'export interface Md3ThreadProps extends React.HTMLAttributes<HTMLDivElement> {\n /** Change this whenever messages are added so the view re-pins to bottom. */\n autoScrollKey?: unknown;\n /** Disable the sticky "scroll to bottom" affordance. */\n hideScrollButton?: boolean;\n}'
3469
+ }
3470
+ ],
3471
+ readme: '# @nucleux/md3-thread\n\nMaterial 3 auto-scrolling thread \u2014 Nucleux agentic UI for React.\n\nPart of **[Nucleux](https://github.com/intelligaia-open-labs/nucleux)** \u2014 agentic UI components for React. Install a single component, or the full kit via [`@nucleux/react`](https://www.npmjs.com/package/@nucleux/react).\n\n## Install\n\n```bash\npnpm add @nucleux/md3-thread @nucleux/tokens\n```\n\n`react` / `react-dom` are peer dependencies.\n\n## Usage\n\n```tsx\nimport { Md3Thread } from "@nucleux/md3-thread";\n```\n\nRequires the theme once in your app: `import "@nucleux/tokens/styles.css";`\nand the Tailwind preset from `@nucleux/tokens/preset`.\n\n## License\n\nMIT \xA9 Nucleux',
3472
+ peerDependencies: {
3473
+ react: ">=18",
3474
+ "react-dom": ">=18"
3475
+ }
3476
+ },
3279
3477
  {
3280
3478
  name: "md3-time-picker",
3281
3479
  package: "@nucleux/md3-time-picker",
@@ -5686,7 +5884,7 @@ export const Default: Story = {
5686
5884
  // src/html-snippets.json
5687
5885
  var html_snippets_default = {
5688
5886
  generatedFrom: "packages/mcp/gen/fixtures.tsx (do not edit \u2014 run scripts/gen-html-snippets.mjs)",
5689
- count: 137,
5887
+ count: 142,
5690
5888
  snippets: {
5691
5889
  avatar: {
5692
5890
  name: "Avatar",
@@ -6235,6 +6433,26 @@ var html_snippets_default = {
6235
6433
  md3agentcomposer: {
6236
6434
  name: "Md3AgentComposer",
6237
6435
  html: '<div class="flex flex-col gap-3 rounded-md-xl bg-md-surface-container-high p-3 focus-within:ring-2 focus-within:ring-md-primary" aria-label="Task"><textarea rows="1" placeholder="Describe a task, workflow or goal\u2026" aria-label="Describe a task, workflow or goal\u2026" class="max-h-[inherit] w-full resize-none bg-transparent px-1 text-sm text-md-on-surface outline-none placeholder:text-md-on-surface-variant disabled:opacity-50"></textarea><div class="flex items-center justify-between gap-2"><div class="flex items-center gap-1"></div><div class="flex items-center gap-2"><button type="button" disabled="" aria-label="Send" class="relative inline-flex size-10 shrink-0 items-center justify-center overflow-hidden rounded-full bg-md-primary text-md-on-primary outline-none focus-visible:ring-2 focus-visible:ring-md-primary focus-visible:ring-offset-2 focus-visible:ring-offset-md-surface before:absolute before:inset-0 before:bg-current before:opacity-0 before:transition-opacity before:content-[&#x27;&#x27;] hover:before:opacity-[0.08] active:before:opacity-[0.12] disabled:opacity-[0.38] disabled:before:opacity-0"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-up relative size-4"><path d="m5 12 7-7 7 7"></path><path d="M12 19V5"></path></svg></button></div></div></div>'
6436
+ },
6437
+ md3reasoning: {
6438
+ name: "Md3Reasoning",
6439
+ html: '<div class="overflow-hidden rounded-md-md bg-md-surface-container-low"><button type="button" aria-expanded="true" class="relative flex w-full items-center gap-2 overflow-hidden px-3 py-2.5 text-left text-sm text-md-on-surface-variant outline-none before:absolute before:inset-0 before:bg-md-on-surface before:opacity-0 before:transition-opacity before:content-[&#x27;&#x27;] hover:before:opacity-[0.08] focus-visible:before:opacity-[0.12]"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-brain relative size-4 shrink-0"><path d="M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z"></path><path d="M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z"></path><path d="M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4"></path><path d="M17.599 6.5a3 3 0 0 0 .399-1.375"></path><path d="M6.003 5.125A3 3 0 0 0 6.401 6.5"></path><path d="M3.477 10.896a4 4 0 0 1 .585-.396"></path><path d="M19.938 10.5a4 4 0 0 1 .585.396"></path><path d="M6 18a4 4 0 0 1-1.967-.516"></path><path d="M19.967 17.484A4 4 0 0 1 18 18"></path></svg><span class="relative font-medium">Reasoning</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right relative ml-auto size-4 transition-transform rotate-90"><path d="m9 18 6-6-6-6"></path></svg></button><div class="whitespace-pre-wrap break-words border-t border-md-outline-variant px-3 py-2.5 text-sm italic text-md-on-surface-variant">thinking\u2026</div></div>'
6440
+ },
6441
+ md3agentsteps: {
6442
+ name: "Md3AgentSteps",
6443
+ html: '<ol class="flex flex-col"><li class="relative flex gap-3 pb-5 last:pb-0 before:absolute before:left-[0.6875rem] before:top-6 before:h-[calc(100%-1.25rem)] before:w-px before:-translate-x-1/2 before:bg-md-outline-variant last:before:hidden"><span class="relative z-10 mt-0.5 inline-flex size-[1.375rem] shrink-0 items-center justify-center rounded-full border [&amp;_svg]:size-3.5 border-md-primary bg-md-primary text-md-on-primary"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check size-3.5" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg></span><span class="flex min-w-0 flex-1 flex-col gap-1"><span class="text-sm font-medium text-md-on-surface">Read doc</span></span></li><li class="relative flex gap-3 pb-5 last:pb-0 before:absolute before:left-[0.6875rem] before:top-6 before:h-[calc(100%-1.25rem)] before:w-px before:-translate-x-1/2 before:bg-md-outline-variant last:before:hidden" aria-current="step"><span class="relative z-10 mt-0.5 inline-flex size-[1.375rem] shrink-0 items-center justify-center rounded-full border [&amp;_svg]:size-3.5 border-md-primary bg-md-primary-container text-md-on-primary-container"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-loader-circle size-3.5 animate-spin" aria-hidden="true"><path d="M21 12a9 9 0 1 1-6.219-8.56"></path></svg></span><span class="flex min-w-0 flex-1 flex-col gap-1"><span class="text-sm font-medium text-md-on-surface">Executing</span><span class="mt-1 block h-1 w-full overflow-hidden rounded-full bg-md-surface-variant"><span class="block h-full rounded-full bg-md-primary transition-[width]" style="width:60%"></span></span></span></li><li class="relative flex gap-3 pb-5 last:pb-0 before:absolute before:left-[0.6875rem] before:top-6 before:h-[calc(100%-1.25rem)] before:w-px before:-translate-x-1/2 before:bg-md-outline-variant last:before:hidden"><span class="relative z-10 mt-0.5 inline-flex size-[1.375rem] shrink-0 items-center justify-center rounded-full border [&amp;_svg]:size-3.5 border-md-outline bg-md-surface text-md-on-surface-variant"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-circle size-2 fill-current" aria-hidden="true"><circle cx="12" cy="12" r="10"></circle></svg></span><span class="flex min-w-0 flex-1 flex-col gap-1"><span class="text-sm font-medium text-md-on-surface-variant">Create file</span></span></li></ol>'
6444
+ },
6445
+ md3activitylog: {
6446
+ name: "Md3ActivityLog",
6447
+ html: '<div class="flex flex-col gap-3"><p class="text-xs font-medium uppercase tracking-wide text-md-on-surface-variant">Footprints</p><ol class="relative before:absolute before:left-3 before:top-1 before:h-[calc(100%-1rem)] before:w-px before:-translate-x-1/2 before:bg-md-outline-variant"><li class="relative flex gap-3 pb-4 last:pb-0"><span class="relative z-10 mt-0.5 inline-flex size-6 shrink-0 items-center justify-center rounded-full border border-md-outline-variant bg-md-surface-container text-md-on-surface-variant [&amp;_svg]:size-3.5"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-activity" aria-hidden="true"><path d="M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2"></path></svg></span><span class="flex min-w-0 flex-1 flex-col gap-0.5"><span class="text-sm text-md-on-surface">Sent email to Sam</span><span class="text-xs text-md-on-surface-variant">2m ago</span></span></li><li class="relative flex gap-3 pb-4 last:pb-0"><span class="relative z-10 mt-0.5 inline-flex size-6 shrink-0 items-center justify-center rounded-full border border-md-outline-variant bg-md-surface-container text-md-on-surface-variant [&amp;_svg]:size-3.5"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-activity" aria-hidden="true"><path d="M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2"></path></svg></span><span class="flex min-w-0 flex-1 flex-col gap-0.5"><span class="text-sm text-md-on-surface">Read 3 CRM records</span><span class="text-xs text-md-on-surface-variant">3m ago</span></span></li></ol></div>'
6448
+ },
6449
+ md3thread: {
6450
+ name: "Md3Thread",
6451
+ html: '<div class="relative flex min-h-0 flex-1 flex-col"><div class="flex-1 space-y-4 overflow-y-auto scroll-smooth p-4"><div data-role="user" class="flex w-full animate-nx-fade-in gap-3 flex-row-reverse"><span class="grid size-8 shrink-0 place-items-center rounded-full bg-md-primary-container text-md-on-primary-container [&amp;_svg]:size-5"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-user"><path d="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg></span><div class="flex min-w-0 max-w-[80%] flex-col gap-2 items-end"><div class="rounded-md-xl px-4 py-2.5 text-sm leading-relaxed rounded-br-md-xs bg-md-primary text-md-on-primary"><span class="whitespace-pre-wrap break-words">Hello</span></div></div></div><div data-role="assistant" class="flex w-full animate-nx-fade-in gap-3 flex-row"><span class="grid size-8 shrink-0 place-items-center rounded-full bg-md-primary-container text-md-on-primary-container [&amp;_svg]:size-5"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-bot"><path d="M12 8V4H8"></path><rect width="16" height="12" x="4" y="8" rx="2"></rect><path d="M2 14h2"></path><path d="M20 14h2"></path><path d="M15 13v2"></path><path d="M9 13v2"></path></svg></span><div class="flex min-w-0 max-w-[80%] flex-col gap-2 items-start"><div class="rounded-md-xl px-4 py-2.5 text-sm leading-relaxed rounded-bl-md-xs bg-md-surface-container-high text-md-on-surface"><span class="whitespace-pre-wrap break-words">Hi</span></div></div></div></div></div>'
6452
+ },
6453
+ md3actionconfirmation: {
6454
+ name: "Md3ActionConfirmation",
6455
+ html: '<div role="alertdialog" aria-label="Send 18 emails?" class="flex flex-col gap-3 rounded-md-xl bg-md-surface-container-high p-5 text-md-on-surface shadow-md-1"><div class="flex items-start gap-3"><span class="mt-0.5 inline-flex size-8 shrink-0 items-center justify-center rounded-full [&amp;_svg]:size-4 bg-md-error-container text-md-on-error-container"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-triangle-alert" aria-hidden="true"><path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"></path><path d="M12 9v4"></path><path d="M12 17h.01"></path></svg></span><div class="flex min-w-0 flex-1 flex-col gap-1"><span class="inline-flex w-fit items-center rounded-full bg-md-secondary-container px-2 py-0.5 text-[0.6875rem] font-medium uppercase tracking-wide text-md-on-secondary-container">AI action</span><h3 class="text-base font-semibold text-md-on-surface">Send 18 emails?</h3><p class="text-sm text-md-on-surface-variant">You can&#x27;t undo this.</p></div></div><div class="flex items-center justify-end gap-2"><button type="button" class="relative inline-flex h-10 items-center overflow-hidden rounded-full border border-md-outline px-5 text-sm font-medium text-md-primary outline-none focus-visible:ring-2 focus-visible:ring-md-primary before:absolute before:inset-0 before:bg-current before:opacity-0 before:transition-opacity before:content-[&#x27;&#x27;] hover:before:opacity-[0.08] focus-visible:before:opacity-[0.12] active:before:opacity-[0.12]"><span class="relative">Cancel</span></button><button type="button" class="relative inline-flex h-10 items-center overflow-hidden rounded-full px-5 text-sm font-medium outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-offset-md-surface bg-md-error text-md-on-error focus-visible:ring-md-error before:absolute before:inset-0 before:bg-current before:opacity-0 before:transition-opacity before:content-[&#x27;&#x27;] hover:before:opacity-[0.08] focus-visible:before:opacity-[0.12] active:before:opacity-[0.12]"><span class="relative">Confirm</span></button></div></div>'
6238
6456
  }
6239
6457
  }
6240
6458
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nucleux/mcp",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "type": "module",
5
5
  "description": "Model Context Protocol server for the Nucleux agentic UI component library — lets AI coding agents discover, search, and correctly use @nucleux components.",
6
6
  "bin": {