/**
 * @singularity-forge/mcp-server — MCP server for SF orchestration and project state.
 */

// Path resolution utilities
export { resolveSFRoot } from "@singularity-forge/pi-agent-core";
export type { CaptureEntry, CapturesResult } from "./readers/captures.js";
export { readCaptures } from "./readers/captures.js";
export type { DoctorIssue, DoctorResult } from "./readers/doctor-lite.js";
export { runDoctorLite } from "./readers/doctor-lite.js";
export type {
	ConfidenceTier,
	EdgeType,
	GraphDiffResult,
	GraphEdge,
	GraphNode,
	GraphQueryResult,
	GraphStatusResult,
	KnowledgeGraph,
	NodeType,
} from "./readers/graph.js";
export {
	buildGraph,
	graphDiff,
	graphQuery,
	graphStatus,
	writeGraph,
	writeSnapshot,
} from "./readers/graph.js";
export type { KnowledgeEntry, KnowledgeResult } from "./readers/knowledge.js";
export { readKnowledge } from "./readers/knowledge.js";
export type { HistoryResult, MetricsUnit } from "./readers/metrics.js";
export { readHistory } from "./readers/metrics.js";
export type {
	MilestoneInfo,
	RoadmapResult,
	SliceInfo,
	TaskInfo,
} from "./readers/roadmap.js";
export { readRoadmap } from "./readers/roadmap.js";
export type { ProgressResult } from "./readers/state.js";
// Read-only state readers (usable without a running session)
export { readProgress } from "./readers/state.js";
export { createMcpServer } from "./server.js";
export { SessionManager } from "./session-manager.js";
export type {
	CostAccumulator,
	ExecuteOptions,
	ManagedSession,
	PendingBlocker,
	SessionStatus,
} from "./types.js";
export { INIT_TIMEOUT_MS, MAX_EVENTS } from "./types.js";
