@bonginkan/maria 3.0.4 → 3.0.6

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.
@@ -134,11 +134,24 @@ function getSystemInfo() {
134
134
  }
135
135
  function getVersion() {
136
136
  try {
137
- const packagePath = path2.join(__dirname, "../../package.json");
138
- const pkg2 = require(packagePath);
139
- return pkg2.version || "3.0.0";
137
+ const possiblePaths = [
138
+ path2.join(__dirname, "../../package.json"),
139
+ path2.join(__dirname, "../package.json"),
140
+ path2.join(process.cwd(), "package.json"),
141
+ "/opt/homebrew/lib/node_modules/@bonginkan/maria/package.json"
142
+ ];
143
+ for (const pkgPath of possiblePaths) {
144
+ try {
145
+ const pkg2 = require(pkgPath);
146
+ if (pkg2.version) {
147
+ return pkg2.version;
148
+ }
149
+ } catch {
150
+ }
151
+ }
152
+ return "3.0.6";
140
153
  } catch {
141
- return "3.0.0";
154
+ return "3.0.6";
142
155
  }
143
156
  }
144
157
  function displayFinalStartupScreen(selectedProvider, selectedModel2) {
@@ -34770,7 +34783,7 @@ Vim keybindings disabled.`;
34770
34783
  } catch {
34771
34784
  }
34772
34785
  }
34773
- const version2 = _packageData?.["version"] || "3.0.3";
34786
+ const version2 = _packageData?.["version"] || "3.0.6";
34774
34787
  return {
34775
34788
  success: true,
34776
34789
  message: `MARIA CODE CLI v${version2}
@@ -34783,7 +34796,7 @@ TypeScript Monorepo`
34783
34796
  } catch {
34784
34797
  return {
34785
34798
  success: true,
34786
- message: `MARIA CODE CLI v3.0.3
34799
+ message: `MARIA CODE CLI v3.0.6
34787
34800
 
34788
34801
  AI-Powered Development Platform
34789
34802
  \xA9 2025 Bonginkan Inc.
@@ -42471,7 +42484,28 @@ var init_cli = __esm({
42471
42484
  init_conversation_persistence();
42472
42485
  init_chat_context_fixed_service();
42473
42486
  init_ai_response_service();
42474
- packageJson2 = { version: "3.0.0" };
42487
+ packageJson2 = { version: "3.0.6" };
42488
+ try {
42489
+ const fs22 = require("fs");
42490
+ const path26 = require("path");
42491
+ const possiblePaths = [
42492
+ path26.resolve(__dirname, "../package.json"),
42493
+ path26.resolve(__dirname, "../../package.json"),
42494
+ path26.resolve(process.cwd(), "package.json"),
42495
+ "/opt/homebrew/lib/node_modules/@bonginkan/maria/package.json"
42496
+ ];
42497
+ for (const pkgPath of possiblePaths) {
42498
+ try {
42499
+ const data2 = JSON.parse(fs22.readFileSync(pkgPath, "utf8"));
42500
+ if (data2.version) {
42501
+ packageJson2 = { version: data2.version };
42502
+ break;
42503
+ }
42504
+ } catch {
42505
+ }
42506
+ }
42507
+ } catch {
42508
+ }
42475
42509
  sessionMemory = [];
42476
42510
  program = createCLI();
42477
42511
  program.parse(process.argv);
@@ -50460,8 +50494,8 @@ ${modeEmoji} ${modeNames[inputType] || "Interactive Mode"}
50460
50494
  // package.json
50461
50495
  var package_default = {
50462
50496
  name: "@bonginkan/maria",
50463
- version: "3.0.4",
50464
- description: "\u{1F680} MARIA v3.0.4 - Dynamic version display. 50+ working commands with updated documentation. Enterprise-ready AI development platform.",
50497
+ version: "3.0.6",
50498
+ description: "\u{1F680} MARIA v3.0.6 - All version displays now dynamic. 50+ working commands. Enterprise-ready AI development platform.",
50465
50499
  keywords: [
50466
50500
  "ai",
50467
50501
  "cli",