@open-qa/qa 0.0.0-stage → 0.1.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (313) hide show
  1. package/LICENSE +204 -0
  2. package/NOTICE +7 -0
  3. package/THIRD_PARTY.md +12 -0
  4. package/THIRD_PARTY_NOTICES.md +11 -0
  5. package/drizzle/0000_qa_core.sql +158 -0
  6. package/drizzle/0001_run_health.sql +3 -0
  7. package/drizzle/0002_bounded_cleanup.sql +5 -0
  8. package/drizzle/0003_step_replay_cache.sql +9 -0
  9. package/drizzle/0004_credential_expiry.sql +1 -0
  10. package/drizzle/0005_server_api.sql +19 -0
  11. package/drizzle/0006_submission_created.sql +3 -0
  12. package/drizzle/0007_findings.sql +19 -0
  13. package/drizzle/0008_classification_labels.sql +14 -0
  14. package/drizzle/0009_job_queue.sql +20 -0
  15. package/drizzle/0010_result_notifications.sql +13 -0
  16. package/drizzle/0011_result_notification_retries.sql +5 -0
  17. package/drizzle/0012_result_notification_flows.sql +44 -0
  18. package/drizzle/0013_flow_quarantine.sql +35 -0
  19. package/drizzle/0014_run_budgets.sql +2 -0
  20. package/drizzle/0015_flow_lifecycle.sql +9 -0
  21. package/drizzle/0016_open_qa_classification.sql +28 -0
  22. package/drizzle/meta/0000_snapshot.json +1002 -0
  23. package/drizzle/meta/0001_snapshot.json +1021 -0
  24. package/drizzle/meta/0002_snapshot.json +1027 -0
  25. package/drizzle/meta/0003_snapshot.json +1081 -0
  26. package/drizzle/meta/0004_snapshot.json +1087 -0
  27. package/drizzle/meta/0005_snapshot.json +1210 -0
  28. package/drizzle/meta/0006_snapshot.json +1244 -0
  29. package/drizzle/meta/0007_snapshot.json +1353 -0
  30. package/drizzle/meta/0008_snapshot.json +1435 -0
  31. package/drizzle/meta/0009_snapshot.json +1587 -0
  32. package/drizzle/meta/0010_snapshot.json +1675 -0
  33. package/drizzle/meta/0011_snapshot.json +1692 -0
  34. package/drizzle/meta/0012_snapshot.json +1818 -0
  35. package/drizzle/meta/0013_snapshot.json +2016 -0
  36. package/drizzle/meta/0014_snapshot.json +2028 -0
  37. package/drizzle/meta/0015_snapshot.json +2064 -0
  38. package/drizzle/meta/0016_snapshot.json +2076 -0
  39. package/drizzle/meta/_journal.json +125 -0
  40. package/package.json +118 -4
  41. package/problem-matcher.json +32 -0
  42. package/src/adapters/db-lease-pool.d.ts +25 -0
  43. package/src/adapters/db-lease-pool.js +293 -0
  44. package/src/adapters/dir-artifact-store.d.ts +9 -0
  45. package/src/adapters/dir-artifact-store.js +64 -0
  46. package/src/adapters/e2b-agent.d.ts +7 -0
  47. package/src/adapters/e2b-agent.js +94 -0
  48. package/src/adapters/e2b-artifacts.d.ts +3 -0
  49. package/src/adapters/e2b-artifacts.js +66 -0
  50. package/src/adapters/e2b-bounded.d.ts +1 -0
  51. package/src/adapters/e2b-bounded.js +19 -0
  52. package/src/adapters/e2b-client.d.ts +33 -0
  53. package/src/adapters/e2b-client.js +114 -0
  54. package/src/adapters/e2b-executor.d.ts +26 -0
  55. package/src/adapters/e2b-executor.js +194 -0
  56. package/src/adapters/e2b-lifetime.d.ts +20 -0
  57. package/src/adapters/e2b-lifetime.js +73 -0
  58. package/src/adapters/e2b-prune.d.ts +13 -0
  59. package/src/adapters/e2b-prune.js +42 -0
  60. package/src/adapters/file-replay-cache.d.ts +14 -0
  61. package/src/adapters/file-replay-cache.js +120 -0
  62. package/src/adapters/file-run-store.d.ts +175 -0
  63. package/src/adapters/file-run-store.js +280 -0
  64. package/src/adapters/fixed-lease-pool.d.ts +10 -0
  65. package/src/adapters/fixed-lease-pool.js +237 -0
  66. package/src/adapters/gcs/artifact-store.d.ts +49 -0
  67. package/src/adapters/gcs/artifact-store.js +247 -0
  68. package/src/adapters/gcs/client.d.ts +22 -0
  69. package/src/adapters/gcs/client.js +106 -0
  70. package/src/adapters/gcs/download.d.ts +9 -0
  71. package/src/adapters/gcs/download.js +43 -0
  72. package/src/adapters/gcs/index.d.ts +8 -0
  73. package/src/adapters/gcs/index.js +23 -0
  74. package/src/adapters/gcs/periodic-flush.d.ts +5 -0
  75. package/src/adapters/gcs/periodic-flush.js +16 -0
  76. package/src/adapters/gcs/pg-catalog.d.ts +16 -0
  77. package/src/adapters/gcs/pg-catalog.js +149 -0
  78. package/src/adapters/gcs/replay-completeness.d.ts +1 -0
  79. package/src/adapters/gcs/replay-completeness.js +65 -0
  80. package/src/adapters/gcs/scan-upload.d.ts +10 -0
  81. package/src/adapters/gcs/scan-upload.js +26 -0
  82. package/src/adapters/index.d.ts +5 -0
  83. package/src/adapters/index.js +12 -0
  84. package/src/adapters/lease-transaction.d.ts +2 -0
  85. package/src/adapters/lease-transaction.js +61 -0
  86. package/src/adapters/local-credential-resolver.d.ts +5 -0
  87. package/src/adapters/local-credential-resolver.js +15 -0
  88. package/src/adapters/local-env.d.ts +1 -0
  89. package/src/adapters/local-env.js +37 -0
  90. package/src/adapters/local-files.d.ts +17 -0
  91. package/src/adapters/local-files.js +150 -0
  92. package/src/adapters/pg-classification-store.d.ts +58 -0
  93. package/src/adapters/pg-classification-store.js +112 -0
  94. package/src/adapters/pg-replay-cache.d.ts +16 -0
  95. package/src/adapters/pg-replay-cache.js +111 -0
  96. package/src/adapters/pg-run-store.d.ts +58 -0
  97. package/src/adapters/pg-run-store.js +399 -0
  98. package/src/adapters/resource-pools.d.ts +2 -0
  99. package/src/adapters/resource-pools.js +28 -0
  100. package/src/adapters/secret-manager-credential-resolver.d.ts +44 -0
  101. package/src/adapters/secret-manager-credential-resolver.js +102 -0
  102. package/src/artifact-scan.d.ts +21 -0
  103. package/src/artifact-scan.js +139 -0
  104. package/src/budget-confirmation.d.ts +23 -0
  105. package/src/budget-confirmation.js +43 -0
  106. package/src/cache-command.d.ts +7 -0
  107. package/src/cache-command.js +107 -0
  108. package/src/classification-command.d.ts +14 -0
  109. package/src/classification-command.js +72 -0
  110. package/src/classification-diff.d.ts +10 -0
  111. package/src/classification-diff.js +47 -0
  112. package/src/classification-model.d.ts +17 -0
  113. package/src/classification-model.js +51 -0
  114. package/src/classification-notifier.d.ts +21 -0
  115. package/src/classification-notifier.js +34 -0
  116. package/src/classify-runs.d.ts +31 -0
  117. package/src/classify-runs.js +138 -0
  118. package/src/cli-program.d.ts +9 -0
  119. package/src/cli-program.js +172 -0
  120. package/src/cli.d.ts +2 -0
  121. package/src/cli.js +12 -0
  122. package/src/commands.d.ts +7 -0
  123. package/src/commands.js +17 -0
  124. package/src/credential-references.d.ts +24 -0
  125. package/src/credential-references.js +33 -0
  126. package/src/db/commands.d.ts +1 -0
  127. package/src/db/commands.js +34 -0
  128. package/src/db/credentials.d.ts +16 -0
  129. package/src/db/credentials.js +73 -0
  130. package/src/db/database.d.ts +12 -0
  131. package/src/db/database.js +135 -0
  132. package/src/db/event-chunks.d.ts +405 -0
  133. package/src/db/event-chunks.js +74 -0
  134. package/src/db/fencing.d.ts +8 -0
  135. package/src/db/fencing.js +16 -0
  136. package/src/db/flow-status.d.ts +41 -0
  137. package/src/db/flow-status.js +208 -0
  138. package/src/db/index.d.ts +12 -0
  139. package/src/db/index.js +24 -0
  140. package/src/db/queries.d.ts +73 -0
  141. package/src/db/queries.js +122 -0
  142. package/src/db/resources.d.ts +14 -0
  143. package/src/db/resources.js +61 -0
  144. package/src/db/schema.d.ts +3532 -0
  145. package/src/db/schema.js +501 -0
  146. package/src/demo-command.d.ts +1 -0
  147. package/src/demo-command.js +50 -0
  148. package/src/doctor-command.d.ts +15 -0
  149. package/src/doctor-command.js +275 -0
  150. package/src/doctor-summary.d.ts +2 -0
  151. package/src/doctor-summary.js +31 -0
  152. package/src/draft-api.d.ts +460 -0
  153. package/src/draft-api.js +333 -0
  154. package/src/draft-command.d.ts +10 -0
  155. package/src/draft-command.js +73 -0
  156. package/src/draft-hooks.d.ts +3 -0
  157. package/src/draft-hooks.js +33 -0
  158. package/src/draft-pages.d.ts +11 -0
  159. package/src/draft-pages.js +82 -0
  160. package/src/engine.d.ts +105 -0
  161. package/src/engine.js +323 -0
  162. package/src/execution-snapshot.d.ts +21 -0
  163. package/src/execution-snapshot.js +141 -0
  164. package/src/flow-check.d.ts +9 -0
  165. package/src/flow-check.js +68 -0
  166. package/src/flow-lifecycle.d.ts +6 -0
  167. package/src/flow-lifecycle.js +61 -0
  168. package/src/flow-lint.d.ts +8 -0
  169. package/src/flow-lint.js +73 -0
  170. package/src/flow-loader.d.ts +219 -0
  171. package/src/flow-loader.js +236 -0
  172. package/src/flow-source.d.ts +2 -0
  173. package/src/flow-source.js +6 -0
  174. package/src/flows-api.d.ts +1 -0
  175. package/src/flows-api.js +12 -0
  176. package/src/heal-notification.d.ts +16 -0
  177. package/src/heal-notification.js +62 -0
  178. package/src/hooks/api.d.ts +29 -0
  179. package/src/hooks/api.js +15 -0
  180. package/src/hooks/consumer.d.ts +18 -0
  181. package/src/hooks/consumer.js +98 -0
  182. package/src/hooks/loader.d.ts +6 -0
  183. package/src/hooks/loader.js +28 -0
  184. package/src/hooks/registry.d.ts +22 -0
  185. package/src/hooks/registry.js +23 -0
  186. package/src/hooks/runner.d.ts +19 -0
  187. package/src/hooks/runner.js +279 -0
  188. package/src/hooks/session-cache.d.ts +16 -0
  189. package/src/hooks/session-cache.js +42 -0
  190. package/src/hooks/session-store.d.ts +20 -0
  191. package/src/hooks/session-store.js +95 -0
  192. package/src/hooks/worker.d.ts +1 -0
  193. package/src/hooks/worker.js +84 -0
  194. package/src/http-stage-client.d.ts +367 -0
  195. package/src/http-stage-client.js +190 -0
  196. package/src/independent-model.d.ts +22 -0
  197. package/src/independent-model.js +215 -0
  198. package/src/lifecycle-command.d.ts +15 -0
  199. package/src/lifecycle-command.js +190 -0
  200. package/src/local-command.d.ts +3 -0
  201. package/src/local-command.js +27 -0
  202. package/src/local-host-executor.d.ts +38 -0
  203. package/src/local-host-executor.js +196 -0
  204. package/src/open-command.d.ts +7 -0
  205. package/src/open-command.js +39 -0
  206. package/src/operations-api.d.ts +2 -0
  207. package/src/operations-api.js +6 -0
  208. package/src/personas.d.ts +2 -0
  209. package/src/personas.js +61 -0
  210. package/src/program-runner.d.ts +3 -0
  211. package/src/program-runner.js +263 -0
  212. package/src/program-sandbox.py +75 -0
  213. package/src/program-scratch.d.ts +2 -0
  214. package/src/program-scratch.js +48 -0
  215. package/src/program-worker.mjs +101 -0
  216. package/src/public-id.d.ts +2 -0
  217. package/src/public-id.js +5 -0
  218. package/src/public-report-url.d.ts +1 -0
  219. package/src/public-report-url.js +18 -0
  220. package/src/publication-check.d.ts +1 -0
  221. package/src/publication-check.js +31 -0
  222. package/src/quarantine-command.d.ts +9 -0
  223. package/src/quarantine-command.js +69 -0
  224. package/src/remote-command.d.ts +30 -0
  225. package/src/remote-command.js +156 -0
  226. package/src/replay-image.d.ts +1 -0
  227. package/src/replay-image.js +35 -0
  228. package/src/report/assets.d.ts +1 -0
  229. package/src/report/assets.js +5 -0
  230. package/src/report/browser.css +414 -0
  231. package/src/report/browser.d.ts +1 -0
  232. package/src/report/browser.js +219 -0
  233. package/src/report/data.d.ts +1 -0
  234. package/src/report/data.js +4 -0
  235. package/src/report/generate.d.ts +1 -0
  236. package/src/report/generate.js +54 -0
  237. package/src/report/load.d.ts +870 -0
  238. package/src/report/load.js +139 -0
  239. package/src/report/resource-table.d.ts +2 -0
  240. package/src/report/resource-table.js +4 -0
  241. package/src/report/status-icon.d.ts +2 -0
  242. package/src/report/status-icon.js +20 -0
  243. package/src/report/style.css +413 -0
  244. package/src/result-notifier.d.ts +121 -0
  245. package/src/result-notifier.js +230 -0
  246. package/src/result-transports.d.ts +12 -0
  247. package/src/result-transports.js +150 -0
  248. package/src/run-command.d.ts +32 -0
  249. package/src/run-command.js +493 -0
  250. package/src/run-setup-error.d.ts +11 -0
  251. package/src/run-setup-error.js +18 -0
  252. package/src/sandboxes-command.d.ts +9 -0
  253. package/src/sandboxes-command.js +29 -0
  254. package/src/screen-proxy.d.ts +5 -0
  255. package/src/screen-proxy.js +79 -0
  256. package/src/screen-url.d.ts +18 -0
  257. package/src/screen-url.js +54 -0
  258. package/src/server/app.d.ts +29 -0
  259. package/src/server/app.js +350 -0
  260. package/src/server/auth.d.ts +33 -0
  261. package/src/server/auth.js +113 -0
  262. package/src/server/credentials.d.ts +30 -0
  263. package/src/server/credentials.js +77 -0
  264. package/src/server/errors.d.ts +9 -0
  265. package/src/server/errors.js +26 -0
  266. package/src/server/index.d.ts +35 -0
  267. package/src/server/index.js +96 -0
  268. package/src/server/maintenance.d.ts +13 -0
  269. package/src/server/maintenance.js +54 -0
  270. package/src/server/repository.d.ts +534 -0
  271. package/src/server/repository.js +219 -0
  272. package/src/setup-command.d.ts +10 -0
  273. package/src/setup-command.js +52 -0
  274. package/src/stage-environment.d.ts +1 -0
  275. package/src/stage-environment.js +35 -0
  276. package/src/stage-supervisor.mjs +95 -0
  277. package/src/studio-command.d.ts +7 -0
  278. package/src/studio-command.js +47 -0
  279. package/src/studio-control.d.ts +5 -0
  280. package/src/studio-control.js +207 -0
  281. package/src/studio-review.d.ts +24 -0
  282. package/src/studio-review.js +64 -0
  283. package/src/studio-worker.d.ts +1 -0
  284. package/src/studio-worker.js +48 -0
  285. package/src/system-config.d.ts +7 -0
  286. package/src/system-config.js +70 -0
  287. package/src/terminal-reporter.d.ts +13 -0
  288. package/src/terminal-reporter.js +93 -0
  289. package/src/vendor/gmail.d.ts +45 -0
  290. package/src/vendor/gmail.js +193 -0
  291. package/src/watch-command.d.ts +16 -0
  292. package/src/watch-command.js +93 -0
  293. package/src/watch-state.d.ts +4 -0
  294. package/src/watch-state.js +53 -0
  295. package/src/worker/execution-error.d.ts +5 -0
  296. package/src/worker/execution-error.js +10 -0
  297. package/src/worker/execution.d.ts +24 -0
  298. package/src/worker/execution.js +190 -0
  299. package/src/worker/index.d.ts +8 -0
  300. package/src/worker/index.js +40 -0
  301. package/src/worker/prune.d.ts +3 -0
  302. package/src/worker/prune.js +22 -0
  303. package/src/worker/quarantine-notifications.d.ts +8 -0
  304. package/src/worker/quarantine-notifications.js +89 -0
  305. package/src/worker/queue.d.ts +65 -0
  306. package/src/worker/queue.js +438 -0
  307. package/src/worker/result-notifications.d.ts +28 -0
  308. package/src/worker/result-notifications.js +347 -0
  309. package/src/worker/store.d.ts +4 -0
  310. package/src/worker/store.js +46 -0
  311. package/src/worker/worker.d.ts +21 -0
  312. package/src/worker/worker.js +140 -0
  313. package/README.md +0 -3
