@kabmo-labs/kabmo 0.57.0 → 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 (525) 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-t84xmbk9.js → CsvGrid-j03knmbe.js} +2 -2
  5. package/dist/client/static/js/{DocxView-4jda3szm.js → DocxView-e8408vzs.js} +2 -2
  6. package/dist/client/static/js/{DrawioView-9qvvtnvt.js → DrawioView-fj4mfzch.js} +2 -2
  7. package/dist/client/static/js/{HtmlPreview-4pba1ys5.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-sny55sne.js → PdfView-8jtdx5hd.js} +1 -1
  13. package/dist/client/static/js/SessionsView-jwp8xvw5.js +1 -0
  14. package/dist/client/static/js/{SheetView-ezqak2b4.js → SheetView-hwx8s864.js} +11 -11
  15. package/dist/client/static/js/{SvgPreview-q1cvdf4s.js → SvgPreview-ete36nzv.js} +1 -1
  16. package/dist/client/static/js/{abnfDiagram-O67JEVCF-ftm2qwa3.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-j8kqfzmf.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-m3zpsp9h.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-myshvbrx.js → c4Diagram-YGBWAQC7-ktpqnb4a.js} +2 -2
  24. package/dist/client/static/js/{classDiagram-v2-NBCMYWYE-s0cwmsj4.js → classDiagram-v2-NBCMYWYE-x67cz3ms.js} +5 -5
  25. package/dist/client/static/js/{cose-bilkent-JH36ORCC-t5t02sfr.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-6yxd72sh.js → cynefinDiagram-VND7K2PF-dmmgmv99.js} +2 -2
  30. package/dist/client/static/js/{dagre-6A5THRUB-vft5103m.js → dagre-6A5THRUB-ygkkms1t.js} +2 -2
  31. package/dist/client/static/js/{diagram-22UHCM2B-yy2jfvxt.js → diagram-22UHCM2B-qxj0pqb4.js} +14 -14
  32. package/dist/client/static/js/{diagram-3UASUU5V-1xqhzq20.js → diagram-3UASUU5V-77k8w5dt.js} +1 -1
  33. package/dist/client/static/js/{diagram-ATOU4E4O-f11cxgvm.js → diagram-ATOU4E4O-m0h86vf4.js} +3 -3
  34. package/dist/client/static/js/{diagram-CDSNMT55-gqmkfcp7.js → diagram-CDSNMT55-5v28kaeg.js} +5 -5
  35. package/dist/client/static/js/{diagram-MLGK6HIB-1fg7304a.js → diagram-MLGK6HIB-zgcg9gaz.js} +2 -2
  36. package/dist/client/static/js/{diagram-MPIPVDR6-mem80369.js → diagram-MPIPVDR6-10c9s6e6.js} +2 -2
  37. package/dist/client/static/js/{dockerfile-jarjwxp9.js → dockerfile-dr9sdsqp.js} +1 -1
  38. package/dist/client/static/js/{ebnfDiagram-ZINNZB2B-4rcbvfrj.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-ykd0stxz.js → elk-276RUBZZ-ccerbsag.js} +1 -1
  41. package/dist/client/static/js/{erDiagram-OPXOYQCR-b2th9bk4.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-64p5r7cx.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-z3yc333r.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-w659dhe5.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-h4qmywn5.js → index-6ac860yz.js} +2 -2
  57. package/dist/client/static/js/{index-77wznmg5.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-dxx49b9m.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-mdmtxh1c.js → index-dz18nn65.js} +2 -2
  68. package/dist/client/static/js/{index-5m0se6fk.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-t415df0c.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-hmjb96kb.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-3x3nhs8n.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-q9gbwqbe.js → index-nzq51nbb.js} +7 -7
  85. package/dist/client/static/js/{index-c2vc6znd.js → index-q5q8a3qn.js} +2 -2
  86. package/dist/client/static/js/{index-g71wn1pr.js → index-qbqm3c91.js} +5 -5
  87. package/dist/client/static/js/{index-sw370sk7.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-6m5n8b6w.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-k57bandz.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-ebnd5hnr.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-n71ffk62.js → index-vb5a3g01.js} +4 -4
  102. package/dist/client/static/js/{index-bwwgtesb.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-wgcgshdh.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-2gf593e3.js → index-x7h04xzf.js} +2 -2
  107. package/dist/client/static/js/{index-kbaffwp1.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-59xq3n1b.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-v18q4qt7.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-etazj0p8.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-ph15e5p2.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-7ygd161b.js → mermaid.core-bs542jma.js} +8 -8
  124. package/dist/client/static/js/{mindmap-definition-NLK3R4M7-j5xsftrf.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-09nvb70v.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-6ymh1960.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-hk61avw2.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-3jvqrfnb.js → railroadDiagram-XR7U4H2S-c3habpvw.js} +1 -1
  143. package/dist/client/static/js/{requirementDiagram-PLB6GJNP-zthfj48k.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-q7n7q6dy.js → rust-m4f4vpvn.js} +1 -1
  146. package/dist/client/static/js/{sankeyDiagram-IPEJSGJF-nh5d6xte.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-crej9b40.js → sequenceDiagram-PO4LG4MO-bb3yp049.js} +21 -21
  149. package/dist/client/static/js/{sizeCapture-INFHLROL-nvvxw58j.js → sizeCapture-INFHLROL-0m2msee7.js} +1 -1
  150. package/dist/client/static/js/{stateDiagram-v2-GCMORJYK-e6tztjnj.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-xhdqjqmf.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-9cve31zc.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-asycstwe.js → usecaseDiagram-POWQR4AR-dhf4d5xg.js} +41 -41
  160. package/dist/client/static/js/{vennDiagram-UO4OBE2U-gbzk6era.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-1swwfszr.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-v7qkwv0b.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/card-header.ts +10 -8
  356. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/status-glyph.tsx +3 -3
  357. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/toggle-label.test.ts +37 -0
  358. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/toggle-label.ts +17 -1
  359. package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Tui.test.tsx +50 -21
  360. package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Tui.tsx +21 -17
  361. package/src/client/components/workspace/context-panel/RawJsonViewer.tsx +2 -2
  362. package/src/client/components/workspace/diff-panel/ConflictBanner.tsx +3 -3
  363. package/src/client/components/workspace/diff-panel/Toolbar.tsx +3 -3
  364. package/src/client/components/workspace/diff-panel/index.tsx +3 -3
  365. package/src/client/components/workspace/diff-panel/toolbar-git-actions.tsx +1 -1
  366. package/src/client/components/workspace/editor/ConflictStrip.tsx +2 -2
  367. package/src/client/components/workspace/editor/ExternalChangeStrip.tsx +2 -2
  368. package/src/client/components/workspace/editor/FilePane.tsx +6 -6
  369. package/src/client/components/workspace/editor/FindWidget.tsx +2 -2
  370. package/src/client/components/workspace/editor/GoToLineModal.tsx +1 -1
  371. package/src/client/components/workspace/editor/SaveAsModal.tsx +3 -3
  372. package/src/client/components/workspace/editor/SaveDeletedFileModal.tsx +2 -2
  373. package/src/client/components/workspace/editor/StatusBar.tsx +1 -1
  374. package/src/client/components/workspace/editor/Tabs.test.ts +3 -3
  375. package/src/client/components/workspace/editor/Tabs.tsx +6 -6
  376. package/src/client/components/workspace/editor/Toolbar.tsx +4 -4
  377. package/src/client/components/workspace/editor/toolbar-clusters.tsx +1 -1
  378. package/src/client/components/workspace/editor/viewers/DataGrid.tsx +1 -1
  379. package/src/client/components/workspace/editor/viewers/GridToolbar.tsx +2 -2
  380. package/src/client/components/workspace/editor/viewers/SheetView.tsx +2 -2
  381. package/src/client/components/workspace/editor/viewers/ViewerError.tsx +2 -2
  382. package/src/client/components/workspace/file-explorer/ArchiveModals.tsx +1 -1
  383. package/src/client/components/workspace/file-explorer/ContextMenu.tsx +3 -3
  384. package/src/client/components/workspace/file-explorer/Modals.tsx +3 -3
  385. package/src/client/components/workspace/file-explorer/RowLabel.test.tsx +2 -2
  386. package/src/client/components/workspace/git-panel/BranchToolbar.tsx +2 -2
  387. package/src/client/components/workspace/git-panel/ChangesList.tsx +3 -3
  388. package/src/client/components/workspace/git-panel/ConflictItem.tsx +3 -3
  389. package/src/client/components/workspace/git-panel/FileItem.tsx +1 -1
  390. package/src/client/components/workspace/git-panel/Modals.tsx +1 -1
  391. package/src/client/components/workspace/git-panel/OperationBar.tsx +4 -4
  392. package/src/client/components/workspace/git-panel/StashSection.tsx +1 -1
  393. package/src/client/components/workspace/git-panel/TreeItem.tsx +2 -2
  394. package/src/client/components/workspace/git-panel/branch-modal/BranchRow.tsx +2 -2
  395. package/src/client/components/workspace/git-panel/branch-modal/DeleteDialog.tsx +2 -2
  396. package/src/client/components/workspace/git-panel/branch-modal/index.tsx +2 -2
  397. package/src/client/components/workspace/model-dropdown/HarnessTabs.tsx +31 -76
  398. package/src/client/components/workspace/model-dropdown/Item.tsx +2 -2
  399. package/src/client/components/workspace/model-dropdown/Panel.tsx +15 -9
  400. package/src/client/components/workspace/model-dropdown/Section.tsx +1 -1
  401. package/src/client/components/workspace/model-dropdown/harness-tabs.test.tsx +12 -83
  402. package/src/client/components/workspace/model-dropdown/index.tsx +2 -2
  403. package/src/client/components/workspace/model-dropdown/picker-close.test.tsx +16 -2
  404. package/src/client/components/workspace/plan-panel/PageView.tsx +2 -2
  405. package/src/client/components/workspace/plan-panel/index.tsx +2 -2
  406. package/src/client/components/workspace/plugin-panel/Error.tsx +1 -1
  407. package/src/client/components/workspace/repo-picker/Modal.tsx +3 -3
  408. package/src/client/components/workspace/repo-picker/Row.tsx +5 -5
  409. package/src/client/components/workspace/search-panel/Body.tsx +2 -2
  410. package/src/client/components/workspace/terminal-panel/Header.tsx +3 -3
  411. package/src/client/components/workspace/terminal-panel/KeyBar.tsx +2 -2
  412. package/src/client/components/workspace/terminal-panel/QuickActions.tsx +1 -1
  413. package/src/client/components/workspace/terminal-panel/RealtimeTerminalView.tsx +1 -1
  414. package/src/client/components/workspace/terminal-panel/index.tsx +1 -1
  415. package/src/client/components/workspace/usage-panel/index.tsx +3 -3
  416. package/src/client/components/workspace/user-browser-panel/AddressBar.tsx +1 -1
  417. package/src/client/components/workspace/wiki-panel/PageView.tsx +2 -2
  418. package/src/client/components/workspace/wiki-panel/index.tsx +2 -2
  419. package/src/client/components/workspace/worktree-modal/index.tsx +1 -1
  420. package/src/client/data/settings/omp-schema.json +27 -7
  421. package/src/client/hooks/chat/timeline/session-harness.ts +2 -1
  422. package/src/client/hooks/editor/use-unload-guard.tsx +2 -2
  423. package/src/client/hooks/models/use-harness-accounts-panel.ts +142 -0
  424. package/src/client/hooks/ui/border-style.test.ts +1 -2
  425. package/src/client/hooks/ui/theme.ts +23 -2
  426. package/src/client/main.tsx +7 -1
  427. package/src/client/tailwind-contrast.test.ts +22 -7
  428. package/src/client/tailwind.css +115 -18
  429. package/src/server/lib/assets/theme-css.server.test.ts +31 -1
  430. package/src/server/lib/assets/theme-css.server.ts +15 -1
  431. package/src/server/lib/dictation/capability.server.test.ts +9 -6
  432. package/src/server/lib/dictation/worker-process.ts +9 -2
  433. package/src/server/lib/harness/accounts.test.ts +5 -3
  434. package/src/server/lib/harness/acp/acp-todos.test.ts +23 -0
  435. package/src/server/lib/omp/session/delete.server.ts +4 -0
  436. package/src/server/lib/realtime/topics/session-data.server.ts +63 -1
  437. package/src/server/lib/realtime/topics/session-data.test.ts +154 -0
  438. package/src/server/lib/tray/runtime.server.ts +5 -0
  439. package/src/server/plugins/ssr.ts +16 -4
  440. package/src/server/routes/settings/root.ts +11 -0
  441. package/src/server/routes/settings/settings-store-routes.test.ts +37 -0
  442. package/src/shared/lib/chat/timeline/block-chrome.ts +2 -2
  443. package/src/shared/lib/chat/todo/flat-list.test.ts +81 -0
  444. package/src/shared/lib/chat/todo/flat-list.ts +29 -0
  445. package/src/shared/lib/chat/todo/parser.ts +7 -53
  446. package/src/shared/lib/chat/todo/progress.test.ts +3 -3
  447. package/src/shared/lib/chat/todo/progress.ts +3 -3
  448. package/src/shared/lib/fs/git-status.test.ts +22 -22
  449. package/src/shared/lib/fs/git-status.ts +31 -31
  450. package/src/shared/lib/icons/icon-paint-authority.ts +5 -4
  451. package/src/shared/lib/omp/config/schema-releases-19-4.test.ts +20 -3
  452. package/src/shared/lib/settings/defaults.ts +1 -0
  453. package/src/shared/lib/theme/catalog.test.ts +42 -0
  454. package/src/shared/lib/theme/catalog.ts +66 -11
  455. package/src/shared/lib/theme/css.ts +25 -1
  456. package/src/shared/lib/theme/custom.test.ts +156 -0
  457. package/src/shared/lib/theme/custom.ts +260 -0
  458. package/src/shared/lib/theme/ink-scale.test.ts +83 -2
  459. package/src/shared/lib/theme/ink-scale.ts +74 -9
  460. package/src/shared/lib/theme/shell-palette.ts +3 -3
  461. package/src/shared/lib/theme/theme.test.ts +28 -13
  462. package/src/shared/types/settings/state.ts +11 -3
  463. package/tsconfig.json +6 -0
  464. package/dist/client/static/js/Body-k96gtstv.js +0 -3
  465. package/dist/client/static/js/ImageView-0gf5xdsv.js +0 -1
  466. package/dist/client/static/js/LayoutWrapper-pwbq5syv.js +0 -2
  467. package/dist/client/static/js/MergeDiffView-m4jkr786.js +0 -1
  468. package/dist/client/static/js/Modal-yjszc3vy.js +0 -60
  469. package/dist/client/static/js/SessionsView-q3800n83.js +0 -1
  470. package/dist/client/static/js/architecture-7GRP2DOG-3hkq8grc.js +0 -1
  471. package/dist/client/static/js/bash-n7wcmq3s.js +0 -1
  472. package/dist/client/static/js/c-20y64hcp.js +0 -1
  473. package/dist/client/static/js/cpp-ty6n0dg9.js +0 -1
  474. package/dist/client/static/js/css-ncvxaxt0.js +0 -1
  475. package/dist/client/static/js/cynefin-OW5HDTMX-9m18e6m5.js +0 -1
  476. package/dist/client/static/js/eventmodeling-NTZA5JFV-d4egnv9v.js +0 -1
  477. package/dist/client/static/js/flowDiagram-KWPJA3E3-f3bdtc1z.js +0 -1
  478. package/dist/client/static/js/gitGraph-4MIJSDKK-grqv890n.js +0 -1
  479. package/dist/client/static/js/graphql-6rwdfcnf.js +0 -1
  480. package/dist/client/static/js/html-p76eszt9.js +0 -1
  481. package/dist/client/static/js/index-1mm7kyjd.js +0 -1
  482. package/dist/client/static/js/index-3w18s59k.js +0 -9
  483. package/dist/client/static/js/index-ep353yxd.js +0 -2
  484. package/dist/client/static/js/index-ewtv8gg7.js +0 -1
  485. package/dist/client/static/js/index-gr07t5c4.js +0 -2
  486. package/dist/client/static/js/index-jd2h5tvh.js +0 -2
  487. package/dist/client/static/js/index-k6wms0kx.js +0 -1
  488. package/dist/client/static/js/index-k9v6477a.js +0 -1
  489. package/dist/client/static/js/index-mv83hpva.js +0 -1
  490. package/dist/client/static/js/index-nr5gwny1.js +0 -470
  491. package/dist/client/static/js/index-rqpbva78.js +0 -2
  492. package/dist/client/static/js/index-taz2nfym.css +0 -1
  493. package/dist/client/static/js/index-x6945djv.js +0 -1
  494. package/dist/client/static/js/index-y5mf2w81.js +0 -1
  495. package/dist/client/static/js/index-y69cbdvd.js +0 -2
  496. package/dist/client/static/js/index-y6qtx68e.js +0 -1
  497. package/dist/client/static/js/index-yktwxghr.js +0 -2
  498. package/dist/client/static/js/index-zj65csnm.js +0 -4
  499. package/dist/client/static/js/info-A6RAGUB7-rzpg7qk1.js +0 -1
  500. package/dist/client/static/js/ini-kjcpgebh.js +0 -1
  501. package/dist/client/static/js/java-0bcyv1jt.js +0 -1
  502. package/dist/client/static/js/json-xha2drny.js +0 -1
  503. package/dist/client/static/js/jsx-8p6dqgpq.js +0 -1
  504. package/dist/client/static/js/lua-njwwdj4s.js +0 -1
  505. package/dist/client/static/js/markdown-8gbyxxjd.js +0 -1
  506. package/dist/client/static/js/one-dark-pro-4s2rr12v.js +0 -1
  507. package/dist/client/static/js/one-light-3bkk59ww.js +0 -1
  508. package/dist/client/static/js/packet-AYTQ26CC-eac14hsq.js +0 -1
  509. package/dist/client/static/js/pie-WAS4IAKB-a9xqvysf.js +0 -1
  510. package/dist/client/static/js/properties-d5bwhgwz.js +0 -1
  511. package/dist/client/static/js/python-fdwwjjhh.js +0 -1
  512. package/dist/client/static/js/r-4d2ygtfj.js +0 -1
  513. package/dist/client/static/js/radar-RG4KPBEZ-jv2pm0fe.js +0 -1
  514. package/dist/client/static/js/railroad-74A4TZTK-j74sc0b6.js +0 -1
  515. package/dist/client/static/js/railroad-abnf-HS5TGJTU-eaf19baz.js +0 -1
  516. package/dist/client/static/js/railroad-ebnf-LZEXJU2U-d4j5nq31.js +0 -1
  517. package/dist/client/static/js/railroad-peg-WCYAUIDC-ba862a9p.js +0 -1
  518. package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-hbwg3m3k.js +0 -8
  519. package/dist/client/static/js/treeView-Q6P3EWNA-e8yb44pd.js +0 -1
  520. package/dist/client/static/js/treemap-WGGIJYW6-zvdv84vp.js +0 -1
  521. package/dist/client/static/js/tsx-dk8rpgtw.js +0 -1
  522. package/dist/client/static/js/typescript-5txwpd9t.js +0 -1
  523. package/dist/client/static/js/wardley-WFR3VGLG-hbv0cg4s.js +0 -1
  524. package/dist/client/static/js/xml-8516fzfp.js +0 -1
  525. package/dist/client/static/js/yaml-6k1tmwtm.js +0 -1
@@ -11,15 +11,16 @@
11
11
  * LIST IS, which is what a tab means. `Header.tsx` sits under it because the
12
12
  * search field then applies to whichever list the tab selected.
13
13
  *
14
- * Four rules the markup encodes:
14
+ * The strip only exists while the chat is still choosing its harness: `Panel`
15
+ * draws none once a transcript (or a fork) owns the agent, so no tab has to
16
+ * explain a switch it cannot make.
17
+ *
18
+ * Three rules the markup encodes:
15
19
  *
16
20
  * - a harness that cannot run here is DISABLED, never hidden — hiding is what
17
21
  * makes "why is Claude not there" unanswerable;
18
22
  * - the reason is the agent's own words, in `title`, so the hover explains
19
23
  * `mcode login` or `executable not found (command: pi)`;
20
- * - the active tab is read-only for a live chat. Harness is a SPAWN property,
21
- * so switching it must start a new session — the row says so instead of
22
- * silently changing the frame source under a running transcript;
23
24
  * - a tab is the MARK ONLY. Three to five tabs share one strip, and their names
24
25
  * (`claude`, `deepseek-harness`, `omp (ACP)`) are longer than the marks they
25
26
  * sit beside, so the strip spent its width on words for the same agent the
@@ -30,16 +31,12 @@
30
31
 
31
32
  import type { ComponentChildren } from 'preact';
32
33
  import { HarnessGlyph, HARNESS_GLYPH_SIZE } from '@/client/components/common/harness-glyph';
33
- import { harnessBadgeLabel } from '@kabmo-labs/kabmo-harness/catalog';
34
34
  import type { HarnessSummary } from '@kabmo-labs/kabmo-app-contracts/harness';
35
35
 
36
36
  interface HarnessTabsProps {
37
37
  harnesses: HarnessSummary[];
38
- /** The session's harness, or null for a chat that has not spawned yet. */
38
+ /** The harness picked for the chat that has not spawned yet, or null. */
39
39
  active: string | null;
40
- /** False while a chat has messages: the choice would change the transcript's
41
- * owner, which no frame source can do retroactively. */
42
- editable: boolean;
43
40
  onSelect: (harness: string) => void;
44
41
  /** Opens the settings page for a harness that needs install or login. */
45
42
  onFix?: (harness: string) => void;
@@ -90,10 +87,6 @@ export function harnessBlockedReason(summary: HarnessSummary): string | null {
90
87
  export interface HarnessTabState {
91
88
  /** What stops the harness running here, or null. */
92
89
  block: HarnessBlock | null;
93
- /** False once the chat owns a transcript: the harness is a SPAWN property. */
94
- editable: boolean;
95
- /** The harness the open chat is (or will be) running on. */
96
- active: string | null;
97
90
  }
98
91
 
99
92
  /**
@@ -101,38 +94,19 @@ export interface HarnessTabState {
101
94
  *
102
95
  * A reason, not a restatement of the name: the mark IS the name now, so a
103
96
  * tooltip that only echoed the label would spend the one available sentence
104
- * answering a question the icon already answered. Four cases, in this order —
105
- * and the order is the contract, because a tab can be both unusable and the
106
- * agent already running the chat, and the FIRST fact is the one that stops the
107
- * press:
97
+ * answering a question the icon already answered. Three cases, in this order:
108
98
  *
109
99
  * 1. **cannot run here** → the agent's own words (`Authentication required:
110
100
  * Run \`codex login\``), plus an install command ONLY when the binary never
111
101
  * launched (see `HarnessBlock.fix`);
112
- * 2. **the chat is already owned by an agent** → name the agent it started on.
113
- * "Start a new chat to use claude" was measured to be answerable but not
114
- * informative: it never said WHICH agent the open chat had already picked,
115
- * so the user could not tell whether they were looking at a lock or at a
116
- * mistake of their own;
117
- * 3. the tab IS that agent → say so, instead of offering it as an alternative
118
- * to itself;
119
- * 4. otherwise the probe's identity (`claude · 2.0.1`), which is the question a
120
- * pointer rests on an available tab to ask.
102
+ * 2. otherwise the probe's identity (`claude · 2.0.1`), which is the question
103
+ * a pointer rests on an available tab to ask;
104
+ * 3. no probe yet → the label, never a fabricated build string.
121
105
  */
122
106
  export function harnessTabTitle(summary: HarnessSummary, state: HarnessTabState): string {
123
107
  if (state.block) {
124
108
  return `${summary.label}: ${state.block.reason}${state.block.fix ? ` — install: ${state.block.fix}` : ''}`;
125
109
  }
126
- if (!state.editable) {
127
- const owner = state.active ? harnessBadgeLabel(state.active) : null;
128
- if (summary.id === state.active) {
129
- return `${summary.label} is the agent this chat already started on. Start a new chat to use another one.`;
130
- }
131
- if (owner) {
132
- return `Cannot switch to ${summary.label}: this chat already started on ${owner}. Start a new chat to use ${summary.label}.`;
133
- }
134
- return `Start a new chat to use ${summary.label}`;
135
- }
136
110
  if (summary.probe) {
137
111
  const build = `${summary.probe.capabilities.agentName ?? ''} ${summary.probe.capabilities.agentVersion ?? ''}`.trim();
138
112
  if (build) return `${summary.label} · ${build}`;
@@ -148,40 +122,27 @@ export function harnessTabTitle(summary: HarnessSummary, state: HarnessTabState)
148
122
  * its accessible name, and repeating it makes a screen reader say "claude,
149
123
  * claude, tab".
150
124
  */
151
- export function harnessTabReason(summary: HarnessSummary, state: HarnessTabState, title: string): string | null {
152
- if (state.block || !state.editable) return title;
125
+ export function harnessTabReason(summary: HarnessSummary, title: string): string | null {
153
126
  return title === summary.label ? null : title;
154
127
  }
155
128
 
156
129
  /**
157
130
  * The tone a tab paints: which one is current, and what a press would do.
158
131
  *
159
- * Three cursor states, each earned:
160
- *
161
- * - **blocked → `pointer`** — pressing opens THAT agent's settings page, which
162
- * is where a login or an install is fixed.
163
- * - **locked → `not-allowed`** — the chat already runs on another agent, so a
164
- * press cannot switch anything. This is the state a user meets most often
165
- * (every tab but one, once a chat has a transcript), and the prohibition sign
166
- * is the only affordance that says "not here" before the click.
167
- * - **selectable → `pointer`** — it really does select.
168
- *
169
- * The ACTIVE tab of a locked chat keeps `default`: it is the current selection,
170
- * not a refused one. `cursor-help` (an earlier value) is drawn on macOS as a
171
- * question mark, which read as a stray icon over an icon-only tab.
132
+ * A press always does something, so every state keeps the pointer cursor:
133
+ * a blocked tab opens THAT agent's settings page (where a login or an install
134
+ * is fixed), the current one is already selected, and the rest switch the pick.
135
+ * `cursor-help` (an earlier value) is drawn on macOS as a question mark, which
136
+ * read as a stray icon over an icon-only tab.
172
137
  */
173
- function tabTone(isActive: boolean, blocked: boolean, editable: boolean): string {
174
- const cursor = blocked
175
- ? 'cursor-pointer'
176
- : !editable
177
- ? isActive ? 'cursor-default' : 'cursor-not-allowed'
178
- : 'cursor-pointer';
179
- if (isActive) return `bg-paper text-ink shadow-[inset_0_-2px_0_0_currentColor] ${cursor}`;
180
- if (blocked || !editable) return `text-ink/35 ${cursor}`;
181
- return `text-ink/65 hover:bg-ink/5 hover:text-ink ${cursor}`;
138
+ function tabTone(isActive: boolean, blocked: boolean): string {
139
+ if (isActive) return 'bg-paper text-ink shadow-[inset_0_-2px_0_0_currentColor] cursor-pointer';
140
+ return blocked
141
+ ? 'text-ink/35 cursor-pointer'
142
+ : 'text-ink/65 hover:bg-ink/5 hover:text-ink cursor-pointer';
182
143
  }
183
144
 
184
- export function HarnessTabs({ harnesses, active, editable, onSelect, onFix, actions }: HarnessTabsProps) {
145
+ export function HarnessTabs({ harnesses, active, onSelect, onFix, actions }: HarnessTabsProps) {
185
146
  if (harnesses.length === 0) return null;
186
147
  return (
187
148
  <div
@@ -205,8 +166,6 @@ export function HarnessTabs({ harnesses, active, editable, onSelect, onFix, acti
205
166
  {harnesses.map((summary) => {
206
167
  const state: HarnessTabState = {
207
168
  block: harnessBlock(summary),
208
- editable,
209
- active,
210
169
  };
211
170
  const { block } = state;
212
171
  const isActive = summary.id === active;
@@ -218,14 +177,13 @@ export function HarnessTabs({ harnesses, active, editable, onSelect, onFix, acti
218
177
  // itself and the handler ran 0 times).
219
178
  //
220
179
  // `aria-disabled` states the same thing to assistive tech without
221
- // removing the element from the pointer. Every unusable tab therefore
222
- // stays pressable and pressing it either explains itself (a transcript
223
- // already owns this chat) or opens the fix.
224
- const unusable = Boolean(block) || !editable;
180
+ // removing the element from the pointer. A blocked tab therefore stays
181
+ // pressable and pressing it opens the fix.
182
+ const unavailable = Boolean(block);
225
183
  // One sentence, used by BOTH the pointer and assistive tech — so the two
226
184
  // can never say different things about the same tab.
227
185
  const title = harnessTabTitle(summary, state);
228
- const reason = harnessTabReason(summary, state, title);
186
+ const reason = harnessTabReason(summary, title);
229
187
  return (
230
188
  <button
231
189
  key={summary.id}
@@ -236,7 +194,7 @@ export function HarnessTabs({ harnesses, active, editable, onSelect, onFix, acti
236
194
  // name at all.
237
195
  aria-label={summary.label}
238
196
  aria-selected={isActive}
239
- aria-disabled={unusable}
197
+ aria-disabled={unavailable}
240
198
  // The same sentence for the keyboard/assistive path. `title` is a
241
199
  // POINTER affordance (and, on a `disabled` element, none at all —
242
200
  // the measured reason this tab stopped using it); an `aria-disabled`
@@ -251,7 +209,6 @@ export function HarnessTabs({ harnesses, active, editable, onSelect, onFix, acti
251
209
  onFix?.(summary.id);
252
210
  return;
253
211
  }
254
- if (!editable) return;
255
212
  onSelect(summary.id);
256
213
  }}
257
214
  // `relative` for the ⚠ badge, `p-1.5` so the strip stays compact at
@@ -259,7 +216,7 @@ export function HarnessTabs({ harnesses, active, editable, onSelect, onFix, acti
259
216
  // its lead-in is gone, so the padding is the whole frame. `tap-chip`
260
217
  // still raises it to 44px on a coarse pointer, which is what keeps an
261
218
  // icon-only tab pressable on a phone.
262
- className={`tap-chip relative flex shrink-0 items-center justify-center rounded-t p-1.5 transition-colors ${tabTone(isActive, Boolean(block), editable)}`}
219
+ className={`tap-chip relative flex shrink-0 items-center justify-center rounded-t p-1.5 transition-colors ${tabTone(isActive, Boolean(block))}`}
263
220
  >
264
221
  {/* `inherit`, because the button's colour is now the only thing that
265
222
  says active / muted: the mark used to be one of two children and
@@ -268,15 +225,13 @@ export function HarnessTabs({ harnesses, active, editable, onSelect, onFix, acti
268
225
  by a colour, so the signal survives the colour mode — there the
269
226
  paint rule sets a brand hue that no `text-ink/35` can outrank,
270
227
  and an unavailable agent would have looked exactly as ready as
271
- the one beside it. Non-editable-but-runnable tabs stay at full
272
- strength: the agent is available, this chat is not the place,
273
- and `title` is what says so.
228
+ the one beside it.
274
229
 
275
230
  `decorative` is load-bearing: the component's own
276
231
  `title="Session runs on claude"` sits INSIDE this button, and a
277
232
  nested `title` is the one the browser shows — measured, hovering
278
- a locked tab announced the generic sentence and never the
279
- explanation one level up. */}
233
+ a tab announced the generic sentence and never the explanation
234
+ one level up. */}
280
235
  <HarnessGlyph
281
236
  harness={summary.id}
282
237
  size={HARNESS_GLYPH_SIZE.tab}
@@ -181,11 +181,11 @@ export function ModelDropdownItem({
181
181
  type="button"
182
182
  onClick={(e) => onToggleFavorite(model, e)}
183
183
  title={model.isFavorite ? 'Remove from favorites' : 'Add to favorites'}
184
- className="group p-1 rounded text-ink/30 hover:text-warning hover:bg-warning/10 transition-colors cursor-pointer"
184
+ className="group p-1 rounded text-ink/30 hover:text-warning-text hover:bg-warning/10 transition-colors cursor-pointer"
185
185
  >
186
186
  <Star
187
187
  size={13}
188
- className={model.isFavorite ? 'fill-current text-warning' : 'text-ink/30 group-hover:text-warning'}
188
+ className={model.isFavorite ? 'fill-current text-warning-text' : 'text-ink/30 group-hover:text-warning-text'}
189
189
  />
190
190
  </button>
191
191
  </div>
@@ -43,9 +43,9 @@ interface ModelDropdownPanelProps {
43
43
  * (the New Chat modal's preview), which then draws no tabs. */
44
44
  harnesses?: HarnessSummary[];
45
45
  activeHarness?: string | null;
46
- /** False while the open chat already has a transcript: switching the harness
47
- * is a spawn-time choice, so the tab says so rather than changing the frame
48
- * source under a running conversation. */
46
+ /** False when the chat already owns its harness (a transcript or a fork):
47
+ * switching is a spawn-time choice, so the tab strip is not drawn at all
48
+ * rather than offering tabs that cannot change anything. */
49
49
  harnessEditable?: boolean;
50
50
  onSelectHarness?: (harness: string) => void;
51
51
  onFixHarness?: (harness: string) => void;
@@ -127,6 +127,10 @@ export function ModelDropdownPanel({
127
127
  useLayoutEffect(alignCardToRow, [alignCardToRow, collapsedSections]);
128
128
 
129
129
  const size = usePopoverSize(panelRef);
130
+ // The strip is a SPAWN-TIME choice. Once a transcript (or a fork) owns the
131
+ // harness there is nothing a tab could do, and drawing dimmed tabs left a
132
+ // control in the composer's picker that only refused presses.
133
+ const showTabs = harnessEditable && harnesses.length > 0;
130
134
 
131
135
  /**
132
136
  * The card's CONTENT, shared by both placements.
@@ -161,15 +165,17 @@ export function ModelDropdownPanel({
161
165
  what the list IS, so the search that follows applies to the list the
162
166
  tab selected.
163
167
 
168
+ It exists only while the chat is still choosing its harness. A
169
+ running chat (or a fork) keeps the agent it owns, so the strip is
170
+ not drawn and the search row is the first band.
171
+
164
172
  In the full-screen placement the strip is the FRAME's first row, so
165
- it carries the close control — the picker draws no header of its own.
166
- A picker with no tabs (the New Chat preview) has no strip, and its
167
- close control rides the search row instead. */}
168
- {harnesses.length > 0 && (
173
+ it carries the close control when it exists; otherwise the control
174
+ rides the search row. */}
175
+ {showTabs && (
169
176
  <HarnessTabs
170
177
  harnesses={harnesses}
171
178
  active={activeHarness}
172
- editable={harnessEditable}
173
179
  onSelect={onSelectHarness ?? (() => {})}
174
180
  onFix={onFixHarness}
175
181
  {...(fullscreen ? { actions: <PickerCloseButton onClose={onClose} /> } : {})}
@@ -179,7 +185,7 @@ export function ModelDropdownPanel({
179
185
  search={search}
180
186
  onSearchChange={onSearchChange}
181
187
  onAddProvider={onAddProvider}
182
- {...(fullscreen && harnesses.length === 0 ? { actions: <PickerCloseButton onClose={onClose} /> } : {})}
188
+ {...(fullscreen && !showTabs ? { actions: <PickerCloseButton onClose={onClose} /> } : {})}
183
189
  />
184
190
 
185
191
  {/* Scrollable Model Lists. Deliberately no top padding: Chrome's
@@ -68,7 +68,7 @@ export function ModelDropdownSection({
68
68
  <div className="flex items-center gap-2 min-w-0">
69
69
  {iconType === 'star' && (
70
70
  <span className="inline-flex items-center justify-center w-[18px] h-[18px] shrink-0">
71
- <Star size={12} className="fill-current text-warning" />
71
+ <Star size={12} className="fill-current text-warning-text" />
72
72
  </span>
73
73
  )}
74
74
  {iconType === 'recent' && (
@@ -11,8 +11,8 @@
11
11
  *
12
12
  * - a harness that cannot run here is disabled AND carries the agent's own
13
13
  * reason (`mcode login`, `executable not found (command: pi)`);
14
- * - a chat that already has a transcript cannot change harness — the tab says
15
- * "start a new chat" instead of switching the transport under a live run;
14
+ * - the strip only exists while the chat is choosing its harness; `Panel` hides
15
+ * it once a transcript (or a fork) owns the agent, so no dead tab is drawn;
16
16
  * - the active tab is marked for assistive tech, not by colour alone.
17
17
  */
18
18
 
@@ -82,7 +82,6 @@ describe('harness tabs', () => {
82
82
  const el = await mount(h(HarnessTabs, {
83
83
  harnesses: [summary('omp-rpc'), summary('claude')],
84
84
  active: 'omp-rpc',
85
- editable: true,
86
85
  onSelect: (id: string) => picked.push(id),
87
86
  }));
88
87
  const tabs = el.querySelectorAll('[role="tab"]');
@@ -99,7 +98,6 @@ describe('harness tabs', () => {
99
98
  const el = await mount(h(HarnessTabs, {
100
99
  harnesses: [summary('pi', { canLaunch: false, unavailable: '`pi` is not installed', install: 'npm i -g pi-acp' })],
101
100
  active: null,
102
- editable: true,
103
101
  onSelect: () => {},
104
102
  onFix: (id: string) => fixes.push(id),
105
103
  }));
@@ -142,7 +140,6 @@ describe('harness tabs', () => {
142
140
  summary('claude'),
143
141
  ],
144
142
  active: 'claude',
145
- editable: true,
146
143
  onSelect: (id: string) => picked.push(id),
147
144
  }));
148
145
  const tab = el.querySelectorAll('[role="tab"]')[0] as HTMLButtonElement;
@@ -155,39 +152,6 @@ describe('harness tabs', () => {
155
152
  expect(picked).toEqual(['omp-rpc']);
156
153
  });
157
154
 
158
- test('a chat with a transcript cannot switch harness', async () => {
159
- const picked: string[] = [];
160
- const el = await mount(h(HarnessTabs, {
161
- harnesses: [summary('omp-rpc', { label: 'omp' }), summary('claude')],
162
- active: 'omp-rpc',
163
- editable: false,
164
- onSelect: (id: string) => picked.push(id),
165
- }));
166
- const tabs = el.querySelectorAll('[role="tab"]');
167
- const claude = tabs[1] as HTMLButtonElement;
168
- // The sentence has to name the agent the chat ALREADY started on. "Start a
169
- // new chat to use claude" was true and useless: it never said which agent
170
- // held the chat, so a user could not tell a lock from their own mistake.
171
- expect(claude.getAttribute('title')).toContain('this chat already started on omp');
172
- expect(claude.getAttribute('title')).toContain('Start a new chat to use claude');
173
- // The same sentence on the accessible path: an `aria-disabled` tab is still
174
- // focusable, and a screen reader would otherwise hear "claude, tab, dimmed"
175
- // with no reason attached.
176
- expect(claude.getAttribute('aria-description')).toBe(claude.getAttribute('title'));
177
- // The active tab is not offered as an alternative to itself.
178
- expect(tabs[0]?.getAttribute('title')).toContain('already started on');
179
- expect(tabs[0]?.getAttribute('title')).not.toContain('Cannot switch');
180
- // Unusable, but still pressable: `title` is unreachable on a native
181
- // `disabled` button (measured in Chromium), and this tab's whole job here is
182
- // to explain itself.
183
- expect(claude.disabled).toBe(false);
184
- expect(claude.getAttribute('aria-disabled')).toBe('true');
185
- await act(async () => {
186
- claude.click();
187
- });
188
- expect(picked).toEqual([]);
189
- });
190
-
191
155
  test('a tab with nothing wrong answers with the agent it would start', () => {
192
156
  const probed = summary('claude', {
193
157
  probe: {
@@ -195,16 +159,15 @@ describe('harness tabs', () => {
195
159
  capabilities: { ...probeBlocked('').capabilities, blocked: undefined, agentName: 'claude-code', agentVersion: '2.0.1' },
196
160
  },
197
161
  });
198
- expect(harnessTabTitle(probed, { block: null, editable: true, active: null })).toBe('claude · claude-code 2.0.1');
162
+ expect(harnessTabTitle(probed, { block: null })).toBe('claude · claude-code 2.0.1');
199
163
  // No probe yet: the label, not a fabricated build string.
200
- expect(harnessTabTitle(summary('codex'), { block: null, editable: true, active: null })).toBe('codex');
164
+ expect(harnessTabTitle(summary('codex'), { block: null })).toBe('codex');
201
165
  });
202
166
 
203
167
  test('a blocked tab states the block, never the label', () => {
204
168
  const blocked = summary('pi', { canLaunch: false, unavailable: '`pi` is not installed', install: 'npm i -g pi-acp' });
205
- const title = harnessTabTitle(blocked, { block: { reason: '`pi` is not installed', fix: 'npm i -g pi-acp' }, editable: false, active: 'omp-rpc' });
206
- // The block comes FIRST: a tab can be both unusable and owned by another
207
- // agent, and only the block means anything about this harness.
169
+ const title = harnessTabTitle(blocked, { block: { reason: '`pi` is not installed', fix: 'npm i -g pi-acp' } });
170
+ // The block comes FIRST: only the block means anything about this harness.
208
171
  expect(title.startsWith('pi: `pi` is not installed')).toBe(true);
209
172
  expect(title).toContain('npm i -g pi-acp');
210
173
  });
@@ -219,7 +182,7 @@ describe('harness tabs', () => {
219
182
  install: 'npm i -g @agentclientprotocol/codex-acp',
220
183
  probe: probeBlocked('Authentication required'),
221
184
  });
222
- const title = harnessTabTitle(refused, { block: harnessBlock(refused), editable: true, active: null });
185
+ const title = harnessTabTitle(refused, { block: harnessBlock(refused) });
223
186
  expect(title).toContain('Authentication required');
224
187
  expect(title).not.toContain('install');
225
188
  });
@@ -228,7 +191,6 @@ describe('harness tabs', () => {
228
191
  const el = await mount(h(HarnessTabs, {
229
192
  harnesses: [summary('codex')],
230
193
  active: 'codex',
231
- editable: true,
232
194
  onSelect: () => {},
233
195
  }));
234
196
  const tab = el.querySelector('[role="tab"]') as HTMLElement;
@@ -244,7 +206,6 @@ describe('harness tabs', () => {
244
206
  const el = await mount(h(HarnessTabs, {
245
207
  harnesses: [summary('codex')],
246
208
  active: 'codex',
247
- editable: true,
248
209
  onSelect: () => {},
249
210
  }));
250
211
  // The tab is the only control whose mark is the WHOLE target, so it is drawn
@@ -254,13 +215,12 @@ describe('harness tabs', () => {
254
215
  });
255
216
 
256
217
  test('the mark inside a tab is DECORATION, so the tab keeps its own tooltip', async () => {
257
- // Measured: hovering a locked tab announced the glyph's generic "Session runs
258
- // on claude" and never the explanation — a nested `title` is the one the
218
+ // Measured: hovering a tab announced the glyph's generic "Session runs on
219
+ // claude" and never the tab's own sentence — a nested `title` is the one the
259
220
  // browser shows, and it sits INSIDE the button.
260
221
  const el = await mount(h(HarnessTabs, {
261
222
  harnesses: [summary('omp-rpc', { label: 'omp' }), summary('claude')],
262
223
  active: 'omp-rpc',
263
- editable: false,
264
224
  onSelect: () => {},
265
225
  }));
266
226
  const claude = el.querySelectorAll('[role="tab"]')[1] as HTMLElement;
@@ -268,44 +228,14 @@ describe('harness tabs', () => {
268
228
  expect(mark.getAttribute('title')).toBeNull();
269
229
  expect(mark.getAttribute('role')).toBeNull();
270
230
  expect(mark.getAttribute('aria-hidden')).toBe('true');
271
- // The reason, and the agent that owns the chat, live on the BUTTON.
272
- expect(claude.getAttribute('title')).toContain('already started on omp');
273
- });
274
-
275
- test('a tab that cannot switch shows the prohibition cursor', async () => {
276
- // Reported from use: a locked tab did nothing on press but showed no cursor
277
- // signal at all. The prohibition sign is the affordance that says "not here"
278
- // BEFORE the click; `cursor-help` was drawn as a QUESTION MARK on macOS and
279
- // read as a stray icon.
280
- const el = await mount(h(HarnessTabs, {
281
- harnesses: [
282
- summary('omp-rpc', { label: 'omp' }),
283
- summary('pi', { canLaunch: false, unavailable: 'not installed' }),
284
- summary('claude'),
285
- ],
286
- active: 'omp-rpc',
287
- editable: false,
288
- onSelect: () => {},
289
- }));
290
- const [owner, blocked, locked] = [...el.querySelectorAll('[role="tab"]')].map(
291
- (tab) => tab.className,
292
- );
293
- // The chat runs on omp, so every OTHER tab refuses the switch.
294
- expect(locked).toContain('cursor-not-allowed');
295
- // A blocked tab opens its settings page, so it still earns the pointer.
296
- expect(blocked).toContain('cursor-pointer');
297
- expect(blocked).not.toContain('cursor-not-allowed');
298
- // The current selection is not a refusal.
299
- expect(owner).toContain('cursor-default');
300
- expect(owner).not.toContain('cursor-not-allowed');
301
- for (const cls of [owner, blocked, locked]) expect(cls).not.toContain('cursor-help');
231
+ // The name lives on the BUTTON, not on the mark inside it.
232
+ expect(claude.getAttribute('title')).toBe('claude');
302
233
  });
303
234
 
304
235
  test('a selectable tab keeps the pointer, never the prohibition', async () => {
305
236
  const el = await mount(h(HarnessTabs, {
306
237
  harnesses: [summary('omp-rpc', { label: 'omp' }), summary('claude')],
307
238
  active: 'omp-rpc',
308
- editable: true,
309
239
  onSelect: () => {},
310
240
  }));
311
241
  for (const tab of el.querySelectorAll('[role="tab"]')) {
@@ -318,7 +248,6 @@ describe('harness tabs', () => {
318
248
  const el = await mount(h(HarnessTabs, {
319
249
  harnesses: [summary('pi', { canLaunch: false, unavailable: '`pi` is not installed' })],
320
250
  active: null,
321
- editable: true,
322
251
  onSelect: () => {},
323
252
  }));
324
253
  const tab = el.querySelector('[role="tab"]') as HTMLElement;
@@ -330,7 +259,7 @@ describe('harness tabs', () => {
330
259
  });
331
260
 
332
261
  test('no harnesses draws nothing rather than an empty strip', async () => {
333
- const el = await mount(h(HarnessTabs, { harnesses: [], active: null, editable: true, onSelect: () => {} }));
262
+ const el = await mount(h(HarnessTabs, { harnesses: [], active: null, onSelect: () => {} }));
334
263
  expect(el.querySelector('[role="tablist"]')).toBeNull();
335
264
  });
336
265
  });
@@ -28,8 +28,8 @@ interface ModelDropdownProps {
28
28
  harness?: string;
29
29
  /** Picked a tab for a chat that has no transcript yet. */
30
30
  onSelectHarness?: (harness: string) => void;
31
- /** False while the open chat has messages; the tabs explain instead of
32
- * switching. */
31
+ /** False once the chat owns its harness (a transcript or a fork): the tab
32
+ * strip is not drawn, because the choice is spawn-time. */
33
33
  harnessEditable?: boolean;
34
34
  /** The SHELL's layout verdict. When omitted the picker answers for itself from
35
35
  * the pointer — which is what the New Chat modal's preview does. */
@@ -64,7 +64,7 @@ function harness(id: string): HarnessSummary {
64
64
  };
65
65
  }
66
66
 
67
- function mount(harnesses: HarnessSummary[], onClose: () => void): void {
67
+ function mount(harnesses: HarnessSummary[], onClose: () => void, editable = true): void {
68
68
  act(() =>
69
69
  render(
70
70
  h(ModelDropdownPanel, {
@@ -90,7 +90,7 @@ function mount(harnesses: HarnessSummary[], onClose: () => void): void {
90
90
  onMouseLeave: () => {},
91
91
  harnesses,
92
92
  activeHarness: 'omp-rpc',
93
- harnessEditable: true,
93
+ harnessEditable: editable,
94
94
  onSelectHarness: () => {},
95
95
  onClose,
96
96
  fullscreen: true,
@@ -124,6 +124,20 @@ describe('the full-screen picker close control', () => {
124
124
  expect(dialog.querySelector('input[placeholder="Search models"]')).not.toBeNull();
125
125
  });
126
126
 
127
+ test('a chat that already owns its harness draws no tab strip at all', () => {
128
+ // Harness is a SPAWN property: once a transcript (or a fork) owns the agent,
129
+ // a tab can only refuse the press. The picker therefore hides the strip
130
+ // instead of drawing dimmed tabs that do nothing.
131
+ mount([harness('omp-rpc'), harness('claude')], () => {}, false);
132
+ const dialog = document.querySelector('[role="dialog"][aria-label="Select model"]') as HTMLElement;
133
+ expect(dialog.querySelector('[role="tablist"]')).toBeNull();
134
+ expect(dialog.querySelectorAll('[role="tab"]')).toHaveLength(0);
135
+ // The close control still rides the picker's first row.
136
+ const close = dialog.querySelector('button[aria-label="Close"]') as HTMLElement;
137
+ expect(close).not.toBeNull();
138
+ expect(dialog.querySelector('input[placeholder="Search models"]')).not.toBeNull();
139
+ });
140
+
127
141
  test('pressing it closes the picker', () => {
128
142
  let closed = 0;
129
143
  mount([harness('omp-rpc')], () => {
@@ -68,8 +68,8 @@ export function PlanPageView({
68
68
  >
69
69
  {error ? (
70
70
  <div className="flex flex-col items-center gap-2 px-6 py-8 text-center">
71
- <AlertCircle size={16} className="text-error" />
72
- <p className="text-xs text-error">{error}</p>
71
+ <AlertCircle size={16} className="text-error-text" />
72
+ <p className="text-xs text-error-text">{error}</p>
73
73
  </div>
74
74
  ) : !content ? (
75
75
  <div className="px-6 py-8 text-center text-xs text-ink/40">
@@ -142,8 +142,8 @@ export function PlanPanel({ className = '', active = true, tabsMode = false }: P
142
142
 
143
143
  {plan.stale && !plan.data ? (
144
144
  <div className="flex flex-1 flex-col items-center justify-center gap-2 px-6 text-center">
145
- <AlertCircle size={16} className="text-error" />
146
- <p className="text-error">The plan could not be read.</p>
145
+ <AlertCircle size={16} className="text-error-text" />
146
+ <p className="text-error-text">The plan could not be read.</p>
147
147
  <button type="button" onClick={plan.refresh} className="text-[11px] font-semibold text-ink/70 underline underline-offset-2 hover:text-ink">
148
148
  Try again
149
149
  </button>
@@ -19,7 +19,7 @@ export function PluginError({ pluginId, reason }: PluginErrorProps) {
19
19
  return (
20
20
  <div className="h-full w-full flex items-center justify-center px-6 text-center">
21
21
  <div className="max-w-sm space-y-2">
22
- <div className={`flex items-center justify-center gap-2 ${pending ? 'text-ink/50' : 'text-error'}`}>
22
+ <div className={`flex items-center justify-center gap-2 ${pending ? 'text-ink/50' : 'text-error-text'}`}>
23
23
  {pending ? (
24
24
  <Loader2 size={14} className="animate-spin flex-shrink-0" />
25
25
  ) : (
@@ -183,7 +183,7 @@ export function RepoModal({
183
183
  {notice && (
184
184
  <div
185
185
  className={`px-5 py-1.5 border-b border-ink/10 text-[10px] font-mono truncate ${
186
- notice.kind === 'error' ? 'text-error' : 'text-ink/60'
186
+ notice.kind === 'error' ? 'text-error-text' : 'text-ink/60'
187
187
  }`}
188
188
  title={notice.text}
189
189
  role="status"
@@ -195,11 +195,11 @@ export function RepoModal({
195
195
  <div className="min-h-[40vh] max-h-[60vh] overflow-y-auto scrollbar-overlay-container">
196
196
  {loading && details.length === 0 ? (
197
197
  <div className="flex items-center justify-center gap-2 py-12 text-xs text-ink/50 font-mono">
198
- <Loader2 size={14} className="animate-spin text-info" />
198
+ <Loader2 size={14} className="animate-spin text-info-text" />
199
199
  Reading repositories…
200
200
  </div>
201
201
  ) : error ? (
202
- <div className="py-12 px-6 text-center text-xs text-error font-mono">{error}</div>
202
+ <div className="py-12 px-6 text-center text-xs text-error-text font-mono">{error}</div>
203
203
  ) : filtered.length === 0 ? (
204
204
  <div className="py-12 text-center text-xs text-ink/40 font-mono">
205
205
  {query.trim() ? 'No matching repositories.' : 'No repositories in this workspace.'}