erosolar-cli
Version:
Unified AI agent framework for the command line - Multi-provider support with schema-driven tools, code intelligence, and transparent reasoning
49 lines • 1.76 kB
TypeScript
/**
* Plugin System - Root Index
*
* Aggregates all plugin functionality for easy import.
*
* Principal Investigator: Bo Shang
* Framework: erosolar-cli
*/
export { registerToolPlugin, unregisterToolPlugin, listRegisteredToolPlugins, instantiateToolPlugins, type ToolPlugin, type ToolPluginContext, type ToolPluginTarget, } from './tools/index.js';
export { registerDefaultNodeToolPlugins } from './tools/nodeDefaults.js';
export interface LoadedPlugin {
id: string;
name: string;
version: string;
enabled: boolean;
}
/**
* Register a plugin as loaded
*/
export declare function markPluginLoaded(plugin: LoadedPlugin): void;
/**
* Get a loaded plugin by ID
*/
export declare function getLoadedPlugin(id: string): LoadedPlugin | undefined;
/**
* List all loaded plugins
*/
export declare function listLoadedPlugins(): LoadedPlugin[];
/**
* List available plugins (combines loaded + builtin)
*/
export declare function listAvailablePlugins(): string[];
/**
* Get all plugin tool suites
*/
export declare function getAllPluginToolSuites(): LoadedPlugin[];
/**
* Load a plugin by ID
*/
export declare function loadPlugin(id: string): Promise<LoadedPlugin | null>;
/**
* Get plugin IDs from command line flags
*/
export declare function getPluginIdsFromFlags(flags: Record<string, boolean>): string[];
/**
* Builtin plugin identifiers
*/
export declare const BUILTIN_PLUGINS: readonly ["local-filesystem", "local-bash", "local-search", "edit", "glob", "web", "mcp", "code-analysis", "code-quality", "dependency", "development", "enhanced-git", "interaction", "notebook", "planning", "refactoring", "skills", "task-management", "testing", "agent-spawning", "local-repo-checks", "cloud", "email"];
//# sourceMappingURL=index.d.ts.map