@bonginkan/maria 4.3.34 → 4.3.35

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.34
1
+ # MARIA - AI Development Platform v4.3.35
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.34 (September 29, 2025)
13
+ ## 🚀 What's New in v4.3.35 (September 29, 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.34
925
+ npm install -g @bonginkan/maria@4.3.35
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.34`
1129
+ **Transform your development experience today**: `npm install -g @bonginkan/maria@4.3.35`
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-10-01T05:35:40.844Z",
3
+ "generatedAt": "2025-10-01T07:40:48.664Z",
4
4
  "totalCommands": 16,
5
5
  "readyCount": 16,
6
6
  "partialCount": 0,
@@ -11,112 +11,128 @@
11
11
  "hasExecute": true,
12
12
  "hasMetadata": true,
13
13
  "depsAvailable": true,
14
- "description": "Show command help and documentation"
14
+ "description": "Show command help and documentation",
15
+ "usage": "/help [command] [--category <category>] [--search <term>] [--quickstart] [--stats]"
15
16
  },
16
17
  "core/version": {
17
18
  "status": "READY",
18
19
  "hasExecute": true,
19
20
  "hasMetadata": true,
20
21
  "depsAvailable": true,
21
- "description": "Show version information"
22
+ "description": "Show version information",
23
+ "usage": "/version"
22
24
  },
23
25
  "core/exit": {
24
26
  "status": "READY",
25
27
  "hasExecute": true,
26
28
  "hasMetadata": true,
27
29
  "depsAvailable": true,
28
- "description": "Exit MARIA CLI"
30
+ "description": "Exit MARIA CLI",
31
+ "usage": "/exit"
29
32
  },
30
33
  "core/update": {
31
34
  "status": "READY",
32
35
  "hasExecute": true,
33
36
  "hasMetadata": true,
34
37
  "depsAvailable": true,
35
- "description": "Incremental codebase updates; refresh MARIA.md with latest changes"
38
+ "description": "Incremental codebase updates; refresh MARIA.md with latest changes",
39
+ "usage": "/update"
36
40
  },
37
41
  "conversation/clear": {
38
42
  "status": "READY",
39
43
  "hasExecute": true,
40
44
  "hasMetadata": true,
41
45
  "depsAvailable": true,
42
- "description": "Clear conversation history"
46
+ "description": "Clear conversation history",
47
+ "usage": "/clear"
43
48
  },
44
49
  "system/status": {
45
50
  "status": "READY",
46
51
  "hasExecute": true,
47
52
  "hasMetadata": true,
48
53
  "depsAvailable": true,
49
- "description": "System health information"
54
+ "description": "System health information",
55
+ "usage": "/status"
50
56
  },
51
57
  "system/doctor": {
52
58
  "status": "READY",
53
59
  "hasExecute": true,
54
60
  "hasMetadata": true,
55
61
  "depsAvailable": true,
56
- "description": "System diagnostics"
62
+ "description": "System diagnostics",
63
+ "usage": "/doctor"
57
64
  },
58
65
  "auth/whoami": {
59
66
  "status": "READY",
60
67
  "hasExecute": true,
61
68
  "hasMetadata": true,
62
69
  "depsAvailable": true,
63
- "description": "Show current authenticated user information"
70
+ "description": "Show current authenticated user information",
71
+ "usage": "/whoami"
64
72
  },
65
73
  "configuration/setup": {
66
74
  "status": "READY",
67
75
  "hasExecute": true,
68
76
  "hasMetadata": true,
69
77
  "depsAvailable": true,
70
- "description": "First-time setup wizard"
78
+ "description": "First-time setup wizard",
79
+ "usage": "/setup"
71
80
  },
72
81
  "configuration/init": {
73
82
  "status": "READY",
74
83
  "hasExecute": true,
75
84
  "hasMetadata": true,
76
85
  "depsAvailable": true,
77
- "description": "Initialize project guidance and generate MARIA.md at repo root"
86
+ "description": "Initialize project guidance and generate MARIA.md at repo root",
87
+ "usage": "/init"
78
88
  },
79
89
  "code/code": {
80
90
  "status": "READY",
81
91
  "hasExecute": true,
82
92
  "hasMetadata": true,
83
93
  "depsAvailable": true,
84
- "description": "Generate code with AI assistance"
94
+ "description": "Generate code with AI assistance",
95
+ "usage": "/code [options]"
85
96
  },
86
97
  "memory/recall": {
87
98
  "status": "READY",
88
99
  "hasExecute": true,
89
100
  "hasMetadata": true,
90
101
  "depsAvailable": true,
91
- "description": "Retrieve stored memories"
102
+ "description": "Retrieve stored memories",
103
+ "usage": "/recall [options]"
92
104
  },
93
105
  "memory/memory-status": {
94
106
  "status": "READY",
95
107
  "hasExecute": true,
96
108
  "hasMetadata": true,
97
109
  "depsAvailable": true,
98
- "description": "Show memory usage statistics and health"
110
+ "description": "Show memory usage statistics and health",
111
+ "usage": "/memory-status"
99
112
  },
100
113
  "multimodal/image": {
101
114
  "status": "READY",
102
115
  "hasExecute": true,
103
116
  "hasMetadata": true,
104
117
  "depsAvailable": true,
105
- "description": "Generate images with AI"
118
+ "description": "Generate images with AI",
119
+ "usage": "/image \"prompt\" [--size 1024x1024] [--format webp|png|jpg] [--count 1..8] [--model gemini-...] [--seed N] [--out dir] [--apply|--plan-only|--dry-run] [--concurrency N] [--retry N]"
106
120
  },
107
121
  "multimodal/video": {
108
122
  "status": "READY",
109
123
  "hasExecute": true,
110
124
  "hasMetadata": true,
111
125
  "depsAvailable": true,
112
- "description": "Generate videos with AI"
126
+ "description": "Generate videos with AI",
127
+ "usage": "/video \"prompt\" [options]"
113
128
  },
114
129
  "workflow/resume": {
115
130
  "status": "READY",
116
131
  "hasExecute": true,
117
132
  "hasMetadata": true,
118
133
  "depsAvailable": true,
119
- "description": "Resume previous task context and propose next /code step"
134
+ "description": "Resume previous task context and propose next /code step",
135
+ "usage": "/workflow/resume [options]"
120
136
  }
121
137
  }
122
138
  }
@@ -26066,8 +26066,8 @@ var require_package = __commonJS({
26066
26066
  "package.json"(exports, module) {
26067
26067
  module.exports = {
26068
26068
  name: "@bonginkan/maria",
26069
- version: "4.3.34",
26070
- description: "\u{1F680} MARIA v4.3.34 - 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.",
26069
+ version: "4.3.35",
26070
+ description: "\u{1F680} MARIA v4.3.35 - 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.",
26071
26071
  keywords: [
26072
26072
  "ai",
26073
26073
  "cli",
@@ -28104,7 +28104,7 @@ var init_AuthenticationManager = __esm({
28104
28104
  const response = await fetch(`${this.apiBase}/api/user/profile`, {
28105
28105
  headers: {
28106
28106
  "Authorization": `Bearer ${tokens2.accessToken}`,
28107
- "User-Agent": `maria-cli/${process.env.CLI_VERSION || "4.3.34"}`
28107
+ "User-Agent": `maria-cli/${process.env.CLI_VERSION || "4.3.35"}`
28108
28108
  }
28109
28109
  });
28110
28110
  if (response.status === 401) {
@@ -28736,7 +28736,7 @@ async function callApi(path64, init3 = {}) {
28736
28736
  "Authorization": `Bearer ${token}`,
28737
28737
  "X-Device-Id": getDeviceId(),
28738
28738
  "X-Session-Id": getSessionId() || "",
28739
- "User-Agent": `maria-cli/${process.env.CLI_VERSION || "4.3.34"}`,
28739
+ "User-Agent": `maria-cli/${process.env.CLI_VERSION || "4.3.35"}`,
28740
28740
  "Content-Type": init3.headers?.["Content-Type"] || "application/json"
28741
28741
  });
28742
28742
  const doFetch = async (token) => {
@@ -37921,8 +37921,10 @@ var init_ReadyCommandsService = __esm({
37921
37921
  category,
37922
37922
  aliases: [],
37923
37923
  description: cmd.description || descriptions[commandName] || "No description available",
37924
- usage: `/${commandName} [options]`,
37925
- examples: [`/${commandName}`],
37924
+ usage: typeof cmd.usage === "string" ? cmd.usage : `/${commandName} [options]`,
37925
+ examples: Array.isArray(cmd.examples) ? cmd.examples : [`/${commandName}`],
37926
+ // flags is optional; keep it if present to power /help details
37927
+ ...cmd.flags && typeof cmd.flags === "object" ? { flags: cmd.flags } : {},
37926
37928
  status: "READY" /* READY */,
37927
37929
  contract: {
37928
37930
  tty: true,
@@ -38429,40 +38431,30 @@ var init_HelpCommand = __esm({
38429
38431
  examples = [
38430
38432
  {
38431
38433
  input: "/help",
38432
- _description: "Show READY commands with GPU labels",
38434
+ description: "Show READY commands with GPU labels",
38433
38435
  output: "Contract-validated commands with performance info"
38434
38436
  },
38435
38437
  {
38436
38438
  input: "/help code",
38437
- _description: "Show detailed help for specific command",
38439
+ description: "Show detailed help for specific command",
38438
38440
  output: "Usage, examples, and contract info for /code"
38439
38441
  },
38440
38442
  {
38441
38443
  input: "/help --category ai",
38442
- _description: "Show all READY commands in AI category",
38444
+ description: "Show all READY commands in AI category",
38443
38445
  output: "List of AI READY commands with GPU labels"
38444
38446
  },
38445
38447
  {
38446
38448
  input: '/help --search "config"',
38447
- _description: "Search READY commands for configuration",
38449
+ description: "Search READY commands for configuration",
38448
38450
  output: 'READY commands matching "config" with match scores'
38449
- },
38450
- {
38451
- input: "/help --stats",
38452
- _description: "Show READY command statistics",
38453
- output: "Performance stats and command counts"
38454
- },
38455
- {
38456
- input: "/help --quickstart",
38457
- _description: "Show essential commands for getting started",
38458
- output: "Most important READY commands for new users"
38459
38451
  }
38460
38452
  ];
38461
38453
  async execute(args2, context2) {
38462
38454
  const startTime = Date.now();
38463
38455
  try {
38464
38456
  const { parsed, options } = args2;
38465
- const _positional = parsed["_positional"] || [];
38457
+ const _positional = parsed["positional"] || parsed["_positional"] || [];
38466
38458
  if (options && options["stats"]) {
38467
38459
  const result2 = await this.showStatistics();
38468
38460
  await this.trackSuccess(startTime, context2);
@@ -38487,7 +38479,9 @@ var init_HelpCommand = __esm({
38487
38479
  return result2;
38488
38480
  }
38489
38481
  if (options && options["search"]) {
38490
- const result2 = await this.searchCommands(options["search"]);
38482
+ const proxy = (process.env.HELP_SEARCH_PROXY ?? "1").toLowerCase();
38483
+ const shouldProxy = proxy !== "0" && proxy !== "false";
38484
+ const result2 = shouldProxy ? await this.showGeneralHelp() : await this.searchCommands(options["search"]);
38491
38485
  await this.trackSuccess(startTime, context2);
38492
38486
  return result2;
38493
38487
  }
@@ -38499,7 +38493,7 @@ var init_HelpCommand = __esm({
38499
38493
  cmd: "help",
38500
38494
  status: "error",
38501
38495
  latencyMs: Date.now() - startTime,
38502
- plan: getUserPlan(),
38496
+ plan: await getUserPlan(),
38503
38497
  quotaLeft: context2.quotaLeft || 999
38504
38498
  });
38505
38499
  return this.error(
@@ -38517,7 +38511,7 @@ var init_HelpCommand = __esm({
38517
38511
  cmd: "help",
38518
38512
  status: "success",
38519
38513
  latencyMs: Date.now() - startTime,
38520
- plan: getUserPlan(),
38514
+ plan: await getUserPlan(),
38521
38515
  quotaLeft: context2.quotaLeft || 999
38522
38516
  });
38523
38517
  }
@@ -38547,9 +38541,6 @@ var init_HelpCommand = __esm({
38547
38541
  lines.push("");
38548
38542
  lines.push(chalk14__default.default.bold("Quick Access:"));
38549
38543
  lines.push(" /help <command> - Detailed help for specific command");
38550
- lines.push(" /help --quickstart - Essential commands for new users");
38551
- lines.push(" /help --stats - Performance statistics");
38552
- lines.push(" /help --search <term> - Search with fuzzy matching");
38553
38544
  lines.push("");
38554
38545
  let globalMaxNameLength = 0;
38555
38546
  for (const category of categories2) {
@@ -38671,49 +38662,50 @@ var init_HelpCommand = __esm({
38671
38662
  }
38672
38663
  );
38673
38664
  }
38674
- const lines = this.formatCommandHelp(command);
38665
+ const lines = this.formatMinimalUsage(command);
38675
38666
  return this.success(lines);
38676
38667
  }
38677
38668
  /**
38678
38669
  * Format detailed help for a command
38679
38670
  */
38680
- formatCommandHelp(command) {
38671
+ formatMinimalUsage(command) {
38681
38672
  const lines = [];
38673
+ lines.push(`Usage: ${command.usage}`);
38682
38674
  lines.push("");
38683
- lines.push(`\u{1F4D6} ${chalk14__default.default.bold(`/${command.name}`)} - ${command.description}`);
38684
- lines.push("\u2550".repeat(50));
38685
- lines.push("");
38686
- lines.push(chalk14__default.default.bold("\u2139\uFE0F Information:"));
38687
- lines.push(` Category: ${this.readyService["getCategoryEmoji"](command.category)} ${command.category}`);
38688
- lines.push(` Status: \u2705 READY (contract validated)`);
38689
- if (command.aliases && command.aliases.length > 0) {
38690
- lines.push(` Aliases: ${command.aliases.map((a) => `/${a}`).join(", ")}`);
38675
+ const flags = command.flags;
38676
+ const effective = flags && Object.keys(flags).length > 0 ? flags : this.extractFlagsFromUsage(command.usage);
38677
+ if (effective && Object.keys(effective).length > 0) {
38678
+ lines.push("Flags:");
38679
+ const entries = Object.entries(effective).sort(([a], [b]) => a.localeCompare(b));
38680
+ for (const [k, v] of entries) {
38681
+ const hint = v ? ` ${v}` : "";
38682
+ lines.push(` --${k}${hint}`);
38683
+ }
38691
38684
  }
38692
- lines.push("");
38693
- lines.push(chalk14__default.default.bold("\u{1F3AF} Usage:"));
38694
- lines.push(` ${command.usage}`);
38695
- lines.push("");
38696
- lines.push(chalk14__default.default.bold("\u{1F4CB} Contract Validation:"));
38697
- lines.push(` \u26A1 Performance: ${command.contract.maxResponseTime}ms (tested)`);
38698
- lines.push(` \u{1F4BB} TTY Mode: ${command.contract.tty ? "\u2705 Supported" : "\u274C Not supported"}`);
38699
- lines.push(` \u{1F527} Non-TTY Mode: ${command.contract.nonTty ? "\u2705 Supported" : "\u274C Not supported"}`);
38700
- lines.push(` \u{1F500} Pipe Mode: ${command.contract.pipe ? "\u2705 Supported" : "\u274C Not supported"}`);
38701
- lines.push("");
38702
- if (command.examples && command.examples.length > 0) {
38703
- lines.push(chalk14__default.default.bold("\u{1F4DD} Examples:"));
38704
- for (const example of command.examples) {
38705
- lines.push(` ${example}`);
38685
+ return lines.join("\n");
38686
+ }
38687
+ extractFlagsFromUsage(usage) {
38688
+ if (!usage || typeof usage !== "string") return void 0;
38689
+ const out = {};
38690
+ const pattern = /--([a-zA-Z0-9][a-zA-Z0-9\-]*)\s*([^\]\s][^\]]*)?/g;
38691
+ const blocks = usage.match(/\[[^\]]+\]/g) || [];
38692
+ for (const b of blocks) {
38693
+ let m3;
38694
+ pattern.lastIndex = 0;
38695
+ while ((m3 = pattern.exec(b)) !== null) {
38696
+ const key = m3[1];
38697
+ const hint = (m3[2] || "").trim();
38698
+ out[key] = hint;
38706
38699
  }
38707
- lines.push("");
38708
38700
  }
38709
- lines.push(chalk14__default.default.bold("\u{1F4A1} Quick Tips:"));
38710
- lines.push(` \u2022 This command is production-ready and fully tested`);
38711
- lines.push(` \u2022 Try /${command.name} --help for additional options`);
38712
- if (command.category !== "core") {
38713
- lines.push(` \u2022 See more ${command.category} commands: /help --category ${command.category}`);
38701
+ let m2;
38702
+ pattern.lastIndex = 0;
38703
+ while ((m2 = pattern.exec(usage)) !== null) {
38704
+ const key = m2[1];
38705
+ const hint = (m2[2] || "").trim();
38706
+ if (!(key in out)) out[key] = hint;
38714
38707
  }
38715
- lines.push("");
38716
- return lines.join("\n");
38708
+ return Object.keys(out).length ? out : void 0;
38717
38709
  }
38718
38710
  /**
38719
38711
  * Show category help
@@ -38847,8 +38839,6 @@ var init_HelpCommand = __esm({
38847
38839
  }
38848
38840
  lines.push("");
38849
38841
  lines.push(chalk14__default.default.bold("\u{1F4A1} Next Steps:"));
38850
- lines.push(" \u2022 /help --category <name> - Explore command categories");
38851
- lines.push(" \u2022 /help --search <term> - Find specific functionality");
38852
38842
  lines.push(" \u2022 /help <command> - Get detailed command help");
38853
38843
  lines.push("");
38854
38844
  return this.success(lines.join("\n"));
@@ -38902,9 +38892,7 @@ var init_HelpCommand = __esm({
38902
38892
  "/help",
38903
38893
  "/help code",
38904
38894
  "/help --category ai",
38905
- "/help --search config",
38906
- "/help --quickstart",
38907
- "/help --stats"
38895
+ "/help --search config"
38908
38896
  ],
38909
38897
  deps: []
38910
38898
  };
@@ -50781,7 +50769,7 @@ var init_about_command = __esm({
50781
50769
  async execute(args2, context2) {
50782
50770
  const output3 = [];
50783
50771
  output3.push("");
50784
- output3.push(chalk14__default.default.cyan.bold("\u{1F916} About MARIA v4.3.34"));
50772
+ output3.push(chalk14__default.default.cyan.bold("\u{1F916} About MARIA v4.3.35"));
50785
50773
  output3.push(chalk14__default.default.gray("\u2550".repeat(40)));
50786
50774
  output3.push("");
50787
50775
  output3.push(chalk14__default.default.white.bold("MARIA - Minimal API, Maximum Power"));