export { VERSION } from './version.js'; export { HostCallDeniedError } from './execution/code-runtime/types.js'; export { WorkerCodeRuntime } from './execution/code-runtime/worker.js'; export { CompactionConfigSchema, PluginRuntimeConfigSchema, RUNTIME_DEFAULTS, RuntimeConfigSchema, SandboxConfigSchema, TaskRouterConfigSchema, } from './config/runtime.js'; export * from './constants/index.js'; export { ConfigNamespaceCollisionError, ConfigRegistry, } from './config/registry.js'; export type { ConfigRegistryOptions, ConfigScope } from './config/registry.js'; export { DiskConfigOverrideStore, InMemoryConfigOverrideStore, } from './store/config/index.js'; export type { ConfigOverrideStore } from './store/config/index.js'; export { MCPReconnectOptionsSchema, MCPReconnectSupervisor, } from './connector/mcp/reconnect.js'; export type { MCPReconnectOptions, MCPReconnectPolicySource, } from './connector/mcp/reconnect.js'; export type { CodeNavigationProvider, CodeNavigationResult, HoverResult, SourceLocation, SymbolLocation, SymbolSearchResult, } from './types/code-navigation/index.js'; export { CreateMessageSchema, MessageIdSchema, PaginationSchema, ProjectIdSchema, zodErrorToApiError, } from './contracts/schemas.js'; export * from './contracts/a2a.js'; export * from './utils/id.js'; export { accumulateCost, accumulateUnpricedCost, calculateCost, describeCost, formatCost, ZERO_COST, } from './utils/cost.js'; export { normaliseModelId, resolveModelPricing, VENDOR_RATES, } from './pricing/index.js'; export { toErrorMessage } from './utils/error.js'; export { getLogCounters, Logger } from './utils/logger.js'; /** * The process sink's own counter set, for a host that installs a sink and * then builds its own logger from it. * * Exported by LOG-20 out of necessity rather than design. Removing * `getRootLogger` removed `fromSink`, which was the only thing passing this * set into a `createLogger`. Without it every host-written record counts into * a private set, `getLogCounters()` reports a permanently zeroed one, and * `namzu doctor`'s `logging.pipeline` check reads health it never measured — * a check that cannot fail, introduced by the removal that was supposed to * end them. */ export { getProcessSinkCounters } from './utils/log/process-sink.js'; export { createLogger, EVENT_NAME_ATTRIBUTE, installProcessSink, jsonLinesSink, LevelFilter, LogAttributes, LogRecord, LogSink, LogSinkCounters, NOOP_LOGGER, NOOP_SINK, prettySink, Resource, SCOPE_ATTRIBUTE, Severity, } from './utils/log/index.js'; export { cancelCauseOf, TurnCancelled } from './types/session/cancel-cause.js'; export { AgentNotRunningError, createAgentHandle } from './agents/handle.js'; export { DiskTopicStateStore, InMemoryTopicStateStore, } from './store/topic/state.js'; export { StaleTopicStateError } from './types/topic/state.js'; export { DiskTopicObjectiveStore, InMemoryTopicObjectiveStore, ObjectiveExhaustedError, ObjectiveExistsError, } from './store/topic/objective.js'; export { ObjectiveNotProgressingError, advanceObjective, driveObjective, } from './manager/topic/objective.js'; export { StaleObjectiveError } from './types/topic/objective.js'; export { DEFAULT_MAX_GOAL_ROUNDS, DiskSessionGoalStore, GoalExistsError, GoalNotFoundError, GoalRoundLimitError, GoalSessionNotFoundError, GoalTransitionError, InMemorySessionGoalStore, MAX_GOAL_OBJECTIVE_CHARS, StaleGoalError, } from './store/goal/index.js'; export { EnvCredentialProvider, ReadOnlyCredentialProviderError, } from './vault/CredentialProvider.js'; export { isCredentialEnvKey } from './constants/credential-env-keys.js'; export { createToolPresenter, genericLabel, } from './registry/tool/presentation.js'; export type { ToolPresenter } from './registry/tool/presentation.js'; export { NAMZU_APP_IDENTITY, attributionHeaders, } from './provider/attribution.js'; export type { AppIdentity } from './provider/attribution.js'; export { DEFAULT_STREAM_IDLE_TIMEOUT_MS, withStreamIdleTimeout, } from './provider/idle-timeout.js'; export type { WithStreamIdleTimeoutOptions } from './provider/idle-timeout.js'; export { DEFAULT_MAX_REQUEST_RICH_CONTENT_BYTES } from './runtime/query/request-rich-content.js'; export { DEFAULT_SANDBOX_TEARDOWN_TIMEOUT_MS } from './runtime/query/sandbox-lifecycle.js'; export { isTrustedReadOnly } from './tools/trusted-read-only.js'; export { GoalRoundAuthorityError, MIN_GOAL_BLOCK_ROUND, SESSION_GOAL_TOOL_NAMES, buildSessionGoalTools, } from './tools/goal/index.js'; export { SessionGoalActivation } from './manager/goal/activation.js'; export { buildToolResultHashes, hashToolResult } from './utils/hash.js'; export { compressShellOutput, compressShellOutputFull, } from './utils/shell-compress.js'; export { createChildAbortController } from './utils/abort.js'; export { memoizeAsync } from './utils/memoize.js'; export { extractFinalResponse } from './utils/conversation.js'; export { resolveTaskModel } from './model-router/task-router.js'; export { assertThinkingUnsupported } from './provider/thinking-support.js'; export { modelVersionAtLeast, parseVersionedModelId, } from './provider/model-version.js'; export { assertStrictSchema, findStrictSchemaViolations, } from './provider/strict-schema.js'; export { findDraft07Only, toSchemaDialect } from './registry/tool/dialect.js'; export type { JsonSchemaDialect } from './registry/tool/dialect.js'; export { findPortableSchemaViolations, toPortableToolSchema, } from './registry/tool/portable.js'; export type { PortableSchemaViolation } from './registry/tool/portable.js'; export { renderToolSchema, toolWireSchema } from './registry/tool/schema.js'; export type { StrictSchemaViolation } from './provider/strict-schema.js'; export type { ModelIdGrammar, ModelVersion } from './provider/model-version.js'; export { drainQuery, query } from './runtime/query/index.js'; export { collapseProjectInstructionSnapshots, isProjectInstructionMessage, replaceProjectInstructionSnapshot, } from './runtime/query/project-instructions.js'; export { SteeringBinding, attachSteering, formatSteeringNote, } from './runtime/query/steering.js'; export type { SteeringChannel } from './runtime/query/steering.js'; export { BidiSessionCloseTimeoutError, createMockBidiProvider, startBidiTurn, } from './runtime/bidi/index.js'; export { PromptCache } from './runtime/query/prompt-cache.js'; export { CheckpointManager, findPendingCheckpoint, isExpiredPark, listExpiredParks, } from './runtime/query/checkpoint.js'; export { deriveTurnStatus } from './types/session/derive-status.js'; export { ToolGrantSet, toolGrantKeys } from './runtime/query/tool-grants.js'; export type { ToolGrantKeys } from './runtime/query/tool-grants.js'; export { captureTurnState, loadSelectedTurnState, loadTurnState, } from './runtime/query/turn-state.js'; export type { TurnStateScope } from './runtime/query/turn-state.js'; export { TURN_STATE_VERSION, TurnStateVersionError, parseTurnState, } from './types/session/turn-state.js'; export { resumeSession } from './runtime/query/resume-session.js'; export type { ResumeOutcome, ResumeSessionParams, } from './runtime/query/resume-session.js'; export { abandonTurn } from './runtime/query/abandon-turn.js'; export type { SessionLocatorOptions } from './runtime/query/abandon-turn.js'; export { compactSession } from './runtime/query/compact-session.js'; export type { CompactSessionParams } from './runtime/query/compact-session.js'; export { prepareForkState } from './runtime/query/fork/prepare.js'; export { listCheckpoints } from './runtime/query/fork/list.js'; export { DecisionParser, FallbackResolver } from './runtime/decision/index.js'; export { buildLimitConfig, checkLimitsDetailed, createTurnReporter, } from './turn/index.js'; export { DEFAULT_DRAIN_PAGE_SIZE, drainParkedTurns } from './turn/index.js'; export type { DrainFailure, DrainTurn, DrainTurnsParams, DrainTurnsResult, } from './turn/index.js'; export { DEFAULT_GATE_MAX_RETRIES, DEFAULT_GATE_OUTPUT_CHARS, DEFAULT_GATE_TIMEOUT_MS, FINGERPRINT_MAX_BYTES, FINGERPRINT_TIMEOUT_MS, clipOutput, createCommandGate, createJsonClaimVerifier, fingerprintWorkspace, } from './turn/index.js'; export type { CommandGateOptions, FingerprintExec, GateExec, WorkspaceFingerprintOptions, } from './turn/index.js'; export { SESSION_MEMORY_TAG, createMemoryPromoter } from './turn/index.js'; export type { MemoryPromoterOptions } from './turn/index.js'; export { createMemoryRecallStep } from './turn/memory-recall.js'; export type { MemoryRecallOptions } from './turn/memory-recall.js'; export { createEvidenceRecallStep, refineEvidenceRecallTerms } from './turn/evidence-recall.js'; export type { EvidenceRecallOptions, EvidenceRecallRequest, EvidenceRecallBatch, EvidenceRecallCandidate, EvidenceRecallContinuation, } from './turn/evidence-recall.js'; export { assembleSystemPrompt, mergePersonas, withSessionContext, } from './persona/index.js'; export { discoverSkills, loadSkill, resolveSkillChain, SkillRegistry, } from './skills/index.js'; export { parseFrontmatter } from './utils/frontmatter.js'; export { ALL_SLOTS, deriveSupervisorOptions, deriveTurnOptions, loadDirectory, } from './directory/index.js'; export { AdvisorRegistry, AdvisoryContext, AdvisoryExecutor, TriggerEvaluator, } from './advisory/index.js'; export { AbstractAgent, ConcurrentInvocationError, defineAgent, InvocationLock, PipelineAgent, ReactiveAgent, RouterAgent, runAgent, DEFAULT_MAX_ITERATIONS, DEFAULT_TIMEOUT_MS, DEFAULT_TOKEN_BUDGET, SupervisorAgent, DEFAULT_RESERVED_AGENT_NAMES, discoverAgentDefinitions, EXPLORE_AGENT_DESCRIPTION, EXPLORE_AGENT_ID, EXPLORE_AGENT_PROMPT, MAX_AGENT_FILE_CHARS, parseAgentFile, parseAgentMarkdown, } from './agents/index.js'; export { ActivityStore, DiskMemoryStore, DiskTaskStore, InMemoryMemoryIndex, InMemoryMemoryStore, InMemoryStore, InMemoryTaskStore, MEMORY_INDEX_LINE_MAX_CHARS, MEMORY_INDEX_MAX_LINES, MarkdownMemoryStore, MEMORY_VERIFY_NOTICE, MemoryContentRejectedError, MemoryNameConflictError, describeMemoryAge, isMemoryName, memoryIndexLine, memoryLinkNames, renderMemoryIndex, slugifyMemoryName, } from './store/index.js'; export { selectTaskContext } from './store/task/context.js'; export { TaskSessionMismatchError } from './store/task/disk.js'; export { claimSession, fencedOut, releaseSession, toClaimSummary, } from './store/session-claim.js'; export { actorChain, isDescendantOfActor, MAX_ACTOR_CHAIN_DEPTH, } from './session/actor-scope.js'; export { DiskMessageFeedbackStore, InMemoryMessageFeedbackStore, StaleFeedbackError, UnknownMessageError, } from './store/feedback/index.js'; export { resolveSessionLogReplay } from './types/session/log-cursor.js'; export { HostCommandNameCollisionError, HostCommandRegistry, kernelHostCommands, } from './registry/command/index-exports.js'; export { AgentRegistry, BaseRegistry, ManagedRegistry, PluginRegistry, ToolCatalog, ToolNameCollisionError, ToolRegistry, createToolCatalogFromRegistry, loadingFromAvailability, toolDefinitionToCatalogEntry, } from './registry/index.js'; export { attachShellHooks, createShellHook, DEFAULT_SHELL_HOOK_TIMEOUT_MS, discoverAllPluginDirs, discoverPlugins, loadPluginManifest, MAX_SHELL_HOOK_TIMEOUT_MS, PluginLifecycleManager, PluginResolver, runShellHook, SHELL_HOOK_EVENTS, SHELL_HOOKS_PLUGIN_ID, shellHookMatches, shellHookVerdict, } from './plugin/index.js'; export { AgentManager, PlanManager, ProjectManager, requireOpenProject, TopicManager, /** * @deprecated Use {@link TopicManager}. A literal identity re-export, not a * wrapper, so `instanceof` and `===` still hold for callers who have not * migrated. Removal is NZ-TOPIC-05 -- NZ-TOPIC-01 marked it deprecated but * that release never reached npm, so this major is the first one a consumer * can actually see the warning in. */ } from './manager/index.js'; export { TurnRecorder } from './manager/session/turn-recorder.js'; export { InMemoryTopicStore, /** @deprecated Use {@link InMemoryTopicStore}. Removal is NZ-TOPIC-05. */ } from './store/topic/memory.js'; export { LocalTaskScheduler } from './scheduler/local.js'; export { DelegateCapabilityError, DelegateCapabilityMismatchError, DelegateIdCollisionError, DelegatingTaskScheduler, NoDelegateError, } from './scheduler/delegating.js'; export type { DelegatingTaskSchedulerConfig } from './scheduler/delegating.js'; export type { Delegate, DelegateCapabilities, DelegateRequest, DelegateResult, } from './types/agent/delegate.js'; export { CompletionInbox, formatCompletionNotification, } from './scheduler/completion-inbox.js'; export { classifyProviderError, DEFAULT_PROVIDER_RETRY, DuplicateProviderError, isAbortError, isProviderError, LazyProviderLoadError, LazyProviderSyncCreateError, MOCK_CAPABILITIES, MockLLMProvider, parseRetryAfterMs, PERMISSIVE_PROVIDER_CAPABILITIES, ProviderError, ProviderRegistry, ProviderRequestError, registerMock, resolveProviderCapabilities, UnknownProviderError, withProviderFallback, withProviderRetry, } from './provider/index.js'; export type { ProviderChainMember, ProviderRetryConfig, WithProviderFallbackOptions, WithProviderRetryOptions, } from './provider/index.js'; export type { BackoffPolicy } from './utils/backoff.js'; export { assertIsolation, describeIsolation, isolationOf, LocalSandboxProvider, missingIsolation, SandboxProviderFactory, walkFilesViaExec, } from './sandbox/index.js'; export type { LocalSandboxProviderOptions, SandboxFileWalkExec } from './sandbox/index.js'; export { bodySaysContextOverflow, classifyProviderHttpStatus, isCallerAbortError, isProviderRequestError, providerHttpError, providerVendorError, } from './provider/errors.js'; export { InMemoryCredentialVault } from './vault/index.js'; export { assembleRAGContext, cosineSimilarity, DEFAULT_CHUNKING_CONFIG, DEFAULT_EMBEDDING_REQUEST_TIMEOUT_MS, DEFAULT_RAG_CONTEXT_CONFIG, DEFAULT_RETRIEVAL_CONFIG, DefaultIngestionPipeline, DefaultKnowledgeBase, DefaultRetriever, InMemoryVectorStore, HttpEmbeddingProvider, TextChunker, } from './rag/index.js'; export { BaseConnector, BaseExecutionContext, CommandCancellationUnsupportedError, ConnectorManager, ConnectorRegistry, EnvironmentConnectorManager, ExecutionContextFactory, HttpConnector, applyNamePolicy, applyToolPolicy, diffTools, hasDrift, HttpSseTransport, HybridExecutionContext, buildEnvelope, classifyModernHttpFailure, createMcpEraCache, decodeResult, defaultMcpEraCache, encodeMcpHeaderValue, isHeaderMismatchError, isMissingRequiredClientCapabilityError, isRecognizedModernError, isResourceNotFoundError, isUnsupportedProtocolVersionError, LocalExecutionContext, mcpEraCacheKey, MCPHttpStatusError, MCPInputRequiredError, MCPInvalidResultTypeError, MCPClient, MCPMethodNotFound, MCPConnectorBridge, MCPProtocolError, MCPServer, MCPToolDiscovery, resolveMcpEra, mcpPromptToToolDefinition, renderPromptMessages, mcpJsonSchemaToZod, mcpToolResultToToolResult, mcpToolToToolDefinition, RemoteExecutionContext, RemoteExecutionBusyError, ScopedConnectorRegistry, ServerStdioTransport, StdioTransport, StreamableHttpTransport, TenantConnectorManager, toolDefinitionToMCPTool, toolResultToMCPToolResult, toolsHash, validateMcpHeaderAnnotations, WebhookConnector, zodToMCPJsonSchema, } from './connector/index.js'; export type { McpEnvelope, McpEnvelopeInput, McpEraProbe, McpEraProbeAnswer, McpEraResolution, McpEraResolutionInput, McpHeaderAnnotationVerdict, McpParamHeaderBinding, MCPDecodedResult, MCPToolDiscoveryOptions, MCPToolDrift, MCPToolPolicy, MCPToolPolicyDecision, } from './connector/index.js'; export { a2aMessageToCreateTurn, a2aMessageToInput, buildAgentCard, extractTextFromA2AMessage, isTerminalState, mapSessionToA2AEvent, mapTurnToA2AEvent, mapTurnToA2ATask, messageToA2A, resolveA2AContext, turnStatusToA2AState, } from './bridge/a2a/index.js'; export { resolveExternalSession } from './bridge/external-session.js'; export { A2ADelegate, A2AProtocolMismatchError, A2ARequestError, InvalidAgentCardError, fetchAgentCard, } from './bridge/a2a/client.js'; export type { A2ADelegateConfig, FetchAgentCardOptions, FetchLike, } from './bridge/a2a/client.js'; export { mapSessionEventToStreamEvent, mapSessionToStreamEvent, } from './bridge/sse/index.js'; export { ACP_DEFAULT_REJECTION, ACPServer, clientBackedSandbox, toAcpSessionUpdate, toAcpStopReason, toResumeDecision, } from './bridge/acp/index.js'; export type { AcpAgentGateway, AcpClientFilesystem, AcpPermissionAsker, AcpPermissionOutcome, AcpPermissionRequest, AcpServerOptions, } from './bridge/acp/index.js'; export type { AcpFsReadParams, AcpFsReadResult, AcpFsWriteParams, AcpRequestPermissionParams, AcpRequestPermissionResult, AcpSessionLoadParams, AcpClientCapabilities, AcpInitializeParams, AcpInitializeResult, AcpSessionCancelParams, AcpSessionNewParams, AcpSessionNewResult, AcpSessionPromptParams, AcpSessionPromptResult, AcpSessionUpdate, AcpSessionUpdateNotification, AcpStopReason, } from './types/acp/index.js'; export { AgentBus, CircuitBreaker, EditOwnershipTracker, FileLockManager, } from './bus/index.js'; export { PERMISSION_PRESETS, SANDBOXED_PRESET, SANDBOXED_SHELL_PRESET, SUPERVISED_PRESET, UNATTENDED_PRESET, UnsupportedPermissionPresetError, availablePermissionPresets, defaultSandboxedGateConfig, permissionPreset, resolvePermissionPreset, defaultSandboxedShellGateConfig, describeRule, evaluateRule, AuthorizationGate, } from './authorization/index.js'; export { createInvariantRegistry, InvariantNameCollisionError, invariants, InvariantRegistry, ModuleInvariantError, } from './invariants/index.js'; export type { InvariantCheck, InvariantOutcome } from './invariants/index.js'; export { buildProbeContext, createProbeRegistry, probe, ProbeNameCollisionError, ProbeRegistry, ProbeVetoError, } from './probe/index.js'; export type { ProbeEnforcement, ProbeObservation } from './probe/index.js'; export { wrapProviderWithProbes } from './provider/instrumentation.js'; export type { ProviderInstrumentationOptions } from './provider/instrumentation.js'; export type { ResolvedProviderCapabilities } from './provider/capabilities.js'; export { collectChatCompletion } from './provider/collect-chat-completion.js'; export { wrapCredentialProviderWithProbes, wrapVaultWithProbes, } from './vault/instrumentation.js'; export type { VaultInstrumentationOptions } from './vault/instrumentation.js'; export { GitWorktreeDriver, parseWorktreeList, SharedSessionWorkspace, WorkspaceBackendRegistry, } from './session/workspace/index.js'; export { DefaultCapacityValidator, DelegationCapacityExceeded, executeBroadcastHandoff, executeSingleHandoff, HandoffLockRejected, HandoffVersionConflict, NOOP_HANDOFF_SINK, } from './session/handoff/index.js'; export { AGENT_SUMMARY_MAX_CHARS, AgentSummaryTooLongError, SessionAlreadySummarizedError, SessionSummaryMaterializer, } from './session/summary/index.js'; export { ArtifactRefCycleError, InterventionDepthExceeded, validatePrevArtifactChain, } from './session/intervention/index.js'; export { readSessionMessages } from './session/messages.js'; export { ArchivalManager, ArchiveNotConfiguredError, ArchiveNotFoundError, DiskArchiveBackend, RETENTION_POLICY_DISABLED, SubSessionNotArchivableError, SubSessionNotArchivedError, } from './session/retention/index.js'; export { AncestryCycleError, ProjectClosedError, ProjectNotEmptyError, ProjectRootPathTakenError, StaleProjectError, StaleSessionError, StaleTopicError, TenantIsolationError, TopicArchivedError, TopicNotEmptyError, WorkspaceBackendError, } from './session/errors.js'; export { DiskSessionStore, getAncestry, getChildren, InMemorySessionStore, orderChildren, } from './store/session/index.js'; export { A2AProtocolError } from './types/a2a/index.js'; export { isTerminalActivityStatus, resolveActivityTracking, } from './types/activity/index.js'; export { isTerminalAgentTaskState } from './types/agent/task.js'; export { accumulateTokenUsage, isTerminalStatus, } from './types/common/index.js'; export { assertComputerUseActionType, assertDisplayServer, } from './types/computer-use/index.js'; export { isConnectorActive } from './types/connector/core.js'; export { CONNECTOR_SCOPE_ORDER } from './types/connector/scope.js'; export { RoutingResponseSchema } from './types/decision/index.js'; export { autoApproveHandler } from './types/hitl/index.js'; export { deriveChildState } from './types/invocation/index.js'; export { MEMORY_TYPES, assertMemoryStatus, assertMemoryType, isMemoryType, } from './types/memory/index.js'; export { createAssistantMessage, selectAssistantText, createProjectInstructionMessage, createRuntimeContextMessage, createSystemMessage, createToolMessage, hasNonTextBlocks, toToolResultBlocks, toolResultToText, createUserMessage, isProjectInstructionMessageSource, isRuntimeContextMessageSource, isModelContentOmission, MAX_PROJECT_INSTRUCTION_SOURCE_FILES, RUNTIME_CONTEXT_MESSAGE_KINDS, } from './types/message/index.js'; export { isTerminalPlanStatus } from './types/plan/index.js'; export { assertPluginContributionType, assertPluginHookEvent, assertPluginHookResult, assertPluginScope, assertPluginStatus, PluginManifestSchema, PluginMCPServerConfigSchema, RENAMED_PLUGIN_HOOK_EVENTS, } from './types/plugin/index.js'; export { toMemoryCandidate } from './types/session/memory-promotion.js'; export { MutationNotApplicableError } from './types/session/fork.js'; export { replayAudit } from './types/session/audit.js'; export { assertSandboxEnvironment, assertSandboxStatus, SANDBOX_ENVIRONMENTS, SANDBOX_ISOLATION_CONTROLS, } from './types/sandbox/index.js'; export { assertTaskStatus, isTerminalTaskStatus } from './types/task/index.js'; export { compactNow, compactRegion } from './compaction/manual.js'; export { isCompactionMessage } from './compaction/summary.js'; export { DEFAULT_SALIENCE_CONFIG, DEFAULT_SALIENCE_WEIGHTS, buildGoal, isStubbedNarration, messageText, planWorkingSet, scoreMessages, } from './compaction/salience/index.js'; export { DEFAULT_SOFT_TARGET, planSalienceWorkingSet } from './compaction/plan.js'; export { CONSOLIDATION_TAG, consolidationEntry, isConsolidated, } from './compaction/consolidation.js'; export { isWorkingMemoryMessage } from './runtime/query/iteration/phases/working-memory.js'; export type { CompactNowInput, CompactionResult } from './compaction/manual.js'; export { buildVerifiedSummary, DEFAULT_ASSUMED_CONTEXT_WINDOW, lookupContextWindow, resolveContextWindow, createConversationManager, createSlidingWindowReducer, extractFromAssistantMessage, extractFromToolCall, extractFromToolResult, extractFromUserMessage, findDanglingMessages, findSafeTrimIndex, findRetainedIndices, NullManager, removeDanglingMessages, repairToolMessageHistory, serializeState, SlidingWindowManager, StructuredCompactionManager, WorkingStateManager, } from './compaction/index.js'; export type { ToolHistoryRepairReport, ToolHistoryRepairResult, } from './compaction/index.js'; export { anyOf, hasToolCall, stepCountIs } from './types/session/step.js'; export { compareHarnessTrials, reviewHarnessCandidate, completionScorer, containsScorer, customScorer, evalTurnFromQuery, evalTurnFromTurn, formatReport, judgeScorer, runExperiment, stepBudgetScorer, trajectoryScorer, } from './eval/index.js'; export { recordModelDuration, recordTokenUsage, recordTurnDuration, recordToolCall, resetRuntimeMetrics, } from './telemetry/metrics.js'; export type { TokenUsageSample } from './telemetry/metrics.js'; export { promptInjectionGuardrail, secretRedactionGuardrail, toolResultCorrespondenceGuardrail, toolResultInjectionGuardrail, } from './runtime/query/guardrail-presets.js'; export { passthroughToolNames } from './runtime/query/guardrail-presets.js'; export { DEFAULT_TOOL_RESULT_GUARDRAILS } from './runtime/query/guardrail-presets.js'; export { coalesce } from './streaming/coalesce.js'; export { ToolResultHalted } from './registry/tool/screen.js'; export { NamzuError, isNamzuError, toPlatformError, } from './types/errors/index.js'; export { DEFAULT_ERROR_RULES, explainError, factsOf, readHint, withHint, } from './types/errors/catalog.js'; export type { ErrorCatalogRule, ErrorExplanation, ErrorFacts, } from './types/errors/catalog.js'; export { AUTO_APPROVE_POLICY_NAME } from './runtime/query/approval-policy.js'; export { ACCEPT_EDITS_TOOLS, OUTSIDE_ROOTS_UNATTENDED_REFUSAL, PLAN_MODE_REFUSAL, REVIEW_EXEMPT_WRITES, REVIEW_MODES, SANDBOX_ESCAPE_UNATTENDED_REFUSAL, STRICT_MODE_REFUSAL, batchNeedsReview, createReviewHandler, createReviewPolicy, isReviewExempt, isReviewMode, } from './runtime/query/review-policy.js'; export { CODING_AGENT_DELEGATION_DOCTRINE, CODING_AGENT_DOCTRINE_CONTRIBUTION_ID, CODING_AGENT_ORCHESTRATE_DOCTRINE, CODING_AGENT_WORKING_DOCTRINE, PLAN_MODE_DOCTRINE, PromptContributionCollisionError, PromptContributionRegistry, SKILLS_CONTRIBUTION_ID, codingAgentDoctrineContribution, createResidentStepContributions, createResidentStepContext, skillsContribution, } from './prompt/index.js'; export { SKILL_INVOCATION_DEFAULT, isInvocableBy, skillInvocation, } from './types/skills/index.js'; export { GuardedFetchProvider, WebFetchRefusedError, isPrivateAddress, } from './connector/web/index.js'; export { DEFAULT_ATTACHMENT_RESOLVE_TIMEOUT_MS, AttachmentMediaTypeMismatchError, AttachmentNotFoundError, AttachmentResolutionTimeoutError, NoAttachmentStoreError, isStoredAttachment, resolveAttachment, resolveAttachments, } from './store/attachment/index.js'; export { DuplicateEventError, EventGapError, ReadModelCollisionError, ReadModelRegistry, SESSION_STATUS_READ_MODEL_ID, UnknownReadModelError, createSessionStatusReadModel, } from './read-model/index.js'; export { SessionQuery, SessionTranscriptUnavailableError } from './session-query/index.js'; export { PTY_SPECIFIER, TerminalUnavailableError, loadPty, openTerminalWith, } from './sandbox/terminal.js'; export type { ResolvedContextWindow } from './compaction/context-window.js'; export type { CompactRegionInput } from './compaction/manual.js'; export type { CompactionVerificationOptions, UsageSink, } from './compaction/verifier.js'; export type { PluginDiscoveryOptions, PluginEnablementCapabilities, } from './plugin/loader.js'; export type { ProbeContextInput } from './probe/context.js'; export type { GoalCommandScope, KernelCommandOptions, } from './registry/command/kernel-commands.js'; export type { ToolCatalogFromRegistryOptions } from './registry/toolset/catalog.js'; export type { MockBidiScript, MockBidiSession } from './runtime/bidi/mock.js'; export type { BidiTurn, BidiTurnParams } from './runtime/bidi/session.js'; export type { SecretRedactionOptions } from './runtime/query/guardrail-presets.js'; export type { ToolResultCorrespondenceOptions } from './runtime/query/guardrail-presets.js'; export type { ListCheckpointsInput } from './runtime/query/fork/list.js'; export type { PrepareForkInput, PreparedForkState, } from './runtime/query/fork/prepare.js'; export type { HandoffAssignment, HandoffOutcome, } from './session/handoff/assignment.js'; export type { BroadcastHandoffDeps } from './session/handoff/broadcast.js'; export type { SingleHandoffDeps } from './session/handoff/single.js'; export type { InterventionChainLoader } from './session/intervention/prev-artifact.js'; export type { ActionInput } from './tools/builtins/computer-use.js'; export type { Project } from './types/project/entity.js'; export type { CreatedLogger } from './utils/log/create-logger.js'; export type { LoggerOptions, MutableLogSinkCounters, } from './utils/log/types.js'; export type { JobProcess } from './runtime/jobs/registry.js'; export { WORKING_STATE_MIME } from './connector/mcp/adapter.js'; export { snapshotRequestContext, diffRequestContext } from './runtime/query/request-context.js'; export { DiskResidentStore, ResidentConflictError } from './manager/resident/store.js'; export { runResident, stepResident } from './manager/resident/loop.js'; export { DiskResidentAgenda } from './manager/resident/agenda.js'; export { inspectResidentConsumption } from './manager/resident/consumption.js'; export { ResidentHost } from './manager/resident/host.js'; export { createResidentSelector } from './manager/resident/initiative.js'; export { validateResidentProposal } from './manager/resident/proposal.js'; export { deliverResidentMessage } from './manager/resident/outbox.js'; export { createResidentDeliveryWindow } from './manager/resident/delivery-window.js'; export { hashResidentSkill, projectResidentLearning } from './manager/resident/learning.js'; export { runResidentLearningCycle } from './manager/resident/learning-cycle.js'; export { createSessionEvidenceSource, createSessionTextEvidenceSource, } from './store/evidence/disk.js'; export { classifyEvidenceSource, EVIDENCE_RECORD_GUIDANCE } from './store/evidence/source-kind.js'; export { createResidentToolEvidenceSource } from './manager/resident/tool-evidence.js'; export { createResidentEvidenceRecallStep } from './manager/resident/evidence-recall.js'; export { SqliteResidentLearningStore, runStoredResidentLearningCycle, runStoredResidentLearningFromObservations, } from './manager/resident/learning-store.js'; export { TurnInProgressError, isTurnInProgressError, } from './types/session/turn.js'; export { EPHEMERAL_EVENT_TYPES as EPHEMERAL_SESSION_EVENT_TYPES, isEphemeralEvent, } from './types/session/events.js'; export { ChildSessionMetaSchema, CompactionRecordSchema, ExternalRefSchema, MessageRecordSchema, MessageReplacedRecordSchema, OriginSchema, PERSISTED_SESSION_EVENT_TYPES, ProjectDocumentSchema, RecordPointerSchema, SESSION_EVENT_TYPES, SESSION_RECORD_MAX_BYTES, SESSION_RECORD_SCHEMA_VERSION, SESSION_RECORD_TYPES, SessionLeaseDocumentSchema, SessionRecordSchema, SessionStartedRecordSchema, TurnCompletedRecordSchema, TurnFailedRecordSchema, TurnSettlementSchema, TurnStartedRecordSchema, parseSessionRecord, } from './types/session/records.js'; export { CHECKPOINT_DOCUMENT_VERSION, CheckpointDocumentError, CheckpointSchema, parseCheckpoint, } from './types/session/checkpoint.js'; export { NamzuHomeError, resolveNamzuHome } from './session/home.js'; export { ProjectDocumentError, SessionPathError, SessionPaths, ensureProject, hashedSlugForCwd, slugForCwd, tempRoot, } from './session/paths.js'; export { SessionLogLineError, formatSessionLogLine, parseSessionLogLine, recordSha256, } from './session/log-hash.js'; export { asRecordId, asTurnId, generateRecordId, generateTurnId, } from './utils/id.js'; export * from './store/session-log/index.js'; export * from './store/session-index/index.js'; export * from './store/checkpoint/index.js'; export * from './store/budget/index.js'; export * from './contracts/session/index.js'; //# sourceMappingURL=public-runtime.d.ts.map