@deepseek-ai/dsh-agent-loop-testkit 0.0.1-rc.2 → 0.0.1-rc.5
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 +1 -1
- package/lib/index.js +4 -4
- package/lib/types/index.d.ts +2 -2
- package/package.json +17 -17
package/README.i18n.yaml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Bilingual-pair consistency record (docs/i18n/README.md): the git blob hash of each
|
|
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
|
-
# pnpm run verify-translation-pairing --write packages/support/agent-loop-testkit/README.md
|
|
4
|
+
# pnpm run verify-translation-pairing --write packages/test-support/agent-loop-testkit/README.md
|
|
5
5
|
README.md: 3b7225b1cdd1960e4ab9fda36f89d1ab1ad672e3
|
|
6
6
|
README.zh.md: b4e38202f45c3ac8f541e42eaba63acea3666ab8
|
package/lib/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import AgentRegistry from "@deepseek-ai/dsh-agent";
|
|
2
|
-
import
|
|
2
|
+
import LlmRuntime from "@deepseek-ai/dsh-llm";
|
|
3
3
|
import SessionStore from "@deepseek-ai/dsh-session";
|
|
4
4
|
import SystemPrompt from "@deepseek-ai/dsh-system-prompt";
|
|
5
|
-
import
|
|
5
|
+
import ToolRuntime from "@deepseek-ai/dsh-tools";
|
|
6
6
|
//#region lib/types/index.js
|
|
7
7
|
/**
|
|
8
8
|
* Shared mounting for the services required before tests load the concrete
|
|
@@ -23,10 +23,10 @@ import ToolRegistry from "@deepseek-ai/dsh-tools";
|
|
|
23
23
|
* @returns after every prerequisite service has activated.
|
|
24
24
|
*/
|
|
25
25
|
async function mountAgentLoopTestDependencies(ctx, options = {}) {
|
|
26
|
-
await ctx.plugin(
|
|
26
|
+
await ctx.plugin(LlmRuntime);
|
|
27
27
|
await ctx.plugin(SessionStore);
|
|
28
28
|
await ctx.plugin(SystemPrompt, options.systemPrompt ?? {});
|
|
29
|
-
await ctx.plugin(
|
|
29
|
+
await ctx.plugin(ToolRuntime, options.tools ?? {});
|
|
30
30
|
await ctx.plugin(AgentRegistry);
|
|
31
31
|
}
|
|
32
32
|
//#endregion
|
package/lib/types/index.d.ts
CHANGED
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { Context } from '@deepseek-ai/cordis';
|
|
8
8
|
import type { Config as SystemPromptConfig } from '@deepseek-ai/dsh-system-prompt';
|
|
9
|
-
import type { Config as
|
|
9
|
+
import type { Config as ToolRuntimeConfig } from '@deepseek-ai/dsh-tools';
|
|
10
10
|
/** Configuration forwarded to the prerequisite service plugins. */
|
|
11
11
|
export interface AgentLoopTestDependenciesOptions {
|
|
12
12
|
/** Configuration for the system-prompt registry. */
|
|
13
13
|
readonly systemPrompt?: SystemPromptConfig;
|
|
14
14
|
/** Configuration for the tool registry. */
|
|
15
|
-
readonly tools?:
|
|
15
|
+
readonly tools?: ToolRuntimeConfig;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* Mount the standard prerequisite services for an AgentLoop test.
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-agent-loop-testkit",
|
|
3
3
|
"description": "Shared prerequisite mounting for tests that exercise the concrete agent loop",
|
|
4
|
-
"version": "0.0.1-rc.
|
|
4
|
+
"version": "0.0.1-rc.5",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "restricted"
|
|
7
7
|
},
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
|
|
11
|
-
"directory": "packages/support/agent-loop-testkit"
|
|
11
|
+
"directory": "packages/test-support/agent-loop-testkit"
|
|
12
12
|
},
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "lib/index.js",
|
|
@@ -32,22 +32,22 @@
|
|
|
32
32
|
],
|
|
33
33
|
"license": "BSD-3-Clause",
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@deepseek-ai/dsh-
|
|
36
|
-
"@deepseek-ai/dsh-
|
|
37
|
-
"@deepseek-ai/dsh-session": "^0.0.1-rc.
|
|
38
|
-
"@deepseek-ai/dsh-
|
|
39
|
-
"@deepseek-ai/dsh-
|
|
40
|
-
"@deepseek-ai/
|
|
41
|
-
"@deepseek-ai/
|
|
35
|
+
"@deepseek-ai/dsh-invariants": "^0.0.1-rc.5",
|
|
36
|
+
"@deepseek-ai/dsh-llm": "^0.0.1-rc.5",
|
|
37
|
+
"@deepseek-ai/dsh-session": "^0.0.1-rc.5",
|
|
38
|
+
"@deepseek-ai/dsh-tools": "^0.0.1-rc.5",
|
|
39
|
+
"@deepseek-ai/dsh-system-prompt": "^0.0.1-rc.5",
|
|
40
|
+
"@deepseek-ai/cordis": "^4.0.1-rc.4",
|
|
41
|
+
"@deepseek-ai/dsh-agent": "^0.0.1-rc.5"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@deepseek-ai/dsh-agent": "^0.0.1-rc.
|
|
45
|
-
"@deepseek-ai/dsh-
|
|
46
|
-
"@deepseek-ai/dsh-
|
|
47
|
-
"@deepseek-ai/dsh-
|
|
48
|
-
"@deepseek-ai/dsh-
|
|
49
|
-
"@deepseek-ai/dsh-
|
|
50
|
-
"@deepseek-ai/
|
|
51
|
-
"@deepseek-ai/
|
|
44
|
+
"@deepseek-ai/dsh-agent": "^0.0.1-rc.5",
|
|
45
|
+
"@deepseek-ai/dsh-agent-loop": "^0.0.1-rc.5",
|
|
46
|
+
"@deepseek-ai/dsh-session": "^0.0.1-rc.5",
|
|
47
|
+
"@deepseek-ai/dsh-system-prompt": "^0.0.1-rc.5",
|
|
48
|
+
"@deepseek-ai/dsh-invariants": "^0.0.1-rc.5",
|
|
49
|
+
"@deepseek-ai/dsh-tools": "^0.0.1-rc.5",
|
|
50
|
+
"@deepseek-ai/cordis": "^4.0.1-rc.4",
|
|
51
|
+
"@deepseek-ai/dsh-llm": "^0.0.1-rc.5"
|
|
52
52
|
}
|
|
53
53
|
}
|