@swmansion/argent 0.34.1-next.69 → 0.34.1-next.70
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/assets/argent.tracecfg.pbtxt +7 -1
- package/assets/trace-processor/engine_bundle.node.js +2074 -11121
- package/assets/trace-processor/trace_processor.wasm +0 -0
- package/bin/argent-android-devtools-0.4.0.apk +0 -0
- package/bin/darwin/argent-macos-helper +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/network-inspector/network-inspector.jar +0 -0
- package/bin/tcp/ax-service +0 -0
- package/dist/cli-cmds.mjs +1 -1
- package/dist/installer.mjs +1 -1
- package/dist/tool-server.cjs +9 -16
- package/dylibs/libArgentAudio.dylib +0 -0
- package/dylibs/libArgentInjectionBootstrap.dylib +0 -0
- package/dylibs/libKeyboardPatch.dylib +0 -0
- package/dylibs/libNativeDevtoolsIos.dylib +0 -0
- package/dylibs/macos/libArgentInjectionBootstrap.dylib +0 -0
- package/dylibs/macos/libNativeDevtoolsMacos.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
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/bin/darwin/ax-service
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/bin/tcp/ax-service
CHANGED
|
Binary file
|
package/dist/cli-cmds.mjs
CHANGED
|
@@ -36294,7 +36294,7 @@ function isCi(env = process.env) {
|
|
|
36294
36294
|
var SESSION_ID2 = randomUUID5();
|
|
36295
36295
|
function readCliVersion() {
|
|
36296
36296
|
if (true) {
|
|
36297
|
-
return "0.34.1-next.
|
|
36297
|
+
return "0.34.1-next.70";
|
|
36298
36298
|
}
|
|
36299
36299
|
return "0.0.0";
|
|
36300
36300
|
}
|
package/dist/installer.mjs
CHANGED
|
@@ -16994,7 +16994,7 @@ function isCi(env = process.env) {
|
|
|
16994
16994
|
var SESSION_ID = randomUUID4();
|
|
16995
16995
|
function readCliVersion() {
|
|
16996
16996
|
if (true) {
|
|
16997
|
-
return "0.34.1-next.
|
|
16997
|
+
return "0.34.1-next.70";
|
|
16998
16998
|
}
|
|
16999
16999
|
return "0.0.0";
|
|
17000
17000
|
}
|
package/dist/tool-server.cjs
CHANGED
|
@@ -101462,7 +101462,7 @@ function isCi(env = process.env) {
|
|
|
101462
101462
|
var SESSION_ID = (0, import_node_crypto3.randomUUID)();
|
|
101463
101463
|
function readCliVersion() {
|
|
101464
101464
|
if (true) {
|
|
101465
|
-
return "0.34.1-next.
|
|
101465
|
+
return "0.34.1-next.70";
|
|
101466
101466
|
}
|
|
101467
101467
|
return "0.0.0";
|
|
101468
101468
|
}
|
|
@@ -133149,7 +133149,6 @@ var TraceProcessorRpc = class {
|
|
|
133149
133149
|
};
|
|
133150
133150
|
|
|
133151
133151
|
// ../native-devtools-android/src/wasm-trace-processor.ts
|
|
133152
|
-
var DEFAULT_INIT_MS = 1500;
|
|
133153
133152
|
var MAX_WARM_ENGINES = 3;
|
|
133154
133153
|
var IDLE_DISPOSE_MS = 5 * 6e4;
|
|
133155
133154
|
var TRACE_PARSE_CHUNK_BYTES = 32 * 1024 * 1024;
|
|
@@ -133169,14 +133168,12 @@ function resolveTraceProcessorAssets() {
|
|
|
133169
133168
|
}
|
|
133170
133169
|
function patchGlueForNode(src) {
|
|
133171
133170
|
const edits = [
|
|
133172
|
-
// Force memory32: skip the memory64 probe
|
|
133173
|
-
["this.useMemory64 =
|
|
133174
|
-
// Hand the wasm bytes straight to emscripten -> it never calls readBinary/XHR.
|
|
133175
|
-
["locateFile: (s) => s,", "locateFile: (s) => s, wasmBinary: globalThis.__TP_WASM_BYTES,"],
|
|
133171
|
+
// Force memory32: skip the memory64 probe, since only the memory32 wasm ships.
|
|
133172
|
+
["this.useMemory64 = memory64Supported();", "this.useMemory64 = false;"],
|
|
133176
133173
|
// Expose the constructed bridge so we can drive it without self.onmessage.
|
|
133177
133174
|
[
|
|
133178
|
-
"
|
|
133179
|
-
"
|
|
133175
|
+
"var wasmBridge = new WasmBridge();",
|
|
133176
|
+
"var wasmBridge = new WasmBridge(); globalThis.__TP_bridge = wasmBridge;"
|
|
133180
133177
|
]
|
|
133181
133178
|
];
|
|
133182
133179
|
for (const [from2, to] of edits) {
|
|
@@ -133255,21 +133252,17 @@ async function createEngine() {
|
|
|
133255
133252
|
try {
|
|
133256
133253
|
const { wasmPath, gluePath } = resolveTraceProcessorAssets();
|
|
133257
133254
|
const dir = path26.dirname(wasmPath);
|
|
133258
|
-
const initMs = Number(process.env.ARGENT_TRACE_PROCESSOR_INIT_MS) || DEFAULT_INIT_MS;
|
|
133259
133255
|
setupWorkerScope(dir);
|
|
133260
133256
|
const g = engineGlobals();
|
|
133261
|
-
|
|
133257
|
+
const wasmModule = await g.WebAssembly.compile(await (0, import_promises8.readFile)(wasmPath));
|
|
133262
133258
|
const src = patchGlueForNode((0, import_node_fs8.readFileSync)(gluePath, "utf8"));
|
|
133263
133259
|
import_node_vm.default.runInThisContext(src, { filename: "engine_bundle.node.patched.js" });
|
|
133264
133260
|
const bridge = g.__TP_bridge;
|
|
133265
133261
|
if (!bridge) throw new Error("patched glue did not expose globalThis.__TP_bridge");
|
|
133266
|
-
const channel = new MessageChannel();
|
|
133267
|
-
bridge.initialize(channel.port1);
|
|
133268
|
-
const engine = new WasmEngine(channel.port2);
|
|
133269
|
-
await new Promise((r) => setTimeout(r, initMs));
|
|
133270
133262
|
g.__TP_bridge = void 0;
|
|
133271
|
-
|
|
133272
|
-
|
|
133263
|
+
const channel = new MessageChannel();
|
|
133264
|
+
await bridge.initialize(channel.port1, wasmModule);
|
|
133265
|
+
return new WasmEngine(channel.port2);
|
|
133273
133266
|
} catch (err) {
|
|
133274
133267
|
if (err instanceof TraceProcessorUnavailableError) throw err;
|
|
133275
133268
|
throw new TraceProcessorUnavailableError("wasm_load_failed", { cause: err });
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
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.70",
|
|
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",
|