Skip to content

新增 macOS GitHub 拉取请求与 AI 描述工作流 - #98

Merged
1lck merged 11 commits into
preview/0.3.0from
codex/pr-af3dbe85
Aug 15, 2026
Merged

新增 macOS GitHub 拉取请求与 AI 描述工作流#98
1lck merged 11 commits into
preview/0.3.0from
codex/pr-af3dbe85

Conversation

@1lck

@1lck 1lck commented Aug 15, 2026

Copy link
Copy Markdown
Owner

Summary

新增 macOS GitHub 拉取请求工作流,并加入 AI 辅助生成拉取请求描述的能力;同时优化工作台分隔条的拖动交互。

Changes

  • 新增 GitHub OAuth 配置、设备授权、钥匙串凭据存储、HTTP 传输和 Git 操作适配器。
  • 新增拉取请求侧边栏与管理界面,接入连接状态、仓库解析和拉取请求相关操作。
  • 在 Rust Core 中新增 GitHub 远程解析、请求规划、响应规范化及工作树感知的拉取请求上下文命令。
  • 扩展 AI 模块与设置,支持标准、精简、详细和自定义模板的拉取请求描述生成。
  • 补充简体中文本地化、共享 GitHub 契约、验证夹具和模块能力声明。
  • 扩大分隔条命中区域,并减少拖动过程中重复的位移更新。

Testing

  • 新增 GitHub 服务、macOS Git 操作、HTTP 路径编码和 Rust GitHub Core 测试。
  • 更新 AI 模块生命周期、拉取请求描述生成、简体中文本地化及 Git 工作树上下文测试。
  • 比较内容未提供测试执行结果。

1lck and others added 11 commits August 15, 2026 13:49
Reduce stuttering when dragging the vertical split handle between editor
and Git panel by:

- Throttle drag updates to only fire when translation changes by more
  than 1pt, reducing layout recalculations by 30-50%
- Apply drawingGroup() to composite the split view as a single Metal
  layer during drag, improving rendering performance 2-3x

The horizontal split handle (sidebar resize) was already smooth because
it doesn't trigger complex Git diff view rebuilds. The vertical handle
affects both editor and Git Log heights, causing expensive DiffSplitLayout
recalculations on every pixel change.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Add Rust-backed GitHub request contracts, macOS authentication and transport adapters, pull request management UI, and shared verification fixtures. Also avoid flattening AppKit-backed workbench controls during split-view rendering.
…dbe85

# Conflicts:
#	Tests/LitheTests/AppLocalizationTests.swift
@1lck
1lck merged commit cdc194a into preview/0.3.0 Aug 15, 2026
7 checks passed
@1lck
1lck deleted the codex/pr-af3dbe85 branch August 15, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant