feat(a2ui): Implement A2UI backend with question handling and WebSocket support

- Added A2UITypes for defining question structures and answers.
- Created A2UIWebSocketHandler for managing WebSocket connections and message handling.
- Developed ask-question tool for interactive user questions via A2UI.
- Introduced platformUtils for platform detection and shell command handling.
- Centralized TypeScript types in index.ts for better organization.
- Implemented compatibility checks for hook templates based on platform requirements.
This commit is contained in:
catlog22
2026-01-31 15:27:12 +08:00
parent 4e009bb03a
commit 715ef12c92
163 changed files with 19495 additions and 715 deletions

View File

@@ -0,0 +1,21 @@
{
"title": {
"colorScheme": "颜色主题",
"themeMode": "明暗模式"
},
"colorScheme": {
"blue": "经典蓝",
"green": "深邃绿",
"orange": "活力橙",
"purple": "优雅紫"
},
"themeMode": {
"light": "浅色",
"dark": "深色"
},
"select": {
"colorScheme": "选择{name}主题",
"themeMode": "选择{name}模式"
},
"current": "当前主题: {name}"
}