@prismshadow/penguin-library-agent · library/agent/src/ports.ts:115

AgentDirectorySkills

interface

The Skills a creator picked from a directory, resolved to what installSkill writes (the server's directory-skills resolver; the assembly binds it).

API

@Interface()
export abstract class AgentDirectorySkills {
  abstract resolve(dir: string, names: readonly string[]): Promise<DirectorySkill[]>;
}

Contract Topology

Static AST wiring across @Module / @Provide / @Use
@Useconsumed by (1)

Members (1)

resolve

resolve(dir: string, names: readonly string[]): Promise<DirectorySkill[]>

404 unknown_skill on a name the directory does not carry.

@paramdirstring
@paramnamesreadonly string[]
@returnsPromise<DirectorySkill[]>