@forge/cli
14.2.015.0.0-next.23
out/service/skills-service.d.ts+
out/service/skills-service.d.tsNew file+42
Index: package/out/service/skills-service.d.ts
===================================================================
--- package/out/service/skills-service.d.ts
+++ package/out/service/skills-service.d.ts
@@ -0,0 +1,42 @@
+import { SkillsAgent, SkillsLocationOptions, SkillsScope } from './skills-agents';
+import { SkillsDownloader } from './skills-download';
+import { McpChange } from './skills-mcp-config';
+export interface SkillsInstallOptions {
+ scope: SkillsScope;
+ skills?: string[];
+ mcp: boolean;
+ dryRun: boolean;
+}
+export interface SkillsAgentResult {
+ agent: SkillsAgent;
+ scope: SkillsScope;
+ skillsPath: string;
+ skills: string[];
+ keptSkills?: string[];
+ files?: string[];
+ mcp?: McpChange[];
+ error?: string;
+}
+export interface SkillsAgentStatus {
+ agent: SkillsAgent;
+ scope: SkillsScope;
+ detected: boolean;
+ skills: string[];
+ mcpConfigured: boolean;
+}
+export declare class SkillsService {
+ private readonly downloader;
+ private readonly locations;
+ constructor(downloader: SkillsDownloader, locations?: SkillsLocationOptions);
+ detectAgents(): SkillsAgent[];
+ install(agents: SkillsAgent[], options: SkillsInstallOptions): Promise<SkillsAgentResult[]>;
+ status(): SkillsAgentStatus[];
+ installedAgents(scope: SkillsScope): SkillsAgent[];
+ remove(agents: SkillsAgent[], scope: SkillsScope): SkillsAgentResult[];
+ shouldSuggestInstall(): boolean;
+ private skillsPath;
+ private installAgent;
+ private removeAgent;
+ private attempt;
+}
+//# sourceMappingURL=skills-service.d.ts.map
\ No newline at end of file