Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Channels ¶
type Channels struct {
Discord *DiscordChannel
Slack *SlackChannel
Telegram *TelegramChannel
}
type Descriptor ¶
type Descriptor struct {
Kind SourceKind
Config string
Root string
AgentName string
Identity string
Models ModelSlots
Cllama bool
Channels Channels
EnvVars map[string]string
SkillsDir string
CronDir string
RawNotes []string
}
func Detect ¶
func Detect(fromPath string, override SourceKind) (Descriptor, error)
type DiscordChannel ¶
type DiscordGuild ¶
type DiscordSurface ¶
type DiscordSurface struct {
DMAllowFrom []string
DMPolicy string
Guilds []DiscordGuild
}
type HandlePlan ¶
type HandlePlan struct {
Platform string
IDEnv string
Username string
Guilds []DiscordGuild
}
type ModelRef ¶
func SplitModelRef ¶
type ModelSlots ¶
type Plan ¶
type Plan struct {
Source Descriptor
Target TargetRuntime
ProjectName string
AgentName string
BaseImage string
Model ModelRef
Fallback []ModelRef
Cllama bool
Handles []HandlePlan
Environment map[string]string
CllamaEnv map[string]string
Surfaces []SurfacePlan
AgentContract string
SoulContent string
SkillsDir string
CronDir string
Notes Notes
}
type SlackChannel ¶
type SourceKind ¶
type SourceKind string
const ( SourceOpenClaw SourceKind = "openclaw" SourceHermes SourceKind = "hermes" )
type SurfacePlan ¶
type SurfacePlan struct {
Platform string
Discord *DiscordSurface
}
type TargetRuntime ¶
type TargetRuntime string
const ( TargetOpenClaw TargetRuntime = "openclaw" TargetHermes TargetRuntime = "hermes" )
type TelegramChannel ¶
Click to show internal directories.
Click to hide internal directories.