browser-tools 0.8.0__tar.gz → 0.9.0__tar.gz

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 (225) hide show
  1. {browser_tools-0.8.0 → browser_tools-0.9.0}/.gitignore +5 -0
  2. {browser_tools-0.8.0 → browser_tools-0.9.0}/PKG-INFO +91 -16
  3. {browser_tools-0.8.0 → browser_tools-0.9.0}/README.md +90 -15
  4. {browser_tools-0.8.0 → browser_tools-0.9.0}/pyproject.toml +21 -3
  5. browser_tools-0.9.0/src/browser_tools/GUIDE.txt +1213 -0
  6. browser_tools-0.9.0/src/browser_tools/_insights/adapter.mjs +129 -0
  7. browser_tools-0.9.0/src/browser_tools/_insights/formatter_compat.js +31 -0
  8. browser_tools-0.9.0/src/browser_tools/_insights/package-lock.json +37 -0
  9. browser_tools-0.9.0/src/browser_tools/_insights/package.json +9 -0
  10. browser_tools-0.9.0/src/browser_tools/_insights/vendor/LICENSE +27 -0
  11. browser_tools-0.9.0/src/browser_tools/_insights/vendor/NetworkRequestFormatter.js +149 -0
  12. browser_tools-0.9.0/src/browser_tools/_insights/vendor/PerformanceInsightFormatter.js +1165 -0
  13. browser_tools-0.9.0/src/browser_tools/_insights/vendor/PerformanceTraceFormatter.js +277 -0
  14. browser_tools-0.9.0/src/browser_tools/_insights/vendor/README.md +24 -0
  15. browser_tools-0.9.0/src/browser_tools/_insights/vendor/UnitFormatters.js +162 -0
  16. browser_tools-0.9.0/src/browser_tools/captures.py +385 -0
  17. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/cdp_handler.py +165 -14
  18. browser_tools-0.9.0/src/browser_tools/chrome_discovery.py +345 -0
  19. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/cli.py +342 -9
  20. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/curated.py +275 -41
  21. browser_tools-0.9.0/src/browser_tools/curated_runtime.py +437 -0
  22. browser_tools-0.9.0/src/browser_tools/devtools_http.py +85 -0
  23. browser_tools-0.9.0/src/browser_tools/dialog_policy.py +119 -0
  24. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/endpoint.py +95 -28
  25. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/events.py +8 -6
  26. browser_tools-0.9.0/src/browser_tools/external_connection.py +214 -0
  27. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/frame_sessions.py +5 -0
  28. browser_tools-0.9.0/src/browser_tools/insights.py +282 -0
  29. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/lifecycle.py +242 -92
  30. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/list_verbs.py +5 -4
  31. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/native_interaction.py +11 -0
  32. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/one_shot.py +113 -37
  33. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/passthrough.py +138 -9
  34. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/step_list.py +27 -7
  35. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/step_run.py +13 -4
  36. browser_tools-0.9.0/tests/conftest.py +198 -0
  37. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/doubles.py +9 -0
  38. browser_tools-0.9.0/tests/fixtures/insights/README.md +46 -0
  39. browser_tools-0.9.0/tests/fixtures/insights/driven.json +625 -0
  40. browser_tools-0.9.0/tests/fixtures/insights/error-page.json +1770 -0
  41. browser_tools-0.9.0/tests/fixtures/insights/fixture.html +16 -0
  42. browser_tools-0.9.0/tests/fixtures/insights/http-navigation.json +4043 -0
  43. browser_tools-0.9.0/tests/fixtures/insights/load-only.json +168 -0
  44. browser_tools-0.9.0/tests/fixtures/insights/narrow-categories.json +128 -0
  45. browser_tools-0.9.0/tests/fixtures/insights/nav-click.json +2145 -0
  46. browser_tools-0.9.0/tests/fixtures/insights/nav.json +1326 -0
  47. browser_tools-0.9.0/tests/fixtures/insights/steps-nav.txt +2 -0
  48. browser_tools-0.9.0/tests/fixtures/insights/steps-navclick.txt +5 -0
  49. browser_tools-0.9.0/tests/fixtures/insights/two-navigations.json +2508 -0
  50. browser_tools-0.9.0/tests/fixtures/insights/uncommitted-navigation.json +468 -0
  51. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/conftest.py +34 -0
  52. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/live_chromium.py +37 -6
  53. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/parity_engines.py +7 -3
  54. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/test_camoufox_live_launch.py +24 -5
  55. browser_tools-0.9.0/tests/parity/test_capture_browser_safety.py +61 -0
  56. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/test_e2e_camoufox.py +23 -7
  57. browser_tools-0.9.0/tests/parity/test_live_chromium_never_falls_back.py +96 -0
  58. browser_tools-0.9.0/tests/test_captures.py +392 -0
  59. browser_tools-0.9.0/tests/test_chrome_attach.py +1047 -0
  60. browser_tools-0.9.0/tests/test_chrome_binary_override.py +118 -0
  61. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_cli_grammar.py +48 -0
  62. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_cli_lifecycle.py +122 -2
  63. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_cli_surface.py +11 -0
  64. browser_tools-0.9.0/tests/test_curated_verbs.py +1484 -0
  65. browser_tools-0.9.0/tests/test_dialog_policy.py +455 -0
  66. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_endpoint.py +31 -10
  67. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_events.py +2 -2
  68. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_guide.py +266 -2
  69. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_handler_transport.py +27 -1
  70. browser_tools-0.9.0/tests/test_insights.py +452 -0
  71. browser_tools-0.9.0/tests/test_insights_live.py +187 -0
  72. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_list_verbs.py +3 -3
  73. browser_tools-0.9.0/tests/test_network_run.py +129 -0
  74. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_one_shot.py +6 -4
  75. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_packaging.py +7 -4
  76. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_passthrough.py +5 -5
  77. browser_tools-0.9.0/tests/test_production_port_allocation.py +161 -0
  78. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_profiler.py +1 -1
  79. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_session_hygiene.py +43 -47
  80. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_shared_session.py +17 -8
  81. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_step_dispatch.py +121 -0
  82. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_step_list.py +20 -3
  83. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_step_run.py +27 -3
  84. browser_tools-0.9.0/tests/test_suite_port_allocation.py +39 -0
  85. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_supervisor_document_liveness.py +46 -4
  86. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_window_marking.py +1 -1
  87. browser_tools-0.8.0/src/browser_tools/GUIDE.txt +0 -689
  88. browser_tools-0.8.0/tests/conftest.py +0 -41
  89. browser_tools-0.8.0/tests/test_curated_verbs.py +0 -684
  90. {browser_tools-0.8.0 → browser_tools-0.9.0}/LICENSE +0 -0
  91. {browser_tools-0.8.0 → browser_tools-0.9.0}/NOTICE +0 -0
  92. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/__init__.py +0 -0
  93. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/attached_session.py +0 -0
  94. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/camoufox_runner.py +0 -0
  95. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/cdp_client.py +0 -0
  96. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/cdp_constants.py +0 -0
  97. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/__init__.py +0 -0
  98. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/attach.py +0 -0
  99. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/cdp_client.py +0 -0
  100. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/connection.py +0 -0
  101. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/__init__.py +0 -0
  102. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/accessibility.py +0 -0
  103. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/animation.py +0 -0
  104. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/audits.py +0 -0
  105. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/autofill.py +0 -0
  106. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/background_service.py +0 -0
  107. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/bluetooth_emulation.py +0 -0
  108. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/browser.py +0 -0
  109. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/cache_storage.py +0 -0
  110. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/cast.py +0 -0
  111. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/console.py +0 -0
  112. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/css.py +0 -0
  113. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/debugger.py +0 -0
  114. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/device_access.py +0 -0
  115. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/device_orientation.py +0 -0
  116. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/dom.py +0 -0
  117. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/dom_debugger.py +0 -0
  118. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/dom_snapshot.py +0 -0
  119. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/dom_storage.py +0 -0
  120. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/emulation.py +0 -0
  121. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/event_breakpoints.py +0 -0
  122. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/extensions.py +0 -0
  123. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/fed_cm.py +0 -0
  124. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/fetch.py +0 -0
  125. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/file_system.py +0 -0
  126. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/headless_experimental.py +0 -0
  127. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/heap_profiler.py +0 -0
  128. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/indexed_db.py +0 -0
  129. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/input.py +0 -0
  130. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/inspector.py +0 -0
  131. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/io.py +0 -0
  132. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/layer_tree.py +0 -0
  133. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/log.py +0 -0
  134. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/media.py +0 -0
  135. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/memory.py +0 -0
  136. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/network.py +0 -0
  137. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/overlay.py +0 -0
  138. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/page.py +0 -0
  139. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/performance.py +0 -0
  140. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/performance_timeline.py +0 -0
  141. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/preload.py +0 -0
  142. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/profiler.py +0 -0
  143. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/pwa.py +0 -0
  144. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/runtime.py +0 -0
  145. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/schema.py +0 -0
  146. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/security.py +0 -0
  147. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/service_worker.py +0 -0
  148. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/smart_card_emulation.py +0 -0
  149. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/storage.py +0 -0
  150. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/system_info.py +0 -0
  151. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/target.py +0 -0
  152. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/tethering.py +0 -0
  153. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/tracing.py +0 -0
  154. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/web_audio.py +0 -0
  155. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/domains/web_authn.py +0 -0
  156. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/errors.py +0 -0
  157. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/fingerprint.py +0 -0
  158. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/instance_status.py +0 -0
  159. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/launcher.py +0 -0
  160. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/protocol.py +0 -0
  161. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/registry.py +0 -0
  162. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/supervisor.py +0 -0
  163. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/core/utils.py +0 -0
  164. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/detect_interstitial.js +0 -0
  165. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/extras.py +0 -0
  166. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/frame_manager.py +0 -0
  167. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/interstitial.py +0 -0
  168. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/mcp_response.py +0 -0
  169. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/native_snapshot.py +0 -0
  170. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/process_utils.py +0 -0
  171. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/profiler.py +0 -0
  172. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/screencast.py +0 -0
  173. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/screenshot_utils.py +0 -0
  174. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/tool_registry.py +0 -0
  175. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/usage.py +0 -0
  176. {browser_tools-0.8.0 → browser_tools-0.9.0}/src/browser_tools/user_settings.py +0 -0
  177. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/CORPUS.md +0 -0
  178. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/camoufox_session.py +0 -0
  179. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/fixtures/dynamic.html +0 -0
  180. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/fixtures/form.html +0 -0
  181. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/fixtures/iframe.html +0 -0
  182. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/fixtures/iframe_child.html +0 -0
  183. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/fixtures/plain.html +0 -0
  184. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/fixtures/shadow.html +0 -0
  185. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/node_broker.py +0 -0
  186. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/parity_comparison.py +0 -0
  187. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/parity_corpus.py +0 -0
  188. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/run_baseline.py +0 -0
  189. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/test_camoufox_session.py +0 -0
  190. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/test_node_broker.py +0 -0
  191. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/test_parity_baseline.py +0 -0
  192. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/test_parity_corpus.py +0 -0
  193. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/test_parity_engine.py +0 -0
  194. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/test_parity_gate.py +0 -0
  195. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/test_parity_native.py +0 -0
  196. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/test_parity_native_interaction.py +0 -0
  197. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/parity/test_parity_operator.py +0 -0
  198. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_async_discovery.py +0 -0
  199. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_attached_session.py +0 -0
  200. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_cdp_client.py +0 -0
  201. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_core_launcher.py +0 -0
  202. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_core_send_timeout.py +0 -0
  203. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_cross_frame_snapshot.py +0 -0
  204. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_cross_origin_frames.py +0 -0
  205. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_detached_tasks.py +0 -0
  206. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_diagnostics_name_real_verbs.py +0 -0
  207. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_error_prefix.py +0 -0
  208. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_frame_manager.py +0 -0
  209. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_frame_routing.py +0 -0
  210. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_frame_session_discovery.py +0 -0
  211. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_interaction_targeting.py +0 -0
  212. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_interstitial.py +0 -0
  213. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_native_backend.py +0 -0
  214. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_native_interaction.py +0 -0
  215. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_native_snapshot.py +0 -0
  216. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_new_tools.py +0 -0
  217. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_profile_liveness.py +0 -0
  218. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_profile_path_hardening.py +0 -0
  219. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_profile_root_move.py +0 -0
  220. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_profile_verbs.py +0 -0
  221. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_retained_contracts.py +0 -0
  222. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_stop_target.py +0 -0
  223. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_supervisor_never_pauses.py +0 -0
  224. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_supervisor_profile_preservation.py +0 -0
  225. {browser_tools-0.8.0 → browser_tools-0.9.0}/tests/test_supervisor_visibility.py +0 -0
