@speedkit/cli 4.51.1 → 4.52.0

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 (439) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +1426 -14
  3. package/dist/base/run-control-command.d.ts +15 -0
  4. package/dist/base/run-control-command.js +20 -0
  5. package/dist/build-info.json +6 -0
  6. package/dist/commands/diff.d.ts +7 -1
  7. package/dist/commands/diff.js +9 -3
  8. package/dist/commands/login.d.ts +3 -0
  9. package/dist/commands/login.js +14 -3
  10. package/dist/commands/onboarding/browser/click.d.ts +75 -0
  11. package/dist/commands/onboarding/browser/click.js +19 -0
  12. package/dist/commands/onboarding/browser/emulate.d.ts +105 -0
  13. package/dist/commands/onboarding/browser/emulate.js +26 -0
  14. package/dist/commands/onboarding/browser/navigate.d.ts +75 -0
  15. package/dist/commands/onboarding/browser/navigate.js +19 -0
  16. package/dist/commands/onboarding/browser/panel.d.ts +63 -0
  17. package/dist/commands/onboarding/browser/panel.js +12 -0
  18. package/dist/commands/onboarding/browser/reinstall-sw.d.ts +63 -0
  19. package/dist/commands/onboarding/browser/reinstall-sw.js +14 -0
  20. package/dist/commands/onboarding/browser/reset.d.ts +71 -0
  21. package/dist/commands/onboarding/browser/reset.js +18 -0
  22. package/dist/commands/onboarding/browser/screenshot.d.ts +77 -0
  23. package/dist/commands/onboarding/browser/screenshot.js +19 -0
  24. package/dist/commands/onboarding/browser/state.d.ts +63 -0
  25. package/dist/commands/onboarding/browser/state.js +12 -0
  26. package/dist/commands/onboarding/browser/tabs.d.ts +58 -0
  27. package/dist/commands/onboarding/browser/tabs.js +16 -0
  28. package/dist/commands/onboarding/cache/clear.d.ts +58 -0
  29. package/dist/commands/onboarding/cache/clear.js +12 -0
  30. package/dist/commands/onboarding/cache/errors.d.ts +58 -0
  31. package/dist/commands/onboarding/cache/errors.js +12 -0
  32. package/dist/commands/onboarding/cache/evict.d.ts +62 -0
  33. package/dist/commands/onboarding/cache/evict.js +15 -0
  34. package/dist/commands/onboarding/cache/get.d.ts +85 -0
  35. package/dist/commands/onboarding/cache/get.js +17 -0
  36. package/dist/commands/onboarding/cache/list.d.ts +58 -0
  37. package/dist/commands/onboarding/cache/list.js +15 -0
  38. package/dist/commands/onboarding/cache/prewarm.d.ts +73 -0
  39. package/dist/commands/onboarding/cache/prewarm.js +20 -0
  40. package/dist/commands/onboarding/cache/refresh.d.ts +62 -0
  41. package/dist/commands/onboarding/cache/refresh.js +18 -0
  42. package/dist/commands/onboarding/cdp.d.ts +81 -0
  43. package/dist/commands/onboarding/cdp.js +18 -0
  44. package/dist/commands/onboarding/debug/arm.d.ts +83 -0
  45. package/dist/commands/onboarding/debug/arm.js +19 -0
  46. package/dist/commands/onboarding/debug/await.d.ts +71 -0
  47. package/dist/commands/onboarding/debug/await.js +18 -0
  48. package/dist/commands/onboarding/debug/disarm.d.ts +63 -0
  49. package/dist/commands/onboarding/debug/disarm.js +12 -0
  50. package/dist/commands/onboarding/debug/eval.d.ts +75 -0
  51. package/dist/commands/onboarding/debug/eval.js +16 -0
  52. package/dist/commands/onboarding/debug/release.d.ts +63 -0
  53. package/dist/commands/onboarding/debug/release.js +12 -0
  54. package/dist/commands/onboarding/debug/resume.d.ts +63 -0
  55. package/dist/commands/onboarding/debug/resume.js +12 -0
  56. package/dist/commands/onboarding/debug/status.d.ts +63 -0
  57. package/dist/commands/onboarding/debug/status.js +12 -0
  58. package/dist/commands/onboarding/debug/step.d.ts +67 -0
  59. package/dist/commands/onboarding/debug/step.js +15 -0
  60. package/dist/commands/onboarding/files/list.d.ts +58 -0
  61. package/dist/commands/onboarding/files/list.js +12 -0
  62. package/dist/commands/onboarding/files/read.d.ts +73 -0
  63. package/dist/commands/onboarding/files/read.js +16 -0
  64. package/dist/commands/onboarding/files/rebuild.d.ts +63 -0
  65. package/dist/commands/onboarding/files/rebuild.js +18 -0
  66. package/dist/commands/onboarding/files/validate.d.ts +58 -0
  67. package/dist/commands/onboarding/files/validate.js +12 -0
  68. package/dist/commands/onboarding/fouc.d.ts +77 -0
  69. package/dist/commands/onboarding/fouc.js +16 -0
  70. package/dist/commands/onboarding/inject/add.d.ts +89 -0
  71. package/dist/commands/onboarding/inject/add.js +17 -0
  72. package/dist/commands/onboarding/inject/clear.d.ts +63 -0
  73. package/dist/commands/onboarding/inject/clear.js +12 -0
  74. package/dist/commands/onboarding/inject/list.d.ts +63 -0
  75. package/dist/commands/onboarding/inject/list.js +12 -0
  76. package/dist/commands/onboarding/inject/read.d.ts +75 -0
  77. package/dist/commands/onboarding/inject/read.js +18 -0
  78. package/dist/commands/onboarding/inject/recipes.d.ts +63 -0
  79. package/dist/commands/onboarding/inject/recipes.js +12 -0
  80. package/dist/commands/onboarding/inject/remove.d.ts +67 -0
  81. package/dist/commands/onboarding/inject/remove.js +15 -0
  82. package/dist/commands/onboarding/list.d.ts +13 -0
  83. package/dist/commands/onboarding/list.js +12 -0
  84. package/dist/commands/onboarding/logs.d.ts +41 -0
  85. package/dist/commands/onboarding/logs.js +257 -0
  86. package/dist/commands/onboarding/navwalk.d.ts +95 -0
  87. package/dist/commands/onboarding/navwalk.js +19 -0
  88. package/dist/commands/onboarding/response.d.ts +67 -0
  89. package/dist/commands/onboarding/response.js +18 -0
  90. package/dist/commands/onboarding/rum/beacons.d.ts +75 -0
  91. package/dist/commands/onboarding/rum/beacons.js +16 -0
  92. package/dist/commands/onboarding/rum/get.d.ts +77 -0
  93. package/dist/commands/onboarding/rum/get.js +18 -0
  94. package/dist/commands/onboarding/rum/key.d.ts +67 -0
  95. package/dist/commands/onboarding/rum/key.js +13 -0
  96. package/dist/commands/onboarding/rum/previous.d.ts +63 -0
  97. package/dist/commands/onboarding/rum/previous.js +12 -0
  98. package/dist/commands/onboarding/status.d.ts +13 -0
  99. package/dist/commands/onboarding/status.js +17 -0
  100. package/dist/commands/onboarding/stop.d.ts +13 -0
  101. package/dist/commands/onboarding/stop.js +17 -0
  102. package/dist/commands/onboarding/todo.d.ts +58 -0
  103. package/dist/commands/onboarding/todo.js +12 -0
  104. package/dist/commands/onboarding/viewport.d.ts +101 -0
  105. package/dist/commands/onboarding/viewport.js +18 -0
  106. package/dist/commands/onboarding/watch.d.ts +93 -0
  107. package/dist/commands/onboarding/watch.js +16 -0
  108. package/dist/commands/onboarding.d.ts +26 -0
  109. package/dist/commands/onboarding.js +221 -4
  110. package/dist/commands/origin-request.d.ts +4 -0
  111. package/dist/commands/origin-request.js +4 -0
  112. package/dist/commands/spec/onboarding.spec.d.ts +1 -0
  113. package/dist/commands/spec/onboarding.spec.js +127 -0
  114. package/dist/services/browser-fetch/device-emulation.d.ts +11 -0
  115. package/dist/services/browser-fetch/device-emulation.js +14 -0
  116. package/dist/services/cli/build-info.d.ts +33 -0
  117. package/dist/services/cli/build-info.js +63 -0
  118. package/dist/services/cli/cli-environment-factory.d.ts +3 -0
  119. package/dist/services/cli/cli-environment-factory.js +1 -0
  120. package/dist/services/cli/cli-service-build-context.d.ts +3 -0
  121. package/dist/services/cli/cli-service-factory.js +1 -1
  122. package/dist/services/cli/cli-service-model.d.ts +29 -10
  123. package/dist/services/cli/cli-service.d.ts +60 -11
  124. package/dist/services/cli/cli-service.js +196 -32
  125. package/dist/services/cli/index.d.ts +2 -0
  126. package/dist/services/cli/index.js +2 -0
  127. package/dist/services/cli/sink.d.ts +47 -0
  128. package/dist/services/cli/sink.js +31 -0
  129. package/dist/services/cli/spec/build-identity.spec.d.ts +1 -0
  130. package/dist/services/cli/spec/build-identity.spec.js +85 -0
  131. package/dist/services/cli/spec/build-info.spec.d.ts +1 -0
  132. package/dist/services/cli/spec/build-info.spec.js +10 -0
  133. package/dist/services/cli/spec/cli-service-log.spec.d.ts +1 -0
  134. package/dist/services/cli/spec/cli-service-log.spec.js +133 -0
  135. package/dist/services/cli/spec/cli-service.spec.js +113 -50
  136. package/dist/services/cli/spec/memory-cli.d.ts +9 -0
  137. package/dist/services/cli/spec/memory-cli.js +9 -0
  138. package/dist/services/diff/config-at-ref.d.ts +20 -0
  139. package/dist/services/diff/config-at-ref.js +33 -0
  140. package/dist/services/diff/diff-service-build-context.d.ts +12 -0
  141. package/dist/services/diff/diff-service-build-context.js +45 -1
  142. package/dist/services/diff/diff-service-factory.d.ts +2 -0
  143. package/dist/services/diff/diff-service-factory.js +65 -25
  144. package/dist/services/diff/diff-service.d.ts +11 -0
  145. package/dist/services/diff/diff-service.js +37 -11
  146. package/dist/services/diff/page-source.d.ts +12 -0
  147. package/dist/services/diff/page-source.js +16 -11
  148. package/dist/services/diff/run-runtime-config.d.ts +33 -0
  149. package/dist/services/diff/run-runtime-config.js +74 -0
  150. package/dist/services/diff/sinks/tool-diff-sink.d.ts +3 -2
  151. package/dist/services/diff/sinks/tool-diff-sink.js +3 -2
  152. package/dist/services/diff/spec/config-at-ref.spec.d.ts +1 -0
  153. package/dist/services/diff/spec/config-at-ref.spec.js +46 -0
  154. package/dist/services/diff/spec/diff-service-build-context.spec.js +19 -0
  155. package/dist/services/diff/spec/diff-service.spec.js +95 -0
  156. package/dist/services/diff/spec/run-runtime-config.spec.d.ts +1 -0
  157. package/dist/services/diff/spec/run-runtime-config.spec.js +87 -0
  158. package/dist/services/git/git-repository.d.ts +2 -0
  159. package/dist/services/git/git-repository.js +6 -0
  160. package/dist/services/integration-api/customer-config-flags.js +1 -0
  161. package/dist/services/onboarding/browse/browse-service.d.ts +13 -1
  162. package/dist/services/onboarding/browse/browse-service.js +43 -7
  163. package/dist/services/onboarding/browser/answer-dialogs.d.ts +12 -0
  164. package/dist/services/onboarding/browser/answer-dialogs.js +25 -0
  165. package/dist/services/onboarding/browser/baqend-response.d.ts +17 -1
  166. package/dist/services/onboarding/browser/baqend-response.js +23 -0
  167. package/dist/services/onboarding/browser/console-log.d.ts +9 -0
  168. package/dist/services/onboarding/browser/console-log.js +27 -0
  169. package/dist/services/onboarding/browser/emulate-device.d.ts +12 -1
  170. package/dist/services/onboarding/browser/emulate-device.js +68 -13
  171. package/dist/services/onboarding/browser/executable/executable-validator.js +4 -2
  172. package/dist/services/onboarding/browser/extension/extension-bridge.js +5 -3
  173. package/dist/services/onboarding/browser/extension/extension-downloader.js +17 -8
  174. package/dist/services/onboarding/browser/extension/extension-validator.js +9 -4
  175. package/dist/services/onboarding/browser/launch-browser.d.ts +2 -1
  176. package/dist/services/onboarding/browser/launch-browser.js +6 -1
  177. package/dist/services/onboarding/browser/resume-restarted-workers.d.ts +14 -0
  178. package/dist/services/onboarding/browser/resume-restarted-workers.js +26 -0
  179. package/dist/services/onboarding/control/body-inspect.d.ts +24 -0
  180. package/dist/services/onboarding/control/body-inspect.js +106 -0
  181. package/dist/services/onboarding/control/browser-session.d.ts +547 -0
  182. package/dist/services/onboarding/control/browser-session.js +1337 -0
  183. package/dist/services/onboarding/control/config-validation.d.ts +17 -0
  184. package/dist/services/onboarding/control/config-validation.js +46 -0
  185. package/dist/services/onboarding/control/control-protocol.d.ts +1430 -0
  186. package/dist/services/onboarding/control/control-protocol.js +58 -0
  187. package/dist/services/onboarding/control/control-server.d.ts +292 -0
  188. package/dist/services/onboarding/control/control-server.js +1629 -0
  189. package/dist/services/onboarding/control/debug-session.d.ts +219 -0
  190. package/dist/services/onboarding/control/debug-session.js +897 -0
  191. package/dist/services/onboarding/control/fouc.d.ts +23 -0
  192. package/dist/services/onboarding/control/fouc.js +151 -0
  193. package/dist/services/onboarding/control/index.d.ts +4 -0
  194. package/dist/services/onboarding/control/index.js +4 -0
  195. package/dist/services/onboarding/control/navigate-wait.d.ts +33 -0
  196. package/dist/services/onboarding/control/navigate-wait.js +56 -0
  197. package/dist/services/onboarding/control/navwalk.d.ts +65 -0
  198. package/dist/services/onboarding/control/navwalk.js +248 -0
  199. package/dist/services/onboarding/control/preload-registry.d.ts +150 -0
  200. package/dist/services/onboarding/control/preload-registry.js +829 -0
  201. package/dist/services/onboarding/control/response-explainer.d.ts +24 -0
  202. package/dist/services/onboarding/control/response-explainer.js +257 -0
  203. package/dist/services/onboarding/control/rum.d.ts +8 -0
  204. package/dist/services/onboarding/control/rum.js +220 -0
  205. package/dist/services/onboarding/control/service-worker-tracker.d.ts +68 -0
  206. package/dist/services/onboarding/control/service-worker-tracker.js +120 -0
  207. package/dist/services/onboarding/control/viewport.d.ts +45 -0
  208. package/dist/services/onboarding/control/viewport.js +344 -0
  209. package/dist/services/onboarding/control/watch.d.ts +26 -0
  210. package/dist/services/onboarding/control/watch.js +157 -0
  211. package/dist/services/onboarding/dashboard/diff-against-current-page.js +3 -1
  212. package/dist/services/onboarding/dashboard/index.js +7 -2
  213. package/dist/services/onboarding/fetch-event-handler.d.ts +24 -5
  214. package/dist/services/onboarding/fetch-event-handler.js +103 -32
  215. package/dist/services/onboarding/fetch-events/speed-kit-install-js.js +11 -2
  216. package/dist/services/onboarding/fetch-events/speed-kit-rum-pi-request.d.ts +14 -0
  217. package/dist/services/onboarding/fetch-events/speed-kit-rum-pi-request.js +30 -0
  218. package/dist/services/onboarding/fetch-events/speed-kit-service-worker-js.d.ts +13 -0
  219. package/dist/services/onboarding/fetch-events/speed-kit-service-worker-js.js +28 -1
  220. package/dist/services/onboarding/file-events/file-watcher.d.ts +42 -1
  221. package/dist/services/onboarding/file-events/file-watcher.js +117 -12
  222. package/dist/services/onboarding/inject/inject-service.js +1 -1
  223. package/dist/services/onboarding/onboarding-model.d.ts +40 -7
  224. package/dist/services/onboarding/onboarding-model.js +20 -9
  225. package/dist/services/onboarding/onboarding-service-build-context.d.ts +4 -0
  226. package/dist/services/onboarding/onboarding-service-build-context.js +7 -1
  227. package/dist/services/onboarding/onboarding-service-factory.d.ts +17 -1
  228. package/dist/services/onboarding/onboarding-service-factory.js +150 -23
  229. package/dist/services/onboarding/onboarding-service.d.ts +40 -1
  230. package/dist/services/onboarding/onboarding-service.js +139 -23
  231. package/dist/services/onboarding/request-cache/asset-key.d.ts +61 -0
  232. package/dist/services/onboarding/request-cache/asset-key.js +115 -0
  233. package/dist/services/onboarding/request-cache/cache.d.ts +62 -5
  234. package/dist/services/onboarding/request-cache/cache.js +128 -17
  235. package/dist/services/onboarding/spec/browser/answer-dialogs.spec.d.ts +1 -0
  236. package/dist/services/onboarding/spec/browser/answer-dialogs.spec.js +66 -0
  237. package/dist/services/onboarding/spec/browser/console-log.spec.d.ts +1 -0
  238. package/dist/services/onboarding/spec/browser/console-log.spec.js +42 -0
  239. package/dist/services/onboarding/spec/browser/resume-restarted-workers.spec.d.ts +1 -0
  240. package/dist/services/onboarding/spec/browser/resume-restarted-workers.spec.js +45 -0
  241. package/dist/services/onboarding/spec/control/browser-session.spec.d.ts +1 -0
  242. package/dist/services/onboarding/spec/control/browser-session.spec.js +753 -0
  243. package/dist/services/onboarding/spec/control/control-server.spec.d.ts +1 -0
  244. package/dist/services/onboarding/spec/control/control-server.spec.js +371 -0
  245. package/dist/services/onboarding/spec/control/debug-session.spec.d.ts +1 -0
  246. package/dist/services/onboarding/spec/control/debug-session.spec.js +751 -0
  247. package/dist/services/onboarding/spec/control/fakes.d.ts +31 -0
  248. package/dist/services/onboarding/spec/control/fakes.js +67 -0
  249. package/dist/services/onboarding/spec/control/fouc.spec.d.ts +1 -0
  250. package/dist/services/onboarding/spec/control/fouc.spec.js +167 -0
  251. package/dist/services/onboarding/spec/control/navigate-wait.spec.d.ts +1 -0
  252. package/dist/services/onboarding/spec/control/navigate-wait.spec.js +47 -0
  253. package/dist/services/onboarding/spec/control/navwalk.spec.d.ts +1 -0
  254. package/dist/services/onboarding/spec/control/navwalk.spec.js +222 -0
  255. package/dist/services/onboarding/spec/control/preload-registry.spec.d.ts +1 -0
  256. package/dist/services/onboarding/spec/control/preload-registry.spec.js +432 -0
  257. package/dist/services/onboarding/spec/control/response-explainer.spec.d.ts +1 -0
  258. package/dist/services/onboarding/spec/control/response-explainer.spec.js +324 -0
  259. package/dist/services/onboarding/spec/control/rum.spec.d.ts +1 -0
  260. package/dist/services/onboarding/spec/control/rum.spec.js +222 -0
  261. package/dist/services/onboarding/spec/control/service-worker-tracker.spec.d.ts +1 -0
  262. package/dist/services/onboarding/spec/control/service-worker-tracker.spec.js +193 -0
  263. package/dist/services/onboarding/spec/control/viewport.spec.d.ts +1 -0
  264. package/dist/services/onboarding/spec/control/viewport.spec.js +200 -0
  265. package/dist/services/onboarding/spec/control/watch.spec.d.ts +1 -0
  266. package/dist/services/onboarding/spec/control/watch.spec.js +187 -0
  267. package/dist/services/onboarding/spec/fetch-event-handler.spec.d.ts +1 -0
  268. package/dist/services/onboarding/spec/fetch-event-handler.spec.js +219 -0
  269. package/dist/services/onboarding/spec/fetch-events/speed-kit-service-worker-js.spec.d.ts +1 -0
  270. package/dist/services/onboarding/spec/fetch-events/speed-kit-service-worker-js.spec.js +41 -0
  271. package/dist/services/onboarding/spec/onboarding-model.spec.js +39 -3
  272. package/dist/services/onboarding/spec/onboarding-service-factory.spec.js +25 -1
  273. package/dist/services/onboarding/spec/request-cache/cache.spec.d.ts +1 -0
  274. package/dist/services/onboarding/spec/request-cache/cache.spec.js +107 -0
  275. package/dist/services/onboarding/spec/todo-collector.spec.d.ts +1 -0
  276. package/dist/services/onboarding/spec/todo-collector.spec.js +136 -0
  277. package/dist/services/onboarding/spec/virtual-orestes-app/virtual-orestes-app.spec.d.ts +1 -0
  278. package/dist/services/onboarding/spec/virtual-orestes-app/virtual-orestes-app.spec.js +65 -0
  279. package/dist/services/onboarding/todo-collector.d.ts +7 -2
  280. package/dist/services/onboarding/todo-collector.js +49 -12
  281. package/dist/services/onboarding/virtual-orestes-app/index.d.ts +38 -0
  282. package/dist/services/onboarding/virtual-orestes-app/index.js +113 -27
  283. package/dist/services/origin-request/asset-variations.d.ts +14 -0
  284. package/dist/services/origin-request/asset-variations.js +11 -4
  285. package/dist/services/origin-request/origin-fetcher.d.ts +7 -0
  286. package/dist/services/origin-request/origin-fetcher.js +43 -5
  287. package/dist/services/origin-request/origin-request-service-build-context.d.ts +17 -0
  288. package/dist/services/origin-request/origin-request-service-build-context.js +8 -0
  289. package/dist/services/origin-request/origin-request-service-factory.d.ts +0 -5
  290. package/dist/services/origin-request/origin-request-service-factory.js +2 -30
  291. package/dist/services/origin-request/origin-request-service.d.ts +121 -6
  292. package/dist/services/origin-request/origin-request-service.js +273 -49
  293. package/dist/services/origin-request/runtime-config-source.d.ts +6 -0
  294. package/dist/services/origin-request/runtime-config-source.js +15 -4
  295. package/dist/services/origin-request/spec/asset-variations.spec.js +20 -0
  296. package/dist/services/origin-request/spec/origin-request-service.spec.js +329 -6
  297. package/dist/services/query-builder/rules/rule-match.d.ts +35 -0
  298. package/dist/services/query-builder/rules/rule-match.js +70 -0
  299. package/dist/services/query-builder/spec/rules/rule-match.spec.d.ts +1 -0
  300. package/dist/services/query-builder/spec/rules/rule-match.spec.js +121 -0
  301. package/dist/services/run-control/browser/run-browser-contexts.d.ts +557 -0
  302. package/dist/services/run-control/browser/run-browser-contexts.js +91 -0
  303. package/dist/services/run-control/browser/run-browser-service-factory.d.ts +5 -0
  304. package/dist/services/run-control/browser/run-browser-service-factory.js +7 -0
  305. package/dist/services/run-control/browser/run-browser-service.d.ts +68 -0
  306. package/dist/services/run-control/browser/run-browser-service.js +206 -0
  307. package/dist/services/run-control/cache/run-cache-contexts.d.ts +349 -0
  308. package/dist/services/run-control/cache/run-cache-contexts.js +51 -0
  309. package/dist/services/run-control/cache/run-cache-service-factory.d.ts +6 -0
  310. package/dist/services/run-control/cache/run-cache-service-factory.js +12 -0
  311. package/dist/services/run-control/cache/run-cache-service.d.ts +35 -0
  312. package/dist/services/run-control/cache/run-cache-service.js +151 -0
  313. package/dist/services/run-control/control-client.d.ts +36 -0
  314. package/dist/services/run-control/control-client.js +147 -0
  315. package/dist/services/run-control/debug/run-debug-contexts.d.ts +416 -0
  316. package/dist/services/run-control/debug/run-debug-contexts.js +47 -0
  317. package/dist/services/run-control/debug/run-debug-service-factory.d.ts +5 -0
  318. package/dist/services/run-control/debug/run-debug-service-factory.js +7 -0
  319. package/dist/services/run-control/debug/run-debug-service.d.ts +39 -0
  320. package/dist/services/run-control/debug/run-debug-service.js +164 -0
  321. package/dist/services/run-control/files/run-files-contexts.d.ts +238 -0
  322. package/dist/services/run-control/files/run-files-contexts.js +26 -0
  323. package/dist/services/run-control/files/run-files-service-factory.d.ts +5 -0
  324. package/dist/services/run-control/files/run-files-service-factory.js +7 -0
  325. package/dist/services/run-control/files/run-files-service.d.ts +29 -0
  326. package/dist/services/run-control/files/run-files-service.js +120 -0
  327. package/dist/services/run-control/index.d.ts +32 -0
  328. package/dist/services/run-control/index.js +31 -0
  329. package/dist/services/run-control/inject/run-inject-contexts.d.ts +319 -0
  330. package/dist/services/run-control/inject/run-inject-contexts.js +38 -0
  331. package/dist/services/run-control/inject/run-inject-service-factory.d.ts +5 -0
  332. package/dist/services/run-control/inject/run-inject-service-factory.js +7 -0
  333. package/dist/services/run-control/inject/run-inject-service.d.ts +31 -0
  334. package/dist/services/run-control/inject/run-inject-service.js +227 -0
  335. package/dist/services/run-control/live-run.d.ts +37 -0
  336. package/dist/services/run-control/live-run.js +56 -0
  337. package/dist/services/run-control/probe/run-probe-contexts.d.ts +333 -0
  338. package/dist/services/run-control/probe/run-probe-contexts.js +73 -0
  339. package/dist/services/run-control/probe/run-probe-service-factory.d.ts +5 -0
  340. package/dist/services/run-control/probe/run-probe-service-factory.js +7 -0
  341. package/dist/services/run-control/probe/run-probe-service.d.ts +54 -0
  342. package/dist/services/run-control/probe/run-probe-service.js +194 -0
  343. package/dist/services/run-control/rum/run-rum-contexts.d.ts +216 -0
  344. package/dist/services/run-control/rum/run-rum-contexts.js +34 -0
  345. package/dist/services/run-control/rum/run-rum-service-factory.d.ts +5 -0
  346. package/dist/services/run-control/rum/run-rum-service-factory.js +7 -0
  347. package/dist/services/run-control/rum/run-rum-service.d.ts +36 -0
  348. package/dist/services/run-control/rum/run-rum-service.js +122 -0
  349. package/dist/services/run-control/run-answer.d.ts +28 -0
  350. package/dist/services/run-control/run-answer.js +58 -0
  351. package/dist/services/run-control/run-control-context.d.ts +102 -0
  352. package/dist/services/run-control/run-control-context.js +36 -0
  353. package/dist/services/run-control/run-control-flags.d.ts +12 -0
  354. package/dist/services/run-control/run-control-flags.js +22 -0
  355. package/dist/services/run-control/run-control-model.d.ts +9 -0
  356. package/dist/services/run-control/run-control-model.js +1 -0
  357. package/dist/services/run-control/run-control-service-factory.d.ts +14 -0
  358. package/dist/services/run-control/run-control-service-factory.js +26 -0
  359. package/dist/services/run-control/session/run-session-contexts.d.ts +25 -0
  360. package/dist/services/run-control/session/run-session-contexts.js +20 -0
  361. package/dist/services/run-control/session/run-session-service-factory.d.ts +8 -0
  362. package/dist/services/run-control/session/run-session-service-factory.js +18 -0
  363. package/dist/services/run-control/session/run-session-service.d.ts +32 -0
  364. package/dist/services/run-control/session/run-session-service.js +151 -0
  365. package/dist/services/run-control/spec/browser/run-browser-service.spec.d.ts +1 -0
  366. package/dist/services/run-control/spec/browser/run-browser-service.spec.js +328 -0
  367. package/dist/services/run-control/spec/cache/run-cache-service.spec.d.ts +1 -0
  368. package/dist/services/run-control/spec/cache/run-cache-service.spec.js +454 -0
  369. package/dist/services/run-control/spec/debug/run-debug-service.spec.d.ts +1 -0
  370. package/dist/services/run-control/spec/debug/run-debug-service.spec.js +113 -0
  371. package/dist/services/run-control/spec/files/run-files-service.spec.d.ts +1 -0
  372. package/dist/services/run-control/spec/files/run-files-service.spec.js +234 -0
  373. package/dist/services/run-control/spec/inject/run-inject-service.spec.d.ts +1 -0
  374. package/dist/services/run-control/spec/inject/run-inject-service.spec.js +251 -0
  375. package/dist/services/run-control/spec/live-run-fixture.d.ts +32 -0
  376. package/dist/services/run-control/spec/live-run-fixture.js +109 -0
  377. package/dist/services/run-control/spec/probe/run-probe-service.spec.d.ts +1 -0
  378. package/dist/services/run-control/spec/probe/run-probe-service.spec.js +108 -0
  379. package/dist/services/run-control/spec/rum/run-rum-service.spec.d.ts +1 -0
  380. package/dist/services/run-control/spec/rum/run-rum-service.spec.js +47 -0
  381. package/dist/services/run-control/spec/run-answer.spec.d.ts +1 -0
  382. package/dist/services/run-control/spec/run-answer.spec.js +57 -0
  383. package/dist/services/run-control/spec/session/run-session-service.spec.d.ts +1 -0
  384. package/dist/services/run-control/spec/session/run-session-service.spec.js +150 -0
  385. package/dist/services/run-log/crash-mirror.d.ts +31 -0
  386. package/dist/services/run-log/crash-mirror.js +69 -0
  387. package/dist/services/run-log/index.d.ts +11 -0
  388. package/dist/services/run-log/index.js +11 -0
  389. package/dist/services/run-log/jsonl-appender.d.ts +46 -0
  390. package/dist/services/run-log/jsonl-appender.js +91 -0
  391. package/dist/services/run-log/log-event-model.d.ts +104 -0
  392. package/dist/services/run-log/log-event-model.js +56 -0
  393. package/dist/services/run-log/log-query-service-factory.d.ts +11 -0
  394. package/dist/services/run-log/log-query-service-factory.js +14 -0
  395. package/dist/services/run-log/log-query-service.d.ts +59 -0
  396. package/dist/services/run-log/log-query-service.js +111 -0
  397. package/dist/services/run-log/log-reader.d.ts +84 -0
  398. package/dist/services/run-log/log-reader.js +180 -0
  399. package/dist/services/run-log/log-summary.d.ts +72 -0
  400. package/dist/services/run-log/log-summary.js +208 -0
  401. package/dist/services/run-log/redaction.d.ts +34 -0
  402. package/dist/services/run-log/redaction.js +124 -0
  403. package/dist/services/run-log/request-log.d.ts +82 -0
  404. package/dist/services/run-log/request-log.js +69 -0
  405. package/dist/services/run-log/request-summary.d.ts +76 -0
  406. package/dist/services/run-log/request-summary.js +0 -0
  407. package/dist/services/run-log/run-log.d.ts +61 -0
  408. package/dist/services/run-log/run-log.js +102 -0
  409. package/dist/services/run-log/spec/log-query-service.spec.d.ts +1 -0
  410. package/dist/services/run-log/spec/log-query-service.spec.js +197 -0
  411. package/dist/services/run-log/spec/log-reader.spec.d.ts +1 -0
  412. package/dist/services/run-log/spec/log-reader.spec.js +109 -0
  413. package/dist/services/run-log/spec/log-summary.spec.d.ts +1 -0
  414. package/dist/services/run-log/spec/log-summary.spec.js +153 -0
  415. package/dist/services/run-log/spec/redaction.spec.d.ts +1 -0
  416. package/dist/services/run-log/spec/redaction.spec.js +61 -0
  417. package/dist/services/run-log/spec/request-log.spec.d.ts +1 -0
  418. package/dist/services/run-log/spec/request-log.spec.js +101 -0
  419. package/dist/services/run-log/spec/request-summary.spec.d.ts +1 -0
  420. package/dist/services/run-log/spec/request-summary.spec.js +171 -0
  421. package/dist/services/run-log/spec/run-log.spec.d.ts +1 -0
  422. package/dist/services/run-log/spec/run-log.spec.js +122 -0
  423. package/dist/services/run-registry/exit-classification.d.ts +39 -0
  424. package/dist/services/run-registry/exit-classification.js +42 -0
  425. package/dist/services/run-registry/index.d.ts +3 -0
  426. package/dist/services/run-registry/index.js +3 -0
  427. package/dist/services/run-registry/process-identity.d.ts +28 -0
  428. package/dist/services/run-registry/process-identity.js +80 -0
  429. package/dist/services/run-registry/run-registry-model.d.ts +128 -0
  430. package/dist/services/run-registry/run-registry-model.js +16 -0
  431. package/dist/services/run-registry/run-registry.d.ts +155 -0
  432. package/dist/services/run-registry/run-registry.js +430 -0
  433. package/dist/services/run-registry/spec/exit-classification.spec.d.ts +1 -0
  434. package/dist/services/run-registry/spec/exit-classification.spec.js +82 -0
  435. package/dist/services/run-registry/spec/run-registry.spec.d.ts +1 -0
  436. package/dist/services/run-registry/spec/run-registry.spec.js +526 -0
  437. package/dist/services/setup/os/tool-registry.js +2 -2
  438. package/oclif.manifest.json +3493 -372
  439. package/package.json +20 -2
