@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.
Files changed (35) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/adapters/mobile/source-freshness.js +51 -14
  3. package/dist/adapters.js +5 -2
  4. package/dist/recipe-security.js +1 -0
  5. package/library/actions/core/perps/_controller.mjs +75 -23
  6. package/library/actions/core/perps/read_account.mjs +6 -12
  7. package/library/actions/core/perps/read_snapshot.mjs +66 -0
  8. package/library/actions/extension/performance/_navigation-memory.mjs +372 -0
  9. package/library/actions/extension/performance/compare_idle_navigation_memory.mjs +18 -0
  10. package/library/actions/extension/performance/measure_detached_dom.mjs +18 -0
  11. package/library/actions/extension/performance/measure_navigation_memory.mjs +18 -0
  12. package/library/actions/mobile/app/network-control.mjs +24 -12
  13. package/library/manifests/core.action-manifest.json +55 -0
  14. package/library/manifests/extension.action-manifest.json +100 -0
  15. package/library/recipes/core/perps/snapshot.recipe.json +25 -0
  16. package/library/recipes/extension/performance/navigation-memory.recipe.json +175 -0
  17. package/package.json +1 -1
  18. package/scripts/site-contrast.mjs +66 -10
  19. package/site/architecture.html +22 -16
  20. package/site/assets/progress.mjs +47 -2
  21. package/site/assets/style.css +181 -1
  22. package/site/cheatsheet.html +14 -12
  23. package/site/how-it-works.html +693 -0
  24. package/site/index.html +133 -643
  25. package/site/perps.html +7 -6
  26. package/site/recipes.html +23 -17
  27. package/site/reviewers.html +7 -6
  28. package/site/tutorials/index.html +7 -6
  29. package/site/tutorials/v1.html +12 -11
  30. package/site/tutorials/v2.html +7 -6
  31. package/site/tutorials/v3.html +15 -11
  32. package/site/tutorials/v4.html +6 -5
  33. package/site/tutorials/v5.html +6 -5
  34. package/site/tutorials/v6.html +6 -5
  35. package/site/tutorials/v7.html +6 -5
@@ -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">mm-harness</span>
17
+ <span class="brand-name">recipes</span>
18
18
  </a>
19
19
  <nav class="nav" aria-label="Main">
20
- <a href="index.html">Start Here</a>
21
- <a href="recipes.html">Recipes</a>
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">Reference</span>
34
+ <span class="eyebrow">Runner reference</span>
34
35
  <h1>Cheatsheet</h1>
35
36
  <p class="lede">
36
- <code>mm-harness &lt;command&gt; [target] [flags]</code> run it from inside any MetaMask checkout.
37
- The product is auto-detected; the positional target forces it; everything else is a flag on the
38
- same command. Filter by what you actually work on.
37
+ <code>mm-harness</code> is the runner; these are its commands.
38
+ <code>mm-harness &lt;command&gt; [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.33+</span>
43
+ <span>mm-harness 0.34+</span>
42
44
  <span>one bin, 21 commands</span>
43
- <span>--json on everything</span>
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 every command. This is the agent contract.</td></tr>
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 the MetaMask agentic coding workflow. Not official MetaMask product documentation.</p>
300
- <p>Verified against mm-harness 0.33+.</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