tuiuiu.js 0.1.4-next.64ff654 → 1.0.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/README.md +35 -8
- package/dist/version.js +1 -1
- package/package.json +1 -1
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
|
[](https://www.npmjs.com/package/tuiuiu.js)
|
|
14
14
|
[](https://www.npmjs.com/package/tuiuiu.js)
|
|
@@ -17,7 +17,7 @@ Build beautiful, reactive terminal apps with a Modern Component API.
|
|
|
17
17
|
[](https://github.com/forattini-dev/tuiuiu.js/blob/main/LICENSE)
|
|
18
18
|
[](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
|
|
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
|
|
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 = '
|
|
17
|
+
const VERSION = '1.0.0';
|
|
18
18
|
// Cached version after first load
|
|
19
19
|
let _version = null;
|
|
20
20
|
/**
|
package/package.json
CHANGED