diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 1539541..5797833 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -32,6 +32,10 @@ export { loadConfig } from './utils/config.js'; export { SessionStorage } from './session/storage.js'; export type { SessionData, SessionSummary } from './session/types.js'; +// Commands +export { getCommandRegistry, createCommandExecutor } from './commands/index.js'; +export type { Command, CommandInput, CommandExecutionResult } from './commands/index.js'; + const program = new Command(); // MCP 管理器实例