diff --git a/src/acp/client.ts b/src/acp/client.ts index c08b95cdf29..ac59d7ae723 100644 --- a/src/acp/client.ts +++ b/src/acp/client.ts @@ -21,14 +21,6 @@ import { shouldStripProviderAuthEnvVarsForAcpServer, } from "./client-helpers.js"; -export { - buildAcpClientStripKeys, - resolveAcpClientSpawnEnv, - resolveAcpClientSpawnInvocation, - resolvePermissionRequest, - shouldStripProviderAuthEnvVarsForAcpServer, -} from "./client-helpers.js"; - type AcpClientOptions = { cwd?: string; serverCommand?: string; diff --git a/src/agents/codex-native-web-search.ts b/src/agents/codex-native-web-search.ts index 6adf57b1497..148cb5c4122 100644 --- a/src/agents/codex-native-web-search.ts +++ b/src/agents/codex-native-web-search.ts @@ -7,21 +7,12 @@ import { resolveCodexNativeWebSearchConfig } from "./codex-native-web-search.sha import { resolveDefaultModelForAgent } from "./model-selection.js"; export { buildCodexNativeWebSearchTool, - type CodexNativeSearchActivation, - type CodexNativeSearchPayloadPatchResult, - hasAvailableCodexAuth, - hasCodexNativeWebSearchTool, - isCodexNativeSearchEligibleModel, patchCodexNativeWebSearchPayload, resolveCodexNativeSearchActivation, shouldSuppressManagedWebSearchTool, } from "./codex-native-web-search-core.js"; export { - type CodexNativeSearchContextSize, - type CodexNativeSearchMode, - type CodexNativeSearchUserLocation, describeCodexNativeWebSearch, - type ResolvedCodexNativeWebSearchConfig, resolveCodexNativeWebSearchConfig, } from "./codex-native-web-search.shared.js"; diff --git a/src/agents/command/attempt-execution.ts b/src/agents/command/attempt-execution.ts index 95687498e78..e478fe12e78 100644 --- a/src/agents/command/attempt-execution.ts +++ b/src/agents/command/attempt-execution.ts @@ -35,9 +35,7 @@ import { clearCliSessionInStore } from "./session-store.js"; import type { AgentCommandOpts } from "./types.js"; export { - claudeCliSessionTranscriptHasContent, createAcpVisibleTextAccumulator, - resolveFallbackRetryPrompt, sessionFileHasContent, } from "./attempt-execution.helpers.js"; diff --git a/src/auto-reply/reply/commands-core.ts b/src/auto-reply/reply/commands-core.ts index 6a106713104..5508810308b 100644 --- a/src/auto-reply/reply/commands-core.ts +++ b/src/auto-reply/reply/commands-core.ts @@ -1,12 +1,10 @@ import { shouldHandleTextCommands } from "../commands-registry.js"; -import { emitResetCommandHooks } from "./commands-reset-hooks.js"; import { maybeHandleResetCommand } from "./commands-reset.js"; import type { CommandHandler, CommandHandlerResult, HandleCommandsParams, } from "./commands-types.js"; -export { emitResetCommandHooks } from "./commands-reset-hooks.js"; let commandHandlersRuntimePromise: Promise | null = null; diff --git a/src/auto-reply/reply/directive-handling.auth.ts b/src/auto-reply/reply/directive-handling.auth.ts index 51d710ed773..320db4b1c28 100644 --- a/src/auto-reply/reply/directive-handling.auth.ts +++ b/src/auto-reply/reply/directive-handling.auth.ts @@ -218,5 +218,3 @@ export const formatAuthLabel = (auth: { label: string; source: string }) => { } return `${auth.label} (${auth.source})`; }; - -export { resolveProfileOverride } from "./directive-handling.auth-profile.js"; diff --git a/src/auto-reply/types.ts b/src/auto-reply/types.ts index afcd4e8b18b..5aa2119caae 100644 --- a/src/auto-reply/types.ts +++ b/src/auto-reply/types.ts @@ -1,10 +1,8 @@ export type { BlockReplyContext, GetReplyOptions, - ModelSelectedContext, ReplyThreadingPolicy, - SourceReplyDeliveryMode, TypingPolicy, } from "./get-reply-options.types.js"; -export { getReplyPayloadMetadata, setReplyPayloadMetadata } from "./reply-payload.js"; -export type { ReplyPayload, ReplyPayloadMetadata } from "./reply-payload.js"; +export { setReplyPayloadMetadata } from "./reply-payload.js"; +export type { ReplyPayload } from "./reply-payload.js"; diff --git a/src/commands/channels/status.ts b/src/commands/channels/status.ts index 879b1b60f24..bd6ca7d1ada 100644 --- a/src/commands/channels/status.ts +++ b/src/commands/channels/status.ts @@ -23,8 +23,6 @@ import { } from "./shared.js"; import { formatConfigChannelsStatusLines } from "./status-config-format.js"; -export { formatConfigChannelsStatusLines } from "./status-config-format.js"; - export type ChannelsStatusOptions = { json?: boolean; probe?: boolean; diff --git a/src/commands/status-all/format.ts b/src/commands/status-all/format.ts index debe4790586..a13e4615476 100644 --- a/src/commands/status-all/format.ts +++ b/src/commands/status-all/format.ts @@ -10,7 +10,6 @@ import { formatGitInstallLabel, type UpdateCheckResult } from "../../infra/updat import { normalizeOptionalString } from "../../shared/string-coerce.js"; import { formatUpdateOneLiner, resolveUpdateAvailability } from "../status.update.js"; -export { formatDurationPrecise } from "../../infra/format-time/format-duration.ts"; export { formatTimeAgo } from "../../infra/format-time/format-relative.ts"; export type StatusOverviewRow = { diff --git a/src/commands/status.scan.bootstrap-shared.ts b/src/commands/status.scan.bootstrap-shared.ts index 8d09f56317f..cae926589db 100644 --- a/src/commands/status.scan.bootstrap-shared.ts +++ b/src/commands/status.scan.bootstrap-shared.ts @@ -5,7 +5,7 @@ import { createEmptyTaskAuditSummary } from "../tasks/task-registry.audit.shared import { createEmptyTaskRegistrySummary } from "../tasks/task-registry.summary.js"; import { buildTailscaleHttpsUrl, resolveGatewayProbeSnapshot } from "./status.scan.shared.js"; -export function buildColdStartUpdateResult(): UpdateCheckResult { +function buildColdStartUpdateResult(): UpdateCheckResult { return { root: null, installKind: "unknown", @@ -13,7 +13,7 @@ export function buildColdStartUpdateResult(): UpdateCheckResult { }; } -export function buildColdStartAgentLocalStatuses() { +function buildColdStartAgentLocalStatuses() { return { defaultId: "main", agents: [], @@ -43,7 +43,7 @@ export function buildColdStartStatusSummary() { }; } -export function shouldSkipStatusScanNetworkChecks(params: { +function shouldSkipStatusScanNetworkChecks(params: { coldStart: boolean; hasConfiguredChannels: boolean; all?: boolean; diff --git a/src/commands/status.scan.shared.ts b/src/commands/status.scan.shared.ts index 1588e3ffdb3..9846a202b42 100644 --- a/src/commands/status.scan.shared.ts +++ b/src/commands/status.scan.shared.ts @@ -159,7 +159,7 @@ async function applyLocalStatusRpcFallback(params: { }; } -export function hasExplicitMemorySearchConfig(cfg: OpenClawConfig, agentId: string): boolean { +function hasExplicitMemorySearchConfig(cfg: OpenClawConfig, agentId: string): boolean { if ( cfg.agents?.defaults && Object.prototype.hasOwnProperty.call(cfg.agents.defaults, "memorySearch")