@bonginkan/maria 3.1.4 → 3.1.6
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 +73 -29
- package/dist/bin/maria.cjs +2797 -152
- package/dist/bin/maria.cjs.map +1 -1
- package/dist/cli.cjs +2832 -187
- package/dist/cli.cjs.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,31 +1,15 @@
|
|
|
1
|
-
#
|
|
1
|
+
# 📊 MARIA v3.1.6
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**Advanced Telemetry & Analytics** - Enterprise AI platform with ML-powered monitoring, predictive analytics, and real-time insights. Features 3 core services plus comprehensive telemetry system.
|
|
4
4
|
|
|
5
5
|
🌐 **Homepage**: [https://bonginkan.ai/](https://bonginkan.ai/)
|
|
6
6
|
|
|
7
7
|
[](https://www.typescriptlang.org/)
|
|
8
8
|
[](https://nodejs.org/)
|
|
9
|
-
[](https://www.npmjs.com/package/@bonginkan/maria)
|
|
10
10
|
[](https://github.com/bonginkan/maria)
|
|
11
11
|
[](https://github.com/bonginkan/maria)
|
|
12
12
|
|
|
13
|
-
## 🚀 Quick Start
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
# Launch beautiful interactive mode
|
|
17
|
-
maria
|
|
18
|
-
|
|
19
|
-
# Run API demonstration
|
|
20
|
-
maria --demo
|
|
21
|
-
|
|
22
|
-
# Test intelligent routing
|
|
23
|
-
maria route "create a React component with TypeScript"
|
|
24
|
-
|
|
25
|
-
# Show help
|
|
26
|
-
maria --help
|
|
27
|
-
```
|
|
28
|
-
|
|
29
13
|
## 🎨 Beautiful CLI Experience
|
|
30
14
|
|
|
31
15
|
When you run `maria`, you'll see:
|
|
@@ -42,7 +26,7 @@ When you run `maria`, you'll see:
|
|
|
42
26
|
║ (c) 2025 Bonginkan Inc. ║
|
|
43
27
|
╚══════════════════════════════════════════════════════════╝
|
|
44
28
|
|
|
45
|
-
MARIA CODE v3.1.
|
|
29
|
+
MARIA CODE v3.1.6 — Ready
|
|
46
30
|
/help for commands | Providers: 8/8 OK
|
|
47
31
|
|
|
48
32
|
Available AI Providers:
|
|
@@ -60,14 +44,32 @@ npm install -g @bonginkan/maria
|
|
|
60
44
|
pnpm add -g @bonginkan/maria
|
|
61
45
|
```
|
|
62
46
|
|
|
47
|
+
## 📊 Quick Start - Telemetry (New in v3.1.6)
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
# Start monitoring stack (optional)
|
|
51
|
+
docker-compose -f docker-compose.monitoring.yml up -d
|
|
52
|
+
|
|
53
|
+
# Access dashboards
|
|
54
|
+
open http://localhost:3000 # Grafana (admin/admin)
|
|
55
|
+
open http://localhost:9091 # Prometheus
|
|
56
|
+
```
|
|
57
|
+
|
|
63
58
|
## 🎯 What is MARIA?
|
|
64
59
|
|
|
65
|
-
MARIA revolutionizes AI development with **3 powerful services**, **
|
|
60
|
+
MARIA revolutionizes AI development with **3 powerful services**, **advanced telemetry**, and **beautiful CLI experience**:
|
|
66
61
|
|
|
62
|
+
### Core Services
|
|
67
63
|
- 🧠 **IntelligentRouterService** - Smart command routing and analysis
|
|
68
64
|
- 🧩 **DualMemoryEngine** - System 1 & System 2 cognitive memory
|
|
69
65
|
- 📁 **FileSystemService** - Safe, atomic file operations
|
|
70
66
|
|
|
67
|
+
### 🆕 Telemetry System (v3.1.6)
|
|
68
|
+
- 📈 **Prometheus/Grafana Integration** - Real-time metrics & dashboards
|
|
69
|
+
- 🤖 **ML Anomaly Detection** - Isolation Forest, Autoencoder, LSTM models
|
|
70
|
+
- 📊 **Predictive Analytics** - ARIMA, Prophet, Transformer forecasting
|
|
71
|
+
- 🎯 **Custom Metrics Framework** - Flexible metric collection & alerts
|
|
72
|
+
|
|
71
73
|
## 💻 Programmatic API
|
|
72
74
|
|
|
73
75
|
### Core Services Example
|
|
@@ -114,6 +116,36 @@ const fs = new FileSystemService({
|
|
|
114
116
|
enableBackup: true,
|
|
115
117
|
enableSafeMode: true
|
|
116
118
|
});
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
### 🆕 Telemetry Example (v3.1.6)
|
|
122
|
+
|
|
123
|
+
```typescript
|
|
124
|
+
import { startTelemetry } from '@bonginkan/maria';
|
|
125
|
+
|
|
126
|
+
// Initialize advanced telemetry
|
|
127
|
+
const telemetry = await startTelemetry({
|
|
128
|
+
prometheusPort: 9090,
|
|
129
|
+
enableAnomalyDetection: true,
|
|
130
|
+
enablePredictiveAnalytics: true,
|
|
131
|
+
enableCustomMetrics: true,
|
|
132
|
+
alertWebhook: process.env.SLACK_WEBHOOK_URL
|
|
133
|
+
});
|
|
134
|
+
|
|
135
|
+
// Record telemetry
|
|
136
|
+
await telemetry.recordTelemetry({
|
|
137
|
+
provider: 'openai',
|
|
138
|
+
intent: 'CODE_REQUEST',
|
|
139
|
+
latency: 342,
|
|
140
|
+
satisfaction: 0.95,
|
|
141
|
+
tokens: { input: 100, output: 200 }
|
|
142
|
+
});
|
|
143
|
+
|
|
144
|
+
// Get ML-powered insights
|
|
145
|
+
const insights = await telemetry.generateInsights();
|
|
146
|
+
console.log('Anomalies:', insights.anomalies);
|
|
147
|
+
console.log('Forecasts:', insights.forecasts);
|
|
148
|
+
console.log('Trends:', insights.trends);
|
|
117
149
|
|
|
118
150
|
await fs.writeFile('/path/to/file.ts', content);
|
|
119
151
|
await fs.copy('/src', '/backup');
|
|
@@ -284,14 +316,26 @@ See [LICENSE](LICENSE) for full details.
|
|
|
284
316
|
- **Documentation**: https://docs.maria-ai.dev
|
|
285
317
|
- **Support**: https://github.com/bonginkan/maria/issues
|
|
286
318
|
|
|
287
|
-
## 🎉 What's New in v3.
|
|
288
|
-
|
|
289
|
-
###
|
|
290
|
-
- **
|
|
291
|
-
- **
|
|
292
|
-
- **
|
|
293
|
-
- **
|
|
294
|
-
- **
|
|
319
|
+
## 🎉 What's New in v3.1.6
|
|
320
|
+
|
|
321
|
+
### 📊 Advanced Telemetry System
|
|
322
|
+
- **Prometheus/Grafana Integration**: Real-time metrics visualization
|
|
323
|
+
- **ML Anomaly Detection**: 3 algorithms (Isolation Forest, Autoencoder, LSTM)
|
|
324
|
+
- **Predictive Analytics**: 4 forecasting models (LSTM, ARIMA, Prophet, Transformer)
|
|
325
|
+
- **Custom Metrics Framework**: Flexible metric types with alerts
|
|
326
|
+
- **Docker Compose Setup**: One-command monitoring deployment
|
|
327
|
+
|
|
328
|
+
### 📈 Monitoring Features
|
|
329
|
+
- **9 Core Metrics**: Response times, error rates, token usage, satisfaction
|
|
330
|
+
- **Pre-built Dashboards**: Beautiful Grafana visualizations
|
|
331
|
+
- **Alert System**: Slack integration with severity levels
|
|
332
|
+
- **Trend Analysis**: Direction, strength, and seasonality detection
|
|
333
|
+
- **Export Formats**: JSON, Prometheus, CSV
|
|
334
|
+
|
|
335
|
+
### ✨ Core Features (from v3.0.0)
|
|
336
|
+
- **Minimal API Surface**: 3 core services + telemetry
|
|
337
|
+
- **Beautiful CLI Experience**: Professional startup screen
|
|
338
|
+
- **Performance Optimized**: 192KB bundle, < 1s startup
|
|
295
339
|
|
|
296
340
|
### 🚨 Breaking Changes from v2.x
|
|
297
341
|
- **API Simplification**: Many internal services no longer exposed
|