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,18 @@
{
"title": "通知",
"empty": "暂无通知",
"emptyHint": "通知将显示在这里",
"markAllRead": "全部已读",
"clearAll": "清空全部",
"showMore": "显示更多",
"showLess": "收起",
"systemNotifications": "系统通知",
"systemNotificationsDesc": "为重要事件显示浏览器原生通知",
"justNow": "刚刚",
"minutesAgo": "{0}分钟前",
"hoursAgo": "{0}小时前",
"daysAgo": "{0}天前",
"oneMinuteAgo": "1分钟前",
"oneHourAgo": "1小时前",
"oneDayAgo": "1天前"
}