@speedkit/cli 4.51.0-run-control.4 → 4.51.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 (485) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +14 -1426
  3. package/dist/commands/diff.d.ts +1 -7
  4. package/dist/commands/diff.js +3 -9
  5. package/dist/commands/login.d.ts +0 -3
  6. package/dist/commands/login.js +3 -14
  7. package/dist/commands/onboarding.d.ts +0 -26
  8. package/dist/commands/onboarding.js +4 -221
  9. package/dist/commands/origin-request.d.ts +0 -4
  10. package/dist/commands/origin-request.js +0 -4
  11. package/dist/services/browser-fetch/device-emulation.d.ts +0 -11
  12. package/dist/services/browser-fetch/device-emulation.js +0 -14
  13. package/dist/services/bundler/bundle-service-factory.d.ts +3 -0
  14. package/dist/services/bundler/bundle-service-factory.js +5 -1
  15. package/dist/services/bundler/bundle-service.d.ts +10 -1
  16. package/dist/services/bundler/bundle-service.js +16 -1
  17. package/dist/services/bundler/error/packjockel-error.d.ts +3 -0
  18. package/dist/services/bundler/error/packjockel-error.js +3 -0
  19. package/dist/services/bundler/index.d.ts +1 -0
  20. package/dist/services/bundler/index.js +1 -0
  21. package/dist/services/bundler/packjockel-service.d.ts +112 -0
  22. package/dist/services/bundler/packjockel-service.js +202 -0
  23. package/dist/services/bundler/spec/packjockel-service.spec.js +186 -0
  24. package/dist/services/cli/cli-environment-factory.d.ts +0 -3
  25. package/dist/services/cli/cli-environment-factory.js +0 -1
  26. package/dist/services/cli/cli-service-build-context.d.ts +0 -3
  27. package/dist/services/cli/cli-service-factory.js +1 -1
  28. package/dist/services/cli/cli-service-model.d.ts +10 -29
  29. package/dist/services/cli/cli-service.d.ts +11 -60
  30. package/dist/services/cli/cli-service.js +32 -196
  31. package/dist/services/cli/index.d.ts +0 -2
  32. package/dist/services/cli/index.js +0 -2
  33. package/dist/services/cli/spec/cli-service.spec.js +50 -113
  34. package/dist/services/deploy/checks/activation/customer-approval-check.js +1 -1
  35. package/dist/services/deploy/checks/pre-deploy/device-detection-changed-check.js +2 -3
  36. package/dist/services/deploy/checks/pre-deploy/split-change-check.js +2 -3
  37. package/dist/services/deploy/handler/customer-config-handler.d.ts +9 -0
  38. package/dist/services/deploy/handler/customer-config-handler.js +41 -6
  39. package/dist/services/deploy/interface/install.d.ts +7 -1
  40. package/dist/services/deploy/mr/live-state-check.js +21 -2
  41. package/dist/services/deploy/policy/auto-deploy-policy.js +2 -0
  42. package/dist/services/deploy/policy/deploy-policy-model.d.ts +4 -0
  43. package/dist/services/deploy/policy/deploy-policy-model.js +4 -0
  44. package/dist/services/deploy/policy/testing-deploy-policy.js +2 -0
  45. package/dist/services/deploy/spec/handler/customer-config-handler.spec.js +98 -0
  46. package/dist/services/deploy/spec/mr/live-state-check.spec.js +45 -4
  47. package/dist/services/deploy/spec/policy/auto-deploy-policy.spec.js +2 -0
  48. package/dist/services/deploy/spec/policy/testing-deploy-policy.spec.js +3 -1
  49. package/dist/services/diff/diff-service-build-context.d.ts +0 -12
  50. package/dist/services/diff/diff-service-build-context.js +1 -45
  51. package/dist/services/diff/diff-service-factory.d.ts +0 -2
  52. package/dist/services/diff/diff-service-factory.js +25 -65
  53. package/dist/services/diff/diff-service.d.ts +0 -11
  54. package/dist/services/diff/diff-service.js +11 -37
  55. package/dist/services/diff/page-source.d.ts +0 -12
  56. package/dist/services/diff/page-source.js +11 -16
  57. package/dist/services/diff/sinks/tool-diff-sink.d.ts +2 -3
  58. package/dist/services/diff/sinks/tool-diff-sink.js +2 -3
  59. package/dist/services/diff/spec/diff-service-build-context.spec.js +0 -19
  60. package/dist/services/diff/spec/diff-service.spec.js +0 -95
  61. package/dist/services/document-handler-runtime/document-handler-browser-mock.d.ts +13 -0
  62. package/dist/services/document-handler-runtime/document-handler-browser-mock.js +69 -0
  63. package/dist/services/document-handler-runtime/document-handler-server.d.ts +27 -0
  64. package/dist/services/document-handler-runtime/document-handler-server.js +112 -19
  65. package/dist/services/document-handler-runtime/spec/document-handler-browser-mock.spec.js +34 -0
  66. package/dist/services/git/git-repository.d.ts +0 -2
  67. package/dist/services/git/git-repository.js +0 -6
  68. package/dist/services/integration-api/customer-config-flags.js +0 -1
  69. package/dist/services/integration-api/integration-api-model.d.ts +4 -1
  70. package/dist/services/integration-api/spec/customer-config-file.spec.js +56 -0
  71. package/dist/services/integration-api/spec/speed-kit-config-file.spec.js +68 -8
  72. package/dist/services/integration-api/struct/customer-config-file.d.ts +15 -0
  73. package/dist/services/integration-api/struct/customer-config-file.js +42 -0
  74. package/dist/services/integration-api/struct/customer-config.d.ts +55 -1
  75. package/dist/services/integration-api/struct/customer-config.js +70 -3
  76. package/dist/services/integration-api/struct/speed-kit-config-file.d.ts +11 -4
  77. package/dist/services/integration-api/struct/speed-kit-config-file.js +31 -10
  78. package/dist/services/onboarding/browse/browse-service.d.ts +1 -13
  79. package/dist/services/onboarding/browse/browse-service.js +7 -43
  80. package/dist/services/onboarding/browser/baqend-response.d.ts +1 -17
  81. package/dist/services/onboarding/browser/baqend-response.js +0 -23
  82. package/dist/services/onboarding/browser/emulate-device.d.ts +1 -12
  83. package/dist/services/onboarding/browser/emulate-device.js +13 -68
  84. package/dist/services/onboarding/browser/executable/executable-validator.js +2 -4
  85. package/dist/services/onboarding/browser/extension/extension-bridge.js +3 -5
  86. package/dist/services/onboarding/browser/extension/extension-downloader.js +8 -17
  87. package/dist/services/onboarding/browser/extension/extension-validator.js +4 -9
  88. package/dist/services/onboarding/browser/launch-browser.d.ts +1 -2
  89. package/dist/services/onboarding/browser/launch-browser.js +1 -6
  90. package/dist/services/onboarding/config-renderer/speed-kit-install-context.d.ts +2 -0
  91. package/dist/services/onboarding/config-renderer/speed-kit-install-context.js +29 -8
  92. package/dist/services/onboarding/dashboard/diff-against-current-page.js +1 -3
  93. package/dist/services/onboarding/dashboard/index.js +2 -7
  94. package/dist/services/onboarding/fetch-event-handler.d.ts +5 -24
  95. package/dist/services/onboarding/fetch-event-handler.js +32 -103
  96. package/dist/services/onboarding/fetch-events/speed-kit-install-js.js +2 -11
  97. package/dist/services/onboarding/fetch-events/speed-kit-rum-pi-request.d.ts +0 -14
  98. package/dist/services/onboarding/fetch-events/speed-kit-rum-pi-request.js +0 -30
  99. package/dist/services/onboarding/fetch-events/speed-kit-service-worker-js.d.ts +3 -14
  100. package/dist/services/onboarding/fetch-events/speed-kit-service-worker-js.js +10 -29
  101. package/dist/services/onboarding/file-events/file-watcher.d.ts +4 -43
  102. package/dist/services/onboarding/file-events/file-watcher.js +21 -119
  103. package/dist/services/onboarding/inject/inject-service.js +1 -1
  104. package/dist/services/onboarding/onboarding-model.d.ts +7 -40
  105. package/dist/services/onboarding/onboarding-model.js +9 -20
  106. package/dist/services/onboarding/onboarding-service-build-context.d.ts +0 -4
  107. package/dist/services/onboarding/onboarding-service-build-context.js +1 -7
  108. package/dist/services/onboarding/onboarding-service-factory.d.ts +1 -17
  109. package/dist/services/onboarding/onboarding-service-factory.js +35 -152
  110. package/dist/services/onboarding/onboarding-service.d.ts +1 -40
  111. package/dist/services/onboarding/onboarding-service.js +23 -139
  112. package/dist/services/onboarding/request-cache/cache.d.ts +5 -62
  113. package/dist/services/onboarding/request-cache/cache.js +17 -128
  114. package/dist/services/onboarding/spec/file-events/file-watcher.spec.js +67 -0
  115. package/dist/services/onboarding/spec/onboarding-model.spec.js +3 -39
  116. package/dist/services/onboarding/spec/onboarding-service-factory.spec.js +1 -25
  117. package/dist/services/onboarding/templates/install-speed-kit-js-template.js +5 -0
  118. package/dist/services/onboarding/todo-collector.d.ts +2 -7
  119. package/dist/services/onboarding/todo-collector.js +12 -49
  120. package/dist/services/onboarding/virtual-orestes-app/index.d.ts +0 -38
  121. package/dist/services/onboarding/virtual-orestes-app/index.js +27 -113
  122. package/dist/services/origin-request/asset-variations.d.ts +0 -14
  123. package/dist/services/origin-request/asset-variations.js +4 -11
  124. package/dist/services/origin-request/origin-fetcher.d.ts +0 -7
  125. package/dist/services/origin-request/origin-fetcher.js +5 -43
  126. package/dist/services/origin-request/origin-request-service-build-context.d.ts +0 -17
  127. package/dist/services/origin-request/origin-request-service-build-context.js +0 -8
  128. package/dist/services/origin-request/origin-request-service-factory.d.ts +5 -0
  129. package/dist/services/origin-request/origin-request-service-factory.js +30 -2
  130. package/dist/services/origin-request/origin-request-service.d.ts +6 -121
  131. package/dist/services/origin-request/origin-request-service.js +49 -273
  132. package/dist/services/origin-request/runtime-config-source.d.ts +0 -6
  133. package/dist/services/origin-request/runtime-config-source.js +4 -15
  134. package/dist/services/origin-request/spec/asset-variations.spec.js +0 -20
  135. package/dist/services/origin-request/spec/origin-request-service.spec.js +6 -329
  136. package/dist/services/pull/pull-service.js +23 -5
  137. package/dist/services/query-builder/query-builder-factory.js +3 -3
  138. package/dist/services/setup/os/tool-registry.js +2 -2
  139. package/oclif.manifest.json +288 -3409
  140. package/package.json +3 -20
  141. package/dist/base/run-control-command.d.ts +0 -15
  142. package/dist/base/run-control-command.js +0 -20
  143. package/dist/build-info.json +0 -6
  144. package/dist/commands/onboarding/browser/click.d.ts +0 -75
  145. package/dist/commands/onboarding/browser/click.js +0 -19
  146. package/dist/commands/onboarding/browser/emulate.d.ts +0 -105
  147. package/dist/commands/onboarding/browser/emulate.js +0 -26
  148. package/dist/commands/onboarding/browser/navigate.d.ts +0 -75
  149. package/dist/commands/onboarding/browser/navigate.js +0 -19
  150. package/dist/commands/onboarding/browser/panel.d.ts +0 -63
  151. package/dist/commands/onboarding/browser/panel.js +0 -12
  152. package/dist/commands/onboarding/browser/reinstall-sw.d.ts +0 -63
  153. package/dist/commands/onboarding/browser/reinstall-sw.js +0 -14
  154. package/dist/commands/onboarding/browser/reset.d.ts +0 -71
  155. package/dist/commands/onboarding/browser/reset.js +0 -18
  156. package/dist/commands/onboarding/browser/screenshot.d.ts +0 -77
  157. package/dist/commands/onboarding/browser/screenshot.js +0 -19
  158. package/dist/commands/onboarding/browser/state.d.ts +0 -63
  159. package/dist/commands/onboarding/browser/state.js +0 -12
  160. package/dist/commands/onboarding/browser/tabs.d.ts +0 -58
  161. package/dist/commands/onboarding/browser/tabs.js +0 -16
  162. package/dist/commands/onboarding/cache/clear.d.ts +0 -58
  163. package/dist/commands/onboarding/cache/clear.js +0 -12
  164. package/dist/commands/onboarding/cache/errors.d.ts +0 -58
  165. package/dist/commands/onboarding/cache/errors.js +0 -12
  166. package/dist/commands/onboarding/cache/evict.d.ts +0 -62
  167. package/dist/commands/onboarding/cache/evict.js +0 -15
  168. package/dist/commands/onboarding/cache/get.d.ts +0 -85
  169. package/dist/commands/onboarding/cache/get.js +0 -17
  170. package/dist/commands/onboarding/cache/list.d.ts +0 -58
  171. package/dist/commands/onboarding/cache/list.js +0 -15
  172. package/dist/commands/onboarding/cache/prewarm.d.ts +0 -73
  173. package/dist/commands/onboarding/cache/prewarm.js +0 -20
  174. package/dist/commands/onboarding/cache/refresh.d.ts +0 -62
  175. package/dist/commands/onboarding/cache/refresh.js +0 -18
  176. package/dist/commands/onboarding/cdp.d.ts +0 -81
  177. package/dist/commands/onboarding/cdp.js +0 -18
  178. package/dist/commands/onboarding/debug/arm.d.ts +0 -83
  179. package/dist/commands/onboarding/debug/arm.js +0 -19
  180. package/dist/commands/onboarding/debug/await.d.ts +0 -71
  181. package/dist/commands/onboarding/debug/await.js +0 -18
  182. package/dist/commands/onboarding/debug/disarm.d.ts +0 -63
  183. package/dist/commands/onboarding/debug/disarm.js +0 -12
  184. package/dist/commands/onboarding/debug/eval.d.ts +0 -75
  185. package/dist/commands/onboarding/debug/eval.js +0 -16
  186. package/dist/commands/onboarding/debug/release.d.ts +0 -63
  187. package/dist/commands/onboarding/debug/release.js +0 -12
  188. package/dist/commands/onboarding/debug/resume.d.ts +0 -63
  189. package/dist/commands/onboarding/debug/resume.js +0 -12
  190. package/dist/commands/onboarding/debug/status.d.ts +0 -63
  191. package/dist/commands/onboarding/debug/status.js +0 -12
  192. package/dist/commands/onboarding/debug/step.d.ts +0 -67
  193. package/dist/commands/onboarding/debug/step.js +0 -15
  194. package/dist/commands/onboarding/files/list.d.ts +0 -58
  195. package/dist/commands/onboarding/files/list.js +0 -12
  196. package/dist/commands/onboarding/files/read.d.ts +0 -73
  197. package/dist/commands/onboarding/files/read.js +0 -16
  198. package/dist/commands/onboarding/files/rebuild.d.ts +0 -63
  199. package/dist/commands/onboarding/files/rebuild.js +0 -18
  200. package/dist/commands/onboarding/files/validate.d.ts +0 -58
  201. package/dist/commands/onboarding/files/validate.js +0 -12
  202. package/dist/commands/onboarding/fouc.d.ts +0 -77
  203. package/dist/commands/onboarding/fouc.js +0 -16
  204. package/dist/commands/onboarding/inject/add.d.ts +0 -89
  205. package/dist/commands/onboarding/inject/add.js +0 -17
  206. package/dist/commands/onboarding/inject/clear.d.ts +0 -63
  207. package/dist/commands/onboarding/inject/clear.js +0 -12
  208. package/dist/commands/onboarding/inject/list.d.ts +0 -63
  209. package/dist/commands/onboarding/inject/list.js +0 -12
  210. package/dist/commands/onboarding/inject/read.d.ts +0 -75
  211. package/dist/commands/onboarding/inject/read.js +0 -18
  212. package/dist/commands/onboarding/inject/recipes.d.ts +0 -63
  213. package/dist/commands/onboarding/inject/recipes.js +0 -12
  214. package/dist/commands/onboarding/inject/remove.d.ts +0 -67
  215. package/dist/commands/onboarding/inject/remove.js +0 -15
  216. package/dist/commands/onboarding/list.d.ts +0 -13
  217. package/dist/commands/onboarding/list.js +0 -12
  218. package/dist/commands/onboarding/logs.d.ts +0 -41
  219. package/dist/commands/onboarding/logs.js +0 -257
  220. package/dist/commands/onboarding/navwalk.d.ts +0 -95
  221. package/dist/commands/onboarding/navwalk.js +0 -19
  222. package/dist/commands/onboarding/response.d.ts +0 -67
  223. package/dist/commands/onboarding/response.js +0 -18
  224. package/dist/commands/onboarding/rum/beacons.d.ts +0 -75
  225. package/dist/commands/onboarding/rum/beacons.js +0 -16
  226. package/dist/commands/onboarding/rum/get.d.ts +0 -77
  227. package/dist/commands/onboarding/rum/get.js +0 -18
  228. package/dist/commands/onboarding/rum/key.d.ts +0 -67
  229. package/dist/commands/onboarding/rum/key.js +0 -13
  230. package/dist/commands/onboarding/rum/previous.d.ts +0 -63
  231. package/dist/commands/onboarding/rum/previous.js +0 -12
  232. package/dist/commands/onboarding/status.d.ts +0 -13
  233. package/dist/commands/onboarding/status.js +0 -17
  234. package/dist/commands/onboarding/stop.d.ts +0 -13
  235. package/dist/commands/onboarding/stop.js +0 -17
  236. package/dist/commands/onboarding/todo.d.ts +0 -58
  237. package/dist/commands/onboarding/todo.js +0 -12
  238. package/dist/commands/onboarding/viewport.d.ts +0 -101
  239. package/dist/commands/onboarding/viewport.js +0 -18
  240. package/dist/commands/onboarding/watch.d.ts +0 -93
  241. package/dist/commands/onboarding/watch.js +0 -16
  242. package/dist/commands/spec/onboarding.spec.js +0 -127
  243. package/dist/services/cli/build-info.d.ts +0 -33
  244. package/dist/services/cli/build-info.js +0 -63
  245. package/dist/services/cli/sink.d.ts +0 -47
  246. package/dist/services/cli/sink.js +0 -31
  247. package/dist/services/cli/spec/build-identity.spec.js +0 -85
  248. package/dist/services/cli/spec/build-info.spec.js +0 -10
  249. package/dist/services/cli/spec/cli-service-log.spec.js +0 -133
  250. package/dist/services/cli/spec/memory-cli.d.ts +0 -9
  251. package/dist/services/cli/spec/memory-cli.js +0 -9
  252. package/dist/services/diff/config-at-ref.d.ts +0 -20
  253. package/dist/services/diff/config-at-ref.js +0 -33
  254. package/dist/services/diff/run-runtime-config.d.ts +0 -33
  255. package/dist/services/diff/run-runtime-config.js +0 -74
  256. package/dist/services/diff/spec/config-at-ref.spec.js +0 -46
  257. package/dist/services/diff/spec/run-runtime-config.spec.d.ts +0 -1
  258. package/dist/services/diff/spec/run-runtime-config.spec.js +0 -87
  259. package/dist/services/onboarding/browser/answer-dialogs.d.ts +0 -12
  260. package/dist/services/onboarding/browser/answer-dialogs.js +0 -25
  261. package/dist/services/onboarding/browser/console-log.d.ts +0 -9
  262. package/dist/services/onboarding/browser/console-log.js +0 -27
  263. package/dist/services/onboarding/browser/resume-restarted-workers.d.ts +0 -14
  264. package/dist/services/onboarding/browser/resume-restarted-workers.js +0 -26
  265. package/dist/services/onboarding/control/body-inspect.d.ts +0 -24
  266. package/dist/services/onboarding/control/body-inspect.js +0 -106
  267. package/dist/services/onboarding/control/browser-session.d.ts +0 -547
  268. package/dist/services/onboarding/control/browser-session.js +0 -1337
  269. package/dist/services/onboarding/control/config-validation.d.ts +0 -17
  270. package/dist/services/onboarding/control/config-validation.js +0 -46
  271. package/dist/services/onboarding/control/control-protocol.d.ts +0 -1430
  272. package/dist/services/onboarding/control/control-protocol.js +0 -58
  273. package/dist/services/onboarding/control/control-server.d.ts +0 -292
  274. package/dist/services/onboarding/control/control-server.js +0 -1629
  275. package/dist/services/onboarding/control/debug-session.d.ts +0 -219
  276. package/dist/services/onboarding/control/debug-session.js +0 -897
  277. package/dist/services/onboarding/control/fouc.d.ts +0 -23
  278. package/dist/services/onboarding/control/fouc.js +0 -151
  279. package/dist/services/onboarding/control/index.d.ts +0 -4
  280. package/dist/services/onboarding/control/index.js +0 -4
  281. package/dist/services/onboarding/control/navigate-wait.d.ts +0 -33
  282. package/dist/services/onboarding/control/navigate-wait.js +0 -56
  283. package/dist/services/onboarding/control/navwalk.d.ts +0 -65
  284. package/dist/services/onboarding/control/navwalk.js +0 -248
  285. package/dist/services/onboarding/control/preload-registry.d.ts +0 -150
  286. package/dist/services/onboarding/control/preload-registry.js +0 -829
  287. package/dist/services/onboarding/control/response-explainer.d.ts +0 -24
  288. package/dist/services/onboarding/control/response-explainer.js +0 -257
  289. package/dist/services/onboarding/control/rum.d.ts +0 -8
  290. package/dist/services/onboarding/control/rum.js +0 -220
  291. package/dist/services/onboarding/control/service-worker-tracker.d.ts +0 -68
  292. package/dist/services/onboarding/control/service-worker-tracker.js +0 -120
  293. package/dist/services/onboarding/control/viewport.d.ts +0 -45
  294. package/dist/services/onboarding/control/viewport.js +0 -344
  295. package/dist/services/onboarding/control/watch.d.ts +0 -26
  296. package/dist/services/onboarding/control/watch.js +0 -157
  297. package/dist/services/onboarding/request-cache/asset-key.d.ts +0 -61
  298. package/dist/services/onboarding/request-cache/asset-key.js +0 -115
  299. package/dist/services/onboarding/spec/browser/answer-dialogs.spec.d.ts +0 -1
  300. package/dist/services/onboarding/spec/browser/answer-dialogs.spec.js +0 -66
  301. package/dist/services/onboarding/spec/browser/console-log.spec.d.ts +0 -1
  302. package/dist/services/onboarding/spec/browser/console-log.spec.js +0 -42
  303. package/dist/services/onboarding/spec/browser/resume-restarted-workers.spec.d.ts +0 -1
  304. package/dist/services/onboarding/spec/browser/resume-restarted-workers.spec.js +0 -45
  305. package/dist/services/onboarding/spec/control/browser-session.spec.d.ts +0 -1
  306. package/dist/services/onboarding/spec/control/browser-session.spec.js +0 -753
  307. package/dist/services/onboarding/spec/control/control-server.spec.d.ts +0 -1
  308. package/dist/services/onboarding/spec/control/control-server.spec.js +0 -371
  309. package/dist/services/onboarding/spec/control/debug-session.spec.d.ts +0 -1
  310. package/dist/services/onboarding/spec/control/debug-session.spec.js +0 -751
  311. package/dist/services/onboarding/spec/control/fakes.d.ts +0 -31
  312. package/dist/services/onboarding/spec/control/fakes.js +0 -67
  313. package/dist/services/onboarding/spec/control/fouc.spec.d.ts +0 -1
  314. package/dist/services/onboarding/spec/control/fouc.spec.js +0 -167
  315. package/dist/services/onboarding/spec/control/navigate-wait.spec.d.ts +0 -1
  316. package/dist/services/onboarding/spec/control/navigate-wait.spec.js +0 -47
  317. package/dist/services/onboarding/spec/control/navwalk.spec.d.ts +0 -1
  318. package/dist/services/onboarding/spec/control/navwalk.spec.js +0 -222
  319. package/dist/services/onboarding/spec/control/preload-registry.spec.d.ts +0 -1
  320. package/dist/services/onboarding/spec/control/preload-registry.spec.js +0 -432
  321. package/dist/services/onboarding/spec/control/response-explainer.spec.d.ts +0 -1
  322. package/dist/services/onboarding/spec/control/response-explainer.spec.js +0 -324
  323. package/dist/services/onboarding/spec/control/rum.spec.d.ts +0 -1
  324. package/dist/services/onboarding/spec/control/rum.spec.js +0 -222
  325. package/dist/services/onboarding/spec/control/service-worker-tracker.spec.d.ts +0 -1
  326. package/dist/services/onboarding/spec/control/service-worker-tracker.spec.js +0 -193
  327. package/dist/services/onboarding/spec/control/viewport.spec.d.ts +0 -1
  328. package/dist/services/onboarding/spec/control/viewport.spec.js +0 -200
  329. package/dist/services/onboarding/spec/control/watch.spec.d.ts +0 -1
  330. package/dist/services/onboarding/spec/control/watch.spec.js +0 -187
  331. package/dist/services/onboarding/spec/fetch-event-handler.spec.d.ts +0 -1
  332. package/dist/services/onboarding/spec/fetch-event-handler.spec.js +0 -219
  333. package/dist/services/onboarding/spec/fetch-events/speed-kit-service-worker-js.spec.d.ts +0 -1
  334. package/dist/services/onboarding/spec/fetch-events/speed-kit-service-worker-js.spec.js +0 -41
  335. package/dist/services/onboarding/spec/request-cache/cache.spec.d.ts +0 -1
  336. package/dist/services/onboarding/spec/request-cache/cache.spec.js +0 -107
  337. package/dist/services/onboarding/spec/todo-collector.spec.d.ts +0 -1
  338. package/dist/services/onboarding/spec/todo-collector.spec.js +0 -136
  339. package/dist/services/onboarding/spec/virtual-orestes-app/virtual-orestes-app.spec.d.ts +0 -1
  340. package/dist/services/onboarding/spec/virtual-orestes-app/virtual-orestes-app.spec.js +0 -65
  341. package/dist/services/query-builder/rules/rule-match.d.ts +0 -35
  342. package/dist/services/query-builder/rules/rule-match.js +0 -70
  343. package/dist/services/query-builder/spec/rules/rule-match.spec.d.ts +0 -1
  344. package/dist/services/query-builder/spec/rules/rule-match.spec.js +0 -121
  345. package/dist/services/run-control/browser/run-browser-contexts.d.ts +0 -557
  346. package/dist/services/run-control/browser/run-browser-contexts.js +0 -91
  347. package/dist/services/run-control/browser/run-browser-service-factory.d.ts +0 -5
  348. package/dist/services/run-control/browser/run-browser-service-factory.js +0 -7
  349. package/dist/services/run-control/browser/run-browser-service.d.ts +0 -68
  350. package/dist/services/run-control/browser/run-browser-service.js +0 -206
  351. package/dist/services/run-control/cache/run-cache-contexts.d.ts +0 -349
  352. package/dist/services/run-control/cache/run-cache-contexts.js +0 -51
  353. package/dist/services/run-control/cache/run-cache-service-factory.d.ts +0 -6
  354. package/dist/services/run-control/cache/run-cache-service-factory.js +0 -12
  355. package/dist/services/run-control/cache/run-cache-service.d.ts +0 -35
  356. package/dist/services/run-control/cache/run-cache-service.js +0 -151
  357. package/dist/services/run-control/control-client.d.ts +0 -36
  358. package/dist/services/run-control/control-client.js +0 -147
  359. package/dist/services/run-control/debug/run-debug-contexts.d.ts +0 -416
  360. package/dist/services/run-control/debug/run-debug-contexts.js +0 -47
  361. package/dist/services/run-control/debug/run-debug-service-factory.d.ts +0 -5
  362. package/dist/services/run-control/debug/run-debug-service-factory.js +0 -7
  363. package/dist/services/run-control/debug/run-debug-service.d.ts +0 -39
  364. package/dist/services/run-control/debug/run-debug-service.js +0 -164
  365. package/dist/services/run-control/files/run-files-contexts.d.ts +0 -238
  366. package/dist/services/run-control/files/run-files-contexts.js +0 -26
  367. package/dist/services/run-control/files/run-files-service-factory.d.ts +0 -5
  368. package/dist/services/run-control/files/run-files-service-factory.js +0 -7
  369. package/dist/services/run-control/files/run-files-service.d.ts +0 -29
  370. package/dist/services/run-control/files/run-files-service.js +0 -120
  371. package/dist/services/run-control/index.d.ts +0 -32
  372. package/dist/services/run-control/index.js +0 -31
  373. package/dist/services/run-control/inject/run-inject-contexts.d.ts +0 -319
  374. package/dist/services/run-control/inject/run-inject-contexts.js +0 -38
  375. package/dist/services/run-control/inject/run-inject-service-factory.d.ts +0 -5
  376. package/dist/services/run-control/inject/run-inject-service-factory.js +0 -7
  377. package/dist/services/run-control/inject/run-inject-service.d.ts +0 -31
  378. package/dist/services/run-control/inject/run-inject-service.js +0 -227
  379. package/dist/services/run-control/live-run.d.ts +0 -37
  380. package/dist/services/run-control/live-run.js +0 -56
  381. package/dist/services/run-control/probe/run-probe-contexts.d.ts +0 -333
  382. package/dist/services/run-control/probe/run-probe-contexts.js +0 -73
  383. package/dist/services/run-control/probe/run-probe-service-factory.d.ts +0 -5
  384. package/dist/services/run-control/probe/run-probe-service-factory.js +0 -7
  385. package/dist/services/run-control/probe/run-probe-service.d.ts +0 -54
  386. package/dist/services/run-control/probe/run-probe-service.js +0 -194
  387. package/dist/services/run-control/rum/run-rum-contexts.d.ts +0 -216
  388. package/dist/services/run-control/rum/run-rum-contexts.js +0 -34
  389. package/dist/services/run-control/rum/run-rum-service-factory.d.ts +0 -5
  390. package/dist/services/run-control/rum/run-rum-service-factory.js +0 -7
  391. package/dist/services/run-control/rum/run-rum-service.d.ts +0 -36
  392. package/dist/services/run-control/rum/run-rum-service.js +0 -122
  393. package/dist/services/run-control/run-answer.d.ts +0 -28
  394. package/dist/services/run-control/run-answer.js +0 -58
  395. package/dist/services/run-control/run-control-context.d.ts +0 -102
  396. package/dist/services/run-control/run-control-context.js +0 -36
  397. package/dist/services/run-control/run-control-flags.d.ts +0 -12
  398. package/dist/services/run-control/run-control-flags.js +0 -22
  399. package/dist/services/run-control/run-control-model.d.ts +0 -9
  400. package/dist/services/run-control/run-control-model.js +0 -1
  401. package/dist/services/run-control/run-control-service-factory.d.ts +0 -14
  402. package/dist/services/run-control/run-control-service-factory.js +0 -26
  403. package/dist/services/run-control/session/run-session-contexts.d.ts +0 -25
  404. package/dist/services/run-control/session/run-session-contexts.js +0 -20
  405. package/dist/services/run-control/session/run-session-service-factory.d.ts +0 -8
  406. package/dist/services/run-control/session/run-session-service-factory.js +0 -18
  407. package/dist/services/run-control/session/run-session-service.d.ts +0 -32
  408. package/dist/services/run-control/session/run-session-service.js +0 -151
  409. package/dist/services/run-control/spec/browser/run-browser-service.spec.d.ts +0 -1
  410. package/dist/services/run-control/spec/browser/run-browser-service.spec.js +0 -328
  411. package/dist/services/run-control/spec/cache/run-cache-service.spec.d.ts +0 -1
  412. package/dist/services/run-control/spec/cache/run-cache-service.spec.js +0 -454
  413. package/dist/services/run-control/spec/debug/run-debug-service.spec.d.ts +0 -1
  414. package/dist/services/run-control/spec/debug/run-debug-service.spec.js +0 -113
  415. package/dist/services/run-control/spec/files/run-files-service.spec.d.ts +0 -1
  416. package/dist/services/run-control/spec/files/run-files-service.spec.js +0 -234
  417. package/dist/services/run-control/spec/inject/run-inject-service.spec.d.ts +0 -1
  418. package/dist/services/run-control/spec/inject/run-inject-service.spec.js +0 -251
  419. package/dist/services/run-control/spec/live-run-fixture.d.ts +0 -32
  420. package/dist/services/run-control/spec/live-run-fixture.js +0 -109
  421. package/dist/services/run-control/spec/probe/run-probe-service.spec.d.ts +0 -1
  422. package/dist/services/run-control/spec/probe/run-probe-service.spec.js +0 -108
  423. package/dist/services/run-control/spec/rum/run-rum-service.spec.d.ts +0 -1
  424. package/dist/services/run-control/spec/rum/run-rum-service.spec.js +0 -47
  425. package/dist/services/run-control/spec/run-answer.spec.d.ts +0 -1
  426. package/dist/services/run-control/spec/run-answer.spec.js +0 -57
  427. package/dist/services/run-control/spec/session/run-session-service.spec.d.ts +0 -1
  428. package/dist/services/run-control/spec/session/run-session-service.spec.js +0 -150
  429. package/dist/services/run-log/crash-mirror.d.ts +0 -31
  430. package/dist/services/run-log/crash-mirror.js +0 -69
  431. package/dist/services/run-log/index.d.ts +0 -11
  432. package/dist/services/run-log/index.js +0 -11
  433. package/dist/services/run-log/jsonl-appender.d.ts +0 -46
  434. package/dist/services/run-log/jsonl-appender.js +0 -91
  435. package/dist/services/run-log/log-event-model.d.ts +0 -104
  436. package/dist/services/run-log/log-event-model.js +0 -56
  437. package/dist/services/run-log/log-query-service-factory.d.ts +0 -11
  438. package/dist/services/run-log/log-query-service-factory.js +0 -14
  439. package/dist/services/run-log/log-query-service.d.ts +0 -59
  440. package/dist/services/run-log/log-query-service.js +0 -111
  441. package/dist/services/run-log/log-reader.d.ts +0 -84
  442. package/dist/services/run-log/log-reader.js +0 -180
  443. package/dist/services/run-log/log-summary.d.ts +0 -72
  444. package/dist/services/run-log/log-summary.js +0 -208
  445. package/dist/services/run-log/redaction.d.ts +0 -34
  446. package/dist/services/run-log/redaction.js +0 -124
  447. package/dist/services/run-log/request-log.d.ts +0 -82
  448. package/dist/services/run-log/request-log.js +0 -69
  449. package/dist/services/run-log/request-summary.d.ts +0 -76
  450. package/dist/services/run-log/request-summary.js +0 -0
  451. package/dist/services/run-log/run-log.d.ts +0 -61
  452. package/dist/services/run-log/run-log.js +0 -102
  453. package/dist/services/run-log/spec/log-query-service.spec.d.ts +0 -1
  454. package/dist/services/run-log/spec/log-query-service.spec.js +0 -197
  455. package/dist/services/run-log/spec/log-reader.spec.d.ts +0 -1
  456. package/dist/services/run-log/spec/log-reader.spec.js +0 -109
  457. package/dist/services/run-log/spec/log-summary.spec.d.ts +0 -1
  458. package/dist/services/run-log/spec/log-summary.spec.js +0 -153
  459. package/dist/services/run-log/spec/redaction.spec.d.ts +0 -1
  460. package/dist/services/run-log/spec/redaction.spec.js +0 -61
  461. package/dist/services/run-log/spec/request-log.spec.d.ts +0 -1
  462. package/dist/services/run-log/spec/request-log.spec.js +0 -101
  463. package/dist/services/run-log/spec/request-summary.spec.d.ts +0 -1
  464. package/dist/services/run-log/spec/request-summary.spec.js +0 -171
  465. package/dist/services/run-log/spec/run-log.spec.d.ts +0 -1
  466. package/dist/services/run-log/spec/run-log.spec.js +0 -122
  467. package/dist/services/run-registry/exit-classification.d.ts +0 -39
  468. package/dist/services/run-registry/exit-classification.js +0 -42
  469. package/dist/services/run-registry/index.d.ts +0 -3
  470. package/dist/services/run-registry/index.js +0 -3
  471. package/dist/services/run-registry/process-identity.d.ts +0 -28
  472. package/dist/services/run-registry/process-identity.js +0 -80
  473. package/dist/services/run-registry/run-registry-model.d.ts +0 -128
  474. package/dist/services/run-registry/run-registry-model.js +0 -16
  475. package/dist/services/run-registry/run-registry.d.ts +0 -155
  476. package/dist/services/run-registry/run-registry.js +0 -430
  477. package/dist/services/run-registry/spec/exit-classification.spec.d.ts +0 -1
  478. package/dist/services/run-registry/spec/exit-classification.spec.js +0 -82
  479. package/dist/services/run-registry/spec/run-registry.spec.d.ts +0 -1
  480. package/dist/services/run-registry/spec/run-registry.spec.js +0 -526
  481. /package/dist/{commands/spec/onboarding.spec.d.ts → services/bundler/spec/packjockel-service.spec.d.ts} +0 -0
  482. /package/dist/services/{cli/spec/build-identity.spec.d.ts → deploy/spec/handler/customer-config-handler.spec.d.ts} +0 -0
  483. /package/dist/services/{cli/spec/build-info.spec.d.ts → document-handler-runtime/spec/document-handler-browser-mock.spec.d.ts} +0 -0
  484. /package/dist/services/{cli/spec/cli-service-log.spec.d.ts → integration-api/spec/customer-config-file.spec.d.ts} +0 -0
  485. /package/dist/services/{diff/spec/config-at-ref.spec.d.ts → onboarding/spec/file-events/file-watcher.spec.d.ts} +0 -0
