/** * Workspace detection types — context discovery for skill workspaces. */ /** Classification of the detected workspace context. */ export declare enum ContextType { /** No skills found in or near the working directory. */ None = "none", /** Exactly one skill found (CWD or parent walk). */ SingleSkill = "single-skill", /** Multiple skills discovered via skill root dirs or child scan. */ MultiSkill = "multi-skill" } /** Lightweight descriptor for a discovered skill. */ export interface SkillInfo { /** Skill name from SKILL.md frontmatter; falls back to directory name. */ name: string; /** Absolute path to the skill directory. */ dir: string; /** Absolute path to the SKILL.md file. */ skillPath: string; /** Absolute path to eval.yaml, if discovered; `undefined` otherwise. */ evalPath?: string; } /** Result of workspace context detection. */ export interface WorkspaceContext { /** Classification of the workspace context. */ type: ContextType; /** Absolute path to the workspace root directory. */ root: string; /** Discovered skills. */ skills: SkillInfo[]; /** Configured evals subdirectory name (default `"evals"`). */ evalsDir: string; } /** Options for {@link detectWorkspaceContext}. */ export interface DetectOptions { /** Skill root directories to scan (default: `["skills"]`). */ skillsDirs?: string[]; /** Evals subdirectory name (default: `"evals"`). */ evalsDir?: string; } //# sourceMappingURL=types.d.ts.map