@swmansion/argent 0.28.1-next.0 → 0.28.1-next.10
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/argent-android-devtools-0.2.0.apk +0 -0
- package/bin/darwin/ax-service +0 -0
- package/bin/darwin/tvos-ax-service +0 -0
- package/bin/darwin/tvos-hid-daemon +0 -0
- package/bin/tcp/ax-service +0 -0
- package/dist/cli-cmds.mjs +1 -1
- package/dist/installer.mjs +17 -2
- package/dist/tool-args.generated.d.ts +6 -0
- package/dist/tool-server.cjs +522 -369
- package/dylibs/libArgentInjectionBootstrap.dylib +0 -0
- package/dylibs/libKeyboardPatch.dylib +0 -0
- package/dylibs/libNativeDevtoolsIos.dylib +0 -0
- package/dylibs/tcp/libArgentInjectionBootstrap.dylib +0 -0
- package/dylibs/tcp/libKeyboardPatch.dylib +0 -0
- package/dylibs/tcp/libNativeDevtoolsIos.dylib +0 -0
- package/dylibs/tvos/libArgentInjectionBootstrap.dylib +0 -0
- package/dylibs/tvos/libKeyboardPatch.dylib +0 -0
- package/dylibs/tvos/libNativeDevtoolsIos.dylib +0 -0
- package/package.json +1 -1
- package/skills/argent-metro-debugger/SKILL.md +7 -7
|
Binary file
|
package/bin/darwin/ax-service
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/bin/tcp/ax-service
CHANGED
|
Binary file
|
package/dist/cli-cmds.mjs
CHANGED
|
@@ -30092,7 +30092,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
30092
30092
|
var SESSION_ID2 = randomUUID5();
|
|
30093
30093
|
function readCliVersion() {
|
|
30094
30094
|
if (true) {
|
|
30095
|
-
return "0.28.1-next.
|
|
30095
|
+
return "0.28.1-next.10";
|
|
30096
30096
|
}
|
|
30097
30097
|
return "0.0.0";
|
|
30098
30098
|
}
|
package/dist/installer.mjs
CHANGED
|
@@ -16736,7 +16736,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
16736
16736
|
var SESSION_ID = randomUUID4();
|
|
16737
16737
|
function readCliVersion() {
|
|
16738
16738
|
if (true) {
|
|
16739
|
-
return "0.28.1-next.
|
|
16739
|
+
return "0.28.1-next.10";
|
|
16740
16740
|
}
|
|
16741
16741
|
return "0.0.0";
|
|
16742
16742
|
}
|
|
@@ -20227,9 +20227,19 @@ function isNewerVersion(candidate, current) {
|
|
|
20227
20227
|
function withNpmForce(npxArgs) {
|
|
20228
20228
|
return ["--force", ...npxArgs];
|
|
20229
20229
|
}
|
|
20230
|
+
function npxChildEnv(env = process.env) {
|
|
20231
|
+
const childEnv = { ...env };
|
|
20232
|
+
for (const key of Object.keys(childEnv)) {
|
|
20233
|
+
if (key.toLowerCase() === "npm_config_package") {
|
|
20234
|
+
delete childEnv[key];
|
|
20235
|
+
}
|
|
20236
|
+
}
|
|
20237
|
+
return childEnv;
|
|
20238
|
+
}
|
|
20230
20239
|
function isSkillsCliAvailable() {
|
|
20231
20240
|
try {
|
|
20232
20241
|
execSync("npx --force --no-install skills --version", {
|
|
20242
|
+
env: npxChildEnv(),
|
|
20233
20243
|
stdio: ["ignore", "ignore", "ignore"],
|
|
20234
20244
|
timeout: PROBE_TIMEOUT_MS
|
|
20235
20245
|
});
|
|
@@ -21967,7 +21977,11 @@ function refreshArgentSkills(projectRoot) {
|
|
|
21967
21977
|
if (bundled.size === 0) return [];
|
|
21968
21978
|
const results = [];
|
|
21969
21979
|
const primarySource = buildArgentSkillsSource(getInstalledVersion());
|
|
21970
|
-
const execOpts = {
|
|
21980
|
+
const execOpts = {
|
|
21981
|
+
stdio: ["ignore", "pipe", "pipe"],
|
|
21982
|
+
cwd: projectRoot,
|
|
21983
|
+
env: npxChildEnv()
|
|
21984
|
+
};
|
|
21971
21985
|
for (const spec of getScopeSpecs(projectRoot)) {
|
|
21972
21986
|
const tracked = listArgentSkillsInLock(spec.lockPath);
|
|
21973
21987
|
if (tracked.length === 0) continue;
|
|
@@ -22809,6 +22823,7 @@ function runNpxSkills(args, interactive, cwd) {
|
|
|
22809
22823
|
return new Promise((resolve16, reject) => {
|
|
22810
22824
|
const npxCmd = process.platform === "win32" ? "npx.cmd" : "npx";
|
|
22811
22825
|
const child = spawn3(npxCmd, args, {
|
|
22826
|
+
env: npxChildEnv(),
|
|
22812
22827
|
stdio: interactive ? "inherit" : ["ignore", "pipe", "pipe"],
|
|
22813
22828
|
shell: process.platform === "win32",
|
|
22814
22829
|
...cwd ? { cwd } : {}
|
|
@@ -843,6 +843,12 @@ export interface ArgentToolArgs {
|
|
|
843
843
|
/** Target device id (iOS UDID, Android serial, or Chromium id) whose transport session to stop */
|
|
844
844
|
udid: string;
|
|
845
845
|
};
|
|
846
|
+
"terminate-app": {
|
|
847
|
+
/** Target device id from `list-devices`. */
|
|
848
|
+
udid: string;
|
|
849
|
+
/** App identifier. iOS: bundle id. Android: package name. */
|
|
850
|
+
bundleId: string;
|
|
851
|
+
};
|
|
846
852
|
"tv-remote": {
|
|
847
853
|
/** Target TV device id from `list-devices` (Apple TV, Android TV, or Vega). */
|
|
848
854
|
udid: string;
|