@kabmo-labs/kabmo 0.45.1 → 0.46.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.
- package/dist/client/index.html +1 -1
- package/dist/client/index.js +412 -412
- package/dist/client/static/js/{CsvGrid-eqmctwyq.js → CsvGrid-br4j001k.js} +2 -2
- package/dist/client/static/js/{DocxView-rjrshmzf.js → DocxView-kmtkbmmw.js} +3 -3
- package/dist/client/static/js/{DrawioView-za569srw.js → DrawioView-3df0g3jr.js} +2 -2
- package/dist/client/static/js/ImageView-2r8p5z3y.js +1 -0
- package/dist/client/static/js/LayoutWrapper-rq3d2a4e.js +2 -0
- package/dist/client/static/js/Modal-tmxhxd6q.js +59 -0
- package/dist/client/static/js/{PdfView-2m78d4jz.js → PdfView-p5z7c7eg.js} +1 -1
- package/dist/client/static/js/{SessionsView-54awmse0.js → SessionsView-t06h6zfx.js} +1 -1
- package/dist/client/static/js/{SheetView-xfvjdh24.js → SheetView-agw459v2.js} +19 -19
- package/dist/client/static/js/{SvgPreview-yfjrfb40.js → SvgPreview-b9rfy1h6.js} +1 -1
- package/dist/client/static/js/{abnfDiagram-O67JEVCF-tmsa3b36.js → abnfDiagram-O67JEVCF-wbnhzcnj.js} +1 -1
- package/dist/client/static/js/architecture-7GRP2DOG-pvb4d65d.js +1 -0
- package/dist/client/static/js/{architectureDiagram-NJMV4G6O-a5effrpz.js → architectureDiagram-NJMV4G6O-t2sgevea.js} +3 -3
- package/dist/client/static/js/{astro-56b0as3q.js → astro-hyj5wege.js} +1 -1
- package/dist/client/static/js/bash-8d8z8zrg.js +1 -0
- package/dist/client/static/js/{blockDiagram-BEXU5L5S-3q2kf22c.js → blockDiagram-BEXU5L5S-v2nzp54a.js} +5 -5
- package/dist/client/static/js/c-acmn1zc9.js +1 -0
- package/dist/client/static/js/{c4Diagram-YGBWAQC7-mkw3jvf6.js → c4Diagram-YGBWAQC7-7h03146b.js} +3 -3
- package/dist/client/static/js/{classDiagram-v2-NBCMYWYE-fw9bs1za.js → classDiagram-v2-NBCMYWYE-m57e9kp1.js} +7 -7
- package/dist/client/static/js/{cose-bilkent-JH36ORCC-eqjrpps4.js → cose-bilkent-JH36ORCC-c4tnh4mg.js} +1 -1
- package/dist/client/static/js/cpp-620mvjkk.js +1 -0
- package/dist/client/static/js/css-bt76kxbq.js +1 -0
- package/dist/client/static/js/css-drfs4n12.js +1 -0
- package/dist/client/static/js/cynefin-OW5HDTMX-gmx4vean.js +1 -0
- package/dist/client/static/js/{cynefinDiagram-VND7K2PF-4w61hq3e.js → cynefinDiagram-VND7K2PF-mjf6njey.js} +1 -1
- package/dist/client/static/js/{dagre-6A5THRUB-t52jdfr1.js → dagre-6A5THRUB-6yma9ch3.js} +2 -2
- package/dist/client/static/js/{diagram-22UHCM2B-448hyxaz.js → diagram-22UHCM2B-1q4ce2gb.js} +18 -18
- package/dist/client/static/js/{diagram-3UASUU5V-350k213a.js → diagram-3UASUU5V-0ttps29p.js} +1 -1
- package/dist/client/static/js/{diagram-ATOU4E4O-9davjeyb.js → diagram-ATOU4E4O-1mzexgv1.js} +3 -3
- package/dist/client/static/js/{diagram-CDSNMT55-034wwghk.js → diagram-CDSNMT55-4ae89t23.js} +4 -4
- package/dist/client/static/js/{diagram-MLGK6HIB-kzzd4ecm.js → diagram-MLGK6HIB-057jaqvh.js} +2 -2
- package/dist/client/static/js/{diagram-MPIPVDR6-rsky4e3s.js → diagram-MPIPVDR6-p6yyq5sx.js} +2 -2
- package/dist/client/static/js/{dockerfile-68b0e6b6.js → dockerfile-00hqsk9c.js} +1 -1
- package/dist/client/static/js/{ebnfDiagram-ZINNZB2B-7bm1e394.js → ebnfDiagram-ZINNZB2B-bsk7dvm4.js} +1 -1
- package/dist/client/static/js/{elixir-12pgbgtq.js → elixir-80wq7gak.js} +1 -1
- package/dist/client/static/js/{elk-276RUBZZ-4xjp4rgh.js → elk-276RUBZZ-dsq91er5.js} +1 -1
- package/dist/client/static/js/{erDiagram-OPXOYQCR-v52qmcrv.js → erDiagram-OPXOYQCR-p7p13mbh.js} +9 -9
- package/dist/client/static/js/{erlang-811btv6p.js → erlang-814e8qy5.js} +1 -1
- package/dist/client/static/js/eventmodeling-NTZA5JFV-vrnheyh7.js +1 -0
- package/dist/client/static/js/flowDiagram-KWPJA3E3-7b4w6phx.js +1 -0
- package/dist/client/static/js/{ganttDiagram-FUAMR5RP-1r1fn18p.js → ganttDiagram-FUAMR5RP-bwgnttyk.js} +4 -4
- package/dist/client/static/js/gitGraph-4MIJSDKK-n6wnc8st.js +1 -0
- package/dist/client/static/js/{gitGraphDiagram-X574FWY7-zt5cwg83.js → gitGraphDiagram-X574FWY7-ca0gj5am.js} +13 -13
- package/dist/client/static/js/graphql-j1a6zp7m.js +1 -0
- package/dist/client/static/js/html-m0megrvb.js +1 -0
- package/dist/client/static/js/index-064vdkrs.js +2 -0
- package/dist/client/static/js/{index-x0kgnkv3.js → index-16sd19f0.js} +2 -2
- package/dist/client/static/js/{index-qt9jc4ck.js → index-19x11s5w.js} +2 -2
- package/dist/client/static/js/{index-2b1wnvez.js → index-1c2jvnyh.js} +2 -2
- package/dist/client/static/js/{index-127se1a3.js → index-29npynva.js} +19 -19
- package/dist/client/static/js/{index-gcwmpfr4.js → index-2ks0m8ss.js} +2 -2
- package/dist/client/static/js/{index-pfj3sd1n.js → index-33qxg79j.js} +7 -7
- package/dist/client/static/js/index-3bf7r7z4.js +12 -0
- package/dist/client/static/js/index-3qnjdjg2.js +1 -0
- package/dist/client/static/js/index-4bqssvt6.js +2 -0
- package/dist/client/static/js/{index-03j5j1j0.js → index-561gkvve.js} +2 -2
- package/dist/client/static/js/{index-xgv501v0.js → index-5gf52a6d.js} +2 -2
- package/dist/client/static/js/{index-84vmdg3k.js → index-5h8y54t6.js} +1 -1
- package/dist/client/static/js/{index-f51jxezc.js → index-5wz0y88c.js} +2 -2
- package/dist/client/static/js/{index-x2wvq4ae.js → index-64sqfr4a.js} +2 -2
- package/dist/client/static/js/{index-528x5x8c.js → index-7055hdx1.js} +1 -1
- package/dist/client/static/js/index-8pksqzwq.js +1 -0
- package/dist/client/static/js/index-95kese1h.js +1 -0
- package/dist/client/static/js/{index-tkfxnnr5.js → index-9d3n04vb.js} +2 -2
- package/dist/client/static/js/{index-ga6492qc.js → index-aagt3382.js} +1 -1
- package/dist/client/static/js/{index-gzafyqsr.js → index-abs635a1.js} +56 -56
- package/dist/client/static/js/{index-q36gq3yz.js → index-amys498v.js} +198 -198
- package/dist/client/static/js/{index-9zwtpazh.js → index-bafe7hmd.js} +2 -2
- package/dist/client/static/js/{index-mnh8nptt.js → index-bjv5ga2e.js} +2 -2
- package/dist/client/static/js/{index-fbct0jcf.js → index-d23eacf2.js} +2 -2
- package/dist/client/static/js/{index-wqrdgt1g.js → index-dn7hg4em.js} +2 -2
- package/dist/client/static/js/index-dpy3ewrn.css +1 -0
- package/dist/client/static/js/{index-2tmnqqzt.js → index-dr5hca5b.js} +3 -3
- package/dist/client/static/js/{index-3h2mr90j.js → index-dxvtjn6a.js} +2 -2
- package/dist/client/static/js/index-eqhjs1yv.js +4 -0
- package/dist/client/static/js/{index-cza9mnxx.js → index-ex5dtdx2.js} +6 -6
- package/dist/client/static/js/{index-8ps5gdwz.js → index-f7te27n5.js} +5 -5
- package/dist/client/static/js/{index-6sqmhdyv.js → index-fj5rsp5v.js} +2 -2
- package/dist/client/static/js/{index-n1ga63de.js → index-g7s0wsag.js} +2 -2
- package/dist/client/static/js/index-gq5w5w8x.js +2 -0
- package/dist/client/static/js/{index-jaqjvk22.js → index-hkz2mz34.js} +2 -2
- package/dist/client/static/js/{index-gzp4j2h5.js → index-hnb66d3s.js} +2 -2
- package/dist/client/static/js/{index-bcpyxt97.js → index-j718pxb3.js} +2 -2
- package/dist/client/static/js/{index-0gmw2bt3.js → index-jkay7aw7.js} +2 -2
- package/dist/client/static/js/{index-ex3w7t7s.js → index-k5zfzgez.js} +2 -2
- package/dist/client/static/js/{index-vgcm2g0g.js → index-kty4ncsr.js} +2 -2
- package/dist/client/static/js/{index-2zntn964.js → index-ncpwteyt.js} +2 -2
- package/dist/client/static/js/{index-pxq4v81r.js → index-nw5mvcaj.js} +2 -2
- package/dist/client/static/js/{index-j50y0z44.js → index-pwe6chtp.js} +1 -1
- package/dist/client/static/js/{index-8dtp7mt0.js → index-qf3y3ahx.js} +2 -2
- package/dist/client/static/js/{index-as1wptfa.js → index-qfxn7yh5.js} +2 -2
- package/dist/client/static/js/{index-snjtkfkq.js → index-qn200x1b.js} +6 -6
- package/dist/client/static/js/index-red856x6.js +1 -0
- package/dist/client/static/js/{index-e6any867.js → index-sa1675y0.js} +2 -2
- package/dist/client/static/js/{index-m9s7r4z9.js → index-ta6gpcpw.js} +3 -3
- package/dist/client/static/js/{index-ehg2ftnp.js → index-trvqvb1v.js} +2 -2
- package/dist/client/static/js/{index-2gbfke1a.js → index-twsbv1yn.js} +1 -1
- package/dist/client/static/js/{index-1nwwvv29.js → index-vjmg7kn5.js} +2 -2
- package/dist/client/static/js/{index-nzhwd6t3.js → index-wbws16ag.js} +2 -2
- package/dist/client/static/js/{index-frqq7yen.js → index-x1fqhhpp.js} +64 -64
- package/dist/client/static/js/{index-mhnwyra0.js → index-y2z8nsvw.js} +2 -2
- package/dist/client/static/js/{index-t0yv1375.js → index-z0fkfphe.js} +2 -2
- package/dist/client/static/js/{index-dmv2zasz.js → index-z4530r3c.js} +2 -2
- package/dist/client/static/js/{index-zwx3vbf0.js → index-zedt16w7.js} +1 -1
- package/dist/client/static/js/{index-c7vbr57m.js → index-zq0qxb17.js} +2 -2
- package/dist/client/static/js/info-A6RAGUB7-1xtdxjz2.js +1 -0
- package/dist/client/static/js/{infoDiagram-VRGFBTTK-yd4zwrtv.js → infoDiagram-VRGFBTTK-7q58qdf1.js} +2 -2
- package/dist/client/static/js/ini-5f4zqtqr.js +1 -0
- package/dist/client/static/js/{ishikawaDiagram-OU5B5YK6-7sjp09d4.js → ishikawaDiagram-OU5B5YK6-9jmeszag.js} +3 -3
- package/dist/client/static/js/java-jj41mty3.js +1 -0
- package/dist/client/static/js/javascript-n9w9p97f.js +1 -0
- package/dist/client/static/js/{journeyDiagram-ZHPQQLJL-qh9jk7qk.js → journeyDiagram-ZHPQQLJL-0d7xe845.js} +5 -5
- package/dist/client/static/js/json-rnh2h17x.js +1 -0
- package/dist/client/static/js/jsx-4gecrt29.js +1 -0
- package/dist/client/static/js/{julia-mgsev9df.js → julia-yv2j8qd0.js} +1 -1
- package/dist/client/static/js/{kanban-definition-PNTS6WVX-cjc8k0jk.js → kanban-definition-PNTS6WVX-7p83rwdn.js} +5 -5
- package/dist/client/static/js/lua-zszaw2f7.js +1 -0
- package/dist/client/static/js/markdown-nm6gw4v4.js +1 -0
- package/dist/client/static/js/{mermaid.core-vw0b7r0k.js → mermaid.core-hwhzw0wv.js} +7 -7
- package/dist/client/static/js/{mindmap-definition-NLK3R4M7-jyhtpt1z.js → mindmap-definition-NLK3R4M7-hy0rtr7t.js} +8 -8
- package/dist/client/static/js/one-dark-pro-4b8er03c.js +1 -0
- package/dist/client/static/js/one-light-e6r3vsz4.js +1 -0
- package/dist/client/static/js/packet-AYTQ26CC-zm1r82x5.js +1 -0
- package/dist/client/static/js/{pegDiagram-GJSIUBJH-80ygdd29.js → pegDiagram-GJSIUBJH-kd8t53tx.js} +1 -1
- package/dist/client/static/js/{perl-6n93vjsa.js → perl-917pjq5a.js} +1 -1
- package/dist/client/static/js/{php-w23nmbtc.js → php-hwz75qzt.js} +1 -1
- package/dist/client/static/js/pie-WAS4IAKB-sqa7321j.js +1 -0
- package/dist/client/static/js/{pieDiagram-5QR66LMP-6vgh7ntn.js → pieDiagram-5QR66LMP-h3x03f80.js} +3 -3
- package/dist/client/static/js/properties-rkptax7r.js +1 -0
- package/dist/client/static/js/python-qf1se1mj.js +1 -0
- package/dist/client/static/js/{quadrantDiagram-O4NWA36T-k5byajmm.js → quadrantDiagram-O4NWA36T-y2b1ncbg.js} +6 -6
- package/dist/client/static/js/r-ms0cygq2.js +1 -0
- package/dist/client/static/js/radar-RG4KPBEZ-z3z82syp.js +1 -0
- package/dist/client/static/js/railroad-74A4TZTK-z6swcqq2.js +1 -0
- package/dist/client/static/js/railroad-abnf-HS5TGJTU-33km6py4.js +1 -0
- package/dist/client/static/js/railroad-ebnf-LZEXJU2U-1zbf1xmq.js +1 -0
- package/dist/client/static/js/railroad-peg-WCYAUIDC-wte1xzzy.js +1 -0
- package/dist/client/static/js/{railroadDiagram-XR7U4H2S-qffrkk7g.js → railroadDiagram-XR7U4H2S-x188rcxf.js} +1 -1
- package/dist/client/static/js/{requirementDiagram-PLB6GJNP-r80w7tdp.js → requirementDiagram-PLB6GJNP-g5e9fk17.js} +10 -10
- package/dist/client/static/js/{ruby-ag3b3t9t.js → ruby-er7ayhte.js} +1 -1
- package/dist/client/static/js/{rust-a9jcfy2e.js → rust-1v8xbxn9.js} +1 -1
- package/dist/client/static/js/{sankeyDiagram-IPEJSGJF-g9qdy74b.js → sankeyDiagram-IPEJSGJF-y9ht91gf.js} +4 -4
- package/dist/client/static/js/{sass-x0eez0kp.js → sass-n47tt136.js} +1 -1
- package/dist/client/static/js/{scss-qycakpjn.js → scss-kvev49ga.js} +1 -1
- package/dist/client/static/js/{sequenceDiagram-PO4LG4MO-nywg1eq3.js → sequenceDiagram-PO4LG4MO-pp8s63rt.js} +19 -19
- package/dist/client/static/js/{sizeCapture-INFHLROL-m5pks027.js → sizeCapture-INFHLROL-k6dhfxex.js} +1 -1
- package/dist/client/static/js/sql-hd42h8wx.js +1 -0
- package/dist/client/static/js/{stateDiagram-v2-GCMORJYK-xzzv780w.js → stateDiagram-v2-GCMORJYK-y3akpsm4.js} +3 -3
- package/dist/client/static/js/{svelte-tg19by0f.js → svelte-2pmz35vx.js} +1 -1
- package/dist/client/static/js/{swimlanes-2SLR337P-n4q5ad13.js → swimlanes-2SLR337P-89081dr3.js} +1 -1
- package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-3q2a15wc.js +8 -0
- package/dist/client/static/js/{timeline-definition-EJHVYXUP-j9pde7sa.js → timeline-definition-EJHVYXUP-tz6r8g3q.js} +6 -6
- package/dist/client/static/js/treeView-Q6P3EWNA-pvgx6n22.js +1 -0
- package/dist/client/static/js/treemap-WGGIJYW6-3n9zm628.js +1 -0
- package/dist/client/static/js/tsx-gx7td06z.js +1 -0
- package/dist/client/static/js/typescript-1a808spn.js +1 -0
- package/dist/client/static/js/{usecaseDiagram-POWQR4AR-ehnc0600.js → usecaseDiagram-POWQR4AR-yq2y1b09.js} +44 -44
- package/dist/client/static/js/{vennDiagram-UO4OBE2U-cp4kj6kw.js → vennDiagram-UO4OBE2U-qdmjf6x3.js} +7 -7
- package/dist/client/static/js/{vue-mhj4sme0.js → vue-d5gpjfgn.js} +1 -1
- package/dist/client/static/js/wardley-WFR3VGLG-7m07ewc4.js +1 -0
- package/dist/client/static/js/{wardleyDiagram-VNRHLVJA-eegf1jpw.js → wardleyDiagram-VNRHLVJA-3n2sm7rj.js} +3 -3
- package/dist/client/static/js/xml-3117mxd9.js +1 -0
- package/dist/client/static/js/{xychartDiagram-PMCCYNJV-zkkqfyex.js → xychartDiagram-PMCCYNJV-d7n2av2t.js} +5 -5
- package/dist/client/static/js/yaml-dmvh8vyt.js +1 -0
- package/extensions/kabmo-modes/index.ts +1 -1
- package/extensions/kabmo-modes/parked.test.ts +2 -2
- package/extensions/kabmo-modes/parked.ts +10 -9
- package/extensions/kabmo-modes/plan.test.ts +4 -4
- package/extensions/kabmo-modes/plan.ts +6 -6
- package/extensions/kabmo-modes/session.ts +2 -2
- package/package.json +1 -1
- package/src/client/components/common/FolderPicker.tsx +1 -1
- package/src/client/components/common/Modal.tsx +8 -3
- package/src/client/components/common/NotificationPermissionDialog.test.tsx +8 -3
- package/src/client/components/common/NotificationPermissionDialog.tsx +7 -9
- package/src/client/components/common/PWAInstallButton.tsx +1 -1
- package/src/client/components/common/header-panel-buttons/index.tsx +5 -1
- package/src/client/components/common/shell-update-button/Modal.tsx +31 -36
- package/src/client/components/common/shell-update-button/index.test.tsx +5 -2
- package/src/client/components/layout/desktop-layout/LeftColumn.tsx +15 -0
- package/src/client/components/layout/desktop-layout/RightColumn.tsx +16 -0
- package/src/client/components/layout/session-sidebar/OverflowMenu.tsx +1 -1
- package/src/client/components/layout/session-sidebar/about-modal/index.tsx +4 -6
- package/src/client/components/layout/session-sidebar/new-workspace-modal/index.tsx +1 -1
- package/src/client/components/layout/session-sidebar/scheduler-modal/index.tsx +1 -1
- package/src/client/components/mobile/LayoutWrapper.tsx +9 -43
- package/src/client/components/mobile/RightSidebar.tsx +27 -10
- package/src/client/components/mobile/SessionSidebar.tsx +112 -137
- package/src/client/components/mobile/drawer-strip.tsx +85 -0
- package/src/client/components/mobile/left-drawer-nav.test.tsx +350 -0
- package/src/client/components/mobile/mobile-drawer-reveals.test.tsx +194 -0
- package/src/client/components/mobile/mobile-drawer-reveals.ts +138 -0
- package/src/client/components/mobile/mobile-main-view/Header.tsx +12 -24
- package/src/client/components/mobile/mobile-right-sidebar/Action.tsx +57 -0
- package/src/client/components/mobile/mobile-right-sidebar/Chrome.tsx +14 -87
- package/src/client/components/mobile/mobile-right-sidebar/FullDiff.tsx +2 -7
- package/src/client/components/mobile/mobile-right-sidebar/Header.test.tsx +157 -0
- package/src/client/components/mobile/mobile-right-sidebar/Header.tsx +109 -105
- package/src/client/components/mobile/mobile-right-sidebar/OutlineButton.tsx +1 -1
- package/src/client/components/mobile/mobile-right-sidebar/Overflow.tsx +95 -0
- package/src/client/components/mobile/mobile-session-sidebar/Body.tsx +212 -0
- package/src/client/components/mobile/mobile-session-sidebar/Header.tsx +7 -9
- package/src/client/components/mobile/mobile-session-sidebar/Toolbar.tsx +2 -2
- package/src/client/components/mobile/mobile-session-sidebar/use-dock.ts +29 -8
- package/src/client/components/mobile/mobile-session-sidebar/use-drawer-tabs.ts +96 -0
- package/src/client/components/settings/Band.test.tsx +83 -0
- package/src/client/components/settings/Band.tsx +96 -0
- package/src/client/components/settings/Modal.tsx +44 -69
- package/src/client/components/settings/apply-side-effects.ts +15 -4
- package/src/client/components/settings/band-height.test.tsx +16 -3
- package/src/client/components/settings/categories/AppearanceSettings.test.tsx +35 -9
- package/src/client/components/settings/categories/AppearanceSettings.tsx +2 -0
- package/src/client/components/settings/categories/ChatSettings.test.tsx +32 -9
- package/src/client/components/settings/categories/ChatSettings.tsx +2 -0
- package/src/client/components/settings/categories/NotificationSettings.tsx +1 -1
- package/src/client/components/settings/categories/appearance-settings/PanelNavSection.tsx +40 -223
- package/src/client/components/settings/categories/appearance-settings/nav-choice.tsx +176 -0
- package/src/client/components/settings/categories/appearance-settings/nav-miniatures.tsx +93 -0
- package/src/client/components/settings/categories/connect-settings/PairDialog.tsx +1 -1
- package/src/client/components/settings/categories/mcp-settings/ImportModal.tsx +1 -1
- package/src/client/components/settings/categories/notification-settings/PermissionNotice.tsx +1 -1
- package/src/client/components/settings/categories/provider-settings/DeleteProviderModal.tsx +1 -1
- package/src/client/components/settings/categories/provider-settings/LogoutProviderModal.tsx +1 -1
- package/src/client/components/settings/drill.tsx +113 -0
- package/src/client/components/settings/master-detail/GroupDetail.tsx +14 -6
- package/src/client/components/settings/master-detail/GroupSidebar.tsx +9 -1
- package/src/client/components/settings/master-detail/index.tsx +45 -25
- package/src/client/components/workspace/chat-timeline/MobileTurnJump.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/NewChatModal.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/SystemNotice.tsx +4 -0
- package/src/client/components/workspace/chat-timeline/ToolCallingSection.test.ts +23 -6
- package/src/client/components/workspace/chat-timeline/UndoConfirmModal.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/chat-input/AttachmentToolbar.tsx +19 -2
- package/src/client/components/workspace/chat-timeline/chat-input/GoalModal.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/chat-input/Toolbar.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/index.tsx +5 -9
- package/src/client/components/workspace/chat-timeline/plan-review/index.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FormAsk.test.tsx +4 -4
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FormDialog.test.tsx +127 -0
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FormDialog.tsx +225 -0
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/OrphanAsks.test.tsx +5 -4
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/OrphanAsks.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/PluginPendingInteractions.test.ts +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/index.test.ts +4 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/index.tsx +40 -4
- package/src/client/components/workspace/chat-timeline/tool-renderers/extension-dialog/Footer.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/extension-dialog/index.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/index.tsx +5 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/AstEdit.tsx +8 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Lsp.tsx +5 -0
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Mcp.tsx +16 -7
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Resolve.tsx +16 -4
- package/src/client/components/workspace/chat-timeline/tool-renderers/registry.ts +37 -12
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/card-header.ts +4 -3
- package/src/client/components/workspace/diff-panel/index.tsx +1 -1
- package/src/client/components/workspace/editor/SaveDeletedFileModal.tsx +1 -1
- package/src/client/components/workspace/file-explorer/ArchiveModals.tsx +1 -1
- package/src/client/components/workspace/file-explorer/Modals.tsx +4 -4
- package/src/client/components/workspace/git-panel/Modals.tsx +1 -1
- package/src/client/components/workspace/model-dropdown/CloseButton.tsx +38 -0
- package/src/client/components/workspace/model-dropdown/Fullscreen.tsx +16 -25
- package/src/client/components/workspace/model-dropdown/HarnessTabs.tsx +30 -9
- package/src/client/components/workspace/model-dropdown/Header.tsx +33 -21
- package/src/client/components/workspace/model-dropdown/Panel.tsx +19 -4
- package/src/client/components/workspace/model-dropdown/picker-close.test.tsx +139 -0
- package/src/client/components/workspace/model-dropdown/placement.test.tsx +9 -7
- package/src/client/components/workspace/terminal-panel/RealtimeTerminalView.tsx +1 -1
- package/src/client/components/workspace/wiki-panel/NavModal.tsx +1 -1
- package/src/client/data/settings/omp-schema.json +103 -42
- package/src/client/hooks/chat/timeline/ask-form-frame.ts +33 -0
- package/src/client/hooks/chat/timeline/ask-frame-asks.ts +68 -0
- package/src/client/hooks/chat/timeline/ask-frame-buckets.ts +77 -0
- package/src/client/hooks/chat/timeline/ask-frames-context.ts +68 -0
- package/src/client/hooks/chat/timeline/ask-frames-form.test.ts +170 -0
- package/src/client/hooks/chat/timeline/ask-frames.test.ts +1 -1
- package/src/client/hooks/chat/timeline/ask-frames.ts +36 -93
- package/src/client/hooks/workspace/left-dock.ts +19 -0
- package/src/client/hooks/workspace/mobile-panel-nav.ts +90 -0
- package/src/client/hooks/workspace/panel-nav.test.ts +42 -21
- package/src/client/hooks/workspace/panel-tabs-reveal.test.tsx +283 -0
- package/src/client/hooks/workspace/panel-tabs-reveal.ts +162 -0
- package/src/client/hooks/workspace/panel-tabs.ts +19 -2
- package/src/client/lib/ui/phone-row.test.ts +52 -0
- package/src/client/lib/ui/phone-row.ts +71 -0
- package/src/client/press-state.test.ts +179 -0
- package/src/client/tailwind.css +146 -0
- package/src/server/lib/bundler/titlebar-css.test.ts +10 -1
- package/src/server/lib/omp/rpc/constants.test.ts +6 -1
- package/src/shared/lib/chat/ask-form/data.ts +155 -0
- package/src/shared/lib/chat/ask-form/fields.ts +4 -0
- package/src/shared/lib/chat/ask-form/index.ts +8 -0
- package/src/shared/lib/chat/ask-form/types.ts +12 -0
- package/src/shared/lib/chat/timeline/tool-verbs.ts +28 -1
- package/src/shared/lib/chat/tool/tool-commands.test.ts +102 -0
- package/src/shared/lib/chat/tool/tool-commands.ts +124 -0
- package/src/shared/lib/omp/config/schema-releases.test.ts +34 -1
- package/src/shared/lib/omp/dialog-methods.ts +6 -0
- package/src/shared/lib/omp/session/wait-idle.ts +7 -3
- package/src/shared/lib/settings/defaults.ts +3 -2
- package/src/shared/lib/workspace/panel-nav.test.ts +26 -19
- package/src/shared/lib/workspace/panel-nav.ts +20 -9
- package/src/shared/types/omp/agent.ts +20 -3
- package/src/shared/types/settings/state.ts +17 -5
- package/dist/client/static/js/ImageView-6ksvyzqv.js +0 -1
- package/dist/client/static/js/LayoutWrapper-px60417t.js +0 -2
- package/dist/client/static/js/Modal-yv1718s1.js +0 -59
- package/dist/client/static/js/architecture-7GRP2DOG-bch3nye9.js +0 -1
- package/dist/client/static/js/bash-mevzaywf.js +0 -1
- package/dist/client/static/js/c-y1y6v00q.js +0 -1
- package/dist/client/static/js/cpp-wk9z0c5g.js +0 -1
- package/dist/client/static/js/css-3w3p9s67.js +0 -1
- package/dist/client/static/js/css-g85rwzty.js +0 -1
- package/dist/client/static/js/cynefin-OW5HDTMX-vqy5jtnk.js +0 -1
- package/dist/client/static/js/eventmodeling-NTZA5JFV-65ph4s3m.js +0 -1
- package/dist/client/static/js/flowDiagram-KWPJA3E3-hekt0qsb.js +0 -1
- package/dist/client/static/js/gitGraph-4MIJSDKK-t45ekjb6.js +0 -1
- package/dist/client/static/js/graphql-027z8sc0.js +0 -1
- package/dist/client/static/js/html-fqda6wxx.js +0 -1
- package/dist/client/static/js/index-252br0k2.js +0 -1
- package/dist/client/static/js/index-6bm4pw90.css +0 -1
- package/dist/client/static/js/index-80qxk9hx.js +0 -1
- package/dist/client/static/js/index-9674dxb4.js +0 -1
- package/dist/client/static/js/index-9k4121z4.js +0 -4
- package/dist/client/static/js/index-b6454rme.js +0 -12
- package/dist/client/static/js/index-ck0fd3aj.js +0 -2
- package/dist/client/static/js/index-jdf1tks1.js +0 -2
- package/dist/client/static/js/index-q58e8x6j.js +0 -1
- package/dist/client/static/js/info-A6RAGUB7-mw29xbwf.js +0 -1
- package/dist/client/static/js/ini-3cx6tmv4.js +0 -1
- package/dist/client/static/js/java-zs6qh1dm.js +0 -1
- package/dist/client/static/js/javascript-b9mkygak.js +0 -1
- package/dist/client/static/js/json-qn73s8xb.js +0 -1
- package/dist/client/static/js/jsx-gahhfczw.js +0 -1
- package/dist/client/static/js/lua-d8enp14s.js +0 -1
- package/dist/client/static/js/markdown-qetaj4vp.js +0 -1
- package/dist/client/static/js/one-dark-pro-axkq0m3s.js +0 -1
- package/dist/client/static/js/one-light-pncb08qd.js +0 -1
- package/dist/client/static/js/packet-AYTQ26CC-md85wpjq.js +0 -1
- package/dist/client/static/js/pie-WAS4IAKB-4grcqnp8.js +0 -1
- package/dist/client/static/js/properties-g6tpq003.js +0 -1
- package/dist/client/static/js/python-cy06fzhg.js +0 -1
- package/dist/client/static/js/r-vw8berfv.js +0 -1
- package/dist/client/static/js/radar-RG4KPBEZ-7j9prhg1.js +0 -1
- package/dist/client/static/js/railroad-74A4TZTK-g8x2jps1.js +0 -1
- package/dist/client/static/js/railroad-abnf-HS5TGJTU-cbg7k68h.js +0 -1
- package/dist/client/static/js/railroad-ebnf-LZEXJU2U-xfvjk9f8.js +0 -1
- package/dist/client/static/js/railroad-peg-WCYAUIDC-7w97805z.js +0 -1
- package/dist/client/static/js/sql-bwnasywx.js +0 -1
- package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-253nz20y.js +0 -8
- package/dist/client/static/js/treeView-Q6P3EWNA-xhf1r6c3.js +0 -1
- package/dist/client/static/js/treemap-WGGIJYW6-4n3j7ekq.js +0 -1
- package/dist/client/static/js/tsx-3dzv8h6k.js +0 -1
- package/dist/client/static/js/typescript-44vs0wn4.js +0 -1
- package/dist/client/static/js/wardley-WFR3VGLG-fb0py35r.js +0 -1
- package/dist/client/static/js/xml-yvv5fn3k.js +0 -1
- package/dist/client/static/js/yaml-avewh7n5.js +0 -1
- package/src/client/hooks/workspace/mobile-right-panel-nav.ts +0 -63
- package/src/shared/lib/ui/safe-area.test.ts +0 -28
- package/src/shared/lib/ui/safe-area.ts +0 -42
|
@@ -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
|
|
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
|
-
|
|
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
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
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
|
|
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
|
|
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 /
|
|
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,
|
|
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
|
|
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": "
|
|
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
|
|
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
|
|
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).
|
|
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.
|
|
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": "
|
|
7187
|
-
"description": "Mount rarely-used (discoverable) tools
|
|
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.
|
|
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": "
|
|
7202
|
-
"description": "Choose which mounted
|
|
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
|
|
7207
|
-
"description": "Inline
|
|
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
|
|
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
|
|
7232
|
+
"description": "List every command; run `--help` on demand."
|
|
7218
7233
|
}
|
|
7219
7234
|
]
|
|
7220
7235
|
}
|
|
7221
7236
|
},
|
|
7222
|
-
"tools.
|
|
7237
|
+
"tools.commandInline": {
|
|
7223
7238
|
"type": "array",
|
|
7224
7239
|
"default": [],
|
|
7225
7240
|
"ui": {
|
|
7226
7241
|
"tab": "tools",
|
|
7227
7242
|
"group": "Discovery & MCP",
|
|
7228
|
-
"label": "
|
|
7229
|
-
"description": "When
|
|
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.
|
|
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": "
|
|
7239
|
-
"description": "Show
|
|
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 (
|
|
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`);
|
|
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": "
|
|
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 (
|
|
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
|
|
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
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* SPDX-License-Identifier: MIT
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* The `ask` tool calls a dialog may belong to, read from the timeline.
|
|
8
|
+
*
|
|
9
|
+
* Split from `ask-frames.ts` (which owns the routing decision) because the two
|
|
10
|
+
* ask sets answer different questions and both are read on every pending frame:
|
|
11
|
+
*
|
|
12
|
+
* - `openAsks` are the calls that can still OWN a dialog: not settled, and not
|
|
13
|
+
* already carrying an answer for every question.
|
|
14
|
+
* - `allAsks` are every ask, settled ones included. A dialog whose call just
|
|
15
|
+
* failed is still that ask's dialog, so it belongs on the timeline (an
|
|
16
|
+
* inline orphan) rather than in the modal.
|
|
17
|
+
*
|
|
18
|
+
* Each entry also carries the call's `html` when it has one, because omp
|
|
19
|
+
* 19.1.0's whole-form frame (`method:"form"`) names no question: its `html` is
|
|
20
|
+
* the same string the tool call's arguments carry, and that is the only key
|
|
21
|
+
* both sides hold.
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
import type { ChatMessageData } from '@/shared/types';
|
|
25
|
+
import type { AskQuestion } from '@/shared/lib/chat/ask-form/types';
|
|
26
|
+
import { isAskSettled, isAskToolCall, parseAskQuestions } from '@/shared/lib/chat/ask-questions';
|
|
27
|
+
import { parseAskResult } from '@/shared/lib/chat/ask-results';
|
|
28
|
+
|
|
29
|
+
/** One ask tool call, as a dialog's potential owner. */
|
|
30
|
+
export interface AskCall {
|
|
31
|
+
toolId: string;
|
|
32
|
+
questions: AskQuestion[];
|
|
33
|
+
/** The `html` the call asked with, when it is the form shape. */
|
|
34
|
+
html?: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface AskIndex {
|
|
38
|
+
/** Calls that can still own a dialog. */
|
|
39
|
+
openAsks: AskCall[];
|
|
40
|
+
/** Every ask, settled ones included. */
|
|
41
|
+
allAsks: AskCall[];
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/** Index the timeline's ask tool calls by what a pending dialog may claim. */
|
|
45
|
+
export function collectAsks(messages: ChatMessageData[]): AskIndex {
|
|
46
|
+
const openAsks: AskCall[] = [];
|
|
47
|
+
const allAsks: AskCall[] = [];
|
|
48
|
+
for (const message of messages) {
|
|
49
|
+
for (const tool of message.toolCalls ?? []) {
|
|
50
|
+
if (!isAskToolCall(tool)) continue;
|
|
51
|
+
const questions = parseAskQuestions(tool);
|
|
52
|
+
if (questions.length === 0) continue;
|
|
53
|
+
const input = tool.input as Record<string, unknown> | undefined;
|
|
54
|
+
const html = typeof input?.html === 'string' ? input.html : undefined;
|
|
55
|
+
const entry: AskCall = { toolId: tool.id, questions, ...(html ? { html } : {}) };
|
|
56
|
+
allAsks.push(entry);
|
|
57
|
+
// A settled call is not a candidate at all: a validation failure leaves a
|
|
58
|
+
// dead call (`status: 'error'`) whose card renders no control, so letting
|
|
59
|
+
// it claim the retry's dialog left the live card waiting forever. A call
|
|
60
|
+
// read back from the JSONL while still parked is neither — omp writes no
|
|
61
|
+
// result until the question is answered.
|
|
62
|
+
if (isAskSettled(tool)) continue;
|
|
63
|
+
if (parseAskResult(tool, questions).every((answer) => answer !== null)) continue;
|
|
64
|
+
openAsks.push(entry);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
return { openAsks, allAsks };
|
|
68
|
+
}
|