core

package
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2026 License: AGPL-3.0 Imports: 104 Imported by: 0

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

func FoundationModule() fx.Option

FoundationModule assembles process-neutral domain infrastructure shared by Server and Channel. It intentionally excludes Agent, workspace runtimes, schedulers, and provider bootstrap loops.

func Module

func Module() fx.Option

Module preserves the all-in-one composition API for tests and transitional callers. Production commands compose the two modules explicitly.

func ServerModule

func ServerModule() fx.Option

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL