@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
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
resolveManifestAssetLink,
|
|
27
27
|
resolveManifestCssLink,
|
|
28
28
|
rootRouteId
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-F5DJQ3PQ.js";
|
|
30
30
|
import "./chunk-MLKGABMK.js";
|
|
31
31
|
|
|
32
32
|
// web/app/dist/server/server.js
|
|
@@ -1295,7 +1295,7 @@ function makeMainStream(serverSsr, appStream, opts) {
|
|
|
1295
1295
|
return stream;
|
|
1296
1296
|
}
|
|
1297
1297
|
|
|
1298
|
-
// node_modules/.pnpm/@tanstack+react-router@1.170.32_react-dom@19.
|
|
1298
|
+
// node_modules/.pnpm/@tanstack+react-router@1.170.32_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@tanstack/react-router/dist/esm/ssr/renderRouterToStream.js
|
|
1299
1299
|
import ReactDOMServer from "react-dom/server";
|
|
1300
1300
|
import { PassThrough } from "node:stream";
|
|
1301
1301
|
|
|
@@ -1320,7 +1320,7 @@ function isBot(userAgent) {
|
|
|
1320
1320
|
}
|
|
1321
1321
|
var isbot = isBot;
|
|
1322
1322
|
|
|
1323
|
-
// node_modules/.pnpm/@tanstack+react-router@1.170.32_react-dom@19.
|
|
1323
|
+
// node_modules/.pnpm/@tanstack+react-router@1.170.32_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@tanstack/react-router/dist/esm/ssr/renderRouterToStream.js
|
|
1324
1324
|
var noop2 = () => {
|
|
1325
1325
|
};
|
|
1326
1326
|
async function waitForReadyOrAbort(ready, signal) {
|
|
@@ -2024,7 +2024,7 @@ function getResponse() {
|
|
|
2024
2024
|
}
|
|
2025
2025
|
var HEADERS = { TSS_SHELL: "X-TSS_SHELL" };
|
|
2026
2026
|
async function getStartManifest(matchedRoutes) {
|
|
2027
|
-
const { tsrStartManifest } = await import("./_tanstack-start-manifest_v-
|
|
2027
|
+
const { tsrStartManifest } = await import("./_tanstack-start-manifest_v-BZR0i182-OLTGGEDQ.js");
|
|
2028
2028
|
const startManifest = tsrStartManifest();
|
|
2029
2029
|
let routes = startManifest.routes;
|
|
2030
2030
|
routes[rootRouteId];
|
|
@@ -4982,8 +4982,8 @@ var getBaseManifest = getProdBaseManifest;
|
|
|
4982
4982
|
var createEarlyHintsForRequest = createEarlyHintsCollector;
|
|
4983
4983
|
async function loadEntries() {
|
|
4984
4984
|
const [routerEntry, startEntry, pluginAdapters] = await Promise.all([
|
|
4985
|
-
import("./router-
|
|
4986
|
-
import("./start-
|
|
4985
|
+
import("./router-RPObiwZR-AFMFSYSZ.js"),
|
|
4986
|
+
import("./start-QK6aG02q-RXFV6K5L.js"),
|
|
4987
4987
|
import("./empty-plugin-adapters-Cqtvkauv-6XWFDBYT.js")
|
|
4988
4988
|
]);
|
|
4989
4989
|
return {
|
|
@@ -5,26 +5,25 @@ import {
|
|
|
5
5
|
ShimmerLabel,
|
|
6
6
|
SwapLabel,
|
|
7
7
|
collapsePanel
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GSG3K6RA.js";
|
|
9
9
|
import {
|
|
10
10
|
Collapsible,
|
|
11
11
|
CollapsibleContent,
|
|
12
12
|
CollapsibleTrigger
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ACZS5EEZ.js";
|
|
14
14
|
import {
|
|
15
15
|
ChevronDown
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-G3WQTXJY.js";
|
|
17
|
+
import "./chunk-C2YGLMFE.js";
|
|
18
|
+
import "./chunk-OYWUPJ72.js";
|
|
19
|
+
import "./chunk-EKVRPCBJ.js";
|
|
20
|
+
import "./chunk-JVXQQYXB.js";
|
|
21
21
|
import {
|
|
22
22
|
cn
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-JDCCC7A7.js";
|
|
23
|
+
} from "./chunk-JCK6B7ZW.js";
|
|
25
24
|
import "./chunk-MLKGABMK.js";
|
|
26
25
|
|
|
27
|
-
// web/app/dist/server/assets/session-reasoning-panel-
|
|
26
|
+
// web/app/dist/server/assets/session-reasoning-panel-CXMCAM8C.js
|
|
28
27
|
import { useMemo, useState } from "react";
|
|
29
28
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
30
29
|
var CELL_SHAPES = {
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SessionToolRenderer,
|
|
3
|
+
session_tool_renderer_exports
|
|
4
|
+
} from "./chunk-QN7KFCUW.js";
|
|
5
|
+
import "./chunk-FAJILEF2.js";
|
|
6
|
+
import "./chunk-V3S6BVXO.js";
|
|
7
|
+
import "./chunk-GSG3K6RA.js";
|
|
8
|
+
import "./chunk-JEQQEY6O.js";
|
|
9
|
+
import "./chunk-DIVIHC5K.js";
|
|
10
|
+
import "./chunk-GNDXVFJY.js";
|
|
11
|
+
import "./chunk-YBCP4V6T.js";
|
|
12
|
+
import "./chunk-RWYAKZCZ.js";
|
|
13
|
+
import "./chunk-ZNI5AL4B.js";
|
|
14
|
+
import "./chunk-LY5XOHHU.js";
|
|
15
|
+
import "./chunk-WU6KNEGU.js";
|
|
16
|
+
import "./chunk-MTVGA2MH.js";
|
|
17
|
+
import "./chunk-ACZS5EEZ.js";
|
|
18
|
+
import "./chunk-CMOAC245.js";
|
|
19
|
+
import "./chunk-HFN4TNR3.js";
|
|
20
|
+
import "./chunk-F3OV445J.js";
|
|
21
|
+
import "./chunk-AWVHN432.js";
|
|
22
|
+
import "./chunk-36BG6OPK.js";
|
|
23
|
+
import "./chunk-CRCVWYBA.js";
|
|
24
|
+
import "./chunk-QHCQDVCQ.js";
|
|
25
|
+
import "./chunk-7SZKAHLD.js";
|
|
26
|
+
import "./chunk-FOMB2JR7.js";
|
|
27
|
+
import "./chunk-TNZKPEE6.js";
|
|
28
|
+
import "./chunk-G3WQTXJY.js";
|
|
29
|
+
import "./chunk-Z4OTKGMN.js";
|
|
30
|
+
import "./chunk-C2YGLMFE.js";
|
|
31
|
+
import "./chunk-XZCIEF54.js";
|
|
32
|
+
import "./chunk-OYWUPJ72.js";
|
|
33
|
+
import "./chunk-EKVRPCBJ.js";
|
|
34
|
+
import "./chunk-ST5I2PLN.js";
|
|
35
|
+
import "./chunk-V7PDLH3T.js";
|
|
36
|
+
import "./chunk-LQRH6BP6.js";
|
|
37
|
+
import "./chunk-TSOBRZPG.js";
|
|
38
|
+
import "./chunk-JVXQQYXB.js";
|
|
39
|
+
import "./chunk-JCK6B7ZW.js";
|
|
40
|
+
import "./chunk-UQVZJSZZ.js";
|
|
41
|
+
import "./chunk-L547YHC4.js";
|
|
42
|
+
import "./chunk-MLKGABMK.js";
|
|
43
|
+
export {
|
|
44
|
+
session_tool_renderer_exports as n,
|
|
45
|
+
SessionToolRenderer as t
|
|
46
|
+
};
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AlertDialog,
|
|
3
|
+
AlertDialogCancel,
|
|
4
|
+
AlertDialogContent,
|
|
5
|
+
AlertDialogDescription,
|
|
6
|
+
AlertDialogFooter,
|
|
7
|
+
AlertDialogTitle
|
|
8
|
+
} from "./chunk-GR765UTQ.js";
|
|
9
|
+
import {
|
|
10
|
+
GitBranch
|
|
11
|
+
} from "./chunk-RWYAKZCZ.js";
|
|
12
|
+
import "./chunk-5VPNOUVY.js";
|
|
13
|
+
import {
|
|
14
|
+
Button
|
|
15
|
+
} from "./chunk-UXS5E6OE.js";
|
|
16
|
+
import "./chunk-UUDBEYKV.js";
|
|
17
|
+
import "./chunk-OYWUPJ72.js";
|
|
18
|
+
import "./chunk-EKVRPCBJ.js";
|
|
19
|
+
import "./chunk-JVXQQYXB.js";
|
|
20
|
+
import {
|
|
21
|
+
cn
|
|
22
|
+
} from "./chunk-JCK6B7ZW.js";
|
|
23
|
+
import "./chunk-RPWKCJHL.js";
|
|
24
|
+
import "./chunk-L547YHC4.js";
|
|
25
|
+
import "./chunk-MLKGABMK.js";
|
|
26
|
+
|
|
27
|
+
// web/app/dist/server/assets/session-tree-panel-WaHHv775.js
|
|
28
|
+
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
29
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
30
|
+
function flattenVisibleNodes(nodes, depth = 0) {
|
|
31
|
+
const rows = [];
|
|
32
|
+
for (const node of nodes) {
|
|
33
|
+
rows.push({
|
|
34
|
+
node,
|
|
35
|
+
depth
|
|
36
|
+
});
|
|
37
|
+
rows.push(...flattenVisibleNodes(node.children, depth + 1));
|
|
38
|
+
}
|
|
39
|
+
return rows;
|
|
40
|
+
}
|
|
41
|
+
function SessionTreeRow({ depth, isSelected, node, onSelect }) {
|
|
42
|
+
return /* @__PURE__ */ jsxs(Button, {
|
|
43
|
+
type: "button",
|
|
44
|
+
variant: "ghost",
|
|
45
|
+
"data-testid": `session-tree-node-${node.id}`,
|
|
46
|
+
onClick: onSelect,
|
|
47
|
+
className: cn("h-auto w-full flex-col items-start gap-0.5 rounded-md px-2 py-1.5 text-left font-normal", isSelected ? "bg-foreground/10 ring-1 ring-foreground/15" : "hover:bg-foreground/6", node.isOnActiveBranch ? "text-foreground/90" : "text-foreground/55"),
|
|
48
|
+
style: {
|
|
49
|
+
marginLeft: `${depth * 12}px`,
|
|
50
|
+
width: `calc(100% - ${depth * 12}px)`
|
|
51
|
+
},
|
|
52
|
+
children: [/* @__PURE__ */ jsxs("span", {
|
|
53
|
+
className: "flex items-center gap-1.5 text-label leading-5",
|
|
54
|
+
children: [node.isLeaf ? /* @__PURE__ */ jsx("span", {
|
|
55
|
+
"aria-hidden": "true",
|
|
56
|
+
className: "font-semibold text-foreground",
|
|
57
|
+
children: "*"
|
|
58
|
+
}) : null, /* @__PURE__ */ jsx("span", {
|
|
59
|
+
className: "truncate font-medium",
|
|
60
|
+
children: node.preview
|
|
61
|
+
})]
|
|
62
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
63
|
+
className: "truncate font-mono text-caption text-foreground/40",
|
|
64
|
+
children: node.id
|
|
65
|
+
})]
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
function SessionTreePanel({ sessionId, snapshot, loading, error, isStreaming, selectedEntryId, onSelectEntry, onRefresh, onRewind }) {
|
|
69
|
+
const [confirmEntryId, setConfirmEntryId] = useState(null);
|
|
70
|
+
const [confirmExpectedLeafId, setConfirmExpectedLeafId] = useState(null);
|
|
71
|
+
const [confirming, setConfirming] = useState(false);
|
|
72
|
+
const [confirmError, setConfirmError] = useState(null);
|
|
73
|
+
const confirmGenerationRef = useRef(0);
|
|
74
|
+
const rows = useMemo(() => snapshot ? flattenVisibleNodes(snapshot.nodes) : [], [snapshot]);
|
|
75
|
+
const selectedNode = useMemo(() => rows.find((row) => row.node.id === selectedEntryId)?.node, [rows, selectedEntryId]);
|
|
76
|
+
const canRewind = Boolean(selectedNode && snapshot && selectedEntryId && selectedEntryId !== snapshot.leafId && !isStreaming);
|
|
77
|
+
useEffect(() => {
|
|
78
|
+
if (confirmEntryId === null || confirming || confirmError === null) return;
|
|
79
|
+
const nextLeaf = snapshot?.leafId ?? null;
|
|
80
|
+
if (nextLeaf === confirmExpectedLeafId) return;
|
|
81
|
+
setConfirmExpectedLeafId(nextLeaf);
|
|
82
|
+
}, [
|
|
83
|
+
confirmEntryId,
|
|
84
|
+
confirming,
|
|
85
|
+
confirmError,
|
|
86
|
+
confirmExpectedLeafId,
|
|
87
|
+
snapshot?.leafId
|
|
88
|
+
]);
|
|
89
|
+
const resolveMessageId = useCallback((node) => {
|
|
90
|
+
if (!sessionId || node.messageIndex === void 0) return void 0;
|
|
91
|
+
return `${sessionId}-m${node.messageIndex}`;
|
|
92
|
+
}, [sessionId]);
|
|
93
|
+
const clearConfirm = useCallback(() => {
|
|
94
|
+
confirmGenerationRef.current += 1;
|
|
95
|
+
setConfirmEntryId(null);
|
|
96
|
+
setConfirmExpectedLeafId(null);
|
|
97
|
+
setConfirmError(null);
|
|
98
|
+
setConfirming(false);
|
|
99
|
+
}, []);
|
|
100
|
+
useEffect(() => {
|
|
101
|
+
clearConfirm();
|
|
102
|
+
}, [sessionId, clearConfirm]);
|
|
103
|
+
const handleConfirmRewind = useCallback(async () => {
|
|
104
|
+
const entryId = confirmEntryId;
|
|
105
|
+
const leafId = confirmExpectedLeafId;
|
|
106
|
+
if (!entryId) return;
|
|
107
|
+
const generation = ++confirmGenerationRef.current;
|
|
108
|
+
const isCurrent = () => confirmGenerationRef.current === generation;
|
|
109
|
+
setConfirming(true);
|
|
110
|
+
setConfirmError(null);
|
|
111
|
+
try {
|
|
112
|
+
await onRewind(entryId, leafId);
|
|
113
|
+
if (isCurrent()) clearConfirm();
|
|
114
|
+
} catch (caught) {
|
|
115
|
+
if (isCurrent()) setConfirmError(caught instanceof Error ? caught.message : String(caught));
|
|
116
|
+
} finally {
|
|
117
|
+
if (isCurrent()) setConfirming(false);
|
|
118
|
+
}
|
|
119
|
+
}, [
|
|
120
|
+
clearConfirm,
|
|
121
|
+
confirmEntryId,
|
|
122
|
+
confirmExpectedLeafId,
|
|
123
|
+
onRewind
|
|
124
|
+
]);
|
|
125
|
+
const openConfirm = useCallback((entryId) => {
|
|
126
|
+
setConfirmError(null);
|
|
127
|
+
setConfirmEntryId(entryId);
|
|
128
|
+
setConfirmExpectedLeafId(snapshot?.leafId ?? null);
|
|
129
|
+
}, [snapshot?.leafId]);
|
|
130
|
+
if (!sessionId) return /* @__PURE__ */ jsx("section", {
|
|
131
|
+
"aria-label": "Session tree",
|
|
132
|
+
className: "flex min-h-36 items-center rounded-md border border-dashed border-border/70 px-4 text-center text-label leading-5 text-foreground/45",
|
|
133
|
+
children: "Start or open a session to browse its branch history."
|
|
134
|
+
});
|
|
135
|
+
return /* @__PURE__ */ jsxs("section", {
|
|
136
|
+
"aria-label": "Session tree",
|
|
137
|
+
className: "flex min-h-0 flex-1 flex-col gap-3",
|
|
138
|
+
children: [
|
|
139
|
+
/* @__PURE__ */ jsxs("div", {
|
|
140
|
+
className: "flex items-center justify-between gap-2",
|
|
141
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
142
|
+
className: "flex items-center gap-2 text-label text-foreground/70",
|
|
143
|
+
children: [/* @__PURE__ */ jsx(GitBranch, {
|
|
144
|
+
className: "size-4",
|
|
145
|
+
"aria-hidden": "true"
|
|
146
|
+
}), /* @__PURE__ */ jsx("span", { children: "Branch history" })]
|
|
147
|
+
}), /* @__PURE__ */ jsx(Button, {
|
|
148
|
+
type: "button",
|
|
149
|
+
size: "sm",
|
|
150
|
+
variant: "outline",
|
|
151
|
+
onClick: onRefresh,
|
|
152
|
+
disabled: loading,
|
|
153
|
+
children: "Refresh"
|
|
154
|
+
})]
|
|
155
|
+
}),
|
|
156
|
+
error ? /* @__PURE__ */ jsx("p", {
|
|
157
|
+
className: "rounded-md border border-destructive/30 bg-destructive/5 px-3 py-2 text-label text-destructive",
|
|
158
|
+
children: error
|
|
159
|
+
}) : null,
|
|
160
|
+
isStreaming ? /* @__PURE__ */ jsx("p", {
|
|
161
|
+
className: "rounded-md border border-border/60 bg-background px-3 py-2 text-label text-foreground/60",
|
|
162
|
+
children: "Finish or stop the current turn before rewinding."
|
|
163
|
+
}) : null,
|
|
164
|
+
/* @__PURE__ */ jsxs("div", {
|
|
165
|
+
"data-testid": "session-tree-list",
|
|
166
|
+
className: "flex min-h-0 flex-1 flex-col gap-1 overflow-y-auto rounded-md border border-border/60 bg-background p-2",
|
|
167
|
+
children: [
|
|
168
|
+
loading && rows.length === 0 ? /* @__PURE__ */ jsx("p", {
|
|
169
|
+
className: "px-2 py-3 text-label text-foreground/45",
|
|
170
|
+
children: "Loading session tree\u2026"
|
|
171
|
+
}) : null,
|
|
172
|
+
!loading && rows.length === 0 ? /* @__PURE__ */ jsx("p", {
|
|
173
|
+
className: "px-2 py-3 text-label text-foreground/45",
|
|
174
|
+
children: "No branch entries yet."
|
|
175
|
+
}) : null,
|
|
176
|
+
rows.map(({ node, depth }) => /* @__PURE__ */ jsx(SessionTreeRow, {
|
|
177
|
+
depth,
|
|
178
|
+
node,
|
|
179
|
+
isSelected: node.id === selectedEntryId,
|
|
180
|
+
onSelect: () => onSelectEntry(node.id, resolveMessageId(node))
|
|
181
|
+
}, node.id))
|
|
182
|
+
]
|
|
183
|
+
}),
|
|
184
|
+
/* @__PURE__ */ jsxs("div", {
|
|
185
|
+
className: "flex items-center justify-between gap-2",
|
|
186
|
+
children: [/* @__PURE__ */ jsxs("p", {
|
|
187
|
+
className: "text-caption text-foreground/45",
|
|
188
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
189
|
+
"aria-hidden": "true",
|
|
190
|
+
children: "*"
|
|
191
|
+
}), " marks the current leaf on the active branch."]
|
|
192
|
+
}), /* @__PURE__ */ jsx(Button, {
|
|
193
|
+
type: "button",
|
|
194
|
+
size: "sm",
|
|
195
|
+
disabled: !canRewind,
|
|
196
|
+
onClick: () => selectedEntryId && openConfirm(selectedEntryId),
|
|
197
|
+
children: "Rewind here"
|
|
198
|
+
})]
|
|
199
|
+
}),
|
|
200
|
+
/* @__PURE__ */ jsx(AlertDialog, {
|
|
201
|
+
open: confirmEntryId !== null,
|
|
202
|
+
onOpenChange: (open) => {
|
|
203
|
+
if (!open && !confirming) clearConfirm();
|
|
204
|
+
},
|
|
205
|
+
children: /* @__PURE__ */ jsxs(AlertDialogContent, { children: [
|
|
206
|
+
/* @__PURE__ */ jsx(AlertDialogTitle, { children: "Rewind session?" }),
|
|
207
|
+
/* @__PURE__ */ jsx(AlertDialogDescription, { children: "Later turns on the current branch leave the active session. Rewinding to a user turn follows Prime Agent edit-from-here semantics: the leaf moves to that message's parent so you can resend from there." }),
|
|
208
|
+
confirmError ? /* @__PURE__ */ jsx("p", {
|
|
209
|
+
className: "rounded-md border border-destructive/30 bg-destructive/5 px-3 py-2 text-label text-destructive",
|
|
210
|
+
children: confirmError
|
|
211
|
+
}) : null,
|
|
212
|
+
/* @__PURE__ */ jsxs(AlertDialogFooter, { children: [/* @__PURE__ */ jsx(AlertDialogCancel, {
|
|
213
|
+
disabled: confirming,
|
|
214
|
+
children: "Cancel"
|
|
215
|
+
}), /* @__PURE__ */ jsx(Button, {
|
|
216
|
+
type: "button",
|
|
217
|
+
variant: "destructive",
|
|
218
|
+
disabled: confirming,
|
|
219
|
+
onClick: () => void handleConfirmRewind(),
|
|
220
|
+
children: confirming ? "Rewinding\u2026" : "Rewind"
|
|
221
|
+
})] })
|
|
222
|
+
] })
|
|
223
|
+
})
|
|
224
|
+
]
|
|
225
|
+
});
|
|
226
|
+
}
|
|
227
|
+
export {
|
|
228
|
+
SessionTreePanel
|
|
229
|
+
};
|