dsh-git-worktree 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -2
- package/README.zh.md +6 -2
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -23,11 +23,17 @@ DSH's `workspace-write` sandbox grants exactly the session workspace root. Workt
|
|
|
23
23
|
## Install
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
|
+
# from npm (recommended)
|
|
26
27
|
dsh plugin --profile web add dsh-git-worktree
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
|
|
29
|
+
# or from GitHub source (built on install via the prepare script)
|
|
30
|
+
dsh plugin --profile web add github:wloops/dsh-git-worktree#v0.1.2
|
|
29
31
|
```
|
|
30
32
|
|
|
33
|
+
Git installs build the package on the fly. On pnpm ≥ 10 that build script is
|
|
34
|
+
blocked until allowed: add `dsh-git-worktree: true` under `allowBuilds` in the
|
|
35
|
+
profile's `pnpm-workspace.yaml`, then re-run the add command.
|
|
36
|
+
|
|
31
37
|
## Status
|
|
32
38
|
|
|
33
39
|
Pre-release (`0.1.0`). The state machine and apply engine are ported from Domi's production code (journal-based crash recovery, fingerprint CAS, Windows cleanup retries); the DSH tool surface is new and being hardened. Requires DSH `0.1.0-rc.6` line (`@deepseek-ai/dsh-tools` / `dsh-subprocess` / `dsh-commands`).
|
package/README.zh.md
CHANGED
|
@@ -23,11 +23,15 @@ DSH 的 `workspace-write` 沙箱只授予会话工作区根。因此 worktree
|
|
|
23
23
|
## 安装
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
|
+
# 从 npm(推荐)
|
|
26
27
|
dsh plugin --profile web add dsh-git-worktree
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
|
|
29
|
+
# 或从 GitHub 源码安装(安装时通过 prepare 脚本自动构建)
|
|
30
|
+
dsh plugin --profile web add github:wloops/dsh-git-worktree#v0.1.2
|
|
29
31
|
```
|
|
30
32
|
|
|
33
|
+
Git 安装会在拉取后自动构建。pnpm ≥ 10 默认拦截依赖的构建脚本:在 profile 的 `pnpm-workspace.yaml` 的 `allowBuilds` 下添加 `dsh-git-worktree: true`,然后重跑 add 命令。
|
|
34
|
+
|
|
31
35
|
## 状态
|
|
32
36
|
|
|
33
37
|
预发布(`0.1.0`)。状态机与 apply 引擎移植自 Domi 生产代码(journal 崩溃恢复、指纹 CAS、Windows 清理重试);DSH 工具面为新增并正在加固。要求 DSH `0.1.0-rc.6` 线(`@deepseek-ai/dsh-tools` / `dsh-subprocess` / `dsh-commands`)。
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-git-worktree",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Domi-grade git worktree isolation and delivery for DeepSeek Harness: permanent worktrees, ready-for-review / apply /
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "Domi-grade git worktree isolation and delivery for DeepSeek Harness: permanent worktrees, ready-for-review / apply / finish / discard lifecycle, conflict handling, and safe cleanup.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "lib/index.d.ts",
|
|
@@ -42,7 +42,9 @@
|
|
|
42
42
|
"build": "tsc",
|
|
43
43
|
"typecheck": "tsc --noEmit",
|
|
44
44
|
"test": "vitest run",
|
|
45
|
-
"
|
|
45
|
+
"prepare": "pnpm run build",
|
|
46
|
+
"check:publish": "node scripts/check-publish.mjs",
|
|
47
|
+
"prepublishOnly": "pnpm run build && pnpm run check:publish && pnpm run test"
|
|
46
48
|
},
|
|
47
49
|
"dependencies": {
|
|
48
50
|
"@deepseek-ai/cordis": "4.0.1",
|