43f29ee904
/ccam-open built only when client/dist was missing, so a stale bundle
silently outlived code fixes (seen 2026-08-13: fix b0bfc66 wasn't served
until a --force rebuild). Pass --force unconditionally.
29 lines
857 B
Markdown
29 lines
857 B
Markdown
---
|
|
description: Rebuild the dashboard UI and print its URL
|
|
---
|
|
|
|
Rebuild the dashboard bundle, then print the URL. Always forces a rebuild so a
|
|
stale bundle (e.g. after a fix commit landed but the bootstrap's build predates
|
|
it) never serves silently. Also finishes the build if the bootstrap's own
|
|
attempt failed (check `~/.claude/agent-dashboard/runtime/client-build.log`).
|
|
|
|
```bash
|
|
node "${CLAUDE_PLUGIN_ROOT}/scripts/plugin-open.js" --force
|
|
```
|
|
|
|
Install + build takes a few minutes if the client toolchain isn't already
|
|
installed; otherwise the rebuild itself takes ~10-15s. No server restart is
|
|
needed — the server already serves from that directory.
|
|
|
|
Then help the user open it:
|
|
|
|
```bash
|
|
uname -s
|
|
```
|
|
|
|
- `Darwin` → `open <url>`
|
|
- `Linux` → `xdg-open <url>`
|
|
- otherwise → tell them to open the URL in a browser.
|
|
|
|
Keep the output to a few lines.
|