bootstrap

package
v0.6.95 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLLMBackend added in v0.5.18

func NewLLMBackend(cfg config.Config) (llm.Backend, error)

func ResolveConfigPath

func ResolveConfigPath(configPath string) string

func ResolvePromptDir

func ResolvePromptDir(workspaceDir, promptDir string) string

func ResolveRuntimeBinary

func ResolveRuntimeBinary(workspaceDir string) string

func ResolveRuntimeStateRoot added in v0.3.13

func ResolveRuntimeStateRoot(aliceHome string) string

Types

type ConfigReloadReport

type ConfigReloadReport struct {
	AppliedFields         []string
	RestartRequiredFields []string
}

type ConnectorRuntime

type ConnectorRuntime struct {
	App                 *connector.App
	Processor           *connector.Processor
	AutomationEngine    *automation.Engine
	RuntimeAPI          *runtimeapi.Server
	RuntimeAPIBaseURL   string
	RuntimeAPIToken     string
	AutomationStatePath string
	SessionStatePath    string
	PromptLoader        *prompting.Loader
	Config              config.Config
	// contains filtered or unexported fields
}

func BuildConnectorRuntime

func BuildConnectorRuntime(cfg config.Config, backend llm.Backend) (*ConnectorRuntime, error)

func (*ConnectorRuntime) ApplyConfigReload

func (r *ConnectorRuntime) ApplyConfigReload(next config.Config) (ConfigReloadReport, error)

func (*ConnectorRuntime) Run

func (r *ConnectorRuntime) Run(ctx context.Context) error

func (*ConnectorRuntime) RunRuntimeOnly added in v0.6.9

func (r *ConnectorRuntime) RunRuntimeOnly(ctx context.Context) error

type RuntimeManager added in v0.4.0

type RuntimeManager struct {
	Config   config.Config
	Runtimes []*ConnectorRuntime
}

func BuildRuntimeManager added in v0.4.0

func BuildRuntimeManager(cfg config.Config) (*RuntimeManager, error)

func (*RuntimeManager) Run added in v0.4.0

func (m *RuntimeManager) Run(ctx context.Context) error

func (*RuntimeManager) RunRuntimeOnly added in v0.6.9

func (m *RuntimeManager) RunRuntimeOnly(ctx context.Context) error

type SkillLinkReport

type SkillLinkReport struct {
	AliceHome       string
	SourceRoot      string
	AgentsSkillsDir string
	ClaudeSkillsDir string
	Discovered      int
	Linked          int
	Updated         int
	Unchanged       int
	Failed          int
}

func EnsureBundledSkillsLinked

func EnsureBundledSkillsLinked(workspaceDir string) (SkillLinkReport, error)

func EnsureBundledSkillsLinkedForAliceHome added in v0.6.3

func EnsureBundledSkillsLinkedForAliceHome(aliceHome string, allowedSkills []string) (SkillLinkReport, error)

type SoulTemplateReport added in v0.5.2

type SoulTemplateReport struct {
	Path    string
	Created bool
}

func EnsureBotSoulFile added in v0.5.2

func EnsureBotSoulFile(soulPath string) (SoulTemplateReport, error)

Jump to

Keyboard shortcuts

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