meowtail 0.2.0-alpha.1 → 0.3.0-alpha.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 (561) hide show
  1. package/AGENT-COMPONENTS.md +2 -2
  2. package/ASSISTANT.md +5 -1
  3. package/CHANGELOG.md +96 -0
  4. package/COMPONENTS.md +342 -0
  5. package/README.md +195 -43
  6. package/THIRD_PARTY_NOTICES.md +47 -0
  7. package/dist/src/chat/assistant-composer.d.ts +10 -6
  8. package/dist/src/chat/assistant-composer.js +57 -135
  9. package/dist/src/chat/assistant-content.d.ts +28 -14
  10. package/dist/src/chat/assistant-content.js +87 -80
  11. package/dist/src/chat/assistant-markdown.d.ts +10 -7
  12. package/dist/src/chat/assistant-markdown.js +5 -9
  13. package/dist/src/chat/assistant-question.d.ts +9 -7
  14. package/dist/src/chat/assistant-question.js +31 -63
  15. package/dist/src/chat/assistant-scroll.d.ts +2 -0
  16. package/dist/src/chat/assistant-scroll.js +28 -1
  17. package/dist/src/chat/assistant-types.d.ts +22 -1
  18. package/dist/src/chat/assistant-types.js +7 -0
  19. package/dist/src/chat/assistant.d.ts +9 -6
  20. package/dist/src/chat/assistant.js +233 -200
  21. package/dist/src/chat/attachments.d.ts +11 -8
  22. package/dist/src/chat/attachments.js +45 -55
  23. package/dist/src/chat/bubble.d.ts +12 -13
  24. package/dist/src/chat/bubble.js +8 -13
  25. package/dist/src/chat/bubble.options.d.ts +3 -0
  26. package/dist/src/chat/bubble.options.js +4 -0
  27. package/dist/src/chat/composer-panel.d.ts +11 -11
  28. package/dist/src/chat/composer-panel.js +13 -8
  29. package/dist/src/chat/composer.d.ts +19 -19
  30. package/dist/src/chat/composer.js +62 -28
  31. package/dist/src/chat/composer.options.d.ts +4 -0
  32. package/dist/src/chat/composer.options.js +5 -0
  33. package/dist/src/chat/conversation.d.ts +19 -10
  34. package/dist/src/chat/conversation.js +22 -16
  35. package/dist/src/chat/frame.d.ts +10 -7
  36. package/dist/src/chat/frame.js +6 -3
  37. package/dist/src/chat/header.d.ts +10 -7
  38. package/dist/src/chat/header.js +14 -12
  39. package/dist/src/chat/index.d.ts +21 -17
  40. package/dist/src/chat/index.js +21 -17
  41. package/dist/src/chat/message-actions.d.ts +10 -7
  42. package/dist/src/chat/message-actions.js +6 -3
  43. package/dist/src/chat/message-context.d.ts +1 -1
  44. package/dist/src/chat/message-list.d.ts +32 -14
  45. package/dist/src/chat/message-list.js +19 -18
  46. package/dist/src/chat/message.d.ts +9 -7
  47. package/dist/src/chat/message.js +26 -19
  48. package/dist/src/chat/process.d.ts +9 -6
  49. package/dist/src/chat/process.js +13 -5
  50. package/dist/src/chat/question.d.ts +12 -7
  51. package/dist/src/chat/question.js +17 -4
  52. package/dist/src/chat/reasoning.d.ts +23 -0
  53. package/dist/src/chat/reasoning.js +28 -0
  54. package/dist/src/chat/sources.d.ts +12 -9
  55. package/dist/src/chat/sources.js +17 -8
  56. package/dist/src/chat/status.d.ts +13 -13
  57. package/dist/src/chat/status.js +11 -12
  58. package/dist/src/chat/status.options.d.ts +3 -0
  59. package/dist/src/chat/status.options.js +4 -0
  60. package/dist/src/chat/task.d.ts +8 -7
  61. package/dist/src/chat/task.js +46 -35
  62. package/dist/src/chat/tool-call.d.ts +10 -8
  63. package/dist/src/chat/tool-call.js +60 -58
  64. package/dist/src/components/accordion.d.ts +26 -0
  65. package/dist/src/components/accordion.js +44 -0
  66. package/dist/src/components/action-rail.d.ts +9 -7
  67. package/dist/src/components/action-rail.js +11 -8
  68. package/dist/src/components/action-row.d.ts +22 -0
  69. package/dist/src/components/action-row.js +18 -0
  70. package/dist/src/components/action-row.options.d.ts +4 -0
  71. package/dist/src/components/action-row.options.js +5 -0
  72. package/dist/src/components/alert.d.ts +20 -16
  73. package/dist/src/components/alert.js +16 -11
  74. package/dist/src/components/alert.options.d.ts +6 -0
  75. package/dist/src/components/alert.options.js +7 -0
  76. package/dist/src/components/app-bar.d.ts +9 -7
  77. package/dist/src/components/app-bar.js +12 -6
  78. package/dist/src/components/aspect-ratio.d.ts +13 -8
  79. package/dist/src/components/aspect-ratio.js +10 -14
  80. package/dist/src/components/avatar.d.ts +23 -0
  81. package/dist/src/components/avatar.js +31 -0
  82. package/dist/src/components/avatar.options.d.ts +3 -0
  83. package/dist/src/components/avatar.options.js +4 -0
  84. package/dist/src/components/badge.d.ts +16 -15
  85. package/dist/src/components/badge.js +9 -12
  86. package/dist/src/components/badge.options.d.ts +4 -0
  87. package/dist/src/components/badge.options.js +5 -0
  88. package/dist/src/components/breadcrumb.d.ts +10 -7
  89. package/dist/src/components/breadcrumb.js +9 -7
  90. package/dist/src/components/button.d.ts +16 -25
  91. package/dist/src/components/button.js +9 -20
  92. package/dist/src/components/button.options.d.ts +9 -0
  93. package/dist/src/components/button.options.js +10 -0
  94. package/dist/src/components/card-action.d.ts +10 -7
  95. package/dist/src/components/card-action.js +6 -6
  96. package/dist/src/components/card-content.d.ts +10 -7
  97. package/dist/src/components/card-content.js +6 -6
  98. package/dist/src/components/card-description.d.ts +10 -7
  99. package/dist/src/components/card-description.js +6 -6
  100. package/dist/src/components/card-footer.d.ts +10 -7
  101. package/dist/src/components/card-footer.js +7 -6
  102. package/dist/src/components/card-header.d.ts +10 -7
  103. package/dist/src/components/card-header.js +6 -6
  104. package/dist/src/components/card-title.d.ts +10 -7
  105. package/dist/src/components/card-title.js +6 -6
  106. package/dist/src/components/card.d.ts +15 -13
  107. package/dist/src/components/card.js +13 -11
  108. package/dist/src/components/card.options.d.ts +3 -0
  109. package/dist/src/components/card.options.js +2 -0
  110. package/dist/src/components/checkbox.d.ts +16 -9
  111. package/dist/src/components/checkbox.js +65 -34
  112. package/dist/src/components/choice-group.d.ts +10 -7
  113. package/dist/src/components/choice-group.js +43 -52
  114. package/dist/src/components/choice-select.d.ts +12 -8
  115. package/dist/src/components/choice-select.js +125 -165
  116. package/dist/src/components/code-block.d.ts +29 -8
  117. package/dist/src/components/code-block.js +59 -37
  118. package/dist/src/components/container.d.ts +15 -13
  119. package/dist/src/components/container.js +13 -11
  120. package/dist/src/components/container.options.d.ts +3 -0
  121. package/dist/src/components/container.options.js +4 -0
  122. package/dist/src/components/context-menu.d.ts +18 -0
  123. package/dist/src/components/context-menu.js +36 -0
  124. package/dist/src/components/credential-source.js +4 -10
  125. package/dist/src/components/description-list.d.ts +17 -13
  126. package/dist/src/components/description-list.js +11 -11
  127. package/dist/src/components/detail-section.d.ts +9 -7
  128. package/dist/src/components/detail-section.js +12 -8
  129. package/dist/src/components/dialog-actions.d.ts +12 -0
  130. package/dist/src/components/dialog-actions.js +7 -0
  131. package/dist/src/components/dialog-header.d.ts +18 -0
  132. package/dist/src/components/dialog-header.js +14 -0
  133. package/dist/src/components/dialog-panel.d.ts +14 -0
  134. package/dist/src/components/dialog-panel.js +8 -0
  135. package/dist/src/components/dialog.d.ts +12 -38
  136. package/dist/src/components/dialog.js +10 -29
  137. package/dist/src/components/diff-block.d.ts +12 -7
  138. package/dist/src/components/diff-block.js +12 -15
  139. package/dist/src/components/disclosure.d.ts +16 -11
  140. package/dist/src/components/disclosure.js +14 -13
  141. package/dist/src/components/drawer.d.ts +9 -7
  142. package/dist/src/components/drawer.js +36 -38
  143. package/dist/src/components/empty-state.d.ts +23 -13
  144. package/dist/src/components/empty-state.js +18 -7
  145. package/dist/src/components/empty-state.options.d.ts +3 -0
  146. package/dist/src/components/empty-state.options.js +2 -0
  147. package/dist/src/components/field-group.d.ts +10 -7
  148. package/dist/src/components/field-group.js +12 -15
  149. package/dist/src/components/field.d.ts +12 -8
  150. package/dist/src/components/field.js +55 -22
  151. package/dist/src/components/grid.d.ts +18 -20
  152. package/dist/src/components/grid.js +21 -23
  153. package/dist/src/components/grid.options.d.ts +7 -0
  154. package/dist/src/components/grid.options.js +8 -0
  155. package/dist/src/components/hover-card.d.ts +13 -8
  156. package/dist/src/components/hover-card.js +26 -36
  157. package/dist/src/components/icon-button.d.ts +17 -14
  158. package/dist/src/components/icon-button.js +9 -13
  159. package/dist/src/components/icon-button.options.d.ts +3 -0
  160. package/dist/src/components/icon-button.options.js +4 -0
  161. package/dist/src/components/icon-rail.d.ts +9 -7
  162. package/dist/src/components/icon-rail.js +14 -10
  163. package/dist/src/components/image-lightbox.d.ts +12 -7
  164. package/dist/src/components/image-lightbox.js +38 -43
  165. package/dist/src/components/image-preview.d.ts +8 -6
  166. package/dist/src/components/image-preview.js +23 -33
  167. package/dist/src/components/index.d.ts +105 -87
  168. package/dist/src/components/index.js +105 -87
  169. package/dist/src/components/inline.d.ts +14 -10
  170. package/dist/src/components/inline.js +20 -17
  171. package/dist/src/components/input.d.ts +10 -7
  172. package/dist/src/components/input.js +6 -6
  173. package/dist/src/components/item.d.ts +15 -15
  174. package/dist/src/components/item.js +17 -15
  175. package/dist/src/components/item.options.d.ts +4 -0
  176. package/dist/src/components/item.options.js +5 -0
  177. package/dist/src/components/json-block.d.ts +12 -7
  178. package/dist/src/components/json-block.js +14 -15
  179. package/dist/src/components/json-tree.d.ts +12 -7
  180. package/dist/src/components/json-tree.js +32 -33
  181. package/dist/src/components/layout-item.d.ts +9 -6
  182. package/dist/src/components/layout-item.js +17 -16
  183. package/dist/src/components/layout-types.d.ts +2 -6
  184. package/dist/src/components/layout-types.js +1 -6
  185. package/dist/src/components/layout.options.d.ts +5 -0
  186. package/dist/src/components/layout.options.js +6 -0
  187. package/dist/src/components/link.d.ts +15 -0
  188. package/dist/src/components/link.js +8 -0
  189. package/dist/src/components/list-group.d.ts +17 -13
  190. package/dist/src/components/list-group.js +19 -17
  191. package/dist/src/components/menu-button.d.ts +13 -0
  192. package/dist/src/components/menu-button.js +10 -0
  193. package/dist/src/components/menu.d.ts +14 -7
  194. package/dist/src/components/menu.js +48 -70
  195. package/dist/src/components/mermaid-diagram.d.ts +41 -0
  196. package/dist/src/components/mermaid-diagram.js +127 -0
  197. package/dist/src/components/meta-row.d.ts +19 -18
  198. package/dist/src/components/meta-row.js +51 -38
  199. package/dist/src/components/meta-row.options.d.ts +4 -0
  200. package/dist/src/components/meta-row.options.js +5 -0
  201. package/dist/src/components/modal.d.ts +41 -0
  202. package/dist/src/components/modal.js +103 -0
  203. package/dist/src/components/nav-item.d.ts +13 -7
  204. package/dist/src/components/nav-item.js +13 -19
  205. package/dist/src/components/nav-list.d.ts +50 -0
  206. package/dist/src/components/nav-list.js +53 -0
  207. package/dist/src/components/number-input.d.ts +31 -0
  208. package/dist/src/components/number-input.js +109 -0
  209. package/dist/src/components/output-block.d.ts +8 -6
  210. package/dist/src/components/output-block.js +19 -31
  211. package/dist/src/components/page-frame.d.ts +19 -16
  212. package/dist/src/components/page-frame.js +17 -10
  213. package/dist/src/components/page-frame.options.d.ts +4 -0
  214. package/dist/src/components/page-frame.options.js +5 -0
  215. package/dist/src/components/page-header.d.ts +15 -7
  216. package/dist/src/components/page-header.js +18 -7
  217. package/dist/src/components/page.d.ts +54 -0
  218. package/dist/src/components/page.js +27 -0
  219. package/dist/src/components/path-label.d.ts +13 -8
  220. package/dist/src/components/path-label.js +37 -36
  221. package/dist/src/components/path-picker.d.ts +9 -7
  222. package/dist/src/components/path-picker.js +19 -26
  223. package/dist/src/components/pill.d.ts +9 -7
  224. package/dist/src/components/pill.js +7 -13
  225. package/dist/src/components/popover.d.ts +10 -7
  226. package/dist/src/components/popover.js +172 -175
  227. package/dist/src/components/process-group.d.ts +14 -9
  228. package/dist/src/components/process-group.js +13 -4
  229. package/dist/src/components/process-step.d.ts +9 -7
  230. package/dist/src/components/process-step.js +8 -6
  231. package/dist/src/components/progress.d.ts +17 -0
  232. package/dist/src/components/progress.js +7 -0
  233. package/dist/src/components/prose.d.ts +23 -0
  234. package/dist/src/components/prose.js +17 -0
  235. package/dist/src/components/prose.options.d.ts +4 -0
  236. package/dist/src/components/prose.options.js +5 -0
  237. package/dist/src/components/rail-item.d.ts +9 -7
  238. package/dist/src/components/rail-item.js +10 -15
  239. package/dist/src/components/rail-section.d.ts +9 -7
  240. package/dist/src/components/rail-section.js +12 -6
  241. package/dist/src/components/read-block.d.ts +8 -6
  242. package/dist/src/components/read-block.js +51 -56
  243. package/dist/src/components/region-layout.d.ts +23 -4
  244. package/dist/src/components/region-layout.js +76 -72
  245. package/dist/src/components/resource-card.d.ts +9 -7
  246. package/dist/src/components/resource-card.js +17 -6
  247. package/dist/src/components/resource-link.d.ts +9 -7
  248. package/dist/src/components/resource-link.js +13 -10
  249. package/dist/src/components/risk-confirmation.d.ts +9 -7
  250. package/dist/src/components/risk-confirmation.js +7 -13
  251. package/dist/src/components/search-block.d.ts +9 -6
  252. package/dist/src/components/search-block.js +14 -16
  253. package/dist/src/components/search-input.d.ts +14 -9
  254. package/dist/src/components/search-input.js +12 -12
  255. package/dist/src/components/section.d.ts +44 -0
  256. package/dist/src/components/section.js +45 -0
  257. package/dist/src/components/segmented-control.d.ts +9 -7
  258. package/dist/src/components/segmented-control.js +50 -55
  259. package/dist/src/components/select.d.ts +10 -7
  260. package/dist/src/components/select.js +6 -6
  261. package/dist/src/components/separator.d.ts +10 -7
  262. package/dist/src/components/separator.js +6 -11
  263. package/dist/src/components/shortcut-keys.d.ts +13 -8
  264. package/dist/src/components/shortcut-keys.js +9 -7
  265. package/dist/src/components/skeleton-boundary.d.ts +13 -8
  266. package/dist/src/components/skeleton-boundary.js +31 -32
  267. package/dist/src/components/skeleton.d.ts +14 -13
  268. package/dist/src/components/skeleton.js +9 -11
  269. package/dist/src/components/skeleton.options.d.ts +3 -0
  270. package/dist/src/components/skeleton.options.js +2 -0
  271. package/dist/src/components/slider.d.ts +24 -0
  272. package/dist/src/components/slider.js +34 -0
  273. package/dist/src/components/spinner.d.ts +10 -7
  274. package/dist/src/components/spinner.js +8 -6
  275. package/dist/src/components/stack.d.ts +14 -10
  276. package/dist/src/components/stack.js +19 -16
  277. package/dist/src/components/state-dot.d.ts +13 -8
  278. package/dist/src/components/state-dot.js +23 -27
  279. package/dist/src/components/status-dot.d.ts +18 -26
  280. package/dist/src/components/status-dot.js +12 -21
  281. package/dist/src/components/status-dot.options.d.ts +9 -0
  282. package/dist/src/components/status-dot.options.js +10 -0
  283. package/dist/src/components/status.d.ts +10 -8
  284. package/dist/src/components/status.js +8 -7
  285. package/dist/src/components/switch.d.ts +8 -5
  286. package/dist/src/components/switch.js +9 -6
  287. package/dist/src/components/table.d.ts +48 -0
  288. package/dist/src/components/table.js +138 -0
  289. package/dist/src/components/table.options.d.ts +2 -0
  290. package/dist/src/components/table.options.js +3 -0
  291. package/dist/src/components/tabs.d.ts +11 -10
  292. package/dist/src/components/tabs.js +24 -54
  293. package/dist/src/components/tabs.options.d.ts +2 -0
  294. package/dist/src/components/tabs.options.js +3 -0
  295. package/dist/src/components/tag.d.ts +15 -19
  296. package/dist/src/components/tag.js +9 -12
  297. package/dist/src/components/tag.options.d.ts +6 -0
  298. package/dist/src/components/tag.options.js +7 -0
  299. package/dist/src/components/task-list.d.ts +34 -0
  300. package/dist/src/components/task-list.js +81 -0
  301. package/dist/src/components/terminal-block.d.ts +9 -6
  302. package/dist/src/components/terminal-block.js +32 -39
  303. package/dist/src/components/text-shimmer.d.ts +13 -8
  304. package/dist/src/components/text-shimmer.js +16 -14
  305. package/dist/src/components/text.d.ts +30 -0
  306. package/dist/src/components/text.js +24 -0
  307. package/dist/src/components/text.options.d.ts +3 -0
  308. package/dist/src/components/text.options.js +4 -0
  309. package/dist/src/components/textarea.d.ts +10 -7
  310. package/dist/src/components/textarea.js +6 -6
  311. package/dist/src/components/timeline.d.ts +18 -13
  312. package/dist/src/components/timeline.js +19 -12
  313. package/dist/src/components/toast.d.ts +13 -8
  314. package/dist/src/components/toast.js +12 -7
  315. package/dist/src/components/toolbar.d.ts +10 -7
  316. package/dist/src/components/toolbar.js +6 -22
  317. package/dist/src/components/tooltip.d.ts +9 -7
  318. package/dist/src/components/tooltip.js +17 -34
  319. package/dist/src/components/web-block.d.ts +9 -6
  320. package/dist/src/components/web-block.js +19 -21
  321. package/dist/src/components/window-title-bar.d.ts +9 -7
  322. package/dist/src/components/window-title-bar.js +11 -6
  323. package/dist/src/components/work-card.d.ts +9 -7
  324. package/dist/src/components/work-card.js +17 -6
  325. package/dist/src/icons/README.md +81 -1
  326. package/dist/src/icons/assistant-mark.d.ts +9 -0
  327. package/dist/src/icons/assistant-mark.js +10 -0
  328. package/dist/src/icons/doodle-cat.d.ts +2 -2
  329. package/dist/src/icons/doodle-cat.js +1 -1
  330. package/dist/src/icons/empty-stack.d.ts +10 -0
  331. package/dist/src/icons/empty-stack.js +16 -0
  332. package/dist/src/icons/file-type-icon.d.ts +2 -2
  333. package/dist/src/icons/icon-frame.d.ts +2 -2
  334. package/dist/src/icons/icon-frame.js +1 -1
  335. package/dist/src/icons/icon-source.d.ts +2 -2
  336. package/dist/src/icons/icon.d.ts +9 -3
  337. package/dist/src/icons/icon.js +8 -2
  338. package/dist/src/icons/index.d.ts +2 -0
  339. package/dist/src/icons/index.js +2 -0
  340. package/dist/src/icons/meowland-mark.d.ts +2 -2
  341. package/dist/src/index.d.ts +2 -0
  342. package/dist/src/index.js +2 -0
  343. package/dist/src/json/catalog.d.ts +2 -0
  344. package/dist/src/json/catalog.js +1 -0
  345. package/dist/src/registry/factory.d.ts +9 -0
  346. package/dist/src/registry/factory.js +9 -0
  347. package/dist/src/registry/index.d.ts +198 -561
  348. package/dist/src/registry/index.js +267 -245
  349. package/dist/src/shared/action-row-fit.d.ts +19 -0
  350. package/dist/src/shared/action-row-fit.js +59 -0
  351. package/dist/src/theme/audit.d.ts +2 -0
  352. package/dist/src/theme/audit.js +60 -0
  353. package/dist/src/theme/base.styles.d.ts +3 -2
  354. package/dist/src/theme/base.styles.js +43 -5
  355. package/dist/src/theme/chat/assistant.styles.d.ts +1 -1
  356. package/dist/src/theme/chat/assistant.styles.js +240 -133
  357. package/dist/src/theme/chat/attachments.styles.d.ts +1 -1
  358. package/dist/src/theme/chat/attachments.styles.js +96 -96
  359. package/dist/src/theme/chat/composer-panel.styles.d.ts +1 -1
  360. package/dist/src/theme/chat/composer-panel.styles.js +24 -21
  361. package/dist/src/theme/chat/composer.styles.d.ts +1 -1
  362. package/dist/src/theme/chat/composer.styles.js +281 -215
  363. package/dist/src/theme/chat/conversation.styles.d.ts +1 -1
  364. package/dist/src/theme/chat/conversation.styles.js +24 -25
  365. package/dist/src/theme/chat/frame.styles.d.ts +1 -1
  366. package/dist/src/theme/chat/frame.styles.js +35 -34
  367. package/dist/src/theme/chat/header.styles.d.ts +1 -1
  368. package/dist/src/theme/chat/header.styles.js +37 -37
  369. package/dist/src/theme/chat/message.styles.d.ts +1 -1
  370. package/dist/src/theme/chat/message.styles.js +132 -190
  371. package/dist/src/theme/chat/question.styles.d.ts +1 -1
  372. package/dist/src/theme/chat/question.styles.js +34 -33
  373. package/dist/src/theme/chat/reasoning.styles.d.ts +1 -0
  374. package/dist/src/theme/chat/reasoning.styles.js +142 -0
  375. package/dist/src/theme/chat/records.styles.d.ts +1 -1
  376. package/dist/src/theme/chat/records.styles.js +200 -243
  377. package/dist/src/theme/chat/status.styles.d.ts +1 -1
  378. package/dist/src/theme/chat/status.styles.js +14 -58
  379. package/dist/src/theme/chat/task.styles.d.ts +1 -1
  380. package/dist/src/theme/chat/task.styles.js +32 -34
  381. package/dist/src/theme/components/accordion.styles.d.ts +1 -0
  382. package/dist/src/theme/components/accordion.styles.js +64 -0
  383. package/dist/src/theme/components/action-rail.styles.d.ts +1 -1
  384. package/dist/src/theme/components/action-rail.styles.js +10 -10
  385. package/dist/src/theme/components/alert.styles.d.ts +1 -1
  386. package/dist/src/theme/components/alert.styles.js +37 -28
  387. package/dist/src/theme/components/app-bar.styles.d.ts +1 -1
  388. package/dist/src/theme/components/app-bar.styles.js +19 -18
  389. package/dist/src/theme/components/avatar.styles.d.ts +1 -0
  390. package/dist/src/theme/components/avatar.styles.js +54 -0
  391. package/dist/src/theme/components/badge.styles.d.ts +1 -1
  392. package/dist/src/theme/components/badge.styles.js +31 -30
  393. package/dist/src/theme/components/breadcrumb.styles.d.ts +1 -1
  394. package/dist/src/theme/components/breadcrumb.styles.js +21 -21
  395. package/dist/src/theme/components/button.styles.d.ts +1 -1
  396. package/dist/src/theme/components/button.styles.js +95 -74
  397. package/dist/src/theme/components/card.styles.d.ts +1 -1
  398. package/dist/src/theme/components/card.styles.js +53 -52
  399. package/dist/src/theme/components/choice-group.styles.d.ts +1 -1
  400. package/dist/src/theme/components/choice-group.styles.js +39 -38
  401. package/dist/src/theme/components/choice-select.styles.d.ts +1 -1
  402. package/dist/src/theme/components/choice-select.styles.js +79 -98
  403. package/dist/src/theme/components/code-block.styles.d.ts +1 -1
  404. package/dist/src/theme/components/code-block.styles.js +50 -32
  405. package/dist/src/theme/components/context-menu.styles.d.ts +1 -0
  406. package/dist/src/theme/components/context-menu.styles.js +14 -0
  407. package/dist/src/theme/components/description-list.styles.d.ts +1 -1
  408. package/dist/src/theme/components/description-list.styles.js +11 -10
  409. package/dist/src/theme/components/detail-section.styles.d.ts +1 -1
  410. package/dist/src/theme/components/detail-section.styles.js +15 -13
  411. package/dist/src/theme/components/dialog.styles.d.ts +1 -1
  412. package/dist/src/theme/components/dialog.styles.js +76 -42
  413. package/dist/src/theme/components/disclosure.styles.d.ts +1 -1
  414. package/dist/src/theme/components/disclosure.styles.js +31 -31
  415. package/dist/src/theme/components/drawer.styles.d.ts +1 -1
  416. package/dist/src/theme/components/drawer.styles.js +13 -13
  417. package/dist/src/theme/components/empty-state.styles.d.ts +1 -1
  418. package/dist/src/theme/components/empty-state.styles.js +30 -26
  419. package/dist/src/theme/components/field-group.styles.d.ts +1 -1
  420. package/dist/src/theme/components/field-group.styles.js +15 -15
  421. package/dist/src/theme/components/field.styles.d.ts +1 -1
  422. package/dist/src/theme/components/field.styles.js +17 -17
  423. package/dist/src/theme/components/hover-card.styles.d.ts +1 -1
  424. package/dist/src/theme/components/hover-card.styles.js +23 -23
  425. package/dist/src/theme/components/icon-rail.styles.d.ts +1 -1
  426. package/dist/src/theme/components/icon-rail.styles.js +50 -50
  427. package/dist/src/theme/components/image-lightbox.styles.d.ts +1 -1
  428. package/dist/src/theme/components/image-lightbox.styles.js +27 -27
  429. package/dist/src/theme/components/image-preview.styles.d.ts +1 -1
  430. package/dist/src/theme/components/image-preview.styles.js +23 -18
  431. package/dist/src/theme/components/item.styles.d.ts +1 -1
  432. package/dist/src/theme/components/item.styles.js +49 -44
  433. package/dist/src/theme/components/json.styles.d.ts +1 -1
  434. package/dist/src/theme/components/json.styles.js +82 -53
  435. package/dist/src/theme/components/layout.styles.d.ts +1 -1
  436. package/dist/src/theme/components/layout.styles.js +50 -48
  437. package/dist/src/theme/components/link.styles.d.ts +1 -0
  438. package/dist/src/theme/components/link.styles.js +32 -0
  439. package/dist/src/theme/components/list-group.styles.d.ts +1 -1
  440. package/dist/src/theme/components/list-group.styles.js +25 -24
  441. package/dist/src/theme/components/menu.styles.d.ts +1 -1
  442. package/dist/src/theme/components/menu.styles.js +49 -37
  443. package/dist/src/theme/components/mermaid-diagram.styles.d.ts +1 -0
  444. package/dist/src/theme/components/mermaid-diagram.styles.js +162 -0
  445. package/dist/src/theme/components/meta-row.styles.d.ts +1 -1
  446. package/dist/src/theme/components/meta-row.styles.js +25 -24
  447. package/dist/src/theme/components/modal.styles.d.ts +5 -0
  448. package/dist/src/theme/components/modal.styles.js +11 -0
  449. package/dist/src/theme/components/native-input.styles.d.ts +1 -1
  450. package/dist/src/theme/components/native-input.styles.js +38 -83
  451. package/dist/src/theme/components/nav-item.styles.d.ts +1 -1
  452. package/dist/src/theme/components/nav-item.styles.js +30 -30
  453. package/dist/src/theme/components/nav-list.styles.d.ts +1 -0
  454. package/dist/src/theme/components/nav-list.styles.js +155 -0
  455. package/dist/src/theme/components/number-input.styles.d.ts +1 -0
  456. package/dist/src/theme/components/number-input.styles.js +83 -0
  457. package/dist/src/theme/components/output-block.styles.d.ts +1 -1
  458. package/dist/src/theme/components/output-block.styles.js +129 -104
  459. package/dist/src/theme/components/page-frame.styles.d.ts +1 -1
  460. package/dist/src/theme/components/page-frame.styles.js +53 -17
  461. package/dist/src/theme/components/page-header.styles.d.ts +1 -1
  462. package/dist/src/theme/components/page-header.styles.js +34 -14
  463. package/dist/src/theme/components/page.styles.d.ts +1 -0
  464. package/dist/src/theme/components/page.styles.js +55 -0
  465. package/dist/src/theme/components/path-label.styles.d.ts +1 -1
  466. package/dist/src/theme/components/path-label.styles.js +10 -10
  467. package/dist/src/theme/components/path-picker.styles.d.ts +1 -1
  468. package/dist/src/theme/components/path-picker.styles.js +13 -13
  469. package/dist/src/theme/components/pill.styles.d.ts +1 -1
  470. package/dist/src/theme/components/pill.styles.js +22 -18
  471. package/dist/src/theme/components/popover.styles.d.ts +1 -1
  472. package/dist/src/theme/components/popover.styles.js +17 -17
  473. package/dist/src/theme/components/process-group.styles.d.ts +1 -1
  474. package/dist/src/theme/components/process-group.styles.js +56 -60
  475. package/dist/src/theme/components/progress.styles.d.ts +1 -0
  476. package/dist/src/theme/components/progress.styles.js +70 -0
  477. package/dist/src/theme/components/region-layout.styles.d.ts +1 -1
  478. package/dist/src/theme/components/region-layout.styles.js +18 -18
  479. package/dist/src/theme/components/resource-card.styles.d.ts +1 -1
  480. package/dist/src/theme/components/resource-card.styles.js +37 -37
  481. package/dist/src/theme/components/resource-link.styles.d.ts +1 -1
  482. package/dist/src/theme/components/resource-link.styles.js +21 -21
  483. package/dist/src/theme/components/risk-confirmation.styles.d.ts +1 -1
  484. package/dist/src/theme/components/risk-confirmation.styles.js +4 -4
  485. package/dist/src/theme/components/search-input.styles.d.ts +1 -1
  486. package/dist/src/theme/components/search-input.styles.js +17 -38
  487. package/dist/src/theme/components/section.styles.d.ts +1 -0
  488. package/dist/src/theme/components/section.styles.js +100 -0
  489. package/dist/src/theme/components/segmented-control.styles.d.ts +1 -1
  490. package/dist/src/theme/components/segmented-control.styles.js +32 -26
  491. package/dist/src/theme/components/separator.styles.d.ts +1 -1
  492. package/dist/src/theme/components/separator.styles.js +5 -5
  493. package/dist/src/theme/components/shortcut-keys.styles.d.ts +1 -1
  494. package/dist/src/theme/components/shortcut-keys.styles.js +15 -13
  495. package/dist/src/theme/components/skeleton.styles.d.ts +1 -1
  496. package/dist/src/theme/components/skeleton.styles.js +13 -12
  497. package/dist/src/theme/components/slider.styles.d.ts +1 -0
  498. package/dist/src/theme/components/slider.styles.js +126 -0
  499. package/dist/src/theme/components/spinner.styles.d.ts +1 -1
  500. package/dist/src/theme/components/spinner.styles.js +10 -10
  501. package/dist/src/theme/components/state-dot.styles.d.ts +1 -1
  502. package/dist/src/theme/components/state-dot.styles.js +23 -23
  503. package/dist/src/theme/components/status-dot.styles.d.ts +1 -1
  504. package/dist/src/theme/components/status-dot.styles.js +16 -15
  505. package/dist/src/theme/components/status.styles.d.ts +1 -1
  506. package/dist/src/theme/components/status.styles.js +4 -20
  507. package/dist/src/theme/components/table.styles.d.ts +1 -0
  508. package/dist/src/theme/components/table.styles.js +156 -0
  509. package/dist/src/theme/components/tabs.styles.d.ts +1 -1
  510. package/dist/src/theme/components/tabs.styles.js +48 -45
  511. package/dist/src/theme/components/tag.styles.d.ts +1 -1
  512. package/dist/src/theme/components/tag.styles.js +24 -24
  513. package/dist/src/theme/components/task-list.styles.d.ts +1 -0
  514. package/dist/src/theme/components/task-list.styles.js +223 -0
  515. package/dist/src/theme/components/text-shimmer.styles.d.ts +1 -1
  516. package/dist/src/theme/components/text-shimmer.styles.js +29 -25
  517. package/dist/src/theme/components/text.styles.d.ts +1 -0
  518. package/dist/src/theme/components/text.styles.js +34 -0
  519. package/dist/src/theme/components/timeline.styles.d.ts +1 -1
  520. package/dist/src/theme/components/timeline.styles.js +14 -26
  521. package/dist/src/theme/components/toast.styles.d.ts +1 -1
  522. package/dist/src/theme/components/toast.styles.js +28 -15
  523. package/dist/src/theme/components/toggle.styles.d.ts +1 -1
  524. package/dist/src/theme/components/toggle.styles.js +38 -28
  525. package/dist/src/theme/components/toolbar.styles.d.ts +1 -1
  526. package/dist/src/theme/components/toolbar.styles.js +8 -8
  527. package/dist/src/theme/components/tooltip.styles.d.ts +1 -1
  528. package/dist/src/theme/components/tooltip.styles.js +11 -11
  529. package/dist/src/theme/components/web-block.styles.d.ts +1 -1
  530. package/dist/src/theme/components/web-block.styles.js +19 -19
  531. package/dist/src/theme/components/window-title-bar.styles.d.ts +1 -1
  532. package/dist/src/theme/components/window-title-bar.styles.js +10 -10
  533. package/dist/src/theme/components/work-card.styles.d.ts +1 -1
  534. package/dist/src/theme/components/work-card.styles.js +37 -34
  535. package/dist/src/theme/icons/icons.styles.d.ts +1 -1
  536. package/dist/src/theme/icons/icons.styles.js +52 -2
  537. package/dist/src/theme/index.d.ts +206 -134
  538. package/dist/src/theme/index.js +78 -13
  539. package/dist/src/theme/selectors.d.ts +3 -0
  540. package/dist/src/theme/selectors.js +7 -0
  541. package/dist/src/theme/shared/action-row.styles.d.ts +1 -0
  542. package/dist/src/theme/shared/action-row.styles.js +52 -0
  543. package/dist/src/theme/shared/chart.tokens.d.ts +18 -0
  544. package/dist/src/theme/shared/chart.tokens.js +19 -0
  545. package/dist/src/theme/shared/code-highlight.styles.d.ts +1 -1
  546. package/dist/src/theme/shared/code-highlight.styles.js +6 -6
  547. package/dist/src/theme/shared/field-surface.styles.d.ts +1 -0
  548. package/dist/src/theme/shared/field-surface.styles.js +90 -0
  549. package/dist/src/theme/shared/prose.styles.d.ts +1 -0
  550. package/dist/src/theme/shared/prose.styles.js +152 -0
  551. package/dist/src/theme/shared/state-badge.styles.d.ts +1 -0
  552. package/dist/src/theme/shared/state-badge.styles.js +80 -0
  553. package/dist/src/theme/tokens.d.ts +259 -93
  554. package/dist/src/theme/tokens.js +284 -116
  555. package/dist/src/theme/utilities.d.ts +19 -0
  556. package/dist/src/theme/utilities.js +233 -0
  557. package/package.json +12 -8
  558. package/dist/src/theme/components/resource-card.tokens.d.ts +0 -5
  559. package/dist/src/theme/components/resource-card.tokens.js +0 -6
  560. package/dist/src/theme/palette.d.ts +0 -55
  561. package/dist/src/theme/palette.js +0 -56
