@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
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
cva
|
|
3
|
+
} from "./chunk-TLNZNR7C.js";
|
|
1
4
|
import {
|
|
2
5
|
EMPTY_OBJECT,
|
|
3
6
|
NOOP,
|
|
@@ -17,33 +20,83 @@ 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/
|
|
34
|
-
import * as React$
|
|
33
|
+
// web/app/dist/server/assets/FloatingPortal-DNVC0AJA.js
|
|
34
|
+
import * as React$3 from "react";
|
|
35
35
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
36
36
|
import * as ReactDOM from "react-dom";
|
|
37
|
+
function ownerDocument(node) {
|
|
38
|
+
return node?.ownerDocument || document;
|
|
39
|
+
}
|
|
40
|
+
var Button$1 = /* @__PURE__ */ React$3.forwardRef(function Button(componentProps, forwardedRef) {
|
|
41
|
+
const { render, className, disabled = false, focusableWhenDisabled = false, nativeButton = true, style, ...elementProps } = componentProps;
|
|
42
|
+
const { getButtonProps, buttonRef } = useButton({
|
|
43
|
+
disabled,
|
|
44
|
+
focusableWhenDisabled,
|
|
45
|
+
native: nativeButton
|
|
46
|
+
});
|
|
47
|
+
return useRenderElement("button", componentProps, {
|
|
48
|
+
state: { disabled },
|
|
49
|
+
ref: [forwardedRef, buttonRef],
|
|
50
|
+
props: [elementProps, getButtonProps]
|
|
51
|
+
});
|
|
52
|
+
});
|
|
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", {
|
|
54
|
+
variants: {
|
|
55
|
+
variant: {
|
|
56
|
+
default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
|
|
57
|
+
outline: "border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
|
|
58
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",
|
|
59
|
+
ghost: "hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",
|
|
60
|
+
destructive: "bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",
|
|
61
|
+
link: "text-primary underline-offset-4 hover:underline"
|
|
62
|
+
},
|
|
63
|
+
size: {
|
|
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",
|
|
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",
|
|
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",
|
|
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",
|
|
68
|
+
icon: "size-8 rounded-full",
|
|
69
|
+
"icon-xs": "size-6 rounded-full in-data-[slot=button-group]:rounded-full [&_svg:not([class*='size-'])]:size-3",
|
|
70
|
+
"icon-sm": "size-7 rounded-full in-data-[slot=button-group]:rounded-full",
|
|
71
|
+
"icon-lg": "size-9 rounded-full"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
defaultVariants: {
|
|
75
|
+
variant: "default",
|
|
76
|
+
size: "default"
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
function Button2({ className, variant = "default", size = "default", ...props }) {
|
|
80
|
+
return /* @__PURE__ */ jsx(Button$1, {
|
|
81
|
+
"data-slot": "button",
|
|
82
|
+
className: cn(buttonVariants({
|
|
83
|
+
variant,
|
|
84
|
+
size,
|
|
85
|
+
className
|
|
86
|
+
})),
|
|
87
|
+
...props
|
|
88
|
+
});
|
|
89
|
+
}
|
|
37
90
|
var require_use_sync_external_store_shim_production = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
38
|
-
var React$
|
|
91
|
+
var React$2 = __require("react");
|
|
39
92
|
function is(x, y) {
|
|
40
93
|
return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
|
|
41
94
|
}
|
|
42
95
|
var objectIs = "function" === typeof Object.is ? Object.is : is;
|
|
43
|
-
var useState2 = React$
|
|
44
|
-
var useEffect2 = React$
|
|
45
|
-
var useLayoutEffect = React$
|
|
46
|
-
var useDebugValue2 = React$
|
|
96
|
+
var useState2 = React$2.useState;
|
|
97
|
+
var useEffect2 = React$2.useEffect;
|
|
98
|
+
var useLayoutEffect = React$2.useLayoutEffect;
|
|
99
|
+
var useDebugValue2 = React$2.useDebugValue;
|
|
47
100
|
function useSyncExternalStore$2(subscribe, getSnapshot) {
|
|
48
101
|
var value = getSnapshot(), _useState = useState2({ inst: {
|
|
49
102
|
value,
|
|
@@ -81,23 +134,23 @@ var require_use_sync_external_store_shim_production = /* @__PURE__ */ __commonJS
|
|
|
81
134
|
return getSnapshot();
|
|
82
135
|
}
|
|
83
136
|
var shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
|
|
84
|
-
exports.useSyncExternalStore = void 0 !== React$
|
|
137
|
+
exports.useSyncExternalStore = void 0 !== React$2.useSyncExternalStore ? React$2.useSyncExternalStore : shim;
|
|
85
138
|
}));
|
|
86
139
|
var require_shim = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
87
140
|
module.exports = require_use_sync_external_store_shim_production();
|
|
88
141
|
}));
|
|
89
142
|
var require_with_selector_production = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
90
|
-
var React$
|
|
143
|
+
var React$1 = __require("react");
|
|
91
144
|
var shim = require_shim();
|
|
92
145
|
function is(x, y) {
|
|
93
146
|
return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
|
|
94
147
|
}
|
|
95
148
|
var objectIs = "function" === typeof Object.is ? Object.is : is;
|
|
96
149
|
var useSyncExternalStore = shim.useSyncExternalStore;
|
|
97
|
-
var useRef2 = React$
|
|
98
|
-
var useEffect2 = React$
|
|
99
|
-
var useMemo2 = React$
|
|
100
|
-
var useDebugValue2 = React$
|
|
150
|
+
var useRef2 = React$1.useRef;
|
|
151
|
+
var useEffect2 = React$1.useEffect;
|
|
152
|
+
var useMemo2 = React$1.useMemo;
|
|
153
|
+
var useDebugValue2 = React$1.useDebugValue;
|
|
101
154
|
exports.useSyncExternalStoreWithSelector = function(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {
|
|
102
155
|
var instRef = useRef2(null);
|
|
103
156
|
if (null === instRef.current) {
|
|
@@ -179,7 +232,7 @@ function fastComponent(fn) {
|
|
|
179
232
|
return FastComponent;
|
|
180
233
|
}
|
|
181
234
|
function fastComponentRef(fn) {
|
|
182
|
-
return /* @__PURE__ */ React$
|
|
235
|
+
return /* @__PURE__ */ React$3.forwardRef(fastComponent(fn));
|
|
183
236
|
}
|
|
184
237
|
function createInstance() {
|
|
185
238
|
return { didInitialize: false };
|
|
@@ -189,7 +242,7 @@ function useStore(store, selector, a1, a2, a3) {
|
|
|
189
242
|
return useStoreImplementation(store, selector, a1, a2, a3);
|
|
190
243
|
}
|
|
191
244
|
function useStoreR19(store, selector, a1, a2, a3) {
|
|
192
|
-
const getSelection = React$
|
|
245
|
+
const getSelection = React$3.useCallback(() => selector(store.getSnapshot(), a1, a2, a3), [
|
|
193
246
|
store,
|
|
194
247
|
selector,
|
|
195
248
|
a1,
|
|
@@ -272,6 +325,14 @@ function useStoreLegacy(store, selector, a1, a2, a3) {
|
|
|
272
325
|
return (0, import_with_selector.useSyncExternalStoreWithSelector)(store.subscribe, store.getSnapshot, store.getSnapshot, (state) => selector(state, a1, a2, a3));
|
|
273
326
|
}
|
|
274
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
|
+
}
|
|
275
336
|
/**
|
|
276
337
|
* The current state of the store.
|
|
277
338
|
* This property is updated immediately when the state changes as a result of calling {@link setState}, {@link update}, or {@link set}.
|
|
@@ -320,6 +381,8 @@ var Store = class {
|
|
|
320
381
|
}
|
|
321
382
|
/**
|
|
322
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.
|
|
323
386
|
*
|
|
324
387
|
* @param changes An object containing the changes to apply to the current state.
|
|
325
388
|
*/
|
|
@@ -378,7 +441,7 @@ var ReactStore = class extends Store {
|
|
|
378
441
|
* by `useState` is updated before the next render (similarly to React's `useState`).
|
|
379
442
|
*/
|
|
380
443
|
useSyncedValue(key, value) {
|
|
381
|
-
React$
|
|
444
|
+
React$3.useDebugValue(key);
|
|
382
445
|
const store = this;
|
|
383
446
|
useIsoLayoutEffect(() => {
|
|
384
447
|
if (store.state[key] !== value) store.set(key, value);
|
|
@@ -410,9 +473,13 @@ var ReactStore = class extends Store {
|
|
|
410
473
|
}
|
|
411
474
|
/**
|
|
412
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.
|
|
413
478
|
*
|
|
414
479
|
* Note that the while the values in `state` are updated immediately, the values returned
|
|
415
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.
|
|
416
483
|
*/
|
|
417
484
|
useSyncedValues(statePart) {
|
|
418
485
|
const store = this;
|
|
@@ -426,7 +493,7 @@ var ReactStore = class extends Store {
|
|
|
426
493
|
* is non-undefined, the store's state at `key` is updated to match `controlled`.
|
|
427
494
|
*/
|
|
428
495
|
useControlledProp(key, controlled) {
|
|
429
|
-
React$
|
|
496
|
+
React$3.useDebugValue(key);
|
|
430
497
|
const store = this;
|
|
431
498
|
const isControlled = controlled !== void 0;
|
|
432
499
|
useIsoLayoutEffect(() => {
|
|
@@ -457,7 +524,7 @@ var ReactStore = class extends Store {
|
|
|
457
524
|
* @param key Key of the selector to use.
|
|
458
525
|
*/
|
|
459
526
|
useState(key, a1, a2, a3) {
|
|
460
|
-
React$
|
|
527
|
+
React$3.useDebugValue(key);
|
|
461
528
|
return useStore(this, this.selectors[key], a1, a2, a3);
|
|
462
529
|
}
|
|
463
530
|
/**
|
|
@@ -468,7 +535,7 @@ var ReactStore = class extends Store {
|
|
|
468
535
|
* @param fn Function to assign.
|
|
469
536
|
*/
|
|
470
537
|
useContextCallback(key, fn) {
|
|
471
|
-
React$
|
|
538
|
+
React$3.useDebugValue(key);
|
|
472
539
|
const stableFunction = useStableCallback(fn ?? NOOP);
|
|
473
540
|
this.context[key] = stableFunction;
|
|
474
541
|
}
|
|
@@ -479,7 +546,7 @@ var ReactStore = class extends Store {
|
|
|
479
546
|
* @param key Key of the state to set.
|
|
480
547
|
*/
|
|
481
548
|
useStateSetter(key) {
|
|
482
|
-
const ref = React$
|
|
549
|
+
const ref = React$3.useRef(void 0);
|
|
483
550
|
if (ref.current === void 0) ref.current = (value) => {
|
|
484
551
|
this.set(key, value);
|
|
485
552
|
};
|
|
@@ -515,9 +582,6 @@ function mergeCleanups(...cleanups) {
|
|
|
515
582
|
}
|
|
516
583
|
};
|
|
517
584
|
}
|
|
518
|
-
function ownerDocument(node) {
|
|
519
|
-
return node?.ownerDocument || document;
|
|
520
|
-
}
|
|
521
585
|
var EMPTY = 0;
|
|
522
586
|
var Timeout = class Timeout2 {
|
|
523
587
|
static create() {
|
|
@@ -579,12 +643,6 @@ var webkit = typeof CSS !== "undefined" && !!CSS.supports?.("-webkit-backdrop-fi
|
|
|
579
643
|
!webkit && lowerUserAgent.includes("chrom");
|
|
580
644
|
var voiceOver = apple;
|
|
581
645
|
var jsdom = /jsdom|happydom/.test(lowerUserAgent);
|
|
582
|
-
var FOCUSABLE_ATTRIBUTE = "data-base-ui-focusable";
|
|
583
|
-
var TYPEABLE_SELECTOR = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";
|
|
584
|
-
var ARROW_LEFT = "ArrowLeft";
|
|
585
|
-
var ARROW_RIGHT = "ArrowRight";
|
|
586
|
-
var ARROW_UP = "ArrowUp";
|
|
587
|
-
var ARROW_DOWN = "ArrowDown";
|
|
588
646
|
function activeElement(doc) {
|
|
589
647
|
let element = doc.activeElement;
|
|
590
648
|
while (element?.shadowRoot?.activeElement != null) element = element.shadowRoot.activeElement;
|
|
@@ -604,14 +662,23 @@ function contains(parent, child) {
|
|
|
604
662
|
return false;
|
|
605
663
|
}
|
|
606
664
|
function getTarget(event) {
|
|
607
|
-
if ("composedPath" in event) return event.composedPath()[0];
|
|
665
|
+
if ("composedPath" in event) return event.composedPath()[0] ?? event.target;
|
|
608
666
|
return event.target;
|
|
609
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";
|
|
610
677
|
function isTargetInsideEnabledTrigger(target, triggerElements) {
|
|
611
678
|
if (!isElement(target)) return false;
|
|
612
679
|
const targetElement = target;
|
|
613
|
-
if (triggerElements.hasElement(targetElement)) return !targetElement.hasAttribute(
|
|
614
|
-
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);
|
|
615
682
|
return false;
|
|
616
683
|
}
|
|
617
684
|
function isEventTargetWithin(event, node) {
|
|
@@ -844,8 +911,8 @@ var visuallyHiddenInput = {
|
|
|
844
911
|
...visuallyHiddenBase,
|
|
845
912
|
position: "absolute"
|
|
846
913
|
};
|
|
847
|
-
var FocusGuard = /* @__PURE__ */ React$
|
|
848
|
-
const [role, setRole] = React$
|
|
914
|
+
var FocusGuard = /* @__PURE__ */ React$3.forwardRef(function FocusGuard2(props, ref) {
|
|
915
|
+
const [role, setRole] = React$3.useState();
|
|
849
916
|
useIsoLayoutEffect(() => {
|
|
850
917
|
if (voiceOver && webkit) setRole("button");
|
|
851
918
|
}, []);
|
|
@@ -883,19 +950,19 @@ var ownerVisuallyHidden = {
|
|
|
883
950
|
function createAttribute(name) {
|
|
884
951
|
return `data-base-ui-${name}`;
|
|
885
952
|
}
|
|
886
|
-
var PortalContext = /* @__PURE__ */ React$
|
|
887
|
-
var usePortalContext = () => React$
|
|
953
|
+
var PortalContext = /* @__PURE__ */ React$3.createContext(null);
|
|
954
|
+
var usePortalContext = () => React$3.useContext(PortalContext);
|
|
888
955
|
var attr = createAttribute("portal");
|
|
889
956
|
function useFloatingPortalNode(props = {}) {
|
|
890
957
|
const { ref, container: containerProp, componentProps = EMPTY_OBJECT, elementProps } = props;
|
|
891
958
|
const uniqueId = useId$1();
|
|
892
959
|
const parentPortalNode = usePortalContext()?.portalNode;
|
|
893
|
-
const [containerElement, setContainerElement] = React$
|
|
894
|
-
const [portalNode, setPortalNode] = React$
|
|
960
|
+
const [containerElement, setContainerElement] = React$3.useState(null);
|
|
961
|
+
const [portalNode, setPortalNode] = React$3.useState(null);
|
|
895
962
|
const setPortalNodeRef = useStableCallback((node) => {
|
|
896
963
|
if (node !== null) setPortalNode(node);
|
|
897
964
|
});
|
|
898
|
-
const containerRef = React$
|
|
965
|
+
const containerRef = React$3.useRef(null);
|
|
899
966
|
useIsoLayoutEffect(() => {
|
|
900
967
|
if (containerProp === null) {
|
|
901
968
|
if (containerRef.current) {
|
|
@@ -930,28 +997,28 @@ function useFloatingPortalNode(props = {}) {
|
|
|
930
997
|
const portalSubtree = containerElement && portalElement ? /* @__PURE__ */ ReactDOM.createPortal(portalElement, containerElement) : null;
|
|
931
998
|
return {
|
|
932
999
|
node: portalNode,
|
|
933
|
-
nodeId: /* @__PURE__ */ React$
|
|
1000
|
+
nodeId: /* @__PURE__ */ React$3.isValidElement(portalElement) ? portalElement.props.id : void 0,
|
|
934
1001
|
subtree: portalSubtree
|
|
935
1002
|
};
|
|
936
1003
|
}
|
|
937
|
-
var FloatingPortal = /* @__PURE__ */ React$
|
|
938
|
-
const { render, className, style, children, container, ...elementProps } = componentProps;
|
|
1004
|
+
var FloatingPortal = /* @__PURE__ */ React$3.forwardRef(function FloatingPortal2(componentProps, forwardedRef) {
|
|
1005
|
+
const { render, className, style, children, container, portalOwnerRole, ...elementProps } = componentProps;
|
|
939
1006
|
const { node: portalNode, nodeId: portalNodeId, subtree: portalSubtree } = useFloatingPortalNode({
|
|
940
1007
|
container,
|
|
941
1008
|
ref: forwardedRef,
|
|
942
1009
|
componentProps,
|
|
943
1010
|
elementProps
|
|
944
1011
|
});
|
|
945
|
-
const beforeOutsideRef = React$
|
|
946
|
-
const afterOutsideRef = React$
|
|
947
|
-
const beforeInsideRef = React$
|
|
948
|
-
const afterInsideRef = React$
|
|
949
|
-
const [focusManagerState, setFocusManagerState] = React$
|
|
950
|
-
const focusInsideDisabledRef = React$
|
|
1012
|
+
const beforeOutsideRef = React$3.useRef(null);
|
|
1013
|
+
const afterOutsideRef = React$3.useRef(null);
|
|
1014
|
+
const beforeInsideRef = React$3.useRef(null);
|
|
1015
|
+
const afterInsideRef = React$3.useRef(null);
|
|
1016
|
+
const [focusManagerState, setFocusManagerState] = React$3.useState(null);
|
|
1017
|
+
const focusInsideDisabledRef = React$3.useRef(false);
|
|
951
1018
|
const modal = focusManagerState?.modal;
|
|
952
1019
|
const open = focusManagerState?.open;
|
|
953
1020
|
const shouldRenderGuards = !!focusManagerState && !focusManagerState.modal && focusManagerState.open && !!portalNode;
|
|
954
|
-
React$
|
|
1021
|
+
React$3.useEffect(() => {
|
|
955
1022
|
if (!portalNode || modal) return;
|
|
956
1023
|
function onFocus(event) {
|
|
957
1024
|
if (portalNode && event.relatedTarget && isOutsideEvent(event)) {
|
|
@@ -973,7 +1040,7 @@ var FloatingPortal = /* @__PURE__ */ React$1.forwardRef(function FloatingPortal2
|
|
|
973
1040
|
enableFocusInside(portalNode);
|
|
974
1041
|
focusInsideDisabledRef.current = false;
|
|
975
1042
|
}, [open, portalNode]);
|
|
976
|
-
const portalContextValue = React$
|
|
1043
|
+
const portalContextValue = React$3.useMemo(() => ({
|
|
977
1044
|
beforeOutsideRef,
|
|
978
1045
|
afterOutsideRef,
|
|
979
1046
|
beforeInsideRef,
|
|
@@ -981,7 +1048,7 @@ var FloatingPortal = /* @__PURE__ */ React$1.forwardRef(function FloatingPortal2
|
|
|
981
1048
|
portalNode,
|
|
982
1049
|
setFocusManagerState
|
|
983
1050
|
}), [portalNode]);
|
|
984
|
-
return /* @__PURE__ */ jsxs(React$
|
|
1051
|
+
return /* @__PURE__ */ jsxs(React$3.Fragment, { children: [portalSubtree, /* @__PURE__ */ jsxs(PortalContext.Provider, {
|
|
985
1052
|
value: portalContextValue,
|
|
986
1053
|
children: [
|
|
987
1054
|
shouldRenderGuards && portalNode && /* @__PURE__ */ jsx(FocusGuard, {
|
|
@@ -993,6 +1060,7 @@ var FloatingPortal = /* @__PURE__ */ React$1.forwardRef(function FloatingPortal2
|
|
|
993
1060
|
}
|
|
994
1061
|
}),
|
|
995
1062
|
shouldRenderGuards && portalNode && /* @__PURE__ */ jsx("span", {
|
|
1063
|
+
role: portalOwnerRole,
|
|
996
1064
|
"aria-owns": portalNodeId,
|
|
997
1065
|
style: ownerVisuallyHidden
|
|
998
1066
|
}),
|
|
@@ -1011,118 +1079,32 @@ var FloatingPortal = /* @__PURE__ */ React$1.forwardRef(function FloatingPortal2
|
|
|
1011
1079
|
]
|
|
1012
1080
|
})] });
|
|
1013
1081
|
});
|
|
1014
|
-
var Button$1 = /* @__PURE__ */ React$1.forwardRef(function Button(componentProps, forwardedRef) {
|
|
1015
|
-
const { render, className, disabled = false, focusableWhenDisabled = false, nativeButton = true, style, ...elementProps } = componentProps;
|
|
1016
|
-
const { getButtonProps, buttonRef } = useButton({
|
|
1017
|
-
disabled,
|
|
1018
|
-
focusableWhenDisabled,
|
|
1019
|
-
native: nativeButton
|
|
1020
|
-
});
|
|
1021
|
-
return useRenderElement("button", componentProps, {
|
|
1022
|
-
state: { disabled },
|
|
1023
|
-
ref: [forwardedRef, buttonRef],
|
|
1024
|
-
props: [elementProps, getButtonProps]
|
|
1025
|
-
});
|
|
1026
|
-
});
|
|
1027
|
-
var falsyToString = (value) => typeof value === "boolean" ? `${value}` : value === 0 ? "0" : value;
|
|
1028
|
-
var cx = clsx;
|
|
1029
|
-
var cva = (base, config) => (props) => {
|
|
1030
|
-
var _config_compoundVariants;
|
|
1031
|
-
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);
|
|
1032
|
-
const { variants, defaultVariants } = config;
|
|
1033
|
-
const getVariantClassNames = Object.keys(variants).map((variant) => {
|
|
1034
|
-
const variantProp = props === null || props === void 0 ? void 0 : props[variant];
|
|
1035
|
-
const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];
|
|
1036
|
-
if (variantProp === null) return null;
|
|
1037
|
-
const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);
|
|
1038
|
-
return variants[variant][variantKey];
|
|
1039
|
-
});
|
|
1040
|
-
const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param) => {
|
|
1041
|
-
let [key, value] = param;
|
|
1042
|
-
if (value === void 0) return acc;
|
|
1043
|
-
acc[key] = value;
|
|
1044
|
-
return acc;
|
|
1045
|
-
}, {});
|
|
1046
|
-
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) => {
|
|
1047
|
-
let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;
|
|
1048
|
-
return Object.entries(compoundVariantOptions).every((param2) => {
|
|
1049
|
-
let [key, value] = param2;
|
|
1050
|
-
return Array.isArray(value) ? value.includes({
|
|
1051
|
-
...defaultVariants,
|
|
1052
|
-
...propsWithoutUndefined
|
|
1053
|
-
}[key]) : {
|
|
1054
|
-
...defaultVariants,
|
|
1055
|
-
...propsWithoutUndefined
|
|
1056
|
-
}[key] === value;
|
|
1057
|
-
}) ? [
|
|
1058
|
-
...acc,
|
|
1059
|
-
cvClass,
|
|
1060
|
-
cvClassName
|
|
1061
|
-
] : acc;
|
|
1062
|
-
}, []), props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
|
|
1063
|
-
};
|
|
1064
|
-
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", {
|
|
1065
|
-
variants: {
|
|
1066
|
-
variant: {
|
|
1067
|
-
default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
|
|
1068
|
-
outline: "border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
|
|
1069
|
-
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",
|
|
1070
|
-
ghost: "hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",
|
|
1071
|
-
destructive: "bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",
|
|
1072
|
-
link: "text-primary underline-offset-4 hover:underline"
|
|
1073
|
-
},
|
|
1074
|
-
size: {
|
|
1075
|
-
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",
|
|
1076
|
-
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",
|
|
1077
|
-
sm: "h-7 gap-1 rounded-full px-2.5 text-[0.8rem] 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",
|
|
1078
|
-
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",
|
|
1079
|
-
icon: "size-8 rounded-full",
|
|
1080
|
-
"icon-xs": "size-6 rounded-full in-data-[slot=button-group]:rounded-full [&_svg:not([class*='size-'])]:size-3",
|
|
1081
|
-
"icon-sm": "size-7 rounded-full in-data-[slot=button-group]:rounded-full",
|
|
1082
|
-
"icon-lg": "size-9 rounded-full"
|
|
1083
|
-
}
|
|
1084
|
-
},
|
|
1085
|
-
defaultVariants: {
|
|
1086
|
-
variant: "default",
|
|
1087
|
-
size: "default"
|
|
1088
|
-
}
|
|
1089
|
-
});
|
|
1090
|
-
function Button2({ className, variant = "default", size = "default", ...props }) {
|
|
1091
|
-
return /* @__PURE__ */ jsx(Button$1, {
|
|
1092
|
-
"data-slot": "button",
|
|
1093
|
-
className: cn(buttonVariants({
|
|
1094
|
-
variant,
|
|
1095
|
-
size,
|
|
1096
|
-
className
|
|
1097
|
-
})),
|
|
1098
|
-
...props
|
|
1099
|
-
});
|
|
1100
|
-
}
|
|
1101
1082
|
|
|
1102
1083
|
export {
|
|
1084
|
+
ownerDocument,
|
|
1085
|
+
Button2 as Button,
|
|
1103
1086
|
require_shim,
|
|
1104
1087
|
require_with_selector,
|
|
1105
1088
|
fastComponent,
|
|
1106
1089
|
fastComponentRef,
|
|
1107
|
-
useStore,
|
|
1108
1090
|
ReactStore,
|
|
1109
1091
|
mergeCleanups,
|
|
1110
|
-
ownerDocument,
|
|
1111
1092
|
Timeout,
|
|
1112
1093
|
useTimeout,
|
|
1113
1094
|
ios,
|
|
1114
1095
|
android,
|
|
1115
|
-
mac,
|
|
1116
1096
|
webkit,
|
|
1117
1097
|
jsdom,
|
|
1098
|
+
activeElement,
|
|
1099
|
+
contains,
|
|
1100
|
+
getTarget,
|
|
1118
1101
|
FOCUSABLE_ATTRIBUTE,
|
|
1119
1102
|
ARROW_LEFT,
|
|
1120
1103
|
ARROW_RIGHT,
|
|
1121
1104
|
ARROW_UP,
|
|
1122
1105
|
ARROW_DOWN,
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
getTarget,
|
|
1106
|
+
popupOpen$1,
|
|
1107
|
+
pressed,
|
|
1126
1108
|
isTargetInsideEnabledTrigger,
|
|
1127
1109
|
isEventTargetWithin,
|
|
1128
1110
|
isRootElement,
|
|
@@ -1158,9 +1140,7 @@ export {
|
|
|
1158
1140
|
createAttribute,
|
|
1159
1141
|
usePortalContext,
|
|
1160
1142
|
useFloatingPortalNode,
|
|
1161
|
-
FloatingPortal
|
|
1162
|
-
cva,
|
|
1163
|
-
Button2 as Button
|
|
1143
|
+
FloatingPortal
|
|
1164
1144
|
};
|
|
1165
1145
|
/**
|
|
1166
1146
|
* @license React
|
|
@@ -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 })
|