@@ -33,3 +33,8 @@ Thumbs.db
33
33
 
34
34
  # Task scratch: ledgers, briefs, delegation reports, repro scripts.
35
35
  .scratch/
36
+
37
+ # Optional trace analysis runtime, installed by bt insights --setup.
38
+ node_modules/
39
+ src/browser_tools/_insights/.installed*
40
+ src/browser_tools/_insights/.setup.lock
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: browser-tools
3
- Version: 0.8.0
3
+ Version: 0.9.0
4
4
  Summary: Browser automation, debugging, and anti-detect browsing CLI
5
5
  Project-URL: Homepage, https://github.com/dungle-scrubs/browser-tools
6
6
  Project-URL: Repository, https://github.com/dungle-scrubs/browser-tools
@@ -51,10 +51,17 @@ Browser automation, debugging, and anti-detect browsing CLI. Provides:
51
51
  browser, with protocol help read live from it
52
52
  - **Snapshot-based page automation** - Accessibility-tree snapshots and UID
53
53
  interaction (`snapshot`, `click --uid`, `fill --uid`), in Python over CDP
54
+ - **Curated verbs for the common path** - `eval`, `press`, `hover`, `type`,
55
+ `wait-text` and `network-get` beside those three: the interactions whose
56
+ raw CDP form is JavaScript or prose quoted inside JSON inside a shell line
57
+ - **One answer for every dialog** - `--dialog` fixes the reply to every
58
+ JavaScript dialog before the invocation starts, and every dialog it
59
+ answered is reported back under `dialogs`
54
60
  - **Named browser instances** - Long-lived Chrome with a registry and named
