"use strict";
/**
 * Auto Yes Manager - Barrel file for auto-yes state and polling modules.
 *
 * Issue #479: Split into auto-yes-state.ts (state management) and
 * auto-yes-poller.ts (polling logic) for SRP compliance.
 *
 * Issue #525: Added composite key helpers and byWorktree helpers.
 *
 * This barrel file re-exports all public APIs to maintain backward compatibility.
 * No `export *` - all exports are explicitly named (Issue #479 constraint).
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.isAnyPollerActiveForWorktree = exports.stopAutoYesPollingByWorktree = exports.getAutoYesPollerWorktreeIds = exports.getAutoYesPollerCompositeKeys = exports.stopAllAutoYesPolling = exports.stopAutoYesPolling = exports.startAutoYesPolling = exports.detectAndRespondToPrompt = exports.processStopConditionDelta = exports.captureAndCleanOutput = exports.validatePollingContext = exports.isPollerActive = exports.getLastServerResponseTimestamp = exports.clearAllPollerStates = exports.getActivePollerCount = exports.THINKING_CHECK_LINE_COUNT = exports.MAX_CONCURRENT_POLLERS = exports.MAX_CONSECUTIVE_ERRORS = exports.MAX_BACKOFF_MS = exports.DUPLICATE_RETRY_EXPIRY_MS = exports.COOLDOWN_INTERVAL_MS = exports.POLLING_INTERVAL_MS = exports.calculateBackoffInterval = exports.deleteAutoYesStateByWorktree = exports.getCompositeKeysByWorktree = exports.filterCompositeKeysByWorktree = exports.getAutoYesStateWorktreeIds = exports.getAutoYesStateCompositeKeys = exports.deleteAutoYesState = exports.checkStopCondition = exports.executeRegexWithTimeout = exports.clearAllAutoYesStates = exports.disableAutoYes = exports.setAutoYesEnabled = exports.getAutoYesState = exports.isAutoYesExpired = exports.extractCliToolId = exports.extractWorktreeId = exports.buildCompositeKey = exports.COMPOSITE_KEY_SEPARATOR = void 0;
var auto_yes_state_1 = require("../auto-yes-state");
// Composite key helpers (Issue #525)
Object.defineProperty(exports, "COMPOSITE_KEY_SEPARATOR", { enumerable: true, get: function () { return auto_yes_state_1.COMPOSITE_KEY_SEPARATOR; } });
Object.defineProperty(exports, "buildCompositeKey", { enumerable: true, get: function () { return auto_yes_state_1.buildCompositeKey; } });
Object.defineProperty(exports, "extractWorktreeId", { enumerable: true, get: function () { return auto_yes_state_1.extractWorktreeId; } });
Object.defineProperty(exports, "extractCliToolId", { enumerable: true, get: function () { return auto_yes_state_1.extractCliToolId; } });
// State management
Object.defineProperty(exports, "isAutoYesExpired", { enumerable: true, get: function () { return auto_yes_state_1.isAutoYesExpired; } });
Object.defineProperty(exports, "getAutoYesState", { enumerable: true, get: function () { return auto_yes_state_1.getAutoYesState; } });
Object.defineProperty(exports, "setAutoYesEnabled", { enumerable: true, get: function () { return auto_yes_state_1.setAutoYesEnabled; } });
Object.defineProperty(exports, "disableAutoYes", { enumerable: true, get: function () { return auto_yes_state_1.disableAutoYes; } });
Object.defineProperty(exports, "clearAllAutoYesStates", { enumerable: true, get: function () { return auto_yes_state_1.clearAllAutoYesStates; } });
Object.defineProperty(exports, "executeRegexWithTimeout", { enumerable: true, get: function () { return auto_yes_state_1.executeRegexWithTimeout; } });
Object.defineProperty(exports, "checkStopCondition", { enumerable: true, get: function () { return auto_yes_state_1.checkStopCondition; } });
Object.defineProperty(exports, "deleteAutoYesState", { enumerable: true, get: function () { return auto_yes_state_1.deleteAutoYesState; } });
Object.defineProperty(exports, "getAutoYesStateCompositeKeys", { enumerable: true, get: function () { return auto_yes_state_1.getAutoYesStateCompositeKeys; } });
Object.defineProperty(exports, "getAutoYesStateWorktreeIds", { enumerable: true, get: function () { return auto_yes_state_1.getAutoYesStateWorktreeIds; } });
// byWorktree helpers (Issue #525)
Object.defineProperty(exports, "filterCompositeKeysByWorktree", { enumerable: true, get: function () { return auto_yes_state_1.filterCompositeKeysByWorktree; } });
Object.defineProperty(exports, "getCompositeKeysByWorktree", { enumerable: true, get: function () { return auto_yes_state_1.getCompositeKeysByWorktree; } });
Object.defineProperty(exports, "deleteAutoYesStateByWorktree", { enumerable: true, get: function () { return auto_yes_state_1.deleteAutoYesStateByWorktree; } });
// Constants
Object.defineProperty(exports, "calculateBackoffInterval", { enumerable: true, get: function () { return auto_yes_state_1.calculateBackoffInterval; } });
Object.defineProperty(exports, "POLLING_INTERVAL_MS", { enumerable: true, get: function () { return auto_yes_state_1.POLLING_INTERVAL_MS; } });
Object.defineProperty(exports, "COOLDOWN_INTERVAL_MS", { enumerable: true, get: function () { return auto_yes_state_1.COOLDOWN_INTERVAL_MS; } });
Object.defineProperty(exports, "DUPLICATE_RETRY_EXPIRY_MS", { enumerable: true, get: function () { return auto_yes_state_1.DUPLICATE_RETRY_EXPIRY_MS; } });
Object.defineProperty(exports, "MAX_BACKOFF_MS", { enumerable: true, get: function () { return auto_yes_state_1.MAX_BACKOFF_MS; } });
Object.defineProperty(exports, "MAX_CONSECUTIVE_ERRORS", { enumerable: true, get: function () { return auto_yes_state_1.MAX_CONSECUTIVE_ERRORS; } });
Object.defineProperty(exports, "MAX_CONCURRENT_POLLERS", { enumerable: true, get: function () { return auto_yes_state_1.MAX_CONCURRENT_POLLERS; } });
Object.defineProperty(exports, "THINKING_CHECK_LINE_COUNT", { enumerable: true, get: function () { return auto_yes_state_1.THINKING_CHECK_LINE_COUNT; } });
var auto_yes_poller_1 = require("../auto-yes-poller");
Object.defineProperty(exports, "getActivePollerCount", { enumerable: true, get: function () { return auto_yes_poller_1.getActivePollerCount; } });
Object.defineProperty(exports, "clearAllPollerStates", { enumerable: true, get: function () { return auto_yes_poller_1.clearAllPollerStates; } });
Object.defineProperty(exports, "getLastServerResponseTimestamp", { enumerable: true, get: function () { return auto_yes_poller_1.getLastServerResponseTimestamp; } });
Object.defineProperty(exports, "isPollerActive", { enumerable: true, get: function () { return auto_yes_poller_1.isPollerActive; } });
Object.defineProperty(exports, "validatePollingContext", { enumerable: true, get: function () { return auto_yes_poller_1.validatePollingContext; } });
Object.defineProperty(exports, "captureAndCleanOutput", { enumerable: true, get: function () { return auto_yes_poller_1.captureAndCleanOutput; } });
Object.defineProperty(exports, "processStopConditionDelta", { enumerable: true, get: function () { return auto_yes_poller_1.processStopConditionDelta; } });
Object.defineProperty(exports, "detectAndRespondToPrompt", { enumerable: true, get: function () { return auto_yes_poller_1.detectAndRespondToPrompt; } });
Object.defineProperty(exports, "startAutoYesPolling", { enumerable: true, get: function () { return auto_yes_poller_1.startAutoYesPolling; } });
Object.defineProperty(exports, "stopAutoYesPolling", { enumerable: true, get: function () { return auto_yes_poller_1.stopAutoYesPolling; } });
Object.defineProperty(exports, "stopAllAutoYesPolling", { enumerable: true, get: function () { return auto_yes_poller_1.stopAllAutoYesPolling; } });
Object.defineProperty(exports, "getAutoYesPollerCompositeKeys", { enumerable: true, get: function () { return auto_yes_poller_1.getAutoYesPollerCompositeKeys; } });
Object.defineProperty(exports, "getAutoYesPollerWorktreeIds", { enumerable: true, get: function () { return auto_yes_poller_1.getAutoYesPollerWorktreeIds; } });
// byWorktree helpers (Issue #525)
Object.defineProperty(exports, "stopAutoYesPollingByWorktree", { enumerable: true, get: function () { return auto_yes_poller_1.stopAutoYesPollingByWorktree; } });
Object.defineProperty(exports, "isAnyPollerActiveForWorktree", { enumerable: true, get: function () { return auto_yes_poller_1.isAnyPollerActiveForWorktree; } });
