Documentation
¶
Overview ¶
Package core assembles the shared command-side domain and agent runtime providers used by the Memoh binaries (all-in-one, channel).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureAdminUser ¶
func EnsureAdminUser(ctx context.Context, log *slog.Logger, accountStore dbstore.AccountStore, emailService *emailpkg.Service, cfg config.Config) error
EnsureAdminUser bootstraps the admin account on first start. Exported for the composing commands that host the HTTP server.
func FoundationModule ¶
FoundationModule assembles process-neutral domain infrastructure shared by Server and Channel. It intentionally excludes Agent, workspace runtimes, schedulers, and provider bootstrap loops.
func Module ¶
Module preserves the all-in-one composition API for tests and transitional callers. Production commands compose the two modules explicitly.
func ServerModule ¶
ServerModule assembles the Server-owned Agent and workspace runtime. It expects FoundationModule and the Channel catalog/runtime interfaces to be provided by the composing command.
Types ¶
This section is empty.