@@ -0,0 +1,414 @@
1
+ .replayer-wrapper{position:relative}.replayer-mouse{position:absolute;width:20px;height:20px;transition:left .05s linear,top .05s linear;background-size:contain;background-position:center center;background-repeat:no-repeat;background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9JzMwMHB4JyB3aWR0aD0nMzAwcHgnICBmaWxsPSIjMDAwMDAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSIgdmlld0JveD0iMCAwIDUwIDUwIiB4PSIwcHgiIHk9IjBweCI+PHRpdGxlPkRlc2lnbl90bnA8L3RpdGxlPjxwYXRoIGQ9Ik00OC43MSw0Mi45MUwzNC4wOCwyOC4yOSw0NC4zMywxOEExLDEsMCwwLDAsNDQsMTYuMzlMMi4zNSwxLjA2QTEsMSwwLDAsMCwxLjA2LDIuMzVMMTYuMzksNDRhMSwxLDAsMCwwLDEuNjUuMzZMMjguMjksMzQuMDgsNDIuOTEsNDguNzFhMSwxLDAsMCwwLDEuNDEsMGw0LjM4LTQuMzhBMSwxLDAsMCwwLDQ4LjcxLDQyLjkxWm0tNS4wOSwzLjY3TDI5LDMyYTEsMSwwLDAsMC0xLjQxLDBsLTkuODUsOS44NUwzLjY5LDMuNjlsMzguMTIsMTRMMzIsMjcuNThBMSwxLDAsMCwwLDMyLDI5TDQ2LjU5LDQzLjYyWiI+PC9wYXRoPjwvc3ZnPg==);border-color:transparent}.replayer-mouse:after{content:"";display:inline-block;width:20px;height:20px;background:#4950f6;border-radius:100%;transform:translate(-50%,-50%);opacity:.3}.replayer-mouse.active:after{animation:click .2s ease-in-out 1}.replayer-mouse.touch-device{background-image:none;width:70px;height:70px;border-width:4px;border-style:solid;border-radius:100%;margin-left:-37px;margin-top:-37px;border-color:#4950f600;transition:left 0s linear,top 0s linear,border-color .2s ease-in-out}.replayer-mouse.touch-device.touch-active{border-color:#4950f6;transition:left .25s linear,top .25s linear,border-color .2s ease-in-out}.replayer-mouse.touch-device:after{opacity:0}.replayer-mouse.touch-device.active:after{animation:touch-click .2s ease-in-out 1}.replayer-mouse-tail{position:absolute;pointer-events:none}@keyframes click{0%{opacity:.3;width:20px;height:20px}50%{opacity:.5;width:10px;height:10px}}@keyframes touch-click{0%{opacity:0;width:20px;height:20px}50%{opacity:.5;width:10px;height:10px}}.open-qa-cursor{pointer-events:none;position:absolute;z-index:1;width:32px;height:32px;transform-origin:2px 2px;transform:translate(-2px,-2px) scale(calc(1 / var(--replay-display-scale, 1)));color:#fff}.open-qa-cursor svg{display:block;overflow:visible;transform-origin:2px 2px;filter:drop-shadow(0 1px 2px #0009)}.open-qa-cursor path{fill:currentColor;stroke:#202124;stroke-width:2;stroke-linejoin:round}.open-qa-cursor[data-click=true] svg{transform:scale(.94)}.open-qa-cursor[data-click=true]:before{content:"";position:absolute;left:2px;top:2px;width:24px;height:24px;border:2px solid currentColor;border-radius:50%;box-shadow:0 0 0 1px #222;transform:translate(-50%,-50%)}
2
+ :root {
3
+ color-scheme: light dark;
4
+ --canvas: #f5f7fa;
5
+ --surface: #ffffff;
6
+ --surface-2: #f8fafc;
7
+ --fg: #1b2639;
8
+ --fg-2: #334155;
9
+ --fg-3: #59677c;
10
+ --border: #dce2e9;
11
+ --info: #4556db;
12
+ --selection: #eef0ff;
13
+ --danger: #b42338;
14
+ --success: #17663f;
15
+ --warning: #7a5400;
16
+ --warning-surface: #fff5da;
17
+ font-family:
18
+ ui-sans-serif,
19
+ system-ui,
20
+ -apple-system,
21
+ sans-serif;
22
+ color: var(--fg);
23
+ background: var(--canvas);
24
+ }
25
+ * {
26
+ box-sizing: border-box;
27
+ }
28
+ body {
29
+ margin: 0;
30
+ }
31
+ main {
32
+ max-width: 1560px;
33
+ margin: auto;
34
+ padding: 30px 36px;
35
+ }
36
+ header,
37
+ .section-heading,
38
+ .controls {
39
+ display: flex;
40
+ align-items: center;
41
+ justify-content: space-between;
42
+ gap: 14px;
43
+ }
44
+ header {
45
+ padding-bottom: 26px;
46
+ border-bottom: 1px solid var(--border);
47
+ }
48
+ .brand {
49
+ font-weight: 800;
50
+ letter-spacing: 0.1em;
51
+ }
52
+ .brand span,
53
+ .offline {
54
+ font-size: 12px;
55
+ color: var(--fg-3);
56
+ font-weight: 500;
57
+ }
58
+ .summary {
59
+ display: flex;
60
+ justify-content: space-between;
61
+ align-items: center;
62
+ gap: 32px;
63
+ padding: 30px 0;
64
+ }
65
+ .eyebrow {
66
+ font-size: 11px;
67
+ letter-spacing: 0.14em;
68
+ color: var(--fg-3);
69
+ }
70
+ h1 {
71
+ font-size: 34px;
72
+ margin: 4px 0;
73
+ }
74
+ h2 {
75
+ font-size: 14px;
76
+ margin: 0 0 14px;
77
+ }
78
+ p {
79
+ font-size: 13px;
80
+ line-height: 1.6;
81
+ }
82
+ #deadlock {
83
+ margin: 0;
84
+ padding-left: 18px;
85
+ font-size: 13px;
86
+ line-height: 1.6;
87
+ color: var(--danger);
88
+ }
89
+ .status-icon.danger {
90
+ color: var(--danger);
91
+ }
92
+ .status-icon.success {
93
+ color: var(--success);
94
+ }
95
+ #metrics {
96
+ display: grid;
97
+ grid-template-columns: repeat(3, minmax(110px, 1fr));
98
+ gap: 20px 32px;
99
+ }
100
+ #metrics span {
101
+ display: block;
102
+ color: var(--fg-3);
103
+ font-size: 11px;
104
+ margin-bottom: 5px;
105
+ }
106
+ #metrics strong {
107
+ font-size: 13px;
108
+ font-weight: 600;
109
+ }
110
+ #warnings {
111
+ padding: 12px 16px;
112
+ margin-bottom: 20px;
113
+ background: var(--warning-surface);
114
+ color: var(--warning);
115
+ font-size: 12px;
116
+ border-radius: 8px;
117
+ }
118
+ .workspace {
119
+ display: grid;
120
+ grid-template-columns: minmax(0, 2.4fr) minmax(280px, 1fr);
121
+ gap: 20px;
122
+ }
123
+ .playback,
124
+ aside,
125
+ .panels section {
126
+ background: var(--surface);
127
+ border: 1px solid var(--border);
128
+ border-radius: 10px;
129
+ padding: 18px;
130
+ min-width: 0;
131
+ }
132
+ #screen {
133
+ background: var(--surface-2);
134
+ position: relative;
135
+ overflow: hidden;
136
+ min-height: 160px;
137
+ border: 1px solid var(--border);
138
+ border-radius: 6px;
139
+ color: var(--fg-3);
140
+ }
141
+ .replayer-wrapper {
142
+ position: relative;
143
+ }
144
+ iframe {
145
+ border: 0;
146
+ }
147
+ .controls {
148
+ padding: 16px 0 22px;
149
+ font-size: 12px;
150
+ }
151
+ #scrubber {
152
+ flex: 1;
153
+ accent-color: var(--info);
154
+ min-width: 40px;
155
+ }
156
+ #time {
157
+ white-space: nowrap;
158
+ font-variant-numeric: tabular-nums;
159
+ }
160
+ button,
161
+ select {
162
+ font: inherit;
163
+ cursor: pointer;
164
+ border: 1px solid var(--border);
165
+ border-radius: 5px;
166
+ padding: 7px 10px;
167
+ color: var(--fg-2);
168
+ background: var(--surface);
169
+ }
170
+ button:hover {
171
+ background: var(--selection);
172
+ border-color: var(--info);
173
+ }
174
+ button:focus-visible,
175
+ select:focus-visible,
176
+ input:focus-visible {
177
+ outline: 2px solid var(--info);
178
+ outline-offset: 2px;
179
+ }
180
+ #play {
181
+ background: var(--info);
182
+ color: white;
183
+ min-width: 64px;
184
+ }
185
+ #timeline {
186
+ max-height: 150px;
187
+ overflow: auto;
188
+ display: flex;
189
+ flex-wrap: wrap;
190
+ gap: 6px;
191
+ }
192
+ #timeline .event {
193
+ width: auto;
194
+ max-width: 300px;
195
+ font-size: 11px;
196
+ overflow: hidden;
197
+ text-overflow: ellipsis;
198
+ white-space: nowrap;
199
+ }
200
+ .step {
201
+ border-left: 3px solid var(--border);
202
+ background: var(--surface-2);
203
+ padding: 12px;
204
+ margin-bottom: 12px;
205
+ color: var(--fg-2);
206
+ }
207
+ .step.current {
208
+ box-shadow: 0 0 0 2px var(--info);
209
+ }
210
+ summary {
211
+ cursor: pointer;
212
+ }
213
+ .step p {
214
+ margin: 8px 0;
215
+ }
216
+ pre {
217
+ white-space: pre-wrap;
218
+ overflow-wrap: anywhere;
219
+ font-size: 11px;
220
+ line-height: 1.6;
221
+ max-height: 240px;
222
+ overflow: auto;
223
+ }
224
+ .panels {
225
+ display: grid;
226
+ grid-template-columns: 1.2fr 1fr 1fr;
227
+ gap: 20px;
228
+ margin-top: 20px;
229
+ }
230
+ .event-panel {
231
+ height: 240px;
232
+ overflow: auto;
233
+ }
234
+ .event {
235
+ display: block;
236
+ width: 100%;
237
+ text-align: left;
238
+ white-space: pre-wrap;
239
+ overflow-wrap: anywhere;
240
+ font-size: 11px;
241
+ line-height: 1.6;
242
+ margin-bottom: 6px;
243
+ }
244
+ .event.current {
245
+ border-color: var(--info);
246
+ background: var(--selection);
247
+ }
248
+ .future {
249
+ opacity: 0.55;
250
+ }
251
+ .empty,
252
+ footer {
253
+ color: var(--fg-3);
254
+ font-size: 11px;
255
+ }
256
+ footer {
257
+ padding: 20px 0;
258
+ }
259
+ [hidden] {
260
+ display: none !important;
261
+ }
262
+ @media (max-width: 950px) {
263
+ main {
264
+ padding: 18px;
265
+ }
266
+ .workspace,
267
+ .panels {
268
+ grid-template-columns: 1fr;
269
+ }
270
+ .summary {
271
+ align-items: start;
272
+ flex-direction: column;
273
+ }
274
+ .controls {
275
+ flex-wrap: wrap;
276
+ }
277
+ }
278
+
279
+ .step button {
280
+ min-height: 44px;
281
+ }
282
+ #warnings {
283
+ white-space: pre-line;
284
+ }
285
+
286
+ .status-icon {
287
+ color: var(--fg-3);
288
+ display: inline-flex;
289
+ vertical-align: middle;
290
+ }
291
+ .status-icon svg {
292
+ width: 18px;
293
+ height: 18px;
294
+ }
295
+ h1 .status-icon svg {
296
+ width: 28px;
297
+ height: 28px;
298
+ }
299
+ .status-icon.info {
300
+ color: var(--info);
301
+ }
302
+ button,
303
+ select {
304
+ min-height: 44px;
305
+ }
306
+ button:disabled {
307
+ cursor: default;
308
+ opacity: 0.6;
309
+ }
310
+ .step > div > button {
311
+ width: 100%;
312
+ text-align: left;
313
+ border: 0;
314
+ background: transparent;
315
+ font-weight: 600;
316
+ }
317
+ .step > button {
318
+ margin-right: 4px;
319
+ }
320
+ #metrics strong {
321
+ overflow-wrap: anywhere;
322
+ }
323
+ @media (max-width: 450px) {
324
+ #metrics {
325
+ grid-template-columns: repeat(2, minmax(0, 1fr));
326
+ gap: 16px;
327
+ width: 100%;
328
+ }
329
+ .brand {
330
+ letter-spacing: normal;
331
+ }
332
+ header {
333
+ gap: 8px;
334
+ }
335
+ }
336
+ @media (prefers-color-scheme: dark) {
337
+ :root {
338
+ --canvas: #101318;
339
+ --surface: #171b22;
340
+ --surface-2: #1e242d;
341
+ --fg: #edf0f5;
342
+ --fg-2: #ced4de;
343
+ --fg-3: #a6b0c0;
344
+ --border: #394353;
345
+ --info: #a6b0ff;
346
+ --selection: #272e49;
347
+ --danger: #ff9cac;
348
+ --success: #5fb98a;
349
+ --warning: #f2cb75;
350
+ --warning-surface: #342a15;
351
+ }
352
+ #play {
353
+ background: #4556db;
354
+ color: #fff;
355
+ }
356
+ }
357
+
358
+ .actor-row {
359
+ min-width: 0;
360
+ }
361
+ #screen {
362
+ display: grid;
363
+ grid-template-columns: repeat(2, minmax(0, 1fr));
364
+ gap: 16px;
365
+ }
366
+ .actor-row-wide,
367
+ #screen > :only-child {
368
+ grid-column: 1 / -1;
369
+ }
370
+ .view-grid {
371
+ display: grid;
372
+ grid-template-columns: repeat(2, minmax(0, 1fr));
373
+ gap: 16px;
374
+ }
375
+ .view-cell {
376
+ min-width: 0;
377
+ overflow: hidden;
378
+ }
379
+ .view-grid:has(> :only-child) {
380
+ grid-template-columns: minmax(0, 1fr);
381
+ }
382
+ .view-surface {
383
+ min-width: 0;
384
+ overflow: hidden;
385
+ }
386
+ @media (max-width: 767px) {
387
+ #screen,
388
+ .view-grid {
389
+ grid-template-columns: minmax(0, 1fr);
390
+ }
391
+ #focus-view {
392
+ display: none;
393
+ }
394
+ }
395
+
396
+ .reviewer {
397
+ margin: 20px 0;
398
+ padding: 20px;
399
+ border: 1px solid var(--border, #ddd);
400
+ border-radius: 12px;
401
+ overflow-wrap: anywhere;
402
+ }
403
+ .reviewer article {
404
+ border-top: 1px solid var(--border, #ddd);
405
+ padding: 8px 0;
406
+ }
407
+ .reviewer pre {
408
+ max-height: 320px;
409
+ overflow: auto;
410
+ white-space: pre-wrap;
411
+ }
412
+ .reviewer button {
413
+ margin: 4px;
414
+ }
@@ -0,0 +1 @@
1
+ export {};