@kabmo-labs/kabmo 0.57.0 → 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-t84xmbk9.js → CsvGrid-j03knmbe.js} +2 -2
- package/dist/client/static/js/{DocxView-4jda3szm.js → DocxView-e8408vzs.js} +2 -2
- package/dist/client/static/js/{DrawioView-9qvvtnvt.js → DrawioView-fj4mfzch.js} +2 -2
- package/dist/client/static/js/{HtmlPreview-4pba1ys5.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-sny55sne.js → PdfView-8jtdx5hd.js} +1 -1
- package/dist/client/static/js/SessionsView-jwp8xvw5.js +1 -0
- package/dist/client/static/js/{SheetView-ezqak2b4.js → SheetView-hwx8s864.js} +11 -11
- package/dist/client/static/js/{SvgPreview-q1cvdf4s.js → SvgPreview-ete36nzv.js} +1 -1
- package/dist/client/static/js/{abnfDiagram-O67JEVCF-ftm2qwa3.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-j8kqfzmf.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-m3zpsp9h.js → blockDiagram-BEXU5L5S-0saahcs6.js} +7 -7
- package/dist/client/static/js/c-pk766wx0.js +1 -0
- package/dist/client/static/js/{c4Diagram-YGBWAQC7-myshvbrx.js → c4Diagram-YGBWAQC7-ktpqnb4a.js} +2 -2
- package/dist/client/static/js/{classDiagram-v2-NBCMYWYE-s0cwmsj4.js → classDiagram-v2-NBCMYWYE-x67cz3ms.js} +5 -5
- package/dist/client/static/js/{cose-bilkent-JH36ORCC-t5t02sfr.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-6yxd72sh.js → cynefinDiagram-VND7K2PF-dmmgmv99.js} +2 -2
- package/dist/client/static/js/{dagre-6A5THRUB-vft5103m.js → dagre-6A5THRUB-ygkkms1t.js} +2 -2
- package/dist/client/static/js/{diagram-22UHCM2B-yy2jfvxt.js → diagram-22UHCM2B-qxj0pqb4.js} +14 -14
- package/dist/client/static/js/{diagram-3UASUU5V-1xqhzq20.js → diagram-3UASUU5V-77k8w5dt.js} +1 -1
- package/dist/client/static/js/{diagram-ATOU4E4O-f11cxgvm.js → diagram-ATOU4E4O-m0h86vf4.js} +3 -3
- package/dist/client/static/js/{diagram-CDSNMT55-gqmkfcp7.js → diagram-CDSNMT55-5v28kaeg.js} +5 -5
- package/dist/client/static/js/{diagram-MLGK6HIB-1fg7304a.js → diagram-MLGK6HIB-zgcg9gaz.js} +2 -2
- package/dist/client/static/js/{diagram-MPIPVDR6-mem80369.js → diagram-MPIPVDR6-10c9s6e6.js} +2 -2
- package/dist/client/static/js/{dockerfile-jarjwxp9.js → dockerfile-dr9sdsqp.js} +1 -1
- package/dist/client/static/js/{ebnfDiagram-ZINNZB2B-4rcbvfrj.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-ykd0stxz.js → elk-276RUBZZ-ccerbsag.js} +1 -1
- package/dist/client/static/js/{erDiagram-OPXOYQCR-b2th9bk4.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-64p5r7cx.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-z3yc333r.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-w659dhe5.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-h4qmywn5.js → index-6ac860yz.js} +2 -2
- package/dist/client/static/js/{index-77wznmg5.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-dxx49b9m.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-mdmtxh1c.js → index-dz18nn65.js} +2 -2
- package/dist/client/static/js/{index-5m0se6fk.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-t415df0c.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-hmjb96kb.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-3x3nhs8n.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-q9gbwqbe.js → index-nzq51nbb.js} +7 -7
- package/dist/client/static/js/{index-c2vc6znd.js → index-q5q8a3qn.js} +2 -2
- package/dist/client/static/js/{index-g71wn1pr.js → index-qbqm3c91.js} +5 -5
- package/dist/client/static/js/{index-sw370sk7.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-6m5n8b6w.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-k57bandz.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-ebnd5hnr.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-n71ffk62.js → index-vb5a3g01.js} +4 -4
- package/dist/client/static/js/{index-bwwgtesb.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-wgcgshdh.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-2gf593e3.js → index-x7h04xzf.js} +2 -2
- package/dist/client/static/js/{index-kbaffwp1.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-59xq3n1b.js → infoDiagram-VRGFBTTK-rykcacj5.js} +1 -1
- package/dist/client/static/js/ini-bdk46a3d.js +1 -0
- package/dist/client/static/js/{ishikawaDiagram-OU5B5YK6-v18q4qt7.js → ishikawaDiagram-OU5B5YK6-rj752kd8.js} +3 -3
- package/dist/client/static/js/java-3g3925cf.js +1 -0
- package/dist/client/static/js/{journeyDiagram-ZHPQQLJL-etazj0p8.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-ph15e5p2.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-7ygd161b.js → mermaid.core-bs542jma.js} +8 -8
- package/dist/client/static/js/{mindmap-definition-NLK3R4M7-j5xsftrf.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-09nvb70v.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-6ymh1960.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-hk61avw2.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-3jvqrfnb.js → railroadDiagram-XR7U4H2S-c3habpvw.js} +1 -1
- package/dist/client/static/js/{requirementDiagram-PLB6GJNP-zthfj48k.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-q7n7q6dy.js → rust-m4f4vpvn.js} +1 -1
- package/dist/client/static/js/{sankeyDiagram-IPEJSGJF-nh5d6xte.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-crej9b40.js → sequenceDiagram-PO4LG4MO-bb3yp049.js} +21 -21
- package/dist/client/static/js/{sizeCapture-INFHLROL-nvvxw58j.js → sizeCapture-INFHLROL-0m2msee7.js} +1 -1
- package/dist/client/static/js/{stateDiagram-v2-GCMORJYK-e6tztjnj.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-xhdqjqmf.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-9cve31zc.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-asycstwe.js → usecaseDiagram-POWQR4AR-dhf4d5xg.js} +41 -41
- package/dist/client/static/js/{vennDiagram-UO4OBE2U-gbzk6era.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-1swwfszr.js → wardleyDiagram-VNRHLVJA-ahre5tmv.js} +5 -5
- package/dist/client/static/js/xml-mrk4xakv.js +1 -0
- package/dist/client/static/js/{xychartDiagram-PMCCYNJV-v7qkwv0b.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/card-header.ts +10 -8
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/status-glyph.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/toggle-label.test.ts +37 -0
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/toggle-label.ts +17 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Tui.test.tsx +50 -21
- package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Tui.tsx +21 -17
- 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/dictation/capability.server.test.ts +9 -6
- package/src/server/lib/dictation/worker-process.ts +9 -2
- 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-k96gtstv.js +0 -3
- package/dist/client/static/js/ImageView-0gf5xdsv.js +0 -1
- package/dist/client/static/js/LayoutWrapper-pwbq5syv.js +0 -2
- package/dist/client/static/js/MergeDiffView-m4jkr786.js +0 -1
- package/dist/client/static/js/Modal-yjszc3vy.js +0 -60
- package/dist/client/static/js/SessionsView-q3800n83.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-f3bdtc1z.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-1mm7kyjd.js +0 -1
- package/dist/client/static/js/index-3w18s59k.js +0 -9
- package/dist/client/static/js/index-ep353yxd.js +0 -2
- package/dist/client/static/js/index-ewtv8gg7.js +0 -1
- package/dist/client/static/js/index-gr07t5c4.js +0 -2
- package/dist/client/static/js/index-jd2h5tvh.js +0 -2
- package/dist/client/static/js/index-k6wms0kx.js +0 -1
- package/dist/client/static/js/index-k9v6477a.js +0 -1
- package/dist/client/static/js/index-mv83hpva.js +0 -1
- package/dist/client/static/js/index-nr5gwny1.js +0 -470
- package/dist/client/static/js/index-rqpbva78.js +0 -2
- package/dist/client/static/js/index-taz2nfym.css +0 -1
- package/dist/client/static/js/index-x6945djv.js +0 -1
- package/dist/client/static/js/index-y5mf2w81.js +0 -1
- package/dist/client/static/js/index-y69cbdvd.js +0 -2
- package/dist/client/static/js/index-y6qtx68e.js +0 -1
- package/dist/client/static/js/index-yktwxghr.js +0 -2
- package/dist/client/static/js/index-zj65csnm.js +0 -4
- 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-4s2rr12v.js +0 -1
- package/dist/client/static/js/one-light-3bkk59ww.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-hbwg3m3k.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
|
@@ -174,11 +174,11 @@ export function FilePane({
|
|
|
174
174
|
a crowded row — the banner states the same fact where the user is
|
|
175
175
|
looking, and names the one thing that is still possible. */}
|
|
176
176
|
{missing && (
|
|
177
|
-
<div className="flex items-start gap-2 px-3 py-2 border-b border-error/30 bg-error/10 text-error">
|
|
177
|
+
<div className="flex items-start gap-2 px-3 py-2 border-b border-error/30 bg-error/10 text-error-text">
|
|
178
178
|
<AlertTriangle size={14} className="shrink-0 mt-0.5" />
|
|
179
179
|
<div className="min-w-0">
|
|
180
180
|
<div className="text-[11.5px] font-sans">This file was deleted from disk.</div>
|
|
181
|
-
<div className="text-[11px] font-sans text-error
|
|
181
|
+
<div className="text-[11px] font-sans text-error-text">
|
|
182
182
|
The buffer is still here. Saving recreates the file — autosave is off until then.
|
|
183
183
|
</div>
|
|
184
184
|
</div>
|
|
@@ -203,11 +203,11 @@ export function FilePane({
|
|
|
203
203
|
Save button is disabled, and a user who is not told why would read it
|
|
204
204
|
as a broken file. */}
|
|
205
205
|
{editor.handleMissing && (
|
|
206
|
-
<div className="flex items-start gap-2 px-3 py-2 border-b border-warning/30 bg-warning/10 text-warning">
|
|
206
|
+
<div className="flex items-start gap-2 px-3 py-2 border-b border-warning/30 bg-warning/10 text-warning-text">
|
|
207
207
|
<AlertTriangle size={14} className="shrink-0 mt-0.5" />
|
|
208
208
|
<div className="min-w-0">
|
|
209
209
|
<div className="text-[11.5px] font-sans">This file was opened by the system, not from a workspace.</div>
|
|
210
|
-
<div className="text-[11px] font-sans text-warning
|
|
210
|
+
<div className="text-[11px] font-sans text-warning-text">
|
|
211
211
|
Its write permission ended with the last page load. Reopen the file from the OS to edit it again.
|
|
212
212
|
</div>
|
|
213
213
|
</div>
|
|
@@ -275,8 +275,8 @@ export function FilePane({
|
|
|
275
275
|
// empty (or substituted) buffer, and the next save wrote it over the
|
|
276
276
|
// real file.
|
|
277
277
|
<div className="flex-1 flex flex-col items-center justify-center gap-2 px-6 text-center">
|
|
278
|
-
<AlertTriangle size={20} className="text-error" />
|
|
279
|
-
<span className="text-xs text-error font-sans">Could not read {activeFile.name}</span>
|
|
278
|
+
<AlertTriangle size={20} className="text-error-text" />
|
|
279
|
+
<span className="text-xs text-error-text font-sans">Could not read {activeFile.name}</span>
|
|
280
280
|
<span className="text-[11px] text-ink/50 font-mono break-all">{editor.loadError}</span>
|
|
281
281
|
</div>
|
|
282
282
|
) : pluginFileView && !editor.isImage ? (
|
|
@@ -140,7 +140,7 @@ export function FindWidget({ find }: FindWidgetProps) {
|
|
|
140
140
|
placeholder="Find"
|
|
141
141
|
aria-label="Find"
|
|
142
142
|
className={`flex-1 min-w-0 bg-canvas border rounded px-2 py-1 font-mono text-xs focus:outline-none ${
|
|
143
|
-
find.invalid ? 'border-error text-error' : 'border-ink/20 focus:border-ink text-ink'
|
|
143
|
+
find.invalid ? 'border-error text-error-text' : 'border-ink/20 focus:border-ink text-ink'
|
|
144
144
|
}`}
|
|
145
145
|
/>
|
|
146
146
|
|
|
@@ -158,7 +158,7 @@ export function FindWidget({ find }: FindWidgetProps) {
|
|
|
158
158
|
</ToggleButton>
|
|
159
159
|
|
|
160
160
|
<span
|
|
161
|
-
className={`font-mono text-[10px] whitespace-nowrap min-w-[52px] text-right ${find.invalid ? 'text-error' : 'text-ink/50'}`}
|
|
161
|
+
className={`font-mono text-[10px] whitespace-nowrap min-w-[52px] text-right ${find.invalid ? 'text-error-text' : 'text-ink/50'}`}
|
|
162
162
|
aria-live="polite"
|
|
163
163
|
>
|
|
164
164
|
{status}
|
|
@@ -115,7 +115,7 @@ export function GoToLineModal({ lineCount, onGo, onClose }: GoToLineModalProps)
|
|
|
115
115
|
<div className="text-[10px] text-ink/50 font-mono">line {resolved} (the last line)</div>
|
|
116
116
|
) : null}
|
|
117
117
|
{value && resolved === null ? (
|
|
118
|
-
<div className="text-[10px] text-error font-mono">Enter a line number</div>
|
|
118
|
+
<div className="text-[10px] text-error-text font-mono">Enter a line number</div>
|
|
119
119
|
) : null}
|
|
120
120
|
</div>
|
|
121
121
|
</Modal>
|
|
@@ -158,14 +158,14 @@ export function SaveAsModal({
|
|
|
158
158
|
aria-label="File name"
|
|
159
159
|
aria-invalid={!valid}
|
|
160
160
|
className={`w-full bg-paper border rounded px-2 py-1 font-mono text-ink outline-none ${
|
|
161
|
-
valid ? 'border-ink/20 focus:border-ink/40' : 'border-error text-error'
|
|
161
|
+
valid ? 'border-ink/20 focus:border-ink/40' : 'border-error text-error-text'
|
|
162
162
|
}`}
|
|
163
163
|
/>
|
|
164
164
|
</label>
|
|
165
165
|
{!valid ? (
|
|
166
|
-
<div className="text-[10px] text-error font-mono">Enter a file name without a path separator</div>
|
|
166
|
+
<div className="text-[10px] text-error-text font-mono">Enter a file name without a path separator</div>
|
|
167
167
|
) : null}
|
|
168
|
-
{refusal ? <div className="text-[10px] text-error font-mono">{refusal}</div> : null}
|
|
168
|
+
{refusal ? <div className="text-[10px] text-error-text font-mono">{refusal}</div> : null}
|
|
169
169
|
<div className="text-[10px] text-ink/40">
|
|
170
170
|
The original file stays where it is, and its tab stays open.
|
|
171
171
|
</div>
|
|
@@ -44,12 +44,12 @@ export function SaveDeletedFileModal({ fileName, filePath, onClose, onConfirm }:
|
|
|
44
44
|
onClick={(e) => e.stopPropagation()}
|
|
45
45
|
>
|
|
46
46
|
<div className="flex items-center gap-3 px-4 py-3 border-b border-ink/10">
|
|
47
|
-
<FileWarning size={16} className="text-error shrink-0" />
|
|
47
|
+
<FileWarning size={16} className="text-error-text shrink-0" />
|
|
48
48
|
<h2 className="text-[13px] font-semibold text-ink">This file was deleted</h2>
|
|
49
49
|
</div>
|
|
50
50
|
<div className="px-4 py-4 space-y-3">
|
|
51
51
|
<div className="rounded-lg border border-ink/10 bg-canvas/50 px-3 py-2">
|
|
52
|
-
<div className="text-[12px] font-mono text-error line-through truncate">{fileName}</div>
|
|
52
|
+
<div className="text-[12px] font-mono text-error-text line-through truncate">{fileName}</div>
|
|
53
53
|
<div className="text-[11px] font-mono text-ink/50 break-all mt-0.5">{filePath}</div>
|
|
54
54
|
</div>
|
|
55
55
|
<p className="text-[11.5px] leading-relaxed text-ink/60">
|
|
@@ -112,7 +112,7 @@ export function EditorStatusBar({
|
|
|
112
112
|
// painted by the surface (`conflict-markers.ts`), but a reader who has
|
|
113
113
|
// scrolled past them needs to know how many blocks are left.
|
|
114
114
|
<span
|
|
115
|
-
className="text-error font-semibold tabular-nums"
|
|
115
|
+
className="text-error-text font-semibold tabular-nums"
|
|
116
116
|
title={`${conflicts} unresolved conflict${conflicts === 1 ? '' : 's'} — markers are highlighted in the file`}
|
|
117
117
|
>
|
|
118
118
|
⚠ {conflicts} conflict{conflicts === 1 ? '' : 's'}
|
|
@@ -95,7 +95,7 @@ describe('EditorTabs missing-file decoration', () => {
|
|
|
95
95
|
|
|
96
96
|
const gone = nameNode('gone.ts');
|
|
97
97
|
expect(gone).not.toBeNull();
|
|
98
|
-
expect(gone!.className).toContain('text-error');
|
|
98
|
+
expect(gone!.className).toContain('text-error-text');
|
|
99
99
|
expect(gone!.className).toContain('line-through');
|
|
100
100
|
});
|
|
101
101
|
|
|
@@ -104,7 +104,7 @@ describe('EditorTabs missing-file decoration', () => {
|
|
|
104
104
|
|
|
105
105
|
const keep = nameNode('keep.ts');
|
|
106
106
|
expect(keep).not.toBeNull();
|
|
107
|
-
expect(keep!.className).not.toContain('text-error');
|
|
107
|
+
expect(keep!.className).not.toContain('text-error-text');
|
|
108
108
|
expect(keep!.className).not.toContain('line-through');
|
|
109
109
|
});
|
|
110
110
|
|
|
@@ -121,7 +121,7 @@ describe('EditorTabs missing-file decoration', () => {
|
|
|
121
121
|
|
|
122
122
|
for (const name of ['keep.ts', 'gone.ts']) {
|
|
123
123
|
const node = nameNode(name);
|
|
124
|
-
expect(node!.className).not.toContain('text-error');
|
|
124
|
+
expect(node!.className).not.toContain('text-error-text');
|
|
125
125
|
expect(node!.className).not.toContain('line-through');
|
|
126
126
|
}
|
|
127
127
|
});
|
|
@@ -139,14 +139,14 @@ export function EditorTabs({
|
|
|
139
139
|
title={isMissing ? `${file.path} — file no longer exists` : file.path}
|
|
140
140
|
>
|
|
141
141
|
{isDiff ? (
|
|
142
|
-
<GitCompare size={14} className={isActive ? 'text-info flex-shrink-0' : 'text-info
|
|
142
|
+
<GitCompare size={14} className={isActive ? 'text-info-text flex-shrink-0' : 'text-info-text flex-shrink-0'} />
|
|
143
143
|
) : (
|
|
144
|
-
<FileIcon name={file.name} size={14} className={`flex-shrink-0${isActive || isMissing ? '' : ' opacity-60'}${isMissing ? ' text-error' : ''}`} />
|
|
144
|
+
<FileIcon name={file.name} size={14} className={`flex-shrink-0${isActive || isMissing ? '' : ' opacity-60'}${isMissing ? ' text-error-text' : ''}`} />
|
|
145
145
|
)}
|
|
146
146
|
{/* A deleted file keeps its tab (the buffer is still on screen),
|
|
147
147
|
but the tab must SAY so: the name goes red and struck through,
|
|
148
148
|
the one convention that reads as "this is gone" at a glance. */}
|
|
149
|
-
<span className={`text-xs font-mono truncate flex-1${isMissing ? ' text-error line-through' : ''}`}>{file.name}</span>
|
|
149
|
+
<span className={`text-xs font-mono truncate flex-1${isMissing ? ' text-error-text line-through' : ''}`}>{file.name}</span>
|
|
150
150
|
{statusInfo && (
|
|
151
151
|
<span className={`px-1 text-[10px] font-mono font-bold rounded ${statusInfo.badgeBgClass}`}>
|
|
152
152
|
{statusInfo.charStatus}
|
|
@@ -274,11 +274,11 @@ export function EditorTabs({
|
|
|
274
274
|
className="flex items-center space-x-2 px-3 py-1.5 hover:bg-ink/5 cursor-pointer group"
|
|
275
275
|
>
|
|
276
276
|
{file.isDiff ? (
|
|
277
|
-
<GitCompare size={14} className="text-info
|
|
277
|
+
<GitCompare size={14} className="text-info-text" />
|
|
278
278
|
) : (
|
|
279
|
-
<FileIcon name={file.name} size={14} className={isMissing ? 'text-error' : 'opacity-60'} />
|
|
279
|
+
<FileIcon name={file.name} size={14} className={isMissing ? 'text-error-text' : 'opacity-60'} />
|
|
280
280
|
)}
|
|
281
|
-
<span className={`text-xs font-mono truncate flex-1 ${isMissing ? 'text-error line-through' : 'text-ink/80'}`}>{file.name}</span>
|
|
281
|
+
<span className={`text-xs font-mono truncate flex-1 ${isMissing ? 'text-error-text line-through' : 'text-ink/80'}`}>{file.name}</span>
|
|
282
282
|
<TabCloseButton
|
|
283
283
|
dirty={dirtyIds.has(file.id)}
|
|
284
284
|
active={false}
|
|
@@ -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.'}
|