@speedkit/cli 4.50.5 → 4.51.0-run-control.2

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 (432) hide show
  1. package/README.md +1425 -14
  2. package/dist/base/run-control-command.d.ts +15 -0
  3. package/dist/base/run-control-command.js +20 -0
  4. package/dist/build-info.json +6 -0
  5. package/dist/commands/diff.d.ts +7 -1
  6. package/dist/commands/diff.js +9 -3
  7. package/dist/commands/login.d.ts +3 -0
  8. package/dist/commands/login.js +14 -3
  9. package/dist/commands/onboarding/browser/click.d.ts +75 -0
  10. package/dist/commands/onboarding/browser/click.js +19 -0
  11. package/dist/commands/onboarding/browser/emulate.d.ts +105 -0
  12. package/dist/commands/onboarding/browser/emulate.js +26 -0
  13. package/dist/commands/onboarding/browser/navigate.d.ts +75 -0
  14. package/dist/commands/onboarding/browser/navigate.js +19 -0
  15. package/dist/commands/onboarding/browser/panel.d.ts +63 -0
  16. package/dist/commands/onboarding/browser/panel.js +12 -0
  17. package/dist/commands/onboarding/browser/reinstall-sw.d.ts +63 -0
  18. package/dist/commands/onboarding/browser/reinstall-sw.js +14 -0
  19. package/dist/commands/onboarding/browser/reset.d.ts +71 -0
  20. package/dist/commands/onboarding/browser/reset.js +18 -0
  21. package/dist/commands/onboarding/browser/screenshot.d.ts +77 -0
  22. package/dist/commands/onboarding/browser/screenshot.js +19 -0
  23. package/dist/commands/onboarding/browser/state.d.ts +63 -0
  24. package/dist/commands/onboarding/browser/state.js +12 -0
  25. package/dist/commands/onboarding/browser/tabs.d.ts +58 -0
  26. package/dist/commands/onboarding/browser/tabs.js +16 -0
  27. package/dist/commands/onboarding/cache/clear.d.ts +58 -0
  28. package/dist/commands/onboarding/cache/clear.js +12 -0
  29. package/dist/commands/onboarding/cache/errors.d.ts +58 -0
  30. package/dist/commands/onboarding/cache/errors.js +12 -0
  31. package/dist/commands/onboarding/cache/evict.d.ts +62 -0
  32. package/dist/commands/onboarding/cache/evict.js +15 -0
  33. package/dist/commands/onboarding/cache/get.d.ts +85 -0
  34. package/dist/commands/onboarding/cache/get.js +17 -0
  35. package/dist/commands/onboarding/cache/list.d.ts +58 -0
  36. package/dist/commands/onboarding/cache/list.js +15 -0
  37. package/dist/commands/onboarding/cache/prewarm.d.ts +73 -0
  38. package/dist/commands/onboarding/cache/prewarm.js +20 -0
  39. package/dist/commands/onboarding/cache/refresh.d.ts +62 -0
  40. package/dist/commands/onboarding/cache/refresh.js +18 -0
  41. package/dist/commands/onboarding/cdp.d.ts +81 -0
  42. package/dist/commands/onboarding/cdp.js +18 -0
  43. package/dist/commands/onboarding/debug/arm.d.ts +83 -0
  44. package/dist/commands/onboarding/debug/arm.js +19 -0
  45. package/dist/commands/onboarding/debug/await.d.ts +71 -0
  46. package/dist/commands/onboarding/debug/await.js +18 -0
  47. package/dist/commands/onboarding/debug/disarm.d.ts +63 -0
  48. package/dist/commands/onboarding/debug/disarm.js +12 -0
  49. package/dist/commands/onboarding/debug/eval.d.ts +75 -0
  50. package/dist/commands/onboarding/debug/eval.js +16 -0
  51. package/dist/commands/onboarding/debug/release.d.ts +63 -0
  52. package/dist/commands/onboarding/debug/release.js +12 -0
  53. package/dist/commands/onboarding/debug/resume.d.ts +63 -0
  54. package/dist/commands/onboarding/debug/resume.js +12 -0
  55. package/dist/commands/onboarding/debug/status.d.ts +63 -0
  56. package/dist/commands/onboarding/debug/status.js +12 -0
  57. package/dist/commands/onboarding/debug/step.d.ts +67 -0
  58. package/dist/commands/onboarding/debug/step.js +15 -0
  59. package/dist/commands/onboarding/files/list.d.ts +58 -0
  60. package/dist/commands/onboarding/files/list.js +12 -0
  61. package/dist/commands/onboarding/files/read.d.ts +73 -0
  62. package/dist/commands/onboarding/files/read.js +16 -0
  63. package/dist/commands/onboarding/files/rebuild.d.ts +63 -0
  64. package/dist/commands/onboarding/files/rebuild.js +18 -0
  65. package/dist/commands/onboarding/files/validate.d.ts +58 -0
  66. package/dist/commands/onboarding/files/validate.js +12 -0
  67. package/dist/commands/onboarding/fouc.d.ts +77 -0
  68. package/dist/commands/onboarding/fouc.js +16 -0
  69. package/dist/commands/onboarding/inject/add.d.ts +89 -0
  70. package/dist/commands/onboarding/inject/add.js +17 -0
  71. package/dist/commands/onboarding/inject/clear.d.ts +63 -0
  72. package/dist/commands/onboarding/inject/clear.js +12 -0
  73. package/dist/commands/onboarding/inject/list.d.ts +63 -0
  74. package/dist/commands/onboarding/inject/list.js +12 -0
  75. package/dist/commands/onboarding/inject/read.d.ts +75 -0
  76. package/dist/commands/onboarding/inject/read.js +18 -0
  77. package/dist/commands/onboarding/inject/recipes.d.ts +63 -0
  78. package/dist/commands/onboarding/inject/recipes.js +12 -0
  79. package/dist/commands/onboarding/inject/remove.d.ts +67 -0
  80. package/dist/commands/onboarding/inject/remove.js +15 -0
  81. package/dist/commands/onboarding/list.d.ts +13 -0
  82. package/dist/commands/onboarding/list.js +12 -0
  83. package/dist/commands/onboarding/logs.d.ts +41 -0
  84. package/dist/commands/onboarding/logs.js +257 -0
  85. package/dist/commands/onboarding/navwalk.d.ts +95 -0
  86. package/dist/commands/onboarding/navwalk.js +19 -0
  87. package/dist/commands/onboarding/response.d.ts +67 -0
  88. package/dist/commands/onboarding/response.js +18 -0
  89. package/dist/commands/onboarding/rum/beacons.d.ts +75 -0
  90. package/dist/commands/onboarding/rum/beacons.js +16 -0
  91. package/dist/commands/onboarding/rum/get.d.ts +77 -0
  92. package/dist/commands/onboarding/rum/get.js +18 -0
  93. package/dist/commands/onboarding/rum/key.d.ts +67 -0
  94. package/dist/commands/onboarding/rum/key.js +13 -0
  95. package/dist/commands/onboarding/rum/previous.d.ts +63 -0
  96. package/dist/commands/onboarding/rum/previous.js +12 -0
  97. package/dist/commands/onboarding/status.d.ts +13 -0
  98. package/dist/commands/onboarding/status.js +17 -0
  99. package/dist/commands/onboarding/stop.d.ts +13 -0
  100. package/dist/commands/onboarding/stop.js +17 -0
  101. package/dist/commands/onboarding/todo.d.ts +58 -0
  102. package/dist/commands/onboarding/todo.js +12 -0
  103. package/dist/commands/onboarding/viewport.d.ts +101 -0
  104. package/dist/commands/onboarding/viewport.js +18 -0
  105. package/dist/commands/onboarding/watch.d.ts +93 -0
  106. package/dist/commands/onboarding/watch.js +16 -0
  107. package/dist/commands/onboarding.d.ts +26 -0
  108. package/dist/commands/onboarding.js +221 -4
  109. package/dist/commands/origin-request.d.ts +4 -0
  110. package/dist/commands/origin-request.js +4 -0
  111. package/dist/commands/spec/onboarding.spec.d.ts +1 -0
  112. package/dist/commands/spec/onboarding.spec.js +127 -0
  113. package/dist/services/cli/build-info.d.ts +33 -0
  114. package/dist/services/cli/build-info.js +63 -0
  115. package/dist/services/cli/cli-environment-factory.d.ts +3 -0
  116. package/dist/services/cli/cli-environment-factory.js +1 -0
  117. package/dist/services/cli/cli-service-build-context.d.ts +3 -0
  118. package/dist/services/cli/cli-service-factory.js +1 -1
  119. package/dist/services/cli/cli-service-model.d.ts +29 -10
  120. package/dist/services/cli/cli-service.d.ts +60 -11
  121. package/dist/services/cli/cli-service.js +196 -32
  122. package/dist/services/cli/index.d.ts +2 -0
  123. package/dist/services/cli/index.js +2 -0
  124. package/dist/services/cli/sink.d.ts +47 -0
  125. package/dist/services/cli/sink.js +31 -0
  126. package/dist/services/cli/spec/build-identity.spec.d.ts +1 -0
  127. package/dist/services/cli/spec/build-identity.spec.js +85 -0
  128. package/dist/services/cli/spec/build-info.spec.d.ts +1 -0
  129. package/dist/services/cli/spec/build-info.spec.js +10 -0
  130. package/dist/services/cli/spec/cli-service-log.spec.d.ts +1 -0
  131. package/dist/services/cli/spec/cli-service-log.spec.js +133 -0
  132. package/dist/services/cli/spec/cli-service.spec.js +113 -50
  133. package/dist/services/cli/spec/memory-cli.d.ts +9 -0
  134. package/dist/services/cli/spec/memory-cli.js +9 -0
  135. package/dist/services/diff/config-at-ref.d.ts +20 -0
  136. package/dist/services/diff/config-at-ref.js +33 -0
  137. package/dist/services/diff/diff-service-build-context.d.ts +12 -0
  138. package/dist/services/diff/diff-service-build-context.js +45 -1
  139. package/dist/services/diff/diff-service-factory.d.ts +2 -0
  140. package/dist/services/diff/diff-service-factory.js +65 -25
  141. package/dist/services/diff/diff-service.d.ts +11 -0
  142. package/dist/services/diff/diff-service.js +37 -11
  143. package/dist/services/diff/page-source.d.ts +12 -0
  144. package/dist/services/diff/page-source.js +16 -11
  145. package/dist/services/diff/run-runtime-config.d.ts +33 -0
  146. package/dist/services/diff/run-runtime-config.js +74 -0
  147. package/dist/services/diff/sinks/tool-diff-sink.d.ts +3 -2
  148. package/dist/services/diff/sinks/tool-diff-sink.js +3 -2
  149. package/dist/services/diff/spec/config-at-ref.spec.d.ts +1 -0
  150. package/dist/services/diff/spec/config-at-ref.spec.js +46 -0
  151. package/dist/services/diff/spec/diff-service-build-context.spec.js +19 -0
  152. package/dist/services/diff/spec/diff-service.spec.js +95 -0
  153. package/dist/services/diff/spec/run-runtime-config.spec.d.ts +1 -0
  154. package/dist/services/diff/spec/run-runtime-config.spec.js +87 -0
  155. package/dist/services/git/git-repository.d.ts +2 -0
  156. package/dist/services/git/git-repository.js +6 -0
  157. package/dist/services/integration-api/customer-config-flags.js +1 -0
  158. package/dist/services/onboarding/browse/browse-service.d.ts +13 -1
  159. package/dist/services/onboarding/browse/browse-service.js +40 -7
  160. package/dist/services/onboarding/browser/answer-dialogs.d.ts +12 -0
  161. package/dist/services/onboarding/browser/answer-dialogs.js +25 -0
  162. package/dist/services/onboarding/browser/baqend-response.d.ts +17 -1
  163. package/dist/services/onboarding/browser/baqend-response.js +23 -0
  164. package/dist/services/onboarding/browser/console-log.d.ts +9 -0
  165. package/dist/services/onboarding/browser/console-log.js +27 -0
  166. package/dist/services/onboarding/browser/emulate-device.d.ts +12 -1
  167. package/dist/services/onboarding/browser/emulate-device.js +33 -6
  168. package/dist/services/onboarding/browser/executable/executable-validator.js +4 -2
  169. package/dist/services/onboarding/browser/extension/extension-bridge.js +5 -3
  170. package/dist/services/onboarding/browser/extension/extension-downloader.js +17 -8
  171. package/dist/services/onboarding/browser/extension/extension-validator.js +9 -4
  172. package/dist/services/onboarding/browser/launch-browser.d.ts +2 -1
  173. package/dist/services/onboarding/browser/launch-browser.js +3 -1
  174. package/dist/services/onboarding/control/body-inspect.d.ts +24 -0
  175. package/dist/services/onboarding/control/body-inspect.js +106 -0
  176. package/dist/services/onboarding/control/browser-session.d.ts +535 -0
  177. package/dist/services/onboarding/control/browser-session.js +1300 -0
  178. package/dist/services/onboarding/control/config-validation.d.ts +17 -0
  179. package/dist/services/onboarding/control/config-validation.js +46 -0
  180. package/dist/services/onboarding/control/control-protocol.d.ts +1428 -0
  181. package/dist/services/onboarding/control/control-protocol.js +58 -0
  182. package/dist/services/onboarding/control/control-server.d.ts +292 -0
  183. package/dist/services/onboarding/control/control-server.js +1629 -0
  184. package/dist/services/onboarding/control/debug-session.d.ts +219 -0
  185. package/dist/services/onboarding/control/debug-session.js +897 -0
  186. package/dist/services/onboarding/control/fouc.d.ts +23 -0
  187. package/dist/services/onboarding/control/fouc.js +151 -0
  188. package/dist/services/onboarding/control/index.d.ts +4 -0
  189. package/dist/services/onboarding/control/index.js +4 -0
  190. package/dist/services/onboarding/control/navigate-wait.d.ts +33 -0
  191. package/dist/services/onboarding/control/navigate-wait.js +56 -0
  192. package/dist/services/onboarding/control/navwalk.d.ts +65 -0
  193. package/dist/services/onboarding/control/navwalk.js +248 -0
  194. package/dist/services/onboarding/control/preload-registry.d.ts +150 -0
  195. package/dist/services/onboarding/control/preload-registry.js +829 -0
  196. package/dist/services/onboarding/control/response-explainer.d.ts +24 -0
  197. package/dist/services/onboarding/control/response-explainer.js +257 -0
  198. package/dist/services/onboarding/control/rum.d.ts +8 -0
  199. package/dist/services/onboarding/control/rum.js +220 -0
  200. package/dist/services/onboarding/control/service-worker-tracker.d.ts +68 -0
  201. package/dist/services/onboarding/control/service-worker-tracker.js +120 -0
  202. package/dist/services/onboarding/control/viewport.d.ts +45 -0
  203. package/dist/services/onboarding/control/viewport.js +344 -0
  204. package/dist/services/onboarding/control/watch.d.ts +26 -0
  205. package/dist/services/onboarding/control/watch.js +157 -0
  206. package/dist/services/onboarding/dashboard/diff-against-current-page.js +3 -1
  207. package/dist/services/onboarding/dashboard/index.js +7 -2
  208. package/dist/services/onboarding/fetch-event-handler.d.ts +24 -5
  209. package/dist/services/onboarding/fetch-event-handler.js +103 -32
  210. package/dist/services/onboarding/fetch-events/speed-kit-install-js.js +11 -2
  211. package/dist/services/onboarding/fetch-events/speed-kit-rum-pi-request.d.ts +14 -0
  212. package/dist/services/onboarding/fetch-events/speed-kit-rum-pi-request.js +30 -0
  213. package/dist/services/onboarding/fetch-events/speed-kit-service-worker-js.d.ts +13 -0
  214. package/dist/services/onboarding/fetch-events/speed-kit-service-worker-js.js +28 -1
  215. package/dist/services/onboarding/file-events/file-watcher.d.ts +42 -1
  216. package/dist/services/onboarding/file-events/file-watcher.js +117 -12
  217. package/dist/services/onboarding/inject/inject-service.js +1 -1
  218. package/dist/services/onboarding/onboarding-model.d.ts +30 -0
  219. package/dist/services/onboarding/onboarding-model.js +12 -1
  220. package/dist/services/onboarding/onboarding-service-build-context.d.ts +4 -0
  221. package/dist/services/onboarding/onboarding-service-build-context.js +7 -1
  222. package/dist/services/onboarding/onboarding-service-factory.d.ts +17 -1
  223. package/dist/services/onboarding/onboarding-service-factory.js +150 -23
  224. package/dist/services/onboarding/onboarding-service.d.ts +40 -1
  225. package/dist/services/onboarding/onboarding-service.js +136 -23
  226. package/dist/services/onboarding/request-cache/asset-key.d.ts +61 -0
  227. package/dist/services/onboarding/request-cache/asset-key.js +115 -0
  228. package/dist/services/onboarding/request-cache/cache.d.ts +62 -5
  229. package/dist/services/onboarding/request-cache/cache.js +128 -17
  230. package/dist/services/onboarding/spec/browser/answer-dialogs.spec.d.ts +1 -0
  231. package/dist/services/onboarding/spec/browser/answer-dialogs.spec.js +66 -0
  232. package/dist/services/onboarding/spec/browser/console-log.spec.d.ts +1 -0
  233. package/dist/services/onboarding/spec/browser/console-log.spec.js +42 -0
  234. package/dist/services/onboarding/spec/control/browser-session.spec.d.ts +1 -0
  235. package/dist/services/onboarding/spec/control/browser-session.spec.js +651 -0
  236. package/dist/services/onboarding/spec/control/control-server.spec.d.ts +1 -0
  237. package/dist/services/onboarding/spec/control/control-server.spec.js +371 -0
  238. package/dist/services/onboarding/spec/control/debug-session.spec.d.ts +1 -0
  239. package/dist/services/onboarding/spec/control/debug-session.spec.js +751 -0
  240. package/dist/services/onboarding/spec/control/fakes.d.ts +31 -0
  241. package/dist/services/onboarding/spec/control/fakes.js +66 -0
  242. package/dist/services/onboarding/spec/control/fouc.spec.d.ts +1 -0
  243. package/dist/services/onboarding/spec/control/fouc.spec.js +167 -0
  244. package/dist/services/onboarding/spec/control/navigate-wait.spec.d.ts +1 -0
  245. package/dist/services/onboarding/spec/control/navigate-wait.spec.js +47 -0
  246. package/dist/services/onboarding/spec/control/navwalk.spec.d.ts +1 -0
  247. package/dist/services/onboarding/spec/control/navwalk.spec.js +222 -0
  248. package/dist/services/onboarding/spec/control/preload-registry.spec.d.ts +1 -0
  249. package/dist/services/onboarding/spec/control/preload-registry.spec.js +432 -0
  250. package/dist/services/onboarding/spec/control/response-explainer.spec.d.ts +1 -0
  251. package/dist/services/onboarding/spec/control/response-explainer.spec.js +324 -0
  252. package/dist/services/onboarding/spec/control/rum.spec.d.ts +1 -0
  253. package/dist/services/onboarding/spec/control/rum.spec.js +222 -0
  254. package/dist/services/onboarding/spec/control/service-worker-tracker.spec.d.ts +1 -0
  255. package/dist/services/onboarding/spec/control/service-worker-tracker.spec.js +193 -0
  256. package/dist/services/onboarding/spec/control/viewport.spec.d.ts +1 -0
  257. package/dist/services/onboarding/spec/control/viewport.spec.js +200 -0
  258. package/dist/services/onboarding/spec/control/watch.spec.d.ts +1 -0
  259. package/dist/services/onboarding/spec/control/watch.spec.js +187 -0
  260. package/dist/services/onboarding/spec/fetch-event-handler.spec.d.ts +1 -0
  261. package/dist/services/onboarding/spec/fetch-event-handler.spec.js +219 -0
  262. package/dist/services/onboarding/spec/fetch-events/speed-kit-service-worker-js.spec.d.ts +1 -0
  263. package/dist/services/onboarding/spec/fetch-events/speed-kit-service-worker-js.spec.js +41 -0
  264. package/dist/services/onboarding/spec/onboarding-model.spec.js +39 -3
  265. package/dist/services/onboarding/spec/onboarding-service-factory.spec.js +25 -1
  266. package/dist/services/onboarding/spec/request-cache/cache.spec.d.ts +1 -0
  267. package/dist/services/onboarding/spec/request-cache/cache.spec.js +107 -0
  268. package/dist/services/onboarding/spec/todo-collector.spec.d.ts +1 -0
  269. package/dist/services/onboarding/spec/todo-collector.spec.js +136 -0
  270. package/dist/services/onboarding/spec/virtual-orestes-app/virtual-orestes-app.spec.d.ts +1 -0
  271. package/dist/services/onboarding/spec/virtual-orestes-app/virtual-orestes-app.spec.js +65 -0
  272. package/dist/services/onboarding/todo-collector.d.ts +7 -2
  273. package/dist/services/onboarding/todo-collector.js +49 -12
  274. package/dist/services/onboarding/virtual-orestes-app/index.d.ts +38 -0
  275. package/dist/services/onboarding/virtual-orestes-app/index.js +113 -27
  276. package/dist/services/origin-request/asset-variations.d.ts +14 -0
  277. package/dist/services/origin-request/asset-variations.js +11 -4
  278. package/dist/services/origin-request/origin-fetcher.d.ts +7 -0
  279. package/dist/services/origin-request/origin-fetcher.js +43 -5
  280. package/dist/services/origin-request/origin-request-service-build-context.d.ts +17 -0
  281. package/dist/services/origin-request/origin-request-service-build-context.js +8 -0
  282. package/dist/services/origin-request/origin-request-service-factory.d.ts +0 -5
  283. package/dist/services/origin-request/origin-request-service-factory.js +2 -30
  284. package/dist/services/origin-request/origin-request-service.d.ts +121 -6
  285. package/dist/services/origin-request/origin-request-service.js +273 -49
  286. package/dist/services/origin-request/runtime-config-source.d.ts +6 -0
  287. package/dist/services/origin-request/runtime-config-source.js +15 -4
  288. package/dist/services/origin-request/spec/asset-variations.spec.js +20 -0
  289. package/dist/services/origin-request/spec/origin-request-service.spec.js +329 -6
  290. package/dist/services/query-builder/rules/rule-match.d.ts +35 -0
  291. package/dist/services/query-builder/rules/rule-match.js +70 -0
  292. package/dist/services/query-builder/spec/rules/rule-match.spec.d.ts +1 -0
  293. package/dist/services/query-builder/spec/rules/rule-match.spec.js +121 -0
  294. package/dist/services/run-control/browser/run-browser-contexts.d.ts +557 -0
  295. package/dist/services/run-control/browser/run-browser-contexts.js +91 -0
  296. package/dist/services/run-control/browser/run-browser-service-factory.d.ts +5 -0
  297. package/dist/services/run-control/browser/run-browser-service-factory.js +7 -0
  298. package/dist/services/run-control/browser/run-browser-service.d.ts +68 -0
  299. package/dist/services/run-control/browser/run-browser-service.js +206 -0
  300. package/dist/services/run-control/cache/run-cache-contexts.d.ts +349 -0
  301. package/dist/services/run-control/cache/run-cache-contexts.js +51 -0
  302. package/dist/services/run-control/cache/run-cache-service-factory.d.ts +6 -0
  303. package/dist/services/run-control/cache/run-cache-service-factory.js +12 -0
  304. package/dist/services/run-control/cache/run-cache-service.d.ts +35 -0
  305. package/dist/services/run-control/cache/run-cache-service.js +151 -0
  306. package/dist/services/run-control/control-client.d.ts +36 -0
  307. package/dist/services/run-control/control-client.js +147 -0
  308. package/dist/services/run-control/debug/run-debug-contexts.d.ts +416 -0
  309. package/dist/services/run-control/debug/run-debug-contexts.js +47 -0
  310. package/dist/services/run-control/debug/run-debug-service-factory.d.ts +5 -0
  311. package/dist/services/run-control/debug/run-debug-service-factory.js +7 -0
  312. package/dist/services/run-control/debug/run-debug-service.d.ts +39 -0
  313. package/dist/services/run-control/debug/run-debug-service.js +164 -0
  314. package/dist/services/run-control/files/run-files-contexts.d.ts +238 -0
  315. package/dist/services/run-control/files/run-files-contexts.js +26 -0
  316. package/dist/services/run-control/files/run-files-service-factory.d.ts +5 -0
  317. package/dist/services/run-control/files/run-files-service-factory.js +7 -0
  318. package/dist/services/run-control/files/run-files-service.d.ts +29 -0
  319. package/dist/services/run-control/files/run-files-service.js +120 -0
  320. package/dist/services/run-control/index.d.ts +32 -0
  321. package/dist/services/run-control/index.js +31 -0
  322. package/dist/services/run-control/inject/run-inject-contexts.d.ts +319 -0
  323. package/dist/services/run-control/inject/run-inject-contexts.js +38 -0
  324. package/dist/services/run-control/inject/run-inject-service-factory.d.ts +5 -0
  325. package/dist/services/run-control/inject/run-inject-service-factory.js +7 -0
  326. package/dist/services/run-control/inject/run-inject-service.d.ts +31 -0
  327. package/dist/services/run-control/inject/run-inject-service.js +227 -0
  328. package/dist/services/run-control/live-run.d.ts +37 -0
  329. package/dist/services/run-control/live-run.js +56 -0
  330. package/dist/services/run-control/probe/run-probe-contexts.d.ts +333 -0
  331. package/dist/services/run-control/probe/run-probe-contexts.js +73 -0
  332. package/dist/services/run-control/probe/run-probe-service-factory.d.ts +5 -0
  333. package/dist/services/run-control/probe/run-probe-service-factory.js +7 -0
  334. package/dist/services/run-control/probe/run-probe-service.d.ts +54 -0
  335. package/dist/services/run-control/probe/run-probe-service.js +194 -0
  336. package/dist/services/run-control/rum/run-rum-contexts.d.ts +216 -0
  337. package/dist/services/run-control/rum/run-rum-contexts.js +34 -0
  338. package/dist/services/run-control/rum/run-rum-service-factory.d.ts +5 -0
  339. package/dist/services/run-control/rum/run-rum-service-factory.js +7 -0
  340. package/dist/services/run-control/rum/run-rum-service.d.ts +36 -0
  341. package/dist/services/run-control/rum/run-rum-service.js +122 -0
  342. package/dist/services/run-control/run-answer.d.ts +28 -0
  343. package/dist/services/run-control/run-answer.js +58 -0
  344. package/dist/services/run-control/run-control-context.d.ts +102 -0
  345. package/dist/services/run-control/run-control-context.js +36 -0
  346. package/dist/services/run-control/run-control-flags.d.ts +12 -0
  347. package/dist/services/run-control/run-control-flags.js +22 -0
  348. package/dist/services/run-control/run-control-model.d.ts +9 -0
  349. package/dist/services/run-control/run-control-model.js +1 -0
  350. package/dist/services/run-control/run-control-service-factory.d.ts +14 -0
  351. package/dist/services/run-control/run-control-service-factory.js +26 -0
  352. package/dist/services/run-control/session/run-session-contexts.d.ts +25 -0
  353. package/dist/services/run-control/session/run-session-contexts.js +20 -0
  354. package/dist/services/run-control/session/run-session-service-factory.d.ts +8 -0
  355. package/dist/services/run-control/session/run-session-service-factory.js +18 -0
  356. package/dist/services/run-control/session/run-session-service.d.ts +32 -0
  357. package/dist/services/run-control/session/run-session-service.js +151 -0
  358. package/dist/services/run-control/spec/browser/run-browser-service.spec.d.ts +1 -0
  359. package/dist/services/run-control/spec/browser/run-browser-service.spec.js +327 -0
  360. package/dist/services/run-control/spec/cache/run-cache-service.spec.d.ts +1 -0
  361. package/dist/services/run-control/spec/cache/run-cache-service.spec.js +454 -0
  362. package/dist/services/run-control/spec/debug/run-debug-service.spec.d.ts +1 -0
  363. package/dist/services/run-control/spec/debug/run-debug-service.spec.js +113 -0
  364. package/dist/services/run-control/spec/files/run-files-service.spec.d.ts +1 -0
  365. package/dist/services/run-control/spec/files/run-files-service.spec.js +234 -0
  366. package/dist/services/run-control/spec/inject/run-inject-service.spec.d.ts +1 -0
  367. package/dist/services/run-control/spec/inject/run-inject-service.spec.js +251 -0
  368. package/dist/services/run-control/spec/live-run-fixture.d.ts +32 -0
  369. package/dist/services/run-control/spec/live-run-fixture.js +109 -0
  370. package/dist/services/run-control/spec/probe/run-probe-service.spec.d.ts +1 -0
  371. package/dist/services/run-control/spec/probe/run-probe-service.spec.js +108 -0
  372. package/dist/services/run-control/spec/rum/run-rum-service.spec.d.ts +1 -0
  373. package/dist/services/run-control/spec/rum/run-rum-service.spec.js +47 -0
  374. package/dist/services/run-control/spec/run-answer.spec.d.ts +1 -0
  375. package/dist/services/run-control/spec/run-answer.spec.js +57 -0
  376. package/dist/services/run-control/spec/session/run-session-service.spec.d.ts +1 -0
  377. package/dist/services/run-control/spec/session/run-session-service.spec.js +150 -0
  378. package/dist/services/run-log/crash-mirror.d.ts +31 -0
  379. package/dist/services/run-log/crash-mirror.js +69 -0
  380. package/dist/services/run-log/index.d.ts +11 -0
  381. package/dist/services/run-log/index.js +11 -0
  382. package/dist/services/run-log/jsonl-appender.d.ts +46 -0
  383. package/dist/services/run-log/jsonl-appender.js +91 -0
  384. package/dist/services/run-log/log-event-model.d.ts +104 -0
  385. package/dist/services/run-log/log-event-model.js +56 -0
  386. package/dist/services/run-log/log-query-service-factory.d.ts +11 -0
  387. package/dist/services/run-log/log-query-service-factory.js +14 -0
  388. package/dist/services/run-log/log-query-service.d.ts +59 -0
  389. package/dist/services/run-log/log-query-service.js +111 -0
  390. package/dist/services/run-log/log-reader.d.ts +84 -0
  391. package/dist/services/run-log/log-reader.js +180 -0
  392. package/dist/services/run-log/log-summary.d.ts +72 -0
  393. package/dist/services/run-log/log-summary.js +208 -0
  394. package/dist/services/run-log/redaction.d.ts +34 -0
  395. package/dist/services/run-log/redaction.js +124 -0
  396. package/dist/services/run-log/request-log.d.ts +82 -0
  397. package/dist/services/run-log/request-log.js +69 -0
  398. package/dist/services/run-log/request-summary.d.ts +76 -0
  399. package/dist/services/run-log/request-summary.js +0 -0
  400. package/dist/services/run-log/run-log.d.ts +61 -0
  401. package/dist/services/run-log/run-log.js +102 -0
  402. package/dist/services/run-log/spec/log-query-service.spec.d.ts +1 -0
  403. package/dist/services/run-log/spec/log-query-service.spec.js +197 -0
  404. package/dist/services/run-log/spec/log-reader.spec.d.ts +1 -0
  405. package/dist/services/run-log/spec/log-reader.spec.js +109 -0
  406. package/dist/services/run-log/spec/log-summary.spec.d.ts +1 -0
  407. package/dist/services/run-log/spec/log-summary.spec.js +153 -0
  408. package/dist/services/run-log/spec/redaction.spec.d.ts +1 -0
  409. package/dist/services/run-log/spec/redaction.spec.js +61 -0
  410. package/dist/services/run-log/spec/request-log.spec.d.ts +1 -0
  411. package/dist/services/run-log/spec/request-log.spec.js +101 -0
  412. package/dist/services/run-log/spec/request-summary.spec.d.ts +1 -0
  413. package/dist/services/run-log/spec/request-summary.spec.js +171 -0
  414. package/dist/services/run-log/spec/run-log.spec.d.ts +1 -0
  415. package/dist/services/run-log/spec/run-log.spec.js +122 -0
  416. package/dist/services/run-registry/exit-classification.d.ts +39 -0
  417. package/dist/services/run-registry/exit-classification.js +42 -0
  418. package/dist/services/run-registry/index.d.ts +3 -0
  419. package/dist/services/run-registry/index.js +3 -0
  420. package/dist/services/run-registry/process-identity.d.ts +28 -0
  421. package/dist/services/run-registry/process-identity.js +80 -0
  422. package/dist/services/run-registry/run-registry-model.d.ts +128 -0
  423. package/dist/services/run-registry/run-registry-model.js +16 -0
  424. package/dist/services/run-registry/run-registry.d.ts +155 -0
  425. package/dist/services/run-registry/run-registry.js +430 -0
  426. package/dist/services/run-registry/spec/exit-classification.spec.d.ts +1 -0
  427. package/dist/services/run-registry/spec/exit-classification.spec.js +82 -0
  428. package/dist/services/run-registry/spec/run-registry.spec.d.ts +1 -0
  429. package/dist/services/run-registry/spec/run-registry.spec.js +526 -0
  430. package/dist/services/setup/os/tool-registry.js +2 -2
  431. package/oclif.manifest.json +3409 -288
  432. package/package.json +20 -2
