@bonginkan/maria 3.1.2 โ†’ 3.1.4

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 v3.1.1
1
+ # ๐Ÿš€ MARIA v3.1.4
2
2
 
3
3
  **Minimal API, Maximum Power** - Enterprise-ready AI development platform with 3 core services, beautiful CLI experience, and dynamic configuration.
4
4
 
@@ -6,40 +6,11 @@
6
6
 
7
7
  [![TypeScript](https://img.shields.io/badge/TypeScript-5.0%2B-blue)](https://www.typescriptlang.org/)
8
8
  [![Node.js](https://img.shields.io/badge/Node.js-20%2B-green)](https://nodejs.org/)
9
- [![npm](https://img.shields.io/npm/v/@bonginkan/maria?label=npm%20v3.1.1)](https://www.npmjs.com/package/@bonginkan/maria)
9
+ [![npm](https://img.shields.io/npm/v/@bonginkan/maria?label=npm%20v3.1.4)](https://www.npmjs.com/package/@bonginkan/maria)
10
10
  [![Bundle Size](https://img.shields.io/badge/Bundle-192KB-brightgreen)](https://github.com/bonginkan/maria)
11
11
  [![API Surface](https://img.shields.io/badge/Public%20API-3%20Services-blue)](https://github.com/bonginkan/maria)
12
12
 
13
- ## โšก 3-Minute Quickstart
14
-
15
- ### ๐ŸŽฏ What is MARIA v3.1.1?
16
-
17
- MARIA v3.1.1 revolutionizes AI development with **3 powerful services**, **beautiful CLI experience**, and **rock-solid stability**:
18
-
19
- - ๐Ÿง  **IntelligentRouterService** - Smart command routing and analysis
20
- - ๐Ÿงฉ **DualMemoryEngine** - System 1 & System 2 cognitive memory
21
- - ๐Ÿ“ **FileSystemService** - Safe, atomic file operations
22
-
23
- ### ๐Ÿ†• What's New in v3.1.1
24
-
25
- #### CLI Cleanup & Production Improvements
26
- - ๐Ÿงน **Removed Duplicate CLI Files** - Consolidated `cli-fixed.ts` and `cli-backup.ts` into single `cli.ts`
27
- - ๐ŸŽฏ **Cleaner Startup** - Removed all debug output and development messages
28
- - โœจ **Professional Experience** - Clean, unified startup process without duplicates
29
- - ๐Ÿ“ฆ **Better Maintainability** - Single source of truth for CLI functionality
30
- - โšก **Faster Performance** - Improved startup and build times with fewer files
31
-
32
- ### ๐Ÿ“ฆ Installation
33
-
34
- ```bash
35
- # Global installation (recommended)
36
- npm install -g @bonginkan/maria
37
-
38
- # Or with pnpm
39
- pnpm add -g @bonginkan/maria
40
- ```
41
-
42
- ### ๐Ÿš€ Quick Start
13
+ ## ๐Ÿš€ Quick Start
43
14
 
44
15
  ```bash
45
16
  # Launch beautiful interactive mode
@@ -71,7 +42,7 @@ When you run `maria`, you'll see:
71
42
  โ•‘ (c) 2025 Bonginkan Inc. โ•‘
72
43
  โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
73
44
 
74
- MARIA CODE v3.1.1 โ€” Ready
45
+ MARIA CODE v3.1.4 โ€” Ready
75
46
  /help for commands | Providers: 8/8 OK
76
47
 
77
48
  Available AI Providers:
@@ -79,6 +50,24 @@ Available AI Providers:
79
50
  ๐Ÿ’ป Local AI: Ollama, LM Studio, vLLM
80
51
  ```
81
52
 
53
+ ## โšก Installation
54
+
55
+ ```bash
56
+ # Global installation (recommended)
57
+ npm install -g @bonginkan/maria
58
+
59
+ # Or with pnpm
60
+ pnpm add -g @bonginkan/maria
61
+ ```
62
+
63
+ ## ๐ŸŽฏ What is MARIA?
64
+
65
+ MARIA revolutionizes AI development with **3 powerful services**, **beautiful CLI experience**, and **rock-solid stability**:
66
+
67
+ - ๐Ÿง  **IntelligentRouterService** - Smart command routing and analysis
68
+ - ๐Ÿงฉ **DualMemoryEngine** - System 1 & System 2 cognitive memory
69
+ - ๐Ÿ“ **FileSystemService** - Safe, atomic file operations
70
+
82
71
  ## ๐Ÿ’ป Programmatic API
83
72
 
84
73
  ### Core Services Example
@@ -10095,7 +10095,9 @@ var init_command_groups = __esm({
10095
10095
  since: "v2.5.0",
10096
10096
  replacedBy: "/mode",
10097
10097
  message: "Use /mode for switching AI modes"
10098
- }
10098
+ },
10099
+ hidden: true
10100
+ // Hidden from help display
10099
10101
  },
10100
10102
  "/init": {
10101
10103
  name: "/init",
@@ -28559,10 +28561,10 @@ var init_unified_command_registry = __esm({
28559
28561
  * Register a command in the unified registry
28560
28562
  */
28561
28563
  register(commandInfo3) {
28562
- this.commands.set(commandInfo3.name, commandInfo3);
28563
- if (commandInfo3.aliases) {
28564
- for (const alias2 of commandInfo3.aliases) {
28565
- this.aliases.set(alias2, commandInfo3.name);
28564
+ this._commands.set(commandInfo3.name, commandInfo3);
28565
+ if (commandInfo3._aliases) {
28566
+ for (const alias2 of commandInfo3._aliases) {
28567
+ this._aliases.set(alias2, commandInfo3.name);
28566
28568
  }
28567
28569
  }
28568
28570
  console.debug(import_chalk23.default.gray(`\u{1F4DD} Registered command: ${commandInfo3.name} (${commandInfo3.category})`));
@@ -28572,12 +28574,12 @@ var init_unified_command_registry = __esm({
28572
28574
  */
28573
28575
  async execute(command2, args2 = [], maria2, memoryEngine2, memoryCoordinator2) {
28574
28576
  const _cleanCommand = command2.startsWith("/") ? command2.slice(1) : command2;
28575
- const _actualCommand = this.aliases.get(_cleanCommand) || _cleanCommand;
28576
- const _commandInfo = this.commands.get(_actualCommand);
28577
+ const _actualCommand = this._aliases.get(_cleanCommand) || _cleanCommand;
28578
+ const _commandInfo = this._commands.get(_actualCommand);
28577
28579
  if (_commandInfo) {
28578
28580
  try {
28579
28581
  console.debug(import_chalk23.default.gray(`\u{1F527} Executing unified command: ${_actualCommand}`));
28580
- return await commandInfo.handler(args2, maria2, memoryEngine2, memoryCoordinator2);
28582
+ return await _commandInfo.handler(args2, maria2, memoryEngine2, memoryCoordinator2);
28581
28583
  } catch (error2) {
28582
28584
  console.error(import_chalk23.default.red(`\u26A0\uFE0F Unified command error for '${_cleanCommand}':`), error2);
28583
28585
  return true;
@@ -28595,7 +28597,7 @@ var init_unified_command_registry = __esm({
28595
28597
  }
28596
28598
  };
28597
28599
  const _result = await this.slashCommandHandler.handleCommand(command2, args2, _context);
28598
- return result.success;
28600
+ return _result.success;
28599
28601
  } catch (error2) {
28600
28602
  console.error(import_chalk23.default.red(`\u26A0\uFE0F Slash command error for '${command2}':`), error2);
28601
28603
  return true;
@@ -28614,7 +28616,7 @@ var init_unified_command_registry = __esm({
28614
28616
  */
28615
28617
  has(command2) {
28616
28618
  const _cleanCommand = command2.startsWith("/") ? command2.slice(1) : command2;
28617
- return this.commands.has(_cleanCommand) || this.aliases.has(_cleanCommand) || this.legacyRegistry.has(_cleanCommand) || this.isSlashCommandAvailable(command2);
28619
+ return this._commands.has(_cleanCommand) || this._aliases.has(_cleanCommand) || this.legacyRegistry.has(_cleanCommand) || this.isSlashCommandAvailable(command2);
28618
28620
  }
28619
28621
  /**
28620
28622
  * Check if slash command is available (simplified check)
@@ -28634,20 +28636,19 @@ var init_unified_command_registry = __esm({
28634
28636
  "/config",
28635
28637
  "/status",
28636
28638
  "/doctor",
28637
- "/brain",
28638
28639
  "/mode",
28639
28640
  "/setup",
28640
28641
  "/upgrade",
28641
28642
  "/login",
28642
28643
  "/logout"
28643
28644
  ];
28644
- return commonSlashCommands.includes(command2);
28645
+ return _commonSlashCommands.includes(command2);
28645
28646
  }
28646
28647
  /**
28647
28648
  * Get all available _commands
28648
28649
  */
28649
28650
  getCommands() {
28650
- return Array.from(this.commands.values()).sort(
28651
+ return Array.from(this._commands.values()).sort(
28651
28652
  (a2, b) => a2.category.localeCompare(b.category) || a2.name.localeCompare(b.name)
28652
28653
  );
28653
28654
  }
@@ -28655,7 +28656,7 @@ var init_unified_command_registry = __esm({
28655
28656
  * Get _commands by category
28656
28657
  */
28657
28658
  getCommandsByCategory(category2) {
28658
- return Array.from(this.commands.values()).filter((cmd2) => cmd2.category === category2).sort((a2, b) => a2.name.localeCompare(b.name));
28659
+ return Array.from(this._commands.values()).filter((cmd2) => cmd2.category === category2).sort((a2, b) => a2.name.localeCompare(b.name));
28659
28660
  }
28660
28661
  /**
28661
28662
  * Get help information for a command
@@ -28667,16 +28668,16 @@ var init_unified_command_registry = __esm({
28667
28668
  if (!_commandInfo) {
28668
28669
  return import_chalk23.default.red(`Command '${_cleanCommand}' not found`);
28669
28670
  }
28670
- let help = import_chalk23.default.cyan(`/${commandInfo.name}`) + " - " + commandInfo.description;
28671
- if (commandInfo.usage) {
28672
- help += "\n" + import_chalk23.default.gray("Usage: ") + commandInfo.usage;
28671
+ let help = import_chalk23.default.cyan(`/${_commandInfo.name}`) + " - " + _commandInfo.description;
28672
+ if (_commandInfo.usage) {
28673
+ help += "\n" + import_chalk23.default.gray("Usage: ") + _commandInfo.usage;
28673
28674
  }
28674
- if (commandInfo.aliases && commandInfo.aliases.length > 0) {
28675
- help += "\n" + import_chalk23.default.gray("Aliases: ") + commandInfo.aliases.map((a2) => `/${a2}`).join(", ");
28675
+ if (_commandInfo._aliases && _commandInfo._aliases.length > 0) {
28676
+ help += "\n" + import_chalk23.default.gray("Aliases: ") + _commandInfo._aliases.map((a2) => `/${a2}`).join(", ");
28676
28677
  }
28677
- if (commandInfo.examples && commandInfo.examples.length > 0) {
28678
+ if (_commandInfo.examples && _commandInfo.examples.length > 0) {
28678
28679
  help += "\n" + import_chalk23.default.gray("Examples:");
28679
- for (const example of commandInfo.examples) {
28680
+ for (const example of _commandInfo.examples) {
28680
28681
  help += "\n " + import_chalk23.default.dim(example);
28681
28682
  }
28682
28683
  }
@@ -28727,7 +28728,7 @@ var init_unified_command_registry = __esm({
28727
28728
  usage: "/version",
28728
28729
  examples: ["/version"],
28729
28730
  handler: async () => {
28730
- console.log(`MARIA v${this.appConfig.values.version || "3.0.0"}`);
28731
+ console.log(`MARIA v3.1.2`);
28731
28732
  return true;
28732
28733
  }
28733
28734
  });
@@ -28758,10 +28759,10 @@ var init_unified_command_registry = __esm({
28758
28759
  const _commands = this.getCommands();
28759
28760
  const _categories = /* @__PURE__ */ new Map();
28760
28761
  for (const cmd2 of _commands) {
28761
- if (!categories.has(cmd2.category)) {
28762
- categories.set(cmd2.category, []);
28762
+ if (!_categories.has(cmd2.category)) {
28763
+ _categories.set(cmd2.category, []);
28763
28764
  }
28764
- categories.get(cmd2.category).push(cmd2);
28765
+ _categories.get(cmd2.category).push(cmd2);
28765
28766
  }
28766
28767
  console.log(import_chalk23.default.cyan("\n\u{1F4DA} Available Commands:\n"));
28767
28768
  for (const [category2, categoryCommands] of _categories) {
@@ -28771,7 +28772,7 @@ var init_unified_command_registry = __esm({
28771
28772
  console.log(import_chalk23.default.bold.magenta(`${this.getCategoryIcon(category2)} ${this.getCategoryName(category2)}`));
28772
28773
  for (const cmd2 of categoryCommands) {
28773
28774
  if (cmd2.hidden) continue;
28774
- const _aliases = cmd2.aliases ? import_chalk23.default.gray(` (${cmd2.aliases.map((a2) => `/${a2}`).join(", ")})`) : "";
28775
+ const _aliases = cmd2._aliases ? import_chalk23.default.gray(` (${cmd2._aliases.map((a2) => `/${a2}`).join(", ")})`) : "";
28775
28776
  console.log(` ${import_chalk23.default.cyan(`/${cmd2.name}`)}${_aliases} - ${cmd2.description}`);
28776
28777
  }
28777
28778
  console.log();
@@ -37724,8 +37725,8 @@ var init_package = __esm({
37724
37725
  "package.json"() {
37725
37726
  package_default = {
37726
37727
  name: "@bonginkan/maria",
37727
- version: "3.1.2",
37728
- description: "\u{1F680} MARIA v3.1.2 - Minimal API, Maximum Power. Fixed hardcoded Tetris template issue - now only generates on explicit request. Dynamic theme support added.",
37728
+ version: "3.1.4",
37729
+ description: "\u{1F680} MARIA v3.1.4 - Minimal API, Maximum Power. Enterprise-ready AI development platform with beautiful CLI experience and rock-solid stability.",
37729
37730
  keywords: [
37730
37731
  "ai",
37731
37732
  "cli",