55
61
  profiles that keep a login across restarts
56
- - **External browsers** - `--endpoint http://127.0.0.1:9222` drives a browser
57
- you already have open and logged in, writing nothing to the registry
62
+ - **External browsers** - `--endpoint` and `--chrome-profile` drive a Chrome
63
+ you started for debugging on a data directory of its own, writing nothing
64
+ to the registry
58
65
  - **Frame-aware tools** - Iframe/CDP frame tree management, execution context
59
66
  resolution, and storage inspection
60
67
  - **Interstitial detection** - Multi-signal heuristic detection for Cloudflare,
@@ -64,6 +71,9 @@ Browser automation, debugging, and anti-detect browsing CLI. Provides:
64
71
  - **Anything else CDP can do** - File upload, viewport emulation, cookies,
65
72
  PDF export and page management have no curated verb and need none; `bt
66
73
  guide` has a worked example of each
74
+ - **Performance captures** - `trace` writes Chrome trace JSON and can drive
75
+ the interaction it is capturing; `heap` writes a `.heapsnapshot`; `insights`
76
+ reads a trace back as English, behind the optional runtime below
67
77
  - **CPU profiling** - `browser-tools-profiler`, a second command installed
68
78
  alongside `bt`, with timed capture and threshold-triggered capture
69
79
 
