--- id: github-auth name: GitHub OAuth status: done progress: 100 --- ## 概述 GitHub OAuth Device Flow 认证,获取 token 后支持 API 操作和 Git 推送。 ## 任务卡 ### ✅ OAuth Device Flow - status: done - files: src-tauri/src/commands/github.rs, src/components/auth/ 启动 OAuth 流程、轮询 token、保存账户信息。 ### ✅ Token 管理 - status: done - files: src-tauri/src/commands/github.rs 保存、读取、清除 GitHub token,支持登出。