@bonginkan/maria 4.2.29 → 4.2.30

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.29
1
+ # MARIA - AI Development Platform v4.2.30
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.29 (September 3, 2025)
13
+ ## 🚀 What's New in v4.2.30 (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.29
751
+ npm install -g @bonginkan/maria@4.2.30
752
752
 
753
753
  # Verify installation
754
- maria --version # Should show v4.2.29
754
+ maria --version # Should show v4.2.30
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.29`
955
+ **Transform your development experience today**: `npm install -g @bonginkan/maria@4.2.30`
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-11T07:42:48.812Z",
3
+ "generatedAt": "2025-09-11T08:26:00.831Z",
4
4
  "totalCommands": 12,
5
5
  "readyCount": 12,
6
6
  "partialCount": 0,
@@ -500,7 +500,7 @@ var DEFAULT_PROVIDER2, DEFAULT_MODEL2;
500
500
  var init_config = __esm({
501
501
  "src/providers/config.ts"() {
502
502
  DEFAULT_PROVIDER2 = process.env.DEFAULT_PROVIDER || "openai";
503
- DEFAULT_MODEL2 = process.env.MARIA_DEFAULT_MODEL || process.env.LMSTUDIO_MODEL || "gpt-5-mini-2025-08-07";
503
+ DEFAULT_MODEL2 = process.env.OPENAI_MODEL || process.env.MARIA_DEFAULT_MODEL || "gpt-5-mini";
504
504
  }
505
505
  });
506
506
 
@@ -7750,8 +7750,8 @@ var init_manager = __esm({
7750
7750
  /** Legacy sync method kept for backward compatibility (minimal) */
7751
7751
  getAvailableModels() {
7752
7752
  const out = [];
7753
- if (this.available.has("openai")) out.push("gpt-4o", "gpt-4o-mini", "gpt-3.5-turbo");
7754
- if (this.available.has("anthropic")) out.push("claude-3-5-sonnet-20241022", "claude-3-5-haiku-20241022");
7753
+ if (this.available.has("openai")) out.push("gpt-5", "gpt-5-mini", "gpt-4o", "gpt-4o-mini");
7754
+ if (this.available.has("anthropic")) out.push("claude-opus-4-1-20250805", "claude-opus-4-20250514", "claude-sonnet-4-20250514");
7755
7755
  if (this.available.has("google")) out.push("gemini-2.5-pro", "gemini-2.5-flash");
7756
7756
  if (this.available.has("grok")) out.push("grok-4", "grok-beta");
7757
7757
  return out;
@@ -7877,12 +7877,15 @@ var init_manager = __esm({
7877
7877
  if (!apiKey) throw new Error("OpenAI API key not configured");
7878
7878
  const controller = new AbortController();
7879
7879
  const timeout = setTimeout(() => controller.abort(), 3e5);
7880
- const modelName = req.model || "gpt-5-mini-2025-08-07";
7881
- const isGPT5 = modelName.includes("gpt-5");
7880
+ const modelName = req.model || process.env.OPENAI_MODEL || "gpt-5-mini";
7881
+ const isGPT5 = /\bgpt-5\b/i.test(modelName) || modelName.toLowerCase().startsWith("gpt-5");
7882
7882
  const bodyParams = {
7883
7883
  model: modelName,
7884
7884
  messages: [
7885
- { role: "system", content: "You are a helpful assistant. Provide direct, clear answers without menus or numbered options." },
7885
+ {
7886
+ role: "system",
7887
+ content: "You are a helpful assistant. Always respond in English. Provide direct, clear answers without menus or numbered options."
7888
+ },
7886
7889
  { role: "user", content: prompt }
7887
7890
  ]
7888
7891
  };
@@ -7907,7 +7910,7 @@ var init_manager = __esm({
7907
7910
  throw new Error(`OpenAI ${res.status}: ${txt}`);
7908
7911
  }
7909
7912
  const json = await res.json();
7910
- return { content: json.choices?.[0]?.message?.content ?? "" };
7913
+ return { content: json.choices?.[0]?.message?.content ?? "", model: json.model };
7911
7914
  } catch (error2) {
7912
7915
  clearTimeout(timeout);
7913
7916
  if (error2.name === "AbortError" || error2.message?.includes("abort")) {
@@ -24329,8 +24332,8 @@ var require_package = __commonJS({
24329
24332
  "package.json"(exports, module) {
24330
24333
  module.exports = {
24331
24334
  name: "@bonginkan/maria",
24332
- version: "4.2.29",
24333
- description: "\u{1F680} MARIA v4.2.29 - 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.",
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.",
24334
24337
  keywords: [
24335
24338
  "ai",
24336
24339
  "cli",
@@ -26536,7 +26539,7 @@ var init_AuthenticationManager = __esm({
26536
26539
  const response2 = await fetch(`${this.apiBase}/api/user/profile`, {
26537
26540
  headers: {
26538
26541
  "Authorization": `Bearer ${tokens.accessToken}`,
26539
- "User-Agent": `maria-cli/${process.env.CLI_VERSION || "4.2.29"}`
26542
+ "User-Agent": `maria-cli/${process.env.CLI_VERSION || "4.2.30"}`
26540
26543
  }
26541
26544
  });
26542
26545
  if (response2.status === 401) {
@@ -29256,7 +29259,7 @@ var init_ai_response_service = __esm({
29256
29259
  */
29257
29260
  async callLLM(prompt, opts = {}) {
29258
29261
  const {
29259
- system = PLAIN_OUTPUT ? "Return ONLY the answer (or ONLY code). No menus, no lists, no guided flows." : "You are a helpful senior engineer. Provide direct, production-quality answers.",
29262
+ system = PLAIN_OUTPUT ? "Return ONLY the answer (or ONLY code). No menus, no lists, no guided flows. Always respond in English." : "You are a helpful senior engineer. Always respond in English. Provide direct, production-quality answers.",
29260
29263
  model = DEFAULT_MODEL2,
29261
29264
  provider = DEFAULT_PROVIDER2,
29262
29265
  temperature = 0.2,
@@ -47703,7 +47706,7 @@ var init_about_command = __esm({
47703
47706
  async execute(args2, context2) {
47704
47707
  const output3 = [];
47705
47708
  output3.push("");
47706
- output3.push(chalk27__default.default.cyan.bold("\u{1F916} About MARIA v4.2.29"));
47709
+ output3.push(chalk27__default.default.cyan.bold("\u{1F916} About MARIA v4.2.30"));
47707
47710
  output3.push(chalk27__default.default.gray("\u2550".repeat(40)));
47708
47711
  output3.push("");
47709
47712
  output3.push(chalk27__default.default.white.bold("MARIA - Minimal API, Maximum Power"));
@@ -58887,17 +58890,17 @@ async function handleCodeCommand(prompt) {
58887
58890
  const response2 = await generateStrictCode(prompt);
58888
58891
  spinner.stop();
58889
58892
  if (response2) {
58890
- console.log(response2);
58893
+ console.log(chalk27__default.default.green(response2));
58891
58894
  const { language, code, extension } = extractCodeInfo(response2);
58892
58895
  const filename = generateCodeFilename(prompt, language, extension);
58893
58896
  const filepath = path9__namespace.resolve(process.cwd(), filename);
58894
58897
  await fsp__namespace.writeFile(filepath, code, "utf-8");
58895
58898
  console.log(
58896
- chalk27__default.default.green("\n\u2705 **Code Saved**\n") + chalk27__default.default.white(`\u{1F4C1} **File (Click to open):**
58897
- `) + chalk27__default.default.cyan(`\u2022 [${filename}](file://${filepath})
58898
- `) + chalk27__default.default.gray(` \u{1F4CD} Path: \`${filepath}\`
58899
- `) + chalk27__default.default.white(` \u{1F4DD} Language: ${language}
58900
- `) + chalk27__default.default.dim(`
58899
+ chalk27__default.default.green("\n\u2705 Code Saved\n") + chalk27__default.default.green(`\u{1F4C1} File (Click to open):
58900
+ `) + chalk27__default.default.green(`\u2022 [${filename}](file://${filepath})
58901
+ `) + chalk27__default.default.green(` \u{1F4CD} Path: \`${filepath}\`
58902
+ `) + chalk27__default.default.green(` \u{1F4DD} Language: ${language}
58903
+ `) + chalk27__default.default.green(`
58901
58904
  \u{1F4A1} Tip: Command+Click (Mac) or Ctrl+Click (Windows/Linux) to open file`)
58902
58905
  );
