@deepseek-ai/dsh-llm-replay 0.2.1-alpha.1 → 0.2.1-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/README.i18n.yaml +2 -2
- package/README.md +2 -0
- package/README.zh.md +2 -0
- package/lib/types/index.d.ts +1 -1
- package/package.json +11 -11
package/README.i18n.yaml
CHANGED
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
en: e2116be9c7a5c18f
|
|
19
19
|
zh: dc89da423decf4aa
|
|
20
20
|
/deepseek-ai-dsh-llm-replay/use-this-package/mounting-it:
|
|
21
|
-
en:
|
|
22
|
-
zh:
|
|
21
|
+
en: 0630839689756cf5
|
|
22
|
+
zh: f2ed5bf5110088a7
|
|
23
23
|
/deepseek-ai-dsh-llm-replay/use-this-package/how-the-fixture-works:
|
|
24
24
|
en: d7dd048cd69e723d
|
|
25
25
|
zh: 9f5dfa5186549cd0
|
package/README.md
CHANGED
|
@@ -29,6 +29,8 @@ This package gives a keyless test a real agent with a fixed model transcript: mo
|
|
|
29
29
|
|
|
30
30
|
### Mounting it
|
|
31
31
|
|
|
32
|
+
Prepared callers require the routed adapter mode. Configure `models[].reasoningEfforts` from least to greatest selectable effort. Configuration functions receive that order during preparation; `defaultReasoningEffort` remains independent of the first entry.
|
|
33
|
+
|
|
32
34
|
With `providers` configured, the plugin registers a replay-only adapter whose catalog is available to scenarios that exercise model discovery; without `providers`, it installs the catch-all `llm/stream` waterfall used by tests that do not need discovery:
|
|
33
35
|
|
|
34
36
|
```yaml
|
package/README.zh.md
CHANGED
|
@@ -29,6 +29,8 @@ kind: "package-reference"
|
|
|
29
29
|
|
|
30
30
|
### 挂载它
|
|
31
31
|
|
|
32
|
+
已准备调用要求使用路由适配器模式。将 `models[].reasoningEfforts` 按可选强度从低到高排列。配置函数在准备期间接收该顺序;`defaultReasoningEffort` 仍独立于首个条目。
|
|
33
|
+
|
|
32
34
|
配置 `providers` 后,插件会注册仅用于回放的适配器,其模型目录可供测试模型发现功能的场景使用;未配置 `providers` 时,它安装无需模型发现功能的测试所用的 catch-all `llm/stream` waterfall(瀑布式事件):
|
|
33
35
|
|
|
34
36
|
```yaml
|
package/lib/types/index.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ export interface ReplayModelConfig {
|
|
|
56
56
|
* no image pricing.
|
|
57
57
|
*/
|
|
58
58
|
imageRequestTokens?: number;
|
|
59
|
-
/** Optional reasoning-effort ids
|
|
59
|
+
/** Optional reasoning-effort ids from least to greatest selectable effort. */
|
|
60
60
|
reasoningEfforts?: string[];
|
|
61
61
|
/**
|
|
62
62
|
* Optional effort materialized when callers omit one; must appear in
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-llm-replay",
|
|
3
3
|
"description": "Replay LLM plugin: short-circuits llm/stream with model chunks reconstructed from a recorded session JSONL (keyless snapshot tests)",
|
|
4
|
-
"version": "0.2.1-alpha.
|
|
4
|
+
"version": "0.2.1-alpha.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
31
|
-
"@deepseek-ai/dsh-
|
|
32
|
-
"@deepseek-ai/dsh-
|
|
33
|
-
"@deepseek-ai/dsh-llm": "0.2.1-alpha.
|
|
34
|
-
"@deepseek-ai/dsh-session": "0.2.1-alpha.
|
|
31
|
+
"@deepseek-ai/dsh-compaction": "0.2.1-alpha.2",
|
|
32
|
+
"@deepseek-ai/dsh-deepseek-llm-api-extensions": "0.2.1-alpha.2",
|
|
33
|
+
"@deepseek-ai/dsh-llm": "0.2.1-alpha.2",
|
|
34
|
+
"@deepseek-ai/dsh-session": "0.2.1-alpha.2"
|
|
35
35
|
},
|
|
36
36
|
"peerDependenciesMeta": {
|
|
37
37
|
"@deepseek-ai/dsh-deepseek-llm-api-extensions": {
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
43
|
-
"@deepseek-ai/dsh-compaction": "0.2.1-alpha.
|
|
44
|
-
"@deepseek-ai/dsh-deepseek-llm-api-extensions": "0.2.1-alpha.
|
|
45
|
-
"@deepseek-ai/dsh-llm": "0.2.1-alpha.
|
|
46
|
-
"@deepseek-ai/dsh-session": "0.2.1-alpha.
|
|
43
|
+
"@deepseek-ai/dsh-compaction": "0.2.1-alpha.2",
|
|
44
|
+
"@deepseek-ai/dsh-deepseek-llm-api-extensions": "0.2.1-alpha.2",
|
|
45
|
+
"@deepseek-ai/dsh-llm": "0.2.1-alpha.2",
|
|
46
|
+
"@deepseek-ai/dsh-session": "0.2.1-alpha.2"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@deepseek-ai/dsh-
|
|
50
|
-
"@deepseek-ai/dsh-
|
|
49
|
+
"@deepseek-ai/dsh-session-format-catalog": "0.2.1-alpha.2",
|
|
50
|
+
"@deepseek-ai/dsh-util-values": "0.2.1-alpha.2"
|
|
51
51
|
}
|
|
52
52
|
}
|