/**
 * @vauban-org/agent-sdk — Public API v0.2.0
 *
 * MAX 8 top-level concepts. See CONTRACT.md for full signatures.
 */
export { Agent, createAgent } from "./orchestration/agent.js";
export type { AgentConfig, AgentRunResult } from "./orchestration/agent.js";
export { createOneShotStrategy, createReactStrategy, createPlanStrategy, createOODAStrategy, createUnconfiguredOODAInvoker, parseReactToolCall, tryParseJsonToolCallFallback, parsePlanFromText, } from "./strategies/index.js";
export type { AgentStrategy, AgentStrategyName, AgentCycleResult, AgentHooks, OODACycleInvoker, StrategyMessage, StrategyToolCall, StrategyLLMResponse, StrategyLLMCompletionFn, StrategyStepEvent, } from "./strategies/index.js";
export type { AgentContext as StrategyAgentContext } from "./strategies/index.js";
export { ConversationContext } from "./conversation/index.js";
export type { Turn, CompactionSummary, CompactionReport, ConversationContextSnapshot, ConversationContextOpts, LLMMessage, CompactionLLMFn, CompactOpts, } from "./conversation/index.js";
export { createBrainCompactionLlmFn, restoreSessionContext, } from "./conversation/index.js";
export { AgentLoop } from "./loop/minimal-loop.js";
export type { AgentLoopRunResult } from "./loop/minimal-loop.js";
export { WorldStateHashTracker, canonicalStateHash, } from "./loop/world-state-hash.js";
export { SdkAgentLoop } from "./loop/sdk-loop.js";
export type { SdkAgentLoopConfig, SdkAgentLoopRunResult, SdkToolRegistry, } from "./loop/sdk-loop.js";
export { ToolRegistryImpl, dangerousToRiskVector, isValidToolName, riskScore, zodToJsonSchema, } from "./tools/index.js";
export type { AgentTool, MCPToolDefinition, RiskVector, ToolError, ToolErrorCode, ToolRegistry, ToolResult, } from "./tools/index.js";
export { AgentRegistry, agentRegistry } from "./registry/agent-registry.js";
export type { AgentDescriptor, AgentHandler, AgentContext, AgentResult, } from "./registry/agent-registry.js";
export { createBudgetState, createCoherenceDetector, compactToolLog, compactToolLogDecay, emergencyContextSummary, } from "./budget/budget-state.js";
export type { AgentBudgetState, CoherenceDetector, LogMessage, DecayCompactionConfig, } from "./budget/budget-state.js";
export { defaultCoherenceModel, updateCoherenceModel, repairCoherenceModel, } from "./budget/coherence-learner.js";
export type { CoherenceModel, CoherenceEpisode, } from "./budget/coherence-learner.js";
export { SemanticCoherenceTracker } from "./budget/semantic-coherence.js";
export type { EmbedFn, SemanticCoherenceConfig, SemanticCoherenceVerdict, } from "./budget/semantic-coherence.js";
export { gistToolResult, compactToolLogGist, } from "./budget/gist-compression.js";
export type { GistLLMFn, GistCompressionConfig, GistedMessage, } from "./budget/gist-compression.js";
export { createProviderRouter, ProviderRouterError, } from "./router/provider-router.js";
export type { ProviderRouter, ProviderRouterRequest, ProviderRouterResponse, } from "./router/provider-router.js";
export { InMemoryApprovalStore } from "./hitl/approval-channel.js";
export type { ApprovalChannel, ApprovalRequest, Approval, ApprovalStore, PendingApproval, } from "./hitl/approval-channel.js";
export type { HITLPort, HITLRequest, HITLState } from "./ports/hitl.js";
export { InvalidStateTransitionError, HITLNotFoundError, validateTransition, runExpireJob, } from "./ports/hitl.js";
export { MemoryHITLStateStore } from "./adapters/hitl/memory-state-store.js";
export { PostgresHITLStateStore } from "./adapters/hitl/postgres-state-store.js";
export { sanitizeExternalInput, keepSafeOnly, DEFAULT_INSTRUCTION_PATTERNS, } from "./safety/sanitize.js";
export type { SanitizedItem } from "./safety/sanitize.js";
export { recordOutcome, getTracer, agentSpan, llmSpan, toolSpan, recordLlmUsage, recordToolResult, } from "./tracking/gen-ai.js";
export { createAgentRunTracker } from "./tracking/agent-run-tracker.js";
export type { AgentRunTracker, AgentRunStartInput, AgentRunFinish, DbClient, } from "./tracking/agent-run-tracker.js";
export { NOOP_TELEMETRY_SINK, TelemetrySinkError, createTelemetryBus, stdoutTelemetrySink, localSqliteTelemetrySink, otlpTelemetrySink, } from "./telemetry/index.js";
export type { TelemetrySink, TelemetryRunStart, TelemetryRunStep, TelemetryRunFinish, TelemetryRunStatus, TelemetryBusOptions, TelemetryCounters, TelemetryLogger, StdoutTelemetrySinkOptions, LocalSqliteTelemetrySinkOptions, OtlpTelemetrySinkOptions, } from "./telemetry/index.js";
export type { AgentRunStepDelta, AgentRunFinalStatus, } from "./tracking/agent-run-tracker.js";
export { createBullMQRunner, BullMQRunner } from "./durable/bullmq-runner.js";
export type { BullMQRunnerConfig, QueueArchetype, DlqJobPayload, } from "./durable/bullmq-runner.js";
export { AGENT_IDS, AGENT_ID_NAMESPACE, getAgentId, agentFromId, } from "./registry/agent-ids.js";
export type { AgentType } from "./registry/agent-ids.js";
export { mapScopesToSdkPermissions, permitsCapability, permitsMcpScopes, } from "./permissions/sdk-permissions.js";
export type { SdkPermissions, SdkCapability, BashMode, FileIOMode, } from "./permissions/sdk-permissions.js";
export { ALLOW_ALL_GATE } from "./permissions/capability-gate.js";
export type { CapabilityGate, CapabilityGateCall, CapabilityGateVerdict, } from "./permissions/capability-gate.js";
export { RenewalManager } from "./permissions/renewal-manager.js";
export type { RenewalManagerOptions, RenewalRequest, RenewedToken, } from "./permissions/renewal-manager.js";
export { scopeToSdkPermissions, capabilityToSdkPermissions, } from "./sdk-permission-mapping.js";
export type { SdkPermissions as MappedSdkPermissions, BashMode as MappedBashMode, FileIoMode, CcScope, } from "./sdk-permission-mapping.js";
export type { ApprovalStatus } from "./hitl/approval-channel.js";
export type { LoggerPort, BrainPort, BrainEntry, BrainEntryInput, BrainQueryFilters, PostmortemInput, LessonInput, OutcomePort, AgentRunRef, DbPort, MessagingChannelPort, AlertLevel, LLMProviderPort, ChatRequest, ChatResponse, ChatMessage, ChatUsage, StreamDelta, PricePort, PriceEntry, WorkflowRuntimePort, WorkflowContext, WorkflowRun, WorkflowHandler, WorkflowStatus, JournalEntry, StepKind, StepStatus, StepOpts, EventFilter, ChildWorkflowOpts, StartWorkflowOpts, ResumeWorkflowOpts, SendSignalOpts, JournalMigrator, MigrationResult, ComplianceContractPort, ComplianceContract, ComplianceRule, ComplianceGate, ComplianceAuditResult, ComplianceViolation, ManifestValidationResult, PolicyConflict, CapabilityInvocation, TenantContext, LegalBasisRef, LegalBasisDecl, LegalBasisDomain, Jurisdiction, DataClass, ComplianceMode, EnforcementLevel, RuleSource, } from "./ports/index.js";
export { noopLogger, InvalidTargetError, BrainUnavailableError, BrainRateLimitError, OutcomeWriteError, LoggerFlushError, DbConnectionLostError, DbQueryTimeoutError, EventPublishError, LLMProviderError, LLMRateLimitError, WorkflowNotFoundError, WorkflowNonDeterminismError, WorkflowSignalTimeoutError, WorkflowLeaseConflictError, WorkflowVersionMismatchError, CompliancePolicyError, ComplianceEvaluationTimeoutError, SUPPORTED_JURISDICTIONS_V0, } from "./ports/index.js";
export type { ManifestRegistryPort, Manifest, RegistrationResult, TenantContextPort, DegradedMetrics, FederationPort, FederationMessage, ContentClaim, FederationMessageHeader, AgentRef, TransportMeta, MessageId as FederationMessageId, ReceiveOpts as FederationReceiveOpts, FederationVerifyResult, DelegationPort, DelegationClaim, CapabilityScope, BastionActionPort, BastionActionContext, BastionTenantId, ClientPolicy, SwapParams, SwapResult, DepositParams, DepositResult, WithdrawParams, WithdrawResult, TransferParams, TransferResult, PolicyValidation, VFinanceActionPort, VFActionContext, MarketSignal, SolvencyClaim, TradeRecord, TradeClaim, StrategyRunInput, StrategyRunClaim, PortfolioId, ProofGrade, CitadelActionPort, CitadelActionContext, AgentTier, TaskStatus, TaskRef, SprintInput, SprintRef, VerificationEvidence, SealedSprintClaim, DecisionInput, DecisionClaim, ObservabilityPort, PrivacyPort, } from "./ports/index.js";
export { ManifestNotFoundError, ManifestSignatureInvalidError, ManifestVersionConflictError, ManifestComplianceConflictError, ManifestValidationError, TenantNotFoundError, DegradedModeExhaustedError, InvalidGlacisAttestationError, FederationSignatureInvalidError, FederationRoutingError, FederationDelegationChainError, DelegationNotNarrowingError, DelegationExpiredError, DelegationRevokedError, DelegationChainTooDeepError, BastionPolicyViolationError, BastionInsufficientFundsError, BastionSlippageExceededError, BastionContractError, BastionTransferUnauthorizedError, VFOracleQuorumError, VFProofGradeMismatchError, VFAnchoringForbiddenError, VFProofGenerationError, CitadelTierViolationError, CitadelTaskRefNotFoundError, CitadelSprintNotActiveError, CitadelInvalidStateTransitionError, NoopObservabilityPort, NoopPrivacyAdapter, PrivacyNoopWarning, } from "./ports/index.js";
export * from "./ports/citadel-campaign.js";
export type { EventBusPort, CloudEvent } from "./ports/event-bus.js";
export { createHttpBrainAdapter } from "./adapters/brain-http.js";
export type { HttpBrainAdapterOptions } from "./adapters/brain-http.js";
export { createCitadelCampaignMcpAdapter } from "./adapters/citadel-campaign-mcp.js";
export type { CitadelCampaignMcpClient } from "./adapters/citadel-campaign-mcp.js";
export { LiteLLMAdapter } from "./adapters/llm/litellm.js";
export type { LiteLLMAdapterConfig } from "./adapters/llm/litellm.js";
export { AnthropicDirectAdapter } from "./adapters/llm/anthropic-direct.js";
export type { AnthropicDirectAdapterConfig } from "./adapters/llm/anthropic-direct.js";
export { CascadeAdapter } from "./adapters/llm/cascade.js";
export type { CascadeAdapterConfig } from "./adapters/llm/cascade.js";
export type { AgentDescriptor as AgentRegistryDescriptor, AgentRegistryPort, } from "./ports/agent-registry.js";
export { MemoryAgentRegistry } from "./adapters/registry/memory.js";
export { PostgresAgentRegistry } from "./adapters/registry/postgres.js";
export { ConsoleChannel } from "./adapters/messaging/console.js";
export type { ConsoleChannelConfig } from "./adapters/messaging/console.js";
export { TelegramChannel, TelegramRateLimitError, } from "./adapters/messaging/telegram.js";
export type { TelegramChannelConfig } from "./adapters/messaging/telegram.js";
export { SlackChannel } from "./adapters/messaging/slack.js";
export type { SlackChannelConfig } from "./adapters/messaging/slack.js";
export { DiscordChannel } from "./adapters/messaging/discord.js";
export type { DiscordChannelConfig } from "./adapters/messaging/discord.js";
export { MCPChannel } from "./adapters/messaging/mcp.js";
export type { MCPChannelConfig, MCPClientLike, } from "./adapters/messaging/mcp.js";
export type { OODAAgentDeps } from "./orchestration/ooda/types.js";
export type { StepEvent } from "./orchestration/ooda/types.js";
export { MissingDependencyError, DepsValidationError, } from "./orchestration/ooda/errors.js";
export { deprecated } from "./deprecation.js";
export type { DeprecationOptions } from "./deprecation.js";
export { tracedPort } from "./tracing/traced-port.js";
export type { TracedPortOptions } from "./tracing/traced-port.js";
export { createAgentFromConfig } from "./factory/agent-factory.js";
export type { AgentFactoryConfig, AgentFactoryDeps, } from "./factory/agent-factory.js";
export { loadAgentContext } from "./boot/load-agent-context.js";
export type { AgentContext as AgentBootContext, LoadAgentContextOptions, } from "./boot/load-agent-context.js";
export { loadRecentMemory } from "./boot/load-recent-memory.js";
export type { LoadRecentMemoryOptions } from "./boot/load-recent-memory.js";
export { buildSkills, buildSkillRegistry, } from "./skills/skill-registry-builder.js";
export type { BuildSkillsOptions, SkillBuilderDeps, SkillRegistryBundle, DomainSkillEntry, } from "./skills/skill-registry-builder.js";
export { BASE_SKILL_NAMES } from "./skills/base-skills.js";
export type { BaseSkillName } from "./skills/base-skills.js";
export { createAgentMetrics } from "./metrics/create-agent-metrics.js";
export type { AgentMetrics, CreateAgentMetricsOptions, } from "./metrics/create-agent-metrics.js";
export { buildOrientPrompt } from "./prompts/build-orient-prompt.js";
export type { BuildOrientPromptOpts } from "./prompts/build-orient-prompt.js";
export { parseStructuredOutput, ParseStructuredOutputError, } from "./llm/parse-structured-output.js";
export type { ParseStructuredOutputOpts } from "./llm/parse-structured-output.js";
export { sendHITLApprovalRequestSlack, buildBlockKit } from "./hitl/slack.js";
export type { SendHITLSlackOpts, SlackApprovalResult } from "./hitl/slack.js";
export { sendHITLApprovalRequestTelegram, buildTelegramText, } from "./hitl/telegram.js";
export type { SendHITLTelegramOpts, TelegramApprovalResult, } from "./hitl/telegram.js";
export { createNodeSlackCallbackHandler } from "./hitl/callback-handlers.js";
export type { HITLHandlerResult, HITLCallbackData } from "./hitl/api.js";
export { SessionEventSchema, makeEvent, looksLikeSessionEvent, LEGACY_TO_CANONICAL, CANONICAL_TO_LEGACY, ALL_KNOWN_EVENT_TYPES, isKnownEventType, normalizeEventType, NOOP_SESSION_SINK, teeSink, InMemoryInstructionInbox, createRemoteControlHub, createRemoteApprovalChannel, createRemoteControlServer, encodePairingPayload, decodePairingPayload, connectRelay, createEd25519Signer, createEd25519Verifier, type SessionEvent, type SessionEventType, type SessionEventSink, type EventNamingMode, type Instruction, type InstructionInbox, type RemoteControlPort, type SessionState, type RemoteApprovalChannel, type RemoteControlServerHandle, type PairingPayload, type RelayConnection, type SignFn, type VerifyFn, } from "./remote/index.js";
export { InMemoryVetoChannel, type VetoChannel, type VetoSignal, } from "./remote/index.js";
export { exportProofClaim, verifyProofClaim, withPaymentReceipt, type ExportProofClaimOptions, type ProofClaim, type ProofClaimVerification, type SettlementReceipt, } from "./remote/index.js";
export { mintSubToken, rebindSubToken, verifySubToken, resolveAuthScope, scopeCovers, type MintSubTokenOptions, type RebindSubTokenOptions, type RebindSubTokenResult, type SubTokenClaims, type SubTokenScope, type VerifySubTokenResult, } from "./remote/index.js";
export { InMemoryPersistencePort, loadHubFromPersistence, tryPersistEvent, type PersistencePort, } from "./remote/index.js";
export { classifyReason, hashJti, mintSubTokenInstrumented, recordRevocation, resolveAuthScopeInstrumented, verifySubTokenInstrumented, } from "./remote/index.js";
export { computeJwkThumbprint, DpopReplayStore, validateDpopProof, type DpopClaims, type DpopValidationFailure, type DpopValidationResult, type EcP256Jwk, type ValidateDpopOptions, type ValidatedDpop, } from "./remote/index.js";
export { createGateway, renderEventForChat, createTelegramAdapter, createDiscordAdapter, createSlackAdapter, type GatewayHandle, type GatewayOptions, type GatewayAdapter, type InboundMessage, } from "./remote/index.js";
export { createSimpleAgent, createComplexAgent, createReasoningAgent, } from "./templates/index.js";
export type { ComplexAgentOptions } from "./templates/complex-agent.js";
export type { EconomyRouterOpts, ProviderTier, CostEntry, } from "./economy/economy-router.js";
export { circuitBreaker, CircuitOpenError, idempotent, hashKey, BoundedTtlCache, bulkhead, BulkheadFullError, } from "./resilience/index.js";
export type { CircuitBreaker, CircuitBreakerOptions, CircuitState, IdempotencyCache, IdempotentOptions, Bulkhead, BulkheadOptions, BulkheadStats, } from "./resilience/index.js";
export { retry, RetryContext, RetryExhaustedError, calculateDelay, shouldRetry, RETRY_TRANSIENT, RETRY_AGGRESSIVE, RETRY_PATIENT, NO_RETRY, } from "./retry/index.js";
export type { RetryConfig, RetryOptions, SleepFn } from "./retry/index.js";
export { InMemorySecretsAccessor, NOOP_SECRETS, SecretNotFoundError, createSkillContext, } from "./orchestration/ooda/skills.js";
export type { SecretsAccessor, ProgressCallback, CreateSkillContextOptions, } from "./orchestration/ooda/skills.js";
export { PROTOCOL_ENV, DEFAULT_PROTOCOL_MODE, ProtocolParseError, buildProtocolEnv, parseProtocolOutput, parseStderrLogs, } from "./container/protocol.js";
export type { ProtocolStatus, ProtocolResult, ExecutionResult, } from "./container/protocol.js";
export { ContainerRuntime } from "./container/runtime.js";
export type { ContainerRuntimeOptions, ContainerExecutionOptions, BinaryExecutionOptions, SandboxExecutor, SandboxJob, SandboxResult, SpawnFn as ContainerSpawnFn, } from "./container/runtime.js";
export * from "./outcomes/index.js";
export { computeQuality, computeQualityOrNull, computeQualityWithBreakdown, isIdleCycle, } from "./quality/index.js";
export type { ProductiveQualityInputs, QualityInputs, QualityBreakdown, QualityContribution, } from "./quality/index.js";
export { buildAlertDigest } from "./alerts/index.js";
export type { AlertItem, AlertDigestOptions } from "./alerts/index.js";
export * from "./runs/index.js";
export { initVaubanSDK, getSDKProvider, getSDKProvider as getSDKConfig, reportRunStart, reportRunFinish, createOtelClient, } from "./otel/ingest.js";
export type { VaubanSDKOptions, IngestSpansResult, OtelClient, } from "./otel/ingest.js";
export type { OtlpSpan, OtlpAttribute, OtlpAttributeValue, } from "./otel/types.js";
export * from "./orchestration/index.js";
export { withStructuredOutput, StructuredOutputError, } from "./orchestration/ooda/structured-output.js";
export type { StructuredOutputOptions, StructuredOutputResult, } from "./orchestration/ooda/structured-output.js";
export { runPreGuards, runPostGuards, guardrailViolationToEvent, PII_GUARD, createMaxInputLengthGuard, } from "./orchestration/ooda/guardrails.js";
export type { GuardrailDef, GuardrailTiming, GuardrailResult, GuardrailViolation, } from "./orchestration/ooda/guardrails.js";
export { handoff, HandoffCycleError, handoffToEvent, asAgentTool, } from "./orchestration/ooda/handoff.js";
export type { HandoffOptions, HandoffResult, AgentHandoffClient, } from "./orchestration/ooda/handoff.js";
export { resolveForPhase, getFallbackChain, } from "./orchestration/ooda/phase-routing.js";
export type { ModelSpec, PhaseModelConfig, } from "./orchestration/ooda/phase-routing.js";
export * from "./skills/index.js";
export * from "./agents/index.js";
export * from "./clients/index.js";
export type { InjectBrainFailureOptions, ExhaustResourcesOptions, } from "./testing/chaos.js";
export { PortError, BrainUnavailable, BrainRateLimit, BrainValidationError, BrainAuthError, DbConnectionLost, DbQueryError, OutcomeAttributionFailed, isPortError, isRetryablePortError, MissingDryRunFlagError, } from "./errors.js";
export { RealClock, RecordedClock, ClockExhaustedError, RealRandom, RecordedRandom, CryptoRandomDuringReplayError, InMemoryLLMResponseCache, hashLLMCacheKey, replayFrom, NonDeterministicReplayError, } from "./replay/index.js";
export type { ClockPort, RandomPort, LLMCacheKey, LLMCacheEntry, LLMResponseCache, ReplayMode, ReplayContext, ReplayResult, ReplayLoader, ReplayRunner, } from "./replay/index.js";
export { TRACE_SCHEMA_VERSION } from "./trace/schema.js";
export type { Trace, TraceStep, SignedReceipt, ReceiptStatus, } from "./trace/schema.js";
export { canonicalize, NonSerializablePayloadError, } from "./trace/canonical.js";
export { defaultPolicy, payloadHash } from "./trace/policy.js";
export type { PayloadPolicy, PIIDetector, PayloadHashResult, } from "./trace/policy.js";
export { STRICT_PII_DETECTOR } from "./trace/strict-pii-detector.js";
export { reconstructInitialMessages, TraceReplayError, } from "./trace/rewind.js";
export type { ReplayMessage, ReconstructOptions } from "./trace/rewind.js";
export { EnvKeyProvider, ExternalKMSKeyProvider, } from "./ports/key-provider.js";
export type { KeyProvider, ExternalKMSKeyProviderOptions, } from "./ports/key-provider.js";
export { sha256, hmacSha256 } from "./proof/sha256.js";
export type { ProofChain, ProofChainEntry, VerifyChainResult, } from "./proof/chain.js";
export { buildChain, computeStepHash, verifyChain, GENESIS_PREV_HASH, } from "./proof/chain.js";
export { NullTimestampPort } from "./ports/timestamp.js";
export type { TimestampPort } from "./ports/timestamp.js";
export { FallbackAdapter, AllAdaptersFailedError, } from "./proof/fallback-adapter.js";
export type { ReceiptQueue, ReceiptQueueEntry } from "./proof/receipt-queue.js";
export { InMemoryReceiptQueue, DEFAULT_BACKOFF_MS, HmacInvalidError, } from "./proof/receipt-queue.js";
export { shouldLearn, extractSkillFromTrace, GOLDEN_FIXTURES, } from "./orchestration/ooda/learn.js";
export type { LearningTrigger, ExtractedSkill, LearnOptions, } from "./orchestration/ooda/learn.js";
export { captureSkillFromCycle } from "./orchestration/ooda/skill-capture.js";
export type { SkillCaptureOptions, CaptureResult, } from "./orchestration/ooda/skill-capture.js";
export { cosineSimilarity, StressLedger, validateGoldenFixtures, GOLDEN_ATTACK_EMBEDDINGS, } from "./safety/immune.js";
export type { ImmuneMemoryEntry, ImmuneMatch } from "./safety/immune.js";
export { exportTrajectory, serializeTrajectory, } from "./outcomes/trajectory.js";
export type { TrajectoryFormat, TrajectoryOptions, TrajectoryStep, TrajectoryExport, } from "./outcomes/trajectory.js";
export { AgentMeter, validateOutcome } from "./outcomes/meter.js";
export type { MeterEntry, MeterBalance, MeterVerifyResult, OutcomeGateResult, OutcomeGateOptions, } from "./outcomes/meter.js";
export { HttpVCR, UndeterministicSideEffectError } from "./replay/http-vcr.js";
export type { VCRMode, VCRCassette, VCRStats } from "./replay/http-vcr.js";
export { withCompute } from "./compute/with-compute.js";
export { BudgetExhaustedError, DeadlineExceededError, InvalidStrategyError, } from "./compute/with-compute.js";
export type { WithComputeOptions, WithComputeResult, } from "./compute/with-compute.js";
export type { ComputeContext, Strategy, StrategyResult, } from "./compute/types.js";
export { singleShotStrategy } from "./compute/strategies/single-shot.js";
export { bestOfNStrategy } from "./compute/strategies/best-of-n.js";
export type { BestOfNRewardModel, BestOfNOptions, } from "./compute/strategies/best-of-n.js";
export { bonMavStrategy } from "./compute/strategies/bon-mav.js";
export type { MAVAggregation, BonMavOptions, } from "./compute/strategies/bon-mav.js";
export { treeOfThoughtsStrategy } from "./compute/strategies/tree-of-thoughts.js";
export type { ToTConfig, ToTSearchPolicy, } from "./compute/strategies/tree-of-thoughts.js";
export { mixtureOfAgentsStrategy } from "./compute/strategies/mixture-of-agents.js";
export type { MoAConfig } from "./compute/strategies/mixture-of-agents.js";
export { estimateDifficulty, extractFeatures, recommendStrategy, } from "./compute/difficulty-estimator.js";
export type { DifficultyClass, TaskFeatures, } from "./compute/difficulty-estimator.js";
export { assertVerifierResult } from "./compute/verifier.js";
export type { Verifier, VerifierResult } from "./compute/verifier.js";
export { runTwoPhaseOrient, TwoPhaseOrientError, } from "./compute/strategies/two-phase-orient.js";
export type { TwoPhaseOrientConfig, TwoPhaseOrientResult, } from "./compute/strategies/two-phase-orient.js";
export { meshDelegate, createMeshDelegate, DelegateAttenuationError, } from "./mesh/delegate.js";
export type { DelegateOptions, DelegateResult, DelegateChunk, } from "./mesh/delegate.js";
export { DefaultMeshDispatcher, MeshDispatchError, DeadlineExceededError as MeshDeadlineExceededError, defaultClassifier as meshDefaultClassifier, } from "./mesh/dispatcher.js";
export type { MeshDispatcher, DispatchIntent, DispatchResult, DispatcherConfig, } from "./mesh/dispatcher.js";
export { attenuateScope, buildToken as buildAttenuatedToken, parseToken as parseAttenuatedToken, scopeAllows, } from "./mesh/attenuation.js";
export type { AttenuatedToken, MeshCapabilityScope, } from "./mesh/attenuation.js";
export type { MeshAgentKind, DelegationLink as MeshDelegationLink, } from "./mesh/types.js";
export { lruPolicy, importanceWeightedPolicy, agentControlledPolicy, } from "./ports/eviction-policy.js";
export type { WorkingMemoryEntry, EvictionPolicy, } from "./ports/eviction-policy.js";
export { AGENT_KINDS } from "./registry/agent-capability.js";
export type { AgentKind, CostTier, LatencyTier, AgentCapabilityCard, } from "./registry/agent-capability.js";
export type { ModelTier, TierPolicy, OutcomeHook, CycleCost, EconomyMode, EconomyRouterConfig, RouteDecision, CircuitBreakerConfig, } from "./economy/index.js";
export { DefaultTierPolicy, lookupTier, OutcomeTracker, EconomyRouter, FleetCircuitBreaker, } from "./economy/index.js";
export { signEvent, canonicalEventString } from "./auth/sign-event.js";
export { verifyEvent } from "./auth/verify-event.js";
export type { VerifyEventOptions } from "./auth/verify-event.js";
export { InMemoryNonceStore, RedisNonceStore } from "./auth/nonce-store.js";
export type { NonceStore, RedisClientLike } from "./auth/nonce-store.js";
export { InvalidSignatureError, ClockSkewError, ReplayDetectedError, UnknownSourceError, } from "./auth/errors.js";
export type { DomainEvent, EventSource, Subscription, } from "./ports/event-bus.js";
export type { AxiomId, GateSeverity, GateViolation, SignalPoint, CycleStep, CycleMetadata, CycleSnapshot, ScoringResult, ScoringFunction, RegisteredScorer, ParentCycleContext, GateResult, SignalBrainPort, AxiomScoreEntry, } from "./constitution/index.js";
export { cycleSnapshotSchema, INSTITUTIONNEL, SOTA, ROBUSTE, ANTI_FRAGILE, PROFITABLE, BUILT_IN_AXIOMS, SECRET_PATTERN, institutionnelScorer, sotaScorer, robusteScorer, antiFragileScorer, profitableScorer, ScorerRegistry, defaultScorerRegistry, HardGate, hardGate, publishSignal, publishAllSignals, } from "./constitution/index.js";
export { EventSchemas, resolveSchema, validateEvent, } from "./events/catalogue.js";
export type { EventType, EventTypeName } from "./events/catalogue.js";
export type { EscalationLevel, AgentAction, AgentDependencies, } from "./types/agent.js";
export { toSdkEscalationLevel } from "./types/escalation-mapping.js";
export type { SdkEscalationLevel } from "./types/escalation-mapping.js";
export { formalVerify, DEFAULT_POLICIES, applyPolicy, AXIOM_SPECS, compileToSmt, } from "./verify/formal/index.js";
export type { ConsumerMode, FormalVerifyResult, FormalVerifyState, AxiomPolicy, AxiomSpec, PolicyAction, PolicyDecision, VerifyContext, OnUnknown, OnUnsafe, Condition, FormalSolver, FormalVerifyDecision, } from "./verify/formal/index.js";
export { DEFAULT_PERSONA, mergePersona, PersonaSchema, validatePersona, } from "./identity/persona-schema.js";
export type { AgentPersona, PersonaTone, PersonaFormality, PersonaExplainReasoning, PersonaAcknowledgmentStyle, } from "./identity/persona-schema.js";
export { PERSONA_BRAIN_CATEGORY, personaTags, savePersonaToBrain, loadPersonaFromBrain, loadPersonaFromFile, savePersonaToFile, resolvePersona, } from "./identity/agent-persona.js";
export type { ResolvePersonaOptions, ResolvedPersona, } from "./identity/agent-persona.js";
export { buildPersonaPromptBlock } from "./identity/persona-prompt.js";
export type { EpisodicMemoryEntry, SemanticMemoryPort, WorkingMemoryPort, EpisodicMemoryPort, ProceduralMemoryPort, ProceduralSkill, } from "./ports/brain.js";
export { recencyScore, scoreEntries, recallEpisodicRrf, DEFAULT_RRF_WEIGHTS, DEFAULT_RECENCY_HALFLIFE_MS, } from "./memory/episodic-rrf.js";
export type { RrfWeights, RrfOptions, ScoreComponents, ScoredEntry, RrfScorers, EpisodicCosineFn, RecallRrfOptions, } from "./memory/episodic-rrf.js";
export { evaluateQualityGate } from "./marketing/quality-gate.js";
export type { MarketingGateInput, MarketingGateResult, } from "./marketing/quality-gate.js";
export type { PublisherPort, PublishInput, PublishResult, PublishStatus, PublishContext, PublisherChannel, } from "./ports/publisher.js";
export { XPublisher } from "./adapters/publishers/x.js";
export type { XPublisherConfig, XPublisherOptions, } from "./adapters/publishers/x.js";
export { EmailPublisher } from "./adapters/publishers/email.js";
export type { EmailPublisherConfig } from "./adapters/publishers/email.js";
export { DiscordPublisher } from "./adapters/publishers/discord.js";
export type { DiscordPublisherConfig } from "./adapters/publishers/discord.js";
export { GitHubPublisher } from "./adapters/publishers/github.js";
export type { GitHubPublisherConfig } from "./adapters/publishers/github.js";
export { RempartPublisher } from "./adapters/publishers/rempart.js";
export type { RempartPublisherConfig, RempartMcpCaller, } from "./adapters/publishers/rempart.js";
export { createPublisherRegistry } from "./publishers/registry.js";
export type { PublisherRegistry, PublisherRegistryInput, } from "./publishers/registry.js";
export { criticLoop } from "./loop/critic.js";
export type { CriticVerifier, CriticResult, CriticHistoryEntry, } from "./loop/critic.js";
export { TrajectoryConfidenceTracker } from "./loop/trajectory-confidence.js";
export type { TrajectoryConfidenceConfig, TrajectoryConfidenceState, } from "./loop/trajectory-confidence.js";
export { PromiseProgressTracker } from "./budget/promise-progress.js";
export type { PromiseProgressConfig, PromiseProgressSnapshot, } from "./budget/promise-progress.js";
//# sourceMappingURL=index.d.ts.map