@xth26/dsh-plan-build-mode 0.2.1 → 0.2.3
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 +3 -1
- package/README.zh.md +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -73,7 +73,7 @@ For `0.x` versions, the semver range `^0.1.0` only matches `0.1.x` and will **ne
|
|
|
73
73
|
```bash
|
|
74
74
|
# Bump the installed version in the target profile
|
|
75
75
|
# (run this outside a sandboxed agent session; the profile directory is not writable from DSH)
|
|
76
|
-
dsh plugin --profile dsh-tui add @xth26/dsh-plan-build-mode@0.2.
|
|
76
|
+
dsh plugin --profile dsh-tui add @xth26/dsh-plan-build-mode@0.2.3
|
|
77
77
|
|
|
78
78
|
# Restart the DSH process that uses that profile
|
|
79
79
|
# (old Node process still holds the previous plugin code in memory)
|
|
@@ -109,6 +109,8 @@ dsh plugin --profile dsh-tui add @xth26/dsh-plan-build-mode@latest
|
|
|
109
109
|
section: true
|
|
110
110
|
```
|
|
111
111
|
|
|
112
|
+
`planSandbox` and `buildSandbox` must differ.
|
|
113
|
+
|
|
112
114
|
## Plan mode: command-line Python for inspection
|
|
113
115
|
|
|
114
116
|
While Plan mode is read-only and blocks `write`/`edit` tools, it is **encouraged** to run short, read-only command-line Python snippets to inspect data and validate assumptions. For example:
|
package/README.zh.md
CHANGED
|
@@ -70,7 +70,7 @@ pnpm link --global @xth26/dsh-plan-build-mode
|
|
|
70
70
|
```bash
|
|
71
71
|
# 在目标 profile 中提升已安装版本
|
|
72
72
|
# (这条命令需要在非沙箱的终端里执行;DSH agent 无法写入 profile 目录)
|
|
73
|
-
dsh plugin --profile dsh-tui add @xth26/dsh-plan-build-mode@0.2.
|
|
73
|
+
dsh plugin --profile dsh-tui add @xth26/dsh-plan-build-mode@0.2.3
|
|
74
74
|
|
|
75
75
|
# 重启使用该 profile 的 DSH 进程
|
|
76
76
|
# (旧的 Node 进程仍缓存着旧插件代码)
|
|
@@ -106,6 +106,8 @@ dsh plugin --profile dsh-tui add @xth26/dsh-plan-build-mode@latest
|
|
|
106
106
|
section: true
|
|
107
107
|
```
|
|
108
108
|
|
|
109
|
+
`planSandbox` 和 `buildSandbox` 必须不同。
|
|
110
|
+
|
|
109
111
|
## Plan 模式:命令行 Python 做数据检查
|
|
110
112
|
|
|
111
113
|
Plan 模式只读并拦截 `write`/`edit` 工具,但**鼓励**在命令行里跑简短、只读的 Python 片段来读数据和验证假设。例如:
|