@deepseek-ai/dsh-tool-fs 0.1.3-alpha.2 → 0.1.5-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 CHANGED
@@ -2,5 +2,5 @@
2
2
  # side as of the last confirmed-consistent state. Both languages carry equal authority;
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-fs/README.md
5
- README.md: 6da984ff436f3515b4798ddb47e3a15466672f9e
6
- README.zh.md: e4d1ef8483c2e644f2e6308e1965d87773278515
5
+ README.md: cfc4b9fd7b1406cd35668f7fcfbd82c24858a6f0
6
+ README.zh.md: 9736b17d93810a027d3cb3cb267703199c5d6593
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- `dsh-tool-fs` provides the model-facing filesystem tools — `read`, `read_image`, `write`, and `edit` — and their executor. With them the model reads files with line numbers, creates or replaces them atomically, and applies targeted literal edits; results are capped and failures carry stable codes with recovery instructions, all backed by a mounted `ctx.fs` backend. The read-before-edit policy lives in a separate plugin (`dsh-fs-observation-policy`), so omitting it yields unconditional, still-atomic mutations. `read_image` appears while a durable attachment store is mounted and refuses execution unless the routed model declares image input. Choose this package when the model should read, create, replace, or edit UTF-8 text files; discovery (`glob`/`grep`) is a sibling package.
12
+ Use `dsh-tool-fs` to let a model read UTF-8 files with line numbers, read supported images, create or atomically replace files, and apply targeted literal edits. Results are capped, and failures provide stable error codes and recovery instructions. Add `dsh-fs-observation-policy` when writes and edits must follow a successful read; without it, mutations remain atomic but are unconditional. Image reads require durable attachment storage and an image-capable routed model. Choose the sibling discovery package for glob or grep searches.
13
13
 
14
14
  ## Table of Contents
15
15
 
package/README.zh.md CHANGED
@@ -9,7 +9,7 @@ kind: "package-reference"
9
9
 
10
10
  ## 概述
11
11
 
12
- `dsh-tool-fs` 提供面向模型的文件系统工具——`read`、`read_image`、`write` `edit`——及其执行器。借助它们,模型可以带行号读取文件、原子地创建或替换文件,并执行有针对性的字面量编辑;结果都有上限,失败携带稳定错误码与恢复指令,所有文件操作都运行在已挂载的 `ctx.fs` 后端之上。编辑前读取策略位于独立插件(`dsh-fs-observation-policy`)中,因此省略它只会得到无条件、依然原子的变更。`read_image` 在持久附件存储已挂载时出现,并且只在路由模型声明图片输入时允许执行。当模型需要读取、创建、替换或编辑 UTF-8 文本文件时选择本包;发现工具(`glob`/`grep`)在同级包中。
12
+ 使用 `dsh-tool-fs` 可让模型带行号读取 UTF-8 文件、读取受支持的图片、创建或原子地替换文件,以及执行有针对性的字面量编辑。结果都有上限,失败会提供稳定错误码与恢复指令。当写入和编辑必须在成功读取后执行时,请添加 `dsh-fs-observation-policy`;省略它时,变更仍是原子的,但不受此条件约束。图片读取需要持久附件存储和支持图片输入的路由模型。glob grep 搜索请选择同级的发现工具包。
13
13
 
14
14
  ## 目录
15
15
 
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.1.3-alpha.2",
4
+ "version": "0.1.5-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -31,34 +31,34 @@
31
31
  "@deepseek-ai/schemastery": "^3.18.2"
32
32
  },
