Files
codetyper.cli/src/services/learning-service.ts
Carlos Gutierrez 0062e5d9d9 Terminal-based AI coding agent with interactive TUI for autonomous code generation.
Features:
  - Interactive TUI with React/Ink
  - Autonomous agent with tool calls (bash, read, write, edit, glob, grep)
  - Permission system with pattern-based rules
  - Session management with auto-compaction
  - Dual providers: GitHub Copilot and Ollama
  - MCP server integration
  - Todo panel and theme system
  - Streaming responses
  - GitHub-compatible project context
2026-01-27 23:33:06 -05:00

33 lines
1.0 KiB
TypeScript

/**
* Learning Service - Detects and manages project learnings
*
* Identifies patterns in conversations that should be remembered:
* - User preferences (language, file types, coding style)
* - Project conventions (architecture, patterns)
* - Workflow decisions
* - Common patterns to follow
*/
export { detectLearnings } from "@services/learning/detect";
export { analyzeMessage } from "@services/learning/analyze";
export { analyzeAssistantResponse } from "@services/learning/assistant";
export { categorizePattern } from "@services/learning/categorize";
export { deduplicateCandidates } from "@services/learning/deduplicate";
export {
extractLearningContent,
extractLearningFromAcknowledgment,
} from "@services/learning/extract";
export { formatLearningForPrompt } from "@services/learning/format";
export {
saveLearning,
getLearnings,
learningExists,
} from "@services/learning/persistence";
export type {
LearningCandidate,
LearningCategory,
StoredLearning,
MessageSource,
LearningPatternMatch,
} from "@/types/learning";