@bonginkan/maria 2.1.8 → 2.1.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/COMMANDS.md +177 -0
- package/GETTING_STARTED.md +183 -0
- package/LICENSE +25 -1
- package/README.md +140 -432
- package/SETUP.md +236 -0
- package/bin/maria.d.ts +5 -0
- package/bin/maria.js +27446 -3307
- package/bin/maria.js.map +5 -1
- package/dist/cli.d.ts +2 -5
- package/dist/cli.js +42 -31096
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +5 -1401
- package/dist/index.js +39 -124948
- package/dist/index.js.map +1 -1
- package/npm-shrinkwrap.json +8210 -0
- package/package.json +49 -29
- package/dist/bin/maria.d.ts +0 -2
- package/dist/bin/maria.js +0 -31757
- package/dist/bin/maria.js.map +0 -1
- package/dist/metafile-cjs.json +0 -1
package/SETUP.md
ADDED
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
# 🚀 MARIA Platform Setup Guide
|
|
2
|
+
|
|
3
|
+
Complete setup instructions for MARIA Platform v1.6.4 "Algorithm Education Revolution"
|
|
4
|
+
|
|
5
|
+
## 📋 System Requirements
|
|
6
|
+
|
|
7
|
+
### Minimum Requirements
|
|
8
|
+
- **Node.js**: 18.0.0 or higher (up to 22.x)
|
|
9
|
+
- **npm**: 8.0.0 or higher
|
|
10
|
+
- **Operating System**: macOS, Linux, Windows
|
|
11
|
+
- **Terminal**: Any modern terminal application
|
|
12
|
+
- **Memory**: 512MB available RAM
|
|
13
|
+
- **Storage**: 100MB disk space
|
|
14
|
+
|
|
15
|
+
### Recommended Setup
|
|
16
|
+
- **Node.js**: 20.x LTS
|
|
17
|
+
- **Terminal**: iTerm2 (macOS), Windows Terminal, or VS Code integrated terminal
|
|
18
|
+
- **Shell**: bash, zsh, fish, or PowerShell
|
|
19
|
+
- **Memory**: 1GB+ available RAM for optimal performance
|
|
20
|
+
|
|
21
|
+
## 🛠️ Installation Methods
|
|
22
|
+
|
|
23
|
+
### Method 1: NPM Global Installation (Recommended)
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
# Install globally via npm
|
|
27
|
+
npm install -g @bonginkan/maria
|
|
28
|
+
|
|
29
|
+
# Verify installation
|
|
30
|
+
maria --version
|
|
31
|
+
# Expected output: MARIA Platform v1.6.4 "Algorithm Education Revolution"
|
|
32
|
+
|
|
33
|
+
# Test interactive mode
|
|
34
|
+
maria
|
|
35
|
+
# Should start interactive CLI with welcome message
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Method 2: Alternative Package Managers
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
# Using Yarn
|
|
42
|
+
yarn global add @bonginkan/maria
|
|
43
|
+
|
|
44
|
+
# Using pnpm
|
|
45
|
+
pnpm add -g @bonginkan/maria
|
|
46
|
+
|
|
47
|
+
# Using npx (temporary usage)
|
|
48
|
+
npx @bonginkan/maria
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Method 3: Local Project Installation
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
# Install in project
|
|
55
|
+
npm install @bonginkan/maria
|
|
56
|
+
|
|
57
|
+
# Run locally
|
|
58
|
+
npx maria
|
|
59
|
+
|
|
60
|
+
# Or add to package.json scripts
|
|
61
|
+
{
|
|
62
|
+
"scripts": {
|
|
63
|
+
"ai": "maria"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## ⚡ Quick Start Guide
|
|
69
|
+
|
|
70
|
+
### 1. First Launch
|
|
71
|
+
```bash
|
|
72
|
+
# Start MARIA interactive mode
|
|
73
|
+
maria
|
|
74
|
+
|
|
75
|
+
# You should see:
|
|
76
|
+
# 🤖 MARIA Platform v1.6.4 "Algorithm Education Revolution"
|
|
77
|
+
# Interactive AI Development CLI with Complete CS Curriculum
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### 2. Basic Commands
|
|
81
|
+
```bash
|
|
82
|
+
# Within interactive mode, try these commands:
|
|
83
|
+
> /help # Show all 36+ commands
|
|
84
|
+
> /status # Check system status
|
|
85
|
+
> /model # Configure AI providers
|
|
86
|
+
> /sort quicksort --visualize # Try algorithm education
|
|
87
|
+
> /code "hello world function" # AI code generation
|
|
88
|
+
> /exit # Exit MARIA
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### 3. Algorithm Education
|
|
92
|
+
```bash
|
|
93
|
+
# Start learning algorithms
|
|
94
|
+
> /sort quicksort # Interactive quicksort tutorial
|
|
95
|
+
> /learn algorithms # Complete CS curriculum
|
|
96
|
+
> /benchmark sorting # Performance analysis
|
|
97
|
+
> /algorithm complexity # Big O notation guide
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## 🔧 Configuration
|
|
101
|
+
|
|
102
|
+
### AI Model Setup (Optional)
|
|
103
|
+
|
|
104
|
+
MARIA works out of the box with default models, but you can configure additional AI providers:
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
# Start MARIA and configure models
|
|
108
|
+
maria
|
|
109
|
+
> /model
|
|
110
|
+
|
|
111
|
+
# Available options:
|
|
112
|
+
# - OpenAI GPT models (API key required)
|
|
113
|
+
# - Anthropic Claude (API key required)
|
|
114
|
+
# - Google Gemini (API key required)
|
|
115
|
+
# - Local LLMs (LM Studio, Ollama)
|
|
116
|
+
# - Groq models (API key required)
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
### Environment Variables (Optional)
|
|
120
|
+
|
|
121
|
+
Create a `.env` file in your project or set system environment variables:
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
# AI Provider API Keys (optional)
|
|
125
|
+
OPENAI_API_KEY=sk-your-key-here
|
|
126
|
+
ANTHROPIC_API_KEY=sk-ant-your-key-here
|
|
127
|
+
GOOGLE_AI_API_KEY=your-google-key-here
|
|
128
|
+
GROQ_API_KEY=gsk-your-groq-key-here
|
|
129
|
+
|
|
130
|
+
# Local AI Models (optional)
|
|
131
|
+
LMSTUDIO_API_URL=http://localhost:1234
|
|
132
|
+
OLLAMA_API_URL=http://localhost:11434
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
## 🎓 Learning Path
|
|
136
|
+
|
|
137
|
+
### For Students & Beginners
|
|
138
|
+
1. Start with basic installation: `npm install -g @bonginkan/maria`
|
|
139
|
+
2. Launch interactive mode: `maria`
|
|
140
|
+
3. Try algorithm education: `/sort quicksort --visualize`
|
|
141
|
+
4. Explore help system: `/help`
|
|
142
|
+
5. Learn coding basics: `/code "simple function"`
|
|
143
|
+
|
|
144
|
+
### For Developers
|
|
145
|
+
1. Install MARIA: `npm install -g @bonginkan/maria`
|
|
146
|
+
2. Configure preferred AI model: `/model`
|
|
147
|
+
3. Try development commands: `/code`, `/bug`, `/lint`
|
|
148
|
+
4. Explore advanced features: `/status`, `/mode internal`
|
|
149
|
+
5. Integrate with workflow: Use MARIA for coding assistance
|
|
150
|
+
|
|
151
|
+
### For Educators
|
|
152
|
+
1. Install for classroom use: `npm install -g @bonginkan/maria`
|
|
153
|
+
2. Explore algorithm curriculum: `/learn algorithms`
|
|
154
|
+
3. Use visualization tools: `/sort --visualize`
|
|
155
|
+
4. Create lesson plans with `/help` command reference
|
|
156
|
+
5. Demonstrate CS concepts with interactive examples
|
|
157
|
+
|
|
158
|
+
## 🐛 Troubleshooting
|
|
159
|
+
|
|
160
|
+
### Common Issues
|
|
161
|
+
|
|
162
|
+
#### Permission Errors
|
|
163
|
+
```bash
|
|
164
|
+
# If you get permission errors on macOS/Linux:
|
|
165
|
+
sudo npm install -g @bonginkan/maria
|
|
166
|
+
|
|
167
|
+
# Or use npm prefix:
|
|
168
|
+
npm config set prefix ~/.npm-global
|
|
169
|
+
export PATH=~/.npm-global/bin:$PATH
|
|
170
|
+
npm install -g @bonginkan/maria
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
#### Node.js Version Issues
|
|
174
|
+
```bash
|
|
175
|
+
# Check Node.js version
|
|
176
|
+
node --version
|
|
177
|
+
|
|
178
|
+
# If version is too old, update Node.js:
|
|
179
|
+
# Visit https://nodejs.org/ for latest LTS version
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
#### Command Not Found
|
|
183
|
+
```bash
|
|
184
|
+
# Check if MARIA is in PATH
|
|
185
|
+
which maria
|
|
186
|
+
|
|
187
|
+
# If not found, try:
|
|
188
|
+
npm list -g @bonginkan/maria
|
|
189
|
+
|
|
190
|
+
# Reinstall if necessary:
|
|
191
|
+
npm uninstall -g @bonginkan/maria
|
|
192
|
+
npm install -g @bonginkan/maria
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
#### Interactive Mode Issues
|
|
196
|
+
```bash
|
|
197
|
+
# If interactive mode doesn't start:
|
|
198
|
+
maria --help
|
|
199
|
+
|
|
200
|
+
# Check for terminal compatibility:
|
|
201
|
+
echo $TERM
|
|
202
|
+
|
|
203
|
+
# Try different terminal or shell
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
### Getting Help
|
|
207
|
+
|
|
208
|
+
1. **Built-in Help**: Use `/help` within MARIA
|
|
209
|
+
2. **Version Check**: Run `maria --version`
|
|
210
|
+
3. **System Status**: Use `/status` command
|
|
211
|
+
4. **GitHub Issues**: [Report issues](https://github.com/bonginkan/maria/issues)
|
|
212
|
+
5. **NPM Package**: [View on npmjs.com](https://www.npmjs.com/package/@bonginkan/maria)
|
|
213
|
+
|
|
214
|
+
## 📚 Next Steps
|
|
215
|
+
|
|
216
|
+
After successful setup:
|
|
217
|
+
|
|
218
|
+
1. **Explore Commands**: Try all 36+ slash commands with `/help`
|
|
219
|
+
2. **Algorithm Learning**: Deep dive into CS curriculum with `/learn`
|
|
220
|
+
3. **AI Development**: Use AI assistance for coding projects
|
|
221
|
+
4. **Performance Analysis**: Benchmark algorithms with built-in tools
|
|
222
|
+
5. **Advanced Features**: Explore 50 cognitive AI modes with `/mode internal`
|
|
223
|
+
|
|
224
|
+
## 🌟 Pro Tips
|
|
225
|
+
|
|
226
|
+
- **Quick Access**: Create shell alias: `alias ai="maria"`
|
|
227
|
+
- **Project Integration**: Add MARIA to project's package.json
|
|
228
|
+
- **Learning Schedule**: Dedicate 15 minutes daily to algorithm education
|
|
229
|
+
- **Experiment**: Try different AI models to find your preference
|
|
230
|
+
- **Share**: Introduce MARIA to your team for collaborative development
|
|
231
|
+
|
|
232
|
+
---
|
|
233
|
+
|
|
234
|
+
**Welcome to the Algorithm Education Revolution! 🎓✨**
|
|
235
|
+
|
|
236
|
+
Start your journey: `maria` and type `/help` to explore all possibilities.
|