/**
 * 核心业务类型定义
 * 前后端共享的实体类型、枚举与常量
 */
// ============ 枚举 / 常量 ============
/** 任务状态 */
export var TaskStatus;
(function (TaskStatus) {
    TaskStatus["TODO"] = "TODO";
    TaskStatus["IN_PROGRESS"] = "IN_PROGRESS";
    TaskStatus["IN_REVIEW"] = "IN_REVIEW";
    TaskStatus["DONE"] = "DONE";
    TaskStatus["CANCELLED"] = "CANCELLED";
})(TaskStatus || (TaskStatus = {}));
/** 工作空间状态 */
export var WorkspaceStatus;
(function (WorkspaceStatus) {
    WorkspaceStatus["ACTIVE"] = "ACTIVE";
    WorkspaceStatus["MERGED"] = "MERGED";
    WorkspaceStatus["ABANDONED"] = "ABANDONED";
    WorkspaceStatus["HIBERNATED"] = "HIBERNATED";
})(WorkspaceStatus || (WorkspaceStatus = {}));
/** AI 代理类型 */
export var AgentType;
(function (AgentType) {
    AgentType["CLAUDE_CODE"] = "CLAUDE_CODE";
    AgentType["GEMINI_CLI"] = "GEMINI_CLI";
    AgentType["CURSOR_AGENT"] = "CURSOR_AGENT";
    AgentType["CODEX"] = "CODEX";
})(AgentType || (AgentType = {}));
/** 会话状态 */
export var SessionStatus;
(function (SessionStatus) {
    SessionStatus["PENDING"] = "PENDING";
    SessionStatus["RUNNING"] = "RUNNING";
    SessionStatus["COMPLETED"] = "COMPLETED";
    SessionStatus["FAILED"] = "FAILED";
    SessionStatus["CANCELLED"] = "CANCELLED";
})(SessionStatus || (SessionStatus = {}));
/** 会话用途 */
export var SessionPurpose;
(function (SessionPurpose) {
    /** 正常用户交互会话 */
    SessionPurpose["CHAT"] = "CHAT";
    /** 内部：生成 commit message */
    SessionPurpose["COMMIT_MSG"] = "COMMIT_MSG";
})(SessionPurpose || (SessionPurpose = {}));
// ============ Git 操作类型 ============
/** 冲突操作类型 */
export var ConflictOp;
(function (ConflictOp) {
    ConflictOp["REBASE"] = "REBASE";
    ConflictOp["MERGE"] = "MERGE";
})(ConflictOp || (ConflictOp = {}));
//# sourceMappingURL=types.js.map