@deepseek-ai/dsh-tool-fs 0.1.0-rc.3 → 0.1.0-rc.7
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/lib/index.js +1 -10
- package/package.json +29 -29
package/lib/index.js
CHANGED
|
@@ -5,7 +5,6 @@ import { ESCALATION_TARGETS, approveEscalation, canonicalPath, escalationHintMar
|
|
|
5
5
|
import { structuredPatch } from "diff";
|
|
6
6
|
import { basename, extname } from "node:path";
|
|
7
7
|
import { AttachmentError, AttachmentId } from "@deepseek-ai/dsh-attachment";
|
|
8
|
-
import { createUserMessage } from "@deepseek-ai/dsh-llm";
|
|
9
8
|
//#region lib/types/read-render.js
|
|
10
9
|
/**
|
|
11
10
|
* Pure read presentation: turn provider-decoded text into a bounded, line-numbered window and
|
|
@@ -1032,7 +1031,7 @@ function applyReadImageTool(ctx) {
|
|
|
1032
1031
|
kind: "present",
|
|
1033
1032
|
version: info.version
|
|
1034
1033
|
}, exec);
|
|
1035
|
-
|
|
1034
|
+
return {
|
|
1036
1035
|
path: target.displayPath,
|
|
1037
1036
|
image: {
|
|
1038
1037
|
attachmentId: ref.attachmentId,
|
|
@@ -1043,14 +1042,6 @@ function applyReadImageTool(ctx) {
|
|
|
1043
1042
|
...ref.name === void 0 ? {} : { name: ref.name }
|
|
1044
1043
|
}
|
|
1045
1044
|
};
|
|
1046
|
-
if (exec.parent !== void 0) exec.deferContext(createUserMessage({
|
|
1047
|
-
content: imageReadContent(value),
|
|
1048
|
-
source: {
|
|
1049
|
-
kind: "plugin",
|
|
1050
|
-
plugin: "tool-fs"
|
|
1051
|
-
}
|
|
1052
|
-
}));
|
|
1053
|
-
return value;
|
|
1054
1045
|
},
|
|
1055
1046
|
presentCall(args) {
|
|
1056
1047
|
return {
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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.0-rc.
|
|
4
|
+
"version": "0.1.0-rc.7",
|
|
5
5
|
"publishConfig": {
|
|
6
|
-
"access": "
|
|
6
|
+
"access": "public"
|
|
7
7
|
},
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
@@ -36,35 +36,35 @@
|
|
|
36
36
|
"@deepseek-ai/schemastery": "^3.18.1"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@deepseek-ai/dsh-attachment": "^0.1.0-rc.
|
|
40
|
-
"@deepseek-ai/dsh-
|
|
41
|
-
"@deepseek-ai/dsh-llm": "^0.1.0-rc.
|
|
42
|
-
"@deepseek-ai/dsh-
|
|
43
|
-
"@deepseek-ai/dsh-
|
|
44
|
-
"@deepseek-ai/dsh-sandbox-policy": "^0.1.0-rc.
|
|
45
|
-
"@deepseek-ai/dsh-
|
|
46
|
-
"@deepseek-ai/dsh-
|
|
47
|
-
"@deepseek-ai/dsh-
|
|
48
|
-
"@deepseek-ai/
|
|
49
|
-
"@deepseek-ai/
|
|
39
|
+
"@deepseek-ai/dsh-attachment": "^0.1.0-rc.7",
|
|
40
|
+
"@deepseek-ai/dsh-invariants": "^0.1.0-rc.7",
|
|
41
|
+
"@deepseek-ai/dsh-llm": "^0.1.0-rc.7",
|
|
42
|
+
"@deepseek-ai/dsh-sandbox": "^0.1.0-rc.7",
|
|
43
|
+
"@deepseek-ai/dsh-fs": "^0.1.0-rc.7",
|
|
44
|
+
"@deepseek-ai/dsh-sandbox-policy": "^0.1.0-rc.7",
|
|
45
|
+
"@deepseek-ai/dsh-system-prompt": "^0.1.0-rc.7",
|
|
46
|
+
"@deepseek-ai/dsh-tools": "^0.1.0-rc.7",
|
|
47
|
+
"@deepseek-ai/dsh-user-approval": "^0.1.0-rc.7",
|
|
48
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
49
|
+
"@deepseek-ai/dsh-session": "^0.1.0-rc.7"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@deepseek-ai/dsh-agent-loop": "^0.1.0-rc.
|
|
53
|
-
"@deepseek-ai/dsh-agent-loop-testkit": "^0.1.0-rc.
|
|
54
|
-
"@deepseek-ai/dsh-
|
|
55
|
-
"@deepseek-ai/dsh-fs-
|
|
56
|
-
"@deepseek-ai/dsh-agent": "^0.1.0-rc.
|
|
57
|
-
"@deepseek-ai/dsh-fs
|
|
58
|
-
"@deepseek-ai/dsh-
|
|
59
|
-
"@deepseek-ai/dsh-
|
|
60
|
-
"@deepseek-ai/dsh-llm": "^0.1.0-rc.
|
|
61
|
-
"@deepseek-ai/dsh-llm-deepseek": "^0.1.0-rc.
|
|
62
|
-
"@deepseek-ai/dsh-sandbox": "^0.1.0-rc.
|
|
63
|
-
"@deepseek-ai/dsh-
|
|
64
|
-
"@deepseek-ai/dsh-
|
|
65
|
-
"@deepseek-ai/dsh-
|
|
66
|
-
"@deepseek-ai/dsh-tools": "^0.1.0-rc.
|
|
67
|
-
"@deepseek-ai/dsh-user-approval": "^0.1.0-rc.
|
|
52
|
+
"@deepseek-ai/dsh-agent-loop": "^0.1.0-rc.7",
|
|
53
|
+
"@deepseek-ai/dsh-agent-loop-testkit": "^0.1.0-rc.7",
|
|
54
|
+
"@deepseek-ai/dsh-attachment": "^0.1.0-rc.7",
|
|
55
|
+
"@deepseek-ai/dsh-fs-observation-policy": "^0.1.0-rc.7",
|
|
56
|
+
"@deepseek-ai/dsh-agent": "^0.1.0-rc.7",
|
|
57
|
+
"@deepseek-ai/dsh-fs": "^0.1.0-rc.7",
|
|
58
|
+
"@deepseek-ai/dsh-invariants": "^0.1.0-rc.7",
|
|
59
|
+
"@deepseek-ai/dsh-fs-local": "^0.1.0-rc.7",
|
|
60
|
+
"@deepseek-ai/dsh-llm": "^0.1.0-rc.7",
|
|
61
|
+
"@deepseek-ai/dsh-llm-deepseek": "^0.1.0-rc.7",
|
|
62
|
+
"@deepseek-ai/dsh-sandbox": "^0.1.0-rc.7",
|
|
63
|
+
"@deepseek-ai/dsh-session": "^0.1.0-rc.7",
|
|
64
|
+
"@deepseek-ai/dsh-system-prompt": "^0.1.0-rc.7",
|
|
65
|
+
"@deepseek-ai/dsh-sandbox-policy": "^0.1.0-rc.7",
|
|
66
|
+
"@deepseek-ai/dsh-tools": "^0.1.0-rc.7",
|
|
67
|
+
"@deepseek-ai/dsh-user-approval": "^0.1.0-rc.7",
|
|
68
68
|
"@deepseek-ai/cordis": "^4.0.1"
|
|
69
69
|
}
|
|
70
70
|
}
|