@flanksource/clicky-ui 0.3.72 → 0.3.73

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 (350) hide show
  1. package/dist/ai.cjs +5 -0
  2. package/dist/ai.js +3 -1
  3. package/dist/comment-anchoring.cjs +3 -0
  4. package/dist/comment-anchoring.js +2 -1
  5. package/dist/comments/CommentCapture.cjs +6 -8
  6. package/dist/comments/CommentCapture.cjs.map +1 -1
  7. package/dist/comments/CommentCapture.d.ts.map +1 -1
  8. package/dist/comments/CommentCapture.js +6 -8
  9. package/dist/comments/CommentCapture.js.map +1 -1
  10. package/dist/comments/CommentComposer.cjs +12 -8
  11. package/dist/comments/CommentComposer.cjs.map +1 -1
  12. package/dist/comments/CommentComposer.d.ts.map +1 -1
  13. package/dist/comments/CommentComposer.js +12 -8
  14. package/dist/comments/CommentComposer.js.map +1 -1
  15. package/dist/comments/CommentThread.cjs +2 -1
  16. package/dist/comments/CommentThread.cjs.map +1 -1
  17. package/dist/comments/CommentThread.d.ts +1 -1
  18. package/dist/comments/CommentThread.d.ts.map +1 -1
  19. package/dist/comments/CommentThread.js +2 -1
  20. package/dist/comments/CommentThread.js.map +1 -1
  21. package/dist/comments/CommentThreadList.cjs +5 -3
  22. package/dist/comments/CommentThreadList.cjs.map +1 -1
  23. package/dist/comments/CommentThreadList.d.ts +1 -1
  24. package/dist/comments/CommentThreadList.d.ts.map +1 -1
  25. package/dist/comments/CommentThreadList.js +5 -3
  26. package/dist/comments/CommentThreadList.js.map +1 -1
  27. package/dist/comments/anchoring/dom-anchor.cjs +32 -4
  28. package/dist/comments/anchoring/dom-anchor.cjs.map +1 -1
  29. package/dist/comments/anchoring/dom-anchor.d.ts +8 -4
  30. package/dist/comments/anchoring/dom-anchor.d.ts.map +1 -1
  31. package/dist/comments/anchoring/dom-anchor.js +31 -5
  32. package/dist/comments/anchoring/dom-anchor.js.map +1 -1
  33. package/dist/comments/anchoring/frame-anchor.cjs +74 -0
  34. package/dist/comments/anchoring/frame-anchor.cjs.map +1 -0
  35. package/dist/comments/anchoring/frame-anchor.d.ts +21 -0
  36. package/dist/comments/anchoring/frame-anchor.d.ts.map +1 -0
  37. package/dist/comments/anchoring/frame-anchor.js +70 -0
  38. package/dist/comments/anchoring/frame-anchor.js.map +1 -0
  39. package/dist/comments/comment-detail.d.ts +1 -0
  40. package/dist/comments/comment-detail.d.ts.map +1 -1
  41. package/dist/comments/comment-types.cjs.map +1 -1
  42. package/dist/comments/comment-types.d.ts +2 -0
  43. package/dist/comments/comment-types.d.ts.map +1 -1
  44. package/dist/comments/comment-types.js.map +1 -1
  45. package/dist/comments/gavel/CommentInbox.cjs +49 -59
  46. package/dist/comments/gavel/CommentInbox.cjs.map +1 -1
  47. package/dist/comments/gavel/CommentInbox.d.ts +12 -8
  48. package/dist/comments/gavel/CommentInbox.d.ts.map +1 -1
  49. package/dist/comments/gavel/CommentInbox.js +51 -61
  50. package/dist/comments/gavel/CommentInbox.js.map +1 -1
  51. package/dist/comments/gavel/CommentInboxThread.cjs.map +1 -1
  52. package/dist/comments/gavel/CommentInboxThread.d.ts +1 -3
  53. package/dist/comments/gavel/CommentInboxThread.d.ts.map +1 -1
  54. package/dist/comments/gavel/CommentInboxThread.js.map +1 -1
  55. package/dist/comments/gavel/comment-agent-assignment.cjs +41 -0
  56. package/dist/comments/gavel/comment-agent-assignment.cjs.map +1 -0
  57. package/dist/comments/gavel/comment-agent-assignment.d.ts +15 -0
  58. package/dist/comments/gavel/comment-agent-assignment.d.ts.map +1 -0
  59. package/dist/comments/gavel/comment-agent-assignment.js +39 -0
  60. package/dist/comments/gavel/comment-agent-assignment.js.map +1 -0
  61. package/dist/comments/gavel/gavel-projection.cjs +43 -13
  62. package/dist/comments/gavel/gavel-projection.cjs.map +1 -1
  63. package/dist/comments/gavel/gavel-projection.d.ts +3 -0
  64. package/dist/comments/gavel/gavel-projection.d.ts.map +1 -1
  65. package/dist/comments/gavel/gavel-projection.js +43 -14
  66. package/dist/comments/gavel/gavel-projection.js.map +1 -1
  67. package/dist/comments/gavel/inbox-model.cjs +3 -12
  68. package/dist/comments/gavel/inbox-model.cjs.map +1 -1
  69. package/dist/comments/gavel/inbox-model.d.ts +2 -2
  70. package/dist/comments/gavel/inbox-model.d.ts.map +1 -1
  71. package/dist/comments/gavel/inbox-model.js +4 -12
  72. package/dist/comments/gavel/inbox-model.js.map +1 -1
  73. package/dist/comments/gavel/inbox-prompt.cjs +1 -0
  74. package/dist/comments/gavel/inbox-prompt.cjs.map +1 -1
  75. package/dist/comments/gavel/inbox-prompt.d.ts.map +1 -1
  76. package/dist/comments/gavel/inbox-prompt.js +1 -0
  77. package/dist/comments/gavel/inbox-prompt.js.map +1 -1
  78. package/dist/comments/gavel/index.d.ts +1 -0
  79. package/dist/comments/gavel/index.d.ts.map +1 -1
  80. package/dist/comments-gavel.cjs +5 -1
  81. package/dist/comments-gavel.js +4 -3
  82. package/dist/comments.cjs +5 -0
  83. package/dist/comments.d.ts +1 -0
  84. package/dist/comments.d.ts.map +1 -1
  85. package/dist/comments.js +3 -1
  86. package/dist/components/AccordionList.cjs +2 -2
  87. package/dist/components/AccordionList.cjs.map +1 -1
  88. package/dist/components/AccordionList.js +2 -2
  89. package/dist/components/AccordionList.js.map +1 -1
  90. package/dist/components/examples/form-extensions/extension.d.ts +1 -1
  91. package/dist/components/examples/form-extensions/extension.d.ts.map +1 -1
  92. package/dist/components/json-schema-form-array-add-menu.cjs +44 -0
  93. package/dist/components/json-schema-form-array-add-menu.cjs.map +1 -0
  94. package/dist/components/json-schema-form-array-add-menu.d.ts +10 -0
  95. package/dist/components/json-schema-form-array-add-menu.d.ts.map +1 -0
  96. package/dist/components/json-schema-form-array-add-menu.js +44 -0
  97. package/dist/components/json-schema-form-array-add-menu.js.map +1 -0
  98. package/dist/components/json-schema-form-exclusive-key-select.cjs +28 -0
  99. package/dist/components/json-schema-form-exclusive-key-select.cjs.map +1 -0
  100. package/dist/components/json-schema-form-exclusive-key-select.d.ts +12 -0
  101. package/dist/components/json-schema-form-exclusive-key-select.d.ts.map +1 -0
  102. package/dist/components/json-schema-form-exclusive-key-select.js +28 -0
  103. package/dist/components/json-schema-form-exclusive-key-select.js.map +1 -0
  104. package/dist/components/json-schema-form-exclusive-keys.cjs +23 -0
  105. package/dist/components/json-schema-form-exclusive-keys.cjs.map +1 -0
  106. package/dist/components/json-schema-form-exclusive-keys.d.ts +8 -0
  107. package/dist/components/json-schema-form-exclusive-keys.d.ts.map +1 -0
  108. package/dist/components/json-schema-form-exclusive-keys.js +22 -0
  109. package/dist/components/json-schema-form-exclusive-keys.js.map +1 -0
  110. package/dist/components/json-schema-form-layout.cjs +18 -5
  111. package/dist/components/json-schema-form-layout.cjs.map +1 -1
  112. package/dist/components/json-schema-form-layout.d.ts +3 -1
  113. package/dist/components/json-schema-form-layout.d.ts.map +1 -1
  114. package/dist/components/json-schema-form-layout.js +19 -6
  115. package/dist/components/json-schema-form-layout.js.map +1 -1
  116. package/dist/components/json-schema-form-object-array-view.cjs +13 -7
  117. package/dist/components/json-schema-form-object-array-view.cjs.map +1 -1
  118. package/dist/components/json-schema-form-object-array-view.d.ts.map +1 -1
  119. package/dist/components/json-schema-form-object-array-view.js +13 -7
  120. package/dist/components/json-schema-form-object-array-view.js.map +1 -1
  121. package/dist/components/json-schema-form-object.cjs +6 -0
  122. package/dist/components/json-schema-form-object.cjs.map +1 -1
  123. package/dist/components/json-schema-form-object.d.ts.map +1 -1
  124. package/dist/components/json-schema-form-object.js +6 -0
  125. package/dist/components/json-schema-form-object.js.map +1 -1
  126. package/dist/components/json-schema-form-render.cjs +56 -35
  127. package/dist/components/json-schema-form-render.cjs.map +1 -1
  128. package/dist/components/json-schema-form-render.d.ts +1 -0
  129. package/dist/components/json-schema-form-render.d.ts.map +1 -1
  130. package/dist/components/json-schema-form-render.js +56 -35
  131. package/dist/components/json-schema-form-render.js.map +1 -1
  132. package/dist/components/json-schema-form-resolve.cjs +1 -0
  133. package/dist/components/json-schema-form-resolve.cjs.map +1 -1
  134. package/dist/components/json-schema-form-resolve.d.ts +2 -1
  135. package/dist/components/json-schema-form-resolve.d.ts.map +1 -1
  136. package/dist/components/json-schema-form-resolve.js +1 -1
  137. package/dist/components/json-schema-form-resolve.js.map +1 -1
  138. package/dist/components/json-schema-form-runtime-types.d.ts +8 -0
  139. package/dist/components/json-schema-form-runtime-types.d.ts.map +1 -1
  140. package/dist/components/json-schema-form-section-actions.cjs +12 -0
  141. package/dist/components/json-schema-form-section-actions.cjs.map +1 -0
  142. package/dist/components/json-schema-form-section-actions.d.ts +8 -0
  143. package/dist/components/json-schema-form-section-actions.d.ts.map +1 -0
  144. package/dist/components/json-schema-form-section-actions.js +11 -0
  145. package/dist/components/json-schema-form-section-actions.js.map +1 -0
  146. package/dist/components/json-schema-form-sibling-prefix.cjs +23 -0
  147. package/dist/components/json-schema-form-sibling-prefix.cjs.map +1 -0
  148. package/dist/components/json-schema-form-sibling-prefix.d.ts +9 -0
  149. package/dist/components/json-schema-form-sibling-prefix.d.ts.map +1 -0
  150. package/dist/components/json-schema-form-sibling-prefix.js +23 -0
  151. package/dist/components/json-schema-form-sibling-prefix.js.map +1 -0
  152. package/dist/components/json-schema-form-sibling-select.cjs +25 -0
  153. package/dist/components/json-schema-form-sibling-select.cjs.map +1 -0
  154. package/dist/components/json-schema-form-sibling-select.d.ts +9 -0
  155. package/dist/components/json-schema-form-sibling-select.d.ts.map +1 -0
  156. package/dist/components/json-schema-form-sibling-select.js +25 -0
  157. package/dist/components/json-schema-form-sibling-select.js.map +1 -0
  158. package/dist/components/json-schema-form-table-array.cjs +4 -3
  159. package/dist/components/json-schema-form-table-array.cjs.map +1 -1
  160. package/dist/components/json-schema-form-table-array.js +4 -3
  161. package/dist/components/json-schema-form-table-array.js.map +1 -1
  162. package/dist/components/json-schema-form-tags-combobox.cjs +54 -24
  163. package/dist/components/json-schema-form-tags-combobox.cjs.map +1 -1
  164. package/dist/components/json-schema-form-tags-combobox.d.ts.map +1 -1
  165. package/dist/components/json-schema-form-tags-combobox.js +55 -25
  166. package/dist/components/json-schema-form-tags-combobox.js.map +1 -1
  167. package/dist/components.cjs +2 -0
  168. package/dist/components.d.ts +2 -1
  169. package/dist/components.d.ts.map +1 -1
  170. package/dist/components.js +2 -1
  171. package/dist/data/LogViewer.cjs +90 -19
  172. package/dist/data/LogViewer.cjs.map +1 -1
  173. package/dist/data/LogViewer.d.ts +9 -5
  174. package/dist/data/LogViewer.d.ts.map +1 -1
  175. package/dist/data/LogViewer.js +91 -20
  176. package/dist/data/LogViewer.js.map +1 -1
  177. package/dist/data/TaskProgress.cjs +5 -5
  178. package/dist/data/TaskProgress.cjs.map +1 -1
  179. package/dist/data/TaskProgress.js +5 -5
  180. package/dist/data/TaskProgress.js.map +1 -1
  181. package/dist/data/ai/SessionChatComposer.cjs +44 -22
  182. package/dist/data/ai/SessionChatComposer.cjs.map +1 -1
  183. package/dist/data/ai/SessionChatComposer.d.ts.map +1 -1
  184. package/dist/data/ai/SessionChatComposer.js +44 -22
  185. package/dist/data/ai/SessionChatComposer.js.map +1 -1
  186. package/dist/data/ai/SessionInspector.cjs +1 -1
  187. package/dist/data/ai/SessionInspector.cjs.map +1 -1
  188. package/dist/data/ai/SessionInspector.d.ts.map +1 -1
  189. package/dist/data/ai/SessionInspector.host-tabs.cjs +12 -0
  190. package/dist/data/ai/SessionInspector.host-tabs.cjs.map +1 -1
  191. package/dist/data/ai/SessionInspector.host-tabs.d.ts +4 -1
  192. package/dist/data/ai/SessionInspector.host-tabs.d.ts.map +1 -1
  193. package/dist/data/ai/SessionInspector.host-tabs.js +12 -1
  194. package/dist/data/ai/SessionInspector.host-tabs.js.map +1 -1
  195. package/dist/data/ai/SessionInspector.js +2 -2
  196. package/dist/data/ai/SessionInspector.js.map +1 -1
  197. package/dist/data/ai/SessionInspector.legacy.cjs +1 -1
  198. package/dist/data/ai/SessionInspector.legacy.cjs.map +1 -1
  199. package/dist/data/ai/SessionInspector.legacy.d.ts.map +1 -1
  200. package/dist/data/ai/SessionInspector.legacy.js +2 -2
  201. package/dist/data/ai/SessionInspector.legacy.js.map +1 -1
  202. package/dist/data/ai/SessionInspector.transcript.cjs +5 -19
  203. package/dist/data/ai/SessionInspector.transcript.cjs.map +1 -1
  204. package/dist/data/ai/SessionInspector.transcript.d.ts.map +1 -1
  205. package/dist/data/ai/SessionInspector.transcript.js +6 -20
  206. package/dist/data/ai/SessionInspector.transcript.js.map +1 -1
  207. package/dist/data/ai/SessionPicker.cjs +159 -0
  208. package/dist/data/ai/SessionPicker.cjs.map +1 -0
  209. package/dist/data/ai/SessionPicker.d.ts +39 -0
  210. package/dist/data/ai/SessionPicker.d.ts.map +1 -0
  211. package/dist/data/ai/SessionPicker.js +159 -0
  212. package/dist/data/ai/SessionPicker.js.map +1 -0
  213. package/dist/data/ai/SessionPicker.model.cjs +21 -0
  214. package/dist/data/ai/SessionPicker.model.cjs.map +1 -0
  215. package/dist/data/ai/SessionPicker.model.d.ts +26 -0
  216. package/dist/data/ai/SessionPicker.model.d.ts.map +1 -0
  217. package/dist/data/ai/SessionPicker.model.js +20 -0
  218. package/dist/data/ai/SessionPicker.model.js.map +1 -0
  219. package/dist/data/ai/SessionTail.cjs +25 -15
  220. package/dist/data/ai/SessionTail.cjs.map +1 -1
  221. package/dist/data/ai/SessionTail.d.ts.map +1 -1
  222. package/dist/data/ai/SessionTail.js +25 -15
  223. package/dist/data/ai/SessionTail.js.map +1 -1
  224. package/dist/data/ai/SessionViewer.input.cjs +59 -1
  225. package/dist/data/ai/SessionViewer.input.cjs.map +1 -1
  226. package/dist/data/ai/SessionViewer.input.d.ts +22 -0
  227. package/dist/data/ai/SessionViewer.input.d.ts.map +1 -1
  228. package/dist/data/ai/SessionViewer.input.js +58 -2
  229. package/dist/data/ai/SessionViewer.input.js.map +1 -1
  230. package/dist/data/ai/SessionViewer.rows.cjs +10 -3
  231. package/dist/data/ai/SessionViewer.rows.cjs.map +1 -1
  232. package/dist/data/ai/SessionViewer.rows.d.ts.map +1 -1
  233. package/dist/data/ai/SessionViewer.rows.js +11 -4
  234. package/dist/data/ai/SessionViewer.rows.js.map +1 -1
  235. package/dist/data/ai/SessionViewer.tool-details.cjs +35 -0
  236. package/dist/data/ai/SessionViewer.tool-details.cjs.map +1 -1
  237. package/dist/data/ai/SessionViewer.tool-details.d.ts +10 -1
  238. package/dist/data/ai/SessionViewer.tool-details.d.ts.map +1 -1
  239. package/dist/data/ai/SessionViewer.tool-details.js +35 -1
  240. package/dist/data/ai/SessionViewer.tool-details.js.map +1 -1
  241. package/dist/data/ai/SessionViewer.tool-row.cjs +5 -1
  242. package/dist/data/ai/SessionViewer.tool-row.cjs.map +1 -1
  243. package/dist/data/ai/SessionViewer.tool-row.d.ts.map +1 -1
  244. package/dist/data/ai/SessionViewer.tool-row.js +7 -3
  245. package/dist/data/ai/SessionViewer.tool-row.js.map +1 -1
  246. package/dist/data/ai/index.d.ts +2 -0
  247. package/dist/data/ai/index.d.ts.map +1 -1
  248. package/dist/data/git/GitChangeList.cjs +40 -7
  249. package/dist/data/git/GitChangeList.cjs.map +1 -1
  250. package/dist/data/git/GitChangeList.d.ts +3 -0
  251. package/dist/data/git/GitChangeList.d.ts.map +1 -1
  252. package/dist/data/git/GitChangeList.js +40 -7
  253. package/dist/data/git/GitChangeList.js.map +1 -1
  254. package/dist/data/git/pickers/GitFilePicker.cjs +19 -7
  255. package/dist/data/git/pickers/GitFilePicker.cjs.map +1 -1
  256. package/dist/data/git/pickers/GitFilePicker.d.ts +4 -2
  257. package/dist/data/git/pickers/GitFilePicker.d.ts.map +1 -1
  258. package/dist/data/git/pickers/GitFilePicker.js +19 -7
  259. package/dist/data/git/pickers/GitFilePicker.js.map +1 -1
  260. package/dist/data/git/pickers/GitPickers.cjs +3 -3
  261. package/dist/data/git/pickers/GitPickers.cjs.map +1 -1
  262. package/dist/data/git/pickers/GitPickers.js +3 -3
  263. package/dist/data/git/pickers/GitPickers.js.map +1 -1
  264. package/dist/data/git/pickers/GitPickersDemo.d.ts.map +1 -1
  265. package/dist/data/git/pickers/GitSourcePicker.cjs +11 -4
  266. package/dist/data/git/pickers/GitSourcePicker.cjs.map +1 -1
  267. package/dist/data/git/pickers/GitSourcePicker.d.ts +4 -2
  268. package/dist/data/git/pickers/GitSourcePicker.d.ts.map +1 -1
  269. package/dist/data/git/pickers/GitSourcePicker.js +11 -4
  270. package/dist/data/git/pickers/GitSourcePicker.js.map +1 -1
  271. package/dist/data/git/pickers/ReferencePicker.cjs +27 -3
  272. package/dist/data/git/pickers/ReferencePicker.cjs.map +1 -1
  273. package/dist/data/git/pickers/ReferencePicker.d.ts.map +1 -1
  274. package/dist/data/git/pickers/ReferencePicker.js +27 -3
  275. package/dist/data/git/pickers/ReferencePicker.js.map +1 -1
  276. package/dist/data/git/pickers/RepositoryCatalogPicker.cjs +2 -1
  277. package/dist/data/git/pickers/RepositoryCatalogPicker.cjs.map +1 -1
  278. package/dist/data/git/pickers/RepositoryCatalogPicker.d.ts +3 -2
  279. package/dist/data/git/pickers/RepositoryCatalogPicker.d.ts.map +1 -1
  280. package/dist/data/git/pickers/RepositoryCatalogPicker.js +2 -1
  281. package/dist/data/git/pickers/RepositoryCatalogPicker.js.map +1 -1
  282. package/dist/data/git/pickers/types.d.ts +7 -0
  283. package/dist/data/git/pickers/types.d.ts.map +1 -1
  284. package/dist/data/lint/LintList.cjs +89 -89
  285. package/dist/data/lint/LintList.cjs.map +1 -1
  286. package/dist/data/lint/LintList.d.ts +3 -2
  287. package/dist/data/lint/LintList.d.ts.map +1 -1
  288. package/dist/data/lint/LintList.js +90 -90
  289. package/dist/data/lint/LintList.js.map +1 -1
  290. package/dist/data/log-sections.cjs +152 -21
  291. package/dist/data/log-sections.cjs.map +1 -1
  292. package/dist/data/log-sections.d.ts +31 -6
  293. package/dist/data/log-sections.d.ts.map +1 -1
  294. package/dist/data/log-sections.js +151 -22
  295. package/dist/data/log-sections.js.map +1 -1
  296. package/dist/data/test-runner/TestDetailPanel.cjs +1 -1
  297. package/dist/data/test-runner/TestDetailPanel.cjs.map +1 -1
  298. package/dist/data/test-runner/TestDetailPanel.js +1 -1
  299. package/dist/data/test-runner/TestDetailPanel.js.map +1 -1
  300. package/dist/data/test-runner/TestFailureDetail.cjs +10 -8
  301. package/dist/data/test-runner/TestFailureDetail.cjs.map +1 -1
  302. package/dist/data/test-runner/TestFailureDetail.d.ts +3 -2
  303. package/dist/data/test-runner/TestFailureDetail.d.ts.map +1 -1
  304. package/dist/data/test-runner/TestFailureDetail.js +10 -8
  305. package/dist/data/test-runner/TestFailureDetail.js.map +1 -1
  306. package/dist/data/test-runner/TestTreeNode.cjs +9 -4
  307. package/dist/data/test-runner/TestTreeNode.cjs.map +1 -1
  308. package/dist/data/test-runner/TestTreeNode.d.ts.map +1 -1
  309. package/dist/data/test-runner/TestTreeNode.js +9 -4
  310. package/dist/data/test-runner/TestTreeNode.js.map +1 -1
  311. package/dist/data/test-runner/attempts.cjs +2 -1
  312. package/dist/data/test-runner/attempts.cjs.map +1 -1
  313. package/dist/data/test-runner/attempts.d.ts.map +1 -1
  314. package/dist/data/test-runner/attempts.js +2 -1
  315. package/dist/data/test-runner/attempts.js.map +1 -1
  316. package/dist/data/test-runner/copy.cjs +1 -2
  317. package/dist/data/test-runner/copy.cjs.map +1 -1
  318. package/dist/data/test-runner/copy.d.ts.map +1 -1
  319. package/dist/data/test-runner/copy.js +1 -2
  320. package/dist/data/test-runner/copy.js.map +1 -1
  321. package/dist/data/test-runner/types.d.ts +3 -0
  322. package/dist/data/test-runner/types.d.ts.map +1 -1
  323. package/dist/data/traces/GoProfileView.cjs +10 -7
  324. package/dist/data/traces/GoProfileView.cjs.map +1 -1
  325. package/dist/data/traces/GoProfileView.d.ts.map +1 -1
  326. package/dist/data/traces/GoProfileView.js +10 -7
  327. package/dist/data/traces/GoProfileView.js.map +1 -1
  328. package/dist/data/verification/adapters.cjs +1 -0
  329. package/dist/data/verification/adapters.cjs.map +1 -1
  330. package/dist/data/verification/adapters.d.ts.map +1 -1
  331. package/dist/data/verification/adapters.js +1 -0
  332. package/dist/data/verification/adapters.js.map +1 -1
  333. package/dist/data/version-info.cjs +3 -3
  334. package/dist/data/version-info.js +3 -3
  335. package/dist/data.cjs +2 -2
  336. package/dist/data.d.ts +1 -1
  337. package/dist/data.d.ts.map +1 -1
  338. package/dist/data.js +2 -2
  339. package/dist/index.cjs +8 -1
  340. package/dist/index.js +5 -2
  341. package/dist/runtime/barrels.json +6604 -6582
  342. package/dist/runtime/importmap.json +2129 -2120
  343. package/dist/styles.css +1 -1
  344. package/package.json +1 -1
  345. package/dist/comments/gavel/CommentInboxReview.cjs +0 -169
  346. package/dist/comments/gavel/CommentInboxReview.cjs.map +0 -1
  347. package/dist/comments/gavel/CommentInboxReview.d.ts +0 -20
  348. package/dist/comments/gavel/CommentInboxReview.d.ts.map +0 -1
  349. package/dist/comments/gavel/CommentInboxReview.js +0 -169
  350. package/dist/comments/gavel/CommentInboxReview.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"GoProfileView.d.ts","sourceRoot":"","sources":["../../../src/data/traces/GoProfileView.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAc,MAAM,SAAS,CAAC;AAkD1E,MAAM,MAAM,oBAAoB,GAAG;IACjC,0GAA0G;IAC1G,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,yDAAyD;IACzD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,IAAoB,EAAE,SAAS,EAAE,EAAE,oBAAoB,+BAqHjG;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,uGAAuG;IACvG,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,+FAA+F;IAC/F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAsBF;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,kBAAkB,+BAuCzF"}
