@dsh-cc/tool-notebook-edit 0.9.3-rc.4 → 0.9.4
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 +8 -13
- package/lib/invariant.d.ts +0 -16
- package/lib/invariant.d.ts.map +0 -1
- package/lib/invariant.js +0 -23
- package/lib/invariant.js.map +0 -1
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: 27066c8144d6d9a6e7fcf359ff1ed233c6f8bc6a
|
|
6
|
+
README.zh.md: bc675deff32aa4990cfaed77124420c7220f9311
|
package/README.md
CHANGED
|
@@ -56,7 +56,7 @@ await ctx.plugin(ToolNotebookEdit) // registers the NotebookEdit tool + l
|
|
|
56
56
|
|
|
57
57
|
## Build order
|
|
58
58
|
|
|
59
|
-
`tool-notebook-edit` depends on the workspace `@dsh-cc/tools` package and harness base packages (`@deepseek-ai/cordis`, `@deepseek-ai/dsh-fs`, `@deepseek-ai/dsh-llm`, `@deepseek-ai/
|
|
59
|
+
`tool-notebook-edit` depends on the workspace `@dsh-cc/tools` package and harness base packages (`@deepseek-ai/cordis`, `@deepseek-ai/dsh-fs`, `@deepseek-ai/dsh-llm`, `@deepseek-ai/schemastery`). It has no dependency on any other workspace package, so it builds as soon as `core/tools` does; `tsc -b` resolves the reference order automatically.
|
|
60
60
|
|
|
61
61
|
## Known limitations
|
|
62
62
|
|
package/README.zh.md
CHANGED
|
@@ -56,7 +56,7 @@ await ctx.plugin(ToolNotebookEdit) // 注册 NotebookEdit 工具 + 监听
|
|
|
56
56
|
|
|
57
57
|
## 构建顺序
|
|
58
58
|
|
|
59
|
-
`tool-notebook-edit` 仅依赖工作区 `@dsh-cc/tools` 包与 harness 基础包(`@deepseek-ai/cordis`、`@deepseek-ai/dsh-fs`、`@deepseek-ai/dsh-llm`、`@deepseek-ai/
|
|
59
|
+
`tool-notebook-edit` 仅依赖工作区 `@dsh-cc/tools` 包与 harness 基础包(`@deepseek-ai/cordis`、`@deepseek-ai/dsh-fs`、`@deepseek-ai/dsh-llm`、`@deepseek-ai/schemastery`)。它不依赖任何其它工作区包,因此只要 `core/tools` 构建完成即可构建;`tsc -b` 会自动解析引用顺序。
|
|
60
60
|
|
|
61
61
|
## 已知限制
|
|
62
62
|
|
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.4",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/dsh-cc/dsh-cc.git",
|
|
@@ -13,10 +13,6 @@
|
|
|
13
13
|
"types": "./lib/index.d.ts",
|
|
14
14
|
"default": "./lib/index.js"
|
|
15
15
|
},
|
|
16
|
-
"./invariant": {
|
|
17
|
-
"types": "./lib/invariant.d.ts",
|
|
18
|
-
"default": "./lib/invariant.js"
|
|
19
|
-
},
|
|
20
16
|
"./render": {
|
|
21
17
|
"types": "./lib/render.d.ts",
|
|
22
18
|
"default": "./lib/render.js"
|
|
@@ -29,22 +25,21 @@
|
|
|
29
25
|
],
|
|
30
26
|
"license": "Apache-2.0",
|
|
31
27
|
"peerDependencies": {
|
|
32
|
-
"@deepseek-ai/dsh-fs": ">=0.2.
|
|
33
|
-
"@deepseek-ai/dsh-llm": ">=0.2.
|
|
34
|
-
"@deepseek-ai/dsh-invariants": ">=0.2.0-rc.2",
|
|
28
|
+
"@deepseek-ai/dsh-fs": ">=0.2.2-rc.1",
|
|
29
|
+
"@deepseek-ai/dsh-llm": ">=0.2.2-rc.1",
|
|
35
30
|
"@deepseek-ai/cordis": ">=0.2.0-rc.2",
|
|
36
31
|
"@deepseek-ai/schemastery": "^3.18.1",
|
|
37
|
-
"@dsh-cc/tools": "^0.9.
|
|
32
|
+
"@dsh-cc/tools": "^0.9.4"
|
|
38
33
|
},
|
|
39
34
|
"devDependencies": {
|
|
35
|
+
"@deepseek-ai/cordis": "link:../../../../deepseek-harness/vendor/cordis",
|
|
40
36
|
"@deepseek-ai/dsh-fs": "link:../../../../deepseek-harness/packages/fs/fs",
|
|
41
37
|
"@deepseek-ai/dsh-fs-local": "link:../../../../deepseek-harness/packages/fs/fs-local",
|
|
42
38
|
"@deepseek-ai/dsh-llm": "link:../../../../deepseek-harness/packages/llm/llm",
|
|
43
|
-
"@deepseek-ai/dsh-invariants": "link:../../../../deepseek-harness/packages/runtime-diagnostics/invariants",
|
|
44
|
-
"@deepseek-ai/cordis": "link:../../../../deepseek-harness/vendor/cordis",
|
|
45
|
-
"@deepseek-ai/schemastery": "link:../../../../deepseek-harness/vendor/schemastery",
|
|
46
39
|
"@deepseek-ai/dsh-system-prompt": "link:../../../../deepseek-harness/packages/core/system-prompt",
|
|
47
|
-
"@dsh-
|
|
40
|
+
"@deepseek-ai/dsh-tool-testkit": "link:../../../../deepseek-harness/packages/test-support/tool-testkit",
|
|
41
|
+
"@deepseek-ai/schemastery": "link:../../../../deepseek-harness/vendor/schemastery",
|
|
42
|
+
"@dsh-cc/tools": "^0.9.4"
|
|
48
43
|
},
|
|
49
44
|
"publishConfig": {
|
|
50
45
|
"access": "public"
|
package/lib/invariant.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Package-owned invariant companion for `@dsh-cc/tool-notebook-edit`.
|
|
3
|
-
* @module @dsh-cc/tool-notebook-edit/invariant
|
|
4
|
-
*/
|
|
5
|
-
import type { Context } from '@deepseek-ai/cordis';
|
|
6
|
-
/** Cordis companion plugin name. */
|
|
7
|
-
export declare const name = "tool-notebook-edit-invariant";
|
|
8
|
-
/** Service required before the companion can reserve package ownership. */
|
|
9
|
-
export declare const inject: string[];
|
|
10
|
-
/**
|
|
11
|
-
* Register this package's invariant companion.
|
|
12
|
-
* @param ctx - Cordis context carrying the invariant service.
|
|
13
|
-
* @returns the installed registration's disposer after setup succeeds.
|
|
14
|
-
*/
|
|
15
|
-
export declare const apply: (ctx: Context) => Promise<() => void>;
|
|
16
|
-
//# sourceMappingURL=invariant.d.ts.map
|
package/lib/invariant.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invariant.d.ts","sourceRoot":"","sources":["../src/invariant.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAKlD,oCAAoC;AACpC,eAAO,MAAM,IAAI,iCAAiC,CAAA;AAClD,2EAA2E;AAC3E,eAAO,MAAM,MAAM,UAAiB,CAAA;AASpC;;;;GAIG;AACH,eAAO,MAAM,KAAK,GAAI,KAAK,OAAO,KAAG,OAAO,CAAC,MAAM,IAAI,CACU,CAAA"}
|
package/lib/invariant.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Package-owned invariant companion for `@dsh-cc/tool-notebook-edit`.
|
|
3
|
-
* @module @dsh-cc/tool-notebook-edit/invariant
|
|
4
|
-
*/
|
|
5
|
-
const PACKAGE_NAME = '@dsh-cc/tool-notebook-edit';
|
|
6
|
-
/** Cordis companion plugin name. */
|
|
7
|
-
export const name = 'tool-notebook-edit-invariant';
|
|
8
|
-
/** Service required before the companion can reserve package ownership. */
|
|
9
|
-
export const inject = ['invariants'];
|
|
10
|
-
/**
|
|
11
|
-
* No durable runtime invariant: the read-before-write baseline lives only in
|
|
12
|
-
* the plugin's `apply`-registered closure and is torn down with the plugin
|
|
13
|
-
* scope, so there is no persistent projection a companion could cross-check.
|
|
14
|
-
*/
|
|
15
|
-
const install = () => { };
|
|
16
|
-
/**
|
|
17
|
-
* Register this package's invariant companion.
|
|
18
|
-
* @param ctx - Cordis context carrying the invariant service.
|
|
19
|
-
* @returns the installed registration's disposer after setup succeeds.
|
|
20
|
-
*/
|
|
21
|
-
export const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
|
|
22
|
-
/* jscpd:ignore-end */
|
|
23
|
-
//# sourceMappingURL=invariant.js.map
|
package/lib/invariant.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invariant.js","sourceRoot":"","sources":["../src/invariant.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,MAAM,YAAY,GAAG,4BAA4B,CAAA;AAEjD,oCAAoC;AACpC,MAAM,CAAC,MAAM,IAAI,GAAG,8BAA8B,CAAA;AAClD,2EAA2E;AAC3E,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,YAAY,CAAC,CAAA;AAEpC;;;;GAIG;AACH,MAAM,OAAO,GAAuB,GAAG,EAAE,GAAE,CAAC,CAAA;AAE5C;;;;GAIG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,GAAY,EAAuB,EAAE,CACzD,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC,CAAA;AACjE,sBAAsB"}
|