Documentation
¶
Index ¶
- func NewLLMBackend(cfg config.Config) (llm.Backend, error)
- func ResolveConfigPath(configPath string) string
- func ResolvePromptDir(workspaceDir, promptDir string) string
- func ResolveRuntimeBinary(workspaceDir string) string
- func ResolveRuntimeStateRoot(aliceHome string) string
- type CodexAuthSyncReport
- type ConfigReloadReport
- type ConnectorRuntime
- type RuntimeManager
- type SkillLinkReport
- type SoulTemplateReport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveConfigPath ¶
func ResolvePromptDir ¶
func ResolveRuntimeBinary ¶
func ResolveRuntimeStateRoot ¶ added in v0.3.13
Types ¶
type CodexAuthSyncReport ¶ added in v0.5.2
func EnsureCodexAuthForCodexHome ¶ added in v0.5.2
func EnsureCodexAuthForCodexHome(targetCodexHome string, sourceCodexHomes ...string) (CodexAuthSyncReport, error)
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
CampaignStatePath string
SessionStatePath string
PromptLoader *prompting.Loader
Config config.Config
// contains filtered or unexported fields
}
func BuildConnectorRuntime ¶
func (*ConnectorRuntime) ApplyConfigReload ¶
func (r *ConnectorRuntime) ApplyConfigReload(next config.Config) (ConfigReloadReport, 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)
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)
func EnsureBundledSkillsLinkedForCodexHome ¶ added in v0.4.0
func EnsureBundledSkillsLinkedForCodexHome(codexHome 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.