@deepseek-ai/dsh-tool-str-replace-editor 0.0.1-rc.2 → 0.0.1-rc.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.i18n.yaml +1 -1
- package/README.zh.md +4 -4
- package/package.json +19 -19
package/README.i18n.yaml
CHANGED
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/fs/tool-str-replace-editor/README.md
|
|
5
5
|
README.md: 8b4772cc4eb40e23a5d6ea8e409188b5033318ba
|
|
6
|
-
README.zh.md:
|
|
6
|
+
README.zh.md: c44da51a1e46da24e4233f7bee26bc9a2aeab76e
|
package/README.zh.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](README.md) | 中文
|
|
4
4
|
|
|
5
|
-
基于 `ctx.fs
|
|
5
|
+
基于 `ctx.fs`、面向模型的独立 `str_replace_editor`。它可与持久 Bash、一次性 Bash、沙箱 Bash 或其他终端接口组合。
|
|
6
6
|
|
|
7
7
|
## 配置
|
|
8
8
|
|
|
@@ -35,7 +35,7 @@ schema 提供针对绝对路径的 `view`、`create`、`str_replace` 与 `insert
|
|
|
35
35
|
|
|
36
36
|
#### 模型看到的内容
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
查看操作返回带行号文本或浅层目录列表。调用会提供文件位置,创建/替换调用还会向展示层提供 diff 卡片。修改操作返回简洁确认。长查看结果保留前缀并追加截断提示。
|
|
39
39
|
|
|
40
40
|
#### Token 影响
|
|
41
41
|
|
|
@@ -45,8 +45,8 @@ schema 提供针对绝对路径的 `view`、`create`、`str_replace` 与 `insert
|
|
|
45
45
|
|
|
46
46
|
工具结果以追加方式位于可复用请求前缀之后。
|
|
47
47
|
|
|
48
|
-
##
|
|
48
|
+
## 已知限制与暂缓事项
|
|
49
49
|
|
|
50
50
|
- 操作面向 UTF-8 文本,不支持二进制文件。
|
|
51
51
|
- `str_replace` 刻意拒绝零匹配或多匹配,且没有 `replace_all` 参数。
|
|
52
|
-
- 每个修改操作都会经过 `fs/write-intent` 或 `fs/edit-intent
|
|
52
|
+
- 每个修改操作都会经过 `fs/write-intent` 或 `fs/edit-intent`,解析当前会话的沙箱策略,并交由挂载的文件系统与策略插件实施约束。
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-tool-str-replace-editor",
|
|
3
3
|
"description": "Model-facing view, create, literal replace, and line insert tool over the Harness filesystem service",
|
|
4
|
-
"version": "0.0.1-rc.
|
|
4
|
+
"version": "0.0.1-rc.3",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "restricted"
|
|
7
7
|
},
|
|
@@ -31,29 +31,29 @@
|
|
|
31
31
|
],
|
|
32
32
|
"license": "BSD-3-Clause",
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@deepseek-ai/dsh-
|
|
35
|
-
"@deepseek-ai/dsh-
|
|
36
|
-
"@deepseek-ai/dsh-sandbox": "^0.0.1-rc.
|
|
37
|
-
"@deepseek-ai/dsh-sandbox-policy": "^0.0.1-rc.
|
|
38
|
-
"@deepseek-ai/dsh-tools": "^0.0.1-rc.
|
|
34
|
+
"@deepseek-ai/dsh-fs": "^0.0.1-rc.3",
|
|
35
|
+
"@deepseek-ai/dsh-invariants": "^0.0.1-rc.3",
|
|
36
|
+
"@deepseek-ai/dsh-sandbox": "^0.0.1-rc.3",
|
|
37
|
+
"@deepseek-ai/dsh-sandbox-policy": "^0.0.1-rc.3",
|
|
38
|
+
"@deepseek-ai/dsh-tools": "^0.0.1-rc.3",
|
|
39
39
|
"@deepseek-ai/cordis": "^4.0.1-rc.1"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@deepseek-ai/schemastery": "^3.18.1-rc.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@deepseek-ai/dsh-
|
|
46
|
-
"@deepseek-ai/dsh-fs": "^0.0.1-rc.
|
|
47
|
-
"@deepseek-ai/dsh-fs-
|
|
48
|
-
"@deepseek-ai/dsh-
|
|
49
|
-
"@deepseek-ai/dsh-fs-sandbox": "^0.0.1-rc.
|
|
50
|
-
"@deepseek-ai/dsh-
|
|
51
|
-
"@deepseek-ai/dsh-
|
|
52
|
-
"@deepseek-ai/dsh-sandbox": "^0.0.1-rc.
|
|
53
|
-
"@deepseek-ai/dsh-
|
|
54
|
-
"@deepseek-ai/dsh-
|
|
55
|
-
"@deepseek-ai/dsh-
|
|
56
|
-
"@deepseek-ai/
|
|
57
|
-
"@deepseek-ai/
|
|
45
|
+
"@deepseek-ai/dsh-fs": "^0.0.1-rc.3",
|
|
46
|
+
"@deepseek-ai/dsh-fs-local": "^0.0.1-rc.3",
|
|
47
|
+
"@deepseek-ai/dsh-fs-observation-policy": "^0.0.1-rc.3",
|
|
48
|
+
"@deepseek-ai/dsh-agent": "^0.0.1-rc.3",
|
|
49
|
+
"@deepseek-ai/dsh-fs-sandbox": "^0.0.1-rc.3",
|
|
50
|
+
"@deepseek-ai/dsh-llm": "^0.0.1-rc.3",
|
|
51
|
+
"@deepseek-ai/dsh-sandbox": "^0.0.1-rc.3",
|
|
52
|
+
"@deepseek-ai/dsh-sandbox-policy": "^0.0.1-rc.3",
|
|
53
|
+
"@deepseek-ai/dsh-session": "^0.0.1-rc.3",
|
|
54
|
+
"@deepseek-ai/dsh-invariants": "^0.0.1-rc.3",
|
|
55
|
+
"@deepseek-ai/dsh-system-prompt": "^0.0.1-rc.3",
|
|
56
|
+
"@deepseek-ai/dsh-tools": "^0.0.1-rc.3",
|
|
57
|
+
"@deepseek-ai/cordis": "^4.0.1-rc.1"
|
|
58
58
|
}
|
|
59
59
|
}
|