/** * MonoVector Integration Module for Monomind CLI (lean) * * After the SONA / native / WASM teardown this module provides: * - Initialization state: createInitState() * - Keyword-based task routing: createKeywordRouter() * - Route recommendation→outcome records: recordRoute(), joinOutcome(), accuracy * - AST diff classification: DiffClassifier * * @module @monomind/cli/monovector */ import { type RouteOutcomeRecord } from './route-outcomes.js'; export { analyzeDiff, analyzeDiffSync, assessFileRisk, assessOverallRisk, classifyDiff, clearAllDiffCaches, clearDiffCache, createDiffClassifier, type DiffAnalysis, type DiffAnalysisResult, type DiffChange, type DiffClassification, DiffClassifier, type DiffClassifierConfig, type DiffFile, type DiffHunk, type FileDiff, type FileRisk, getGitDiffNumstat, getGitDiffNumstatAsync, type OverallRisk, type RiskLevel, suggestReviewers, } from './diff-classifier.js'; export { createInitState, type InitState, type InitStatus } from './init-state.js'; export { computeAdherence, computeRoutingAccuracy, joinLatestUnresolved, joinOutcome, type RouteOutcomeRecord, type RoutingAccuracy, readOutcomes, recordRoute, } from './route-outcomes.js'; /** A single alternative route suggestion. */ export interface RouteAlternative { route: string; score?: number; } /** Statistics from the route-outcomes store. */ export interface KeywordRouterStats { outcomeCount: number; accuracy: number | null; adherence: number | null; trend: number | null; byMode: { native: number | null; js: number | null; }; } export interface KeywordRouter { route: (task: string) => Promise; initialize: () => Promise; getStats: () => Promise; update: (task: string, agentId: string, reward: number, nextTask?: string) => Promise; reset: () => Promise; export: () => Promise; import: (data: RouteOutcomeRecord[]) => Promise; } export interface RouteDecision { agentType: string; confidence: number; reasoning?: string; route: string; alternatives?: RouteAlternative[]; } export type KeywordRouterConfig = {}; export declare function createKeywordRouter(_config?: KeywordRouterConfig): KeywordRouter; //# sourceMappingURL=index.d.ts.map