m1(i18n 混用不一致): - flash-dialog.tsx 所有英文字串改繁中(載入模型 / 選擇模型 / 硬體不相容 / 開始載入 / 關閉 / 完成) - flash-progress.tsx 同理(模型載入失敗 / 重試 / 正在準備載入 / 模型載入完成) m2(Dialog 關閉防護不完整): - 改用 isInProgress 判斷(isFlashing || progress 未到 100%)+ 沒 error 而非只看 isFlashing,涵蓋「API 回應了但 WS 進度還在跑」的情況 m4(WS 3 秒 timeout 應 reject): - connectAndWait timeout 改 reject + Error message - flash-dialog handleFlash 加 try/catch 捕捉 WS 連線失敗 → 呼叫 setError 讓 UI 顯示錯誤而非靜默卡住 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This is a Next.js project bootstrapped with create-next-app.
Getting Started
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
Learn More
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
Deploy on Vercel
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.