@qredence/fleet 0.7.4 → 0.9.0
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 +48 -0
- package/README.md +5 -4
- package/bin/fleet-prime.mjs +33 -6
- package/bin/prime-runtime.mjs +79 -0
- package/dist/runtime-manifest.json +32 -0
- package/dist/web/client/assets/DialogTitle-BlVq-tcv.js +1 -0
- package/dist/web/client/assets/FloatingPortal-D8-EPDs2.js +1 -0
- package/dist/web/client/assets/activity-BPIKUzOU.js +1 -0
- package/dist/web/client/assets/agents-CGjUBYX7.js +2 -0
- package/dist/web/client/assets/agents-page-CTuFJL9H.js +1 -0
- package/dist/web/client/assets/alert-CzWGeumf.js +1 -0
- package/dist/web/client/assets/alert-dialog-D-e1Pr4q.js +1 -0
- package/dist/web/client/assets/arrow-up-right-CG9RNk4p.js +1 -0
- package/dist/web/client/assets/artifacts-panel-6JEdy6jU.js +1 -0
- package/dist/web/client/assets/badge-CzQFgmVK.js +1 -0
- package/dist/web/client/assets/button-CWYjn8Zk.js +1 -0
- package/dist/web/client/assets/{card-Hngi3HGC.js → card-Dj1SnGUU.js} +1 -1
- package/dist/web/client/assets/chat-command-palette-Bxr5EkO6.js +1 -0
- package/dist/web/client/assets/chat-hpzV6IA6.js +57 -0
- package/dist/web/client/assets/chat-queries-CfZiupub.js +3 -0
- package/dist/web/client/assets/clock-3-BwWCSCm_.js +1 -0
- package/dist/web/client/assets/code-block-pKKmFZ5w.js +3 -0
- package/dist/web/client/assets/collapsible-Bk6zCsRX.js +1 -0
- package/dist/web/client/assets/{command-CmtCIDdH.js → command-xo-NK4xO.js} +1 -1
- package/dist/web/client/assets/connectors-CFxLqG2x.js +2 -0
- package/dist/web/client/assets/connectors-page-DQJdoAnl.js +1 -0
- package/dist/web/client/assets/create-project-dialog-Db-WhUmP.js +1 -0
- package/dist/web/client/assets/createBaseUIEventDetails-DIxvaz-Y.js +1 -0
- package/dist/web/client/assets/dialog-CK8dym6z.js +1 -0
- package/dist/web/client/assets/eye-iNSvs0UA.js +1 -0
- package/dist/web/client/assets/file-code-corner-BkDULqko.js +1 -0
- package/dist/web/client/assets/{fork-picker-dialog-DfGlB17w.js → fork-picker-dialog-DSaFeUii.js} +1 -1
- package/dist/web/client/assets/globals-DJhWyayo.css +2 -0
- package/dist/web/client/assets/index-C9FHZDGw.js +13 -0
- package/dist/web/client/assets/input-CBoTMPC_.js +1 -0
- package/dist/web/client/assets/{input-group-EPMGh55u.js → input-group-BFubAtz9.js} +1 -1
- package/dist/web/client/assets/{ipython-tool-CMhnRVrC.js → ipython-tool-bieUhw9K.js} +1 -1
- package/dist/web/client/assets/markdown-CvBfbPCn.js +2 -0
- package/dist/web/client/assets/markdown-code-rFOkzN5N.js +4 -0
- package/dist/web/client/assets/mcp-connections-section-DEo6Kemv.js +2 -0
- package/dist/web/client/assets/message-queue-Btjt9wK2.js +1 -0
- package/dist/web/client/assets/{model-selector-list-BiU_7ivt.js → model-selector-list-CbDAT0Rw.js} +1 -1
- package/dist/web/client/assets/mutation-Da9zdeWr.js +1 -0
- package/dist/web/client/assets/notify-BIL0-CGy.js +1 -0
- package/dist/web/client/assets/open-panel-action-message-SdA1VU42.js +1 -0
- package/dist/web/client/assets/openui-renderer-DG-iML7M.js +291 -0
- package/dist/web/client/assets/pencil-Cbgq3ybX.js +1 -0
- package/dist/web/client/assets/plus-DUP2JPVG.js +1 -0
- package/dist/web/client/assets/product-page-header-Ck6I13CE.js +1 -0
- package/dist/web/client/assets/{prompt-input-Dy-DSPqF.js → prompt-input-CoV1gTUQ.js} +1 -1
- package/dist/web/client/assets/{prompt-suggestions-CrpAiKeB.js → prompt-suggestions-CAY5JI-C.js} +1 -1
- package/dist/web/client/assets/provider-catalog-CLEDlH_v.js +1 -0
- package/dist/web/client/assets/provider-label-BItazQ6H.js +1 -0
- package/dist/web/client/assets/reasoning-line-DGdPUMwT.js +1 -0
- package/dist/web/client/assets/rehype-katex-DITkIpVl.js +259 -0
- package/dist/web/client/assets/{repl-panel-DN5kZAcB.js → repl-panel-5xgkDXO5.js} +1 -1
- package/dist/web/client/assets/{resources-panel-DD6iWOF3.js → resources-panel-aJCKt9eF.js} +1 -1
- package/dist/web/client/assets/right-panel-context-CjX-HkDO.js +1 -0
- package/dist/web/client/assets/right-panel-registry-BAJ6TuEY.js +2 -0
- package/dist/web/client/assets/rotate-ccw-DLkfsmG9.js +1 -0
- package/dist/web/client/assets/routes-ja_liP8Z.js +14 -0
- package/dist/web/client/assets/select-DYh951qi.js +1 -0
- package/dist/web/client/assets/session-activity-panel-DwaXiSrS.js +1 -0
- package/dist/web/client/assets/{session-insights-panel-D0v_DKcb.js → session-insights-panel-BXEmuJKf.js} +1 -1
- package/dist/web/client/assets/session-reasoning-panel-CjJJK_bq.js +1 -0
- package/dist/web/client/assets/session-tool-renderer-DEABxZG3.js +166 -0
- package/dist/web/client/assets/{session-tree-panel-BBwP_EK2.js → session-tree-panel-5QgMvXoX.js} +1 -1
- package/dist/web/client/assets/settings-dialog-DiikSLhF.js +1 -0
- package/dist/web/client/assets/shield-check-7HDd-2Fn.js +1 -0
- package/dist/web/client/assets/{skeleton-DNAr5ULI.js → skeleton-B_Lq2XFl.js} +1 -1
- package/dist/web/client/assets/{skeleton-loaders-B28mF4tJ.js → skeleton-loaders-DWc1eDL3.js} +1 -1
- package/dist/web/client/assets/sparkles-CASAe1AI.js +1 -0
- package/dist/web/client/assets/{spinner-CSBXk3Lo.js → spinner-B5TaKP7k.js} +1 -1
- package/dist/web/client/assets/{subagent-chat-panel-DhvBO4dQ.js → subagent-chat-panel-R2RoX1Yt.js} +1 -1
- package/dist/web/client/assets/subagent-transcript-DVZhMo7a.js +1 -0
- package/dist/web/client/assets/{subagents-panel-DRo8Xs6j.js → subagents-panel-CMMRUP8F.js} +1 -1
- package/dist/web/client/assets/surfaces-BUjUJTyD.js +1 -0
- package/dist/web/client/assets/switch-BrxDfsX6.js +1 -0
- package/dist/web/client/assets/toast-BNWkgZ0u.js +1 -0
- package/dist/web/client/assets/tool-output-normalizer-DDU09Zc6.js +4 -0
- package/dist/web/client/assets/tool-part-normalizer-CF6bmJ0s.js +4 -0
- package/dist/web/client/assets/tool-result-7qREIVv_.js +5 -0
- package/dist/web/client/assets/tool-timeline-CGhwMeNl.js +2 -0
- package/dist/web/client/assets/trace-IsV5RRvM.js +1 -0
- package/dist/web/client/assets/trash-sm2UyOxe.js +1 -0
- package/dist/web/client/assets/types-gIgIxnnG.js +1 -0
- package/dist/web/client/assets/ui-preferences-B-PNDkyY.js +1 -0
- package/dist/web/client/assets/use-hover-capable-CLq8BADD.js +1 -0
- package/dist/web/client/assets/useBaseUiId-lKfDDIcw.js +1 -0
- package/dist/web/client/assets/useButton-CvcmqA2s.js +1 -0
- package/dist/web/client/assets/useNavigate-CVhM7pag.js +1 -0
- package/dist/web/client/assets/useRender-CzJUrRlB.js +1 -0
- package/dist/web/client/assets/useScrollLock-BcsteNzT.js +1 -0
- package/dist/web/client/assets/{utils-CFDGLzf6.js → utils-oBThwhjm.js} +1 -1
- package/dist/web/client/assets/with-selector-B_VDO56x.js +1 -0
- package/dist/web/client/assets/{workspace-panel-DdZutYnd.js → workspace-panel-Da5I4p_t.js} +1 -1
- package/dist/web/client/assets/workspace-path-nav-D-77sJ_A.js +2 -0
- package/dist/web/client/assets/wrench-BXX_Ah2s.js +1 -0
- package/dist/web/client/bundle-budget.json +6 -6
- package/dist/web/server/_tanstack-start-manifest_v-B6ne-00G-OFX7UD4K.js +119 -0
- package/dist/web/server/agents-BwzqhPjK-ANFHE5AG.js +22 -0
- package/dist/web/server/agents-page-DEqPV-eG-BR5MR74O.js +215 -0
- package/dist/web/server/{artifacts-panel-COSC8o7j-GKW2HH2G.js → artifacts-panel-DLO8OfXb-B2ZWCDFP.js} +35 -29
- package/dist/web/server/{chat-command-palette-CuOWdzkk-PKZQ5EZP.js → chat-command-palette-CaDQAMAu-KDH7BTDS.js} +22 -15
- package/dist/web/server/chunk-2ETDIMNM.js +40 -0
- package/dist/web/server/{chunk-2VKVSL6Y.js → chunk-35RIM6VP.js} +128 -127
- package/dist/web/server/chunk-5IE54MRG.js +207 -0
- package/dist/web/server/{chunk-VUBITQ5X.js → chunk-5MOXRFX6.js} +180 -7
- package/dist/web/server/{chunk-6GTTTYSE.js → chunk-6AFVCERK.js} +72 -79
- package/dist/web/server/chunk-6GYLXDX3.js +588 -0
- package/dist/web/server/chunk-7DQQMT5V.js +8993 -0
- package/dist/web/server/chunk-APOS34PW.js +8965 -0
- package/dist/web/server/{chunk-BUKOEXE7.js → chunk-AXN2OBPF.js} +2 -4
- package/dist/web/server/{chunk-WCKKN5BR.js → chunk-B5FKCW75.js} +357 -910
- package/dist/web/server/chunk-BD7YKYWL.js +1007 -0
- package/dist/web/server/{chunk-36CAMOVG.js → chunk-BZ2EAUZZ.js} +10 -12
- package/dist/web/server/chunk-CE7U5QB2.js +42 -0
- package/dist/web/server/chunk-FNV3WZXL.js +125 -0
- package/dist/web/server/{chunk-GLSR4ZI2.js → chunk-FSQWWR2M.js} +698 -832
- package/dist/web/server/chunk-FT7HNDR5.js +143 -0
- package/dist/web/server/chunk-GNXIDE26.js +44 -0
- package/dist/web/server/{chunk-ORCOCCER.js → chunk-HAFELESQ.js} +5 -7
- package/dist/web/server/{chunk-LLO4MNGE.js → chunk-HUHUPGHT.js} +53 -45
- package/dist/web/server/{chunk-QSM3BRMA.js → chunk-KBMRRJQN.js} +256 -157
- package/dist/web/server/chunk-KDCSEISZ.js +6890 -0
- package/dist/web/server/chunk-KSGGSGOA.js +50 -0
- package/dist/web/server/chunk-PQVTLG3E.js +270 -0
- package/dist/web/server/{chunk-YU6RHHK6.js → chunk-Q4ECIATK.js} +65 -53
- package/dist/web/server/{chunk-IN2ATSEG.js → chunk-R4BS3KYI.js} +2 -4
- package/dist/web/server/chunk-RX2ZJARF.js +73 -0
- package/dist/web/server/{chunk-AKSDWYJY.js → chunk-SYS5FDNA.js} +5 -5
- package/dist/web/server/chunk-TOJA3X5N.js +421 -0
- package/dist/web/server/chunk-TQ2RECTH.js +193 -0
- package/dist/web/server/{chunk-KHHXJZK7.js → chunk-TTNONWZZ.js} +16001 -14668
- package/dist/web/server/chunk-TXZDDJCT.js +5115 -0
- package/dist/web/server/{chunk-XA7EOCHM.js → chunk-UDUG3MYZ.js} +2 -2
- package/dist/web/server/{chunk-EBC7QORX.js → chunk-V2GCVTDP.js} +5056 -12556
- package/dist/web/server/{chunk-TMQ3MT3D.js → chunk-VDEUVEWL.js} +2255 -1
- package/dist/web/server/chunk-VM3U6PUU.js +769 -0
- package/dist/web/server/connectors-C0xm91Ss-DJVBGD73.js +22 -0
- package/dist/web/server/connectors-page-B6tJNZ6c-R5K4NSAT.js +66 -0
- package/dist/web/server/{create-project-dialog-0-arQpsX-ZELQKHS5.js → create-project-dialog-PFPHHWIV-GH7JR5IK.js} +27 -18
- package/dist/web/server/{dist-7G2NZPF4.js → dist-GQUZLXN5.js} +2 -2
- package/dist/web/server/{dist-E5637ZAY.js → dist-MN5NWCX6.js} +1 -1
- package/dist/web/server/{fork-picker-dialog-fj9p33Mq-I5SA3GLJ.js → fork-picker-dialog-DFpKOdAw-JPLJSYYU.js} +7 -12
- package/dist/web/server/{markdown-CShfYRVO-RBTK7TRB.js → markdown-Cc8V9dOF-JTNTJKQU.js} +7 -5
- package/dist/web/server/{markdown-code-BDV_2b2T-6JYA5FWZ.js → markdown-code-gaRnbgNM-V5LIRYCD.js} +46 -8
- package/dist/web/server/{message-queue-BBC843IU-GY4ZIMM4.js → message-queue-nQ2_kU82-KKSLYR4S.js} +7 -16
- package/dist/web/server/{model-selector-list-DE6aLNXt-LJZMCYOI.js → model-selector-list-By_G7_Hr-GXT27BZO.js} +12 -16
- package/dist/web/server/{openui-renderer-C3aqSKuS-PWLWJFYO.js → openui-renderer-B9D8-Av--LFZP4U5V.js} +20 -15
- package/dist/web/server/{prompt-suggestions-CpTK_fHV-UKJDTLVM.js → prompt-suggestions-B67Uy5Rk-5SMTSIFQ.js} +5 -4
- package/dist/web/server/{rehype-katex-IDPYWU6M.js → rehype-katex-CYHGKI6Q.js} +490 -843
- package/dist/web/server/{repl-panel-1kSS1UGd-U64BPA7X.js → repl-panel-1kSS1UGd-POXRYDDJ.js} +2 -3
- package/dist/web/server/{resources-panel-DWb0eGKa-K4EM3H7Y.js → resources-panel-CTzOOKPz-5G6RS2D6.js} +18 -12
- package/dist/web/server/router-CnBux_Ld-YTVBMJFL.js +23 -0
- package/dist/web/server/routes-BUGzvQoO-WW43X7W2.js +124 -0
- package/dist/web/server/server.js +3 -3
- package/dist/web/server/session-activity-panel-f0d3fCm7-I6L5IKFQ.js +181 -0
- package/dist/web/server/{session-insights-panel-CfMX2NRu-6HWZTTAC.js → session-insights-panel-BiVObm_6-AP4FITT7.js} +2 -12
- package/dist/web/server/session-reasoning-panel-QIt_xjP0-FKJWMNHO.js +70 -0
- package/dist/web/server/session-tool-renderer-Cg_ZPHxS-BNQKNJNZ.js +34 -0
- package/dist/web/server/{session-tree-panel-HNl6R9VZ-4JUF34M7.js → session-tree-panel-B--el8O5-NZOZJM5L.js} +18 -13
- package/dist/web/server/{settings-dialog-DGZBA5Z_-6HYFMPNZ.js → settings-dialog-D_eJN2ia-W47Y474K.js} +104 -795
- package/dist/web/server/{subagent-chat-panel-DuB4hqUk-LDCAJOCL.js → subagent-chat-panel-C9nWP21E-D5C2TTYD.js} +22 -17
- package/dist/web/server/{subagents-panel-wAvx3-Rs-L6UTDFUX.js → subagents-panel-fAKvBNRG-O7QHXNE2.js} +26 -22
- package/dist/web/server/{workspace-panel-CPzJZwgv-YS7PTI5C.js → workspace-panel-CZMNMU63-SYOSM3B7.js} +23 -17
- package/package.json +2 -2
- package/dist/web/client/assets/DialogTitle-D-zqaHvF.js +0 -1
- package/dist/web/client/assets/FloatingPortal-73ZRZeD9.js +0 -1
- package/dist/web/client/assets/action-swap-BcFwS6is.js +0 -1
- package/dist/web/client/assets/alert-dialog-DtXvVhsF.js +0 -1
- package/dist/web/client/assets/artifacts-panel-Bseg97yQ.js +0 -1
- package/dist/web/client/assets/badge-C--lf3bb.js +0 -57
- package/dist/web/client/assets/button-BJZe4vNJ.js +0 -1
- package/dist/web/client/assets/chat-command-palette-D_rm1r9d.js +0 -1
- package/dist/web/client/assets/chevron-up-CqeJYyZO.js +0 -1
- package/dist/web/client/assets/collapsible-DauSnbYp.js +0 -1
- package/dist/web/client/assets/create-project-dialog-m-9aoobN.js +0 -1
- package/dist/web/client/assets/createBaseUIEventDetails-DklXWq23.js +0 -1
- package/dist/web/client/assets/dialog-Ddouieuu.js +0 -1
- package/dist/web/client/assets/eye-Cs0lNChA.js +0 -1
- package/dist/web/client/assets/globals-C961mr-b.css +0 -2
- package/dist/web/client/assets/index-Bz5W4EOn.js +0 -13
- package/dist/web/client/assets/input-Def1xOZz.js +0 -1
- package/dist/web/client/assets/markdown-Big27m-v.js +0 -2
- package/dist/web/client/assets/markdown-code-7L4RiS50.js +0 -3
- package/dist/web/client/assets/message-queue-Bg2MiJHM.js +0 -1
- package/dist/web/client/assets/mutation-DOi2Qgfa.js +0 -1
- package/dist/web/client/assets/notify-DhtmUPfE.js +0 -1
- package/dist/web/client/assets/openui-renderer-MIB3JKYa.js +0 -291
- package/dist/web/client/assets/provider-label-B_vy60P0.js +0 -1
- package/dist/web/client/assets/rehype-katex-A4PtQgTX.js +0 -259
- package/dist/web/client/assets/right-panel-context-DHKWoetk.js +0 -1
- package/dist/web/client/assets/right-panel-registry-hKJN__3l.js +0 -2
- package/dist/web/client/assets/routes-C3h32Lj_.js +0 -16
- package/dist/web/client/assets/select-Buvv1tIo.js +0 -1
- package/dist/web/client/assets/session-reasoning-panel-DmEbXOrR.js +0 -1
- package/dist/web/client/assets/session-tool-renderer-Daol5fJw.js +0 -169
- package/dist/web/client/assets/settings-dialog-DYbx3xuq.js +0 -2
- package/dist/web/client/assets/sparkles-D_ANe-HY.js +0 -1
- package/dist/web/client/assets/subagent-transcript-Bx-rHni-.js +0 -1
- package/dist/web/client/assets/surfaces-B8xTOFeK.js +0 -1
- package/dist/web/client/assets/switch-CDfAwEvs.js +0 -1
- package/dist/web/client/assets/terminal-Ceucj7us.js +0 -1
- package/dist/web/client/assets/toast-9zXN-yVk.js +0 -1
- package/dist/web/client/assets/tool-part-normalizer-NbPs9kd1.js +0 -4
- package/dist/web/client/assets/tool-result-BccnO34D.js +0 -4
- package/dist/web/client/assets/tool-timeline-DlBZyd4j.js +0 -1
- package/dist/web/client/assets/types-D5hZ8IyV.js +0 -1
- package/dist/web/client/assets/ui-preferences-1YaENqef.js +0 -1
- package/dist/web/client/assets/use-hover-capable-MwFjBLZQ.js +0 -1
- package/dist/web/client/assets/workspace-path-nav-BRwuLsFl.js +0 -2
- package/dist/web/client/assets/wrench-BYnD147U.js +0 -1
- package/dist/web/server/_tanstack-start-manifest_v-YlngJGUa-YTWBGR7L.js +0 -93
- package/dist/web/server/chunk-2PAW6K4Q.js +0 -56
- package/dist/web/server/chunk-CHSKEU3V.js +0 -166
- package/dist/web/server/chunk-FB3UHLLN.js +0 -49
- package/dist/web/server/chunk-GLH2GWMG.js +0 -2182
- package/dist/web/server/chunk-OXEAXEWD.js +0 -13
- package/dist/web/server/chunk-SIJVVYQT.js +0 -234
- package/dist/web/server/chunk-UQV2NU63.js +0 -163
- package/dist/web/server/chunk-ZUZPJNLY.js +0 -25217
- package/dist/web/server/router-DZYr-9uT-AEXHEFXF.js +0 -31
- package/dist/web/server/routes-vYxWRhis-AAZ73SNP.js +0 -120
- package/dist/web/server/session-reasoning-panel-XXU2yIOW-XXCKHISS.js +0 -192
- package/dist/web/server/session-tool-renderer-Dtt74Mts-7YYNSWRV.js +0 -29
- package/dist/web/server/tool-timeline-BKWsrZHK-3LGCOTPH.js +0 -12
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import {
|
|
2
|
+
cn
|
|
3
|
+
} from "./chunk-VDEUVEWL.js";
|
|
4
|
+
|
|
5
|
+
// web/app/dist/server/assets/card-Dux-30ss.js
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
function Card({ className, size = "default", ...props }) {
|
|
8
|
+
return /* @__PURE__ */ jsx("div", {
|
|
9
|
+
"data-slot": "card",
|
|
10
|
+
"data-size": size,
|
|
11
|
+
className: cn("group/card flex flex-col gap-4 overflow-hidden rounded-xl bg-card py-4 text-sm text-card-foreground ring-1 ring-foreground/10 has-[>img:first-child]:pt-0 data-[size=sm]:gap-3 data-[size=sm]:py-3 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl", className),
|
|
12
|
+
...props
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
function CardHeader({ className, ...props }) {
|
|
16
|
+
return /* @__PURE__ */ jsx("div", {
|
|
17
|
+
"data-slot": "card-header",
|
|
18
|
+
className: cn("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-4 group-data-[size=sm]/card:px-3 has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-4 group-data-[size=sm]/card:[.border-b]:pb-3", className),
|
|
19
|
+
...props
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
function CardTitle({ className, ...props }) {
|
|
23
|
+
return /* @__PURE__ */ jsx("div", {
|
|
24
|
+
"data-slot": "card-title",
|
|
25
|
+
className: cn("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm", className),
|
|
26
|
+
...props
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
function CardDescription({ className, ...props }) {
|
|
30
|
+
return /* @__PURE__ */ jsx("div", {
|
|
31
|
+
"data-slot": "card-description",
|
|
32
|
+
className: cn("text-sm text-muted-foreground", className),
|
|
33
|
+
...props
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
function CardContent({ className, ...props }) {
|
|
37
|
+
return /* @__PURE__ */ jsx("div", {
|
|
38
|
+
"data-slot": "card-content",
|
|
39
|
+
className: cn("px-4 group-data-[size=sm]/card:px-3", className),
|
|
40
|
+
...props
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export {
|
|
45
|
+
Card,
|
|
46
|
+
CardHeader,
|
|
47
|
+
CardTitle,
|
|
48
|
+
CardDescription,
|
|
49
|
+
CardContent
|
|
50
|
+
};
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CodeBlock,
|
|
3
|
+
CodeBlockActions,
|
|
4
|
+
CodeBlockContent,
|
|
5
|
+
CodeBlockHeader,
|
|
6
|
+
CodeBlockTitle
|
|
7
|
+
} from "./chunk-FNV3WZXL.js";
|
|
8
|
+
import {
|
|
9
|
+
__exportAll
|
|
10
|
+
} from "./chunk-OO7NBFQQ.js";
|
|
11
|
+
import {
|
|
12
|
+
Button$1
|
|
13
|
+
} from "./chunk-FSQWWR2M.js";
|
|
14
|
+
import {
|
|
15
|
+
Check,
|
|
16
|
+
Copy,
|
|
17
|
+
Download,
|
|
18
|
+
FileCodeCorner,
|
|
19
|
+
cn
|
|
20
|
+
} from "./chunk-VDEUVEWL.js";
|
|
21
|
+
import {
|
|
22
|
+
Xi
|
|
23
|
+
} from "./chunk-O7L7SF5Q.js";
|
|
24
|
+
|
|
25
|
+
// web/app/dist/server/assets/markdown-Cc8V9dOF.js
|
|
26
|
+
import { Fragment, Suspense, isValidElement, lazy, useMemo, useState } from "react";
|
|
27
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
28
|
+
var markdown_exports = /* @__PURE__ */ __exportAll({
|
|
29
|
+
Markdown: () => Markdown,
|
|
30
|
+
MarkdownFrame: () => MarkdownFrame,
|
|
31
|
+
createMarkdownComponents: () => createMarkdownComponents,
|
|
32
|
+
fixNumberedListBreaks: () => fixNumberedListBreaks,
|
|
33
|
+
normalizeCodeFenceLanguages: () => normalizeCodeFenceLanguages
|
|
34
|
+
});
|
|
35
|
+
var LazyHighlightedMarkdown = lazy(() => import("./markdown-code-gaRnbgNM-V5LIRYCD.js").then(({ HighlightedMarkdown }) => ({ default: HighlightedMarkdown })));
|
|
36
|
+
function fixNumberedListBreaks(text) {
|
|
37
|
+
return text.replace(/^(\d+)\.\s*\n+\s*\n*/gm, "$1. ");
|
|
38
|
+
}
|
|
39
|
+
var CODE_FENCE_LANGS = /* @__PURE__ */ new Set([
|
|
40
|
+
"bash",
|
|
41
|
+
"diff",
|
|
42
|
+
"html",
|
|
43
|
+
"js",
|
|
44
|
+
"json",
|
|
45
|
+
"jsx",
|
|
46
|
+
"md",
|
|
47
|
+
"markdown",
|
|
48
|
+
"py",
|
|
49
|
+
"python",
|
|
50
|
+
"sh",
|
|
51
|
+
"shell",
|
|
52
|
+
"text",
|
|
53
|
+
"ts",
|
|
54
|
+
"tsx",
|
|
55
|
+
"yml",
|
|
56
|
+
"yaml"
|
|
57
|
+
]);
|
|
58
|
+
function normalizeCodeFenceLanguages(text) {
|
|
59
|
+
return text.replace(/```([^\n]*)/g, (_match, langRaw) => {
|
|
60
|
+
const lang = String(langRaw || "").trim().toLowerCase();
|
|
61
|
+
if (!lang) return "```";
|
|
62
|
+
const rawLanguage = lang.split(/\s+/)[0];
|
|
63
|
+
const normalized = rawLanguage === "py" ? "python" : rawLanguage;
|
|
64
|
+
return CODE_FENCE_LANGS.has(normalized) ? `\`\`\`${normalized}` : "```text";
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
var SAFE_HREF_PATTERN = /^(https?:|mailto:)/i;
|
|
68
|
+
function containsBlockMarkdownChild(value, imageIsSoleChild) {
|
|
69
|
+
if (!isValidElement(value)) return false;
|
|
70
|
+
const props = value.props;
|
|
71
|
+
if (typeof props !== "object" || props === null) return false;
|
|
72
|
+
const node = "node" in props ? props.node : void 0;
|
|
73
|
+
const tagName = typeof node === "object" && node !== null && "tagName" in node ? node.tagName : void 0;
|
|
74
|
+
if (tagName === "img") return imageIsSoleChild;
|
|
75
|
+
if (tagName === "code" && "data-block" in props) return true;
|
|
76
|
+
return "children" in props && containsBlockMarkdownChild(props.children, imageIsSoleChild);
|
|
77
|
+
}
|
|
78
|
+
function createMarkdownComponents(codeControls = true, CodeContent) {
|
|
79
|
+
return {
|
|
80
|
+
h1: ({ children, ...props }) => /* @__PURE__ */ jsx("h1", {
|
|
81
|
+
...props,
|
|
82
|
+
children
|
|
83
|
+
}),
|
|
84
|
+
h2: ({ children, ...props }) => /* @__PURE__ */ jsx("h2", {
|
|
85
|
+
...props,
|
|
86
|
+
children
|
|
87
|
+
}),
|
|
88
|
+
h3: ({ children, ...props }) => /* @__PURE__ */ jsx("h3", {
|
|
89
|
+
...props,
|
|
90
|
+
children
|
|
91
|
+
}),
|
|
92
|
+
h4: ({ children, ...props }) => /* @__PURE__ */ jsx("h4", {
|
|
93
|
+
...props,
|
|
94
|
+
children
|
|
95
|
+
}),
|
|
96
|
+
p: ({ children, node, ...props }) => {
|
|
97
|
+
const child = (Array.isArray(children) ? children : [children]).filter((value) => value != null && value !== "");
|
|
98
|
+
if (child.some((value) => containsBlockMarkdownChild(value, child.length === 1))) return /* @__PURE__ */ jsx(Fragment, { children });
|
|
99
|
+
return /* @__PURE__ */ jsx("p", {
|
|
100
|
+
...props,
|
|
101
|
+
children
|
|
102
|
+
});
|
|
103
|
+
},
|
|
104
|
+
ul: ({ children, ...props }) => /* @__PURE__ */ jsx("ul", {
|
|
105
|
+
...props,
|
|
106
|
+
children
|
|
107
|
+
}),
|
|
108
|
+
ol: ({ children, ...props }) => /* @__PURE__ */ jsx("ol", {
|
|
109
|
+
...props,
|
|
110
|
+
children
|
|
111
|
+
}),
|
|
112
|
+
li: ({ children, ...props }) => /* @__PURE__ */ jsx("li", {
|
|
113
|
+
...props,
|
|
114
|
+
children
|
|
115
|
+
}),
|
|
116
|
+
strong: ({ children, ...props }) => /* @__PURE__ */ jsx("strong", {
|
|
117
|
+
...props,
|
|
118
|
+
children
|
|
119
|
+
}),
|
|
120
|
+
a: ({ href, children, ...props }) => {
|
|
121
|
+
if (typeof href !== "string" || !SAFE_HREF_PATTERN.test(href)) return /* @__PURE__ */ jsx("span", { children });
|
|
122
|
+
const isExternal = href.startsWith("http");
|
|
123
|
+
return /* @__PURE__ */ jsx("a", {
|
|
124
|
+
...props,
|
|
125
|
+
href,
|
|
126
|
+
target: isExternal ? "_blank" : void 0,
|
|
127
|
+
rel: isExternal ? "noopener noreferrer" : void 0,
|
|
128
|
+
children
|
|
129
|
+
});
|
|
130
|
+
},
|
|
131
|
+
blockquote: ({ children, ...props }) => /* @__PURE__ */ jsx("blockquote", {
|
|
132
|
+
...props,
|
|
133
|
+
children
|
|
134
|
+
}),
|
|
135
|
+
pre: ({ children, node }) => {
|
|
136
|
+
const codeChild = (Array.isArray(children) ? children : [children]).find(isValidElement);
|
|
137
|
+
const codeProps = codeChild && typeof codeChild.props === "object" ? codeChild.props : void 0;
|
|
138
|
+
const nodeCode = node?.children.find((child) => child.type === "element" && child.tagName === "code");
|
|
139
|
+
const classNames = (codeProps && "className" in codeProps ? codeProps.className : void 0) ?? (nodeCode?.type === "element" ? String(nodeCode.properties.className ?? "") : void 0);
|
|
140
|
+
const language = (Array.isArray(classNames) ? classNames.join(" ") : String(classNames ?? "")).match(/(?:^|\s)language-([\w-]+)/)?.[1] ?? "text";
|
|
141
|
+
const rawContent = codeChild && typeof codeChild.props === "object" && codeChild.props !== null && "children" in codeChild.props ? codeChild.props.children : children;
|
|
142
|
+
const code = textContent(rawContent);
|
|
143
|
+
return /* @__PURE__ */ jsx(MarkdownCodeBlock, {
|
|
144
|
+
code,
|
|
145
|
+
content: CodeContent ? /* @__PURE__ */ jsx(CodeContent, {
|
|
146
|
+
code,
|
|
147
|
+
language
|
|
148
|
+
}) : rawContent,
|
|
149
|
+
language,
|
|
150
|
+
codeControls
|
|
151
|
+
});
|
|
152
|
+
},
|
|
153
|
+
hr: ({ ...props }) => /* @__PURE__ */ jsx("hr", { ...props }),
|
|
154
|
+
table: ({ children, ...props }) => /* @__PURE__ */ jsx("div", {
|
|
155
|
+
className: "typeset-scroll",
|
|
156
|
+
children: /* @__PURE__ */ jsx("table", {
|
|
157
|
+
...props,
|
|
158
|
+
children
|
|
159
|
+
})
|
|
160
|
+
}),
|
|
161
|
+
th: ({ children, ...props }) => /* @__PURE__ */ jsx("th", {
|
|
162
|
+
...props,
|
|
163
|
+
children
|
|
164
|
+
}),
|
|
165
|
+
td: ({ children, ...props }) => /* @__PURE__ */ jsx("td", {
|
|
166
|
+
...props,
|
|
167
|
+
children
|
|
168
|
+
})
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
function textContent(value) {
|
|
172
|
+
if (typeof value === "string" || typeof value === "number") return String(value);
|
|
173
|
+
if (Array.isArray(value)) return value.map(textContent).join("");
|
|
174
|
+
if (isValidElement(value) && typeof value.props === "object" && value.props !== null && "children" in value.props) return textContent(value.props.children);
|
|
175
|
+
return "";
|
|
176
|
+
}
|
|
177
|
+
function MarkdownCodeBlock({ code, content, language, codeControls }) {
|
|
178
|
+
const [copied, setCopied] = useState(false);
|
|
179
|
+
const copy = () => {
|
|
180
|
+
navigator.clipboard?.writeText(code).then(() => {
|
|
181
|
+
setCopied(true);
|
|
182
|
+
window.setTimeout(() => setCopied(false), 1600);
|
|
183
|
+
}, () => {
|
|
184
|
+
});
|
|
185
|
+
};
|
|
186
|
+
const download = () => {
|
|
187
|
+
const blobUrl = URL.createObjectURL(new Blob([code], { type: "text/plain;charset=utf-8" }));
|
|
188
|
+
const anchor = document.createElement("a");
|
|
189
|
+
anchor.href = blobUrl;
|
|
190
|
+
const normalizedLanguage = language.trim().toLowerCase();
|
|
191
|
+
anchor.download = `code.${{
|
|
192
|
+
python: "py",
|
|
193
|
+
markdown: "md",
|
|
194
|
+
text: "txt"
|
|
195
|
+
}[normalizedLanguage] ?? normalizedLanguage}`;
|
|
196
|
+
anchor.click();
|
|
197
|
+
window.setTimeout(() => URL.revokeObjectURL(blobUrl), 1e3);
|
|
198
|
+
};
|
|
199
|
+
return /* @__PURE__ */ jsxs(CodeBlock, {
|
|
200
|
+
className: "my-3 bg-muted/60",
|
|
201
|
+
children: [/* @__PURE__ */ jsxs(CodeBlockHeader, {
|
|
202
|
+
className: "h-9 gap-2 border-b border-foreground/[0.06] px-3 pt-0",
|
|
203
|
+
children: [
|
|
204
|
+
/* @__PURE__ */ jsx(FileCodeCorner, {
|
|
205
|
+
"aria-hidden": "true",
|
|
206
|
+
className: "size-3.5 shrink-0 text-muted-foreground/70"
|
|
207
|
+
}),
|
|
208
|
+
/* @__PURE__ */ jsx(CodeBlockTitle, {
|
|
209
|
+
className: "font-mono text-xs text-muted-foreground",
|
|
210
|
+
children: language
|
|
211
|
+
}),
|
|
212
|
+
codeControls ? /* @__PURE__ */ jsxs(CodeBlockActions, {
|
|
213
|
+
className: "-my-0",
|
|
214
|
+
children: [/* @__PURE__ */ jsx(Button$1, {
|
|
215
|
+
type: "button",
|
|
216
|
+
variant: "ghost",
|
|
217
|
+
size: "icon-xs",
|
|
218
|
+
"aria-label": copied ? "Copied" : "Copy code",
|
|
219
|
+
onClick: copy,
|
|
220
|
+
children: copied ? /* @__PURE__ */ jsx(Check, {}) : /* @__PURE__ */ jsx(Copy, {})
|
|
221
|
+
}), /* @__PURE__ */ jsx(Button$1, {
|
|
222
|
+
type: "button",
|
|
223
|
+
variant: "ghost",
|
|
224
|
+
size: "icon-xs",
|
|
225
|
+
"aria-label": "Download code",
|
|
226
|
+
onClick: download,
|
|
227
|
+
children: /* @__PURE__ */ jsx(Download, {})
|
|
228
|
+
})]
|
|
229
|
+
}) : null
|
|
230
|
+
]
|
|
231
|
+
}), /* @__PURE__ */ jsx(CodeBlockContent, {
|
|
232
|
+
className: "max-h-[min(60vh,28rem)] border-t border-foreground/[0.06] px-3 py-3 text-xs leading-relaxed",
|
|
233
|
+
children: content
|
|
234
|
+
})]
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
function MarkdownFrame({ children, className }) {
|
|
238
|
+
return /* @__PURE__ */ jsx("div", {
|
|
239
|
+
className: cn("typeset typeset-chat", "overflow-hidden wrap-break-word", className),
|
|
240
|
+
children
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
function PlainMarkdown({ content, className, codeControls }) {
|
|
244
|
+
const safeContent = useMemo(() => normalizeCodeFenceLanguages(fixNumberedListBreaks(content)), [content]);
|
|
245
|
+
const components = useMemo(() => createMarkdownComponents(codeControls !== false), [codeControls]);
|
|
246
|
+
return /* @__PURE__ */ jsx(MarkdownFrame, {
|
|
247
|
+
className,
|
|
248
|
+
children: /* @__PURE__ */ jsx(Xi, {
|
|
249
|
+
components,
|
|
250
|
+
controls: { code: false },
|
|
251
|
+
children: safeContent
|
|
252
|
+
})
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
function Markdown(props) {
|
|
256
|
+
if (props.isStreaming || !props.content.includes("```")) return /* @__PURE__ */ jsx(PlainMarkdown, { ...props });
|
|
257
|
+
return /* @__PURE__ */ jsx(Suspense, {
|
|
258
|
+
fallback: /* @__PURE__ */ jsx(PlainMarkdown, { ...props }),
|
|
259
|
+
children: /* @__PURE__ */ jsx(LazyHighlightedMarkdown, { ...props })
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
export {
|
|
264
|
+
markdown_exports,
|
|
265
|
+
fixNumberedListBreaks,
|
|
266
|
+
normalizeCodeFenceLanguages,
|
|
267
|
+
createMarkdownComponents,
|
|
268
|
+
MarkdownFrame,
|
|
269
|
+
Markdown
|
|
270
|
+
};
|
|
@@ -1,44 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Label,
|
|
3
2
|
fieldValidityMapping,
|
|
4
|
-
|
|
3
|
+
useBaseUiId,
|
|
4
|
+
useControlled,
|
|
5
5
|
useFieldRootContext,
|
|
6
6
|
useFormContext,
|
|
7
7
|
useLabelableContext,
|
|
8
8
|
useLabelableId,
|
|
9
9
|
useRegisterFieldControl,
|
|
10
10
|
useValueChanged
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TXZDDJCT.js";
|
|
12
12
|
import {
|
|
13
|
+
createChangeEventDetails,
|
|
14
|
+
reason_parts_exports,
|
|
13
15
|
visuallyHidden,
|
|
14
16
|
visuallyHiddenInput
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import {
|
|
17
|
-
useBaseUiId,
|
|
18
|
-
useControlled
|
|
19
|
-
} from "./chunk-SIJVVYQT.js";
|
|
17
|
+
} from "./chunk-APOS34PW.js";
|
|
20
18
|
import {
|
|
21
19
|
EMPTY_OBJECT,
|
|
22
|
-
|
|
20
|
+
cva,
|
|
23
21
|
dispatchClickWithModifiers,
|
|
24
22
|
formatErrorMessage_default,
|
|
25
|
-
reason_parts_exports,
|
|
26
23
|
useButton,
|
|
27
24
|
useIsoLayoutEffect,
|
|
28
25
|
useMergedRefs,
|
|
29
26
|
useRenderElement
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import {
|
|
32
|
-
cva
|
|
33
|
-
} from "./chunk-FB3UHLLN.js";
|
|
27
|
+
} from "./chunk-FSQWWR2M.js";
|
|
34
28
|
import {
|
|
35
29
|
cn
|
|
36
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-VDEUVEWL.js";
|
|
37
31
|
import {
|
|
38
32
|
__export
|
|
39
33
|
} from "./chunk-CZ7CSFO4.js";
|
|
40
34
|
|
|
41
|
-
// web/app/dist/server/assets/switch-
|
|
35
|
+
// web/app/dist/server/assets/switch-DJavZFjJ.js
|
|
42
36
|
import { jsx } from "react/jsx-runtime";
|
|
43
37
|
|
|
44
38
|
// node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/switch/index.parts.mjs
|
|
@@ -49,7 +43,7 @@ __export(index_parts_exports, {
|
|
|
49
43
|
});
|
|
50
44
|
|
|
51
45
|
// node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/switch/root/SwitchRoot.mjs
|
|
52
|
-
import * as
|
|
46
|
+
import * as React3 from "react";
|
|
53
47
|
|
|
54
48
|
// node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/switch/root/SwitchRootContext.mjs
|
|
55
49
|
import * as React from "react";
|
|
@@ -82,9 +76,52 @@ var stateAttributesMapping = {
|
|
|
82
76
|
}
|
|
83
77
|
};
|
|
84
78
|
|
|
79
|
+
// node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/internals/labelable-provider/useAriaLabelledBy.mjs
|
|
80
|
+
import * as React2 from "react";
|
|
81
|
+
function useAriaLabelledBy(explicitAriaLabelledBy, labelId, labelSourceRef, enableFallback = true, labelSourceId) {
|
|
82
|
+
const [fallbackAriaLabelledBy, setFallbackAriaLabelledBy] = React2.useState();
|
|
83
|
+
const generatedLabelId = useBaseUiId(labelSourceId ? `${labelSourceId}-label` : void 0);
|
|
84
|
+
const ariaLabelledBy = explicitAriaLabelledBy ?? labelId ?? fallbackAriaLabelledBy;
|
|
85
|
+
useIsoLayoutEffect(() => {
|
|
86
|
+
const nextAriaLabelledBy = explicitAriaLabelledBy || labelId || !enableFallback ? void 0 : getAriaLabelledBy(labelSourceRef.current, generatedLabelId);
|
|
87
|
+
if (fallbackAriaLabelledBy !== nextAriaLabelledBy) {
|
|
88
|
+
setFallbackAriaLabelledBy(nextAriaLabelledBy);
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
return ariaLabelledBy;
|
|
92
|
+
}
|
|
93
|
+
function getAriaLabelledBy(labelSource, generatedLabelId) {
|
|
94
|
+
const label = findAssociatedLabel(labelSource);
|
|
95
|
+
if (!label) {
|
|
96
|
+
return void 0;
|
|
97
|
+
}
|
|
98
|
+
if (!label.id && generatedLabelId) {
|
|
99
|
+
label.id = generatedLabelId;
|
|
100
|
+
}
|
|
101
|
+
return label.id || void 0;
|
|
102
|
+
}
|
|
103
|
+
function findAssociatedLabel(labelSource) {
|
|
104
|
+
if (!labelSource) {
|
|
105
|
+
return void 0;
|
|
106
|
+
}
|
|
107
|
+
const parent = labelSource.parentElement;
|
|
108
|
+
if (parent && parent.tagName === "LABEL") {
|
|
109
|
+
return parent;
|
|
110
|
+
}
|
|
111
|
+
const controlId = labelSource.id;
|
|
112
|
+
if (controlId) {
|
|
113
|
+
const nextSibling = labelSource.nextElementSibling;
|
|
114
|
+
if (nextSibling && nextSibling.htmlFor === controlId) {
|
|
115
|
+
return nextSibling;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
const labels = labelSource.labels;
|
|
119
|
+
return labels && labels[0];
|
|
120
|
+
}
|
|
121
|
+
|
|
85
122
|
// node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/switch/root/SwitchRoot.mjs
|
|
86
123
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
87
|
-
var SwitchRoot = /* @__PURE__ */
|
|
124
|
+
var SwitchRoot = /* @__PURE__ */ React3.forwardRef(function SwitchRoot2(componentProps, forwardedRef) {
|
|
88
125
|
const {
|
|
89
126
|
checked: checkedProp,
|
|
90
127
|
className,
|
|
@@ -125,9 +162,9 @@ var SwitchRoot = /* @__PURE__ */ React2.forwardRef(function SwitchRoot2(componen
|
|
|
125
162
|
} = useLabelableContext();
|
|
126
163
|
const disabled = fieldDisabled || disabledProp;
|
|
127
164
|
const name = fieldName ?? nameProp;
|
|
128
|
-
const inputRef =
|
|
165
|
+
const inputRef = React3.useRef(null);
|
|
129
166
|
const handleInputRef = useMergedRefs(inputRef, externalInputRef, validation.inputRef);
|
|
130
|
-
const switchRef =
|
|
167
|
+
const switchRef = React3.useRef(null);
|
|
131
168
|
const id = useBaseUiId();
|
|
132
169
|
const controlId = useLabelableId({
|
|
133
170
|
id: idProp
|
|
@@ -232,7 +269,7 @@ var SwitchRoot = /* @__PURE__ */ React2.forwardRef(function SwitchRoot2(componen
|
|
|
232
269
|
value
|
|
233
270
|
} : EMPTY_OBJECT
|
|
234
271
|
};
|
|
235
|
-
const state =
|
|
272
|
+
const state = React3.useMemo(() => ({
|
|
236
273
|
...fieldState,
|
|
237
274
|
checked: checked2,
|
|
238
275
|
disabled,
|
|
@@ -262,8 +299,8 @@ var SwitchRoot = /* @__PURE__ */ React2.forwardRef(function SwitchRoot2(componen
|
|
|
262
299
|
if (process.env.NODE_ENV !== "production") SwitchRoot.displayName = "SwitchRoot";
|
|
263
300
|
|
|
264
301
|
// node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/switch/thumb/SwitchThumb.mjs
|
|
265
|
-
import * as
|
|
266
|
-
var SwitchThumb = /* @__PURE__ */
|
|
302
|
+
import * as React4 from "react";
|
|
303
|
+
var SwitchThumb = /* @__PURE__ */ React4.forwardRef(function SwitchThumb2(componentProps, forwardedRef) {
|
|
267
304
|
const {
|
|
268
305
|
render,
|
|
269
306
|
className,
|
|
@@ -280,33 +317,11 @@ var SwitchThumb = /* @__PURE__ */ React3.forwardRef(function SwitchThumb2(compon
|
|
|
280
317
|
});
|
|
281
318
|
if (process.env.NODE_ENV !== "production") SwitchThumb.displayName = "SwitchThumb";
|
|
282
319
|
|
|
283
|
-
// web/app/dist/server/assets/switch-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
} },
|
|
289
|
-
defaultVariants: { variant: "default" }
|
|
290
|
-
});
|
|
291
|
-
function Alert({ className, variant, ...props }) {
|
|
292
|
-
return /* @__PURE__ */ jsx("div", {
|
|
293
|
-
"data-slot": "alert",
|
|
294
|
-
role: "alert",
|
|
295
|
-
className: cn(alertVariants({ variant }), className),
|
|
296
|
-
...props
|
|
297
|
-
});
|
|
298
|
-
}
|
|
299
|
-
function AlertTitle({ className, ...props }) {
|
|
300
|
-
return /* @__PURE__ */ jsx("div", {
|
|
301
|
-
"data-slot": "alert-title",
|
|
302
|
-
className: cn("font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground", className),
|
|
303
|
-
...props
|
|
304
|
-
});
|
|
305
|
-
}
|
|
306
|
-
function AlertDescription({ className, ...props }) {
|
|
307
|
-
return /* @__PURE__ */ jsx("div", {
|
|
308
|
-
"data-slot": "alert-description",
|
|
309
|
-
className: cn("text-sm text-balance text-muted-foreground md:text-pretty [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4", className),
|
|
320
|
+
// web/app/dist/server/assets/switch-DJavZFjJ.js
|
|
321
|
+
function Label({ className, ...props }) {
|
|
322
|
+
return /* @__PURE__ */ jsx("label", {
|
|
323
|
+
"data-slot": "label",
|
|
324
|
+
className: cn("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", className),
|
|
310
325
|
...props
|
|
311
326
|
});
|
|
312
327
|
}
|
|
@@ -361,9 +376,6 @@ function Switch$1({ className, ...props }) {
|
|
|
361
376
|
}
|
|
362
377
|
|
|
363
378
|
export {
|
|
364
|
-
Alert,
|
|
365
|
-
AlertTitle,
|
|
366
|
-
AlertDescription,
|
|
367
379
|
FieldGroup,
|
|
368
380
|
Field,
|
|
369
381
|
FieldLabel,
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
CodeXml
|
|
3
|
-
} from "./chunk-GLH2GWMG.js";
|
|
4
|
-
import {
|
|
2
|
+
CodeXml,
|
|
5
3
|
cn
|
|
6
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VDEUVEWL.js";
|
|
7
5
|
|
|
8
6
|
// web/app/dist/server/assets/ipython-tool-CDVrvb3W.js
|
|
9
7
|
import React, { memo, useEffect, useMemo, useRef, useState } from "react";
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
// web/app/dist/server/assets/ease-D02DPvyM.js
|
|
2
|
+
var EASE_OUT = [
|
|
3
|
+
0.16,
|
|
4
|
+
1,
|
|
5
|
+
0.3,
|
|
6
|
+
1
|
|
7
|
+
];
|
|
8
|
+
var EASE_IN_OUT = [
|
|
9
|
+
0.77,
|
|
10
|
+
0,
|
|
11
|
+
0.175,
|
|
12
|
+
1
|
|
13
|
+
];
|
|
14
|
+
var EASE_DRAWER = [
|
|
15
|
+
0.32,
|
|
16
|
+
0.72,
|
|
17
|
+
0,
|
|
18
|
+
1
|
|
19
|
+
];
|
|
20
|
+
var EASE_OUT_CSS = "cubic-bezier(0.16, 1, 0.3, 1)";
|
|
21
|
+
var SPRING_PRESS = {
|
|
22
|
+
type: "spring",
|
|
23
|
+
stiffness: 500,
|
|
24
|
+
damping: 30,
|
|
25
|
+
mass: 0.6
|
|
26
|
+
};
|
|
27
|
+
var SPRING_SWAP = {
|
|
28
|
+
type: "spring",
|
|
29
|
+
stiffness: 460,
|
|
30
|
+
damping: 30,
|
|
31
|
+
mass: 0.55
|
|
32
|
+
};
|
|
33
|
+
var SPRING_LAYOUT = {
|
|
34
|
+
type: "spring",
|
|
35
|
+
stiffness: 360,
|
|
36
|
+
damping: 32,
|
|
37
|
+
mass: 0.6
|
|
38
|
+
};
|
|
39
|
+
var SPRING_GLIDE = {
|
|
40
|
+
stiffness: 700,
|
|
41
|
+
damping: 50,
|
|
42
|
+
mass: 0.5
|
|
43
|
+
};
|
|
44
|
+
var spring = {
|
|
45
|
+
fast: {
|
|
46
|
+
enter: {
|
|
47
|
+
type: "spring",
|
|
48
|
+
duration: 0.08,
|
|
49
|
+
bounce: 0
|
|
50
|
+
},
|
|
51
|
+
exit: { duration: 0.06 }
|
|
52
|
+
},
|
|
53
|
+
moderate: {
|
|
54
|
+
enter: {
|
|
55
|
+
type: "spring",
|
|
56
|
+
duration: 0.16,
|
|
57
|
+
bounce: 0
|
|
58
|
+
},
|
|
59
|
+
exit: { duration: 0.12 }
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
export {
|
|
64
|
+
EASE_OUT,
|
|
65
|
+
EASE_IN_OUT,
|
|
66
|
+
EASE_DRAWER,
|
|
67
|
+
EASE_OUT_CSS,
|
|
68
|
+
SPRING_PRESS,
|
|
69
|
+
SPRING_SWAP,
|
|
70
|
+
SPRING_LAYOUT,
|
|
71
|
+
SPRING_GLIDE,
|
|
72
|
+
spring
|
|
73
|
+
};
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
toJSONSchema
|
|
5
5
|
} from "./chunk-6JOAWERA.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@openuidev+lang-core@0.3.2_@modelcontextprotocol+sdk@1.
|
|
7
|
+
// node_modules/.pnpm/@openuidev+lang-core@0.3.2_@modelcontextprotocol+sdk@1.32.1_supports-color@8.1.1_zod@4.6.5__zod@4.6.5/node_modules/@openuidev/lang-core/dist/shared-Dzgc28Wo.mjs
|
|
8
8
|
var TELEMETRY_REQUEST_TIMEOUT_MS = 2e3;
|
|
9
9
|
function getPostHogConfig(env) {
|
|
10
10
|
const host = env?.["OPENUI_POSTHOG_HOST"] ?? "https://dgoeivjus9jfp.cloudfront.net";
|
|
@@ -46,7 +46,7 @@ function normalizeRepositoryPath(repositoryPath) {
|
|
|
46
46
|
return repositoryPath.trim().replace(/\\/g, "/").replace(/^\/+|\/+$/g, "").replace(/\.git$/i, "");
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
// node_modules/.pnpm/@openuidev+lang-core@0.3.2_@modelcontextprotocol+sdk@1.
|
|
49
|
+
// node_modules/.pnpm/@openuidev+lang-core@0.3.2_@modelcontextprotocol+sdk@1.32.1_supports-color@8.1.1_zod@4.6.5__zod@4.6.5/node_modules/@openuidev/lang-core/dist/index.mjs
|
|
50
50
|
var SYSTEM_PROMPT_EVENT_NAME = "lang_core_system_prompt_generation_used";
|
|
51
51
|
var PARSER_PARSE_EVENT_NAME = "lang_core_parser_parse_used";
|
|
52
52
|
var SYSTEM_PROMPT_SAMPLE_RATE = 0.1;
|
|
@@ -4137,7 +4137,7 @@ var BUS_KEY = /* @__PURE__ */ Symbol.for("openui.observability");
|
|
|
4137
4137
|
var store = globalThis;
|
|
4138
4138
|
var observability = store[BUS_KEY] ??= createObservability();
|
|
4139
4139
|
|
|
4140
|
-
// node_modules/.pnpm/@openuidev+react-lang@0.3.2_@modelcontextprotocol+sdk@1.
|
|
4140
|
+
// node_modules/.pnpm/@openuidev+react-lang@0.3.2_@modelcontextprotocol+sdk@1.32.1_supports-color@8.1.1_zod@4_1de775beb5d918be551c4d5e0aa840f9/node_modules/@openuidev/react-lang/dist/exports-Cab8UG5o.mjs
|
|
4141
4141
|
import { Component, Fragment, createContext, useCallback, useContext, useEffect, useInsertionEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
4142
4142
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4143
4143
|
var DEVTOOLS_LIBRARIES_KEY = /* @__PURE__ */ Symbol.for("openui.devtools.libraries");
|
|
@@ -4897,7 +4897,7 @@ function useCreateFormValidation() {
|
|
|
4897
4897
|
]);
|
|
4898
4898
|
}
|
|
4899
4899
|
|
|
4900
|
-
// node_modules/.pnpm/@openuidev+react-lang@0.3.2_@modelcontextprotocol+sdk@1.
|
|
4900
|
+
// node_modules/.pnpm/@openuidev+react-lang@0.3.2_@modelcontextprotocol+sdk@1.32.1_supports-color@8.1.1_zod@4_1de775beb5d918be551c4d5e0aa840f9/node_modules/@openuidev/react-lang/dist/index.mjs
|
|
4901
4901
|
if (process.env.NODE_ENV === "development") {
|
|
4902
4902
|
const AUTO_MOUNT_FLAG = /* @__PURE__ */ Symbol.for("openui.devtools.autoMount");
|
|
4903
4903
|
const flags = globalThis;
|
|
@@ -4906,7 +4906,7 @@ if (process.env.NODE_ENV === "development") {
|
|
|
4906
4906
|
Promise.resolve().then(() => {
|
|
4907
4907
|
if (typeof document === "undefined") return;
|
|
4908
4908
|
Promise.all([
|
|
4909
|
-
import("./dist-
|
|
4909
|
+
import("./dist-GQUZLXN5.js"),
|
|
4910
4910
|
import("react"),
|
|
4911
4911
|
import("react-dom/client")
|
|
4912
4912
|
]).then(([{ OpenUIDevtools }, React, ReactDOMClient]) => {
|