1
+ {"version":3,"file":"GoProfileView.d.ts","sourceRoot":"","sources":["../../../src/data/traces/GoProfileView.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAc,MAAM,SAAS,CAAC;AAqD1E,MAAM,MAAM,oBAAoB,GAAG;IACjC,0GAA0G;IAC1G,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,yDAAyD;IACzD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,IAAoB,EAAE,SAAS,EAAE,EAAE,oBAAoB,+BAqHjG;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,uGAAuG;IACvG,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,+FAA+F;IAC/F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAsBF;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,kBAAkB,+BAuCzF"}
@@ -38,13 +38,16 @@ function DrillDown({ samples, sampleType, unit, func, total }) {
38
38
  ]
39
39
  }), /* @__PURE__ */ jsx("ol", {
40
40
  className: "space-y-0.5 font-mono text-[11px] leading-4",
41
- children: stack.frames.map((frame, depth) => /* @__PURE__ */ jsxs("li", {
42
- className: cn("break-all", frame.func === func ? "font-semibold text-foreground" : "text-muted-foreground"),
43
- children: [frame.func, frameLocation(frame) && /* @__PURE__ */ jsx("span", {
44
- className: "ml-2 text-[10px] font-normal opacity-80",
45
- children: frameLocation(frame)
46
- })]
47
- }, depth))
41
+ children: stack.frames.map((frame, depth) => {
42
+ const location = frameLocation(frame).split(/[\\/]/).at(-1);
43
+ return /* @__PURE__ */ jsxs("li", {
44
+ className: cn("break-all", frame.func === func ? "font-semibold text-foreground" : "text-muted-foreground"),
45
+ children: [frame.func, location && /* @__PURE__ */ jsx("span", {
46
+ className: "ml-2 text-[10px] font-normal opacity-80",
47
+ children: location
48
+ })]
49
+ }, depth);
50
+ })
48
51
  })]
49
52
  }, index))
50
53
  });
