MCPcopy Create free account
hub / github.com/compozy/agh / LoadResource

Method LoadResource

internal/api/core/interfaces.go:297–297  ·  view source on GitHub ↗
(ctx context.Context, skill *skills.Skill, relativePath string)

Source from the content-addressed store, hash-verified

295 ForAgent(ctx context.Context, resolved *workspacepkg.ResolvedWorkspace, agentName string) ([]*skills.Skill, error)
296 LoadContent(ctx context.Context, skill *skills.Skill) (string, error)
297 LoadResource(ctx context.Context, skill *skills.Skill, relativePath string) (string, error)
298 SetEnabled(name string, resolved *workspacepkg.ResolvedWorkspace, enabled bool) error
299 SetEnabledForAgent(name string, resolved *workspacepkg.ResolvedWorkspace, agentName string, enabled bool) error
300}

Implementers 2

StubSkillsRegistryinternal/api/testutil/skills_stub.go
Registryinternal/skills/registry.go

Calls

no outgoing calls