@bonginkan/maria 4.3.19 → 4.3.20

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.3.19
1
+ # MARIA - AI Development Platform v4.3.20
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.3.19 (September 16, 2025)
13
+ ## 🚀 What's New in v4.3.20 (September 16, 2025)
14
14
 
15
15
  ### 🎯 Interactive Improvements & Choice Memory
16
16
  - **Choice Memory System**: Smart persistence of user selections across sessions
@@ -922,7 +922,7 @@ await secureWorkflow.executeWithAuth(workflowDefinition, securityContext);
922
922
  ### Quick Installation
923
923
  ```bash
924
924
  # Install globally (recommended)
925
- npm install -g @bonginkan/maria@4.3.19
925
+ npm install -g @bonginkan/maria@4.3.20
926
926
 
927
927
  # Verify installation
928
928
  maria --version # Should show v4.3.9
@@ -1126,7 +1126,7 @@ MARIA CODE is distributed under a comprehensive licensing system designed for in
1126
1126
 
1127
1127
  *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.*
1128
1128
 
1129
- **Transform your development experience today**: `npm install -g @bonginkan/maria@4.3.19`
1129
+ **Transform your development experience today**: `npm install -g @bonginkan/maria@4.3.20`
1130
1130
 
1131
1131
  🌐 **Official Website**: [https://maria-code.ai](https://maria-code.ai)
1132
1132
  💬 **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-22T01:57:57.827Z",
3
+ "generatedAt": "2025-09-22T02:41:26.478Z",
4
4
  "totalCommands": 17,
5
5
  "readyCount": 17,
6
6
  "partialCount": 0,
@@ -18690,7 +18690,20 @@ var init_logger = __esm({
18690
18690
  console[level](JSON.stringify(payload));
18691
18691
  return;
18692
18692
  }
18693
- console[level](tag, ...args2);
18693
+ const debugMode = process.env.MARIA_DEBUG === "1";
18694
+ const isError = tag.includes("[ERROR]");
18695
+ let outArgs = args2;
18696
+ if (isError && !debugMode) {
18697
+ const filtered = [];
18698
+ for (const a of args2) {
18699
+ const t2 = typeof a;
18700
+ if (a == null || t2 === "string" || t2 === "number" || t2 === "boolean") {
18701
+ filtered.push(a);
18702
+ }
18703
+ }
18704
+ outArgs = filtered;
18705
+ }
18706
+ console[level](tag, ...outArgs);
18694
18707
  }
18695
18708
  debug(...args2) {
18696
18709
  if (this.level <= 0 /* DEBUG */) {
@@ -26038,8 +26051,8 @@ var require_package = __commonJS({
26038
26051
  "package.json"(exports, module) {
26039
26052
  module.exports = {
26040
26053
  name: "@bonginkan/maria",
26041
- version: "4.3.19",
26042
- description: "\u{1F680} MARIA v4.3.19 - Enterprise AI Development Platform with identity system and character voice implementation. 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.",
26054
+ version: "4.3.20",
26055
+ description: "\u{1F680} MARIA v4.3.20 - Enterprise AI Development Platform with identity system and character voice implementation. 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.",
26043
26056
  keywords: [
26044
26057
  "ai",
26045
26058
  "cli",
@@ -28071,7 +28084,7 @@ var init_AuthenticationManager = __esm({
28071
28084
  const response = await fetch(`${this.apiBase}/api/user/profile`, {
28072
28085
  headers: {
28073
28086
  "Authorization": `Bearer ${tokens2.accessToken}`,
28074
- "User-Agent": `maria-cli/${process.env.CLI_VERSION || "4.3.19"}`
28087
+ "User-Agent": `maria-cli/${process.env.CLI_VERSION || "4.3.20"}`
28075
28088
  }
28076
28089
  });
28077
28090
  if (response.status === 401) {
@@ -28703,7 +28716,7 @@ async function callApi(path60, init3 = {}) {
28703
28716
  "Authorization": `Bearer ${token}`,
28704
28717
  "X-Device-Id": getDeviceId(),
28705
28718
  "X-Session-Id": getSessionId() || "",
28706
- "User-Agent": `maria-cli/${process.env.CLI_VERSION || "4.3.19"}`,
28719
+ "User-Agent": `maria-cli/${process.env.CLI_VERSION || "4.3.20"}`,
28707
28720
  "Content-Type": init3.headers?.["Content-Type"] || "application/json"
28708
28721
  });
28709
28722
  const doFetch = async (token) => {
@@ -48369,11 +48382,20 @@ var init_image_command = __esm({
48369
48382
  model: cli.model,
48370
48383
  seed: cli.seed
48371
48384
  };
48372
- const apiRes = await callApiJson("/api/v1/image", {
48385
+ const resp = await callApi("/api/v1/image", {
48373
48386
  method: "POST",
48374
48387
  body: JSON.stringify(body),
48375
48388
  headers: { "Content-Type": "application/json" }
48376
48389
  });
48390
+ if (!resp.ok) {
48391
+ const data = await resp.json().catch(() => ({}));
48392
+ const code = data?.error ? String(data.error) : void 0;
48393
+ const msg2 = data?.message ? String(data.message) : `API error: ${resp.status}`;
48394
+ const hint = data?.hint ? String(data.hint) : "";
48395
+ const composed = hint ? `${msg2} (${code || "error"}) \u2014 ${hint}` : code ? `${msg2} (${code})` : msg2;
48396
+ return this.error(composed);
48397
+ }
48398
+ const apiRes = await resp.json();
48377
48399
  const urls = [];
48378
48400
  if (apiRes?.data?.url) urls.push(String(apiRes.data.url));
48379
48401
  const filesInline = apiRes?.data?.filesInline;
@@ -48499,6 +48521,8 @@ var init_image_command = __esm({
48499
48521
  }
48500
48522
  return this.success(msg, void 0, void 0);
48501
48523
  } catch (e2) {
48524
+ const m2 = e2?.message ? String(e2.message) : String(e2);
48525
+ return this.error(m2.startsWith("ERROR:") ? m2 : `ERROR: ${m2}`);
48502
48526
  }
48503
48527
  }
48504
48528
  const res = await runImagePipeline({
@@ -50559,7 +50583,7 @@ var init_about_command = __esm({
50559
50583
  async execute(args2, context2) {
50560
50584
  const output3 = [];
50561
50585
  output3.push("");
50562
- output3.push(chalk14__default.default.cyan.bold("\u{1F916} About MARIA v4.3.19"));
50586
+ output3.push(chalk14__default.default.cyan.bold("\u{1F916} About MARIA v4.3.20"));
50563
50587
  output3.push(chalk14__default.default.gray("\u2550".repeat(40)));
50564
50588
  output3.push("");
50565
50589
  output3.push(chalk14__default.default.white.bold("MARIA - Minimal API, Maximum Power"));