@@ -107,26 +117,65 @@ Omit `INSTANCE` while exactly one instance is running; with several, every verb
107
117
  names the candidates rather than guessing. `bt help Domain.method` reads the
108
118
  protocol schema from the running browser.
109
119
 
120
+ `bt launch` derives an instance name from the current directory and prints the
121
+ chosen name in its JSON result. Repeated unnamed launches from one directory
122
+ succeed with the first free two-digit suffix, such as `browser-tools-01`,
123
+ `browser-tools-02`, then `browser-tools-03`. There is no caller-chosen name, so
124
+ use the printed value as the handle for later commands.
125
+
110
126
  **`bt guide` is the manual.** It is the complete CLI surface -- every verb,
111
- every refusal with its exit code, the login walkthrough, the UID rule, and the
112
- `--endpoint` rules -- and reading it is enough to drive a browser with this
113
- tool. A test fails the build when a verb has no entry in it.
127
+ every refusal with its exit code, the login walkthrough, the UID rule, the
128
+ performance captures and the `--endpoint` rules -- and reading it is enough to
129
+ drive a browser with this tool. A test fails the build when a verb has no entry
130
+ in it.
131
+
132
+ To drive a Chrome you started yourself, pass its endpoint or its data directory
133
+ instead of an instance name. It has to be a Chrome started for debugging on a
134
+ directory of its own. The browser you already have open will not do: measured
135
+ on Chrome 153, it refuses remote debugging on its default data directory,
136
+ writes no port file, and starts no endpoint.
137
+
138
+ ```
139
+ DevTools remote debugging requires a non-default data directory. Specify this
140
+ using --user-data-dir.
141
+ ```
114
142
 
115
- To drive a browser you started yourself, pass its debugging port instead of an
116
- instance name:
143
+ So start one:
117
144
 
118
145
  ```bash
119
- # Chrome started with --remote-debugging-port=9222, already logged in.
120
- bt snapshot --endpoint http://127.0.0.1:9222
121
- bt click --uid 0BDAEF756714-14 --endpoint http://127.0.0.1:9222
146
+ "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \
147
+ --user-data-dir="$HOME/.local/share/bt-debug-profile" \
148
+ --remote-debugging-port=0
149
+ ```
150
+
151
+ `--remote-debugging-port=0` asks Chrome for a free port and records it in that
152
+ directory's `DevToolsActivePort` file. Log in by hand in that window, then
153
+ reach it by the directory or by the endpoint:
154
+
155
+ ```bash
156
+ bt snapshot --chrome-profile ~/.local/share/bt-debug-profile
157
+ bt click --uid 0BDAEF756714-14 --chrome-profile ~/.local/share/bt-debug-profile
158
+ bt snapshot --endpoint http://127.0.0.1:PORT
159
+ bt snapshot --endpoint ws://127.0.0.1:PORT/devtools/browser/ID
122
160
  ```
