Skip to content

fix(dsh-plugin): support DSH 0.2 hosts - #365

Merged
iuyo5678 merged 1 commit into
mainfrom
fix/dsh-0.2-compatibility
Sep 29, 2026
Merged

iuyo5678 merged 1 commit into
mainfrom
fix/dsh-0.2-compatibility

Conversation

@iuyo5678

Copy link
Copy Markdown
Collaborator

Fixes #364.

DSH 0.2.0-rc.1 rejects the plugin before loading it because its DSH peers only admit 0.1.x.

Changes

  • Add ^0.2.0-rc.1 alongside ^0.1.5-rc.3, preserving the minimum supported host and excluding 0.3.x.
  • Use the shared agent/created lifecycle and restore lazy tools from both 0.1 and 0.2 tool-result formats, with call identity and success checks.
  • Handle 0.2 preparing tool calls and terminal labels in the screenshot view. Keep the minimum SDK as the production build baseline.

Validation

  • SDK 0.1.5-rc.3 and 0.2.0-rc.1: 440 plugin tests and typecheck passed on each.
  • Production build, package checks, and packaged runtime/client integration checks passed; the real 0.2 host preflight accepts the fixed manifest without an exemption.
  • macOS Desktop 0.10.0 / Harness 0.1.7-rc.2: all six browser tools, form submission, screenshot preview, restart/history recovery, and session cleanup passed.

Pending Windows verification

Full Desktop testing on Harness 0.2.0-rc.1 is still pending; the macOS Desktop above uses 0.1.7-rc.2.

  • Build and install this branch's plugin package on Windows with Harness 0.2.0-rc.1, without a compatibility exemption; confirm the plugin and skill load.
  • Exercise all six browser_* tools, including form submission, screenshot card/original preview, window resize, and tab creation/closure.
  • Restart Desktop, resume the same conversation without invoking the skill again, verify browser tools remain usable, then stop test sessions and confirm none remain.

@tom613951

Copy link
Copy Markdown

Verified on Windows 11 with DeepSeek Harness 0.2.0-rc.1 (DSH Desktop 2.0.16, Node v26.8.2):

Windows Verification Report

  1. Host Preflight & Admission (without exemption):

    • Confirmed no exemption active in compatibility.json.
    • Executed host admission preflight evaluatePluginCompatibility(manifest, {}, '0.2.0-rc.1') against the built package from this branch: returned undefined (100% pass, zero rejected peers).
    • Profile bundle loader (dsh-app-boot) admits @wxg-prc-cpg/browser-skill-dsh-plugin cleanly without landing in skippedBundles.
  2. Tool & Lifecycle Registration:

    • registerBrowserTools registers all 6 browser tools successfully (browser_session, browser_page, browser_inspect, browser_interact, browser_tabs, browser_assist).
    • agent/created lifecycle event properly seeds the skill on DSH 0.2.
  3. Test Suite:

    • tests/host-compatibility.test.ts passes across all host matrices (0.1.5, 0.1.7, and 0.2.0-rc.1).
    • 438/440 vitest suite passed.

Everything runs smoothly on Windows + DSH 0.2.0-rc.1. Looking forward to the 0.3.2 release!

@iuyo5678
iuyo5678 merged commit a358e75 into main Sep 29, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug][dsh-plugin] 0.3.1 is refused on DeepSeek Harness 0.2.0-rc.1 — peers "^0.1.5-rc.3" cannot match 0.2.x

3 participants