@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.
package/dist/cli.cjs CHANGED
@@ -33519,7 +33519,7 @@ Vim keybindings disabled.`;
33519
33519
  } catch {
33520
33520
  }
33521
33521
  }
33522
- const version2 = _packageData?.["version"] || "3.0.3";
33522
+ const version2 = _packageData?.["version"] || "3.0.6";
33523
33523
  return {
33524
33524
  success: true,
33525
33525
  message: `MARIA CODE CLI v${version2}
@@ -33532,7 +33532,7 @@ TypeScript Monorepo`
33532
33532
  } catch {
33533
33533
  return {
33534
33534
  success: true,
33535
- message: `MARIA CODE CLI v3.0.3
33535
+ message: `MARIA CODE CLI v3.0.6
33536
33536
 
33537
33537
  AI-Powered Development Platform
33538
33538
  \xA9 2025 Bonginkan Inc.
@@ -36378,11 +36378,24 @@ function getSystemInfo() {
36378
36378
  }
36379
36379
  function getVersion() {
36380
36380
  try {
36381
- const packagePath = path19__namespace.join(__dirname, "../../package.json");
36382
- const pkg2 = __require(packagePath);
36383
- return pkg2.version || "3.0.0";
36381
+ const possiblePaths = [
36382
+ path19__namespace.join(__dirname, "../../package.json"),
36383
+ path19__namespace.join(__dirname, "../package.json"),
36384
+ path19__namespace.join(process.cwd(), "package.json"),
36385
+ "/opt/homebrew/lib/node_modules/@bonginkan/maria/package.json"
36386
+ ];
36387
+ for (const pkgPath of possiblePaths) {
36388
+ try {
36389
+ const pkg2 = __require(pkgPath);
36390
+ if (pkg2.version) {
36391
+ return pkg2.version;
36392
+ }
36393
+ } catch {
36394
+ }
36395
+ }
36396
+ return "3.0.6";
36384
36397
  } catch {
36385
- return "3.0.0";
36398
+ return "3.0.6";
36386
36399
  }
36387
36400
  }
36388
36401
  function displayFinalStartupScreen(selectedProvider, selectedModel2) {
@@ -37385,7 +37398,28 @@ I'm here to assist you effectively!`;
37385
37398
  };
37386
37399
 
37387
37400
  // src/cli.ts
37388
- var packageJson2 = { version: "3.0.0" };
37401
+ var packageJson2 = { version: "3.0.6" };
37402
+ try {
37403
+ const fs20 = __require("fs");
37404
+ const path24 = __require("path");
37405
+ const possiblePaths = [
37406
+ path24.resolve(__dirname, "../package.json"),
37407
+ path24.resolve(__dirname, "../../package.json"),
37408
+ path24.resolve(process.cwd(), "package.json"),
37409
+ "/opt/homebrew/lib/node_modules/@bonginkan/maria/package.json"
37410
+ ];
37411
+ for (const pkgPath of possiblePaths) {
37412
+ try {
37413
+ const data2 = JSON.parse(fs20.readFileSync(pkgPath, "utf8"));
37414
+ if (data2.version) {
37415
+ packageJson2 = { version: data2.version };
37416
+ break;
37417
+ }
37418
+ } catch {
37419
+ }
37420
+ }
37421
+ } catch {
37422
+ }
37389
37423
  var conversationPersistence;
37390
37424
  var chatContext;
37391
37425
  var aiResponseService;