fix(demo): build client plugin bundles before serving dsh web

demo:web and the README Web UI instructions ran only build:web (the Vite
frontend shell), never the root build that emits each web-client plugin's
lib/client.js. On a clean checkout every /plugins/<id>/client.js 404s and
the client loader shows "Failed to load plugins".

Run pnpm run build before build:web in both the demo:web script and the
README instructions for the installed ~/.dsh/source checkout.
This commit is contained in:
Turtle
2026-07-23 16:37:56 +08:00
parent 7c0c516f60
commit ae2ec5f8d7
7 changed files with 65 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ curl -fsSL https://raw.githubusercontent.com/deepseek-harness/deepseek-harness/m
推荐在本地使用 Web UI。安装完成后以及每次更新后请先构建前端再启动 Web UI
```sh
pnpm --dir ~/.dsh/source run build:web
pnpm --dir ~/.dsh/source run build && pnpm --dir ~/.dsh/source run build:web
dsh web
```