Files
oh-my-opencode/packages/rules-core/src/index.ts
T

21 lines
801 B
TypeScript
Raw Normal View History

2026-05-18 21:18:56 +09:00
export { createAgentsMdCache, createRuleScanCache } from "./cache";
export { findAgentsMdUp, type FindAgentsMdUpInput } from "./agents-md";
export { findRuleFiles } from "./finder";
export { parseRuleFrontmatter } from "./parser";
export { shouldApplyRule, createContentHash, isDuplicateByContentHash, isDuplicateByRealPath, resetMatcherCache, getMatcherCacheStats } from "./matcher";
export { findProjectRoot, clearProjectRootCache } from "./project-root";
export { calculateDistance } from "./distance";
export { findRuleFilesRecursive, safeRealpathSync } from "./scanner";
export type {
AgentsMdCache,
DirectoryScanEntry,
FindRuleFilesOptions,
MatchResult,
RuleFileCandidate,
RuleFrontmatterResult,
RuleMetadata,
RuleScanCache,
RuleScanCacheStats,
RuleSource,
} from "./types";