@bonginkan/maria 3.1.5 → 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 CHANGED
@@ -1,12 +1,12 @@
1
- # 🚀 MARIA v3.1.5
1
+ # 📊 MARIA v3.1.6
2
2
 
3
- **Minimal API, Maximum Power** - Enterprise-ready AI development platform with 3 core services, beautiful CLI experience, and dynamic configuration.
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
  [![TypeScript](https://img.shields.io/badge/TypeScript-5.0%2B-blue)](https://www.typescriptlang.org/)
8
8
  [![Node.js](https://img.shields.io/badge/Node.js-20%2B-green)](https://nodejs.org/)
9
- [![npm](https://img.shields.io/npm/v/@bonginkan/maria?label=npm%20v3.1.5)](https://www.npmjs.com/package/@bonginkan/maria)
9
+ [![npm](https://img.shields.io/npm/v/@bonginkan/maria?label=npm%20v3.1.6)](https://www.npmjs.com/package/@bonginkan/maria)
10
10
  [![Bundle Size](https://img.shields.io/badge/Bundle-192KB-brightgreen)](https://github.com/bonginkan/maria)
11
11
  [![API Surface](https://img.shields.io/badge/Public%20API-3%20Services-blue)](https://github.com/bonginkan/maria)
12
12
 
@@ -26,7 +26,7 @@ When you run `maria`, you'll see:
26
26
  ║ (c) 2025 Bonginkan Inc. ║
27
27
  ╚══════════════════════════════════════════════════════════╝
28
28
 
29
- MARIA CODE v3.1.5 — Ready
29
+ MARIA CODE v3.1.6 — Ready
30
30
  /help for commands | Providers: 8/8 OK
31
31
 
32
32
  Available AI Providers:
@@ -44,14 +44,32 @@ npm install -g @bonginkan/maria
44
44
  pnpm add -g @bonginkan/maria
45
45
  ```
46
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
+
47
58
  ## 🎯 What is MARIA?
48
59
 
49
- MARIA revolutionizes AI development with **3 powerful services**, **beautiful CLI experience**, and **rock-solid stability**:
60
+ MARIA revolutionizes AI development with **3 powerful services**, **advanced telemetry**, and **beautiful CLI experience**:
50
61
 
62
+ ### Core Services
51
63
  - 🧠 **IntelligentRouterService** - Smart command routing and analysis
52
64
  - 🧩 **DualMemoryEngine** - System 1 & System 2 cognitive memory
53
65
  - 📁 **FileSystemService** - Safe, atomic file operations
54
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
+
55
73
  ## 💻 Programmatic API
56
74
 
57
75
  ### Core Services Example
@@ -98,6 +116,36 @@ const fs = new FileSystemService({
98
116
  enableBackup: true,
99
117
  enableSafeMode: true
100
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);
101
149
 
102
150
  await fs.writeFile('/path/to/file.ts', content);
103
151
  await fs.copy('/src', '/backup');
@@ -268,14 +316,26 @@ See [LICENSE](LICENSE) for full details.
268
316
  - **Documentation**: https://docs.maria-ai.dev
269
317
  - **Support**: https://github.com/bonginkan/maria/issues
270
318
 
271
- ## 🎉 What's New in v3.0.0
272
-
273
- ### Revolutionary Changes
274
- - **Minimal API Surface**: Reduced from 50+ to 3 core services
275
- - **Beautiful CLI Experience**: Professional startup screen with provider selection
276
- - **Dynamic Configuration**: Self-updating version from package.json
277
- - **Zero-Config Philosophy**: Works perfectly out of the box
278
- - **Performance Optimized**: 192KB bundle, < 1s startup time
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
279
339
 
280
340
  ### 🚨 Breaking Changes from v2.x
281
341
  - **API Simplification**: Many internal services no longer exposed