/** * @cortexkit/aft-bridge * * Shared transport, binary resolution, and ONNX runtime helpers for AFT * agent-host plugins. Public surface intentionally narrow — host policies * (config loading, permission UX, tool registration, notifications) stay in * each host plugin. */ export { setActiveLogger } from "./active-logger.js"; export { formatForegroundResult, formatSeconds, isTerminalStatus, sleep, } from "./bash-format.js"; export { commandInvokesCodeSearch, maybeAppendConflictsHint, maybeAppendGrepSearchHint, WATCH_TIMEOUT_STEER, } from "./bash-hints.js"; export { BASH_HOST_FALLBACK_BANNER, BASH_HOST_FALLBACK_MAX_OUTPUT_BYTES, BASH_HOST_FALLBACK_MAX_TIMEOUT_MS, BASH_HOST_FALLBACK_REFUSAL, type BashHostFallbackOptions, type BashHostFallbackResult, bashHostFallbackAskPattern, runBashHostFallback, } from "./bash-host-fallback.js"; export { resolveBashKillTimeout } from "./bash-timeout.js"; export type { BashCompletedPayload, BashLongRunningPayload, BridgeOptions, BridgeRequestOptions, ConfigureDroppedKey, ConfigureWarning, ConfigureWarningsContext, StatusSnapshot, } from "./bridge.js"; export { BinaryBridge, BridgeTransportTimeoutError, BridgeTransportUnavailableError, BridgeTransportUnknownOutcomeError, compareSemver, isBridgeTransportTimeout, tagStderrLine, } from "./bridge.js"; export { getAftBinaryCacheDir, getAftCacheRoot, getAftLspBinariesDir, getAftLspPackagesDir, getOpenCodeCacheRoot, getOpenCodeConfigRoot, type OpenCodePathEnvironment, } from "./cache-paths.js"; export type { CallgraphFormatOptions, CallgraphTheme } from "./callgraph-format.js"; export { formatCallgraphSections, PLAIN_CALLGRAPH_THEME } from "./callgraph-format.js"; export { coerceAliasedStringParam, coerceBoolean, coerceOptionalInt, coerceStringArray, coerceTargetParam, isEmptyParam, } from "./coerce.js"; export { LONG_RUNNING_COMMAND_TIMEOUT_MS, timeoutForCommand } from "./command-timeouts.js"; export { OPENCODE_ONLY_KEYS, PI_ONLY_KEYS, stripHarnessSpecificConfigKeys, } from "./config-keys.js"; export type { ConfigTier } from "./config-tiers.js"; export { formatDroppedKeyWarnings, inlineUserConfigTier, readConfigTiers } from "./config-tiers.js"; export { downloadBinary, ensureBinary, getBinaryName, getCacheDir, getCachedBinaryPath, } from "./downloader.js"; export type { RotatingLogOptions } from "./durable-log.js"; export { DEFAULT_LOG_BYTES, DEFAULT_LOG_GENERATIONS, RotatingLogSink, } from "./durable-log.js"; export type { EditSummaryInput } from "./edit-summary.js"; export { formatEditSummary } from "./edit-summary.js"; export { AftToolError, type AftToolErrorCause, adaptToolError, BASH_TRANSPORT_DISPOSITION, type BashHostFallbackCause, BRIDGE_TRANSPORT_UNKNOWN_OUTCOME_DISPOSITION, classifyBashHostFallbackError, isBashTransportDeadError, toolErrorFromResponse, } from "./error-contract.js"; export { compressionSavingsPercent, formatTokenCount } from "./format.js"; export { stripJsoncSymbols } from "./jsonc.js"; export type { AcquireBridgeDependencies, BridgeLifecycleCensus, BridgeLifecycleCensusOptions, BridgeLifecycleTopology, } from "./location-lifecycle.js"; export { acquireBridge, getBridgeLifecycleTopology, releaseBridge, sampleBridgeLifecycleCensus, } from "./location-lifecycle.js"; export type { Logger, LogMeta } from "./logger.js"; export type { AftConfigFileMigrationOptions, AftConfigFileMigrationResult, MigrationHarness, MigrationOptions, MigrationStatus, } from "./migration.js"; export { ensureStorageMigrated, getMigrationStatus, migrateAftConfigFile, resolveCortexKitStorageRoot, resolveLegacyStorageRoot, } from "./migration.js"; export type { NpmInvocation, ResolvedNpm } from "./npm-resolver.js"; export { isNpmAvailable, NpmTerminationUnknownError, npmInvocation, npmSpawnEnv, probeNpmVersion, resolveNpm, terminateNpmProcessTree, } from "./npm-resolver.js"; export { __test__ as __onnxTest__, cleanupOnnxRuntime, ensureOnnxRuntime, getManualInstallHint, isOrtAutoDownloadSupported, } from "./onnx-runtime.js"; export { InvalidRequestError, isWellFormedUnicodeString, prepareCanonicalEditArguments, prepareCanonicalPathArguments, } from "./path-aliases.js"; export { withPathPrepended } from "./path-env.js"; export type { LegacyAftConfigSource, ResolvedAftConfigPaths } from "./paths.js"; export { decodeFileUrl, markAnnouncementSeen, repairRootScopedStorageFile, resolveCortexKitConfigPaths, resolveCortexKitProjectConfigPath, resolveCortexKitUserConfigPath, resolveHarnessStoragePath, resolveLegacyAftConfigSources, shouldShowAnnouncement, } from "./paths.js"; export { PLATFORM_ARCH_MAP, PLATFORM_ASSET_MAP } from "./platform.js"; export type { BridgeToolCallRuntime, PoolOptions } from "./pool.js"; export { BridgePool, HomeProjectRootError, isHomeDirectoryRoot } from "./pool.js"; export { canonicalizeProjectRoot, projectRootKeyHash } from "./project-identity.js"; export type { AftErrorResponse, AftPushFrame, AftRequestEnvelope, AftResponse, AftSuccessResponse, BashCompletedFrame, BgCompletion, ConfigureWarningFrame, PermissionAskFrame, ProgressFrame, StatusCompression, StatusCompressionAggregate, StatusRemovalHealth, StatusResponse, } from "./protocol.js"; export { findBinary, findBinarySync, isNativeExecutable, platformKey } from "./resolver.js"; export { RevivableTransportPool } from "./revivable-transport.js"; export { resolveAftLogPath, resolveAftStorageRoot, resolveDataHome, resolveStoragePath, type StorageEnvironmentLookup, type StoragePathContext, type StoragePlatform, } from "./storage-paths.js"; export { type BgNudgeRef, resolveBridgeForNudge, SubcTransportPool, type SubcTransportPoolOptions, SubcTransportShuttingDownError, } from "./subc-transport.js"; export type { ReadFooterOptions } from "./tool-format.js"; export { formatBridgeErrorMessage, formatReadFooter } from "./tool-format.js"; export type { AftProjectTransport, AftTransport, AftTransportOptions, AftTransportPool, ToolCallArguments, ToolCallOptions, ToolCallResult, } from "./transport.js"; export { type AftTransportFactoryOptions, createAftTransportPool, } from "./transport-factory.js"; export type { RustZoomBatchEntry, ZoomMultiTargetEntry, ZoomMultiTargetResult, ZoomMultiTargetSymbolResult, ZoomResponseLike, } from "./zoom-format.js"; export { formatZoomMultiTargetResult, formatZoomText, isRustZoomBatchEnvelope, unwrapRustZoomBatchEnvelope, } from "./zoom-format.js"; //# sourceMappingURL=index.d.ts.map