Documentation
¶
Index ¶
- type CapabilityItem
- type Result
- type Service
- func (s *Service) Activate(ctx context.Context, skill, version string) error
- func (s *Service) CapabilityItems() ([]CapabilityItem, error)
- func (s *Service) Inspect(args map[string]any) (Result, error)
- func (s *Service) InstalledPath(skill, version string) (string, error)
- func (s *Service) List() (Result, error)
- func (s *Service) Package(ctx context.Context, args map[string]any) (Result, error)
- func (s *Service) ReplaceBundledSkills(ctx context.Context, skills []string) error
- func (s *Service) ResolveActive(skill string) (string, error)
- func (s *Service) ResolveResource(raw string) (string, string, error)
- func (s *Service) RuntimeSkill(skill string) (Result, error)
- func (s *Service) RuntimeSkillFile(skill, relativePath string) (Result, error)
- func (s *Service) RuntimeSkillFiles(skill string) (Result, error)
- func (s *Service) RuntimeSkills() (Result, error)
- type ToolError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CapabilityItem ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) CapabilityItems ¶
func (s *Service) CapabilityItems() ([]CapabilityItem, error)
func (*Service) InstalledPath ¶
func (*Service) ReplaceBundledSkills ¶
func (*Service) ResolveResource ¶
func (*Service) RuntimeSkillFile ¶
RuntimeSkillFile 只读取当前激活 Skill 包内的普通 UTF-8 文本文件。 路径解析和符号链接校验都在 AgentDock 内完成,调用方无需挂载宿主机目录。
func (*Service) RuntimeSkillFiles ¶
RuntimeSkillFiles 返回当前激活 Skill 包的安全文件清单。 隐藏文件、安装元数据和符号链接不会暴露给控制面。
func (*Service) RuntimeSkills ¶
Click to show internal directories.
Click to hide internal directories.