@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
|
@@ -164,14 +164,14 @@ export function EditorToolbar({
|
|
|
164
164
|
aria-label={saveTitle}
|
|
165
165
|
>
|
|
166
166
|
{saveStatus === 'saving' ? (
|
|
167
|
-
<Save size={14} className="text-warning animate-pulse" />
|
|
167
|
+
<Save size={14} className="text-warning-text animate-pulse" />
|
|
168
168
|
) : saveStatus === 'saved' ? (
|
|
169
|
-
<Check size={14} className="text-success" />
|
|
169
|
+
<Check size={14} className="text-success-text" />
|
|
170
170
|
) : saveStatus === 'error' ? (
|
|
171
|
-
<AlertCircle size={14} className="text-error" />
|
|
171
|
+
<AlertCircle size={14} className="text-error-text" />
|
|
172
172
|
) : saveStatus === 'needs-permission' ? (
|
|
173
173
|
// Not an error: the buffer is fine and one click grants access.
|
|
174
|
-
<Save size={14} className="text-warning" />
|
|
174
|
+
<Save size={14} className="text-warning-text" />
|
|
175
175
|
) : (
|
|
176
176
|
<Save size={14} className="hover:text-ink" />
|
|
177
177
|
)}
|
|
@@ -227,7 +227,7 @@ export function buildEditorClusters(state: ToolbarState): ToolbarCluster[] {
|
|
|
227
227
|
title={state.copyLabel}
|
|
228
228
|
aria-label={state.copyLabel}
|
|
229
229
|
>
|
|
230
|
-
{state.copied ? <Copy size={14} className="text-success" /> : <Copy size={14} />}
|
|
230
|
+
{state.copied ? <Copy size={14} className="text-success-text" /> : <Copy size={14} />}
|
|
231
231
|
</button>
|
|
232
232
|
<button
|
|
233
233
|
type="button"
|
|
@@ -195,7 +195,7 @@ export function DataGrid({
|
|
|
195
195
|
return (
|
|
196
196
|
<div className="flex min-h-0 flex-1 flex-col">
|
|
197
197
|
{truncated && (
|
|
198
|
-
<div className="shrink-0 border-b border-warning/30 bg-warning/10 px-3 py-1 font-sans text-[11px] text-warning">
|
|
198
|
+
<div className="shrink-0 border-b border-warning/30 bg-warning/10 px-3 py-1 font-sans text-[11px] text-warning-text">
|
|
199
199
|
Showing the first {cells.length.toLocaleString()} rows.
|
|
200
200
|
</div>
|
|
201
201
|
)}
|
|
@@ -32,7 +32,7 @@ interface GridToolbarProps {
|
|
|
32
32
|
export function GridToolbar({ status, tone = 'muted', actions, canCopy, copyState, onCopy }: GridToolbarProps) {
|
|
33
33
|
return (
|
|
34
34
|
<div className="flex shrink-0 items-center justify-between gap-2 border-b border-ink/10 bg-canvas px-2 py-1 font-sans text-[11px]">
|
|
35
|
-
<span className={`truncate ${tone === 'warning' ? 'text-warning' : 'text-ink/50'}`}>{status}</span>
|
|
35
|
+
<span className={`truncate ${tone === 'warning' ? 'text-warning-text' : 'text-ink/50'}`}>{status}</span>
|
|
36
36
|
<div className="flex shrink-0 items-center gap-2">
|
|
37
37
|
{actions}
|
|
38
38
|
<button
|
|
@@ -42,7 +42,7 @@ export function GridToolbar({ status, tone = 'muted', actions, canCopy, copyStat
|
|
|
42
42
|
title="Copy the selected cells as tab-separated text"
|
|
43
43
|
className={`flex items-center gap-1 rounded px-1.5 py-0.5 transition-colors ${
|
|
44
44
|
canCopy ? 'text-ink/60 hover:bg-ink/5 hover:text-ink' : 'cursor-default text-ink/25'
|
|
45
|
-
} ${copyState === 'failed' ? 'text-error' : ''}`}
|
|
45
|
+
} ${copyState === 'failed' ? 'text-error-text' : ''}`}
|
|
46
46
|
>
|
|
47
47
|
{copyState === 'copied' ? <Check size={12} /> : <Copy size={12} />}
|
|
48
48
|
<span>{copyState === 'copied' ? 'Copied' : copyState === 'failed' ? 'Copy failed' : 'Copy'}</span>
|
|
@@ -167,7 +167,7 @@ export function SheetView({ source, name, path, revision = 0, onSaveBytes, onDir
|
|
|
167
167
|
))}
|
|
168
168
|
</div>
|
|
169
169
|
{dirty && (
|
|
170
|
-
<div className="shrink-0 border-b border-warning/30 bg-warning/10 px-3 py-1 font-sans text-[11px] text-warning">
|
|
170
|
+
<div className="shrink-0 border-b border-warning/30 bg-warning/10 px-3 py-1 font-sans text-[11px] text-warning-text">
|
|
171
171
|
{saveState === 'failed'
|
|
172
172
|
? (saveError ?? 'Could not save the workbook.')
|
|
173
173
|
: 'Saving rewrites the workbook: values and formulas are kept, styling and charts are not.'}
|
|
@@ -198,7 +198,7 @@ export function SheetView({ source, name, path, revision = 0, onSaveBytes, onDir
|
|
|
198
198
|
title="Write the edited workbook back to disk"
|
|
199
199
|
className={`rounded px-1.5 py-0.5 transition-colors ${
|
|
200
200
|
dirty ? 'text-ink/70 hover:bg-ink/5 hover:text-ink' : 'cursor-default text-ink/25'
|
|
201
|
-
} ${saveState === 'failed' ? 'text-error' : ''}`}
|
|
201
|
+
} ${saveState === 'failed' ? 'text-error-text' : ''}`}
|
|
202
202
|
>
|
|
203
203
|
{saveState === 'saving' ? 'Saving…' : saveState === 'saved' ? 'Saved' : saveState === 'failed' ? 'Save failed' : 'Save'}
|
|
204
204
|
</button>
|
|
@@ -24,8 +24,8 @@ interface ViewerErrorProps {
|
|
|
24
24
|
export function ViewerError({ name, message }: ViewerErrorProps) {
|
|
25
25
|
return (
|
|
26
26
|
<div className="flex flex-1 flex-col items-center justify-center gap-2 px-6 text-center">
|
|
27
|
-
<AlertTriangle size={20} className="text-error" />
|
|
28
|
-
<span className="font-sans text-xs text-error">Could not show {name}</span>
|
|
27
|
+
<AlertTriangle size={20} className="text-error-text" />
|
|
28
|
+
<span className="font-sans text-xs text-error-text">Could not show {name}</span>
|
|
29
29
|
<span className="max-w-[42ch] break-words font-mono text-[11px] text-ink/50">{message}</span>
|
|
30
30
|
</div>
|
|
31
31
|
);
|
|
@@ -49,7 +49,7 @@ function ArchiveDialogShell({ title, subject, error, busy, submitLabel, busyLabe
|
|
|
49
49
|
<h3 className="font-semibold text-ink mb-1 text-sm">{title}</h3>
|
|
50
50
|
<p className="text-[11px] text-ink/50 mb-3 break-words">{subject}</p>
|
|
51
51
|
{children}
|
|
52
|
-
{error && <p className="text-[11px] text-error mb-2">{error}</p>}
|
|
52
|
+
{error && <p className="text-[11px] text-error-text mb-2">{error}</p>}
|
|
53
53
|
<div className="flex justify-end space-x-2 mt-3">
|
|
54
54
|
<button
|
|
55
55
|
type="button"
|
|
@@ -79,7 +79,7 @@ function buildRows(options: { isFolder: boolean; hasGitStatus?: boolean; pasteLa
|
|
|
79
79
|
entries.push({ kind: 'separator' });
|
|
80
80
|
entries.push({ kind: 'item', id: 'compress', label: `Compress${count} to…`, icon: <Archive size={13} className="text-ink/60" />, disabled: busy });
|
|
81
81
|
entries.push({ kind: 'separator' });
|
|
82
|
-
entries.push({ kind: 'item', id: 'delete', label: `Delete${count}`, icon: <Trash2 size={13} className="text-error" />, tone: 'text-error' });
|
|
82
|
+
entries.push({ kind: 'item', id: 'delete', label: `Delete${count}`, icon: <Trash2 size={13} className="text-error-text" />, tone: 'text-error-text' });
|
|
83
83
|
return entries;
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -102,7 +102,7 @@ function buildRows(options: { isFolder: boolean; hasGitStatus?: boolean; pasteLa
|
|
|
102
102
|
entries.push({ kind: 'item', id: 'extract', label: 'Extract…', icon: <PackageOpen size={13} className="text-ink/60" />, disabled: busy });
|
|
103
103
|
}
|
|
104
104
|
if (hasGitStatus) {
|
|
105
|
-
entries.push({ kind: 'item', id: 'diff', label: 'Open in Diff Panel', icon: <GitCompare size={13} className="text-warning" />, tone: 'font-medium' });
|
|
105
|
+
entries.push({ kind: 'item', id: 'diff', label: 'Open in Diff Panel', icon: <GitCompare size={13} className="text-warning-text" />, tone: 'font-medium' });
|
|
106
106
|
}
|
|
107
107
|
entries.push({ kind: 'separator' });
|
|
108
108
|
}
|
|
@@ -125,7 +125,7 @@ function buildRows(options: { isFolder: boolean; hasGitStatus?: boolean; pasteLa
|
|
|
125
125
|
entries.push({ kind: 'separator' });
|
|
126
126
|
|
|
127
127
|
entries.push({ kind: 'item', id: 'rename', label: 'Rename', icon: <Edit2 size={13} className="text-ink/60" /> });
|
|
128
|
-
entries.push({ kind: 'item', id: 'delete', label: 'Delete', icon: <Trash2 size={13} className="text-error" />, tone: 'text-error' });
|
|
128
|
+
entries.push({ kind: 'item', id: 'delete', label: 'Delete', icon: <Trash2 size={13} className="text-error-text" />, tone: 'text-error-text' });
|
|
129
129
|
|
|
130
130
|
return entries;
|
|
131
131
|
}
|
|
@@ -55,7 +55,7 @@ export function FileCreateModal({ folderPath, kind, value, error, isLoading, onC
|
|
|
55
55
|
<p className="text-[10px] text-ink/40 mb-2">
|
|
56
56
|
Nested paths create the folders they need — <span className="font-mono">lib/parse.ts</span>.
|
|
57
57
|
</p>
|
|
58
|
-
{error && <p className="text-[11px] text-error mb-2">{error}</p>}
|
|
58
|
+
{error && <p className="text-[11px] text-error-text mb-2">{error}</p>}
|
|
59
59
|
<div className="flex justify-end space-x-2 mt-2">
|
|
60
60
|
<button
|
|
61
61
|
type="button"
|
|
@@ -186,7 +186,7 @@ export function FileRenameModal({ isFolder, renameValue, originalPath, displayNa
|
|
|
186
186
|
<span className="font-mono">Unfold Folders</span> to rename a folder inside the chain.
|
|
187
187
|
</p>
|
|
188
188
|
)}
|
|
189
|
-
{error && <p className="text-[11px] text-error mb-2">{error}</p>}
|
|
189
|
+
{error && <p className="text-[11px] text-error-text mb-2">{error}</p>}
|
|
190
190
|
<div className="flex justify-end space-x-2">
|
|
191
191
|
<button
|
|
192
192
|
type="button"
|
|
@@ -271,7 +271,7 @@ export function FileHistoryModal({ filePath, fetcherState, fetcherData, onClose
|
|
|
271
271
|
<div className="p-8 text-center text-ink/40 font-mono text-xs">No commit history found for this file.</div>
|
|
272
272
|
)
|
|
273
273
|
) : fetcherData?.error ? (
|
|
274
|
-
<div className="p-8 text-center text-error font-mono text-xs">{fetcherData.error}</div>
|
|
274
|
+
<div className="p-8 text-center text-error-text font-mono text-xs">{fetcherData.error}</div>
|
|
275
275
|
) : (
|
|
276
276
|
<div className="p-8 text-center text-ink/40 font-mono text-xs">Loading history...</div>
|
|
277
277
|
)
|
|
@@ -77,14 +77,14 @@ describe('TreeRowLabel folder marks', () => {
|
|
|
77
77
|
change('src/b.ts', ' M'),
|
|
78
78
|
change('src/c.ts', ' D'),
|
|
79
79
|
]);
|
|
80
|
-
expect(name.classList.contains('text-info')).toBe(true);
|
|
80
|
+
expect(name.classList.contains('text-info-text')).toBe(true);
|
|
81
81
|
expect(dot.classList.contains('bg-info')).toBe(true);
|
|
82
82
|
expect(dot.classList.contains('bg-error')).toBe(false);
|
|
83
83
|
});
|
|
84
84
|
|
|
85
85
|
test('a deleted-only folder is red in both marks', () => {
|
|
86
86
|
const { name, dot } = mountFolderRow([change('src/a.ts', ' D')]);
|
|
87
|
-
expect(name.classList.contains('text-error')).toBe(true);
|
|
87
|
+
expect(name.classList.contains('text-error-text')).toBe(true);
|
|
88
88
|
expect(dot.classList.contains('bg-error')).toBe(true);
|
|
89
89
|
});
|
|
90
90
|
});
|
|
@@ -86,8 +86,8 @@ export function GitBranchToolbar({
|
|
|
86
86
|
className="flex items-center space-x-1.5 hover:bg-ink/5 px-2 py-1 -ml-2 rounded transition-colors text-[11px] text-ink/80 font-medium"
|
|
87
87
|
title={detached ? `Detached HEAD at ${branch}` : `On branch ${branch}`}
|
|
88
88
|
>
|
|
89
|
-
<GitBranch size={12} className={detached ? 'text-warning' : 'text-ink/60'} />
|
|
90
|
-
<span className={`truncate max-w-[140px] ${detached ? 'font-mono text-warning' : ''}`}>{branch}</span>
|
|
89
|
+
<GitBranch size={12} className={detached ? 'text-warning-text' : 'text-ink/60'} />
|
|
90
|
+
<span className={`truncate max-w-[140px] ${detached ? 'font-mono text-warning-text' : ''}`}>{branch}</span>
|
|
91
91
|
<ChevronDown size={12} className="text-ink/40" />
|
|
92
92
|
</button>
|
|
93
93
|
|
|
@@ -74,10 +74,10 @@ export function GitChangesList({ changes, isLoading, viewMode, repo, rootPath, o
|
|
|
74
74
|
className="flex items-center justify-between px-3 py-1 group hover:bg-warning/5 cursor-pointer transition-colors"
|
|
75
75
|
onClick={() => setConflictsExpanded(!conflictsExpanded)}
|
|
76
76
|
>
|
|
77
|
-
<div className="flex items-center space-x-1 font-semibold text-warning text-xs">
|
|
77
|
+
<div className="flex items-center space-x-1 font-semibold text-warning-text text-xs">
|
|
78
78
|
<span className="w-3 text-center">{conflictsExpanded ? '▾' : '▸'}</span>
|
|
79
79
|
<span>Conflicts</span>
|
|
80
|
-
<span className="text-warning
|
|
80
|
+
<span className="text-warning-text font-normal ml-1 border border-warning/30 rounded-full px-1.5 text-[10px] bg-paper">
|
|
81
81
|
{conflictedChanges.length}
|
|
82
82
|
</span>
|
|
83
83
|
</div>
|
|
@@ -169,7 +169,7 @@ export function GitChangesList({ changes, isLoading, viewMode, repo, rootPath, o
|
|
|
169
169
|
onAction('revert_all');
|
|
170
170
|
}}
|
|
171
171
|
title="Discard All Changes"
|
|
172
|
-
className="w-5 h-5 flex items-center justify-center rounded hover:text-error hover:bg-error/10 cursor-pointer transition-colors"
|
|
172
|
+
className="w-5 h-5 flex items-center justify-center rounded hover:text-error-text hover:bg-error/10 cursor-pointer transition-colors"
|
|
173
173
|
>
|
|
174
174
|
<Undo2 size={12} />
|
|
175
175
|
</button>
|
|
@@ -74,12 +74,12 @@ export function GitConflictItem({ change, repo, rootPath, onResolve }: GitConfli
|
|
|
74
74
|
onClick={openDiff}
|
|
75
75
|
>
|
|
76
76
|
<div className="flex items-center space-x-1.5 flex-1 min-w-0 pr-2">
|
|
77
|
-
<FileWarning size={11} className="text-warning flex-shrink-0" />
|
|
77
|
+
<FileWarning size={11} className="text-warning-text flex-shrink-0" />
|
|
78
78
|
<FileIcon name={fileName} size={12} className="flex-shrink-0" />
|
|
79
|
-
<span className="truncate text-warning" title={change.file}>{fileName}</span>
|
|
79
|
+
<span className="truncate text-warning-text" title={change.file}>{fileName}</span>
|
|
80
80
|
{dirPath && <span className="text-[10px] text-ink/40 truncate ml-1">{dirPath}</span>}
|
|
81
81
|
{isUnmergedCode(change.status) && (
|
|
82
|
-
<span className="text-[10px] text-warning
|
|
82
|
+
<span className="text-[10px] text-warning-text font-mono flex-shrink-0">{change.status}</span>
|
|
83
83
|
)}
|
|
84
84
|
</div>
|
|
85
85
|
<button
|
|
@@ -62,7 +62,7 @@ export function GitFileItem({ change, isStaged, repo, rootPath, onAction }: GitF
|
|
|
62
62
|
onAction('revert', change.file);
|
|
63
63
|
}}
|
|
64
64
|
title="Discard Changes"
|
|
65
|
-
className="w-5 h-5 flex items-center justify-center rounded hover:text-error hover:bg-error/10 cursor-pointer transition-colors"
|
|
65
|
+
className="w-5 h-5 flex items-center justify-center rounded hover:text-error-text hover:bg-error/10 cursor-pointer transition-colors"
|
|
66
66
|
>
|
|
67
67
|
<Undo2 size={11} />
|
|
68
68
|
</button>
|
|
@@ -27,7 +27,7 @@ export function ConfirmActionModal({ modal, onClose, onConfirm }: { modal: { typ
|
|
|
27
27
|
return (
|
|
28
28
|
<ModalShell onClose={onClose}>
|
|
29
29
|
<div className="flex items-center gap-3 px-4 py-3 border-b border-ink/10">
|
|
30
|
-
<AlertTriangle size={16} className="text-error flex-shrink-0" />
|
|
30
|
+
<AlertTriangle size={16} className="text-error-text flex-shrink-0" />
|
|
31
31
|
<h3 className="text-sm font-semibold text-ink">Confirm Action</h3>
|
|
32
32
|
</div>
|
|
33
33
|
<div className="px-4 py-4 text-xs text-ink/80 leading-relaxed">{modal.message}</div>
|
|
@@ -43,17 +43,17 @@ export function GitOperationBar({ operation, conflicts, isBusy, onAbort, onConti
|
|
|
43
43
|
return (
|
|
44
44
|
<div className="border-t border-warning/30 bg-warning/5 p-3 flex flex-col gap-2">
|
|
45
45
|
<div className="flex items-center gap-2 text-xs text-ink">
|
|
46
|
-
<AlertTriangle size={13} className="text-warning flex-shrink-0" />
|
|
46
|
+
<AlertTriangle size={13} className="text-warning-text flex-shrink-0" />
|
|
47
47
|
<span className="font-medium">
|
|
48
48
|
{label.charAt(0).toUpperCase() + label.slice(1)} in progress
|
|
49
49
|
</span>
|
|
50
|
-
<span className={`font-mono tabular-nums text-[10px] ${ready ? 'text-success' : 'text-warning'}`}>
|
|
50
|
+
<span className={`font-mono tabular-nums text-[10px] ${ready ? 'text-success-text' : 'text-warning-text'}`}>
|
|
51
51
|
{ready ? 'all conflicts resolved' : `${pending} conflict${pending === 1 ? '' : 's'} left`}
|
|
52
52
|
</span>
|
|
53
53
|
</div>
|
|
54
54
|
|
|
55
55
|
{!ready && (
|
|
56
|
-
<div className="max-h-20 overflow-y-auto scrollbar-overlay-container font-mono text-[10px] text-warning
|
|
56
|
+
<div className="max-h-20 overflow-y-auto scrollbar-overlay-container font-mono text-[10px] text-warning-text space-y-0.5">
|
|
57
57
|
{conflicts.map((file) => (
|
|
58
58
|
<div key={file} className="truncate" title={file}>
|
|
59
59
|
{file}
|
|
@@ -68,7 +68,7 @@ export function GitOperationBar({ operation, conflicts, isBusy, onAbort, onConti
|
|
|
68
68
|
onClick={onAbort}
|
|
69
69
|
disabled={isBusy}
|
|
70
70
|
title={`Abort the ${label} and restore the previous state`}
|
|
71
|
-
className="flex-1 flex items-center justify-center gap-1.5 px-3 py-1.5 rounded border border-error/40 text-error hover:bg-error/10 transition-colors cursor-pointer text-xs font-medium disabled:opacity-40 disabled:cursor-not-allowed"
|
|
71
|
+
className="flex-1 flex items-center justify-center gap-1.5 px-3 py-1.5 rounded border border-error/40 text-error-text hover:bg-error/10 transition-colors cursor-pointer text-xs font-medium disabled:opacity-40 disabled:cursor-not-allowed"
|
|
72
72
|
>
|
|
73
73
|
<Undo2 size={12} />
|
|
74
74
|
Abort {label}
|
|
@@ -230,7 +230,7 @@ export function GitStashSection({ rootPath, repo, isBusy, onAction }: GitStashSe
|
|
|
230
230
|
disabled={isBusy}
|
|
231
231
|
title="Drop: discard the entry (the stash is not recoverable from the panel)"
|
|
232
232
|
aria-label="Drop stash"
|
|
233
|
-
className="w-5 h-5 flex items-center justify-center rounded hover:text-error hover:bg-error/10 cursor-pointer transition-colors disabled:opacity-40"
|
|
233
|
+
className="w-5 h-5 flex items-center justify-center rounded hover:text-error-text hover:bg-error/10 cursor-pointer transition-colors disabled:opacity-40"
|
|
234
234
|
>
|
|
235
235
|
<Trash2 size={10} />
|
|
236
236
|
</button>
|
|
@@ -55,7 +55,7 @@ export function GitTreeItem({
|
|
|
55
55
|
onAction('revert', node.path);
|
|
56
56
|
}}
|
|
57
57
|
title={`Discard changes in ${node.name}`}
|
|
58
|
-
className="w-5 h-5 flex items-center justify-center rounded hover:text-error hover:bg-error/10 cursor-pointer transition-colors"
|
|
58
|
+
className="w-5 h-5 flex items-center justify-center rounded hover:text-error-text hover:bg-error/10 cursor-pointer transition-colors"
|
|
59
59
|
>
|
|
60
60
|
<Undo2 size={11} />
|
|
61
61
|
</button>
|
|
@@ -156,7 +156,7 @@ export function GitTreeItem({
|
|
|
156
156
|
onAction('revert', filePath);
|
|
157
157
|
}}
|
|
158
158
|
title="Discard Changes"
|
|
159
|
-
className="w-5 h-5 flex items-center justify-center rounded hover:text-error hover:bg-error/10 cursor-pointer transition-colors"
|
|
159
|
+
className="w-5 h-5 flex items-center justify-center rounded hover:text-error-text hover:bg-error/10 cursor-pointer transition-colors"
|
|
160
160
|
>
|
|
161
161
|
<Undo2 size={11} />
|
|
162
162
|
</button>
|
|
@@ -110,7 +110,7 @@ export function BranchRow({ branch, detached, onCheckout, onMerge, onRename, onD
|
|
|
110
110
|
onClick={onDelete}
|
|
111
111
|
title={`Delete ${branch.name}`}
|
|
112
112
|
aria-label={`Delete ${branch.name}`}
|
|
113
|
-
className="w-5 h-5 flex items-center justify-center rounded text-ink/40 hover:text-error hover:bg-error/10 cursor-pointer transition-colors"
|
|
113
|
+
className="w-5 h-5 flex items-center justify-center rounded text-ink/40 hover:text-error-text hover:bg-error/10 cursor-pointer transition-colors"
|
|
114
114
|
>
|
|
115
115
|
<Trash2 size={11} />
|
|
116
116
|
</button>
|
|
@@ -131,7 +131,7 @@ function TrackingBadge({ branch }: { branch: GitBranchDetail }) {
|
|
|
131
131
|
if (branch.gone) {
|
|
132
132
|
return (
|
|
133
133
|
<span
|
|
134
|
-
className="text-[10px] font-mono text-warning border border-warning/30 rounded px-1 truncate"
|
|
134
|
+
className="text-[10px] font-mono text-warning-text border border-warning/30 rounded px-1 truncate"
|
|
135
135
|
title={`${branch.upstream} no longer exists on the remote — fetch --prune to drop it`}
|
|
136
136
|
>
|
|
137
137
|
gone
|
|
@@ -42,7 +42,7 @@ export function DeleteBranchDialog({
|
|
|
42
42
|
maxWidthClass="max-w-[min(94vw,440px)]"
|
|
43
43
|
header={
|
|
44
44
|
<div className="flex items-center gap-2">
|
|
45
|
-
<AlertTriangle size={15} className="text-error flex-shrink-0" />
|
|
45
|
+
<AlertTriangle size={15} className="text-error-text flex-shrink-0" />
|
|
46
46
|
<h2 className="text-sm font-semibold text-ink">Delete branch</h2>
|
|
47
47
|
</div>
|
|
48
48
|
}
|
|
@@ -77,7 +77,7 @@ export function DeleteBranchDialog({
|
|
|
77
77
|
className={`${CHECKBOX_CLASS} accent-error cursor-pointer mt-0.5`}
|
|
78
78
|
/>
|
|
79
79
|
<span className="flex flex-col gap-0.5">
|
|
80
|
-
<span className="text-error font-medium">Delete even if its commits are not merged</span>
|
|
80
|
+
<span className="text-error-text font-medium">Delete even if its commits are not merged</span>
|
|
81
81
|
<span className="text-[10px] font-mono text-ink/50">
|
|
82
82
|
git branch {force ? '-D' : '-d'} {branch.name}
|
|
83
83
|
</span>
|
|
@@ -175,11 +175,11 @@ export function GitBranchModal({
|
|
|
175
175
|
<div className="min-h-[40vh] max-h-[60vh] overflow-y-auto scrollbar-overlay-container">
|
|
176
176
|
{isLoading && branches.length === 0 ? (
|
|
177
177
|
<div className="flex items-center justify-center gap-2 py-12 text-xs text-ink/50 font-mono">
|
|
178
|
-
<Loader2 size={14} className="animate-spin text-info" />
|
|
178
|
+
<Loader2 size={14} className="animate-spin text-info-text" />
|
|
179
179
|
Loading branches…
|
|
180
180
|
</div>
|
|
181
181
|
) : error ? (
|
|
182
|
-
<div className="py-12 px-6 text-center text-xs text-error font-mono">{error}</div>
|
|
182
|
+
<div className="py-12 px-6 text-center text-xs text-error-text font-mono">{error}</div>
|
|
183
183
|
) : filtered.length === 0 ? (
|
|
184
184
|
<div className="py-12 text-center text-xs text-ink/40 font-mono">
|
|
185
185
|
{query.trim() ? 'No matching branches.' : 'No branches.'}
|
|
@@ -11,15 +11,16 @@
|
|
|
11
11
|
* LIST IS, which is what a tab means. `Header.tsx` sits under it because the
|
|
12
12
|
* search field then applies to whichever list the tab selected.
|
|
13
13
|
*
|
|
14
|
-
*
|
|
14
|
+
* The strip only exists while the chat is still choosing its harness: `Panel`
|
|
15
|
+
* draws none once a transcript (or a fork) owns the agent, so no tab has to
|
|
16
|
+
* explain a switch it cannot make.
|
|
17
|
+
*
|
|
18
|
+
* Three rules the markup encodes:
|
|
15
19
|
*
|
|
16
20
|
* - a harness that cannot run here is DISABLED, never hidden — hiding is what
|
|
17
21
|
* makes "why is Claude not there" unanswerable;
|
|
18
22
|
* - the reason is the agent's own words, in `title`, so the hover explains
|
|
19
23
|
* `mcode login` or `executable not found (command: pi)`;
|
|
20
|
-
* - the active tab is read-only for a live chat. Harness is a SPAWN property,
|
|
21
|
-
* so switching it must start a new session — the row says so instead of
|
|
22
|
-
* silently changing the frame source under a running transcript;
|
|
23
24
|
* - a tab is the MARK ONLY. Three to five tabs share one strip, and their names
|
|
24
25
|
* (`claude`, `deepseek-harness`, `omp (ACP)`) are longer than the marks they
|
|
25
26
|
* sit beside, so the strip spent its width on words for the same agent the
|
|
@@ -30,16 +31,12 @@
|
|
|
30
31
|
|
|
31
32
|
import type { ComponentChildren } from 'preact';
|
|
32
33
|
import { HarnessGlyph, HARNESS_GLYPH_SIZE } from '@/client/components/common/harness-glyph';
|
|
33
|
-
import { harnessBadgeLabel } from '@kabmo-labs/kabmo-harness/catalog';
|
|
34
34
|
import type { HarnessSummary } from '@kabmo-labs/kabmo-app-contracts/harness';
|
|
35
35
|
|
|
36
36
|
interface HarnessTabsProps {
|
|
37
37
|
harnesses: HarnessSummary[];
|
|
38
|
-
/** The
|
|
38
|
+
/** The harness picked for the chat that has not spawned yet, or null. */
|
|
39
39
|
active: string | null;
|
|
40
|
-
/** False while a chat has messages: the choice would change the transcript's
|
|
41
|
-
* owner, which no frame source can do retroactively. */
|
|
42
|
-
editable: boolean;
|
|
43
40
|
onSelect: (harness: string) => void;
|
|
44
41
|
/** Opens the settings page for a harness that needs install or login. */
|
|
45
42
|
onFix?: (harness: string) => void;
|
|
@@ -90,10 +87,6 @@ export function harnessBlockedReason(summary: HarnessSummary): string | null {
|
|
|
90
87
|
export interface HarnessTabState {
|
|
91
88
|
/** What stops the harness running here, or null. */
|
|
92
89
|
block: HarnessBlock | null;
|
|
93
|
-
/** False once the chat owns a transcript: the harness is a SPAWN property. */
|
|
94
|
-
editable: boolean;
|
|
95
|
-
/** The harness the open chat is (or will be) running on. */
|
|
96
|
-
active: string | null;
|
|
97
90
|
}
|
|
98
91
|
|
|
99
92
|
/**
|
|
@@ -101,38 +94,19 @@ export interface HarnessTabState {
|
|
|
101
94
|
*
|
|
102
95
|
* A reason, not a restatement of the name: the mark IS the name now, so a
|
|
103
96
|
* tooltip that only echoed the label would spend the one available sentence
|
|
104
|
-
* answering a question the icon already answered.
|
|
105
|
-
* and the order is the contract, because a tab can be both unusable and the
|
|
106
|
-
* agent already running the chat, and the FIRST fact is the one that stops the
|
|
107
|
-
* press:
|
|
97
|
+
* answering a question the icon already answered. Three cases, in this order:
|
|
108
98
|
*
|
|
109
99
|
* 1. **cannot run here** → the agent's own words (`Authentication required:
|
|
110
100
|
* Run \`codex login\``), plus an install command ONLY when the binary never
|
|
111
101
|
* launched (see `HarnessBlock.fix`);
|
|
112
|
-
* 2.
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
* so the user could not tell whether they were looking at a lock or at a
|
|
116
|
-
* mistake of their own;
|
|
117
|
-
* 3. the tab IS that agent → say so, instead of offering it as an alternative
|
|
118
|
-
* to itself;
|
|
119
|
-
* 4. otherwise the probe's identity (`claude · 2.0.1`), which is the question a
|
|
120
|
-
* pointer rests on an available tab to ask.
|
|
102
|
+
* 2. otherwise the probe's identity (`claude · 2.0.1`), which is the question
|
|
103
|
+
* a pointer rests on an available tab to ask;
|
|
104
|
+
* 3. no probe yet → the label, never a fabricated build string.
|
|
121
105
|
*/
|
|
122
106
|
export function harnessTabTitle(summary: HarnessSummary, state: HarnessTabState): string {
|
|
123
107
|
if (state.block) {
|
|
124
108
|
return `${summary.label}: ${state.block.reason}${state.block.fix ? ` — install: ${state.block.fix}` : ''}`;
|
|
125
109
|
}
|
|
126
|
-
if (!state.editable) {
|
|
127
|
-
const owner = state.active ? harnessBadgeLabel(state.active) : null;
|
|
128
|
-
if (summary.id === state.active) {
|
|
129
|
-
return `${summary.label} is the agent this chat already started on. Start a new chat to use another one.`;
|
|
130
|
-
}
|
|
131
|
-
if (owner) {
|
|
132
|
-
return `Cannot switch to ${summary.label}: this chat already started on ${owner}. Start a new chat to use ${summary.label}.`;
|
|
133
|
-
}
|
|
134
|
-
return `Start a new chat to use ${summary.label}`;
|
|
135
|
-
}
|
|
136
110
|
if (summary.probe) {
|
|
137
111
|
const build = `${summary.probe.capabilities.agentName ?? ''} ${summary.probe.capabilities.agentVersion ?? ''}`.trim();
|
|
138
112
|
if (build) return `${summary.label} · ${build}`;
|
|
@@ -148,40 +122,27 @@ export function harnessTabTitle(summary: HarnessSummary, state: HarnessTabState)
|
|
|
148
122
|
* its accessible name, and repeating it makes a screen reader say "claude,
|
|
149
123
|
* claude, tab".
|
|
150
124
|
*/
|
|
151
|
-
export function harnessTabReason(summary: HarnessSummary,
|
|
152
|
-
if (state.block || !state.editable) return title;
|
|
125
|
+
export function harnessTabReason(summary: HarnessSummary, title: string): string | null {
|
|
153
126
|
return title === summary.label ? null : title;
|
|
154
127
|
}
|
|
155
128
|
|
|
156
129
|
/**
|
|
157
130
|
* The tone a tab paints: which one is current, and what a press would do.
|
|
158
131
|
*
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
* press cannot switch anything. This is the state a user meets most often
|
|
165
|
-
* (every tab but one, once a chat has a transcript), and the prohibition sign
|
|
166
|
-
* is the only affordance that says "not here" before the click.
|
|
167
|
-
* - **selectable → `pointer`** — it really does select.
|
|
168
|
-
*
|
|
169
|
-
* The ACTIVE tab of a locked chat keeps `default`: it is the current selection,
|
|
170
|
-
* not a refused one. `cursor-help` (an earlier value) is drawn on macOS as a
|
|
171
|
-
* question mark, which read as a stray icon over an icon-only tab.
|
|
132
|
+
* A press always does something, so every state keeps the pointer cursor:
|
|
133
|
+
* a blocked tab opens THAT agent's settings page (where a login or an install
|
|
134
|
+
* is fixed), the current one is already selected, and the rest switch the pick.
|
|
135
|
+
* `cursor-help` (an earlier value) is drawn on macOS as a question mark, which
|
|
136
|
+
* read as a stray icon over an icon-only tab.
|
|
172
137
|
*/
|
|
173
|
-
function tabTone(isActive: boolean, blocked: boolean
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
: 'cursor-pointer';
|
|
179
|
-
if (isActive) return `bg-paper text-ink shadow-[inset_0_-2px_0_0_currentColor] ${cursor}`;
|
|
180
|
-
if (blocked || !editable) return `text-ink/35 ${cursor}`;
|
|
181
|
-
return `text-ink/65 hover:bg-ink/5 hover:text-ink ${cursor}`;
|
|
138
|
+
function tabTone(isActive: boolean, blocked: boolean): string {
|
|
139
|
+
if (isActive) return 'bg-paper text-ink shadow-[inset_0_-2px_0_0_currentColor] cursor-pointer';
|
|
140
|
+
return blocked
|
|
141
|
+
? 'text-ink/35 cursor-pointer'
|
|
142
|
+
: 'text-ink/65 hover:bg-ink/5 hover:text-ink cursor-pointer';
|
|
182
143
|
}
|
|
183
144
|
|
|
184
|
-
export function HarnessTabs({ harnesses, active,
|
|
145
|
+
export function HarnessTabs({ harnesses, active, onSelect, onFix, actions }: HarnessTabsProps) {
|
|
185
146
|
if (harnesses.length === 0) return null;
|
|
186
147
|
return (
|
|
187
148
|
<div
|
|
@@ -205,8 +166,6 @@ export function HarnessTabs({ harnesses, active, editable, onSelect, onFix, acti
|
|
|
205
166
|
{harnesses.map((summary) => {
|
|
206
167
|
const state: HarnessTabState = {
|
|
207
168
|
block: harnessBlock(summary),
|
|
208
|
-
editable,
|
|
209
|
-
active,
|
|
210
169
|
};
|
|
211
170
|
const { block } = state;
|
|
212
171
|
const isActive = summary.id === active;
|
|
@@ -218,14 +177,13 @@ export function HarnessTabs({ harnesses, active, editable, onSelect, onFix, acti
|
|
|
218
177
|
// itself and the handler ran 0 times).
|
|
219
178
|
//
|
|
220
179
|
// `aria-disabled` states the same thing to assistive tech without
|
|
221
|
-
// removing the element from the pointer.
|
|
222
|
-
//
|
|
223
|
-
|
|
224
|
-
const unusable = Boolean(block) || !editable;
|
|
180
|
+
// removing the element from the pointer. A blocked tab therefore stays
|
|
181
|
+
// pressable and pressing it opens the fix.
|
|
182
|
+
const unavailable = Boolean(block);
|
|
225
183
|
// One sentence, used by BOTH the pointer and assistive tech — so the two
|
|
226
184
|
// can never say different things about the same tab.
|
|
227
185
|
const title = harnessTabTitle(summary, state);
|
|
228
|
-
const reason = harnessTabReason(summary,
|
|
186
|
+
const reason = harnessTabReason(summary, title);
|
|
229
187
|
return (
|
|
230
188
|
<button
|
|
231
189
|
key={summary.id}
|
|
@@ -236,7 +194,7 @@ export function HarnessTabs({ harnesses, active, editable, onSelect, onFix, acti
|
|
|
236
194
|
// name at all.
|
|
237
195
|
aria-label={summary.label}
|
|
238
196
|
aria-selected={isActive}
|
|
239
|
-
aria-disabled={
|
|
197
|
+
aria-disabled={unavailable}
|
|
240
198
|
// The same sentence for the keyboard/assistive path. `title` is a
|
|
241
199
|
// POINTER affordance (and, on a `disabled` element, none at all —
|
|
242
200
|
// the measured reason this tab stopped using it); an `aria-disabled`
|
|
@@ -251,7 +209,6 @@ export function HarnessTabs({ harnesses, active, editable, onSelect, onFix, acti
|
|
|
251
209
|
onFix?.(summary.id);
|
|
252
210
|
return;
|
|
253
211
|
}
|
|
254
|
-
if (!editable) return;
|
|
255
212
|
onSelect(summary.id);
|
|
256
213
|
}}
|
|
257
214
|
// `relative` for the ⚠ badge, `p-1.5` so the strip stays compact at
|
|
@@ -259,7 +216,7 @@ export function HarnessTabs({ harnesses, active, editable, onSelect, onFix, acti
|
|
|
259
216
|
// its lead-in is gone, so the padding is the whole frame. `tap-chip`
|
|
260
217
|
// still raises it to 44px on a coarse pointer, which is what keeps an
|
|
261
218
|
// icon-only tab pressable on a phone.
|
|
262
|
-
className={`tap-chip relative flex shrink-0 items-center justify-center rounded-t p-1.5 transition-colors ${tabTone(isActive, Boolean(block)
|
|
219
|
+
className={`tap-chip relative flex shrink-0 items-center justify-center rounded-t p-1.5 transition-colors ${tabTone(isActive, Boolean(block))}`}
|
|
263
220
|
>
|
|
264
221
|
{/* `inherit`, because the button's colour is now the only thing that
|
|
265
222
|
says active / muted: the mark used to be one of two children and
|
|
@@ -268,15 +225,13 @@ export function HarnessTabs({ harnesses, active, editable, onSelect, onFix, acti
|
|
|
268
225
|
by a colour, so the signal survives the colour mode — there the
|
|
269
226
|
paint rule sets a brand hue that no `text-ink/35` can outrank,
|
|
270
227
|
and an unavailable agent would have looked exactly as ready as
|
|
271
|
-
the one beside it.
|
|
272
|
-
strength: the agent is available, this chat is not the place,
|
|
273
|
-
and `title` is what says so.
|
|
228
|
+
the one beside it.
|
|
274
229
|
|
|
275
230
|
`decorative` is load-bearing: the component's own
|
|
276
231
|
`title="Session runs on claude"` sits INSIDE this button, and a
|
|
277
232
|
nested `title` is the one the browser shows — measured, hovering
|
|
278
|
-
a
|
|
279
|
-
|
|
233
|
+
a tab announced the generic sentence and never the explanation
|
|
234
|
+
one level up. */}
|
|
280
235
|
<HarnessGlyph
|
|
281
236
|
harness={summary.id}
|
|
282
237
|
size={HARNESS_GLYPH_SIZE.tab}
|
|
@@ -181,11 +181,11 @@ export function ModelDropdownItem({
|
|
|
181
181
|
type="button"
|
|
182
182
|
onClick={(e) => onToggleFavorite(model, e)}
|
|
183
183
|
title={model.isFavorite ? 'Remove from favorites' : 'Add to favorites'}
|
|
184
|
-
className="group p-1 rounded text-ink/30 hover:text-warning hover:bg-warning/10 transition-colors cursor-pointer"
|
|
184
|
+
className="group p-1 rounded text-ink/30 hover:text-warning-text hover:bg-warning/10 transition-colors cursor-pointer"
|
|
185
185
|
>
|
|
186
186
|
<Star
|
|
187
187
|
size={13}
|
|
188
|
-
className={model.isFavorite ? 'fill-current text-warning' : 'text-ink/30 group-hover:text-warning'}
|
|
188
|
+
className={model.isFavorite ? 'fill-current text-warning-text' : 'text-ink/30 group-hover:text-warning-text'}
|
|
189
189
|
/>
|
|
190
190
|
</button>
|
|
191
191
|
</div>
|