package/README.md CHANGED
@@ -89,6 +89,55 @@ By either...
89
89
  * [`sk help [COMMAND]`](#sk-help-command)
90
90
  * [`sk login [APP]`](#sk-login-app)
91
91
  * [`sk onboarding [CUSTOMERPATH]`](#sk-onboarding-customerpath)
92
+ * [`sk onboarding browser click [SELECTOR]`](#sk-onboarding-browser-click-selector)
93
+ * [`sk onboarding browser emulate DEVICE`](#sk-onboarding-browser-emulate-device)
94
+ * [`sk onboarding browser navigate URL`](#sk-onboarding-browser-navigate-url)
95
+ * [`sk onboarding browser panel`](#sk-onboarding-browser-panel)
96
+ * [`sk onboarding browser reinstall-sw`](#sk-onboarding-browser-reinstall-sw)
97
+ * [`sk onboarding browser reset`](#sk-onboarding-browser-reset)
98
+ * [`sk onboarding browser screenshot`](#sk-onboarding-browser-screenshot)
99
+ * [`sk onboarding browser state`](#sk-onboarding-browser-state)
100
+ * [`sk onboarding browser tabs`](#sk-onboarding-browser-tabs)
101
+ * [`sk onboarding cache clear`](#sk-onboarding-cache-clear)
102
+ * [`sk onboarding cache errors`](#sk-onboarding-cache-errors)
103
+ * [`sk onboarding cache evict KEY`](#sk-onboarding-cache-evict-key)
104
+ * [`sk onboarding cache get KEY`](#sk-onboarding-cache-get-key)
105
+ * [`sk onboarding cache list`](#sk-onboarding-cache-list)
106
+ * [`sk onboarding cache prewarm URL`](#sk-onboarding-cache-prewarm-url)
107
+ * [`sk onboarding cache refresh [KEY]`](#sk-onboarding-cache-refresh-key)
108
+ * [`sk onboarding cdp METHOD [PARAMS]`](#sk-onboarding-cdp-method-params)
109
+ * [`sk onboarding debug arm`](#sk-onboarding-debug-arm)
110
+ * [`sk onboarding debug await`](#sk-onboarding-debug-await)
111
+ * [`sk onboarding debug disarm`](#sk-onboarding-debug-disarm)
112
+ * [`sk onboarding debug eval [EXPRESSION]`](#sk-onboarding-debug-eval-expression)
113
+ * [`sk onboarding debug release`](#sk-onboarding-debug-release)
114
+ * [`sk onboarding debug resume`](#sk-onboarding-debug-resume)
115
+ * [`sk onboarding debug status`](#sk-onboarding-debug-status)
116
+ * [`sk onboarding debug step KIND`](#sk-onboarding-debug-step-kind)
117
+ * [`sk onboarding files list`](#sk-onboarding-files-list)
118
+ * [`sk onboarding files read NAME`](#sk-onboarding-files-read-name)
119
+ * [`sk onboarding files rebuild`](#sk-onboarding-files-rebuild)
120
+ * [`sk onboarding files validate`](#sk-onboarding-files-validate)
121
+ * [`sk onboarding fouc`](#sk-onboarding-fouc)
122
+ * [`sk onboarding inject add`](#sk-onboarding-inject-add)
123
+ * [`sk onboarding inject clear`](#sk-onboarding-inject-clear)
124
+ * [`sk onboarding inject list`](#sk-onboarding-inject-list)
125
+ * [`sk onboarding inject read [PRELOAD]`](#sk-onboarding-inject-read-preload)
126
+ * [`sk onboarding inject recipes`](#sk-onboarding-inject-recipes)
127
+ * [`sk onboarding inject remove PRELOAD`](#sk-onboarding-inject-remove-preload)
128
+ * [`sk onboarding list`](#sk-onboarding-list)
129
+ * [`sk onboarding logs [RUN]`](#sk-onboarding-logs-run)
130
+ * [`sk onboarding navwalk`](#sk-onboarding-navwalk)
131
+ * [`sk onboarding response [URL]`](#sk-onboarding-response-url)
132
+ * [`sk onboarding rum beacons`](#sk-onboarding-rum-beacons)
133
+ * [`sk onboarding rum get`](#sk-onboarding-rum-get)
134
+ * [`sk onboarding rum key KEY`](#sk-onboarding-rum-key-key)
135
+ * [`sk onboarding rum previous`](#sk-onboarding-rum-previous)
136
+ * [`sk onboarding status`](#sk-onboarding-status)
137
+ * [`sk onboarding stop`](#sk-onboarding-stop)
138
+ * [`sk onboarding todo`](#sk-onboarding-todo)
139
+ * [`sk onboarding viewport`](#sk-onboarding-viewport)
140
+ * [`sk onboarding watch EXPRESSION`](#sk-onboarding-watch-expression)
92
141
  * [`sk origin-request [CUSTOMERPATH] [PAGEURL]`](#sk-origin-request-customerpath-pageurl)
93
142
  * [`sk prewarm APP PATH`](#sk-prewarm-app-path)
94
143
  * [`sk pull CUSTOMERPATH`](#sk-pull-customerpath)
@@ -474,13 +523,14 @@ EXAMPLES
474
523
 
475
524
  ## `sk diff [CUSTOMERPATH] [PAGEURL]`
476
525
 
477
- Diff a page with and without its query parameters, across variations, or against another page, as Speed Kit requests it from origin and the customer's documentHandler renders it. Exits with 1 when a diff is found, with 2 when the pages could not be compared, and with 3 when the documentHandler aborts a page, so Speed Kit never caches it
526
+ Diff a page with and without its query parameters, across variations, against another page, or with the customer config at another git ref, as Speed Kit requests it from origin and the customer's documentHandler renders it. Exits with 1 when a diff is found, with 2 when the pages could not be compared, and with 3 when the documentHandler aborts a page, so Speed Kit never caches it
478
527
 
479
528
  ```
480
529
  USAGE
481
530
  $ sk diff [CUSTOMERPATH] [PAGEURL] [-c <value>] [--variations <value>...] [--against <value>]
482
- [--variation <value>] [--baseline] [--params] [--param <value>...] [-o tool|patch|json|none] [--raw] [--ignore
483
- <value>...] [--browserFetch] [--host <value>] [--variationsFile <value>]
531
+ [--variation <value>] [--base <value>] [--html <value>] [--baseline] [--params] [--param <value>...] [-o
532
+ tool|patch|json|none] [--raw] [--ignore <value>...] [--browserFetch] [--host <value>] [--run <value> |
533
+ --variationsFile <value>]
484
534
 
485
535
  ARGUMENTS
486
536
  [CUSTOMERPATH] The customer config path; optional with --raw, which then compares the origin's HTML with Speed Kit's
@@ -494,11 +544,15 @@ FLAGS
494
544
  <options: tool|patch|json|none>
495
545
  --against=<value> Compare the page against this other page, both requested and rendered the same way:
496
546
  ?color=red against ?color=blue. Replaces the parameter check
547
+ --base=<value> Render the page with the customer config where HEAD left this git ref (their merge base)
548
+ and with the working tree, and diff the two: what a config change does to the page.
549
+ Replaces the parameter check; takes --variation and --html
497
550
  --baseline Fetch every side twice and ignore what differs between the two, such as nonces,
498
551
  timestamps or reordered preloads. Doubles the requests: 4 per comparison
499
552
  --browserFetch Fetch every page through a headless Chrome, for an origin whose bot protection refuses a
500
553
  direct request. Needs the customer path
501
554
  --host=<value> Send this Host header, emulating an origin-map host override
555
+ --html=<value> With --base, render this saved origin HTML instead of requesting the page
502
556
  --ignore=<value>... Remove what this regex matches from both sides before comparing, e.g. a nonce or a
503
557
  timestamp
504
558
  --param=<value>... Check only this query parameter of the url: sort. Several, as sort,page or repeated, are
@@ -506,17 +560,20 @@ FLAGS
506
560
  --params With --variations, also check the query parameters, once for each of the two variations.
507
561
  Without --variations it is what sk diff does
508
562
  --raw Compare the origin's HTML as it is, without running the customer's documentHandler
509
- --variation=<value> The one variation the pages are requested in, for --against or the parameter check:
510
- mobile, tablet or a custom one; an empty one asks which. Defaults to desktop
563
+ --run=<value> Take the runtime config from this live sk onboarding run: its id, its customer name, or
564
+ its path. Without it, the one live run of the customer is used
565
+ --variation=<value> The one variation the pages are requested in, for --against, --base or the parameter
566
+ check: mobile, tablet or a custom one; an empty one asks which. Defaults to desktop
511
567
  --variations=<value>... One variation to compare against desktop, or two to compare with each other: mobile, or
512
568
  tablet,mobile. A custom variation works too; an empty one asks which
513
569
  --variationsFile=<value> Resolve the requests against a runtime config in a local file instead of the app's
514
570
  deployed one
515
571
 
516
572
  DESCRIPTION
517
- Diff a page with and without its query parameters, across variations, or against another page, as Speed Kit requests
518
- it from origin and the customer's documentHandler renders it. Exits with 1 when a diff is found, with 2 when the pages
519
- could not be compared, and with 3 when the documentHandler aborts a page, so Speed Kit never caches it
573
+ Diff a page with and without its query parameters, across variations, against another page, or with the customer
574
+ config at another git ref, as Speed Kit requests it from origin and the customer's documentHandler renders it. Exits
575
+ with 1 when a diff is found, with 2 when the pages could not be compared, and with 3 when the documentHandler aborts a
576
+ page, so Speed Kit never caches it
520
577
 
521
578
  EXAMPLES
522
579
  $ sk diff <customerPath> <pageUrl>
@@ -544,6 +601,10 @@ EXAMPLES
544
601
  $ sk diff --raw "https://www.decathlon.de/?sort=price" --variations mobile
545
602
 
546
603
  $ sk diff customers/decathlon.de "https://www.decathlon.de/?sort=price" --variations mobile --params
604
+
605
+ $ sk diff customers/decathlon.de https://www.decathlon.de/c/shoes --base origin/main
606
+
607
+ $ sk diff customers/decathlon.de https://www.decathlon.de/c/shoes --base HEAD~1 --html saved-page.html --variation mobile
547
608
  ```
548
609
 
549
610
  ## `sk extension add [REF]`
@@ -763,11 +824,15 @@ Login to your app
763
824
 
764
825
  ```
765
826
  USAGE
766
- $ sk login [APP]
827
+ $ sk login [APP] [--auth password|google|facebook|github]
767
828
 
768
829
  ARGUMENTS
769
830
  [APP] [default: bbq] The customers appName
770
831
 
832
+ FLAGS
833
+ --auth=<option> How to log in. Without it, the login asks for the provider
834
+ <options: password|google|facebook|github>
835
+
771
836
  DESCRIPTION
772
837
  Login to your app
773
838
 
@@ -775,6 +840,8 @@ EXAMPLES
775
840
  $ sk login <app>
776
841
 
777
842
  $ sk login appName
843
+
844
+ $ sk login appName --auth google
778
845
  ```
779
846
 
780
847
  ## `sk onboarding [CUSTOMERPATH]`
@@ -783,7 +850,7 @@ Start a local dev environment for building and testing the Speed Kit configurati
783
850
 
784
851
  ```
785
852
  USAGE
786
- $ sk onboarding [CUSTOMERPATH] [-c <value>] [-t] [-d <value>] [-p] [--debugPort <value>] [-v] [-s]
853
+ $ sk onboarding [CUSTOMERPATH] [-c <value>] [-t] [-d <value>] [-p] [--debugPort <value>] [-v] [--logFile] [-s]
787
854
  [--headless] [-m | --device mobile|tablet|desktop] [--app <value> [--inject [<installationId>] | --browse]]
788
855
  [--browserFetch]
789
856
 
@@ -806,8 +873,8 @@ FLAGS
806
873
  --browserFetch Fetch every origin document with a second headless Chrome instead of a direct
807
874
  request. Only needed when bot protection refuses the CLI outright — a refusal is
808
875
  otherwise detected and rerouted on its own.
809
- --debugPort=<value> [default: 9222] Chrome remote debugging port (only used with -p/--headless). Use
810
- distinct ports to run multiple onboarding processes at once.
876
+ --debugPort=<value> [default: 9222] Chrome remote debugging port (only used with -p). Use distinct
877
+ ports to run multiple onboarding processes with -p at once.
811
878
  --device=<option> Emulate a device in every page and Service Worker: user agent, client hints,
812
879
  viewport, pointer and touch. Without it, Chrome runs as it launches.
813
880
  <options: mobile|tablet|desktop>
@@ -817,6 +884,9 @@ FLAGS
817
884
  installed Speed Kit. Without a value it uses the latest deployed installation. With
818
885
  an id it uses that testing installation. Needs no local config: without a
819
886
  CUSTOMERPATH, pass --app and -d.
887
+ --[no-]logFile Write a structured copy of this run's output to log.jsonl in the run directory,
888
+ readable afterwards with `sk onboarding logs`. Use --no-log-file to keep the run
889
+ off disk entirely.
820
890
 
821
891
  DESCRIPTION
822
892
  Start a local dev environment for building and testing the Speed Kit configuration
@@ -826,7 +896,7 @@ EXAMPLES
826
896
 
827
897
  $ sk onboarding customers/decathlon.de -c production -d www.decathlon.de
828
898
 
829
- $ sk onboarding --browse -d www.decathlon.de --headless --debugPort 9290
899
+ $ sk onboarding --browse -d www.decathlon.de --headless
830
900
 
831
901
  $ sk onboarding customers/decathlon.de --browse -p
832
902
 
@@ -837,6 +907,1345 @@ EXAMPLES
837
907
  $ sk onboarding customers/decathlon.de --inject <installationId>
838
908
  ```
839
909
 
910
+ ## `sk onboarding browser click [SELECTOR]`
911
+
912
+ Click an element the way a visitor does — a trusted mouse click at its centre — by selector or by its text
913
+
914
+ ```
915
+ USAGE
916
+ $ sk onboarding browser click [SELECTOR] [--run <value>] [--json] [--timeout <value>] [--text <value>] [--tab <value>]
917
+
918
+ ARGUMENTS
919
+ [SELECTOR] A CSS selector. Or --text
920
+
921
+ FLAGS
922
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
923
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
924
+ live.
925
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's
926
+ own page
927
+ --text=<value> The visible text, aria-label or value of a link or button, e.g. 'In den Warenkorb'
928
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
929
+
930
+ DESCRIPTION
931
+ Click an element the way a visitor does — a trusted mouse click at its centre — by selector or by its text
932
+
933
+ EXAMPLES
934
+ $ sk onboarding browser click '#onetrust-accept-btn-handler'
935
+
936
+ $ sk onboarding browser click --text 'In den Warenkorb'
937
+
938
+ $ sk onboarding browser click --text 'Sign in with Shop' --tab 0
939
+ ```
940
+
941
+ ## `sk onboarding browser emulate DEVICE`
942
+
943
+ Emulate a device until switched off: viewport, touch and user agent, on the page and on Speed Kit's service worker
944
+
945
+ ```
946
+ USAGE
947
+ $ sk onboarding browser emulate DEVICE [--run <value>] [--json] [--timeout <value>] [--width <value>] [--height <value>]
948
+ [--dpr <value>] [--user-agent <value>] [--touch] [--reload] [--tab <value>]
949
+
950
+ ARGUMENTS
951
+ DEVICE (mobile|tablet|desktop|off) mobile is 390×844 at DPR 3 with touch, tablet 834×1112 at DPR 2, desktop
952
+ 1920×1080; off puts the browser back
953
+
954
+ FLAGS
955
+ --dpr=<value> Override the preset's device pixel ratio
956
+ --height=<value> Override the preset's height
957
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
958
+ --[no-]reload Load the page again as the device. --no-reload leaves the loaded document as it was
959
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run
960
+ is live.
961
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the
962
+ run's own page
963
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
964
+ --[no-]touch Override the preset's touch: --touch or --no-touch
965
+ --user-agent=<value> Override the preset's user agent, on the page and the service worker; sends no client hints, as
966
+ Safari does
967
+ --width=<value> Override the preset's width
968
+
969
+ DESCRIPTION
970
+ Emulate a device until switched off: viewport, touch and user agent, on the page and on Speed Kit's service worker
971
+
972
+ EXAMPLES
973
+ $ sk onboarding browser emulate mobile
974
+
975
+ $ sk onboarding browser emulate desktop --width 1440 --height 900
976
+
977
+ $ sk onboarding browser emulate tablet --touch --user-agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Safari/605.1.15"
978
+
979
+ $ sk onboarding browser emulate off
980
+ ```
981
+
982
+ ## `sk onboarding browser navigate URL`
983
+
984
+ Navigate the page, to any origin the app covers
985
+
986
+ ```
987
+ USAGE
988
+ $ sk onboarding browser navigate URL [--run <value>] [--json] [--timeout <value>] [--wait load|bp1|bp2|bp3|bp4] [--tab
989
+ <value>]
990
+
991
+ ARGUMENTS
992
+ URL Absolute, or relative to the origin the page is on
993
+
994
+ FLAGS
995
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
996
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
997
+ live.
998
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's
999
+ own page
1000
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1001
+ --wait=<option> [default: load] Where to return: the load event, or the Speed Kit lifecycle mark of a breakpoint
1002
+ (bp1 before the merge, bp2 after it, bp3 the SSR comparison, bp4 the SSR container removed). It
1003
+ waits for the mark and never pauses; a mark that cannot come returns at once with the reason.
1004
+ --timeout bounds it (default 30000)
1005
+ <options: load|bp1|bp2|bp3|bp4>
1006
+
1007
+ DESCRIPTION
1008
+ Navigate the page, to any origin the app covers
1009
+
1010
+ EXAMPLES
1011
+ $ sk onboarding browser navigate /checkout
1012
+
1013
+ $ sk onboarding browser navigate https://www.decathlon.de/
1014
+
1015
+ $ sk onboarding browser navigate https://www.decathlon.de/ --wait bp2 --json
1016
+ ```
1017
+
1018
+ ## `sk onboarding browser panel`
1019
+
1020
+ Show the Speed Kit devtools panel, opening DevTools if it is closed
1021
+
1022
+ ```
1023
+ USAGE
1024
+ $ sk onboarding browser panel [--run <value>] [--json] [--timeout <value>] [--tab <value>]
1025
+
1026
+ FLAGS
1027
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1028
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1029
+ live.
1030
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's
1031
+ own page
1032
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1033
+
1034
+ DESCRIPTION
1035
+ Show the Speed Kit devtools panel, opening DevTools if it is closed
1036
+
1037
+ EXAMPLES
1038
+ $ sk onboarding browser panel
1039
+ ```
1040
+
1041
+ ## `sk onboarding browser reinstall-sw`
1042
+
1043
+ Put the local Speed Kit build back after the deployed one took over
1044
+
1045
+ ```
1046
+ USAGE
1047
+ $ sk onboarding browser reinstall-sw [--run <value>] [--json] [--timeout <value>] [--tab <value>]
1048
+
1049
+ FLAGS
1050
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1051
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1052
+ live.
1053
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's
1054
+ own page
1055
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1056
+
1057
+ DESCRIPTION
1058
+ Put the local Speed Kit build back after the deployed one took over
1059
+
1060
+ EXAMPLES
1061
+ $ sk onboarding browser reinstall-sw
1062
+ ```
1063
+
1064
+ ## `sk onboarding browser reset`
1065
+
1066
+ Clear the origin the page is on. The default scope keeps cookies, and with them a login
1067
+
1068
+ ```
1069
+ USAGE
1070
+ $ sk onboarding browser reset [--run <value>] [--json] [--timeout <value>] [--scope cache|all] [--tab <value>]
1071
+
1072
+ FLAGS
1073
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1074
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1075
+ live.
1076
+ --scope=<option> [default: cache] cache: cache storage only, keeping cookies and a login. all: also cookies, and
1077
+ unregister the service worker
1078
+ <options: cache|all>
1079
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's
1080
+ own page
1081
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1082
+
1083
+ DESCRIPTION
1084
+ Clear the origin the page is on. The default scope keeps cookies, and with them a login
1085
+
1086
+ EXAMPLES
1087
+ $ sk onboarding browser reset
1088
+
1089
+ $ sk onboarding browser reset --scope all
1090
+ ```
1091
+
1092
+ ## `sk onboarding browser screenshot`
1093
+
1094
+ Screenshot the page a live run is on — the viewport, the whole page, or one element — into the run's folder
1095
+
1096
+ ```
1097
+ USAGE
1098
+ $ sk onboarding browser screenshot [--run <value>] [--json] [--timeout <value>] [--fullPage | --selector <value>]
1099
+ [--tab <value>]
1100
+
1101
+ FLAGS
1102
+ --fullPage The whole page rather than the viewport
1103
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1104
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run
1105
+ is live.
1106
+ --selector=<value> Only the first element this CSS selector matches
1107
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the
1108
+ run's own page
1109
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1110
+
1111
+ DESCRIPTION
1112
+ Screenshot the page a live run is on — the viewport, the whole page, or one element — into the run's folder
1113
+
1114
+ EXAMPLES
1115
+ $ sk onboarding browser screenshot
1116
+
1117
+ $ sk onboarding browser screenshot --fullPage
1118
+
1119
+ $ sk onboarding browser screenshot --selector .hero
1120
+ ```
1121
+
1122
+ ## `sk onboarding browser state`
1123
+
1124
+ Which service worker is in charge of the page, and whether the deployed build took over from the local one
1125
+
1126
+ ```
1127
+ USAGE
1128
+ $ sk onboarding browser state [--run <value>] [--json] [--timeout <value>] [--tab <value>]
1129
+
1130
+ FLAGS
1131
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1132
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1133
+ live.
1134
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's
1135
+ own page
1136
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1137
+
1138
+ DESCRIPTION
1139
+ Which service worker is in charge of the page, and whether the deployed build took over from the local one
1140
+
1141
+ EXAMPLES
1142
+ $ sk onboarding browser state
1143
+ ```
1144
+
1145
+ ## `sk onboarding browser tabs`
1146
+
1147
+ List the tabs of a live run's browser — popups included — as --tab addresses them
1148
+
1149
+ ```
1150
+ USAGE
1151
+ $ sk onboarding browser tabs [--run <value>] [--json] [--timeout <value>]
1152
+
1153
+ FLAGS
1154
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1155
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1156
+ live.
1157
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1158
+
1159
+ DESCRIPTION
1160
+ List the tabs of a live run's browser — popups included — as --tab addresses them
1161
+
1162
+ EXAMPLES
1163
+ $ sk onboarding browser tabs
1164
+
1165
+ $ sk onboarding browser screenshot --tab 1
1166
+
1167
+ $ sk onboarding rum get --tab shop.app
1168
+ ```
1169
+
1170
+ ## `sk onboarding cache clear`
1171
+
1172
+ Empty the local documentHandler cache of a live run
1173
+
1174
+ ```
1175
+ USAGE
1176
+ $ sk onboarding cache clear [--run <value>] [--json] [--timeout <value>]
1177
+
1178
+ FLAGS
1179
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1180
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1181
+ live.
1182
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1183
+
1184
+ DESCRIPTION
1185
+ Empty the local documentHandler cache of a live run
1186
+
1187
+ EXAMPLES
1188
+ $ sk onboarding cache clear
1189
+ ```
1190
+
1191
+ ## `sk onboarding cache errors`
1192
+
1193
+ List the urls the documentHandler is currently failing to build
1194
+
1195
+ ```
1196
+ USAGE
1197
+ $ sk onboarding cache errors [--run <value>] [--json] [--timeout <value>]
1198
+
1199
+ FLAGS
1200
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1201
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1202
+ live.
1203
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1204
+
1205
+ DESCRIPTION
1206
+ List the urls the documentHandler is currently failing to build
1207
+
1208
+ EXAMPLES
1209
+ $ sk onboarding cache errors
1210
+ ```
1211
+
1212
+ ## `sk onboarding cache evict KEY`
1213
+
1214
+ Drop the cached entries whose key contains the given string, so the next request rebuilds them
1215
+
1216
+ ```
1217
+ USAGE
1218
+ $ sk onboarding cache evict KEY [--run <value>] [--json] [--timeout <value>]
1219
+
1220
+ ARGUMENTS
1221
+ KEY Matched as a substring: a homepage url can take every url on the site. The answer names every key that went
1222
+
1223
+ FLAGS
1224
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1225
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1226
+ live.
1227
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1228
+
1229
+ DESCRIPTION
1230
+ Drop the cached entries whose key contains the given string, so the next request rebuilds them
1231
+
1232
+ EXAMPLES
1233
+ $ sk onboarding cache evict /p/123
1234
+ ```
1235
+
1236
+ ## `sk onboarding cache get KEY`
1237
+
1238
+ Read one cached entry. The body goes to a file; --select and --grep answer what is in it
1239
+
1240
+ ```
1241
+ USAGE
1242
+ $ sk onboarding cache get KEY [--run <value>] [--json] [--timeout <value>] [-v <value>] [--select <value>] [--grep
1243
+ <value>] [--maxMatches <value>]
1244
+
1245
+ ARGUMENTS
1246
+ KEY A cache key, or an origin url that names exactly one entry. An ambiguous one is refused with the candidates
1247
+
1248
+ FLAGS
1249
+ -v, --variation=<value> Only this variation's entry, e.g. mobile; default for the one without. With an origin url,
1250
+ names one entry without a cache key
1251
+ --grep=<value> Match this regular expression against the body, line by line
1252
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1253
+ --maxMatches=<value> How many select/grep matches to sample. Default 10
1254
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one
1255
+ run is live.
1256
+ --select=<value> Count and sample what this CSS selector matches in the body
1257
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1258
+
1259
+ DESCRIPTION
1260
+ Read one cached entry. The body goes to a file; --select and --grep answer what is in it
1261
+
1262
+ EXAMPLES
1263
+ $ sk onboarding cache get https://www.decathlon.de/
1264
+
1265
+ $ sk onboarding cache get https://www.decathlon.de/ --select 'script[src*="analytics"]'
1266
+
1267
+ $ sk onboarding cache get /p/123 --grep storeId
1268
+ ```
1269
+
1270
+ ## `sk onboarding cache list`
1271
+
1272
+ List what the local documentHandler cache of a live run holds
1273
+
1274
+ ```
1275
+ USAGE
1276
+ $ sk onboarding cache list [--run <value>] [--json] [--timeout <value>]
1277
+
1278
+ FLAGS
1279
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1280
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1281
+ live.
1282
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1283
+
1284
+ DESCRIPTION
1285
+ List what the local documentHandler cache of a live run holds
1286
+
1287
+ EXAMPLES
1288
+ $ sk onboarding cache list
1289
+
1290
+ $ sk onboarding cache list --run decathlon.de --json
1291
+ ```
1292
+
1293
+ ## `sk onboarding cache prewarm URL`
1294
+
1295
+ Build cache entries for a url nothing has requested: default, each --variation given, or every one with --all. An entry already cached, by a request or a config-change rebuild, is left as it is and reported as alreadyCached, not built
1296
+
1297
+ ```
1298
+ USAGE
1299
+ $ sk onboarding cache prewarm URL [--run <value>] [--json] [--timeout <value>] [--all | -v <value>...]
1300
+
1301
+ ARGUMENTS
1302
+ URL The page to build, absolute or relative to the origin the run is on. Taken verbatim: a query parameter is part of
1303
+ the identity
1304
+
1305
+ FLAGS
1306
+ -v, --variation=<value>... A cache variation to build; repeat for several. Omitted means default alone; --all for
1307
+ every one
1308
+ --all Default, every variation the page has produced in this run, and every one the runtime
1309
+ config names. Not tablet unless the page made one
1310
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1311
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly
1312
+ one run is live.
1313
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1314
+
1315
+ DESCRIPTION
1316
+ Build cache entries for a url nothing has requested: default, each --variation given, or every one with --all. An
1317
+ entry already cached, by a request or a config-change rebuild, is left as it is and reported as alreadyCached, not
1318
+ built
1319
+
1320
+ EXAMPLES
1321
+ $ sk onboarding cache prewarm /p/123 -v default -v mobile
1322
+
1323
+ $ sk onboarding cache prewarm /p/123 --all
1324
+ ```
1325
+
1326
+ ## `sk onboarding cache refresh [KEY]`
1327
+
1328
+ Rebuild cached entries from origin and say whether the origin's bytes changed
1329
+
1330
+ ```
1331
+ USAGE
1332
+ $ sk onboarding cache refresh [KEY] [--run <value>] [--json] [--timeout <value>]
1333
+
1334
+ ARGUMENTS
1335
+ [KEY] Which entries to rebuild: a cache key or an origin url. Omit for all
1336
+
1337
+ FLAGS
1338
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1339
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1340
+ live.
1341
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1342
+
1343
+ DESCRIPTION
1344
+ Rebuild cached entries from origin and say whether the origin's bytes changed
1345
+
1346
+ EXAMPLES
1347
+ $ sk onboarding cache refresh
1348
+
1349
+ $ sk onboarding cache refresh https://www.decathlon.de/
1350
+ ```
1351
+
1352
+ ## `sk onboarding cdp METHOD [PARAMS]`
1353
+
1354
+ Send one Chrome DevTools Protocol call through a live run — no debug port needed. Refuses Fetch, Target and calls that close the page or the browser
1355
+
1356
+ ```
1357
+ USAGE
1358
+ $ sk onboarding cdp METHOD [PARAMS] [--run <value>] [--json] [--timeout <value>] [-f <value>] [--tab <value>]
1359
+
1360
+ ARGUMENTS
1361
+ METHOD A CDP method, e.g. DOM.getDocument or Network.getCookies
1362
+ [PARAMS] Its parameters, as a JSON object. Or --file
1363
+
1364
+ FLAGS
1365
+ -f, --file=<value> Read the parameters from this JSON file instead
1366
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1367
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one
1368
+ run is live.
1369
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the
1370
+ run's own page
1371
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1372
+
1373
+ DESCRIPTION
1374
+ Send one Chrome DevTools Protocol call through a live run — no debug port needed. Refuses Fetch, Target and calls that
1375
+ close the page or the browser
1376
+
1377
+ EXAMPLES
1378
+ $ sk onboarding cdp Network.getCookies
1379
+
1380
+ $ sk onboarding cdp DOM.getDocument '{"depth": 2}'
1381
+
1382
+ $ sk onboarding cdp Emulation.setCPUThrottlingRate '{"rate": 4}' --tab 1
1383
+
1384
+ $ sk onboarding cdp Page.printToPDF --file params.json --json
1385
+ ```
1386
+
1387
+ ## `sk onboarding debug arm`
1388
+
1389
+ Arm breakpoints in the Speed Kit page lifecycle and, by default, reload so they can fire
1390
+
1391
+ ```
1392
+ USAGE
1393
+ $ sk onboarding debug arm [--run <value>] [--json] [--timeout <value>] [--bp <value>...] [--then reload|next-nav|none]
1394
+ [--compared] [--tab <value>]
1395
+
1396
+ FLAGS
1397
+ --bp=<value>... Which breakpoint, 1–4; repeat for several. Omitted arms all four
1398
+ --compared Pause BP1 and BP3 where their change-detection pass compares, and expose both sides as
1399
+ window.__skCD
1400
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1401
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1402
+ live.
1403
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's
1404
+ own page
1405
+ --then=<option> [default: reload] reload: load the page again, as a navigation (Speed Kit does not serve a reload
1406
+ from cache). next-nav: catch the next navigation. none: only arm
1407
+ <options: reload|next-nav|none>
1408
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1409
+
1410
+ DESCRIPTION
1411
+ Arm breakpoints in the Speed Kit page lifecycle and, by default, reload so they can fire
1412
+
1413
+ EXAMPLES
1414
+ $ sk onboarding debug arm
1415
+
1416
+ $ sk onboarding debug arm --bp 3 --then next-nav
1417
+
1418
+ $ sk onboarding debug arm --bp 1 --compared
1419
+ ```
1420
+
1421
+ ## `sk onboarding debug await`
1422
+
1423
+ Wait until a breakpoint pauses the page, and say what silence means if none does
1424
+
1425
+ ```
1426
+ USAGE
1427
+ $ sk onboarding debug await [--run <value>] [--json] [--timeout <value>] [--wait <value>] [--tab <value>]
1428
+
1429
+ FLAGS
1430
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1431
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1432
+ live.
1433
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's
1434
+ own page
1435
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1436
+ --wait=<value> How long to wait for a pause, in ms. Default 15000
1437
+
1438
+ DESCRIPTION
1439
+ Wait until a breakpoint pauses the page, and say what silence means if none does
1440
+
1441
+ EXAMPLES
1442
+ $ sk onboarding debug await
1443
+
1444
+ $ sk onboarding debug await --wait 30000
1445
+ ```
1446
+
1447
+ ## `sk onboarding debug disarm`
1448
+
1449
+ Take every breakpoint this run armed out of the page
1450
+
1451
+ ```
1452
+ USAGE
1453
+ $ sk onboarding debug disarm [--run <value>] [--json] [--timeout <value>] [--tab <value>]
1454
+
1455
+ FLAGS
1456
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1457
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1458
+ live.
1459
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's
1460
+ own page
1461
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1462
+
1463
+ DESCRIPTION
1464
+ Take every breakpoint this run armed out of the page
1465
+
1466
+ EXAMPLES
1467
+ $ sk onboarding debug disarm
1468
+ ```
1469
+
1470
+ ## `sk onboarding debug eval [EXPRESSION]`
1471
+
1472
+ Evaluate JavaScript on the paused frame, or in the page when it is not paused
1473
+
1474
+ ```
1475
+ USAGE
1476
+ $ sk onboarding debug eval [EXPRESSION] [--run <value>] [--json] [--timeout <value>] [-f <value>] [--tab <value>]
1477
+
1478
+ ARGUMENTS
1479
+ [EXPRESSION] JavaScript, evaluated on the paused frame when paused (its locals are in scope), in the page otherwise.
1480
+ Or --file
1481
+
1482
+ FLAGS
1483
+ -f, --file=<value> Read the JavaScript from this file instead: for anything longer than a line
1484
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1485
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one
1486
+ run is live.
1487
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the
1488
+ run's own page
1489
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1490
+
1491
+ DESCRIPTION
1492
+ Evaluate JavaScript on the paused frame, or in the page when it is not paused
1493
+
1494
+ EXAMPLES
1495
+ $ sk onboarding debug eval 'document.documentElement.className'
1496
+
1497
+ $ sk onboarding debug eval --file probe.js
1498
+ ```
1499
+
1500
+ ## `sk onboarding debug release`
1501
+
1502
+ Get the page running, whoever paused it: disarm, clear the panel switches, resume a foreign pause
1503
+
1504
+ ```
1505
+ USAGE
1506
+ $ sk onboarding debug release [--run <value>] [--json] [--timeout <value>] [--tab <value>]
1507
+
1508
+ FLAGS
1509
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1510
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1511
+ live.
1512
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's
1513
+ own page
1514
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1515
+
1516
+ DESCRIPTION
1517
+ Get the page running, whoever paused it: disarm, clear the panel switches, resume a foreign pause
1518
+
1519
+ EXAMPLES
1520
+ $ sk onboarding debug release
1521
+ ```
1522
+
1523
+ ## `sk onboarding debug resume`
1524
+
1525
+ Let a paused page continue
1526
+
1527
+ ```
1528
+ USAGE
1529
+ $ sk onboarding debug resume [--run <value>] [--json] [--timeout <value>] [--tab <value>]
1530
+
1531
+ FLAGS
1532
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1533
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1534
+ live.
1535
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's
1536
+ own page
1537
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1538
+
1539
+ DESCRIPTION
1540
+ Let a paused page continue
1541
+
1542
+ EXAMPLES
1543
+ $ sk onboarding debug resume
1544
+ ```
1545
+
1546
+ ## `sk onboarding debug status`
1547
+
1548
+ What is armed, what the page has reached, and who holds a pause
1549
+
1550
+ ```
1551
+ USAGE
1552
+ $ sk onboarding debug status [--run <value>] [--json] [--timeout <value>] [--tab <value>]
1553
+
1554
+ FLAGS
1555
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1556
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1557
+ live.
1558
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's
1559
+ own page
1560
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1561
+
1562
+ DESCRIPTION
1563
+ What is armed, what the page has reached, and who holds a pause
1564
+
1565
+ EXAMPLES
1566
+ $ sk onboarding debug status
1567
+ ```
1568
+
1569
+ ## `sk onboarding debug step KIND`
1570
+
1571
+ Step over, into or out of the current call of a paused page
1572
+
1573
+ ```
1574
+ USAGE
1575
+ $ sk onboarding debug step KIND [--run <value>] [--json] [--timeout <value>] [--tab <value>]
1576
+
1577
+ ARGUMENTS
1578
+ KIND (over|into|out) Step over, into or out of the current call
1579
+
1580
+ FLAGS
1581
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1582
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1583
+ live.
1584
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's
1585
+ own page
1586
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1587
+
1588
+ DESCRIPTION
1589
+ Step over, into or out of the current call of a paused page
1590
+
1591
+ EXAMPLES
1592
+ $ sk onboarding debug step over
1593
+ ```
1594
+
1595
+ ## `sk onboarding files list`
1596
+
1597
+ List the config files a live run is working with, including the ones it built in memory
1598
+
1599
+ ```
1600
+ USAGE
1601
+ $ sk onboarding files list [--run <value>] [--json] [--timeout <value>]
1602
+
1603
+ FLAGS
1604
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1605
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1606
+ live.
1607
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1608
+
1609
+ DESCRIPTION
1610
+ List the config files a live run is working with, including the ones it built in memory
1611
+
1612
+ EXAMPLES
1613
+ $ sk onboarding files list
1614
+ ```
1615
+
1616
+ ## `sk onboarding files read NAME`
1617
+
1618
+ Read one config file as the run has it. The content goes to a file; --grep answers what is in it
1619
+
1620
+ ```
1621
+ USAGE
1622
+ $ sk onboarding files read NAME [--run <value>] [--json] [--timeout <value>] [--grep <value>] [--maxMatches <value>]
1623
+
1624
+ ARGUMENTS
1625
+ NAME The logical name, e.g. config_SpeedKit, custom_documentHandler, bundle_install. `files list` names them
1626
+
1627
+ FLAGS
1628
+ --grep=<value> Match this regular expression line by line: "did my change survive the build" of a minified
1629
+ bundle
1630
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1631
+ --maxMatches=<value> How many grep matches to sample. Default 10
1632
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run
1633
+ is live.
1634
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1635
+
1636
+ DESCRIPTION
1637
+ Read one config file as the run has it. The content goes to a file; --grep answers what is in it
1638
+
1639
+ EXAMPLES
1640
+ $ sk onboarding files read bundle_install --grep storeId
1641
+
1642
+ $ sk onboarding files read config_SpeedKit
1643
+ ```
1644
+
1645
+ ## `sk onboarding files rebuild`
1646
+
1647
+ Rebuild the install resource, the documentHandler or both, as a file change would
1648
+
1649
+ ```
1650
+ USAGE
1651
+ $ sk onboarding files rebuild [--run <value>] [--json] [--timeout <value>] [--target install|documentHandler|all]
1652
+
1653
+ FLAGS
1654
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1655
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1656
+ live.
1657
+ --target=<option> [default: all] install: the install resource, then a service worker reinstall. documentHandler: the
1658
+ DH bundle, emptying the dh-cache
1659
+ <options: install|documentHandler|all>
1660
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1661
+
1662
+ DESCRIPTION
1663
+ Rebuild the install resource, the documentHandler or both, as a file change would
1664
+
1665
+ EXAMPLES
1666
+ $ sk onboarding files rebuild
1667
+
1668
+ $ sk onboarding files rebuild --target documentHandler
1669
+ ```
1670
+
1671
+ ## `sk onboarding files validate`
1672
+
1673
+ Check the customer config and the mandatory files
1674
+
1675
+ ```
1676
+ USAGE
1677
+ $ sk onboarding files validate [--run <value>] [--json] [--timeout <value>]
1678
+
1679
+ FLAGS
1680
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1681
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1682
+ live.
1683
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1684
+
1685
+ DESCRIPTION
1686
+ Check the customer config and the mandatory files
1687
+
1688
+ EXAMPLES
1689
+ $ sk onboarding files validate
1690
+ ```
1691
+
1692
+ ## `sk onboarding fouc`
1693
+
1694
+ Reload and sample the load to catch a flash of unstyled content
1695
+
1696
+ ```
1697
+ USAGE
1698
+ $ sk onboarding fouc [--run <value>] [--json] [--timeout <value>] [--selector <value>] [--duration <value>] [--tab
1699
+ <value>]
1700
+
1701
+ FLAGS
1702
+ --duration=<value> How long to sample after the reload, in ms. Default 8000
1703
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1704
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run
1705
+ is live.
1706
+ --selector=<value> The element whose styling decides whether the paint was styled, e.g. a hero. Default the body
1707
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the
1708
+ run's own page
1709
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1710
+
1711
+ DESCRIPTION
1712
+ Reload and sample the load to catch a flash of unstyled content
1713
+
1714
+ EXAMPLES
1715
+ $ sk onboarding fouc
1716
+
1717
+ $ sk onboarding fouc --selector .hero
1718
+ ```
1719
+
1720
+ ## `sk onboarding inject add`
1721
+
1722
+ Inject a script into every navigation, from before the site's own scripts run
1723
+
1724
+ ```
1725
+ USAGE
1726
+ $ sk onboarding inject add [--run <value>] [--json] [--timeout <value>] [--recipe <value> | --source <value>] [--param
1727
+ <value>...] [--ttl <value>] [--tab <value>]
1728
+
1729
+ FLAGS
1730
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1731
+ --param=<value>... A recipe argument as name=value; repeat for several. The value is read as JSON when it parses,
1732
+ else as a string
1733
+ --recipe=<value> A recipe from `recipes`. Exclusive with --source
1734
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run
1735
+ is live.
1736
+ --source=<value> Raw JavaScript, run inside the envelope; call record(value) to buffer something. Reach globals
1737
+ through window
1738
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the
1739
+ run's own page
1740
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1741
+ --ttl=<value> Minutes until it removes itself. Default 30; 0 for no expiry
1742
+
1743
+ DESCRIPTION
1744
+ Inject a script into every navigation, from before the site's own scripts run
1745
+
1746
+ EXAMPLES
1747
+ $ sk onboarding inject add --recipe mark-timeline
1748
+
1749
+ $ sk onboarding inject add --recipe spy --param path=dataLayer.push
1750
+
1751
+ $ sk onboarding inject add --source 'record(window.SpeedKit?.lastNavigate)' --ttl 0
1752
+ ```
1753
+
1754
+ ## `sk onboarding inject clear`
1755
+
1756
+ Take every injected script out
1757
+
1758
+ ```
1759
+ USAGE
1760
+ $ sk onboarding inject clear [--run <value>] [--json] [--timeout <value>] [--tab <value>]
1761
+
1762
+ FLAGS
1763
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1764
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1765
+ live.
1766
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's
1767
+ own page
1768
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1769
+
1770
+ DESCRIPTION
1771
+ Take every injected script out
1772
+
1773
+ EXAMPLES
1774
+ $ sk onboarding inject clear
1775
+ ```
1776
+
1777
+ ## `sk onboarding inject list`
1778
+
1779
+ List what is injected on a live run
1780
+
1781
+ ```
1782
+ USAGE
1783
+ $ sk onboarding inject list [--run <value>] [--json] [--timeout <value>] [--tab <value>]
1784
+
1785
+ FLAGS
1786
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1787
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1788
+ live.
1789
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's
1790
+ own page
1791
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1792
+
1793
+ DESCRIPTION
1794
+ List what is injected on a live run
1795
+
1796
+ EXAMPLES
1797
+ $ sk onboarding inject list
1798
+ ```
1799
+
1800
+ ## `sk onboarding inject read [PRELOAD]`
1801
+
1802
+ Drain what an injected script recorded, newest last
1803
+
1804
+ ```
1805
+ USAGE
1806
+ $ sk onboarding inject read [PRELOAD] [--run <value>] [--json] [--timeout <value>] [--limit <value>] [--tab <value>]
1807
+
1808
+ ARGUMENTS
1809
+ [PRELOAD] The preload id, e.g. p1. Without one, the answer names them
1810
+
1811
+ FLAGS
1812
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1813
+ --limit=<value> How many records, newest last. Default 100
1814
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1815
+ live.
1816
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's
1817
+ own page
1818
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1819
+
1820
+ DESCRIPTION
1821
+ Drain what an injected script recorded, newest last
1822
+
1823
+ EXAMPLES
1824
+ $ sk onboarding inject read p1
1825
+
1826
+ $ sk onboarding inject read p1 --limit 20 --json
1827
+ ```
1828
+
1829
+ ## `sk onboarding inject recipes`
1830
+
1831
+ List the scripts that can be injected, and what each one takes
1832
+
1833
+ ```
1834
+ USAGE
1835
+ $ sk onboarding inject recipes [--run <value>] [--json] [--timeout <value>] [--tab <value>]
1836
+
1837
+ FLAGS
1838
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1839
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1840
+ live.
1841
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's
1842
+ own page
1843
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1844
+
1845
+ DESCRIPTION
1846
+ List the scripts that can be injected, and what each one takes
1847
+
1848
+ EXAMPLES
1849
+ $ sk onboarding inject recipes
1850
+ ```
1851
+
1852
+ ## `sk onboarding inject remove PRELOAD`
1853
+
1854
+ Take one injected script out, including the copy running in the page
1855
+
1856
+ ```
1857
+ USAGE
1858
+ $ sk onboarding inject remove PRELOAD [--run <value>] [--json] [--timeout <value>] [--tab <value>]
1859
+
1860
+ ARGUMENTS
1861
+ PRELOAD The preload id, e.g. p1. `list` names them
1862
+
1863
+ FLAGS
1864
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1865
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1866
+ live.
1867
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's
1868
+ own page
1869
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1870
+
1871
+ DESCRIPTION
1872
+ Take one injected script out, including the copy running in the page
1873
+
1874
+ EXAMPLES
1875
+ $ sk onboarding inject remove p1
1876
+ ```
1877
+
1878
+ ## `sk onboarding list`
1879
+
1880
+ List the onboarding runs on this machine, live and finished
1881
+
1882
+ ```
1883
+ USAGE
1884
+ $ sk onboarding list [--run <value>] [--json]
1885
+
1886
+ FLAGS
1887
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1888
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1889
+ live.
1890
+
1891
+ DESCRIPTION
1892
+ List the onboarding runs on this machine, live and finished
1893
+
1894
+ EXAMPLES
1895
+ $ sk onboarding list
1896
+ ```
1897
+
1898
+ ## `sk onboarding logs [RUN]`
1899
+
1900
+ Read what an onboarding run did, live or long after it ended
1901
+
1902
+ ```
1903
+ USAGE
1904
+ $ sk onboarding logs [RUN] [--run <value> | --list] [--since <value>] [--until <value>] [--sinceSeq <value>]
1905
+ [--level <value>] [--scope <value>] [--grep <value>] [--url <value>] [--tail <value>] [-f] [--requests] [--outcome
1906
+ fulfilled|failed|continued|error|cancelled] [--handler <value>] [--summary] [--json]
1907
+
1908
+ ARGUMENTS
1909
+ [RUN] Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.
1910
+
1911
+ FLAGS
1912
+ -f, --follow Keep reading as the run writes. Ctrl+C to stop
1913
+ --grep=<value> Only lines whose message matches this regex (case-insensitive)
1914
+ --handler=<value> With --requests: only the requests this handler answered
1915
+ --json Raw events, one JSON object per line, to stdout
1916
+ --level=<value> This level and above: debug, info, success, warn, error
1917
+ --list List the recorded runs instead of reading one
1918
+ --outcome=<option> With --requests: only fulfilled, failed, continued, error or cancelled
1919
+ <options: fulfilled|failed|continued|error|cancelled>
1920
+ --requests Read the intercepted requests instead of the narration: what the CLI served, aborted or handed
1921
+ straight to Chrome
1922
+ --run=<value> Which run, as every other `sk onboarding <tool> <op>` names it; the same as the argument
1923
+ --scope=<value> Only these scopes, comma-separated: cli, browser, sw, fetch, documentHandler, config, cache,
1924
+ extension, athena, todo, appToken, process, console (the page's warnings and errors)
1925
+ --since=<value> Only lines after this: a span like 5m, 2h, 1d, or an ISO timestamp
1926
+ --sinceSeq=<value> Only lines after this sequence number — the cursor a previous read reported
1927
+ --summary One screen for the whole run: counts, deduplicated problems, failed actions, questions asked
1928
+ --tail=<value> Only the last n matching lines
1929
+ --until=<value> Only lines before this. Same formats as --since
1930
+ --url=<value> Only lines mentioning this url, in the message or in the data
1931
+
1932
+ DESCRIPTION
1933
+ Read what an onboarding run did, live or long after it ended
1934
+
1935
+ EXAMPLES
1936
+ $ sk onboarding logs
1937
+
1938
+ $ sk onboarding logs --list
1939
+
1940
+ $ sk onboarding logs decathlon.de --summary
1941
+
1942
+ $ sk onboarding logs --run decathlon.de --level warn --json
1943
+
1944
+ $ sk onboarding logs --level warn --since 10m
1945
+
1946
+ $ sk onboarding logs --scope sw,fetch --url /checkout
1947
+
1948
+ $ sk onboarding logs --follow
1949
+
1950
+ $ sk onboarding logs --requests --outcome continued --url /checkout
1951
+ ```
1952
+
1953
+ ## `sk onboarding navwalk`
1954
+
1955
+ Click into a login or checkout flow and list every same-origin document hop: the disabledScopes candidates
1956
+
1957
+ ```
1958
+ USAGE
1959
+ $ sk onboarding navwalk [--run <value>] [--json] [--timeout <value>] [--url <value>] [--wait <value>] [--all | --flow
1960
+ login|checkout | --click <value>] [--tab <value>]
1961
+
1962
+ FLAGS
1963
+ --all Walk both built-in flows, login then checkout, and report them together
1964
+ --click=<value> The control to click: a CSS selector, or text matched against links and buttons
1965
+ --flow=<option> The built-in trigger; checkout starts at /cart. Default login when no --click is given
1966
+ <options: login|checkout>
1967
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
1968
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
1969
+ live.
1970
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's
1971
+ own page
1972
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
1973
+ --url=<value> Navigate here first, so the walk starts somewhere known
1974
+ --wait=<value> How long to collect after the click, in ms. Default 9000
1975
+
1976
+ DESCRIPTION
1977
+ Click into a login or checkout flow and list every same-origin document hop: the disabledScopes candidates
1978
+
1979
+ EXAMPLES
1980
+ $ sk onboarding navwalk
1981
+
1982
+ $ sk onboarding navwalk --flow checkout
1983
+
1984
+ $ sk onboarding navwalk --click Anmelden
1985
+ ```
1986
+
1987
+ ## `sk onboarding response [URL]`
1988
+
1989
+ Why a url came back the way it did: the rule verdict, the cache entry and what Speed Kit reported
1990
+
1991
+ ```
1992
+ USAGE
1993
+ $ sk onboarding response [URL] [--run <value>] [--json] [--timeout <value>] [--tab <value>]
1994
+
1995
+ ARGUMENTS
1996
+ [URL] Absolute, or relative to the customer origin. Omitted means the page the run is on
1997
+
1998
+ FLAGS
1999
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
2000
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
2001
+ live.
2002
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's
2003
+ own page
2004
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
2005
+
2006
+ DESCRIPTION
2007
+ Why a url came back the way it did: the rule verdict, the cache entry and what Speed Kit reported
2008
+
2009
+ EXAMPLES
2010
+ $ sk onboarding response
2011
+
2012
+ $ sk onboarding response /checkout
2013
+ ```
2014
+
2015
+ ## `sk onboarding rum beacons`
2016
+
2017
+ The RUM beacons as they left the page — which one carried a field, and when. --follow watches while you act
2018
+
2019
+ ```
2020
+ USAGE
2021
+ $ sk onboarding rum beacons [--run <value>] [--json] [--timeout <value>] [--key <value>] [-f] [--sinceSeq <value>]
2022
+
2023
+ FLAGS
2024
+ -f, --follow Keep printing new beacons until Ctrl+C: act, and watch
2025
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
2026
+ --key=<value> Only beacons carrying this field, anywhere in the payload, with its value
2027
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one
2028
+ run is live.
2029
+ --sinceSeq=<value> Only beacons after this sequence number
2030
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
2031
+
2032
+ DESCRIPTION
2033
+ The RUM beacons as they left the page — which one carried a field, and when. --follow watches while you act
2034
+
2035
+ EXAMPLES
2036
+ $ sk onboarding rum beacons
2037
+
2038
+ $ sk onboarding rum beacons --key addToCart --follow
2039
+ ```
2040
+
2041
+ ## `sk onboarding rum get`
2042
+
2043
+ Read what Speed Kit tracked for the page: sent data only, unless --flush
2044
+
2045
+ ```
2046
+ USAGE
2047
+ $ sk onboarding rum get [--run <value>] [--json] [--timeout <value>] [--key <value>...] [--flush] [--tab <value>]
2048
+
2049
+ FLAGS
2050
+ --flush Force a send first, so nothing is missing. It ends the impression being measured: prefer `rum key`
2051
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
2052
+ --key=<value>... Only this field; repeat for several
2053
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
2054
+ live.
2055
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's
2056
+ own page
2057
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
2058
+
2059
+ DESCRIPTION
2060
+ Read what Speed Kit tracked for the page: sent data only, unless --flush
2061
+
2062
+ EXAMPLES
2063
+ $ sk onboarding rum get
2064
+
2065
+ $ sk onboarding rum get --key pageType --key variation
2066
+ ```
2067
+
2068
+ ## `sk onboarding rum key KEY`
2069
+
2070
+ Read one RUM field, unsent data included, without ending the impression
2071
+
2072
+ ```
2073
+ USAGE
2074
+ $ sk onboarding rum key KEY [--run <value>] [--json] [--timeout <value>] [--tab <value>]
2075
+
2076
+ ARGUMENTS
2077
+ KEY The RUM field, e.g. a custom dimension. Unsent data included
2078
+
2079
+ FLAGS
2080
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
2081
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
2082
+ live.
2083
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's
2084
+ own page
2085
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
2086
+
2087
+ DESCRIPTION
2088
+ Read one RUM field, unsent data included, without ending the impression
2089
+
2090
+ EXAMPLES
2091
+ $ sk onboarding rum key myCustomDimension
2092
+ ```
2093
+
2094
+ ## `sk onboarding rum previous`
2095
+
2096
+ Read the previous page impression: on an SPA, the one that loaded the page
2097
+
2098
+ ```
2099
+ USAGE
2100
+ $ sk onboarding rum previous [--run <value>] [--json] [--timeout <value>] [--tab <value>]
2101
+
2102
+ FLAGS
2103
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
2104
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
2105
+ live.
2106
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's
2107
+ own page
2108
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
2109
+
2110
+ DESCRIPTION
2111
+ Read the previous page impression: on an SPA, the one that loaded the page
2112
+
2113
+ EXAMPLES
2114
+ $ sk onboarding rum previous
2115
+ ```
2116
+
2117
+ ## `sk onboarding status`
2118
+
2119
+ The live onboarding run, or the one --run names. A live run's page is probed: `page.answers` says whether it answers CDP within 3 s
2120
+
2121
+ ```
2122
+ USAGE
2123
+ $ sk onboarding status [--run <value>] [--json]
2124
+
2125
+ FLAGS
2126
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
2127
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
2128
+ live.
2129
+
2130
+ DESCRIPTION
2131
+ The live onboarding run, or the one --run names. A live run's page is probed: `page.answers` says whether it answers
2132
+ CDP within 3 s
2133
+
2134
+ EXAMPLES
2135
+ $ sk onboarding status
2136
+
2137
+ $ sk onboarding status --run decathlon.de --json
2138
+ ```
2139
+
2140
+ ## `sk onboarding stop`
2141
+
2142
+ End the live onboarding run, or the one --run names, as Ctrl+C does
2143
+
2144
+ ```
2145
+ USAGE
2146
+ $ sk onboarding stop [--run <value>] [--json]
2147
+
2148
+ FLAGS
2149
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
2150
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
2151
+ live.
2152
+
2153
+ DESCRIPTION
2154
+ End the live onboarding run, or the one --run names, as Ctrl+C does
2155
+
2156
+ EXAMPLES
2157
+ $ sk onboarding stop
2158
+
2159
+ $ sk onboarding stop --run worktree/my-task/customers/decathlon.de --json
2160
+ ```
2161
+
2162
+ ## `sk onboarding todo`
2163
+
2164
+ List the TODOs left in the config files of a live run, with the file and line to open
2165
+
2166
+ ```
2167
+ USAGE
2168
+ $ sk onboarding todo [--run <value>] [--json] [--timeout <value>]
2169
+
2170
+ FLAGS
2171
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
2172
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
2173
+ live.
2174
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
2175
+
2176
+ DESCRIPTION
2177
+ List the TODOs left in the config files of a live run, with the file and line to open
2178
+
2179
+ EXAMPLES
2180
+ $ sk onboarding todo
2181
+ ```
2182
+
2183
+ ## `sk onboarding viewport`
2184
+
2185
+ Sweep the viewport to find the widths where the page's JavaScript re-renders: what a device variation has to cover
2186
+
2187
+ ```
2188
+ USAGE
2189
+ $ sk onboarding viewport [--run <value>] [--json] [--timeout <value>] [--min <value>] [--max <value>] [--step <value>]
2190
+ [--settle <value>] [--height <value>] [--url <value>] [--tab <value>]
2191
+
2192
+ FLAGS
2193
+ --height=<value> Viewport height. Default 900
2194
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
2195
+ --max=<value> Widest width. Default 1600
2196
+ --min=<value> Narrowest width. Default 360
2197
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is
2198
+ live.
2199
+ --settle=<value> How long the page gets to react to each resize, in ms. Default 350
2200
+ --step=<value> Coarse increment before pinning to the pixel. Default 20; lower it for breakpoints close together
2201
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's
2202
+ own page
2203
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
2204
+ --url=<value> Navigate here first, so the sweep is of a known page
2205
+
2206
+ DESCRIPTION
2207
+ Sweep the viewport to find the widths where the page's JavaScript re-renders: what a device variation has to cover
2208
+
2209
+ EXAMPLES
2210
+ $ sk onboarding viewport
2211
+
2212
+ $ sk onboarding viewport --min 700 --max 1100 --step 10
2213
+ ```
2214
+
2215
+ ## `sk onboarding watch EXPRESSION`
2216
+
2217
+ Sample an expression in the page across a load, with the console messages beside it
2218
+
2219
+ ```
2220
+ USAGE
2221
+ $ sk onboarding watch EXPRESSION [--run <value>] [--json] [--timeout <value>] [--interval <value>] [--duration
2222
+ <value>] [--reload] [--full] [--tab <value>]
2223
+
2224
+ ARGUMENTS
2225
+ EXPRESSION JavaScript returning a JSON-able value, evaluated every tick, e.g. '!!window.SpeedKit'
2226
+
2227
+ FLAGS
2228
+ --duration=<value> How long to watch, in ms. Default 15000, at most 120000
2229
+ --full Every sample, not only the ones where the value changed
2230
+ --interval=<value> Milliseconds between samples. Default 200
2231
+ --json The answer as one JSON document on stdout; a failure as { code, message } with exit code 1
2232
+ --reload Reload first, so the timeline starts at t=0 of a fresh load. Almost always right for a question
2233
+ about page load
2234
+ --run=<value> Which run: its id, its customer name, or the path it was started with. Omit when exactly one run
2235
+ is live.
2236
+ --tab=<value> Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the
2237
+ run's own page
2238
+ --timeout=<value> How long to wait for the run to answer, in ms. The default suits the op
2239
+
2240
+ DESCRIPTION
2241
+ Sample an expression in the page across a load, with the console messages beside it
2242
+
2243
+ EXAMPLES
2244
+ $ sk onboarding watch '!!window.SpeedKit' --reload
2245
+
2246
+ $ sk onboarding watch 'document.title' --reload --duration 30000
2247
+ ```
2248
+
840
2249
  ## `sk origin-request [CUSTOMERPATH] [PAGEURL]`
841
2250
 
842
2251
  Request a page from origin with the exact headers Speed Kit's server sends for a cache variation, using the app's deployed runtime config
@@ -844,7 +2253,7 @@ Request a page from origin with the exact headers Speed Kit's server sends for a
844
2253
  ```
845
2254
  USAGE
846
2255
  $ sk origin-request [CUSTOMERPATH] [PAGEURL] [-c <value>] [-v <value>] [--host <value>] [--body <value>] [--grep
847
- <value>] [--json] [--variations <value>] [--raw]
2256
+ <value>] [--select <value>] [--maxMatches <value>] [--json] [--variations <value>] [--raw]
848
2257
 
849
2258
  ARGUMENTS
850
2259
  [CUSTOMERPATH] The customer config path; optional with --raw, which then sends Speed Kit's device defaults
@@ -858,8 +2267,10 @@ FLAGS
858
2267
  --grep=<value> Print body lines matching this regex, case-insensitive
859
2268
  --host=<value> Send this Host header, emulating an origin-map host override
860
2269
  --json Machine-readable output
2270
+ --maxMatches=<value> How many --select and --grep matches to show. Default 10
861
2271
  --raw Request without a customer: the customer path becomes optional, and the request carries
862
2272
  Speed Kit's device defaults (default, mobile, tablet) and no variation of an app
2273
+ --select=<value> Count and sample what this CSS selector matches in the body, e.g. 'script[src*="analytics"]'
863
2274
  --variations=<value> Simulate against a runtime config in a local file instead of the app's deployed one
864
2275
 
865
2276
  DESCRIPTION