/**
 * Commands 模块
 *
 * 提供 Command 系统的所有功能导出
 */

// 类型
export type {
  Command,
  CommandInput,
  CommandExecutionResult,
  CommandSearchResult,
  CommandFrontmatter,
} from './types.js';

// 加载器
export { CommandLoader, commandLoader } from './loader.js';

// 注册表
export {
  CommandRegistry,
  getCommandRegistry,
  resetCommandRegistry,
} from './registry.js';

// 执行器
export { CommandExecutor, createCommandExecutor } from './executor.js';

// 管理器
export {
  CommandManager,
  createCommandManager,
  type CreateCommandInput,
  type UpdateCommandInput,
  type CommandContent,
  type CommandOperationResult,
} from './manager.js';

// 内置 Commands
export { builtinCommands } from './builtin/index.js';
