// Public barrel for the repository-context & workspace-access layer (ADR-0005). The only
// boundary-checked file-read seam is `readWorkspaceFile` (lexical containment + symlink
// realpath gate + size cap + redaction). The Node-backed `nodeWorkspaceFs` adapter is kept on
// the package's internal subpath so the public barrel exposes safe operations and injectable port
// types, not a parallel raw read path.
export { DEFAULT_CONTEXT_REQUEST, DEFAULT_DISCOVERY_OPTIONS, DEFAULT_READ_OPTIONS, SELECTION_REASON_PRIORITY, } from "./types.js";
export { FileTooLargeError, PathDeniedError, PathEscapeError, RepoSearchInvalidQueryError, RepoSearchInvalidRangeError, RepoSearchUnsupportedFileError, WORKSPACE_CODES, WorkspaceError, WorkspaceNotFoundError, WorkspaceReadError, } from "./errors.js";
export {} from "./fs.js";
export { isWithinWorkspace, resolveWithinWorkspace } from "./paths.js";
export { assertContainedRealPath, containedRealPathInfo } from "./realpath.js";
export { compileIgnore, DEFAULT_DENY_PATTERNS, isDenied, isIgnored, } from "./ignore.js";
export { detectWorkspace, detectWorkspaceAt } from "./detect.js";
export { discoverFiles, discoverWithStats, readWorkspaceFile, } from "./discovery.js";
export { lexicalRetrievalStrategy } from "./retrieval.js";
export { buildContextPack, buildContextPackFromFiles, } from "./contextPack.js";
export { buildWorkspaceSummary, summarizeForAudit } from "./summary.js";
export { DEFAULT_SEARCH_LIMITS, searchText, findFiles, readExcerpt } from "./repoSearch.js";
export { looksBinary, DEFAULT_BINARY_PROBE } from "./binaryDetect.js";
export { evidenceAtomStableId, connectedContextPackStableId } from "./stableId.js";
export { createDefaultStructuralRegistry, runStructuralAdapters } from "./structuralAdapters.js";
export { testSourcePairingAdapter } from "./testSourcePairing.js";
export { importGraphAdapter } from "./importGraph.js";
export { gitHistoryAdapter } from "./gitHistory.js";
export { KEIKO_WORKSPACE_VERSION } from "./version.js";
export { MAX_EXTRACTED_BYTES, MAX_TOTAL_EXTRACTED_BYTES, SUPPORTED_MIME_LITERALS, SUPPORTED_MIME_PREFIXES, extractDocumentContext, } from "./document-extraction.js";
