/** * @opensip-cli/contracts — public Tool↔runner contract and host-run runtime. * * Tool packages and host surfaces share this package for option/result types, * SignalEnvelope helpers, StoredSession shapes, graph catalog types, and shared * host-run runtime helpers that coordinate command delivery without depending * on the CLI composition root. Config loading, persistence implementations, and * effectful output delivery stay outside this package. */ export type { FitOptions, InitOptions, ToolOptions } from './types.js'; export { buildSignalEnvelope, DEFAULT_BASELINE_IDENTITY, isSignalEnvelope, SIGNAL_ENVELOPE_SCHEMA_VERSION, type BaselineIdentity, type DeclaredInputs, type SignalEnvelope, type RunVerdict, type UnitResult, type BuildEnvelopeInput, } from './signal-envelope.js'; export { deriveOutcome, type RunOutcome } from './run-outcome.js'; export type { EnvelopeResultSummary, ResultSummaryItem } from './result-summary.js'; export { envelopeToResultSummary, unitOutcome } from './result-summary.js'; export * from './evidence.js'; export { CLI_COMMAND_SURFACE_CONTRACT_VERSION, CLOUD_WIRE_CONTRACT_VERSION, COMPATIBILITY_CONTRACT_CLASSES, COMPATIBILITY_POLICIES, DATASTORE_PAYLOAD_CONTRACT_VERSION, PLATFORM_SUPPORT_CONTRACT_VERSION, PUBLIC_JSON_CONTRACT_VERSION, RELEASE_ARTIFACT_CONTRACT_VERSION, SIGNAL_BATCH_DIVERGENCE_CONTRACT_VERSION, SIGNAL_BATCH_EVIDENCE_CONTRACT_VERSION, TOOL_CONTRACT_VERSION, assertCompatibilityPoliciesComplete, findCompatibilityPolicy, type CompatibilityContractClass, type CompatibilityContractPolicy, type CompatibilityStability, } from '@opensip-cli/core'; export type * from './review-brief-correlation-types.js'; export { REVIEW_BRIEF_CORRELATION_ENTITY_LIMIT, REVIEW_BRIEF_CORRELATION_GROUP_LIMIT, REVIEW_BRIEF_CORRELATION_KEY_LIMIT, REVIEW_BRIEF_CORRELATION_KEY_PRIORITY, REVIEW_BRIEF_CORRELATION_MEMBER_LIMIT, REVIEW_BRIEF_CORRELATION_REASON_LIMIT, REVIEW_BRIEF_SEVERITY_RANK, } from './review-brief-correlation-types.js'; export { compareCodePoint, compareCodePointStrings } from './code-point-order.js'; export { REVIEW_BRIEF_VERSION, reviewBriefBaselineDeltaSchema, reviewBriefBlastRadiusSchema, reviewBriefDegradationSchema, reviewBriefRecommendedActionSchema, reviewBriefRepairSchema, reviewBriefRiskSchema, reviewBriefSchema, reviewBriefSignalRefSchema, type DeriveReviewBriefVerdictInput, type ReviewBrief, type ReviewBriefBaselineState, type ReviewBriefBaselineDelta, type ReviewBriefBlastRadius, type ReviewBriefDegradation, type ReviewBriefRecommendedAction, type ReviewBriefRisk, type ReviewBriefSignalRef, type ReviewBriefVerdict, type ReviewBriefVersion, type SignalToReviewBriefRiskInput, } from './review-brief.js'; export { reviewBriefCorrelationGroupSchema, reviewBriefCorrelationKeySchema, reviewBriefCorrelationReasonSchema, reviewBriefEntityRefSchema, reviewBriefRiskRefSchema, } from './review-brief-correlation-schemas.js'; export type * from './impact-trust.js'; export { FULL_IMPACT_TRUST, MAX_IMPACT_UNCERTAINTIES, buildImpactTrust, changedEntriesToImpactUncertainties, gitWarningsToImpactUncertainties, mergeImpactUncertainties, } from './impact-trust.js'; export type * from './command-results.js'; export type * from './task-context.js'; export { MAX_TASK_CONTEXT_MANIFEST_BYTES, MAX_TASK_CONTEXT_FILES, MAX_TASK_CONTEXT_PLANES, PROJECT_INVENTORY_SCHEMA_VERSION, TEST_SELECTION_SCHEMA_VERSION, TASK_CONTEXT_MANIFEST_SCHEMA_VERSION, contextCoverageSchema, buildProjectInventorySnapshotIdentities, buildTaskContextFileScope, buildTaskContextProjectIdentity, buildTestSelectionSnapshotIdentity, parseTaskContextManifest, projectInventorySnapshotSchema, projectInventorySnapshotIdentityMatches, taskContextManifestSchema, taskContextFileScopeSchema, taskContextPlaneSchema, testSelectionSnapshotSchema, testSelectionSnapshotIdentityMatches, } from './task-context.js'; export type { RunPresentation } from './run-presentation.js'; export type { CommandOutcome, CommandOutcomeStatus, ErrorDetail, WarningDetail, RenderHints, } from './command-outcome.js'; export { COMMAND_OUTCOME_CONTRACT_VERSION } from './command-outcome.js'; export type { CliDiagnostic, CliDiagnosticCategory, CliDiagnosticCode, CliDiagnosticProvenance, CliDiagnosticSeverity, } from './cli-diagnostic.js'; export { CLI_DIAGNOSTIC_CODES } from './cli-diagnostic.js'; export type { RunDiagnostics, DiagnosticEvent, DiagnosticPhase, DiagnosticLevel, } from '@opensip-cli/core'; export { passRate } from './score.js'; export { EXIT_CODES, getErrorSuggestion, mapToolErrorToExitCode } from './exit-codes.js'; export type { ErrorSuggestion } from './exit-codes.js'; export { PLUGIN_API_VERSION, checkCompatibility } from '@opensip-cli/core'; export type { RawToolPluginManifest, ToolPluginManifest, ToolCommandManifest, ToolProvenance, ToolResourceClass, ToolResourceRequirement, ToolSource, CompatibilityVerdict, ToolConfigManifestDescriptor, JsonSchemaObject, JsonSchemaNode, JsonSchemaPrimitiveType, CapabilityDomainSpec, ToolCapabilityDeclaration, CapabilityContributionKind, } from '@opensip-cli/core'; export { defineCommand, defineTool, COMMON_FLAG_KEYS, RAW_STREAM_REASONS, applyToolContributeScope, createToolScope, resolveToolHooks, } from '@opensip-cli/core'; export { defineRunCommand, defineListCommand, defineAuxExportCommand, definePrimaryRunCommand, REPORTING_RUN_COMMON_FLAGS, gateRunFlagSpecs, sarifRunFlagSpec, } from './command-presets.js'; export { ANALYSIS_RUN_COMMAND_STATIC_HANDLER, defineAnalysisRunCommand, } from './analysis-run-command.js'; export { readOptionalToolConfig, readToolConfig } from './tool-config-read.js'; export { runHostGateDispatch } from './gate-dispatch.js'; export { runBaselineExport } from './baseline-export.js'; export { configLifecycleEvent, deliveryLifecycleEvent, emitAnalysisLifecycleEvent, runLifecycleEvent, unitLifecycleEvent, } from './run-lifecycle-events.js'; export type { AnalysisRunCommandInput, AnalysisRunCommandOptions, AnalysisRunGateAdapter, AnalysisRunHookInput, AnalysisRunLiveAdapter, AnalysisRunLiveHookInput, AnalysisRunPresentationInput, } from './analysis-run-command.js'; export type { DefineToolInput, ResolvedToolHooks } from '@opensip-cli/core'; export type { BaselineExportFailure, BaselineExportOptions } from './baseline-export.js'; export type { AnalysisLifecycleEvent, AnalysisLifecycleRecord, ConfigLifecycleEvent, DeliveryLifecycleEvent, LifecycleMetadata, LifecycleMetadataValue, RunLifecycleEvent, UnitLifecycleEvent, } from './run-lifecycle-events.js'; export type { SafeToolConfigParser, ToolConfigParser } from './tool-config-read.js'; export type { HostGateCompareRenderInput, HostGateDeliveryOptions, HostGateDispatchResult, HostGateSaveRenderInput, RunHostGateDispatchInput, } from './gate-dispatch.js'; export type { CommandSpec, OptionSpec, ArgSpec, CommandHandler, CommandContext, CommandOutputMode, CommandScopeRequirement, RawStreamReason, } from '@opensip-cli/core'; export { resolveToolRecipeName, BUILTIN_DEFAULT_RECIPE } from './recipe-default.js'; export type { ResolvedRecipe, RecipeSource } from './recipe-default.js'; export { commonFlags, applyCommonFlags, MANDATORY_COMMON_FLAGS } from './cli-flags.js'; export type { CommonFlagKey, CommonFlagSpec } from './cli-flags.js'; export { buildFindingGroups, groupSignalsBySource } from './verbose-detail.js'; export type { FindingGroupUnit, VerboseDetail, FindingGroup, FindingLine, } from './verbose-detail.js'; export type { StoredSession, StoredSessionHostMetrics, ToolSessionReplay, } from './session-types.js'; export type { StoredRun, StoredRunAggregate, StoredRunSource, StoredRunStep, StoredRunVerdictSummary, RunStepReference, } from './run-types.js'; export type { ToolSessionRecord, ToolRunOutcome } from '@opensip-cli/core'; export { deriveRunOutcome, inferStoredRunOutcome } from '@opensip-cli/core'; export type { GraphCatalog, GraphFunctionOccurrence, GraphCallEdge, GraphParam, GraphFunctionKind, GraphCallResolution, GraphCallConfidence, GraphResolutionMode, GraphVisibility, GraphFeatures, GraphFunctionFeatures, GraphPackageFeatures, GraphSccFeatures, GraphPackageEdgeFeature, GraphBlastScore, } from './graph-catalog.js'; export { applyAgentFilters, buildAgentFilteredResult, emitAgentFilteredJsonOutput, normalizeAgentRunFilters, agentRunFlagSpecs, AgentFilterParseError, } from './agent-filters.js'; export type { AgentFilteredResult, AgentRunFilterOpts } from './agent-filters.js'; export type { AgentCatalog, AgentCatalogBuildInput, CommandTier } from './agent-catalog.js'; export type { AgentProjectContext, TargetConventionSummary } from './target-conventions.js'; export type { AgentHostSupport } from './host-support.js'; export { ComputeImpactCancelledError, ComputeImpactIndexGenerationMismatchError, type ComputeImpactChangedFileEntry, type ComputeImpactAsyncOptions, type ComputeImpactIndex, type ComputeImpactOptions, type ImpactComputation, type ImpactFunction, type ImpactPackage, } from './graph-impact-model.js'; export type { CliProgram } from './cli-program.js'; //# sourceMappingURL=index.d.ts.map