meshy-node 0.4.3 → 0.4.4

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,6 +1,6 @@
1
1
  # meshy-node
2
2
 
3
- Version: 0.4.3
3
+ Version: 0.4.4
4
4
 
5
5
  This package contains the built Meshy standalone node runtime only.
6
6
  It intentionally excludes repository source files and TypeScript sources.
package/main.cjs CHANGED
@@ -33245,8 +33245,11 @@ var DEFAULT_NODE_REQUEST_TIMEOUT_MS = 1500;
33245
33245
  function isDevTunnelTransport(transportType) {
33246
33246
  return transportType?.toLowerCase() === "devtunnel";
33247
33247
  }
33248
+ function getPublishedNodeDevTunnelEndpoint(node) {
33249
+ return isDevTunnelTransport(node.transportType) ? node.endpoint : node.devtunnelEndpoint;
33250
+ }
33248
33251
  function hasNodeDevTunnel(node) {
33249
- return isDevTunnelTransport(node.transportType) || !!node.devtunnelEndpoint;
33252
+ return getPublishedNodeDevTunnelEndpoint(node) !== void 0;
33250
33253
  }
33251
33254
  function getNodePublicEndpoint(node) {
33252
33255
  return node.devtunnelEndpoint ?? node.endpoint;
@@ -34948,8 +34951,8 @@ var HeartbeatMonitor = class {
34948
34951
  // simplified — real impl would query task engine
34949
34952
  load: 0,
34950
34953
  supportedAgents: self2.supportedAgents,
34951
- devtunnelEnabled: self2.devtunnelEndpoint !== void 0,
34952
- devtunnelEndpoint: self2.devtunnelEndpoint,
34954
+ devtunnelEnabled: getPublishedNodeDevTunnelEndpoint(self2) !== void 0,
34955
+ devtunnelEndpoint: getPublishedNodeDevTunnelEndpoint(self2),
34953
34956
  devtunnelHealth: self2.devtunnelHealth,
34954
34957
  dashboardOrigin: self2.dashboardOrigin,
34955
34958
  workDirFolders: self2.workDir ? listWorkDirFolders(self2.workDir) : void 0,
@@ -35083,8 +35086,8 @@ var HeartbeatMonitor = class {
35083
35086
  supportedAgents: self2.supportedAgents,
35084
35087
  transportType: self2.transportType,
35085
35088
  workDir: self2.workDir,
35086
- devtunnelEnabled: self2.devtunnelEndpoint !== void 0,
35087
- devtunnelEndpoint: self2.devtunnelEndpoint,
35089
+ devtunnelEnabled: getPublishedNodeDevTunnelEndpoint(self2) !== void 0,
35090
+ devtunnelEndpoint: getPublishedNodeDevTunnelEndpoint(self2),
35088
35091
  devtunnelHealth: self2.devtunnelHealth,
35089
35092
  dashboardOrigin: self2.dashboardOrigin,
35090
35093
  workDirFolders: self2.workDir ? listWorkDirFolders(self2.workDir) : void 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meshy-node",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "private": false,
5
5
  "description": "Standalone Meshy node package with bundled runtime and dashboard assets.",
6
6
  "type": "commonjs",
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "packageName": "meshy-node",
3
- "packageVersion": "0.4.3",
3
+ "packageVersion": "0.4.4",
4
4
  "packages": {
5
5
  "workspace": {
6
6
  "name": "meshy",
7
- "version": "0.4.3"
7
+ "version": "0.4.4"
8
8
  },
9
9
  "node": {
10
10
  "name": "meshy-node",
11
- "version": "0.4.3"
11
+ "version": "0.4.4"
12
12
  },
13
13
  "core": {
14
14
  "name": "@meshy/core",
@@ -26,6 +26,6 @@
26
26
  "repository": {
27
27
  "url": "https://github.com/ai-microsoft/meshy",
28
28
  "branch": "TunnelRestart",
29
- "commit": "f34e076"
29
+ "commit": "bf73c82"
30
30
  }
31
31
  }