@kabmo-labs/kabmo 0.57.1 → 0.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/index.html +1 -1
- package/dist/client/index.js +523 -506
- package/dist/client/static/js/Body-karkrzkc.js +3 -0
- package/dist/client/static/js/{CsvGrid-563qmmmr.js → CsvGrid-j03knmbe.js} +2 -2
- package/dist/client/static/js/{DocxView-5j69q3s0.js → DocxView-e8408vzs.js} +2 -2
- package/dist/client/static/js/{DrawioView-gd6k3hvn.js → DrawioView-fj4mfzch.js} +2 -2
- package/dist/client/static/js/{HtmlPreview-6gnktzzp.js → HtmlPreview-9g8xwzgw.js} +1 -1
- package/dist/client/static/js/ImageView-sz4fzz9k.js +1 -0
- package/dist/client/static/js/LayoutWrapper-q6q4h04a.js +2 -0
- package/dist/client/static/js/MergeDiffView-b8f013ws.js +1 -0
- package/dist/client/static/js/Modal-ahecatp5.js +60 -0
- package/dist/client/static/js/{PdfView-n1zq27td.js → PdfView-8jtdx5hd.js} +1 -1
- package/dist/client/static/js/SessionsView-jwp8xvw5.js +1 -0
- package/dist/client/static/js/{SheetView-nes7j86v.js → SheetView-hwx8s864.js} +11 -11
- package/dist/client/static/js/{SvgPreview-vv0qzkt7.js → SvgPreview-ete36nzv.js} +1 -1
- package/dist/client/static/js/{abnfDiagram-O67JEVCF-02g96sn6.js → abnfDiagram-O67JEVCF-7nsqzz6z.js} +1 -1
- package/dist/client/static/js/architecture-7GRP2DOG-dc7zys46.js +1 -0
- package/dist/client/static/js/{architectureDiagram-NJMV4G6O-7qj2fpwt.js → architectureDiagram-NJMV4G6O-xvpkfq2f.js} +11 -11
- package/dist/client/static/js/{astro-asmathwv.js → astro-rsrqgjjx.js} +1 -1
- package/dist/client/static/js/bash-n5d0esqg.js +1 -0
- package/dist/client/static/js/{blockDiagram-BEXU5L5S-grdr1j2h.js → blockDiagram-BEXU5L5S-0saahcs6.js} +7 -7
- package/dist/client/static/js/c-pk766wx0.js +1 -0
- package/dist/client/static/js/{c4Diagram-YGBWAQC7-7y980xpx.js → c4Diagram-YGBWAQC7-ktpqnb4a.js} +2 -2
- package/dist/client/static/js/{classDiagram-v2-NBCMYWYE-29ag4js1.js → classDiagram-v2-NBCMYWYE-x67cz3ms.js} +5 -5
- package/dist/client/static/js/{cose-bilkent-JH36ORCC-e5dvgehd.js → cose-bilkent-JH36ORCC-9wzmhkz8.js} +1 -1
- package/dist/client/static/js/cpp-3pt91jvm.js +1 -0
- package/dist/client/static/js/css-sp1cgdbr.js +1 -0
- package/dist/client/static/js/cynefin-OW5HDTMX-9fx59e89.js +1 -0
- package/dist/client/static/js/{cynefinDiagram-VND7K2PF-eq6fmx0b.js → cynefinDiagram-VND7K2PF-dmmgmv99.js} +2 -2
- package/dist/client/static/js/{dagre-6A5THRUB-xfhwp8ha.js → dagre-6A5THRUB-ygkkms1t.js} +2 -2
- package/dist/client/static/js/{diagram-22UHCM2B-1bw6x6zt.js → diagram-22UHCM2B-qxj0pqb4.js} +14 -14
- package/dist/client/static/js/{diagram-3UASUU5V-076ej5n5.js → diagram-3UASUU5V-77k8w5dt.js} +1 -1
- package/dist/client/static/js/{diagram-ATOU4E4O-cvf9fhdq.js → diagram-ATOU4E4O-m0h86vf4.js} +3 -3
- package/dist/client/static/js/{diagram-CDSNMT55-hn1wdx54.js → diagram-CDSNMT55-5v28kaeg.js} +5 -5
- package/dist/client/static/js/{diagram-MLGK6HIB-76gk27b5.js → diagram-MLGK6HIB-zgcg9gaz.js} +2 -2
- package/dist/client/static/js/{diagram-MPIPVDR6-0cbajhpx.js → diagram-MPIPVDR6-10c9s6e6.js} +2 -2
- package/dist/client/static/js/{dockerfile-7atfjhnf.js → dockerfile-dr9sdsqp.js} +1 -1
- package/dist/client/static/js/{ebnfDiagram-ZINNZB2B-n0g3b9m2.js → ebnfDiagram-ZINNZB2B-mz4022dz.js} +1 -1
- package/dist/client/static/js/{elixir-7q2k61zb.js → elixir-3dy25ex8.js} +1 -1
- package/dist/client/static/js/{elk-276RUBZZ-f6wrjcv9.js → elk-276RUBZZ-ccerbsag.js} +1 -1
- package/dist/client/static/js/{erDiagram-OPXOYQCR-jz622yrg.js → erDiagram-OPXOYQCR-a8vjyrrw.js} +5 -5
- package/dist/client/static/js/{erlang-tjsd7n4d.js → erlang-v7344938.js} +1 -1
- package/dist/client/static/js/eventmodeling-NTZA5JFV-61d2ee91.js +1 -0
- package/dist/client/static/js/flowDiagram-KWPJA3E3-104ywb7w.js +1 -0
- package/dist/client/static/js/{ganttDiagram-FUAMR5RP-2ex4nxyg.js → ganttDiagram-FUAMR5RP-sz1g29fp.js} +4 -4
- package/dist/client/static/js/gitGraph-4MIJSDKK-zkb30q0t.js +1 -0
- package/dist/client/static/js/{gitGraphDiagram-X574FWY7-38eyay6g.js → gitGraphDiagram-X574FWY7-efqk42q0.js} +15 -15
- package/dist/client/static/js/graphql-2ntm7jyh.js +1 -0
- package/dist/client/static/js/html-mt2yb43b.js +1 -0
- package/dist/client/static/js/{index-db7vsjkd.js → index-2a0b9ya2.js} +1 -1
- package/dist/client/static/js/index-2f6psebk.js +2 -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-rbkvw2xs.js → index-5tp3emtg.js} +2 -2
- package/dist/client/static/js/{index-8444mec5.js → index-6ac860yz.js} +2 -2
- package/dist/client/static/js/{index-zzggk17b.js → index-6ey6y9em.js} +2 -2
- package/dist/client/static/js/index-6h46r2de.js +1 -0
- package/dist/client/static/js/index-6qqsy78z.js +1 -0
- package/dist/client/static/js/{index-25zpywv7.js → index-6x0kn8pb.js} +2 -2
- package/dist/client/static/js/{index-zv8wrvha.js → index-7ma44af3.js} +3 -3
- package/dist/client/static/js/index-7s4dge1z.js +1 -0
- package/dist/client/static/js/{index-my856e49.js → index-7ynf3s2w.js} +2 -2
- package/dist/client/static/js/index-8aqjj2x2.js +1 -0
- package/dist/client/static/js/index-bkwax812.js +1 -0
- package/dist/client/static/js/{index-60g0e74a.js → index-dqf0srrp.js} +2 -2
- package/dist/client/static/js/{index-jaxhfk9x.js → index-dz18nn65.js} +2 -2
- package/dist/client/static/js/{index-9gfn1a3h.js → index-e42ys2q3.js} +7 -7
- package/dist/client/static/js/{index-wxs0x3g1.js → index-ewryzs4g.js} +2 -2
- package/dist/client/static/js/{index-55v3qv04.js → index-f31c6jg8.js} +22 -22
- package/dist/client/static/js/index-f44k9k8d.css +1 -0
- package/dist/client/static/js/{index-nnqyew8n.js → index-fhtnvqgf.js} +2 -2
- package/dist/client/static/js/{index-396g4zz4.js → index-gaa39w5q.js} +2 -2
- package/dist/client/static/js/{index-63mk2qk6.js → index-gqsnyh8k.js} +2 -2
- package/dist/client/static/js/index-gw4c5n3a.js +2 -0
- package/dist/client/static/js/index-j863hg0d.js +9 -0
- package/dist/client/static/js/{index-e4yj4kbe.js → index-jnxmvxb8.js} +12 -12
- package/dist/client/static/js/{index-0prwdwyb.js → index-jxsha63v.js} +2 -2
- package/dist/client/static/js/index-k1576e2m.js +2 -0
- package/dist/client/static/js/index-k4qshngy.js +4 -0
- package/dist/client/static/js/{index-ep99arz1.js → index-k56patms.js} +2 -2
- package/dist/client/static/js/{index-8pqx5n2p.js → index-kc5yt2cd.js} +2 -2
- package/dist/client/static/js/index-mkp3gwag.js +1 -0
- package/dist/client/static/js/{index-g2e0m757.js → index-nzq51nbb.js} +7 -7
- package/dist/client/static/js/{index-1q934wfk.js → index-q5q8a3qn.js} +2 -2
- package/dist/client/static/js/{index-tksrpqkh.js → index-qbqm3c91.js} +5 -5
- package/dist/client/static/js/{index-zynbvm7x.js → index-qkcmspxq.js} +2 -2
- package/dist/client/static/js/index-r1wrke3j.js +1 -0
- package/dist/client/static/js/index-rr79n77k.js +470 -0
- package/dist/client/static/js/{index-y1j18rha.js → index-rxt8sf9a.js} +2 -2
- package/dist/client/static/js/{index-tdryzzy9.js → index-ssepzdaz.js} +6 -6
- package/dist/client/static/js/{index-rsyqf691.js → index-sxag9ptg.js} +2 -2
- package/dist/client/static/js/{index-ewst55j2.js → index-t71k3b28.js} +2 -2
- package/dist/client/static/js/index-tc07gd33.js +2 -0
- 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-n1xmkf2g.js → index-tnxp90ac.js} +1 -1
- package/dist/client/static/js/{index-ms80nne4.js → index-tq3t3qm4.js} +2 -2
- package/dist/client/static/js/index-ts8rhd06.js +1 -0
- package/dist/client/static/js/{index-xtrsvm0d.js → index-v8xhgfeq.js} +2 -2
- package/dist/client/static/js/{index-ays8t3t3.js → index-vb5a3g01.js} +4 -4
- package/dist/client/static/js/{index-pjf5wak8.js → index-ver116ed.js} +1 -1
- package/dist/client/static/js/{index-hge0y4vn.js → index-vf01q99d.js} +2 -2
- package/dist/client/static/js/{index-4cff0zg2.js → index-w5j1wgcz.js} +1 -1
- package/dist/client/static/js/{index-cwwg7k5f.js → index-wnk9k57k.js} +27 -27
- package/dist/client/static/js/{index-6z30g3ha.js → index-x7h04xzf.js} +2 -2
- package/dist/client/static/js/{index-xfnjwhan.js → index-xfyxmaj1.js} +85 -85
- package/dist/client/static/js/index-xygk0v3e.js +2 -0
- package/dist/client/static/js/{index-kt7c42n7.js → index-y0f3wbc3.js} +2 -2
- package/dist/client/static/js/index-zh550byg.js +2 -0
- package/dist/client/static/js/info-A6RAGUB7-xxvyt8p8.js +1 -0
- package/dist/client/static/js/{infoDiagram-VRGFBTTK-c55t0tvd.js → infoDiagram-VRGFBTTK-rykcacj5.js} +1 -1
- package/dist/client/static/js/ini-bdk46a3d.js +1 -0
- package/dist/client/static/js/{ishikawaDiagram-OU5B5YK6-r9kg5kg5.js → ishikawaDiagram-OU5B5YK6-rj752kd8.js} +3 -3
- package/dist/client/static/js/java-3g3925cf.js +1 -0
- package/dist/client/static/js/{journeyDiagram-ZHPQQLJL-zmmst4v8.js → journeyDiagram-ZHPQQLJL-mtetwn6f.js} +5 -5
- 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-mxe3pnz3.js} +1 -1
- package/dist/client/static/js/{kanban-definition-PNTS6WVX-3tt6sc9a.js → kanban-definition-PNTS6WVX-4h5pw5mm.js} +3 -3
- 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-bs542jma.js} +8 -8
- package/dist/client/static/js/{mindmap-definition-NLK3R4M7-b4c6gxg4.js → mindmap-definition-NLK3R4M7-67s4xy7h.js} +5 -5
- package/dist/client/static/js/one-dark-pro-541ed4b7.js +1 -0
- package/dist/client/static/js/one-light-nr79mykt.js +1 -0
- package/dist/client/static/js/packet-AYTQ26CC-cm8jeesg.js +1 -0
- package/dist/client/static/js/{pegDiagram-GJSIUBJH-9jkat1mz.js → pegDiagram-GJSIUBJH-qykb6ssk.js} +1 -1
- package/dist/client/static/js/{perl-sns2qvmf.js → perl-a8eeaqkn.js} +1 -1
- package/dist/client/static/js/{php-3q6v9eey.js → php-6gq92zt8.js} +1 -1
- package/dist/client/static/js/pie-WAS4IAKB-8b9xgcxv.js +1 -0
- package/dist/client/static/js/{pieDiagram-5QR66LMP-6pbchjh7.js → pieDiagram-5QR66LMP-mymrrvck.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-6f8ahd40.js} +6 -6
- package/dist/client/static/js/r-w4qxm0pv.js +1 -0
- package/dist/client/static/js/radar-RG4KPBEZ-fxr2x2mf.js +1 -0
- package/dist/client/static/js/railroad-74A4TZTK-5qd45xk1.js +1 -0
- package/dist/client/static/js/railroad-abnf-HS5TGJTU-6fa00vpk.js +1 -0
- package/dist/client/static/js/railroad-ebnf-LZEXJU2U-pcbtg7tj.js +1 -0
- package/dist/client/static/js/railroad-peg-WCYAUIDC-r0fdhdtp.js +1 -0
- package/dist/client/static/js/{railroadDiagram-XR7U4H2S-3cep8css.js → railroadDiagram-XR7U4H2S-c3habpvw.js} +1 -1
- package/dist/client/static/js/{requirementDiagram-PLB6GJNP-x1yjgsrr.js → requirementDiagram-PLB6GJNP-nysqy6te.js} +12 -12
- package/dist/client/static/js/{ruby-f9k99tfq.js → ruby-mc826p2e.js} +1 -1
- package/dist/client/static/js/{rust-yy8gekx8.js → rust-m4f4vpvn.js} +1 -1
- package/dist/client/static/js/{sankeyDiagram-IPEJSGJF-23wzf4aj.js → sankeyDiagram-IPEJSGJF-s5dtfp3z.js} +4 -4
- package/dist/client/static/js/{sass-2syegq28.js → sass-8bq5r2tz.js} +1 -1
- package/dist/client/static/js/{sequenceDiagram-PO4LG4MO-w4wr3zzr.js → sequenceDiagram-PO4LG4MO-bb3yp049.js} +21 -21
- package/dist/client/static/js/{sizeCapture-INFHLROL-aabfesnr.js → sizeCapture-INFHLROL-0m2msee7.js} +1 -1
- package/dist/client/static/js/{stateDiagram-v2-GCMORJYK-t0n288xw.js → stateDiagram-v2-GCMORJYK-cd0qgj6t.js} +3 -3
- package/dist/client/static/js/{svelte-mm3jfpje.js → svelte-5vrwkc13.js} +1 -1
- package/dist/client/static/js/{swimlanes-2SLR337P-1nnm0p7h.js → swimlanes-2SLR337P-rpb01f7p.js} +1 -1
- package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-zx36y2c8.js +8 -0
- package/dist/client/static/js/{timeline-definition-EJHVYXUP-8pyssn0q.js → timeline-definition-EJHVYXUP-tqw2e6y1.js} +5 -5
- package/dist/client/static/js/treeView-Q6P3EWNA-9sn2h4ea.js +1 -0
- package/dist/client/static/js/treemap-WGGIJYW6-9fzms0pq.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-dhf4d5xg.js} +41 -41
- package/dist/client/static/js/{vennDiagram-UO4OBE2U-tqyvmqxc.js → vennDiagram-UO4OBE2U-ztkk79dv.js} +7 -7
- package/dist/client/static/js/{vue-e8e3q3hj.js → vue-gmjnxjm3.js} +1 -1
- package/dist/client/static/js/wardley-WFR3VGLG-vy6rp5gp.js +1 -0
- package/dist/client/static/js/{wardleyDiagram-VNRHLVJA-p8rs34em.js → wardleyDiagram-VNRHLVJA-ahre5tmv.js} +5 -5
- package/dist/client/static/js/xml-mrk4xakv.js +1 -0
- package/dist/client/static/js/{xychartDiagram-PMCCYNJV-pgnvxtps.js → xychartDiagram-PMCCYNJV-vak2c50n.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/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/index.tsx +40 -2
- package/src/client/components/common/session-row/session-row.test.tsx +46 -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/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/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/OrchestrationNotice.tsx +5 -5
- 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 +5 -5
- package/src/client/components/workspace/chat-timeline/TaskResultContent.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/TimelineBody.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/UndoConfirmModal.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/block-chrome.test.tsx +2 -2
- 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 +1 -1
- 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/Toolbar.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/chat-input/VoiceNotice.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/chat-input/props.ts +3 -3
- package/src/client/components/workspace/chat-timeline/plan-review/index.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/target-picker/WorktreePicker.tsx +2 -2
- 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 +1 -1
- 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 +1 -1
- 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/Tui.test.tsx +35 -9
- package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Tui.tsx +17 -12
- 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/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 +63 -1
- package/src/server/lib/realtime/topics/session-data.test.ts +154 -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/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-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-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-pe4d9wht.js +0 -1
- 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/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
|
@@ -43,9 +43,9 @@ interface ModelDropdownPanelProps {
|
|
|
43
43
|
* (the New Chat modal's preview), which then draws no tabs. */
|
|
44
44
|
harnesses?: HarnessSummary[];
|
|
45
45
|
activeHarness?: string | null;
|
|
46
|
-
/** False
|
|
47
|
-
* is a spawn-time choice, so the tab
|
|
48
|
-
*
|
|
46
|
+
/** False when the chat already owns its harness (a transcript or a fork):
|
|
47
|
+
* switching is a spawn-time choice, so the tab strip is not drawn at all
|
|
48
|
+
* rather than offering tabs that cannot change anything. */
|
|
49
49
|
harnessEditable?: boolean;
|
|
50
50
|
onSelectHarness?: (harness: string) => void;
|
|
51
51
|
onFixHarness?: (harness: string) => void;
|
|
@@ -127,6 +127,10 @@ export function ModelDropdownPanel({
|
|
|
127
127
|
useLayoutEffect(alignCardToRow, [alignCardToRow, collapsedSections]);
|
|
128
128
|
|
|
129
129
|
const size = usePopoverSize(panelRef);
|
|
130
|
+
// The strip is a SPAWN-TIME choice. Once a transcript (or a fork) owns the
|
|
131
|
+
// harness there is nothing a tab could do, and drawing dimmed tabs left a
|
|
132
|
+
// control in the composer's picker that only refused presses.
|
|
133
|
+
const showTabs = harnessEditable && harnesses.length > 0;
|
|
130
134
|
|
|
131
135
|
/**
|
|
132
136
|
* The card's CONTENT, shared by both placements.
|
|
@@ -161,15 +165,17 @@ export function ModelDropdownPanel({
|
|
|
161
165
|
what the list IS, so the search that follows applies to the list the
|
|
162
166
|
tab selected.
|
|
163
167
|
|
|
168
|
+
It exists only while the chat is still choosing its harness. A
|
|
169
|
+
running chat (or a fork) keeps the agent it owns, so the strip is
|
|
170
|
+
not drawn and the search row is the first band.
|
|
171
|
+
|
|
164
172
|
In the full-screen placement the strip is the FRAME's first row, so
|
|
165
|
-
it carries the close control
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
{harnesses.length > 0 && (
|
|
173
|
+
it carries the close control when it exists; otherwise the control
|
|
174
|
+
rides the search row. */}
|
|
175
|
+
{showTabs && (
|
|
169
176
|
<HarnessTabs
|
|
170
177
|
harnesses={harnesses}
|
|
171
178
|
active={activeHarness}
|
|
172
|
-
editable={harnessEditable}
|
|
173
179
|
onSelect={onSelectHarness ?? (() => {})}
|
|
174
180
|
onFix={onFixHarness}
|
|
175
181
|
{...(fullscreen ? { actions: <PickerCloseButton onClose={onClose} /> } : {})}
|
|
@@ -179,7 +185,7 @@ export function ModelDropdownPanel({
|
|
|
179
185
|
search={search}
|
|
180
186
|
onSearchChange={onSearchChange}
|
|
181
187
|
onAddProvider={onAddProvider}
|
|
182
|
-
{...(fullscreen &&
|
|
188
|
+
{...(fullscreen && !showTabs ? { actions: <PickerCloseButton onClose={onClose} /> } : {})}
|
|
183
189
|
/>
|
|
184
190
|
|
|
185
191
|
{/* Scrollable Model Lists. Deliberately no top padding: Chrome's
|
|
@@ -68,7 +68,7 @@ export function ModelDropdownSection({
|
|
|
68
68
|
<div className="flex items-center gap-2 min-w-0">
|
|
69
69
|
{iconType === 'star' && (
|
|
70
70
|
<span className="inline-flex items-center justify-center w-[18px] h-[18px] shrink-0">
|
|
71
|
-
<Star size={12} className="fill-current text-warning" />
|
|
71
|
+
<Star size={12} className="fill-current text-warning-text" />
|
|
72
72
|
</span>
|
|
73
73
|
)}
|
|
74
74
|
{iconType === 'recent' && (
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
*
|
|
12
12
|
* - a harness that cannot run here is disabled AND carries the agent's own
|
|
13
13
|
* reason (`mcode login`, `executable not found (command: pi)`);
|
|
14
|
-
* -
|
|
15
|
-
*
|
|
14
|
+
* - the strip only exists while the chat is choosing its harness; `Panel` hides
|
|
15
|
+
* it once a transcript (or a fork) owns the agent, so no dead tab is drawn;
|
|
16
16
|
* - the active tab is marked for assistive tech, not by colour alone.
|
|
17
17
|
*/
|
|
18
18
|
|
|
@@ -82,7 +82,6 @@ describe('harness tabs', () => {
|
|
|
82
82
|
const el = await mount(h(HarnessTabs, {
|
|
83
83
|
harnesses: [summary('omp-rpc'), summary('claude')],
|
|
84
84
|
active: 'omp-rpc',
|
|
85
|
-
editable: true,
|
|
86
85
|
onSelect: (id: string) => picked.push(id),
|
|
87
86
|
}));
|
|
88
87
|
const tabs = el.querySelectorAll('[role="tab"]');
|
|
@@ -99,7 +98,6 @@ describe('harness tabs', () => {
|
|
|
99
98
|
const el = await mount(h(HarnessTabs, {
|
|
100
99
|
harnesses: [summary('pi', { canLaunch: false, unavailable: '`pi` is not installed', install: 'npm i -g pi-acp' })],
|
|
101
100
|
active: null,
|
|
102
|
-
editable: true,
|
|
103
101
|
onSelect: () => {},
|
|
104
102
|
onFix: (id: string) => fixes.push(id),
|
|
105
103
|
}));
|
|
@@ -142,7 +140,6 @@ describe('harness tabs', () => {
|
|
|
142
140
|
summary('claude'),
|
|
143
141
|
],
|
|
144
142
|
active: 'claude',
|
|
145
|
-
editable: true,
|
|
146
143
|
onSelect: (id: string) => picked.push(id),
|
|
147
144
|
}));
|
|
148
145
|
const tab = el.querySelectorAll('[role="tab"]')[0] as HTMLButtonElement;
|
|
@@ -155,39 +152,6 @@ describe('harness tabs', () => {
|
|
|
155
152
|
expect(picked).toEqual(['omp-rpc']);
|
|
156
153
|
});
|
|
157
154
|
|
|
158
|
-
test('a chat with a transcript cannot switch harness', async () => {
|
|
159
|
-
const picked: string[] = [];
|
|
160
|
-
const el = await mount(h(HarnessTabs, {
|
|
161
|
-
harnesses: [summary('omp-rpc', { label: 'omp' }), summary('claude')],
|
|
162
|
-
active: 'omp-rpc',
|
|
163
|
-
editable: false,
|
|
164
|
-
onSelect: (id: string) => picked.push(id),
|
|
165
|
-
}));
|
|
166
|
-
const tabs = el.querySelectorAll('[role="tab"]');
|
|
167
|
-
const claude = tabs[1] as HTMLButtonElement;
|
|
168
|
-
// The sentence has to name the agent the chat ALREADY started on. "Start a
|
|
169
|
-
// new chat to use claude" was true and useless: it never said which agent
|
|
170
|
-
// held the chat, so a user could not tell a lock from their own mistake.
|
|
171
|
-
expect(claude.getAttribute('title')).toContain('this chat already started on omp');
|
|
172
|
-
expect(claude.getAttribute('title')).toContain('Start a new chat to use claude');
|
|
173
|
-
// The same sentence on the accessible path: an `aria-disabled` tab is still
|
|
174
|
-
// focusable, and a screen reader would otherwise hear "claude, tab, dimmed"
|
|
175
|
-
// with no reason attached.
|
|
176
|
-
expect(claude.getAttribute('aria-description')).toBe(claude.getAttribute('title'));
|
|
177
|
-
// The active tab is not offered as an alternative to itself.
|
|
178
|
-
expect(tabs[0]?.getAttribute('title')).toContain('already started on');
|
|
179
|
-
expect(tabs[0]?.getAttribute('title')).not.toContain('Cannot switch');
|
|
180
|
-
// Unusable, but still pressable: `title` is unreachable on a native
|
|
181
|
-
// `disabled` button (measured in Chromium), and this tab's whole job here is
|
|
182
|
-
// to explain itself.
|
|
183
|
-
expect(claude.disabled).toBe(false);
|
|
184
|
-
expect(claude.getAttribute('aria-disabled')).toBe('true');
|
|
185
|
-
await act(async () => {
|
|
186
|
-
claude.click();
|
|
187
|
-
});
|
|
188
|
-
expect(picked).toEqual([]);
|
|
189
|
-
});
|
|
190
|
-
|
|
191
155
|
test('a tab with nothing wrong answers with the agent it would start', () => {
|
|
192
156
|
const probed = summary('claude', {
|
|
193
157
|
probe: {
|
|
@@ -195,16 +159,15 @@ describe('harness tabs', () => {
|
|
|
195
159
|
capabilities: { ...probeBlocked('').capabilities, blocked: undefined, agentName: 'claude-code', agentVersion: '2.0.1' },
|
|
196
160
|
},
|
|
197
161
|
});
|
|
198
|
-
expect(harnessTabTitle(probed, { block: null
|
|
162
|
+
expect(harnessTabTitle(probed, { block: null })).toBe('claude · claude-code 2.0.1');
|
|
199
163
|
// No probe yet: the label, not a fabricated build string.
|
|
200
|
-
expect(harnessTabTitle(summary('codex'), { block: null
|
|
164
|
+
expect(harnessTabTitle(summary('codex'), { block: null })).toBe('codex');
|
|
201
165
|
});
|
|
202
166
|
|
|
203
167
|
test('a blocked tab states the block, never the label', () => {
|
|
204
168
|
const blocked = summary('pi', { canLaunch: false, unavailable: '`pi` is not installed', install: 'npm i -g pi-acp' });
|
|
205
|
-
const title = harnessTabTitle(blocked, { block: { reason: '`pi` is not installed', fix: 'npm i -g pi-acp' }
|
|
206
|
-
// The block comes FIRST:
|
|
207
|
-
// agent, and only the block means anything about this harness.
|
|
169
|
+
const title = harnessTabTitle(blocked, { block: { reason: '`pi` is not installed', fix: 'npm i -g pi-acp' } });
|
|
170
|
+
// The block comes FIRST: only the block means anything about this harness.
|
|
208
171
|
expect(title.startsWith('pi: `pi` is not installed')).toBe(true);
|
|
209
172
|
expect(title).toContain('npm i -g pi-acp');
|
|
210
173
|
});
|
|
@@ -219,7 +182,7 @@ describe('harness tabs', () => {
|
|
|
219
182
|
install: 'npm i -g @agentclientprotocol/codex-acp',
|
|
220
183
|
probe: probeBlocked('Authentication required'),
|
|
221
184
|
});
|
|
222
|
-
const title = harnessTabTitle(refused, { block: harnessBlock(refused)
|
|
185
|
+
const title = harnessTabTitle(refused, { block: harnessBlock(refused) });
|
|
223
186
|
expect(title).toContain('Authentication required');
|
|
224
187
|
expect(title).not.toContain('install');
|
|
225
188
|
});
|
|
@@ -228,7 +191,6 @@ describe('harness tabs', () => {
|
|
|
228
191
|
const el = await mount(h(HarnessTabs, {
|
|
229
192
|
harnesses: [summary('codex')],
|
|
230
193
|
active: 'codex',
|
|
231
|
-
editable: true,
|
|
232
194
|
onSelect: () => {},
|
|
233
195
|
}));
|
|
234
196
|
const tab = el.querySelector('[role="tab"]') as HTMLElement;
|
|
@@ -244,7 +206,6 @@ describe('harness tabs', () => {
|
|
|
244
206
|
const el = await mount(h(HarnessTabs, {
|
|
245
207
|
harnesses: [summary('codex')],
|
|
246
208
|
active: 'codex',
|
|
247
|
-
editable: true,
|
|
248
209
|
onSelect: () => {},
|
|
249
210
|
}));
|
|
250
211
|
// The tab is the only control whose mark is the WHOLE target, so it is drawn
|
|
@@ -254,13 +215,12 @@ describe('harness tabs', () => {
|
|
|
254
215
|
});
|
|
255
216
|
|
|
256
217
|
test('the mark inside a tab is DECORATION, so the tab keeps its own tooltip', async () => {
|
|
257
|
-
// Measured: hovering a
|
|
258
|
-
//
|
|
218
|
+
// Measured: hovering a tab announced the glyph's generic "Session runs on
|
|
219
|
+
// claude" and never the tab's own sentence — a nested `title` is the one the
|
|
259
220
|
// browser shows, and it sits INSIDE the button.
|
|
260
221
|
const el = await mount(h(HarnessTabs, {
|
|
261
222
|
harnesses: [summary('omp-rpc', { label: 'omp' }), summary('claude')],
|
|
262
223
|
active: 'omp-rpc',
|
|
263
|
-
editable: false,
|
|
264
224
|
onSelect: () => {},
|
|
265
225
|
}));
|
|
266
226
|
const claude = el.querySelectorAll('[role="tab"]')[1] as HTMLElement;
|
|
@@ -268,44 +228,14 @@ describe('harness tabs', () => {
|
|
|
268
228
|
expect(mark.getAttribute('title')).toBeNull();
|
|
269
229
|
expect(mark.getAttribute('role')).toBeNull();
|
|
270
230
|
expect(mark.getAttribute('aria-hidden')).toBe('true');
|
|
271
|
-
// The
|
|
272
|
-
expect(claude.getAttribute('title')).
|
|
273
|
-
});
|
|
274
|
-
|
|
275
|
-
test('a tab that cannot switch shows the prohibition cursor', async () => {
|
|
276
|
-
// Reported from use: a locked tab did nothing on press but showed no cursor
|
|
277
|
-
// signal at all. The prohibition sign is the affordance that says "not here"
|
|
278
|
-
// BEFORE the click; `cursor-help` was drawn as a QUESTION MARK on macOS and
|
|
279
|
-
// read as a stray icon.
|
|
280
|
-
const el = await mount(h(HarnessTabs, {
|
|
281
|
-
harnesses: [
|
|
282
|
-
summary('omp-rpc', { label: 'omp' }),
|
|
283
|
-
summary('pi', { canLaunch: false, unavailable: 'not installed' }),
|
|
284
|
-
summary('claude'),
|
|
285
|
-
],
|
|
286
|
-
active: 'omp-rpc',
|
|
287
|
-
editable: false,
|
|
288
|
-
onSelect: () => {},
|
|
289
|
-
}));
|
|
290
|
-
const [owner, blocked, locked] = [...el.querySelectorAll('[role="tab"]')].map(
|
|
291
|
-
(tab) => tab.className,
|
|
292
|
-
);
|
|
293
|
-
// The chat runs on omp, so every OTHER tab refuses the switch.
|
|
294
|
-
expect(locked).toContain('cursor-not-allowed');
|
|
295
|
-
// A blocked tab opens its settings page, so it still earns the pointer.
|
|
296
|
-
expect(blocked).toContain('cursor-pointer');
|
|
297
|
-
expect(blocked).not.toContain('cursor-not-allowed');
|
|
298
|
-
// The current selection is not a refusal.
|
|
299
|
-
expect(owner).toContain('cursor-default');
|
|
300
|
-
expect(owner).not.toContain('cursor-not-allowed');
|
|
301
|
-
for (const cls of [owner, blocked, locked]) expect(cls).not.toContain('cursor-help');
|
|
231
|
+
// The name lives on the BUTTON, not on the mark inside it.
|
|
232
|
+
expect(claude.getAttribute('title')).toBe('claude');
|
|
302
233
|
});
|
|
303
234
|
|
|
304
235
|
test('a selectable tab keeps the pointer, never the prohibition', async () => {
|
|
305
236
|
const el = await mount(h(HarnessTabs, {
|
|
306
237
|
harnesses: [summary('omp-rpc', { label: 'omp' }), summary('claude')],
|
|
307
238
|
active: 'omp-rpc',
|
|
308
|
-
editable: true,
|
|
309
239
|
onSelect: () => {},
|
|
310
240
|
}));
|
|
311
241
|
for (const tab of el.querySelectorAll('[role="tab"]')) {
|
|
@@ -318,7 +248,6 @@ describe('harness tabs', () => {
|
|
|
318
248
|
const el = await mount(h(HarnessTabs, {
|
|
319
249
|
harnesses: [summary('pi', { canLaunch: false, unavailable: '`pi` is not installed' })],
|
|
320
250
|
active: null,
|
|
321
|
-
editable: true,
|
|
322
251
|
onSelect: () => {},
|
|
323
252
|
}));
|
|
324
253
|
const tab = el.querySelector('[role="tab"]') as HTMLElement;
|
|
@@ -330,7 +259,7 @@ describe('harness tabs', () => {
|
|
|
330
259
|
});
|
|
331
260
|
|
|
332
261
|
test('no harnesses draws nothing rather than an empty strip', async () => {
|
|
333
|
-
const el = await mount(h(HarnessTabs, { harnesses: [], active: null,
|
|
262
|
+
const el = await mount(h(HarnessTabs, { harnesses: [], active: null, onSelect: () => {} }));
|
|
334
263
|
expect(el.querySelector('[role="tablist"]')).toBeNull();
|
|
335
264
|
});
|
|
336
265
|
});
|
|
@@ -28,8 +28,8 @@ interface ModelDropdownProps {
|
|
|
28
28
|
harness?: string;
|
|
29
29
|
/** Picked a tab for a chat that has no transcript yet. */
|
|
30
30
|
onSelectHarness?: (harness: string) => void;
|
|
31
|
-
/** False
|
|
32
|
-
*
|
|
31
|
+
/** False once the chat owns its harness (a transcript or a fork): the tab
|
|
32
|
+
* strip is not drawn, because the choice is spawn-time. */
|
|
33
33
|
harnessEditable?: boolean;
|
|
34
34
|
/** The SHELL's layout verdict. When omitted the picker answers for itself from
|
|
35
35
|
* the pointer — which is what the New Chat modal's preview does. */
|
|
@@ -64,7 +64,7 @@ function harness(id: string): HarnessSummary {
|
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
function mount(harnesses: HarnessSummary[], onClose: () => void): void {
|
|
67
|
+
function mount(harnesses: HarnessSummary[], onClose: () => void, editable = true): void {
|
|
68
68
|
act(() =>
|
|
69
69
|
render(
|
|
70
70
|
h(ModelDropdownPanel, {
|
|
@@ -90,7 +90,7 @@ function mount(harnesses: HarnessSummary[], onClose: () => void): void {
|
|
|
90
90
|
onMouseLeave: () => {},
|
|
91
91
|
harnesses,
|
|
92
92
|
activeHarness: 'omp-rpc',
|
|
93
|
-
harnessEditable:
|
|
93
|
+
harnessEditable: editable,
|
|
94
94
|
onSelectHarness: () => {},
|
|
95
95
|
onClose,
|
|
96
96
|
fullscreen: true,
|
|
@@ -124,6 +124,20 @@ describe('the full-screen picker close control', () => {
|
|
|
124
124
|
expect(dialog.querySelector('input[placeholder="Search models"]')).not.toBeNull();
|
|
125
125
|
});
|
|
126
126
|
|
|
127
|
+
test('a chat that already owns its harness draws no tab strip at all', () => {
|
|
128
|
+
// Harness is a SPAWN property: once a transcript (or a fork) owns the agent,
|
|
129
|
+
// a tab can only refuse the press. The picker therefore hides the strip
|
|
130
|
+
// instead of drawing dimmed tabs that do nothing.
|
|
131
|
+
mount([harness('omp-rpc'), harness('claude')], () => {}, false);
|
|
132
|
+
const dialog = document.querySelector('[role="dialog"][aria-label="Select model"]') as HTMLElement;
|
|
133
|
+
expect(dialog.querySelector('[role="tablist"]')).toBeNull();
|
|
134
|
+
expect(dialog.querySelectorAll('[role="tab"]')).toHaveLength(0);
|
|
135
|
+
// The close control still rides the picker's first row.
|
|
136
|
+
const close = dialog.querySelector('button[aria-label="Close"]') as HTMLElement;
|
|
137
|
+
expect(close).not.toBeNull();
|
|
138
|
+
expect(dialog.querySelector('input[placeholder="Search models"]')).not.toBeNull();
|
|
139
|
+
});
|
|
140
|
+
|
|
127
141
|
test('pressing it closes the picker', () => {
|
|
128
142
|
let closed = 0;
|
|
129
143
|
mount([harness('omp-rpc')], () => {
|
|
@@ -68,8 +68,8 @@ export function PlanPageView({
|
|
|
68
68
|
>
|
|
69
69
|
{error ? (
|
|
70
70
|
<div className="flex flex-col items-center gap-2 px-6 py-8 text-center">
|
|
71
|
-
<AlertCircle size={16} className="text-error" />
|
|
72
|
-
<p className="text-xs text-error">{error}</p>
|
|
71
|
+
<AlertCircle size={16} className="text-error-text" />
|
|
72
|
+
<p className="text-xs text-error-text">{error}</p>
|
|
73
73
|
</div>
|
|
74
74
|
) : !content ? (
|
|
75
75
|
<div className="px-6 py-8 text-center text-xs text-ink/40">
|
|
@@ -142,8 +142,8 @@ export function PlanPanel({ className = '', active = true, tabsMode = false }: P
|
|
|
142
142
|
|
|
143
143
|
{plan.stale && !plan.data ? (
|
|
144
144
|
<div className="flex flex-1 flex-col items-center justify-center gap-2 px-6 text-center">
|
|
145
|
-
<AlertCircle size={16} className="text-error" />
|
|
146
|
-
<p className="text-error">The plan could not be read.</p>
|
|
145
|
+
<AlertCircle size={16} className="text-error-text" />
|
|
146
|
+
<p className="text-error-text">The plan could not be read.</p>
|
|
147
147
|
<button type="button" onClick={plan.refresh} className="text-[11px] font-semibold text-ink/70 underline underline-offset-2 hover:text-ink">
|
|
148
148
|
Try again
|
|
149
149
|
</button>
|
|
@@ -19,7 +19,7 @@ export function PluginError({ pluginId, reason }: PluginErrorProps) {
|
|
|
19
19
|
return (
|
|
20
20
|
<div className="h-full w-full flex items-center justify-center px-6 text-center">
|
|
21
21
|
<div className="max-w-sm space-y-2">
|
|
22
|
-
<div className={`flex items-center justify-center gap-2 ${pending ? 'text-ink/50' : 'text-error'}`}>
|
|
22
|
+
<div className={`flex items-center justify-center gap-2 ${pending ? 'text-ink/50' : 'text-error-text'}`}>
|
|
23
23
|
{pending ? (
|
|
24
24
|
<Loader2 size={14} className="animate-spin flex-shrink-0" />
|
|
25
25
|
) : (
|
|
@@ -183,7 +183,7 @@ export function RepoModal({
|
|
|
183
183
|
{notice && (
|
|
184
184
|
<div
|
|
185
185
|
className={`px-5 py-1.5 border-b border-ink/10 text-[10px] font-mono truncate ${
|
|
186
|
-
notice.kind === 'error' ? 'text-error' : 'text-ink/60'
|
|
186
|
+
notice.kind === 'error' ? 'text-error-text' : 'text-ink/60'
|
|
187
187
|
}`}
|
|
188
188
|
title={notice.text}
|
|
189
189
|
role="status"
|
|
@@ -195,11 +195,11 @@ export function RepoModal({
|
|
|
195
195
|
<div className="min-h-[40vh] max-h-[60vh] overflow-y-auto scrollbar-overlay-container">
|
|
196
196
|
{loading && details.length === 0 ? (
|
|
197
197
|
<div className="flex items-center justify-center gap-2 py-12 text-xs text-ink/50 font-mono">
|
|
198
|
-
<Loader2 size={14} className="animate-spin text-info" />
|
|
198
|
+
<Loader2 size={14} className="animate-spin text-info-text" />
|
|
199
199
|
Reading repositories…
|
|
200
200
|
</div>
|
|
201
201
|
) : error ? (
|
|
202
|
-
<div className="py-12 px-6 text-center text-xs text-error font-mono">{error}</div>
|
|
202
|
+
<div className="py-12 px-6 text-center text-xs text-error-text font-mono">{error}</div>
|
|
203
203
|
) : filtered.length === 0 ? (
|
|
204
204
|
<div className="py-12 text-center text-xs text-ink/40 font-mono">
|
|
205
205
|
{query.trim() ? 'No matching repositories.' : 'No repositories in this workspace.'}
|
|
@@ -99,7 +99,7 @@ export function RepoRow({ row, active, name, loading, onSelect, onCopyPath, onRe
|
|
|
99
99
|
{row.isRepo ? (
|
|
100
100
|
<>
|
|
101
101
|
<span
|
|
102
|
-
className={`text-[10px] font-mono truncate ${row.detached ? 'text-warning' : 'text-ink/50'}`}
|
|
102
|
+
className={`text-[10px] font-mono truncate ${row.detached ? 'text-warning-text' : 'text-ink/50'}`}
|
|
103
103
|
title={row.detached ? `Detached HEAD at ${row.branch}` : `On branch ${row.branch}`}
|
|
104
104
|
>
|
|
105
105
|
{row.branch}
|
|
@@ -140,7 +140,7 @@ function StateBadges({ row }: { row: GitRepoDetail }) {
|
|
|
140
140
|
badges.push(
|
|
141
141
|
<span
|
|
142
142
|
key="operation"
|
|
143
|
-
className="flex flex-shrink-0 items-center gap-0.5 rounded border border-warning/30 px-1 text-[10px] font-mono text-warning"
|
|
143
|
+
className="flex flex-shrink-0 items-center gap-0.5 rounded border border-warning/30 px-1 text-[10px] font-mono text-warning-text"
|
|
144
144
|
title={
|
|
145
145
|
row.operation === 'stash-pop'
|
|
146
146
|
? `A stash pop stopped on ${row.conflicts} conflict(s)`
|
|
@@ -155,7 +155,7 @@ function StateBadges({ row }: { row: GitRepoDetail }) {
|
|
|
155
155
|
badges.push(
|
|
156
156
|
<span
|
|
157
157
|
key="conflicts"
|
|
158
|
-
className="flex flex-shrink-0 items-center gap-0.5 rounded border border-warning/30 px-1 text-[10px] font-mono text-warning"
|
|
158
|
+
className="flex flex-shrink-0 items-center gap-0.5 rounded border border-warning/30 px-1 text-[10px] font-mono text-warning-text"
|
|
159
159
|
title={`${row.conflicts} conflicted path(s)`}
|
|
160
160
|
>
|
|
161
161
|
<AlertTriangle size={9} />
|
|
@@ -168,7 +168,7 @@ function StateBadges({ row }: { row: GitRepoDetail }) {
|
|
|
168
168
|
badges.push(
|
|
169
169
|
<span
|
|
170
170
|
key="dirty"
|
|
171
|
-
className="flex-shrink-0 rounded border border-info/30 px-1 text-[10px] font-mono tabular-nums text-info"
|
|
171
|
+
className="flex-shrink-0 rounded border border-info/30 px-1 text-[10px] font-mono tabular-nums text-info-text"
|
|
172
172
|
title={`${row.changed} changed, ${row.untracked} untracked`}
|
|
173
173
|
>
|
|
174
174
|
{row.changed > 0 ? `${row.changed}±` : ''}
|
|
@@ -182,7 +182,7 @@ function StateBadges({ row }: { row: GitRepoDetail }) {
|
|
|
182
182
|
badges.push(
|
|
183
183
|
<span
|
|
184
184
|
key="gone"
|
|
185
|
-
className="flex-shrink-0 rounded border border-warning/30 px-1 text-[10px] font-mono text-warning"
|
|
185
|
+
className="flex-shrink-0 rounded border border-warning/30 px-1 text-[10px] font-mono text-warning-text"
|
|
186
186
|
title={`${row.upstream} no longer exists on the remote — fetch --prune to drop it`}
|
|
187
187
|
>
|
|
188
188
|
gone
|
|
@@ -288,7 +288,7 @@ export function SearchPanelBody({
|
|
|
288
288
|
// empty workspace.
|
|
289
289
|
<div className="flex-1 px-3 py-3" role="alert">
|
|
290
290
|
<div className="rounded border border-error/30 bg-error/5 px-2.5 py-2">
|
|
291
|
-
<div className="text-[11px] font-semibold text-error">Search failed</div>
|
|
291
|
+
<div className="text-[11px] font-semibold text-error-text">Search failed</div>
|
|
292
292
|
<div className="mt-1 whitespace-pre-wrap break-words font-mono text-[10.5px] text-ink/70">{error}</div>
|
|
293
293
|
{useRegex && (
|
|
294
294
|
<div className="mt-1 text-[10.5px] text-ink/50">
|
|
@@ -306,7 +306,7 @@ export function SearchPanelBody({
|
|
|
306
306
|
) : (
|
|
307
307
|
<>
|
|
308
308
|
{error && (
|
|
309
|
-
<div className="px-3 pt-2 text-[10.5px] text-error" role="alert">
|
|
309
|
+
<div className="px-3 pt-2 text-[10.5px] text-error-text" role="alert">
|
|
310
310
|
Search failed: <span className="font-mono">{error}</span>
|
|
311
311
|
</div>
|
|
312
312
|
)}
|
|
@@ -29,10 +29,10 @@ const STATUS_LABEL: Record<TerminalStatus, string> = {
|
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
const STATUS_CLASS: Record<TerminalStatus, string> = {
|
|
32
|
-
connecting: 'bg-warning/10 text-warning border-warning/20',
|
|
33
|
-
running: 'bg-success/10 text-success border-success/20',
|
|
32
|
+
connecting: 'bg-warning/10 text-warning-text border-warning/20',
|
|
33
|
+
running: 'bg-success/10 text-success-text border-success/20',
|
|
34
34
|
exited: 'bg-ink/5 text-ink/60 border-ink/15',
|
|
35
|
-
error: 'bg-error/10 text-error border-error/20',
|
|
35
|
+
error: 'bg-error/10 text-error-text border-error/20',
|
|
36
36
|
};
|
|
37
37
|
|
|
38
38
|
export function TerminalHeader({
|
|
@@ -131,7 +131,7 @@ export function TerminalKeyBar({
|
|
|
131
131
|
aria-label="Copy selection"
|
|
132
132
|
className={`${KEY_CLASS} ${
|
|
133
133
|
feedback === 'empty'
|
|
134
|
-
? 'bg-warning/10 text-warning border-warning/30'
|
|
134
|
+
? 'bg-warning/10 text-warning-text border-warning/30'
|
|
135
135
|
: IDLE_CLASS
|
|
136
136
|
}`}
|
|
137
137
|
>
|
|
@@ -151,7 +151,7 @@ export function TerminalKeyBar({
|
|
|
151
151
|
aria-label="Paste into the shell"
|
|
152
152
|
className={`${KEY_CLASS} ${
|
|
153
153
|
feedback === 'pasteFailed'
|
|
154
|
-
? 'bg-error/10 text-error border-error/30'
|
|
154
|
+
? 'bg-error/10 text-error-text border-error/30'
|
|
155
155
|
: IDLE_CLASS
|
|
156
156
|
}`}
|
|
157
157
|
>
|
|
@@ -20,7 +20,7 @@ export function TerminalQuickActions({ onSelectCommand, disabled }: TerminalQuic
|
|
|
20
20
|
return (
|
|
21
21
|
<div className="flex flex-wrap items-center gap-1.5 px-3 py-1.5 bg-paper border-b border-ink/10 flex-shrink-0">
|
|
22
22
|
<div className="flex items-center space-x-1 text-[10px] font-mono text-ink/50 uppercase tracking-wider flex-shrink-0 select-none">
|
|
23
|
-
<Zap size={11} className="text-warning" />
|
|
23
|
+
<Zap size={11} className="text-warning-text" />
|
|
24
24
|
<span>Quick:</span>
|
|
25
25
|
</div>
|
|
26
26
|
{PRESET_COMMANDS.map(item => (
|
|
@@ -187,7 +187,7 @@ export const RealtimeTerminalView = forwardRef<RealtimeTerminalHandle, RealtimeT
|
|
|
187
187
|
className="absolute bottom-3 right-4 z-20 flex items-center space-x-1.5 px-2.5 py-1 bg-paper hover:bg-canvas text-ink border border-ink/20 rounded-full shadow-lg text-[11px] font-mono transition-all animate-fade-in cursor-pointer"
|
|
188
188
|
title="Scroll to latest output (Shift+End)"
|
|
189
189
|
>
|
|
190
|
-
<ArrowDown size={12} className="text-warning" />
|
|
190
|
+
<ArrowDown size={12} className="text-warning-text" />
|
|
191
191
|
<span>Latest</span>
|
|
192
192
|
</button>
|
|
193
193
|
)}
|
|
@@ -231,7 +231,7 @@ export function TerminalPanel({ className = '', enabled = true, rootPath, showHe
|
|
|
231
231
|
<TerminalQuickActions onSelectCommand={handleQuickAction} disabled={status !== 'running'} />
|
|
232
232
|
|
|
233
233
|
{error && (
|
|
234
|
-
<div className="px-3 py-1.5 border-b border-error/20 bg-error/5 text-[11px] font-mono text-error flex-shrink-0">
|
|
234
|
+
<div className="px-3 py-1.5 border-b border-error/20 bg-error/5 text-[11px] font-mono text-error-text flex-shrink-0">
|
|
235
235
|
{error}
|
|
236
236
|
</div>
|
|
237
237
|
)}
|
|
@@ -48,8 +48,8 @@ export function UsagePanel({ className = '', active = true, tabsMode = false }:
|
|
|
48
48
|
if (error && !report) {
|
|
49
49
|
return (
|
|
50
50
|
<div className={`flex h-full w-full flex-col items-center justify-center gap-2 p-8 text-center text-xs ${className}`}>
|
|
51
|
-
<AlertCircle size={16} className="text-error" />
|
|
52
|
-
<p className="text-error text-xs">{error}</p>
|
|
51
|
+
<AlertCircle size={16} className="text-error-text" />
|
|
52
|
+
<p className="text-error-text text-xs">{error}</p>
|
|
53
53
|
<button
|
|
54
54
|
type="button"
|
|
55
55
|
onClick={() => reload()}
|
|
@@ -107,7 +107,7 @@ export function UsagePanel({ className = '', active = true, tabsMode = false }:
|
|
|
107
107
|
/>
|
|
108
108
|
|
|
109
109
|
<div className="flex-1 min-w-0 min-h-0 w-full overflow-y-auto scrollbar-overlay-container p-3.5 space-y-4">
|
|
110
|
-
{error && <p className="text-error text-xs">{error}</p>}
|
|
110
|
+
{error && <p className="text-error-text text-xs">{error}</p>}
|
|
111
111
|
{visible.length > 0 ? (
|
|
112
112
|
visible.map((provider) => (
|
|
113
113
|
<ProviderDetail key={provider.id} summary={provider.summary} />
|
|
@@ -168,7 +168,7 @@ export function UserBrowserAddressBar({
|
|
|
168
168
|
title={error ?? undefined}
|
|
169
169
|
spellcheck={false}
|
|
170
170
|
autoComplete="off"
|
|
171
|
-
className={`w-full min-w-0 bg-transparent outline-none font-mono text-[11px] placeholder:text-ink/35 ${error ? 'text-error' : 'text-ink/90'}`}
|
|
171
|
+
className={`w-full min-w-0 bg-transparent outline-none font-mono text-[11px] placeholder:text-ink/35 ${error ? 'text-error-text' : 'text-ink/90'}`}
|
|
172
172
|
/>
|
|
173
173
|
</form>
|
|
174
174
|
</div>
|
|
@@ -104,8 +104,8 @@ export function WikiPageView({
|
|
|
104
104
|
>
|
|
105
105
|
{error ? (
|
|
106
106
|
<div className="flex flex-col items-center gap-2 px-6 py-8 text-center">
|
|
107
|
-
<AlertCircle size={16} className="text-error" />
|
|
108
|
-
<p className="text-xs text-error">{error}</p>
|
|
107
|
+
<AlertCircle size={16} className="text-error-text" />
|
|
108
|
+
<p className="text-xs text-error-text">{error}</p>
|
|
109
109
|
</div>
|
|
110
110
|
) : !page ? (
|
|
111
111
|
<div className="px-6 py-8 text-center text-xs text-ink/40">
|
|
@@ -206,8 +206,8 @@ export function WikiPanel({
|
|
|
206
206
|
|
|
207
207
|
{tree.error && !tree.data ? (
|
|
208
208
|
<div className="flex flex-1 flex-col items-center justify-center gap-2 px-6 text-center">
|
|
209
|
-
<AlertCircle size={16} className="text-error" />
|
|
210
|
-
<p className="text-error">{tree.error}</p>
|
|
209
|
+
<AlertCircle size={16} className="text-error-text" />
|
|
210
|
+
<p className="text-error-text">{tree.error}</p>
|
|
211
211
|
<button type="button" onClick={() => tree.reload()} className="text-[11px] font-semibold text-ink/70 underline underline-offset-2 hover:text-ink">
|
|
212
212
|
Try again
|
|
213
213
|
</button>
|
|
@@ -227,7 +227,7 @@ function WorktreeForm({ onClose, root, folderId, folderName, onCreated }: NewWor
|
|
|
227
227
|
<div className="flex w-full items-center gap-2 border-t border-ink/10 px-5 py-3">
|
|
228
228
|
{/* One line that never grows the dialog; the full message is its title. */}
|
|
229
229
|
<p
|
|
230
|
-
className="min-w-0 flex-1 truncate text-[11px] text-error"
|
|
230
|
+
className="min-w-0 flex-1 truncate text-[11px] text-error-text"
|
|
231
231
|
title={failure?.message}
|
|
232
232
|
role={failure ? 'alert' : undefined}
|
|
233
233
|
>
|