@bonginkan/maria 3.0.7 β†’ 3.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,668 +1,332 @@
1
- # πŸš€ MARIA v3.0.7
1
+ # πŸš€ MARIA v3.0.9
2
2
 
3
- [![TypeScript](https://img.shields.io/badge/TypeScript-5.0%2B-blue)](https://www.typescriptlang.org/)
4
- [![Node.js](https://img.shields.io/badge/Node.js-18%2B-green)](https://nodejs.org/)
5
- [![npm](https://img.shields.io/npm/v/@bonginkan/maria?label=npm%20package)](https://www.npmjs.com/package/@bonginkan/maria)
6
- [![Downloads](https://img.shields.io/npm/dt/@bonginkan/maria)](https://www.npmjs.com/package/@bonginkan/maria)
7
- [![License](https://img.shields.io/badge/License-SEE%20LICENSE-blue)](https://github.com/bonginkan/maria/blob/main/LICENSE)
8
- [![Quality](https://img.shields.io/badge/Code%20Quality-100%25-brightgreen)](https://github.com/bonginkan/maria)
9
- [![Cognitive Modes](https://img.shields.io/badge/Cognitive%20Modes-50-purple)](https://github.com/bonginkan/maria)
10
- [![Memory System](https://img.shields.io/badge/Memory%20System-Dual--Layer-orange)](https://github.com/bonginkan/maria)
11
-
12
- > **Stable & Reliable** - AI-powered development platform with 50+ working commands, all core features fixed and production-ready.
13
-
14
- ## πŸ–₯️ **MARIA CODE CLI Interface**
15
-
16
- ![MARIA CLI Startup](./images/CLI_visual.png)
17
-
18
- _MARIA's beautiful startup interface with automatic AI service initialization and local LLM detection_
19
-
20
- ## 🎯 What is MARIA?
21
-
22
- MARIA is an enterprise-ready AI development assistant that brings the power of multiple AI providers (OpenAI, Anthropic, Google, Groq, Ollama, etc.) directly to your terminal with 50+ slash commands for every development task.
3
+ **Minimal API, Maximum Power** - Enterprise-ready AI development platform with 3 core services, beautiful CLI experience, and dynamic configuration.
23
4
 
24
- ## 🌟 Key Features - Multi-Language Intelligence System & AI Development
25
-
26
- ### 🌐 **Multi-Language UI System (v3.0.7) - NEW!**
27
-
28
- - **5-Language Support**: Complete UI localization in English, Japanese (ζ—₯本θͺž), Chinese (δΈ­ζ–‡), Korean (ν•œκ΅­μ–΄), Vietnamese (TiαΊΏng Việt)
29
- - **Enhanced Navigation**: Universal arrow key support (↑↓) across all interfaces with real-time selection updates
30
- - **Clean Startup Experience**: Professional ASCII branding with eliminated debug output and consolidated startup flow
31
- - **Consistent Design**: Unicode box drawing characters with 44-character width for all UI components
32
- - **Cultural Adaptation**: Localized date formats, numbering conventions, and proper CJK character handling
33
-
34
- ### πŸ›‘οΈ **HSR (ホウレンソウ) Intelligence System (v2.2.0)**
35
-
36
- - **Human-Centered AI**: Revolutionary human-first architecture with guaranteed human authority
37
- - **Always-Stoppable Operations**: <10ms ESC response guarantee with natural language interruption support
38
- - **Real-time Monitoring**: Complete monitoring platform with 6 new slash commands
39
- - **ULTRATHINK Integration**: Human-supervised AI analysis with branch-by-branch control
40
- - **Enterprise Dashboard**: Multi-format visualization (ASCII, HTML, JSON) with production WebSocket server
41
-
42
- ### πŸ€– **Linux Command Intelligence System (v2.1.7)**
5
+ [![TypeScript](https://img.shields.io/badge/TypeScript-5.0%2B-blue)](https://www.typescriptlang.org/)
6
+ [![Node.js](https://img.shields.io/badge/Node.js-20%2B-green)](https://nodejs.org/)
7
+ [![npm](https://img.shields.io/npm/v/@bonginkan/maria?label=npm%20v3.0.9)](https://www.npmjs.com/package/@bonginkan/maria)
8
+ [![Bundle Size](https://img.shields.io/badge/Bundle-192KB-brightgreen)](https://github.com/bonginkan/maria)
9
+ [![API Surface](https://img.shields.io/badge/Public%20API-3%20Services-blue)](https://github.com/bonginkan/maria)
43
10
 
44
- - **Phase 1 - Intelligence Layer**: Real-time context analysis and command intent recognition (14 intent types)
45
- - **Phase 2 - Autonomous Execution**: Smart command executor with 5-level risk assessment and safety validation
46
- - **Phase 3 - Advanced Operations**: Infrastructure management, file system intelligence, container integration
47
- - **Phase 4 - Learning & Adaptation**: Machine learning engine, workflow automation, anomaly detection
48
- - **100% Integration Tested**: All 4 phases validated on macOS with complete system compatibility
11
+ ## ⚑ 3-Minute Quickstart
49
12
 
50
- ### 🧠 **Revolutionary Dual-Layer Memory System (Enhanced v2.1.7)**
13
+ ### 🎯 What is MARIA v3.0.9?
51
14
 
52
- - **System 1 (Fast/Intuitive)**: Instant pattern recognition with Linux command awareness
53
- - **System 2 (Deliberate/Analytical)**: Deep reasoning with system administration context
54
- - **Intelligence Integration**: Memory system now learns from Linux command patterns
55
- - **Autonomous Learning**: Adapts to your system administration and coding patterns
56
- - **Enhanced Performance**: 60% faster startup with intelligent command caching
15
+ MARIA v3.0.9 revolutionizes AI development with **3 powerful services**, **beautiful CLI experience**, and **rock-solid stability**:
57
16
 
58
- ### 🏠 **Complete Local LLM Integration**
17
+ - 🧠 **IntelligentRouterService** - Smart command routing and analysis
18
+ - 🧩 **DualMemoryEngine** - System 1 & System 2 cognitive memory
19
+ - πŸ“ **FileSystemService** - Safe, atomic file operations
59
20
 
60
- - **Automatic Detection & Setup**: Auto-configures Ollama, vLLM, LM Studio
61
- - **Privacy-First Development**: All processing runs locally on your machine
62
- - **Zero Cloud Dependencies**: Work offline with full AI capabilities
63
- - **Multi-Model Support**: Seamlessly switch between 20+ local models
64
- - **One-Command Setup**: `maria setup-ollama` / `maria setup-vllm` for instant configuration
21
+ ### πŸ†• What's New in v3.0.9
65
22
 
66
- ### πŸ€– **Enterprise AI Development + System Administration**
23
+ #### Critical Fixes
24
+ - βœ… **Fixed `/help` Command** - Completely resolved all help command issues
25
+ - βœ… **Variable Consistency** - Fixed all variable name mismatches
26
+ - βœ… **Error Messages** - Clearer, more helpful error output
27
+ - βœ… **Build Warnings** - Eliminated all build warnings
67
28
 
68
- - **Autonomous Linux Administration**: Complete system management with intelligent command execution
69
- - **Safety-First Operations**: Pre-execution validation with automatic backup and rollback capabilities
70
- - **Learning System Administration**: AI learns your server management patterns and optimizes workflows
71
- - **Memory-Enhanced Commands**: All core commands learn from usage with Linux command intelligence
72
- - **Autonomous Coding Agent**: Complete project development from requirements
73
- - **Multi-Provider Support**: OpenAI, Anthropic, Google, Groq + Local LLMs
74
- - **Interactive Commands**: 50+ slash commands including system administration tools
75
- - **Professional Engineering Modes**: 50+ specialized AI cognitive states for development and ops
29
+ #### Improvements
30
+ - πŸ“ Better help text formatting without underscore prefixes
31
+ - πŸ› Enhanced error handling with proper stack traces
32
+ - πŸ“¦ Cleaner build output
33
+ - 🎯 More reliable command execution
76
34
 
77
- ### πŸš€ **Instant Setup & Usage**
35
+ ### πŸ“¦ Installation
78
36
 
79
37
  ```bash
38
+ # Global installation (recommended)
80
39
  npm install -g @bonginkan/maria
81
- maria setup-ollama # Auto-install local AI
82
- maria # Start interactive development + Linux intelligence
83
- ```
84
-
85
- **Linux Command Intelligence Capabilities (NEW in v2.1.7):**
86
-
87
- - βœ… **Autonomous Linux Administration**: Smart command execution with risk assessment
88
- - βœ… **Safety Validation**: Pre-execution checks with automatic backup creation
89
- - βœ… **Learning Engine**: AI learns your system administration patterns
90
- - βœ… **Workflow Automation**: Complex task orchestration with cron scheduling
91
- - βœ… **Anomaly Detection**: Real-time system monitoring and security analysis
92
- - βœ… **100% Integration Tested**: Complete validation across all 4 intelligence phases
93
-
94
- **Core Development Capabilities:**
95
-
96
- - βœ… **Local AI Models**: Complete offline development environment
97
- - βœ… **Code Generation**: AI-powered development assistance with system context
98
- - βœ… **Quality Analysis**: Real-time code review and optimization
99
- - βœ… **Multi-Language**: Support for all major programming languages
100
- - βœ… **Enterprise Ready**: Professional development workflows with system administration
101
-
102
- ### πŸ€– Linux Command Intelligence System
103
-
104
- #### **Phase 1: Intelligence Layer**
105
- - **Context Analysis Engine**: Real-time system state monitoring with user intent recognition
106
- - **Command Knowledge Base**: Comprehensive Linux command database with risk classification
107
- - **Intent Recognition**: 14 command intent types (FILE_OPERATION, SERVICE_CONTROL, PERFORMANCE_OPTIMIZATION, etc.)
108
- - **Risk Assessment**: 5-level classification system (SAFE β†’ CRITICAL) for command safety
109
-
110
- #### **Phase 2: Autonomous Execution Framework**
111
- - **Smart Command Executor**: Context-aware command processing with intelligent parameter suggestion
112
- - **Safety Validator**: Pre-execution validation with automatic backup creation and rollback planning
113
- - **Progress Tracking**: Real-time execution monitoring with detailed progress reports
114
- - **Dry-run Mode**: Safe command testing without actual system changes
115
-
116
- #### **Phase 3: Advanced Operations Integration**
117
- - **Infrastructure Management**: Service orchestration and process monitoring capabilities
118
- - **File System Intelligence**: Smart file operations with metadata analysis and security checks
119
- - **Network Analysis**: Comprehensive networking diagnostics and troubleshooting
120
- - **Container Integration**: Docker/Podman support for containerized environment management
121
-
122
- #### **Phase 4: Learning & Adaptation System**
123
- - **Machine Learning Engine**: User behavior analysis and command sequence optimization
124
- - **Workflow Automation**: Complex multi-step operations with cron scheduling and error handling
125
- - **Anomaly Detection**: Real-time security and performance monitoring with intelligent alerting
126
- - **Adaptive Intelligence**: Self-improving system that learns from user patterns and optimizes workflows
127
-
128
- ### 🎯 Development Features
129
-
130
- - **Interactive Learning**: Hands-on algorithm education with visualization
131
- - **Performance Analysis**: Real-time performance metrics and optimization
132
- - **Professional Engineering**: Industry-standard development practices
133
- - **Visual Progress**: Beautiful CLI interface with progress tracking
134
- - **Autonomous Execution**: Complete task automation from requirements
135
-
136
- ### πŸ€– Intelligent Router - Natural Language Command System
137
-
138
- - **🌍 5-Language Support**: Native understanding in **English, Japanese, Chinese, Korean, Vietnamese**
139
- - **Intent Recognition**: "write code" β†’ `/code` automatic execution (95%+ accuracy)
140
- - **Contextual Understanding**: Smart parameter extraction from natural conversation
141
- - **Learning Engine**: Adapts to user patterns for personalized experience
142
-
143
- **Multi-Language Examples:**
144
40
 
145
- ```bash
146
- English: "write code" β†’ /code
147
- Japanese: "コードを書いて" β†’ /code
148
- Chinese: "写代码" β†’ /code
149
- Korean: "μ½”λ“œλ₯Ό μž‘μ„±ν•΄" β†’ /code
150
- Vietnamese: "viαΊΏt code" β†’ /code
41
+ # Or with pnpm
42
+ pnpm add -g @bonginkan/maria
151
43
  ```
152
44
 
153
- ### πŸ’» **AI-Powered Coding Assistant**
45
+ ### πŸš€ Quick Start
154
46
 
155
- **Professional development with intelligent AI assistance:**
156
47
  ```bash
157
- /code # Generate any code instantly with AI
158
- /review # Professional code review & optimization
159
- /bug # Intelligent bug detection & auto-fix
160
- /lint # Code quality analysis & auto-correction
161
- /test # Generate comprehensive test suites
162
- ```
48
+ # Launch beautiful interactive mode
49
+ maria
163
50
 
164
- **Real Results for Engineers:**
165
- - Generates production-ready code in seconds
166
- - Detects 40+ bug patterns with AI analysis
167
- - Automatically fixes ESLint and TypeScript issues
168
- - Creates test cases that actually pass
169
- - Professional code reviews with improvement suggestions
51
+ # Run API demonstration
52
+ maria --demo
170
53
 
171
- ### 🏠 **Complete Local LLM Integration**
54
+ # Test intelligent routing
55
+ maria route "create a React component with TypeScript"
172
56
 
173
- **Privacy-first development with local AI models:**
174
- ```bash
175
- /setup # One-command setup for Ollama, vLLM, LM Studio
176
- /model # Switch between cloud & local models instantly
177
- /status # Monitor local AI service health
57
+ # Show help
58
+ maria --help
178
59
  ```
179
60
 
180
- **Privacy & Performance Benefits:**
181
- - Your code never leaves your machine
182
- - Works 100% offline with local models
183
- - Supports 20+ local LLM models
184
- - Auto-detects and configures local AI services
185
- - No API keys required for local models
61
+ ## 🎨 Beautiful CLI Experience
186
62
 
187
- ### 🧠 **Advanced Intelligence for Researchers**
63
+ When you run `maria`, you'll see:
188
64
 
189
- **Sophisticated AI features for research & complex projects:**
190
- ```bash
191
- /mode # Access 50+ cognitive modes (✽ Thinking, ✽ Analyzing...)
192
- /memory # Intelligent context preservation across sessions
193
- /agents # Deploy specialized AI research assistants
194
- /paper # Transform research papers into working code
195
65
  ```
196
-
197
- **Research-Grade Features:**
198
- - 50+ internal cognitive modes for different thinking patterns
199
- - Cross-session learning and knowledge retention
200
- - Multi-agent orchestration for complex tasks
201
- - Paper-to-code transformation for research implementation
202
-
203
- ### 🎨 **Creative Tools & Documentation**
204
-
205
- **Bonus features for presentations and documentation:**
206
- ```bash
207
- /image # AI image generation for presentations & documentation
208
- /video # Create demo videos & tutorials
209
- /avatar # Interactive ASCII avatar companion
210
- /voice # Voice-based coding conversations
66
+ ╔══════════════════════════════════════════════════════════╗
67
+ β•‘ β–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β•‘
68
+ β•‘ β–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•— β•‘
69
+ β•‘ β–ˆβ–ˆβ•”β–ˆβ–ˆβ–ˆβ–ˆβ•”β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘ β•‘
70
+ β•‘ β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘ β•‘
71
+ β•‘ β–ˆβ–ˆβ•‘ β•šβ•β• β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘ β•‘
72
+ β•‘ β•šβ•β• β•šβ•β•β•šβ•β• β•šβ•β•β•šβ•β• β•šβ•β•β•šβ•β•β•šβ•β• β•šβ•β• β•‘
73
+ β•‘ AI-Powered Development Platform β•‘
74
+ β•‘ (c) 2025 Bonginkan Inc. β•‘
75
+ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
76
+
77
+ MARIA CODE v3.0.9 β€” Ready
78
+ /help for commands | Providers: 8/8 OK
79
+
80
+ Available AI Providers:
81
+ ☁️ Cloud AI: OpenAI, Anthropic, Google, Groq, xAI
82
+ πŸ’» Local AI: Ollama, LM Studio, vLLM
211
83
  ```
212
84
 
213
- **Creative Benefits:**
214
- - Generate diagrams and visuals for technical documentation
215
- - Create demo videos for project presentations
216
- - Interactive avatar for engaging user experiences
217
- - Voice conversations for hands-free coding
218
-
219
- ### πŸ’‘ **Why Engineers & Researchers Choose MARIA**
220
-
221
- ```bash
222
- # Natural language commands for development & system administration:
223
- "Create a React component for user authentication"
224
- "Fix this TypeScript error in my API"
225
- "Generate comprehensive tests for my algorithm"
226
- "Set up Ollama with local LLM models"
227
- "Check system performance and optimize"
228
- "Create automated backup workflow"
229
- "Analyze disk usage and clean up files"
230
- "Monitor services and restart if needed"
231
- ```
85
+ ## πŸ’» Programmatic API
232
86
 
233
- **Real developer feedback:**
234
- - *"MARIA saved me 6 hours on my last research project"*
235
- - *"Local LLM support means my proprietary code stays secure"*
236
- - *"The cognitive modes help me think through complex algorithms"*
237
- - *"Best AI coding assistant for serious development work"*
87
+ ### Core Services Example
238
88
 
239
- ## Quick Start
89
+ ```typescript
90
+ import {
91
+ IntelligentRouterService,
92
+ DualMemoryEngine,
93
+ FileSystemService
94
+ } from '@bonginkan/maria';
95
+
96
+ // 🧠 Intelligent Routing
97
+ const router = new IntelligentRouterService({
98
+ confidenceThreshold: 0.85,
99
+ enableLearning: true,
100
+ enableConfirmation: false
101
+ });
240
102
 
241
- ### Installation
103
+ const result = await router.route('optimize my database queries');
104
+ console.log('Route:', result.command);
105
+ console.log('Confidence:', result.confidence);
106
+
107
+ // 🧩 Dual Memory System
108
+ const memory = new DualMemoryEngine({
109
+ system1: { maxKnowledgeNodes: 1000, accessDecayRate: 0.01 },
110
+ system2: { maxReasoningTraces: 100, qualityThreshold: 0.7 },
111
+ coordinator: {
112
+ syncInterval: 1000,
113
+ conflictResolutionStrategy: 'balanced',
114
+ learningRate: 0.1
115
+ }
116
+ });
242
117
 
243
- ```bash
244
- # Install globally via npm
245
- npm install -g @bonginkan/maria
118
+ await memory.store('project_context', {
119
+ language: 'typescript',
120
+ framework: 'react',
121
+ patterns: ['hooks', 'components']
122
+ });
246
123
 
247
- # Verify installation
248
- maria --version
249
- # Output: MARIA Platform v2.2.1 "Multi-Language Intelligence Edition"
124
+ const insights = await memory.query('best practices for React hooks');
250
125
 
251
- # Setup local AI models (optional)
252
- maria setup-ollama # Install and configure Ollama
253
- maria setup-vllm # Install and configure vLLM
126
+ // πŸ“ Safe File Operations
127
+ const fs = new FileSystemService({
128
+ enableBackup: true,
129
+ enableSafeMode: true
130
+ });
254
131
 
255
- # Start interactive mode with Linux Command Intelligence
256
- maria
257
- # Linux Command Intelligence System initializes automatically
258
- # All system administration commands now benefit from AI intelligence
132
+ await fs.writeFile('/path/to/file.ts', content);
133
+ await fs.copy('/src', '/backup');
259
134
  ```
260
135
 
261
- ### πŸ–₯️ **Live CLI Session Example**
136
+ ## πŸ—οΈ Architecture
262
137
 
263
- ![MARIA CLI Startup](./images/CLI_visual.png)
138
+ ### Minimal API Philosophy
264
139
 
265
- **Terminal Output:**
266
-
267
- ```bash
268
- πŸš€ Initializing AI Services...
140
+ MARIA v3.0.0 follows **Minimal API, Maximum Power**:
269
141
 
270
- Local AI Services:
271
- LM Studio [●●●●●●●●●●●●●●●●●●●] 0% βš™οΈ Checking availability...
272
- Ollama [●●●●●●●●●●●●●●●●●●●] 0% βš™οΈ Checking availability...
273
- vLLM [●●●●●●●●●●●●●●●●●●●] 0% βš™οΈ Checking availability...
274
-
275
- πŸš€ Initializing AI Services...
276
-
277
- > _
278
142
  ```
279
-
280
- **πŸ’» Core Development Commands (Essential for Engineers):**
281
-
282
- ```bash
283
- /code <prompt> # AI-powered code generation with memory learning
284
- /test <prompt> # Generate comprehensive test suites
285
- /bug # Intelligent bug detection & auto-fix
286
- /review # Professional code review & optimization
287
- /paper <query> # Transform research papers into working code
143
+ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
144
+ β”‚ MARIA v3.0.0 β”‚
145
+ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
146
+ β”‚ 🧠 IntelligentRouterService β”‚
147
+ β”‚ β”œβ”€β”€ Smart command routing β”‚
148
+ β”‚ β”œβ”€β”€ Context-aware analysis β”‚
149
+ β”‚ └── Learning capabilities β”‚
150
+ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
151
+ β”‚ 🧩 DualMemoryEngine β”‚
152
+ β”‚ β”œβ”€β”€ System 1: Fast, intuitive β”‚
153
+ β”‚ β”œβ”€β”€ System 2: Deliberate, analytical β”‚
154
+ β”‚ └── Cross-session learning β”‚
155
+ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
156
+ β”‚ πŸ“ FileSystemService β”‚
157
+ β”‚ β”œβ”€β”€ Atomic operations β”‚
158
+ β”‚ β”œβ”€β”€ Backup management β”‚
159
+ β”‚ └── Safety validation β”‚
160
+ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
288
161
  ```
289
162
 
290
- **🏠 Local AI Integration (Privacy-First Development):**
163
+ ### Key Features
291
164
 
292
- ```bash
293
- /model # Interactive model selector (↑/↓ arrows)
294
- /status # Check all AI service availability
295
- maria setup-ollama # Auto-configure Ollama (CLI command)
296
- maria setup-vllm # Auto-configure vLLM (CLI command)
297
- ```
165
+ | Feature | Description | Status |
166
+ |---------|-------------|--------|
167
+ | **Beautiful CLI** | Professional startup with AI provider selection | βœ… |
168
+ | **Dynamic Version** | Auto-sourced from package.json | βœ… |
169
+ | **3 Core Services** | Essential AI development capabilities | βœ… |
170
+ | **Type Safety** | 100% TypeScript with strict mode | βœ… |
171
+ | **Zero Config** | Works out of the box | βœ… |
172
+ | **8 AI Providers** | OpenAI, Anthropic, Google, Groq, xAI, Ollama, LM Studio, vLLM | βœ… |
298
173
 
299
- **🧠 Advanced Intelligence Features (For Researchers):**
300
-
301
- ```bash
302
- /mode # Access 50+ cognitive modes (✽ Thinking, ✽ Analyzing...)
303
- /memory # Dual-layer memory system status & management
304
- /agents # Deploy specialized AI research assistants
305
- /mcp # Model Context Protocol integration
306
- /chain <commands> # Command chaining for complex workflows
307
- ```
174
+ ## πŸš€ Performance
308
175
 
309
- **🌍 Natural Language Support (5 Languages):**
176
+ ### Metrics
177
+ - **Startup Time**: < 1000ms cold start
178
+ - **Memory Usage**: < 256MB heap maximum
179
+ - **Bundle Size**: 192KB (optimized)
180
+ - **API Response**: < 100ms for core operations
310
181
 
182
+ ### Benchmarks
311
183
  ```bash
312
- English: "write code" # β†’ /code
313
- Japanese: "コードを書いて" # β†’ /code
314
- Chinese: "写代码" # β†’ /code
315
- Korean: "μ½”λ“œλ₯Ό μž‘μ„±ν•΄" # β†’ /code
316
- Vietnamese: "viαΊΏt code" # β†’ /code
184
+ # Run performance benchmarks
185
+ pnpm perf:bench
317
186
  ```
318
187
 
319
- **🎨 Creative & Productivity Tools:**
188
+ ## πŸ› οΈ Development
320
189
 
321
- ```bash
322
- /image <prompt> # AI image generation for presentations
323
- /video <prompt> # Create demo videos & documentation
324
- /avatar # Interactive ASCII avatar companion
325
- /template # Code template management
326
- /alias # Custom command aliases
327
- ```
328
-
329
- ### Alternative Installation Methods
190
+ ### Requirements
191
+ - Node.js 20.10.0+
192
+ - pnpm v10.10.0 (recommended)
193
+ - TypeScript 5.0+
330
194
 
195
+ ### Build Commands
331
196
  ```bash
332
- # Using yarn
333
- yarn global add @bonginkan/maria
334
-
335
- # Using pnpm
336
- pnpm add -g @bonginkan/maria
337
- ```
197
+ # Install dependencies
198
+ pnpm install
338
199
 
339
- ## 🎯 Usage Examples
200
+ # Build the project
201
+ pnpm build
340
202
 
341
- ### Basic Interactive Mode
203
+ # Run tests
204
+ pnpm test
342
205
 
343
- ```bash
344
- # Start MARIA interactive CLI (default command)
345
- maria
206
+ # Type checking
207
+ pnpm type-check
346
208
 
347
- # One-shot commands (non-interactive)
348
- maria ask "How do I implement OAuth?"
349
- maria code "React component for login"
350
- maria vision image.png "Describe this diagram"
351
-
352
- # Available slash commands in interactive mode:
353
- > /help # Show all 40+ commands
354
- > /code "hello world function" # AI code generation with memory
355
- > /model # Interactive model selector
356
- > /memory # Dual-layer memory system
357
- > /status # System & AI service status
358
- > /agents # Multi-agent orchestration
359
- > /exit # Exit interactive mode
209
+ # Lint code
210
+ pnpm lint
360
211
  ```
361
212
 
362
- ### Algorithm Education Commands
213
+ ### Command Registry
214
+ MARIA v3.0.0 includes a revolutionary command registry with:
215
+ - **68+ Commands**: Full enterprise command suite
216
+ - **Type Safety**: Runtime validation with TypeScript support
217
+ - **Fuzzy Search**: Smart typo tolerance (`/hlp` β†’ `/help`)
218
+ - **Auto-Generation**: Automated type generation
219
+ - **7 Categories**: From core commands to AI coding agent
363
220
 
364
221
  ```bash
365
- # Start MARIA and use algorithm education slash commands
366
- maria
367
- > /sort quicksort --visualize # Interactive sorting visualization
368
- > /learn algorithms # Complete CS curriculum
369
- > /benchmark sorting # Performance analysis
370
- > /algorithm complexity # Big O notation tutorials
371
- > /code "merge sort implementation" # AI-generated algorithms
372
- ```
373
-
374
- ### 40+ Interactive Slash Commands
222
+ # Generate command types
223
+ pnpm gen:cmd-types
375
224
 
376
- ```bash
377
- # All commands are slash commands within interactive mode
378
- maria
379
- > /help # Show all 40+ commands
380
- > /model # Interactive AI model selection
381
- > /code "function" # AI code generation with memory
382
- > /test "unit tests" # Generate comprehensive tests
383
- > /memory # Dual-layer memory system
384
- > /agents # Multi-agent orchestration
385
- > /paper "ML optimization" # Research paper to code
386
- > /status # System & AI service status
387
- > /exit # Exit MARIA
225
+ # Test registry integrity
226
+ pnpm test:registry
388
227
  ```
389
228
 
390
- ## 🎨 Key Features
391
-
392
- ### πŸ€– Autonomous Coding Agent
393
-
394
- - **Complete SOW Generation**: Automatic Statement of Work creation
395
- - **Visual Mode Display**: Real-time progress with beautiful UI
396
- - **Active Reporting**: Progress tracking and status updates
397
- - **Self-Evolution**: Learning engine that improves over time
398
- - **120+ Engineering Modes**: Professional development patterns
399
-
400
- ### πŸ“Š Algorithm Education Platform
229
+ ## πŸ“± AI Provider Support
401
230
 
402
- - **Interactive QuickSort**: Step-by-step algorithm visualization
403
- - **Performance Benchmarking**: Compare algorithm efficiency
404
- - **Memory Profiling**: Analyze memory usage patterns
405
- - **Educational Tools**: Computer science curriculum support
406
- - **Sorting Algorithms**: Complete collection with analysis
231
+ ### Cloud Providers
232
+ - **OpenAI** - GPT models with vision and reasoning
233
+ - **Anthropic** - Claude models with advanced reasoning
234
+ - **Google** - Gemini models with multimodal capabilities
235
+ - **Groq** - Ultra-fast inference
236
+ - **xAI** - Grok models with real-time data
407
237
 
408
- ### πŸ”§ Development Tools
238
+ ### Local Providers
239
+ - **Ollama** - Local LLM runner
240
+ - **LM Studio** - Local model management
241
+ - **vLLM** - High-performance inference server
409
242
 
410
- - **AI Code Generation**: Multi-language code creation
411
- - **Intelligent Assistance**: Context-aware development help
412
- - **Project Analysis**: Codebase understanding and insights
413
- - **Quality Assurance**: Automated testing and validation
414
- - **Version Control**: Git integration and workflow support
243
+ ## 🌍 Multi-Language Support
415
244
 
416
- ## 🌍 Supported Platforms
417
-
418
- - **Node.js**: 18.0.0 - 22.x
419
- - **Primary OS Support**: macOS, Linux (optimized)
420
- - **Secondary OS Support**: Windows
421
- - **Terminals**: All major terminal applications
422
- - **Shells**: bash, zsh (recommended), fish, PowerShell
245
+ MARIA supports development in multiple languages:
246
+ - πŸ‡ΊπŸ‡Έ **English** - Primary language
247
+ - πŸ‡―πŸ‡΅ **Japanese** - ζ—₯本θͺžγ‚΅γƒγƒΌγƒˆ
248
+ - πŸ‡¨πŸ‡³ **Chinese** - δΈ­ζ–‡ζ”―ζŒ
249
+ - πŸ‡°πŸ‡· **Korean** - ν•œκ΅­μ–΄ 지원
250
+ - πŸ‡»πŸ‡³ **Vietnamese** - Hα»— trợ tiαΊΏng Việt
423
251
 
424
252
  ## πŸ“š Documentation
425
253
 
426
- ### Command Reference
427
-
428
- - **Interactive Mode**: `maria` (starts directly)
429
- - **All Commands**: `/help` within interactive mode
430
- - **Algorithm Education**: `/sort`, `/learn`, `/algorithm` commands
431
- - **AI Development**: `/code`, `/bug`, `/lint`, `/model` commands
432
- - **System Status**: `/status` command
433
-
434
- ### Examples and Tutorials
254
+ ### API Documentation
255
+ - **IntelligentRouterService**: [API Reference](docs/api/router.md)
256
+ - **DualMemoryEngine**: [API Reference](docs/api/memory.md)
257
+ - **FileSystemService**: [API Reference](docs/api/filesystem.md)
435
258
 
436
- - **Getting Started**: Run `maria` and type `/help`
437
- - **Algorithm Learning**: Use `/sort quicksort --visualize` for interactive tutorials
438
- - **Development Workflow**: AI-assisted coding with `/code` commands
439
- - **Performance Analysis**: Built-in benchmarking with `/benchmark` commands
440
-
441
- ## πŸ”§ Configuration
442
-
443
- MARIA works out of the box with no configuration required. For advanced features:
444
-
445
- ```bash
446
- # Start interactive mode (default)
447
- maria
448
-
449
- # Check system status
450
- > /status
451
-
452
- # Configure AI providers
453
- > /model # Select from 22+ AI models (GPT, Claude, Gemini, Local LLMs)
454
-
455
- # Algorithm education
456
- > /sort quicksort --visualize # Interactive learning
457
- ```
259
+ ### Guides
260
+ - **Quick Start**: [Getting Started Guide](docs/quickstart.md)
261
+ - **CLI Usage**: [Command Line Interface](docs/cli.md)
262
+ - **Configuration**: [Configuration Guide](docs/config.md)
458
263
 
459
264
  ## 🀝 Contributing
460
265
 
461
- We welcome contributions to MARIA! Please check our [contribution guidelines](https://github.com/bonginkan/maria/blob/main/CONTRIBUTING.md).
266
+ We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.
462
267
 
463
268
  ### Development Setup
464
-
465
269
  ```bash
466
- # Clone the repository
270
+ # Clone repository
467
271
  git clone https://github.com/bonginkan/maria.git
468
272
  cd maria
469
273
 
470
274
  # Install dependencies
471
- npm install
275
+ pnpm install
472
276
 
473
- # Build the project
474
- npm run build
277
+ # Run development build
278
+ pnpm dev
475
279
 
476
- # Run locally
477
- ./bin/maria
280
+ # Run tests
281
+ pnpm test
282
+
283
+ # Submit pull request
478
284
  ```
479
285
 
480
286
  ## πŸ“„ License
481
287
 
482
- **Dual-License Model**: Personal Use (Free) / Enterprise (Paid)
483
-
484
- - **Personal Use**: Free for individuals, students, and startups (<10 employees, <$1M ARR)
485
- - **Enterprise**: Commercial license required for larger organizations
486
- - **Contact**: enterprise@bonginkan.ai for enterprise licensing
288
+ **Dual License Model:**
289
+ - **Personal Use**: MIT License - Free for individual developers
290
+ - **Enterprise Use**: Commercial License - Contact for enterprise pricing
487
291
 
488
- See [LICENSE](https://github.com/bonginkan/maria/blob/main/LICENSE) for complete terms.
292
+ See [LICENSE](LICENSE) for full details.
489
293
 
490
294
  ## πŸ”— Links
491
295
 
492
- - **NPM Package**: [npmjs.com/package/@bonginkan/maria](https://www.npmjs.com/package/@bonginkan/maria)
493
- - **GitHub Repository**: [github.com/bonginkan/maria](https://github.com/bonginkan/maria)
494
- - **Documentation**: Available via `maria --help`
495
- - **Support**: [GitHub Issues](https://github.com/bonginkan/maria/issues)
496
-
497
- ## 🎯 What Makes MARIA Special
296
+ - **NPM Package**: https://www.npmjs.com/package/@bonginkan/maria
297
+ - **GitHub Repository**: https://github.com/bonginkan/maria
298
+ - **Documentation**: https://docs.maria-ai.dev
299
+ - **Support**: https://github.com/bonginkan/maria/issues
498
300
 
499
- ### Revolutionary AI Development
301
+ ## πŸŽ‰ What's New in v3.0.0
500
302
 
501
- - **First Autonomous AI**: Complete software development from requirements
502
- - **Visual Progress**: Beautiful CLI with real-time feedback
503
- - **Educational Focus**: Algorithm learning with interactive visualization
504
- - **Professional Quality**: Industry-standard engineering practices
303
+ ### ✨ Revolutionary Changes
304
+ - **Minimal API Surface**: Reduced from 50+ to 3 core services
305
+ - **Beautiful CLI Experience**: Professional startup screen with provider selection
306
+ - **Dynamic Configuration**: Self-updating version from package.json
307
+ - **Zero-Config Philosophy**: Works perfectly out of the box
308
+ - **Performance Optimized**: 192KB bundle, < 1s startup time
505
309
 
506
- ### Cutting-Edge Technology
310
+ ### 🚨 Breaking Changes from v2.x
311
+ - **API Simplification**: Many internal services no longer exposed
312
+ - **New CLI Interface**: Updated startup and provider selection flow
313
+ - **Configuration Changes**: Streamlined config format
507
314
 
508
- - **Advanced AI Integration**: Multiple AI model support
509
- - **Intelligent Automation**: Self-learning and adaptation
510
- - **Modern CLI Experience**: Beautiful, responsive interface
511
- - **Cross-Platform**: Works everywhere Node.js runs
512
-
513
- ### Perfect for:
514
-
515
- <<<<<<< HEAD
516
- session.addStep({ id: 'upload', name: 'Upload to Cloud API' });
517
- session.startStep('upload');
518
- session.updateProgress('upload', 75, 'Uploading image...');
519
- session.completeStep('upload');
520
- ```
521
-
522
- ### **Multi-Provider Vision AI**
523
- ```typescript
524
- // Intelligent provider selection with fallback
525
- const visionAnalyzer = new VisionAnalyzer({
526
- preferredProvider: 'auto', // Gemini β†’ GPT-4o-mini β†’ Local OCR
527
- enableLocalFallback: true,
528
- networkTimeout: 10000
529
- });
530
- ```
531
-
532
- ## πŸ”§ **Configuration**
533
-
534
- ### **Environment Setup**
315
+ ### πŸ”„ Migration Guide
535
316
  ```bash
536
- # Create .env.local file
537
- OPENAI_API_KEY=sk-...
538
- ANTHROPIC_API_KEY=sk-ant-...
539
- GOOGLE_API_KEY=...
540
- GROQ_API_KEY=gsk_...
541
-
542
- # Local LLM Configuration (auto-detected)
543
- OLLAMA_BASE_URL=http://localhost:11434
544
- VLLM_BASE_URL=http://localhost:8000
545
- LMSTUDIO_BASE_URL=http://localhost:1234
546
- ```
317
+ # Update to v3.0.0
318
+ npm update @bonginkan/maria
547
319
 
548
- ### **Advanced Configuration**
549
- ```javascript
550
- // .maria/config.json
551
- {
552
- "cliNative": {
553
- "enableAudit": true,
554
- "enableSafety": true,
555
- "parallelExecution": true,
556
- "dryRunByDefault": false
557
- },
558
- "visionAI": {
559
- "preferredProvider": "gemini-2.0-flash",
560
- "enableLocalFallback": true,
561
- "networkTimeout": 10000
562
- },
563
- "progressReporting": {
564
- "showAnimations": true,
565
- "compactMode": false,
566
- "showTimestamps": true
567
- }
568
- }
569
- ```
320
+ # Update imports
321
+ // Before (v2.x)
322
+ import { ComplexService, InternalAPI } from '@bonginkan/maria';
570
323
 
571
- ## πŸ“Š **Technical Specifications**
572
-
573
- ### **Performance Metrics**
574
- - **Build Performance**: Up to 3x faster with intelligent caching
575
- - **Test Optimization**: 50-80% reduction in execution time
576
- - **Memory Operations**: <50ms response time
577
- - **Service Discovery**: Sub-50ms service lookup
578
- - **API Gateway**: 10,000+ RPS with load balancing
579
-
580
- ### **Architecture**
581
- - **Components**: 100+ TypeScript modules
582
- - **Commands**: 50+ professional CLI commands
583
- - **Cognitive Modes**: 58+ specialized AI states
584
- - **Vision Providers**: 3 providers (Gemini, OpenAI, local OCR)
585
- - **Memory System**: Event sourcing with SQLite persistence
586
-
587
- ### **Enterprise Features**
588
- - **Security**: End-to-end authentication and authorization
589
- - **Scalability**: Auto-scaling based on metrics and thresholds
590
- - **Reliability**: Circuit breakers and automatic recovery
591
- - **Observability**: Full-stack monitoring with distributed tracing
592
- - **Compliance**: Audit logging and security scanning
593
-
594
- ## πŸ›‘οΈ **Safety & Security**
595
-
596
- - **Dry-Run Mode**: Preview all changes before execution
597
- - **Automatic Backups**: Before any destructive operation
598
- - **Rollback Capability**: Complete undo functionality
599
- - **Protected Paths**: Prevents system-critical modifications
600
- - **Risk Assessment**: Automatic danger level evaluation
601
-
602
- ## πŸŽ“ **Learning Resources**
603
-
604
- ### **Documentation**
605
- - [CLI Command Reference](https://maria.ai/docs/cli-commands)
606
- - [Vision AI Integration](https://maria.ai/docs/vision-ai)
607
- - [Microservices Guide](https://maria.ai/docs/microservices)
608
- - [Memory System](https://maria.ai/docs/memory-system)
609
-
610
- ### **Examples & Tutorials**
611
- - [Getting Started Tutorial](https://maria.ai/tutorials/getting-started)
612
- - [Image Processing Workflow](https://maria.ai/tutorials/image-processing)
613
- - [Microservices Deployment](https://maria.ai/tutorials/microservices)
614
- - [CLI Native Development](https://maria.ai/tutorials/cli-native)
615
-
616
- ## πŸ† **Why Choose MARIA v2.1.9?**
617
-
618
- βœ… **Complete Local Development** - Full AI capabilities offline
619
- βœ… **Professional UX** - Enterprise-grade interface with rich feedback
620
- βœ… **Advanced Vision AI** - Multi-provider image processing with fallback
621
- βœ… **CLI Native Workflow** - Complete development without leaving terminal
622
- βœ… **Microservices Ready** - Enterprise architecture out of the box
623
- βœ… **Ultra Memory System** - Learns from every interaction
624
- βœ… **Privacy-First** - Your code stays on your machine
625
- βœ… **Production Ready** - 100% tested with comprehensive safety systems
626
-
627
- ## 🚦 **System Requirements**
628
-
629
- - **Node.js**: 18.0.0 or higher
630
- - **Memory**: 4GB RAM minimum (8GB recommended)
631
- - **Storage**: 2GB free space
632
- - **Platform**: Windows, macOS, Linux
633
- - **Optional**: Docker for microservices features
634
-
635
- ## πŸ’¬ **Community & Support**
636
-
637
- - **GitHub**: [bonginkan/maria](https://github.com/bonginkan/maria)
638
- - **Issues**: [Report bugs & request features](https://github.com/bonginkan/maria/issues)
639
- - **Discord**: [MARIA Community](https://discord.gg/maria)
640
- - **Email**: support@maria.ai
641
-
642
- ## πŸ› What's Fixed in v3.0.7
643
-
644
- - βœ… All undefined variable errors in core services
645
- - βœ… `/clear` command execution errors
646
- - βœ… `/model` command variable references
647
- - βœ… `/version` command display
648
- - βœ… Help command showing accurate counts
649
- - βœ… Hidden broken commands from help display
650
- - βœ… Dynamic command counting in `/help`
651
-
652
- ## πŸ“„ **License**
653
-
654
- Dual-License (Commercial & Open Source) - See [LICENSE](./LICENSE) for details.
655
- =======
656
- - **Students**: Learn algorithms with interactive visualization
657
- - **Developers**: Accelerate development with AI assistance
658
- - **Teams**: Collaborative development with autonomous agents
659
- - **Educators**: Teach computer science with hands-on tools
660
- >>>>>>> origin/main
324
+ // After (v3.0.0)
325
+ import { IntelligentRouterService, DualMemoryEngine } from '@bonginkan/maria';
326
+ ```
661
327
 
662
328
  ---
663
329
 
664
- **Experience the Multi-Language Intelligence Revolution with MARIA Platform v2.2.1**
665
-
666
- πŸš€ Start your journey: `npm install -g @bonginkan/maria && maria`
330
+ **Experience the power of minimal design. Experience MARIA v3.0.0.**
667
331
 
668
- **γ‚°γƒ­γƒΌγƒγƒ«ε―ΎεΏœ (Global Support)**: Supporting international development teams with native language interfaces 🌏πŸ‘₯πŸ”„
332
+ *Β© 2025 Bonginkan Inc. - AI-Powered Development Platform*