@@ -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, 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",
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",
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,9 +409,7 @@
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",
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"
412
+ "$ sk diff customers/decathlon.de \"https://www.decathlon.de/?sort=price\" --variations mobile --params"
415
413
  ],
416
414
  "flags": {
417
415
  "configName": {
@@ -440,26 +438,12 @@
440
438
  "type": "option"
441
439
  },
442
440
  "variation": {
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",
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",
444
442
  "name": "variation",
445
443
  "hasDynamicHelp": false,
446
444
  "multiple": false,
447
445
  "type": "option"
448
446
  },
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
- },
463
447
  "baseline": {
464
448
  "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",
465
449
  "name": "baseline",
@@ -526,16 +510,6 @@
526
510
  "multiple": false,
527
511
  "type": "option"
528
512
  },
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
- },
539
513
  "hideDiff": {
540
514
  "char": "h",
541
515
  "deprecated": {
@@ -783,24 +757,9 @@
783
757
  "description": "Login to your app",
784
758
  "examples": [
785
759
  "$ sk login <app>",
786
- "$ sk login appName",
787
- "$ sk login appName --auth google"
760
+ "$ sk login appName"
788
761
  ],
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
- },
762
+ "flags": {},
804
763
  "hasDynamicHelp": false,
805
764
  "hiddenAliases": [],
806
765
  "id": "login",
@@ -829,7 +788,7 @@
829
788
  "examples": [
830
789
  "$ sk onboarding <customerPath> -c <configName> -d <domain>",
831
790
  "$ sk onboarding customers/decathlon.de -c production -d www.decathlon.de",
832
- "$ sk onboarding --browse -d www.decathlon.de --headless",
791
+ "$ sk onboarding --browse -d www.decathlon.de --headless --debugPort 9290",
833
792
  "$ sk onboarding customers/decathlon.de --browse -p",
834
793
  "$ sk onboarding customers/decathlon.de -p --device tablet",
835
794
  "$ sk onboarding customers/decathlon.de --inject",
@@ -880,7 +839,7 @@
880
839
  "type": "boolean"
881
840
  },
882
841
  "debugPort": {
883
- "description": "Chrome remote debugging port (only used with -p). Use distinct ports to run multiple onboarding processes with -p at once.",
842
+ "description": "Chrome remote debugging port (only used with -p/--headless). Use distinct ports to run multiple onboarding processes at once.",
884
843
  "name": "debugPort",
885
844
  "default": 9222,
886
845
  "hasDynamicHelp": false,
@@ -894,12 +853,6 @@
894
853
  "allowNo": false,
895
854
  "type": "boolean"
896
855
  },
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
- },
903
856
  "ignoreContentSecurityPolicy": {
904
857
  "char": "s",
905
858
  "description": "Removes header/meta \"content-security-policy\" for origin-responses",
@@ -1045,20 +998,6 @@
1045
998
  "multiple": false,
1046
999
  "type": "option"
1047
1000
  },
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
- },
1062
1001
  "json": {
1063
1002
  "description": "Machine-readable output",
1064
1003
  "name": "json",
@@ -1699,125 +1638,111 @@
1699
1638
  "update.js"
1700
1639
  ]
