@deepseek-ai/dsh-tool-goal 0.1.6-alpha.2 → 0.1.7-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/lib/index.js +1 -2
- package/lib/types/index.d.ts +8 -0
- package/package.json +21 -21
package/lib/index.js
CHANGED
|
@@ -365,8 +365,7 @@ function apply(ctx, config) {
|
|
|
365
365
|
if (authority.kind === "goal-round") exec.deferContext(createUserMessage({
|
|
366
366
|
content: args.action === "complete" ? renderWrapupContext(goal.objective) : renderWrapupContext(goal.objective, args.blocked_reason),
|
|
367
367
|
source: {
|
|
368
|
-
kind: "
|
|
369
|
-
plugin: "tool-goal",
|
|
368
|
+
kind: "tool-goal",
|
|
370
369
|
form: "notice",
|
|
371
370
|
summary: boundContextSummary(`${args.action}: ${goal.objective}`)
|
|
372
371
|
}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -5,6 +5,14 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type { Context } from '@deepseek-ai/cordis';
|
|
7
7
|
import z from '@deepseek-ai/schemastery';
|
|
8
|
+
import type { ContextFormed } from '@deepseek-ai/dsh-llm';
|
|
9
|
+
declare module '@deepseek-ai/dsh-llm' {
|
|
10
|
+
interface MessageSourceMap {
|
|
11
|
+
'tool-goal': {
|
|
12
|
+
kind: 'tool-goal';
|
|
13
|
+
} & ContextFormed;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
8
16
|
export declare const name = "tool-goal";
|
|
9
17
|
export declare const inject: string[];
|
|
10
18
|
/** Model policy and hard lower bounds for goal-state updates. */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-tool-goal",
|
|
3
3
|
"description": "Model-facing same-session goal tools with execution-time authority checks",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.7-alpha.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -27,29 +27,29 @@
|
|
|
27
27
|
],
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@deepseek-ai/dsh-agent": "
|
|
31
|
-
"@deepseek-ai/dsh-goal": "
|
|
32
|
-
"@deepseek-ai/dsh-llm": "
|
|
33
|
-
"@deepseek-ai/dsh-
|
|
34
|
-
"@deepseek-ai/dsh-
|
|
35
|
-
"@deepseek-ai/dsh-tools": "
|
|
36
|
-
"@deepseek-ai/
|
|
37
|
-
"@deepseek-ai/
|
|
30
|
+
"@deepseek-ai/dsh-agent": "0.1.7-alpha.2",
|
|
31
|
+
"@deepseek-ai/dsh-goal": "0.1.7-alpha.2",
|
|
32
|
+
"@deepseek-ai/dsh-llm": "0.1.7-alpha.2",
|
|
33
|
+
"@deepseek-ai/dsh-system-prompt": "0.1.7-alpha.2",
|
|
34
|
+
"@deepseek-ai/dsh-session": "0.1.7-alpha.2",
|
|
35
|
+
"@deepseek-ai/dsh-tools": "0.1.7-alpha.2",
|
|
36
|
+
"@deepseek-ai/dsh-session-projection": "0.1.7-alpha.2",
|
|
37
|
+
"@deepseek-ai/cordis": "~4.0.4"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@deepseek-ai/schemastery": "
|
|
40
|
+
"@deepseek-ai/schemastery": "~3.18.4"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@deepseek-ai/cordis-plugin-loader": "
|
|
44
|
-
"@deepseek-ai/dsh-agent": "
|
|
45
|
-
"@deepseek-ai/dsh-agent-loop
|
|
46
|
-
"@deepseek-ai/dsh-agent-loop": "
|
|
47
|
-
"@deepseek-ai/dsh-
|
|
48
|
-
"@deepseek-ai/dsh-
|
|
49
|
-
"@deepseek-ai/dsh-
|
|
50
|
-
"@deepseek-ai/
|
|
51
|
-
"@deepseek-ai/
|
|
52
|
-
"@deepseek-ai/dsh-
|
|
53
|
-
"@deepseek-ai/dsh-session
|
|
43
|
+
"@deepseek-ai/cordis-plugin-loader": "~1.0.5",
|
|
44
|
+
"@deepseek-ai/dsh-agent": "0.1.7-alpha.2",
|
|
45
|
+
"@deepseek-ai/dsh-agent-loop": "0.1.7-alpha.2",
|
|
46
|
+
"@deepseek-ai/dsh-agent-loop-testkit": "0.1.7-alpha.2",
|
|
47
|
+
"@deepseek-ai/dsh-goal": "0.1.7-alpha.2",
|
|
48
|
+
"@deepseek-ai/dsh-system-prompt": "0.1.7-alpha.2",
|
|
49
|
+
"@deepseek-ai/dsh-tools": "0.1.7-alpha.2",
|
|
50
|
+
"@deepseek-ai/cordis": "~4.0.4",
|
|
51
|
+
"@deepseek-ai/dsh-session-projection": "0.1.7-alpha.2",
|
|
52
|
+
"@deepseek-ai/dsh-llm": "0.1.7-alpha.2",
|
|
53
|
+
"@deepseek-ai/dsh-session": "0.1.7-alpha.2"
|
|
54
54
|
}
|
|
55
55
|
}
|