33
33
  "peerDependencies": {
34
- "@deepseek-ai/dsh-attachment": "^0.1.3-alpha.2",
35
- "@deepseek-ai/dsh-fs": "^0.1.3-alpha.2",
36
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
37
- "@deepseek-ai/dsh-sandbox": "^0.1.3-alpha.2",
38
- "@deepseek-ai/dsh-sandbox-policy": "^0.1.3-alpha.2",
39
- "@deepseek-ai/dsh-system-prompt": "^0.1.3-alpha.2",
40
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
41
- "@deepseek-ai/dsh-tools": "^0.1.3-alpha.2",
42
- "@deepseek-ai/dsh-user-approval": "^0.1.3-alpha.2",
43
- "@deepseek-ai/cordis": "^4.0.2"
34
+ "@deepseek-ai/dsh-attachment": "^0.1.5-alpha.1",
35
+ "@deepseek-ai/dsh-fs": "^0.1.5-alpha.1",
36
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.1",
37
+ "@deepseek-ai/dsh-sandbox": "^0.1.5-alpha.1",
38
+ "@deepseek-ai/dsh-sandbox-policy": "^0.1.5-alpha.1",
39
+ "@deepseek-ai/dsh-tools": "^0.1.5-alpha.1",
40
+ "@deepseek-ai/dsh-system-prompt": "^0.1.5-alpha.1",
41
+ "@deepseek-ai/dsh-user-approval": "^0.1.5-alpha.1",
42
+ "@deepseek-ai/cordis": "^4.0.2",
43
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.1"
44
44
  },
45
45
  "devDependencies": {
46
- "@deepseek-ai/dsh-agent": "^0.1.3-alpha.2",
47
- "@deepseek-ai/dsh-attachment": "^0.1.3-alpha.2",
48
- "@deepseek-ai/dsh-agent-loop": "^0.1.3-alpha.2",
49
- "@deepseek-ai/dsh-fs": "^0.1.3-alpha.2",
50
- "@deepseek-ai/dsh-agent-loop-testkit": "^0.1.3-alpha.2",
51
- "@deepseek-ai/dsh-fs-observation-policy": "^0.1.3-alpha.2",
52
- "@deepseek-ai/dsh-fs-local": "^0.1.3-alpha.2",
53
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
54
- "@deepseek-ai/dsh-llm-deepseek": "^0.1.3-alpha.2",
55
- "@deepseek-ai/dsh-sandbox": "^0.1.3-alpha.2",
56
- "@deepseek-ai/dsh-sandbox-policy": "^0.1.3-alpha.2",
57
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
58
- "@deepseek-ai/dsh-system-prompt": "^0.1.3-alpha.2",
59
- "@deepseek-ai/dsh-tools": "^0.1.3-alpha.2",
46
+ "@deepseek-ai/dsh-agent": "^0.1.5-alpha.1",
47
+ "@deepseek-ai/dsh-agent-loop": "^0.1.5-alpha.1",
48
+ "@deepseek-ai/dsh-agent-loop-testkit": "^0.1.5-alpha.1",
49
+ "@deepseek-ai/dsh-attachment": "^0.1.5-alpha.1",
50
+ "@deepseek-ai/dsh-fs": "^0.1.5-alpha.1",
51
+ "@deepseek-ai/dsh-fs-observation-policy": "^0.1.5-alpha.1",
52
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.1",
53
+ "@deepseek-ai/dsh-llm-deepseek": "^0.1.5-alpha.1",
54
+ "@deepseek-ai/dsh-sandbox": "^0.1.5-alpha.1",
55
+ "@deepseek-ai/dsh-sandbox-policy": "^0.1.5-alpha.1",
56
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.1",
57
+ "@deepseek-ai/dsh-system-prompt": "^0.1.5-alpha.1",
58
+ "@deepseek-ai/dsh-tools": "^0.1.5-alpha.1",
59
+ "@deepseek-ai/dsh-user-approval": "^0.1.5-alpha.1",
60
60
  "@deepseek-ai/cordis": "^4.0.2",
61
- "@deepseek-ai/dsh-user-approval": "^0.1.3-alpha.2",
62
- "@deepseek-ai/dsh-session-projection": "^0.1.3-alpha.2"
61
+ "@deepseek-ai/dsh-session-projection": "^0.1.5-alpha.1",
62
+ "@deepseek-ai/dsh-fs-local": "^0.1.5-alpha.1"
63
63
  }
64
64
  }