123
161
 
124
162
  Nothing is written to the registry, so `status` does not list it and `stop` and
125
- `cleanup` cannot reach it -- which is what keeps them away from your real Chrome
163
+ `cleanup` cannot reach it -- which is what keeps them away from your own Chrome
126
164
  profile directory. Only `127.0.0.1` and `::1` are accepted; forward a remote
127
- browser with `ssh -L 9222:127.0.0.1:9222 <host>`. `Browser.close` and
165
+ browser with `ssh -L 9787:127.0.0.1:9787 <host>`. Do not use 9222 for any of
166
+ this: it is the DevTools default port, so on a machine someone is working on,
167
+ whatever answers there is most likely their own browser. `Browser.close` and
128
168
  `Browser.crash` are refused over `--endpoint`.
129
169
 
170
+ Measured on this machine's Chrome 153 with the person at the keyboard: a Chrome
171
+ started on its own data directory with --remote-debugging-port needs no Allow
172
+ click and shows no automation banner, so no person needs to be present for the
173
+ working shape. The per-connection Allow flow belongs to the chrome://inspect
174
+ remote-debugging toggle, which Chrome 153 refuses on the default data
175
+ directory - the everyday browser cannot be attached to at all. The manual's
176
+ EXTERNAL BROWSERS section carries the refusals, the timeouts, and what a
177
+ timeout does and does not prove.
178
+
130
179
  ### Development setup
131
180
 
132
181
  ```bash
@@ -144,8 +193,15 @@ Runtime requirements:
144
193
  - **Camoufox** (`camoufox fetch`) for anti-detect Firefox workflows, with the
145
194
  `camoufox` extra
146
195
 
147
- The default install depends on `websockets` only. There is no Node.js
148
- dependency: the Node `chrome-devtools-mcp` path was removed in RFC-01.
196
+ The default install depends on `websockets` only, and `pip install
197
+ browser-tools` brings no Node.js with it.
198
+
199
+ One opt-in adds a Node runtime, and nothing else does. `bt insights --setup`
200
+ installs the pinned trace engine from a committed lockfile into the installed
201
+ package, so `bt insights` can read a trace back as English. It needs Node.js
202
+ 22+ and npm on PATH, runs only `npm ci --omit=dev --ignore-scripts`, and is
203
+ never run for you. Skip it and the rest of the tool is unaffected; `bt
204
+ insights` is then exit 2 and names the command.
149
205
 
150
206
  ## Architecture
151
207
 
@@ -170,11 +226,27 @@ cli.py CLI entry point (argparse, verb dispatch, exit code
170
226
  | +-- process_utils.py Chrome process and port utilities
171
227
  |
172
228
  +-- endpoint.py `--endpoint URL`: loopback check, refusals
229
+ | +-- chrome_discovery.py `--chrome-profile DIR`: read DevToolsActivePort
230
+ | +-- external_connection.py Bounded external connections, approval handshake
231
+ | +-- devtools_http.py DevTools HTTP reads, to the validated address only
232
+ |
173
233
  +-- passthrough.py Raw `Domain.method` send + the focus guard
174
234
  +-- curated.py The curated verbs over one short-lived CDP handler
235
+ | +-- curated_runtime.py eval / press / hover / type / wait-text / network-get
236
+ | +-- dialog_policy.py The invocation's fixed answer to every dialog
237
+ |
238
+ +-- captures.py Bounded captures: `trace` and `heap`
239
+ +-- insights.py `insights --setup` and offline trace analysis
240
+ +-- extras.py Optional-dependency gating
241
+ +-- step_run.py A Step Run: one invocation, one session, many steps
242
+ | +-- step_list.py Read a Step List; refuse a bad one before step 1
243
+ |
175
244
  +-- one_shot.py Connect, resolve a page target, attach, detach
245
+ | +-- attached_session.py The handler's client over an attached session
246
+ |
176
247
  +-- events.py attach / wait / console-list / network-list
177
248
  +-- list_verbs.py frames / storage
249
+ +-- usage.py The one exception that means exit 2
178
250
  +-- user_settings.py The persistent settings file (window border)
179
251
  |
180
252
  +-- core/ Vendored chrome-agent core (RFC-01; see NOTICE)
@@ -190,6 +262,7 @@ cli.py CLI entry point (argparse, verb dispatch, exit code
190
262
  | +-- native_snapshot.py Accessibility-tree snapshot and UID scheme
191
263
  | +-- native_interaction.py UID click / fill
192
264
  | +-- frame_manager.py Frame tree management
265
+ | +-- frame_sessions.py One session per out-of-process frame
193
266
  | +-- interstitial.py Challenge detection and the retry policy
194
267
  | +-- screencast.py Screencast capture state machine
195
268
  | +-- screenshot_utils.py Blank-frame detection
@@ -213,7 +286,9 @@ same directory is reused. To keep a session logged in:
213
286
  which directory you invoke from.
214
287
  - A profile is held by at most one live instance. Launching into a profile
215
288
  another instance holds fails naming the holder rather than opening a second
216
- browser on the same directory.
289
+ browser on the same profile directory. This is profile exclusivity, not a
290
+ limit on launches from one working directory: repeated unnamed launches from
291
+ one working directory succeed with numbered instance-name suffixes.
217
292
  - Without `--profile`, a launch gets a fresh ephemeral directory and starts
218
293
  logged out.
219
294
  - `bt profile list` shows every profile with its path and its live holder, and
@@ -11,10 +11,17 @@ Browser automation, debugging, and anti-detect browsing CLI. Provides:
11
11
  browser, with protocol help read live from it
12
12
  - **Snapshot-based page automation** - Accessibility-tree snapshots and UID
13
13
  interaction (`snapshot`, `click --uid`, `fill --uid`), in Python over CDP
14
+ - **Curated verbs for the common path** - `eval`, `press`, `hover`, `type`,
15
+ `wait-text` and `network-get` beside those three: the interactions whose
16
+ raw CDP form is JavaScript or prose quoted inside JSON inside a shell line
17
+ - **One answer for every dialog** - `--dialog` fixes the reply to every
18
+ JavaScript dialog before the invocation starts, and every dialog it
19
+ answered is reported back under `dialogs`
14
20
  - **Named browser instances** - Long-lived Chrome with a registry and named
15
21
  profiles that keep a login across restarts
16
- - **External browsers** - `--endpoint http://127.0.0.1:9222` drives a browser
17
- you already have open and logged in, writing nothing to the registry
22
+ - **External browsers** - `--endpoint` and `--chrome-profile` drive a Chrome
23
+ you started for debugging on a data directory of its own, writing nothing
24
+ to the registry
18
25
  - **Frame-aware tools** - Iframe/CDP frame tree management, execution context
