@deepseek-ai/dsh-tool-terminal 0.2.1-alpha.2 → 0.2.1-alpha.3
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 +5 -1
- package/lib/types/index.d.ts +1 -1
- package/package.json +31 -31
package/lib/index.js
CHANGED
|
@@ -155,7 +155,7 @@ const inject = [
|
|
|
155
155
|
];
|
|
156
156
|
/** Default cap for one complete model-facing terminal result. */
|
|
157
157
|
const DEFAULT_MAX_RESULT_BYTES = 256 * 1024;
|
|
158
|
-
/** Smallest cap that preserves
|
|
158
|
+
/** Smallest cap that preserves registry-issued PTY and job ids in creation acknowledgements. */
|
|
159
159
|
const MIN_MAX_RESULT_BYTES = 64;
|
|
160
160
|
/** Schemastery configuration for the terminal tool consumer. */
|
|
161
161
|
const Config = z.object({
|
|
@@ -403,6 +403,10 @@ function apply(ctx, config = {}) {
|
|
|
403
403
|
jobId: jobs.start({
|
|
404
404
|
kind: "pty-send",
|
|
405
405
|
label: `${id}: ${args.text || "(input)"}`,
|
|
406
|
+
toolCall: {
|
|
407
|
+
callId: exec.callId,
|
|
408
|
+
rootCallId: exec.rootCallId
|
|
409
|
+
},
|
|
406
410
|
owner: owner.id,
|
|
407
411
|
outputLimitBytes: maxResultBytes,
|
|
408
412
|
output: [sendSource(() => operation)],
|
package/lib/types/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare const name = "tool-terminal";
|
|
|
16
16
|
export declare const inject: string[];
|
|
17
17
|
/** Default cap for one complete model-facing terminal result. */
|
|
18
18
|
export declare const DEFAULT_MAX_RESULT_BYTES: number;
|
|
19
|
-
/** Smallest cap that preserves
|
|
19
|
+
/** Smallest cap that preserves registry-issued PTY and job ids in creation acknowledgements. */
|
|
20
20
|
export declare const MIN_MAX_RESULT_BYTES = 64;
|
|
21
21
|
/** Model-facing terminal tool configuration. */
|
|
22
22
|
export interface Config {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-tool-terminal",
|
|
3
3
|
"description": "Six model-facing persistent PTY tools with owner isolation and generic background-job integration",
|
|
4
|
-
"version": "0.2.1-alpha.
|
|
4
|
+
"version": "0.2.1-alpha.3",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -27,39 +27,39 @@
|
|
|
27
27
|
],
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@deepseek-ai/schemastery": "~3.18.5-alpha.
|
|
30
|
+
"@deepseek-ai/schemastery": "~3.18.5-alpha.2"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@deepseek-ai/dsh-agent": "0.2.1-alpha.
|
|
34
|
-
"@deepseek-ai/dsh-llm": "0.2.1-alpha.
|
|
35
|
-
"@deepseek-ai/dsh-terminal": "0.2.1-alpha.
|
|
36
|
-
"@deepseek-ai/dsh-output-retention": "0.2.1-alpha.
|
|
37
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.1-alpha.
|
|
38
|
-
"@deepseek-ai/dsh-jobs": "0.2.1-alpha.
|
|
39
|
-
"@deepseek-ai/dsh-tools": "0.2.1-alpha.
|
|
40
|
-
"@deepseek-ai/cordis": "~4.0.5-alpha.
|
|
41
|
-
"@deepseek-ai/dsh-working-directory": "0.2.1-alpha.
|
|
33
|
+
"@deepseek-ai/dsh-agent": "0.2.1-alpha.3",
|
|
34
|
+
"@deepseek-ai/dsh-llm": "0.2.1-alpha.3",
|
|
35
|
+
"@deepseek-ai/dsh-terminal": "0.2.1-alpha.3",
|
|
36
|
+
"@deepseek-ai/dsh-output-retention": "0.2.1-alpha.3",
|
|
37
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.1-alpha.3",
|
|
38
|
+
"@deepseek-ai/dsh-jobs": "0.2.1-alpha.3",
|
|
39
|
+
"@deepseek-ai/dsh-tools": "0.2.1-alpha.3",
|
|
40
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.2",
|
|
41
|
+
"@deepseek-ai/dsh-working-directory": "0.2.1-alpha.3"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@deepseek-ai/cordis-plugin-include": "~1.0.10-alpha.
|
|
45
|
-
"@deepseek-ai/cordis-plugin-loader": "~1.0.6-alpha.
|
|
46
|
-
"@deepseek-ai/dsh-agent": "0.2.1-alpha.
|
|
47
|
-
"@deepseek-ai/dsh-agent-loop-testkit": "0.2.1-alpha.
|
|
48
|
-
"@deepseek-ai/dsh-llm": "0.2.1-alpha.
|
|
49
|
-
"@deepseek-ai/dsh-terminal": "0.2.1-alpha.
|
|
50
|
-
"@deepseek-ai/dsh-terminal-bash": "0.2.1-alpha.
|
|
51
|
-
"@deepseek-ai/dsh-output-retention": "0.2.1-alpha.
|
|
52
|
-
"@deepseek-ai/dsh-sandbox": "0.2.1-alpha.
|
|
53
|
-
"@deepseek-ai/dsh-sandbox-policy": "0.2.1-alpha.
|
|
54
|
-
"@deepseek-ai/dsh-session": "0.2.1-alpha.
|
|
55
|
-
"@deepseek-ai/dsh-subprocess-local": "0.2.1-alpha.
|
|
56
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.1-alpha.
|
|
57
|
-
"@deepseek-ai/dsh-jobs": "0.2.1-alpha.
|
|
58
|
-
"@deepseek-ai/dsh-jobs-local": "0.2.1-alpha.
|
|
59
|
-
"@deepseek-ai/dsh-tool-jobs": "0.2.1-alpha.
|
|
60
|
-
"@deepseek-ai/dsh-tools": "0.2.1-alpha.
|
|
61
|
-
"@deepseek-ai/cordis": "~4.0.5-alpha.
|
|
62
|
-
"@deepseek-ai/dsh-session-projection": "0.2.1-alpha.
|
|
63
|
-
"@deepseek-ai/dsh-working-directory": "0.2.1-alpha.
|
|
44
|
+
"@deepseek-ai/cordis-plugin-include": "~1.0.10-alpha.2",
|
|
45
|
+
"@deepseek-ai/cordis-plugin-loader": "~1.0.6-alpha.2",
|
|
46
|
+
"@deepseek-ai/dsh-agent": "0.2.1-alpha.3",
|
|
47
|
+
"@deepseek-ai/dsh-agent-loop-testkit": "0.2.1-alpha.3",
|
|
48
|
+
"@deepseek-ai/dsh-llm": "0.2.1-alpha.3",
|
|
49
|
+
"@deepseek-ai/dsh-terminal": "0.2.1-alpha.3",
|
|
50
|
+
"@deepseek-ai/dsh-terminal-bash": "0.2.1-alpha.3",
|
|
51
|
+
"@deepseek-ai/dsh-output-retention": "0.2.1-alpha.3",
|
|
52
|
+
"@deepseek-ai/dsh-sandbox": "0.2.1-alpha.3",
|
|
53
|
+
"@deepseek-ai/dsh-sandbox-policy": "0.2.1-alpha.3",
|
|
54
|
+
"@deepseek-ai/dsh-session": "0.2.1-alpha.3",
|
|
55
|
+
"@deepseek-ai/dsh-subprocess-local": "0.2.1-alpha.3",
|
|
56
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.1-alpha.3",
|
|
57
|
+
"@deepseek-ai/dsh-jobs": "0.2.1-alpha.3",
|
|
58
|
+
"@deepseek-ai/dsh-jobs-local": "0.2.1-alpha.3",
|
|
59
|
+
"@deepseek-ai/dsh-tool-jobs": "0.2.1-alpha.3",
|
|
60
|
+
"@deepseek-ai/dsh-tools": "0.2.1-alpha.3",
|
|
61
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.2",
|
|
62
|
+
"@deepseek-ai/dsh-session-projection": "0.2.1-alpha.3",
|
|
63
|
+
"@deepseek-ai/dsh-working-directory": "0.2.1-alpha.3"
|
|
64
64
|
}
|
|
65
65
|
}
|