Development and Build
Repository Layout
Use these directories as the main map:
cmd/clawgo: CLI and entrypointpkg: core runtime implementationwebui: React consoleworkspace: default workspace templatedocs: in-repo project docs and assets
Go Build
Common commands:
bash
make build
make build-all
make build-linux-slim
make testWebUI Build
bash
make build-webuiThis installs dependencies, builds the frontend, and produces webui/dist.
Embedded Asset Sync
Release builds rely on Go embed for workspace templates and WebUI assets.
Related Make targets:
bash
make sync-embed-workspace
make sync-embed-workspace-base
make sync-embed-webui
make cleanup-embed-workspacePackage and Release
bash
make package-allThis creates:
- per-platform archives
webui.tar.gzchecksums.txt
Recommended Test Command
bash
go test ./...