/** * openlore Programmatic API * * This is the public API surface for openlore. Consumers (like OpenSpec CLI) * can import these functions to use openlore as a library. * * @example * ```typescript * import { openloreRun, openloreDrift } from 'openlore'; * * // Run the full pipeline * const result = await openloreRun({ * rootPath: '/path/to/project', * onProgress: (event) => console.log(event.step), * }); * * // Check for drift * const drift = await openloreDrift({ rootPath: '/path/to/project' }); * if (drift.hasDrift) { * console.warn(`${drift.summary.total} drift issues found`); * } * ``` */ export { openloreInit } from './init.js'; export { openloreAnalyze } from './analyze.js'; export { openloreGenerate } from './generate.js'; export { openloreVerify } from './verify.js'; export { openloreDrift } from './drift.js'; export { openloreRun } from './run.js'; export { openloreAudit } from './audit.js'; export { openloreGetSpecRequirements } from './specs.js'; export { openloreRecordDecision, openloreConsolidateDecisions, openloreSyncDecisions } from './decisions.js'; export type { ProgressCallback, ProgressEvent, BaseOptions, InitApiOptions, InitResult, AnalyzeApiOptions, AnalyzeResult, GenerateApiOptions, GenerateResult, VerifyApiOptions, VerifyResult, DriftApiOptions, AuditApiOptions, RunApiOptions, RunResult, } from './types.js'; export type { AuditReport, DriftResult, DriftSeverity, OpenLoreConfig, PendingDecision, DecisionStore, DecisionStatus } from '../types/index.js'; export type { RepositoryMap } from './types.js'; export type { DependencyGraphResult } from '../core/analyzer/dependency-graph.js'; export type { PipelineResult } from '../core/generator/spec-pipeline.js'; export type { GenerationReport } from '../core/generator/openspec-writer.js'; export type { VerificationReport } from '../core/verifier/verification-engine.js'; export type { SpecRequirement } from './specs.js'; //# sourceMappingURL=index.d.ts.map