@@ -110,8 +110,8 @@ Content beyond the default parts continues to use `renderPart`; do not replace t
110
110
 
111
111
  Meowbook scenes:
112
112
 
113
- - `agent-workflow`: concurrent runs, queuing, waiting for the user, and successful execution without a received reply; includes nested tasks, native plans, optional metadata, artifacts, attachments, and diffs.
114
- - `agent-workflow-narrow`: the same composition placed in a 320px local host inside a wide viewport, checking long Chinese and English text and paths without spaces.
113
+ - `agent-workflow`: a four-turn conversation in `AssistantView` carrying concurrent runs, queuing, waiting for the user, successful execution without a received reply, a retryable failure and a cancellation; includes nested tasks, artifacts and diffs, the history column and reply actions.
114
+ - `agent-workflow-narrow`: the same conversation placed in a 320px local host inside a wide viewport, checking long text and paths without spaces.
115
115
  - `agent-workflow-assistant`: default tool/task parts coexist with safe Markdown, activity, unanswered questions, attachments, sources, and the composer; buttons drive local output appends, retries, and cancellations without making external requests.
116
116
 
117
117
  This page describes capabilities and usage boundaries; actual run, independent review, screenshots, and installed-state results are governed by the verification receipt for that round. Browsers, screen readers, and real backend adapters that were not run are not considered passing just because the capabilities are listed here.
