@qredence/fleet 0.6.1 → 0.6.2
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 +11 -0
- package/dist/web/client/assets/agent-disclosure-CMrxF7L-.js +1 -0
- package/dist/web/client/assets/analytics-stub-C2vgmGm_.js +1 -0
- package/dist/web/client/assets/artifacts-panel-DmQghvw8.js +1 -0
- package/dist/web/client/assets/{bot-Bs7QWJ2q.js → bot-DbB9BKL0.js} +1 -1
- package/dist/web/client/assets/bundle-mjs-cJTHqqzI.js +1 -0
- package/dist/web/client/assets/button-Dl0ce3Y5.js +1 -0
- package/dist/web/client/assets/{card-DA3Vnqay.js → card-DCEnYd2G.js} +1 -1
- package/dist/web/client/assets/chat-C24kD2SP.js +52 -0
- package/dist/web/client/assets/chat-command-palette-BIwjhE6s.js +1 -0
- package/dist/web/client/assets/check-B3LlvM65.js +1 -0
- package/dist/web/client/assets/{chevron-down-BEVGmnSb.js → chevron-down-DUUprRP5.js} +1 -1
- package/dist/web/client/assets/chevron-right-NVqQIoiO.js +1 -0
- package/dist/web/client/assets/{chunk-YOKDWASO-BAf618wr.js → chunk-YOKDWASO-Bte3iwlH.js} +6 -6
- package/dist/web/client/assets/citations-BUvM92nt.js +1 -0
- package/dist/web/client/assets/collapsible-CUxOjhDJ.js +1 -0
- package/dist/web/client/assets/command-Dv96gATQ.js +1 -0
- package/dist/web/client/assets/createBaseUIEventDetails-B58Jldei.js +1 -0
- package/dist/web/client/assets/createLucideIcon-_dfI7Arx.js +1 -0
- package/dist/web/client/assets/dialog-BCb4rQh0.js +1 -0
- package/dist/web/client/assets/dist-52wg4XPY.js +1 -0
- package/dist/web/client/assets/dist-DbHxXSgQ.js +41 -0
- package/dist/web/client/assets/ease-CMumuPlX.js +1 -0
- package/dist/web/client/assets/{eye-B0DFz5hL.js → eye-CDHqtVoE.js} +1 -1
- package/dist/web/client/assets/file-text-TmalmYrb.js +1 -0
- package/dist/web/client/assets/{folder-BC5p7qK7.js → folder-vuNT4shY.js} +1 -1
- package/dist/web/client/assets/{fork-picker-dialog-B7NNpVmW.js → fork-picker-dialog-CpwEwsxA.js} +1 -1
- package/dist/web/client/assets/gauge-BsDqNM1A.js +1 -0
- package/dist/web/client/assets/globals-DCtBkCSD.css +2 -0
- package/dist/web/client/assets/{hard-drive-CHqgr7VQ.js → hard-drive-BT7UxHQu.js} +1 -1
- package/dist/web/client/assets/highlighted-body-KPVGNVTW-CgT7gqvs.js +1 -0
- package/dist/web/client/assets/horizontal-resize-VLjLByUV.js +1 -0
- package/dist/web/client/assets/index-BGnQeUYE.js +12 -0
- package/dist/web/client/assets/input-CxZp56Im.js +1 -0
- package/dist/web/client/assets/input-group-D7lAfKHR.js +1 -0
- package/dist/web/client/assets/ipython-tool-CkHaO3PW.js +3 -0
- package/dist/web/client/assets/is-ref-object-BcRWZ4l7.js +1 -0
- package/dist/web/client/assets/{loader-circle-DjfHXUPB.js → loader-circle-B5GIZGxd.js} +1 -1
- package/dist/web/client/assets/markdown-BHkByC9K.js +2 -0
- package/dist/web/client/assets/{markdown-code-xNyjdZ4g.js → markdown-code-CDTRq-HZ.js} +1 -1
- package/dist/web/client/assets/mermaid-HWGCJPDP-CY3N5ECk.js +1 -0
- package/dist/web/client/assets/message-queue-Dl8wbCOu.js +1 -0
- package/dist/web/client/assets/model-selector-list-CRZCXeBf.js +1 -0
- package/dist/web/client/assets/{notify-DxL0VD7Z.js → notify-DjVixft7.js} +1 -1
- package/dist/web/client/assets/{openui-renderer-TLNe5e_Q.js → openui-renderer-Bkkx5kmA.js} +37 -37
- package/dist/web/client/assets/{package-CdcJFPf2.js → package-BKBPgwMP.js} +1 -1
- package/dist/web/client/assets/{pencil-DcUwsKLn.js → pencil-CdO6qfv3.js} +1 -1
- package/dist/web/client/assets/{plug-Dt6VN0zF.js → plug-BRROUIw-.js} +1 -1
- package/dist/web/client/assets/prompt-input-WaGSKZCU.js +1 -0
- package/dist/web/client/assets/prompt-suggestions-BNyTcyWg.js +1 -0
- package/dist/web/client/assets/provider-catalog-C0XBIasJ.js +1 -0
- package/dist/web/client/assets/provider-label-Cka0ep0S.js +1 -0
- package/dist/web/client/assets/react-CwJFpaho.js +1 -0
- package/dist/web/client/assets/react-dom-DX3XddaT.js +1 -0
- package/dist/web/client/assets/{refresh-cw-IThTJ3j-.js → refresh-cw-l9WPHRkq.js} +1 -1
- package/dist/web/client/assets/repl-panel-L9dmPqio.js +1 -0
- package/dist/web/client/assets/{resource-helpers-Q2T0YCMO.js → resource-helpers-BuWybA8l.js} +1 -1
- package/dist/web/client/assets/resources-panel-mT-aMCvV.js +1 -0
- package/dist/web/client/assets/right-panel-context-CS8tJMzE.js +1 -0
- package/dist/web/client/assets/right-panel-registry-BCW7fQTG.js +2 -0
- package/dist/web/client/assets/{rotate-ccw-WNFNkKQD.js → rotate-ccw-CfGhzOv7.js} +1 -1
- package/dist/web/client/assets/routes-BWe5Iz-2.js +16 -0
- package/dist/web/client/assets/safe-external-url-BbAom7Bm.js +1 -0
- package/dist/web/client/assets/search-BjcXAUrI.js +1 -0
- package/dist/web/client/assets/session-insights-panel-B0rl37lo.js +1 -0
- package/dist/web/client/assets/session-reasoning-panel-8D2P7iaJ.js +1 -0
- package/dist/web/client/assets/session-tool-renderer-3E3cv8D0.js +1395 -0
- package/dist/web/client/assets/settings-dialog-B8lHq2tT.js +2 -0
- package/dist/web/client/assets/{skeleton-CkR2VmWc.js → skeleton-C3mo31Qu.js} +1 -1
- package/dist/web/client/assets/skeleton-loaders-BMa_G4yX.js +1 -0
- package/dist/web/client/assets/{shield-check-CkA2viVW.js → sparkles-D8XIY8pN.js} +1 -1
- package/dist/web/client/assets/square-DQaQu9bp.js +1 -0
- package/dist/web/client/assets/{square-terminal-BYTN_I86.js → square-terminal-BsopiuN7.js} +1 -1
- package/dist/web/client/assets/{subagent-chat-panel-oeLDPDAK.js → subagent-chat-panel-C5ukYiUx.js} +1 -1
- package/dist/web/client/assets/subagent-transcript-lqNcSVbH.js +1 -0
- package/dist/web/client/assets/subagents-panel-SJKhaVTr.js +1 -0
- package/dist/web/client/assets/{sun-BWiZFty0.js → sun-D0llhiMU.js} +1 -1
- package/dist/web/client/assets/surfaces-CpfsGAIA.js +1 -0
- package/dist/web/client/assets/switch-D3FhZU-S.js +1 -0
- package/dist/web/client/assets/terminal-BQAKkBY6.js +1 -0
- package/dist/web/client/assets/toast-lnCWGgSE.js +1 -0
- package/dist/web/client/assets/tokens-Ch5WqXC_.js +1 -0
- package/dist/web/client/assets/tool-result-B_yb2JoE.js +4 -0
- package/dist/web/client/assets/tool-timeline-VnMRQoLS.js +1 -0
- package/dist/web/client/assets/{triangle-alert-CU-gd7ui.js → triangle-alert-GAYh_5d3.js} +1 -1
- package/dist/web/client/assets/ui-preferences-aG2U2jjW.js +1 -0
- package/dist/web/client/assets/use-presence-7I2qv4qI.js +1 -0
- package/dist/web/client/assets/use-reduced-motion-BOcG709U.js +9 -0
- package/dist/web/client/assets/useBaseUiId-D9ZGPZ6f.js +1 -0
- package/dist/web/client/assets/useControlled-CgAAWIy9.js +1 -0
- package/dist/web/client/assets/utils-Brtgag-m.js +1 -0
- package/dist/web/client/assets/virtualized-turn-list-BgUgX6tM.js +6 -0
- package/dist/web/client/assets/workspace-panel-CKF5JQl2.js +1 -0
- package/dist/web/client/assets/workspace-path-nav-DqPbETfJ.js +2 -0
- package/dist/web/client/assets/{wrench-BJNNe07k.js → wrench-Myc12BTA.js} +1 -1
- package/dist/web/client/assets/x-BGsDD848.js +1 -0
- package/dist/web/client/bundle-budget.json +6 -6
- package/dist/web/server/_tanstack-start-manifest_v-BDPifIFN-DTSNCHBX.js +91 -0
- package/dist/web/server/{artifacts-panel-D3ySO--V-XSL53CXL.js → artifacts-panel-BN3DgqfV-N73J6N5Y.js} +39 -44
- package/dist/web/server/{chat-command-palette-kAbXhWVg-TJWXH2WW.js → chat-command-palette-G8awyZRw-2QE7FXGT.js} +18 -18
- package/dist/web/server/{chunk-SALXCFVO.js → chunk-33QA7BQJ.js} +19 -1
- package/dist/web/server/{chunk-5UCAJBAH.js → chunk-43S5N7SH.js} +80 -47
- package/dist/web/server/chunk-4EBSM4JR.js +74 -0
- package/dist/web/server/{chunk-ZIFSJ3HQ.js → chunk-4OTHKQMG.js} +185 -109
- package/dist/web/server/{chunk-NNKJTKOQ.js → chunk-6SOMNRAX.js} +309 -279
- package/dist/web/server/chunk-7E76R7MB.js +2138 -0
- package/dist/web/server/{chunk-EBG3XFGQ.js → chunk-7FK6YEMA.js} +49 -44
- package/dist/web/server/chunk-7HXCGBUP.js +56 -0
- package/dist/web/server/{chunk-P66QQWUM.js → chunk-7NZ3FJDA.js} +14 -1
- package/dist/web/server/{chunk-HF7DG7PC.js → chunk-7UTDOTOU.js} +80 -78
- package/dist/web/server/{chunk-OZO5ARFA.js → chunk-BQROC4PL.js} +11 -2
- package/dist/web/server/{chunk-JTCCQZLN.js → chunk-BUXJSBE3.js} +2 -2
- package/dist/web/server/{chunk-NIZBFVJF.js → chunk-CAPTFJOC.js} +9 -7
- package/dist/web/server/{chunk-YGYOBX7G.js → chunk-CCYLHNZJ.js} +1767 -52
- package/dist/web/server/{chunk-DJMHPJBP.js → chunk-CHEC7TWB.js} +3 -1
- package/dist/web/server/{chunk-NJ4QEZHK.js → chunk-CW6KZUKT.js} +7 -5
- package/dist/web/server/chunk-DLA5TLKX.js +164 -0
- package/dist/web/server/{chunk-MNBGB2SP.js → chunk-E5HALE4M.js} +4 -4
- package/dist/web/server/{chunk-D27LRYVT.js → chunk-EDAWH2MT.js} +10 -9
- package/dist/web/server/{chunk-NGCQJ33Y.js → chunk-ENGEUJIH.js} +1494 -1644
- package/dist/web/server/{chunk-RIP3PBWT.js → chunk-ESM7OCRL.js} +4 -4
- package/dist/web/server/{chunk-O3HDELZ2.js → chunk-FT74GAAH.js} +676 -670
- package/dist/web/server/{chunk-WNCAL4HN.js → chunk-HQ5TEXHT.js} +132 -152
- package/dist/web/server/{chunk-YOM42BKD.js → chunk-IPV4GLJL.js} +16 -16
- package/dist/web/server/{chunk-UL2725KQ.js → chunk-IXGLKAPN.js} +54 -46
- package/dist/web/server/{chunk-3TIMGWWI.js → chunk-JPDRUSUD.js} +2 -2
- package/dist/web/server/{chunk-4WBFCB4O.js → chunk-JVOW2NWC.js} +179 -177
- package/dist/web/server/chunk-K6PTNSCW.js +31 -0
- package/dist/web/server/{chunk-AR7O7JXD.js → chunk-KBWUBWVJ.js} +24 -1
- package/dist/web/server/{chunk-QIULBRTU.js → chunk-MJXXVQNA.js} +79 -84
- package/dist/web/server/{chunk-NWDI3OWB.js → chunk-NCK2FJAD.js} +30 -26
- package/dist/web/server/{chunk-QFRCJWQQ.js → chunk-NMBH57JT.js} +94 -33
- package/dist/web/server/{chunk-EAJTWMK5.js → chunk-NZ6KQT2X.js} +2 -2
- package/dist/web/server/{chunk-2DDWXTVG.js → chunk-O2UYZT3Z.js} +11 -11
- package/dist/web/server/{chunk-DLUZFOG3.js → chunk-OMEDERPG.js} +21 -25
- package/dist/web/server/{chunk-BLSX7WHW.js → chunk-OSMP55KI.js} +23 -2
- package/dist/web/server/{chunk-S3PQ6HKH.js → chunk-OVJYUWSQ.js} +2 -2
- package/dist/web/server/{chunk-UCUFC553.js → chunk-RXUMFFUV.js} +3 -3
- package/dist/web/server/{chunk-DO2O27B2.js → chunk-SDV3P3IW.js} +2 -2
- package/dist/web/server/chunk-TLNZNR7C.js +46 -0
- package/dist/web/server/{chunk-FYDQK6UX.js → chunk-UDD5W4CR.js} +32 -10
- package/dist/web/server/{chunk-MNPHMZU7.js → chunk-UE32PAV2.js} +47 -57
- package/dist/web/server/{chunk-KP2PNDGL.js → chunk-WB2LJC3R.js} +29 -32
- package/dist/web/server/{chunk-ETTDO4UO.js → chunk-WTYNN6EV.js} +1 -26
- package/dist/web/server/{chunk-EJEPDVK6.js → chunk-WU6X3GPJ.js} +48 -5
- package/dist/web/server/{chunk-XIB6XNUX.js → chunk-XJ6TGSUB.js} +425 -404
- package/dist/web/server/{chunk-PLYZ7P2Y.js → chunk-YMPJMHXZ.js} +41 -4
- package/dist/web/server/{chunk-GETSIVNU.js → chunk-YVGCPUAW.js} +7 -7
- package/dist/web/server/{chunk-4UBOIY2S.js → chunk-ZNFXBGLK.js} +1 -1
- package/dist/web/server/chunk-ZOVXMNJM.js +477 -0
- package/dist/web/server/{fork-picker-dialog-Ds6Tgtu3-DIBWN7MV.js → fork-picker-dialog-YKlapaxN-DR5L74ST.js} +9 -8
- package/dist/web/server/{markdown-DTnMbD87-FXGGAPJD.js → markdown-BzNejPoZ-6ITTDAV6.js} +2 -3
- package/dist/web/server/{markdown-code-BStjFfsy-SSLWUT4S.js → markdown-code-DAwXuW6m-HHVELO6I.js} +3 -4
- package/dist/web/server/{fleet-message-queue-D_w8lSeY-T3HB7HVQ.js → message-queue-Demph1x4-RBJUC3AT.js} +14 -10
- package/dist/web/server/{model-selector-list-DxeGZoD2-P6S6FSJH.js → model-selector-list-BmzLiCx9-TK6JGGKU.js} +20 -19
- package/dist/web/server/{openui-renderer-MKFv6LlH-MDRSVFEY.js → openui-renderer-moJGf0LA-QCU3PI6H.js} +17 -18
- package/dist/web/server/{prompt-suggestions-BOItmGnD-YQA7RHLG.js → prompt-suggestions-yPZqX__K-3VGJC4IF.js} +7 -6
- package/dist/web/server/{repl-panel-CuyF8wt5-CHDT2Q3N.js → repl-panel-CgUF1qUw-3DFD2V53.js} +10 -11
- package/dist/web/server/{resources-panel-CE5pD4vy-V5FXBTYC.js → resources-panel-ChUliWV--JITAGS6Q.js} +6 -7
- package/dist/web/server/{router-Dg72SESP-PCWKLFRG.js → router-CPdFlpbe-LAD4MNZB.js} +3111 -235
- package/dist/web/server/{routes-BGrVtPYF-SURPAJN6.js → routes-hkom6S6L-DUPPQHPY.js} +5045 -4285
- package/dist/web/server/server.js +2 -2
- package/dist/web/server/{session-insights-panel-CUhdgvRt-VB2HUCQP.js → session-insights-panel-xgrkX1Rp-FDNURBXZ.js} +9 -9
- package/dist/web/server/{fleet-reasoning-panel-DG_vuvv0-NCZWEEIT.js → session-reasoning-panel-m1RgcIph-NUXGXVKE.js} +21 -22
- package/dist/web/server/session-tool-renderer-CglQ2ky7-2JVYNZG2.js +45 -0
- package/dist/web/server/{settings-dialog-CK0FJlTg-HZRBAXDZ.js → settings-dialog-BCEfmgtP-T3WQEZHB.js} +175 -1373
- package/dist/web/server/{subagent-chat-panel-gzamnTgK-PQ2TLLJF.js → subagent-chat-panel-BTwI1kdB-LKBWA4GD.js} +32 -41
- package/dist/web/server/{subagents-panel-Berjd7HJ-EI5ZKC6V.js → subagents-panel-8Z9_csoV-HYMEEBHB.js} +37 -45
- package/dist/web/server/{fleet-tool-timeline-D6yM4ZMz-ZSFVRRRI.js → tool-timeline-QL9k5dzA-RLU26HXT.js} +6 -6
- package/dist/web/server/{workspace-panel-CBBa_3UO-B4PPFPMA.js → workspace-panel-BHEB9nRM-TS62SYBA.js} +24 -31
- package/package.json +1 -1
- package/dist/web/client/assets/action-swap-roll-COzQ86wm.js +0 -1
- package/dist/web/client/assets/agent-activity-svETLf_5.js +0 -1
- package/dist/web/client/assets/agent-disclosure-DAMuuGcM.js +0 -1
- package/dist/web/client/assets/analytics-stub-B6zGMuSV.js +0 -1
- package/dist/web/client/assets/artifacts-panel-HVjqBMyx.js +0 -1
- package/dist/web/client/assets/artifacts-utils-N_kUFbz2.js +0 -1
- package/dist/web/client/assets/bundle-mjs-DKHVkVWu.js +0 -1
- package/dist/web/client/assets/button-C5wFDY5_.js +0 -1
- package/dist/web/client/assets/chat-BhYseKd6.js +0 -52
- package/dist/web/client/assets/chat-command-palette-LILDO_vG.js +0 -1
- package/dist/web/client/assets/check-JjHKAZas.js +0 -1
- package/dist/web/client/assets/chevron-right-DrJxToLs.js +0 -1
- package/dist/web/client/assets/chevron-up-CnSvySGH.js +0 -1
- package/dist/web/client/assets/circle-alert-CONlFReH.js +0 -1
- package/dist/web/client/assets/circle-x-CkKCB__4.js +0 -1
- package/dist/web/client/assets/citations-BPv8HIpf.js +0 -2
- package/dist/web/client/assets/cn-C8c0S2mI.js +0 -1
- package/dist/web/client/assets/collapsible-BoXtZZWN.js +0 -1
- package/dist/web/client/assets/command-PhicLCoO.js +0 -1
- package/dist/web/client/assets/createBaseUIEventDetails-DV0dQrBX.js +0 -1
- package/dist/web/client/assets/createLucideIcon-DwxZHm0M.js +0 -1
- package/dist/web/client/assets/dialog-pBGUjAQ7.js +0 -1
- package/dist/web/client/assets/dist-BPaFisIZ.js +0 -41
- package/dist/web/client/assets/earth-DGZXAN5r.js +0 -1
- package/dist/web/client/assets/ease-u56MhKYS.js +0 -1
- package/dist/web/client/assets/file-text-T-NcAlZs.js +0 -1
- package/dist/web/client/assets/fleet-message-queue-fbYYwMj0.js +0 -1
- package/dist/web/client/assets/fleet-pi-tool-renderer-BRgNnmaJ.js +0 -1395
- package/dist/web/client/assets/fleet-reasoning-panel-CjA2dwUJ.js +0 -1
- package/dist/web/client/assets/fleet-subagent-list-iKUtLJKZ.js +0 -1
- package/dist/web/client/assets/fleet-tool-timeline-C8heL7ae.js +0 -1
- package/dist/web/client/assets/gauge-DNpstbBn.js +0 -1
- package/dist/web/client/assets/globals-CuIiqOTg.css +0 -2
- package/dist/web/client/assets/highlighted-body-KPVGNVTW-sUCZ1fHv.js +0 -1
- package/dist/web/client/assets/horizontal-resize-Cp3iHMH7.js +0 -1
- package/dist/web/client/assets/image-BbPmlw-n.js +0 -1
- package/dist/web/client/assets/index-CSGplyr_.js +0 -12
- package/dist/web/client/assets/input-PcdubeKn.js +0 -1
- package/dist/web/client/assets/input-group-C2HJEZvl.js +0 -1
- package/dist/web/client/assets/ipython-tool-CyuMOxz1.js +0 -3
- package/dist/web/client/assets/layout-gyLzPvVv.js +0 -1
- package/dist/web/client/assets/markdown-lvexwooo.js +0 -2
- package/dist/web/client/assets/mermaid-HWGCJPDP-Bm7CuruA.js +0 -1
- package/dist/web/client/assets/message-square-hbDao-A1.js +0 -1
- package/dist/web/client/assets/model-selector-list-CoXX358G.js +0 -1
- package/dist/web/client/assets/plus-DXN1Bg_z.js +0 -1
- package/dist/web/client/assets/prompt-input-fwP8TsgQ.js +0 -1
- package/dist/web/client/assets/prompt-suggestions-BlGXmWS7.js +0 -1
- package/dist/web/client/assets/provider-catalog-DYMFdbKc.js +0 -1
- package/dist/web/client/assets/provider-label-B4q5mI65.js +0 -1
- package/dist/web/client/assets/react-dom-Bwxum3ti.js +0 -1
- package/dist/web/client/assets/repl-panel-C5om8MGU.js +0 -1
- package/dist/web/client/assets/resources-panel-D867-goy.js +0 -1
- package/dist/web/client/assets/right-panel-context-DHlNWJsF.js +0 -1
- package/dist/web/client/assets/right-panel-registry-BBlxLxnx.js +0 -2
- package/dist/web/client/assets/routes-XGsAIqBJ.js +0 -16
- package/dist/web/client/assets/safe-external-url-D3PJJIcM.js +0 -1
- package/dist/web/client/assets/search-eWVnAJsb.js +0 -1
- package/dist/web/client/assets/session-insights-panel-YnaXvTpi.js +0 -1
- package/dist/web/client/assets/settings-dialog-BSBasR3o.js +0 -2
- package/dist/web/client/assets/skeleton-loaders-C9vHwAYV.js +0 -1
- package/dist/web/client/assets/sparkles-DuclzqlE.js +0 -1
- package/dist/web/client/assets/square-Bhn8gjr0.js +0 -1
- package/dist/web/client/assets/subagent-transcript-DaVHjNUH.js +0 -1
- package/dist/web/client/assets/subagent-utils-DDH5qm9Z.js +0 -1
- package/dist/web/client/assets/subagents-panel-D_aVgSCi.js +0 -1
- package/dist/web/client/assets/surfaces-BhAXz9So.js +0 -1
- package/dist/web/client/assets/switch-WhXeJNNY.js +0 -1
- package/dist/web/client/assets/terminal-DOS1s1gm.js +0 -1
- package/dist/web/client/assets/toast-D3c9XeGe.js +0 -1
- package/dist/web/client/assets/tool-result-Cki8WUNc.js +0 -4
- package/dist/web/client/assets/ui-preferences-CImQGZm_.js +0 -1
- package/dist/web/client/assets/use-reduced-motion-eORd7fqW.js +0 -9
- package/dist/web/client/assets/useBaseUiId-CHqXB2UQ.js +0 -1
- package/dist/web/client/assets/useControlled-CJJ9BOQB.js +0 -1
- package/dist/web/client/assets/utils-Eg7xtNmV.js +0 -1
- package/dist/web/client/assets/virtualized-turn-list-CdMa-ydT.js +0 -6
- package/dist/web/client/assets/workspace-panel-77bDbprs.js +0 -1
- package/dist/web/client/assets/workspace-path-nav-C0AQNZyy.js +0 -1
- package/dist/web/client/assets/x-CsRC_tCI.js +0 -1
- package/dist/web/server/_tanstack-start-manifest_v-0L7fqnH4-KMVGUFE4.js +0 -95
- package/dist/web/server/agent-activity-BuEE6iVw-CDZLK4D2.js +0 -514
- package/dist/web/server/chunk-2JHTYWD5.js +0 -1196
- package/dist/web/server/chunk-3JMESBAT.js +0 -35
- package/dist/web/server/chunk-42XU6WV7.js +0 -56
- package/dist/web/server/chunk-AQ66E5OW.js +0 -33
- package/dist/web/server/chunk-BYXBJQAS.js +0 -0
- package/dist/web/server/chunk-FAGDMGLK.js +0 -6589
- package/dist/web/server/chunk-FJV6EQDW.js +0 -36
- package/dist/web/server/chunk-GL6HWDJB.js +0 -19
- package/dist/web/server/chunk-L46H6IDX.js +0 -13
- package/dist/web/server/chunk-NIDBN7BQ.js +0 -86
- package/dist/web/server/chunk-ON33WDZX.js +0 -31
- package/dist/web/server/chunk-PVJCTQFK.js +0 -22
- package/dist/web/server/chunk-QPNUGF3V.js +0 -35
- package/dist/web/server/chunk-S5LFXXDY.js +0 -1265
- package/dist/web/server/chunk-VPKX7QRU.js +0 -42
- package/dist/web/server/chunk-ZCVWADNW.js +0 -37
- package/dist/web/server/fleet-pi-tool-renderer-qwc-qZFq-4U556N5Q.js +0 -51
- package/dist/web/server/fleet-subagent-list-BGb0PjhF-2X67FMUV.js +0 -18
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/openui-renderer-Bkkx5kmA.js","assets/rolldown-runtime-hePW80VL.js","assets/react-CwJFpaho.js","assets/react-dom-DX3XddaT.js","assets/jsx-runtime-NZYk81nU.js","assets/button-Dl0ce3Y5.js","assets/utils-Brtgag-m.js","assets/bundle-mjs-cJTHqqzI.js","assets/createBaseUIEventDetails-B58Jldei.js","assets/dist-52wg4XPY.js","assets/card-DCEnYd2G.js","assets/dialog-BCb4rQh0.js","assets/useBaseUiId-D9ZGPZ6f.js","assets/x-BGsDD848.js","assets/createLucideIcon-_dfI7Arx.js","assets/provider-catalog-C0XBIasJ.js","assets/check-B3LlvM65.js","assets/chevron-down-DUUprRP5.js","assets/useControlled-CgAAWIy9.js","assets/input-CxZp56Im.js","assets/safe-external-url-BbAom7Bm.js","assets/chunk-YOKDWASO-Bte3iwlH.js","assets/preload-helper-Czpn1I53.js","assets/lib-ChrQ49PO.js","assets/character-entities-legacy-Wut6vMuj.js","assets/openui-utils-DawGoQNp.js","assets/chat-C24kD2SP.js","assets/switch-D3FhZU-S.js","assets/markdown-BHkByC9K.js","assets/dist-DbHxXSgQ.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{t}from"./react-CwJFpaho.js";import{t as n}from"./react-dom-DX3XddaT.js";import{t as r}from"./jsx-runtime-NZYk81nU.js";import{t as i}from"./utils-Brtgag-m.js";import{f as a,o,r as s}from"./ease-CMumuPlX.js";import{n as c,t as l}from"./use-reduced-motion-BOcG709U.js";import{t as u}from"./createLucideIcon-_dfI7Arx.js";import{i as d}from"./citations-BUvM92nt.js";import{t as f}from"./check-B3LlvM65.js";import{t as p}from"./chevron-right-NVqQIoiO.js";import{n as m,t as h}from"./file-text-TmalmYrb.js";import{n as g,t as _}from"./loader-circle-B5GIZGxd.js";import{a as v,i as y}from"./agent-disclosure-CMrxF7L-.js";import{t as b}from"./x-BGsDD848.js";import{t as x}from"./preload-helper-Czpn1I53.js";import{t as S}from"./notify-DjVixft7.js";import{i as C}from"./workspace-path-nav-DqPbETfJ.js";import{t as w}from"./openui-utils-DawGoQNp.js";var T=u(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),E=u(`file-braces`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1`,key:`1oajmo`}],[`path`,{d:`M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1`,key:`mpwhp6`}]]),D=u(`file-code`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 12.5 8 15l2 2.5`,key:`1tg20x`}],[`path`,{d:`m14 12.5 2 2.5-2 2.5`,key:`yinavb`}]]),O=u(`image`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]]),k=u(`rotate-cw`,[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]),A=e(t(),1),j=(0,A.createContext)(void 0),M=r(),N=(0,A.createContext)({animateIn:!0,variant:`soft`}),P=(0,A.createContext)(()=>{});function F(...e){return t=>{for(let n of e)typeof n==`function`?n(t):n&&(n.current=t)}}var I={duration:.12,ease:s,delay:.04},L={type:`spring`,stiffness:520,damping:27,mass:.52};function R({variant:e=`soft`,align:t,animateIn:n=!1,className:r,children:s,initial:c,animate:u,exit:d,transition:f,layout:p,...m}){let h=l()??!1,g=(0,A.useContext)(j),_=t??g??`start`,v=(0,A.useMemo)(()=>({align:_,animateIn:n,variant:e}),[n,_,e]);return(0,M.jsx)(N.Provider,{value:v,children:(0,M.jsx)(a.div,{"data-slot":`message-bubble`,"data-align":_,"data-variant":e,layout:p,initial:c??!1,animate:u,exit:d??(h?{opacity:0}:{opacity:0,y:-3,scale:.99}),transition:f??(h?{duration:.12}:o),className:i(`group/bubble flex w-full flex-col`,_===`end`?`items-end`:`items-start`,r),...m,children:s})})}function z(e,t){return i(`relative z-0 min-w-9 max-w-[82%] rounded-2xl px-3.5 py-2.5 text-sm leading-6 text-foreground`,`[&_a]:font-medium [&_a]:underline [&_a]:underline-offset-4 [&_code]:rounded [&_code]:bg-background/60 [&_code]:px-1 [&_code]:py-0.5 [&_code]:font-mono [&_code]:text-[90%] [&_ol]:my-2 [&_ol]:list-decimal [&_ol]:pl-5 [&_p+p]:mt-2 [&_pre]:my-2 [&_pre]:overflow-x-auto [&_pre]:rounded-xl [&_pre]:bg-background/60 [&_pre]:p-3 [&_ul]:my-2 [&_ul]:list-disc [&_ul]:pl-5`,e===`solid`&&`text-background`,e===`ghost`&&`w-full max-w-none rounded-none px-0 py-0`,e===`danger`&&`text-destructive`,t&&`cursor-pointer text-left outline-none transition-[background-color,color,transform] duration-150 hover:brightness-[0.98] focus-visible:ring-2 focus-visible:ring-ring active:scale-[0.99]`)}function B(e,t){return i(`pointer-events-none absolute inset-0 -z-10 rounded-[inherit]`,t===`end`?`origin-bottom-right`:`origin-bottom-left`,e===`solid`&&`bg-foreground`,e===`soft`&&`bg-muted`,e===`tint`&&`bg-primary/10`,e===`outline`&&`border border-border/70 bg-background`,e===`danger`&&`bg-destructive/10`)}function V({render:e,className:t,children:n,ref:r,...c}){let u=l()??!1,{align:d=`start`,animateIn:f,variant:p}=(0,A.useContext)(N),[m,h]=(0,A.useState)(0),g=(0,A.useCallback)(()=>h(e=>e+1),[]),_=e?.type===`button`||e?.type===`a`,v=i(z(p,_),t),y=(0,M.jsxs)(M.Fragment,{children:[p===`ghost`?null:(0,M.jsx)(a.span,{"aria-hidden":`true`,layout:!1,layoutDependency:m,initial:f&&!u?{opacity:0,scale:.92}:!1,animate:{opacity:1,scale:1},transition:u?{duration:0}:{opacity:{duration:.12,ease:s},scale:L,layout:o},className:B(p,d)}),(0,M.jsx)(P.Provider,{value:g,children:(0,M.jsx)(a.div,{initial:f?{opacity:0}:!1,animate:{opacity:1},transition:u?{duration:.12,ease:s}:I,className:`relative`,children:n})})]});if(e){let t=e;return(0,A.cloneElement)(t,{...c,ref:F(t.props.ref,r),className:i(v,t.props.className),children:y,"data-slot":`message-bubble-content`})}return(0,M.jsx)(`div`,{ref:r,"data-slot":`message-bubble-content`,className:v,...c,children:y})}function H({item:e}){return(0,M.jsxs)(`div`,{"data-slot":`preview-rail-card`,className:`rounded-2xl border border-border bg-card p-4 shadow-sm`,children:[(0,M.jsx)(`p`,{"data-slot":`preview-rail-title`,className:`font-medium text-card-foreground`,children:e.label}),e.description?(0,M.jsx)(`div`,{"data-slot":`preview-rail-description`,className:`mt-1 text-sm leading-6 text-muted-foreground`,children:e.description}):null]})}function U({items:e,label:t=`Section navigation`,orientation:n=`vertical`,activeId:r,defaultActiveId:u,onActiveChange:f,onItemSelect:p,renderPreview:m,showPreview:h=!0,previewSide:g=`after`,highlightActive:_=!1,itemSize:v=24,children:y,className:b,railClassName:x,previewContainerClassName:S,previewClassName:C}){let w=(0,A.useId)(),T=l(),E=d(),[D,O]=(0,A.useState)(u??e[0]?.id??``),[k,j]=(0,A.useState)(null),[N,P]=(0,A.useState)(null),F=r??D,I=e.some(e=>e.id===F)?F:e[0]?.id??``,L=k??N??``,R=L||(_?I:``),z=e.findIndex(e=>e.id===R),B=e.length?`repeat(${e.length}, ${v}px)`:void 0,V=n===`horizontal`,U=e=>{r===void 0&&O(e),f?.(e)};return(0,M.jsxs)(a.div,{layoutRoot:!0,onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||P(null)},className:i(`isolate relative flex w-full overflow-visible`,V?`min-h-64 flex-col items-center justify-center`:`min-h-80`,b),children:[(0,M.jsx)(`nav`,{"aria-label":t,onPointerLeave:()=>j(null),style:V?{gridTemplateColumns:B}:{gridTemplateRows:B},className:i(`relative z-10 grid shrink-0`,V?`h-12 w-fit max-w-full self-center justify-center`:`w-12 content-center`,x),children:e.map((e,t)=>{let n=e.id===I,r=e.id===R,s=z<0?1/0:Math.abs(t-z),c=r?1:s===1?.68:s===2?.44:.25,l=(0,M.jsx)(M.Fragment,{children:(0,M.jsx)(a.span,{"data-slot":`preview-rail-tick`,"aria-hidden":`true`,animate:V?{scaleY:c}:{scaleX:c},transition:T?{duration:0}:o,className:i(`block bg-current`,V?`h-12 w-0.5 origin-bottom`:`h-0.5 w-12 origin-left`,r?`text-foreground`:void 0)})}),u=i(`relative flex text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background`,V?`h-12 w-6 items-end justify-center`:`h-6 w-12 items-center`),d=V?{width:v}:{height:v},f=()=>{E&&j(e.id)},m=t=>{t.matches(`:focus-visible`)&&P(e.id)},h=()=>{U(e.id),p?.(e)};return e.href?(0,M.jsx)(`a`,{"data-slot":`preview-rail-item`,href:e.href,target:e.target,rel:e.rel??(e.target===`_blank`?`noreferrer noopener`:void 0),"aria-label":e.ariaLabel??e.label,"aria-current":n?`page`:void 0,onPointerEnter:f,onMouseEnter:f,onPointerDown:()=>P(null),onFocus:e=>m(e.currentTarget),onClick:h,style:d,className:u,children:l},e.id):(0,M.jsx)(`button`,{"data-slot":`preview-rail-item`,type:`button`,"aria-label":e.ariaLabel??e.label,"aria-current":n?`location`:void 0,onPointerEnter:f,onMouseEnter:f,onPointerDown:()=>P(null),onFocus:e=>m(e.currentTarget),onClick:h,style:d,className:u,children:l},e.id)})}),h?(0,M.jsx)(`div`,{"aria-hidden":`true`,style:V?{gridTemplateColumns:B}:{gridTemplateRows:B},className:i(`pointer-events-none absolute z-50 grid`,V?`top-1/2 left-1/2 h-5 w-fit max-w-full -translate-x-1/2 -translate-y-1/2 justify-center`:g===`before`?`inset-y-0 right-16 left-4 content-center`:`inset-y-0 right-4 left-16 content-center`,S),children:e.map(e=>(0,M.jsx)(`div`,{style:V?{width:v}:{height:v},className:i(`relative flex items-center`,V?`justify-center`:void 0),children:(0,M.jsx)(c,{mode:`wait`,initial:!1,children:e.id===L?(0,M.jsx)(a.div,{initial:T?{opacity:0}:{opacity:0,y:4,filter:`blur(6px)`},animate:T?{opacity:1}:{opacity:1,y:0,filter:`blur(0px)`},exit:T?{opacity:0}:{opacity:0,y:-2,filter:`blur(4px)`,transition:{duration:.12,ease:s}},transition:{duration:T?0:.18,ease:s},className:i(V?`absolute bottom-12 left-1/2 w-72 -translate-x-1/2`:i(`w-full max-w-sm`,g===`before`&&`ml-auto`),C),children:(0,M.jsx)(a.div,{layoutId:`preview-rail-card-${w}`,transition:T?{duration:0}:o,children:m?m(e):(0,M.jsx)(H,{item:e})})},e.id):null})},e.id))}):null,y?(0,M.jsx)(`div`,{className:`min-h-0 min-w-0 flex-1`,children:y}):null]})}var W=56,G=88;function K(e,t){if(e.length<=t)return e;let n=e.slice(0,t),r=n.lastIndexOf(` `);return`${n.slice(0,r>t*.65?r:t).trim()}…`}function q(e){return((e.querySelector(`[data-slot="message-bubble-content"]`)??e.querySelector(`[data-slot="message-content"]`)??e).textContent??``).replace(/\s+/g,` `).trim()}function ee(e,t){let n=q(e);if(!n)return{label:`Message`,description:void 0};if(n.length<=W){let e=t?q(t):``;return{label:n,description:e?K(e,G):void 0}}let r=n.slice(0,W).lastIndexOf(` `),i=r>W*.65?r:W,a=`${n.slice(0,i).trim()}…`,o=t?q(t):n.slice(i).trim();return{label:a,description:o?K(o,G):void 0}}function te({navigation:e,followThreshold:t,contentRef:n,viewportRef:r,reduce:i,smooth:a,scrollToEnd:o,setFollowing:s,markProgrammaticScroll:c}){let l=(0,A.useRef)(void 0),u=(0,A.useRef)(new WeakMap),d=(0,A.useRef)(0),f=(0,A.useRef)(new Map),[p,m]=(0,A.useState)([]),[h,g]=(0,A.useState)(``),[_,v]=(0,A.useState)(!1),y=(0,A.useCallback)(()=>{if(e!==`rail`)return;let n=r.current,i=[...f.current.entries()];if(!n||i.length===0)return;let a=n.getBoundingClientRect();if(n.scrollTop<=t){let e=i[0]?.[0]??``;g(t=>t===e?t:e);return}if(n.scrollHeight-n.scrollTop-n.clientHeight<=t){let e=i.at(-1)?.[0]??``;g(t=>t===e?t:e);return}let o=a.top+a.height/2,s=i[0]?.[0]??``,c=1/0;for(let[e,t]of i){let n=t.getBoundingClientRect(),r=Math.abs(n.top+n.height/2-o);r<c&&(c=r,s=e)}g(e=>e===s?e:s)},[t,e,r]),b=(0,A.useCallback)(()=>{if(e!==`rail`)return;let t=n.current,i=r.current;if(!t||!i)return;let a=Array.from(t.querySelectorAll(`[data-slot="message"]`)),o=new Map,s=a.map((e,t)=>{let n=u.current.get(e);n||(d.current+=1,n=`message-rail-${d.current}`,u.current.set(e,n)),o.set(n,e);let r=e.dataset.from??`conversation`,i=ee(e,r===`user`?a.slice(t+1).find(e=>e.dataset.from===`assistant`):void 0);return{id:n,label:i.label,description:i.description,ariaLabel:`Go to ${r} message ${t+1} of ${a.length}`}});f.current=o,m(e=>e.length===s.length&&e.every((e,t)=>e.id===s[t]?.id&&e.label===s[t]?.label&&e.description===s[t]?.description&&e.ariaLabel===s[t]?.ariaLabel)?e:s),v(i.scrollHeight>i.clientHeight+1&&a.length>1)},[n,e,r]),x=(0,A.useCallback)(()=>{e===`rail`&&(l.current&&cancelAnimationFrame(l.current),l.current=requestAnimationFrame(()=>{b(),y()}))},[e,b,y]);return(0,A.useEffect)(()=>{if(e!==`rail`){f.current.clear(),m([]),v(!1);return}let t=n.current,i=r.current;if(!t||!i)return;x();let a=typeof MutationObserver>`u`?null:new MutationObserver(x);a?.observe(t,{childList:!0,characterData:!0,subtree:!0});let o=typeof ResizeObserver>`u`?null:new ResizeObserver(x);return o?.observe(t),o?.observe(i),()=>{a?.disconnect(),o?.disconnect()}},[n,e,x,r]),(0,A.useEffect)(()=>()=>{l.current&&cancelAnimationFrame(l.current)},[]),{activeRailId:h,railItems:p,railOverflowing:_,scheduleRailSync:x,scrollToRailItem:(0,A.useCallback)(e=>{let t=r.current,n=f.current.get(e.id);if(!t||!n)return;let l=p.at(-1)?.id===e.id;if(g(e.id),l){s(!0),o(i||!a?`auto`:`smooth`);return}s(!1),c(i||!a?`auto`:`smooth`);let u=t.getBoundingClientRect(),d=n.getBoundingClientRect(),m=t.scrollTop+d.top-u.top-(t.clientHeight-d.height)/2,h=i||!a?`auto`:`smooth`;typeof t.scrollTo==`function`?t.scrollTo({top:m,behavior:h}):t.scrollTop=m},[c,p,i,o,s,a,r])}}function ne({followOutput:e=!0,followThreshold:t=56,smooth:n=!0,onFollowChange:r,label:a=`Conversation`,busy:o,navigation:s,navigationLabel:c=`Message navigation`,viewportClassName:u,contentClassName:d,railClassName:f,viewportRef:p,viewportProps:m,contentProps:h,className:g,children:_,...v}){let y=l()??!1,b=(0,A.useRef)(null),x=(0,A.useRef)(null),S=(0,A.useRef)(e),C=(0,A.useRef)(!1),w=(0,A.useRef)(void 0),T=(0,A.useRef)(void 0),{onScroll:E,onWheel:D,onTouchStart:O,onKeyDown:k,...j}=m??{},N=(0,A.useCallback)(e=>{b.current=e,typeof p==`function`?p(e):p&&(p.current=e)},[p]),P=(0,A.useCallback)(e=>{S.current!==e&&(S.current=e,r?.(e))},[r]),F=(0,A.useCallback)(e=>{C.current=!0,w.current&&window.clearTimeout(w.current),w.current=window.setTimeout(()=>{C.current=!1},e===`smooth`?320:0)},[]),I=(0,A.useCallback)(e=>{let t=b.current;t&&(F(e),typeof t.scrollTo==`function`?t.scrollTo({top:t.scrollHeight,behavior:e}):t.scrollTop=t.scrollHeight)},[F]),{activeRailId:L,railItems:R,railOverflowing:z,scheduleRailSync:B,scrollToRailItem:V}=te({navigation:s,followThreshold:t,contentRef:x,viewportRef:b,reduce:y,smooth:n,scrollToEnd:I,setFollowing:P,markProgrammaticScroll:F}),H=(0,A.useEffectEvent)(B),W=(0,A.useEffectEvent)(I),G=(0,A.useCallback)(()=>{let e=b.current;if(!e||C.current)return;let n=e.scrollHeight-e.scrollTop-e.clientHeight;P(n<=t),B()},[t,B,P]),K=(0,A.useCallback)(()=>{C.current=!1},[]);(0,A.useLayoutEffect)(()=>{if(S.current=e,e)return T.current=requestAnimationFrame(()=>W(`auto`)),()=>{T.current&&cancelAnimationFrame(T.current)}},[e]),(0,A.useEffect)(()=>{let t=x.current;if(!t||typeof ResizeObserver>`u`)return;let r=new ResizeObserver(()=>{H(),!(!e||!S.current)&&W(y||!n?`auto`:`smooth`)});return r.observe(t),()=>r.disconnect()},[e,y,n]),(0,A.useEffect)(()=>()=>{w.current&&window.clearTimeout(w.current),T.current&&cancelAnimationFrame(T.current)},[]);let q=(0,M.jsx)(`section`,{ref:N,"aria-label":a,...j,onScroll:e=>{G(),E?.(e)},onWheel:e=>{K(),D?.(e)},onTouchStart:e=>{K(),O?.(e)},onKeyDown:e=>{[`ArrowUp`,`PageUp`,`Home`].includes(e.key)&&K(),k?.(e)},className:i(`h-full overflow-y-auto overscroll-contain outline-none [overflow-anchor:none] focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring`,s===`rail`?`[-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden`:`[scrollbar-gutter:stable]`,u,s===`rail`&&z&&`pr-10`),children:(0,M.jsx)(`div`,{ref:x,role:`log`,"aria-live":o?`off`:`polite`,"aria-relevant":`additions text`,"aria-busy":o,className:d,...h,children:_})});return(0,M.jsx)(`div`,{"data-slot":`message-scroller`,className:i(`min-h-0`,g),...v,children:s===`rail`?(0,M.jsx)(U,{items:z?R:[],label:c,activeId:L,onItemSelect:V,previewSide:`before`,highlightActive:!0,itemSize:14,className:`h-full min-h-0 overflow-hidden`,previewContainerClassName:`right-8 left-3`,previewClassName:`mr-1 w-64 max-w-full [&_[data-slot=preview-rail-card]]:h-20 [&_[data-slot=preview-rail-card]]:overflow-hidden [&_[data-slot=preview-rail-card]]:p-3 [&_[data-slot=preview-rail-title]]:line-clamp-1 [&_[data-slot=preview-rail-title]]:text-xs [&_[data-slot=preview-rail-title]]:leading-4 [&_[data-slot=preview-rail-description]]:line-clamp-2 [&_[data-slot=preview-rail-description]]:text-xs [&_[data-slot=preview-rail-description]]:leading-4`,railClassName:i(`absolute inset-y-3 right-1 w-7 content-center py-1 [&_[data-slot=preview-rail-item]]:w-7 [&_[data-slot=preview-rail-item]]:justify-end [&_[data-slot=preview-rail-tick]]:h-px [&_[data-slot=preview-rail-tick]]:w-4 [&_[data-slot=preview-rail-tick]]:origin-right`,z?`pointer-events-auto opacity-100`:`pointer-events-none opacity-0`,f),children:q}):q})}var re=(0,A.createContext)({from:`assistant`}),ie={type:`spring`,stiffness:480,damping:32,mass:.62};function ae({from:e,animateIn:t=!1,children:n,className:r,initial:o,animate:s,transition:c,exit:u,style:d,...f}){let p=l()??!1,m=(0,A.useMemo)(()=>({from:e}),[e]);return(0,M.jsx)(j.Provider,{value:e===`user`?`end`:`start`,children:(0,M.jsx)(re.Provider,{value:m,children:(0,M.jsx)(a.article,{"data-slot":`message`,"data-from":e,"aria-label":f[`aria-label`]??`${e} message`,initial:o??(t&&!p?{opacity:0,transform:`translateY(8px) scale(0.95)`}:!1),animate:s??(t&&!p?{opacity:1,transform:`translateY(0px) scale(1)`}:{opacity:1}),exit:u??(p?{opacity:0}:{opacity:0,transform:`translateY(-3px) scale(0.99)`}),transition:c??(p?{duration:.12}:ie),style:{transformOrigin:e===`user`?`100% 100%`:`0% 100%`,...d},className:i(`group/message flex w-full items-start gap-2`,e===`user`?`flex-row-reverse`:`flex-row`,r),...f,children:n})})})}function oe({className:e,...t}){let{from:n}=(0,A.useContext)(re);return(0,M.jsx)(`div`,{"data-slot":`message-content`,className:i(`flex min-w-0 flex-1 flex-col gap-1.5`,n===`user`?`items-end`:`items-start`,e),...t})}function se(e){return typeof e==`object`&&!!e}function J(e){if(typeof e!=`string`)return e;let t=e.trim();if(!t)return e;try{let n=JSON.parse(t);return se(n)||Array.isArray(n)?n:e}catch{return e}}function ce(e){if(!se(e)||typeof e.type!=`string`||!e.type.startsWith(`tool-`))return e;let t=J(e.input),n=J(e.output),r=J(e.result),i=t!==e.input,a=n!==e.output,o=r!==e.result;if(!i&&!a&&!o)return e;let s={...e};return i&&(s.input=t),a&&(s.output=n),o&&(s.result=r),s}function le(e){let t=!1,n=e.map(e=>{let n=ce(e);return n!==e&&(t=!0),n});return t?n:e}var ue=(0,A.memo)(function({title:e=`Something went wrong`,message:t,className:n}){return(0,M.jsx)(`div`,{className:i(`flex justify-start`,n),children:(0,M.jsxs)(`div`,{className:`rounded-[8px] border border-red-500/30 bg-red-500/10 px-4 py-2.5 text-sm text-foreground`,children:[(0,M.jsx)(`div`,{className:`font-medium text-foreground`,children:e}),(0,M.jsx)(`div`,{className:`mt-0.5 text-muted-foreground`,children:t})]})})}),de=new Intl.DateTimeFormat(`en-US`,{hour:`numeric`,minute:`2-digit`,hour12:!0}),fe=new Intl.DateTimeFormat(`en-US`,{month:`short`,day:`numeric`});function pe(e){let t=new Date;return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()?de.format(e):fe.format(e)}function me({text:e,onCopied:t}){let[n,r]=(0,A.useState)(!1),a=(0,A.useRef)(null);return(0,A.useEffect)(()=>()=>{a.current&&window.clearTimeout(a.current)},[]),(0,M.jsx)(`button`,{type:`button`,tabIndex:-1,"aria-label":n?`Copied`:`Copy message`,onClick:async()=>{try{await navigator.clipboard.writeText(e),r(!0),a.current&&window.clearTimeout(a.current),a.current=window.setTimeout(()=>{r(!1),a.current=null},2e3),S.success(`Copied to clipboard`),t?.()}catch{S.error(`Failed to copy to clipboard`)}},onPointerDown:e=>{e.stopPropagation()},onMouseDown:e=>e.stopPropagation(),className:i(`flex size-6 items-center justify-center rounded-md transition-[background-color,opacity,transform] duration-150 ease-out active:scale-[0.97]`,`bg-transparent opacity-50 hover:bg-foreground/10 hover:opacity-100`),children:(0,M.jsxs)(`div`,{className:`relative size-3.5`,children:[(0,M.jsx)(y,{className:i(`absolute inset-0 h-3.5 w-3.5 text-muted-foreground transition-[opacity,transform] duration-150 ease-out`,n?`scale-50 opacity-0`:`scale-100 opacity-100`)}),(0,M.jsx)(f,{className:i(`absolute inset-0 h-3.5 w-3.5 text-muted-foreground transition-[opacity,transform] duration-150 ease-out`,n?`scale-100 opacity-100`:`scale-50 opacity-0`)})]})})}function he({text:e,timestamp:t,heightClass:n,hoverClass:r,isVisible:a,alignClass:o,onCopied:s}){return(0,M.jsxs)(`div`,{className:i(`pointer-events-none flex items-center gap-1 pt-1 text-xs text-muted-foreground/70 opacity-0 transition-opacity duration-100`,n,o,r,a&&`pointer-events-auto opacity-100`),onMouseDown:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation(),children:[t&&(0,M.jsx)(`span`,{children:t}),e&&(0,M.jsx)(me,{text:e,onCopied:s})]})}function ge(e){if(typeof e==`string`)return e;if(e===void 0)return``;try{return JSON.stringify(e,null,2)??``}catch{return String(e)}}function _e({part:e}){let t=ge(e.payload);return(0,M.jsxs)(`section`,{"data-payload-kind":e.kind,className:`w-full min-w-0 overflow-hidden rounded-xl border border-border/60 bg-muted/40 text-sm`,children:[(0,M.jsx)(`div`,{className:`border-b border-border/50 px-3 py-2 text-xs font-medium text-muted-foreground`,children:e.title}),e.text?(0,M.jsx)(`pre`,{className:`m-0 whitespace-pre-wrap break-words p-3 font-mono text-xs leading-5 text-foreground/80`,children:e.text}):null,t?(0,M.jsxs)(`details`,{open:!0,className:`border-t border-border/50 px-3 py-2`,children:[(0,M.jsx)(`summary`,{className:`cursor-pointer text-xs font-medium text-muted-foreground`,children:`Payload`}),(0,M.jsx)(`pre`,{className:`m-0 mt-2 max-w-full whitespace-pre-wrap break-words font-mono text-xs leading-5 text-foreground/70`,children:t})]}):null]})}function Y(e){return typeof e==`object`&&!!e}function X(e){return Y(e)&&e.type===`text`&&typeof e.text==`string`}function ve(e){return Y(e)&&e.type===`error`&&typeof e.message==`string`}function ye(e){return Y(e)&&e.type===`payload`&&typeof e.kind==`string`&&typeof e.title==`string`}function Z(e){if(!Y(e))return!1;let t=e.type;return t===`dynamic-tool`||typeof t==`string`&&t.startsWith(`tool-`)}function be(e,t){let n=[];for(let t of e)X(t)&&n.push(t.text);return n.join(t)}(0,A.memo)(function(e){let{message:t,UserMessageComponent:n,userMessageClassName:r,onCopied:i,display:a}=e,{enableImagePreview:o,showCopyToolbar:s,isMounted:c,isCopyVisible:l}=a,u=be(t.parts??[],``),d=(t.parts??[]).length>0;if(!u&&!d)return null;let f=t?.createdAt,p=`user-${t.id}`,m=c&&f?pe(new Date(f)):void 0;return(0,M.jsxs)(`div`,{className:`group/user-message`,children:[(0,M.jsx)(n,{message:t,className:r,enableImagePreview:o}),(s&&!!u||!!m)&&(0,M.jsx)(he,{text:s?u:``,timestamp:m,heightClass:`h-[28px]`,hoverClass:`group-hover/user-message:opacity-100 group-hover/user-message:pointer-events-auto`,isVisible:l,alignClass:`justify-end`,onCopied:()=>i(p)})]})}),(0,A.memo)(function(e){let{assistantMsgs:t,turnKey:n,ToolRendererComponent:r,TextRendererComponent:i,toolRenderers:a,onOpenUIAction:o,onOpenUIArtifactReady:s,onOpenArtifact:c,onCopied:l,stream:u,copy:d,display:f}=e,{isLast:p,isStreaming:m}=u,{enabled:h,isVisible:g}=d,{suppressQuestionTool:_}=f,v=be(t.flatMap(e=>e.parts??[]),`
|
|
3
|
+
|
|
4
|
+
`),y=m&&p,b=h&&!!v.trim()&&!y,x=`assistant-${n}-all`,S=h?v:``;return(0,M.jsxs)(`div`,{className:`group/assistant-turn`,children:[(0,M.jsx)(`div`,{className:`flex flex-col gap-3`,children:t.map((e,n)=>{let l=p&&n===t.length-1;return(0,M.jsx)(Te,{msg:e,isLast:l,isStreaming:m,suppressQuestionTool:_,ToolRendererComponent:r,TextRendererComponent:i,toolRenderers:a,onOpenUIAction:o,onOpenUIArtifactReady:s,onOpenArtifact:c},e.id)})}),(b||g)&&(0,M.jsx)(he,{text:S,heightClass:`h-[48px] flex items-start w-full`,hoverClass:`group-hover/assistant-turn:opacity-100 group-hover/assistant-turn:pointer-events-auto`,isVisible:g,alignClass:`justify-start`,onCopied:()=>l(x)})]})});var xe=`tool-call:`,Se=`unkeyed-tool:`;function Ce(e,t,n){return t.toolCallId?`${xe}${t.toolCallId}`:`${Se}${e}:${t.type}:${n}`}function we(e,t){let{messageId:n,isLast:r,isStreaming:i,suppressQuestionTool:a,suppressTextWhenPlanWrite:o=!1,ToolRendererComponent:s,TextRendererComponent:c,toolRenderers:l,onOpenUIAction:u,onOpenUIArtifactReady:d,onOpenArtifact:f}=t,p=[],m=[],h=o&&e.some(e=>Z(e)&&e.type===`tool-PlanWrite`),g=new Set(e.filter(e=>Z(e)&&(e.type===`tool-Task`||e.type===`tool-Agent`)&&typeof e.toolCallId==`string`).map(e=>e.toolCallId)),_=new Map,v=new Set,y=new Map;for(let t of e){if(!Z(t)||t.type===`tool-TaskOutput`||!t.toolCallId||!t.toolCallId.includes(`:`))continue;let e=t.toolCallId.split(`:`)[0];g.has(e)&&(_.has(e)||_.set(e,[]),_.get(e).push(t),v.add(t.toolCallId))}let b=0;for(;b<e.length;){let t=e[b];if(Z(t)&&t.type===`tool-TaskOutput`){b++;continue}if(X(t)){let e=t.text;e&&!h&&m.push(e),b++;continue}if(ve(t)){p.push((0,M.jsx)(ue,{title:t.title,message:t.message},`${n}-error-${t.title}-${t.message}`)),b++;continue}if(ye(t)){p.push((0,M.jsx)(_e,{part:t},`${n}-payload-${b}`)),b++;continue}if(Z(t)){if(a&&t.type===`tool-Question`){b++;continue}if(t.toolCallId&&v.has(t.toolCallId)){b++;continue}let e=r&&i?`streaming`:void 0,o=t.toolCallId,c=(t.type===`tool-Task`||t.type===`tool-Agent`)&&o?_.get(o)||[]:void 0,u=t.toolCallId?0:y.get(t.type)??0;t.toolCallId||y.set(t.type,u+1),p.push((0,M.jsx)(s,{part:t,nestedTools:c,chatStatus:e,toolRenderers:l},Ce(n,t,u))),b++;continue}b++}let x=m.join(`
|
|
5
|
+
|
|
6
|
+
`);return x&&p.push((0,M.jsx)(`div`,{className:`group/assistant-text text-body`,children:(0,M.jsx)(c,{content:x,isStreaming:i,messageId:n,onOpenUIAction:u,onOpenUIArtifactReady:d,onOpenArtifact:f,className:`leading-relaxed [&_p]:leading-relaxed`})},`${n}-text-final`)),p}function Te({msg:e,isLast:t,isStreaming:n,suppressQuestionTool:r,ToolRendererComponent:i,TextRendererComponent:a,toolRenderers:o,onOpenUIAction:s,onOpenUIArtifactReady:c,onOpenArtifact:l}){let u=(0,A.useMemo)(()=>le(e.parts??[]),[e.parts]),d=(0,A.useMemo)(()=>we(u,{messageId:e.id,isLast:t,isStreaming:n,suppressQuestionTool:r,ToolRendererComponent:i,TextRendererComponent:a,toolRenderers:o,onOpenUIAction:s,onOpenUIArtifactReady:c,onOpenArtifact:l}),[u,e.id,t,n,r,i,a,o,s,c,l]);return d.length>1?(0,M.jsx)(`div`,{className:`group/assistant-turn flex flex-col gap-3`,children:d}):(0,M.jsx)(`div`,{className:`group/assistant-turn`,children:d})}var Ee=e(n(),1);function De({open:e,onClose:t,images:n,initialIndex:r=0}){let[a,o]=(0,A.useState)(r),s=n.length>1;(0,A.useEffect)(()=>{e&&o(r)},[e,r]);let c=(0,A.useCallback)(e=>{e?.stopPropagation(),o(e=>e>0?e-1:n.length-1)},[n.length]),l=(0,A.useCallback)(e=>{e?.stopPropagation(),o(e=>e<n.length-1?e+1:0)},[n.length]),u=(0,A.useEffectEvent)(e=>{switch(e.key){case`ArrowLeft`:e.preventDefault(),s&&c();break;case`ArrowRight`:e.preventDefault(),s&&l()}});(0,A.useEffect)(()=>{if(!e)return;let t=e=>u(e);return window.addEventListener(`keydown`,t,!0),()=>window.removeEventListener(`keydown`,t,!0)},[e]),(0,A.useEffect)(()=>{if(!e)return;let t=document.body.style.overflow;return document.body.style.overflow=`hidden`,()=>{document.body.style.overflow=t}},[e]);let d=(0,A.useRef)(null),f=(0,A.useEffectEvent)(e=>{d.current&&e.target===d.current&&t()});if((0,A.useEffect)(()=>{if(!e)return;let t=d.current;if(!t)return;t.open||t.showModal();let n=e=>f(e);return t.addEventListener(`click`,n),()=>{t.removeEventListener(`click`,n),t.open&&t.close()}},[e]),typeof document>`u`||!e)return null;let m=n[a]??n[0];return m?.url?(0,Ee.createPortal)((0,M.jsxs)(`dialog`,{ref:d,"aria-label":`Image viewer`,onClose:()=>t(),className:`fixed inset-0 z-50 m-0 flex h-full max-h-none w-full max-w-none items-center justify-center border-0 bg-black/90 p-0 backdrop:bg-transparent`,children:[(0,M.jsx)(`button`,{type:`button`,onClick:t,"aria-label":`Close fullscreen (Esc)`,className:`absolute top-4 right-4 z-10 inline-flex size-9 items-center justify-center rounded-full bg-black/50 text-white transition-colors hover:bg-black/70`,children:(0,M.jsx)(b,{className:`size-5`})}),s&&(0,M.jsx)(`button`,{type:`button`,onClick:c,"aria-label":`Previous image (←)`,className:`absolute top-1/2 left-4 z-10 inline-flex size-10 -translate-y-1/2 items-center justify-center rounded-full bg-black/50 text-white transition-colors hover:bg-black/70`,children:(0,M.jsx)(T,{className:`size-6`})}),(0,M.jsx)(`img`,{src:m.url,alt:m.filename??`Image preview`,className:`max-h-[85vh] max-w-[90vw] object-contain select-none`,onClick:e=>e.stopPropagation(),draggable:!1}),s&&(0,M.jsx)(`button`,{type:`button`,onClick:l,"aria-label":`Next image (→)`,className:`absolute top-1/2 right-4 z-10 inline-flex size-10 -translate-y-1/2 items-center justify-center rounded-full bg-black/50 text-white transition-colors hover:bg-black/70`,children:(0,M.jsx)(p,{className:`size-6`})}),s&&(0,M.jsxs)(`div`,{className:`absolute bottom-6 left-1/2 flex -translate-x-1/2 flex-col items-center gap-3`,children:[(0,M.jsx)(`div`,{className:`flex gap-2`,children:n.map((e,t)=>(0,M.jsx)(`button`,{type:`button`,onClick:e=>{e.stopPropagation(),o(t)},"aria-label":`Go to image ${t+1}`,className:i(`size-2 rounded-full transition-all`,t===a?`scale-125 bg-white`:`bg-white/40 hover:bg-white/60`)},e.url))}),(0,M.jsxs)(`span`,{className:`text-sm text-white/70`,children:[a+1,` / `,n.length]})]})]}),document.body):null}function Oe(e){return e<1024?`${e} B`:e<1048576?`${(e/1024).toFixed(1)} KB`:`${(e/1048576).toFixed(1)} MB`}function ke(e,t){if(t)return`image`;let n=e.split(`.`).pop()?.toLowerCase();return[`js`,`ts`,`jsx`,`tsx`,`py`,`rb`,`go`,`rs`,`java`,`kt`,`swift`,`c`,`cpp`,`h`,`hpp`,`cs`,`php`].includes(n||``)?`code`:[`json`,`yaml`,`yml`,`xml`].includes(n||``)?`data`:`text`}function Ae(e){switch(e){case`image`:return(0,M.jsx)(O,{className:`size-4 text-muted-foreground`});case`code`:return(0,M.jsx)(D,{className:`size-4 text-muted-foreground`});case`data`:return(0,M.jsx)(E,{className:`size-4 text-muted-foreground`});default:return(0,M.jsx)(h,{className:`size-4 text-muted-foreground`})}}function je({id:e,filename:t,size:n,isImage:r,url:a,onRemove:o,className:s,display:c=`chip`,enableImagePreview:l=!0}){let[u,d]=(0,A.useState)(!1),[f,p]=(0,A.useState)(!1),m=ke(t,r),h=c===`image-only`&&r&&!!a,g=!!(l&&r&&a),_=e=>{e?.stopPropagation(),p(!0)};return(0,M.jsxs)(`div`,{className:i(`relative rounded-[calc(var(--chat-input-radius)-var(--chat-context-padding))] bg-muted/50`,h?`flex size-10 items-center justify-center`:`flex max-w-[200px] min-w-[120px] items-center gap-2 py-1 pr-2 pl-1`,s),onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1),children:[h?(0,M.jsx)(`div`,{className:i(`size-8 shrink-0 overflow-hidden rounded-[calc(var(--chat-input-radius)-var(--chat-context-padding)-2px)]`,g&&`cursor-pointer`),onClick:g?_:void 0,role:g?`button`:void 0,tabIndex:g?0:void 0,"aria-label":g?`Preview ${t}`:void 0,onKeyDown:g?e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),_())}:void 0,children:(0,M.jsx)(`img`,{src:a,alt:t,className:`h-full w-full object-cover`})}):(0,M.jsxs)(M.Fragment,{children:[r&&a?(0,M.jsx)(`div`,{className:i(`w-8 shrink-0 self-stretch overflow-hidden rounded-[calc(var(--chat-input-radius)-var(--chat-context-padding)-2px)]`,g&&`cursor-pointer`),onClick:g?_:void 0,role:g?`button`:void 0,tabIndex:g?0:void 0,"aria-label":g?`Preview ${t}`:void 0,onKeyDown:g?e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),_())}:void 0,children:(0,M.jsx)(`img`,{src:a,alt:t,className:`aspect-square h-full w-full object-cover`})}):(0,M.jsx)(`div`,{className:`flex w-8 shrink-0 items-center justify-center self-stretch rounded-[calc(var(--chat-input-radius)-var(--chat-context-padding)-2px)] bg-muted`,children:Ae(m)}),(0,M.jsxs)(`div`,{className:`flex min-w-0 flex-col`,children:[(0,M.jsx)(`span`,{className:`truncate text-sm font-medium text-foreground`,title:t,children:t}),n!==void 0&&(0,M.jsx)(`span`,{className:`text-micro text-muted-foreground`,children:Oe(n)})]})]}),o&&(0,M.jsx)(`button`,{onClick:e=>{e.stopPropagation(),o()},"aria-label":`Remove ${t}`,className:`absolute -top-1.5 -right-1.5 z-10 flex size-4 items-center justify-center rounded-full border border-border bg-background text-muted-foreground transition-[opacity,transform] duration-150 ease-out hover:text-foreground active:scale-[0.97] ${u?`opacity-100`:`opacity-0`}`,type:`button`,children:(0,M.jsx)(b,{className:`size-3`})}),g&&a&&(0,M.jsx)(De,{open:f,onClose:()=>p(!1),images:[{id:e,url:a,filename:t}]})]})}function Q(e){return typeof e==`object`&&!!e}function Me(e){if(!Q(e))return null;let t=e.type;if(typeof t!=`string`)return null;if(t===`image`){let t=e;return t.url??t.image??null}if(t===`data-image`)return e.data?.url??null;if(t===`file`){let t=e;if(t.mimeType?.startsWith(`image/`)){if(t.url)return t.url;if(t.data)return`data:${t.mimeType};base64,${t.data}`}}return null}function Ne(e){if(!Q(e)||e.type!==`file`)return null;let t=e,n=t.filename||t.name||t.fileName||`Attachment`;return t.mimeType?.startsWith(`image/`)??!1?null:{filename:n,size:t.size}}var Pe=(0,A.memo)(function({message:e,className:t,enableImagePreview:n=!0}){let[r,a]=(0,A.useState)(null),o=(e.parts?.filter(X)??[]).map(e=>e.text).join(``),s=[],c=[];for(let t of e.parts??[]){let e=Me(t);e&&s.push(e);let n=Ne(t);n&&c.push(n)}if(Q(e)&&Array.isArray(e.experimental_attachments))for(let t of e.experimental_attachments)t.contentType?.startsWith(`image/`)&&t.url&&s.push(t.url);if(!o&&s.length===0&&c.length===0)return null;let l=s.map((t,n)=>({id:`${e.id}-img-${n}`,url:t,filename:`image-${n+1}`}));return(0,M.jsxs)(`div`,{className:i(`flex flex-col items-end gap-1`,t),children:[s.length>0&&s.map((e,t)=>(0,M.jsx)(`div`,{className:i(`max-w-[200px] rounded-chat-message bg-foreground/4 p-1.5`,n&&`cursor-pointer`),onClick:n?()=>a(t):void 0,role:n?`button`:void 0,tabIndex:n?0:void 0,onKeyDown:n?e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),a(t))}:void 0,children:(0,M.jsx)(`img`,{src:e,alt:`attachment`,width:184,height:120,className:`block max-h-[120px] max-w-[184px] rounded-chat-message-inner object-cover`})},e)),n&&l.length>0&&(0,M.jsx)(De,{open:r!==null,onClose:()=>a(null),images:l,initialIndex:r??0}),c.length>0&&(0,M.jsx)(`div`,{className:`flex flex-col items-end gap-2`,children:c.map((e,t)=>(0,M.jsx)(je,{id:`${e.filename}-${t}`,filename:e.filename,size:e.size},`${e.filename}-${e.size}`))}),o&&(0,M.jsx)(`div`,{className:`ms-[70px] max-w-[calc(95%-40px)]`,children:(0,M.jsx)(`div`,{className:`rounded-chat-message bg-muted px-3.5 py-1.5 text-sm text-foreground transition-colors`,children:(0,M.jsx)(`p`,{className:`leading-5 wrap-break-word whitespace-pre-wrap text-pretty`,children:o})})})]})});function Fe(e,t){let n=new Map(e.map(e=>[e.id,e])),r=new Set,i=[],a=e=>{if(r.has(e))return;r.add(e);let o=n.get(e);o&&i.push(o);for(let n of t?.nodes[e]?.childrenIds??[])a(n)};for(let e of t?.rootChildrenIds??[])a(e);for(let t of e)a(t.id);return i}function Ie(e){return e===`done`?(0,M.jsx)(g,{className:`size-3.5 text-emerald-600 dark:text-emerald-400`}):e===`error`||e===`failed`?(0,M.jsx)(m,{className:`size-3.5 text-destructive`}):e===`cancelled`?(0,M.jsx)(v,{className:`size-3.5 text-muted-foreground`}):e===`recovering`?(0,M.jsx)(k,{className:`size-3.5 animate-spin text-amber-500 dark:text-amber-400`}):(0,M.jsx)(_,{className:`size-3.5 animate-spin text-primary`})}function Le(e){let t=[],n;for(let r of e){if(r.role===`user`){n&&t.push(n),n={user:r,assistants:[]};continue}if(r.role===`assistant`){if(!n||r.source===`local`){n&&t.push(n),n={assistants:[r]};continue}n.assistants.push(r)}}return n&&t.push(n),t}var Re=(0,A.lazy)(()=>x(async()=>{let{GenerativeTextRenderer:e}=await import(`./openui-renderer-Bkkx5kmA.js`).then(e=>e.n);return{GenerativeTextRenderer:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29])).then(({GenerativeTextRenderer:e})=>({default:e})));function ze({className:e,content:t}){return(0,M.jsx)(`div`,{className:e?`${e} whitespace-pre-wrap`:`whitespace-pre-wrap`,children:t})}function Be(e){return(0,A.useMemo)(()=>w(e.content).some(e=>e.type===`openui`),[e.content])?(0,M.jsx)(A.Suspense,{fallback:(0,M.jsx)(ze,{className:e.className,content:e.content}),children:(0,M.jsx)(Re,{...e})}):(0,M.jsx)(C,{className:e.className,content:e.content,isStreaming:e.isStreaming})}function $(e,t,n){if(n===0)return 0;let r=0,i=n;for(;r<i;){let n=Math.floor((r+i)/2);e[n]<=t?r=n+1:i=n}return Math.max(0,Math.min(n-1,r-1))}function Ve(e,t,n,r){let i=[0];for(let[a,o]of e.entries())i.push(i[i.length-1]+(t.get(o)??n)+(a<e.length-1?r:0));return i}function He({estimateSize:e,getItemKey:t,itemGap:n=0,items:r,overscan:i=1.5,renderItem:a,viewportRef:o}){let s=(0,A.useMemo)(()=>r.map((e,n)=>t(e,n)),[t,r]),c=r.length>=16,[l,u]=(0,A.useState)(()=>new Map),[d,f]=(0,A.useState)({height:0,scrollTop:0}),p=(0,A.useRef)(s),m=(0,A.useRef)(l),h=(0,A.useRef)(e),g=(0,A.useRef)(n),_=(0,A.useRef)([0]),v=(0,A.useRef)(0),y=(0,A.useRef)(new Map),b=(0,A.useRef)(new WeakMap),x=(0,A.useRef)(null),S=(0,A.useRef)(null),C=(0,A.useCallback)(()=>{let e=o.current;if(!e)return;let t={height:e.clientHeight,scrollTop:e.scrollTop};f(e=>e.height===t.height&&e.scrollTop===t.scrollTop?e:t)},[o]),w=(0,A.useCallback)(()=>{S.current??=window.requestAnimationFrame(()=>{S.current=null,C()})},[C]),T=(0,A.useCallback)((e,t)=>{let n=y.current.get(e);n&&n!==t&&(x.current?.unobserve(n),y.current.delete(e)),t&&(y.current.set(e,t),b.current.set(t,e),x.current?.observe(t))},[]),E=(0,A.useMemo)(()=>Ve(s,l,e,n),[e,n,s,l]);(0,A.useLayoutEffect)(()=>{C()},[r.length,C]),(0,A.useLayoutEffect)(()=>{p.current=s,m.current=l,h.current=e,g.current=n,_.current=E},[e,n,s,l,E]),(0,A.useEffect)(()=>{let e=o.current;if(!e)return;e.addEventListener(`scroll`,w,{passive:!0}),window.addEventListener(`resize`,w),C();let t;return typeof ResizeObserver<`u`&&(t=new ResizeObserver(w),t.observe(e)),()=>{e.removeEventListener(`scroll`,w),window.removeEventListener(`resize`,w),t?.disconnect(),S.current!=null&&(window.cancelAnimationFrame(S.current),S.current=null)}},[w,C,o]);let D=(0,A.useCallback)(e=>{let t=m.current,n=t;for(let r of e){let e=b.current.get(r.target),i=r.contentRect.height;!e||i<=0||t.get(e)===i||(n===t&&(n=new Map(t)),n.set(e,i))}if(n===t)return;let r=o.current,i=p.current,a=Ve(i,n,h.current,g.current);if(r&&i.length>0){let e=_.current,t=$(e,Math.max(0,r.scrollTop),i.length),n=i[t];if(n&&t>0){let r=(a[i.indexOf(n)]??0)-(e[t]??0);r!==0&&(v.current+=r)}}m.current=n,_.current=a,u(n)},[o]);if((0,A.useLayoutEffect)(()=>{if(!c||typeof ResizeObserver>`u`)return;let e=new ResizeObserver(e=>D(e));x.current=e;for(let t of y.current.values())e.observe(t);return()=>{e.disconnect(),x.current===e&&(x.current=null)}},[c,D]),(0,A.useEffect)(()=>{let e=m.current;if(e.size===0)return;let t=new Set(s),n=new Map([...e].filter(([e])=>t.has(e)));n.size!==e.size&&(m.current=n,u(n))},[s]),(0,A.useLayoutEffect)(()=>{let e=v.current,t=o.current;!t||e===0||(t.scrollTop+=e,v.current=0,C())},[l,C,o]),!c)return(0,M.jsx)(M.Fragment,{children:r.map((e,t)=>(0,M.jsx)(A.Fragment,{children:a(e,t)},s[t]))});let O=E[E.length-1]??0,k=Math.max(e,d.height*i),j=$(E,Math.max(0,d.scrollTop-k),r.length),N=Math.min(r.length-1,$(E,d.scrollTop+d.height+k,r.length)+1);return(0,M.jsx)(`div`,{"data-rendered-turn-count":N-j+1,"data-total-turn-count":r.length,"data-virtualized-transcript":`true`,style:{height:O,position:`relative`,width:`100%`},children:r.slice(j,N+1).map((e,t)=>{let n=j+t,r=s[n];return(0,M.jsx)(`div`,{ref:e=>T(r,e),"data-virtualized-turn-index":n,style:{left:0,position:`absolute`,right:0,top:E[n]},children:a(e,n)},r)})})}export{Ie as a,we as c,oe as d,ne as f,T as h,Fe as i,le as l,V as m,Be as n,Pe as o,R as p,Le as r,je as s,He as t,ae as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{t}from"./react-CwJFpaho.js";import{t as n}from"./jsx-runtime-NZYk81nU.js";import{t as r}from"./utils-Brtgag-m.js";import{f as i,l as a,o,r as s}from"./ease-CMumuPlX.js";import{n as c,t as l}from"./use-reduced-motion-BOcG709U.js";import{t as u}from"./resource-helpers-BuWybA8l.js";import{t as d}from"./chevron-right-NVqQIoiO.js";import{n as f,t as p}from"./file-text-TmalmYrb.js";import{C as m,S as h,b as g,n as _,o as v,r as y,t as b,x,y as S}from"./horizontal-resize-VLjLByUV.js";import{t as C}from"./folder-vuNT4shY.js";import{t as w}from"./hard-drive-BT7UxHQu.js";import{i as T,t as E}from"./workspace-path-nav-DqPbETfJ.js";import{a as D,i as O,n as k,r as A}from"./skeleton-loaders-BMa_G4yX.js";var j=e(t(),1),M=n();function N(e){return null}function P(e){return null}var F={duration:.22,ease:s},I={duration:.3,ease:s};function L(e,t,n=0,r=null){return e.flatMap((i,a)=>{let o={item:i,depth:n,parentId:r,position:a+1,setSize:e.length};return i.type!==`folder`||!t.has(i.value)||!i.children?.length?[o]:[o,...L(i.children,t,n+1,i.value)]})}function R(e){let t=[];return j.Children.forEach(e,e=>{if((0,j.isValidElement)(e)){if(e.type===j.Fragment){let n=e.props;t.push(...R(n.children));return}if(e.type===N){let n=e.props;t.push({value:n.value,name:n.name,type:`folder`,icon:n.icon,disabled:n.disabled,className:n.className,children:R(n.children)});return}if(e.type===P){let n=e.props;t.push({value:n.value,name:n.name,type:`file`,icon:n.icon,disabled:n.disabled,className:n.className})}}}),t}function z({item:e,open:t,reduce:n}){return e.type===`file`?(0,M.jsx)(m,{className:`size-4`}):n?t?(0,M.jsx)(h,{className:`size-4`}):(0,M.jsx)(C,{className:`size-4`}):(0,M.jsx)(c,{initial:!1,mode:`popLayout`,children:(0,M.jsx)(i.span,{initial:{opacity:0,scale:.75,rotate:t?-8:8},animate:{opacity:1,scale:1,rotate:0},exit:{opacity:0,scale:.75,rotate:t?8:-8},transition:a,className:`absolute inset-0 grid place-items-center`,children:t?(0,M.jsx)(h,{className:`size-4`}):(0,M.jsx)(C,{className:`size-4`})},t?`open`:`closed`)})}function B({children:e,value:t,defaultValue:n=null,onValueChange:s,expandedIds:c,defaultExpandedIds:u=[],onExpandedChange:f,ariaLabel:p=`Files`,indent:m=18,className:h,classNames:g}){let _=l()??!1,[v,y]=(0,j.useState)(n),[b,S]=(0,j.useState)(u),[C,w]=(0,j.useState)(t??n),T=(0,j.useRef)(new Map),E=t===void 0?v:t,D=c??b,O=(0,j.useMemo)(()=>new Set(D),[D]),k=(0,j.useMemo)(()=>R(e),[e]),A=(0,j.useMemo)(()=>L(k,O),[O,k]),N=C!==null&&A.some(({item:e})=>e.value===C)?C:A[0]?.item.value??null;C!==N&&w(N);let P=(0,j.useCallback)(e=>{w(e);let t=T.current.get(e);t?t.focus():requestAnimationFrame(()=>T.current.get(e)?.focus())},[]),B=(0,j.useCallback)(e=>{e.disabled||(t===void 0&&y(e.value),s?.(e.value))},[s,t]),V=(0,j.useCallback)(e=>{c===void 0&&S(e),f?.(e)},[c,f]),H=(0,j.useCallback)(e=>{let t=new Set(D);t.has(e)?t.delete(e):t.add(e),V(Array.from(t))},[D,V]),U=(0,j.useCallback)((e,t)=>{let n=A.findIndex(({item:e})=>e.value===t.item.value),r=A[n-1],i=A[n+1],a=t.item.type===`folder`&&!!t.item.children?.length,o=a&&O.has(t.item.value);if(e.key===`ArrowDown`&&i)e.preventDefault(),P(i.item.value);else if(e.key===`ArrowUp`&&r)e.preventDefault(),P(r.item.value);else if(e.key===`Home`&&A[0])e.preventDefault(),P(A[0].item.value);else if(e.key===`End`&&A.at(-1))e.preventDefault(),P(A.at(-1)?.item.value??t.item.value);else if(e.key===`ArrowRight`&&a)e.preventDefault(),!o&&!t.item.disabled?H(t.item.value):i?.parentId===t.item.value&&P(i.item.value);else if(e.key===`ArrowLeft`)e.preventDefault(),a&&o&&!t.item.disabled?H(t.item.value):t.parentId&&P(t.parentId);else if(e.key===`Enter`||e.key===` `){if(e.preventDefault(),t.item.disabled)return;B(t.item),a&&H(t.item.value)}},[O,P,A,B,H]);return(0,M.jsx)(x,{role:`tree`,"aria-label":p,"aria-multiselectable":`false`,inset:0,pillClassName:`rounded-xl bg-muted`,pillContainerClassName:`inset-y-auto top-0 h-9`,className:r(`min-w-0`,h,g?.tree),children:A.map(e=>{let t=e.item.type===`folder`,n=t&&!!e.item.children?.length,s=n&&O.has(e.item.value),c=E===e.item.value;return(0,M.jsx)(i.div,{layout:!_&&`position`,initial:!_&&{opacity:0,y:-6},animate:{opacity:e.item.disabled?.42:1,y:0,transition:_?{duration:0}:{...F,delay:Math.min(e.position*.025,.1)}},transition:_?{duration:0}:o,children:(0,M.jsxs)(`button`,{ref:t=>{t?T.current.set(e.item.value,t):T.current.delete(e.item.value)},type:`button`,role:`treeitem`,"aria-level":e.depth+1,"aria-posinset":e.position,"aria-setsize":e.setSize,"aria-selected":c,"aria-expanded":n?s:void 0,"aria-disabled":e.item.disabled||void 0,tabIndex:N===e.item.value?0:-1,onFocus:()=>w(e.item.value),onKeyDown:t=>U(t,e),onClick:()=>{e.item.disabled||(B(e.item),n&&H(e.item.value))},className:r(`group/file-tree relative flex h-9 w-full items-center gap-2 overflow-hidden rounded-lg pr-2 text-left text-sm text-muted-foreground outline-none`,`transition-colors hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset`,`aria-disabled:cursor-not-allowed`,c&&`bg-muted font-medium text-foreground`,g?.item,e.item.className),style:{paddingLeft:8+e.depth*m},children:[e.depth>0?(0,M.jsx)(i.span,{"aria-hidden":`true`,initial:!_&&{opacity:0,scaleY:0},animate:{opacity:1,scaleY:1},exit:{opacity:0,scaleY:0},transition:_?{duration:0}:I,className:`absolute top-0 bottom-0 w-px origin-top bg-border/70`,style:{left:16+(e.depth-1)*m}}):null,(0,M.jsx)(i.span,{"aria-hidden":`true`,animate:{rotate:s?90:0},transition:_?{duration:0}:a,className:r(`relative z-10 grid size-4 shrink-0 place-items-center`,!n&&`opacity-0`),children:(0,M.jsx)(d,{className:`size-3.5`})}),(0,M.jsx)(`span`,{"aria-hidden":`true`,className:r(`relative z-10 grid size-4 shrink-0 place-items-center text-muted-foreground transition-colors group-hover/file-tree:text-foreground`,t&&s&&`text-foreground`,g?.icon),children:e.item.icon??(0,M.jsx)(z,{item:e.item,open:s,reduce:_})}),(0,M.jsx)(`span`,{className:r(`relative z-10 min-w-0 flex-1 truncate`,g?.label),children:e.item.name})]})},e.item.value)})})}var V=`fleet-prime:v1:workspace-tree-width`,H=120,U=200,W=160,G=8;function K(e,t){let n=Math.max(H,t-W-G);return Math.min(n,Math.max(H,Math.round(e)))}function q(e){return _(V,U,t=>e===void 0?Math.max(H,Math.round(t)):K(t,e))}function J(e){y(V,e)}var Y=e=>{let t=window.matchMedia(`(min-width: 640px)`);return t.addEventListener(`change`,e),()=>t.removeEventListener(`change`,e)},X=()=>window.matchMedia(`(min-width: 640px)`).matches,Z=()=>!1;function Q(e){let[t,n]=(0,j.useState)(q),r=(0,j.useSyncExternalStore)(Y,X,Z),i=(0,j.useRef)(null),a=(0,j.useCallback)(e=>{let r=i.current?.clientWidth??0;if(r===0)return;let a=K(t,r);b({event:e,startWidth:a,getNextWidth:(e,t,n)=>K(n+(e-t),r),onWidthChange:e=>{n(e),J(e)}})},[t]);return(0,j.useEffect)(()=>{let e=i.current;if(!e)return;let t=e.clientWidth;t<640||n(e=>{let n=K(e,t);return n===e?e:(J(n),n)})},[]),{handleTreeResizeStart:a,isSplitLayout:r,splitRef:i,splitStyle:r?{gridTemplateColumns:`${t}px 8px minmax(160px, 1fr)`}:void 0}}var ee=15e3;function te(e){return e instanceof DOMException&&e.name===`AbortError`?Error(`Preview timed out`):e instanceof Error?e.name===`AbortError`||/aborted|timed out/i.test(e.message)?Error(`Preview timed out`):e:Error(String(e))}function ne({error:e,emptyDescription:t=`agent-workspace has not been loaded yet.`,emptyTitle:n=`Workspace unavailable`,loadWorkspaceFile:r,loading:i,onSelectedPathChange:a,previewEmptyDescription:o=`Choose a workspace file to preview its Markdown.`,previewEmptyTitle:s=`Select a file`,scopePath:c,scopeLabel:l,selectedPath:d,treeTestId:p=`workspace-tree`,workspace:m}){let[h,_]=(0,j.useState)(null),y=a!==void 0,b=y?d??null:h,x=e=>{if(y){a(e);return}_(e)},[C,T]=(0,j.useState)(null),[k,N]=(0,j.useState)(null),[P,F]=(0,j.useState)(!1),I=(0,j.useRef)(null),{handleTreeResizeStart:L,splitRef:R,splitStyle:z}=Q(m),V=(0,j.useMemo)(()=>{if(!m)return{headerLabel:l??`agent-workspace`,nodes:[]};if(!c)return{headerLabel:m.root,nodes:m.nodes};let e=u(m.nodes,c);return e?e.type===`directory`?{headerLabel:l??e.name,nodes:e.children??[]}:{headerLabel:l??e.name,nodes:[e]}:{headerLabel:l??c.split(`/`).pop()??c,nodes:[]}},[l,c,m]);return(0,j.useEffect)(()=>{if(!(!m||!b)){if(c&&!E(b,c)){x(null),T(null),N(null);return}u(m.nodes,b)?.type!==`file`&&(x(null),T(null),N(null))}},[a,c,b,m]),(0,j.useEffect)(()=>{if(!b){F(!1);return}let e=b,t=new AbortController,n=window.setTimeout(()=>t.abort(),ee),i=!1;return T(t=>t?.path===e?t:null),F(!0),N(null),(async()=>{try{let n=await Promise.race([r(e,t.signal),new Promise((e,n)=>{let r=()=>n(new DOMException(`Preview timed out`,`AbortError`));if(t.signal.aborted){r();return}t.signal.addEventListener(`abort`,r,{once:!0})})]);if(i)return;T(n),N(null)}catch(e){if(i)return;T(null),N(te(e))}finally{i||F(!1)}})(),()=>{i=!0,window.clearTimeout(n),t.abort()}},[r,b,m]),(0,j.useEffect)(()=>{if(!b||typeof window>`u`||window.matchMedia(`(min-width: 960px)`).matches)return;let e=window.requestAnimationFrame(()=>{I.current?.scrollIntoView({block:`start`,inline:`nearest`,behavior:`auto`})});return()=>window.cancelAnimationFrame(e)},[b]),e?v(e)?(0,M.jsx)(D,{icon:f,title:`Daytona not connected`,description:`Connect a Daytona API key for your account to browse and preview your agent workspace.`}):(0,M.jsx)(D,{icon:f,title:`Unable to load workspace`,description:e.message}):i&&!m?(0,M.jsx)(A,{}):!m||c&&V.nodes.length===0?(0,M.jsx)(D,{icon:w,title:n,description:t}):(0,M.jsxs)(`div`,{ref:R,className:`relative grid h-full min-h-0 grid-cols-1 gap-2 overflow-hidden ${S}`,style:z,children:[(0,M.jsx)(`div`,{className:`flex min-h-0 min-w-0 flex-col overflow-hidden`,children:(0,M.jsxs)(`div`,{"data-testid":p,className:`min-h-0 min-w-0 flex-1 overflow-y-auto`,children:[(0,M.jsxs)(`div`,{className:`mb-2 flex min-w-0 items-center gap-2 rounded-sm bg-foreground/5 px-2 py-1.5`,children:[(0,M.jsx)(w,{className:`size-3.5 shrink-0 text-foreground/45`}),(0,M.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-label font-medium text-foreground/70`,children:V.headerLabel})]}),(0,M.jsx)(B,{ariaLabel:c?`Files in ${V.headerLabel}`:`Workspace files`,className:`gap-0.5`,classNames:{item:`h-8 gap-1.5 rounded-sm text-label font-normal text-foreground/65 hover:bg-foreground/5 hover:text-foreground/80 aria-selected:bg-foreground/8 aria-selected:text-foreground/80`,icon:`size-3.5 text-foreground/35`,label:`text-label`},value:b,onValueChange:e=>{u(m.nodes,e)?.type===`file`&&x(e)},children:V.nodes.map(e=>$(e))}),m.diagnostics.length>0&&!c&&(0,M.jsx)(`div`,{className:`mt-2 border-t border-border/60 pt-2`,children:(0,M.jsx)(O,{id:`workspace-diagnostics`,label:`Diagnostics`,icon:f,items:m.diagnostics.map((e,t)=>({name:`Diagnostic ${t+1}`,description:e}))})})]})}),(0,M.jsx)(`button`,{type:`button`,"aria-label":`Resize workspace tree`,className:`min-h-0 cursor-col-resize touch-none bg-transparent transition-colors outline-none hover:bg-foreground/10 focus-visible:bg-foreground/10 ${g}`,"data-testid":`workspace-tree-resize-handle`,onPointerDown:L}),(0,M.jsx)(re,{emptyDescription:o,emptyTitle:s,error:k,loading:P,preview:C,previewRef:I,selectedPath:b})]})}function $(e){return e.type===`directory`?(0,M.jsx)(N,{value:e.path,name:e.name,children:e.children?.map(e=>$(e))},e.path):(0,M.jsx)(P,{value:e.path,name:e.name},e.path)}function re({emptyDescription:e,emptyTitle:t,error:n,loading:r,preview:i,previewRef:a,selectedPath:o}){return(0,M.jsxs)(`div`,{className:`flex min-h-0 min-w-0 flex-col overflow-hidden rounded-md border border-border/60 bg-background`,"data-testid":`workspace-preview`,ref:a,children:[(0,M.jsxs)(`div`,{className:`flex min-h-9 min-w-0 shrink-0 items-center gap-2 border-b border-border/60 px-2.5`,children:[(0,M.jsx)(p,{className:`size-3.5 shrink-0 text-foreground/35`}),(0,M.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-label font-medium text-foreground/70`,children:i?.name??o??`Preview`})]}),(0,M.jsxs)(`div`,{className:`flex-1 overflow-y-auto px-3 py-2`,children:[!o&&(0,M.jsx)(D,{icon:p,title:t,description:e}),o&&r&&!i&&(0,M.jsx)(k,{}),o&&n&&(0,M.jsx)(D,{icon:f,title:`Unable to load preview`,description:n.message}),o&&!n&&i?.status===`too-large`&&(0,M.jsx)(D,{icon:f,title:`Preview too large`,description:`${i.name} is too large to preview safely.`}),o&&!n&&i?.status===`unsupported`&&(0,M.jsx)(D,{icon:f,title:`Unsupported preview`,description:`${i.name} is not a supported text file.`}),o&&!n&&i&&(i.status===void 0||i.status===`ok`)&&(0,M.jsx)(T,{className:`text-label leading-relaxed`,content:i.content})]})]})}export{ne as WorkspacePanelContent};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/markdown-BHkByC9K.js","assets/rolldown-runtime-hePW80VL.js","assets/react-CwJFpaho.js","assets/jsx-runtime-NZYk81nU.js","assets/utils-Brtgag-m.js","assets/bundle-mjs-cJTHqqzI.js","assets/preload-helper-Czpn1I53.js","assets/chunk-YOKDWASO-Bte3iwlH.js","assets/react-dom-DX3XddaT.js","assets/lib-ChrQ49PO.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{t}from"./react-CwJFpaho.js";import{t as n}from"./jsx-runtime-NZYk81nU.js";import{t as r}from"./preload-helper-Czpn1I53.js";var i=e(t(),1),a=n(),o=(0,i.lazy)(()=>r(async()=>{let{Markdown:e}=await import(`./markdown-BHkByC9K.js`).then(e=>e.a);return{Markdown:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(({Markdown:e})=>({default:e})));function s(e){return(0,a.jsx)(i.Suspense,{fallback:(0,a.jsx)(`div`,{className:e.className?`${e.className} whitespace-pre-wrap`:`whitespace-pre-wrap`,children:e.content}),children:(0,a.jsx)(o,{...e})})}var c=`agent-workspace`;function l(e){let t=[];for(let n of e.split(`/`))if(!(!n||n===`.`)){if(n===`..`){t.pop();continue}t.push(n)}return t.join(`/`)}function u(e,t){return!t||e===t||e.startsWith(`${t}/`)}function d(e){for(let t of[`/project/sandbox/repo/`,`/project/sandbox/`,`/project/`,`/workspace/`])if(e.startsWith(t))return e.slice(t.length);let t=e.indexOf(`.21st/worktrees/`);if(t!==-1){let n=e.slice(t+16).split(`/`);if(n.length>=3&&n[0]&&n[1])return n.slice(2).join(`/`)}return e}function f(e){return e.indexOf(c)}function p(e){let t=e.trim();if(!t)return null;let n=d(t).replace(/\\/g,`/`).replace(/\/+/g,`/`);if(n.startsWith(`${c}/`)){let e=l(n);return e.startsWith(`${c}/`)?e:null}if(n===c)return null;if(n.startsWith(`artifacts/`))return`${c}/${n}`;if(n.startsWith(`/`)){let e=n.split(`/`).filter(Boolean),t=f(e);return t>=0?e.slice(t).join(`/`):null}return null}function m(e){let t=p(e);return t?{panel:`workspace`,path:t}:null}export{s as i,m as n,d as r,u as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-
|
|
1
|
+
import{t as e}from"./createLucideIcon-_dfI7Arx.js";var t=e(`wrench`,[[`path`,{d:`M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z`,key:`1ngwbx`}]]);export{t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./createLucideIcon-_dfI7Arx.js";var t=e(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]);export{t};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-09-
|
|
3
|
-
"routeEntry": "routes-
|
|
4
|
-
"routeEntryGzipBytes":
|
|
5
|
-
"routeEntryReduction": 0.
|
|
6
|
-
"eagerFiles":
|
|
7
|
-
"eagerGzipBytes":
|
|
2
|
+
"timestamp": "2026-09-15T02:10:12.774Z",
|
|
3
|
+
"routeEntry": "routes-BWe5Iz-2.js",
|
|
4
|
+
"routeEntryGzipBytes": 102379,
|
|
5
|
+
"routeEntryReduction": 0.9032822752977231,
|
|
6
|
+
"eagerFiles": 62,
|
|
7
|
+
"eagerGzipBytes": 348492,
|
|
8
8
|
"passed": true,
|
|
9
9
|
"violations": []
|
|
10
10
|
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import "./chunk-MLKGABMK.js";
|
|
2
|
+
|
|
3
|
+
// web/app/dist/server/assets/_tanstack-start-manifest_v-BDPifIFN.js
|
|
4
|
+
var tsrStartManifest = () => ({ routes: {
|
|
5
|
+
__root__: {
|
|
6
|
+
filePath: "/home/circleci/prime-agent/web/app/src/routes/__root.tsx",
|
|
7
|
+
children: [
|
|
8
|
+
"/",
|
|
9
|
+
"/api/chat",
|
|
10
|
+
"/api/health",
|
|
11
|
+
"/api/projects",
|
|
12
|
+
"/api/workspace/file",
|
|
13
|
+
"/api/workspace/tree"
|
|
14
|
+
],
|
|
15
|
+
preloads: [
|
|
16
|
+
"/assets/index-BGnQeUYE.js",
|
|
17
|
+
"/assets/rolldown-runtime-hePW80VL.js",
|
|
18
|
+
"/assets/react-CwJFpaho.js",
|
|
19
|
+
"/assets/react-dom-DX3XddaT.js",
|
|
20
|
+
"/assets/jsx-runtime-NZYk81nU.js",
|
|
21
|
+
"/assets/analytics-stub-C2vgmGm_.js",
|
|
22
|
+
"/assets/button-Dl0ce3Y5.js",
|
|
23
|
+
"/assets/card-DCEnYd2G.js",
|
|
24
|
+
"/assets/is-ref-object-BcRWZ4l7.js",
|
|
25
|
+
"/assets/use-presence-7I2qv4qI.js",
|
|
26
|
+
"/assets/toast-lnCWGgSE.js",
|
|
27
|
+
"/assets/ui-preferences-aG2U2jjW.js",
|
|
28
|
+
"/assets/preload-helper-Czpn1I53.js"
|
|
29
|
+
],
|
|
30
|
+
scripts: [{ attrs: {
|
|
31
|
+
type: "module",
|
|
32
|
+
async: true,
|
|
33
|
+
src: "/assets/index-BGnQeUYE.js"
|
|
34
|
+
} }]
|
|
35
|
+
},
|
|
36
|
+
"/": {
|
|
37
|
+
filePath: "/home/circleci/prime-agent/web/app/src/routes/index.tsx",
|
|
38
|
+
children: void 0,
|
|
39
|
+
preloads: [
|
|
40
|
+
"/assets/routes-BWe5Iz-2.js",
|
|
41
|
+
"/assets/utils-Brtgag-m.js",
|
|
42
|
+
"/assets/ease-CMumuPlX.js",
|
|
43
|
+
"/assets/use-reduced-motion-BOcG709U.js",
|
|
44
|
+
"/assets/createBaseUIEventDetails-B58Jldei.js",
|
|
45
|
+
"/assets/dialog-BCb4rQh0.js",
|
|
46
|
+
"/assets/provider-catalog-C0XBIasJ.js",
|
|
47
|
+
"/assets/useBaseUiId-D9ZGPZ6f.js",
|
|
48
|
+
"/assets/dist-52wg4XPY.js",
|
|
49
|
+
"/assets/createLucideIcon-_dfI7Arx.js",
|
|
50
|
+
"/assets/right-panel-registry-BCW7fQTG.js",
|
|
51
|
+
"/assets/provider-label-Cka0ep0S.js",
|
|
52
|
+
"/assets/prompt-input-WaGSKZCU.js",
|
|
53
|
+
"/assets/citations-BUvM92nt.js",
|
|
54
|
+
"/assets/resource-helpers-BuWybA8l.js",
|
|
55
|
+
"/assets/bot-DbB9BKL0.js",
|
|
56
|
+
"/assets/check-B3LlvM65.js",
|
|
57
|
+
"/assets/chevron-down-DUUprRP5.js",
|
|
58
|
+
"/assets/virtualized-turn-list-BgUgX6tM.js",
|
|
59
|
+
"/assets/chevron-right-NVqQIoiO.js",
|
|
60
|
+
"/assets/safe-external-url-BbAom7Bm.js",
|
|
61
|
+
"/assets/file-text-TmalmYrb.js",
|
|
62
|
+
"/assets/loader-circle-B5GIZGxd.js",
|
|
63
|
+
"/assets/agent-disclosure-CMrxF7L-.js",
|
|
64
|
+
"/assets/sparkles-D8XIY8pN.js",
|
|
65
|
+
"/assets/horizontal-resize-VLjLByUV.js",
|
|
66
|
+
"/assets/folder-vuNT4shY.js",
|
|
67
|
+
"/assets/gauge-BsDqNM1A.js",
|
|
68
|
+
"/assets/package-BKBPgwMP.js",
|
|
69
|
+
"/assets/pencil-CdO6qfv3.js",
|
|
70
|
+
"/assets/right-panel-context-CS8tJMzE.js",
|
|
71
|
+
"/assets/refresh-cw-l9WPHRkq.js",
|
|
72
|
+
"/assets/rotate-ccw-CfGhzOv7.js",
|
|
73
|
+
"/assets/search-BjcXAUrI.js",
|
|
74
|
+
"/assets/triangle-alert-GAYh_5d3.js",
|
|
75
|
+
"/assets/x-BGsDD848.js",
|
|
76
|
+
"/assets/safe-storage-s25GrfpH.js",
|
|
77
|
+
"/assets/notify-DjVixft7.js",
|
|
78
|
+
"/assets/workspace-path-nav-DqPbETfJ.js",
|
|
79
|
+
"/assets/openui-utils-DawGoQNp.js",
|
|
80
|
+
"/assets/useControlled-CgAAWIy9.js",
|
|
81
|
+
"/assets/surfaces-CpfsGAIA.js",
|
|
82
|
+
"/assets/prime-agent-artifacts-C-g1VPiW.js",
|
|
83
|
+
"/assets/chat-C24kD2SP.js",
|
|
84
|
+
"/assets/tokens-Ch5WqXC_.js",
|
|
85
|
+
"/assets/input-CxZp56Im.js"
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
} });
|
|
89
|
+
export {
|
|
90
|
+
tsrStartManifest
|
|
91
|
+
};
|
|
@@ -1,77 +1,72 @@
|
|
|
1
|
-
import {
|
|
2
|
-
collectSessionOpenUIBlocks
|
|
3
|
-
} from "./chunk-AQ66E5OW.js";
|
|
4
1
|
import {
|
|
5
2
|
primeAgentArtifactDiff
|
|
6
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZNFXBGLK.js";
|
|
7
4
|
import {
|
|
8
5
|
CodeBlock,
|
|
9
6
|
FileDiff,
|
|
10
7
|
ToolResult,
|
|
11
8
|
ToolResultOutput
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-VPKX7QRU.js";
|
|
15
|
-
import {
|
|
16
|
-
Collapsible,
|
|
17
|
-
CollapsibleContent,
|
|
18
|
-
CollapsibleTrigger
|
|
19
|
-
} from "./chunk-MNPHMZU7.js";
|
|
9
|
+
} from "./chunk-OMEDERPG.js";
|
|
10
|
+
import "./chunk-WU6X3GPJ.js";
|
|
20
11
|
import "./chunk-OOXWPL22.js";
|
|
21
|
-
import "./chunk-O2DUZJYK.js";
|
|
22
|
-
import "./chunk-ON33WDZX.js";
|
|
23
12
|
import "./chunk-TNL4YV63.js";
|
|
24
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-O2DUZJYK.js";
|
|
14
|
+
import "./chunk-CAPTFJOC.js";
|
|
25
15
|
import {
|
|
26
16
|
ChevronRight
|
|
27
17
|
} from "./chunk-3C4CFCIS.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-K6PTNSCW.js";
|
|
19
|
+
import "./chunk-7FK6YEMA.js";
|
|
20
|
+
import "./chunk-7E76R7MB.js";
|
|
21
|
+
import {
|
|
22
|
+
Collapsible,
|
|
23
|
+
CollapsibleContent,
|
|
24
|
+
CollapsibleTrigger
|
|
25
|
+
} from "./chunk-UE32PAV2.js";
|
|
30
26
|
import {
|
|
31
27
|
GenerativeTextRenderer,
|
|
32
28
|
OpenUIHtmlArtifactView
|
|
33
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-FT74GAAH.js";
|
|
30
|
+
import "./chunk-WB2LJC3R.js";
|
|
34
31
|
import {
|
|
35
32
|
UiErrorBoundary
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-NNKJTKOQ.js";
|
|
33
|
+
} from "./chunk-EDAWH2MT.js";
|
|
34
|
+
import "./chunk-6SOMNRAX.js";
|
|
35
|
+
import "./chunk-JPDRUSUD.js";
|
|
36
|
+
import "./chunk-YMPJMHXZ.js";
|
|
41
37
|
import "./chunk-RJOANOT4.js";
|
|
42
38
|
import "./chunk-NFRJDPB3.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-L46H6IDX.js";
|
|
45
|
-
import "./chunk-WWJF4RO2.js";
|
|
39
|
+
import "./chunk-BQROC4PL.js";
|
|
46
40
|
import "./chunk-7PQTPSEE.js";
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-43S5N7SH.js";
|
|
42
|
+
import "./chunk-JVOW2NWC.js";
|
|
49
43
|
import {
|
|
50
44
|
Button
|
|
51
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-HQ5TEXHT.js";
|
|
46
|
+
import "./chunk-TLNZNR7C.js";
|
|
52
47
|
import "./chunk-4QD4PCVP.js";
|
|
53
|
-
import "./chunk-S3PQ6HKH.js";
|
|
54
|
-
import "./chunk-MNBGB2SP.js";
|
|
55
48
|
import "./chunk-JBLHIEVG.js";
|
|
56
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-WWJF4RO2.js";
|
|
50
|
+
import "./chunk-OVJYUWSQ.js";
|
|
51
|
+
import "./chunk-E5HALE4M.js";
|
|
52
|
+
import "./chunk-XJ6TGSUB.js";
|
|
57
53
|
import "./chunk-ST5I2PLN.js";
|
|
58
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-IPV4GLJL.js";
|
|
59
55
|
import {
|
|
60
56
|
Package
|
|
61
57
|
} from "./chunk-SFTKGQ7H.js";
|
|
62
58
|
import "./chunk-X7D6GFQU.js";
|
|
63
|
-
import "./chunk-BYXBJQAS.js";
|
|
64
59
|
import {
|
|
65
60
|
createLucideIcon
|
|
66
61
|
} from "./chunk-4ZIEVI5O.js";
|
|
67
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-CHEC7TWB.js";
|
|
68
63
|
import "./chunk-DKD32TRM.js";
|
|
69
64
|
import "./chunk-UQVZJSZZ.js";
|
|
70
65
|
import "./chunk-JDCCC7A7.js";
|
|
71
66
|
import "./chunk-L547YHC4.js";
|
|
72
67
|
import "./chunk-MLKGABMK.js";
|
|
73
68
|
|
|
74
|
-
// web/app/dist/server/assets/artifacts-panel-
|
|
69
|
+
// web/app/dist/server/assets/artifacts-panel-BN3DgqfV.js
|
|
75
70
|
import { useEffect, useMemo, useRef, useState } from "react";
|
|
76
71
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
77
72
|
var LayoutTemplate = createLucideIcon("layout-template", [
|
|
@@ -213,7 +208,7 @@ function OpenUIArtifact({ artifact, selected }) {
|
|
|
213
208
|
children: artifact.title || "OpenUI artifact"
|
|
214
209
|
}),
|
|
215
210
|
/* @__PURE__ */ jsx("span", {
|
|
216
|
-
className: "shrink-0 text-
|
|
211
|
+
className: "shrink-0 text-micro text-foreground/40",
|
|
217
212
|
children: artifact.status
|
|
218
213
|
})
|
|
219
214
|
]
|
|
@@ -303,7 +298,7 @@ function GenerativeUiBlockRow({ block, expanded, isStreaming, onOpenUIAction, on
|
|
|
303
298
|
children: block.component
|
|
304
299
|
}),
|
|
305
300
|
/* @__PURE__ */ jsxs("span", {
|
|
306
|
-
className: "shrink-0 text-
|
|
301
|
+
className: "shrink-0 text-micro text-foreground/40",
|
|
307
302
|
children: ["#", block.ordinal]
|
|
308
303
|
})
|
|
309
304
|
]
|
|
@@ -321,8 +316,8 @@ function GenerativeUiBlockRow({ block, expanded, isStreaming, onOpenUIAction, on
|
|
|
321
316
|
}) })]
|
|
322
317
|
});
|
|
323
318
|
}
|
|
324
|
-
function ArtifactsPanelContent({
|
|
325
|
-
const blocks =
|
|
319
|
+
function ArtifactsPanelContent({ openUIBlocks = [], onOpenUIAction, status, artifactRuns = DEFAULT_ARTIFACT_RUNS, selectedArtifactId }) {
|
|
320
|
+
const blocks = openUIBlocks;
|
|
326
321
|
const [expandedBlockId, setExpandedBlockId] = useState(null);
|
|
327
322
|
const latestStreaming = status === "streaming" ? blocks.at(-1)?.blockId : void 0;
|
|
328
323
|
const technicalArtifacts = useMemo(() => artifactRuns.flatMap((run) => run.artifacts), [artifactRuns]);
|
|
@@ -342,7 +337,7 @@ function ArtifactsPanelContent({ messages, onOpenUIAction, status, artifactRuns
|
|
|
342
337
|
children: "OpenUI artifacts"
|
|
343
338
|
}),
|
|
344
339
|
/* @__PURE__ */ jsx("span", {
|
|
345
|
-
className: "shrink-0 text-
|
|
340
|
+
className: "shrink-0 text-micro text-foreground/40",
|
|
346
341
|
children: openUIArtifacts.length
|
|
347
342
|
})
|
|
348
343
|
]
|
|
@@ -365,7 +360,7 @@ function ArtifactsPanelContent({ messages, onOpenUIAction, status, artifactRuns
|
|
|
365
360
|
children: "Technical artifacts"
|
|
366
361
|
}),
|
|
367
362
|
/* @__PURE__ */ jsx("span", {
|
|
368
|
-
className: "shrink-0 text-
|
|
363
|
+
className: "shrink-0 text-micro text-foreground/40",
|
|
369
364
|
children: nonOpenUIArtifacts.length
|
|
370
365
|
})
|
|
371
366
|
]
|
|
@@ -388,12 +383,12 @@ function ArtifactsPanelContent({ messages, onOpenUIAction, status, artifactRuns
|
|
|
388
383
|
children: "Generative UI"
|
|
389
384
|
}),
|
|
390
385
|
/* @__PURE__ */ jsx("span", {
|
|
391
|
-
className: "shrink-0 text-
|
|
386
|
+
className: "shrink-0 text-micro text-foreground/40",
|
|
392
387
|
children: blocks.length > 0 ? `${blocks.length}` : "none yet"
|
|
393
388
|
})
|
|
394
389
|
]
|
|
395
390
|
}), blocks.length === 0 ? /* @__PURE__ */ jsx("p", {
|
|
396
|
-
className: "px-2 pb-1 text-
|
|
391
|
+
className: "px-2 pb-1 text-caption leading-4 text-foreground/40",
|
|
397
392
|
children: "OpenUI interfaces the agent generates in this session appear here, and can be re-opened without scrolling the conversation."
|
|
398
393
|
}) : /* @__PURE__ */ jsx("div", {
|
|
399
394
|
className: "flex min-h-0 flex-col gap-0.5 overflow-y-auto",
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
RIGHT_PANEL_LAUNCHER_DEFINITIONS
|
|
3
|
-
} from "./chunk-2DDWXTVG.js";
|
|
4
1
|
import {
|
|
5
2
|
Keyboard,
|
|
6
3
|
Monitor,
|
|
7
4
|
Moon,
|
|
8
5
|
Sun
|
|
9
6
|
} from "./chunk-LJ6Y7DBH.js";
|
|
10
|
-
import "./chunk-SALXCFVO.js";
|
|
11
7
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
8
|
+
RIGHT_PANEL_LAUNCHER_DEFINITIONS
|
|
9
|
+
} from "./chunk-O2UYZT3Z.js";
|
|
14
10
|
import {
|
|
15
11
|
Plus
|
|
16
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-33QA7BQJ.js";
|
|
13
|
+
import {
|
|
14
|
+
Square
|
|
15
|
+
} from "./chunk-7CNGNFFK.js";
|
|
17
16
|
import "./chunk-UCA4WN66.js";
|
|
18
17
|
import "./chunk-GS2IZGRC.js";
|
|
19
18
|
import {
|
|
@@ -24,30 +23,31 @@ import {
|
|
|
24
23
|
CommandItem,
|
|
25
24
|
CommandList,
|
|
26
25
|
CommandSeparator
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-ESM7OCRL.js";
|
|
27
|
+
import "./chunk-CW6KZUKT.js";
|
|
29
28
|
import "./chunk-JIULUYHT.js";
|
|
30
29
|
import "./chunk-7PQTPSEE.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-43S5N7SH.js";
|
|
31
|
+
import "./chunk-JVOW2NWC.js";
|
|
32
|
+
import "./chunk-HQ5TEXHT.js";
|
|
33
|
+
import "./chunk-TLNZNR7C.js";
|
|
34
34
|
import "./chunk-4QD4PCVP.js";
|
|
35
|
-
import "./chunk-S3PQ6HKH.js";
|
|
36
|
-
import "./chunk-MNBGB2SP.js";
|
|
37
35
|
import "./chunk-JBLHIEVG.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-OVJYUWSQ.js";
|
|
37
|
+
import "./chunk-E5HALE4M.js";
|
|
38
|
+
import "./chunk-XJ6TGSUB.js";
|
|
39
|
+
import "./chunk-NZ6KQT2X.js";
|
|
40
40
|
import "./chunk-SFTKGQ7H.js";
|
|
41
41
|
import "./chunk-X7D6GFQU.js";
|
|
42
42
|
import {
|
|
43
43
|
createLucideIcon
|
|
44
44
|
} from "./chunk-4ZIEVI5O.js";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-CHEC7TWB.js";
|
|
46
46
|
import "./chunk-JDCCC7A7.js";
|
|
47
47
|
import "./chunk-L547YHC4.js";
|
|
48
48
|
import "./chunk-MLKGABMK.js";
|
|
49
49
|
|
|
50
|
-
// web/app/dist/server/assets/chat-command-palette-
|
|
50
|
+
// web/app/dist/server/assets/chat-command-palette-G8awyZRw.js
|
|
51
51
|
import { useState } from "react";
|
|
52
52
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
53
53
|
var RotateCcwClock = createLucideIcon("rotate-ccw-clock", [
|
|
@@ -1,6 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
import {
|
|
2
|
+
createLucideIcon
|
|
3
|
+
} from "./chunk-4ZIEVI5O.js";
|
|
4
|
+
|
|
5
|
+
// web/app/dist/server/assets/right-panel-context-BZB71a5w.js
|
|
2
6
|
import { createContext, useContext, useMemo } from "react";
|
|
3
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
var Plus = createLucideIcon("plus", [["path", {
|
|
9
|
+
d: "M5 12h14",
|
|
10
|
+
key: "1ays0h"
|
|
11
|
+
}], ["path", {
|
|
12
|
+
d: "M12 5v14",
|
|
13
|
+
key: "s699le"
|
|
14
|
+
}]]);
|
|
4
15
|
var ChatPanelDataContext = createContext(null);
|
|
5
16
|
var WorkspaceTreeContext = createContext(null);
|
|
6
17
|
var SettingsActionsContext = createContext(null);
|
|
@@ -37,8 +48,15 @@ function useSettingsActionsContext() {
|
|
|
37
48
|
}
|
|
38
49
|
|
|
39
50
|
export {
|
|
51
|
+
Plus,
|
|
40
52
|
RightPanelProvider,
|
|
41
53
|
useChatPanelDataContext,
|
|
42
54
|
useWorkspaceTreeContext,
|
|
43
55
|
useSettingsActionsContext
|
|
44
56
|
};
|
|
57
|
+
/**
|
|
58
|
+
* @license lucide-react v1.38.0 - ISC
|
|
59
|
+
*
|
|
60
|
+
* This source code is licensed under the ISC license.
|
|
61
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
62
|
+
*/
|