Skip to content

feat: bump DSH runtime to 0.2.0-rc.1 - #105

Merged
Lum1104 merged 4 commits into
omdsh-dev:mainfrom
zzalancelot:chore/bump-dsh-0.2.0-rc.1
Sep 30, 2026
Merged

Lum1104 merged 4 commits into
omdsh-dev:mainfrom
zzalancelot:chore/bump-dsh-0.2.0-rc.1

Conversation

@zzalancelot

@zzalancelot zzalancelot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • DSH 0.2.0-rc.1 checks plugin @deepseek-ai/dsh-* peers with semver.satisfies. The bridge still declared ^0.1.5-rc.2 (upper bound <0.2.0), so it failed the compatibility check and would not load.
  • This PR is based on main only. It pins the workspace and @yuxianglin/dsh-bridge-browser peers/devDeps to exact 0.2.0-rc.1 (bridge 0.0.7), with minimal 0.2 API adaptations (MessageSource → browser-context, agent/created), so the plugin passes the check and runs on 0.2.
  • Also fixes Host wireStream.open for the dsh 0.2 five-arg signature (Cordis wrappers must not fall back to the 0.1.5 three-arg form), restores smoke runtime deps (dsh-ptc-runtime / dsh-llm-deepseek / dsh-deepseek-account), and updates the smoke assertion to browser-context.

Fixes #104

Test plan

  • pnpm --filter @yuxianglin/dsh-bridge-browser test
  • pnpm run test:smoke
  • Manual: load extension against local dsh web on 0.2.0-rc.1 and confirm stable bridge connect (no stream-failed / 1011 after hello.ok)

Align bridge peerDependencies and workspace pins with DSH 0.2.0-rc.1 so
the plugin passes compatibility checks. Adapt MessageSource and agent
lifecycle hooks for the 0.2 API surface.
…gnature

Probing open.length fell back to the 0.1.5 three-arg call under Cordis wrappers, mapping AbortSignal onto uplink and leaving signal undefined so $events failed after hello.ok with stream-failed/1011.
…=== 3

Always calling the dsh 0.2 five-arg form broke composition tests whose gateway open(endpoint, payload, signal) treated the empty uplink as AbortSignal. Only fall back to three-arg when arity is exactly 3; arity 0 wrappers still use five-arg so production Cordis hosts do not regress to stream-failed/1011.
… kind

Bring back dsh-ptc-runtime, dsh-llm-deepseek, and dsh-deepseek-account so the web profile can activate ptcRuntime/workflowEngine for session.create. Update the smoke assertion to the 0.2 producer kind `browser-context`.
zzalancelot added a commit to zzalancelot/dsh-browser that referenced this pull request Sep 30, 2026
…sions

Bring maintain up to the PR omdsh-dev#105 runtime fixes: open Host wireStream with the five-arg 0.2 signature (arity-3 stubs only), restore ptc/llm/account smoke deps, and align smoke with browser-context. Bump dsh-browser 0.1.5, bridge 0.0.8, and extension 0.1.6.
@Lum1104
Lum1104 merged commit e715c88 into omdsh-dev:main Sep 30, 2026
1 check passed
@zzalancelot
zzalancelot deleted the chore/bump-dsh-0.2.0-rc.1 branch September 30, 2026 07:58

@chintoleung chintoleung left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified locally on a fresh checkout of this branch (macOS arm64, Node 24.21, pnpm 11.7.0):

  • pnpm run check:runtime, typecheck (bridge + extension), bridge tests 142/142 ✓
  • pnpm run test:smoke ✓ — with one heads-up for dev checkouts: a stale lib/ build fails smoke with stream-failed: signals[0] is not of type AbortSignal (the pre-0.2 bundle calls wireStream.open with the 3-arg form, so the AbortSignal lands in the uplink slot). pnpm --filter @yuxianglin/dsh-bridge-browser run build before smoke avoids it.
  • Your unchecked manual box, covered indirectly: full dsh web host boot with the pinned runtime, stable bridge WS connect, hello.ok with no stream-failed/1011, and the smoke client exercises the extension protocol path end-to-end.
  • One non-blocking nit: injectLatestSnapshot no longer recognizes 0.1.7-era plugin:@yuxianglin/dsh-bridge-browser pending snapshots (that unit test was removed), so an old deferred session may keep one stale snapshot in its inbox. Harmless, but worth a line in release notes.

Also confirmed the rc.1→rc.2 delta is desktop-only, and sent #106 as a stacked re-pin to 0.2.0-rc.2 (verified green on rc.2: bridge 142/142, extension 388/388, smoke against the rc.2 runtime).

Lum1104 pushed a commit that referenced this pull request Oct 1, 2026
Follow-up to #105: 0.2.0-rc.2 (2026-09-29) contains desktop-app fixes
only; no bridge-facing changes. Re-pin workspace deps and bridge
peers/devDeps from 0.2.0-rc.1 to 0.2.0-rc.2 and refresh pnpm-lock.yaml.

Verified locally: check:runtime, typecheck, bridge 142/142, extension
388/388, and test:smoke green against the pinned 0.2.0-rc.2 runtime
(peer gate accepts the bundle; hello.ok without stream-failed; V2
migration and browser-context V4 snapshots persist).
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.

[兼容] DSH 0.2.0-rc.2 下 bundle 被 peer 校验整体跳过,browser_* 工具不可用

3 participants