- ai.md: Added comprehensive documentation for TUI v1.3 conversion layer with 64+ supported components, CSS styling, and JavaScript interaction capabilities
- oss/tui/: Created complete TUI module with converter.py implementing HTML/CSS/JS to terminal conversion engine, supporting 40+ component types and advanced styling
- oss/tui/plugin.py: Implemented TUI plugin with dual startup architecture accessing WebUI's /tui interface for HTML conversion and terminal rendering
- store/@{NebulaShell}/webui/tui/: Added TUI package with converter, configuration files, and index.html for terminal interface
- store/@{NebulaShell}/webui/core/server.py: Enhanced WebUI server with TUI interface endpoints (/tui/*) for providing special-marked HTML to conversion layer
- store/@{NebulaShell}/webui/main.py: Updated WebUI plugin to support TUI dual launch with automatic homepage redirection and navigation integration
- .gitignore: Updated ignore patterns for better project cleanliness
The update provides a sophisticated terminal interface that automatically converts WebUI content through a powerful transformation layer, enabling seamless dual-mode operation.
29 lines
660 B
JSON
29 lines
660 B
JSON
{
|
|
"metadata": {
|
|
"name": "tui",
|
|
"version": "1.0.0",
|
|
"author": "NebulaShell",
|
|
"description": "终端用户界面 - 与 WebUI 双启动,通过访问 /tui 接口获取 HTML 并转换为终端显示",
|
|
"type": "tui"
|
|
},
|
|
"config": {
|
|
"enabled": true,
|
|
"args": {
|
|
"width": 80,
|
|
"height": 24,
|
|
"theme": "dark",
|
|
"enable_mouse": false,
|
|
"keyboard_shortcuts": {
|
|
"1": "/",
|
|
"2": "/dashboard",
|
|
"3": "/logs",
|
|
"4": "/terminal",
|
|
"q": "quit",
|
|
"r": "refresh"
|
|
}
|
|
}
|
|
},
|
|
"dependencies": ["http-api", "webui"],
|
|
"permissions": ["read:pages", "execute:commands"]
|
|
}
|