@qredence/fleet 0.6.2 → 0.6.4
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/CHANGELOG.md +16 -0
- package/dist/web/client/assets/DialogTitle-BwQ9k-MZ.js +1 -0
- package/dist/web/client/assets/agent-disclosure-YgLa4c2y.js +1 -0
- package/dist/web/client/assets/alert-dialog-BfK7648p.js +1 -0
- package/dist/web/client/assets/analytics-stub-BY-GADyA.js +1 -0
- package/dist/web/client/assets/arrow-up-DCwrqIrK.js +1 -0
- package/dist/web/client/assets/artifacts-panel-DDlPULVv.js +1 -0
- package/dist/web/client/assets/bot-DETalD3q.js +1 -0
- package/dist/web/client/assets/{button-Dl0ce3Y5.js → button-BrwYi6QP.js} +1 -1
- package/dist/web/client/assets/{card-DCEnYd2G.js → card-BScRdZNS.js} +1 -1
- package/dist/web/client/assets/chat-command-palette-DdPlRVuL.js +1 -0
- package/dist/web/client/assets/chat-helpers-Bj7_hES7.js +1 -0
- package/dist/web/client/assets/check-BTwIaCtI.js +1 -0
- package/dist/web/client/assets/chevron-down-Bse1ggZM.js +1 -0
- package/dist/web/client/assets/chevron-right-BPCB1mOg.js +1 -0
- package/dist/web/client/assets/chunk-YOKDWASO-C8deEx7Z.js +143 -0
- package/dist/web/client/assets/circle-check-DBhaebaM.js +1 -0
- package/dist/web/client/assets/citations-DOkXsdCi.js +1 -0
- package/dist/web/client/assets/clsx-DB0hHKMi.js +1 -0
- package/dist/web/client/assets/{collapsible-CUxOjhDJ.js → collapsible-DsbKpD_Y.js} +1 -1
- package/dist/web/client/assets/command-DSxdh_1v.js +1 -0
- package/dist/web/client/assets/composer-intent-C5pz72T6.js +62 -0
- package/dist/web/client/assets/create-project-dialog-CaXurRpm.js +1 -0
- package/dist/web/client/assets/{createBaseUIEventDetails-B58Jldei.js → createBaseUIEventDetails-DklXWq23.js} +1 -1
- package/dist/web/client/assets/createLucideIcon-CQY2ECfR.js +1 -0
- package/dist/web/client/assets/dialog-B9nXTto4.js +1 -0
- package/dist/web/client/assets/{dist-DbHxXSgQ.js → dist-BJJVCio8.js} +1 -1
- package/dist/web/client/assets/dist-BogNzeK9.js +1 -0
- package/dist/web/client/assets/{ease-CMumuPlX.js → ease-2UPBQU5v.js} +1 -1
- package/dist/web/client/assets/eye-iNSvs0UA.js +1 -0
- package/dist/web/client/assets/file-text-cqOanUYv.js +1 -0
- package/dist/web/client/assets/folder-COBtkKZa.js +1 -0
- package/dist/web/client/assets/{fork-picker-dialog-CpwEwsxA.js → fork-picker-dialog-DEdHU89A.js} +1 -1
- package/dist/web/client/assets/gauge-0Nn96wfZ.js +1 -0
- package/dist/web/client/assets/git-branch-DZEh2mM2.js +1 -0
- package/dist/web/client/assets/globals-B-fD_O7k.css +2 -0
- package/dist/web/client/assets/hard-drive-B3opVeEB.js +1 -0
- package/dist/web/client/assets/{highlighted-body-KPVGNVTW-CgT7gqvs.js → highlighted-body-KPVGNVTW-CZcNaoxi.js} +1 -1
- package/dist/web/client/assets/horizontal-resize-5AxYvGLA.js +1 -0
- package/dist/web/client/assets/index-BJIGh8ag.js +12 -0
- package/dist/web/client/assets/{input-CxZp56Im.js → input-BceH49B1.js} +1 -1
- package/dist/web/client/assets/{input-group-D7lAfKHR.js → input-group-DThl_vkS.js} +1 -1
- package/dist/web/client/assets/ipython-tool-CuSGRhXl.js +3 -0
- package/dist/web/client/assets/is-ref-object-CEXqIz6L.js +1 -0
- package/dist/web/client/assets/loader-circle-BmKYM_C4.js +1 -0
- package/dist/web/client/assets/markdown-C-Y9gskI.js +2 -0
- package/dist/web/client/assets/{markdown-code-CDTRq-HZ.js → markdown-code-BqFVdovL.js} +1 -1
- package/dist/web/client/assets/mermaid-HWGCJPDP-CVNXPao6.js +1 -0
- package/dist/web/client/assets/{message-queue-Dl8wbCOu.js → message-queue-CPYj2iaw.js} +1 -1
- package/dist/web/client/assets/{model-selector-list-CRZCXeBf.js → model-selector-list-DDsuJCgB.js} +1 -1
- package/dist/web/client/assets/{notify-DjVixft7.js → notify-GSsGEKtR.js} +1 -1
- package/dist/web/client/assets/{openui-renderer-Bkkx5kmA.js → openui-renderer-l1qI5JDt.js} +41 -41
- package/dist/web/client/assets/package-BkC-HSi-.js +1 -0
- package/dist/web/client/assets/pencil-Cbgq3ybX.js +1 -0
- package/dist/web/client/assets/plug-wCz-036u.js +1 -0
- package/dist/web/client/assets/prompt-input-a7UP_MAw.js +1 -0
- package/dist/web/client/assets/{prompt-suggestions-BNyTcyWg.js → prompt-suggestions-ULqmPijZ.js} +1 -1
- package/dist/web/client/assets/provider-catalog-L0c-bZv6.js +1 -0
- package/dist/web/client/assets/provider-label-Buq3HZrP.js +1 -0
- package/dist/web/client/assets/react-Cvdyeg_0.js +1 -0
- package/dist/web/client/assets/react-dom-B7th3XGm.js +1 -0
- package/dist/web/client/assets/refresh-cw-CqPE3kNY.js +1 -0
- package/dist/web/client/assets/{repl-panel-L9dmPqio.js → repl-panel-UQN9UFG7.js} +1 -1
- package/dist/web/client/assets/resource-helpers-CKbSmzpw.js +2 -0
- package/dist/web/client/assets/{resources-panel-mT-aMCvV.js → resources-panel-kp_UjnpX.js} +1 -1
- package/dist/web/client/assets/right-panel-context-DHKWoetk.js +1 -0
- package/dist/web/client/assets/right-panel-registry-BqtgZw7Z.js +2 -0
- package/dist/web/client/assets/rotate-ccw-DLkfsmG9.js +1 -0
- package/dist/web/client/assets/routes-C37r2W1K.js +16 -0
- package/dist/web/client/assets/safe-external-url-BnEhm9A0.js +1 -0
- package/dist/web/client/assets/search-Cb6fFWew.js +1 -0
- package/dist/web/client/assets/{session-reasoning-panel-8D2P7iaJ.js → session-reasoning-panel-BAtKTsjn.js} +1 -1
- package/dist/web/client/assets/session-tool-renderer-pGdW2MnV.js +1389 -0
- package/dist/web/client/assets/session-tree-panel-DF3kuF0P.js +1 -0
- package/dist/web/client/assets/settings-dialog-BRWheaBZ.js +2 -0
- package/dist/web/client/assets/{skeleton-C3mo31Qu.js → skeleton-D5Y9nBfp.js} +1 -1
- package/dist/web/client/assets/{skeleton-loaders-BMa_G4yX.js → skeleton-loaders-DOKGa7CW.js} +1 -1
- package/dist/web/client/assets/sparkles-C4VQyMox.js +1 -0
- package/dist/web/client/assets/spinner-C3sPnLdu.js +1 -0
- package/dist/web/client/assets/square-BbTF3gLc.js +1 -0
- package/dist/web/client/assets/square-terminal-BLq2bQVF.js +1 -0
- package/dist/web/client/assets/{subagent-chat-panel-C5ukYiUx.js → subagent-chat-panel-B6d4Z3bV.js} +1 -1
- package/dist/web/client/assets/subagent-transcript-CQuPs6N4.js +1 -0
- package/dist/web/client/assets/{subagents-panel-SJKhaVTr.js → subagents-panel-ajf--C_-.js} +1 -1
- package/dist/web/client/assets/sun-C7zg8Oas.js +1 -0
- package/dist/web/client/assets/{surfaces-CpfsGAIA.js → surfaces-BULKVm-B.js} +1 -1
- package/dist/web/client/assets/switch-CoSNSJEY.js +1 -0
- package/dist/web/client/assets/terminal-Ceucj7us.js +1 -0
- package/dist/web/client/assets/toast-CS0pnDlS.js +1 -0
- package/dist/web/client/assets/tokens-BcUIpW6Y.js +1 -0
- package/dist/web/client/assets/tool-result-C-vs_tjQ.js +4 -0
- package/dist/web/client/assets/tool-timeline-B4ci1oJg.js +1 -0
- package/dist/web/client/assets/triangle-alert-BuzmrrqI.js +1 -0
- package/dist/web/client/assets/types-Cr5Z97oW.js +1 -0
- package/dist/web/client/assets/{ui-preferences-aG2U2jjW.js → ui-preferences-1YaENqef.js} +1 -1
- package/dist/web/client/assets/{use-presence-7I2qv4qI.js → use-presence-D2YmRKr3.js} +1 -1
- package/dist/web/client/assets/{use-reduced-motion-BOcG709U.js → use-reduced-motion-CaQBb3Qc.js} +2 -2
- package/dist/web/client/assets/{useBaseUiId-D9ZGPZ6f.js → useBaseUiId-BlzQUkVG.js} +1 -1
- package/dist/web/client/assets/{useControlled-CgAAWIy9.js → useControlled-CkQSkSv1.js} +1 -1
- package/dist/web/client/assets/utils-Dpy9ZFOr.js +1 -0
- package/dist/web/client/assets/virtualized-turn-list-Bcq088gZ.js +6 -0
- package/dist/web/client/assets/workspace-panel-CjKMroC6.js +1 -0
- package/dist/web/client/assets/{workspace-path-nav-DqPbETfJ.js → workspace-path-nav-DmxBrMV6.js} +2 -2
- package/dist/web/client/assets/wrench-BYnD147U.js +1 -0
- package/dist/web/client/assets/x-DEU6H3M-.js +1 -0
- package/dist/web/client/bundle-budget.json +6 -6
- package/dist/web/server/_tanstack-start-manifest_v-BZR0i182-OLTGGEDQ.js +96 -0
- package/dist/web/server/{artifacts-panel-BN3DgqfV-N73J6N5Y.js → artifacts-panel-BySfu7im-AKBWHYJS.js} +75 -67
- package/dist/web/server/{chat-command-palette-G8awyZRw-2QE7FXGT.js → chat-command-palette-BLGKnp-w-OKFIKD3T.js} +52 -43
- package/dist/web/server/{chunk-6SOMNRAX.js → chunk-22XP6PHK.js} +56 -17
- package/dist/web/server/{chunk-O2UYZT3Z.js → chunk-2GQATGF4.js} +93 -37
- package/dist/web/server/{chunk-EDAWH2MT.js → chunk-2HOITUWV.js} +5 -5
- package/dist/web/server/{chunk-NZ6KQT2X.js → chunk-2XQYM4KB.js} +2 -2
- package/dist/web/server/{chunk-K6PTNSCW.js → chunk-36BG6OPK.js} +2 -2
- package/dist/web/server/chunk-3OOZPQZF.js +51 -0
- package/dist/web/server/{chunk-YMPJMHXZ.js → chunk-3YYNG52U.js} +5774 -4759
- package/dist/web/server/{chunk-NMBH57JT.js → chunk-47TH5VUT.js} +17 -15
- package/dist/web/server/{chunk-CCYLHNZJ.js → chunk-4B2PJSK5.js} +150 -1787
- package/dist/web/server/chunk-4IVORBQD.js +39 -0
- package/dist/web/server/{chunk-CW6KZUKT.js → chunk-4LBXVBM7.js} +5 -5
- package/dist/web/server/{chunk-DKD32TRM.js → chunk-5FIJPXUA.js} +3343 -14
- package/dist/web/server/{chunk-JVOW2NWC.js → chunk-5VPNOUVY.js} +13 -104
- package/dist/web/server/chunk-7LUHWO5G.js +28 -0
- package/dist/web/server/chunk-7SZKAHLD.js +25 -0
- package/dist/web/server/{chunk-UE32PAV2.js → chunk-ACZS5EEZ.js} +4 -4
- package/dist/web/server/{chunk-CAPTFJOC.js → chunk-AWVHN432.js} +4 -4
- package/dist/web/server/{chunk-SDV3P3IW.js → chunk-BMXYQRMJ.js} +96 -78
- package/dist/web/server/{chunk-OVJYUWSQ.js → chunk-C2YGLMFE.js} +1 -1
- package/dist/web/server/{chunk-7HXCGBUP.js → chunk-CIE2PLNB.js} +5 -5
- package/dist/web/server/chunk-CMOAC245.js +28 -0
- package/dist/web/server/{chunk-7FK6YEMA.js → chunk-CRCVWYBA.js} +2 -9
- package/dist/web/server/chunk-DIVIHC5K.js +100 -0
- package/dist/web/server/{chunk-XJ6TGSUB.js → chunk-EKVRPCBJ.js} +1 -1
- package/dist/web/server/{chunk-ZNFXBGLK.js → chunk-ERYPONRF.js} +1 -1
- package/dist/web/server/chunk-F3OV445J.js +25 -0
- package/dist/web/server/{chunk-5727TXOK.js → chunk-F5DJQ3PQ.js} +36 -36
- package/dist/web/server/{chunk-NCK2FJAD.js → chunk-FAJILEF2.js} +142 -110
- package/dist/web/server/{chunk-JPDRUSUD.js → chunk-FF2M3MLP.js} +2 -2
- package/dist/web/server/{chunk-IPV4GLJL.js → chunk-FHZAFF2A.js} +7 -24
- package/dist/web/server/chunk-FOMB2JR7.js +26 -0
- package/dist/web/server/{chunk-43S5N7SH.js → chunk-FVWPODLT.js} +9 -8
- package/dist/web/server/chunk-G3WQTXJY.js +25 -0
- package/dist/web/server/{chunk-ESM7OCRL.js → chunk-GLNLSEZJ.js} +7 -7
- package/dist/web/server/chunk-GNDXVFJY.js +28 -0
- package/dist/web/server/chunk-GR765UTQ.js +102 -0
- package/dist/web/server/{chunk-RXUMFFUV.js → chunk-GSG3K6RA.js} +2 -2
- package/dist/web/server/chunk-HFN4TNR3.js +31 -0
- package/dist/web/server/chunk-I36LJXNY.js +113 -0
- package/dist/web/server/{chunk-ZOVXMNJM.js → chunk-IIPUA4LB.js} +249 -304
- package/dist/web/server/{chunk-7PQTPSEE.js → chunk-INWLYZZ6.js} +1 -1
- package/dist/web/server/chunk-JCK6B7ZW.js +1677 -0
- package/dist/web/server/chunk-JEQQEY6O.js +30 -0
- package/dist/web/server/{chunk-4OTHKQMG.js → chunk-JLGBOCFM.js} +145 -111
- package/dist/web/server/chunk-JVXQQYXB.js +154 -0
- package/dist/web/server/{chunk-FT74GAAH.js → chunk-JZ2WBCIH.js} +674 -669
- package/dist/web/server/chunk-KABZXD6N.js +152 -0
- package/dist/web/server/{chunk-WB2LJC3R.js → chunk-L2SVMQWB.js} +14 -45
- package/dist/web/server/chunk-LOFZS555.js +28 -0
- package/dist/web/server/{chunk-MJXXVQNA.js → chunk-LQRH6BP6.js} +25 -18
- package/dist/web/server/{chunk-WU6X3GPJ.js → chunk-MTVGA2MH.js} +72 -52
- package/dist/web/server/{chunk-DLA5TLKX.js → chunk-NHZRY22Z.js} +110 -39
- package/dist/web/server/chunk-NZ5YXXQ5.js +39 -0
- package/dist/web/server/chunk-ONWT54IL.js +148 -0
- package/dist/web/server/{chunk-E5HALE4M.js → chunk-OYWUPJ72.js} +2 -2
- package/dist/web/server/{chunk-YVGCPUAW.js → chunk-PISNXFEK.js} +3 -3
- package/dist/web/server/{chunk-33QA7BQJ.js → chunk-PYTU4DGR.js} +16 -10
- package/dist/web/server/{chunk-7E76R7MB.js → chunk-QHCQDVCQ.js} +1 -2
- package/dist/web/server/{chunk-ENGEUJIH.js → chunk-QN7KFCUW.js} +4321 -3650
- package/dist/web/server/chunk-QWWG3YC6.js +25 -0
- package/dist/web/server/chunk-RPGWRA2X.js +39 -0
- package/dist/web/server/chunk-RPWKCJHL.js +18 -0
- package/dist/web/server/chunk-RWYAKZCZ.js +39 -0
- package/dist/web/server/chunk-SGMJ5CGW.js +36 -0
- package/dist/web/server/{chunk-BQROC4PL.js → chunk-TNZKPEE6.js} +13 -7
- package/dist/web/server/chunk-TSOBRZPG.js +41 -0
- package/dist/web/server/{chunk-BUXJSBE3.js → chunk-UIUZ4ETR.js} +2 -2
- package/dist/web/server/{chunk-TLNZNR7C.js → chunk-UUDBEYKV.js} +2 -2
- package/dist/web/server/{chunk-HQ5TEXHT.js → chunk-UXS5E6OE.js} +4 -4
- package/dist/web/server/chunk-V7PDLH3T.js +73 -0
- package/dist/web/server/chunk-VCQ65B3G.js +28 -0
- package/dist/web/server/{chunk-IXGLKAPN.js → chunk-VHLBXWEN.js} +57 -42
- package/dist/web/server/{chunk-OMEDERPG.js → chunk-WU6KNEGU.js} +47 -32
- package/dist/web/server/chunk-X37KO4BO.js +29 -0
- package/dist/web/server/chunk-X5AQ7KHU.js +22 -0
- package/dist/web/server/chunk-XZCIEF54.js +28 -0
- package/dist/web/server/{chunk-7NZ3FJDA.js → chunk-YBCP4V6T.js} +2 -2
- package/dist/web/server/{chunk-7UTDOTOU.js → chunk-YKJJDQAK.js} +28 -100
- package/dist/web/server/chunk-Z4OTKGMN.js +25 -0
- package/dist/web/server/chunk-ZJIELDZL.js +39 -0
- package/dist/web/server/{chunk-UDD5W4CR.js → chunk-ZMF45HAO.js} +58 -45
- package/dist/web/server/chunk-ZNED4KTU.js +105 -0
- package/dist/web/server/chunk-ZNI5AL4B.js +30 -0
- package/dist/web/server/create-project-dialog-CigfFgAj-QS27NAJH.js +295 -0
- package/dist/web/server/{fork-picker-dialog-YKlapaxN-DR5L74ST.js → fork-picker-dialog-B5J-S5Nm-QOMVVHI7.js} +11 -10
- package/dist/web/server/{highlighted-body-KPVGNVTW-Ct6g7FVa-YZHVMLW4.js → highlighted-body-KPVGNVTW-D4Xsgab0-BZNKZ2YE.js} +3 -3
- package/dist/web/server/{markdown-BzNejPoZ-6ITTDAV6.js → markdown-DaTMVcnu-37DWI2JW.js} +4 -4
- package/dist/web/server/{markdown-code-DAwXuW6m-HHVELO6I.js → markdown-code-Cvz3a-x3-WAD4KC4A.js} +5 -5
- package/dist/web/server/{mermaid-HWGCJPDP-Ca26PwPZ-5EWRESLM.js → mermaid-HWGCJPDP-CDDePcVz-4BWFRGWL.js} +2 -2
- package/dist/web/server/{message-queue-Demph1x4-RBJUC3AT.js → message-queue-BsrLcNPX-CUCBSF6U.js} +15 -14
- package/dist/web/server/{model-selector-list-BmzLiCx9-TK6JGGKU.js → model-selector-list-Csw4nOra-IOMN5JMO.js} +23 -22
- package/dist/web/server/openui-renderer-TbIFXEW2-BET2OXM2.js +39 -0
- package/dist/web/server/{prompt-suggestions-yPZqX__K-3VGJC4IF.js → prompt-suggestions-D6RXFQF4-7WHYRNMN.js} +5 -5
- package/dist/web/server/{repl-panel-CgUF1qUw-3DFD2V53.js → repl-panel-CBwh0VGD-USDEOGGJ.js} +8 -9
- package/dist/web/server/{resources-panel-ChUliWV--JITAGS6Q.js → resources-panel-rn64m-sL-7QXEGRNX.js} +9 -10
- package/dist/web/server/{router-CPdFlpbe-LAD4MNZB.js → router-RPObiwZR-AFMFSYSZ.js} +2852 -186
- package/dist/web/server/{routes-hkom6S6L-DUPPQHPY.js → routes-Dn-deuPY-MDXEQXRU.js} +2219 -2435
- package/dist/web/server/server.js +6 -6
- package/dist/web/server/{session-insights-panel-xgrkX1Rp-FDNURBXZ.js → session-insights-panel-DKkakWj6-ITHKDXF4.js} +1 -1
- package/dist/web/server/{session-reasoning-panel-m1RgcIph-NUXGXVKE.js → session-reasoning-panel-CXMCAM8C-HZMR5JCO.js} +9 -10
- package/dist/web/server/session-tool-renderer-jldnNioy-5ATOVAG5.js +46 -0
- package/dist/web/server/session-tree-panel-WaHHv775-HRUHFSFO.js +229 -0
- package/dist/web/server/{settings-dialog-BCEfmgtP-T3WQEZHB.js → settings-dialog-CzeangBl-YKL7CLPF.js} +565 -388
- package/dist/web/server/{start-DVUbMfrb-ELVIFRUY.js → start-QK6aG02q-RXFV6K5L.js} +1 -1
- package/dist/web/server/{subagent-chat-panel-BTwI1kdB-LKBWA4GD.js → subagent-chat-panel-Fa31QewE-YDPOKN74.js} +49 -46
- package/dist/web/server/{subagents-panel-8Z9_csoV-HYMEEBHB.js → subagents-panel-DjOcQxp4-GZYOZOYC.js} +46 -44
- package/dist/web/server/tool-timeline-CfuizRid-L3Y3OSCH.js +15 -0
- package/dist/web/server/{workspace-panel-BHEB9nRM-TS62SYBA.js → workspace-panel-BU50q4Bu-JHTQPR6R.js} +109 -93
- package/package.json +1 -1
- package/dist/web/client/assets/agent-disclosure-CMrxF7L-.js +0 -1
- package/dist/web/client/assets/analytics-stub-C2vgmGm_.js +0 -1
- package/dist/web/client/assets/artifacts-panel-DmQghvw8.js +0 -1
- package/dist/web/client/assets/bot-DbB9BKL0.js +0 -1
- package/dist/web/client/assets/bundle-mjs-cJTHqqzI.js +0 -1
- package/dist/web/client/assets/chat-C24kD2SP.js +0 -52
- package/dist/web/client/assets/chat-command-palette-BIwjhE6s.js +0 -1
- package/dist/web/client/assets/check-B3LlvM65.js +0 -1
- package/dist/web/client/assets/chevron-down-DUUprRP5.js +0 -1
- package/dist/web/client/assets/chevron-right-NVqQIoiO.js +0 -1
- package/dist/web/client/assets/chunk-YOKDWASO-Bte3iwlH.js +0 -143
- package/dist/web/client/assets/citations-BUvM92nt.js +0 -1
- package/dist/web/client/assets/command-Dv96gATQ.js +0 -1
- package/dist/web/client/assets/createLucideIcon-_dfI7Arx.js +0 -1
- package/dist/web/client/assets/dialog-BCb4rQh0.js +0 -1
- package/dist/web/client/assets/dist-52wg4XPY.js +0 -1
- package/dist/web/client/assets/eye-CDHqtVoE.js +0 -1
- package/dist/web/client/assets/file-text-TmalmYrb.js +0 -1
- package/dist/web/client/assets/folder-vuNT4shY.js +0 -1
- package/dist/web/client/assets/gauge-BsDqNM1A.js +0 -1
- package/dist/web/client/assets/globals-DCtBkCSD.css +0 -2
- package/dist/web/client/assets/hard-drive-BT7UxHQu.js +0 -1
- package/dist/web/client/assets/horizontal-resize-VLjLByUV.js +0 -1
- package/dist/web/client/assets/index-BGnQeUYE.js +0 -12
- package/dist/web/client/assets/ipython-tool-CkHaO3PW.js +0 -3
- package/dist/web/client/assets/is-ref-object-BcRWZ4l7.js +0 -1
- package/dist/web/client/assets/loader-circle-B5GIZGxd.js +0 -1
- package/dist/web/client/assets/markdown-BHkByC9K.js +0 -2
- package/dist/web/client/assets/mermaid-HWGCJPDP-CY3N5ECk.js +0 -1
- package/dist/web/client/assets/package-BKBPgwMP.js +0 -1
- package/dist/web/client/assets/pencil-CdO6qfv3.js +0 -1
- package/dist/web/client/assets/plug-BRROUIw-.js +0 -1
- package/dist/web/client/assets/prompt-input-WaGSKZCU.js +0 -1
- package/dist/web/client/assets/provider-catalog-C0XBIasJ.js +0 -1
- package/dist/web/client/assets/provider-label-Cka0ep0S.js +0 -1
- package/dist/web/client/assets/react-CwJFpaho.js +0 -1
- package/dist/web/client/assets/react-dom-DX3XddaT.js +0 -1
- package/dist/web/client/assets/refresh-cw-l9WPHRkq.js +0 -1
- package/dist/web/client/assets/resource-helpers-BuWybA8l.js +0 -2
- package/dist/web/client/assets/right-panel-context-CS8tJMzE.js +0 -1
- package/dist/web/client/assets/right-panel-registry-BCW7fQTG.js +0 -2
- package/dist/web/client/assets/rotate-ccw-CfGhzOv7.js +0 -1
- package/dist/web/client/assets/routes-BWe5Iz-2.js +0 -16
- package/dist/web/client/assets/safe-external-url-BbAom7Bm.js +0 -1
- package/dist/web/client/assets/search-BjcXAUrI.js +0 -1
- package/dist/web/client/assets/session-tool-renderer-3E3cv8D0.js +0 -1395
- package/dist/web/client/assets/settings-dialog-B8lHq2tT.js +0 -2
- package/dist/web/client/assets/sparkles-D8XIY8pN.js +0 -1
- package/dist/web/client/assets/square-DQaQu9bp.js +0 -1
- package/dist/web/client/assets/square-terminal-BsopiuN7.js +0 -1
- package/dist/web/client/assets/subagent-transcript-lqNcSVbH.js +0 -1
- package/dist/web/client/assets/sun-D0llhiMU.js +0 -1
- package/dist/web/client/assets/switch-D3FhZU-S.js +0 -1
- package/dist/web/client/assets/terminal-BQAKkBY6.js +0 -1
- package/dist/web/client/assets/toast-lnCWGgSE.js +0 -1
- package/dist/web/client/assets/tokens-Ch5WqXC_.js +0 -1
- package/dist/web/client/assets/tool-result-B_yb2JoE.js +0 -4
- package/dist/web/client/assets/tool-timeline-VnMRQoLS.js +0 -1
- package/dist/web/client/assets/triangle-alert-GAYh_5d3.js +0 -1
- package/dist/web/client/assets/utils-Brtgag-m.js +0 -1
- package/dist/web/client/assets/virtualized-turn-list-BgUgX6tM.js +0 -6
- package/dist/web/client/assets/workspace-panel-CKF5JQl2.js +0 -1
- package/dist/web/client/assets/wrench-Myc12BTA.js +0 -1
- package/dist/web/client/assets/x-BGsDD848.js +0 -1
- package/dist/web/server/_tanstack-start-manifest_v-BDPifIFN-DTSNCHBX.js +0 -91
- package/dist/web/server/chunk-2ST2ULW7.js +0 -24
- package/dist/web/server/chunk-3C4CFCIS.js +0 -19
- package/dist/web/server/chunk-3IHTZSBY.js +0 -22
- package/dist/web/server/chunk-4QD4PCVP.js +0 -19
- package/dist/web/server/chunk-4ZIEVI5O.js +0 -63
- package/dist/web/server/chunk-7CNGNFFK.js +0 -23
- package/dist/web/server/chunk-AHTO6GDS.js +0 -33
- package/dist/web/server/chunk-CHEC7TWB.js +0 -22
- package/dist/web/server/chunk-D7ELZVTI.js +0 -33
- package/dist/web/server/chunk-GS2IZGRC.js +0 -19
- package/dist/web/server/chunk-HFQZLPU2.js +0 -29
- package/dist/web/server/chunk-JBLHIEVG.js +0 -22
- package/dist/web/server/chunk-JDCCC7A7.js +0 -3382
- package/dist/web/server/chunk-JIULUYHT.js +0 -24
- package/dist/web/server/chunk-KBWUBWVJ.js +0 -60
- package/dist/web/server/chunk-LJ6Y7DBH.js +0 -128
- package/dist/web/server/chunk-M5RSPNYN.js +0 -22
- package/dist/web/server/chunk-O2DUZJYK.js +0 -19
- package/dist/web/server/chunk-OKL5ZRVB.js +0 -33
- package/dist/web/server/chunk-OOXWPL22.js +0 -22
- package/dist/web/server/chunk-OSMP55KI.js +0 -94
- package/dist/web/server/chunk-SFTKGQ7H.js +0 -33
- package/dist/web/server/chunk-TNL4YV63.js +0 -29
- package/dist/web/server/chunk-UCA4WN66.js +0 -45
- package/dist/web/server/chunk-WWJF4RO2.js +0 -19
- package/dist/web/server/chunk-X7D6GFQU.js +0 -34
- package/dist/web/server/chunk-XA42CHF2.js +0 -22
- package/dist/web/server/openui-renderer-moJGf0LA-QCU3PI6H.js +0 -38
- package/dist/web/server/session-tool-renderer-CglQ2ky7-2JVYNZG2.js +0 -45
- package/dist/web/server/tool-timeline-QL9k5dzA-RLU26HXT.js +0 -16
|
@@ -1,91 +1,97 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Keyboard,
|
|
3
|
-
Monitor,
|
|
4
|
-
Moon,
|
|
5
|
-
Sun
|
|
6
|
-
} from "./chunk-LJ6Y7DBH.js";
|
|
7
|
-
import {
|
|
8
|
-
AlertDialog,
|
|
9
|
-
AlertDialogAction,
|
|
10
|
-
AlertDialogCancel,
|
|
11
|
-
AlertDialogContent,
|
|
12
|
-
AlertDialogDescription,
|
|
13
|
-
AlertDialogFooter,
|
|
14
|
-
AlertDialogTitle,
|
|
15
2
|
ArrowLeft,
|
|
16
3
|
Cpu,
|
|
17
4
|
PROVIDER_METADATA,
|
|
18
5
|
ProviderBrandIcon,
|
|
19
6
|
Settings,
|
|
20
|
-
|
|
21
|
-
Trash2,
|
|
7
|
+
Trash,
|
|
22
8
|
formatProviderLabel
|
|
23
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IIPUA4LB.js";
|
|
10
|
+
import {
|
|
11
|
+
isModelPatternEnabled,
|
|
12
|
+
modelMatchesPattern,
|
|
13
|
+
modelPattern
|
|
14
|
+
} from "./chunk-WTYNN6EV.js";
|
|
15
|
+
import {
|
|
16
|
+
applyUiPreferencesToDocument,
|
|
17
|
+
readUiPreferences,
|
|
18
|
+
writeUiPreferences
|
|
19
|
+
} from "./chunk-4EBSM4JR.js";
|
|
24
20
|
import {
|
|
25
21
|
Pencil
|
|
26
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LOFZS555.js";
|
|
27
23
|
import {
|
|
28
24
|
COMPACT_ACTION_BUTTON_CLASS,
|
|
29
25
|
HIT_AREA_EXPAND_CLASS,
|
|
30
26
|
HIT_AREA_EXPAND_DENSE_CLASS,
|
|
31
27
|
rowSurface
|
|
32
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-CIE2PLNB.js";
|
|
29
|
+
import {
|
|
30
|
+
Keyboard,
|
|
31
|
+
Monitor,
|
|
32
|
+
Moon,
|
|
33
|
+
Sun
|
|
34
|
+
} from "./chunk-KABZXD6N.js";
|
|
33
35
|
import {
|
|
34
36
|
Plus,
|
|
35
37
|
useChatPanelDataContext,
|
|
36
38
|
useSettingsActionsContext
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import {
|
|
39
|
-
isModelPatternEnabled,
|
|
40
|
-
modelMatchesPattern,
|
|
41
|
-
modelPattern
|
|
42
|
-
} from "./chunk-WTYNN6EV.js";
|
|
43
|
-
import {
|
|
44
|
-
applyUiPreferencesToDocument,
|
|
45
|
-
readUiPreferences,
|
|
46
|
-
writeUiPreferences
|
|
47
|
-
} from "./chunk-4EBSM4JR.js";
|
|
39
|
+
} from "./chunk-PYTU4DGR.js";
|
|
48
40
|
import {
|
|
49
41
|
RefreshCw
|
|
50
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-NZ5YXXQ5.js";
|
|
51
43
|
import {
|
|
52
44
|
notify
|
|
53
|
-
} from "./chunk-
|
|
54
|
-
import "./chunk-UCA4WN66.js";
|
|
45
|
+
} from "./chunk-UIUZ4ETR.js";
|
|
55
46
|
import {
|
|
56
47
|
Info
|
|
57
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-VHLBXWEN.js";
|
|
49
|
+
import "./chunk-3OOZPQZF.js";
|
|
58
50
|
import {
|
|
59
51
|
Eye
|
|
60
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-JEQQEY6O.js";
|
|
61
53
|
import {
|
|
62
54
|
ExternalLink,
|
|
63
55
|
Globe,
|
|
64
56
|
Sparkles
|
|
65
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-DIVIHC5K.js";
|
|
66
58
|
import {
|
|
67
59
|
HardDrive
|
|
68
|
-
} from "./chunk-
|
|
69
|
-
import
|
|
60
|
+
} from "./chunk-ZJIELDZL.js";
|
|
61
|
+
import {
|
|
62
|
+
AlertDialog,
|
|
63
|
+
AlertDialogAction,
|
|
64
|
+
AlertDialogCancel,
|
|
65
|
+
AlertDialogContent,
|
|
66
|
+
AlertDialogDescription,
|
|
67
|
+
AlertDialogFooter,
|
|
68
|
+
AlertDialogTitle
|
|
69
|
+
} from "./chunk-GR765UTQ.js";
|
|
70
|
+
import "./chunk-RWYAKZCZ.js";
|
|
71
|
+
import {
|
|
72
|
+
Spinner
|
|
73
|
+
} from "./chunk-X5AQ7KHU.js";
|
|
70
74
|
import {
|
|
71
75
|
InputGroup,
|
|
72
76
|
InputGroupAddon,
|
|
73
77
|
InputGroupButton,
|
|
74
78
|
InputGroupInput,
|
|
75
79
|
Textarea
|
|
76
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-4LBXVBM7.js";
|
|
77
81
|
import {
|
|
78
82
|
Search
|
|
79
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-ZNI5AL4B.js";
|
|
84
|
+
import "./chunk-SZJUXVWG.js";
|
|
80
85
|
import {
|
|
81
86
|
RotateCcw
|
|
82
|
-
} from "./chunk-
|
|
83
|
-
import
|
|
84
|
-
LoaderCircle
|
|
85
|
-
} from "./chunk-TNL4YV63.js";
|
|
87
|
+
} from "./chunk-CMOAC245.js";
|
|
88
|
+
import "./chunk-HFN4TNR3.js";
|
|
86
89
|
import {
|
|
87
90
|
ChevronRight
|
|
88
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-7SZKAHLD.js";
|
|
92
|
+
import {
|
|
93
|
+
LoaderCircle
|
|
94
|
+
} from "./chunk-FOMB2JR7.js";
|
|
89
95
|
import {
|
|
90
96
|
Alert,
|
|
91
97
|
AlertDescription,
|
|
@@ -94,7 +100,7 @@ import {
|
|
|
94
100
|
FieldGroup,
|
|
95
101
|
FieldLabel,
|
|
96
102
|
Switch
|
|
97
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-L2SVMQWB.js";
|
|
98
104
|
import {
|
|
99
105
|
Select,
|
|
100
106
|
clamp,
|
|
@@ -102,198 +108,266 @@ import {
|
|
|
102
108
|
styleDisableScrollbar,
|
|
103
109
|
useCSPContext,
|
|
104
110
|
useDirection
|
|
105
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-22XP6PHK.js";
|
|
106
112
|
import {
|
|
107
113
|
isCustomProviderId,
|
|
108
114
|
isNamedOccInstanceId,
|
|
109
115
|
isOccProviderId
|
|
110
116
|
} from "./chunk-RJOANOT4.js";
|
|
117
|
+
import "./chunk-G3WQTXJY.js";
|
|
111
118
|
import {
|
|
112
119
|
Input
|
|
113
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-FVWPODLT.js";
|
|
114
121
|
import {
|
|
115
122
|
Dialog,
|
|
116
123
|
DialogContent,
|
|
117
124
|
DialogDescription,
|
|
118
125
|
DialogHeader,
|
|
119
126
|
DialogTitle
|
|
120
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-I36LJXNY.js";
|
|
128
|
+
import {
|
|
129
|
+
Check
|
|
130
|
+
} from "./chunk-Z4OTKGMN.js";
|
|
131
|
+
import "./chunk-C2YGLMFE.js";
|
|
132
|
+
import "./chunk-XZCIEF54.js";
|
|
133
|
+
import "./chunk-5VPNOUVY.js";
|
|
121
134
|
import {
|
|
122
135
|
Button,
|
|
123
136
|
contains,
|
|
124
137
|
getTarget,
|
|
125
138
|
useTimeout,
|
|
126
139
|
webkit
|
|
127
|
-
} from "./chunk-
|
|
128
|
-
import "./chunk-
|
|
129
|
-
import {
|
|
130
|
-
Check
|
|
131
|
-
} from "./chunk-4QD4PCVP.js";
|
|
132
|
-
import "./chunk-JBLHIEVG.js";
|
|
133
|
-
import "./chunk-WWJF4RO2.js";
|
|
134
|
-
import "./chunk-OVJYUWSQ.js";
|
|
140
|
+
} from "./chunk-UXS5E6OE.js";
|
|
141
|
+
import "./chunk-UUDBEYKV.js";
|
|
135
142
|
import {
|
|
136
143
|
useBaseUiId
|
|
137
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-OYWUPJ72.js";
|
|
138
145
|
import {
|
|
139
146
|
addEventListener,
|
|
140
147
|
formatErrorMessage,
|
|
141
148
|
useIsoLayoutEffect,
|
|
142
149
|
useRenderElement,
|
|
143
150
|
useStableCallback
|
|
144
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-EKVRPCBJ.js";
|
|
145
152
|
import {
|
|
146
153
|
Plug
|
|
147
|
-
} from "./chunk-
|
|
148
|
-
import "./chunk-
|
|
154
|
+
} from "./chunk-RPGWRA2X.js";
|
|
155
|
+
import "./chunk-SGMJ5CGW.js";
|
|
149
156
|
import {
|
|
150
157
|
createLucideIcon
|
|
151
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-JVXQQYXB.js";
|
|
152
159
|
import {
|
|
153
160
|
cn
|
|
154
|
-
} from "./chunk-
|
|
155
|
-
import "./chunk-
|
|
161
|
+
} from "./chunk-JCK6B7ZW.js";
|
|
162
|
+
import "./chunk-RPWKCJHL.js";
|
|
156
163
|
import "./chunk-L547YHC4.js";
|
|
157
164
|
import "./chunk-MLKGABMK.js";
|
|
158
165
|
|
|
159
|
-
// web/app/dist/server/assets/settings-dialog-
|
|
166
|
+
// web/app/dist/server/assets/settings-dialog-CzeangBl.js
|
|
160
167
|
import * as React$1 from "react";
|
|
161
168
|
import { useCallback, useEffect as useEffect2, useId, useMemo as useMemo2, useRef as useRef2, useState as useState2 } from "react";
|
|
162
169
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
163
|
-
var
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
[
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
]
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
}],
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
["path", {
|
|
211
|
-
d: "M2
|
|
212
|
-
key: "
|
|
213
|
-
}],
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
}]
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
}]
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
["
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
170
|
+
var __iconData$10 = {
|
|
171
|
+
name: "box",
|
|
172
|
+
size: 24,
|
|
173
|
+
node: [
|
|
174
|
+
["path", {
|
|
175
|
+
d: "M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",
|
|
176
|
+
key: "hh9hay"
|
|
177
|
+
}],
|
|
178
|
+
["path", {
|
|
179
|
+
d: "m3.3 7 8.7 5 8.7-5",
|
|
180
|
+
key: "g66t2b"
|
|
181
|
+
}],
|
|
182
|
+
["path", {
|
|
183
|
+
d: "M12 22V12",
|
|
184
|
+
key: "d0xqtd"
|
|
185
|
+
}]
|
|
186
|
+
]
|
|
187
|
+
};
|
|
188
|
+
__iconData$10.node;
|
|
189
|
+
var Box = createLucideIcon(__iconData$10);
|
|
190
|
+
var __iconData$9 = {
|
|
191
|
+
name: "eye-off",
|
|
192
|
+
size: 24,
|
|
193
|
+
node: [
|
|
194
|
+
["path", {
|
|
195
|
+
d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",
|
|
196
|
+
key: "ct8e1f"
|
|
197
|
+
}],
|
|
198
|
+
["path", {
|
|
199
|
+
d: "M14.084 14.158a3 3 0 0 1-4.242-4.242",
|
|
200
|
+
key: "151rxh"
|
|
201
|
+
}],
|
|
202
|
+
["path", {
|
|
203
|
+
d: "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",
|
|
204
|
+
key: "13bj9a"
|
|
205
|
+
}],
|
|
206
|
+
["path", {
|
|
207
|
+
d: "m2 2 20 20",
|
|
208
|
+
key: "1ooewy"
|
|
209
|
+
}]
|
|
210
|
+
]
|
|
211
|
+
};
|
|
212
|
+
__iconData$9.node;
|
|
213
|
+
var EyeOff = createLucideIcon(__iconData$9);
|
|
214
|
+
var __iconData$8 = {
|
|
215
|
+
name: "key-round",
|
|
216
|
+
size: 24,
|
|
217
|
+
node: [["path", {
|
|
218
|
+
d: "M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",
|
|
219
|
+
key: "1s6t7t"
|
|
220
|
+
}], ["circle", {
|
|
221
|
+
cx: "16.5",
|
|
222
|
+
cy: "7.5",
|
|
223
|
+
r: ".5",
|
|
224
|
+
fill: "currentColor",
|
|
225
|
+
key: "w0ekpg"
|
|
226
|
+
}]]
|
|
227
|
+
};
|
|
228
|
+
__iconData$8.node;
|
|
229
|
+
var KeyRound = createLucideIcon(__iconData$8);
|
|
230
|
+
var __iconData$7 = {
|
|
231
|
+
name: "layers",
|
|
232
|
+
size: 24,
|
|
233
|
+
node: [
|
|
234
|
+
["path", {
|
|
235
|
+
d: "M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",
|
|
236
|
+
key: "zw3jo"
|
|
237
|
+
}],
|
|
238
|
+
["path", {
|
|
239
|
+
d: "M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",
|
|
240
|
+
key: "1wduqc"
|
|
241
|
+
}],
|
|
242
|
+
["path", {
|
|
243
|
+
d: "M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",
|
|
244
|
+
key: "kqbvx6"
|
|
245
|
+
}]
|
|
246
|
+
],
|
|
247
|
+
aliases: ["layers-3"]
|
|
248
|
+
};
|
|
249
|
+
__iconData$7.node;
|
|
250
|
+
var Layers = createLucideIcon(__iconData$7);
|
|
251
|
+
var __iconData$6 = {
|
|
252
|
+
name: "lock",
|
|
253
|
+
size: 24,
|
|
254
|
+
node: [["rect", {
|
|
255
|
+
width: "18",
|
|
256
|
+
height: "11",
|
|
257
|
+
x: "3",
|
|
258
|
+
y: "11",
|
|
259
|
+
rx: "2",
|
|
260
|
+
ry: "2",
|
|
261
|
+
key: "1w4ew1"
|
|
262
|
+
}], ["path", {
|
|
263
|
+
d: "M7 11V7a5 5 0 0 1 10 0v4",
|
|
264
|
+
key: "fwvmzm"
|
|
265
|
+
}]]
|
|
266
|
+
};
|
|
267
|
+
__iconData$6.node;
|
|
268
|
+
var Lock = createLucideIcon(__iconData$6);
|
|
269
|
+
var __iconData$5 = {
|
|
270
|
+
name: "message-square",
|
|
271
|
+
size: 24,
|
|
272
|
+
node: [["path", {
|
|
273
|
+
d: "M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",
|
|
274
|
+
key: "18887p"
|
|
275
|
+
}]]
|
|
276
|
+
};
|
|
277
|
+
__iconData$5.node;
|
|
278
|
+
var MessageSquare = createLucideIcon(__iconData$5);
|
|
279
|
+
var __iconData$4 = {
|
|
280
|
+
name: "paintbrush",
|
|
281
|
+
size: 24,
|
|
282
|
+
node: [
|
|
283
|
+
["path", {
|
|
284
|
+
d: "m14.622 17.897-10.68-2.913",
|
|
285
|
+
key: "vj2p1u"
|
|
286
|
+
}],
|
|
287
|
+
["path", {
|
|
288
|
+
d: "M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",
|
|
289
|
+
key: "18tc5c"
|
|
290
|
+
}],
|
|
291
|
+
["path", {
|
|
292
|
+
d: "M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",
|
|
293
|
+
key: "ytzfxy"
|
|
294
|
+
}]
|
|
295
|
+
]
|
|
296
|
+
};
|
|
297
|
+
__iconData$4.node;
|
|
298
|
+
var Paintbrush = createLucideIcon(__iconData$4);
|
|
299
|
+
var __iconData$3 = {
|
|
300
|
+
name: "save",
|
|
301
|
+
size: 24,
|
|
302
|
+
node: [
|
|
303
|
+
["path", {
|
|
304
|
+
d: "M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",
|
|
305
|
+
key: "1c8476"
|
|
306
|
+
}],
|
|
307
|
+
["path", {
|
|
308
|
+
d: "M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",
|
|
309
|
+
key: "1ydtos"
|
|
310
|
+
}],
|
|
311
|
+
["path", {
|
|
312
|
+
d: "M7 3v4a1 1 0 0 0 1 1h7",
|
|
313
|
+
key: "t51u73"
|
|
314
|
+
}]
|
|
315
|
+
]
|
|
316
|
+
};
|
|
317
|
+
__iconData$3.node;
|
|
318
|
+
var Save = createLucideIcon(__iconData$3);
|
|
319
|
+
var __iconData$2 = {
|
|
320
|
+
name: "star",
|
|
321
|
+
size: 24,
|
|
322
|
+
node: [["path", {
|
|
323
|
+
d: "M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",
|
|
324
|
+
key: "r04s7s"
|
|
325
|
+
}]]
|
|
326
|
+
};
|
|
327
|
+
__iconData$2.node;
|
|
328
|
+
var Star = createLucideIcon(__iconData$2);
|
|
329
|
+
var __iconData$1 = {
|
|
330
|
+
name: "tag",
|
|
331
|
+
size: 24,
|
|
332
|
+
node: [["path", {
|
|
333
|
+
d: "M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",
|
|
334
|
+
key: "vktsd0"
|
|
335
|
+
}], ["circle", {
|
|
336
|
+
cx: "7.5",
|
|
337
|
+
cy: "7.5",
|
|
338
|
+
r: ".5",
|
|
339
|
+
fill: "currentColor",
|
|
340
|
+
key: "kqv944"
|
|
341
|
+
}]]
|
|
342
|
+
};
|
|
343
|
+
__iconData$1.node;
|
|
344
|
+
var Tag = createLucideIcon(__iconData$1);
|
|
345
|
+
var __iconData = {
|
|
346
|
+
name: "users",
|
|
347
|
+
size: 24,
|
|
348
|
+
node: [
|
|
349
|
+
["path", {
|
|
350
|
+
d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",
|
|
351
|
+
key: "1yyitq"
|
|
352
|
+
}],
|
|
353
|
+
["path", {
|
|
354
|
+
d: "M16 3.128a4 4 0 0 1 0 7.744",
|
|
355
|
+
key: "16gr8j"
|
|
356
|
+
}],
|
|
357
|
+
["path", {
|
|
358
|
+
d: "M22 21v-2a4 4 0 0 0-3-3.87",
|
|
359
|
+
key: "kshegd"
|
|
360
|
+
}],
|
|
361
|
+
["circle", {
|
|
362
|
+
cx: "9",
|
|
363
|
+
cy: "7",
|
|
364
|
+
r: "4",
|
|
365
|
+
key: "nufk8"
|
|
366
|
+
}]
|
|
367
|
+
]
|
|
368
|
+
};
|
|
369
|
+
__iconData.node;
|
|
370
|
+
var Users = createLucideIcon(__iconData);
|
|
297
371
|
function Breadcrumb({ className, ...props }) {
|
|
298
372
|
return /* @__PURE__ */ jsx("nav", {
|
|
299
373
|
"aria-label": "breadcrumb",
|
|
@@ -1086,6 +1160,154 @@ function ItemRow({ icon, title, subtitle, trailing, className, interactive = tru
|
|
|
1086
1160
|
]
|
|
1087
1161
|
});
|
|
1088
1162
|
}
|
|
1163
|
+
function isFieldInvalid(value, attemptedSave, required = true) {
|
|
1164
|
+
return attemptedSave && required && value.trim().length === 0;
|
|
1165
|
+
}
|
|
1166
|
+
function SecretCredentialField({ attemptedSave, label, onChange, onToggleVisibility, placeholder, required = true, showPassword, value }) {
|
|
1167
|
+
const controlId = useId();
|
|
1168
|
+
const invalid = isFieldInvalid(value, attemptedSave, required);
|
|
1169
|
+
return /* @__PURE__ */ jsxs(Field, {
|
|
1170
|
+
"data-invalid": invalid || void 0,
|
|
1171
|
+
children: [/* @__PURE__ */ jsx(FieldLabel, {
|
|
1172
|
+
htmlFor: controlId,
|
|
1173
|
+
children: label
|
|
1174
|
+
}), /* @__PURE__ */ jsxs(InputGroup, { children: [
|
|
1175
|
+
/* @__PURE__ */ jsx(InputGroupAddon, {
|
|
1176
|
+
align: "inline-start",
|
|
1177
|
+
children: /* @__PURE__ */ jsx(Lock, {})
|
|
1178
|
+
}),
|
|
1179
|
+
/* @__PURE__ */ jsx(InputGroupInput, {
|
|
1180
|
+
id: controlId,
|
|
1181
|
+
type: showPassword ? "text" : "password",
|
|
1182
|
+
placeholder,
|
|
1183
|
+
value,
|
|
1184
|
+
onChange: (event) => onChange(event.target.value),
|
|
1185
|
+
"aria-label": label,
|
|
1186
|
+
"aria-invalid": invalid || void 0
|
|
1187
|
+
}),
|
|
1188
|
+
/* @__PURE__ */ jsx(InputGroupAddon, {
|
|
1189
|
+
align: "inline-end",
|
|
1190
|
+
children: /* @__PURE__ */ jsx(InputGroupButton, {
|
|
1191
|
+
size: "icon-xs",
|
|
1192
|
+
className: cn(HIT_AREA_EXPAND_CLASS, "transition-[background-color,transform] duration-150 active:scale-[0.96]"),
|
|
1193
|
+
"aria-label": showPassword ? "Hide value" : "Show value",
|
|
1194
|
+
onClick: onToggleVisibility,
|
|
1195
|
+
children: showPassword ? /* @__PURE__ */ jsx(EyeOff, {}) : /* @__PURE__ */ jsx(Eye, {})
|
|
1196
|
+
})
|
|
1197
|
+
})
|
|
1198
|
+
] })]
|
|
1199
|
+
});
|
|
1200
|
+
}
|
|
1201
|
+
function TextCredentialField({ attemptedSave, icon: Icon, inputType = "text", label, onChange, placeholder, required = true, value }) {
|
|
1202
|
+
const controlId = useId();
|
|
1203
|
+
const invalid = isFieldInvalid(value, attemptedSave, required);
|
|
1204
|
+
return /* @__PURE__ */ jsxs(Field, {
|
|
1205
|
+
"data-invalid": invalid || void 0,
|
|
1206
|
+
children: [/* @__PURE__ */ jsx(FieldLabel, {
|
|
1207
|
+
htmlFor: controlId,
|
|
1208
|
+
children: label
|
|
1209
|
+
}), /* @__PURE__ */ jsxs(InputGroup, { children: [/* @__PURE__ */ jsx(InputGroupAddon, {
|
|
1210
|
+
align: "inline-start",
|
|
1211
|
+
children: /* @__PURE__ */ jsx(Icon, {})
|
|
1212
|
+
}), /* @__PURE__ */ jsx(InputGroupInput, {
|
|
1213
|
+
id: controlId,
|
|
1214
|
+
type: inputType,
|
|
1215
|
+
placeholder,
|
|
1216
|
+
value,
|
|
1217
|
+
onChange: (event) => onChange(event.target.value),
|
|
1218
|
+
"aria-label": label,
|
|
1219
|
+
"aria-invalid": invalid || void 0
|
|
1220
|
+
})] })]
|
|
1221
|
+
});
|
|
1222
|
+
}
|
|
1223
|
+
var STATUS_COPY = {
|
|
1224
|
+
unconfigured: "Add a key below to turn this on.",
|
|
1225
|
+
unverified: "Checking the key\u2026",
|
|
1226
|
+
ready: "Ready.",
|
|
1227
|
+
error: "The TypeSafe key could not be verified."
|
|
1228
|
+
};
|
|
1229
|
+
var KEY_SOURCE_COPY = {
|
|
1230
|
+
settings: "Using the key saved here.",
|
|
1231
|
+
environment: "Using TYPESAFE_API_KEY from the server environment.",
|
|
1232
|
+
none: "No key is set."
|
|
1233
|
+
};
|
|
1234
|
+
function ComposerIntentSection({ enabled, keySource, status, onClearKey, onEnabledChange, onSaveKey }) {
|
|
1235
|
+
const [draftKey, setDraftKey] = useState2("");
|
|
1236
|
+
const [showKey, setShowKey] = useState2(false);
|
|
1237
|
+
const [attemptedSave, setAttemptedSave] = useState2(false);
|
|
1238
|
+
const [busy, setBusy] = useState2(false);
|
|
1239
|
+
const save = useCallback(async () => {
|
|
1240
|
+
setAttemptedSave(true);
|
|
1241
|
+
if (!draftKey.trim() || !onSaveKey) return;
|
|
1242
|
+
setBusy(true);
|
|
1243
|
+
try {
|
|
1244
|
+
await onSaveKey(draftKey.trim());
|
|
1245
|
+
setDraftKey("");
|
|
1246
|
+
setShowKey(false);
|
|
1247
|
+
setAttemptedSave(false);
|
|
1248
|
+
} finally {
|
|
1249
|
+
setBusy(false);
|
|
1250
|
+
}
|
|
1251
|
+
}, [draftKey, onSaveKey]);
|
|
1252
|
+
const clear = useCallback(async () => {
|
|
1253
|
+
if (!onClearKey) return;
|
|
1254
|
+
setBusy(true);
|
|
1255
|
+
try {
|
|
1256
|
+
await onClearKey();
|
|
1257
|
+
setDraftKey("");
|
|
1258
|
+
} finally {
|
|
1259
|
+
setBusy(false);
|
|
1260
|
+
}
|
|
1261
|
+
}, [onClearKey]);
|
|
1262
|
+
const unavailable = status === "unconfigured" || status === "error";
|
|
1263
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
1264
|
+
className: "flex flex-col gap-3",
|
|
1265
|
+
children: [/* @__PURE__ */ jsx(ItemRow, {
|
|
1266
|
+
title: "Describe a command",
|
|
1267
|
+
subtitle: `Recognise when a message is really asking for a built-in command, like "compact this" or "show the shortcuts". Messages you send are shared with TypeSafe for classification only when this is on. ${STATUS_COPY[status]}`,
|
|
1268
|
+
trailing: /* @__PURE__ */ jsx(Switch, {
|
|
1269
|
+
"aria-label": "Describe a command",
|
|
1270
|
+
checked: enabled,
|
|
1271
|
+
disabled: !onEnabledChange || !enabled && unavailable,
|
|
1272
|
+
onCheckedChange: onEnabledChange
|
|
1273
|
+
})
|
|
1274
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
1275
|
+
className: "flex flex-col gap-2 rounded-xl border p-4",
|
|
1276
|
+
children: [
|
|
1277
|
+
/* @__PURE__ */ jsx(SecretCredentialField, {
|
|
1278
|
+
attemptedSave,
|
|
1279
|
+
label: "TypeSafe API key",
|
|
1280
|
+
onChange: setDraftKey,
|
|
1281
|
+
onToggleVisibility: () => setShowKey((current) => !current),
|
|
1282
|
+
placeholder: "Paste your TypeSafe API key",
|
|
1283
|
+
showPassword: showKey,
|
|
1284
|
+
value: draftKey
|
|
1285
|
+
}),
|
|
1286
|
+
/* @__PURE__ */ jsx("p", {
|
|
1287
|
+
className: "text-xs text-muted-foreground",
|
|
1288
|
+
children: KEY_SOURCE_COPY[keySource]
|
|
1289
|
+
}),
|
|
1290
|
+
/* @__PURE__ */ jsxs("div", {
|
|
1291
|
+
className: "flex items-center gap-2",
|
|
1292
|
+
children: [/* @__PURE__ */ jsx(Button, {
|
|
1293
|
+
type: "button",
|
|
1294
|
+
size: "sm",
|
|
1295
|
+
disabled: busy || !draftKey.trim(),
|
|
1296
|
+
onClick: () => void save(),
|
|
1297
|
+
children: "Save key"
|
|
1298
|
+
}), keySource === "settings" ? /* @__PURE__ */ jsx(Button, {
|
|
1299
|
+
type: "button",
|
|
1300
|
+
variant: "outline",
|
|
1301
|
+
size: "sm",
|
|
1302
|
+
disabled: busy,
|
|
1303
|
+
onClick: () => void clear(),
|
|
1304
|
+
children: "Remove key"
|
|
1305
|
+
}) : null]
|
|
1306
|
+
})
|
|
1307
|
+
]
|
|
1308
|
+
})]
|
|
1309
|
+
});
|
|
1310
|
+
}
|
|
1089
1311
|
function SettingsPane({ actions, children, description, title }) {
|
|
1090
1312
|
return /* @__PURE__ */ jsxs("div", {
|
|
1091
1313
|
className: "flex flex-col gap-4",
|
|
@@ -1707,7 +1929,7 @@ function McpConnectionsSection({ connections, isLoading, isPending, onOAuth, onR
|
|
|
1707
1929
|
disabled: isPending || !onRemove,
|
|
1708
1930
|
"aria-label": `Remove ${connection.name}`,
|
|
1709
1931
|
onClick: () => setConfirmRemove(connection.name),
|
|
1710
|
-
children: /* @__PURE__ */ jsx(
|
|
1932
|
+
children: /* @__PURE__ */ jsx(Trash, { className: "size-3.5" })
|
|
1711
1933
|
}) : null]
|
|
1712
1934
|
})
|
|
1713
1935
|
}),
|
|
@@ -2113,7 +2335,7 @@ function ModelDefaultsSection({ draft, discoveringProviderId, modelDirty, modelF
|
|
|
2113
2335
|
disabled,
|
|
2114
2336
|
"aria-label": `Remove ${model.name}`,
|
|
2115
2337
|
onClick: () => onRemoveModel(model),
|
|
2116
|
-
children: [/* @__PURE__ */ jsx(
|
|
2338
|
+
children: [/* @__PURE__ */ jsx(Trash, { "data-icon": "inline-start" }), "Remove"]
|
|
2117
2339
|
})]
|
|
2118
2340
|
})
|
|
2119
2341
|
}, model.id))]
|
|
@@ -2170,66 +2392,6 @@ function PersonalizationSection({ onThemePreferenceChange, themePreference }) {
|
|
|
2170
2392
|
})]
|
|
2171
2393
|
});
|
|
2172
2394
|
}
|
|
2173
|
-
function isFieldInvalid(value, attemptedSave, required = true) {
|
|
2174
|
-
return attemptedSave && required && value.trim().length === 0;
|
|
2175
|
-
}
|
|
2176
|
-
function SecretCredentialField({ attemptedSave, label, onChange, onToggleVisibility, placeholder, required = true, showPassword, value }) {
|
|
2177
|
-
const controlId = useId();
|
|
2178
|
-
const invalid = isFieldInvalid(value, attemptedSave, required);
|
|
2179
|
-
return /* @__PURE__ */ jsxs(Field, {
|
|
2180
|
-
"data-invalid": invalid || void 0,
|
|
2181
|
-
children: [/* @__PURE__ */ jsx(FieldLabel, {
|
|
2182
|
-
htmlFor: controlId,
|
|
2183
|
-
children: label
|
|
2184
|
-
}), /* @__PURE__ */ jsxs(InputGroup, { children: [
|
|
2185
|
-
/* @__PURE__ */ jsx(InputGroupAddon, {
|
|
2186
|
-
align: "inline-start",
|
|
2187
|
-
children: /* @__PURE__ */ jsx(Lock, {})
|
|
2188
|
-
}),
|
|
2189
|
-
/* @__PURE__ */ jsx(InputGroupInput, {
|
|
2190
|
-
id: controlId,
|
|
2191
|
-
type: showPassword ? "text" : "password",
|
|
2192
|
-
placeholder,
|
|
2193
|
-
value,
|
|
2194
|
-
onChange: (event) => onChange(event.target.value),
|
|
2195
|
-
"aria-label": label,
|
|
2196
|
-
"aria-invalid": invalid || void 0
|
|
2197
|
-
}),
|
|
2198
|
-
/* @__PURE__ */ jsx(InputGroupAddon, {
|
|
2199
|
-
align: "inline-end",
|
|
2200
|
-
children: /* @__PURE__ */ jsx(InputGroupButton, {
|
|
2201
|
-
size: "icon-xs",
|
|
2202
|
-
className: cn(HIT_AREA_EXPAND_CLASS, "transition-[background-color,transform] duration-150 active:scale-[0.96]"),
|
|
2203
|
-
"aria-label": showPassword ? "Hide value" : "Show value",
|
|
2204
|
-
onClick: onToggleVisibility,
|
|
2205
|
-
children: showPassword ? /* @__PURE__ */ jsx(EyeOff, {}) : /* @__PURE__ */ jsx(Eye, {})
|
|
2206
|
-
})
|
|
2207
|
-
})
|
|
2208
|
-
] })]
|
|
2209
|
-
});
|
|
2210
|
-
}
|
|
2211
|
-
function TextCredentialField({ attemptedSave, icon: Icon, inputType = "text", label, onChange, placeholder, required = true, value }) {
|
|
2212
|
-
const controlId = useId();
|
|
2213
|
-
const invalid = isFieldInvalid(value, attemptedSave, required);
|
|
2214
|
-
return /* @__PURE__ */ jsxs(Field, {
|
|
2215
|
-
"data-invalid": invalid || void 0,
|
|
2216
|
-
children: [/* @__PURE__ */ jsx(FieldLabel, {
|
|
2217
|
-
htmlFor: controlId,
|
|
2218
|
-
children: label
|
|
2219
|
-
}), /* @__PURE__ */ jsxs(InputGroup, { children: [/* @__PURE__ */ jsx(InputGroupAddon, {
|
|
2220
|
-
align: "inline-start",
|
|
2221
|
-
children: /* @__PURE__ */ jsx(Icon, {})
|
|
2222
|
-
}), /* @__PURE__ */ jsx(InputGroupInput, {
|
|
2223
|
-
id: controlId,
|
|
2224
|
-
type: inputType,
|
|
2225
|
-
placeholder,
|
|
2226
|
-
value,
|
|
2227
|
-
onChange: (event) => onChange(event.target.value),
|
|
2228
|
-
"aria-label": label,
|
|
2229
|
-
"aria-invalid": invalid || void 0
|
|
2230
|
-
})] })]
|
|
2231
|
-
});
|
|
2232
|
-
}
|
|
2233
2395
|
var OPENAI_CHAT_BASE_URL_PLACEHOLDER = "https://opencode.ai/zen/v1";
|
|
2234
2396
|
var OPENAI_CHAT_MODEL_PLACEHOLDER = "qwen35-122b-a10b";
|
|
2235
2397
|
var OPENAI_CHAT_NAME_PLACEHOLDER = "e.g. OpenCode Zen, Nebius, Groq\u2026";
|
|
@@ -2814,7 +2976,7 @@ function ActiveProviderList({ providers, editingProvider, form, operation, actio
|
|
|
2814
2976
|
disabled: isPending || !canRemove,
|
|
2815
2977
|
"aria-label": `Remove ${provider.name}`,
|
|
2816
2978
|
onClick: () => onRemove(provider),
|
|
2817
|
-
children: [/* @__PURE__ */ jsx(
|
|
2979
|
+
children: [/* @__PURE__ */ jsx(Trash, { "data-icon": "inline-start" }), "Remove"]
|
|
2818
2980
|
}), /* @__PURE__ */ jsxs(Button, {
|
|
2819
2981
|
type: "button",
|
|
2820
2982
|
variant: "ghost",
|
|
@@ -3111,7 +3273,7 @@ function CatalogValueList({ addLabel, catalog, onChange, placeholder, values })
|
|
|
3111
3273
|
size: "icon-xs",
|
|
3112
3274
|
"aria-label": `Remove ${value}`,
|
|
3113
3275
|
onClick: () => onChange(values.filter((entry) => entry !== value)),
|
|
3114
|
-
children: /* @__PURE__ */ jsx(
|
|
3276
|
+
children: /* @__PURE__ */ jsx(Trash, {})
|
|
3115
3277
|
})
|
|
3116
3278
|
}, value);
|
|
3117
3279
|
}), available.length > 0 ? /* @__PURE__ */ jsx(Select, {
|
|
@@ -3562,6 +3724,106 @@ function sanitizeStringList(values) {
|
|
|
3562
3724
|
return trimmed ? [trimmed] : [];
|
|
3563
3725
|
});
|
|
3564
3726
|
}
|
|
3727
|
+
var SETTINGS_SECTION_REGISTRY = {
|
|
3728
|
+
appearance: {
|
|
3729
|
+
id: "appearance",
|
|
3730
|
+
order: 10,
|
|
3731
|
+
title: "Appearance",
|
|
3732
|
+
ariaLabel: "Appearance settings",
|
|
3733
|
+
icon: Paintbrush,
|
|
3734
|
+
group: "workspace"
|
|
3735
|
+
},
|
|
3736
|
+
chat: {
|
|
3737
|
+
id: "chat",
|
|
3738
|
+
order: 20,
|
|
3739
|
+
title: "Chat",
|
|
3740
|
+
ariaLabel: "Chat settings",
|
|
3741
|
+
icon: MessageSquare,
|
|
3742
|
+
group: "workspace"
|
|
3743
|
+
},
|
|
3744
|
+
mcp: {
|
|
3745
|
+
id: "mcp",
|
|
3746
|
+
order: 25,
|
|
3747
|
+
title: "MCP",
|
|
3748
|
+
ariaLabel: "MCP connection settings",
|
|
3749
|
+
icon: Plug,
|
|
3750
|
+
group: "workspace"
|
|
3751
|
+
},
|
|
3752
|
+
sandbox: {
|
|
3753
|
+
id: "sandbox",
|
|
3754
|
+
order: 30,
|
|
3755
|
+
title: "Sandbox",
|
|
3756
|
+
ariaLabel: "Sandbox settings",
|
|
3757
|
+
icon: HardDrive,
|
|
3758
|
+
group: "advanced"
|
|
3759
|
+
},
|
|
3760
|
+
providers: {
|
|
3761
|
+
id: "providers",
|
|
3762
|
+
order: 40,
|
|
3763
|
+
title: "Providers",
|
|
3764
|
+
ariaLabel: "Provider settings",
|
|
3765
|
+
icon: KeyRound,
|
|
3766
|
+
group: "models"
|
|
3767
|
+
},
|
|
3768
|
+
"llm-models": {
|
|
3769
|
+
id: "llm-models",
|
|
3770
|
+
order: 50,
|
|
3771
|
+
title: "LLM Models",
|
|
3772
|
+
ariaLabel: "LLM model settings",
|
|
3773
|
+
icon: Cpu,
|
|
3774
|
+
group: "models"
|
|
3775
|
+
},
|
|
3776
|
+
skills: {
|
|
3777
|
+
id: "skills",
|
|
3778
|
+
order: 60,
|
|
3779
|
+
title: "Skills",
|
|
3780
|
+
ariaLabel: "Skill settings",
|
|
3781
|
+
icon: Sparkles,
|
|
3782
|
+
group: "advanced"
|
|
3783
|
+
},
|
|
3784
|
+
"pi-harness": {
|
|
3785
|
+
id: "pi-harness",
|
|
3786
|
+
order: 70,
|
|
3787
|
+
title: "Pi Harness",
|
|
3788
|
+
ariaLabel: "Pi harness settings",
|
|
3789
|
+
icon: Settings,
|
|
3790
|
+
group: "advanced"
|
|
3791
|
+
},
|
|
3792
|
+
keybindings: {
|
|
3793
|
+
id: "keybindings",
|
|
3794
|
+
order: 80,
|
|
3795
|
+
title: "Keybindings",
|
|
3796
|
+
ariaLabel: "Keybinding settings",
|
|
3797
|
+
icon: Keyboard,
|
|
3798
|
+
group: "advanced"
|
|
3799
|
+
},
|
|
3800
|
+
sessions: {
|
|
3801
|
+
id: "sessions",
|
|
3802
|
+
order: 90,
|
|
3803
|
+
title: "Sessions",
|
|
3804
|
+
ariaLabel: "Session settings",
|
|
3805
|
+
icon: Users,
|
|
3806
|
+
group: "workspace"
|
|
3807
|
+
}
|
|
3808
|
+
};
|
|
3809
|
+
var SETTINGS_SECTION_GROUPS = [
|
|
3810
|
+
{
|
|
3811
|
+
id: "workspace",
|
|
3812
|
+
label: "Workspace"
|
|
3813
|
+
},
|
|
3814
|
+
{
|
|
3815
|
+
id: "models",
|
|
3816
|
+
label: "Models"
|
|
3817
|
+
},
|
|
3818
|
+
{
|
|
3819
|
+
id: "advanced",
|
|
3820
|
+
label: "Advanced"
|
|
3821
|
+
}
|
|
3822
|
+
];
|
|
3823
|
+
var SETTINGS_SECTIONS = Object.values(SETTINGS_SECTION_REGISTRY).sort((left, right) => left.order - right.order);
|
|
3824
|
+
function isSettingsSectionId(value) {
|
|
3825
|
+
return SETTINGS_SECTIONS.some((section) => section.id === value);
|
|
3826
|
+
}
|
|
3565
3827
|
function useModelDefaultsForm({ draft, setDraft, updateDraft, settings, providers, models, modelCatalog, onDiscoverModels, saveSettings, setSavingSection }) {
|
|
3566
3828
|
const [modelFilter, setModelFilter] = useState2("");
|
|
3567
3829
|
const [discoveredModels, setDiscoveredModels] = useState2([]);
|
|
@@ -3748,106 +4010,6 @@ function useResourcesForm({ draft, settings, updateDraft }) {
|
|
|
3748
4010
|
revertResourceDraft
|
|
3749
4011
|
};
|
|
3750
4012
|
}
|
|
3751
|
-
var SETTINGS_SECTION_REGISTRY = {
|
|
3752
|
-
appearance: {
|
|
3753
|
-
id: "appearance",
|
|
3754
|
-
order: 10,
|
|
3755
|
-
title: "Appearance",
|
|
3756
|
-
ariaLabel: "Appearance settings",
|
|
3757
|
-
icon: Paintbrush,
|
|
3758
|
-
group: "workspace"
|
|
3759
|
-
},
|
|
3760
|
-
chat: {
|
|
3761
|
-
id: "chat",
|
|
3762
|
-
order: 20,
|
|
3763
|
-
title: "Chat",
|
|
3764
|
-
ariaLabel: "Chat settings",
|
|
3765
|
-
icon: MessageSquare,
|
|
3766
|
-
group: "workspace"
|
|
3767
|
-
},
|
|
3768
|
-
mcp: {
|
|
3769
|
-
id: "mcp",
|
|
3770
|
-
order: 25,
|
|
3771
|
-
title: "MCP",
|
|
3772
|
-
ariaLabel: "MCP connection settings",
|
|
3773
|
-
icon: Plug,
|
|
3774
|
-
group: "workspace"
|
|
3775
|
-
},
|
|
3776
|
-
sandbox: {
|
|
3777
|
-
id: "sandbox",
|
|
3778
|
-
order: 30,
|
|
3779
|
-
title: "Sandbox",
|
|
3780
|
-
ariaLabel: "Sandbox settings",
|
|
3781
|
-
icon: HardDrive,
|
|
3782
|
-
group: "advanced"
|
|
3783
|
-
},
|
|
3784
|
-
providers: {
|
|
3785
|
-
id: "providers",
|
|
3786
|
-
order: 40,
|
|
3787
|
-
title: "Providers",
|
|
3788
|
-
ariaLabel: "Provider settings",
|
|
3789
|
-
icon: KeyRound,
|
|
3790
|
-
group: "models"
|
|
3791
|
-
},
|
|
3792
|
-
"llm-models": {
|
|
3793
|
-
id: "llm-models",
|
|
3794
|
-
order: 50,
|
|
3795
|
-
title: "LLM Models",
|
|
3796
|
-
ariaLabel: "LLM model settings",
|
|
3797
|
-
icon: Cpu,
|
|
3798
|
-
group: "models"
|
|
3799
|
-
},
|
|
3800
|
-
skills: {
|
|
3801
|
-
id: "skills",
|
|
3802
|
-
order: 60,
|
|
3803
|
-
title: "Skills",
|
|
3804
|
-
ariaLabel: "Skill settings",
|
|
3805
|
-
icon: Sparkles,
|
|
3806
|
-
group: "advanced"
|
|
3807
|
-
},
|
|
3808
|
-
"pi-harness": {
|
|
3809
|
-
id: "pi-harness",
|
|
3810
|
-
order: 70,
|
|
3811
|
-
title: "Pi Harness",
|
|
3812
|
-
ariaLabel: "Pi harness settings",
|
|
3813
|
-
icon: Settings,
|
|
3814
|
-
group: "advanced"
|
|
3815
|
-
},
|
|
3816
|
-
keybindings: {
|
|
3817
|
-
id: "keybindings",
|
|
3818
|
-
order: 80,
|
|
3819
|
-
title: "Keybindings",
|
|
3820
|
-
ariaLabel: "Keybinding settings",
|
|
3821
|
-
icon: Keyboard,
|
|
3822
|
-
group: "advanced"
|
|
3823
|
-
},
|
|
3824
|
-
sessions: {
|
|
3825
|
-
id: "sessions",
|
|
3826
|
-
order: 90,
|
|
3827
|
-
title: "Sessions",
|
|
3828
|
-
ariaLabel: "Session settings",
|
|
3829
|
-
icon: Users,
|
|
3830
|
-
group: "workspace"
|
|
3831
|
-
}
|
|
3832
|
-
};
|
|
3833
|
-
var SETTINGS_SECTION_GROUPS = [
|
|
3834
|
-
{
|
|
3835
|
-
id: "workspace",
|
|
3836
|
-
label: "Workspace"
|
|
3837
|
-
},
|
|
3838
|
-
{
|
|
3839
|
-
id: "models",
|
|
3840
|
-
label: "Models"
|
|
3841
|
-
},
|
|
3842
|
-
{
|
|
3843
|
-
id: "advanced",
|
|
3844
|
-
label: "Advanced"
|
|
3845
|
-
}
|
|
3846
|
-
];
|
|
3847
|
-
var SETTINGS_SECTIONS = Object.values(SETTINGS_SECTION_REGISTRY).sort((left, right) => left.order - right.order);
|
|
3848
|
-
function isSettingsSectionId(value) {
|
|
3849
|
-
return SETTINGS_SECTIONS.some((section) => section.id === value);
|
|
3850
|
-
}
|
|
3851
4013
|
function PreferenceRow({ children, description, label }) {
|
|
3852
4014
|
return /* @__PURE__ */ jsxs(Field, {
|
|
3853
4015
|
orientation: "horizontal",
|
|
@@ -4005,7 +4167,7 @@ function SettingsDialogSession({ initialTab, onOpenChange, open }) {
|
|
|
4005
4167
|
}) : null
|
|
4006
4168
|
});
|
|
4007
4169
|
}
|
|
4008
|
-
function SettingsDialogPaneContent({ activeTab, form, preferences, updatePreference }) {
|
|
4170
|
+
function SettingsDialogPaneContent({ activeTab, composerIntent, form, onComposerIntentChange, onComposerIntentKeyChange, preferences, updatePreference }) {
|
|
4009
4171
|
const { isLoadingMcp, isLoadingProviders, isUpdatingMcp, isUpdatingProvider, mcpConnections, onMcpOAuth, onOAuthLogin, onRemoveMcp, onRemoveProvider, onThemePreferenceChange, onUpdateMcp, onUpdateProvider, providers, resources, settingsLoading, themePreference, draft, savingSection, packageRows, packageError, modelFilter, setModelFilter, resourceSummary, modelOptions, modelDirty, resourceDirty, revertResourceDraft, revertModelDraft, updateDraft, handlePackageRowsChange, addModels, removeModel, setDefaultModel, discoverProvider, discoveringProviderId, saveSection } = form;
|
|
4010
4172
|
const resourcesPane = (scope) => /* @__PURE__ */ jsx(ResourcesSection, {
|
|
4011
4173
|
scope,
|
|
@@ -4096,28 +4258,39 @@ function SettingsDialogPaneContent({ activeTab, form, preferences, updatePrefere
|
|
|
4096
4258
|
}),
|
|
4097
4259
|
chat: () => /* @__PURE__ */ jsxs("div", {
|
|
4098
4260
|
className: "flex flex-col gap-4",
|
|
4099
|
-
children: [
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4261
|
+
children: [
|
|
4262
|
+
/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("h3", {
|
|
4263
|
+
className: "text-lg font-medium",
|
|
4264
|
+
children: "Chat"
|
|
4265
|
+
}), /* @__PURE__ */ jsx("p", {
|
|
4266
|
+
className: "text-sm text-muted-foreground",
|
|
4267
|
+
children: "Control transcript behavior."
|
|
4268
|
+
})] }),
|
|
4269
|
+
/* @__PURE__ */ jsx(PreferenceRow, {
|
|
4270
|
+
label: "Streaming transcript",
|
|
4271
|
+
description: "Follow new output or preserve the reading position.",
|
|
4272
|
+
children: /* @__PURE__ */ jsx(Select, {
|
|
4273
|
+
"aria-label": "Streaming transcript",
|
|
4274
|
+
value: preferences.transcript,
|
|
4275
|
+
onValueChange: (value) => updatePreference("transcript", value),
|
|
4276
|
+
options: [{
|
|
4277
|
+
label: "Follow output",
|
|
4278
|
+
value: "follow"
|
|
4279
|
+
}, {
|
|
4280
|
+
label: "Manual",
|
|
4281
|
+
value: "manual"
|
|
4282
|
+
}]
|
|
4283
|
+
})
|
|
4284
|
+
}),
|
|
4285
|
+
/* @__PURE__ */ jsx(ComposerIntentSection, {
|
|
4286
|
+
enabled: composerIntent?.enabled ?? false,
|
|
4287
|
+
keySource: composerIntent?.keySource ?? "none",
|
|
4288
|
+
status: composerIntent?.status ?? "unconfigured",
|
|
4289
|
+
onClearKey: () => onComposerIntentKeyChange?.(null),
|
|
4290
|
+
onEnabledChange: onComposerIntentChange,
|
|
4291
|
+
onSaveKey: (apiKey) => onComposerIntentKeyChange?.(apiKey)
|
|
4119
4292
|
})
|
|
4120
|
-
|
|
4293
|
+
]
|
|
4121
4294
|
}),
|
|
4122
4295
|
mcp: () => /* @__PURE__ */ jsx(McpConnectionsSection, {
|
|
4123
4296
|
connections: mcpConnections,
|
|
@@ -4211,6 +4384,7 @@ function SettingsDialogPaneContent({ activeTab, form, preferences, updatePrefere
|
|
|
4211
4384
|
}
|
|
4212
4385
|
function SettingsDialogBody({ initialTab, onCloseAttemptRef, onOpenChange }) {
|
|
4213
4386
|
const form = useSettingsForm();
|
|
4387
|
+
const { composerIntent, onComposerIntentChange, onComposerIntentKeyChange } = useSettingsActionsContext();
|
|
4214
4388
|
const { resourceDirty, revertResourceDraft, resetDraft, requestCloseSettings, resetCommittedModelBaseline } = form;
|
|
4215
4389
|
const [activeTab, setActiveTab] = useState2(() => initialTab ?? "appearance");
|
|
4216
4390
|
const [preferences, setPreferences] = useState2(readUiPreferences);
|
|
@@ -4261,12 +4435,15 @@ function SettingsDialogBody({ initialTab, onCloseAttemptRef, onOpenChange }) {
|
|
|
4261
4435
|
}, [resetCommittedModelBaseline]);
|
|
4262
4436
|
const paneContent = /* @__PURE__ */ jsx(SettingsDialogPaneContent, {
|
|
4263
4437
|
activeTab,
|
|
4438
|
+
composerIntent,
|
|
4264
4439
|
form,
|
|
4440
|
+
onComposerIntentChange,
|
|
4441
|
+
onComposerIntentKeyChange,
|
|
4265
4442
|
preferences,
|
|
4266
4443
|
updatePreference
|
|
4267
4444
|
});
|
|
4268
4445
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs(DialogContent, {
|
|
4269
|
-
className: "flex h-[min(640px,calc(100dvh-4rem))] w-full max-w-[calc(100%-2rem)] overflow-hidden p-0 sm:max-w-[min(860px,calc(100%-2rem))]",
|
|
4446
|
+
className: "flex h-[min(640px,calc(100dvh-4rem))] w-full max-w-[calc(100%-2rem)] overflow-hidden rounded-2xl p-0 sm:max-w-[min(860px,calc(100%-2rem))]",
|
|
4270
4447
|
children: [
|
|
4271
4448
|
/* @__PURE__ */ jsx(DialogTitle, {
|
|
4272
4449
|
className: "sr-only",
|
|
@@ -4282,10 +4459,10 @@ function SettingsDialogBody({ initialTab, onCloseAttemptRef, onOpenChange }) {
|
|
|
4282
4459
|
"aria-label": "Settings sections",
|
|
4283
4460
|
className: "hidden h-full w-52 shrink-0 flex-col border-r border-border bg-sidebar sm:flex",
|
|
4284
4461
|
children: [/* @__PURE__ */ jsx("div", {
|
|
4285
|
-
className: "px-
|
|
4462
|
+
className: "px-6 pt-6 pb-2 text-label font-semibold",
|
|
4286
4463
|
children: "Settings"
|
|
4287
4464
|
}), /* @__PURE__ */ jsx("div", {
|
|
4288
|
-
className: "min-h-0 flex-1 overflow-y-auto px-2 pb-
|
|
4465
|
+
className: "min-h-0 flex-1 overflow-y-auto px-2 pb-6",
|
|
4289
4466
|
children: SETTINGS_SECTION_GROUPS.map((group) => /* @__PURE__ */ jsxs("div", {
|
|
4290
4467
|
className: "py-2",
|
|
4291
4468
|
children: [/* @__PURE__ */ jsx("p", {
|
|
@@ -4364,7 +4541,7 @@ export {
|
|
|
4364
4541
|
SettingsDialog
|
|
4365
4542
|
};
|
|
4366
4543
|
/**
|
|
4367
|
-
* @license lucide-react v1.
|
|
4544
|
+
* @license lucide-react v1.44.0 - ISC
|
|
4368
4545
|
*
|
|
4369
4546
|
* This source code is licensed under the ISC license.
|
|
4370
4547
|
* See the LICENSE file in the root directory of this source tree.
|