- 新增 pnpm Monorepo + Expo Router 项目模板(含 Metro monorepo 路径解析及 Windows 兼容修复) - 扩展蓝图系统:新增 api-keys、server-registry、ssh-config-sync、vscode-remote 等 15+ 模块定义 - 新增 .blueprint/rules.md 项目私有规则支持,并在 CLAUDE.md 中集成 - 蓝图版本升级至 1.6.0,优化版本比较逻辑(语义化版本元组对比)
18 lines
704 B
Markdown
18 lines
704 B
Markdown
# GitHub 发布
|
||
|
||
在炼境内通过 GitHub OAuth 直接将本地项目推送到远程仓库,支持新建仓库或关联已有仓库,完成发布后自动回填 remote URL。
|
||
|
||
## 决策记录
|
||
|
||
- 依赖 github-auth 模块提供的 access token,不在本模块持久化凭证
|
||
- 发布操作调用 GitHub REST API 创建仓库,然后通过 git2 库执行 push
|
||
|
||
## 任务卡
|
||
|
||
### ✅ GitHub 仓库创建与推送
|
||
- status: done
|
||
- complexity: M
|
||
- files: src-tauri/src/commands/github.rs, src/components/dashboard/ProjectCard.tsx
|
||
- depends: github-auth
|
||
- acceptance: 未关联远程的项目可在看板卡片中一键发布到 GitHub;发布成功后 remote_url 写入 DB,卡片显示 GitHub 链接
|