bootstrap

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLLMProvider

func NewLLMProvider(cfg config.Config) (llm.Provider, error)

func ResolveConfigPath

func ResolveConfigPath(configPath string) string

func ResolveMemoryDir

func ResolveMemoryDir(workspaceDir, memoryDir string) string

func ResolvePromptDir

func ResolvePromptDir(workspaceDir, promptDir string) string

func ResolveRuntimeBinary

func ResolveRuntimeBinary(workspaceDir 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
	MemoryDir           string
	AutomationStatePath string
	CodeArmyStateDir    string
	PromptLoader        *prompting.Loader
	Config              config.Config
	// contains filtered or unexported fields
}

func BuildConnectorRuntime

func BuildConnectorRuntime(cfg config.Config, provider llm.Provider) (*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

type SkillLinkReport

type SkillLinkReport struct {
	CodexHome  string
	Discovered int
	Linked     int
	Updated    int
	Unchanged  int
	Failed     int
}

func EnsureBundledSkillsLinked

func EnsureBundledSkillsLinked(workspaceDir string) (SkillLinkReport, error)

Jump to

Keyboard shortcuts

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