@qredence/fleet 0.6.0 → 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 +18 -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-DCEnYd2G.js +1 -0
- 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-ByBOGVsa.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-CuQcR3UO.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-DgMKgZZW.js → notify-DjVixft7.js} +1 -1
- package/dist/web/client/assets/openui-renderer-Bkkx5kmA.js +378 -0
- 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/{fleet-pi-tool-renderer-BEDIO3al.js → session-tool-renderer-3E3cv8D0.js} +30 -30
- 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-Yujplxpb.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/launcher.mjs +10 -1
- package/dist/web/server/_tanstack-start-manifest_v-BDPifIFN-DTSNCHBX.js +91 -0
- package/dist/web/server/{artifacts-panel-CaKrX2XC-R37I4BHF.js → artifacts-panel-BN3DgqfV-N73J6N5Y.js} +39 -44
- package/dist/web/server/{chat-command-palette-7gbqEnm9-6XICQZN7.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-P6UMR32I.js → chunk-43S5N7SH.js} +80 -47
- package/dist/web/server/chunk-4EBSM4JR.js +74 -0
- package/dist/web/server/{chunk-BBBS5AS7.js → chunk-4OTHKQMG.js} +753 -677
- package/dist/web/server/{chunk-WM4PUT6M.js → chunk-6SOMNRAX.js} +535 -505
- package/dist/web/server/chunk-7E76R7MB.js +2138 -0
- package/dist/web/server/{chunk-K3BXQG3N.js → chunk-7FK6YEMA.js} +100 -95
- 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-WHBVQJ4K.js → chunk-7UTDOTOU.js} +11 -9
- package/dist/web/server/{chunk-OZO5ARFA.js → chunk-BQROC4PL.js} +11 -2
- package/dist/web/server/{chunk-WYL2DW5R.js → chunk-BUXJSBE3.js} +2 -2
- package/dist/web/server/{chunk-ZJFA4F5X.js → chunk-CAPTFJOC.js} +9 -7
- package/dist/web/server/{chunk-EH4BZ6QM.js → chunk-CCYLHNZJ.js} +1767 -52
- package/dist/web/server/{chunk-DJMHPJBP.js → chunk-CHEC7TWB.js} +3 -1
- package/dist/web/server/{chunk-PIOFZUOU.js → chunk-CW6KZUKT.js} +7 -6
- package/dist/web/server/chunk-DLA5TLKX.js +164 -0
- package/dist/web/server/{chunk-7SR6WDM2.js → chunk-E5HALE4M.js} +4 -4
- package/dist/web/server/{chunk-DZ2IC3FH.js → chunk-EDAWH2MT.js} +47 -46
- package/dist/web/server/{chunk-JQDLJ7KI.js → chunk-ENGEUJIH.js} +2288 -2438
- package/dist/web/server/{chunk-DI7XRK2H.js → chunk-ESM7OCRL.js} +4 -4
- package/dist/web/server/{chunk-KELEYPVK.js → chunk-FT74GAAH.js} +74861 -74854
- package/dist/web/server/{chunk-LZ4Q5KUJ.js → chunk-HQ5TEXHT.js} +40 -60
- package/dist/web/server/{chunk-YOM42BKD.js → chunk-IPV4GLJL.js} +16 -16
- package/dist/web/server/{chunk-KOUEJ3NU.js → chunk-IXGLKAPN.js} +54 -46
- package/dist/web/server/{chunk-EAE2QXRK.js → chunk-JPDRUSUD.js} +2 -3
- package/dist/web/server/{chunk-AGFRJQZ7.js → chunk-JVOW2NWC.js} +452 -450
- 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-NXJ32VFR.js → chunk-MJXXVQNA.js} +91 -96
- package/dist/web/server/{chunk-N6NOTURM.js → chunk-NCK2FJAD.js} +30 -26
- package/dist/web/server/{chunk-LXJD6IGW.js → chunk-NMBH57JT.js} +94 -33
- package/dist/web/server/{chunk-EAJTWMK5.js → chunk-NZ6KQT2X.js} +2 -2
- package/dist/web/server/{chunk-CNXJN5HN.js → chunk-O2UYZT3Z.js} +11 -11
- package/dist/web/server/{chunk-YXXRP3NS.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-XLNCWZMZ.js → chunk-RXUMFFUV.js} +5 -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-IJPCV6DH.js → chunk-UDD5W4CR.js} +32 -10
- package/dist/web/server/{chunk-HSJMLO36.js → chunk-UE32PAV2.js} +47 -57
- package/dist/web/server/{chunk-UAPNEWCA.js → chunk-WB2LJC3R.js} +29 -32
- package/dist/web/server/{chunk-ETTDO4UO.js → chunk-WTYNN6EV.js} +1 -26
- package/dist/web/server/{chunk-2ATMSG7U.js → chunk-WU6X3GPJ.js} +48 -5
- package/dist/web/server/{chunk-C5X6G26O.js → chunk-XJ6TGSUB.js} +45 -24
- package/dist/web/server/{chunk-YNUWKMNQ.js → chunk-YMPJMHXZ.js} +41 -155
- 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-DlINz9UQ-UWIXFDJX.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-BS-cZ56r-GLZXUKDF.js → message-queue-Demph1x4-RBJUC3AT.js} +14 -10
- package/dist/web/server/{model-selector-list-jBTZc2Mu-OXJOS5NA.js → model-selector-list-BmzLiCx9-TK6JGGKU.js} +20 -19
- package/dist/web/server/{openui-renderer-Biyyjhjn-SJOEKPTJ.js → openui-renderer-moJGf0LA-QCU3PI6H.js} +17 -18
- package/dist/web/server/{prompt-suggestions-D4AEEY7K-RZSP7PWV.js → prompt-suggestions-yPZqX__K-3VGJC4IF.js} +7 -6
- package/dist/web/server/{repl-panel-D5KsoJik-BQKO53JO.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-DWALoX_M-I5CBL7FQ.js → router-CPdFlpbe-LAD4MNZB.js} +3117 -241
- package/dist/web/server/{routes-BBVirYfL-5WXMOT7M.js → routes-hkom6S6L-DUPPQHPY.js} +8753 -7974
- 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-BxC2COxi-GPLMQSTT.js → session-reasoning-panel-m1RgcIph-NUXGXVKE.js} +39 -40
- package/dist/web/server/session-tool-renderer-CglQ2ky7-2JVYNZG2.js +45 -0
- package/dist/web/server/{settings-dialog-DndPbM-v-RFNXXEAN.js → settings-dialog-BCEfmgtP-T3WQEZHB.js} +1912 -3120
- package/dist/web/server/{subagent-chat-panel-C0RpnXav-J7VYO7QY.js → subagent-chat-panel-BTwI1kdB-LKBWA4GD.js} +32 -41
- package/dist/web/server/{subagents-panel-jDqIn9Nh-YEV6QLUY.js → subagents-panel-8Z9_csoV-HYMEEBHB.js} +37 -45
- package/dist/web/server/{fleet-tool-timeline-IB36_PB2-XJENTO6I.js → tool-timeline-QL9k5dzA-RLU26HXT.js} +6 -6
- package/dist/web/server/{workspace-panel-CX_Vo6As-EWO6AMPI.js → workspace-panel-BHEB9nRM-TS62SYBA.js} +64 -46
- package/package.json +1 -1
- package/dist/web/client/assets/action-swap-roll-BB8DFMuf.js +0 -1
- package/dist/web/client/assets/agent-activity-CwMDU7aP.js +0 -1
- package/dist/web/client/assets/agent-disclosure-B8SnhQXL.js +0 -1
- package/dist/web/client/assets/analytics-stub-Cas1He0w.js +0 -1
- package/dist/web/client/assets/artifacts-panel-CJ75gQub.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-BR2WWrFo.js +0 -1
- package/dist/web/client/assets/card-BKl76a3R.js +0 -1
- package/dist/web/client/assets/chat-Ci2cEQrR.js +0 -52
- package/dist/web/client/assets/chat-command-palette-CkISHfKE.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-C_tPOJE_.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-_WjnervL.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-BEZuZhzk.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-BCno4XP-.js +0 -1
- package/dist/web/client/assets/fleet-reasoning-panel-CbkO7u-v.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-B_I1Eq1u.css +0 -2
- package/dist/web/client/assets/highlighted-body-KPVGNVTW-sUCZ1fHv.js +0 -1
- package/dist/web/client/assets/horizontal-resize-CwoDojST.js +0 -1
- package/dist/web/client/assets/image-BbPmlw-n.js +0 -1
- package/dist/web/client/assets/index-DJ1fFbQu.js +0 -12
- package/dist/web/client/assets/input-0wwjWjKq.js +0 -1
- package/dist/web/client/assets/input-group-Tb5TYbzi.js +0 -1
- package/dist/web/client/assets/ipython-tool-ldJ9F1Cw.js +0 -3
- package/dist/web/client/assets/layout-gyLzPvVv.js +0 -1
- package/dist/web/client/assets/markdown-DInPmRUG.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-Ch05B2nZ.js +0 -1
- package/dist/web/client/assets/openui-renderer-Bf60nxNi.js +0 -378
- package/dist/web/client/assets/plus-DXN1Bg_z.js +0 -1
- package/dist/web/client/assets/prompt-input-qPIXZ-Rb.js +0 -1
- package/dist/web/client/assets/prompt-suggestions-Cc--lSNR.js +0 -1
- package/dist/web/client/assets/provider-catalog-D8G66gwc.js +0 -1
- package/dist/web/client/assets/provider-label-DDLRnZyC.js +0 -1
- package/dist/web/client/assets/react-dom-Bwxum3ti.js +0 -1
- package/dist/web/client/assets/repl-panel-DsPX04Xr.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-Dp8yX-oL.js +0 -2
- package/dist/web/client/assets/routes-DpgMJZ5n.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-YJkvt5EB.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-CnI-mqN0.js +0 -1
- package/dist/web/client/assets/subagent-utils-DDH5qm9Z.js +0 -1
- package/dist/web/client/assets/subagents-panel-CjXEdimj.js +0 -1
- package/dist/web/client/assets/surfaces-DI-U-_2a.js +0 -1
- package/dist/web/client/assets/switch-9rTeg6J6.js +0 -1
- package/dist/web/client/assets/terminal-DOS1s1gm.js +0 -1
- package/dist/web/client/assets/toast-Bt9p2OL4.js +0 -1
- package/dist/web/client/assets/tool-result-DfnPN0FQ.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--Vynre4D.js +0 -6
- package/dist/web/client/assets/workspace-panel-CPPIznT9.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-DS_CSIFQ-WB3VTKF3.js +0 -95
- package/dist/web/server/agent-activity-CS2rbF_C-A3R26CYH.js +0 -514
- package/dist/web/server/chunk-3JMESBAT.js +0 -35
- package/dist/web/server/chunk-42XU6WV7.js +0 -56
- package/dist/web/server/chunk-7SD2ZSEA.js +0 -86
- 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-HFQTI7AX.js +0 -42
- package/dist/web/server/chunk-L46H6IDX.js +0 -13
- 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-TWYHHG5N.js +0 -1196
- package/dist/web/server/chunk-YKVGQBZA.js +0 -1262
- package/dist/web/server/chunk-ZCVWADNW.js +0 -37
- package/dist/web/server/fleet-pi-tool-renderer-umKunT3K-O4GBH35V.js +0 -51
- package/dist/web/server/fleet-subagent-list-CpSYzCIq-JDH2LHSS.js +0 -18
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
cva
|
|
3
|
+
} from "./chunk-TLNZNR7C.js";
|
|
1
4
|
import {
|
|
2
5
|
EMPTY_OBJECT,
|
|
3
6
|
NOOP,
|
|
@@ -17,20 +20,17 @@ import {
|
|
|
17
20
|
useRefWithInit,
|
|
18
21
|
useRenderElement,
|
|
19
22
|
useStableCallback
|
|
20
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-XJ6TGSUB.js";
|
|
21
24
|
import {
|
|
22
25
|
cn
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import {
|
|
25
|
-
clsx
|
|
26
|
-
} from "./chunk-JDCCC7A7.js";
|
|
26
|
+
} from "./chunk-CHEC7TWB.js";
|
|
27
27
|
import {
|
|
28
28
|
__commonJSMin,
|
|
29
29
|
__require,
|
|
30
30
|
__toESM
|
|
31
31
|
} from "./chunk-L547YHC4.js";
|
|
32
32
|
|
|
33
|
-
// web/app/dist/server/assets/FloatingPortal-
|
|
33
|
+
// web/app/dist/server/assets/FloatingPortal-DNVC0AJA.js
|
|
34
34
|
import * as React$3 from "react";
|
|
35
35
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
36
36
|
import * as ReactDOM from "react-dom";
|
|
@@ -50,43 +50,6 @@ var Button$1 = /* @__PURE__ */ React$3.forwardRef(function Button(componentProps
|
|
|
50
50
|
props: [elementProps, getButtonProps]
|
|
51
51
|
});
|
|
52
52
|
});
|
|
53
|
-
var falsyToString = (value) => typeof value === "boolean" ? `${value}` : value === 0 ? "0" : value;
|
|
54
|
-
var cx = clsx;
|
|
55
|
-
var cva = (base, config) => (props) => {
|
|
56
|
-
var _config_compoundVariants;
|
|
57
|
-
if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
|
|
58
|
-
const { variants, defaultVariants } = config;
|
|
59
|
-
const getVariantClassNames = Object.keys(variants).map((variant) => {
|
|
60
|
-
const variantProp = props === null || props === void 0 ? void 0 : props[variant];
|
|
61
|
-
const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];
|
|
62
|
-
if (variantProp === null) return null;
|
|
63
|
-
const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);
|
|
64
|
-
return variants[variant][variantKey];
|
|
65
|
-
});
|
|
66
|
-
const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param) => {
|
|
67
|
-
let [key, value] = param;
|
|
68
|
-
if (value === void 0) return acc;
|
|
69
|
-
acc[key] = value;
|
|
70
|
-
return acc;
|
|
71
|
-
}, {});
|
|
72
|
-
return cx(base, getVariantClassNames, config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param) => {
|
|
73
|
-
let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;
|
|
74
|
-
return Object.entries(compoundVariantOptions).every((param2) => {
|
|
75
|
-
let [key, value] = param2;
|
|
76
|
-
return Array.isArray(value) ? value.includes({
|
|
77
|
-
...defaultVariants,
|
|
78
|
-
...propsWithoutUndefined
|
|
79
|
-
}[key]) : {
|
|
80
|
-
...defaultVariants,
|
|
81
|
-
...propsWithoutUndefined
|
|
82
|
-
}[key] === value;
|
|
83
|
-
}) ? [
|
|
84
|
-
...acc,
|
|
85
|
-
cvClass,
|
|
86
|
-
cvClassName
|
|
87
|
-
] : acc;
|
|
88
|
-
}, []), props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
|
|
89
|
-
};
|
|
90
53
|
var buttonVariants = cva("group/button inline-flex shrink-0 items-center justify-center rounded-full border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
|
|
91
54
|
variants: {
|
|
92
55
|
variant: {
|
|
@@ -100,7 +63,7 @@ var buttonVariants = cva("group/button inline-flex shrink-0 items-center justify
|
|
|
100
63
|
size: {
|
|
101
64
|
default: "h-8 gap-1.5 rounded-full px-3 has-data-[icon=inline-end]:pr-2.5 has-data-[icon=inline-start]:pl-2.5",
|
|
102
65
|
xs: "h-6 gap-1 rounded-full px-2 text-xs in-data-[slot=button-group]:rounded-full has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",
|
|
103
|
-
sm: "h-7 gap-1 rounded-full px-2.5 text-
|
|
66
|
+
sm: "h-7 gap-1 rounded-full px-2.5 text-label in-data-[slot=button-group]:rounded-full has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2 [&_svg:not([class*='size-'])]:size-3.5",
|
|
104
67
|
lg: "h-9 gap-1.5 rounded-full px-3.5 has-data-[icon=inline-end]:pr-3 has-data-[icon=inline-start]:pl-3",
|
|
105
68
|
icon: "size-8 rounded-full",
|
|
106
69
|
"icon-xs": "size-6 rounded-full in-data-[slot=button-group]:rounded-full [&_svg:not([class*='size-'])]:size-3",
|
|
@@ -362,6 +325,14 @@ function useStoreLegacy(store, selector, a1, a2, a3) {
|
|
|
362
325
|
return (0, import_with_selector.useSyncExternalStoreWithSelector)(store.subscribe, store.getSnapshot, store.getSnapshot, (state) => selector(state, a1, a2, a3));
|
|
363
326
|
}
|
|
364
327
|
var Store = class {
|
|
328
|
+
/**
|
|
329
|
+
* Creates a store with the given initial state, constructing the class it is called on.
|
|
330
|
+
* Calling it on a generic base class (e.g. `ReactStore.create(...)`) constructs that
|
|
331
|
+
* class but degrades the inferred instance type to `Store`; use `new` there instead.
|
|
332
|
+
*/
|
|
333
|
+
static create(state) {
|
|
334
|
+
return new this(state);
|
|
335
|
+
}
|
|
365
336
|
/**
|
|
366
337
|
* The current state of the store.
|
|
367
338
|
* This property is updated immediately when the state changes as a result of calling {@link setState}, {@link update}, or {@link set}.
|
|
@@ -410,6 +381,8 @@ var Store = class {
|
|
|
410
381
|
}
|
|
411
382
|
/**
|
|
412
383
|
* Merges the provided changes into the current state and notifies listeners if there are changes.
|
|
384
|
+
* Each value must match its state key. Pass an exact known subset rather than a broad
|
|
385
|
+
* `Partial<State>`, which may contain `undefined` for required state fields.
|
|
413
386
|
*
|
|
414
387
|
* @param changes An object containing the changes to apply to the current state.
|
|
415
388
|
*/
|
|
@@ -500,9 +473,13 @@ var ReactStore = class extends Store {
|
|
|
500
473
|
}
|
|
501
474
|
/**
|
|
502
475
|
* Synchronizes multiple external values into the store.
|
|
476
|
+
* Each value must match its state key. Pass an exact known subset rather than a broad
|
|
477
|
+
* `Partial<State>`, which may contain `undefined` for required state fields.
|
|
503
478
|
*
|
|
504
479
|
* Note that the while the values in `state` are updated immediately, the values returned
|
|
505
480
|
* by `useState` are updated before the next render (similarly to React's `useState`).
|
|
481
|
+
*
|
|
482
|
+
* @param statePart An exact subset of state fields to synchronize. Unknown keys are not accepted.
|
|
506
483
|
*/
|
|
507
484
|
useSyncedValues(statePart) {
|
|
508
485
|
const store = this;
|
|
@@ -666,12 +643,6 @@ var webkit = typeof CSS !== "undefined" && !!CSS.supports?.("-webkit-backdrop-fi
|
|
|
666
643
|
!webkit && lowerUserAgent.includes("chrom");
|
|
667
644
|
var voiceOver = apple;
|
|
668
645
|
var jsdom = /jsdom|happydom/.test(lowerUserAgent);
|
|
669
|
-
var FOCUSABLE_ATTRIBUTE = "data-base-ui-focusable";
|
|
670
|
-
var TYPEABLE_SELECTOR = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";
|
|
671
|
-
var ARROW_LEFT = "ArrowLeft";
|
|
672
|
-
var ARROW_RIGHT = "ArrowRight";
|
|
673
|
-
var ARROW_UP = "ArrowUp";
|
|
674
|
-
var ARROW_DOWN = "ArrowDown";
|
|
675
646
|
function activeElement(doc) {
|
|
676
647
|
let element = doc.activeElement;
|
|
677
648
|
while (element?.shadowRoot?.activeElement != null) element = element.shadowRoot.activeElement;
|
|
@@ -691,14 +662,23 @@ function contains(parent, child) {
|
|
|
691
662
|
return false;
|
|
692
663
|
}
|
|
693
664
|
function getTarget(event) {
|
|
694
|
-
if ("composedPath" in event) return event.composedPath()[0];
|
|
665
|
+
if ("composedPath" in event) return event.composedPath()[0] ?? event.target;
|
|
695
666
|
return event.target;
|
|
696
667
|
}
|
|
668
|
+
var FOCUSABLE_ATTRIBUTE = "data-base-ui-focusable";
|
|
669
|
+
var TYPEABLE_SELECTOR = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";
|
|
670
|
+
var ARROW_LEFT = "ArrowLeft";
|
|
671
|
+
var ARROW_RIGHT = "ArrowRight";
|
|
672
|
+
var ARROW_UP = "ArrowUp";
|
|
673
|
+
var ARROW_DOWN = "ArrowDown";
|
|
674
|
+
var popupOpen$1 = "data-popup-open";
|
|
675
|
+
var pressed = "data-pressed";
|
|
676
|
+
var triggerDisabled = "data-trigger-disabled";
|
|
697
677
|
function isTargetInsideEnabledTrigger(target, triggerElements) {
|
|
698
678
|
if (!isElement(target)) return false;
|
|
699
679
|
const targetElement = target;
|
|
700
|
-
if (triggerElements.hasElement(targetElement)) return !targetElement.hasAttribute(
|
|
701
|
-
for (const [, trigger] of triggerElements.entries()) if (contains(trigger, targetElement)) return !trigger.hasAttribute(
|
|
680
|
+
if (triggerElements.hasElement(targetElement)) return !targetElement.hasAttribute(triggerDisabled);
|
|
681
|
+
for (const [, trigger] of triggerElements.entries()) if (contains(trigger, targetElement)) return !trigger.hasAttribute(triggerDisabled);
|
|
702
682
|
return false;
|
|
703
683
|
}
|
|
704
684
|
function isEventTargetWithin(event, node) {
|
|
@@ -1022,7 +1002,7 @@ function useFloatingPortalNode(props = {}) {
|
|
|
1022
1002
|
};
|
|
1023
1003
|
}
|
|
1024
1004
|
var FloatingPortal = /* @__PURE__ */ React$3.forwardRef(function FloatingPortal2(componentProps, forwardedRef) {
|
|
1025
|
-
const { render, className, style, children, container, ...elementProps } = componentProps;
|
|
1005
|
+
const { render, className, style, children, container, portalOwnerRole, ...elementProps } = componentProps;
|
|
1026
1006
|
const { node: portalNode, nodeId: portalNodeId, subtree: portalSubtree } = useFloatingPortalNode({
|
|
1027
1007
|
container,
|
|
1028
1008
|
ref: forwardedRef,
|
|
@@ -1080,6 +1060,7 @@ var FloatingPortal = /* @__PURE__ */ React$3.forwardRef(function FloatingPortal2
|
|
|
1080
1060
|
}
|
|
1081
1061
|
}),
|
|
1082
1062
|
shouldRenderGuards && portalNode && /* @__PURE__ */ jsx("span", {
|
|
1063
|
+
role: portalOwnerRole,
|
|
1083
1064
|
"aria-owns": portalNodeId,
|
|
1084
1065
|
style: ownerVisuallyHidden
|
|
1085
1066
|
}),
|
|
@@ -1101,30 +1082,29 @@ var FloatingPortal = /* @__PURE__ */ React$3.forwardRef(function FloatingPortal2
|
|
|
1101
1082
|
|
|
1102
1083
|
export {
|
|
1103
1084
|
ownerDocument,
|
|
1104
|
-
cva,
|
|
1105
1085
|
Button2 as Button,
|
|
1106
1086
|
require_shim,
|
|
1107
1087
|
require_with_selector,
|
|
1108
1088
|
fastComponent,
|
|
1109
1089
|
fastComponentRef,
|
|
1110
|
-
useStore,
|
|
1111
1090
|
ReactStore,
|
|
1112
1091
|
mergeCleanups,
|
|
1113
1092
|
Timeout,
|
|
1114
1093
|
useTimeout,
|
|
1115
1094
|
ios,
|
|
1116
1095
|
android,
|
|
1117
|
-
mac,
|
|
1118
1096
|
webkit,
|
|
1119
1097
|
jsdom,
|
|
1098
|
+
activeElement,
|
|
1099
|
+
contains,
|
|
1100
|
+
getTarget,
|
|
1120
1101
|
FOCUSABLE_ATTRIBUTE,
|
|
1121
1102
|
ARROW_LEFT,
|
|
1122
1103
|
ARROW_RIGHT,
|
|
1123
1104
|
ARROW_UP,
|
|
1124
1105
|
ARROW_DOWN,
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
getTarget,
|
|
1106
|
+
popupOpen$1,
|
|
1107
|
+
pressed,
|
|
1128
1108
|
isTargetInsideEnabledTrigger,
|
|
1129
1109
|
isEventTargetWithin,
|
|
1130
1110
|
isRootElement,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CHEC7TWB.js";
|
|
4
4
|
import {
|
|
5
5
|
Xa
|
|
6
6
|
} from "./chunk-DKD32TRM.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
__exportAll
|
|
9
9
|
} from "./chunk-L547YHC4.js";
|
|
10
10
|
|
|
11
|
-
// web/app/dist/server/assets/markdown-
|
|
11
|
+
// web/app/dist/server/assets/markdown-BzNejPoZ.js
|
|
12
12
|
import { Fragment, Suspense, isValidElement, lazy, useMemo } from "react";
|
|
13
13
|
import { jsx } from "react/jsx-runtime";
|
|
14
14
|
var markdown_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -18,7 +18,7 @@ var markdown_exports = /* @__PURE__ */ __exportAll({
|
|
|
18
18
|
markdownComponents: () => markdownComponents,
|
|
19
19
|
normalizeCodeFenceLanguages: () => normalizeCodeFenceLanguages
|
|
20
20
|
});
|
|
21
|
-
var LazyHighlightedMarkdown = lazy(() => import("./markdown-code-
|
|
21
|
+
var LazyHighlightedMarkdown = lazy(() => import("./markdown-code-DAwXuW6m-HHVELO6I.js").then(({ HighlightedMarkdown }) => ({ default: HighlightedMarkdown })));
|
|
22
22
|
function fixNumberedListBreaks(text) {
|
|
23
23
|
return text.replace(/^(\d+)\.\s*\n+\s*\n*/gm, "$1. ");
|
|
24
24
|
}
|
|
@@ -83,28 +83,28 @@ var markdownComponents = {
|
|
|
83
83
|
const child = (Array.isArray(children) ? children : [children]).filter((value) => value != null && value !== "");
|
|
84
84
|
if (child.some((value) => containsBlockMarkdownChild(value, child.length === 1))) return /* @__PURE__ */ jsx(Fragment, { children });
|
|
85
85
|
return /* @__PURE__ */ jsx("p", {
|
|
86
|
-
className: "an-md-p text-sm leading-relaxed text-
|
|
86
|
+
className: "an-md-p text-sm leading-relaxed text-foreground/80",
|
|
87
87
|
...props,
|
|
88
88
|
children
|
|
89
89
|
});
|
|
90
90
|
},
|
|
91
91
|
ul: ({ children, ...props }) => /* @__PURE__ */ jsx("ul", {
|
|
92
|
-
className: "an-md-ul mb-2 flex list-outside list-disc flex-col gap-0.5 pl-4 text-sm text-
|
|
92
|
+
className: "an-md-ul mb-2 flex list-outside list-disc flex-col gap-0.5 pl-4 text-sm text-foreground/80",
|
|
93
93
|
...props,
|
|
94
94
|
children
|
|
95
95
|
}),
|
|
96
96
|
ol: ({ children, ...props }) => /* @__PURE__ */ jsx("ol", {
|
|
97
|
-
className: "an-md-ol mb-2 flex list-outside list-decimal flex-col gap-0.5 pl-5 text-sm text-
|
|
97
|
+
className: "an-md-ol mb-2 flex list-outside list-decimal flex-col gap-0.5 pl-5 text-sm text-foreground/80",
|
|
98
98
|
...props,
|
|
99
99
|
children
|
|
100
100
|
}),
|
|
101
101
|
li: ({ children, ...props }) => /* @__PURE__ */ jsx("li", {
|
|
102
|
-
className: "an-md-li pl-0.5 text-sm text-
|
|
102
|
+
className: "an-md-li pl-0.5 text-sm text-foreground/80",
|
|
103
103
|
...props,
|
|
104
104
|
children
|
|
105
105
|
}),
|
|
106
106
|
strong: ({ children, ...props }) => /* @__PURE__ */ jsx("strong", {
|
|
107
|
-
className: "font-medium text-
|
|
107
|
+
className: "font-medium text-foreground",
|
|
108
108
|
...props,
|
|
109
109
|
children
|
|
110
110
|
}),
|
|
@@ -116,34 +116,34 @@ var markdownComponents = {
|
|
|
116
116
|
href,
|
|
117
117
|
target: isExternal ? "_blank" : void 0,
|
|
118
118
|
rel: isExternal ? "noopener noreferrer" : void 0,
|
|
119
|
-
className: "an-md-link text-
|
|
119
|
+
className: "an-md-link text-primary underline-offset-2 hover:underline",
|
|
120
120
|
children
|
|
121
121
|
});
|
|
122
122
|
},
|
|
123
123
|
blockquote: ({ children, ...props }) => /* @__PURE__ */ jsx("blockquote", {
|
|
124
|
-
className: "an-md-blockquote mb-2 border-l-2 border-
|
|
124
|
+
className: "an-md-blockquote mb-2 border-l-2 border-border pl-3 text-sm text-foreground/70 italic",
|
|
125
125
|
...props,
|
|
126
126
|
children
|
|
127
127
|
}),
|
|
128
128
|
hr: ({ ...props }) => /* @__PURE__ */ jsx("hr", {
|
|
129
|
-
className: "an-md-hr my-4 border-
|
|
129
|
+
className: "an-md-hr my-4 border-border",
|
|
130
130
|
...props
|
|
131
131
|
}),
|
|
132
132
|
table: ({ children, ...props }) => /* @__PURE__ */ jsx("div", {
|
|
133
|
-
className: "my-3 overflow-x-auto rounded-
|
|
133
|
+
className: "my-3 overflow-x-auto rounded-chat-tool border border-border",
|
|
134
134
|
children: /* @__PURE__ */ jsx("table", {
|
|
135
|
-
className: "an-md-table w-full text-sm [&>thead]:bg-
|
|
135
|
+
className: "an-md-table w-full text-sm [&>thead]:bg-muted [&>thead>tr>th]:bg-muted",
|
|
136
136
|
...props,
|
|
137
137
|
children
|
|
138
138
|
})
|
|
139
139
|
}),
|
|
140
140
|
th: ({ children, ...props }) => /* @__PURE__ */ jsx("th", {
|
|
141
|
-
className: "bg-
|
|
141
|
+
className: "bg-secondary px-3 py-2 text-left font-medium",
|
|
142
142
|
...props,
|
|
143
143
|
children
|
|
144
144
|
}),
|
|
145
145
|
td: ({ children, ...props }) => /* @__PURE__ */ jsx("td", {
|
|
146
|
-
className: "border-t border-
|
|
146
|
+
className: "border-t border-border px-3 py-2 text-foreground/80",
|
|
147
147
|
...props,
|
|
148
148
|
children
|
|
149
149
|
})
|
|
@@ -166,7 +166,7 @@ function PlainMarkdown({ content, className, codeControls }) {
|
|
|
166
166
|
});
|
|
167
167
|
}
|
|
168
168
|
function Markdown(props) {
|
|
169
|
-
if (!props.content.includes("```")) return /* @__PURE__ */ jsx(PlainMarkdown, { ...props });
|
|
169
|
+
if (props.isStreaming || !props.content.includes("```")) return /* @__PURE__ */ jsx(PlainMarkdown, { ...props });
|
|
170
170
|
return /* @__PURE__ */ jsx(Suspense, {
|
|
171
171
|
fallback: /* @__PURE__ */ jsx(PlainMarkdown, { ...props }),
|
|
172
172
|
children: /* @__PURE__ */ jsx(LazyHighlightedMarkdown, { ...props })
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
useFloatingPortalNode,
|
|
20
20
|
useTimeout,
|
|
21
21
|
visuallyHidden
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HQ5TEXHT.js";
|
|
23
23
|
import {
|
|
24
24
|
X
|
|
25
25
|
} from "./chunk-JBLHIEVG.js";
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
useRefWithInit,
|
|
37
37
|
useRenderElement,
|
|
38
38
|
useStableCallback
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-XJ6TGSUB.js";
|
|
40
40
|
import {
|
|
41
41
|
TriangleAlert
|
|
42
42
|
} from "./chunk-HFQZLPU2.js";
|
|
@@ -45,9 +45,9 @@ import {
|
|
|
45
45
|
} from "./chunk-4ZIEVI5O.js";
|
|
46
46
|
import {
|
|
47
47
|
cn
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-CHEC7TWB.js";
|
|
49
49
|
|
|
50
|
-
// web/app/dist/server/assets/toast-
|
|
50
|
+
// web/app/dist/server/assets/toast-CIql9TTn.js
|
|
51
51
|
import * as React$1 from "react";
|
|
52
52
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
53
53
|
import * as ReactDOM from "react-dom";
|
|
@@ -103,16 +103,16 @@ function resolvePromiseOptions(options, result) {
|
|
|
103
103
|
function createToastMetadata(toasts) {
|
|
104
104
|
const metadata = /* @__PURE__ */ new Map();
|
|
105
105
|
let visibleIndex = 0;
|
|
106
|
-
let
|
|
106
|
+
let offsetY2 = 0;
|
|
107
107
|
toasts.forEach((toast2, toastIndex) => {
|
|
108
108
|
const isEnding = toast2.transitionStatus === "ending";
|
|
109
109
|
metadata.set(toast2.id, {
|
|
110
110
|
value: toast2,
|
|
111
111
|
domIndex: toastIndex,
|
|
112
112
|
visibleIndex: isEnding ? -1 : visibleIndex,
|
|
113
|
-
offsetY
|
|
113
|
+
offsetY: offsetY2
|
|
114
114
|
});
|
|
115
|
-
|
|
115
|
+
offsetY2 += toast2.height || 0;
|
|
116
116
|
if (!isEnding) visibleIndex += 1;
|
|
117
117
|
});
|
|
118
118
|
return metadata;
|
|
@@ -176,12 +176,12 @@ var ToastStore = class extends ReactStore {
|
|
|
176
176
|
};
|
|
177
177
|
};
|
|
178
178
|
removeToast(toastId, skipOnRemove = false) {
|
|
179
|
-
const
|
|
180
|
-
if (
|
|
181
|
-
const toast2 = this.state.toasts[
|
|
179
|
+
const index2 = selectors.toastIndex(this.state, toastId);
|
|
180
|
+
if (index2 === -1) return;
|
|
181
|
+
const toast2 = this.state.toasts[index2];
|
|
182
182
|
if (!skipOnRemove) toast2?.onRemove?.();
|
|
183
183
|
const newToasts = [...this.state.toasts];
|
|
184
|
-
newToasts.splice(
|
|
184
|
+
newToasts.splice(index2, 1);
|
|
185
185
|
this.setToasts(newToasts);
|
|
186
186
|
}
|
|
187
187
|
addToast = (toast2) => {
|
|
@@ -212,7 +212,9 @@ var ToastStore = class extends ReactStore {
|
|
|
212
212
|
return id;
|
|
213
213
|
};
|
|
214
214
|
updateToast = (id, updates) => {
|
|
215
|
-
this.
|
|
215
|
+
const prevToast = selectors.toast(this.state, id);
|
|
216
|
+
if (!prevToast || prevToast.transitionStatus === "ending") return;
|
|
217
|
+
this.updateToastInternal(id, typeof updates === "function" ? updates(prevToast) : updates, false, true);
|
|
216
218
|
};
|
|
217
219
|
updateToastInternal = (id, updates, resetTimer = false, markUpdated = false) => {
|
|
218
220
|
const { timeout, toasts } = this.state;
|
|
@@ -383,7 +385,7 @@ var ToastStore = class extends ReactStore {
|
|
|
383
385
|
const toasts = selectors.toasts(this.state);
|
|
384
386
|
const currentIndex = selectors.toastIndex(this.state, toastId);
|
|
385
387
|
const scan = (from, step) => {
|
|
386
|
-
for (let
|
|
388
|
+
for (let index2 = from; index2 >= 0 && index2 < toasts.length; index2 += step) if (toasts[index2].transitionStatus !== "ending") return toasts[index2];
|
|
387
389
|
return null;
|
|
388
390
|
};
|
|
389
391
|
const nextToast = scan(currentIndex + 1, 1) ?? scan(currentIndex - 1, -1);
|
|
@@ -409,7 +411,7 @@ var ToastProvider$1 = function ToastProvider(props) {
|
|
|
409
411
|
return toastManager[" subscribe"](({ action, options }) => {
|
|
410
412
|
const id = options.id;
|
|
411
413
|
if (action === "promise" && options.promise) store.promiseToast(options.promise, options);
|
|
412
|
-
else if (action === "update" && id) store.updateToast(id, options);
|
|
414
|
+
else if (action === "update" && id) store.updateToast(id, options.updates);
|
|
413
415
|
else if (action === "close") store.closeToast(id);
|
|
414
416
|
else store.addToast(options);
|
|
415
417
|
});
|
|
@@ -434,6 +436,7 @@ function ToastProviderPropsSynchronizer(props) {
|
|
|
434
436
|
]);
|
|
435
437
|
return null;
|
|
436
438
|
}
|
|
439
|
+
var frontmostHeight = "--toast-frontmost-height";
|
|
437
440
|
var ToastViewport$1 = /* @__PURE__ */ React$1.forwardRef(function ToastViewport(componentProps, forwardedRef) {
|
|
438
441
|
const { render, className, style, children, ...elementProps } = componentProps;
|
|
439
442
|
const store = useToastProviderContext();
|
|
@@ -446,7 +449,7 @@ var ToastViewport$1 = /* @__PURE__ */ React$1.forwardRef(function ToastViewport(
|
|
|
446
449
|
const focused = store.useState("focused");
|
|
447
450
|
const expanded = store.useState("expanded");
|
|
448
451
|
const prevFocusElement = store.useState("prevFocusElement");
|
|
449
|
-
const frontmostHeight = toasts[0]?.height;
|
|
452
|
+
const frontmostHeight$1 = toasts[0]?.height;
|
|
450
453
|
const hasTransitioningToasts = toasts.some((toast2) => toast2.transitionStatus === "ending");
|
|
451
454
|
const highPriorityToasts = toasts.filter((toast2) => toast2.priority === "high");
|
|
452
455
|
React$1.useEffect(() => {
|
|
@@ -553,7 +556,7 @@ var ToastViewport$1 = /* @__PURE__ */ React$1.forwardRef(function ToastViewport(
|
|
|
553
556
|
onPointerDown: handlePointerDown,
|
|
554
557
|
onPointerUp: handlePointerEnd,
|
|
555
558
|
onPointerCancel: handlePointerEnd,
|
|
556
|
-
style: { [
|
|
559
|
+
style: { [frontmostHeight]: frontmostHeight$1 ? `${frontmostHeight$1}px` : void 0 }
|
|
557
560
|
};
|
|
558
561
|
const state = { expanded };
|
|
559
562
|
const focusGuard = !isEmpty && prevFocusElement && /* @__PURE__ */ jsx(FocusGuard, { onFocus: handleFocusGuard });
|
|
@@ -589,22 +592,8 @@ function useToastRootContext() {
|
|
|
589
592
|
if (!context) throw new Error(formatErrorMessage(66));
|
|
590
593
|
return context;
|
|
591
594
|
}
|
|
592
|
-
function
|
|
593
|
-
|
|
594
|
-
case "up":
|
|
595
|
-
return -deltaY;
|
|
596
|
-
case "down":
|
|
597
|
-
return deltaY;
|
|
598
|
-
case "left":
|
|
599
|
-
return -deltaX;
|
|
600
|
-
case "right":
|
|
601
|
-
return deltaX;
|
|
602
|
-
default:
|
|
603
|
-
return 0;
|
|
604
|
-
}
|
|
605
|
-
}
|
|
606
|
-
function getElementTransform(element) {
|
|
607
|
-
const transform = getWindow(element).getComputedStyle(element).transform;
|
|
595
|
+
function getElementTransform(element, computedStyle) {
|
|
596
|
+
const transform = (computedStyle ?? getWindow(element).getComputedStyle(element)).transform;
|
|
608
597
|
let translateX = 0;
|
|
609
598
|
let translateY = 0;
|
|
610
599
|
let scale = 1;
|
|
@@ -629,10 +618,30 @@ function getElementTransform(element) {
|
|
|
629
618
|
scale
|
|
630
619
|
};
|
|
631
620
|
}
|
|
621
|
+
function getDisplacement(direction, deltaX, deltaY) {
|
|
622
|
+
switch (direction) {
|
|
623
|
+
case "up":
|
|
624
|
+
return -deltaY;
|
|
625
|
+
case "down":
|
|
626
|
+
return deltaY;
|
|
627
|
+
case "left":
|
|
628
|
+
return -deltaX;
|
|
629
|
+
case "right":
|
|
630
|
+
return deltaX;
|
|
631
|
+
default:
|
|
632
|
+
return 0;
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
var index = "--toast-index";
|
|
636
|
+
var offsetY = "--toast-offset-y";
|
|
637
|
+
var height = "--toast-height";
|
|
638
|
+
var swipeMovementX = "--toast-swipe-movement-x";
|
|
639
|
+
var swipeMovementY = "--toast-swipe-movement-y";
|
|
640
|
+
var swipeDirection = "data-swipe-direction";
|
|
632
641
|
var toastRootStateAttributesMapping = {
|
|
633
642
|
...transitionStatusMapping,
|
|
634
643
|
swipeDirection(value) {
|
|
635
|
-
return value ? {
|
|
644
|
+
return value ? { [swipeDirection]: value } : null;
|
|
636
645
|
}
|
|
637
646
|
};
|
|
638
647
|
var SWIPE_THRESHOLD = 40;
|
|
@@ -641,10 +650,10 @@ var OPPOSITE_DIRECTION_DAMPING_FACTOR = 0.5;
|
|
|
641
650
|
var MIN_DRAG_THRESHOLD = 1;
|
|
642
651
|
var TOAST_SWIPE_IGNORE_SELECTOR = `${BASE_UI_SWIPE_IGNORE_SELECTOR},${LEGACY_SWIPE_IGNORE_SELECTOR}`;
|
|
643
652
|
var ToastRoot = /* @__PURE__ */ React$1.forwardRef(function ToastRoot2(componentProps, forwardedRef) {
|
|
644
|
-
const { toast: toast2, render, className, swipeDirection = ["down", "right"], style, ...elementProps } = componentProps;
|
|
653
|
+
const { toast: toast2, render, className, swipeDirection: swipeDirection2 = ["down", "right"], style, ...elementProps } = componentProps;
|
|
645
654
|
const isAnchored = toast2.positionerProps?.anchor !== void 0;
|
|
646
655
|
let swipeDirections = [];
|
|
647
|
-
if (!isAnchored) swipeDirections = Array.isArray(
|
|
656
|
+
if (!isAnchored) swipeDirections = Array.isArray(swipeDirection2) ? swipeDirection2 : [swipeDirection2];
|
|
648
657
|
const swipeEnabled = swipeDirections.length > 0;
|
|
649
658
|
const store = useToastProviderContext();
|
|
650
659
|
const [currentSwipeDirection, setCurrentSwipeDirection] = React$1.useState(void 0);
|
|
@@ -689,7 +698,7 @@ var ToastRoot = /* @__PURE__ */ React$1.forwardRef(function ToastRoot2(component
|
|
|
689
698
|
const dragAbortControllerRef = React$1.useRef(null);
|
|
690
699
|
const domIndex = store.useState("toastIndex", toast2.id);
|
|
691
700
|
const visibleIndex = store.useState("toastVisibleIndex", toast2.id);
|
|
692
|
-
const offsetY = store.useState("toastOffsetY", toast2.id);
|
|
701
|
+
const offsetY$1 = store.useState("toastOffsetY", toast2.id);
|
|
693
702
|
const focused = store.useState("focused");
|
|
694
703
|
const expanded = store.useState("expanded");
|
|
695
704
|
useOpenChangeComplete({
|
|
@@ -704,12 +713,12 @@ var ToastRoot = /* @__PURE__ */ React$1.forwardRef(function ToastRoot2(component
|
|
|
704
713
|
if (!element2) return;
|
|
705
714
|
const previousHeight = element2.style.height;
|
|
706
715
|
element2.style.height = "auto";
|
|
707
|
-
const
|
|
716
|
+
const height2 = element2.offsetHeight;
|
|
708
717
|
element2.style.height = previousHeight;
|
|
709
718
|
function update() {
|
|
710
719
|
store.updateToastInternal(toast2.id, {
|
|
711
720
|
ref: rootRef,
|
|
712
|
-
height,
|
|
721
|
+
height: height2,
|
|
713
722
|
transitionStatus: void 0
|
|
714
723
|
});
|
|
715
724
|
}
|
|
@@ -917,8 +926,8 @@ var ToastRoot = /* @__PURE__ */ React$1.forwardRef(function ToastRoot2(component
|
|
|
917
926
|
return {
|
|
918
927
|
transition: isSwiping ? "none" : void 0,
|
|
919
928
|
transform: isSwiping ? `translateX(${dragOffset.x}px) translateY(${dragOffset.y}px) scale(${initialTransform.scale})` : void 0,
|
|
920
|
-
[
|
|
921
|
-
[
|
|
929
|
+
[swipeMovementX]: `${deltaX}px`,
|
|
930
|
+
[swipeMovementY]: `${deltaY}px`
|
|
922
931
|
};
|
|
923
932
|
}
|
|
924
933
|
const isHighPriority = toast2.priority === "high";
|
|
@@ -937,9 +946,9 @@ var ToastRoot = /* @__PURE__ */ React$1.forwardRef(function ToastRoot2(component
|
|
|
937
946
|
inert: inertValue(toast2.limited),
|
|
938
947
|
style: {
|
|
939
948
|
...getDragStyles(),
|
|
940
|
-
[
|
|
941
|
-
[
|
|
942
|
-
[
|
|
949
|
+
[index]: toast2.transitionStatus === "ending" ? domIndex : visibleIndex,
|
|
950
|
+
[offsetY]: `${offsetY$1}px`,
|
|
951
|
+
[height]: toast2.height ? `${toast2.height}px` : void 0
|
|
943
952
|
}
|
|
944
953
|
};
|
|
945
954
|
const toastRoot = React$1.useMemo(() => ({
|
|
@@ -1180,8 +1189,8 @@ function createToastManager$1() {
|
|
|
1180
1189
|
emit({
|
|
1181
1190
|
action: "update",
|
|
1182
1191
|
options: {
|
|
1183
|
-
|
|
1184
|
-
|
|
1192
|
+
id,
|
|
1193
|
+
updates
|
|
1185
1194
|
}
|
|
1186
1195
|
});
|
|
1187
1196
|
},
|
|
@@ -1315,7 +1324,6 @@ function Toaster({ children, toastManager = toast, ...props }) {
|
|
|
1315
1324
|
|
|
1316
1325
|
export {
|
|
1317
1326
|
Info,
|
|
1318
|
-
FloatingPortalLite,
|
|
1319
1327
|
toast,
|
|
1320
1328
|
Toaster
|
|
1321
1329
|
};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CHEC7TWB.js";
|
|
4
4
|
|
|
5
|
-
// web/app/dist/server/assets/src-
|
|
6
|
-
import "react";
|
|
5
|
+
// web/app/dist/server/assets/src-NUUYwsJS.js
|
|
7
6
|
import { jsx } from "react/jsx-runtime";
|
|
8
7
|
function Card({ className, size = "default", ...props }) {
|
|
9
8
|
return /* @__PURE__ */ jsx("div", {
|