deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:dream-num/dsh-univer-office
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Create, inspect, edit, and review Univer files inside DeepSeek Harness.
Create and preview Univer office files (sheets, docs, slides, bases) directly inside DeepSeek Harness. After a turn uses a structured univer_* tool, a preview card appears at the turn tail; click it to expand fullscreen in-app. Worktree work gets a live window, and session-end review stays inside the conversation.
┌────────────────────────────────────────┐
│ 📊 sales.univer [wt-xxx] [Expand ▾] │ ← card at the turn tail
│ /Users/.../sales.univer │
└────────────────────────────────────────┘
┌──────────────────────────────┐
│ ● agent-draft · sales.univer │ ← floating live window (draft worktree)
│ [in progress] [−] [⤢] [✕] │
│ ┌──────────────────────────┐ │
│ │ live worktree Viewer │ │ double-click to maximize,
│ │ (read-only, real-time) │ │ drag / resize / fold anytime
│ └──────────────────────────┘ │
└──────────────────────────────┘
┌────────────────────────────────────────┐
│ 🧾 Merge preview「agent-draft」 [Ready] ▾ │ ← session-end merge panel
│ ┌────────────────────────────────────┐ │
│ │ merge preview page (embedded) │ │
│ └────────────────────────────────────┘ │
└────────────────────────────────────────┘
univer_* tools.ready shows the merge preview (scope=mergePreview) plus Discard / Merge into current version actions; draft shows up too, with the live worktree page plus Submit for confirmation / Discard actions (so a modification the agent forgot to submit is still reviewable). While the session is still running, non-terminal worktrees stay as top-right windows. Merged or discarded worktrees (terminal states) show nothing — no window, no panel.UNIVER_RENDER_BROWSER.univer_new, univer_status, univer_worktree, univer_unit, univer_import, univer_inspect, univer_execute, univer_export, univer_lint, univer_compile_svg, and univer_api.This is a standard DSH bundle: it declares dsh.bundle and ships its own cordis.patch.yml, so it installs through the canonical loader:
dsh plugin --profile web add github:dream-num/dsh-univer-office
dsh plugin --profile web add dsh-univer-office
dsh plugin --profile web add /path/to/dsh-univer-office
The first use of a profile initializes it;
dshappends the bundle todsh.profile.bundlesand pnpm links the package, so the loader resolves the plugin'scordis.patch.ymllayer automatically. Verify withdsh --profile web --dump-config(you should see a# == dsh-univer-officelayer).
After any install: refresh DeepSeek Harness (Cmd+R / Ctrl+R).
.univer file, then create an isolated worktreeuniver_api when an exact Facade or method is neededuniver_execute; verify content with univer_inspect, and run univer_lint for Slide text layoutuniver_compile_svg when an SVG should replace or overlay one explicit Slide page; export only when requestedready; use reopen when the same task needs another editdsh plugin --profile web remove dsh-univer-office
The package is one installable DSH bundle with several internal Cordis roles:
ctx.univer is the only Host domain API used by the consumers;host/webServer exposes GET /univer-api/status, POST /univer-api/gateway/start, GET /univer-api/state, and POST /univer-api/worktree-action;host/processes/gateway owns the bundled Gateway process and Viewer assets; host/adapters/unit-content starts an isolated one-shot Unit Content Worker from workers/unit-content for import, inspect, execute, export, and render-source reads; the machine render page supplies Slide layout facts and SVG text metrics without exposing screenshots;src/ contains the Host, Client, Gateway, Unit Content Worker, and Viewer sources. The Viewer application and its local rendering support were copied from univer-cli so this repository builds every application it ships. See the architecture decision for directories, dependencies, and trust boundaries.
lib/, artifacts/, dist/, and the archives (univer-dsh-plugin.zip, *.tgz) are generated and never committed. pnpm run build compiles the Host, Client, Gateway, Unit Content Worker, machine render page, and Viewer from src/.
pnpm run build
pnpm run test
Then build the release artifacts:
bash scripts/build-dist.sh
This regenerates dist/univer/ (the shipped package contents), the npm tarball dist/univer-office-<version>.tgz, and the zip distribution univer-dsh-plugin.zip (package contents).
Individual smoke tests:
node test/host-smoke.mjs
node test/client-smoke.mjs
node test/skills-smoke.mjs
npm run test:integration
Publish the package with npm publish (respects the files allowlist); attach the zip/tgz to a GitHub Release for end users.
The following unscoped names are reserved by this project as typosquatting guards — each redirects/<name>/ directory holds a placeholder package (deprecated, pointing to the official name) that contains no code:
dsh-univer-plugindsh-univer-office-suitedsh-univer-suiteuniver-office-suiteuniver-officeAlways install the official package:
dsh plugin --profile web add github:dream-num/dsh-univer-office # from git
dsh plugin --profile web add dsh-univer-office # from npm
dsh-plugindsh.bundle.patch → ./cordis.patch.ymldsh.client (platform: "web" + inject)CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。