## What does this PR change? ## Type - [ ] Bug fix - [ ] New feature - [ ] Refactor / internal cleanup - [ ] Docs / build / CI only ## Feature coverage The user-visible contract is the **Features** table in [`README.md`](../README.md#features). If this PR touches behaviour, name the rows it affects and say whether they still hold. | Feature row | Status | |---|---| | | | ## Which parts does this touch? - [ ] the official right-sidebar host (`ctx.sidebarRightTabs` + the keyed `sidebar.right.pane.tab` slot, `settings.section`, the new-session watcher) - [ ] capture surfaces (`shell.overlay` selection pill, the answer action) - [ ] the `@` reference / composer side - [ ] host half (`src/index.ts`, `src/store.ts`, `src/attachments.ts`, `src/routes.ts`) - [ ] build / CI / docs only ## Checklist - [ ] `pnpm install` succeeds (never use `npm` in this repo) - [ ] `pnpm typecheck` passes — real output pasted below - [ ] `pnpm test` passes — real output pasted below - [ ] `pnpm build` passes and `lib/index.js`, `lib/client.js`, `lib/types/**` all exist - [ ] `lib/client.js` still registers itself through `window.__ModuleLoader__.load({ id: "dsh-notebook", factory: … })` and the registered id still equals the package name (assert it by **executing** the bundle — the banner whitespace is not stable, which is why CI does not grep it) - [ ] No new `node:*` import and no new `@deepseek-ai/*` **value** import in `src/client/**` — the factory's `require` answers only the platform seeds, today `react` and `react/jsx-runtime` - [ ] If any `@deepseek-ai/dsh*` peer range moved, it still matches the dsh line the plugin targets: rc.2's boot gate skips the **whole bundle** on a mismatch (`dsh: skipping profile bundle …`) - [ ] No modification to DSH source (hard constraint) - [ ] No video/audio support path added (v1 explicitly excludes rich media) - [ ] No `cordis` (bare) added to `dependencies` / `peerDependencies` / `optionalDependencies` - [ ] No `preinstall` / `install` / `postinstall` / `prepare` script added - [ ] Docs updated if user-visible behaviour or settings changed (both `README.md` and `README.zh-CN.md`) ## Verification output ``` $ pnpm typecheck $ pnpm test $ pnpm build $ ls -l lib ``` ## Notes for the reviewer