@kabmo-labs/kabmo 0.57.1 → 0.58.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 (520) hide show
  1. package/dist/client/index.html +1 -1
  2. package/dist/client/index.js +523 -506
  3. package/dist/client/static/js/Body-karkrzkc.js +3 -0
  4. package/dist/client/static/js/{CsvGrid-563qmmmr.js → CsvGrid-j03knmbe.js} +2 -2
  5. package/dist/client/static/js/{DocxView-5j69q3s0.js → DocxView-e8408vzs.js} +2 -2
  6. package/dist/client/static/js/{DrawioView-gd6k3hvn.js → DrawioView-fj4mfzch.js} +2 -2
  7. package/dist/client/static/js/{HtmlPreview-6gnktzzp.js → HtmlPreview-9g8xwzgw.js} +1 -1
  8. package/dist/client/static/js/ImageView-sz4fzz9k.js +1 -0
  9. package/dist/client/static/js/LayoutWrapper-q6q4h04a.js +2 -0
  10. package/dist/client/static/js/MergeDiffView-b8f013ws.js +1 -0
  11. package/dist/client/static/js/Modal-ahecatp5.js +60 -0
  12. package/dist/client/static/js/{PdfView-n1zq27td.js → PdfView-8jtdx5hd.js} +1 -1
  13. package/dist/client/static/js/SessionsView-jwp8xvw5.js +1 -0
  14. package/dist/client/static/js/{SheetView-nes7j86v.js → SheetView-hwx8s864.js} +11 -11
  15. package/dist/client/static/js/{SvgPreview-vv0qzkt7.js → SvgPreview-ete36nzv.js} +1 -1
  16. package/dist/client/static/js/{abnfDiagram-O67JEVCF-02g96sn6.js → abnfDiagram-O67JEVCF-7nsqzz6z.js} +1 -1
  17. package/dist/client/static/js/architecture-7GRP2DOG-dc7zys46.js +1 -0
  18. package/dist/client/static/js/{architectureDiagram-NJMV4G6O-7qj2fpwt.js → architectureDiagram-NJMV4G6O-xvpkfq2f.js} +11 -11
  19. package/dist/client/static/js/{astro-asmathwv.js → astro-rsrqgjjx.js} +1 -1
  20. package/dist/client/static/js/bash-n5d0esqg.js +1 -0
  21. package/dist/client/static/js/{blockDiagram-BEXU5L5S-grdr1j2h.js → blockDiagram-BEXU5L5S-0saahcs6.js} +7 -7
  22. package/dist/client/static/js/c-pk766wx0.js +1 -0
  23. package/dist/client/static/js/{c4Diagram-YGBWAQC7-7y980xpx.js → c4Diagram-YGBWAQC7-ktpqnb4a.js} +2 -2
  24. package/dist/client/static/js/{classDiagram-v2-NBCMYWYE-29ag4js1.js → classDiagram-v2-NBCMYWYE-x67cz3ms.js} +5 -5
  25. package/dist/client/static/js/{cose-bilkent-JH36ORCC-e5dvgehd.js → cose-bilkent-JH36ORCC-9wzmhkz8.js} +1 -1
  26. package/dist/client/static/js/cpp-3pt91jvm.js +1 -0
  27. package/dist/client/static/js/css-sp1cgdbr.js +1 -0
  28. package/dist/client/static/js/cynefin-OW5HDTMX-9fx59e89.js +1 -0
  29. package/dist/client/static/js/{cynefinDiagram-VND7K2PF-eq6fmx0b.js → cynefinDiagram-VND7K2PF-dmmgmv99.js} +2 -2
  30. package/dist/client/static/js/{dagre-6A5THRUB-xfhwp8ha.js → dagre-6A5THRUB-ygkkms1t.js} +2 -2
  31. package/dist/client/static/js/{diagram-22UHCM2B-1bw6x6zt.js → diagram-22UHCM2B-qxj0pqb4.js} +14 -14
  32. package/dist/client/static/js/{diagram-3UASUU5V-076ej5n5.js → diagram-3UASUU5V-77k8w5dt.js} +1 -1
  33. package/dist/client/static/js/{diagram-ATOU4E4O-cvf9fhdq.js → diagram-ATOU4E4O-m0h86vf4.js} +3 -3
  34. package/dist/client/static/js/{diagram-CDSNMT55-hn1wdx54.js → diagram-CDSNMT55-5v28kaeg.js} +5 -5
  35. package/dist/client/static/js/{diagram-MLGK6HIB-76gk27b5.js → diagram-MLGK6HIB-zgcg9gaz.js} +2 -2
  36. package/dist/client/static/js/{diagram-MPIPVDR6-0cbajhpx.js → diagram-MPIPVDR6-10c9s6e6.js} +2 -2
  37. package/dist/client/static/js/{dockerfile-7atfjhnf.js → dockerfile-dr9sdsqp.js} +1 -1
  38. package/dist/client/static/js/{ebnfDiagram-ZINNZB2B-n0g3b9m2.js → ebnfDiagram-ZINNZB2B-mz4022dz.js} +1 -1
  39. package/dist/client/static/js/{elixir-7q2k61zb.js → elixir-3dy25ex8.js} +1 -1
  40. package/dist/client/static/js/{elk-276RUBZZ-f6wrjcv9.js → elk-276RUBZZ-ccerbsag.js} +1 -1
  41. package/dist/client/static/js/{erDiagram-OPXOYQCR-jz622yrg.js → erDiagram-OPXOYQCR-a8vjyrrw.js} +5 -5
  42. package/dist/client/static/js/{erlang-tjsd7n4d.js → erlang-v7344938.js} +1 -1
  43. package/dist/client/static/js/eventmodeling-NTZA5JFV-61d2ee91.js +1 -0
  44. package/dist/client/static/js/flowDiagram-KWPJA3E3-104ywb7w.js +1 -0
  45. package/dist/client/static/js/{ganttDiagram-FUAMR5RP-2ex4nxyg.js → ganttDiagram-FUAMR5RP-sz1g29fp.js} +4 -4
  46. package/dist/client/static/js/gitGraph-4MIJSDKK-zkb30q0t.js +1 -0
  47. package/dist/client/static/js/{gitGraphDiagram-X574FWY7-38eyay6g.js → gitGraphDiagram-X574FWY7-efqk42q0.js} +15 -15
  48. package/dist/client/static/js/graphql-2ntm7jyh.js +1 -0
  49. package/dist/client/static/js/html-mt2yb43b.js +1 -0
  50. package/dist/client/static/js/{index-db7vsjkd.js → index-2a0b9ya2.js} +1 -1
  51. package/dist/client/static/js/index-2f6psebk.js +2 -0
  52. package/dist/client/static/js/{index-j9y4tjk0.js → index-3m1dksmy.js} +2 -2
  53. package/dist/client/static/js/{index-668fc1df.js → index-3p732mvs.js} +2 -2
  54. package/dist/client/static/js/{index-3x88t8g9.js → index-3ymw778n.js} +2 -2
  55. package/dist/client/static/js/{index-rbkvw2xs.js → index-5tp3emtg.js} +2 -2
  56. package/dist/client/static/js/{index-8444mec5.js → index-6ac860yz.js} +2 -2
  57. package/dist/client/static/js/{index-zzggk17b.js → index-6ey6y9em.js} +2 -2
  58. package/dist/client/static/js/index-6h46r2de.js +1 -0
  59. package/dist/client/static/js/index-6qqsy78z.js +1 -0
  60. package/dist/client/static/js/{index-25zpywv7.js → index-6x0kn8pb.js} +2 -2
  61. package/dist/client/static/js/{index-zv8wrvha.js → index-7ma44af3.js} +3 -3
  62. package/dist/client/static/js/index-7s4dge1z.js +1 -0
  63. package/dist/client/static/js/{index-my856e49.js → index-7ynf3s2w.js} +2 -2
  64. package/dist/client/static/js/index-8aqjj2x2.js +1 -0
  65. package/dist/client/static/js/index-bkwax812.js +1 -0
  66. package/dist/client/static/js/{index-60g0e74a.js → index-dqf0srrp.js} +2 -2
  67. package/dist/client/static/js/{index-jaxhfk9x.js → index-dz18nn65.js} +2 -2
  68. package/dist/client/static/js/{index-9gfn1a3h.js → index-e42ys2q3.js} +7 -7
  69. package/dist/client/static/js/{index-wxs0x3g1.js → index-ewryzs4g.js} +2 -2
  70. package/dist/client/static/js/{index-55v3qv04.js → index-f31c6jg8.js} +22 -22
  71. package/dist/client/static/js/index-f44k9k8d.css +1 -0
  72. package/dist/client/static/js/{index-nnqyew8n.js → index-fhtnvqgf.js} +2 -2
  73. package/dist/client/static/js/{index-396g4zz4.js → index-gaa39w5q.js} +2 -2
  74. package/dist/client/static/js/{index-63mk2qk6.js → index-gqsnyh8k.js} +2 -2
  75. package/dist/client/static/js/index-gw4c5n3a.js +2 -0
  76. package/dist/client/static/js/index-j863hg0d.js +9 -0
  77. package/dist/client/static/js/{index-e4yj4kbe.js → index-jnxmvxb8.js} +12 -12
  78. package/dist/client/static/js/{index-0prwdwyb.js → index-jxsha63v.js} +2 -2
  79. package/dist/client/static/js/index-k1576e2m.js +2 -0
  80. package/dist/client/static/js/index-k4qshngy.js +4 -0
  81. package/dist/client/static/js/{index-ep99arz1.js → index-k56patms.js} +2 -2
  82. package/dist/client/static/js/{index-8pqx5n2p.js → index-kc5yt2cd.js} +2 -2
  83. package/dist/client/static/js/index-mkp3gwag.js +1 -0
  84. package/dist/client/static/js/{index-g2e0m757.js → index-nzq51nbb.js} +7 -7
  85. package/dist/client/static/js/{index-1q934wfk.js → index-q5q8a3qn.js} +2 -2
  86. package/dist/client/static/js/{index-tksrpqkh.js → index-qbqm3c91.js} +5 -5
  87. package/dist/client/static/js/{index-zynbvm7x.js → index-qkcmspxq.js} +2 -2
  88. package/dist/client/static/js/index-r1wrke3j.js +1 -0
  89. package/dist/client/static/js/index-rr79n77k.js +470 -0
  90. package/dist/client/static/js/{index-y1j18rha.js → index-rxt8sf9a.js} +2 -2
  91. package/dist/client/static/js/{index-tdryzzy9.js → index-ssepzdaz.js} +6 -6
  92. package/dist/client/static/js/{index-rsyqf691.js → index-sxag9ptg.js} +2 -2
  93. package/dist/client/static/js/{index-ewst55j2.js → index-t71k3b28.js} +2 -2
  94. package/dist/client/static/js/index-tc07gd33.js +2 -0
  95. package/dist/client/static/js/{index-m6eh5g1q.js → index-tdg7hz80.js} +2 -2
  96. package/dist/client/static/js/{index-nt17ejrm.js → index-th61y26d.js} +2 -2
  97. package/dist/client/static/js/{index-n1xmkf2g.js → index-tnxp90ac.js} +1 -1
  98. package/dist/client/static/js/{index-ms80nne4.js → index-tq3t3qm4.js} +2 -2
  99. package/dist/client/static/js/index-ts8rhd06.js +1 -0
  100. package/dist/client/static/js/{index-xtrsvm0d.js → index-v8xhgfeq.js} +2 -2
  101. package/dist/client/static/js/{index-ays8t3t3.js → index-vb5a3g01.js} +4 -4
  102. package/dist/client/static/js/{index-pjf5wak8.js → index-ver116ed.js} +1 -1
  103. package/dist/client/static/js/{index-hge0y4vn.js → index-vf01q99d.js} +2 -2
  104. package/dist/client/static/js/{index-4cff0zg2.js → index-w5j1wgcz.js} +1 -1
  105. package/dist/client/static/js/{index-cwwg7k5f.js → index-wnk9k57k.js} +27 -27
  106. package/dist/client/static/js/{index-6z30g3ha.js → index-x7h04xzf.js} +2 -2
  107. package/dist/client/static/js/{index-xfnjwhan.js → index-xfyxmaj1.js} +85 -85
  108. package/dist/client/static/js/index-xygk0v3e.js +2 -0
  109. package/dist/client/static/js/{index-kt7c42n7.js → index-y0f3wbc3.js} +2 -2
  110. package/dist/client/static/js/index-zh550byg.js +2 -0
  111. package/dist/client/static/js/info-A6RAGUB7-xxvyt8p8.js +1 -0
  112. package/dist/client/static/js/{infoDiagram-VRGFBTTK-c55t0tvd.js → infoDiagram-VRGFBTTK-rykcacj5.js} +1 -1
  113. package/dist/client/static/js/ini-bdk46a3d.js +1 -0
  114. package/dist/client/static/js/{ishikawaDiagram-OU5B5YK6-r9kg5kg5.js → ishikawaDiagram-OU5B5YK6-rj752kd8.js} +3 -3
  115. package/dist/client/static/js/java-3g3925cf.js +1 -0
  116. package/dist/client/static/js/{journeyDiagram-ZHPQQLJL-zmmst4v8.js → journeyDiagram-ZHPQQLJL-mtetwn6f.js} +5 -5
  117. package/dist/client/static/js/json-hdyzmffz.js +1 -0
  118. package/dist/client/static/js/jsx-y8r9mrdq.js +1 -0
  119. package/dist/client/static/js/{julia-d18zhpyp.js → julia-mxe3pnz3.js} +1 -1
  120. package/dist/client/static/js/{kanban-definition-PNTS6WVX-3tt6sc9a.js → kanban-definition-PNTS6WVX-4h5pw5mm.js} +3 -3
  121. package/dist/client/static/js/lua-wf5k6p3r.js +1 -0
  122. package/dist/client/static/js/markdown-9bf16dx7.js +1 -0
  123. package/dist/client/static/js/{mermaid.core-pkrs8zp5.js → mermaid.core-bs542jma.js} +8 -8
  124. package/dist/client/static/js/{mindmap-definition-NLK3R4M7-b4c6gxg4.js → mindmap-definition-NLK3R4M7-67s4xy7h.js} +5 -5
  125. package/dist/client/static/js/one-dark-pro-541ed4b7.js +1 -0
  126. package/dist/client/static/js/one-light-nr79mykt.js +1 -0
  127. package/dist/client/static/js/packet-AYTQ26CC-cm8jeesg.js +1 -0
  128. package/dist/client/static/js/{pegDiagram-GJSIUBJH-9jkat1mz.js → pegDiagram-GJSIUBJH-qykb6ssk.js} +1 -1
  129. package/dist/client/static/js/{perl-sns2qvmf.js → perl-a8eeaqkn.js} +1 -1
  130. package/dist/client/static/js/{php-3q6v9eey.js → php-6gq92zt8.js} +1 -1
  131. package/dist/client/static/js/pie-WAS4IAKB-8b9xgcxv.js +1 -0
  132. package/dist/client/static/js/{pieDiagram-5QR66LMP-6pbchjh7.js → pieDiagram-5QR66LMP-mymrrvck.js} +2 -2
  133. package/dist/client/static/js/properties-xk4dn00p.js +1 -0
  134. package/dist/client/static/js/python-7sgz05n4.js +1 -0
  135. package/dist/client/static/js/{quadrantDiagram-O4NWA36T-p9brea19.js → quadrantDiagram-O4NWA36T-6f8ahd40.js} +6 -6
  136. package/dist/client/static/js/r-w4qxm0pv.js +1 -0
  137. package/dist/client/static/js/radar-RG4KPBEZ-fxr2x2mf.js +1 -0
  138. package/dist/client/static/js/railroad-74A4TZTK-5qd45xk1.js +1 -0
  139. package/dist/client/static/js/railroad-abnf-HS5TGJTU-6fa00vpk.js +1 -0
  140. package/dist/client/static/js/railroad-ebnf-LZEXJU2U-pcbtg7tj.js +1 -0
  141. package/dist/client/static/js/railroad-peg-WCYAUIDC-r0fdhdtp.js +1 -0
  142. package/dist/client/static/js/{railroadDiagram-XR7U4H2S-3cep8css.js → railroadDiagram-XR7U4H2S-c3habpvw.js} +1 -1
  143. package/dist/client/static/js/{requirementDiagram-PLB6GJNP-x1yjgsrr.js → requirementDiagram-PLB6GJNP-nysqy6te.js} +12 -12
  144. package/dist/client/static/js/{ruby-f9k99tfq.js → ruby-mc826p2e.js} +1 -1
  145. package/dist/client/static/js/{rust-yy8gekx8.js → rust-m4f4vpvn.js} +1 -1
  146. package/dist/client/static/js/{sankeyDiagram-IPEJSGJF-23wzf4aj.js → sankeyDiagram-IPEJSGJF-s5dtfp3z.js} +4 -4
  147. package/dist/client/static/js/{sass-2syegq28.js → sass-8bq5r2tz.js} +1 -1
  148. package/dist/client/static/js/{sequenceDiagram-PO4LG4MO-w4wr3zzr.js → sequenceDiagram-PO4LG4MO-bb3yp049.js} +21 -21
  149. package/dist/client/static/js/{sizeCapture-INFHLROL-aabfesnr.js → sizeCapture-INFHLROL-0m2msee7.js} +1 -1
  150. package/dist/client/static/js/{stateDiagram-v2-GCMORJYK-t0n288xw.js → stateDiagram-v2-GCMORJYK-cd0qgj6t.js} +3 -3
  151. package/dist/client/static/js/{svelte-mm3jfpje.js → svelte-5vrwkc13.js} +1 -1
  152. package/dist/client/static/js/{swimlanes-2SLR337P-1nnm0p7h.js → swimlanes-2SLR337P-rpb01f7p.js} +1 -1
  153. package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-zx36y2c8.js +8 -0
  154. package/dist/client/static/js/{timeline-definition-EJHVYXUP-8pyssn0q.js → timeline-definition-EJHVYXUP-tqw2e6y1.js} +5 -5
  155. package/dist/client/static/js/treeView-Q6P3EWNA-9sn2h4ea.js +1 -0
  156. package/dist/client/static/js/treemap-WGGIJYW6-9fzms0pq.js +1 -0
  157. package/dist/client/static/js/tsx-h5yzg80q.js +1 -0
  158. package/dist/client/static/js/typescript-qy1sbhea.js +1 -0
  159. package/dist/client/static/js/{usecaseDiagram-POWQR4AR-vveepvt6.js → usecaseDiagram-POWQR4AR-dhf4d5xg.js} +41 -41
  160. package/dist/client/static/js/{vennDiagram-UO4OBE2U-tqyvmqxc.js → vennDiagram-UO4OBE2U-ztkk79dv.js} +7 -7
  161. package/dist/client/static/js/{vue-e8e3q3hj.js → vue-gmjnxjm3.js} +1 -1
  162. package/dist/client/static/js/wardley-WFR3VGLG-vy6rp5gp.js +1 -0
  163. package/dist/client/static/js/{wardleyDiagram-VNRHLVJA-p8rs34em.js → wardleyDiagram-VNRHLVJA-ahre5tmv.js} +5 -5
  164. package/dist/client/static/js/xml-mrk4xakv.js +1 -0
  165. package/dist/client/static/js/{xychartDiagram-PMCCYNJV-pgnvxtps.js → xychartDiagram-PMCCYNJV-vak2c50n.js} +6 -6
  166. package/dist/client/static/js/yaml-xaza6dra.js +1 -0
  167. package/package.json +6 -6
  168. package/src/client/bootstrap.d.ts +11 -0
  169. package/src/client/borders.css +3 -4
  170. package/src/client/components/auth/login-screen/index.tsx +1 -1
  171. package/src/client/components/common/ComposerPicker.tsx +1 -1
  172. package/src/client/components/common/CopyButton.tsx +1 -1
  173. package/src/client/components/common/FolderPicker.tsx +1 -1
  174. package/src/client/components/common/SubagentStatusIcon.tsx +2 -2
  175. package/src/client/components/common/ViewportSelector.tsx +2 -2
  176. package/src/client/components/common/batch-selection/BatchActionBar.tsx +1 -1
  177. package/src/client/components/common/batch-selection/BatchDeleteModal.tsx +4 -4
  178. package/src/client/components/common/checkbox/style.ts +1 -1
  179. package/src/client/components/common/context-usage-button/McpSection.tsx +3 -2
  180. package/src/client/components/common/file-icon/index.tsx +3 -3
  181. package/src/client/components/common/harness-glyph/index.tsx +4 -3
  182. package/src/client/components/common/image-viewer/fullscreen.tsx +1 -1
  183. package/src/client/components/common/image-viewer/index.tsx +2 -2
  184. package/src/client/components/common/markdown-review/ReviewPopover.tsx +2 -2
  185. package/src/client/components/common/markdown-review/ReviewSummary.tsx +3 -3
  186. package/src/client/components/common/plugin-render-boundary/index.tsx +1 -1
  187. package/src/client/components/common/server-control/Panel.tsx +1 -1
  188. package/src/client/components/common/server-control/Row.tsx +3 -3
  189. package/src/client/components/common/session-actions-menu/MenuItem.tsx +2 -2
  190. package/src/client/components/common/session-branch/SubagentRow.tsx +1 -1
  191. package/src/client/components/common/session-delete-modal/index.tsx +4 -4
  192. package/src/client/components/common/session-row/StatusSlot.tsx +1 -1
  193. package/src/client/components/common/session-row/index.tsx +40 -2
  194. package/src/client/components/common/session-row/session-row.test.tsx +46 -3
  195. package/src/client/components/common/shell-update-button/Modal.tsx +1 -1
  196. package/src/client/components/common/todo-row/index.tsx +1 -1
  197. package/src/client/components/common/window-controls/index.tsx +1 -1
  198. package/src/client/components/common/workspace-options-menu/index.tsx +4 -4
  199. package/src/client/components/layout/session-sidebar/Toolbar.tsx +2 -2
  200. package/src/client/components/layout/session-sidebar/WorktreeBadge.tsx +1 -1
  201. package/src/client/components/layout/session-sidebar/about-modal/UpdateLogDialog.tsx +1 -1
  202. package/src/client/components/layout/session-sidebar/about-modal/UpdateSection.tsx +3 -3
  203. package/src/client/components/layout/session-sidebar/about-modal/index.tsx +1 -1
  204. package/src/client/components/layout/session-sidebar/modern/FilterChips.tsx +1 -1
  205. package/src/client/components/layout/session-sidebar/new-workspace-modal/DirectoryList.tsx +2 -2
  206. package/src/client/components/layout/session-sidebar/new-workspace-modal/index.tsx +1 -1
  207. package/src/client/components/layout/session-sidebar/scheduler-modal/ModelFields.tsx +1 -1
  208. package/src/client/components/layout/session-sidebar/scheduler-modal/TaskForm.tsx +1 -1
  209. package/src/client/components/layout/session-sidebar/scheduler-modal/TaskList.tsx +4 -4
  210. package/src/client/components/layout/session-sidebar/scheduler-modal/index.tsx +1 -1
  211. package/src/client/components/layout/update-popup/Actions.tsx +1 -1
  212. package/src/client/components/mobile/mobile-right-sidebar/Action.tsx +1 -1
  213. package/src/client/components/mobile/mobile-right-sidebar/Header.tsx +3 -3
  214. package/src/client/components/mobile/mobile-right-sidebar/MissingFileBanner.tsx +2 -2
  215. package/src/client/components/mobile/mobile-right-sidebar/PreviewScroller.tsx +2 -2
  216. package/src/client/components/mobile/mobile-right-sidebar/StatusBar.tsx +2 -2
  217. package/src/client/components/mobile/mobile-session-sidebar/Toolbar.tsx +3 -3
  218. package/src/client/components/settings/Modal.tsx +8 -3
  219. package/src/client/components/settings/SettingsSidebarList.tsx +2 -2
  220. package/src/client/components/settings/Sidebar.tsx +3 -3
  221. package/src/client/components/settings/apply-side-effects.test.ts +46 -0
  222. package/src/client/components/settings/apply-side-effects.ts +8 -0
  223. package/src/client/components/settings/categories/BehaviorSettings.tsx +1 -1
  224. package/src/client/components/settings/categories/OmpSettings.tsx +3 -3
  225. package/src/client/components/settings/categories/UsageSettings.tsx +3 -3
  226. package/src/client/components/settings/categories/agent-settings/DetailPane.tsx +5 -5
  227. package/src/client/components/settings/categories/appearance-settings/CustomThemeEditor.tsx +177 -0
  228. package/src/client/components/settings/categories/appearance-settings/CustomThemeSection.test.tsx +136 -0
  229. package/src/client/components/settings/categories/appearance-settings/CustomThemeSection.tsx +180 -0
  230. package/src/client/components/settings/categories/appearance-settings/ThemeCard.tsx +1 -1
  231. package/src/client/components/settings/categories/appearance-settings/ThemeGrid.tsx +6 -5
  232. package/src/client/components/settings/categories/appearance-settings/ThemePreview.tsx +106 -0
  233. package/src/client/components/settings/categories/appearance-settings/ThemeSection.tsx +7 -3
  234. package/src/client/components/settings/categories/behavior-settings/Editor.tsx +1 -1
  235. package/src/client/components/settings/categories/chat-settings/ToolRenderSection.tsx +1 -1
  236. package/src/client/components/settings/categories/command-settings/DetailPane.tsx +4 -4
  237. package/src/client/components/settings/categories/dictation-settings/ExternalSection.tsx +1 -1
  238. package/src/client/components/settings/categories/git-settings/CommitMessageSection.tsx +1 -1
  239. package/src/client/components/settings/categories/git-settings/IdentitySection.tsx +2 -2
  240. package/src/client/components/settings/categories/harness-settings/AccountLoginPanel.tsx +3 -3
  241. package/src/client/components/settings/categories/harness-settings/AccountsPanel.tsx +13 -83
  242. package/src/client/components/settings/categories/harness-settings/HarnessImportControls.tsx +1 -1
  243. package/src/client/components/settings/categories/mcp-settings/ConnectionTest.tsx +1 -1
  244. package/src/client/components/settings/categories/mcp-settings/DetailPane.tsx +5 -5
  245. package/src/client/components/settings/categories/mcp-settings/ImportModal.tsx +1 -1
  246. package/src/client/components/settings/categories/mcp-settings/KeyValueSection.tsx +1 -1
  247. package/src/client/components/settings/categories/mcp-settings/SidebarList.tsx +2 -2
  248. package/src/client/components/settings/categories/omp-settings/ConfigTabs.tsx +4 -4
  249. package/src/client/components/settings/categories/omp-settings/OrderedChips.tsx +1 -1
  250. package/src/client/components/settings/categories/omp-settings/PresetBar.tsx +3 -3
  251. package/src/client/components/settings/categories/omp-settings/RoleEditor.tsx +2 -2
  252. package/src/client/components/settings/categories/omp-settings/RowEditor.tsx +2 -2
  253. package/src/client/components/settings/categories/panel-plugins/GitFreshness.tsx +2 -2
  254. package/src/client/components/settings/categories/panel-plugins/InstallForm.tsx +3 -3
  255. package/src/client/components/settings/categories/panel-plugins/InstalledList.tsx +1 -1
  256. package/src/client/components/settings/categories/panel-plugins/Meta.tsx +1 -1
  257. package/src/client/components/settings/categories/panel-plugins/PluginCard.tsx +5 -5
  258. package/src/client/components/settings/categories/panel-plugins/ReadmeModal.tsx +1 -1
  259. package/src/client/components/settings/categories/panel-plugins/Registries.tsx +4 -4
  260. package/src/client/components/settings/categories/panel-plugins/Section.tsx +3 -3
  261. package/src/client/components/settings/categories/panel-plugins/SettingsModal.tsx +2 -2
  262. package/src/client/components/settings/categories/panel-plugins/SyncBlockedNotice.tsx +2 -2
  263. package/src/client/components/settings/categories/panel-plugins/Toolbar.tsx +1 -1
  264. package/src/client/components/settings/categories/plugin-settings/DetailPane.tsx +2 -2
  265. package/src/client/components/settings/categories/plugin-settings/MarketplacePane.tsx +4 -4
  266. package/src/client/components/settings/categories/plugin-settings/SettingsSection.tsx +1 -1
  267. package/src/client/components/settings/categories/plugin-settings/SidebarList.tsx +4 -4
  268. package/src/client/components/settings/categories/project-settings/AddProjectModal.tsx +1 -1
  269. package/src/client/components/settings/categories/project-settings/DeleteProjectModal.tsx +3 -3
  270. package/src/client/components/settings/categories/project-settings/DetailsHeader.tsx +1 -1
  271. package/src/client/components/settings/categories/project-settings/IconGrid.tsx +3 -3
  272. package/src/client/components/settings/categories/project-settings/SidebarList.tsx +1 -1
  273. package/src/client/components/settings/categories/project-settings/WorktreeSettings.tsx +2 -2
  274. package/src/client/components/settings/categories/provider-settings/AddModelModal.tsx +3 -3
  275. package/src/client/components/settings/categories/provider-settings/AddProviderModal.tsx +2 -2
  276. package/src/client/components/settings/categories/provider-settings/AuthSection.tsx +3 -3
  277. package/src/client/components/settings/categories/provider-settings/DeleteProviderModal.tsx +3 -3
  278. package/src/client/components/settings/categories/provider-settings/EntryAdvanced.tsx +1 -1
  279. package/src/client/components/settings/categories/provider-settings/EntryModal.tsx +2 -2
  280. package/src/client/components/settings/categories/provider-settings/LoginModal.tsx +2 -2
  281. package/src/client/components/settings/categories/provider-settings/LogoutProviderModal.tsx +3 -3
  282. package/src/client/components/settings/categories/provider-settings/ModelCapabilitiesModal.tsx +1 -1
  283. package/src/client/components/settings/categories/provider-settings/PriceFields.tsx +1 -1
  284. package/src/client/components/settings/categories/skill-catalog/GitImportPanel.tsx +1 -1
  285. package/src/client/components/settings/categories/skill-catalog/SkillCard.tsx +1 -1
  286. package/src/client/components/settings/categories/skill-catalog/SourceRail.tsx +1 -1
  287. package/src/client/components/settings/categories/skill-settings/DetailHeader.tsx +7 -7
  288. package/src/client/components/settings/categories/skill-settings/DetailPane.tsx +1 -1
  289. package/src/client/components/settings/categories/skill-settings/SidebarList.tsx +2 -2
  290. package/src/client/components/settings/categories/usage-settings/ProviderCard.tsx +1 -1
  291. package/src/client/components/settings/categories/usage-settings/SavedResetsSection.tsx +2 -2
  292. package/src/client/components/settings/categories/usage-settings/SidebarList.tsx +1 -1
  293. package/src/client/components/settings/categories/usage-settings/TokenHarborCard.tsx +1 -1
  294. package/src/client/components/settings/categories/voice-settings/speech/EndpointSection.tsx +2 -2
  295. package/src/client/components/settings/categories/voice-settings/speech/EngineSection.tsx +5 -5
  296. package/src/client/components/settings/categories/voice-settings/speech/ModelsSection.tsx +4 -4
  297. package/src/client/components/workspace/browser-panel/ActivityToasts.tsx +2 -2
  298. package/src/client/components/workspace/browser-panel/EngineNotice.tsx +1 -1
  299. package/src/client/components/workspace/browser-panel/index.tsx +2 -2
  300. package/src/client/components/workspace/browser-toolbar/clusters.tsx +2 -2
  301. package/src/client/components/workspace/btw-panel/Messages.tsx +2 -2
  302. package/src/client/components/workspace/btw-panel/TopicMenu.tsx +1 -1
  303. package/src/client/components/workspace/chat-timeline/AiMessageFooterSheet.tsx +1 -1
  304. package/src/client/components/workspace/chat-timeline/ChangedFilesSummary.tsx +7 -7
  305. package/src/client/components/workspace/chat-timeline/ComposerDock.tsx +2 -2
  306. package/src/client/components/workspace/chat-timeline/IrcNotice.tsx +2 -2
  307. package/src/client/components/workspace/chat-timeline/MessageItem.tsx +3 -3
  308. package/src/client/components/workspace/chat-timeline/OrchestrationNotice.tsx +5 -5
  309. package/src/client/components/workspace/chat-timeline/QueueList.tsx +1 -1
  310. package/src/client/components/workspace/chat-timeline/SubagentControls.tsx +1 -1
  311. package/src/client/components/workspace/chat-timeline/SystemNotice.tsx +5 -5
  312. package/src/client/components/workspace/chat-timeline/TaskResultContent.tsx +1 -1
  313. package/src/client/components/workspace/chat-timeline/TimelineBody.tsx +1 -1
  314. package/src/client/components/workspace/chat-timeline/UndoConfirmModal.tsx +1 -1
  315. package/src/client/components/workspace/chat-timeline/block-chrome.test.tsx +2 -2
  316. package/src/client/components/workspace/chat-timeline/chat-input/AttachmentToolbar.tsx +1 -1
  317. package/src/client/components/workspace/chat-timeline/chat-input/ComposerNotice.tsx +2 -2
  318. package/src/client/components/workspace/chat-timeline/chat-input/ComposerRows.tsx +1 -1
  319. package/src/client/components/workspace/chat-timeline/chat-input/GoalBanner.tsx +11 -11
  320. package/src/client/components/workspace/chat-timeline/chat-input/GoalModal.tsx +3 -3
  321. package/src/client/components/workspace/chat-timeline/chat-input/Toolbar.tsx +2 -2
  322. package/src/client/components/workspace/chat-timeline/chat-input/VoiceNotice.tsx +1 -1
  323. package/src/client/components/workspace/chat-timeline/chat-input/props.ts +3 -3
  324. package/src/client/components/workspace/chat-timeline/plan-review/index.tsx +1 -1
  325. package/src/client/components/workspace/chat-timeline/target-picker/WorktreePicker.tsx +2 -2
  326. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FormAsk.tsx +1 -1
  327. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FormDialog.tsx +1 -1
  328. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/QuestionCard.tsx +2 -2
  329. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/SwipeDeck.tsx +7 -7
  330. package/src/client/components/workspace/chat-timeline/tool-renderers/extension-dialog/ApprovalBody.tsx +1 -1
  331. package/src/client/components/workspace/chat-timeline/tool-renderers/hashline-patch/index.tsx +3 -3
  332. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/AstEdit.tsx +5 -5
  333. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Bash.tsx +9 -9
  334. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Debug.tsx +5 -5
  335. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Edit.tsx +5 -5
  336. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Eval.tsx +6 -6
  337. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/FileMatches.tsx +2 -2
  338. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Github.tsx +7 -7
  339. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Goal.tsx +5 -5
  340. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/GoalRecord.tsx +5 -5
  341. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Lsp.tsx +9 -9
  342. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/ManageSkill.tsx +3 -3
  343. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Proc.tsx +8 -8
  344. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Resolve.tsx +3 -3
  345. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/SecurityScan.tsx +6 -6
  346. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/TaskResult.tsx +2 -2
  347. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Todo.tsx +1 -1
  348. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Wait.tsx +7 -7
  349. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ArtifactChip.tsx +1 -1
  350. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/DiffView.tsx +2 -2
  351. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/EnvelopeHeader.tsx +3 -3
  352. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ToolCardShell.tsx +4 -4
  353. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ToolFactChips.tsx +5 -5
  354. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ToolRowActions.tsx +1 -1
  355. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/status-glyph.tsx +3 -3
  356. package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Tui.test.tsx +35 -9
  357. package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Tui.tsx +17 -12
  358. package/src/client/components/workspace/context-panel/RawJsonViewer.tsx +2 -2
  359. package/src/client/components/workspace/diff-panel/ConflictBanner.tsx +3 -3
  360. package/src/client/components/workspace/diff-panel/Toolbar.tsx +3 -3
  361. package/src/client/components/workspace/diff-panel/index.tsx +3 -3
  362. package/src/client/components/workspace/diff-panel/toolbar-git-actions.tsx +1 -1
  363. package/src/client/components/workspace/editor/ConflictStrip.tsx +2 -2
  364. package/src/client/components/workspace/editor/ExternalChangeStrip.tsx +2 -2
  365. package/src/client/components/workspace/editor/FilePane.tsx +6 -6
  366. package/src/client/components/workspace/editor/FindWidget.tsx +2 -2
  367. package/src/client/components/workspace/editor/GoToLineModal.tsx +1 -1
  368. package/src/client/components/workspace/editor/SaveAsModal.tsx +3 -3
  369. package/src/client/components/workspace/editor/SaveDeletedFileModal.tsx +2 -2
  370. package/src/client/components/workspace/editor/StatusBar.tsx +1 -1
  371. package/src/client/components/workspace/editor/Tabs.test.ts +3 -3
  372. package/src/client/components/workspace/editor/Tabs.tsx +6 -6
  373. package/src/client/components/workspace/editor/Toolbar.tsx +4 -4
  374. package/src/client/components/workspace/editor/toolbar-clusters.tsx +1 -1
  375. package/src/client/components/workspace/editor/viewers/DataGrid.tsx +1 -1
  376. package/src/client/components/workspace/editor/viewers/GridToolbar.tsx +2 -2
  377. package/src/client/components/workspace/editor/viewers/SheetView.tsx +2 -2
  378. package/src/client/components/workspace/editor/viewers/ViewerError.tsx +2 -2
  379. package/src/client/components/workspace/file-explorer/ArchiveModals.tsx +1 -1
  380. package/src/client/components/workspace/file-explorer/ContextMenu.tsx +3 -3
  381. package/src/client/components/workspace/file-explorer/Modals.tsx +3 -3
  382. package/src/client/components/workspace/file-explorer/RowLabel.test.tsx +2 -2
  383. package/src/client/components/workspace/git-panel/BranchToolbar.tsx +2 -2
  384. package/src/client/components/workspace/git-panel/ChangesList.tsx +3 -3
  385. package/src/client/components/workspace/git-panel/ConflictItem.tsx +3 -3
  386. package/src/client/components/workspace/git-panel/FileItem.tsx +1 -1
  387. package/src/client/components/workspace/git-panel/Modals.tsx +1 -1
  388. package/src/client/components/workspace/git-panel/OperationBar.tsx +4 -4
  389. package/src/client/components/workspace/git-panel/StashSection.tsx +1 -1
  390. package/src/client/components/workspace/git-panel/TreeItem.tsx +2 -2
  391. package/src/client/components/workspace/git-panel/branch-modal/BranchRow.tsx +2 -2
  392. package/src/client/components/workspace/git-panel/branch-modal/DeleteDialog.tsx +2 -2
  393. package/src/client/components/workspace/git-panel/branch-modal/index.tsx +2 -2
  394. package/src/client/components/workspace/model-dropdown/HarnessTabs.tsx +31 -76
  395. package/src/client/components/workspace/model-dropdown/Item.tsx +2 -2
  396. package/src/client/components/workspace/model-dropdown/Panel.tsx +15 -9
  397. package/src/client/components/workspace/model-dropdown/Section.tsx +1 -1
  398. package/src/client/components/workspace/model-dropdown/harness-tabs.test.tsx +12 -83
  399. package/src/client/components/workspace/model-dropdown/index.tsx +2 -2
  400. package/src/client/components/workspace/model-dropdown/picker-close.test.tsx +16 -2
  401. package/src/client/components/workspace/plan-panel/PageView.tsx +2 -2
  402. package/src/client/components/workspace/plan-panel/index.tsx +2 -2
  403. package/src/client/components/workspace/plugin-panel/Error.tsx +1 -1
  404. package/src/client/components/workspace/repo-picker/Modal.tsx +3 -3
  405. package/src/client/components/workspace/repo-picker/Row.tsx +5 -5
  406. package/src/client/components/workspace/search-panel/Body.tsx +2 -2
  407. package/src/client/components/workspace/terminal-panel/Header.tsx +3 -3
  408. package/src/client/components/workspace/terminal-panel/KeyBar.tsx +2 -2
  409. package/src/client/components/workspace/terminal-panel/QuickActions.tsx +1 -1
  410. package/src/client/components/workspace/terminal-panel/RealtimeTerminalView.tsx +1 -1
  411. package/src/client/components/workspace/terminal-panel/index.tsx +1 -1
  412. package/src/client/components/workspace/usage-panel/index.tsx +3 -3
  413. package/src/client/components/workspace/user-browser-panel/AddressBar.tsx +1 -1
  414. package/src/client/components/workspace/wiki-panel/PageView.tsx +2 -2
  415. package/src/client/components/workspace/wiki-panel/index.tsx +2 -2
  416. package/src/client/components/workspace/worktree-modal/index.tsx +1 -1
  417. package/src/client/data/settings/omp-schema.json +27 -7
  418. package/src/client/hooks/chat/timeline/session-harness.ts +2 -1
  419. package/src/client/hooks/editor/use-unload-guard.tsx +2 -2
  420. package/src/client/hooks/models/use-harness-accounts-panel.ts +142 -0
  421. package/src/client/hooks/ui/border-style.test.ts +1 -2
  422. package/src/client/hooks/ui/theme.ts +23 -2
  423. package/src/client/main.tsx +7 -1
  424. package/src/client/tailwind-contrast.test.ts +22 -7
  425. package/src/client/tailwind.css +115 -18
  426. package/src/server/lib/assets/theme-css.server.test.ts +31 -1
  427. package/src/server/lib/assets/theme-css.server.ts +15 -1
  428. package/src/server/lib/harness/accounts.test.ts +5 -3
  429. package/src/server/lib/harness/acp/acp-todos.test.ts +23 -0
  430. package/src/server/lib/omp/session/delete.server.ts +4 -0
  431. package/src/server/lib/realtime/topics/session-data.server.ts +63 -1
  432. package/src/server/lib/realtime/topics/session-data.test.ts +154 -0
  433. package/src/server/lib/tray/runtime.server.ts +5 -0
  434. package/src/server/plugins/ssr.ts +16 -4
  435. package/src/server/routes/settings/root.ts +11 -0
  436. package/src/server/routes/settings/settings-store-routes.test.ts +37 -0
  437. package/src/shared/lib/chat/timeline/block-chrome.ts +2 -2
  438. package/src/shared/lib/chat/todo/flat-list.test.ts +81 -0
  439. package/src/shared/lib/chat/todo/flat-list.ts +29 -0
  440. package/src/shared/lib/chat/todo/parser.ts +7 -53
  441. package/src/shared/lib/chat/todo/progress.test.ts +3 -3
  442. package/src/shared/lib/chat/todo/progress.ts +3 -3
  443. package/src/shared/lib/fs/git-status.test.ts +22 -22
  444. package/src/shared/lib/fs/git-status.ts +31 -31
  445. package/src/shared/lib/icons/icon-paint-authority.ts +5 -4
  446. package/src/shared/lib/omp/config/schema-releases-19-4.test.ts +20 -3
  447. package/src/shared/lib/settings/defaults.ts +1 -0
  448. package/src/shared/lib/theme/catalog.test.ts +42 -0
  449. package/src/shared/lib/theme/catalog.ts +66 -11
  450. package/src/shared/lib/theme/css.ts +25 -1
  451. package/src/shared/lib/theme/custom.test.ts +156 -0
  452. package/src/shared/lib/theme/custom.ts +260 -0
  453. package/src/shared/lib/theme/ink-scale.test.ts +83 -2
  454. package/src/shared/lib/theme/ink-scale.ts +74 -9
  455. package/src/shared/lib/theme/shell-palette.ts +3 -3
  456. package/src/shared/lib/theme/theme.test.ts +28 -13
  457. package/src/shared/types/settings/state.ts +11 -3
  458. package/tsconfig.json +6 -0
  459. package/dist/client/static/js/Body-p6zwk0nx.js +0 -3
  460. package/dist/client/static/js/ImageView-fkfq3fwv.js +0 -1
  461. package/dist/client/static/js/LayoutWrapper-mdb1qm26.js +0 -2
  462. package/dist/client/static/js/MergeDiffView-7kpjxcg9.js +0 -1
  463. package/dist/client/static/js/Modal-0p9cr2tn.js +0 -60
  464. package/dist/client/static/js/SessionsView-gptt0rq8.js +0 -1
  465. package/dist/client/static/js/architecture-7GRP2DOG-3hkq8grc.js +0 -1
  466. package/dist/client/static/js/bash-n7wcmq3s.js +0 -1
  467. package/dist/client/static/js/c-20y64hcp.js +0 -1
  468. package/dist/client/static/js/cpp-ty6n0dg9.js +0 -1
  469. package/dist/client/static/js/css-ncvxaxt0.js +0 -1
  470. package/dist/client/static/js/cynefin-OW5HDTMX-9m18e6m5.js +0 -1
  471. package/dist/client/static/js/eventmodeling-NTZA5JFV-d4egnv9v.js +0 -1
  472. package/dist/client/static/js/flowDiagram-KWPJA3E3-5bvd5k2t.js +0 -1
  473. package/dist/client/static/js/gitGraph-4MIJSDKK-grqv890n.js +0 -1
  474. package/dist/client/static/js/graphql-6rwdfcnf.js +0 -1
  475. package/dist/client/static/js/html-p76eszt9.js +0 -1
  476. package/dist/client/static/js/index-28wv94gz.js +0 -2
  477. package/dist/client/static/js/index-3wgjtp2k.js +0 -9
  478. package/dist/client/static/js/index-7trfm17d.js +0 -2
  479. package/dist/client/static/js/index-cxe75e06.js +0 -2
  480. package/dist/client/static/js/index-dmb1pykr.js +0 -1
  481. package/dist/client/static/js/index-fqc1snjw.js +0 -1
  482. package/dist/client/static/js/index-jsn2kedv.js +0 -1
  483. package/dist/client/static/js/index-pe4d9wht.js +0 -1
  484. package/dist/client/static/js/index-sm8gpk3g.js +0 -4
  485. package/dist/client/static/js/index-st6a8q5z.js +0 -470
  486. package/dist/client/static/js/index-stmwbavz.js +0 -1
  487. package/dist/client/static/js/index-swaveqxg.css +0 -1
  488. package/dist/client/static/js/index-t82q5t6m.js +0 -1
  489. package/dist/client/static/js/index-t9zjfxvc.js +0 -1
  490. package/dist/client/static/js/index-tdbcp70z.js +0 -2
  491. package/dist/client/static/js/index-v38j2zxn.js +0 -2
  492. package/dist/client/static/js/index-x17y7xdr.js +0 -2
  493. package/dist/client/static/js/index-xrb4kjr3.js +0 -1
  494. package/dist/client/static/js/info-A6RAGUB7-rzpg7qk1.js +0 -1
  495. package/dist/client/static/js/ini-kjcpgebh.js +0 -1
  496. package/dist/client/static/js/java-0bcyv1jt.js +0 -1
  497. package/dist/client/static/js/json-xha2drny.js +0 -1
  498. package/dist/client/static/js/jsx-8p6dqgpq.js +0 -1
  499. package/dist/client/static/js/lua-njwwdj4s.js +0 -1
  500. package/dist/client/static/js/markdown-8gbyxxjd.js +0 -1
  501. package/dist/client/static/js/one-dark-pro-sstqnzcf.js +0 -1
  502. package/dist/client/static/js/one-light-6fpxxq2j.js +0 -1
  503. package/dist/client/static/js/packet-AYTQ26CC-eac14hsq.js +0 -1
  504. package/dist/client/static/js/pie-WAS4IAKB-a9xqvysf.js +0 -1
  505. package/dist/client/static/js/properties-d5bwhgwz.js +0 -1
  506. package/dist/client/static/js/python-fdwwjjhh.js +0 -1
  507. package/dist/client/static/js/r-4d2ygtfj.js +0 -1
  508. package/dist/client/static/js/radar-RG4KPBEZ-jv2pm0fe.js +0 -1
  509. package/dist/client/static/js/railroad-74A4TZTK-j74sc0b6.js +0 -1
  510. package/dist/client/static/js/railroad-abnf-HS5TGJTU-eaf19baz.js +0 -1
  511. package/dist/client/static/js/railroad-ebnf-LZEXJU2U-d4j5nq31.js +0 -1
  512. package/dist/client/static/js/railroad-peg-WCYAUIDC-ba862a9p.js +0 -1
  513. package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-cx3f29mq.js +0 -8
  514. package/dist/client/static/js/treeView-Q6P3EWNA-e8yb44pd.js +0 -1
  515. package/dist/client/static/js/treemap-WGGIJYW6-zvdv84vp.js +0 -1
  516. package/dist/client/static/js/tsx-dk8rpgtw.js +0 -1
  517. package/dist/client/static/js/typescript-5txwpd9t.js +0 -1
  518. package/dist/client/static/js/wardley-WFR3VGLG-hbv0cg4s.js +0 -1
  519. package/dist/client/static/js/xml-8516fzfp.js +0 -1
  520. package/dist/client/static/js/yaml-6k1tmwtm.js +0 -1
