fix(web): harden multimodal draft and storage lifecycle

This commit is contained in:
creatixchu
2026-07-31 17:15:08 +08:00
parent f415e16c83
commit 8b00482d7c
34 changed files with 303 additions and 129 deletions

View File

@@ -313,10 +313,16 @@ export interface ConnectionConfig {
* that is not a bare, canonical authority fails the plugin load.
*/
trustedHosts?: string[]
/**
* Maximum buffered JSON body for every `/api` request. This carrier policy
* is independent of image limits but must be large enough for the configured
* aggregate image bytes after base64 and envelope expansion.
*/
maxRequestBodyBytes?: number
}
```
Source: [`packages/client/connection/src/index.ts:24`](../packages/client/connection/src/index.ts)
Source: [`packages/client/connection/src/index.ts:26`](../packages/client/connection/src/index.ts)
## `@deepseek-ai/dsh-client-hmr`