Files
Agent-System/web/embed.go
T
weichen b812d1d30f feat(dev): single-binary no-docker runtime with managed localpg
Embed web/dist, run events in-process, manage brew PG18+pgvector, add PI host sidecar and launch --no-docker; unify MiniMax-M2.7-highspeed pins and record dev acceptance.
2026-09-24 15:53:50 +00:00

12 lines
358 B
Go

package web
import "embed"
// DistFS holds the production SPA build (npm run build + precompress).
// Build scripts must materialize web/dist before `go build`; the directory is
// gitignored. At runtime the server prefers an on-disk web/dist when present
// (dev Vite / hot reload) and falls back to this embed.
//
//go:embed all:dist
var DistFS embed.FS