package/ASSISTANT.md CHANGED
@@ -29,6 +29,10 @@ const view = (
29
29
  The component takes a constrained height from its parent container; standard installation still needs `createMeowUI` and `standardTheme.cssText`, and does not depend on Rossovia's CSS or controller. Messages and the composer share one reading column, and the return-to-latest action anchors only to the message region. Activity appears beside the container when wide and becomes a single native modal dialog when narrow, without re-mounting messages and drafts.
30
30
  The return-to-latest action uses normal layout flow below the message viewport; while shown it claims its natural height, and when hidden it returns that space. Historical body text is never covered by the button, and the composer still has its own region.
31
31
 
32
+ A turn reads as the reader's question in a fill bubble and the reply as plain text, with no visible names or times; those stay in the message header for assistive technology. The composer is one rounded bar (attach, draft, trailing choices, send). Its history button gathers every question the reader asked into one column over the blurred transcript; choosing one closes the column and brings that turn to the top of the reading area without moving the host page, and Escape returns focus to the button. `history={false}` removes the button and column. A host `id` names the column for `aria-controls`.
33
+
34
+ A finished reply carries a quiet action row: Copy (built in; it copies the reply's text parts) and, when the host passes `onMessageAction`, Good response, Bad response and Regenerate. Those are intents only: `onMessageAction(messageId, "good" | "bad" | "regenerate")` records nothing and regenerates nothing by itself. Streaming and pending replies hide the row until they complete.
35
+
32
36
  ## Ownership of data and actions
33
37
 
34
38
  - When `draft` is passed, the host is the only owner and must provide `onDraftChange` or an explicit `readOnly`. The component does not write to the passed Signal directly; when `draft` is not passed, `defaultDraft` initializes the component's own temporary draft. The host owns persistence.
@@ -42,7 +46,7 @@ The return-to-latest action uses normal layout flow below the message viewport;
42
46
 
43
47
  ## Content and local customization
44
48
 
45
- Message `parts` include `text`, `code`, `process`, `attachments`, `tool`, and `task`. `text` is safe Markdown by default: raw HTML and images are shown as text, and only explicit HTTP, HTTPS, and mailto links navigate; code parts use the shared `CodeBlock`. Processes use native disclosure, and process steps take only normalized titles, descriptions, status text, and visual tone.
49
+ Message `parts` include `text`, `code`, `process`, `attachments`, `tool`, and `task`. `text` is safe Markdown by default: raw HTML and images are shown as text, and only explicit HTTP, HTTPS, and mailto links navigate; code parts use the shared `CodeBlock`. Processes use native disclosure, and process steps take only normalized titles, descriptions, status text, and visual tone. A process may also carry `state` (the same execution states as tool and task parts): its header then shows the shared state badge after the title, with `statusText` as a quiet fact beside it. Whether the badge exists is fixed by the part's first value; later states update its tone and word in place. Without `state` the header shows the title and `statusText` alone.
46
50
 
47
51
  `renderPart` can replace just one part, and returning `undefined` uses the default implementation; `renderWorkDetail` replaces only the detail body. `composerTrailing` and `headerActions` hold local controls without replacing the whole page. Custom components still consume ancestor Context in the original render tree and do not create another renderer root.
48
52
 
package/CHANGELOG.md ADDED
@@ -0,0 +1,96 @@
1
+ # Changelog
2
+
3
+ ## 0.3.0-alpha.0
4
+
5
+ Local breaking authoring candidate; no npm release is implied. It includes the previous unreleased
6
+ candidate and requires MeowJSX and MeowCSS `^0.2.0-alpha.0`.
7
+
8
+ - Components become ordinary functions with static `meta` and finite `Context<typeof Component>.parts`.
9
+ Bind parts through native JSX `ref`; nested ref arrays compose caller refs and local callbacks.
10
+ - Registration takes component functions. `createMeowUI({ components })` and
11
+ `installMeowUI({ components }, runtime)` require explicit selection; `meowUIComponents` is the
12
+ complete catalog for hosts that want it. The selective factory retains no complete catalog or
13
+ optional engine graph.
14
+ - Themes use type-only component imports with `parts<typeof Component>(name)` and share options from
15
+ implementation-free modules. Component tokens bind through option attributes.
16
+ - `ui` from `meowtail/theme` supplies built-in class values. Public `cx` from `meowcss` composes values
17
+ that can be used in `className` or expanded into declarations in `css`. The shared utility fragment
18
+ is last and once in standard, extended and presentation theme assembly.
19
+ - Remove the old `*Contract` exports, component definer/part-construction authoring surface,
20
+ `partSelector`, and `surface`/`text`/`interactive`/`focusRing` recipe functions and types without aliases.
21
+ Components forward class lists and composed refs while preserving their existing identities,
22
+ options, Signal updates and lifecycle.
23
+ - Importing `uiTokens` or `ui` alone no longer loads the Alert component, the JSX runtime or the theme
24
+ rules, and `standardTheme` is droppable when unused. `DialogPanel`, `DialogHeader` and
25
+ `DialogActions` move to their own modules; `./dialog` and the package entries still export all
26
+ four, so a `Dialog` import no longer keeps the others.
27
+
28
+ ## 0.2.0-alpha.3
29
+
30
+ Candidate for the next alpha publish. This version is not on npm until the manual release workflow runs.
31
+
32
+ `meowjsx` stays `0.1.1-alpha.1` and `meowcss` stays `0.1.1-alpha.0`. Neither package's source has changed since those versions were published, so this candidate does not republish them.
33
+
34
+ ### Added
35
+
36
+ - `Section`, `Page`, `Modal`, and `NavList`, which are on main and were missing from published `0.2.0-alpha.2`.
37
+ - `Alert` tone `neutral`, and `marker` `"dot" | "none"`. The defaults stay `tone="info"` and `marker="dot"`, so existing bars keep the status dot. `marker="none"` removes the bar dot. Block layout still draws no dot.
38
+ - `EmptyState` `illustration`. Omitting it uses the new `EmptyStack` (three receding cards from the surface ladder with one accent spark, exported from the icons); `DoodleCat` stays exported for hosts that want it. `null` and `false` leave the illustration part out. Presence is fixed for the mount.
39
+ - `MermaidDiagram` (`source`, `title`, `caption`, `actions`, `zoom`, `limits`, `onCopy`): Mermaid diagrams drawn as SVG by Pele 1.9.0 (MIT, a new pinned dependency, see THIRD_PARTY_NOTICES.md), loaded only when a diagram mounts. The theme maps every Pele variable to library roles and the chart series to `chartTokens`; server output and failed sources show the source as text. A unit test now keeps optional engines (Shiki, Pele) out of the theme, the registry and the package root.
40
+ - `chartTokens` (`--chart-series1` … `--chart-series8`, from `meowtail/theme`): the categorical series colors every chart shares, eight hues in a fixed order validated for color-vision deficiency in both schemes. In light mode slots 3–5 sit below 3:1 on the raised surface, so a chart using them labels its marks or draws a legend.
41
+ - `ActionRow` (`align` `start | end`): a row of actions that stays on one line while it fits and otherwise stacks whole, each text action on a full-width line in DOM order with icon actions kept together. `CardFooter`, `DialogActions` and `ChatQuestion` actions use the same fit, measured on the client after layout; server-rendered output keeps a plain wrapping row. AGENTS.md gains the action-row rule.
42
+ - The type ramp ([which text style where](README.md#which-text-style-where)): `uiTokens.type.line.*` (the line box of each size, with `bodyCompact` for dense rows and `reading` for long-form copy), `uiTokens.type.weight.*` (`regular`, `medium`, `semibold`) and `uiTokens.type.hero`. The `text()` recipe gains `label`, `heading` and `reading`, and every role binds size, line box, weight and tracking to tokens. `Text` gains `variant="label"`. `standardAuditRules` also rejects literal line heights, literal weights and literals inside the `font` shorthand.
43
+ - `PageHeader` `leading`, a mark before the title. Omitting it keeps the title as a direct child of the copy block. `Page` forwards `leading` into that header.
44
+ - `Text` with `variant` `body | secondary | caption | eyebrow` and `as` `p | span | div`: copy between components in a theme text role. `eyebrow` is the small-caps group label.
45
+ - `TaskList` (`items` of `{ id, label, state, progress? }` with `ChatExecutionState`, `title`, `defaultOpen`): an agent's plan with dashed, current, done, waiting, failed and canceled markers, a done count and a shimmering current step. Mask glyphs `uiTokens.glyph.check`, `glyph.arrow`, `glyph.cross`.
46
+ - `ChatReasoning` (`label`, `doneLabel`, `text`, `active`): streaming reasoning that keeps the newest lines under a fading top edge and folds into one disclosure row when done.
47
+ - `AssistantView` history: a composer button gathers the reader's own questions into one column over the blurred transcript and jumps back to the chosen turn (`history`, default on; labels `history`, `closeHistory`). Finished replies carry Copy and, with `onMessageAction(messageId, "good" | "bad" | "regenerate")`, the host's feedback intents. `ChatComposer` layout `bar`: one rounded row of attach, draft, trailing choices and send. `IconButton` `label` accepts a Signal. Icons `check`, `thumbs-up`, `thumbs-down`. Shadow role `shadow.dock`.
48
+ - Authoring floor for host components ([AUTHORING.md](AUTHORING.md)): recipes `surface`, `text`, `interactive` and `focusRing` from `meowtail/theme`; `standardAuditRules` for `meowcss`'s new `auditCSS`; `extendStandardTheme({ tokens, styles })` assembles a host theme after the standard families; `standardFoundationStyles`. Three typechecked shadcn-style ports live in `tests/fixtures/authoring`. Role `uiTokens.type.touchField` (the 16px iOS no-zoom size).
49
+ - `uiTokens.motion.enter` (`--ui-motion-enter`), the arrival curve: dialogs and modals rise out of a slight scale over a fading scrim, toasts rise into place once when mounted, and popovers, menus and the drawer now arrive on the same curve. Reduced motion turns each off.
50
+ - A selected `Item` takes the shared selection tint (`accent.selected`) like navigation, tables and choices instead of the pressed gray, and hovering it keeps the tint; an open disclosure item stays the pressed gray.
51
+ - Assistant `process` parts take an optional `state` (JSX and JSON): the header shows the shared state badge after the title and keeps `statusText` as a quiet fact beside it. The badge's presence is fixed by the part's first value; later states update it in place. Parts without `state` render as before.
52
+ - `highlightCode`, `highlightLanguage` and `HighlightSpan` from the package root: CodeBlock's own highlighter, for hosts that render code ahead of time, such as a static site build. Its colors are the theme's code variables.
53
+ - `Prose` with `measure` `reading | fill` and `as` `div | article | section`: long-form reading content. Tokens `uiTokens.space.prose` and `uiTokens.layout.measure`.
54
+
55
+ ### Changed
56
+
57
+ - Breaking: `external-link` leaves the semantic icon set (`IconName`, `iconNames`, JSON `icon` values); `arrow-up-right` is the one "open elsewhere" icon. New icon `box` is the default glyph for a tool of unknown type, replacing the wrench. [Which icon where](src/icons/README.md#which-icon-where) maps every semantic icon to one intent with placement rules, and a unit test keeps the map and the set in step.
58
+
59
+ - Breaking: the design system is one role tree, `uiTokens` (surface, inverse, line, ink, state, action, control, accent, status, type, space, icon, radius, shadow, motion, layout, glyph; CSS names `--ui-<group>-<key>`). `palette.ts`, `layerTokens`, `lineTokens`, `accentTokens`, `statusTokens`, `radiusTokens`, every flat `uiTokens` key and every alias are removed. Colors are literal scheme pairs; each status has one text-safe color shared by text and markers (the bright marker greens and the separate success ink are gone); `chatTokens` keeps only chat measures (`leading`, `listGap`, `listMaxWidth`, `userMaxWidth`, `bubbleRadius`, `readingInset`, `leadingGap`, `rowLine`, `fontBody`).
60
+
61
+ - The theme starts from a foundation fragment (replacing the control-font rule): border-box sizing, contained media, mono code, inherited control type, one focus outline and one thin control-line scrollbar inside a Meowland region; it resets no margins, headings or lists. The 2px focus outline and Card's raised surface now come from the recipes. The lightbox ink uses `inverse.ink`. Meowslides places the foundation before its own fragments.
62
+ - One state badge across the library: `Status`, tool rows and `ChatTask` headers show a state as a dot and its word on a soft tint of the state's ink, placed right after the title or target; the host's longer account becomes a caption fact line under the title (new parts `chat-tool-call/fact`, `chat-task/fact`; `ChatTask`'s badge now shows the execution word and its `statusLabel` moves to the fact line). Long `Status` labels wrap inside the badge instead of truncating. Tool rows keep a neutral type glyph in every state; the verb is weight 500 and keeps its words; the target truncates first. Assistant tool parts take an `icon`. Icons `circle-alert`, `circle-pause`. The global corner-shape default now loads before the families, so round dots stay round. `ChatStatus`, the `ChatMessage` status and `TerminalBlock`'s unclean exit join the same badge (each writes `data-tone`; the terminal's Pill becomes a dot and the prompt dot steps aside); Timeline's state word becomes a tertiary caption beside the colored rail dot. Stories no longer use `Badge` for a state. `ProcessGroup` drops the one-dot-per-step strip: `status` takes the state badge right after the name, `trailing` is one quiet tabular fact (a duration or "2 / 4"), and the summary wraps naturally instead of moving the outcome to a second row in narrow containers. `CredentialSource` lists checked variables as a `ListGroup` with a state badge per row (Available, Not set, At runtime) and shows a saved key as one row with a Saved badge and a small Replace action. The `ChatMessage` avatar is a raised disc with a hairline ring, centered on the author line. `SegmentedControl` and the `Tabs` track hug their choices (tabs stay equal width at the widest label) instead of filling the row. New `AssistantMark` (icons): an ink disc with the Meowland silhouette knocked out, flipping per scheme, for the assistant's avatar.
63
+ - The Assistant reads like a conversation (after kobra.systems chat-history): no visible names or times, the question in a full-radius fill bubble without an edge, plain replies on the shared prose gap, a top fade on the transcript and a docked bar composer. The nested message list no longer adds a second reading inset; a wide part (a diff, a path) scrolls inside itself instead of widening the column. The `agent-workflow` scenes are now conversations in `AssistantView` instead of a grid of task cards. Assistant composition styles load after the chat families they compose.
64
+ - Every component rebuilt against the roles (rules in AGENTS.md, Component rules): `resourceCardTokens` is removed; tracking, radius (`radius.full`), shadows (`shadow.pressed`, `shadow.sheet`, `shadow.knob`), durations (`motion.instant` … `motion.sweep`) and glyph sizes (`icon.small`, `icon.size`, `icon.large`) come from roles; ad hoc gaps sit on a 4px grid; compact rows pad `space.insetBlock` / `space.insetInline`. Titles are 600 for containers and 500 for rows; DetailSection's title is the small-caps label; Accordion headers are card-level 44px rows; hover and expanded states use the translucent `state` overlays, painted over raised surfaces instead of replacing them; read-only fields drop their control line; focus outlines sit at 2px. Tooltip-variant shortcut keys carry their own inverse ink.
65
+ - Surface ladder (documented in AGENTS.md): every background is one of `uiTokens.surface` canvas, reading, raised, overlay, fill or field, and every line one of `uiTokens.line` edge, divider or control. The page ground is `#fafafa` so raised cards read as a layer; the chat transcript keeps a white reading surface. Fills take no edge (ProcessGroup, avatars, tool output); misused tokens are repointed (outline Item and ChatQuestion are raised, AppBar is canvas, HoverCard is an overlay, halos and mixes use `surface.knockout`). Secondary ink is darkened to keep 4.5:1 on fills. Docs and gallery split regions with edges; the gallery stage is a recessed fill holding the specimen page.
66
+ - Bolder neutral pass, measured against kobra.systems: every grey is a true neutral (ink `#0a0a0a`, secondary `#6b6b6b`, fills `#f5f5f5`, dark surfaces without a blue cast); edges are crisp 1px lines (`line.width` 0.5px → 1px) and in-flow cards are flat (`shadow.raised` is `none` in light); the accent is a clearer blue (`#2563eb`). Chat reads at 14px on a 24px line with 12px between blocks and 24px between messages; inline code is 13px on an 8px-radius fill; the user bubble is 8px × 14px. The composer is a filled bar on a 1px edge. TextShimmer sweeps a band of full ink across muted text instead of a translucent overlay. TaskList: progress donut header, a strike drawn across finished steps, faded-foreground ink, transitions instead of switches. ChatReasoning: a nine-dot lattice glyph, 14px text on 1.625 leading, fading edges top and bottom.
67
+ - Tool rows keep color for states that need the reader: running and finished rows are neutral, waiting and errors keep warning and danger. The composer's quiet model trigger fills when its menu is open, and model group headings use the shared small-caps label.
68
+ - One reading rhythm (`src/theme/shared/prose.styles.ts`) for Prose, chat message content, chat bubbles and rendered assistant markdown. Chat headings sit on the type ramp with an 8px lead instead of 1.08em with 24px; rendered markdown spaces blocks by `space.prose` instead of browser margins, its code blocks use the recessed CodeBlock surface, table rows use divider hairlines, and links use the accent ink of `Link`.
69
+ - Content layout conventions (AGENTS.md): text roles, one header unit, one start edge per region, Prose for reading, labeled groups. Stories follow them through `stories/specimen.tsx`: component stories start on the canvas edge instead of centering, every group of variants carries a small-caps label, and receipts share the caption role.
70
+ - The docs app renders package overviews and page copy with `Prose` instead of its own `.docs-prose` rules; the site keeps only its reading size, heading scroll offset and MDX callout styling.
71
+
72
+ - `standardTheme` and `createMeowUI` no longer load the code-block highlighter. The package sets `sideEffects` to `false`, and the contracts those entries need live in modules that do not import Shiki. Importing `CodeBlock`, `ReadBlock`, `JsonBlock`, or `AssistantView` still loads Shiki. `standardTheme.cssText` stays one complete stylesheet.
73
+ - Every line height and weight in the theme comes from the type ramp; off-rhythm line boxes (14, 15, 17, 19px and multipliers such as 1.4 or 1.65) land on the nearest step, and the ANSI bold in terminal output is semibold. All titles use the UI face; there is no serif display face. Standalone Prose reads on a 24px line with h2 at `heading` and h3 at `title`; inside a conversation h2 is a `title` and h3/h4 are semibold body.
74
+ - `Table`: the last column fills the remaining width and the table keeps the sum of column widths as its minimum, so the selection column stays 44px instead of scaling with the data columns.
75
+ - `Alert`: lighter tinted hairline and tighter title/body rhythm; tone `info` uses `uiTokens.status.info` instead of the near-black primary.
76
+ - Menus and popovers use a 90% opaque surface so text underneath stays out of the way where backdrop blur is unavailable, and a solid surface under `prefers-reduced-transparency`.
77
+ - Active `Pill` filters take the accent selection colors; `SegmentedControl` options size from their labels and the selected thumb uses a hairline shadow.
78
+ - `NavList` icons center on the label line when a row has a description.
79
+ - `AssistantView` wraps user text parts in `ChatBubble`, matching `ChatMessage`.
80
+ - One control ladder: `uiTokens.controlHeight` is 36px and `controlLarge` 44px, equal to the button sizes. Input, Select, ChoiceSelect, SearchInput, NumberInput, Tabs and SegmentedControl are 36px by default (Input was 33px, Select/ChoiceSelect/SearchInput 32px, Tabs 42px, SegmentedControl 38px), so mixed rows line up. The chat composer keeps its own lengths.
81
+ - Field surfaces share one definition of rest, hover, read-only, focus (focus border plus a soft `focusRing` halo), invalid and disabled; native Select draws the same chevron as ChoiceSelect. New tokens: `fieldPaddingInline`, `borderStrong`, `focusRing`, `selectChevron`, `shadowThumb`, `trackInset`.
82
+ - Tabs and SegmentedControl share one track: 3px inset, concentric radii, the same thumb shadow and 14px/500 labels.
83
+ - Type ramp tokens `fontMicro` (11px), `fontCode` (12px), `fontLabel` (13px) and `fontHeading` (20px); every theme size maps to the ramp (12.5px and 13.5px become 13px and 14px, code text 11px becomes 12px). Library controls inherit typography instead of the browser's 13.33px default.
84
+ - `radiusTokens.mark` (4px) for small marks; off-scale radii (3, 5, 9, 11, 12 and 16px) map to the scale by element size.
85
+ - Shape and depth (documented in AGENTS.md): actions, fields, tracks and thumbs stay rounded rectangles with concentric radii; button labels are 500 weight. Depth tokens `shadowRaised` (in-flow surfaces: Card, ListGroup, ResourceCard, WorkCard, Table, Accordion, ResourceLink, Chat Question), `shadowField` (fields at rest) and `shadowFilled` (primary and danger buttons) join `shadowAction`; disabled controls drop their shadow and pressed buttons settle by half a pixel. Neutral fills (`surfaceMuted`, `hover`, `active`, `primarySoft`, `codeSurface`, `sunken`) are true greys. Card, Section, EmptyState, ResourceCard and Dialog titles use -0.01em tracking; Dialog titles are 600 weight.
86
+ - NavList group titles use the shared small-caps label role, like Menu and ChoiceSelect group headings.
87
+ - Stories, the docs app and the Meowbook gallery use the same tokens and roles: small-caps sidebar labels, divider hairlines, compact toolbar selects, docs examples framed as one specimen with the code recessed under the preview, and gallery specimens raised on a sunken stage.
88
+ - Menus, popovers, ChoiceSelect lists and dialogs use a solid `uiTokens.surface` with `shadowFloat` instead of the translucent `menuSurface`. Menu and ChoiceSelect items take concentric 8px fills, 14px labels, small uppercase group headings and full-bleed separators.
89
+ - The user message bubble is neutral (`surfaceMuted` with a quiet hairline) instead of the accent tint.
90
+ - One material per role (documented in AGENTS.md): Card moves onto `layerTokens.raised` and the `lineTokens.edge` hairline like its siblings (its dark surface was lighter than theirs); Chat Question, attachments and outline Item use the same hairline; `layerTokens.sunken` and `codeSurface` share one tone; markdown code in messages uses the recessed CodeBlock surface.
91
+ - Current selection uses `accentTokens.selected` everywhere: NavList, NavItem, ChoiceGroup and multi-row Select now match Table, IconRail, Pill and Tag.
92
+ - Avatar initials and the chat message mark use the soft glyph tile instead of a solid inverse block.
93
+ - Tabs and SegmentedControl thumbs use `thumbSurface`, lighter than the track in dark mode.
94
+ - JsonBlock and OutputBlock summaries draw Disclosure's rotating chevron (`chevronMask`) instead of the native triangle. JSON colors come from `codeHighlightTokens` and `uiTokens`; Menu, StateDot, Tooltip, HoverCard and ANSI magenta no longer hardcode `light-dark()` or hex colors.
95
+ - ImagePreview loading and failure states sit in a recessed, bounded frame.
96
+ - `PageFrame` with `variant="page"` reserves symmetric scrollbar gutters, so centered content stays aligned with the header when the platform draws classic scrollbars; workspace frames (Dialog, Drawer) keep their body on the header's edge. `PageHeader` centers its actions on the identity block.