meshy-node 0.7.10 → 0.7.11

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.
@@ -1,4 +1,4 @@
1
- import{c as a}from"./index-7UNu_8ex.js";/**
1
+ import{c as a}from"./index-kJt4gPIg.js";/**
2
2
  * @license lucide-react v1.7.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -5,8 +5,8 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Meshy Dashboard</title>
7
7
  <link rel="icon" type="image/svg+xml" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>&#x1F578;</text></svg>" />
8
- <script type="module" crossorigin src="/assets/index-7UNu_8ex.js"></script>
9
- <link rel="stylesheet" crossorigin href="/assets/index-DVZdJrwy.css">
8
+ <script type="module" crossorigin src="/assets/index-kJt4gPIg.js"></script>
9
+ <link rel="stylesheet" crossorigin href="/assets/index-CX3TY2Hu.css">
10
10
  </head>
11
11
  <body>
12
12
  <div id="root"></div>
package/main.cjs CHANGED
@@ -67023,9 +67023,15 @@ var DirectTransport = class {
67023
67023
 
67024
67024
  // ../../packages/transport/src/devtunnel.ts
67025
67025
  var import_node_child_process11 = require("child_process");
67026
+ function hiddenPipeOptions() {
67027
+ return { stdio: "pipe", windowsHide: true };
67028
+ }
67029
+ function hiddenSpawnOptions() {
67030
+ return { stdio: ["pipe", "pipe", "pipe"], windowsHide: true };
67031
+ }
67026
67032
  function isInstalled(cmd) {
67027
67033
  try {
67028
- (0, import_node_child_process11.execSync)(process.platform === "win32" ? `where ${cmd}` : `command -v ${cmd}`, { stdio: "pipe" });
67034
+ (0, import_node_child_process11.execSync)(process.platform === "win32" ? `where ${cmd}` : `command -v ${cmd}`, hiddenPipeOptions());
67029
67035
  return true;
67030
67036
  } catch {
67031
67037
  return false;
@@ -67048,16 +67054,14 @@ var DevTunnelTransport = class {
67048
67054
  );
67049
67055
  }
67050
67056
  try {
67051
- (0, import_node_child_process11.execSync)("devtunnel user show", { stdio: "pipe" });
67057
+ (0, import_node_child_process11.execSync)("devtunnel user show", hiddenPipeOptions());
67052
67058
  } catch {
67053
67059
  throw new Error(
67054
67060
  "Not logged in to devtunnel. Run: devtunnel user login"
67055
67061
  );
67056
67062
  }
67057
67063
  const hostArgs = this.buildHostArgs(localPort);
67058
- const child = (0, import_node_child_process11.spawn)("devtunnel", hostArgs, {
67059
- stdio: ["pipe", "pipe", "pipe"]
67060
- });
67064
+ const child = (0, import_node_child_process11.spawn)("devtunnel", hostArgs, hiddenSpawnOptions());
67061
67065
  this.process = child;
67062
67066
  this.publicUrl = await new Promise((resolve15, reject) => {
67063
67067
  const timeout = setTimeout(() => {
@@ -67160,7 +67164,7 @@ ${lines.join("")}`
67160
67164
  return;
67161
67165
  }
67162
67166
  try {
67163
- (0, import_node_child_process11.execFileSync)("devtunnel", ["access", "create", tunnelId, "--tenant"], { stdio: "pipe" });
67167
+ (0, import_node_child_process11.execFileSync)("devtunnel", ["access", "create", tunnelId, "--tenant"], hiddenPipeOptions());
67164
67168
  } catch (err) {
67165
67169
  if (isExistingTenantAccessError(err)) {
67166
67170
  return;
@@ -67176,7 +67180,7 @@ ${lines.join("")}`
67176
67180
  return void 0;
67177
67181
  }
67178
67182
  try {
67179
- (0, import_node_child_process11.execFileSync)("devtunnel", ["show", tunnelId], { stdio: "pipe" });
67183
+ (0, import_node_child_process11.execFileSync)("devtunnel", ["show", tunnelId], hiddenPipeOptions());
67180
67184
  return tunnelId;
67181
67185
  } catch {
67182
67186
  const createArgs = ["create", tunnelId];
@@ -67184,7 +67188,7 @@ ${lines.join("")}`
67184
67188
  createArgs.push("-a");
67185
67189
  }
67186
67190
  try {
67187
- (0, import_node_child_process11.execFileSync)("devtunnel", createArgs, { stdio: "pipe" });
67191
+ (0, import_node_child_process11.execFileSync)("devtunnel", createArgs, hiddenPipeOptions());
67188
67192
  return tunnelId;
67189
67193
  } catch (err) {
67190
67194
  throw new Error(
@@ -67196,7 +67200,7 @@ ${lines.join("")}`
67196
67200
  ensureTunnelPort(tunnelId, localPort) {
67197
67201
  const ports = this.listTunnelPorts(tunnelId);
67198
67202
  for (const stalePort of ports.filter((p) => p !== localPort)) {
67199
- (0, import_node_child_process11.execFileSync)("devtunnel", ["port", "delete", tunnelId, "-p", String(stalePort)], { stdio: "pipe" });
67203
+ (0, import_node_child_process11.execFileSync)("devtunnel", ["port", "delete", tunnelId, "-p", String(stalePort)], hiddenPipeOptions());
67200
67204
  }
67201
67205
  if (ports.includes(localPort)) {
67202
67206
  return;
@@ -67205,7 +67209,7 @@ ${lines.join("")}`
67205
67209
  (0, import_node_child_process11.execFileSync)(
67206
67210
  "devtunnel",
67207
67211
  ["port", "create", tunnelId, "-p", String(localPort), "--protocol", "http"],
67208
- { stdio: "pipe" }
67212
+ hiddenPipeOptions()
67209
67213
  );
67210
67214
  } catch (err) {
67211
67215
  if (this.isExistingPortConflict(err) && this.hasTunnelPort(tunnelId, localPort)) {
@@ -67218,7 +67222,7 @@ ${lines.join("")}`
67218
67222
  }
67219
67223
  listTunnelPorts(tunnelId) {
67220
67224
  try {
67221
- const output = (0, import_node_child_process11.execFileSync)("devtunnel", ["port", "list", tunnelId, "-j"], { stdio: "pipe" });
67225
+ const output = (0, import_node_child_process11.execFileSync)("devtunnel", ["port", "list", tunnelId, "-j"], hiddenPipeOptions());
67222
67226
  const parsed = JSON.parse(output.toString());
67223
67227
  const items = Array.isArray(parsed) ? parsed : parsed && typeof parsed === "object" && Array.isArray(parsed.ports) ? parsed.ports : parsed && typeof parsed === "object" && Array.isArray(parsed.value) ? parsed.value : [];
67224
67228
  return items.map((item) => getPortNumber(item)).filter((value) => value !== void 0);
@@ -67233,7 +67237,7 @@ ${lines.join("")}`
67233
67237
  (0, import_node_child_process11.execFileSync)(
67234
67238
  "devtunnel",
67235
67239
  ["port", "show", tunnelId, "-p", String(localPort), "-j"],
67236
- { stdio: "pipe" }
67240
+ hiddenPipeOptions()
67237
67241
  );
67238
67242
  return true;
67239
67243
  } catch {
@@ -67394,7 +67398,8 @@ function createDefaultCommandRunner(platform2) {
67394
67398
  const result = (0, import_node_child_process12.spawnSync)(command, args, {
67395
67399
  encoding: "utf-8",
67396
67400
  shell: platform2 === "win32",
67397
- stdio: interactive ? "inherit" : "pipe"
67401
+ stdio: interactive ? "inherit" : "pipe",
67402
+ windowsHide: !interactive
67398
67403
  });
67399
67404
  return {
67400
67405
  ok: result.status === 0 && !result.error,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meshy-node",
3
- "version": "0.7.10",
3
+ "version": "0.7.11",
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.7.10",
3
+ "packageVersion": "0.7.11",
4
4
  "packages": {
5
5
  "workspace": {
6
6
  "name": "meshy",
7
- "version": "0.7.10"
7
+ "version": "0.7.11"
8
8
  },
9
9
  "node": {
10
10
  "name": "meshy-node",
11
- "version": "0.7.10"
11
+ "version": "0.7.11"
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": "main",
29
- "commit": "0c522dd"
29
+ "commit": "0fe8ea9"
30
30
  }
31
31
  }