vite-hub 0.0.4 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +130 -3
- package/dist/_internal/agent/invocations.d.ts +2 -0
- package/dist/_internal/agent/invocations.js +88 -0
- package/dist/_internal/agent/operations.d.ts +1 -0
- package/dist/_internal/agent/operations.js +2 -0
- package/dist/_internal/agent/runtime/invocations-dev.d.ts +1 -0
- package/dist/_internal/agent/runtime/invocations-dev.js +2 -0
- package/dist/_internal/agent/runtime/process.d.ts +1 -0
- package/dist/_internal/agent/runtime/process.js +2 -0
- package/dist/_internal/agent/server/registry.d.ts +1 -0
- package/dist/_internal/agent/server/registry.js +2 -0
- package/dist/_internal/auth/runtime/console.d.ts +1 -0
- package/dist/_internal/auth/runtime/console.js +2 -0
- package/dist/_internal/blob/operations.d.ts +1 -0
- package/dist/_internal/blob/operations.js +2 -0
- package/dist/_internal/comments/operations.d.ts +1 -0
- package/dist/_internal/comments/operations.js +2 -0
- package/dist/_internal/comments/runtime/console.d.ts +1 -0
- package/dist/_internal/comments/runtime/console.js +2 -0
- package/dist/_internal/content/operations.d.ts +1 -0
- package/dist/_internal/content/operations.js +2 -0
- package/dist/_internal/content/runtime/console.d.ts +1 -0
- package/dist/_internal/content/runtime/console.js +2 -0
- package/dist/_internal/database/runtime/state.d.ts +4 -3
- package/dist/_internal/database/runtime/state.js +4 -2
- package/dist/_internal/email/operations.d.ts +1 -0
- package/dist/_internal/email/operations.js +2 -0
- package/dist/_internal/email/runtime/console.d.ts +1 -0
- package/dist/_internal/email/runtime/console.js +2 -0
- package/dist/_internal/kv/operations.d.ts +1 -0
- package/dist/_internal/kv/operations.js +2 -0
- package/dist/_internal/kv/runtime/disabled-upstash.d.ts +2 -3
- package/dist/_internal/kv/runtime/disabled-upstash.js +2 -1
- package/dist/_internal/queue/operations.d.ts +1 -0
- package/dist/_internal/queue/operations.js +2 -0
- package/dist/_internal/rate-limit/operations.d.ts +1 -0
- package/dist/_internal/rate-limit/operations.js +2 -0
- package/dist/_internal/sandbox/task/runtime/state.d.ts +1 -0
- package/dist/_internal/sandbox/task/runtime/state.js +2 -0
- package/dist/_internal/schedule/operations.d.ts +1 -0
- package/dist/_internal/schedule/operations.js +2 -0
- package/dist/_internal/schedule/runtime/kv.d.ts +1 -0
- package/dist/_internal/schedule/runtime/kv.js +2 -0
- package/dist/_internal/task/operations.d.ts +5 -0
- package/dist/_internal/task/operations.js +2 -0
- package/dist/_internal/workflow/operations.d.ts +1 -0
- package/dist/_internal/workflow/operations.js +2 -0
- package/dist/_internal/workspace/operations.d.ts +1 -0
- package/dist/_internal/workspace/operations.js +2 -0
- package/dist/access-BhTe9yuV.js +516 -0
- package/dist/access-CBqnsYdj.d.ts +130 -0
- package/dist/agent/capabilities.d.ts +12 -8
- package/dist/agent/capabilities.js +50 -1
- package/dist/agent/invocations/d1.d.ts +1 -0
- package/dist/agent/invocations/d1.js +2 -0
- package/dist/agent/invocations/database.d.ts +2 -0
- package/dist/agent/invocations/database.js +91 -0
- package/dist/agent/observability.d.ts +1 -0
- package/dist/agent/observability.js +2 -0
- package/dist/agent/process-host.d.ts +1 -0
- package/dist/agent/process-host.js +2 -0
- package/dist/agent/server/github.d.ts +1 -0
- package/dist/agent/server/github.js +2 -0
- package/dist/agent/vite.d.ts +1 -0
- package/dist/agent/vite.js +2 -0
- package/dist/agent-invocations.post-CFKMEy-h.js +432 -0
- package/dist/agent.d.ts +8 -3
- package/dist/agent.js +25 -7
- package/dist/agents-BNmuN4Qa.d.ts +99 -0
- package/dist/agents-CVehuMFA.js +118 -0
- package/dist/auth/console-runtime.d.ts +1 -0
- package/dist/auth/console-runtime.js +2 -0
- package/dist/auth/console.d.ts +1 -0
- package/dist/auth/console.js +2 -0
- package/dist/auth/presets.d.ts +1 -0
- package/dist/auth/presets.js +2 -0
- package/dist/auth-BSSM-qh0.js +700 -0
- package/dist/auth-CG8tmgH7.d.ts +106 -0
- package/dist/auth-cloudflare-access-CE8xUzhY.d.ts +50 -0
- package/dist/auth-inline-config--vlclzm3.js +18 -0
- package/dist/auth-inline-config-R6q_4Iwo.d.ts +30 -0
- package/dist/auth-path-B7Ssonj-.js +49 -0
- package/dist/bin.d.ts +1 -1
- package/dist/bin.js +300 -10
- package/dist/blob/client.d.ts +1 -0
- package/dist/blob/client.js +2 -0
- package/dist/blob/media.d.ts +1 -0
- package/dist/blob/media.js +2 -0
- package/dist/blob/vue.d.ts +1 -0
- package/dist/blob/vue.js +2 -0
- package/dist/blob-D9v5Djxw.d.ts +7 -0
- package/dist/cloudflare-env-CIZCKabz.js +70 -0
- package/dist/comments/anchor.d.ts +1 -0
- package/dist/comments/anchor.js +2 -0
- package/dist/comments/client.d.ts +1 -0
- package/dist/comments/client.js +2 -0
- package/dist/comments/database/postgres.d.ts +1 -0
- package/dist/comments/database/postgres.js +2 -0
- package/dist/comments/database.d.ts +1 -0
- package/dist/comments/database.js +2 -0
- package/dist/comments/realtime.d.ts +1 -0
- package/dist/comments/realtime.js +2 -0
- package/dist/comments/rpc.d.ts +1 -0
- package/dist/comments/rpc.js +2 -0
- package/dist/comments/runtime/auth.d.ts +1 -0
- package/dist/comments/runtime/auth.js +2 -0
- package/dist/comments/runtime.d.ts +1 -0
- package/dist/comments/runtime.js +2 -0
- package/dist/comments/server.d.ts +1 -0
- package/dist/comments/server.js +2 -0
- package/dist/comments-overlay/loader.BcGn0Hsk.js +1 -0
- package/dist/comments-overlay/overlay.D7vmaSrE.js +2 -0
- package/dist/comments.d.ts +1 -0
- package/dist/comments.js +2 -0
- package/dist/connections/agent.d.ts +1 -0
- package/dist/connections/agent.js +2 -0
- package/dist/connections/chatgpt.d.ts +1 -0
- package/dist/connections/chatgpt.js +2 -0
- package/dist/connections/google.d.ts +1 -0
- package/dist/connections/google.js +2 -0
- package/dist/connections/http.d.ts +1 -0
- package/dist/connections/http.js +2 -0
- package/dist/connections/server.d.ts +1 -0
- package/dist/connections/server.js +2 -0
- package/dist/connections.d.ts +1 -0
- package/dist/connections.js +2 -0
- package/dist/console/auth-client.d.ts +8 -0
- package/dist/console/auth-client.js +6 -0
- package/dist/console/auth-cloudflare-access.d.ts +2 -0
- package/dist/console/auth-cloudflare-access.js +116 -0
- package/dist/console/auth-inline.d.ts +6 -0
- package/dist/console/auth-inline.js +107 -0
- package/dist/console/auth.d.ts +2 -0
- package/dist/console/auth.js +2 -0
- package/dist/console/runtime/client/appearance.d.ts +62 -0
- package/dist/console/runtime/client/appearance.js +87 -0
- package/dist/console/runtime/client/auth-management.ts +81 -0
- package/dist/console/runtime/client/blob-media.d.ts +46 -0
- package/dist/console/runtime/client/blob-media.js +257 -0
- package/dist/console/runtime/client/build.d.ts +14 -0
- package/dist/console/runtime/client/build.js +68 -0
- package/dist/console/runtime/client/connections-management.d.ts +68 -0
- package/dist/console/runtime/client/connections-management.js +201 -0
- package/dist/console/runtime/client/documents.d.ts +430 -0
- package/dist/console/runtime/client/documents.js +501 -0
- package/dist/console/runtime/client/editor.d.ts +82 -0
- package/dist/console/runtime/client/editor.js +248 -0
- package/dist/console/runtime/client/env-groups.d.ts +28 -0
- package/dist/console/runtime/client/env-groups.js +39 -0
- package/dist/console/runtime/client/env-management.d.ts +20 -0
- package/dist/console/runtime/client/env-management.js +84 -0
- package/dist/console/runtime/client/env-status.d.ts +6 -0
- package/dist/console/runtime/client/env-status.js +10 -0
- package/dist/console/runtime/client/format.d.ts +32 -0
- package/dist/console/runtime/client/format.js +109 -0
- package/dist/console/runtime/client/invocation-deletion.d.ts +17 -0
- package/dist/console/runtime/client/invocation-deletion.js +25 -0
- package/dist/console/runtime/client/invocation.d.ts +28 -0
- package/dist/console/runtime/client/invocation.js +81 -0
- package/dist/console/runtime/client/live.d.ts +69 -0
- package/dist/console/runtime/client/live.js +165 -0
- package/dist/console/runtime/client/mcp.d.ts +9 -0
- package/dist/console/runtime/client/mcp.js +14 -0
- package/dist/console/runtime/client/media-library.d.ts +207 -0
- package/dist/console/runtime/client/media-library.js +243 -0
- package/dist/console/runtime/client/media-uploads.d.ts +33 -0
- package/dist/console/runtime/client/media-uploads.js +97 -0
- package/dist/console/runtime/client/media.d.ts +73 -0
- package/dist/console/runtime/client/media.js +13 -0
- package/dist/console/runtime/client/operation-view.d.ts +17 -0
- package/dist/console/runtime/client/operation-view.js +85 -0
- package/dist/console/runtime/client/presence.d.ts +102 -0
- package/dist/console/runtime/client/presence.js +269 -0
- package/dist/console/runtime/client/preview.d.ts +78 -0
- package/dist/console/runtime/client/preview.js +115 -0
- package/dist/console/runtime/client/problem.d.ts +19 -0
- package/dist/console/runtime/client/problem.js +59 -0
- package/dist/console/runtime/client/publish.d.ts +12 -0
- package/dist/console/runtime/client/publish.js +18 -0
- package/dist/console/runtime/client/rate-limit.d.ts +36 -0
- package/dist/console/runtime/client/rate-limit.js +96 -0
- package/dist/console/runtime/client/read-only.d.ts +9 -0
- package/dist/console/runtime/client/read-only.js +12 -0
- package/dist/console/runtime/client/request.d.ts +61 -8
- package/dist/console/runtime/client/request.js +394 -56
- package/dist/console/runtime/client/schedule-run.d.ts +13 -0
- package/dist/console/runtime/client/schedule-run.js +47 -0
- package/dist/console/runtime/client/schema-form.d.ts +2 -0
- package/dist/console/runtime/client/schema-form.js +296 -0
- package/dist/console/runtime/client/sections.d.ts +22 -8
- package/dist/console/runtime/client/sections.js +47 -4
- package/dist/console/runtime/client/sign-in.d.ts +21 -0
- package/dist/console/runtime/client/sign-in.js +16 -0
- package/dist/console/runtime/client/time.d.ts +29 -3
- package/dist/console/runtime/client/time.js +99 -1
- package/dist/console/runtime/client/toast.d.ts +39 -0
- package/dist/console/runtime/client/toast.js +35 -0
- package/dist/console/runtime/client/workflow.d.ts +20 -0
- package/dist/console/runtime/client/workflow.js +79 -0
- package/dist/console/runtime/components/console-agent-list.ts +61 -0
- package/dist/console/runtime/components/console-app.vue +768 -463
- package/dist/console/runtime/components/console-auth-action.vue +239 -0
- package/dist/console/runtime/components/console-auth-activity.vue +166 -0
- package/dist/console/runtime/components/console-auth-chart.vue +102 -0
- package/dist/console/runtime/components/console-auth-detail.vue +406 -0
- package/dist/console/runtime/components/console-auth-event-list.vue +79 -0
- package/dist/console/runtime/components/console-auth-event-setup.vue +39 -0
- package/dist/console/runtime/components/console-auth-overview.vue +107 -0
- package/dist/console/runtime/components/console-auth-user-events.vue +65 -0
- package/dist/console/runtime/components/console-auth.vue +649 -0
- package/dist/console/runtime/components/console-blob-detail.vue +93 -0
- package/dist/console/runtime/components/console-blob.vue +106 -301
- package/dist/console/runtime/components/console-comark-component.vue +108 -0
- package/dist/console/runtime/components/console-connect-agent.vue +59 -0
- package/dist/console/runtime/components/console-connection-state.vue +43 -0
- package/dist/console/runtime/components/console-connection.ts +18 -0
- package/dist/console/runtime/components/console-connections-activity.vue +76 -0
- package/dist/console/runtime/components/console-connections-approvals.vue +169 -0
- package/dist/console/runtime/components/console-connections-details.vue +295 -0
- package/dist/console/runtime/components/console-connections.vue +296 -0
- package/dist/console/runtime/components/console-database-model.ts +51 -6
- package/dist/console/runtime/components/console-database.vue +268 -335
- package/dist/console/runtime/components/console-definitions.vue +371 -305
- package/dist/console/runtime/components/console-document-dashboard.vue +492 -0
- package/dist/console/runtime/components/console-document-diff.vue +43 -0
- package/dist/console/runtime/components/console-document-editor.vue +2605 -0
- package/dist/console/runtime/components/console-document-history.vue +118 -0
- package/dist/console/runtime/components/console-document-list.vue +577 -0
- package/dist/console/runtime/components/console-document-preview.vue +422 -0
- package/dist/console/runtime/components/console-document-settings.vue +108 -0
- package/dist/console/runtime/components/console-documents.vue +480 -0
- package/dist/console/runtime/components/console-env-access.vue +151 -0
- package/dist/console/runtime/components/console-env-activity.vue +89 -0
- package/dist/console/runtime/components/console-env-details.vue +68 -0
- package/dist/console/runtime/components/console-env-managed.vue +203 -0
- package/dist/console/runtime/components/console-env.vue +301 -0
- package/dist/console/runtime/components/console-frame.vue +243 -1
- package/dist/console/runtime/components/console-home.vue +548 -152
- package/dist/console/runtime/components/console-invocation-composer.vue +159 -0
- package/dist/console/runtime/components/console-kv.vue +219 -223
- package/dist/console/runtime/components/console-loading.vue +28 -0
- package/dist/console/runtime/components/console-mark.vue +3 -8
- package/dist/console/runtime/components/console-markdown-editor.vue +705 -0
- package/dist/console/runtime/components/console-media-browser.vue +986 -0
- package/dist/console/runtime/components/console-media-crops.vue +167 -0
- package/dist/console/runtime/components/console-media-detail.vue +282 -0
- package/dist/console/runtime/components/console-media-dialog.vue +74 -0
- package/dist/console/runtime/components/console-media-field.vue +185 -0
- package/dist/console/runtime/components/console-media-focal.vue +137 -0
- package/dist/console/runtime/components/console-media-library.vue +125 -0
- package/dist/console/runtime/components/console-media-move.vue +160 -0
- package/dist/console/runtime/components/console-media-picker.vue +167 -0
- package/dist/console/runtime/components/console-media-uploads.vue +72 -0
- package/dist/console/runtime/components/console-new-chat.ts +27 -0
- package/dist/console/runtime/components/console-operation-view.vue +114 -0
- package/dist/console/runtime/components/console-page-header.vue +50 -0
- package/dist/console/runtime/components/console-page-toolbar.vue +28 -0
- package/dist/console/runtime/components/console-presence-avatars.vue +73 -0
- package/dist/console/runtime/components/console-property-list.vue +36 -0
- package/dist/console/runtime/components/console-property-row.vue +58 -0
- package/dist/console/runtime/components/console-rail.vue +392 -0
- package/dist/console/runtime/components/console-rate-limit.vue +167 -0
- package/dist/console/runtime/components/console-relative-time.vue +74 -0
- package/dist/console/runtime/components/console-schema-field.vue +504 -0
- package/dist/console/runtime/components/console-schema-form.vue +77 -0
- package/dist/console/runtime/components/console-schema-list.vue +158 -0
- package/dist/console/runtime/components/console-search.vue +473 -57
- package/dist/console/runtime/components/console-section-icon.vue +21 -0
- package/dist/console/runtime/components/console-seo-panel.vue +261 -0
- package/dist/console/runtime/components/console-session-actions.vue +160 -0
- package/dist/console/runtime/components/console-session-bootstrap.ts +3 -1
- package/dist/console/runtime/components/console-session-cancel.vue +90 -0
- package/dist/console/runtime/components/console-session-code-language.ts +32 -0
- package/dist/console/runtime/components/console-session-code-preview.vue +57 -39
- package/dist/console/runtime/components/console-session-inspector.vue +221 -184
- package/dist/console/runtime/components/console-session-loading.vue +7 -12
- package/dist/console/runtime/components/console-session-navbar.vue +70 -23
- package/dist/console/runtime/components/console-session-trace.vue +9 -11
- package/dist/console/runtime/components/console-session.css +353 -90
- package/dist/console/runtime/components/console-setup-hint.vue +20 -0
- package/dist/console/runtime/components/console-state.vue +165 -0
- package/dist/console/runtime/components/console-status.vue +25 -0
- package/dist/console/runtime/components/console-toaster.vue +66 -0
- package/dist/console/runtime/components/console-usage-chart.vue +208 -0
- package/dist/console/runtime/components/console-usage-model-detail.vue +144 -0
- package/dist/console/runtime/components/console-usage-model.ts +368 -0
- package/dist/console/runtime/components/console-usage-share-bar.vue +48 -0
- package/dist/console/runtime/components/console-usage.vue +781 -498
- package/dist/console/runtime/components/console-value.vue +35 -0
- package/dist/console/runtime/components/console-workflow-actions.vue +183 -0
- package/dist/console/runtime/components/console-workspace-file.ts +12 -0
- package/dist/console/runtime/components/console-workspace-history.vue +77 -0
- package/dist/console/runtime/components/console-wrap.ts +10 -0
- package/dist/console/runtime/components/invocation/agent-capability-inspector.ts +166 -0
- package/dist/console/runtime/components/invocation/agent-invocation-list.ts +276 -0
- package/dist/console/runtime/components/invocation/agent-invocation-timeline.ts +120 -0
- package/dist/console/runtime/components/invocation/agent-invocation.ts +1968 -0
- package/dist/console/runtime/components/invocation/index.ts +8 -0
- package/dist/console/runtime/components/invocation/internal/brand-icons.ts +65 -0
- package/dist/console/runtime/components/invocation/internal/channel-icon.ts +51 -0
- package/dist/console/runtime/components/invocation/internal/invocation-activity.ts +663 -0
- package/dist/console/runtime/components/invocation/internal/invocation-brand.ts +148 -0
- package/dist/console/runtime/components/invocation/internal/invocation-conversation.ts +162 -0
- package/dist/console/runtime/components/invocation/internal/payload-text.ts +29 -0
- package/dist/console/runtime/components/invocation/internal/runtime-type.ts +61 -0
- package/dist/console/runtime/components/invocation/internal/url.ts +8 -0
- package/dist/console/runtime/components/invocation/invocation-display.ts +56 -0
- package/dist/console/runtime/components/invocation/invocation.css +2748 -0
- package/dist/console/runtime/components/invocation/nuxt/AgentInvocation.ts +1 -0
- package/dist/console/runtime/components/invocation/nuxt/AgentInvocationInspector.ts +1 -0
- package/dist/console/runtime/components/invocation/nuxt/AgentInvocationList.ts +1 -0
- package/dist/console/runtime/components/invocation/types.ts +89 -0
- package/dist/console/runtime/console-route.d.ts +15 -9
- package/dist/console/runtime/console-route.js +36 -24
- package/dist/console/runtime/definitions.d.ts +2 -2
- package/dist/console/runtime/definitions.js +290 -11
- package/dist/console/runtime/page/loader.js +22 -0
- package/dist/console/runtime/public/console/assets/console-app-CUTwptGe.css +1 -0
- package/dist/console/runtime/public/console/assets/console-auth-B_XoOPaB.css +1 -0
- package/dist/console/runtime/public/console/assets/console-database-BbZ7J_Mh.css +1 -0
- package/dist/console/runtime/public/console/assets/console-documents-BV1adqXa.css +1 -0
- package/dist/console/runtime/public/console/assets/console-home-DYNL7OZH.css +1 -0
- package/dist/console/runtime/public/console/assets/console-logs-BJxR8DcR.css +1 -0
- package/dist/console/runtime/public/console/assets/console-media-browser-Dqm8kLKS.css +1 -0
- package/dist/console/runtime/public/console/assets/console-search-DnK-eWOO.css +1 -0
- package/dist/console/runtime/public/console/assets/katex-BztabbvB.css +1 -0
- package/dist/console/runtime/public/console/chunks/Alert-A44KLyli.js +111 -0
- package/dist/console/runtime/public/console/chunks/Button-B-5IVAVN.js +1 -0
- package/dist/console/runtime/public/console/chunks/Checkbox-B6MMrqB7.js +1 -0
- package/dist/console/runtime/public/console/chunks/DashboardSidebar-D1tMg0lD.js +1 -0
- package/dist/console/runtime/public/console/chunks/Empty-DSuwpzRi.js +1 -0
- package/dist/console/runtime/public/console/chunks/FormField-C1QuQLPv.js +1 -0
- package/dist/console/runtime/public/console/chunks/Icon-DDNuGxPl.js +1 -0
- package/dist/console/runtime/public/console/chunks/Modal-BCfHPiul.js +1 -0
- package/dist/console/runtime/public/console/chunks/Popover-BIzgqwDJ.js +1 -0
- package/dist/console/runtime/public/console/chunks/RovingFocusItem-BQiInss6.js +1 -0
- package/dist/console/runtime/public/console/chunks/Select-CLtjSqJ4.js +1 -0
- package/dist/console/runtime/public/console/chunks/Slideover-CHzYTMLO.js +1 -0
- package/dist/console/runtime/public/console/chunks/Switch-0VgVgteh.js +1 -0
- package/dist/console/runtime/public/console/chunks/Table-dr_6Rarq.js +4 -0
- package/dist/console/runtime/public/console/chunks/Tabs-BbKlHRNF.js +1 -0
- package/dist/console/runtime/public/console/chunks/Textarea-DEoHK30I.js +1 -0
- package/dist/console/runtime/public/console/chunks/actionscript-3-Cs6JJXT5.js +1 -0
- package/dist/console/runtime/public/console/chunks/ada-X3Y2mlq2.js +1 -0
- package/dist/console/runtime/public/console/chunks/ahk-DwADkxyd.js +1 -0
- package/dist/console/runtime/public/console/chunks/ahk2-_6rzW9BS.js +1 -0
- package/dist/console/runtime/public/console/chunks/angular-html-_r0QlJAV.js +1 -0
- package/dist/console/runtime/public/console/chunks/angular-ts-BdSNcv2x.js +1 -0
- package/dist/console/runtime/public/console/chunks/apex-KFGFyKwG.js +1 -0
- package/dist/console/runtime/public/console/chunks/apl-CD0B-dgl.js +1 -0
- package/dist/console/runtime/public/console/chunks/asciidoc-SCjQUq34.js +1 -0
- package/dist/console/runtime/public/console/chunks/astro-BuBCLsVb.js +1 -0
- package/dist/console/runtime/public/console/chunks/bat-qdxAdBWQ.js +1 -0
- package/dist/console/runtime/public/console/chunks/beancount-C2IN4Vk8.js +1 -0
- package/dist/console/runtime/public/console/chunks/bird2-CYIUgYqB.js +1 -0
- package/dist/console/runtime/public/console/chunks/blade-3tdbLOEu.js +1 -0
- package/dist/console/runtime/public/console/chunks/bsl-_VjlB9mv.js +1 -0
- package/dist/console/runtime/public/console/chunks/c-C1MtNG6h.js +1 -0
- package/dist/console/runtime/public/console/chunks/c3-D0apG41V.js +1 -0
- package/dist/console/runtime/public/console/chunks/cairo-DLTphjLi.js +1 -0
- package/dist/console/runtime/public/console/chunks/catppuccin-frappe-C9Q5zVZY.js +1 -0
- package/dist/console/runtime/public/console/chunks/catppuccin-frappe-D20KODDN-C9Q5zVZY.js +1 -0
- package/dist/console/runtime/public/console/chunks/catppuccin-latte-CtsyrtPq.js +1 -0
- package/dist/console/runtime/public/console/chunks/catppuccin-latte-eGLVHIUJ-CtsyrtPq.js +1 -0
- package/dist/console/runtime/public/console/chunks/catppuccin-macchiato-R8nAf1vR.js +1 -0
- package/dist/console/runtime/public/console/chunks/catppuccin-macchiato-bQGch4PY-R8nAf1vR.js +1 -0
- package/dist/console/runtime/public/console/chunks/catppuccin-mocha-Bes8-0Mr-DjuaAJKi.js +1 -0
- package/dist/console/runtime/public/console/chunks/catppuccin-mocha-DjuaAJKi.js +1 -0
- package/dist/console/runtime/public/console/chunks/chapel-BzgYECs1.js +1 -0
- package/dist/console/runtime/public/console/chunks/clarity-CtfBBspg.js +1 -0
- package/dist/console/runtime/public/console/chunks/cobol-DObdkphG.js +1 -0
- package/dist/console/runtime/public/console/chunks/code-view-J4OsgEdh-B89t0LaT.js +2 -0
- package/dist/console/runtime/public/console/chunks/coffee-C94_xO1a.js +1 -0
- package/dist/console/runtime/public/console/chunks/console-app-C50IIheA.js +85 -0
- package/dist/console/runtime/public/console/chunks/console-auth-D4zc7Haw.js +2 -0
- package/dist/console/runtime/public/console/chunks/console-blob-CAJwJy4D.js +1 -0
- package/dist/console/runtime/public/console/chunks/console-channels-DZQwinKY.js +1 -0
- package/dist/console/runtime/public/console/chunks/console-connections-Buk5WGxr.js +6 -0
- package/dist/console/runtime/public/console/chunks/console-database-CKc8H8FN.js +1 -0
- package/dist/console/runtime/public/console/chunks/console-definitions-NriWGCYI.js +1 -0
- package/dist/console/runtime/public/console/chunks/console-documents-BnBRfM_7.js +314 -0
- package/dist/console/runtime/public/console/chunks/console-env-CLmYhbox.js +1 -0
- package/dist/console/runtime/public/console/chunks/console-home-smb5yMSF.js +2 -0
- package/dist/console/runtime/public/console/chunks/console-kv-B1tLQHM9.js +1 -0
- package/dist/console/runtime/public/console/chunks/console-logs-CjxEiek5.js +1 -0
- package/dist/console/runtime/public/console/chunks/console-media-browser-o4BQu9KZ.js +1 -0
- package/dist/console/runtime/public/console/chunks/console-operation-view-CGxpuMSQ.js +1 -0
- package/dist/console/runtime/public/console/chunks/console-page-header-DDAcJBpl.js +1 -0
- package/dist/console/runtime/public/console/chunks/console-page-toolbar-CvYwaKTR.js +1 -0
- package/dist/console/runtime/public/console/chunks/console-property-list-96rL7wos.js +1 -0
- package/dist/console/runtime/public/console/chunks/console-relative-time-RB6-yiul.js +1 -0
- package/dist/console/runtime/public/console/chunks/console-search-D4EVLUeN.js +5 -0
- package/dist/console/runtime/public/console/chunks/console-setup-hint-8TRzgkby.js +1 -0
- package/dist/console/runtime/public/console/chunks/console-status-DH5NgNAQ.js +1 -0
- package/dist/console/runtime/public/console/chunks/coq-CGaSfhwR.js +1 -0
- package/dist/console/runtime/public/console/chunks/core-CD3So4L1.js +12 -0
- package/dist/console/runtime/public/console/chunks/cpp-DMjdIJj9.js +1 -0
- package/dist/console/runtime/public/console/chunks/crystal-Czr8rWWf.js +1 -0
- package/dist/console/runtime/public/console/chunks/csharp-dmMxLVLW.js +1 -0
- package/dist/console/runtime/public/console/chunks/css-B6l3ejVl.js +1 -0
- package/dist/console/runtime/public/console/chunks/css-BDmUYLyz.js +1 -0
- package/dist/console/runtime/public/console/chunks/dart-CHZY9Xhz.js +1 -0
- package/dist/console/runtime/public/console/chunks/defu-DSJ9I3OW.js +1 -0
- package/dist/console/runtime/public/console/chunks/dist-Cfws9tG7.js +1 -0
- package/dist/console/runtime/public/console/chunks/docker-sj3NF4m5.js +1 -0
- package/dist/console/runtime/public/console/chunks/dockerfile-C147k2YT.js +1 -0
- package/dist/console/runtime/public/console/chunks/dotenv-CuH5my32.js +1 -0
- package/dist/console/runtime/public/console/chunks/edge-D8F7z1FE.js +1 -0
- package/dist/console/runtime/public/console/chunks/elixir-DH2VBix4.js +1 -0
- package/dist/console/runtime/public/console/chunks/elm-D2qVkg3B.js +1 -0
- package/dist/console/runtime/public/console/chunks/emacs-lisp-DR2vtWaj.js +1 -0
- package/dist/console/runtime/public/console/chunks/engine-compile-DS_05kfr.js +141 -0
- package/dist/console/runtime/public/console/chunks/engine-javascript-Dymre4AG.js +1 -0
- package/dist/console/runtime/public/console/chunks/env-management-CNydNlRX.js +1 -0
- package/dist/console/runtime/public/console/chunks/erb-B_-2w0Bg.js +1 -0
- package/dist/console/runtime/public/console/chunks/erlang-Cphh6RMH.js +1 -0
- package/dist/console/runtime/public/console/chunks/field-a8AvhnKh-Da49LBBi.js +1 -0
- package/dist/console/runtime/public/console/chunks/file-tree-2PXztdQ7.js +1266 -0
- package/dist/console/runtime/public/console/chunks/format-Bm0hCiYP.js +1 -0
- package/dist/console/runtime/public/console/chunks/fortran-fixed-form-DEKoE2YW.js +1 -0
- package/dist/console/runtime/public/console/chunks/fsharp-D13ZGOAj.js +1 -0
- package/dist/console/runtime/public/console/chunks/gdresource-xMC7jr7x.js +1 -0
- package/dist/console/runtime/public/console/chunks/gdscript-DYvRD3hg.js +1 -0
- package/dist/console/runtime/public/console/chunks/git-commit-BSykSTBG.js +1 -0
- package/dist/console/runtime/public/console/chunks/git-rebase-CNMiHM3o.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-dark-default-Dk3Gj2bt.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-light-default-CC-h3suv.js +1 -0
- package/dist/console/runtime/public/console/chunks/glimmer-js-CwoxQgjc.js +1 -0
- package/dist/console/runtime/public/console/chunks/glimmer-ts-DpQshMGP.js +1 -0
- package/dist/console/runtime/public/console/chunks/glsl-vvkIs2ij.js +1 -0
- package/dist/console/runtime/public/console/chunks/gn-CAXYAgV-.js +1 -0
- package/dist/console/runtime/public/console/chunks/graphql-ChhlowTj.js +1 -0
- package/dist/console/runtime/public/console/chunks/hack--5hWxtov.js +1 -0
- package/dist/console/runtime/public/console/chunks/haml-DOOWKVAn.js +1 -0
- package/dist/console/runtime/public/console/chunks/handlebars-CrRNKWA2.js +1 -0
- package/dist/console/runtime/public/console/chunks/haxe-C8oCnwJJ.js +1 -0
- package/dist/console/runtime/public/console/chunks/html-DrTLqG4V.js +1 -0
- package/dist/console/runtime/public/console/chunks/html-DwfkhSwv.js +1 -0
- package/dist/console/runtime/public/console/chunks/html-derivative-JoBPPO4R.js +1 -0
- package/dist/console/runtime/public/console/chunks/http-DKXz4J4h.js +1 -0
- package/dist/console/runtime/public/console/chunks/hurl-m2MDTJJI.js +1 -0
- package/dist/console/runtime/public/console/chunks/hxml-Dcm88srW.js +1 -0
- package/dist/console/runtime/public/console/chunks/icons-CDKEwnTx.js +1 -0
- package/dist/console/runtime/public/console/chunks/java-DJ6V61UG.js +1 -0
- package/dist/console/runtime/public/console/chunks/javascript-DOney_iy.js +1 -0
- package/dist/console/runtime/public/console/chunks/javascript-DhBmaPc1.js +1 -0
- package/dist/console/runtime/public/console/chunks/jinja-CywE_Am-.js +1 -0
- package/dist/console/runtime/public/console/chunks/jison-D8DWHhWo.js +1 -0
- package/dist/console/runtime/public/console/chunks/json-B6nR7qG1.js +1 -0
- package/dist/console/runtime/public/console/chunks/json-D0JmQrvp.js +1 -0
- package/dist/console/runtime/public/console/chunks/jsonc-D4AqO_oZ.js +1 -0
- package/dist/console/runtime/public/console/chunks/jsx-Dro3SMhn.js +1 -0
- package/dist/console/runtime/public/console/chunks/jsx-_Ptt0Qo0.js +1 -0
- package/dist/console/runtime/public/console/chunks/julia-CruTRp58.js +1 -0
- package/dist/console/runtime/public/console/chunks/just-aBPtXuIr.js +1 -0
- package/dist/console/runtime/public/console/chunks/kanagawa-dragon-Bozd7klA.js +1 -0
- package/dist/console/runtime/public/console/chunks/kanagawa-dragon-DgDvwi3B-Bozd7klA.js +1 -0
- package/dist/console/runtime/public/console/chunks/kanagawa-lotus-BgoQro20-BmuOG9ZW.js +1 -0
- package/dist/console/runtime/public/console/chunks/kanagawa-lotus-BmuOG9ZW.js +1 -0
- package/dist/console/runtime/public/console/chunks/kanagawa-wave-BML5mF2J.js +1 -0
- package/dist/console/runtime/public/console/chunks/kanagawa-wave-DgXEowHs-BML5mF2J.js +1 -0
- package/dist/console/runtime/public/console/chunks/katex-CF6MVAvO.js +257 -0
- package/dist/console/runtime/public/console/chunks/latex-DV9xWg1U.js +1 -0
- package/dist/console/runtime/public/console/chunks/liquid-B62JT9qD.js +1 -0
- package/dist/console/runtime/public/console/chunks/llvm-DqHOMS-s.js +1 -0
- package/dist/console/runtime/public/console/chunks/lua-939mH6Rk.js +1 -0
- package/dist/console/runtime/public/console/chunks/luau-VGWVLoqX.js +1 -0
- package/dist/console/runtime/public/console/chunks/make-PPdVpZzp.js +1 -0
- package/dist/console/runtime/public/console/chunks/markdown-BK4fiefF.js +1 -0
- package/dist/console/runtime/public/console/chunks/marko-BjHTe8yB.js +1 -0
- package/dist/console/runtime/public/console/chunks/mdc-Dsg_kn4_.js +1 -0
- package/dist/console/runtime/public/console/chunks/mdx-l4Hs_llf.js +1 -0
- package/dist/console/runtime/public/console/chunks/mermaid-BxpfTIzt.js +1 -0
- package/dist/console/runtime/public/console/chunks/mojo-fg40_ntQ.js +1 -0
- package/dist/console/runtime/public/console/chunks/monokai-BscAjiQZ.js +1 -0
- package/dist/console/runtime/public/console/chunks/monokai-CfFRWUNl-BscAjiQZ.js +1 -0
- package/dist/console/runtime/public/console/chunks/moonbit-D9W784E_.js +1 -0
- package/dist/console/runtime/public/console/chunks/move-BYnGhZoM.js +1 -0
- package/dist/console/runtime/public/console/chunks/nextflow-CSgcYZcx.js +1 -0
- package/dist/console/runtime/public/console/chunks/nextflow-groovy-D7IRt6Pp.js +1 -0
- package/dist/console/runtime/public/console/chunks/nginx-H6FvQZhW.js +1 -0
- package/dist/console/runtime/public/console/chunks/nim-C7z2AtKH.js +1 -0
- package/dist/console/runtime/public/console/chunks/nsis-CjNLYCLg.js +1 -0
- package/dist/console/runtime/public/console/chunks/nushell--0fT3PI1.js +1 -0
- package/dist/console/runtime/public/console/chunks/one-dark-pro-C6YyR8OD.js +1 -0
- package/dist/console/runtime/public/console/chunks/one-dark-pro-zDovGosB-C6YyR8OD.js +1 -0
- package/dist/console/runtime/public/console/chunks/org-DYUOjVHR.js +1 -0
- package/dist/console/runtime/public/console/chunks/patch-diff-CD7Eu2gO.js +1 -0
- package/dist/console/runtime/public/console/chunks/perl-BAFITj1w.js +1 -0
- package/dist/console/runtime/public/console/chunks/php-C1opCiHJ.js +1 -0
- package/dist/console/runtime/public/console/chunks/pierre-code-view-T7V67hwT-XcPks0Ko.js +168 -0
- package/dist/console/runtime/public/console/chunks/powershell-QtSnmXcu.js +1 -0
- package/dist/console/runtime/public/console/chunks/preload-helper-uBIymjUX.js +1 -0
- package/dist/console/runtime/public/console/chunks/presence-BGvCcBvS.js +1 -0
- package/dist/console/runtime/public/console/chunks/prisma-DMgNhnYS.js +1 -0
- package/dist/console/runtime/public/console/chunks/pug-ChIfOLQs.js +1 -0
- package/dist/console/runtime/public/console/chunks/qml-BAjZcRJm.js +1 -0
- package/dist/console/runtime/public/console/chunks/r-CnJIyxn2.js +1 -0
- package/dist/console/runtime/public/console/chunks/razor-Bk3VGUqz.js +1 -0
- package/dist/console/runtime/public/console/chunks/rbs-C0MpOrj4.js +1 -0
- package/dist/console/runtime/public/console/chunks/read-only-DJWK7nHC.js +1 -0
- package/dist/console/runtime/public/console/chunks/red-CYlAq2b0.js +1 -0
- package/dist/console/runtime/public/console/chunks/red-VqZFRByZ-CYlAq2b0.js +1 -0
- package/dist/console/runtime/public/console/chunks/regexp-CF4aByxb.js +1 -0
- package/dist/console/runtime/public/console/chunks/rose-pine-DiTkEueR-aMsaMD1D.js +1 -0
- package/dist/console/runtime/public/console/chunks/rose-pine-aMsaMD1D.js +1 -0
- package/dist/console/runtime/public/console/chunks/rose-pine-dawn-8PwUyIlP.js +1 -0
- package/dist/console/runtime/public/console/chunks/rose-pine-dawn-tfo5y2X0-8PwUyIlP.js +1 -0
- package/dist/console/runtime/public/console/chunks/rose-pine-moon-C0gON9XN-DO-qXg-I.js +1 -0
- package/dist/console/runtime/public/console/chunks/rose-pine-moon-DO-qXg-I.js +1 -0
- package/dist/console/runtime/public/console/chunks/rst-D8R3YvuX.js +1 -0
- package/dist/console/runtime/public/console/chunks/ruby-BDvumEf2.js +1 -0
- package/dist/console/runtime/public/console/chunks/rust-DpiIf5JO.js +1 -0
- package/dist/console/runtime/public/console/chunks/sas-CDxiwfn1.js +1 -0
- package/dist/console/runtime/public/console/chunks/scala-BiFt_7mu.js +1 -0
- package/dist/console/runtime/public/console/chunks/scss-BPiS1nMZ.js +1 -0
- package/dist/console/runtime/public/console/chunks/scss-DuikUNMR.js +1 -0
- package/dist/console/runtime/public/console/chunks/sections-aIkyV8J9.js +8 -0
- package/dist/console/runtime/public/console/chunks/shaderlab-TOUzSsQk.js +1 -0
- package/dist/console/runtime/public/console/chunks/shellscript-CgLkv1T0.js +1 -0
- package/dist/console/runtime/public/console/chunks/shellscript-DStN_0YR.js +1 -0
- package/dist/console/runtime/public/console/chunks/shellsession-C_5QA7eC.js +1 -0
- package/dist/console/runtime/public/console/chunks/smalltalk-BHpQb5nM.js +1 -0
- package/dist/console/runtime/public/console/chunks/smithy-Dgaz7aur.js +1 -0
- package/dist/console/runtime/public/console/chunks/solarized-dark-B8nAdMfM-b97czJOk.js +1 -0
- package/dist/console/runtime/public/console/chunks/solarized-dark-b97czJOk.js +1 -0
- package/dist/console/runtime/public/console/chunks/solarized-light-B-3F1INj-DFPxpIYQ.js +1 -0
- package/dist/console/runtime/public/console/chunks/solarized-light-DFPxpIYQ.js +1 -0
- package/dist/console/runtime/public/console/chunks/solidity-Bj7E1mRn.js +1 -0
- package/dist/console/runtime/public/console/chunks/soy-Drvj0-hN.js +1 -0
- package/dist/console/runtime/public/console/chunks/sparql-D_iOobhT.js +1 -0
- package/dist/console/runtime/public/console/chunks/sql-7uki0mN6.js +1 -0
- package/dist/console/runtime/public/console/chunks/sql-DvnUxQaA.js +1 -0
- package/dist/console/runtime/public/console/chunks/stata-5ekhIp_w.js +1 -0
- package/dist/console/runtime/public/console/chunks/surrealql-BggsF-oc.js +1 -0
- package/dist/console/runtime/public/console/chunks/svelte-BOzpv3zx.js +1 -0
- package/dist/console/runtime/public/console/chunks/swift-CyEgAFGc.js +1 -0
- package/dist/console/runtime/public/console/chunks/system-verilog-Dh5ihWbf.js +1 -0
- package/dist/console/runtime/public/console/chunks/templ-fdyF5dsr.js +1 -0
- package/dist/console/runtime/public/console/chunks/tex-DHA47n0s.js +1 -0
- package/dist/console/runtime/public/console/chunks/ts-tags-FylMzM_u.js +1 -0
- package/dist/console/runtime/public/console/chunks/tsx-B8qh6jDH.js +1 -0
- package/dist/console/runtime/public/console/chunks/tsx-Ge9e86uq.js +1 -0
- package/dist/console/runtime/public/console/chunks/twig-r9Dsv_Ri.js +1 -0
- package/dist/console/runtime/public/console/chunks/typescript-C2Eu6twH.js +1 -0
- package/dist/console/runtime/public/console/chunks/typescript-CiUCm0l2.js +1 -0
- package/dist/console/runtime/public/console/chunks/typespec-BGhR2SqG.js +1 -0
- package/dist/console/runtime/public/console/chunks/typst-BCkRs6d9.js +1 -0
- package/dist/console/runtime/public/console/chunks/url-uI6JSUZP.js +4 -0
- package/dist/console/runtime/public/console/chunks/useForwardScopeId-mJ8JPuYU.js +1 -0
- package/dist/console/runtime/public/console/chunks/usePortal-BqI7uIRp.js +3 -0
- package/dist/console/runtime/public/console/chunks/v-DBj4K9d_.js +1 -0
- package/dist/console/runtime/public/console/chunks/vb-DOwzaHZ0.js +1 -0
- package/dist/console/runtime/public/console/chunks/verilog-B2gwz-sJ.js +1 -0
- package/dist/console/runtime/public/console/chunks/vue-Bc1L0ruR.js +3 -0
- package/dist/console/runtime/public/console/chunks/vue-CGPRTtAM.js +1 -0
- package/dist/console/runtime/public/console/chunks/vue-CHGs_ru8.js +1 -0
- package/dist/console/runtime/public/console/chunks/vue-html-CU_0vU6P.js +1 -0
- package/dist/console/runtime/public/console/chunks/vue-vine-BrC7uwb8.js +1 -0
- package/dist/console/runtime/public/console/chunks/vueuse-DCpBt1pZ.js +4 -0
- package/dist/console/runtime/public/console/chunks/xml-Bx1i6T7B.js +1 -0
- package/dist/console/runtime/public/console/chunks/xsl-DR5M53i7.js +1 -0
- package/dist/console/runtime/public/console/chunks/yaml-CZmR-Icd.js +1 -0
- package/dist/console/runtime/public/console/chunks/yaml-a9wqVlBt.js +1 -0
- package/dist/console/runtime/public/console/console-QjK_HKoM.css +2 -0
- package/dist/console/runtime/public/console/console-j0_7kmR5.js +21 -0
- package/dist/console/runtime/public/console/page-tool-Cji0S8q-.js +1 -0
- package/dist/console/runtime/public/skills/index.json +46 -0
- package/dist/console/runtime/public/skills/vitehub/SKILL.md +88 -0
- package/dist/console/runtime/public/skills/vitehub/agents/openai.yaml +4 -0
- package/dist/console/runtime/public/skills/vitehub/references/agent-definitions.md +36 -0
- package/dist/console/runtime/public/skills/vitehub/references/capabilities-authority.md +30 -0
- package/dist/console/runtime/public/skills/vitehub/references/channels-triggers.md +26 -0
- package/dist/console/runtime/public/skills/vitehub/references/framework-composition.md +29 -0
- package/dist/console/runtime/public/skills/vitehub/references/preview-contract.md +36 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/auth.md +16 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/blob.md +13 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/browser.md +17 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/cache.md +13 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/channels.md +13 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/connections.md +16 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/content.md +13 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/database.md +13 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/email.md +13 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/env.md +13 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/kv.md +13 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/markdown-template.md +13 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/queue.md +16 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/rate-limit.md +13 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/realtime.md +19 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/sandbox-task.md +13 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/sandbox.md +13 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/schedule.md +13 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/shell.md +13 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/source.md +13 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/workflow.md +13 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/workspace.md +13 -0
- package/dist/console/runtime/public/skills/vitehub/references/project-patterns.md +19 -0
- package/dist/console/runtime/public/skills/vitehub/references/project-shapes.md +61 -0
- package/dist/console/runtime/public/skills/vitehub/references/proof-recovery.md +29 -0
- package/dist/console/runtime/public/skills/vitehub/references/sandboxes-hosts.md +17 -0
- package/dist/console/runtime/public/skills/vitehub/references/schedules-workflows-invocations.md +28 -0
- package/dist/console/runtime/public/skills/vitehub/references/server-primitives.md +39 -0
- package/dist/console/runtime/public/skills/vitehub/references/workspaces-sources-access.md +26 -0
- package/dist/console/runtime/rpc.d.ts +27 -26
- package/dist/console/runtime/rpc.js +2 -14
- package/dist/console/runtime/sections.d.ts +2 -2
- package/dist/console/runtime/sections.js +280 -55
- package/dist/console/runtime/server/agents.get.d.ts +11 -3
- package/dist/console/runtime/server/agents.get.js +18 -7
- package/dist/console/runtime/server/auth-manage.d.ts +7 -0
- package/dist/console/runtime/server/auth-manage.js +155 -0
- package/dist/console/runtime/server/blob.d.ts +1 -1
- package/dist/console/runtime/server/blob.js +3 -2
- package/dist/console/runtime/server/channel-replay.d.ts +11 -0
- package/dist/console/runtime/server/channel-replay.js +80 -0
- package/dist/console/runtime/server/client.get.d.ts +3 -0
- package/dist/console/runtime/server/client.get.js +11 -0
- package/dist/console/runtime/server/database.d.ts +1 -1
- package/dist/console/runtime/server/database.get.d.ts +23 -4
- package/dist/console/runtime/server/database.get.js +49 -18
- package/dist/console/runtime/server/database.js +3 -2
- package/dist/console/runtime/server/definitions.d.ts +2 -2
- package/dist/console/runtime/server/definitions.get.d.ts +9 -8
- package/dist/console/runtime/server/definitions.get.js +57 -10
- package/dist/console/runtime/server/definitions.js +87 -12
- package/dist/console/runtime/server/documents.d.ts +2 -0
- package/dist/console/runtime/server/documents.js +111 -0
- package/dist/console/runtime/server/env-manage.d.ts +5 -0
- package/dist/console/runtime/server/env-manage.js +10 -0
- package/dist/console/runtime/server/env.d.ts +18 -0
- package/dist/console/runtime/server/env.get.d.ts +9 -0
- package/dist/console/runtime/server/env.get.js +29 -0
- package/dist/console/runtime/server/env.js +42 -0
- package/dist/console/runtime/server/invocation-capabilities.get.d.ts +5 -3
- package/dist/console/runtime/server/invocation-capabilities.get.js +13 -5
- package/dist/console/runtime/server/invocation-workspace.get.d.ts +42 -0
- package/dist/console/runtime/server/invocation-workspace.get.js +243 -0
- package/dist/console/runtime/server/invocation.get.d.ts +36 -25
- package/dist/console/runtime/server/invocation.get.js +117 -10
- package/dist/console/runtime/server/invocations.get.d.ts +4 -3
- package/dist/console/runtime/server/invocations.get.js +30 -28
- package/dist/console/runtime/server/logs.get.d.ts +13 -0
- package/dist/console/runtime/server/logs.get.js +45 -0
- package/dist/console/runtime/server/mcp-authorization-server.d.ts +11 -0
- package/dist/console/runtime/server/mcp-authorization-server.js +71 -0
- package/dist/console/runtime/server/mcp-discovery.d.ts +7 -0
- package/dist/console/runtime/server/mcp-discovery.js +20 -0
- package/dist/console/runtime/server/mcp-metadata.d.ts +11 -0
- package/dist/console/runtime/server/mcp-metadata.js +54 -0
- package/dist/console/runtime/server/mcp.d.ts +16 -0
- package/dist/console/runtime/server/mcp.js +364 -0
- package/dist/console/runtime/server/page-session.d.ts +2 -0
- package/dist/console/runtime/server/page-session.js +5 -0
- package/dist/console/runtime/server/page.get.d.ts +3 -5
- package/dist/console/runtime/server/page.get.js +29 -13
- package/dist/console/runtime/server/rpc.d.ts +22 -0
- package/dist/console/runtime/server/rpc.js +215 -0
- package/dist/console/runtime/server/schedule-run.d.ts +36 -0
- package/dist/console/runtime/server/schedule-run.js +213 -0
- package/dist/console/runtime/server/search.get.d.ts +5 -4
- package/dist/console/runtime/server/search.get.js +103 -2
- package/dist/console/runtime/server/sections.d.ts +4 -2
- package/dist/console/runtime/server/sections.get.d.ts +17 -4
- package/dist/console/runtime/server/sections.get.js +22 -8
- package/dist/console/runtime/server/sections.js +4 -16
- package/dist/console/runtime/server/sign-in.d.ts +5 -0
- package/dist/console/runtime/server/sign-in.js +11 -0
- package/dist/console/runtime/server/status.get.d.ts +13 -0
- package/dist/console/runtime/server/status.get.js +40 -0
- package/dist/console/runtime/server/usage.get.d.ts +4 -3
- package/dist/console/runtime/server/usage.get.js +75 -20
- package/dist/console/server.d.ts +22 -7
- package/dist/console/server.js +23 -17
- package/dist/console/ui.d.ts +201 -0
- package/dist/console/ui.js +3215 -0
- package/dist/console.d.ts +3 -2
- package/dist/content/client.d.ts +1 -0
- package/dist/content/client.js +2 -0
- package/dist/content/database.d.ts +1 -0
- package/dist/content/database.js +2 -0
- package/dist/content/editor.d.ts +1 -0
- package/dist/content/editor.js +2 -0
- package/dist/content/presets/cms.d.ts +2 -0
- package/dist/content/presets/cms.js +2 -0
- package/dist/content/realtime.d.ts +1 -0
- package/dist/content/realtime.js +2 -0
- package/dist/content.d.ts +2 -0
- package/dist/content.js +3 -0
- package/dist/database/drizzle.d.ts +1 -16
- package/dist/database/drizzle.js +1 -8
- package/dist/database-DLPk6HVu.d.ts +7 -0
- package/dist/database-hyYo7JVD.d.ts +11 -0
- package/dist/definitions-BJGSpYGa.d.ts +209 -0
- package/dist/definitions-Y0pIwSQm.d.ts +19 -0
- package/dist/diagnostics-YTWM3K3t.js +74 -0
- package/dist/diagnostics-lT85pbVx.d.ts +6 -0
- package/dist/doctor.d.ts +8 -0
- package/dist/doctor.js +417 -0
- package/dist/document-metadata-nXusaMSq.js +6 -0
- package/dist/documents-BRt3-fIu.d.ts +72 -0
- package/dist/env/auth.d.ts +1 -0
- package/dist/env/auth.js +2 -0
- package/dist/env/bridge.d.ts +1 -0
- package/dist/env/bridge.js +2 -0
- package/dist/env/database.d.ts +1 -0
- package/dist/env/database.js +2 -0
- package/dist/env/http.d.ts +1 -0
- package/dist/env/http.js +2 -0
- package/dist/env/seal.d.ts +1 -0
- package/dist/env/seal.js +2 -0
- package/dist/error-diagnostics-n7V-_SPy.js +160 -0
- package/dist/error-diagnostics.ts +162 -0
- package/dist/gateways.d.ts +1 -0
- package/dist/gateways.js +2 -0
- package/dist/h3-v1-request-DDGXJ9E7.js +166 -0
- package/dist/index-CWk5rJOo.d.ts +247 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1 -2
- package/dist/internal-Ca7DYHpa.js +311 -0
- package/dist/internal-VvXn0bX4.d.ts +25 -0
- package/dist/invocations-DkjhdkpT.js +1151 -0
- package/dist/invocations-TvN9ux06.d.ts +47 -0
- package/dist/logs/host.d.ts +6 -0
- package/dist/logs/host.js +16 -0
- package/dist/logs/memory.d.ts +18 -0
- package/dist/logs/memory.js +85 -0
- package/dist/logs/source.d.ts +57 -0
- package/dist/logs/source.js +57 -0
- package/dist/logs.d.ts +4 -0
- package/dist/logs.js +4 -0
- package/dist/loopback-DAr1IFQP.js +43 -0
- package/dist/markdown-template/file.d.ts +1 -0
- package/dist/markdown-template/file.js +2 -0
- package/dist/media-BBybn3NP.js +512 -0
- package/dist/nuxt.d.ts +6 -57
- package/dist/nuxt.js +683 -232
- package/dist/operation-contributions-BXHKgT_w.d.ts +18 -0
- package/dist/operations-4uDh4zah.js +38 -0
- package/dist/operations-7RHOMAHT.js +455 -0
- package/dist/operations-Bgklf9hM.d.ts +149 -0
- package/dist/operations-CwqEItfA.js +468 -0
- package/dist/operations.d.ts +2 -0
- package/dist/operations.js +2 -0
- package/dist/owned-paths-BnjT0FhU.js +15 -0
- package/dist/package-BsfDnNm8.js +1119 -0
- package/dist/page-tools-B3g4CQ5c.js +402 -0
- package/dist/page-tools-C5dufxVz.d.ts +16 -0
- package/dist/page-tools-shared-D-amu6sx.js +53 -0
- package/dist/presets/babysitter/server.d.ts +1 -0
- package/dist/presets/babysitter/server.js +2 -0
- package/dist/presets/babysitter.d.ts +1 -0
- package/dist/presets/babysitter.js +2 -0
- package/dist/presets/labeller.d.ts +1 -0
- package/dist/presets/labeller.js +2 -0
- package/dist/presets/workspace.d.ts +2 -0
- package/dist/presets/workspace.js +2 -0
- package/dist/project-registry-BT7RcCcQ.js +39 -0
- package/dist/registry-dSdI2Oa3.js +142 -0
- package/dist/request-BT6g-Fwf.js +326 -0
- package/dist/request-DOvvVgpI.d.ts +52 -0
- package/dist/retention-DBXuVtQL.js +257 -0
- package/dist/rolldown-runtime-8H4AJuhK.js +14 -0
- package/dist/runtime/h3.d.ts +2 -0
- package/dist/runtime/h3.js +2 -0
- package/dist/runtime-DPqC3MTX.js +60 -0
- package/dist/sandbox/ssh.d.ts +1 -0
- package/dist/sandbox/ssh.js +2 -0
- package/dist/sandbox/task.d.ts +1 -0
- package/dist/sandbox/task.js +2 -0
- package/dist/scan-module-TmHMoGKw.js +148 -0
- package/dist/schedule/runtime/kv.d.ts +1 -0
- package/dist/schedule/runtime/kv.js +2 -0
- package/dist/schema-form-C-fy3xaU.d.ts +79 -0
- package/dist/secret-DrgWMRms.js +47 -0
- package/dist/sections-BVtKNenQ.js +108 -0
- package/dist/sections-C985LlW2.d.ts +31 -0
- package/dist/sections-Drj-o4_z.d.ts +141 -0
- package/dist/source/files.d.ts +1 -0
- package/dist/source/files.js +2 -0
- package/dist/source/server.d.ts +1 -24
- package/dist/source/server.js +1 -24
- package/dist/source/vite.d.ts +4 -5
- package/dist/source/vite.js +3 -1
- package/dist/source.d.ts +1 -65
- package/dist/source.js +2 -103
- package/dist/src-CaqWiza-.js +7910 -0
- package/dist/task.d.ts +3 -0
- package/dist/task.js +2 -0
- package/dist/types-BsuwNk3q.js +256 -0
- package/dist/ui/attachment.d.ts +1 -0
- package/dist/ui/attachment.js +2 -0
- package/dist/ui/avatar-stack.d.ts +1 -0
- package/dist/ui/avatar-stack.js +2 -0
- package/dist/ui/bubble.d.ts +1 -0
- package/dist/ui/bubble.js +2 -0
- package/dist/ui/chat-message.d.ts +1 -0
- package/dist/ui/chat-message.js +2 -0
- package/dist/ui/chat-session.d.ts +1 -0
- package/dist/ui/chat-session.js +2 -0
- package/dist/ui/chat.d.ts +1 -0
- package/dist/ui/chat.js +2 -0
- package/dist/ui/code-block.d.ts +1 -0
- package/dist/ui/code-block.js +2 -0
- package/dist/ui/code-view.d.ts +1 -0
- package/dist/ui/code-view.js +2 -0
- package/dist/ui/comments.d.ts +1 -0
- package/dist/ui/comments.js +2 -0
- package/dist/ui/connection-status.d.ts +1 -0
- package/dist/ui/connection-status.js +2 -0
- package/dist/ui/file-diff.d.ts +1 -0
- package/dist/ui/file-diff.js +2 -0
- package/dist/ui/file-tree.d.ts +1 -0
- package/dist/ui/file-tree.js +2 -0
- package/dist/ui/file-view.d.ts +1 -0
- package/dist/ui/file-view.js +2 -0
- package/dist/ui/markdown.d.ts +1 -0
- package/dist/ui/markdown.js +2 -0
- package/dist/ui/marker.d.ts +1 -0
- package/dist/ui/marker.js +2 -0
- package/dist/ui/message-parts.d.ts +1 -0
- package/dist/ui/message-parts.js +2 -0
- package/dist/ui/message.d.ts +1 -0
- package/dist/ui/message.js +2 -0
- package/dist/ui/multi-file-diff.d.ts +1 -0
- package/dist/ui/multi-file-diff.js +2 -0
- package/dist/ui/patch-diff.d.ts +1 -0
- package/dist/ui/patch-diff.js +2 -0
- package/dist/ui/prompt-input.d.ts +1 -0
- package/dist/ui/prompt-input.js +2 -0
- package/dist/ui/styles.css +2134 -2034
- package/dist/ui/sync-status.d.ts +1 -0
- package/dist/ui/sync-status.js +2 -0
- package/dist/ui/tool-list.d.ts +1 -0
- package/dist/ui/tool-list.js +2 -0
- package/dist/ui/trace-run.d.ts +1 -0
- package/dist/ui/trace-run.js +2 -0
- package/dist/ui/trace.d.ts +1 -0
- package/dist/ui/trace.js +2 -0
- package/dist/ui/unresolved-file.d.ts +1 -0
- package/dist/ui/unresolved-file.js +2 -0
- package/dist/usage-CoQXs5nW.d.ts +22 -0
- package/dist/workspace/blob-database.d.ts +1 -0
- package/dist/workspace/blob-database.js +2 -0
- package/package.json +1326 -197
- package/dist/_internal/sandbox/runtime/state.d.ts +0 -1
- package/dist/_internal/sandbox/runtime/state.js +0 -2
- package/dist/_internal/schedule/runtime/driver.d.ts +0 -1
- package/dist/_internal/schedule/runtime/driver.js +0 -2
- package/dist/agents-DGL-2SS3.js +0 -53
- package/dist/blob-_CeYUuZh.d.ts +0 -8
- package/dist/box.d.ts +0 -1
- package/dist/box.js +0 -2
- package/dist/console/runtime/components/console-brand.vue +0 -37
- package/dist/console/runtime/components/console-health-model.ts +0 -54
- package/dist/console/runtime/components/console-health.vue +0 -236
- package/dist/console/runtime/components/console-primitive-switcher.vue +0 -69
- package/dist/console/runtime/components/console-provider.vue +0 -12
- package/dist/console/runtime/pages/agents.vue +0 -58
- package/dist/console/runtime/pages/blob.vue +0 -30
- package/dist/console/runtime/pages/databases.vue +0 -67
- package/dist/console/runtime/pages/index.vue +0 -29
- package/dist/console/runtime/pages/kv.vue +0 -68
- package/dist/console/runtime/pages/queues.vue +0 -30
- package/dist/console/runtime/pages/rate-limits.vue +0 -30
- package/dist/console/runtime/pages/sandboxes.vue +0 -27
- package/dist/console/runtime/pages/schedules.vue +0 -30
- package/dist/console/runtime/pages/workflows.vue +0 -30
- package/dist/console/runtime/pages/workspaces.vue +0 -30
- package/dist/console/runtime/public/console/chunks/ChatMessage-CVruGJWM.js +0 -1
- package/dist/console/runtime/public/console/chunks/ChatPrompt-BmTjPf5_.js +0 -1
- package/dist/console/runtime/public/console/chunks/ChatPromptSubmit-DcxguvaS.js +0 -1
- package/dist/console/runtime/public/console/chunks/ChatReasoning-DIMO2K2F.js +0 -1
- package/dist/console/runtime/public/console/chunks/ChatShimmer-C613EbHI.js +0 -1
- package/dist/console/runtime/public/console/chunks/ChatTool-DDmc-ZK6.js +0 -1
- package/dist/console/runtime/public/console/chunks/Collapsible-C0CXnWpw.js +0 -1
- package/dist/console/runtime/public/console/chunks/CollapsibleTrigger-CmJucLnT.js +0 -1
- package/dist/console/runtime/public/console/chunks/Icon-D-AnqCok.js +0 -1
- package/dist/console/runtime/public/console/chunks/actionscript-3-Czo0lKSf--17pq3dv.js +0 -1
- package/dist/console/runtime/public/console/chunks/ada-twHwrVWN-C5qYipkI.js +0 -1
- package/dist/console/runtime/public/console/chunks/angular-html-Ct-40ew8-D8X9MCxo.js +0 -1
- package/dist/console/runtime/public/console/chunks/angular-html-DTyieMYv.js +0 -1
- package/dist/console/runtime/public/console/chunks/angular-ts-D3gV1N-x.js +0 -1
- package/dist/console/runtime/public/console/chunks/angular-ts-D6akBVit-CAEqTior.js +0 -1
- package/dist/console/runtime/public/console/chunks/apex-BkQQFAhi-VAyPSnFM.js +0 -1
- package/dist/console/runtime/public/console/chunks/apl-Cxjn4xYu-QUZjoXcb.js +0 -1
- package/dist/console/runtime/public/console/chunks/asciidoc-Dsw6zvwf-DE70LPWp.js +0 -1
- package/dist/console/runtime/public/console/chunks/astro-BPVTb8uX-BMHg0UsI.js +0 -1
- package/dist/console/runtime/public/console/chunks/astro-CLAWI0Fn.js +0 -1
- package/dist/console/runtime/public/console/chunks/bat-hQslfzu--Bo4NYOV-.js +0 -1
- package/dist/console/runtime/public/console/chunks/beancount-CXtOQ8oS-D-usSTwE.js +0 -1
- package/dist/console/runtime/public/console/chunks/bird2-GLyzhwkD-C6vDhewU.js +0 -1
- package/dist/console/runtime/public/console/chunks/blade-0LMawyyw-CZBPwR53.js +0 -1
- package/dist/console/runtime/public/console/chunks/blade-CP_mgflB.js +0 -1
- package/dist/console/runtime/public/console/chunks/bsl-0NWGiiFE-mk7PqslV.js +0 -1
- package/dist/console/runtime/public/console/chunks/bundle-web-DTJmdyvB.js +0 -13
- package/dist/console/runtime/public/console/chunks/c-BhmuwSav.js +0 -1
- package/dist/console/runtime/public/console/chunks/c-Dc0_AVM6-CjS7AEt5.js +0 -1
- package/dist/console/runtime/public/console/chunks/c3-BLXk7BLN-BFHwR3_K.js +0 -1
- package/dist/console/runtime/public/console/chunks/cairo-DjG4M3vq-xb-J0v0e.js +0 -1
- package/dist/console/runtime/public/console/chunks/catppuccin-frappe-3VR1Za6u.js +0 -1
- package/dist/console/runtime/public/console/chunks/catppuccin-frappe-COUg_LSX-3VR1Za6u.js +0 -1
- package/dist/console/runtime/public/console/chunks/catppuccin-latte-DwIHMF0Q.js +0 -1
- package/dist/console/runtime/public/console/chunks/catppuccin-latte-r30LFfsa-DwIHMF0Q.js +0 -1
- package/dist/console/runtime/public/console/chunks/catppuccin-macchiato-D-EwZyPh-DYnBP6_5.js +0 -1
- package/dist/console/runtime/public/console/chunks/catppuccin-macchiato-DYnBP6_5.js +0 -1
- package/dist/console/runtime/public/console/chunks/catppuccin-mocha-C6RD5yh3-DYhrFGRu.js +0 -1
- package/dist/console/runtime/public/console/chunks/catppuccin-mocha-DYhrFGRu.js +0 -1
- package/dist/console/runtime/public/console/chunks/clarity-2iIoRiLx-SemFz856.js +0 -1
- package/dist/console/runtime/public/console/chunks/cobol-CocL1RYn-DoHa8rFw.js +0 -1
- package/dist/console/runtime/public/console/chunks/coffee-DtqnQNu5-Ca3s2Keu.js +0 -1
- package/dist/console/runtime/public/console/chunks/coffee-PUiKoj8Q.js +0 -1
- package/dist/console/runtime/public/console/chunks/coq-Ds6Ye5el-BrsZFFmf.js +0 -1
- package/dist/console/runtime/public/console/chunks/cpp-CxycoGSa.js +0 -1
- package/dist/console/runtime/public/console/chunks/cpp-Mb4ikSI3-tLY9dtiu.js +0 -1
- package/dist/console/runtime/public/console/chunks/crystal-D4OMbAh_-C9omPlZ-.js +0 -1
- package/dist/console/runtime/public/console/chunks/csharp-CFKaLbHg-oqKa8noW.js +0 -1
- package/dist/console/runtime/public/console/chunks/css-DLlZbWMi.js +0 -1
- package/dist/console/runtime/public/console/chunks/css-DTzmO9U0-CbxoEllx.js +0 -1
- package/dist/console/runtime/public/console/chunks/csv-DqIVFkK7-Dx-8-gkx.js +0 -1
- package/dist/console/runtime/public/console/chunks/dart-C6DUdjib-CnvKMtbv.js +0 -1
- package/dist/console/runtime/public/console/chunks/docker-PC1tuYpa-IyjqRm3v.js +0 -1
- package/dist/console/runtime/public/console/chunks/dotenv-Dkdv7Sm2-_5a1GRtc.js +0 -1
- package/dist/console/runtime/public/console/chunks/edge-DrFNu-N9-BY3pzybO.js +0 -1
- package/dist/console/runtime/public/console/chunks/elixir-OpZyQ8Ht-CwWfuiQ1.js +0 -1
- package/dist/console/runtime/public/console/chunks/elm-CjX_545P-Dn-DqM39.js +0 -1
- package/dist/console/runtime/public/console/chunks/emacs-lisp-DxhFFVu_-B4R74twV.js +0 -1
- package/dist/console/runtime/public/console/chunks/erb-trZRdc47-DRBdWH-D.js +0 -1
- package/dist/console/runtime/public/console/chunks/erlang-BJeTH9QH-BfDtvnHZ.js +0 -1
- package/dist/console/runtime/public/console/chunks/fortran-fixed-form-B_eBTsj9-C2-rkbip.js +0 -1
- package/dist/console/runtime/public/console/chunks/fsharp-UvrT6oWG-LCdvSpj6.js +0 -1
- package/dist/console/runtime/public/console/chunks/gdresource-Dl9wvKCd-C3MGX-jo.js +0 -1
- package/dist/console/runtime/public/console/chunks/gdscript-jjgTGGzd-Cp2uCuqX.js +0 -1
- package/dist/console/runtime/public/console/chunks/git-commit-2LMniMoO-CfgJCLX7.js +0 -1
- package/dist/console/runtime/public/console/chunks/git-rebase-DUOURRPN-DbPsFIae.js +0 -1
- package/dist/console/runtime/public/console/chunks/glimmer-js-D_32hFh8-Dv_1Q6fk.js +0 -1
- package/dist/console/runtime/public/console/chunks/glimmer-ts-CVt002zd-PmMLyqBp.js +0 -1
- package/dist/console/runtime/public/console/chunks/glsl-8MDrjpMp.js +0 -1
- package/dist/console/runtime/public/console/chunks/glsl-pHhzolba-D3h1XPFw.js +0 -1
- package/dist/console/runtime/public/console/chunks/gn-DDjbVPF4-ilITqXS6.js +0 -1
- package/dist/console/runtime/public/console/chunks/graphql-BjqekQIR-CtUxCAnJ.js +0 -1
- package/dist/console/runtime/public/console/chunks/graphql-C4iAGs1_.js +0 -1
- package/dist/console/runtime/public/console/chunks/hack-BITNGzgt-BwY4KWmq.js +0 -1
- package/dist/console/runtime/public/console/chunks/haml-BJGeH8A5.js +0 -1
- package/dist/console/runtime/public/console/chunks/haml-DVwRP8W9-C4Ue42xj.js +0 -1
- package/dist/console/runtime/public/console/chunks/handlebars-OC1LcHwO.js +0 -1
- package/dist/console/runtime/public/console/chunks/handlebars-T3TJj8Il-BLQCwuJT.js +0 -1
- package/dist/console/runtime/public/console/chunks/haxe-B0odltAZ-OTjmBuCE.js +0 -1
- package/dist/console/runtime/public/console/chunks/html-CamevgpM-BbT95zHF.js +0 -1
- package/dist/console/runtime/public/console/chunks/html-Cs160JwT.js +0 -1
- package/dist/console/runtime/public/console/chunks/html-derivative-GiQ9zDJU.js +0 -1
- package/dist/console/runtime/public/console/chunks/html-derivative-jMOJf6rB-Kh3SdD3S.js +0 -1
- package/dist/console/runtime/public/console/chunks/http-BEHztmFP-BxphIJE7.js +0 -1
- package/dist/console/runtime/public/console/chunks/http-Cgwuv9UR.js +0 -1
- package/dist/console/runtime/public/console/chunks/hurl-DMKCZZMv.js +0 -1
- package/dist/console/runtime/public/console/chunks/hurl-LmFBxrwm-CGo4dqUD.js +0 -1
- package/dist/console/runtime/public/console/chunks/hxml-BQ4V4Tez-BaHUc7lX.js +0 -1
- package/dist/console/runtime/public/console/chunks/imba-96qKoJCa-DsUTQ-LC.js +0 -1
- package/dist/console/runtime/public/console/chunks/java-CUcXVav_.js +0 -1
- package/dist/console/runtime/public/console/chunks/java-Cfowl-Ex-BnGnzH2k.js +0 -1
- package/dist/console/runtime/public/console/chunks/javascript-C4sF7sej-B29qPxDa.js +0 -1
- package/dist/console/runtime/public/console/chunks/javascript-DrVpc-sp.js +0 -1
- package/dist/console/runtime/public/console/chunks/jinja-C17UUgXU.js +0 -1
- package/dist/console/runtime/public/console/chunks/jinja-CCAEwzP4-PaInFpq5.js +0 -1
- package/dist/console/runtime/public/console/chunks/jison-BKCoBkyT-BRL7eVgb.js +0 -1
- package/dist/console/runtime/public/console/chunks/jison-ByjIV4zh.js +0 -1
- package/dist/console/runtime/public/console/chunks/json-E4f3l6hr-DuNL0Aj9.js +0 -1
- package/dist/console/runtime/public/console/chunks/json-qhed-kSA.js +0 -1
- package/dist/console/runtime/public/console/chunks/json5-xULSgPQI-BR5RXkoi.js +0 -1
- package/dist/console/runtime/public/console/chunks/jsonc-Cu6rqcrJ-CYpm1nAK.js +0 -1
- package/dist/console/runtime/public/console/chunks/jsonl-Bp0qqr10-CmCQp5Yx.js +0 -1
- package/dist/console/runtime/public/console/chunks/jsx-BZjOirBP-Dga5sQe3.js +0 -1
- package/dist/console/runtime/public/console/chunks/jsx-C-HlKHLe.js +0 -1
- package/dist/console/runtime/public/console/chunks/julia-Ca_tGyZB.js +0 -1
- package/dist/console/runtime/public/console/chunks/julia-nEdJo0dp-CJRta6ZT.js +0 -1
- package/dist/console/runtime/public/console/chunks/just-Brtw3q7S-DmytbepJ.js +0 -1
- package/dist/console/runtime/public/console/chunks/kanagawa-dragon-CXtmUGW6.js +0 -1
- package/dist/console/runtime/public/console/chunks/kanagawa-dragon-DExkuQAs-CXtmUGW6.js +0 -1
- package/dist/console/runtime/public/console/chunks/kanagawa-lotus-BN08jTvb.js +0 -1
- package/dist/console/runtime/public/console/chunks/kanagawa-lotus-qdYh7_RY-BN08jTvb.js +0 -1
- package/dist/console/runtime/public/console/chunks/kanagawa-wave-CSW_hADG-CTweb8Dz.js +0 -1
- package/dist/console/runtime/public/console/chunks/kanagawa-wave-CTweb8Dz.js +0 -1
- package/dist/console/runtime/public/console/chunks/latex-QHQNiZDD-fcyJN6QK.js +0 -1
- package/dist/console/runtime/public/console/chunks/less-BzbdhFUi-DVTAwKKz.js +0 -1
- package/dist/console/runtime/public/console/chunks/liquid-DYQ7uW5u-JGNMHTpg.js +0 -1
- package/dist/console/runtime/public/console/chunks/llvm-uY68ROGz-Cm23YOpf.js +0 -1
- package/dist/console/runtime/public/console/chunks/lua-BhkUWs1q-CVcL4bwV.js +0 -1
- package/dist/console/runtime/public/console/chunks/luau-YC4aaMmR-FMPmPwt6.js +0 -1
- package/dist/console/runtime/public/console/chunks/markdown-CkmxmzqY-BYOwaDjH.js +0 -1
- package/dist/console/runtime/public/console/chunks/marko-BHWvxp04-U7nYXRKW.js +0 -1
- package/dist/console/runtime/public/console/chunks/marko-DmV4Eg2F.js +0 -1
- package/dist/console/runtime/public/console/chunks/mdc-BVkdQPZX.js +0 -1
- package/dist/console/runtime/public/console/chunks/mdc-Dg7VPYLa-CshLRYP7.js +0 -1
- package/dist/console/runtime/public/console/chunks/mdx-BK9ZufRc-DQZ5AkYe.js +0 -1
- package/dist/console/runtime/public/console/chunks/mermaid-r7OoIYpE-Bk4SNUv9.js +0 -1
- package/dist/console/runtime/public/console/chunks/mojo-YCzvCoMT-BgCJLMeH.js +0 -1
- package/dist/console/runtime/public/console/chunks/monokai-CREPpJ3k-CdkpiU2Y.js +0 -1
- package/dist/console/runtime/public/console/chunks/monokai-CdkpiU2Y.js +0 -1
- package/dist/console/runtime/public/console/chunks/moonbit-B_9L5rST-CaWjb8XO.js +0 -1
- package/dist/console/runtime/public/console/chunks/move-Dqi5fhOb-B1IS1UjX.js +0 -1
- package/dist/console/runtime/public/console/chunks/nextflow-CgUAk9iA-CTMUe4Ca.js +0 -1
- package/dist/console/runtime/public/console/chunks/nextflow-groovy-CdFFX-gF-DJMQeKeT.js +0 -1
- package/dist/console/runtime/public/console/chunks/nginx-Q-E8IJvs-DiQO9reH.js +0 -1
- package/dist/console/runtime/public/console/chunks/nim-CNcTuF14-W9Ucwkhx.js +0 -1
- package/dist/console/runtime/public/console/chunks/nushell-r7hBzeS_-DcLAeLz5.js +0 -1
- package/dist/console/runtime/public/console/chunks/one-dark-pro-CLwyXe_n.js +0 -1
- package/dist/console/runtime/public/console/chunks/one-dark-pro-Ev8UPkf4-CLwyXe_n.js +0 -1
- package/dist/console/runtime/public/console/chunks/perl-Bbgb6Twx-CHGXAzGq.js +0 -1
- package/dist/console/runtime/public/console/chunks/php-CBOR45_G-D5pyod9R.js +0 -1
- package/dist/console/runtime/public/console/chunks/php-J5BBb-PR.js +0 -1
- package/dist/console/runtime/public/console/chunks/pierre-code-view-DYpF5M8R-BiohFcCD.js +0 -1511
- package/dist/console/runtime/public/console/chunks/postcss-D1gKt4z_-BXeXVLqQ.js +0 -1
- package/dist/console/runtime/public/console/chunks/powershell-CpTLv_ai-DshXNtvi.js +0 -1
- package/dist/console/runtime/public/console/chunks/prisma-BWfa4-tI-BsRQq5mF.js +0 -1
- package/dist/console/runtime/public/console/chunks/pug-CfJcGJfh.js +0 -1
- package/dist/console/runtime/public/console/chunks/pug-Cn_U_o_I-Cw4zFEpZ.js +0 -1
- package/dist/console/runtime/public/console/chunks/python-BjnOIxPe-gzcpVVnB.js +0 -1
- package/dist/console/runtime/public/console/chunks/qml-DNlrbxJT-B_IzAFFX.js +0 -1
- package/dist/console/runtime/public/console/chunks/r-Dzep-lPg.js +0 -1
- package/dist/console/runtime/public/console/chunks/r-VqTZMNY_-EnO4GoeC.js +0 -1
- package/dist/console/runtime/public/console/chunks/razor-Bw2un3e8-CtGvw0jo.js +0 -1
- package/dist/console/runtime/public/console/chunks/red-CJ3rzSJv.js +0 -1
- package/dist/console/runtime/public/console/chunks/red-EHiRGXSv-CJ3rzSJv.js +0 -1
- package/dist/console/runtime/public/console/chunks/regexp-5HbFqwky-C3xQXL6t.js +0 -1
- package/dist/console/runtime/public/console/chunks/regexp-R83qIIH_.js +0 -1
- package/dist/console/runtime/public/console/chunks/rose-pine-BthvhNj6.js +0 -1
- package/dist/console/runtime/public/console/chunks/rose-pine-DTI-z1Qp-BthvhNj6.js +0 -1
- package/dist/console/runtime/public/console/chunks/rose-pine-dawn-BIiGXpWs-Dg85fqjY.js +0 -1
- package/dist/console/runtime/public/console/chunks/rose-pine-dawn-Dg85fqjY.js +0 -1
- package/dist/console/runtime/public/console/chunks/rose-pine-moon-DU4wt90U-hon4tzzS.js +0 -1
- package/dist/console/runtime/public/console/chunks/rose-pine-moon-hon4tzzS.js +0 -1
- package/dist/console/runtime/public/console/chunks/rst-BZPDb03W-BDIwqmQR.js +0 -1
- package/dist/console/runtime/public/console/chunks/ruby-BbVp0_gQ-BUOn3oxT.js +0 -1
- package/dist/console/runtime/public/console/chunks/rust-COBzcmTx-Cfkwpbl8.js +0 -1
- package/dist/console/runtime/public/console/chunks/sas-DSkdG4wF-BE4zxtJ7.js +0 -1
- package/dist/console/runtime/public/console/chunks/sass-DI2zJwx7-DXrisJhu.js +0 -1
- package/dist/console/runtime/public/console/chunks/scala-CtSYTRYT-DKOlJaKm.js +0 -1
- package/dist/console/runtime/public/console/chunks/scss-BQ7uffpQ-D2aPazKS.js +0 -1
- package/dist/console/runtime/public/console/chunks/scss-DTeHeodw.js +0 -1
- package/dist/console/runtime/public/console/chunks/shaderlab-CWP9wBCf-C6U2tjWC.js +0 -1
- package/dist/console/runtime/public/console/chunks/shellscript-B42c0JAn-D5OxpxEd.js +0 -1
- package/dist/console/runtime/public/console/chunks/shellscript-CLZ0U2zV.js +0 -1
- package/dist/console/runtime/public/console/chunks/shellsession-Oc9-NqAv-C1K_F4Is.js +0 -1
- package/dist/console/runtime/public/console/chunks/smalltalk-BEQkVl4K-B16xEiuN.js +0 -1
- package/dist/console/runtime/public/console/chunks/solarized-dark-DV17i1UV.js +0 -1
- package/dist/console/runtime/public/console/chunks/solarized-dark-UHgjRWhr-DV17i1UV.js +0 -1
- package/dist/console/runtime/public/console/chunks/solarized-light-B-Zcwve2-DSh2HLQt.js +0 -1
- package/dist/console/runtime/public/console/chunks/solarized-light-DSh2HLQt.js +0 -1
- package/dist/console/runtime/public/console/chunks/solidity-lB9VjfB9-CKzVLygQ.js +0 -1
- package/dist/console/runtime/public/console/chunks/soy-tgh9u9aW-Cm_LtJoW.js +0 -1
- package/dist/console/runtime/public/console/chunks/sparql-B4t0ZbEe-CXgkFCv7.js +0 -1
- package/dist/console/runtime/public/console/chunks/sql-C7n9abzK.js +0 -1
- package/dist/console/runtime/public/console/chunks/sql-CrPlEQn4-COghB3-E.js +0 -1
- package/dist/console/runtime/public/console/chunks/stata-D_KqT8cj-oQQpG6t_.js +0 -1
- package/dist/console/runtime/public/console/chunks/stylus-ZZDn1yUO-B6D30XZt.js +0 -1
- package/dist/console/runtime/public/console/chunks/surrealql-C0KhgoyZ-DqXNFH_A.js +0 -1
- package/dist/console/runtime/public/console/chunks/svelte-CRpWSJAY.js +0 -1
- package/dist/console/runtime/public/console/chunks/svelte-DuHT0xxw-Bs0TxuUS.js +0 -1
- package/dist/console/runtime/public/console/chunks/swift-BTPQlRLK-DonLKvLd.js +0 -1
- package/dist/console/runtime/public/console/chunks/system-verilog-BEoxaBuU-DJ5XKQeo.js +0 -1
- package/dist/console/runtime/public/console/chunks/templ-DF54artD-BPb_zNLV.js +0 -1
- package/dist/console/runtime/public/console/chunks/tex-Bbhb8xAP-9R8lE_en.js +0 -1
- package/dist/console/runtime/public/console/chunks/ts-tags-DH1AB-Ri-CgEe3BFX.js +0 -1
- package/dist/console/runtime/public/console/chunks/ts-tags-DJjZLMnt.js +0 -1
- package/dist/console/runtime/public/console/chunks/tsx-B7QamQLF.js +0 -1
- package/dist/console/runtime/public/console/chunks/tsx-BR8s1Lhs-DiW36VFk.js +0 -1
- package/dist/console/runtime/public/console/chunks/tv-WsfYJXat.js +0 -1
- package/dist/console/runtime/public/console/chunks/twig-DziFF7iU-DLOFbR4k.js +0 -1
- package/dist/console/runtime/public/console/chunks/typescript-D8TR6ff2-CCKRkaRI.js +0 -1
- package/dist/console/runtime/public/console/chunks/typescript-DzLO-qqB.js +0 -1
- package/dist/console/runtime/public/console/chunks/typespec-C_R5TbvO-BRdr0IET.js +0 -1
- package/dist/console/runtime/public/console/chunks/typst-BV9w0z8--DI99ib-x.js +0 -1
- package/dist/console/runtime/public/console/chunks/v-DfbeXLo8-DETTlOr0.js +0 -1
- package/dist/console/runtime/public/console/chunks/vb-DU29mvss-Djn5o6TS.js +0 -1
- package/dist/console/runtime/public/console/chunks/verilog-BW5U03XW-CiiDBU1e.js +0 -1
- package/dist/console/runtime/public/console/chunks/vue-BRy8iDCZ-CL7P9CNz.js +0 -1
- package/dist/console/runtime/public/console/chunks/vue-CQQ6_PvN.js +0 -1
- package/dist/console/runtime/public/console/chunks/vue-html-B24bjO_3-BY2skbNe.js +0 -1
- package/dist/console/runtime/public/console/chunks/vue-html-Ce5SCNOK.js +0 -1
- package/dist/console/runtime/public/console/chunks/vue-vine-DKH1_YEZ.js +0 -1
- package/dist/console/runtime/public/console/chunks/vue-vine-l7O7Mg81-CFWzX3HC.js +0 -1
- package/dist/console/runtime/public/console/chunks/vue.runtime.esm-bundler-COh-O3z7.js +0 -3
- package/dist/console/runtime/public/console/chunks/wasm-BRCjOXGL-BnjxR4X6.js +0 -1
- package/dist/console/runtime/public/console/chunks/wasm-gNIKwGlD-ByWQv1Qj.js +0 -1
- package/dist/console/runtime/public/console/chunks/wgsl-1s5rV5xS-BsKzXJz4.js +0 -1
- package/dist/console/runtime/public/console/chunks/wit-CeQiCbz_-DdvCle-K.js +0 -1
- package/dist/console/runtime/public/console/chunks/xml-CduVPlYa-BZCwbgEk.js +0 -1
- package/dist/console/runtime/public/console/chunks/xml-G-voesMw.js +0 -1
- package/dist/console/runtime/public/console/chunks/xsl-BeH_vLTK-DeKk-5KU.js +0 -1
- package/dist/console/runtime/public/console/chunks/yaml-Cb0uRU1q-CkSC4c4u.js +0 -1
- package/dist/console/runtime/public/console/chunks/yaml-rwi0_p6S.js +0 -1
- package/dist/console/runtime/public/console/console-Bwq3z75a.css +0 -3
- package/dist/console/runtime/public/console/console-Cl-xrMah.js +0 -1371
- package/dist/console/runtime/server/blob.get.d.ts +0 -25
- package/dist/console/runtime/server/blob.get.js +0 -74
- package/dist/console/runtime/server/devframe.d.ts +0 -13
- package/dist/console/runtime/server/devframe.js +0 -133
- package/dist/console/runtime/server/kv.d.ts +0 -2
- package/dist/console/runtime/server/kv.get.d.ts +0 -24
- package/dist/console/runtime/server/kv.get.js +0 -236
- package/dist/console/runtime/server/kv.js +0 -18
- package/dist/database-CW-WjW4u.d.ts +0 -8
- package/dist/definitions-BHmB22eM.d.ts +0 -7
- package/dist/definitions-CfSmoS5G.d.ts +0 -17
- package/dist/index-B072hyCd.d.ts +0 -59
- package/dist/internal-12r-XCbk.d.ts +0 -20
- package/dist/internal-DzLLx0iR.js +0 -304
- package/dist/invocations-qwMRTSy7.js +0 -364
- package/dist/kv-DLGscNQ_.d.ts +0 -8
- package/dist/request-DxBwxGnk.js +0 -72
- package/dist/request-NErg_P5m.d.ts +0 -43
- package/dist/schedule/runtime/driver.d.ts +0 -1
- package/dist/schedule/runtime/driver.js +0 -2
- package/dist/search.get-ClTCn-mh.js +0 -100
- package/dist/sections-7HoMOIGH.d.ts +0 -9
- package/dist/sections-DVsqeLAF.d.ts +0 -100
- package/dist/server-BFxDhCzA.d.ts +0 -78
- package/dist/shell/providers/cloudflare.d.ts +0 -1
- package/dist/shell/providers/cloudflare.js +0 -2
- package/dist/source/content/client.d.ts +0 -1
- package/dist/source/content/client.js +0 -2
- package/dist/source/content.d.ts +0 -1
- package/dist/source/content.js +0 -2
- package/dist/src-XEJGHDr9.js +0 -5247
- package/dist/types-BucGTJnk.js +0 -168
- package/dist/usage-CoZa_8fx.js +0 -361
- package/dist/workspace/collections/client.d.ts +0 -1
- package/dist/workspace/collections/client.js +0 -2
- package/dist/workspace/collections.d.ts +0 -1
- package/dist/workspace/collections.js +0 -2
- package/dist/workspace/publish.d.ts +0 -1
- package/dist/workspace/publish.js +0 -2
- /package/dist/console/runtime/public/console/chunks/{abap-LtYK6g-v-CLvhMVsD.js → abap-CLvhMVsD.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{andromeeda-DnSv6o6l-vGVdxbeo.js → andromeeda-BASpqCeJ-vGVdxbeo.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{apache-BIl2qPOf-U0d_L8uA.js → apache-U0d_L8uA.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{applescript-CJ80B5XJ-CCn79oCD.js → applescript-CCn79oCD.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{ara-IxnQjO6j-4CJ0cIlV.js → ara-4CJ0cIlV.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{asm-wBDSgBbA-Cmm7eHzH.js → asm-Cmm7eHzH.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{aurora-x-XJ5I8rFc-CDeNXAV0.js → aurora-x-DugsLcii-CDeNXAV0.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{awk-D6dA05Ye-BWXHIvNe.js → awk-BWXHIvNe.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{ayu-dark-CBRGL64--DluEY0Gj.js → ayu-dark-BT3qdi3o-DluEY0Gj.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{ayu-light-BlrCS3Ih-C3h-C4tm.js → ayu-light-BVZyHoh9-C3h-C4tm.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{ayu-mirage-CqpTmLcF-Bqwy1Gya.js → ayu-mirage-XFwUVZQZ-Bqwy1Gya.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{ballerina-DIdXD2KH-B7ZEbQpA.js → ballerina-B7ZEbQpA.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{berry-CgA2ea0_-DKpUyyne.js → berry-DKpUyyne.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{bibtex-BzgdqG3s-Ci_nEsc7.js → bibtex-Ci_nEsc7.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{bicep-CZ338dSk-CUHmPFLl.js → bicep-CUHmPFLl.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{cadence-B1ELWULD-CQ2zXKGN.js → cadence-CQ2zXKGN.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{clojure-DDsQ0FaV-DqKBuwfJ.js → clojure-DqKBuwfJ.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{cmake-DPsCB_V6-Bj61d0ZC.js → cmake-Bj61d0ZC.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{codeowners-CxEKPWu0-C8r90Shi.js → codeowners-C8r90Shi.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{codeql-BwdvwJnv-oeQT6MSM.js → codeql-oeQT6MSM.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{common-lisp-DJtwvW4V-Cv5bFMCO.js → common-lisp-Cv5bFMCO.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{cue-B5KneM5p-CE9AQfxI.js → cue-CE9AQfxI.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{cypher-D8Bb8Cq2-ClKdZ_lG.js → cypher-ClKdZ_lG.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{d-BQY8TDgQ-qD-0Kul2.js → d-qD-0Kul2.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{dark-plus-BCxGtnt0-Cs2F2srj.js → dark-plus-BGuiqa1B-Cs2F2srj.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{dax-S-Noo-ku-BkyTk9wS.js → dax-BkyTk9wS.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{desktop-BgOb7Aj4-Dlh5hvp9.js → desktop-Dlh5hvp9.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{diff-Blb4MjsC-woXpYk--.js → diff-woXpYk--.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{dracula-fPErIccy-BHWKrbxM.js → dracula-0CVA2XY5-BHWKrbxM.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{dracula-soft-BrQbqXs8-5eyTD99u.js → dracula-soft-Dk9bpbVU-5eyTD99u.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{dream-maker-CngiPd8U-DW3nJb8Q.js → dream-maker-DW3nJb8Q.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{everforest-dark-gTeBQCos-sB-x3p7T.js → everforest-dark-CRjTbhh5-sB-x3p7T.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{everforest-light-DUjxsp-2-Df2xbC6M.js → everforest-light-CEeYFLn8-Df2xbC6M.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{fennel-B3wtZRne-DQxkIbk2.js → fennel-DQxkIbk2.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{fish-D7qAeWQz-BJitypiv.js → fish-BJitypiv.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{fluent-BjfpB34g-C03EYrpw.js → fluent-C03EYrpw.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{fortran-free-form-yxJ7igsv-CYNrtFtB.js → fortran-free-form-CYNrtFtB.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{gdshader-D7JfdFV3-CBce3t8t.js → gdshader-CBce3t8t.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{genie-DnK2KWIP-CV2tkWYe.js → genie-CV2tkWYe.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{gherkin-D6Lr12YQ-DExj1W_8.js → gherkin-DExj1W_8.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{github-dark-Dg1hl_QD-C-LZuMrd.js → github-dark-BXgKmOw_-C-LZuMrd.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{github-dark-default-Dym2P842-DXG-b-1a.js → github-dark-default-DzJQXksd-DXG-b-1a.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{github-dark-dimmed-7iDMx266-Bx1FflLF.js → github-dark-dimmed-B1pEmGtS-Bx1FflLF.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{github-dark-high-contrast-DkV2fyPG-B_tTalzw.js → github-dark-high-contrast-BkHIa6jc-B_tTalzw.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{github-light-BQKYgor9-EUqPIrTm.js → github-light-BKRlUbaB-EUqPIrTm.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{github-light-default-BZhIfzqQ-BXViO-2h.js → github-light-default-BU3eYkzs-BXViO-2h.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{github-light-high-contrast-C7zHfx4C-B68TUdTA.js → github-light-high-contrast-B3MumDcI-B68TUdTA.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{gleam-CTllUdfC-CSRkHgEL.js → gleam-CSRkHgEL.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{gnuplot-DgWvVXI8-7GGW24-e.js → gnuplot-7GGW24-e.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{go-aXtTCanQ-rLFTqkRN.js → go-rLFTqkRN.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{groovy-Bw2Ku4bU-CacY0gHj.js → groovy-CacY0gHj.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{gruvbox-dark-hard-CQiwpF03-C820rvS2.js → gruvbox-dark-hard-B0ecF443-C820rvS2.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{gruvbox-dark-medium-BKe6XKBS-BPjhmG05.js → gruvbox-dark-medium-BQnpC39k-BPjhmG05.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{gruvbox-dark-soft-Cz6U6pa4-MrdJrrXF.js → gruvbox-dark-soft-DFZUgESr-MrdJrrXF.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{gruvbox-light-hard-DgU_i19B-BC_s9l72.js → gruvbox-light-hard-CuB_LOJr-BC_s9l72.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{gruvbox-light-medium-D64I06ER-BAWPOn9u.js → gruvbox-light-medium-idDHgxjs-BAWPOn9u.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{gruvbox-light-soft-B-YxAs1L-BSMLrYjP.js → gruvbox-light-soft-CfWH49MY-BSMLrYjP.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{haskell-CfGsE1Cf-D8IpX4py.js → haskell-D8IpX4py.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{hcl-DHg_Osgo-Dh228itO.js → hcl-Dh228itO.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{hjson-Cuaphql8-CxZEssPk.js → hjson-CxZEssPk.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{hlsl-BJLUNfne-Cvrh5tZx.js → hlsl-Cvrh5tZx.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{horizon-bright-CPyV7XIA-DSNQnXHK.js → horizon-bright-Ba6M8QSV-DSNQnXHK.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{horizon-DYoumREk-CE9ld1lL.js → horizon-h92C5OlZ-CE9ld1lL.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{houston-B3NWfq0V-CsvMBhTu.js → houston-EQnPegWq-CsvMBhTu.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{hy-CJKxDzbh-CZbG8q4J.js → hy-CZbG8q4J.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{ini-C24lZfdM-B5eOa1yu.js → ini-B5eOa1yu.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{jsonnet-BafgE6cE-CJTPZ8u_.js → jsonnet-CJTPZ8u_.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{jssm-Dx5A5sBR-DXw9l8Rf.js → jssm-DXw9l8Rf.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{kdl-DkTyxPcj-CsD5j6eV.js → kdl-CsD5j6eV.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{kotlin-BHE8CoV9-DhhofPvG.js → kotlin-DhhofPvG.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{kusto-6FdaWTzR-C7mF5XQf.js → kusto-C7mF5XQf.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{laserwave-DkfjiLxA-C_8bwKvT.js → laserwave-IxBH_3yW-C_8bwKvT.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{lean-BwOKScIt-CewbzKMR.js → lean-CewbzKMR.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{light-plus-DuO6rXxZ-DVQuIRkW.js → light-plus-S8JBx6is-DVQuIRkW.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{log-Dad54gsi-BNLmms1o.js → log-BNLmms1o.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{logo-DTXV8SKw-Cluzi2Zq.js → logo-Cluzi2Zq.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{make-B2ukzWs3-Dixweg8N.js → make-Dixweg8N.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{material-theme-C_YrwKEa-Bm3Qr25_.js → material-theme-D1f3HBq--Bm3Qr25_.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{material-theme-darker-DB3YVCla-2IIEA8gg.js → material-theme-darker-ExzYhT0j-2IIEA8gg.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{material-theme-lighter-D2fgNrBK-uhdI0v04.js → material-theme-lighter-D6gH9nnA-uhdI0v04.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{material-theme-ocean-DVy172Rs-CHQ94UKr.js → material-theme-ocean-D1w5BPAa-CHQ94UKr.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{material-theme-palenight-uMMwIfpG-B5W6OYN7.js → material-theme-palenight-CkqWmVpF-B5W6OYN7.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{matlab-CfRK6IMC-D7qyCx1q.js → matlab-D7qyCx1q.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{min-dark-C7Ec8I_2-BSWPekZh.js → min-dark-npsJH98j-BSWPekZh.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{min-light-Be6foA7m-DDpmG2fV.js → min-light-DUk1XsVt-DDpmG2fV.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{mipsasm-EL46Y4Xg-BMqwQI7S.js → mipsasm-BMqwQI7S.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{narrat-D9rrR0H5-_X_XdTYD.js → narrat-_X_XdTYD.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{night-owl-CqqbiLON-DhmEMT88.js → night-owl-BS7V-av_-DhmEMT88.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{night-owl-light-B9vYgGRt-eJ-hLW7d.js → night-owl-light-CZtRawYE-eJ-hLW7d.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{nix-Bm1Ax-Z3-IvuFDN5E.js → nix-IvuFDN5E.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{nord-BZ9DVmcN-Cb4Vim4T.js → nord-BFh54Nqz-Cb4Vim4T.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{objective-c-6dJF64Dt-D1A_Heim.js → objective-c-D1A_Heim.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{objective-cpp-_ooRQ-PY-BsSzOQcm.js → objective-cpp-BsSzOQcm.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{ocaml-vm1Y8An6-O90oeIOV.js → ocaml-O90oeIOV.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{odin-vjOJSyfV-B1RWQWA5.js → odin-B1RWQWA5.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{one-light-CzxBC38_-D7Lr4KcI.js → one-light-gmHK3iK6-D7Lr4KcI.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{openscad-jn-f1Ocl-BUDT5pXO.js → openscad-BUDT5pXO.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{pascal-D8-gNZ2I-4ZHwLPI5.js → pascal-4ZHwLPI5.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{pkl-C7lWzykI-ot-7Btpt.js → pkl-ot-7Btpt.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{plastic-BGkJ2das-DQwYfKfQ.js → plastic-DtdaCjub-DQwYfKfQ.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{plsql-DCNXypXO-DGHpHOYJ.js → plsql-DGHpHOYJ.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{po-IjpR1yHO-BiJDBrnU.js → po-BiJDBrnU.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{poimandres-CpnMgZuc-DRFjx7u4.js → poimandres-Hdda6aHK-DRFjx7u4.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{polar-4pN1JrJ8-C7UOKdEL.js → polar-C7UOKdEL.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{powerquery-SrvS_NBM-DNMTfnFr.js → powerquery-DNMTfnFr.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{prolog-Bacii3Ue-iXnhIJG7.js → prolog-iXnhIJG7.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{proto-ClkOcAW0-DB4EqR-F.js → proto-DB4EqR-F.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{puppet-CQlPp728-CDv2pdJW.js → puppet-CDv2pdJW.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{purescript-CLpaGMbw-9MfHhQsQ.js → purescript-9MfHhQsQ.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{qmldir-Dz8ttxjf-DCQb3MpD.js → qmldir-DCQb3MpD.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{qss-Iltvkn1C-Fe1Jh2GI.js → qss-Fe1Jh2GI.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{racket-DRv7j6nv-DcIDlBhZ.js → racket-DcIDlBhZ.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{raku-DI9yGpeW-B3gFvitq.js → raku-B3gFvitq.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{reg-DpJf71oO-CRGYupPL.js → reg-CRGYupPL.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{rel-BT0iIKKw-BtDbiS_P.js → rel-BtDbiS_P.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{riscv-CvzikGLb-Ckw8ddFX.js → riscv-Ckw8ddFX.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{chunk-DK3Fl9T5.js → rolldown-runtime-DK3Fl9T5.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{ron-DzAo6FTJ-VUp2lXgN.js → ron-VUp2lXgN.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{rosmsg-CyYq6XdT-CAekHB0j.js → rosmsg-CAekHB0j.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{scheme-D3A2QBtM-DQCgrYNe.js → scheme-DQCgrYNe.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{sdbl-CdQg5gu1-bTVj8UrX.js → sdbl-bTVj8UrX.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{slack-dark-BS2AOOdo-DnToyrRv.js → slack-dark-v8P_eXr6-DnToyrRv.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{slack-ochin-Nc7Cucwk-B2OO5cIa.js → slack-ochin-D8SyEdKz-B2OO5cIa.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{snazzy-light-C2ghKZXY-4G7pJPwS.js → snazzy-light-BtkQkvXb-4G7pJPwS.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{splunk-xP_ZjUH2-BC2Px7Mm.js → splunk-BC2Px7Mm.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{ssh-config-DXFPABYp-BgfXC-Er.js → ssh-config-BgfXC-Er.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{synthwave-84-CPtGYwOz-nFMaYfgc.js → synthwave-84-DcsXCF_c-nFMaYfgc.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{systemd-DFbUltlW-BxMlprV5.js → systemd-BxMlprV5.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{talonscript-CLxaFu-b-CohzipZa.js → talonscript-CohzipZa.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{tasl-_AAbKiWM-DMoTqEGO.js → tasl-DMoTqEGO.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{tcl-DLe0Tsfm-CZd0xW_V.js → tcl-CZd0xW_V.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{terraform-v0KN9QQh-DswuEJGm.js → terraform-DswuEJGm.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{tokyo-night-BKYoawWu-oM2G3aXe.js → tokyo-night-Bvpqduda-oM2G3aXe.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{toml-B7BHZIqX-CcmNWLt0.js → toml-CcmNWLt0.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{tsv-BorGVq2Z-sltzmVWM.js → tsv-sltzmVWM.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{turtle-BEG5g_eT-ByJddavk.js → turtle-ByJddavk.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{vala-BnnASFsX-zf12oZj6.js → vala-zf12oZj6.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{vesper-ClvmKzqD-DdrHHSXu.js → vesper-CfxmMOy3-DdrHHSXu.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{vhdl-Co2XFKY7-BroJfC0k.js → vhdl-BroJfC0k.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{viml-BReTXeDA-DvXPmvsu.js → viml-DvXPmvsu.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{vitesse-black-BY6Qtyq--fwtXNY1n.js → vitesse-black-D9-_1mjV-fwtXNY1n.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{vitesse-dark-BT-v_EgR-BZCL-v6S.js → vitesse-dark-DlSMLlr9-BZCL-v6S.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{vitesse-light-Box8ZFz6-VbXTXTou.js → vitesse-light-KRWWWztf-VbXTXTou.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{vyper-C6KGx0YU-CgoNMtux.js → vyper-CgoNMtux.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{wenyan-BeysbCrW-C8pVoKbM.js → wenyan-C8pVoKbM.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{wikitext-wjhjmmzD-ClFFjSW2.js → wikitext-ClFFjSW2.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{wolfram-CcZPfnLd-DLL8P-h_.js → wolfram-DLL8P-h_.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{zenscript-BoijL7rl-BnlCZFoB.js → zenscript-BnlCZFoB.js} +0 -0
- /package/dist/console/runtime/public/console/chunks/{zig-lTQvxhLD-CMLA9XwU.js → zig-CMLA9XwU.js} +0 -0
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import { t as viteHubErrorDiagnostics } from "./error-diagnostics-n7V-_SPy.js";
|
|
2
|
+
import { readFileSync } from "node:fs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
import { createHash } from "node:crypto";
|
|
5
|
+
//#region src/console/fixture.ts
|
|
6
|
+
const consoleFixtureEnvironmentVariable = "VITEHUB_CONSOLE_FIXTURE";
|
|
7
|
+
const consoleFixtureFallbackAgentName = "Fixture";
|
|
8
|
+
const maximumAgentNameLength = 512;
|
|
9
|
+
const maximumInvocationIdLength = 512;
|
|
10
|
+
const invocationStatusSchema = v.picklist([
|
|
11
|
+
"cancelled",
|
|
12
|
+
"completed",
|
|
13
|
+
"failed",
|
|
14
|
+
"pending",
|
|
15
|
+
"running"
|
|
16
|
+
]);
|
|
17
|
+
const observationTypeSchema = v.picklist([
|
|
18
|
+
"approval",
|
|
19
|
+
"capability",
|
|
20
|
+
"error",
|
|
21
|
+
"lifecycle",
|
|
22
|
+
"policy",
|
|
23
|
+
"run"
|
|
24
|
+
]);
|
|
25
|
+
const recordSchema = v.record(v.string(), v.unknown());
|
|
26
|
+
const stringSchema = v.string();
|
|
27
|
+
const booleanSchema = v.boolean();
|
|
28
|
+
const numberSchema = v.number();
|
|
29
|
+
const diagnosticScalarSchema = v.union([v.string(), v.pipe(v.number(), v.finite())]);
|
|
30
|
+
const annotationValueSchema = v.union([
|
|
31
|
+
v.boolean(),
|
|
32
|
+
v.pipe(v.number(), v.finite()),
|
|
33
|
+
v.string(),
|
|
34
|
+
v.null()
|
|
35
|
+
]);
|
|
36
|
+
const invocationFields = /* @__PURE__ */ new Set([
|
|
37
|
+
"agentName",
|
|
38
|
+
"annotations",
|
|
39
|
+
"cancelledAt",
|
|
40
|
+
"channelId",
|
|
41
|
+
"completedAt",
|
|
42
|
+
"createdAt",
|
|
43
|
+
"cursor",
|
|
44
|
+
"error",
|
|
45
|
+
"failedAt",
|
|
46
|
+
"id",
|
|
47
|
+
"observations",
|
|
48
|
+
"observationsTruncated",
|
|
49
|
+
"origin",
|
|
50
|
+
"startedAt",
|
|
51
|
+
"status",
|
|
52
|
+
"threadId",
|
|
53
|
+
"traceId",
|
|
54
|
+
"updatedAt"
|
|
55
|
+
]);
|
|
56
|
+
function record(value) {
|
|
57
|
+
if (Array.isArray(value)) return;
|
|
58
|
+
const result = v.safeParse(recordSchema, value);
|
|
59
|
+
return result.success ? result.output : void 0;
|
|
60
|
+
}
|
|
61
|
+
function assertJsonValue(value, path) {
|
|
62
|
+
if (v.safeParse(annotationValueSchema, value).success) return;
|
|
63
|
+
if (v.safeParse(numberSchema, value).success) throw viteHubErrorDiagnostics.VITE_HUB_R0007({ message: `[vitehub] Console fixture ${path} must be a finite number.` });
|
|
64
|
+
if (Array.isArray(value)) {
|
|
65
|
+
for (const [index, item] of value.entries()) assertJsonValue(item, `${path}[${index}]`);
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
const input = record(value);
|
|
69
|
+
if (!input) throw viteHubErrorDiagnostics.VITE_HUB_R0008({ message: `[vitehub] Console fixture ${path} must be a JSON value.` });
|
|
70
|
+
for (const [key, item] of Object.entries(input)) assertJsonValue(item, `${path}[${JSON.stringify(key)}]`);
|
|
71
|
+
}
|
|
72
|
+
function requiredString(value, path) {
|
|
73
|
+
const result = v.safeParse(stringSchema, value);
|
|
74
|
+
if (!result.success || !result.output.trim()) throw viteHubErrorDiagnostics.VITE_HUB_R0009({ message: `[vitehub] Console fixture ${path} must be a non-empty string.` });
|
|
75
|
+
return result.output;
|
|
76
|
+
}
|
|
77
|
+
function optionalString(value, path) {
|
|
78
|
+
return value === void 0 ? void 0 : requiredString(value, path);
|
|
79
|
+
}
|
|
80
|
+
function timestamp(value, path) {
|
|
81
|
+
const resolved = requiredString(value, path);
|
|
82
|
+
if (!/(?:Z|[+-]\d{2}:\d{2})$/i.test(resolved) || !Number.isFinite(Date.parse(resolved))) throw viteHubErrorDiagnostics.VITE_HUB_R0010({ message: `[vitehub] Console fixture ${path} must be a valid timezone-qualified timestamp.` });
|
|
83
|
+
return resolved;
|
|
84
|
+
}
|
|
85
|
+
function optionalTimestamp(value, path) {
|
|
86
|
+
return value === void 0 ? void 0 : timestamp(value, path);
|
|
87
|
+
}
|
|
88
|
+
function agentName(value, path) {
|
|
89
|
+
const resolved = requiredString(value, path).trim();
|
|
90
|
+
assertWellFormedUnicode(resolved, path);
|
|
91
|
+
if (resolved.length > maximumAgentNameLength) throw viteHubErrorDiagnostics.VITE_HUB_R0011({ message: `[vitehub] Console fixture ${path} must be at most ${maximumAgentNameLength} characters.` });
|
|
92
|
+
return resolved;
|
|
93
|
+
}
|
|
94
|
+
function diagnosticScalar(value, path) {
|
|
95
|
+
if (value === void 0) return;
|
|
96
|
+
const result = v.safeParse(diagnosticScalarSchema, value);
|
|
97
|
+
if (result.success) return result.output;
|
|
98
|
+
throw viteHubErrorDiagnostics.VITE_HUB_R0012({ message: `[vitehub] Console fixture ${path} must be a string or finite number.` });
|
|
99
|
+
}
|
|
100
|
+
function diagnosticString(value, path) {
|
|
101
|
+
if (value === void 0) return;
|
|
102
|
+
const result = v.safeParse(stringSchema, value);
|
|
103
|
+
if (result.success) return result.output;
|
|
104
|
+
throw viteHubErrorDiagnostics.VITE_HUB_R0013({ message: `[vitehub] Console fixture ${path} must be a string.` });
|
|
105
|
+
}
|
|
106
|
+
function diagnosticError(value, path) {
|
|
107
|
+
const input = record(value);
|
|
108
|
+
if (!input) throw viteHubErrorDiagnostics.VITE_HUB_R0014({ message: `[vitehub] Console fixture ${path} must be an object.` });
|
|
109
|
+
const message = requiredString(input.message, `${path}.message`);
|
|
110
|
+
const cause = input.cause === void 0 ? void 0 : diagnosticError(input.cause, `${path}.cause`);
|
|
111
|
+
let errors;
|
|
112
|
+
if (input.errors !== void 0) {
|
|
113
|
+
if (!Array.isArray(input.errors)) throw viteHubErrorDiagnostics.VITE_HUB_R0015({ message: `[vitehub] Console fixture ${path}.errors must be an array.` });
|
|
114
|
+
errors = input.errors.map((error, index) => diagnosticError(error, `${path}.errors[${index}]`));
|
|
115
|
+
}
|
|
116
|
+
if (input.details !== void 0) {
|
|
117
|
+
const details = record(input.details);
|
|
118
|
+
if (!details) throw viteHubErrorDiagnostics.VITE_HUB_R0016({ message: `[vitehub] Console fixture ${path}.details must be an object.` });
|
|
119
|
+
assertJsonValue(details, `${path}.details`);
|
|
120
|
+
}
|
|
121
|
+
const code = diagnosticScalar(input.code, `${path}.code`);
|
|
122
|
+
const name = diagnosticString(input.name, `${path}.name`);
|
|
123
|
+
const requestId = diagnosticString(input.requestId, `${path}.requestId`);
|
|
124
|
+
const stack = diagnosticString(input.stack, `${path}.stack`);
|
|
125
|
+
const status = diagnosticScalar(input.status, `${path}.status`);
|
|
126
|
+
const statusCode = diagnosticScalar(input.statusCode, `${path}.statusCode`);
|
|
127
|
+
assertJsonValue(input, path);
|
|
128
|
+
return {
|
|
129
|
+
...input,
|
|
130
|
+
...cause ? { cause } : {},
|
|
131
|
+
...code !== void 0 ? { code } : {},
|
|
132
|
+
...errors ? { errors } : {},
|
|
133
|
+
message,
|
|
134
|
+
...name !== void 0 ? { name } : {},
|
|
135
|
+
...requestId !== void 0 ? { requestId } : {},
|
|
136
|
+
...stack !== void 0 ? { stack } : {},
|
|
137
|
+
...status !== void 0 ? { status } : {},
|
|
138
|
+
...statusCode !== void 0 ? { statusCode } : {}
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
function observation(value, path) {
|
|
142
|
+
const input = record(value);
|
|
143
|
+
if (!input) throw viteHubErrorDiagnostics.VITE_HUB_R0017({ message: `[vitehub] Console fixture ${path} must be an object.` });
|
|
144
|
+
if (!v.safeParse(observationTypeSchema, input.type).success) throw viteHubErrorDiagnostics.VITE_HUB_R0018({ message: `[vitehub] Console fixture ${path}.type is not a supported trace event type.` });
|
|
145
|
+
if (!Number.isSafeInteger(input.sequence) || Number(input.sequence) < 0) throw viteHubErrorDiagnostics.VITE_HUB_R0019({ message: `[vitehub] Console fixture ${path}.sequence must be a non-negative safe integer.` });
|
|
146
|
+
requiredString(input.name, `${path}.name`);
|
|
147
|
+
timestamp(input.timestamp, `${path}.timestamp`);
|
|
148
|
+
if (input.attributes !== void 0) {
|
|
149
|
+
const attributes = record(input.attributes);
|
|
150
|
+
if (!attributes) throw viteHubErrorDiagnostics.VITE_HUB_R0020({ message: `[vitehub] Console fixture ${path}.attributes must be an object.` });
|
|
151
|
+
assertJsonValue(attributes, `${path}.attributes`);
|
|
152
|
+
}
|
|
153
|
+
if (input.trace !== void 0) {
|
|
154
|
+
const trace = record(input.trace);
|
|
155
|
+
if (!trace) throw viteHubErrorDiagnostics.VITE_HUB_R0021({ message: `[vitehub] Console fixture ${path}.trace must be an object.` });
|
|
156
|
+
requiredString(trace.id, `${path}.trace.id`);
|
|
157
|
+
optionalString(trace.parentId, `${path}.trace.parentId`);
|
|
158
|
+
if (trace.sampled !== void 0 && !v.safeParse(booleanSchema, trace.sampled).success) throw viteHubErrorDiagnostics.VITE_HUB_R0022({ message: `[vitehub] Console fixture ${path}.trace.sampled must be a boolean.` });
|
|
159
|
+
}
|
|
160
|
+
assertJsonValue(input, path);
|
|
161
|
+
return value;
|
|
162
|
+
}
|
|
163
|
+
function invocation(value, index) {
|
|
164
|
+
const path = `invocations[${index}]`;
|
|
165
|
+
const input = record(value);
|
|
166
|
+
if (!input) throw viteHubErrorDiagnostics.VITE_HUB_R0023({ message: `[vitehub] Console fixture ${path} must be an object.` });
|
|
167
|
+
const status = v.safeParse(invocationStatusSchema, input.status);
|
|
168
|
+
if (!status.success) throw viteHubErrorDiagnostics.VITE_HUB_R0024({ message: `[vitehub] Console fixture ${path}.status is not a supported Agent Invocation status.` });
|
|
169
|
+
if (!Array.isArray(input.observations)) throw viteHubErrorDiagnostics.VITE_HUB_R0025({ message: `[vitehub] Console fixture ${path}.observations must be an array.` });
|
|
170
|
+
if (input.observationsTruncated !== void 0 && !v.safeParse(booleanSchema, input.observationsTruncated).success) throw viteHubErrorDiagnostics.VITE_HUB_R0026({ message: `[vitehub] Console fixture ${path}.observationsTruncated must be a boolean.` });
|
|
171
|
+
if (input.annotations !== void 0) {
|
|
172
|
+
const annotations = record(input.annotations);
|
|
173
|
+
if (!annotations) throw viteHubErrorDiagnostics.VITE_HUB_R0027({ message: `[vitehub] Console fixture ${path}.annotations must be an object.` });
|
|
174
|
+
for (const [key, value] of Object.entries(annotations)) if (!v.safeParse(annotationValueSchema, value).success) throw viteHubErrorDiagnostics.VITE_HUB_R0028({ message: `[vitehub] Console fixture ${path}.annotations[${JSON.stringify(key)}] must be a boolean, finite number, string, or null.` });
|
|
175
|
+
}
|
|
176
|
+
const error = input.error === void 0 ? void 0 : diagnosticError(input.error, `${path}.error`);
|
|
177
|
+
const cursor = input.cursor === void 0 ? void 0 : v.safeParse(stringSchema, input.cursor);
|
|
178
|
+
if (cursor && !cursor.success) throw viteHubErrorDiagnostics.VITE_HUB_R0029({ message: `[vitehub] Console fixture ${path}.cursor must be a string.` });
|
|
179
|
+
const observationSequences = /* @__PURE__ */ new Set();
|
|
180
|
+
const observations = input.observations.map((entry, observationIndex) => {
|
|
181
|
+
const parsed = observation(entry, `${path}.observations[${observationIndex}]`);
|
|
182
|
+
if (observationSequences.has(parsed.sequence)) throw viteHubErrorDiagnostics.VITE_HUB_R0030({ message: `[vitehub] Console fixture ${path} contains duplicate observation sequence ${parsed.sequence}.` });
|
|
183
|
+
observationSequences.add(parsed.sequence);
|
|
184
|
+
return parsed;
|
|
185
|
+
});
|
|
186
|
+
const resolvedAgentName = input.agentName === void 0 ? consoleFixtureFallbackAgentName : agentName(input.agentName, `${path}.agentName`);
|
|
187
|
+
for (const [key, value] of Object.entries(input)) if (!invocationFields.has(key)) assertJsonValue(value, `${path}[${JSON.stringify(key)}]`);
|
|
188
|
+
return {
|
|
189
|
+
...input,
|
|
190
|
+
agentName: resolvedAgentName,
|
|
191
|
+
cancelledAt: optionalTimestamp(input.cancelledAt, `${path}.cancelledAt`),
|
|
192
|
+
channelId: optionalString(input.channelId, `${path}.channelId`),
|
|
193
|
+
completedAt: optionalTimestamp(input.completedAt, `${path}.completedAt`),
|
|
194
|
+
createdAt: timestamp(input.createdAt, `${path}.createdAt`),
|
|
195
|
+
cursor: cursor?.output ?? String(index + 1),
|
|
196
|
+
...error ? { error } : {},
|
|
197
|
+
failedAt: optionalTimestamp(input.failedAt, `${path}.failedAt`),
|
|
198
|
+
id: invocationId(input.id, `${path}.id`),
|
|
199
|
+
observations,
|
|
200
|
+
origin: optionalString(input.origin, `${path}.origin`),
|
|
201
|
+
startedAt: optionalTimestamp(input.startedAt, `${path}.startedAt`),
|
|
202
|
+
status: status.output,
|
|
203
|
+
threadId: optionalString(input.threadId, `${path}.threadId`),
|
|
204
|
+
traceId: requiredString(input.traceId, `${path}.traceId`),
|
|
205
|
+
updatedAt: timestamp(input.updatedAt, `${path}.updatedAt`)
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
function invocationId(value, path) {
|
|
209
|
+
const id = requiredString(value, path);
|
|
210
|
+
if (id === "." || id === "..") throw viteHubErrorDiagnostics.VITE_HUB_R0031({ message: `[vitehub] Console fixture ${path} must not be a dot segment.` });
|
|
211
|
+
assertWellFormedUnicode(id, path);
|
|
212
|
+
if (id.length > maximumInvocationIdLength) throw viteHubErrorDiagnostics.VITE_HUB_R0032({ message: `[vitehub] Console fixture ${path} must be at most ${maximumInvocationIdLength} characters.` });
|
|
213
|
+
return id;
|
|
214
|
+
}
|
|
215
|
+
function assertWellFormedUnicode(value, path) {}
|
|
216
|
+
function parseConsoleFixture(value) {
|
|
217
|
+
const input = record(value);
|
|
218
|
+
if (!input) throw viteHubErrorDiagnostics.VITE_HUB_R0034({ message: "[vitehub] Console fixture must be a JSON object." });
|
|
219
|
+
if (input.version !== 1) throw viteHubErrorDiagnostics.VITE_HUB_R0035({ message: "[vitehub] Console fixture version must be 1." });
|
|
220
|
+
if (!Array.isArray(input.invocations)) throw viteHubErrorDiagnostics.VITE_HUB_R0036({ message: "[vitehub] Console fixture invocations must be an array." });
|
|
221
|
+
const invocations = input.invocations.map(invocation);
|
|
222
|
+
const ids = /* @__PURE__ */ new Set();
|
|
223
|
+
for (const item of invocations) {
|
|
224
|
+
if (ids.has(item.id)) throw viteHubErrorDiagnostics.VITE_HUB_R0037({ message: `[vitehub] Console fixture contains duplicate invocation id ${JSON.stringify(item.id)}.` });
|
|
225
|
+
ids.add(item.id);
|
|
226
|
+
}
|
|
227
|
+
return {
|
|
228
|
+
invocations,
|
|
229
|
+
version: 1
|
|
230
|
+
};
|
|
231
|
+
}
|
|
232
|
+
function consoleFixtureRevision(fixture) {
|
|
233
|
+
return createHash("sha256").update(JSON.stringify(fixture)).digest("hex");
|
|
234
|
+
}
|
|
235
|
+
function readConsoleFixture(file) {
|
|
236
|
+
let source;
|
|
237
|
+
try {
|
|
238
|
+
source = readFileSync(file, "utf8");
|
|
239
|
+
} catch (error) {
|
|
240
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
241
|
+
throw viteHubErrorDiagnostics.VITE_HUB_R0038({ message: `[vitehub] Could not read Console fixture ${JSON.stringify(file)}: ${message}` });
|
|
242
|
+
}
|
|
243
|
+
try {
|
|
244
|
+
return parseConsoleFixture(JSON.parse(source));
|
|
245
|
+
} catch (error) {
|
|
246
|
+
if (error instanceof SyntaxError) throw viteHubErrorDiagnostics.VITE_HUB_R0039({ message: `[vitehub] Console fixture ${JSON.stringify(file)} must contain valid JSON: ${error.message}` });
|
|
247
|
+
throw error;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
//#endregion
|
|
251
|
+
//#region src/console/retention.ts
|
|
252
|
+
/** D1 reports the size of the whole app database, not of the journal, so the D1 Console journal cannot apply maxSize. */
|
|
253
|
+
function consoleD1MaxSizeError() {
|
|
254
|
+
return viteHubErrorDiagnostics.VITE_HUB_B0016({ message: "[vitehub] console.retention.maxSize is not supported by the D1 Console journal, because D1 reports the size of the whole app database. Use maxAge or maxRecords, or set console.databaseUrl to a SQLite file." });
|
|
255
|
+
}
|
|
256
|
+
//#endregion
|
|
257
|
+
export { readConsoleFixture as i, consoleFixtureEnvironmentVariable as n, consoleFixtureRevision as r, consoleD1MaxSizeError as t };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import "node:module";
|
|
2
|
+
//#region \0rolldown/runtime.js
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __exportAll = (all, no_symbols) => {
|
|
5
|
+
let target = {};
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
11
|
+
return target;
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { __exportAll as t };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { H3RuntimeContext, H3RuntimeContextOptions, ViteHubContext, ViteHubRuntime, ViteHubStandardProps, getRuntimeContext, installStandardContext } from "@vite-hub/runtime/h3";
|
|
2
|
+
export { type H3RuntimeContext, type H3RuntimeContextOptions, type ViteHubContext, type ViteHubRuntime, type ViteHubStandardProps, getRuntimeContext, installStandardContext };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { n as taskRegistryKey, r as redactInspectionText } from "./registry-dSdI2Oa3.js";
|
|
2
|
+
import { runTask } from "nitro/task";
|
|
3
|
+
//#region src/task/runtime.ts
|
|
4
|
+
/** A failure with the fields that every surface reports. */
|
|
5
|
+
var TaskOperationError = class extends Error {
|
|
6
|
+
status;
|
|
7
|
+
code;
|
|
8
|
+
fix;
|
|
9
|
+
constructor(message, status, code, fix) {
|
|
10
|
+
super(redactInspectionText(message));
|
|
11
|
+
this.status = status;
|
|
12
|
+
this.code = code;
|
|
13
|
+
this.fix = fix;
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
const registryKey = Symbol.for(taskRegistryKey);
|
|
17
|
+
const scope = globalThis;
|
|
18
|
+
function registry() {
|
|
19
|
+
const tasks = scope[registryKey];
|
|
20
|
+
if (!tasks) throw new TaskOperationError("Nitro tasks are not enabled in this runtime.", 503, "TASK_RUNTIME_UNAVAILABLE", "Add a file to `server/tasks/` and build again. In Nuxt, use Nuxt's own task support.");
|
|
21
|
+
return tasks;
|
|
22
|
+
}
|
|
23
|
+
function isRecord(value) {
|
|
24
|
+
return Object(value) === value && !Array.isArray(value);
|
|
25
|
+
}
|
|
26
|
+
async function listTasks() {
|
|
27
|
+
return { tasks: (await Promise.all(Object.entries(registry()).map(async ([name, task]) => {
|
|
28
|
+
let description = task.meta?.description;
|
|
29
|
+
if (description === void 0 && task.resolve) try {
|
|
30
|
+
description = (await task.resolve()).meta?.description;
|
|
31
|
+
} catch {}
|
|
32
|
+
return description ? {
|
|
33
|
+
description: redactInspectionText(description),
|
|
34
|
+
name
|
|
35
|
+
} : { name };
|
|
36
|
+
}))).sort((left, right) => left.name.localeCompare(right.name)) };
|
|
37
|
+
}
|
|
38
|
+
/** Runs one task with Nitro's `runTask()`, so it uses the same bindings, runtime config, and plugins as a request. */
|
|
39
|
+
async function runNamedTask(name, payload = {}) {
|
|
40
|
+
if (!Object.hasOwn(registry(), name)) throw new TaskOperationError(`Task "${name}" does not exist.`, 404, "TASK_NOT_FOUND", "Run `vitehub task list` to see the registered tasks.");
|
|
41
|
+
const startedAt = performance.now();
|
|
42
|
+
try {
|
|
43
|
+
const output = await runTask(name, {
|
|
44
|
+
context: {},
|
|
45
|
+
payload
|
|
46
|
+
});
|
|
47
|
+
const result = {
|
|
48
|
+
durationMs: Math.round(performance.now() - startedAt),
|
|
49
|
+
name
|
|
50
|
+
};
|
|
51
|
+
if (isRecord(output) && output.result !== void 0) result.result = output.result;
|
|
52
|
+
return result;
|
|
53
|
+
} catch (error) {
|
|
54
|
+
console.error(`[vitehub] Task "${name}" failed.`, error);
|
|
55
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
56
|
+
throw (isRecord(error) && typeof error.status === "number" ? error.status : void 0) === 501 ? new TaskOperationError(message, 501, "TASK_NOT_IMPLEMENTED", "Export a default `defineTask()` with a `run()` method from the task file.") : new TaskOperationError(`Task "${name}" failed: ${message}`, 500, "TASK_FAILED", "Read the server log for the stack.");
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
//#endregion
|
|
60
|
+
export { listTasks, runNamedTask };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@vite-hub/sandbox/ssh";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@vite-hub/sandbox/task";
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { parseSync } from "vite";
|
|
2
|
+
//#region ../internal/src/build/scan-module.ts
|
|
3
|
+
/**
|
|
4
|
+
* Reads facts from JavaScript and TypeScript modules at build and dev time. The scanner parses each module once with
|
|
5
|
+
* the oxc parser that Vite ships through Rolldown, and never runs it. Values that are not static literals read as
|
|
6
|
+
* `dynamic`, so callers can report their own diagnostics.
|
|
7
|
+
*/
|
|
8
|
+
/** The value of an expression that the scanner cannot read without running the module. */
|
|
9
|
+
const dynamic = Symbol("dynamic");
|
|
10
|
+
function languageOf(file) {
|
|
11
|
+
if (/\.(?:c|m)?tsx$/i.test(file)) return "tsx";
|
|
12
|
+
if (/\.(?:c|m)?jsx$/i.test(file)) return "jsx";
|
|
13
|
+
if (/\.(?:c|m)?js$/i.test(file)) return "js";
|
|
14
|
+
return "ts";
|
|
15
|
+
}
|
|
16
|
+
/** Parses a module once. `file` selects the grammar from its extension and defaults to TypeScript. */
|
|
17
|
+
function scanModule(source, file = "module.ts") {
|
|
18
|
+
const result = parseSync(file, source, {
|
|
19
|
+
lang: languageOf(file),
|
|
20
|
+
preserveParens: false,
|
|
21
|
+
sourceType: "module"
|
|
22
|
+
});
|
|
23
|
+
return {
|
|
24
|
+
comments: result.comments,
|
|
25
|
+
errors: result.errors,
|
|
26
|
+
file,
|
|
27
|
+
program: result.program,
|
|
28
|
+
source
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function isNode(value) {
|
|
32
|
+
return typeof value === "object" && value !== null && "type" in value && typeof value.type === "string";
|
|
33
|
+
}
|
|
34
|
+
/** Visits `node` and its descendants. Return `false` from `visit` to skip the children of a node. */
|
|
35
|
+
function walk(node, visit, parent) {
|
|
36
|
+
if (visit(node, parent) === false) return;
|
|
37
|
+
const fields = node;
|
|
38
|
+
for (const key in fields) {
|
|
39
|
+
const child = fields[key];
|
|
40
|
+
if (typeof child !== "object" || child === null || key === "parent") continue;
|
|
41
|
+
if (Array.isArray(child)) {
|
|
42
|
+
for (const item of child) if (isNode(item)) walk(item, visit, node);
|
|
43
|
+
} else if (isNode(child)) walk(child, visit, node);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
/** Removes parentheses, `as`, `satisfies`, `!`, and `<T>` assertions around an expression. */
|
|
47
|
+
function unwrapExpression(node) {
|
|
48
|
+
while (node.type === "ParenthesizedExpression" || node.type === "TSAsExpression" || node.type === "TSSatisfiesExpression" || node.type === "TSNonNullExpression" || node.type === "TSTypeAssertion") node = node.expression;
|
|
49
|
+
return node;
|
|
50
|
+
}
|
|
51
|
+
/** A call argument without assertions, or undefined for a spread or missing argument. */
|
|
52
|
+
function argumentExpression(argument) {
|
|
53
|
+
return argument === void 0 || argument.type === "SpreadElement" ? void 0 : unwrapExpression(argument);
|
|
54
|
+
}
|
|
55
|
+
function staticKey(property) {
|
|
56
|
+
const key = property.key;
|
|
57
|
+
if (key.type === "Identifier" && !property.computed) return key.name;
|
|
58
|
+
if (key.type === "PrivateIdentifier") return;
|
|
59
|
+
const value = staticValue(key);
|
|
60
|
+
return typeof value === "string" || typeof value === "number" || typeof value === "bigint" ? String(value) : void 0;
|
|
61
|
+
}
|
|
62
|
+
/** The members of an object literal in source order. */
|
|
63
|
+
function objectProperties(object) {
|
|
64
|
+
return object.properties.map((node) => node.type === "SpreadElement" ? {
|
|
65
|
+
computed: false,
|
|
66
|
+
key: void 0,
|
|
67
|
+
node,
|
|
68
|
+
value: void 0
|
|
69
|
+
} : {
|
|
70
|
+
computed: node.computed,
|
|
71
|
+
key: staticKey(node),
|
|
72
|
+
node,
|
|
73
|
+
value: unwrapExpression(node.value)
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
/** The last member named `name`, which is the one that the object keeps at runtime. */
|
|
77
|
+
function findProperty(object, name) {
|
|
78
|
+
return objectProperties(object).findLast((property) => property.key === name);
|
|
79
|
+
}
|
|
80
|
+
/** The value of a template literal without substitutions. */
|
|
81
|
+
function staticTemplate(node) {
|
|
82
|
+
if (node.expressions.length) return dynamic;
|
|
83
|
+
return node.quasis[0]?.value.cooked ?? dynamic;
|
|
84
|
+
}
|
|
85
|
+
const escapePattern = /\\(u\{[^}]*\}?|u[\s\S]{0,4}|x[\s\S]{0,2}|0\d|[\s\S])/g;
|
|
86
|
+
/**
|
|
87
|
+
* True when a string literal has an escape that strict mode code rejects. The parser recovers from some bad escapes
|
|
88
|
+
* and accepts legacy octal escapes, so the scanner checks them again.
|
|
89
|
+
*/
|
|
90
|
+
function hasInvalidEscape(raw) {
|
|
91
|
+
for (const [, escape = ""] of raw.matchAll(escapePattern)) if (escape.startsWith("u{")) {
|
|
92
|
+
const code = escape.slice(2, -1);
|
|
93
|
+
if (!escape.endsWith("}") || !/^[\da-fA-F]+$/.test(code) || Number.parseInt(code, 16) > 1114111) return true;
|
|
94
|
+
} else if (escape.startsWith("u")) {
|
|
95
|
+
if (!/^u[\da-fA-F]{4}$/.test(escape)) return true;
|
|
96
|
+
} else if (escape.startsWith("x")) {
|
|
97
|
+
if (!/^x[\da-fA-F]{2}$/.test(escape)) return true;
|
|
98
|
+
} else if (/^(?:[1-9]|0\d)$/.test(escape)) return true;
|
|
99
|
+
return false;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Reads a literal value: strings, numbers, booleans, `null`, `undefined`, template literals without substitutions,
|
|
103
|
+
* and arrays and objects of these. Any other expression gives `dynamic`.
|
|
104
|
+
*/
|
|
105
|
+
function staticValue(node) {
|
|
106
|
+
node = unwrapExpression(node);
|
|
107
|
+
switch (node.type) {
|
|
108
|
+
case "Literal":
|
|
109
|
+
if ("regex" in node) return dynamic;
|
|
110
|
+
return typeof node.value === "string" && hasInvalidEscape(node.raw ?? "") ? dynamic : node.value;
|
|
111
|
+
case "TemplateLiteral": return staticTemplate(node);
|
|
112
|
+
case "Identifier": return node.name === "undefined" ? void 0 : dynamic;
|
|
113
|
+
case "UnaryExpression": {
|
|
114
|
+
if (node.operator === "void") return staticValue(node.argument) === dynamic ? dynamic : void 0;
|
|
115
|
+
const value = staticValue(node.argument);
|
|
116
|
+
if (node.operator === "-" && (typeof value === "number" || typeof value === "bigint")) return -value;
|
|
117
|
+
return dynamic;
|
|
118
|
+
}
|
|
119
|
+
case "ArrayExpression": {
|
|
120
|
+
const values = [];
|
|
121
|
+
for (const element of node.elements) {
|
|
122
|
+
if (element === null || element.type === "SpreadElement") return dynamic;
|
|
123
|
+
const value = staticValue(element);
|
|
124
|
+
if (value === dynamic) return dynamic;
|
|
125
|
+
values.push(value);
|
|
126
|
+
}
|
|
127
|
+
return values;
|
|
128
|
+
}
|
|
129
|
+
case "ObjectExpression": {
|
|
130
|
+
const values = {};
|
|
131
|
+
for (const property of objectProperties(node)) {
|
|
132
|
+
if (property.key === void 0 || property.node.type !== "Property" || property.node.kind !== "init" || property.node.method || property.value === void 0) return dynamic;
|
|
133
|
+
const value = staticValue(property.value);
|
|
134
|
+
if (value === dynamic) return dynamic;
|
|
135
|
+
Object.defineProperty(values, property.key, {
|
|
136
|
+
configurable: true,
|
|
137
|
+
enumerable: true,
|
|
138
|
+
value,
|
|
139
|
+
writable: true
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
return values;
|
|
143
|
+
}
|
|
144
|
+
default: return dynamic;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
//#endregion
|
|
148
|
+
export { unwrapExpression as a, staticValue as i, findProperty as n, walk as o, scanModule as r, argumentExpression as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@vite-hub/schedule/runtime/kv";
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
//#region src/console/runtime/client/schema-form.d.ts
|
|
2
|
+
/** One invalid field value at a field path, as an owner validator reports it, such as Content's `CONTENT_INVALID`. */
|
|
3
|
+
interface ConsoleFieldIssue {
|
|
4
|
+
field?: string;
|
|
5
|
+
message: string;
|
|
6
|
+
path: Array<string | number>;
|
|
7
|
+
}
|
|
8
|
+
/** Groups field issues by the dotted path of the form field they belong to, such as `author.name` or `tags`. */
|
|
9
|
+
declare function groupConsoleFieldIssues(issues: readonly ConsoleFieldIssue[]): Record<string, string[]>;
|
|
10
|
+
type ConsoleSchemaFieldKind = "blob" | "boolean" | "date" | "date-time" | "enum" | "integer" | "json" | "list" | "number" | "object" | "string" | "string-list" | "text";
|
|
11
|
+
interface ConsoleSchemaField {
|
|
12
|
+
description?: string;
|
|
13
|
+
enum?: Array<string | number>;
|
|
14
|
+
/** Child fields of an `object` field. */
|
|
15
|
+
fields?: ConsoleSchemaField[];
|
|
16
|
+
format?: string;
|
|
17
|
+
/** For an object that holds an image, such as `{ src, alt }`: the names of its source and alternative text fields. */
|
|
18
|
+
image?: {
|
|
19
|
+
alt?: string;
|
|
20
|
+
src: string;
|
|
21
|
+
};
|
|
22
|
+
/** The field of each item of a `list` field. */
|
|
23
|
+
item?: ConsoleSchemaField;
|
|
24
|
+
kind: ConsoleSchemaFieldKind;
|
|
25
|
+
label: string;
|
|
26
|
+
maxLength?: number;
|
|
27
|
+
maximum?: number;
|
|
28
|
+
minimum?: number;
|
|
29
|
+
name: string;
|
|
30
|
+
required: boolean;
|
|
31
|
+
schema: Record<string, unknown>;
|
|
32
|
+
}
|
|
33
|
+
/** `publishedAt` → `Published at`. */
|
|
34
|
+
declare function consoleFieldLabel(name: string): string;
|
|
35
|
+
/** Describes the form fields of an object JSON Schema, in property order. Unknown shapes become JSON fields. */
|
|
36
|
+
declare function describeConsoleSchemaFields(schema: Record<string, unknown>): ConsoleSchemaField[];
|
|
37
|
+
/** The value of a new list item: the defaults of an object, or an empty value of the item's kind. */
|
|
38
|
+
declare function consoleSchemaItemValue(item: ConsoleSchemaField): unknown;
|
|
39
|
+
/**
|
|
40
|
+
* The title and detail of a list item, such as `Product` and `/product` for a link `{ label, to }`. The title is the
|
|
41
|
+
* first filled field named like a title, else the first filled text field. The detail is the next filled text field,
|
|
42
|
+
* else the size of the first filled list, such as `Links 2`. Other values use their one-line summary.
|
|
43
|
+
*/
|
|
44
|
+
declare function consoleItemTitle(item: ConsoleSchemaField, value: unknown): {
|
|
45
|
+
detail?: string;
|
|
46
|
+
title: string;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* The filled children of an object value as label and text pairs, so a folded object reads `Label Book a demo To /demo`.
|
|
50
|
+
* A list counts its items, a switch that is on shows only its label, and a nested object shows its own summary.
|
|
51
|
+
*/
|
|
52
|
+
declare function consoleValueParts(field: Pick<ConsoleSchemaField, "fields">, value: unknown): Array<{
|
|
53
|
+
label: string;
|
|
54
|
+
text: string;
|
|
55
|
+
}>;
|
|
56
|
+
/** Initial values for a new document: each field's JSON Schema default, or nothing. */
|
|
57
|
+
declare function consoleSchemaDefaults(schema: Record<string, unknown>): Record<string, unknown>;
|
|
58
|
+
/** Removes empty optional values, so a cleared input does not save an empty string over a missing field. */
|
|
59
|
+
declare function compactConsoleFieldValues(fields: readonly ConsoleSchemaField[], values: Record<string, unknown>): Record<string, unknown>;
|
|
60
|
+
/**
|
|
61
|
+
* One line that summarises a field value, such as `London · GB · 51.5, -0.12` for a place with a nested position. Each
|
|
62
|
+
* child of an object joins with ` · `, a nested object or a list joins with `, `, a switch that is on shows its label,
|
|
63
|
+
* and a Blob reference shows its file name. Empty values are left out, and an empty result is `""`.
|
|
64
|
+
*/
|
|
65
|
+
declare function consoleValueSummary(field: Pick<ConsoleSchemaField, "fields" | "kind" | "label"> | undefined, value: unknown, nested?: boolean): string;
|
|
66
|
+
/**
|
|
67
|
+
* Rewrites a validator message as the field name plus the constraint. Messages from Standard Schema validators, such
|
|
68
|
+
* as `Invalid input: expected string, received undefined`, read as raw types; unknown messages keep their own words.
|
|
69
|
+
*/
|
|
70
|
+
declare function consoleFieldIssueMessage(label: string, message: string): string;
|
|
71
|
+
/** Rewrites the message of each field issue with the label of the field it belongs to, such as `Author name is required.` */
|
|
72
|
+
declare function humanizeConsoleFieldIssues(fields: readonly ConsoleSchemaField[], issues: readonly ConsoleFieldIssue[]): ConsoleFieldIssue[];
|
|
73
|
+
/**
|
|
74
|
+
* Checks one field value against the constraints the form can read from its JSON Schema, for validation on blur. The
|
|
75
|
+
* owner validators still run on save and stay the source of truth.
|
|
76
|
+
*/
|
|
77
|
+
declare function consoleFieldValueIssue(field: ConsoleSchemaField, value: unknown): string | undefined;
|
|
78
|
+
//#endregion
|
|
79
|
+
export { consoleFieldIssueMessage as a, consoleItemTitle as c, consoleValueParts as d, consoleValueSummary as f, humanizeConsoleFieldIssues as h, compactConsoleFieldValues as i, consoleSchemaDefaults as l, groupConsoleFieldIssues as m, ConsoleSchemaField as n, consoleFieldLabel as o, describeConsoleSchemaFields as p, ConsoleSchemaFieldKind as r, consoleFieldValueIssue as s, ConsoleFieldIssue as t, consoleSchemaItemValue as u };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
//#region ../internal/src/secret.ts
|
|
2
|
+
const secretEncoder = new TextEncoder();
|
|
3
|
+
/**
|
|
4
|
+
* Compares a request value with an expected secret in constant time for the length of `expected`. Returns `false`
|
|
5
|
+
* when either value is missing or empty. It uses no Node API, so it also runs in Worker runtimes.
|
|
6
|
+
*/
|
|
7
|
+
function isViteHubSecretEqual(actual, expected) {
|
|
8
|
+
if (!actual || !expected) return false;
|
|
9
|
+
const left = secretEncoder.encode(actual);
|
|
10
|
+
const right = secretEncoder.encode(expected);
|
|
11
|
+
let difference = left.length ^ right.length;
|
|
12
|
+
for (let index = 0; index < right.length; index += 1) difference |= (left[index] ?? 0) ^ right[index];
|
|
13
|
+
return difference === 0;
|
|
14
|
+
}
|
|
15
|
+
/** HKDF salt for every ViteHub-derived secret. A different salt than Nuxt's keeps both derivations apart for one shared root. */
|
|
16
|
+
const viteHubSecretSalt = "vitehub";
|
|
17
|
+
function hex(buffer) {
|
|
18
|
+
return [...new Uint8Array(buffer)].map((byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Reads the root app secret from an env record: `VITEHUB_SECRET`, then `NUXT_APP_SECRET`, so a Nuxt app needs only one
|
|
22
|
+
* secret. Returns `undefined` when neither is a non-empty string.
|
|
23
|
+
*/
|
|
24
|
+
function readViteHubSecret(env) {
|
|
25
|
+
for (const name of ["VITEHUB_SECRET", "NUXT_APP_SECRET"]) {
|
|
26
|
+
const value = env[name];
|
|
27
|
+
if (typeof value === "string" && value) return value;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Derives a 32-byte secret for one purpose from the root secret, hex-encoded. It uses HKDF-SHA256 with the salt
|
|
32
|
+
* `vitehub` and the purpose as `info`. The result is stable while the root is unchanged and distinct for every purpose.
|
|
33
|
+
* Throws a `TypeError` when the root is shorter than 32 characters or the purpose is empty. It uses no Node API.
|
|
34
|
+
*/
|
|
35
|
+
async function deriveViteHubSecret(root, purpose) {
|
|
36
|
+
if (root.length < 32) throw new TypeError(`[vitehub] VITEHUB_SECRET must be at least 32 characters. Generate one with \`openssl rand -base64 32\`.`);
|
|
37
|
+
if (!purpose) throw new TypeError("[vitehub] A derived secret requires a purpose.");
|
|
38
|
+
const key = await globalThis.crypto.subtle.importKey("raw", secretEncoder.encode(root), "HKDF", false, ["deriveBits"]);
|
|
39
|
+
return hex(await globalThis.crypto.subtle.deriveBits({
|
|
40
|
+
hash: "SHA-256",
|
|
41
|
+
info: secretEncoder.encode(purpose),
|
|
42
|
+
name: "HKDF",
|
|
43
|
+
salt: secretEncoder.encode(viteHubSecretSalt)
|
|
44
|
+
}, key, 256));
|
|
45
|
+
}
|
|
46
|
+
//#endregion
|
|
47
|
+
export { viteHubSecretSalt as i, isViteHubSecretEqual as n, readViteHubSecret as r, deriveViteHubSecret as t };
|