How socketteer/gitloom works
Main Components
a) Core Components:
• CLI Interface (Entry Point)
• Text Generation Controller
• Git Manager
• File System Handler
• Anthropic API Client
b) External Dependencies:
• Anthropic API (Claude Models)
• Git System
• File System
Component Details
CLI Interface:
• Input parsing for command-line options
• Configuration handling (settings.json)
Text Generation Controller:
• Two modes (Base/Chat)
• Model configuration options
Git Manager:
• Branch management
• Commit handling
• Repository initialization
File System Handler:
• File reading/writing
• Support for different file types (txt/jsonl)
Additional Details
Annotations for:
• Configuration options
• File formats (txt/jsonl)
• Git branch naming conventions
• API key handling
The two distinct modes of operation
Keep the abstraction level focused on the main architectural components while showing the key interactions that make GitLoom unique: the combination of AI text generation with Git version control.