@swmansion/argent 0.34.1-next.25 → 0.34.1-next.27
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/bin/darwin/simulator-server +0 -0
- package/bin/linux/simulator-server +0 -0
- package/bin/linux-arm64/simulator-server +0 -0
- package/bin/win32/simulator-server.exe +0 -0
- package/dist/cli-cmds.mjs +21 -9
- package/dist/client.js +5 -2
- package/dist/installer.mjs +1 -1
- package/dist/mcp-server.mjs +5 -2
- package/dist/tool-server.cjs +1 -1
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/cli-cmds.mjs
CHANGED
|
@@ -9069,6 +9069,10 @@ function killSpawnedChild(child, pid) {
|
|
|
9069
9069
|
}
|
|
9070
9070
|
}
|
|
9071
9071
|
}
|
|
9072
|
+
function resolveToolsServerNode() {
|
|
9073
|
+
const { bun, deno, electron } = process.versions;
|
|
9074
|
+
return !(bun || deno || electron) && fs.existsSync(process.execPath) ? process.execPath : "node";
|
|
9075
|
+
}
|
|
9072
9076
|
function spawnToolsServer(paths, port, options = {}) {
|
|
9073
9077
|
return new Promise((resolve13, reject) => {
|
|
9074
9078
|
let logFd;
|
|
@@ -9078,8 +9082,7 @@ function spawnToolsServer(paths, port, options = {}) {
|
|
|
9078
9082
|
} catch {
|
|
9079
9083
|
logFd = fs.openSync("/dev/null", "w");
|
|
9080
9084
|
}
|
|
9081
|
-
const
|
|
9082
|
-
const nodeBin = !(bun || deno || electron) && fs.existsSync(process.execPath) ? process.execPath : "node";
|
|
9085
|
+
const nodeBin = resolveToolsServerNode();
|
|
9083
9086
|
const child = spawn(nodeBin, [paths.bundlePath, "start"], {
|
|
9084
9087
|
detached: true,
|
|
9085
9088
|
stdio: ["ignore", "pipe", logFd],
|
|
@@ -36142,7 +36145,7 @@ function isCi(env = process.env) {
|
|
|
36142
36145
|
var SESSION_ID2 = randomUUID5();
|
|
36143
36146
|
function readCliVersion() {
|
|
36144
36147
|
if (true) {
|
|
36145
|
-
return "0.34.1-next.
|
|
36148
|
+
return "0.34.1-next.27";
|
|
36146
36149
|
}
|
|
36147
36150
|
return "0.0.0";
|
|
36148
36151
|
}
|
|
@@ -39023,10 +39026,20 @@ async function runForeground(paths, port, host, idleTimeoutMinutes, token) {
|
|
|
39023
39026
|
idleTimeoutMinutes,
|
|
39024
39027
|
token
|
|
39025
39028
|
});
|
|
39026
|
-
const
|
|
39027
|
-
|
|
39028
|
-
|
|
39029
|
-
|
|
39029
|
+
const cannotStart = (err) => {
|
|
39030
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
39031
|
+
console.error(`argent server start: failed to spawn tool-server: ${message}`);
|
|
39032
|
+
process.exit(1);
|
|
39033
|
+
};
|
|
39034
|
+
let child;
|
|
39035
|
+
try {
|
|
39036
|
+
child = spawn4(resolveToolsServerNode(), [paths.bundlePath, "start"], {
|
|
39037
|
+
stdio: "inherit",
|
|
39038
|
+
env
|
|
39039
|
+
});
|
|
39040
|
+
} catch (err) {
|
|
39041
|
+
return cannotStart(err);
|
|
39042
|
+
}
|
|
39030
39043
|
const forward = (signal) => () => {
|
|
39031
39044
|
try {
|
|
39032
39045
|
child.kill(signal);
|
|
@@ -39067,8 +39080,7 @@ async function runForeground(paths, port, host, idleTimeoutMinutes, token) {
|
|
|
39067
39080
|
};
|
|
39068
39081
|
child.on("error", (err) => {
|
|
39069
39082
|
cleanup();
|
|
39070
|
-
|
|
39071
|
-
process.exit(1);
|
|
39083
|
+
cannotStart(err);
|
|
39072
39084
|
});
|
|
39073
39085
|
child.on("exit", (code, signal) => {
|
|
39074
39086
|
cleanup();
|
package/dist/client.js
CHANGED
|
@@ -8405,6 +8405,10 @@ function killSpawnedChild(child, pid) {
|
|
|
8405
8405
|
}
|
|
8406
8406
|
}
|
|
8407
8407
|
}
|
|
8408
|
+
function resolveToolsServerNode() {
|
|
8409
|
+
const { bun, deno, electron } = process.versions;
|
|
8410
|
+
return !(bun || deno || electron) && fs4.existsSync(process.execPath) ? process.execPath : "node";
|
|
8411
|
+
}
|
|
8408
8412
|
function spawnToolsServer(paths, port, options = {}) {
|
|
8409
8413
|
return new Promise((resolve9, reject) => {
|
|
8410
8414
|
let logFd;
|
|
@@ -8414,8 +8418,7 @@ function spawnToolsServer(paths, port, options = {}) {
|
|
|
8414
8418
|
} catch {
|
|
8415
8419
|
logFd = fs4.openSync("/dev/null", "w");
|
|
8416
8420
|
}
|
|
8417
|
-
const
|
|
8418
|
-
const nodeBin = !(bun || deno || electron) && fs4.existsSync(process.execPath) ? process.execPath : "node";
|
|
8421
|
+
const nodeBin = resolveToolsServerNode();
|
|
8419
8422
|
const child = spawn(nodeBin, [paths.bundlePath, "start"], {
|
|
8420
8423
|
detached: true,
|
|
8421
8424
|
stdio: ["ignore", "pipe", logFd],
|
package/dist/installer.mjs
CHANGED
|
@@ -16925,7 +16925,7 @@ function isCi(env = process.env) {
|
|
|
16925
16925
|
var SESSION_ID = randomUUID4();
|
|
16926
16926
|
function readCliVersion() {
|
|
16927
16927
|
if (true) {
|
|
16928
|
-
return "0.34.1-next.
|
|
16928
|
+
return "0.34.1-next.27";
|
|
16929
16929
|
}
|
|
16930
16930
|
return "0.0.0";
|
|
16931
16931
|
}
|
package/dist/mcp-server.mjs
CHANGED
|
@@ -24550,6 +24550,10 @@ function killSpawnedChild(child, pid) {
|
|
|
24550
24550
|
}
|
|
24551
24551
|
}
|
|
24552
24552
|
}
|
|
24553
|
+
function resolveToolsServerNode() {
|
|
24554
|
+
const { bun, deno, electron } = process.versions;
|
|
24555
|
+
return !(bun || deno || electron) && fs.existsSync(process.execPath) ? process.execPath : "node";
|
|
24556
|
+
}
|
|
24553
24557
|
function spawnToolsServer(paths, port, options = {}) {
|
|
24554
24558
|
return new Promise((resolve10, reject) => {
|
|
24555
24559
|
let logFd;
|
|
@@ -24559,8 +24563,7 @@ function spawnToolsServer(paths, port, options = {}) {
|
|
|
24559
24563
|
} catch {
|
|
24560
24564
|
logFd = fs.openSync("/dev/null", "w");
|
|
24561
24565
|
}
|
|
24562
|
-
const
|
|
24563
|
-
const nodeBin = !(bun || deno || electron) && fs.existsSync(process.execPath) ? process.execPath : "node";
|
|
24566
|
+
const nodeBin = resolveToolsServerNode();
|
|
24564
24567
|
const child = spawn(nodeBin, [paths.bundlePath, "start"], {
|
|
24565
24568
|
detached: true,
|
|
24566
24569
|
stdio: ["ignore", "pipe", logFd],
|
package/dist/tool-server.cjs
CHANGED
|
@@ -101405,7 +101405,7 @@ function isCi(env = process.env) {
|
|
|
101405
101405
|
var SESSION_ID = (0, import_node_crypto3.randomUUID)();
|
|
101406
101406
|
function readCliVersion() {
|
|
101407
101407
|
if (true) {
|
|
101408
|
-
return "0.34.1-next.
|
|
101408
|
+
return "0.34.1-next.27";
|
|
101409
101409
|
}
|
|
101410
101410
|
return "0.0.0";
|
|
101411
101411
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swmansion/argent",
|
|
3
|
-
"version": "0.34.1-next.
|
|
3
|
+
"version": "0.34.1-next.27",
|
|
4
4
|
"mcpName": "io.github.software-mansion/argent",
|
|
5
5
|
"description": "MCP server for iOS Simulator, Android Emulator, Chromium app and Mac app control",
|
|
6
6
|
"license": "Apache-2.0",
|