/**
 * Git 深度集成模块
 *
 * 提供自动提交、智能 commit message 生成、undo 等功能
 * 参考 aider 的实现
 */

// Git 管理器
export {
  GitManager,
  getGitManager,
  initGitManager,
  resetGitManager,
} from './manager.js';

// GitRepo
export { GitRepo } from './repo.js';

// 自动提交
export { AutoCommitManager } from './auto-commit.js';

// 消息生成
export { MessageGenerator } from './message-generator.js';

// Undo 管理
export { UndoManager } from './undo-manager.js';

// 类型导出
export type {
  GitConfig,
  AutoCommitConfig,
  UndoConfig,
  MessageFormatConfig,
  AttributionConfig,
  GitStatus,
  FileChange,
  ChangeStatus,
  CommitInfo,
  DiffResult,
  FileDiff,
  DiffHunk,
  DiffStats,
  UndoEntry,
  UndoResult,
  CommitOptions,
  CommitResult,
  BranchInfo,
  GitEventType,
  GitEvent,
  GitEventListener,
} from './types.js';

export { DEFAULT_GIT_CONFIG } from './types.js';
