v0.4.2
npm 正式通道的第二个版本,也是第一个由 Release 自动发布(OIDC Trusted Publishing)的版本。
发布通道
- 新增 .github/workflows/npm-publish.yml(node 24 + id-token: write,零令牌);npm 侧已登记 Trusted Publisher(repo=KannaKuron/dsh-ide-git,file=npm-publish.yml)。
- v0.4.1 为手动 bootstrap 首版(令牌建包,无 Release);本版起 GitHub Release published 自动触发 npm publish。
修复
- 测试夹具跨平台修复(Windows):api 集成测试的临时仓库显式固定 core.autocrlf=false + core.eol=lf——Windows 上 Git for Windows 系统级 autocrlf=true 会让 discard/undo 检回的文件 LF→CRLF,字节级断言全挂(macOS/Linux/CI 不受影响)。43/43 全绿。
安装 / 更新
- DSH 内安装:dsh plugin --profile add dsh-ide-git(需要 dsh >= 0.1.2)
- 可选 peer:dsh-better-sidebar >= 0.12.0——未安装时自动挂载 DSH 原生右侧栏,功能一致