Skip to content

fix(dsh): keep no-session status responses readable by Context tab #9

Closed

Description

@Moeblack

Model: gpt-6-astra (audit and regressions by deepseek-flash-vision)

handlePluginStatus uses jsonHeaders() with the admitted-origin echo on its 200 branches, but the final no-session 404 only sends content-type. The cross-origin Context tab cannot read that response, enters fetchFailed, and incorrectly says the proxy is not bound instead of showing no context data yet.

Fix: use jsonHeaders() for that 404 too, preserving the existing origin admission gate. New real-HTTP regression covers fallback/latest and exact-id 404, pre-first-request 200, refused foreign origin 403 without echo, and no-Origin CLI polling without echo. Red: expected ACAO http://127.0.0.1:3080, got undefined. Green: targeted test plus adjacent panel suites.

Duplicate screen: 200-path echo originated in upstream ranxianglei#3886; no matching 404 fix found. This is a normal-use display defect, not a security audit. No kernel, config, or live installation changes.

Activity

  1. added
    p3Minor UX or test improvement
    scope/uiUser interface and controls
    dshDeepSeek Harness host integration
    on Oct 23, 2026
  2. added a commit that references this issue on Oct 23, 2026
    9f07a43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dshDeepSeek Harness host integrationp3Minor UX or test improvementscope/uiUser interface and controls

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions