@vibefield/rosetta-room 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (435) hide show
  1. package/README.md +247 -2
  2. package/dist/HistoryRoom.d.ts +98 -0
  3. package/dist/HistoryRoom.js +440 -0
  4. package/dist/TranscriptReader.d.ts +22 -0
  5. package/dist/TranscriptReader.js +72 -0
  6. package/dist/components/ColdStart.d.ts +4 -0
  7. package/dist/components/ColdStart.js +5 -0
  8. package/dist/components/FilterChips.d.ts +4 -0
  9. package/dist/components/FilterChips.js +5 -0
  10. package/dist/components/HostAct.d.ts +9 -0
  11. package/dist/components/HostAct.js +16 -0
  12. package/dist/components/HostMenu.d.ts +41 -0
  13. package/dist/components/HostMenu.js +216 -0
  14. package/dist/components/IngestStatus.d.ts +4 -0
  15. package/dist/components/IngestStatus.js +20 -0
  16. package/dist/components/ListActivityNotice.d.ts +5 -0
  17. package/dist/components/ListActivityNotice.js +4 -0
  18. package/dist/components/ListSections.d.ts +20 -0
  19. package/dist/components/ListSections.js +39 -0
  20. package/dist/components/RenameHeading.d.ts +9 -0
  21. package/dist/components/RenameHeading.js +75 -0
  22. package/dist/components/SearchStrip.d.ts +5 -0
  23. package/dist/components/SearchStrip.js +8 -0
  24. package/dist/components/SummaryMetrics.d.ts +13 -0
  25. package/dist/components/SummaryMetrics.js +9 -0
  26. package/dist/components/SummaryPanels.d.ts +35 -0
  27. package/dist/components/SummaryPanels.js +117 -0
  28. package/dist/components/Transcript.d.ts +46 -0
  29. package/dist/components/Transcript.js +358 -0
  30. package/dist/components/charts/ActivityChartDetail.d.ts +13 -0
  31. package/dist/components/charts/ActivityChartDetail.js +78 -0
  32. package/dist/components/charts/CalendarHeatmap.d.ts +16 -0
  33. package/dist/components/charts/CalendarHeatmap.js +55 -0
  34. package/dist/components/charts/DayActivityChart.d.ts +8 -0
  35. package/dist/components/charts/DayActivityChart.js +71 -0
  36. package/dist/components/charts/ModelsChartDetail.d.ts +7 -0
  37. package/dist/components/charts/ModelsChartDetail.js +19 -0
  38. package/dist/components/charts/ProjectChartDialog.d.ts +19 -0
  39. package/dist/components/charts/ProjectChartDialog.js +39 -0
  40. package/dist/components/charts/Streamgraph.d.ts +16 -0
  41. package/dist/components/charts/Streamgraph.js +94 -0
  42. package/dist/components/charts/Treemap.d.ts +26 -0
  43. package/dist/components/charts/Treemap.js +81 -0
  44. package/dist/components/charts/index.d.ts +9 -0
  45. package/dist/components/charts/index.js +4 -0
  46. package/dist/components/charts/streamgraph-layout.d.ts +23 -0
  47. package/dist/components/charts/streamgraph-layout.js +114 -0
  48. package/dist/components/charts/treemap-layout.d.ts +32 -0
  49. package/dist/components/charts/treemap-layout.js +140 -0
  50. package/dist/components/charts/types.d.ts +65 -0
  51. package/dist/components/charts/types.js +8 -0
  52. package/dist/components/file-viewer/FileViewerBrowsers.d.ts +10 -0
  53. package/dist/components/file-viewer/FileViewerBrowsers.js +65 -0
  54. package/dist/components/file-viewer/FileViewerDialog.d.ts +33 -0
  55. package/dist/components/file-viewer/FileViewerDialog.js +82 -0
  56. package/dist/components/file-viewer/FileViewerHeader.d.ts +26 -0
  57. package/dist/components/file-viewer/FileViewerHeader.js +17 -0
  58. package/dist/components/file-viewer/ImageGalleryDialog.d.ts +14 -0
  59. package/dist/components/file-viewer/ImageGalleryDialog.js +98 -0
  60. package/dist/components/file-viewer/diff/index.d.ts +2 -0
  61. package/dist/components/file-viewer/diff/index.js +2 -0
  62. package/dist/components/file-viewer/diff/parse.d.ts +2 -0
  63. package/dist/components/file-viewer/diff/parse.js +164 -0
  64. package/dist/components/file-viewer/diff/types.d.ts +44 -0
  65. package/dist/components/file-viewer/diff/types.js +7 -0
  66. package/dist/components/file-viewer/gallery-source.d.ts +11 -0
  67. package/dist/components/file-viewer/gallery-source.js +75 -0
  68. package/dist/components/file-viewer/image-resource.d.ts +19 -0
  69. package/dist/components/file-viewer/image-resource.js +60 -0
  70. package/dist/components/file-viewer/index.d.ts +5 -0
  71. package/dist/components/file-viewer/index.js +8 -0
  72. package/dist/components/file-viewer/markdown/blocks.d.ts +2 -0
  73. package/dist/components/file-viewer/markdown/blocks.js +277 -0
  74. package/dist/components/file-viewer/markdown/index.d.ts +4 -0
  75. package/dist/components/file-viewer/markdown/index.js +35 -0
  76. package/dist/components/file-viewer/markdown/inline.d.ts +10 -0
  77. package/dist/components/file-viewer/markdown/inline.js +178 -0
  78. package/dist/components/file-viewer/markdown/render.d.ts +9 -0
  79. package/dist/components/file-viewer/markdown/render.js +78 -0
  80. package/dist/components/file-viewer/markdown/types.d.ts +57 -0
  81. package/dist/components/file-viewer/markdown/types.js +11 -0
  82. package/dist/components/file-viewer/minimap/CodeMinimap.d.ts +10 -0
  83. package/dist/components/file-viewer/minimap/CodeMinimap.js +296 -0
  84. package/dist/components/file-viewer/minimap/layout.d.ts +60 -0
  85. package/dist/components/file-viewer/minimap/layout.js +117 -0
  86. package/dist/components/file-viewer/minimap/palette.d.ts +2 -0
  87. package/dist/components/file-viewer/minimap/palette.js +73 -0
  88. package/dist/components/file-viewer/minimap/raster.d.ts +19 -0
  89. package/dist/components/file-viewer/minimap/raster.js +122 -0
  90. package/dist/components/file-viewer/registry.d.ts +25 -0
  91. package/dist/components/file-viewer/registry.js +182 -0
  92. package/dist/components/file-viewer/syntax/grammars.d.ts +16 -0
  93. package/dist/components/file-viewer/syntax/grammars.js +221 -0
  94. package/dist/components/file-viewer/syntax/index.d.ts +8 -0
  95. package/dist/components/file-viewer/syntax/index.js +9 -0
  96. package/dist/components/file-viewer/syntax/languages.d.ts +14 -0
  97. package/dist/components/file-viewer/syntax/languages.js +115 -0
  98. package/dist/components/file-viewer/syntax/tokenize-config.d.ts +2 -0
  99. package/dist/components/file-viewer/syntax/tokenize-config.js +132 -0
  100. package/dist/components/file-viewer/syntax/tokenize-css.d.ts +2 -0
  101. package/dist/components/file-viewer/syntax/tokenize-css.js +169 -0
  102. package/dist/components/file-viewer/syntax/tokenize-markup.d.ts +2 -0
  103. package/dist/components/file-viewer/syntax/tokenize-markup.js +124 -0
  104. package/dist/components/file-viewer/syntax/tokenize.d.ts +9 -0
  105. package/dist/components/file-viewer/syntax/tokenize.js +289 -0
  106. package/dist/components/file-viewer/syntax/types.d.ts +74 -0
  107. package/dist/components/file-viewer/syntax/types.js +13 -0
  108. package/dist/components/file-viewer/types.d.ts +111 -0
  109. package/dist/components/file-viewer/types.js +8 -0
  110. package/dist/components/file-viewer/use-file-content.d.ts +26 -0
  111. package/dist/components/file-viewer/use-file-content.js +144 -0
  112. package/dist/components/file-viewer/views/BinaryView.d.ts +2 -0
  113. package/dist/components/file-viewer/views/BinaryView.js +34 -0
  114. package/dist/components/file-viewer/views/CodeView.d.ts +2 -0
  115. package/dist/components/file-viewer/views/CodeView.js +46 -0
  116. package/dist/components/file-viewer/views/DiffBody.d.ts +7 -0
  117. package/dist/components/file-viewer/views/DiffBody.js +77 -0
  118. package/dist/components/file-viewer/views/DiffView.d.ts +2 -0
  119. package/dist/components/file-viewer/views/DiffView.js +11 -0
  120. package/dist/components/file-viewer/views/ImageView.d.ts +9 -0
  121. package/dist/components/file-viewer/views/ImageView.js +28 -0
  122. package/dist/components/file-viewer/views/MarkdownView.d.ts +9 -0
  123. package/dist/components/file-viewer/views/MarkdownView.js +20 -0
  124. package/dist/components/file-viewer/views/SvgView.d.ts +9 -0
  125. package/dist/components/file-viewer/views/SvgView.js +10 -0
  126. package/dist/components/git/ChangeTree.d.ts +20 -0
  127. package/dist/components/git/ChangeTree.js +35 -0
  128. package/dist/components/git/CommitViewer.d.ts +12 -0
  129. package/dist/components/git/CommitViewer.js +85 -0
  130. package/dist/components/git/GitChanges.d.ts +17 -0
  131. package/dist/components/git/GitChanges.js +70 -0
  132. package/dist/components/git/GitHistory.d.ts +9 -0
  133. package/dist/components/git/GitHistory.js +58 -0
  134. package/dist/components/git/co-author.d.ts +14 -0
  135. package/dist/components/git/co-author.js +55 -0
  136. package/dist/components/git/git-file-source.d.ts +18 -0
  137. package/dist/components/git/git-file-source.js +53 -0
  138. package/dist/components/git/git-host.d.ts +24 -0
  139. package/dist/components/git/git-host.js +130 -0
  140. package/dist/components/git/index.d.ts +10 -0
  141. package/dist/components/git/index.js +12 -0
  142. package/dist/components/git/path-tree.d.ts +23 -0
  143. package/dist/components/git/path-tree.js +73 -0
  144. package/dist/components/git/session-files.d.ts +9 -0
  145. package/dist/components/git/session-files.js +50 -0
  146. package/dist/components/git/types.d.ts +92 -0
  147. package/dist/components/git/types.js +9 -0
  148. package/dist/components/projects/ProjectActivitySparkline.d.ts +6 -0
  149. package/dist/components/projects/ProjectActivitySparkline.js +12 -0
  150. package/dist/components/projects/ProjectList.d.ts +25 -0
  151. package/dist/components/projects/ProjectList.js +43 -0
  152. package/dist/components/projects/ProjectListItem.d.ts +19 -0
  153. package/dist/components/projects/ProjectListItem.js +78 -0
  154. package/dist/components/projects/ProjectsColumn.d.ts +19 -0
  155. package/dist/components/projects/ProjectsColumn.js +36 -0
  156. package/dist/components/projects/index.d.ts +8 -0
  157. package/dist/components/projects/index.js +4 -0
  158. package/dist/components/search/MatchStepper.d.ts +9 -0
  159. package/dist/components/search/MatchStepper.js +14 -0
  160. package/dist/components/search/SearchLauncher.d.ts +12 -0
  161. package/dist/components/search/SearchLauncher.js +13 -0
  162. package/dist/components/search/SearchSheet.d.ts +29 -0
  163. package/dist/components/search/SearchSheet.js +230 -0
  164. package/dist/components/search/index.d.ts +8 -0
  165. package/dist/components/search/index.js +4 -0
  166. package/dist/components/search/shortcut.d.ts +25 -0
  167. package/dist/components/search/shortcut.js +32 -0
  168. package/dist/components/sessions/SessionList.d.ts +24 -0
  169. package/dist/components/sessions/SessionList.js +76 -0
  170. package/dist/components/sessions/SessionListItem.d.ts +13 -0
  171. package/dist/components/sessions/SessionListItem.js +58 -0
  172. package/dist/components/sessions/SessionsColumn.d.ts +26 -0
  173. package/dist/components/sessions/SessionsColumn.js +32 -0
  174. package/dist/components/sessions/index.d.ts +9 -0
  175. package/dist/components/sessions/index.js +4 -0
  176. package/dist/components/sessions/session-display.d.ts +8 -0
  177. package/dist/components/sessions/session-display.js +18 -0
  178. package/dist/components/sessions/types.d.ts +7 -0
  179. package/dist/components/sessions/types.js +1 -0
  180. package/dist/components/transcript/Activity.d.ts +45 -0
  181. package/dist/components/transcript/Activity.js +75 -0
  182. package/dist/components/transcript/Anchor.d.ts +8 -0
  183. package/dist/components/transcript/Anchor.js +23 -0
  184. package/dist/components/transcript/Attachments.d.ts +21 -0
  185. package/dist/components/transcript/Attachments.js +138 -0
  186. package/dist/components/transcript/AuthoredMessage.d.ts +19 -0
  187. package/dist/components/transcript/AuthoredMessage.js +17 -0
  188. package/dist/components/transcript/Compaction.d.ts +9 -0
  189. package/dist/components/transcript/Compaction.js +50 -0
  190. package/dist/components/transcript/DayPill.d.ts +38 -0
  191. package/dist/components/transcript/DayPill.js +68 -0
  192. package/dist/components/transcript/Document.d.ts +32 -0
  193. package/dist/components/transcript/Document.js +503 -0
  194. package/dist/components/transcript/Favicon.d.ts +32 -0
  195. package/dist/components/transcript/Favicon.js +71 -0
  196. package/dist/components/transcript/HeadOfDocument.d.ts +19 -0
  197. package/dist/components/transcript/HeadOfDocument.js +44 -0
  198. package/dist/components/transcript/Ledger.d.ts +53 -0
  199. package/dist/components/transcript/Ledger.js +182 -0
  200. package/dist/components/transcript/LineDetail.d.ts +24 -0
  201. package/dist/components/transcript/LineDetail.js +81 -0
  202. package/dist/components/transcript/Marker.d.ts +33 -0
  203. package/dist/components/transcript/Marker.js +21 -0
  204. package/dist/components/transcript/MessagePreview.d.ts +12 -0
  205. package/dist/components/transcript/MessagePreview.js +58 -0
  206. package/dist/components/transcript/Prompt.d.ts +20 -0
  207. package/dist/components/transcript/Prompt.js +55 -0
  208. package/dist/components/transcript/Prose.d.ts +19 -0
  209. package/dist/components/transcript/Prose.js +109 -0
  210. package/dist/components/transcript/ReceiptPill.d.ts +10 -0
  211. package/dist/components/transcript/ReceiptPill.js +10 -0
  212. package/dist/components/transcript/ResponseHead.d.ts +9 -0
  213. package/dist/components/transcript/ResponseHead.js +36 -0
  214. package/dist/components/transcript/Subthread.d.ts +19 -0
  215. package/dist/components/transcript/Subthread.js +96 -0
  216. package/dist/components/transcript/Team.d.ts +53 -0
  217. package/dist/components/transcript/Team.js +185 -0
  218. package/dist/components/transcript/Thinking.d.ts +24 -0
  219. package/dist/components/transcript/Thinking.js +50 -0
  220. package/dist/components/transcript/TimelineMeta.d.ts +9 -0
  221. package/dist/components/transcript/TimelineMeta.js +161 -0
  222. package/dist/components/transcript/TranscriptLoading.d.ts +10 -0
  223. package/dist/components/transcript/TranscriptLoading.js +10 -0
  224. package/dist/components/transcript/WebDetail.d.ts +8 -0
  225. package/dist/components/transcript/WebDetail.js +29 -0
  226. package/dist/components/transcript/Workflow.d.ts +12 -0
  227. package/dist/components/transcript/Workflow.js +208 -0
  228. package/dist/components/transcript/activity-plan.d.ts +84 -0
  229. package/dist/components/transcript/activity-plan.js +209 -0
  230. package/dist/components/transcript/attachment-file-source.d.ts +23 -0
  231. package/dist/components/transcript/attachment-file-source.js +103 -0
  232. package/dist/components/transcript/attachment-gallery.d.ts +12 -0
  233. package/dist/components/transcript/attachment-gallery.js +33 -0
  234. package/dist/components/transcript/detail-parts.d.ts +50 -0
  235. package/dist/components/transcript/detail-parts.js +295 -0
  236. package/dist/components/transcript/disclosure-state.d.ts +6 -0
  237. package/dist/components/transcript/disclosure-state.js +32 -0
  238. package/dist/components/transcript/disclosure-store.d.ts +8 -0
  239. package/dist/components/transcript/disclosure-store.js +31 -0
  240. package/dist/components/transcript/document-model.d.ts +15 -0
  241. package/dist/components/transcript/document-model.js +104 -0
  242. package/dist/components/transcript/document-plan.d.ts +28 -0
  243. package/dist/components/transcript/document-plan.js +145 -0
  244. package/dist/components/transcript/fold-preference.d.ts +17 -0
  245. package/dist/components/transcript/fold-preference.js +63 -0
  246. package/dist/components/transcript/glyphs.d.ts +15 -0
  247. package/dist/components/transcript/glyphs.js +47 -0
  248. package/dist/components/transcript/index.d.ts +23 -0
  249. package/dist/components/transcript/index.js +22 -0
  250. package/dist/components/transcript/message-file-source.d.ts +15 -0
  251. package/dist/components/transcript/message-file-source.js +31 -0
  252. package/dist/components/transcript/message-preview.d.ts +9 -0
  253. package/dist/components/transcript/message-preview.js +46 -0
  254. package/dist/components/transcript/read-file-source.d.ts +7 -0
  255. package/dist/components/transcript/read-file-source.js +34 -0
  256. package/dist/components/transcript/reader-context.d.ts +13 -0
  257. package/dist/components/transcript/reader-context.js +55 -0
  258. package/dist/components/transcript/reading-identity.d.ts +2 -0
  259. package/dist/components/transcript/reading-identity.js +52 -0
  260. package/dist/components/transcript/scroll-to-row.d.ts +2 -0
  261. package/dist/components/transcript/scroll-to-row.js +13 -0
  262. package/dist/components/transcript/thread-index.d.ts +14 -0
  263. package/dist/components/transcript/thread-index.js +40 -0
  264. package/dist/components/transcript/thread-navigation.d.ts +5 -0
  265. package/dist/components/transcript/thread-navigation.js +3 -0
  266. package/dist/components/transcript/timeline-meta-file-source.d.ts +6 -0
  267. package/dist/components/transcript/timeline-meta-file-source.js +55 -0
  268. package/dist/components/transcript/timeline-meta-state.d.ts +12 -0
  269. package/dist/components/transcript/timeline-meta-state.js +24 -0
  270. package/dist/components/ui/ColumnHeading.d.ts +27 -0
  271. package/dist/components/ui/ColumnHeading.js +7 -0
  272. package/dist/components/ui/ConfirmDialog.d.ts +14 -0
  273. package/dist/components/ui/ConfirmDialog.js +22 -0
  274. package/dist/components/ui/DialogShell.d.ts +18 -0
  275. package/dist/components/ui/DialogShell.js +40 -0
  276. package/dist/components/ui/EmptyState.d.ts +10 -0
  277. package/dist/components/ui/EmptyState.js +6 -0
  278. package/dist/components/ui/ListSummaryHeader.d.ts +9 -0
  279. package/dist/components/ui/ListSummaryHeader.js +6 -0
  280. package/dist/components/ui/ListToolbar.d.ts +6 -0
  281. package/dist/components/ui/ListToolbar.js +5 -0
  282. package/dist/components/ui/ResultGroupHeader.d.ts +9 -0
  283. package/dist/components/ui/ResultGroupHeader.js +5 -0
  284. package/dist/components/ui/SegmentedControl.d.ts +16 -0
  285. package/dist/components/ui/SegmentedControl.js +9 -0
  286. package/dist/components/ui/SummaryMetric.d.ts +13 -0
  287. package/dist/components/ui/SummaryMetric.js +10 -0
  288. package/dist/components/ui/Veil.d.ts +7 -0
  289. package/dist/components/ui/Veil.js +5 -0
  290. package/dist/components/ui/index.d.ts +20 -0
  291. package/dist/components/ui/index.js +10 -0
  292. package/dist/components/worktree/WorktreeColumn.d.ts +22 -0
  293. package/dist/components/worktree/WorktreeColumn.js +170 -0
  294. package/dist/components/worktree/WorktreeFileTree.d.ts +19 -0
  295. package/dist/components/worktree/WorktreeFileTree.js +60 -0
  296. package/dist/components/worktree/WorktreeHeader.d.ts +32 -0
  297. package/dist/components/worktree/WorktreeHeader.js +81 -0
  298. package/dist/components/worktree/WorktreeList.d.ts +8 -0
  299. package/dist/components/worktree/WorktreeList.js +12 -0
  300. package/dist/components/worktree/index.d.ts +12 -0
  301. package/dist/components/worktree/index.js +7 -0
  302. package/dist/components/worktree/types.d.ts +17 -0
  303. package/dist/components/worktree/types.js +3 -0
  304. package/dist/components/worktree/use-worktree-guest.d.ts +21 -0
  305. package/dist/components/worktree/use-worktree-guest.js +92 -0
  306. package/dist/components/worktree/worktree-file-commands.d.ts +19 -0
  307. package/dist/components/worktree/worktree-file-commands.js +112 -0
  308. package/dist/components/worktree/worktree-file-source.d.ts +15 -0
  309. package/dist/components/worktree/worktree-file-source.js +75 -0
  310. package/dist/components/worktree/worktree-host.d.ts +31 -0
  311. package/dist/components/worktree/worktree-host.js +242 -0
  312. package/dist/fixtures/index.d.ts +24 -0
  313. package/dist/fixtures/index.js +292 -0
  314. package/dist/host-inputs.d.ts +231 -0
  315. package/dist/host-inputs.js +35 -0
  316. package/dist/index.d.ts +18 -0
  317. package/dist/index.js +14 -0
  318. package/dist/lib/activity-details.d.ts +23 -0
  319. package/dist/lib/activity-details.js +78 -0
  320. package/dist/lib/activity-order.d.ts +32 -0
  321. package/dist/lib/activity-order.js +86 -0
  322. package/dist/lib/agent-paths.d.ts +6 -0
  323. package/dist/lib/agent-paths.js +19 -0
  324. package/dist/lib/agents.d.ts +15 -0
  325. package/dist/lib/agents.js +60 -0
  326. package/dist/lib/catalog-status.d.ts +3 -0
  327. package/dist/lib/catalog-status.js +10 -0
  328. package/dist/lib/chart-data.d.ts +14 -0
  329. package/dist/lib/chart-data.js +151 -0
  330. package/dist/lib/day-activity.d.ts +21 -0
  331. package/dist/lib/day-activity.js +56 -0
  332. package/dist/lib/format.d.ts +24 -0
  333. package/dist/lib/format.js +116 -0
  334. package/dist/lib/hooks.d.ts +118 -0
  335. package/dist/lib/hooks.js +608 -0
  336. package/dist/lib/icons.d.ts +21 -0
  337. package/dist/lib/icons.js +49 -0
  338. package/dist/lib/image-media.d.ts +6 -0
  339. package/dist/lib/image-media.js +30 -0
  340. package/dist/lib/ingest-activity.d.ts +50 -0
  341. package/dist/lib/ingest-activity.js +151 -0
  342. package/dist/lib/ingest.d.ts +25 -0
  343. package/dist/lib/ingest.js +70 -0
  344. package/dist/lib/model-labels.d.ts +5 -0
  345. package/dist/lib/model-labels.js +28 -0
  346. package/dist/lib/model.d.ts +73 -0
  347. package/dist/lib/model.js +141 -0
  348. package/dist/lib/motion.d.ts +13 -0
  349. package/dist/lib/motion.js +80 -0
  350. package/dist/lib/room-storage.d.ts +13 -0
  351. package/dist/lib/room-storage.js +40 -0
  352. package/dist/lib/search-results.d.ts +27 -0
  353. package/dist/lib/search-results.js +83 -0
  354. package/dist/lib/search-sheet.d.ts +119 -0
  355. package/dist/lib/search-sheet.js +282 -0
  356. package/dist/lib/sections.d.ts +19 -0
  357. package/dist/lib/sections.js +36 -0
  358. package/dist/lib/session-activity.d.ts +5 -0
  359. package/dist/lib/session-activity.js +15 -0
  360. package/dist/lib/session-leases.d.ts +15 -0
  361. package/dist/lib/session-leases.js +61 -0
  362. package/dist/lib/spend.d.ts +42 -0
  363. package/dist/lib/spend.js +112 -0
  364. package/dist/lib/tint.d.ts +9 -0
  365. package/dist/lib/tint.js +53 -0
  366. package/dist/lib/transcript/collaboration.d.ts +97 -0
  367. package/dist/lib/transcript/collaboration.js +423 -0
  368. package/dist/lib/transcript/families.d.ts +212 -0
  369. package/dist/lib/transcript/families.js +906 -0
  370. package/dist/lib/transcript/favicons.d.ts +54 -0
  371. package/dist/lib/transcript/favicons.js +183 -0
  372. package/dist/lib/transcript/head-of-document.d.ts +27 -0
  373. package/dist/lib/transcript/head-of-document.js +274 -0
  374. package/dist/lib/transcript/head-state.d.ts +182 -0
  375. package/dist/lib/transcript/head-state.js +305 -0
  376. package/dist/lib/transcript/history-window.d.ts +13 -0
  377. package/dist/lib/transcript/history-window.js +52 -0
  378. package/dist/lib/transcript/images.d.ts +8 -0
  379. package/dist/lib/transcript/images.js +60 -0
  380. package/dist/lib/transcript/index.d.ts +15 -0
  381. package/dist/lib/transcript/index.js +8 -0
  382. package/dist/lib/transcript/ledger.d.ts +143 -0
  383. package/dist/lib/transcript/ledger.js +513 -0
  384. package/dist/lib/transcript/protocol.d.ts +23 -0
  385. package/dist/lib/transcript/protocol.js +1 -0
  386. package/dist/lib/transcript/sittings.d.ts +75 -0
  387. package/dist/lib/transcript/sittings.js +147 -0
  388. package/dist/lib/transcript/tail-scroll.d.ts +36 -0
  389. package/dist/lib/transcript/tail-scroll.js +167 -0
  390. package/dist/lib/transcript/tail-state.d.ts +17 -0
  391. package/dist/lib/transcript/tail-state.js +30 -0
  392. package/dist/lib/transcript/turns.d.ts +192 -0
  393. package/dist/lib/transcript/turns.js +576 -0
  394. package/dist/lib/transcript/use-transcript-opening.d.ts +12 -0
  395. package/dist/lib/transcript/use-transcript-opening.js +31 -0
  396. package/dist/lib/transcript/use-transcript-tail.d.ts +25 -0
  397. package/dist/lib/transcript/use-transcript-tail.js +158 -0
  398. package/dist/lib/transcript/vocabulary.d.ts +119 -0
  399. package/dist/lib/transcript/vocabulary.js +293 -0
  400. package/dist/lib/transcript/web-address.d.ts +6 -0
  401. package/dist/lib/transcript/web-address.js +18 -0
  402. package/dist/lib/transcript/workflow.d.ts +31 -0
  403. package/dist/lib/transcript/workflow.js +133 -0
  404. package/dist/lib/use-activity-order.d.ts +2 -0
  405. package/dist/lib/use-activity-order.js +23 -0
  406. package/dist/lib/use-day-usage.d.ts +8 -0
  407. package/dist/lib/use-day-usage.js +31 -0
  408. package/dist/lib/use-deferred-list-order.d.ts +26 -0
  409. package/dist/lib/use-deferred-list-order.js +142 -0
  410. package/dist/lib/use-ingest-activity.d.ts +2 -0
  411. package/dist/lib/use-ingest-activity.js +49 -0
  412. package/dist/lib/use-list-motion.d.ts +4 -0
  413. package/dist/lib/use-list-motion.js +67 -0
  414. package/dist/ports.d.ts +222 -0
  415. package/dist/ports.js +3 -0
  416. package/dist/room-context.d.ts +60 -0
  417. package/dist/room-context.js +87 -0
  418. package/dist/styles/activity-chart.css +127 -0
  419. package/dist/styles/attachments.css +29 -0
  420. package/dist/styles/favicon.css +73 -0
  421. package/dist/styles/history-room.css +18 -0
  422. package/dist/styles/host-inputs.css +250 -0
  423. package/dist/styles/image-gallery.css +30 -0
  424. package/dist/styles/ingest.css +51 -0
  425. package/dist/styles/message-preview.css +34 -0
  426. package/dist/styles/models-chart.css +66 -0
  427. package/dist/styles/project-chart.css +19 -0
  428. package/dist/styles/reader.css +33 -0
  429. package/dist/styles/room.css +1411 -0
  430. package/dist/styles/search.css +252 -0
  431. package/dist/styles/transcript-activity.css +70 -0
  432. package/dist/styles/transcript-head.css +220 -0
  433. package/dist/styles/transcript-loading.css +57 -0
  434. package/dist/styles/transcript.css +1226 -0
  435. package/package.json +61 -4
