Files
deepseek-harness/packages/client/ui-settings-session-log
Yichen Yan 23c29d067a fix(web): persist authenticated browser preferences on the Host (#4201)
* Persist authenticated browser preferences through the Host
* test(settings): cover recovery and remote preference refresh
* test(settings): read Host preferences from a fresh browser context
* test(settings): verify remote ConfigForm refresh at plugin entry
2026-10-09 19:27:00 +08:00
..
2026-10-09 15:13:40 +08:00

description, kind
description kind
Control Session-log upload with DeepSeek API requests from General settings. package-reference

@deepseek-ai/dsh-client-ui-settings-session-log

English | 中文

Summary

Use Upload Session Log when using the official model API above the version number in Settings → General to control Session-log upload with DeepSeek API requests. The switch shows the accepted Host setting and saves each change immediately. It appears only while the Host exposes the upload setting; read-only clients cannot change it.

Table of Contents


Use this package

The Web bundle mounts this companion. Its switch edits the Host plugin's enabled field through the shared configuration form. A save failure keeps the accepted value and shows a toast that survives closing Settings. See Session-log upload for request timing, resumed uploads, and the separate OpenTelemetry setting.


Understand the implementation

Implementation details — click to expand

The companion contributes a settings.general.item row while session-log-deepseek is served and a shell.overlay toast for mutation outcomes. The shared form owns persistence and reconnect synchronization; the companion owns only pending-write state and localized notices.


Further Exploration

Model Experience

None, as this browser preference contributes no model-visible content.

KV Cache effect

None; the setting controls request metadata outside model input.

Known Limitations and Deferred Work

  • The row is unavailable when the Host does not expose the session-log-deepseek namespace.

Dev Note

None.