import { c as normalizeOptionalString } from "../string-coerce-DW4mBlAt.js";
import { n as stringifyNonErrorCause } from "../error-coercion-CrJRoLe1.js";
import { _ as findStructuredAuthParamRanges, a as toAcpRuntimeError, c as redactSensitiveText, d as HTTP_AUTH_LEGACY_VALUE_WHITESPACE_PATTERN, f as HTTP_AUTH_OPAQUE_CREDENTIAL_PATTERN, g as HTTP_AUTH_SERIALIZED_QUOTE_PATTERN, h as HTTP_AUTH_SCHEME_PATTERN, i as isAcpRuntimeError, l as CREDENTIAL_STYLE_HEADER_REDACT_PATTERN, m as HTTP_AUTH_REQUIRED_VALUE_WHITESPACE_PATTERN, n as AcpRuntimeError, o as withAcpRuntimeErrorBoundary, p as HTTP_AUTH_OPTIONAL_VALUE_WHITESPACE_PATTERN, r as formatAcpErrorChain, s as configureAcpErrorRedactor, t as ACP_ERROR_CODES, u as HTTP_AUTH_HEADER_BOUNDARY_PATTERN, v as redactStructuredAuthHeaders } from "../errors-C7_LR8fF.js";
import { i as readString, n as readNonNegativeInteger, r as readNumber, t as readBool } from "../meta-LZ3bOX3S.js";
import { t as resolveIntegerOption } from "../numeric-options-DkZ44EcT.js";
import { i as asOptionalRecord } from "../record-coerce-DHZ4bFlT.js";
import { n as isRequesterParentOfBackgroundAcpSession, t as isParentOwnedBackgroundAcpSession } from "../session-interaction-mode-OIH_Dwbr.js";
import { t as toAcpSessionLineageMeta } from "../session-lineage-meta-B-F6UsS0.js";
import { n as defaultAcpSessionStore, t as createInMemorySessionStore } from "../session-DijYR-Eq.js";
import { t as normalizeAcpProvenanceMode } from "../types-ykEDTU-3.js";
import { n as toAcpRuntimeErrorText, t as formatAcpRuntimeErrorText } from "../error-text-BWGsAuwp.js";
import { a as identityHasStableSessionId, c as resolveRuntimeHandleIdentifiersFromIdentity, i as identityEquals, l as resolveRuntimeResumeSessionId, n as createIdentityFromHandleEvent, o as isSessionIdentityPending, r as createIdentityFromStatus, s as mergeSessionIdentity, t as createIdentityFromEnsure, u as resolveSessionIdentityFromMeta } from "../session-identity-D29-Iouw.js";
import { i as resolveAcpThreadSessionDetailLines, n as resolveAcpSessionCwd, r as resolveAcpSessionIdentifierLinesFromIdentity, t as ACP_SESSION_IDENTITY_RENDERER_VERSION } from "../session-identifiers-BmbqiGBi.js";
import "../src-B06bzWPe.js";
export { ACP_ERROR_CODES, ACP_SESSION_IDENTITY_RENDERER_VERSION, AcpRuntimeError, CREDENTIAL_STYLE_HEADER_REDACT_PATTERN, HTTP_AUTH_HEADER_BOUNDARY_PATTERN, HTTP_AUTH_LEGACY_VALUE_WHITESPACE_PATTERN, HTTP_AUTH_OPAQUE_CREDENTIAL_PATTERN, HTTP_AUTH_OPTIONAL_VALUE_WHITESPACE_PATTERN, HTTP_AUTH_REQUIRED_VALUE_WHITESPACE_PATTERN, HTTP_AUTH_SCHEME_PATTERN, HTTP_AUTH_SERIALIZED_QUOTE_PATTERN, asOptionalRecord as asRecord, configureAcpErrorRedactor, createIdentityFromEnsure, createIdentityFromHandleEvent, createIdentityFromStatus, createInMemorySessionStore, defaultAcpSessionStore, findStructuredAuthParamRanges, formatAcpErrorChain, formatAcpRuntimeErrorText, identityEquals, identityHasStableSessionId, isAcpRuntimeError, isParentOwnedBackgroundAcpSession, isRequesterParentOfBackgroundAcpSession, isSessionIdentityPending, mergeSessionIdentity, normalizeAcpProvenanceMode, normalizeOptionalString as normalizeText, readBool, readNonNegativeInteger, readNumber, readString, redactSensitiveText, redactStructuredAuthHeaders, resolveAcpSessionCwd, resolveAcpSessionIdentifierLinesFromIdentity, resolveAcpThreadSessionDetailLines, resolveIntegerOption, resolveRuntimeHandleIdentifiersFromIdentity, resolveRuntimeResumeSessionId, resolveSessionIdentityFromMeta, stringifyNonErrorCause, toAcpRuntimeError, toAcpRuntimeErrorText, toAcpSessionLineageMeta, withAcpRuntimeErrorBoundary };
