// @bun
import {
  addInvokedSkill,
  addSessionCronTask,
  addSlowOperation,
  addToInMemoryErrorLog,
  addToToolDuration,
  addToTotalCostState,
  addToTotalDurationState,
  addToTotalLinesChanged,
  addToTurnClassifierDuration,
  addToTurnHookDuration,
  clearBetaHeaderLatches,
  clearInvokedSkills,
  clearInvokedSkillsForAgent,
  clearRegisteredHooks,
  clearRegisteredPluginHooks,
  clearSystemPromptSectionState,
  consumePostCompaction,
  flushInteractionTime,
  getActiveTimeCounter,
  getAdditionalDirectoriesForClaudeMd,
  getAfkModeHeaderLatched,
  getAgentColorMap,
  getAllowedChannels,
  getAllowedSettingSources,
  getApiKeyFromFd,
  getBudgetContinuationCount,
  getCacheEditingHeaderLatched,
  getCachedClaudeMdContent,
  getChromeFlagOverride,
  getClientType,
  getCodeEditToolDecisionCounter,
  getCommitCounter,
  getCostCounter,
  getCurrentTurnTokenBudget,
  getCwdState,
  getDirectConnectServerUrl,
  getEventLogger,
  getFastModeHeaderLatched,
  getFlagSettingsInline,
  getFlagSettingsPath,
  getHasDevChannels,
  getInitJsonSchema,
  getInitialMainLoopModel,
  getInlinePlugins,
  getInvokedSkills,
  getInvokedSkillsForAgent,
  getIsInteractive,
  getIsNonInteractiveSession,
  getIsRemoteMode,
  getIsScrollDraining,
  getKairosActive,
  getLastAPIRequest,
  getLastAPIRequestMessages,
  getLastApiCompletionTimestamp,
  getLastClassifierRequests,
  getLastEmittedDate,
  getLastInteractionTime,
  getLastMainRequestId,
  getLocCounter,
  getLoggerProvider,
  getMainLoopModelOverride,
  getMainThreadAgentType,
  getMeter,
  getMeterProvider,
  getModelStrings,
  getModelUsage,
  getOauthTokenFromFd,
  getOriginalCwd,
  getParentSessionId,
  getPlanSlugCache,
  getPrCounter,
  getProjectRoot,
  getPromptCache1hAllowlist,
  getPromptCache1hEligible,
  getPromptId,
  getQuestionPreviewFormat,
  getRegisteredHooks,
  getScheduledTasksEnabled,
  getSdkAgentProgressSummariesEnabled,
  getSdkBetas,
  getSessionBypassPermissionsMode,
  getSessionCounter,
  getSessionCreatedTeams,
  getSessionCronTasks,
  getSessionId,
  getSessionIngressToken,
  getSessionProjectDir,
  getSessionSource,
  getSessionTrustAccepted,
  getSlowOperations,
  getStatsStore,
  getStrictToolResultPairing,
  getSystemPromptSectionCache,
  getTeleportedSessionInfo,
  getTokenCounter,
  getTotalAPIDuration,
  getTotalAPIDurationWithoutRetries,
  getTotalCacheCreationInputTokens,
  getTotalCacheReadInputTokens,
  getTotalCostUSD,
  getTotalDuration,
  getTotalInputTokens,
  getTotalLinesAdded,
  getTotalLinesRemoved,
  getTotalOutputTokens,
  getTotalToolDuration,
  getTotalWebSearchRequests,
  getTracerProvider,
  getTurnClassifierCount,
  getTurnClassifierDurationMs,
  getTurnHookCount,
  getTurnHookDurationMs,
  getTurnOutputTokens,
  getTurnToolCount,
  getTurnToolDurationMs,
  getUsageForModel,
  getUseCoworkPlugins,
  getUserMsgOptIn,
  handleAutoModeTransition,
  handlePlanModeTransition,
  hasExitedPlanModeInSession,
  hasShownLspRecommendationThisSession,
  hasUnknownModelCost,
  incrementBudgetContinuationCount,
  init_state,
  isReplBridgeActive,
  isSessionPersistenceDisabled,
  markFirstTeleportMessageLogged,
  markPostCompaction,
  markScrollActivity,
  needsAutoModeExitAttachment,
  needsPlanModeExitAttachment,
  onSessionSwitch,
  preferThirdPartyAuthentication,
  regenerateSessionId,
  registerHookCallbacks,
  removeSessionCronTasks,
  resetCostState,
  resetModelStringsForTestingOnly,
  resetSdkInitState,
  resetStateForTests,
  resetTotalDurationStateAndCost_FOR_TESTS_ONLY,
  resetTurnClassifierDuration,
  resetTurnHookDuration,
  resetTurnToolDuration,
  setAdditionalDirectoriesForClaudeMd,
  setAfkModeHeaderLatched,
  setAllowedChannels,
  setAllowedSettingSources,
  setApiKeyFromFd,
  setCacheEditingHeaderLatched,
  setCachedClaudeMdContent,
  setChromeFlagOverride,
  setClientType,
  setCostStateForRestore,
  setCwdState,
  setDirectConnectServerUrl,
  setEventLogger,
  setFastModeHeaderLatched,
  setFlagSettingsInline,
  setFlagSettingsPath,
  setHasDevChannels,
  setHasExitedPlanMode,
  setHasUnknownModelCost,
  setInitJsonSchema,
  setInitialMainLoopModel,
  setInlinePlugins,
  setIsInteractive,
  setIsRemoteMode,
  setKairosActive,
  setLastAPIRequest,
  setLastAPIRequestMessages,
  setLastApiCompletionTimestamp,
  setLastClassifierRequests,
  setLastEmittedDate,
  setLastMainRequestId,
  setLoggerProvider,
  setLspRecommendationShownThisSession,
  setMainLoopModelOverride,
  setMainThreadAgentType,
  setMeter,
  setMeterProvider,
  setModelStrings,
  setNeedsAutoModeExitAttachment,
  setNeedsPlanModeExitAttachment,
  setOauthTokenFromFd,
  setOriginalCwd,
  setProjectRoot,
  setPromptCache1hAllowlist,
  setPromptCache1hEligible,
  setPromptId,
  setQuestionPreviewFormat,
  setScheduledTasksEnabled,
  setSdkAgentProgressSummariesEnabled,
  setSdkBetas,
  setSessionBypassPermissionsMode,
  setSessionIngressToken,
  setSessionPersistenceDisabled,
  setSessionSource,
  setSessionTrustAccepted,
  setStatsStore,
  setStrictToolResultPairing,
  setSystemPromptSectionCacheEntry,
  setTeleportedSessionInfo,
  setTracerProvider,
  setUseCoworkPlugins,
  setUserMsgOptIn,
  snapshotOutputTokensForTurn,
  switchSession,
  updateLastInteractionTime,
  waitForScrollIdle
} from "./chunk-9h9k5vz3.js";
import"./chunk-xmpgmeb8.js";
import"./chunk-hhsxm2yr.js";
init_state();

