vite-hub 0.0.2 → 0.0.4
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/LICENSE +201 -0
- package/README.md +50 -26
- package/dist/_internal/agent/eve.d.ts +1 -0
- package/dist/_internal/agent/eve.js +2 -0
- package/dist/_internal/database/runtime/state.d.ts +4 -0
- package/dist/_internal/database/runtime/state.js +5 -0
- package/dist/_internal/workflow/runtime/cloudflare-runner.d.ts +1 -0
- package/dist/_internal/workflow/runtime/cloudflare-runner.js +2 -0
- package/dist/_internal/workflow/runtime/cloudflare-vite.d.ts +1 -0
- package/dist/_internal/workflow/runtime/cloudflare-vite.js +2 -0
- package/dist/_internal/workflow/runtime/vercel-vite.d.ts +1 -0
- package/dist/_internal/workflow/runtime/vercel-vite.js +2 -0
- package/dist/agent/capabilities.d.ts +20 -1
- package/dist/agent/capabilities.js +7 -1
- package/dist/agent/invocations/sqlite.d.ts +1 -0
- package/dist/agent/invocations/sqlite.js +2 -0
- package/dist/agent/mcp.d.ts +1 -0
- package/dist/agent/mcp.js +2 -0
- package/dist/agent/runtime/process.d.ts +1 -0
- package/dist/agent/runtime/process.js +2 -0
- package/dist/agent/vue.d.ts +1 -0
- package/dist/agent/vue.js +2 -0
- package/dist/agent.d.ts +7 -1
- package/dist/agent.js +31 -1
- package/dist/agents-DGL-2SS3.js +53 -0
- package/dist/auth/vue.d.ts +1 -0
- package/dist/auth/vue.js +2 -0
- package/dist/bin.js +57 -8
- package/dist/blob-_CeYUuZh.d.ts +8 -0
- package/dist/browser/actions.d.ts +1 -0
- package/dist/browser/actions.js +2 -0
- package/dist/channels/server.d.ts +1 -0
- package/dist/channels/server.js +2 -0
- package/dist/channels.d.ts +1 -0
- package/dist/channels.js +2 -0
- package/dist/cloudflare-prerender.mjs +24 -0
- package/dist/cloudflare-types.d.ts +1 -0
- package/dist/console/runtime/client/request.d.ts +23 -0
- package/dist/console/runtime/client/request.js +133 -0
- package/dist/console/runtime/client/sections.d.ts +12 -0
- package/dist/console/runtime/client/sections.js +41 -0
- package/dist/console/runtime/client/time.d.ts +4 -0
- package/dist/console/runtime/client/time.js +8 -0
- package/dist/console/runtime/components/console-app.vue +1450 -0
- package/dist/console/runtime/components/console-blob.vue +341 -0
- package/dist/console/runtime/components/console-brand.vue +37 -0
- package/dist/console/runtime/components/console-database-model.ts +219 -0
- package/dist/console/runtime/components/console-database.vue +701 -0
- package/dist/console/runtime/components/console-definitions.vue +440 -0
- package/dist/console/runtime/components/console-frame.vue +13 -0
- package/dist/console/runtime/components/console-health-model.ts +54 -0
- package/dist/console/runtime/components/console-health.vue +236 -0
- package/dist/console/runtime/components/console-home.vue +231 -0
- package/dist/console/runtime/components/console-kv.vue +541 -0
- package/dist/console/runtime/components/console-mark.vue +10 -0
- package/dist/console/runtime/components/console-primitive-switcher.vue +69 -0
- package/dist/console/runtime/components/console-provider.vue +12 -0
- package/dist/console/runtime/components/console-search.vue +435 -0
- package/dist/console/runtime/components/console-session-bootstrap.ts +110 -0
- package/dist/console/runtime/components/console-session-code-preview.vue +76 -0
- package/dist/console/runtime/components/console-session-inspector.vue +726 -0
- package/dist/console/runtime/components/console-session-loading.vue +121 -0
- package/dist/console/runtime/components/console-session-navbar.vue +112 -0
- package/dist/console/runtime/components/console-session-trace-model.ts +414 -0
- package/dist/console/runtime/components/console-session-trace.vue +695 -0
- package/dist/console/runtime/components/console-session.css +1482 -0
- package/dist/console/runtime/components/console-usage.vue +596 -0
- package/dist/console/runtime/console-route.d.ts +10 -0
- package/dist/console/runtime/console-route.js +37 -0
- package/dist/console/runtime/definitions.d.ts +2 -0
- package/dist/console/runtime/definitions.js +15 -0
- package/dist/console/runtime/pages/agents.vue +58 -0
- package/dist/console/runtime/pages/blob.vue +30 -0
- package/dist/console/runtime/pages/databases.vue +67 -0
- package/dist/console/runtime/pages/index.vue +29 -0
- package/dist/console/runtime/pages/kv.vue +68 -0
- package/dist/console/runtime/pages/queues.vue +30 -0
- package/dist/console/runtime/pages/rate-limits.vue +30 -0
- package/dist/console/runtime/pages/sandboxes.vue +27 -0
- package/dist/console/runtime/pages/schedules.vue +30 -0
- package/dist/console/runtime/pages/workflows.vue +30 -0
- package/dist/console/runtime/pages/workspaces.vue +30 -0
- package/dist/console/runtime/public/console/chunks/ChatMessage-CVruGJWM.js +1 -0
- package/dist/console/runtime/public/console/chunks/ChatPrompt-BmTjPf5_.js +1 -0
- package/dist/console/runtime/public/console/chunks/ChatPromptSubmit-DcxguvaS.js +1 -0
- package/dist/console/runtime/public/console/chunks/ChatReasoning-DIMO2K2F.js +1 -0
- package/dist/console/runtime/public/console/chunks/ChatShimmer-C613EbHI.js +1 -0
- package/dist/console/runtime/public/console/chunks/ChatTool-DDmc-ZK6.js +1 -0
- package/dist/console/runtime/public/console/chunks/Collapsible-C0CXnWpw.js +1 -0
- package/dist/console/runtime/public/console/chunks/CollapsibleTrigger-CmJucLnT.js +1 -0
- package/dist/console/runtime/public/console/chunks/Icon-D-AnqCok.js +1 -0
- package/dist/console/runtime/public/console/chunks/abap-LtYK6g-v-CLvhMVsD.js +1 -0
- package/dist/console/runtime/public/console/chunks/actionscript-3-Czo0lKSf--17pq3dv.js +1 -0
- package/dist/console/runtime/public/console/chunks/ada-twHwrVWN-C5qYipkI.js +1 -0
- package/dist/console/runtime/public/console/chunks/andromeeda-DnSv6o6l-vGVdxbeo.js +1 -0
- package/dist/console/runtime/public/console/chunks/andromeeda-vGVdxbeo.js +1 -0
- package/dist/console/runtime/public/console/chunks/angular-html-Ct-40ew8-D8X9MCxo.js +1 -0
- package/dist/console/runtime/public/console/chunks/angular-html-DTyieMYv.js +1 -0
- package/dist/console/runtime/public/console/chunks/angular-ts-D3gV1N-x.js +1 -0
- package/dist/console/runtime/public/console/chunks/angular-ts-D6akBVit-CAEqTior.js +1 -0
- package/dist/console/runtime/public/console/chunks/apache-BIl2qPOf-U0d_L8uA.js +1 -0
- package/dist/console/runtime/public/console/chunks/apex-BkQQFAhi-VAyPSnFM.js +1 -0
- package/dist/console/runtime/public/console/chunks/apl-Cxjn4xYu-QUZjoXcb.js +1 -0
- package/dist/console/runtime/public/console/chunks/applescript-CJ80B5XJ-CCn79oCD.js +1 -0
- package/dist/console/runtime/public/console/chunks/ara-IxnQjO6j-4CJ0cIlV.js +1 -0
- package/dist/console/runtime/public/console/chunks/asciidoc-Dsw6zvwf-DE70LPWp.js +1 -0
- package/dist/console/runtime/public/console/chunks/asm-wBDSgBbA-Cmm7eHzH.js +1 -0
- package/dist/console/runtime/public/console/chunks/astro-BPVTb8uX-BMHg0UsI.js +1 -0
- package/dist/console/runtime/public/console/chunks/astro-CLAWI0Fn.js +1 -0
- package/dist/console/runtime/public/console/chunks/aurora-x-CDeNXAV0.js +1 -0
- package/dist/console/runtime/public/console/chunks/aurora-x-XJ5I8rFc-CDeNXAV0.js +1 -0
- package/dist/console/runtime/public/console/chunks/awk-D6dA05Ye-BWXHIvNe.js +1 -0
- package/dist/console/runtime/public/console/chunks/ayu-dark-CBRGL64--DluEY0Gj.js +1 -0
- package/dist/console/runtime/public/console/chunks/ayu-dark-DluEY0Gj.js +1 -0
- package/dist/console/runtime/public/console/chunks/ayu-light-BlrCS3Ih-C3h-C4tm.js +1 -0
- package/dist/console/runtime/public/console/chunks/ayu-light-C3h-C4tm.js +1 -0
- package/dist/console/runtime/public/console/chunks/ayu-mirage-Bqwy1Gya.js +1 -0
- package/dist/console/runtime/public/console/chunks/ayu-mirage-CqpTmLcF-Bqwy1Gya.js +1 -0
- package/dist/console/runtime/public/console/chunks/ballerina-DIdXD2KH-B7ZEbQpA.js +1 -0
- package/dist/console/runtime/public/console/chunks/bat-hQslfzu--Bo4NYOV-.js +1 -0
- package/dist/console/runtime/public/console/chunks/beancount-CXtOQ8oS-D-usSTwE.js +1 -0
- package/dist/console/runtime/public/console/chunks/berry-CgA2ea0_-DKpUyyne.js +1 -0
- package/dist/console/runtime/public/console/chunks/bibtex-BzgdqG3s-Ci_nEsc7.js +1 -0
- package/dist/console/runtime/public/console/chunks/bicep-CZ338dSk-CUHmPFLl.js +1 -0
- package/dist/console/runtime/public/console/chunks/bird2-GLyzhwkD-C6vDhewU.js +1 -0
- package/dist/console/runtime/public/console/chunks/blade-0LMawyyw-CZBPwR53.js +1 -0
- package/dist/console/runtime/public/console/chunks/blade-CP_mgflB.js +1 -0
- package/dist/console/runtime/public/console/chunks/bsl-0NWGiiFE-mk7PqslV.js +1 -0
- package/dist/console/runtime/public/console/chunks/bundle-web-DTJmdyvB.js +13 -0
- package/dist/console/runtime/public/console/chunks/c-BhmuwSav.js +1 -0
- package/dist/console/runtime/public/console/chunks/c-Dc0_AVM6-CjS7AEt5.js +1 -0
- package/dist/console/runtime/public/console/chunks/c3-BLXk7BLN-BFHwR3_K.js +1 -0
- package/dist/console/runtime/public/console/chunks/cadence-B1ELWULD-CQ2zXKGN.js +1 -0
- package/dist/console/runtime/public/console/chunks/cairo-DjG4M3vq-xb-J0v0e.js +1 -0
- package/dist/console/runtime/public/console/chunks/catppuccin-frappe-3VR1Za6u.js +1 -0
- package/dist/console/runtime/public/console/chunks/catppuccin-frappe-COUg_LSX-3VR1Za6u.js +1 -0
- package/dist/console/runtime/public/console/chunks/catppuccin-latte-DwIHMF0Q.js +1 -0
- package/dist/console/runtime/public/console/chunks/catppuccin-latte-r30LFfsa-DwIHMF0Q.js +1 -0
- package/dist/console/runtime/public/console/chunks/catppuccin-macchiato-D-EwZyPh-DYnBP6_5.js +1 -0
- package/dist/console/runtime/public/console/chunks/catppuccin-macchiato-DYnBP6_5.js +1 -0
- package/dist/console/runtime/public/console/chunks/catppuccin-mocha-C6RD5yh3-DYhrFGRu.js +1 -0
- package/dist/console/runtime/public/console/chunks/catppuccin-mocha-DYhrFGRu.js +1 -0
- package/dist/console/runtime/public/console/chunks/chunk-DK3Fl9T5.js +1 -0
- package/dist/console/runtime/public/console/chunks/clarity-2iIoRiLx-SemFz856.js +1 -0
- package/dist/console/runtime/public/console/chunks/clojure-DDsQ0FaV-DqKBuwfJ.js +1 -0
- package/dist/console/runtime/public/console/chunks/cmake-DPsCB_V6-Bj61d0ZC.js +1 -0
- package/dist/console/runtime/public/console/chunks/cobol-CocL1RYn-DoHa8rFw.js +1 -0
- package/dist/console/runtime/public/console/chunks/codeowners-CxEKPWu0-C8r90Shi.js +1 -0
- package/dist/console/runtime/public/console/chunks/codeql-BwdvwJnv-oeQT6MSM.js +1 -0
- package/dist/console/runtime/public/console/chunks/coffee-DtqnQNu5-Ca3s2Keu.js +1 -0
- package/dist/console/runtime/public/console/chunks/coffee-PUiKoj8Q.js +1 -0
- package/dist/console/runtime/public/console/chunks/common-lisp-DJtwvW4V-Cv5bFMCO.js +1 -0
- package/dist/console/runtime/public/console/chunks/coq-Ds6Ye5el-BrsZFFmf.js +1 -0
- package/dist/console/runtime/public/console/chunks/cpp-CxycoGSa.js +1 -0
- package/dist/console/runtime/public/console/chunks/cpp-Mb4ikSI3-tLY9dtiu.js +1 -0
- package/dist/console/runtime/public/console/chunks/crystal-D4OMbAh_-C9omPlZ-.js +1 -0
- package/dist/console/runtime/public/console/chunks/csharp-CFKaLbHg-oqKa8noW.js +1 -0
- package/dist/console/runtime/public/console/chunks/css-DLlZbWMi.js +1 -0
- package/dist/console/runtime/public/console/chunks/css-DTzmO9U0-CbxoEllx.js +1 -0
- package/dist/console/runtime/public/console/chunks/csv-DqIVFkK7-Dx-8-gkx.js +1 -0
- package/dist/console/runtime/public/console/chunks/csv-Dx-8-gkx.js +1 -0
- package/dist/console/runtime/public/console/chunks/cue-B5KneM5p-CE9AQfxI.js +1 -0
- package/dist/console/runtime/public/console/chunks/cypher-D8Bb8Cq2-ClKdZ_lG.js +1 -0
- package/dist/console/runtime/public/console/chunks/d-BQY8TDgQ-qD-0Kul2.js +1 -0
- package/dist/console/runtime/public/console/chunks/dark-plus-BCxGtnt0-Cs2F2srj.js +1 -0
- package/dist/console/runtime/public/console/chunks/dark-plus-Cs2F2srj.js +1 -0
- package/dist/console/runtime/public/console/chunks/dart-C6DUdjib-CnvKMtbv.js +1 -0
- package/dist/console/runtime/public/console/chunks/dax-S-Noo-ku-BkyTk9wS.js +1 -0
- package/dist/console/runtime/public/console/chunks/desktop-BgOb7Aj4-Dlh5hvp9.js +1 -0
- package/dist/console/runtime/public/console/chunks/diff-Blb4MjsC-woXpYk--.js +1 -0
- package/dist/console/runtime/public/console/chunks/docker-PC1tuYpa-IyjqRm3v.js +1 -0
- package/dist/console/runtime/public/console/chunks/dotenv-Dkdv7Sm2-_5a1GRtc.js +1 -0
- package/dist/console/runtime/public/console/chunks/dracula-BHWKrbxM.js +1 -0
- package/dist/console/runtime/public/console/chunks/dracula-fPErIccy-BHWKrbxM.js +1 -0
- package/dist/console/runtime/public/console/chunks/dracula-soft-5eyTD99u.js +1 -0
- package/dist/console/runtime/public/console/chunks/dracula-soft-BrQbqXs8-5eyTD99u.js +1 -0
- package/dist/console/runtime/public/console/chunks/dream-maker-CngiPd8U-DW3nJb8Q.js +1 -0
- package/dist/console/runtime/public/console/chunks/edge-DrFNu-N9-BY3pzybO.js +1 -0
- package/dist/console/runtime/public/console/chunks/elixir-OpZyQ8Ht-CwWfuiQ1.js +1 -0
- package/dist/console/runtime/public/console/chunks/elm-CjX_545P-Dn-DqM39.js +1 -0
- package/dist/console/runtime/public/console/chunks/emacs-lisp-DxhFFVu_-B4R74twV.js +1 -0
- package/dist/console/runtime/public/console/chunks/erb-trZRdc47-DRBdWH-D.js +1 -0
- package/dist/console/runtime/public/console/chunks/erlang-BJeTH9QH-BfDtvnHZ.js +1 -0
- package/dist/console/runtime/public/console/chunks/everforest-dark-gTeBQCos-sB-x3p7T.js +1 -0
- package/dist/console/runtime/public/console/chunks/everforest-dark-sB-x3p7T.js +1 -0
- package/dist/console/runtime/public/console/chunks/everforest-light-DUjxsp-2-Df2xbC6M.js +1 -0
- package/dist/console/runtime/public/console/chunks/everforest-light-Df2xbC6M.js +1 -0
- package/dist/console/runtime/public/console/chunks/fennel-B3wtZRne-DQxkIbk2.js +1 -0
- package/dist/console/runtime/public/console/chunks/fish-D7qAeWQz-BJitypiv.js +1 -0
- package/dist/console/runtime/public/console/chunks/fluent-BjfpB34g-C03EYrpw.js +1 -0
- package/dist/console/runtime/public/console/chunks/fortran-fixed-form-B_eBTsj9-C2-rkbip.js +1 -0
- package/dist/console/runtime/public/console/chunks/fortran-free-form-yxJ7igsv-CYNrtFtB.js +1 -0
- package/dist/console/runtime/public/console/chunks/fsharp-UvrT6oWG-LCdvSpj6.js +1 -0
- package/dist/console/runtime/public/console/chunks/gdresource-Dl9wvKCd-C3MGX-jo.js +1 -0
- package/dist/console/runtime/public/console/chunks/gdscript-jjgTGGzd-Cp2uCuqX.js +1 -0
- package/dist/console/runtime/public/console/chunks/gdshader-D7JfdFV3-CBce3t8t.js +1 -0
- package/dist/console/runtime/public/console/chunks/genie-DnK2KWIP-CV2tkWYe.js +1 -0
- package/dist/console/runtime/public/console/chunks/gherkin-D6Lr12YQ-DExj1W_8.js +1 -0
- package/dist/console/runtime/public/console/chunks/git-commit-2LMniMoO-CfgJCLX7.js +1 -0
- package/dist/console/runtime/public/console/chunks/git-rebase-DUOURRPN-DbPsFIae.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-dark-C-LZuMrd.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-dark-Dg1hl_QD-C-LZuMrd.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-dark-default-DXG-b-1a.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-dark-default-Dym2P842-DXG-b-1a.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-dark-dimmed-7iDMx266-Bx1FflLF.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-dark-dimmed-Bx1FflLF.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-dark-high-contrast-B_tTalzw.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-dark-high-contrast-DkV2fyPG-B_tTalzw.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-light-BQKYgor9-EUqPIrTm.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-light-EUqPIrTm.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-light-default-BXViO-2h.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-light-default-BZhIfzqQ-BXViO-2h.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-light-high-contrast-B68TUdTA.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-light-high-contrast-C7zHfx4C-B68TUdTA.js +1 -0
- package/dist/console/runtime/public/console/chunks/gleam-CTllUdfC-CSRkHgEL.js +1 -0
- package/dist/console/runtime/public/console/chunks/glimmer-js-D_32hFh8-Dv_1Q6fk.js +1 -0
- package/dist/console/runtime/public/console/chunks/glimmer-ts-CVt002zd-PmMLyqBp.js +1 -0
- package/dist/console/runtime/public/console/chunks/glsl-8MDrjpMp.js +1 -0
- package/dist/console/runtime/public/console/chunks/glsl-pHhzolba-D3h1XPFw.js +1 -0
- package/dist/console/runtime/public/console/chunks/gn-DDjbVPF4-ilITqXS6.js +1 -0
- package/dist/console/runtime/public/console/chunks/gnuplot-DgWvVXI8-7GGW24-e.js +1 -0
- package/dist/console/runtime/public/console/chunks/go-aXtTCanQ-rLFTqkRN.js +1 -0
- package/dist/console/runtime/public/console/chunks/graphql-BjqekQIR-CtUxCAnJ.js +1 -0
- package/dist/console/runtime/public/console/chunks/graphql-C4iAGs1_.js +1 -0
- package/dist/console/runtime/public/console/chunks/groovy-Bw2Ku4bU-CacY0gHj.js +1 -0
- package/dist/console/runtime/public/console/chunks/gruvbox-dark-hard-C820rvS2.js +1 -0
- package/dist/console/runtime/public/console/chunks/gruvbox-dark-hard-CQiwpF03-C820rvS2.js +1 -0
- package/dist/console/runtime/public/console/chunks/gruvbox-dark-medium-BKe6XKBS-BPjhmG05.js +1 -0
- package/dist/console/runtime/public/console/chunks/gruvbox-dark-medium-BPjhmG05.js +1 -0
- package/dist/console/runtime/public/console/chunks/gruvbox-dark-soft-Cz6U6pa4-MrdJrrXF.js +1 -0
- package/dist/console/runtime/public/console/chunks/gruvbox-dark-soft-MrdJrrXF.js +1 -0
- package/dist/console/runtime/public/console/chunks/gruvbox-light-hard-BC_s9l72.js +1 -0
- package/dist/console/runtime/public/console/chunks/gruvbox-light-hard-DgU_i19B-BC_s9l72.js +1 -0
- package/dist/console/runtime/public/console/chunks/gruvbox-light-medium-BAWPOn9u.js +1 -0
- package/dist/console/runtime/public/console/chunks/gruvbox-light-medium-D64I06ER-BAWPOn9u.js +1 -0
- package/dist/console/runtime/public/console/chunks/gruvbox-light-soft-B-YxAs1L-BSMLrYjP.js +1 -0
- package/dist/console/runtime/public/console/chunks/gruvbox-light-soft-BSMLrYjP.js +1 -0
- package/dist/console/runtime/public/console/chunks/hack-BITNGzgt-BwY4KWmq.js +1 -0
- package/dist/console/runtime/public/console/chunks/haml-BJGeH8A5.js +1 -0
- package/dist/console/runtime/public/console/chunks/haml-DVwRP8W9-C4Ue42xj.js +1 -0
- package/dist/console/runtime/public/console/chunks/handlebars-OC1LcHwO.js +1 -0
- package/dist/console/runtime/public/console/chunks/handlebars-T3TJj8Il-BLQCwuJT.js +1 -0
- package/dist/console/runtime/public/console/chunks/haskell-CfGsE1Cf-D8IpX4py.js +1 -0
- package/dist/console/runtime/public/console/chunks/haxe-B0odltAZ-OTjmBuCE.js +1 -0
- package/dist/console/runtime/public/console/chunks/hcl-DHg_Osgo-Dh228itO.js +1 -0
- package/dist/console/runtime/public/console/chunks/hjson-Cuaphql8-CxZEssPk.js +1 -0
- package/dist/console/runtime/public/console/chunks/hlsl-BJLUNfne-Cvrh5tZx.js +1 -0
- package/dist/console/runtime/public/console/chunks/horizon-CE9ld1lL.js +1 -0
- package/dist/console/runtime/public/console/chunks/horizon-DYoumREk-CE9ld1lL.js +1 -0
- package/dist/console/runtime/public/console/chunks/horizon-bright-CPyV7XIA-DSNQnXHK.js +1 -0
- package/dist/console/runtime/public/console/chunks/horizon-bright-DSNQnXHK.js +1 -0
- package/dist/console/runtime/public/console/chunks/houston-B3NWfq0V-CsvMBhTu.js +1 -0
- package/dist/console/runtime/public/console/chunks/houston-CsvMBhTu.js +1 -0
- package/dist/console/runtime/public/console/chunks/html-CamevgpM-BbT95zHF.js +1 -0
- package/dist/console/runtime/public/console/chunks/html-Cs160JwT.js +1 -0
- package/dist/console/runtime/public/console/chunks/html-derivative-GiQ9zDJU.js +1 -0
- package/dist/console/runtime/public/console/chunks/html-derivative-jMOJf6rB-Kh3SdD3S.js +1 -0
- package/dist/console/runtime/public/console/chunks/http-BEHztmFP-BxphIJE7.js +1 -0
- package/dist/console/runtime/public/console/chunks/http-Cgwuv9UR.js +1 -0
- package/dist/console/runtime/public/console/chunks/hurl-DMKCZZMv.js +1 -0
- package/dist/console/runtime/public/console/chunks/hurl-LmFBxrwm-CGo4dqUD.js +1 -0
- package/dist/console/runtime/public/console/chunks/hxml-BQ4V4Tez-BaHUc7lX.js +1 -0
- package/dist/console/runtime/public/console/chunks/hy-CJKxDzbh-CZbG8q4J.js +1 -0
- package/dist/console/runtime/public/console/chunks/imba-96qKoJCa-DsUTQ-LC.js +1 -0
- package/dist/console/runtime/public/console/chunks/imba-DsUTQ-LC.js +1 -0
- package/dist/console/runtime/public/console/chunks/ini-C24lZfdM-B5eOa1yu.js +1 -0
- package/dist/console/runtime/public/console/chunks/java-CUcXVav_.js +1 -0
- package/dist/console/runtime/public/console/chunks/java-Cfowl-Ex-BnGnzH2k.js +1 -0
- package/dist/console/runtime/public/console/chunks/javascript-C4sF7sej-B29qPxDa.js +1 -0
- package/dist/console/runtime/public/console/chunks/javascript-DrVpc-sp.js +1 -0
- package/dist/console/runtime/public/console/chunks/jinja-C17UUgXU.js +1 -0
- package/dist/console/runtime/public/console/chunks/jinja-CCAEwzP4-PaInFpq5.js +1 -0
- package/dist/console/runtime/public/console/chunks/jison-BKCoBkyT-BRL7eVgb.js +1 -0
- package/dist/console/runtime/public/console/chunks/jison-ByjIV4zh.js +1 -0
- package/dist/console/runtime/public/console/chunks/json-E4f3l6hr-DuNL0Aj9.js +1 -0
- package/dist/console/runtime/public/console/chunks/json-qhed-kSA.js +1 -0
- package/dist/console/runtime/public/console/chunks/json5-BR5RXkoi.js +1 -0
- package/dist/console/runtime/public/console/chunks/json5-xULSgPQI-BR5RXkoi.js +1 -0
- package/dist/console/runtime/public/console/chunks/jsonc-CYpm1nAK.js +1 -0
- package/dist/console/runtime/public/console/chunks/jsonc-Cu6rqcrJ-CYpm1nAK.js +1 -0
- package/dist/console/runtime/public/console/chunks/jsonl-Bp0qqr10-CmCQp5Yx.js +1 -0
- package/dist/console/runtime/public/console/chunks/jsonl-CmCQp5Yx.js +1 -0
- package/dist/console/runtime/public/console/chunks/jsonnet-BafgE6cE-CJTPZ8u_.js +1 -0
- package/dist/console/runtime/public/console/chunks/jssm-Dx5A5sBR-DXw9l8Rf.js +1 -0
- package/dist/console/runtime/public/console/chunks/jsx-BZjOirBP-Dga5sQe3.js +1 -0
- package/dist/console/runtime/public/console/chunks/jsx-C-HlKHLe.js +1 -0
- package/dist/console/runtime/public/console/chunks/julia-Ca_tGyZB.js +1 -0
- package/dist/console/runtime/public/console/chunks/julia-nEdJo0dp-CJRta6ZT.js +1 -0
- package/dist/console/runtime/public/console/chunks/just-Brtw3q7S-DmytbepJ.js +1 -0
- package/dist/console/runtime/public/console/chunks/kanagawa-dragon-CXtmUGW6.js +1 -0
- package/dist/console/runtime/public/console/chunks/kanagawa-dragon-DExkuQAs-CXtmUGW6.js +1 -0
- package/dist/console/runtime/public/console/chunks/kanagawa-lotus-BN08jTvb.js +1 -0
- package/dist/console/runtime/public/console/chunks/kanagawa-lotus-qdYh7_RY-BN08jTvb.js +1 -0
- package/dist/console/runtime/public/console/chunks/kanagawa-wave-CSW_hADG-CTweb8Dz.js +1 -0
- package/dist/console/runtime/public/console/chunks/kanagawa-wave-CTweb8Dz.js +1 -0
- package/dist/console/runtime/public/console/chunks/kdl-DkTyxPcj-CsD5j6eV.js +1 -0
- package/dist/console/runtime/public/console/chunks/kotlin-BHE8CoV9-DhhofPvG.js +1 -0
- package/dist/console/runtime/public/console/chunks/kusto-6FdaWTzR-C7mF5XQf.js +1 -0
- package/dist/console/runtime/public/console/chunks/laserwave-C_8bwKvT.js +1 -0
- package/dist/console/runtime/public/console/chunks/laserwave-DkfjiLxA-C_8bwKvT.js +1 -0
- package/dist/console/runtime/public/console/chunks/latex-QHQNiZDD-fcyJN6QK.js +1 -0
- package/dist/console/runtime/public/console/chunks/lean-BwOKScIt-CewbzKMR.js +1 -0
- package/dist/console/runtime/public/console/chunks/less-BzbdhFUi-DVTAwKKz.js +1 -0
- package/dist/console/runtime/public/console/chunks/less-DVTAwKKz.js +1 -0
- package/dist/console/runtime/public/console/chunks/light-plus-DVQuIRkW.js +1 -0
- package/dist/console/runtime/public/console/chunks/light-plus-DuO6rXxZ-DVQuIRkW.js +1 -0
- package/dist/console/runtime/public/console/chunks/liquid-DYQ7uW5u-JGNMHTpg.js +1 -0
- package/dist/console/runtime/public/console/chunks/llvm-uY68ROGz-Cm23YOpf.js +1 -0
- package/dist/console/runtime/public/console/chunks/log-Dad54gsi-BNLmms1o.js +1 -0
- package/dist/console/runtime/public/console/chunks/logo-DTXV8SKw-Cluzi2Zq.js +1 -0
- package/dist/console/runtime/public/console/chunks/lua-BhkUWs1q-CVcL4bwV.js +1 -0
- package/dist/console/runtime/public/console/chunks/luau-YC4aaMmR-FMPmPwt6.js +1 -0
- package/dist/console/runtime/public/console/chunks/make-B2ukzWs3-Dixweg8N.js +1 -0
- package/dist/console/runtime/public/console/chunks/markdown-BYOwaDjH.js +1 -0
- package/dist/console/runtime/public/console/chunks/markdown-CkmxmzqY-BYOwaDjH.js +1 -0
- package/dist/console/runtime/public/console/chunks/marko-BHWvxp04-U7nYXRKW.js +1 -0
- package/dist/console/runtime/public/console/chunks/marko-DmV4Eg2F.js +1 -0
- package/dist/console/runtime/public/console/chunks/material-theme-Bm3Qr25_.js +1 -0
- package/dist/console/runtime/public/console/chunks/material-theme-C_YrwKEa-Bm3Qr25_.js +1 -0
- package/dist/console/runtime/public/console/chunks/material-theme-darker-2IIEA8gg.js +1 -0
- package/dist/console/runtime/public/console/chunks/material-theme-darker-DB3YVCla-2IIEA8gg.js +1 -0
- package/dist/console/runtime/public/console/chunks/material-theme-lighter-D2fgNrBK-uhdI0v04.js +1 -0
- package/dist/console/runtime/public/console/chunks/material-theme-lighter-uhdI0v04.js +1 -0
- package/dist/console/runtime/public/console/chunks/material-theme-ocean-CHQ94UKr.js +1 -0
- package/dist/console/runtime/public/console/chunks/material-theme-ocean-DVy172Rs-CHQ94UKr.js +1 -0
- package/dist/console/runtime/public/console/chunks/material-theme-palenight-B5W6OYN7.js +1 -0
- package/dist/console/runtime/public/console/chunks/material-theme-palenight-uMMwIfpG-B5W6OYN7.js +1 -0
- package/dist/console/runtime/public/console/chunks/matlab-CfRK6IMC-D7qyCx1q.js +1 -0
- package/dist/console/runtime/public/console/chunks/mdc-BVkdQPZX.js +1 -0
- package/dist/console/runtime/public/console/chunks/mdc-Dg7VPYLa-CshLRYP7.js +1 -0
- package/dist/console/runtime/public/console/chunks/mdx-BK9ZufRc-DQZ5AkYe.js +1 -0
- package/dist/console/runtime/public/console/chunks/mdx-DQZ5AkYe.js +1 -0
- package/dist/console/runtime/public/console/chunks/mermaid-r7OoIYpE-Bk4SNUv9.js +1 -0
- package/dist/console/runtime/public/console/chunks/min-dark-BSWPekZh.js +1 -0
- package/dist/console/runtime/public/console/chunks/min-dark-C7Ec8I_2-BSWPekZh.js +1 -0
- package/dist/console/runtime/public/console/chunks/min-light-Be6foA7m-DDpmG2fV.js +1 -0
- package/dist/console/runtime/public/console/chunks/min-light-DDpmG2fV.js +1 -0
- package/dist/console/runtime/public/console/chunks/mipsasm-EL46Y4Xg-BMqwQI7S.js +1 -0
- package/dist/console/runtime/public/console/chunks/mojo-YCzvCoMT-BgCJLMeH.js +1 -0
- package/dist/console/runtime/public/console/chunks/monokai-CREPpJ3k-CdkpiU2Y.js +1 -0
- package/dist/console/runtime/public/console/chunks/monokai-CdkpiU2Y.js +1 -0
- package/dist/console/runtime/public/console/chunks/moonbit-B_9L5rST-CaWjb8XO.js +1 -0
- package/dist/console/runtime/public/console/chunks/move-Dqi5fhOb-B1IS1UjX.js +1 -0
- package/dist/console/runtime/public/console/chunks/narrat-D9rrR0H5-_X_XdTYD.js +1 -0
- package/dist/console/runtime/public/console/chunks/nextflow-CgUAk9iA-CTMUe4Ca.js +1 -0
- package/dist/console/runtime/public/console/chunks/nextflow-groovy-CdFFX-gF-DJMQeKeT.js +1 -0
- package/dist/console/runtime/public/console/chunks/nginx-Q-E8IJvs-DiQO9reH.js +1 -0
- package/dist/console/runtime/public/console/chunks/night-owl-CqqbiLON-DhmEMT88.js +1 -0
- package/dist/console/runtime/public/console/chunks/night-owl-DhmEMT88.js +1 -0
- package/dist/console/runtime/public/console/chunks/night-owl-light-B9vYgGRt-eJ-hLW7d.js +1 -0
- package/dist/console/runtime/public/console/chunks/night-owl-light-eJ-hLW7d.js +1 -0
- package/dist/console/runtime/public/console/chunks/nim-CNcTuF14-W9Ucwkhx.js +1 -0
- package/dist/console/runtime/public/console/chunks/nix-Bm1Ax-Z3-IvuFDN5E.js +1 -0
- package/dist/console/runtime/public/console/chunks/nord-BZ9DVmcN-Cb4Vim4T.js +1 -0
- package/dist/console/runtime/public/console/chunks/nord-Cb4Vim4T.js +1 -0
- package/dist/console/runtime/public/console/chunks/nushell-r7hBzeS_-DcLAeLz5.js +1 -0
- package/dist/console/runtime/public/console/chunks/objective-c-6dJF64Dt-D1A_Heim.js +1 -0
- package/dist/console/runtime/public/console/chunks/objective-cpp-_ooRQ-PY-BsSzOQcm.js +1 -0
- package/dist/console/runtime/public/console/chunks/ocaml-vm1Y8An6-O90oeIOV.js +1 -0
- package/dist/console/runtime/public/console/chunks/odin-vjOJSyfV-B1RWQWA5.js +1 -0
- package/dist/console/runtime/public/console/chunks/one-dark-pro-CLwyXe_n.js +1 -0
- package/dist/console/runtime/public/console/chunks/one-dark-pro-Ev8UPkf4-CLwyXe_n.js +1 -0
- package/dist/console/runtime/public/console/chunks/one-light-CzxBC38_-D7Lr4KcI.js +1 -0
- package/dist/console/runtime/public/console/chunks/one-light-D7Lr4KcI.js +1 -0
- package/dist/console/runtime/public/console/chunks/openscad-jn-f1Ocl-BUDT5pXO.js +1 -0
- package/dist/console/runtime/public/console/chunks/pascal-D8-gNZ2I-4ZHwLPI5.js +1 -0
- package/dist/console/runtime/public/console/chunks/perl-Bbgb6Twx-CHGXAzGq.js +1 -0
- package/dist/console/runtime/public/console/chunks/php-CBOR45_G-D5pyod9R.js +1 -0
- package/dist/console/runtime/public/console/chunks/php-J5BBb-PR.js +1 -0
- package/dist/console/runtime/public/console/chunks/pierre-code-view-DYpF5M8R-BiohFcCD.js +1511 -0
- package/dist/console/runtime/public/console/chunks/pierre-dark-DDWDl8g6-CpLgRqie.js +1 -0
- package/dist/console/runtime/public/console/chunks/pierre-dark-protanopia-deuteranopia-C35UMuvO-B35FxJx-.js +1 -0
- package/dist/console/runtime/public/console/chunks/pierre-dark-soft-Bb-4-biO-kZQmAZld.js +1 -0
- package/dist/console/runtime/public/console/chunks/pierre-dark-tritanopia-CIJISGWF-CpjhbsIL.js +1 -0
- package/dist/console/runtime/public/console/chunks/pierre-dark-vibrant-8oZzB3gw-CpQYzh95.js +1 -0
- package/dist/console/runtime/public/console/chunks/pierre-light-CWhW4NrH-CoaEpmwp.js +1 -0
- package/dist/console/runtime/public/console/chunks/pierre-light-protanopia-deuteranopia-u0U7N4Hn-0fSaH845.js +1 -0
- package/dist/console/runtime/public/console/chunks/pierre-light-soft-BCU6fuhO-lWLdNTOI.js +1 -0
- package/dist/console/runtime/public/console/chunks/pierre-light-tritanopia-3c8Yx3co-CEbqgOJL.js +1 -0
- package/dist/console/runtime/public/console/chunks/pierre-light-vibrant-Cwh332o_-D80Fkn33.js +1 -0
- package/dist/console/runtime/public/console/chunks/pkl-C7lWzykI-ot-7Btpt.js +1 -0
- package/dist/console/runtime/public/console/chunks/plastic-BGkJ2das-DQwYfKfQ.js +1 -0
- package/dist/console/runtime/public/console/chunks/plastic-DQwYfKfQ.js +1 -0
- package/dist/console/runtime/public/console/chunks/plsql-DCNXypXO-DGHpHOYJ.js +1 -0
- package/dist/console/runtime/public/console/chunks/po-IjpR1yHO-BiJDBrnU.js +1 -0
- package/dist/console/runtime/public/console/chunks/poimandres-CpnMgZuc-DRFjx7u4.js +1 -0
- package/dist/console/runtime/public/console/chunks/poimandres-DRFjx7u4.js +1 -0
- package/dist/console/runtime/public/console/chunks/polar-4pN1JrJ8-C7UOKdEL.js +1 -0
- package/dist/console/runtime/public/console/chunks/postcss-BXeXVLqQ.js +1 -0
- package/dist/console/runtime/public/console/chunks/postcss-D1gKt4z_-BXeXVLqQ.js +1 -0
- package/dist/console/runtime/public/console/chunks/powerquery-SrvS_NBM-DNMTfnFr.js +1 -0
- package/dist/console/runtime/public/console/chunks/powershell-CpTLv_ai-DshXNtvi.js +1 -0
- package/dist/console/runtime/public/console/chunks/prisma-BWfa4-tI-BsRQq5mF.js +1 -0
- package/dist/console/runtime/public/console/chunks/prolog-Bacii3Ue-iXnhIJG7.js +1 -0
- package/dist/console/runtime/public/console/chunks/proto-ClkOcAW0-DB4EqR-F.js +1 -0
- package/dist/console/runtime/public/console/chunks/pug-CfJcGJfh.js +1 -0
- package/dist/console/runtime/public/console/chunks/pug-Cn_U_o_I-Cw4zFEpZ.js +1 -0
- package/dist/console/runtime/public/console/chunks/puppet-CQlPp728-CDv2pdJW.js +1 -0
- package/dist/console/runtime/public/console/chunks/purescript-CLpaGMbw-9MfHhQsQ.js +1 -0
- package/dist/console/runtime/public/console/chunks/python-BjnOIxPe-gzcpVVnB.js +1 -0
- package/dist/console/runtime/public/console/chunks/python-gzcpVVnB.js +1 -0
- package/dist/console/runtime/public/console/chunks/qml-DNlrbxJT-B_IzAFFX.js +1 -0
- package/dist/console/runtime/public/console/chunks/qmldir-Dz8ttxjf-DCQb3MpD.js +1 -0
- package/dist/console/runtime/public/console/chunks/qss-Iltvkn1C-Fe1Jh2GI.js +1 -0
- package/dist/console/runtime/public/console/chunks/r-Dzep-lPg.js +1 -0
- package/dist/console/runtime/public/console/chunks/r-VqTZMNY_-EnO4GoeC.js +1 -0
- package/dist/console/runtime/public/console/chunks/racket-DRv7j6nv-DcIDlBhZ.js +1 -0
- package/dist/console/runtime/public/console/chunks/raku-DI9yGpeW-B3gFvitq.js +1 -0
- package/dist/console/runtime/public/console/chunks/razor-Bw2un3e8-CtGvw0jo.js +1 -0
- package/dist/console/runtime/public/console/chunks/red-CJ3rzSJv.js +1 -0
- package/dist/console/runtime/public/console/chunks/red-EHiRGXSv-CJ3rzSJv.js +1 -0
- package/dist/console/runtime/public/console/chunks/reg-DpJf71oO-CRGYupPL.js +1 -0
- package/dist/console/runtime/public/console/chunks/regexp-5HbFqwky-C3xQXL6t.js +1 -0
- package/dist/console/runtime/public/console/chunks/regexp-R83qIIH_.js +1 -0
- package/dist/console/runtime/public/console/chunks/rel-BT0iIKKw-BtDbiS_P.js +1 -0
- package/dist/console/runtime/public/console/chunks/riscv-CvzikGLb-Ckw8ddFX.js +1 -0
- package/dist/console/runtime/public/console/chunks/ron-DzAo6FTJ-VUp2lXgN.js +1 -0
- package/dist/console/runtime/public/console/chunks/rose-pine-BthvhNj6.js +1 -0
- package/dist/console/runtime/public/console/chunks/rose-pine-DTI-z1Qp-BthvhNj6.js +1 -0
- package/dist/console/runtime/public/console/chunks/rose-pine-dawn-BIiGXpWs-Dg85fqjY.js +1 -0
- package/dist/console/runtime/public/console/chunks/rose-pine-dawn-Dg85fqjY.js +1 -0
- package/dist/console/runtime/public/console/chunks/rose-pine-moon-DU4wt90U-hon4tzzS.js +1 -0
- package/dist/console/runtime/public/console/chunks/rose-pine-moon-hon4tzzS.js +1 -0
- package/dist/console/runtime/public/console/chunks/rosmsg-CyYq6XdT-CAekHB0j.js +1 -0
- package/dist/console/runtime/public/console/chunks/rst-BZPDb03W-BDIwqmQR.js +1 -0
- package/dist/console/runtime/public/console/chunks/ruby-BbVp0_gQ-BUOn3oxT.js +1 -0
- package/dist/console/runtime/public/console/chunks/rust-COBzcmTx-Cfkwpbl8.js +1 -0
- package/dist/console/runtime/public/console/chunks/sas-DSkdG4wF-BE4zxtJ7.js +1 -0
- package/dist/console/runtime/public/console/chunks/sass-DI2zJwx7-DXrisJhu.js +1 -0
- package/dist/console/runtime/public/console/chunks/sass-DXrisJhu.js +1 -0
- package/dist/console/runtime/public/console/chunks/scala-CtSYTRYT-DKOlJaKm.js +1 -0
- package/dist/console/runtime/public/console/chunks/scheme-D3A2QBtM-DQCgrYNe.js +1 -0
- package/dist/console/runtime/public/console/chunks/scss-BQ7uffpQ-D2aPazKS.js +1 -0
- package/dist/console/runtime/public/console/chunks/scss-DTeHeodw.js +1 -0
- package/dist/console/runtime/public/console/chunks/sdbl-CdQg5gu1-bTVj8UrX.js +1 -0
- package/dist/console/runtime/public/console/chunks/shaderlab-CWP9wBCf-C6U2tjWC.js +1 -0
- package/dist/console/runtime/public/console/chunks/shellscript-B42c0JAn-D5OxpxEd.js +1 -0
- package/dist/console/runtime/public/console/chunks/shellscript-CLZ0U2zV.js +1 -0
- package/dist/console/runtime/public/console/chunks/shellsession-Oc9-NqAv-C1K_F4Is.js +1 -0
- package/dist/console/runtime/public/console/chunks/slack-dark-BS2AOOdo-DnToyrRv.js +1 -0
- package/dist/console/runtime/public/console/chunks/slack-dark-DnToyrRv.js +1 -0
- package/dist/console/runtime/public/console/chunks/slack-ochin-B2OO5cIa.js +1 -0
- package/dist/console/runtime/public/console/chunks/slack-ochin-Nc7Cucwk-B2OO5cIa.js +1 -0
- package/dist/console/runtime/public/console/chunks/smalltalk-BEQkVl4K-B16xEiuN.js +1 -0
- package/dist/console/runtime/public/console/chunks/snazzy-light-4G7pJPwS.js +1 -0
- package/dist/console/runtime/public/console/chunks/snazzy-light-C2ghKZXY-4G7pJPwS.js +1 -0
- package/dist/console/runtime/public/console/chunks/solarized-dark-DV17i1UV.js +1 -0
- package/dist/console/runtime/public/console/chunks/solarized-dark-UHgjRWhr-DV17i1UV.js +1 -0
- package/dist/console/runtime/public/console/chunks/solarized-light-B-Zcwve2-DSh2HLQt.js +1 -0
- package/dist/console/runtime/public/console/chunks/solarized-light-DSh2HLQt.js +1 -0
- package/dist/console/runtime/public/console/chunks/solidity-lB9VjfB9-CKzVLygQ.js +1 -0
- package/dist/console/runtime/public/console/chunks/soy-tgh9u9aW-Cm_LtJoW.js +1 -0
- package/dist/console/runtime/public/console/chunks/sparql-B4t0ZbEe-CXgkFCv7.js +1 -0
- package/dist/console/runtime/public/console/chunks/splunk-xP_ZjUH2-BC2Px7Mm.js +1 -0
- package/dist/console/runtime/public/console/chunks/sql-C7n9abzK.js +1 -0
- package/dist/console/runtime/public/console/chunks/sql-CrPlEQn4-COghB3-E.js +1 -0
- package/dist/console/runtime/public/console/chunks/ssh-config-DXFPABYp-BgfXC-Er.js +1 -0
- package/dist/console/runtime/public/console/chunks/stata-D_KqT8cj-oQQpG6t_.js +1 -0
- package/dist/console/runtime/public/console/chunks/stylus-B6D30XZt.js +1 -0
- package/dist/console/runtime/public/console/chunks/stylus-ZZDn1yUO-B6D30XZt.js +1 -0
- package/dist/console/runtime/public/console/chunks/surrealql-C0KhgoyZ-DqXNFH_A.js +1 -0
- package/dist/console/runtime/public/console/chunks/svelte-CRpWSJAY.js +1 -0
- package/dist/console/runtime/public/console/chunks/svelte-DuHT0xxw-Bs0TxuUS.js +1 -0
- package/dist/console/runtime/public/console/chunks/swift-BTPQlRLK-DonLKvLd.js +1 -0
- package/dist/console/runtime/public/console/chunks/synthwave-84-CPtGYwOz-nFMaYfgc.js +1 -0
- package/dist/console/runtime/public/console/chunks/synthwave-84-nFMaYfgc.js +1 -0
- package/dist/console/runtime/public/console/chunks/system-verilog-BEoxaBuU-DJ5XKQeo.js +1 -0
- package/dist/console/runtime/public/console/chunks/systemd-DFbUltlW-BxMlprV5.js +1 -0
- package/dist/console/runtime/public/console/chunks/talonscript-CLxaFu-b-CohzipZa.js +1 -0
- package/dist/console/runtime/public/console/chunks/tasl-_AAbKiWM-DMoTqEGO.js +1 -0
- package/dist/console/runtime/public/console/chunks/tcl-DLe0Tsfm-CZd0xW_V.js +1 -0
- package/dist/console/runtime/public/console/chunks/templ-DF54artD-BPb_zNLV.js +1 -0
- package/dist/console/runtime/public/console/chunks/terraform-v0KN9QQh-DswuEJGm.js +1 -0
- package/dist/console/runtime/public/console/chunks/tex-Bbhb8xAP-9R8lE_en.js +1 -0
- package/dist/console/runtime/public/console/chunks/tokyo-night-BKYoawWu-oM2G3aXe.js +1 -0
- package/dist/console/runtime/public/console/chunks/tokyo-night-oM2G3aXe.js +1 -0
- package/dist/console/runtime/public/console/chunks/toml-B7BHZIqX-CcmNWLt0.js +1 -0
- package/dist/console/runtime/public/console/chunks/ts-tags-DH1AB-Ri-CgEe3BFX.js +1 -0
- package/dist/console/runtime/public/console/chunks/ts-tags-DJjZLMnt.js +1 -0
- package/dist/console/runtime/public/console/chunks/tsv-BorGVq2Z-sltzmVWM.js +1 -0
- package/dist/console/runtime/public/console/chunks/tsx-B7QamQLF.js +1 -0
- package/dist/console/runtime/public/console/chunks/tsx-BR8s1Lhs-DiW36VFk.js +1 -0
- package/dist/console/runtime/public/console/chunks/turtle-BEG5g_eT-ByJddavk.js +1 -0
- package/dist/console/runtime/public/console/chunks/tv-WsfYJXat.js +1 -0
- package/dist/console/runtime/public/console/chunks/twig-DziFF7iU-DLOFbR4k.js +1 -0
- package/dist/console/runtime/public/console/chunks/typescript-D8TR6ff2-CCKRkaRI.js +1 -0
- package/dist/console/runtime/public/console/chunks/typescript-DzLO-qqB.js +1 -0
- package/dist/console/runtime/public/console/chunks/typespec-C_R5TbvO-BRdr0IET.js +1 -0
- package/dist/console/runtime/public/console/chunks/typst-BV9w0z8--DI99ib-x.js +1 -0
- package/dist/console/runtime/public/console/chunks/v-DfbeXLo8-DETTlOr0.js +1 -0
- package/dist/console/runtime/public/console/chunks/vala-BnnASFsX-zf12oZj6.js +1 -0
- package/dist/console/runtime/public/console/chunks/vb-DU29mvss-Djn5o6TS.js +1 -0
- package/dist/console/runtime/public/console/chunks/verilog-BW5U03XW-CiiDBU1e.js +1 -0
- package/dist/console/runtime/public/console/chunks/vesper-ClvmKzqD-DdrHHSXu.js +1 -0
- package/dist/console/runtime/public/console/chunks/vesper-DdrHHSXu.js +1 -0
- package/dist/console/runtime/public/console/chunks/vhdl-Co2XFKY7-BroJfC0k.js +1 -0
- package/dist/console/runtime/public/console/chunks/viml-BReTXeDA-DvXPmvsu.js +1 -0
- package/dist/console/runtime/public/console/chunks/vitesse-black-BY6Qtyq--fwtXNY1n.js +1 -0
- package/dist/console/runtime/public/console/chunks/vitesse-black-fwtXNY1n.js +1 -0
- package/dist/console/runtime/public/console/chunks/vitesse-dark-BT-v_EgR-BZCL-v6S.js +1 -0
- package/dist/console/runtime/public/console/chunks/vitesse-dark-BZCL-v6S.js +1 -0
- package/dist/console/runtime/public/console/chunks/vitesse-light-Box8ZFz6-VbXTXTou.js +1 -0
- package/dist/console/runtime/public/console/chunks/vitesse-light-VbXTXTou.js +1 -0
- package/dist/console/runtime/public/console/chunks/vue-BRy8iDCZ-CL7P9CNz.js +1 -0
- package/dist/console/runtime/public/console/chunks/vue-CQQ6_PvN.js +1 -0
- package/dist/console/runtime/public/console/chunks/vue-html-B24bjO_3-BY2skbNe.js +1 -0
- package/dist/console/runtime/public/console/chunks/vue-html-Ce5SCNOK.js +1 -0
- package/dist/console/runtime/public/console/chunks/vue-vine-DKH1_YEZ.js +1 -0
- package/dist/console/runtime/public/console/chunks/vue-vine-l7O7Mg81-CFWzX3HC.js +1 -0
- package/dist/console/runtime/public/console/chunks/vue.runtime.esm-bundler-COh-O3z7.js +3 -0
- package/dist/console/runtime/public/console/chunks/vyper-C6KGx0YU-CgoNMtux.js +1 -0
- package/dist/console/runtime/public/console/chunks/wasm-BRCjOXGL-BnjxR4X6.js +1 -0
- package/dist/console/runtime/public/console/chunks/wasm-BnjxR4X6.js +1 -0
- package/dist/console/runtime/public/console/chunks/wasm-ByWQv1Qj.js +1 -0
- package/dist/console/runtime/public/console/chunks/wasm-gNIKwGlD-ByWQv1Qj.js +1 -0
- package/dist/console/runtime/public/console/chunks/wenyan-BeysbCrW-C8pVoKbM.js +1 -0
- package/dist/console/runtime/public/console/chunks/wgsl-1s5rV5xS-BsKzXJz4.js +1 -0
- package/dist/console/runtime/public/console/chunks/wgsl-BsKzXJz4.js +1 -0
- package/dist/console/runtime/public/console/chunks/wikitext-wjhjmmzD-ClFFjSW2.js +1 -0
- package/dist/console/runtime/public/console/chunks/wit-CeQiCbz_-DdvCle-K.js +1 -0
- package/dist/console/runtime/public/console/chunks/wit-DdvCle-K.js +1 -0
- package/dist/console/runtime/public/console/chunks/wolfram-CcZPfnLd-DLL8P-h_.js +1 -0
- package/dist/console/runtime/public/console/chunks/xml-CduVPlYa-BZCwbgEk.js +1 -0
- package/dist/console/runtime/public/console/chunks/xml-G-voesMw.js +1 -0
- package/dist/console/runtime/public/console/chunks/xsl-BeH_vLTK-DeKk-5KU.js +1 -0
- package/dist/console/runtime/public/console/chunks/yaml-Cb0uRU1q-CkSC4c4u.js +1 -0
- package/dist/console/runtime/public/console/chunks/yaml-rwi0_p6S.js +1 -0
- package/dist/console/runtime/public/console/chunks/zenscript-BoijL7rl-BnlCZFoB.js +1 -0
- package/dist/console/runtime/public/console/chunks/zig-lTQvxhLD-CMLA9XwU.js +1 -0
- package/dist/console/runtime/public/console/console-Bwq3z75a.css +3 -0
- package/dist/console/runtime/public/console/console-Cl-xrMah.js +1371 -0
- package/dist/console/runtime/rpc.d.ts +35 -0
- package/dist/console/runtime/rpc.js +16 -0
- package/dist/console/runtime/sections.d.ts +2 -0
- package/dist/console/runtime/sections.js +126 -0
- package/dist/console/runtime/server/agents.get.d.ts +9 -0
- package/dist/console/runtime/server/agents.get.js +12 -0
- package/dist/console/runtime/server/blob.d.ts +2 -0
- package/dist/console/runtime/server/blob.get.d.ts +25 -0
- package/dist/console/runtime/server/blob.get.js +74 -0
- package/dist/console/runtime/server/blob.js +18 -0
- package/dist/console/runtime/server/database.d.ts +2 -0
- package/dist/console/runtime/server/database.get.d.ts +51 -0
- package/dist/console/runtime/server/database.get.js +192 -0
- package/dist/console/runtime/server/database.js +17 -0
- package/dist/console/runtime/server/definitions.d.ts +2 -0
- package/dist/console/runtime/server/definitions.get.d.ts +10 -0
- package/dist/console/runtime/server/definitions.get.js +23 -0
- package/dist/console/runtime/server/definitions.js +22 -0
- package/dist/console/runtime/server/devframe.d.ts +13 -0
- package/dist/console/runtime/server/devframe.js +133 -0
- package/dist/console/runtime/server/invocation-capabilities.get.d.ts +8 -0
- package/dist/console/runtime/server/invocation-capabilities.get.js +14 -0
- package/dist/console/runtime/server/invocation.get.d.ts +36 -0
- package/dist/console/runtime/server/invocation.get.js +46 -0
- package/dist/console/runtime/server/invocations.get.d.ts +7 -0
- package/dist/console/runtime/server/invocations.get.js +225 -0
- package/dist/console/runtime/server/kv.d.ts +2 -0
- package/dist/console/runtime/server/kv.get.d.ts +24 -0
- package/dist/console/runtime/server/kv.get.js +236 -0
- package/dist/console/runtime/server/kv.js +18 -0
- package/dist/console/runtime/server/page.get.d.ts +6 -0
- package/dist/console/runtime/server/page.get.js +33 -0
- package/dist/console/runtime/server/search.get.d.ts +8 -0
- package/dist/console/runtime/server/search.get.js +2 -0
- package/dist/console/runtime/server/sections.d.ts +2 -0
- package/dist/console/runtime/server/sections.get.d.ts +9 -0
- package/dist/console/runtime/server/sections.get.js +13 -0
- package/dist/console/runtime/server/sections.js +16 -0
- package/dist/console/runtime/server/usage.get.d.ts +6 -0
- package/dist/console/runtime/server/usage.get.js +44 -0
- package/dist/console/server.d.ts +7 -0
- package/dist/console/server.js +28 -0
- package/dist/console.d.ts +4 -0
- package/dist/console.js +4 -0
- package/dist/database/drizzle.d.ts +16 -1
- package/dist/database/drizzle.js +8 -1
- package/dist/database-CW-WjW4u.d.ts +8 -0
- package/dist/definitions-BHmB22eM.d.ts +7 -0
- package/dist/definitions-CfSmoS5G.d.ts +17 -0
- package/dist/env/provider.d.ts +1 -0
- package/dist/env/provider.js +2 -0
- package/dist/env.d.ts +1 -0
- package/dist/index-B072hyCd.d.ts +59 -0
- package/dist/index.d.ts +2 -36
- package/dist/index.js +2 -1121
- package/dist/internal-12r-XCbk.d.ts +20 -0
- package/dist/internal-DzLLx0iR.js +304 -0
- package/dist/invocations-qwMRTSy7.js +364 -0
- package/dist/kv-DLGscNQ_.d.ts +8 -0
- package/dist/nuxt.d.ts +70 -0
- package/dist/nuxt.js +763 -0
- package/dist/realtime/server.d.ts +1 -0
- package/dist/realtime/server.js +2 -0
- package/dist/realtime/vue.d.ts +1 -0
- package/dist/realtime/vue.js +2 -0
- package/dist/realtime.d.ts +1 -0
- package/dist/realtime.js +2 -0
- package/dist/request-DxBwxGnk.js +72 -0
- package/dist/request-NErg_P5m.d.ts +43 -0
- package/dist/runtime/node.d.ts +1 -0
- package/dist/runtime/node.js +2 -0
- package/dist/search.get-ClTCn-mh.js +100 -0
- package/dist/sections-7HoMOIGH.d.ts +9 -0
- package/dist/sections-DVsqeLAF.d.ts +100 -0
- package/dist/server-BFxDhCzA.d.ts +78 -0
- package/dist/source/client.d.ts +1 -0
- package/dist/source/client.js +2 -0
- package/dist/source/content/client.d.ts +1 -0
- package/dist/source/content/client.js +2 -0
- package/dist/source/content.d.ts +1 -0
- package/dist/source/content.js +2 -0
- package/dist/source/file.d.ts +1 -0
- package/dist/source/file.js +2 -0
- package/dist/source/github.d.ts +1 -0
- package/dist/source/github.js +2 -0
- package/dist/source/glob.d.ts +1 -0
- package/dist/source/glob.js +2 -0
- package/dist/source/markdown.d.ts +1 -0
- package/dist/source/markdown.js +2 -0
- package/dist/source/mcp.d.ts +1 -0
- package/dist/source/mcp.js +2 -0
- package/dist/source/server.d.ts +24 -0
- package/dist/source/server.js +25 -0
- package/dist/source/vite.d.ts +8 -0
- package/dist/source/vite.js +18 -0
- package/dist/source.d.ts +66 -1
- package/dist/source.js +103 -1
- package/dist/src-XEJGHDr9.js +5247 -0
- package/dist/types-BucGTJnk.js +168 -0
- package/dist/ui/headless.d.ts +1 -0
- package/dist/ui/headless.js +2 -0
- package/dist/ui/nuxt.d.ts +3 -0
- package/dist/ui/nuxt.js +3 -0
- package/dist/ui/styles.css +2562 -0
- package/dist/ui/vite.d.ts +3 -0
- package/dist/ui/vite.js +3 -0
- package/dist/ui.d.ts +1 -0
- package/dist/ui.js +2 -0
- package/dist/usage-CoZa_8fx.js +361 -0
- package/package.json +121 -37
- package/dist/agent/harness/claude-code.d.ts +0 -1
- package/dist/agent/harness/claude-code.js +0 -2
- package/dist/agent/harness/codex.d.ts +0 -1
- package/dist/agent/harness/codex.js +0 -2
- package/dist/agent/harness/local-sandbox.d.ts +0 -1
- package/dist/agent/harness/local-sandbox.js +0 -2
- package/dist/box/cloudflare.d.ts +0 -1
- package/dist/box/cloudflare.js +0 -2
- package/dist/box/crabbox.d.ts +0 -1
- package/dist/box/crabbox.js +0 -2
- package/dist/box/vercel.d.ts +0 -1
- package/dist/box/vercel.js +0 -2
- package/dist/email/drivers/smtp.d.ts +0 -1
- package/dist/email/drivers/smtp.js +0 -2
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
//#region src/console/runtime/rpc.d.ts
|
|
2
|
+
declare const consoleRpcMethods: {
|
|
3
|
+
readonly agents: "vitehub:console:agents";
|
|
4
|
+
readonly blob: "vitehub:console:blob";
|
|
5
|
+
readonly database: "vitehub:console:database";
|
|
6
|
+
readonly definitions: "vitehub:console:definitions";
|
|
7
|
+
readonly invocation: "vitehub:console:invocation";
|
|
8
|
+
readonly invocationCapabilities: "vitehub:console:invocation-capabilities";
|
|
9
|
+
readonly invocations: "vitehub:console:invocations";
|
|
10
|
+
readonly kv: "vitehub:console:kv";
|
|
11
|
+
readonly search: "vitehub:console:search";
|
|
12
|
+
readonly sections: "vitehub:console:sections";
|
|
13
|
+
readonly usage: "vitehub:console:usage";
|
|
14
|
+
};
|
|
15
|
+
type ConsoleRpcMethod = (typeof consoleRpcMethods)[keyof typeof consoleRpcMethods];
|
|
16
|
+
interface ConsoleRpcInput {
|
|
17
|
+
body?: unknown;
|
|
18
|
+
id?: string;
|
|
19
|
+
method?: "GET" | "POST";
|
|
20
|
+
query?: Record<string, string | string[]>;
|
|
21
|
+
}
|
|
22
|
+
type ConsoleRpcResult = {
|
|
23
|
+
ok: true;
|
|
24
|
+
value: unknown;
|
|
25
|
+
} | {
|
|
26
|
+
message: string;
|
|
27
|
+
ok: false;
|
|
28
|
+
status: number;
|
|
29
|
+
};
|
|
30
|
+
type ConsoleRpcFunctions = { [Method in ConsoleRpcMethod]: (input: ConsoleRpcInput) => Promise<ConsoleRpcResult> };
|
|
31
|
+
declare module "devframe" {
|
|
32
|
+
interface DevframeRpcServerFunctions extends ConsoleRpcFunctions {}
|
|
33
|
+
}
|
|
34
|
+
//#endregion
|
|
35
|
+
export { ConsoleRpcFunctions, ConsoleRpcInput, ConsoleRpcMethod, ConsoleRpcResult, consoleRpcMethods };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
//#region src/console/runtime/rpc.ts
|
|
2
|
+
const consoleRpcMethods = {
|
|
3
|
+
agents: "vitehub:console:agents",
|
|
4
|
+
blob: "vitehub:console:blob",
|
|
5
|
+
database: "vitehub:console:database",
|
|
6
|
+
definitions: "vitehub:console:definitions",
|
|
7
|
+
invocation: "vitehub:console:invocation",
|
|
8
|
+
invocationCapabilities: "vitehub:console:invocation-capabilities",
|
|
9
|
+
invocations: "vitehub:console:invocations",
|
|
10
|
+
kv: "vitehub:console:kv",
|
|
11
|
+
search: "vitehub:console:search",
|
|
12
|
+
sections: "vitehub:console:sections",
|
|
13
|
+
usage: "vitehub:console:usage"
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { consoleRpcMethods };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as prioritizeConsoleSectionIds, c as resolveConsoleSectionIds, i as isConsoleSectionId, n as consoleSectionDetails, o as readLastConsoleSection, r as consoleSectionIds, s as rememberConsoleSection, t as ConsoleSectionId } from "../../sections-DVsqeLAF.js";
|
|
2
|
+
export { ConsoleSectionId, consoleSectionDetails, consoleSectionIds, isConsoleSectionId, prioritizeConsoleSectionIds, readLastConsoleSection, rememberConsoleSection, resolveConsoleSectionIds };
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
//#region src/console/runtime/sections.ts
|
|
2
|
+
const consoleSectionIds = [
|
|
3
|
+
"agents",
|
|
4
|
+
"usage",
|
|
5
|
+
"blob",
|
|
6
|
+
"database",
|
|
7
|
+
"databases",
|
|
8
|
+
"kv",
|
|
9
|
+
"rate-limits",
|
|
10
|
+
"sandboxes",
|
|
11
|
+
"workspaces",
|
|
12
|
+
"workflows",
|
|
13
|
+
"queues",
|
|
14
|
+
"schedules"
|
|
15
|
+
];
|
|
16
|
+
const consoleSectionDetails = {
|
|
17
|
+
agents: {
|
|
18
|
+
description: "Inspect Agent sessions and invocation details.",
|
|
19
|
+
icon: "i-ph-robot-light",
|
|
20
|
+
label: "Agents",
|
|
21
|
+
routeName: "vitehub-console-agents"
|
|
22
|
+
},
|
|
23
|
+
usage: {
|
|
24
|
+
description: "Review token use and cost evidence over time.",
|
|
25
|
+
icon: "i-ph-chart-bar-light",
|
|
26
|
+
label: "Usage",
|
|
27
|
+
routeName: "vitehub-console-usage"
|
|
28
|
+
},
|
|
29
|
+
blob: {
|
|
30
|
+
description: "Inspect configured Blob stores and object metadata without downloading contents.",
|
|
31
|
+
icon: "i-lucide-file-box",
|
|
32
|
+
label: "Blob",
|
|
33
|
+
routeName: "vitehub-console-blob"
|
|
34
|
+
},
|
|
35
|
+
database: {
|
|
36
|
+
description: "Inspect database tables, rows, columns, and relationships.",
|
|
37
|
+
icon: "i-ph-database-light",
|
|
38
|
+
label: "Database",
|
|
39
|
+
routeName: "vitehub-console-database"
|
|
40
|
+
},
|
|
41
|
+
databases: {
|
|
42
|
+
description: "Inspect discovered Database Definitions and static schema metadata.",
|
|
43
|
+
icon: "i-lucide-database",
|
|
44
|
+
label: "Databases",
|
|
45
|
+
routeName: "vitehub-console-databases"
|
|
46
|
+
},
|
|
47
|
+
kv: {
|
|
48
|
+
description: "Inspect configured KV stores without changing data.",
|
|
49
|
+
icon: "i-ph-key-light",
|
|
50
|
+
label: "KV",
|
|
51
|
+
routeName: "vitehub-console-kv"
|
|
52
|
+
},
|
|
53
|
+
"rate-limits": {
|
|
54
|
+
description: "Inspect discovered Rate Limit policies and their source locations.",
|
|
55
|
+
icon: "i-lucide-gauge",
|
|
56
|
+
label: "Rate Limits",
|
|
57
|
+
routeName: "vitehub-console-rate-limits"
|
|
58
|
+
},
|
|
59
|
+
sandboxes: {
|
|
60
|
+
description: "Inspect discovered Sandbox Definitions without starting runtime resources.",
|
|
61
|
+
icon: "i-lucide-container",
|
|
62
|
+
label: "Sandboxes",
|
|
63
|
+
routeName: "vitehub-console-sandboxes"
|
|
64
|
+
},
|
|
65
|
+
workspaces: {
|
|
66
|
+
description: "Inspect discovered Workspace Definitions and their source roots.",
|
|
67
|
+
icon: "i-lucide-folder-kanban",
|
|
68
|
+
label: "Workspaces",
|
|
69
|
+
routeName: "vitehub-console-workspaces"
|
|
70
|
+
},
|
|
71
|
+
workflows: {
|
|
72
|
+
description: "Inspect discovered Workflow Definitions and their source metadata.",
|
|
73
|
+
icon: "i-ph-git-branch-light",
|
|
74
|
+
label: "Workflows",
|
|
75
|
+
routeName: "vitehub-console-workflows"
|
|
76
|
+
},
|
|
77
|
+
queues: {
|
|
78
|
+
description: "Inspect discovered Queue Definitions and their source metadata.",
|
|
79
|
+
icon: "i-ph-tray-light",
|
|
80
|
+
label: "Queues",
|
|
81
|
+
routeName: "vitehub-console-queues"
|
|
82
|
+
},
|
|
83
|
+
schedules: {
|
|
84
|
+
description: "Inspect discovered Schedule Definitions and static timing metadata.",
|
|
85
|
+
icon: "i-lucide-calendar-clock",
|
|
86
|
+
label: "Schedules",
|
|
87
|
+
routeName: "vitehub-console-schedules"
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
const lastConsoleSectionStorageKey = "vitehub-console:last-section";
|
|
91
|
+
function isConsoleSectionId(value) {
|
|
92
|
+
return consoleSectionIds.some((section) => section === value);
|
|
93
|
+
}
|
|
94
|
+
function resolveConsoleSectionIds(options) {
|
|
95
|
+
const workflowEnabled = options.workflow !== false && Boolean(options.workflow || options.agent && options.preset !== "netlify");
|
|
96
|
+
return [
|
|
97
|
+
...options.agent ? ["agents", "usage"] : [],
|
|
98
|
+
...options.blob ? ["blob"] : [],
|
|
99
|
+
...options.database ? ["databases"] : [],
|
|
100
|
+
...options.kv ? ["kv"] : [],
|
|
101
|
+
...options.rateLimit ? ["rate-limits"] : [],
|
|
102
|
+
...options.sandbox ? ["sandboxes"] : [],
|
|
103
|
+
...options.workspace ? ["workspaces"] : [],
|
|
104
|
+
...workflowEnabled ? ["workflows"] : [],
|
|
105
|
+
...options.queue ? ["queues"] : [],
|
|
106
|
+
...options.schedule ? ["schedules"] : []
|
|
107
|
+
];
|
|
108
|
+
}
|
|
109
|
+
function prioritizeConsoleSectionIds(sections, preferred) {
|
|
110
|
+
return preferred && sections.includes(preferred) ? [preferred, ...sections.filter((section) => section !== preferred)] : [...sections];
|
|
111
|
+
}
|
|
112
|
+
function readLastConsoleSection(storage) {
|
|
113
|
+
try {
|
|
114
|
+
const value = (storage ?? globalThis.localStorage)?.getItem(lastConsoleSectionStorageKey);
|
|
115
|
+
return isConsoleSectionId(value) ? value : void 0;
|
|
116
|
+
} catch {
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
function rememberConsoleSection(section, storage) {
|
|
121
|
+
try {
|
|
122
|
+
(storage ?? globalThis.localStorage)?.setItem(lastConsoleSectionStorageKey, section);
|
|
123
|
+
} catch {}
|
|
124
|
+
}
|
|
125
|
+
//#endregion
|
|
126
|
+
export { consoleSectionDetails, consoleSectionIds, isConsoleSectionId, prioritizeConsoleSectionIds, readLastConsoleSection, rememberConsoleSection, resolveConsoleSectionIds };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { t as ConsoleRequestEvent } from "../../../request-NErg_P5m.js";
|
|
2
|
+
|
|
3
|
+
//#region src/console/runtime/server/agents.get.d.ts
|
|
4
|
+
interface ConsoleAgentsResult {
|
|
5
|
+
agents: readonly string[];
|
|
6
|
+
}
|
|
7
|
+
declare const agentsHandler: (event: ConsoleRequestEvent) => Promise<ConsoleAgentsResult>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { agentsHandler as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { r as getConsoleInvocations } from "../../../invocations-qwMRTSy7.js";
|
|
2
|
+
import { t as getConsoleAgents } from "../../../agents-DGL-2SS3.js";
|
|
3
|
+
import { t as assertConsoleRequest } from "../../../request-DxBwxGnk.js";
|
|
4
|
+
//#region src/console/runtime/server/agents.get.ts
|
|
5
|
+
const agentsHandler = async (event) => {
|
|
6
|
+
assertConsoleRequest(event);
|
|
7
|
+
const agents = new Set(getConsoleAgents());
|
|
8
|
+
for (const agentName of await getConsoleInvocations().listAgentNames()) agents.add(agentName);
|
|
9
|
+
return { agents: [...agents].sort() };
|
|
10
|
+
};
|
|
11
|
+
//#endregion
|
|
12
|
+
export { agentsHandler as default };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { t as ConsoleRequestEvent } from "../../../request-NErg_P5m.js";
|
|
2
|
+
|
|
3
|
+
//#region src/console/runtime/server/blob.get.d.ts
|
|
4
|
+
interface ConsoleBlobObject {
|
|
5
|
+
contentType?: string;
|
|
6
|
+
customMetadata: Record<string, string>;
|
|
7
|
+
httpEtag?: string;
|
|
8
|
+
httpMetadata: Record<string, string>;
|
|
9
|
+
pathname: string;
|
|
10
|
+
size?: number;
|
|
11
|
+
uploadedAt: string;
|
|
12
|
+
urlAvailable?: true;
|
|
13
|
+
}
|
|
14
|
+
interface ConsoleBlobPage {
|
|
15
|
+
blobs: ConsoleBlobObject[];
|
|
16
|
+
cursor?: string;
|
|
17
|
+
hasMore: boolean;
|
|
18
|
+
limit: number;
|
|
19
|
+
prefix: string;
|
|
20
|
+
store: string;
|
|
21
|
+
stores: readonly string[];
|
|
22
|
+
}
|
|
23
|
+
declare function consoleBlobHandler(event: ConsoleRequestEvent): Promise<ConsoleBlobPage>;
|
|
24
|
+
//#endregion
|
|
25
|
+
export { consoleBlobHandler as default };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { getConsoleBlob } from "./blob.js";
|
|
2
|
+
import { r as consoleRequestURL, t as assertConsoleRequest } from "../../../request-DxBwxGnk.js";
|
|
3
|
+
//#region src/console/runtime/server/blob.get.ts
|
|
4
|
+
const defaultLimit = 100;
|
|
5
|
+
const maximumLimit = 250;
|
|
6
|
+
const maximumParameterLength = 8192;
|
|
7
|
+
function requestError(statusCode, statusMessage) {
|
|
8
|
+
return Object.assign(new Error(statusMessage), {
|
|
9
|
+
statusCode,
|
|
10
|
+
statusMessage
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
function optionalParameter(value, name) {
|
|
14
|
+
if (value === null || value === "") return;
|
|
15
|
+
if (value.length > maximumParameterLength) throw requestError(400, `${name} is too long.`);
|
|
16
|
+
return value;
|
|
17
|
+
}
|
|
18
|
+
function limitParameter(value) {
|
|
19
|
+
if (value === null || value === "") return defaultLimit;
|
|
20
|
+
const parsed = Number(value);
|
|
21
|
+
if (!Number.isInteger(parsed) || parsed < 1 || parsed > maximumLimit) throw requestError(400, `limit must be an integer from 1 to ${maximumLimit}.`);
|
|
22
|
+
return parsed;
|
|
23
|
+
}
|
|
24
|
+
function unwrap(result) {
|
|
25
|
+
if (result[0]) throw requestError(502, result[0].message);
|
|
26
|
+
return result[1];
|
|
27
|
+
}
|
|
28
|
+
function selectStore(storage, stores, requested) {
|
|
29
|
+
const name = requested === null || requested === "" ? "default" : requested;
|
|
30
|
+
if (!stores.includes(name)) throw requestError(404, "Blob store not found.");
|
|
31
|
+
return {
|
|
32
|
+
name,
|
|
33
|
+
storage: name === "default" ? storage : storage.store(name)
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
function serializeBlob(object) {
|
|
37
|
+
const serialized = {
|
|
38
|
+
customMetadata: { ...object.customMetadata },
|
|
39
|
+
httpMetadata: { ...object.httpMetadata },
|
|
40
|
+
pathname: object.pathname,
|
|
41
|
+
uploadedAt: object.uploadedAt.toISOString()
|
|
42
|
+
};
|
|
43
|
+
if (object.contentType) serialized.contentType = object.contentType;
|
|
44
|
+
if (object.httpEtag) serialized.httpEtag = object.httpEtag;
|
|
45
|
+
if (object.size !== void 0) serialized.size = object.size;
|
|
46
|
+
if (object.url) serialized.urlAvailable = true;
|
|
47
|
+
return serialized;
|
|
48
|
+
}
|
|
49
|
+
async function consoleBlobHandler(event) {
|
|
50
|
+
assertConsoleRequest(event);
|
|
51
|
+
const url = consoleRequestURL(event);
|
|
52
|
+
const inspection = getConsoleBlob();
|
|
53
|
+
const selected = selectStore(inspection.storage, inspection.stores, url.searchParams.get("store"));
|
|
54
|
+
const prefix = optionalParameter(url.searchParams.get("prefix"), "prefix") ?? "";
|
|
55
|
+
const cursor = optionalParameter(url.searchParams.get("cursor"), "cursor");
|
|
56
|
+
const limit = limitParameter(url.searchParams.get("limit"));
|
|
57
|
+
const page = unwrap(await selected.storage.list({
|
|
58
|
+
cursor,
|
|
59
|
+
limit,
|
|
60
|
+
prefix
|
|
61
|
+
}));
|
|
62
|
+
const result = {
|
|
63
|
+
blobs: page.blobs.map(serializeBlob),
|
|
64
|
+
hasMore: page.hasMore,
|
|
65
|
+
limit,
|
|
66
|
+
prefix,
|
|
67
|
+
store: selected.name,
|
|
68
|
+
stores: inspection.stores
|
|
69
|
+
};
|
|
70
|
+
if (page.cursor) result.cursor = page.cursor;
|
|
71
|
+
return result;
|
|
72
|
+
}
|
|
73
|
+
//#endregion
|
|
74
|
+
export { consoleBlobHandler as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { f as resolveConsoleBlob, i as installConsoleBlobScope } from "../../../internal-DzLLx0iR.js";
|
|
2
|
+
import { resolve } from "node:path";
|
|
3
|
+
//#region src/console/runtime/server/blob.ts
|
|
4
|
+
function installConsoleBlob(projectRoot, storage, stores = ["default"]) {
|
|
5
|
+
const installedStores = [...new Set(stores.filter((store) => store.length > 0))].filter((store) => store !== "default").sort();
|
|
6
|
+
installedStores.unshift("default");
|
|
7
|
+
return installConsoleBlobScope(resolve(projectRoot), {
|
|
8
|
+
storage,
|
|
9
|
+
stores: installedStores
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
function getConsoleBlob() {
|
|
13
|
+
const inspection = resolveConsoleBlob();
|
|
14
|
+
if (!inspection) throw new TypeError("[vitehub] Blob inspection has not been installed for this runtime.");
|
|
15
|
+
return inspection;
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
export { getConsoleBlob, installConsoleBlob };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { t as ConsoleRequestEvent } from "../../../request-NErg_P5m.js";
|
|
2
|
+
|
|
3
|
+
//#region src/console/runtime/server/database.get.d.ts
|
|
4
|
+
interface ConsoleDatabaseCell {
|
|
5
|
+
kind: "bigint" | "boolean" | "bytes" | "date" | "json" | "null" | "number" | "text";
|
|
6
|
+
truncated?: true;
|
|
7
|
+
value: string;
|
|
8
|
+
}
|
|
9
|
+
interface ConsoleDatabaseColumn {
|
|
10
|
+
foreignKey?: {
|
|
11
|
+
column: string;
|
|
12
|
+
table: string;
|
|
13
|
+
};
|
|
14
|
+
key: string;
|
|
15
|
+
name: string;
|
|
16
|
+
nullable: boolean;
|
|
17
|
+
primary: boolean;
|
|
18
|
+
type: string;
|
|
19
|
+
unique: boolean;
|
|
20
|
+
}
|
|
21
|
+
interface ConsoleDatabaseTable {
|
|
22
|
+
columns: ConsoleDatabaseColumn[];
|
|
23
|
+
name: string;
|
|
24
|
+
}
|
|
25
|
+
interface ConsoleDatabaseRelationship {
|
|
26
|
+
from: {
|
|
27
|
+
column: string;
|
|
28
|
+
table: string;
|
|
29
|
+
};
|
|
30
|
+
to: {
|
|
31
|
+
column: string;
|
|
32
|
+
table: string;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
interface ConsoleDatabaseResponse {
|
|
36
|
+
database: string;
|
|
37
|
+
databases: string[];
|
|
38
|
+
direction: "asc" | "desc";
|
|
39
|
+
limit: number;
|
|
40
|
+
offset: number;
|
|
41
|
+
relationships: ConsoleDatabaseRelationship[];
|
|
42
|
+
rows: Array<Record<string, ConsoleDatabaseCell>>;
|
|
43
|
+
search: string;
|
|
44
|
+
sort?: string;
|
|
45
|
+
table?: string;
|
|
46
|
+
tables: ConsoleDatabaseTable[];
|
|
47
|
+
total: number;
|
|
48
|
+
}
|
|
49
|
+
declare function consoleDatabaseHandler(event: ConsoleRequestEvent): Promise<ConsoleDatabaseResponse>;
|
|
50
|
+
//#endregion
|
|
51
|
+
export { ConsoleDatabaseResponse, consoleDatabaseHandler as default };
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { getConsoleDatabase } from "./database.js";
|
|
2
|
+
import { r as consoleRequestURL, t as assertConsoleRequest } from "../../../request-DxBwxGnk.js";
|
|
3
|
+
import { SQLiteTable, getTableConfig } from "drizzle-orm/sqlite-core";
|
|
4
|
+
import { asc, count, desc, getTableColumns, is, or, sql } from "drizzle-orm";
|
|
5
|
+
//#region src/console/runtime/server/database.get.ts
|
|
6
|
+
const defaultLimit = 50;
|
|
7
|
+
const maximumLimit = 100;
|
|
8
|
+
const maximumSearchLength = 512;
|
|
9
|
+
const maximumCellLength = 32 * 1024;
|
|
10
|
+
const maximumBlobBytes = 8 * 1024;
|
|
11
|
+
function requestError(statusCode, statusMessage) {
|
|
12
|
+
return Object.assign(new Error(statusMessage), {
|
|
13
|
+
statusCode,
|
|
14
|
+
statusMessage
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
function integerParameter(value, name, fallback, maximum) {
|
|
18
|
+
if (value === null || value === "") return fallback;
|
|
19
|
+
const parsed = Number(value);
|
|
20
|
+
if (!Number.isSafeInteger(parsed) || parsed < 0 || parsed > maximum) throw requestError(400, `${name} must be an integer from 0 to ${maximum}.`);
|
|
21
|
+
return parsed;
|
|
22
|
+
}
|
|
23
|
+
function truncate(value) {
|
|
24
|
+
return value.length > maximumCellLength ? {
|
|
25
|
+
truncated: true,
|
|
26
|
+
value: value.slice(0, maximumCellLength)
|
|
27
|
+
} : { value };
|
|
28
|
+
}
|
|
29
|
+
function cell(value) {
|
|
30
|
+
if (value === null || typeof value === "undefined") return {
|
|
31
|
+
kind: "null",
|
|
32
|
+
value: "NULL"
|
|
33
|
+
};
|
|
34
|
+
if (typeof value === "string") return {
|
|
35
|
+
kind: "text",
|
|
36
|
+
...truncate(value)
|
|
37
|
+
};
|
|
38
|
+
if (typeof value === "number") return {
|
|
39
|
+
kind: "number",
|
|
40
|
+
value: String(value)
|
|
41
|
+
};
|
|
42
|
+
if (typeof value === "boolean") return {
|
|
43
|
+
kind: "boolean",
|
|
44
|
+
value: value ? "true" : "false"
|
|
45
|
+
};
|
|
46
|
+
if (typeof value === "bigint") return {
|
|
47
|
+
kind: "bigint",
|
|
48
|
+
value: String(value)
|
|
49
|
+
};
|
|
50
|
+
if (value instanceof Date) return {
|
|
51
|
+
kind: "date",
|
|
52
|
+
value: value.toISOString()
|
|
53
|
+
};
|
|
54
|
+
if (value instanceof Uint8Array) {
|
|
55
|
+
const bytes = value.subarray(0, maximumBlobBytes);
|
|
56
|
+
return {
|
|
57
|
+
kind: "bytes",
|
|
58
|
+
...value.byteLength > maximumBlobBytes ? { truncated: true } : {},
|
|
59
|
+
value: Array.from(bytes, (byte) => byte.toString(16).padStart(2, "0")).join("")
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
try {
|
|
63
|
+
const rendered = JSON.stringify(value);
|
|
64
|
+
return typeof rendered === "string" ? {
|
|
65
|
+
kind: "json",
|
|
66
|
+
...truncate(rendered)
|
|
67
|
+
} : {
|
|
68
|
+
kind: "text",
|
|
69
|
+
...truncate(String(value))
|
|
70
|
+
};
|
|
71
|
+
} catch {
|
|
72
|
+
return {
|
|
73
|
+
kind: "text",
|
|
74
|
+
...truncate(String(value))
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
function databaseTables(schema) {
|
|
79
|
+
return Object.values(schema).filter((value) => is(value, SQLiteTable)).map((table) => {
|
|
80
|
+
const config = getTableConfig(table);
|
|
81
|
+
return {
|
|
82
|
+
columns: Object.entries(getTableColumns(table)),
|
|
83
|
+
name: config.name,
|
|
84
|
+
table
|
|
85
|
+
};
|
|
86
|
+
}).sort((left, right) => left.name.localeCompare(right.name));
|
|
87
|
+
}
|
|
88
|
+
function tableMetadata(entries) {
|
|
89
|
+
const tableNames = new Map(entries.map((entry) => [entry.table, entry.name]));
|
|
90
|
+
const relationships = [];
|
|
91
|
+
return {
|
|
92
|
+
relationships,
|
|
93
|
+
tables: entries.map((entry) => {
|
|
94
|
+
const config = getTableConfig(entry.table);
|
|
95
|
+
const columnKeys = new Map(entry.columns.map(([key, column]) => [column, key]));
|
|
96
|
+
const primary = new Set([...config.columns.filter((column) => column.primary), ...config.primaryKeys.flatMap((key) => key.columns)]);
|
|
97
|
+
const unique = new Set([...config.columns.filter((column) => column.isUnique), ...config.uniqueConstraints.flatMap((constraint) => constraint.columns)]);
|
|
98
|
+
const foreignKeys = /* @__PURE__ */ new Map();
|
|
99
|
+
for (const foreignKey of config.foreignKeys) {
|
|
100
|
+
const reference = foreignKey.reference();
|
|
101
|
+
const foreignTable = tableNames.get(reference.foreignTable);
|
|
102
|
+
if (!foreignTable) continue;
|
|
103
|
+
for (const [index, column] of reference.columns.entries()) {
|
|
104
|
+
const foreignColumn = reference.foreignColumns[index];
|
|
105
|
+
if (!foreignColumn) continue;
|
|
106
|
+
const target = {
|
|
107
|
+
column: foreignColumn.name,
|
|
108
|
+
table: foreignTable
|
|
109
|
+
};
|
|
110
|
+
foreignKeys.set(column, target);
|
|
111
|
+
relationships.push({
|
|
112
|
+
from: {
|
|
113
|
+
column: column.name,
|
|
114
|
+
table: entry.name
|
|
115
|
+
},
|
|
116
|
+
to: target
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
return {
|
|
121
|
+
columns: config.columns.flatMap((column) => {
|
|
122
|
+
const key = columnKeys.get(column);
|
|
123
|
+
return key ? [{
|
|
124
|
+
...foreignKeys.has(column) ? { foreignKey: foreignKeys.get(column) } : {},
|
|
125
|
+
key,
|
|
126
|
+
name: column.name,
|
|
127
|
+
nullable: !column.notNull,
|
|
128
|
+
primary: primary.has(column),
|
|
129
|
+
type: column.getSQLType(),
|
|
130
|
+
unique: unique.has(column)
|
|
131
|
+
}] : [];
|
|
132
|
+
}),
|
|
133
|
+
name: entry.name
|
|
134
|
+
};
|
|
135
|
+
})
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
async function consoleDatabaseHandler(event) {
|
|
139
|
+
assertConsoleRequest(event, ["GET"]);
|
|
140
|
+
const url = consoleRequestURL(event);
|
|
141
|
+
const inspection = getConsoleDatabase();
|
|
142
|
+
if (!inspection.names.length) throw requestError(404, "No Database Definitions are configured.");
|
|
143
|
+
const requestedDatabase = url.searchParams.get("database") || inspection.names[0];
|
|
144
|
+
if (!inspection.names.includes(requestedDatabase)) throw requestError(404, "Database not found.");
|
|
145
|
+
const database = inspection.databases[requestedDatabase];
|
|
146
|
+
if (!database) throw requestError(404, "Database not found.");
|
|
147
|
+
const entries = databaseTables(database.schema);
|
|
148
|
+
const metadata = tableMetadata(entries);
|
|
149
|
+
const requestedTable = url.searchParams.get("table") || void 0;
|
|
150
|
+
const entry = requestedTable ? entries.find((candidate) => candidate.name === requestedTable) : void 0;
|
|
151
|
+
const limit = integerParameter(url.searchParams.get("limit"), "limit", defaultLimit, maximumLimit);
|
|
152
|
+
if (limit < 1) throw requestError(400, `limit must be an integer from 1 to ${maximumLimit}.`);
|
|
153
|
+
const offset = integerParameter(url.searchParams.get("offset"), "offset", 0, Number.MAX_SAFE_INTEGER);
|
|
154
|
+
const search = (url.searchParams.get("search") || "").trim();
|
|
155
|
+
if (search.length > maximumSearchLength) throw requestError(400, "search is too long.");
|
|
156
|
+
const direction = url.searchParams.get("direction") === "desc" ? "desc" : "asc";
|
|
157
|
+
const requestedSort = url.searchParams.get("sort") || void 0;
|
|
158
|
+
const sort = requestedSort && entry?.columns.some(([key]) => key === requestedSort) ? requestedSort : void 0;
|
|
159
|
+
if (requestedSort && !sort) throw requestError(400, "sort must name a column in the selected table.");
|
|
160
|
+
let rows = [];
|
|
161
|
+
let total = 0;
|
|
162
|
+
if (entry) {
|
|
163
|
+
const conditions = search ? or(...entry.columns.map(([, column]) => sql`instr(lower(cast(${column} as text)), lower(${search})) > 0`)) : void 0;
|
|
164
|
+
const orderColumn = entry.columns.find(([key]) => key === sort)?.[1] ?? entry.columns.find(([, column]) => column.primary)?.[1] ?? entry.columns[0]?.[1];
|
|
165
|
+
let rowsQuery = database.db.select().from(entry.table).$dynamic();
|
|
166
|
+
let countQuery = database.db.select({ value: count() }).from(entry.table).$dynamic();
|
|
167
|
+
if (conditions) {
|
|
168
|
+
rowsQuery = rowsQuery.where(conditions);
|
|
169
|
+
countQuery = countQuery.where(conditions);
|
|
170
|
+
}
|
|
171
|
+
if (orderColumn) rowsQuery = rowsQuery.orderBy(direction === "desc" ? desc(orderColumn) : asc(orderColumn));
|
|
172
|
+
const [selectedRows, totals] = await Promise.all([rowsQuery.limit(limit).offset(offset), countQuery]);
|
|
173
|
+
rows = selectedRows;
|
|
174
|
+
total = totals[0]?.value ?? 0;
|
|
175
|
+
}
|
|
176
|
+
return {
|
|
177
|
+
database: requestedDatabase,
|
|
178
|
+
databases: [...inspection.names],
|
|
179
|
+
direction,
|
|
180
|
+
limit,
|
|
181
|
+
offset,
|
|
182
|
+
relationships: metadata.relationships,
|
|
183
|
+
rows: rows.map((row) => Object.fromEntries(Object.entries(row).map(([key, value]) => [key, cell(value)]))),
|
|
184
|
+
search,
|
|
185
|
+
...sort ? { sort } : {},
|
|
186
|
+
...entry ? { table: entry.name } : {},
|
|
187
|
+
tables: metadata.tables,
|
|
188
|
+
total
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
//#endregion
|
|
192
|
+
export { consoleDatabaseHandler as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { a as installConsoleDatabaseScope, p as resolveConsoleDatabase } from "../../../internal-DzLLx0iR.js";
|
|
2
|
+
import { resolve } from "node:path";
|
|
3
|
+
//#region src/console/runtime/server/database.ts
|
|
4
|
+
function installConsoleDatabase(projectRoot, databases, names) {
|
|
5
|
+
const installedNames = [...new Set(names.filter((name) => name.length > 0))].filter((name) => Object.hasOwn(databases, name)).sort((left, right) => left === "default" ? -1 : right === "default" ? 1 : left.localeCompare(right));
|
|
6
|
+
return installConsoleDatabaseScope(resolve(projectRoot), {
|
|
7
|
+
databases,
|
|
8
|
+
names: installedNames
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
function getConsoleDatabase() {
|
|
12
|
+
const inspection = resolveConsoleDatabase();
|
|
13
|
+
if (!inspection) throw new TypeError("[vitehub] Database inspection has not been installed for this runtime.");
|
|
14
|
+
return inspection;
|
|
15
|
+
}
|
|
16
|
+
//#endregion
|
|
17
|
+
export { getConsoleDatabase, installConsoleDatabase };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { i as ConsoleDefinitionSummary, r as ConsoleDefinitionSectionId } from "../../../definitions-CfSmoS5G.js";
|
|
2
|
+
import { t as ConsoleRequestEvent } from "../../../request-NErg_P5m.js";
|
|
3
|
+
|
|
4
|
+
//#region src/console/runtime/server/definitions.get.d.ts
|
|
5
|
+
declare function consoleDefinitionsHandler(event: ConsoleRequestEvent): {
|
|
6
|
+
definitions: readonly ConsoleDefinitionSummary[];
|
|
7
|
+
section: ConsoleDefinitionSectionId;
|
|
8
|
+
};
|
|
9
|
+
//#endregion
|
|
10
|
+
export { consoleDefinitionsHandler as default };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { isConsoleDefinitionSectionId } from "../definitions.js";
|
|
2
|
+
import { getConsoleDefinitions } from "./definitions.js";
|
|
3
|
+
import { r as consoleRequestURL, t as assertConsoleRequest } from "../../../request-DxBwxGnk.js";
|
|
4
|
+
//#region src/console/runtime/server/definitions.get.ts
|
|
5
|
+
function requestError(statusCode, statusMessage) {
|
|
6
|
+
return Object.assign(new Error(statusMessage), {
|
|
7
|
+
statusCode,
|
|
8
|
+
statusMessage
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
function consoleDefinitionsHandler(event) {
|
|
12
|
+
assertConsoleRequest(event);
|
|
13
|
+
const section = consoleRequestURL(event).searchParams.get("section");
|
|
14
|
+
if (!isConsoleDefinitionSectionId(section)) throw requestError(400, "A valid definition section is required.");
|
|
15
|
+
const definitions = getConsoleDefinitions()[section];
|
|
16
|
+
if (!definitions) throw requestError(404, "Definition section not found.");
|
|
17
|
+
return {
|
|
18
|
+
definitions,
|
|
19
|
+
section
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
export { consoleDefinitionsHandler as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { m as resolveConsoleDefinitions, o as installConsoleDefinitionScope } from "../../../internal-DzLLx0iR.js";
|
|
2
|
+
import { consoleDefinitionSectionIds } from "../definitions.js";
|
|
3
|
+
import { resolve } from "node:path";
|
|
4
|
+
//#region src/console/runtime/server/definitions.ts
|
|
5
|
+
function installConsoleDefinitions(projectRoot, catalog) {
|
|
6
|
+
const installed = {};
|
|
7
|
+
for (const section of consoleDefinitionSectionIds) {
|
|
8
|
+
const definitions = catalog[section];
|
|
9
|
+
if (definitions) installed[section] = definitions.map((definition) => ({
|
|
10
|
+
...definition,
|
|
11
|
+
fields: definition.fields.map((field) => ({ ...field }))
|
|
12
|
+
}));
|
|
13
|
+
}
|
|
14
|
+
return installConsoleDefinitionScope(resolve(projectRoot), installed);
|
|
15
|
+
}
|
|
16
|
+
function getConsoleDefinitions() {
|
|
17
|
+
const catalog = resolveConsoleDefinitions();
|
|
18
|
+
if (!catalog) throw new TypeError("[vitehub] Definition inspection has not been installed for this runtime.");
|
|
19
|
+
return catalog;
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
export { getConsoleDefinitions, installConsoleDefinitions };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DevframeDefinition } from "devframe";
|
|
2
|
+
import { EventHandler } from "h3";
|
|
3
|
+
|
|
4
|
+
//#region src/console/runtime/server/devframe.d.ts
|
|
5
|
+
interface DevframeH3Handler extends EventHandler {
|
|
6
|
+
close: () => Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
declare const consoleDevframeBase = "/_vitehub/rpc/";
|
|
9
|
+
declare const consoleDevframe: DevframeDefinition;
|
|
10
|
+
declare function createConsoleDevframeHandler(): DevframeH3Handler;
|
|
11
|
+
declare const consoleDevframeHandler: DevframeH3Handler;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { consoleDevframe, consoleDevframeBase, createConsoleDevframeHandler, consoleDevframeHandler as default };
|