Yudong Han c72724b42e feat(office): add experimental office preview by frame forwarding bundle (#8441)
* feat(office): add frame-forwarded preview and bundle integration

* feat(office): present document and slideshow frames with video

* test(office): simulate video frame cloning across preview sessions

* fix(frame-forwarding): preserve document proportions during resize

* fix(office-preview): resume frames after tab switches and restore margin dragging

* refactor(office-preview): share submitted geometry and simplify fixture cleanup

* refactor(office): remove obsolete viewport discard comparison

* refactor(office): take shared textures from the dsh-shared-texture services

The Office preview spec helper imported the bridge and lease types from the removed @deepseek-ai/dsh-shared-texture-client-types package, passed frame forwarding the failureSource() adapter that its Client service no longer declares, and the specs stubbed globalThis.dshDesktop, which frame forwarding no longer reads.

The helper imports the types from @deepseek-ai/dsh-shared-texture/client and drops the adapter, and the specs stop stubbing dshDesktop. The shared-texture Agent Note drops the PR citation from its NodeNext declaration check sentence, and the README model-experience registry rewords the dsh-shared-texture entry.

* fix(office-preview): take the React 19 ref types

The client moved to React 19, whose types require an initial value for `useRef` and type a DOM ref created with `null`
as `RefObject<T | null>`. Refs that start empty now pass `undefined`, the surface takes its element refs as
`RefObject<HTMLDivElement | null>`, and `RefObject` replaces the deprecated `MutableRefObject`, as the rest of the client
does.

* fix(office-preview): align the producer and receiver tests on Kit 0.2.4

* chore(office-preview): refresh the client slot catalog

* fix(office-preview): drain document releases and handle slideshow frame failures

* refactor(office): expose Kit discovery and editor opening on officeKit

* fix(office-preview): preserve slideshows across same-client event reconnects

* refactor(frame-forwarding): use single-producer channels and retain Office slide previews

* fix(plugins): show native Office preview only in Desktop

* fix(office-preview): reconcile slideshow and document lifetimes on reconnect and refresh

* fix(office-preview): simplify slideshow recovery and retain hidden fallback views

* refactor(office-preview): type document operations and detach playback before refresh

* feat(office-preview): lease documents by tab and reopen expired previews

* fix(office-preview): retire slideshow mounts without blocking channel recovery

* fix(office-preview): restore the last shown slide on channel reconnect

* fix(office-preview): preserve channel loss while waiting for the first viewport

* fix(office-preview): cancel slideshow readiness when playback stops

* test(web): exclude desktop-only bundles in plugin-config e2e

* fix(office): cancel retired viewport waits and count successful redraws

* fix(office-preview): await timed-out open cleanup on plugin disposal
2026-11-27 16:10:38 +00:00
2026-08-13 13:07:24 +08:00

DeepSeek Harness

English | 中文

DeepSeek Harness (dsh) is an open-source agent harness developed by DeepSeek AI.

It is built on an everything-is-a-plugin architecture and powered by Cordis, whose design is described in A Programming Paradigm for Spatiotemporal Composability.

Documentation: https://deepseek-harness.github.io/deepseek-harness/

Developer preview

DeepSeek Harness is in developer preview and iterating rapidly. THERE WILL BE COMPATIBILITY-BREAKING CHANGES.

Review the safety notice before running the project.

Run

Run from npm

Install Node.js, then run:

npx @deepseek-ai/dsh web

The command starts the Web UI at http://127.0.0.1:3080 by default and opens it in the default browser for a local launch. An SSH launch only prints the host URL because the SSH client or editor owns the local forwarded address. Pass --no-open to run the server without opening a browser. See Web UI guide.

Run from source

To run from a repository checkout:

git clone https://github.com/deepseek-ai/deepseek-harness.git
cd deepseek-harness
pnpm install
pnpm run build
pnpm dsh web

pnpm run build prepares the repository artifacts. pnpm dsh web uses those built artifacts without rebuilding.

Community and support

Contributing

See CONTRIBUTING.md.

Development

Start with the development guide and architecture documentation.

pnpm run dev:web builds, serves, and rebuilds client bundles on source edits in one terminal, and make help lists the matching Make targets for Web and Desktop; the guide's application commands section owns the full table.

For agents, follow AGENTS.md.

Citation

@misc{deepseek-harness2026,
  title={DeepSeek Harness: Everything is a Plugin},
  author={DeepSeek-AI},
  year={2026},
  publisher={GitHub},
  howpublished={\url{https://github.com/deepseek-ai/deepseek-harness}},
}

License

MIT

Third-party dependencies and their licenses are disclosed in THIRD_PARTY_NOTICES.md.

S
Description
No description provided
Readme MIT
470 MiB
0 Stars 1 Watchers 1 Forks
Languages
TypeScript 94.6%
CSS 1.3%
JavaScript 1.1%
Python 1%
Swift 0.8%
Other 1.1%