@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 +229 -565
- package/dist/bin/maria.cjs +38203 -0
- package/dist/bin/maria.cjs.map +1 -0
- package/dist/cli.cjs +19607 -0
- package/dist/cli.cjs.map +1 -0
- package/dist/index.js +5170 -56
- package/dist/index.js.map +1 -1
- package/package.json +115 -32
- package/bin/maria +0 -74
- package/bin/maria.d.ts +0 -2
- package/bin/maria.js +0 -46663
- package/bin/maria.js.map +0 -1
- package/dist/cli.d.ts +0 -15
- package/dist/cli.js +0 -61
- package/dist/cli.js.map +0 -1
- package/dist/index.d.ts +0 -12
- package/images/CLI_visual.png +0 -0
package/README.md
CHANGED
|
@@ -1,668 +1,332 @@
|
|
|
1
|
-
# π MARIA v3.0.
|
|
1
|
+
# π MARIA v3.0.9
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
[](https://nodejs.org/)
|
|
5
|
-
[](https://www.npmjs.com/package/@bonginkan/maria)
|
|
6
|
-
[](https://www.npmjs.com/package/@bonginkan/maria)
|
|
7
|
-
[](https://github.com/bonginkan/maria/blob/main/LICENSE)
|
|
8
|
-
[](https://github.com/bonginkan/maria)
|
|
9
|
-
[](https://github.com/bonginkan/maria)
|
|
10
|
-
[](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
|
-

|
|
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
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
+
[](https://www.typescriptlang.org/)
|
|
6
|
+
[](https://nodejs.org/)
|
|
7
|
+
[](https://www.npmjs.com/package/@bonginkan/maria)
|
|
8
|
+
[](https://github.com/bonginkan/maria)
|
|
9
|
+
[](https://github.com/bonginkan/maria)
|
|
43
10
|
|
|
44
|
-
|
|
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
|
-
###
|
|
13
|
+
### π― What is MARIA v3.0.9?
|
|
51
14
|
|
|
52
|
-
|
|
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
|
-
|
|
17
|
+
- π§ **IntelligentRouterService** - Smart command routing and analysis
|
|
18
|
+
- π§© **DualMemoryEngine** - System 1 & System 2 cognitive memory
|
|
19
|
+
- π **FileSystemService** - Safe, atomic file operations
|
|
59
20
|
|
|
60
|
-
|
|
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
|
-
|
|
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
|
-
|
|
69
|
-
-
|
|
70
|
-
-
|
|
71
|
-
-
|
|
72
|
-
-
|
|
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
|
-
###
|
|
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
|
-
|
|
146
|
-
|
|
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
|
-
###
|
|
45
|
+
### π Quick Start
|
|
154
46
|
|
|
155
|
-
**Professional development with intelligent AI assistance:**
|
|
156
47
|
```bash
|
|
157
|
-
|
|
158
|
-
|
|
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
|
-
|
|
165
|
-
|
|
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
|
-
|
|
54
|
+
# Test intelligent routing
|
|
55
|
+
maria route "create a React component with TypeScript"
|
|
172
56
|
|
|
173
|
-
|
|
174
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
/
|
|
209
|
-
|
|
210
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
244
|
-
|
|
245
|
-
|
|
118
|
+
await memory.store('project_context', {
|
|
119
|
+
language: 'typescript',
|
|
120
|
+
framework: 'react',
|
|
121
|
+
patterns: ['hooks', 'components']
|
|
122
|
+
});
|
|
246
123
|
|
|
247
|
-
|
|
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
|
-
|
|
252
|
-
|
|
253
|
-
|
|
126
|
+
// π Safe File Operations
|
|
127
|
+
const fs = new FileSystemService({
|
|
128
|
+
enableBackup: true,
|
|
129
|
+
enableSafeMode: true
|
|
130
|
+
});
|
|
254
131
|
|
|
255
|
-
|
|
256
|
-
|
|
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
|
-
|
|
136
|
+
## ποΈ Architecture
|
|
262
137
|
|
|
263
|
-
|
|
138
|
+
### Minimal API Philosophy
|
|
264
139
|
|
|
265
|
-
**
|
|
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
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
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
|
-
|
|
163
|
+
### Key Features
|
|
291
164
|
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
313
|
-
|
|
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
|
-
|
|
188
|
+
## π οΈ Development
|
|
320
189
|
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
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
|
-
#
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
# Using pnpm
|
|
336
|
-
pnpm add -g @bonginkan/maria
|
|
337
|
-
```
|
|
197
|
+
# Install dependencies
|
|
198
|
+
pnpm install
|
|
338
199
|
|
|
339
|
-
|
|
200
|
+
# Build the project
|
|
201
|
+
pnpm build
|
|
340
202
|
|
|
341
|
-
|
|
203
|
+
# Run tests
|
|
204
|
+
pnpm test
|
|
342
205
|
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
maria
|
|
206
|
+
# Type checking
|
|
207
|
+
pnpm type-check
|
|
346
208
|
|
|
347
|
-
#
|
|
348
|
-
|
|
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
|
-
###
|
|
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
|
-
#
|
|
366
|
-
|
|
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
|
-
|
|
377
|
-
|
|
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
|
-
##
|
|
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
|
-
|
|
403
|
-
- **
|
|
404
|
-
- **
|
|
405
|
-
- **
|
|
406
|
-
- **
|
|
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
|
-
###
|
|
238
|
+
### Local Providers
|
|
239
|
+
- **Ollama** - Local LLM runner
|
|
240
|
+
- **LM Studio** - Local model management
|
|
241
|
+
- **vLLM** - High-performance inference server
|
|
409
242
|
|
|
410
|
-
|
|
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
|
-
|
|
417
|
-
|
|
418
|
-
- **
|
|
419
|
-
- **
|
|
420
|
-
- **
|
|
421
|
-
- **
|
|
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
|
-
###
|
|
427
|
-
|
|
428
|
-
- **
|
|
429
|
-
- **
|
|
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
|
-
|
|
437
|
-
- **
|
|
438
|
-
- **
|
|
439
|
-
- **
|
|
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
|
|
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
|
|
270
|
+
# Clone repository
|
|
467
271
|
git clone https://github.com/bonginkan/maria.git
|
|
468
272
|
cd maria
|
|
469
273
|
|
|
470
274
|
# Install dependencies
|
|
471
|
-
|
|
275
|
+
pnpm install
|
|
472
276
|
|
|
473
|
-
#
|
|
474
|
-
|
|
277
|
+
# Run development build
|
|
278
|
+
pnpm dev
|
|
475
279
|
|
|
476
|
-
# Run
|
|
477
|
-
|
|
280
|
+
# Run tests
|
|
281
|
+
pnpm test
|
|
282
|
+
|
|
283
|
+
# Submit pull request
|
|
478
284
|
```
|
|
479
285
|
|
|
480
286
|
## π License
|
|
481
287
|
|
|
482
|
-
**Dual
|
|
483
|
-
|
|
484
|
-
- **
|
|
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](
|
|
292
|
+
See [LICENSE](LICENSE) for full details.
|
|
489
293
|
|
|
490
294
|
## π Links
|
|
491
295
|
|
|
492
|
-
- **NPM Package**:
|
|
493
|
-
- **GitHub Repository**:
|
|
494
|
-
- **Documentation**:
|
|
495
|
-
- **Support**:
|
|
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
|
-
|
|
301
|
+
## π What's New in v3.0.0
|
|
500
302
|
|
|
501
|
-
|
|
502
|
-
- **
|
|
503
|
-
- **
|
|
504
|
-
- **
|
|
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
|
-
###
|
|
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
|
-
|
|
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
|
-
#
|
|
537
|
-
|
|
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
|
-
|
|
549
|
-
|
|
550
|
-
|
|
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
|
-
|
|
572
|
-
|
|
573
|
-
|
|
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
|
|
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
|
-
|
|
332
|
+
*Β© 2025 Bonginkan Inc. - AI-Powered Development Platform*
|