export { runCli } from "./cli.js"; export { codaliEventToOpenAIChatCompletionChunk, codaliEventToOpenAISseData, createCodaliRuntime, runCodaliTask, } from "./runtime/CodaliRuntime.js"; export { runCodaliJob } from "./runtime/CodaliJobRuntime.js"; export { isCodaliGatewayValidationOk, validateCodaliContextPack, validateCodaliEvidenceItem, validateCodaliGatewayPlannerOutput, validateCodaliGatewayPolicy, validateCodaliGatewayRequest, validateCodaliGatewayVerifierOutput, validateCodaliGatewayWorkerTask, validateGatewayContextPack, validateGatewayEvidenceItem, validateGatewayPlannerOutput, validateGatewayPolicy, validateGatewayRequest, validateGatewayVerifierOutput, validateGatewayWorkerTask, } from "./gateway/CodaliGatewaySchemas.js"; export { CodaliGateway, buildCodaliGatewayFinalSynthesizerMessages, createCodaliGateway, runCodaliGateway, runCodaliGatewayPlanning, runCodaliGatewayWorkerTasks, } from "./gateway/CodaliGateway.js"; export { buildCodaliGatewayWorkerPrompt, CodaliGatewayStateMachine, createCodaliGatewayStateMachine, } from "./gateway/GatewayStateMachine.js"; export { normalizeCodaliEvidence, normalizeGatewayEvidence, } from "./gateway/EvidenceNormalizer.js"; export { buildCodaliContextPack, CodaliContextPackBuilder, createCodaliContextPackBuilder, estimateCodaliContextPackTokens, } from "./gateway/ContextPackBuilder.js"; export { createInMemoryCodaliGatewayStore, redactCodaliGatewaySecrets, } from "./gateway/CodaliGatewayStore.js"; export { CODALI_GATEWAY_REPLAY_FIXTURE_SCHEMA_VERSION, CODALI_GATEWAY_TRACE_EVENT_NAMES, CODALI_GATEWAY_TRACE_SCHEMA_VERSION, buildCodaliGatewayTraceEvents, exportCodaliGatewayReplayFixture, readCodaliGatewayTrace, summarizeCodaliGatewayTrace, } from "./gateway/GatewayTraceReplay.js"; export { CODALI_GATEWAY_CLASSIFIER_SCHEMA, CODALI_GATEWAY_PLANNER_SCHEMA, CodaliGatewayPlanner, CodaliGatewayPlannerError, buildCodaliGatewayClassifierMessages, buildCodaliGatewayPlannerMessages, createCodaliGatewayPlanner, } from "./gateway/GatewayPlanner.js"; export { DEFAULT_CODALI_GATEWAY_AGENT_ROLES, DEFAULT_CODALI_GATEWAY_ROLE_POLICIES, normalizeCodaliGatewayAgentCandidate, resolveCodaliGatewayAgentTiers, resolveGatewayAgentTiers, } from "./gateway/AgentTierResolver.js"; export { compileCodaliGatewayPolicy, compileGatewayPolicy, } from "./gateway/GatewayPolicyCompiler.js"; export { CODALI_GATEWAY_SECURITY_PROMPT_HARDENING, classifyCodaliGatewayToolRisk, resolveCodaliGatewaySecurityPolicy, } from "./gateway/GatewaySecurityPolicy.js"; export { CODALI_GATEWAY_READ_ONLY_BACKING_TOOLS, CODALI_GATEWAY_RESERVED_TOOL_ARG_KEYS, compileToolCapabilities, } from "./gateway/ToolCapabilityCompiler.js"; export { CODALI_APP_TOOL_GATEWAY_VERSION, AppToolGatewayDispatchError, buildAppToolGatewaySignedRequest, canonicalizeAppToolGatewayPayload, dispatchAppToolGateway, redactAppToolGatewayPayload, signAppToolGatewayRequest, verifyAppToolGatewayRequestSignature, } from "./gateway/AppToolGatewayDispatcher.js"; export { CODALI_GATEWAY_LIVE_SCENARIOS, classifyCodaliGatewayLiveAgents, createMcodaAgentRunScenarioRunner, defaultCodaliGatewayLiveCommandRunner, formatCodaliGatewayLiveHarnessTextReport, parseCodaliGatewayLiveInventory, redactCodaliGatewayLiveValue, runCodaliGatewayLiveHarness, } from "./eval/CodaliGatewayLiveHarness.js"; export { CODALI_GATEWAY_EVAL_CASES, DEFAULT_CODALI_GATEWAY_EVAL_THRESHOLDS, aggregateCodaliGatewayEvalMetrics, compareCodaliGatewayEvalBaseline, createDefaultCodaliGatewayEvalRunner, evaluateCodaliGatewayEvalCase, evaluateCodaliGatewayEvalGates, formatCodaliGatewayEvalTextReport, runCodaliGatewayEvalSuite, } from "./eval/GatewayEvalSuite.js"; export { CODALI_GATEWAY_DATASET_EVAL_PROMPT_VERSIONS, CODALI_GATEWAY_DATASET_EVAL_SCHEMA_VERSION, CODALI_GATEWAY_DATASET_EVAL_STAGES, CodaliGatewayDatasetEvalImportError, createDefaultCodaliGatewayDatasetEvalImport, createDefaultCodaliGatewayDatasetReplayFixture, importCodaliGatewayDatasetReplayFixture, parseCodaliGatewayDatasetReplayFixture, } from "./eval/GatewayDatasetEval.js"; export type { CodaliGatewayDatasetEvalImportLineage, CodaliGatewayDatasetEvalImportResult, CodaliGatewayDatasetEvalSkippedRecord, CodaliGatewayDatasetEvalStage, CodaliGatewayDatasetReplayFixture, CodaliGatewayDatasetReplayFixtureRecord, } from "./eval/GatewayDatasetEval.js"; export { CODALI_IMPROVEMENT_ARTIFACT_TYPES, CODALI_IMPROVEMENT_CLI_JSON_OUTPUT_TYPES, CODALI_IMPROVEMENT_CLI_JSON_SCHEMA_VERSION, CODALI_IMPROVEMENT_CONTRACT_SCHEMA_VERSION, CODALI_IMPROVEMENT_POLICY_ACTIONS, CODALI_IMPROVEMENT_RELEASE_LEVELS, CODALI_IMPROVEMENT_RELEASE_LEVEL_CONTRACTS, DEFAULT_CODALI_IMPROVEMENT_POLICY_LIMITS, buildCodaliImprovementCliJsonOutput, createCodaliImprovementPolicy, evaluateCodaliImprovementPolicy, getCodaliImprovementAllowedArtifactTypesForLevel, getCodaliImprovementReleaseLevelContract, isCodaliImprovementValidationOk, validateCodaliImprovementArtifact, validateCodaliImprovementCandidate, validateCodaliImprovementCliJsonOutput, validateCodaliImprovementGate, validateCodaliImprovementOutcome, validateCodaliImprovementPolicy, validateCodaliImprovementPolicyDecision, validateCodaliImprovementRelease, validateCodaliImprovementRun, validateCodaliImprovementScorecard, } from "./improvement/ImprovementPolicy.js"; export type { BuildCodaliImprovementCliJsonOutputInput, CodaliImprovementArtifact, CodaliImprovementArtifactType, CodaliImprovementCandidate, CodaliImprovementCandidateKind, CodaliImprovementCandidateStatus, CodaliImprovementCliJsonOutput, CodaliImprovementCliJsonOutputType, CodaliImprovementCliJsonStatus, CodaliImprovementGate, CodaliImprovementGateStatus, CodaliImprovementGateType, CodaliImprovementOutcome, CodaliImprovementOutcomeStatus, CodaliImprovementPolicy, CodaliImprovementPolicyAction, CodaliImprovementPolicyDecision, CodaliImprovementPolicyEvaluationRequest, CodaliImprovementRelease, CodaliImprovementReleaseLevel, CodaliImprovementReleaseLevelContract, CodaliImprovementReleaseStatus, CodaliImprovementRun, CodaliImprovementRunStatus, CodaliImprovementScope, CodaliImprovementScorecard, CodaliImprovementScorecardStatus, CodaliImprovementStorageMode, CodaliImprovementValidationIssue, CodaliImprovementValidationResult, } from "./improvement/ImprovementPolicy.js"; export { CODALI_PRODUCTION_GOVERNANCE_ENV_FLAGS, CODALI_PRODUCTION_GOVERNANCE_SCHEMA_VERSION, buildCodaliProductionRolloutStages, createCodaliProductionGovernanceImprovementOverrides, evaluateCodaliProductionGovernanceAction, getCodaliProductionGovernanceFlag, resolveCodaliProductionGovernance, } from "./improvement/ProductionGovernance.js"; export type { CodaliProductionGovernanceAction, CodaliProductionGovernanceDecision, CodaliProductionGovernanceEffectiveConfig, CodaliProductionGovernanceEnvFlag, CodaliProductionGovernanceEnvFlagState, CodaliProductionGovernanceImprovementOverrides, CodaliProductionGovernanceInput, CodaliProductionGovernanceState, CodaliProductionGovernanceStorageMode, CodaliProductionGovernanceWarning, CodaliProductionRolloutStage, } from "./improvement/ProductionGovernance.js"; export { CODALI_IMPROVEMENT_ELIGIBILITY_GATE_SCHEMA_VERSION, DatasetEligibilityGate, curateDatasetExportForImprovement, evaluateDatasetExportArtifactPayloadRead, } from "./improvement/DatasetEligibilityGate.js"; export type { DatasetEligibilityGateAcceptedExample, DatasetEligibilityGateInput, DatasetEligibilityGatePreferenceSignal, DatasetEligibilityGateReason, DatasetEligibilityGateReasonCode, DatasetEligibilityGateRejectedExample, DatasetEligibilityGateReport, DatasetEligibilityGateWarning, DatasetEligibilityGateWarningCode, DatasetEligibilityLineageKey, } from "./improvement/DatasetEligibilityGate.js"; export { CODALI_IMPROVEMENT_MANIFEST_READER_SCHEMA_VERSION, CODALI_IMPROVEMENT_SUPPORTED_EXPORT_KINDS, DatasetExportManifestReader, DatasetExportManifestReaderError, inspectDatasetExportManifestForImprovement, } from "./improvement/DatasetExportManifestReader.js"; export type { DatasetExportArtifactPayloadSummary, DatasetExportCandidateProvenance, DatasetExportImprovementCandidate, DatasetExportManifestReaderInput, DatasetExportManifestReaderResult, DatasetExportManifestReaderWarning, DatasetExportManifestReaderWarningCode, DatasetExportVerifiedArtifact, } from "./improvement/DatasetExportManifestReader.js"; export { CODALI_EVAL_REPLAY_CANDIDATE_SCHEMA_VERSION, buildCodaliEvalReplayCandidateBundle, } from "./improvement/EvalReplayCandidateBuilder.js"; export type { BuildCodaliEvalReplayCandidateBundleInput, CodaliEvalFixtureCandidate, CodaliEvalReplayAcceptedEvidence, CodaliEvalReplayCandidateBundle, CodaliEvalReplayExpectedShape, CodaliEvalReplayImprovementCandidateSummary, CodaliEvalReplayObjectRefSummary, CodaliEvalReplayProposalArtifact, CodaliEvalReplayRecordRefSummary, CodaliEvalReplayRecordShape, CodaliEvalReplayRejectedEvidence, CodaliReplayFixtureCandidate, } from "./improvement/EvalReplayCandidateBuilder.js"; export { CODALI_PATCH_CANDIDATE_SCHEMA_VERSION, CODALI_PATCH_PROPOSAL_ARTIFACTS, buildCodaliPatchCandidateBundle, } from "./improvement/PromptSchemaToolMetadataCandidateBuilder.js"; export type { BuildCodaliPatchCandidateBundleInput, CodaliPatchCandidateBundle, CodaliPatchCandidateKind, CodaliPatchFailureEvidence, CodaliPatchImprovementCandidateSummary, CodaliPatchObjectRefSummary, CodaliPatchOperationType, CodaliPatchPlan, CodaliPatchPlanOperation, CodaliPatchProposalArtifact, CodaliPatchSourceExample, CodaliPromptRegressionEvalCandidate, } from "./improvement/PromptSchemaToolMetadataCandidateBuilder.js"; export { CODALI_CANDIDATE_RELEASE_PLAN_SCHEMA_VERSION, CODALI_CANDIDATE_RELEASE_SCHEMA_VERSION, DEFAULT_CODALI_CANDIDATE_RELEASE_APPROVED_PATHS, DEFAULT_CODALI_CANDIDATE_RELEASE_DIRECTORIES, buildCodaliCandidateRelease, buildCodaliCandidateReleasePlan, } from "./improvement/CandidateReleaseBuilder.js"; export type { BuildCodaliCandidateReleaseInput, BuildCodaliCandidateReleasePlanInput, CodaliCandidateReleaseBuild, CodaliCandidateReleaseChangelogNotes, CodaliCandidateReleaseCommandResult, CodaliCandidateReleaseCommandRunner, CodaliCandidateReleaseDirtyEntry, CodaliCandidateReleaseDirtySummary, CodaliCandidateReleaseGeneratedArtifact, CodaliCandidateReleaseGeneratedArtifactKind, CodaliCandidateReleasePackageVersionTarget, CodaliCandidateReleasePlan, CodaliCandidateReleasePlanGate, CodaliCandidateReleaseSemverBump, CodaliCandidateReleaseWorkspace, CodaliCandidateReleaseWritePlan, CodaliCandidateReleaseWriteStatus, CodaliCandidateReleaseWriteTarget, } from "./improvement/CandidateReleaseBuilder.js"; export { CODALI_IMPROVEMENT_EVAL_GATE_IDS, CODALI_IMPROVEMENT_EVAL_RUNNER_SCHEMA_VERSION, buildCodaliImprovementEvalScorecard, } from "./improvement/ImprovementEvalRunner.js"; export type { BuildCodaliImprovementEvalScorecardInput, CodaliImprovementEvalGateId, CodaliImprovementEvalGateResult, CodaliImprovementEvalGateSeverity, CodaliImprovementEvalGateStatus, CodaliImprovementEvalRunnerResult, CodaliImprovementReleaseApproval, } from "./improvement/ImprovementEvalRunner.js"; export { CODALI_PUBLISH_ORCHESTRATOR_SCHEMA_VERSION, CODALI_PUBLISH_RELEASE_WORKFLOW_FILE, DEFAULT_CODALI_PUBLISH_NPM_REGISTRY, runCodaliPublishOrchestrator, writeCodaliPublishToStorageService, } from "./improvement/PublishOrchestrator.js"; export type { CodaliPublishCommandStep, CodaliPublishCommitGuard, CodaliPublishMode, CodaliPublishNpmVersion, CodaliPublishNpmVersionStatus, CodaliPublishPublisher, CodaliPublishResult, CodaliPublishStatus, CodaliPublishWorkflowConclusion, CodaliPublishWorkflowRunStatus, CodaliPublishWorkflowStatus, RunCodaliPublishOrchestratorInput, WriteCodaliPublishToStorageInput, } from "./improvement/PublishOrchestrator.js"; export { CODALI_RELEASE_OUTCOME_REPORTER_SCHEMA_VERSION, CODALI_RELEASE_ROLLBACK_TRIGGER_CODES, CODALI_RELEASE_RUNTIME_PACKAGE_KINDS, DEFAULT_CODALI_RELEASE_MONITOR_THRESHOLDS, runCodaliReleaseOutcomeReporter, writeCodaliReleaseOutcomeReportToStorageService, } from "./improvement/ReleaseOutcomeReporter.js"; export type { CodaliReleaseImprovementCycleFeedback, CodaliReleaseMonitorStatus, CodaliReleaseMonitorThresholds, CodaliReleaseMonitorWindow, CodaliReleaseObservedMetrics, CodaliReleaseOutcomeReport, CodaliReleaseRollbackEvent, CodaliReleaseRollbackTrigger, CodaliReleaseRollbackTriggerCode, CodaliReleaseRolloutEvent, CodaliReleaseRuntimePackageFlag, CodaliReleaseRuntimePackageKind, CodaliReleaseShadowTrafficReport, RunCodaliReleaseOutcomeReporterInput, WriteCodaliReleaseOutcomeReportToStorageInput, } from "./improvement/ReleaseOutcomeReporter.js"; export { CODALI_DOCDEX_RETRIEVAL_CANDIDATE_SCHEMA_VERSION, CODALI_DOCDEX_RETRIEVAL_PROPOSAL_ARTIFACT, CODALI_DOCDEX_RETRIEVAL_SOURCE_ARTIFACT_TYPES, CODALI_DOCDEX_RETRIEVAL_SUPPORTED_EXPORT_KINDS, buildCodaliDocdexRetrievalCandidateBundle, } from "./improvement/DocdexRetrievalCandidateBuilder.js"; export type { BuildCodaliDocdexRetrievalCandidateBundleInput, CodaliDocdexEvalCommandSpec, CodaliDocdexQueryExpanderEvalCandidate, CodaliDocdexRerankLabel, CodaliDocdexRetrievalCandidateBundle, CodaliDocdexRetrievalCandidateKind, CodaliDocdexRetrievalImprovementCandidateSummary, CodaliDocdexRetrievalObjectRefSummary, CodaliDocdexRetrievalPrivacyScope, CodaliDocdexRetrievalProposalArtifact, CodaliDocdexRetrievalQuerySummary, CodaliDocdexRetrievalQueryVariant, CodaliDocdexRetrievalRegressionCase, CodaliDocdexRetrievalRegressionKind, CodaliDocdexRetrievalScorecard, CodaliDocdexRetrievalSourceExample, CodaliDocdexRetrievalSourceSelection, } from "./improvement/DocdexRetrievalCandidateBuilder.js"; export { CODALI_MODEL_ROUTER_CANDIDATE_SCHEMA_VERSION, CODALI_MODEL_ROUTER_PROPOSAL_ARTIFACT, CODALI_MODEL_ROUTER_SOURCE_ARTIFACT_TYPES, CODALI_MODEL_ROUTER_SUPPORTED_EXPORT_KINDS, buildCodaliModelRouterCandidateBundle, } from "./improvement/ModelRouterCandidateBuilder.js"; export type { BuildCodaliModelRouterCandidateBundleInput, CodaliModelRouterCandidateBundle, CodaliModelRouterCandidateIdentity, CodaliModelRouterCandidateKind, CodaliModelRouterImprovementCandidateSummary, CodaliModelRouterMetricScorecard, CodaliModelRouterObjectRefSummary, CodaliModelRouterPlan, CodaliModelRouterPlanAction, CodaliModelRouterProposalArtifact, CodaliModelRouterRouteCandidate, CodaliModelRouterSourceExample, } from "./improvement/ModelRouterCandidateBuilder.js"; export { CODALI_FINE_TUNE_FINAL_SYNTHESIZER_ROLE, CODALI_FINE_TUNE_JOB_PLANNER_SCHEMA_VERSION, CODALI_FINE_TUNE_PROPOSAL_ARTIFACT, CODALI_FINE_TUNE_WORKER_ROLES, buildCodaliFineTuneJobPlannerBundle, fineTuneArtifactTypesForRole, normalizeCodaliFineTuneWorkerRole, } from "./improvement/FineTuneJobPlanner.js"; export type { BuildCodaliFineTuneJobPlannerBundleInput, CodaliFineTuneAllowedWorkerRole, CodaliFineTuneCandidateKind, CodaliFineTuneCostEstimate, CodaliFineTuneEvalCommandSpec, CodaliFineTuneEvalPlan, CodaliFineTuneImprovementCandidateSummary, CodaliFineTuneInventorySource, CodaliFineTuneInventoryWarning, CodaliFineTuneJobKind, CodaliFineTuneJobPlannerBundle, CodaliFineTuneJobSpec, CodaliFineTuneObjectRefSummary, CodaliFineTuneProposalArtifact, CodaliFineTuneProviderSubmissionPolicy, CodaliFineTuneRollbackPlan, CodaliFineTuneScorecardMetricDelta, CodaliFineTuneScorecardSummary, CodaliFineTuneSourceExample, CodaliFineTuneSourceScorecard, CodaliFineTuneTargetAssignmentSummary, CodaliFineTuneTargetResolution, CodaliFineTuneTrainingManifest, CodaliFineTuneTrainingManifestRecord, CodaliFineTuneWorkerRole, } from "./improvement/FineTuneJobPlanner.js"; export { DEFAULT_STORAGE_SERVICE_IMPROVEMENT_PRODUCT_QUALITY_SUMMARY_ENDPOINT, DEFAULT_STORAGE_SERVICE_IMPROVEMENT_RELEASE_LINEAGE_ENDPOINT, DEFAULT_STORAGE_SERVICE_IMPROVEMENT_CANDIDATES_ENDPOINT, DEFAULT_STORAGE_SERVICE_IMPROVEMENT_RUNS_ENDPOINT, STORAGE_SERVICE_IMPROVEMENT_CLIENT_SCHEMA_VERSION, StorageServiceImprovementClient, StorageServiceImprovementClientError, createStorageServiceImprovementClient, } from "./improvement/StorageServiceImprovementClient.js"; export type { StorageServiceImprovementClientOptions, StorageServiceImprovementProductQualitySummaryInput, StorageServiceImprovementQueryResult, StorageServiceImprovementReleaseLineageInput, StorageServiceImprovementWriteInput, StorageServiceImprovementWriteResult, } from "./improvement/StorageServiceImprovementClient.js"; export { CODALI_OPERATOR_INSPECTOR_SCHEMA_VERSION, DEFAULT_CODALI_OPERATOR_INSPECTION_SEARCH_DIRECTORIES, formatCodaliDatasetRunOperatorInspectionText, formatCodaliReleaseOperatorInspectionText, inspectCodaliDatasetRunForOperators, inspectCodaliReleaseForOperators, } from "./improvement/OperatorInspector.js"; export type { CodaliDatasetRunOperatorInspection, CodaliOperatorAuditSummary, CodaliOperatorBlockedCandidateSummary, CodaliOperatorDatasetRecordSummary, CodaliOperatorDatasetRunSummary, CodaliOperatorEvalGateSummary, CodaliOperatorReleaseArtifactSummary, CodaliOperatorRollbackSummary, CodaliReleaseOperatorInspection, InspectCodaliDatasetRunForOperatorsInput, InspectCodaliReleaseForOperatorsInput, } from "./improvement/OperatorInspector.js"; export { CodaliDatasetPrivacyError, applyCodaliDatasetPolicyOverride, assertCodaliDatasetDurablePersistenceAllowed, assertCodaliDatasetObjectPayloadReadAllowed, detectAndRedactCodaliDatasetSecrets, evaluateCodaliDatasetDurablePersistence, evaluateCodaliDatasetObjectPayloadRead, generateCodaliDatasetPrivacyMetadata, hashCodaliDatasetIdentifier, hashCodaliDatasetIdentifiers, readCodaliDatasetObjectPayload, } from "./storage/CodaliDatasetPrivacyEngine.js"; export { CODALI_STORAGE_CONTRACT_DISTRIBUTION, CODALI_STORAGE_CONTRACT_FIXTURE_SCHEMA_VERSION, CODALI_STORAGE_CONTRACT_JSON_SCHEMAS, CODALI_STORAGE_CONTRACT_MIN_COMPATIBLE_SCHEMA_VERSION, CODALI_STORAGE_CONTRACT_SCHEMA_COMPATIBILITY, CODALI_STORAGE_CONTRACT_SCHEMA_VERSION, CODALI_STORAGE_CONTRACT_SCHEMA_VERSIONS, CODALI_STORAGE_EXPORT_KINDS, isCodaliStoragePrivacyExportAllowed, isCodaliStoragePrivacyTrainingAllowed, isCodaliStoragePrivacyUploadAllowed, isCodaliStorageRecordExportAllowed, isCodaliStorageValidationOk, validateCodaliStorageContractFixtureSet, validateCodaliStorageDatasetRecord, validateCodaliStorageExportManifest, validateCodaliStorageFeedbackRecord, validateCodaliStorageGatewayRecord, validateCodaliStorageImprovementRecord, validateCodaliStorageObjectRef, validateCodaliStoragePrivacyMetadata, validateCodaliStorageRecord, validateCodaliStorageReviewRecord, } from "./storage/CodaliStorageContracts.js"; export type { CodaliStorageExportDeletionGroupSnapshot, CodaliStorageExportKind, CodaliStorageExportLineage, CodaliStorageExportPrivacySummary, } from "./storage/CodaliStorageContracts.js"; export { CODALI_DATASET_EXPORT_JOB_SCHEMA_VERSION, CODALI_DATASET_REPLAY_FIXTURE_SCHEMA_VERSION, CODALI_DATASET_SFT_EXPORT_KINDS, CodaliDatasetExportJobError, runCodaliDatasetExportJob, } from "./storage/DatasetExportJob.js"; export type { CodaliDatasetExportDryRunSummary, CodaliDatasetExportExclusionReason, CodaliDatasetExportJobInput, CodaliDatasetExportJobResult, CodaliDatasetExportStatus, } from "./storage/DatasetExportJob.js"; export { CodaliFeedbackReviewIngestionError, applyCodaliStorageReviewPromotion, buildCodaliStorageFeedbackRecord, buildCodaliStorageReviewRecord, createCodaliFeedbackReviewLocalOnlyPrivacy, defaultCodaliStorageReviewPromotionTarget, normalizeCodaliFeedbackReviewRequesterScope, } from "./storage/CodaliFeedbackReviewIngestion.js"; export { DEFAULT_GATEWAY_DATASET_SERVICE_ENDPOINT, GATEWAY_DATASET_SERVICE_SIGNATURE_VERSION, GatewayDatasetServiceClient, GatewayDatasetServiceClientError, GatewayDatasetCollector, GatewayDatasetStoreError, InMemoryGatewayDatasetObjectStore, InMemoryGatewayDatasetStore, LocalJsonlGatewayDatasetObjectStore, LocalJsonlGatewayDatasetStore, buildGatewayDatasetCollectInputFromGatewayResult, buildGatewayDatasetIdempotencyKey, buildGatewayDatasetServiceSignatureHeaders, canonicalizeGatewayDatasetJson, collectGatewayDatasetResult, collectGatewayDatasetResultNonBlocking, createGatewayDatasetCollector, createGatewayDatasetLocalOnlyObjectPrivacyFlags, createGatewayDatasetLocalOnlyPrivacy, createGatewayDatasetServiceClient, createInMemoryGatewayDatasetObjectStore, createInMemoryGatewayDatasetStore, createLocalJsonlGatewayDatasetObjectStore, createLocalJsonlGatewayDatasetStore, gatewayDatasetScopeFromGatewayResult, hashGatewayDatasetRequestBody, hashGatewayDatasetValue, } from "./storage/GatewayDatasetStore.js"; export { loadInstructionBlocks, formatInstructionBlocks } from "./session/InstructionLoader.js"; export { SessionStore } from "./session/SessionStore.js"; export { SubagentOrchestrator } from "./subagents/SubagentOrchestrator.js"; export type { ProviderMessage, ProviderUsage, } from "./providers/ProviderTypes.js"; export { ClaudeCliProvider } from "./providers/ClaudeCliProvider.js"; export type { CodaliRuntime, CodaliRuntimeAppToolContract, CodaliRuntimeAppToolContracts, CodaliRuntimeAppToolGatewayContract, CodaliOpenAIChunkOptions, CodaliRuntimeAgentInput, CodaliRuntimeDocdexInput, CodaliRuntimeDynamicToolSkip, CodaliRuntimeEvent, CodaliRuntimeInput, CodaliRuntimePolicy, CodaliRuntimeProviderInput, CodaliRuntimeSessionInput, CodaliRuntimeSubagentsInput, CodaliRuntimeTelemetry, CodaliRuntimeToolManifest, CodaliRuntimeToolTelemetryEntry, CodaliRuntimeResult, CodaliRuntimeWorkspace, } from "./runtime/CodaliRuntime.js"; export type { CodaliEvidenceCard, CodaliJobAgentPolicy, CodaliJobBudgets, CodaliJobEvent, CodaliJobRequest, CodaliJobResponsePolicy, CodaliJobRuntimeError, CodaliJobRuntimeInput, CodaliJobRuntimeResult, CodaliJobStageDefinition, CodaliJobStageKind, CodaliJobStageResult, CodaliJobStageStatus, CodaliJobStatus, CodaliJobTelemetry, CodaliJobTelemetryStage, CodaliTaskRunner, CodaliVerifierResult, } from "./runtime/CodaliJobRuntime.js"; export type { CodaliGatewayFinalSynthesisInput, CodaliGatewayFinalSynthesizerOptions, CodaliGatewayOptions, CodaliGatewayPlanResult, CodaliGatewayWorkerRunResult, } from "./gateway/CodaliGateway.js"; export type { CodaliGatewayRejectedFollowUpTask, CodaliGatewayStateMachineInput, CodaliGatewayStateMachineOptions, CodaliGatewayVerificationIteration, CodaliGatewayVerificationLoopResult, CodaliGatewayVerifierRunInput, CodaliGatewayVerifierRunner, CodaliGatewayWorkerExecutionResult, CodaliGatewayWorkerExecutionStatus, CodaliGatewayWorkerModelCallRecord, CodaliGatewayWorkerTaskExecutionResult, CodaliGatewayWorkerTaskRunInput, CodaliGatewayWorkerTaskRunResult, CodaliGatewayWorkerTaskRunner, CodaliGatewayWorkerTaskStatus, CodaliGatewayWorkerToolCallRecord, } from "./gateway/GatewayStateMachine.js"; export type { CodaliEvidenceNormalizerInput, CodaliEvidenceNormalizerResult, CodaliEvidenceNormalizerToolCall, CodaliEvidenceRejectedItem, } from "./gateway/EvidenceNormalizer.js"; export type { CodaliContextPackBuildAndPersistInput, CodaliContextPackBuilderInput, CodaliContextPackBuilderOptions, CodaliContextPackBuildResult, } from "./gateway/ContextPackBuilder.js"; export type { CodaliGatewayCreateRunInput, CodaliGatewayCreateTaskInput, CodaliGatewayRunTrace, CodaliGatewayStore, CodaliGatewayStoreRunStatus, CodaliGatewayStoreTaskStatus, CodaliGatewayStoredArtifact, CodaliGatewayStoredModelCall, CodaliGatewayStoredModelStatus, CodaliGatewayStoredRun, CodaliGatewayStoredTask, CodaliGatewayStoredToolCall, CodaliGatewayStoredToolStatus, CodaliGatewayUpdateRunInput, CodaliGatewayUpdateTaskInput, } from "./gateway/CodaliGatewayStore.js"; export type { CodaliGatewayDebugSummary, CodaliGatewayReplayFixture, CodaliGatewayReplayFixtureInput, CodaliGatewayReplayFixtureModelCall, CodaliGatewayReplayFixtureOptions, CodaliGatewayReplayFixtureToolCall, CodaliGatewayTraceReadInput, CodaliGatewayTraceReadResult, } from "./gateway/GatewayTraceReplay.js"; export type { CodaliGatewayPlanningResult, CodaliGatewayPlannerOptions, CodaliGatewayPlannerToolDescriptor, GatewayPlannerInput, } from "./gateway/GatewayPlanner.js"; export type { CodaliAgentRolePolicy, CodaliAgentTierPolicy, CodaliGatewayApprovalRecord, CodaliGatewayApprovalRequirement, CodaliGatewayApprovalStatus, CodaliGatewayClassifierOutput, CodaliContextPack, CodaliContextPackContradiction, CodaliContextPackExcerpt, CodaliContextPackToolSummary, CodaliEvidenceItem, CodaliGatewayConfidence, CodaliGatewayFinalModel, CodaliGatewayFreshness, CodaliGatewayMessage, CodaliGatewayMessageRole, CodaliGatewayMode, CodaliGatewayModelTier, CodaliGatewayPlannerOutput, CodaliGatewayPolicy, CodaliGatewayPromptHardening, CodaliGatewayRequest, CodaliGatewayResponseFormat, CodaliGatewayResponsePolicy, CodaliGatewayResult, CodaliGatewaySecurityIssue, CodaliGatewaySecurityReview, CodaliGatewaySource, CodaliGatewayStatus, CodaliGatewaySubquestion, CodaliGatewayTenantLimitProfile, CodaliGatewayTrace, CodaliGatewayTraceEvent, CodaliGatewayTraceModelCall, CodaliGatewayTraceToolCall, CodaliGatewayToolRisk, CodaliGatewayToolRiskCategory, CodaliGatewayValidationIssue, CodaliGatewayValidationResult, CodaliGatewayVerifierIssue, CodaliGatewayVerifierOutput, CodaliGatewayWorkerTask, } from "./gateway/CodaliGatewayTypes.js"; export type { AgentTierResolution, AgentTierResolverInput, CodaliGatewayAgentAssignment, CodaliGatewayAgentCandidate, CodaliGatewayAgentCandidateDiagnostic, CodaliGatewayAgentHealth, CodaliGatewayAgentSource, CodaliGatewayAgentTierError, } from "./gateway/AgentTierResolver.js"; export type { GatewayPolicyCompilation, GatewayPolicyCompilerInput, } from "./gateway/GatewayPolicyCompiler.js"; export type { ResolveCodaliGatewaySecurityPolicyInput, } from "./gateway/GatewaySecurityPolicy.js"; export type { CodaliGatewayCompiledToolCapability, CodaliGatewayCompilerIssue, CodaliGatewaySkippedTool, CodaliGatewayToolCapabilityKind, CodaliGatewayToolCapabilityStatus, ToolCapabilityCompilation, ToolCapabilityCompilerInput, } from "./gateway/ToolCapabilityCompiler.js"; export type { AppToolGatewayDispatchErrorCode, AppToolGatewayDispatchInput, AppToolGatewayDispatchResult, CodaliAppToolGatewayRequesterScope, CodaliAppToolGatewayScope, CodaliAppToolGatewaySignedRequest, CodaliAppToolGatewayUnsignedRequest, } from "./gateway/AppToolGatewayDispatcher.js"; export type { CodaliGatewayLiveAgentSummary, CodaliGatewayLiveClassification, CodaliGatewayLiveCommandResult, CodaliGatewayLiveCommandRunner, CodaliGatewayLiveDiscoveryResult, CodaliGatewayLiveHarnessOptions, CodaliGatewayLiveHarnessResult, CodaliGatewayLiveHarnessStatus, CodaliGatewayLiveRoleKey, CodaliGatewayLiveRoleSummary, CodaliGatewayLiveScenarioArtifact, CodaliGatewayLiveScenarioDefinition, CodaliGatewayLiveScenarioId, CodaliGatewayLiveScenarioResult, CodaliGatewayLiveScenarioRunner, CodaliGatewayLiveScenarioRunnerInput, CodaliGatewayLiveScenarioStatus, } from "./eval/CodaliGatewayLiveHarness.js"; export type { CodaliGatewayEvalCase, CodaliGatewayEvalCaseExpectations, CodaliGatewayEvalCaseResult, CodaliGatewayEvalCitationRecord, CodaliGatewayEvalEvidenceRecord, CodaliGatewayEvalGateFailure, CodaliGatewayEvalGateResult, CodaliGatewayEvalImageArtifactRecord, CodaliGatewayEvalMetricDelta, CodaliGatewayEvalMetrics, CodaliGatewayEvalRegressionComparison, CodaliGatewayEvalReport, CodaliGatewayEvalRunRecord, CodaliGatewayEvalRunStatus, CodaliGatewayEvalRunner, CodaliGatewayEvalSuiteOptions, CodaliGatewayEvalTaskType, CodaliGatewayEvalThresholds, } from "./eval/GatewayEvalSuite.js"; export type { CodaliDatasetEligibilityBlocker, CodaliDatasetEligibilityBlockerCode, CodaliDatasetEligibilityDecision, CodaliDatasetHashedIdentifiers, CodaliDatasetIdentifierInput, CodaliDatasetPayloadReadInput, CodaliDatasetPayloadReadResult, CodaliDatasetPolicyAuditEvent, CodaliDatasetPolicyOverride, CodaliDatasetPrivacyAllowances, CodaliDatasetPrivacyEnvelope, CodaliDatasetPrivacyMetadataInput, CodaliDatasetPrivacyPurpose, CodaliDatasetSecretDetectionResult, CodaliDatasetSecretFinding, CodaliDatasetSecretFindingKind, CodaliDatasetTenantScope, } from "./storage/CodaliDatasetPrivacyEngine.js"; export type { CodaliStorageContractDistribution, CodaliStorageContractFixtureSet, CodaliStorageContractJsonSchema, CodaliStorageContractSchemaName, CodaliStorageCandidateRecordRef, CodaliStorageDatasetKind, CodaliStorageDatasetRecord, CodaliStorageExportFormat, CodaliStorageExportManifest, CodaliStorageExportManifestRecordRef, CodaliStorageFeedbackRecord, CodaliStorageFeedbackSource, CodaliStorageGatewayRecord, CodaliStorageGatewayStatus, CodaliStorageImprovementKind, CodaliStorageImprovementRecord, CodaliStorageImprovementStatus, CodaliStorageObjectRef, CodaliStorageObjectRefKind, CodaliStoragePrivacyClassification, CodaliStoragePrivacyMetadata, CodaliStorageProductScope, CodaliStorageRecord, CodaliStorageRecordType, CodaliStorageRedactionStatus, CodaliStorageRequesterScope, CodaliStorageRequesterScopeVisibility, CodaliStorageReviewDecision, CodaliStorageReviewPromotionTarget, CodaliStorageReviewRecord, CodaliStorageReviewerType, CodaliStorageSchemaVersion, CodaliStorageValidationIssue, CodaliStorageValidationResult, } from "./storage/CodaliStorageContracts.js"; export type { ApplyCodaliStorageReviewPromotionInput, BuildCodaliStorageFeedbackRecordInput, BuildCodaliStorageReviewRecordInput, CodaliFeedbackReviewRequesterScopeInput, CodaliFeedbackReviewScopeInput, } from "./storage/CodaliFeedbackReviewIngestion.js"; export type { GatewayDatasetFetch, GatewayDatasetFetchRequest, GatewayDatasetFetchResponse, GatewayDatasetGatewayCollectionInput, GatewayDatasetGatewayCollectionOptions, GatewayDatasetGoldTargetInput, GatewayDatasetGoldTargetKind, GatewayDatasetObjectPutInput, GatewayDatasetObjectStore, GatewayDatasetServiceClientOptions, GatewayDatasetStorageScope, GatewayDatasetStore, GatewayDatasetStoreCollectInput, GatewayDatasetStoreWriteResult, GatewayDatasetStoreWriteStatus, LocalJsonlGatewayDatasetObjectStoreOptions, LocalJsonlGatewayDatasetStoreOptions, } from "./storage/GatewayDatasetStore.js"; export type { InstructionBlock, InstructionLoadOptions, } from "./session/InstructionLoader.js"; export type { CodaliResumeBundle, CodaliSessionMetadata, CodaliSessionStatus, CodaliSessionSummary, CodaliSessionTranscriptEvent, } from "./session/SessionStore.js"; export type { SubagentPermissions, SubagentResult, SubagentRole, SubagentSpec, SubagentStatus, } from "./subagents/SubagentOrchestrator.js"; export { AskCommand, runAsk, parseAskArgs } from "./cli/AskCommand.js"; export type { AskOptions, AskOutcome, AskDependencies } from "./cli/AskCommand.js"; export { getAgentInventory, loadAgentInventory, resetAgentInventoryCache, } from "./agents/AgentInventory.js"; export type { AgentInventoryEntry, AgentInventoryLoadOptions, AgentInventoryLoadResult, } from "./agents/AgentInventory.js"; export { PHASE_ONE_ROLES, resolveConfigurableRoles } from "./agents/RoleResolution.js"; export type { CodaliConfigurableRole, RoleResolutionInput, RoleResolutionResult, } from "./agents/RoleResolution.js"; export { LocalConfigRunContextResolver, ProvidedRunContextResolver, mergeRunContexts, resolveRunContext, scrubRepoConfig, } from "./runcontext/RunContextResolver.js"; export type { RunContext, RunContextAgentRoles, RunContextDocdex, RunContextLimits, RunContextRepo, RunContextResolveInput, RunContextResolver, RunContextTenant, } from "./runcontext/RunContextResolver.js"; export { LocalGatewayTaskRunner, createLocalGatewayTaskRunner, MAX_MODEL_CALLS_PER_TASK, MAX_TOOL_CALLS_PER_TASK, } from "./gateway/LocalGatewayTaskRunner.js"; export type { LocalGatewayTaskRunnerEvent, LocalGatewayTaskRunnerOptions, } from "./gateway/LocalGatewayTaskRunner.js"; export { RoleRoutingProvider, createProviderForAssignment, createProviderForName, providerNameForAdapter, } from "./gateway/LocalGatewayProvider.js"; export { artifactRefsFromStored, decideFinalizerMode, formatArtifactAnswer, formatDeterministicAnswer, } from "./gateway/Finalizer.js"; export type { FinalizerDecision, FinalizerMode } from "./gateway/Finalizer.js"; export { describeViolations, extractJsonPayload, validateResponseAgainstSchema, } from "./gateway/ResponseSchema.js"; export type { ResponseSchemaValidation, ResponseSchemaViolation, } from "./gateway/ResponseSchema.js"; export { GatewayTracer, sanitizeArgs } from "./gateway/GatewayTracer.js"; export type { GatewayTraceRecord, GatewayTracerOptions } from "./gateway/GatewayTracer.js"; export { MAX_EXPANDED_TOOLS, renderCapabilityLines, renderToolLines, } from "./gateway/ToolExposure.js"; export { gatewayToolDescriptorsFromDefinitions, gatewayToolDescriptorsFromRegistry, } from "./gateway/ToolDescriptorSource.js"; export { toolCapabilityForName, DEFAULT_TOOL_CAPABILITY } from "./tools/ToolTypes.js"; export type { ToolCapability, ToolDescriptor } from "./tools/ToolTypes.js"; export { toolDescriptorFor } from "./tools/ToolRegistry.js"; export { filterLocallyDrivable, isLocallyDrivable } from "./agents/AgentInventory.js"; export { CODALI_MCP_CLIENT_INFO, CODALI_MCP_PROTOCOL_VERSION, McpClient, McpClientError, createMcpClient, flattenMcpContent, } from "./connectors/mcp/McpClient.js"; export type { McpCallResult, McpHttpTransportConfig, McpServerConfig, McpServerDefinition, McpStdioTransportConfig, McpToolDefinition, McpTransportConfig, McpTransportKind, } from "./connectors/mcp/McpClient.js"; export { mcpToolName, mcpToolToDefinition, mcpToolsToDefinitions, normalizeMcpInputSchema, parseMcpToolName, } from "./connectors/mcp/McpToolAdapter.js"; export type { McpToolAdapterOptions } from "./connectors/mcp/McpToolAdapter.js"; export { DEFAULT_MAX_CONCURRENT_CALLS, McpServerRegistry, createMcpServerRegistry, } from "./connectors/mcp/McpServerRegistry.js"; export type { McpRegistryEvent, McpServerHealth, McpServerRegistryOptions, } from "./connectors/mcp/McpServerRegistry.js"; export { attachMcpTools } from "./connectors/mcp/McpToolSource.js"; export type { McpAttachOptions, McpAttachResult } from "./connectors/mcp/McpToolSource.js"; export { ToolsCommand, runTools, parseToolsArgs } from "./cli/ToolsCommand.js"; export type { ToolsOptions, ToolsDependencies } from "./cli/ToolsCommand.js"; export { redactSecretValues } from "./gateway/GatewayTracer.js"; export { buildTemporalContext, renderTemporalContext, resolveRelativeRange, } from "./gateway/TemporalContext.js"; export type { AbsoluteRange, TemporalContext } from "./gateway/TemporalContext.js"; export { applyResponseSelector, buildHttpUrl, httpConnectorToDefinitions, httpToolName, httpToolToDefinition, } from "./connectors/http/HttpToolDefinition.js"; export type { HttpConnectorAuth, HttpConnectorDefinition, HttpToolDeclaration, HttpToolMethod, } from "./connectors/http/HttpToolDefinition.js"; export { attachHttpTools } from "./connectors/http/HttpToolSource.js"; export type { HttpAttachOptions, HttpAttachResult } from "./connectors/http/HttpToolSource.js"; export { runCodali, messagesToQuery } from "./api/CodaliApi.js"; export type { CodaliMessage, CodaliRequest, CodaliResult, CodaliRunDependencies, CodaliSourceRef, } from "./api/CodaliApi.js"; export { handleChatCompletion, toCodaliMessages } from "./api/ChatCompletionsAdapter.js"; export type { ChatAdapterDependencies, ChatCompletionMessage, ChatCompletionRequest, ChatCompletionResponse, } from "./api/ChatCompletionsAdapter.js"; export { inspectToolSurface } from "./gateway/ToolSurface.js"; export type { ToolSurfaceEntry, ToolSurfaceReport } from "./gateway/ToolSurface.js"; export { createCodaliServer, startCodaliServer } from "./api/CodaliServer.js"; export type { CodaliServerOptions, CodaliServerPrincipal } from "./api/CodaliServer.js"; export { IMAGE_TOOL_NAME, createImageGenerationTool, } from "./connectors/media/ImageGenerationTool.js"; export type { ImageGenerationConfig, ImageToolOptions, } from "./connectors/media/ImageGenerationTool.js"; export { ServeCommand, runServe } from "./cli/ServeCommand.js"; export { credentialFilePath, loadCredentialFile, parseCredentialFile, resetCredentialCache, resolveCredential, } from "./runcontext/CredentialFile.js"; export { AuthCommand, runAuth, upsertCredential } from "./cli/AuthCommand.js"; export { MICROSOFT_GRAPH_SCOPES, DeviceCodeError, microsoftEndpoints, pollForDeviceCodeTokens, refreshAccessToken, startDeviceCode, } from "./connectors/oauth/DeviceCodeAuth.js"; export type { DeviceCodeConfig, DeviceCodeStartResult, DeviceCodeTokens, } from "./connectors/oauth/DeviceCodeAuth.js"; export { resetAccessTokenCache } from "./connectors/http/HttpToolDefinition.js"; export { createRelevanceJudge, summarizeResultTitles } from "./gateway/RelevanceJudge.js"; export type { RelevanceJudgeOptions } from "./gateway/RelevanceJudge.js"; export type { RelevanceJudge, DocdexToolOptions } from "./tools/docdex/DocdexTools.js"; //# sourceMappingURL=index.d.ts.map