export {
  waitForScrollIdle,
  updateLastInteractionTime,
  switchSession,
  snapshotOutputTokensForTurn,
  setUserMsgOptIn,
  setUseCoworkPlugins,
  setTracerProvider,
  setTeleportedSessionInfo,
  setSystemPromptSectionCacheEntry,
  setStrictToolResultPairing,
  setStatsStore,
  setSessionTrustAccepted,
  setSessionSource,
  setSessionPersistenceDisabled,
  setSessionIngressToken,
  setSessionBypassPermissionsMode,
  setSdkBetas,
  setSdkAgentProgressSummariesEnabled,
  setScheduledTasksEnabled,
  setQuestionPreviewFormat,
  setPromptId,
  setPromptCache1hEligible,
  setPromptCache1hAllowlist,
  setProjectRoot,
  setOriginalCwd,
  setOauthTokenFromFd,
  setNeedsPlanModeExitAttachment,
  setNeedsAutoModeExitAttachment,
  setModelStrings,
  setMeterProvider,
  setMeter,
  setMainThreadAgentType,
  setMainLoopModelOverride,
  setLspRecommendationShownThisSession,
  setLoggerProvider,
  setLastMainRequestId,
  setLastEmittedDate,
  setLastClassifierRequests,
  setLastApiCompletionTimestamp,
  setLastAPIRequestMessages,
  setLastAPIRequest,
  setKairosActive,
  setIsRemoteMode,
  setIsInteractive,
  setInlinePlugins,
  setInitialMainLoopModel,
  setInitJsonSchema,
  setHasUnknownModelCost,
  setHasExitedPlanMode,
  setHasDevChannels,
  setFlagSettingsPath,
  setFlagSettingsInline,
  setFastModeHeaderLatched,
  setEventLogger,
  setDirectConnectServerUrl,
  setCwdState,
  setCostStateForRestore,
  setClientType,
  setChromeFlagOverride,
  setCachedClaudeMdContent,
  setCacheEditingHeaderLatched,
  setApiKeyFromFd,
  setAllowedSettingSources,
  setAllowedChannels,
  setAfkModeHeaderLatched,
  setAdditionalDirectoriesForClaudeMd,
  resetTurnToolDuration,
  resetTurnHookDuration,
  resetTurnClassifierDuration,
  resetTotalDurationStateAndCost_FOR_TESTS_ONLY,
  resetStateForTests,
  resetSdkInitState,
  resetModelStringsForTestingOnly,
  resetCostState,
  removeSessionCronTasks,
  registerHookCallbacks,
  regenerateSessionId,
  preferThirdPartyAuthentication,
  onSessionSwitch,
  needsPlanModeExitAttachment,
  needsAutoModeExitAttachment,
  markScrollActivity,
  markPostCompaction,
  markFirstTeleportMessageLogged,
  isSessionPersistenceDisabled,
  isReplBridgeActive,
  incrementBudgetContinuationCount,
  hasUnknownModelCost,
  hasShownLspRecommendationThisSession,
  hasExitedPlanModeInSession,
  handlePlanModeTransition,
  handleAutoModeTransition,
  getUserMsgOptIn,
  getUseCoworkPlugins,
  getUsageForModel,
  getTurnToolDurationMs,
  getTurnToolCount,
  getTurnOutputTokens,
  getTurnHookDurationMs,
  getTurnHookCount,
  getTurnClassifierDurationMs,
  getTurnClassifierCount,
  getTracerProvider,
  getTotalWebSearchRequests,
  getTotalToolDuration,
  getTotalOutputTokens,
  getTotalLinesRemoved,
  getTotalLinesAdded,
  getTotalInputTokens,
  getTotalDuration,
  getTotalCostUSD,
  getTotalCacheReadInputTokens,
  getTotalCacheCreationInputTokens,
  getTotalAPIDurationWithoutRetries,
  getTotalAPIDuration,
  getTokenCounter,
  getTeleportedSessionInfo,
  getSystemPromptSectionCache,
  getStrictToolResultPairing,
  getStatsStore,
  getSlowOperations,
  getSessionTrustAccepted,
  getSessionSource,
  getSessionProjectDir,
  getSessionIngressToken,
  getSessionId,
  getSessionCronTasks,
  getSessionCreatedTeams,
  getSessionCounter,
  getSessionBypassPermissionsMode,
  getSdkBetas,
  getSdkAgentProgressSummariesEnabled,
  getScheduledTasksEnabled,
  getRegisteredHooks,
  getQuestionPreviewFormat,
  getPromptId,
  getPromptCache1hEligible,
  getPromptCache1hAllowlist,
  getProjectRoot,
  getPrCounter,
  getPlanSlugCache,
  getParentSessionId,
  getOriginalCwd,
  getOauthTokenFromFd,
  getModelUsage,
  getModelStrings,
  getMeterProvider,
  getMeter,
  getMainThreadAgentType,
  getMainLoopModelOverride,
  getLoggerProvider,
  getLocCounter,
  getLastMainRequestId,
  getLastInteractionTime,
  getLastEmittedDate,
  getLastClassifierRequests,
  getLastApiCompletionTimestamp,
  getLastAPIRequestMessages,
  getLastAPIRequest,
  getKairosActive,
  getIsScrollDraining,
  getIsRemoteMode,
  getIsNonInteractiveSession,
  getIsInteractive,
  getInvokedSkillsForAgent,
  getInvokedSkills,
  getInlinePlugins,
  getInitialMainLoopModel,
  getInitJsonSchema,
  getHasDevChannels,
  getFlagSettingsPath,
  getFlagSettingsInline,
  getFastModeHeaderLatched,
  getEventLogger,
  getDirectConnectServerUrl,
  getCwdState,
  getCurrentTurnTokenBudget,
  getCostCounter,
  getCommitCounter,
  getCodeEditToolDecisionCounter,
  getClientType,
  getChromeFlagOverride,
  getCachedClaudeMdContent,
  getCacheEditingHeaderLatched,
  getBudgetContinuationCount,
  getApiKeyFromFd,
  getAllowedSettingSources,
  getAllowedChannels,
  getAgentColorMap,
  getAfkModeHeaderLatched,
  getAdditionalDirectoriesForClaudeMd,
  getActiveTimeCounter,
  flushInteractionTime,
  consumePostCompaction,
  clearSystemPromptSectionState,
  clearRegisteredPluginHooks,
  clearRegisteredHooks,
  clearInvokedSkillsForAgent,
  clearInvokedSkills,
  clearBetaHeaderLatches,
  addToTurnHookDuration,
  addToTurnClassifierDuration,
  addToTotalLinesChanged,
  addToTotalDurationState,
  addToTotalCostState,
  addToToolDuration,
  addToInMemoryErrorLog,
  addSlowOperation,
  addSessionCronTask,
  addInvokedSkill
};
