fix(webview): keep dashboard cookies alongside the injected one

The managed DeepSeek tab is trusted, so the browser's own cookies for the
dashboard are forwarded. The injected dsh credential replaced that header
instead of joining it, dropping any other cookie dsh had set. Append the
pair to the filtered browser cookies and leave the rest untouched.
This commit is contained in:
ArizeSky committed 2026-11-16 16:10:51 +08:00
1 parent 7f729ee87b
commit 238853f96a
4 files changed
+36 -14

No files matched your search

+3 -1
View File
@@ -315,7 +315,9 @@ proxy presents the cookie only when the tab's owner holds the same
privileged-commands grant `POST /api/deepseek/web` requires, and in multi-user mode
only to the owner whose request started that process. A different owner's start
request restarts the server rather than reusing a cookie that is not theirs, which
is why the shared instance is effectively single-user at a time.
is why the shared instance is effectively single-user at a time. On a trusted
managed tab the cookie is appended to whatever cookies dsh itself set in the
browser, rather than replacing them.
## 7. Docker and remote cases