JSPM

@bonginkan/maria

3.4.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 391
  • Score
    100M100P100Q122226F
  • License SEE LICENSE IN LICENSE

๐Ÿš€ MARIA v3.4.1 - Dynamic Version Display. Revolutionary AI development platform with dynamic version reading from package.json, real-time autocomplete for all slash commands, alphabetically sorted suggestions, keyboard navigation (โ†‘/โ†“/Tab/Enter), 2-character minimum trigger, dynamic command registration from /help, complete business operations CLI, Graph RAG technology, and project management SOW generation.

Package Exports

  • @bonginkan/maria
  • @bonginkan/maria/package.json
  • @bonginkan/maria/services/internal-mode
  • @bonginkan/maria/services/internal-mode-v2

Readme

๐Ÿš€ MARIA v3.4.0

Enterprise Business Operations & Graph RAG Intelligence - Revolutionary AI development platform with complete business operations CLI, Graph RAG technology, intelligent codebase analysis, and enterprise-grade business intelligence features. Features advanced AST parsing, knowledge graphs, Salesforce integration, and TUI dashboards.

๐ŸŒ Homepage: https://bonginkan.ai/

TypeScript Node.js npm Bundle Size Graph RAG Business Ops

๐Ÿง  Revolutionary Graph RAG Technology

MARIA v3.4.0 introduces cutting-edge Graph RAG (Retrieval Augmented Generation) capabilities and complete Business Operations suite that transform how AI understands and works with your codebase:

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  ๐Ÿ” AST PARSING    โ†’   ๐Ÿ“Š KNOWLEDGE GRAPH   โ†’   ๐Ÿค– AI GUIDE  โ”‚
โ”‚                                                             โ”‚
โ”‚  TypeScript/JS     โ†’   Neo4j Relationships  โ†’   Dynamic     โ”‚
โ”‚  Code Analysis     โ†’   Semantic Connections โ†’   Guidelines  โ”‚
โ”‚  Dependencies      โ†’   Vector Embeddings    โ†’   Smart Recs  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐ŸŽฏ What's New in v3.4.0

  • ๐Ÿ’ผ Business Operations Suite: Complete enterprise CLI with 4 major commands
  • ๐ŸŽฏ Battle Card Generator: Automated competitive analysis and PDF output
  • ๐ŸŽ›๏ธ AI Behavior Tuning: Natural language AI adjustment for business strategy
  • ๐Ÿ“Š TUI Dashboards: Real-time sales dashboards with blessed.js integration
  • ๐Ÿš€ Pilot Management: 5-person team automated onboarding and monitoring
  • ๐Ÿ”— Salesforce Integration: Real API integration with OAuth2.0 and fallback
  • ๐Ÿงช Graph RAG Engine: Deep codebase understanding through knowledge graphs
  • ๐Ÿ”„ Smart /init Command: Complete project analysis with AST parsing

๐ŸŽจ Beautiful CLI Experience

When you run maria, you'll see:

โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘  โ–ˆโ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—                  โ•‘
โ•‘  โ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—                 โ•‘
โ•‘  โ–ˆโ–ˆโ•”โ–ˆโ–ˆโ–ˆโ–ˆโ•”โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘                 โ•‘
โ•‘  โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•‘                 โ•‘
โ•‘  โ–ˆโ–ˆโ•‘ โ•šโ•โ• โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘                 โ•‘
โ•‘  โ•šโ•โ•     โ•šโ•โ•โ•šโ•โ•  โ•šโ•โ•โ•šโ•โ•  โ•šโ•โ•โ•šโ•โ•โ•šโ•โ•  โ•šโ•โ•                 โ•‘
โ•‘        AI-Powered Development Platform                   โ•‘
โ•‘         (c) 2025 Bonginkan Inc.                          โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

MARIA CODE v3.4.0 โ€” Business Operations & Graph RAG Ready
/help for commands | Providers: 8/8 OK | Graph RAG: Enabled | Business Ops: Complete

Available AI Providers:
โ˜๏ธ  Cloud AI: OpenAI, Anthropic, Google, Groq, xAI
๐Ÿ’ป Local AI: Ollama, LM Studio, vLLM
๐Ÿง  Graph RAG: Knowledge Graphs, Vector Search, AST Analysis
๐Ÿ’ผ Business Ops: Salesforce, TUI Dashboards, Battle Cards, Team Management

โšก Installation

# Global installation (recommended)
npm install -g @bonginkan/maria

# Or with pnpm
pnpm add -g @bonginkan/maria

๐Ÿ’ผ Business Operations Quick Start

Battle Card Generation

