@dsh-cc/tool-notebook-edit 0.9.5 → 0.9.6-rc.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 +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/package.json +3 -3
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 check:readme --write
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: e70b7d5c167a9fad8aa6797de21d2cf279bf7026
|
|
6
|
+
README.zh.md: f3bb43c6073ef942972a739607f9a42fc00963a4
|
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ The tool is `isConcurrencySafe = () => false`: it mutates shared cell state and
|
|
|
34
34
|
export const Config = z.object({})
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
Each `apply(ctx
|
|
37
|
+
Each `apply(ctx)` call registers the `NotebookEdit` tool into `ctx.tools` and its `fs/observed` listener. Requires a loaded `ctx.tools` and an active `ctx.fs` backend (e.g. `@deepseek-ai/dsh-fs-local`); the plugin stays pending until `inject: ['tools', 'fs']` is satisfied.
|
|
38
38
|
|
|
39
39
|
## Install / registration
|
|
40
40
|
|
package/README.zh.md
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
export const Config = z.object({})
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
每次 `apply(ctx
|
|
37
|
+
每次 `apply(ctx)` 都会把 `NotebookEdit` 工具注册进 `ctx.tools`,并注册其 `fs/observed` 监听器。需要已加载的 `ctx.tools` 与活跃的 `ctx.fs` 后端(例如 `@deepseek-ai/dsh-fs-local`);在 `inject: ['tools', 'fs']` 满足之前,插件保持等待状态。
|
|
38
38
|
|
|
39
39
|
## 安装 / 注册
|
|
40
40
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dsh-cc/tool-notebook-edit",
|
|
3
3
|
"description": "NotebookEdit model tool that edits Jupyter notebook (.ipynb) cells over the ctx.fs seam, aligned with Claude Code's NotebookEditTool replace/insert/delete, cell addressing, and read-before-write semantics",
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.6-rc.1",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/dsh-cc/dsh-cc.git",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@deepseek-ai/dsh-llm": ">=0.2.2-rc.1",
|
|
30
30
|
"@deepseek-ai/cordis": ">=0.2.0-rc.2",
|
|
31
31
|
"@deepseek-ai/schemastery": "^3.18.1",
|
|
32
|
-
"@dsh-cc/tools": "^0.9.
|
|
32
|
+
"@dsh-cc/tools": "^0.9.6-rc.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@deepseek-ai/cordis": "link:../../../../deepseek-harness/vendor/cordis",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@deepseek-ai/dsh-system-prompt": "link:../../../../deepseek-harness/packages/core/system-prompt",
|
|
40
40
|
"@deepseek-ai/dsh-tool-testkit": "link:../../../../deepseek-harness/packages/test-support/tool-testkit",
|
|
41
41
|
"@deepseek-ai/schemastery": "link:../../../../deepseek-harness/vendor/schemastery",
|
|
42
|
-
"@dsh-cc/tools": "^0.9.
|
|
42
|
+
"@dsh-cc/tools": "^0.9.6-rc.1"
|
|
43
43
|
},
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|