@deeeed/metamask-harness 0.34.2 → 0.34.4
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/CHANGELOG.md +22 -0
- package/dist/adapters/mobile/source-freshness.js +51 -14
- package/dist/adapters.js +5 -2
- package/dist/recipe-security.js +1 -0
- package/library/actions/core/perps/_controller.mjs +75 -23
- package/library/actions/core/perps/read_account.mjs +6 -12
- package/library/actions/core/perps/read_snapshot.mjs +66 -0
- package/library/actions/extension/performance/_navigation-memory.mjs +372 -0
- package/library/actions/extension/performance/compare_idle_navigation_memory.mjs +18 -0
- package/library/actions/extension/performance/measure_detached_dom.mjs +18 -0
- package/library/actions/extension/performance/measure_navigation_memory.mjs +18 -0
- package/library/actions/mobile/app/network-control.mjs +24 -12
- package/library/manifests/core.action-manifest.json +55 -0
- package/library/manifests/extension.action-manifest.json +100 -0
- package/library/recipes/core/perps/snapshot.recipe.json +25 -0
- package/library/recipes/extension/performance/navigation-memory.recipe.json +175 -0
- package/package.json +1 -1
- package/scripts/site-contrast.mjs +66 -10
- package/site/architecture.html +22 -16
- package/site/assets/progress.mjs +47 -2
- package/site/assets/style.css +181 -1
- package/site/cheatsheet.html +14 -12
- package/site/how-it-works.html +693 -0
- package/site/index.html +133 -643
- package/site/perps.html +7 -6
- package/site/recipes.html +23 -17
- package/site/reviewers.html +7 -6
- package/site/tutorials/index.html +7 -6
- package/site/tutorials/v1.html +12 -11
- package/site/tutorials/v2.html +7 -6
- package/site/tutorials/v3.html +15 -11
- package/site/tutorials/v4.html +6 -5
- package/site/tutorials/v5.html +6 -5
- package/site/tutorials/v6.html +6 -5
- package/site/tutorials/v7.html +6 -5
package/site/cheatsheet.html
CHANGED
|
@@ -14,11 +14,12 @@
|
|
|
14
14
|
<div class="wrap-wide topbar-inner">
|
|
15
15
|
<a class="brand" href="index.html">
|
|
16
16
|
<span class="brand-mark" aria-hidden="true"></span>
|
|
17
|
-
<span class="brand-name">
|
|
17
|
+
<span class="brand-name">recipes</span>
|
|
18
18
|
</a>
|
|
19
19
|
<nav class="nav" aria-label="Main">
|
|
20
|
-
<a href="index.html">
|
|
21
|
-
<a href="
|
|
20
|
+
<a class="nav-cta" href="index.html#prompt">Quick start</a>
|
|
21
|
+
<a href="how-it-works.html">How it works</a>
|
|
22
|
+
<a href="recipes.html">Recipe anatomy</a>
|
|
22
23
|
<a href="perps.html">Perps</a>
|
|
23
24
|
<a href="cheatsheet.html" aria-current="page">Cheatsheet</a>
|
|
24
25
|
<a href="architecture.html">Architecture</a>
|
|
@@ -30,17 +31,18 @@
|
|
|
30
31
|
|
|
31
32
|
<main>
|
|
32
33
|
<section class="wrap-wide hero" style="padding-bottom:1rem">
|
|
33
|
-
<span class="eyebrow">
|
|
34
|
+
<span class="eyebrow">Runner reference</span>
|
|
34
35
|
<h1>Cheatsheet</h1>
|
|
35
36
|
<p class="lede">
|
|
36
|
-
<code>mm-harness
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
<code>mm-harness</code> is the runner; these are its commands.
|
|
38
|
+
<code>mm-harness <command> [target] [flags]</code>, from inside any MetaMask checkout. The
|
|
39
|
+
product is auto-detected; the positional target forces it; everything else is a flag on the same
|
|
40
|
+
command. Filter by what you actually work on.
|
|
39
41
|
</p>
|
|
40
42
|
<div class="hero-meta">
|
|
41
|
-
<span>mm-harness 0.
|
|
43
|
+
<span>mm-harness 0.34+</span>
|
|
42
44
|
<span>one bin, 21 commands</span>
|
|
43
|
-
<span>--json on
|
|
45
|
+
<span>--json on most commands</span>
|
|
44
46
|
</div>
|
|
45
47
|
</section>
|
|
46
48
|
|
|
@@ -230,7 +232,7 @@
|
|
|
230
232
|
<table>
|
|
231
233
|
<thead><tr><th>Flag / concept</th><th>What it does</th></tr></thead>
|
|
232
234
|
<tbody>
|
|
233
|
-
<tr data-platforms="all"><td><code>--json</code></td><td>Machine-readable output on
|
|
235
|
+
<tr data-platforms="all"><td><code>--json</code></td><td>Machine-readable output on most commands. This is the agent contract.</td></tr>
|
|
234
236
|
<tr data-platforms="all"><td><code>--json-stream</code></td><td>Line-flushed JSONL progress plus a terminal event, on <code>run</code> and <code>launch</code>.</td></tr>
|
|
235
237
|
<tr data-platforms="all"><td><code>--heal off</code></td><td>Fail fast, preserve the repro. Nothing is repaired under you.</td></tr>
|
|
236
238
|
<tr data-platforms="all"><td><code>--heal infra-only</code></td><td>Heal transport, never wallet state. Default for <code>run</code> and <code>call</code>.</td></tr>
|
|
@@ -296,8 +298,8 @@
|
|
|
296
298
|
|
|
297
299
|
<footer class="footer">
|
|
298
300
|
<div class="wrap-wide">
|
|
299
|
-
<p>Internal getting-started guide for
|
|
300
|
-
<p>
|
|
301
|
+
<p>Internal getting-started guide for proving MetaMask changes with recipes. Not official MetaMask product documentation.</p>
|
|
302
|
+
<p>Sample output moves between releases; trust your terminal over this page.</p>
|
|
301
303
|
</div>
|
|
302
304
|
</footer>
|
|
303
305
|
|