@qredence/fleet 0.6.1 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/web/client/assets/DialogTitle-DiAm7YNe.js +1 -0
- package/dist/web/client/assets/agent-disclosure-CMrxF7L-.js +1 -0
- package/dist/web/client/assets/alert-dialog-CYE37KMM.js +1 -0
- package/dist/web/client/assets/analytics-stub-C2vgmGm_.js +1 -0
- package/dist/web/client/assets/artifacts-panel-ClDpGWOU.js +1 -0
- package/dist/web/client/assets/{bot-Bs7QWJ2q.js → bot-DbB9BKL0.js} +1 -1
- package/dist/web/client/assets/bundle-mjs-cJTHqqzI.js +1 -0
- package/dist/web/client/assets/button-Dl0ce3Y5.js +1 -0
- package/dist/web/client/assets/{card-DA3Vnqay.js → card-DCEnYd2G.js} +1 -1
- package/dist/web/client/assets/chat-BVMnC5Qh.js +52 -0
- package/dist/web/client/assets/chat-command-palette-YuyaJNbi.js +1 -0
- package/dist/web/client/assets/check-B3LlvM65.js +1 -0
- package/dist/web/client/assets/{chevron-down-BEVGmnSb.js → chevron-down-DUUprRP5.js} +1 -1
- package/dist/web/client/assets/chevron-right-NVqQIoiO.js +1 -0
- package/dist/web/client/assets/{chunk-YOKDWASO-BAf618wr.js → chunk-YOKDWASO-Bte3iwlH.js} +6 -6
- package/dist/web/client/assets/citations-DXqV2NLy.js +1 -0
- package/dist/web/client/assets/collapsible-CUxOjhDJ.js +1 -0
- package/dist/web/client/assets/command-Cw4X8Bpk.js +1 -0
- package/dist/web/client/assets/createBaseUIEventDetails-B58Jldei.js +1 -0
- package/dist/web/client/assets/createLucideIcon-_dfI7Arx.js +1 -0
- package/dist/web/client/assets/dialog-BzcIOvFC.js +1 -0
- package/dist/web/client/assets/dist-52wg4XPY.js +1 -0
- package/dist/web/client/assets/dist-DbHxXSgQ.js +41 -0
- package/dist/web/client/assets/ease-CMumuPlX.js +1 -0
- package/dist/web/client/assets/{eye-B0DFz5hL.js → eye-CDHqtVoE.js} +1 -1
- package/dist/web/client/assets/file-text-TmalmYrb.js +1 -0
- package/dist/web/client/assets/{folder-BC5p7qK7.js → folder-vuNT4shY.js} +1 -1
- package/dist/web/client/assets/{fork-picker-dialog-B7NNpVmW.js → fork-picker-dialog-BYRr-xTy.js} +1 -1
- package/dist/web/client/assets/gauge-BsDqNM1A.js +1 -0
- package/dist/web/client/assets/git-branch-CTq9aACS.js +1 -0
- package/dist/web/client/assets/globals-BtCXZXL_.css +2 -0
- package/dist/web/client/assets/{hard-drive-CHqgr7VQ.js → hard-drive-BT7UxHQu.js} +1 -1
- package/dist/web/client/assets/highlighted-body-KPVGNVTW-CgT7gqvs.js +1 -0
- package/dist/web/client/assets/horizontal-resize-VLjLByUV.js +1 -0
- package/dist/web/client/assets/index-B9aXxpOv.js +12 -0
- package/dist/web/client/assets/input-CxZp56Im.js +1 -0
- package/dist/web/client/assets/input-group-D7lAfKHR.js +1 -0
- package/dist/web/client/assets/ipython-tool-CkHaO3PW.js +3 -0
- package/dist/web/client/assets/is-ref-object-BcRWZ4l7.js +1 -0
- package/dist/web/client/assets/{loader-circle-DjfHXUPB.js → loader-circle-B5GIZGxd.js} +1 -1
- package/dist/web/client/assets/markdown-BHkByC9K.js +2 -0
- package/dist/web/client/assets/{markdown-code-xNyjdZ4g.js → markdown-code-CDTRq-HZ.js} +1 -1
- package/dist/web/client/assets/mermaid-HWGCJPDP-CY3N5ECk.js +1 -0
- package/dist/web/client/assets/message-queue-Dl8wbCOu.js +1 -0
- package/dist/web/client/assets/model-selector-list-CHD8lMAl.js +1 -0
- package/dist/web/client/assets/{notify-DxL0VD7Z.js → notify-DjVixft7.js} +1 -1
- package/dist/web/client/assets/{openui-renderer-TLNe5e_Q.js → openui-renderer-C4e9FOVR.js} +38 -38
- package/dist/web/client/assets/{package-CdcJFPf2.js → package-BKBPgwMP.js} +1 -1
- package/dist/web/client/assets/{pencil-DcUwsKLn.js → pencil-CdO6qfv3.js} +1 -1
- package/dist/web/client/assets/{plug-Dt6VN0zF.js → plug-BRROUIw-.js} +1 -1
- package/dist/web/client/assets/prompt-input-WaGSKZCU.js +1 -0
- package/dist/web/client/assets/prompt-suggestions-BNyTcyWg.js +1 -0
- package/dist/web/client/assets/provider-catalog-ClVvphe0.js +1 -0
- package/dist/web/client/assets/provider-label-CwZ-KDxk.js +1 -0
- package/dist/web/client/assets/react-CwJFpaho.js +1 -0
- package/dist/web/client/assets/react-dom-DX3XddaT.js +1 -0
- package/dist/web/client/assets/{refresh-cw-IThTJ3j-.js → refresh-cw-l9WPHRkq.js} +1 -1
- package/dist/web/client/assets/repl-panel-L9dmPqio.js +1 -0
- package/dist/web/client/assets/{resource-helpers-Q2T0YCMO.js → resource-helpers-BuWybA8l.js} +1 -1
- package/dist/web/client/assets/resources-panel-mT-aMCvV.js +1 -0
- package/dist/web/client/assets/right-panel-context-CS8tJMzE.js +1 -0
- package/dist/web/client/assets/right-panel-registry-BnYCffmM.js +2 -0
- package/dist/web/client/assets/{rotate-ccw-WNFNkKQD.js → rotate-ccw-CfGhzOv7.js} +1 -1
- package/dist/web/client/assets/routes-DUontXSG.js +16 -0
- package/dist/web/client/assets/safe-external-url-BbAom7Bm.js +1 -0
- package/dist/web/client/assets/search-BjcXAUrI.js +1 -0
- package/dist/web/client/assets/session-insights-panel-B0rl37lo.js +1 -0
- package/dist/web/client/assets/session-reasoning-panel-8D2P7iaJ.js +1 -0
- package/dist/web/client/assets/session-tool-renderer-Bd3dsE2D.js +1395 -0
- package/dist/web/client/assets/session-tree-panel-CM4_wwrM.js +1 -0
- package/dist/web/client/assets/settings-dialog-DMTD9m6z.js +2 -0
- package/dist/web/client/assets/{skeleton-CkR2VmWc.js → skeleton-C3mo31Qu.js} +1 -1
- package/dist/web/client/assets/skeleton-loaders-BMa_G4yX.js +1 -0
- package/dist/web/client/assets/sparkles-BY5MFyk6.js +1 -0
- package/dist/web/client/assets/square-DQaQu9bp.js +1 -0
- package/dist/web/client/assets/{square-terminal-BYTN_I86.js → square-terminal-BsopiuN7.js} +1 -1
- package/dist/web/client/assets/{subagent-chat-panel-oeLDPDAK.js → subagent-chat-panel-BESrXxAR.js} +1 -1
- package/dist/web/client/assets/subagent-transcript-CAqFJfMj.js +1 -0
- package/dist/web/client/assets/subagents-panel-8aKOwWLs.js +1 -0
- package/dist/web/client/assets/{sun-BWiZFty0.js → sun-D0llhiMU.js} +1 -1
- package/dist/web/client/assets/surfaces-CpfsGAIA.js +1 -0
- package/dist/web/client/assets/switch-D3FhZU-S.js +1 -0
- package/dist/web/client/assets/terminal-BQAKkBY6.js +1 -0
- package/dist/web/client/assets/toast-lnCWGgSE.js +1 -0
- package/dist/web/client/assets/tokens-Ch5WqXC_.js +1 -0
- package/dist/web/client/assets/tool-result-B_yb2JoE.js +4 -0
- package/dist/web/client/assets/tool-timeline-VnMRQoLS.js +1 -0
- package/dist/web/client/assets/{triangle-alert-CU-gd7ui.js → triangle-alert-GAYh_5d3.js} +1 -1
- package/dist/web/client/assets/ui-preferences-aG2U2jjW.js +1 -0
- package/dist/web/client/assets/use-presence-7I2qv4qI.js +1 -0
- package/dist/web/client/assets/use-reduced-motion-BOcG709U.js +9 -0
- package/dist/web/client/assets/useBaseUiId-D9ZGPZ6f.js +1 -0
- package/dist/web/client/assets/useControlled-CgAAWIy9.js +1 -0
- package/dist/web/client/assets/utils-Brtgag-m.js +1 -0
- package/dist/web/client/assets/virtualized-turn-list-mL3ONUUA.js +6 -0
- package/dist/web/client/assets/workspace-panel-CKF5JQl2.js +1 -0
- package/dist/web/client/assets/workspace-path-nav-DqPbETfJ.js +2 -0
- package/dist/web/client/assets/{wrench-BJNNe07k.js → wrench-Myc12BTA.js} +1 -1
- package/dist/web/client/assets/x-BGsDD848.js +1 -0
- package/dist/web/client/bundle-budget.json +6 -6
- package/dist/web/server/_tanstack-start-manifest_v-Cm8xE-Rb-TMLYN3GY.js +93 -0
- package/dist/web/server/{artifacts-panel-D3ySO--V-XSL53CXL.js → artifacts-panel-CwLVBqyi-CDORJY75.js} +37 -41
- package/dist/web/server/{chat-command-palette-kAbXhWVg-TJWXH2WW.js → chat-command-palette-DUha04ia-5OV7WVJZ.js} +20 -18
- package/dist/web/server/{chunk-SALXCFVO.js → chunk-33QA7BQJ.js} +19 -1
- package/dist/web/server/chunk-3Q3QKLHC.js +386 -0
- package/dist/web/server/chunk-4EBSM4JR.js +74 -0
- package/dist/web/server/{chunk-5UCAJBAH.js → chunk-5RTGRTPD.js} +82 -49
- package/dist/web/server/chunk-7E76R7MB.js +2138 -0
- package/dist/web/server/{chunk-EBG3XFGQ.js → chunk-7FK6YEMA.js} +49 -44
- package/dist/web/server/chunk-7HXCGBUP.js +56 -0
- package/dist/web/server/{chunk-P66QQWUM.js → chunk-7NZ3FJDA.js} +14 -1
- package/dist/web/server/{chunk-HF7DG7PC.js → chunk-7UTDOTOU.js} +80 -78
- package/dist/web/server/{chunk-NNKJTKOQ.js → chunk-ADYZWC5L.js} +311 -281
- package/dist/web/server/{chunk-NJ4QEZHK.js → chunk-B2LF64HM.js} +7 -5
- package/dist/web/server/{chunk-OZO5ARFA.js → chunk-BQROC4PL.js} +11 -2
- package/dist/web/server/{chunk-NIZBFVJF.js → chunk-CAPTFJOC.js} +9 -7
- package/dist/web/server/{chunk-DJMHPJBP.js → chunk-CHEC7TWB.js} +3 -1
- package/dist/web/server/chunk-DLA5TLKX.js +164 -0
- package/dist/web/server/{chunk-PLYZ7P2Y.js → chunk-DP26GVWH.js} +43 -5
- package/dist/web/server/{chunk-MNBGB2SP.js → chunk-E5HALE4M.js} +4 -4
- package/dist/web/server/chunk-ETCO5KZK.js +113 -0
- package/dist/web/server/{chunk-NGCQJ33Y.js → chunk-FMAYMBRS.js} +1492 -1640
- package/dist/web/server/{chunk-KP2PNDGL.js → chunk-FTLJ66KU.js} +30 -33
- package/dist/web/server/{chunk-BLSX7WHW.js → chunk-H5D5DX3K.js} +23 -21
- package/dist/web/server/chunk-HGVJEUV4.js +102 -0
- package/dist/web/server/{chunk-WNCAL4HN.js → chunk-HQ5TEXHT.js} +132 -152
- package/dist/web/server/{chunk-YOM42BKD.js → chunk-IPV4GLJL.js} +16 -16
- package/dist/web/server/chunk-K6PTNSCW.js +31 -0
- package/dist/web/server/{chunk-AR7O7JXD.js → chunk-KBWUBWVJ.js} +24 -1
- package/dist/web/server/{chunk-O3HDELZ2.js → chunk-KZ35W5M7.js} +667 -661
- package/dist/web/server/{chunk-QIULBRTU.js → chunk-MJXXVQNA.js} +79 -84
- package/dist/web/server/{chunk-EAJTWMK5.js → chunk-NZ6KQT2X.js} +2 -2
- package/dist/web/server/{chunk-YGYOBX7G.js → chunk-O2IC376F.js} +1811 -53
- package/dist/web/server/chunk-OMPXUTMX.js +33 -0
- package/dist/web/server/{chunk-S3PQ6HKH.js → chunk-OVJYUWSQ.js} +2 -2
- package/dist/web/server/{chunk-JTCCQZLN.js → chunk-RJNGEU6C.js} +2 -2
- package/dist/web/server/{chunk-UCUFC553.js → chunk-RXUMFFUV.js} +3 -3
- package/dist/web/server/{chunk-DLUZFOG3.js → chunk-S2IBIJIG.js} +18 -22
- package/dist/web/server/{chunk-DO2O27B2.js → chunk-SDV3P3IW.js} +2 -2
- package/dist/web/server/{chunk-2DDWXTVG.js → chunk-T2UTBHJ4.js} +55 -11
- package/dist/web/server/chunk-TLNZNR7C.js +46 -0
- package/dist/web/server/{chunk-UL2725KQ.js → chunk-TR2GA5OF.js} +57 -49
- package/dist/web/server/{chunk-QFRCJWQQ.js → chunk-TU2WNRAL.js} +93 -32
- package/dist/web/server/{chunk-FYDQK6UX.js → chunk-UDD5W4CR.js} +32 -10
- package/dist/web/server/{chunk-MNPHMZU7.js → chunk-UE32PAV2.js} +47 -57
- package/dist/web/server/{chunk-3TIMGWWI.js → chunk-UM3RHJNZ.js} +2 -2
- package/dist/web/server/{chunk-ZIFSJ3HQ.js → chunk-V5IFFLZQ.js} +185 -109
- package/dist/web/server/{chunk-ETTDO4UO.js → chunk-WTYNN6EV.js} +1 -26
- package/dist/web/server/{chunk-EJEPDVK6.js → chunk-WU6X3GPJ.js} +48 -5
- package/dist/web/server/{chunk-D27LRYVT.js → chunk-XEG4JTND.js} +10 -9
- package/dist/web/server/{chunk-XIB6XNUX.js → chunk-XJ6TGSUB.js} +425 -404
- package/dist/web/server/{chunk-NWDI3OWB.js → chunk-XSOUURPF.js} +30 -26
- package/dist/web/server/{chunk-RIP3PBWT.js → chunk-YCCF676T.js} +4 -4
- package/dist/web/server/{chunk-4WBFCB4O.js → chunk-YDDDSVNB.js} +178 -269
- package/dist/web/server/{chunk-GETSIVNU.js → chunk-YVGCPUAW.js} +7 -7
- package/dist/web/server/{chunk-4UBOIY2S.js → chunk-ZNFXBGLK.js} +1 -1
- package/dist/web/server/{fork-picker-dialog-Ds6Tgtu3-DIBWN7MV.js → fork-picker-dialog-DeMiLZtS-WTRTTP64.js} +10 -8
- package/dist/web/server/{markdown-DTnMbD87-FXGGAPJD.js → markdown-BzNejPoZ-6ITTDAV6.js} +2 -3
- package/dist/web/server/{markdown-code-BStjFfsy-SSLWUT4S.js → markdown-code-DAwXuW6m-HHVELO6I.js} +3 -4
- package/dist/web/server/{fleet-message-queue-D_w8lSeY-T3HB7HVQ.js → message-queue-Demph1x4-GGXJUUKO.js} +14 -10
- package/dist/web/server/{model-selector-list-DxeGZoD2-P6S6FSJH.js → model-selector-list-BeGQHwKV-UJYFO4KX.js} +21 -19
- package/dist/web/server/{openui-renderer-MKFv6LlH-MDRSVFEY.js → openui-renderer-B4z18Brm-HSMKJ47D.js} +17 -17
- package/dist/web/server/{prompt-suggestions-BOItmGnD-YQA7RHLG.js → prompt-suggestions-yPZqX__K-3VGJC4IF.js} +7 -6
- package/dist/web/server/{repl-panel-CuyF8wt5-CHDT2Q3N.js → repl-panel-CgUF1qUw-3DFD2V53.js} +10 -11
- package/dist/web/server/{resources-panel-CE5pD4vy-V5FXBTYC.js → resources-panel-ChUliWV--JITAGS6Q.js} +6 -7
- package/dist/web/server/{router-Dg72SESP-PCWKLFRG.js → router-DfG45nTQ-3VXEUYG5.js} +3336 -238
- package/dist/web/server/{routes-BGrVtPYF-SURPAJN6.js → routes-B9F9UfF1-UN2IVBMJ.js} +5156 -4242
- package/dist/web/server/server.js +2 -2
- package/dist/web/server/{session-insights-panel-CUhdgvRt-VB2HUCQP.js → session-insights-panel-xgrkX1Rp-FDNURBXZ.js} +9 -9
- package/dist/web/server/{fleet-reasoning-panel-DG_vuvv0-NCZWEEIT.js → session-reasoning-panel-m1RgcIph-NUXGXVKE.js} +21 -22
- package/dist/web/server/session-tool-renderer-CT65wuet-RQBMXHEZ.js +46 -0
- package/dist/web/server/session-tree-panel-rS0t1wbf-HNA6AJBY.js +229 -0
- package/dist/web/server/{settings-dialog-CK0FJlTg-HZRBAXDZ.js → settings-dialog-CqkrDSnm-LFEKSS7Y.js} +186 -1380
- package/dist/web/server/{subagent-chat-panel-gzamnTgK-PQ2TLLJF.js → subagent-chat-panel-Cf7QdDqH-DPPSVLSY.js} +31 -39
- package/dist/web/server/{subagents-panel-Berjd7HJ-EI5ZKC6V.js → subagents-panel-_JsUw-6t-MZWM5P45.js} +38 -45
- package/dist/web/server/{fleet-tool-timeline-D6yM4ZMz-ZSFVRRRI.js → tool-timeline-QL9k5dzA-RLU26HXT.js} +6 -6
- package/dist/web/server/{workspace-panel-CBBa_3UO-B4PPFPMA.js → workspace-panel-BHEB9nRM-Y6KGIVGP.js} +23 -30
- package/package.json +1 -1
- package/dist/web/client/assets/action-swap-roll-COzQ86wm.js +0 -1
- package/dist/web/client/assets/agent-activity-svETLf_5.js +0 -1
- package/dist/web/client/assets/agent-disclosure-DAMuuGcM.js +0 -1
- package/dist/web/client/assets/analytics-stub-B6zGMuSV.js +0 -1
- package/dist/web/client/assets/artifacts-panel-HVjqBMyx.js +0 -1
- package/dist/web/client/assets/artifacts-utils-N_kUFbz2.js +0 -1
- package/dist/web/client/assets/bundle-mjs-DKHVkVWu.js +0 -1
- package/dist/web/client/assets/button-C5wFDY5_.js +0 -1
- package/dist/web/client/assets/chat-BhYseKd6.js +0 -52
- package/dist/web/client/assets/chat-command-palette-LILDO_vG.js +0 -1
- package/dist/web/client/assets/check-JjHKAZas.js +0 -1
- package/dist/web/client/assets/chevron-right-DrJxToLs.js +0 -1
- package/dist/web/client/assets/chevron-up-CnSvySGH.js +0 -1
- package/dist/web/client/assets/circle-alert-CONlFReH.js +0 -1
- package/dist/web/client/assets/circle-x-CkKCB__4.js +0 -1
- package/dist/web/client/assets/citations-BPv8HIpf.js +0 -2
- package/dist/web/client/assets/cn-C8c0S2mI.js +0 -1
- package/dist/web/client/assets/collapsible-BoXtZZWN.js +0 -1
- package/dist/web/client/assets/command-PhicLCoO.js +0 -1
- package/dist/web/client/assets/createBaseUIEventDetails-DV0dQrBX.js +0 -1
- package/dist/web/client/assets/createLucideIcon-DwxZHm0M.js +0 -1
- package/dist/web/client/assets/dialog-pBGUjAQ7.js +0 -1
- package/dist/web/client/assets/dist-BPaFisIZ.js +0 -41
- package/dist/web/client/assets/earth-DGZXAN5r.js +0 -1
- package/dist/web/client/assets/ease-u56MhKYS.js +0 -1
- package/dist/web/client/assets/file-text-T-NcAlZs.js +0 -1
- package/dist/web/client/assets/fleet-message-queue-fbYYwMj0.js +0 -1
- package/dist/web/client/assets/fleet-pi-tool-renderer-BRgNnmaJ.js +0 -1395
- package/dist/web/client/assets/fleet-reasoning-panel-CjA2dwUJ.js +0 -1
- package/dist/web/client/assets/fleet-subagent-list-iKUtLJKZ.js +0 -1
- package/dist/web/client/assets/fleet-tool-timeline-C8heL7ae.js +0 -1
- package/dist/web/client/assets/gauge-DNpstbBn.js +0 -1
- package/dist/web/client/assets/globals-CuIiqOTg.css +0 -2
- package/dist/web/client/assets/highlighted-body-KPVGNVTW-sUCZ1fHv.js +0 -1
- package/dist/web/client/assets/horizontal-resize-Cp3iHMH7.js +0 -1
- package/dist/web/client/assets/image-BbPmlw-n.js +0 -1
- package/dist/web/client/assets/index-CSGplyr_.js +0 -12
- package/dist/web/client/assets/input-PcdubeKn.js +0 -1
- package/dist/web/client/assets/input-group-C2HJEZvl.js +0 -1
- package/dist/web/client/assets/ipython-tool-CyuMOxz1.js +0 -3
- package/dist/web/client/assets/layout-gyLzPvVv.js +0 -1
- package/dist/web/client/assets/markdown-lvexwooo.js +0 -2
- package/dist/web/client/assets/mermaid-HWGCJPDP-Bm7CuruA.js +0 -1
- package/dist/web/client/assets/message-square-hbDao-A1.js +0 -1
- package/dist/web/client/assets/model-selector-list-CoXX358G.js +0 -1
- package/dist/web/client/assets/plus-DXN1Bg_z.js +0 -1
- package/dist/web/client/assets/prompt-input-fwP8TsgQ.js +0 -1
- package/dist/web/client/assets/prompt-suggestions-BlGXmWS7.js +0 -1
- package/dist/web/client/assets/provider-catalog-DYMFdbKc.js +0 -1
- package/dist/web/client/assets/provider-label-B4q5mI65.js +0 -1
- package/dist/web/client/assets/react-dom-Bwxum3ti.js +0 -1
- package/dist/web/client/assets/repl-panel-C5om8MGU.js +0 -1
- package/dist/web/client/assets/resources-panel-D867-goy.js +0 -1
- package/dist/web/client/assets/right-panel-context-DHlNWJsF.js +0 -1
- package/dist/web/client/assets/right-panel-registry-BBlxLxnx.js +0 -2
- package/dist/web/client/assets/routes-XGsAIqBJ.js +0 -16
- package/dist/web/client/assets/safe-external-url-D3PJJIcM.js +0 -1
- package/dist/web/client/assets/search-eWVnAJsb.js +0 -1
- package/dist/web/client/assets/session-insights-panel-YnaXvTpi.js +0 -1
- package/dist/web/client/assets/settings-dialog-BSBasR3o.js +0 -2
- package/dist/web/client/assets/shield-check-CkA2viVW.js +0 -1
- package/dist/web/client/assets/skeleton-loaders-C9vHwAYV.js +0 -1
- package/dist/web/client/assets/sparkles-DuclzqlE.js +0 -1
- package/dist/web/client/assets/square-Bhn8gjr0.js +0 -1
- package/dist/web/client/assets/subagent-transcript-DaVHjNUH.js +0 -1
- package/dist/web/client/assets/subagent-utils-DDH5qm9Z.js +0 -1
- package/dist/web/client/assets/subagents-panel-D_aVgSCi.js +0 -1
- package/dist/web/client/assets/surfaces-BhAXz9So.js +0 -1
- package/dist/web/client/assets/switch-WhXeJNNY.js +0 -1
- package/dist/web/client/assets/terminal-DOS1s1gm.js +0 -1
- package/dist/web/client/assets/toast-D3c9XeGe.js +0 -1
- package/dist/web/client/assets/tool-result-Cki8WUNc.js +0 -4
- package/dist/web/client/assets/ui-preferences-CImQGZm_.js +0 -1
- package/dist/web/client/assets/use-reduced-motion-eORd7fqW.js +0 -9
- package/dist/web/client/assets/useBaseUiId-CHqXB2UQ.js +0 -1
- package/dist/web/client/assets/useControlled-CJJ9BOQB.js +0 -1
- package/dist/web/client/assets/utils-Eg7xtNmV.js +0 -1
- package/dist/web/client/assets/virtualized-turn-list-CdMa-ydT.js +0 -6
- package/dist/web/client/assets/workspace-panel-77bDbprs.js +0 -1
- package/dist/web/client/assets/workspace-path-nav-C0AQNZyy.js +0 -1
- package/dist/web/client/assets/x-CsRC_tCI.js +0 -1
- package/dist/web/server/_tanstack-start-manifest_v-0L7fqnH4-KMVGUFE4.js +0 -95
- package/dist/web/server/agent-activity-BuEE6iVw-CDZLK4D2.js +0 -514
- package/dist/web/server/chunk-2JHTYWD5.js +0 -1196
- package/dist/web/server/chunk-3JMESBAT.js +0 -35
- package/dist/web/server/chunk-42XU6WV7.js +0 -56
- package/dist/web/server/chunk-AQ66E5OW.js +0 -33
- package/dist/web/server/chunk-BYXBJQAS.js +0 -0
- package/dist/web/server/chunk-FAGDMGLK.js +0 -6589
- package/dist/web/server/chunk-FJV6EQDW.js +0 -36
- package/dist/web/server/chunk-GL6HWDJB.js +0 -19
- package/dist/web/server/chunk-L46H6IDX.js +0 -13
- package/dist/web/server/chunk-NIDBN7BQ.js +0 -86
- package/dist/web/server/chunk-ON33WDZX.js +0 -31
- package/dist/web/server/chunk-PVJCTQFK.js +0 -22
- package/dist/web/server/chunk-QPNUGF3V.js +0 -35
- package/dist/web/server/chunk-S5LFXXDY.js +0 -1265
- package/dist/web/server/chunk-VPKX7QRU.js +0 -42
- package/dist/web/server/chunk-ZCVWADNW.js +0 -37
- package/dist/web/server/fleet-pi-tool-renderer-qwc-qZFq-4U556N5Q.js +0 -51
- package/dist/web/server/fleet-subagent-list-BGb0PjhF-2X67FMUV.js +0 -18
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Bot
|
|
3
|
+
} from "./chunk-UCA4WN66.js";
|
|
4
|
+
import {
|
|
5
|
+
Globe,
|
|
6
|
+
ShieldCheck,
|
|
7
|
+
Sparkles
|
|
8
|
+
} from "./chunk-H5D5DX3K.js";
|
|
9
|
+
import {
|
|
10
|
+
GitBranch
|
|
11
|
+
} from "./chunk-OMPXUTMX.js";
|
|
12
|
+
import {
|
|
13
|
+
LoaderCircle
|
|
14
|
+
} from "./chunk-TNL4YV63.js";
|
|
15
|
+
import {
|
|
16
|
+
KNOWN_PROVIDERS,
|
|
17
|
+
isCustomProviderId,
|
|
18
|
+
isOccProviderId
|
|
19
|
+
} from "./chunk-RJOANOT4.js";
|
|
20
|
+
import {
|
|
21
|
+
Plug
|
|
22
|
+
} from "./chunk-AHTO6GDS.js";
|
|
23
|
+
import {
|
|
24
|
+
createLucideIcon
|
|
25
|
+
} from "./chunk-4ZIEVI5O.js";
|
|
26
|
+
import {
|
|
27
|
+
cn
|
|
28
|
+
} from "./chunk-CHEC7TWB.js";
|
|
29
|
+
|
|
30
|
+
// web/app/dist/server/assets/provider-label-HLuPXcsd.js
|
|
31
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
32
|
+
var ArrowLeft = createLucideIcon("arrow-left", [["path", {
|
|
33
|
+
d: "m12 19-7-7 7-7",
|
|
34
|
+
key: "1l729n"
|
|
35
|
+
}], ["path", {
|
|
36
|
+
d: "M19 12H5",
|
|
37
|
+
key: "x3x0zl"
|
|
38
|
+
}]]);
|
|
39
|
+
var Brain = createLucideIcon("brain", [
|
|
40
|
+
["path", {
|
|
41
|
+
d: "M12 18V5",
|
|
42
|
+
key: "adv99a"
|
|
43
|
+
}],
|
|
44
|
+
["path", {
|
|
45
|
+
d: "M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",
|
|
46
|
+
key: "1e3is1"
|
|
47
|
+
}],
|
|
48
|
+
["path", {
|
|
49
|
+
d: "M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",
|
|
50
|
+
key: "1gqd8o"
|
|
51
|
+
}],
|
|
52
|
+
["path", {
|
|
53
|
+
d: "M17.997 5.125a4 4 0 0 1 2.526 5.77",
|
|
54
|
+
key: "iwvgf7"
|
|
55
|
+
}],
|
|
56
|
+
["path", {
|
|
57
|
+
d: "M18 18a4 4 0 0 0 2-7.464",
|
|
58
|
+
key: "efp6ie"
|
|
59
|
+
}],
|
|
60
|
+
["path", {
|
|
61
|
+
d: "M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",
|
|
62
|
+
key: "1gq6am"
|
|
63
|
+
}],
|
|
64
|
+
["path", {
|
|
65
|
+
d: "M6 18a4 4 0 0 1-2-7.464",
|
|
66
|
+
key: "k1g0md"
|
|
67
|
+
}],
|
|
68
|
+
["path", {
|
|
69
|
+
d: "M6.003 5.125a4 4 0 0 0-2.526 5.77",
|
|
70
|
+
key: "q97ue3"
|
|
71
|
+
}]
|
|
72
|
+
]);
|
|
73
|
+
var Cpu = createLucideIcon("cpu", [
|
|
74
|
+
["path", {
|
|
75
|
+
d: "M12 20v2",
|
|
76
|
+
key: "1lh1kg"
|
|
77
|
+
}],
|
|
78
|
+
["path", {
|
|
79
|
+
d: "M12 2v2",
|
|
80
|
+
key: "tus03m"
|
|
81
|
+
}],
|
|
82
|
+
["path", {
|
|
83
|
+
d: "M17 20v2",
|
|
84
|
+
key: "1rnc9c"
|
|
85
|
+
}],
|
|
86
|
+
["path", {
|
|
87
|
+
d: "M17 2v2",
|
|
88
|
+
key: "11trls"
|
|
89
|
+
}],
|
|
90
|
+
["path", {
|
|
91
|
+
d: "M2 12h2",
|
|
92
|
+
key: "1t8f8n"
|
|
93
|
+
}],
|
|
94
|
+
["path", {
|
|
95
|
+
d: "M2 17h2",
|
|
96
|
+
key: "7oei6x"
|
|
97
|
+
}],
|
|
98
|
+
["path", {
|
|
99
|
+
d: "M2 7h2",
|
|
100
|
+
key: "asdhe0"
|
|
101
|
+
}],
|
|
102
|
+
["path", {
|
|
103
|
+
d: "M20 12h2",
|
|
104
|
+
key: "1q8mjw"
|
|
105
|
+
}],
|
|
106
|
+
["path", {
|
|
107
|
+
d: "M20 17h2",
|
|
108
|
+
key: "1fpfkl"
|
|
109
|
+
}],
|
|
110
|
+
["path", {
|
|
111
|
+
d: "M20 7h2",
|
|
112
|
+
key: "1o8tra"
|
|
113
|
+
}],
|
|
114
|
+
["path", {
|
|
115
|
+
d: "M7 20v2",
|
|
116
|
+
key: "4gnj0m"
|
|
117
|
+
}],
|
|
118
|
+
["path", {
|
|
119
|
+
d: "M7 2v2",
|
|
120
|
+
key: "1i4yhu"
|
|
121
|
+
}],
|
|
122
|
+
["rect", {
|
|
123
|
+
x: "4",
|
|
124
|
+
y: "4",
|
|
125
|
+
width: "16",
|
|
126
|
+
height: "16",
|
|
127
|
+
rx: "2",
|
|
128
|
+
key: "1vbyd7"
|
|
129
|
+
}],
|
|
130
|
+
["rect", {
|
|
131
|
+
x: "8",
|
|
132
|
+
y: "8",
|
|
133
|
+
width: "8",
|
|
134
|
+
height: "8",
|
|
135
|
+
rx: "1",
|
|
136
|
+
key: "z9xiuo"
|
|
137
|
+
}]
|
|
138
|
+
]);
|
|
139
|
+
var Server = createLucideIcon("server", [
|
|
140
|
+
["rect", {
|
|
141
|
+
width: "20",
|
|
142
|
+
height: "8",
|
|
143
|
+
x: "2",
|
|
144
|
+
y: "2",
|
|
145
|
+
rx: "2",
|
|
146
|
+
ry: "2",
|
|
147
|
+
key: "ngkwjq"
|
|
148
|
+
}],
|
|
149
|
+
["rect", {
|
|
150
|
+
width: "20",
|
|
151
|
+
height: "8",
|
|
152
|
+
x: "2",
|
|
153
|
+
y: "14",
|
|
154
|
+
rx: "2",
|
|
155
|
+
ry: "2",
|
|
156
|
+
key: "iecqi9"
|
|
157
|
+
}],
|
|
158
|
+
["line", {
|
|
159
|
+
x1: "6",
|
|
160
|
+
x2: "6.01",
|
|
161
|
+
y1: "6",
|
|
162
|
+
y2: "6",
|
|
163
|
+
key: "16zg32"
|
|
164
|
+
}],
|
|
165
|
+
["line", {
|
|
166
|
+
x1: "6",
|
|
167
|
+
x2: "6.01",
|
|
168
|
+
y1: "18",
|
|
169
|
+
y2: "18",
|
|
170
|
+
key: "nzw8ys"
|
|
171
|
+
}]
|
|
172
|
+
]);
|
|
173
|
+
var Settings = createLucideIcon("settings", [["path", {
|
|
174
|
+
d: "M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",
|
|
175
|
+
key: "1i5ecw"
|
|
176
|
+
}], ["circle", {
|
|
177
|
+
cx: "12",
|
|
178
|
+
cy: "12",
|
|
179
|
+
r: "3",
|
|
180
|
+
key: "1v7zrd"
|
|
181
|
+
}]]);
|
|
182
|
+
var Trash2 = createLucideIcon("trash-2", [
|
|
183
|
+
["path", {
|
|
184
|
+
d: "M10 11v6",
|
|
185
|
+
key: "nco0om"
|
|
186
|
+
}],
|
|
187
|
+
["path", {
|
|
188
|
+
d: "M14 11v6",
|
|
189
|
+
key: "outv1u"
|
|
190
|
+
}],
|
|
191
|
+
["path", {
|
|
192
|
+
d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",
|
|
193
|
+
key: "miytrc"
|
|
194
|
+
}],
|
|
195
|
+
["path", {
|
|
196
|
+
d: "M3 6h18",
|
|
197
|
+
key: "d0wm0j"
|
|
198
|
+
}],
|
|
199
|
+
["path", {
|
|
200
|
+
d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",
|
|
201
|
+
key: "e791ji"
|
|
202
|
+
}]
|
|
203
|
+
]);
|
|
204
|
+
var Wind = createLucideIcon("wind", [
|
|
205
|
+
["path", {
|
|
206
|
+
d: "M12.8 19.6A2 2 0 1 0 14 16H2",
|
|
207
|
+
key: "148xed"
|
|
208
|
+
}],
|
|
209
|
+
["path", {
|
|
210
|
+
d: "M17.5 8a2.5 2.5 0 1 1 2 4H2",
|
|
211
|
+
key: "1u4tom"
|
|
212
|
+
}],
|
|
213
|
+
["path", {
|
|
214
|
+
d: "M9.8 4.4A2 2 0 1 1 11 8H2",
|
|
215
|
+
key: "75valh"
|
|
216
|
+
}]
|
|
217
|
+
]);
|
|
218
|
+
var Zap = createLucideIcon("zap", [["path", {
|
|
219
|
+
d: "M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z",
|
|
220
|
+
key: "1v7up4"
|
|
221
|
+
}]]);
|
|
222
|
+
function Spinner({ className, ...props }) {
|
|
223
|
+
return /* @__PURE__ */ jsx(LoaderCircle, {
|
|
224
|
+
"data-slot": "spinner",
|
|
225
|
+
role: "status",
|
|
226
|
+
"aria-label": "Loading",
|
|
227
|
+
className: cn("size-4 animate-spin", className),
|
|
228
|
+
...props
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
var PROVIDER_METADATA = {
|
|
232
|
+
"amazon-bedrock": {
|
|
233
|
+
icon: Server,
|
|
234
|
+
placeholder: "AKIA... (AWS access key id)",
|
|
235
|
+
help: "Amazon Bedrock uses standard AWS credentials (AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY) plus AWS_REGION. This field sets AWS_ACCESS_KEY_ID in .env.local."
|
|
236
|
+
},
|
|
237
|
+
openai: {
|
|
238
|
+
icon: Sparkles,
|
|
239
|
+
placeholder: "sk-proj-...",
|
|
240
|
+
help: "Stored securely in your root .env.local file. Overrides the active OPENAI_API_KEY environment variable."
|
|
241
|
+
},
|
|
242
|
+
"openai-chat-completions": {
|
|
243
|
+
icon: Sparkles,
|
|
244
|
+
placeholder: "sk-... or nvapi-...",
|
|
245
|
+
help: "OpenAI-compatible Chat Completions root (e.g. https://opencode.ai/zen/v1). Paste \u2026/chat/completions if you want \u2014 it is normalized. Requires API key, base URL, and model name."
|
|
246
|
+
},
|
|
247
|
+
"openai-chat-completions-model": {
|
|
248
|
+
icon: Sparkles,
|
|
249
|
+
placeholder: "meta/llama-3.1-70b-instruct",
|
|
250
|
+
help: "Gateway model name registered when /models is empty or incomplete."
|
|
251
|
+
},
|
|
252
|
+
anthropic: {
|
|
253
|
+
icon: Bot,
|
|
254
|
+
placeholder: "sk-ant-...",
|
|
255
|
+
help: "Stored securely in your root .env.local file. Overrides the active ANTHROPIC_API_KEY environment variable."
|
|
256
|
+
},
|
|
257
|
+
"google-vertex": {
|
|
258
|
+
icon: ShieldCheck,
|
|
259
|
+
placeholder: "Path to service account JSON, or credentials text...",
|
|
260
|
+
help: "Stored securely in your root .env.local file. Overrides the active GOOGLE_APPLICATION_CREDENTIALS environment variable."
|
|
261
|
+
},
|
|
262
|
+
google: {
|
|
263
|
+
icon: Brain,
|
|
264
|
+
placeholder: "AIzaSy...",
|
|
265
|
+
help: "Stored securely in your root .env.local file. Overrides the active GEMINI_API_KEY environment variable."
|
|
266
|
+
},
|
|
267
|
+
mistral: {
|
|
268
|
+
icon: Wind,
|
|
269
|
+
placeholder: "Your Mistral API key...",
|
|
270
|
+
help: "Stored securely in your root .env.local file. Overrides the active MISTRAL_API_KEY environment variable."
|
|
271
|
+
},
|
|
272
|
+
groq: {
|
|
273
|
+
icon: Zap,
|
|
274
|
+
placeholder: "gsk_...",
|
|
275
|
+
help: "Stored securely in your root .env.local file. Overrides the active GROQ_API_KEY environment variable."
|
|
276
|
+
},
|
|
277
|
+
openrouter: {
|
|
278
|
+
icon: Globe,
|
|
279
|
+
placeholder: "sk-or-...",
|
|
280
|
+
help: "Stored securely in your root .env.local file. Overrides the active OPENROUTER_API_KEY environment variable."
|
|
281
|
+
},
|
|
282
|
+
"vercel-ai-gateway": {
|
|
283
|
+
icon: GitBranch,
|
|
284
|
+
placeholder: "Your AI Gateway API key...",
|
|
285
|
+
help: "Stored securely in your root .env.local file. Overrides the active AI_GATEWAY_API_KEY environment variable."
|
|
286
|
+
},
|
|
287
|
+
"github-copilot": {
|
|
288
|
+
icon: Bot,
|
|
289
|
+
placeholder: "OAuth subscription",
|
|
290
|
+
help: "GitHub Copilot uses device-code OAuth. Sign in from Settings; credentials are stored in auth.json."
|
|
291
|
+
},
|
|
292
|
+
"openai-codex": {
|
|
293
|
+
icon: Sparkles,
|
|
294
|
+
placeholder: "OAuth subscription",
|
|
295
|
+
help: "OpenAI Codex uses ChatGPT OAuth. Sign in from Settings; credentials are stored in auth.json."
|
|
296
|
+
},
|
|
297
|
+
ollama: {
|
|
298
|
+
icon: Cpu,
|
|
299
|
+
placeholder: "http://localhost:11434 (default)",
|
|
300
|
+
help: "Configure local Ollama execution endpoints. Overrides the active OLLAMA_BASE_URL environment variable."
|
|
301
|
+
},
|
|
302
|
+
custom: {
|
|
303
|
+
icon: Plug,
|
|
304
|
+
placeholder: "sk-... / provider key",
|
|
305
|
+
help: "Register any OpenAI-, Anthropic-, or Google-compatible endpoint through Pi's native custom-provider mechanism. Requires a name, API key, https base URL, API family, and at least one model id. Deployed accounts only."
|
|
306
|
+
}
|
|
307
|
+
};
|
|
308
|
+
var BRAND_CLASS = "size-4";
|
|
309
|
+
function OpenAiMark({ className }) {
|
|
310
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
311
|
+
viewBox: "0 0 24 24",
|
|
312
|
+
className: cn(BRAND_CLASS, className),
|
|
313
|
+
fill: "currentColor",
|
|
314
|
+
"aria-hidden": true,
|
|
315
|
+
children: /* @__PURE__ */ jsx("path", { d: "M22.282 9.821a5.985 5.985 0 0 0-.516-4.91 6.046 6.046 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.981 4.18a5.985 5.985 0 0 0-3.998 2.9 6.046 6.046 0 0 0 .743 7.097 5.98 5.98 0 0 0 .51 4.911 6.051 6.051 0 0 0 6.515 2.9A5.985 5.985 0 0 0 13.26 24a6.056 6.056 0 0 0 5.772-4.206 5.99 5.99 0 0 0 3.997-2.9 6.056 6.056 0 0 0-.747-7.073zM13.26 22.43a4.476 4.476 0 0 1-2.876-1.04l.141-.081 4.779-2.758a.795.795 0 0 0 .392-.681v-6.737l2.02 1.168a.071.071 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.494 4.494zM3.6 18.304a4.47 4.47 0 0 1-.535-3.014l.142.085 4.783 2.759a.771.771 0 0 0 .78 0l5.843-3.368v2.332a.08.08 0 0 1-.033.062L9.74 19.95a4.5 4.5 0 0 1-6.14-1.646zM2.34 7.896a4.485 4.485 0 0 1 2.366-1.973V11.6a.766.766 0 0 0 .388.676l5.814 3.354-2.02 1.168a.076.076 0 0 1-.071 0l-4.83-2.786A4.504 4.504 0 0 1 2.34 7.872zm16.597 3.855l-5.833-3.387L15.119 7.2a.076.076 0 0 1 .071 0l4.83 2.791a4.494 4.494 0 0 1-.676 8.105v-5.678a.079.079 0 0 0-.041-.067zm2.01-3.023l-.141-.085-4.774-2.782a.776.776 0 0 0-.785 0L9.409 9.23V6.897a.066.066 0 0 1 .028-.061l4.83-2.787a4.5 4.5 0 0 1 6.68 4.66zM8.306 12.683l-2.02-1.163a.08.08 0 0 1-.038-.057V6.074a4.5 4.5 0 0 1 7.375-3.453l-.142.08L8.704 5.46a.795.795 0 0 0-.392.681zm1.098-2.016l2.602-1.5 2.607 1.5v2.999l-2.597 1.5-2.607-1.5z" })
|
|
316
|
+
});
|
|
317
|
+
}
|
|
318
|
+
function AnthropicMark({ className }) {
|
|
319
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
320
|
+
viewBox: "0 0 24 24",
|
|
321
|
+
className: cn(BRAND_CLASS, className),
|
|
322
|
+
fill: "currentColor",
|
|
323
|
+
"aria-hidden": true,
|
|
324
|
+
children: /* @__PURE__ */ jsx("path", { d: "M17.305 14.256h-3.778l-2.28-7.23h-.005l-2.32 7.23H5.145L9.93 3h4.14l4.235 11.256zm-8.48 2.37h6.37l1.16 3.374h3.465L14.18 3h-4.36L4.15 20h3.465l1.21-3.374z" })
|
|
325
|
+
});
|
|
326
|
+
}
|
|
327
|
+
function GoogleMark({ className }) {
|
|
328
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
329
|
+
viewBox: "0 0 24 24",
|
|
330
|
+
className: cn(BRAND_CLASS, className),
|
|
331
|
+
fill: "currentColor",
|
|
332
|
+
"aria-hidden": true,
|
|
333
|
+
children: [
|
|
334
|
+
/* @__PURE__ */ jsx("path", { d: "M21.6 12.23c0-.71-.06-1.4-.18-2.05H12v3.87h5.38a4.6 4.6 0 0 1-2 3.02v2.5h3.24c1.89-1.74 2.98-4.3 2.98-7.34z" }),
|
|
335
|
+
/* @__PURE__ */ jsx("path", { d: "M12 22c2.7 0 4.96-.89 6.61-2.42l-3.24-2.5c-.9.6-2.04.96-3.37.96-2.59 0-4.78-1.75-5.56-4.1H3.1v2.58A9.99 9.99 0 0 0 12 22z" }),
|
|
336
|
+
/* @__PURE__ */ jsx("path", { d: "M6.44 13.94A5.99 5.99 0 0 1 6.12 12c0-.67.12-1.33.32-1.94V7.48H3.1A9.99 9.99 0 0 0 2 12c0 1.61.39 3.14 1.1 4.52l3.34-2.58z" }),
|
|
337
|
+
/* @__PURE__ */ jsx("path", { d: "M12 5.96c1.47 0 2.79.5 3.82 1.5l2.87-2.87C16.95 2.99 14.7 2 12 2A9.99 9.99 0 0 0 3.1 7.48l3.34 2.58C7.22 7.71 9.41 5.96 12 5.96z" })
|
|
338
|
+
]
|
|
339
|
+
});
|
|
340
|
+
}
|
|
341
|
+
function GitHubMark({ className }) {
|
|
342
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
343
|
+
viewBox: "0 0 24 24",
|
|
344
|
+
className: cn(BRAND_CLASS, className),
|
|
345
|
+
fill: "currentColor",
|
|
346
|
+
"aria-hidden": true,
|
|
347
|
+
children: /* @__PURE__ */ jsx("path", { d: "M12 .3a12 12 0 0 0-3.8 23.4c.6.1.8-.3.8-.6v-2.2c-3.3.7-4-1.4-4-1.4-.5-1.4-1.3-1.8-1.3-1.8-1.1-.7.1-.7.1-.7 1.2.1 1.8 1.2 1.8 1.2 1.1 1.8 2.8 1.3 3.5 1 .1-.8.4-1.3.8-1.6-2.7-.3-5.5-1.3-5.5-6 0-1.3.5-2.4 1.2-3.2-.1-.3-.5-1.5.1-3.2 0 0 1-.3 3.3 1.2a11.5 11.5 0 0 1 6 0c2.3-1.5 3.3-1.2 3.3-1.2.6 1.7.2 2.9.1 3.2.8.8 1.2 1.9 1.2 3.2 0 4.6-2.9 5.6-5.5 5.9.4.4.8 1.1.8 2.2v3.3c0 .3.2.7.8.6A12 12 0 0 0 12 .3z" })
|
|
348
|
+
});
|
|
349
|
+
}
|
|
350
|
+
function ProviderBrandIcon({ provider, api, className }) {
|
|
351
|
+
const id = provider.toLowerCase();
|
|
352
|
+
if (isCustomProviderId(id) || id === "custom") {
|
|
353
|
+
if (api === "anthropic-messages") return /* @__PURE__ */ jsx(AnthropicMark, { className });
|
|
354
|
+
if (api === "google-genai") return /* @__PURE__ */ jsx(GoogleMark, { className });
|
|
355
|
+
return /* @__PURE__ */ jsx(OpenAiMark, { className });
|
|
356
|
+
}
|
|
357
|
+
if (id === "openai" || id === "openai-codex" || isOccProviderId(id)) return /* @__PURE__ */ jsx(OpenAiMark, { className });
|
|
358
|
+
if (id === "anthropic") return /* @__PURE__ */ jsx(AnthropicMark, { className });
|
|
359
|
+
if (id === "google" || id === "google-vertex") return /* @__PURE__ */ jsx(GoogleMark, { className });
|
|
360
|
+
if (id === "github-copilot" || id === "github") return /* @__PURE__ */ jsx(GitHubMark, { className });
|
|
361
|
+
const Icon = provider in PROVIDER_METADATA ? PROVIDER_METADATA[provider].icon : Cpu;
|
|
362
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
363
|
+
className: cn(BRAND_CLASS, className),
|
|
364
|
+
"aria-hidden": true
|
|
365
|
+
});
|
|
366
|
+
}
|
|
367
|
+
function formatProviderLabel(provider) {
|
|
368
|
+
return KNOWN_PROVIDERS.find((entry) => entry.id === provider)?.name ?? provider;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
export {
|
|
372
|
+
ArrowLeft,
|
|
373
|
+
Cpu,
|
|
374
|
+
Settings,
|
|
375
|
+
Trash2,
|
|
376
|
+
Spinner,
|
|
377
|
+
PROVIDER_METADATA,
|
|
378
|
+
ProviderBrandIcon,
|
|
379
|
+
formatProviderLabel
|
|
380
|
+
};
|
|
381
|
+
/**
|
|
382
|
+
* @license lucide-react v1.38.0 - ISC
|
|
383
|
+
*
|
|
384
|
+
* This source code is licensed under the ISC license.
|
|
385
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
386
|
+
*/
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import {
|
|
2
|
+
readStoredValue,
|
|
3
|
+
writeStoredValue
|
|
4
|
+
} from "./chunk-SZJUXVWG.js";
|
|
5
|
+
|
|
6
|
+
// web/app/dist/server/assets/ui-preferences-BiUuYbF2.js
|
|
7
|
+
import { useSyncExternalStore } from "react";
|
|
8
|
+
var UI_PREFERENCES_KEY = "fleet-prime:v1:ui-preferences";
|
|
9
|
+
var UI_PREFERENCES_EVENT = "fleet-prime:ui-preferences";
|
|
10
|
+
var DEFAULT_UI_PREFERENCES = {
|
|
11
|
+
density: "comfortable",
|
|
12
|
+
motion: "system",
|
|
13
|
+
transcript: "follow",
|
|
14
|
+
confirmSessionDelete: true
|
|
15
|
+
};
|
|
16
|
+
var listeners = /* @__PURE__ */ new Set();
|
|
17
|
+
var snapshot = DEFAULT_UI_PREFERENCES;
|
|
18
|
+
var snapshotRaw = null;
|
|
19
|
+
function readUiPreferences() {
|
|
20
|
+
try {
|
|
21
|
+
const raw = readStoredValue("fleet-prime:v1:ui-preferences") ?? "null";
|
|
22
|
+
if (raw === snapshotRaw) return snapshot;
|
|
23
|
+
const parsed = JSON.parse(raw);
|
|
24
|
+
const next = {
|
|
25
|
+
...DEFAULT_UI_PREFERENCES,
|
|
26
|
+
...parsed
|
|
27
|
+
};
|
|
28
|
+
snapshotRaw = raw;
|
|
29
|
+
if (next.density === snapshot.density && next.motion === snapshot.motion && next.transcript === snapshot.transcript && next.confirmSessionDelete === snapshot.confirmSessionDelete) return snapshot;
|
|
30
|
+
snapshot = next;
|
|
31
|
+
return snapshot;
|
|
32
|
+
} catch {
|
|
33
|
+
snapshotRaw = null;
|
|
34
|
+
snapshot = DEFAULT_UI_PREFERENCES;
|
|
35
|
+
return snapshot;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
function applyUiPreferencesToDocument(preferences) {
|
|
39
|
+
if (typeof document === "undefined") return;
|
|
40
|
+
document.documentElement.dataset.density = preferences.density;
|
|
41
|
+
document.documentElement.classList.toggle("reduce-motion", preferences.motion === "reduced");
|
|
42
|
+
}
|
|
43
|
+
function writeUiPreferences(preferences) {
|
|
44
|
+
writeStoredValue(UI_PREFERENCES_KEY, JSON.stringify(preferences));
|
|
45
|
+
snapshot = preferences;
|
|
46
|
+
snapshotRaw = JSON.stringify(preferences);
|
|
47
|
+
applyUiPreferencesToDocument(preferences);
|
|
48
|
+
for (const listener of listeners) listener();
|
|
49
|
+
if (typeof window !== "undefined") window.dispatchEvent(new Event(UI_PREFERENCES_EVENT));
|
|
50
|
+
}
|
|
51
|
+
function subscribeUiPreferences(onStoreChange) {
|
|
52
|
+
listeners.add(onStoreChange);
|
|
53
|
+
if (typeof window === "undefined") return () => {
|
|
54
|
+
listeners.delete(onStoreChange);
|
|
55
|
+
};
|
|
56
|
+
window.addEventListener(UI_PREFERENCES_EVENT, onStoreChange);
|
|
57
|
+
window.addEventListener("storage", onStoreChange);
|
|
58
|
+
return () => {
|
|
59
|
+
listeners.delete(onStoreChange);
|
|
60
|
+
window.removeEventListener(UI_PREFERENCES_EVENT, onStoreChange);
|
|
61
|
+
window.removeEventListener("storage", onStoreChange);
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
function useUiPreferences() {
|
|
65
|
+
return useSyncExternalStore(subscribeUiPreferences, readUiPreferences, () => DEFAULT_UI_PREFERENCES);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export {
|
|
69
|
+
DEFAULT_UI_PREFERENCES,
|
|
70
|
+
readUiPreferences,
|
|
71
|
+
applyUiPreferencesToDocument,
|
|
72
|
+
writeUiPreferences,
|
|
73
|
+
useUiPreferences
|
|
74
|
+
};
|