@deepseek-ai/dsh-tool-fs 0.2.0-rc.2 → 0.2.1-alpha.1
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 +4 -4
- package/README.md +1 -3
- package/README.zh.md +1 -3
- package/lib/index.js +2 -2
- package/package.json +33 -33
package/README.i18n.yaml
CHANGED
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
en: eb21d89a3ecbd2d4
|
|
22
22
|
zh: f05ccbb1e7515f32
|
|
23
23
|
/deepseek-ai-dsh-tool-fs/use-this-package/the-tools:
|
|
24
|
-
en:
|
|
25
|
-
zh:
|
|
24
|
+
en: 29a1d47e9677f2a3
|
|
25
|
+
zh: 0ae3c794cc7c54db
|
|
26
26
|
/deepseek-ai-dsh-tool-fs/use-this-package/configuration:
|
|
27
27
|
en: 7eb705e3b132fcba
|
|
28
28
|
zh: 883207b13d381f9e
|
|
@@ -138,5 +138,5 @@
|
|
|
138
138
|
en: ce7a91d41d2f7597
|
|
139
139
|
zh: d4a3c905e124fd7f
|
|
140
140
|
/deepseek-ai-dsh-tool-fs/known-limitations-and-deferred-work/dev-note:
|
|
141
|
-
en:
|
|
142
|
-
zh:
|
|
141
|
+
en: e67f633dc6fe7773
|
|
142
|
+
zh: 3bb0c20c93f16f98
|
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ The policy plugin is optional: without it the tools run against the bare provide
|
|
|
48
48
|
| `write` | `file_path`, `content` | Creates or fully replaces a file; with the policy plugin, overwriting requires a prior `read` at the unchanged version, creating does not |
|
|
49
49
|
| `edit` | `file_path`, `old_string`, `new_string`, `replace_all?` | Literal replacement requiring a unique match unless `replace_all` is true; with the policy plugin, requires a prior `read` and an unchanged file |
|
|
50
50
|
|
|
51
|
-
Field names are snake_case to match Claude Code and existing harness tool schemas. Successes return compact envelopes — a read window, an image reference, or a `Created file`/`Updated file` confirmation — and `write`/`edit` derive replayable diff-card metadata for UI presentation.
|
|
51
|
+
Field names are snake_case to match Claude Code and existing harness tool schemas. The `write` and `edit` path descriptions ask the model to emit `file_path` before the content or replacement strings; this guides streaming presentation but does not enforce JSON member order. Successes return compact envelopes — a read window, an image reference, or a `Created file`/`Updated file` confirmation — and `write`/`edit` derive replayable diff-card metadata for UI presentation.
|
|
52
52
|
|
|
53
53
|
### Configuration
|
|
54
54
|
|
|
@@ -255,5 +255,3 @@ These limits define when the tool suite is a poor fit or needs special operation
|
|
|
255
255
|
None.
|
|
256
256
|
|
|
257
257
|
</details>
|
|
258
|
-
|
|
259
|
-
**Runtime invariant:** No companion is published. This model-facing adapter has no independent lifecycle stream; execution relations are owned by the capability seam it calls.
|
package/README.zh.md
CHANGED
|
@@ -48,7 +48,7 @@ kind: "package-reference"
|
|
|
48
48
|
| `write` | `file_path`、`content` | 创建或完整替换文件;有策略插件时,覆盖要求先在未变版本上执行 `read`,创建不需要 |
|
|
49
49
|
| `edit` | `file_path`、`old_string`、`new_string`、`replace_all?` | 字面量替换,除非 `replace_all` 为 true 否则要求唯一匹配;有策略插件时,要求先执行 `read` 且文件未变 |
|
|
50
50
|
|
|
51
|
-
字段名使用 snake_case,与 Claude Code 和现有 harness 工具 schema
|
|
51
|
+
字段名使用 snake_case,与 Claude Code 和现有 harness 工具 schema 一致。`write` 和 `edit` 的路径描述要求模型先输出 `file_path`,再输出内容或替换字符串;这用于引导流式展示,不强制 JSON 成员顺序。成功返回紧凑信封——读取窗口、图像引用或 `Created file`/`Updated file` 确认——`write`/`edit` 还会派生可回放的 diff 卡片元数据供 UI 展示。
|
|
52
52
|
|
|
53
53
|
### 配置
|
|
54
54
|
|
|
@@ -255,5 +255,3 @@ Read a file before editing it (the default fs-observation-policy requires it), u
|
|
|
255
255
|
无。
|
|
256
256
|
|
|
257
257
|
</details>
|
|
258
|
-
|
|
259
|
-
**运行时不变式:** 不发布伴生入口。这个模型侧 adapter 没有独立 lifecycle stream;执行关系由它调用的 capability seam 负责。
|
package/lib/index.js
CHANGED
|
@@ -530,7 +530,7 @@ function applyWriteTool(ctx, sandbox) {
|
|
|
530
530
|
file_path: {
|
|
531
531
|
type: "string",
|
|
532
532
|
required: true,
|
|
533
|
-
description: "Path to write, resolved by the filesystem backend."
|
|
533
|
+
description: "Path to write, resolved by the filesystem backend. Provide `file_path` before `content` in the arguments."
|
|
534
534
|
},
|
|
535
535
|
content: {
|
|
536
536
|
type: "string",
|
|
@@ -678,7 +678,7 @@ function applyEditTool(ctx, sandbox) {
|
|
|
678
678
|
file_path: {
|
|
679
679
|
type: "string",
|
|
680
680
|
required: true,
|
|
681
|
-
description: "Path to edit, resolved by the filesystem backend."
|
|
681
|
+
description: "Path to edit, resolved by the filesystem backend. Provide `file_path` before `old_string` and `new_string` in the arguments."
|
|
682
682
|
},
|
|
683
683
|
old_string: {
|
|
684
684
|
type: "string",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-tool-fs",
|
|
3
3
|
"description": "Model-facing filesystem tools (read, write, edit) over the DeepSeek Harness filesystem seam (ctx.fs)",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.1-alpha.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -28,41 +28,41 @@
|
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"diff": "^9.0.0",
|
|
31
|
-
"@deepseek-ai/
|
|
32
|
-
"@deepseek-ai/
|
|
31
|
+
"@deepseek-ai/dsh-util-code-language": "0.2.1-alpha.1",
|
|
32
|
+
"@deepseek-ai/schemastery": "~3.18.5-alpha.1"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@deepseek-ai/dsh-
|
|
36
|
-
"@deepseek-ai/dsh-
|
|
37
|
-
"@deepseek-ai/dsh-
|
|
38
|
-
"@deepseek-ai/dsh-sandbox": "0.2.
|
|
39
|
-
"@deepseek-ai/dsh-
|
|
40
|
-
"@deepseek-ai/dsh-
|
|
41
|
-
"@deepseek-ai/dsh-tools": "0.2.
|
|
42
|
-
"@deepseek-ai/dsh-user-approval": "0.2.
|
|
43
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
44
|
-
"@deepseek-ai/dsh-
|
|
35
|
+
"@deepseek-ai/dsh-fs": "0.2.1-alpha.1",
|
|
36
|
+
"@deepseek-ai/dsh-llm": "0.2.1-alpha.1",
|
|
37
|
+
"@deepseek-ai/dsh-sandbox": "0.2.1-alpha.1",
|
|
38
|
+
"@deepseek-ai/dsh-sandbox-policy": "0.2.1-alpha.1",
|
|
39
|
+
"@deepseek-ai/dsh-session": "0.2.1-alpha.1",
|
|
40
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.1-alpha.1",
|
|
41
|
+
"@deepseek-ai/dsh-tools": "0.2.1-alpha.1",
|
|
42
|
+
"@deepseek-ai/dsh-user-approval": "0.2.1-alpha.1",
|
|
43
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
44
|
+
"@deepseek-ai/dsh-attachment": "0.2.1-alpha.1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@deepseek-ai/dsh-agent": "0.2.
|
|
48
|
-
"@deepseek-ai/dsh-agent-loop": "0.2.
|
|
49
|
-
"@deepseek-ai/dsh-agent-loop-testkit": "0.2.
|
|
50
|
-
"@deepseek-ai/dsh-attachment": "0.2.
|
|
51
|
-
"@deepseek-ai/dsh-fs
|
|
52
|
-
"@deepseek-ai/dsh-fs-
|
|
53
|
-
"@deepseek-ai/dsh-
|
|
54
|
-
"@deepseek-ai/dsh-llm
|
|
55
|
-
"@deepseek-ai/dsh-llm-deepseek
|
|
56
|
-
"@deepseek-ai/dsh-
|
|
57
|
-
"@deepseek-ai/dsh-
|
|
58
|
-
"@deepseek-ai/dsh-
|
|
59
|
-
"@deepseek-ai/dsh-
|
|
60
|
-
"@deepseek-ai/dsh-
|
|
61
|
-
"@deepseek-ai/
|
|
62
|
-
"@deepseek-ai/
|
|
63
|
-
"@deepseek-ai/dsh-
|
|
64
|
-
"@deepseek-ai/dsh-
|
|
65
|
-
"@deepseek-ai/dsh-
|
|
66
|
-
"@deepseek-ai/dsh-
|
|
47
|
+
"@deepseek-ai/dsh-agent": "0.2.1-alpha.1",
|
|
48
|
+
"@deepseek-ai/dsh-agent-loop": "0.2.1-alpha.1",
|
|
49
|
+
"@deepseek-ai/dsh-agent-loop-testkit": "0.2.1-alpha.1",
|
|
50
|
+
"@deepseek-ai/dsh-attachment": "0.2.1-alpha.1",
|
|
51
|
+
"@deepseek-ai/dsh-fs": "0.2.1-alpha.1",
|
|
52
|
+
"@deepseek-ai/dsh-fs-local": "0.2.1-alpha.1",
|
|
53
|
+
"@deepseek-ai/dsh-fs-observation-policy": "0.2.1-alpha.1",
|
|
54
|
+
"@deepseek-ai/dsh-llm": "0.2.1-alpha.1",
|
|
55
|
+
"@deepseek-ai/dsh-llm-deepseek": "0.2.1-alpha.1",
|
|
56
|
+
"@deepseek-ai/dsh-llm-deepseek-api-key": "0.2.1-alpha.1",
|
|
57
|
+
"@deepseek-ai/dsh-sandbox": "0.2.1-alpha.1",
|
|
58
|
+
"@deepseek-ai/dsh-sandbox-policy": "0.2.1-alpha.1",
|
|
59
|
+
"@deepseek-ai/dsh-session": "0.2.1-alpha.1",
|
|
60
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.1-alpha.1",
|
|
61
|
+
"@deepseek-ai/dsh-user-approval": "0.2.1-alpha.1",
|
|
62
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
63
|
+
"@deepseek-ai/dsh-session-projection": "0.2.1-alpha.1",
|
|
64
|
+
"@deepseek-ai/dsh-scope": "0.2.1-alpha.1",
|
|
65
|
+
"@deepseek-ai/dsh-ptc-runtime": "0.2.1-alpha.1",
|
|
66
|
+
"@deepseek-ai/dsh-tools": "0.2.1-alpha.1"
|
|
67
67
|
}
|
|
68
68
|
}
|