@kabmo-labs/kabmo 0.45.1 → 0.46.1

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 (369) hide show
  1. package/dist/client/index.html +1 -1
  2. package/dist/client/index.js +412 -412
  3. package/dist/client/static/js/{CsvGrid-eqmctwyq.js → CsvGrid-qdkmv8bj.js} +2 -2
  4. package/dist/client/static/js/{DocxView-rjrshmzf.js → DocxView-k84ns803.js} +3 -3
  5. package/dist/client/static/js/{DrawioView-za569srw.js → DrawioView-r1n717f7.js} +2 -2
  6. package/dist/client/static/js/ImageView-jkrdrq8v.js +1 -0
  7. package/dist/client/static/js/LayoutWrapper-sh634350.js +2 -0
  8. package/dist/client/static/js/Modal-xe6h99jn.js +59 -0
  9. package/dist/client/static/js/{PdfView-2m78d4jz.js → PdfView-ffg4mccg.js} +1 -1
  10. package/dist/client/static/js/{SessionsView-54awmse0.js → SessionsView-cdcbsee9.js} +1 -1
  11. package/dist/client/static/js/{SheetView-xfvjdh24.js → SheetView-89sscpz6.js} +19 -19
  12. package/dist/client/static/js/{SvgPreview-yfjrfb40.js → SvgPreview-68c0ccbv.js} +1 -1
  13. package/dist/client/static/js/{abnfDiagram-O67JEVCF-tmsa3b36.js → abnfDiagram-O67JEVCF-h3a5s259.js} +1 -1
  14. package/dist/client/static/js/architecture-7GRP2DOG-pvb4d65d.js +1 -0
  15. package/dist/client/static/js/{architectureDiagram-NJMV4G6O-a5effrpz.js → architectureDiagram-NJMV4G6O-983p0jgn.js} +3 -3
  16. package/dist/client/static/js/{astro-56b0as3q.js → astro-hyj5wege.js} +1 -1
  17. package/dist/client/static/js/bash-8d8z8zrg.js +1 -0
  18. package/dist/client/static/js/{blockDiagram-BEXU5L5S-3q2kf22c.js → blockDiagram-BEXU5L5S-16pse5mh.js} +5 -5
  19. package/dist/client/static/js/c-acmn1zc9.js +1 -0
  20. package/dist/client/static/js/{c4Diagram-YGBWAQC7-mkw3jvf6.js → c4Diagram-YGBWAQC7-mvnb00zt.js} +3 -3
  21. package/dist/client/static/js/{classDiagram-v2-NBCMYWYE-fw9bs1za.js → classDiagram-v2-NBCMYWYE-kmpd91xb.js} +7 -7
  22. package/dist/client/static/js/{cose-bilkent-JH36ORCC-eqjrpps4.js → cose-bilkent-JH36ORCC-3ek5r5se.js} +1 -1
  23. package/dist/client/static/js/cpp-620mvjkk.js +1 -0
  24. package/dist/client/static/js/css-bt76kxbq.js +1 -0
  25. package/dist/client/static/js/css-drfs4n12.js +1 -0
  26. package/dist/client/static/js/cynefin-OW5HDTMX-gmx4vean.js +1 -0
  27. package/dist/client/static/js/{cynefinDiagram-VND7K2PF-4w61hq3e.js → cynefinDiagram-VND7K2PF-jkbh84zn.js} +1 -1
  28. package/dist/client/static/js/{dagre-6A5THRUB-t52jdfr1.js → dagre-6A5THRUB-4fdc0sgn.js} +2 -2
  29. package/dist/client/static/js/{diagram-22UHCM2B-448hyxaz.js → diagram-22UHCM2B-hbk61nq9.js} +18 -18
  30. package/dist/client/static/js/{diagram-3UASUU5V-350k213a.js → diagram-3UASUU5V-hfpbr9qh.js} +1 -1
  31. package/dist/client/static/js/{diagram-ATOU4E4O-9davjeyb.js → diagram-ATOU4E4O-fn0nt71a.js} +3 -3
  32. package/dist/client/static/js/{diagram-CDSNMT55-034wwghk.js → diagram-CDSNMT55-ssswxjeb.js} +4 -4
  33. package/dist/client/static/js/{diagram-MLGK6HIB-kzzd4ecm.js → diagram-MLGK6HIB-whnzxv6f.js} +2 -2
  34. package/dist/client/static/js/{diagram-MPIPVDR6-rsky4e3s.js → diagram-MPIPVDR6-hk1chzxk.js} +2 -2
  35. package/dist/client/static/js/{dockerfile-68b0e6b6.js → dockerfile-zmsj8r4g.js} +1 -1
  36. package/dist/client/static/js/{ebnfDiagram-ZINNZB2B-7bm1e394.js → ebnfDiagram-ZINNZB2B-q1vkg5mr.js} +1 -1
  37. package/dist/client/static/js/{elixir-12pgbgtq.js → elixir-80wq7gak.js} +1 -1
  38. package/dist/client/static/js/{elk-276RUBZZ-4xjp4rgh.js → elk-276RUBZZ-kt98vg8j.js} +1 -1
  39. package/dist/client/static/js/{erDiagram-OPXOYQCR-v52qmcrv.js → erDiagram-OPXOYQCR-ey3avsn9.js} +9 -9
  40. package/dist/client/static/js/{erlang-811btv6p.js → erlang-814e8qy5.js} +1 -1
  41. package/dist/client/static/js/eventmodeling-NTZA5JFV-vrnheyh7.js +1 -0
  42. package/dist/client/static/js/flowDiagram-KWPJA3E3-7gvtpn3d.js +1 -0
  43. package/dist/client/static/js/{ganttDiagram-FUAMR5RP-1r1fn18p.js → ganttDiagram-FUAMR5RP-a9k1at43.js} +4 -4
  44. package/dist/client/static/js/gitGraph-4MIJSDKK-n6wnc8st.js +1 -0
  45. package/dist/client/static/js/{gitGraphDiagram-X574FWY7-zt5cwg83.js → gitGraphDiagram-X574FWY7-gnekjfym.js} +13 -13
  46. package/dist/client/static/js/graphql-j1a6zp7m.js +1 -0
  47. package/dist/client/static/js/html-m0megrvb.js +1 -0
  48. package/dist/client/static/js/{index-qt9jc4ck.js → index-19x11s5w.js} +2 -2
  49. package/dist/client/static/js/{index-0gmw2bt3.js → index-1ax52p0q.js} +2 -2
  50. package/dist/client/static/js/{index-2b1wnvez.js → index-1c2jvnyh.js} +2 -2
  51. package/dist/client/static/js/index-2a6qp9y6.js +2 -0
  52. package/dist/client/static/js/{index-gcwmpfr4.js → index-2ks0m8ss.js} +2 -2
  53. package/dist/client/static/js/{index-pfj3sd1n.js → index-33qxg79j.js} +7 -7
  54. package/dist/client/static/js/{index-bcpyxt97.js → index-3x7h2eqj.js} +2 -2
  55. package/dist/client/static/js/{index-q36gq3yz.js → index-4cag7w6k.js} +198 -198
  56. package/dist/client/static/js/{index-03j5j1j0.js → index-561gkvve.js} +2 -2
  57. package/dist/client/static/js/{index-m9s7r4z9.js → index-5ka2tyf9.js} +3 -3
  58. package/dist/client/static/js/{index-f51jxezc.js → index-5wz0y88c.js} +2 -2
  59. package/dist/client/static/js/{index-frqq7yen.js → index-60v30k5h.js} +64 -64
  60. package/dist/client/static/js/{index-x2wvq4ae.js → index-64sqfr4a.js} +2 -2
  61. package/dist/client/static/js/{index-xgv501v0.js → index-65afr75v.js} +2 -2
  62. package/dist/client/static/js/index-83rkg916.js +2 -0
  63. package/dist/client/static/js/{index-ga6492qc.js → index-84fyq5a6.js} +1 -1
  64. package/dist/client/static/js/{index-2tmnqqzt.js → index-8g7q8mz4.js} +3 -3
  65. package/dist/client/static/js/{index-mnh8nptt.js → index-9vv7wr1n.js} +2 -2
  66. package/dist/client/static/js/{index-gzafyqsr.js → index-abs635a1.js} +56 -56
  67. package/dist/client/static/js/{index-j50y0z44.js → index-amsa0tfs.js} +1 -1
  68. package/dist/client/static/js/index-atq9q1s7.js +1 -0
  69. package/dist/client/static/js/{index-8ps5gdwz.js → index-b2e5pwx7.js} +5 -5
  70. package/dist/client/static/js/{index-cza9mnxx.js → index-b5dfvget.js} +6 -6
  71. package/dist/client/static/js/{index-zwx3vbf0.js → index-bsr7wmj2.js} +1 -1
  72. package/dist/client/static/js/{index-ex3w7t7s.js → index-c9e417cs.js} +2 -2
  73. package/dist/client/static/js/{index-fbct0jcf.js → index-d23eacf2.js} +2 -2
  74. package/dist/client/static/js/{index-wqrdgt1g.js → index-dn7hg4em.js} +2 -2
  75. package/dist/client/static/js/index-dpy3ewrn.css +1 -0
  76. package/dist/client/static/js/index-dt6q3rws.js +12 -0
  77. package/dist/client/static/js/{index-3h2mr90j.js → index-dxvtjn6a.js} +2 -2
  78. package/dist/client/static/js/{index-127se1a3.js → index-e9cxje00.js} +19 -19
  79. package/dist/client/static/js/{index-6sqmhdyv.js → index-fj5rsp5v.js} +2 -2
  80. package/dist/client/static/js/{index-c7vbr57m.js → index-fzngzhww.js} +2 -2
  81. package/dist/client/static/js/{index-n1ga63de.js → index-g7s0wsag.js} +2 -2
  82. package/dist/client/static/js/{index-x0kgnkv3.js → index-hgzntg2j.js} +2 -2
  83. package/dist/client/static/js/{index-jaqjvk22.js → index-hkz2mz34.js} +2 -2
  84. package/dist/client/static/js/{index-gzp4j2h5.js → index-hnb66d3s.js} +2 -2
  85. package/dist/client/static/js/{index-9zwtpazh.js → index-kb14dhrx.js} +2 -2
  86. package/dist/client/static/js/{index-snjtkfkq.js → index-kbhrvep8.js} +6 -6
  87. package/dist/client/static/js/{index-vgcm2g0g.js → index-kty4ncsr.js} +2 -2
  88. package/dist/client/static/js/index-m4k054wz.js +4 -0
  89. package/dist/client/static/js/{index-pxq4v81r.js → index-nw5mvcaj.js} +2 -2
  90. package/dist/client/static/js/index-pavvxrsz.js +1 -0
  91. package/dist/client/static/js/index-q9ytjey8.js +1 -0
  92. package/dist/client/static/js/{index-8dtp7mt0.js → index-qf3y3ahx.js} +2 -2
  93. package/dist/client/static/js/{index-as1wptfa.js → index-qfxn7yh5.js} +2 -2
  94. package/dist/client/static/js/{index-e6any867.js → index-sa1675y0.js} +2 -2
  95. package/dist/client/static/js/{index-ehg2ftnp.js → index-trvqvb1v.js} +2 -2
  96. package/dist/client/static/js/{index-1nwwvv29.js → index-vjmg7kn5.js} +2 -2
  97. package/dist/client/static/js/index-vkqb4dnt.js +1 -0
  98. package/dist/client/static/js/{index-nzhwd6t3.js → index-wbws16ag.js} +2 -2
  99. package/dist/client/static/js/{index-528x5x8c.js → index-wrcdc9vz.js} +1 -1
  100. package/dist/client/static/js/{index-2zntn964.js → index-x9r7zfp4.js} +2 -2
  101. package/dist/client/static/js/{index-mhnwyra0.js → index-xq5f3nxa.js} +2 -2
  102. package/dist/client/static/js/index-xwjbq003.js +2 -0
  103. package/dist/client/static/js/{index-2gbfke1a.js → index-yf93db65.js} +1 -1
  104. package/dist/client/static/js/{index-tkfxnnr5.js → index-ykm7a3cp.js} +2 -2
  105. package/dist/client/static/js/{index-t0yv1375.js → index-z0fkfphe.js} +2 -2
  106. package/dist/client/static/js/{index-84vmdg3k.js → index-z25ss7xj.js} +1 -1
  107. package/dist/client/static/js/{index-dmv2zasz.js → index-z4530r3c.js} +2 -2
  108. package/dist/client/static/js/info-A6RAGUB7-1xtdxjz2.js +1 -0
  109. package/dist/client/static/js/{infoDiagram-VRGFBTTK-yd4zwrtv.js → infoDiagram-VRGFBTTK-r1p25738.js} +2 -2
  110. package/dist/client/static/js/ini-5f4zqtqr.js +1 -0
  111. package/dist/client/static/js/{ishikawaDiagram-OU5B5YK6-7sjp09d4.js → ishikawaDiagram-OU5B5YK6-afgrqdrt.js} +3 -3
  112. package/dist/client/static/js/java-jj41mty3.js +1 -0
  113. package/dist/client/static/js/javascript-n9w9p97f.js +1 -0
  114. package/dist/client/static/js/{journeyDiagram-ZHPQQLJL-qh9jk7qk.js → journeyDiagram-ZHPQQLJL-hepa4wk7.js} +5 -5
  115. package/dist/client/static/js/json-rnh2h17x.js +1 -0
  116. package/dist/client/static/js/jsx-4gecrt29.js +1 -0
  117. package/dist/client/static/js/{julia-mgsev9df.js → julia-yv2j8qd0.js} +1 -1
  118. package/dist/client/static/js/{kanban-definition-PNTS6WVX-cjc8k0jk.js → kanban-definition-PNTS6WVX-jysft8ya.js} +5 -5
  119. package/dist/client/static/js/lua-zszaw2f7.js +1 -0
  120. package/dist/client/static/js/markdown-nm6gw4v4.js +1 -0
  121. package/dist/client/static/js/{mermaid.core-vw0b7r0k.js → mermaid.core-0m90b0s8.js} +7 -7
  122. package/dist/client/static/js/{mindmap-definition-NLK3R4M7-jyhtpt1z.js → mindmap-definition-NLK3R4M7-x2rrzpvr.js} +8 -8
  123. package/dist/client/static/js/one-dark-pro-09d8p5vy.js +1 -0
  124. package/dist/client/static/js/one-light-g3ednt6p.js +1 -0
  125. package/dist/client/static/js/packet-AYTQ26CC-zm1r82x5.js +1 -0
  126. package/dist/client/static/js/{pegDiagram-GJSIUBJH-80ygdd29.js → pegDiagram-GJSIUBJH-z7vb7f1z.js} +1 -1
  127. package/dist/client/static/js/{perl-6n93vjsa.js → perl-917pjq5a.js} +1 -1
  128. package/dist/client/static/js/{php-w23nmbtc.js → php-hwz75qzt.js} +1 -1
  129. package/dist/client/static/js/pie-WAS4IAKB-sqa7321j.js +1 -0
  130. package/dist/client/static/js/{pieDiagram-5QR66LMP-6vgh7ntn.js → pieDiagram-5QR66LMP-jqv6v4e6.js} +3 -3
  131. package/dist/client/static/js/properties-rkptax7r.js +1 -0
  132. package/dist/client/static/js/python-qf1se1mj.js +1 -0
  133. package/dist/client/static/js/{quadrantDiagram-O4NWA36T-k5byajmm.js → quadrantDiagram-O4NWA36T-w2h8yxrv.js} +6 -6
  134. package/dist/client/static/js/r-ms0cygq2.js +1 -0
  135. package/dist/client/static/js/radar-RG4KPBEZ-z3z82syp.js +1 -0
  136. package/dist/client/static/js/railroad-74A4TZTK-z6swcqq2.js +1 -0
  137. package/dist/client/static/js/railroad-abnf-HS5TGJTU-33km6py4.js +1 -0
  138. package/dist/client/static/js/railroad-ebnf-LZEXJU2U-1zbf1xmq.js +1 -0
  139. package/dist/client/static/js/railroad-peg-WCYAUIDC-wte1xzzy.js +1 -0
  140. package/dist/client/static/js/{railroadDiagram-XR7U4H2S-qffrkk7g.js → railroadDiagram-XR7U4H2S-nd09yac3.js} +1 -1
  141. package/dist/client/static/js/{requirementDiagram-PLB6GJNP-r80w7tdp.js → requirementDiagram-PLB6GJNP-t61zxh5v.js} +10 -10
  142. package/dist/client/static/js/{ruby-ag3b3t9t.js → ruby-er7ayhte.js} +1 -1
  143. package/dist/client/static/js/{rust-a9jcfy2e.js → rust-avnkhh0p.js} +1 -1
  144. package/dist/client/static/js/{sankeyDiagram-IPEJSGJF-g9qdy74b.js → sankeyDiagram-IPEJSGJF-2f7h2cmw.js} +4 -4
  145. package/dist/client/static/js/{sass-x0eez0kp.js → sass-n47tt136.js} +1 -1
  146. package/dist/client/static/js/{scss-qycakpjn.js → scss-kvev49ga.js} +1 -1
  147. package/dist/client/static/js/{sequenceDiagram-PO4LG4MO-nywg1eq3.js → sequenceDiagram-PO4LG4MO-kfb5d7zd.js} +19 -19
  148. package/dist/client/static/js/{sizeCapture-INFHLROL-m5pks027.js → sizeCapture-INFHLROL-amfg19se.js} +1 -1
  149. package/dist/client/static/js/sql-hd42h8wx.js +1 -0
  150. package/dist/client/static/js/{stateDiagram-v2-GCMORJYK-xzzv780w.js → stateDiagram-v2-GCMORJYK-k5hx7btx.js} +3 -3
  151. package/dist/client/static/js/{svelte-tg19by0f.js → svelte-2pmz35vx.js} +1 -1
  152. package/dist/client/static/js/{swimlanes-2SLR337P-n4q5ad13.js → swimlanes-2SLR337P-wv3rp8kk.js} +1 -1
  153. package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-6y8zdbm4.js +8 -0
  154. package/dist/client/static/js/{timeline-definition-EJHVYXUP-j9pde7sa.js → timeline-definition-EJHVYXUP-0re95wtn.js} +6 -6
  155. package/dist/client/static/js/treeView-Q6P3EWNA-pvgx6n22.js +1 -0
  156. package/dist/client/static/js/treemap-WGGIJYW6-3n9zm628.js +1 -0
  157. package/dist/client/static/js/tsx-gx7td06z.js +1 -0
  158. package/dist/client/static/js/typescript-1a808spn.js +1 -0
  159. package/dist/client/static/js/{usecaseDiagram-POWQR4AR-ehnc0600.js → usecaseDiagram-POWQR4AR-yrje14qp.js} +44 -44
  160. package/dist/client/static/js/{vennDiagram-UO4OBE2U-cp4kj6kw.js → vennDiagram-UO4OBE2U-jxkmrfy5.js} +7 -7
  161. package/dist/client/static/js/{vue-mhj4sme0.js → vue-d5gpjfgn.js} +1 -1
  162. package/dist/client/static/js/wardley-WFR3VGLG-7m07ewc4.js +1 -0
  163. package/dist/client/static/js/{wardleyDiagram-VNRHLVJA-eegf1jpw.js → wardleyDiagram-VNRHLVJA-d3v2m9b1.js} +3 -3
  164. package/dist/client/static/js/xml-3117mxd9.js +1 -0
  165. package/dist/client/static/js/{xychartDiagram-PMCCYNJV-zkkqfyex.js → xychartDiagram-PMCCYNJV-9a1s1rjt.js} +5 -5
  166. package/dist/client/static/js/yaml-dmvh8vyt.js +1 -0
  167. package/extensions/kabmo-modes/index.ts +1 -1
  168. package/extensions/kabmo-modes/parked.test.ts +2 -2
  169. package/extensions/kabmo-modes/parked.ts +10 -9
  170. package/extensions/kabmo-modes/plan.test.ts +4 -4
  171. package/extensions/kabmo-modes/plan.ts +6 -6
  172. package/extensions/kabmo-modes/session.ts +2 -2
  173. package/package.json +1 -1
  174. package/src/client/components/common/FolderPicker.tsx +1 -1
  175. package/src/client/components/common/Modal.tsx +8 -3
  176. package/src/client/components/common/NotificationPermissionDialog.test.tsx +8 -3
  177. package/src/client/components/common/NotificationPermissionDialog.tsx +7 -9
  178. package/src/client/components/common/PWAInstallButton.tsx +1 -1
  179. package/src/client/components/common/header-panel-buttons/index.tsx +5 -1
  180. package/src/client/components/common/shell-update-button/Modal.tsx +31 -36
  181. package/src/client/components/common/shell-update-button/index.test.tsx +5 -2
  182. package/src/client/components/layout/desktop-layout/LeftColumn.tsx +16 -0
  183. package/src/client/components/layout/desktop-layout/RightColumn.test.tsx +204 -0
  184. package/src/client/components/layout/desktop-layout/RightColumn.tsx +52 -15
  185. package/src/client/components/layout/session-sidebar/OverflowMenu.tsx +1 -1
  186. package/src/client/components/layout/session-sidebar/about-modal/index.tsx +4 -6
  187. package/src/client/components/layout/session-sidebar/new-workspace-modal/index.tsx +1 -1
  188. package/src/client/components/layout/session-sidebar/scheduler-modal/index.tsx +1 -1
  189. package/src/client/components/mobile/LayoutWrapper.tsx +9 -43
  190. package/src/client/components/mobile/RightSidebar.tsx +31 -12
  191. package/src/client/components/mobile/SessionSidebar.tsx +112 -137
  192. package/src/client/components/mobile/drawer-strip.tsx +85 -0
  193. package/src/client/components/mobile/left-drawer-nav.test.tsx +350 -0
  194. package/src/client/components/mobile/mobile-drawer-reveals.test.tsx +194 -0
  195. package/src/client/components/mobile/mobile-drawer-reveals.ts +138 -0
  196. package/src/client/components/mobile/mobile-main-view/Header.tsx +12 -24
  197. package/src/client/components/mobile/mobile-right-sidebar/Action.tsx +57 -0
  198. package/src/client/components/mobile/mobile-right-sidebar/Chrome.tsx +14 -87
  199. package/src/client/components/mobile/mobile-right-sidebar/FullDiff.tsx +2 -7
  200. package/src/client/components/mobile/mobile-right-sidebar/Header.test.tsx +157 -0
  201. package/src/client/components/mobile/mobile-right-sidebar/Header.tsx +109 -105
  202. package/src/client/components/mobile/mobile-right-sidebar/OutlineButton.tsx +1 -1
  203. package/src/client/components/mobile/mobile-right-sidebar/Overflow.tsx +95 -0
  204. package/src/client/components/mobile/mobile-session-sidebar/Body.tsx +212 -0
  205. package/src/client/components/mobile/mobile-session-sidebar/Header.tsx +7 -9
  206. package/src/client/components/mobile/mobile-session-sidebar/Toolbar.tsx +2 -2
  207. package/src/client/components/mobile/mobile-session-sidebar/use-dock.ts +29 -8
  208. package/src/client/components/mobile/mobile-session-sidebar/use-drawer-tabs.ts +97 -0
  209. package/src/client/components/settings/Band.test.tsx +83 -0
  210. package/src/client/components/settings/Band.tsx +96 -0
  211. package/src/client/components/settings/Modal.tsx +44 -69
  212. package/src/client/components/settings/apply-side-effects.ts +15 -4
  213. package/src/client/components/settings/band-height.test.tsx +16 -3
  214. package/src/client/components/settings/categories/AppearanceSettings.test.tsx +35 -9
  215. package/src/client/components/settings/categories/AppearanceSettings.tsx +2 -0
  216. package/src/client/components/settings/categories/ChatSettings.test.tsx +32 -9
  217. package/src/client/components/settings/categories/ChatSettings.tsx +2 -0
  218. package/src/client/components/settings/categories/NotificationSettings.tsx +1 -1
  219. package/src/client/components/settings/categories/appearance-settings/PanelNavSection.tsx +40 -223
  220. package/src/client/components/settings/categories/appearance-settings/nav-choice.tsx +176 -0
  221. package/src/client/components/settings/categories/appearance-settings/nav-miniatures.tsx +93 -0
  222. package/src/client/components/settings/categories/connect-settings/PairDialog.tsx +1 -1
  223. package/src/client/components/settings/categories/mcp-settings/ImportModal.tsx +1 -1
  224. package/src/client/components/settings/categories/notification-settings/PermissionNotice.tsx +1 -1
  225. package/src/client/components/settings/categories/provider-settings/DeleteProviderModal.tsx +1 -1
  226. package/src/client/components/settings/categories/provider-settings/LogoutProviderModal.tsx +1 -1
  227. package/src/client/components/settings/drill.tsx +113 -0
  228. package/src/client/components/settings/master-detail/GroupDetail.tsx +14 -6
  229. package/src/client/components/settings/master-detail/GroupSidebar.tsx +9 -1
  230. package/src/client/components/settings/master-detail/index.tsx +45 -25
  231. package/src/client/components/workspace/chat-timeline/MessageList.test.ts +11 -0
  232. package/src/client/components/workspace/chat-timeline/MessageList.tsx +29 -21
  233. package/src/client/components/workspace/chat-timeline/MobileTurnJump.tsx +1 -1
  234. package/src/client/components/workspace/chat-timeline/NewChatModal.tsx +1 -1
  235. package/src/client/components/workspace/chat-timeline/SystemNotice.tsx +4 -0
  236. package/src/client/components/workspace/chat-timeline/ToolCallingSection.test.ts +23 -6
  237. package/src/client/components/workspace/chat-timeline/UndoConfirmModal.tsx +1 -1
  238. package/src/client/components/workspace/chat-timeline/chat-input/AttachmentToolbar.tsx +19 -2
  239. package/src/client/components/workspace/chat-timeline/chat-input/GoalModal.tsx +1 -1
  240. package/src/client/components/workspace/chat-timeline/chat-input/Toolbar.tsx +1 -1
  241. package/src/client/components/workspace/chat-timeline/index.tsx +5 -9
  242. package/src/client/components/workspace/chat-timeline/plan-review/index.tsx +1 -1
  243. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FormAsk.test.tsx +4 -4
  244. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FormDialog.test.tsx +127 -0
  245. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FormDialog.tsx +225 -0
  246. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/OrphanAsks.test.tsx +5 -4
  247. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/OrphanAsks.tsx +1 -1
  248. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/PluginPendingInteractions.test.ts +2 -2
  249. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/index.test.ts +4 -3
  250. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/index.tsx +40 -4
  251. package/src/client/components/workspace/chat-timeline/tool-renderers/extension-dialog/Footer.tsx +1 -1
  252. package/src/client/components/workspace/chat-timeline/tool-renderers/extension-dialog/index.tsx +1 -1
  253. package/src/client/components/workspace/chat-timeline/tool-renderers/index.tsx +5 -1
  254. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/AstEdit.tsx +8 -3
  255. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Lsp.tsx +5 -0
  256. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Mcp.tsx +16 -7
  257. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Resolve.tsx +16 -4
  258. package/src/client/components/workspace/chat-timeline/tool-renderers/registry.ts +37 -12
  259. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/card-header.ts +4 -3
  260. package/src/client/components/workspace/diff-panel/index.tsx +1 -1
  261. package/src/client/components/workspace/editor/SaveDeletedFileModal.tsx +1 -1
  262. package/src/client/components/workspace/file-explorer/ArchiveModals.tsx +1 -1
  263. package/src/client/components/workspace/file-explorer/Modals.tsx +4 -4
  264. package/src/client/components/workspace/git-panel/Modals.tsx +1 -1
  265. package/src/client/components/workspace/model-dropdown/CloseButton.tsx +38 -0
  266. package/src/client/components/workspace/model-dropdown/Fullscreen.tsx +16 -25
  267. package/src/client/components/workspace/model-dropdown/HarnessTabs.tsx +30 -9
  268. package/src/client/components/workspace/model-dropdown/Header.tsx +33 -21
  269. package/src/client/components/workspace/model-dropdown/Panel.tsx +19 -4
  270. package/src/client/components/workspace/model-dropdown/picker-close.test.tsx +139 -0
  271. package/src/client/components/workspace/model-dropdown/placement.test.tsx +9 -7
  272. package/src/client/components/workspace/terminal-panel/RealtimeTerminalView.tsx +1 -1
  273. package/src/client/components/workspace/wiki-panel/NavModal.tsx +1 -1
  274. package/src/client/data/settings/omp-schema.json +103 -42
  275. package/src/client/hooks/chat/timeline/ask-form-frame.ts +33 -0
  276. package/src/client/hooks/chat/timeline/ask-frame-asks.ts +68 -0
  277. package/src/client/hooks/chat/timeline/ask-frame-buckets.ts +77 -0
  278. package/src/client/hooks/chat/timeline/ask-frames-context.ts +68 -0
  279. package/src/client/hooks/chat/timeline/ask-frames-form.test.ts +170 -0
  280. package/src/client/hooks/chat/timeline/ask-frames.test.ts +1 -1
  281. package/src/client/hooks/chat/timeline/ask-frames.ts +36 -93
  282. package/src/client/hooks/chat/timeline/row-measure.ts +75 -0
  283. package/src/client/hooks/chat/timeline/row-window.test.ts +41 -21
  284. package/src/client/hooks/chat/timeline/row-window.ts +6 -24
  285. package/src/client/hooks/workspace/left-dock.ts +19 -0
  286. package/src/client/hooks/workspace/mobile-panel-nav.ts +90 -0
  287. package/src/client/hooks/workspace/panel-nav.test.ts +42 -21
  288. package/src/client/hooks/workspace/panel-tabs-reveal.test.tsx +286 -0
  289. package/src/client/hooks/workspace/panel-tabs-reveal.ts +174 -0
  290. package/src/client/hooks/workspace/panel-tabs.ts +22 -4
  291. package/src/client/hooks/workspace/session-state/index.test.tsx +145 -0
  292. package/src/client/hooks/workspace/session-state/index.ts +28 -16
  293. package/src/client/lib/ui/phone-row.test.ts +52 -0
  294. package/src/client/lib/ui/phone-row.ts +71 -0
  295. package/src/client/press-state.test.ts +179 -0
  296. package/src/client/tailwind.css +146 -0
  297. package/src/server/lib/bundler/titlebar-css.test.ts +10 -1
  298. package/src/server/lib/omp/rpc/constants.test.ts +6 -1
  299. package/src/shared/lib/chat/ask-form/data.ts +155 -0
  300. package/src/shared/lib/chat/ask-form/fields.ts +4 -0
  301. package/src/shared/lib/chat/ask-form/index.ts +8 -0
  302. package/src/shared/lib/chat/ask-form/types.ts +12 -0
  303. package/src/shared/lib/chat/timeline/tool-verbs.ts +28 -1
  304. package/src/shared/lib/chat/tool/tool-commands.test.ts +102 -0
  305. package/src/shared/lib/chat/tool/tool-commands.ts +124 -0
  306. package/src/shared/lib/omp/config/schema-releases.test.ts +34 -1
  307. package/src/shared/lib/omp/dialog-methods.ts +6 -0
  308. package/src/shared/lib/omp/session/wait-idle.ts +7 -3
  309. package/src/shared/lib/settings/defaults.ts +3 -2
  310. package/src/shared/lib/workspace/panel-nav.test.ts +26 -19
  311. package/src/shared/lib/workspace/panel-nav.ts +20 -9
  312. package/src/shared/types/omp/agent.ts +20 -3
  313. package/src/shared/types/settings/state.ts +17 -5
  314. package/dist/client/static/js/ImageView-6ksvyzqv.js +0 -1
  315. package/dist/client/static/js/LayoutWrapper-px60417t.js +0 -2
  316. package/dist/client/static/js/Modal-yv1718s1.js +0 -59
  317. package/dist/client/static/js/architecture-7GRP2DOG-bch3nye9.js +0 -1
  318. package/dist/client/static/js/bash-mevzaywf.js +0 -1
  319. package/dist/client/static/js/c-y1y6v00q.js +0 -1
  320. package/dist/client/static/js/cpp-wk9z0c5g.js +0 -1
  321. package/dist/client/static/js/css-3w3p9s67.js +0 -1
  322. package/dist/client/static/js/css-g85rwzty.js +0 -1
  323. package/dist/client/static/js/cynefin-OW5HDTMX-vqy5jtnk.js +0 -1
  324. package/dist/client/static/js/eventmodeling-NTZA5JFV-65ph4s3m.js +0 -1
  325. package/dist/client/static/js/flowDiagram-KWPJA3E3-hekt0qsb.js +0 -1
  326. package/dist/client/static/js/gitGraph-4MIJSDKK-t45ekjb6.js +0 -1
  327. package/dist/client/static/js/graphql-027z8sc0.js +0 -1
  328. package/dist/client/static/js/html-fqda6wxx.js +0 -1
  329. package/dist/client/static/js/index-252br0k2.js +0 -1
  330. package/dist/client/static/js/index-6bm4pw90.css +0 -1
  331. package/dist/client/static/js/index-80qxk9hx.js +0 -1
  332. package/dist/client/static/js/index-9674dxb4.js +0 -1
  333. package/dist/client/static/js/index-9k4121z4.js +0 -4
  334. package/dist/client/static/js/index-b6454rme.js +0 -12
  335. package/dist/client/static/js/index-ck0fd3aj.js +0 -2
  336. package/dist/client/static/js/index-jdf1tks1.js +0 -2
  337. package/dist/client/static/js/index-q58e8x6j.js +0 -1
  338. package/dist/client/static/js/info-A6RAGUB7-mw29xbwf.js +0 -1
  339. package/dist/client/static/js/ini-3cx6tmv4.js +0 -1
  340. package/dist/client/static/js/java-zs6qh1dm.js +0 -1
  341. package/dist/client/static/js/javascript-b9mkygak.js +0 -1
  342. package/dist/client/static/js/json-qn73s8xb.js +0 -1
  343. package/dist/client/static/js/jsx-gahhfczw.js +0 -1
  344. package/dist/client/static/js/lua-d8enp14s.js +0 -1
  345. package/dist/client/static/js/markdown-qetaj4vp.js +0 -1
  346. package/dist/client/static/js/one-dark-pro-axkq0m3s.js +0 -1
  347. package/dist/client/static/js/one-light-pncb08qd.js +0 -1
  348. package/dist/client/static/js/packet-AYTQ26CC-md85wpjq.js +0 -1
  349. package/dist/client/static/js/pie-WAS4IAKB-4grcqnp8.js +0 -1
  350. package/dist/client/static/js/properties-g6tpq003.js +0 -1
  351. package/dist/client/static/js/python-cy06fzhg.js +0 -1
  352. package/dist/client/static/js/r-vw8berfv.js +0 -1
  353. package/dist/client/static/js/radar-RG4KPBEZ-7j9prhg1.js +0 -1
  354. package/dist/client/static/js/railroad-74A4TZTK-g8x2jps1.js +0 -1
  355. package/dist/client/static/js/railroad-abnf-HS5TGJTU-cbg7k68h.js +0 -1
  356. package/dist/client/static/js/railroad-ebnf-LZEXJU2U-xfvjk9f8.js +0 -1
  357. package/dist/client/static/js/railroad-peg-WCYAUIDC-7w97805z.js +0 -1
  358. package/dist/client/static/js/sql-bwnasywx.js +0 -1
  359. package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-253nz20y.js +0 -8
  360. package/dist/client/static/js/treeView-Q6P3EWNA-xhf1r6c3.js +0 -1
  361. package/dist/client/static/js/treemap-WGGIJYW6-4n3j7ekq.js +0 -1
  362. package/dist/client/static/js/tsx-3dzv8h6k.js +0 -1
  363. package/dist/client/static/js/typescript-44vs0wn4.js +0 -1
  364. package/dist/client/static/js/wardley-WFR3VGLG-fb0py35r.js +0 -1
  365. package/dist/client/static/js/xml-yvv5fn3k.js +0 -1
  366. package/dist/client/static/js/yaml-avewh7n5.js +0 -1
  367. package/src/client/hooks/workspace/mobile-right-panel-nav.ts +0 -63
  368. package/src/shared/lib/ui/safe-area.test.ts +0 -28
  369. package/src/shared/lib/ui/safe-area.ts +0 -42
