Files
deepseek-harness/packages/test-support
imccyu 2b750cfb51 docs(api): document the converged ctx.remote programming surface
- new cookbook page adding-a-remote-api (en/zh): the five-step HOW-TO
  for declaring, failing, registering, consuming, and testing a Remote
  endpoint.
- new Agent Note ctx-remote-failure-vocabulary records this round's
  decisions and alternatives; the 2026-08-02 and 2026-08-10 notes are
  rewritten to the shipped facts (RemoteError vocabulary, $host, the
  retired ApiProxy statements).
- package READMEs pick up the new failure-face contracts
  (typert/protocol, api/gateway, api/remotes,
  test-support/client-runtime), dsh-util-time gains its README and
  registry entries, and stale connection/WorkspaceError/legacy-code
  statements are corrected (ui-settings, ui-settings-models,
  workspace-controller, docs/subsystems/typert incl. the
  TypertGatewayErrorCode type-equiv block).
- packages/AGENTS.md gains the Remote-failure rule bullet; its doc
  budget rises 675 -> 714: the bullet is the compressed remainder
  after relocating detail to the cookbook and the Agent Note.
2026-08-28 22:37:36 +08:00
..
2026-08-28 00:50:12 +08:00
2026-08-28 00:50:12 +08:00

description, kind
description kind
The test-support group map: keyless test harnesses, LLM mock and replay servers, and Loader smoke helpers for developers writing repository tests. package-group

packages/test-support

English | 中文

Summary

The test-support group gives repository tests deterministic, keyless ways to exercise the real product. It includes Loader application harnesses, session-log snapshot adapters, a replay LLM plugin, and a scriptable OpenAI-compatible fault server. Each package is support-tier infrastructure; a package moves out of this group when it gains a product contract and product consumers.

Table of Contents


Packages

Package Role
session-snapshot Provides session-log snapshot support and protocol adapters for profile-driven tests
agent-loop-testkit Provides the shared prerequisite services for tests that exercise the concrete AgentLoop
client-runtime Provides the jsdom slot test bench for browser feature specs
loader-smoke Boots Loader-composed applications and drives fixture turns for smoke tests
llm-mock-server Provides a scriptable OpenAI-compatible fault server for recovery tests
llm-replay Replays recorded model streams for keyless tests and demos


Dev Note

Working context for maintainers — click to expand

None.