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.
- package/README.md +1 -1
- package/dashboard/assets/DashboardPage-B120lKNc.js +134 -0
- package/dashboard/assets/{DashboardShared-Ojg-bGGQ.js → DashboardShared-C13fBMeU.js} +14 -14
- package/dashboard/assets/{DiffTab-dymlUV3x.js → DiffTab-AT7LSD0P.js} +3 -3
- package/dashboard/assets/{FilesTab-Cnj859gV.js → FilesTab-BA9QJNmE.js} +4 -4
- package/dashboard/assets/{PreviewTab-DquI9ttJ.js → PreviewTab-D17FNUBd.js} +1 -1
- package/dashboard/assets/{SharedConversationPage-6qKIc2aS.js → SharedConversationPage-C2w1iWje.js} +3 -3
- package/dashboard/assets/{file-CEVc1lRa.js → file-CqU2HAmS.js} +1 -1
- package/dashboard/assets/index-CX3TY2Hu.css +1 -0
- package/dashboard/assets/{index-7UNu_8ex.js → index-kJt4gPIg.js} +60 -60
- package/dashboard/assets/{play--trDjvtr.js → play-Bkein38x.js} +1 -1
- package/dashboard/index.html +2 -2
- package/main.cjs +18 -13
- package/package.json +1 -1
- package/runtime-metadata.json +4 -4
- package/dashboard/assets/DashboardPage-YfNqtMsA.js +0 -134
- package/dashboard/assets/index-DVZdJrwy.css +0 -1
package/dashboard/index.html
CHANGED
|
@@ -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'>🕸</text></svg>" />
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
9
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
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}`,
|
|
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",
|
|
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"],
|
|
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],
|
|
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,
|
|
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)],
|
|
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
|
-
|
|
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"],
|
|
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
|
-
|
|
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
package/runtime-metadata.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"packageName": "meshy-node",
|
|
3
|
-
"packageVersion": "0.7.
|
|
3
|
+
"packageVersion": "0.7.11",
|
|
4
4
|
"packages": {
|
|
5
5
|
"workspace": {
|
|
6
6
|
"name": "meshy",
|
|
7
|
-
"version": "0.7.
|
|
7
|
+
"version": "0.7.11"
|
|
8
8
|
},
|
|
9
9
|
"node": {
|
|
10
10
|
"name": "meshy-node",
|
|
11
|
-
"version": "0.7.
|
|
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": "
|
|
29
|
+
"commit": "0fe8ea9"
|
|
30
30
|
}
|
|
31
31
|
}
|