mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-06-04 07:10:07 +08:00
- useCheckBackend 重写:60s 总超时取代 while(true) 死轮询,订阅 Tauri backend-ready/terminated/startup-timeout 事件,裸 fetch 探测避免 启动期 toast 叠堆 - Tauri lib.rs:spawn 后 HTTP 探针轮询 /api/sys_check 拿 200 才算就绪 (之前 TCP connect 会被孤儿进程误判);RunEvent::Exit 钩子退出前 kill sidecar,修孤儿进程占端口;restart 前发 backend-restarting 让前端忽略主动 kill 引发的 terminated - BackendInitDialog:失败态展示原因 + 最近 stderr + 重启/复制日志按钮 - StartupBanner:收到 restarted/ready 自动清「已退出」横幅 - BackendHealthIndicator:修 /api/api/sys_health 双前缀 404 - Onboarding:step1 后端连通改自动重试 + 事件触发 + 手动按钮;step2 撞预置供应商名时改为更新已存在供应商;errText 统一错误文案 - 全局代理 UI:下载配置页新增代理卡片(services/proxy.ts + ProxyConfig) - request.ts 加 suppressToast 配置位,预期失败不弹全局红 toast - NoteForm/taskStore:捕获就绪门禁错误,引导去音频转写配置页下载 - providerCard:整行可点切换(之前只有 icon 区域响应) - Monitor 页 Whisper 卡显示模型本地下载状态 - tauri/api 升级对齐 2.11,修 vite build 版本不匹配 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
90 lines
2.6 KiB
JSON
90 lines
2.6 KiB
JSON
{
|
|
"name": "bili_note",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"lint": "eslint .",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@ant-design/x": "^2.4.0",
|
|
"@hookform/resolvers": "^5.0.1",
|
|
"@lobehub/icons": "^1.97.1",
|
|
"@lobehub/icons-static-svg": "^1.45.0",
|
|
"@lottiefiles/dotlottie-react": "^0.13.3",
|
|
"@radix-ui/react-checkbox": "^1.1.4",
|
|
"@radix-ui/react-dialog": "^1.1.7",
|
|
"@radix-ui/react-label": "^2.1.2",
|
|
"@radix-ui/react-scroll-area": "^1.2.3",
|
|
"@radix-ui/react-select": "^2.1.6",
|
|
"@radix-ui/react-slot": "^1.1.2",
|
|
"@radix-ui/react-switch": "^1.2.2",
|
|
"@radix-ui/react-tabs": "^1.1.9",
|
|
"@radix-ui/react-tooltip": "^1.1.8",
|
|
"@tailwindcss/vite": "^4.1.3",
|
|
"@tauri-apps/api": "^2.11.0",
|
|
"@tauri-apps/plugin-shell": "~2.3.5",
|
|
"@uiw/react-markdown-preview": "^5.1.3",
|
|
"antd": "^5.24.8",
|
|
"axios": "^1.8.4",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"fuse.js": "^7.1.0",
|
|
"github-markdown-css": "^5.8.1",
|
|
"idb-keyval": "^6.2.2",
|
|
"jszip": "^3.10.1",
|
|
"katex": "^0.16.22",
|
|
"lottie-react": "^2.4.1",
|
|
"lucide-react": "^0.487.0",
|
|
"markdown-navbar": "^1.4.3",
|
|
"markmap-common": "^0.18.9",
|
|
"markmap-lib": "^0.18.11",
|
|
"markmap-toolbar": "^0.18.10",
|
|
"markmap-view": "^0.18.10",
|
|
"next-themes": "^0.4.6",
|
|
"pinyin-match": "^1.2.7",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"react-hook-form": "^7.55.0",
|
|
"react-hot-toast": "^2.5.2",
|
|
"react-intersection-observer": "^9.16.0",
|
|
"react-markdown": "^8.0.7",
|
|
"react-medium-image-zoom": "^5.2.14",
|
|
"react-resizable-panels": "^2.1.8",
|
|
"react-router-dom": "^7.5.1",
|
|
"react-syntax-highlighter": "^15.6.1",
|
|
"rehype-katex": "^6.0.2",
|
|
"remark-gfm": "3.0.1",
|
|
"remark-math": "^5.1.1",
|
|
"sonner": "^2.0.3",
|
|
"tailwind-merge": "^3.1.0",
|
|
"tailwindcss": "^4.1.3",
|
|
"tw-animate-css": "^1.2.5",
|
|
"uuid": "^11.1.0",
|
|
"zod": "^3.24.2",
|
|
"zustand": "^5.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.21.0",
|
|
"@tailwindcss/postcss": "^4.1.3",
|
|
"@tauri-apps/cli": "^2.5.0",
|
|
"@types/node": "^22.14.0",
|
|
"@types/react": "^19.0.10",
|
|
"@types/react-dom": "^19.0.4",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"autoprefixer": "^10.4.21",
|
|
"eslint": "^9.21.0",
|
|
"eslint-plugin-react-hooks": "^5.1.0",
|
|
"eslint-plugin-react-refresh": "^0.4.19",
|
|
"globals": "^15.15.0",
|
|
"prettier": "^3.5.3",
|
|
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
"typescript": "~5.7.2",
|
|
"typescript-eslint": "^8.24.1",
|
|
"vite": "^6.2.0"
|
|
}
|
|
}
|