Documentation
¶
Overview ¶
Package skills owns skill activation policy independent of the TUI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activation ¶
type Activation struct {
Skill plugin.SmartSkill
Arguments string
Prompt string
Conflicts []string
}
Activation is the resolved work needed to activate a skill in a session.
func ResolveInstalledInvocation ¶
func ResolveInstalledInvocation(invoke, fullText string, active map[string]plugin.SmartSkill) (*Activation, error)
ResolveInstalledInvocation loads installed skills and resolves an invocation for normal CLI use.
func ResolveInvocation ¶
func ResolveInvocation(invoke, fullText string, active map[string]plugin.SmartSkill, installed []plugin.SmartSkill) (*Activation, error)
ResolveInvocation finds an invocation in the supplied installed skills and builds the prompt without mutating session state.
Click to show internal directories.
Click to hide internal directories.