@swmansion/argent 0.33.1-next.23 → 0.33.1-next.24
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.tracetemplate +0 -0
- package/dist/cli-cmds.mjs +2 -1
- package/dist/client.js +1 -0
- package/dist/installer.mjs +2 -1
- package/dist/mcp-server.mjs +1 -0
- package/dist/tool-args.generated.d.ts +7 -7
- package/dist/tool-server.cjs +2250 -1362
- package/package.json +1 -1
- package/skills/argent-macos-app-interact/SKILL.md +5 -1
- package/skills/argent-native-profiler/SKILL.md +7 -5
- package/skills/argent-react-native-profiler/SKILL.md +2 -0
|
Binary file
|
package/dist/cli-cmds.mjs
CHANGED
|
@@ -10701,6 +10701,7 @@ var FAILURE_CODES = {
|
|
|
10701
10701
|
NATIVE_PROFILER_SESSION_TORN_DOWN: "NATIVE_PROFILER_SESSION_TORN_DOWN",
|
|
10702
10702
|
NATIVE_PROFILER_APP_PROCESS_NOT_FOUND: "NATIVE_PROFILER_APP_PROCESS_NOT_FOUND",
|
|
10703
10703
|
NATIVE_PROFILER_NO_EXPORTED_TRACE: "NATIVE_PROFILER_NO_EXPORTED_TRACE",
|
|
10704
|
+
NATIVE_PROFILER_APP_NOT_DEBUGGABLE: "NATIVE_PROFILER_APP_NOT_DEBUGGABLE",
|
|
10704
10705
|
// Android perfetto start failures, mirroring the iOS xctrace set above.
|
|
10705
10706
|
NATIVE_PROFILER_PERFETTO_PROCESS_ERROR: "NATIVE_PROFILER_PERFETTO_PROCESS_ERROR",
|
|
10706
10707
|
NATIVE_PROFILER_PERFETTO_READY_TIMEOUT: "NATIVE_PROFILER_PERFETTO_READY_TIMEOUT",
|
|
@@ -36069,7 +36070,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
36069
36070
|
var SESSION_ID2 = randomUUID5();
|
|
36070
36071
|
function readCliVersion() {
|
|
36071
36072
|
if (true) {
|
|
36072
|
-
return "0.33.1-next.
|
|
36073
|
+
return "0.33.1-next.24";
|
|
36073
36074
|
}
|
|
36074
36075
|
return "0.0.0";
|
|
36075
36076
|
}
|
package/dist/client.js
CHANGED
|
@@ -9274,6 +9274,7 @@ var FAILURE_CODES = {
|
|
|
9274
9274
|
NATIVE_PROFILER_SESSION_TORN_DOWN: "NATIVE_PROFILER_SESSION_TORN_DOWN",
|
|
9275
9275
|
NATIVE_PROFILER_APP_PROCESS_NOT_FOUND: "NATIVE_PROFILER_APP_PROCESS_NOT_FOUND",
|
|
9276
9276
|
NATIVE_PROFILER_NO_EXPORTED_TRACE: "NATIVE_PROFILER_NO_EXPORTED_TRACE",
|
|
9277
|
+
NATIVE_PROFILER_APP_NOT_DEBUGGABLE: "NATIVE_PROFILER_APP_NOT_DEBUGGABLE",
|
|
9277
9278
|
// Android perfetto start failures, mirroring the iOS xctrace set above.
|
|
9278
9279
|
NATIVE_PROFILER_PERFETTO_PROCESS_ERROR: "NATIVE_PROFILER_PERFETTO_PROCESS_ERROR",
|
|
9279
9280
|
NATIVE_PROFILER_PERFETTO_READY_TIMEOUT: "NATIVE_PROFILER_PERFETTO_READY_TIMEOUT",
|
package/dist/installer.mjs
CHANGED
|
@@ -16033,6 +16033,7 @@ var FAILURE_CODES = {
|
|
|
16033
16033
|
NATIVE_PROFILER_SESSION_TORN_DOWN: "NATIVE_PROFILER_SESSION_TORN_DOWN",
|
|
16034
16034
|
NATIVE_PROFILER_APP_PROCESS_NOT_FOUND: "NATIVE_PROFILER_APP_PROCESS_NOT_FOUND",
|
|
16035
16035
|
NATIVE_PROFILER_NO_EXPORTED_TRACE: "NATIVE_PROFILER_NO_EXPORTED_TRACE",
|
|
16036
|
+
NATIVE_PROFILER_APP_NOT_DEBUGGABLE: "NATIVE_PROFILER_APP_NOT_DEBUGGABLE",
|
|
16036
16037
|
// Android perfetto start failures, mirroring the iOS xctrace set above.
|
|
16037
16038
|
NATIVE_PROFILER_PERFETTO_PROCESS_ERROR: "NATIVE_PROFILER_PERFETTO_PROCESS_ERROR",
|
|
16038
16039
|
NATIVE_PROFILER_PERFETTO_READY_TIMEOUT: "NATIVE_PROFILER_PERFETTO_READY_TIMEOUT",
|
|
@@ -16986,7 +16987,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
16986
16987
|
var SESSION_ID = randomUUID4();
|
|
16987
16988
|
function readCliVersion() {
|
|
16988
16989
|
if (true) {
|
|
16989
|
-
return "0.33.1-next.
|
|
16990
|
+
return "0.33.1-next.24";
|
|
16990
16991
|
}
|
|
16991
16992
|
return "0.0.0";
|
|
16992
16993
|
}
|
package/dist/mcp-server.mjs
CHANGED
|
@@ -25984,6 +25984,7 @@ var FAILURE_CODES = {
|
|
|
25984
25984
|
NATIVE_PROFILER_SESSION_TORN_DOWN: "NATIVE_PROFILER_SESSION_TORN_DOWN",
|
|
25985
25985
|
NATIVE_PROFILER_APP_PROCESS_NOT_FOUND: "NATIVE_PROFILER_APP_PROCESS_NOT_FOUND",
|
|
25986
25986
|
NATIVE_PROFILER_NO_EXPORTED_TRACE: "NATIVE_PROFILER_NO_EXPORTED_TRACE",
|
|
25987
|
+
NATIVE_PROFILER_APP_NOT_DEBUGGABLE: "NATIVE_PROFILER_APP_NOT_DEBUGGABLE",
|
|
25987
25988
|
// Android perfetto start failures, mirroring the iOS xctrace set above.
|
|
25988
25989
|
NATIVE_PROFILER_PERFETTO_PROCESS_ERROR: "NATIVE_PROFILER_PERFETTO_PROCESS_ERROR",
|
|
25989
25990
|
NATIVE_PROFILER_PERFETTO_READY_TIMEOUT: "NATIVE_PROFILER_PERFETTO_READY_TIMEOUT",
|
|
@@ -538,21 +538,21 @@ export interface ArgentToolArgs {
|
|
|
538
538
|
stop?: boolean;
|
|
539
539
|
};
|
|
540
540
|
"native-profiler-analyze": {
|
|
541
|
-
/** Target device id from `list-devices` (iOS UDID or Android serial). */
|
|
541
|
+
/** Target device id from `list-devices` (iOS UDID, Mac app id or Android serial). */
|
|
542
542
|
device_id: string;
|
|
543
543
|
};
|
|
544
544
|
"native-profiler-start": {
|
|
545
|
-
/** Target device id from `list-devices` (iOS UDID or Android serial). */
|
|
545
|
+
/** Target device id from `list-devices` (iOS UDID, Mac app id or Android serial). */
|
|
546
546
|
device_id: string;
|
|
547
|
-
/** iOS: the CFBundleExecutable or display name of the app to profile. Android: the app's package name. If omitted, auto-detects the foreground app; set it only if auto-detection picks the wrong app. */
|
|
547
|
+
/** iOS: the CFBundleExecutable or display name of the app to profile. Android: the app's package name. If omitted, auto-detects the foreground app; set it only if auto-detection picks the wrong app. Do not set it for a Mac app: the tool refuses it, because the device id names the app. */
|
|
548
548
|
app_process?: string;
|
|
549
|
-
/** iOS only. Path to an Instruments .tracetemplate file (defaults to the bundled Argent template). */
|
|
549
|
+
/** iOS and Mac apps only. Path to an Instruments .tracetemplate file, or the name of a built-in template such as "Time Profiler" (defaults to the bundled Argent template). */
|
|
550
550
|
template_path?: string;
|
|
551
|
-
/** iOS only.
|
|
551
|
+
/** iOS and Mac apps only. Enable allocation stacks from app launch. Restarts the app, clears its current state, and adds CPU and memory overhead. Leave it off for CPU and hang timing. On iOS, attach recordings typically lack allocation stacks. The all-processes capture (including ARGENT_IOS_CAPTURE=all-processes) rejects this option and records no leaks. On a Mac app, argent restarts the app with MallocStackLogging=1 and then attaches, and logging stays active until restart-app. The bundled template can capture stacks for allocations during recording, so enable this for older allocations. */
|
|
552
552
|
malloc_stack_logging?: boolean;
|
|
553
553
|
};
|
|
554
554
|
"native-profiler-stop": {
|
|
555
|
-
/** Target device id from `list-devices` (iOS UDID or Android serial). */
|
|
555
|
+
/** Target device id from `list-devices` (iOS UDID, Mac app id or Android serial). */
|
|
556
556
|
device_id: string;
|
|
557
557
|
};
|
|
558
558
|
"native-user-interactable-view-at-point": {
|
|
@@ -680,7 +680,7 @@ export interface ArgentToolArgs {
|
|
|
680
680
|
app_process?: string;
|
|
681
681
|
};
|
|
682
682
|
"profiler-stack-query": {
|
|
683
|
-
/** iOS
|
|
683
|
+
/** Target device id from `list-devices` (iOS simulator UDID, Mac app id or Android serial). */
|
|
684
684
|
device_id: string;
|
|
685
685
|
/** Query mode; see Modes in the tool description. */
|
|
686
686
|
mode: "hang_stacks" | "function_callers" | "thread_breakdown" | "leak_stacks";
|