/** * @opensip-cli/fitness — public barrel. * * This barrel is the **marketplace contract surface** for the fitness tool: * the check / recipe / plugin authoring API plus the `fitnessTool` plugin * descriptor. It is deliberately curated to match * `docs/public/10-concepts/04-contract-surfaces.md` — a check pack depends * only on what is exported here. * * Engine internals — registries, the recipe service, `ExecutionContext`, * targets/signalers config, the plugin loader, check-package discovery, the * `fit`/`dashboard`/`list-*` CLI handlers, the architecture-gate primitives, * and the persistence repos (`FitBaselineRepo`) — are NOT public. The CLI * drives fitness through the Tool contract (`fitnessTool`), never by importing * those symbols; fitness's own `tool.ts` wires them via relative imports. The * handful that cross-package test suites need are exposed via * `@opensip-cli/fitness/internal` (see `./internal.ts`), which production * code is forbidden from importing (dependency-cruiser `no-cross-package-internal`, * ADR-0009 / ADR-0013). * * The exact value-export set is locked by `__tests__/public-api.test.ts`: * adding or removing a runtime export here fails that test on purpose. Adding * a symbol to this barrel is a minor change; removing one is a major change. */ export { defineCheck } from './framework/define-check.js'; export { defineRegexListCheck } from './framework/define-regex-list-check.js'; export { FITNESS_CONTRACT_VERSION } from './tool.js'; export type { RegexListCheckPattern, RegexListCheckOptions, DefineRegexListCheckConfig, } from './framework/define-regex-list-check.js'; export { defineRecipe } from './recipes/types.js'; export type { FitnessRecipeDefinition } from './recipes/types.js'; export { readPackageVersion } from '@opensip-cli/core'; export type { CheckViolation, CheckScope, FileAccessor, CheckConcern, CheckLanguage, } from './framework/check-config.js'; export type { Check } from './framework/check-types.js'; export { isCheck, collectCheckObjects } from './framework/check-types.js'; export type { Finding, Severity, FindingSeverity, ToolOutput, CheckResult, CheckInfo, CheckResultMetadata, ItemType, } from './types/findings.js'; export { getLineNumber, extractSnippet, isAPIFile } from './framework/result-builder.js'; export { execAbortable } from './framework/abortable-exec.js'; export { matchConventionAlwaysUsed, matchConventionUsedExport } from './framework/conventions.js'; export type { TargetConventionMatch } from './framework/conventions.js'; export type { FileCache } from './framework/file-cache.js'; export { buildImportGraph, findStronglyConnectedComponents } from './framework/import-graph.js'; export type { ImportGraph } from './framework/import-graph.js'; export { isInsideStringLiteral, stripStringLiterals, stripStringLiteralsPreservingPositions, stripStringsAndComments, stripStringsAndCommentsPreservingPositions, } from './framework/strip-literals.js'; export { getCheckConfig, setCurrentRecipeCheckConfig, clearCurrentRecipeCheckConfig, } from './recipes/check-config.js'; export { isCheckAuthoringSource, isCommentLine, isTestFile, applyCheckDisplay, getCheckDisplayName, getCheckIcon, makeDisplayHelpers, createPathMatcher, } from './check-utils/index.js'; export type { IsCommentLineOptions, IsTestFileOptions, DisplayHelpers, PathPattern, } from './check-utils/index.js'; export type { CheckDisplayEntry, FitPluginExports } from './plugins/types.js'; export { fitnessTool, fitnessTool as tool } from './tool.js'; //# sourceMappingURL=index.d.ts.map