@kabmo-labs/kabmo 0.57.1 → 0.58.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/index.html +1 -1
- package/dist/client/index.js +540 -510
- package/dist/client/static/js/Body-ysmhxbvk.js +3 -0
- package/dist/client/static/js/{CsvGrid-563qmmmr.js → CsvGrid-w90pxyn2.js} +2 -2
- package/dist/client/static/js/{DocxView-5j69q3s0.js → DocxView-evxn6kaq.js} +2 -2
- package/dist/client/static/js/{DrawioView-gd6k3hvn.js → DrawioView-tmdevwf4.js} +2 -2
- package/dist/client/static/js/{HtmlPreview-6gnktzzp.js → HtmlPreview-bpsn2z9p.js} +1 -1
- package/dist/client/static/js/ImageView-ssazqckj.js +1 -0
- package/dist/client/static/js/LayoutWrapper-qwpfq4dq.js +2 -0
- package/dist/client/static/js/MergeDiffView-en6aazw8.js +1 -0
- package/dist/client/static/js/Modal-zjnhj9nb.js +60 -0
- package/dist/client/static/js/{PdfView-n1zq27td.js → PdfView-txxn6qff.js} +1 -1
- package/dist/client/static/js/SessionsView-eryjtmb2.js +1 -0
- package/dist/client/static/js/{SheetView-nes7j86v.js → SheetView-52b33e6f.js} +11 -11
- package/dist/client/static/js/{SvgPreview-vv0qzkt7.js → SvgPreview-hrk4pfm1.js} +1 -1
- package/dist/client/static/js/{abnfDiagram-O67JEVCF-02g96sn6.js → abnfDiagram-O67JEVCF-at77sybc.js} +1 -1
- package/dist/client/static/js/architecture-7GRP2DOG-v05ap4e3.js +1 -0
- package/dist/client/static/js/{architectureDiagram-NJMV4G6O-7qj2fpwt.js → architectureDiagram-NJMV4G6O-raw33jgg.js} +11 -11
- package/dist/client/static/js/{astro-asmathwv.js → astro-qha7sceh.js} +1 -1
- package/dist/client/static/js/bash-n5d0esqg.js +1 -0
- package/dist/client/static/js/{blockDiagram-BEXU5L5S-grdr1j2h.js → blockDiagram-BEXU5L5S-b6e90fbk.js} +7 -7
- package/dist/client/static/js/c-pk766wx0.js +1 -0
- package/dist/client/static/js/{c4Diagram-YGBWAQC7-7y980xpx.js → c4Diagram-YGBWAQC7-msg9y1c6.js} +2 -2
- package/dist/client/static/js/{classDiagram-v2-NBCMYWYE-29ag4js1.js → classDiagram-v2-NBCMYWYE-jmrd1h8r.js} +5 -5
- package/dist/client/static/js/{cose-bilkent-JH36ORCC-e5dvgehd.js → cose-bilkent-JH36ORCC-na65ebq3.js} +1 -1
- package/dist/client/static/js/cpp-3pt91jvm.js +1 -0
- package/dist/client/static/js/css-q2k6afe3.js +1 -0
- package/dist/client/static/js/css-sp1cgdbr.js +1 -0
- package/dist/client/static/js/cynefin-OW5HDTMX-sqv0ze38.js +1 -0
- package/dist/client/static/js/{cynefinDiagram-VND7K2PF-eq6fmx0b.js → cynefinDiagram-VND7K2PF-9xkkw71m.js} +2 -2
- package/dist/client/static/js/{dagre-6A5THRUB-xfhwp8ha.js → dagre-6A5THRUB-p59f19tv.js} +2 -2
- package/dist/client/static/js/{diagram-22UHCM2B-1bw6x6zt.js → diagram-22UHCM2B-2e2rcvn7.js} +14 -14
- package/dist/client/static/js/{diagram-3UASUU5V-076ej5n5.js → diagram-3UASUU5V-r9ds8vgr.js} +2 -2
- package/dist/client/static/js/{diagram-ATOU4E4O-cvf9fhdq.js → diagram-ATOU4E4O-jgwxv7v8.js} +3 -3
- package/dist/client/static/js/{diagram-CDSNMT55-hn1wdx54.js → diagram-CDSNMT55-20m35eqq.js} +5 -5
- package/dist/client/static/js/{diagram-MLGK6HIB-76gk27b5.js → diagram-MLGK6HIB-vt3kxt2m.js} +2 -2
- package/dist/client/static/js/{diagram-MPIPVDR6-0cbajhpx.js → diagram-MPIPVDR6-c47rgxf1.js} +2 -2
- package/dist/client/static/js/{dockerfile-7atfjhnf.js → dockerfile-gtcyey0q.js} +1 -1
- package/dist/client/static/js/{ebnfDiagram-ZINNZB2B-n0g3b9m2.js → ebnfDiagram-ZINNZB2B-aszw3xy3.js} +1 -1
- package/dist/client/static/js/{elixir-7q2k61zb.js → elixir-w92v180e.js} +1 -1
- package/dist/client/static/js/{elk-276RUBZZ-f6wrjcv9.js → elk-276RUBZZ-gbvr3gry.js} +1 -1
- package/dist/client/static/js/{erDiagram-OPXOYQCR-jz622yrg.js → erDiagram-OPXOYQCR-1hqca8qe.js} +5 -5
- package/dist/client/static/js/{erlang-tjsd7n4d.js → erlang-v7344938.js} +1 -1
- package/dist/client/static/js/eventmodeling-NTZA5JFV-t4dzf5s7.js +1 -0
- package/dist/client/static/js/flowDiagram-KWPJA3E3-c16xmjyv.js +1 -0
- package/dist/client/static/js/{ganttDiagram-FUAMR5RP-2ex4nxyg.js → ganttDiagram-FUAMR5RP-07v22te5.js} +4 -4
- package/dist/client/static/js/gitGraph-4MIJSDKK-0jq8y0qd.js +1 -0
- package/dist/client/static/js/{gitGraphDiagram-X574FWY7-38eyay6g.js → gitGraphDiagram-X574FWY7-y068jtz9.js} +18 -18
- package/dist/client/static/js/graphql-qx4tt6ze.js +1 -0
- package/dist/client/static/js/html-5e0g8664.js +1 -0
- package/dist/client/static/js/index-007sewcn.js +2 -0
- package/dist/client/static/js/{index-tksrpqkh.js → index-1e0rt7c6.js} +5 -5
- package/dist/client/static/js/index-1e710snk.js +1 -0
- package/dist/client/static/js/{index-8pqx5n2p.js → index-2s17netq.js} +2 -2
- package/dist/client/static/js/index-374xq5a4.js +1 -0
- package/dist/client/static/js/{index-j9y4tjk0.js → index-3m1dksmy.js} +2 -2
- package/dist/client/static/js/{index-668fc1df.js → index-3p732mvs.js} +2 -2
- package/dist/client/static/js/{index-3x88t8g9.js → index-3ymw778n.js} +2 -2
- package/dist/client/static/js/index-4ddgpqm0.css +1 -0
- package/dist/client/static/js/index-5g2j626a.js +1 -0
- package/dist/client/static/js/{index-rbkvw2xs.js → index-5hvt233n.js} +2 -2
- package/dist/client/static/js/{index-tdryzzy9.js → index-5xxbbzqa.js} +6 -6
- package/dist/client/static/js/{index-25zpywv7.js → index-6x0kn8pb.js} +2 -2
- package/dist/client/static/js/{index-e4yj4kbe.js → index-7sq6cjt1.js} +12 -12
- package/dist/client/static/js/{index-my856e49.js → index-7ynf3s2w.js} +2 -2
- package/dist/client/static/js/{index-q0k1am0g.js → index-80kx6dm6.js} +2 -2
- package/dist/client/static/js/index-8d8ce00v.js +2 -0
- package/dist/client/static/js/{index-63mk2qk6.js → index-94d416ee.js} +2 -2
- package/dist/client/static/js/{index-db7vsjkd.js → index-an7fq7f6.js} +1 -1
- package/dist/client/static/js/{index-zzggk17b.js → index-azz46nwc.js} +2 -2
- package/dist/client/static/js/index-c9aqx3ht.js +1 -0
- package/dist/client/static/js/index-cc7qbfvn.js +477 -0
- package/dist/client/static/js/{index-cwwg7k5f.js → index-cmjyet7w.js} +49 -49
- package/dist/client/static/js/{index-55v3qv04.js → index-cpp43af3.js} +22 -22
- package/dist/client/static/js/{index-jaxhfk9x.js → index-dxq1tbwm.js} +2 -2
- package/dist/client/static/js/index-e0kahttb.js +1 -0
- package/dist/client/static/js/index-e4nge3f4.js +1 -0
- package/dist/client/static/js/{index-wxs0x3g1.js → index-ewryzs4g.js} +2 -2
- package/dist/client/static/js/index-f27wvdky.js +4 -0
- package/dist/client/static/js/{index-zv8wrvha.js → index-f61c25vn.js} +3 -3
- package/dist/client/static/js/{index-g2e0m757.js → index-fe92hqmb.js} +8 -8
- package/dist/client/static/js/{index-nnqyew8n.js → index-fhtnvqgf.js} +2 -2
- package/dist/client/static/js/{index-ep99arz1.js → index-fv7nybnf.js} +2 -2
- package/dist/client/static/js/{index-396g4zz4.js → index-gaa39w5q.js} +2 -2
- package/dist/client/static/js/{index-xfnjwhan.js → index-gqrt766t.js} +91 -91
- package/dist/client/static/js/index-hb7a7m9m.js +1 -0
- package/dist/client/static/js/{index-zynbvm7x.js → index-j830qk07.js} +2 -2
- package/dist/client/static/js/{index-0prwdwyb.js → index-jxsha63v.js} +2 -2
- package/dist/client/static/js/{index-8444mec5.js → index-kzzvrqnv.js} +2 -2
- package/dist/client/static/js/{index-6z30g3ha.js → index-m5n0zsft.js} +2 -2
- package/dist/client/static/js/{index-1q934wfk.js → index-medk4f18.js} +2 -2
- package/dist/client/static/js/index-nptbz7sv.js +2 -0
- package/dist/client/static/js/index-qefssj0m.js +1 -0
- package/dist/client/static/js/{index-mpyd7qxj.js → index-r8d4bk86.js} +2 -2
- package/dist/client/static/js/{index-hge0y4vn.js → index-rqt8mem9.js} +2 -2
- package/dist/client/static/js/{index-y1j18rha.js → index-rxt8sf9a.js} +2 -2
- package/dist/client/static/js/index-s4dpkds5.js +2 -0
- package/dist/client/static/js/index-s9k82stc.js +2 -0
- package/dist/client/static/js/index-skwem10a.js +2 -0
- package/dist/client/static/js/{index-rsyqf691.js → index-sxag9ptg.js} +2 -2
- package/dist/client/static/js/{index-m6eh5g1q.js → index-tdg7hz80.js} +2 -2
- package/dist/client/static/js/{index-nt17ejrm.js → index-th61y26d.js} +2 -2
- package/dist/client/static/js/{index-ms80nne4.js → index-tq3t3qm4.js} +2 -2
- package/dist/client/static/js/index-tv9rn2nd.js +2 -0
- package/dist/client/static/js/{index-xtrsvm0d.js → index-v8xhgfeq.js} +2 -2
- package/dist/client/static/js/{index-60g0e74a.js → index-vny4ymjf.js} +1 -1
- package/dist/client/static/js/{index-4cff0zg2.js → index-vw8b29ek.js} +1 -1
- package/dist/client/static/js/{index-9gfn1a3h.js → index-wn28m9h7.js} +8 -8
- package/dist/client/static/js/index-wxqcnsrq.js +2 -0
- package/dist/client/static/js/index-xmg1x6zv.js +9 -0
- package/dist/client/static/js/{index-kt7c42n7.js → index-y0f3wbc3.js} +2 -2
- package/dist/client/static/js/{index-ewst55j2.js → index-zhgh7a31.js} +2 -2
- package/dist/client/static/js/index-zs7kw0be.js +4 -0
- package/dist/client/static/js/info-A6RAGUB7-szttx3v5.js +1 -0
- package/dist/client/static/js/{infoDiagram-VRGFBTTK-c55t0tvd.js → infoDiagram-VRGFBTTK-1x83h4k4.js} +2 -2
- package/dist/client/static/js/ini-bdk46a3d.js +1 -0
- package/dist/client/static/js/{ishikawaDiagram-OU5B5YK6-r9kg5kg5.js → ishikawaDiagram-OU5B5YK6-et6z3c28.js} +3 -3
- package/dist/client/static/js/java-3g3925cf.js +1 -0
- package/dist/client/static/js/javascript-av46zx4c.js +1 -0
- package/dist/client/static/js/{journeyDiagram-ZHPQQLJL-zmmst4v8.js → journeyDiagram-ZHPQQLJL-sw669e7a.js} +4 -4
- package/dist/client/static/js/json-hdyzmffz.js +1 -0
- package/dist/client/static/js/jsx-y8r9mrdq.js +1 -0
- package/dist/client/static/js/{julia-d18zhpyp.js → julia-z14p8jsx.js} +1 -1
- package/dist/client/static/js/{kanban-definition-PNTS6WVX-3tt6sc9a.js → kanban-definition-PNTS6WVX-aqxg95kx.js} +6 -6
- package/dist/client/static/js/lua-wf5k6p3r.js +1 -0
- package/dist/client/static/js/markdown-9bf16dx7.js +1 -0
- package/dist/client/static/js/{mermaid.core-pkrs8zp5.js → mermaid.core-6cgqsgcf.js} +8 -8
- package/dist/client/static/js/{mindmap-definition-NLK3R4M7-b4c6gxg4.js → mindmap-definition-NLK3R4M7-530anpc4.js} +7 -7
- package/dist/client/static/js/one-dark-pro-9hnhtkpr.js +1 -0
- package/dist/client/static/js/one-light-2n5y8592.js +1 -0
- package/dist/client/static/js/packet-AYTQ26CC-401149bv.js +1 -0
- package/dist/client/static/js/{pegDiagram-GJSIUBJH-9jkat1mz.js → pegDiagram-GJSIUBJH-5zar6hvy.js} +1 -1
- package/dist/client/static/js/{perl-sns2qvmf.js → perl-1na2x6yd.js} +1 -1
- package/dist/client/static/js/{php-3q6v9eey.js → php-x75tt7w3.js} +1 -1
- package/dist/client/static/js/pie-WAS4IAKB-bgfv8tfz.js +1 -0
- package/dist/client/static/js/{pieDiagram-5QR66LMP-6pbchjh7.js → pieDiagram-5QR66LMP-3bx8syvw.js} +2 -2
- package/dist/client/static/js/properties-xk4dn00p.js +1 -0
- package/dist/client/static/js/python-7sgz05n4.js +1 -0
- package/dist/client/static/js/{quadrantDiagram-O4NWA36T-p9brea19.js → quadrantDiagram-O4NWA36T-yaarpr2e.js} +6 -6
- package/dist/client/static/js/r-w4qxm0pv.js +1 -0
- package/dist/client/static/js/radar-RG4KPBEZ-pw720590.js +1 -0
- package/dist/client/static/js/railroad-74A4TZTK-n2a30ngs.js +1 -0
- package/dist/client/static/js/railroad-abnf-HS5TGJTU-rn5rx9qt.js +1 -0
- package/dist/client/static/js/railroad-ebnf-LZEXJU2U-t4yryhtd.js +1 -0
- package/dist/client/static/js/railroad-peg-WCYAUIDC-c4ebgvrr.js +1 -0
- package/dist/client/static/js/{railroadDiagram-XR7U4H2S-3cep8css.js → railroadDiagram-XR7U4H2S-ag41q4nt.js} +1 -1
- package/dist/client/static/js/{requirementDiagram-PLB6GJNP-x1yjgsrr.js → requirementDiagram-PLB6GJNP-g8sr48h4.js} +12 -12
- package/dist/client/static/js/{ruby-f9k99tfq.js → ruby-3h22qahv.js} +1 -1
- package/dist/client/static/js/{rust-yy8gekx8.js → rust-r27demr5.js} +1 -1
- package/dist/client/static/js/{sankeyDiagram-IPEJSGJF-23wzf4aj.js → sankeyDiagram-IPEJSGJF-t1wbd1hh.js} +4 -4
- package/dist/client/static/js/{sass-2syegq28.js → sass-8bq5r2tz.js} +1 -1
- package/dist/client/static/js/{scss-9wz47c6t.js → scss-c04ezwnn.js} +1 -1
- package/dist/client/static/js/{sequenceDiagram-PO4LG4MO-w4wr3zzr.js → sequenceDiagram-PO4LG4MO-407mjqty.js} +21 -21
- package/dist/client/static/js/{sizeCapture-INFHLROL-aabfesnr.js → sizeCapture-INFHLROL-w38zb9ky.js} +1 -1
- package/dist/client/static/js/{stateDiagram-v2-GCMORJYK-t0n288xw.js → stateDiagram-v2-GCMORJYK-4cvgymkc.js} +3 -3
- package/dist/client/static/js/{svelte-mm3jfpje.js → svelte-egg3x4tw.js} +1 -1
- package/dist/client/static/js/{swimlanes-2SLR337P-1nnm0p7h.js → swimlanes-2SLR337P-w7ts2rzw.js} +1 -1
- package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-v82nym6b.js +8 -0
- package/dist/client/static/js/{timeline-definition-EJHVYXUP-8pyssn0q.js → timeline-definition-EJHVYXUP-nq46nzy9.js} +7 -7
- package/dist/client/static/js/treeView-Q6P3EWNA-bxgt5yhm.js +1 -0
- package/dist/client/static/js/treemap-WGGIJYW6-hh3595m0.js +1 -0
- package/dist/client/static/js/tsx-h5yzg80q.js +1 -0
- package/dist/client/static/js/typescript-qy1sbhea.js +1 -0
- package/dist/client/static/js/{usecaseDiagram-POWQR4AR-vveepvt6.js → usecaseDiagram-POWQR4AR-q144snzb.js} +45 -45
- package/dist/client/static/js/{vennDiagram-UO4OBE2U-tqyvmqxc.js → vennDiagram-UO4OBE2U-2wemak2p.js} +8 -8
- package/dist/client/static/js/{vue-e8e3q3hj.js → vue-d7p4wv35.js} +1 -1
- package/dist/client/static/js/wardley-WFR3VGLG-6bza7h1b.js +1 -0
- package/dist/client/static/js/{wardleyDiagram-VNRHLVJA-p8rs34em.js → wardleyDiagram-VNRHLVJA-bb2qvvgr.js} +5 -5
- package/dist/client/static/js/xml-mrk4xakv.js +1 -0
- package/dist/client/static/js/{xychartDiagram-PMCCYNJV-pgnvxtps.js → xychartDiagram-PMCCYNJV-9dr05fdq.js} +6 -6
- package/dist/client/static/js/yaml-xaza6dra.js +1 -0
- package/package.json +6 -6
- package/src/client/bootstrap.d.ts +11 -0
- package/src/client/borders.css +3 -4
- package/src/client/components/auth/login-screen/index.tsx +1 -1
- package/src/client/components/common/ComposerPicker.tsx +1 -1
- package/src/client/components/common/CopyButton.tsx +1 -1
- package/src/client/components/common/FolderPicker.tsx +1 -1
- package/src/client/components/common/SubagentStatusIcon.tsx +2 -2
- package/src/client/components/common/ViewportSelector.tsx +2 -2
- package/src/client/components/common/anchored-menu/index.tsx +11 -4
- package/src/client/components/common/batch-selection/BatchActionBar.tsx +1 -1
- package/src/client/components/common/batch-selection/BatchDeleteModal.tsx +4 -4
- package/src/client/components/common/checkbox/style.ts +1 -1
- package/src/client/components/common/context-usage-button/McpSection.tsx +3 -2
- package/src/client/components/common/file-icon/index.tsx +3 -3
- package/src/client/components/common/harness-glyph/index.tsx +4 -3
- package/src/client/components/common/image-viewer/fullscreen.tsx +1 -1
- package/src/client/components/common/image-viewer/index.tsx +2 -2
- package/src/client/components/common/markdown-review/ReviewPopover.tsx +2 -2
- package/src/client/components/common/markdown-review/ReviewSummary.tsx +3 -3
- package/src/client/components/common/plugin-render-boundary/index.tsx +1 -1
- package/src/client/components/common/server-control/Panel.tsx +1 -1
- package/src/client/components/common/server-control/Row.tsx +3 -3
- package/src/client/components/common/session-actions-menu/MenuItem.tsx +2 -2
- package/src/client/components/common/session-branch/SubagentRow.tsx +1 -1
- package/src/client/components/common/session-delete-modal/index.tsx +4 -4
- package/src/client/components/common/session-row/StatusSlot.tsx +1 -1
- package/src/client/components/common/session-row/TrailingSlot.tsx +6 -2
- package/src/client/components/common/session-row/index.tsx +56 -2
- package/src/client/components/common/session-row/session-row.test.tsx +84 -3
- package/src/client/components/common/shell-update-button/Modal.tsx +1 -1
- package/src/client/components/common/todo-row/index.tsx +1 -1
- package/src/client/components/common/window-controls/index.tsx +1 -1
- package/src/client/components/common/workspace-options-menu/index.tsx +4 -4
- package/src/client/components/layout/session-sidebar/Toolbar.tsx +2 -2
- package/src/client/components/layout/session-sidebar/WorktreeBadge.tsx +1 -1
- package/src/client/components/layout/session-sidebar/about-modal/UpdateLogDialog.tsx +1 -1
- package/src/client/components/layout/session-sidebar/about-modal/UpdateSection.tsx +3 -3
- package/src/client/components/layout/session-sidebar/about-modal/index.tsx +1 -1
- package/src/client/components/layout/session-sidebar/modern/FilterChips.tsx +1 -1
- package/src/client/components/layout/session-sidebar/modern/WorkspaceHeader.tsx +24 -3
- package/src/client/components/layout/session-sidebar/modern/workspace-header.test.tsx +20 -0
- package/src/client/components/layout/session-sidebar/new-workspace-modal/DirectoryList.tsx +2 -2
- package/src/client/components/layout/session-sidebar/new-workspace-modal/index.tsx +1 -1
- package/src/client/components/layout/session-sidebar/scheduler-modal/ModelFields.tsx +1 -1
- package/src/client/components/layout/session-sidebar/scheduler-modal/TaskForm.tsx +1 -1
- package/src/client/components/layout/session-sidebar/scheduler-modal/TaskList.tsx +4 -4
- package/src/client/components/layout/session-sidebar/scheduler-modal/index.tsx +1 -1
- package/src/client/components/layout/update-popup/Actions.tsx +1 -1
- package/src/client/components/mobile/mobile-right-sidebar/Action.tsx +1 -1
- package/src/client/components/mobile/mobile-right-sidebar/Header.tsx +3 -3
- package/src/client/components/mobile/mobile-right-sidebar/MissingFileBanner.tsx +2 -2
- package/src/client/components/mobile/mobile-right-sidebar/PreviewScroller.tsx +2 -2
- package/src/client/components/mobile/mobile-right-sidebar/StatusBar.tsx +2 -2
- package/src/client/components/mobile/mobile-session-sidebar/Toolbar.tsx +3 -3
- package/src/client/components/settings/Modal.tsx +8 -3
- package/src/client/components/settings/SettingsSidebarList.tsx +2 -2
- package/src/client/components/settings/Sidebar.tsx +3 -3
- package/src/client/components/settings/apply-side-effects.test.ts +46 -0
- package/src/client/components/settings/apply-side-effects.ts +8 -0
- package/src/client/components/settings/categories/BehaviorSettings.tsx +1 -1
- package/src/client/components/settings/categories/OmpSettings.tsx +3 -3
- package/src/client/components/settings/categories/UsageSettings.tsx +3 -3
- package/src/client/components/settings/categories/agent-settings/DetailPane.tsx +5 -5
- package/src/client/components/settings/categories/appearance-settings/CustomThemeEditor.tsx +177 -0
- package/src/client/components/settings/categories/appearance-settings/CustomThemeSection.test.tsx +136 -0
- package/src/client/components/settings/categories/appearance-settings/CustomThemeSection.tsx +180 -0
- package/src/client/components/settings/categories/appearance-settings/ThemeCard.tsx +1 -1
- package/src/client/components/settings/categories/appearance-settings/ThemeGrid.tsx +6 -5
- package/src/client/components/settings/categories/appearance-settings/ThemePreview.tsx +106 -0
- package/src/client/components/settings/categories/appearance-settings/ThemeSection.tsx +7 -3
- package/src/client/components/settings/categories/behavior-settings/Editor.tsx +1 -1
- package/src/client/components/settings/categories/chat-settings/ToolRenderSection.tsx +1 -1
- package/src/client/components/settings/categories/command-settings/DetailPane.tsx +4 -4
- package/src/client/components/settings/categories/dictation-settings/ExternalSection.tsx +1 -1
- package/src/client/components/settings/categories/git-settings/CommitMessageSection.tsx +1 -1
- package/src/client/components/settings/categories/git-settings/IdentitySection.tsx +2 -2
- package/src/client/components/settings/categories/harness-settings/AccountLoginPanel.tsx +3 -3
- package/src/client/components/settings/categories/harness-settings/AccountsPanel.tsx +13 -83
- package/src/client/components/settings/categories/harness-settings/HarnessImportControls.tsx +1 -1
- package/src/client/components/settings/categories/mcp-settings/ConnectionTest.tsx +1 -1
- package/src/client/components/settings/categories/mcp-settings/DetailPane.tsx +5 -5
- package/src/client/components/settings/categories/mcp-settings/ImportModal.tsx +1 -1
- package/src/client/components/settings/categories/mcp-settings/KeyValueSection.tsx +1 -1
- package/src/client/components/settings/categories/mcp-settings/SidebarList.tsx +2 -2
- package/src/client/components/settings/categories/omp-settings/ConfigTabs.tsx +4 -4
- package/src/client/components/settings/categories/omp-settings/OrderedChips.tsx +1 -1
- package/src/client/components/settings/categories/omp-settings/PresetBar.tsx +3 -3
- package/src/client/components/settings/categories/omp-settings/RoleEditor.tsx +2 -2
- package/src/client/components/settings/categories/omp-settings/RowEditor.tsx +2 -2
- package/src/client/components/settings/categories/panel-plugins/GitFreshness.tsx +2 -2
- package/src/client/components/settings/categories/panel-plugins/InstallForm.tsx +3 -3
- package/src/client/components/settings/categories/panel-plugins/InstalledList.tsx +1 -1
- package/src/client/components/settings/categories/panel-plugins/Meta.tsx +1 -1
- package/src/client/components/settings/categories/panel-plugins/PluginCard.tsx +5 -5
- package/src/client/components/settings/categories/panel-plugins/ReadmeModal.tsx +1 -1
- package/src/client/components/settings/categories/panel-plugins/Registries.tsx +4 -4
- package/src/client/components/settings/categories/panel-plugins/Section.tsx +3 -3
- package/src/client/components/settings/categories/panel-plugins/SettingsModal.tsx +2 -2
- package/src/client/components/settings/categories/panel-plugins/SyncBlockedNotice.tsx +2 -2
- package/src/client/components/settings/categories/panel-plugins/Toolbar.tsx +1 -1
- package/src/client/components/settings/categories/plugin-settings/DetailPane.tsx +2 -2
- package/src/client/components/settings/categories/plugin-settings/MarketplacePane.tsx +4 -4
- package/src/client/components/settings/categories/plugin-settings/SettingsSection.tsx +1 -1
- package/src/client/components/settings/categories/plugin-settings/SidebarList.tsx +4 -4
- package/src/client/components/settings/categories/project-settings/AddProjectModal.tsx +1 -1
- package/src/client/components/settings/categories/project-settings/DeleteProjectModal.tsx +3 -3
- package/src/client/components/settings/categories/project-settings/DetailsHeader.tsx +1 -1
- package/src/client/components/settings/categories/project-settings/IconGrid.tsx +3 -3
- package/src/client/components/settings/categories/project-settings/SidebarList.tsx +1 -1
- package/src/client/components/settings/categories/project-settings/WorktreeSettings.tsx +2 -2
- package/src/client/components/settings/categories/provider-settings/AddModelModal.tsx +3 -3
- package/src/client/components/settings/categories/provider-settings/AddProviderModal.tsx +2 -2
- package/src/client/components/settings/categories/provider-settings/AuthSection.tsx +3 -3
- package/src/client/components/settings/categories/provider-settings/DeleteProviderModal.tsx +3 -3
- package/src/client/components/settings/categories/provider-settings/EntryAdvanced.tsx +1 -1
- package/src/client/components/settings/categories/provider-settings/EntryModal.tsx +2 -2
- package/src/client/components/settings/categories/provider-settings/LoginModal.tsx +2 -2
- package/src/client/components/settings/categories/provider-settings/LogoutProviderModal.tsx +3 -3
- package/src/client/components/settings/categories/provider-settings/ModelCapabilitiesModal.tsx +1 -1
- package/src/client/components/settings/categories/provider-settings/PriceFields.tsx +1 -1
- package/src/client/components/settings/categories/skill-catalog/GitImportPanel.tsx +1 -1
- package/src/client/components/settings/categories/skill-catalog/SkillCard.tsx +1 -1
- package/src/client/components/settings/categories/skill-catalog/SourceRail.tsx +1 -1
- package/src/client/components/settings/categories/skill-settings/DetailHeader.tsx +7 -7
- package/src/client/components/settings/categories/skill-settings/DetailPane.tsx +1 -1
- package/src/client/components/settings/categories/skill-settings/SidebarList.tsx +2 -2
- package/src/client/components/settings/categories/usage-settings/ProviderCard.tsx +1 -1
- package/src/client/components/settings/categories/usage-settings/SavedResetsSection.tsx +2 -2
- package/src/client/components/settings/categories/usage-settings/SidebarList.tsx +1 -1
- package/src/client/components/settings/categories/usage-settings/TokenHarborCard.tsx +1 -1
- package/src/client/components/settings/categories/voice-settings/speech/EndpointSection.tsx +2 -2
- package/src/client/components/settings/categories/voice-settings/speech/EngineSection.tsx +5 -5
- package/src/client/components/settings/categories/voice-settings/speech/ModelsSection.tsx +4 -4
- package/src/client/components/workspace/browser-panel/ActivityToasts.tsx +2 -2
- package/src/client/components/workspace/browser-panel/EngineNotice.tsx +1 -1
- package/src/client/components/workspace/browser-panel/index.tsx +2 -2
- package/src/client/components/workspace/browser-toolbar/clusters.tsx +2 -2
- package/src/client/components/workspace/btw-panel/Messages.tsx +2 -2
- package/src/client/components/workspace/btw-panel/TopicMenu.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/AiMessageFooterSheet.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/ChangedFilesSummary.tsx +7 -7
- package/src/client/components/workspace/chat-timeline/ChatOverlays.tsx +1 -0
- package/src/client/components/workspace/chat-timeline/ComposerDock.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/IrcNotice.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/MessageItem.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/NewChatModal.tsx +5 -0
- package/src/client/components/workspace/chat-timeline/OrchestrationNotice.tsx +81 -162
- package/src/client/components/workspace/chat-timeline/QueueList.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/SubagentControls.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/SystemNotice.tsx +12 -8
- package/src/client/components/workspace/chat-timeline/TaskResultContent.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/ThinkingSection.tsx +12 -4
- package/src/client/components/workspace/chat-timeline/TimelineBody.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/ToolCallingSection.tsx +1 -0
- package/src/client/components/workspace/chat-timeline/UndoConfirmModal.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/UserTurn.test.tsx +24 -6
- package/src/client/components/workspace/chat-timeline/UserTurn.tsx +17 -4
- package/src/client/components/workspace/chat-timeline/block-chrome.test.tsx +18 -2
- package/src/client/components/workspace/chat-timeline/chat-input/AccessDropdown.test.ts +66 -10
- package/src/client/components/workspace/chat-timeline/chat-input/AccessDropdown.tsx +103 -41
- package/src/client/components/workspace/chat-timeline/chat-input/AttachmentToolbar.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/chat-input/ComposerNotice.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/chat-input/ComposerRows.tsx +4 -2
- package/src/client/components/workspace/chat-timeline/chat-input/GoalBanner.tsx +11 -11
- package/src/client/components/workspace/chat-timeline/chat-input/GoalModal.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/chat-input/SessionModeDropdown.test.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/chat-input/SessionModeDropdown.tsx +54 -35
- package/src/client/components/workspace/chat-timeline/chat-input/ThinkingLevelDropdown.test.tsx +110 -0
- package/src/client/components/workspace/chat-timeline/chat-input/ThinkingLevelDropdown.tsx +51 -32
- package/src/client/components/workspace/chat-timeline/chat-input/Toolbar.test.ts +62 -0
- package/src/client/components/workspace/chat-timeline/chat-input/Toolbar.tsx +17 -5
- package/src/client/components/workspace/chat-timeline/chat-input/VoiceNotice.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/chat-input/access-capability.test.tsx +151 -0
- package/src/client/components/workspace/chat-timeline/chat-input/modes-props.ts +5 -0
- package/src/client/components/workspace/chat-timeline/chat-input/props.ts +3 -3
- package/src/client/components/workspace/chat-timeline/fork-preview.test.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/plan-review/index.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/target-picker/ParentSessionPicker.test.tsx +21 -5
- package/src/client/components/workspace/chat-timeline/target-picker/ParentSessionPicker.tsx +100 -71
- package/src/client/components/workspace/chat-timeline/target-picker/WorkspacePicker.test.tsx +9 -9
- package/src/client/components/workspace/chat-timeline/target-picker/WorkspacePicker.tsx +83 -66
- package/src/client/components/workspace/chat-timeline/target-picker/WorktreePicker.test.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/target-picker/WorktreePicker.tsx +38 -17
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FormAsk.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FormDialog.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/QuestionCard.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/SwipeDeck.tsx +7 -7
- package/src/client/components/workspace/chat-timeline/tool-renderers/extension-dialog/ApprovalBody.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/hashline-patch/index.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/AstEdit.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Bash.tsx +9 -9
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Debug.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Edit.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Eval.tsx +6 -6
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/FileMatches.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Github.tsx +7 -7
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Goal.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/GoalRecord.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Lsp.tsx +9 -9
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/ManageSkill.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Proc.tsx +8 -8
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Resolve.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/SecurityScan.tsx +6 -6
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/TaskResult.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Todo.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Wait.tsx +7 -7
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ArtifactChip.tsx +8 -4
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/DiffView.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/EnvelopeHeader.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ToolCardShell.tsx +4 -4
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ToolFactChips.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ToolRowActions.tsx +11 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/status-glyph.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Card.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Compact.tsx +11 -6
- package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Minimal.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Trace.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Tui.test.tsx +37 -9
- package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Tui.tsx +35 -23
- package/src/client/components/workspace/chat-timeline/tool-renderers/styles/parity.test.tsx +50 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/styles/props.ts +2 -0
- package/src/client/components/workspace/context-panel/RawJsonViewer.tsx +2 -2
- package/src/client/components/workspace/diff-panel/ConflictBanner.tsx +3 -3
- package/src/client/components/workspace/diff-panel/Toolbar.tsx +3 -3
- package/src/client/components/workspace/diff-panel/index.tsx +3 -3
- package/src/client/components/workspace/diff-panel/toolbar-git-actions.tsx +1 -1
- package/src/client/components/workspace/editor/ConflictStrip.tsx +2 -2
- package/src/client/components/workspace/editor/ExternalChangeStrip.tsx +2 -2
- package/src/client/components/workspace/editor/FilePane.tsx +6 -6
- package/src/client/components/workspace/editor/FindWidget.tsx +2 -2
- package/src/client/components/workspace/editor/GoToLineModal.tsx +1 -1
- package/src/client/components/workspace/editor/SaveAsModal.tsx +3 -3
- package/src/client/components/workspace/editor/SaveDeletedFileModal.tsx +2 -2
- package/src/client/components/workspace/editor/StatusBar.tsx +1 -1
- package/src/client/components/workspace/editor/Tabs.test.ts +3 -3
- package/src/client/components/workspace/editor/Tabs.tsx +6 -6
- package/src/client/components/workspace/editor/Toolbar.tsx +4 -4
- package/src/client/components/workspace/editor/toolbar-clusters.tsx +1 -1
- package/src/client/components/workspace/editor/viewers/DataGrid.tsx +1 -1
- package/src/client/components/workspace/editor/viewers/GridToolbar.tsx +2 -2
- package/src/client/components/workspace/editor/viewers/SheetView.tsx +2 -2
- package/src/client/components/workspace/editor/viewers/ViewerError.tsx +2 -2
- package/src/client/components/workspace/file-explorer/ArchiveModals.tsx +1 -1
- package/src/client/components/workspace/file-explorer/ContextMenu.tsx +3 -3
- package/src/client/components/workspace/file-explorer/Modals.tsx +3 -3
- package/src/client/components/workspace/file-explorer/RowLabel.test.tsx +2 -2
- package/src/client/components/workspace/git-panel/BranchToolbar.tsx +2 -2
- package/src/client/components/workspace/git-panel/ChangesList.tsx +3 -3
- package/src/client/components/workspace/git-panel/ConflictItem.tsx +3 -3
- package/src/client/components/workspace/git-panel/FileItem.tsx +1 -1
- package/src/client/components/workspace/git-panel/Modals.tsx +1 -1
- package/src/client/components/workspace/git-panel/OperationBar.tsx +4 -4
- package/src/client/components/workspace/git-panel/StashSection.tsx +1 -1
- package/src/client/components/workspace/git-panel/TreeItem.tsx +2 -2
- package/src/client/components/workspace/git-panel/branch-modal/BranchRow.tsx +2 -2
- package/src/client/components/workspace/git-panel/branch-modal/DeleteDialog.tsx +2 -2
- package/src/client/components/workspace/git-panel/branch-modal/index.tsx +2 -2
- package/src/client/components/workspace/model-dropdown/HarnessTabs.tsx +31 -76
- package/src/client/components/workspace/model-dropdown/Item.tsx +2 -2
- package/src/client/components/workspace/model-dropdown/Panel.tsx +15 -9
- package/src/client/components/workspace/model-dropdown/Section.tsx +1 -1
- package/src/client/components/workspace/model-dropdown/harness-tabs.test.tsx +12 -83
- package/src/client/components/workspace/model-dropdown/index.tsx +2 -2
- package/src/client/components/workspace/model-dropdown/picker-close.test.tsx +16 -2
- package/src/client/components/workspace/plan-panel/PageView.tsx +2 -2
- package/src/client/components/workspace/plan-panel/index.tsx +2 -2
- package/src/client/components/workspace/plugin-panel/Error.tsx +1 -1
- package/src/client/components/workspace/repo-picker/Modal.tsx +3 -3
- package/src/client/components/workspace/repo-picker/Row.tsx +5 -5
- package/src/client/components/workspace/search-panel/Body.tsx +2 -2
- package/src/client/components/workspace/terminal-panel/Header.tsx +3 -3
- package/src/client/components/workspace/terminal-panel/KeyBar.tsx +2 -2
- package/src/client/components/workspace/terminal-panel/QuickActions.tsx +1 -1
- package/src/client/components/workspace/terminal-panel/RealtimeTerminalView.tsx +1 -1
- package/src/client/components/workspace/terminal-panel/index.tsx +1 -1
- package/src/client/components/workspace/usage-panel/index.tsx +3 -3
- package/src/client/components/workspace/user-browser-panel/AddressBar.tsx +1 -1
- package/src/client/components/workspace/wiki-panel/PageView.tsx +2 -2
- package/src/client/components/workspace/wiki-panel/index.tsx +2 -2
- package/src/client/components/workspace/worktree-modal/index.tsx +1 -1
- package/src/client/data/settings/omp-schema.json +27 -7
- package/src/client/hooks/chat/timeline/access-ladder-wiring.test.ts +111 -0
- package/src/client/hooks/chat/timeline/access-ladder.test.ts +66 -0
- package/src/client/hooks/chat/timeline/access-ladder.ts +72 -0
- package/src/client/hooks/chat/timeline/access-mode.ts +11 -1
- package/src/client/hooks/chat/timeline/index.ts +4 -5
- package/src/client/hooks/chat/timeline/modes-contract.ts +10 -1
- package/src/client/hooks/chat/timeline/modes.ts +10 -2
- package/src/client/hooks/chat/timeline/session-harness.ts +2 -1
- package/src/client/hooks/editor/use-unload-guard.tsx +2 -2
- package/src/client/hooks/models/use-harness-accounts-panel.ts +142 -0
- package/src/client/hooks/ui/border-style.test.ts +1 -2
- package/src/client/hooks/ui/theme.ts +23 -2
- package/src/client/main.tsx +7 -1
- package/src/client/tailwind-contrast.test.ts +22 -7
- package/src/client/tailwind.css +115 -18
- package/src/server/lib/assets/theme-css.server.test.ts +31 -1
- package/src/server/lib/assets/theme-css.server.ts +15 -1
- package/src/server/lib/harness/accounts.test.ts +5 -3
- package/src/server/lib/harness/acp/acp-todos.test.ts +23 -0
- package/src/server/lib/omp/session/delete.server.ts +4 -0
- package/src/server/lib/realtime/topics/session-data.server.ts +64 -1
- package/src/server/lib/realtime/topics/session-data.test.ts +189 -0
- package/src/server/lib/tray/runtime.server.ts +5 -0
- package/src/server/plugins/ssr.ts +16 -4
- package/src/server/routes/settings/root.ts +11 -0
- package/src/server/routes/settings/settings-store-routes.test.ts +37 -0
- package/src/shared/lib/chat/orchestration/outcome-markdown.test.ts +57 -0
- package/src/shared/lib/chat/orchestration/outcome-markdown.ts +74 -0
- package/src/shared/lib/chat/timeline/block-chrome.ts +2 -2
- package/src/shared/lib/chat/todo/flat-list.test.ts +81 -0
- package/src/shared/lib/chat/todo/flat-list.ts +29 -0
- package/src/shared/lib/chat/todo/parser.ts +7 -53
- package/src/shared/lib/chat/todo/progress.test.ts +3 -3
- package/src/shared/lib/chat/todo/progress.ts +3 -3
- package/src/shared/lib/fs/git-status.test.ts +22 -22
- package/src/shared/lib/fs/git-status.ts +31 -31
- package/src/shared/lib/icons/icon-paint-authority.ts +5 -4
- package/src/shared/lib/omp/config/schema-releases-19-4.test.ts +20 -3
- package/src/shared/lib/settings/defaults.ts +1 -0
- package/src/shared/lib/theme/catalog.test.ts +42 -0
- package/src/shared/lib/theme/catalog.ts +66 -11
- package/src/shared/lib/theme/css.ts +25 -1
- package/src/shared/lib/theme/custom.test.ts +156 -0
- package/src/shared/lib/theme/custom.ts +260 -0
- package/src/shared/lib/theme/ink-scale.test.ts +83 -2
- package/src/shared/lib/theme/ink-scale.ts +74 -9
- package/src/shared/lib/theme/shell-palette.ts +3 -3
- package/src/shared/lib/theme/theme.test.ts +28 -13
- package/src/shared/types/settings/state.ts +11 -3
- package/tsconfig.json +6 -0
- package/dist/client/static/js/Body-p6zwk0nx.js +0 -3
- package/dist/client/static/js/ImageView-fkfq3fwv.js +0 -1
- package/dist/client/static/js/LayoutWrapper-mdb1qm26.js +0 -2
- package/dist/client/static/js/MergeDiffView-7kpjxcg9.js +0 -1
- package/dist/client/static/js/Modal-0p9cr2tn.js +0 -60
- package/dist/client/static/js/SessionsView-gptt0rq8.js +0 -1
- package/dist/client/static/js/architecture-7GRP2DOG-3hkq8grc.js +0 -1
- package/dist/client/static/js/bash-n7wcmq3s.js +0 -1
- package/dist/client/static/js/c-20y64hcp.js +0 -1
- package/dist/client/static/js/cpp-ty6n0dg9.js +0 -1
- package/dist/client/static/js/css-9gak6bze.js +0 -1
- package/dist/client/static/js/css-ncvxaxt0.js +0 -1
- package/dist/client/static/js/cynefin-OW5HDTMX-9m18e6m5.js +0 -1
- package/dist/client/static/js/eventmodeling-NTZA5JFV-d4egnv9v.js +0 -1
- package/dist/client/static/js/flowDiagram-KWPJA3E3-5bvd5k2t.js +0 -1
- package/dist/client/static/js/gitGraph-4MIJSDKK-grqv890n.js +0 -1
- package/dist/client/static/js/graphql-6rwdfcnf.js +0 -1
- package/dist/client/static/js/html-p76eszt9.js +0 -1
- package/dist/client/static/js/index-28wv94gz.js +0 -2
- package/dist/client/static/js/index-3wgjtp2k.js +0 -9
- package/dist/client/static/js/index-7trfm17d.js +0 -2
- package/dist/client/static/js/index-ays8t3t3.js +0 -4
- package/dist/client/static/js/index-cxe75e06.js +0 -2
- package/dist/client/static/js/index-dmb1pykr.js +0 -1
- package/dist/client/static/js/index-fqc1snjw.js +0 -1
- package/dist/client/static/js/index-jsn2kedv.js +0 -1
- package/dist/client/static/js/index-n1xmkf2g.js +0 -2
- package/dist/client/static/js/index-pe4d9wht.js +0 -1
- package/dist/client/static/js/index-pjf5wak8.js +0 -2
- package/dist/client/static/js/index-sm8gpk3g.js +0 -4
- package/dist/client/static/js/index-st6a8q5z.js +0 -470
- package/dist/client/static/js/index-stmwbavz.js +0 -1
- package/dist/client/static/js/index-swaveqxg.css +0 -1
- package/dist/client/static/js/index-t82q5t6m.js +0 -1
- package/dist/client/static/js/index-t9zjfxvc.js +0 -1
- package/dist/client/static/js/index-tdbcp70z.js +0 -2
- package/dist/client/static/js/index-v38j2zxn.js +0 -2
- package/dist/client/static/js/index-x17y7xdr.js +0 -2
- package/dist/client/static/js/index-xrb4kjr3.js +0 -1
- package/dist/client/static/js/info-A6RAGUB7-rzpg7qk1.js +0 -1
- package/dist/client/static/js/ini-kjcpgebh.js +0 -1
- package/dist/client/static/js/java-0bcyv1jt.js +0 -1
- package/dist/client/static/js/javascript-0mqgcvps.js +0 -1
- package/dist/client/static/js/json-xha2drny.js +0 -1
- package/dist/client/static/js/jsx-8p6dqgpq.js +0 -1
- package/dist/client/static/js/lua-njwwdj4s.js +0 -1
- package/dist/client/static/js/markdown-8gbyxxjd.js +0 -1
- package/dist/client/static/js/one-dark-pro-sstqnzcf.js +0 -1
- package/dist/client/static/js/one-light-6fpxxq2j.js +0 -1
- package/dist/client/static/js/packet-AYTQ26CC-eac14hsq.js +0 -1
- package/dist/client/static/js/pie-WAS4IAKB-a9xqvysf.js +0 -1
- package/dist/client/static/js/properties-d5bwhgwz.js +0 -1
- package/dist/client/static/js/python-fdwwjjhh.js +0 -1
- package/dist/client/static/js/r-4d2ygtfj.js +0 -1
- package/dist/client/static/js/radar-RG4KPBEZ-jv2pm0fe.js +0 -1
- package/dist/client/static/js/railroad-74A4TZTK-j74sc0b6.js +0 -1
- package/dist/client/static/js/railroad-abnf-HS5TGJTU-eaf19baz.js +0 -1
- package/dist/client/static/js/railroad-ebnf-LZEXJU2U-d4j5nq31.js +0 -1
- package/dist/client/static/js/railroad-peg-WCYAUIDC-ba862a9p.js +0 -1
- package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-cx3f29mq.js +0 -8
- package/dist/client/static/js/treeView-Q6P3EWNA-e8yb44pd.js +0 -1
- package/dist/client/static/js/treemap-WGGIJYW6-zvdv84vp.js +0 -1
- package/dist/client/static/js/tsx-dk8rpgtw.js +0 -1
- package/dist/client/static/js/typescript-5txwpd9t.js +0 -1
- package/dist/client/static/js/wardley-WFR3VGLG-hbv0cg4s.js +0 -1
- package/dist/client/static/js/xml-8516fzfp.js +0 -1
- package/dist/client/static/js/yaml-6k1tmwtm.js +0 -1
|
@@ -79,7 +79,7 @@ function ModePreview({ mode }: { mode: ToolRenderMode }) {
|
|
|
79
79
|
<div aria-hidden className="space-y-1 px-1 py-1">
|
|
80
80
|
{[0, 1].map((row) => (
|
|
81
81
|
<div key={row} className="flex items-baseline gap-1">
|
|
82
|
-
<span className="text-[6px] text-success">✔</span>
|
|
82
|
+
<span className="text-[6px] text-success-text">✔</span>
|
|
83
83
|
<span className="h-1 w-3 rounded-full bg-info/70" />
|
|
84
84
|
<span className="h-1 w-6 rounded-full bg-meta/70" />
|
|
85
85
|
<span className="ml-auto h-1 w-2 rounded-full bg-ink/25" />
|
|
@@ -273,10 +273,10 @@ export const CommandDetailPane: FunctionComponent<CommandDetailPaneProps> = ({
|
|
|
273
273
|
</div>
|
|
274
274
|
|
|
275
275
|
{feedback.error && (
|
|
276
|
-
<div className="flex items-start gap-1.5 rounded-lg border border-error/30 bg-error/5 px-3 py-2 text-[11px] text-error">
|
|
276
|
+
<div className="flex items-start gap-1.5 rounded-lg border border-error/30 bg-error/5 px-3 py-2 text-[11px] text-error-text">
|
|
277
277
|
<AlertCircle className="mt-px h-3.5 w-3.5 flex-shrink-0" />
|
|
278
278
|
<span className="flex-1 break-words">{feedback.error}</span>
|
|
279
|
-
<button type="button" onClick={feedback.dismissError} className="cursor-pointer text-error
|
|
279
|
+
<button type="button" onClick={feedback.dismissError} className="cursor-pointer text-error-text hover:text-error-text" aria-label="Dismiss error">
|
|
280
280
|
×
|
|
281
281
|
</button>
|
|
282
282
|
</div>
|
|
@@ -293,7 +293,7 @@ export const CommandDetailPane: FunctionComponent<CommandDetailPaneProps> = ({
|
|
|
293
293
|
type="button"
|
|
294
294
|
onClick={handleDelete}
|
|
295
295
|
disabled={feedback.saving}
|
|
296
|
-
className="px-2.5 py-1 rounded-lg border border-error/40 text-error text-xs font-medium hover:bg-error/10 transition-colors cursor-pointer disabled:opacity-50"
|
|
296
|
+
className="px-2.5 py-1 rounded-lg border border-error/40 text-error-text text-xs font-medium hover:bg-error/10 transition-colors cursor-pointer disabled:opacity-50"
|
|
297
297
|
>
|
|
298
298
|
Delete
|
|
299
299
|
</button>
|
|
@@ -309,7 +309,7 @@ export const CommandDetailPane: FunctionComponent<CommandDetailPaneProps> = ({
|
|
|
309
309
|
<button
|
|
310
310
|
type="button"
|
|
311
311
|
onClick={() => setConfirmDelete(true)}
|
|
312
|
-
className="flex items-center gap-1.5 px-3.5 py-2 rounded-lg border border-ink/20 hover:border-error hover:text-error text-ink/70 text-xs font-medium transition-colors cursor-pointer"
|
|
312
|
+
className="flex items-center gap-1.5 px-3.5 py-2 rounded-lg border border-ink/20 hover:border-error hover:text-error-text text-ink/70 text-xs font-medium transition-colors cursor-pointer"
|
|
313
313
|
>
|
|
314
314
|
<Trash2 className="w-3.5 h-3.5" />
|
|
315
315
|
Delete Command
|
|
@@ -124,7 +124,7 @@ export function ExternalSection({
|
|
|
124
124
|
className={INPUT_CLASS}
|
|
125
125
|
/>
|
|
126
126
|
</label>
|
|
127
|
-
{baseUrlError && <p className="text-[11px] text-error">{baseUrlError}</p>}
|
|
127
|
+
{baseUrlError && <p className="text-[11px] text-error-text">{baseUrlError}</p>}
|
|
128
128
|
</div>
|
|
129
129
|
)}
|
|
130
130
|
|
|
@@ -265,7 +265,7 @@ export function CommitMessageSection({ settings, onUpdate }: CommitMessageSectio
|
|
|
265
265
|
/>
|
|
266
266
|
|
|
267
267
|
{!promptValidation.ok && (
|
|
268
|
-
<p className="text-[10px] text-error">{promptValidation.error}</p>
|
|
268
|
+
<p className="text-[10px] text-error-text">{promptValidation.error}</p>
|
|
269
269
|
)}
|
|
270
270
|
|
|
271
271
|
<div className="flex flex-wrap items-center justify-between gap-2">
|
|
@@ -160,7 +160,7 @@ export function IdentitySection({ settings, onUpdate }: IdentitySectionProps) {
|
|
|
160
160
|
type="button"
|
|
161
161
|
onClick={() => void remove(identity.id)}
|
|
162
162
|
aria-label={`Remove ${identity.name}`}
|
|
163
|
-
className="p-1.5 rounded text-ink/40 hover:text-error hover:bg-ink/5 transition-colors cursor-pointer"
|
|
163
|
+
className="p-1.5 rounded text-ink/40 hover:text-error-text hover:bg-ink/5 transition-colors cursor-pointer"
|
|
164
164
|
>
|
|
165
165
|
<Trash2 size={12} />
|
|
166
166
|
</button>
|
|
@@ -170,7 +170,7 @@ export function IdentitySection({ settings, onUpdate }: IdentitySectionProps) {
|
|
|
170
170
|
</details>
|
|
171
171
|
)}
|
|
172
172
|
|
|
173
|
-
{error && <p className="text-[10px] text-error">{error}</p>}
|
|
173
|
+
{error && <p className="text-[10px] text-error-text">{error}</p>}
|
|
174
174
|
|
|
175
175
|
<div className="rounded-lg border border-ink/15 bg-paper p-3.5 space-y-3">
|
|
176
176
|
<div className="grid grid-cols-1 sm:grid-cols-2 gap-2">
|
|
@@ -149,7 +149,7 @@ export function AccountLoginPanel({ accountId, onFinished, onClose }: AccountLog
|
|
|
149
149
|
href={view.url}
|
|
150
150
|
target="_blank"
|
|
151
151
|
rel="noreferrer"
|
|
152
|
-
className="min-w-0 flex-1 break-all font-mono text-[10px] leading-relaxed text-info underline underline-offset-2"
|
|
152
|
+
className="min-w-0 flex-1 break-all font-mono text-[10px] leading-relaxed text-info-text underline underline-offset-2"
|
|
153
153
|
>
|
|
154
154
|
{view.url}
|
|
155
155
|
</a>
|
|
@@ -206,7 +206,7 @@ export function AccountLoginPanel({ accountId, onFinished, onClose }: AccountLog
|
|
|
206
206
|
)}
|
|
207
207
|
|
|
208
208
|
{view?.phase === 'error' && (
|
|
209
|
-
<div className="flex flex-wrap items-center justify-between gap-2 rounded border border-error/30 bg-error/5 px-2 py-1.5 text-[10px] text-error">
|
|
209
|
+
<div className="flex flex-wrap items-center justify-between gap-2 rounded border border-error/30 bg-error/5 px-2 py-1.5 text-[10px] text-error-text">
|
|
210
210
|
<span>{view.error ?? 'The sign-in command failed.'}</span>
|
|
211
211
|
<button
|
|
212
212
|
type="button"
|
|
@@ -217,7 +217,7 @@ export function AccountLoginPanel({ accountId, onFinished, onClose }: AccountLog
|
|
|
217
217
|
</button>
|
|
218
218
|
</div>
|
|
219
219
|
)}
|
|
220
|
-
{problem && <p className="text-[10px] text-error">{problem}</p>}
|
|
220
|
+
{problem && <p className="text-[10px] text-error-text">{problem}</p>}
|
|
221
221
|
</div>
|
|
222
222
|
</div>
|
|
223
223
|
);
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
* command, and Verify reads the CLI's own token. Kabmo never stores it.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { useState } from 'preact/hooks';
|
|
19
18
|
import { Check, Loader2, ShieldCheck, ShieldOff, Trash2, X } from 'lucide-preact';
|
|
20
19
|
import { CopyButton } from '@/client/components/common/CopyButton';
|
|
21
20
|
import { AccountLoginPanel } from '@/client/components/settings/categories/harness-settings/AccountLoginPanel';
|
|
22
21
|
import { AddAccountForm } from '@/client/components/settings/categories/harness-settings/AddAccountForm';
|
|
23
22
|
import type { AccountMutationResult } from '@/client/hooks/models/harness-accounts';
|
|
23
|
+
import { useHarnessAccountsPanel } from '@/client/hooks/models/use-harness-accounts-panel';
|
|
24
24
|
import type { HarnessAccountView } from '@kabmo-labs/kabmo-harness/accounts';
|
|
25
25
|
|
|
26
26
|
export interface AccountsPanelProps {
|
|
@@ -41,84 +41,12 @@ const BUTTON =
|
|
|
41
41
|
export function HarnessAccountsPanel({
|
|
42
42
|
harness, accounts, selectedId, onCreate, onSelect, onRename, onRemove, onVerify, onProbe,
|
|
43
43
|
}: AccountsPanelProps) {
|
|
44
|
-
const
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
const [draft, setDraft] = useState('');
|
|
51
|
-
const [confirmRemove, setConfirmRemove] = useState<string | null>(null);
|
|
52
|
-
const [loginId, setLoginId] = useState<string | null>(null);
|
|
53
|
-
|
|
54
|
-
/** One place folds a refusal or a success into the panel's visible state. */
|
|
55
|
-
const run = async (key: string, action: () => Promise<AccountMutationResult>) => {
|
|
56
|
-
setBusy(key);
|
|
57
|
-
setProblem(null);
|
|
58
|
-
setNotice(null);
|
|
59
|
-
try {
|
|
60
|
-
const result = await action();
|
|
61
|
-
setProblem(result.error);
|
|
62
|
-
if (!result.error && result.createdId) setExpanded(result.createdId);
|
|
63
|
-
if (!result.error && result.detail && result.signedIn !== false) setNotice(result.detail);
|
|
64
|
-
return result;
|
|
65
|
-
} finally {
|
|
66
|
-
setBusy(null);
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
const add = async () => {
|
|
71
|
-
if (busy) return;
|
|
72
|
-
const result = await run('create', () => onCreate(label));
|
|
73
|
-
if (!result.error) setLabel('');
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
const verify = async (account: HarnessAccountView) => {
|
|
77
|
-
const result = await run(`verify:${account.id}`, () => onVerify(account.id));
|
|
78
|
-
if (!result.error && result.signedIn === false) setExpanded(account.id);
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
/** Probe after a switch, so "Use" leaves the account ready to chat. */
|
|
82
|
-
const probeNow = async (key: string): Promise<void> => {
|
|
83
|
-
if (!onProbe) return;
|
|
84
|
-
setBusy(key);
|
|
85
|
-
try {
|
|
86
|
-
const failure = await onProbe();
|
|
87
|
-
if (failure) setProblem(`The account is active, but the agent check failed: ${failure}`);
|
|
88
|
-
} finally {
|
|
89
|
-
setBusy(null);
|
|
90
|
-
}
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
/** Select the account, and open its sign-in terminal if it has no login yet. */
|
|
94
|
-
const useAccount = async (account: HarnessAccountView) => {
|
|
95
|
-
const result = await run(`select:${account.id}`, () => onSelect(account.id));
|
|
96
|
-
if (result.error) return;
|
|
97
|
-
if (!account.signedIn) {
|
|
98
|
-
setLoginId(account.id);
|
|
99
|
-
return;
|
|
100
|
-
}
|
|
101
|
-
await probeNow(`probe:${account.id}`);
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
const useSystemDefault = async () => {
|
|
105
|
-
const result = await run('select:default', () => onSelect(null));
|
|
106
|
-
if (!result.error) await probeNow('probe:default');
|
|
107
|
-
};
|
|
108
|
-
|
|
109
|
-
/** The PTY exits when the sign-in command returns; Verify reads its result. */
|
|
110
|
-
const finishSignIn = async (account: HarnessAccountView) => {
|
|
111
|
-
setLoginId(null);
|
|
112
|
-
const result = await run(`verify:${account.id}`, () => onVerify(account.id));
|
|
113
|
-
if (!result.error && result.signedIn === false) setExpanded(account.id);
|
|
114
|
-
if (!result.error && result.signedIn) await probeNow(`probe:${account.id}`);
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
const saveName = async (id: string) => {
|
|
118
|
-
if (busy) return;
|
|
119
|
-
const result = await run(`rename:${id}`, () => onRename(id, draft));
|
|
120
|
-
if (!result.error) setEditing(null);
|
|
121
|
-
};
|
|
44
|
+
const {
|
|
45
|
+
label, setLabel, busy, problem, setProblem, notice, setNotice,
|
|
46
|
+
expanded, editing, setEditing, draft, setDraft,
|
|
47
|
+
confirmRemove, setConfirmRemove, loginId, setLoginId,
|
|
48
|
+
run, add, verify, useAccount, useSystemDefault, finishSignIn, saveName,
|
|
49
|
+
} = useHarnessAccountsPanel({ onCreate, onSelect, onRename, onVerify, onProbe });
|
|
122
50
|
|
|
123
51
|
return (
|
|
124
52
|
<section className="mt-3 space-y-3 border-t border-ink/10 pt-3" aria-label="Saved accounts">
|
|
@@ -133,7 +61,7 @@ export function HarnessAccountsPanel({
|
|
|
133
61
|
</div>
|
|
134
62
|
|
|
135
63
|
{problem && (
|
|
136
|
-
<div className="flex items-start justify-between gap-2 rounded-lg border border-error/30 bg-error/5 px-2.5 py-2 text-[11px] text-error" role="alert">
|
|
64
|
+
<div className="flex items-start justify-between gap-2 rounded-lg border border-error/30 bg-error/5 px-2.5 py-2 text-[11px] text-error-text" role="alert">
|
|
137
65
|
<span>{problem}</span>
|
|
138
66
|
<button type="button" onClick={() => setProblem(null)} className="cursor-pointer" aria-label="Dismiss">
|
|
139
67
|
<X size={12} />
|
|
@@ -142,7 +70,7 @@ export function HarnessAccountsPanel({
|
|
|
142
70
|
)}
|
|
143
71
|
{notice && !problem && (
|
|
144
72
|
<div className="flex items-start justify-between gap-2 rounded-lg border border-ink/10 bg-ink/[0.02] px-2.5 py-2 text-[11px] text-ink/65" role="status">
|
|
145
|
-
<span className="inline-flex items-center gap-1.5"><Check size={11} className="text-success" /> {notice}</span>
|
|
73
|
+
<span className="inline-flex items-center gap-1.5"><Check size={11} className="text-success-text" /> {notice}</span>
|
|
146
74
|
<button type="button" onClick={() => setNotice(null)} className="cursor-pointer" aria-label="Dismiss">
|
|
147
75
|
<X size={12} />
|
|
148
76
|
</button>
|
|
@@ -280,7 +208,7 @@ export function HarnessAccountsPanel({
|
|
|
280
208
|
type="button"
|
|
281
209
|
disabled={busy !== null}
|
|
282
210
|
onClick={() => void run(`remove:${account.id}`, () => onRemove(account.id))}
|
|
283
|
-
className={`${BUTTON} border-error/40 text-error`}
|
|
211
|
+
className={`${BUTTON} border-error/40 text-error-text`}
|
|
284
212
|
>
|
|
285
213
|
Remove home
|
|
286
214
|
</button>
|
|
@@ -328,7 +256,9 @@ export function HarnessAccountsPanel({
|
|
|
328
256
|
</code>
|
|
329
257
|
{!account.signedIn && (
|
|
330
258
|
<p className="mt-1 text-[10px] leading-relaxed text-muted">
|
|
331
|
-
|
|
259
|
+
Kabmo runs this command for you: press Sign in (or Use and sign in), finish the browser
|
|
260
|
+
step in the panel, and the account is verified automatically. Running the line in your
|
|
261
|
+
own terminal also works, then press Verify.
|
|
332
262
|
</p>
|
|
333
263
|
)}
|
|
334
264
|
</div>
|
package/src/client/components/settings/categories/harness-settings/HarnessImportControls.tsx
CHANGED
|
@@ -136,7 +136,7 @@ export function HarnessImportControls({
|
|
|
136
136
|
</button>
|
|
137
137
|
)}
|
|
138
138
|
{note && (
|
|
139
|
-
<span className={`text-[11px] ${note.problem ? 'text-error' : 'text-ink/55'}`}>{note.text}</span>
|
|
139
|
+
<span className={`text-[11px] ${note.problem ? 'text-error-text' : 'text-ink/55'}`}>{note.text}</span>
|
|
140
140
|
)}
|
|
141
141
|
</div>
|
|
142
142
|
);
|
|
@@ -76,7 +76,7 @@ export function ConnectionTest({ server }: ConnectionTestProps) {
|
|
|
76
76
|
</span>
|
|
77
77
|
) : (
|
|
78
78
|
<span
|
|
79
|
-
className="flex items-center gap-1 text-xs text-error font-medium min-w-0"
|
|
79
|
+
className="flex items-center gap-1 text-xs text-error-text font-medium min-w-0"
|
|
80
80
|
title={result.error ?? 'Connection failed'}
|
|
81
81
|
>
|
|
82
82
|
<AlertCircle className="w-3.5 h-3.5 shrink-0" />
|
|
@@ -215,16 +215,16 @@ export const McpDetailPane: FunctionComponent<McpDetailPaneProps> = ({
|
|
|
215
215
|
/>
|
|
216
216
|
|
|
217
217
|
{validationError && (
|
|
218
|
-
<div className="rounded-lg border border-error/30 bg-error/5 px-3 py-2 text-[11px] text-error">
|
|
218
|
+
<div className="rounded-lg border border-error/30 bg-error/5 px-3 py-2 text-[11px] text-error-text">
|
|
219
219
|
{validationError}
|
|
220
220
|
</div>
|
|
221
221
|
)}
|
|
222
222
|
|
|
223
223
|
{feedback.error && (
|
|
224
|
-
<div className="flex items-start gap-1.5 rounded-lg border border-error/30 bg-error/5 px-3 py-2 text-[11px] text-error">
|
|
224
|
+
<div className="flex items-start gap-1.5 rounded-lg border border-error/30 bg-error/5 px-3 py-2 text-[11px] text-error-text">
|
|
225
225
|
<AlertCircle className="mt-px h-3.5 w-3.5 flex-shrink-0" />
|
|
226
226
|
<span className="flex-1 break-words">{feedback.error}</span>
|
|
227
|
-
<button type="button" onClick={feedback.dismissError} className="cursor-pointer text-error
|
|
227
|
+
<button type="button" onClick={feedback.dismissError} className="cursor-pointer text-error-text hover:text-error-text" aria-label="Dismiss error">
|
|
228
228
|
×
|
|
229
229
|
</button>
|
|
230
230
|
</div>
|
|
@@ -241,7 +241,7 @@ export const McpDetailPane: FunctionComponent<McpDetailPaneProps> = ({
|
|
|
241
241
|
type="button"
|
|
242
242
|
onClick={handleDelete}
|
|
243
243
|
disabled={feedback.saving}
|
|
244
|
-
className="px-2.5 py-1 rounded-lg border border-error/40 text-error text-xs font-medium hover:bg-error/10 transition-colors cursor-pointer disabled:opacity-50"
|
|
244
|
+
className="px-2.5 py-1 rounded-lg border border-error/40 text-error-text text-xs font-medium hover:bg-error/10 transition-colors cursor-pointer disabled:opacity-50"
|
|
245
245
|
>
|
|
246
246
|
Delete
|
|
247
247
|
</button>
|
|
@@ -257,7 +257,7 @@ export const McpDetailPane: FunctionComponent<McpDetailPaneProps> = ({
|
|
|
257
257
|
<button
|
|
258
258
|
type="button"
|
|
259
259
|
onClick={() => setConfirmDelete(true)}
|
|
260
|
-
className="flex items-center gap-1.5 px-3.5 py-2 rounded-lg border border-ink/20 hover:border-error hover:text-error text-ink/70 text-xs font-medium transition-colors cursor-pointer"
|
|
260
|
+
className="flex items-center gap-1.5 px-3.5 py-2 rounded-lg border border-ink/20 hover:border-error hover:text-error-text text-ink/70 text-xs font-medium transition-colors cursor-pointer"
|
|
261
261
|
>
|
|
262
262
|
<Trash2 className="w-3.5 h-3.5" />
|
|
263
263
|
Delete
|
|
@@ -92,7 +92,7 @@ export const McpImportModal: FunctionComponent<McpImportModalProps> = ({
|
|
|
92
92
|
/>
|
|
93
93
|
|
|
94
94
|
{error && (
|
|
95
|
-
<div className="flex items-center gap-2 text-xs text-error p-2.5 rounded-lg bg-error/10 border border-error/20">
|
|
95
|
+
<div className="flex items-center gap-2 text-xs text-error-text p-2.5 rounded-lg bg-error/10 border border-error/20">
|
|
96
96
|
<AlertCircle className="w-4 h-4 flex-shrink-0" />
|
|
97
97
|
<span className="font-medium">{error}</span>
|
|
98
98
|
</div>
|
|
@@ -88,7 +88,7 @@ export function McpKeyValueSection({
|
|
|
88
88
|
onClick={() => onRemove(row.id)}
|
|
89
89
|
aria-label={`Remove ${row.key || 'the entry'}`}
|
|
90
90
|
title="Remove"
|
|
91
|
-
className="p-1.5 text-ink/40 hover:text-error transition-colors rounded-md cursor-pointer"
|
|
91
|
+
className="p-1.5 text-ink/40 hover:text-error-text transition-colors rounded-md cursor-pointer"
|
|
92
92
|
>
|
|
93
93
|
<Trash2 className="w-4 h-4" />
|
|
94
94
|
</button>
|
|
@@ -66,9 +66,9 @@ export const McpSidebarList: FunctionComponent<McpSidebarListProps> = ({
|
|
|
66
66
|
|
|
67
67
|
<div className="flex-1 scrollbar-overlay-container p-1.5 space-y-3 text-xs">
|
|
68
68
|
{loadError && (
|
|
69
|
-
<div className="mx-1 rounded-lg border border-error/30 bg-error/5 px-2.5 py-2 text-[11px] leading-snug text-error">
|
|
69
|
+
<div className="mx-1 rounded-lg border border-error/30 bg-error/5 px-2.5 py-2 text-[11px] leading-snug text-error-text">
|
|
70
70
|
<div className="font-semibold">Could not read the list</div>
|
|
71
|
-
<div className="mt-0.5 break-words text-error
|
|
71
|
+
<div className="mt-0.5 break-words text-error-text">{loadError}</div>
|
|
72
72
|
{onRetry && (
|
|
73
73
|
<button
|
|
74
74
|
type="button"
|
|
@@ -255,14 +255,14 @@ function GroupedRows({
|
|
|
255
255
|
<span className="font-medium text-ink">{schemaEntry.ui.label}</span>
|
|
256
256
|
<span className="font-mono text-[10px] text-ink/35" title="config key">{key}</span>
|
|
257
257
|
{isDirty && !saving && (
|
|
258
|
-
<span className="shrink-0 rounded bg-warning/15 px-1 py-px text-[10px] font-semibold text-warning">unsaved</span>
|
|
258
|
+
<span className="shrink-0 rounded bg-warning/15 px-1 py-px text-[10px] font-semibold text-warning-text">unsaved</span>
|
|
259
259
|
)}
|
|
260
260
|
{saving && (
|
|
261
261
|
<span className="shrink-0 text-[10px] text-ink/40">saving…</span>
|
|
262
262
|
)}
|
|
263
263
|
{errorMessage && !saving && (
|
|
264
264
|
<span
|
|
265
|
-
className="shrink-0 rounded bg-error/10 px-1 py-px text-[10px] font-semibold text-error"
|
|
265
|
+
className="shrink-0 rounded bg-error/10 px-1 py-px text-[10px] font-semibold text-error-text"
|
|
266
266
|
title={errorMessage}
|
|
267
267
|
>
|
|
268
268
|
save failed
|
|
@@ -276,10 +276,10 @@ function GroupedRows({
|
|
|
276
276
|
a bad value ("Invalid value: …"), or the server's message. The
|
|
277
277
|
badge above only says a failure happened. */}
|
|
278
278
|
{errorMessage && !saving && (
|
|
279
|
-
<div className="text-[10px] text-error leading-snug">{errorMessage}</div>
|
|
279
|
+
<div className="text-[10px] text-error-text leading-snug">{errorMessage}</div>
|
|
280
280
|
)}
|
|
281
281
|
{schemaEntry.ui.warning && (
|
|
282
|
-
<div className="text-[10px] text-error
|
|
282
|
+
<div className="text-[10px] text-error-text leading-snug">{schemaEntry.ui.warning}</div>
|
|
283
283
|
)}
|
|
284
284
|
</div>
|
|
285
285
|
<div className="flex shrink-0 items-center gap-1.5 pt-0.5">
|
|
@@ -76,7 +76,7 @@ export function OrderedChips({ options, value, saving, onCommit }: OrderedChipsP
|
|
|
76
76
|
aria-label={`Remove ${labelOf(chip)}`}
|
|
77
77
|
onClick={() => onCommit(current.filter((entry) => entry !== chip))}
|
|
78
78
|
disabled={saving}
|
|
79
|
-
className="text-ink/40 hover:text-error cursor-pointer disabled:opacity-40"
|
|
79
|
+
className="text-ink/40 hover:text-error-text cursor-pointer disabled:opacity-40"
|
|
80
80
|
>
|
|
81
81
|
<X size={10} />
|
|
82
82
|
</button>
|
|
@@ -98,7 +98,7 @@ export function PresetBar({
|
|
|
98
98
|
|
|
99
99
|
{selectedPreset && (
|
|
100
100
|
<span
|
|
101
|
-
className={`inline-flex items-center gap-1 text-[10px] ${inUse ? 'text-ink/50' : 'text-warning'}`}
|
|
101
|
+
className={`inline-flex items-center gap-1 text-[10px] ${inUse ? 'text-ink/50' : 'text-warning-text'}`}
|
|
102
102
|
title={inUse ? 'The live roles are this preset' : 'The roles differ from this preset — Update stores them'}
|
|
103
103
|
>
|
|
104
104
|
{inUse ? <><Check size={11} /> in use</> : 'modified'}
|
|
@@ -129,7 +129,7 @@ export function PresetBar({
|
|
|
129
129
|
onClick={() => setConfirmDelete(true)}
|
|
130
130
|
disabled={busy || !selectedPreset}
|
|
131
131
|
title={selectedPreset ? `Delete “${selectedPreset.name}”` : 'Pick a preset first'}
|
|
132
|
-
className="p-1 rounded-md border border-ink/15 text-ink/50 hover:text-error hover:border-error/40 transition-colors cursor-pointer disabled:opacity-40"
|
|
132
|
+
className="p-1 rounded-md border border-ink/15 text-ink/50 hover:text-error-text hover:border-error/40 transition-colors cursor-pointer disabled:opacity-40"
|
|
133
133
|
>
|
|
134
134
|
<Trash2 size={12} />
|
|
135
135
|
</button>
|
|
@@ -176,7 +176,7 @@ export function PresetBar({
|
|
|
176
176
|
type="button"
|
|
177
177
|
onClick={() => { setConfirmDelete(false); onDelete(); }}
|
|
178
178
|
disabled={busy}
|
|
179
|
-
className="px-2 py-1 rounded-md border border-error/40 text-error hover:bg-error/10 transition-colors cursor-pointer disabled:opacity-50"
|
|
179
|
+
className="px-2 py-1 rounded-md border border-error/40 text-error-text hover:bg-error/10 transition-colors cursor-pointer disabled:opacity-50"
|
|
180
180
|
>
|
|
181
181
|
Delete
|
|
182
182
|
</button>
|
|
@@ -198,7 +198,7 @@ export function RoleEditor({
|
|
|
198
198
|
/>
|
|
199
199
|
|
|
200
200
|
{writeError && (
|
|
201
|
-
<div className="flex items-start gap-1.5 pb-2 text-[10px] text-error">
|
|
201
|
+
<div className="flex items-start gap-1.5 pb-2 text-[10px] text-error-text">
|
|
202
202
|
<AlertCircle size={11} className="mt-px flex-shrink-0" />
|
|
203
203
|
<span className="flex-1">{writeError}</span>
|
|
204
204
|
{onDismissWriteError && (
|
|
@@ -215,7 +215,7 @@ export function RoleEditor({
|
|
|
215
215
|
)}
|
|
216
216
|
|
|
217
217
|
{candidatesError && (
|
|
218
|
-
<div className="flex items-start gap-1.5 pb-2 text-[10px] text-warning">
|
|
218
|
+
<div className="flex items-start gap-1.5 pb-2 text-[10px] text-warning-text">
|
|
219
219
|
<AlertCircle size={11} className="mt-px flex-shrink-0" />
|
|
220
220
|
<span>
|
|
221
221
|
Model catalog unavailable ({candidatesError}). Stored selectors stay editable; new picks need a working
|
|
@@ -263,14 +263,14 @@ export function RowEditor({
|
|
|
263
263
|
aria-label={`Discard the change to ${entry.ui.label}`}
|
|
264
264
|
title="Discard (Escape)"
|
|
265
265
|
onClick={revert}
|
|
266
|
-
className="rounded p-1 text-error
|
|
266
|
+
className="rounded p-1 text-error-text hover:text-error-text hover:bg-error/5 cursor-pointer"
|
|
267
267
|
>
|
|
268
268
|
<X size={11} />
|
|
269
269
|
</button>
|
|
270
270
|
)}
|
|
271
271
|
</div>
|
|
272
272
|
{draftError && (
|
|
273
|
-
<span className="max-w-56 text-right text-[10px] leading-snug text-error">{draftError}</span>
|
|
273
|
+
<span className="max-w-56 text-right text-[10px] leading-snug text-error-text">{draftError}</span>
|
|
274
274
|
)}
|
|
275
275
|
</div>
|
|
276
276
|
);
|
|
@@ -54,7 +54,7 @@ export function GitFreshness({ status, origin, busy, pluginId, onUpdate, latestV
|
|
|
54
54
|
|
|
55
55
|
if (status.error) {
|
|
56
56
|
return (
|
|
57
|
-
<p className="text-[10px] text-warning truncate" title={`${origin} — ${status.error}`}>
|
|
57
|
+
<p className="text-[10px] text-warning-text truncate" title={`${origin} — ${status.error}`}>
|
|
58
58
|
git · could not reach {origin}
|
|
59
59
|
</p>
|
|
60
60
|
);
|
|
@@ -78,7 +78,7 @@ export function GitFreshness({ status, origin, busy, pluginId, onUpdate, latestV
|
|
|
78
78
|
<span className="text-[10px] text-ink/50 font-mono truncate" title={`${origin}\n${status.current} → ${status.latest}`}>
|
|
79
79
|
{shortSha(status.current)} → {shortSha(status.latest)}
|
|
80
80
|
</span>
|
|
81
|
-
{remote ? <span className="text-[10px] text-warning font-mono flex-shrink-0">v{remote}</span> : null}
|
|
81
|
+
{remote ? <span className="text-[10px] text-warning-text font-mono flex-shrink-0">v{remote}</span> : null}
|
|
82
82
|
<button
|
|
83
83
|
type="button"
|
|
84
84
|
onClick={() => void onUpdate(pluginId)}
|
|
@@ -84,7 +84,7 @@ export function InstallForm({ busy, onInstall, onClearError }: InstallFormProps)
|
|
|
84
84
|
{busy ? 'Cloning…' : 'Install'}
|
|
85
85
|
</button>
|
|
86
86
|
</div>
|
|
87
|
-
{shown ? <p className="text-[11px] text-error">{shown}</p> : null}
|
|
87
|
+
{shown ? <p className="text-[11px] text-error-text">{shown}</p> : null}
|
|
88
88
|
</form>
|
|
89
89
|
);
|
|
90
90
|
}
|
|
@@ -112,7 +112,7 @@ export function RemovePluginButton({ pluginId, disabled, onRemove }: RemoveButto
|
|
|
112
112
|
disabled={disabled}
|
|
113
113
|
title={`Remove ${pluginId} from disk`}
|
|
114
114
|
aria-label={`Remove ${pluginId}`}
|
|
115
|
-
className="p-1 rounded text-ink/40 hover:text-error hover:bg-error/10 disabled:opacity-40 flex-shrink-0"
|
|
115
|
+
className="p-1 rounded text-ink/40 hover:text-error-text hover:bg-error/10 disabled:opacity-40 flex-shrink-0"
|
|
116
116
|
>
|
|
117
117
|
<Trash2 size={13} />
|
|
118
118
|
</button>
|
|
@@ -127,7 +127,7 @@ export function RemovePluginButton({ pluginId, disabled, onRemove }: RemoveButto
|
|
|
127
127
|
setConfirming(false);
|
|
128
128
|
void onRemove(pluginId);
|
|
129
129
|
}}
|
|
130
|
-
className="px-1.5 py-0.5 text-[10px] rounded bg-error/15 text-error border border-error/30 hover:bg-error/25"
|
|
130
|
+
className="px-1.5 py-0.5 text-[10px] rounded bg-error/15 text-error-text border border-error/30 hover:bg-error/25"
|
|
131
131
|
>
|
|
132
132
|
Delete files
|
|
133
133
|
</button>
|
|
@@ -70,7 +70,7 @@ export function InstalledList({
|
|
|
70
70
|
{enabledCount}/{plugins.length} enabled
|
|
71
71
|
</span>
|
|
72
72
|
{updates > 0 ? (
|
|
73
|
-
<span className="text-[10px] px-1.5 py-0.5 rounded bg-warning/15 text-warning border border-warning/25">
|
|
73
|
+
<span className="text-[10px] px-1.5 py-0.5 rounded bg-warning/15 text-warning-text border border-warning/25">
|
|
74
74
|
{updates} update{updates === 1 ? '' : 's'} available
|
|
75
75
|
</span>
|
|
76
76
|
) : null}
|
|
@@ -48,7 +48,7 @@ export function VersionLine({ version, latest }: { version: string; latest?: str
|
|
|
48
48
|
<span className="flex items-center gap-1 text-[10px] font-mono" title={`Installed ${version}, available ${latest}`}>
|
|
49
49
|
<span className="text-ink/45">v{version}</span>
|
|
50
50
|
<span className="text-ink/30">→</span>
|
|
51
|
-
<span className="px-1 rounded bg-warning/15 text-warning border border-warning/25">v{latest}</span>
|
|
51
|
+
<span className="px-1 rounded bg-warning/15 text-warning-text border border-warning/25">v{latest}</span>
|
|
52
52
|
</span>
|
|
53
53
|
);
|
|
54
54
|
}
|
|
@@ -110,7 +110,7 @@ export function PluginCard({
|
|
|
110
110
|
{plugin.name}
|
|
111
111
|
</span>
|
|
112
112
|
{!plugin.built ? (
|
|
113
|
-
<span className="text-[10px] px-1 rounded bg-warning/15 text-warning border border-warning/25 flex-shrink-0">
|
|
113
|
+
<span className="text-[10px] px-1 rounded bg-warning/15 text-warning-text border border-warning/25 flex-shrink-0">
|
|
114
114
|
not built
|
|
115
115
|
</span>
|
|
116
116
|
) : null}
|
|
@@ -179,7 +179,7 @@ export function PluginCard({
|
|
|
179
179
|
{badges.fromDeclaration ? ' The slots below are what its manifest declares.' : ''}
|
|
180
180
|
</p>
|
|
181
181
|
) : failure ? (
|
|
182
|
-
<p className="text-[11px] text-error leading-snug">Bundle failed to load — {failure}</p>
|
|
182
|
+
<p className="text-[11px] text-error-text leading-snug">Bundle failed to load — {failure}</p>
|
|
183
183
|
) : !entry ? (
|
|
184
184
|
<p className="text-[11px] text-ink/45">Loading bundle…</p>
|
|
185
185
|
) : badges.items.length === 0 ? (
|
|
@@ -211,7 +211,7 @@ export function PluginCard({
|
|
|
211
211
|
) : null}
|
|
212
212
|
|
|
213
213
|
{!plugin.built ? (
|
|
214
|
-
<p className="text-[11px] text-warning">
|
|
214
|
+
<p className="text-[11px] text-warning-text">
|
|
215
215
|
Not built{plugin.reason ? ` — ${plugin.reason}` : ''}. The bundle will 404 until it is built.
|
|
216
216
|
</p>
|
|
217
217
|
) : null}
|
|
@@ -238,7 +238,7 @@ export function PluginCard({
|
|
|
238
238
|
onClick={() => void onBuild(plugin.pluginId)}
|
|
239
239
|
disabled={busy !== null}
|
|
240
240
|
title={plugin.reason ? `Rebuild — ${plugin.reason}` : 'Rebuild this plugin'}
|
|
241
|
-
className="flex items-center gap-1 px-1.5 py-0.5 text-[10px] rounded border border-warning/40 text-warning hover:bg-warning/10 disabled:opacity-40"
|
|
241
|
+
className="flex items-center gap-1 px-1.5 py-0.5 text-[10px] rounded border border-warning/40 text-warning-text hover:bg-warning/10 disabled:opacity-40"
|
|
242
242
|
>
|
|
243
243
|
{busy === `build:${plugin.pluginId}` ? (
|
|
244
244
|
<Loader2 size={11} className="animate-spin" />
|
|
@@ -261,7 +261,7 @@ export function PluginCard({
|
|
|
261
261
|
? `Apply the store's copy of v${pending.version} — your edited files are left untouched, and the update is refused if they conflict`
|
|
262
262
|
: "Apply the store's copy — your edited files are left untouched, and the update is refused if they conflict"
|
|
263
263
|
}
|
|
264
|
-
className="flex items-center gap-1 px-1.5 py-0.5 text-[10px] rounded border border-warning/50 text-warning hover:bg-warning/10 disabled:opacity-40"
|
|
264
|
+
className="flex items-center gap-1 px-1.5 py-0.5 text-[10px] rounded border border-warning/50 text-warning-text hover:bg-warning/10 disabled:opacity-40"
|
|
265
265
|
>
|
|
266
266
|
{busy === `update:${plugin.pluginId}` ? (
|
|
267
267
|
<Loader2 size={11} className="animate-spin" />
|
|
@@ -66,7 +66,7 @@ export function PluginReadmeModal({ pluginId, name, readmeUrl, onClose }: Plugin
|
|
|
66
66
|
>
|
|
67
67
|
<div className="px-5 py-4">
|
|
68
68
|
{error ? (
|
|
69
|
-
<div className="flex items-start gap-2 text-error">
|
|
69
|
+
<div className="flex items-start gap-2 text-error-text">
|
|
70
70
|
<AlertTriangle size={14} className="flex-shrink-0 mt-0.5" />
|
|
71
71
|
<p className="text-xs">{error}</p>
|
|
72
72
|
</div>
|
|
@@ -95,7 +95,7 @@ export function PluginRegistries({ registries, busy, onRegister, onRemove, onRef
|
|
|
95
95
|
</button>
|
|
96
96
|
</form>
|
|
97
97
|
|
|
98
|
-
{localError ? <p className="text-[11px] text-error">{localError}</p> : null}
|
|
98
|
+
{localError ? <p className="text-[11px] text-error-text">{localError}</p> : null}
|
|
99
99
|
|
|
100
100
|
{registries.length > 0 ? (
|
|
101
101
|
<div className="rounded-lg border border-ink/10 divide-y divide-ink/5">
|
|
@@ -110,7 +110,7 @@ export function PluginRegistries({ registries, busy, onRegister, onRemove, onRef
|
|
|
110
110
|
</div>
|
|
111
111
|
<p className="text-[10px] text-ink/45">
|
|
112
112
|
{entry.error ? (
|
|
113
|
-
<span className="inline-flex items-center gap-1 text-error">
|
|
113
|
+
<span className="inline-flex items-center gap-1 text-error-text">
|
|
114
114
|
<AlertCircle size={11} className="flex-shrink-0" />
|
|
115
115
|
{entry.error}
|
|
116
116
|
</span>
|
|
@@ -139,7 +139,7 @@ export function PluginRegistries({ registries, busy, onRegister, onRemove, onRef
|
|
|
139
139
|
void onRemove(entry.repo);
|
|
140
140
|
setConfirming(null);
|
|
141
141
|
}}
|
|
142
|
-
className="px-2 py-1 rounded-lg border border-error text-error text-[11px] font-medium hover:bg-error/5 transition-colors cursor-pointer disabled:opacity-40"
|
|
142
|
+
className="px-2 py-1 rounded-lg border border-error text-error-text text-[11px] font-medium hover:bg-error/5 transition-colors cursor-pointer disabled:opacity-40"
|
|
143
143
|
>
|
|
144
144
|
Confirm
|
|
145
145
|
</button>
|
|
@@ -158,7 +158,7 @@ export function PluginRegistries({ registries, busy, onRegister, onRemove, onRef
|
|
|
158
158
|
onClick={() => setConfirming(entry.repo)}
|
|
159
159
|
title="Remove this repository from marketplace.json (installed plugins stay)"
|
|
160
160
|
aria-label={`Remove ${entry.repo}`}
|
|
161
|
-
className="flex-shrink-0 rounded-md border border-ink/15 bg-paper p-1.5 text-ink/80 transition-colors hover:bg-ink/5 hover:border-error hover:text-error disabled:opacity-50"
|
|
161
|
+
className="flex-shrink-0 rounded-md border border-ink/15 bg-paper p-1.5 text-ink/80 transition-colors hover:bg-ink/5 hover:border-error hover:text-error-text disabled:opacity-50"
|
|
162
162
|
>
|
|
163
163
|
<Trash2 size={14} />
|
|
164
164
|
</button>
|