/** * CLI Resource Management Commands * * Implements `bridge resource` subcommands for managing: * - Skills (list, create, edit, delete, enable, disable) * - MCP Servers (list, add, edit, delete, enable, disable) * - Agents (list, create, edit, delete) * - Model Providers (list, set-key, remove-key, models, refresh) */ /** * List all skills */ export declare function skillList(): Promise; /** * Create a new skill */ export declare function skillCreate(name: string, options: { markdown?: string; scope?: string; description?: string; enabled?: boolean; }): Promise; /** * Edit a skill (opens in editor) */ export declare function skillEdit(name: string, options: { scope?: string; }): Promise; /** * Delete a skill */ export declare function skillDelete(name: string, options: { scope?: string; }): Promise; /** * Enable a skill */ export declare function skillEnable(name: string, options: { scope?: string; }): Promise; /** * Disable a skill */ export declare function skillDisable(name: string, options: { scope?: string; }): Promise; /** * List all MCP servers */ export declare function mcpList(): Promise; /** * Add a new MCP server */ export declare function mcpAdd(name: string, options: { transport: 'stdio' | 'sse' | 'http'; command?: string; url?: string; scope?: string; description?: string; enabled?: boolean; }): Promise; /** * Edit an MCP server (opens in editor) */ export declare function mcpEdit(name: string, options: { scope?: string; }): Promise; /** * Delete an MCP server */ export declare function mcpDelete(name: string, options: { scope?: string; }): Promise; /** * Enable an MCP server */ export declare function mcpEnable(name: string, options: { scope?: string; }): Promise; /** * Disable an MCP server */ export declare function mcpDisable(name: string, options: { scope?: string; }): Promise; /** * List all agents */ export declare function agentList(): Promise; /** * Create a new agent */ export declare function agentCreate(name: string, options: { mode?: 'primary' | 'subagent' | 'all'; prompt?: string; scope?: string; description?: string; enabled?: boolean; }): Promise; /** * Edit an agent (opens in editor) */ export declare function agentEdit(name: string, options: { scope?: string; }): Promise; /** * Delete an agent */ export declare function agentDelete(name: string, options: { scope?: string; }): Promise; /** * List all providers */ export declare function modelProviders(): Promise; /** * Set API key for a provider */ export declare function modelSetKey(providerId: string, apiKey: string): Promise; /** * Remove API key for a provider */ export declare function modelRemoveKey(providerId: string): Promise; /** * Show models for a provider or all models */ export declare function modelModels(providerId?: string): Promise; /** * Refresh models cache from OpenCode */ export declare function modelRefresh(): Promise; /** * Login to a provider via OAuth using opencode providers login */ export declare function modelLogin(providerId: string): Promise; /** * Logout from a provider via OAuth using opencode providers logout */ export declare function modelLogout(providerId: string): Promise; //# sourceMappingURL=resources.d.ts.map