@@ -1 +1 @@
1
- {"version":3,"file":"GoProfileView.js","names":[],"sources":["../../../src/data/traces/GoProfileView.tsx"],"sourcesContent":["import { Fragment, useMemo, useState } from \"react\";\nimport { Select } from \"../../components/select\";\nimport { UiChevronDown, UiChevronRight } from \"../../icons\";\nimport { cn } from \"../../lib/utils\";\nimport { Icon } from \"../Icon\";\nimport {\n aggregateProfile,\n formatProfileValue,\n profileValueTypes,\n stacksThrough,\n type ProfileFunctionRow,\n} from \"./profile-aggregate\";\nimport { formatProcessTimestamp } from \"./process-tree\";\nimport type { GoProfileRecord, ProfileSample, StackFrame } from \"./types\";\n\nconst DEFAULT_TOP_N = 20;\nconst DRILL_DOWN_STACKS = 5;\n\ntype SortKey = \"flat\" | \"cum\";\n\nfunction frameLocation(frame: StackFrame): string {\n return frame.file ? `${frame.file}${frame.line ? `:${frame.line}` : \"\"}` : \"\";\n}\n\nfunction Percent({ value, total }: { value: number; total: number }) {\n return <span className=\"text-muted-foreground\">{total > 0 ? `${((value / total) * 100).toFixed(1)}%` : \"—\"}</span>;\n}\n\nfunction DrillDown({\n samples,\n sampleType,\n unit,\n func,\n total,\n}: {\n samples: ProfileSample[];\n sampleType: string;\n unit: string;\n func: string;\n total: number;\n}) {\n const stacks = stacksThrough(samples, sampleType, func, DRILL_DOWN_STACKS);\n return (\n <div className=\"space-y-density-2\" data-profile-stacks={func}>\n {stacks.map((stack, index) => (\n <div key={index} className=\"rounded border border-border bg-muted/30 p-density-2\">\n <div className=\"mb-1 text-[11px] text-muted-foreground\">\n {formatProfileValue(stack.value, unit)} <Percent value={stack.value} total={total} />\n </div>\n <ol className=\"space-y-0.5 font-mono text-[11px] leading-4\">\n {stack.frames.map((frame, depth) => (\n <li key={depth} className={cn(\"break-all\", frame.func === func ? \"font-semibold text-foreground\" : \"text-muted-foreground\")}>\n {frame.func}\n {frameLocation(frame) && <span className=\"ml-2 text-[10px] font-normal opacity-80\">{frameLocation(frame)}</span>}\n </li>\n ))}\n </ol>\n </div>\n ))}\n </div>\n );\n}\n\nexport type ProfileTopTableProps = {\n /** Samples of any profile: a value of some type and unit attributed to a stack, innermost frame first. */\n samples: ProfileSample[];\n /** Functions shown before \"Show all\"; defaults to 20. */\n topN?: number;\n className?: string;\n};\n\n/**\n * The heaviest functions of a profile: a table by flat value (the innermost\n * frame) and cumulative value (anywhere in the stack), sortable by either, per\n * sample type, with a drill-down from a function to the stacks that reach it.\n * Not specific to Go: any samples of a value, a unit and a stack fit.\n */\nexport function ProfileTopTable({ samples, topN = DEFAULT_TOP_N, className }: ProfileTopTableProps) {\n const types = useMemo(() => profileValueTypes(samples), [samples]);\n // pprof's default sample index is its last value type: cpu, inuse_space.\n const [picked, setPicked] = useState<string | null>(null);\n const sampleType = types.find((type) => type.sampleType === picked)?.sampleType ?? types[types.length - 1]?.sampleType;\n const [sortKey, setSortKey] = useState<SortKey>(\"flat\");\n const [showAll, setShowAll] = useState(false);\n const [open, setOpen] = useState<string | null>(null);\n const aggregate = useMemo(() => (sampleType ? aggregateProfile(samples, sampleType) : undefined), [samples, sampleType]);\n\n if (!sampleType || !aggregate) {\n return <div className=\"text-sm text-muted-foreground\">The profile has no samples</div>;\n }\n\n const sorted: ProfileFunctionRow[] =\n sortKey === \"flat\" ? aggregate.functions : [...aggregate.functions].sort((a, b) => b.cum - a.cum || b.flat - a.flat);\n const shown = showAll ? sorted : sorted.slice(0, topN);\n const sortHeader = (key: SortKey, label: string) => (\n <th scope=\"col\" className=\"px-2 py-1 text-right font-medium\" aria-sort={sortKey === key ? \"descending\" : \"none\"}>\n <button type=\"button\" className={cn(\"hover:text-foreground\", sortKey === key && \"text-foreground\")} onClick={() => setSortKey(key)}>\n {label}\n </button>\n </th>\n );\n\n return (\n <div className={cn(\"space-y-density-2\", className)} data-profile-top=\"\">\n <div className=\"flex flex-wrap items-center justify-between gap-density-2 text-xs text-muted-foreground\">\n <span>\n Total {formatProfileValue(aggregate.total, aggregate.unit)} across {aggregate.functions.length} functions\n </span>\n {types.length > 1 && (\n <div className=\"min-w-[12rem]\">\n <Select\n aria-label=\"Sample type\"\n value={sampleType}\n onChange={(event) => {\n setPicked(event.target.value);\n setOpen(null);\n }}\n options={types.map((type) => ({ value: type.sampleType, label: `${type.sampleType} (${type.unit})` }))}\n />\n </div>\n )}\n </div>\n <table className=\"w-full table-fixed border-collapse text-xs\">\n <thead className=\"text-muted-foreground\">\n <tr className=\"border-b border-border\">\n <th scope=\"col\" className=\"px-2 py-1 text-left font-medium\">\n Function\n </th>\n {sortHeader(\"flat\", \"Flat\")}\n <th scope=\"col\" className=\"w-16 px-2 py-1 text-right font-medium\">\n Flat %\n </th>\n {sortHeader(\"cum\", \"Cum\")}\n <th scope=\"col\" className=\"w-16 px-2 py-1 text-right font-medium\">\n Cum %\n </th>\n </tr>\n </thead>\n <tbody>\n {shown.map((row) => {\n const expanded = open === row.func;\n return (\n <Fragment key={row.func}>\n <tr className=\"border-b border-border/60 hover:bg-muted/40\" data-profile-function={row.func}>\n <td className=\"px-2 py-1\">\n <button\n type=\"button\"\n aria-expanded={expanded}\n className=\"flex w-full items-start gap-1 text-left\"\n onClick={() => setOpen(expanded ? null : row.func)}\n >\n <Icon icon={expanded ? UiChevronDown : UiChevronRight} className=\"mt-0.5 shrink-0 text-[11px]\" />\n <span className=\"min-w-0\">\n <span className=\"block break-all font-mono text-[11px] font-semibold\">{row.func}</span>\n {frameLocation(row) && (\n <span className=\"block break-all text-[10px] text-muted-foreground\">{frameLocation(row)}</span>\n )}\n </span>\n </button>\n </td>\n <td className=\"px-2 py-1 text-right tabular-nums\">{formatProfileValue(row.flat, aggregate.unit)}</td>\n <td className=\"px-2 py-1 text-right tabular-nums\">\n <Percent value={row.flat} total={aggregate.total} />\n </td>\n <td className=\"px-2 py-1 text-right tabular-nums\">{formatProfileValue(row.cum, aggregate.unit)}</td>\n <td className=\"px-2 py-1 text-right tabular-nums\">\n <Percent value={row.cum} total={aggregate.total} />\n </td>\n </tr>\n {expanded && (\n <tr>\n <td colSpan={5} className=\"px-2 py-density-2\">\n <DrillDown\n samples={samples}\n sampleType={sampleType}\n unit={aggregate.unit}\n func={row.func}\n total={aggregate.total}\n />\n </td>\n </tr>\n )}\n </Fragment>\n );\n })}\n </tbody>\n </table>\n {!showAll && sorted.length > shown.length && (\n <button type=\"button\" className=\"text-xs text-primary hover:underline\" onClick={() => setShowAll(true)}>\n Show all {sorted.length} functions\n </button>\n )}\n </div>\n );\n}\n\nexport type GoProfileViewProps = {\n /** `goprof` records, possibly of several checkpoints and processes; those of one process are shown. */\n records: GoProfileRecord[];\n /** The `process_tree` key whose profiles to show; required when the records span processes. */\n processKey?: string;\n topN?: number;\n className?: string;\n};\n\ntype ProfileCheckpoint = { checkpointId: string; takenAt: string; reason: string; source: string; profile: string; records: GoProfileRecord[] };\n\nfunction profileCheckpoints(records: GoProfileRecord[]): ProfileCheckpoint[] {\n const groups = new Map<string, GoProfileRecord[]>();\n for (const record of records) groups.set(record.checkpointId, [...(groups.get(record.checkpointId) ?? []), record]);\n return [...groups]\n .map(([checkpointId, group]): ProfileCheckpoint => {\n const [first] = group as [GoProfileRecord, ...GoProfileRecord[]];\n return {\n checkpointId,\n takenAt: first.takenAt,\n reason: first.reason,\n source: first.source,\n profile: first.profile,\n records: group,\n };\n })\n .sort((a, b) => Date.parse(a.takenAt) - Date.parse(b.takenAt));\n}\n\n/**\n * A Go pprof profile as the `goprof` kind stores it: the checkpoint chooser\n * (profile type, source and time; the latest by default) over a top-N table of\n * functions by flat and cumulative value with a frames drill-down. Props-only.\n */\nexport function GoProfileView({ records, processKey, topN, className }: GoProfileViewProps) {\n const keys = useMemo(() => new Set(records.map((record) => record.key)), [records]);\n if (keys.size > 1 && processKey === undefined) {\n throw new Error(`GoProfileView got records of ${keys.size} processes; pass processKey to choose one`);\n }\n const own = useMemo(\n () => (processKey === undefined ? records : records.filter((record) => record.key === processKey)),\n [records, processKey],\n );\n const checkpoints = useMemo(() => profileCheckpoints(own), [own]);\n const [picked, setPicked] = useState<string | null>(null);\n const selected = checkpoints.find((checkpoint) => checkpoint.checkpointId === picked) ?? checkpoints[checkpoints.length - 1];\n\n if (!selected) return <div className=\"text-sm text-muted-foreground\">No profile collected yet</div>;\n\n return (\n <div className={cn(\"space-y-density-2\", className)} data-go-profile={selected.profile}>\n {checkpoints.length > 1 ? (\n <div className=\"max-w-md\">\n <Select\n aria-label=\"Profile checkpoint\"\n value={selected.checkpointId}\n onChange={(event) => setPicked(event.target.value)}\n options={[...checkpoints].reverse().map((checkpoint) => ({\n value: checkpoint.checkpointId,\n label: [formatProcessTimestamp(checkpoint.takenAt), checkpoint.profile, checkpoint.reason, checkpoint.source]\n .filter(Boolean)\n .join(\" · \"),\n }))}\n />\n </div>\n ) : (\n <div className=\"text-xs text-muted-foreground\">\n {[selected.profile, formatProcessTimestamp(selected.takenAt), selected.reason, selected.source].filter(Boolean).join(\" · \")}\n </div>\n )}\n <ProfileTopTable key={selected.checkpointId} samples={selected.records} {...(topN !== undefined ? { topN } : {})} />\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;AAeA,IAAM,gBAAgB;AACtB,IAAM,oBAAoB;AAI1B,SAAS,cAAc,OAA2B;CAChD,OAAO,MAAM,OAAO,GAAG,MAAM,OAAO,MAAM,OAAO,IAAI,MAAM,SAAS,OAAO;AAC7E;AAEA,SAAS,QAAQ,EAAE,OAAO,SAA2C;CACnE,OAAO,oBAA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,CAAC;EAAK,GAA7F,SAAS,YAAoF,CAChH;;AAET"}
1
+ {"version":3,"file":"GoProfileView.js","names":[],"sources":["../../../src/data/traces/GoProfileView.tsx"],"sourcesContent":["import { Fragment, useMemo, useState } from \"react\";\nimport { Select } from \"../../components/select\";\nimport { UiChevronDown, UiChevronRight } from \"../../icons\";\nimport { cn } from \"../../lib/utils\";\nimport { Icon } from \"../Icon\";\nimport {\n aggregateProfile,\n formatProfileValue,\n profileValueTypes,\n stacksThrough,\n type ProfileFunctionRow,\n} from \"./profile-aggregate\";\nimport { formatProcessTimestamp } from \"./process-tree\";\nimport type { GoProfileRecord, ProfileSample, StackFrame } from \"./types\";\n\nconst DEFAULT_TOP_N = 20;\nconst DRILL_DOWN_STACKS = 5;\n\ntype SortKey = \"flat\" | \"cum\";\n\nfunction frameLocation(frame: StackFrame): string {\n return frame.file ? `${frame.file}${frame.line ? `:${frame.line}` : \"\"}` : \"\";\n}\n\nfunction Percent({ value, total }: { value: number; total: number }) {\n return <span className=\"text-muted-foreground\">{total > 0 ? `${((value / total) * 100).toFixed(1)}%` : \"—\"}</span>;\n}\n\nfunction DrillDown({\n samples,\n sampleType,\n unit,\n func,\n total,\n}: {\n samples: ProfileSample[];\n sampleType: string;\n unit: string;\n func: string;\n total: number;\n}) {\n const stacks = stacksThrough(samples, sampleType, func, DRILL_DOWN_STACKS);\n return (\n <div className=\"space-y-density-2\" data-profile-stacks={func}>\n {stacks.map((stack, index) => (\n <div key={index} className=\"rounded border border-border bg-muted/30 p-density-2\">\n <div className=\"mb-1 text-[11px] text-muted-foreground\">\n {formatProfileValue(stack.value, unit)} <Percent value={stack.value} total={total} />\n </div>\n <ol className=\"space-y-0.5 font-mono text-[11px] leading-4\">\n {stack.frames.map((frame, depth) => {\n const location = frameLocation(frame).split(/[\\\\/]/).at(-1);\n return (\n <li key={depth} className={cn(\"break-all\", frame.func === func ? \"font-semibold text-foreground\" : \"text-muted-foreground\")}>\n {frame.func}\n {location && <span className=\"ml-2 text-[10px] font-normal opacity-80\">{location}</span>}\n </li>\n );\n })}\n </ol>\n </div>\n ))}\n </div>\n );\n}\n\nexport type ProfileTopTableProps = {\n /** Samples of any profile: a value of some type and unit attributed to a stack, innermost frame first. */\n samples: ProfileSample[];\n /** Functions shown before \"Show all\"; defaults to 20. */\n topN?: number;\n className?: string;\n};\n\n/**\n * The heaviest functions of a profile: a table by flat value (the innermost\n * frame) and cumulative value (anywhere in the stack), sortable by either, per\n * sample type, with a drill-down from a function to the stacks that reach it.\n * Not specific to Go: any samples of a value, a unit and a stack fit.\n */\nexport function ProfileTopTable({ samples, topN = DEFAULT_TOP_N, className }: ProfileTopTableProps) {\n const types = useMemo(() => profileValueTypes(samples), [samples]);\n // pprof's default sample index is its last value type: cpu, inuse_space.\n const [picked, setPicked] = useState<string | null>(null);\n const sampleType = types.find((type) => type.sampleType === picked)?.sampleType ?? types[types.length - 1]?.sampleType;\n const [sortKey, setSortKey] = useState<SortKey>(\"flat\");\n const [showAll, setShowAll] = useState(false);\n const [open, setOpen] = useState<string | null>(null);\n const aggregate = useMemo(() => (sampleType ? aggregateProfile(samples, sampleType) : undefined), [samples, sampleType]);\n\n if (!sampleType || !aggregate) {\n return <div className=\"text-sm text-muted-foreground\">The profile has no samples</div>;\n }\n\n const sorted: ProfileFunctionRow[] =\n sortKey === \"flat\" ? aggregate.functions : [...aggregate.functions].sort((a, b) => b.cum - a.cum || b.flat - a.flat);\n const shown = showAll ? sorted : sorted.slice(0, topN);\n const sortHeader = (key: SortKey, label: string) => (\n <th scope=\"col\" className=\"px-2 py-1 text-right font-medium\" aria-sort={sortKey === key ? \"descending\" : \"none\"}>\n <button type=\"button\" className={cn(\"hover:text-foreground\", sortKey === key && \"text-foreground\")} onClick={() => setSortKey(key)}>\n {label}\n </button>\n </th>\n );\n\n return (\n <div className={cn(\"space-y-density-2\", className)} data-profile-top=\"\">\n <div className=\"flex flex-wrap items-center justify-between gap-density-2 text-xs text-muted-foreground\">\n <span>\n Total {formatProfileValue(aggregate.total, aggregate.unit)} across {aggregate.functions.length} functions\n </span>\n {types.length > 1 && (\n <div className=\"min-w-[12rem]\">\n <Select\n aria-label=\"Sample type\"\n value={sampleType}\n onChange={(event) => {\n setPicked(event.target.value);\n setOpen(null);\n }}\n options={types.map((type) => ({ value: type.sampleType, label: `${type.sampleType} (${type.unit})` }))}\n />\n </div>\n )}\n </div>\n <table className=\"w-full table-fixed border-collapse text-xs\">\n <thead className=\"text-muted-foreground\">\n <tr className=\"border-b border-border\">\n <th scope=\"col\" className=\"px-2 py-1 text-left font-medium\">\n Function\n </th>\n {sortHeader(\"flat\", \"Flat\")}\n <th scope=\"col\" className=\"w-16 px-2 py-1 text-right font-medium\">\n Flat %\n </th>\n {sortHeader(\"cum\", \"Cum\")}\n <th scope=\"col\" className=\"w-16 px-2 py-1 text-right font-medium\">\n Cum %\n </th>\n </tr>\n </thead>\n <tbody>\n {shown.map((row) => {\n const expanded = open === row.func;\n return (\n <Fragment key={row.func}>\n <tr className=\"border-b border-border/60 hover:bg-muted/40\" data-profile-function={row.func}>\n <td className=\"px-2 py-1\">\n <button\n type=\"button\"\n aria-expanded={expanded}\n className=\"flex w-full items-start gap-1 text-left\"\n onClick={() => setOpen(expanded ? null : row.func)}\n >\n <Icon icon={expanded ? UiChevronDown : UiChevronRight} className=\"mt-0.5 shrink-0 text-[11px]\" />\n <span className=\"min-w-0\">\n <span className=\"block break-all font-mono text-[11px] font-semibold\">{row.func}</span>\n {frameLocation(row) && (\n <span className=\"block break-all text-[10px] text-muted-foreground\">{frameLocation(row)}</span>\n )}\n </span>\n </button>\n </td>\n <td className=\"px-2 py-1 text-right tabular-nums\">{formatProfileValue(row.flat, aggregate.unit)}</td>\n <td className=\"px-2 py-1 text-right tabular-nums\">\n <Percent value={row.flat} total={aggregate.total} />\n </td>\n <td className=\"px-2 py-1 text-right tabular-nums\">{formatProfileValue(row.cum, aggregate.unit)}</td>\n <td className=\"px-2 py-1 text-right tabular-nums\">\n <Percent value={row.cum} total={aggregate.total} />\n </td>\n </tr>\n {expanded && (\n <tr>\n <td colSpan={5} className=\"px-2 py-density-2\">\n <DrillDown\n samples={samples}\n sampleType={sampleType}\n unit={aggregate.unit}\n func={row.func}\n total={aggregate.total}\n />\n </td>\n </tr>\n )}\n </Fragment>\n );\n })}\n </tbody>\n </table>\n {!showAll && sorted.length > shown.length && (\n <button type=\"button\" className=\"text-xs text-primary hover:underline\" onClick={() => setShowAll(true)}>\n Show all {sorted.length} functions\n </button>\n )}\n </div>\n );\n}\n\nexport type GoProfileViewProps = {\n /** `goprof` records, possibly of several checkpoints and processes; those of one process are shown. */\n records: GoProfileRecord[];\n /** The `process_tree` key whose profiles to show; required when the records span processes. */\n processKey?: string;\n topN?: number;\n className?: string;\n};\n\ntype ProfileCheckpoint = { checkpointId: string; takenAt: string; reason: string; source: string; profile: string; records: GoProfileRecord[] };\n\nfunction profileCheckpoints(records: GoProfileRecord[]): ProfileCheckpoint[] {\n const groups = new Map<string, GoProfileRecord[]>();\n for (const record of records) groups.set(record.checkpointId, [...(groups.get(record.checkpointId) ?? []), record]);\n return [...groups]\n .map(([checkpointId, group]): ProfileCheckpoint => {\n const [first] = group as [GoProfileRecord, ...GoProfileRecord[]];\n return {\n checkpointId,\n takenAt: first.takenAt,\n reason: first.reason,\n source: first.source,\n profile: first.profile,\n records: group,\n };\n })\n .sort((a, b) => Date.parse(a.takenAt) - Date.parse(b.takenAt));\n}\n\n/**\n * A Go pprof profile as the `goprof` kind stores it: the checkpoint chooser\n * (profile type, source and time; the latest by default) over a top-N table of\n * functions by flat and cumulative value with a frames drill-down. Props-only.\n */\nexport function GoProfileView({ records, processKey, topN, className }: GoProfileViewProps) {\n const keys = useMemo(() => new Set(records.map((record) => record.key)), [records]);\n if (keys.size > 1 && processKey === undefined) {\n throw new Error(`GoProfileView got records of ${keys.size} processes; pass processKey to choose one`);\n }\n const own = useMemo(\n () => (processKey === undefined ? records : records.filter((record) => record.key === processKey)),\n [records, processKey],\n );\n const checkpoints = useMemo(() => profileCheckpoints(own), [own]);\n const [picked, setPicked] = useState<string | null>(null);\n const selected = checkpoints.find((checkpoint) => checkpoint.checkpointId === picked) ?? checkpoints[checkpoints.length - 1];\n\n if (!selected) return <div className=\"text-sm text-muted-foreground\">No profile collected yet</div>;\n\n return (\n <div className={cn(\"space-y-density-2\", className)} data-go-profile={selected.profile}>\n {checkpoints.length > 1 ? (\n <div className=\"max-w-md\">\n <Select\n aria-label=\"Profile checkpoint\"\n value={selected.checkpointId}\n onChange={(event) => setPicked(event.target.value)}\n options={[...checkpoints].reverse().map((checkpoint) => ({\n value: checkpoint.checkpointId,\n label: [formatProcessTimestamp(checkpoint.takenAt), checkpoint.profile, checkpoint.reason, checkpoint.source]\n .filter(Boolean)\n .join(\" · \"),\n }))}\n />\n </div>\n ) : (\n <div className=\"text-xs text-muted-foreground\">\n {[selected.profile, formatProcessTimestamp(selected.takenAt), selected.reason, selected.source].filter(Boolean).join(\" · \")}\n </div>\n )}\n <ProfileTopTable key={selected.checkpointId} samples={selected.records} {...(topN !== undefined ? { topN } : {})} />\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;AAeA,IAAM,gBAAgB;AACtB,IAAM,oBAAoB;AAI1B,SAAS,cAAc,OAA2B;CAChD,OAAO,MAAM,OAAO,GAAG,MAAM,OAAO,MAAM,OAAO,IAAI,MAAM,SAAS,OAAO;AAC7E;AAEA,SAAS,QAAQ,EAAE,OAAO,SAA2C;CACnE,OAAO,oBAAC,QAAD;EAAM,WAAU;EAAyB,UAAA,QAAQ,IAAI,IAAK,QAAQ,QAAS,IAAA,CAAK,QAAQ,CAAC,EAAE,KAAK;CAAU,CAAA;AACnH;AAEA,SAAS,UAAU,EACjB,SACA,YACA,MACA,MACA,SAOC;CACD,MAAM,SAAS,cAAc,SAAS,YAAY,MAAM,iBAAiB;CACzE,OACE,oBAAC,OAAD;EAAK,WAAU;EAAoB,uBAAqB;EACrD,UAAA,OAAO,KAAK,OAAO,UAClB,qBAAC,OAAD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,GAAG,CAAC,GAAG,CAAC;CAChE,MAAM,CAAC,QAAQ,aAAa,SAAwB,IAAI;CACxD,MAAM,WAAW,YAAY,MAAM,eAAe,WAAW,iBAAiB,MAAM,KAAK,YAAY,YAAY,SAAS;CAE1H,IAAI,CAAC,UAAU,OAAO,oBAAC,OAAD;EAAK,WAAU;EAAgC,UAAA;CAA6B,CAAA;CAElG,OACE,qBAAC,OAAD;EAAK,WAAW,GAAG,qBAAqB,SAAS;EAAG,mBAAiB,SAAS;EAA9E,UAAA,CACG,YAAY,SAAS,IACpB,oBAAC,OAAD;GAAK,WAAU;GACb,UAAA,oBAAC,QAAD;IACE,cAAW;IACX,OAAO,SAAS;IAChB,WAAW,UAAU,UAAU,MAAM,OAAO,KAAK;IACjD,SAAS,CAAC,GAAG,WAAW,CAAC,CAAC,QAAQ,CAAC,CAAC,KAAK,gBAAgB;KACvD,OAAO,WAAW;KAClB,OAAO;MAAC,uBAAuB,WAAW,OAAO;MAAG,WAAW;MAAS,WAAW;MAAQ,WAAW;KAAM,CAAC,CAC1G,OAAO,OAAO,CAAC,CACf,KAAK,KAAK;IACf,EAAE;GACH,CAAA;EACE,CAAA,IAEL,oBAAC,OAAD;GAAK,WAAU;GACZ,UAAA;IAAC,SAAS;IAAS,uBAAuB,SAAS,OAAO;IAAG,SAAS;IAAQ,SAAS;GAAM,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC,KAAK,KAAK;EACvH,CAAA,GAEP,oBAAC,iBAAD;GAA6C,SAAS,SAAS;GAAS,GAAK,SAAS,KAAA,IAAY,EAAE,KAAK,IAAI,CAAC;EAAK,GAA7F,SAAS,YAAoF,CAChH;;AAET"}
@@ -207,6 +207,7 @@ function verificationAdapters(options = {}) {
207
207
  detail: { step: detail.step.step }
208
208
  };
209
209
  const waiting = node.waiting === true && index === live;
210
+ if (index === live && node.log !== void 0 && !node.running) attemptNode.log = node.log;
210
211
  return {
211
212
  id: attempt.attempt,
212
213
  status: attempt.status,
@@ -1 +1 @@
1
- {"version":3,"file":"adapters.cjs","names":["ChecklistDetail","hasStepDetail","outcomeFor","readStepDetail","readStepSource","readQuery","stepQueryCopy","stepSourceCopy","stepKindCopy","UiTerminal","stepFormState","StepRowBadge","createTestRunnerRegistry","FixtureDetail","verifyNodeTest","StepOutputs","sourceTabLabel","StepSourceSection"],"sources":["../../../src/data/verification/adapters.tsx"],"sourcesContent":["// Domain node adapters for VerificationResults: a checklist adapter for the\n// synthesized \"Acceptance criteria\" node and its items, and a fixture/CEL\n// adapter for the failing-step detail. Rendering lives in adapterViews.tsx —\n// split out so this file's only exports are the registry (react/only-export-\n// components forbids mixing component declarations with plain exports).\n\nimport type { ReactNode } from \"react\";\nimport { ChecklistDetail, FixtureDetail } from \"./adapterViews\";\nimport { StepOutputs, StepRowBadge, StepSourceSection } from \"./stepKindViews\";\nimport { verifyNodeTest } from \"./verifyReportTests\";\nimport { UiTerminal } from \"../../icons\";\nimport { hasStepDetail, readQuery, readStepDetail, stepFormState, stepKindCopy, stepQueryCopy, type WaitDetail } from \"./stepKind\";\nimport { readStepSource, sourceTabLabel, stepSourceCopy } from \"./stepSource\";\nimport {\n createTestRunnerRegistry,\n outcomeFor,\n type BriefSection,\n type CopySections,\n type FixtureContext,\n type Test,\n type TestNodeAdapter,\n type TestNodeAdapterRegistry,\n type TestOutcome,\n type TestSummary,\n} from \"../test-runner\";\n\nfunction isChecklistNode(node: Test): boolean {\n return node.framework === \"checklist\";\n}\n\nfunction checklistMark(item: Test): string {\n if (item.failed) return \"[ ]\";\n if (item.passed) return \"[x]\";\n return \"[?]\";\n}\n\n/** `- [x]/[ ]/[?] criterion — reason` for each item, or the leaf itself. */\nfunction checklistCopy(node: Test): CopySections {\n const items = node.children && node.children.length > 0 ? node.children : [node];\n const lines = items.map(\n (item) => `- ${checklistMark(item)} ${item.name}${item.message ? ` — ${item.message}` : \"\"}`,\n );\n return { brief: [{ title: \"Criteria\", body: lines.join(\"\\n\") }] };\n}\n\nconst checklistAdapter: TestNodeAdapter = {\n id: \"verification-checklist\",\n match: isChecklistNode,\n renderDetail: ({ node }) => <ChecklistDetail node={node} />,\n copy: ({ node }) => checklistCopy(node),\n};\n\n// A typed step kind (services, todo, …) may report no command or CEL context at\n// all, so `detail.step` claims the node as well. A \"fixture\" leaf is a step whose\n// result has not arrived yet (a live or background step): it carries only the\n// execution node, which FixtureDetail renders as a header. Fixture parents\n// (markdown tables, runner steps) have children and stay with the default body.\nfunction isFixtureNode(node: Test): boolean {\n if (node.context !== undefined || hasStepDetail(node.detail)) return true;\n return node.framework === \"fixture\" && (node.children?.length ?? 0) === 0;\n}\n\n// ── Copy sections for fixture steps (exec / query / table / test / lint) ───\n\nfunction readCelTrace(detail: unknown): string | undefined {\n if (detail && typeof detail === \"object\" && !Array.isArray(detail)) {\n const value = (detail as Record<string, unknown>).cel_trace;\n if (typeof value === \"string\" && value.length > 0) return value;\n }\n return undefined;\n}\n\n// Mirrors CelDetails: without a CEL gate, a command step's `actual` is the whole\n// command result object, already covered by the Command section and output.\nfunction comparisonValue(hasCelGate: boolean, value: unknown): unknown {\n if (value === undefined) return undefined;\n if (hasCelGate) return value;\n if (value !== null && typeof value === \"object\" && !Array.isArray(value)) return undefined;\n return value;\n}\n\nfunction formatValue(value: unknown): string {\n return typeof value === \"string\" ? value : JSON.stringify(value, null, 2);\n}\n\nfunction commandSection(node: Test, context: FixtureContext | undefined): BriefSection[] {\n const command = context?.command ?? node.command;\n if (!command) return [];\n const cwd = context?.cwd ?? node.work_dir;\n const exit = context?.exit_code;\n const lines = [`$ ${command}`, cwd && `cwd: ${cwd}`, exit !== undefined && `exit: ${exit}`];\n return [{ title: \"Command\", lang: \"sh\", body: lines.filter(Boolean).join(\"\\n\") }];\n}\n\nfunction assertionSection(node: Test, context: FixtureContext | undefined): BriefSection[] {\n const expression = context?.cel_expression;\n const trace = readCelTrace(node.detail);\n const hasCelGate = !!(expression || trace);\n const vars = context?.cel_vars ?? {};\n const expected = comparisonValue(hasCelGate, context?.expected);\n const actual = comparisonValue(hasCelGate, context?.actual);\n const lines = [\n expression && `expression: ${expression}`,\n trace && `trace:\\n${trace}`,\n Object.keys(vars).length > 0 && `vars: ${formatValue(vars)}`,\n expected !== undefined && `expected: ${formatValue(expected)}`,\n actual !== undefined && `actual: ${formatValue(actual)}`,\n ].filter(Boolean);\n return lines.length > 0 ? [{ title: \"Assertion\", body: lines.join(\"\\n\") }] : [];\n}\n\nconst OUTCOME_GLYPH: Record<TestOutcome, string> = {\n passed: \"✓\",\n failed: \"✗\",\n errored: \"✗\",\n timedout: \"⏱\",\n warned: \"!\",\n aborted: \"■\",\n skipped: \"-\",\n pending: \"○\",\n running: \"…\",\n};\n\nfunction childLine(child: Test): string {\n const outcome = outcomeFor(child);\n const exit = (child.context as FixtureContext | undefined)?.exit_code;\n const reason = child.message ?? (exit ? `exit ${exit}` : undefined);\n return `${outcome ? OUTCOME_GLYPH[outcome] : \"·\"} ${child.name}${reason ? ` — ${reason}` : \"\"}`;\n}\n\nfunction summaryLine(summary: TestSummary): string {\n const counts: [number | undefined, string][] = [\n [summary.Passed, \"passed\"],\n [summary.Failed, \"failed\"],\n [summary.Warned, \"warned\"],\n [summary.Timedout, \"timed out\"],\n [summary.Skipped, \"skipped\"],\n [summary.Pending, \"pending\"],\n [summary.Running, \"running\"],\n ];\n const parts = counts.filter(([n]) => !!n).map(([n, label]) => `${n} ${label}`);\n return [`${summary.Total} total`, ...parts].join(\" · \");\n}\n\nfunction resultsSection(node: Test): BriefSection[] {\n const lines = [\n ...(node.summary ? [summaryLine(node.summary)] : []),\n ...(node.children ?? []).map(childLine),\n ];\n return lines.length > 0 ? [{ title: \"Results\", body: lines.join(\"\\n\") }] : [];\n}\n\n/** Command, CEL assertion and per-child verdicts for a fixture step or its parent. */\nfunction fixtureCopy(node: Test): CopySections {\n const context = node.context as FixtureContext | undefined;\n const command = context?.command ?? node.command;\n const stepDetail = readStepDetail(node.detail);\n const source = readStepSource(node.detail);\n const query = readQuery(node.detail);\n return {\n brief: [\n ...(query.kind === \"query\" ? stepQueryCopy(query.query) : commandSection(node, context)),\n ...assertionSection(node, context),\n ...(source.kind === \"source\" ? stepSourceCopy(source.source) : []),\n ...(stepDetail.kind === \"step\" ? stepKindCopy(stepDetail.step) : []),\n ...resultsSection(node),\n ],\n items: command ? [{ label: \"Copy command\", icon: UiTerminal, value: command }] : [],\n };\n}\n\n// gavel's FixtureResult.Type values plus \"fixture\" (a markdown table of rows)\n// and the typed step kinds. Table and runner-step parents carry no `context`,\n// so the fixture adapter never claims them; this copy-only adapter gives them\n// the same sections. \"playwright\" is also a test framework, so it counts as a\n// step only when the node carries `detail.step`.\nconst FIXTURE_STEP_FRAMEWORKS = new Set([\n \"exec\",\n \"query\",\n \"fixture\",\n \"test\",\n \"lint\",\n \"verify\",\n \"services\",\n \"todo\",\n \"todo_prompt\",\n \"ai\",\n \"browser\",\n \"playwright\",\n \"agent-browser\",\n]);\n\nfunction isFixtureStepNode(node: Test): boolean {\n const framework = node.framework ?? \"\";\n if (framework === \"playwright\") return hasStepDetail(node.detail);\n return FIXTURE_STEP_FRAMEWORKS.has(framework);\n}\n\nconst fixtureStepCopyAdapter: TestNodeAdapter = {\n id: \"verification-step-copy\",\n match: isFixtureStepNode,\n copy: ({ node }) => fixtureCopy(node),\n};\n\n// Claims only the rows it badges, so a host's own row decoration still wins for every other node.\nconst stepBadgeAdapter: TestNodeAdapter = {\n id: \"verification-step-badge\",\n match: (node) => node.waiting === true || stepFormState(node) !== undefined,\n renderRowLeading: ({ node }) => <StepRowBadge node={node} />,\n};\n\n/** Default node adapters for VerificationResults: checklist items and\n * fixture/CEL steps. Registration order matters only when a node could match\n * both — a checklist node never carries a `context`, so the two never race. */\nexport type VerificationAdapterOptions = {\n /** Override the wait section while retaining the fixture's other detail sections. */\n renderWait?: (wait: WaitDetail) => ReactNode;\n /**\n * The answerable form of a step waiting on a person (`node.waiting`), shown in\n * its own section at the top of the step's detail. The host resolves which\n * pending prompt belongs to the node and answers it (e.g. with PromptForm).\n */\n renderPendingPrompt?: (node: Test) => ReactNode;\n};\n\n// The attempt a step is waiting in: it carries the step's name and task id (the\n// host finds the step's prompt by them) and `waiting`, and, when its result has\n// nothing marking it a fixture step, the step reference, so the fixture detail\n// (and its pending form) still renders it.\nfunction liveAttemptNode(step: Test, attempt: Test, ref: { id: string; kind: string }): Test {\n const live: Test = { ...attempt, name: step.name, ...(step.task_id !== undefined ? { task_id: step.task_id } : {}), waiting: true };\n if (isFixtureNode(live)) return live;\n // readStepDetail has already checked that an attempt result's detail is an object.\n return { ...live, detail: { ...(attempt.detail as Record<string, unknown> | undefined), step: ref } };\n}\n\nexport function verificationAdapters(options: VerificationAdapterOptions = {}): TestNodeAdapterRegistry {\n const fixtureAdapter: TestNodeAdapter = {\n id: \"verification-fixture\",\n match: isFixtureNode,\n renderDetail: ({ node }) => <FixtureDetail node={node} {...options} />,\n detailAttempts: ({ node }) => {\n const detail = readStepDetail(node.detail);\n if (detail.kind !== \"step\") return [];\n const live = detail.step.attempts.length - 1;\n return detail.step.attempts.map((attempt, index) => {\n const attemptNode: Test = attempt.result ? verifyNodeTest(attempt.result) : {\n name: node.name, message: `Attempt ${attempt.attempt}: execution evidence was not stored in this report.`,\n detail: { step: detail.step.step },\n };\n // The step waits in its last attempt; that one keeps the step's identity so the host finds its prompt.\n const waiting = node.waiting === true && index === live;\n return {\n id: attempt.attempt, status: attempt.status,\n ...(attempt.durationMs !== undefined ? { durationMs: attempt.durationMs } : {}),\n node: waiting ? liveAttemptNode(node, attemptNode, detail.step.step) : attemptNode,\n };\n });\n },\n detailTabs: ({ node }) => {\n const tabs = [];\n const detail = readStepDetail(node.detail);\n if (detail.kind === \"step\" && detail.step.outputs !== undefined) {\n tabs.push({ id: \"outputs\", label: \"Outputs\", render: () => <StepOutputs outputs={detail.step.outputs} /> });\n }\n const source = readStepSource(node.detail);\n if (source.kind !== \"none\") {\n tabs.push({ id: \"source\", label: sourceTabLabel(source), render: () => <StepSourceSection result={source} /> });\n }\n return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AASX,mBAAAA,eAAe,KAAK,MAAM;IACzC,IAAI,OAAO,SAAS,QAClB,KAAK,KAAK;KAAE,IAAI;KAAU,OAAOY,mBAAAA,eAAe,MAAM;KAAG,cAAc,iBAAA,GAAA,kBAAA,IAAA,CAACC,sBAAAA,mBAAD,EAAmB,QAAQ,OAAS,CAAA;IAAE,CAAC;IAEhH,OAAO;GACT;GACA,OAAO,EAAE,WAAW,YAAY,IAAI;EAEa;EAAgB;EAAwB;CAAgB,CAAC;AAC9G"}
1
+ {"version":3,"file":"adapters.cjs","names":["ChecklistDetail","hasStepDetail","outcomeFor","readStepDetail","readStepSource","readQuery","stepQueryCopy","stepSourceCopy","stepKindCopy","UiTerminal","stepFormState","StepRowBadge","createTestRunnerRegistry","FixtureDetail","verifyNodeTest","StepOutputs","sourceTabLabel","StepSourceSection"],"sources":["../../../src/data/verification/adapters.tsx"],"sourcesContent":["// Domain node adapters for VerificationResults: a checklist adapter for the\n// synthesized \"Acceptance criteria\" node and its items, and a fixture/CEL\n// adapter for the failing-step detail. Rendering lives in adapterViews.tsx —\n// split out so this file's only exports are the registry (react/only-export-\n// components forbids mixing component declarations with plain exports).\n\nimport type { ReactNode } from \"react\";\nimport { ChecklistDetail, FixtureDetail } from \"./adapterViews\";\nimport { StepOutputs, StepRowBadge, StepSourceSection } from \"./stepKindViews\";\nimport { verifyNodeTest } from \"./verifyReportTests\";\nimport { UiTerminal } from \"../../icons\";\nimport { hasStepDetail, readQuery, readStepDetail, stepFormState, stepKindCopy, stepQueryCopy, type WaitDetail } from \"./stepKind\";\nimport { readStepSource, sourceTabLabel, stepSourceCopy } from \"./stepSource\";\nimport {\n createTestRunnerRegistry,\n outcomeFor,\n type BriefSection,\n type CopySections,\n type FixtureContext,\n type Test,\n type TestNodeAdapter,\n type TestNodeAdapterRegistry,\n type TestOutcome,\n type TestSummary,\n} from \"../test-runner\";\n\nfunction isChecklistNode(node: Test): boolean {\n return node.framework === \"checklist\";\n}\n\nfunction checklistMark(item: Test): string {\n if (item.failed) return \"[ ]\";\n if (item.passed) return \"[x]\";\n return \"[?]\";\n}\n\n/** `- [x]/[ ]/[?] criterion — reason` for each item, or the leaf itself. */\nfunction checklistCopy(node: Test): CopySections {\n const items = node.children && node.children.length > 0 ? node.children : [node];\n const lines = items.map(\n (item) => `- ${checklistMark(item)} ${item.name}${item.message ? ` — ${item.message}` : \"\"}`,\n );\n return { brief: [{ title: \"Criteria\", body: lines.join(\"\\n\") }] };\n}\n\nconst checklistAdapter: TestNodeAdapter = {\n id: \"verification-checklist\",\n match: isChecklistNode,\n renderDetail: ({ node }) => <ChecklistDetail node={node} />,\n copy: ({ node }) => checklistCopy(node),\n};\n\n// A typed step kind (services, todo, …) may report no command or CEL context at\n// all, so `detail.step` claims the node as well. A \"fixture\" leaf is a step whose\n// result has not arrived yet (a live or background step): it carries only the\n// execution node, which FixtureDetail renders as a header. Fixture parents\n// (markdown tables, runner steps) have children and stay with the default body.\nfunction isFixtureNode(node: Test): boolean {\n if (node.context !== undefined || hasStepDetail(node.detail)) return true;\n return node.framework === \"fixture\" && (node.children?.length ?? 0) === 0;\n}\n\n// ── Copy sections for fixture steps (exec / query / table / test / lint) ───\n\nfunction readCelTrace(detail: unknown): string | undefined {\n if (detail && typeof detail === \"object\" && !Array.isArray(detail)) {\n const value = (detail as Record<string, unknown>).cel_trace;\n if (typeof value === \"string\" && value.length > 0) return value;\n }\n return undefined;\n}\n\n// Mirrors CelDetails: without a CEL gate, a command step's `actual` is the whole\n// command result object, already covered by the Command section and output.\nfunction comparisonValue(hasCelGate: boolean, value: unknown): unknown {\n if (value === undefined) return undefined;\n if (hasCelGate) return value;\n if (value !== null && typeof value === \"object\" && !Array.isArray(value)) return undefined;\n return value;\n}\n\nfunction formatValue(value: unknown): string {\n return typeof value === \"string\" ? value : JSON.stringify(value, null, 2);\n}\n\nfunction commandSection(node: Test, context: FixtureContext | undefined): BriefSection[] {\n const command = context?.command ?? node.command;\n if (!command) return [];\n const cwd = context?.cwd ?? node.work_dir;\n const exit = context?.exit_code;\n const lines = [`$ ${command}`, cwd && `cwd: ${cwd}`, exit !== undefined && `exit: ${exit}`];\n return [{ title: \"Command\", lang: \"sh\", body: lines.filter(Boolean).join(\"\\n\") }];\n}\n\nfunction assertionSection(node: Test, context: FixtureContext | undefined): BriefSection[] {\n const expression = context?.cel_expression;\n const trace = readCelTrace(node.detail);\n const hasCelGate = !!(expression || trace);\n const vars = context?.cel_vars ?? {};\n const expected = comparisonValue(hasCelGate, context?.expected);\n const actual = comparisonValue(hasCelGate, context?.actual);\n const lines = [\n expression && `expression: ${expression}`,\n trace && `trace:\\n${trace}`,\n Object.keys(vars).length > 0 && `vars: ${formatValue(vars)}`,\n expected !== undefined && `expected: ${formatValue(expected)}`,\n actual !== undefined && `actual: ${formatValue(actual)}`,\n ].filter(Boolean);\n return lines.length > 0 ? [{ title: \"Assertion\", body: lines.join(\"\\n\") }] : [];\n}\n\nconst OUTCOME_GLYPH: Record<TestOutcome, string> = {\n passed: \"✓\",\n failed: \"✗\",\n errored: \"✗\",\n timedout: \"⏱\",\n warned: \"!\",\n aborted: \"■\",\n skipped: \"-\",\n pending: \"○\",\n running: \"…\",\n};\n\nfunction childLine(child: Test): string {\n const outcome = outcomeFor(child);\n const exit = (child.context as FixtureContext | undefined)?.exit_code;\n const reason = child.message ?? (exit ? `exit ${exit}` : undefined);\n return `${outcome ? OUTCOME_GLYPH[outcome] : \"·\"} ${child.name}${reason ? ` — ${reason}` : \"\"}`;\n}\n\nfunction summaryLine(summary: TestSummary): string {\n const counts: [number | undefined, string][] = [\n [summary.Passed, \"passed\"],\n [summary.Failed, \"failed\"],\n [summary.Warned, \"warned\"],\n [summary.Timedout, \"timed out\"],\n [summary.Skipped, \"skipped\"],\n [summary.Pending, \"pending\"],\n [summary.Running, \"running\"],\n ];\n const parts = counts.filter(([n]) => !!n).map(([n, label]) => `${n} ${label}`);\n return [`${summary.Total} total`, ...parts].join(\" · \");\n}\n\nfunction resultsSection(node: Test): BriefSection[] {\n const lines = [\n ...(node.summary ? [summaryLine(node.summary)] : []),\n ...(node.children ?? []).map(childLine),\n ];\n return lines.length > 0 ? [{ title: \"Results\", body: lines.join(\"\\n\") }] : [];\n}\n\n/** Command, CEL assertion and per-child verdicts for a fixture step or its parent. */\nfunction fixtureCopy(node: Test): CopySections {\n const context = node.context as FixtureContext | undefined;\n const command = context?.command ?? node.command;\n const stepDetail = readStepDetail(node.detail);\n const source = readStepSource(node.detail);\n const query = readQuery(node.detail);\n return {\n brief: [\n ...(query.kind === \"query\" ? stepQueryCopy(query.query) : commandSection(node, context)),\n ...assertionSection(node, context),\n ...(source.kind === \"source\" ? stepSourceCopy(source.source) : []),\n ...(stepDetail.kind === \"step\" ? stepKindCopy(stepDetail.step) : []),\n ...resultsSection(node),\n ],\n items: command ? [{ label: \"Copy command\", icon: UiTerminal, value: command }] : [],\n };\n}\n\n// gavel's FixtureResult.Type values plus \"fixture\" (a markdown table of rows)\n// and the typed step kinds. Table and runner-step parents carry no `context`,\n// so the fixture adapter never claims them; this copy-only adapter gives them\n// the same sections. \"playwright\" is also a test framework, so it counts as a\n// step only when the node carries `detail.step`.\nconst FIXTURE_STEP_FRAMEWORKS = new Set([\n \"exec\",\n \"query\",\n \"fixture\",\n \"test\",\n \"lint\",\n \"verify\",\n \"services\",\n \"todo\",\n \"todo_prompt\",\n \"ai\",\n \"browser\",\n \"playwright\",\n \"agent-browser\",\n]);\n\nfunction isFixtureStepNode(node: Test): boolean {\n const framework = node.framework ?? \"\";\n if (framework === \"playwright\") return hasStepDetail(node.detail);\n return FIXTURE_STEP_FRAMEWORKS.has(framework);\n}\n\nconst fixtureStepCopyAdapter: TestNodeAdapter = {\n id: \"verification-step-copy\",\n match: isFixtureStepNode,\n copy: ({ node }) => fixtureCopy(node),\n};\n\n// Claims only the rows it badges, so a host's own row decoration still wins for every other node.\nconst stepBadgeAdapter: TestNodeAdapter = {\n id: \"verification-step-badge\",\n match: (node) => node.waiting === true || stepFormState(node) !== undefined,\n renderRowLeading: ({ node }) => <StepRowBadge node={node} />,\n};\n\n/** Default node adapters for VerificationResults: checklist items and\n * fixture/CEL steps. Registration order matters only when a node could match\n * both — a checklist node never carries a `context`, so the two never race. */\nexport type VerificationAdapterOptions = {\n /** Override the wait section while retaining the fixture's other detail sections. */\n renderWait?: (wait: WaitDetail) => ReactNode;\n /**\n * The answerable form of a step waiting on a person (`node.waiting`), shown in\n * its own section at the top of the step's detail. The host resolves which\n * pending prompt belongs to the node and answers it (e.g. with PromptForm).\n */\n renderPendingPrompt?: (node: Test) => ReactNode;\n};\n\n// The attempt a step is waiting in: it carries the step's name and task id (the\n// host finds the step's prompt by them) and `waiting`, and, when its result has\n// nothing marking it a fixture step, the step reference, so the fixture detail\n// (and its pending form) still renders it.\nfunction liveAttemptNode(step: Test, attempt: Test, ref: { id: string; kind: string }): Test {\n const live: Test = { ...attempt, name: step.name, ...(step.task_id !== undefined ? { task_id: step.task_id } : {}), waiting: true };\n if (isFixtureNode(live)) return live;\n // readStepDetail has already checked that an attempt result's detail is an object.\n return { ...live, detail: { ...(attempt.detail as Record<string, unknown> | undefined), step: ref } };\n}\n\nexport function verificationAdapters(options: VerificationAdapterOptions = {}): TestNodeAdapterRegistry {\n const fixtureAdapter: TestNodeAdapter = {\n id: \"verification-fixture\",\n match: isFixtureNode,\n renderDetail: ({ node }) => <FixtureDetail node={node} {...options} />,\n detailAttempts: ({ node }) => {\n const detail = readStepDetail(node.detail);\n if (detail.kind !== \"step\") return [];\n const live = detail.step.attempts.length - 1;\n return detail.step.attempts.map((attempt, index) => {\n const attemptNode: Test = attempt.result ? verifyNodeTest(attempt.result) : {\n name: node.name, message: `Attempt ${attempt.attempt}: execution evidence was not stored in this report.`,\n detail: { step: detail.step.step },\n };\n // The step waits in its last attempt; that one keeps the step's identity so the host finds its prompt.\n const waiting = node.waiting === true && index === live;\n // A finished step's log is its last attempt's; a report's attempts carry none.\n if (index === live && node.log !== undefined && !node.running) attemptNode.log = node.log;\n return {\n id: attempt.attempt, status: attempt.status,\n ...(attempt.durationMs !== undefined ? { durationMs: attempt.durationMs } : {}),\n node: waiting ? liveAttemptNode(node, attemptNode, detail.step.step) : attemptNode,\n };\n });\n },\n detailTabs: ({ node }) => {\n const tabs = [];\n const detail = readStepDetail(node.detail);\n if (detail.kind === \"step\" && detail.step.outputs !== undefined) {\n tabs.push({ id: \"outputs\", label: \"Outputs\", render: () => <StepOutputs outputs={detail.step.outputs} /> });\n }\n const source = readStepSource(node.detail);\n if (source.kind !== \"none\") {\n tabs.push({ id: \"source\", label: sourceTabLabel(source), render: () => <StepSourceSection result={source} /> });\n }\n return tabs;\n },\n copy: ({ node }) => fixtureCopy(node),\n };\n return createTestRunnerRegistry([checklistAdapter, fixtureAdapter, fixtureStepCopyAdapter, stepBadgeAdapter]);\n}\n"],"mappings":";;;;;;;;;;AA0BA,SAAS,gBAAgB,MAAqB;CAC5C,OAAO,KAAK,cAAc;AAC5B;AAEA,SAAS,cAAc,MAAoB;CACzC,IAAI,KAAK,QAAQ,OAAO;CACxB,IAAI,KAAK,QAAQ,OAAO;CACxB,OAAO;AACT;;AAGA,SAAS,cAAc,MAA0B;CAK/C,OAAO,EAAE,OAAO,CAAC;EAAE,OAAO;EAAY,OAJxB,KAAK,YAAY,KAAK,SAAS,SAAS,IAAI,KAAK,WAAW,CAAC,IAAI,EAAA,CAC3D,KACjB,SAAS,KAAK,cAAc,IAAI,EAAE,GAAG,KAAK,OAAO,KAAK,UAAU,MAAM,KAAK,YAAY,IAE9C,CAAA,CAAM,KAAK,IAAI;CAAE,CAAC,EAAE;AAClE;AAEA,IAAM,mBAAoC;CACxC,IAAI;CACJ,OAAO;CACP,eAAe,EAAE,WAAW,iBAAA,GAAA,kBAAA,IAAA,CAACA,qBAAAA,iBAAD,EAAuB,KAAO,CAAA;CAC1D,OAAO,EAAE,WAAW,cAAc,IAAI;AACxC;AAOA,SAAS,cAAc,MAAqB;CAC1C,IAAI,KAAK,YAAY,KAAA,KAAaC,iBAAA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AC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,SAAS,CAAC;CACjD,CAAC;AAaF,wBAAgB,oBAAoB,CAAC,OAAO,GAAE,0BAA+B,GAAG,uBAAuB,CAsCtG"}
1
+ {"version":3,"file":"adapters.d.ts","sourceRoot":"","sources":["../../../src/data/verification/adapters.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,OAAO,EAAwF,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAEnI,OAAO,EAML,KAAK,IAAI,EAET,KAAK,uBAAuB,EAG7B,MAAM,gBAAgB,CAAC;AA2LxB;;gFAEgF;AAChF,MAAM,MAAM,0BAA0B,GAAG;IACvC,qFAAqF;IACrF,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,SAAS,CAAC;IAC7C;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,SAAS,CAAC;CACjD,CAAC;AAaF,wBAAgB,oBAAoB,CAAC,OAAO,GAAE,0BAA+B,GAAG,uBAAuB,CAwCtG"}
@@ -207,6 +207,7 @@ function verificationAdapters(options = {}) {
207
207
  detail: { step: detail.step.step }
208
208
  };
209
209
  const waiting = node.waiting === true && index === live;
210
+ if (index === live && node.log !== void 0 && !node.running) attemptNode.log = node.log;
210
211
  return {
211
212
  id: attempt.attempt,
212
213
  status: attempt.status,
@@ -1 +1 @@
1
- {"version":3,"file":"adapters.js","names":[],"sources":["../../../src/data/verification/adapters.tsx"],"sourcesContent":["// Domain node adapters for VerificationResults: a checklist adapter for the\n// synthesized \"Acceptance criteria\" node and its items, and a fixture/CEL\n// adapter for the failing-step detail. Rendering lives in adapterViews.tsx —\n// split out so this file's only exports are the registry (react/only-export-\n// components forbids mixing component declarations with plain exports).\n\nimport type { ReactNode } from \"react\";\nimport { ChecklistDetail, FixtureDetail } from \"./adapterViews\";\nimport { StepOutputs, StepRowBadge, StepSourceSection } from \"./stepKindViews\";\nimport { verifyNodeTest } from \"./verifyReportTests\";\nimport { UiTerminal } from \"../../icons\";\nimport { hasStepDetail, readQuery, readStepDetail, stepFormState, stepKindCopy, stepQueryCopy, type WaitDetail } from \"./stepKind\";\nimport { readStepSource, sourceTabLabel, stepSourceCopy } from \"./stepSource\";\nimport {\n createTestRunnerRegistry,\n outcomeFor,\n type BriefSection,\n type CopySections,\n type FixtureContext,\n type Test,\n type TestNodeAdapter,\n type TestNodeAdapterRegistry,\n type TestOutcome,\n type TestSummary,\n} from \"../test-runner\";\n\nfunction isChecklistNode(node: Test): boolean {\n return node.framework === \"checklist\";\n}\n\nfunction checklistMark(item: Test): string {\n if (item.failed) return \"[ ]\";\n if (item.passed) return \"[x]\";\n return \"[?]\";\n}\n\n/** `- [x]/[ ]/[?] criterion — reason` for each item, or the leaf itself. */\nfunction checklistCopy(node: Test): CopySections {\n const items = node.children && node.children.length > 0 ? node.children : [node];\n const lines = items.map(\n (item) => `- ${checklistMark(item)} ${item.name}${item.message ? ` — ${item.message}` : \"\"}`,\n );\n return { brief: [{ title: \"Criteria\", body: lines.join(\"\\n\") }] };\n}\n\nconst checklistAdapter: TestNodeAdapter = {\n id: \"verification-checklist\",\n match: isChecklistNode,\n renderDetail: ({ node }) => <ChecklistDetail node={node} />,\n copy: ({ node }) => checklistCopy(node),\n};\n\n// A typed step kind (services, todo, …) may report no command or CEL context at\n// all, so `detail.step` claims the node as well. A \"fixture\" leaf is a step whose\n// result has not arrived yet (a live or background step): it carries only the\n// execution node, which FixtureDetail renders as a header. Fixture parents\n// (markdown tables, runner steps) have children and stay with the default body.\nfunction isFixtureNode(node: Test): boolean {\n if (node.context !== undefined || hasStepDetail(node.detail)) return true;\n return node.framework === \"fixture\" && (node.children?.length ?? 0) === 0;\n}\n\n// ── Copy sections for fixture steps (exec / query / table / test / lint) ───\n\nfunction readCelTrace(detail: unknown): string | undefined {\n if (detail && typeof detail === \"object\" && !Array.isArray(detail)) {\n const value = (detail as Record<string, unknown>).cel_trace;\n if (typeof value === \"string\" && value.length > 0) return value;\n }\n return undefined;\n}\n\n// Mirrors CelDetails: without a CEL gate, a command step's `actual` is the whole\n// command result object, already covered by the Command section and output.\nfunction comparisonValue(hasCelGate: boolean, value: unknown): unknown {\n if (value === undefined) return undefined;\n if (hasCelGate) return value;\n if (value !== null && typeof value === \"object\" && !Array.isArray(value)) return undefined;\n return value;\n}\n\nfunction formatValue(value: unknown): string {\n return typeof value === \"string\" ? value : JSON.stringify(value, null, 2);\n}\n\nfunction commandSection(node: Test, context: FixtureContext | undefined): BriefSection[] {\n const command = context?.command ?? node.command;\n if (!command) return [];\n const cwd = context?.cwd ?? node.work_dir;\n const exit = context?.exit_code;\n const lines = [`$ ${command}`, cwd && `cwd: ${cwd}`, exit !== undefined && `exit: ${exit}`];\n return [{ title: \"Command\", lang: \"sh\", body: lines.filter(Boolean).join(\"\\n\") }];\n}\n\nfunction assertionSection(node: Test, context: FixtureContext | undefined): BriefSection[] {\n const expression = context?.cel_expression;\n const trace = readCelTrace(node.detail);\n const hasCelGate = !!(expression || trace);\n const vars = context?.cel_vars ?? {};\n const expected = comparisonValue(hasCelGate, context?.expected);\n const actual = comparisonValue(hasCelGate, context?.actual);\n const lines = [\n expression && `expression: ${expression}`,\n trace && `trace:\\n${trace}`,\n Object.keys(vars).length > 0 && `vars: ${formatValue(vars)}`,\n expected !== undefined && `expected: ${formatValue(expected)}`,\n actual !== undefined && `actual: ${formatValue(actual)}`,\n ].filter(Boolean);\n return lines.length > 0 ? [{ title: \"Assertion\", body: lines.join(\"\\n\") }] : [];\n}\n\nconst OUTCOME_GLYPH: Record<TestOutcome, string> = {\n passed: \"✓\",\n failed: \"✗\",\n errored: \"✗\",\n timedout: \"⏱\",\n warned: \"!\",\n aborted: \"■\",\n skipped: \"-\",\n pending: \"○\",\n running: \"…\",\n};\n\nfunction childLine(child: Test): string {\n const outcome = outcomeFor(child);\n const exit = (child.context as FixtureContext | undefined)?.exit_code;\n const reason = child.message ?? (exit ? `exit ${exit}` : undefined);\n return `${outcome ? OUTCOME_GLYPH[outcome] : \"·\"} ${child.name}${reason ? ` — ${reason}` : \"\"}`;\n}\n\nfunction summaryLine(summary: TestSummary): string {\n const counts: [number | undefined, string][] = [\n [summary.Passed, \"passed\"],\n [summary.Failed, \"failed\"],\n [summary.Warned, \"warned\"],\n [summary.Timedout, \"timed out\"],\n [summary.Skipped, \"skipped\"],\n [summary.Pending, \"pending\"],\n [summary.Running, \"running\"],\n ];\n const parts = counts.filter(([n]) => !!n).map(([n, label]) => `${n} ${label}`);\n return [`${summary.Total} total`, ...parts].join(\" · \");\n}\n\nfunction resultsSection(node: Test): BriefSection[] {\n const lines = [\n ...(node.summary ? [summaryLine(node.summary)] : []),\n ...(node.children ?? []).map(childLine),\n ];\n return lines.length > 0 ? [{ title: \"Results\", body: lines.join(\"\\n\") }] : [];\n}\n\n/** Command, CEL assertion and per-child verdicts for a fixture step or its parent. */\nfunction fixtureCopy(node: Test): CopySections {\n const context = node.context as FixtureContext | undefined;\n const command = context?.command ?? node.command;\n const stepDetail = readStepDetail(node.detail);\n const source = readStepSource(node.detail);\n const query = readQuery(node.detail);\n return {\n brief: [\n ...(query.kind === \"query\" ? stepQueryCopy(query.query) : commandSection(node, context)),\n ...assertionSection(node, context),\n ...(source.kind === \"source\" ? stepSourceCopy(source.source) : []),\n ...(stepDetail.kind === \"step\" ? stepKindCopy(stepDetail.step) : []),\n ...resultsSection(node),\n ],\n items: command ? [{ label: \"Copy command\", icon: UiTerminal, value: command }] : [],\n };\n}\n\n// gavel's FixtureResult.Type values plus \"fixture\" (a markdown table of rows)\n// and the typed step kinds. Table and runner-step parents carry no `context`,\n// so the fixture adapter never claims them; this copy-only adapter gives them\n// the same sections. \"playwright\" is also a test framework, so it counts as a\n// step only when the node carries `detail.step`.\nconst FIXTURE_STEP_FRAMEWORKS = new Set([\n \"exec\",\n \"query\",\n \"fixture\",\n \"test\",\n \"lint\",\n \"verify\",\n \"services\",\n \"todo\",\n \"todo_prompt\",\n \"ai\",\n \"browser\",\n \"playwright\",\n \"agent-browser\",\n]);\n\nfunction isFixtureStepNode(node: Test): boolean {\n const framework = node.framework ?? \"\";\n if (framework === \"playwright\") return hasStepDetail(node.detail);\n return FIXTURE_STEP_FRAMEWORKS.has(framework);\n}\n\nconst fixtureStepCopyAdapter: TestNodeAdapter = {\n id: \"verification-step-copy\",\n match: isFixtureStepNode,\n copy: ({ node }) => fixtureCopy(node),\n};\n\n// Claims only the rows it badges, so a host's own row decoration still wins for every other node.\nconst stepBadgeAdapter: TestNodeAdapter = {\n id: \"verification-step-badge\",\n match: (node) => node.waiting === true || stepFormState(node) !== undefined,\n renderRowLeading: ({ node }) => <StepRowBadge node={node} />,\n};\n\n/** Default node adapters for VerificationResults: checklist items and\n * fixture/CEL steps. Registration order matters only when a node could match\n * both — a checklist node never carries a `context`, so the two never race. */\nexport type VerificationAdapterOptions = {\n /** Override the wait section while retaining the fixture's other detail sections. */\n renderWait?: (wait: WaitDetail) => ReactNode;\n /**\n * The answerable form of a step waiting on a person (`node.waiting`), shown in\n * its own section at the top of the step's detail. The host resolves which\n * pending prompt belongs to the node and answers it (e.g. with PromptForm).\n */\n renderPendingPrompt?: (node: Test) => ReactNode;\n};\n\n// The attempt a step is waiting in: it carries the step's name and task id (the\n// host finds the step's prompt by them) and `waiting`, and, when its result has\n// nothing marking it a fixture step, the step reference, so the fixture detail\n// (and its pending form) still renders it.\nfunction liveAttemptNode(step: Test, attempt: Test, ref: { id: string; kind: string }): Test {\n const live: Test = { ...attempt, name: step.name, ...(step.task_id !== undefined ? { task_id: step.task_id } : {}), waiting: true };\n if (isFixtureNode(live)) return live;\n // readStepDetail has already checked that an attempt result's detail is an object.\n return { ...live, detail: { ...(attempt.detail as Record<string, unknown> | undefined), step: ref } };\n}\n\nexport function verificationAdapters(options: VerificationAdapterOptions = {}): TestNodeAdapterRegistry {\n const fixtureAdapter: TestNodeAdapter = {\n id: \"verification-fixture\",\n match: isFixtureNode,\n renderDetail: ({ node }) => <FixtureDetail node={node} {...options} />,\n detailAttempts: ({ node }) => {\n const detail = readStepDetail(node.detail);\n if (detail.kind !== \"step\") return [];\n const live = detail.step.attempts.length - 1;\n return detail.step.attempts.map((attempt, index) => {\n const attemptNode: Test = attempt.result ? verifyNodeTest(attempt.result) : {\n name: node.name, message: `Attempt ${attempt.attempt}: execution evidence was not stored in this report.`,\n detail: { step: detail.step.step },\n };\n // The step waits in its last attempt; that one keeps the step's identity so the host finds its prompt.\n const waiting = node.waiting === true && index === live;\n return {\n id: attempt.attempt, status: attempt.status,\n ...(attempt.durationMs !== undefined ? { durationMs: attempt.durationMs } : {}),\n node: waiting ? liveAttemptNode(node, attemptNode, detail.step.step) : attemptNode,\n };\n });\n },\n detailTabs: ({ node }) => {\n const tabs = [];\n const detail = readStepDetail(node.detail);\n if (detail.kind === \"step\" && detail.step.outputs !== undefined) {\n tabs.push({ id: \"outputs\", label: \"Outputs\", render: () => <StepOutputs outputs={detail.step.outputs} /> });\n }\n const source = readStepSource(node.detail);\n if (source.kind !== \"none\") {\n tabs.push({ id: \"source\", label: sourceTabLabel(source), render: () => <StepSourceSection result={source} /> });\n }\n return tabs;\n },\n copy: ({ node }) => fixtureCopy(node),\n };\n return createTestRunnerRegistry([checklistAdapter, fixtureAdapter, fixtureStepCopyAdapter, stepBadgeAdapter]);\n}\n"],"mappings":";;;;;;;;;;AA0BA,SAAS,gBAAgB,MAAqB;CAC5C,OAAO,KAAK,cAAc;AAC5B;AAEA,SAAS,cAAc,MAAoB;CACzC,IAAI,KAAK,QAAQ,OAAO;CACxB,IAAI,KAAK,QAAQ,OAAO;CACxB,OAAO;AACT;;AAGA,SAAS,cAAc,MAA0B;CAK/C,OAAO,EAAE,OAAO,CAAC;EAAE,OAAO;EAAY,OAJxB,KAAK,YAAY,KAAK,SAAS,SAAS,IAAI,KAAK,WAAW,CAAC,IAAI,EAAA,CAC3D,KACjB,SAAS,KAAK,cAAc,IAAI,EAAE,GA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O;MACL,IAAI,QAAQ;MAAS,QAAQ,QAAQ;MACrC,GAAI,QAAQ,eAAe,KAAA,IAAY,EAAE,YAAY,QAAQ,WAAW,IAAI,CAAC;MAC7E,MAAM,UAAU,gBAAgB,MAAM,aAAa,OAAO,KAAK,IAAI,IAAI;KACzE;IACF,CAAC;GACH;GACA,aAAa,EAAE,WAAW;IACxB,MAAM,OAAO,CAAC;IACd,MAAM,SAAS,eAAe,KAAK,MAAM;IACzC,IAAI,OAAO,SAAS,UAAU,OAAO,KAAK,YAAY,KAAA,GACpD,KAAK,KAAK;KAAE,IAAI;KAAW,OAAO;KAAW,cAAc,oBAAC,aAAD,EAAa,SAAS,OAAO,KAAK,QAAU,CAAA;IAAE,CAAC;IAE5G,MAAM,SAAS,eAAe,KAAK,MAAM;IACzC,IAAI,OAAO,SAAS,QAClB,KAAK,KAAK;KAAE,IAAI;KAAU,OAAO,eAAe,MAAM;KAAG,cAAc,oBAAC,mBAAD,EAAmB,QAAQ,OAAS,CAAA;IAAE,CAAC;IAEhH,OAAO;GACT;GACA,OAAO,EAAE,WAAW,YAAY,IAAI;EAEa;EAAgB;EAAwB;CAAgB,CAAC;AAC9G"}
1
+ {"version":3,"file":"adapters.js","names":[],"sources":["../../../src/data/verification/adapters.tsx"],"sourcesContent":["// Domain node adapters for VerificationResults: a checklist adapter for the\n// synthesized \"Acceptance criteria\" node and its items, and a fixture/CEL\n// adapter for the failing-step detail. Rendering lives in adapterViews.tsx —\n// split out so this file's only exports are the registry (react/only-export-\n// components forbids mixing component declarations with plain exports).\n\nimport type { ReactNode } from \"react\";\nimport { ChecklistDetail, FixtureDetail } from \"./adapterViews\";\nimport { StepOutputs, StepRowBadge, StepSourceSection } from \"./stepKindViews\";\nimport { verifyNodeTest } from \"./verifyReportTests\";\nimport { UiTerminal } from \"../../icons\";\nimport { hasStepDetail, readQuery, readStepDetail, stepFormState, stepKindCopy, stepQueryCopy, type WaitDetail } from \"./stepKind\";\nimport { readStepSource, sourceTabLabel, stepSourceCopy } from \"./stepSource\";\nimport {\n createTestRunnerRegistry,\n outcomeFor,\n type BriefSection,\n type CopySections,\n type FixtureContext,\n type Test,\n type TestNodeAdapter,\n type TestNodeAdapterRegistry,\n type TestOutcome,\n type TestSummary,\n} from \"../test-runner\";\n\nfunction isChecklistNode(node: Test): boolean {\n return node.framework === \"checklist\";\n}\n\nfunction checklistMark(item: Test): string {\n if (item.failed) return \"[ ]\";\n if (item.passed) return \"[x]\";\n return \"[?]\";\n}\n\n/** `- [x]/[ ]/[?] criterion — reason` for each item, or the leaf itself. */\nfunction checklistCopy(node: Test): CopySections {\n const items = node.children && node.children.length > 0 ? node.children : [node];\n const lines = items.map(\n (item) => `- ${checklistMark(item)} ${item.name}${item.message ? ` — ${item.message}` : \"\"}`,\n );\n return { brief: [{ title: \"Criteria\", body: lines.join(\"\\n\") }] };\n}\n\nconst checklistAdapter: TestNodeAdapter = {\n id: \"verification-checklist\",\n match: isChecklistNode,\n renderDetail: ({ node }) => <ChecklistDetail node={node} />,\n copy: ({ node }) => checklistCopy(node),\n};\n\n// A typed step kind (services, todo, …) may report no command or CEL context at\n// all, so `detail.step` claims the node as well. A \"fixture\" leaf is a step whose\n// result has not arrived yet (a live or background step): it carries only the\n// execution node, which FixtureDetail renders as a header. Fixture parents\n// (markdown tables, runner steps) have children and stay with the default body.\nfunction isFixtureNode(node: Test): boolean {\n if (node.context !== undefined || hasStepDetail(node.detail)) return true;\n return node.framework === \"fixture\" && (node.children?.length ?? 0) === 0;\n}\n\n// ── Copy sections for fixture steps (exec / query / table / test / lint) ───\n\nfunction readCelTrace(detail: unknown): string | undefined {\n if (detail && typeof detail === \"object\" && !Array.isArray(detail)) {\n const value = (detail as Record<string, unknown>).cel_trace;\n if (typeof value === \"string\" && value.length > 0) return value;\n }\n return undefined;\n}\n\n// Mirrors CelDetails: without a CEL gate, a command step's `actual` is the whole\n// command result object, already covered by the Command section and output.\nfunction comparisonValue(hasCelGate: boolean, value: unknown): unknown {\n if (value === undefined) return undefined;\n if (hasCelGate) return value;\n if (value !== null && typeof value === \"object\" && !Array.isArray(value)) return undefined;\n return value;\n}\n\nfunction formatValue(value: unknown): string {\n return typeof value === \"string\" ? value : JSON.stringify(value, null, 2);\n}\n\nfunction commandSection(node: Test, context: FixtureContext | undefined): BriefSection[] {\n const command = context?.command ?? node.command;\n if (!command) return [];\n const cwd = context?.cwd ?? node.work_dir;\n const exit = context?.exit_code;\n const lines = [`$ ${command}`, cwd && `cwd: ${cwd}`, exit !== undefined && `exit: ${exit}`];\n return [{ title: \"Command\", lang: \"sh\", body: lines.filter(Boolean).join(\"\\n\") }];\n}\n\nfunction assertionSection(node: Test, context: FixtureContext | undefined): BriefSection[] {\n const expression = context?.cel_expression;\n const trace = readCelTrace(node.detail);\n const hasCelGate = !!(expression || trace);\n const vars = context?.cel_vars ?? {};\n const expected = comparisonValue(hasCelGate, context?.expected);\n const actual = comparisonValue(hasCelGate, context?.actual);\n const lines = [\n expression && `expression: ${expression}`,\n trace && `trace:\\n${trace}`,\n Object.keys(vars).length > 0 && `vars: ${formatValue(vars)}`,\n expected !== undefined && `expected: ${formatValue(expected)}`,\n actual !== undefined && `actual: ${formatValue(actual)}`,\n ].filter(Boolean);\n return lines.length > 0 ? [{ title: \"Assertion\", body: lines.join(\"\\n\") }] : [];\n}\n\nconst OUTCOME_GLYPH: Record<TestOutcome, string> = {\n passed: \"✓\",\n failed: \"✗\",\n errored: \"✗\",\n timedout: \"⏱\",\n warned: \"!\",\n aborted: \"■\",\n skipped: \"-\",\n pending: \"○\",\n running: \"…\",\n};\n\nfunction childLine(child: Test): string {\n const outcome = outcomeFor(child);\n const exit = (child.context as FixtureContext | undefined)?.exit_code;\n const reason = child.message ?? (exit ? `exit ${exit}` : undefined);\n return `${outcome ? OUTCOME_GLYPH[outcome] : \"·\"} ${child.name}${reason ? ` — ${reason}` : \"\"}`;\n}\n\nfunction summaryLine(summary: TestSummary): string {\n const counts: [number | undefined, string][] = [\n [summary.Passed, \"passed\"],\n [summary.Failed, \"failed\"],\n [summary.Warned, \"warned\"],\n [summary.Timedout, \"timed out\"],\n [summary.Skipped, \"skipped\"],\n [summary.Pending, \"pending\"],\n [summary.Running, \"running\"],\n ];\n const parts = counts.filter(([n]) => !!n).map(([n, label]) => `${n} ${label}`);\n return [`${summary.Total} total`, ...parts].join(\" · \");\n}\n\nfunction resultsSection(node: Test): BriefSection[] {\n const lines = [\n ...(node.summary ? [summaryLine(node.summary)] : []),\n ...(node.children ?? []).map(childLine),\n ];\n return lines.length > 0 ? [{ title: \"Results\", body: lines.join(\"\\n\") }] : [];\n}\n\n/** Command, CEL assertion and per-child verdicts for a fixture step or its parent. */\nfunction fixtureCopy(node: Test): CopySections {\n const context = node.context as FixtureContext | undefined;\n const command = context?.command ?? node.command;\n const stepDetail = readStepDetail(node.detail);\n const source = readStepSource(node.detail);\n const query = readQuery(node.detail);\n return {\n brief: [\n ...(query.kind === \"query\" ? stepQueryCopy(query.query) : commandSection(node, context)),\n ...assertionSection(node, context),\n ...(source.kind === \"source\" ? stepSourceCopy(source.source) : []),\n ...(stepDetail.kind === \"step\" ? stepKindCopy(stepDetail.step) : []),\n ...resultsSection(node),\n ],\n items: command ? [{ label: \"Copy command\", icon: UiTerminal, value: command }] : [],\n };\n}\n\n// gavel's FixtureResult.Type values plus \"fixture\" (a markdown table of rows)\n// and the typed step kinds. Table and runner-step parents carry no `context`,\n// so the fixture adapter never claims them; this copy-only adapter gives them\n// the same sections. \"playwright\" is also a test framework, so it counts as a\n// step only when the node carries `detail.step`.\nconst FIXTURE_STEP_FRAMEWORKS = new Set([\n \"exec\",\n \"query\",\n \"fixture\",\n \"test\",\n \"lint\",\n \"verify\",\n \"services\",\n \"todo\",\n \"todo_prompt\",\n \"ai\",\n \"browser\",\n \"playwright\",\n \"agent-browser\",\n]);\n\nfunction isFixtureStepNode(node: Test): boolean {\n const framework = node.framework ?? \"\";\n if (framework === \"playwright\") return hasStepDetail(node.detail);\n return FIXTURE_STEP_FRAMEWORKS.has(framework);\n}\n\nconst fixtureStepCopyAdapter: TestNodeAdapter = {\n id: \"verification-step-copy\",\n match: isFixtureStepNode,\n copy: ({ node }) => fixtureCopy(node),\n};\n\n// Claims only the rows it badges, so a host's own row decoration still wins for every other node.\nconst stepBadgeAdapter: TestNodeAdapter = {\n id: \"verification-step-badge\",\n match: (node) => node.waiting === true || stepFormState(node) !== undefined,\n renderRowLeading: ({ node }) => <StepRowBadge node={node} />,\n};\n\n/** Default node adapters for VerificationResults: checklist items and\n * fixture/CEL steps. Registration order matters only when a node could match\n * both — a checklist node never carries a `context`, so the two never race. */\nexport type VerificationAdapterOptions = {\n /** Override the wait section while retaining the fixture's other detail sections. */\n renderWait?: (wait: WaitDetail) => ReactNode;\n /**\n * The answerable form of a step waiting on a person (`node.waiting`), shown in\n * its own section at the top of the step's detail. The host resolves which\n * pending prompt belongs to the node and answers it (e.g. with PromptForm).\n */\n renderPendingPrompt?: (node: Test) => ReactNode;\n};\n\n// The attempt a step is waiting in: it carries the step's name and task id (the\n// host finds the step's prompt by them) and `waiting`, and, when its result has\n// nothing marking it a fixture step, the step reference, so the fixture detail\n// (and its pending form) still renders it.\nfunction liveAttemptNode(step: Test, attempt: Test, ref: { id: string; kind: string }): Test {\n const live: Test = { ...attempt, name: step.name, ...(step.task_id !== undefined ? { task_id: step.task_id } : {}), waiting: true };\n if (isFixtureNode(live)) return live;\n // readStepDetail has already checked that an attempt result's detail is an object.\n return { ...live, detail: { ...(attempt.detail as Record<string, unknown> | undefined), step: ref } };\n}\n\nexport function verificationAdapters(options: VerificationAdapterOptions = {}): TestNodeAdapterRegistry {\n const fixtureAdapter: TestNodeAdapter = {\n id: \"verification-fixture\",\n match: isFixtureNode,\n renderDetail: ({ node }) => <FixtureDetail node={node} {...options} />,\n detailAttempts: ({ node }) => {\n const detail = readStepDetail(node.detail);\n if (detail.kind !== \"step\") return [];\n const live = detail.step.attempts.length - 1;\n return detail.step.attempts.map((attempt, index) => {\n const attemptNode: Test = attempt.result ? verifyNodeTest(attempt.result) : {\n name: node.name, message: `Attempt ${attempt.attempt}: execution evidence was not stored in this report.`,\n detail: { step: detail.step.step },\n };\n // The step waits in its last attempt; that one keeps the step's identity so the host finds its prompt.\n const waiting = node.waiting === true && index === live;\n // A finished step's log is its last attempt's; a report's attempts carry none.\n if (index === live && node.log !== undefined && !node.running) attemptNode.log = node.log;\n return {\n id: attempt.attempt, status: attempt.status,\n ...(attempt.durationMs !== undefined ? { durationMs: attempt.durationMs } : {}),\n node: waiting ? liveAttemptNode(node, attemptNode, detail.step.step) : attemptNode,\n };\n });\n },\n detailTabs: ({ node }) => {\n const tabs = [];\n const detail = readStepDetail(node.detail);\n if (detail.kind === \"step\" && detail.step.outputs !== undefined) {\n tabs.push({ id: \"outputs\", label: \"Outputs\", render: () => <StepOutputs outputs={detail.step.outputs} /> });\n }\n const source = readStepSource(node.detail);\n if (source.kind !== \"none\") {\n tabs.push({ id: \"source\", label: sourceTabLabel(source), render: () => <StepSourceSection result={source} /> });\n }\n return tabs;\n },\n copy: ({ node }) => fixtureCopy(node),\n };\n return createTestRunnerRegistry([checklistAdapter, fixtureAdapter, fixtureStepCopyAdapter, stepBadgeAdapter]);\n}\n"],"mappings":";;;;;;;;;;AA0BA,SAAS,gBAAgB,MAAqB;CAC5C,OAAO,KAAK,cAAc;AAC5B;AAEA,SAAS,cAAc,MAAoB;CACzC,IAAI,KAAK,QAAQ,OAAO;CACxB,IAAI,KAAK,QAAQ,OAAO;CACxB,OAAO;AACT;;AAGA,SAAS,cAAc,MAA0B;CAK/C,OAAO,EAAE,OAAO,CAAC;EAAE,OAAO;EAAY,OAJxB,KAAK,YAAY,KAAK,SAAS,SAAS,IAAI,KAAK,WAAW,CAAC,IAAI,EAAA,CAC3D,KACjB,SAAS,KAAK,cAAc,IAAI,EAAE,GAAG,KAAK,OAAO,KAAK,UAAU,MAAM,KAAK,YAAY,IAE9C,CAAA,CAAM,KAAK,IAAI;CAAE,CAAC,EAAE;AAClE;AAEA,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MAAS,QAAQ,QAAQ;MACrC,GAAI,QAAQ,eAAe,KAAA,IAAY,EAAE,YAAY,QAAQ,WAAW,IAAI,CAAC;MAC7E,MAAM,UAAU,gBAAgB,MAAM,aAAa,OAAO,KAAK,IAAI,IAAI;KACzE;IACF,CAAC;GACH;GACA,aAAa,EAAE,WAAW;IACxB,MAAM,OAAO,CAAC;IACd,MAAM,SAAS,eAAe,KAAK,MAAM;IACzC,IAAI,OAAO,SAAS,UAAU,OAAO,KAAK,YAAY,KAAA,GACpD,KAAK,KAAK;KAAE,IAAI;KAAW,OAAO;KAAW,cAAc,oBAAC,aAAD,EAAa,SAAS,OAAO,KAAK,QAAU,CAAA;IAAE,CAAC;IAE5G,MAAM,SAAS,eAAe,KAAK,MAAM;IACzC,IAAI,OAAO,SAAS,QAClB,KAAK,KAAK;KAAE,IAAI;KAAU,OAAO,eAAe,MAAM;KAAG,cAAc,oBAAC,mBAAD,EAAmB,QAAQ,OAAS,CAAA;IAAE,CAAC;IAEhH,OAAO;GACT;GACA,OAAO,EAAE,WAAW,YAAY,IAAI;EAEa;EAAgB;EAAwB;CAAgB,CAAC;AAC9G"}
@@ -14,9 +14,9 @@ function detectMode() {
14
14
  /** Resolve build + runtime version metadata. */
15
15
  function getVersionInfo() {
16
16
  return {
17
- commit: read(() => "8d85d34bf", ""),
18
- tag: read(() => "clicky-ui@0.3.71", ""),
19
- date: read(() => "2026-11-22T18:51:57.215Z", ""),
17
+ commit: read(() => "a3e6af33a", ""),
18
+ tag: read(() => "clicky-ui@0.3.72", ""),
19
+ date: read(() => "2026-11-23T21:59:31.803Z", ""),
20
20
  dirty: read(() => true, false),
21
21
  mode: detectMode()
22
22
  };
@@ -14,9 +14,9 @@ function detectMode() {
14
14
  /** Resolve build + runtime version metadata. */
15
15
  function getVersionInfo() {
16
16
  return {
17
- commit: read(() => "8d85d34bf", ""),
18
- tag: read(() => "clicky-ui@0.3.71", ""),
19
- date: read(() => "2026-11-22T18:51:19.193Z", ""),
17
+ commit: read(() => "a3e6af33a", ""),
18
+ tag: read(() => "clicky-ui@0.3.72", ""),
19
+ date: read(() => "2026-11-23T21:58:50.731Z", ""),
20
20
  dirty: read(() => true, false),
21
21
  mode: detectMode()
22
22
  };
package/dist/data.cjs CHANGED
@@ -710,16 +710,16 @@ const require_TimeseriesGauge = require("./data/TimeseriesGauge.cjs");
710
710
  const require_ProgressBars = require("./data/ProgressBars.cjs");
711
711
  const require_ProgressBars_model = require("./data/ProgressBars.model.cjs");
712
712
  const require_TimeseriesCoreBars = require("./data/TimeseriesCoreBars.cjs");
713
+ const require_GaugeHoverCard = require("./data/GaugeHoverCard.cjs");
713
714
  const require_ClickyExportDialog = require("./data/clicky-export/ClickyExportDialog.cjs");
714
715
  const require_useClickyExport = require("./data/clicky-export/useClickyExport.cjs");
715
- const require_GaugeHoverCard = require("./data/GaugeHoverCard.cjs");
716
716
  const require_ServerTimingBadge = require("./data/ServerTimingBadge.cjs");
717
717
  const require_server_timing = require("./data/server-timing.cjs");
718
718
  const require_gauge_stats = require("./data/gauge-stats.cjs");
719
+ const require_WorkloadCard = require("./data/WorkloadCard.cjs");
719
720
  const require_fixture_blocks = require("./data/FixtureEditor/fixture-blocks.cjs");
720
721
  const require_FixtureEditor = require("./data/FixtureEditor/FixtureEditor.cjs");
721
722
  const require_fixture_frontmatter = require("./data/FixtureEditor/fixture-frontmatter.cjs");
722
- const require_WorkloadCard = require("./data/WorkloadCard.cjs");
723
723
  const require_WorkloadPanel = require("./data/workload-panel/WorkloadPanel.cjs");
724
724
  const require_MemoryStack = require("./data/workload-panel/MemoryStack.cjs");
725
725
  const require_WorkloadCard_model = require("./data/WorkloadCard.model.cjs");
package/dist/data.d.ts CHANGED
@@ -39,7 +39,7 @@ export { buildSchemaTree, buildSchemaViewerTree, buildStepBranchTree, hasHoverMe
39
39
  export { Properties, type PropertiesAction, type PropertiesDensity, type PropertiesItem, type PropertiesProps, } from './data/Properties.js';
40
40
  export { formatPropertyLabel } from './data/properties-utils.js';
41
41
  export { LogViewer, type LogViewerProps } from './data/LogViewer.js';
42
- export { parseLogSections, type LogSection } from './data/log-sections.js';
42
+ export { parseLogSections, type LogSection, type ParsedLog } from './data/log-sections.js';
43
43
  export { LogsTable, type LogsTableInput, type LogsTableProps, type LogsTableRow, } from './data/LogsTable.js';
44
44
  export { normalizeLogsTableRows } from './data/logs-normalize.js';
45
45
  export { MatrixTable, type MatrixTableColumn, type MatrixTableGroupRow, type MatrixTableProps, type MatrixTableRow, } from './data/MatrixTable.js';
@@ -1 +1 @@
1
- {"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../src/data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9F,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EACL,KAAK,EACL,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,YAAY,GAClB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,QAAQ,GACd,MAAM,iBAAiB,CAAC;AACzB,YAAY,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAC1F,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC/D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AAgB,EACrB,KAAK,gBAAgB,GACtB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,SAAS,EACT,KAAK,iBAAiB,GACvB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,EACL,yBAAyB,EACzB,0BAA0B,EAC1B,2BAA2B,EAC3B,gBAAgB,EAChB,uBAAuB,EACvB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,qBAAqB,GAC3B,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,KAAK,aAAa,EAAE,KAAK,kBAAkB,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AACxI,YAAY,EACV,QAAQ,EACR,UAAU,EACV,WAAW,EACX,UAAU,EACV,UAAU,EACV,OAAO,EACP,SAAS,EACT,MAAM,EACN,WAAW,GACZ,MAAM,kBAAkB,CAAC;AAE1B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC"}
package/dist/data.js CHANGED
@@ -709,16 +709,16 @@ import { TimeseriesGauge } from "./data/TimeseriesGauge.js";
709
709
  import { ProgressBars } from "./data/ProgressBars.js";
710
710
  import { deriveProgressBars } from "./data/ProgressBars.model.js";
711
711
  import { TimeseriesCoreBars } from "./data/TimeseriesCoreBars.js";
712
+ import { GaugeHoverCard } from "./data/GaugeHoverCard.js";
712
713
  import { ClickyExportDialog } from "./data/clicky-export/ClickyExportDialog.js";
713
714
  import { useClickyExport } from "./data/clicky-export/useClickyExport.js";
714
- import { GaugeHoverCard } from "./data/GaugeHoverCard.js";
715
715
  import { ServerTimingBadge } from "./data/ServerTimingBadge.js";
716
716
  import { formatServerTimingDuration, parseServerTiming, serverTimingCounterSummary, serverTimingMetricLabel } from "./data/server-timing.js";
717
717
  import { seriesStats } from "./data/gauge-stats.js";
718
+ import { WorkloadCard } from "./data/WorkloadCard.js";
718
719
  import { createChecklistMarkdown, createFenceMarkdown, fixtureFenceKind, fixtureFenceSchemaAliases, fixtureFenceSnippetInfo, parseFixtureYaml, resolveFixtureFenceSchema, schemaKeys, stringifyFixtureYaml } from "./data/FixtureEditor/fixture-blocks.js";
719
720
  import { FixtureEditor } from "./data/FixtureEditor/FixtureEditor.js";
720
721
  import { applyFixtureFrontmatterRaw, applyFixtureFrontmatterState, fixtureFrontmatterState, parseFixtureFrontmatter } from "./data/FixtureEditor/fixture-frontmatter.js";
721
- import { WorkloadCard } from "./data/WorkloadCard.js";
722
722
  import { WorkloadPanel } from "./data/workload-panel/WorkloadPanel.js";
723
723
  import { WorkloadMemoryLegend, WorkloadMemoryStack } from "./data/workload-panel/MemoryStack.js";
724
724
  import { formatReplicaCounts, workloadKindLabel, workloadStatusLabel, workloadStatusTone, workloadTypeLabel } from "./data/WorkloadCard.model.js";
package/dist/index.cjs CHANGED
@@ -790,6 +790,7 @@ const require_json_schema_form_preferences = require("./components/json-schema-f
790
790
  const require_JsonSchemaForm = require("./components/JsonSchemaForm.cjs");
791
791
  const require_unit_form_extension = require("./components/unit-form-extension.cjs");
792
792
  const require_json_schema_form_template = require("./components/json-schema-form-template.cjs");
793
+ const require_json_schema_form_sibling_prefix = require("./components/json-schema-form-sibling-prefix.cjs");
793
794
  const require_SplitPane = require("./layout/SplitPane.cjs");
794
795
  const require_ResizeHandle = require("./layout/ResizeHandle.cjs");
795
796
  const require_Workspace = require("./layout/Workspace.cjs");
@@ -846,6 +847,7 @@ const require_schema_viewer_meta = require("./data/schema-viewer-meta.cjs");
846
847
  const require_schema_viewer_model = require("./data/schema-viewer-model.cjs");
847
848
  const require_SchemaViewer = require("./data/SchemaViewer.cjs");
848
849
  const require_log_sections = require("./data/log-sections.cjs");
850
+ const require_ProgressBar = require("./data/ProgressBar.cjs");
849
851
  const require_LogViewer = require("./data/LogViewer.cjs");
850
852
  const require_logs_normalize = require("./data/logs-normalize.cjs");
851
853
  const require_LogsTable = require("./data/LogsTable.cjs");
@@ -882,7 +884,6 @@ const require_markdown_syntax = require("./data/examples/markdown-syntax2.cjs");
882
884
  const require_markdown_preview_mock = require("./data/examples/markdown-preview-mock.cjs");
883
885
  const require_MethodBadge = require("./data/MethodBadge.cjs");
884
886
  const require_ImagePreview = require("./data/ImagePreview.cjs");
885
- const require_ProgressBar = require("./data/ProgressBar.cjs");
886
887
  const require_SignedDeltaBar = require("./data/SignedDeltaBar.cjs");
887
888
  const require_MultiGaugeBar = require("./data/MultiGaugeBar.cjs");
888
889
  const require_TimeseriesPanel_axes = require("./data/TimeseriesPanel.axes.cjs");
@@ -1068,6 +1069,7 @@ const require_DefaultDeliveryLine = require("./comments/DefaultDeliveryLine.cjs"
1068
1069
  const require_CommentComposer = require("./comments/CommentComposer.cjs");
1069
1070
  const require_agent_delivery = require("./comments/agent-delivery.cjs");
1070
1071
  const require_CommentAuthor = require("./comments/CommentAuthor.cjs");
1072
+ const require_CommentBodyEditor = require("./comments/CommentBodyEditor.cjs");
1071
1073
  const require_CommentMarkdown = require("./comments/CommentMarkdown.cjs");
1072
1074
  const require_ProposalCard = require("./comments/ProposalCard.cjs");
1073
1075
  const require_comment_assign = require("./comments/comment-assign.cjs");
@@ -1084,6 +1086,7 @@ const require_ElementOutline = require("./comments/ElementOutline.cjs");
1084
1086
  const require_element_picker = require("./comments/element-picker.cjs");
1085
1087
  const require_model = require("./comments/anchoring/model.cjs");
1086
1088
  const require_markdown_anchor = require("./comments/anchoring/markdown-anchor.cjs");
1089
+ const require_frame_anchor = require("./comments/anchoring/frame-anchor.cjs");
1087
1090
  const require_dom_anchor = require("./comments/anchoring/dom-anchor.cjs");
1088
1091
  const require_web_text_anchor = require("./comments/anchoring/web-text-anchor.cjs");
1089
1092
  const require_annotation_screenshot = require("./comments/annotation-screenshot.cjs");
@@ -1203,6 +1206,7 @@ exports.CommandPaletteTrigger = require_CommandPaletteTrigger.CommandPaletteTrig
1203
1206
  exports.CommentAnchorBridge = require_CommentAnchorBridge.CommentAnchorBridge;
1204
1207
  exports.CommentAuthorAvatar = require_CommentAuthor.CommentAuthorAvatar;
1205
1208
  exports.CommentAuthorName = require_CommentAuthor.CommentAuthorName;
1209
+ exports.CommentBodyEditor = require_CommentBodyEditor.CommentBodyEditor;
1206
1210
  exports.CommentCapture = require_CommentCapture.CommentCapture;
1207
1211
  exports.CommentCard = require_CommentCard.CommentCard;
1208
1212
  exports.CommentComposer = require_CommentComposer.CommentComposer;
@@ -2814,6 +2818,8 @@ exports.columnsLayout = require_graph_columns_layout.columnsLayout;
2814
2818
  exports.comboboxLabelPadding = require_combobox_values.comboboxLabelPadding;
2815
2819
  exports.commentAnchor = require_dom_anchor.commentAnchor;
2816
2820
  exports.commentCountForPrefix = require_comment_utils.commentCountForPrefix;
2821
+ exports.commentFrameDocument = require_frame_anchor.commentFrameDocument;
2822
+ exports.commentFramePath = require_frame_anchor.commentFramePath;
2817
2823
  exports.commentTarget = require_dom_anchor.commentTarget;
2818
2824
  exports.compactStackPath = require_error_diagnostics.compactStackPath;
2819
2825
  exports.computeLineDiff = require_code_diff.computeLineDiff;
@@ -3175,6 +3181,7 @@ exports.shellCommandLine = require_shell_command.shellCommandLine;
3175
3181
  exports.shellQuote = require_shell_command.shellQuote;
3176
3182
  exports.shortFrameName = require_frame_heuristics.shortFrameName;
3177
3183
  exports.shortSha = require_git_links.shortSha;
3184
+ exports.siblingPrefixPre = require_json_schema_form_sibling_prefix.siblingPrefixPre;
3178
3185
  exports.slugify = require_routePath.slugify;
3179
3186
  exports.sortReplies = require_comment_utils.sortReplies;
3180
3187
  exports.splitCommaValues = require_data_table_filter_values.splitCommaValues;