Documentation
¶
Index ¶
- type Module
- func (m *Module) Apply(_ context.Context, cfg setup.Config) error
- func (m *Module) Close() error
- func (m *Module) DraftProposal(ctx context.Context, proposal core.SkillProposal) (string, error)
- func (m *Module) ID() string
- func (m *Module) ReviewSettings() core.SessionReviewSettings
- func (m *Module) ReviewedSkills(ctx context.Context, sessionID string) ([]core.ReviewedSkill, error)
- func (m *Module) Service() *coreskills.Service
- func (m *Module) SkillsPromptContext(ctx context.Context, req core.SkillsPromptContextRequest) string
- func (m *Module) Status(context.Context) modules.Status
- func (m *Module) Tools() []tools.Executor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
func (*Module) Apply ¶ added in v0.2.0
Apply shows or hides the skill tools and applies the library settings.
func (*Module) DraftProposal ¶ added in v0.2.1
DraftProposal files a session review's skill as a quarantined draft tagged learned, and update-of-<id> when it rewrites a skill.
func (*Module) ReviewSettings ¶ added in v0.2.1
func (m *Module) ReviewSettings() core.SessionReviewSettings
ReviewSettings are the session review's settings from setup.json.
func (*Module) ReviewedSkills ¶ added in v0.2.1
func (m *Module) ReviewedSkills(ctx context.Context, sessionID string) ([]core.ReviewedSkill, error)
ReviewedSkills are the skills the session activated, with their instructions.
func (*Module) Service ¶
func (m *Module) Service() *coreskills.Service