@vellumai/web 0.8.9-staging.1 → 0.8.9-staging.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/dist/assets/{BundleConfirmPage-p6PoFo-P.js → BundleConfirmPage-B3awgY58.js} +1 -1
- package/dist/assets/account-page-CdFdV8y0.js +1 -0
- package/dist/assets/{account-shell-mWbkdjh7.js → account-shell-Cocs5HAw.js} +1 -1
- package/dist/assets/{add-credits-modal-COZFg6LO.js → add-credits-modal-BVq_qeCW.js} +1 -1
- package/dist/assets/{advanced-page-BcEt2J3g.js → advanced-page-DCLclsA0.js} +1 -1
- package/dist/assets/ai-page-CLoNGPb4.js +1 -0
- package/dist/assets/{angular-html-CDXMmzLv.js → angular-html-EHq37VRB.js} +1 -1
- package/dist/assets/{angular-ts-CaUHVMjx.js → angular-ts-CyvnMw9x.js} +1 -1
- package/dist/assets/{api-D_w9HGm1.js → api-BI71B-Uu.js} +1 -1
- package/dist/assets/{api-key-screen-DbyDsrCh.js → api-key-screen-CUWb6IS5.js} +1 -1
- package/dist/assets/{apl-BTRFCz7X.js → apl-CDFqSPmq.js} +1 -1
- package/dist/assets/{app-html-cache-DZyE8zzT.js → app-html-cache-DNQd-TK8.js} +1 -1
- package/dist/assets/{archive-CeE0yzQG.js → archive-BmTrKV5M.js} +1 -1
- package/dist/assets/{archive-page-D2PmzZlQ.js → archive-page-BKyeIPgD.js} +1 -1
- package/dist/assets/arrow-up-BLnb2N1m.js +1 -0
- package/dist/assets/{assistant-feature-flag-store-BiEkLFvf.js → assistant-feature-flag-store-DKlK50CB.js} +1 -1
- package/dist/assets/{assistant-identity-store-CdxvXGiq.js → assistant-identity-store-dQ1LxIr0.js} +1 -1
- package/dist/assets/{assistant-status-panel-DpDMJx-N.js → assistant-status-panel-C6vrL0c9.js} +1 -1
- package/dist/assets/{astro-CKyX7s7R.js → astro-DwtMGmbh.js} +1 -1
- package/dist/assets/auth-store-B42fGh_X.js +6 -0
- package/dist/assets/{avatar-api-CWZvvL87.js → avatar-api-DfOXK3fL.js} +1 -1
- package/dist/assets/{bell-NxrwR0Jo.js → bell-C7RL04h4.js} +1 -1
- package/dist/assets/{billing-page-Boeh64OU.js → billing-page-BD0CrsQe.js} +3 -3
- package/dist/assets/{blade-Rzz0TE8c.js → blade-CxYcTDW-.js} +1 -1
- package/dist/assets/{bsl-DpFuAvE8.js → bsl-CVaQXkX-.js} +1 -1
- package/dist/assets/{bug-B4KAU7DN.js → bug-DDEBp29t.js} +1 -1
- package/dist/assets/{cairo-Bobk4atY.js → cairo-2Y07A7vZ.js} +1 -1
- package/dist/assets/{calendar-B2_jTx01.js → calendar-CP_Q3Aw6.js} +1 -1
- package/dist/assets/{capture-error-Di3WCQrq.js → capture-error-CHS1NpKj.js} +1 -1
- package/dist/assets/chevron-right-zTNPbA1m.js +1 -0
- package/dist/assets/{chevron-up-cXyM5mu2.js → chevron-up-D4oYMRNW.js} +1 -1
- package/dist/assets/{cobol-1CNEp2gA.js → cobol-B5bQhoAq.js} +1 -1
- package/dist/assets/{coffee-CCurbO7Q.js → coffee-CX-zNI46.js} +1 -1
- package/dist/assets/{command-palette-Ddl69DKF.js → command-palette-Dtg298nL.js} +1 -1
- package/dist/assets/{community-page-COMe3TOq.js → community-page-a5s8WDjn.js} +1 -1
- package/dist/assets/{connect-page-jZJ6gRVr.js → connect-page-DdXFLONh.js} +1 -1
- package/dist/assets/{contacts-gateway-Dzzr2RB0.js → contacts-gateway-DMN8Ph61.js} +1 -1
- package/dist/assets/contacts-page-route-Cq6lJQbs.js +1 -0
- package/dist/assets/{cpp-D8F2mhyx.js → cpp-D-wqygg_.js} +1 -1
- package/dist/assets/{crystal-BV5GbE2n.js → crystal-2rXzMO-C.js} +1 -1
- package/dist/assets/{danger-zone-redirect-page-qLWyglUT.js → danger-zone-redirect-page-C1n72GAh.js} +1 -1
- package/dist/assets/debug-page-BocDY1ql.js +3 -0
- package/dist/assets/{deploy-dialogs-DEaPwU4I.js → deploy-dialogs-DDSVO63U.js} +1 -1
- package/dist/assets/{detail-card-B-us8iM5.js → detail-card-p3YdFOs0.js} +1 -1
- package/dist/assets/developer-page-XjghwOa3.js +1 -0
- package/dist/assets/{devices-page-C1EjgTdX.js → devices-page-DPmzgLsB.js} +1 -1
- package/dist/assets/{dist-BagEH8Xp.js → dist-BmaCqMgD.js} +3 -3
- package/dist/assets/{document-viewer-page-BbNZ_Hav.js → document-viewer-page-BpM5LHph.js} +1 -1
- package/dist/assets/{dollar-sign-DjJlJMJx.js → dollar-sign-B-1DlpoB.js} +1 -1
- package/dist/assets/{domain-field-DiimaXlx.js → domain-field-cWBlWR4h.js} +1 -1
- package/dist/assets/{earn-credits-modal-CWJ3z13E.js → earn-credits-modal-BSS3nmKO.js} +1 -1
- package/dist/assets/{edge-wZlHrIuI.js → edge-DxiTxESb.js} +1 -1
- package/dist/assets/{elixir-CxYq-rkj.js → elixir-BqExV7Mb.js} +1 -1
- package/dist/assets/{ellipsis-vertical-BYI2M0Y_.js → ellipsis-vertical-Dxg526It.js} +1 -1
- package/dist/assets/{elm-BgDZWS-i.js → elm-DoHcZ_98.js} +1 -1
- package/dist/assets/{emails-page-HAwU0PG9.js → emails-page-Bk0vj0fq.js} +1 -1
- package/dist/assets/{erb-DBocu5OY.js → erb-T1Yd4grC.js} +1 -1
- package/dist/assets/{erlang-Dd9A6Ts8.js → erlang-sMV4xc3e.js} +1 -1
- package/dist/assets/esm-1cyO_Dwe.js +2 -0
- package/dist/assets/esm-BEOtDID8.js +2 -0
- package/dist/assets/esm-CKnKNlq7.js +2 -0
- package/dist/assets/{esm-g5en09UW.js → esm-Cq8mDp1x.js} +2 -2
- package/dist/assets/esm-D_q0hXcE.js +2 -0
- package/dist/assets/{external-link-CYugXYpk.js → external-link-BCB1rbW9.js} +1 -1
- package/dist/assets/feature-flag-catalog-DRHAOQnq.js +1 -0
- package/dist/assets/{file-markdown-CNb-AHAO.js → file-markdown-DX5x9ziL.js} +1 -1
- package/dist/assets/{fortran-fixed-form-DMrzopcc.js → fortran-fixed-form-DKnaUnzq.js} +1 -1
- package/dist/assets/{fsharp-C6m4Hy9y.js → fsharp-BizN7JaO.js} +1 -1
- package/dist/assets/{gdresource-YKD2wsBt.js → gdresource-C03Nu36p.js} +1 -1
- package/dist/assets/general-page-D3j594Oo.js +1 -0
- package/dist/assets/{git-commit-D3W81laO.js → git-commit-Dlbu4g9u.js} +1 -1
- package/dist/assets/{git-rebase-D7A-ZIs_.js → git-rebase-Bp5nCjBJ.js} +1 -1
- package/dist/assets/{glimmer-js-Kj1yb8GI.js → glimmer-js-BRNkuAjG.js} +1 -1
- package/dist/assets/{glimmer-ts-CMle0DS9.js → glimmer-ts-C-WDx-0B.js} +1 -1
- package/dist/assets/{globe-DZ63eZbH.js → globe-ByNYDdSW.js} +1 -1
- package/dist/assets/{glsl-CGs04uf3.js → glsl-CjrHb9ps.js} +1 -1
- package/dist/assets/{graphql-DTpeHwUI.js → graphql-vJOsI9Q0.js} +1 -1
- package/dist/assets/{hack-DCR-U-qQ.js → hack-TawZ7_H0.js} +1 -1
- package/dist/assets/{haml-Cp_ZrdH-.js → haml-Ck1tHO4J.js} +1 -1
- package/dist/assets/{handlebars-DTIya8Eo.js → handlebars-CW8KnsAX.js} +1 -1
- package/dist/assets/{hard-drive-wO6bPcoA.js → hard-drive-DKBjBUo8.js} +1 -1
- package/dist/assets/hatching-screen-Bt99zUZJ.js +1 -0
- package/dist/assets/home-page-route-D3TUK4jV.js +1 -0
- package/dist/assets/hosting-screen-p6SpMEAP.js +1 -0
- package/dist/assets/{html-CCPUpDrQ.js → html-Dni-tmtM.js} +1 -1
- package/dist/assets/{html-derivative-CoL1ACif.js → html-derivative-CxaJ6DvG.js} +1 -1
- package/dist/assets/{http-BjpN3wdH.js → http-Dp4EVAWP.js} +1 -1
- package/dist/assets/{hurl-BHqN3hsl.js → hurl-CSfNp96n.js} +1 -1
- package/dist/assets/{hxml-CthMTwgY.js → hxml-DHyd-nrX.js} +1 -1
- package/dist/assets/identity-page-route-DJlcDHiO.js +1 -0
- package/dist/assets/index-huyA6GAA.js +124 -0
- package/dist/assets/{inspect-page-Y-3HQoro.js → inspect-page-BjByL85Y.js} +2 -2
- package/dist/assets/{install-aIAefgSX.js → install-D1sXGhtS.js} +1 -1
- package/dist/assets/integrations-page-B8sn6FwZ.js +1 -0
- package/dist/assets/{intelligence-layout-DYIK-GwZ.js → intelligence-layout-D6eECwXX.js} +1 -1
- package/dist/assets/{jinja-Bn3xB2ml.js → jinja-CijccQJ8.js} +1 -1
- package/dist/assets/{jison-BX4oePNj.js → jison-Bt8ZjqFZ.js} +1 -1
- package/dist/assets/{julia-DU_-trts.js → julia-BiriYc35.js} +1 -1
- package/dist/assets/{just-CyokZPsE.js → just-DHvFRFSz.js} +1 -1
- package/dist/assets/{keyboard-shortcuts-page-nlhuxBKZ.js → keyboard-shortcuts-page-BhhPJPUZ.js} +1 -1
- package/dist/assets/{latex-CHvXrGPz.js → latex-Dyl4S9re.js} +1 -1
- package/dist/assets/{lib-Bq3kPGq-.js → lib-B8eh8Q36.js} +1 -1
- package/dist/assets/{library-detail-page-DkG1qTGp.js → library-detail-page-Dd8De1-U.js} +1 -1
- package/dist/assets/{library-page-Cb9eaPfO.js → library-page-C8dQhgrB.js} +1 -1
- package/dist/assets/{link-2-DFhelG7P.js → link-2-BHdo-6Lp.js} +1 -1
- package/dist/assets/{liquid-Bs4Sb-po.js → liquid-BB4lKYGB.js} +1 -1
- package/dist/assets/loader-circle-BSAFLoPH.js +1 -0
- package/dist/assets/{login-flow-E2FJkpFg.js → login-flow-Cuwt4mrG.js} +1 -1
- package/dist/assets/login-page-BguNHtTH.js +1 -0
- package/dist/assets/logout-page-CtDodoJu.js +1 -0
- package/dist/assets/{logs-layout-Dd6YucHg.js → logs-layout-B_84Z561.js} +1 -1
- package/dist/assets/{lua-Dlulix5z.js → lua-BvVuKqEk.js} +1 -1
- package/dist/assets/{marko-BKY8xXbp.js → marko-S1DsBE-c.js} +1 -1
- package/dist/assets/{mdc-DUJqLRSQ.js → mdc-Dh4PJVso.js} +1 -1
- package/dist/assets/{memory-router-playground-page-C9Bunjup.js → memory-router-playground-page-CPs-DoJJ.js} +1 -1
- package/dist/assets/{minimize-2-BEDsyPze.js → minimize-2-CXA_X5M9.js} +1 -1
- package/dist/assets/{misc-BllImtEn.js → misc-MEUnNRwX.js} +1 -1
- package/dist/assets/{mobile-sidebar-drawer-BMjmzJIM.js → mobile-sidebar-drawer-BBBoMNDQ.js} +1 -1
- package/dist/assets/{native-file-uqYhUlky.js → native-file-DGi6pF3I.js} +2 -2
- package/dist/assets/{nextflow-7_68OVU_.js → nextflow-BE6HS58m.js} +1 -1
- package/dist/assets/{nginx-eipJu1bl.js → nginx-BZIz2mri.js} +1 -1
- package/dist/assets/{nim-CYnL-Wir.js → nim-DTA68UpI.js} +1 -1
- package/dist/assets/{notifications-page-BQVUPJrc.js → notifications-page-CSruNOwo.js} +1 -1
- package/dist/assets/{oauth-complete-page-GCeZ7H70.js → oauth-complete-page-Dv5sEaYc.js} +1 -1
- package/dist/assets/{oauth-popup-complete-page-v7G3PUyR.js → oauth-popup-complete-page-DqhxXOCy.js} +1 -1
- package/dist/assets/{onboarding-layout-CAwJlju5.js → onboarding-layout-nxxfibR6.js} +1 -1
- package/dist/assets/{page-shell-DHcdwoAZ.js → page-shell-BvU7-SpG.js} +1 -1
- package/dist/assets/{password-reset-page-qJLxcjME.js → password-reset-page-CITHzWIy.js} +1 -1
- package/dist/assets/{pencil-ulB7Z-e-.js → pencil-BA9LOIzP.js} +1 -1
- package/dist/assets/{perl-D0xJm_ah.js → perl-G6ZZQsfy.js} +1 -1
- package/dist/assets/{php-DNtH2WpS.js → php-BeUbGztq.js} +1 -1
- package/dist/assets/platform-loopback-page-0hrfUaHR.js +1 -0
- package/dist/assets/{plugin-detail-page-T0e3dY-Z.js → plugin-detail-page-D7g58Res.js} +1 -1
- package/dist/assets/{plugins-page-ynhoZs-n.js → plugins-page-DhaomETq.js} +1 -1
- package/dist/assets/pre-chat-flow-BGFr092Z.js +1 -0
- package/dist/assets/privacy-page-ClS4RliD.js +1 -0
- package/dist/assets/privacy-screen-C1f6uXlf.js +1 -0
- package/dist/assets/provider-callback-page-wX355rfV.js +1 -0
- package/dist/assets/{provider-key-BittA9TY.js → provider-key-D_Hh-rHb.js} +1 -1
- package/dist/assets/provider-signup-page-hIJUJSSj.js +1 -0
- package/dist/assets/{pug-DEPEeomQ.js → pug-D45MnfGZ.js} +1 -1
- package/dist/assets/{qml-C9mVjGBN.js → qml-COPmH2mF.js} +1 -1
- package/dist/assets/{query-tags-CXf0mBKU.js → query-tags-C5nJRH2G.js} +1 -1
- package/dist/assets/{quick-input-page-5mI3RTsv.js → quick-input-page-nd4iN-tG.js} +1 -1
- package/dist/assets/{razor-Cyg4V1EK.js → razor-CQW42Ogp.js} +1 -1
- package/dist/assets/{react-query.gen-Cj6WQdON.js → react-query.gen-B8xaBreR.js} +1 -1
- package/dist/assets/{resize-errors-qjdyi4GX.js → resize-errors-Bo2cfbax.js} +1 -1
- package/dist/assets/resolved-assistants-store-BPUbuIhU.js +1 -0
- package/dist/assets/{rst-BiUNp2Fv.js → rst-C9ZVT0AG.js} +1 -1
- package/dist/assets/{ruby-Bddxezn1.js → ruby-DDticLOn.js} +1 -1
- package/dist/assets/{sas-DAUEkM7Z.js → sas-C5rCQJBu.js} +1 -1
- package/dist/assets/{save-Cg454LRm.js → save-DHFrLI4J.js} +1 -1
- package/dist/assets/{schedules-BTZchh0D.js → schedules-BF9QTfJF.js} +1 -1
- package/dist/assets/schedules-page-BUe5podp.js +1 -0
- package/dist/assets/{scss-BlEtTolU.js → scss-CLfSZysM.js} +1 -1
- package/dist/assets/{sdk.gen-BnTFwWLf.js → sdk.gen-DyGxpG-m.js} +1 -1
- package/dist/assets/select-assistant-screen-NkZxtTj0.js +1 -0
- package/dist/assets/{settings-layout-D402PkLd.js → settings-layout-DLZ0sfT0.js} +1 -1
- package/dist/assets/{shaderlab-BH1Q2CVQ.js → shaderlab-BEussGgZ.js} +1 -1
- package/dist/assets/{share-feedback-modal-Ct3bOmhU.js → share-feedback-modal-Jrjiyv4t.js} +1 -1
- package/dist/assets/{shellsession-BdTXj0Sh.js → shellsession-DA8c5lD0.js} +1 -1
- package/dist/assets/{sidebar-tree-Dduanhwq.js → sidebar-tree-DP2ML6Hm.js} +1 -1
- package/dist/assets/signup-page-C1mPrkCl.js +1 -0
- package/dist/assets/skills-page-CZ8ZrRO2.js +1 -0
- package/dist/assets/{sounds-page-BmRneQW4.js → sounds-page-BdseS_eV.js} +1 -1
- package/dist/assets/{soy-B-FcVSYk.js → soy-CBeww7qH.js} +1 -1
- package/dist/assets/{sparql-BjDARHNL.js → sparql-DOILO3Ud.js} +1 -1
- package/dist/assets/{src-BqiaDQPO.js → src-Bb-Updum.js} +1 -1
- package/dist/assets/{stata-Y4GvktLE.js → stata-D4jcvFy6.js} +1 -1
- package/dist/assets/{step-indicator-dots-DpYYCL7E.js → step-indicator-dots-DdSrkrW1.js} +1 -1
- package/dist/assets/{subagent-detail-panel-DCmHp5r5.js → subagent-detail-panel-B-8VytBJ.js} +2 -2
- package/dist/assets/{surrealql-BDSKZaSH.js → surrealql-B68HrEZ7.js} +1 -1
- package/dist/assets/{svelte-CtuvIFmj.js → svelte-93u-3tLs.js} +1 -1
- package/dist/assets/{system-events-page-BOZOscuS.js → system-events-page-CiJEKEpf.js} +1 -1
- package/dist/assets/{system-events-redirect-page-Dq1fO1WL.js → system-events-redirect-page-D8VaQd_Y.js} +1 -1
- package/dist/assets/{target-3RiNSDOr.js → target-BMMY7Kql.js} +1 -1
- package/dist/assets/{templ-eJUdwoXg.js → templ-Ctw_ylZL.js} +1 -1
- package/dist/assets/{tex-CIRkYPu6.js → tex-M6sV0M4v.js} +1 -1
- package/dist/assets/{tiptap-document-editor-DSeOYXTN.js → tiptap-document-editor-DSz9Muk5.js} +2 -2
- package/dist/assets/toast-DU1nH33j.js +1 -0
- package/dist/assets/{tool-detail-panel-DvZGjmRf.js → tool-detail-panel-BuGhhRkJ.js} +1 -1
- package/dist/assets/{trace-page-OVXfT7ig.js → trace-page-D0oeulsA.js} +1 -1
- package/dist/assets/{ts-tags-Cza2ueQC.js → ts-tags-Qp4WvCJw.js} +1 -1
- package/dist/assets/{twig-CXZQ9Ol2.js → twig-CogzkHzb.js} +1 -1
- package/dist/assets/{upgrade-cancel-page-CbjsDz_I.js → upgrade-cancel-page-J6RxeCJF.js} +1 -1
- package/dist/assets/{upgrade-success-page-BT3slnw3.js → upgrade-success-page-DWRG6dph.js} +1 -1
- package/dist/assets/{usage-page-GlfQOrlv.js → usage-page-Ct7wtgvo.js} +1 -1
- package/dist/assets/{use-active-assistant-id--1Ick1YC.js → use-active-assistant-id-DpqDbjpv.js} +1 -1
- package/dist/assets/{use-bus-subscription-r105Upoa.js → use-bus-subscription-BI50lMh8.js} +1 -1
- package/dist/assets/{use-current-platform-assistant-D-5r_x8u.js → use-current-platform-assistant-DqEaNqDa.js} +1 -1
- package/dist/assets/use-is-org-ready-gL2RDSDC.js +1 -0
- package/dist/assets/{use-oauth-complete-deep-link-listener-DxjdcVr0.js → use-oauth-complete-deep-link-listener-zk0Iiz2U.js} +1 -1
- package/dist/assets/use-onboarding-login-5pXYUom8.js +1 -0
- package/dist/assets/{utils-BQby93tO.js → utils-Csn9OVRE.js} +1 -1
- package/dist/assets/{viewer-store-DIa3mbc-.js → viewer-store-CYMgwLgL.js} +1 -1
- package/dist/assets/{voice-page-DBuSoStd.js → voice-page-BeQ1jrbT.js} +1 -1
- package/dist/assets/{vue-BHoLyUei.js → vue-CKYV05Wl.js} +1 -1
- package/dist/assets/{vue-html-DkcwChpt.js → vue-html-CD969jd0.js} +1 -1
- package/dist/assets/{vue-vine-CWaGKpZ6.js → vue-vine-BPU_80oA.js} +1 -1
- package/dist/assets/{wand-sparkles-CEPQLm45.js → wand-sparkles-DL9Oe56R.js} +1 -1
- package/dist/assets/{weather-forecast-display-FVtVZmTZ.js → weather-forecast-display-gXPyN50a.js} +1 -1
- package/dist/assets/{web-St4pj-6p.js → web-81P05QJK.js} +1 -1
- package/dist/assets/{web-ByC97zP5.js → web-B68nJ7ai.js} +1 -1
- package/dist/assets/{web-BURo-fbJ.js → web-BlSJr8aG.js} +1 -1
- package/dist/assets/{web-Bladjo1x.js → web-CfwMwwrz.js} +1 -1
- package/dist/assets/{web-D4HuJomW.js → web-DKAZspRj.js} +1 -1
- package/dist/assets/{web-DhGMOrai.js → web-DXzLDFAU.js} +1 -1
- package/dist/assets/{web-BoYC6fGC.js → web-DlmN0_gd.js} +1 -1
- package/dist/assets/welcome-screen-D8nrJg_G.js +1 -0
- package/dist/assets/workspace-page-PLWAlvDU.js +1 -0
- package/dist/assets/x-BDqbYVtS.js +1 -0
- package/dist/assets/{xml-CUVPRfsD.js → xml-B-TXQRmh.js} +1 -1
- package/dist/assets/{xsl-imDMVavE.js → xsl-hDlDZuus.js} +1 -1
- package/dist/index.html +53 -55
- package/package.json +1 -1
- package/dist/assets/account-page-CXZMoObS.js +0 -1
- package/dist/assets/ai-page-DYFuxo_7.js +0 -1
- package/dist/assets/arrow-up-BfbWaCwD.js +0 -1
- package/dist/assets/auth-store-RIjuTM3X.js +0 -1
- package/dist/assets/chevron-right-DF2EzMUB.js +0 -1
- package/dist/assets/contacts-page-route-lxxkveBK.js +0 -1
- package/dist/assets/debug-page-wZauraKd.js +0 -3
- package/dist/assets/developer-page-YiIciPaV.js +0 -1
- package/dist/assets/esm-BuFsuxJb.js +0 -2
- package/dist/assets/esm-CqsAL_eV.js +0 -2
- package/dist/assets/esm-D_3mHrKn.js +0 -2
- package/dist/assets/esm-t46uzkal.js +0 -2
- package/dist/assets/feature-flag-catalog-OHgjjRa5.js +0 -1
- package/dist/assets/general-page-C0EPZJvL.js +0 -1
- package/dist/assets/hatching-screen-B2hk7GXP.js +0 -1
- package/dist/assets/home-page-route-Dr56dr0q.js +0 -1
- package/dist/assets/hosting-screen-DgRRwkuU.js +0 -1
- package/dist/assets/identity-page-route-OErxaFHE.js +0 -1
- package/dist/assets/index-DTWPgS5K.js +0 -124
- package/dist/assets/integrations-page-B7Tul8x3.js +0 -1
- package/dist/assets/loader-circle-B9sFQ7nF.js +0 -1
- package/dist/assets/local-mode-Cx_DqCMC.js +0 -1
- package/dist/assets/login-page-DLNq7ol2.js +0 -1
- package/dist/assets/logout-page-CcNgLKFy.js +0 -1
- package/dist/assets/native-biometric-CfMWTyzx.js +0 -6
- package/dist/assets/platform-loopback-page-Dh4Fk6vZ.js +0 -1
- package/dist/assets/pre-chat-flow-CuvP36-0.js +0 -1
- package/dist/assets/privacy-page-e7nbmXwD.js +0 -1
- package/dist/assets/privacy-screen-JbcO_xgm.js +0 -1
- package/dist/assets/provider-callback-page-Cdtz4Epz.js +0 -1
- package/dist/assets/provider-signup-page-CATLdFQn.js +0 -1
- package/dist/assets/resolved-assistants-store-em3zt7_3.js +0 -1
- package/dist/assets/schedules-page-BdaO92vz.js +0 -1
- package/dist/assets/select-assistant-screen-C0EP-6wf.js +0 -1
- package/dist/assets/signup-page-1C3Lfl0s.js +0 -1
- package/dist/assets/skills-page-BB1Ne-8V.js +0 -1
- package/dist/assets/toast-3Fi9QU7z.js +0 -1
- package/dist/assets/use-is-org-ready-okrWrmTt.js +0 -1
- package/dist/assets/welcome-screen-bOpdZmIK.js +0 -1
- package/dist/assets/workspace-page-DoXLAgOy.js +0 -1
- package/dist/assets/x-D0wgTl3V.js +0 -1
- /package/dist/assets/{abap-C4iPiDIu.js → abap-C765urHY.js} +0 -0
- /package/dist/assets/{about-page-COonOOTU.js → about-page-M03PCQjM.js} +0 -0
- /package/dist/assets/{actionscript-3-gKpUxVX1.js → actionscript-3-lC5SPJIn.js} +0 -0
- /package/dist/assets/{ada-BNfMfhXG.js → ada-D6z3_0sc.js} +0 -0
- /package/dist/assets/{andromeeda-DLZ1RhgM.js → andromeeda-DxGTh_os.js} +0 -0
- /package/dist/assets/{apache-CmXtX8w8.js → apache-rkls1DSR.js} +0 -0
- /package/dist/assets/{apex-DQ3YjsTJ.js → apex-CNQCNeA7.js} +0 -0
- /package/dist/assets/{api-errors-DApr8J5Z.js → api-errors-D7n5QJzS.js} +0 -0
- /package/dist/assets/{applescript-CoELsxRV.js → applescript-DQYsaxRM.js} +0 -0
- /package/dist/assets/{ara-BLqTzepa.js → ara-Zm0W1ER8.js} +0 -0
- /package/dist/assets/{asciidoc-Bu3NXNp3.js → asciidoc-uekNNlKP.js} +0 -0
- /package/dist/assets/{asm-hlDTKcRV.js → asm-Bbxb9Q7N.js} +0 -0
- /package/dist/assets/{aurora-x-Y3rL1Mno.js → aurora-x-CaQsey3l.js} +0 -0
- /package/dist/assets/{avatar-bundled-components-DC9a0Ily.js → avatar-bundled-components-CrafToy8.js} +0 -0
- /package/dist/assets/{avatar-svg-compositor-CE52Zi2F.js → avatar-svg-compositor-krWs9LGY.js} +0 -0
- /package/dist/assets/{awk-fqp6puV8.js → awk-CNSoW6F_.js} +0 -0
- /package/dist/assets/{ayu-dark-8m2thfgS.js → ayu-dark-D3cTidcI.js} +0 -0
- /package/dist/assets/{ayu-light-B_LzrLW4.js → ayu-light-Cs1cEPZA.js} +0 -0
- /package/dist/assets/{ayu-mirage-C408gKdx.js → ayu-mirage-xGyelbjm.js} +0 -0
- /package/dist/assets/{ballerina-Dzhgw61p.js → ballerina-UrfaUWaS.js} +0 -0
- /package/dist/assets/{bat-CM0nyl3e.js → bat-BSseGlJ2.js} +0 -0
- /package/dist/assets/{beancount-DS2zW2gu.js → beancount-BME0bq77.js} +0 -0
- /package/dist/assets/{berry-CFa7Vgeg.js → berry-BbmX7W94.js} +0 -0
- /package/dist/assets/{bibtex-BgrhWGNJ.js → bibtex-Bj1CNNvW.js} +0 -0
- /package/dist/assets/{bicep-DtHaVZsZ.js → bicep-BSN2uHnH.js} +0 -0
- /package/dist/assets/{bird2-CwlVhixU.js → bird2-DKVBk6e_.js} +0 -0
- /package/dist/assets/{c-DHEwyzyt.js → c-yTfbDbmI.js} +0 -0
- /package/dist/assets/{c3-BjbJ1SWk.js → c3-Tbt7gffV.js} +0 -0
- /package/dist/assets/{cadence-D5TkDw9F.js → cadence-DQUV1O6z.js} +0 -0
- /package/dist/assets/{catppuccin-frappe-AYmKAKbn.js → catppuccin-frappe-DxbhXt9K.js} +0 -0
- /package/dist/assets/{catppuccin-latte-rgEci-mq.js → catppuccin-latte-CgFlEQYs.js} +0 -0
- /package/dist/assets/{catppuccin-macchiato-DK631o7w.js → catppuccin-macchiato-Pgo0Bz4Y.js} +0 -0
- /package/dist/assets/{catppuccin-mocha-Dxwp0FIj.js → catppuccin-mocha-CUd4v5ay.js} +0 -0
- /package/dist/assets/{clarity-RpeFvelS.js → clarity-Cja2-cF9.js} +0 -0
- /package/dist/assets/{client.gen-CsQeNtuq.js → client.gen-NLWYTfk-.js} +0 -0
- /package/dist/assets/{clojure-CRAC2t-A.js → clojure-1vnBLaIC.js} +0 -0
- /package/dist/assets/{clsx-BcPLHiun.js → clsx-CyUKbFfa.js} +0 -0
- /package/dist/assets/{cmake-CR_x8y9A.js → cmake-B7nBRZe5.js} +0 -0
- /package/dist/assets/{codeowners-DCE2DWuf.js → codeowners-l0-p2hBj.js} +0 -0
- /package/dist/assets/{codeql-DsaJqgmb.js → codeql-CZegxzQJ.js} +0 -0
- /package/dist/assets/{common-lisp-ssblfVQ2.js → common-lisp-BwWhYub9.js} +0 -0
- /package/dist/assets/{conversation-store-BB-CCPz4.js → conversation-store-BEgf__eu.js} +0 -0
- /package/dist/assets/{coq-CHVp-7H5.js → coq-DXStvgQ7.js} +0 -0
- /package/dist/assets/{createLucideIcon-BjZY5k1w.js → createLucideIcon-D6d6iDdi.js} +0 -0
- /package/dist/assets/{csharp-DI5xNuVa.js → csharp-DLXmY1sb.js} +0 -0
- /package/dist/assets/{css-cWOM3a0B.js → css-B4lldM37.js} +0 -0
- /package/dist/assets/{csv-Bpv-AoF-.js → csv-DGudciUq.js} +0 -0
- /package/dist/assets/{cue-DDYtbxe3.js → cue-D53528FL.js} +0 -0
- /package/dist/assets/{cypher-llXjaNz7.js → cypher-Bv8Z4GK2.js} +0 -0
- /package/dist/assets/{d-CKAGFvTZ.js → d-B0tR3tAH.js} +0 -0
- /package/dist/assets/{dark-plus-rkBkJwdk.js → dark-plus-DxGtsBDC.js} +0 -0
- /package/dist/assets/{dart-DMYKlTVD.js → dart-BKofA41x.js} +0 -0
- /package/dist/assets/{dax-DdvjFH0V.js → dax-Dd0gvVZ0.js} +0 -0
- /package/dist/assets/{definitions-BNrrmgWe.js → definitions-FC3DcvI3.js} +0 -0
- /package/dist/assets/{desktop-w1vLnVHT.js → desktop-BbJezzxJ.js} +0 -0
- /package/dist/assets/{diff-OeXZvF1L.js → diff-CPVWfCck.js} +0 -0
- /package/dist/assets/{dist-C49TvNNR.js → dist-tjvu6D4z.js} +0 -0
- /package/dist/assets/{docker-C3A0dfO2.js → docker-BUIA6Gjt.js} +0 -0
- /package/dist/assets/{dotenv-DW1eN_9r.js → dotenv-BLms_imc.js} +0 -0
- /package/dist/assets/{dracula-DTBIfZ52.js → dracula-CFX8u3fe.js} +0 -0
- /package/dist/assets/{dracula-soft-CrJWuJGa.js → dracula-soft-DIr29C0b.js} +0 -0
- /package/dist/assets/{dream-maker-BbcHsNud.js → dream-maker-D1q7VQg6.js} +0 -0
- /package/dist/assets/{edit-chat-session-Bn0bAlP1.js → edit-chat-session-Cx2xnSSj.js} +0 -0
- /package/dist/assets/{effective-timezone-CJWCpcyG.js → effective-timezone-CKEcAtDc.js} +0 -0
- /package/dist/assets/{emacs-lisp-CXlankGO.js → emacs-lisp-BcZ9rlnt.js} +0 -0
- /package/dist/assets/{emoji-catalog-data-DvyOWL-F.js → emoji-catalog-data-ZbE1lqD6.js} +0 -0
- /package/dist/assets/{event-bus-WRYwtHDl.js → event-bus-Dz-RECxQ.js} +0 -0
- /package/dist/assets/{everforest-dark-B2pu_HKn.js → everforest-dark-BQBBmI9l.js} +0 -0
- /package/dist/assets/{everforest-light-DN0BkMBf.js → everforest-light-Cuh0ru8h.js} +0 -0
- /package/dist/assets/{fennel-Cr6woGT-.js → fennel-BpqBXoBR.js} +0 -0
- /package/dist/assets/{fish-BJg8G7KS.js → fish-DyYYr9bo.js} +0 -0
- /package/dist/assets/{fluent-DwMQdbwA.js → fluent-LgrDR_-H.js} +0 -0
- /package/dist/assets/{format-Bbxbyy7J.js → format-VxJLq14L.js} +0 -0
- /package/dist/assets/{format-date-CdAgBadL.js → format-date-lYqfuFdi.js} +0 -0
- /package/dist/assets/{format-file-size-Cikb_8y_.js → format-file-size-DoJEps-h.js} +0 -0
- /package/dist/assets/{fortran-free-form-CzTB9Sqt.js → fortran-free-form-zxo4vZkI.js} +0 -0
- /package/dist/assets/{gdscript-weUeMolr.js → gdscript-8-sj85Vb.js} +0 -0
- /package/dist/assets/{gdshader-iWAUzgYh.js → gdshader-BZfJmuLj.js} +0 -0
- /package/dist/assets/{genie-CV-0RB6d.js → genie-BFvJfKnC.js} +0 -0
- /package/dist/assets/{gherkin-Bi25xuBx.js → gherkin-CPWjfG76.js} +0 -0
- /package/dist/assets/{github-dark-UUFXF3bS.js → github-dark-CDP4O7Bn.js} +0 -0
- /package/dist/assets/{github-dark-default-C5WdYtsR.js → github-dark-default-BcXmigOb.js} +0 -0
- /package/dist/assets/{github-dark-dimmed-CJFXRI6Q.js → github-dark-dimmed-5_i38q35.js} +0 -0
- /package/dist/assets/{github-dark-high-contrast-JloQ0SAJ.js → github-dark-high-contrast-_CgCWILr.js} +0 -0
- /package/dist/assets/{github-light-4CveJiiC.js → github-light-B51iW2_d.js} +0 -0
- /package/dist/assets/{github-light-default-DGIOayrf.js → github-light-default-WJu0iiQj.js} +0 -0
- /package/dist/assets/{github-light-high-contrast-DOA9HriW.js → github-light-high-contrast-CvbJyaey.js} +0 -0
- /package/dist/assets/{gleam-CKtDvnYK.js → gleam-DRz17LOo.js} +0 -0
- /package/dist/assets/{gn-lpxxrUCu.js → gn-CJhzP-4V.js} +0 -0
- /package/dist/assets/{gnuplot-BhYvNHXT.js → gnuplot-BWrGxdNu.js} +0 -0
- /package/dist/assets/{go-CGiDqZ23.js → go-CNIAodSs.js} +0 -0
- /package/dist/assets/{google-logo-uJcTP3BJ.js → google-logo-mNxCGWd3.js} +0 -0
- /package/dist/assets/{groovy-CGHX_PQL.js → groovy-Dbr7YtTJ.js} +0 -0
- /package/dist/assets/{gruvbox-dark-hard-WxeIxO0x.js → gruvbox-dark-hard-BRDuiL2M.js} +0 -0
- /package/dist/assets/{gruvbox-dark-medium-BrLRvqzP.js → gruvbox-dark-medium-BSHS7XsT.js} +0 -0
- /package/dist/assets/{gruvbox-dark-soft-Yzi926sT.js → gruvbox-dark-soft-D5sY56aX.js} +0 -0
- /package/dist/assets/{gruvbox-light-hard-Cw9Re-rI.js → gruvbox-light-hard-Crga28iX.js} +0 -0
- /package/dist/assets/{gruvbox-light-medium-4lcJ4wOe.js → gruvbox-light-medium-DYI_fIXR.js} +0 -0
- /package/dist/assets/{gruvbox-light-soft-CXfwWDtY.js → gruvbox-light-soft-DGrx7O6I.js} +0 -0
- /package/dist/assets/{haskell-DBidNlOX.js → haskell-s3USba_s.js} +0 -0
- /package/dist/assets/{haxe-B6ZewxKA.js → haxe-DHVuHtAU.js} +0 -0
- /package/dist/assets/{hcl-BKeuz7gp.js → hcl-CibSb2Tt.js} +0 -0
- /package/dist/assets/{hjson-rgQbq9_i.js → hjson-MSVmDATS.js} +0 -0
- /package/dist/assets/{hlsl-D7KFXCoM.js → hlsl-wPjA7f4R.js} +0 -0
- /package/dist/assets/{horizon-DAiINwqJ.js → horizon-DSv_Vl7g.js} +0 -0
- /package/dist/assets/{horizon-bright-CFeHelVZ.js → horizon-bright-BhWyww1y.js} +0 -0
- /package/dist/assets/{houston-BdHxI9BK.js → houston-kqxIENiP.js} +0 -0
- /package/dist/assets/{hy-CDDbmdhC.js → hy-CcDNvXBw.js} +0 -0
- /package/dist/assets/{imba-CwLWOt59.js → imba-ClQFmFPP.js} +0 -0
- /package/dist/assets/{impersonate-version-flag-D_S9-Z77.js → impersonate-version-flag-DXEwev6c.js} +0 -0
- /package/dist/assets/{ini-Bwb6xY8F.js → ini-DuVrbFYV.js} +0 -0
- /package/dist/assets/{java-CDWeyxES.js → java-79Va6bJc.js} +0 -0
- /package/dist/assets/{javascript-BN3vpbN8.js → javascript-wLwe9AbG.js} +0 -0
- /package/dist/assets/{json-CycFWZcg.js → json-DlXFKBYE.js} +0 -0
- /package/dist/assets/{json5-BM_H1TCH.js → json5-CkCkKH3E.js} +0 -0
- /package/dist/assets/{jsonc-EUMfb5CQ.js → jsonc-0Xq7tyz4.js} +0 -0
- /package/dist/assets/{jsonl-DvZe68u2.js → jsonl-FSPvpkq2.js} +0 -0
- /package/dist/assets/{jsonnet-BG4vdzZ4.js → jsonnet-BSv69JRS.js} +0 -0
- /package/dist/assets/{jssm-DNeKUJR3.js → jssm-CyIoWSxC.js} +0 -0
- /package/dist/assets/{jsx-jfTE_lQA.js → jsx-AdZrb5z2.js} +0 -0
- /package/dist/assets/{kanagawa-dragon-D9OVubsz.js → kanagawa-dragon-Bd79Tun-.js} +0 -0
- /package/dist/assets/{kanagawa-lotus-CSRx4SDl.js → kanagawa-lotus-DeCV-Urg.js} +0 -0
- /package/dist/assets/{kanagawa-wave-UOuPU6gH.js → kanagawa-wave-aglxw59J.js} +0 -0
- /package/dist/assets/{kdl-DaJuRpNV.js → kdl-BUg1cLiI.js} +0 -0
- /package/dist/assets/{kotlin-BNEzAgnJ.js → kotlin-BhThn95H.js} +0 -0
- /package/dist/assets/{kusto-BnUa5uHr.js → kusto--hwp7U1v.js} +0 -0
- /package/dist/assets/{laserwave-BPO5VXXS.js → laserwave-C0Ni-UOW.js} +0 -0
- /package/dist/assets/{lean-Z7O9sZeQ.js → lean-D0WZXxTy.js} +0 -0
- /package/dist/assets/{less-9u8t21jj.js → less-BqMPRJgy.js} +0 -0
- /package/dist/assets/{lib-CyTHAhFX.js → lib-CNXbvB2y.js} +0 -0
- /package/dist/assets/{light-plus-Wc5scgJh.js → light-plus-CvXxK5L0.js} +0 -0
- /package/dist/assets/{llm-dimension-CBhYSW7t.js → llm-dimension-DZzl8VAV.js} +0 -0
- /package/dist/assets/{llvm-DUPAzzzh.js → llvm-DxX8WKJ-.js} +0 -0
- /package/dist/assets/{log-yVIkEnLV.js → log-D8tJQN5p.js} +0 -0
- /package/dist/assets/{logo-BMjRBAP1.js → logo-Dh8zozRh.js} +0 -0
- /package/dist/assets/{luau-CRLNKfW2.js → luau-X-mc9HXh.js} +0 -0
- /package/dist/assets/{make-ABiaNV_U.js → make-Cw4iUEce.js} +0 -0
- /package/dist/assets/{markdown-Dn1PAeWy.js → markdown-C4wgDjuo.js} +0 -0
- /package/dist/assets/{material-theme-DKIEc_9D.js → material-theme-CEmeBs_y.js} +0 -0
- /package/dist/assets/{material-theme-darker-CKATunxP.js → material-theme-darker-BXvhddOF.js} +0 -0
- /package/dist/assets/{material-theme-lighter-Ch4hbIqq.js → material-theme-lighter-DMW3Ucs8.js} +0 -0
- /package/dist/assets/{material-theme-ocean-DMLBHhVS.js → material-theme-ocean-c0mOFI0Z.js} +0 -0
- /package/dist/assets/{material-theme-palenight-rAwveJbA.js → material-theme-palenight-DHn1ZMRK.js} +0 -0
- /package/dist/assets/{matlab-nAylgdir.js → matlab-DwttN0_Y.js} +0 -0
- /package/dist/assets/{mdx-D21b3pUC.js → mdx-VNbJXzl_.js} +0 -0
- /package/dist/assets/{mermaid-BpHmCKn1.js → mermaid-8nLortlR.js} +0 -0
- /package/dist/assets/{min-dark-B0702Ln3.js → min-dark-Cfo9Imnn.js} +0 -0
- /package/dist/assets/{min-light-9h8I8ujc.js → min-light-D-eNMY61.js} +0 -0
- /package/dist/assets/{mipsasm-CtcdPU2Y.js → mipsasm-CmR7MApm.js} +0 -0
- /package/dist/assets/{mojo-Bv8xbxSD.js → mojo-E4JmNL4g.js} +0 -0
- /package/dist/assets/{monokai-R3M-Pkjy.js → monokai-DkH9jgy0.js} +0 -0
- /package/dist/assets/{moonbit-MUcZ6VT6.js → moonbit-B0sciZbe.js} +0 -0
- /package/dist/assets/{move-B0DlmhPE.js → move-Bn26HYrn.js} +0 -0
- /package/dist/assets/{narrat-C1e9cFYb.js → narrat-Cy8di6K9.js} +0 -0
- /package/dist/assets/{nextflow-groovy-WB_Hv0pj.js → nextflow-groovy-BJBZYnqb.js} +0 -0
- /package/dist/assets/{night-owl-BpHVNbG5.js → night-owl-BaJh1bae.js} +0 -0
- /package/dist/assets/{night-owl-light-B7XHq6BU.js → night-owl-light-DOIQSNZE.js} +0 -0
- /package/dist/assets/{nix-Bz43yTHV.js → nix-DYMb3fN3.js} +0 -0
- /package/dist/assets/{nord-C3Ef8EYs.js → nord-Dfe8nufc.js} +0 -0
- /package/dist/assets/{nushell-BDgFfjsp.js → nushell-BecinQos.js} +0 -0
- /package/dist/assets/{objective-c-CrKuI4kq.js → objective-c-wBEbMfkE.js} +0 -0
- /package/dist/assets/{objective-cpp-Cq2sz32p.js → objective-cpp-DwsMXks9.js} +0 -0
- /package/dist/assets/{ocaml-CaddozqL.js → ocaml-DwRdjLFM.js} +0 -0
- /package/dist/assets/{odin-3oMQ00A0.js → odin-CjlC7GSD.js} +0 -0
- /package/dist/assets/{one-dark-pro-Dtx2KhVV.js → one-dark-pro-DQhIyD5N.js} +0 -0
- /package/dist/assets/{one-light-BNUXpRjj.js → one-light-CBfRrrPU.js} +0 -0
- /package/dist/assets/{openscad-Bl9bEK7K.js → openscad-CHCGCt5B.js} +0 -0
- /package/dist/assets/{pascal-DAlnwvFf.js → pascal-DSLi1dwC.js} +0 -0
- /package/dist/assets/{pdf-BrYaENqn.js → pdf-eIgXagOI.js} +0 -0
- /package/dist/assets/{pkl-CUN5bqal.js → pkl-CYrbmtMh.js} +0 -0
- /package/dist/assets/{plastic-BTnTnib5.js → plastic-CcBG239g.js} +0 -0
- /package/dist/assets/{plsql-CSbyze_M.js → plsql-DW8rLCTs.js} +0 -0
- /package/dist/assets/{po-DNd8SYOs.js → po-DRD9UGH5.js} +0 -0
- /package/dist/assets/{poimandres-Du8CR7IV.js → poimandres-C1Y8UWlv.js} +0 -0
- /package/dist/assets/{polar-BP89cGjR.js → polar-BuMHPk14.js} +0 -0
- /package/dist/assets/{postcss-DP5swxmN.js → postcss-D_KibIwL.js} +0 -0
- /package/dist/assets/{powerquery-8FFmlmIB.js → powerquery-DPqdCtl4.js} +0 -0
- /package/dist/assets/{powershell-Df4bjjrh.js → powershell-B_nHu8ou.js} +0 -0
- /package/dist/assets/{prisma-GVbmmvVi.js → prisma-CEKpljWu.js} +0 -0
- /package/dist/assets/{prolog-CgVNaQE6.js → prolog-Be9bhwua.js} +0 -0
- /package/dist/assets/{proto-DQgw5Bn7.js → proto-DjKKU6XR.js} +0 -0
- /package/dist/assets/{public-asset-CdVbP-K-.js → public-asset-Dx4la7Nv.js} +0 -0
- /package/dist/assets/{puppet-B6qkR0ho.js → puppet-B3_5JXyb.js} +0 -0
- /package/dist/assets/{purescript-D6HPYETy.js → purescript-B40B7hnk.js} +0 -0
- /package/dist/assets/{python-BQxVVqSC.js → python-CBtENHpB.js} +0 -0
- /package/dist/assets/{qmldir-C4uLs1pY.js → qmldir-DmmSKh1z.js} +0 -0
- /package/dist/assets/{qss-CrbqJ-bS.js → qss-DC50xW7x.js} +0 -0
- /package/dist/assets/{r-BYcMR2CA.js → r-Bxh_P6nZ.js} +0 -0
- /package/dist/assets/{racket-CYlA9b-a.js → racket-Cd0dc7Z9.js} +0 -0
- /package/dist/assets/{raku-DskHTPaV.js → raku-Bez4O8bz.js} +0 -0
- /package/dist/assets/{red-C6BsNewa.js → red-B6c6GahA.js} +0 -0
- /package/dist/assets/{reg-CVAsZyTh.js → reg-RGHB2vyu.js} +0 -0
- /package/dist/assets/{regexp-CE46xxOu.js → regexp-B4qMM8sH.js} +0 -0
- /package/dist/assets/{rel-C3ws-d8w.js → rel-BzD8rdGz.js} +0 -0
- /package/dist/assets/{riscv-zwK-GGe7.js → riscv-R9qNw498.js} +0 -0
- /package/dist/assets/{ron-DKXxeRcR.js → ron-fTY3p6VR.js} +0 -0
- /package/dist/assets/{rose-pine-D16YZ514.js → rose-pine-0XrcwhjC.js} +0 -0
- /package/dist/assets/{rose-pine-dawn-C6PC9FaW.js → rose-pine-dawn-om3p9-A_.js} +0 -0
- /package/dist/assets/{rose-pine-moon-B-ONpfIN.js → rose-pine-moon-MGxH_v4S.js} +0 -0
- /package/dist/assets/{rosmsg-Cly8Evf4.js → rosmsg-CVvSijm3.js} +0 -0
- /package/dist/assets/{routes-DminYfDX.js → routes-DC3Pv2Da.js} +0 -0
- /package/dist/assets/{rust-COkR_9xi.js → rust-CA961RlG.js} +0 -0
- /package/dist/assets/{sass-DDyX_867.js → sass-CoOeSP7H.js} +0 -0
- /package/dist/assets/{scala-BseDqmtP.js → scala-Bbpmmahb.js} +0 -0
- /package/dist/assets/{scheme-0Ar7fzWG.js → scheme-D-G16M41.js} +0 -0
- /package/dist/assets/{sdbl-BjheWPT8.js → sdbl-BhfGXOJp.js} +0 -0
- /package/dist/assets/{sdk.gen-govMfbgX.js → sdk.gen-AJllUeDf.js} +0 -0
- /package/dist/assets/{semver-DI5hyC-t.js → semver-Dd0ocNOn.js} +0 -0
- /package/dist/assets/{shellscript-DbCYZXfD.js → shellscript-Cwj5scmN.js} +0 -0
- /package/dist/assets/{slack-dark-B8yuPDrG.js → slack-dark-EnMwLJh2.js} +0 -0
- /package/dist/assets/{slack-ochin-DLZ-yxLq.js → slack-ochin-DbQZnuuX.js} +0 -0
- /package/dist/assets/{smalltalk-DhsjsTfs.js → smalltalk-wkvAA4Ge.js} +0 -0
- /package/dist/assets/{snazzy-light-BdZObzxx.js → snazzy-light-HKT43YcO.js} +0 -0
- /package/dist/assets/{solarized-dark-DnY9BvAi.js → solarized-dark-DHekkVtS.js} +0 -0
- /package/dist/assets/{solarized-light-BfrwmYru.js → solarized-light-MPvd5SW1.js} +0 -0
- /package/dist/assets/{solidity-DPjYkHh9.js → solidity-B7JThXr2.js} +0 -0
- /package/dist/assets/{splunk-aauv22i7.js → splunk-GQMh95CP.js} +0 -0
- /package/dist/assets/{sql-ChQ8ry3n.js → sql-BXe6lADW.js} +0 -0
- /package/dist/assets/{ssh-config-Dz6ViL0P.js → ssh-config-DVuuj5mu.js} +0 -0
- /package/dist/assets/{stylus-BOOipACK.js → stylus-DbmaQDjE.js} +0 -0
- /package/dist/assets/{swift-m0EGSEdy.js → swift-BSc6I7H3.js} +0 -0
- /package/dist/assets/{synthwave-84-BgN63B7_.js → synthwave-84-vXwrabUd.js} +0 -0
- /package/dist/assets/{system-verilog-DA9NXNZH.js → system-verilog-DGtgT0u9.js} +0 -0
- /package/dist/assets/{systemd-6ndOYGhY.js → systemd-DjhZZzlg.js} +0 -0
- /package/dist/assets/{talonscript-B8LuZYir.js → talonscript-jbZ73QSp.js} +0 -0
- /package/dist/assets/{tasl-xnHVT9C9.js → tasl-Cp0NySwy.js} +0 -0
- /package/dist/assets/{tcl-BODTsuI7.js → tcl-CDvB7l7r.js} +0 -0
- /package/dist/assets/{terraform-BKPIDy8E.js → terraform-ViADpNla.js} +0 -0
- /package/dist/assets/{tokyo-night-DL0vCNuB.js → tokyo-night-CP5B0W8z.js} +0 -0
- /package/dist/assets/{toml-DFQNE4Bb.js → toml-Ng7oUEBY.js} +0 -0
- /package/dist/assets/{tsv-CiCFnPYM.js → tsv-CBEPJV1q.js} +0 -0
- /package/dist/assets/{tsx-r66DnitA.js → tsx-Bay-x93q.js} +0 -0
- /package/dist/assets/{turtle-D6TqBP-R.js → turtle-6k3HpfrS.js} +0 -0
- /package/dist/assets/{typescript-DywEkG3h.js → typescript-CESsi6qd.js} +0 -0
- /package/dist/assets/{typespec-CGjgqr9W.js → typespec-BHVNqmiS.js} +0 -0
- /package/dist/assets/{typst-Bx-thO8d.js → typst-CPHv3Z_E.js} +0 -0
- /package/dist/assets/{usage-window-COo_tIlP.js → usage-window-D5EMg2nb.js} +0 -0
- /package/dist/assets/{use-is-mobile-B9vjoiOp.js → use-is-mobile-D_xrnINF.js} +0 -0
- /package/dist/assets/{use-reduced-motion-DVYTox9p.js → use-reduced-motion-CZO_MWGV.js} +0 -0
- /package/dist/assets/{v-4VB7M7V1.js → v-DbQnswmZ.js} +0 -0
- /package/dist/assets/{vala-DyD7epks.js → vala-B9xFrP6Q.js} +0 -0
- /package/dist/assets/{vb-MkcXsT7p.js → vb-DhUjJFob.js} +0 -0
- /package/dist/assets/{verilog-CxKKBB7K.js → verilog-knoXnPW_.js} +0 -0
- /package/dist/assets/{vesper-BWWaFc_5.js → vesper-DMn9sD5q.js} +0 -0
- /package/dist/assets/{vhdl-FnKcRQFJ.js → vhdl-BC236CWS.js} +0 -0
- /package/dist/assets/{viml-CLoIdFzC.js → viml-BiHN9dcP.js} +0 -0
- /package/dist/assets/{vitesse-black-LsvPTIiF.js → vitesse-black-BPikaA4r.js} +0 -0
- /package/dist/assets/{vitesse-dark-xzpAWWRe.js → vitesse-dark-etdagetc.js} +0 -0
- /package/dist/assets/{vitesse-light-Dw68nIQJ.js → vitesse-light-wF4P0Zsy.js} +0 -0
- /package/dist/assets/{vyper-DMsUwnVX.js → vyper-9LO9XYNL.js} +0 -0
- /package/dist/assets/{wasm-D-aQj7M_.js → wasm-BQxIq9Eb.js} +0 -0
- /package/dist/assets/{wasm-ic38CN6z.js → wasm-cLEfWrbG.js} +0 -0
- /package/dist/assets/{wenyan-COLZAIZW.js → wenyan-CpO3LOSA.js} +0 -0
- /package/dist/assets/{wgsl-D-u1_3zX.js → wgsl-DVMBiogp.js} +0 -0
- /package/dist/assets/{wikitext-l1E17Wn7.js → wikitext-C4YdJkhb.js} +0 -0
- /package/dist/assets/{wit-BW55uw8a.js → wit-Dk2LwD_7.js} +0 -0
- /package/dist/assets/{with-selector-NDiUwRRR.js → with-selector-BomrVLKx.js} +0 -0
- /package/dist/assets/{wolfram-C0owoV7l.js → wolfram-BewBpAXL.js} +0 -0
- /package/dist/assets/{xterm-EejPUdmw.js → xterm-D62GGRqD.js} +0 -0
- /package/dist/assets/{xterm-addon-fit-BRL8IZ7N.js → xterm-addon-fit-B4zTZTld.js} +0 -0
- /package/dist/assets/{yaml-DP2H7z8n.js → yaml-DvBKdDiG.js} +0 -0
- /package/dist/assets/{zenscript-ChRsLAgZ.js → zenscript-CSyyk0b_.js} +0 -0
- /package/dist/assets/{zig-s66PLVk_.js → zig-DUP4LvJO.js} +0 -0
- /package/dist/assets/{zwitch-qcFX26Jh.js → zwitch-19hSuEjR.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./javascript-BN3vpbN8.js";import{t}from"./css-cWOM3a0B.js";import{t as n}from"./scss-BlEtTolU.js";import r from"./python-BQxVVqSC.js";import i from"./ruby-Bddxezn1.js";import a from"./php-DNtH2WpS.js";var o=Object.freeze(JSON.parse(`{"displayName":"Twig","fileTypes":["twig","html.twig"],"firstLineMatch":"<!(?i:DOCTYPE)|<(?i:html)|<\\\\?(?i:php)|\\\\{\\\\{|\\\\{%|\\\\{#","foldingStartMarker":"(<(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)\\\\b.*?>|<!--(?!.*--\\\\s*>)|^<!-- #tminclude (?>.*?-->)$|\\\\{%\\\\s+(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))","foldingStopMarker":"(</(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)>|^(?!.*?<!--).*?--\\\\s*>|^<!-- end tminclude -->$|\\\\{%\\\\s+end(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))","name":"twig","patterns":[{"begin":"(<)([0-:A-Za-z]++)(?=[^>]*></\\\\2>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.html"}},"end":"(>(<)/)(\\\\2)(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"meta.scope.between-tag-pair.html"},"3":{"name":"entity.name.tag.html"},"4":{"name":"punctuation.definition.tag.html"}},"name":"meta.tag.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(<\\\\?)(xml)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.xml.html"}},"end":"(\\\\?>)","name":"meta.tag.preprocessor.xml.html","patterns":[{"include":"#tag-generic-attribute"},{"include":"#string-double-quoted"},{"include":"#string-single-quoted"}]},{"begin":"<!--","captures":{"0":{"name":"punctuation.definition.comment.html"}},"end":"--\\\\s*>","name":"comment.block.html","patterns":[{"match":"--","name":"invalid.illegal.bad-comments-or-CDATA.html"},{"include":"#embedded-code"}]},{"begin":"<!","captures":{"0":{"name":"punctuation.definition.tag.html"}},"end":">","name":"meta.tag.sgml.html","patterns":[{"begin":"(?i:DOCTYPE)","captures":{"1":{"name":"entity.name.tag.doctype.html"}},"end":"(?=>)","name":"meta.tag.sgml.doctype.html","patterns":[{"match":"\\"[^\\">]*\\"","name":"string.quoted.double.doctype.identifiers-and-DTDs.html"}]},{"begin":"\\\\[CDATA\\\\[","end":"]](?=>)","name":"constant.other.inline-data.html"},{"match":"(\\\\s*)(?!--|>)\\\\S(\\\\s*)","name":"invalid.illegal.bad-comments-or-CDATA.html"}]},{"include":"#embedded-code"},{"begin":"(?:^\\\\s+)?(<)((?i:style))\\\\b(?![^>]*/>)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.style.html"},"3":{"name":"punctuation.definition.tag.html"}},"end":"(</)((?i:style))(>)(?:\\\\s*\\\\n)?","name":"source.css.embedded.html","patterns":[{"include":"#tag-stuff"},{"begin":"(>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"}},"end":"(?=</(?i:style))","patterns":[{"include":"#embedded-code"},{"include":"source.css"}]}]},{"begin":"(?:^\\\\s+)?(<)((?i:script))\\\\b(?![^>]*/>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.script.html"}},"end":"(?<=</(script|SCRIPT))(>)(?:\\\\s*\\\\n)?","endCaptures":{"2":{"name":"punctuation.definition.tag.html"}},"name":"source.js.embedded.html","patterns":[{"include":"#tag-stuff"},{"begin":"(?<!</(?:script|SCRIPT))(>)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.script.html"}},"end":"(</)((?i:script))","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.js"}},"match":"(//).*?((?=<\/script)|$\\\\n?)","name":"comment.line.double-slash.js"},{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.js"}},"end":"\\\\*/|(?=<\/script)","name":"comment.block.js"},{"include":"#php"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"},{"include":"source.js"}]}]},{"begin":"(?i)(?<=\\\\{%\\\\s(?:|include)js\\\\s%})","end":"(?i)(?=\\\\{%\\\\send(?:|include)js\\\\s%})","name":"source.js.embedded.twig","patterns":[{"include":"source.js"}]},{"begin":"(?i)(?<=\\\\{%\\\\s(?:|include|includehires)css\\\\s%})","end":"(?i)(?=\\\\{%\\\\send(?:|include|includehires)css\\\\s%})","name":"source.css.embedded.twig","patterns":[{"include":"source.css"}]},{"begin":"(?i)(?<=\\\\{%\\\\s(?:|include|includehires)scss\\\\s%})","end":"(?i)(?=\\\\{%\\\\send(?:|include|includehires)scss\\\\s%})","name":"source.css.scss.embedded.twig","patterns":[{"include":"source.css.scss"}]},{"begin":"(</?)((?i:body|head|html))\\\\b","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.structure.any.html"}},"end":"(>)","name":"meta.tag.structure.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.block.any.html"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.block.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|[qs]|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.inline.any.html"}},"end":"((?: ?/)?>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.inline.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)([0-:A-Za-z]+)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.other.html"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.other.html","patterns":[{"include":"#tag-stuff"}]},{"include":"#entities"},{"match":"<>","name":"invalid.illegal.incomplete.html"},{"match":"<","name":"invalid.illegal.bad-angle-bracket.html"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"}],"repository":{"embedded-code":{"patterns":[{"include":"#ruby"},{"include":"#php"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"},{"include":"#python"}]},"entities":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.entity.html"},"3":{"name":"punctuation.definition.entity.html"}},"match":"(&)([0-9A-Za-z]+|#[0-9]+|#x\\\\h+)(;)","name":"constant.character.entity.html"},{"match":"&","name":"invalid.illegal.bad-ampersand.html"}]},"php":{"begin":"(?=(^\\\\s*)?<\\\\?)","end":"(?!(^\\\\s*)?<\\\\?)","patterns":[{"include":"source.php"}]},"python":{"begin":"^\\\\s*<\\\\?python(?!.*\\\\?>)","end":"\\\\?>(?:\\\\s*$\\\\n)?","name":"source.python.embedded.html","patterns":[{"include":"source.python"}]},"ruby":{"patterns":[{"begin":"<%+#","captures":{"0":{"name":"punctuation.definition.comment.erb"}},"end":"%>","name":"comment.block.erb"},{"begin":"<%+(?!>)=?","captures":{"0":{"name":"punctuation.section.embedded.ruby"}},"end":"-?%>","name":"source.ruby.embedded.html","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.ruby"}},"match":"(#).*?(?=-?%>)","name":"comment.line.number-sign.ruby"},{"include":"source.ruby"}]},{"begin":"<\\\\?r(?!>)=?","captures":{"0":{"name":"punctuation.section.embedded.ruby.nitro"}},"end":"-?\\\\?>","name":"source.ruby.nitro.embedded.html","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.ruby.nitro"}},"match":"(#).*?(?=-?\\\\?>)","name":"comment.line.number-sign.ruby.nitro"},{"include":"source.ruby"}]}]},"string-double-quoted":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.double.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},"string-single-quoted":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.single.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},"tag-generic-attribute":{"match":"\\\\b([-:A-Za-z]+)","name":"entity.other.attribute-name.html"},"tag-id-attribute":{"begin":"\\\\b(id)\\\\b\\\\s*(=)","captures":{"1":{"name":"entity.other.attribute-name.id.html"},"2":{"name":"punctuation.separator.key-value.html"}},"end":"(?<=[\\"'])","name":"meta.attribute-with-value.id.html","patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"contentName":"meta.toc-list.id.html","end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.double.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"contentName":"meta.toc-list.id.html","end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.single.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]}]},"tag-stuff":{"patterns":[{"include":"#tag-id-attribute"},{"include":"#tag-generic-attribute"},{"include":"#string-double-quoted"},{"include":"#string-single-quoted"},{"include":"#embedded-code"}]},"twig-arrays":{"begin":"(?<=[(,:\\\\[{\\\\s])\\\\[","beginCaptures":{"0":{"name":"punctuation.section.array.begin.twig"}},"end":"]","endCaptures":{"0":{"name":"punctuation.section.array.end.twig"}},"name":"meta.array.twig","patterns":[{"include":"#twig-arrays"},{"include":"#twig-hashes"},{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-strings"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"match":",","name":"punctuation.separator.object.twig"}]},"twig-comment-tag":{"begin":"\\\\{#-?","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.twig"}},"end":"-?#}","endCaptures":{"0":{"name":"punctuation.definition.comment.end.twig"}},"name":"comment.block.twig"},"twig-constants":{"patterns":[{"match":"(?i)(?<=[(,:\\\\[{\\\\s])(?:true|false|null|none)(?=[]),}\\\\s])","name":"constant.language.twig"},{"match":"(?<=[(,:\\\\[{\\\\s]|\\\\.\\\\.|\\\\*\\\\*)[0-9]+(?:\\\\.[0-9]+)?(?=[]),}\\\\s]|\\\\.\\\\.|\\\\*\\\\*)","name":"constant.numeric.twig"}]},"twig-filters":{"captures":{"1":{"name":"support.function.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)(abs|capitalize|e(?:scape)?|first|join|(?:json|url)_encode|keys|last|length|lower|nl2br|number_format|raw|reverse|round|sort|striptags|title|trim|upper)(?=[]),:|}\\\\s]|\\\\.\\\\.|\\\\*\\\\*)"},"twig-filters-ud":{"captures":{"1":{"name":"meta.function-call.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)"},"twig-filters-warg":{"begin":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)(batch|convert_encoding|date|date_modify|default|e(?:scape)?|format|join|merge|number_format|replace|round|slice|split|trim)(\\\\()","beginCaptures":{"1":{"name":"support.function.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-filters-warg-ud":{"begin":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(\\\\()","beginCaptures":{"1":{"name":"meta.function-call.other.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-functions":{"captures":{"1":{"name":"support.function.twig"}},"match":"(?<=is\\\\s)(defined|empty|even|iterable|odd)"},"twig-functions-warg":{"begin":"(?<=[(,:\\\\[{\\\\s])(attribute|block|constant|cycle|date|divisible by|dump|include|max|min|parent|random|range|same as|source|template_from_string)(\\\\()","beginCaptures":{"1":{"name":"support.function.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"}]},"twig-hashes":{"begin":"(?<=[(,:\\\\[{\\\\s])\\\\{","beginCaptures":{"0":{"name":"punctuation.section.hash.begin.twig"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.hash.end.twig"}},"name":"meta.hash.twig","patterns":[{"include":"#twig-hashes"},{"include":"#twig-arrays"},{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-strings"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"match":":","name":"punctuation.separator.key-value.twig"},{"match":",","name":"punctuation.separator.object.twig"}]},"twig-keywords":{"match":"(?<=\\\\s)((?:end)?(?:autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim)|as|do|else|elseif|extends|flush|from|ignore missing|import|include|only|use|with)(?=\\\\s)","name":"keyword.control.twig"},"twig-macros":{"begin":"(?<=[(,:\\\\[{\\\\s])([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?:(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*))?(\\\\()","beginCaptures":{"1":{"name":"meta.function-call.twig"},"2":{"name":"punctuation.separator.property.twig"},"3":{"name":"variable.other.property.twig"},"4":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-objects":{"captures":{"1":{"name":"variable.other.twig"}},"match":"(?<=[(,:\\\\[{\\\\s])([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?=[](),.:\\\\[|}\\\\s])"},"twig-operators":{"patterns":[{"captures":{"1":{"name":"keyword.operator.arithmetic.twig"}},"match":"(?<=\\\\s)([-+]|//?|%|\\\\*\\\\*?)(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.assignment.twig"}},"match":"(?<=\\\\s)([=~])(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.bitwise.twig"}},"match":"(?<=\\\\s)(b-(?:and|or|xor))(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.comparison.twig"}},"match":"(?<=\\\\s)([!=]=|<=?|>=?|(?:not )?in|is(?: not)?|(?:ends|starts) with|matches)(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.logical.twig"}},"match":"(?<=\\\\s)([:?]|\\\\?:|\\\\?\\\\?|and|not|or)(?=\\\\s)"},{"captures":{"0":{"name":"keyword.operator.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ])\\\\.\\\\.(?=[\\"'0-9A-Z_a-z\\\\x7F-ÿ])"},{"captures":{"0":{"name":"keyword.operator.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z}\\\\x7F-ÿ])\\\\|(?=[A-Z_a-z\\\\x7F-ÿ])"}]},"twig-print-tag":{"begin":"\\\\{\\\\{-?","beginCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"end":"-?}}","endCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"name":"meta.tag.template.value.twig","patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-properties":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.property.twig"},"2":{"name":"variable.other.property.twig"}},"match":"(?<=[0-9A-Z_a-z\\\\x7F-ÿ])(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?=[]),.:\\\\[|}\\\\s])"},{"begin":"(?<=[0-9A-Z_a-z\\\\x7F-ÿ])(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(\\\\()","beginCaptures":{"1":{"name":"punctuation.separator.property.twig"},"2":{"name":"variable.other.property.twig"},"3":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"}]},{"captures":{"1":{"name":"punctuation.section.array.begin.twig"},"2":{"name":"variable.other.property.twig"},"3":{"name":"punctuation.section.array.end.twig"},"4":{"name":"punctuation.section.array.begin.twig"},"5":{"name":"variable.other.property.twig"},"6":{"name":"punctuation.section.array.end.twig"},"7":{"name":"punctuation.section.array.begin.twig"},"8":{"name":"variable.other.property.twig"},"9":{"name":"punctuation.section.array.end.twig"}},"match":"(?<=[]0-9A-Z_a-z\\\\x7F-ÿ])(?:(\\\\[)('[A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*')(])|(\\\\[)(\\"[A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*\\")(])|(\\\\[)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(]))"}]},"twig-statement-tag":{"begin":"\\\\{%-?","beginCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"end":"-?%}","endCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"name":"meta.tag.template.block.twig","patterns":[{"include":"#twig-constants"},{"include":"#twig-keywords"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-strings":{"patterns":[{"begin":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.twig"}},"end":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))'","endCaptures":{"0":{"name":"punctuation.definition.string.end.twig"}},"name":"string.quoted.single.twig"},{"begin":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.twig"}},"end":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.twig"}},"name":"string.quoted.double.twig"}]}},"scopeName":"text.html.twig","embeddedLangs":["css","javascript","scss","php","python","ruby"]}`)),s=[...t,...e,...n,...a,...r,...i,o];export{s as default};
|
|
1
|
+
import{t as e}from"./javascript-wLwe9AbG.js";import{t}from"./css-B4lldM37.js";import{t as n}from"./scss-CLfSZysM.js";import r from"./python-CBtENHpB.js";import i from"./ruby-DDticLOn.js";import a from"./php-BeUbGztq.js";var o=Object.freeze(JSON.parse(`{"displayName":"Twig","fileTypes":["twig","html.twig"],"firstLineMatch":"<!(?i:DOCTYPE)|<(?i:html)|<\\\\?(?i:php)|\\\\{\\\\{|\\\\{%|\\\\{#","foldingStartMarker":"(<(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)\\\\b.*?>|<!--(?!.*--\\\\s*>)|^<!-- #tminclude (?>.*?-->)$|\\\\{%\\\\s+(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))","foldingStopMarker":"(</(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)>|^(?!.*?<!--).*?--\\\\s*>|^<!-- end tminclude -->$|\\\\{%\\\\s+end(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))","name":"twig","patterns":[{"begin":"(<)([0-:A-Za-z]++)(?=[^>]*></\\\\2>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.html"}},"end":"(>(<)/)(\\\\2)(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"meta.scope.between-tag-pair.html"},"3":{"name":"entity.name.tag.html"},"4":{"name":"punctuation.definition.tag.html"}},"name":"meta.tag.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(<\\\\?)(xml)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.xml.html"}},"end":"(\\\\?>)","name":"meta.tag.preprocessor.xml.html","patterns":[{"include":"#tag-generic-attribute"},{"include":"#string-double-quoted"},{"include":"#string-single-quoted"}]},{"begin":"<!--","captures":{"0":{"name":"punctuation.definition.comment.html"}},"end":"--\\\\s*>","name":"comment.block.html","patterns":[{"match":"--","name":"invalid.illegal.bad-comments-or-CDATA.html"},{"include":"#embedded-code"}]},{"begin":"<!","captures":{"0":{"name":"punctuation.definition.tag.html"}},"end":">","name":"meta.tag.sgml.html","patterns":[{"begin":"(?i:DOCTYPE)","captures":{"1":{"name":"entity.name.tag.doctype.html"}},"end":"(?=>)","name":"meta.tag.sgml.doctype.html","patterns":[{"match":"\\"[^\\">]*\\"","name":"string.quoted.double.doctype.identifiers-and-DTDs.html"}]},{"begin":"\\\\[CDATA\\\\[","end":"]](?=>)","name":"constant.other.inline-data.html"},{"match":"(\\\\s*)(?!--|>)\\\\S(\\\\s*)","name":"invalid.illegal.bad-comments-or-CDATA.html"}]},{"include":"#embedded-code"},{"begin":"(?:^\\\\s+)?(<)((?i:style))\\\\b(?![^>]*/>)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.style.html"},"3":{"name":"punctuation.definition.tag.html"}},"end":"(</)((?i:style))(>)(?:\\\\s*\\\\n)?","name":"source.css.embedded.html","patterns":[{"include":"#tag-stuff"},{"begin":"(>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"}},"end":"(?=</(?i:style))","patterns":[{"include":"#embedded-code"},{"include":"source.css"}]}]},{"begin":"(?:^\\\\s+)?(<)((?i:script))\\\\b(?![^>]*/>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.script.html"}},"end":"(?<=</(script|SCRIPT))(>)(?:\\\\s*\\\\n)?","endCaptures":{"2":{"name":"punctuation.definition.tag.html"}},"name":"source.js.embedded.html","patterns":[{"include":"#tag-stuff"},{"begin":"(?<!</(?:script|SCRIPT))(>)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.script.html"}},"end":"(</)((?i:script))","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.js"}},"match":"(//).*?((?=<\/script)|$\\\\n?)","name":"comment.line.double-slash.js"},{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.js"}},"end":"\\\\*/|(?=<\/script)","name":"comment.block.js"},{"include":"#php"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"},{"include":"source.js"}]}]},{"begin":"(?i)(?<=\\\\{%\\\\s(?:|include)js\\\\s%})","end":"(?i)(?=\\\\{%\\\\send(?:|include)js\\\\s%})","name":"source.js.embedded.twig","patterns":[{"include":"source.js"}]},{"begin":"(?i)(?<=\\\\{%\\\\s(?:|include|includehires)css\\\\s%})","end":"(?i)(?=\\\\{%\\\\send(?:|include|includehires)css\\\\s%})","name":"source.css.embedded.twig","patterns":[{"include":"source.css"}]},{"begin":"(?i)(?<=\\\\{%\\\\s(?:|include|includehires)scss\\\\s%})","end":"(?i)(?=\\\\{%\\\\send(?:|include|includehires)scss\\\\s%})","name":"source.css.scss.embedded.twig","patterns":[{"include":"source.css.scss"}]},{"begin":"(</?)((?i:body|head|html))\\\\b","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.structure.any.html"}},"end":"(>)","name":"meta.tag.structure.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.block.any.html"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.block.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|[qs]|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.inline.any.html"}},"end":"((?: ?/)?>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.inline.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)([0-:A-Za-z]+)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.other.html"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.other.html","patterns":[{"include":"#tag-stuff"}]},{"include":"#entities"},{"match":"<>","name":"invalid.illegal.incomplete.html"},{"match":"<","name":"invalid.illegal.bad-angle-bracket.html"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"}],"repository":{"embedded-code":{"patterns":[{"include":"#ruby"},{"include":"#php"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"},{"include":"#python"}]},"entities":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.entity.html"},"3":{"name":"punctuation.definition.entity.html"}},"match":"(&)([0-9A-Za-z]+|#[0-9]+|#x\\\\h+)(;)","name":"constant.character.entity.html"},{"match":"&","name":"invalid.illegal.bad-ampersand.html"}]},"php":{"begin":"(?=(^\\\\s*)?<\\\\?)","end":"(?!(^\\\\s*)?<\\\\?)","patterns":[{"include":"source.php"}]},"python":{"begin":"^\\\\s*<\\\\?python(?!.*\\\\?>)","end":"\\\\?>(?:\\\\s*$\\\\n)?","name":"source.python.embedded.html","patterns":[{"include":"source.python"}]},"ruby":{"patterns":[{"begin":"<%+#","captures":{"0":{"name":"punctuation.definition.comment.erb"}},"end":"%>","name":"comment.block.erb"},{"begin":"<%+(?!>)=?","captures":{"0":{"name":"punctuation.section.embedded.ruby"}},"end":"-?%>","name":"source.ruby.embedded.html","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.ruby"}},"match":"(#).*?(?=-?%>)","name":"comment.line.number-sign.ruby"},{"include":"source.ruby"}]},{"begin":"<\\\\?r(?!>)=?","captures":{"0":{"name":"punctuation.section.embedded.ruby.nitro"}},"end":"-?\\\\?>","name":"source.ruby.nitro.embedded.html","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.ruby.nitro"}},"match":"(#).*?(?=-?\\\\?>)","name":"comment.line.number-sign.ruby.nitro"},{"include":"source.ruby"}]}]},"string-double-quoted":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.double.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},"string-single-quoted":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.single.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},"tag-generic-attribute":{"match":"\\\\b([-:A-Za-z]+)","name":"entity.other.attribute-name.html"},"tag-id-attribute":{"begin":"\\\\b(id)\\\\b\\\\s*(=)","captures":{"1":{"name":"entity.other.attribute-name.id.html"},"2":{"name":"punctuation.separator.key-value.html"}},"end":"(?<=[\\"'])","name":"meta.attribute-with-value.id.html","patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"contentName":"meta.toc-list.id.html","end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.double.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"contentName":"meta.toc-list.id.html","end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.single.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]}]},"tag-stuff":{"patterns":[{"include":"#tag-id-attribute"},{"include":"#tag-generic-attribute"},{"include":"#string-double-quoted"},{"include":"#string-single-quoted"},{"include":"#embedded-code"}]},"twig-arrays":{"begin":"(?<=[(,:\\\\[{\\\\s])\\\\[","beginCaptures":{"0":{"name":"punctuation.section.array.begin.twig"}},"end":"]","endCaptures":{"0":{"name":"punctuation.section.array.end.twig"}},"name":"meta.array.twig","patterns":[{"include":"#twig-arrays"},{"include":"#twig-hashes"},{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-strings"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"match":",","name":"punctuation.separator.object.twig"}]},"twig-comment-tag":{"begin":"\\\\{#-?","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.twig"}},"end":"-?#}","endCaptures":{"0":{"name":"punctuation.definition.comment.end.twig"}},"name":"comment.block.twig"},"twig-constants":{"patterns":[{"match":"(?i)(?<=[(,:\\\\[{\\\\s])(?:true|false|null|none)(?=[]),}\\\\s])","name":"constant.language.twig"},{"match":"(?<=[(,:\\\\[{\\\\s]|\\\\.\\\\.|\\\\*\\\\*)[0-9]+(?:\\\\.[0-9]+)?(?=[]),}\\\\s]|\\\\.\\\\.|\\\\*\\\\*)","name":"constant.numeric.twig"}]},"twig-filters":{"captures":{"1":{"name":"support.function.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)(abs|capitalize|e(?:scape)?|first|join|(?:json|url)_encode|keys|last|length|lower|nl2br|number_format|raw|reverse|round|sort|striptags|title|trim|upper)(?=[]),:|}\\\\s]|\\\\.\\\\.|\\\\*\\\\*)"},"twig-filters-ud":{"captures":{"1":{"name":"meta.function-call.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)"},"twig-filters-warg":{"begin":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)(batch|convert_encoding|date|date_modify|default|e(?:scape)?|format|join|merge|number_format|replace|round|slice|split|trim)(\\\\()","beginCaptures":{"1":{"name":"support.function.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-filters-warg-ud":{"begin":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(\\\\()","beginCaptures":{"1":{"name":"meta.function-call.other.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-functions":{"captures":{"1":{"name":"support.function.twig"}},"match":"(?<=is\\\\s)(defined|empty|even|iterable|odd)"},"twig-functions-warg":{"begin":"(?<=[(,:\\\\[{\\\\s])(attribute|block|constant|cycle|date|divisible by|dump|include|max|min|parent|random|range|same as|source|template_from_string)(\\\\()","beginCaptures":{"1":{"name":"support.function.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"}]},"twig-hashes":{"begin":"(?<=[(,:\\\\[{\\\\s])\\\\{","beginCaptures":{"0":{"name":"punctuation.section.hash.begin.twig"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.hash.end.twig"}},"name":"meta.hash.twig","patterns":[{"include":"#twig-hashes"},{"include":"#twig-arrays"},{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-strings"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"match":":","name":"punctuation.separator.key-value.twig"},{"match":",","name":"punctuation.separator.object.twig"}]},"twig-keywords":{"match":"(?<=\\\\s)((?:end)?(?:autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim)|as|do|else|elseif|extends|flush|from|ignore missing|import|include|only|use|with)(?=\\\\s)","name":"keyword.control.twig"},"twig-macros":{"begin":"(?<=[(,:\\\\[{\\\\s])([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?:(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*))?(\\\\()","beginCaptures":{"1":{"name":"meta.function-call.twig"},"2":{"name":"punctuation.separator.property.twig"},"3":{"name":"variable.other.property.twig"},"4":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-objects":{"captures":{"1":{"name":"variable.other.twig"}},"match":"(?<=[(,:\\\\[{\\\\s])([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?=[](),.:\\\\[|}\\\\s])"},"twig-operators":{"patterns":[{"captures":{"1":{"name":"keyword.operator.arithmetic.twig"}},"match":"(?<=\\\\s)([-+]|//?|%|\\\\*\\\\*?)(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.assignment.twig"}},"match":"(?<=\\\\s)([=~])(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.bitwise.twig"}},"match":"(?<=\\\\s)(b-(?:and|or|xor))(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.comparison.twig"}},"match":"(?<=\\\\s)([!=]=|<=?|>=?|(?:not )?in|is(?: not)?|(?:ends|starts) with|matches)(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.logical.twig"}},"match":"(?<=\\\\s)([:?]|\\\\?:|\\\\?\\\\?|and|not|or)(?=\\\\s)"},{"captures":{"0":{"name":"keyword.operator.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ])\\\\.\\\\.(?=[\\"'0-9A-Z_a-z\\\\x7F-ÿ])"},{"captures":{"0":{"name":"keyword.operator.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z}\\\\x7F-ÿ])\\\\|(?=[A-Z_a-z\\\\x7F-ÿ])"}]},"twig-print-tag":{"begin":"\\\\{\\\\{-?","beginCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"end":"-?}}","endCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"name":"meta.tag.template.value.twig","patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-properties":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.property.twig"},"2":{"name":"variable.other.property.twig"}},"match":"(?<=[0-9A-Z_a-z\\\\x7F-ÿ])(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?=[]),.:\\\\[|}\\\\s])"},{"begin":"(?<=[0-9A-Z_a-z\\\\x7F-ÿ])(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(\\\\()","beginCaptures":{"1":{"name":"punctuation.separator.property.twig"},"2":{"name":"variable.other.property.twig"},"3":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"}]},{"captures":{"1":{"name":"punctuation.section.array.begin.twig"},"2":{"name":"variable.other.property.twig"},"3":{"name":"punctuation.section.array.end.twig"},"4":{"name":"punctuation.section.array.begin.twig"},"5":{"name":"variable.other.property.twig"},"6":{"name":"punctuation.section.array.end.twig"},"7":{"name":"punctuation.section.array.begin.twig"},"8":{"name":"variable.other.property.twig"},"9":{"name":"punctuation.section.array.end.twig"}},"match":"(?<=[]0-9A-Z_a-z\\\\x7F-ÿ])(?:(\\\\[)('[A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*')(])|(\\\\[)(\\"[A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*\\")(])|(\\\\[)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(]))"}]},"twig-statement-tag":{"begin":"\\\\{%-?","beginCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"end":"-?%}","endCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"name":"meta.tag.template.block.twig","patterns":[{"include":"#twig-constants"},{"include":"#twig-keywords"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-strings":{"patterns":[{"begin":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.twig"}},"end":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))'","endCaptures":{"0":{"name":"punctuation.definition.string.end.twig"}},"name":"string.quoted.single.twig"},{"begin":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.twig"}},"end":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.twig"}},"name":"string.quoted.double.twig"}]}},"scopeName":"text.html.twig","embeddedLangs":["css","javascript","scss","php","python","ruby"]}`)),s=[...t,...e,...n,...a,...r,...i,o];export{s as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e}from"./chunk-jRWAZmH_.js";import{t}from"./react-DJZBPgpf.js";import{d as n,r}from"./chunk-5KNZJZUH-B4b1m-Ya.js";import{t as i}from"./jsx-runtime-CVSDxk6A.js";import{t as a}from"./button-DdEh-9f_.js";import{t as o}from"./typography-Czgs_2w_.js";import{t as s}from"./card-CL5iEMJO.js";import{t as c}from"./notice-CF2pptne.js";import{
|
|
1
|
+
import{o as e}from"./chunk-jRWAZmH_.js";import{t}from"./react-DJZBPgpf.js";import{d as n,r}from"./chunk-5KNZJZUH-B4b1m-Ya.js";import{t as i}from"./jsx-runtime-CVSDxk6A.js";import{t as a}from"./button-DdEh-9f_.js";import{t as o}from"./typography-Czgs_2w_.js";import{t as s}from"./card-CL5iEMJO.js";import{t as c}from"./notice-CF2pptne.js";import{n as l}from"./toast-DU1nH33j.js";import{i as u}from"./routes-DC3Pv2Da.js";import{ct as d,lt as f,st as p}from"./index-huyA6GAA.js";var m=e(t(),1),h=i();function g(){let e=f({platformHostedOnly:!0}),t=p(),i=d(),g=n();return(0,m.useEffect)(()=>{t&&(l.info(`Upgrade canceled. No changes to your plan.`,{id:`pro-upgrade-cancel`}),g(u.settings.billing,{replace:!0}))},[g,t]),e===`gated`?(0,h.jsx)(r,{replace:!0,to:u.settings.general}):e===`disabled`?(0,h.jsx)(`div`,{className:`max-w-4xl space-y-6`,children:(0,h.jsx)(c,{tone:`info`,children:`Log in to the Vellum platform to manage billing and usage.`})}):!t&&!i?(0,h.jsxs)(`div`,{className:`max-w-4xl space-y-6`,children:[(0,h.jsx)(c,{tone:`warning`,children:`Billing isn't available for the current assistant state.`}),(0,h.jsx)(`div`,{className:`flex justify-end`,children:(0,h.jsx)(a,{variant:`primary`,onClick:()=>g(u.settings.billing,{replace:!0}),children:`Return to billing`})})]}):(0,h.jsx)(`div`,{className:`max-w-4xl space-y-6`,children:(0,h.jsxs)(s,{padding:`lg`,children:[(0,h.jsx)(o,{as:`h1`,variant:`title-large`,children:`Upgrade canceled`}),(0,h.jsx)(o,{as:`p`,variant:`body-medium-default`,className:`mt-2`,children:`Returning you to billing settings…`})]})})}export{g as UpgradeCancelPage};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e}from"./chunk-jRWAZmH_.js";import{t}from"./react-DJZBPgpf.js";import{d as n,r}from"./chunk-5KNZJZUH-B4b1m-Ya.js";import{n as i}from"./QueryClientProvider-DNHWXaGq.js";import{t as a}from"./useQuery-D2zf6Uhu.js";import{t as o}from"./jsx-runtime-CVSDxk6A.js";import{t as s}from"./button-DdEh-9f_.js";import{t as c}from"./typography-Czgs_2w_.js";import{t as l}from"./card-CL5iEMJO.js";import{t as u}from"./notice-CF2pptne.js";import{t as d}from"./loader-circle-
|
|
1
|
+
import{o as e}from"./chunk-jRWAZmH_.js";import{t}from"./react-DJZBPgpf.js";import{d as n,r}from"./chunk-5KNZJZUH-B4b1m-Ya.js";import{n as i}from"./QueryClientProvider-DNHWXaGq.js";import{t as a}from"./useQuery-D2zf6Uhu.js";import{t as o}from"./jsx-runtime-CVSDxk6A.js";import{t as s}from"./button-DdEh-9f_.js";import{t as c}from"./typography-Czgs_2w_.js";import{t as l}from"./card-CL5iEMJO.js";import{t as u}from"./notice-CF2pptne.js";import{t as d}from"./loader-circle-BSAFLoPH.js";import{i as f}from"./routes-DC3Pv2Da.js";import{co as p,ct as m,ln as h,lt as g,oo as _,st as v,un as y}from"./index-huyA6GAA.js";var b=e(t(),1),x=o(),S=1e3,C=1e4,w=2500;function T(){let e=g({platformHostedOnly:!0}),t=v(),o=m(),c=e===`full`&&t,d=n(),p=i(),[_,T]=(0,b.useState)(!1);(0,b.useEffect)(()=>{p.invalidateQueries({queryKey:y()})},[p]);let{data:A,isError:j}=a({...h(),enabled:c,refetchInterval:e=>e.state.data?.plan_id===`pro`||_?!1:S,refetchIntervalInBackground:!1}),M=c?A:void 0,N=c?j:!1;(0,b.useEffect)(()=>{if(!c)return;let e=setTimeout(()=>T(!0),C);return()=>clearTimeout(e)},[c]);let P=M?.plan_id===`pro`;(0,b.useEffect)(()=>{if(!P)return;let e=setTimeout(()=>{d(f.settings.billing,{replace:!0})},w);return()=>clearTimeout(e)},[P,d]);let F=()=>d(f.settings.billing,{replace:!0});return e===`gated`?(0,x.jsx)(r,{replace:!0,to:f.settings.general}):e===`disabled`?(0,x.jsx)(`div`,{className:`max-w-4xl space-y-6`,children:(0,x.jsx)(u,{tone:`info`,children:`Log in to the Vellum platform to manage billing and usage.`})}):!c&&!o?(0,x.jsxs)(`div`,{className:`max-w-4xl space-y-6`,children:[(0,x.jsx)(u,{tone:`warning`,children:`We can't confirm your upgrade for the current assistant. Return to billing to retry.`}),(0,x.jsx)(`div`,{className:`flex justify-end`,children:(0,x.jsx)(s,{variant:`primary`,"data-testid":`upgrade-success-go-to-billing`,onClick:F,children:`Go to billing`})})]}):(0,x.jsx)(`div`,{className:`max-w-4xl space-y-6`,children:(0,x.jsxs)(l,{padding:`lg`,children:[P?(0,x.jsx)(D,{}):N?(0,x.jsx)(k,{}):_?(0,x.jsx)(O,{}):(0,x.jsx)(E,{}),(P||N||_)&&(0,x.jsx)(`div`,{className:`mt-4 flex justify-end`,children:(0,x.jsx)(s,{variant:P||N?`primary`:`outlined`,"data-testid":`upgrade-success-go-to-billing`,onClick:F,children:`Go to billing`})})]})})}function E(){return(0,x.jsxs)(`div`,{className:`flex flex-col items-center gap-3 py-6 text-center`,children:[(0,x.jsx)(d,{className:`h-6 w-6 animate-spin text-[var(--content-secondary)]`,"aria-hidden":`true`}),(0,x.jsx)(c,{variant:`title-small`,as:`h1`,children:`Finalizing your upgrade…`}),(0,x.jsx)(c,{variant:`body-medium-lighter`,as:`p`,className:`text-[var(--content-secondary)]`,children:`Stripe is confirming your subscription. This usually takes a few seconds.`})]})}function D(){return(0,x.jsxs)(`div`,{className:`flex flex-col items-center gap-3 py-6 text-center`,children:[(0,x.jsx)(_,{className:`h-8 w-8 text-[var(--system-positive-strong)]`,"aria-hidden":`true`}),(0,x.jsx)(c,{variant:`title-small`,as:`h1`,children:`Welcome to Pro`}),(0,x.jsx)(c,{variant:`body-medium-lighter`,as:`p`,className:`text-[var(--content-secondary)]`,children:`Your Pro plan is active. You'll be redirected back to billing in a moment.`})]})}function O(){return(0,x.jsx)(u,{tone:`warning`,children:`We're processing your upgrade — refresh in a moment to see your new plan.`})}function k(){return(0,x.jsxs)(`div`,{className:`flex flex-col items-center gap-3 py-6 text-center`,children:[(0,x.jsx)(p,{className:`h-8 w-8 text-[var(--system-negative-strong)]`,"aria-hidden":`true`}),(0,x.jsx)(c,{variant:`title-small`,as:`h1`,children:`Couldn't reach billing`}),(0,x.jsx)(c,{variant:`body-medium-lighter`,as:`p`,className:`text-[var(--content-secondary)]`,children:`We hit a problem checking your subscription. Your upgrade may still be processing — return to billing to refresh.`})]})}export{T as UpgradeSuccessPage};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e}from"./chunk-jRWAZmH_.js";import{t}from"./react-DJZBPgpf.js";import{d as n,m as r}from"./chunk-5KNZJZUH-B4b1m-Ya.js";import{t as i}from"./useQuery-D2zf6Uhu.js";import{t as a}from"./jsx-runtime-CVSDxk6A.js";import{t as o}from"./dropdown-CocFV5yi.js";import"./src-BqiaDQPO.js";import{t as s}from"./wand-sparkles-CEPQLm45.js";import{Bn as c,Rn as l,Vn as u,x as d,zn as f}from"./sdk.gen-govMfbgX.js";import{t as p}from"./client.gen-CsQeNtuq.js";import{i as ee}from"./routes-DminYfDX.js";import{l as te}from"./query-tags-CXf0mBKU.js";import{Di as m,Ii as h,qn as ne}from"./index-DTWPgS5K.js";import{t as re}from"./use-current-platform-assistant-D-5r_x8u.js";import{i as g,t as _}from"./format-Bbxbyy7J.js";import{i as v,o as y,r as b}from"./llm-dimension-CBhYSW7t.js";import{n as x}from"./usage-window-COo_tIlP.js";import{t as ie}from"./schedules-BTZchh0D.js";var S=e(t(),1);function ae(e){if(!e)return{};let t={};for(let n of e.callSites)!n.id||!n.displayName||(t[n.id]={id:n.id,displayName:n.displayName,description:n.description,domain:n.domain});return t}async function oe(e){let{data:t,response:n}=await d({path:{assistant_id:e},throwOnError:!1});if(!n?.ok){let e=await n?.clone().text().catch(()=>``);throw Error(e||n?.statusText||`Failed to load LLM call-site metadata.`)}return t??{domains:[],callSites:[]}}function C(e,t,n){if(e===`task`){let e=t.groupKey;return e?n.callSites?.[e]?.displayName??t.group:t.group}if(e===`profile`){let e=t.groupKey;return e?n.profiles?.[e]?.displayName??t.group:t.group||`Default / Unset`}return t.group}function se(e,t,n){return!e||e.length===0?[]:e.map(e=>{let r=C(t,e,n);return r===e.group?e:{...e,group:r}})}var w=6,T=`value:`,E=`null:`;function D(e,t=`schedule`){return e===null?`${E}${v(t)?y(t):t}`:`${T}${e}`}function O(e){return[...e].sort((e,t)=>{if(e.date!==t.date)return e.date<t.date?-1:1;let n=j(e.bucketId),r=j(t.bucketId);return n===r?e.bucketId===t.bucketId?0:e.bucketId<t.bucketId?-1:1:n-r})}function ce(e){return e.map(e=>({bucketId:e.bucketId,date:e.date,displayLabel:e.displayLabel,totalInputTokens:e.totalInputTokens,totalOutputTokens:e.totalOutputTokens,totalEstimatedCostUsd:e.totalEstimatedCostUsd,eventCount:e.eventCount,groups:{}}))}function le(e,t,n){return t!==`task`&&t!==`profile`?[...e]:e.map(e=>{let r=!1,i={};for(let[a,o]of Object.entries(e.groups)){let e=C(t,A(o),n);e===o.group?i[a]=o:(r=!0,i[a]={...o,group:e})}return r?{...e,groups:i}:e})}function k(e){let t=new Map;for(let n of e)for(let[e,r]of Object.entries(n.groups)){let n=t.get(e);t.set(e,{label:n?.label??r.group,totalEstimatedCostUsd:(n?.totalEstimatedCostUsd??0)+r.totalEstimatedCostUsd})}let n=Array.from(t.entries()).sort(([e,t],[n,r])=>t.totalEstimatedCostUsd===r.totalEstimatedCostUsd?t.label===r.label?e===n?0:e<n?-1:1:t.label<r.label?-1:1:r.totalEstimatedCostUsd-t.totalEstimatedCostUsd).map(([e,t],n)=>({seriesKey:e,label:t.label,totalEstimatedCostUsd:t.totalEstimatedCostUsd,colorIndex:n}));return{items:n,visibleItems:n.slice(0,w)}}function A(e){return{group:e.group,groupId:e.groupKey,groupKey:e.groupKey,totalInputTokens:e.totalInputTokens,totalOutputTokens:e.totalOutputTokens,totalCacheCreationTokens:0,totalCacheReadTokens:0,totalEstimatedCostUsd:e.totalEstimatedCostUsd,eventCount:e.eventCount}}function j(e){let t=e.lastIndexOf(`|`);if(t<0)return 0;let n=Number(e.slice(t+1));return Number.isFinite(n)?n:0}var M=a(),N=140,P=40,F=28,ue=2,de=2,fe=1e-6,I=12,L=220,R=56,pe=[40,80,60,100,50,70,30],me=[18,24,28,35,42,50,64,78,92,106,118,96,84,74,68,80,88,72,56,48,40,34,26,20],z=[`var(--usage-trend-stack-positive, var(--system-positive-strong, #10b981))`,`var(--usage-trend-stack-info, var(--system-info-strong, #3b82f6))`,`var(--usage-trend-stack-mid, var(--system-mid-strong, #f59e0b))`,`var(--usage-trend-stack-secondary, var(--content-secondary, #6b7280))`,`var(--usage-trend-stack-negative, var(--system-negative-strong, #f87171))`,`var(--usage-trend-stack-tertiary, var(--content-tertiary, #9ca3af))`];function B(e){return z[e%z.length]}function V(e){return e.displayLabel?e.displayLabel:e.date}function he(e,t){let n=e+I,r=t+I;return n+L>window.innerWidth&&(n=e-L-I),r+R>window.innerHeight&&(r=t-R-I),{x:n,y:r}}function ge({buckets:e,isHourly:t,legendItems:n}){let[r,i]=(0,S.useState)(null),a=(0,S.useMemo)(()=>O(e),[e]),o=(0,S.useMemo)(()=>k(e),[e]),s=n??o.items,c=n??o.visibleItems,l=(0,S.useMemo)(()=>a.reduce((e,t)=>Math.max(e,t.totalEstimatedCostUsd),0),[a]),u=(0,S.useCallback)((e,t)=>{let n=he(e.clientX,e.clientY);i({...t,x:n.x,y:n.y})},[]),d=(0,S.useCallback)(()=>i(null),[]);if(a.length===0){let e=(0,M.jsx)(be,{title:t?`No hourly data`:`No daily data`,subtitle:`No usage recorded in this time range`});return c.length===0?e:(0,M.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[e,(0,M.jsx)(H,{items:c})]})}let f=t?F:P;return(0,M.jsxs)(`div`,{className:`overflow-x-auto`,children:[(0,M.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,M.jsx)(`div`,{className:`flex items-end gap-2`,style:{height:`${N}px`},"aria-hidden":`true`,children:a.map(e=>{let t=l>0?e.totalEstimatedCostUsd/l:0,r=Math.max(ue,N*t);return(0,M.jsx)(`div`,{className:`flex items-end`,style:{width:`${f}px`,minWidth:`${f}px`,height:`${r}px`,opacity:e.totalEstimatedCostUsd>0?1:.3},title:`${V(e)}: ${_(e.totalEstimatedCostUsd)}`,"data-usage-series-bar":e.bucketId,children:(0,M.jsx)(ve,{bucket:e,height:r,legendItems:s,hasLegendOverride:n!=null,onSegmentHover:u,onSegmentLeave:d})},e.bucketId)})}),(0,M.jsx)(`div`,{className:`flex items-start gap-2`,children:a.map(e=>(0,M.jsxs)(`div`,{className:`flex flex-col items-center gap-0.5`,style:{width:`${f}px`,minWidth:`${f}px`},children:[(0,M.jsx)(`span`,{className:`truncate text-[10px]`,style:{color:`var(--content-secondary)`},children:_(e.totalEstimatedCostUsd)}),(0,M.jsx)(`span`,{className:`truncate text-[10px]`,style:{color:`var(--content-tertiary)`},children:V(e)})]},e.bucketId))}),c.length>0?(0,M.jsx)(H,{items:c}):null]}),r?(0,M.jsx)(ye,{tooltip:r}):null]})}function _e({isHourly:e}){let t=e?me:pe,n=e?F:P;return(0,M.jsx)(`div`,{className:`flex items-end gap-2`,style:{height:`${N}px`},"aria-hidden":`true`,children:t.map((e,t)=>(0,M.jsx)(`div`,{className:`rounded-sm`,style:{width:`${n}px`,height:`${e}px`,background:`color-mix(in srgb, var(--border-base) 40%, transparent)`}},t))})}function ve({bucket:e,height:t,legendItems:n,hasLegendOverride:r,onSegmentHover:i,onSegmentLeave:a}){let o=Object.keys(e.groups).length>0,s=n.filter(e=>(e.state??`active`)===`active`).flatMap(t=>{let n=e.groups[t.seriesKey];return!n||n.totalEstimatedCostUsd<=0?[]:[{item:t,value:n}]});if(s.length===0&&!o&&!r){let n={label:`Total`,bucketLabel:V(e),cost:_(e.totalEstimatedCostUsd)};return(0,M.jsx)(`div`,{className:`w-full rounded-sm`,title:`${n.label}: ${n.cost}`,onMouseEnter:e=>i(e,n),onMouseMove:e=>i(e,n),onMouseLeave:a,style:{height:`${t}px`,background:B(0)},"data-usage-series-segment-label":n.label,"data-usage-fallback-segment":`true`})}return s.length===0?null:(0,M.jsx)(`div`,{className:`flex w-full flex-col-reverse overflow-hidden rounded-sm`,style:{height:`${t}px`},"data-usage-series-stack":e.bucketId,children:s.map(({item:n,value:r})=>{let o={label:n.label,bucketLabel:V(e),cost:_(r.totalEstimatedCostUsd)};return(0,M.jsx)(`div`,{title:`${o.label}: ${o.cost}`,onMouseEnter:e=>i(e,o),onMouseMove:e=>i(e,o),onMouseLeave:a,style:{height:`${Math.max(de,t*r.totalEstimatedCostUsd/Math.max(e.totalEstimatedCostUsd,fe))}px`,background:B(n.colorIndex)},"data-usage-series-segment":n.seriesKey,"data-usage-series-segment-label":n.label,"data-usage-series-color-index":n.colorIndex},n.seriesKey)})})}function ye({tooltip:e}){return(0,M.jsxs)(`div`,{className:`pointer-events-none fixed z-50 max-w-[220px] rounded-md border px-2 py-1 shadow-xl`,style:{left:`${e.x}px`,top:`${e.y}px`,background:`var(--surface-overlay, var(--surface-lift))`,borderColor:`var(--border-base)`},"aria-hidden":`true`,children:[(0,M.jsx)(`div`,{className:`truncate text-body-small-default`,style:{color:`var(--content-default)`},children:e.label}),(0,M.jsxs)(`div`,{className:`truncate text-body-small-default`,style:{color:`var(--content-tertiary)`},children:[e.bucketLabel,` · `,e.cost]})]})}function H({items:e}){return(0,M.jsx)(`div`,{className:`flex flex-wrap items-center gap-x-3 gap-y-1 pt-1`,children:e.map(e=>{let t=e.state??`active`,n=t===`inactive`;return(0,M.jsxs)(`div`,{className:`flex min-w-0 items-center gap-1`,"data-usage-legend-state":t,children:[(0,M.jsx)(`span`,{className:`h-[7px] w-[7px] shrink-0 rounded-full`,style:{background:n?`var(--content-tertiary)`:B(e.colorIndex),opacity:n?.45:1},"aria-hidden":`true`,"data-usage-series-color-index":e.colorIndex}),(0,M.jsx)(`span`,{className:n?`truncate text-[10px] line-through`:`truncate text-[10px]`,style:{color:`var(--content-tertiary)`,opacity:n?.65:1},children:e.label})]},e.seriesKey)})})}function be({title:e,subtitle:t}){return(0,M.jsxs)(`div`,{className:`flex flex-col items-center justify-center rounded-md py-12 text-center`,style:{color:`var(--content-tertiary)`},children:[(0,M.jsx)(`p`,{className:`text-body-medium-default`,style:{color:`var(--content-secondary)`},children:e}),(0,M.jsx)(`p`,{className:`mt-1 text-body-small-default`,children:t})]})}function U(e){return!!e&&typeof e==`object`&&!Array.isArray(e)}function W(e){return typeof e==`string`&&e.trim()||void 0}function xe(e){if(!U(e)||!U(e.llm)||!U(e.llm.profiles))return{};let t={};for(let[n,r]of Object.entries(e.llm.profiles)){if(!U(r))continue;let e=W(r.label)??n,i=W(r.description);t[n]={id:n,displayName:e,...i?{description:i}:{}}}return t}async function Se(e){let{data:t,response:n}=await p.get({url:`/v1/assistants/{assistant_id}/config`,path:{assistant_id:e},throwOnError:!1});if(!n||!n.ok){let e=await n?.clone().text().catch(()=>``);throw Error(e||n?.statusText||`Failed to load inference profile metadata.`)}return xe(t)}var G=class extends Error{status;constructor(e,t){super(t),this.name=`UsageRequestError`,this.status=e}},Ce={totalInputTokens:0,totalOutputTokens:0,totalCacheCreationTokens:0,totalCacheReadTokens:0,totalEstimatedCostUsd:0,eventCount:0,pricedEventCount:0,unpricedEventCount:0};function we(e){return v(e)?y(e):e}function Te(e){return K({from:e.from,to:e.to},e.scheduleId)}function Ee(e){return K({from:e.from,to:e.to,...e.granularity?{granularity:e.granularity}:{},...e.tz?{tz:e.tz}:{}},e.scheduleId)}function De(e){return K({from:e.from,to:e.to,groupBy:we(e.groupBy)},e.scheduleId)}function Oe(e){return K({from:e.from,to:e.to,granularity:e.granularity,groupBy:we(e.groupBy),...e.tz?{tz:e.tz}:{}},e.scheduleId)}function K(e,t){return t?{...e,scheduleId:t}:e}async function q(e,t){let n=await e?.clone().text().catch(()=>``);throw new G(e?.status??0,n||e?.statusText||t)}async function ke(e,t){let{data:n,response:r}=await u({path:{assistant_id:e},query:Te(t),throwOnError:!1});return r?.ok?{...Ce,...n}:q(r,`Failed to load usage totals.`)}async function Ae(e,t){let{data:n,response:r}=await f({path:{assistant_id:e},query:Ee(t),throwOnError:!1});return r?.ok?{buckets:(n?.buckets??[]).map(e=>({...e,bucketId:e.bucketId??e.date}))}:q(r,`Failed to load usage buckets.`)}async function je(e,t){let{data:n,response:r}=await l({path:{assistant_id:e},query:De(t),throwOnError:!1});return r?.ok?{breakdown:n?.breakdown??[]}:q(r,`Failed to load usage breakdown.`)}async function Me(e,t){let{data:n,response:r}=await c({path:{assistant_id:e},query:Oe(t),throwOnError:!1});return r?.ok?{buckets:(n?.buckets??[]).map(e=>({...e,bucketId:e.bucketId??e.date,groups:e.groups??{}}))}:q(r,`Failed to load usage series.`)}function Ne(e){return[`${g(e.totalInputTokens)} direct`,`${g(e.totalCacheCreationTokens)} cache created`,`${g(e.totalCacheReadTokens)} cache read`,`${g(e.totalOutputTokens)} out`].join(` / `)}function Pe(e){return!Number.isFinite(e)||e===0?`0`:e>=1e6||e>=999950&&e<1e6?`${(e/1e6).toFixed(1)}M`:e>=1e3?`${(e/1e3).toFixed(1)}k`:e.toLocaleString()}function Fe(e){return`${Pe(e.totalInputTokens+e.totalCacheCreationTokens+e.totalCacheReadTokens)} in / ${Pe(e.totalOutputTokens)} out`}var Ie=`task`,Le=`model`,Re=new Set([400,404,422]),ze=3,Be=new Set([`today`,`7d`,`30d`,`90d`,`all`]),Ve=new Set([`actor`,`provider`,`model`,`conversation`,`task`,`profile`,`schedule`]),J={task:b.task,profile:b.profile,model:b.model,provider:`Provider`,actor:`Actor`,conversation:`Conversation`,schedule:`Schedule`},He=[{value:`task`,label:J.task},{value:`profile`,label:J.profile},{value:`model`,label:J.model},{value:`provider`,label:J.provider},{value:`schedule`,label:J.schedule},{value:`conversation`,label:J.conversation}];function Ue(e){let t=e.get(`range`),n=e.get(`groupBy`),r=qe(n)?n:Ie;return{range:Ke(t)?t:`7d`,groupBy:r,scheduleId:r===`schedule`?We(e):void 0}}function We(e){let t=e.get(`scheduleId`);if(!(!t||t.trim().length===0))return t}function Ge(e,t){let n=new URLSearchParams(e);return t.range!==void 0&&n.set(`range`,t.range),t.groupBy!==void 0&&n.set(`groupBy`,t.groupBy),t.scheduleId!==void 0&&(t.scheduleId===null||t.scheduleId.trim().length===0?n.delete(`scheduleId`):n.set(`scheduleId`,t.scheduleId)),n.get(`groupBy`)!==`schedule`&&n.delete(`scheduleId`),n}function Ke(e){return e!=null&&Be.has(e)}function qe(e){return e!=null&&Ve.has(e)}function Je(e){return e!==`conversation`}function Ye(e,t){return e!==`task`&&e!==`profile`?!1:Ze(t)}function Xe(e,t){return!Ze(t)&&e<ze}function Ze(e){return e instanceof G&&Re.has(e.status)}function Qe(e,t){let n=e===`hourly`?`Hourly Trend`:`Daily Trend`;return!t||t===`conversation`?n:`${n} by ${J[t]}`}function $e({requestedGranularity:e,isLoading:t,buckets:n}){return e===`hourly`&&(t||!n||n.length===0||n.some(et))?`hourly`:`daily`}function et(e){return e.bucketId.includes(`|`)||tt(e.date)}function tt(e){return/^\d{4}-\d{2}-\d{2} ([01]\d|2[0-3]):00$/.test(e)}function nt(e,t,n=Date.now()){return x(e,t,n)}function rt(e){return e===`today`?`hourly`:`daily`}var it=`vellum.assistant.initialMessage`;function at(){try{return globalThis.sessionStorage??null}catch{return null}}function ot(e){try{at()?.setItem(it,e)}catch{}}var st=[{value:`today`,label:`Today`},{value:`7d`,label:`Last 7 days`},{value:`30d`,label:`Last 30 days`},{value:`90d`,label:`Last 90 days`},{value:`all`,label:`All time`}],ct=300*1e3,lt=[`Please load the llm-cost-optimizer skill.`,`Analyze my recent LLM usage and explain the biggest cost contributors by call site, model, and profile.`,`Check my current llm.default, llm.callSites, and llm.profiles.`,`Give me a concise summary of what is driving cost and what you would optimize first.`,`Do not change config yet.`].join(` `),ut=[`Please load the llm-cost-optimizer skill.`,`Analyze my recent LLM usage and current LLM config, then recommend the safest cost-optimization changes.`,`If changes are clearly safe, show me the exact config commands you would run and ask for confirmation before applying them.`].join(` `);function dt({assistantId:e}){let t=n(),[a,o]=r(),{range:s,groupBy:c,scheduleId:l}=(0,S.useMemo)(()=>Ue(a),[a]),u=ne(),d=(0,S.useCallback)(e=>{o(t=>Ge(t,e),{replace:!0})},[o]),f=(0,S.useMemo)(()=>nt(s,u),[s,u]),p=(0,S.useMemo)(()=>rt(s),[s]),m=i({queryKey:te(e),queryFn:()=>ie(e),staleTime:1e4}),h=e=>{ot(e),t(ee.assistant)},re=(0,S.useCallback)(e=>{d({range:e})},[d]),g=i({queryKey:[`usage-totals`,e,f.from,f.to,l??null],queryFn:()=>ke(e,{from:f.from,to:f.to,scheduleId:l})}),_=i({queryKey:[`usage-breakdown`,e,f.from,f.to,c,l??null],queryFn:async()=>{try{return{groupBy:c,response:await je(e,{from:f.from,to:f.to,groupBy:c,scheduleId:l})}}catch(t){if(!Ye(c,t))throw t;return{groupBy:Le,response:await je(e,{from:f.from,to:f.to,groupBy:Le,scheduleId:l})}}},retry:Xe}),v=_.data?.groupBy??c,y=Je(v)?v:void 0,b=i({queryKey:[`usage-series`,e,f.from,f.to,p,u,v,l??null],queryFn:()=>y?Me(e,{from:f.from,to:f.to,granularity:p,groupBy:y,tz:u,scheduleId:l}):{buckets:[]},enabled:!!y,retry:Xe}),x=i({queryKey:[`usage-daily`,e,f.from,f.to,p,u,l??null],queryFn:()=>Ae(e,{from:f.from,to:f.to,granularity:p,tz:u,scheduleId:l}),enabled:!y||b.isError}),C=i({queryKey:[`usage-call-sites`,e],queryFn:()=>oe(e),enabled:v===`task`,staleTime:1/0}),w=i({queryKey:[`usage-profile-metadata`,e],queryFn:()=>Se(e),enabled:v===`profile`,staleTime:ct}),T=(0,S.useMemo)(()=>({callSites:ae(C.data),profiles:w.data??{}}),[C.data,w.data]),E=(0,S.useMemo)(()=>{let e=_.data;if(e)return se(e.response.breakdown,e.groupBy,T)},[_.data,T]),D=(0,S.useMemo)(()=>{if(!(!y||!b.data))return le(b.data.buckets,y,T)},[b.data,y,T]),O=(0,S.useMemo)(()=>{if(x.data)return ce(x.data.buckets)},[x.data]),k=(0,S.useMemo)(()=>y?b.error?O?{isLoading:!1,error:null,data:O,refetch:x.refetch}:{isLoading:x.isLoading||!O&&!x.error,error:x.error??b.error,data:void 0,refetch:x.error?x.refetch:b.refetch}:{isLoading:b.isLoading,error:b.error,data:D,refetch:b.refetch}:{isLoading:x.isLoading,error:x.error,data:O,refetch:x.refetch},[O,x.error,x.isLoading,x.refetch,D,y,b.error,b.isLoading,b.refetch]),A=$e({requestedGranularity:p,isLoading:k.isLoading,buckets:k.data}),j=A===`hourly`,N=y&&b.error?void 0:v,P=(0,S.useMemo)(()=>{if(!(v!==`schedule`||!l))return ft(m.data,l)},[v,l,m.data]);return(0,M.jsxs)(`div`,{className:`flex flex-col gap-6`,children:[(0,M.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-3`,children:[(0,M.jsx)(`h3`,{className:`text-title-small`,style:{color:`var(--content-default)`},children:`Usage`}),(0,M.jsx)(`div`,{className:`flex flex-wrap items-center justify-end gap-2`,children:(0,M.jsx)(ht,{range:s,onChange:re})})]}),(0,M.jsx)(`section`,{"aria-label":`Totals`,children:(0,M.jsx)(X,{query:g,skeleton:(0,M.jsx)(_t,{}),render:e=>(0,M.jsx)(gt,{totals:e})})}),(0,M.jsx)(Y,{title:`Inference Usage`,children:(0,M.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,M.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-3`,children:[(0,M.jsx)(`h4`,{className:`text-body-medium-default`,style:{color:`var(--content-default)`},children:Qe(A,N)}),(0,M.jsx)(`div`,{className:`flex flex-wrap items-center justify-end gap-2`,children:(0,M.jsx)(vt,{value:v,onChange:e=>{e===c&&v!==c&&(_.refetch(),b.refetch()),d({groupBy:e,scheduleId:e===`schedule`?void 0:null})}})})]}),(0,M.jsx)(X,{query:k,skeleton:(0,M.jsx)(_e,{isHourly:j}),render:e=>(0,M.jsx)(ge,{buckets:e,isHourly:j,legendItems:P})})]})}),(0,M.jsx)(yt,{query:_,groups:E}),(0,M.jsx)(mt,{onAnalyze:()=>h(lt),onOptimize:()=>h(ut)})]})}function ft(e,t){let n=e??[];return[...n.some(e=>e.id===t)?[]:[{id:t,label:pt(t)}],...n.map(e=>({id:e.id,label:e.name||e.id}))].map((e,n)=>({seriesKey:D(e.id,`schedule`),label:e.label,colorIndex:n,state:e.id===t?`active`:`inactive`}))}function pt(e){return`Unknown schedule (${e})`}function mt({onAnalyze:e,onOptimize:t}){return(0,M.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,M.jsx)(`div`,{className:`h-px w-full`,style:{background:`linear-gradient(to right, transparent, var(--border-base), transparent)`}}),(0,M.jsx)(Y,{title:`Cost assistant`,subtitle:`Review recent spend and tune model profile choices.`,children:(0,M.jsxs)(`div`,{className:`flex flex-col gap-2 rounded-md px-3 py-3 sm:flex-row sm:items-center`,style:{background:`color-mix(in srgb, var(--border-base) 15%, transparent)`},children:[(0,M.jsxs)(`button`,{type:`button`,onClick:e,className:`inline-flex items-center gap-2 rounded-md border px-3 py-2 text-body-medium-default transition-colors`,style:{borderColor:`var(--border-element)`,color:`var(--content-default)`,background:`var(--surface-lift)`},children:[(0,M.jsx)(h,{className:`h-4 w-4`}),`Analyze costs with assistant`]}),(0,M.jsxs)(`button`,{type:`button`,onClick:t,className:`inline-flex items-center gap-2 rounded-md border px-3 py-2 text-body-medium-default transition-colors`,style:{borderColor:`var(--border-base)`,color:`var(--content-secondary)`,background:`transparent`},children:[(0,M.jsx)(s,{className:`h-4 w-4`}),`Optimize settings`]})]})})]})}function ht({range:e,onChange:t}){return(0,M.jsx)(`div`,{className:`flex items-center`,children:(0,M.jsx)(o,{value:e,onChange:t,options:st.map(e=>({value:e.value,label:e.label}))})})}function Y({title:e,subtitle:t,children:n}){return(0,M.jsxs)(`section`,{className:`flex flex-col gap-3 rounded-md border px-4 py-4`,style:{background:`var(--surface-lift)`,borderColor:`var(--border-base)`},children:[(0,M.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,M.jsx)(`h3`,{className:`text-body-medium-default`,style:{color:`var(--content-default)`},children:e}),t?(0,M.jsx)(`p`,{className:`text-body-small-default`,style:{color:`var(--content-tertiary)`},children:t}):null]}),n]})}function X({query:e,skeleton:t,render:n}){return e.isLoading?(0,M.jsx)(M.Fragment,{children:t}):e.error?(0,M.jsx)(Ct,{message:e.error instanceof Error?e.error.message:`Failed to load usage.`,onRetry:()=>e.refetch()}):e.data?(0,M.jsx)(M.Fragment,{children:n(e.data)}):(0,M.jsx)(M.Fragment,{children:t})}function gt({totals:e}){return(0,M.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,M.jsxs)(`div`,{className:`flex flex-wrap items-baseline justify-between gap-4`,children:[(0,M.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,M.jsx)(`span`,{style:{fontSize:`30px`,fontWeight:600,lineHeight:1,color:`var(--content-default)`},children:_(e.totalEstimatedCostUsd)}),(0,M.jsx)(`span`,{className:`text-body-small-default`,style:{color:`var(--content-secondary)`},children:`Cost`})]}),(0,M.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,M.jsx)(`span`,{className:`text-title-small`,style:{color:`var(--content-default)`},children:g(e.eventCount)}),(0,M.jsx)(`span`,{className:`text-body-small-default`,style:{color:`var(--content-secondary)`},children:`LLM Calls`})]})]}),(0,M.jsxs)(`div`,{className:`grid grid-cols-2 gap-3 sm:grid-cols-4`,children:[(0,M.jsx)(Z,{label:`Direct Input Tokens`,value:g(e.totalInputTokens)}),(0,M.jsx)(Z,{label:`Output Tokens`,value:g(e.totalOutputTokens)}),(0,M.jsx)(Z,{label:`Cache Created`,value:g(e.totalCacheCreationTokens)}),(0,M.jsx)(Z,{label:`Cache Read`,value:g(e.totalCacheReadTokens)})]})]})}function Z({label:e,value:t}){return(0,M.jsxs)(`div`,{className:`flex flex-col gap-1 rounded-md px-3 py-2`,style:{background:`color-mix(in srgb, var(--border-base) 15%, transparent)`},children:[(0,M.jsx)(`span`,{className:`text-body-small-default`,style:{color:`var(--content-default)`},children:t}),(0,M.jsx)(`span`,{className:`text-label-medium-default`,style:{color:`var(--content-tertiary)`},children:e})]})}function _t(){return(0,M.jsxs)(`div`,{className:`flex flex-col gap-4`,"aria-hidden":`true`,children:[(0,M.jsxs)(`div`,{className:`flex flex-wrap items-baseline justify-between gap-4`,children:[(0,M.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,M.jsx)($,{width:140,height:30}),(0,M.jsx)($,{width:90,height:12})]}),(0,M.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,M.jsx)($,{width:60,height:16}),(0,M.jsx)($,{width:60,height:12})]})]}),(0,M.jsx)(`div`,{className:`grid grid-cols-2 gap-3 sm:grid-cols-4`,children:Array.from({length:4}).map((e,t)=>(0,M.jsxs)(`div`,{className:`flex flex-col gap-1 rounded-md px-3 py-2`,style:{background:`color-mix(in srgb, var(--border-base) 15%, transparent)`},children:[(0,M.jsx)($,{width:`50%`,height:12}),(0,M.jsx)($,{width:`70%`,height:11})]},t))})]})}function vt({value:e,onChange:t}){return(0,M.jsx)(`div`,{className:`flex items-center`,children:(0,M.jsx)(o,{value:e,onChange:t,menuAlign:`end`,menuMinWidth:196,options:He.map(e=>({value:e.value,label:e.label}))})})}function yt({query:e,groups:t}){let[n,r]=(0,S.useState)(new Set),i=e=>{r(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})};return(0,M.jsx)(Y,{title:`Breakdown`,children:(0,M.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,M.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[(0,M.jsx)(Q,{label:`% of total`,active:n.has(`pct`),onClick:()=>i(`pct`)}),(0,M.jsx)(Q,{label:`Tokens`,active:n.has(`tokens`),onClick:()=>i(`tokens`)})]}),(0,M.jsx)(X,{query:e,skeleton:(0,M.jsx)(xt,{}),render:e=>(0,M.jsx)(bt,{groups:t??e.response.breakdown,showPct:n.has(`pct`),showTokens:n.has(`tokens`)})})]})})}function Q({label:e,active:t,onClick:n}){return(0,M.jsx)(`button`,{type:`button`,onClick:n,className:`rounded-full border px-2.5 py-1 text-label-medium-default`,style:{borderColor:t?`var(--content-secondary)`:`var(--border-base)`,background:t?`color-mix(in srgb, var(--content-secondary) 15%, transparent)`:`transparent`,color:t?`var(--content-default)`:`var(--content-tertiary)`},children:e})}function bt({groups:e,showPct:t,showTokens:n}){if(e.length===0)return(0,M.jsx)(St,{title:`No breakdown data`,subtitle:`No usage recorded for this grouping`});let r=e.reduce((e,t)=>e+t.totalEstimatedCostUsd,0);return(0,M.jsx)(`div`,{className:`overflow-hidden rounded-md`,children:(0,M.jsxs)(`table`,{className:`w-full table-fixed`,children:[(0,M.jsx)(`thead`,{children:(0,M.jsxs)(`tr`,{style:{borderBottom:`1px solid var(--border-base)`},children:[(0,M.jsx)(`th`,{className:`px-3 py-2.5 text-left text-label-medium-default`,style:{color:`var(--content-tertiary)`},children:`Group`}),n?(0,M.jsx)(`th`,{className:`px-3 py-2.5 text-left text-label-medium-default`,style:{color:`var(--content-tertiary)`,width:`35%`},children:`Tokens`}):null,t?(0,M.jsx)(`th`,{className:`px-3 py-2.5 text-right text-label-medium-default`,style:{color:`var(--content-tertiary)`,width:`64px`},children:`%`}):null,(0,M.jsx)(`th`,{className:`px-3 py-2.5 text-right text-label-medium-default`,style:{color:`var(--content-tertiary)`,width:`100px`},children:`Cost`})]})}),(0,M.jsx)(`tbody`,{children:e.map((e,i)=>{let a=Ne(e),o=Fe(e),s=r>0?Math.round(e.totalEstimatedCostUsd/r*100):0;return(0,M.jsxs)(`tr`,{style:{borderTop:i===0?`none`:`1px solid var(--border-base)`},children:[(0,M.jsx)(`td`,{className:`min-w-0 px-3 py-2`,style:{color:`var(--content-default)`},children:(0,M.jsx)(`span`,{className:`block truncate text-body-medium-lighter`,title:e.group,children:e.group})}),n?(0,M.jsx)(`td`,{className:`min-w-0 px-3 py-2`,style:{color:`var(--content-secondary)`},children:(0,M.jsx)(`span`,{className:`block truncate text-body-small-default`,title:a,children:o})}):null,t?(0,M.jsx)(`td`,{className:`whitespace-nowrap px-3 py-2 text-right`,children:(0,M.jsxs)(`span`,{className:`text-body-small-default`,style:{color:`var(--content-tertiary)`},children:[s,`%`]})}):null,(0,M.jsx)(`td`,{className:`whitespace-nowrap px-3 py-2 text-right`,children:(0,M.jsx)(`span`,{className:`text-body-medium-lighter`,style:{color:`var(--content-default)`},children:_(e.totalEstimatedCostUsd)})})]},e.groupKey??e.groupId??`${e.group}-${i}`)})})]})})}function xt(){return(0,M.jsx)(`div`,{className:`flex flex-col gap-2`,"aria-hidden":`true`,children:Array.from({length:4}).map((e,t)=>(0,M.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,M.jsx)($,{width:100,height:14}),(0,M.jsx)($,{width:`60%`,height:12}),(0,M.jsx)($,{width:50,height:14})]},t))})}function $({width:e,height:t}){return(0,M.jsx)(`div`,{className:`rounded-sm`,style:{width:typeof e==`number`?`${e}px`:e,height:`${t}px`,background:`color-mix(in srgb, var(--border-base) 40%, transparent)`}})}function St({title:e,subtitle:t}){return(0,M.jsxs)(`div`,{className:`flex flex-col items-center gap-1 py-8 text-center`,children:[(0,M.jsx)(`span`,{className:`text-body-medium-default`,style:{color:`var(--content-default)`},children:e}),(0,M.jsx)(`span`,{className:`text-body-small-default`,style:{color:`var(--content-tertiary)`},children:t})]})}function Ct({message:e,onRetry:t}){return(0,M.jsxs)(`div`,{className:`flex flex-col gap-2 py-2`,children:[(0,M.jsxs)(`div`,{className:`flex items-start gap-2`,children:[(0,M.jsx)(m,{className:`h-4 w-4 shrink-0`,style:{color:`var(--system-negative-strong, #f87171)`}}),(0,M.jsx)(`span`,{className:`text-body-medium-lighter`,style:{color:`var(--content-default)`},children:e})]}),t?(0,M.jsx)(`button`,{type:`button`,onClick:t,className:`self-start rounded-md border px-3 py-1 text-body-small-default`,style:{background:`var(--surface-lift)`,borderColor:`var(--border-base)`,color:`var(--content-default)`},children:`Retry`}):null]})}function wt(){let{assistantId:e}=re();return e?(0,M.jsx)(dt,{assistantId:e}):null}export{wt as UsagePage};
|
|
1
|
+
import{o as e}from"./chunk-jRWAZmH_.js";import{t}from"./react-DJZBPgpf.js";import{d as n,m as r}from"./chunk-5KNZJZUH-B4b1m-Ya.js";import{t as i}from"./useQuery-D2zf6Uhu.js";import{t as a}from"./jsx-runtime-CVSDxk6A.js";import{t as o}from"./dropdown-CocFV5yi.js";import"./src-Bb-Updum.js";import{t as s}from"./wand-sparkles-DL9Oe56R.js";import{Bn as c,Rn as l,Vn as u,x as d,zn as f}from"./sdk.gen-AJllUeDf.js";import{t as p}from"./client.gen-NLWYTfk-.js";import{i as ee}from"./routes-DC3Pv2Da.js";import{l as te}from"./query-tags-C5nJRH2G.js";import{Li as m,Oi as h,qn as ne}from"./index-huyA6GAA.js";import{t as re}from"./use-current-platform-assistant-DqEaNqDa.js";import{i as g,t as _}from"./format-VxJLq14L.js";import{i as v,o as y,r as b}from"./llm-dimension-DZzl8VAV.js";import{n as x}from"./usage-window-D5EMg2nb.js";import{t as ie}from"./schedules-BF9QTfJF.js";var S=e(t(),1);function ae(e){if(!e)return{};let t={};for(let n of e.callSites)!n.id||!n.displayName||(t[n.id]={id:n.id,displayName:n.displayName,description:n.description,domain:n.domain});return t}async function oe(e){let{data:t,response:n}=await d({path:{assistant_id:e},throwOnError:!1});if(!n?.ok){let e=await n?.clone().text().catch(()=>``);throw Error(e||n?.statusText||`Failed to load LLM call-site metadata.`)}return t??{domains:[],callSites:[]}}function C(e,t,n){if(e===`task`){let e=t.groupKey;return e?n.callSites?.[e]?.displayName??t.group:t.group}if(e===`profile`){let e=t.groupKey;return e?n.profiles?.[e]?.displayName??t.group:t.group||`Default / Unset`}return t.group}function se(e,t,n){return!e||e.length===0?[]:e.map(e=>{let r=C(t,e,n);return r===e.group?e:{...e,group:r}})}var w=6,T=`value:`,E=`null:`;function D(e,t=`schedule`){return e===null?`${E}${v(t)?y(t):t}`:`${T}${e}`}function O(e){return[...e].sort((e,t)=>{if(e.date!==t.date)return e.date<t.date?-1:1;let n=j(e.bucketId),r=j(t.bucketId);return n===r?e.bucketId===t.bucketId?0:e.bucketId<t.bucketId?-1:1:n-r})}function ce(e){return e.map(e=>({bucketId:e.bucketId,date:e.date,displayLabel:e.displayLabel,totalInputTokens:e.totalInputTokens,totalOutputTokens:e.totalOutputTokens,totalEstimatedCostUsd:e.totalEstimatedCostUsd,eventCount:e.eventCount,groups:{}}))}function le(e,t,n){return t!==`task`&&t!==`profile`?[...e]:e.map(e=>{let r=!1,i={};for(let[a,o]of Object.entries(e.groups)){let e=C(t,A(o),n);e===o.group?i[a]=o:(r=!0,i[a]={...o,group:e})}return r?{...e,groups:i}:e})}function k(e){let t=new Map;for(let n of e)for(let[e,r]of Object.entries(n.groups)){let n=t.get(e);t.set(e,{label:n?.label??r.group,totalEstimatedCostUsd:(n?.totalEstimatedCostUsd??0)+r.totalEstimatedCostUsd})}let n=Array.from(t.entries()).sort(([e,t],[n,r])=>t.totalEstimatedCostUsd===r.totalEstimatedCostUsd?t.label===r.label?e===n?0:e<n?-1:1:t.label<r.label?-1:1:r.totalEstimatedCostUsd-t.totalEstimatedCostUsd).map(([e,t],n)=>({seriesKey:e,label:t.label,totalEstimatedCostUsd:t.totalEstimatedCostUsd,colorIndex:n}));return{items:n,visibleItems:n.slice(0,w)}}function A(e){return{group:e.group,groupId:e.groupKey,groupKey:e.groupKey,totalInputTokens:e.totalInputTokens,totalOutputTokens:e.totalOutputTokens,totalCacheCreationTokens:0,totalCacheReadTokens:0,totalEstimatedCostUsd:e.totalEstimatedCostUsd,eventCount:e.eventCount}}function j(e){let t=e.lastIndexOf(`|`);if(t<0)return 0;let n=Number(e.slice(t+1));return Number.isFinite(n)?n:0}var M=a(),N=140,P=40,F=28,ue=2,de=2,fe=1e-6,I=12,L=220,R=56,pe=[40,80,60,100,50,70,30],me=[18,24,28,35,42,50,64,78,92,106,118,96,84,74,68,80,88,72,56,48,40,34,26,20],z=[`var(--usage-trend-stack-positive, var(--system-positive-strong, #10b981))`,`var(--usage-trend-stack-info, var(--system-info-strong, #3b82f6))`,`var(--usage-trend-stack-mid, var(--system-mid-strong, #f59e0b))`,`var(--usage-trend-stack-secondary, var(--content-secondary, #6b7280))`,`var(--usage-trend-stack-negative, var(--system-negative-strong, #f87171))`,`var(--usage-trend-stack-tertiary, var(--content-tertiary, #9ca3af))`];function B(e){return z[e%z.length]}function V(e){return e.displayLabel?e.displayLabel:e.date}function he(e,t){let n=e+I,r=t+I;return n+L>window.innerWidth&&(n=e-L-I),r+R>window.innerHeight&&(r=t-R-I),{x:n,y:r}}function ge({buckets:e,isHourly:t,legendItems:n}){let[r,i]=(0,S.useState)(null),a=(0,S.useMemo)(()=>O(e),[e]),o=(0,S.useMemo)(()=>k(e),[e]),s=n??o.items,c=n??o.visibleItems,l=(0,S.useMemo)(()=>a.reduce((e,t)=>Math.max(e,t.totalEstimatedCostUsd),0),[a]),u=(0,S.useCallback)((e,t)=>{let n=he(e.clientX,e.clientY);i({...t,x:n.x,y:n.y})},[]),d=(0,S.useCallback)(()=>i(null),[]);if(a.length===0){let e=(0,M.jsx)(be,{title:t?`No hourly data`:`No daily data`,subtitle:`No usage recorded in this time range`});return c.length===0?e:(0,M.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[e,(0,M.jsx)(H,{items:c})]})}let f=t?F:P;return(0,M.jsxs)(`div`,{className:`overflow-x-auto`,children:[(0,M.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,M.jsx)(`div`,{className:`flex items-end gap-2`,style:{height:`${N}px`},"aria-hidden":`true`,children:a.map(e=>{let t=l>0?e.totalEstimatedCostUsd/l:0,r=Math.max(ue,N*t);return(0,M.jsx)(`div`,{className:`flex items-end`,style:{width:`${f}px`,minWidth:`${f}px`,height:`${r}px`,opacity:e.totalEstimatedCostUsd>0?1:.3},title:`${V(e)}: ${_(e.totalEstimatedCostUsd)}`,"data-usage-series-bar":e.bucketId,children:(0,M.jsx)(ve,{bucket:e,height:r,legendItems:s,hasLegendOverride:n!=null,onSegmentHover:u,onSegmentLeave:d})},e.bucketId)})}),(0,M.jsx)(`div`,{className:`flex items-start gap-2`,children:a.map(e=>(0,M.jsxs)(`div`,{className:`flex flex-col items-center gap-0.5`,style:{width:`${f}px`,minWidth:`${f}px`},children:[(0,M.jsx)(`span`,{className:`truncate text-[10px]`,style:{color:`var(--content-secondary)`},children:_(e.totalEstimatedCostUsd)}),(0,M.jsx)(`span`,{className:`truncate text-[10px]`,style:{color:`var(--content-tertiary)`},children:V(e)})]},e.bucketId))}),c.length>0?(0,M.jsx)(H,{items:c}):null]}),r?(0,M.jsx)(ye,{tooltip:r}):null]})}function _e({isHourly:e}){let t=e?me:pe,n=e?F:P;return(0,M.jsx)(`div`,{className:`flex items-end gap-2`,style:{height:`${N}px`},"aria-hidden":`true`,children:t.map((e,t)=>(0,M.jsx)(`div`,{className:`rounded-sm`,style:{width:`${n}px`,height:`${e}px`,background:`color-mix(in srgb, var(--border-base) 40%, transparent)`}},t))})}function ve({bucket:e,height:t,legendItems:n,hasLegendOverride:r,onSegmentHover:i,onSegmentLeave:a}){let o=Object.keys(e.groups).length>0,s=n.filter(e=>(e.state??`active`)===`active`).flatMap(t=>{let n=e.groups[t.seriesKey];return!n||n.totalEstimatedCostUsd<=0?[]:[{item:t,value:n}]});if(s.length===0&&!o&&!r){let n={label:`Total`,bucketLabel:V(e),cost:_(e.totalEstimatedCostUsd)};return(0,M.jsx)(`div`,{className:`w-full rounded-sm`,title:`${n.label}: ${n.cost}`,onMouseEnter:e=>i(e,n),onMouseMove:e=>i(e,n),onMouseLeave:a,style:{height:`${t}px`,background:B(0)},"data-usage-series-segment-label":n.label,"data-usage-fallback-segment":`true`})}return s.length===0?null:(0,M.jsx)(`div`,{className:`flex w-full flex-col-reverse overflow-hidden rounded-sm`,style:{height:`${t}px`},"data-usage-series-stack":e.bucketId,children:s.map(({item:n,value:r})=>{let o={label:n.label,bucketLabel:V(e),cost:_(r.totalEstimatedCostUsd)};return(0,M.jsx)(`div`,{title:`${o.label}: ${o.cost}`,onMouseEnter:e=>i(e,o),onMouseMove:e=>i(e,o),onMouseLeave:a,style:{height:`${Math.max(de,t*r.totalEstimatedCostUsd/Math.max(e.totalEstimatedCostUsd,fe))}px`,background:B(n.colorIndex)},"data-usage-series-segment":n.seriesKey,"data-usage-series-segment-label":n.label,"data-usage-series-color-index":n.colorIndex},n.seriesKey)})})}function ye({tooltip:e}){return(0,M.jsxs)(`div`,{className:`pointer-events-none fixed z-50 max-w-[220px] rounded-md border px-2 py-1 shadow-xl`,style:{left:`${e.x}px`,top:`${e.y}px`,background:`var(--surface-overlay, var(--surface-lift))`,borderColor:`var(--border-base)`},"aria-hidden":`true`,children:[(0,M.jsx)(`div`,{className:`truncate text-body-small-default`,style:{color:`var(--content-default)`},children:e.label}),(0,M.jsxs)(`div`,{className:`truncate text-body-small-default`,style:{color:`var(--content-tertiary)`},children:[e.bucketLabel,` · `,e.cost]})]})}function H({items:e}){return(0,M.jsx)(`div`,{className:`flex flex-wrap items-center gap-x-3 gap-y-1 pt-1`,children:e.map(e=>{let t=e.state??`active`,n=t===`inactive`;return(0,M.jsxs)(`div`,{className:`flex min-w-0 items-center gap-1`,"data-usage-legend-state":t,children:[(0,M.jsx)(`span`,{className:`h-[7px] w-[7px] shrink-0 rounded-full`,style:{background:n?`var(--content-tertiary)`:B(e.colorIndex),opacity:n?.45:1},"aria-hidden":`true`,"data-usage-series-color-index":e.colorIndex}),(0,M.jsx)(`span`,{className:n?`truncate text-[10px] line-through`:`truncate text-[10px]`,style:{color:`var(--content-tertiary)`,opacity:n?.65:1},children:e.label})]},e.seriesKey)})})}function be({title:e,subtitle:t}){return(0,M.jsxs)(`div`,{className:`flex flex-col items-center justify-center rounded-md py-12 text-center`,style:{color:`var(--content-tertiary)`},children:[(0,M.jsx)(`p`,{className:`text-body-medium-default`,style:{color:`var(--content-secondary)`},children:e}),(0,M.jsx)(`p`,{className:`mt-1 text-body-small-default`,children:t})]})}function U(e){return!!e&&typeof e==`object`&&!Array.isArray(e)}function W(e){return typeof e==`string`&&e.trim()||void 0}function xe(e){if(!U(e)||!U(e.llm)||!U(e.llm.profiles))return{};let t={};for(let[n,r]of Object.entries(e.llm.profiles)){if(!U(r))continue;let e=W(r.label)??n,i=W(r.description);t[n]={id:n,displayName:e,...i?{description:i}:{}}}return t}async function Se(e){let{data:t,response:n}=await p.get({url:`/v1/assistants/{assistant_id}/config`,path:{assistant_id:e},throwOnError:!1});if(!n||!n.ok){let e=await n?.clone().text().catch(()=>``);throw Error(e||n?.statusText||`Failed to load inference profile metadata.`)}return xe(t)}var G=class extends Error{status;constructor(e,t){super(t),this.name=`UsageRequestError`,this.status=e}},Ce={totalInputTokens:0,totalOutputTokens:0,totalCacheCreationTokens:0,totalCacheReadTokens:0,totalEstimatedCostUsd:0,eventCount:0,pricedEventCount:0,unpricedEventCount:0};function we(e){return v(e)?y(e):e}function Te(e){return K({from:e.from,to:e.to},e.scheduleId)}function Ee(e){return K({from:e.from,to:e.to,...e.granularity?{granularity:e.granularity}:{},...e.tz?{tz:e.tz}:{}},e.scheduleId)}function De(e){return K({from:e.from,to:e.to,groupBy:we(e.groupBy)},e.scheduleId)}function Oe(e){return K({from:e.from,to:e.to,granularity:e.granularity,groupBy:we(e.groupBy),...e.tz?{tz:e.tz}:{}},e.scheduleId)}function K(e,t){return t?{...e,scheduleId:t}:e}async function q(e,t){let n=await e?.clone().text().catch(()=>``);throw new G(e?.status??0,n||e?.statusText||t)}async function ke(e,t){let{data:n,response:r}=await u({path:{assistant_id:e},query:Te(t),throwOnError:!1});return r?.ok?{...Ce,...n}:q(r,`Failed to load usage totals.`)}async function Ae(e,t){let{data:n,response:r}=await f({path:{assistant_id:e},query:Ee(t),throwOnError:!1});return r?.ok?{buckets:(n?.buckets??[]).map(e=>({...e,bucketId:e.bucketId??e.date}))}:q(r,`Failed to load usage buckets.`)}async function je(e,t){let{data:n,response:r}=await l({path:{assistant_id:e},query:De(t),throwOnError:!1});return r?.ok?{breakdown:n?.breakdown??[]}:q(r,`Failed to load usage breakdown.`)}async function Me(e,t){let{data:n,response:r}=await c({path:{assistant_id:e},query:Oe(t),throwOnError:!1});return r?.ok?{buckets:(n?.buckets??[]).map(e=>({...e,bucketId:e.bucketId??e.date,groups:e.groups??{}}))}:q(r,`Failed to load usage series.`)}function Ne(e){return[`${g(e.totalInputTokens)} direct`,`${g(e.totalCacheCreationTokens)} cache created`,`${g(e.totalCacheReadTokens)} cache read`,`${g(e.totalOutputTokens)} out`].join(` / `)}function Pe(e){return!Number.isFinite(e)||e===0?`0`:e>=1e6||e>=999950&&e<1e6?`${(e/1e6).toFixed(1)}M`:e>=1e3?`${(e/1e3).toFixed(1)}k`:e.toLocaleString()}function Fe(e){return`${Pe(e.totalInputTokens+e.totalCacheCreationTokens+e.totalCacheReadTokens)} in / ${Pe(e.totalOutputTokens)} out`}var Ie=`task`,Le=`model`,Re=new Set([400,404,422]),ze=3,Be=new Set([`today`,`7d`,`30d`,`90d`,`all`]),Ve=new Set([`actor`,`provider`,`model`,`conversation`,`task`,`profile`,`schedule`]),J={task:b.task,profile:b.profile,model:b.model,provider:`Provider`,actor:`Actor`,conversation:`Conversation`,schedule:`Schedule`},He=[{value:`task`,label:J.task},{value:`profile`,label:J.profile},{value:`model`,label:J.model},{value:`provider`,label:J.provider},{value:`schedule`,label:J.schedule},{value:`conversation`,label:J.conversation}];function Ue(e){let t=e.get(`range`),n=e.get(`groupBy`),r=qe(n)?n:Ie;return{range:Ke(t)?t:`7d`,groupBy:r,scheduleId:r===`schedule`?We(e):void 0}}function We(e){let t=e.get(`scheduleId`);if(!(!t||t.trim().length===0))return t}function Ge(e,t){let n=new URLSearchParams(e);return t.range!==void 0&&n.set(`range`,t.range),t.groupBy!==void 0&&n.set(`groupBy`,t.groupBy),t.scheduleId!==void 0&&(t.scheduleId===null||t.scheduleId.trim().length===0?n.delete(`scheduleId`):n.set(`scheduleId`,t.scheduleId)),n.get(`groupBy`)!==`schedule`&&n.delete(`scheduleId`),n}function Ke(e){return e!=null&&Be.has(e)}function qe(e){return e!=null&&Ve.has(e)}function Je(e){return e!==`conversation`}function Ye(e,t){return e!==`task`&&e!==`profile`?!1:Ze(t)}function Xe(e,t){return!Ze(t)&&e<ze}function Ze(e){return e instanceof G&&Re.has(e.status)}function Qe(e,t){let n=e===`hourly`?`Hourly Trend`:`Daily Trend`;return!t||t===`conversation`?n:`${n} by ${J[t]}`}function $e({requestedGranularity:e,isLoading:t,buckets:n}){return e===`hourly`&&(t||!n||n.length===0||n.some(et))?`hourly`:`daily`}function et(e){return e.bucketId.includes(`|`)||tt(e.date)}function tt(e){return/^\d{4}-\d{2}-\d{2} ([01]\d|2[0-3]):00$/.test(e)}function nt(e,t,n=Date.now()){return x(e,t,n)}function rt(e){return e===`today`?`hourly`:`daily`}var it=`vellum.assistant.initialMessage`;function at(){try{return globalThis.sessionStorage??null}catch{return null}}function ot(e){try{at()?.setItem(it,e)}catch{}}var st=[{value:`today`,label:`Today`},{value:`7d`,label:`Last 7 days`},{value:`30d`,label:`Last 30 days`},{value:`90d`,label:`Last 90 days`},{value:`all`,label:`All time`}],ct=300*1e3,lt=[`Please load the llm-cost-optimizer skill.`,`Analyze my recent LLM usage and explain the biggest cost contributors by call site, model, and profile.`,`Check my current llm.default, llm.callSites, and llm.profiles.`,`Give me a concise summary of what is driving cost and what you would optimize first.`,`Do not change config yet.`].join(` `),ut=[`Please load the llm-cost-optimizer skill.`,`Analyze my recent LLM usage and current LLM config, then recommend the safest cost-optimization changes.`,`If changes are clearly safe, show me the exact config commands you would run and ask for confirmation before applying them.`].join(` `);function dt({assistantId:e}){let t=n(),[a,o]=r(),{range:s,groupBy:c,scheduleId:l}=(0,S.useMemo)(()=>Ue(a),[a]),u=ne(),d=(0,S.useCallback)(e=>{o(t=>Ge(t,e),{replace:!0})},[o]),f=(0,S.useMemo)(()=>nt(s,u),[s,u]),p=(0,S.useMemo)(()=>rt(s),[s]),m=i({queryKey:te(e),queryFn:()=>ie(e),staleTime:1e4}),h=e=>{ot(e),t(ee.assistant)},re=(0,S.useCallback)(e=>{d({range:e})},[d]),g=i({queryKey:[`usage-totals`,e,f.from,f.to,l??null],queryFn:()=>ke(e,{from:f.from,to:f.to,scheduleId:l})}),_=i({queryKey:[`usage-breakdown`,e,f.from,f.to,c,l??null],queryFn:async()=>{try{return{groupBy:c,response:await je(e,{from:f.from,to:f.to,groupBy:c,scheduleId:l})}}catch(t){if(!Ye(c,t))throw t;return{groupBy:Le,response:await je(e,{from:f.from,to:f.to,groupBy:Le,scheduleId:l})}}},retry:Xe}),v=_.data?.groupBy??c,y=Je(v)?v:void 0,b=i({queryKey:[`usage-series`,e,f.from,f.to,p,u,v,l??null],queryFn:()=>y?Me(e,{from:f.from,to:f.to,granularity:p,groupBy:y,tz:u,scheduleId:l}):{buckets:[]},enabled:!!y,retry:Xe}),x=i({queryKey:[`usage-daily`,e,f.from,f.to,p,u,l??null],queryFn:()=>Ae(e,{from:f.from,to:f.to,granularity:p,tz:u,scheduleId:l}),enabled:!y||b.isError}),C=i({queryKey:[`usage-call-sites`,e],queryFn:()=>oe(e),enabled:v===`task`,staleTime:1/0}),w=i({queryKey:[`usage-profile-metadata`,e],queryFn:()=>Se(e),enabled:v===`profile`,staleTime:ct}),T=(0,S.useMemo)(()=>({callSites:ae(C.data),profiles:w.data??{}}),[C.data,w.data]),E=(0,S.useMemo)(()=>{let e=_.data;if(e)return se(e.response.breakdown,e.groupBy,T)},[_.data,T]),D=(0,S.useMemo)(()=>{if(!(!y||!b.data))return le(b.data.buckets,y,T)},[b.data,y,T]),O=(0,S.useMemo)(()=>{if(x.data)return ce(x.data.buckets)},[x.data]),k=(0,S.useMemo)(()=>y?b.error?O?{isLoading:!1,error:null,data:O,refetch:x.refetch}:{isLoading:x.isLoading||!O&&!x.error,error:x.error??b.error,data:void 0,refetch:x.error?x.refetch:b.refetch}:{isLoading:b.isLoading,error:b.error,data:D,refetch:b.refetch}:{isLoading:x.isLoading,error:x.error,data:O,refetch:x.refetch},[O,x.error,x.isLoading,x.refetch,D,y,b.error,b.isLoading,b.refetch]),A=$e({requestedGranularity:p,isLoading:k.isLoading,buckets:k.data}),j=A===`hourly`,N=y&&b.error?void 0:v,P=(0,S.useMemo)(()=>{if(!(v!==`schedule`||!l))return ft(m.data,l)},[v,l,m.data]);return(0,M.jsxs)(`div`,{className:`flex flex-col gap-6`,children:[(0,M.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-3`,children:[(0,M.jsx)(`h3`,{className:`text-title-small`,style:{color:`var(--content-default)`},children:`Usage`}),(0,M.jsx)(`div`,{className:`flex flex-wrap items-center justify-end gap-2`,children:(0,M.jsx)(ht,{range:s,onChange:re})})]}),(0,M.jsx)(`section`,{"aria-label":`Totals`,children:(0,M.jsx)(X,{query:g,skeleton:(0,M.jsx)(_t,{}),render:e=>(0,M.jsx)(gt,{totals:e})})}),(0,M.jsx)(Y,{title:`Inference Usage`,children:(0,M.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,M.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-3`,children:[(0,M.jsx)(`h4`,{className:`text-body-medium-default`,style:{color:`var(--content-default)`},children:Qe(A,N)}),(0,M.jsx)(`div`,{className:`flex flex-wrap items-center justify-end gap-2`,children:(0,M.jsx)(vt,{value:v,onChange:e=>{e===c&&v!==c&&(_.refetch(),b.refetch()),d({groupBy:e,scheduleId:e===`schedule`?void 0:null})}})})]}),(0,M.jsx)(X,{query:k,skeleton:(0,M.jsx)(_e,{isHourly:j}),render:e=>(0,M.jsx)(ge,{buckets:e,isHourly:j,legendItems:P})})]})}),(0,M.jsx)(yt,{query:_,groups:E}),(0,M.jsx)(mt,{onAnalyze:()=>h(lt),onOptimize:()=>h(ut)})]})}function ft(e,t){let n=e??[];return[...n.some(e=>e.id===t)?[]:[{id:t,label:pt(t)}],...n.map(e=>({id:e.id,label:e.name||e.id}))].map((e,n)=>({seriesKey:D(e.id,`schedule`),label:e.label,colorIndex:n,state:e.id===t?`active`:`inactive`}))}function pt(e){return`Unknown schedule (${e})`}function mt({onAnalyze:e,onOptimize:t}){return(0,M.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,M.jsx)(`div`,{className:`h-px w-full`,style:{background:`linear-gradient(to right, transparent, var(--border-base), transparent)`}}),(0,M.jsx)(Y,{title:`Cost assistant`,subtitle:`Review recent spend and tune model profile choices.`,children:(0,M.jsxs)(`div`,{className:`flex flex-col gap-2 rounded-md px-3 py-3 sm:flex-row sm:items-center`,style:{background:`color-mix(in srgb, var(--border-base) 15%, transparent)`},children:[(0,M.jsxs)(`button`,{type:`button`,onClick:e,className:`inline-flex items-center gap-2 rounded-md border px-3 py-2 text-body-medium-default transition-colors`,style:{borderColor:`var(--border-element)`,color:`var(--content-default)`,background:`var(--surface-lift)`},children:[(0,M.jsx)(m,{className:`h-4 w-4`}),`Analyze costs with assistant`]}),(0,M.jsxs)(`button`,{type:`button`,onClick:t,className:`inline-flex items-center gap-2 rounded-md border px-3 py-2 text-body-medium-default transition-colors`,style:{borderColor:`var(--border-base)`,color:`var(--content-secondary)`,background:`transparent`},children:[(0,M.jsx)(s,{className:`h-4 w-4`}),`Optimize settings`]})]})})]})}function ht({range:e,onChange:t}){return(0,M.jsx)(`div`,{className:`flex items-center`,children:(0,M.jsx)(o,{value:e,onChange:t,options:st.map(e=>({value:e.value,label:e.label}))})})}function Y({title:e,subtitle:t,children:n}){return(0,M.jsxs)(`section`,{className:`flex flex-col gap-3 rounded-md border px-4 py-4`,style:{background:`var(--surface-lift)`,borderColor:`var(--border-base)`},children:[(0,M.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,M.jsx)(`h3`,{className:`text-body-medium-default`,style:{color:`var(--content-default)`},children:e}),t?(0,M.jsx)(`p`,{className:`text-body-small-default`,style:{color:`var(--content-tertiary)`},children:t}):null]}),n]})}function X({query:e,skeleton:t,render:n}){return e.isLoading?(0,M.jsx)(M.Fragment,{children:t}):e.error?(0,M.jsx)(Ct,{message:e.error instanceof Error?e.error.message:`Failed to load usage.`,onRetry:()=>e.refetch()}):e.data?(0,M.jsx)(M.Fragment,{children:n(e.data)}):(0,M.jsx)(M.Fragment,{children:t})}function gt({totals:e}){return(0,M.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,M.jsxs)(`div`,{className:`flex flex-wrap items-baseline justify-between gap-4`,children:[(0,M.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,M.jsx)(`span`,{style:{fontSize:`30px`,fontWeight:600,lineHeight:1,color:`var(--content-default)`},children:_(e.totalEstimatedCostUsd)}),(0,M.jsx)(`span`,{className:`text-body-small-default`,style:{color:`var(--content-secondary)`},children:`Cost`})]}),(0,M.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,M.jsx)(`span`,{className:`text-title-small`,style:{color:`var(--content-default)`},children:g(e.eventCount)}),(0,M.jsx)(`span`,{className:`text-body-small-default`,style:{color:`var(--content-secondary)`},children:`LLM Calls`})]})]}),(0,M.jsxs)(`div`,{className:`grid grid-cols-2 gap-3 sm:grid-cols-4`,children:[(0,M.jsx)(Z,{label:`Direct Input Tokens`,value:g(e.totalInputTokens)}),(0,M.jsx)(Z,{label:`Output Tokens`,value:g(e.totalOutputTokens)}),(0,M.jsx)(Z,{label:`Cache Created`,value:g(e.totalCacheCreationTokens)}),(0,M.jsx)(Z,{label:`Cache Read`,value:g(e.totalCacheReadTokens)})]})]})}function Z({label:e,value:t}){return(0,M.jsxs)(`div`,{className:`flex flex-col gap-1 rounded-md px-3 py-2`,style:{background:`color-mix(in srgb, var(--border-base) 15%, transparent)`},children:[(0,M.jsx)(`span`,{className:`text-body-small-default`,style:{color:`var(--content-default)`},children:t}),(0,M.jsx)(`span`,{className:`text-label-medium-default`,style:{color:`var(--content-tertiary)`},children:e})]})}function _t(){return(0,M.jsxs)(`div`,{className:`flex flex-col gap-4`,"aria-hidden":`true`,children:[(0,M.jsxs)(`div`,{className:`flex flex-wrap items-baseline justify-between gap-4`,children:[(0,M.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,M.jsx)($,{width:140,height:30}),(0,M.jsx)($,{width:90,height:12})]}),(0,M.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,M.jsx)($,{width:60,height:16}),(0,M.jsx)($,{width:60,height:12})]})]}),(0,M.jsx)(`div`,{className:`grid grid-cols-2 gap-3 sm:grid-cols-4`,children:Array.from({length:4}).map((e,t)=>(0,M.jsxs)(`div`,{className:`flex flex-col gap-1 rounded-md px-3 py-2`,style:{background:`color-mix(in srgb, var(--border-base) 15%, transparent)`},children:[(0,M.jsx)($,{width:`50%`,height:12}),(0,M.jsx)($,{width:`70%`,height:11})]},t))})]})}function vt({value:e,onChange:t}){return(0,M.jsx)(`div`,{className:`flex items-center`,children:(0,M.jsx)(o,{value:e,onChange:t,menuAlign:`end`,menuMinWidth:196,options:He.map(e=>({value:e.value,label:e.label}))})})}function yt({query:e,groups:t}){let[n,r]=(0,S.useState)(new Set),i=e=>{r(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})};return(0,M.jsx)(Y,{title:`Breakdown`,children:(0,M.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,M.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[(0,M.jsx)(Q,{label:`% of total`,active:n.has(`pct`),onClick:()=>i(`pct`)}),(0,M.jsx)(Q,{label:`Tokens`,active:n.has(`tokens`),onClick:()=>i(`tokens`)})]}),(0,M.jsx)(X,{query:e,skeleton:(0,M.jsx)(xt,{}),render:e=>(0,M.jsx)(bt,{groups:t??e.response.breakdown,showPct:n.has(`pct`),showTokens:n.has(`tokens`)})})]})})}function Q({label:e,active:t,onClick:n}){return(0,M.jsx)(`button`,{type:`button`,onClick:n,className:`rounded-full border px-2.5 py-1 text-label-medium-default`,style:{borderColor:t?`var(--content-secondary)`:`var(--border-base)`,background:t?`color-mix(in srgb, var(--content-secondary) 15%, transparent)`:`transparent`,color:t?`var(--content-default)`:`var(--content-tertiary)`},children:e})}function bt({groups:e,showPct:t,showTokens:n}){if(e.length===0)return(0,M.jsx)(St,{title:`No breakdown data`,subtitle:`No usage recorded for this grouping`});let r=e.reduce((e,t)=>e+t.totalEstimatedCostUsd,0);return(0,M.jsx)(`div`,{className:`overflow-hidden rounded-md`,children:(0,M.jsxs)(`table`,{className:`w-full table-fixed`,children:[(0,M.jsx)(`thead`,{children:(0,M.jsxs)(`tr`,{style:{borderBottom:`1px solid var(--border-base)`},children:[(0,M.jsx)(`th`,{className:`px-3 py-2.5 text-left text-label-medium-default`,style:{color:`var(--content-tertiary)`},children:`Group`}),n?(0,M.jsx)(`th`,{className:`px-3 py-2.5 text-left text-label-medium-default`,style:{color:`var(--content-tertiary)`,width:`35%`},children:`Tokens`}):null,t?(0,M.jsx)(`th`,{className:`px-3 py-2.5 text-right text-label-medium-default`,style:{color:`var(--content-tertiary)`,width:`64px`},children:`%`}):null,(0,M.jsx)(`th`,{className:`px-3 py-2.5 text-right text-label-medium-default`,style:{color:`var(--content-tertiary)`,width:`100px`},children:`Cost`})]})}),(0,M.jsx)(`tbody`,{children:e.map((e,i)=>{let a=Ne(e),o=Fe(e),s=r>0?Math.round(e.totalEstimatedCostUsd/r*100):0;return(0,M.jsxs)(`tr`,{style:{borderTop:i===0?`none`:`1px solid var(--border-base)`},children:[(0,M.jsx)(`td`,{className:`min-w-0 px-3 py-2`,style:{color:`var(--content-default)`},children:(0,M.jsx)(`span`,{className:`block truncate text-body-medium-lighter`,title:e.group,children:e.group})}),n?(0,M.jsx)(`td`,{className:`min-w-0 px-3 py-2`,style:{color:`var(--content-secondary)`},children:(0,M.jsx)(`span`,{className:`block truncate text-body-small-default`,title:a,children:o})}):null,t?(0,M.jsx)(`td`,{className:`whitespace-nowrap px-3 py-2 text-right`,children:(0,M.jsxs)(`span`,{className:`text-body-small-default`,style:{color:`var(--content-tertiary)`},children:[s,`%`]})}):null,(0,M.jsx)(`td`,{className:`whitespace-nowrap px-3 py-2 text-right`,children:(0,M.jsx)(`span`,{className:`text-body-medium-lighter`,style:{color:`var(--content-default)`},children:_(e.totalEstimatedCostUsd)})})]},e.groupKey??e.groupId??`${e.group}-${i}`)})})]})})}function xt(){return(0,M.jsx)(`div`,{className:`flex flex-col gap-2`,"aria-hidden":`true`,children:Array.from({length:4}).map((e,t)=>(0,M.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,M.jsx)($,{width:100,height:14}),(0,M.jsx)($,{width:`60%`,height:12}),(0,M.jsx)($,{width:50,height:14})]},t))})}function $({width:e,height:t}){return(0,M.jsx)(`div`,{className:`rounded-sm`,style:{width:typeof e==`number`?`${e}px`:e,height:`${t}px`,background:`color-mix(in srgb, var(--border-base) 40%, transparent)`}})}function St({title:e,subtitle:t}){return(0,M.jsxs)(`div`,{className:`flex flex-col items-center gap-1 py-8 text-center`,children:[(0,M.jsx)(`span`,{className:`text-body-medium-default`,style:{color:`var(--content-default)`},children:e}),(0,M.jsx)(`span`,{className:`text-body-small-default`,style:{color:`var(--content-tertiary)`},children:t})]})}function Ct({message:e,onRetry:t}){return(0,M.jsxs)(`div`,{className:`flex flex-col gap-2 py-2`,children:[(0,M.jsxs)(`div`,{className:`flex items-start gap-2`,children:[(0,M.jsx)(h,{className:`h-4 w-4 shrink-0`,style:{color:`var(--system-negative-strong, #f87171)`}}),(0,M.jsx)(`span`,{className:`text-body-medium-lighter`,style:{color:`var(--content-default)`},children:e})]}),t?(0,M.jsx)(`button`,{type:`button`,onClick:t,className:`self-start rounded-md border px-3 py-1 text-body-small-default`,style:{background:`var(--surface-lift)`,borderColor:`var(--border-base)`,color:`var(--content-default)`},children:`Retry`}):null]})}function wt(){let{assistantId:e}=re();return e?(0,M.jsx)(dt,{assistantId:e}):null}export{wt as UsagePage};
|
package/dist/assets/{use-active-assistant-id--1Ick1YC.js → use-active-assistant-id-DpqDbjpv.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./resolved-assistants-store-
|
|
1
|
+
import{t as e}from"./resolved-assistants-store-BPUbuIhU.js";function t(){let t=e.use.activeAssistantId();if(!t)throw Error(`useActiveAssistantId() called outside ActiveAssistantGate — either mount the route under <ActiveAssistantGate> or read the raw store via useResolvedAssistantsStore.use.activeAssistantId().`);return t}export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e}from"./chunk-jRWAZmH_.js";import{t}from"./react-DJZBPgpf.js";import{n}from"./event-bus-
|
|
1
|
+
import{o as e}from"./chunk-jRWAZmH_.js";import{t}from"./react-DJZBPgpf.js";import{n}from"./event-bus-Dz-RECxQ.js";var r=e(t(),1);function i(e,t){let i=(0,r.useRef)(t);(0,r.useLayoutEffect)(()=>{i.current=t}),(0,r.useEffect)(()=>n(e,e=>{i.current(e)}),[e])}export{i as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e}from"./chunk-jRWAZmH_.js";import{t}from"./react-DJZBPgpf.js";import{t as n}from"./useQuery-D2zf6Uhu.js";import{t as r}from"./resolved-assistants-store-
|
|
1
|
+
import{o as e}from"./chunk-jRWAZmH_.js";import{t}from"./react-DJZBPgpf.js";import{t as n}from"./useQuery-D2zf6Uhu.js";import{t as r}from"./resolved-assistants-store-BPUbuIhU.js";import{c as i}from"./auth-store-B42fGh_X.js";import{Dt as a}from"./index-huyA6GAA.js";var o=e(t(),1),s=a({query:{hosting:`platform`}});function c(){let e=i.use.currentOrganizationId(),t=r.use.selectedPlatformAssistantByOrg(),a=e?t[e]??null:null,c=n(s),l=c.data?.results??[],u=!c.isPending,d=null,f;l.length===0?f=a:(a&&(d=l.find(e=>e.id===a)??null),d||=l[0],f=d.id),(0,o.useEffect)(()=>{u&&l.length!==0&&f!==a&&f!=null&&e&&r.getState().setSelectedPlatformAssistant(e,f)},[u,l.length,f,a,e]);let p=(0,o.useCallback)(t=>{e&&r.getState().setSelectedPlatformAssistant(e,t)},[e]);return{assistantId:f,assistant:d,setAssistantId:p,isLoading:c.isPending,isListLoaded:u,platformAssistants:l}}export{c as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as e,r as t}from"./auth-store-B42fGh_X.js";function n(){let n=e.use.currentOrganizationId();return!t()||n!=null}export{n as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e}from"./chunk-jRWAZmH_.js";import{t}from"./react-DJZBPgpf.js";import{O as n}from"./index-
|
|
1
|
+
import{o as e}from"./chunk-jRWAZmH_.js";import{t}from"./react-DJZBPgpf.js";import{O as n}from"./index-huyA6GAA.js";var r=e(t(),1);function i(e){(0,r.useEffect)(()=>{let t=t=>{e(t.detail)};return window.addEventListener(n,t),()=>{window.removeEventListener(n,t)}},[e])}export{i as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{o as e}from"./chunk-jRWAZmH_.js";import{t}from"./react-DJZBPgpf.js";import{d as n,u as r}from"./chunk-5KNZJZUH-B4b1m-Ya.js";import{f as i}from"./resolved-assistants-store-BPUbuIhU.js";import{t as a}from"./is-electron-CavSPgmY.js";import{b as o,w as s}from"./auth-store-B42fGh_X.js";import{i as c}from"./routes-DC3Pv2Da.js";import{br as l,ur as u}from"./index-huyA6GAA.js";var d=e(t(),1);function f(e){let t=n(),f=r(),[p,m]=(0,d.useState)(!1),[h,g]=(0,d.useState)(null),_=(0,d.useRef)(0);return{loading:p,error:h,login:async()=>{let n=e??l(u({sessionSettled:!0,isAuthenticated:!0}),f.pathname);if(i()&&s()){t(`${c.account.login}?returnTo=${encodeURIComponent(n)}`);return}let r=++_.current;g(null),m(!0);try{await o(`workos-oidc`,`${c.account.providerCallback}?returnTo=${encodeURIComponent(n)}`,{returnTo:n})}catch{if(r!==_.current)return;g(`Something went wrong. Please try again.`),m(!1)}},cancel:()=>{_.current++,m(!1),g(null),a()&&window.vellum?.auth?.cancelOAuth()}}}export{f as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./assistant-identity-store-
|
|
1
|
+
import{t as e}from"./assistant-identity-store-dQ1LxIr0.js";import{n as t,t as n}from"./semver-Dd0ocNOn.js";function r(e,t,n={}){return t(e.getState())?Promise.resolve():new Promise(r=>{let i,a=()=>{i!==void 0&&clearTimeout(i),o(),r()},o=e.subscribe(e=>{t(e)&&a()});n.timeoutMs!==void 0&&(i=setTimeout(a,n.timeoutMs))})}function i(t){return o(e.use.version(),t)}function a(t){let n=e.getState().version;return o(n,t)}function o(e,r){if(!e)return!1;let i=t(e),a=t(r);return!i||!a?!1:n({...i,pre:null},a)>=0}var s=5e3;function c(t=s){return r(e,e=>!!e.version,{timeoutMs:t})}export{r as i,i as n,c as r,a as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./capture-error-
|
|
1
|
+
import{t as e}from"./capture-error-CHS1NpKj.js";import{n as t,t as n}from"./create-selectors-CDULelrw.js";import{it as r,n as i}from"./sdk.gen-AJllUeDf.js";import{r as a}from"./app-html-cache-DNQd-TK8.js";function o(e){if(typeof e!=`object`||!e)return!1;let t=e.error;if(typeof t!=`object`||!t||t.code!==`NOT_FOUND`)return!1;let n=t.message;return typeof n==`string`&&n.startsWith(`App not found`)}function s(e,t){let n=e.mainView;return n===`document`||n===`subagent-detail`||n===`tool-detail`?e[t]:n}var c={mainView:`chat`,activeAppId:null,openedAppState:null,activeDocumentSurfaceId:null,openedDocumentState:null,isAppMinimized:!1,intelligenceTab:`identity`,assetsRefreshKey:0,viewBeforeDocument:`chat`,activeSubagentId:null,viewBeforeSubagentDetail:`chat`,activeToolDetail:null,viewBeforeToolDetail:`chat`,ruleEditorRequestSeq:0},l=n(t()((t,n)=>({...c,setMainView:e=>{n().mainView!==e&&t({mainView:e})},setIntelligenceTab:e=>{n().intelligenceTab!==e&&t({intelligenceTab:e})},openApp:e=>{t({mainView:`app`,activeAppId:e,openedAppState:null,isAppMinimized:!1})},loadApp:async(r,s)=>{t({mainView:`app`,activeAppId:s,openedAppState:null,isAppMinimized:!1});try{let{data:e}=await i({path:{assistant_id:r,id:s},throwOnError:!0});if(n().activeAppId!==s)return;t({openedAppState:{appId:e.appId,dirName:e.dirName,name:e.name,html:e.html}}),a(r,e.appId,e.html)}catch(r){if(n().activeAppId!==s)return;o(r)||e(r,{context:`openApp`}),t({mainView:`chat`,activeAppId:null,openedAppState:null})}},setLoadedApp:e=>{t({openedAppState:e})},handleAppLoadFailed:()=>{t({mainView:`chat`,activeAppId:null,openedAppState:null})},closeApp:()=>{t({mainView:`chat`,activeAppId:null,openedAppState:null,isAppMinimized:!1})},toggleAppMinimized:()=>{t({isAppMinimized:!n().isAppMinimized})},handleAppUnpinned:e=>{let t=n();return t.activeAppId!==e||t.mainView!==`app`&&t.mainView!==`app-editing`?!1:(n().closeApp(),!0)},enterAppEditing:()=>{t({mainView:`app-editing`})},exitAppEditing:()=>{t({mainView:`app`})},openSubagentDetail:e=>{t({mainView:`subagent-detail`,activeSubagentId:e,viewBeforeSubagentDetail:s(n(),`viewBeforeSubagentDetail`)})},closeSubagentDetail:()=>{t({mainView:n().viewBeforeSubagentDetail,activeSubagentId:null})},openToolDetail:e=>{t({mainView:`tool-detail`,activeToolDetail:e,viewBeforeToolDetail:s(n(),`viewBeforeToolDetail`)})},toggleToolDetail:e=>{let t=n(),r=t.activeToolDetail;t.mainView===`tool-detail`&&r!=null&&(e.kind===`thinking`?r.kind===`thinking`&&r.thinkingText===e.thinkingText:r.kind!==`thinking`&&r.toolCallId===e.toolCallId)?n().closeToolDetail():n().openToolDetail(e)},closeToolDetail:()=>{t({mainView:n().viewBeforeToolDetail,activeToolDetail:null})},requestRuleEditorForActiveTool:()=>{n().activeToolDetail&&t(e=>({ruleEditorRequestSeq:e.ruleEditorRequestSeq+1}))},openDocument:()=>{t({mainView:`document`,openedDocumentState:null,viewBeforeDocument:s(n(),`viewBeforeDocument`)})},loadDocument:async(e,i)=>{let a=s(n(),`viewBeforeDocument`);t({mainView:`document`,activeDocumentSurfaceId:i,openedDocumentState:null,viewBeforeDocument:a});try{let{data:o}=await r({path:{assistant_id:e,id:i},throwOnError:!0});if(n().activeDocumentSurfaceId!==i)return;if(!o){t({mainView:a,activeDocumentSurfaceId:null,openedDocumentState:null});return}t({openedDocumentState:{surfaceId:o.surfaceId,conversationId:o.conversationId,documentName:o.title??`Untitled`,content:o.content??``}})}catch{if(n().activeDocumentSurfaceId!==i)return;t({mainView:a,activeDocumentSurfaceId:null,openedDocumentState:null})}},setLoadedDocument:e=>{t({openedDocumentState:e})},updateDocumentContent:(e,r,i)=>{let a=n();if(!a.openedDocumentState||a.openedDocumentState.surfaceId!==e)return;let o=a.openedDocumentState,s=i===`append`?o.content+r:r;t({openedDocumentState:{...o,content:s}})},handleDocumentLoadFailed:()=>{t({mainView:n().viewBeforeDocument,activeDocumentSurfaceId:null,openedDocumentState:null})},closeDocument:()=>{t({mainView:n().viewBeforeDocument,activeDocumentSurfaceId:null,openedDocumentState:null})},refreshAssets:()=>{t({assetsRefreshKey:n().assetsRefreshKey+1})},reset:()=>t({...c})})));export{l as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e}from"./chunk-jRWAZmH_.js";import{r as t,s as n}from"./local-settings-lVNyIOJ_.js";import{t as r}from"./react-DJZBPgpf.js";import{t as i}from"./chunk-5KNZJZUH-B4b1m-Ya.js";import{t as a}from"./jsx-runtime-CVSDxk6A.js";import{t as o}from"./dropdown-CocFV5yi.js";import{t as s}from"./toggle-CEm3M86o.js";import{i as c}from"./routes-
|
|
1
|
+
import{o as e}from"./chunk-jRWAZmH_.js";import{r as t,s as n}from"./local-settings-lVNyIOJ_.js";import{t as r}from"./react-DJZBPgpf.js";import{t as i}from"./chunk-5KNZJZUH-B4b1m-Ya.js";import{t as a}from"./jsx-runtime-CVSDxk6A.js";import{t as o}from"./dropdown-CocFV5yi.js";import{t as s}from"./toggle-CEm3M86o.js";import{i as c}from"./routes-DC3Pv2Da.js";import{a as l,c as u,ho as d,i as f,n as p,o as m,r as h,s as g,wa as _}from"./index-huyA6GAA.js";import{t as v}from"./detail-card-p3YdFOs0.js";var y=e(r(),1),b=a(),x=`vellum:voice:conversationTimeoutSeconds`,S=[{label:`Ctrl`,activator:{kind:`modifierOnly`,modifiers:[`control`]}},{label:`Alt`,activator:{kind:`modifierOnly`,modifiers:[`option`]}},{label:`Ctrl+Shift`,activator:{kind:`modifierOnly`,modifiers:[`control`,`shift`]}}],C=[{label:`5 seconds`,value:`5`},{label:`10 seconds`,value:`10`},{label:`15 seconds`,value:`15`},{label:`30 seconds`,value:`30`},{label:`60 seconds`,value:`60`}],w=`30`,T=`text-body-small-default text-[var(--content-tertiary)]`;function E(){return(0,b.jsxs)(`div`,{className:`flex flex-col gap-6`,children:[(0,b.jsx)(D,{}),(0,b.jsx)(O,{}),(0,b.jsx)(A,{})]})}function D(){return(0,b.jsxs)(`div`,{className:`flex items-center gap-2 rounded-lg border border-[var(--border-subtle)] bg-[var(--field-bg)] px-3 py-2`,children:[(0,b.jsx)(_,{className:`h-3.5 w-3.5 shrink-0 text-forest-700`}),(0,b.jsx)(`span`,{className:`text-body-medium-lighter text-[var(--content-tertiary)]`,children:`Looking to configure Speech-to-Text or Text-to-Speech models?`}),(0,b.jsxs)(i,{to:c.settings.ai,className:`inline-flex items-center gap-1 text-body-medium-lighter text-[var(--system-positive-strong)] underline hover:opacity-80`,children:[`Go to Models & Services`,(0,b.jsx)(d,{className:`h-3 w-3`})]})]})}function O(){let[e,r]=(0,y.useState)(()=>{let e=t(p,``);return e?m(e):{kind:`off`}}),[i,a]=(0,y.useState)(!1),[o,c]=(0,y.useState)([]),d=(0,y.useRef)(null),x=(0,y.useRef)(!1),C=e.kind!==`off`,w=(0,y.useCallback)(e=>{r(e),n(p,g(e)),a(!1),c([])},[]),E=(0,y.useCallback)(()=>{a(!0),c([]),x.current=!1,requestAnimationFrame(()=>{d.current?.focus()})},[]),D=(0,y.useCallback)(()=>{a(!1),c([]),x.current=!1},[]),O=(0,y.useCallback)(e=>{let t=[];return e.ctrlKey&&t.push(`control`),e.altKey&&t.push(`option`),e.shiftKey&&t.push(`shift`),e.metaKey&&t.push(`command`),t},[]),A=(0,y.useCallback)(e=>{if(e.preventDefault(),e.stopPropagation(),e.key===`Escape`){D();return}let t=O(e),n=e.key;if(n===`Control`||n===`Alt`||n===`Shift`||n===`Meta`||n===`Fn`){c(u(t));return}x.current=!0,w({kind:`key`,label:n.length===1?n.toUpperCase():n,modifiers:t})},[D,O,w]),j=(0,y.useCallback)(e=>{if(!i)return;e.preventDefault(),e.stopPropagation();let t=e.key;if(t===`Control`||t===`Alt`||t===`Shift`||t===`Meta`||t===`Fn`){if(x.current){x.current=!1,c([]);return}O(e).length===0&&o.length>0&&w({kind:`modifierOnly`,modifiers:o})}},[O,i,o,w]);(0,y.useEffect)(()=>{if(!i)return;let e=e=>{d.current&&!d.current.contains(e.target)&&D()};return window.addEventListener(`mousedown`,e),()=>window.removeEventListener(`mousedown`,e)},[D,i]);let M=C&&!S.some(t=>f(t.activator,e));return(0,b.jsx)(v,{title:`Push to Talk`,subtitle:`Hold the activation key to dictate text or start a voice conversation.`,children:(0,b.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,b.jsx)(s,{checked:C,onChange:t=>{t?e.kind===`off`&&w({kind:`modifierOnly`,modifiers:[`control`]}):w({kind:`off`})},label:`Enable Push to Talk`}),C&&(0,b.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,b.jsx)(`span`,{className:T,children:`Activation Key:`}),(0,b.jsxs)(`div`,{ref:d,tabIndex:i?0:-1,onKeyDown:i?A:void 0,onKeyUp:i?j:void 0,className:`flex flex-wrap items-center gap-2 focus:outline-none`,children:[S.map(t=>{let n=f(t.activator,e);return(0,b.jsx)(k,{label:t.label,selected:n,onClick:()=>w(t.activator)},t.label)}),i?(0,b.jsx)(k,{label:o.length>0?l(o):`Press any key…`,selected:!0,recording:!0,onClick:D}):(0,b.jsx)(k,{label:M?h(e):`Custom`,selected:M,onClick:E})]}),(0,b.jsxs)(`div`,{className:`flex items-start gap-1 pt-1 text-body-small-default text-[var(--content-quiet)]`,children:[(0,b.jsx)(_,{className:`mt-0.5 h-3 w-3 shrink-0`}),(0,b.jsx)(`span`,{children:`Push-to-Talk only works while this tab is focused, and browsers may intercept some shortcuts (e.g. Ctrl+T) before the page can see them. For always-on PTT, use the Vellum desktop app.`})]})]})]})})}function k({label:e,selected:t,recording:n=!1,onClick:r}){return(0,b.jsxs)(`button`,{type:`button`,onClick:r,className:[`inline-flex items-center gap-2 rounded-lg border px-3 py-1.5 text-body-medium-lighter transition-colors`,`border-[var(--border-subtle)]`,t?`bg-[var(--surface-active)]`:`bg-[var(--surface-lift)] hover:bg-[var(--surface-hover)]`,n?`animate-pulse`:``].filter(Boolean).join(` `),children:[(0,b.jsx)(`span`,{className:[`inline-block h-2.5 w-2.5 rounded-full border`,t?`border-forest-700 bg-forest-700`:`border-[var(--border-element)]`].join(` `)}),(0,b.jsx)(`span`,{className:`text-[var(--content-default)]`,children:e})]})}function A(){let[e,r]=(0,y.useState)(()=>{let e=t(x,w);return C.find(t=>t.value===e)?.value??w});return(0,b.jsx)(v,{title:`Conversation Timeout`,subtitle:`How long the assistant waits for you to start speaking before ending a voice conversation turn.`,children:(0,b.jsx)(`div`,{className:`max-w-xs`,children:(0,b.jsx)(o,{options:C,value:e,onChange:(0,y.useCallback)(e=>{r(e),n(x,e)},[]),"aria-label":`Conversation timeout`})})})}export{E as VoicePage};
|