@@ -395,7 +395,7 @@
395
395
  "required": false
396
396
  }
397
397
  },
398
- "description": "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",
398
+ "description": "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",
399
399
  "examples": [
400
400
  "$ sk diff <customerPath> <pageUrl>",
401
401
  "$ sk diff customers/decathlon.de \"https://www.decathlon.de/?sort=price&page=2\"",
@@ -409,7 +409,9 @@
409
409
  "$ sk diff customers/decathlon.de https://www.decathlon.de/ --variations mobile",
410
410
  "$ sk diff customers/decathlon.de https://www.decathlon.de/ --variations tablet,mobile",
411
411
  "$ sk diff --raw \"https://www.decathlon.de/?sort=price\" --variations mobile",
412
- "$ sk diff customers/decathlon.de \"https://www.decathlon.de/?sort=price\" --variations mobile --params"
412
+ "$ sk diff customers/decathlon.de \"https://www.decathlon.de/?sort=price\" --variations mobile --params",
413
+ "$ sk diff customers/decathlon.de https://www.decathlon.de/c/shoes --base origin/main",
414
+ "$ sk diff customers/decathlon.de https://www.decathlon.de/c/shoes --base HEAD~1 --html saved-page.html --variation mobile"
413
415
  ],
414
416
  "flags": {
415
417
  "configName": {
@@ -438,12 +440,26 @@
438
440
  "type": "option"
439
441
  },
440
442
  "variation": {
441
- "description": "The one variation the pages are requested in, for --against or the parameter check: mobile, tablet or a custom one; an empty one asks which. Defaults to desktop",
443
+ "description": "The one variation the pages are requested in, for --against, --base or the parameter check: mobile, tablet or a custom one; an empty one asks which. Defaults to desktop",
442
444
  "name": "variation",
443
445
  "hasDynamicHelp": false,
444
446
  "multiple": false,
445
447
  "type": "option"
446
448
  },
449
+ "base": {
450
+ "description": "Render the page with the customer config where HEAD left this git ref (their merge base) and with the working tree, and diff the two: what a config change does to the page. Replaces the parameter check; takes --variation and --html",
451
+ "name": "base",
452
+ "hasDynamicHelp": false,
453
+ "multiple": false,
454
+ "type": "option"
455
+ },
456
+ "html": {
457
+ "description": "With --base, render this saved origin HTML instead of requesting the page",
458
+ "name": "html",
459
+ "hasDynamicHelp": false,
460
+ "multiple": false,
461
+ "type": "option"
462
+ },
447
463
  "baseline": {
448
464
  "description": "Fetch every side twice and ignore what differs between the two, such as nonces, timestamps or reordered preloads. Doubles the requests: 4 per comparison",
449
465
  "name": "baseline",
@@ -510,6 +526,16 @@
510
526
  "multiple": false,
511
527
  "type": "option"
512
528
  },
529
+ "run": {
530
+ "description": "Take the runtime config from this live sk onboarding run: its id, its customer name, or its path. Without it, the one live run of the customer is used",
531
+ "exclusive": [
532
+ "variationsFile"
533
+ ],
534
+ "name": "run",
535
+ "hasDynamicHelp": false,
536
+ "multiple": false,
537
+ "type": "option"
538
+ },
513
539
  "hideDiff": {
514
540
  "char": "h",
515
541
  "deprecated": {
@@ -757,9 +783,24 @@
757
783
  "description": "Login to your app",
758
784
  "examples": [
759
785
  "$ sk login <app>",
760
- "$ sk login appName"
786
+ "$ sk login appName",
787
+ "$ sk login appName --auth google"
761
788
  ],
762
- "flags": {},
789
+ "flags": {
790
+ "auth": {
791
+ "description": "How to log in. Without it, the login asks for the provider",
792
+ "name": "auth",
793
+ "hasDynamicHelp": false,
794
+ "multiple": false,
795
+ "options": [
796
+ "password",
797
+ "google",
798
+ "facebook",
799
+ "github"
800
+ ],
801
+ "type": "option"
802
+ }
803
+ },
763
804
  "hasDynamicHelp": false,
764
805
  "hiddenAliases": [],
765
806
  "id": "login",
@@ -788,7 +829,7 @@
788
829
  "examples": [
789
830
  "$ sk onboarding <customerPath> -c <configName> -d <domain>",
790
831
  "$ sk onboarding customers/decathlon.de -c production -d www.decathlon.de",
791
- "$ sk onboarding --browse -d www.decathlon.de --headless --debugPort 9290",
832
+ "$ sk onboarding --browse -d www.decathlon.de --headless",
792
833
  "$ sk onboarding customers/decathlon.de --browse -p",
793
834
  "$ sk onboarding customers/decathlon.de -p --device tablet",
794
835
  "$ sk onboarding customers/decathlon.de --inject",
@@ -839,7 +880,7 @@
839
880
  "type": "boolean"
840
881
  },
841
882
  "debugPort": {
842
- "description": "Chrome remote debugging port (only used with -p/--headless). Use distinct ports to run multiple onboarding processes at once.",
883
+ "description": "Chrome remote debugging port (only used with -p). Use distinct ports to run multiple onboarding processes with -p at once.",
843
884
  "name": "debugPort",
844
885
  "default": 9222,
845
886
  "hasDynamicHelp": false,
@@ -853,6 +894,12 @@
853
894
  "allowNo": false,
854
895
  "type": "boolean"
855
896
  },
897
+ "logFile": {
898
+ "description": "Write a structured copy of this run's output to log.jsonl in the run directory, readable afterwards with `sk onboarding logs`. Use --no-log-file to keep the run off disk entirely.",
899
+ "name": "logFile",
900
+ "allowNo": true,
901
+ "type": "boolean"
902
+ },
856
903
  "ignoreContentSecurityPolicy": {
857
904
  "char": "s",
858
905
  "description": "Removes header/meta \"content-security-policy\" for origin-responses",
@@ -998,6 +1045,20 @@
998
1045
  "multiple": false,
999
1046
  "type": "option"
1000
1047
  },
1048
+ "select": {
1049
+ "description": "Count and sample what this CSS selector matches in the body, e.g. 'script[src*=\"analytics\"]'",
1050
+ "name": "select",
1051
+ "hasDynamicHelp": false,
1052
+ "multiple": false,
1053
+ "type": "option"
1054
+ },
1055
+ "maxMatches": {
1056
+ "description": "How many --select and --grep matches to show. Default 10",
1057
+ "name": "maxMatches",
1058
+ "hasDynamicHelp": false,
1059
+ "multiple": false,
1060
+ "type": "option"
1061
+ },
1001
1062
  "json": {
1002
1063
  "description": "Machine-readable output",
1003
1064
  "name": "json",
@@ -1431,25 +1492,17 @@
1431
1492
  "update.js"
1432
1493
  ]
1433
1494
  },
1434
- "extension:add": {
1495
+ "config:edit": {
1435
1496
  "aliases": [],
1436
- "args": {
1437
- "ref": {
1438
- "description": "Chrome Web Store link or extension id",
1439
- "name": "ref",
1440
- "required": false
1441
- }
1442
- },
1443
- "description": "Install a Chrome extension into the onboarding browser by Web Store link or id",
1497
+ "args": {},
1498
+ "description": "Edit cli config",
1444
1499
  "examples": [
1445
- "$ sk extension add fmkadmapgofadopljbjfkapdkoienihi",
1446
- "$ sk extension add https://chromewebstore.google.com/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi",
1447
- "$ sk extension add"
1500
+ "$ sk config edit"
1448
1501
  ],
1449
1502
  "flags": {},
1450
1503
  "hasDynamicHelp": false,
1451
1504
  "hiddenAliases": [],
1452
- "id": "extension:add",
1505
+ "id": "config:edit",
1453
1506
  "pluginAlias": "@speedkit/cli",
1454
1507
  "pluginName": "@speedkit/cli",
1455
1508
  "pluginType": "core",
@@ -1459,53 +1512,37 @@
1459
1512
  "relativePath": [
1460
1513
  "dist",
1461
1514
  "commands",
1462
- "extension",
1463
- "add.js"
1515
+ "config",
1516
+ "edit.js"
1464
1517
  ]
1465
1518
  },
1466
- "extension:devtools": {
1519
+ "config:setup": {
1467
1520
  "aliases": [],
1468
1521
  "args": {},
1469
- "description": "Install the integration-devtools extension for the onboarding browser, or update it to the latest release",
1522
+ "description": "Run the Speed Kit CLI setup wizard (choose browser and diff tool)",
1470
1523
  "examples": [
1471
- "$ sk extension devtools",
1472
- "$ sk extension devtools --force"
1524
+ "$ sk config setup",
1525
+ "$ sk config setup --force"
1473
1526
  ],
1474
1527
  "flags": {
1475
1528
  "force": {
1476
- "description": "reinstall the latest release even when it is up to date",
1529
+ "char": "f",
1530
+ "description": "Re-run even if setup was already completed",
1477
1531
  "name": "force",
1478
1532
  "allowNo": false,
1479
1533
  "type": "boolean"
1534
+ },
1535
+ "postInstall": {
1536
+ "description": "Internal flag used by the npm postinstall hook",
1537
+ "hidden": true,
1538
+ "name": "postInstall",
1539
+ "allowNo": false,
1540
+ "type": "boolean"
1480
1541
  }
1481
1542
  },
1482
1543
  "hasDynamicHelp": false,
1483
1544
  "hiddenAliases": [],
1484
- "id": "extension:devtools",
1485
- "pluginAlias": "@speedkit/cli",
1486
- "pluginName": "@speedkit/cli",
1487
- "pluginType": "core",
1488
- "strict": true,
1489
- "enableJsonFlag": false,
1490
- "isESM": true,
1491
- "relativePath": [
1492
- "dist",
1493
- "commands",
1494
- "extension",
1495
- "devtools.js"
1496
- ]
1497
- },
1498
- "extension:list": {
1499
- "aliases": [],
1500
- "args": {},
1501
- "description": "List Chrome extensions managed by the setup wizard",
1502
- "examples": [
1503
- "$ sk extension list"
1504
- ],
1505
- "flags": {},
1506
- "hasDynamicHelp": false,
1507
- "hiddenAliases": [],
1508
- "id": "extension:list",
1545
+ "id": "config:setup",
1509
1546
  "pluginAlias": "@speedkit/cli",
1510
1547
  "pluginName": "@speedkit/cli",
1511
1548
  "pluginType": "core",
@@ -1515,234 +1552,417 @@
1515
1552
  "relativePath": [
1516
1553
  "dist",
1517
1554
  "commands",
1518
- "extension",
1519
- "list.js"
1555
+ "config",
1556
+ "setup.js"
1520
1557
  ]
1521
1558
  },
1522
- "extension:remove": {
1559
+ "onboarding:cdp": {
1523
1560
  "aliases": [],
1524
1561
  "args": {
1525
- "ref": {
1526
- "description": "Chrome Web Store link or extension id",
1527
- "name": "ref",
1562
+ "method": {
1563
+ "description": "A CDP method, e.g. DOM.getDocument or Network.getCookies",
1564
+ "name": "method",
1565
+ "required": true
1566
+ },
1567
+ "params": {
1568
+ "description": "Its parameters, as a JSON object. Or --file",
1569
+ "name": "params",
1528
1570
  "required": false
1529
1571
  }
1530
1572
  },
1531
- "description": "Remove a managed Chrome extension",
1532
- "examples": [
1533
- "$ sk extension remove",
1534
- "$ sk extension remove <id>"
1535
- ],
1536
- "flags": {},
1537
- "hasDynamicHelp": false,
1538
- "hiddenAliases": [],
1539
- "id": "extension:remove",
1540
- "pluginAlias": "@speedkit/cli",
1541
- "pluginName": "@speedkit/cli",
1542
- "pluginType": "core",
1543
- "strict": true,
1544
- "enableJsonFlag": false,
1545
- "isESM": true,
1546
- "relativePath": [
1547
- "dist",
1548
- "commands",
1549
- "extension",
1550
- "remove.js"
1551
- ]
1552
- },
1553
- "extension:update": {
1554
- "aliases": [],
1555
- "args": {},
1556
- "description": "Check managed Chrome extensions for updates and install them",
1573
+ "description": "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",
1557
1574
  "examples": [
1558
- "$ sk extension update"
1575
+ "$ sk onboarding cdp Network.getCookies",
1576
+ "$ sk onboarding cdp DOM.getDocument '{\"depth\": 2}'",
1577
+ "$ sk onboarding cdp Emulation.setCPUThrottlingRate '{\"rate\": 4}' --tab 1",
1578
+ "$ sk onboarding cdp Page.printToPDF --file params.json --json"
1559
1579
  ],
1560
- "flags": {},
1580
+ "flags": {
1581
+ "run": {
1582
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
1583
+ "name": "run",
1584
+ "hasDynamicHelp": false,
1585
+ "multiple": false,
1586
+ "type": "option"
1587
+ },
1588
+ "json": {
1589
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
1590
+ "name": "json",
1591
+ "allowNo": false,
1592
+ "type": "boolean"
1593
+ },
1594
+ "timeout": {
1595
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
1596
+ "name": "timeout",
1597
+ "hasDynamicHelp": false,
1598
+ "multiple": false,
1599
+ "type": "option"
1600
+ },
1601
+ "file": {
1602
+ "char": "f",
1603
+ "description": "Read the parameters from this JSON file instead",
1604
+ "name": "file",
1605
+ "hasDynamicHelp": false,
1606
+ "multiple": false,
1607
+ "type": "option"
1608
+ },
1609
+ "tab": {
1610
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
1611
+ "name": "tab",
1612
+ "hasDynamicHelp": false,
1613
+ "multiple": false,
1614
+ "type": "option"
1615
+ }
1616
+ },
1561
1617
  "hasDynamicHelp": false,
1562
1618
  "hiddenAliases": [],
1563
- "id": "extension:update",
1619
+ "id": "onboarding:cdp",
1564
1620
  "pluginAlias": "@speedkit/cli",
1565
1621
  "pluginName": "@speedkit/cli",
1566
1622
  "pluginType": "core",
1567
1623
  "strict": true,
1568
- "enableJsonFlag": false,
1569
1624
  "isESM": true,
1570
1625
  "relativePath": [
1571
1626
  "dist",
1572
1627
  "commands",
1573
- "extension",
1574
- "update.js"
1628
+ "onboarding",
1629
+ "cdp.js"
1575
1630
  ]
1576
1631
  },
1577
- "config:edit": {
1632
+ "onboarding:fouc": {
1578
1633
  "aliases": [],
1579
1634
  "args": {},
1580
- "description": "Edit cli config",
1635
+ "description": "Reload and sample the load to catch a flash of unstyled content",
1581
1636
  "examples": [
1582
- "$ sk config edit"
1637
+ "$ sk onboarding fouc",
1638
+ "$ sk onboarding fouc --selector .hero"
1583
1639
  ],
1584
- "flags": {},
1640
+ "flags": {
1641
+ "run": {
1642
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
1643
+ "name": "run",
1644
+ "hasDynamicHelp": false,
1645
+ "multiple": false,
1646
+ "type": "option"
1647
+ },
1648
+ "json": {
1649
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
1650
+ "name": "json",
1651
+ "allowNo": false,
1652
+ "type": "boolean"
1653
+ },
1654
+ "timeout": {
1655
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
1656
+ "name": "timeout",
1657
+ "hasDynamicHelp": false,
1658
+ "multiple": false,
1659
+ "type": "option"
1660
+ },
1661
+ "selector": {
1662
+ "description": "The element whose styling decides whether the paint was styled, e.g. a hero. Default the body",
1663
+ "name": "selector",
1664
+ "hasDynamicHelp": false,
1665
+ "multiple": false,
1666
+ "type": "option"
1667
+ },
1668
+ "duration": {
1669
+ "description": "How long to sample after the reload, in ms. Default 8000",
1670
+ "name": "duration",
1671
+ "hasDynamicHelp": false,
1672
+ "multiple": false,
1673
+ "type": "option"
1674
+ },
1675
+ "tab": {
1676
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
1677
+ "name": "tab",
1678
+ "hasDynamicHelp": false,
1679
+ "multiple": false,
1680
+ "type": "option"
1681
+ }
1682
+ },
1585
1683
  "hasDynamicHelp": false,
1586
1684
  "hiddenAliases": [],
1587
- "id": "config:edit",
1685
+ "id": "onboarding:fouc",
1588
1686
  "pluginAlias": "@speedkit/cli",
1589
1687
  "pluginName": "@speedkit/cli",
1590
1688
  "pluginType": "core",
1591
1689
  "strict": true,
1592
- "enableJsonFlag": false,
1593
1690
  "isESM": true,
1594
1691
  "relativePath": [
1595
1692
  "dist",
1596
1693
  "commands",
1597
- "config",
1598
- "edit.js"
1694
+ "onboarding",
1695
+ "fouc.js"
1599
1696
  ]
1600
1697
  },
1601
- "config:setup": {
1698
+ "onboarding:list": {
1602
1699
  "aliases": [],
1603
1700
  "args": {},
1604
- "description": "Run the Speed Kit CLI setup wizard (choose browser and diff tool)",
1701
+ "description": "List the onboarding runs on this machine, live and finished",
1605
1702
  "examples": [
1606
- "$ sk config setup",
1607
- "$ sk config setup --force"
1703
+ "$ sk onboarding list"
1608
1704
  ],
1609
1705
  "flags": {
1610
- "force": {
1611
- "char": "f",
1612
- "description": "Re-run even if setup was already completed",
1613
- "name": "force",
1614
- "allowNo": false,
1615
- "type": "boolean"
1706
+ "run": {
1707
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
1708
+ "name": "run",
1709
+ "hasDynamicHelp": false,
1710
+ "multiple": false,
1711
+ "type": "option"
1616
1712
  },
1617
- "postInstall": {
1618
- "description": "Internal flag used by the npm postinstall hook",
1619
- "hidden": true,
1620
- "name": "postInstall",
1713
+ "json": {
1714
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
1715
+ "name": "json",
1621
1716
  "allowNo": false,
1622
1717
  "type": "boolean"
1623
1718
  }
1624
1719
  },
1625
1720
  "hasDynamicHelp": false,
1626
1721
  "hiddenAliases": [],
1627
- "id": "config:setup",
1722
+ "id": "onboarding:list",
1628
1723
  "pluginAlias": "@speedkit/cli",
1629
1724
  "pluginName": "@speedkit/cli",
1630
1725
  "pluginType": "core",
1631
1726
  "strict": true,
1632
- "enableJsonFlag": false,
1633
1727
  "isESM": true,
1634
1728
  "relativePath": [
1635
1729
  "dist",
1636
1730
  "commands",
1637
- "config",
1638
- "setup.js"
1731
+ "onboarding",
1732
+ "list.js"
1639
1733
  ]
1640
1734
  },
1641
- "query:parameter": {
1642
- "aliases": [
1643
- "build-parameter-query"
1644
- ],
1735
+ "onboarding:logs": {
1736
+ "aliases": [],
1645
1737
  "args": {
1646
- "customerPath": {
1647
- "description": "The customer config path",
1648
- "name": "customerPath",
1649
- "required": true
1738
+ "run": {
1739
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
1740
+ "name": "run",
1741
+ "required": false
1650
1742
  }
1651
1743
  },
1652
- "deprecateAliases": true,
1653
- "description": "Build a parameter query that can be executed in Athena",
1744
+ "description": "Read what an onboarding run did, live or long after it ended",
1654
1745
  "examples": [
1655
- "$ sk query parameter <customerPath> -c <configName>",
1656
- "$ sk query parameter customers/decathlon.de -c production",
1657
- "$ sk query parameter customers/decathlon.de --explain"
1746
+ "$ sk onboarding logs",
1747
+ "$ sk onboarding logs --list",
1748
+ "$ sk onboarding logs decathlon.de --summary",
1749
+ "$ sk onboarding logs --run decathlon.de --level warn --json",
1750
+ "$ sk onboarding logs --level warn --since 10m",
1751
+ "$ sk onboarding logs --scope sw,fetch --url /checkout",
1752
+ "$ sk onboarding logs --follow",
1753
+ "$ sk onboarding logs --requests --outcome continued --url /checkout"
1658
1754
  ],
1659
1755
  "flags": {
1660
- "catalog": {
1661
- "description": "Athena data catalog holding the rum tables. Names the catalog both in the query and in the context it runs in, so the two always agree",
1662
- "env": "SK_ATHENA_CATALOG",
1663
- "name": "catalog",
1664
- "required": false,
1665
- "default": "live",
1756
+ "run": {
1757
+ "description": "Which run, as every other `sk onboarding <tool> <op>` names it; the same as the argument",
1758
+ "exclusive": [
1759
+ "list"
1760
+ ],
1761
+ "name": "run",
1666
1762
  "hasDynamicHelp": false,
1667
1763
  "multiple": false,
1668
1764
  "type": "option"
1669
1765
  },
1670
- "workgroup": {
1671
- "description": "Athena workgroup to run the query in, e.g. 'prewarming'. Defaults to the account's default workgroup",
1672
- "env": "SK_ATHENA_WORKGROUP",
1673
- "name": "workgroup",
1674
- "required": false,
1675
- "hasDynamicHelp": false,
1766
+ "list": {
1767
+ "description": "List the recorded runs instead of reading one",
1768
+ "name": "list",
1769
+ "allowNo": false,
1770
+ "type": "boolean"
1771
+ },
1772
+ "since": {
1773
+ "description": "Only lines after this: a span like 5m, 2h, 1d, or an ISO timestamp",
1774
+ "name": "since",
1775
+ "hasDynamicHelp": false,
1676
1776
  "multiple": false,
1677
1777
  "type": "option"
1678
1778
  },
1679
- "configName": {
1680
- "char": "c",
1681
- "description": "The costumer config name",
1682
- "name": "configName",
1683
- "required": false,
1684
- "default": "production",
1779
+ "until": {
1780
+ "description": "Only lines before this. Same formats as --since",
1781
+ "name": "until",
1685
1782
  "hasDynamicHelp": false,
1686
1783
  "multiple": false,
1687
1784
  "type": "option"
1688
1785
  },
1689
- "days": {
1690
- "char": "d",
1691
- "description": "Number of days the query looks back",
1692
- "name": "days",
1693
- "required": false,
1786
+ "sinceSeq": {
1787
+ "description": "Only lines after this sequence number — the cursor a previous read reported",
1788
+ "name": "sinceSeq",
1694
1789
  "hasDynamicHelp": false,
1695
1790
  "multiple": false,
1696
1791
  "type": "option"
1697
1792
  },
1698
- "excludeNoindex": {
1699
- "description": "Exclude page impressions of pages marked noindex",
1700
- "name": "excludeNoindex",
1701
- "allowNo": false,
1702
- "type": "boolean"
1793
+ "level": {
1794
+ "description": "This level and above: debug, info, success, warn, error",
1795
+ "name": "level",
1796
+ "hasDynamicHelp": false,
1797
+ "multiple": false,
1798
+ "type": "option"
1703
1799
  },
1704
- "excludeSuspicious": {
1705
- "description": "Exclude page impressions Speed Kit classified as suspicious",
1706
- "name": "excludeSuspicious",
1800
+ "scope": {
1801
+ "description": "Only these scopes, comma-separated: cli, browser, sw, fetch, documentHandler, config, cache, extension, athena, todo, appToken, process, console (the page's warnings and errors)",
1802
+ "name": "scope",
1803
+ "hasDynamicHelp": false,
1804
+ "multiple": false,
1805
+ "type": "option"
1806
+ },
1807
+ "grep": {
1808
+ "description": "Only lines whose message matches this regex (case-insensitive)",
1809
+ "name": "grep",
1810
+ "hasDynamicHelp": false,
1811
+ "multiple": false,
1812
+ "type": "option"
1813
+ },
1814
+ "url": {
1815
+ "description": "Only lines mentioning this url, in the message or in the data",
1816
+ "name": "url",
1817
+ "hasDynamicHelp": false,
1818
+ "multiple": false,
1819
+ "type": "option"
1820
+ },
1821
+ "tail": {
1822
+ "description": "Only the last n matching lines",
1823
+ "name": "tail",
1824
+ "hasDynamicHelp": false,
1825
+ "multiple": false,
1826
+ "type": "option"
1827
+ },
1828
+ "follow": {
1829
+ "char": "f",
1830
+ "description": "Keep reading as the run writes. Ctrl+C to stop",
1831
+ "name": "follow",
1707
1832
  "allowNo": false,
1708
1833
  "type": "boolean"
1709
1834
  },
1710
- "explain": {
1711
- "description": "Account for every rule the query leaves out, reduces or approximates",
1712
- "name": "explain",
1835
+ "requests": {
1836
+ "description": "Read the intercepted requests instead of the narration: what the CLI served, aborted or handed straight to Chrome",
1837
+ "name": "requests",
1713
1838
  "allowNo": false,
1714
1839
  "type": "boolean"
1715
1840
  },
1716
- "hardNavigationsOnly": {
1717
- "description": "Exclude soft (SPA) navigations",
1718
- "name": "hardNavigationsOnly",
1841
+ "outcome": {
1842
+ "description": "With --requests: only fulfilled, failed, continued, error or cancelled",
1843
+ "name": "outcome",
1844
+ "hasDynamicHelp": false,
1845
+ "multiple": false,
1846
+ "options": [
1847
+ "fulfilled",
1848
+ "failed",
1849
+ "continued",
1850
+ "error",
1851
+ "cancelled"
1852
+ ],
1853
+ "type": "option"
1854
+ },
1855
+ "handler": {
1856
+ "description": "With --requests: only the requests this handler answered",
1857
+ "name": "handler",
1858
+ "hasDynamicHelp": false,
1859
+ "multiple": false,
1860
+ "type": "option"
1861
+ },
1862
+ "summary": {
1863
+ "description": "One screen for the whole run: counts, deduplicated problems, failed actions, questions asked",
1864
+ "name": "summary",
1719
1865
  "allowNo": false,
1720
1866
  "type": "boolean"
1721
1867
  },
1722
- "execute": {
1723
- "char": "e",
1724
- "description": "Execute the query directly and write the result to a <app>-<date>-<query>.csv file",
1725
- "name": "execute",
1868
+ "json": {
1869
+ "description": "Raw events, one JSON object per line, to stdout",
1870
+ "name": "json",
1726
1871
  "allowNo": false,
1727
1872
  "type": "boolean"
1873
+ }
1874
+ },
1875
+ "hasDynamicHelp": false,
1876
+ "hiddenAliases": [],
1877
+ "id": "onboarding:logs",
1878
+ "pluginAlias": "@speedkit/cli",
1879
+ "pluginName": "@speedkit/cli",
1880
+ "pluginType": "core",
1881
+ "strict": true,
1882
+ "enableJsonFlag": false,
1883
+ "isESM": true,
1884
+ "relativePath": [
1885
+ "dist",
1886
+ "commands",
1887
+ "onboarding",
1888
+ "logs.js"
1889
+ ]
1890
+ },
1891
+ "onboarding:navwalk": {
1892
+ "aliases": [],
1893
+ "args": {},
1894
+ "description": "Click into a login or checkout flow and list every same-origin document hop: the disabledScopes candidates",
1895
+ "examples": [
1896
+ "$ sk onboarding navwalk",
1897
+ "$ sk onboarding navwalk --flow checkout",
1898
+ "$ sk onboarding navwalk --click Anmelden"
1899
+ ],
1900
+ "flags": {
1901
+ "run": {
1902
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
1903
+ "name": "run",
1904
+ "hasDynamicHelp": false,
1905
+ "multiple": false,
1906
+ "type": "option"
1728
1907
  },
1729
- "quiet": {
1730
- "char": "q",
1731
- "description": "Output only the raw query without clipboard copy or styling",
1732
- "name": "quiet",
1908
+ "json": {
1909
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
1910
+ "name": "json",
1733
1911
  "allowNo": false,
1734
1912
  "type": "boolean"
1735
1913
  },
1736
- "bySet": {
1737
- "description": "Rank whole sets of parameters instead of single parameters, to see which ones travel together",
1738
- "name": "bySet",
1914
+ "timeout": {
1915
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
1916
+ "name": "timeout",
1917
+ "hasDynamicHelp": false,
1918
+ "multiple": false,
1919
+ "type": "option"
1920
+ },
1921
+ "flow": {
1922
+ "description": "The built-in trigger; checkout starts at /cart. Default login when no --click is given",
1923
+ "name": "flow",
1924
+ "hasDynamicHelp": false,
1925
+ "multiple": false,
1926
+ "options": [
1927
+ "login",
1928
+ "checkout"
1929
+ ],
1930
+ "type": "option"
1931
+ },
1932
+ "click": {
1933
+ "description": "The control to click: a CSS selector, or text matched against links and buttons",
1934
+ "name": "click",
1935
+ "hasDynamicHelp": false,
1936
+ "multiple": false,
1937
+ "type": "option"
1938
+ },
1939
+ "url": {
1940
+ "description": "Navigate here first, so the walk starts somewhere known",
1941
+ "name": "url",
1942
+ "hasDynamicHelp": false,
1943
+ "multiple": false,
1944
+ "type": "option"
1945
+ },
1946
+ "wait": {
1947
+ "description": "How long to collect after the click, in ms. Default 9000",
1948
+ "name": "wait",
1949
+ "hasDynamicHelp": false,
1950
+ "multiple": false,
1951
+ "type": "option"
1952
+ },
1953
+ "all": {
1954
+ "description": "Walk both built-in flows, login then checkout, and report them together",
1955
+ "exclusive": [
1956
+ "flow",
1957
+ "click"
1958
+ ],
1959
+ "name": "all",
1739
1960
  "allowNo": false,
1740
1961
  "type": "boolean"
1741
1962
  },
1742
- "minImpressions": {
1743
- "description": "Leave out parameters seen on fewer page impressions than this",
1744
- "name": "minImpressions",
1745
- "required": false,
1963
+ "tab": {
1964
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
1965
+ "name": "tab",
1746
1966
  "hasDynamicHelp": false,
1747
1967
  "multiple": false,
1748
1968
  "type": "option"
@@ -1750,368 +1970,3269 @@
1750
1970
  },
1751
1971
  "hasDynamicHelp": false,
1752
1972
  "hiddenAliases": [],
1753
- "id": "query:parameter",
1973
+ "id": "onboarding:navwalk",
1754
1974
  "pluginAlias": "@speedkit/cli",
1755
1975
  "pluginName": "@speedkit/cli",
1756
1976
  "pluginType": "core",
1757
1977
  "strict": true,
1758
- "enableJsonFlag": false,
1759
1978
  "isESM": true,
1760
1979
  "relativePath": [
1761
1980
  "dist",
1762
1981
  "commands",
1763
- "query",
1764
- "parameter.js"
1982
+ "onboarding",
1983
+ "navwalk.js"
1765
1984
  ]
1766
1985
  },
1767
- "query:prewarm": {
1768
- "aliases": [
1769
- "build-prewarm-query"
1770
- ],
1986
+ "onboarding:response": {
1987
+ "aliases": [],
1771
1988
  "args": {
1772
- "customerPath": {
1773
- "description": "The customer config path",
1774
- "name": "customerPath",
1775
- "required": true
1989
+ "url": {
1990
+ "description": "Absolute, or relative to the customer origin. Omitted means the page the run is on",
1991
+ "name": "url",
1992
+ "required": false
1776
1993
  }
1777
1994
  },
1778
- "deprecateAliases": true,
1779
- "description": "Build a prewarm query that can be executed in Athena",
1995
+ "description": "Why a url came back the way it did: the rule verdict, the cache entry and what Speed Kit reported",
1780
1996
  "examples": [
1781
- "$ sk query prewarm <customerPath> -c <configName>",
1782
- "$ sk query prewarm customers/decathlon.de -c production",
1783
- "$ sk query prewarm customers/decathlon.de --explain",
1784
- "$ sk query prewarm customers/decathlon.de --match '^/p/'",
1785
- "$ sk query prewarm customers/decathlon.de --device desktop,mobile",
1786
- "$ sk query prewarm customers/decathlon.de -v MOBILE,DESKTOP",
1787
- "$ sk query prewarm customers/decathlon.de --count"
1997
+ "$ sk onboarding response",
1998
+ "$ sk onboarding response /checkout"
1788
1999
  ],
1789
2000
  "flags": {
1790
- "catalog": {
1791
- "description": "Athena data catalog holding the rum tables. Names the catalog both in the query and in the context it runs in, so the two always agree",
1792
- "env": "SK_ATHENA_CATALOG",
1793
- "name": "catalog",
1794
- "required": false,
1795
- "default": "live",
2001
+ "run": {
2002
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
2003
+ "name": "run",
1796
2004
  "hasDynamicHelp": false,
1797
2005
  "multiple": false,
1798
2006
  "type": "option"
1799
2007
  },
1800
- "workgroup": {
1801
- "description": "Athena workgroup to run the query in, e.g. 'prewarming'. Defaults to the account's default workgroup",
1802
- "env": "SK_ATHENA_WORKGROUP",
1803
- "name": "workgroup",
1804
- "required": false,
2008
+ "json": {
2009
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
2010
+ "name": "json",
2011
+ "allowNo": false,
2012
+ "type": "boolean"
2013
+ },
2014
+ "timeout": {
2015
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
2016
+ "name": "timeout",
1805
2017
  "hasDynamicHelp": false,
1806
2018
  "multiple": false,
1807
2019
  "type": "option"
1808
2020
  },
1809
- "configName": {
1810
- "char": "c",
1811
- "description": "The costumer config name",
1812
- "name": "configName",
1813
- "required": false,
1814
- "default": "production",
2021
+ "tab": {
2022
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
2023
+ "name": "tab",
1815
2024
  "hasDynamicHelp": false,
1816
2025
  "multiple": false,
1817
2026
  "type": "option"
1818
- },
1819
- "days": {
1820
- "char": "d",
1821
- "description": "Number of days the query looks back",
1822
- "name": "days",
1823
- "required": false,
2027
+ }
2028
+ },
2029
+ "hasDynamicHelp": false,
2030
+ "hiddenAliases": [],
2031
+ "id": "onboarding:response",
2032
+ "pluginAlias": "@speedkit/cli",
2033
+ "pluginName": "@speedkit/cli",
2034
+ "pluginType": "core",
2035
+ "strict": true,
2036
+ "isESM": true,
2037
+ "relativePath": [
2038
+ "dist",
2039
+ "commands",
2040
+ "onboarding",
2041
+ "response.js"
2042
+ ]
2043
+ },
2044
+ "onboarding:status": {
2045
+ "aliases": [],
2046
+ "args": {},
2047
+ "description": "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",
2048
+ "examples": [
2049
+ "$ sk onboarding status",
2050
+ "$ sk onboarding status --run decathlon.de --json"
2051
+ ],
2052
+ "flags": {
2053
+ "run": {
2054
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
2055
+ "name": "run",
1824
2056
  "hasDynamicHelp": false,
1825
2057
  "multiple": false,
1826
2058
  "type": "option"
1827
2059
  },
1828
- "excludeNoindex": {
1829
- "description": "Exclude page impressions of pages marked noindex",
1830
- "name": "excludeNoindex",
2060
+ "json": {
2061
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
2062
+ "name": "json",
1831
2063
  "allowNo": false,
1832
2064
  "type": "boolean"
2065
+ }
2066
+ },
2067
+ "hasDynamicHelp": false,
2068
+ "hiddenAliases": [],
2069
+ "id": "onboarding:status",
2070
+ "pluginAlias": "@speedkit/cli",
2071
+ "pluginName": "@speedkit/cli",
2072
+ "pluginType": "core",
2073
+ "strict": true,
2074
+ "isESM": true,
2075
+ "relativePath": [
2076
+ "dist",
2077
+ "commands",
2078
+ "onboarding",
2079
+ "status.js"
2080
+ ]
2081
+ },
2082
+ "onboarding:stop": {
2083
+ "aliases": [],
2084
+ "args": {},
2085
+ "description": "End the live onboarding run, or the one --run names, as Ctrl+C does",
2086
+ "examples": [
2087
+ "$ sk onboarding stop",
2088
+ "$ sk onboarding stop --run worktree/my-task/customers/decathlon.de --json"
2089
+ ],
2090
+ "flags": {
2091
+ "run": {
2092
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
2093
+ "name": "run",
2094
+ "hasDynamicHelp": false,
2095
+ "multiple": false,
2096
+ "type": "option"
1833
2097
  },
1834
- "excludeSuspicious": {
1835
- "description": "Exclude page impressions Speed Kit classified as suspicious",
1836
- "name": "excludeSuspicious",
2098
+ "json": {
2099
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
2100
+ "name": "json",
1837
2101
  "allowNo": false,
1838
2102
  "type": "boolean"
2103
+ }
2104
+ },
2105
+ "hasDynamicHelp": false,
2106
+ "hiddenAliases": [],
2107
+ "id": "onboarding:stop",
2108
+ "pluginAlias": "@speedkit/cli",
2109
+ "pluginName": "@speedkit/cli",
2110
+ "pluginType": "core",
2111
+ "strict": true,
2112
+ "isESM": true,
2113
+ "relativePath": [
2114
+ "dist",
2115
+ "commands",
2116
+ "onboarding",
2117
+ "stop.js"
2118
+ ]
2119
+ },
2120
+ "onboarding:todo": {
2121
+ "aliases": [],
2122
+ "args": {},
2123
+ "description": "List the TODOs left in the config files of a live run, with the file and line to open",
2124
+ "examples": [
2125
+ "$ sk onboarding todo"
2126
+ ],
2127
+ "flags": {
2128
+ "run": {
2129
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
2130
+ "name": "run",
2131
+ "hasDynamicHelp": false,
2132
+ "multiple": false,
2133
+ "type": "option"
1839
2134
  },
1840
- "explain": {
2135
+ "json": {
2136
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
2137
+ "name": "json",
2138
+ "allowNo": false,
2139
+ "type": "boolean"
2140
+ },
2141
+ "timeout": {
2142
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
2143
+ "name": "timeout",
2144
+ "hasDynamicHelp": false,
2145
+ "multiple": false,
2146
+ "type": "option"
2147
+ }
2148
+ },
2149
+ "hasDynamicHelp": false,
2150
+ "hiddenAliases": [],
2151
+ "id": "onboarding:todo",
2152
+ "pluginAlias": "@speedkit/cli",
2153
+ "pluginName": "@speedkit/cli",
2154
+ "pluginType": "core",
2155
+ "strict": true,
2156
+ "isESM": true,
2157
+ "relativePath": [
2158
+ "dist",
2159
+ "commands",
2160
+ "onboarding",
2161
+ "todo.js"
2162
+ ]
2163
+ },
2164
+ "onboarding:viewport": {
2165
+ "aliases": [],
2166
+ "args": {},
2167
+ "description": "Sweep the viewport to find the widths where the page's JavaScript re-renders: what a device variation has to cover",
2168
+ "examples": [
2169
+ "$ sk onboarding viewport",
2170
+ "$ sk onboarding viewport --min 700 --max 1100 --step 10"
2171
+ ],
2172
+ "flags": {
2173
+ "run": {
2174
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
2175
+ "name": "run",
2176
+ "hasDynamicHelp": false,
2177
+ "multiple": false,
2178
+ "type": "option"
2179
+ },
2180
+ "json": {
2181
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
2182
+ "name": "json",
2183
+ "allowNo": false,
2184
+ "type": "boolean"
2185
+ },
2186
+ "timeout": {
2187
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
2188
+ "name": "timeout",
2189
+ "hasDynamicHelp": false,
2190
+ "multiple": false,
2191
+ "type": "option"
2192
+ },
2193
+ "min": {
2194
+ "description": "Narrowest width. Default 360",
2195
+ "name": "min",
2196
+ "hasDynamicHelp": false,
2197
+ "multiple": false,
2198
+ "type": "option"
2199
+ },
2200
+ "max": {
2201
+ "description": "Widest width. Default 1600",
2202
+ "name": "max",
2203
+ "hasDynamicHelp": false,
2204
+ "multiple": false,
2205
+ "type": "option"
2206
+ },
2207
+ "step": {
2208
+ "description": "Coarse increment before pinning to the pixel. Default 20; lower it for breakpoints close together",
2209
+ "name": "step",
2210
+ "hasDynamicHelp": false,
2211
+ "multiple": false,
2212
+ "type": "option"
2213
+ },
2214
+ "settle": {
2215
+ "description": "How long the page gets to react to each resize, in ms. Default 350",
2216
+ "name": "settle",
2217
+ "hasDynamicHelp": false,
2218
+ "multiple": false,
2219
+ "type": "option"
2220
+ },
2221
+ "height": {
2222
+ "description": "Viewport height. Default 900",
2223
+ "name": "height",
2224
+ "hasDynamicHelp": false,
2225
+ "multiple": false,
2226
+ "type": "option"
2227
+ },
2228
+ "url": {
2229
+ "description": "Navigate here first, so the sweep is of a known page",
2230
+ "name": "url",
2231
+ "hasDynamicHelp": false,
2232
+ "multiple": false,
2233
+ "type": "option"
2234
+ },
2235
+ "tab": {
2236
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
2237
+ "name": "tab",
2238
+ "hasDynamicHelp": false,
2239
+ "multiple": false,
2240
+ "type": "option"
2241
+ }
2242
+ },
2243
+ "hasDynamicHelp": false,
2244
+ "hiddenAliases": [],
2245
+ "id": "onboarding:viewport",
2246
+ "pluginAlias": "@speedkit/cli",
2247
+ "pluginName": "@speedkit/cli",
2248
+ "pluginType": "core",
2249
+ "strict": true,
2250
+ "isESM": true,
2251
+ "relativePath": [
2252
+ "dist",
2253
+ "commands",
2254
+ "onboarding",
2255
+ "viewport.js"
2256
+ ]
2257
+ },
2258
+ "onboarding:watch": {
2259
+ "aliases": [],
2260
+ "args": {
2261
+ "expression": {
2262
+ "description": "JavaScript returning a JSON-able value, evaluated every tick, e.g. '!!window.SpeedKit'",
2263
+ "name": "expression",
2264
+ "required": true
2265
+ }
2266
+ },
2267
+ "description": "Sample an expression in the page across a load, with the console messages beside it",
2268
+ "examples": [
2269
+ "$ sk onboarding watch '!!window.SpeedKit' --reload",
2270
+ "$ sk onboarding watch 'document.title' --reload --duration 30000"
2271
+ ],
2272
+ "flags": {
2273
+ "run": {
2274
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
2275
+ "name": "run",
2276
+ "hasDynamicHelp": false,
2277
+ "multiple": false,
2278
+ "type": "option"
2279
+ },
2280
+ "json": {
2281
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
2282
+ "name": "json",
2283
+ "allowNo": false,
2284
+ "type": "boolean"
2285
+ },
2286
+ "timeout": {
2287
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
2288
+ "name": "timeout",
2289
+ "hasDynamicHelp": false,
2290
+ "multiple": false,
2291
+ "type": "option"
2292
+ },
2293
+ "interval": {
2294
+ "description": "Milliseconds between samples. Default 200",
2295
+ "name": "interval",
2296
+ "hasDynamicHelp": false,
2297
+ "multiple": false,
2298
+ "type": "option"
2299
+ },
2300
+ "duration": {
2301
+ "description": "How long to watch, in ms. Default 15000, at most 120000",
2302
+ "name": "duration",
2303
+ "hasDynamicHelp": false,
2304
+ "multiple": false,
2305
+ "type": "option"
2306
+ },
2307
+ "reload": {
2308
+ "description": "Reload first, so the timeline starts at t=0 of a fresh load. Almost always right for a question about page load",
2309
+ "name": "reload",
2310
+ "allowNo": false,
2311
+ "type": "boolean"
2312
+ },
2313
+ "full": {
2314
+ "description": "Every sample, not only the ones where the value changed",
2315
+ "name": "full",
2316
+ "allowNo": false,
2317
+ "type": "boolean"
2318
+ },
2319
+ "tab": {
2320
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
2321
+ "name": "tab",
2322
+ "hasDynamicHelp": false,
2323
+ "multiple": false,
2324
+ "type": "option"
2325
+ }
2326
+ },
2327
+ "hasDynamicHelp": false,
2328
+ "hiddenAliases": [],
2329
+ "id": "onboarding:watch",
2330
+ "pluginAlias": "@speedkit/cli",
2331
+ "pluginName": "@speedkit/cli",
2332
+ "pluginType": "core",
2333
+ "strict": true,
2334
+ "isESM": true,
2335
+ "relativePath": [
2336
+ "dist",
2337
+ "commands",
2338
+ "onboarding",
2339
+ "watch.js"
2340
+ ]
2341
+ },
2342
+ "extension:add": {
2343
+ "aliases": [],
2344
+ "args": {
2345
+ "ref": {
2346
+ "description": "Chrome Web Store link or extension id",
2347
+ "name": "ref",
2348
+ "required": false
2349
+ }
2350
+ },
2351
+ "description": "Install a Chrome extension into the onboarding browser by Web Store link or id",
2352
+ "examples": [
2353
+ "$ sk extension add fmkadmapgofadopljbjfkapdkoienihi",
2354
+ "$ sk extension add https://chromewebstore.google.com/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi",
2355
+ "$ sk extension add"
2356
+ ],
2357
+ "flags": {},
2358
+ "hasDynamicHelp": false,
2359
+ "hiddenAliases": [],
2360
+ "id": "extension:add",
2361
+ "pluginAlias": "@speedkit/cli",
2362
+ "pluginName": "@speedkit/cli",
2363
+ "pluginType": "core",
2364
+ "strict": true,
2365
+ "enableJsonFlag": false,
2366
+ "isESM": true,
2367
+ "relativePath": [
2368
+ "dist",
2369
+ "commands",
2370
+ "extension",
2371
+ "add.js"
2372
+ ]
2373
+ },
2374
+ "extension:devtools": {
2375
+ "aliases": [],
2376
+ "args": {},
2377
+ "description": "Install the integration-devtools extension for the onboarding browser, or update it to the latest release",
2378
+ "examples": [
2379
+ "$ sk extension devtools",
2380
+ "$ sk extension devtools --force"
2381
+ ],
2382
+ "flags": {
2383
+ "force": {
2384
+ "description": "reinstall the latest release even when it is up to date",
2385
+ "name": "force",
2386
+ "allowNo": false,
2387
+ "type": "boolean"
2388
+ }
2389
+ },
2390
+ "hasDynamicHelp": false,
2391
+ "hiddenAliases": [],
2392
+ "id": "extension:devtools",
2393
+ "pluginAlias": "@speedkit/cli",
2394
+ "pluginName": "@speedkit/cli",
2395
+ "pluginType": "core",
2396
+ "strict": true,
2397
+ "enableJsonFlag": false,
2398
+ "isESM": true,
2399
+ "relativePath": [
2400
+ "dist",
2401
+ "commands",
2402
+ "extension",
2403
+ "devtools.js"
2404
+ ]
2405
+ },
2406
+ "extension:list": {
2407
+ "aliases": [],
2408
+ "args": {},
2409
+ "description": "List Chrome extensions managed by the setup wizard",
2410
+ "examples": [
2411
+ "$ sk extension list"
2412
+ ],
2413
+ "flags": {},
2414
+ "hasDynamicHelp": false,
2415
+ "hiddenAliases": [],
2416
+ "id": "extension:list",
2417
+ "pluginAlias": "@speedkit/cli",
2418
+ "pluginName": "@speedkit/cli",
2419
+ "pluginType": "core",
2420
+ "strict": true,
2421
+ "enableJsonFlag": false,
2422
+ "isESM": true,
2423
+ "relativePath": [
2424
+ "dist",
2425
+ "commands",
2426
+ "extension",
2427
+ "list.js"
2428
+ ]
2429
+ },
2430
+ "extension:remove": {
2431
+ "aliases": [],
2432
+ "args": {
2433
+ "ref": {
2434
+ "description": "Chrome Web Store link or extension id",
2435
+ "name": "ref",
2436
+ "required": false
2437
+ }
2438
+ },
2439
+ "description": "Remove a managed Chrome extension",
2440
+ "examples": [
2441
+ "$ sk extension remove",
2442
+ "$ sk extension remove <id>"
2443
+ ],
2444
+ "flags": {},
2445
+ "hasDynamicHelp": false,
2446
+ "hiddenAliases": [],
2447
+ "id": "extension:remove",
2448
+ "pluginAlias": "@speedkit/cli",
2449
+ "pluginName": "@speedkit/cli",
2450
+ "pluginType": "core",
2451
+ "strict": true,
2452
+ "enableJsonFlag": false,
2453
+ "isESM": true,
2454
+ "relativePath": [
2455
+ "dist",
2456
+ "commands",
2457
+ "extension",
2458
+ "remove.js"
2459
+ ]
2460
+ },
2461
+ "extension:update": {
2462
+ "aliases": [],
2463
+ "args": {},
2464
+ "description": "Check managed Chrome extensions for updates and install them",
2465
+ "examples": [
2466
+ "$ sk extension update"
2467
+ ],
2468
+ "flags": {},
2469
+ "hasDynamicHelp": false,
2470
+ "hiddenAliases": [],
2471
+ "id": "extension:update",
2472
+ "pluginAlias": "@speedkit/cli",
2473
+ "pluginName": "@speedkit/cli",
2474
+ "pluginType": "core",
2475
+ "strict": true,
2476
+ "enableJsonFlag": false,
2477
+ "isESM": true,
2478
+ "relativePath": [
2479
+ "dist",
2480
+ "commands",
2481
+ "extension",
2482
+ "update.js"
2483
+ ]
2484
+ },
2485
+ "query:parameter": {
2486
+ "aliases": [
2487
+ "build-parameter-query"
2488
+ ],
2489
+ "args": {
2490
+ "customerPath": {
2491
+ "description": "The customer config path",
2492
+ "name": "customerPath",
2493
+ "required": true
2494
+ }
2495
+ },
2496
+ "deprecateAliases": true,
2497
+ "description": "Build a parameter query that can be executed in Athena",
2498
+ "examples": [
2499
+ "$ sk query parameter <customerPath> -c <configName>",
2500
+ "$ sk query parameter customers/decathlon.de -c production",
2501
+ "$ sk query parameter customers/decathlon.de --explain"
2502
+ ],
2503
+ "flags": {
2504
+ "catalog": {
2505
+ "description": "Athena data catalog holding the rum tables. Names the catalog both in the query and in the context it runs in, so the two always agree",
2506
+ "env": "SK_ATHENA_CATALOG",
2507
+ "name": "catalog",
2508
+ "required": false,
2509
+ "default": "live",
2510
+ "hasDynamicHelp": false,
2511
+ "multiple": false,
2512
+ "type": "option"
2513
+ },
2514
+ "workgroup": {
2515
+ "description": "Athena workgroup to run the query in, e.g. 'prewarming'. Defaults to the account's default workgroup",
2516
+ "env": "SK_ATHENA_WORKGROUP",
2517
+ "name": "workgroup",
2518
+ "required": false,
2519
+ "hasDynamicHelp": false,
2520
+ "multiple": false,
2521
+ "type": "option"
2522
+ },
2523
+ "configName": {
2524
+ "char": "c",
2525
+ "description": "The costumer config name",
2526
+ "name": "configName",
2527
+ "required": false,
2528
+ "default": "production",
2529
+ "hasDynamicHelp": false,
2530
+ "multiple": false,
2531
+ "type": "option"
2532
+ },
2533
+ "days": {
2534
+ "char": "d",
2535
+ "description": "Number of days the query looks back",
2536
+ "name": "days",
2537
+ "required": false,
2538
+ "hasDynamicHelp": false,
2539
+ "multiple": false,
2540
+ "type": "option"
2541
+ },
2542
+ "excludeNoindex": {
2543
+ "description": "Exclude page impressions of pages marked noindex",
2544
+ "name": "excludeNoindex",
2545
+ "allowNo": false,
2546
+ "type": "boolean"
2547
+ },
2548
+ "excludeSuspicious": {
2549
+ "description": "Exclude page impressions Speed Kit classified as suspicious",
2550
+ "name": "excludeSuspicious",
2551
+ "allowNo": false,
2552
+ "type": "boolean"
2553
+ },
2554
+ "explain": {
2555
+ "description": "Account for every rule the query leaves out, reduces or approximates",
2556
+ "name": "explain",
2557
+ "allowNo": false,
2558
+ "type": "boolean"
2559
+ },
2560
+ "hardNavigationsOnly": {
2561
+ "description": "Exclude soft (SPA) navigations",
2562
+ "name": "hardNavigationsOnly",
2563
+ "allowNo": false,
2564
+ "type": "boolean"
2565
+ },
2566
+ "execute": {
2567
+ "char": "e",
2568
+ "description": "Execute the query directly and write the result to a <app>-<date>-<query>.csv file",
2569
+ "name": "execute",
2570
+ "allowNo": false,
2571
+ "type": "boolean"
2572
+ },
2573
+ "quiet": {
2574
+ "char": "q",
2575
+ "description": "Output only the raw query without clipboard copy or styling",
2576
+ "name": "quiet",
2577
+ "allowNo": false,
2578
+ "type": "boolean"
2579
+ },
2580
+ "bySet": {
2581
+ "description": "Rank whole sets of parameters instead of single parameters, to see which ones travel together",
2582
+ "name": "bySet",
2583
+ "allowNo": false,
2584
+ "type": "boolean"
2585
+ },
2586
+ "minImpressions": {
2587
+ "description": "Leave out parameters seen on fewer page impressions than this",
2588
+ "name": "minImpressions",
2589
+ "required": false,
2590
+ "hasDynamicHelp": false,
2591
+ "multiple": false,
2592
+ "type": "option"
2593
+ }
2594
+ },
2595
+ "hasDynamicHelp": false,
2596
+ "hiddenAliases": [],
2597
+ "id": "query:parameter",
2598
+ "pluginAlias": "@speedkit/cli",
2599
+ "pluginName": "@speedkit/cli",
2600
+ "pluginType": "core",
2601
+ "strict": true,
2602
+ "enableJsonFlag": false,
2603
+ "isESM": true,
2604
+ "relativePath": [
2605
+ "dist",
2606
+ "commands",
2607
+ "query",
2608
+ "parameter.js"
2609
+ ]
2610
+ },
2611
+ "query:prewarm": {
2612
+ "aliases": [
2613
+ "build-prewarm-query"
2614
+ ],
2615
+ "args": {
2616
+ "customerPath": {
2617
+ "description": "The customer config path",
2618
+ "name": "customerPath",
2619
+ "required": true
2620
+ }
2621
+ },
2622
+ "deprecateAliases": true,
2623
+ "description": "Build a prewarm query that can be executed in Athena",
2624
+ "examples": [
2625
+ "$ sk query prewarm <customerPath> -c <configName>",
2626
+ "$ sk query prewarm customers/decathlon.de -c production",
2627
+ "$ sk query prewarm customers/decathlon.de --explain",
2628
+ "$ sk query prewarm customers/decathlon.de --match '^/p/'",
2629
+ "$ sk query prewarm customers/decathlon.de --device desktop,mobile",
2630
+ "$ sk query prewarm customers/decathlon.de -v MOBILE,DESKTOP",
2631
+ "$ sk query prewarm customers/decathlon.de --count"
2632
+ ],
2633
+ "flags": {
2634
+ "catalog": {
2635
+ "description": "Athena data catalog holding the rum tables. Names the catalog both in the query and in the context it runs in, so the two always agree",
2636
+ "env": "SK_ATHENA_CATALOG",
2637
+ "name": "catalog",
2638
+ "required": false,
2639
+ "default": "live",
2640
+ "hasDynamicHelp": false,
2641
+ "multiple": false,
2642
+ "type": "option"
2643
+ },
2644
+ "workgroup": {
2645
+ "description": "Athena workgroup to run the query in, e.g. 'prewarming'. Defaults to the account's default workgroup",
2646
+ "env": "SK_ATHENA_WORKGROUP",
2647
+ "name": "workgroup",
2648
+ "required": false,
2649
+ "hasDynamicHelp": false,
2650
+ "multiple": false,
2651
+ "type": "option"
2652
+ },
2653
+ "configName": {
2654
+ "char": "c",
2655
+ "description": "The costumer config name",
2656
+ "name": "configName",
2657
+ "required": false,
2658
+ "default": "production",
2659
+ "hasDynamicHelp": false,
2660
+ "multiple": false,
2661
+ "type": "option"
2662
+ },
2663
+ "days": {
2664
+ "char": "d",
2665
+ "description": "Number of days the query looks back",
2666
+ "name": "days",
2667
+ "required": false,
2668
+ "hasDynamicHelp": false,
2669
+ "multiple": false,
2670
+ "type": "option"
2671
+ },
2672
+ "excludeNoindex": {
2673
+ "description": "Exclude page impressions of pages marked noindex",
2674
+ "name": "excludeNoindex",
2675
+ "allowNo": false,
2676
+ "type": "boolean"
2677
+ },
2678
+ "excludeSuspicious": {
2679
+ "description": "Exclude page impressions Speed Kit classified as suspicious",
2680
+ "name": "excludeSuspicious",
2681
+ "allowNo": false,
2682
+ "type": "boolean"
2683
+ },
2684
+ "explain": {
1841
2685
  "description": "Account for every rule the query leaves out, reduces or approximates",
1842
2686
  "name": "explain",
1843
2687
  "allowNo": false,
1844
2688
  "type": "boolean"
1845
2689
  },
1846
- "hardNavigationsOnly": {
1847
- "description": "Exclude soft (SPA) navigations",
1848
- "name": "hardNavigationsOnly",
2690
+ "hardNavigationsOnly": {
2691
+ "description": "Exclude soft (SPA) navigations",
2692
+ "name": "hardNavigationsOnly",
2693
+ "allowNo": false,
2694
+ "type": "boolean"
2695
+ },
2696
+ "execute": {
2697
+ "char": "e",
2698
+ "description": "Execute the query directly and write the result to a <app>-<date>-<query>.csv file",
2699
+ "name": "execute",
2700
+ "allowNo": false,
2701
+ "type": "boolean"
2702
+ },
2703
+ "quiet": {
2704
+ "char": "q",
2705
+ "description": "Output only the raw query without clipboard copy or styling",
2706
+ "name": "quiet",
2707
+ "allowNo": false,
2708
+ "type": "boolean"
2709
+ },
2710
+ "device": {
2711
+ "description": "Split the list by device class, so every url is warmed in the variations it was actually requested in. A class not named is left out",
2712
+ "exclusive": [
2713
+ "variation"
2714
+ ],
2715
+ "name": "device",
2716
+ "required": false,
2717
+ "delimiter": ",",
2718
+ "hasDynamicHelp": false,
2719
+ "multiple": true,
2720
+ "options": [
2721
+ "desktop",
2722
+ "mobile",
2723
+ "tablet"
2724
+ ],
2725
+ "type": "option"
2726
+ },
2727
+ "variation": {
2728
+ "char": "v",
2729
+ "description": "Pair every url of the list with each of these variations. For the custom variations no traffic can reveal, e.g. 'desktop-pdp-a,mobile-pdp-a'",
2730
+ "exclusive": [
2731
+ "device"
2732
+ ],
2733
+ "name": "variation",
2734
+ "required": false,
2735
+ "delimiter": ",",
2736
+ "hasDynamicHelp": false,
2737
+ "multiple": true,
2738
+ "type": "option"
2739
+ },
2740
+ "excludeNotFound": {
2741
+ "description": "Leave out urls the origin answers with a 404 more often than not",
2742
+ "name": "excludeNotFound",
2743
+ "allowNo": false,
2744
+ "type": "boolean"
2745
+ },
2746
+ "limit": {
2747
+ "description": "Keep only the most requested urls",
2748
+ "name": "limit",
2749
+ "required": false,
2750
+ "hasDynamicHelp": false,
2751
+ "multiple": false,
2752
+ "type": "option"
2753
+ },
2754
+ "match": {
2755
+ "description": "Keep only urls whose path matches this regular expression, e.g. '^/p/'. The path is matched with its query string, the way a version 1 pathname rule matches it, so '[?&]size=' works too. Repeat the flag to keep the urls matching any of several patterns, and start a pattern with (?i) to match case-insensitively",
2756
+ "name": "match",
2757
+ "required": false,
2758
+ "hasDynamicHelp": false,
2759
+ "multiple": true,
2760
+ "type": "option"
2761
+ },
2762
+ "minHits": {
2763
+ "description": "Keep only urls requested at least this often in the window",
2764
+ "name": "minHits",
2765
+ "required": false,
2766
+ "hasDynamicHelp": false,
2767
+ "multiple": false,
2768
+ "type": "option"
2769
+ },
2770
+ "count": {
2771
+ "description": "Run the query and report how large the list is instead of what is in it: urls, the impressions they stand for, and a row per variation where the list carries variations. Every other flag still applies, so this counts the list the same command would produce",
2772
+ "exclusive": [
2773
+ "execute"
2774
+ ],
2775
+ "name": "count",
2776
+ "allowNo": false,
2777
+ "type": "boolean"
2778
+ }
2779
+ },
2780
+ "hasDynamicHelp": false,
2781
+ "hiddenAliases": [],
2782
+ "id": "query:prewarm",
2783
+ "pluginAlias": "@speedkit/cli",
2784
+ "pluginName": "@speedkit/cli",
2785
+ "pluginType": "core",
2786
+ "strict": true,
2787
+ "enableJsonFlag": false,
2788
+ "isESM": true,
2789
+ "relativePath": [
2790
+ "dist",
2791
+ "commands",
2792
+ "query",
2793
+ "prewarm.js"
2794
+ ]
2795
+ },
2796
+ "revalidate:jobs": {
2797
+ "aliases": [],
2798
+ "args": {
2799
+ "app": {
2800
+ "description": "The customer app name",
2801
+ "name": "app",
2802
+ "required": true
2803
+ },
2804
+ "revId": {
2805
+ "description": "Show this job in full instead of the list.",
2806
+ "name": "revId",
2807
+ "required": false
2808
+ }
2809
+ },
2810
+ "description": "List the revalidation jobs of an app that have not ended, or show one in full. In a terminal, it asks which job to show or to start.",
2811
+ "examples": [
2812
+ "$ sk revalidate jobs example-shop",
2813
+ "$ sk revalidate jobs example-shop --state SCHEDULED --state CANCELLED",
2814
+ "$ sk revalidate jobs example-shop <revId>"
2815
+ ],
2816
+ "flags": {
2817
+ "state": {
2818
+ "description": "List the jobs in these states. Repeatable. The default is every state of a job that has not ended.",
2819
+ "name": "state",
2820
+ "default": [
2821
+ "CREATED",
2822
+ "SCHEDULED",
2823
+ "DEFERRED",
2824
+ "RUNNING"
2825
+ ],
2826
+ "hasDynamicHelp": false,
2827
+ "multiple": true,
2828
+ "options": [
2829
+ "CREATED",
2830
+ "SCHEDULED",
2831
+ "DEFERRED",
2832
+ "RUNNING",
2833
+ "FINISHED",
2834
+ "ERROR",
2835
+ "CANCELLED"
2836
+ ],
2837
+ "type": "option"
2838
+ }
2839
+ },
2840
+ "hasDynamicHelp": false,
2841
+ "hiddenAliases": [],
2842
+ "id": "revalidate:jobs",
2843
+ "pluginAlias": "@speedkit/cli",
2844
+ "pluginName": "@speedkit/cli",
2845
+ "pluginType": "core",
2846
+ "strict": true,
2847
+ "enableJsonFlag": false,
2848
+ "isESM": true,
2849
+ "relativePath": [
2850
+ "dist",
2851
+ "commands",
2852
+ "revalidate",
2853
+ "jobs.js"
2854
+ ]
2855
+ },
2856
+ "revalidate:start": {
2857
+ "aliases": [],
2858
+ "args": {
2859
+ "app": {
2860
+ "description": "The customer app name",
2861
+ "name": "app",
2862
+ "required": true
2863
+ },
2864
+ "revId": {
2865
+ "description": "The scheduled job to start now.",
2866
+ "name": "revId",
2867
+ "required": true
2868
+ }
2869
+ },
2870
+ "description": "Start a scheduled revalidation job now instead of after its wait.",
2871
+ "examples": [
2872
+ "$ sk revalidate start example-shop <revId>",
2873
+ "$ sk revalidate start example-shop <revId> --wait"
2874
+ ],
2875
+ "flags": {
2876
+ "wait": {
2877
+ "description": "Wait until the job ends.",
2878
+ "name": "wait",
2879
+ "allowNo": false,
2880
+ "type": "boolean"
2881
+ }
2882
+ },
2883
+ "hasDynamicHelp": false,
2884
+ "hiddenAliases": [],
2885
+ "id": "revalidate:start",
2886
+ "pluginAlias": "@speedkit/cli",
2887
+ "pluginName": "@speedkit/cli",
2888
+ "pluginType": "core",
2889
+ "strict": true,
2890
+ "enableJsonFlag": false,
2891
+ "isESM": true,
2892
+ "relativePath": [
2893
+ "dist",
2894
+ "commands",
2895
+ "revalidate",
2896
+ "start.js"
2897
+ ]
2898
+ },
2899
+ "revalidate:unblock": {
2900
+ "aliases": [],
2901
+ "args": {
2902
+ "app": {
2903
+ "description": "The customer app name",
2904
+ "name": "app",
2905
+ "required": true
2906
+ }
2907
+ },
2908
+ "description": "Start the scheduled deployment jobs of an app until none blocks the HTML. A scheduled deployment job makes Speed Kit answer 306 and serve from origin. Use it while the app runs at 0%: above 0%, let the jobs run on their own schedule and use `sk revalidate wait`.",
2909
+ "examples": [
2910
+ "$ sk revalidate unblock example-shop"
2911
+ ],
2912
+ "flags": {},
2913
+ "hasDynamicHelp": false,
2914
+ "hiddenAliases": [],
2915
+ "id": "revalidate:unblock",
2916
+ "pluginAlias": "@speedkit/cli",
2917
+ "pluginName": "@speedkit/cli",
2918
+ "pluginType": "core",
2919
+ "strict": true,
2920
+ "enableJsonFlag": false,
2921
+ "isESM": true,
2922
+ "relativePath": [
2923
+ "dist",
2924
+ "commands",
2925
+ "revalidate",
2926
+ "unblock.js"
2927
+ ]
2928
+ },
2929
+ "revalidate:wait": {
2930
+ "aliases": [],
2931
+ "args": {
2932
+ "app": {
2933
+ "description": "The customer app name",
2934
+ "name": "app",
2935
+ "required": true
2936
+ }
2937
+ },
2938
+ "description": "Wait until no deployment job of an app blocks the HTML. It starts nothing.",
2939
+ "examples": [
2940
+ "$ sk revalidate wait example-shop"
2941
+ ],
2942
+ "flags": {},
2943
+ "hasDynamicHelp": false,
2944
+ "hiddenAliases": [],
2945
+ "id": "revalidate:wait",
2946
+ "pluginAlias": "@speedkit/cli",
2947
+ "pluginName": "@speedkit/cli",
2948
+ "pluginType": "core",
2949
+ "strict": true,
2950
+ "enableJsonFlag": false,
2951
+ "isESM": true,
2952
+ "relativePath": [
2953
+ "dist",
2954
+ "commands",
2955
+ "revalidate",
2956
+ "wait.js"
2957
+ ]
2958
+ },
2959
+ "onboarding:browser:click": {
2960
+ "aliases": [],
2961
+ "args": {
2962
+ "selector": {
2963
+ "description": "A CSS selector. Or --text",
2964
+ "name": "selector",
2965
+ "required": false
2966
+ }
2967
+ },
2968
+ "description": "Click an element the way a visitor does — a trusted click at its centre, a tap under touch emulation — by selector or by its text",
2969
+ "examples": [
2970
+ "$ sk onboarding browser click '#onetrust-accept-btn-handler'",
2971
+ "$ sk onboarding browser click --text 'In den Warenkorb'",
2972
+ "$ sk onboarding browser click --text 'Sign in with Shop' --tab 0"
2973
+ ],
2974
+ "flags": {
2975
+ "run": {
2976
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
2977
+ "name": "run",
2978
+ "hasDynamicHelp": false,
2979
+ "multiple": false,
2980
+ "type": "option"
2981
+ },
2982
+ "json": {
2983
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
2984
+ "name": "json",
2985
+ "allowNo": false,
2986
+ "type": "boolean"
2987
+ },
2988
+ "timeout": {
2989
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
2990
+ "name": "timeout",
2991
+ "hasDynamicHelp": false,
2992
+ "multiple": false,
2993
+ "type": "option"
2994
+ },
2995
+ "text": {
2996
+ "description": "The visible text, aria-label or value of a link or button, e.g. 'In den Warenkorb'",
2997
+ "name": "text",
2998
+ "hasDynamicHelp": false,
2999
+ "multiple": false,
3000
+ "type": "option"
3001
+ },
3002
+ "tab": {
3003
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
3004
+ "name": "tab",
3005
+ "hasDynamicHelp": false,
3006
+ "multiple": false,
3007
+ "type": "option"
3008
+ }
3009
+ },
3010
+ "hasDynamicHelp": false,
3011
+ "hiddenAliases": [],
3012
+ "id": "onboarding:browser:click",
3013
+ "pluginAlias": "@speedkit/cli",
3014
+ "pluginName": "@speedkit/cli",
3015
+ "pluginType": "core",
3016
+ "strict": true,
3017
+ "isESM": true,
3018
+ "relativePath": [
3019
+ "dist",
3020
+ "commands",
3021
+ "onboarding",
3022
+ "browser",
3023
+ "click.js"
3024
+ ]
3025
+ },
3026
+ "onboarding:browser:emulate": {
3027
+ "aliases": [],
3028
+ "args": {
3029
+ "device": {
3030
+ "description": "The same profile as sk onboarding --device: screen, DPR, user agent, client hints and touch. off puts back the state the run started with",
3031
+ "name": "device",
3032
+ "options": [
3033
+ "mobile",
3034
+ "tablet",
3035
+ "desktop",
3036
+ "off"
3037
+ ],
3038
+ "required": true
3039
+ }
3040
+ },
3041
+ "description": "Emulate a device until switched off: viewport, touch and user agent, on the page and on Speed Kit's service worker",
3042
+ "examples": [
3043
+ "$ sk onboarding browser emulate mobile",
3044
+ "$ sk onboarding browser emulate desktop --width 1440 --height 900",
3045
+ "$ 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\"",
3046
+ "$ sk onboarding browser emulate off"
3047
+ ],
3048
+ "flags": {
3049
+ "run": {
3050
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
3051
+ "name": "run",
3052
+ "hasDynamicHelp": false,
3053
+ "multiple": false,
3054
+ "type": "option"
3055
+ },
3056
+ "json": {
3057
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
3058
+ "name": "json",
3059
+ "allowNo": false,
3060
+ "type": "boolean"
3061
+ },
3062
+ "timeout": {
3063
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
3064
+ "name": "timeout",
3065
+ "hasDynamicHelp": false,
3066
+ "multiple": false,
3067
+ "type": "option"
3068
+ },
3069
+ "width": {
3070
+ "description": "Override the preset's width",
3071
+ "name": "width",
3072
+ "hasDynamicHelp": false,
3073
+ "multiple": false,
3074
+ "type": "option"
3075
+ },
3076
+ "height": {
3077
+ "description": "Override the preset's height",
3078
+ "name": "height",
3079
+ "hasDynamicHelp": false,
3080
+ "multiple": false,
3081
+ "type": "option"
3082
+ },
3083
+ "dpr": {
3084
+ "description": "Override the preset's device pixel ratio",
3085
+ "name": "dpr",
3086
+ "hasDynamicHelp": false,
3087
+ "multiple": false,
3088
+ "type": "option"
3089
+ },
3090
+ "user-agent": {
3091
+ "description": "Override the preset's user agent, on the page and the service worker; sends no client hints, as Safari does",
3092
+ "name": "user-agent",
3093
+ "hasDynamicHelp": false,
3094
+ "multiple": false,
3095
+ "type": "option"
3096
+ },
3097
+ "touch": {
3098
+ "description": "Override the preset's touch: --touch or --no-touch",
3099
+ "name": "touch",
3100
+ "allowNo": true,
3101
+ "type": "boolean"
3102
+ },
3103
+ "reload": {
3104
+ "description": "Load the page again as the device. --no-reload leaves the loaded document as it was",
3105
+ "name": "reload",
3106
+ "allowNo": true,
3107
+ "type": "boolean"
3108
+ },
3109
+ "tab": {
3110
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
3111
+ "name": "tab",
3112
+ "hasDynamicHelp": false,
3113
+ "multiple": false,
3114
+ "type": "option"
3115
+ }
3116
+ },
3117
+ "hasDynamicHelp": false,
3118
+ "hiddenAliases": [],
3119
+ "id": "onboarding:browser:emulate",
3120
+ "pluginAlias": "@speedkit/cli",
3121
+ "pluginName": "@speedkit/cli",
3122
+ "pluginType": "core",
3123
+ "strict": true,
3124
+ "isESM": true,
3125
+ "relativePath": [
3126
+ "dist",
3127
+ "commands",
3128
+ "onboarding",
3129
+ "browser",
3130
+ "emulate.js"
3131
+ ]
3132
+ },
3133
+ "onboarding:browser:navigate": {
3134
+ "aliases": [],
3135
+ "args": {
3136
+ "url": {
3137
+ "description": "Absolute, or relative to the origin the page is on",
3138
+ "name": "url",
3139
+ "required": true
3140
+ }
3141
+ },
3142
+ "description": "Navigate the page, to any origin the app covers",
3143
+ "examples": [
3144
+ "$ sk onboarding browser navigate /checkout",
3145
+ "$ sk onboarding browser navigate https://www.decathlon.de/",
3146
+ "$ sk onboarding browser navigate https://www.decathlon.de/ --wait bp2 --json"
3147
+ ],
3148
+ "flags": {
3149
+ "run": {
3150
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
3151
+ "name": "run",
3152
+ "hasDynamicHelp": false,
3153
+ "multiple": false,
3154
+ "type": "option"
3155
+ },
3156
+ "json": {
3157
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
3158
+ "name": "json",
3159
+ "allowNo": false,
3160
+ "type": "boolean"
3161
+ },
3162
+ "timeout": {
3163
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
3164
+ "name": "timeout",
3165
+ "hasDynamicHelp": false,
3166
+ "multiple": false,
3167
+ "type": "option"
3168
+ },
3169
+ "wait": {
3170
+ "description": "Where to return: the load event, or the Speed Kit lifecycle mark of a breakpoint (bp1 before the merge, bp2 after it, bp3 the SSR comparison, bp4 the SSR container removed). It waits for the mark and never pauses; a mark that cannot come returns at once with the reason. --timeout bounds it (default 30000)",
3171
+ "name": "wait",
3172
+ "default": "load",
3173
+ "hasDynamicHelp": false,
3174
+ "multiple": false,
3175
+ "options": [
3176
+ "load",
3177
+ "bp1",
3178
+ "bp2",
3179
+ "bp3",
3180
+ "bp4"
3181
+ ],
3182
+ "type": "option"
3183
+ },
3184
+ "tab": {
3185
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
3186
+ "name": "tab",
3187
+ "hasDynamicHelp": false,
3188
+ "multiple": false,
3189
+ "type": "option"
3190
+ }
3191
+ },
3192
+ "hasDynamicHelp": false,
3193
+ "hiddenAliases": [],
3194
+ "id": "onboarding:browser:navigate",
3195
+ "pluginAlias": "@speedkit/cli",
3196
+ "pluginName": "@speedkit/cli",
3197
+ "pluginType": "core",
3198
+ "strict": true,
3199
+ "isESM": true,
3200
+ "relativePath": [
3201
+ "dist",
3202
+ "commands",
3203
+ "onboarding",
3204
+ "browser",
3205
+ "navigate.js"
3206
+ ]
3207
+ },
3208
+ "onboarding:browser:panel": {
3209
+ "aliases": [],
3210
+ "args": {},
3211
+ "description": "Show the Speed Kit devtools panel, opening DevTools if it is closed",
3212
+ "examples": [
3213
+ "$ sk onboarding browser panel"
3214
+ ],
3215
+ "flags": {
3216
+ "run": {
3217
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
3218
+ "name": "run",
3219
+ "hasDynamicHelp": false,
3220
+ "multiple": false,
3221
+ "type": "option"
3222
+ },
3223
+ "json": {
3224
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
3225
+ "name": "json",
3226
+ "allowNo": false,
3227
+ "type": "boolean"
3228
+ },
3229
+ "timeout": {
3230
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
3231
+ "name": "timeout",
3232
+ "hasDynamicHelp": false,
3233
+ "multiple": false,
3234
+ "type": "option"
3235
+ },
3236
+ "tab": {
3237
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
3238
+ "name": "tab",
3239
+ "hasDynamicHelp": false,
3240
+ "multiple": false,
3241
+ "type": "option"
3242
+ }
3243
+ },
3244
+ "hasDynamicHelp": false,
3245
+ "hiddenAliases": [],
3246
+ "id": "onboarding:browser:panel",
3247
+ "pluginAlias": "@speedkit/cli",
3248
+ "pluginName": "@speedkit/cli",
3249
+ "pluginType": "core",
3250
+ "strict": true,
3251
+ "isESM": true,
3252
+ "relativePath": [
3253
+ "dist",
3254
+ "commands",
3255
+ "onboarding",
3256
+ "browser",
3257
+ "panel.js"
3258
+ ]
3259
+ },
3260
+ "onboarding:browser:reinstall-sw": {
3261
+ "aliases": [],
3262
+ "args": {},
3263
+ "description": "Put the local Speed Kit build back after the deployed one took over",
3264
+ "examples": [
3265
+ "$ sk onboarding browser reinstall-sw"
3266
+ ],
3267
+ "flags": {
3268
+ "run": {
3269
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
3270
+ "name": "run",
3271
+ "hasDynamicHelp": false,
3272
+ "multiple": false,
3273
+ "type": "option"
3274
+ },
3275
+ "json": {
3276
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
3277
+ "name": "json",
3278
+ "allowNo": false,
3279
+ "type": "boolean"
3280
+ },
3281
+ "timeout": {
3282
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
3283
+ "name": "timeout",
3284
+ "hasDynamicHelp": false,
3285
+ "multiple": false,
3286
+ "type": "option"
3287
+ },
3288
+ "tab": {
3289
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
3290
+ "name": "tab",
3291
+ "hasDynamicHelp": false,
3292
+ "multiple": false,
3293
+ "type": "option"
3294
+ }
3295
+ },
3296
+ "hasDynamicHelp": false,
3297
+ "hiddenAliases": [],
3298
+ "id": "onboarding:browser:reinstall-sw",
3299
+ "pluginAlias": "@speedkit/cli",
3300
+ "pluginName": "@speedkit/cli",
3301
+ "pluginType": "core",
3302
+ "strict": true,
3303
+ "isESM": true,
3304
+ "relativePath": [
3305
+ "dist",
3306
+ "commands",
3307
+ "onboarding",
3308
+ "browser",
3309
+ "reinstall-sw.js"
3310
+ ]
3311
+ },
3312
+ "onboarding:browser:reset": {
3313
+ "aliases": [],
3314
+ "args": {},
3315
+ "description": "Clear the origin the page is on. The default scope keeps cookies, and with them a login",
3316
+ "examples": [
3317
+ "$ sk onboarding browser reset",
3318
+ "$ sk onboarding browser reset --scope all"
3319
+ ],
3320
+ "flags": {
3321
+ "run": {
3322
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
3323
+ "name": "run",
3324
+ "hasDynamicHelp": false,
3325
+ "multiple": false,
3326
+ "type": "option"
3327
+ },
3328
+ "json": {
3329
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
3330
+ "name": "json",
3331
+ "allowNo": false,
3332
+ "type": "boolean"
3333
+ },
3334
+ "timeout": {
3335
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
3336
+ "name": "timeout",
3337
+ "hasDynamicHelp": false,
3338
+ "multiple": false,
3339
+ "type": "option"
3340
+ },
3341
+ "scope": {
3342
+ "description": "cache: cache storage only, keeping cookies and a login. all: also cookies, and unregister the service worker",
3343
+ "name": "scope",
3344
+ "default": "cache",
3345
+ "hasDynamicHelp": false,
3346
+ "multiple": false,
3347
+ "options": [
3348
+ "cache",
3349
+ "all"
3350
+ ],
3351
+ "type": "option"
3352
+ },
3353
+ "tab": {
3354
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
3355
+ "name": "tab",
3356
+ "hasDynamicHelp": false,
3357
+ "multiple": false,
3358
+ "type": "option"
3359
+ }
3360
+ },
3361
+ "hasDynamicHelp": false,
3362
+ "hiddenAliases": [],
3363
+ "id": "onboarding:browser:reset",
3364
+ "pluginAlias": "@speedkit/cli",
3365
+ "pluginName": "@speedkit/cli",
3366
+ "pluginType": "core",
3367
+ "strict": true,
3368
+ "isESM": true,
3369
+ "relativePath": [
3370
+ "dist",
3371
+ "commands",
3372
+ "onboarding",
3373
+ "browser",
3374
+ "reset.js"
3375
+ ]
3376
+ },
3377
+ "onboarding:browser:screenshot": {
3378
+ "aliases": [],
3379
+ "args": {},
3380
+ "description": "Screenshot the page a live run is on — the viewport, the whole page, or one element — into the run's folder",
3381
+ "examples": [
3382
+ "$ sk onboarding browser screenshot",
3383
+ "$ sk onboarding browser screenshot --fullPage",
3384
+ "$ sk onboarding browser screenshot --selector .hero"
3385
+ ],
3386
+ "flags": {
3387
+ "run": {
3388
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
3389
+ "name": "run",
3390
+ "hasDynamicHelp": false,
3391
+ "multiple": false,
3392
+ "type": "option"
3393
+ },
3394
+ "json": {
3395
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
3396
+ "name": "json",
3397
+ "allowNo": false,
3398
+ "type": "boolean"
3399
+ },
3400
+ "timeout": {
3401
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
3402
+ "name": "timeout",
3403
+ "hasDynamicHelp": false,
3404
+ "multiple": false,
3405
+ "type": "option"
3406
+ },
3407
+ "fullPage": {
3408
+ "description": "The whole page rather than the viewport",
3409
+ "exclusive": [
3410
+ "selector"
3411
+ ],
3412
+ "name": "fullPage",
3413
+ "allowNo": false,
3414
+ "type": "boolean"
3415
+ },
3416
+ "selector": {
3417
+ "description": "Only the first element this CSS selector matches",
3418
+ "name": "selector",
3419
+ "hasDynamicHelp": false,
3420
+ "multiple": false,
3421
+ "type": "option"
3422
+ },
3423
+ "tab": {
3424
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
3425
+ "name": "tab",
3426
+ "hasDynamicHelp": false,
3427
+ "multiple": false,
3428
+ "type": "option"
3429
+ }
3430
+ },
3431
+ "hasDynamicHelp": false,
3432
+ "hiddenAliases": [],
3433
+ "id": "onboarding:browser:screenshot",
3434
+ "pluginAlias": "@speedkit/cli",
3435
+ "pluginName": "@speedkit/cli",
3436
+ "pluginType": "core",
3437
+ "strict": true,
3438
+ "isESM": true,
3439
+ "relativePath": [
3440
+ "dist",
3441
+ "commands",
3442
+ "onboarding",
3443
+ "browser",
3444
+ "screenshot.js"
3445
+ ]
3446
+ },
3447
+ "onboarding:browser:state": {
3448
+ "aliases": [],
3449
+ "args": {},
3450
+ "description": "Which service worker is in charge of the page, and whether the deployed build took over from the local one",
3451
+ "examples": [
3452
+ "$ sk onboarding browser state"
3453
+ ],
3454
+ "flags": {
3455
+ "run": {
3456
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
3457
+ "name": "run",
3458
+ "hasDynamicHelp": false,
3459
+ "multiple": false,
3460
+ "type": "option"
3461
+ },
3462
+ "json": {
3463
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
3464
+ "name": "json",
3465
+ "allowNo": false,
3466
+ "type": "boolean"
3467
+ },
3468
+ "timeout": {
3469
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
3470
+ "name": "timeout",
3471
+ "hasDynamicHelp": false,
3472
+ "multiple": false,
3473
+ "type": "option"
3474
+ },
3475
+ "tab": {
3476
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
3477
+ "name": "tab",
3478
+ "hasDynamicHelp": false,
3479
+ "multiple": false,
3480
+ "type": "option"
3481
+ }
3482
+ },
3483
+ "hasDynamicHelp": false,
3484
+ "hiddenAliases": [],
3485
+ "id": "onboarding:browser:state",
3486
+ "pluginAlias": "@speedkit/cli",
3487
+ "pluginName": "@speedkit/cli",
3488
+ "pluginType": "core",
3489
+ "strict": true,
3490
+ "isESM": true,
3491
+ "relativePath": [
3492
+ "dist",
3493
+ "commands",
3494
+ "onboarding",
3495
+ "browser",
3496
+ "state.js"
3497
+ ]
3498
+ },
3499
+ "onboarding:browser:tabs": {
3500
+ "aliases": [],
3501
+ "args": {},
3502
+ "description": "List the tabs of a live run's browser — popups included — as --tab addresses them",
3503
+ "examples": [
3504
+ "$ sk onboarding browser tabs",
3505
+ "$ sk onboarding browser screenshot --tab 1",
3506
+ "$ sk onboarding rum get --tab shop.app"
3507
+ ],
3508
+ "flags": {
3509
+ "run": {
3510
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
3511
+ "name": "run",
3512
+ "hasDynamicHelp": false,
3513
+ "multiple": false,
3514
+ "type": "option"
3515
+ },
3516
+ "json": {
3517
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
3518
+ "name": "json",
3519
+ "allowNo": false,
3520
+ "type": "boolean"
3521
+ },
3522
+ "timeout": {
3523
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
3524
+ "name": "timeout",
3525
+ "hasDynamicHelp": false,
3526
+ "multiple": false,
3527
+ "type": "option"
3528
+ }
3529
+ },
3530
+ "hasDynamicHelp": false,
3531
+ "hiddenAliases": [],
3532
+ "id": "onboarding:browser:tabs",
3533
+ "pluginAlias": "@speedkit/cli",
3534
+ "pluginName": "@speedkit/cli",
3535
+ "pluginType": "core",
3536
+ "strict": true,
3537
+ "isESM": true,
3538
+ "relativePath": [
3539
+ "dist",
3540
+ "commands",
3541
+ "onboarding",
3542
+ "browser",
3543
+ "tabs.js"
3544
+ ]
3545
+ },
3546
+ "onboarding:cache:clear": {
3547
+ "aliases": [],
3548
+ "args": {},
3549
+ "description": "Empty the local documentHandler cache of a live run",
3550
+ "examples": [
3551
+ "$ sk onboarding cache clear"
3552
+ ],
3553
+ "flags": {
3554
+ "run": {
3555
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
3556
+ "name": "run",
3557
+ "hasDynamicHelp": false,
3558
+ "multiple": false,
3559
+ "type": "option"
3560
+ },
3561
+ "json": {
3562
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
3563
+ "name": "json",
3564
+ "allowNo": false,
3565
+ "type": "boolean"
3566
+ },
3567
+ "timeout": {
3568
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
3569
+ "name": "timeout",
3570
+ "hasDynamicHelp": false,
3571
+ "multiple": false,
3572
+ "type": "option"
3573
+ }
3574
+ },
3575
+ "hasDynamicHelp": false,
3576
+ "hiddenAliases": [],
3577
+ "id": "onboarding:cache:clear",
3578
+ "pluginAlias": "@speedkit/cli",
3579
+ "pluginName": "@speedkit/cli",
3580
+ "pluginType": "core",
3581
+ "strict": true,
3582
+ "isESM": true,
3583
+ "relativePath": [
3584
+ "dist",
3585
+ "commands",
3586
+ "onboarding",
3587
+ "cache",
3588
+ "clear.js"
3589
+ ]
3590
+ },
3591
+ "onboarding:cache:errors": {
3592
+ "aliases": [],
3593
+ "args": {},
3594
+ "description": "List the urls the documentHandler is currently failing to build",
3595
+ "examples": [
3596
+ "$ sk onboarding cache errors"
3597
+ ],
3598
+ "flags": {
3599
+ "run": {
3600
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
3601
+ "name": "run",
3602
+ "hasDynamicHelp": false,
3603
+ "multiple": false,
3604
+ "type": "option"
3605
+ },
3606
+ "json": {
3607
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
3608
+ "name": "json",
3609
+ "allowNo": false,
3610
+ "type": "boolean"
3611
+ },
3612
+ "timeout": {
3613
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
3614
+ "name": "timeout",
3615
+ "hasDynamicHelp": false,
3616
+ "multiple": false,
3617
+ "type": "option"
3618
+ }
3619
+ },
3620
+ "hasDynamicHelp": false,
3621
+ "hiddenAliases": [],
3622
+ "id": "onboarding:cache:errors",
3623
+ "pluginAlias": "@speedkit/cli",
3624
+ "pluginName": "@speedkit/cli",
3625
+ "pluginType": "core",
3626
+ "strict": true,
3627
+ "isESM": true,
3628
+ "relativePath": [
3629
+ "dist",
3630
+ "commands",
3631
+ "onboarding",
3632
+ "cache",
3633
+ "errors.js"
3634
+ ]
3635
+ },
3636
+ "onboarding:cache:evict": {
3637
+ "aliases": [],
3638
+ "args": {
3639
+ "key": {
3640
+ "description": "Matched as a substring: a homepage url can take every url on the site. The answer names every key that went",
3641
+ "name": "key",
3642
+ "required": true
3643
+ }
3644
+ },
3645
+ "description": "Drop the cached entries whose key contains the given string, so the next request rebuilds them",
3646
+ "examples": [
3647
+ "$ sk onboarding cache evict /p/123"
3648
+ ],
3649
+ "flags": {
3650
+ "run": {
3651
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
3652
+ "name": "run",
3653
+ "hasDynamicHelp": false,
3654
+ "multiple": false,
3655
+ "type": "option"
3656
+ },
3657
+ "json": {
3658
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
3659
+ "name": "json",
3660
+ "allowNo": false,
3661
+ "type": "boolean"
3662
+ },
3663
+ "timeout": {
3664
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
3665
+ "name": "timeout",
3666
+ "hasDynamicHelp": false,
3667
+ "multiple": false,
3668
+ "type": "option"
3669
+ }
3670
+ },
3671
+ "hasDynamicHelp": false,
3672
+ "hiddenAliases": [],
3673
+ "id": "onboarding:cache:evict",
3674
+ "pluginAlias": "@speedkit/cli",
3675
+ "pluginName": "@speedkit/cli",
3676
+ "pluginType": "core",
3677
+ "strict": true,
3678
+ "isESM": true,
3679
+ "relativePath": [
3680
+ "dist",
3681
+ "commands",
3682
+ "onboarding",
3683
+ "cache",
3684
+ "evict.js"
3685
+ ]
3686
+ },
3687
+ "onboarding:cache:get": {
3688
+ "aliases": [],
3689
+ "args": {
3690
+ "key": {
3691
+ "description": "A cache key, or an origin url that names exactly one entry. An ambiguous one is refused with the candidates",
3692
+ "name": "key",
3693
+ "required": true
3694
+ }
3695
+ },
3696
+ "description": "Read one cached entry. The body goes to a file; --select and --grep answer what is in it",
3697
+ "examples": [
3698
+ "$ sk onboarding cache get https://www.decathlon.de/",
3699
+ "$ sk onboarding cache get https://www.decathlon.de/ --select 'script[src*=\"analytics\"]'",
3700
+ "$ sk onboarding cache get /p/123 --grep storeId"
3701
+ ],
3702
+ "flags": {
3703
+ "run": {
3704
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
3705
+ "name": "run",
3706
+ "hasDynamicHelp": false,
3707
+ "multiple": false,
3708
+ "type": "option"
3709
+ },
3710
+ "json": {
3711
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
3712
+ "name": "json",
3713
+ "allowNo": false,
3714
+ "type": "boolean"
3715
+ },
3716
+ "timeout": {
3717
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
3718
+ "name": "timeout",
3719
+ "hasDynamicHelp": false,
3720
+ "multiple": false,
3721
+ "type": "option"
3722
+ },
3723
+ "variation": {
3724
+ "char": "v",
3725
+ "description": "Only this variation's entry, e.g. mobile; default for the one without. With an origin url, names one entry without a cache key",
3726
+ "name": "variation",
3727
+ "hasDynamicHelp": false,
3728
+ "multiple": false,
3729
+ "type": "option"
3730
+ },
3731
+ "select": {
3732
+ "description": "Count and sample what this CSS selector matches in the body",
3733
+ "name": "select",
3734
+ "hasDynamicHelp": false,
3735
+ "multiple": false,
3736
+ "type": "option"
3737
+ },
3738
+ "grep": {
3739
+ "description": "Match this regular expression against the body, line by line",
3740
+ "name": "grep",
3741
+ "hasDynamicHelp": false,
3742
+ "multiple": false,
3743
+ "type": "option"
3744
+ },
3745
+ "maxMatches": {
3746
+ "description": "How many select/grep matches to sample. Default 10",
3747
+ "name": "maxMatches",
3748
+ "hasDynamicHelp": false,
3749
+ "multiple": false,
3750
+ "type": "option"
3751
+ }
3752
+ },
3753
+ "hasDynamicHelp": false,
3754
+ "hiddenAliases": [],
3755
+ "id": "onboarding:cache:get",
3756
+ "pluginAlias": "@speedkit/cli",
3757
+ "pluginName": "@speedkit/cli",
3758
+ "pluginType": "core",
3759
+ "strict": true,
3760
+ "isESM": true,
3761
+ "relativePath": [
3762
+ "dist",
3763
+ "commands",
3764
+ "onboarding",
3765
+ "cache",
3766
+ "get.js"
3767
+ ]
3768
+ },
3769
+ "onboarding:cache:list": {
3770
+ "aliases": [],
3771
+ "args": {},
3772
+ "description": "List what the local documentHandler cache of a live run holds",
3773
+ "examples": [
3774
+ "$ sk onboarding cache list",
3775
+ "$ sk onboarding cache list --run decathlon.de --json"
3776
+ ],
3777
+ "flags": {
3778
+ "run": {
3779
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
3780
+ "name": "run",
3781
+ "hasDynamicHelp": false,
3782
+ "multiple": false,
3783
+ "type": "option"
3784
+ },
3785
+ "json": {
3786
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
3787
+ "name": "json",
3788
+ "allowNo": false,
3789
+ "type": "boolean"
3790
+ },
3791
+ "timeout": {
3792
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
3793
+ "name": "timeout",
3794
+ "hasDynamicHelp": false,
3795
+ "multiple": false,
3796
+ "type": "option"
3797
+ }
3798
+ },
3799
+ "hasDynamicHelp": false,
3800
+ "hiddenAliases": [],
3801
+ "id": "onboarding:cache:list",
3802
+ "pluginAlias": "@speedkit/cli",
3803
+ "pluginName": "@speedkit/cli",
3804
+ "pluginType": "core",
3805
+ "strict": true,
3806
+ "isESM": true,
3807
+ "relativePath": [
3808
+ "dist",
3809
+ "commands",
3810
+ "onboarding",
3811
+ "cache",
3812
+ "list.js"
3813
+ ]
3814
+ },
3815
+ "onboarding:cache:prewarm": {
3816
+ "aliases": [],
3817
+ "args": {
3818
+ "url": {
3819
+ "description": "The page to build, absolute or relative to the origin the run is on. Taken verbatim: a query parameter is part of the identity",
3820
+ "name": "url",
3821
+ "required": true
3822
+ }
3823
+ },
3824
+ "description": "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",
3825
+ "examples": [
3826
+ "$ sk onboarding cache prewarm /p/123 -v default -v mobile",
3827
+ "$ sk onboarding cache prewarm /p/123 --all"
3828
+ ],
3829
+ "flags": {
3830
+ "run": {
3831
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
3832
+ "name": "run",
3833
+ "hasDynamicHelp": false,
3834
+ "multiple": false,
3835
+ "type": "option"
3836
+ },
3837
+ "json": {
3838
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
3839
+ "name": "json",
3840
+ "allowNo": false,
3841
+ "type": "boolean"
3842
+ },
3843
+ "timeout": {
3844
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
3845
+ "name": "timeout",
3846
+ "hasDynamicHelp": false,
3847
+ "multiple": false,
3848
+ "type": "option"
3849
+ },
3850
+ "all": {
3851
+ "description": "Default, every variation the page has produced in this run, and every one the runtime config names. Not tablet unless the page made one",
3852
+ "exclusive": [
3853
+ "variation"
3854
+ ],
3855
+ "name": "all",
3856
+ "allowNo": false,
3857
+ "type": "boolean"
3858
+ },
3859
+ "variation": {
3860
+ "char": "v",
3861
+ "description": "A cache variation to build; repeat for several. Omitted means default alone; --all for every one",
3862
+ "name": "variation",
3863
+ "hasDynamicHelp": false,
3864
+ "multiple": true,
3865
+ "type": "option"
3866
+ }
3867
+ },
3868
+ "hasDynamicHelp": false,
3869
+ "hiddenAliases": [],
3870
+ "id": "onboarding:cache:prewarm",
3871
+ "pluginAlias": "@speedkit/cli",
3872
+ "pluginName": "@speedkit/cli",
3873
+ "pluginType": "core",
3874
+ "strict": true,
3875
+ "isESM": true,
3876
+ "relativePath": [
3877
+ "dist",
3878
+ "commands",
3879
+ "onboarding",
3880
+ "cache",
3881
+ "prewarm.js"
3882
+ ]
3883
+ },
3884
+ "onboarding:cache:refresh": {
3885
+ "aliases": [],
3886
+ "args": {
3887
+ "key": {
3888
+ "description": "Which entries to rebuild: a cache key or an origin url. Omit for all",
3889
+ "name": "key",
3890
+ "required": false
3891
+ }
3892
+ },
3893
+ "description": "Rebuild cached entries from origin and say whether the origin's bytes changed",
3894
+ "examples": [
3895
+ "$ sk onboarding cache refresh",
3896
+ "$ sk onboarding cache refresh https://www.decathlon.de/"
3897
+ ],
3898
+ "flags": {
3899
+ "run": {
3900
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
3901
+ "name": "run",
3902
+ "hasDynamicHelp": false,
3903
+ "multiple": false,
3904
+ "type": "option"
3905
+ },
3906
+ "json": {
3907
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
3908
+ "name": "json",
3909
+ "allowNo": false,
3910
+ "type": "boolean"
3911
+ },
3912
+ "timeout": {
3913
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
3914
+ "name": "timeout",
3915
+ "hasDynamicHelp": false,
3916
+ "multiple": false,
3917
+ "type": "option"
3918
+ }
3919
+ },
3920
+ "hasDynamicHelp": false,
3921
+ "hiddenAliases": [],
3922
+ "id": "onboarding:cache:refresh",
3923
+ "pluginAlias": "@speedkit/cli",
3924
+ "pluginName": "@speedkit/cli",
3925
+ "pluginType": "core",
3926
+ "strict": true,
3927
+ "isESM": true,
3928
+ "relativePath": [
3929
+ "dist",
3930
+ "commands",
3931
+ "onboarding",
3932
+ "cache",
3933
+ "refresh.js"
3934
+ ]
3935
+ },
3936
+ "onboarding:debug:arm": {
3937
+ "aliases": [],
3938
+ "args": {},
3939
+ "description": "Arm breakpoints in the Speed Kit page lifecycle and, by default, reload so they can fire",
3940
+ "examples": [
3941
+ "$ sk onboarding debug arm",
3942
+ "$ sk onboarding debug arm --bp 3 --then next-nav",
3943
+ "$ sk onboarding debug arm --bp 1 --compared"
3944
+ ],
3945
+ "flags": {
3946
+ "run": {
3947
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
3948
+ "name": "run",
3949
+ "hasDynamicHelp": false,
3950
+ "multiple": false,
3951
+ "type": "option"
3952
+ },
3953
+ "json": {
3954
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
3955
+ "name": "json",
3956
+ "allowNo": false,
3957
+ "type": "boolean"
3958
+ },
3959
+ "timeout": {
3960
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
3961
+ "name": "timeout",
3962
+ "hasDynamicHelp": false,
3963
+ "multiple": false,
3964
+ "type": "option"
3965
+ },
3966
+ "bp": {
3967
+ "description": "Which breakpoint, 1–4; repeat for several. Omitted arms all four",
3968
+ "name": "bp",
3969
+ "hasDynamicHelp": false,
3970
+ "multiple": true,
3971
+ "type": "option"
3972
+ },
3973
+ "then": {
3974
+ "description": "reload: load the page again, as a navigation (Speed Kit does not serve a reload from cache). next-nav: catch the next navigation. none: only arm",
3975
+ "name": "then",
3976
+ "default": "reload",
3977
+ "hasDynamicHelp": false,
3978
+ "multiple": false,
3979
+ "options": [
3980
+ "reload",
3981
+ "next-nav",
3982
+ "none"
3983
+ ],
3984
+ "type": "option"
3985
+ },
3986
+ "compared": {
3987
+ "description": "Pause BP1 and BP3 where their change-detection pass compares, and expose both sides as window.__skCD",
3988
+ "name": "compared",
3989
+ "allowNo": false,
3990
+ "type": "boolean"
3991
+ },
3992
+ "tab": {
3993
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
3994
+ "name": "tab",
3995
+ "hasDynamicHelp": false,
3996
+ "multiple": false,
3997
+ "type": "option"
3998
+ }
3999
+ },
4000
+ "hasDynamicHelp": false,
4001
+ "hiddenAliases": [],
4002
+ "id": "onboarding:debug:arm",
4003
+ "pluginAlias": "@speedkit/cli",
4004
+ "pluginName": "@speedkit/cli",
4005
+ "pluginType": "core",
4006
+ "strict": true,
4007
+ "isESM": true,
4008
+ "relativePath": [
4009
+ "dist",
4010
+ "commands",
4011
+ "onboarding",
4012
+ "debug",
4013
+ "arm.js"
4014
+ ]
4015
+ },
4016
+ "onboarding:debug:await": {
4017
+ "aliases": [],
4018
+ "args": {},
4019
+ "description": "Wait until a breakpoint pauses the page, and say what silence means if none does",
4020
+ "examples": [
4021
+ "$ sk onboarding debug await",
4022
+ "$ sk onboarding debug await --wait 30000"
4023
+ ],
4024
+ "flags": {
4025
+ "run": {
4026
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
4027
+ "name": "run",
4028
+ "hasDynamicHelp": false,
4029
+ "multiple": false,
4030
+ "type": "option"
4031
+ },
4032
+ "json": {
4033
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
4034
+ "name": "json",
4035
+ "allowNo": false,
4036
+ "type": "boolean"
4037
+ },
4038
+ "timeout": {
4039
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
4040
+ "name": "timeout",
4041
+ "hasDynamicHelp": false,
4042
+ "multiple": false,
4043
+ "type": "option"
4044
+ },
4045
+ "wait": {
4046
+ "description": "How long to wait for a pause, in ms. Default 15000",
4047
+ "name": "wait",
4048
+ "hasDynamicHelp": false,
4049
+ "multiple": false,
4050
+ "type": "option"
4051
+ },
4052
+ "tab": {
4053
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
4054
+ "name": "tab",
4055
+ "hasDynamicHelp": false,
4056
+ "multiple": false,
4057
+ "type": "option"
4058
+ }
4059
+ },
4060
+ "hasDynamicHelp": false,
4061
+ "hiddenAliases": [],
4062
+ "id": "onboarding:debug:await",
4063
+ "pluginAlias": "@speedkit/cli",
4064
+ "pluginName": "@speedkit/cli",
4065
+ "pluginType": "core",
4066
+ "strict": true,
4067
+ "isESM": true,
4068
+ "relativePath": [
4069
+ "dist",
4070
+ "commands",
4071
+ "onboarding",
4072
+ "debug",
4073
+ "await.js"
4074
+ ]
4075
+ },
4076
+ "onboarding:debug:disarm": {
4077
+ "aliases": [],
4078
+ "args": {},
4079
+ "description": "Take every breakpoint this run armed out of the page",
4080
+ "examples": [
4081
+ "$ sk onboarding debug disarm"
4082
+ ],
4083
+ "flags": {
4084
+ "run": {
4085
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
4086
+ "name": "run",
4087
+ "hasDynamicHelp": false,
4088
+ "multiple": false,
4089
+ "type": "option"
4090
+ },
4091
+ "json": {
4092
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
4093
+ "name": "json",
4094
+ "allowNo": false,
4095
+ "type": "boolean"
4096
+ },
4097
+ "timeout": {
4098
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
4099
+ "name": "timeout",
4100
+ "hasDynamicHelp": false,
4101
+ "multiple": false,
4102
+ "type": "option"
4103
+ },
4104
+ "tab": {
4105
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
4106
+ "name": "tab",
4107
+ "hasDynamicHelp": false,
4108
+ "multiple": false,
4109
+ "type": "option"
4110
+ }
4111
+ },
4112
+ "hasDynamicHelp": false,
4113
+ "hiddenAliases": [],
4114
+ "id": "onboarding:debug:disarm",
4115
+ "pluginAlias": "@speedkit/cli",
4116
+ "pluginName": "@speedkit/cli",
4117
+ "pluginType": "core",
4118
+ "strict": true,
4119
+ "isESM": true,
4120
+ "relativePath": [
4121
+ "dist",
4122
+ "commands",
4123
+ "onboarding",
4124
+ "debug",
4125
+ "disarm.js"
4126
+ ]
4127
+ },
4128
+ "onboarding:debug:eval": {
4129
+ "aliases": [],
4130
+ "args": {
4131
+ "expression": {
4132
+ "description": "JavaScript, evaluated on the paused frame when paused (its locals are in scope), in the page otherwise. Or --file",
4133
+ "name": "expression",
4134
+ "required": false
4135
+ }
4136
+ },
4137
+ "description": "Evaluate JavaScript on the paused frame, or in the page when it is not paused",
4138
+ "examples": [
4139
+ "$ sk onboarding debug eval 'document.documentElement.className'",
4140
+ "$ sk onboarding debug eval --file probe.js"
4141
+ ],
4142
+ "flags": {
4143
+ "run": {
4144
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
4145
+ "name": "run",
4146
+ "hasDynamicHelp": false,
4147
+ "multiple": false,
4148
+ "type": "option"
4149
+ },
4150
+ "json": {
4151
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
4152
+ "name": "json",
4153
+ "allowNo": false,
4154
+ "type": "boolean"
4155
+ },
4156
+ "timeout": {
4157
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
4158
+ "name": "timeout",
4159
+ "hasDynamicHelp": false,
4160
+ "multiple": false,
4161
+ "type": "option"
4162
+ },
4163
+ "file": {
4164
+ "char": "f",
4165
+ "description": "Read the JavaScript from this file instead: for anything longer than a line",
4166
+ "name": "file",
4167
+ "hasDynamicHelp": false,
4168
+ "multiple": false,
4169
+ "type": "option"
4170
+ },
4171
+ "tab": {
4172
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
4173
+ "name": "tab",
4174
+ "hasDynamicHelp": false,
4175
+ "multiple": false,
4176
+ "type": "option"
4177
+ }
4178
+ },
4179
+ "hasDynamicHelp": false,
4180
+ "hiddenAliases": [],
4181
+ "id": "onboarding:debug:eval",
4182
+ "pluginAlias": "@speedkit/cli",
4183
+ "pluginName": "@speedkit/cli",
4184
+ "pluginType": "core",
4185
+ "strict": true,
4186
+ "isESM": true,
4187
+ "relativePath": [
4188
+ "dist",
4189
+ "commands",
4190
+ "onboarding",
4191
+ "debug",
4192
+ "eval.js"
4193
+ ]
4194
+ },
4195
+ "onboarding:debug:release": {
4196
+ "aliases": [],
4197
+ "args": {},
4198
+ "description": "Get the page running, whoever paused it: disarm, clear the panel switches, resume a foreign pause",
4199
+ "examples": [
4200
+ "$ sk onboarding debug release"
4201
+ ],
4202
+ "flags": {
4203
+ "run": {
4204
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
4205
+ "name": "run",
4206
+ "hasDynamicHelp": false,
4207
+ "multiple": false,
4208
+ "type": "option"
4209
+ },
4210
+ "json": {
4211
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
4212
+ "name": "json",
4213
+ "allowNo": false,
4214
+ "type": "boolean"
4215
+ },
4216
+ "timeout": {
4217
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
4218
+ "name": "timeout",
4219
+ "hasDynamicHelp": false,
4220
+ "multiple": false,
4221
+ "type": "option"
4222
+ },
4223
+ "tab": {
4224
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
4225
+ "name": "tab",
4226
+ "hasDynamicHelp": false,
4227
+ "multiple": false,
4228
+ "type": "option"
4229
+ }
4230
+ },
4231
+ "hasDynamicHelp": false,
4232
+ "hiddenAliases": [],
4233
+ "id": "onboarding:debug:release",
4234
+ "pluginAlias": "@speedkit/cli",
4235
+ "pluginName": "@speedkit/cli",
4236
+ "pluginType": "core",
4237
+ "strict": true,
4238
+ "isESM": true,
4239
+ "relativePath": [
4240
+ "dist",
4241
+ "commands",
4242
+ "onboarding",
4243
+ "debug",
4244
+ "release.js"
4245
+ ]
4246
+ },
4247
+ "onboarding:debug:resume": {
4248
+ "aliases": [],
4249
+ "args": {},
4250
+ "description": "Let a paused page continue",
4251
+ "examples": [
4252
+ "$ sk onboarding debug resume"
4253
+ ],
4254
+ "flags": {
4255
+ "run": {
4256
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
4257
+ "name": "run",
4258
+ "hasDynamicHelp": false,
4259
+ "multiple": false,
4260
+ "type": "option"
4261
+ },
4262
+ "json": {
4263
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
4264
+ "name": "json",
4265
+ "allowNo": false,
4266
+ "type": "boolean"
4267
+ },
4268
+ "timeout": {
4269
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
4270
+ "name": "timeout",
4271
+ "hasDynamicHelp": false,
4272
+ "multiple": false,
4273
+ "type": "option"
4274
+ },
4275
+ "tab": {
4276
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
4277
+ "name": "tab",
4278
+ "hasDynamicHelp": false,
4279
+ "multiple": false,
4280
+ "type": "option"
4281
+ }
4282
+ },
4283
+ "hasDynamicHelp": false,
4284
+ "hiddenAliases": [],
4285
+ "id": "onboarding:debug:resume",
4286
+ "pluginAlias": "@speedkit/cli",
4287
+ "pluginName": "@speedkit/cli",
4288
+ "pluginType": "core",
4289
+ "strict": true,
4290
+ "isESM": true,
4291
+ "relativePath": [
4292
+ "dist",
4293
+ "commands",
4294
+ "onboarding",
4295
+ "debug",
4296
+ "resume.js"
4297
+ ]
4298
+ },
4299
+ "onboarding:debug:status": {
4300
+ "aliases": [],
4301
+ "args": {},
4302
+ "description": "What is armed, what the page has reached, and who holds a pause",
4303
+ "examples": [
4304
+ "$ sk onboarding debug status"
4305
+ ],
4306
+ "flags": {
4307
+ "run": {
4308
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
4309
+ "name": "run",
4310
+ "hasDynamicHelp": false,
4311
+ "multiple": false,
4312
+ "type": "option"
4313
+ },
4314
+ "json": {
4315
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
4316
+ "name": "json",
4317
+ "allowNo": false,
4318
+ "type": "boolean"
4319
+ },
4320
+ "timeout": {
4321
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
4322
+ "name": "timeout",
4323
+ "hasDynamicHelp": false,
4324
+ "multiple": false,
4325
+ "type": "option"
4326
+ },
4327
+ "tab": {
4328
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
4329
+ "name": "tab",
4330
+ "hasDynamicHelp": false,
4331
+ "multiple": false,
4332
+ "type": "option"
4333
+ }
4334
+ },
4335
+ "hasDynamicHelp": false,
4336
+ "hiddenAliases": [],
4337
+ "id": "onboarding:debug:status",
4338
+ "pluginAlias": "@speedkit/cli",
4339
+ "pluginName": "@speedkit/cli",
4340
+ "pluginType": "core",
4341
+ "strict": true,
4342
+ "isESM": true,
4343
+ "relativePath": [
4344
+ "dist",
4345
+ "commands",
4346
+ "onboarding",
4347
+ "debug",
4348
+ "status.js"
4349
+ ]
4350
+ },
4351
+ "onboarding:debug:step": {
4352
+ "aliases": [],
4353
+ "args": {
4354
+ "kind": {
4355
+ "description": "Step over, into or out of the current call",
4356
+ "name": "kind",
4357
+ "options": [
4358
+ "over",
4359
+ "into",
4360
+ "out"
4361
+ ],
4362
+ "required": true
4363
+ }
4364
+ },
4365
+ "description": "Step over, into or out of the current call of a paused page",
4366
+ "examples": [
4367
+ "$ sk onboarding debug step over"
4368
+ ],
4369
+ "flags": {
4370
+ "run": {
4371
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
4372
+ "name": "run",
4373
+ "hasDynamicHelp": false,
4374
+ "multiple": false,
4375
+ "type": "option"
4376
+ },
4377
+ "json": {
4378
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
4379
+ "name": "json",
4380
+ "allowNo": false,
4381
+ "type": "boolean"
4382
+ },
4383
+ "timeout": {
4384
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
4385
+ "name": "timeout",
4386
+ "hasDynamicHelp": false,
4387
+ "multiple": false,
4388
+ "type": "option"
4389
+ },
4390
+ "tab": {
4391
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
4392
+ "name": "tab",
4393
+ "hasDynamicHelp": false,
4394
+ "multiple": false,
4395
+ "type": "option"
4396
+ }
4397
+ },
4398
+ "hasDynamicHelp": false,
4399
+ "hiddenAliases": [],
4400
+ "id": "onboarding:debug:step",
4401
+ "pluginAlias": "@speedkit/cli",
4402
+ "pluginName": "@speedkit/cli",
4403
+ "pluginType": "core",
4404
+ "strict": true,
4405
+ "isESM": true,
4406
+ "relativePath": [
4407
+ "dist",
4408
+ "commands",
4409
+ "onboarding",
4410
+ "debug",
4411
+ "step.js"
4412
+ ]
4413
+ },
4414
+ "onboarding:files:list": {
4415
+ "aliases": [],
4416
+ "args": {},
4417
+ "description": "List the config files a live run is working with, including the ones it built in memory",
4418
+ "examples": [
4419
+ "$ sk onboarding files list"
4420
+ ],
4421
+ "flags": {
4422
+ "run": {
4423
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
4424
+ "name": "run",
4425
+ "hasDynamicHelp": false,
4426
+ "multiple": false,
4427
+ "type": "option"
4428
+ },
4429
+ "json": {
4430
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
4431
+ "name": "json",
4432
+ "allowNo": false,
4433
+ "type": "boolean"
4434
+ },
4435
+ "timeout": {
4436
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
4437
+ "name": "timeout",
4438
+ "hasDynamicHelp": false,
4439
+ "multiple": false,
4440
+ "type": "option"
4441
+ }
4442
+ },
4443
+ "hasDynamicHelp": false,
4444
+ "hiddenAliases": [],
4445
+ "id": "onboarding:files:list",
4446
+ "pluginAlias": "@speedkit/cli",
4447
+ "pluginName": "@speedkit/cli",
4448
+ "pluginType": "core",
4449
+ "strict": true,
4450
+ "isESM": true,
4451
+ "relativePath": [
4452
+ "dist",
4453
+ "commands",
4454
+ "onboarding",
4455
+ "files",
4456
+ "list.js"
4457
+ ]
4458
+ },
4459
+ "onboarding:files:read": {
4460
+ "aliases": [],
4461
+ "args": {
4462
+ "name": {
4463
+ "description": "The logical name, e.g. config_SpeedKit, custom_documentHandler, bundle_install. `files list` names them",
4464
+ "name": "name",
4465
+ "required": true
4466
+ }
4467
+ },
4468
+ "description": "Read one config file as the run has it. The content goes to a file; --grep answers what is in it",
4469
+ "examples": [
4470
+ "$ sk onboarding files read bundle_install --grep storeId",
4471
+ "$ sk onboarding files read config_SpeedKit"
4472
+ ],
4473
+ "flags": {
4474
+ "run": {
4475
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
4476
+ "name": "run",
4477
+ "hasDynamicHelp": false,
4478
+ "multiple": false,
4479
+ "type": "option"
4480
+ },
4481
+ "json": {
4482
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
4483
+ "name": "json",
4484
+ "allowNo": false,
4485
+ "type": "boolean"
4486
+ },
4487
+ "timeout": {
4488
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
4489
+ "name": "timeout",
4490
+ "hasDynamicHelp": false,
4491
+ "multiple": false,
4492
+ "type": "option"
4493
+ },
4494
+ "grep": {
4495
+ "description": "Match this regular expression line by line: \"did my change survive the build\" of a minified bundle",
4496
+ "name": "grep",
4497
+ "hasDynamicHelp": false,
4498
+ "multiple": false,
4499
+ "type": "option"
4500
+ },
4501
+ "maxMatches": {
4502
+ "description": "How many grep matches to sample. Default 10",
4503
+ "name": "maxMatches",
4504
+ "hasDynamicHelp": false,
4505
+ "multiple": false,
4506
+ "type": "option"
4507
+ }
4508
+ },
4509
+ "hasDynamicHelp": false,
4510
+ "hiddenAliases": [],
4511
+ "id": "onboarding:files:read",
4512
+ "pluginAlias": "@speedkit/cli",
4513
+ "pluginName": "@speedkit/cli",
4514
+ "pluginType": "core",
4515
+ "strict": true,
4516
+ "isESM": true,
4517
+ "relativePath": [
4518
+ "dist",
4519
+ "commands",
4520
+ "onboarding",
4521
+ "files",
4522
+ "read.js"
4523
+ ]
4524
+ },
4525
+ "onboarding:files:rebuild": {
4526
+ "aliases": [],
4527
+ "args": {},
4528
+ "description": "Rebuild the install resource, the documentHandler or both, as a file change would",
4529
+ "examples": [
4530
+ "$ sk onboarding files rebuild",
4531
+ "$ sk onboarding files rebuild --target documentHandler"
4532
+ ],
4533
+ "flags": {
4534
+ "run": {
4535
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
4536
+ "name": "run",
4537
+ "hasDynamicHelp": false,
4538
+ "multiple": false,
4539
+ "type": "option"
4540
+ },
4541
+ "json": {
4542
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
4543
+ "name": "json",
1849
4544
  "allowNo": false,
1850
4545
  "type": "boolean"
1851
4546
  },
1852
- "execute": {
1853
- "char": "e",
1854
- "description": "Execute the query directly and write the result to a <app>-<date>-<query>.csv file",
1855
- "name": "execute",
4547
+ "timeout": {
4548
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
4549
+ "name": "timeout",
4550
+ "hasDynamicHelp": false,
4551
+ "multiple": false,
4552
+ "type": "option"
4553
+ },
4554
+ "target": {
4555
+ "description": "install: the install resource, then a service worker reinstall. documentHandler: the DH bundle, emptying the dh-cache",
4556
+ "name": "target",
4557
+ "default": "all",
4558
+ "hasDynamicHelp": false,
4559
+ "multiple": false,
4560
+ "options": [
4561
+ "install",
4562
+ "documentHandler",
4563
+ "all"
4564
+ ],
4565
+ "type": "option"
4566
+ }
4567
+ },
4568
+ "hasDynamicHelp": false,
4569
+ "hiddenAliases": [],
4570
+ "id": "onboarding:files:rebuild",
4571
+ "pluginAlias": "@speedkit/cli",
4572
+ "pluginName": "@speedkit/cli",
4573
+ "pluginType": "core",
4574
+ "strict": true,
4575
+ "isESM": true,
4576
+ "relativePath": [
4577
+ "dist",
4578
+ "commands",
4579
+ "onboarding",
4580
+ "files",
4581
+ "rebuild.js"
4582
+ ]
4583
+ },
4584
+ "onboarding:files:validate": {
4585
+ "aliases": [],
4586
+ "args": {},
4587
+ "description": "Check the customer config and the mandatory files",
4588
+ "examples": [
4589
+ "$ sk onboarding files validate"
4590
+ ],
4591
+ "flags": {
4592
+ "run": {
4593
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
4594
+ "name": "run",
4595
+ "hasDynamicHelp": false,
4596
+ "multiple": false,
4597
+ "type": "option"
4598
+ },
4599
+ "json": {
4600
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
4601
+ "name": "json",
1856
4602
  "allowNo": false,
1857
4603
  "type": "boolean"
1858
4604
  },
1859
- "quiet": {
1860
- "char": "q",
1861
- "description": "Output only the raw query without clipboard copy or styling",
1862
- "name": "quiet",
4605
+ "timeout": {
4606
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
4607
+ "name": "timeout",
4608
+ "hasDynamicHelp": false,
4609
+ "multiple": false,
4610
+ "type": "option"
4611
+ }
4612
+ },
4613
+ "hasDynamicHelp": false,
4614
+ "hiddenAliases": [],
4615
+ "id": "onboarding:files:validate",
4616
+ "pluginAlias": "@speedkit/cli",
4617
+ "pluginName": "@speedkit/cli",
4618
+ "pluginType": "core",
4619
+ "strict": true,
4620
+ "isESM": true,
4621
+ "relativePath": [
4622
+ "dist",
4623
+ "commands",
4624
+ "onboarding",
4625
+ "files",
4626
+ "validate.js"
4627
+ ]
4628
+ },
4629
+ "onboarding:inject:add": {
4630
+ "aliases": [],
4631
+ "args": {},
4632
+ "description": "Inject a script into every navigation, from before the site's own scripts run",
4633
+ "examples": [
4634
+ "$ sk onboarding inject add --recipe mark-timeline",
4635
+ "$ sk onboarding inject add --recipe spy --param path=dataLayer.push",
4636
+ "$ sk onboarding inject add --source 'record(window.SpeedKit?.lastNavigate)' --ttl 0"
4637
+ ],
4638
+ "flags": {
4639
+ "run": {
4640
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
4641
+ "name": "run",
4642
+ "hasDynamicHelp": false,
4643
+ "multiple": false,
4644
+ "type": "option"
4645
+ },
4646
+ "json": {
4647
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
4648
+ "name": "json",
1863
4649
  "allowNo": false,
1864
4650
  "type": "boolean"
1865
4651
  },
1866
- "device": {
1867
- "description": "Split the list by device class, so every url is warmed in the variations it was actually requested in. A class not named is left out",
1868
- "exclusive": [
1869
- "variation"
1870
- ],
1871
- "name": "device",
1872
- "required": false,
1873
- "delimiter": ",",
4652
+ "timeout": {
4653
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
4654
+ "name": "timeout",
1874
4655
  "hasDynamicHelp": false,
1875
- "multiple": true,
1876
- "options": [
1877
- "desktop",
1878
- "mobile",
1879
- "tablet"
1880
- ],
4656
+ "multiple": false,
1881
4657
  "type": "option"
1882
4658
  },
1883
- "variation": {
1884
- "char": "v",
1885
- "description": "Pair every url of the list with each of these variations. For the custom variations no traffic can reveal, e.g. 'desktop-pdp-a,mobile-pdp-a'",
4659
+ "recipe": {
4660
+ "description": "A recipe from `recipes`. Exclusive with --source",
1886
4661
  "exclusive": [
1887
- "device"
4662
+ "source"
1888
4663
  ],
1889
- "name": "variation",
1890
- "required": false,
1891
- "delimiter": ",",
4664
+ "name": "recipe",
4665
+ "hasDynamicHelp": false,
4666
+ "multiple": false,
4667
+ "type": "option"
4668
+ },
4669
+ "param": {
4670
+ "description": "A recipe argument as name=value; repeat for several. The value is read as JSON when it parses, else as a string",
4671
+ "name": "param",
1892
4672
  "hasDynamicHelp": false,
1893
4673
  "multiple": true,
1894
4674
  "type": "option"
1895
4675
  },
1896
- "excludeNotFound": {
1897
- "description": "Leave out urls the origin answers with a 404 more often than not",
1898
- "name": "excludeNotFound",
4676
+ "source": {
4677
+ "description": "Raw JavaScript, run inside the envelope; call record(value) to buffer something. Reach globals through window",
4678
+ "name": "source",
4679
+ "hasDynamicHelp": false,
4680
+ "multiple": false,
4681
+ "type": "option"
4682
+ },
4683
+ "ttl": {
4684
+ "description": "Minutes until it removes itself. Default 30; 0 for no expiry",
4685
+ "name": "ttl",
4686
+ "hasDynamicHelp": false,
4687
+ "multiple": false,
4688
+ "type": "option"
4689
+ },
4690
+ "tab": {
4691
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
4692
+ "name": "tab",
4693
+ "hasDynamicHelp": false,
4694
+ "multiple": false,
4695
+ "type": "option"
4696
+ }
4697
+ },
4698
+ "hasDynamicHelp": false,
4699
+ "hiddenAliases": [],
4700
+ "id": "onboarding:inject:add",
4701
+ "pluginAlias": "@speedkit/cli",
4702
+ "pluginName": "@speedkit/cli",
4703
+ "pluginType": "core",
4704
+ "strict": true,
4705
+ "isESM": true,
4706
+ "relativePath": [
4707
+ "dist",
4708
+ "commands",
4709
+ "onboarding",
4710
+ "inject",
4711
+ "add.js"
4712
+ ]
4713
+ },
4714
+ "onboarding:inject:clear": {
4715
+ "aliases": [],
4716
+ "args": {},
4717
+ "description": "Take every injected script out",
4718
+ "examples": [
4719
+ "$ sk onboarding inject clear"
4720
+ ],
4721
+ "flags": {
4722
+ "run": {
4723
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
4724
+ "name": "run",
4725
+ "hasDynamicHelp": false,
4726
+ "multiple": false,
4727
+ "type": "option"
4728
+ },
4729
+ "json": {
4730
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
4731
+ "name": "json",
4732
+ "allowNo": false,
4733
+ "type": "boolean"
4734
+ },
4735
+ "timeout": {
4736
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
4737
+ "name": "timeout",
4738
+ "hasDynamicHelp": false,
4739
+ "multiple": false,
4740
+ "type": "option"
4741
+ },
4742
+ "tab": {
4743
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
4744
+ "name": "tab",
4745
+ "hasDynamicHelp": false,
4746
+ "multiple": false,
4747
+ "type": "option"
4748
+ }
4749
+ },
4750
+ "hasDynamicHelp": false,
4751
+ "hiddenAliases": [],
4752
+ "id": "onboarding:inject:clear",
4753
+ "pluginAlias": "@speedkit/cli",
4754
+ "pluginName": "@speedkit/cli",
4755
+ "pluginType": "core",
4756
+ "strict": true,
4757
+ "isESM": true,
4758
+ "relativePath": [
4759
+ "dist",
4760
+ "commands",
4761
+ "onboarding",
4762
+ "inject",
4763
+ "clear.js"
4764
+ ]
4765
+ },
4766
+ "onboarding:inject:list": {
4767
+ "aliases": [],
4768
+ "args": {},
4769
+ "description": "List what is injected on a live run",
4770
+ "examples": [
4771
+ "$ sk onboarding inject list"
4772
+ ],
4773
+ "flags": {
4774
+ "run": {
4775
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
4776
+ "name": "run",
4777
+ "hasDynamicHelp": false,
4778
+ "multiple": false,
4779
+ "type": "option"
4780
+ },
4781
+ "json": {
4782
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
4783
+ "name": "json",
4784
+ "allowNo": false,
4785
+ "type": "boolean"
4786
+ },
4787
+ "timeout": {
4788
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
4789
+ "name": "timeout",
4790
+ "hasDynamicHelp": false,
4791
+ "multiple": false,
4792
+ "type": "option"
4793
+ },
4794
+ "tab": {
4795
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
4796
+ "name": "tab",
4797
+ "hasDynamicHelp": false,
4798
+ "multiple": false,
4799
+ "type": "option"
4800
+ }
4801
+ },
4802
+ "hasDynamicHelp": false,
4803
+ "hiddenAliases": [],
4804
+ "id": "onboarding:inject:list",
4805
+ "pluginAlias": "@speedkit/cli",
4806
+ "pluginName": "@speedkit/cli",
4807
+ "pluginType": "core",
4808
+ "strict": true,
4809
+ "isESM": true,
4810
+ "relativePath": [
4811
+ "dist",
4812
+ "commands",
4813
+ "onboarding",
4814
+ "inject",
4815
+ "list.js"
4816
+ ]
4817
+ },
4818
+ "onboarding:inject:read": {
4819
+ "aliases": [],
4820
+ "args": {
4821
+ "preload": {
4822
+ "description": "The preload id, e.g. p1. Without one, the answer names them",
4823
+ "name": "preload"
4824
+ }
4825
+ },
4826
+ "description": "Drain what an injected script recorded, newest last",
4827
+ "examples": [
4828
+ "$ sk onboarding inject read p1",
4829
+ "$ sk onboarding inject read p1 --limit 20 --json"
4830
+ ],
4831
+ "flags": {
4832
+ "run": {
4833
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
4834
+ "name": "run",
4835
+ "hasDynamicHelp": false,
4836
+ "multiple": false,
4837
+ "type": "option"
4838
+ },
4839
+ "json": {
4840
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
4841
+ "name": "json",
1899
4842
  "allowNo": false,
1900
4843
  "type": "boolean"
1901
4844
  },
4845
+ "timeout": {
4846
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
4847
+ "name": "timeout",
4848
+ "hasDynamicHelp": false,
4849
+ "multiple": false,
4850
+ "type": "option"
4851
+ },
1902
4852
  "limit": {
1903
- "description": "Keep only the most requested urls",
4853
+ "description": "How many records, newest last. Default 100",
1904
4854
  "name": "limit",
1905
- "required": false,
1906
4855
  "hasDynamicHelp": false,
1907
4856
  "multiple": false,
1908
4857
  "type": "option"
1909
4858
  },
1910
- "match": {
1911
- "description": "Keep only urls whose path matches this regular expression, e.g. '^/p/'. The path is matched with its query string, the way a version 1 pathname rule matches it, so '[?&]size=' works too. Repeat the flag to keep the urls matching any of several patterns, and start a pattern with (?i) to match case-insensitively",
1912
- "name": "match",
1913
- "required": false,
4859
+ "tab": {
4860
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
4861
+ "name": "tab",
1914
4862
  "hasDynamicHelp": false,
1915
- "multiple": true,
4863
+ "multiple": false,
1916
4864
  "type": "option"
1917
- },
1918
- "minHits": {
1919
- "description": "Keep only urls requested at least this often in the window",
1920
- "name": "minHits",
1921
- "required": false,
4865
+ }
4866
+ },
4867
+ "hasDynamicHelp": false,
4868
+ "hiddenAliases": [],
4869
+ "id": "onboarding:inject:read",
4870
+ "pluginAlias": "@speedkit/cli",
4871
+ "pluginName": "@speedkit/cli",
4872
+ "pluginType": "core",
4873
+ "strict": true,
4874
+ "isESM": true,
4875
+ "relativePath": [
4876
+ "dist",
4877
+ "commands",
4878
+ "onboarding",
4879
+ "inject",
4880
+ "read.js"
4881
+ ]
4882
+ },
4883
+ "onboarding:inject:recipes": {
4884
+ "aliases": [],
4885
+ "args": {},
4886
+ "description": "List the scripts that can be injected, and what each one takes",
4887
+ "examples": [
4888
+ "$ sk onboarding inject recipes"
4889
+ ],
4890
+ "flags": {
4891
+ "run": {
4892
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
4893
+ "name": "run",
1922
4894
  "hasDynamicHelp": false,
1923
4895
  "multiple": false,
1924
4896
  "type": "option"
1925
4897
  },
1926
- "count": {
1927
- "description": "Run the query and report how large the list is instead of what is in it: urls, the impressions they stand for, and a row per variation where the list carries variations. Every other flag still applies, so this counts the list the same command would produce",
1928
- "exclusive": [
1929
- "execute"
1930
- ],
1931
- "name": "count",
4898
+ "json": {
4899
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
4900
+ "name": "json",
1932
4901
  "allowNo": false,
1933
4902
  "type": "boolean"
4903
+ },
4904
+ "timeout": {
4905
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
4906
+ "name": "timeout",
4907
+ "hasDynamicHelp": false,
4908
+ "multiple": false,
4909
+ "type": "option"
4910
+ },
4911
+ "tab": {
4912
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
4913
+ "name": "tab",
4914
+ "hasDynamicHelp": false,
4915
+ "multiple": false,
4916
+ "type": "option"
1934
4917
  }
1935
4918
  },
1936
4919
  "hasDynamicHelp": false,
1937
4920
  "hiddenAliases": [],
1938
- "id": "query:prewarm",
4921
+ "id": "onboarding:inject:recipes",
1939
4922
  "pluginAlias": "@speedkit/cli",
1940
4923
  "pluginName": "@speedkit/cli",
1941
4924
  "pluginType": "core",
1942
4925
  "strict": true,
1943
- "enableJsonFlag": false,
1944
4926
  "isESM": true,
1945
4927
  "relativePath": [
1946
4928
  "dist",
1947
4929
  "commands",
1948
- "query",
1949
- "prewarm.js"
4930
+ "onboarding",
4931
+ "inject",
4932
+ "recipes.js"
1950
4933
  ]
1951
4934
  },
1952
- "revalidate:jobs": {
4935
+ "onboarding:inject:remove": {
1953
4936
  "aliases": [],
1954
4937
  "args": {
1955
- "app": {
1956
- "description": "The customer app name",
1957
- "name": "app",
4938
+ "preload": {
4939
+ "description": "The preload id, e.g. p1. `list` names them",
4940
+ "name": "preload",
1958
4941
  "required": true
1959
- },
1960
- "revId": {
1961
- "description": "Show this job in full instead of the list.",
1962
- "name": "revId",
1963
- "required": false
1964
4942
  }
1965
4943
  },
1966
- "description": "List the revalidation jobs of an app that have not ended, or show one in full. In a terminal, it asks which job to show or to start.",
4944
+ "description": "Take one injected script out, including the copy running in the page",
1967
4945
  "examples": [
1968
- "$ sk revalidate jobs example-shop",
1969
- "$ sk revalidate jobs example-shop --state SCHEDULED --state CANCELLED",
1970
- "$ sk revalidate jobs example-shop <revId>"
4946
+ "$ sk onboarding inject remove p1"
1971
4947
  ],
1972
4948
  "flags": {
1973
- "state": {
1974
- "description": "List the jobs in these states. Repeatable. The default is every state of a job that has not ended.",
1975
- "name": "state",
1976
- "default": [
1977
- "CREATED",
1978
- "SCHEDULED",
1979
- "DEFERRED",
1980
- "RUNNING"
1981
- ],
4949
+ "run": {
4950
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
4951
+ "name": "run",
1982
4952
  "hasDynamicHelp": false,
1983
- "multiple": true,
1984
- "options": [
1985
- "CREATED",
1986
- "SCHEDULED",
1987
- "DEFERRED",
1988
- "RUNNING",
1989
- "FINISHED",
1990
- "ERROR",
1991
- "CANCELLED"
1992
- ],
4953
+ "multiple": false,
4954
+ "type": "option"
4955
+ },
4956
+ "json": {
4957
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
4958
+ "name": "json",
4959
+ "allowNo": false,
4960
+ "type": "boolean"
4961
+ },
4962
+ "timeout": {
4963
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
4964
+ "name": "timeout",
4965
+ "hasDynamicHelp": false,
4966
+ "multiple": false,
4967
+ "type": "option"
4968
+ },
4969
+ "tab": {
4970
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
4971
+ "name": "tab",
4972
+ "hasDynamicHelp": false,
4973
+ "multiple": false,
1993
4974
  "type": "option"
1994
4975
  }
1995
4976
  },
1996
4977
  "hasDynamicHelp": false,
1997
4978
  "hiddenAliases": [],
1998
- "id": "revalidate:jobs",
4979
+ "id": "onboarding:inject:remove",
1999
4980
  "pluginAlias": "@speedkit/cli",
2000
4981
  "pluginName": "@speedkit/cli",
2001
4982
  "pluginType": "core",
2002
4983
  "strict": true,
2003
- "enableJsonFlag": false,
2004
4984
  "isESM": true,
2005
4985
  "relativePath": [
2006
4986
  "dist",
2007
4987
  "commands",
2008
- "revalidate",
2009
- "jobs.js"
4988
+ "onboarding",
4989
+ "inject",
4990
+ "remove.js"
2010
4991
  ]
2011
4992
  },
2012
- "revalidate:start": {
4993
+ "onboarding:rum:beacons": {
2013
4994
  "aliases": [],
2014
- "args": {
2015
- "app": {
2016
- "description": "The customer app name",
2017
- "name": "app",
2018
- "required": true
4995
+ "args": {},
4996
+ "description": "The RUM beacons as they left the page — which one carried a field, and when. --follow watches while you act",
4997
+ "examples": [
4998
+ "$ sk onboarding rum beacons",
4999
+ "$ sk onboarding rum beacons --key addToCart --follow"
5000
+ ],
5001
+ "flags": {
5002
+ "run": {
5003
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
5004
+ "name": "run",
5005
+ "hasDynamicHelp": false,
5006
+ "multiple": false,
5007
+ "type": "option"
2019
5008
  },
2020
- "revId": {
2021
- "description": "The scheduled job to start now.",
2022
- "name": "revId",
2023
- "required": true
5009
+ "json": {
5010
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
5011
+ "name": "json",
5012
+ "allowNo": false,
5013
+ "type": "boolean"
5014
+ },
5015
+ "timeout": {
5016
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
5017
+ "name": "timeout",
5018
+ "hasDynamicHelp": false,
5019
+ "multiple": false,
5020
+ "type": "option"
5021
+ },
5022
+ "key": {
5023
+ "description": "Only beacons carrying this field, anywhere in the payload, with its value",
5024
+ "name": "key",
5025
+ "hasDynamicHelp": false,
5026
+ "multiple": false,
5027
+ "type": "option"
5028
+ },
5029
+ "follow": {
5030
+ "char": "f",
5031
+ "description": "Keep printing new beacons until Ctrl+C: act, and watch",
5032
+ "name": "follow",
5033
+ "allowNo": false,
5034
+ "type": "boolean"
5035
+ },
5036
+ "sinceSeq": {
5037
+ "description": "Only beacons after this sequence number",
5038
+ "name": "sinceSeq",
5039
+ "hasDynamicHelp": false,
5040
+ "multiple": false,
5041
+ "type": "option"
2024
5042
  }
2025
5043
  },
2026
- "description": "Start a scheduled revalidation job now instead of after its wait.",
5044
+ "hasDynamicHelp": false,
5045
+ "hiddenAliases": [],
5046
+ "id": "onboarding:rum:beacons",
5047
+ "pluginAlias": "@speedkit/cli",
5048
+ "pluginName": "@speedkit/cli",
5049
+ "pluginType": "core",
5050
+ "strict": true,
5051
+ "isESM": true,
5052
+ "relativePath": [
5053
+ "dist",
5054
+ "commands",
5055
+ "onboarding",
5056
+ "rum",
5057
+ "beacons.js"
5058
+ ]
5059
+ },
5060
+ "onboarding:rum:get": {
5061
+ "aliases": [],
5062
+ "args": {},
5063
+ "description": "Read what Speed Kit tracked for the page: sent data only, unless --flush",
2027
5064
  "examples": [
2028
- "$ sk revalidate start example-shop <revId>",
2029
- "$ sk revalidate start example-shop <revId> --wait"
5065
+ "$ sk onboarding rum get",
5066
+ "$ sk onboarding rum get --key pageType --key variation"
2030
5067
  ],
2031
5068
  "flags": {
2032
- "wait": {
2033
- "description": "Wait until the job ends.",
2034
- "name": "wait",
5069
+ "run": {
5070
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
5071
+ "name": "run",
5072
+ "hasDynamicHelp": false,
5073
+ "multiple": false,
5074
+ "type": "option"
5075
+ },
5076
+ "json": {
5077
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
5078
+ "name": "json",
5079
+ "allowNo": false,
5080
+ "type": "boolean"
5081
+ },
5082
+ "timeout": {
5083
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
5084
+ "name": "timeout",
5085
+ "hasDynamicHelp": false,
5086
+ "multiple": false,
5087
+ "type": "option"
5088
+ },
5089
+ "key": {
5090
+ "description": "Only this field; repeat for several",
5091
+ "name": "key",
5092
+ "hasDynamicHelp": false,
5093
+ "multiple": true,
5094
+ "type": "option"
5095
+ },
5096
+ "flush": {
5097
+ "description": "Force a send first, so nothing is missing. It ends the impression being measured: prefer `rum key`",
5098
+ "name": "flush",
2035
5099
  "allowNo": false,
2036
5100
  "type": "boolean"
5101
+ },
5102
+ "tab": {
5103
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
5104
+ "name": "tab",
5105
+ "hasDynamicHelp": false,
5106
+ "multiple": false,
5107
+ "type": "option"
2037
5108
  }
2038
5109
  },
2039
5110
  "hasDynamicHelp": false,
2040
5111
  "hiddenAliases": [],
2041
- "id": "revalidate:start",
5112
+ "id": "onboarding:rum:get",
2042
5113
  "pluginAlias": "@speedkit/cli",
2043
5114
  "pluginName": "@speedkit/cli",
2044
5115
  "pluginType": "core",
2045
5116
  "strict": true,
2046
- "enableJsonFlag": false,
2047
5117
  "isESM": true,
2048
5118
  "relativePath": [
2049
5119
  "dist",
2050
5120
  "commands",
2051
- "revalidate",
2052
- "start.js"
5121
+ "onboarding",
5122
+ "rum",
5123
+ "get.js"
2053
5124
  ]
2054
5125
  },
2055
- "revalidate:unblock": {
5126
+ "onboarding:rum:key": {
2056
5127
  "aliases": [],
2057
5128
  "args": {
2058
- "app": {
2059
- "description": "The customer app name",
2060
- "name": "app",
5129
+ "key": {
5130
+ "description": "The RUM field, e.g. a custom dimension. Unsent data included",
5131
+ "name": "key",
2061
5132
  "required": true
2062
5133
  }
2063
5134
  },
2064
- "description": "Start the scheduled deployment jobs of an app until none blocks the HTML. A scheduled deployment job makes Speed Kit answer 306 and serve from origin. Use it while the app runs at 0%: above 0%, let the jobs run on their own schedule and use `sk revalidate wait`.",
5135
+ "description": "Read one RUM field, unsent data included, without ending the impression",
2065
5136
  "examples": [
2066
- "$ sk revalidate unblock example-shop"
5137
+ "$ sk onboarding rum key myCustomDimension"
2067
5138
  ],
2068
- "flags": {},
5139
+ "flags": {
5140
+ "run": {
5141
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
5142
+ "name": "run",
5143
+ "hasDynamicHelp": false,
5144
+ "multiple": false,
5145
+ "type": "option"
5146
+ },
5147
+ "json": {
5148
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
5149
+ "name": "json",
5150
+ "allowNo": false,
5151
+ "type": "boolean"
5152
+ },
5153
+ "timeout": {
5154
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
5155
+ "name": "timeout",
5156
+ "hasDynamicHelp": false,
5157
+ "multiple": false,
5158
+ "type": "option"
5159
+ },
5160
+ "tab": {
5161
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
5162
+ "name": "tab",
5163
+ "hasDynamicHelp": false,
5164
+ "multiple": false,
5165
+ "type": "option"
5166
+ }
5167
+ },
2069
5168
  "hasDynamicHelp": false,
2070
5169
  "hiddenAliases": [],
2071
- "id": "revalidate:unblock",
5170
+ "id": "onboarding:rum:key",
2072
5171
  "pluginAlias": "@speedkit/cli",
2073
5172
  "pluginName": "@speedkit/cli",
2074
5173
  "pluginType": "core",
2075
5174
  "strict": true,
2076
- "enableJsonFlag": false,
2077
5175
  "isESM": true,
2078
5176
  "relativePath": [
2079
5177
  "dist",
2080
5178
  "commands",
2081
- "revalidate",
2082
- "unblock.js"
5179
+ "onboarding",
5180
+ "rum",
5181
+ "key.js"
2083
5182
  ]
2084
5183
  },
2085
- "revalidate:wait": {
5184
+ "onboarding:rum:previous": {
2086
5185
  "aliases": [],
2087
- "args": {
2088
- "app": {
2089
- "description": "The customer app name",
2090
- "name": "app",
2091
- "required": true
2092
- }
2093
- },
2094
- "description": "Wait until no deployment job of an app blocks the HTML. It starts nothing.",
5186
+ "args": {},
5187
+ "description": "Read the previous page impression: on an SPA, the one that loaded the page",
2095
5188
  "examples": [
2096
- "$ sk revalidate wait example-shop"
5189
+ "$ sk onboarding rum previous"
2097
5190
  ],
2098
- "flags": {},
5191
+ "flags": {
5192
+ "run": {
5193
+ "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
5194
+ "name": "run",
5195
+ "hasDynamicHelp": false,
5196
+ "multiple": false,
5197
+ "type": "option"
5198
+ },
5199
+ "json": {
5200
+ "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
5201
+ "name": "json",
5202
+ "allowNo": false,
5203
+ "type": "boolean"
5204
+ },
5205
+ "timeout": {
5206
+ "description": "How long to wait for the run to answer, in ms. The default suits the op",
5207
+ "name": "timeout",
5208
+ "hasDynamicHelp": false,
5209
+ "multiple": false,
5210
+ "type": "option"
5211
+ },
5212
+ "tab": {
5213
+ "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
5214
+ "name": "tab",
5215
+ "hasDynamicHelp": false,
5216
+ "multiple": false,
5217
+ "type": "option"
5218
+ }
5219
+ },
2099
5220
  "hasDynamicHelp": false,
2100
5221
  "hiddenAliases": [],
2101
- "id": "revalidate:wait",
5222
+ "id": "onboarding:rum:previous",
2102
5223
  "pluginAlias": "@speedkit/cli",
2103
5224
  "pluginName": "@speedkit/cli",
2104
5225
  "pluginType": "core",
2105
5226
  "strict": true,
2106
- "enableJsonFlag": false,
2107
5227
  "isESM": true,
2108
5228
  "relativePath": [
2109
5229
  "dist",
2110
5230
  "commands",
2111
- "revalidate",
2112
- "wait.js"
5231
+ "onboarding",
5232
+ "rum",
5233
+ "previous.js"
2113
5234
  ]
2114
5235
  }
2115
5236
  },
2116
- "version": "4.51.1"
5237
+ "version": "4.52.0"
2117
5238
  }