/** * RepoMap 模块 * * 使用 AST 分析和 PageRank 算法生成代码仓库地图 * 参考 Aider 的实现 */ // 主类 export { RepoMap, createRepoMap } from './repomap.js'; // Tag 提取 export { TagExtractor } from './tags/index.js'; // WASM 加载器(用于 standalone 构建) export { setEmbeddedWasm, hasEmbeddedWasm } from './tags/wasm-loader.js'; // PageRank 排序 export { Graph, pagerank, distributeRanksToDefinitions, type PageRankOptions, } from './ranking/index.js'; // 缓存 export { DiskCache, createDiskCache } from './cache/index.js'; // 类型 export type { Tag, TagCacheEntry, RepoMapConfig, GraphEdge } from './types.js';