Local visual React and Tailwind designer with project-scoped file tools; documented for DSH 0.1.5-rc.2.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:aa2246740/dsh-opendesigner
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
dsh plugin --profile web add github:aa2246740/dsh-opendesigner
PATH 上要有官方 dsh(没有就用 npx @deepseek-ai/dsh)和 pnpm。dsh plugin add 会在 $DSH_HOME/profiles/web 里跑 pnpm。仓库已提交编译好的 dist/ 和 lib/client.js,git 安装不用 prepare,也不用改 profile 的 allowBuilds。
然后重启这个 Host,再刷新页面。dsh plugin add 只写 profile,不会热挂正在跑的进程。
本机可视化编辑 React + Tailwind 组件。面向 DeepSeek Harness 0.1.5-rc.2。peer:@deepseek-ai/dsh-tools 0.1.2-rc.1,@deepseek-ai/cordis ^4.0.2。Node 22.14 或更新。
文件工具限制在项目根里。破坏性写入需要受信任的 host/UI 审批通道。模型给的 approve: true 不算。autoApprove 不会放宽路径 jail。画布在 npm run preview,没有 dsh.client web-shell。
已交付内容见 docs/SHIPPED.md。docs/01 到 docs/07 是历史笔记。
装完之后
Settings → Plugins 里这个插件是 Enabled。工具名是 opendesigner_*。opendesigner_status 只报告 requiredDsh 和 hasApiKey,不报 key。
dsh plugin --profile web remove dsh-opendesigner
其它装法
本地目录或 tarball:
dsh plugin --profile web add ./dsh-opendesigner
dsh plugin --profile web add ./dsh-opendesigner-0.2.0.tgz
dsh.bundle 是开机捕获的。不要再往 profile 的 cordis.patch.yml 手写同一条 insert,会重复挂载。
预览
npm install
npm run build
npm test
OPENDESIGNER_PROJECT_ROOT=/absolute/path/to/your-react-app npm run preview
默认项目是 examples/programmer-page,打开 http://127.0.0.1:4173/。保存设计稿 写 .designer/canvas.json。应用到工程 只在 Agent batch 有文件 diff 时可用。没有 API key 时走 mock。key 不要放进仓库。
路径 jail:project_* 和 local_* 都走 resolveProjectPath。绝对路径、..、符号链接逃逸都是 PATH_JAIL。
开发
改源码后重新 npm run build,把更新后的 dist/ 和 lib/client.js 一起提交。对着源码检出可以用 overlay:
- insert:
- id: dsh-opendesigner
name: /absolute/path/to/dsh-opendesigner/dist/plugin.js
pnpm dsh web --patch /absolute/path/to/overlay.yml
许可
MIT。见 LICENSE。
Links
More in this category
yjh051108/dsh-routing-suite★ 7028
One repository, three parts: a runtime injector for DSH plugin packages (inject, hot-reload, unload, promote a dev staging tool to the front, route self-heal, plus a settings-page plugin manager that lists, unloads and drags folders in to internalize), a task-aware reasoning-mode router agent preset (router-standard / router-spec / router-react), and a graded two-level task protocol whose six tools (commit_star, lock_stage, revise_do, edit_plan, mark_task, redteam_verdict) pin task state to disk. The injector implementation ships in-tree, so the install carries its own behaviour rather than a dependency list.
strukto-ai/mirage#dsh★ 3939
Swaps the filesystem and bash providers for a mirage virtual workspace: file tools and shell commands run over mounted resources (RAM, S3, Redis, Slack, Gmail, Notion, Postgres) instead of the host disk, with per-mount read/write/exec modes, per-command sandbox routing (monty, pyodide, quickjs in process; docker, e2b, daytona remote), and installed CLIs (git, gh, slack, linear, ntn, gws, or one you register) as head words in the virtual terminal.
first-fluke/oh-my-agent#dsh★ 1479
Runs project OMA checks before and after tool execution and when a turn tries to finish. Installs its OMA CLI dependency and initializes unconfigured projects on first use. Requires Node.js 22+; initial setup needs network access and project write access.
MichengAI/dsh-skills-manager★ 619
Manages local DeepSeek Harness skills in Settings and shows shared Agent skills as read-only.
hust-open-atom-club/oh-dsh★ 324
Community distribution: TUI, desktop, and Web UI as one bundle with layered installation.
Fishquito7/dsh-skill-mcp-panel★ 289
Manages DSH skills and MCP servers from the web settings: skill cards with hot enable/disable, workspace scopes, groups, batch migration and drag-and-drop import, plus stdio/HTTP MCP CRUD with connection tests, secret redaction and the unified dsh-panel CLI.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.