import { C as hasSessionAutoModelFallbackProvenance, S as setAgentEffectiveModelPrimary, _ as resolveSessionAgentId, a as resolveAgentEffectiveModelPrimary, b as resolveSubagentModelConfigSelectionResult, c as resolveAgentIdByWorkspacePath, d as resolveAgentModelPrimary, f as resolveAgentSkillsFilter, g as resolveRunModelFallbacksOverride, h as resolveFallbackAgentId, i as markAutoFallbackPrimaryProbe, l as resolveAgentIdsByWorkspacePath, m as resolveEffectiveModelFallbacks, n as entryMatchesAutoFallbackPrimaryProbe, o as resolveAgentExecutionContract, p as resolveAutoFallbackPrimaryProbe, r as hasConfiguredModelFallbacks, s as resolveAgentExplicitModelPrimary, t as clearAutoFallbackPrimaryProbeSelection, u as resolveAgentModelFallbacksOverride, v as resolveSessionAgentIds, x as resolveSubagentModelFallbacksOverride, y as resolveSubagentModelConfigSelection } from "../agent-scope-CZ-IyS6E.js";
import { d as resolveAgentIdFromSessionKey } from "../session-key-CJf5_zWs.js";
import { a as resolveAgentDir, c as resolveDefaultAgentId, i as resolveAgentContextLimits, n as listAgentIds, o as resolveAgentWorkspaceDir, r as resolveAgentConfig, s as resolveDefaultAgentDir, t as listAgentEntries } from "../agent-scope-config-CT5O0iC8.js";
import { n as resolveProviderAuthAliasMap, r as resolveProviderIdForAuth, t as resetProviderAuthAliasMapCacheForTest } from "../provider-auth-aliases-BSP89id5.js";
import { n as DEFAULT_MODEL, r as DEFAULT_PROVIDER, t as DEFAULT_CONTEXT_TOKENS } from "../defaults-mDjiWzE5.js";
import { i as resolveAuthStorePathForDisplay } from "../path-resolve-C-mvC594.js";
import { n as CLAUDE_CLI_PROFILE_ID, r as CODEX_CLI_PROFILE_ID } from "../constants-CqY2lrrc.js";
import { a as resolveSandboxPath, i as resolveSandboxInputPath, n as assertSandboxPath, o as resolveSandboxedMediaSource, r as resolveAllowedManagedMediaPath, t as assertMediaNotDataUrl } from "../sandbox-paths-DLLcwa89.js";
import { m as resolveProviderDiscoveryProviderIdsForCatalogScope, p as resolveModelCatalogScope } from "../provider-hook-runtime-DepqrapX.js";
import { a as findPersistedAuthProfileCredential, c as loadAuthProfileStoreForRuntime, d as replaceRuntimeAuthProfileStoreSnapshots, f as resolvePersistedAuthProfileOwnerAgentDir, i as ensureAuthProfileStoreWithoutExternalProfiles, l as loadAuthProfileStoreForSecretsRuntime, n as ensureAuthProfileStore, p as saveAuthProfileStore, s as loadAuthProfileStore, t as clearRuntimeAuthProfileStoreSnapshots, u as loadAuthProfileStoreWithoutExternalProfiles } from "../store-CGdIujI-.js";
import { i as resolveAuthProfileDisplayLabel } from "../auth-profiles-v_WDJq4c.js";
import { i as formatAuthDoctorHint, n as resolveApiKeyForProfile, t as refreshOAuthCredentialForRuntime } from "../oauth-BSrfXVEc.js";
import { n as listProfilesForProvider, t as dedupeProfileIds } from "../profile-list-B4H5-Xd4.js";
import { a as setAuthProfileOrder, n as markAuthProfileSuccess, o as upsertAuthProfile, s as upsertAuthProfileWithLock } from "../profiles-BVK8yux_.js";
import { n as suggestOAuthProfileIdForLegacyDefault, t as repairOAuthProfileIdMismatch } from "../repair-YArefBJU.js";
import { a as isProfileInCooldown, n as getSoonestCooldownExpiry, t as clearExpiredCooldowns } from "../usage-state-BugeHUqr.js";
import { i as resolveAuthProfileOrder, r as resolveAuthProfileEligibility } from "../order-svgiounS.js";
import { a as markAuthProfileFailure, i as markAuthProfileCooldown, n as clearAuthProfileCooldown, o as resolveProfileUnusableUntilForDisplay, r as markAuthProfileBlockedUntil, s as resolveProfilesUnavailableReason, t as calculateAuthProfileCooldownMs } from "../usage-DNZcTrtK.js";
import { S as modelSupportsInput, b as findModelCatalogEntry, c as inferUniqueProviderFromCatalog, d as normalizeModelSelection, g as resolveConfiguredModelRef, h as resolveBareModelDefaultProvider, i as buildModelAliasIndex, l as inferUniqueProviderFromConfiguredModels, n as buildConfiguredAllowlistKeys, r as buildConfiguredModelCatalog, v as resolveHooksGmailModel, x as findModelInCatalog, y as resolveModelRefFromString } from "../model-selection-shared-CZph7bhH.js";
import { a as normalizeModelRef, c as parseModelRef, i as modelKey, n as findNormalizedProviderValue, o as normalizeProviderId, r as legacyModelKey, s as normalizeProviderIdForAuth, t as findNormalizedProviderKey } from "../model-selection-normalize-DknR-OD2.js";
import { _ as resolveOAuthApiKeyMarker, a as OAUTH_API_KEY_MARKER_PREFIX, c as isAwsSdkAuthMarker, d as isOAuthApiKeyMarker, f as isSecretRefHeaderValueMarker, g as resolveNonEnvSecretRefHeaderValueMarker, h as resolveNonEnvSecretRefApiKeyMarker, i as NON_ENV_SECRETREF_MARKER, l as isKnownEnvApiKeyMarker, m as resolveEnvSecretRefHeaderValueMarker, n as GCP_VERTEX_CREDENTIALS_MARKER, o as OLLAMA_LOCAL_AUTH_MARKER, p as listKnownNonSecretApiKeyMarkers, r as MINIMAX_OAUTH_MARKER, s as SECRETREF_ENV_HEADER_MARKER_PREFIX, t as CUSTOM_LOCAL_AUTH_MARKER, u as isNonSecretApiKeyMarker } from "../model-auth-markers-BQLvSDBB.js";
import { n as resolveThinkingDefaultWithRuntimeCatalog, t as resolveThinkingDefault } from "../model-thinking-default-DY8WdrGL.js";
import { t as isCliProvider } from "../model-selection-cli-BveQgheJ.js";
import { a as resolveAllowedModelRef, c as resolvePersistedModelRef, d as resolveReasoningDefault, f as resolveSubagentConfiguredModelSelection, i as normalizeStoredOverrideModel, l as resolvePersistedOverrideModelRef, n as canonicalizeCaseOnlyCatalogModelRef, o as resolveAllowlistModelKey, p as resolveSubagentSpawnModelSelection, r as getModelRefStatus, s as resolveDefaultModelForAgent, t as buildAllowedModelSet, u as resolvePersistedSelectedModelRef } from "../model-selection-CYsOE1AU.js";
import { t as resolveEnvApiKey } from "../model-auth-env-DObwTZex.js";
import { n as requireApiKey, r as resolveAwsSdkEnvVarName, t as formatMissingAuthError } from "../model-auth-runtime-shared-cdTr1v5l.js";
import { a as resetModelCatalogCache, i as modelSupportsVision, n as loadModelCatalog, o as resetModelCatalogCacheForTest, r as modelSupportsDocument, s as setModelCatalogImportForTest, t as loadManifestModelCatalog } from "../model-catalog-w7xOTgbZ.js";
import { a as getCustomProviderApiKey, c as hasSyntheticLocalProviderAuthConfig, d as resolveModelAuthMode, f as resolveUsableCustomProviderApiKey, i as getApiKeyForModel, l as hasUsableCustomProviderApiKey, n as applyLocalNoAuthHeaderOverride, o as hasAvailableAuthForProvider, p as shouldPreferExplicitConfigApiKeyAuth, r as createRuntimeProviderAuthLookup, s as hasRuntimeAvailableProviderAuth, t as applyAuthHeaderOverride, u as resolveApiKeyForProvider } from "../model-auth-CkoQeB6P.js";
import { a as stripDowngradedToolCallText, p as stripModelSpecialTokens, s as stripMinimaxToolCallXml } from "../assistant-visible-text-BqBgxczk.js";
import { C as textResult, S as stringifyToolPayload, _ as readReactionParams, a as emitToolProgress, b as readStringParam, c as imageResultFromFile, d as parseAvailableTags, f as payloadTextResult, g as readPositiveIntegerParam, h as readNumberParam, i as createActionGate, l as jsonResult, m as readNonNegativeIntegerParam, n as ToolInputError, o as failedTextResult, p as readFiniteNumberParam, r as asToolParamsRecord, s as imageResult, t as ToolAuthorizationError, u as normalizeToolModelOverride, v as readStringArrayParam, w as toolProgressResult, x as scheduleToolProgress, y as readStringOrNumberParam } from "../common-DT_6Jmmb.js";
import { a as optionalPositiveIntegerSchema, i as optionalNonNegativeIntegerSchema, n as channelTargetsSchema, o as optionalStringEnum, r as optionalFiniteNumberSchema, s as stringEnum, t as channelTargetSchema } from "../typebox-CwOc3iw_.js";
import { a as resolveIdentityNamePrefix, i as resolveHumanDelayConfig, n as resolveAgentIdentity, o as resolveMessagePrefix, r as resolveEffectiveMessagesConfig, s as resolveResponsePrefix, t as resolveAckReaction } from "../identity-DFnKhLap.js";
import { a as extractThinkingFromTaggedStream, c as inferToolMetaFromArgs, d as splitThinkingTaggedText, f as stripThinkingTagsFromText, i as extractAssistantVisibleText, l as isAssistantMessage, n as extractAssistantText, o as extractThinkingFromTaggedText, r as extractAssistantThinking, s as formatReasoningMessage, t as THINKING_TAG_SCAN_RE, u as promoteThinkingTagsToBlocks } from "../embedded-agent-utils-DIERQKiB.js";
import { A as textToSpeechStream, C as setTtsMaxLength, D as synthesizeSpeech, E as streamSpeech, O as testApi, S as setTtsEnabled, T as setTtsProvider, _ as resolveTtsPrefsPath, a as getTtsMaxLength, b as setSummarizationEnabled, c as isSummarizationEnabled, d as listSpeechVoices, f as listTtsPersonas, g as resolveTtsConfig, h as resolveTtsAutoMode, i as getResolvedSpeechProviderConfig, j as textToSpeechTelephony, k as textToSpeech, l as isTtsEnabled, m as resolveExplicitTtsOverrides, n as buildTtsSystemPromptHint, o as getTtsPersona, p as maybeApplyTtsToPayload, r as getLastTtsAttempt, s as getTtsProvider, u as isTtsProviderConfigured, v as resolveTtsProviderOrder, w as setTtsPersona, x as setTtsAutoMode, y as setLastTtsAttempt } from "../tts-runtime-B4fPIart.js";
import "../tts-C6RHq4xB.js";
import { a as truncateText, i as normalizeWhitespace, n as htmlToMarkdown, r as markdownToText, t as extractBasicHtmlContent } from "../web-fetch-utils-pZDHsjC4.js";
import { a as readResponseText, c as resolveTimeoutSeconds, i as readCache, l as withTimeout, n as DEFAULT_TIMEOUT_SECONDS, o as resolveCacheTtlMs, r as normalizeCacheKey, s as resolvePositiveTimeoutSeconds, t as DEFAULT_CACHE_TTL_MINUTES, u as writeCache } from "../web-shared-BF36JSqC.js";
import { t as EmbeddedBlockChunker } from "../embedded-agent-block-chunker-Da5qZSBM.js";
import { a as resolveUserTimezone, i as resolveUserTimeFormat, n as formatUserTime, o as withNormalizedTimestamp, r as normalizeTimestamp, t as formatDateStamp } from "../date-time-BdpeJWA0.js";
import { n as resolveCronStyleNow, t as appendCronStyleCurrentTimeLine } from "../current-time-BFWNZ5AJ.js";
import { t as resolveNodmixAgentDir } from "../agent-dir-compat-DmSYtUQ6.js";
import { n as resolvePublicAgentAvatarSource, t as resolveAgentAvatar } from "../identity-avatar-BLVsM2An.js";
import { i as resolveSimpleCompletionSelectionForAgent, n as prepareSimpleCompletionModel, r as prepareSimpleCompletionModelForAgent, t as completeWithPreparedSimpleCompletionModel } from "../simple-completion-runtime-QPoCZyBD.js";
import { i as withTrustedWebToolsEndpoint, n as withSelfHostedWebToolsEndpoint, r as withStrictWebToolsEndpoint, t as fetchWithWebToolsNetworkGuard } from "../web-guarded-fetch-Dn9df4aF.js";
import { n as agentCommandFromIngress, r as testing, t as agentCommand } from "../agent-command-CzHxPWfR.js";
//#region src/tools/availability.ts
function isRecord(value) {
	return !!value && typeof value === "object" && !Array.isArray(value);
}
function resolveConfigPath(config, path) {
	let current = config;
	for (const segment of path) {
		if (!isRecord(current)) return;
		current = current[segment];
	}
	return current;
}
function hasConfiguredValue(params) {
	const { value, signal } = params;
	if (value === void 0 || value === null) return false;
	if ((signal.check ?? "exists") === "available") return params.context.isConfigValueAvailable?.({
		value,
		path: signal.path,
		signal
	}) === true;
	if ((signal.check ?? "exists") === "exists") return true;
	if (typeof value === "string") return value.trim().length > 0;
	if (Array.isArray(value)) return value.length > 0;
	if (typeof value === "object") return Object.keys(value).length > 0;
	return true;
}
function hasAvailabilityExpressionShape(value) {
	return "kind" in value || "allOf" in value || "anyOf" in value;
}
function diagnostic(reason, signal, message) {
	return {
		reason,
		signal,
		message
	};
}
function evaluateSignal(signal, context) {
	switch (signal.kind) {
		case "always": return null;
		case "auth": return context.authProviderIds?.has(signal.providerId) ? null : diagnostic("auth-missing", signal, `Missing auth provider: ${signal.providerId}`);
		case "config": return hasConfiguredValue({
			value: resolveConfigPath(context.config, signal.path),
			signal,
			context
		}) ? null : diagnostic("config-missing", signal, `Missing config path: ${signal.path.join(".")}`);
		case "env": return context.env?.[signal.name]?.trim() ? null : diagnostic("env-missing", signal, `Missing environment value: ${signal.name}`);
		case "plugin-enabled": return context.enabledPluginIds?.has(signal.pluginId) ? null : diagnostic("plugin-disabled", signal, `Plugin is not enabled: ${signal.pluginId}`);
		case "context": {
			const value = context.values?.[signal.key];
			if (!("equals" in signal)) return value === void 0 ? diagnostic("context-mismatch", signal, `Missing context value: ${signal.key}`) : null;
			return value === signal.equals ? null : diagnostic("context-mismatch", signal, `Context value did not match: ${signal.key}`);
		}
		default: return diagnostic("unsupported-signal", signal, "Unsupported availability signal");
	}
}
function evaluateExpression(expression, context) {
	if ("kind" in expression) {
		const diagnostic = evaluateSignal(expression, context);
		return diagnostic ? [diagnostic] : [];
	}
	if ("allOf" in expression) {
		if (expression.allOf.length === 0) return [{
			reason: "unsupported-signal",
			message: "Empty availability allOf group"
		}];
		return expression.allOf.flatMap((entry) => evaluateExpression(entry, context));
	}
	if ("anyOf" in expression) {
		if (expression.anyOf.length === 0) return [{
			reason: "unsupported-signal",
			message: "Empty availability anyOf group"
		}];
		const diagnostics = expression.anyOf.map((entry) => evaluateExpression(entry, context));
		return diagnostics.some((entries) => entries.length === 0) ? [] : diagnostics.flat();
	}
	return [{
		reason: "unsupported-signal",
		message: "Unsupported availability expression"
	}];
}
function evaluateToolAvailability(params) {
	const context = params.context ?? {};
	const availability = params.descriptor.availability ?? { kind: "always" };
	if (!hasAvailabilityExpressionShape(availability)) return [{
		reason: "unsupported-signal",
		message: "Unsupported availability expression"
	}];
	return evaluateExpression(availability, context);
}
//#endregion
//#region src/tools/descriptors.ts
function defineToolDescriptor(descriptor) {
	return descriptor;
}
function defineToolDescriptors(descriptors) {
	return descriptors;
}
//#endregion
//#region src/tools/diagnostics.ts
var ToolPlanContractError = class extends Error {
	constructor(params) {
		super(params.message);
		this.name = "ToolPlanContractError";
		this.code = params.code;
		this.toolName = params.toolName;
	}
};
//#endregion
//#region src/tools/execution.ts
function formatToolExecutorRef(ref) {
	switch (ref.kind) {
		case "core": return `core:${ref.executorId}`;
		case "plugin": return `plugin:${ref.pluginId}:${ref.toolName}`;
		case "channel": return `channel:${ref.channelId}:${ref.actionId}`;
		case "mcp": return `mcp:${ref.serverId}:${ref.toolName}`;
		default: return ref;
	}
}
//#endregion
//#region src/tools/planner.ts
function compareDescriptors(left, right) {
	return (left.sortKey ?? left.name).localeCompare(right.sortKey ?? right.name) || left.name.localeCompare(right.name);
}
function assertUniqueNames(descriptors) {
	const seen = /* @__PURE__ */ new Set();
	for (const descriptor of descriptors) {
		if (seen.has(descriptor.name)) throw new ToolPlanContractError({
			code: "duplicate-tool-name",
			toolName: descriptor.name,
			message: `Duplicate tool descriptor name: ${descriptor.name}`
		});
		seen.add(descriptor.name);
	}
}
function buildToolPlan(options) {
	const descriptors = options.descriptors.toSorted(compareDescriptors);
	assertUniqueNames(descriptors);
	const visible = [];
	const hidden = [];
	for (const descriptor of descriptors) {
		const diagnostics = [...evaluateToolAvailability({
			descriptor,
			context: options.availability
		})];
		if (diagnostics.length > 0) {
			hidden.push({
				descriptor,
				diagnostics
			});
			continue;
		}
		if (!descriptor.executor) throw new ToolPlanContractError({
			code: "missing-executor",
			toolName: descriptor.name,
			message: `Visible tool descriptor has no executor ref: ${descriptor.name}`
		});
		visible.push({
			descriptor,
			executor: descriptor.executor
		});
	}
	return {
		visible,
		hidden
	};
}
//#endregion
//#region src/tools/protocol.ts
function toToolProtocolDescriptor(entry) {
	return {
		name: entry.descriptor.name,
		description: entry.descriptor.description,
		inputSchema: entry.descriptor.inputSchema
	};
}
function toToolProtocolDescriptors(entries) {
	return entries.map(toToolProtocolDescriptor);
}
//#endregion
export { CLAUDE_CLI_PROFILE_ID, CODEX_CLI_PROFILE_ID, CUSTOM_LOCAL_AUTH_MARKER, DEFAULT_CACHE_TTL_MINUTES, DEFAULT_CONTEXT_TOKENS, DEFAULT_MODEL, DEFAULT_PROVIDER, DEFAULT_TIMEOUT_SECONDS, EmbeddedBlockChunker, GCP_VERTEX_CREDENTIALS_MARKER, MINIMAX_OAUTH_MARKER, NON_ENV_SECRETREF_MARKER, OAUTH_API_KEY_MARKER_PREFIX, OLLAMA_LOCAL_AUTH_MARKER, SECRETREF_ENV_HEADER_MARKER_PREFIX, THINKING_TAG_SCAN_RE, ToolAuthorizationError, ToolInputError, ToolPlanContractError, setModelCatalogImportForTest as __setModelCatalogImportForTest, setModelCatalogImportForTest, testing as __testing, testing, testApi as _test, testApi, agentCommand, agentCommandFromIngress, appendCronStyleCurrentTimeLine, applyAuthHeaderOverride, applyLocalNoAuthHeaderOverride, asToolParamsRecord, assertMediaNotDataUrl, assertSandboxPath, buildAllowedModelSet, buildConfiguredAllowlistKeys, buildConfiguredModelCatalog, buildModelAliasIndex, buildToolPlan, buildTtsSystemPromptHint, calculateAuthProfileCooldownMs, canonicalizeCaseOnlyCatalogModelRef, channelTargetSchema, channelTargetsSchema, clearAuthProfileCooldown, clearAutoFallbackPrimaryProbeSelection, clearExpiredCooldowns, clearRuntimeAuthProfileStoreSnapshots, completeWithPreparedSimpleCompletionModel, createActionGate, createRuntimeProviderAuthLookup, dedupeProfileIds, defineToolDescriptor, defineToolDescriptors, emitToolProgress, ensureAuthProfileStore, ensureAuthProfileStoreWithoutExternalProfiles, entryMatchesAutoFallbackPrimaryProbe, evaluateToolAvailability, extractAssistantText, extractAssistantThinking, extractAssistantVisibleText, extractBasicHtmlContent, extractThinkingFromTaggedStream, extractThinkingFromTaggedText, failedTextResult, fetchWithWebToolsNetworkGuard, findModelCatalogEntry, findModelInCatalog, findNormalizedProviderKey, findNormalizedProviderValue, findPersistedAuthProfileCredential, formatAuthDoctorHint, formatDateStamp, formatMissingAuthError, formatReasoningMessage, formatToolExecutorRef, formatUserTime, getApiKeyForModel, getCustomProviderApiKey, getLastTtsAttempt, getModelRefStatus, getResolvedSpeechProviderConfig, getSoonestCooldownExpiry, getTtsMaxLength, getTtsPersona, getTtsProvider, hasAvailableAuthForProvider, hasConfiguredModelFallbacks, hasRuntimeAvailableProviderAuth, hasSessionAutoModelFallbackProvenance, hasSyntheticLocalProviderAuthConfig, hasUsableCustomProviderApiKey, htmlToMarkdown, imageResult, imageResultFromFile, inferToolMetaFromArgs, inferUniqueProviderFromCatalog, inferUniqueProviderFromConfiguredModels, isAssistantMessage, isAwsSdkAuthMarker, isCliProvider, isKnownEnvApiKeyMarker, isNonSecretApiKeyMarker, isOAuthApiKeyMarker, isProfileInCooldown, isSecretRefHeaderValueMarker, isSummarizationEnabled, isTtsEnabled, isTtsProviderConfigured, jsonResult, legacyModelKey, listAgentEntries, listAgentIds, listKnownNonSecretApiKeyMarkers, listProfilesForProvider, listSpeechVoices, listTtsPersonas, loadAuthProfileStore, loadAuthProfileStoreForRuntime, loadAuthProfileStoreForSecretsRuntime, loadAuthProfileStoreWithoutExternalProfiles, loadManifestModelCatalog, loadModelCatalog, markAuthProfileBlockedUntil, markAuthProfileCooldown, markAuthProfileFailure, markAuthProfileSuccess, markAutoFallbackPrimaryProbe, markdownToText, maybeApplyTtsToPayload, modelKey, modelSupportsDocument, modelSupportsInput, modelSupportsVision, normalizeCacheKey, normalizeModelRef, normalizeModelSelection, normalizeProviderId, normalizeProviderIdForAuth, normalizeStoredOverrideModel, normalizeTimestamp, normalizeToolModelOverride, normalizeWhitespace, optionalFiniteNumberSchema, optionalNonNegativeIntegerSchema, optionalPositiveIntegerSchema, optionalStringEnum, parseAvailableTags, parseModelRef, payloadTextResult, prepareSimpleCompletionModel, prepareSimpleCompletionModelForAgent, promoteThinkingTagsToBlocks, readCache, readFiniteNumberParam, readNonNegativeIntegerParam, readNumberParam, readPositiveIntegerParam, readReactionParams, readResponseText, readStringArrayParam, readStringOrNumberParam, readStringParam, refreshOAuthCredentialForRuntime, repairOAuthProfileIdMismatch, replaceRuntimeAuthProfileStoreSnapshots, requireApiKey, resetModelCatalogCache, resetModelCatalogCacheForTest, resetProviderAuthAliasMapCacheForTest, resolveAckReaction, resolveAgentAvatar, resolveAgentConfig, resolveAgentContextLimits, resolveAgentDir, resolveAgentEffectiveModelPrimary, resolveAgentExecutionContract, resolveAgentExplicitModelPrimary, resolveAgentIdByWorkspacePath, resolveAgentIdFromSessionKey, resolveAgentIdentity, resolveAgentIdsByWorkspacePath, resolveAgentModelFallbacksOverride, resolveAgentModelPrimary, resolveAgentSkillsFilter, resolveAgentWorkspaceDir, resolveAllowedManagedMediaPath, resolveAllowedModelRef, resolveAllowlistModelKey, resolveApiKeyForProfile, resolveApiKeyForProvider, resolveAuthProfileDisplayLabel, resolveAuthProfileEligibility, resolveAuthProfileOrder, resolveAuthStorePathForDisplay, resolveAutoFallbackPrimaryProbe, resolveAwsSdkEnvVarName, resolveBareModelDefaultProvider, resolveCacheTtlMs, resolveConfiguredModelRef, resolveCronStyleNow, resolveDefaultAgentDir, resolveDefaultAgentId, resolveDefaultModelForAgent, resolveEffectiveMessagesConfig, resolveEffectiveModelFallbacks, resolveEnvApiKey, resolveEnvSecretRefHeaderValueMarker, resolveExplicitTtsOverrides, resolveFallbackAgentId, resolveHooksGmailModel, resolveHumanDelayConfig, resolveIdentityNamePrefix, resolveMessagePrefix, resolveModelAuthMode, resolveModelCatalogScope, resolveModelRefFromString, resolveNodmixAgentDir, resolveNonEnvSecretRefApiKeyMarker, resolveNonEnvSecretRefHeaderValueMarker, resolveOAuthApiKeyMarker, resolvePersistedAuthProfileOwnerAgentDir, resolvePersistedModelRef, resolvePersistedOverrideModelRef, resolvePersistedSelectedModelRef, resolvePositiveTimeoutSeconds, resolveProfileUnusableUntilForDisplay, resolveProfilesUnavailableReason, resolveProviderAuthAliasMap, resolveProviderDiscoveryProviderIdsForCatalogScope, resolveProviderIdForAuth, resolvePublicAgentAvatarSource, resolveReasoningDefault, resolveResponsePrefix, resolveRunModelFallbacksOverride, resolveSandboxInputPath, resolveSandboxPath, resolveSandboxedMediaSource, resolveSessionAgentId, resolveSessionAgentIds, resolveSimpleCompletionSelectionForAgent, resolveSubagentConfiguredModelSelection, resolveSubagentModelConfigSelection, resolveSubagentModelConfigSelectionResult, resolveSubagentModelFallbacksOverride, resolveSubagentSpawnModelSelection, resolveThinkingDefault, resolveThinkingDefaultWithRuntimeCatalog, resolveTimeoutSeconds, resolveTtsAutoMode, resolveTtsConfig, resolveTtsPrefsPath, resolveTtsProviderOrder, resolveUsableCustomProviderApiKey, resolveUserTimeFormat, resolveUserTimezone, saveAuthProfileStore, scheduleToolProgress, setAgentEffectiveModelPrimary, setAuthProfileOrder, setLastTtsAttempt, setSummarizationEnabled, setTtsAutoMode, setTtsEnabled, setTtsMaxLength, setTtsPersona, setTtsProvider, shouldPreferExplicitConfigApiKeyAuth, splitThinkingTaggedText, streamSpeech, stringEnum, stringifyToolPayload, stripDowngradedToolCallText, stripMinimaxToolCallXml, stripModelSpecialTokens, stripThinkingTagsFromText, suggestOAuthProfileIdForLegacyDefault, synthesizeSpeech, textResult, textToSpeech, textToSpeechStream, textToSpeechTelephony, toToolProtocolDescriptor, toToolProtocolDescriptors, toolProgressResult, truncateText, upsertAuthProfile, upsertAuthProfileWithLock, withNormalizedTimestamp, withSelfHostedWebToolsEndpoint, withStrictWebToolsEndpoint, withTimeout, withTrustedWebToolsEndpoint, writeCache };