1701
1640
  },
1702
- "onboarding:cdp": {
1703
- "aliases": [],
1641
+ "query:parameter": {
1642
+ "aliases": [
1643
+ "build-parameter-query"
1644
+ ],
1704
1645
  "args": {
1705
- "method": {
1706
- "description": "A CDP method, e.g. DOM.getDocument or Network.getCookies",
1707
- "name": "method",
1646
+ "customerPath": {
1647
+ "description": "The customer config path",
1648
+ "name": "customerPath",
1708
1649
  "required": true
1709
- },
1710
- "params": {
1711
- "description": "Its parameters, as a JSON object. Or --file",
1712
- "name": "params",
1713
- "required": false
1714
1650
  }
1715
1651
  },
1716
- "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",
1652
+ "deprecateAliases": true,
1653
+ "description": "Build a parameter query that can be executed in Athena",
1717
1654
  "examples": [
1718
- "$ sk onboarding cdp Network.getCookies",
1719
- "$ sk onboarding cdp DOM.getDocument '{\"depth\": 2}'",
1720
- "$ sk onboarding cdp Emulation.setCPUThrottlingRate '{\"rate\": 4}' --tab 1",
1721
- "$ sk onboarding cdp Page.printToPDF --file params.json --json"
1655
+ "$ sk query parameter <customerPath> -c <configName>",
1656
+ "$ sk query parameter customers/decathlon.de -c production",
1657
+ "$ sk query parameter customers/decathlon.de --explain"
1722
1658
  ],
1723
1659
  "flags": {
1724
- "run": {
1725
- "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
1726
- "name": "run",
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",
1727
1666
  "hasDynamicHelp": false,
1728
1667
  "multiple": false,
1729
1668
  "type": "option"
1730
1669
  },
1731
- "json": {
1732
- "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
1733
- "name": "json",
1734
- "allowNo": false,
1735
- "type": "boolean"
1736
- },
1737
- "timeout": {
1738
- "description": "How long to wait for the run to answer, in ms. The default suits the op",
1739
- "name": "timeout",
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,
1740
1675
  "hasDynamicHelp": false,
1741
1676
  "multiple": false,
1742
1677
  "type": "option"
1743
1678
  },
1744
- "file": {
1745
- "char": "f",
1746
- "description": "Read the parameters from this JSON file instead",
1747
- "name": "file",
1679
+ "configName": {
1680
+ "char": "c",
1681
+ "description": "The costumer config name",
1682
+ "name": "configName",
1683
+ "required": false,
1684
+ "default": "production",
1748
1685
  "hasDynamicHelp": false,
1749
1686
  "multiple": false,
1750
1687
  "type": "option"
1751
1688
  },
1752
- "tab": {
1753
- "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
1754
- "name": "tab",
1755
- "hasDynamicHelp": false,
1756
- "multiple": false,
1757
- "type": "option"
1758
- }
1759
- },
1760
- "hasDynamicHelp": false,
1761
- "hiddenAliases": [],
1762
- "id": "onboarding:cdp",
1763
- "pluginAlias": "@speedkit/cli",
1764
- "pluginName": "@speedkit/cli",
1765
- "pluginType": "core",
1766
- "strict": true,
1767
- "isESM": true,
1768
- "relativePath": [
1769
- "dist",
1770
- "commands",
1771
- "onboarding",
1772
- "cdp.js"
1773
- ]
1774
- },
1775
- "onboarding:fouc": {
1776
- "aliases": [],
1777
- "args": {},
1778
- "description": "Reload and sample the load to catch a flash of unstyled content",
1779
- "examples": [
1780
- "$ sk onboarding fouc",
1781
- "$ sk onboarding fouc --selector .hero"
1782
- ],
1783
- "flags": {
1784
- "run": {
1785
- "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
1786
- "name": "run",
1689
+ "days": {
1690
+ "char": "d",
1691
+ "description": "Number of days the query looks back",
1692
+ "name": "days",
1693
+ "required": false,
1787
1694
  "hasDynamicHelp": false,
1788
1695
  "multiple": false,
1789
1696
  "type": "option"
1790
1697
  },
1791
- "json": {
1792
- "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
1793
- "name": "json",
1698
+ "excludeNoindex": {
1699
+ "description": "Exclude page impressions of pages marked noindex",
1700
+ "name": "excludeNoindex",
1794
1701
  "allowNo": false,
1795
1702
  "type": "boolean"
1796
1703
  },
1797
- "timeout": {
1798
- "description": "How long to wait for the run to answer, in ms. The default suits the op",
1799
- "name": "timeout",
1800
- "hasDynamicHelp": false,
1801
- "multiple": false,
1802
- "type": "option"
1704
+ "excludeSuspicious": {
1705
+ "description": "Exclude page impressions Speed Kit classified as suspicious",
1706
+ "name": "excludeSuspicious",
1707
+ "allowNo": false,
1708
+ "type": "boolean"
1803
1709
  },
1804
- "selector": {
1805
- "description": "The element whose styling decides whether the paint was styled, e.g. a hero. Default the body",
1806
- "name": "selector",
1807
- "hasDynamicHelp": false,
1808
- "multiple": false,
1809
- "type": "option"
1710
+ "explain": {
1711
+ "description": "Account for every rule the query leaves out, reduces or approximates",
1712
+ "name": "explain",
1713
+ "allowNo": false,
1714
+ "type": "boolean"
1810
1715
  },
1811
- "duration": {
1812
- "description": "How long to sample after the reload, in ms. Default 8000",
1813
- "name": "duration",
1814
- "hasDynamicHelp": false,
1815
- "multiple": false,
1816
- "type": "option"
1716
+ "hardNavigationsOnly": {
1717
+ "description": "Exclude soft (SPA) navigations",
1718
+ "name": "hardNavigationsOnly",
1719
+ "allowNo": false,
1720
+ "type": "boolean"
1721
+ },
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",
1726
+ "allowNo": false,
1727
+ "type": "boolean"
1728
+ },
1729
+ "quiet": {
1730
+ "char": "q",
1731
+ "description": "Output only the raw query without clipboard copy or styling",
1732
+ "name": "quiet",
1733
+ "allowNo": false,
1734
+ "type": "boolean"
1817
1735
  },
1818
- "tab": {
1819
- "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
1820
- "name": "tab",
1736
+ "bySet": {
1737
+ "description": "Rank whole sets of parameters instead of single parameters, to see which ones travel together",
1738
+ "name": "bySet",
1739
+ "allowNo": false,
1740
+ "type": "boolean"
1741
+ },
1742
+ "minImpressions": {
1743
+ "description": "Leave out parameters seen on fewer page impressions than this",
1744
+ "name": "minImpressions",
1745
+ "required": false,
1821
1746
  "hasDynamicHelp": false,
1822
1747
  "multiple": false,
1823
1748
  "type": "option"
@@ -1825,3414 +1750,368 @@
1825
1750
  },
1826
1751
  "hasDynamicHelp": false,
1827
1752
  "hiddenAliases": [],
1828
- "id": "onboarding:fouc",
1753
+ "id": "query:parameter",
1829
1754
  "pluginAlias": "@speedkit/cli",
1830
1755
  "pluginName": "@speedkit/cli",
1831
1756
  "pluginType": "core",
1832
1757
  "strict": true,
1758
+ "enableJsonFlag": false,
1833
1759
  "isESM": true,
1834
1760
  "relativePath": [
1835
1761
  "dist",
1836
1762
  "commands",
1837
- "onboarding",
1838
- "fouc.js"
1763
+ "query",
1764
+ "parameter.js"
1839
1765
  ]
1840
1766
  },
1841
- "onboarding:list": {
1842
- "aliases": [],
1843
- "args": {},
1844
- "description": "List the onboarding runs on this machine, live and finished",
1845
- "examples": [
1846
- "$ sk onboarding list"
1767
+ "query:prewarm": {
1768
+ "aliases": [
1769
+ "build-prewarm-query"
1847
1770
  ],
1848
- "flags": {
1849
- "run": {
1850
- "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
1851
- "name": "run",
1852
- "hasDynamicHelp": false,
1853
- "multiple": false,
1854
- "type": "option"
1855
- },
1856
- "json": {
1857
- "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
1858
- "name": "json",
1859
- "allowNo": false,
1860
- "type": "boolean"
1861
- }
1862
- },
1863
- "hasDynamicHelp": false,
1864
- "hiddenAliases": [],
1865
- "id": "onboarding:list",
1866
- "pluginAlias": "@speedkit/cli",
1867
- "pluginName": "@speedkit/cli",
1868
- "pluginType": "core",
1869
- "strict": true,
1870
- "isESM": true,
1871
- "relativePath": [
1872
- "dist",
1873
- "commands",
1874
- "onboarding",
1875
- "list.js"
1876
- ]
1877
- },
1878
- "onboarding:logs": {
1879
- "aliases": [],
1880
1771
  "args": {
1881
- "run": {
1882
- "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
1883
- "name": "run",
1884
- "required": false
1772
+ "customerPath": {
1773
+ "description": "The customer config path",
1774
+ "name": "customerPath",
1775
+ "required": true
1885
1776
  }
1886
1777
  },
1887
- "description": "Read what an onboarding run did, live or long after it ended",
1778
+ "deprecateAliases": true,
1779
+ "description": "Build a prewarm query that can be executed in Athena",
1888
1780
  "examples": [
1889
- "$ sk onboarding logs",
1890
- "$ sk onboarding logs --list",
1891
- "$ sk onboarding logs decathlon.de --summary",
1892
- "$ sk onboarding logs --run decathlon.de --level warn --json",
1893
- "$ sk onboarding logs --level warn --since 10m",
1894
- "$ sk onboarding logs --scope sw,fetch --url /checkout",
1895
- "$ sk onboarding logs --follow",
1896
- "$ sk onboarding logs --requests --outcome continued --url /checkout"
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"
1897
1788
  ],
1898
1789
  "flags": {
1899
- "run": {
1900
- "description": "Which run, as every other `sk onboarding <tool> <op>` names it; the same as the argument",
1901
- "exclusive": [
1902
- "list"
1903
- ],
1904
- "name": "run",
1905
- "hasDynamicHelp": false,
1906
- "multiple": false,
1907
- "type": "option"
1908
- },
1909
- "list": {
1910
- "description": "List the recorded runs instead of reading one",
1911
- "name": "list",
1912
- "allowNo": false,
1913
- "type": "boolean"
1914
- },
1915
- "since": {
1916
- "description": "Only lines after this: a span like 5m, 2h, 1d, or an ISO timestamp",
1917
- "name": "since",
1918
- "hasDynamicHelp": false,
1919
- "multiple": false,
1920
- "type": "option"
1921
- },
1922
- "until": {
1923
- "description": "Only lines before this. Same formats as --since",
1924
- "name": "until",
1925
- "hasDynamicHelp": false,
1926
- "multiple": false,
1927
- "type": "option"
1928
- },
1929
- "sinceSeq": {
1930
- "description": "Only lines after this sequence number — the cursor a previous read reported",
1931
- "name": "sinceSeq",
1932
- "hasDynamicHelp": false,
1933
- "multiple": false,
1934
- "type": "option"
1935
- },
1936
- "level": {
1937
- "description": "This level and above: debug, info, success, warn, error",
1938
- "name": "level",
1939
- "hasDynamicHelp": false,
1940
- "multiple": false,
1941
- "type": "option"
1942
- },
1943
- "scope": {
1944
- "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)",
1945
- "name": "scope",
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",
1946
1796
  "hasDynamicHelp": false,
1947
1797
  "multiple": false,
1948
1798
  "type": "option"
1949
1799
  },
1950
- "grep": {
1951
- "description": "Only lines whose message matches this regex (case-insensitive)",
1952
- "name": "grep",
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,
1953
1805
  "hasDynamicHelp": false,
1954
1806
  "multiple": false,
1955
1807
  "type": "option"
1956
1808
  },
1957
- "url": {
1958
- "description": "Only lines mentioning this url, in the message or in the data",
1959
- "name": "url",
1809
+ "configName": {
1810
+ "char": "c",
1811
+ "description": "The costumer config name",
1812
+ "name": "configName",
1813
+ "required": false,
1814
+ "default": "production",
1960
1815
  "hasDynamicHelp": false,
1961
1816
  "multiple": false,
1962
1817
  "type": "option"
1963
1818
  },
1964
- "tail": {
1965
- "description": "Only the last n matching lines",
1966
- "name": "tail",
1819
+ "days": {
1820
+ "char": "d",
1821
+ "description": "Number of days the query looks back",
1822
+ "name": "days",
1823
+ "required": false,
1967
1824
  "hasDynamicHelp": false,
1968
1825
  "multiple": false,
1969
1826
  "type": "option"
1970
1827
  },
1971
- "follow": {
1972
- "char": "f",
1973
- "description": "Keep reading as the run writes. Ctrl+C to stop",
1974
- "name": "follow",
1828
+ "excludeNoindex": {
1829
+ "description": "Exclude page impressions of pages marked noindex",
1830
+ "name": "excludeNoindex",
1975
1831
  "allowNo": false,
1976
1832
  "type": "boolean"
1977
1833
  },
1978
- "requests": {
1979
- "description": "Read the intercepted requests instead of the narration: what the CLI served, aborted or handed straight to Chrome",
1980
- "name": "requests",
1834
+ "excludeSuspicious": {
1835
+ "description": "Exclude page impressions Speed Kit classified as suspicious",
1836
+ "name": "excludeSuspicious",
1981
1837
  "allowNo": false,
1982
1838
  "type": "boolean"
1983
1839
  },
1984
- "outcome": {
1985
- "description": "With --requests: only fulfilled, failed, continued, error or cancelled",
1986
- "name": "outcome",
1987
- "hasDynamicHelp": false,
1988
- "multiple": false,
1989
- "options": [
1990
- "fulfilled",
1991
- "failed",
1992
- "continued",
1993
- "error",
1994
- "cancelled"
1995
- ],
1996
- "type": "option"
1997
- },
1998
- "handler": {
1999
- "description": "With --requests: only the requests this handler answered",
2000
- "name": "handler",
2001
- "hasDynamicHelp": false,
2002
- "multiple": false,
2003
- "type": "option"
1840
+ "explain": {
1841
+ "description": "Account for every rule the query leaves out, reduces or approximates",
1842
+ "name": "explain",
1843
+ "allowNo": false,
1844
+ "type": "boolean"
2004
1845
  },
2005
- "summary": {
2006
- "description": "One screen for the whole run: counts, deduplicated problems, failed actions, questions asked",
2007
- "name": "summary",
1846
+ "hardNavigationsOnly": {
1847
+ "description": "Exclude soft (SPA) navigations",
1848
+ "name": "hardNavigationsOnly",
2008
1849
  "allowNo": false,
2009
1850
  "type": "boolean"
2010
1851
  },
2011
- "json": {
2012
- "description": "Raw events, one JSON object per line, to stdout",
2013
- "name": "json",
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",
2014
1856
  "allowNo": false,
2015
1857
  "type": "boolean"
2016
- }
2017
- },
2018
- "hasDynamicHelp": false,
2019
- "hiddenAliases": [],
2020
- "id": "onboarding:logs",
2021
- "pluginAlias": "@speedkit/cli",
2022
- "pluginName": "@speedkit/cli",
2023
- "pluginType": "core",
2024
- "strict": true,
2025
- "enableJsonFlag": false,
2026
- "isESM": true,
2027
- "relativePath": [
2028
- "dist",
2029
- "commands",
2030
- "onboarding",
2031
- "logs.js"
2032
- ]
2033
- },
2034
- "onboarding:navwalk": {
2035
- "aliases": [],
2036
- "args": {},
2037
- "description": "Click into a login or checkout flow and list every same-origin document hop: the disabledScopes candidates",
2038
- "examples": [
2039
- "$ sk onboarding navwalk",
2040
- "$ sk onboarding navwalk --flow checkout",
2041
- "$ sk onboarding navwalk --click Anmelden"
2042
- ],
2043
- "flags": {
2044
- "run": {
2045
- "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
2046
- "name": "run",
2047
- "hasDynamicHelp": false,
2048
- "multiple": false,
2049
- "type": "option"
2050
1858
  },
2051
- "json": {
2052
- "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
2053
- "name": "json",
1859
+ "quiet": {
1860
+ "char": "q",
1861
+ "description": "Output only the raw query without clipboard copy or styling",
1862
+ "name": "quiet",
2054
1863
  "allowNo": false,
2055
1864
  "type": "boolean"
2056
1865
  },
2057
- "timeout": {
2058
- "description": "How long to wait for the run to answer, in ms. The default suits the op",
2059
- "name": "timeout",
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": ",",
2060
1874
  "hasDynamicHelp": false,
2061
- "multiple": false,
1875
+ "multiple": true,
1876
+ "options": [
1877
+ "desktop",
1878
+ "mobile",
1879
+ "tablet"
1880
+ ],
2062
1881
  "type": "option"
2063
1882
  },
2064
- "flow": {
2065
- "description": "The built-in trigger; checkout starts at /cart. Default login when no --click is given",
2066
- "name": "flow",
2067
- "hasDynamicHelp": false,
2068
- "multiple": false,
2069
- "options": [
2070
- "login",
2071
- "checkout"
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'",
1886
+ "exclusive": [
1887
+ "device"
2072
1888
  ],
1889
+ "name": "variation",
1890
+ "required": false,
1891
+ "delimiter": ",",
1892
+ "hasDynamicHelp": false,
1893
+ "multiple": true,
2073
1894
  "type": "option"
2074
1895
  },
2075
- "click": {
2076
- "description": "The control to click: a CSS selector, or text matched against links and buttons",
2077
- "name": "click",
1896
+ "excludeNotFound": {
1897
+ "description": "Leave out urls the origin answers with a 404 more often than not",
1898
+ "name": "excludeNotFound",
1899
+ "allowNo": false,
1900
+ "type": "boolean"
1901
+ },
1902
+ "limit": {
1903
+ "description": "Keep only the most requested urls",
1904
+ "name": "limit",
1905
+ "required": false,
2078
1906
  "hasDynamicHelp": false,
2079
1907
  "multiple": false,
2080
1908
  "type": "option"
2081
1909
  },
2082
- "url": {
2083
- "description": "Navigate here first, so the walk starts somewhere known",
2084
- "name": "url",
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,
2085
1914
  "hasDynamicHelp": false,
2086
- "multiple": false,
1915
+ "multiple": true,
2087
1916
  "type": "option"
2088
1917
  },
2089
- "wait": {
2090
- "description": "How long to collect after the click, in ms. Default 9000",
2091
- "name": "wait",
1918
+ "minHits": {
1919
+ "description": "Keep only urls requested at least this often in the window",
1920
+ "name": "minHits",
1921
+ "required": false,
2092
1922
  "hasDynamicHelp": false,
2093
1923
  "multiple": false,
2094
1924
  "type": "option"
2095
1925
  },
2096
- "all": {
2097
- "description": "Walk both built-in flows, login then checkout, and report them together",
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",
2098
1928
  "exclusive": [
2099
- "flow",
2100
- "click"
1929
+ "execute"
2101
1930
  ],
2102
- "name": "all",
1931
+ "name": "count",
2103
1932
  "allowNo": false,
2104
1933
  "type": "boolean"
2105
- },
2106
- "tab": {
2107
- "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
2108
- "name": "tab",
2109
- "hasDynamicHelp": false,
2110
- "multiple": false,
2111
- "type": "option"
2112
1934
  }
2113
1935
  },
2114
1936
  "hasDynamicHelp": false,
2115
1937
  "hiddenAliases": [],
2116
- "id": "onboarding:navwalk",
1938
+ "id": "query:prewarm",
2117
1939
  "pluginAlias": "@speedkit/cli",
2118
1940
  "pluginName": "@speedkit/cli",
2119
1941
  "pluginType": "core",
2120
1942
  "strict": true,
1943
+ "enableJsonFlag": false,
2121
1944
  "isESM": true,
2122
1945
  "relativePath": [
2123
1946
  "dist",
2124
1947
  "commands",
2125
- "onboarding",
2126
- "navwalk.js"
1948
+ "query",
1949
+ "prewarm.js"
2127
1950
  ]
2128
1951
  },
2129
- "onboarding:response": {
1952
+ "revalidate:jobs": {
2130
1953
  "aliases": [],
2131
1954
  "args": {
2132
- "url": {
2133
- "description": "Absolute, or relative to the customer origin. Omitted means the page the run is on",
2134
- "name": "url",
1955
+ "app": {
1956
+ "description": "The customer app name",
1957
+ "name": "app",
1958
+ "required": true
1959
+ },
1960
+ "revId": {
1961
+ "description": "Show this job in full instead of the list.",
1962
+ "name": "revId",
2135
1963
  "required": false
2136
1964
  }
2137
1965
  },
2138
- "description": "Why a url came back the way it did: the rule verdict, the cache entry and what Speed Kit reported",
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.",
2139
1967
  "examples": [
2140
- "$ sk onboarding response",
2141
- "$ sk onboarding response /checkout"
1968
+ "$ sk revalidate jobs example-shop",
1969
+ "$ sk revalidate jobs example-shop --state SCHEDULED --state CANCELLED",
1970
+ "$ sk revalidate jobs example-shop <revId>"
2142
1971
  ],
2143
1972
  "flags": {
2144
- "run": {
2145
- "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
2146
- "name": "run",
2147
- "hasDynamicHelp": false,
2148
- "multiple": false,
2149
- "type": "option"
2150
- },
2151
- "json": {
2152
- "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
2153
- "name": "json",
2154
- "allowNo": false,
2155
- "type": "boolean"
2156
- },
2157
- "timeout": {
2158
- "description": "How long to wait for the run to answer, in ms. The default suits the op",
2159
- "name": "timeout",
2160
- "hasDynamicHelp": false,
2161
- "multiple": false,
2162
- "type": "option"
2163
- },
2164
- "tab": {
2165
- "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
2166
- "name": "tab",
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
+ ],
2167
1982
  "hasDynamicHelp": false,
2168
- "multiple": false,
1983
+ "multiple": true,
1984
+ "options": [
1985
+ "CREATED",
1986
+ "SCHEDULED",
1987
+ "DEFERRED",
1988
+ "RUNNING",
1989
+ "FINISHED",
1990
+ "ERROR",
1991
+ "CANCELLED"
1992
+ ],
2169
1993
  "type": "option"
2170
1994
  }
2171
1995
  },
2172
1996
  "hasDynamicHelp": false,
2173
1997
  "hiddenAliases": [],
2174
- "id": "onboarding:response",
1998
+ "id": "revalidate:jobs",
2175
1999
  "pluginAlias": "@speedkit/cli",
2176
2000
  "pluginName": "@speedkit/cli",
2177
2001
  "pluginType": "core",
2178
2002
  "strict": true,
2003
+ "enableJsonFlag": false,
2179
2004
  "isESM": true,
2180
2005
  "relativePath": [
2181
2006
  "dist",
2182
2007
  "commands",
2183
- "onboarding",
2184
- "response.js"
2008
+ "revalidate",
2009
+ "jobs.js"
2185
2010
  ]
2186
2011
  },
2187
- "onboarding:status": {
2012
+ "revalidate:start": {
2188
2013
  "aliases": [],
2189
- "args": {},
2190
- "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",
2014
+ "args": {
2015
+ "app": {
2016
+ "description": "The customer app name",
2017
+ "name": "app",
2018
+ "required": true
2019
+ },
2020
+ "revId": {
2021
+ "description": "The scheduled job to start now.",
2022
+ "name": "revId",
2023
+ "required": true
2024
+ }
2025
+ },
2026
+ "description": "Start a scheduled revalidation job now instead of after its wait.",
2191
2027
  "examples": [
2192
- "$ sk onboarding status",
2193
- "$ sk onboarding status --run decathlon.de --json"
2028
+ "$ sk revalidate start example-shop <revId>",
2029
+ "$ sk revalidate start example-shop <revId> --wait"
2194
2030
  ],
2195
2031
  "flags": {
2196
- "run": {
2197
- "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
2198
- "name": "run",
2199
- "hasDynamicHelp": false,
2200
- "multiple": false,
2201
- "type": "option"
2202
- },
2203
- "json": {
2204
- "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
2205
- "name": "json",
2032
+ "wait": {
2033
+ "description": "Wait until the job ends.",
2034
+ "name": "wait",
2206
2035
  "allowNo": false,
2207
2036
  "type": "boolean"
2208
2037
  }
2209
2038
  },
2210
2039
  "hasDynamicHelp": false,
2211
2040
  "hiddenAliases": [],
2212
- "id": "onboarding:status",
2041
+ "id": "revalidate:start",
2213
2042
  "pluginAlias": "@speedkit/cli",
2214
2043
  "pluginName": "@speedkit/cli",
2215
2044
  "pluginType": "core",
2216
2045
  "strict": true,
2046
+ "enableJsonFlag": false,
2217
2047
  "isESM": true,
2218
2048
  "relativePath": [
2219
2049
  "dist",
2220
2050
  "commands",
2221
- "onboarding",
2222
- "status.js"
2051
+ "revalidate",
2052
+ "start.js"
2223
2053
  ]
2224
2054
  },
2225
- "onboarding:stop": {
2055
+ "revalidate:unblock": {
2226
2056
  "aliases": [],
2227
- "args": {},
2228
- "description": "End the live onboarding run, or the one --run names, as Ctrl+C does",
2229
- "examples": [
2230
- "$ sk onboarding stop",
2231
- "$ sk onboarding stop --run worktree/my-task/customers/decathlon.de --json"
2232
- ],
2233
- "flags": {
2234
- "run": {
2235
- "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
2236
- "name": "run",
2237
- "hasDynamicHelp": false,
2238
- "multiple": false,
2239
- "type": "option"
2240
- },
2241
- "json": {
2242
- "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
2243
- "name": "json",
2244
- "allowNo": false,
2245
- "type": "boolean"
2057
+ "args": {
2058
+ "app": {
2059
+ "description": "The customer app name",
2060
+ "name": "app",
2061
+ "required": true
2246
2062
  }
2247
2063
  },
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`.",
2065
+ "examples": [
2066
+ "$ sk revalidate unblock example-shop"
2067
+ ],
2068
+ "flags": {},
2248
2069
  "hasDynamicHelp": false,
2249
2070
  "hiddenAliases": [],
2250
- "id": "onboarding:stop",
2071
+ "id": "revalidate:unblock",
2251
2072
  "pluginAlias": "@speedkit/cli",
2252
2073
  "pluginName": "@speedkit/cli",
2253
2074
  "pluginType": "core",
2254
2075
  "strict": true,
2076
+ "enableJsonFlag": false,
2255
2077
  "isESM": true,
2256
2078
  "relativePath": [
2257
2079
  "dist",
2258
2080
  "commands",
2259
- "onboarding",
2260
- "stop.js"
2081
+ "revalidate",
2082
+ "unblock.js"
2261
2083
  ]
2262
2084
  },
2263
- "onboarding:todo": {
2085
+ "revalidate:wait": {
2264
2086
  "aliases": [],
2265
- "args": {},
2266
- "description": "List the TODOs left in the config files of a live run, with the file and line to open",
2267
- "examples": [
2268
- "$ sk onboarding todo"
2269
- ],
2270
- "flags": {
2271
- "run": {
2272
- "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
2273
- "name": "run",
2274
- "hasDynamicHelp": false,
2275
- "multiple": false,
2276
- "type": "option"
2277
- },
2278
- "json": {
2279
- "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
2280
- "name": "json",
2281
- "allowNo": false,
2282
- "type": "boolean"
2283
- },
2284
- "timeout": {
2285
- "description": "How long to wait for the run to answer, in ms. The default suits the op",
2286
- "name": "timeout",
2287
- "hasDynamicHelp": false,
2288
- "multiple": false,
2289
- "type": "option"
2087
+ "args": {
2088
+ "app": {
2089
+ "description": "The customer app name",
2090
+ "name": "app",
2091
+ "required": true
2290
2092
  }
2291
2093
  },
2094
+ "description": "Wait until no deployment job of an app blocks the HTML. It starts nothing.",
2095
+ "examples": [
2096
+ "$ sk revalidate wait example-shop"
2097
+ ],
2098
+ "flags": {},
2292
2099
  "hasDynamicHelp": false,
2293
2100
  "hiddenAliases": [],
2294
- "id": "onboarding:todo",
2101
+ "id": "revalidate:wait",
2295
2102
  "pluginAlias": "@speedkit/cli",
2296
2103
  "pluginName": "@speedkit/cli",
2297
2104
  "pluginType": "core",
2298
2105
  "strict": true,
2106
+ "enableJsonFlag": false,
2299
2107
  "isESM": true,
2300
2108
  "relativePath": [
2301
2109
  "dist",
2302
2110
  "commands",
2303
- "onboarding",
2304
- "todo.js"
2305
- ]
2306
- },
2307
- "onboarding:viewport": {
2308
- "aliases": [],
2309
- "args": {},
2310
- "description": "Sweep the viewport to find the widths where the page's JavaScript re-renders: what a device variation has to cover",
2311
- "examples": [
2312
- "$ sk onboarding viewport",
2313
- "$ sk onboarding viewport --min 700 --max 1100 --step 10"
2314
- ],
2315
- "flags": {
2316
- "run": {
2317
- "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
2318
- "name": "run",
2319
- "hasDynamicHelp": false,
2320
- "multiple": false,
2321
- "type": "option"
2322
- },
2323
- "json": {
2324
- "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
2325
- "name": "json",
2326
- "allowNo": false,
2327
- "type": "boolean"
2328
- },
2329
- "timeout": {
2330
- "description": "How long to wait for the run to answer, in ms. The default suits the op",
2331
- "name": "timeout",
2332
- "hasDynamicHelp": false,
2333
- "multiple": false,
2334
- "type": "option"
2335
- },
2336
- "min": {
2337
- "description": "Narrowest width. Default 360",
2338
- "name": "min",
2339
- "hasDynamicHelp": false,
2340
- "multiple": false,
2341
- "type": "option"
2342
- },
2343
- "max": {
2344
- "description": "Widest width. Default 1600",
2345
- "name": "max",
2346
- "hasDynamicHelp": false,
2347
- "multiple": false,
2348
- "type": "option"
2349
- },
2350
- "step": {
2351
- "description": "Coarse increment before pinning to the pixel. Default 20; lower it for breakpoints close together",
2352
- "name": "step",
2353
- "hasDynamicHelp": false,
2354
- "multiple": false,
2355
- "type": "option"
2356
- },
2357
- "settle": {
2358
- "description": "How long the page gets to react to each resize, in ms. Default 350",
2359
- "name": "settle",
2360
- "hasDynamicHelp": false,
2361
- "multiple": false,
2362
- "type": "option"
2363
- },
2364
- "height": {
2365
- "description": "Viewport height. Default 900",
2366
- "name": "height",
2367
- "hasDynamicHelp": false,
2368
- "multiple": false,
2369
- "type": "option"
2370
- },
2371
- "url": {
2372
- "description": "Navigate here first, so the sweep is of a known page",
2373
- "name": "url",
2374
- "hasDynamicHelp": false,
2375
- "multiple": false,
2376
- "type": "option"
2377
- },
2378
- "tab": {
2379
- "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
2380
- "name": "tab",
2381
- "hasDynamicHelp": false,
2382
- "multiple": false,
2383
- "type": "option"
2384
- }
2385
- },
2386
- "hasDynamicHelp": false,
2387
- "hiddenAliases": [],
2388
- "id": "onboarding:viewport",
2389
- "pluginAlias": "@speedkit/cli",
2390
- "pluginName": "@speedkit/cli",
2391
- "pluginType": "core",
2392
- "strict": true,
2393
- "isESM": true,
2394
- "relativePath": [
2395
- "dist",
2396
- "commands",
2397
- "onboarding",
2398
- "viewport.js"
2399
- ]
2400
- },
2401
- "onboarding:watch": {
2402
- "aliases": [],
2403
- "args": {
2404
- "expression": {
2405
- "description": "JavaScript returning a JSON-able value, evaluated every tick, e.g. '!!window.SpeedKit'",
2406
- "name": "expression",
2407
- "required": true
2408
- }
2409
- },
2410
- "description": "Sample an expression in the page across a load, with the console messages beside it",
2411
- "examples": [
2412
- "$ sk onboarding watch '!!window.SpeedKit' --reload",
2413
- "$ sk onboarding watch 'document.title' --reload --duration 30000"
2414
- ],
2415
- "flags": {
2416
- "run": {
2417
- "description": "Which run: its id, its customer name, or the path it was started with. Omit when exactly one run is live.",
2418
- "name": "run",
2419
- "hasDynamicHelp": false,
2420
- "multiple": false,
2421
- "type": "option"
2422
- },
2423
- "json": {
2424
- "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
2425
- "name": "json",
2426
- "allowNo": false,
2427
- "type": "boolean"
2428
- },
2429
- "timeout": {
2430
- "description": "How long to wait for the run to answer, in ms. The default suits the op",
2431
- "name": "timeout",
2432
- "hasDynamicHelp": false,
2433
- "multiple": false,
2434
- "type": "option"
2435
- },
2436
- "interval": {
2437
- "description": "Milliseconds between samples. Default 200",
2438
- "name": "interval",
2439
- "hasDynamicHelp": false,
2440
- "multiple": false,
2441
- "type": "option"
2442
- },
2443
- "duration": {
2444
- "description": "How long to watch, in ms. Default 15000, at most 120000",
2445
- "name": "duration",
2446
- "hasDynamicHelp": false,
2447
- "multiple": false,
2448
- "type": "option"
2449
- },
2450
- "reload": {
2451
- "description": "Reload first, so the timeline starts at t=0 of a fresh load. Almost always right for a question about page load",
2452
- "name": "reload",
2453
- "allowNo": false,
2454
- "type": "boolean"
2455
- },
2456
- "full": {
2457
- "description": "Every sample, not only the ones where the value changed",
2458
- "name": "full",
2459
- "allowNo": false,
2460
- "type": "boolean"
2461
- },
2462
- "tab": {
2463
- "description": "Which tab: its index from `sk onboarding browser tabs`, or part of its url. Omitted means the run's own page",
2464
- "name": "tab",
2465
- "hasDynamicHelp": false,
2466
- "multiple": false,
2467
- "type": "option"
2468
- }
2469
- },
2470
- "hasDynamicHelp": false,
2471
- "hiddenAliases": [],
2472
- "id": "onboarding:watch",
2473
- "pluginAlias": "@speedkit/cli",
2474
- "pluginName": "@speedkit/cli",
2475
- "pluginType": "core",
2476
- "strict": true,
2477
- "isESM": true,
2478
- "relativePath": [
2479
- "dist",
2480
- "commands",
2481
- "onboarding",
2482
- "watch.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": {
2685
- "description": "Account for every rule the query leaves out, reduces or approximates",
2686
- "name": "explain",
2687
- "allowNo": false,
2688
- "type": "boolean"
2689
- },
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",
4544
- "allowNo": false,
4545
- "type": "boolean"
4546
- },
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",
4602
- "allowNo": false,
4603
- "type": "boolean"
4604
- },
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",
4649
- "allowNo": false,
4650
- "type": "boolean"
4651
- },
4652
- "timeout": {
4653
- "description": "How long to wait for the run to answer, in ms. The default suits the op",
4654
- "name": "timeout",
4655
- "hasDynamicHelp": false,
4656
- "multiple": false,
4657
- "type": "option"
4658
- },
4659
- "recipe": {
4660
- "description": "A recipe from `recipes`. Exclusive with --source",
4661
- "exclusive": [
4662
- "source"
4663
- ],
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",
4672
- "hasDynamicHelp": false,
4673
- "multiple": true,
4674
- "type": "option"
4675
- },
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",
4842
- "allowNo": false,
4843
- "type": "boolean"
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
- },
4852
- "limit": {
4853
- "description": "How many records, newest last. Default 100",
4854
- "name": "limit",
4855
- "hasDynamicHelp": false,
4856
- "multiple": false,
4857
- "type": "option"
4858
- },
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",
4862
- "hasDynamicHelp": false,
4863
- "multiple": false,
4864
- "type": "option"
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",
4894
- "hasDynamicHelp": false,
4895
- "multiple": false,
4896
- "type": "option"
4897
- },
4898
- "json": {
4899
- "description": "The answer as one JSON document on stdout; a failure as { code, message } with exit code 1",
4900
- "name": "json",
4901
- "allowNo": false,
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"
4917
- }
4918
- },
4919
- "hasDynamicHelp": false,
4920
- "hiddenAliases": [],
4921
- "id": "onboarding:inject:recipes",
4922
- "pluginAlias": "@speedkit/cli",
4923
- "pluginName": "@speedkit/cli",
4924
- "pluginType": "core",
4925
- "strict": true,
4926
- "isESM": true,
4927
- "relativePath": [
4928
- "dist",
4929
- "commands",
4930
- "onboarding",
4931
- "inject",
4932
- "recipes.js"
4933
- ]
4934
- },
4935
- "onboarding:inject:remove": {
4936
- "aliases": [],
4937
- "args": {
4938
- "preload": {
4939
- "description": "The preload id, e.g. p1. `list` names them",
4940
- "name": "preload",
4941
- "required": true
4942
- }
4943
- },
4944
- "description": "Take one injected script out, including the copy running in the page",
4945
- "examples": [
4946
- "$ sk onboarding inject remove p1"
4947
- ],
4948
- "flags": {
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",
4952
- "hasDynamicHelp": false,
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,
4974
- "type": "option"
4975
- }
4976
- },
4977
- "hasDynamicHelp": false,
4978
- "hiddenAliases": [],
4979
- "id": "onboarding:inject:remove",
4980
- "pluginAlias": "@speedkit/cli",
4981
- "pluginName": "@speedkit/cli",
4982
- "pluginType": "core",
4983
- "strict": true,
4984
- "isESM": true,
4985
- "relativePath": [
4986
- "dist",
4987
- "commands",
4988
- "onboarding",
4989
- "inject",
4990
- "remove.js"
4991
- ]
4992
- },
4993
- "onboarding:rum:beacons": {
4994
- "aliases": [],
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"
5008
- },
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"
5042
- }
5043
- },
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",
5064
- "examples": [
5065
- "$ sk onboarding rum get",
5066
- "$ sk onboarding rum get --key pageType --key variation"
5067
- ],
5068
- "flags": {
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",
5099
- "allowNo": false,
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"
5108
- }
5109
- },
5110
- "hasDynamicHelp": false,
5111
- "hiddenAliases": [],
5112
- "id": "onboarding:rum:get",
5113
- "pluginAlias": "@speedkit/cli",
5114
- "pluginName": "@speedkit/cli",
5115
- "pluginType": "core",
5116
- "strict": true,
5117
- "isESM": true,
5118
- "relativePath": [
5119
- "dist",
5120
- "commands",
5121
- "onboarding",
5122
- "rum",
5123
- "get.js"
5124
- ]
5125
- },
5126
- "onboarding:rum:key": {
5127
- "aliases": [],
5128
- "args": {
5129
- "key": {
5130
- "description": "The RUM field, e.g. a custom dimension. Unsent data included",
5131
- "name": "key",
5132
- "required": true
5133
- }
5134
- },
5135
- "description": "Read one RUM field, unsent data included, without ending the impression",
5136
- "examples": [
5137
- "$ sk onboarding rum key myCustomDimension"
5138
- ],
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
- },
5168
- "hasDynamicHelp": false,
5169
- "hiddenAliases": [],
5170
- "id": "onboarding:rum:key",
5171
- "pluginAlias": "@speedkit/cli",
5172
- "pluginName": "@speedkit/cli",
5173
- "pluginType": "core",
5174
- "strict": true,
5175
- "isESM": true,
5176
- "relativePath": [
5177
- "dist",
5178
- "commands",
5179
- "onboarding",
5180
- "rum",
5181
- "key.js"
5182
- ]
5183
- },
5184
- "onboarding:rum:previous": {
5185
- "aliases": [],
5186
- "args": {},
5187
- "description": "Read the previous page impression: on an SPA, the one that loaded the page",
5188
- "examples": [
5189
- "$ sk onboarding rum previous"
5190
- ],
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
- },
5220
- "hasDynamicHelp": false,
5221
- "hiddenAliases": [],
5222
- "id": "onboarding:rum:previous",
5223
- "pluginAlias": "@speedkit/cli",
5224
- "pluginName": "@speedkit/cli",
5225
- "pluginType": "core",
5226
- "strict": true,
5227
- "isESM": true,
5228
- "relativePath": [
5229
- "dist",
5230
- "commands",
5231
- "onboarding",
5232
- "rum",
5233
- "previous.js"
2111
+ "revalidate",
2112
+ "wait.js"
5234
2113
  ]
5235
2114
  }
5236
2115
  },
5237
- "version": "4.51.0-run-control.4"
2116
+ "version": "4.51.0"
5238
2117
  }