tuiuiu.js 0.1.4-next.64ff654 → 1.0.0-next.021c9eb

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/README.md CHANGED
@@ -6,9 +6,9 @@
6
6
 
7
7
  Build beautiful, reactive terminal apps with a Modern Component API.
8
8
  <br>
9
- **Zero dependencies** • **Signals-based** • **Flexbox layout** • **Full mouse support**
9
+ **Zero dependencies** • **Signals-based** • **Flexbox layout** • **Full mouse support** • **MCP Ready**
10
10
  <br>
11
- 50+ components. Pure Node.js. No C++ bindings.
11
+ 50+ components. Pure Node.js. No C++ bindings. AI-powered development.
12
12
 
13
13
  [![npm version](https://img.shields.io/npm/v/tuiuiu.js.svg?style=flat-square&color=F5A623)](https://www.npmjs.com/package/tuiuiu.js)
14
14
  [![npm downloads](https://img.shields.io/npm/dm/tuiuiu.js.svg?style=flat-square&color=34C759)](https://www.npmjs.com/package/tuiuiu.js)
@@ -17,7 +17,7 @@ Build beautiful, reactive terminal apps with a Modern Component API.
17
17
  [![License](https://img.shields.io/npm/l/tuiuiu.js.svg?style=flat-square&color=007AFF)](https://github.com/forattini-dev/tuiuiu.js/blob/main/LICENSE)
18
18
  [![Zero Dependencies](https://img.shields.io/badge/dependencies-0-success?style=flat-square)](https://www.npmjs.com/package/tuiuiu.js)
19
19
 
20
- [📖 Documentation](https://forattini-dev.github.io/tuiuiu.js) · [🚀 Quick Start](#quick-start) · [🎨 Storybook](#storybook) · [🤖 MCP Guide](./MCP-GUIDE.md)
20
+ [📖 Documentation](https://forattini-dev.github.io/tuiuiu.js) · [🚀 Quick Start](#quick-start) · [🎨 Storybook](#storybook) · [🤖 MCP Server](#mcp-server)
21
21
 
22
22
  <img src="https://raw.githubusercontent.com/forattini-dev/tuiuiu.js/main/docs/assets/demo-dashboard.gif" alt="Tuiuiu Demo" width="600">
23
23
 
@@ -289,16 +289,41 @@ store.subscribe(() => console.log(store.state()));
289
289
  store.dispatch({ type: 'INCREMENT' });
290
290
  ```
291
291
 
292
+ ## MCP Server
293
+
294
+ > **Build terminal UIs with AI.** Tuiuiu includes a native [Model Context Protocol](https://modelcontextprotocol.io) server that lets Claude and other AI assistants help you build terminal applications.
295
+
296
+ ```bash
297
+ # Start the MCP server
298
+ npx tuiuiu mcp
299
+ ```
300
+
301
+ Add to your `.mcp.json` for Claude Code integration:
302
+
303
+ ```json
304
+ {
305
+ "mcpServers": {
306
+ "tuiuiu": {
307
+ "command": "npx",
308
+ "args": ["tuiuiu", "mcp"]
309
+ }
310
+ }
311
+ }
312
+ ```
313
+
314
+ Now Claude has full access to Tuiuiu's 50+ components, hooks, themes, and examples. Ask it to build dashboards, forms, file browsers, or any terminal UI — it knows the API.
315
+
316
+ **Available tools:** `tuiuiu_list_components`, `tuiuiu_get_component`, `tuiuiu_get_hook`, `tuiuiu_search`, `tuiuiu_list_themes`, `tuiuiu_getting_started`
317
+
318
+ [→ Full MCP Documentation](https://forattini-dev.github.io/tuiuiu.js/#/core/mcp)
319
+
292
320
  ## Storybook
293
321
 
294
322
  Tuiuiu includes a built-in component storybook for exploring all components:
295
323
 
296
324
  ```bash
297
325
  # Run the storybook
298
- npx tuiuiu
299
-
300
- # Or if installed locally
301
- pnpm storybook
326
+ npx tuiuiu storybook
302
327
  ```
303
328
 
304
329
  Navigate through categories, see live previews, and copy code examples.
@@ -330,7 +355,7 @@ pnpm tsx examples/app-chat.ts # Chat application
330
355
  | Layout | [→ Flexbox Guide](https://forattini-dev.github.io/tuiuiu.js/#/core/layout) |
331
356
  | Theming | [→ Theme System](https://forattini-dev.github.io/tuiuiu.js/#/core/theming) |
332
357
  | Storybook | [→ Component Explorer](https://forattini-dev.github.io/tuiuiu.js/#/core/storybook) |
333
- | MCP Server | [→ AI Integration Guide](./MCP-GUIDE.md) |
358
+ | MCP Server | [→ AI Integration](https://forattini-dev.github.io/tuiuiu.js/#/core/mcp) |
334
359
 
335
360
  ## Numbers
336
361
 
@@ -340,11 +365,13 @@ pnpm tsx examples/app-chat.ts # Chat application
340
365
  | Dependencies | 0 |
341
366
  | Subpath Imports | 12 |
342
367
  | Hooks | 10 |
368
+ | MCP Tools | 6 |
343
369
  | Examples | 20+ |
344
370
  | Border Styles | 9 |
345
371
  | Named Colors | 18 |
346
372
  | Tests | 3500+ |
347
373
  | Tree Shakeable | ✅ |
374
+ | MCP Ready | ✅ |
348
375
 
349
376
  ## Why "Tuiuiu"?
350
377
 
package/dist/version.js CHANGED
@@ -14,7 +14,7 @@
14
14
  // VERSION CONSTANT - Updated automatically during publish
15
15
  // =============================================================================
16
16
  // This line is auto-updated by scripts/inject-version.js during prepublishOnly
17
- const VERSION = '0.1.4-next.64ff654';
17
+ const VERSION = '1.0.0-next.021c9eb';
18
18
  // Cached version after first load
19
19
  let _version = null;
20
20
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tuiuiu.js",
3
- "version": "0.1.4-next.64ff654",
3
+ "version": "1.0.0-next.021c9eb",
4
4
  "description": "Zero-dependency Terminal UI library with Component-based experience for Node.js",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",