Files
cflmy 2d4eef4fe0 fork: establish the Marqdo Harness downstream baseline
- keep the full DSH history, MIT license and third-party notices;
- remove upstream publish/upload/desktop packaging workflows so downstream
  CI cannot trigger official credentials or channels;
- exclude the downstream `packages/marqdo/*` packages from the upstream
  bundling graph (they run as TypeScript through Node's type stripping);
- declare app-boot's production peer for the deployed launcher;
- document the product architecture, gates, upstream policy, modification
  log and the M0/M1-M6 evidence.

Upstream: deepseek-harness 4b399c39a6.
Part of marqdo#25 (MDH-00/MDH-02).
2026-11-28 10:41:04 +08:00

86 lines
3.7 KiB
Markdown

# DeepSeek Harness
English | [中文](README.zh.md)
DeepSeek Harness (`dsh`) is an open-source agent harness developed by [DeepSeek AI](https://deepseek.com).
It is built on an **everything-is-a-plugin** architecture and powered by [Cordis](https://github.com/cordiverse/cordis), whose design is described in [_A Programming Paradigm for Spatiotemporal Composability_](https://arxiv.org/abs/2608.25512).
Documentation: [https://deepseek-harness.github.io/deepseek-harness/](https://deepseek-harness.github.io/deepseek-harness/)
## Marqdo Harness (downstream)
This repository is the **Marqdo Harness (MDH)** downstream fork of DeepSeek Harness. It is the official single-user application of the Marqdo ecosystem: it installs and verifies Marqdo runtimes, executes `.mq.md` documents through the public CLI contract, keeps a private local knowledge library, and preserves run evidence for reuse.
The upstream history, MIT license and third-party notices are retained. `origin` is `https://git.cflmy.cn/cflmy/marqdo-app-harness.git`; `upstream` is the Gitea DSH mirror. Product documentation lives under [docs/mdh](docs/mdh/): [architecture](docs/mdh/ARCHITECTURE.md), [status](docs/mdh/STATUS.md), [upstream policy](docs/mdh/UPSTREAM.md) and [modification log](docs/mdh/upstream-delta.md).
Run the product from this checkout with `node scripts/mdh.mjs` after `pnpm install && pnpm run build`. The web workbench is served at `/mdh` on the same loopback listener as the DSH client. The application does not bundle a Marqdo CLI, stdlib, extension or tool implementation; those are downloaded from trusted Gitea releases into an application-owned home.
## Developer preview
DeepSeek Harness is in _developer preview_ and iterating rapidly. **THERE WILL BE COMPATIBILITY-BREAKING CHANGES.**
Review the [safety notice](SAFETY.md) before running the project.
## Run
### Run from `npm`
Install `Node.js`, then run:
```sh
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](docs/user/guide/index.md).
### Run from source
To run from a repository checkout:
```sh
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
- Submit feedback or bug reports through [GitHub Discussions](https://github.com/deepseek-ai/deepseek-harness/discussions).
- Add the [`dsh-plugin`](https://github.com/topics/dsh-plugin) topic to your plugin repository for discoverability.
- Join <a href="https://discord.gg/4MrtZUhpxg">DeepSeek Harness Discord community</a>.
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md).
## Development
Start with the [development guide](docs/development.md) and [architecture documentation](docs/architecture.md).
`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](AGENTS.md).
## Citation
```bibtex
@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](LICENSE)
Third-party dependencies and their licenses are disclosed in [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).