@kabmo-labs/kabmo 0.57.1 → 0.58.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.
- package/dist/client/index.html +1 -1
- package/dist/client/index.js +540 -510
- package/dist/client/static/js/Body-ysmhxbvk.js +3 -0
- package/dist/client/static/js/{CsvGrid-563qmmmr.js → CsvGrid-w90pxyn2.js} +2 -2
- package/dist/client/static/js/{DocxView-5j69q3s0.js → DocxView-evxn6kaq.js} +2 -2
- package/dist/client/static/js/{DrawioView-gd6k3hvn.js → DrawioView-tmdevwf4.js} +2 -2
- package/dist/client/static/js/{HtmlPreview-6gnktzzp.js → HtmlPreview-bpsn2z9p.js} +1 -1
- package/dist/client/static/js/ImageView-ssazqckj.js +1 -0
- package/dist/client/static/js/LayoutWrapper-qwpfq4dq.js +2 -0
- package/dist/client/static/js/MergeDiffView-en6aazw8.js +1 -0
- package/dist/client/static/js/Modal-zjnhj9nb.js +60 -0
- package/dist/client/static/js/{PdfView-n1zq27td.js → PdfView-txxn6qff.js} +1 -1
- package/dist/client/static/js/SessionsView-eryjtmb2.js +1 -0
- package/dist/client/static/js/{SheetView-nes7j86v.js → SheetView-52b33e6f.js} +11 -11
- package/dist/client/static/js/{SvgPreview-vv0qzkt7.js → SvgPreview-hrk4pfm1.js} +1 -1
- package/dist/client/static/js/{abnfDiagram-O67JEVCF-02g96sn6.js → abnfDiagram-O67JEVCF-at77sybc.js} +1 -1
- package/dist/client/static/js/architecture-7GRP2DOG-v05ap4e3.js +1 -0
- package/dist/client/static/js/{architectureDiagram-NJMV4G6O-7qj2fpwt.js → architectureDiagram-NJMV4G6O-raw33jgg.js} +11 -11
- package/dist/client/static/js/{astro-asmathwv.js → astro-qha7sceh.js} +1 -1
- package/dist/client/static/js/bash-n5d0esqg.js +1 -0
- package/dist/client/static/js/{blockDiagram-BEXU5L5S-grdr1j2h.js → blockDiagram-BEXU5L5S-b6e90fbk.js} +7 -7
- package/dist/client/static/js/c-pk766wx0.js +1 -0
- package/dist/client/static/js/{c4Diagram-YGBWAQC7-7y980xpx.js → c4Diagram-YGBWAQC7-msg9y1c6.js} +2 -2
- package/dist/client/static/js/{classDiagram-v2-NBCMYWYE-29ag4js1.js → classDiagram-v2-NBCMYWYE-jmrd1h8r.js} +5 -5
- package/dist/client/static/js/{cose-bilkent-JH36ORCC-e5dvgehd.js → cose-bilkent-JH36ORCC-na65ebq3.js} +1 -1
- package/dist/client/static/js/cpp-3pt91jvm.js +1 -0
- package/dist/client/static/js/css-q2k6afe3.js +1 -0
- package/dist/client/static/js/css-sp1cgdbr.js +1 -0
- package/dist/client/static/js/cynefin-OW5HDTMX-sqv0ze38.js +1 -0
- package/dist/client/static/js/{cynefinDiagram-VND7K2PF-eq6fmx0b.js → cynefinDiagram-VND7K2PF-9xkkw71m.js} +2 -2
- package/dist/client/static/js/{dagre-6A5THRUB-xfhwp8ha.js → dagre-6A5THRUB-p59f19tv.js} +2 -2
- package/dist/client/static/js/{diagram-22UHCM2B-1bw6x6zt.js → diagram-22UHCM2B-2e2rcvn7.js} +14 -14
- package/dist/client/static/js/{diagram-3UASUU5V-076ej5n5.js → diagram-3UASUU5V-r9ds8vgr.js} +2 -2
- package/dist/client/static/js/{diagram-ATOU4E4O-cvf9fhdq.js → diagram-ATOU4E4O-jgwxv7v8.js} +3 -3
- package/dist/client/static/js/{diagram-CDSNMT55-hn1wdx54.js → diagram-CDSNMT55-20m35eqq.js} +5 -5
- package/dist/client/static/js/{diagram-MLGK6HIB-76gk27b5.js → diagram-MLGK6HIB-vt3kxt2m.js} +2 -2
- package/dist/client/static/js/{diagram-MPIPVDR6-0cbajhpx.js → diagram-MPIPVDR6-c47rgxf1.js} +2 -2
- package/dist/client/static/js/{dockerfile-7atfjhnf.js → dockerfile-gtcyey0q.js} +1 -1
- package/dist/client/static/js/{ebnfDiagram-ZINNZB2B-n0g3b9m2.js → ebnfDiagram-ZINNZB2B-aszw3xy3.js} +1 -1
- package/dist/client/static/js/{elixir-7q2k61zb.js → elixir-w92v180e.js} +1 -1
- package/dist/client/static/js/{elk-276RUBZZ-f6wrjcv9.js → elk-276RUBZZ-gbvr3gry.js} +1 -1
- package/dist/client/static/js/{erDiagram-OPXOYQCR-jz622yrg.js → erDiagram-OPXOYQCR-1hqca8qe.js} +5 -5
- package/dist/client/static/js/{erlang-tjsd7n4d.js → erlang-v7344938.js} +1 -1
- package/dist/client/static/js/eventmodeling-NTZA5JFV-t4dzf5s7.js +1 -0
- package/dist/client/static/js/flowDiagram-KWPJA3E3-c16xmjyv.js +1 -0
- package/dist/client/static/js/{ganttDiagram-FUAMR5RP-2ex4nxyg.js → ganttDiagram-FUAMR5RP-07v22te5.js} +4 -4
- package/dist/client/static/js/gitGraph-4MIJSDKK-0jq8y0qd.js +1 -0
- package/dist/client/static/js/{gitGraphDiagram-X574FWY7-38eyay6g.js → gitGraphDiagram-X574FWY7-y068jtz9.js} +18 -18
- package/dist/client/static/js/graphql-qx4tt6ze.js +1 -0
- package/dist/client/static/js/html-5e0g8664.js +1 -0
- package/dist/client/static/js/index-007sewcn.js +2 -0
- package/dist/client/static/js/{index-tksrpqkh.js → index-1e0rt7c6.js} +5 -5
- package/dist/client/static/js/index-1e710snk.js +1 -0
- package/dist/client/static/js/{index-8pqx5n2p.js → index-2s17netq.js} +2 -2
- package/dist/client/static/js/index-374xq5a4.js +1 -0
- package/dist/client/static/js/{index-j9y4tjk0.js → index-3m1dksmy.js} +2 -2
- package/dist/client/static/js/{index-668fc1df.js → index-3p732mvs.js} +2 -2
- package/dist/client/static/js/{index-3x88t8g9.js → index-3ymw778n.js} +2 -2
- package/dist/client/static/js/index-4ddgpqm0.css +1 -0
- package/dist/client/static/js/index-5g2j626a.js +1 -0
- package/dist/client/static/js/{index-rbkvw2xs.js → index-5hvt233n.js} +2 -2
- package/dist/client/static/js/{index-tdryzzy9.js → index-5xxbbzqa.js} +6 -6
- package/dist/client/static/js/{index-25zpywv7.js → index-6x0kn8pb.js} +2 -2
- package/dist/client/static/js/{index-e4yj4kbe.js → index-7sq6cjt1.js} +12 -12
- package/dist/client/static/js/{index-my856e49.js → index-7ynf3s2w.js} +2 -2
- package/dist/client/static/js/{index-q0k1am0g.js → index-80kx6dm6.js} +2 -2
- package/dist/client/static/js/index-8d8ce00v.js +2 -0
- package/dist/client/static/js/{index-63mk2qk6.js → index-94d416ee.js} +2 -2
- package/dist/client/static/js/{index-db7vsjkd.js → index-an7fq7f6.js} +1 -1
- package/dist/client/static/js/{index-zzggk17b.js → index-azz46nwc.js} +2 -2
- package/dist/client/static/js/index-c9aqx3ht.js +1 -0
- package/dist/client/static/js/index-cc7qbfvn.js +477 -0
- package/dist/client/static/js/{index-cwwg7k5f.js → index-cmjyet7w.js} +49 -49
- package/dist/client/static/js/{index-55v3qv04.js → index-cpp43af3.js} +22 -22
- package/dist/client/static/js/{index-jaxhfk9x.js → index-dxq1tbwm.js} +2 -2
- package/dist/client/static/js/index-e0kahttb.js +1 -0
- package/dist/client/static/js/index-e4nge3f4.js +1 -0
- package/dist/client/static/js/{index-wxs0x3g1.js → index-ewryzs4g.js} +2 -2
- package/dist/client/static/js/index-f27wvdky.js +4 -0
- package/dist/client/static/js/{index-zv8wrvha.js → index-f61c25vn.js} +3 -3
- package/dist/client/static/js/{index-g2e0m757.js → index-fe92hqmb.js} +8 -8
- package/dist/client/static/js/{index-nnqyew8n.js → index-fhtnvqgf.js} +2 -2
- package/dist/client/static/js/{index-ep99arz1.js → index-fv7nybnf.js} +2 -2
- package/dist/client/static/js/{index-396g4zz4.js → index-gaa39w5q.js} +2 -2
- package/dist/client/static/js/{index-xfnjwhan.js → index-gqrt766t.js} +91 -91
- package/dist/client/static/js/index-hb7a7m9m.js +1 -0
- package/dist/client/static/js/{index-zynbvm7x.js → index-j830qk07.js} +2 -2
- package/dist/client/static/js/{index-0prwdwyb.js → index-jxsha63v.js} +2 -2
- package/dist/client/static/js/{index-8444mec5.js → index-kzzvrqnv.js} +2 -2
- package/dist/client/static/js/{index-6z30g3ha.js → index-m5n0zsft.js} +2 -2
- package/dist/client/static/js/{index-1q934wfk.js → index-medk4f18.js} +2 -2
- package/dist/client/static/js/index-nptbz7sv.js +2 -0
- package/dist/client/static/js/index-qefssj0m.js +1 -0
- package/dist/client/static/js/{index-mpyd7qxj.js → index-r8d4bk86.js} +2 -2
- package/dist/client/static/js/{index-hge0y4vn.js → index-rqt8mem9.js} +2 -2
- package/dist/client/static/js/{index-y1j18rha.js → index-rxt8sf9a.js} +2 -2
- package/dist/client/static/js/index-s4dpkds5.js +2 -0
- package/dist/client/static/js/index-s9k82stc.js +2 -0
- package/dist/client/static/js/index-skwem10a.js +2 -0
- package/dist/client/static/js/{index-rsyqf691.js → index-sxag9ptg.js} +2 -2
- package/dist/client/static/js/{index-m6eh5g1q.js → index-tdg7hz80.js} +2 -2
- package/dist/client/static/js/{index-nt17ejrm.js → index-th61y26d.js} +2 -2
- package/dist/client/static/js/{index-ms80nne4.js → index-tq3t3qm4.js} +2 -2
- package/dist/client/static/js/index-tv9rn2nd.js +2 -0
- package/dist/client/static/js/{index-xtrsvm0d.js → index-v8xhgfeq.js} +2 -2
- package/dist/client/static/js/{index-60g0e74a.js → index-vny4ymjf.js} +1 -1
- package/dist/client/static/js/{index-4cff0zg2.js → index-vw8b29ek.js} +1 -1
- package/dist/client/static/js/{index-9gfn1a3h.js → index-wn28m9h7.js} +8 -8
- package/dist/client/static/js/index-wxqcnsrq.js +2 -0
- package/dist/client/static/js/index-xmg1x6zv.js +9 -0
- package/dist/client/static/js/{index-kt7c42n7.js → index-y0f3wbc3.js} +2 -2
- package/dist/client/static/js/{index-ewst55j2.js → index-zhgh7a31.js} +2 -2
- package/dist/client/static/js/index-zs7kw0be.js +4 -0
- package/dist/client/static/js/info-A6RAGUB7-szttx3v5.js +1 -0
- package/dist/client/static/js/{infoDiagram-VRGFBTTK-c55t0tvd.js → infoDiagram-VRGFBTTK-1x83h4k4.js} +2 -2
- package/dist/client/static/js/ini-bdk46a3d.js +1 -0
- package/dist/client/static/js/{ishikawaDiagram-OU5B5YK6-r9kg5kg5.js → ishikawaDiagram-OU5B5YK6-et6z3c28.js} +3 -3
- package/dist/client/static/js/java-3g3925cf.js +1 -0
- package/dist/client/static/js/javascript-av46zx4c.js +1 -0
- package/dist/client/static/js/{journeyDiagram-ZHPQQLJL-zmmst4v8.js → journeyDiagram-ZHPQQLJL-sw669e7a.js} +4 -4
- package/dist/client/static/js/json-hdyzmffz.js +1 -0
- package/dist/client/static/js/jsx-y8r9mrdq.js +1 -0
- package/dist/client/static/js/{julia-d18zhpyp.js → julia-z14p8jsx.js} +1 -1
- package/dist/client/static/js/{kanban-definition-PNTS6WVX-3tt6sc9a.js → kanban-definition-PNTS6WVX-aqxg95kx.js} +6 -6
- package/dist/client/static/js/lua-wf5k6p3r.js +1 -0
- package/dist/client/static/js/markdown-9bf16dx7.js +1 -0
- package/dist/client/static/js/{mermaid.core-pkrs8zp5.js → mermaid.core-6cgqsgcf.js} +8 -8
- package/dist/client/static/js/{mindmap-definition-NLK3R4M7-b4c6gxg4.js → mindmap-definition-NLK3R4M7-530anpc4.js} +7 -7
- package/dist/client/static/js/one-dark-pro-9hnhtkpr.js +1 -0
- package/dist/client/static/js/one-light-2n5y8592.js +1 -0
- package/dist/client/static/js/packet-AYTQ26CC-401149bv.js +1 -0
- package/dist/client/static/js/{pegDiagram-GJSIUBJH-9jkat1mz.js → pegDiagram-GJSIUBJH-5zar6hvy.js} +1 -1
- package/dist/client/static/js/{perl-sns2qvmf.js → perl-1na2x6yd.js} +1 -1
- package/dist/client/static/js/{php-3q6v9eey.js → php-x75tt7w3.js} +1 -1
- package/dist/client/static/js/pie-WAS4IAKB-bgfv8tfz.js +1 -0
- package/dist/client/static/js/{pieDiagram-5QR66LMP-6pbchjh7.js → pieDiagram-5QR66LMP-3bx8syvw.js} +2 -2
- package/dist/client/static/js/properties-xk4dn00p.js +1 -0
- package/dist/client/static/js/python-7sgz05n4.js +1 -0
- package/dist/client/static/js/{quadrantDiagram-O4NWA36T-p9brea19.js → quadrantDiagram-O4NWA36T-yaarpr2e.js} +6 -6
- package/dist/client/static/js/r-w4qxm0pv.js +1 -0
- package/dist/client/static/js/radar-RG4KPBEZ-pw720590.js +1 -0
- package/dist/client/static/js/railroad-74A4TZTK-n2a30ngs.js +1 -0
- package/dist/client/static/js/railroad-abnf-HS5TGJTU-rn5rx9qt.js +1 -0
- package/dist/client/static/js/railroad-ebnf-LZEXJU2U-t4yryhtd.js +1 -0
- package/dist/client/static/js/railroad-peg-WCYAUIDC-c4ebgvrr.js +1 -0
- package/dist/client/static/js/{railroadDiagram-XR7U4H2S-3cep8css.js → railroadDiagram-XR7U4H2S-ag41q4nt.js} +1 -1
- package/dist/client/static/js/{requirementDiagram-PLB6GJNP-x1yjgsrr.js → requirementDiagram-PLB6GJNP-g8sr48h4.js} +12 -12
- package/dist/client/static/js/{ruby-f9k99tfq.js → ruby-3h22qahv.js} +1 -1
- package/dist/client/static/js/{rust-yy8gekx8.js → rust-r27demr5.js} +1 -1
- package/dist/client/static/js/{sankeyDiagram-IPEJSGJF-23wzf4aj.js → sankeyDiagram-IPEJSGJF-t1wbd1hh.js} +4 -4
- package/dist/client/static/js/{sass-2syegq28.js → sass-8bq5r2tz.js} +1 -1
- package/dist/client/static/js/{scss-9wz47c6t.js → scss-c04ezwnn.js} +1 -1
- package/dist/client/static/js/{sequenceDiagram-PO4LG4MO-w4wr3zzr.js → sequenceDiagram-PO4LG4MO-407mjqty.js} +21 -21
- package/dist/client/static/js/{sizeCapture-INFHLROL-aabfesnr.js → sizeCapture-INFHLROL-w38zb9ky.js} +1 -1
- package/dist/client/static/js/{stateDiagram-v2-GCMORJYK-t0n288xw.js → stateDiagram-v2-GCMORJYK-4cvgymkc.js} +3 -3
- package/dist/client/static/js/{svelte-mm3jfpje.js → svelte-egg3x4tw.js} +1 -1
- package/dist/client/static/js/{swimlanes-2SLR337P-1nnm0p7h.js → swimlanes-2SLR337P-w7ts2rzw.js} +1 -1
- package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-v82nym6b.js +8 -0
- package/dist/client/static/js/{timeline-definition-EJHVYXUP-8pyssn0q.js → timeline-definition-EJHVYXUP-nq46nzy9.js} +7 -7
- package/dist/client/static/js/treeView-Q6P3EWNA-bxgt5yhm.js +1 -0
- package/dist/client/static/js/treemap-WGGIJYW6-hh3595m0.js +1 -0
- package/dist/client/static/js/tsx-h5yzg80q.js +1 -0
- package/dist/client/static/js/typescript-qy1sbhea.js +1 -0
- package/dist/client/static/js/{usecaseDiagram-POWQR4AR-vveepvt6.js → usecaseDiagram-POWQR4AR-q144snzb.js} +45 -45
- package/dist/client/static/js/{vennDiagram-UO4OBE2U-tqyvmqxc.js → vennDiagram-UO4OBE2U-2wemak2p.js} +8 -8
- package/dist/client/static/js/{vue-e8e3q3hj.js → vue-d7p4wv35.js} +1 -1
- package/dist/client/static/js/wardley-WFR3VGLG-6bza7h1b.js +1 -0
- package/dist/client/static/js/{wardleyDiagram-VNRHLVJA-p8rs34em.js → wardleyDiagram-VNRHLVJA-bb2qvvgr.js} +5 -5
- package/dist/client/static/js/xml-mrk4xakv.js +1 -0
- package/dist/client/static/js/{xychartDiagram-PMCCYNJV-pgnvxtps.js → xychartDiagram-PMCCYNJV-9dr05fdq.js} +6 -6
- package/dist/client/static/js/yaml-xaza6dra.js +1 -0
- package/package.json +6 -6
- package/src/client/bootstrap.d.ts +11 -0
- package/src/client/borders.css +3 -4
- package/src/client/components/auth/login-screen/index.tsx +1 -1
- package/src/client/components/common/ComposerPicker.tsx +1 -1
- package/src/client/components/common/CopyButton.tsx +1 -1
- package/src/client/components/common/FolderPicker.tsx +1 -1
- package/src/client/components/common/SubagentStatusIcon.tsx +2 -2
- package/src/client/components/common/ViewportSelector.tsx +2 -2
- package/src/client/components/common/anchored-menu/index.tsx +11 -4
- package/src/client/components/common/batch-selection/BatchActionBar.tsx +1 -1
- package/src/client/components/common/batch-selection/BatchDeleteModal.tsx +4 -4
- package/src/client/components/common/checkbox/style.ts +1 -1
- package/src/client/components/common/context-usage-button/McpSection.tsx +3 -2
- package/src/client/components/common/file-icon/index.tsx +3 -3
- package/src/client/components/common/harness-glyph/index.tsx +4 -3
- package/src/client/components/common/image-viewer/fullscreen.tsx +1 -1
- package/src/client/components/common/image-viewer/index.tsx +2 -2
- package/src/client/components/common/markdown-review/ReviewPopover.tsx +2 -2
- package/src/client/components/common/markdown-review/ReviewSummary.tsx +3 -3
- package/src/client/components/common/plugin-render-boundary/index.tsx +1 -1
- package/src/client/components/common/server-control/Panel.tsx +1 -1
- package/src/client/components/common/server-control/Row.tsx +3 -3
- package/src/client/components/common/session-actions-menu/MenuItem.tsx +2 -2
- package/src/client/components/common/session-branch/SubagentRow.tsx +1 -1
- package/src/client/components/common/session-delete-modal/index.tsx +4 -4
- package/src/client/components/common/session-row/StatusSlot.tsx +1 -1
- package/src/client/components/common/session-row/TrailingSlot.tsx +6 -2
- package/src/client/components/common/session-row/index.tsx +56 -2
- package/src/client/components/common/session-row/session-row.test.tsx +84 -3
- package/src/client/components/common/shell-update-button/Modal.tsx +1 -1
- package/src/client/components/common/todo-row/index.tsx +1 -1
- package/src/client/components/common/window-controls/index.tsx +1 -1
- package/src/client/components/common/workspace-options-menu/index.tsx +4 -4
- package/src/client/components/layout/session-sidebar/Toolbar.tsx +2 -2
- package/src/client/components/layout/session-sidebar/WorktreeBadge.tsx +1 -1
- package/src/client/components/layout/session-sidebar/about-modal/UpdateLogDialog.tsx +1 -1
- package/src/client/components/layout/session-sidebar/about-modal/UpdateSection.tsx +3 -3
- package/src/client/components/layout/session-sidebar/about-modal/index.tsx +1 -1
- package/src/client/components/layout/session-sidebar/modern/FilterChips.tsx +1 -1
- package/src/client/components/layout/session-sidebar/modern/WorkspaceHeader.tsx +24 -3
- package/src/client/components/layout/session-sidebar/modern/workspace-header.test.tsx +20 -0
- package/src/client/components/layout/session-sidebar/new-workspace-modal/DirectoryList.tsx +2 -2
- package/src/client/components/layout/session-sidebar/new-workspace-modal/index.tsx +1 -1
- package/src/client/components/layout/session-sidebar/scheduler-modal/ModelFields.tsx +1 -1
- package/src/client/components/layout/session-sidebar/scheduler-modal/TaskForm.tsx +1 -1
- package/src/client/components/layout/session-sidebar/scheduler-modal/TaskList.tsx +4 -4
- package/src/client/components/layout/session-sidebar/scheduler-modal/index.tsx +1 -1
- package/src/client/components/layout/update-popup/Actions.tsx +1 -1
- package/src/client/components/mobile/mobile-right-sidebar/Action.tsx +1 -1
- package/src/client/components/mobile/mobile-right-sidebar/Header.tsx +3 -3
- package/src/client/components/mobile/mobile-right-sidebar/MissingFileBanner.tsx +2 -2
- package/src/client/components/mobile/mobile-right-sidebar/PreviewScroller.tsx +2 -2
- package/src/client/components/mobile/mobile-right-sidebar/StatusBar.tsx +2 -2
- package/src/client/components/mobile/mobile-session-sidebar/Toolbar.tsx +3 -3
- package/src/client/components/settings/Modal.tsx +8 -3
- package/src/client/components/settings/SettingsSidebarList.tsx +2 -2
- package/src/client/components/settings/Sidebar.tsx +3 -3
- package/src/client/components/settings/apply-side-effects.test.ts +46 -0
- package/src/client/components/settings/apply-side-effects.ts +8 -0
- package/src/client/components/settings/categories/BehaviorSettings.tsx +1 -1
- package/src/client/components/settings/categories/OmpSettings.tsx +3 -3
- package/src/client/components/settings/categories/UsageSettings.tsx +3 -3
- package/src/client/components/settings/categories/agent-settings/DetailPane.tsx +5 -5
- package/src/client/components/settings/categories/appearance-settings/CustomThemeEditor.tsx +177 -0
- package/src/client/components/settings/categories/appearance-settings/CustomThemeSection.test.tsx +136 -0
- package/src/client/components/settings/categories/appearance-settings/CustomThemeSection.tsx +180 -0
- package/src/client/components/settings/categories/appearance-settings/ThemeCard.tsx +1 -1
- package/src/client/components/settings/categories/appearance-settings/ThemeGrid.tsx +6 -5
- package/src/client/components/settings/categories/appearance-settings/ThemePreview.tsx +106 -0
- package/src/client/components/settings/categories/appearance-settings/ThemeSection.tsx +7 -3
- package/src/client/components/settings/categories/behavior-settings/Editor.tsx +1 -1
- package/src/client/components/settings/categories/chat-settings/ToolRenderSection.tsx +1 -1
- package/src/client/components/settings/categories/command-settings/DetailPane.tsx +4 -4
- package/src/client/components/settings/categories/dictation-settings/ExternalSection.tsx +1 -1
- package/src/client/components/settings/categories/git-settings/CommitMessageSection.tsx +1 -1
- package/src/client/components/settings/categories/git-settings/IdentitySection.tsx +2 -2
- package/src/client/components/settings/categories/harness-settings/AccountLoginPanel.tsx +3 -3
- package/src/client/components/settings/categories/harness-settings/AccountsPanel.tsx +13 -83
- package/src/client/components/settings/categories/harness-settings/HarnessImportControls.tsx +1 -1
- package/src/client/components/settings/categories/mcp-settings/ConnectionTest.tsx +1 -1
- package/src/client/components/settings/categories/mcp-settings/DetailPane.tsx +5 -5
- package/src/client/components/settings/categories/mcp-settings/ImportModal.tsx +1 -1
- package/src/client/components/settings/categories/mcp-settings/KeyValueSection.tsx +1 -1
- package/src/client/components/settings/categories/mcp-settings/SidebarList.tsx +2 -2
- package/src/client/components/settings/categories/omp-settings/ConfigTabs.tsx +4 -4
- package/src/client/components/settings/categories/omp-settings/OrderedChips.tsx +1 -1
- package/src/client/components/settings/categories/omp-settings/PresetBar.tsx +3 -3
- package/src/client/components/settings/categories/omp-settings/RoleEditor.tsx +2 -2
- package/src/client/components/settings/categories/omp-settings/RowEditor.tsx +2 -2
- package/src/client/components/settings/categories/panel-plugins/GitFreshness.tsx +2 -2
- package/src/client/components/settings/categories/panel-plugins/InstallForm.tsx +3 -3
- package/src/client/components/settings/categories/panel-plugins/InstalledList.tsx +1 -1
- package/src/client/components/settings/categories/panel-plugins/Meta.tsx +1 -1
- package/src/client/components/settings/categories/panel-plugins/PluginCard.tsx +5 -5
- package/src/client/components/settings/categories/panel-plugins/ReadmeModal.tsx +1 -1
- package/src/client/components/settings/categories/panel-plugins/Registries.tsx +4 -4
- package/src/client/components/settings/categories/panel-plugins/Section.tsx +3 -3
- package/src/client/components/settings/categories/panel-plugins/SettingsModal.tsx +2 -2
- package/src/client/components/settings/categories/panel-plugins/SyncBlockedNotice.tsx +2 -2
- package/src/client/components/settings/categories/panel-plugins/Toolbar.tsx +1 -1
- package/src/client/components/settings/categories/plugin-settings/DetailPane.tsx +2 -2
- package/src/client/components/settings/categories/plugin-settings/MarketplacePane.tsx +4 -4
- package/src/client/components/settings/categories/plugin-settings/SettingsSection.tsx +1 -1
- package/src/client/components/settings/categories/plugin-settings/SidebarList.tsx +4 -4
- package/src/client/components/settings/categories/project-settings/AddProjectModal.tsx +1 -1
- package/src/client/components/settings/categories/project-settings/DeleteProjectModal.tsx +3 -3
- package/src/client/components/settings/categories/project-settings/DetailsHeader.tsx +1 -1
- package/src/client/components/settings/categories/project-settings/IconGrid.tsx +3 -3
- package/src/client/components/settings/categories/project-settings/SidebarList.tsx +1 -1
- package/src/client/components/settings/categories/project-settings/WorktreeSettings.tsx +2 -2
- package/src/client/components/settings/categories/provider-settings/AddModelModal.tsx +3 -3
- package/src/client/components/settings/categories/provider-settings/AddProviderModal.tsx +2 -2
- package/src/client/components/settings/categories/provider-settings/AuthSection.tsx +3 -3
- package/src/client/components/settings/categories/provider-settings/DeleteProviderModal.tsx +3 -3
- package/src/client/components/settings/categories/provider-settings/EntryAdvanced.tsx +1 -1
- package/src/client/components/settings/categories/provider-settings/EntryModal.tsx +2 -2
- package/src/client/components/settings/categories/provider-settings/LoginModal.tsx +2 -2
- package/src/client/components/settings/categories/provider-settings/LogoutProviderModal.tsx +3 -3
- package/src/client/components/settings/categories/provider-settings/ModelCapabilitiesModal.tsx +1 -1
- package/src/client/components/settings/categories/provider-settings/PriceFields.tsx +1 -1
- package/src/client/components/settings/categories/skill-catalog/GitImportPanel.tsx +1 -1
- package/src/client/components/settings/categories/skill-catalog/SkillCard.tsx +1 -1
- package/src/client/components/settings/categories/skill-catalog/SourceRail.tsx +1 -1
- package/src/client/components/settings/categories/skill-settings/DetailHeader.tsx +7 -7
- package/src/client/components/settings/categories/skill-settings/DetailPane.tsx +1 -1
- package/src/client/components/settings/categories/skill-settings/SidebarList.tsx +2 -2
- package/src/client/components/settings/categories/usage-settings/ProviderCard.tsx +1 -1
- package/src/client/components/settings/categories/usage-settings/SavedResetsSection.tsx +2 -2
- package/src/client/components/settings/categories/usage-settings/SidebarList.tsx +1 -1
- package/src/client/components/settings/categories/usage-settings/TokenHarborCard.tsx +1 -1
- package/src/client/components/settings/categories/voice-settings/speech/EndpointSection.tsx +2 -2
- package/src/client/components/settings/categories/voice-settings/speech/EngineSection.tsx +5 -5
- package/src/client/components/settings/categories/voice-settings/speech/ModelsSection.tsx +4 -4
- package/src/client/components/workspace/browser-panel/ActivityToasts.tsx +2 -2
- package/src/client/components/workspace/browser-panel/EngineNotice.tsx +1 -1
- package/src/client/components/workspace/browser-panel/index.tsx +2 -2
- package/src/client/components/workspace/browser-toolbar/clusters.tsx +2 -2
- package/src/client/components/workspace/btw-panel/Messages.tsx +2 -2
- package/src/client/components/workspace/btw-panel/TopicMenu.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/AiMessageFooterSheet.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/ChangedFilesSummary.tsx +7 -7
- package/src/client/components/workspace/chat-timeline/ChatOverlays.tsx +1 -0
- package/src/client/components/workspace/chat-timeline/ComposerDock.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/IrcNotice.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/MessageItem.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/NewChatModal.tsx +5 -0
- package/src/client/components/workspace/chat-timeline/OrchestrationNotice.tsx +81 -162
- package/src/client/components/workspace/chat-timeline/QueueList.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/SubagentControls.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/SystemNotice.tsx +12 -8
- package/src/client/components/workspace/chat-timeline/TaskResultContent.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/ThinkingSection.tsx +12 -4
- package/src/client/components/workspace/chat-timeline/TimelineBody.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/ToolCallingSection.tsx +1 -0
- package/src/client/components/workspace/chat-timeline/UndoConfirmModal.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/UserTurn.test.tsx +24 -6
- package/src/client/components/workspace/chat-timeline/UserTurn.tsx +17 -4
- package/src/client/components/workspace/chat-timeline/block-chrome.test.tsx +18 -2
- package/src/client/components/workspace/chat-timeline/chat-input/AccessDropdown.test.ts +66 -10
- package/src/client/components/workspace/chat-timeline/chat-input/AccessDropdown.tsx +103 -41
- package/src/client/components/workspace/chat-timeline/chat-input/AttachmentToolbar.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/chat-input/ComposerNotice.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/chat-input/ComposerRows.tsx +4 -2
- package/src/client/components/workspace/chat-timeline/chat-input/GoalBanner.tsx +11 -11
- package/src/client/components/workspace/chat-timeline/chat-input/GoalModal.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/chat-input/SessionModeDropdown.test.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/chat-input/SessionModeDropdown.tsx +54 -35
- package/src/client/components/workspace/chat-timeline/chat-input/ThinkingLevelDropdown.test.tsx +110 -0
- package/src/client/components/workspace/chat-timeline/chat-input/ThinkingLevelDropdown.tsx +51 -32
- package/src/client/components/workspace/chat-timeline/chat-input/Toolbar.test.ts +62 -0
- package/src/client/components/workspace/chat-timeline/chat-input/Toolbar.tsx +17 -5
- package/src/client/components/workspace/chat-timeline/chat-input/VoiceNotice.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/chat-input/access-capability.test.tsx +151 -0
- package/src/client/components/workspace/chat-timeline/chat-input/modes-props.ts +5 -0
- package/src/client/components/workspace/chat-timeline/chat-input/props.ts +3 -3
- package/src/client/components/workspace/chat-timeline/fork-preview.test.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/plan-review/index.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/target-picker/ParentSessionPicker.test.tsx +21 -5
- package/src/client/components/workspace/chat-timeline/target-picker/ParentSessionPicker.tsx +100 -71
- package/src/client/components/workspace/chat-timeline/target-picker/WorkspacePicker.test.tsx +9 -9
- package/src/client/components/workspace/chat-timeline/target-picker/WorkspacePicker.tsx +83 -66
- package/src/client/components/workspace/chat-timeline/target-picker/WorktreePicker.test.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/target-picker/WorktreePicker.tsx +38 -17
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FormAsk.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FormDialog.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/QuestionCard.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/SwipeDeck.tsx +7 -7
- package/src/client/components/workspace/chat-timeline/tool-renderers/extension-dialog/ApprovalBody.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/hashline-patch/index.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/AstEdit.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Bash.tsx +9 -9
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Debug.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Edit.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Eval.tsx +6 -6
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/FileMatches.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Github.tsx +7 -7
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Goal.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/GoalRecord.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Lsp.tsx +9 -9
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/ManageSkill.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Proc.tsx +8 -8
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Resolve.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/SecurityScan.tsx +6 -6
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/TaskResult.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Todo.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Wait.tsx +7 -7
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ArtifactChip.tsx +8 -4
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/DiffView.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/EnvelopeHeader.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ToolCardShell.tsx +4 -4
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ToolFactChips.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ToolRowActions.tsx +11 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/status-glyph.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Card.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Compact.tsx +11 -6
- package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Minimal.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Trace.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Tui.test.tsx +37 -9
- package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Tui.tsx +35 -23
- package/src/client/components/workspace/chat-timeline/tool-renderers/styles/parity.test.tsx +50 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/styles/props.ts +2 -0
- package/src/client/components/workspace/context-panel/RawJsonViewer.tsx +2 -2
- package/src/client/components/workspace/diff-panel/ConflictBanner.tsx +3 -3
- package/src/client/components/workspace/diff-panel/Toolbar.tsx +3 -3
- package/src/client/components/workspace/diff-panel/index.tsx +3 -3
- package/src/client/components/workspace/diff-panel/toolbar-git-actions.tsx +1 -1
- package/src/client/components/workspace/editor/ConflictStrip.tsx +2 -2
- package/src/client/components/workspace/editor/ExternalChangeStrip.tsx +2 -2
- package/src/client/components/workspace/editor/FilePane.tsx +6 -6
- package/src/client/components/workspace/editor/FindWidget.tsx +2 -2
- package/src/client/components/workspace/editor/GoToLineModal.tsx +1 -1
- package/src/client/components/workspace/editor/SaveAsModal.tsx +3 -3
- package/src/client/components/workspace/editor/SaveDeletedFileModal.tsx +2 -2
- package/src/client/components/workspace/editor/StatusBar.tsx +1 -1
- package/src/client/components/workspace/editor/Tabs.test.ts +3 -3
- package/src/client/components/workspace/editor/Tabs.tsx +6 -6
- package/src/client/components/workspace/editor/Toolbar.tsx +4 -4
- package/src/client/components/workspace/editor/toolbar-clusters.tsx +1 -1
- package/src/client/components/workspace/editor/viewers/DataGrid.tsx +1 -1
- package/src/client/components/workspace/editor/viewers/GridToolbar.tsx +2 -2
- package/src/client/components/workspace/editor/viewers/SheetView.tsx +2 -2
- package/src/client/components/workspace/editor/viewers/ViewerError.tsx +2 -2
- package/src/client/components/workspace/file-explorer/ArchiveModals.tsx +1 -1
- package/src/client/components/workspace/file-explorer/ContextMenu.tsx +3 -3
- package/src/client/components/workspace/file-explorer/Modals.tsx +3 -3
- package/src/client/components/workspace/file-explorer/RowLabel.test.tsx +2 -2
- package/src/client/components/workspace/git-panel/BranchToolbar.tsx +2 -2
- package/src/client/components/workspace/git-panel/ChangesList.tsx +3 -3
- package/src/client/components/workspace/git-panel/ConflictItem.tsx +3 -3
- package/src/client/components/workspace/git-panel/FileItem.tsx +1 -1
- package/src/client/components/workspace/git-panel/Modals.tsx +1 -1
- package/src/client/components/workspace/git-panel/OperationBar.tsx +4 -4
- package/src/client/components/workspace/git-panel/StashSection.tsx +1 -1
- package/src/client/components/workspace/git-panel/TreeItem.tsx +2 -2
- package/src/client/components/workspace/git-panel/branch-modal/BranchRow.tsx +2 -2
- package/src/client/components/workspace/git-panel/branch-modal/DeleteDialog.tsx +2 -2
- package/src/client/components/workspace/git-panel/branch-modal/index.tsx +2 -2
- package/src/client/components/workspace/model-dropdown/HarnessTabs.tsx +31 -76
- package/src/client/components/workspace/model-dropdown/Item.tsx +2 -2
- package/src/client/components/workspace/model-dropdown/Panel.tsx +15 -9
- package/src/client/components/workspace/model-dropdown/Section.tsx +1 -1
- package/src/client/components/workspace/model-dropdown/harness-tabs.test.tsx +12 -83
- package/src/client/components/workspace/model-dropdown/index.tsx +2 -2
- package/src/client/components/workspace/model-dropdown/picker-close.test.tsx +16 -2
- package/src/client/components/workspace/plan-panel/PageView.tsx +2 -2
- package/src/client/components/workspace/plan-panel/index.tsx +2 -2
- package/src/client/components/workspace/plugin-panel/Error.tsx +1 -1
- package/src/client/components/workspace/repo-picker/Modal.tsx +3 -3
- package/src/client/components/workspace/repo-picker/Row.tsx +5 -5
- package/src/client/components/workspace/search-panel/Body.tsx +2 -2
- package/src/client/components/workspace/terminal-panel/Header.tsx +3 -3
- package/src/client/components/workspace/terminal-panel/KeyBar.tsx +2 -2
- package/src/client/components/workspace/terminal-panel/QuickActions.tsx +1 -1
- package/src/client/components/workspace/terminal-panel/RealtimeTerminalView.tsx +1 -1
- package/src/client/components/workspace/terminal-panel/index.tsx +1 -1
- package/src/client/components/workspace/usage-panel/index.tsx +3 -3
- package/src/client/components/workspace/user-browser-panel/AddressBar.tsx +1 -1
- package/src/client/components/workspace/wiki-panel/PageView.tsx +2 -2
- package/src/client/components/workspace/wiki-panel/index.tsx +2 -2
- package/src/client/components/workspace/worktree-modal/index.tsx +1 -1
- package/src/client/data/settings/omp-schema.json +27 -7
- package/src/client/hooks/chat/timeline/access-ladder-wiring.test.ts +111 -0
- package/src/client/hooks/chat/timeline/access-ladder.test.ts +66 -0
- package/src/client/hooks/chat/timeline/access-ladder.ts +72 -0
- package/src/client/hooks/chat/timeline/access-mode.ts +11 -1
- package/src/client/hooks/chat/timeline/index.ts +4 -5
- package/src/client/hooks/chat/timeline/modes-contract.ts +10 -1
- package/src/client/hooks/chat/timeline/modes.ts +10 -2
- package/src/client/hooks/chat/timeline/session-harness.ts +2 -1
- package/src/client/hooks/editor/use-unload-guard.tsx +2 -2
- package/src/client/hooks/models/use-harness-accounts-panel.ts +142 -0
- package/src/client/hooks/ui/border-style.test.ts +1 -2
- package/src/client/hooks/ui/theme.ts +23 -2
- package/src/client/main.tsx +7 -1
- package/src/client/tailwind-contrast.test.ts +22 -7
- package/src/client/tailwind.css +115 -18
- package/src/server/lib/assets/theme-css.server.test.ts +31 -1
- package/src/server/lib/assets/theme-css.server.ts +15 -1
- package/src/server/lib/harness/accounts.test.ts +5 -3
- package/src/server/lib/harness/acp/acp-todos.test.ts +23 -0
- package/src/server/lib/omp/session/delete.server.ts +4 -0
- package/src/server/lib/realtime/topics/session-data.server.ts +64 -1
- package/src/server/lib/realtime/topics/session-data.test.ts +189 -0
- package/src/server/lib/tray/runtime.server.ts +5 -0
- package/src/server/plugins/ssr.ts +16 -4
- package/src/server/routes/settings/root.ts +11 -0
- package/src/server/routes/settings/settings-store-routes.test.ts +37 -0
- package/src/shared/lib/chat/orchestration/outcome-markdown.test.ts +57 -0
- package/src/shared/lib/chat/orchestration/outcome-markdown.ts +74 -0
- package/src/shared/lib/chat/timeline/block-chrome.ts +2 -2
- package/src/shared/lib/chat/todo/flat-list.test.ts +81 -0
- package/src/shared/lib/chat/todo/flat-list.ts +29 -0
- package/src/shared/lib/chat/todo/parser.ts +7 -53
- package/src/shared/lib/chat/todo/progress.test.ts +3 -3
- package/src/shared/lib/chat/todo/progress.ts +3 -3
- package/src/shared/lib/fs/git-status.test.ts +22 -22
- package/src/shared/lib/fs/git-status.ts +31 -31
- package/src/shared/lib/icons/icon-paint-authority.ts +5 -4
- package/src/shared/lib/omp/config/schema-releases-19-4.test.ts +20 -3
- package/src/shared/lib/settings/defaults.ts +1 -0
- package/src/shared/lib/theme/catalog.test.ts +42 -0
- package/src/shared/lib/theme/catalog.ts +66 -11
- package/src/shared/lib/theme/css.ts +25 -1
- package/src/shared/lib/theme/custom.test.ts +156 -0
- package/src/shared/lib/theme/custom.ts +260 -0
- package/src/shared/lib/theme/ink-scale.test.ts +83 -2
- package/src/shared/lib/theme/ink-scale.ts +74 -9
- package/src/shared/lib/theme/shell-palette.ts +3 -3
- package/src/shared/lib/theme/theme.test.ts +28 -13
- package/src/shared/types/settings/state.ts +11 -3
- package/tsconfig.json +6 -0
- package/dist/client/static/js/Body-p6zwk0nx.js +0 -3
- package/dist/client/static/js/ImageView-fkfq3fwv.js +0 -1
- package/dist/client/static/js/LayoutWrapper-mdb1qm26.js +0 -2
- package/dist/client/static/js/MergeDiffView-7kpjxcg9.js +0 -1
- package/dist/client/static/js/Modal-0p9cr2tn.js +0 -60
- package/dist/client/static/js/SessionsView-gptt0rq8.js +0 -1
- package/dist/client/static/js/architecture-7GRP2DOG-3hkq8grc.js +0 -1
- package/dist/client/static/js/bash-n7wcmq3s.js +0 -1
- package/dist/client/static/js/c-20y64hcp.js +0 -1
- package/dist/client/static/js/cpp-ty6n0dg9.js +0 -1
- package/dist/client/static/js/css-9gak6bze.js +0 -1
- package/dist/client/static/js/css-ncvxaxt0.js +0 -1
- package/dist/client/static/js/cynefin-OW5HDTMX-9m18e6m5.js +0 -1
- package/dist/client/static/js/eventmodeling-NTZA5JFV-d4egnv9v.js +0 -1
- package/dist/client/static/js/flowDiagram-KWPJA3E3-5bvd5k2t.js +0 -1
- package/dist/client/static/js/gitGraph-4MIJSDKK-grqv890n.js +0 -1
- package/dist/client/static/js/graphql-6rwdfcnf.js +0 -1
- package/dist/client/static/js/html-p76eszt9.js +0 -1
- package/dist/client/static/js/index-28wv94gz.js +0 -2
- package/dist/client/static/js/index-3wgjtp2k.js +0 -9
- package/dist/client/static/js/index-7trfm17d.js +0 -2
- package/dist/client/static/js/index-ays8t3t3.js +0 -4
- package/dist/client/static/js/index-cxe75e06.js +0 -2
- package/dist/client/static/js/index-dmb1pykr.js +0 -1
- package/dist/client/static/js/index-fqc1snjw.js +0 -1
- package/dist/client/static/js/index-jsn2kedv.js +0 -1
- package/dist/client/static/js/index-n1xmkf2g.js +0 -2
- package/dist/client/static/js/index-pe4d9wht.js +0 -1
- package/dist/client/static/js/index-pjf5wak8.js +0 -2
- package/dist/client/static/js/index-sm8gpk3g.js +0 -4
- package/dist/client/static/js/index-st6a8q5z.js +0 -470
- package/dist/client/static/js/index-stmwbavz.js +0 -1
- package/dist/client/static/js/index-swaveqxg.css +0 -1
- package/dist/client/static/js/index-t82q5t6m.js +0 -1
- package/dist/client/static/js/index-t9zjfxvc.js +0 -1
- package/dist/client/static/js/index-tdbcp70z.js +0 -2
- package/dist/client/static/js/index-v38j2zxn.js +0 -2
- package/dist/client/static/js/index-x17y7xdr.js +0 -2
- package/dist/client/static/js/index-xrb4kjr3.js +0 -1
- package/dist/client/static/js/info-A6RAGUB7-rzpg7qk1.js +0 -1
- package/dist/client/static/js/ini-kjcpgebh.js +0 -1
- package/dist/client/static/js/java-0bcyv1jt.js +0 -1
- package/dist/client/static/js/javascript-0mqgcvps.js +0 -1
- package/dist/client/static/js/json-xha2drny.js +0 -1
- package/dist/client/static/js/jsx-8p6dqgpq.js +0 -1
- package/dist/client/static/js/lua-njwwdj4s.js +0 -1
- package/dist/client/static/js/markdown-8gbyxxjd.js +0 -1
- package/dist/client/static/js/one-dark-pro-sstqnzcf.js +0 -1
- package/dist/client/static/js/one-light-6fpxxq2j.js +0 -1
- package/dist/client/static/js/packet-AYTQ26CC-eac14hsq.js +0 -1
- package/dist/client/static/js/pie-WAS4IAKB-a9xqvysf.js +0 -1
- package/dist/client/static/js/properties-d5bwhgwz.js +0 -1
- package/dist/client/static/js/python-fdwwjjhh.js +0 -1
- package/dist/client/static/js/r-4d2ygtfj.js +0 -1
- package/dist/client/static/js/radar-RG4KPBEZ-jv2pm0fe.js +0 -1
- package/dist/client/static/js/railroad-74A4TZTK-j74sc0b6.js +0 -1
- package/dist/client/static/js/railroad-abnf-HS5TGJTU-eaf19baz.js +0 -1
- package/dist/client/static/js/railroad-ebnf-LZEXJU2U-d4j5nq31.js +0 -1
- package/dist/client/static/js/railroad-peg-WCYAUIDC-ba862a9p.js +0 -1
- package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-cx3f29mq.js +0 -8
- package/dist/client/static/js/treeView-Q6P3EWNA-e8yb44pd.js +0 -1
- package/dist/client/static/js/treemap-WGGIJYW6-zvdv84vp.js +0 -1
- package/dist/client/static/js/tsx-dk8rpgtw.js +0 -1
- package/dist/client/static/js/typescript-5txwpd9t.js +0 -1
- package/dist/client/static/js/wardley-WFR3VGLG-hbv0cg4s.js +0 -1
- package/dist/client/static/js/xml-8516fzfp.js +0 -1
- package/dist/client/static/js/yaml-6k1tmwtm.js +0 -1
|
@@ -49,11 +49,16 @@ export interface AnchoredMenuProps {
|
|
|
49
49
|
align?: MenuAlign;
|
|
50
50
|
/**
|
|
51
51
|
* `dialog` for the server sheet — a panel with headings and an Add form.
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
52
|
+
* `listbox` for a chip that opens its option list (the access, thinking and
|
|
53
|
+
* session-mode controls). `menu` for a panel whose rows already claim
|
|
54
|
+
* `menuitem`/`menuitemradio` (the workspace and worktree menus). Omitted for
|
|
55
|
+
* the folder menus: their rows are plain buttons (as they were before the
|
|
56
|
+
* portal), and claiming `menu` would promise arrow-key roving that no one
|
|
57
|
+
* implements.
|
|
55
58
|
*/
|
|
56
|
-
role?: 'dialog';
|
|
59
|
+
role?: 'dialog' | 'listbox' | 'menu';
|
|
60
|
+
/** The panel's DOM id, so a trigger's `aria-controls` keeps pointing at it. */
|
|
61
|
+
id?: string;
|
|
57
62
|
/** Names the panel; every caller labels it by the trigger it opened from. */
|
|
58
63
|
ariaLabel?: string;
|
|
59
64
|
/** The panel's own chrome: width, padding, border, typography. */
|
|
@@ -67,6 +72,7 @@ export function AnchoredMenu({
|
|
|
67
72
|
anchor,
|
|
68
73
|
align = 'end',
|
|
69
74
|
role,
|
|
75
|
+
id,
|
|
70
76
|
ariaLabel,
|
|
71
77
|
className,
|
|
72
78
|
onClose,
|
|
@@ -141,6 +147,7 @@ export function AnchoredMenu({
|
|
|
141
147
|
>
|
|
142
148
|
<div
|
|
143
149
|
ref={panelRef}
|
|
150
|
+
id={id}
|
|
144
151
|
role={role}
|
|
145
152
|
aria-label={ariaLabel}
|
|
146
153
|
// `glass-popover` belongs to the PRIMITIVE, not to each caller: every
|
|
@@ -146,7 +146,7 @@ export function BatchActionBar({
|
|
|
146
146
|
type="button"
|
|
147
147
|
onClick={onDelete}
|
|
148
148
|
disabled={actionDisabled}
|
|
149
|
-
className="min-w-0 w-full h-7 flex items-center justify-center gap-1 px-2 rounded bg-error text-
|
|
149
|
+
className="min-w-0 w-full h-7 flex items-center justify-center gap-1 px-2 rounded bg-error text-error-on text-[11px] font-semibold hover:opacity-90 transition-opacity cursor-pointer disabled:opacity-40"
|
|
150
150
|
>
|
|
151
151
|
{busy ? (
|
|
152
152
|
<>
|
|
@@ -77,7 +77,7 @@ export function BatchDeleteModal({
|
|
|
77
77
|
maxWidthClass="max-w-[460px]"
|
|
78
78
|
header={
|
|
79
79
|
<div className="flex items-center gap-3 min-w-0">
|
|
80
|
-
<Trash2 size={16} className="text-error shrink-0" />
|
|
80
|
+
<Trash2 size={16} className="text-error-text shrink-0" />
|
|
81
81
|
<div className="min-w-0">
|
|
82
82
|
<h2 className="text-sm font-semibold text-ink">
|
|
83
83
|
Delete {count} {plural}?
|
|
@@ -100,7 +100,7 @@ export function BatchDeleteModal({
|
|
|
100
100
|
type="button"
|
|
101
101
|
onClick={onConfirm}
|
|
102
102
|
disabled={isDeleting || finished}
|
|
103
|
-
className="px-3.5 py-1.5 rounded-md bg-error text-
|
|
103
|
+
className="px-3.5 py-1.5 rounded-md bg-error text-error-on text-xs font-medium hover:opacity-90 transition-opacity cursor-pointer disabled:opacity-50 flex items-center gap-1.5"
|
|
104
104
|
>
|
|
105
105
|
{isDeleting ? (
|
|
106
106
|
<>
|
|
@@ -159,7 +159,7 @@ export function BatchDeleteModal({
|
|
|
159
159
|
|
|
160
160
|
{outcome?.error ? (
|
|
161
161
|
<div className="flex items-start gap-2 px-3 py-2 rounded-md border border-error/30 bg-error/5 text-[11px] text-ink/75">
|
|
162
|
-
<AlertTriangle size={13} className="mt-0.5 shrink-0 text-error" />
|
|
162
|
+
<AlertTriangle size={13} className="mt-0.5 shrink-0 text-error-text" />
|
|
163
163
|
<span>{outcome.error}</span>
|
|
164
164
|
</div>
|
|
165
165
|
) : finished ? (
|
|
@@ -171,7 +171,7 @@ export function BatchDeleteModal({
|
|
|
171
171
|
</div>
|
|
172
172
|
) : (
|
|
173
173
|
<div className="flex items-start gap-2 px-3 py-2 rounded-md border border-error/30 bg-error/5 text-[11px] text-ink/75">
|
|
174
|
-
<AlertTriangle size={13} className="mt-0.5 shrink-0 text-error" />
|
|
174
|
+
<AlertTriangle size={13} className="mt-0.5 shrink-0 text-error-text" />
|
|
175
175
|
<span>
|
|
176
176
|
{sessions
|
|
177
177
|
? 'This cannot be undone from the UI. Archive a session instead to keep its transcript.'
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
* **The numbers are a contrast budget, not taste.** The unchecked ring needs 3:1
|
|
31
31
|
* against the surface it sits on — WCAG's non-text floor, the same one the brand
|
|
32
32
|
* marks use — and a `text-ink/NN` alpha is the only way to reach it on every
|
|
33
|
-
* palette: measured across all
|
|
33
|
+
* palette: measured across all 63, `ink 75%` is the first alpha whose worst case
|
|
34
34
|
* clears the floor (3.02:1 on `solarized-light`); 60% is 2.34:1 and 40% — the
|
|
35
35
|
* `border-ink/30` these controls shipped with — is **1.71:1**. The checked fill
|
|
36
36
|
* is the full ink, which makes the tick `paper`, so the pair is the palette's
|
|
@@ -30,7 +30,8 @@ interface McpSectionProps {
|
|
|
30
30
|
* popover's paper, and the fill hex is the palette's own signal colour, which
|
|
31
31
|
* is not solved for reading. Measured on `onedarkpro-light`: `--theme-error`
|
|
32
32
|
* `#E06C75` is 2.91:1 on the paper (a pale pink), while `--theme-error-text`
|
|
33
|
-
* `#
|
|
33
|
+
* `#94474d` is 5.86:1 on the page and 4.56:1 on its own 25% chip, the red the
|
|
34
|
+
* failure state is supposed to show.
|
|
34
35
|
*/
|
|
35
36
|
const STATUS_ICON_CLASS: Record<McpServerStatus, string> = {
|
|
36
37
|
active: 'text-success-text',
|
|
@@ -72,7 +73,7 @@ export function McpSection({ sessionId }: McpSectionProps) {
|
|
|
72
73
|
</div>
|
|
73
74
|
|
|
74
75
|
{loading && <div className="text-[11px] text-ink/50 italic font-sans">Loading…</div>}
|
|
75
|
-
{error && <div className="text-[11px] text-error font-sans">{error}</div>}
|
|
76
|
+
{error && <div className="text-[11px] text-error-text font-sans">{error}</div>}
|
|
76
77
|
{!loading && !error && servers.length === 0 && (
|
|
77
78
|
<div className="text-[11px] text-ink/50 italic font-sans">No MCP servers</div>
|
|
78
79
|
)}
|
|
@@ -119,8 +119,8 @@ export function FileIcon({ name, isFolder, isOpen, size = 14, className = '' }:
|
|
|
119
119
|
return <BrandIconSvg name="Npm" size={size} className={className} />;
|
|
120
120
|
}
|
|
121
121
|
return isOpen
|
|
122
|
-
? <FolderOpen size={size} className={`text-meta ${className}`} />
|
|
123
|
-
: <Folder size={size} className={`text-meta ${className}`} />;
|
|
122
|
+
? <FolderOpen size={size} className={`text-meta-text ${className}`} />
|
|
123
|
+
: <Folder size={size} className={`text-meta-text ${className}`} />;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
if (lowerName === 'package.json') {
|
|
@@ -179,7 +179,7 @@ export function FileIcon({ name, isFolder, isOpen, size = 14, className = '' }:
|
|
|
179
179
|
return <FileCog size={size} className={`text-ink/60 ${className}`} />;
|
|
180
180
|
}
|
|
181
181
|
if (lowerName.endsWith('.zip') || lowerName.endsWith('.tar.gz')) {
|
|
182
|
-
return <FileArchive size={size} className={`text-warning ${className}`} />;
|
|
182
|
+
return <FileArchive size={size} className={`text-warning-text ${className}`} />;
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
return <File size={size} className={`text-ink/60 ${className}`} />;
|
|
@@ -55,9 +55,10 @@ interface HarnessGlyphProps {
|
|
|
55
55
|
* both measured:
|
|
56
56
|
*
|
|
57
57
|
* - a `title` on the innermost element is the one the browser shows, so the
|
|
58
|
-
* tab's own sentence (
|
|
59
|
-
* this component's generic "Session runs on claude" — the tab
|
|
60
|
-
* uninformative while carrying a perfectly good explanation one level
|
|
58
|
+
* tab's own sentence (a blocked tab's reason, or the probe's build string)
|
|
59
|
+
* was replaced by this component's generic "Session runs on claude" — the tab
|
|
60
|
+
* looked uninformative while carrying a perfectly good explanation one level
|
|
61
|
+
* up;
|
|
61
62
|
* - a `role="img"` with a label inside a named `<button>` contributes nothing
|
|
62
63
|
* to the button's name and only adds a second thing to announce.
|
|
63
64
|
*/
|
|
@@ -39,7 +39,7 @@ export function ImageFullscreen({ src, name, onClose }: ImageFullscreenProps) {
|
|
|
39
39
|
overlay={
|
|
40
40
|
state === 'error' ? (
|
|
41
41
|
<div className="absolute inset-0 flex flex-col items-center justify-center gap-2 px-6 text-center">
|
|
42
|
-
<AlertTriangle size={20} className="text-error" />
|
|
42
|
+
<AlertTriangle size={20} className="text-error-text" />
|
|
43
43
|
<span className="font-sans text-xs text-on-ink-muted">Could not decode {name}</span>
|
|
44
44
|
</div>
|
|
45
45
|
) : state === 'loading' ? (
|
|
@@ -54,8 +54,8 @@ function ImageSurface({ src, name, className = '' }: ImageViewerProps) {
|
|
|
54
54
|
if (error) {
|
|
55
55
|
return (
|
|
56
56
|
<div className={`flex h-full w-full flex-col items-center justify-center gap-2 px-6 text-center bg-paper ${className}`}>
|
|
57
|
-
<AlertTriangle size={20} className="text-error" />
|
|
58
|
-
<span className="font-sans text-xs text-error">Could not read {name}</span>
|
|
57
|
+
<AlertTriangle size={20} className="text-error-text" />
|
|
58
|
+
<span className="font-sans text-xs text-error-text">Could not read {name}</span>
|
|
59
59
|
<span className="break-all font-mono text-[11px] text-ink/50">{error}</span>
|
|
60
60
|
</div>
|
|
61
61
|
);
|
|
@@ -104,7 +104,7 @@ export function ReviewPopover({ block, verdict, note, anchor, onSave, onRemove,
|
|
|
104
104
|
title="This block needs work"
|
|
105
105
|
onClick={() => submit('needs-work')}
|
|
106
106
|
className={`${ACTION_CLASS} border px-2 text-[11px] ${
|
|
107
|
-
verdict === 'needs-work' ? 'border-error bg-error/10 text-error' : 'border-ink/15 text-ink/70 hover:border-ink/40'
|
|
107
|
+
verdict === 'needs-work' ? 'border-error bg-error/10 text-error-text' : 'border-ink/15 text-ink/70 hover:border-ink/40'
|
|
108
108
|
}`}
|
|
109
109
|
>
|
|
110
110
|
<X size={11} /> Needs work
|
|
@@ -113,7 +113,7 @@ export function ReviewPopover({ block, verdict, note, anchor, onSave, onRemove,
|
|
|
113
113
|
<button
|
|
114
114
|
type="button"
|
|
115
115
|
onClick={onRemove}
|
|
116
|
-
className={`${ACTION_CLASS} ml-auto border border-ink/15 px-2 text-[11px] text-ink/60 hover:text-error`}
|
|
116
|
+
className={`${ACTION_CLASS} ml-auto border border-ink/15 px-2 text-[11px] text-ink/60 hover:text-error-text`}
|
|
117
117
|
>
|
|
118
118
|
Remove
|
|
119
119
|
</button>
|
|
@@ -62,7 +62,7 @@ export function ReviewSummary({ counts, outdated, error, sent, onSend, onRemoveO
|
|
|
62
62
|
<button
|
|
63
63
|
type="button"
|
|
64
64
|
onClick={() => onRemoveOutdated(annotation.id)}
|
|
65
|
-
className="cursor-pointer text-ink/40 hover:text-error"
|
|
65
|
+
className="cursor-pointer text-ink/40 hover:text-error-text"
|
|
66
66
|
aria-label={`Remove outdated annotation at ${rangeOf(annotation)}`}
|
|
67
67
|
>
|
|
68
68
|
<X size={11} />
|
|
@@ -73,7 +73,7 @@ export function ReviewSummary({ counts, outdated, error, sent, onSend, onRemoveO
|
|
|
73
73
|
)}
|
|
74
74
|
|
|
75
75
|
{error && (
|
|
76
|
-
<div role="alert" className="mb-1.5 text-[11px] text-error">
|
|
76
|
+
<div role="alert" className="mb-1.5 text-[11px] text-error-text">
|
|
77
77
|
{error}
|
|
78
78
|
</div>
|
|
79
79
|
)}
|
|
@@ -81,7 +81,7 @@ export function ReviewSummary({ counts, outdated, error, sent, onSend, onRemoveO
|
|
|
81
81
|
<div className="flex items-center gap-2 font-sans text-[11px]">
|
|
82
82
|
<span className="text-ink/70">
|
|
83
83
|
<span className="text-ink">{counts.good}</span> good ·{' '}
|
|
84
|
-
<span className="text-error">{counts.needsWork}</span> needs work
|
|
84
|
+
<span className="text-error-text">{counts.needsWork}</span> needs work
|
|
85
85
|
</span>
|
|
86
86
|
{sent && <span className="text-ink/50">Added to the chat box</span>}
|
|
87
87
|
<button
|
|
@@ -66,7 +66,7 @@ export class PluginRenderBoundary extends Component<PluginRenderBoundaryProps, P
|
|
|
66
66
|
data-plugin-error={this.props.pluginId}
|
|
67
67
|
className="flex items-start gap-2 rounded-md border border-error/20 bg-error/[0.03] px-2.5 py-1.5 text-[10.5px] text-ink/70"
|
|
68
68
|
>
|
|
69
|
-
<AlertTriangle size={11} className="mt-0.5 shrink-0 text-error" />
|
|
69
|
+
<AlertTriangle size={11} className="mt-0.5 shrink-0 text-error-text" />
|
|
70
70
|
<span className="select-text">
|
|
71
71
|
Plugin <span className="font-mono">{this.props.pluginId}</span> failed to render {this.props.surface}:{' '}
|
|
72
72
|
<span className="font-mono">{reason}</span>
|
|
@@ -184,7 +184,7 @@ export function ServerPanel({ open, onClose, variant, store, triggerRef }: Serve
|
|
|
184
184
|
|
|
185
185
|
{store.error && (
|
|
186
186
|
<div className="flex items-start gap-1.5 px-3 py-1.5 border-t border-ink/10">
|
|
187
|
-
<p className="flex-1 text-[10px] text-error">{store.error}</p>
|
|
187
|
+
<p className="flex-1 text-[10px] text-error-text">{store.error}</p>
|
|
188
188
|
<button
|
|
189
189
|
type="button"
|
|
190
190
|
onClick={store.dismissError}
|
|
@@ -64,7 +64,7 @@ export function Row({
|
|
|
64
64
|
>
|
|
65
65
|
<span className="flex items-center gap-1.5">
|
|
66
66
|
<span className="text-xs font-medium text-ink truncate">{server.label}</span>
|
|
67
|
-
{active && <Check size={12} className="text-success flex-shrink-0" aria-label="Active" />}
|
|
67
|
+
{active && <Check size={12} className="text-success-text flex-shrink-0" aria-label="Active" />}
|
|
68
68
|
</span>
|
|
69
69
|
<span className="block text-[10px] text-ink/50 truncate font-mono">{server.url}</span>
|
|
70
70
|
<span className="block text-[10px] text-ink/40 truncate">{statusLine(server)}</span>
|
|
@@ -76,7 +76,7 @@ export function Row({
|
|
|
76
76
|
disabled={busy}
|
|
77
77
|
title="Stop this local server"
|
|
78
78
|
aria-label={`Stop ${server.label}`}
|
|
79
|
-
className="p-1 rounded text-ink/40 hover:text-error hover:bg-error/10 cursor-pointer disabled:opacity-40"
|
|
79
|
+
className="p-1 rounded text-ink/40 hover:text-error-text hover:bg-error/10 cursor-pointer disabled:opacity-40"
|
|
80
80
|
>
|
|
81
81
|
<Square size={12} />
|
|
82
82
|
</button>
|
|
@@ -88,7 +88,7 @@ export function Row({
|
|
|
88
88
|
disabled={busy}
|
|
89
89
|
title="Remove from the list"
|
|
90
90
|
aria-label={`Remove ${server.label}`}
|
|
91
|
-
className="p-1 rounded text-ink/40 hover:text-error hover:bg-error/10 cursor-pointer disabled:opacity-40"
|
|
91
|
+
className="p-1 rounded text-ink/40 hover:text-error-text hover:bg-error/10 cursor-pointer disabled:opacity-40"
|
|
92
92
|
>
|
|
93
93
|
<Trash2 size={12} />
|
|
94
94
|
</button>
|
|
@@ -26,10 +26,10 @@ export function MenuItem({ icon: Icon, label, onClick, danger = false }: MenuIte
|
|
|
26
26
|
role="menuitem"
|
|
27
27
|
onClick={onClick}
|
|
28
28
|
className={`w-full text-left px-3 py-1.5 flex items-center gap-2 transition-colors cursor-pointer ${
|
|
29
|
-
danger ? 'hover:bg-error/10 text-error' : 'hover:bg-ink/5'
|
|
29
|
+
danger ? 'hover:bg-error/10 text-error-text' : 'hover:bg-ink/5'
|
|
30
30
|
}`}
|
|
31
31
|
>
|
|
32
|
-
<Icon size={12} className={danger ? 'text-error' : 'text-ink/60'} />
|
|
32
|
+
<Icon size={12} className={danger ? 'text-error-text' : 'text-ink/60'} />
|
|
33
33
|
<span>{label}</span>
|
|
34
34
|
</button>
|
|
35
35
|
);
|
|
@@ -67,7 +67,7 @@ export function SubagentRow({ subagent, sessionId, style, running }: SubagentRow
|
|
|
67
67
|
title="Stop this subagent"
|
|
68
68
|
aria-label="Stop this subagent"
|
|
69
69
|
onClick={() => void cancelSubagent(sessionId, subagent.id)}
|
|
70
|
-
className="touch-visible shrink-0 mr-1 w-5 h-5 flex items-center justify-center rounded text-ink/40 hover:text-error hover:bg-error/5 opacity-0 group-hover/subagent-row:opacity-100 transition-opacity cursor-pointer"
|
|
70
|
+
className="touch-visible shrink-0 mr-1 w-5 h-5 flex items-center justify-center rounded text-ink/40 hover:text-error-text hover:bg-error/5 opacity-0 group-hover/subagent-row:opacity-100 transition-opacity cursor-pointer"
|
|
71
71
|
>
|
|
72
72
|
<Square size={10} />
|
|
73
73
|
</button>
|
|
@@ -62,7 +62,7 @@ export function SessionDeleteModal({
|
|
|
62
62
|
maxWidthClass="max-w-[460px]"
|
|
63
63
|
header={
|
|
64
64
|
<div className="flex items-center gap-3 min-w-0">
|
|
65
|
-
<Trash2 size={16} className="text-error shrink-0" />
|
|
65
|
+
<Trash2 size={16} className="text-error-text shrink-0" />
|
|
66
66
|
<div className="min-w-0">
|
|
67
67
|
<h2 className="text-sm font-semibold text-ink">Delete session?</h2>
|
|
68
68
|
<p className="text-[11px] text-ink/50 truncate">{session.title}</p>
|
|
@@ -83,7 +83,7 @@ export function SessionDeleteModal({
|
|
|
83
83
|
type="button"
|
|
84
84
|
onClick={onConfirm}
|
|
85
85
|
disabled={isDeleting}
|
|
86
|
-
className="px-3.5 py-1.5 rounded-md bg-error text-
|
|
86
|
+
className="px-3.5 py-1.5 rounded-md bg-error text-error-on text-xs font-medium hover:opacity-90 transition-opacity cursor-pointer disabled:opacity-50 flex items-center gap-1.5"
|
|
87
87
|
>
|
|
88
88
|
{isDeleting ? (
|
|
89
89
|
<>
|
|
@@ -118,12 +118,12 @@ export function SessionDeleteModal({
|
|
|
118
118
|
|
|
119
119
|
{error ? (
|
|
120
120
|
<div className="flex items-start gap-2 px-3 py-2 rounded-md border border-error/30 bg-error/5 text-[11px] text-ink/75">
|
|
121
|
-
<AlertTriangle size={13} className="mt-0.5 shrink-0 text-error" />
|
|
121
|
+
<AlertTriangle size={13} className="mt-0.5 shrink-0 text-error-text" />
|
|
122
122
|
<span>{error}</span>
|
|
123
123
|
</div>
|
|
124
124
|
) : (
|
|
125
125
|
<div className="flex items-start gap-2 px-3 py-2 rounded-md border border-error/30 bg-error/5 text-[11px] text-ink/75">
|
|
126
|
-
<AlertTriangle size={13} className="mt-0.5 shrink-0 text-error" />
|
|
126
|
+
<AlertTriangle size={13} className="mt-0.5 shrink-0 text-error-text" />
|
|
127
127
|
<span>This cannot be undone from the UI. Archive it instead to keep the transcript.</span>
|
|
128
128
|
</div>
|
|
129
129
|
)}
|
|
@@ -115,7 +115,7 @@ export function StatusSlot({
|
|
|
115
115
|
<Loader2 size={size - 1} className="animate-spin" />
|
|
116
116
|
</span>
|
|
117
117
|
) : awaitingInput ? (
|
|
118
|
-
<CircleQuestionMark size={size - 1} className="animate-pulse text-warning" />
|
|
118
|
+
<CircleQuestionMark size={size - 1} className="animate-pulse text-warning-text" />
|
|
119
119
|
) : waiting ? (
|
|
120
120
|
<span role="status" aria-label={`Waiting for ${waitingFor?.title ?? 'another session'}`}>
|
|
121
121
|
<Hourglass size={size - 1} className="animate-pulse" />
|
|
@@ -88,9 +88,13 @@ export function TrailingSlot({
|
|
|
88
88
|
);
|
|
89
89
|
|
|
90
90
|
if (touch) {
|
|
91
|
+
// `ml-0.5`: the 2px cluster gap the folder header states between its
|
|
92
|
+
// chevron, `+` and `⋯`. `min-w-7` is the `+` button's box, and `text-right`
|
|
93
|
+
// keeps even a two-character age's right edge on that box's right edge, so
|
|
94
|
+
// the chevron before it stays on the header's chevron column.
|
|
91
95
|
return (
|
|
92
|
-
<span className="ml-
|
|
93
|
-
{timeNode('font-mono text-[10px]')}
|
|
96
|
+
<span className="ml-0.5 flex shrink-0 items-center gap-0.5">
|
|
97
|
+
{timeNode('min-w-7 whitespace-nowrap text-right font-mono text-[10px]')}
|
|
94
98
|
{trigger}
|
|
95
99
|
</span>
|
|
96
100
|
);
|
|
@@ -49,9 +49,21 @@
|
|
|
49
49
|
* 2px of vertical padding lands on 32px. `py-0.5`, not a fixed `h-8`: a row that
|
|
50
50
|
* carries a second line (a held prompt, a worktree badge) has to grow, and a
|
|
51
51
|
* fixed height would clip it.
|
|
52
|
+
*
|
|
53
|
+
* ## Touch discloses the branch on the RIGHT
|
|
54
|
+
*
|
|
55
|
+
* The desktop row keeps its chevron in the leading slot, hover-revealed while a
|
|
56
|
+
* run cue holds that slot. Touch has no hover, and the phone's folder header
|
|
57
|
+
* already draws its disclosure at the trailing edge — so the touch row puts the
|
|
58
|
+
* branch chevron last, after the age and `⋯`, in the same right rail as the
|
|
59
|
+
* folder name (`mobile-session-sidebar/SessionRow` states the same rule). The
|
|
60
|
+
* leading slot then reports state only, which is what keeps a running session's
|
|
61
|
+
* subagents reachable: the chevron is never opacity-0 on a surface that cannot
|
|
62
|
+
* hover it back.
|
|
52
63
|
*/
|
|
53
64
|
|
|
54
65
|
import type { TargetedMouseEvent } from 'preact';
|
|
66
|
+
import { ChevronDown, ChevronRight } from 'lucide-preact';
|
|
55
67
|
import { useInlineRename } from '@/client/hooks/ui/inline-rename';
|
|
56
68
|
import { useSessionRenaming } from '@/client/hooks/workspace/renaming-sessions';
|
|
57
69
|
import { SessionActionsMenu, useRowMenu } from '@/client/components/common/session-actions-menu';
|
|
@@ -163,6 +175,18 @@ export function SessionRow({
|
|
|
163
175
|
const menuOpen = menu.anchor !== null;
|
|
164
176
|
const waiting = Boolean(waitingFor);
|
|
165
177
|
const displayTitle = title.charAt(0).toUpperCase() + title.slice(1);
|
|
178
|
+
// The leading 16px slot is shared: on touch the branch disclosure lives there
|
|
179
|
+
// while the slot is free (the same position desktop uses), and moves to the
|
|
180
|
+
// trailing rail only while the slot reports a run or an in-flight rename —
|
|
181
|
+
// the one time a leading chevron would sit under the spinner it shares the
|
|
182
|
+
// slot with. Touch has no hover, so the leading chevron is PINNED rather
|
|
183
|
+
// than revealed; `StatusSlot` owns that pin (`chevronPinned`).
|
|
184
|
+
const liveRun = awaitingInput || status === 'stream' || waiting;
|
|
185
|
+
const leadingBranchControl = expandable && Boolean(onToggleExpand) && (!touch || (!liveRun && !renaming));
|
|
186
|
+
// In batch mode the row is a choice, so the disclosure is withdrawn the same
|
|
187
|
+
// way the leading slot's is (`StatusSlot` swaps it for the checkbox).
|
|
188
|
+
const trailingBranchControl =
|
|
189
|
+
touch && !selectable && expandable && Boolean(onToggleExpand) && (liveRun || renaming);
|
|
166
190
|
|
|
167
191
|
if (isEditing) {
|
|
168
192
|
return (
|
|
@@ -214,9 +238,9 @@ export function SessionRow({
|
|
|
214
238
|
awaitingInput={awaitingInput}
|
|
215
239
|
renaming={renaming}
|
|
216
240
|
waitingFor={waitingFor}
|
|
217
|
-
expandable={
|
|
241
|
+
expandable={leadingBranchControl}
|
|
218
242
|
isExpanded={isExpanded}
|
|
219
|
-
onToggleExpand={onToggleExpand}
|
|
243
|
+
onToggleExpand={leadingBranchControl ? onToggleExpand : undefined}
|
|
220
244
|
child={isChild}
|
|
221
245
|
selectable={selectable}
|
|
222
246
|
selected={selected}
|
|
@@ -246,6 +270,36 @@ export function SessionRow({
|
|
|
246
270
|
{worktree && <WorktreeBadge worktree={worktree} />}
|
|
247
271
|
</span>
|
|
248
272
|
|
|
273
|
+
{/* The touch rail states the folder header's three columns in the same
|
|
274
|
+
order — `chevron · +/age · ⋯` — whenever the disclosure has to be
|
|
275
|
+
here. A row without a trailing chevron (a leaf, or an idle branch
|
|
276
|
+
row whose chevron is in the leading slot) still reserves the column:
|
|
277
|
+
without it the age and `⋯` slide 28px right and stop lining up with
|
|
278
|
+
the folder's `+` and `⋯`. */}
|
|
279
|
+
{touch && !selectable && hasActions && !trailingBranchControl && (
|
|
280
|
+
<span aria-hidden="true" className="h-7 w-7 shrink-0" />
|
|
281
|
+
)}
|
|
282
|
+
|
|
283
|
+
{/* The touch row's branch disclosure, BEFORE the age and actions so it
|
|
284
|
+
shares the folder header's leftmost rail column. Only a row whose
|
|
285
|
+
leading slot is busy draws it here — an idle row keeps the chevron
|
|
286
|
+
in that slot, sharing it with the run cue as `StatusSlot` pins it. */}
|
|
287
|
+
{trailingBranchControl && (
|
|
288
|
+
<button
|
|
289
|
+
type="button"
|
|
290
|
+
onClick={(event) => {
|
|
291
|
+
event.stopPropagation();
|
|
292
|
+
onToggleExpand?.(event);
|
|
293
|
+
}}
|
|
294
|
+
title={isExpanded ? 'Collapse sessions and subagents' : 'Expand sessions and subagents'}
|
|
295
|
+
aria-expanded={isExpanded}
|
|
296
|
+
aria-label={isExpanded ? 'Collapse sessions and subagents' : 'Expand sessions and subagents'}
|
|
297
|
+
className="flex h-7 w-7 shrink-0 items-center justify-center rounded text-ink/55 transition-colors hover:bg-ink/10 hover:text-ink cursor-pointer"
|
|
298
|
+
>
|
|
299
|
+
{isExpanded ? <ChevronDown size={14} /> : <ChevronRight size={14} />}
|
|
300
|
+
</button>
|
|
301
|
+
)}
|
|
302
|
+
|
|
249
303
|
<TrailingSlot
|
|
250
304
|
timeAgo={timeAgo}
|
|
251
305
|
timeTitle={timeTitle}
|
|
@@ -118,6 +118,86 @@ describe('modern session row', () => {
|
|
|
118
118
|
expect(el.querySelector('button[aria-expanded]')).not.toBeNull();
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
+
/**
|
|
122
|
+
* The phone's branch disclosure shares the LEADING 16px slot with the status
|
|
123
|
+
* cue: it is pinned there whenever that slot has nothing to report, and a
|
|
124
|
+
* spinner/question/hourglass takes the slot only while it must. This is what
|
|
125
|
+
* stops an idle row reserving a trailing column for a control the folder
|
|
126
|
+
* header already draws at the left of its actions.
|
|
127
|
+
*/
|
|
128
|
+
test('an idle touch row pins the branch chevron in the leading status slot', async () => {
|
|
129
|
+
const el = await mount({ density: 'touch', expandable: true, onRename: () => {}, timeAgo: '5m', onToggleExpand: () => {} });
|
|
130
|
+
const row = el.querySelector('[data-testid="session-item"]') as HTMLElement;
|
|
131
|
+
const toggle = el.querySelector('[aria-label="Expand sessions and subagents"]') as HTMLElement;
|
|
132
|
+
expect(toggle).not.toBeNull();
|
|
133
|
+
// ONE disclosure: the trailing rail does not draw a duplicate.
|
|
134
|
+
expect(el.querySelectorAll('[aria-label*="sessions and subagents"]')).toHaveLength(1);
|
|
135
|
+
expect(toggle.getAttribute('aria-expanded')).toBe('false');
|
|
136
|
+
// The leading slot is the row's first element; the trailing slot keeps its
|
|
137
|
+
// reserved column so the age still lines up with the folder's `+`.
|
|
138
|
+
expect(row.firstElementChild?.contains(toggle)).toBe(true);
|
|
139
|
+
const trailing = row.lastElementChild as HTMLElement;
|
|
140
|
+
expect(trailing.querySelector('[aria-label="Session actions"]')).not.toBeNull();
|
|
141
|
+
expect((trailing.previousElementSibling as HTMLElement).getAttribute('aria-hidden')).toBe('true');
|
|
142
|
+
});
|
|
143
|
+
|
|
144
|
+
test('a running touch row moves the branch chevron to the trailing rail', async () => {
|
|
145
|
+
const el = await mount({ density: 'touch', status: 'stream', expandable: true, onRename: () => {}, timeAgo: '5m', onToggleExpand: () => {} });
|
|
146
|
+
const row = el.querySelector('[data-testid="session-item"]') as HTMLElement;
|
|
147
|
+
const toggle = el.querySelector('[aria-label="Expand sessions and subagents"]') as HTMLElement;
|
|
148
|
+
// The spinner still reports the run, and the chevron is still on screen.
|
|
149
|
+
expect(el.querySelector('[role="status"]')?.getAttribute('aria-label')).toBe('Running');
|
|
150
|
+
expect(toggle).not.toBeNull();
|
|
151
|
+
expect(toggle.className).not.toContain('opacity-0');
|
|
152
|
+
// Not in the leading slot: the spinner owns it, so the disclosure sits
|
|
153
|
+
// immediately before the age and actions in the header's rail.
|
|
154
|
+
expect(row.firstElementChild?.contains(toggle)).toBe(false);
|
|
155
|
+
const trailing = toggle.nextElementSibling as HTMLElement;
|
|
156
|
+
expect(trailing.querySelector('[aria-label="Session actions"]')).not.toBeNull();
|
|
157
|
+
expect(trailing.textContent).toContain('5m');
|
|
158
|
+
});
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* The trailing rail is one fact shared with `WorkspaceHeader` on touch: a
|
|
162
|
+
* 28px control, 2px apart, in the order chevron · +/age · ⋯. If either file
|
|
163
|
+
* states its own gap, the three columns drift.
|
|
164
|
+
*/
|
|
165
|
+
test('a running touch row puts its chevron in the header\'s leftmost rail column', async () => {
|
|
166
|
+
const el = await mount({ density: 'touch', status: 'stream', expandable: true, onRename: () => {}, timeAgo: '5m', onToggleExpand: () => {} });
|
|
167
|
+
const toggle = el.querySelector('[aria-label="Expand sessions and subagents"]') as HTMLElement;
|
|
168
|
+
expect(toggle.className).toContain('h-7');
|
|
169
|
+
expect(toggle.className).toContain('w-7');
|
|
170
|
+
const trailing = toggle.nextElementSibling as HTMLElement;
|
|
171
|
+
// The 2px gap lives on the age slot, and its minimum width is the `+` box.
|
|
172
|
+
expect(trailing.className).toContain('ml-0.5');
|
|
173
|
+
const age = trailing.querySelector('span.font-mono') as HTMLElement;
|
|
174
|
+
expect(age.className).toContain('min-w-7');
|
|
175
|
+
expect(age.className).toContain('text-right');
|
|
176
|
+
});
|
|
177
|
+
|
|
178
|
+
test('a leaf touch row reserves the chevron column for its age and actions', async () => {
|
|
179
|
+
const el = await mount({ density: 'touch', onRename: () => {}, timeAgo: '5m' });
|
|
180
|
+
const row = el.querySelector('[data-testid="session-item"]') as HTMLElement;
|
|
181
|
+
const trailing = row.lastElementChild as HTMLElement;
|
|
182
|
+
const spacer = trailing.previousElementSibling as HTMLElement;
|
|
183
|
+
expect(spacer.getAttribute('aria-hidden')).toBe('true');
|
|
184
|
+
expect(spacer.className).toContain('w-7');
|
|
185
|
+
// The 2px gap belongs to the age slot, not the reserved column.
|
|
186
|
+
expect(spacer.className).not.toContain('ml-0.5');
|
|
187
|
+
});
|
|
188
|
+
|
|
189
|
+
test('a touch row toggles the branch without selecting the session', async () => {
|
|
190
|
+
const onToggleExpand = vi.fn();
|
|
191
|
+
const onClick = vi.fn();
|
|
192
|
+
const el = await mount({ density: 'touch', expandable: true, isExpanded: true, onToggleExpand, onClick });
|
|
193
|
+
const toggle = el.querySelector('[aria-label="Collapse sessions and subagents"]') as HTMLElement;
|
|
194
|
+
await act(async () => {
|
|
195
|
+
toggle.dispatchEvent(new MouseEvent('click', { bubbles: true }));
|
|
196
|
+
});
|
|
197
|
+
expect(onToggleExpand).toHaveBeenCalledTimes(1);
|
|
198
|
+
expect(onClick).not.toHaveBeenCalled();
|
|
199
|
+
});
|
|
200
|
+
|
|
121
201
|
test('the actions trigger is drawn and named, and is not hidden from the keyboard', async () => {
|
|
122
202
|
const el = await mount({ onRename: () => {} });
|
|
123
203
|
const trigger = el.querySelector('[aria-label="Session actions"]');
|
|
@@ -152,11 +232,12 @@ describe('modern session row', () => {
|
|
|
152
232
|
});
|
|
153
233
|
|
|
154
234
|
test('batch mode swaps the status slot for the checkbox', async () => {
|
|
155
|
-
const el = await mount({ selectable: true, selected: true, status: 'stream' });
|
|
235
|
+
const el = await mount({ selectable: true, selected: true, status: 'stream', density: 'touch', expandable: true, onToggleExpand: () => {} });
|
|
156
236
|
expect(el.querySelector('input[type="checkbox"]')).not.toBeNull();
|
|
157
|
-
// The run cue and the checkbox are never
|
|
158
|
-
//
|
|
237
|
+
// The run cue, the branch chevron and the checkbox are never drawn
|
|
238
|
+
// together: in this mode the row is a choice.
|
|
159
239
|
expect(el.querySelector('[role="status"]')).toBeNull();
|
|
240
|
+
expect(el.querySelector('[aria-label*="sessions and subagents"]')).toBeNull();
|
|
160
241
|
expect(el.querySelector('[data-testid="session-item"]')?.getAttribute('data-selected')).toBe('true');
|
|
161
242
|
});
|
|
162
243
|
|
|
@@ -142,7 +142,7 @@ export function ShellUpdateModal({ download, phase, message, onConfirm, onClose
|
|
|
142
142
|
{(phase === 'done' || phase === 'error') && (
|
|
143
143
|
<p
|
|
144
144
|
role="status"
|
|
145
|
-
className={`flex items-start gap-2 ${phase === 'error' ? 'text-error' : 'text-ink'}`}
|
|
145
|
+
className={`flex items-start gap-2 ${phase === 'error' ? 'text-error-text' : 'text-ink'}`}
|
|
146
146
|
>
|
|
147
147
|
{phase === 'error' ? (
|
|
148
148
|
<AlertCircle size={14} className="mt-0.5 shrink-0" />
|
|
@@ -79,7 +79,7 @@ export function TodoRow({ task, current }: { task: TodoItem; current: boolean })
|
|
|
79
79
|
</ul>
|
|
80
80
|
)}
|
|
81
81
|
{note && (
|
|
82
|
-
<div className="mt-0.5 text-[10.5px] leading-snug text-warning
|
|
82
|
+
<div className="mt-0.5 text-[10.5px] leading-snug text-warning-text break-words">{note}</div>
|
|
83
83
|
)}
|
|
84
84
|
</div>
|
|
85
85
|
{visual.active && (
|
|
@@ -57,7 +57,7 @@ export function WindowControls() {
|
|
|
57
57
|
onClick={() => call('window_close')}
|
|
58
58
|
title="Close (Alt+F4)"
|
|
59
59
|
aria-label="Close"
|
|
60
|
-
className="w-11 inline-flex items-center justify-center text-ink/60 hover:bg-error hover:text-
|
|
60
|
+
className="w-11 inline-flex items-center justify-center text-ink/60 hover:bg-error hover:text-error-on transition-colors cursor-pointer"
|
|
61
61
|
>
|
|
62
62
|
<X size={15} />
|
|
63
63
|
</button>
|
|
@@ -52,7 +52,7 @@ export function WorkspaceOptionsMenu({
|
|
|
52
52
|
return confirmDelete ? (
|
|
53
53
|
<>
|
|
54
54
|
<div className="px-3 py-2 text-ink/80 font-medium">Delete workspace?</div>
|
|
55
|
-
<button type="button" onClick={onDelete} className="w-full text-left px-3 py-2 hover:bg-error/10 text-error flex items-center space-x-2">
|
|
55
|
+
<button type="button" onClick={onDelete} className="w-full text-left px-3 py-2 hover:bg-error/10 text-error-text flex items-center space-x-2">
|
|
56
56
|
<Trash2 size={13} />
|
|
57
57
|
<span>Yes, delete</span>
|
|
58
58
|
</button>
|
|
@@ -84,7 +84,7 @@ export function WorkspaceOptionsMenu({
|
|
|
84
84
|
<span>New worktree…</span>
|
|
85
85
|
</button>
|
|
86
86
|
)}
|
|
87
|
-
<button type="button" onClick={onRequestDelete} className="w-full text-left px-3 py-2 hover:bg-error/10 text-error flex items-center space-x-2">
|
|
87
|
+
<button type="button" onClick={onRequestDelete} className="w-full text-left px-3 py-2 hover:bg-error/10 text-error-text flex items-center space-x-2">
|
|
88
88
|
<Trash2 size={13} />
|
|
89
89
|
<span>Delete Workspace</span>
|
|
90
90
|
</button>
|
|
@@ -95,7 +95,7 @@ export function WorkspaceOptionsMenu({
|
|
|
95
95
|
return confirmDelete ? (
|
|
96
96
|
<>
|
|
97
97
|
<div className="px-3 py-1.5 text-xs text-ink/80 font-medium">Delete workspace?</div>
|
|
98
|
-
<button type="button" onClick={onDelete} className="w-full text-left px-3 py-1.5 hover:bg-ink/5 cursor-pointer flex items-center space-x-2 text-error">
|
|
98
|
+
<button type="button" onClick={onDelete} className="w-full text-left px-3 py-1.5 hover:bg-ink/5 cursor-pointer flex items-center space-x-2 text-error-text">
|
|
99
99
|
<Trash2 size={12} /><span>Yes, delete</span>
|
|
100
100
|
</button>
|
|
101
101
|
<button type="button" onClick={onCancelDelete} className="w-full text-left px-3 py-1.5 hover:bg-ink/5 cursor-pointer flex items-center space-x-2 text-ink/70">
|
|
@@ -123,7 +123,7 @@ export function WorkspaceOptionsMenu({
|
|
|
123
123
|
<GitBranch size={12} /><span>New worktree…</span>
|
|
124
124
|
</button>
|
|
125
125
|
)}
|
|
126
|
-
<button type="button" onClick={onRequestDelete} className="w-full text-left px-3 py-1.5 hover:bg-ink/5 cursor-pointer flex items-center space-x-2 text-error">
|
|
126
|
+
<button type="button" onClick={onRequestDelete} className="w-full text-left px-3 py-1.5 hover:bg-ink/5 cursor-pointer flex items-center space-x-2 text-error-text">
|
|
127
127
|
<Trash2 size={12} /><span>Delete Workspace</span>
|
|
128
128
|
</button>
|
|
129
129
|
</>
|