/** Node runtime public entrypoint; browser consumers use the protocol barrel. */ export * from "./access-context.js"; export * from "./access-control/provenance-envelope.js"; export * from "./actions.js"; export { type BoundRequestOperationAttempt, BoundRequestOperationError, beginRequestOperationAttempt, beginRequestOperationIssuer, bindRequestOperationProjection, bindRequestOperationResult, bindTaskExtractionContext, checkBoundNotesOperation, commitNotesRequestRestriction, copyRequestOperationResult, getBoundOperationDenialAttempt, getBoundOperationDenialOperation, getRequestOperationIssuer, isMatchingNotesMutationCompletion, isVerifiedOutsideRequestDenial, NOTES_REQUEST_OPERATIONS, type NotesMutationCompletion, type NotesRequestInterpretation, type NotesRequestOperation, normalizeNotesRequestInterpretation, type RequestOperationClassification, type RequestOperationIssuer, readNotesMutationCompletion, readTaskExtractionContext, readTaskExtractionNotesRestriction, readTaskExtractionRequestIntents, readTaskExtractionUserSources, transferBoundOperationDenial, } from "./actions/task-extraction-context.js"; export { actionToTool, buildPlannerToolsFromActions, buildPlannerToolsFromTieredActions, CORE_PLANNER_TERMINALS, createHandleResponseTool, DISCOVER_ACTIONS_NAME, DISCOVER_TOOLS_NAME, HANDLE_RESPONSE_SCHEMA, HANDLE_RESPONSE_TOOL, HANDLE_RESPONSE_TOOL_NAME, isDiscoveryActionName, SHOULD_RESPOND_SCHEMA_DESCRIPTION, } from "./actions/to-tool.js"; export * from "./capabilities/account-selection.js"; export { getApps, getConnectors, getEntry, getEntryByNpmName, getPlugins, indexEntries, type LoadedRegistry, mergeWithRuntime, normalizeConnectorAuth, type RegistryValidationError, } from "./catalog/loader.js"; export { loadRegistry, registerRegistryEntry, } from "./catalog/registry.js"; export { type AccountAuthKind, type AccountConfig, type AppEntry, type AppLaunch, accountConfigSchema, appEntrySchema, appLaunchSchema, type ConfigField, type ConnectorEntry, configFieldSchema, connectorEntrySchema, type PluginEntry, pluginEntrySchema, type RegistryEntry, type RegistryKind, type RegistryRuntimeOverlay, type RegistryView, type RenderHints, type Resources, registryEntrySchema, registryRuntimeOverlaySchema, renderSchema, resourcesSchema, type SecondarySurface, } from "./catalog/schema.js"; export { getClientChatRooms } from "./client-chat-rooms.js"; export * from "./connection.js"; export * from "./connectors/account-manager.js"; export { conversationClientUserMemoryId, type DurableConversationChatMarker, normalizeChatIdempotencyKey, readDurableConversationChatMarker, } from "./conversation-chat-marker.js"; export * from "./database/document-source-segments.js"; export * from "./entities.js"; export { collectKeywordTermMatches, collectPreparedKeywordTermMatches, findKeywordTermMatch, getCatalogValidationKeywordTerms, getValidationKeywordTerms, hasPreparedKeywordTermMatch, normalizeKeywordMatchText, type PreparedKeywordTerm, prepareKeywordTerms, splitKeywordDoc, textIncludesKeywordTerm, } from "./i18n/keyword-matching.js"; export { VALIDATION_KEYWORD_DOCS, VALIDATION_KEYWORD_LOCALES, } from "./i18n/keywords.js"; export * from "./identity-clusters.js"; export * from "./inference-timing.js"; export { type CreateIntegrationSpanOptions, createIntegrationTelemetrySpan, defaultIntegrationSeverityPolicy, type IntegrationBoundary, type IntegrationLogger, type IntegrationObservabilityEvent, type IntegrationOutcome, type IntegrationSeverity, type IntegrationSeverityPolicy, type IntegrationSpanFailureArgs, type IntegrationSpanMeta, type IntegrationSpanSuccessArgs, type IntegrationTelemetrySpan, } from "./integration-observability.js"; export { addLogListener, type ChatInLogParams, type ChatOutLogParams, createLogger, elizaLogger, type LogEntry, type Logger, type LoggerBindings, type LogListener, logChatIn, logChatOut, logger, logPrompt, logResponse, type PromptLogMetadata, type ResponseLogMetadata, RUNTIME_DEBUG_LOG_ENABLED, recentLogs, removeLogListener, } from "./logger.js"; export * from "./media/attachments.js"; export * from "./media/fetch.js"; export * from "./media/image-description-cache.js"; export * from "./media/local-store.js"; export * from "./media/mime.js"; export * from "./media/outbound.js"; export * from "./messaging/interaction-host.js"; export * from "./messaging/interaction-layout.js"; export * from "./messaging/interaction-parse.js"; export * from "./messaging/interaction-profile-catalog.js"; export * from "./messaging/interaction-profiles.js"; export * from "./messaging/interaction-serialize.js"; export * from "./messaging/interaction-sessions.js"; export * from "./messaging/manage-server-authorization.js"; export { fetchWithSsrfGuard, type GuardedFetchOptions, type GuardedFetchResult, type PinnedLookupFetchLike, type PinnedLookupFetchParams, } from "./network/fetch-guard.js"; export { createValidatedLookup, nodeLookupFn, nodePinnedFetch, } from "./network/node-pinned-fetch.js"; export { assertPublicHttpsEndpoint, assertPublicInternetAddress, BLOCKED_PUBLIC_ENDPOINT_DNS_SUFFIXES, isPublicInternetAddress, } from "./network/public-endpoint.js"; export { resolveFallbackOwnerEntityId, resolveOwnerEntityId, } from "./owner-entity.js"; export * from "./plugin.js"; export * from "./protocol.js"; export * from "./provisioning.js"; export * from "./roles.js"; export * from "./runtime.js"; export { actionGateFailure, actionGateNeedsCallerRoles, actionGateRejection, assertActionAllowlistMatchesActions, canActionRun, readActionAllowlist, resolveActionCallerRoles, resolveActionGateFailure, withActionGatePolicy, } from "./runtime/action-gate.js"; export { settleActionHandler } from "./runtime/action-handler-settlement.js"; export { isLocalProvider } from "./runtime/action-model-routing.js"; export { _resetActionRolePolicyCacheForTests, resolveActionRolePolicyRole, warnOnUnmatchedActionRolePolicyKeys, } from "./runtime/action-role-policy.js"; export { getActionRoutingContext, runWithActionRoutingContext, } from "./runtime/action-routing-context.js"; export { COMPLETION_CONTEXT_SCHEMA, COMPLETION_CONTEXT_SELECTION_INSTRUCTIONS, collectCompletionContextSources, completionContextSources, HISTORICAL_EFFECT_TERMINALS, type HistoricalEffectTerminal, parseCompletionContextSelection, referencePlannerQueryTokens, selectCompletionContext, selectHistoricalNavigation, withRequiredCompletionSourceIdentity, } from "./runtime/completion-context.js"; export { computePrefixHashes, hashStableJson, hashString, stableJsonStringify, } from "./runtime/context-hash.js"; export * from "./runtime/execute-planned-tool-call.js"; export * from "./runtime/message-content-segments.js"; export * from "./runtime/message-content-storage.js"; export { copyBoundOperationDenial } from "./runtime/operation-restriction-projection.js"; export { createPreparedModelRequestGuard } from "./runtime/prepared-model-request.js"; export { projectDeferredProviders, providerReviewSources, withProviderReviewSchema, } from "./runtime/provider-context.js"; export * from "./runtime/recent-errors-provider.js"; export * from "./runtime/response-grammar.js"; export * from "./runtime/room-handler-queue.js"; export * from "./runtime/trace-correlation.js"; export * from "./runtime/trajectory-gate.js"; export * from "./runtime/trajectory-provider-attribution.js"; export * from "./runtime/trajectory-recorder.js"; export { withSemanticStageFanOut } from "./runtime/trajectory-semantic-stage-sink.js"; export * from "./runtime/turn-controller.js"; export { type CallModelWithValidationOptions, type CallModelWithValidationResult, callModelWithValidation, DEFAULT_REMOTE_REROLL_BUDGET, getProviderForModelType, type ParseAndValidateResult, parseAndValidate, rerollBudgetCeilingFromSetting, SchemaValidationFailedError, } from "./runtime/validated-model-call.js"; export { flattenRuntimeSettings } from "./runtime-settings.js"; export { findAllMnemonicPhrases, mnemonicValid, } from "./security/bip39-wordlist.js"; export * from "./security/confidential-inference.js"; export { type GuardedStreamOutput, GuardedStreamScanner, type GuardedStreamScannerOptions, } from "./security/guarded-stream.js"; export { hardenIncomingUserMessage, type IncomingMessageSecurityMetadata, messageHasPromptInjectionFlag, registerCoreIncomingMessageSecurityHook, scrubIncomingMessageTextForStorage, unwrapUserMessageText, unwrapUserMessageTextForDetection, } from "./security/incoming-message-security.js"; export { isLoopbackRemoteAddress, isRemoteAddressInCidrList, isTrustedLocalRequest, type LocalRequestTrustPolicy, proxyClientHeaderBlocksLocalTrust, } from "./security/loopback-trust.js"; export { validateMcpServerConfig } from "./security/mcp-server-config.js"; export { buildFailureReplyPrompt, classifyStructuredFailureCause, INSUFFICIENT_CREDITS_REPLY, isAuthError, isInsufficientCreditsError, isInsufficientCreditsMessage, isModelProviderFallbackError, isModelProviderRetryBudgetExhaustedError, isRateLimitError, MODEL_PROVIDER_RETRY_BUDGET_EXHAUSTED, type StructuredFailureCause, stripReasoningBlocks, } from "./security/model-failure.js"; export { cardBrand, detectPii, ibanValid, ipv4Valid, luhnValid, PII_DETECTOR_BY_KIND, PII_DETECTORS, type PiiDetector, type PiiMatch, ssnValid, wifValid, } from "./security/pii-detectors.js"; export { type AliasSubstitutionResult, type AssignClusterInput, assertValidSnapshot, CorpusPseudonymMap, type CorpusPseudonymMapOptions, type PseudonymClusterIdentity, type PseudonymClusterRecord, PseudonymMapIntegrityError, type PseudonymMapSnapshot, } from "./security/pii-pseudonym-map.js"; export { EncryptedCachePseudonymMapStore, type EncryptedCachePseudonymMapStoreOptions, PII_PSEUDONYM_MAP_AAD, PII_PSEUDONYM_MAP_CACHE_KEY, type PseudonymMapStore, PseudonymMapStoreError, } from "./security/pii-pseudonym-map-store.js"; export { collectPiiPromptText, DEFAULT_PSEUDONYM_BLOCKLIST, isPiiPseudonymUnbounded, MAX_PII_PSEUDONYM_KEY_BYTES, MAX_PII_PSEUDONYM_WALK_BYTES, MAX_PII_PSEUDONYM_WALK_DEPTH, MAX_PII_PSEUDONYM_WALK_NODES, PII_PSEUDONYM_UNBOUNDED, PII_SWAP_DISABLED_KINDS_SETTING, PII_SWAP_ENABLED_SETTING, PII_SWAP_EXEMPT_VALUES_SETTING, type PseudonymEntry, PseudonymSession, type PseudonymSessionOptions, parsePiiSwapList, } from "./security/pii-pseudonymizer.js"; export { getScrubMarker, hashScrubContent, isScrubDone, markScrubDone, PII_SCRUB_MARKER_PREFIX, type PiiScrubDoneMarker, type ScrubMarkerCache, scrubMarkerKey, scrubMarkerKeyForContent, } from "./security/pii-scrub-markers.js"; export { assertValidScrubResult, PiiScrubFabricationError, partitionScrubCandidates, type ScrubCandidatePartition, type ScrubEscalationRequest, type ScrubEscalationResult, type ScrubResultAssertionOptions, scrubWithEscalation, type Tier0Span, } from "./security/pii-scrub-seam.js"; export { isProcessingPolicyDenial, PROCESSING_POLICY_DENIED, type ProcessingActionEffect, type ProcessingDecision, type ProcessingDenialReason, type ProcessingModelAttempt, type ProcessingPolicy, ProcessingPolicyDeniedError, type ProcessingRequest, type ProcessingScope, } from "./security/processing-policy.js"; export * from "./security/secret-swap.js"; export { attestAuthenticatedApiDeliveryAudience, attestDeliveryAudienceFromCanonicalRoom, authorizeOwnerExclusiveDisclosure, beginTrustedDeliveryAudienceTurn, disclosureGateFailure, evaluateOwnerExclusiveDisclosure, getTrustedDeliveryAudience, INTERNAL_AGENT_TURN_DISCLOSURE_BASIS, markOwnerExclusiveDisclosureUsed, OWNER_EXCLUSIVE_DISCLOSURE_GATE, OWNER_PRIVATE_DESTINATION_DISCLOSURE_BASIS, type OwnerExclusiveDisclosureBasis, type OwnerExclusiveDisclosureDecision, type OwnerExclusiveDisclosureDenial, ownerExclusiveDisclosureWasUsed, ownerExclusiveSuppressionNote, PRIVACY_DENIED_TEXT, recordOwnerExclusiveSuppression, registerRuntimeManagedInternalActor, renewExpiredTrustedDeliveryAudience, renewTrustedDeliveryAudience, revalidateOwnerExclusiveDisclosure, type TrustedApiPrincipal, type TrustedApiPrincipalRevalidator, type TrustedDeliveryAudience, type TrustedDeliveryAudienceKind, type TrustedDeliveryAudienceProvenance, type TrustedDeliveryAudienceRenewal, trustedDeliveryAudienceCacheKey, trustedDeliveryAudienceIsBoundToRuntime, } from "./security/trusted-delivery-audience.js"; export { buildVoiceGatePrompt, type EnsureAgentVoiceOptions, ensureAgentVoice, } from "./security/voice-gate.js"; export * from "./services/agent-event.js"; export * from "./services/agent-event-bridge.js"; export * from "./services/approval.js"; export * from "./services/channel-topics.js"; export { EmbeddingGenerationService } from "./services/embedding.js"; export * from "./services/hook.js"; export * from "./services/notification.js"; export * from "./services/pairing.js"; export { PiiScrubService } from "./services/pii-scrub.js"; export { TaskService, type TaskServiceClock, type TaskServiceIntervalClock, type TaskServiceTimeoutClock, type TaskServiceTimerHandle, } from "./services/task.js"; export { getTaskSchedulerAdapter, handoffTaskSchedulerAdapter, markTaskSchedulerDirty, registerScheduledProcessTask, registerTaskSchedulerRuntime, startTaskScheduler, stopTaskScheduler, unregisterTaskSchedulerRuntime, } from "./services/task-scheduler.js"; export * from "./settings.js"; export * from "./streaming-context.js"; export { createSharedTodoCutoverSnapshot, MAX_SHARED_TODO_CUTOVER_BYTES, MAX_SHARED_TODO_CUTOVER_COUNT, MAX_SHARED_TODO_CUTOVER_MUTATION_COUNT, parseSharedTodoCutoverSnapshot, SHARED_TODO_CUTOVER_VERSION, SHARED_TODO_MUTATION_OPERATIONS, SHARED_TODO_MUTATION_WIRE_VERSION, SHARED_TODO_STATUSES, type SharedTodoCutoverRecord, type SharedTodoCutoverSnapshot, type SharedTodoMutationCutoverRecord, type SharedTodoMutationOperation, type SharedTodoStatus, TODO_CUTOVER_PROVENANCE_KEY, TodoCutoverContractError, type TodoCutoverJsonValue, } from "./todo-cutover.js"; export * from "./trajectory-context.js"; export * from "./trajectory-utils.js"; export * from "./types/action-reply.js"; export * from "./types/provider-integrations.js"; export * from "./utils.js"; export { readJsonFile, writeJsonAtomic, writeJsonAtomicSync, } from "./utils/atomic-json.js"; export { BatchProcessor, BatchQueue, type BatchQueueOptions, type DrainStats, PriorityQueue, type PriorityQueueOptions, type PriorityQueueStats, type QueuePriority, } from "./utils/batch-queue.js"; export * from "./utils/buffer.js"; export { gateDestructiveConfirmation, isAffirmativeConfirmationReply, requireConfirmation, } from "./utils/confirmation.js"; export { resolveActionContexts, resolveProviderContexts, } from "./utils/context-catalog.js"; export { AVAILABLE_CONTEXTS_STATE_KEY, attachAvailableContexts, CONTEXT_ROUTING_METADATA_KEY, CONTEXT_ROUTING_STATE_KEY, type ContextRoutingDecision, deriveAvailableContexts, getActiveRoutingContexts, getActiveRoutingContextsForTurn, getContextRoutingFromMessage, getContextRoutingFromState, inferContextRoutingFromMessage, inferContextRoutingFromText, mergeContextRouting, parseContextList, parseContextRoutingMetadata, setContextRoutingMetadata, shouldIncludeByContext, } from "./utils/context-routing.js"; export { createHash } from "./utils/crypto-compat.js"; export * from "./utils/environment.js"; export { copy, ensureDir, ensureSymlink, pathExists, readdir, readFile, readJson, remove, rmdir, stat, unlink, writeJson, } from "./utils/filesystem.js"; export * from "./utils/inference-priority-gate.js"; export { extractUserText, getUserMessageText, hasDocumentAugmentationEnvelope, normalizeUserMessageText, stripAugmentationForPersistence, } from "./utils/message-text.js"; export * from "./utils/project-memory-scope.js"; export * from "./utils/state-dir.js"; export { stringToUuid } from "./utils/string-to-uuid.js"; export { isSyntheticConversationArtifactMemory, isSyntheticConversationArtifactText, } from "./utils/synthetic-conversation-artifact.js"; export { isTtsDebugEnabled, ttsDebug, ttsDebugTextPreview, } from "./utils/tts-debug.js";