@bonginkan/maria 4.2.30 → 4.2.31

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,4 +1,4 @@
1
- # MARIA - AI Development Platform v4.2.30
1
+ # MARIA - AI Development Platform v4.2.31
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/@bonginkan/maria.svg)](https://www.npmjs.com/package/@bonginkan/maria)
4
4
  [![License](https://img.shields.io/badge/license-Multi--tier-blue.svg)](LICENSE)
@@ -10,7 +10,7 @@
10
10
 
11
11
  > **Enterprise-grade AI development platform with 100% command availability and comprehensive fallback support**
12
12
 
13
- ## 🚀 What's New in v4.2.30 (September 3, 2025)
13
+ ## 🚀 What's New in v4.2.31 (September 3, 2025)
14
14
 
15
15
  ### 🏗️ Build Status - All Systems Operational ✅
16
16
  - **CLI NPM Package**: ESM + CJS builds successful (2.02MB/1.16MB)
@@ -748,10 +748,10 @@ await secureWorkflow.executeWithAuth(workflowDefinition, securityContext);
748
748
  ### Quick Installation
749
749
  ```bash
750
750
  # Install globally (recommended)
751
- npm install -g @bonginkan/maria@4.2.30
751
+ npm install -g @bonginkan/maria@4.2.31
752
752
 
753
753
  # Verify installation
754
- maria --version # Should show v4.2.30
754
+ maria --version # Should show v4.2.31
755
755
 
756
756
  # Initialize with authentication
757
757
  maria /login # Setup OAuth2.0 + PKCE authentication
@@ -952,7 +952,7 @@ MARIA CODE is distributed under a comprehensive licensing system designed for in
952
952
 
953
953
  *MARIA v4.1.4 represents the pinnacle of multimodal AI development platform evolution - combining revolutionary voice-to-code capabilities, advanced memory systems, and comprehensive command ecosystems with enterprise-grade security and performance. This release establishes MARIA as the definitive choice for developers and Fortune 500 enterprises seeking intelligent, multimodal development experiences with GraphRAG intelligence, multilingual support, and zero-anxiety coding workflows.*
954
954
 
955
- **Transform your development experience today**: `npm install -g @bonginkan/maria@4.2.30`
955
+ **Transform your development experience today**: `npm install -g @bonginkan/maria@4.2.31`
956
956
 
957
957
  🌐 **Official Website**: [https://maria-code.ai](https://maria-code.ai)
958
958
  💬 **Community**: [https://discord.gg/SMSmSGcEQy](https://discord.gg/SMSmSGcEQy)
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "lite-1.0.0",
3
- "generatedAt": "2025-09-11T08:26:00.831Z",
3
+ "generatedAt": "2025-09-11T23:41:33.078Z",
4
4
  "totalCommands": 12,
5
5
  "readyCount": 12,
6
6
  "partialCount": 0,
@@ -7696,13 +7696,16 @@ var init_manager = __esm({
7696
7696
  if (h2.ok) return p;
7697
7697
  }
7698
7698
  const order = [
7699
+ // Prefer cloud OpenAI when configured
7699
7700
  "openai",
7701
+ // Prioritize local providers next for offline/dev environments
7702
+ "lmstudio",
7703
+ "ollama",
7704
+ "vllm",
7705
+ // Other clouds after local options
7700
7706
  "anthropic",
7701
7707
  "google",
7702
7708
  "grok",
7703
- "ollama",
7704
- "lmstudio",
7705
- "vllm",
7706
7709
  "groq"
7707
7710
  ];
7708
7711
  for (const id of order) {
@@ -24332,8 +24335,8 @@ var require_package = __commonJS({
24332
24335
  "package.json"(exports, module) {
24333
24336
  module.exports = {
24334
24337
  name: "@bonginkan/maria",
24335
- version: "4.2.30",
24336
- description: "\u{1F680} MARIA v4.2.30 - Enterprise AI Development Platform with 100% Command Availability. Features 74 production-ready commands with comprehensive fallback implementation, local LLM support, and zero external dependencies. Includes natural language coding, AI safety evaluation, intelligent evolution system, episodic memory with PII masking, and real-time monitoring dashboard. Built with TypeScript AST-powered code generation, OAuth2.0 + PKCE authentication, quantum-resistant cryptography, and enterprise-grade performance.",
24338
+ version: "4.2.31",
24339
+ description: "\u{1F680} MARIA v4.2.31 - Enterprise AI Development Platform with 100% Command Availability. Features 74 production-ready commands with comprehensive fallback implementation, local LLM support, and zero external dependencies. Includes natural language coding, AI safety evaluation, intelligent evolution system, episodic memory with PII masking, and real-time monitoring dashboard. Built with TypeScript AST-powered code generation, OAuth2.0 + PKCE authentication, quantum-resistant cryptography, and enterprise-grade performance.",
24337
24340
  keywords: [
24338
24341
  "ai",
24339
24342
  "cli",
@@ -26539,7 +26542,7 @@ var init_AuthenticationManager = __esm({
26539
26542
  const response2 = await fetch(`${this.apiBase}/api/user/profile`, {
26540
26543
  headers: {
26541
26544
  "Authorization": `Bearer ${tokens.accessToken}`,
26542
- "User-Agent": `maria-cli/${process.env.CLI_VERSION || "4.2.30"}`
26545
+ "User-Agent": `maria-cli/${process.env.CLI_VERSION || "4.2.31"}`
26543
26546
  }
26544
26547
  });
26545
26548
  if (response2.status === 401) {
@@ -29241,6 +29244,17 @@ var init_ai_response_service = __esm({
29241
29244
  try {
29242
29245
  await this.providerManager.initialize();
29243
29246
  this.initialized = true;
29247
+ try {
29248
+ const noOpenAI = !process.env.OPENAI_API_KEY;
29249
+ const isMac = process.platform === "darwin";
29250
+ if (isMac && noOpenAI) {
29251
+ const available = new Set(this.providerManager.getAvailableProviders());
29252
+ if (available.has("lmstudio")) {
29253
+ this.providerManager.setActiveProvider("lmstudio");
29254
+ }
29255
+ }
29256
+ } catch {
29257
+ }
29244
29258
  } catch {
29245
29259
  this.initialized = false;
29246
29260
  }
@@ -29266,6 +29280,12 @@ var init_ai_response_service = __esm({
29266
29280
  maxTokens = 32e3
29267
29281
  } = opts;
29268
29282
  try {
29283
+ if (provider) {
29284
+ try {
29285
+ this.providerManager.setCurrentProvider(provider);
29286
+ } catch {
29287
+ }
29288
+ }
29269
29289
  const res = await this.providerManager.complete({
29270
29290
  prompt: `${system}
29271
29291
 
@@ -47706,7 +47726,7 @@ var init_about_command = __esm({
47706
47726
  async execute(args2, context2) {
47707
47727
  const output3 = [];
47708
47728
  output3.push("");
47709
- output3.push(chalk27__default.default.cyan.bold("\u{1F916} About MARIA v4.2.30"));
47729
+ output3.push(chalk27__default.default.cyan.bold("\u{1F916} About MARIA v4.2.31"));
47710
47730
  output3.push(chalk27__default.default.gray("\u2550".repeat(40)));
47711
47731
  output3.push("");
47712
47732
  output3.push(chalk27__default.default.white.bold("MARIA - Minimal API, Maximum Power"));