// Package commandcenter exists solely to host module-level //go:embed
// directives that need access to paths above any subpackage. Both
// `migrations/` (Phase 0 SQLite schema) and `internal/webui/dist/` (the
// built frontend bundle) live near the module root, so the embed directives
// that capture them must live in a file at the root as well — go:embed
// patterns may not contain `..`.
//
// Consumers import this package as `commandcenter "github.com/operator/command-center"`
// and read the exported io/fs.FS values directly.
package commandcenter

import "embed"

// MigrationsFS embeds every `.sql` file under /migrations. The db package's
// LoadMigrations walks this FS at startup.
//
//go:embed migrations/*.sql
var MigrationsFS embed.FS

// WebUIFS embeds the built frontend bundle. The build script copies the
// output of `npm run build` (web/dist/) into internal/webui/dist/ before
// running `go build`. The committed `.gitkeep` placeholder keeps the
// directory present for `go test` on a clean checkout.
//
//go:embed all:internal/webui/dist
var WebUIFS embed.FS