@@ -0,0 +1,136 @@
1
+ /**
2
+ * @license
3
+ * SPDX-License-Identifier: MIT
4
+ */
5
+
6
+ import { afterAll, afterEach, beforeAll, describe, expect, test } from 'bun:test';
7
+ import { Window } from 'happy-dom';
8
+ import { h, render } from 'preact';
9
+ import { act } from 'preact/test-utils';
10
+ import type { ThemePalette } from '@kabmo-labs/kabmo-app-contracts/theme';
11
+ import { installDomGlobals, restoreDomGlobals } from '@/test-support/pristine-globals';
12
+ import { DEFAULT_SETTINGS } from '@/shared/lib/settings/defaults';
13
+ import type { SettingsState } from '@/shared/types';
14
+ import { CustomThemeSection } from '@/client/components/settings/categories/appearance-settings/CustomThemeSection';
15
+
16
+ const CUSTOM: ThemePalette = {
17
+ id: 'custom-ui-test',
18
+ name: 'UI test',
19
+ family: 'custom',
20
+ variant: 'dark',
21
+ canvas: '#101418',
22
+ paper: '#14181e',
23
+ ink: '#e6e8eb',
24
+ error: '#ff6b6b',
25
+ success: '#4ade80',
26
+ info: '#60a5fa',
27
+ warning: '#fbbf24',
28
+ meta: '#a78bfa',
29
+ };
30
+
31
+ let container: HTMLElement;
32
+ let patches: Partial<SettingsState>[] = [];
33
+
34
+ function settingsWith(customThemes: ThemePalette[], theme: SettingsState['theme'] = 'paper'): SettingsState {
35
+ return { ...DEFAULT_SETTINGS, theme, customThemes };
36
+ }
37
+
38
+ function button(label: string): HTMLButtonElement {
39
+ const match = [...container.querySelectorAll('button')].find(
40
+ (element) => element.textContent?.trim() === label,
41
+ );
42
+ if (!match) throw new Error(`button not found: ${label}`);
43
+ return match as HTMLButtonElement;
44
+ }
45
+
46
+ function ariaButton(label: string): HTMLButtonElement {
47
+ const match = container.querySelector(`button[aria-label="${label}"]`);
48
+ if (!match) throw new Error(`button not found: ${label}`);
49
+ return match as HTMLButtonElement;
50
+ }
51
+
52
+ async function mount(settings: SettingsState): Promise<void> {
53
+ patches = [];
54
+ container = document.createElement('div');
55
+ document.body.appendChild(container);
56
+ await act(async () => {
57
+ render(
58
+ h(CustomThemeSection, {
59
+ settings,
60
+ onUpdate: (updater) => {
61
+ const patch = typeof updater === 'function' ? updater(settings) : updater;
62
+ patches.push(patch);
63
+ },
64
+ }),
65
+ container,
66
+ );
67
+ });
68
+ }
69
+
70
+ beforeAll(() => {
71
+ installDomGlobals(new Window({ url: 'http://localhost' }));
72
+ });
73
+
74
+ afterEach(() => {
75
+ if (container) {
76
+ render(null, container);
77
+ container.remove();
78
+ }
79
+ });
80
+
81
+ afterAll(() => {
82
+ restoreDomGlobals();
83
+ });
84
+
85
+ describe('CustomThemeSection', () => {
86
+ test('creates a palette and selects it in one update', async () => {
87
+ await mount(settingsWith([]));
88
+ await act(async () => button('New theme').click());
89
+ await act(async () => button('Create theme').click());
90
+
91
+ expect(patches.length).toBe(1);
92
+ const patch = patches[0];
93
+ expect(patch.customThemes?.length).toBe(1);
94
+ const created = patch.customThemes![0];
95
+ expect(created.id.startsWith('custom-')).toBe(true);
96
+ expect(created.family).toBe('custom');
97
+ expect(patch.theme).toBe(created.id as SettingsState['theme']);
98
+ });
99
+
100
+ test('the preview follows a colour while it is being typed', async () => {
101
+ await mount(settingsWith([]));
102
+ await act(async () => button('New theme').click());
103
+
104
+ const preview = container.querySelector('[aria-label="Theme preview"]') as HTMLElement;
105
+ const canvas = container.querySelector('input[aria-label="Canvas hex"]') as HTMLInputElement;
106
+ expect(preview).not.toBeNull();
107
+ expect(canvas).not.toBeNull();
108
+
109
+ await act(async () => {
110
+ canvas.value = '#123456';
111
+ canvas.dispatchEvent(new (globalThis.window as unknown as { Event: typeof Event }).Event('input', { bubbles: true }));
112
+ });
113
+
114
+ expect(preview.style.backgroundColor.toLowerCase()).toContain('123456');
115
+ });
116
+
117
+ test('editing an inactive palette does not steal the selection', async () => {
118
+ await mount(settingsWith([CUSTOM], 'paper'));
119
+ await act(async () => ariaButton('Edit UI test').click());
120
+ await act(async () => button('Save theme').click());
121
+
122
+ expect(patches.length).toBe(1);
123
+ expect(patches[0].customThemes?.[0].id).toBe(CUSTOM.id);
124
+ expect(patches[0].theme).toBe('paper');
125
+ });
126
+
127
+ test('deleting the active palette falls back to the shipped default', async () => {
128
+ await mount(settingsWith([CUSTOM], CUSTOM.id as SettingsState['theme']));
129
+ await act(async () => ariaButton('Delete UI test').click());
130
+ await act(async () => button('Delete').click());
131
+
132
+ expect(patches.length).toBe(1);
133
+ expect(patches[0].customThemes).toEqual([]);
134
+ expect(patches[0].theme).toBe('paper');
135
+ });
136
+ });
@@ -0,0 +1,180 @@
1
+ /**
2
+ * @license
3
+ * SPDX-License-Identifier: MIT
4
+ */
5
+
6
+ /**
7
+ * Settings → Appearance → Palette → Custom themes.
8
+ *
9
+ * The built-in grid is a catalog; this is the user's own shelf. A saved palette
10
+ * lives in the same settings blob as `theme`, so the next page load paints it in
11
+ * the first frame rather than after a round trip. Create, edit and delete all
12
+ * go through one `onUpdate`, which registers the table and rewrites the active
13
+ * palette in the same edit.
14
+ */
15
+
16
+ import { useState } from 'preact/hooks';
17
+ import { Pencil, Plus, Trash2 } from 'lucide-preact';
18
+ import type { ThemePalette } from '@kabmo-labs/kabmo-app-contracts/theme';
19
+ import type { SettingsState } from '@/shared/types';
20
+ import { DEFAULT_THEME_ID, resolveTheme, type ThemeId } from '@/shared/lib/theme/catalog';
21
+ import {
22
+ CUSTOM_THEME_SLOTS,
23
+ MAX_CUSTOM_THEMES,
24
+ draftFromCustomTheme,
25
+ emptyCustomThemeDraft,
26
+ type CustomThemeDraft,
27
+ } from '@/shared/lib/theme/custom';
28
+ import { CustomThemeEditor } from '@/client/components/settings/categories/appearance-settings/CustomThemeEditor';
29
+
30
+ interface CustomThemeSectionProps {
31
+ settings: SettingsState;
32
+ onUpdate: (updater: Partial<SettingsState> | ((prev: SettingsState) => SettingsState)) => void;
33
+ }
34
+
35
+ interface Editing {
36
+ id?: string;
37
+ draft: CustomThemeDraft;
38
+ }
39
+
40
+ export function CustomThemeSection({ settings, onUpdate }: CustomThemeSectionProps) {
41
+ const [editing, setEditing] = useState<Editing | null>(null);
42
+ const [confirmingId, setConfirmingId] = useState<string | null>(null);
43
+ const themes = settings.customThemes;
44
+ const atLimit = themes.length >= MAX_CUSTOM_THEMES;
45
+
46
+ const save = (palette: ThemePalette) => {
47
+ const next = editing?.id
48
+ ? themes.map((theme) => (theme.id === palette.id ? palette : theme))
49
+ : [...themes, palette];
50
+ // Editing an inactive palette must not steal the selection; creating one
51
+ // does select it, because the user just made it to use it.
52
+ const activeId: ThemeId = editing?.id && editing.id !== settings.theme ? settings.theme : (palette.id as ThemeId);
53
+ onUpdate({ customThemes: next, theme: activeId });
54
+ setEditing(null);
55
+ };
56
+
57
+ const remove = (id: string) => {
58
+ onUpdate({
59
+ customThemes: themes.filter((theme) => theme.id !== id),
60
+ theme: settings.theme === id ? DEFAULT_THEME_ID : settings.theme,
61
+ });
62
+ setConfirmingId(null);
63
+ if (editing?.id === id) setEditing(null);
64
+ };
65
+
66
+ return (
67
+ <section className="space-y-2 rounded-lg border border-ink/15 bg-canvas/40 p-2.5">
68
+ <div className="flex flex-wrap items-start justify-between gap-2">
69
+ <div className="min-w-0">
70
+ <h5 className="text-sm font-semibold text-ink">Custom themes</h5>
71
+ <p className="mt-0.5 text-[11px] text-ink/60">
72
+ Save your own palette. Each one is stored with your settings and paints the first frame on
73
+ every device that opens this install.
74
+ </p>
75
+ </div>
76
+ <button
77
+ type="button"
78
+ disabled={atLimit || editing !== null}
79
+ onClick={() =>
80
+ setEditing({ draft: emptyCustomThemeDraft(resolveTheme(settings.theme).variant) })
81
+ }
82
+ className="flex shrink-0 items-center gap-1 rounded border border-ink/20 px-2.5 py-1 text-[11px] font-medium text-ink/70 hover:border-ink/40 hover:text-ink disabled:opacity-40 disabled:cursor-not-allowed cursor-pointer"
83
+ >
84
+ <Plus size={12} />
85
+ New theme
86
+ </button>
87
+ </div>
88
+
89
+ {atLimit && (
90
+ <p className="text-[11px] text-warning-text">
91
+ The limit is {MAX_CUSTOM_THEMES} custom themes. Delete one to make room.
92
+ </p>
93
+ )}
94
+
95
+ {themes.length === 0 ? (
96
+ <p className="rounded border border-dashed border-ink/20 px-2.5 py-2 text-[11px] text-ink/60">
97
+ No custom themes yet. Create one to keep a palette of your own.
98
+ </p>
99
+ ) : (
100
+ <ul className="space-y-1">
101
+ {themes.map((theme) => {
102
+ const active = theme.id === settings.theme;
103
+ return (
104
+ <li
105
+ key={theme.id}
106
+ className="flex flex-wrap items-center gap-2 rounded border border-ink/15 bg-paper px-2 py-1.5"
107
+ >
108
+ <div className="flex shrink-0 items-center gap-0.5" aria-hidden="true">
109
+ {CUSTOM_THEME_SLOTS.map((slot) => (
110
+ <span
111
+ key={slot}
112
+ title={`${slot}: ${theme[slot]}`}
113
+ style={{ backgroundColor: theme[slot] }}
114
+ className="h-4 w-3 rounded-[2px] border border-ink/10"
115
+ />
116
+ ))}
117
+ </div>
118
+ <span className="min-w-0 flex-1 truncate text-xs font-medium text-ink" title={theme.name}>
119
+ {theme.name}
120
+ </span>
121
+ <span className="shrink-0 rounded-full border border-ink/15 px-1.5 py-px text-[10px] font-semibold uppercase tracking-wider text-ink/50">
122
+ {theme.variant}
123
+ </span>
124
+ {active && <span className="shrink-0 text-[10px] font-semibold text-ink">Active</span>}
125
+
126
+ {confirmingId === theme.id ? (
127
+ <span className="flex shrink-0 items-center gap-1">
128
+ <button
129
+ type="button"
130
+ onClick={() => remove(theme.id)}
131
+ className="rounded bg-error px-2 py-1 text-[10px] font-semibold text-error-on cursor-pointer"
132
+ >
133
+ Delete
134
+ </button>
135
+ <button
136
+ type="button"
137
+ onClick={() => setConfirmingId(null)}
138
+ className="rounded border border-ink/20 px-2 py-1 text-[10px] font-medium text-ink/70 cursor-pointer"
139
+ >
140
+ Cancel
141
+ </button>
142
+ </span>
143
+ ) : (
144
+ <span className="flex shrink-0 items-center gap-0.5">
145
+ <button
146
+ type="button"
147
+ aria-label={`Edit ${theme.name}`}
148
+ onClick={() => setEditing({ id: theme.id, draft: draftFromCustomTheme(theme) })}
149
+ className="rounded p-1 text-ink/60 hover:bg-ink/5 hover:text-ink cursor-pointer"
150
+ >
151
+ <Pencil size={12} />
152
+ </button>
153
+ <button
154
+ type="button"
155
+ aria-label={`Delete ${theme.name}`}
156
+ onClick={() => setConfirmingId(theme.id)}
157
+ className="rounded p-1 text-ink/60 hover:bg-error/10 hover:text-error-text cursor-pointer"
158
+ >
159
+ <Trash2 size={12} />
160
+ </button>
161
+ </span>
162
+ )}
163
+ </li>
164
+ );
165
+ })}
166
+ </ul>
167
+ )}
168
+
169
+ {editing && (
170
+ <CustomThemeEditor
171
+ key={editing.id ?? 'new'}
172
+ id={editing.id}
173
+ draft={editing.draft}
174
+ onSave={save}
175
+ onCancel={() => setEditing(null)}
176
+ />
177
+ )}
178
+ </section>
179
+ );
180
+ }
@@ -47,7 +47,7 @@ export function ThemeCard({ theme, selected, onSelect }: ThemeCardProps) {
47
47
  {theme.name}
48
48
  </span>
49
49
  <span className="shrink-0 rounded-full border border-ink/15 px-1.5 py-px text-[10px] font-semibold uppercase tracking-wider text-ink/50">
50
- {theme.variant}
50
+ {theme.family === 'custom' ? 'custom' : theme.variant}
51
51
  </span>
52
52
  {selected && <Check size={14} className="ml-auto shrink-0 text-ink" />}
53
53
  </div>
@@ -15,10 +15,11 @@
15
15
  import { useMemo, useState } from 'preact/hooks';
16
16
  import { Moon, Sun } from 'lucide-preact';
17
17
  import type { ThemePalette, ThemeVariant } from '@kabmo-labs/kabmo-app-contracts/theme';
18
- import { THEMES } from '@/shared/lib/theme/catalog';
19
18
  import { ThemeCard } from '@/client/components/settings/categories/appearance-settings/ThemeCard';
20
19
 
21
20
  interface ThemeGridProps {
21
+ /** Built-ins plus the user's saved palettes, already in display order. */
22
+ themes: readonly ThemePalette[];
22
23
  selectedId: string;
23
24
  onSelect: (id: string) => void;
24
25
  }
@@ -35,13 +36,13 @@ const FILTERS: ReadonlyArray<{ id: VariantFilter; label: string }> = [
35
36
  * Catalog order is already family-grouped (see `catalog.ts`), so filtering is a
36
37
  * plain pass — a second grouping step here would only risk disagreeing with it.
37
38
  */
38
- function filterThemes(filter: VariantFilter): readonly ThemePalette[] {
39
- return filter === 'all' ? THEMES : THEMES.filter((theme) => theme.variant === filter);
39
+ function filterThemes(themes: readonly ThemePalette[], filter: VariantFilter): readonly ThemePalette[] {
40
+ return filter === 'all' ? themes : themes.filter((theme) => theme.variant === filter);
40
41
  }
41
42
 
42
- export function ThemeGrid({ selectedId, onSelect }: ThemeGridProps) {
43
+ export function ThemeGrid({ themes: allThemes, selectedId, onSelect }: ThemeGridProps) {
43
44
  const [filter, setFilter] = useState<VariantFilter>('all');
44
- const themes = useMemo(() => filterThemes(filter), [filter]);
45
+ const themes = useMemo(() => filterThemes(allThemes, filter), [allThemes, filter]);
45
46
 
46
47
  return (
47
48
  // `@container` on the section: the grid's density is a fact about THIS
@@ -0,0 +1,106 @@
1
+ /**
2
+ * @license
3
+ * SPDX-License-Identifier: MIT
4
+ */
5
+
6
+ /**
7
+ * A live miniature of the console, painted from the palette being edited.
8
+ *
9
+ * The swatch strip shows eight colours; this shows the RELATIONSHIPS the shell
10
+ * derives from them: the AA text level, the solved signal words, the on-fill
11
+ * word and the code chip's fill. It calls the same functions the real CSS
12
+ * generator calls, so a colour that looks fine here is the colour the app will
13
+ * paint, not a second approximation.
14
+ *
15
+ * `role="img"` rather than readable text: the labels inside are sample copy, and
16
+ * a screen reader should hear "Theme preview", not a fake session.
17
+ */
18
+
19
+ import type { ThemePalette } from '@kabmo-labs/kabmo-app-contracts/theme';
20
+ import {
21
+ inkScale,
22
+ onSignalTextColor,
23
+ signalTextColor,
24
+ type SignalSlot,
25
+ } from '@/shared/lib/theme/ink-scale';
26
+
27
+ interface ThemePreviewProps {
28
+ palette: ThemePalette;
29
+ }
30
+
31
+ const CHIPS: ReadonlyArray<{ slot: SignalSlot; label: string }> = [
32
+ { slot: 'success', label: 'Ready' },
33
+ { slot: 'warning', label: 'Waiting' },
34
+ { slot: 'error', label: 'Failed' },
35
+ { slot: 'info', label: 'Info' },
36
+ { slot: 'meta', label: 'Renamed' },
37
+ ];
38
+
39
+ export function ThemePreview({ palette }: ThemePreviewProps) {
40
+ const scale = inkScale(palette);
41
+ const border = `color-mix(in srgb, ${palette.ink} 16%, ${palette.paper})`;
42
+ const muted = scale.muted;
43
+
44
+ return (
45
+ <div
46
+ role="img"
47
+ aria-label="Theme preview"
48
+ className="rounded-md border p-2"
49
+ style={{ backgroundColor: palette.canvas, borderColor: border }}
50
+ >
51
+ <div className="flex gap-2">
52
+ <div className="w-16 shrink-0 rounded border p-1.5" style={{ backgroundColor: palette.paper, borderColor: border }}>
53
+ <span className="block h-1.5 w-7 rounded-full" style={{ backgroundColor: palette.ink }} />
54
+ {[0.55, 0.42, 0.34].map((ratio) => (
55
+ <span
56
+ key={ratio}
57
+ className="mt-1 block h-1 rounded-full"
58
+ style={{ backgroundColor: `color-mix(in srgb, ${palette.ink} ${ratio * 100}%, ${palette.paper})` }}
59
+ />
60
+ ))}
61
+ </div>
62
+
63
+ <div className="min-w-0 flex-1 rounded border p-2" style={{ backgroundColor: palette.paper, borderColor: border }}>
64
+ <span className="block text-[10px] font-semibold" style={{ color: palette.ink }}>
65
+ Session title
66
+ </span>
67
+ <span className="mt-0.5 block text-[9px]" style={{ color: muted }}>
68
+ Secondary text at the solved AA level
69
+ </span>
70
+ <div className="mt-1.5 flex flex-wrap gap-1">
71
+ {CHIPS.map((chip) => (
72
+ <span
73
+ key={chip.slot}
74
+ className="rounded px-1 py-px text-[8px] font-semibold"
75
+ style={{
76
+ backgroundColor: `color-mix(in srgb, ${palette[chip.slot]} 14%, ${palette.paper})`,
77
+ color: signalTextColor(palette, chip.slot),
78
+ }}
79
+ >
80
+ {chip.label}
81
+ </span>
82
+ ))}
83
+ </div>
84
+ <div className="mt-1.5 flex gap-1">
85
+ <span className="rounded px-1.5 py-0.5 text-[8px] font-semibold" style={{ backgroundColor: palette.ink, color: palette.paper }}>
86
+ Send
87
+ </span>
88
+ <span
89
+ className="rounded px-1.5 py-0.5 text-[8px] font-semibold"
90
+ style={{ backgroundColor: palette.error, color: onSignalTextColor(palette, 'error') }}
91
+ >
92
+ Delete
93
+ </span>
94
+ </div>
95
+ </div>
96
+ </div>
97
+
98
+ <div
99
+ className="mt-1.5 truncate rounded px-1.5 py-1 font-mono text-[9px]"
100
+ style={{ backgroundColor: scale.codeFill, color: palette.ink }}
101
+ >
102
+ inline code
103
+ </div>
104
+ </div>
105
+ );
106
+ }
@@ -6,16 +6,17 @@
6
6
  /**
7
7
  * Settings → Appearance → Palette.
8
8
  *
9
- * The app palette, and nothing else: the grid is 42 cards with its own light /
10
- * dark filter, so this file is the section heading around it. It exists as a
9
+ * The app palette: the built-in grid plus the user's saved palettes, with the
10
+ * custom editor below it. It exists as a
11
11
  * section rather than inline markup because every other group's sections are
12
12
  * components with a heading, and a first group that was the odd one out would
13
13
  * be the file that has to change when the next section is added.
14
14
  */
15
15
 
16
16
  import type { SettingsState } from '@/shared/types';
17
- import { resolveThemeId } from '@/shared/lib/theme/catalog';
17
+ import { THEMES, resolveThemeId } from '@/shared/lib/theme/catalog';
18
18
  import { ThemeGrid } from '@/client/components/settings/categories/appearance-settings/ThemeGrid';
19
+ import { CustomThemeSection } from '@/client/components/settings/categories/appearance-settings/CustomThemeSection';
19
20
 
20
21
  interface ThemeSectionProps {
21
22
  settings: SettingsState;
@@ -34,9 +35,12 @@ export function ThemeSection({ settings, onUpdate }: ThemeSectionProps) {
34
35
  </div>
35
36
 
36
37
  <ThemeGrid
38
+ themes={[...settings.customThemes, ...THEMES]}
37
39
  selectedId={settings.theme}
38
40
  onSelect={(theme) => onUpdate({ theme: resolveThemeId(theme) })}
39
41
  />
42
+
43
+ <CustomThemeSection settings={settings} onUpdate={onUpdate} />
40
44
  </section>
41
45
  );
42
46
  }
@@ -170,7 +170,7 @@ export const BehaviorEditor: FunctionComponent<BehaviorEditorProps> = ({
170
170
 
171
171
  {/* Persist Feedback */}
172
172
  {(error || note) && (
173
- <div className={`pt-3 text-xs font-mono break-words ${error ? 'text-error' : 'text-ink/60'}`}>
173
+ <div className={`pt-3 text-xs font-mono break-words ${error ? 'text-error-text' : 'text-ink/60'}`}>
174
174
  {error ?? note}
175
175
  </div>
176
176
  )}
@@ -79,7 +79,7 @@ function ModePreview({ mode }: { mode: ToolRenderMode }) {
79
79
  <div aria-hidden className="space-y-1 px-1 py-1">
80
80
  {[0, 1].map((row) => (
81
81
  <div key={row} className="flex items-baseline gap-1">
82
- <span className="text-[6px] text-success">✔</span>
82
+ <span className="text-[6px] text-success-text">✔</span>
83
83
  <span className="h-1 w-3 rounded-full bg-info/70" />
84
84
  <span className="h-1 w-6 rounded-full bg-meta/70" />
85
85
  <span className="ml-auto h-1 w-2 rounded-full bg-ink/25" />
@@ -273,10 +273,10 @@ export const CommandDetailPane: FunctionComponent<CommandDetailPaneProps> = ({
273
273
  </div>
274
274
 
275
275
  {feedback.error && (
276
- <div className="flex items-start gap-1.5 rounded-lg border border-error/30 bg-error/5 px-3 py-2 text-[11px] text-error">
276
+ <div className="flex items-start gap-1.5 rounded-lg border border-error/30 bg-error/5 px-3 py-2 text-[11px] text-error-text">
277
277
  <AlertCircle className="mt-px h-3.5 w-3.5 flex-shrink-0" />
278
278
  <span className="flex-1 break-words">{feedback.error}</span>
279
- <button type="button" onClick={feedback.dismissError} className="cursor-pointer text-error/60 hover:text-error" aria-label="Dismiss error">
279
+ <button type="button" onClick={feedback.dismissError} className="cursor-pointer text-error-text hover:text-error-text" aria-label="Dismiss error">
280
280
  ×
281
281
  </button>
282
282
  </div>
@@ -293,7 +293,7 @@ export const CommandDetailPane: FunctionComponent<CommandDetailPaneProps> = ({
293
293
  type="button"
294
294
  onClick={handleDelete}
295
295
  disabled={feedback.saving}
296
- className="px-2.5 py-1 rounded-lg border border-error/40 text-error text-xs font-medium hover:bg-error/10 transition-colors cursor-pointer disabled:opacity-50"
296
+ className="px-2.5 py-1 rounded-lg border border-error/40 text-error-text text-xs font-medium hover:bg-error/10 transition-colors cursor-pointer disabled:opacity-50"
297
297
  >
298
298
  Delete
299
299
  </button>
@@ -309,7 +309,7 @@ export const CommandDetailPane: FunctionComponent<CommandDetailPaneProps> = ({
309
309
  <button
310
310
  type="button"
311
311
  onClick={() => setConfirmDelete(true)}
312
- className="flex items-center gap-1.5 px-3.5 py-2 rounded-lg border border-ink/20 hover:border-error hover:text-error text-ink/70 text-xs font-medium transition-colors cursor-pointer"
312
+ className="flex items-center gap-1.5 px-3.5 py-2 rounded-lg border border-ink/20 hover:border-error hover:text-error-text text-ink/70 text-xs font-medium transition-colors cursor-pointer"
313
313
  >
314
314
  <Trash2 className="w-3.5 h-3.5" />
315
315
  Delete Command
@@ -124,7 +124,7 @@ export function ExternalSection({
124
124
  className={INPUT_CLASS}
125
125
  />
126
126
  </label>
127
- {baseUrlError && <p className="text-[11px] text-error">{baseUrlError}</p>}
127
+ {baseUrlError && <p className="text-[11px] text-error-text">{baseUrlError}</p>}
128
128
  </div>
129
129
  )}
130
130
 
@@ -265,7 +265,7 @@ export function CommitMessageSection({ settings, onUpdate }: CommitMessageSectio
265
265
  />
266
266
 
267
267
  {!promptValidation.ok && (
268
- <p className="text-[10px] text-error">{promptValidation.error}</p>
268
+ <p className="text-[10px] text-error-text">{promptValidation.error}</p>
269
269
  )}
270
270
 
271
271
  <div className="flex flex-wrap items-center justify-between gap-2">
@@ -160,7 +160,7 @@ export function IdentitySection({ settings, onUpdate }: IdentitySectionProps) {
160
160
  type="button"
161
161
  onClick={() => void remove(identity.id)}
162
162
  aria-label={`Remove ${identity.name}`}
163
- className="p-1.5 rounded text-ink/40 hover:text-error hover:bg-ink/5 transition-colors cursor-pointer"
163
+ className="p-1.5 rounded text-ink/40 hover:text-error-text hover:bg-ink/5 transition-colors cursor-pointer"
164
164
  >
165
165
  <Trash2 size={12} />
166
166
  </button>
@@ -170,7 +170,7 @@ export function IdentitySection({ settings, onUpdate }: IdentitySectionProps) {
170
170
  </details>
171
171
  )}
172
172
 
173
- {error && <p className="text-[10px] text-error">{error}</p>}
173
+ {error && <p className="text-[10px] text-error-text">{error}</p>}
174
174
 
175
175
  <div className="rounded-lg border border-ink/15 bg-paper p-3.5 space-y-3">
176
176
  <div className="grid grid-cols-1 sm:grid-cols-2 gap-2">
@@ -149,7 +149,7 @@ export function AccountLoginPanel({ accountId, onFinished, onClose }: AccountLog
149
149
  href={view.url}
150
150
  target="_blank"
151
151
  rel="noreferrer"
152
- className="min-w-0 flex-1 break-all font-mono text-[10px] leading-relaxed text-info underline underline-offset-2"
152
+ className="min-w-0 flex-1 break-all font-mono text-[10px] leading-relaxed text-info-text underline underline-offset-2"
153
153
  >
154
154
  {view.url}
155
155
  </a>
@@ -206,7 +206,7 @@ export function AccountLoginPanel({ accountId, onFinished, onClose }: AccountLog
206
206
  )}
207
207
 
208
208
  {view?.phase === 'error' && (
209
- <div className="flex flex-wrap items-center justify-between gap-2 rounded border border-error/30 bg-error/5 px-2 py-1.5 text-[10px] text-error">
209
+ <div className="flex flex-wrap items-center justify-between gap-2 rounded border border-error/30 bg-error/5 px-2 py-1.5 text-[10px] text-error-text">
210
210
  <span>{view.error ?? 'The sign-in command failed.'}</span>
211
211
  <button
212
212
  type="button"
@@ -217,7 +217,7 @@ export function AccountLoginPanel({ accountId, onFinished, onClose }: AccountLog
217
217
  </button>
218
218
  </div>
219
219
  )}
220
- {problem && <p className="text-[10px] text-error">{problem}</p>}
220
+ {problem && <p className="text-[10px] text-error-text">{problem}</p>}
221
221
  </div>
222
222
  </div>
223
223
  );