Skip to content

fix(dist): include web dashboard in binary releases, AUR, and cargo install#5675

Merged
theonlyhennygod merged 2 commits intomasterfrom
fix/web-dist-packaging
Apr 12, 2026
Merged

fix(dist): include web dashboard in binary releases, AUR, and cargo install#5675
theonlyhennygod merged 2 commits intomasterfrom
fix/web-dist-packaging

Conversation

@theonlyhennygod
Copy link
Copy Markdown
Collaborator

Summary

  • Binary releases (stable + beta): Package steps now bundle web/dist/ alongside the binary in tar.gz/zip archives via a staging directory
  • AUR: PKGBUILD build() runs npm ci && npm run build, package() installs dashboard to /usr/share/zeroclawlabs/web/dist/
  • cargo install: build.rs restored with best-effort npm build (skips silently if node/npm unavailable)
  • install.sh: Prebuilt binary installer extracts and installs web/dist/ to ~/.local/share/zeroclaw/web/dist/
  • Auto-detection: Gateway now also checks AUR (/usr/share/zeroclawlabs/web/dist) and XDG data home paths

Test plan

  • cargo check — compiles cleanly
  • cargo clippy — zero warnings
  • cargo test — all tests pass
  • bash -n install.sh — syntax valid
  • Verify release archive structure includes web/dist/ alongside binary
  • Verify AUR package installs dashboard to /usr/share/zeroclawlabs/web/dist/
  • Verify cargo install triggers npm build when node is available

🤖 Generated with Claude Code

…nstall

After decoupling the web dashboard from the binary (filesystem-based serving),
three distribution methods shipped without the dashboard assets. This fixes all
three: release archives now bundle web/dist alongside the binary, AUR builds and
installs the dashboard, build.rs does a best-effort npm build for cargo install,
and install.sh extracts dashboard assets to ~/.local/share/zeroclaw/web/dist.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions github-actions bot added the ci Auto scope: CI/workflow/hook files changed. label Apr 12, 2026
@theonlyhennygod theonlyhennygod merged commit dcc13e2 into master Apr 12, 2026
20 checks passed
@github-project-automation github-project-automation bot moved this from Backlog to Shipped in ZeroClaw Project Board Apr 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Auto scope: CI/workflow/hook files changed.

Projects

Status: Shipped

Development

Successfully merging this pull request may close these issues.

2 participants