@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
|
@@ -23,10 +23,11 @@
|
|
|
23
23
|
* object from the row the user clicked to get here.
|
|
24
24
|
*/
|
|
25
25
|
|
|
26
|
-
import { useMemo, useRef, useState } from 'preact/hooks';
|
|
26
|
+
import { useCallback, useMemo, useRef, useState } from 'preact/hooks';
|
|
27
27
|
import { Check, ChevronDown, Folder, Plus } from 'lucide-preact';
|
|
28
|
-
import {
|
|
28
|
+
import { AnchoredMenu } from '@/client/components/common/anchored-menu';
|
|
29
29
|
import { PickerSearch } from '@/client/components/common/picker-search';
|
|
30
|
+
import { anchorRectOf, type AnchorRect } from '@/shared/lib/ui/menu-anchor';
|
|
30
31
|
import { getProjectIcon } from '@/shared/lib/workspace/project-icon';
|
|
31
32
|
import { projectAccentStyle } from '@/shared/lib/workspace/project-accent';
|
|
32
33
|
import { matchesPickerQuery } from '@/shared/lib/ui/picker-filter';
|
|
@@ -78,11 +79,27 @@ export function WorkspacePicker({
|
|
|
78
79
|
}: WorkspacePickerProps) {
|
|
79
80
|
const [open, setOpen] = useState(false);
|
|
80
81
|
const [query, setQuery] = useState('');
|
|
81
|
-
const
|
|
82
|
-
|
|
82
|
+
const [anchor, setAnchor] = useState<AnchorRect | null>(null);
|
|
83
|
+
const triggerRef = useRef<HTMLButtonElement>(null);
|
|
84
|
+
const close = useCallback(() => {
|
|
83
85
|
setOpen(false);
|
|
84
86
|
setQuery('');
|
|
85
|
-
|
|
87
|
+
setAnchor(null);
|
|
88
|
+
}, []);
|
|
89
|
+
// The panel is PORTALLED (`AnchoredMenu`): the draft-target row is a scroller
|
|
90
|
+
// on a phone, and an `absolute bottom-full left-0` panel inside it could be
|
|
91
|
+
// clipped by the app shell and widen the row. `placeMenu` clamps it to the
|
|
92
|
+
// window instead.
|
|
93
|
+
const toggle = () => {
|
|
94
|
+
if (open) {
|
|
95
|
+
close();
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
const trigger = triggerRef.current;
|
|
99
|
+
if (!trigger) return;
|
|
100
|
+
setAnchor(anchorRectOf(trigger));
|
|
101
|
+
setOpen(true);
|
|
102
|
+
};
|
|
86
103
|
|
|
87
104
|
const selected = folders.find((candidate) => String(candidate.id) === String(selectedFolderId));
|
|
88
105
|
const visible = useMemo(
|
|
@@ -96,22 +113,22 @@ export function WorkspacePicker({
|
|
|
96
113
|
// across a project change would spawn the chat in a path this project
|
|
97
114
|
// cannot resolve.
|
|
98
115
|
onClearWorktree?.();
|
|
99
|
-
|
|
100
|
-
setQuery('');
|
|
116
|
+
close();
|
|
101
117
|
};
|
|
102
118
|
|
|
103
119
|
const label = workspaceLabel(folders, selectedFolderId);
|
|
104
120
|
|
|
105
121
|
return (
|
|
106
|
-
<div className="
|
|
122
|
+
<div className="shrink-0">
|
|
107
123
|
<button
|
|
124
|
+
ref={triggerRef}
|
|
108
125
|
type="button"
|
|
109
126
|
// Two triggers sit side by side, so each needs a name that says which
|
|
110
127
|
// question it answers: "kabmo" and "main" alone are both ambiguous.
|
|
111
128
|
aria-label={`Workspace: ${label}`}
|
|
112
129
|
aria-haspopup="menu"
|
|
113
130
|
aria-expanded={open}
|
|
114
|
-
onClick={
|
|
131
|
+
onClick={toggle}
|
|
115
132
|
className="tap-chip group flex items-center space-x-1.5 px-1.5 py-1 rounded-md text-xs font-medium text-muted hover:text-ink hover:bg-ink/5 focus-visible:bg-ink/5 transition-all cursor-pointer select-none"
|
|
116
133
|
>
|
|
117
134
|
{selected ? (
|
|
@@ -126,64 +143,64 @@ export function WorkspacePicker({
|
|
|
126
143
|
/>
|
|
127
144
|
</button>
|
|
128
145
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
</
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
</
|
|
184
|
-
</
|
|
146
|
+
<AnchoredMenu
|
|
147
|
+
anchor={open ? anchor : null}
|
|
148
|
+
role="menu"
|
|
149
|
+
ariaLabel="Target workspace"
|
|
150
|
+
className="w-64 max-w-[calc(100vw-1rem)] bg-paper border border-ink/10 rounded-lg shadow-lg flex flex-col text-xs py-1"
|
|
151
|
+
onClose={close}
|
|
152
|
+
>
|
|
153
|
+
<div className="px-3 py-1.5 text-[10px] uppercase tracking-wider text-ink/40 font-semibold border-b border-ink/5">
|
|
154
|
+
Target Workspace
|
|
155
|
+
</div>
|
|
156
|
+
<PickerSearch value={query} onChange={setQuery} ariaLabel="Search workspaces" placeholder="Search workspaces…" />
|
|
157
|
+
<div className="max-h-56 scrollbar-overlay-container py-1">
|
|
158
|
+
{folders.length === 0 ? (
|
|
159
|
+
<div className="px-3 py-2 text-ink/40 italic">No workspaces available</div>
|
|
160
|
+
) : visible.length === 0 ? (
|
|
161
|
+
<div className="px-3 py-2 text-ink/40 italic">No match for “{query.trim()}”</div>
|
|
162
|
+
) : (
|
|
163
|
+
visible.map((folder) => {
|
|
164
|
+
const active = String(selectedFolderId) === String(folder.id);
|
|
165
|
+
return (
|
|
166
|
+
<button
|
|
167
|
+
key={folder.id}
|
|
168
|
+
type="button"
|
|
169
|
+
role="menuitemradio"
|
|
170
|
+
aria-checked={active}
|
|
171
|
+
onClick={() => pick(folder)}
|
|
172
|
+
className={`w-full text-left px-3 py-1.5 flex items-center justify-between transition-colors cursor-pointer ${
|
|
173
|
+
active ? 'bg-ink/10 text-ink font-semibold' : 'text-ink/80 hover:bg-ink/5 hover:text-ink'
|
|
174
|
+
}`}
|
|
175
|
+
>
|
|
176
|
+
<span className="flex items-center space-x-2 truncate pr-2">
|
|
177
|
+
<WorkspaceMark folder={folder} size={12} />
|
|
178
|
+
<span className="truncate font-medium">{folder.name}</span>
|
|
179
|
+
</span>
|
|
180
|
+
{active && <Check size={12} className="text-ink flex-shrink-0" />}
|
|
181
|
+
</button>
|
|
182
|
+
);
|
|
183
|
+
})
|
|
184
|
+
)}
|
|
185
|
+
</div>
|
|
186
|
+
{/* The dialog is the layout's, not this menu's: the picker only asks
|
|
187
|
+
for it, so the action works with the dock collapsed or showing a
|
|
188
|
+
plugin panel. */}
|
|
189
|
+
<div className="border-t border-ink/5 pt-1">
|
|
190
|
+
<button
|
|
191
|
+
type="button"
|
|
192
|
+
role="menuitem"
|
|
193
|
+
onClick={() => {
|
|
194
|
+
close();
|
|
195
|
+
requestNewWorkspace();
|
|
196
|
+
}}
|
|
197
|
+
className="w-full text-left px-3 py-1.5 flex items-center gap-2 text-ink/70 hover:bg-ink/5 hover:text-ink transition-colors cursor-pointer"
|
|
198
|
+
>
|
|
199
|
+
<Plus size={12} className="flex-shrink-0" />
|
|
200
|
+
<span className="font-medium">Add new workspace</span>
|
|
201
|
+
</button>
|
|
185
202
|
</div>
|
|
186
|
-
|
|
203
|
+
</AnchoredMenu>
|
|
187
204
|
</div>
|
|
188
205
|
);
|
|
189
206
|
}
|
|
@@ -214,7 +214,7 @@ describe('WorktreePicker', () => {
|
|
|
214
214
|
});
|
|
215
215
|
await settle();
|
|
216
216
|
|
|
217
|
-
const text = textOf(
|
|
217
|
+
const text = textOf(document.body);
|
|
218
218
|
expect(text).toContain('Project root');
|
|
219
219
|
expect(text).toContain('Quick worktree');
|
|
220
220
|
expect(text).toContain('New worktree…');
|
|
@@ -243,7 +243,7 @@ describe('WorktreePicker', () => {
|
|
|
243
243
|
});
|
|
244
244
|
await settle();
|
|
245
245
|
|
|
246
|
-
const rows = [...
|
|
246
|
+
const rows = [...document.body.querySelectorAll('[role="menuitemradio"]')] as HTMLButtonElement[];
|
|
247
247
|
// Root first, then the worktree.
|
|
248
248
|
expect(rows.length).toBe(2);
|
|
249
249
|
await act(async () => {
|
|
@@ -300,7 +300,7 @@ describe('WorktreePicker', () => {
|
|
|
300
300
|
});
|
|
301
301
|
await settle();
|
|
302
302
|
|
|
303
|
-
const quick = [...
|
|
303
|
+
const quick = [...document.body.querySelectorAll('[role="menuitem"]')].find((node) =>
|
|
304
304
|
(node.textContent ?? '').includes('Quick worktree'),
|
|
305
305
|
) as HTMLButtonElement | undefined;
|
|
306
306
|
expect(quick).toBeDefined();
|
|
@@ -23,10 +23,11 @@
|
|
|
23
23
|
* picker chose, and this control only ever moves the second half.
|
|
24
24
|
*/
|
|
25
25
|
|
|
26
|
-
import { useEffect, useMemo, useRef, useState } from 'preact/hooks';
|
|
26
|
+
import { useCallback, useEffect, useMemo, useRef, useState } from 'preact/hooks';
|
|
27
27
|
import { AlertTriangle, Check, ChevronDown, GitBranch } from 'lucide-preact';
|
|
28
|
-
import {
|
|
28
|
+
import { AnchoredMenu } from '@/client/components/common/anchored-menu';
|
|
29
29
|
import { PickerSearch } from '@/client/components/common/picker-search';
|
|
30
|
+
import { anchorRectOf, type AnchorRect } from '@/shared/lib/ui/menu-anchor';
|
|
30
31
|
import { matchesPickerQuery } from '@/shared/lib/ui/picker-filter';
|
|
31
32
|
import { createWorktree, useWorktrees } from '@/client/hooks/workspace/worktree/index';
|
|
32
33
|
import { NewWorktreeModal } from '@/client/components/workspace/worktree-modal/index';
|
|
@@ -75,8 +76,26 @@ export function WorktreePicker({ folders, selectedFolderId, target, setTarget, o
|
|
|
75
76
|
const [query, setQuery] = useState('');
|
|
76
77
|
const [creating, setCreating] = useState(false);
|
|
77
78
|
const [dialogOpen, setDialogOpen] = useState(false);
|
|
78
|
-
const
|
|
79
|
-
|
|
79
|
+
const [anchor, setAnchor] = useState<AnchorRect | null>(null);
|
|
80
|
+
const triggerRef = useRef<HTMLButtonElement>(null);
|
|
81
|
+
const close = useCallback(() => {
|
|
82
|
+
setOpen(false);
|
|
83
|
+
setAnchor(null);
|
|
84
|
+
}, []);
|
|
85
|
+
// Portalled for the same measured reason as the workspace and parent
|
|
86
|
+
// pickers: this chip can sit anywhere in the wrapped draft-target row, so an
|
|
87
|
+
// `absolute bottom-full left-0` panel ran past a phone's right edge and was
|
|
88
|
+
// clipped by the app shell. `placeMenu` clamps it inside the window.
|
|
89
|
+
const toggle = () => {
|
|
90
|
+
if (open) {
|
|
91
|
+
close();
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
const trigger = triggerRef.current;
|
|
95
|
+
if (!trigger) return;
|
|
96
|
+
setAnchor(anchorRectOf(trigger));
|
|
97
|
+
setOpen(true);
|
|
98
|
+
};
|
|
80
99
|
|
|
81
100
|
const folder = folders.find((candidate) => String(candidate.id) === String(selectedFolderId)) ?? null;
|
|
82
101
|
const scopeRoot = folder?.project_path ?? null;
|
|
@@ -119,12 +138,12 @@ export function WorktreePicker({ folders, selectedFolderId, target, setTarget, o
|
|
|
119
138
|
|
|
120
139
|
const pickRoot = () => {
|
|
121
140
|
if (folderId !== null) setTarget({ folderId, worktreePath: null });
|
|
122
|
-
|
|
141
|
+
close();
|
|
123
142
|
};
|
|
124
143
|
|
|
125
144
|
const pickWorktree = (worktreePath: string) => {
|
|
126
145
|
if (folderId !== null) setTarget({ folderId, worktreePath });
|
|
127
|
-
|
|
146
|
+
close();
|
|
128
147
|
};
|
|
129
148
|
|
|
130
149
|
/**
|
|
@@ -158,19 +177,20 @@ export function WorktreePicker({ folders, selectedFolderId, target, setTarget, o
|
|
|
158
177
|
if (!scopeRoot || isRepo !== true) return null;
|
|
159
178
|
|
|
160
179
|
return (
|
|
161
|
-
<div className="
|
|
180
|
+
<div className="shrink-0">
|
|
162
181
|
<button
|
|
182
|
+
ref={triggerRef}
|
|
163
183
|
type="button"
|
|
164
184
|
aria-label={`Worktree: ${worktreeLabel(worktrees, target)}`}
|
|
165
185
|
aria-haspopup="menu"
|
|
166
186
|
aria-expanded={open}
|
|
167
|
-
onClick={
|
|
187
|
+
onClick={toggle}
|
|
168
188
|
className="tap-chip group flex items-center space-x-1.5 px-1.5 py-1 rounded-md text-xs font-medium text-muted hover:text-ink hover:bg-ink/5 focus-visible:bg-ink/5 transition-all cursor-pointer select-none"
|
|
169
189
|
>
|
|
170
190
|
{dirty > 0 ? (
|
|
171
191
|
<AlertTriangle
|
|
172
192
|
size={13}
|
|
173
|
-
className="text-warning flex-shrink-0"
|
|
193
|
+
className="text-warning-text flex-shrink-0"
|
|
174
194
|
aria-label={`${dirty} uncommitted file${dirty === 1 ? '' : 's'} in this checkout`}
|
|
175
195
|
/>
|
|
176
196
|
) : (
|
|
@@ -183,11 +203,13 @@ export function WorktreePicker({ folders, selectedFolderId, target, setTarget, o
|
|
|
183
203
|
/>
|
|
184
204
|
</button>
|
|
185
205
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
206
|
+
<AnchoredMenu
|
|
207
|
+
anchor={open ? anchor : null}
|
|
208
|
+
role="menu"
|
|
209
|
+
ariaLabel="Target worktree"
|
|
210
|
+
className="w-72 max-w-[calc(100vw-1rem)] bg-paper border border-ink/10 rounded-lg shadow-lg flex flex-col text-xs py-1"
|
|
211
|
+
onClose={close}
|
|
212
|
+
>
|
|
191
213
|
<PickerSearch value={query} onChange={setQuery} ariaLabel="Search worktrees" placeholder="Search worktrees…" />
|
|
192
214
|
<div className="px-3 py-1.5 text-[10px] uppercase tracking-wider text-ink/40 font-semibold border-b border-ink/5">
|
|
193
215
|
Project root
|
|
@@ -266,7 +288,7 @@ export function WorktreePicker({ folders, selectedFolderId, target, setTarget, o
|
|
|
266
288
|
<span className="flex items-center gap-2 truncate pr-2">
|
|
267
289
|
<GitBranch size={12} className="text-ink/50 flex-shrink-0" />
|
|
268
290
|
<span className="truncate font-medium">{worktree.branch || 'detached'}</span>
|
|
269
|
-
{worktree.missing && <span className="text-warning shrink-0">missing</span>}
|
|
291
|
+
{worktree.missing && <span className="text-warning-text shrink-0">missing</span>}
|
|
270
292
|
{worktree.dirty > 0 && (
|
|
271
293
|
<span className="text-ink/40 shrink-0" title={`${worktree.dirty} uncommitted files`}>
|
|
272
294
|
●{worktree.dirty}
|
|
@@ -279,8 +301,7 @@ export function WorktreePicker({ folders, selectedFolderId, target, setTarget, o
|
|
|
279
301
|
})
|
|
280
302
|
)}
|
|
281
303
|
</div>
|
|
282
|
-
|
|
283
|
-
)}
|
|
304
|
+
</AnchoredMenu>
|
|
284
305
|
|
|
285
306
|
<NewWorktreeModal
|
|
286
307
|
isOpen={dialogOpen}
|
|
@@ -263,7 +263,7 @@ export function FormAsk({ questions, groups, recorded, loose, onRespond, interac
|
|
|
263
263
|
{interactions}
|
|
264
264
|
|
|
265
265
|
{failure && (
|
|
266
|
-
<div className="flex items-start gap-1.5 text-[10.5px] text-error">
|
|
266
|
+
<div className="flex items-start gap-1.5 text-[10.5px] text-error-text">
|
|
267
267
|
<AlertTriangle size={11} className="mt-0.5 shrink-0" />
|
|
268
268
|
<span>{failure}</span>
|
|
269
269
|
</div>
|
package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FormDialog.tsx
CHANGED
|
@@ -227,7 +227,7 @@ export function FormDialog({ frame, questions, recorded, submitted, onRespond, i
|
|
|
227
227
|
{interactions}
|
|
228
228
|
|
|
229
229
|
{failure && (
|
|
230
|
-
<div className="flex items-start gap-1.5 text-[10.5px] text-error">
|
|
230
|
+
<div className="flex items-start gap-1.5 text-[10.5px] text-error-text">
|
|
231
231
|
<AlertTriangle size={11} className="mt-0.5 shrink-0" />
|
|
232
232
|
<span>{failure}</span>
|
|
233
233
|
</div>
|
package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/QuestionCard.tsx
CHANGED
|
@@ -51,7 +51,7 @@ export function QuestionCard({ index, total, header, question, multi, answered,
|
|
|
51
51
|
<span className="rounded-full bg-ink/5 px-1.5 py-px font-mono text-[8.5px] text-ink/45">multi</span>
|
|
52
52
|
)}
|
|
53
53
|
{answered && (
|
|
54
|
-
<span className="rounded-full bg-success/10 px-1.5 py-px font-mono text-[8.5px] text-success">
|
|
54
|
+
<span className="rounded-full bg-success/10 px-1.5 py-px font-mono text-[8.5px] text-success-text">
|
|
55
55
|
answered
|
|
56
56
|
</span>
|
|
57
57
|
)}
|
|
@@ -90,7 +90,7 @@ export function AnswerList({ parts, note }: { parts: string[]; note?: string })
|
|
|
90
90
|
data-answer-row
|
|
91
91
|
className="flex items-start gap-1.5 rounded-md border border-ink/12 bg-canvas/40 px-2 py-1 text-[11.5px] font-medium text-ink select-text"
|
|
92
92
|
>
|
|
93
|
-
<CheckCircle2 size={11} className="mt-0.5 shrink-0 text-success" />
|
|
93
|
+
<CheckCircle2 size={11} className="mt-0.5 shrink-0 text-success-text" />
|
|
94
94
|
<span className="min-w-0 flex-1 break-words">{part}</span>
|
|
95
95
|
</div>
|
|
96
96
|
))}
|
package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/SwipeDeck.tsx
CHANGED
|
@@ -123,9 +123,9 @@ export function SwipeDeck({ cards, picks, offset, onVerdict, disabled, onUndo }:
|
|
|
123
123
|
const verdict = verdicts[index];
|
|
124
124
|
const tone =
|
|
125
125
|
verdict === 'yes'
|
|
126
|
-
? 'text-success'
|
|
126
|
+
? 'text-success-text'
|
|
127
127
|
: verdict === 'no'
|
|
128
|
-
? 'text-error'
|
|
128
|
+
? 'text-error-text'
|
|
129
129
|
: verdict === 'skip'
|
|
130
130
|
? 'text-ink/40'
|
|
131
131
|
: index === top
|
|
@@ -155,12 +155,12 @@ export function SwipeDeck({ cards, picks, offset, onVerdict, disabled, onUndo }:
|
|
|
155
155
|
const tone =
|
|
156
156
|
candidate === 'yes'
|
|
157
157
|
? active
|
|
158
|
-
? 'border-success/40 bg-success/10 text-success'
|
|
159
|
-
: 'border-ink/15 text-ink/70 hover:border-success/40 hover:text-success'
|
|
158
|
+
? 'border-success/40 bg-success/10 text-success-text'
|
|
159
|
+
: 'border-ink/15 text-ink/70 hover:border-success/40 hover:text-success-text'
|
|
160
160
|
: candidate === 'no'
|
|
161
161
|
? active
|
|
162
|
-
? 'border-error/40 bg-error/10 text-error'
|
|
163
|
-
: 'border-ink/15 text-ink/70 hover:border-error/40 hover:text-error'
|
|
162
|
+
? 'border-error/40 bg-error/10 text-error-text'
|
|
163
|
+
: 'border-ink/15 text-ink/70 hover:border-error/40 hover:text-error-text'
|
|
164
164
|
: active
|
|
165
165
|
? 'border-ink/30 bg-ink/5 text-ink'
|
|
166
166
|
: 'border-ink/15 text-ink/70 hover:border-ink/40 hover:text-ink';
|
|
@@ -182,7 +182,7 @@ export function SwipeDeck({ cards, picks, offset, onVerdict, disabled, onUndo }:
|
|
|
182
182
|
})}
|
|
183
183
|
{verdict && (
|
|
184
184
|
<span className="flex shrink-0 items-center gap-1 text-[10.5px] font-medium text-ink/60">
|
|
185
|
-
<CheckCircle2 size={11} className="text-success" />
|
|
185
|
+
<CheckCircle2 size={11} className="text-success-text" />
|
|
186
186
|
{verdictLabel(card, verdict)}
|
|
187
187
|
</span>
|
|
188
188
|
)}
|
|
@@ -43,7 +43,7 @@ export function ApprovalBody({ title, options }: ApprovalBodyProps) {
|
|
|
43
43
|
<div className="space-y-2">
|
|
44
44
|
{prompt.reason && (
|
|
45
45
|
<div className="flex items-start gap-2 rounded-xl border border-warning/25 bg-warning/8 px-3.5 py-2.5 text-[12px] leading-relaxed text-ink/80">
|
|
46
|
-
<AlertTriangle size={13} className="mt-0.5 shrink-0 text-warning" />
|
|
46
|
+
<AlertTriangle size={13} className="mt-0.5 shrink-0 text-warning-text" />
|
|
47
47
|
<span className="min-w-0 break-words">{prompt.reason}</span>
|
|
48
48
|
</div>
|
|
49
49
|
)}
|
package/src/client/components/workspace/chat-timeline/tool-renderers/hashline-patch/index.tsx
CHANGED
|
@@ -18,7 +18,7 @@ import { useDeferredHighlightLines } from '@/client/hooks/code/deferred-highligh
|
|
|
18
18
|
/** A hashline `CUT` removes lines the model already saw, so it reads as the
|
|
19
19
|
* destructive half of the patch; `PUT` carries the replacement body. */
|
|
20
20
|
function opTone(verb: HashlineVerb): string {
|
|
21
|
-
return verb === 'CUT' ? 'bg-error/10 text-error' : 'bg-success/10 text-success';
|
|
21
|
+
return verb === 'CUT' ? 'bg-error/10 text-error-text' : 'bg-success/10 text-success-text';
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
/**
|
|
@@ -42,7 +42,7 @@ function OpBody({ body, lang }: { body: string[]; lang: string }) {
|
|
|
42
42
|
) : (
|
|
43
43
|
<div
|
|
44
44
|
key={rowIndex}
|
|
45
|
-
className="whitespace-pre bg-success/[0.05] px-2.5 font-mono text-[11px] leading-relaxed text-success
|
|
45
|
+
className="whitespace-pre bg-success/[0.05] px-2.5 font-mono text-[11px] leading-relaxed text-success-text"
|
|
46
46
|
>
|
|
47
47
|
{row}
|
|
48
48
|
</div>
|
|
@@ -72,7 +72,7 @@ export function HashlinePatch({ sections }: { sections: HashlineSection[] }) {
|
|
|
72
72
|
<span className="shrink-0 font-mono text-[10px] text-ink/50">→ {section.moveTo}</span>
|
|
73
73
|
)}
|
|
74
74
|
{section.removed && (
|
|
75
|
-
<span className="shrink-0 rounded bg-error/10 px-1.5 font-mono text-[10px] uppercase tracking-wider text-error">
|
|
75
|
+
<span className="shrink-0 rounded bg-error/10 px-1.5 font-mono text-[10px] uppercase tracking-wider text-error-text">
|
|
76
76
|
Removes file
|
|
77
77
|
</span>
|
|
78
78
|
)}
|
|
@@ -86,7 +86,7 @@ export function AstEdit({ tool }: { tool: ToolCallData }) {
|
|
|
86
86
|
|
|
87
87
|
<span
|
|
88
88
|
className={`inline-flex items-center gap-1 rounded-full px-2 py-0.5 font-mono text-[10px] font-semibold ${
|
|
89
|
-
isStaged ? 'bg-warning/10 text-warning' : 'bg-success/10 text-success'
|
|
89
|
+
isStaged ? 'bg-warning/10 text-warning-text' : 'bg-success/10 text-success-text'
|
|
90
90
|
}`}
|
|
91
91
|
>
|
|
92
92
|
{isStaged ? <Clock size={10} /> : <CheckCircle2 size={10} />}
|
|
@@ -106,9 +106,9 @@ export function AstEdit({ tool }: { tool: ToolCallData }) {
|
|
|
106
106
|
key={idx}
|
|
107
107
|
className="flex items-center gap-2 rounded border border-ink/6 bg-paper px-2 py-1 font-mono text-[10.5px]"
|
|
108
108
|
>
|
|
109
|
-
<span className="text-error
|
|
109
|
+
<span className="text-error-text line-through truncate">{op.pat}</span>
|
|
110
110
|
<ArrowRight size={10} className="shrink-0 text-ink/35" />
|
|
111
|
-
<span className="text-success
|
|
111
|
+
<span className="text-success-text font-medium truncate">
|
|
112
112
|
{op.out || '/* removed */'}
|
|
113
113
|
</span>
|
|
114
114
|
</div>
|
|
@@ -129,9 +129,9 @@ export function AstEdit({ tool }: { tool: ToolCallData }) {
|
|
|
129
129
|
key={i}
|
|
130
130
|
className={`rounded px-1.5 py-0.5 ${
|
|
131
131
|
isDel
|
|
132
|
-
? 'bg-error/10 text-error font-medium'
|
|
132
|
+
? 'bg-error/10 text-error-text font-medium'
|
|
133
133
|
: isAdd
|
|
134
|
-
? 'bg-success/10 text-success font-medium'
|
|
134
|
+
? 'bg-success/10 text-success-text font-medium'
|
|
135
135
|
: 'text-ink/70'
|
|
136
136
|
}`}
|
|
137
137
|
>
|
|
@@ -108,11 +108,11 @@ export function Bash({ tool }: { tool: ToolCallData }) {
|
|
|
108
108
|
<span
|
|
109
109
|
className={`inline-flex items-center gap-1.5 font-semibold ${
|
|
110
110
|
serviceTone === 'ok'
|
|
111
|
-
? 'text-success'
|
|
111
|
+
? 'text-success-text'
|
|
112
112
|
: serviceTone === 'error'
|
|
113
|
-
? 'text-error'
|
|
113
|
+
? 'text-error-text'
|
|
114
114
|
: serviceTone === 'warn'
|
|
115
|
-
? 'text-warning'
|
|
115
|
+
? 'text-warning-text'
|
|
116
116
|
: 'text-ink/50'
|
|
117
117
|
}`}
|
|
118
118
|
>
|
|
@@ -141,7 +141,7 @@ export function Bash({ tool }: { tool: ToolCallData }) {
|
|
|
141
141
|
</span>
|
|
142
142
|
)}
|
|
143
143
|
{service.exitCode !== undefined && (
|
|
144
|
-
<span className={service.exitCode === 0 ? 'text-success' : 'text-error'}>exit {service.exitCode}</span>
|
|
144
|
+
<span className={service.exitCode === 0 ? 'text-success-text' : 'text-error-text'}>exit {service.exitCode}</span>
|
|
145
145
|
)}
|
|
146
146
|
<span className="text-ink/35">
|
|
147
147
|
read <span className="font-semibold">proc://{service.name}</span>
|
|
@@ -187,7 +187,7 @@ export function Bash({ tool }: { tool: ToolCallData }) {
|
|
|
187
187
|
{exitCode !== undefined && (
|
|
188
188
|
<span
|
|
189
189
|
className={`rounded-full px-1.5 py-0.2 font-mono text-[10px] font-semibold ${
|
|
190
|
-
exitCode === 0 ? 'bg-success/10 text-success' : 'bg-error/10 text-error'
|
|
190
|
+
exitCode === 0 ? 'bg-success/10 text-success-text' : 'bg-error/10 text-error-text'
|
|
191
191
|
}`}
|
|
192
192
|
>
|
|
193
193
|
exit {exitCode}
|
|
@@ -222,7 +222,7 @@ export function Bash({ tool }: { tool: ToolCallData }) {
|
|
|
222
222
|
{isSilent ? (
|
|
223
223
|
<div className="flex items-center justify-between rounded-lg border border-dashed border-ink/15 bg-canvas/30 px-3 py-2 font-mono text-[11px] text-ink/50">
|
|
224
224
|
<div className="flex items-center gap-2">
|
|
225
|
-
<Check size={12} className="text-success" />
|
|
225
|
+
<Check size={12} className="text-success-text" />
|
|
226
226
|
<span>Command executed successfully with no output</span>
|
|
227
227
|
</div>
|
|
228
228
|
{duration && <span className="text-[10px] text-ink/40">Wall time: {duration}</span>}
|
|
@@ -288,11 +288,11 @@ export function Bash({ tool }: { tool: ToolCallData }) {
|
|
|
288
288
|
key={idx}
|
|
289
289
|
className={`whitespace-pre-wrap break-words ${
|
|
290
290
|
isSuccessLine
|
|
291
|
-
? 'text-success font-medium'
|
|
291
|
+
? 'text-success-text font-medium'
|
|
292
292
|
: isErrorLine
|
|
293
|
-
? 'text-error font-medium'
|
|
293
|
+
? 'text-error-text font-medium'
|
|
294
294
|
: isWarningLine
|
|
295
|
-
? 'text-warning font-medium'
|
|
295
|
+
? 'text-warning-text font-medium'
|
|
296
296
|
: 'text-ink/80'
|
|
297
297
|
}`}
|
|
298
298
|
>
|
|
@@ -24,10 +24,10 @@ function itemState(item: DebugItem): 'attached' | 'running' | 'stopped' | 'detac
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
const STATE_STYLES = {
|
|
27
|
-
attached: 'bg-success/10 text-success',
|
|
27
|
+
attached: 'bg-success/10 text-success-text',
|
|
28
28
|
running: 'bg-ink/8 text-ink/60',
|
|
29
29
|
stopped: 'bg-ink/5 text-ink/45',
|
|
30
|
-
detached: 'bg-error/10 text-error',
|
|
30
|
+
detached: 'bg-error/10 text-error-text',
|
|
31
31
|
} as const;
|
|
32
32
|
|
|
33
33
|
function countByState(items: DebugItem[]): Record<string, number> {
|
|
@@ -60,9 +60,9 @@ export function Debug({ tool }: { tool: ToolCallData }) {
|
|
|
60
60
|
<div className="flex items-center gap-2 border-b border-ink/8 bg-paper px-2.5 py-1.5">
|
|
61
61
|
<span className="text-[10px] font-semibold uppercase tracking-[0.14em] text-ink/40">Debug Session</span>
|
|
62
62
|
<span className="ml-auto flex items-center gap-1.5 font-mono text-[10px]">
|
|
63
|
-
{counts.attached > 0 && <span className="rounded-full bg-success/10 px-1.5 py-px text-success">{counts.attached} attached</span>}
|
|
63
|
+
{counts.attached > 0 && <span className="rounded-full bg-success/10 px-1.5 py-px text-success-text">{counts.attached} attached</span>}
|
|
64
64
|
{counts.running > 0 && <span className="rounded-full bg-ink/8 px-1.5 py-px text-ink/60">{counts.running} run</span>}
|
|
65
|
-
{counts.detached > 0 && <span className="rounded-full bg-error/10 px-1.5 py-px text-error">{counts.detached} detach</span>}
|
|
65
|
+
{counts.detached > 0 && <span className="rounded-full bg-error/10 px-1.5 py-px text-error-text">{counts.detached} detach</span>}
|
|
66
66
|
</span>
|
|
67
67
|
</div>
|
|
68
68
|
<div className="divide-y divide-ink/6 bg-canvas/40 py-1">
|
|
@@ -72,7 +72,7 @@ export function Debug({ tool }: { tool: ToolCallData }) {
|
|
|
72
72
|
return (
|
|
73
73
|
<div key={`${label}-${index}`} className="flex items-center gap-2 px-2.5 py-1.5 text-[11.5px]">
|
|
74
74
|
{state === 'attached' ? (
|
|
75
|
-
<CheckCircle2 size={11} className="shrink-0 text-success" />
|
|
75
|
+
<CheckCircle2 size={11} className="shrink-0 text-success-text" />
|
|
76
76
|
) : state === 'running' ? (
|
|
77
77
|
<Bug size={11} className="shrink-0 animate-pulse text-ink/50" />
|
|
78
78
|
) : (
|
|
@@ -239,28 +239,28 @@ export function Edit({ tool }: { tool: ToolCallData }) {
|
|
|
239
239
|
<div className="overflow-hidden rounded-lg border border-ink/8">
|
|
240
240
|
{oldString && (
|
|
241
241
|
<div className="border-b border-ink/6 bg-error/[0.04] p-2.5">
|
|
242
|
-
<div className="mb-1 flex items-center gap-1 text-[10px] font-semibold uppercase tracking-wider text-error">
|
|
242
|
+
<div className="mb-1 flex items-center gap-1 text-[10px] font-semibold uppercase tracking-wider text-error-text">
|
|
243
243
|
<span>- Original Content</span>
|
|
244
244
|
</div>
|
|
245
245
|
{truncatedOld && truncatedOld.skipped > 0 && (
|
|
246
246
|
<div className="mb-1 font-mono text-[10px] text-ink/45">… {truncatedOld.skipped} earlier lines hidden</div>
|
|
247
247
|
)}
|
|
248
248
|
<pre
|
|
249
|
-
className="max-h-40 overflow-x-auto font-mono text-[11px] leading-relaxed text-error
|
|
249
|
+
className="max-h-40 overflow-x-auto font-mono text-[11px] leading-relaxed text-error-text whitespace-pre-wrap break-words"
|
|
250
250
|
dangerouslySetInnerHTML={{ __html: highlightedOld }}
|
|
251
251
|
/>
|
|
252
252
|
</div>
|
|
253
253
|
)}
|
|
254
254
|
{newString && (
|
|
255
255
|
<div className="bg-success/[0.04] p-2.5">
|
|
256
|
-
<div className="mb-1 flex items-center gap-1 text-[10px] font-semibold uppercase tracking-wider text-success">
|
|
256
|
+
<div className="mb-1 flex items-center gap-1 text-[10px] font-semibold uppercase tracking-wider text-success-text">
|
|
257
257
|
<span>+ Replaced With</span>
|
|
258
258
|
</div>
|
|
259
259
|
{truncatedNew && truncatedNew.skipped > 0 && (
|
|
260
260
|
<div className="mb-1 font-mono text-[10px] text-ink/45">… {truncatedNew.skipped} earlier lines hidden</div>
|
|
261
261
|
)}
|
|
262
262
|
<pre
|
|
263
|
-
className="max-h-48 overflow-x-auto font-mono text-[11px] leading-relaxed text-success
|
|
263
|
+
className="max-h-48 overflow-x-auto font-mono text-[11px] leading-relaxed text-success-text whitespace-pre-wrap break-words"
|
|
264
264
|
dangerouslySetInnerHTML={{ __html: highlightedNew }}
|
|
265
265
|
/>
|
|
266
266
|
</div>
|
|
@@ -295,7 +295,7 @@ export function Edit({ tool }: { tool: ToolCallData }) {
|
|
|
295
295
|
{sections.length > 0 && (
|
|
296
296
|
<div className="space-y-2 rounded-lg border border-ink/8 bg-paper p-2.5 select-text">
|
|
297
297
|
<div className="flex items-center gap-1.5 text-[10px] font-semibold uppercase tracking-wider text-ink/40">
|
|
298
|
-
<ArrowRight size={11} className="text-success" />
|
|
298
|
+
<ArrowRight size={11} className="text-success-text" />
|
|
299
299
|
<span>Execution Output</span>
|
|
300
300
|
</div>
|
|
301
301
|
{sections.map((section, index) => (
|