@swmansion/argent 0.30.2-next.13 → 0.30.2-next.14
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/dist/cli-cmds.mjs +1 -1
- package/dist/installer.mjs +1 -1
- package/dist/mcp-server.mjs +1 -0
- package/dist/tool-server.cjs +32 -1
- package/package.json +1 -1
package/dist/cli-cmds.mjs
CHANGED
|
@@ -35578,7 +35578,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
35578
35578
|
var SESSION_ID2 = randomUUID5();
|
|
35579
35579
|
function readCliVersion() {
|
|
35580
35580
|
if (true) {
|
|
35581
|
-
return "0.30.2-next.
|
|
35581
|
+
return "0.30.2-next.14";
|
|
35582
35582
|
}
|
|
35583
35583
|
return "0.0.0";
|
|
35584
35584
|
}
|
package/dist/installer.mjs
CHANGED
|
@@ -16899,7 +16899,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
16899
16899
|
var SESSION_ID = randomUUID4();
|
|
16900
16900
|
function readCliVersion() {
|
|
16901
16901
|
if (true) {
|
|
16902
|
-
return "0.30.2-next.
|
|
16902
|
+
return "0.30.2-next.14";
|
|
16903
16903
|
}
|
|
16904
16904
|
return "0.0.0";
|
|
16905
16905
|
}
|
package/dist/mcp-server.mjs
CHANGED
|
@@ -28595,6 +28595,7 @@ function toMcpTool(t) {
|
|
|
28595
28595
|
name: t.name,
|
|
28596
28596
|
description: t.description,
|
|
28597
28597
|
inputSchema: { type: "object", ...withoutRetiredParams(t.inputSchema) },
|
|
28598
|
+
...t.readOnly ? { annotations: { readOnlyHint: true } } : {},
|
|
28598
28599
|
...Object.keys(meta2).length > 0 ? { _meta: meta2 } : {}
|
|
28599
28600
|
};
|
|
28600
28601
|
}
|
package/dist/tool-server.cjs
CHANGED
|
@@ -100944,7 +100944,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
100944
100944
|
var SESSION_ID = (0, import_node_crypto3.randomUUID)();
|
|
100945
100945
|
function readCliVersion() {
|
|
100946
100946
|
if (true) {
|
|
100947
|
-
return "0.30.2-next.
|
|
100947
|
+
return "0.30.2-next.14";
|
|
100948
100948
|
}
|
|
100949
100949
|
return "0.0.0";
|
|
100950
100950
|
}
|
|
@@ -125977,6 +125977,7 @@ Chromium apps are discovered by probing CDP debugging ports (default 9222; exten
|
|
|
125977
125977
|
Booted/ready devices are listed first. Platforms whose CLI is unavailable are silently omitted; an empty result usually means xcode-select, Android platform-tools, <flag:harmonyos>DevEco Studio, </flag:harmonyos>or the Vega SDK is not installed.`,
|
|
125978
125978
|
alwaysLoad: true,
|
|
125979
125979
|
searchHint: "list devices simulators emulators avd serial udid ios android chromium vega <flag:harmonyos>harmony harmonyos </flag:harmonyos>app fire tv session start",
|
|
125980
|
+
readOnly: true,
|
|
125980
125981
|
zodSchema,
|
|
125981
125982
|
services: () => ({}),
|
|
125982
125983
|
async execute(_services, _params) {
|
|
@@ -130727,6 +130728,7 @@ function createHttpApp(registry2, options) {
|
|
|
130727
130728
|
if (def.searchHint) entry.searchHint = renderFlagGated(def.searchHint, isFlagEnabled);
|
|
130728
130729
|
if (def.longRunning) entry.longRunning = true;
|
|
130729
130730
|
if (def.hideFromMcp) entry.hideFromMcp = true;
|
|
130731
|
+
if (def.readOnly) entry.readOnly = true;
|
|
130730
130732
|
const aliases = (def.aliases ?? []).map((alias) => ({
|
|
130731
130733
|
...entry,
|
|
130732
130734
|
name: alias,
|
|
@@ -133830,6 +133832,7 @@ If state is connecting: do NOT restart the app. Launching it is what starts the
|
|
|
133830
133832
|
If state is indeterminate: the process could not be inspected, so restart-app is worth one attempt. If this call still reports it after that restart, do NOT restart the app again: the service is stale rather than the app uninjected, so restart the tool-server (\`argent server stop && argent server start --detach\`) and retry. Remote simulators can never inspect the process, so this is the only unconnected state a running app reaches there.
|
|
133831
133833
|
Returns { status: "init_failed", message, attempts } instead when the simulator's native-devtools environment failed to initialize.
|
|
133832
133834
|
Fails if the simulator server is not running for the given UDID.`,
|
|
133835
|
+
readOnly: true,
|
|
133833
133836
|
zodSchema: zodSchema2,
|
|
133834
133837
|
services: (params) => ({
|
|
133835
133838
|
nativeDevtools: nativeDevtoolsRef(resolveDevice(params.udid))
|
|
@@ -133987,6 +133990,7 @@ Returns { status: "ok", matches } with matching views including their frames, pr
|
|
|
133987
133990
|
At least one of className, identifier, label, tag, or nativeID must be provided.
|
|
133988
133991
|
If status is restart_required: follow the message (usually restart-app), then retry. If status is service_stale: the app is already injected, so restarting it cannot help. Restart the tool-server (\`argent server stop && argent server start --detach\`) and retry. If the same status comes back after that restart, stop restarting: follow the message, which names the terminal fallback. If status is connect_pending: the app is injected and still connecting. Do not restart it, wait a few seconds and retry. If status is init_failed: the simulator's native-devtools environment could not be initialised. Follow the message (re-boot the simulator) rather than retrying this tool.
|
|
133989
133992
|
A not-connected or not-running app comes back as one of those statuses rather than a failure. Failures are separate: an Apple system app is rejected outright (terminal: never retry it), and the hierarchy query itself can error or time out.`,
|
|
133993
|
+
readOnly: true,
|
|
133990
133994
|
zodSchema: zodSchema4,
|
|
133991
133995
|
services: (params) => ({
|
|
133992
133996
|
nativeDevtools: nativeDevtoolsRef(resolveDevice(params.udid))
|
|
@@ -134057,6 +134061,7 @@ Use when you need deep layout debugging, finding views with no accessibility lab
|
|
|
134057
134061
|
Returns { status: "ok", windows, screen } with the full view hierarchy. screen gives the screen size in points on its portrait axes, and the interfaceOrientation of the UI (portrait, portraitUpsideDown, landscapeLeft, landscapeRight). Each screenFrame uses the portrait axes of the screen. Each windowFrame uses the axes of its window, which turn with the UI.
|
|
134058
134062
|
If status is restart_required: follow the message (usually restart-app), then retry. If status is service_stale: the app is already injected, so restarting it cannot help. Restart the tool-server (\`argent server stop && argent server start --detach\`) and retry. If the same status comes back after that restart, stop restarting: follow the message, which names the terminal fallback. If status is connect_pending: the app is injected and still connecting. Do not restart it, wait a few seconds and retry. If status is init_failed: the simulator's native-devtools environment could not be initialised. Follow the message (re-boot the simulator) rather than retrying this tool.
|
|
134059
134063
|
A not-connected or not-running app comes back as one of those statuses rather than a failure. Failures are separate: an Apple system app is rejected outright (terminal: never retry it), and the hierarchy query itself can error or time out.`,
|
|
134064
|
+
readOnly: true,
|
|
134060
134065
|
zodSchema: zodSchema5,
|
|
134061
134066
|
services: (params) => ({
|
|
134062
134067
|
nativeDevtools: nativeDevtoolsRef(resolveDevice(params.udid))
|
|
@@ -134126,6 +134131,7 @@ normalized contract.
|
|
|
134126
134131
|
|
|
134127
134132
|
If status is restart_required: follow the message (usually restart-app), then retry. If status is service_stale: the app is already injected, so restarting it cannot help. Restart the tool-server (\`argent server stop && argent server start --detach\`) and retry. If the same status comes back after that restart, stop restarting: follow the message, which names the terminal fallback. If status is connect_pending: the app is injected and still connecting. Do not restart it, wait a few seconds and retry. If status is init_failed: the simulator's native-devtools environment could not be initialised. Follow the message (re-boot the simulator) rather than retrying this tool.
|
|
134128
134133
|
A not-connected or not-running app comes back as one of those statuses rather than a failure. Failures are separate: an Apple system app is rejected outright (terminal: never retry it), and the screen query itself can error or time out.`,
|
|
134134
|
+
readOnly: true,
|
|
134129
134135
|
zodSchema: zodSchema6,
|
|
134130
134136
|
services: (params) => ({
|
|
134131
134137
|
nativeDevtools: nativeDevtoolsRef(resolveDevice(params.udid))
|
|
@@ -134208,6 +134214,7 @@ the UI is landscape.
|
|
|
134208
134214
|
|
|
134209
134215
|
If status is restart_required: follow the message (usually restart-app), then retry. If status is service_stale: the app is already injected, so restarting it cannot help. Restart the tool-server (\`argent server stop && argent server start --detach\`) and retry. If the same status comes back after that restart, stop restarting: follow the message, which names the terminal fallback. If status is connect_pending: the app is injected and still connecting. Do not restart it, wait a few seconds and retry. If status is init_failed: the simulator's native-devtools environment could not be initialised. Follow the message (re-boot the simulator) rather than retrying this tool.
|
|
134210
134216
|
A not-connected or not-running app comes back as one of those statuses rather than a failure. Failures are separate: an Apple system app is rejected outright (terminal: never retry it), and the point query itself can error or time out.`,
|
|
134217
|
+
readOnly: true,
|
|
134211
134218
|
zodSchema: zodSchema7,
|
|
134212
134219
|
services: (params) => ({
|
|
134213
134220
|
nativeDevtools: nativeDevtoolsRef(resolveDevice(params.udid))
|
|
@@ -134296,6 +134303,7 @@ the UI is landscape.
|
|
|
134296
134303
|
|
|
134297
134304
|
If status is restart_required: follow the message (usually restart-app), then retry. If status is service_stale: the app is already injected, so restarting it cannot help. Restart the tool-server (\`argent server stop && argent server start --detach\`) and retry. If the same status comes back after that restart, stop restarting: follow the message, which names the terminal fallback. If status is connect_pending: the app is injected and still connecting. Do not restart it, wait a few seconds and retry. If status is init_failed: the simulator's native-devtools environment could not be initialised. Follow the message (re-boot the simulator) rather than retrying this tool.
|
|
134298
134305
|
A not-connected or not-running app comes back as one of those statuses rather than a failure. Failures are separate: an Apple system app is rejected outright (terminal: never retry it), and the point query itself can error or time out.`,
|
|
134306
|
+
readOnly: true,
|
|
134299
134307
|
zodSchema: zodSchema8,
|
|
134300
134308
|
services: (params) => ({
|
|
134301
134309
|
nativeDevtools: nativeDevtoolsRef(resolveDevice(params.udid))
|
|
@@ -141514,6 +141522,7 @@ Use when you need a baseline image before an interaction or to inspect the curre
|
|
|
141514
141522
|
Fails if the simulator-server / emulator backend / Chromium CDP <flag:harmonyos>/ \`hdc\` </flag:harmonyos>is not reachable for the given device.`,
|
|
141515
141523
|
alwaysLoad: true,
|
|
141516
141524
|
searchHint: "device simulator emulator chromium screen image capture baseline tvos apple tv",
|
|
141525
|
+
readOnly: true,
|
|
141517
141526
|
zodSchema: zodSchema16,
|
|
141518
141527
|
outputHint: "image",
|
|
141519
141528
|
capability: capability8,
|
|
@@ -150783,6 +150792,7 @@ after a tap/navigation to wait for the next screen, or before tapping an element
|
|
|
150783
150792
|
alwaysLoad: true,
|
|
150784
150793
|
searchHint: "wait await poll until visible hidden exists text appears disappears timeout element condition settle",
|
|
150785
150794
|
longRunning: true,
|
|
150795
|
+
readOnly: true,
|
|
150786
150796
|
zodSchema: zodSchema29,
|
|
150787
150797
|
capability: capability23,
|
|
150788
150798
|
services: (params) => {
|
|
@@ -151214,6 +151224,7 @@ function createDebuggerStatusTool(registry2) {
|
|
|
151214
151224
|
Use when you need to verify connectivity before using other debugger tools. Never fails when the runtime is simply unreachable: it returns a discriminated result instead:
|
|
151215
151225
|
- { status: "connected", ... } with port, projectRoot (empty on Chromium and on legacy Metro, e.g. Vega), deviceName, appName, logicalDeviceId (absent on Vega), isNewDebugger (false on the legacy inspector), connected flag, loadedScripts count, and sourceMapReady (always true: waits for pending source maps before returning; no-op on Chromium).
|
|
151216
151226
|
- { status: "not_connected", connected: false, reason, detail, guidance } (port omitted on Chromium) when Metro is not running (reason "metro_not_running"), no app is attached ("no_app_connected"), the device_id matches no target ("device_mismatch"), the CDP endpoint is unreachable or answered malformed ("cdp_unreachable"), the runtime accepted the connection but never answered ("runtime_unresponsive"), the cached connection went stale ("stale_connection"), or a reconnect is in flight ("reconnecting"). Follow the guidance field; do not retry in a loop.`,
|
|
151227
|
+
readOnly: true,
|
|
151217
151228
|
zodSchema: zodSchema32,
|
|
151218
151229
|
capability: DEBUGGER_TOOL_CAPABILITY,
|
|
151219
151230
|
// Resolved manually in execute so a not-connected precondition becomes a
|
|
@@ -152325,6 +152336,7 @@ Set includeSkipped=true to see a summary of all filtered components.
|
|
|
152325
152336
|
Use when you need tap coordinates for a React Native UI element. Returns a compact text tree with (tap: x,y) coords. Fails if Metro debugger is not connected.`,
|
|
152326
152337
|
alwaysLoad: true,
|
|
152327
152338
|
searchHint: "react native component tree discovery tap coordinates",
|
|
152339
|
+
readOnly: true,
|
|
152328
152340
|
zodSchema: zodSchema35,
|
|
152329
152341
|
// RN-only: needs the React DevTools backend from the dev JS bundle. Chromium has
|
|
152330
152342
|
// no equivalent — use `describe` there.
|
|
@@ -152841,6 +152853,7 @@ Uses getInspectorDataForViewAtPoint + _debugStack + Metro /symbolicate.
|
|
|
152841
152853
|
Set resolveSourceMaps to false to skip symbolication and get raw bundled locations instead.
|
|
152842
152854
|
Set includeSkipped=true to see filtered items annotated with skip reasons.
|
|
152843
152855
|
Use when you need the source file and line for a component at a tap coordinate. Fails if the app is not connected or the coordinate is outside the screen.`,
|
|
152856
|
+
readOnly: true,
|
|
152844
152857
|
zodSchema: zodSchema36,
|
|
152845
152858
|
// RN-only: needs React Native's internal getInspectorDataForViewAtPoint and
|
|
152846
152859
|
// Metro's /symbolicate; the Chromium session has no source resolver.
|
|
@@ -152958,6 +152971,7 @@ function createDebuggerLogRegistryTool(registry2) {
|
|
|
152958
152971
|
Returns the log file path, entry counts by level, and message clusters (grouped by similarity). Works against Hermes (iOS / Android / Vega) and V8 (Chromium).
|
|
152959
152972
|
Use when investigating warnings, errors, or unexpected output. Call this first for an overview, then read the returned file for details. Returns empty stats if no log data has been captured yet, but check { note }, which is present only when the stats are empty BECAUSE the previous debugger session ended: torn down (e.g. by stop-all-simulator-servers) with its log file deleted, or cut off by the app crashing with its log file kept at the path the note names. Absent that note, empty really does mean the app has logged nothing.
|
|
152960
152973
|
When the debugger cannot be reached, this tool does not fail: it returns { status: "not_connected", reason, detail, guidance } with NO log file. Follow the guidance (do not retry in a loop). Read a log file in this state only when a { note } names one kept from before the app crashed. A "connected" result's stats may come from a session whose socket has since died. Use debugger-status, not this tool, to judge debugger health.`,
|
|
152974
|
+
readOnly: true,
|
|
152961
152975
|
zodSchema: zodSchema37,
|
|
152962
152976
|
capability: DEBUGGER_TOOL_CAPABILITY,
|
|
152963
152977
|
// Resolved manually in execute so a not-connected precondition becomes a
|
|
@@ -153137,6 +153151,7 @@ Each entry includes a requestId that can be passed to view-network-request-detai
|
|
|
153137
153151
|
On React Native (iOS / Android / Vega) interception is injected into the JS runtime: it records each request once: XMLHttpRequest (axios included), React Native's fetch, Expo's fetch, and a fetch library that sends through React Native's network module itself, such as react-native-fetch-api (found in a Metro development build). Capture starts at the first network-tool call; a reload clears it. On Chromium it reads the browser's native CDP Network domain (the active tab; all request types).
|
|
153138
153152
|
Use when inspecting outbound HTTP traffic or debugging API calls in the running app.
|
|
153139
153153
|
Fails if the app is not connected (RN) or the device is not reachable (Chromium).`,
|
|
153154
|
+
readOnly: true,
|
|
153140
153155
|
zodSchema: zodSchema38,
|
|
153141
153156
|
capability: DEBUGGER_TOOL_CAPABILITY,
|
|
153142
153157
|
services: (params) => {
|
|
@@ -153254,6 +153269,7 @@ var networkRequestTool = {
|
|
|
153254
153269
|
Returns request/response headers (sensitive headers redacted), status, timing, the request body, and optionally the response body.
|
|
153255
153270
|
Request and response bodies over 1000 chars are cut to 1000 under a "[TRUNCATED: ...]" line that gives the full size; a binary response body is replaced by "[body omitted: binary <mime>, N bytes]". Use when you need headers, body, or timing for a specific request after listing logs.
|
|
153256
153271
|
Returns an error message string if the requestId is not found: use view-network-logs to get valid requestId values.`,
|
|
153272
|
+
readOnly: true,
|
|
153257
153273
|
zodSchema: zodSchema39,
|
|
153258
153274
|
capability: DEBUGGER_TOOL_CAPABILITY,
|
|
153259
153275
|
services: (params) => {
|
|
@@ -153700,6 +153716,7 @@ since a TV UI has no tap coordinates. Move the highlight with \`tv-remote\` (up/
|
|
|
153700
153716
|
back/menu/home), then call describe again to confirm where focus landed.`,
|
|
153701
153717
|
alwaysLoad: true,
|
|
153702
153718
|
searchHint: "accessibility element tree ui hierarchy tap coordinates ios android chromium vega <flag:harmonyos>harmony harmonyos </flag:harmonyos>dom tv tvos apple tv android tv fire tv focus focusable remote dpad",
|
|
153719
|
+
readOnly: true,
|
|
153703
153720
|
zodSchema: zodSchema40,
|
|
153704
153721
|
capability: capability25,
|
|
153705
153722
|
services: (params) => {
|
|
@@ -154200,6 +154217,7 @@ Use when a program needs element ancestry, such as an e2e engine's scoped select
|
|
|
154200
154217
|
Returns { schemaVersion, roots, truncated, alertVisible, keyboardVisible, foregroundApp, unsupportedFields }.
|
|
154201
154218
|
Fails if the iOS ax-service predates the tree command; update argent.`,
|
|
154202
154219
|
hideFromMcp: true,
|
|
154220
|
+
readOnly: true,
|
|
154203
154221
|
zodSchema: zodSchema41,
|
|
154204
154222
|
capability: capability26,
|
|
154205
154223
|
services: () => ({}),
|
|
@@ -154270,6 +154288,7 @@ function createForegroundAppTool(registry2) {
|
|
|
154270
154288
|
Returns { bundleId, name, alertVisible }; under a system alert, bundleId is the app it covers.
|
|
154271
154289
|
A field is unset when it is unknown.`,
|
|
154272
154290
|
hideFromMcp: true,
|
|
154291
|
+
readOnly: true,
|
|
154273
154292
|
zodSchema: zodSchema42,
|
|
154274
154293
|
capability: capability27,
|
|
154275
154294
|
services: () => ({}),
|
|
@@ -154756,6 +154775,7 @@ panel settles instantly on its last frame, and taps land nowhere until it is wok
|
|
|
154756
154775
|
</flag:harmonyos>Use after a launch/navigation to wait for the UI to render before screenshotting or tapping.`,
|
|
154757
154776
|
searchHint: "wait until screen settles idle stable stops changing animation transition rendered ready before screenshot",
|
|
154758
154777
|
longRunning: true,
|
|
154778
|
+
readOnly: true,
|
|
154759
154779
|
zodSchema: zodSchema44,
|
|
154760
154780
|
capability: capability29,
|
|
154761
154781
|
services: (params) => {
|
|
@@ -155493,6 +155513,7 @@ function createReactProfilerStatusTool(registry2) {
|
|
|
155493
155513
|
failedMsg: ({ failureSignal: failureSignal2 }) => `Failed to check React profiler: ${failureSignal2.error_code}`
|
|
155494
155514
|
},
|
|
155495
155515
|
description: `Check the state of the React profiler session without side effects. Use after an interruption (debugger disconnect, unexpected error, agent pause) to decide whether to continue with react-profiler-stop, start a new session, or reconnect the debugger. Ownership is verified server-side against this tool-server's in-memory session, so no token-threading is required. Returns { session_status, is_running, current_owner, \u2026 }. If this tool-server process restarted after react-profiler-start, status will report 'taken_over'; use react-profiler-start { force: true } to reclaim.`,
|
|
155516
|
+
readOnly: true,
|
|
155496
155517
|
zodSchema: zodSchema47,
|
|
155497
155518
|
// RN-only: companion to react-profiler-start.
|
|
155498
155519
|
capability: RN_ONLY_TOOL_CAPABILITY,
|
|
@@ -157295,6 +157316,7 @@ var reactProfilerComponentSourceTool = {
|
|
|
157295
157316
|
Call this per-finding after react-profiler-analyze to inspect source before proposing a fix.
|
|
157296
157317
|
Returns found: false if the component is not found in user-owned code (e.g. lives in node_modules).
|
|
157297
157318
|
When several files define a component with the same name (e.g. platform variants like List.tsx and List.web.tsx), returns the primary match and lists the rest under otherMatches[] (file/line/col). Check it before assuming the returned file is the one you meant.`,
|
|
157319
|
+
readOnly: true,
|
|
157298
157320
|
zodSchema: zodSchema49,
|
|
157299
157321
|
// Declared so the tool catalogue groups this with the other react-profiler-*
|
|
157300
157322
|
// tools; the HTTP gate itself is a no-op here, as there is no device arg to
|
|
@@ -157433,6 +157455,7 @@ Use when you specifically need to investigate JS CPU hotspots that are NOT tied
|
|
|
157433
157455
|
Call react-profiler-stop first. Reads directly from the stored cpuProfile.
|
|
157434
157456
|
Returns a markdown table of the top hotspot functions with self-time, total-time, and location.
|
|
157435
157457
|
Fails if react-profiler-stop has not been called or no CPU profile is stored.`,
|
|
157458
|
+
readOnly: true,
|
|
157436
157459
|
zodSchema: zodSchema50,
|
|
157437
157460
|
// RN-only: reads a Hermes CPU profile; Chromium's V8 sample format differs.
|
|
157438
157461
|
capability: RN_ONLY_TOOL_CAPABILITY,
|
|
@@ -157547,6 +157570,7 @@ var reactProfilerRendersTool = {
|
|
|
157547
157570
|
Returns a markdown table of the top re-rendering components. No profiling session required; works on a live connected app.
|
|
157548
157571
|
Use when you want a quick snapshot of render counts without a full profiling session.
|
|
157549
157572
|
Fails if the React DevTools hook is not present in the runtime or the app is not connected.`,
|
|
157573
|
+
readOnly: true,
|
|
157550
157574
|
zodSchema: zodSchema51,
|
|
157551
157575
|
// RN-only: queries the React DevTools backend hook on the live runtime.
|
|
157552
157576
|
capability: RN_ONLY_TOOL_CAPABILITY,
|
|
@@ -157723,6 +157747,7 @@ var reactProfilerFiberTreeTool = {
|
|
|
157723
157747
|
Use when tracing ancestry of a library component or checking for useMemoCache hook (confirms React Compiler is active on a component).
|
|
157724
157748
|
Returns a nested JSON tree of fiber nodes with name, tag, actualDuration, selfBaseDuration, and children.
|
|
157725
157749
|
Fails if the React DevTools hook is not present or no fiber roots have been committed yet.`,
|
|
157750
|
+
readOnly: true,
|
|
157726
157751
|
zodSchema: zodSchema52,
|
|
157727
157752
|
// RN-only: walks the fiber tree via the React DevTools backend hook.
|
|
157728
157753
|
capability: RN_ONLY_TOOL_CAPABILITY,
|
|
@@ -163239,6 +163264,7 @@ Every table states how many samples it covers and how much of that was idle.
|
|
|
163239
163264
|
Use when investigating JS CPU hotspots or correlating CPU cost with specific components.
|
|
163240
163265
|
Returns a markdown table of CPU hotspots, call tree, or per-component CPU breakdown.
|
|
163241
163266
|
Fails if no CPU profile is stored; run react-profiler-stop first.`,
|
|
163267
|
+
readOnly: true,
|
|
163242
163268
|
zodSchema: zodSchema58,
|
|
163243
163269
|
// RN-only: reads Hermes-format CPU profiles; Chromium's V8 sample format differs.
|
|
163244
163270
|
capability: RN_ONLY_TOOL_CAPABILITY,
|
|
@@ -163598,6 +163624,7 @@ Modes:
|
|
|
163598
163624
|
Use when drilling into specific components or time windows after react-profiler-analyze.
|
|
163599
163625
|
Returns a markdown table or tree of commit data matching the requested mode.
|
|
163600
163626
|
Fails if react-profiler-stop has not been called or no commit data is stored.`,
|
|
163627
|
+
readOnly: true,
|
|
163601
163628
|
zodSchema: zodSchema59,
|
|
163602
163629
|
// Reads React commit data captured via the React DevTools backend.
|
|
163603
163630
|
capability: RN_ONLY_TOOL_CAPABILITY,
|
|
@@ -163987,6 +164014,7 @@ Modes:
|
|
|
163987
164014
|
Use when drilling into native hang stacks, thread CPU breakdown, or memory leaks after native-profiler-analyze.
|
|
163988
164015
|
Returns a markdown report with native call stacks, thread weights, or leak details for the selected mode.
|
|
163989
164016
|
Fails if native-profiler-analyze has not been run or no parsed trace data is in memory.`,
|
|
164017
|
+
readOnly: true,
|
|
163990
164018
|
zodSchema: zodSchema60,
|
|
163991
164019
|
// No chromium entry: it has no native trace capture.
|
|
163992
164020
|
capability: {
|
|
@@ -164074,6 +164102,7 @@ Requires both react-profiler-analyze and native-profiler-analyze to have been ca
|
|
|
164074
164102
|
Call this tool when both profilers were run in parallel on the same session.
|
|
164075
164103
|
Returns a markdown report correlating hangs with React commits, memory leaks, and investigation hints.
|
|
164076
164104
|
Fails if either react-profiler-analyze or native-profiler-analyze has not been called first.`,
|
|
164105
|
+
readOnly: true,
|
|
164077
164106
|
zodSchema: zodSchema61,
|
|
164078
164107
|
// iOS reads xctrace output; Android re-queries the Perfetto .pftrace via
|
|
164079
164108
|
// loadAndroidCombinedData. Chromium has no native trace capture.
|
|
@@ -176328,6 +176357,7 @@ Touches no device: nothing is launched, tapped, dispatched or torn down, and no
|
|
|
176328
176357
|
needs booting, so calling this costs nothing but a file read.
|
|
176329
176358
|
Fails if the e2e test file does not exist.
|
|
176330
176359
|
Address the e2e test exactly as you will address it in e2e-execute: name or flow_path, one and only one; supplying both or neither is rejected. The name goes in \`name\`, which resolves <project_root>/.argent/e2e/<name>.yaml, else .argent/flows/<name>.yaml.`,
|
|
176360
|
+
readOnly: true,
|
|
176331
176361
|
zodSchema: zodSchema72,
|
|
176332
176362
|
fileInputs: fileInputs5,
|
|
176333
176363
|
services: () => ({}),
|
|
@@ -176676,6 +176706,7 @@ exploration of anything the snapshot surfaces.
|
|
|
176676
176706
|
Use when you need to inspect project configuration without manually reading multiple files.
|
|
176677
176707
|
Returns partial data if workspacePath does not exist or is not readable; missing items are represented as null or empty collections.
|
|
176678
176708
|
Fails if the workspacePath is not an absolute path or the directory cannot be accessed.`,
|
|
176709
|
+
readOnly: true,
|
|
176679
176710
|
zodSchema: zodSchema73,
|
|
176680
176711
|
fileInputs: fileInputs6,
|
|
176681
176712
|
services: () => ({}),
|
package/package.json
CHANGED