@@ -0,0 +1,252 @@
1
+ /* ═══════════════════════════════════════════════════════════════════════════
2
+ SEARCH — the launcher in the strip, the sheet over the room.
3
+ Design record (protos/agent-history-proto/search, 2026-09-09): search is a
4
+ tool held over the room, not a mode that replaces it. The strip keeps a
5
+ launcher where DESIGN.md §10 seats the file pill — centred in the drag
6
+ strip, clear of the traffic lights — and pressing it (or ⌘K) morphs it into
7
+ a top-attached sheet (DESIGN.md §8's docs explorer, one level wider),
8
+ sheet material, the §5 sheet shadow sign-flipped, backdrop dim, the stage
9
+ receding (M5). Nothing in the four columns changes content or geometry.
10
+ ═══════════════════════════════════════════════════════════════════════ */
11
+
12
+ /* ── the strip: centred search, with a theme control at the right edge ── */
13
+ .ah-searchbar {
14
+ position: relative;
15
+ display: flex; align-items: center; justify-content: center; flex: none;
16
+ min-height: 50px; padding: 9px 84px;
17
+ border-bottom: 1px solid var(--vf-hairline);
18
+ }
19
+ .ah-launcher {
20
+ position: relative; display: flex; align-items: center;
21
+ width: min(460px, 100%); height: 32px; border-radius: 999px;
22
+ background: var(--vf-fill); -webkit-app-region: no-drag;
23
+ transition: background-color 160ms ease, box-shadow 160ms ease;
24
+ }
25
+ .ah-launcher:hover { background: var(--vf-fill-hover); }
26
+ .ah-launcher:focus-within { box-shadow: inset 0 0 0 1.5px var(--vf-select); }
27
+ .ah-launcher__open {
28
+ display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0;
29
+ height: 100%; padding: 0 10px 0 11px; border: 0; border-radius: 999px;
30
+ background: transparent; color: var(--vf-text-tertiary); font-size: 12px;
31
+ text-align: left; cursor: default;
32
+ }
33
+ .ah-launcher__open svg { width: 13px; height: 13px; flex: none; }
34
+ .ah-launcher__text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
35
+ /* an active query is a fact about the room, so it takes primary ink */
36
+ .ah-launcher[data-active] .ah-launcher__text { color: var(--vf-text-primary); font-weight: 500; }
37
+ .ah-launcher .ah-kbd { flex: none; margin-left: auto; }
38
+ .ah-launcher__clear {
39
+ display: grid; place-items: center; width: 18px; height: 18px; flex: none;
40
+ margin-right: 7px; border: 0; border-radius: 999px; background: transparent;
41
+ color: var(--vf-text-tertiary); font-size: 13px; line-height: 1;
42
+ }
43
+ .ah-launcher__clear:hover { color: var(--vf-text-primary); background: var(--vf-fill-hover); }
44
+ /* the room's focus ring, on the one control that is a div */
45
+ .ah-launcher__open:focus-visible { outline: none; }
46
+
47
+ /* ── the sheet ─────────────────────────────────────────────────────────── */
48
+ .ah-sheet__backdrop {
49
+ position: fixed; inset: 0; z-index: 60;
50
+ background: var(--vf-backdrop-dim);
51
+ backdrop-filter: blur(2px);
52
+ -webkit-app-region: no-drag;
53
+ animation: ah-fade-in 200ms ease;
54
+ }
55
+ .ah-sheet {
56
+ position: fixed; z-index: 61; top: 0; left: 50%;
57
+ transform: translateX(-50%);
58
+ display: flex; flex-direction: column;
59
+ width: min(760px, calc(100% - 168px));
60
+ max-height: min(68%, 640px);
61
+ /* a top-attached sheet: square where it meets the window, the card radius
62
+ where it meets the room */
63
+ border-radius: 0 0 var(--vf-radius-card) var(--vf-radius-card);
64
+ background: var(--vf-sheet-surface);
65
+ backdrop-filter: blur(40px);
66
+ /* DESIGN.md §5's sheet shadow, sign-flipped — a top sheet throws its
67
+ shadow down — plus the hairline ring every floating surface wears */
68
+ box-shadow: 0 20px 40px rgb(0 0 0 / 8%), 0 0 0 1px var(--vf-hairline-strong);
69
+ color: var(--vf-text-primary);
70
+ overflow: hidden;
71
+ -webkit-app-region: no-drag;
72
+ transform-origin: top center;
73
+ animation: ah-sheet-in 240ms var(--vf-ease-island);
74
+ }
75
+ .dark .ah-sheet { box-shadow: 0 20px 40px rgb(0 0 0 / 40%), 0 0 0 1px var(--vf-hairline-strong); }
76
+ .ah-sheet:focus, .ah-sheet:focus-visible { outline: none; }
77
+ @keyframes ah-sheet-in {
78
+ from { opacity: 0; transform: translateX(-50%) translateY(-6px) scale(0.985); }
79
+ to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
80
+ }
81
+ /* M5 — the stage recedes behind the sheet, the way it does behind a file:
82
+ the room marks its root while the sheet is open */
83
+ .ah-room { transition: transform 240ms var(--vf-ease-island); }
84
+ .ah-frame[data-ah-overlay] .ah-room { transform: scale(0.98); }
85
+
86
+ /* the field — the launcher, grown: same pill, one size up */
87
+ .ah-sheet__field {
88
+ display: flex; align-items: center; gap: 10px; flex: none;
89
+ min-height: 50px; padding: 9px 12px 9px 16px;
90
+ border-bottom: 1px solid var(--vf-hairline);
91
+ }
92
+ .ah-sheet__field > svg { width: 14px; height: 14px; flex: none; color: var(--vf-text-tertiary); }
93
+ .ah-sheet__field input {
94
+ flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
95
+ color: var(--vf-text-primary); font: inherit; font-size: 14px;
96
+ }
97
+ .ah-sheet__field input::placeholder { color: var(--vf-text-tertiary); }
98
+ .ah-sheet__field input::-webkit-search-cancel-button { display: none; }
99
+ .ah-sheet__clear {
100
+ display: grid; place-items: center; width: 20px; height: 20px; flex: none;
101
+ border: 0; border-radius: 999px; background: transparent;
102
+ color: var(--vf-text-tertiary); font-size: 14px; line-height: 1;
103
+ }
104
+ .ah-sheet__clear:hover { color: var(--vf-text-primary); background: var(--vf-fill-hover); }
105
+ .ah-sheet__field .ah-kbd { flex: none; margin-left: 0; }
106
+
107
+ /* the scope row — what is being searched, said rather than guessed */
108
+ .ah-sheet__scope {
109
+ display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; flex: none;
110
+ padding: 7px 14px; border-bottom: 1px solid var(--vf-hairline);
111
+ }
112
+ .ah-sheet__scope .ah-seg button { height: 20px; padding: 0 8px; font-size: 10px; }
113
+ .ah-sheet__scope .ah-seg button i {
114
+ display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 999px;
115
+ background: var(--tint); vertical-align: 0;
116
+ }
117
+ .ah-chipselect {
118
+ appearance: none; height: 24px; padding: 0 22px 0 10px; border: 0; border-radius: 999px;
119
+ background: var(--vf-fill) no-repeat right 8px center / 8px 8px
120
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 3l2.5 2.5L6.5 3' fill='none' stroke='%23888' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
121
+ color: var(--vf-text-tertiary); font: inherit; font-size: 10.5px;
122
+ }
123
+ .ah-chipselect:hover { background-color: var(--vf-fill-hover); color: var(--vf-text-primary); }
124
+ .ah-chipselect[data-set] { color: var(--vf-text-primary); font-weight: 500; }
125
+ .ah-chipselect:focus-visible { outline: 2px solid var(--vf-select); outline-offset: 2px; }
126
+
127
+ /* the list — heads pin, rows walk */
128
+ .ah-sheet__list {
129
+ flex: 1; min-height: 0; overflow-y: auto; padding: 2px 8px 8px;
130
+ scrollbar-width: thin; scrollbar-color: var(--vf-hairline-strong) transparent;
131
+ transition: opacity 160ms ease 140ms;
132
+ }
133
+ .ah-sheet__list[data-stale] { opacity: 0.55; }
134
+ .ah-sheet__head {
135
+ position: sticky; top: 0; z-index: 2;
136
+ display: flex; align-items: center; gap: 8px;
137
+ padding: 10px 8px 5px; margin-top: 2px;
138
+ background: linear-gradient(var(--vf-sheet-surface) 80%, transparent);
139
+ }
140
+ .ah-sheet__head > i { flex: none; width: 3px; height: 12px; border-radius: 999px; background: var(--tint); }
141
+ .ah-sheet__crumb {
142
+ display: flex; align-items: baseline; gap: 5px; min-width: 0;
143
+ color: var(--vf-text-tertiary); font-size: 11px; white-space: nowrap;
144
+ }
145
+ .ah-sheet__crumb > b { flex: none; font-weight: 500; color: var(--vf-text-primary); }
146
+ .ah-sheet__crumb > i { flex: none; font-style: normal; color: var(--vf-text-faint); }
147
+ .ah-sheet__crumb > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--vf-text-secondary); }
148
+ .ah-sheet__crumb > span[data-mono] { font-family: var(--vf-font-mono); font-size: 10.5px; }
149
+ .ah-sheet__head .ah-agent { width: 11px; height: 11px; opacity: 0.55; }
150
+ .ah-sheet__headmeta {
151
+ margin-left: auto; flex: none; display: flex; align-items: center; gap: 6px;
152
+ color: var(--vf-text-faint); font-size: 9.5px; font-variant-numeric: tabular-nums; white-space: nowrap;
153
+ }
154
+ .ah-sheet__row {
155
+ display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 0 10px;
156
+ align-items: start; width: 100%; padding: 7px 10px; margin-bottom: 1px;
157
+ border: 0; border-radius: 9px; background: transparent; text-align: left; cursor: default;
158
+ scroll-margin-top: 30px; scroll-margin-bottom: 4px;
159
+ }
160
+ .ah-sheet__row:hover { background: var(--vf-fill); }
161
+ /* the keyboard's cursor wears the room's selection ring (DESIGN.md §7) */
162
+ .ah-sheet__row[aria-selected="true"] { background: var(--vf-fill); box-shadow: inset 0 0 0 1.5px var(--vf-select); }
163
+ .ah-sheet__who {
164
+ display: inline-flex; align-items: center; justify-content: center;
165
+ width: 16px; height: 18px; color: var(--vf-text-faint);
166
+ }
167
+ .ah-sheet__who svg { width: 12px; height: 12px; display: block; }
168
+ .ah-sheet__who .ah-agent { width: 12px; height: 12px; color: var(--vf-text-tertiary); }
169
+ /* the prompt is the only filled panel in the transcript; so it is here */
170
+ .ah-sheet__you { width: 9px; height: 9px; border-radius: 3px; background: var(--vf-text-tertiary); }
171
+ .ah-sheet__dot { width: 5px; height: 5px; border-radius: 999px; background: var(--vf-text-faint); }
172
+ .ah-sheet__snippet {
173
+ margin: 0; color: var(--vf-text-secondary); font-size: 12.5px; line-height: 1.45;
174
+ display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
175
+ overflow-wrap: anywhere;
176
+ }
177
+ /* the match is hierarchy, not a highlighter (design record §06) */
178
+ .ah-sheet__snippet mark {
179
+ padding: 1px 2px; margin: 0 -1px; border-radius: 3px;
180
+ background: var(--vf-fill-hover); color: var(--vf-text-primary); font-weight: 500;
181
+ }
182
+ .ah-sheet__row:hover mark,
183
+ .ah-sheet__row[aria-selected="true"] mark { background: color-mix(in srgb, var(--vf-select) 20%, transparent); }
184
+ .ah-sheet__when {
185
+ padding-top: 2px; color: var(--vf-text-faint); font-size: 10px;
186
+ font-variant-numeric: tabular-nums; white-space: nowrap;
187
+ }
188
+
189
+ /* what the sheet says when it has nothing to list */
190
+ .ah-sheet__quiet { padding: 18px 16px 8px; }
191
+ .ah-sheet__quiet strong { display: block; font-size: 12.5px; font-weight: 500; color: var(--vf-text-secondary); }
192
+ .ah-sheet__quiet p { margin: 5px 0 0; color: var(--vf-text-faint); font-size: 11px; line-height: 1.6; }
193
+ .ah-sheet__quiet code { font-family: var(--vf-font-mono); font-size: 10.5px; color: var(--vf-text-tertiary); }
194
+ .ah-sheet__recent-head {
195
+ padding: 12px 10px 4px; color: var(--vf-text-faint);
196
+ font-size: 9.5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em;
197
+ }
198
+ .ah-sheet__recent {
199
+ display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 10px;
200
+ border: 0; border-radius: 9px; background: transparent; color: var(--vf-text-secondary);
201
+ font-size: 12.5px; text-align: left; cursor: default;
202
+ }
203
+ .ah-sheet__recent:hover, .ah-sheet__recent[aria-selected="true"] { background: var(--vf-fill); }
204
+ .ah-sheet__recent[aria-selected="true"] { box-shadow: inset 0 0 0 1.5px var(--vf-select); }
205
+ .ah-sheet__recent > svg { width: 12px; height: 12px; flex: none; color: var(--vf-text-faint); }
206
+ .ah-sheet__recent > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
207
+ .ah-sheet__forget {
208
+ display: grid; place-items: center; width: 18px; height: 18px; flex: none;
209
+ border: 0; border-radius: 999px; background: transparent; color: var(--vf-text-faint); font-size: 13px; line-height: 1;
210
+ opacity: 0; transition: opacity 120ms ease;
211
+ }
212
+ .ah-sheet__recent:hover .ah-sheet__forget, .ah-sheet__forget:focus-visible { opacity: 1; }
213
+ .ah-sheet__forget:hover { color: var(--vf-text-primary); background: var(--vf-fill-hover); }
214
+
215
+ /* the foot — the count, the scope, the keys */
216
+ .ah-sheet__foot {
217
+ display: flex; align-items: center; gap: 12px; flex: none;
218
+ min-height: 30px; padding: 6px 14px;
219
+ border-top: 1px solid var(--vf-hairline);
220
+ color: var(--vf-text-faint); font-size: 10px; line-height: 1.4;
221
+ }
222
+ .ah-sheet__count { flex: none; font-variant-numeric: tabular-nums; color: var(--vf-text-tertiary); }
223
+ .ah-sheet__count[data-tone="warn"] { color: var(--vf-orange); }
224
+ .ah-sheet__scopeline { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
225
+ .ah-sheet__keys { margin-left: auto; display: flex; gap: 10px; flex: none; }
226
+ .ah-sheet__keys span { display: inline-flex; align-items: center; gap: 4px; }
227
+ .ah-sheet .ah-meter { width: 96px; flex: none; }
228
+
229
+ /* ── the match stepper — the sheet's tail in the transcript head ───────── */
230
+ .ah-stepper {
231
+ display: inline-flex; align-items: center; gap: 2px;
232
+ height: 24px; padding: 0 3px 0 10px; border-radius: 999px;
233
+ background: var(--vf-fill); color: var(--vf-text-secondary); font-size: 10.5px;
234
+ }
235
+ .ah-stepper > b {
236
+ max-width: 180px; margin-right: 6px; font-weight: 500; color: var(--vf-text-primary);
237
+ white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
238
+ }
239
+ .ah-stepper > .tnum { margin-right: 4px; color: var(--vf-text-tertiary); font-variant-numeric: tabular-nums; white-space: nowrap; }
240
+ .ah-stepper > button {
241
+ display: grid; place-items: center; width: 20px; height: 20px;
242
+ border: 0; border-radius: 999px; background: transparent; color: var(--vf-text-tertiary);
243
+ }
244
+ .ah-stepper > button:hover { background: var(--vf-fill-hover); color: var(--vf-text-primary); }
245
+ .ah-stepper > button svg { width: 11px; height: 11px; display: block; }
246
+
247
+ /* ── M6 — the quality floor ────────────────────────────────────────────── */
248
+ @media (prefers-reduced-motion: reduce) {
249
+ .ah-sheet, .ah-sheet__backdrop { animation-duration: 1ms; }
250
+ .ah-sheet__list { transition: none; }
251
+ .ah-frame[data-ah-overlay] .ah-room { transform: none; }
252
+ }
@@ -0,0 +1,70 @@
1
+ /* §04B — conversation first. The outer run owns the only activity rail. */
2
+ .tr-reading-prompt { margin-top: 30px; }
3
+ .tr-reading-prompt:first-child, .tr-day + .tr-reading-prompt { margin-top: 0; }
4
+ .tr-reading-reply + .tr-reading-reply { margin-top: 12px; }
5
+ .tr-activity { margin: 10px 0 12px; min-width: 0; }
6
+ .tr-activity > .tr-attachments { margin-top: 8px; margin-bottom: 12px; }
7
+ .tr-activity__head {
8
+ width: 100%; margin: 0; padding: 4px 0; min-height: 30px;
9
+ border: 0; background: none; text-align: left; font-family: inherit;
10
+ }
11
+ .tr-activity__head .tr-line__r { gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
12
+ .tr-activity__head .tr-line__r .t { font-family: var(--vf-font-mono); font-size: 10px; }
13
+ .tr-activity__running { display: inline-flex; align-items: center; gap: 5px; color: var(--vf-green); }
14
+ .tr-activity__running i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
15
+ .tr-activity__list { margin: 3px 0 0 5px; padding: 2px 0 3px 14px; border-left: 1px solid var(--vf-hairline-strong); }
16
+ .tr-activity__list[hidden] { display: none; }
17
+ .tr-activity__loading { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 8px 0; color: var(--vf-text-tertiary); font-size: 12px; }
18
+ .tr-activity__loading button { padding: 0; border: 0; background: none; color: var(--vf-text-secondary); font: inherit; text-decoration: underline; cursor: pointer; }
19
+ .tr-activity__loading button:focus-visible { outline: 1.5px solid var(--vf-select); outline-offset: 3px; }
20
+ .tr-activity-tools { margin: 0; min-width: 0; }
21
+ .tr-activity__list .tr-line { margin-inline: 0; padding-inline: 0; min-width: 0; }
22
+ .tr-activity__list > .tr-ledger, .tr-activity__list > .tr-seg,
23
+ .tr-activity__list > .tr-compaction { margin: 2px 0; padding-left: 0; border-left: 0; }
24
+ .tr-activity__list .tr-activity-tools > div > .tr-line { min-height: 30px; }
25
+ .tr-activity__list > .tr-compaction > summary { justify-content: flex-start; text-transform: none; letter-spacing: 0; font-size: 12px; }
26
+ .tr-activity__list > .tr-compaction > summary::before,
27
+ .tr-activity__list > .tr-compaction > summary::after { display: none; }
28
+ .tr-activity__list .tr-compaction__body { margin: 5px 0 12px 22px; padding: 0; border: 0; }
29
+ .tr-activity__list > .tr-thought .tr-think { margin: 6px 0 12px 22px; }
30
+ .tr-activity-event { min-width: 0; margin: 1px 0; }
31
+ .tr-activity-event > summary {
32
+ display: grid; grid-template-columns: 14px minmax(0, 1fr) auto 12px;
33
+ gap: 8px; align-items: center; min-height: 35px; padding: 6px 0;
34
+ border-radius: 5px; cursor: pointer; list-style: none; color: var(--vf-text-secondary); font-size: 12px;
35
+ }
36
+ .tr-activity-event > summary::-webkit-details-marker { display: none; }
37
+ .tr-activity-event > summary:hover { background: var(--vf-fill); }
38
+ .tr-activity-event > summary:focus-visible { outline: 1.5px solid var(--vf-select); outline-offset: 2px; }
39
+ .tr-activity-event__glyph { display: inline-flex; width: 14px; height: 14px; color: var(--vf-text-tertiary); }
40
+ .tr-activity-event__glyph > svg, .tr-activity-event__glyph .tm-avatar { width: 14px; height: 14px; }
41
+ .tr-activity-event__label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1px 7px; min-width: 0; }
42
+ .tr-activity-event__label strong { font-weight: 500; }
43
+ .tr-activity-event__label > span { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--vf-text-tertiary); font-size: 11px; }
44
+ .tr-activity-event > summary time { color: var(--vf-text-faint); font: 10px var(--vf-font-mono); }
45
+ .tr-activity-event > summary .chev { grid-column: 4; display: inline-flex; color: var(--vf-text-tertiary); transition: transform 160ms var(--vf-ease-island); }
46
+ .tr-activity-event > summary .chev svg { width: 12px; height: 12px; }
47
+ .tr-activity-event[open] > summary .chev { transform: rotate(90deg); }
48
+ .tr-activity-event__body { margin: 4px 20px 14px 22px; font-size: 13px; color: var(--vf-text-secondary); overflow-wrap: anywhere; }
49
+ .tr-activity-event__body .tm-message__body { margin-left: 0; font-size: 13px; }
50
+ .tr-activity-event__body > .tm-message__head { margin-bottom: 8px; }
51
+ .tr-activity-event[data-hit="true"] > summary { background: color-mix(in srgb, var(--vf-select) 10%, transparent); outline: 1px solid var(--vf-select); outline-offset: 2px; }
52
+ .tr-activity-event[data-failed="true"] .tr-activity-event__glyph { color: var(--vf-red); }
53
+ .tr-child-link { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 8px 0; padding: 6px 0; border: 0; background: none; color: var(--vf-text-secondary); font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
54
+ .tr-child-link span { color: var(--vf-text-tertiary); overflow-wrap: anywhere; }
55
+ .tr-child-link:focus-visible { outline: 1.5px solid var(--vf-select); outline-offset: 3px; }
56
+ .tr-parent-link { flex: 0 0 26px; height: 26px; border: 0; border-radius: 6px; background: none; color: var(--vf-text-secondary); font-size: 17px; cursor: pointer; }
57
+ .tr-parent-link:hover { background: var(--vf-fill); }
58
+ .tr-parent-link:focus-visible { outline: 1.5px solid var(--vf-select); }
59
+ @container measure (max-width: 480px) {
60
+ .tr-activity__head .tr-line__r .t { display: none; }
61
+ .tr-activity__head .tr-line__r { gap: 3px 7px; max-width: 140px; font-size: 10px; }
62
+ .tr-activity-event > summary { grid-template-columns: 14px minmax(0, 1fr) 12px; }
63
+ .tr-activity-event > summary .chev { grid-column: 3; }
64
+ .tr-activity-event > summary time { display: none; }
65
+ .tr-activity-event__label > span { white-space: normal; overflow-wrap: anywhere; }
66
+ .tr-activity-event__body { margin-right: 0; }
67
+ .tr-activity-tools .tr-line:not(.wf-worker) { grid-template-columns: 14px max-content minmax(0, 1fr); row-gap: 3px; padding-block: 5px; }
68
+ .tr-activity-tools .tr-line:not(.wf-worker) .tr-line__r { grid-column: 2 / -1; min-width: 0; white-space: normal; overflow-wrap: anywhere; }
69
+ }
70
+ @media (prefers-reduced-motion: reduce) { .tr-activity-event > summary .chev { transition: none; } }
@@ -0,0 +1,220 @@
1
+ /* ═══════════════════════════════════════════════════════════════════════════
2
+ §08 — the head of the document: earlier, on a pull.
3
+
4
+ Ported from the locked record (protos/agent-history-proto/transcript) against
5
+ this app's tokens, which carry the same `--vf-` names. The rules are the
6
+ record's `.tr-top`, `.tr-headpill` and `.tr-frost`; only the two keyframe
7
+ names are namespaced, because room.css owns the `ah-` prefix.
8
+
9
+ The foot's rule is "a notice, never a jump": new rows appear and a pill
10
+ states the count. The head is its mirror. Content lands above, the viewport
11
+ stays where it was, and a pill states the count. The head line is a marker
12
+ (the family's bare-text form) plus one instrument: the veil's colourless
13
+ bar, filling with the pull.
14
+ ═══════════════════════════════════════════════════════════════════════════ */
15
+
16
+ .tr-top {
17
+ position: relative;
18
+ display: grid;
19
+ justify-items: center;
20
+ gap: 7px;
21
+ padding: 6px 0 14px;
22
+ }
23
+ .tr-top__line {
24
+ display: flex;
25
+ align-items: center;
26
+ gap: 10px;
27
+ width: 100%;
28
+ color: var(--vf-text-faint);
29
+ font-size: 10px;
30
+ text-transform: uppercase;
31
+ letter-spacing: 0.07em;
32
+ font-variant-numeric: tabular-nums;
33
+ }
34
+ .tr-top__line::before,
35
+ .tr-top__line::after {
36
+ content: "";
37
+ flex: 1;
38
+ height: 1px;
39
+ background: var(--vf-hairline-strong);
40
+ }
41
+ .tr-top__line b {
42
+ font-weight: 500;
43
+ color: var(--vf-text-tertiary);
44
+ }
45
+ /* the retry is a text act inside the line, never a filled button */
46
+ .tr-top__line button {
47
+ border: 0;
48
+ background: none;
49
+ padding: 0;
50
+ color: var(--vf-text-tertiary);
51
+ font: inherit;
52
+ letter-spacing: inherit;
53
+ text-transform: inherit;
54
+ cursor: pointer;
55
+ border-bottom: 1px dotted var(--vf-hairline-strong);
56
+ }
57
+ .tr-top__line button:hover {
58
+ color: var(--vf-text-primary);
59
+ }
60
+
61
+ /* Loading is colourless — the veil's rule: loading is not a §2.5 state. */
62
+ .tr-top__bar {
63
+ position: relative;
64
+ width: 220px;
65
+ height: 3px;
66
+ border-radius: 999px;
67
+ background: var(--vf-hairline);
68
+ overflow: hidden;
69
+ }
70
+ .tr-top__bar i {
71
+ position: absolute;
72
+ inset: 0;
73
+ width: 0;
74
+ border-radius: 999px;
75
+ background: color-mix(in srgb, var(--vf-foreground) 32%, transparent);
76
+ transition: width 60ms linear;
77
+ }
78
+ .tr-top[data-state="loading"] .tr-top__bar i,
79
+ .tr-top[data-state="finding"] .tr-top__bar i,
80
+ .tr-top[data-state="fetching"] .tr-top__bar i {
81
+ width: 38%;
82
+ animation: tr-top-slide 1.1s var(--vf-ease-island) infinite;
83
+ }
84
+ /* weight means readiness: a page is fetched and waiting */
85
+ .tr-top[data-state="held"] .tr-top__bar i {
86
+ width: 100%;
87
+ }
88
+ @keyframes tr-top-slide {
89
+ from {
90
+ transform: translateX(-100%);
91
+ }
92
+ to {
93
+ transform: translateX(263%);
94
+ }
95
+ }
96
+ .tr-top[data-state="start"] .tr-top__bar,
97
+ .tr-top[data-state="error"] .tr-top__bar,
98
+ .tr-top[data-state="rewritten"] .tr-top__bar {
99
+ display: none;
100
+ }
101
+ .tr-top[data-state="start"] .tr-top__line {
102
+ color: var(--vf-text-faint);
103
+ }
104
+ .tr-top[data-state="error"] .tr-top__line b {
105
+ color: var(--vf-text-tertiary);
106
+ }
107
+ /* the dead cursor rides the dashed line the data gap uses */
108
+ .tr-top[data-state="rewritten"] .tr-top__line::before,
109
+ .tr-top[data-state="rewritten"] .tr-top__line::after {
110
+ background: repeating-linear-gradient(
111
+ 90deg,
112
+ var(--vf-hairline-strong) 0 4px,
113
+ transparent 4px 8px
114
+ );
115
+ }
116
+ /* the 410 sentence sits under the head line, on its own rule */
117
+ .tr-top + .tr-top[data-state="rewritten"] {
118
+ padding-top: 0;
119
+ }
120
+
121
+ /* the receipt at the head — the foot's new-messages pill, mirrored.
122
+ Absolutely positioned: its host must be the positioned frame that holds the
123
+ scroller (the transcript column is already `position: relative`), and `top`
124
+ is set by the mount so the pill lands BENEATH a pinned day pill, never over
125
+ it. */
126
+ .tr-headpill {
127
+ position: absolute;
128
+ left: 50%;
129
+ top: var(--tr-headpill-top, 10px);
130
+ z-index: 6;
131
+ transform: translateX(-50%);
132
+ display: flex;
133
+ align-items: center;
134
+ gap: 7px;
135
+ height: 28px;
136
+ padding: 0 13px;
137
+ border: 1px solid var(--vf-hairline);
138
+ border-radius: 999px;
139
+ background: var(--vf-chrome-surface);
140
+ backdrop-filter: blur(20px);
141
+ box-shadow: var(--vf-shadow-island);
142
+ color: var(--vf-text-secondary);
143
+ font-size: 10.5px;
144
+ font-variant-numeric: tabular-nums;
145
+ animation: tr-headpill-pop 280ms var(--vf-ease-pop);
146
+ pointer-events: none;
147
+ }
148
+ .tr-headpill[hidden] {
149
+ display: none;
150
+ }
151
+ /* the ↑ of "↑ 200 earlier loaded", drawn rather than typed */
152
+ .tr-headpill i {
153
+ width: 0;
154
+ height: 0;
155
+ border-left: 4px solid transparent;
156
+ border-right: 4px solid transparent;
157
+ border-bottom: 6px solid var(--vf-text-tertiary);
158
+ }
159
+ @keyframes tr-headpill-pop {
160
+ from {
161
+ opacity: 0;
162
+ transform: translateX(-50%) translateY(6px) scale(0.92);
163
+ }
164
+ to {
165
+ opacity: 1;
166
+ transform: translateX(-50%);
167
+ }
168
+ }
169
+
170
+ /* ── the top fade ──────────────────────────────────────────────────────────
171
+ A pinned pill is chrome, and chrome needs a ground: content scrolling under
172
+ it dissolves into the paper's own colour. Absent at rest, rising over the
173
+ first 24px of scroll, so the head line and the session start are never
174
+ behind it. No blur: the gradient alone cuts cleanly, costs the compositor
175
+ nothing, and is the same under reduced transparency. `--frost` is written
176
+ onto the scroller by useHeadOfDocument's scroll handler. */
177
+ .tr-frost {
178
+ position: sticky;
179
+ top: 0;
180
+ z-index: 3;
181
+ height: 0;
182
+ overflow: visible;
183
+ pointer-events: none;
184
+ }
185
+ .tr-frost::before {
186
+ content: "";
187
+ position: absolute;
188
+ left: 0;
189
+ right: 0;
190
+ top: 0;
191
+ height: 64px;
192
+ opacity: var(--frost, 0);
193
+ background: linear-gradient(
194
+ to bottom,
195
+ var(--ah-plate) 0%,
196
+ color-mix(in srgb, var(--ah-plate) 88%, transparent) 38%,
197
+ transparent 100%
198
+ );
199
+ transition: opacity 120ms ease;
200
+ }
201
+
202
+ /* M6 — motion is a courtesy, never the message. The bar still reads full,
203
+ indeterminate or spent; it just stops travelling. */
204
+ @media (prefers-reduced-motion: reduce) {
205
+ .tr-top__bar i {
206
+ transition: none;
207
+ animation: none;
208
+ }
209
+ .tr-top[data-state="loading"] .tr-top__bar i,
210
+ .tr-top[data-state="finding"] .tr-top__bar i,
211
+ .tr-top[data-state="fetching"] .tr-top__bar i {
212
+ width: 38%;
213
+ }
214
+ .tr-headpill {
215
+ animation: none;
216
+ }
217
+ .tr-frost::before {
218
+ transition: none;
219
+ }
220
+ }
@@ -0,0 +1,57 @@
1
+ /* The opening surface shares the transcript's paper and keeps its geometry.
2
+ Actual messages remain laid out underneath, without focusable hidden acts. */
3
+ .tr-stage, .tr-surface { display: flex; flex: 1; min-height: 0; flex-direction: column; }
4
+ .tr-stage { position: relative; overflow: hidden; }
5
+ /* Work indexes now anchor below the unchanged 46px column header. */
6
+ .tr-stage .tr-meta { top: 14px; }
7
+ .tr-surface { opacity: 0; }
8
+ .tr-stage[data-ready] > .tr-surface { opacity: 1; transition: opacity 160ms ease; }
9
+ .tr-loading {
10
+ position: absolute; inset: 0; z-index: 7; overflow: auto;
11
+ display: grid; place-items: center; padding: 32px 24px;
12
+ background: var(--vf-chrome-solid);
13
+ }
14
+ .tr-loading__body {
15
+ width: min(100%, 320px); display: flex; flex-direction: column; align-items: center;
16
+ animation: tr-loading-in 180ms ease 100ms both;
17
+ }
18
+ .tr-loading__sketch { width: 100%; margin-bottom: 34px; opacity: .7; }
19
+ .tr-loading__sketch i { display: block; height: 6px; border-radius: 4px; background: var(--vf-hairline-strong); }
20
+ .tr-loading__prompt {
21
+ width: 82%; padding: 17px 18px; border-radius: 10px; background: var(--vf-fill);
22
+ display: grid; gap: 9px;
23
+ }
24
+ .tr-loading__prompt i:last-child { width: 63%; }
25
+ .tr-loading__reply { display: grid; gap: 10px; margin-top: 26px; }
26
+ .tr-loading__byline { display: flex; gap: 9px; align-items: center; margin-bottom: 6px; }
27
+ .tr-loading__byline b { width: 16px; height: 16px; border-radius: 50%; background: var(--vf-fill-hover); }
28
+ .tr-loading__byline i { width: 66px; }
29
+ .tr-loading__reply > i:nth-last-child(2) { width: 93%; }
30
+ .tr-loading__reply > i:last-child { width: 68%; }
31
+ .tr-loading__fold { display: flex; align-items: center; gap: 9px; margin-top: 22px; color: var(--vf-text-faint); }
32
+ .tr-loading__fold b { font-size: 17px; line-height: 16px; font-weight: 400; }
33
+ .tr-loading__fold i { width: 104px; opacity: .7; }
34
+ .tr-loading__status { display: flex; flex-direction: column; align-items: center; gap: 13px; text-align: center; }
35
+ .tr-loading__status strong { font-size: 12px; line-height: 18px; font-weight: 400; color: var(--vf-text-secondary); }
36
+ .tr-loading__status p { margin: 0; color: var(--vf-text-tertiary); font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
37
+ .tr-loading__meter { width: 104px; height: 2px; border-radius: 2px; background: var(--vf-hairline); overflow: hidden; }
38
+ .tr-loading__meter i {
39
+ display: block; width: 40%; height: 100%; border-radius: inherit; background: var(--vf-text-tertiary);
40
+ animation: tr-loading-travel 1.4s ease-in-out infinite;
41
+ }
42
+ .tr-loading button {
43
+ margin-top: 12px; padding: 5px 8px; border: 0; border-radius: 5px; background: none;
44
+ color: var(--vf-text-secondary); font-size: 11px; text-decoration: underline;
45
+ text-decoration-color: var(--vf-hairline-strong); text-underline-offset: 3px; cursor: pointer;
46
+ }
47
+ .tr-loading button:hover { color: var(--vf-text-primary); background: var(--vf-fill); }
48
+ .tr-loading button:focus-visible { outline: 2px solid var(--vf-select); outline-offset: 2px; }
49
+ .tr-loading[data-error] .tr-loading__sketch { opacity: .4; }
50
+ @keyframes tr-loading-in { from { opacity: 0; } to { opacity: 1; } }
51
+ @keyframes tr-loading-travel { from { transform: translateX(-110%); } to { transform: translateX(360%); } }
52
+ @media (max-height: 540px) { .tr-loading__sketch { display: none; } }
53
+ @media (prefers-reduced-motion: reduce) {
54
+ .tr-loading__body, .tr-loading__meter i { animation: none; }
55
+ .tr-loading__meter i { margin: 0 auto; }
56
+ .tr-stage[data-ready] > .tr-surface { transition: none; }
57
+ }