# Generate competitive battle cards with PDF output
maria
/battlecard --competitor "CompetitorX" --customer "ABC Corp" --industry manufacturing

# Output:
# ๐ŸŽฏ Analyzing competitor strategy...
# ๐Ÿ“Š Generating battle card content...
# ๐Ÿ’ผ Creating presentation-ready output...
# โœจ Battle card saved to battlecard_CompetitorX_ABC.html

Real-time Sales Dashboard

# Launch interactive TUI dashboard
/sales-dashboard

# With specific profile and theme
/sales-dashboard --profile executive --theme business

AI Behavior Tuning

# Natural language AI adjustment
/tune "Focus on increasing sales conversion rate while maintaining quality"

# With intensity and scope control
/tune "Prioritize cost reduction" --intensity high --scope team

Pilot Team Management

# Setup 5-person sales team pilot
/pilot-setup template
/pilot-setup setup --config ./pilot-config.json
/pilot-setup start --pilot-id team_alpha_2025

๐Ÿงฌ Graph RAG Quick Start

Initialize Your Project with Graph RAG

# Full codebase analysis with knowledge graph construction
maria
/init

# Output:
# ๐Ÿง  Initializing Graph RAG analysis...
# ๐Ÿ“ Scanning project files...
# ๐Ÿ” Parsing AST structures...
# ๐Ÿ“Š Building knowledge graph...
# โœจ Generating MARIA.md guidelines...

Incremental Updates

# Smart incremental updates with delta detection
/update

# With specific change detection
/update --since git:HEAD~3
/update --since 2025-08-20
/update --since state

๐ŸŽฏ Core Features

๐Ÿง  Graph RAG Intelligence

  • AST Parsing: Deep TypeScript/JavaScript code analysis
  • Knowledge Graphs: Neo4j-powered semantic relationships
  • Vector Search: Hybrid search with RRF ranking
  • Delta Detection: Three methods (git, time, state-based)
  • Provenance: Full explanation of AI recommendations

๐Ÿ’ผ Business Operations Suite

  • Battle Cards: Automated competitive analysis and PDF generation
  • Sales Dashboards: Real-time TUI dashboards with blessed.js
  • AI Tuning: Natural language behavior adjustment for teams
  • Pilot Management: 5-person team onboarding and monitoring
  • Salesforce Integration: OAuth2.0 API with failover to CSV
  • RBAC Security: Role-based access control with audit logging

๐Ÿค– AI Provider Support

8 AI Providers with automatic failover:

Provider Models Available Status
๐Ÿค– OpenAI GPT-5, GPT-4o, o1-preview/mini โœ… Active
๐Ÿง  Anthropic Claude 3.5 Sonnet, Haiku โœ… Active
๐Ÿ”ฎ Google Gemini 2.0 Flash, 1.5 Pro โœ… Active
โšก Groq Llama 3.1, Mixtral โœ… Active
๐Ÿš€ xAI Grok Beta, Vision โœ… Active
๐Ÿ’ป Ollama Local Models ๐Ÿ  Local
๐ŸŽฏ LM Studio Local Models ๐Ÿ  Local
โš™๏ธ vLLM Local Models ๐Ÿ  Local

๐ŸŽจ Advanced CLI Features

# Enhanced slash commands with Graph RAG
/init          # Full project analysis with knowledge graphs
/update        # Incremental updates with delta detection
/memory        # View Graph RAG memory statistics
/status        # System health with Graph RAG metrics
/help          # Enhanced help with visual diagrams

๐Ÿ“Š Graph RAG Visualization

Knowledge Graph Structure:
โ”œโ”€โ”€ ๐Ÿ“ Project Root
โ”‚   โ”œโ”€โ”€ ๐Ÿ”— Dependencies
โ”‚   โ”‚   โ”œโ”€โ”€ External Packages
โ”‚   โ”‚   โ””โ”€โ”€ Internal Modules  
โ”‚   โ”œโ”€โ”€ ๐Ÿงฉ Components
โ”‚   โ”‚   โ”œโ”€โ”€ React Components
โ”‚   โ”‚   โ””โ”€โ”€ Utility Functions
โ”‚   โ”œโ”€โ”€ ๐ŸŽฏ Types & Interfaces
โ”‚   โ”‚   โ”œโ”€โ”€ API Contracts
โ”‚   โ”‚   โ””โ”€โ”€ Domain Models
โ”‚   โ””โ”€โ”€ ๐Ÿ”„ Data Flow
โ”‚       โ”œโ”€โ”€ State Management
โ”‚       โ””โ”€โ”€ Event Handlers

๐Ÿš€ Advanced Usage

Custom Delta Detection

