feat(M0): 初始化工程脚手架、CI 流水线与源码分层骨架 - #1
Merged
Merged
Conversation
🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
落地 M0 里程碑:初始化 Hyper Git VS Code 扩展的工程脚手架、CI 流水线与源码分层骨架。完整方案基于循证调研,采用路径 B:消费内置
vscode.git稳定 API + 自建 changelist registry + 独立视图容器自绘 IDEA 风格 UI(不接管原生 Source Control 视图)。交付内容
.npmrc(node-linker=hoisted);engines.vscode ^1.85.0与@types/vscode ~1.85.0严格对齐(让 tsc 拦截越界 API)。engine/(纯逻辑,零 vscode 依赖) /adapter/(唯一接触 vscode API) /agent/(AI 接缝预留) /shared/protocol.ts(Webview↔Host 消息契约单一事实源) /infra/。engine/scm-mapping(FileStatus →gitDecoration.*主题色映射)、engine/commit/pipeline(Checkin hook 责任链,对齐 IDEACheckinHandler.ReturnResult)。ILlmProvider/IPreCommitInspector接口 + Null 实现(M5 实现真实能力)。@vscode/test-electron+ Mocha(adapter 集成)。tag v*→ 双市场发布(Marketplace + OpenVSX,覆盖 Cursor/Windsurf)。hyper-git+hyperGit.changes树视图(M0 占位,M1 接入真实 changelist)+hyperGit.showVersion命令 + 配置项(commit 模板 / Conventional Commits / AI 开关预留)。验收(本地全绿)
check-types/lint/packagetest:unit(Vitest)test:integration(test-electron)vsce packagehyper-git-0.1.0.vsix(7.93 KB)后续里程碑
M1 Git Adapter + 多 changelist Changes TreeView → M2 Commit 窗口 → M3 Log/Branches/Diff → M4 Shelf/Partial/Stash → M5 AI Agent。
🤖 Generated with Claude Code