build before source dsh launch

This commit is contained in:
Turtle
2026-08-10 16:01:12 +08:00
parent 34abf69730
commit ee9465e4b3
54 changed files with 99 additions and 113 deletions

View File

@@ -2,5 +2,5 @@
# side as of the last confirmed-consistent state. Both languages carry equal authority;
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write packages/support/llm-mock-server/README.md
README.md: a535c086bf688ad48b1a3bb19c7b81da21cbad92
README.zh.md: d814d8815b38bb34bd0d871d552e6f3ec75e042a
README.md: f08c70d90b100e1c8d7f93e5e6a7e4cc30705c02
README.zh.md: 8a3252ebac46de1494546a5a41acf13ff443f12d

View File

@@ -23,7 +23,7 @@ Point the shipping DeepSeek adapter at the server; it appends `/chat/completions
```sh
DEEPSEEK_BASE_URL=http://127.0.0.1:8000/v1 \
DEEPSEEK_API_KEY=mock-key \
pnpm run demo:headless "test provider recovery"
pnpm dsh run "test provider recovery"
```
The repository script writes JSONL to stdout: a `ready` record carries the `/v1` base URL and random seed, followed by request/result records that name both the scripted behavior and the concrete selected behavior. The private support package exposes no installable binary.

View File

@@ -23,7 +23,7 @@ pnpm run mock:llm -- \
```sh
DEEPSEEK_BASE_URL=http://127.0.0.1:8000/v1 \
DEEPSEEK_API_KEY=mock-key \
pnpm run demo:headless "test provider recovery"
pnpm dsh run "test provider recovery"
```
仓库脚本将 JSONL 写入 stdout`ready` 记录携带以 `/v1` 结尾的基础 URL 和随机种子,后续请求/结果记录同时命名脚本行为和实际选中的具体行为。这个私有支持包不公开可安装的二进制命令。