# Git-based changes
/update --since git:HEAD~5

# Time-based changes  
/update --since 2025-08-20T10:00:00Z

# State-based changes (SHA-256)
/update --since state

Output Modes

# TTY mode (interactive)
maria

# JSON mode (CI/CD)
MARIA_OUTPUT=json maria

Budget Control

// Budget-aware processing
{
  "budget": {
    "maxFiles": 1000,
    "maxTimeMs": 300000,
    "maxTokens": 100000
  }
}

๐Ÿ—๏ธ Architecture

Graph RAG Pipeline

Input โ†’ AST Parser โ†’ Knowledge Graph โ†’ Vector Store โ†’ AI Analysis โ†’ Guidelines
  โ†“         โ†“             โ†“               โ†“            โ†“           โ†“
Files โ†’ Structures โ†’ Relationships โ†’ Embeddings โ†’ Insights โ†’ MARIA.md

Memory Systems

  • System 1: Fast pattern recognition, code snippets
  • System 2: Deep reasoning, architectural analysis
  • Graph Store: Persistent knowledge relationships
  • Vector Store: Semantic similarity search

Safety & Privacy

  • Local Processing: AST parsing runs locally
  • Gradual Degradation: Works without external services
  • Budget Controls: Prevents resource exhaustion
  • Safe Defaults: Non-destructive operations

๐Ÿ“š Graph RAG Configuration

Neo4j Integration

{
  "graphRAG": {
    "neo4j": {
      "uri": "bolt://localhost:7687",
      "user": "neo4j",
      "password": "your-password"
    },
    "vectorDB": {
      "provider": "qdrant",
      "collection": "maria-knowledge"
    }
  }
}

AST Analysis Settings

{
  "astParser": {
    "languages": ["typescript", "javascript"],
    "includePatterns": ["src/**/*.ts", "src/**/*.tsx"],
    "excludePatterns": ["node_modules/**", "dist/**"],
    "maxDepth": 10
  }
}

๐ŸŽฏ Use Cases

๐Ÿข Enterprise Development

  • Code Review: AI-powered analysis with Graph RAG insights
  • Architecture Planning: Relationship mapping and dependency analysis
  • Knowledge Transfer: Dynamic guideline generation for teams
  • Legacy Migration: Deep codebase understanding for modernization

๐Ÿ‘จโ€๐Ÿ’ป Individual Developers

  • Project Onboarding: Instant understanding of new codebases
  • Code Quality: Intelligent suggestions based on project patterns
  • Documentation: Auto-generated guidelines that evolve with code
  • Learning: Explore code relationships through knowledge graphs

๐Ÿ“– API Reference

Core Services

import { 
  IntelligentRouterService,    // Graph RAG routing
  DualMemoryEngine,           // System 1 & 2 memory
  FileSystemService           // Safe file operations
} from '@bonginkan/maria';

Graph RAG Services

import {
  GraphRAGService,            // Main Graph RAG orchestrator
  ASTAnalyzer,               // Code structure analysis
  KnowledgeGraphService,     // Neo4j graph management
  DeltaDetectorService       // Change detection
} from '@bonginkan/maria/graph-rag';

๐Ÿš€ Changelog v3.3.0

โœจ New Features

  • Graph RAG Engine: Complete implementation with Neo4j integration
  • Enhanced /init Command: AST parsing + knowledge graph construction
  • New /update Command: Intelligent incremental updates
  • Delta Detection: Git/time/state-based change tracking
  • Advanced CLI UX: Progress bars, spinners, TTY/JSON modes
  • Provenance System: Full transparency in AI recommendations

๐Ÿ”ง Improvements

  • Build System: Fixed 870+ TypeScript syntax errors
  • Import Paths: Cleaned up all module resolution issues
  • Dependencies: Added Neo4j driver and Babel traverse support
  • Memory Efficiency: Optimized AST parsing and graph operations
  • Error Handling: Enhanced error reporting with suggestions

๐Ÿ“ฆ Dependencies

  • Added: neo4j-driver for graph database operations
  • Added: @babel/traverse for AST parsing capabilities
  • Updated: All provider integrations with improved stability

๐Ÿค Contributing

We welcome contributions to MARIA's Graph RAG capabilities!

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-graph-rag)
  3. Commit your changes (git commit -m 'Add amazing Graph RAG feature')
  4. Push to the branch (git push origin feature/amazing-graph-rag)
  5. Open a Pull Request

๐Ÿ“„ License

MIT License - see LICENSE file for details.

๐ŸŒŸ Support


MARIA v3.3.0 - Revolutionizing AI development with Graph RAG intelligence ๐Ÿš€