Documentation
¶
Index ¶
- func NewLLMBackend(cfg config.Config) (agentbridge.Backend, error)
- func ResolveConfigPath(configPath string) string
- func ResolvePromptDir(workspaceDir, promptDir string) string
- func ResolveRuntimeBinary(workspaceDir string) string
- func ResolveRuntimeStateRoot(aliceHome string) string
- type ConfigReloadReport
- type ConnectorRuntime
- type RuntimeManager
- type SkillLinkReport
- type SoulTemplateReport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLLMBackend ¶ added in v0.5.18
func NewLLMBackend(cfg config.Config) (agentbridge.Backend, error)
func ResolveConfigPath ¶
func ResolvePromptDir ¶
func ResolveRuntimeBinary ¶
func ResolveRuntimeStateRoot ¶ added in v0.3.13
Types ¶
type ConfigReloadReport ¶
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 agentbridge.Backend) (*ConnectorRuntime, error)
func (*ConnectorRuntime) ApplyConfigReload ¶
func (r *ConnectorRuntime) ApplyConfigReload(next config.Config) (ConfigReloadReport, 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
func EnsureBotSoulFile ¶ added in v0.5.2
func EnsureBotSoulFile(soulPath string) (SoulTemplateReport, error)
Click to show internal directories.
Click to hide internal directories.