mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-11-09 05:24:49 +09:00
The agent embeds its desktop console via //go:embed all:dist (internal/agentui/embed.go), which needs agent/internal/agentui/dist to exist at compile time. The CI and release workflows ran go build/vet/test without first building the React app (agent/ui -> vite build outputs to that dist), so a fresh checkout failed with "pattern all:dist: no matching files found". Add a Node setup + `npm ci && npm run build` (in agent/ui) before the go steps in both jobs of agent-ci.yml and in the release build job. Verified the build command produces internal/agentui/dist locally. Not a Go-version issue: wireguard-go@2026, gvisor@2025 and the agent all declare go 1.23.1, and gvisor's gohacks build constraints are go1.20+ (no upper bound), so CI's Go 1.23 compiles them fine. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>