Files
deepseek-harness/packages/test-support
creatixchu 5183bc2b65 fix(compaction): 摘要收缩改按路由价并补齐定价访问路径
ds-review-bot 首轮意见修复:

- 摘要收缩比较改用所选节点的路由价 shadowedRouteTokenCount,修复图片消息启发式价低于带框摘要时压缩被误拒;日志影子价仍为启发式
- DeepSeek 定价经序列化器同一套 access 解析构建句柄与占位文本,消除逐图数十 token 的低估;uncatalogued 分支 JSDoc 指明复现 projectImagesForTextModel 替换
- llm-replay 在加载时拒绝纯文本模型上的 imageRequestTokens 声明
- contextBreakdown 的 README 与 JSDoc 改为等于 heuristicTokens 之和,不再声称等于路由价 surfaceTokens
2026-08-24 19:48:52 +08:00
..
2026-08-21 19:48:58 +08:00

test-support/ — development and test infrastructure

English | 中文

These packages support repository development, tests, and examples rather than product APIs. Their compatibility follows the development need they serve.

Package Role
acp-snapshot/ Provides the ACP snapshot-test toolkit
agent-loop-testkit/ Mounts shared prerequisites for AgentLoop tests
invariants/ Runs development-time runtime-contract assertions
loader-smoke/ Launches Loader-composed applications for smoke tests
llm-mock-server/ Provides a deterministic OpenAI-compatible fault server
llm-replay/ Replays recorded model responses for keyless tests and demos

A package moves out of test-support/ when it gains a product contract and product consumers.

The invariants contract is documented in docs/subsystems/invariants.md.