From c25faa13b554a64b07990ecf6a1a771a6b3afa2e Mon Sep 17 00:00:00 2001 From: kurihada Date: Fri, 12 Dec 2025 18:29:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(core):=20=E5=AF=BC=E5=87=BA=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E7=B3=BB=E7=BB=9F=E5=87=BD=E6=95=B0=E4=BE=9B=20Server?= =?UTF-8?q?=20=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/index.ts | 4 ++++ 1 file changed, 4 insertions(+) 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 管理器实例