@bonginkan/maria 2.1.5 โ†’ 2.1.7

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,94 +1,39 @@
1
- # ๐Ÿค– MARIA Platform v2.1.4 "ML Intelligence Edition"
1
+ # ๐Ÿค– MARIA Platform v2.1.7 "Linux Command Intelligence Edition"
2
2
 
3
3
  [![TypeScript](https://img.shields.io/badge/TypeScript-5.0%2B-blue)](https://www.typescriptlang.org/)
4
4
  [![Node.js](https://img.shields.io/badge/Node.js-18%2B-green)](https://nodejs.org/)
5
5
  [![npm](https://img.shields.io/npm/v/@bonginkan/maria?label=npm%20package)](https://www.npmjs.com/package/@bonginkan/maria)
6
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-MIT-blue)](https://github.com/bonginkan/maria/blob/main/LICENSE)
7
+ [![License](https://img.shields.io/badge/License-Dual--License-blue)](https://github.com/bonginkan/maria/blob/main/LICENSE)
8
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-60-purple)](https://github.com/bonginkan/maria)
10
- [![Memory System](https://img.shields.io/badge/Memory%20System-Enhanced-orange)](https://github.com/bonginkan/maria)
11
- [![ML Commands](https://img.shields.io/badge/ML%20Commands-5%20New-red)](https://github.com/bonginkan/maria)
12
- [![AI Self-Improvement](https://img.shields.io/badge/AI%20Self--Improvement-Active-gold)](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)
13
11
 
14
- > ๐Ÿค– **MARIA Platform v2.1.4** - Machine Learning Intelligence Edition with **AI Self-Improvement Cycle**, **5 New ML Commands** (/train /eval /rlhf /self_play /auto_tune), **Hyperparameter Optimization**, **Synthetic Data Generation**, plus **Research Paper System**, **Memory Intelligence**, and **GraphRAG Analysis**!
12
+ > ๐ŸŽ‰ **MARIA Platform v2.1.7** - **Autonomous Linux System Administration** + Enterprise AI Development CLI with **100% Tested Linux Command Intelligence**, **Smart Command Execution**, **Risk Assessment & Safety Validation**, **Learning Engine & Workflow Automation**, **Revolutionary Dual-Layer Memory System**, **Complete Local LLM Integration** (Ollama, vLLM, LM Studio), 50+ Interactive Commands, and **Privacy-First Development** Environment!
15
13
 
16
14
  ## ๐Ÿ–ฅ๏ธ **MARIA CODE CLI Interface**
17
15
 
18
- ![MARIA CLI Startup](./CLI_visual.png)
16
+ ![MARIA CLI Startup](./images/CLI_visual.png)
19
17
 
20
18
  _MARIA's beautiful startup interface with automatic AI service initialization and local LLM detection_
21
19
 
22
- ## ๐ŸŒŸ Key Features - Local AI & Privacy-First Development
23
-
24
- ### ๐Ÿง  **Revolutionary Dual-Layer Memory System (v2.0.7)**
25
-
26
- - **System 1 (Fast/Intuitive)**: Instant pattern recognition and cache-based responses
27
- - **System 2 (Deliberate/Analytical)**: Deep reasoning traces and decision trees
28
- - **Context-Aware Intelligence**: Every command learns from your patterns
29
- - **Personalized Experience**: Adapts to your coding style and preferences
30
- - **60% Faster Startup**: Lazy loading with <50ms memory operations
31
-
32
- ### ๐Ÿค” **Self-Questioning Internal Mode (Auto-Active)**
33
-
34
- MARIA่ตทๅ‹•ๅพŒใซใ€่‡ชๅ‹•ใงๅพ…ๆฉŸใ™ใ‚‹ๅ†…้ƒจใƒขใƒผใƒ‰ใจใ—ใฆใ€Self-Questioningๅ†…้ƒจใƒขใƒผใƒ‰ใ‚’่ฟฝๅŠ ใ—ใพใ—ใŸใ€‚ใ“ใฎใƒขใƒผใƒ‰ใฏไปฅไธ‹ใฎๆฉŸ่ƒฝใ‚’ๆไพ›ใ—ใพใ™๏ผš
35
-
36
- - **ๆ–‡่„ˆๆŽจๆธฌ**: ็†่งฃๅ›ฐ้›ฃใƒป็Ÿ›็›พใƒปไธๆ˜Ž็žญใชๅ…ฅๅŠ›ใงใ‚‚ๆ–‡่„ˆใ‹ใ‚‰ๆ„ๅ›ณใ‚’่‡ชๅ‹•ๆŽจๆธฌ
37
- - **Ultrathink็™บๅ‹•**: ่ค‡้›‘ใชๅ ดๅˆใซๆทฑๅฑคๆ€่€ƒใƒขใƒผใƒ‰ใงๅคš่ง’็š„ๅˆ†ๆžใ‚’ๅฎŸ่กŒ
38
- - **็Ÿ›็›พ่งฃๆž**: ็›ธๅใ™ใ‚‹่ฆๆฑ‚ใฎๆ นๆœฌๅŽŸๅ› ใ‚’ๆŽขใ‚Šๅ„ชๅ…ˆ้ †ไฝไปฎ่ชฌใ‚’ๆง‹็ฏ‰
39
- - **ๆŽจๆธฌๆ นๆ‹ ๆ˜Ž็คบ**: ๆŽจๆธฌๅ†…ๅฎนใจไฟก้ ผๅบฆ๏ผˆ0.1-1.0๏ผ‰ใ‚’้€ๆ˜ŽๅŒ–ใ—ใฆๆ็คบ
40
- - **ๆŸ”่ปŸ้ฉๅฟœ**: ๆŽจๆธฌใŒๅค–ใ‚Œใฆใ‚‚ไฟฎๆญฃๅฏ่ƒฝใชๅ›ž็ญ”ๆง‹้€ ใ‚’่‡ชๅ‹•็ถญๆŒ
41
-
42
- ### ๐Ÿ†• **New in v2.1.4: Machine Learning Intelligence Edition**
43
-
44
- **๐Ÿค– 5 New ML Commands - AI Self-Improvement Cycle:**
45
- - **/train**: Complete model training and fine-tuning with progress visualization
46
- - Local & S3 dataset support with hyperparameter configuration
47
- - Real-time progress display and ASCII learning curves
48
- - Automatic model checkpointing and comprehensive training reports
49
- - **/eval**: Model evaluation and benchmarking with multiple metrics
50
- - Performance analysis (accuracy, F1, BLEU, latency)
51
- - Confusion matrix visualization and category-wise analysis
52
- - Automatic improvement suggestions and detailed evaluation reports
53
- - **/rlhf**: Reinforcement Learning from Human Feedback
54
- - Feedback data analysis and reward model training
55
- - Policy optimization (PPO) with improvement visualization
56
- - **/self_play**: AI self-dialogue for synthetic data generation
57
- - Task-specific dialogue generation (bug_fixing, code_review, qa_generation)
58
- - High-quality synthetic datasets in JSONL format
59
- - **/auto_tune**: Automated hyperparameter optimization
60
- - Grid, random, and Bayesian search strategies
61
- - Parameter importance analysis and optimal configuration discovery
62
-
63
- **๐Ÿ”„ Complete AI Self-Improvement Pipeline:**
64
- 1. **๐ŸŽฏ Auto-Training**: `/train` learns from datasets
65
- 2. **๐Ÿ“Š Performance Evaluation**: `/eval` measures objective performance
66
- 3. **๐Ÿ”„ Feedback Integration**: `/rlhf` incorporates human feedback
67
- 4. **๐ŸŽฎ Data Expansion**: `/self_play` generates additional training data
68
- 5. **โšก Parameter Optimization**: `/auto_tune` discovers optimal settings
69
-
70
- ### ๐Ÿ†• **Enhanced Research & Memory Intelligence**
71
-
72
- **๐Ÿ”ฌ Research Paper Generation System:**
73
- - **/paper**: Complete research workflow from theme to published paper
74
- - 6-stage research process (Theme โ†’ Literature Review โ†’ Design โ†’ Analysis โ†’ Paper)
75
- - Bilingual support (Japanese/English)
76
- - GraphRAG & Agentic RAG specialized knowledge
77
- - Auto-citation and reference management
78
- - Organized research papers folder structure
79
-
80
- **๐Ÿง  Enhanced Memory System:**
81
- - **/memory**: Advanced context preservation and learning
82
- - Dual-layer memory architecture
83
- - Cross-session learning persistence
84
- - Project-specific context management
85
- - Personalized response pattern learning
86
-
87
- **๐Ÿ—๏ธ Microservice Architecture:**
88
- - **SlashCommandManager**: Phase-based migration system
89
- - **PaperResearchService**: Dedicated research workflow service
90
- - **BaseCommandService**: Extensible service framework
91
- - Full TypeScript strict mode compliance
20
+ ## ๐ŸŒŸ Key Features - Autonomous Linux Administration & AI Development
21
+
22
+ ### ๐Ÿค– **Linux Command Intelligence System (v2.1.7) - NEW!**
23
+
24
+ - **Phase 1 - Intelligence Layer**: Real-time context analysis and command intent recognition (14 intent types)
25
+ - **Phase 2 - Autonomous Execution**: Smart command executor with 5-level risk assessment and safety validation
26
+ - **Phase 3 - Advanced Operations**: Infrastructure management, file system intelligence, container integration
27
+ - **Phase 4 - Learning & Adaptation**: Machine learning engine, workflow automation, anomaly detection
28
+ - **100% Integration Tested**: All 4 phases validated on macOS with complete system compatibility
29
+
30
+ ### ๐Ÿง  **Revolutionary Dual-Layer Memory System (Enhanced v2.1.7)**
31
+
32
+ - **System 1 (Fast/Intuitive)**: Instant pattern recognition with Linux command awareness
33
+ - **System 2 (Deliberate/Analytical)**: Deep reasoning with system administration context
34
+ - **Intelligence Integration**: Memory system now learns from Linux command patterns
35
+ - **Autonomous Learning**: Adapts to your system administration and coding patterns
36
+ - **Enhanced Performance**: 60% faster startup with intelligent command caching
92
37
 
93
38
  ### ๐Ÿ  **Complete Local LLM Integration**
94
39
 
@@ -98,33 +43,69 @@ MARIA่ตทๅ‹•ๅพŒใซใ€่‡ชๅ‹•ใงๅพ…ๆฉŸใ™ใ‚‹ๅ†…้ƒจใƒขใƒผใƒ‰ใจใ—ใฆใ€Self-Questio
98
43
  - **Multi-Model Support**: Seamlessly switch between 20+ local models
99
44
  - **One-Command Setup**: `maria setup-ollama` / `maria setup-vllm` for instant configuration
100
45
 
101
- ### ๐Ÿค– **Enterprise AI Development**
46
+ ### ๐Ÿค– **Enterprise AI Development + System Administration**
102
47
 
103
- - **Memory-Enhanced Commands**: All core commands now learn from usage
48
+ - **Autonomous Linux Administration**: Complete system management with intelligent command execution
49
+ - **Safety-First Operations**: Pre-execution validation with automatic backup and rollback capabilities
50
+ - **Learning System Administration**: AI learns your server management patterns and optimizes workflows
51
+ - **Memory-Enhanced Commands**: All core commands learn from usage with Linux command intelligence
104
52
  - **Autonomous Coding Agent**: Complete project development from requirements
105
- - **Real-time Code Analysis**: Live quality feedback with historical context
106
53
  - **Multi-Provider Support**: OpenAI, Anthropic, Google, Groq + Local LLMs
107
- - **Interactive Commands**: 40+ slash commands for development workflow
108
- - **Professional Engineering Modes**: 50+ specialized AI cognitive states
54
+ - **Interactive Commands**: 50+ slash commands including system administration tools
55
+ - **Professional Engineering Modes**: 50+ specialized AI cognitive states for development and ops
109
56
 
110
57
  ### ๐Ÿš€ **Instant Setup & Usage**
111
58
 
112
59
  ```bash
113
60
  npm install -g @bonginkan/maria
114
61
  maria setup-ollama # Auto-install local AI
115
- maria # Start interactive development
62
+ maria # Start interactive development + Linux intelligence
116
63
  ```
117
64
 
118
- **Core Capabilities:**
65
+ **Linux Command Intelligence Capabilities (NEW in v2.1.7):**
66
+
67
+ - โœ… **Autonomous Linux Administration**: Smart command execution with risk assessment
68
+ - โœ… **Safety Validation**: Pre-execution checks with automatic backup creation
69
+ - โœ… **Learning Engine**: AI learns your system administration patterns
70
+ - โœ… **Workflow Automation**: Complex task orchestration with cron scheduling
71
+ - โœ… **Anomaly Detection**: Real-time system monitoring and security analysis
72
+ - โœ… **100% Integration Tested**: Complete validation across all 4 intelligence phases
73
+
74
+ **Core Development Capabilities:**
119
75
 
120
76
  - โœ… **Local AI Models**: Complete offline development environment
121
- - โœ… **Code Generation**: AI-powered development assistance
122
- - โœ… **Machine Learning**: 5 ML commands for AI self-improvement cycle
77
+ - โœ… **Code Generation**: AI-powered development assistance with system context
123
78
  - โœ… **Quality Analysis**: Real-time code review and optimization
124
79
  - โœ… **Multi-Language**: Support for all major programming languages
125
- - โœ… **Enterprise Ready**: Professional development workflows
80
+ - โœ… **Enterprise Ready**: Professional development workflows with system administration
81
+
82
+ ### ๐Ÿค– Linux Command Intelligence System
83
+
84
+ #### **Phase 1: Intelligence Layer**
85
+ - **Context Analysis Engine**: Real-time system state monitoring with user intent recognition
86
+ - **Command Knowledge Base**: Comprehensive Linux command database with risk classification
87
+ - **Intent Recognition**: 14 command intent types (FILE_OPERATION, SERVICE_CONTROL, PERFORMANCE_OPTIMIZATION, etc.)
88
+ - **Risk Assessment**: 5-level classification system (SAFE โ†’ CRITICAL) for command safety
126
89
 
127
- ### ๐ŸŽฏ Key Features
90
+ #### **Phase 2: Autonomous Execution Framework**
91
+ - **Smart Command Executor**: Context-aware command processing with intelligent parameter suggestion
92
+ - **Safety Validator**: Pre-execution validation with automatic backup creation and rollback planning
93
+ - **Progress Tracking**: Real-time execution monitoring with detailed progress reports
94
+ - **Dry-run Mode**: Safe command testing without actual system changes
95
+
96
+ #### **Phase 3: Advanced Operations Integration**
97
+ - **Infrastructure Management**: Service orchestration and process monitoring capabilities
98
+ - **File System Intelligence**: Smart file operations with metadata analysis and security checks
99
+ - **Network Analysis**: Comprehensive networking diagnostics and troubleshooting
100
+ - **Container Integration**: Docker/Podman support for containerized environment management
101
+
102
+ #### **Phase 4: Learning & Adaptation System**
103
+ - **Machine Learning Engine**: User behavior analysis and command sequence optimization
104
+ - **Workflow Automation**: Complex multi-step operations with cron scheduling and error handling
105
+ - **Anomaly Detection**: Real-time security and performance monitoring with intelligent alerting
106
+ - **Adaptive Intelligence**: Self-improving system that learns from user patterns and optimizes workflows
107
+
108
+ ### ๐ŸŽฏ Development Features
128
109
 
129
110
  - **Interactive Learning**: Hands-on algorithm education with visualization
130
111
  - **Performance Analysis**: Real-time performance metrics and optimization
@@ -218,12 +199,15 @@ Vietnamese: "viแบฟt code" โ†’ /code
218
199
  ### ๐Ÿ’ก **Why Engineers & Researchers Choose MARIA**
219
200
 
220
201
  ```bash
221
- # Natural language commands for complex tasks:
202
+ # Natural language commands for development & system administration:
222
203
  "Create a React component for user authentication"
223
204
  "Fix this TypeScript error in my API"
224
205
  "Generate comprehensive tests for my algorithm"
225
206
  "Set up Ollama with local LLM models"
226
- "Switch to thinking mode for complex debugging"
207
+ "Check system performance and optimize"
208
+ "Create automated backup workflow"
209
+ "Analyze disk usage and clean up files"
210
+ "Monitor services and restart if needed"
227
211
  ```
228
212
 
229
213
  **Real developer feedback:**
@@ -242,19 +226,21 @@ npm install -g @bonginkan/maria
242
226
 
243
227
  # Verify installation
244
228
  maria --version
245
- # Output: MARIA Platform v2.1.4 "ML Intelligence Edition"
229
+ # Output: MARIA Platform v2.1.7 "Linux Command Intelligence Edition"
246
230
 
247
231
  # Setup local AI models (optional)
248
232
  maria setup-ollama # Install and configure Ollama
249
233
  maria setup-vllm # Install and configure vLLM
250
234
 
251
- # Start interactive mode with natural language
235
+ # Start interactive mode with Linux Command Intelligence
252
236
  maria
237
+ # Linux Command Intelligence System initializes automatically
238
+ # All system administration commands now benefit from AI intelligence
253
239
  ```
254
240
 
255
241
  ### ๐Ÿ–ฅ๏ธ **Live CLI Session Example**
256
242
 
257
- ![MARIA CLI Startup](./CLI_visual.png)
243
+ ![MARIA CLI Startup](./images/CLI_visual.png)
258
244
 
259
245
  **Terminal Output:**
260
246
 
@@ -281,16 +267,6 @@ vLLM [โ—โ—โ—โ—โ—โ—โ—โ—โ—โ—โ—โ—โ—โ—โ—โ—โ—โ—โ—] 0% โš™
281
267
  /paper <query> # Transform research papers into working code
282
268
  ```
283
269
 
284
- **๐Ÿค– Machine Learning Commands (AI Self-Improvement):**
285
-
286
- ```bash
287
- /train <dataset> <model> # Train/fine-tune models with progress visualization
288
- /eval <model> <test-data> # Evaluate model performance with metrics
289
- /rlhf <model> <feedback> # Reinforcement learning from human feedback
290
- /self_play <model> <tasks> # Generate synthetic training data via AI dialogue
291
- /auto_tune <model> <data> # Optimize hyperparameters automatically
292
- ```
293
-
294
270
  **๐Ÿ  Local AI Integration (Privacy-First Development):**
295
271
 
296
272
  ```bash
@@ -433,7 +409,6 @@ maria
433
409
  - **All Commands**: `/help` within interactive mode
434
410
  - **Algorithm Education**: `/sort`, `/learn`, `/algorithm` commands
435
411
  - **AI Development**: `/code`, `/bug`, `/lint`, `/model` commands
436
- - **Machine Learning**: `/train`, `/eval`, `/rlhf`, `/self_play`, `/auto_tune` commands
437
412
  - **System Status**: `/status` command
438
413
 
439
414
  ### Examples and Tutorials
@@ -484,10 +459,13 @@ npm run build
484
459
 
485
460
  ## ๐Ÿ“„ License
486
461
 
487
- **MIT License**: Free and open-source for all users
462
+ **Dual-License Model**: Personal Use (Free) / Enterprise (Paid)
488
463
 
489
- This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.
464
+ - **Personal Use**: Free for individuals, students, and startups (<10 employees, <$1M ARR)
465
+ - **Enterprise**: Commercial license required for larger organizations
466
+ - **Contact**: enterprise@bonginkan.ai for enterprise licensing
490
467
 
468
+ See [LICENSE](https://github.com/bonginkan/maria/blob/main/LICENSE) for complete terms.
491
469
 
492
470
  ## ๐Ÿ”— Links
493
471
 
@@ -521,7 +499,7 @@ This project is licensed under the MIT License - see the [LICENSE](./LICENSE) fi
521
499
 
522
500
  ---
523
501
 
524
- **Experience the Machine Learning Intelligence Revolution with MARIA Platform v2.1.4**
502
+ **Experience the Algorithm Education Revolution with MARIA Platform v1.6.4**
525
503
 
526
504
  ๐Ÿš€ Start your journey: `npm install -g @bonginkan/maria && maria`
527
505
 
@@ -0,0 +1,2 @@
1
+
2
+ export { }