@kabmo-labs/kabmo 0.57.0 → 0.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/index.html +1 -1
- package/dist/client/index.js +523 -506
- package/dist/client/static/js/Body-karkrzkc.js +3 -0
- package/dist/client/static/js/{CsvGrid-t84xmbk9.js → CsvGrid-j03knmbe.js} +2 -2
- package/dist/client/static/js/{DocxView-4jda3szm.js → DocxView-e8408vzs.js} +2 -2
- package/dist/client/static/js/{DrawioView-9qvvtnvt.js → DrawioView-fj4mfzch.js} +2 -2
- package/dist/client/static/js/{HtmlPreview-4pba1ys5.js → HtmlPreview-9g8xwzgw.js} +1 -1
- package/dist/client/static/js/ImageView-sz4fzz9k.js +1 -0
- package/dist/client/static/js/LayoutWrapper-q6q4h04a.js +2 -0
- package/dist/client/static/js/MergeDiffView-b8f013ws.js +1 -0
- package/dist/client/static/js/Modal-ahecatp5.js +60 -0
- package/dist/client/static/js/{PdfView-sny55sne.js → PdfView-8jtdx5hd.js} +1 -1
- package/dist/client/static/js/SessionsView-jwp8xvw5.js +1 -0
- package/dist/client/static/js/{SheetView-ezqak2b4.js → SheetView-hwx8s864.js} +11 -11
- package/dist/client/static/js/{SvgPreview-q1cvdf4s.js → SvgPreview-ete36nzv.js} +1 -1
- package/dist/client/static/js/{abnfDiagram-O67JEVCF-ftm2qwa3.js → abnfDiagram-O67JEVCF-7nsqzz6z.js} +1 -1
- package/dist/client/static/js/architecture-7GRP2DOG-dc7zys46.js +1 -0
- package/dist/client/static/js/{architectureDiagram-NJMV4G6O-j8kqfzmf.js → architectureDiagram-NJMV4G6O-xvpkfq2f.js} +11 -11
- package/dist/client/static/js/{astro-asmathwv.js → astro-rsrqgjjx.js} +1 -1
- package/dist/client/static/js/bash-n5d0esqg.js +1 -0
- package/dist/client/static/js/{blockDiagram-BEXU5L5S-m3zpsp9h.js → blockDiagram-BEXU5L5S-0saahcs6.js} +7 -7
- package/dist/client/static/js/c-pk766wx0.js +1 -0
- package/dist/client/static/js/{c4Diagram-YGBWAQC7-myshvbrx.js → c4Diagram-YGBWAQC7-ktpqnb4a.js} +2 -2
- package/dist/client/static/js/{classDiagram-v2-NBCMYWYE-s0cwmsj4.js → classDiagram-v2-NBCMYWYE-x67cz3ms.js} +5 -5
- package/dist/client/static/js/{cose-bilkent-JH36ORCC-t5t02sfr.js → cose-bilkent-JH36ORCC-9wzmhkz8.js} +1 -1
- package/dist/client/static/js/cpp-3pt91jvm.js +1 -0
- package/dist/client/static/js/css-sp1cgdbr.js +1 -0
- package/dist/client/static/js/cynefin-OW5HDTMX-9fx59e89.js +1 -0
- package/dist/client/static/js/{cynefinDiagram-VND7K2PF-6yxd72sh.js → cynefinDiagram-VND7K2PF-dmmgmv99.js} +2 -2
- package/dist/client/static/js/{dagre-6A5THRUB-vft5103m.js → dagre-6A5THRUB-ygkkms1t.js} +2 -2
- package/dist/client/static/js/{diagram-22UHCM2B-yy2jfvxt.js → diagram-22UHCM2B-qxj0pqb4.js} +14 -14
- package/dist/client/static/js/{diagram-3UASUU5V-1xqhzq20.js → diagram-3UASUU5V-77k8w5dt.js} +1 -1
- package/dist/client/static/js/{diagram-ATOU4E4O-f11cxgvm.js → diagram-ATOU4E4O-m0h86vf4.js} +3 -3
- package/dist/client/static/js/{diagram-CDSNMT55-gqmkfcp7.js → diagram-CDSNMT55-5v28kaeg.js} +5 -5
- package/dist/client/static/js/{diagram-MLGK6HIB-1fg7304a.js → diagram-MLGK6HIB-zgcg9gaz.js} +2 -2
- package/dist/client/static/js/{diagram-MPIPVDR6-mem80369.js → diagram-MPIPVDR6-10c9s6e6.js} +2 -2
- package/dist/client/static/js/{dockerfile-jarjwxp9.js → dockerfile-dr9sdsqp.js} +1 -1
- package/dist/client/static/js/{ebnfDiagram-ZINNZB2B-4rcbvfrj.js → ebnfDiagram-ZINNZB2B-mz4022dz.js} +1 -1
- package/dist/client/static/js/{elixir-7q2k61zb.js → elixir-3dy25ex8.js} +1 -1
- package/dist/client/static/js/{elk-276RUBZZ-ykd0stxz.js → elk-276RUBZZ-ccerbsag.js} +1 -1
- package/dist/client/static/js/{erDiagram-OPXOYQCR-b2th9bk4.js → erDiagram-OPXOYQCR-a8vjyrrw.js} +5 -5
- package/dist/client/static/js/{erlang-tjsd7n4d.js → erlang-v7344938.js} +1 -1
- package/dist/client/static/js/eventmodeling-NTZA5JFV-61d2ee91.js +1 -0
- package/dist/client/static/js/flowDiagram-KWPJA3E3-104ywb7w.js +1 -0
- package/dist/client/static/js/{ganttDiagram-FUAMR5RP-64p5r7cx.js → ganttDiagram-FUAMR5RP-sz1g29fp.js} +4 -4
- package/dist/client/static/js/gitGraph-4MIJSDKK-zkb30q0t.js +1 -0
- package/dist/client/static/js/{gitGraphDiagram-X574FWY7-z3yc333r.js → gitGraphDiagram-X574FWY7-efqk42q0.js} +15 -15
- package/dist/client/static/js/graphql-2ntm7jyh.js +1 -0
- package/dist/client/static/js/html-mt2yb43b.js +1 -0
- package/dist/client/static/js/{index-w659dhe5.js → index-2a0b9ya2.js} +1 -1
- package/dist/client/static/js/index-2f6psebk.js +2 -0
- package/dist/client/static/js/{index-j9y4tjk0.js → index-3m1dksmy.js} +2 -2
- package/dist/client/static/js/{index-668fc1df.js → index-3p732mvs.js} +2 -2
- package/dist/client/static/js/{index-3x88t8g9.js → index-3ymw778n.js} +2 -2
- package/dist/client/static/js/{index-rbkvw2xs.js → index-5tp3emtg.js} +2 -2
- package/dist/client/static/js/{index-h4qmywn5.js → index-6ac860yz.js} +2 -2
- package/dist/client/static/js/{index-77wznmg5.js → index-6ey6y9em.js} +2 -2
- package/dist/client/static/js/index-6h46r2de.js +1 -0
- package/dist/client/static/js/index-6qqsy78z.js +1 -0
- package/dist/client/static/js/{index-25zpywv7.js → index-6x0kn8pb.js} +2 -2
- package/dist/client/static/js/{index-dxx49b9m.js → index-7ma44af3.js} +3 -3
- package/dist/client/static/js/index-7s4dge1z.js +1 -0
- package/dist/client/static/js/{index-my856e49.js → index-7ynf3s2w.js} +2 -2
- package/dist/client/static/js/index-8aqjj2x2.js +1 -0
- package/dist/client/static/js/index-bkwax812.js +1 -0
- package/dist/client/static/js/{index-60g0e74a.js → index-dqf0srrp.js} +2 -2
- package/dist/client/static/js/{index-mdmtxh1c.js → index-dz18nn65.js} +2 -2
- package/dist/client/static/js/{index-5m0se6fk.js → index-e42ys2q3.js} +7 -7
- package/dist/client/static/js/{index-wxs0x3g1.js → index-ewryzs4g.js} +2 -2
- package/dist/client/static/js/{index-t415df0c.js → index-f31c6jg8.js} +22 -22
- package/dist/client/static/js/index-f44k9k8d.css +1 -0
- package/dist/client/static/js/{index-nnqyew8n.js → index-fhtnvqgf.js} +2 -2
- package/dist/client/static/js/{index-396g4zz4.js → index-gaa39w5q.js} +2 -2
- package/dist/client/static/js/{index-hmjb96kb.js → index-gqsnyh8k.js} +2 -2
- package/dist/client/static/js/index-gw4c5n3a.js +2 -0
- package/dist/client/static/js/index-j863hg0d.js +9 -0
- package/dist/client/static/js/{index-e4yj4kbe.js → index-jnxmvxb8.js} +12 -12
- package/dist/client/static/js/{index-0prwdwyb.js → index-jxsha63v.js} +2 -2
- package/dist/client/static/js/index-k1576e2m.js +2 -0
- package/dist/client/static/js/index-k4qshngy.js +4 -0
- package/dist/client/static/js/{index-3x3nhs8n.js → index-k56patms.js} +2 -2
- package/dist/client/static/js/{index-8pqx5n2p.js → index-kc5yt2cd.js} +2 -2
- package/dist/client/static/js/index-mkp3gwag.js +1 -0
- package/dist/client/static/js/{index-q9gbwqbe.js → index-nzq51nbb.js} +7 -7
- package/dist/client/static/js/{index-c2vc6znd.js → index-q5q8a3qn.js} +2 -2
- package/dist/client/static/js/{index-g71wn1pr.js → index-qbqm3c91.js} +5 -5
- package/dist/client/static/js/{index-sw370sk7.js → index-qkcmspxq.js} +2 -2
- package/dist/client/static/js/index-r1wrke3j.js +1 -0
- package/dist/client/static/js/index-rr79n77k.js +470 -0
- package/dist/client/static/js/{index-y1j18rha.js → index-rxt8sf9a.js} +2 -2
- package/dist/client/static/js/{index-6m5n8b6w.js → index-ssepzdaz.js} +6 -6
- package/dist/client/static/js/{index-rsyqf691.js → index-sxag9ptg.js} +2 -2
- package/dist/client/static/js/{index-k57bandz.js → index-t71k3b28.js} +2 -2
- package/dist/client/static/js/index-tc07gd33.js +2 -0
- package/dist/client/static/js/{index-m6eh5g1q.js → index-tdg7hz80.js} +2 -2
- package/dist/client/static/js/{index-nt17ejrm.js → index-th61y26d.js} +2 -2
- package/dist/client/static/js/{index-ebnd5hnr.js → index-tnxp90ac.js} +1 -1
- package/dist/client/static/js/{index-ms80nne4.js → index-tq3t3qm4.js} +2 -2
- package/dist/client/static/js/index-ts8rhd06.js +1 -0
- package/dist/client/static/js/{index-xtrsvm0d.js → index-v8xhgfeq.js} +2 -2
- package/dist/client/static/js/{index-n71ffk62.js → index-vb5a3g01.js} +4 -4
- package/dist/client/static/js/{index-bwwgtesb.js → index-ver116ed.js} +1 -1
- package/dist/client/static/js/{index-hge0y4vn.js → index-vf01q99d.js} +2 -2
- package/dist/client/static/js/{index-wgcgshdh.js → index-w5j1wgcz.js} +1 -1
- package/dist/client/static/js/{index-cwwg7k5f.js → index-wnk9k57k.js} +27 -27
- package/dist/client/static/js/{index-2gf593e3.js → index-x7h04xzf.js} +2 -2
- package/dist/client/static/js/{index-kbaffwp1.js → index-xfyxmaj1.js} +85 -85
- package/dist/client/static/js/index-xygk0v3e.js +2 -0
- package/dist/client/static/js/{index-kt7c42n7.js → index-y0f3wbc3.js} +2 -2
- package/dist/client/static/js/index-zh550byg.js +2 -0
- package/dist/client/static/js/info-A6RAGUB7-xxvyt8p8.js +1 -0
- package/dist/client/static/js/{infoDiagram-VRGFBTTK-59xq3n1b.js → infoDiagram-VRGFBTTK-rykcacj5.js} +1 -1
- package/dist/client/static/js/ini-bdk46a3d.js +1 -0
- package/dist/client/static/js/{ishikawaDiagram-OU5B5YK6-v18q4qt7.js → ishikawaDiagram-OU5B5YK6-rj752kd8.js} +3 -3
- package/dist/client/static/js/java-3g3925cf.js +1 -0
- package/dist/client/static/js/{journeyDiagram-ZHPQQLJL-etazj0p8.js → journeyDiagram-ZHPQQLJL-mtetwn6f.js} +5 -5
- package/dist/client/static/js/json-hdyzmffz.js +1 -0
- package/dist/client/static/js/jsx-y8r9mrdq.js +1 -0
- package/dist/client/static/js/{julia-d18zhpyp.js → julia-mxe3pnz3.js} +1 -1
- package/dist/client/static/js/{kanban-definition-PNTS6WVX-ph15e5p2.js → kanban-definition-PNTS6WVX-4h5pw5mm.js} +3 -3
- package/dist/client/static/js/lua-wf5k6p3r.js +1 -0
- package/dist/client/static/js/markdown-9bf16dx7.js +1 -0
- package/dist/client/static/js/{mermaid.core-7ygd161b.js → mermaid.core-bs542jma.js} +8 -8
- package/dist/client/static/js/{mindmap-definition-NLK3R4M7-j5xsftrf.js → mindmap-definition-NLK3R4M7-67s4xy7h.js} +5 -5
- package/dist/client/static/js/one-dark-pro-541ed4b7.js +1 -0
- package/dist/client/static/js/one-light-nr79mykt.js +1 -0
- package/dist/client/static/js/packet-AYTQ26CC-cm8jeesg.js +1 -0
- package/dist/client/static/js/{pegDiagram-GJSIUBJH-09nvb70v.js → pegDiagram-GJSIUBJH-qykb6ssk.js} +1 -1
- package/dist/client/static/js/{perl-sns2qvmf.js → perl-a8eeaqkn.js} +1 -1
- package/dist/client/static/js/{php-3q6v9eey.js → php-6gq92zt8.js} +1 -1
- package/dist/client/static/js/pie-WAS4IAKB-8b9xgcxv.js +1 -0
- package/dist/client/static/js/{pieDiagram-5QR66LMP-6ymh1960.js → pieDiagram-5QR66LMP-mymrrvck.js} +2 -2
- package/dist/client/static/js/properties-xk4dn00p.js +1 -0
- package/dist/client/static/js/python-7sgz05n4.js +1 -0
- package/dist/client/static/js/{quadrantDiagram-O4NWA36T-hk61avw2.js → quadrantDiagram-O4NWA36T-6f8ahd40.js} +6 -6
- package/dist/client/static/js/r-w4qxm0pv.js +1 -0
- package/dist/client/static/js/radar-RG4KPBEZ-fxr2x2mf.js +1 -0
- package/dist/client/static/js/railroad-74A4TZTK-5qd45xk1.js +1 -0
- package/dist/client/static/js/railroad-abnf-HS5TGJTU-6fa00vpk.js +1 -0
- package/dist/client/static/js/railroad-ebnf-LZEXJU2U-pcbtg7tj.js +1 -0
- package/dist/client/static/js/railroad-peg-WCYAUIDC-r0fdhdtp.js +1 -0
- package/dist/client/static/js/{railroadDiagram-XR7U4H2S-3jvqrfnb.js → railroadDiagram-XR7U4H2S-c3habpvw.js} +1 -1
- package/dist/client/static/js/{requirementDiagram-PLB6GJNP-zthfj48k.js → requirementDiagram-PLB6GJNP-nysqy6te.js} +12 -12
- package/dist/client/static/js/{ruby-f9k99tfq.js → ruby-mc826p2e.js} +1 -1
- package/dist/client/static/js/{rust-q7n7q6dy.js → rust-m4f4vpvn.js} +1 -1
- package/dist/client/static/js/{sankeyDiagram-IPEJSGJF-nh5d6xte.js → sankeyDiagram-IPEJSGJF-s5dtfp3z.js} +4 -4
- package/dist/client/static/js/{sass-2syegq28.js → sass-8bq5r2tz.js} +1 -1
- package/dist/client/static/js/{sequenceDiagram-PO4LG4MO-crej9b40.js → sequenceDiagram-PO4LG4MO-bb3yp049.js} +21 -21
- package/dist/client/static/js/{sizeCapture-INFHLROL-nvvxw58j.js → sizeCapture-INFHLROL-0m2msee7.js} +1 -1
- package/dist/client/static/js/{stateDiagram-v2-GCMORJYK-e6tztjnj.js → stateDiagram-v2-GCMORJYK-cd0qgj6t.js} +3 -3
- package/dist/client/static/js/{svelte-mm3jfpje.js → svelte-5vrwkc13.js} +1 -1
- package/dist/client/static/js/{swimlanes-2SLR337P-xhdqjqmf.js → swimlanes-2SLR337P-rpb01f7p.js} +1 -1
- package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-zx36y2c8.js +8 -0
- package/dist/client/static/js/{timeline-definition-EJHVYXUP-9cve31zc.js → timeline-definition-EJHVYXUP-tqw2e6y1.js} +5 -5
- package/dist/client/static/js/treeView-Q6P3EWNA-9sn2h4ea.js +1 -0
- package/dist/client/static/js/treemap-WGGIJYW6-9fzms0pq.js +1 -0
- package/dist/client/static/js/tsx-h5yzg80q.js +1 -0
- package/dist/client/static/js/typescript-qy1sbhea.js +1 -0
- package/dist/client/static/js/{usecaseDiagram-POWQR4AR-asycstwe.js → usecaseDiagram-POWQR4AR-dhf4d5xg.js} +41 -41
- package/dist/client/static/js/{vennDiagram-UO4OBE2U-gbzk6era.js → vennDiagram-UO4OBE2U-ztkk79dv.js} +7 -7
- package/dist/client/static/js/{vue-e8e3q3hj.js → vue-gmjnxjm3.js} +1 -1
- package/dist/client/static/js/wardley-WFR3VGLG-vy6rp5gp.js +1 -0
- package/dist/client/static/js/{wardleyDiagram-VNRHLVJA-1swwfszr.js → wardleyDiagram-VNRHLVJA-ahre5tmv.js} +5 -5
- package/dist/client/static/js/xml-mrk4xakv.js +1 -0
- package/dist/client/static/js/{xychartDiagram-PMCCYNJV-v7qkwv0b.js → xychartDiagram-PMCCYNJV-vak2c50n.js} +6 -6
- package/dist/client/static/js/yaml-xaza6dra.js +1 -0
- package/package.json +6 -6
- package/src/client/bootstrap.d.ts +11 -0
- package/src/client/borders.css +3 -4
- package/src/client/components/auth/login-screen/index.tsx +1 -1
- package/src/client/components/common/ComposerPicker.tsx +1 -1
- package/src/client/components/common/CopyButton.tsx +1 -1
- package/src/client/components/common/FolderPicker.tsx +1 -1
- package/src/client/components/common/SubagentStatusIcon.tsx +2 -2
- package/src/client/components/common/ViewportSelector.tsx +2 -2
- package/src/client/components/common/batch-selection/BatchActionBar.tsx +1 -1
- package/src/client/components/common/batch-selection/BatchDeleteModal.tsx +4 -4
- package/src/client/components/common/checkbox/style.ts +1 -1
- package/src/client/components/common/context-usage-button/McpSection.tsx +3 -2
- package/src/client/components/common/file-icon/index.tsx +3 -3
- package/src/client/components/common/harness-glyph/index.tsx +4 -3
- package/src/client/components/common/image-viewer/fullscreen.tsx +1 -1
- package/src/client/components/common/image-viewer/index.tsx +2 -2
- package/src/client/components/common/markdown-review/ReviewPopover.tsx +2 -2
- package/src/client/components/common/markdown-review/ReviewSummary.tsx +3 -3
- package/src/client/components/common/plugin-render-boundary/index.tsx +1 -1
- package/src/client/components/common/server-control/Panel.tsx +1 -1
- package/src/client/components/common/server-control/Row.tsx +3 -3
- package/src/client/components/common/session-actions-menu/MenuItem.tsx +2 -2
- package/src/client/components/common/session-branch/SubagentRow.tsx +1 -1
- package/src/client/components/common/session-delete-modal/index.tsx +4 -4
- package/src/client/components/common/session-row/StatusSlot.tsx +1 -1
- package/src/client/components/common/session-row/index.tsx +40 -2
- package/src/client/components/common/session-row/session-row.test.tsx +46 -3
- package/src/client/components/common/shell-update-button/Modal.tsx +1 -1
- package/src/client/components/common/todo-row/index.tsx +1 -1
- package/src/client/components/common/window-controls/index.tsx +1 -1
- package/src/client/components/common/workspace-options-menu/index.tsx +4 -4
- package/src/client/components/layout/session-sidebar/Toolbar.tsx +2 -2
- package/src/client/components/layout/session-sidebar/WorktreeBadge.tsx +1 -1
- package/src/client/components/layout/session-sidebar/about-modal/UpdateLogDialog.tsx +1 -1
- package/src/client/components/layout/session-sidebar/about-modal/UpdateSection.tsx +3 -3
- package/src/client/components/layout/session-sidebar/about-modal/index.tsx +1 -1
- package/src/client/components/layout/session-sidebar/modern/FilterChips.tsx +1 -1
- package/src/client/components/layout/session-sidebar/new-workspace-modal/DirectoryList.tsx +2 -2
- package/src/client/components/layout/session-sidebar/new-workspace-modal/index.tsx +1 -1
- package/src/client/components/layout/session-sidebar/scheduler-modal/ModelFields.tsx +1 -1
- package/src/client/components/layout/session-sidebar/scheduler-modal/TaskForm.tsx +1 -1
- package/src/client/components/layout/session-sidebar/scheduler-modal/TaskList.tsx +4 -4
- package/src/client/components/layout/session-sidebar/scheduler-modal/index.tsx +1 -1
- package/src/client/components/layout/update-popup/Actions.tsx +1 -1
- package/src/client/components/mobile/mobile-right-sidebar/Action.tsx +1 -1
- package/src/client/components/mobile/mobile-right-sidebar/Header.tsx +3 -3
- package/src/client/components/mobile/mobile-right-sidebar/MissingFileBanner.tsx +2 -2
- package/src/client/components/mobile/mobile-right-sidebar/PreviewScroller.tsx +2 -2
- package/src/client/components/mobile/mobile-right-sidebar/StatusBar.tsx +2 -2
- package/src/client/components/mobile/mobile-session-sidebar/Toolbar.tsx +3 -3
- package/src/client/components/settings/Modal.tsx +8 -3
- package/src/client/components/settings/SettingsSidebarList.tsx +2 -2
- package/src/client/components/settings/Sidebar.tsx +3 -3
- package/src/client/components/settings/apply-side-effects.test.ts +46 -0
- package/src/client/components/settings/apply-side-effects.ts +8 -0
- package/src/client/components/settings/categories/BehaviorSettings.tsx +1 -1
- package/src/client/components/settings/categories/OmpSettings.tsx +3 -3
- package/src/client/components/settings/categories/UsageSettings.tsx +3 -3
- package/src/client/components/settings/categories/agent-settings/DetailPane.tsx +5 -5
- package/src/client/components/settings/categories/appearance-settings/CustomThemeEditor.tsx +177 -0
- package/src/client/components/settings/categories/appearance-settings/CustomThemeSection.test.tsx +136 -0
- package/src/client/components/settings/categories/appearance-settings/CustomThemeSection.tsx +180 -0
- package/src/client/components/settings/categories/appearance-settings/ThemeCard.tsx +1 -1
- package/src/client/components/settings/categories/appearance-settings/ThemeGrid.tsx +6 -5
- package/src/client/components/settings/categories/appearance-settings/ThemePreview.tsx +106 -0
- package/src/client/components/settings/categories/appearance-settings/ThemeSection.tsx +7 -3
- package/src/client/components/settings/categories/behavior-settings/Editor.tsx +1 -1
- package/src/client/components/settings/categories/chat-settings/ToolRenderSection.tsx +1 -1
- package/src/client/components/settings/categories/command-settings/DetailPane.tsx +4 -4
- package/src/client/components/settings/categories/dictation-settings/ExternalSection.tsx +1 -1
- package/src/client/components/settings/categories/git-settings/CommitMessageSection.tsx +1 -1
- package/src/client/components/settings/categories/git-settings/IdentitySection.tsx +2 -2
- package/src/client/components/settings/categories/harness-settings/AccountLoginPanel.tsx +3 -3
- package/src/client/components/settings/categories/harness-settings/AccountsPanel.tsx +13 -83
- package/src/client/components/settings/categories/harness-settings/HarnessImportControls.tsx +1 -1
- package/src/client/components/settings/categories/mcp-settings/ConnectionTest.tsx +1 -1
- package/src/client/components/settings/categories/mcp-settings/DetailPane.tsx +5 -5
- package/src/client/components/settings/categories/mcp-settings/ImportModal.tsx +1 -1
- package/src/client/components/settings/categories/mcp-settings/KeyValueSection.tsx +1 -1
- package/src/client/components/settings/categories/mcp-settings/SidebarList.tsx +2 -2
- package/src/client/components/settings/categories/omp-settings/ConfigTabs.tsx +4 -4
- package/src/client/components/settings/categories/omp-settings/OrderedChips.tsx +1 -1
- package/src/client/components/settings/categories/omp-settings/PresetBar.tsx +3 -3
- package/src/client/components/settings/categories/omp-settings/RoleEditor.tsx +2 -2
- package/src/client/components/settings/categories/omp-settings/RowEditor.tsx +2 -2
- package/src/client/components/settings/categories/panel-plugins/GitFreshness.tsx +2 -2
- package/src/client/components/settings/categories/panel-plugins/InstallForm.tsx +3 -3
- package/src/client/components/settings/categories/panel-plugins/InstalledList.tsx +1 -1
- package/src/client/components/settings/categories/panel-plugins/Meta.tsx +1 -1
- package/src/client/components/settings/categories/panel-plugins/PluginCard.tsx +5 -5
- package/src/client/components/settings/categories/panel-plugins/ReadmeModal.tsx +1 -1
- package/src/client/components/settings/categories/panel-plugins/Registries.tsx +4 -4
- package/src/client/components/settings/categories/panel-plugins/Section.tsx +3 -3
- package/src/client/components/settings/categories/panel-plugins/SettingsModal.tsx +2 -2
- package/src/client/components/settings/categories/panel-plugins/SyncBlockedNotice.tsx +2 -2
- package/src/client/components/settings/categories/panel-plugins/Toolbar.tsx +1 -1
- package/src/client/components/settings/categories/plugin-settings/DetailPane.tsx +2 -2
- package/src/client/components/settings/categories/plugin-settings/MarketplacePane.tsx +4 -4
- package/src/client/components/settings/categories/plugin-settings/SettingsSection.tsx +1 -1
- package/src/client/components/settings/categories/plugin-settings/SidebarList.tsx +4 -4
- package/src/client/components/settings/categories/project-settings/AddProjectModal.tsx +1 -1
- package/src/client/components/settings/categories/project-settings/DeleteProjectModal.tsx +3 -3
- package/src/client/components/settings/categories/project-settings/DetailsHeader.tsx +1 -1
- package/src/client/components/settings/categories/project-settings/IconGrid.tsx +3 -3
- package/src/client/components/settings/categories/project-settings/SidebarList.tsx +1 -1
- package/src/client/components/settings/categories/project-settings/WorktreeSettings.tsx +2 -2
- package/src/client/components/settings/categories/provider-settings/AddModelModal.tsx +3 -3
- package/src/client/components/settings/categories/provider-settings/AddProviderModal.tsx +2 -2
- package/src/client/components/settings/categories/provider-settings/AuthSection.tsx +3 -3
- package/src/client/components/settings/categories/provider-settings/DeleteProviderModal.tsx +3 -3
- package/src/client/components/settings/categories/provider-settings/EntryAdvanced.tsx +1 -1
- package/src/client/components/settings/categories/provider-settings/EntryModal.tsx +2 -2
- package/src/client/components/settings/categories/provider-settings/LoginModal.tsx +2 -2
- package/src/client/components/settings/categories/provider-settings/LogoutProviderModal.tsx +3 -3
- package/src/client/components/settings/categories/provider-settings/ModelCapabilitiesModal.tsx +1 -1
- package/src/client/components/settings/categories/provider-settings/PriceFields.tsx +1 -1
- package/src/client/components/settings/categories/skill-catalog/GitImportPanel.tsx +1 -1
- package/src/client/components/settings/categories/skill-catalog/SkillCard.tsx +1 -1
- package/src/client/components/settings/categories/skill-catalog/SourceRail.tsx +1 -1
- package/src/client/components/settings/categories/skill-settings/DetailHeader.tsx +7 -7
- package/src/client/components/settings/categories/skill-settings/DetailPane.tsx +1 -1
- package/src/client/components/settings/categories/skill-settings/SidebarList.tsx +2 -2
- package/src/client/components/settings/categories/usage-settings/ProviderCard.tsx +1 -1
- package/src/client/components/settings/categories/usage-settings/SavedResetsSection.tsx +2 -2
- package/src/client/components/settings/categories/usage-settings/SidebarList.tsx +1 -1
- package/src/client/components/settings/categories/usage-settings/TokenHarborCard.tsx +1 -1
- package/src/client/components/settings/categories/voice-settings/speech/EndpointSection.tsx +2 -2
- package/src/client/components/settings/categories/voice-settings/speech/EngineSection.tsx +5 -5
- package/src/client/components/settings/categories/voice-settings/speech/ModelsSection.tsx +4 -4
- package/src/client/components/workspace/browser-panel/ActivityToasts.tsx +2 -2
- package/src/client/components/workspace/browser-panel/EngineNotice.tsx +1 -1
- package/src/client/components/workspace/browser-panel/index.tsx +2 -2
- package/src/client/components/workspace/browser-toolbar/clusters.tsx +2 -2
- package/src/client/components/workspace/btw-panel/Messages.tsx +2 -2
- package/src/client/components/workspace/btw-panel/TopicMenu.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/AiMessageFooterSheet.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/ChangedFilesSummary.tsx +7 -7
- package/src/client/components/workspace/chat-timeline/ComposerDock.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/IrcNotice.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/MessageItem.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/OrchestrationNotice.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/QueueList.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/SubagentControls.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/SystemNotice.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/TaskResultContent.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/TimelineBody.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/UndoConfirmModal.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/block-chrome.test.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/chat-input/AttachmentToolbar.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/chat-input/ComposerNotice.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/chat-input/ComposerRows.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/chat-input/GoalBanner.tsx +11 -11
- package/src/client/components/workspace/chat-timeline/chat-input/GoalModal.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/chat-input/Toolbar.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/chat-input/VoiceNotice.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/chat-input/props.ts +3 -3
- package/src/client/components/workspace/chat-timeline/plan-review/index.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/target-picker/WorktreePicker.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FormAsk.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FormDialog.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/QuestionCard.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/SwipeDeck.tsx +7 -7
- package/src/client/components/workspace/chat-timeline/tool-renderers/extension-dialog/ApprovalBody.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/hashline-patch/index.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/AstEdit.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Bash.tsx +9 -9
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Debug.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Edit.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Eval.tsx +6 -6
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/FileMatches.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Github.tsx +7 -7
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Goal.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/GoalRecord.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Lsp.tsx +9 -9
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/ManageSkill.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Proc.tsx +8 -8
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Resolve.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/SecurityScan.tsx +6 -6
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/TaskResult.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Todo.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Wait.tsx +7 -7
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ArtifactChip.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/DiffView.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/EnvelopeHeader.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ToolCardShell.tsx +4 -4
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ToolFactChips.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ToolRowActions.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/card-header.ts +10 -8
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/status-glyph.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/toggle-label.test.ts +37 -0
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/toggle-label.ts +17 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Tui.test.tsx +50 -21
- package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Tui.tsx +21 -17
- package/src/client/components/workspace/context-panel/RawJsonViewer.tsx +2 -2
- package/src/client/components/workspace/diff-panel/ConflictBanner.tsx +3 -3
- package/src/client/components/workspace/diff-panel/Toolbar.tsx +3 -3
- package/src/client/components/workspace/diff-panel/index.tsx +3 -3
- package/src/client/components/workspace/diff-panel/toolbar-git-actions.tsx +1 -1
- package/src/client/components/workspace/editor/ConflictStrip.tsx +2 -2
- package/src/client/components/workspace/editor/ExternalChangeStrip.tsx +2 -2
- package/src/client/components/workspace/editor/FilePane.tsx +6 -6
- package/src/client/components/workspace/editor/FindWidget.tsx +2 -2
- package/src/client/components/workspace/editor/GoToLineModal.tsx +1 -1
- package/src/client/components/workspace/editor/SaveAsModal.tsx +3 -3
- package/src/client/components/workspace/editor/SaveDeletedFileModal.tsx +2 -2
- package/src/client/components/workspace/editor/StatusBar.tsx +1 -1
- package/src/client/components/workspace/editor/Tabs.test.ts +3 -3
- package/src/client/components/workspace/editor/Tabs.tsx +6 -6
- package/src/client/components/workspace/editor/Toolbar.tsx +4 -4
- package/src/client/components/workspace/editor/toolbar-clusters.tsx +1 -1
- package/src/client/components/workspace/editor/viewers/DataGrid.tsx +1 -1
- package/src/client/components/workspace/editor/viewers/GridToolbar.tsx +2 -2
- package/src/client/components/workspace/editor/viewers/SheetView.tsx +2 -2
- package/src/client/components/workspace/editor/viewers/ViewerError.tsx +2 -2
- package/src/client/components/workspace/file-explorer/ArchiveModals.tsx +1 -1
- package/src/client/components/workspace/file-explorer/ContextMenu.tsx +3 -3
- package/src/client/components/workspace/file-explorer/Modals.tsx +3 -3
- package/src/client/components/workspace/file-explorer/RowLabel.test.tsx +2 -2
- package/src/client/components/workspace/git-panel/BranchToolbar.tsx +2 -2
- package/src/client/components/workspace/git-panel/ChangesList.tsx +3 -3
- package/src/client/components/workspace/git-panel/ConflictItem.tsx +3 -3
- package/src/client/components/workspace/git-panel/FileItem.tsx +1 -1
- package/src/client/components/workspace/git-panel/Modals.tsx +1 -1
- package/src/client/components/workspace/git-panel/OperationBar.tsx +4 -4
- package/src/client/components/workspace/git-panel/StashSection.tsx +1 -1
- package/src/client/components/workspace/git-panel/TreeItem.tsx +2 -2
- package/src/client/components/workspace/git-panel/branch-modal/BranchRow.tsx +2 -2
- package/src/client/components/workspace/git-panel/branch-modal/DeleteDialog.tsx +2 -2
- package/src/client/components/workspace/git-panel/branch-modal/index.tsx +2 -2
- package/src/client/components/workspace/model-dropdown/HarnessTabs.tsx +31 -76
- package/src/client/components/workspace/model-dropdown/Item.tsx +2 -2
- package/src/client/components/workspace/model-dropdown/Panel.tsx +15 -9
- package/src/client/components/workspace/model-dropdown/Section.tsx +1 -1
- package/src/client/components/workspace/model-dropdown/harness-tabs.test.tsx +12 -83
- package/src/client/components/workspace/model-dropdown/index.tsx +2 -2
- package/src/client/components/workspace/model-dropdown/picker-close.test.tsx +16 -2
- package/src/client/components/workspace/plan-panel/PageView.tsx +2 -2
- package/src/client/components/workspace/plan-panel/index.tsx +2 -2
- package/src/client/components/workspace/plugin-panel/Error.tsx +1 -1
- package/src/client/components/workspace/repo-picker/Modal.tsx +3 -3
- package/src/client/components/workspace/repo-picker/Row.tsx +5 -5
- package/src/client/components/workspace/search-panel/Body.tsx +2 -2
- package/src/client/components/workspace/terminal-panel/Header.tsx +3 -3
- package/src/client/components/workspace/terminal-panel/KeyBar.tsx +2 -2
- package/src/client/components/workspace/terminal-panel/QuickActions.tsx +1 -1
- package/src/client/components/workspace/terminal-panel/RealtimeTerminalView.tsx +1 -1
- package/src/client/components/workspace/terminal-panel/index.tsx +1 -1
- package/src/client/components/workspace/usage-panel/index.tsx +3 -3
- package/src/client/components/workspace/user-browser-panel/AddressBar.tsx +1 -1
- package/src/client/components/workspace/wiki-panel/PageView.tsx +2 -2
- package/src/client/components/workspace/wiki-panel/index.tsx +2 -2
- package/src/client/components/workspace/worktree-modal/index.tsx +1 -1
- package/src/client/data/settings/omp-schema.json +27 -7
- package/src/client/hooks/chat/timeline/session-harness.ts +2 -1
- package/src/client/hooks/editor/use-unload-guard.tsx +2 -2
- package/src/client/hooks/models/use-harness-accounts-panel.ts +142 -0
- package/src/client/hooks/ui/border-style.test.ts +1 -2
- package/src/client/hooks/ui/theme.ts +23 -2
- package/src/client/main.tsx +7 -1
- package/src/client/tailwind-contrast.test.ts +22 -7
- package/src/client/tailwind.css +115 -18
- package/src/server/lib/assets/theme-css.server.test.ts +31 -1
- package/src/server/lib/assets/theme-css.server.ts +15 -1
- package/src/server/lib/dictation/capability.server.test.ts +9 -6
- package/src/server/lib/dictation/worker-process.ts +9 -2
- package/src/server/lib/harness/accounts.test.ts +5 -3
- package/src/server/lib/harness/acp/acp-todos.test.ts +23 -0
- package/src/server/lib/omp/session/delete.server.ts +4 -0
- package/src/server/lib/realtime/topics/session-data.server.ts +63 -1
- package/src/server/lib/realtime/topics/session-data.test.ts +154 -0
- package/src/server/lib/tray/runtime.server.ts +5 -0
- package/src/server/plugins/ssr.ts +16 -4
- package/src/server/routes/settings/root.ts +11 -0
- package/src/server/routes/settings/settings-store-routes.test.ts +37 -0
- package/src/shared/lib/chat/timeline/block-chrome.ts +2 -2
- package/src/shared/lib/chat/todo/flat-list.test.ts +81 -0
- package/src/shared/lib/chat/todo/flat-list.ts +29 -0
- package/src/shared/lib/chat/todo/parser.ts +7 -53
- package/src/shared/lib/chat/todo/progress.test.ts +3 -3
- package/src/shared/lib/chat/todo/progress.ts +3 -3
- package/src/shared/lib/fs/git-status.test.ts +22 -22
- package/src/shared/lib/fs/git-status.ts +31 -31
- package/src/shared/lib/icons/icon-paint-authority.ts +5 -4
- package/src/shared/lib/omp/config/schema-releases-19-4.test.ts +20 -3
- package/src/shared/lib/settings/defaults.ts +1 -0
- package/src/shared/lib/theme/catalog.test.ts +42 -0
- package/src/shared/lib/theme/catalog.ts +66 -11
- package/src/shared/lib/theme/css.ts +25 -1
- package/src/shared/lib/theme/custom.test.ts +156 -0
- package/src/shared/lib/theme/custom.ts +260 -0
- package/src/shared/lib/theme/ink-scale.test.ts +83 -2
- package/src/shared/lib/theme/ink-scale.ts +74 -9
- package/src/shared/lib/theme/shell-palette.ts +3 -3
- package/src/shared/lib/theme/theme.test.ts +28 -13
- package/src/shared/types/settings/state.ts +11 -3
- package/tsconfig.json +6 -0
- package/dist/client/static/js/Body-k96gtstv.js +0 -3
- package/dist/client/static/js/ImageView-0gf5xdsv.js +0 -1
- package/dist/client/static/js/LayoutWrapper-pwbq5syv.js +0 -2
- package/dist/client/static/js/MergeDiffView-m4jkr786.js +0 -1
- package/dist/client/static/js/Modal-yjszc3vy.js +0 -60
- package/dist/client/static/js/SessionsView-q3800n83.js +0 -1
- package/dist/client/static/js/architecture-7GRP2DOG-3hkq8grc.js +0 -1
- package/dist/client/static/js/bash-n7wcmq3s.js +0 -1
- package/dist/client/static/js/c-20y64hcp.js +0 -1
- package/dist/client/static/js/cpp-ty6n0dg9.js +0 -1
- package/dist/client/static/js/css-ncvxaxt0.js +0 -1
- package/dist/client/static/js/cynefin-OW5HDTMX-9m18e6m5.js +0 -1
- package/dist/client/static/js/eventmodeling-NTZA5JFV-d4egnv9v.js +0 -1
- package/dist/client/static/js/flowDiagram-KWPJA3E3-f3bdtc1z.js +0 -1
- package/dist/client/static/js/gitGraph-4MIJSDKK-grqv890n.js +0 -1
- package/dist/client/static/js/graphql-6rwdfcnf.js +0 -1
- package/dist/client/static/js/html-p76eszt9.js +0 -1
- package/dist/client/static/js/index-1mm7kyjd.js +0 -1
- package/dist/client/static/js/index-3w18s59k.js +0 -9
- package/dist/client/static/js/index-ep353yxd.js +0 -2
- package/dist/client/static/js/index-ewtv8gg7.js +0 -1
- package/dist/client/static/js/index-gr07t5c4.js +0 -2
- package/dist/client/static/js/index-jd2h5tvh.js +0 -2
- package/dist/client/static/js/index-k6wms0kx.js +0 -1
- package/dist/client/static/js/index-k9v6477a.js +0 -1
- package/dist/client/static/js/index-mv83hpva.js +0 -1
- package/dist/client/static/js/index-nr5gwny1.js +0 -470
- package/dist/client/static/js/index-rqpbva78.js +0 -2
- package/dist/client/static/js/index-taz2nfym.css +0 -1
- package/dist/client/static/js/index-x6945djv.js +0 -1
- package/dist/client/static/js/index-y5mf2w81.js +0 -1
- package/dist/client/static/js/index-y69cbdvd.js +0 -2
- package/dist/client/static/js/index-y6qtx68e.js +0 -1
- package/dist/client/static/js/index-yktwxghr.js +0 -2
- package/dist/client/static/js/index-zj65csnm.js +0 -4
- package/dist/client/static/js/info-A6RAGUB7-rzpg7qk1.js +0 -1
- package/dist/client/static/js/ini-kjcpgebh.js +0 -1
- package/dist/client/static/js/java-0bcyv1jt.js +0 -1
- package/dist/client/static/js/json-xha2drny.js +0 -1
- package/dist/client/static/js/jsx-8p6dqgpq.js +0 -1
- package/dist/client/static/js/lua-njwwdj4s.js +0 -1
- package/dist/client/static/js/markdown-8gbyxxjd.js +0 -1
- package/dist/client/static/js/one-dark-pro-4s2rr12v.js +0 -1
- package/dist/client/static/js/one-light-3bkk59ww.js +0 -1
- package/dist/client/static/js/packet-AYTQ26CC-eac14hsq.js +0 -1
- package/dist/client/static/js/pie-WAS4IAKB-a9xqvysf.js +0 -1
- package/dist/client/static/js/properties-d5bwhgwz.js +0 -1
- package/dist/client/static/js/python-fdwwjjhh.js +0 -1
- package/dist/client/static/js/r-4d2ygtfj.js +0 -1
- package/dist/client/static/js/radar-RG4KPBEZ-jv2pm0fe.js +0 -1
- package/dist/client/static/js/railroad-74A4TZTK-j74sc0b6.js +0 -1
- package/dist/client/static/js/railroad-abnf-HS5TGJTU-eaf19baz.js +0 -1
- package/dist/client/static/js/railroad-ebnf-LZEXJU2U-d4j5nq31.js +0 -1
- package/dist/client/static/js/railroad-peg-WCYAUIDC-ba862a9p.js +0 -1
- package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-hbwg3m3k.js +0 -8
- package/dist/client/static/js/treeView-Q6P3EWNA-e8yb44pd.js +0 -1
- package/dist/client/static/js/treemap-WGGIJYW6-zvdv84vp.js +0 -1
- package/dist/client/static/js/tsx-dk8rpgtw.js +0 -1
- package/dist/client/static/js/typescript-5txwpd9t.js +0 -1
- package/dist/client/static/js/wardley-WFR3VGLG-hbv0cg4s.js +0 -1
- package/dist/client/static/js/xml-8516fzfp.js +0 -1
- package/dist/client/static/js/yaml-6k1tmwtm.js +0 -1
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) => (
|
|
@@ -122,21 +122,21 @@ export function Eval({ tool }: { tool: ToolCallData }) {
|
|
|
122
122
|
<div className="flex items-center gap-1.5">
|
|
123
123
|
{isError ? (
|
|
124
124
|
<>
|
|
125
|
-
<AlertCircle size={11} className="text-error" />
|
|
126
|
-
<span className="text-[10px] font-semibold uppercase tracking-wider text-error">
|
|
125
|
+
<AlertCircle size={11} className="text-error-text" />
|
|
126
|
+
<span className="text-[10px] font-semibold uppercase tracking-wider text-error-text">
|
|
127
127
|
Execution Error
|
|
128
128
|
</span>
|
|
129
129
|
</>
|
|
130
130
|
) : isAborted ? (
|
|
131
131
|
<>
|
|
132
|
-
<Ban size={11} className="text-warning" />
|
|
133
|
-
<span className="text-[10px] font-semibold uppercase tracking-wider text-warning">
|
|
132
|
+
<Ban size={11} className="text-warning-text" />
|
|
133
|
+
<span className="text-[10px] font-semibold uppercase tracking-wider text-warning-text">
|
|
134
134
|
Evaluation Aborted
|
|
135
135
|
</span>
|
|
136
136
|
</>
|
|
137
137
|
) : (
|
|
138
138
|
<>
|
|
139
|
-
<Play size={11} className="text-success" />
|
|
139
|
+
<Play size={11} className="text-success-text" />
|
|
140
140
|
<span className="text-[10px] font-semibold uppercase tracking-wider text-ink/50">
|
|
141
141
|
Evaluation Result
|
|
142
142
|
</span>
|
|
@@ -176,7 +176,7 @@ export function Eval({ tool }: { tool: ToolCallData }) {
|
|
|
176
176
|
) : (
|
|
177
177
|
<pre
|
|
178
178
|
className={`max-h-48 overflow-y-auto p-3 font-mono text-[11px] leading-relaxed whitespace-pre-wrap break-words select-text ${
|
|
179
|
-
isError ? 'text-error' : isAborted ? 'text-warning' : 'text-ink/80'
|
|
179
|
+
isError ? 'text-error-text' : isAborted ? 'text-warning-text' : 'text-ink/80'
|
|
180
180
|
}`}
|
|
181
181
|
>
|
|
182
182
|
{output}
|
|
@@ -82,10 +82,10 @@ export function FileMatches({ path, lines, matchCount, isGlobList }: FileMatches
|
|
|
82
82
|
>
|
|
83
83
|
<span
|
|
84
84
|
className={`sticky left-0 z-10 flex w-9 shrink-0 select-none items-center justify-end bg-inherit font-mono text-[10px] ${
|
|
85
|
-
line.isMatch ? 'font-semibold text-warning-
|
|
85
|
+
line.isMatch ? 'font-semibold text-warning-text' : 'text-ink/30'
|
|
86
86
|
}`}
|
|
87
87
|
>
|
|
88
|
-
{line.isMatch && <ChevronRight size={10} className="mr-0.5 text-warning" />}
|
|
88
|
+
{line.isMatch && <ChevronRight size={10} className="mr-0.5 text-warning-text" />}
|
|
89
89
|
{line.lineNum}
|
|
90
90
|
</span>
|
|
91
91
|
<pre
|
|
@@ -20,9 +20,9 @@ function stateOf(item: GithubItem): 'open' | 'merged' | 'closed' {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
const STATE_STYLES = {
|
|
23
|
-
open: 'bg-success/10 text-success',
|
|
23
|
+
open: 'bg-success/10 text-success-text',
|
|
24
24
|
merged: 'bg-ink/10 text-ink/60',
|
|
25
|
-
closed: 'bg-error/10 text-error',
|
|
25
|
+
closed: 'bg-error/10 text-error-text',
|
|
26
26
|
} as const;
|
|
27
27
|
|
|
28
28
|
function parseGithubItems(output: string): GithubItem[] {
|
|
@@ -64,11 +64,11 @@ export function Github({ tool }: { tool: ToolCallData }) {
|
|
|
64
64
|
<li key={index} className="px-2.5 py-2 text-[11.5px]">
|
|
65
65
|
<div className="flex items-center gap-1.5">
|
|
66
66
|
{state === 'merged' ? (
|
|
67
|
-
<GitMerge size={12} className="shrink-0 text-success" />
|
|
67
|
+
<GitMerge size={12} className="shrink-0 text-success-text" />
|
|
68
68
|
) : state === 'closed' ? (
|
|
69
|
-
<GitPullRequest size={12} className="shrink-0 text-error" />
|
|
69
|
+
<GitPullRequest size={12} className="shrink-0 text-error-text" />
|
|
70
70
|
) : (
|
|
71
|
-
<GitBranch size={12} className="shrink-0 text-success" />
|
|
71
|
+
<GitBranch size={12} className="shrink-0 text-success-text" />
|
|
72
72
|
)}
|
|
73
73
|
<span className="min-w-0 flex-1 truncate font-medium text-ink">{title}</span>
|
|
74
74
|
{number && <span className="shrink-0 font-mono text-[10px] text-ink/45">{number}</span>}
|
|
@@ -78,8 +78,8 @@ export function Github({ tool }: { tool: ToolCallData }) {
|
|
|
78
78
|
{author && <span>{author}</span>}
|
|
79
79
|
{(additions !== undefined || deletions !== undefined) && (
|
|
80
80
|
<span className="ml-auto font-mono">
|
|
81
|
-
{additions !== undefined && <span className="text-success">+{additions}</span>}
|
|
82
|
-
{deletions !== undefined && <span className="ml-1 text-error">-{deletions}</span>}
|
|
81
|
+
{additions !== undefined && <span className="text-success-text">+{additions}</span>}
|
|
82
|
+
{deletions !== undefined && <span className="ml-1 text-error-text">-{deletions}</span>}
|
|
83
83
|
</span>
|
|
84
84
|
)}
|
|
85
85
|
</div>
|
|
@@ -45,8 +45,8 @@ function itemStatus(item: GoalItem): 'active' | 'done' | 'paused' {
|
|
|
45
45
|
|
|
46
46
|
const STATUS_STYLES = {
|
|
47
47
|
active: 'bg-ink/8 text-ink/60',
|
|
48
|
-
done: 'bg-success/10 text-success',
|
|
49
|
-
paused: 'bg-warning/10 text-warning',
|
|
48
|
+
done: 'bg-success/10 text-success-text',
|
|
49
|
+
paused: 'bg-warning/10 text-warning-text',
|
|
50
50
|
} as const;
|
|
51
51
|
|
|
52
52
|
function extractYieldPayload(tool: ToolCallData): YieldPayload | null {
|
|
@@ -106,7 +106,7 @@ export function Goal({ tool }: { tool: ToolCallData }) {
|
|
|
106
106
|
<div className="overflow-hidden rounded-lg border border-ink/10 bg-paper text-[12px] text-ink select-text">
|
|
107
107
|
<div className="flex items-center justify-between border-b border-ink/8 bg-canvas/40 px-3 py-2">
|
|
108
108
|
<div className="flex items-center gap-2">
|
|
109
|
-
<span className={`flex h-5 w-5 items-center justify-center rounded-md ${isError || payload.error ? 'bg-error/10 text-error' : 'bg-success/10 text-success'}`}>
|
|
109
|
+
<span className={`flex h-5 w-5 items-center justify-center rounded-md ${isError || payload.error ? 'bg-error/10 text-error-text' : 'bg-success/10 text-success-text'}`}>
|
|
110
110
|
{isError || payload.error ? <AlertTriangle size={12} /> : <CheckCircle2 size={12} />}
|
|
111
111
|
</span>
|
|
112
112
|
<span className="text-[10px] font-semibold uppercase tracking-wider text-ink/70">
|
|
@@ -114,7 +114,7 @@ export function Goal({ tool }: { tool: ToolCallData }) {
|
|
|
114
114
|
</span>
|
|
115
115
|
</div>
|
|
116
116
|
{(payload.status || (isError ? 'error' : 'success')) && (
|
|
117
|
-
<span className={`rounded-full px-2 py-0.5 font-mono text-[10px] font-medium uppercase ${isError || payload.error ? 'bg-error/10 text-error' : 'bg-success/10 text-success'}`}>
|
|
117
|
+
<span className={`rounded-full px-2 py-0.5 font-mono text-[10px] font-medium uppercase ${isError || payload.error ? 'bg-error/10 text-error-text' : 'bg-success/10 text-success-text'}`}>
|
|
118
118
|
{payload.status || (isError ? 'failed' : 'success')}
|
|
119
119
|
</span>
|
|
120
120
|
)}
|
|
@@ -122,7 +122,7 @@ export function Goal({ tool }: { tool: ToolCallData }) {
|
|
|
122
122
|
|
|
123
123
|
<div className="space-y-2.5 p-3">
|
|
124
124
|
{(payload.error || (isError && tool.output)) && (
|
|
125
|
-
<div className="flex items-start gap-2 rounded-md bg-error/10 p-2.5 text-error text-[11.5px]">
|
|
125
|
+
<div className="flex items-start gap-2 rounded-md bg-error/10 p-2.5 text-error-text text-[11.5px]">
|
|
126
126
|
<AlertTriangle size={13} className="shrink-0 mt-0.5" />
|
|
127
127
|
<span className="font-mono leading-relaxed">{payload.error || tool.output}</span>
|
|
128
128
|
</div>
|
|
@@ -25,9 +25,9 @@ import { MarkdownRenderer } from '@/client/components/common/MarkdownRenderer';
|
|
|
25
25
|
|
|
26
26
|
const STATUS_STYLE: Record<GoalStatus, { label: string; className: string }> = {
|
|
27
27
|
active: { label: 'active', className: 'bg-ink/8 text-ink/70' },
|
|
28
|
-
paused: { label: 'paused', className: 'bg-warning/10 text-warning' },
|
|
29
|
-
'budget-limited': { label: 'budget-limited', className: 'bg-warning/10 text-warning' },
|
|
30
|
-
complete: { label: 'complete', className: 'bg-success/10 text-success' },
|
|
28
|
+
paused: { label: 'paused', className: 'bg-warning/10 text-warning-text' },
|
|
29
|
+
'budget-limited': { label: 'budget-limited', className: 'bg-warning/10 text-warning-text' },
|
|
30
|
+
complete: { label: 'complete', className: 'bg-success/10 text-success-text' },
|
|
31
31
|
dropped: { label: 'dropped', className: 'bg-ink/5 text-ink/45' },
|
|
32
32
|
};
|
|
33
33
|
|
|
@@ -97,14 +97,14 @@ export function GoalRecordPanel({ tool }: { tool: ToolCallData }) {
|
|
|
97
97
|
</div>
|
|
98
98
|
|
|
99
99
|
{completionReport && (
|
|
100
|
-
<div className="flex items-start gap-2 rounded-md bg-success/10 p-2.5 text-[11.5px] text-success">
|
|
100
|
+
<div className="flex items-start gap-2 rounded-md bg-success/10 p-2.5 text-[11.5px] text-success-text">
|
|
101
101
|
<CheckCircle2 size={13} className="mt-0.5 shrink-0" />
|
|
102
102
|
<span>{completionReport}</span>
|
|
103
103
|
</div>
|
|
104
104
|
)}
|
|
105
105
|
|
|
106
106
|
{!completionReport && status === 'paused' && (
|
|
107
|
-
<div className="flex items-start gap-2 rounded-md bg-warning/10 p-2.5 text-[11.5px] text-warning">
|
|
107
|
+
<div className="flex items-start gap-2 rounded-md bg-warning/10 p-2.5 text-[11.5px] text-warning-text">
|
|
108
108
|
<Pause size={13} className="mt-0.5 shrink-0" />
|
|
109
109
|
<span>Paused: the agent is not taking further steps until this is resumed.</span>
|
|
110
110
|
</div>
|
|
@@ -31,15 +31,15 @@ function severityOf(d: Diagnostic): 'error' | 'warning' | 'info' {
|
|
|
31
31
|
const SEVERITY_STYLES = {
|
|
32
32
|
error: {
|
|
33
33
|
Icon: AlertCircle,
|
|
34
|
-
color: 'text-error',
|
|
35
|
-
text: 'text-error',
|
|
36
|
-
badge: 'bg-error/10 text-error',
|
|
34
|
+
color: 'text-error-text',
|
|
35
|
+
text: 'text-error-text',
|
|
36
|
+
badge: 'bg-error/10 text-error-text',
|
|
37
37
|
},
|
|
38
38
|
warning: {
|
|
39
39
|
Icon: AlertTriangle,
|
|
40
|
-
color: 'text-warning',
|
|
41
|
-
text: 'text-warning',
|
|
42
|
-
badge: 'bg-warning/10 text-warning',
|
|
40
|
+
color: 'text-warning-text',
|
|
41
|
+
text: 'text-warning-text',
|
|
42
|
+
badge: 'bg-warning/10 text-warning-text',
|
|
43
43
|
},
|
|
44
44
|
info: {
|
|
45
45
|
Icon: Info,
|
|
@@ -199,7 +199,7 @@ export function Lsp({ tool }: { tool: ToolCallData }) {
|
|
|
199
199
|
<div className="flex items-center gap-2">
|
|
200
200
|
<Cpu size={12} className="text-ink/50" />
|
|
201
201
|
<span className="font-mono font-medium text-ink">{srv.name}</span>
|
|
202
|
-
<span className="ml-auto inline-flex items-center gap-1 font-mono text-[10px] text-success">
|
|
202
|
+
<span className="ml-auto inline-flex items-center gap-1 font-mono text-[10px] text-success-text">
|
|
203
203
|
<CheckCircle2 size={10} />
|
|
204
204
|
Connected
|
|
205
205
|
</span>
|
|
@@ -245,8 +245,8 @@ export function Lsp({ tool }: { tool: ToolCallData }) {
|
|
|
245
245
|
Diagnostics
|
|
246
246
|
</span>
|
|
247
247
|
<span className="ml-auto flex items-center gap-2 font-mono text-[10px]">
|
|
248
|
-
{errorN > 0 && <span className="flex items-center gap-1 text-error"><AlertCircle size={9} />{errorN}</span>}
|
|
249
|
-
{warningN > 0 && <span className="flex items-center gap-1 text-warning"><AlertTriangle size={9} />{warningN}</span>}
|
|
248
|
+
{errorN > 0 && <span className="flex items-center gap-1 text-error-text"><AlertCircle size={9} />{errorN}</span>}
|
|
249
|
+
{warningN > 0 && <span className="flex items-center gap-1 text-warning-text"><AlertTriangle size={9} />{warningN}</span>}
|
|
250
250
|
{infoN > 0 && <span className="flex items-center gap-1 text-ink/50"><Info size={9} />{infoN}</span>}
|
|
251
251
|
</span>
|
|
252
252
|
</div>
|
|
@@ -23,10 +23,10 @@ function itemStatus(s: SkillItem): 'enabled' | 'disabled' | 'installed' | 'remov
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
const STATUS_STYLES = {
|
|
26
|
-
enabled: 'bg-success/10 text-success',
|
|
26
|
+
enabled: 'bg-success/10 text-success-text',
|
|
27
27
|
installed: 'bg-ink/8 text-ink/60',
|
|
28
28
|
disabled: 'bg-ink/5 text-ink/45',
|
|
29
|
-
removed: 'bg-error/10 text-error',
|
|
29
|
+
removed: 'bg-error/10 text-error-text',
|
|
30
30
|
} as const;
|
|
31
31
|
|
|
32
32
|
function parseSkills(output: string): SkillItem[] {
|
|
@@ -73,7 +73,7 @@ export function ManageSkill({ tool }: { tool: ToolCallData }) {
|
|
|
73
73
|
return (
|
|
74
74
|
<div key={index} className="flex items-center gap-2 px-2.5 py-1.5 text-[11.5px]">
|
|
75
75
|
{status === 'removed' ? (
|
|
76
|
-
<PackageX size={11} className="shrink-0 text-error" />
|
|
76
|
+
<PackageX size={11} className="shrink-0 text-error-text" />
|
|
77
77
|
) : (
|
|
78
78
|
<PackageCheck size={11} className="shrink-0 text-ink/40" />
|
|
79
79
|
)}
|
|
@@ -37,9 +37,9 @@ import { jobSubject, jobProgressLine } from '@/shared/lib/omp/session/job-progre
|
|
|
37
37
|
/** Tone → class list. A toned chip is text-only; the ink palette has no room
|
|
38
38
|
* for a filled pill in a dense row. */
|
|
39
39
|
const TONE_CLASSES = {
|
|
40
|
-
ok: 'text-success',
|
|
41
|
-
warn: 'text-warning',
|
|
42
|
-
error: 'text-error',
|
|
40
|
+
ok: 'text-success-text',
|
|
41
|
+
warn: 'text-warning-text',
|
|
42
|
+
error: 'text-error-text',
|
|
43
43
|
muted: 'text-ink/50',
|
|
44
44
|
} as const;
|
|
45
45
|
|
|
@@ -99,11 +99,11 @@ function JobRow({ job }: { job: ProcJob }) {
|
|
|
99
99
|
{running ? (
|
|
100
100
|
<Loader2 size={11} className="shrink-0 animate-spin text-ink/50" />
|
|
101
101
|
) : job.status === 'failed' ? (
|
|
102
|
-
<CircleSlash size={11} className="shrink-0 text-error" />
|
|
102
|
+
<CircleSlash size={11} className="shrink-0 text-error-text" />
|
|
103
103
|
) : job.status === 'cancelled' ? (
|
|
104
|
-
<CircleSlash size={11} className="shrink-0 text-warning" />
|
|
104
|
+
<CircleSlash size={11} className="shrink-0 text-warning-text" />
|
|
105
105
|
) : (
|
|
106
|
-
<CheckCircle2 size={11} className="shrink-0 text-success" />
|
|
106
|
+
<CheckCircle2 size={11} className="shrink-0 text-success-text" />
|
|
107
107
|
)}
|
|
108
108
|
{job.id && <span className="shrink-0 font-mono text-[10px] font-semibold text-ink/80">{job.id}</span>}
|
|
109
109
|
{job.type && (
|
|
@@ -161,7 +161,7 @@ function DaemonRow({ daemon, now }: { daemon: ProcDaemon; now: number }) {
|
|
|
161
161
|
function AgentRow({ agent }: { agent: ProcAgent }) {
|
|
162
162
|
return (
|
|
163
163
|
<div className="flex items-center gap-2 px-3 py-1.5 text-[11.5px]">
|
|
164
|
-
<Radio size={11} className={`shrink-0 ${agent.live ? 'animate-pulse text-ink/60' : 'text-warning'}`} />
|
|
164
|
+
<Radio size={11} className={`shrink-0 ${agent.live ? 'animate-pulse text-ink/60' : 'text-warning-text'}`} />
|
|
165
165
|
<span className="shrink-0 font-mono text-[10px] font-semibold text-ink/80">{agent.id}</span>
|
|
166
166
|
<span className="min-w-0 flex-1 truncate text-ink/85">{agent.activity ?? 'agent'}</span>
|
|
167
167
|
{typeof agent.ageMs === 'number' && (
|
|
@@ -267,7 +267,7 @@ export function Proc({ tool }: { tool: ToolCallData }) {
|
|
|
267
267
|
const subject = jobSubject(job ?? {});
|
|
268
268
|
return (
|
|
269
269
|
<div key={`${outcome.id ?? index}`} className="flex items-center gap-2 px-3 py-1.5 text-[11.5px]">
|
|
270
|
-
<CircleSlash size={11} className="shrink-0 text-warning" />
|
|
270
|
+
<CircleSlash size={11} className="shrink-0 text-warning-text" />
|
|
271
271
|
<span className="shrink-0 font-mono text-[10px] font-semibold text-ink/80">{outcome.id ?? 'job'}</span>
|
|
272
272
|
<span className="min-w-0 flex-1 truncate text-ink/70" title={subject.primary}>
|
|
273
273
|
{subject.primary ?? subject.secondary ?? ''}
|
|
@@ -46,9 +46,9 @@ export function Resolve({ tool }: { tool: ToolCallData }) {
|
|
|
46
46
|
<div className="flex items-center justify-between gap-2 border-b border-ink/6 pb-2">
|
|
47
47
|
<div className="flex items-center gap-2">
|
|
48
48
|
{isReject ? (
|
|
49
|
-
<XCircle size={14} className="text-warning shrink-0" />
|
|
49
|
+
<XCircle size={14} className="text-warning-text shrink-0" />
|
|
50
50
|
) : (
|
|
51
|
-
<CheckCircle2 size={14} className="text-success shrink-0" />
|
|
51
|
+
<CheckCircle2 size={14} className="text-success-text shrink-0" />
|
|
52
52
|
)}
|
|
53
53
|
<span className="font-mono text-[11px] font-semibold text-ink">
|
|
54
54
|
{isReject ? 'Proposal Discarded' : 'Proposal Applied'}
|
|
@@ -60,7 +60,7 @@ export function Resolve({ tool }: { tool: ToolCallData }) {
|
|
|
60
60
|
|
|
61
61
|
<span
|
|
62
62
|
className={`rounded-full px-2 py-0.5 font-mono text-[10px] font-semibold ${
|
|
63
|
-
isReject ? 'bg-warning/10 text-warning' : 'bg-success/10 text-success'
|
|
63
|
+
isReject ? 'bg-warning/10 text-warning-text' : 'bg-success/10 text-success-text'
|
|
64
64
|
}`}
|
|
65
65
|
>
|
|
66
66
|
{isReject ? 'REJECTED' : 'RESOLVED'}
|
package/src/client/components/workspace/chat-timeline/tool-renderers/panels/SecurityScan.tsx
CHANGED
|
@@ -20,8 +20,8 @@ function severityOf(f: ScanFinding): 'high' | 'medium' | 'low' | 'info' {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
const SEVERITY_STYLES = {
|
|
23
|
-
high: 'bg-error/10 text-error',
|
|
24
|
-
medium: 'bg-warning/10 text-warning',
|
|
23
|
+
high: 'bg-error/10 text-error-text',
|
|
24
|
+
medium: 'bg-warning/10 text-warning-text',
|
|
25
25
|
low: 'bg-ink/8 text-ink/60',
|
|
26
26
|
info: 'bg-ink/5 text-ink/50',
|
|
27
27
|
} as const;
|
|
@@ -56,7 +56,7 @@ export function SecurityScan({ tool }: { tool: ToolCallData }) {
|
|
|
56
56
|
if (findings.length === 0) {
|
|
57
57
|
if (!tool.output) {
|
|
58
58
|
return (
|
|
59
|
-
<div className="flex items-center gap-2 rounded-lg border border-success/20 bg-success/[0.04] px-3 py-2.5 text-[11.5px] text-success">
|
|
59
|
+
<div className="flex items-center gap-2 rounded-lg border border-success/20 bg-success/[0.04] px-3 py-2.5 text-[11.5px] text-success-text">
|
|
60
60
|
<ShieldCheck size={13} className="shrink-0" />
|
|
61
61
|
<span>No issues found</span>
|
|
62
62
|
</div>
|
|
@@ -72,8 +72,8 @@ export function SecurityScan({ tool }: { tool: ToolCallData }) {
|
|
|
72
72
|
<div className="flex items-center gap-2 border-b border-ink/8 bg-paper px-2.5 py-1.5">
|
|
73
73
|
<span className="text-[10px] font-semibold uppercase tracking-[0.14em] text-ink/40">Findings</span>
|
|
74
74
|
<span className="ml-auto flex items-center gap-1.5 font-mono text-[10px]">
|
|
75
|
-
{counts.high > 0 && <span className="rounded-full bg-error/10 px-1.5 py-px text-error">{counts.high} high</span>}
|
|
76
|
-
{counts.medium > 0 && <span className="rounded-full bg-warning/10 px-1.5 py-px text-warning">{counts.medium} med</span>}
|
|
75
|
+
{counts.high > 0 && <span className="rounded-full bg-error/10 px-1.5 py-px text-error-text">{counts.high} high</span>}
|
|
76
|
+
{counts.medium > 0 && <span className="rounded-full bg-warning/10 px-1.5 py-px text-warning-text">{counts.medium} med</span>}
|
|
77
77
|
{counts.low > 0 && <span className="rounded-full bg-ink/8 px-1.5 py-px text-ink/55">{counts.low} low</span>}
|
|
78
78
|
</span>
|
|
79
79
|
</div>
|
|
@@ -86,7 +86,7 @@ export function SecurityScan({ tool }: { tool: ToolCallData }) {
|
|
|
86
86
|
const rule = typeof f.rule === 'string' ? f.rule : undefined;
|
|
87
87
|
return (
|
|
88
88
|
<div key={index} className="flex items-start gap-2 px-2.5 py-1.5 text-[11.5px]">
|
|
89
|
-
<ShieldAlert size={11} className={`mt-0.5 shrink-0 ${sev === 'high' ? 'text-error' : sev === 'medium' ? 'text-warning' : 'text-ink/40'}`} />
|
|
89
|
+
<ShieldAlert size={11} className={`mt-0.5 shrink-0 ${sev === 'high' ? 'text-error-text' : sev === 'medium' ? 'text-warning-text' : 'text-ink/40'}`} />
|
|
90
90
|
<span className="min-w-0 flex-1 break-words">
|
|
91
91
|
<span className={`mr-1.5 rounded-full px-1.5 py-px font-mono text-[10px] ${SEVERITY_STYLES[sev]}`}>{sev}</span>
|
|
92
92
|
{file && <span className="font-mono text-[10px] text-ink/45">{file}{line !== undefined ? `:${line}` : ''}: </span>}
|
|
@@ -42,8 +42,8 @@ function rowStatus(row: TaskRow): 'running' | 'done' | 'failed' | 'aborted' {
|
|
|
42
42
|
|
|
43
43
|
const STATUS_STYLES = {
|
|
44
44
|
running: { icon: <Loader2 size={11} className="animate-spin text-ink/50" />, label: 'running' },
|
|
45
|
-
done: { icon: <CheckCircle2 size={11} className="text-success" />, label: 'done' },
|
|
46
|
-
failed: { icon: <XCircle size={11} className="text-error" />, label: 'failed' },
|
|
45
|
+
done: { icon: <CheckCircle2 size={11} className="text-success-text" />, label: 'done' },
|
|
46
|
+
failed: { icon: <XCircle size={11} className="text-error-text" />, label: 'failed' },
|
|
47
47
|
aborted: { icon: <Ban size={11} className="text-ink/35" />, label: 'aborted' },
|
|
48
48
|
} as const;
|
|
49
49
|
|
|
@@ -69,7 +69,7 @@ export function Todo({ tool }: { tool: ToolCallData }) {
|
|
|
69
69
|
<ListTodo size={13} className="text-ink/60" />
|
|
70
70
|
<span className="text-[11px] font-semibold text-ink">Todo</span>
|
|
71
71
|
{opBadge && (
|
|
72
|
-
<span className="rounded bg-success/10 px-2 py-0.5 font-mono text-[10px] font-medium text-success">
|
|
72
|
+
<span className="rounded bg-success/10 px-2 py-0.5 font-mono text-[10px] font-medium text-success-text">
|
|
73
73
|
{opBadge}
|
|
74
74
|
</span>
|
|
75
75
|
)}
|