@deepseek-ai/dsh-fs-local 0.1.2-rc.1 → 0.1.3-alpha.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.i18n.yaml +2 -2
- package/README.md +2 -2
- package/README.zh.md +2 -2
- package/package.json +4 -4
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/fs-local/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: 07fb96d457abd3807e892d37d473e92093078664
|
|
6
|
+
README.zh.md: 4980de0c7fe771f75e38d896644d62c29c352c04
|
package/README.md
CHANGED
|
@@ -106,7 +106,7 @@ Read these pages when the package-level contract is not enough. They move from t
|
|
|
106
106
|
- [fs-sandbox](../fs-sandbox/README.md) — the sandbox-enforcing backend that extends this one.
|
|
107
107
|
- [tool-fs](../tool-fs/README.md) — the model-facing tools that consume `ctx.fs`.
|
|
108
108
|
- [fs-observation-policy](../fs-observation-policy/README.md) — the policy plugin that guards mutations through the `fs/*` events.
|
|
109
|
-
- [Windows DACL preservation note](../../../.agents/notes/
|
|
109
|
+
- [Windows DACL preservation note](../../../.agents/notes/archived/bug-fix/2026-07-19-windows-atomic-write-dacl-preservation.md) — why atomic replacement copies the target's access policy.
|
|
110
110
|
|
|
111
111
|
-----
|
|
112
112
|
|
|
@@ -126,7 +126,7 @@ No direct invalidation; the named consumer owns any request-prefix changes.
|
|
|
126
126
|
|
|
127
127
|
These limits define when the local backend is a poor fit or needs special operational care. They are current package constraints, not a general filesystem comparison or a task backlog.
|
|
128
128
|
|
|
129
|
-
- **`config.cwd` is not a sandbox** — it is a resolution default, not containment: absolute paths and `..` escape it. Enforce containment with a stricter `ctx.fs` backend or a permission plugin on the `tools/execute` waterfall
|
|
129
|
+
- **`config.cwd` is not a sandbox** — it is a resolution default, not containment: absolute paths and `..` escape it. Enforce containment with a stricter `ctx.fs` backend or a permission plugin on the `tools/execute` waterfall.
|
|
130
130
|
- **Version tokens depend on filesystem metadata** — they combine device, inode, size, nanosecond mtime, and nanosecond ctime; a storage layer that cannot update any of those facts for a rewrite can still defeat the stale guard.
|
|
131
131
|
- **`editText` holds the whole file (plus the edited copy) in memory** — streaming exists only on the read path.
|
|
132
132
|
- **A sub-limit overwrite still buffers a contextual basis** — `writeText` may retain up to just below `config.diffBasisMaxBytes` of prior text in addition to the caller-owned replacement; the bound does not cap the returned `after` value or the whole-file presentation fallback.
|
package/README.zh.md
CHANGED
|
@@ -106,7 +106,7 @@ kind: "package-reference"
|
|
|
106
106
|
- [fs-sandbox](../fs-sandbox/README.zh.md)——扩展本后端的沙箱强制后端。
|
|
107
107
|
- [tool-fs](../tool-fs/README.zh.md)——消费 `ctx.fs` 的面向模型工具。
|
|
108
108
|
- [fs-observation-policy](../fs-observation-policy/README.zh.md)——通过 `fs/*` 事件防护变更的策略插件。
|
|
109
|
-
- [Windows DACL 保留笔记](../../../.agents/notes/
|
|
109
|
+
- [Windows DACL 保留笔记](../../../.agents/notes/archived/bug-fix/2026-07-19-windows-atomic-write-dacl-preservation.md)——原子替换为何复制目标的访问策略。
|
|
110
110
|
|
|
111
111
|
-----
|
|
112
112
|
|
|
@@ -126,7 +126,7 @@ kind: "package-reference"
|
|
|
126
126
|
|
|
127
127
|
这些限制说明本地后端何时不合适,或何时需要特别的运维注意。它们是当前包约束,不是通用文件系统对比或任务积压。
|
|
128
128
|
|
|
129
|
-
- **`config.cwd` 不是沙箱**:它是解析默认值,而非约束;绝对路径和 `..` 可以逃逸。请使用更严格的 `ctx.fs` 后端或 `tools/execute` waterfall
|
|
129
|
+
- **`config.cwd` 不是沙箱**:它是解析默认值,而非约束;绝对路径和 `..` 可以逃逸。请使用更严格的 `ctx.fs` 后端或 `tools/execute` waterfall(瀑布式事件)上的权限插件实施约束。
|
|
130
130
|
- **版本 token 依赖文件系统元数据**:它们组合设备、inode、大小、纳秒级 mtime 与纳秒级 ctime;如果存储层在重写时无法更新其中任何一项事实,仍可能绕过陈旧防护。
|
|
131
131
|
- **`editText` 会把整个文件及编辑后的副本保存在内存中**:只有读取路径支持流式处理。
|
|
132
132
|
- **低于上限的覆写仍会缓冲上下文基础**:`writeText` 除调用方持有的替换内容外,最多还会保留略低于 `config.diffBasisMaxBytes` 的旧文本;该上限不限制返回的 `after` 值,也不限制整文件展示回退。
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-fs-local",
|
|
3
3
|
"description": "Local-filesystem implementation of the DeepSeek Harness filesystem seam (ctx.fs)",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.3-alpha.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
],
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@deepseek-ai/dsh-fs": "^0.1.
|
|
30
|
+
"@deepseek-ai/dsh-fs": "^0.1.3-alpha.2",
|
|
31
31
|
"@deepseek-ai/cordis": "^4.0.2"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"@deepseek-ai/schemastery": "^3.18.2"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@deepseek-ai/dsh-fs": "^0.1.
|
|
39
|
-
"@deepseek-ai/dsh-llm": "^0.1.
|
|
38
|
+
"@deepseek-ai/dsh-fs": "^0.1.3-alpha.2",
|
|
39
|
+
"@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
|
|
40
40
|
"@deepseek-ai/cordis": "^4.0.2"
|
|
41
41
|
}
|
|
42
42
|
}
|