feat: Add Chat Widget and Init Service Chooser components

- Implemented ChatWidget component for real-time chat functionality with socket integration.
- Added InitServiceChooser component for selecting services with manual token input and auto-authorization.
- Updated settings and data provider to support local development with localhost.
- Enhanced settings page with Classworks KV card and improved styles.
- Introduced debug socket page for monitoring connection status and device interactions.
- Refactored socket client utility for better connection management and event handling.
- Added glow highlight effect in styles for UI enhancements.
This commit is contained in:
SunWuyuan
2025-10-25 17:10:20 +08:00
parent b9efaee7ee
commit a2b0cc9e08
20 changed files with 1790 additions and 476 deletions
+6 -2
View File
@@ -1,5 +1,5 @@
{
"name": "Classworks",
"name": "classworks",
"private": true,
"type": "module",
"version": "0.0.0",
@@ -14,17 +14,21 @@
"@examaware-cs/player": "^1.0.2",
"@mdi/font": "7.4.47",
"@microsoft/clarity": "^1.0.0",
"@vueuse/core": "^13.9.0",
"axios": "^1.11.0",
"idb": "^8.0.3",
"js-base64": "^3.7.8",
"js-yaml": "^4.1.0",
"lucide-vue-next": "^0.545.0",
"marked": "^16.4.0",
"pinyin-pro": "^3.27.0",
"ratelimit-header-parser": "^0.1.0",
"roboto-fontface": "*",
"tdesign-vue-next": "^1.17.1",
"socket.io-client": "^4.8.1",
"typewriter-effect": "^2.21.0",
"uuid": "^9.0.1",
"vue": "^3.5.20",
"vue-sonner": "^2.0.9",
"vuetify": "^3.9.6"
},
"devDependencies": {