@forge/cli
14.2.015.0.0-next.23
out/service/skills-agents.d.ts+
out/service/skills-agents.d.tsNew file+38
Index: package/out/service/skills-agents.d.ts
===================================================================
--- package/out/service/skills-agents.d.ts
+++ package/out/service/skills-agents.d.ts
@@ -0,0 +1,38 @@
+export declare enum SkillsAgent {
+ CLAUDE_CODE = "claude-code",
+ CURSOR = "cursor",
+ CODEX = "codex",
+ GEMINI = "gemini",
+ COPILOT = "copilot",
+ VSCODE = "vscode"
+}
+export declare const SKILLS_AGENTS: readonly SkillsAgent[];
+export type SkillsScope = 'user' | 'project';
+export declare const SKILLS_SCOPES: readonly SkillsScope[];
+export interface McpConfigFile {
+ path: string;
+ format: 'json' | 'jsonc' | 'toml';
+ serverKey: 'mcpServers' | 'mcp_servers' | 'servers';
+}
+interface AgentScope {
+ skills: string;
+ mcp: McpConfigFile[];
+}
+interface AgentDefinition {
+ displayName: string;
+ configDirectories: string[];
+ user: AgentScope;
+ project: AgentScope;
+}
+export interface SkillsLocationOptions {
+ homeDirectory?: string;
+ projectDirectory?: string;
+}
+export declare const SKILLS_AGENT_REGISTRY: Readonly<Record<SkillsAgent, AgentDefinition>>;
+export declare const agentName: (agent: SkillsAgent) => string;
+export declare function resolveAgentPath(path: string, options?: SkillsLocationOptions): string;
+export declare function parseSkillsAgent(name: string): SkillsAgent;
+export declare function parseSkillsScope(scope: string): SkillsScope;
+export declare function detectAgents(options?: SkillsLocationOptions): SkillsAgent[];
+export {};
+//# sourceMappingURL=skills-agents.d.ts.map
\ No newline at end of file