58903
58906
  } else {
@@ -58912,17 +58915,18 @@ async function handleCodeCommand(prompt) {
58912
58915
  console.log(
58913
58916
  chalk27__default.default.yellow("\u26A0 AI unavailable, using template fallback:\n")
58914
58917
  );
58915
- console.log(fallbackCode);
58918
+ console.log(chalk27__default.default.green(fallbackCode));
58916
58919
  try {
58917
58920
  const { language, code, extension } = extractCodeInfo(fallbackCode);
58918
58921
  const filename = generateCodeFilename(prompt, language, extension);
58919
58922
  const filepath = path9__namespace.resolve(process.cwd(), filename);
58920
58923
  await fsp__namespace.writeFile(filepath, code, "utf-8");
58921
58924
  console.log(
58922
- chalk27__default.default.green("\n\u2705 **Template Code Saved**\n") + chalk27__default.default.white(`\u{1F4C1} **File (Click to open):**
58923
- `) + chalk27__default.default.cyan(`\u2022 [${filename}](file://${filepath})
58924
- `) + chalk27__default.default.gray(` \u{1F4CD} Path: \`${filepath}\`
58925
- `) + chalk27__default.default.dim(`
58925
+ chalk27__default.default.green("\n\u2705 Template Code Saved\n") + chalk27__default.default.green(`\u{1F4C1} File (Click to open):
58926
+ `) + chalk27__default.default.green(`\u2022 [${filename}](file://${filepath})
58927
+ `) + chalk27__default.default.green(` \u{1F4CD} Path: \`${filepath}\`
58928
+ `) + chalk27__default.default.green(` \u{1F4DD} Language: ${language}
58929
+ `) + chalk27__default.default.green(`
58926
58930
  \u{1F4A1} Tip: Command+Click (Mac) or Ctrl+Click (Windows/Linux) to open file`)
58927
58931
  );
58928
58932
  } catch (saveError) {
@@ -59141,9 +59145,9 @@ async function streamAnswer(text) {
59141
59145
  });
59142
59146
  animation.stop();
59143
59147
  if (ai.streamResponse) {
59144
- await ai.streamResponse(resp, (line) => console.log(line));
59148
+ await ai.streamResponse(resp, (line) => console.log(chalk27__default.default.green(line)));
59145
59149
  } else {
59146
- console.log(resp);
59150
+ console.log(chalk27__default.default.green(resp));
59147
59151
  }
59148
59152
  const msg = { role: "assistant", content: resp, timestamp: /* @__PURE__ */ new Date() };
59149
59153
  session.push(msg);