Update TUI to v1.3 with enhanced conversion layer and dual UI architecture
- 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.
This commit is contained in:
28
store/@{NebulaShell}/webui/tui/manifest.json
Normal file
28
store/@{NebulaShell}/webui/tui/manifest.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"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"]
|
||||
}
|
||||
Reference in New Issue
Block a user