@deepseek-ai/dsh-loader-smoke 0.1.3-alpha.2 → 0.1.5-alpha.1

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 CHANGED
@@ -2,5 +2,5 @@
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
4
  # pnpm run verify-translation-pairing --write packages/test-support/loader-smoke/README.md
5
- README.md: 1da861f83b31f1b08948ad286e3bed2a9d1ccee8
6
- README.zh.md: 9db17b58c842b5a5c4de8a0451919ec12c8bb231
5
+ README.md: dd618358aeb6dca2fbaf3a4945d09aa529b28f48
6
+ README.zh.md: 14a812aba42625474e73a0770b3184ec8c7f2463
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- `dsh-loader-smoke` runs a real application bin and its `cordis.yml` through the Cordis Loader inside an isolated temporary directory, capturing stdout and stderr, so a smoke test exercises the true composition path — plugin loading, service wiring, and the agent loop — rather than a hand-built test context. `runFixtureTurn` drives one task through the composition's single root agent and returns the final assistant text and accumulated token usage. The package also provides the mode-aware launch resolver (`src` under tsx for zero-build dev, built `lib` under plain Node for CI) shared by package-local subprocess harnesses. It is support-tier test infrastructure, not a product API.
12
+ Use `dsh-loader-smoke` to boot an application fixture from its real bin and `cordis.yml` in an isolated temporary directory, with captured output and cleanup. `runFixtureTurn` drives one task through the configured root agent and returns the final assistant text plus token usage. Tests can select zero-build source execution or built-package execution, so local and CI smoke tests use the intended consumer path for each environment. This support-tier library is for test authors, not product integrations.
13
13
 
14
14
  ## Table of Contents
15
15
 
package/README.zh.md CHANGED
@@ -9,7 +9,7 @@ kind: "package-library"
9
9
 
10
10
  ## 概述
11
11
 
12
- `dsh-loader-smoke` 在隔离的临时目录中通过 Cordis Loader 运行真实的应用可执行文件及其 `cordis.yml`,捕获 stdout 与 stderr,使冒烟测试检验真实的组合路径——插件加载、服务接线与 agent loop(智能体循环)——而非手工搭建的测试上下文。`runFixtureTurn` 让一项任务通过组合中的唯一根 agent(智能体),并返回最终 assistant 文本与累计 token 用量。本包还为包内子进程 harness 提供共享的模式感知启动解析器(`src` 模式经 tsx,零构建开发路径;`lib` 模式经普通 Node 运行已构建产物,供 CI 使用)。它是支持层测试基础设施,而非产品 API。
12
+ 使用 `dsh-loader-smoke` 可从应用 fixture 的真实可执行文件及其 `cordis.yml` 启动应用,并在隔离的临时目录中捕获输出和完成清理。`runFixtureTurn` 让一项任务通过已配置的根 agent(智能体),并返回最终 assistant 文本与 token 用量。测试可以选择零构建的源码执行或已构建包执行,使本地和 CI 冒烟测试分别采用对应环境预期的消费路径。这个支持层库面向测试作者,不用于产品集成。
13
13
 
14
14
  ## 目录
15
15
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-loader-smoke",
3
3
  "description": "Shared subprocess and direct-agent harness for keyless real-Loader example smoke tests",
4
- "version": "0.1.3-alpha.2",
4
+ "version": "0.1.5-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -31,18 +31,18 @@
31
31
  "tsx": "^4.22.4"
32
32
  },
33
33
  "peerDependencies": {
34
- "@deepseek-ai/dsh-agent": "^0.1.3-alpha.2",
35
34
  "@deepseek-ai/cordis": "^4.0.2",
36
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
37
- "@deepseek-ai/dsh-http-proxy": "^0.1.3-alpha.2",
38
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2"
35
+ "@deepseek-ai/dsh-agent": "^0.1.5-alpha.1",
36
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.1",
37
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.1",
38
+ "@deepseek-ai/dsh-http-proxy": "^0.1.5-alpha.1"
39
39
  },
40
40
  "devDependencies": {
41
- "@deepseek-ai/dsh-agent": "^0.1.3-alpha.2",
42
- "@deepseek-ai/dsh-app-boot": "^0.1.3-alpha.2",
43
41
  "@deepseek-ai/cordis": "^4.0.2",
44
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
45
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
46
- "@deepseek-ai/dsh-http-proxy": "^0.1.3-alpha.2"
42
+ "@deepseek-ai/dsh-agent": "^0.1.5-alpha.1",
43
+ "@deepseek-ai/dsh-app-boot": "^0.1.5-alpha.1",
44
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.1",
45
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.1",
46
+ "@deepseek-ai/dsh-http-proxy": "^0.1.5-alpha.1"
47
47
  }
48
48
  }