@@ -10,6 +10,7 @@ import type { PickerRow } from '@/client/components/workspace/model-dropdown/gro
10
10
  import { HarnessTabs } from '@/client/components/workspace/model-dropdown/HarnessTabs';
11
11
  import { usePopoverSize } from '@/client/components/workspace/model-dropdown/use-popover-size';
12
12
  import { ModelFullscreen } from '@/client/components/workspace/model-dropdown/Fullscreen';
13
+ import { PickerCloseButton } from '@/client/components/workspace/model-dropdown/CloseButton';
13
14
  import type { HarnessSummary } from '@/shared/types/harness';
14
15
 
15
16
  interface ModelDropdownPanelProps {
@@ -53,8 +54,15 @@ interface ModelDropdownPanelProps {
53
54
  unprobedHarness?: boolean;
54
55
  /** Why the active tab cannot run (auth, missing binary), in the agent's words. */
55
56
  harnessBlocked?: string;
56
- /** Dismiss the full-screen picker. Required on a phone, where it owns the screen. */
57
- onClose?: () => void;
57
+ /**
58
+ * Dismiss the picker.
59
+ *
60
+ * REQUIRED, not optional: the full-screen placement draws this as its close
61
+ * control, and an optional handler let a caller omit it and get an `X` that
62
+ * did nothing — a button that promises a dismissal it cannot perform. The
63
+ * popover closes through the click-outside guard and ignores it.
64
+ */
65
+ onClose: () => void;
58
66
  /** Take the whole screen instead of hanging beside the trigger. Decided ONCE
59
67
  * by the picker (`useFullscreenPicker`) and passed in, so the panel never
60
68
  * holds a second answer to the same question. */
@@ -151,7 +159,12 @@ export function ModelDropdownPanel({
151
159
  >
152
160
  {/* The harness tab strip sits ABOVE the search field: the tab changes
153
161
  what the list IS, so the search that follows applies to the list the
154
- tab selected. */}
162
+ tab selected.
163
+
164
+ 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. */}
155
168
  {harnesses.length > 0 && (
156
169
  <HarnessTabs
157
170
  harnesses={harnesses}
@@ -159,12 +172,14 @@ export function ModelDropdownPanel({
159
172
  editable={harnessEditable}
160
173
  onSelect={onSelectHarness ?? (() => {})}
161
174
  onFix={onFixHarness}
175
+ {...(fullscreen ? { actions: <PickerCloseButton onClose={onClose} /> } : {})}
162
176
  />
163
177
  )}
164
178
  <ModelDropdownHeader
165
179
  search={search}
166
180
  onSearchChange={onSearchChange}
167
181
  onAddProvider={onAddProvider}
182
+ {...(fullscreen && harnesses.length === 0 ? { actions: <PickerCloseButton onClose={onClose} /> } : {})}
168
183
  />
169
184
 
170
185
  {/* Scrollable Model Lists. Deliberately no top padding: Chrome's
@@ -291,7 +306,7 @@ export function ModelDropdownPanel({
291
306
  // `Fullscreen.tsx` states why each placement wins where it does, and why the
292
307
  // overlay must portal out of the composer's containing block.
293
308
  if (fullscreen) {
294
- return <ModelFullscreen open onClose={onClose ?? (() => {})}>{card}</ModelFullscreen>;
309
+ return <ModelFullscreen open>{card}</ModelFullscreen>;
295
310
  }
296
311
 
297
312
  return (
@@ -0,0 +1,139 @@
1
+ /**
2
+ * @license
3
+ * SPDX-License-Identifier: MIT
4
+ */
5
+
6
+ /**
7
+ * The full-screen model picker's close control rides its FIRST row.
8
+ *
9
+ * The frame used to own a 36px header containing the word "Model" and an `X`,
10
+ * above a 49px harness strip — two chrome rows on a phone where every other
11
+ * surface has one, and a label naming what the user had just tapped. The frame
12
+ * now draws no header, so the control lives on the picker's own first row. This
13
+ * file pins that: the control exists, it sits inside the strip (not a header
14
+ * band), and pressing it closes the picker.
15
+ *
16
+ * It is a separate file from `placement.test.tsx` because that one asserts the
17
+ * FRAME (where it portals, what it draws) and mounting the panel needs the
18
+ * catalog store stubbed, which would make the frame cases noisy.
19
+ */
20
+
21
+ import { afterEach, beforeEach, describe, expect, test } from 'bun:test';
22
+ import { h, render } from 'preact';
23
+ import { act } from 'preact/test-utils';
24
+ import { Window } from 'happy-dom';
25
+
26
+ import { ModelDropdownPanel } from '@/client/components/workspace/model-dropdown/Panel';
27
+ import type { HarnessSummary } from '@/shared/types/harness';
28
+ import { installDomGlobals, restoreDomGlobals } from '@/test-support/pristine-globals';
29
+
30
+ let container: HTMLElement;
31
+
32
+ class NoopResizeObserver {
33
+ observe(): void {}
34
+ unobserve(): void {}
35
+ disconnect(): void {}
36
+ }
37
+
38
+ beforeEach(() => {
39
+ const win = new Window({ url: 'http://localhost' });
40
+ installDomGlobals(win);
41
+ (globalThis as unknown as Record<string, unknown>).ResizeObserver ??= NoopResizeObserver;
42
+ container = document.createElement('div');
43
+ document.body.appendChild(container);
44
+ });
45
+
46
+ afterEach(() => {
47
+ render(null, container);
48
+ container.remove();
49
+ document.querySelectorAll('[role="dialog"]').forEach((node) => node.remove());
50
+ restoreDomGlobals();
51
+ });
52
+
53
+ /** A harness the tab strip can draw: the fields `harnessBlock` reads. */
54
+ function harness(id: string): HarnessSummary {
55
+ return {
56
+ id,
57
+ label: id,
58
+ transport: 'rpc',
59
+ canLaunch: true,
60
+ builtIn: true,
61
+ enabled: true,
62
+ command: id,
63
+ probe: null,
64
+ };
65
+ }
66
+
67
+ function mount(harnesses: HarnessSummary[], onClose: () => void): void {
68
+ act(() =>
69
+ render(
70
+ h(ModelDropdownPanel, {
71
+ search: '',
72
+ onSearchChange: () => {},
73
+ onAddProvider: () => {},
74
+ isLoading: false,
75
+ filteredModels: [],
76
+ favoriteModels: [],
77
+ recentModels: [],
78
+ providerGroups: {},
79
+ ambiguousNames: new Set<string>(),
80
+ collapsedSections: {},
81
+ onToggleCollapse: () => {},
82
+ selectedModelKey: '',
83
+ modelIndex: {},
84
+ focusedIndex: -1,
85
+ hoveredRow: null,
86
+ onSelect: () => {},
87
+ onToggleFavorite: () => {},
88
+ onCycleThinking: () => {},
89
+ onHoverItem: () => {},
90
+ onMouseLeave: () => {},
91
+ harnesses,
92
+ activeHarness: 'omp-rpc',
93
+ harnessEditable: true,
94
+ onSelectHarness: () => {},
95
+ onClose,
96
+ fullscreen: true,
97
+ }),
98
+ container,
99
+ ),
100
+ );
101
+ }
102
+
103
+ describe('the full-screen picker close control', () => {
104
+ test('it rides the harness strip, which is the frame’s first row', () => {
105
+ mount([harness('omp-rpc')], () => {});
106
+ const dialog = document.querySelector('[role="dialog"][aria-label="Select model"]') as HTMLElement;
107
+ expect(dialog).not.toBeNull();
108
+ const close = dialog.querySelector('button[aria-label="Close"]') as HTMLElement;
109
+ expect(close).not.toBeNull();
110
+ // Inside the tab strip's row, not a band of its own.
111
+ const strip = dialog.querySelector('[role="tablist"]') as HTMLElement;
112
+ expect(strip).not.toBeNull();
113
+ expect(close.closest('[role="tablist"]')).toBeNull();
114
+ expect(close.parentElement?.parentElement?.contains(strip)).toBe(true);
115
+ expect(dialog.querySelector('header')).toBeNull();
116
+ });
117
+
118
+ test('a picker with no harness tabs puts the control on the search row', () => {
119
+ mount([], () => {});
120
+ const dialog = document.querySelector('[role="dialog"][aria-label="Select model"]') as HTMLElement;
121
+ const close = dialog.querySelector('button[aria-label="Close"]') as HTMLElement;
122
+ expect(close).not.toBeNull();
123
+ expect(dialog.querySelector('[role="tablist"]')).toBeNull();
124
+ expect(dialog.querySelector('input[placeholder="Search models"]')).not.toBeNull();
125
+ });
126
+
127
+ test('pressing it closes the picker', () => {
128
+ let closed = 0;
129
+ mount([harness('omp-rpc')], () => {
130
+ closed += 1;
131
+ });
132
+ const close = document.querySelector<HTMLButtonElement>(
133
+ '[role="dialog"] button[aria-label="Close"]',
134
+ );
135
+ expect(close).not.toBeNull();
136
+ act(() => close?.click());
137
+ expect(closed).toBe(1);
138
+ });
139
+ });
@@ -111,17 +111,19 @@ describe('the full-screen frame', () => {
111
111
  expect(document.querySelector('[role="dialog"]')).toBeNull();
112
112
  });
113
113
 
114
- test('the content is the picker’s own, and the close control dismisses it', () => {
114
+ test('the content is the picker’s own, and the frame draws no header row', () => {
115
115
  // One tree, two frames: a full-screen view that re-implemented the list
116
116
  // would drift from the popover (a new section landing in only one of them).
117
117
  const children = h('div', { 'data-testid': 'picker-content' }, 'rows');
118
- let closed = 0;
119
- act(() => render(h(ModelFullscreen, { open: true, onClose: () => { closed += 1; }, children }), container));
118
+ act(() => render(h(ModelFullscreen, { open: true, children }), container));
120
119
 
121
120
  expect(document.querySelector('[data-testid="picker-content"]')?.textContent).toBe('rows');
122
- const close = document.querySelector<HTMLButtonElement>('button[aria-label="Close"]');
123
- expect(close).not.toBeNull();
124
- act(() => close?.click());
125
- expect(closed).toBe(1);
121
+ // The frame used to own a 36px band whose only content was the word "Model"
122
+ // and an `X`, sitting above the harness strip — two chrome rows where every
123
+ // other phone surface has one. The close control now rides the picker's
124
+ // first row (`ModelDropdownPanel`), so the frame has no header at all.
125
+ const dialog = document.querySelector('[role="dialog"][aria-label="Select model"]') as HTMLElement;
126
+ expect(dialog.querySelector('header')).toBeNull();
127
+ expect(dialog.textContent).not.toContain('Model');
126
128
  });
127
129
  });
@@ -184,7 +184,7 @@ export const RealtimeTerminalView = forwardRef<RealtimeTerminalHandle, RealtimeT
184
184
  <button
185
185
  type="button"
186
186
  onClick={scrollToBottom}
187
- className="absolute bottom-3 right-4 z-20 flex items-center space-x-1.5 px-2.5 py-1 bg-paper hover:bg-canvas text-ink border border-ink/20 rounded-full shadow-lg text-[11px] font-mono transition-all animate-fade-in cursor-pointer active:scale-95"
187
+ className="absolute bottom-3 right-4 z-20 flex items-center space-x-1.5 px-2.5 py-1 bg-paper hover:bg-canvas text-ink border border-ink/20 rounded-full shadow-lg text-[11px] font-mono transition-all animate-fade-in cursor-pointer"
188
188
  title="Scroll to latest output (Shift+End)"
189
189
  >
190
190
  <ArrowDown size={12} className="text-warning" />
@@ -37,7 +37,7 @@ export function WikiNavTrigger({ open, onClick }: WikiNavTriggerProps) {
37
37
  title="Browse wiki pages"
38
38
  aria-label="Browse wiki pages"
39
39
  aria-expanded={open}
40
- className="absolute bottom-3 right-3 z-20 flex h-9 w-9 items-center justify-center rounded-full border border-ink/20 bg-paper text-ink/60 shadow-sm transition-all hover:bg-ink/5 hover:text-ink active:scale-95"
40
+ className="absolute bottom-3 right-3 z-20 flex h-9 w-9 items-center justify-center rounded-full border border-ink/20 bg-paper text-ink/60 shadow-sm transition-all hover:bg-ink/5 hover:text-ink"
41
41
  >
42
42
  <ListTree size={16} />
43
43
  </button>
@@ -1,5 +1,5 @@
1
1
  {
2
- "source": "@oh-my-pi/pi-coding-agent 10 tabs / 638 settings",
2
+ "source": "@oh-my-pi/pi-coding-agent 10 tabs / 643 settings",
3
3
  "tabs": [
4
4
  {
5
5
  "id": "appearance",
@@ -99,7 +99,8 @@
99
99
  "Extensions",
100
100
  "Disassembler",
101
101
  "IDA Pro",
102
- "Ghidra"
102
+ "Ghidra",
103
+ "Binary Ninja"
103
104
  ]
104
105
  },
105
106
  {
@@ -528,16 +529,6 @@
528
529
  ]
529
530
  }
530
531
  },
531
- "tui.completeScrollback": {
532
- "type": "boolean",
533
- "default": false,
534
- "ui": {
535
- "tab": "appearance",
536
- "group": "Display",
537
- "label": "Complete Scrollback",
538
- "description": "Send transcript rows pushed off screen by a growing HUD or dialog straight to scrollback; when it shrinks, blank rows sit between the transcript and the input until new output fills them"
539
- }
540
- },
541
532
  "terminal.showProgress": {
542
533
  "type": "boolean",
543
534
  "default": false,
@@ -1694,6 +1685,20 @@
1694
1685
  "description": "Notify when the ask tool is waiting for input"
1695
1686
  }
1696
1687
  },
1688
+ "pty.notify": {
1689
+ "type": "enum",
1690
+ "default": "on",
1691
+ "values": [
1692
+ "on",
1693
+ "off"
1694
+ ],
1695
+ "ui": {
1696
+ "tab": "interaction",
1697
+ "group": "Notifications",
1698
+ "label": "Console Notification",
1699
+ "description": "Notify when an interactive console (bash `pty`) is waiting on you"
1700
+ }
1701
+ },
1697
1702
  "recap.enabled": {
1698
1703
  "type": "boolean",
1699
1704
  "default": true,
@@ -2059,7 +2064,7 @@
2059
2064
  "tab": "model",
2060
2065
  "group": "Thinking",
2061
2066
  "label": "Tool-Call Loop Exempt Tools",
2062
- "description": "Tool names, or xd:// device names of write dispatches (for example mcp__peers_wait), that may repeat consecutively without triggering the cross-turn loop guard"
2067
+ "description": "Tool names, including tools run as commands through bash (for example mcp__peers_wait), that may repeat consecutively without triggering the cross-turn loop guard"
2063
2068
  }
2064
2069
  },
2065
2070
  "inlineToolDescriptors": {
@@ -2714,7 +2719,7 @@
2714
2719
  "tab": "model",
2715
2720
  "group": "Retry & Fallback",
2716
2721
  "label": "Max Retry Delay",
2717
- "description": "Maximum wait between retries, in ms. When the provider asks us to wait longer than this and no credential or model fallback succeeds, the request fails fast instead of sleeping (e.g. 3-hour Anthropic rate-limit windows). 0 disables the ceiling — to let the session auto-resume through provider-stated quota resets."
2722
+ "description": "Maximum wait between retries, in ms. When the retry would wait longer and no credential or model fallback succeeds, the request fails fast instead of sleeping (e.g. 3-hour Anthropic rate-limit windows). 0 disables the ceiling."
2718
2723
  }
2719
2724
  },
2720
2725
  "retry.waitForUsageReset": {
@@ -2724,7 +2729,7 @@
2724
2729
  "tab": "model",
2725
2730
  "group": "Retry & Fallback",
2726
2731
  "label": "Wait For Usage Reset",
2727
- "description": "When a provider reports usage-limit exhaustion with a reset time (5-hour or weekly quota windows on any provider), sleep until the reset instead of failing fast past retry.maxDelayMs. Waits are abortable (Esc) but also hold subagents, so leave off for unattended runs."
2732
+ "description": "Usage-limit waits within retry.maxDelayMs are already allowed. Enable this to also wait past that cap when the provider reports a reset time, such as a 5-hour or weekly quota window. Waits are abortable (Esc) but also hold subagents, so leave off for unattended runs."
2728
2733
  }
2729
2734
  },
2730
2735
  "retry.modelFallback": {
@@ -5860,13 +5865,23 @@
5860
5865
  "patch",
5861
5866
  "replace",
5862
5867
  "sloppy",
5868
+ "magic",
5863
5869
  "none"
5864
5870
  ],
5865
5871
  "ui": {
5866
5872
  "tab": "files",
5867
5873
  "group": "Editing",
5868
5874
  "label": "Edit Mode",
5869
- "description": "Select the edit tool variant (replace, patch, hashline, or apply_patch); none removes the edit tool and keeps bash enabled"
5875
+ "description": "Select the edit tool variant (replace, patch, hashline, or apply_patch); magic takes described changes that a fast model writes; none removes the edit tool and keeps bash enabled"
5876
+ }
5877
+ },
5878
+ "edit.magic.model": {
5879
+ "type": "string",
5880
+ "ui": {
5881
+ "tab": "files",
5882
+ "group": "Editing",
5883
+ "label": "Magic Edit Model",
5884
+ "description": "Model selector or role alias (@slow) for the model that applies magic-mode changes, empty = smol role"
5870
5885
  }
5871
5886
  },
5872
5887
  "edit.fuzzyMatch": {
@@ -6755,12 +6770,12 @@
6755
6770
  "tab": "tools",
6756
6771
  "group": "Available Tools",
6757
6772
  "label": "Find (semantic grep)",
6758
- "description": "Enable the find tool: natural-language search for files and line ranges, judged by the judge model role. Auto enables it only when the judge role resolves to a native TypeSafe jev model",
6773
+ "description": "Enable the find tool: natural-language search for files and line ranges, judged by the judge model role. Auto enables it when the first usable judge is native",
6759
6774
  "options": [
6760
6775
  {
6761
6776
  "value": "auto",
6762
6777
  "label": "Auto",
6763
- "description": "Enable when the judge role resolves to a native TypeSafe jev model"
6778
+ "description": "Enable when the first usable judge is native"
6764
6779
  },
6765
6780
  {
6766
6781
  "value": "on",
@@ -6812,7 +6827,7 @@
6812
6827
  "tab": "tools",
6813
6828
  "group": "Available Tools",
6814
6829
  "label": "Generate Image",
6815
- "description": "Enable the generate_image tool (text-to-image generation and editing). Exposed as an xd:// device when tools.xdev is on."
6830
+ "description": "Enable the generate_image tool (text-to-image generation and editing). Mounted as a tool command when tools.commands is on."
6816
6831
  }
6817
6832
  },
6818
6833
  "computer.enabled": {
@@ -7177,17 +7192,17 @@
7177
7192
  "description": "Draw a live widget for each running background job (charts, bars, status grids derived from its output) in the wait card, the jobs pill and the jobs sheet, and caption long shell commands with one line on what they do. The `widget` model role (default: `smol`) writes one spec and at most one caption per job; updates need no further model calls"
7178
7193
  }
7179
7194
  },
7180
- "tools.xdev": {
7195
+ "tools.commands": {
7181
7196
  "type": "boolean",
7182
7197
  "default": true,
7183
7198
  "ui": {
7184
7199
  "tab": "tools",
7185
7200
  "group": "Discovery & MCP",
7186
- "label": "xd:// Tools",
7187
- "description": "Mount rarely-used (discoverable) tools under xd:// device URLs driven via read/write instead of shipping their schemas on every request. Sessions whose explicit tool list grants read but omits write mount devices through a device-only write transport (only local:// scratch stays writable besides devices). Disable to expose every enabled tool top-level."
7201
+ "label": "Tool Commands",
7202
+ "description": "Mount rarely-used (discoverable) tools as bash commands with schema-derived `--help` instead of shipping their schemas on every request. Needs the bash tool: sessions without it keep every enabled tool top-level. Disable to expose every enabled tool top-level."
7188
7203
  }
7189
7204
  },
7190
- "tools.xdevDocs": {
7205
+ "tools.commandDocs": {
7191
7206
  "type": "enum",
7192
7207
  "default": "catalog",
7193
7208
  "values": [
@@ -7198,45 +7213,45 @@
7198
7213
  "ui": {
7199
7214
  "tab": "tools",
7200
7215
  "group": "Discovery & MCP",
7201
- "label": "xd:// Prompt Docs",
7202
- "description": "Choose which mounted-device docs and schemas are inlined in the system prompt. Built-ins keeps core tools inline while MCP and extension tools stay on-demand.",
7216
+ "label": "Tool Command Prompt Docs",
7217
+ "description": "Choose which mounted commands get their `--help` text inlined in the system prompt. Built-ins keeps core tools inline while MCP and extension tools stay on demand.",
7203
7218
  "options": [
7204
7219
  {
7205
7220
  "value": "inline",
7206
- "label": "All Devices",
7207
- "description": "Inline docs and schemas for every mounted device."
7221
+ "label": "All Commands",
7222
+ "description": "Inline help for every mounted command."
7208
7223
  },
7209
7224
  {
7210
7225
  "value": "builtins",
7211
7226
  "label": "Built-ins Only",
7212
- "description": "Inline built-in docs; fetch MCP and extension docs on demand."
7227
+ "description": "Inline built-in help; MCP and extension help on demand."
7213
7228
  },
7214
7229
  {
7215
7230
  "value": "catalog",
7216
7231
  "label": "Catalog Only",
7217
- "description": "List every device; fetch all docs on demand."
7232
+ "description": "List every command; run `--help` on demand."
7218
7233
  }
7219
7234
  ]
7220
7235
  }
7221
7236
  },
7222
- "tools.xdevInlineDevices": {
7237
+ "tools.commandInline": {
7223
7238
  "type": "array",
7224
7239
  "default": [],
7225
7240
  "ui": {
7226
7241
  "tab": "tools",
7227
7242
  "group": "Discovery & MCP",
7228
- "label": "xd:// Inline Devices",
7229
- "description": "When xd:// Prompt Docs is Built-ins Only, inline dynamic devices whose names match these glob patterns (for example mcp__context_mode_*). Catalog Only ignores this setting."
7243
+ "label": "Tool Command Inline Help",
7244
+ "description": "When Tool Command Prompt Docs is Built-ins Only, also inline dynamic commands whose names match these glob patterns (for example mcp__context_mode_*). Catalog Only ignores this setting."
7230
7245
  }
7231
7246
  },
7232
- "tools.xdevNotices": {
7247
+ "tools.commandNotices": {
7233
7248
  "type": "boolean",
7234
7249
  "default": true,
7235
7250
  "ui": {
7236
7251
  "tab": "tools",
7237
7252
  "group": "Discovery & MCP",
7238
- "label": "xd:// Mount Notices",
7239
- "description": "Show an `xd://: mounted …` notice when MCP or extension tools are mounted or unmounted. The model still learns of the change with its next prompt."
7253
+ "label": "Tool Command Mount Notices",
7254
+ "description": "Show a notice when MCP or extension tools are mounted or unmounted as commands; the model still learns of the change with its next prompt."
7240
7255
  }
7241
7256
  },
7242
7257
  "dev.autoqa": {
@@ -7246,7 +7261,7 @@
7246
7261
  "tab": "tools",
7247
7262
  "group": "Developer",
7248
7263
  "label": "Auto QA",
7249
- "description": "Automated tool issue reporting (xd://report_issue). On by default; the first report asks for consent, and denying it disables reporting until re-enabled explicitly"
7264
+ "description": "Automated tool issue reporting (`report_issue`). On by default; the first report asks for consent, and denying it disables reporting until re-enabled explicitly"
7250
7265
  }
7251
7266
  },
7252
7267
  "dev.autoqaPush.endpoint": {
@@ -8595,7 +8610,7 @@
8595
8610
  "tab": "tools",
8596
8611
  "group": "Grep & Browser",
8597
8612
  "label": "Browser Relay",
8598
- "description": "Drive your own Chrome tabs through the omp browser relay. Install the extension once (`omp browser-relay install`); the relay server auto-starts when the browser prelude needs it. Takes precedence over Browser CDP URL; set PI_BROWSER_RELAY=0 or PI_BROWSER_RELAY=1 to override. Subagents skip it unless an open passes app: \"relay\"."
8613
+ "description": "Drive your own Chrome tabs through the omp browser relay. Install the extension once (`omp browser-relay install`); its native host serves the relay while Chrome runs. Takes precedence over Browser CDP URL; set PI_BROWSER_RELAY=0 or PI_BROWSER_RELAY=1 to override, or PI_BROWSER_RELAY=only to make it the only browser (sessions started from the extension's side panel). Subagents skip it unless an open passes app: \"relay\" or the relay is the only browser."
8599
8614
  }
8600
8615
  },
8601
8616
  "browser.relayUrl": {
@@ -8604,7 +8619,7 @@
8604
8619
  "tab": "tools",
8605
8620
  "group": "Grep & Browser",
8606
8621
  "label": "Browser Relay URL",
8607
- "description": "omp browser relay endpoint (default http://127.0.0.1:9224)."
8622
+ "description": "Override local browser relay discovery, for example to reach a relay forwarded from another machine."
8608
8623
  }
8609
8624
  },
8610
8625
  "browser.headless": {
@@ -8710,18 +8725,19 @@
8710
8725
  "auto",
8711
8726
  "ghidra",
8712
8727
  "ida",
8728
+ "binja",
8713
8729
  "none"
8714
8730
  ],
8715
8731
  "ui": {
8716
8732
  "tab": "tools",
8717
8733
  "group": "Available Tools",
8718
8734
  "label": "Disassembler",
8719
- "description": "Backend for analysis selectors in read and eval's dsm namespace; bare executable reads show metadata only. Auto uses IDA Pro when installed, else Ghidra (downloaded on first analysis)",
8735
+ "description": "Backend for analysis selectors in read and eval's dsm namespace; bare executable reads show metadata only. Auto uses IDA Pro when installed, else Ghidra (downloaded on first analysis); Binary Ninja is used only when selected",
8720
8736
  "options": [
8721
8737
  {
8722
8738
  "value": "auto",
8723
8739
  "label": "Auto",
8724
- "description": "IDA Pro when an install with idalib is found, otherwise Ghidra"
8740
+ "description": "IDA Pro when an install with idalib is found, otherwise Ghidra; never Binary Ninja"
8725
8741
  },
8726
8742
  {
8727
8743
  "value": "ghidra",
@@ -8733,6 +8749,11 @@
8733
8749
  "label": "IDA Pro",
8734
8750
  "description": "IDA Pro via idalib; analysis disabled when no install is found"
8735
8751
  },
8752
+ {
8753
+ "value": "binja",
8754
+ "label": "Binary Ninja",
8755
+ "description": "Binary Ninja via its headless Python API (needs a headless-capable licence); never chosen by Auto; analysis disabled when no install is found"
8756
+ },
8736
8757
  {
8737
8758
  "value": "none",
8738
8759
  "label": "None",
@@ -8748,7 +8769,7 @@
8748
8769
  "tab": "tools",
8749
8770
  "group": "Disassembler",
8750
8771
  "label": "Max Open Databases",
8751
- "description": "Most databases (omp.ida.* / omp.ghidra.* daemons in omp ps) open at once per project; opening another evicts an unreferenced idle one. Close retained dsm handles when done",
8772
+ "description": "Most databases open at once per project (each is a disasm unit in omp ps, labelled with its backend and binary); opening another evicts an unreferenced idle one. Close retained dsm handles when done",
8752
8773
  "options": [
8753
8774
  {
8754
8775
  "value": "2",
@@ -8841,6 +8862,26 @@
8841
8862
  "description": "Python interpreter that can import pyghidra; empty uses a managed venv built from the install's bundled wheels"
8842
8863
  }
8843
8864
  },
8865
+ "binja.installDir": {
8866
+ "type": "string",
8867
+ "default": "",
8868
+ "ui": {
8869
+ "tab": "tools",
8870
+ "group": "Binary Ninja",
8871
+ "label": "Binary Ninja Install Dir",
8872
+ "description": "Directory containing the Binary Ninja core library, or the macOS .app bundle; empty uses $BN_INSTALL_DIR, the lastrun file in the Binary Ninja user folder, then the default install locations"
8873
+ }
8874
+ },
8875
+ "binja.python": {
8876
+ "type": "string",
8877
+ "default": "",
8878
+ "ui": {
8879
+ "tab": "tools",
8880
+ "group": "Binary Ninja",
8881
+ "label": "Binary Ninja Python",
8882
+ "description": "Python 3 interpreter that can load the Binary Ninja API from the install's python directory; empty auto-detects"
8883
+ }
8884
+ },
8844
8885
  "mcp.enableProjectConfig": {
8845
8886
  "type": "boolean",
8846
8887
  "default": true,
@@ -8861,6 +8902,26 @@
8861
8902
  "description": "Wait this many milliseconds for initial MCP tool discovery; 0 waits until connections settle"
8862
8903
  }
8863
8904
  },
8905
+ "mcp.shared": {
8906
+ "type": "boolean",
8907
+ "default": true,
8908
+ "ui": {
8909
+ "tab": "tools",
8910
+ "group": "Discovery & MCP",
8911
+ "label": "Shared MCP Servers",
8912
+ "description": "Run MCP servers through the daemon so every omp instance shares one process per server and a cached tool catalog. Servers that hold a session keep one process per instance (falls back to private servers when unavailable)"
8913
+ }
8914
+ },
8915
+ "mcp.idleStopMinutes": {
8916
+ "type": "number",
8917
+ "default": 5,
8918
+ "ui": {
8919
+ "tab": "tools",
8920
+ "group": "Discovery & MCP",
8921
+ "label": "MCP Idle Stop",
8922
+ "description": "Stop a shared MCP server after this many minutes without use; it restarts on the next request"
8923
+ }
8924
+ },
8864
8925
  "mcp.evalNamespaces": {
8865
8926
  "type": "boolean",
8866
8927
  "default": false,
@@ -8868,7 +8929,7 @@
8868
8929
  "tab": "tools",
8869
8930
  "group": "Discovery & MCP",
8870
8931
  "label": "MCP Eval Namespaces",
8871
- "description": "Expose each MCP server as an eval global (github.create_issue(...)) instead of top-level or xd:// tools"
8932
+ "description": "Expose each MCP server as an eval global (github.create_issue(...)) instead of top-level tools or tool commands"
8872
8933
  }
8873
8934
  },
8874
8935
  "mcp.builtinTransforms": {
@@ -0,0 +1,33 @@
1
+ /**
2
+ * @license
3
+ * SPDX-License-Identifier: MIT
4
+ */
5
+
6
+ /**
7
+ * Which ask call omp 19.1.0's whole-form dialog belongs to.
8
+ *
9
+ * Since 19.1.0 the `ask` tool takes the RPC host's real `formDialog`: it sends
10
+ * the form ONCE as `{method:"form", html}` and parks on one `{data}` reply. The
11
+ * frame carries no `title` and no per-question ids, so neither key the
12
+ * per-field walk uses can place it — the `html` is the only one both sides
13
+ * hold, because it is the exact string the tool call's arguments carry.
14
+ *
15
+ * A child that normalizes its own HTML on the way out leaves the strings
16
+ * unequal while the QUESTION COUNT still identifies the call, and the ask tool
17
+ * is exclusive (nothing else can be asking while it blocks), so a single open
18
+ * ask is unambiguous. Anything else is an ORPHAN: an extension's own
19
+ * `formDialog` has no card, and the timeline draws it inline — the modal has no
20
+ * form body.
21
+ */
22
+
23
+ import { parseAskForm } from '@/shared/lib/chat/ask-form';
24
+ import type { AskCall } from '@/client/hooks/chat/timeline/ask-frame-asks';
25
+
26
+ /** The owning call, or undefined when no open ask can claim the form. */
27
+ export function claimFormFrame(html: string, openAsks: readonly AskCall[]): AskCall | undefined {
28
+ const exact = [...openAsks].reverse().find((candidate) => candidate.html === html);
29
+ if (exact) return exact;
30
+ if (openAsks.length !== 1) return undefined;
31
+ const only = openAsks[0];
32
+ return parseAskForm(html).length === only.questions.length ? only : undefined;
33
+ }