19
26
  resolution, and storage inspection
20
27
  - **Interstitial detection** - Multi-signal heuristic detection for Cloudflare,
@@ -24,6 +31,9 @@ Browser automation, debugging, and anti-detect browsing CLI. Provides:
24
31
  - **Anything else CDP can do** - File upload, viewport emulation, cookies,
25
32
  PDF export and page management have no curated verb and need none; `bt
26
33
  guide` has a worked example of each
34
+ - **Performance captures** - `trace` writes Chrome trace JSON and can drive
35
+ the interaction it is capturing; `heap` writes a `.heapsnapshot`; `insights`
36
+ reads a trace back as English, behind the optional runtime below
27
37
  - **CPU profiling** - `browser-tools-profiler`, a second command installed
28
38
  alongside `bt`, with timed capture and threshold-triggered capture
29
39
 
@@ -67,26 +77,65 @@ Omit `INSTANCE` while exactly one instance is running; with several, every verb
67
77
  names the candidates rather than guessing. `bt help Domain.method` reads the
68
78
  protocol schema from the running browser.
69
79
 
80
+ `bt launch` derives an instance name from the current directory and prints the
81
+ chosen name in its JSON result. Repeated unnamed launches from one directory
82
+ succeed with the first free two-digit suffix, such as `browser-tools-01`,
83
+ `browser-tools-02`, then `browser-tools-03`. There is no caller-chosen name, so
84
+ use the printed value as the handle for later commands.
85
+
70
86
  **`bt guide` is the manual.** It is the complete CLI surface -- every verb,
71
- every refusal with its exit code, the login walkthrough, the UID rule, and the
72
- `--endpoint` rules -- and reading it is enough to drive a browser with this
73
- tool. A test fails the build when a verb has no entry in it.
87
+ every refusal with its exit code, the login walkthrough, the UID rule, the
88
+ performance captures and the `--endpoint` rules -- and reading it is enough to
89
+ drive a browser with this tool. A test fails the build when a verb has no entry
90
+ in it.
91
+
92
+ To drive a Chrome you started yourself, pass its endpoint or its data directory
93
+ instead of an instance name. It has to be a Chrome started for debugging on a
94
+ directory of its own. The browser you already have open will not do: measured
95
+ on Chrome 153, it refuses remote debugging on its default data directory,
96
+ writes no port file, and starts no endpoint.
97
+
98
+ ```
99
+ DevTools remote debugging requires a non-default data directory. Specify this
100
+ using --user-data-dir.
101
+ ```
74
102
 
