# dsh-deepread 1.0.1

This patch updates the Web client for DeepSeek Harness `0.1.2-rc.1`.

## Fix

Fixes [issue #10](https://github.com/xiehuan123/dsh-deepread/issues/10): DeepSeek Harness `0.1.2-rc.1` rejected the Web client with `require("@deepseek-ai/dsh-client-runtime/client") missed the module table`.

The browser bundle now requests the shared `@deepseek-ai/dsh-client-store` platform module. Browser Context and snapshot types, build externals, service-provider metadata, and development type dependencies follow the new upstream layout. Regression coverage rejects the removed runtime facade instead of adding it to a fake module table.

## Compatibility

- Node.js requires `^22.19 || >=24`.
- DeepSeek Harness Web targets `0.1.2-rc.1`. Keep DeepRead `1.0.0` when using the older `0.1.0-rc.7` Web runtime.
- Harness headless retains the Host-only `0.1.0-rc.7` baseline; dsh-TUI retains its `0.8.1` minimum. Neither loads the browser client.
- The Host entry remains `lib/types/index.js`; `dsh-plugin.json` remains Host-only Community Consensus v0.15.

## Upgrade and data

There is **no data migration** from `1.0.0`; the four persistence identities and `0.5.4` record formats are unchanged. Preserve the browser origin and `DSH_HOME` as described in the [upgrade and rollback guide](../upgrade-and-rollback.md).

After publication, install with `dsh plugin --profile web add dsh-deepread@1.0.1` and restart Harness Web.

## Validation

Validated on 2026-09-10 with Node.js `24.19.0`:

- `npm run typecheck:host` and `npm run typecheck:browser` pass with `skipLibCheck: false`.
- `npm test` passes, including the real `npm pack --dry-run --json` publication file-list check, unchanged data identities, and the new platform-module regression.
- An isolated Web profile using the published `@deepseek-ai/dsh@0.1.2-rc.1` boots the plugin. The current module graph serves its versioned JavaScript bundle; the removed runtime facade is absent.
- A real Chromium session verifies the composer button, one panel, open/close, pointer dragging, five-mode budget preflight, reload, one style node, and zero browser errors. Light and dark screenshots were visually inspected.
- No paid model request was made. Full model-driven reading, HMR, and a fresh dsh-TUI TTY smoke were not rerun for this browser-only patch. Host behavior and data compatibility remain covered by the repository suite.

The local upstream source was `a66e4702047846cdaa10c66c9d3df3951f5ea70d` (`dsh-v0.1.2-rc.1`). Its existing `lib/` artifacts were stale, so the assembled test used the exact published host in a temporary directory; existing user profiles and the upstream checkout were not changed.
