fix(core): 导出命令系统函数供 Server 使用

This commit is contained in:
2025-12-12 18:29:24 +08:00
parent 61735317a0
commit c25faa13b5
+4
View File
@@ -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 管理器实例