@qredence/fleet 0.6.1 → 0.6.3
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 +17 -0
- package/dist/web/client/assets/DialogTitle-DiAm7YNe.js +1 -0
- package/dist/web/client/assets/agent-disclosure-CMrxF7L-.js +1 -0
- package/dist/web/client/assets/alert-dialog-CYE37KMM.js +1 -0
- package/dist/web/client/assets/analytics-stub-C2vgmGm_.js +1 -0
- package/dist/web/client/assets/artifacts-panel-ClDpGWOU.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-BVMnC5Qh.js +52 -0
- package/dist/web/client/assets/chat-command-palette-YuyaJNbi.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-DXqV2NLy.js +1 -0
- package/dist/web/client/assets/collapsible-CUxOjhDJ.js +1 -0
- package/dist/web/client/assets/command-Cw4X8Bpk.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-BzcIOvFC.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-BYRr-xTy.js} +1 -1
- package/dist/web/client/assets/gauge-BsDqNM1A.js +1 -0
- package/dist/web/client/assets/git-branch-CTq9aACS.js +1 -0
- package/dist/web/client/assets/globals-BtCXZXL_.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-B9aXxpOv.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-CHD8lMAl.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-C4e9FOVR.js} +38 -38
- 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-ClVvphe0.js +1 -0
- package/dist/web/client/assets/provider-label-CwZ-KDxk.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-BnYCffmM.js +2 -0
- package/dist/web/client/assets/{rotate-ccw-WNFNkKQD.js → rotate-ccw-CfGhzOv7.js} +1 -1
- package/dist/web/client/assets/routes-DUontXSG.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-Bd3dsE2D.js +1395 -0
- package/dist/web/client/assets/session-tree-panel-CM4_wwrM.js +1 -0
- package/dist/web/client/assets/settings-dialog-DMTD9m6z.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/sparkles-BY5MFyk6.js +1 -0
- 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-BESrXxAR.js} +1 -1
- package/dist/web/client/assets/subagent-transcript-CAqFJfMj.js +1 -0
- package/dist/web/client/assets/subagents-panel-8aKOwWLs.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-mL3ONUUA.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-Cm8xE-Rb-TMLYN3GY.js +93 -0
- package/dist/web/server/{artifacts-panel-D3ySO--V-XSL53CXL.js → artifacts-panel-CwLVBqyi-CDORJY75.js} +37 -41
- package/dist/web/server/{chat-command-palette-kAbXhWVg-TJWXH2WW.js → chat-command-palette-DUha04ia-5OV7WVJZ.js} +20 -18
- package/dist/web/server/{chunk-SALXCFVO.js → chunk-33QA7BQJ.js} +19 -1
- package/dist/web/server/chunk-3Q3QKLHC.js +386 -0
- package/dist/web/server/chunk-4EBSM4JR.js +74 -0
- package/dist/web/server/{chunk-5UCAJBAH.js → chunk-5RTGRTPD.js} +82 -49
- 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-NNKJTKOQ.js → chunk-ADYZWC5L.js} +311 -281
- package/dist/web/server/{chunk-NJ4QEZHK.js → chunk-B2LF64HM.js} +7 -5
- package/dist/web/server/{chunk-OZO5ARFA.js → chunk-BQROC4PL.js} +11 -2
- package/dist/web/server/{chunk-NIZBFVJF.js → chunk-CAPTFJOC.js} +9 -7
- package/dist/web/server/{chunk-DJMHPJBP.js → chunk-CHEC7TWB.js} +3 -1
- package/dist/web/server/chunk-DLA5TLKX.js +164 -0
- package/dist/web/server/{chunk-PLYZ7P2Y.js → chunk-DP26GVWH.js} +43 -5
- package/dist/web/server/{chunk-MNBGB2SP.js → chunk-E5HALE4M.js} +4 -4
- package/dist/web/server/chunk-ETCO5KZK.js +113 -0
- package/dist/web/server/{chunk-NGCQJ33Y.js → chunk-FMAYMBRS.js} +1492 -1640
- package/dist/web/server/{chunk-KP2PNDGL.js → chunk-FTLJ66KU.js} +30 -33
- package/dist/web/server/{chunk-BLSX7WHW.js → chunk-H5D5DX3K.js} +23 -21
- package/dist/web/server/chunk-HGVJEUV4.js +102 -0
- 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-K6PTNSCW.js +31 -0
- package/dist/web/server/{chunk-AR7O7JXD.js → chunk-KBWUBWVJ.js} +24 -1
- package/dist/web/server/{chunk-O3HDELZ2.js → chunk-KZ35W5M7.js} +667 -661
- package/dist/web/server/{chunk-QIULBRTU.js → chunk-MJXXVQNA.js} +79 -84
- package/dist/web/server/{chunk-EAJTWMK5.js → chunk-NZ6KQT2X.js} +2 -2
- package/dist/web/server/{chunk-YGYOBX7G.js → chunk-O2IC376F.js} +1811 -53
- package/dist/web/server/chunk-OMPXUTMX.js +33 -0
- package/dist/web/server/{chunk-S3PQ6HKH.js → chunk-OVJYUWSQ.js} +2 -2
- package/dist/web/server/{chunk-JTCCQZLN.js → chunk-RJNGEU6C.js} +2 -2
- package/dist/web/server/{chunk-UCUFC553.js → chunk-RXUMFFUV.js} +3 -3
- package/dist/web/server/{chunk-DLUZFOG3.js → chunk-S2IBIJIG.js} +18 -22
- package/dist/web/server/{chunk-DO2O27B2.js → chunk-SDV3P3IW.js} +2 -2
- package/dist/web/server/{chunk-2DDWXTVG.js → chunk-T2UTBHJ4.js} +55 -11
- package/dist/web/server/chunk-TLNZNR7C.js +46 -0
- package/dist/web/server/{chunk-UL2725KQ.js → chunk-TR2GA5OF.js} +57 -49
- package/dist/web/server/{chunk-QFRCJWQQ.js → chunk-TU2WNRAL.js} +93 -32
- 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-3TIMGWWI.js → chunk-UM3RHJNZ.js} +2 -2
- package/dist/web/server/{chunk-ZIFSJ3HQ.js → chunk-V5IFFLZQ.js} +185 -109
- 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-D27LRYVT.js → chunk-XEG4JTND.js} +10 -9
- package/dist/web/server/{chunk-XIB6XNUX.js → chunk-XJ6TGSUB.js} +425 -404
- package/dist/web/server/{chunk-NWDI3OWB.js → chunk-XSOUURPF.js} +30 -26
- package/dist/web/server/{chunk-RIP3PBWT.js → chunk-YCCF676T.js} +4 -4
- package/dist/web/server/{chunk-4WBFCB4O.js → chunk-YDDDSVNB.js} +178 -269
- 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/{fork-picker-dialog-Ds6Tgtu3-DIBWN7MV.js → fork-picker-dialog-DeMiLZtS-WTRTTP64.js} +10 -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-GGXJUUKO.js} +14 -10
- package/dist/web/server/{model-selector-list-DxeGZoD2-P6S6FSJH.js → model-selector-list-BeGQHwKV-UJYFO4KX.js} +21 -19
- package/dist/web/server/{openui-renderer-MKFv6LlH-MDRSVFEY.js → openui-renderer-B4z18Brm-HSMKJ47D.js} +17 -17
- 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-DfG45nTQ-3VXEUYG5.js} +3336 -238
- package/dist/web/server/{routes-BGrVtPYF-SURPAJN6.js → routes-B9F9UfF1-UN2IVBMJ.js} +5156 -4242
- 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-CT65wuet-RQBMXHEZ.js +46 -0
- package/dist/web/server/session-tree-panel-rS0t1wbf-HNA6AJBY.js +229 -0
- package/dist/web/server/{settings-dialog-CK0FJlTg-HZRBAXDZ.js → settings-dialog-CqkrDSnm-LFEKSS7Y.js} +186 -1380
- package/dist/web/server/{subagent-chat-panel-gzamnTgK-PQ2TLLJF.js → subagent-chat-panel-Cf7QdDqH-DPPSVLSY.js} +31 -39
- package/dist/web/server/{subagents-panel-Berjd7HJ-EI5ZKC6V.js → subagents-panel-_JsUw-6t-MZWM5P45.js} +38 -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-Y6KGIVGP.js} +23 -30
- 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/shield-check-CkA2viVW.js +0 -1
- 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
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Input
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5RTGRTPD.js";
|
|
4
|
+
import {
|
|
5
|
+
Button
|
|
6
|
+
} from "./chunk-HQ5TEXHT.js";
|
|
4
7
|
import {
|
|
5
|
-
Button,
|
|
6
8
|
cva
|
|
7
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TLNZNR7C.js";
|
|
8
10
|
import {
|
|
9
11
|
cn
|
|
10
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CHEC7TWB.js";
|
|
11
13
|
|
|
12
|
-
// web/app/dist/server/assets/input-group-
|
|
14
|
+
// web/app/dist/server/assets/input-group-CeFu3-Zg.js
|
|
13
15
|
import { jsx } from "react/jsx-runtime";
|
|
14
16
|
function Textarea({ className, ...props }) {
|
|
15
17
|
return /* @__PURE__ */ jsx("textarea", {
|
|
@@ -2,14 +2,23 @@ import {
|
|
|
2
2
|
createLucideIcon
|
|
3
3
|
} from "./chunk-4ZIEVI5O.js";
|
|
4
4
|
|
|
5
|
-
// web/app/dist/server/assets/
|
|
5
|
+
// web/app/dist/server/assets/safe-external-url-DVnuaIGD.js
|
|
6
6
|
var ChevronUp = createLucideIcon("chevron-up", [["path", {
|
|
7
7
|
d: "m18 15-6-6-6 6",
|
|
8
8
|
key: "153udz"
|
|
9
9
|
}]]);
|
|
10
|
+
function isSafeExternalUrl(value) {
|
|
11
|
+
try {
|
|
12
|
+
const url = new URL(value);
|
|
13
|
+
return url.protocol === "http:" || url.protocol === "https:";
|
|
14
|
+
} catch {
|
|
15
|
+
return false;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
10
18
|
|
|
11
19
|
export {
|
|
12
|
-
ChevronUp
|
|
20
|
+
ChevronUp,
|
|
21
|
+
isSafeExternalUrl
|
|
13
22
|
};
|
|
14
23
|
/**
|
|
15
24
|
* @license lucide-react v1.38.0 - ISC
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
isHTMLElement,
|
|
3
|
+
usePresence
|
|
4
|
+
} from "./chunk-K6PTNSCW.js";
|
|
5
|
+
import {
|
|
4
6
|
useIsomorphicLayoutEffect
|
|
5
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7FK6YEMA.js";
|
|
6
8
|
import {
|
|
7
9
|
LayoutGroupContext,
|
|
10
|
+
MotionConfigContext,
|
|
8
11
|
PresenceContext,
|
|
9
12
|
hasReducedMotionListener,
|
|
10
13
|
initPrefersReducedMotion,
|
|
11
|
-
isHTMLElement,
|
|
12
14
|
prefersReducedMotion,
|
|
13
|
-
|
|
14
|
-
} from "./chunk-
|
|
15
|
+
useConstant
|
|
16
|
+
} from "./chunk-7E76R7MB.js";
|
|
15
17
|
|
|
16
|
-
// web/app/dist/server/assets/use-reduced-motion-
|
|
18
|
+
// web/app/dist/server/assets/use-reduced-motion-Cl7jAiR0.js
|
|
17
19
|
import * as React$1 from "react";
|
|
18
20
|
import { Children, isValidElement, useContext, useId, useInsertionEffect, useMemo, useRef, useState } from "react";
|
|
19
21
|
import { Fragment as Fragment$1, jsx } from "react/jsx-runtime";
|
|
@@ -3,8 +3,10 @@ import {
|
|
|
3
3
|
extendTailwindMerge
|
|
4
4
|
} from "./chunk-JDCCC7A7.js";
|
|
5
5
|
|
|
6
|
-
// web/app/dist/server/assets/utils-
|
|
6
|
+
// web/app/dist/server/assets/utils-Bb-JlR9o.js
|
|
7
7
|
var twMergeExtended = extendTailwindMerge({ extend: { classGroups: { "font-size": [{ text: [
|
|
8
|
+
"micro",
|
|
9
|
+
"caption",
|
|
8
10
|
"label",
|
|
9
11
|
"body",
|
|
10
12
|
"title",
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Square
|
|
3
|
+
} from "./chunk-7CNGNFFK.js";
|
|
4
|
+
import {
|
|
5
|
+
AnimatePresence,
|
|
6
|
+
useReducedMotion
|
|
7
|
+
} from "./chunk-CAPTFJOC.js";
|
|
8
|
+
import {
|
|
9
|
+
SPRING_SWAP,
|
|
10
|
+
m
|
|
11
|
+
} from "./chunk-7FK6YEMA.js";
|
|
12
|
+
import {
|
|
13
|
+
Button
|
|
14
|
+
} from "./chunk-HQ5TEXHT.js";
|
|
15
|
+
import {
|
|
16
|
+
createLucideIcon
|
|
17
|
+
} from "./chunk-4ZIEVI5O.js";
|
|
18
|
+
import {
|
|
19
|
+
cn
|
|
20
|
+
} from "./chunk-CHEC7TWB.js";
|
|
21
|
+
|
|
22
|
+
// web/app/dist/server/assets/prompt-input-BXToErIk.js
|
|
23
|
+
import { useCallback, useEffect, useLayoutEffect, useRef, useState } from "react";
|
|
24
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
25
|
+
var ArrowUp = createLucideIcon("arrow-up", [["path", {
|
|
26
|
+
d: "m5 12 7-7 7 7",
|
|
27
|
+
key: "hav0vg"
|
|
28
|
+
}], ["path", {
|
|
29
|
+
d: "M12 19V5",
|
|
30
|
+
key: "x0mq9r"
|
|
31
|
+
}]]);
|
|
32
|
+
function PromptInput({ value, defaultValue = "", onValueChange, onSubmit, loading = false, submitWhileLoading = false, onStop, minRows = 2, maxRows = 8, leadingAction, className, disabled, placeholder = "Ask the agent to do something\u2026", "aria-label": ariaLabel = "Prompt", onKeyDown, ...textareaProps }) {
|
|
33
|
+
const reduce = useReducedMotion() ?? false;
|
|
34
|
+
const textareaRef = useRef(null);
|
|
35
|
+
const measurementRef = useRef(null);
|
|
36
|
+
const [internalValue, setInternalValue] = useState(defaultValue);
|
|
37
|
+
const currentValue = value ?? internalValue;
|
|
38
|
+
const canSubmit = Boolean(currentValue.trim()) && !disabled && (!loading || submitWhileLoading);
|
|
39
|
+
const resizeTextarea = useCallback(() => {
|
|
40
|
+
const textarea = textareaRef.current;
|
|
41
|
+
const measurement = measurementRef.current;
|
|
42
|
+
if (!textarea || !measurement || textarea.value !== currentValue) return;
|
|
43
|
+
const lineHeight = 24;
|
|
44
|
+
const height = `${Math.min(Math.max(measurement.scrollHeight, minRows * lineHeight), maxRows * lineHeight)}px`;
|
|
45
|
+
if (textarea.style.height !== height) textarea.style.height = height;
|
|
46
|
+
}, [
|
|
47
|
+
currentValue,
|
|
48
|
+
maxRows,
|
|
49
|
+
minRows
|
|
50
|
+
]);
|
|
51
|
+
useLayoutEffect(() => {
|
|
52
|
+
resizeTextarea();
|
|
53
|
+
}, [resizeTextarea]);
|
|
54
|
+
const resizeRef = useRef(resizeTextarea);
|
|
55
|
+
useEffect(() => {
|
|
56
|
+
resizeRef.current = resizeTextarea;
|
|
57
|
+
});
|
|
58
|
+
useEffect(() => {
|
|
59
|
+
const textarea = textareaRef.current;
|
|
60
|
+
if (!textarea || typeof ResizeObserver === "undefined") return;
|
|
61
|
+
const observer = new ResizeObserver(() => resizeRef.current());
|
|
62
|
+
observer.observe(textarea);
|
|
63
|
+
return () => observer.disconnect();
|
|
64
|
+
}, []);
|
|
65
|
+
const setValue = (next) => {
|
|
66
|
+
if (value === void 0) setInternalValue(next);
|
|
67
|
+
onValueChange?.(next);
|
|
68
|
+
};
|
|
69
|
+
const submit = (event) => {
|
|
70
|
+
event?.preventDefault();
|
|
71
|
+
const prompt = currentValue.trim();
|
|
72
|
+
if (!prompt || disabled || loading && !submitWhileLoading) return;
|
|
73
|
+
onSubmit?.(prompt);
|
|
74
|
+
if (value === void 0) setInternalValue("");
|
|
75
|
+
textareaRef.current?.focus({ preventScroll: true });
|
|
76
|
+
};
|
|
77
|
+
const handleKeyDown = (event) => {
|
|
78
|
+
onKeyDown?.(event);
|
|
79
|
+
if (event.defaultPrevented || event.key !== "Enter" || event.shiftKey || event.nativeEvent.isComposing) return;
|
|
80
|
+
event.preventDefault();
|
|
81
|
+
submit();
|
|
82
|
+
};
|
|
83
|
+
return /* @__PURE__ */ jsxs("form", {
|
|
84
|
+
onSubmit: submit,
|
|
85
|
+
className: cn("relative w-full rounded-chat-input border border-border/70 bg-sidebar p-2 text-[color:var(--foreground)] shadow-sm transition-[border-color,box-shadow] focus-within:border-chat-input-focus-outline/45 focus-within:ring-1 focus-within:ring-chat-input-focus-outline/25", disabled && "opacity-60", className),
|
|
86
|
+
children: [
|
|
87
|
+
/* @__PURE__ */ jsx("div", {
|
|
88
|
+
ref: measurementRef,
|
|
89
|
+
"aria-hidden": "true",
|
|
90
|
+
className: "pointer-events-none invisible absolute inset-x-2 top-0 whitespace-pre-wrap px-2 text-sm leading-6 [overflow-wrap:break-word]",
|
|
91
|
+
children: `${currentValue}\u200B`
|
|
92
|
+
}),
|
|
93
|
+
/* @__PURE__ */ jsx("textarea", {
|
|
94
|
+
ref: textareaRef,
|
|
95
|
+
value: currentValue,
|
|
96
|
+
disabled,
|
|
97
|
+
placeholder,
|
|
98
|
+
"aria-label": ariaLabel,
|
|
99
|
+
autoComplete: "off",
|
|
100
|
+
rows: minRows,
|
|
101
|
+
...textareaProps,
|
|
102
|
+
onChange: (event) => setValue(event.target.value),
|
|
103
|
+
onKeyDown: handleKeyDown,
|
|
104
|
+
className: "scrollbar-hide block w-full resize-none overflow-y-auto bg-transparent px-2 pt-1.5 text-sm leading-6 text-foreground outline-none placeholder:text-foreground/55"
|
|
105
|
+
}),
|
|
106
|
+
/* @__PURE__ */ jsxs("div", {
|
|
107
|
+
className: "mt-1 flex min-h-8 items-center gap-1",
|
|
108
|
+
children: [
|
|
109
|
+
leadingAction,
|
|
110
|
+
loading && onStop ? /* @__PURE__ */ jsx(Button, {
|
|
111
|
+
type: "button",
|
|
112
|
+
size: "icon",
|
|
113
|
+
"aria-label": "Stop generating",
|
|
114
|
+
onClick: onStop,
|
|
115
|
+
className: "ml-auto size-8 rounded-full",
|
|
116
|
+
children: /* @__PURE__ */ jsx(Square, { className: "size-3 fill-current" })
|
|
117
|
+
}) : null,
|
|
118
|
+
!loading || canSubmit ? /* @__PURE__ */ jsx(Button, {
|
|
119
|
+
type: "submit",
|
|
120
|
+
size: "icon",
|
|
121
|
+
disabled: !canSubmit,
|
|
122
|
+
"aria-label": loading ? "Steer current run" : "Send prompt",
|
|
123
|
+
className: cn("size-8 rounded-full", !loading && "ml-auto", canSubmit && "border-transparent bg-chat-input-accent text-white hover:bg-chat-input-accent/90 focus-visible:border-chat-input-accent focus-visible:ring-chat-input-accent/40"),
|
|
124
|
+
children: /* @__PURE__ */ jsx(AnimatePresence, {
|
|
125
|
+
initial: false,
|
|
126
|
+
mode: "popLayout",
|
|
127
|
+
children: /* @__PURE__ */ jsx(m.span, {
|
|
128
|
+
initial: reduce ? { opacity: 1 } : {
|
|
129
|
+
opacity: 0,
|
|
130
|
+
y: 3,
|
|
131
|
+
scale: 0.8
|
|
132
|
+
},
|
|
133
|
+
animate: {
|
|
134
|
+
opacity: 1,
|
|
135
|
+
y: 0,
|
|
136
|
+
scale: 1
|
|
137
|
+
},
|
|
138
|
+
exit: reduce ? { opacity: 0 } : {
|
|
139
|
+
opacity: 0,
|
|
140
|
+
y: -3,
|
|
141
|
+
scale: 0.8
|
|
142
|
+
},
|
|
143
|
+
transition: reduce ? { duration: 0 } : SPRING_SWAP,
|
|
144
|
+
className: "grid place-items-center",
|
|
145
|
+
children: /* @__PURE__ */ jsx(ArrowUp, { className: "size-4" })
|
|
146
|
+
}, "send")
|
|
147
|
+
})
|
|
148
|
+
}) : null
|
|
149
|
+
]
|
|
150
|
+
})
|
|
151
|
+
]
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export {
|
|
156
|
+
ArrowUp,
|
|
157
|
+
PromptInput
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* @license lucide-react v1.38.0 - ISC
|
|
161
|
+
*
|
|
162
|
+
* This source code is licensed under the ISC license.
|
|
163
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
164
|
+
*/
|
|
@@ -18872,7 +18872,7 @@ function date4(params) {
|
|
|
18872
18872
|
return _coercedDate(ZodDate, params);
|
|
18873
18873
|
}
|
|
18874
18874
|
|
|
18875
|
-
// web/app/dist/server/assets/chat-
|
|
18875
|
+
// web/app/dist/server/assets/chat-BC8TYiHu.js
|
|
18876
18876
|
var MAX_ATTACHMENT_BYTES = 26214400;
|
|
18877
18877
|
var RightPanelIdSchema = external_exports.enum([
|
|
18878
18878
|
"resources",
|
|
@@ -18880,7 +18880,8 @@ var RightPanelIdSchema = external_exports.enum([
|
|
|
18880
18880
|
"artifacts",
|
|
18881
18881
|
"repl",
|
|
18882
18882
|
"subagents",
|
|
18883
|
-
"session-insights"
|
|
18883
|
+
"session-insights",
|
|
18884
|
+
"session-tree"
|
|
18884
18885
|
]);
|
|
18885
18886
|
var SessionIdSchema = external_exports.string().min(1).max(160).regex(/^[A-Za-z0-9][A-Za-z0-9._:-]*$/);
|
|
18886
18887
|
var ProjectIdSchema = external_exports.string().min(1).max(160).regex(/^[A-Za-z0-9][A-Za-z0-9._:-]*$/);
|
|
@@ -19491,19 +19492,54 @@ var ChatToolCategorySchema = external_exports.enum([
|
|
|
19491
19492
|
"question",
|
|
19492
19493
|
"custom"
|
|
19493
19494
|
]).openapi({ description: "Normalized tool category" });
|
|
19495
|
+
var ChatTodoStatusSchema = external_exports.enum([
|
|
19496
|
+
"pending",
|
|
19497
|
+
"in-progress",
|
|
19498
|
+
"completed",
|
|
19499
|
+
"cancelled"
|
|
19500
|
+
]);
|
|
19501
|
+
var ChatTodoItemSchema = external_exports.object({
|
|
19502
|
+
id: external_exports.string().optional(),
|
|
19503
|
+
content: external_exports.string().optional(),
|
|
19504
|
+
title: external_exports.string().optional(),
|
|
19505
|
+
status: ChatTodoStatusSchema.optional()
|
|
19506
|
+
}).openapi({ description: "Todo or plan item" });
|
|
19507
|
+
external_exports.object({
|
|
19508
|
+
command: external_exports.string().optional(),
|
|
19509
|
+
cmd: external_exports.string().optional()
|
|
19510
|
+
}).openapi({ description: "Bash tool input" });
|
|
19511
|
+
external_exports.object({
|
|
19512
|
+
path: external_exports.string().optional(),
|
|
19513
|
+
filePath: external_exports.string().optional(),
|
|
19514
|
+
oldString: external_exports.string().optional(),
|
|
19515
|
+
newString: external_exports.string().optional()
|
|
19516
|
+
}).openapi({ description: "Edit or write tool input" });
|
|
19517
|
+
external_exports.object({
|
|
19518
|
+
header: external_exports.string().optional(),
|
|
19519
|
+
questions: external_exports.unknown().optional()
|
|
19520
|
+
}).openapi({ description: "Question tool input" });
|
|
19521
|
+
external_exports.object({
|
|
19522
|
+
executing: external_exports.boolean().optional(),
|
|
19523
|
+
pendingDecision: external_exports.boolean().optional(),
|
|
19524
|
+
plan: external_exports.unknown().optional(),
|
|
19525
|
+
todos: external_exports.array(ChatTodoItemSchema).optional()
|
|
19526
|
+
}).openapi({ description: "Plan or todo tool input" });
|
|
19494
19527
|
var ChatToolPartSchema = external_exports.object({
|
|
19495
|
-
type: external_exports.string(),
|
|
19528
|
+
type: external_exports.templateLiteral(["tool-", external_exports.string()]),
|
|
19496
19529
|
category: ChatToolCategorySchema.optional(),
|
|
19497
19530
|
toolName: external_exports.string().optional(),
|
|
19498
19531
|
serverName: external_exports.string().optional(),
|
|
19499
19532
|
toolCallId: external_exports.string().optional(),
|
|
19500
19533
|
state: external_exports.string().optional(),
|
|
19501
19534
|
input: external_exports.unknown().optional(),
|
|
19535
|
+
args: external_exports.unknown().optional(),
|
|
19536
|
+
id: external_exports.string().optional(),
|
|
19502
19537
|
output: external_exports.unknown().optional(),
|
|
19503
19538
|
result: external_exports.unknown().optional(),
|
|
19539
|
+
backgroundOutput: external_exports.string().optional(),
|
|
19504
19540
|
durationMs: external_exports.number().optional(),
|
|
19505
19541
|
error: FleetErrorEnvelopeSchema.optional()
|
|
19506
|
-
}).
|
|
19542
|
+
}).openapi({ description: "Tool message part" });
|
|
19507
19543
|
var ChatMessagePartSchema = external_exports.union([
|
|
19508
19544
|
ChatTextPartSchema,
|
|
19509
19545
|
ChatErrorPartSchema,
|
|
@@ -19520,11 +19556,13 @@ var ChatMessageSchema = external_exports.object({
|
|
|
19520
19556
|
external_exports.string(),
|
|
19521
19557
|
external_exports.number()
|
|
19522
19558
|
]).optional(),
|
|
19559
|
+
source: external_exports.literal("local").optional(),
|
|
19560
|
+
optimistic: external_exports.boolean().optional(),
|
|
19523
19561
|
experimental_attachments: external_exports.array(external_exports.object({
|
|
19524
19562
|
contentType: external_exports.string().optional(),
|
|
19525
19563
|
url: external_exports.string().optional()
|
|
19526
19564
|
})).optional()
|
|
19527
|
-
}).
|
|
19565
|
+
}).openapi({ description: "Chat message" });
|
|
19528
19566
|
external_exports.enum(["reasoning-summary-v1", "mcp-connections-v1"]);
|
|
19529
19567
|
var FleetAdapterCapabilitiesSchema = external_exports.object({
|
|
19530
19568
|
protocolVersion: external_exports.number().int().positive(),
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
useId$1,
|
|
4
4
|
useIsoLayoutEffect,
|
|
5
5
|
useRefWithInit
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XJ6TGSUB.js";
|
|
7
7
|
|
|
8
|
-
// web/app/dist/server/assets/useBaseUiId-
|
|
8
|
+
// web/app/dist/server/assets/useBaseUiId-Ds9NPMog.js
|
|
9
9
|
import * as React$1 from "react";
|
|
10
10
|
function useValueAsRef(value) {
|
|
11
11
|
const latest = useRefWithInit(createLatestRef, value).current;
|
|
@@ -23,9 +23,9 @@ function createLatestRef(value) {
|
|
|
23
23
|
};
|
|
24
24
|
return latest;
|
|
25
25
|
}
|
|
26
|
-
function useTransitionStatus(open, enableIdleState = false, deferEndingState = false) {
|
|
26
|
+
function useTransitionStatus(open, enableIdleState = false, deferEndingState = false, animateInitialOpen = false) {
|
|
27
27
|
const [transitionStatus, setTransitionStatus] = React$1.useState(open && enableIdleState ? "idle" : void 0);
|
|
28
|
-
const [mounted, setMounted] = React$1.useState(open);
|
|
28
|
+
const [mounted, setMounted] = React$1.useState(open && !animateInitialOpen);
|
|
29
29
|
if (open && !mounted) {
|
|
30
30
|
setMounted(true);
|
|
31
31
|
setTransitionStatus("starting");
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import {
|
|
2
|
+
X
|
|
3
|
+
} from "./chunk-JBLHIEVG.js";
|
|
4
|
+
import {
|
|
5
|
+
DialogBackdrop,
|
|
6
|
+
DialogClose,
|
|
7
|
+
DialogDescription,
|
|
8
|
+
DialogPopup,
|
|
9
|
+
DialogPortal,
|
|
10
|
+
DialogTitle,
|
|
11
|
+
SurfaceProvider,
|
|
12
|
+
surfaceClasses,
|
|
13
|
+
useRenderDialogRoot,
|
|
14
|
+
useSurface
|
|
15
|
+
} from "./chunk-YDDDSVNB.js";
|
|
16
|
+
import {
|
|
17
|
+
Button,
|
|
18
|
+
fastComponent
|
|
19
|
+
} from "./chunk-HQ5TEXHT.js";
|
|
20
|
+
import {
|
|
21
|
+
cn
|
|
22
|
+
} from "./chunk-CHEC7TWB.js";
|
|
23
|
+
|
|
24
|
+
// web/app/dist/server/assets/dialog-D3f7l1AQ.js
|
|
25
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
26
|
+
var DialogRoot = fastComponent(function DialogRoot2(props) {
|
|
27
|
+
return useRenderDialogRoot("dialog", props);
|
|
28
|
+
});
|
|
29
|
+
var DIALOG_SURFACE_OFFSET = 4;
|
|
30
|
+
function Dialog({ ...props }) {
|
|
31
|
+
return /* @__PURE__ */ jsx(DialogRoot, {
|
|
32
|
+
"data-slot": "dialog",
|
|
33
|
+
...props
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
function DialogPortal2({ ...props }) {
|
|
37
|
+
return /* @__PURE__ */ jsx(DialogPortal, {
|
|
38
|
+
"data-slot": "dialog-portal",
|
|
39
|
+
...props
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
function DialogOverlay({ className, ...props }) {
|
|
43
|
+
return /* @__PURE__ */ jsx(DialogBackdrop, {
|
|
44
|
+
"data-slot": "dialog-overlay",
|
|
45
|
+
className: cn("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0", className),
|
|
46
|
+
...props
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
function DialogContent({ className, children, showCloseButton = true, overlayClassName, ...props }) {
|
|
50
|
+
const substrate = useSurface();
|
|
51
|
+
const level = Math.min(substrate + DIALOG_SURFACE_OFFSET, 8);
|
|
52
|
+
return /* @__PURE__ */ jsxs(DialogPortal2, { children: [/* @__PURE__ */ jsx(DialogOverlay, { className: overlayClassName }), /* @__PURE__ */ jsxs(DialogPopup, {
|
|
53
|
+
"data-slot": "dialog-content",
|
|
54
|
+
className: cn("fixed top-1/2 left-1/2 z-[51] grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl p-4 text-sm text-popover-foreground duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", surfaceClasses(level), className),
|
|
55
|
+
...props,
|
|
56
|
+
children: [/* @__PURE__ */ jsx(SurfaceProvider, {
|
|
57
|
+
value: level,
|
|
58
|
+
children
|
|
59
|
+
}), showCloseButton && /* @__PURE__ */ jsxs(DialogClose, {
|
|
60
|
+
"data-slot": "dialog-close",
|
|
61
|
+
render: /* @__PURE__ */ jsx(Button, {
|
|
62
|
+
variant: "ghost",
|
|
63
|
+
className: "absolute top-2 right-2",
|
|
64
|
+
size: "icon-sm"
|
|
65
|
+
}),
|
|
66
|
+
children: [/* @__PURE__ */ jsx(X, {}), /* @__PURE__ */ jsx("span", {
|
|
67
|
+
className: "sr-only",
|
|
68
|
+
children: "Close"
|
|
69
|
+
})]
|
|
70
|
+
})]
|
|
71
|
+
})] });
|
|
72
|
+
}
|
|
73
|
+
function DialogHeader({ className, ...props }) {
|
|
74
|
+
return /* @__PURE__ */ jsx("div", {
|
|
75
|
+
"data-slot": "dialog-header",
|
|
76
|
+
className: cn("flex flex-col gap-2", className),
|
|
77
|
+
...props
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
function DialogFooter({ className, showCloseButton = false, children, ...props }) {
|
|
81
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
82
|
+
"data-slot": "dialog-footer",
|
|
83
|
+
className: cn("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end", className),
|
|
84
|
+
...props,
|
|
85
|
+
children: [children, showCloseButton && /* @__PURE__ */ jsx(DialogClose, {
|
|
86
|
+
render: /* @__PURE__ */ jsx(Button, { variant: "outline" }),
|
|
87
|
+
children: "Close"
|
|
88
|
+
})]
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
function DialogTitle2({ className, ...props }) {
|
|
92
|
+
return /* @__PURE__ */ jsx(DialogTitle, {
|
|
93
|
+
"data-slot": "dialog-title",
|
|
94
|
+
className: cn("font-heading text-base leading-none font-medium", className),
|
|
95
|
+
...props
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
function DialogDescription2({ className, ...props }) {
|
|
99
|
+
return /* @__PURE__ */ jsx(DialogDescription, {
|
|
100
|
+
"data-slot": "dialog-description",
|
|
101
|
+
className: cn("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground", className),
|
|
102
|
+
...props
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export {
|
|
107
|
+
Dialog,
|
|
108
|
+
DialogContent,
|
|
109
|
+
DialogHeader,
|
|
110
|
+
DialogFooter,
|
|
111
|
+
DialogTitle2 as DialogTitle,
|
|
112
|
+
DialogDescription2 as DialogDescription
|
|
113
|
+
};
|