docs(llm-replay): cover the patches form in the overrideFile contract

The ReplayConfig.overrideFile JSDoc still described only whole-script
replacement; it now names both sidecar forms and links ReplayOverrideDoc
(config catalog regenerated: source line shifted).
This commit is contained in:
Tianyi Cui
2026-07-26 03:31:21 +08:00
parent 2828e0462d
commit 90d91c3cf9
2 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -688,7 +688,7 @@ export interface ReplayModelConfig {
}
```
Source: [`packages/support/llm-replay/src/index.ts:496`](../packages/support/llm-replay/src/index.ts)
Source: [`packages/support/llm-replay/src/index.ts:497`](../packages/support/llm-replay/src/index.ts)
## `@deepseek-ai/dsh-llm-retry`
+5 -4
View File
@@ -59,10 +59,11 @@ export interface ReplayConfig {
*/
file: string
/**
* Optional `ReplayEntry[]` sidecar that REPLACES the derived script for the
* PRIMARY session. Used by the two single-session scenarios not expressible as
* `assistant/chunk` (pure throw-before-chunk, cancel/hang). Absent for normal
* and nested scenarios.
* Optional sidecar for the PRIMARY session: a bare `ReplayEntry[]` REPLACES
* the derived script; `{ patches }` keeps it and swaps the named call
* indexes ({@link ReplayOverrideDoc}). Used by single-session scenarios not
* expressible as `assistant/chunk` (throw-before-chunk, cancel/hang,
* injected transient failures). Absent for normal and nested scenarios.
*/
overrideFile?: string
/**