@bonginkan/maria 4.3.20 → 4.3.21

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.20
1
+ # MARIA - AI Development Platform v4.3.21
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.20 (September 16, 2025)
13
+ ## 🚀 What's New in v4.3.21 (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.20
925
+ npm install -g @bonginkan/maria@4.3.21
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.20`
1129
+ **Transform your development experience today**: `npm install -g @bonginkan/maria@4.3.21`
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-22T02:41:26.478Z",
3
+ "generatedAt": "2025-09-22T06:06:21.869Z",
4
4
  "totalCommands": 17,
5
5
  "readyCount": 17,
6
6
  "partialCount": 0,
@@ -23549,11 +23549,33 @@ var init_FormatUtils = __esm({
23549
23549
  "src/services/interactive-session/display/FormatUtils.ts"() {
23550
23550
  }
23551
23551
  });
23552
+
23553
+ // src/utils/terminal.ts
23554
+ function clearTerminal() {
23555
+ const stdout2 = process.stdout;
23556
+ if (!stdout2 || !stdout2.isTTY) {
23557
+ console.log("\n".repeat(10));
23558
+ return;
23559
+ }
23560
+ try {
23561
+ stdout2.write("\x1B[2J\x1B[3J\x1B[H");
23562
+ } catch {
23563
+ try {
23564
+ console.clear();
23565
+ } catch {
23566
+ }
23567
+ }
23568
+ }
23569
+ var init_terminal = __esm({
23570
+ "src/utils/terminal.ts"() {
23571
+ }
23572
+ });
23552
23573
  var DisplayManager;
23553
23574
  var init_DisplayManager = __esm({
23554
23575
  "src/services/interactive-session/display/DisplayManager.ts"() {
23555
23576
  init_SpinnerManager();
23556
23577
  init_FormatUtils();
23578
+ init_terminal();
23557
23579
  DisplayManager = class {
23558
23580
  spinnerManager;
23559
23581
  platform;
@@ -23581,15 +23603,7 @@ var init_DisplayManager = __esm({
23581
23603
  * Clear the terminal screen
23582
23604
  */
23583
23605
  clear() {
23584
- if (!this.isTTY) {
23585
- console.log("\n".repeat(10));
23586
- return;
23587
- }
23588
- if (this.isWindows) {
23589
- process.stdout.write("\x1B[2J\x1B[0f");
23590
- } else {
23591
- console.clear();
23592
- }
23606
+ clearTerminal();
23593
23607
  }
23594
23608
  /**
23595
23609
  * Move cursor to position
@@ -24095,6 +24109,7 @@ var init_StatusDisplay = __esm({
24095
24109
  var HelpHandler, ClearHandler, ExitHandler, VersionHandler, HistoryHandler, CoreHandlers;
24096
24110
  var init_CoreHandlers = __esm({
24097
24111
  "src/services/interactive-session/handlers/CoreHandlers.ts"() {
24112
+ init_terminal();
24098
24113
  HelpHandler = class {
24099
24114
  registry;
24100
24115
  constructor(registry) {
@@ -24168,7 +24183,7 @@ Type '/help <command>' for detailed information about a specific command.`
24168
24183
  ClearHandler = class {
24169
24184
  async execute(args2) {
24170
24185
  const startTime = perf_hooks.performance.now();
24171
- process.stdout.write("\x1B[2J\x1B[0f");
24186
+ clearTerminal();
24172
24187
  const processingTime = perf_hooks.performance.now() - startTime;
24173
24188
  return {
24174
24189
  success: true,
@@ -26051,8 +26066,8 @@ var require_package = __commonJS({
26051
26066
  "package.json"(exports, module) {
26052
26067
  module.exports = {
26053
26068
  name: "@bonginkan/maria",
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.",
26069
+ version: "4.3.21",
26070
+ description: "\u{1F680} MARIA v4.3.21 - 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.",
26056
26071
  keywords: [
26057
26072
  "ai",
26058
26073
  "cli",
@@ -28084,7 +28099,7 @@ var init_AuthenticationManager = __esm({
28084
28099
  const response = await fetch(`${this.apiBase}/api/user/profile`, {
28085
28100
  headers: {
28086
28101
  "Authorization": `Bearer ${tokens2.accessToken}`,
28087
- "User-Agent": `maria-cli/${process.env.CLI_VERSION || "4.3.20"}`
28102
+ "User-Agent": `maria-cli/${process.env.CLI_VERSION || "4.3.21"}`
28088
28103
  }
28089
28104
  });
28090
28105
  if (response.status === 401) {
@@ -28716,7 +28731,7 @@ async function callApi(path60, init3 = {}) {
28716
28731
  "Authorization": `Bearer ${token}`,
28717
28732
  "X-Device-Id": getDeviceId(),
28718
28733
  "X-Session-Id": getSessionId() || "",
28719
- "User-Agent": `maria-cli/${process.env.CLI_VERSION || "4.3.20"}`,
28734
+ "User-Agent": `maria-cli/${process.env.CLI_VERSION || "4.3.21"}`,
28720
28735
  "Content-Type": init3.headers?.["Content-Type"] || "application/json"
28721
28736
  });
28722
28737
  const doFetch = async (token) => {
@@ -37614,6 +37629,7 @@ var init_clear_command = __esm({
37614
37629
  init_base_command();
37615
37630
  init_telemetry_helper();
37616
37631
  init_subscription_manager();
37632
+ init_terminal();
37617
37633
  ClearCommand = class extends BaseCommand {
37618
37634
  name = "clear";
37619
37635
  category = "conversation";
@@ -37630,7 +37646,7 @@ var init_clear_command = __esm({
37630
37646
  async execute(args2, context2) {
37631
37647
  const startTime = Date.now();
37632
37648
  try {
37633
- process.stdout.write("\x1B[2J\x1B[3J\x1B[H");
37649
+ clearTerminal();
37634
37650
  if (context2.session) {
37635
37651
  if (context2.session.conversationHistory) {
37636
37652
  context2.session.conversationHistory = [];
@@ -37659,7 +37675,7 @@ var init_clear_command = __esm({
37659
37675
  plan: getUserPlan(),
37660
37676
  quotaLeft: context2.quotaLeft || 999
37661
37677
  });
37662
- process.stdout.write("\x1B[2J\x1B[3J\x1B[H");
37678
+ clearTerminal();
37663
37679
  return this.success(chalk14__default.default.green("\u2705 Cleared"));
37664
37680
  }
37665
37681
  }
@@ -50583,7 +50599,7 @@ var init_about_command = __esm({
50583
50599
  async execute(args2, context2) {
50584
50600
  const output3 = [];
50585
50601
  output3.push("");
50586
- output3.push(chalk14__default.default.cyan.bold("\u{1F916} About MARIA v4.3.20"));
50602
+ output3.push(chalk14__default.default.cyan.bold("\u{1F916} About MARIA v4.3.21"));
50587
50603
  output3.push(chalk14__default.default.gray("\u2550".repeat(40)));
50588
50604
  output3.push("");
50589
50605
  output3.push(chalk14__default.default.white.bold("MARIA - Minimal API, Maximum Power"));
@@ -70792,7 +70808,7 @@ async function handleSlash(input3) {
70792
70808
  const { cmd, args: args2, flags } = parseSlash(input3);
70793
70809
  if (cmd === "clear" || cmd === "cls") {
70794
70810
  try {
70795
- process.stdout.write("\x1Bc");
70811
+ clearTerminal();
70796
70812
  } catch {
70797
70813
  }
70798
70814
  return true;
@@ -70841,6 +70857,7 @@ var init_handle_slash = __esm({
70841
70857
  init_unknown_command();
70842
70858
  init_slash_commands();
70843
70859
  init_cli_auth();
70860
+ init_terminal();
70844
70861
  }
70845
70862
  });
70846
70863
  function formatAnyError(err) {