75
- To drive a browser you started yourself, pass its debugging port instead of an
76
- instance name:
103
+ So start one:
77
104
 
78
105
  ```bash
79
- # Chrome started with --remote-debugging-port=9222, already logged in.
80
- bt snapshot --endpoint http://127.0.0.1:9222
81
- bt click --uid 0BDAEF756714-14 --endpoint http://127.0.0.1:9222
106
+ "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \
107
+ --user-data-dir="$HOME/.local/share/bt-debug-profile" \
108
+ --remote-debugging-port=0
109
+ ```
110
+
111
+ `--remote-debugging-port=0` asks Chrome for a free port and records it in that
112
+ directory's `DevToolsActivePort` file. Log in by hand in that window, then
113
+ reach it by the directory or by the endpoint:
114
+
115
+ ```bash
116
+ bt snapshot --chrome-profile ~/.local/share/bt-debug-profile
117
+ bt click --uid 0BDAEF756714-14 --chrome-profile ~/.local/share/bt-debug-profile
118
+ bt snapshot --endpoint http://127.0.0.1:PORT
119
+ bt snapshot --endpoint ws://127.0.0.1:PORT/devtools/browser/ID
82
120
  ```
83
121
 
84
122
  Nothing is written to the registry, so `status` does not list it and `stop` and
85
- `cleanup` cannot reach it -- which is what keeps them away from your real Chrome
123
+ `cleanup` cannot reach it -- which is what keeps them away from your own Chrome
86
124
  profile directory. Only `127.0.0.1` and `::1` are accepted; forward a remote
87
- browser with `ssh -L 9222:127.0.0.1:9222 <host>`. `Browser.close` and
125
+ browser with `ssh -L 9787:127.0.0.1:9787 <host>`. Do not use 9222 for any of
126
+ this: it is the DevTools default port, so on a machine someone is working on,
127
+ whatever answers there is most likely their own browser. `Browser.close` and
88
128
  `Browser.crash` are refused over `--endpoint`.
89
129
 
130
+ Measured on this machine's Chrome 153 with the person at the keyboard: a Chrome
131
+ started on its own data directory with --remote-debugging-port needs no Allow
132
+ click and shows no automation banner, so no person needs to be present for the
133
+ working shape. The per-connection Allow flow belongs to the chrome://inspect
134
+ remote-debugging toggle, which Chrome 153 refuses on the default data
135
+ directory - the everyday browser cannot be attached to at all. The manual's
136
+ EXTERNAL BROWSERS section carries the refusals, the timeouts, and what a
137
+ timeout does and does not prove.
138
+
90
139
  ### Development setup
91
140
 
