engrm 0.4.9 → 0.4.10

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.js CHANGED
@@ -689,6 +689,11 @@ import { createHash as createHash2 } from "node:crypto";
689
689
  var IS_BUN = typeof globalThis.Bun !== "undefined";
690
690
  function openDatabase(dbPath) {
691
691
  if (IS_BUN) {
692
+ if (process.platform === "darwin") {
693
+ try {
694
+ return openNodeDatabase(dbPath);
695
+ } catch {}
696
+ }
692
697
  return openBunDatabase(dbPath);
693
698
  }
694
699
  return openNodeDatabase(dbPath);
@@ -1515,6 +1515,11 @@ import { createHash as createHash2 } from "node:crypto";
1515
1515
  var IS_BUN = typeof globalThis.Bun !== "undefined";
1516
1516
  function openDatabase(dbPath) {
1517
1517
  if (IS_BUN) {
1518
+ if (process.platform === "darwin") {
1519
+ try {
1520
+ return openNodeDatabase(dbPath);
1521
+ } catch {}
1522
+ }
1518
1523
  return openBunDatabase(dbPath);
1519
1524
  }
1520
1525
  return openNodeDatabase(dbPath);
@@ -863,6 +863,11 @@ import { createHash as createHash2 } from "node:crypto";
863
863
  var IS_BUN = typeof globalThis.Bun !== "undefined";
864
864
  function openDatabase(dbPath) {
865
865
  if (IS_BUN) {
866
+ if (process.platform === "darwin") {
867
+ try {
868
+ return openNodeDatabase(dbPath);
869
+ } catch {}
870
+ }
866
871
  return openBunDatabase(dbPath);
867
872
  }
868
873
  return openNodeDatabase(dbPath);
@@ -657,6 +657,11 @@ import { createHash as createHash2 } from "node:crypto";
657
657
  var IS_BUN = typeof globalThis.Bun !== "undefined";
658
658
  function openDatabase(dbPath) {
659
659
  if (IS_BUN) {
660
+ if (process.platform === "darwin") {
661
+ try {
662
+ return openNodeDatabase(dbPath);
663
+ } catch {}
664
+ }
660
665
  return openBunDatabase(dbPath);
661
666
  }
662
667
  return openNodeDatabase(dbPath);
@@ -733,6 +733,11 @@ import { createHash as createHash2 } from "node:crypto";
733
733
  var IS_BUN = typeof globalThis.Bun !== "undefined";
734
734
  function openDatabase(dbPath) {
735
735
  if (IS_BUN) {
736
+ if (process.platform === "darwin") {
737
+ try {
738
+ return openNodeDatabase(dbPath);
739
+ } catch {}
740
+ }
736
741
  return openBunDatabase(dbPath);
737
742
  }
738
743
  return openNodeDatabase(dbPath);
@@ -2244,6 +2244,11 @@ import { createHash as createHash3 } from "node:crypto";
2244
2244
  var IS_BUN = typeof globalThis.Bun !== "undefined";
2245
2245
  function openDatabase(dbPath) {
2246
2246
  if (IS_BUN) {
2247
+ if (process.platform === "darwin") {
2248
+ try {
2249
+ return openNodeDatabase(dbPath);
2250
+ } catch {}
2251
+ }
2247
2252
  return openBunDatabase(dbPath);
2248
2253
  }
2249
2254
  return openNodeDatabase(dbPath);
@@ -879,6 +879,11 @@ import { createHash as createHash2 } from "node:crypto";
879
879
  var IS_BUN = typeof globalThis.Bun !== "undefined";
880
880
  function openDatabase(dbPath) {
881
881
  if (IS_BUN) {
882
+ if (process.platform === "darwin") {
883
+ try {
884
+ return openNodeDatabase(dbPath);
885
+ } catch {}
886
+ }
882
887
  return openBunDatabase(dbPath);
883
888
  }
884
889
  return openNodeDatabase(dbPath);
@@ -801,6 +801,11 @@ import { createHash as createHash2 } from "node:crypto";
801
801
  var IS_BUN = typeof globalThis.Bun !== "undefined";
802
802
  function openDatabase(dbPath) {
803
803
  if (IS_BUN) {
804
+ if (process.platform === "darwin") {
805
+ try {
806
+ return openNodeDatabase(dbPath);
807
+ } catch {}
808
+ }
804
809
  return openBunDatabase(dbPath);
805
810
  }
806
811
  return openNodeDatabase(dbPath);
package/dist/server.js CHANGED
@@ -14211,6 +14211,11 @@ import { createHash as createHash2 } from "node:crypto";
14211
14211
  var IS_BUN = typeof globalThis.Bun !== "undefined";
14212
14212
  function openDatabase(dbPath) {
14213
14213
  if (IS_BUN) {
14214
+ if (process.platform === "darwin") {
14215
+ try {
14216
+ return openNodeDatabase(dbPath);
14217
+ } catch {}
14218
+ }
14214
14219
  return openBunDatabase(dbPath);
14215
14220
  }
14216
14221
  return openNodeDatabase(dbPath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "engrm",
3
- "version": "0.4.9",
3
+ "version": "0.4.10",
4
4
  "description": "Shared memory across devices, sessions, and coding agents",
5
5
  "mcpName": "io.github.dr12hes/engrm",
6
6
  "type": "module",