covenant-bridge 0.2.2 → 0.3.0

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/backend.js CHANGED
@@ -33,9 +33,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
33
33
  ));
34
34
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
35
35
 
36
- // ../node_modules/.pnpm/@linuxcnc-node+core@2.1.3/node_modules/@linuxcnc-node/core/dist/constants.js
36
+ // ../node_modules/.pnpm/@linuxcnc-node+core@2.2.1/node_modules/@linuxcnc-node/core/dist/constants.js
37
37
  var require_constants = __commonJS({
38
- "../node_modules/.pnpm/@linuxcnc-node+core@2.1.3/node_modules/@linuxcnc-node/core/dist/constants.js"(exports2) {
38
+ "../node_modules/.pnpm/@linuxcnc-node+core@2.2.1/node_modules/@linuxcnc-node/core/dist/constants.js"(exports2) {
39
39
  "use strict";
40
40
  Object.defineProperty(exports2, "__esModule", { value: true });
41
41
  exports2.addon = void 0;
@@ -45,13 +45,17 @@ var require_constants = __commonJS({
45
45
  "../../build/Release/nml_addon.node"
46
46
  // Fallback for debug builds
47
47
  ];
48
+ const errors = [];
48
49
  for (const path of paths) {
49
50
  try {
50
51
  return require(path);
51
- } catch {
52
+ } catch (error) {
53
+ const message = error instanceof Error ? error.message : String(error);
54
+ errors.push(`${path}: ${message}`);
52
55
  }
53
56
  }
54
- throw new Error("Failed to load linuxcnc-node nml native addon. Please ensure it's built correctly and that LinuxCNC is in your PATH.");
57
+ throw new Error(`Failed to load linuxcnc-node nml native addon. Please ensure it's built correctly and that LinuxCNC is in your PATH/LD_LIBRARY_PATH.
58
+ ${errors.join("\n")}`);
55
59
  }
56
60
  exports2.addon = loadAddon();
57
61
  }
@@ -89,9 +93,9 @@ var require_dist = __commonJS({
89
93
  }
90
94
  });
91
95
 
92
- // ../node_modules/.pnpm/@linuxcnc-node+core@2.1.3/node_modules/@linuxcnc-node/core/dist/statChannel.js
96
+ // ../node_modules/.pnpm/@linuxcnc-node+core@2.2.1/node_modules/@linuxcnc-node/core/dist/statChannel.js
93
97
  var require_statChannel = __commonJS({
94
- "../node_modules/.pnpm/@linuxcnc-node+core@2.1.3/node_modules/@linuxcnc-node/core/dist/statChannel.js"(exports2) {
98
+ "../node_modules/.pnpm/@linuxcnc-node+core@2.2.1/node_modules/@linuxcnc-node/core/dist/statChannel.js"(exports2) {
95
99
  "use strict";
96
100
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
97
101
  return mod && mod.__esModule ? mod : { "default": mod };
@@ -294,9 +298,9 @@ var require_statChannel = __commonJS({
294
298
  }
295
299
  });
296
300
 
297
- // ../node_modules/.pnpm/@linuxcnc-node+types@2.1.1/node_modules/@linuxcnc-node/types/dist/constants.js
301
+ // ../node_modules/.pnpm/@linuxcnc-node+types@2.2.1/node_modules/@linuxcnc-node/types/dist/constants.js
298
302
  var require_constants2 = __commonJS({
299
- "../node_modules/.pnpm/@linuxcnc-node+types@2.1.1/node_modules/@linuxcnc-node/types/dist/constants.js"(exports2) {
303
+ "../node_modules/.pnpm/@linuxcnc-node+types@2.2.1/node_modules/@linuxcnc-node/types/dist/constants.js"(exports2) {
300
304
  "use strict";
301
305
  Object.defineProperty(exports2, "__esModule", { value: true });
302
306
  exports2.EmcDebug = exports2.OrientState = exports2.JointType = exports2.NmlMessageType = exports2.ProgramUnits = exports2.RcsStatus = exports2.KinematicsType = exports2.MotionType = exports2.TrajMode = exports2.InterpState = exports2.ExecState = exports2.TaskState = exports2.TaskMode = void 0;
@@ -410,9 +414,9 @@ var require_constants2 = __commonJS({
410
414
  }
411
415
  });
412
416
 
413
- // ../node_modules/.pnpm/@linuxcnc-node+types@2.1.1/node_modules/@linuxcnc-node/types/dist/core.js
417
+ // ../node_modules/.pnpm/@linuxcnc-node+types@2.2.1/node_modules/@linuxcnc-node/types/dist/core.js
414
418
  var require_core = __commonJS({
415
- "../node_modules/.pnpm/@linuxcnc-node+types@2.1.1/node_modules/@linuxcnc-node/types/dist/core.js"(exports2) {
419
+ "../node_modules/.pnpm/@linuxcnc-node+types@2.2.1/node_modules/@linuxcnc-node/types/dist/core.js"(exports2) {
416
420
  "use strict";
417
421
  Object.defineProperty(exports2, "__esModule", { value: true });
418
422
  exports2.PositionIndex = exports2.PositionLoggerIndex = exports2.POSITION_STRIDE = void 0;
@@ -445,17 +449,17 @@ var require_core = __commonJS({
445
449
  }
446
450
  });
447
451
 
448
- // ../node_modules/.pnpm/@linuxcnc-node+types@2.1.1/node_modules/@linuxcnc-node/types/dist/hal.js
452
+ // ../node_modules/.pnpm/@linuxcnc-node+types@2.2.1/node_modules/@linuxcnc-node/types/dist/hal.js
449
453
  var require_hal = __commonJS({
450
- "../node_modules/.pnpm/@linuxcnc-node+types@2.1.1/node_modules/@linuxcnc-node/types/dist/hal.js"(exports2) {
454
+ "../node_modules/.pnpm/@linuxcnc-node+types@2.2.1/node_modules/@linuxcnc-node/types/dist/hal.js"(exports2) {
451
455
  "use strict";
452
456
  Object.defineProperty(exports2, "__esModule", { value: true });
453
457
  }
454
458
  });
455
459
 
456
- // ../node_modules/.pnpm/@linuxcnc-node+types@2.1.1/node_modules/@linuxcnc-node/types/dist/gcode.js
460
+ // ../node_modules/.pnpm/@linuxcnc-node+types@2.2.1/node_modules/@linuxcnc-node/types/dist/gcode.js
457
461
  var require_gcode = __commonJS({
458
- "../node_modules/.pnpm/@linuxcnc-node+types@2.1.1/node_modules/@linuxcnc-node/types/dist/gcode.js"(exports2) {
462
+ "../node_modules/.pnpm/@linuxcnc-node+types@2.2.1/node_modules/@linuxcnc-node/types/dist/gcode.js"(exports2) {
459
463
  "use strict";
460
464
  Object.defineProperty(exports2, "__esModule", { value: true });
461
465
  exports2.Plane = exports2.OperationType = void 0;
@@ -490,9 +494,9 @@ var require_gcode = __commonJS({
490
494
  }
491
495
  });
492
496
 
493
- // ../node_modules/.pnpm/@linuxcnc-node+types@2.1.1/node_modules/@linuxcnc-node/types/dist/index.js
497
+ // ../node_modules/.pnpm/@linuxcnc-node+types@2.2.1/node_modules/@linuxcnc-node/types/dist/index.js
494
498
  var require_dist2 = __commonJS({
495
- "../node_modules/.pnpm/@linuxcnc-node+types@2.1.1/node_modules/@linuxcnc-node/types/dist/index.js"(exports2) {
499
+ "../node_modules/.pnpm/@linuxcnc-node+types@2.2.1/node_modules/@linuxcnc-node/types/dist/index.js"(exports2) {
496
500
  "use strict";
497
501
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
498
502
  if (k2 === void 0) k2 = k;
@@ -518,9 +522,9 @@ var require_dist2 = __commonJS({
518
522
  }
519
523
  });
520
524
 
521
- // ../node_modules/.pnpm/@linuxcnc-node+core@2.1.3/node_modules/@linuxcnc-node/core/dist/commandChannel.js
525
+ // ../node_modules/.pnpm/@linuxcnc-node+core@2.2.1/node_modules/@linuxcnc-node/core/dist/commandChannel.js
522
526
  var require_commandChannel = __commonJS({
523
- "../node_modules/.pnpm/@linuxcnc-node+core@2.1.3/node_modules/@linuxcnc-node/core/dist/commandChannel.js"(exports2) {
527
+ "../node_modules/.pnpm/@linuxcnc-node+core@2.2.1/node_modules/@linuxcnc-node/core/dist/commandChannel.js"(exports2) {
524
528
  "use strict";
525
529
  Object.defineProperty(exports2, "__esModule", { value: true });
526
530
  exports2.CommandChannel = void 0;
@@ -1434,9 +1438,9 @@ var require_commandChannel = __commonJS({
1434
1438
  }
1435
1439
  });
1436
1440
 
1437
- // ../node_modules/.pnpm/@linuxcnc-node+core@2.1.3/node_modules/@linuxcnc-node/core/dist/errorChannel.js
1441
+ // ../node_modules/.pnpm/@linuxcnc-node+core@2.2.1/node_modules/@linuxcnc-node/core/dist/errorChannel.js
1438
1442
  var require_errorChannel = __commonJS({
1439
- "../node_modules/.pnpm/@linuxcnc-node+core@2.1.3/node_modules/@linuxcnc-node/core/dist/errorChannel.js"(exports2) {
1443
+ "../node_modules/.pnpm/@linuxcnc-node+core@2.2.1/node_modules/@linuxcnc-node/core/dist/errorChannel.js"(exports2) {
1440
1444
  "use strict";
1441
1445
  Object.defineProperty(exports2, "__esModule", { value: true });
1442
1446
  exports2.ErrorChannel = exports2.DEFAULT_ERROR_POLL_INTERVAL = void 0;
@@ -1501,9 +1505,9 @@ var require_errorChannel = __commonJS({
1501
1505
  }
1502
1506
  });
1503
1507
 
1504
- // ../node_modules/.pnpm/@linuxcnc-node+core@2.1.3/node_modules/@linuxcnc-node/core/dist/positionLogger.js
1508
+ // ../node_modules/.pnpm/@linuxcnc-node+core@2.2.1/node_modules/@linuxcnc-node/core/dist/positionLogger.js
1505
1509
  var require_positionLogger = __commonJS({
1506
- "../node_modules/.pnpm/@linuxcnc-node+core@2.1.3/node_modules/@linuxcnc-node/core/dist/positionLogger.js"(exports2) {
1510
+ "../node_modules/.pnpm/@linuxcnc-node+core@2.2.1/node_modules/@linuxcnc-node/core/dist/positionLogger.js"(exports2) {
1507
1511
  "use strict";
1508
1512
  Object.defineProperty(exports2, "__esModule", { value: true });
1509
1513
  exports2.PositionLogger = void 0;
@@ -1599,9 +1603,9 @@ var require_positionLogger = __commonJS({
1599
1603
  }
1600
1604
  });
1601
1605
 
1602
- // ../node_modules/.pnpm/@linuxcnc-node+core@2.1.3/node_modules/@linuxcnc-node/core/dist/index.js
1606
+ // ../node_modules/.pnpm/@linuxcnc-node+core@2.2.1/node_modules/@linuxcnc-node/core/dist/index.js
1603
1607
  var require_dist3 = __commonJS({
1604
- "../node_modules/.pnpm/@linuxcnc-node+core@2.1.3/node_modules/@linuxcnc-node/core/dist/index.js"(exports2) {
1608
+ "../node_modules/.pnpm/@linuxcnc-node+core@2.2.1/node_modules/@linuxcnc-node/core/dist/index.js"(exports2) {
1605
1609
  "use strict";
1606
1610
  Object.defineProperty(exports2, "__esModule", { value: true });
1607
1611
  exports2.PositionLogger = exports2.ErrorChannel = exports2.CommandChannel = exports2.StatChannel = void 0;
@@ -1635,9 +1639,9 @@ var require_dist3 = __commonJS({
1635
1639
  }
1636
1640
  });
1637
1641
 
1638
- // ../node_modules/.pnpm/@linuxcnc-node+gcode@2.1.3/node_modules/@linuxcnc-node/gcode/dist/parser.js
1642
+ // ../node_modules/.pnpm/@linuxcnc-node+gcode@2.2.1/node_modules/@linuxcnc-node/gcode/dist/parser.js
1639
1643
  var require_parser = __commonJS({
1640
- "../node_modules/.pnpm/@linuxcnc-node+gcode@2.1.3/node_modules/@linuxcnc-node/gcode/dist/parser.js"(exports2) {
1644
+ "../node_modules/.pnpm/@linuxcnc-node+gcode@2.2.1/node_modules/@linuxcnc-node/gcode/dist/parser.js"(exports2) {
1641
1645
  "use strict";
1642
1646
  Object.defineProperty(exports2, "__esModule", { value: true });
1643
1647
  exports2.parseGCode = parseGCode2;
@@ -1678,9 +1682,9 @@ var require_parser = __commonJS({
1678
1682
  }
1679
1683
  });
1680
1684
 
1681
- // ../node_modules/.pnpm/@linuxcnc-node+gcode@2.1.3/node_modules/@linuxcnc-node/gcode/dist/index.js
1685
+ // ../node_modules/.pnpm/@linuxcnc-node+gcode@2.2.1/node_modules/@linuxcnc-node/gcode/dist/index.js
1682
1686
  var require_dist4 = __commonJS({
1683
- "../node_modules/.pnpm/@linuxcnc-node+gcode@2.1.3/node_modules/@linuxcnc-node/gcode/dist/index.js"(exports2) {
1687
+ "../node_modules/.pnpm/@linuxcnc-node+gcode@2.2.1/node_modules/@linuxcnc-node/gcode/dist/index.js"(exports2) {
1684
1688
  "use strict";
1685
1689
  Object.defineProperty(exports2, "__esModule", { value: true });
1686
1690
  exports2.parseGCode = void 0;
@@ -1691,9 +1695,9 @@ var require_dist4 = __commonJS({
1691
1695
  }
1692
1696
  });
1693
1697
 
1694
- // ../node_modules/.pnpm/@linuxcnc-node+hal@2.1.3/node_modules/@linuxcnc-node/hal/dist/constants.js
1698
+ // ../node_modules/.pnpm/@linuxcnc-node+hal@2.2.1/node_modules/@linuxcnc-node/hal/dist/constants.js
1695
1699
  var require_constants3 = __commonJS({
1696
- "../node_modules/.pnpm/@linuxcnc-node+hal@2.1.3/node_modules/@linuxcnc-node/hal/dist/constants.js"(exports2) {
1700
+ "../node_modules/.pnpm/@linuxcnc-node+hal@2.2.1/node_modules/@linuxcnc-node/hal/dist/constants.js"(exports2) {
1697
1701
  "use strict";
1698
1702
  Object.defineProperty(exports2, "__esModule", { value: true });
1699
1703
  exports2.RtapiMsgLevelFromValue = exports2.HalParamDirFromValue = exports2.HalPinDirFromValue = exports2.HalTypeFromValue = exports2.RtapiMsgLevelValue = exports2.HalParamDirValue = exports2.HalPinDirValue = exports2.HalTypeValue = exports2.halNative = void 0;
@@ -1750,9 +1754,9 @@ var require_constants3 = __commonJS({
1750
1754
  }
1751
1755
  });
1752
1756
 
1753
- // ../node_modules/.pnpm/@linuxcnc-node+hal@2.1.3/node_modules/@linuxcnc-node/hal/dist/item.js
1757
+ // ../node_modules/.pnpm/@linuxcnc-node+hal@2.2.1/node_modules/@linuxcnc-node/hal/dist/item.js
1754
1758
  var require_item = __commonJS({
1755
- "../node_modules/.pnpm/@linuxcnc-node+hal@2.1.3/node_modules/@linuxcnc-node/hal/dist/item.js"(exports2) {
1759
+ "../node_modules/.pnpm/@linuxcnc-node+hal@2.2.1/node_modules/@linuxcnc-node/hal/dist/item.js"(exports2) {
1756
1760
  "use strict";
1757
1761
  Object.defineProperty(exports2, "__esModule", { value: true });
1758
1762
  exports2.Param = exports2.Pin = exports2.HalItem = void 0;
@@ -1797,9 +1801,9 @@ var require_item = __commonJS({
1797
1801
  }
1798
1802
  });
1799
1803
 
1800
- // ../node_modules/.pnpm/@linuxcnc-node+hal@2.1.3/node_modules/@linuxcnc-node/hal/dist/component.js
1804
+ // ../node_modules/.pnpm/@linuxcnc-node+hal@2.2.1/node_modules/@linuxcnc-node/hal/dist/component.js
1801
1805
  var require_component = __commonJS({
1802
- "../node_modules/.pnpm/@linuxcnc-node+hal@2.1.3/node_modules/@linuxcnc-node/hal/dist/component.js"(exports2) {
1806
+ "../node_modules/.pnpm/@linuxcnc-node+hal@2.2.1/node_modules/@linuxcnc-node/hal/dist/component.js"(exports2) {
1803
1807
  "use strict";
1804
1808
  Object.defineProperty(exports2, "__esModule", { value: true });
1805
1809
  exports2.HalComponent = exports2.DEFAULT_POLL_INTERVAL = void 0;
@@ -2136,9 +2140,9 @@ var require_component = __commonJS({
2136
2140
  }
2137
2141
  });
2138
2142
 
2139
- // ../node_modules/.pnpm/@linuxcnc-node+hal@2.1.3/node_modules/@linuxcnc-node/hal/dist/functions.js
2143
+ // ../node_modules/.pnpm/@linuxcnc-node+hal@2.2.1/node_modules/@linuxcnc-node/hal/dist/functions.js
2140
2144
  var require_functions = __commonJS({
2141
- "../node_modules/.pnpm/@linuxcnc-node+hal@2.1.3/node_modules/@linuxcnc-node/hal/dist/functions.js"(exports2) {
2145
+ "../node_modules/.pnpm/@linuxcnc-node+hal@2.2.1/node_modules/@linuxcnc-node/hal/dist/functions.js"(exports2) {
2142
2146
  "use strict";
2143
2147
  Object.defineProperty(exports2, "__esModule", { value: true });
2144
2148
  exports2.setSignalValue = exports2.setPinParamValue = exports2.pinHasWriter = exports2.newSignal = exports2.getInfoParams = exports2.getInfoSignals = exports2.getInfoPins = exports2.getValue = exports2.disconnect = exports2.connect = exports2.setMsgLevel = exports2.getMsgLevel = void 0;
@@ -2209,9 +2213,9 @@ var require_functions = __commonJS({
2209
2213
  }
2210
2214
  });
2211
2215
 
2212
- // ../node_modules/.pnpm/@linuxcnc-node+hal@2.1.3/node_modules/@linuxcnc-node/hal/dist/index.js
2216
+ // ../node_modules/.pnpm/@linuxcnc-node+hal@2.2.1/node_modules/@linuxcnc-node/hal/dist/index.js
2213
2217
  var require_dist5 = __commonJS({
2214
- "../node_modules/.pnpm/@linuxcnc-node+hal@2.1.3/node_modules/@linuxcnc-node/hal/dist/index.js"(exports2) {
2218
+ "../node_modules/.pnpm/@linuxcnc-node+hal@2.2.1/node_modules/@linuxcnc-node/hal/dist/index.js"(exports2) {
2215
2219
  "use strict";
2216
2220
  Object.defineProperty(exports2, "__esModule", { value: true });
2217
2221
  exports2.setSignalValue = exports2.setPinParamValue = exports2.pinHasWriter = exports2.newSignal = exports2.getInfoParams = exports2.getInfoSignals = exports2.getInfoPins = exports2.getValue = exports2.disconnect = exports2.connect = exports2.setMsgLevel = exports2.getMsgLevel = exports2.Param = exports2.Pin = exports2.HalItem = exports2.HalComponent = void 0;