How forloopcodes/unvibe works
Project type and purpose
• This is a Node.js-based command-line interface (CLI) application (“AI File Assistant”) that orchestrates AI-powered file operations, terminal commands, error checking, and a memory/history system.
• It integrates with multiple external AI providers (Ollama, Google Gemini, Mistral, OpenAI, Anthropic) to process user requests.
File structure
• Top-level:
• index.js – the single entry point for CLI logic and orchestration
• package.json / package-lock.json – dependency management and scripts
• README.md / .gitignore
• No subdirectories; modules and services are implemented within index.js or required files.
Extract architectural clues from the README
• Core features: provider adapter support, secure key entry, retry/error logic, memory/history, file I/O, terminal execution.
• Interaction modes: Agent, Chat, Command—each driving different internal flows.
• Providers are pluggable via a strategy/adapter pattern.