refactor(auto-reply): trim internal export surface (#106409)

* refactor(auto-reply): trim internal export surface

* chore(deadcode): update auto-reply export baseline
This commit is contained in:
Peter Steinberger
2026-07-13 06:17:20 -07:00
committed by GitHub
parent 7cc40d9e46
commit b76a7f453b
28 changed files with 104 additions and 118 deletions
-20
View File
@@ -1254,22 +1254,16 @@ export const KNIP_UNUSED_EXPORT_BASELINE = [
"src/auto-reply/command-detection.runtime-types.ts: IsControlCommandMessage",
"src/auto-reply/command-detection.runtime-types.ts: ShouldComputeCommandAuthorized",
"src/auto-reply/commands-registry.runtime-types.ts: ShouldHandleTextCommands",
"src/auto-reply/reply-payload.ts: buildPairingQrReplyChannelData",
"src/auto-reply/reply/abort.ts: getAbortMemory",
"src/auto-reply/reply/abort.ts: getAbortMemorySizeForTest",
"src/auto-reply/reply/abort.ts: resetAbortMemoryForTest",
"src/auto-reply/reply/abort.ts: testing",
"src/auto-reply/reply/acp-reset-target.ts: testing",
"src/auto-reply/reply/agent-runner-cli-dispatch.ts: ReasoningProgressPayload",
"src/auto-reply/reply/agent-runner-cli-dispatch.ts: ReasoningTextPayload",
"src/auto-reply/reply/agent-runner-execution.ts: AgentRunLoopResult",
"src/auto-reply/reply/agent-runner-execution.ts: buildContextOverflowRecoveryText",
"src/auto-reply/reply/agent-runner-execution.ts: computeContextAwareReserveTokensFloor",
"src/auto-reply/reply/agent-runner-execution.ts: MAX_LIVE_SWITCH_RETRIES",
"src/auto-reply/reply/agent-runner-memory.ts: setAgentRunnerMemoryTestDeps",
"src/auto-reply/reply/agent-runner-session-reset.ts: setAgentRunnerSessionResetTestDeps",
"src/auto-reply/reply/agent-runner-utils.ts: buildEmbeddedRunBaseParams",
"src/auto-reply/reply/agent-runner-utils.ts: resolveProviderScopedAuthProfile",
"src/auto-reply/reply/block-reply-pipeline.ts: createBlockReplyPayloadKey",
"src/auto-reply/reply/commands-diagnostics.ts: createDiagnosticsCommandHandler",
"src/auto-reply/reply/commands-login.ts: testing",
@@ -1277,7 +1271,6 @@ export const KNIP_UNUSED_EXPORT_BASELINE = [
"src/auto-reply/reply/commands-name.ts: parseNameCommand",
"src/auto-reply/reply/commands-setunset.ts: parseSetUnsetCommand",
"src/auto-reply/reply/commands-setunset.ts: parseSetUnsetCommandAction",
"src/auto-reply/reply/commands-subagents/shared.ts: COMMAND",
"src/auto-reply/reply/commands-tasks.ts: buildTasksReply",
"src/auto-reply/reply/completion-delivery-policy.ts: resolveCompletionChatType",
"src/auto-reply/reply/delivery-hints.ts: MESSAGE_TOOL_ONLY_DELIVERY_HINT",
@@ -1286,8 +1279,6 @@ export const KNIP_UNUSED_EXPORT_BASELINE = [
"src/auto-reply/reply/dispatch-from-config.ts: testing",
"src/auto-reply/reply/dispatch-from-config.types.ts: DispatchReplyFromConfig",
"src/auto-reply/reply/dispatcher-registry.ts: clearAllDispatchers",
"src/auto-reply/reply/effective-reply-route.ts: EffectiveReplyRouteContext",
"src/auto-reply/reply/effective-reply-route.ts: EffectiveReplyRouteEntry",
"src/auto-reply/reply/get-reply-directives-apply.ts: formatModelOverrideResetEvent",
"src/auto-reply/reply/get-reply-fast-path.ts: markCompleteReplyConfig",
"src/auto-reply/reply/get-reply-fast-path.ts: withFastReplyConfig",
@@ -1296,23 +1287,15 @@ export const KNIP_UNUSED_EXPORT_BASELINE = [
"src/auto-reply/reply/get-reply-run.ts: resolvePromptSilentReplyConversationType",
"src/auto-reply/reply/history.ts: appendHistoryEntry",
"src/auto-reply/reply/inbound-dedupe.ts: buildInboundDedupeKey",
"src/auto-reply/reply/inbound-dedupe.ts: InboundDedupeClaimResult",
"src/auto-reply/reply/mentions.types.ts: BuildMentionRegexes",
"src/auto-reply/reply/mentions.types.ts: MatchesMentionPatterns",
"src/auto-reply/reply/mentions.types.ts: MatchesMentionWithExplicit",
"src/auto-reply/reply/progress-narrator.ts: createProgressNarrator",
"src/auto-reply/reply/progress-narrator.ts: ProgressNarrationInput",
"src/auto-reply/reply/prompt-prelude.ts: buildReplyPromptBodies",
"src/auto-reply/reply/provider-request-error-classifier.ts: PROVIDER_AUTHENTICATION_ERROR_USER_MESSAGE",
"src/auto-reply/reply/provider-request-error-classifier.ts: PROVIDER_INTERNAL_ERROR_USER_MESSAGE",
"src/auto-reply/reply/provider-request-error-classifier.ts: PROVIDER_MODEL_UNAVAILABLE_USER_MESSAGE",
"src/auto-reply/reply/provider-request-error-classifier.ts: PROVIDER_RATE_LIMIT_OR_QUOTA_ERROR_USER_MESSAGE",
"src/auto-reply/reply/queue.ts: resetRecentQueuedMessageIdDedupe",
"src/auto-reply/reply/queue/cleanup.ts: testing",
"src/auto-reply/reply/queue/drain.ts: resolveFollowupAuthorizationKey",
"src/auto-reply/reply/queue/enqueue.ts: resetRecentQueuedMessageIdDedupe",
"src/auto-reply/reply/reply-dispatcher.runtime-types.ts: CreateReplyDispatcherWithTyping",
"src/auto-reply/reply/reply-operation-run-state.ts: ReplyOptionsWithOperationRunState",
"src/auto-reply/reply/reply-payloads-dedupe.ts: getMatchingMessagingToolReplyTargets",
"src/auto-reply/reply/reply-run-registry.ts: __testing",
"src/auto-reply/reply/reply-run-registry.ts: testing",
@@ -1320,13 +1303,10 @@ export const KNIP_UNUSED_EXPORT_BASELINE = [
"src/auto-reply/reply/reply-threading.ts: resolveConfiguredReplyToMode",
"src/auto-reply/reply/reply-threading.ts: resolveReplyToModeWithThreading",
"src/auto-reply/reply/reply-usage-state.ts: clearReplyUsageStateForTest",
"src/auto-reply/reply/session-fork.ts: ForkSessionEntryFromParentParams",
"src/auto-reply/reply/session-fork.ts: ForkSessionEntryFromParentResult",
"src/auto-reply/reply/session-reset-prompt.ts: buildBareSessionResetPrompt",
"src/auto-reply/reply/stage-sandbox-media.ts: appendScpStderrTail",
"src/auto-reply/reply/stage-sandbox-media.ts: SCP_STDERR_TAIL_CHARS",
"src/auto-reply/reply/stage-sandbox-media.ts: testing",
"src/auto-reply/reply/stranded-reply-recovery.ts: STRANDED_REPLY_RETRY_MARKER",
"src/auto-reply/usage-bar/template.ts: clearUsageBarTemplateCacheForTest",
"src/cli/channel-options.ts: testing",
"src/cli/command-path-policy.ts: resolveCliCatalogCommandPath",