refactor(agents): trim private export surface (#105631)

This commit is contained in:
Vincent Koc
2026-07-12 21:08:56 +02:00
committed by GitHub
parent 31b9f21a1a
commit e45f2f6ca6
7 changed files with 6 additions and 12 deletions

View File

@@ -2121,7 +2121,6 @@ export const KNIP_UNUSED_EXPORT_BASELINE = [
"src/agents/cli-credentials.ts: readCodexCliCredentials (cliCredentials)",
"src/agents/cli-credentials.ts: resetCliCredentialCachesForTest",
"src/agents/cli-executable-identity.ts: CliExecutableFileIdentity",
"src/agents/cli-execution-auth.ts: CliExecutionAuthProfileSelection",
"src/agents/cli-output.ts: parseCliJson",
"src/agents/cli-output.ts: parseCliJsonl",
"src/agents/cli-output.ts: supportsCliJsonlToolEvents",
@@ -2323,8 +2322,6 @@ export const KNIP_UNUSED_EXPORT_BASELINE = [
"src/agents/live-test-helpers.ts: logLiveProgress",
"src/agents/live-test-helpers.ts: requiresLiveProfileCredential",
"src/agents/live-test-helpers.ts: resolveLiveCredentialPrecedence",
"src/agents/mcp-app-sandbox.ts: MCP_APP_SANDBOX_PORT_OFFSET",
"src/agents/mcp-content.ts: McpAgentContentBlock",
"src/agents/mcp-ui-resource.ts: MCP_APP_RESOURCE_MAX_BYTES",
"src/agents/mcp-ui-resource.ts: MCP_APP_RESOURCE_MIME_TYPE",
"src/agents/mcp-ui-resource.ts: testing",
@@ -2335,7 +2332,6 @@ export const KNIP_UNUSED_EXPORT_BASELINE = [
"src/agents/model-catalog-route.ts: ModelCatalogLogicalIdentity",
"src/agents/model-catalog-route.ts: ModelCatalogLogicalOverrides",
"src/agents/model-catalog-route.ts: ModelCatalogRouteMatcher",
"src/agents/model-catalog-state-cache.ts: CachedAgentModelCatalogSnapshot",
"src/agents/model-catalog-visibility.ts: LogicalModelCatalogEntryState",
"src/agents/model-fallback-observation.ts: resetModelFallbackDecisionLogCoalescingForTest",
"src/agents/model-fallback.ts: FallbackSummaryError",
@@ -2373,7 +2369,6 @@ export const KNIP_UNUSED_EXPORT_BASELINE = [
"src/agents/provider-model-auth-source-plan.ts: ProviderModelAuthReadiness",
"src/agents/provider-model-auth-source-plan.ts: ProviderModelAuthRequiredReason",
"src/agents/provider-model-route-auth.ts: ProviderModelAuthLogicalAttempt",
"src/agents/provider-model-route-auth.ts: ProviderModelAuthSourceDecision",
"src/agents/provider-model-route-auth.ts: ProviderModelRouteAuthAttempt",
"src/agents/provider-request-config.ts: mergeProviderRequestOverrides",
"src/agents/provider-request-config.ts: sanitizeRuntimeProviderRequestOverrides",
@@ -2616,7 +2611,6 @@ export const KNIP_UNUSED_EXPORT_BASELINE = [
"src/agents/tools/web-fetch.ts: WEB_FETCH_SPILL_MAX_CHARS",
"src/agents/tools/web-search.ts: testing",
"src/agents/utility-model.ts: resolveProviderDefaultUtilityModelRef",
"src/agents/utility-model.ts: UtilityModelSetting",
"src/agents/utils/image-resize.ts: formatDimensionNote",
"src/agents/utils/image-resize.ts: resizeImage",
"src/agents/utils/syntax-highlight.ts: HighlightFormatter",