92
141
  ```bash
@@ -104,8 +153,15 @@ Runtime requirements:
104
153
  - **Camoufox** (`camoufox fetch`) for anti-detect Firefox workflows, with the
105
154
  `camoufox` extra
106
155
 
107
- The default install depends on `websockets` only. There is no Node.js
108
- dependency: the Node `chrome-devtools-mcp` path was removed in RFC-01.
156
+ The default install depends on `websockets` only, and `pip install
157
+ browser-tools` brings no Node.js with it.
158
+
159
+ One opt-in adds a Node runtime, and nothing else does. `bt insights --setup`
160
+ installs the pinned trace engine from a committed lockfile into the installed
161
+ package, so `bt insights` can read a trace back as English. It needs Node.js
162
+ 22+ and npm on PATH, runs only `npm ci --omit=dev --ignore-scripts`, and is
163
+ never run for you. Skip it and the rest of the tool is unaffected; `bt
164
+ insights` is then exit 2 and names the command.
109
165
 
110
166
  ## Architecture
111
167
 
@@ -130,11 +186,27 @@ cli.py CLI entry point (argparse, verb dispatch, exit code
130
186
  | +-- process_utils.py Chrome process and port utilities
131
187
  |
132
188
  +-- endpoint.py `--endpoint URL`: loopback check, refusals
189
+ | +-- chrome_discovery.py `--chrome-profile DIR`: read DevToolsActivePort
190
+ | +-- external_connection.py Bounded external connections, approval handshake
191
+ | +-- devtools_http.py DevTools HTTP reads, to the validated address only
192
+ |
133
193
  +-- passthrough.py Raw `Domain.method` send + the focus guard
134
194
  +-- curated.py The curated verbs over one short-lived CDP handler
195
+ | +-- curated_runtime.py eval / press / hover / type / wait-text / network-get
196
+ | +-- dialog_policy.py The invocation's fixed answer to every dialog
197
+ |
198
+ +-- captures.py Bounded captures: `trace` and `heap`
199
+ +-- insights.py `insights --setup` and offline trace analysis
200
+ +-- extras.py Optional-dependency gating
201
+ +-- step_run.py A Step Run: one invocation, one session, many steps
202
+ | +-- step_list.py Read a Step List; refuse a bad one before step 1
203
+ |
135
204
  +-- one_shot.py Connect, resolve a page target, attach, detach
205
+ | +-- attached_session.py The handler's client over an attached session
206
+ |
136
207
  +-- events.py attach / wait / console-list / network-list
137
208
  +-- list_verbs.py frames / storage
209
+ +-- usage.py The one exception that means exit 2
138
210
  +-- user_settings.py The persistent settings file (window border)
139
211
  |
140
212
  +-- core/ Vendored chrome-agent core (RFC-01; see NOTICE)
@@ -150,6 +222,7 @@ cli.py CLI entry point (argparse, verb dispatch, exit code
150
222
  | +-- native_snapshot.py Accessibility-tree snapshot and UID scheme
151
223
  | +-- native_interaction.py UID click / fill
152
224
  | +-- frame_manager.py Frame tree management
225
+ | +-- frame_sessions.py One session per out-of-process frame
153
226
  | +-- interstitial.py Challenge detection and the retry policy
154
227
  | +-- screencast.py Screencast capture state machine
155
228
  | +-- screenshot_utils.py Blank-frame detection
@@ -173,7 +246,9 @@ same directory is reused. To keep a session logged in:
173
246
  which directory you invoke from.
174
247
  - A profile is held by at most one live instance. Launching into a profile
175
248
  another instance holds fails naming the holder rather than opening a second
176
- browser on the same directory.
249
+ browser on the same profile directory. This is profile exclusivity, not a
250
+ limit on launches from one working directory: repeated unnamed launches from
251
+ one working directory succeed with numbered instance-name suffixes.
177
252
  - Without `--profile`, a launch gets a fresh ephemeral directory and starts
178
253
  logged out.
179
254
  - `bt profile list` shows every profile with its path and its live holder, and
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "browser-tools"
3
- version = "0.8.0"
3
+ version = "0.9.0"
4
4
  description = "Browser automation, debugging, and anti-detect browsing CLI"
5
5
  readme = "README.md"
6
6
  license = "MIT"
@@ -77,15 +77,30 @@ browser-tools-profiler = "browser_tools.profiler:main"
77
77
  requires = ["hatchling"]
78
78
  build-backend = "hatchling.build"
79
79
 
80
+ [tool.hatch.build]
81
+ exclude = [
82
+ "src/browser_tools/_insights/node_modules",
83
+ "src/browser_tools/_insights/.installed*",
84
+ "src/browser_tools/_insights/.setup.lock",
85
+ ]
86
+
80
87
  [tool.hatch.build.targets.wheel]
81
88
  packages = ["src/browser_tools"]
82
89
  artifacts = [
83
90
  "src/browser_tools/*.js",
84
91
  "src/browser_tools/GUIDE.txt",
92
+ "src/browser_tools/_insights/*.mjs",
93
+ "src/browser_tools/_insights/*.js",
94
+ "src/browser_tools/_insights/*.json",
95
+ "src/browser_tools/_insights/vendor/*.js",
96
+ "src/browser_tools/_insights/vendor/LICENSE",
97
+ "!/src/browser_tools/_insights/node_modules/**",
98
+ "!/src/browser_tools/_insights/.installed*",
99
+ "!/src/browser_tools/_insights/.setup.lock",
85
100
  ]
86
101
 
87
102
  [tool.hatch.build.targets.sdist]
88
- include = [
103
+ only-include = [
89
104
  "src/browser_tools",
90
105
  "tests",
91
106
  "README.md",
@@ -128,7 +143,10 @@ target-version = "py313"
128
143
  # rules"): only an import rewrite is permitted inside it, so it is excluded from
129
144
  # lint rather than reformatted to this project's rules. force-exclude keeps the
130
145
  # exclusion in effect even when the path is passed explicitly on the CLI.
131
- extend-exclude = ["src/browser_tools/core"]
146
+ # docs/research/probes/ holds the scripts behind RFC-05's measurements, committed
147
+ # as evidence exactly as they were run. Reformatting them would break that, so
148
+ # they are excluded from lint rather than tidied.
149
+ extend-exclude = ["src/browser_tools/core", "docs/research/probes"]
132
150
  force-exclude = true
133
151
 
134
152
  [tool.ruff.lint]