vite-hub 0.0.3 → 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/LICENSE +201 -0
- package/README.md +178 -26
- package/dist/_internal/agent/eve.d.ts +1 -0
- package/dist/_internal/agent/eve.js +2 -0
- 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 +5 -0
- package/dist/_internal/database/runtime/state.js +7 -0
- 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/workflow/runtime/cloudflare-runner.d.ts +1 -0
- package/dist/_internal/workflow/runtime/cloudflare-runner.js +2 -0
- package/dist/_internal/workflow/runtime/cloudflare-vite.d.ts +1 -0
- package/dist/_internal/workflow/runtime/cloudflare-vite.js +2 -0
- package/dist/_internal/workflow/runtime/vercel-vite.d.ts +1 -0
- package/dist/_internal/workflow/runtime/vercel-vite.js +2 -0
- package/dist/_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 +24 -1
- package/dist/agent/capabilities.js +56 -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/invocations/sqlite.d.ts +1 -0
- package/dist/agent/invocations/sqlite.js +2 -0
- package/dist/agent/mcp.d.ts +1 -0
- package/dist/agent/mcp.js +2 -0
- package/dist/agent/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/runtime/process.d.ts +1 -0
- package/dist/agent/runtime/process.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/vue.d.ts +1 -0
- package/dist/agent/vue.js +2 -0
- package/dist/agent-invocations.post-CFKMEy-h.js +432 -0
- package/dist/agent.d.ts +12 -1
- package/dist/agent.js +49 -1
- 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/vue.d.ts +1 -0
- package/dist/auth/vue.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 +346 -7
- 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/browser/actions.d.ts +1 -0
- package/dist/browser/actions.js +2 -0
- package/dist/channels/server.d.ts +1 -0
- package/dist/channels/server.js +2 -0
- package/dist/channels.d.ts +1 -0
- package/dist/channels.js +2 -0
- package/dist/cloudflare-env-CIZCKabz.js +70 -0
- package/dist/cloudflare-prerender.mjs +24 -0
- package/dist/cloudflare-types.d.ts +1 -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 +76 -0
- package/dist/console/runtime/client/request.js +471 -0
- 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 +26 -0
- package/dist/console/runtime/client/sections.js +84 -0
- 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 +30 -0
- package/dist/console/runtime/client/time.js +106 -0
- 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 +1755 -0
- 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 +146 -0
- 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 +264 -0
- package/dist/console/runtime/components/console-database.vue +634 -0
- package/dist/console/runtime/components/console-definitions.vue +506 -0
- 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 +255 -0
- package/dist/console/runtime/components/console-home.vue +627 -0
- package/dist/console/runtime/components/console-invocation-composer.vue +159 -0
- package/dist/console/runtime/components/console-kv.vue +537 -0
- package/dist/console/runtime/components/console-loading.vue +28 -0
- package/dist/console/runtime/components/console-mark.vue +5 -0
- 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 +851 -0
- 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 +112 -0
- 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 +94 -0
- package/dist/console/runtime/components/console-session-inspector.vue +763 -0
- package/dist/console/runtime/components/console-session-loading.vue +116 -0
- package/dist/console/runtime/components/console-session-navbar.vue +159 -0
- package/dist/console/runtime/components/console-session-trace-model.ts +414 -0
- package/dist/console/runtime/components/console-session-trace.vue +693 -0
- package/dist/console/runtime/components/console-session.css +1745 -0
- 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 +879 -0
- 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 +16 -0
- package/dist/console/runtime/console-route.js +49 -0
- package/dist/console/runtime/definitions.d.ts +2 -0
- package/dist/console/runtime/definitions.js +294 -0
- 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/abap-CLvhMVsD.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/andromeeda-BASpqCeJ-vGVdxbeo.js +1 -0
- package/dist/console/runtime/public/console/chunks/andromeeda-vGVdxbeo.js +1 -0
- package/dist/console/runtime/public/console/chunks/angular-html-_r0QlJAV.js +1 -0
- package/dist/console/runtime/public/console/chunks/angular-ts-BdSNcv2x.js +1 -0
- package/dist/console/runtime/public/console/chunks/apache-U0d_L8uA.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/applescript-CCn79oCD.js +1 -0
- package/dist/console/runtime/public/console/chunks/ara-4CJ0cIlV.js +1 -0
- package/dist/console/runtime/public/console/chunks/asciidoc-SCjQUq34.js +1 -0
- package/dist/console/runtime/public/console/chunks/asm-Cmm7eHzH.js +1 -0
- package/dist/console/runtime/public/console/chunks/astro-BuBCLsVb.js +1 -0
- package/dist/console/runtime/public/console/chunks/aurora-x-CDeNXAV0.js +1 -0
- package/dist/console/runtime/public/console/chunks/aurora-x-DugsLcii-CDeNXAV0.js +1 -0
- package/dist/console/runtime/public/console/chunks/awk-BWXHIvNe.js +1 -0
- package/dist/console/runtime/public/console/chunks/ayu-dark-BT3qdi3o-DluEY0Gj.js +1 -0
- package/dist/console/runtime/public/console/chunks/ayu-dark-DluEY0Gj.js +1 -0
- package/dist/console/runtime/public/console/chunks/ayu-light-BVZyHoh9-C3h-C4tm.js +1 -0
- package/dist/console/runtime/public/console/chunks/ayu-light-C3h-C4tm.js +1 -0
- package/dist/console/runtime/public/console/chunks/ayu-mirage-Bqwy1Gya.js +1 -0
- package/dist/console/runtime/public/console/chunks/ayu-mirage-XFwUVZQZ-Bqwy1Gya.js +1 -0
- package/dist/console/runtime/public/console/chunks/ballerina-B7ZEbQpA.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/berry-DKpUyyne.js +1 -0
- package/dist/console/runtime/public/console/chunks/bibtex-Ci_nEsc7.js +1 -0
- package/dist/console/runtime/public/console/chunks/bicep-CUHmPFLl.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/cadence-CQ2zXKGN.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/clojure-DqKBuwfJ.js +1 -0
- package/dist/console/runtime/public/console/chunks/cmake-Bj61d0ZC.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/codeowners-C8r90Shi.js +1 -0
- package/dist/console/runtime/public/console/chunks/codeql-oeQT6MSM.js +1 -0
- package/dist/console/runtime/public/console/chunks/coffee-C94_xO1a.js +1 -0
- package/dist/console/runtime/public/console/chunks/common-lisp-Cv5bFMCO.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/csv-Dx-8-gkx.js +1 -0
- package/dist/console/runtime/public/console/chunks/cue-CE9AQfxI.js +1 -0
- package/dist/console/runtime/public/console/chunks/cypher-ClKdZ_lG.js +1 -0
- package/dist/console/runtime/public/console/chunks/d-qD-0Kul2.js +1 -0
- package/dist/console/runtime/public/console/chunks/dark-plus-BGuiqa1B-Cs2F2srj.js +1 -0
- package/dist/console/runtime/public/console/chunks/dark-plus-Cs2F2srj.js +1 -0
- package/dist/console/runtime/public/console/chunks/dart-CHZY9Xhz.js +1 -0
- package/dist/console/runtime/public/console/chunks/dax-BkyTk9wS.js +1 -0
- package/dist/console/runtime/public/console/chunks/defu-DSJ9I3OW.js +1 -0
- package/dist/console/runtime/public/console/chunks/desktop-Dlh5hvp9.js +1 -0
- package/dist/console/runtime/public/console/chunks/diff-woXpYk--.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/dracula-0CVA2XY5-BHWKrbxM.js +1 -0
- package/dist/console/runtime/public/console/chunks/dracula-BHWKrbxM.js +1 -0
- package/dist/console/runtime/public/console/chunks/dracula-soft-5eyTD99u.js +1 -0
- package/dist/console/runtime/public/console/chunks/dracula-soft-Dk9bpbVU-5eyTD99u.js +1 -0
- package/dist/console/runtime/public/console/chunks/dream-maker-DW3nJb8Q.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/everforest-dark-CRjTbhh5-sB-x3p7T.js +1 -0
- package/dist/console/runtime/public/console/chunks/everforest-dark-sB-x3p7T.js +1 -0
- package/dist/console/runtime/public/console/chunks/everforest-light-CEeYFLn8-Df2xbC6M.js +1 -0
- package/dist/console/runtime/public/console/chunks/everforest-light-Df2xbC6M.js +1 -0
- package/dist/console/runtime/public/console/chunks/fennel-DQxkIbk2.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/fish-BJitypiv.js +1 -0
- package/dist/console/runtime/public/console/chunks/fluent-C03EYrpw.js +1 -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/fortran-free-form-CYNrtFtB.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/gdshader-CBce3t8t.js +1 -0
- package/dist/console/runtime/public/console/chunks/genie-CV2tkWYe.js +1 -0
- package/dist/console/runtime/public/console/chunks/gherkin-DExj1W_8.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-BXgKmOw_-C-LZuMrd.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-dark-C-LZuMrd.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-dark-default-DXG-b-1a.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-dark-default-DzJQXksd-DXG-b-1a.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-dark-dimmed-B1pEmGtS-Bx1FflLF.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-dark-dimmed-Bx1FflLF.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-dark-high-contrast-B_tTalzw.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-dark-high-contrast-BkHIa6jc-B_tTalzw.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-light-BKRlUbaB-EUqPIrTm.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-light-EUqPIrTm.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-light-default-BU3eYkzs-BXViO-2h.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-light-default-BXViO-2h.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-light-default-CC-h3suv.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-light-high-contrast-B3MumDcI-B68TUdTA.js +1 -0
- package/dist/console/runtime/public/console/chunks/github-light-high-contrast-B68TUdTA.js +1 -0
- package/dist/console/runtime/public/console/chunks/gleam-CSRkHgEL.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/gnuplot-7GGW24-e.js +1 -0
- package/dist/console/runtime/public/console/chunks/go-rLFTqkRN.js +1 -0
- package/dist/console/runtime/public/console/chunks/graphql-ChhlowTj.js +1 -0
- package/dist/console/runtime/public/console/chunks/groovy-CacY0gHj.js +1 -0
- package/dist/console/runtime/public/console/chunks/gruvbox-dark-hard-B0ecF443-C820rvS2.js +1 -0
- package/dist/console/runtime/public/console/chunks/gruvbox-dark-hard-C820rvS2.js +1 -0
- package/dist/console/runtime/public/console/chunks/gruvbox-dark-medium-BPjhmG05.js +1 -0
- package/dist/console/runtime/public/console/chunks/gruvbox-dark-medium-BQnpC39k-BPjhmG05.js +1 -0
- package/dist/console/runtime/public/console/chunks/gruvbox-dark-soft-DFZUgESr-MrdJrrXF.js +1 -0
- package/dist/console/runtime/public/console/chunks/gruvbox-dark-soft-MrdJrrXF.js +1 -0
- package/dist/console/runtime/public/console/chunks/gruvbox-light-hard-BC_s9l72.js +1 -0
- package/dist/console/runtime/public/console/chunks/gruvbox-light-hard-CuB_LOJr-BC_s9l72.js +1 -0
- package/dist/console/runtime/public/console/chunks/gruvbox-light-medium-BAWPOn9u.js +1 -0
- package/dist/console/runtime/public/console/chunks/gruvbox-light-medium-idDHgxjs-BAWPOn9u.js +1 -0
- package/dist/console/runtime/public/console/chunks/gruvbox-light-soft-BSMLrYjP.js +1 -0
- package/dist/console/runtime/public/console/chunks/gruvbox-light-soft-CfWH49MY-BSMLrYjP.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/haskell-D8IpX4py.js +1 -0
- package/dist/console/runtime/public/console/chunks/haxe-C8oCnwJJ.js +1 -0
- package/dist/console/runtime/public/console/chunks/hcl-Dh228itO.js +1 -0
- package/dist/console/runtime/public/console/chunks/hjson-CxZEssPk.js +1 -0
- package/dist/console/runtime/public/console/chunks/hlsl-Cvrh5tZx.js +1 -0
- package/dist/console/runtime/public/console/chunks/horizon-CE9ld1lL.js +1 -0
- package/dist/console/runtime/public/console/chunks/horizon-bright-Ba6M8QSV-DSNQnXHK.js +1 -0
- package/dist/console/runtime/public/console/chunks/horizon-bright-DSNQnXHK.js +1 -0
- package/dist/console/runtime/public/console/chunks/horizon-h92C5OlZ-CE9ld1lL.js +1 -0
- package/dist/console/runtime/public/console/chunks/houston-CsvMBhTu.js +1 -0
- package/dist/console/runtime/public/console/chunks/houston-EQnPegWq-CsvMBhTu.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/hy-CZbG8q4J.js +1 -0
- package/dist/console/runtime/public/console/chunks/icons-CDKEwnTx.js +1 -0
- package/dist/console/runtime/public/console/chunks/imba-DsUTQ-LC.js +1 -0
- package/dist/console/runtime/public/console/chunks/ini-B5eOa1yu.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/json5-BR5RXkoi.js +1 -0
- package/dist/console/runtime/public/console/chunks/jsonc-CYpm1nAK.js +1 -0
- package/dist/console/runtime/public/console/chunks/jsonc-D4AqO_oZ.js +1 -0
- package/dist/console/runtime/public/console/chunks/jsonl-CmCQp5Yx.js +1 -0
- package/dist/console/runtime/public/console/chunks/jsonnet-CJTPZ8u_.js +1 -0
- package/dist/console/runtime/public/console/chunks/jssm-DXw9l8Rf.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/kdl-CsD5j6eV.js +1 -0
- package/dist/console/runtime/public/console/chunks/kotlin-DhhofPvG.js +1 -0
- package/dist/console/runtime/public/console/chunks/kusto-C7mF5XQf.js +1 -0
- package/dist/console/runtime/public/console/chunks/laserwave-C_8bwKvT.js +1 -0
- package/dist/console/runtime/public/console/chunks/laserwave-IxBH_3yW-C_8bwKvT.js +1 -0
- package/dist/console/runtime/public/console/chunks/latex-DV9xWg1U.js +1 -0
- package/dist/console/runtime/public/console/chunks/lean-CewbzKMR.js +1 -0
- package/dist/console/runtime/public/console/chunks/less-DVTAwKKz.js +1 -0
- package/dist/console/runtime/public/console/chunks/light-plus-DVQuIRkW.js +1 -0
- package/dist/console/runtime/public/console/chunks/light-plus-S8JBx6is-DVQuIRkW.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/log-BNLmms1o.js +1 -0
- package/dist/console/runtime/public/console/chunks/logo-Cluzi2Zq.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-Dixweg8N.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/markdown-BYOwaDjH.js +1 -0
- package/dist/console/runtime/public/console/chunks/marko-BjHTe8yB.js +1 -0
- package/dist/console/runtime/public/console/chunks/material-theme-Bm3Qr25_.js +1 -0
- package/dist/console/runtime/public/console/chunks/material-theme-D1f3HBq--Bm3Qr25_.js +1 -0
- package/dist/console/runtime/public/console/chunks/material-theme-darker-2IIEA8gg.js +1 -0
- package/dist/console/runtime/public/console/chunks/material-theme-darker-ExzYhT0j-2IIEA8gg.js +1 -0
- package/dist/console/runtime/public/console/chunks/material-theme-lighter-D6gH9nnA-uhdI0v04.js +1 -0
- package/dist/console/runtime/public/console/chunks/material-theme-lighter-uhdI0v04.js +1 -0
- package/dist/console/runtime/public/console/chunks/material-theme-ocean-CHQ94UKr.js +1 -0
- package/dist/console/runtime/public/console/chunks/material-theme-ocean-D1w5BPAa-CHQ94UKr.js +1 -0
- package/dist/console/runtime/public/console/chunks/material-theme-palenight-B5W6OYN7.js +1 -0
- package/dist/console/runtime/public/console/chunks/material-theme-palenight-CkqWmVpF-B5W6OYN7.js +1 -0
- package/dist/console/runtime/public/console/chunks/matlab-D7qyCx1q.js +1 -0
- package/dist/console/runtime/public/console/chunks/mdc-Dsg_kn4_.js +1 -0
- package/dist/console/runtime/public/console/chunks/mdx-DQZ5AkYe.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/min-dark-BSWPekZh.js +1 -0
- package/dist/console/runtime/public/console/chunks/min-dark-npsJH98j-BSWPekZh.js +1 -0
- package/dist/console/runtime/public/console/chunks/min-light-DDpmG2fV.js +1 -0
- package/dist/console/runtime/public/console/chunks/min-light-DUk1XsVt-DDpmG2fV.js +1 -0
- package/dist/console/runtime/public/console/chunks/mipsasm-BMqwQI7S.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/narrat-_X_XdTYD.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/night-owl-BS7V-av_-DhmEMT88.js +1 -0
- package/dist/console/runtime/public/console/chunks/night-owl-DhmEMT88.js +1 -0
- package/dist/console/runtime/public/console/chunks/night-owl-light-CZtRawYE-eJ-hLW7d.js +1 -0
- package/dist/console/runtime/public/console/chunks/night-owl-light-eJ-hLW7d.js +1 -0
- package/dist/console/runtime/public/console/chunks/nim-C7z2AtKH.js +1 -0
- package/dist/console/runtime/public/console/chunks/nix-IvuFDN5E.js +1 -0
- package/dist/console/runtime/public/console/chunks/nord-BFh54Nqz-Cb4Vim4T.js +1 -0
- package/dist/console/runtime/public/console/chunks/nord-Cb4Vim4T.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/objective-c-D1A_Heim.js +1 -0
- package/dist/console/runtime/public/console/chunks/objective-cpp-BsSzOQcm.js +1 -0
- package/dist/console/runtime/public/console/chunks/ocaml-O90oeIOV.js +1 -0
- package/dist/console/runtime/public/console/chunks/odin-B1RWQWA5.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/one-light-D7Lr4KcI.js +1 -0
- package/dist/console/runtime/public/console/chunks/one-light-gmHK3iK6-D7Lr4KcI.js +1 -0
- package/dist/console/runtime/public/console/chunks/openscad-BUDT5pXO.js +1 -0
- package/dist/console/runtime/public/console/chunks/org-DYUOjVHR.js +1 -0
- package/dist/console/runtime/public/console/chunks/pascal-4ZHwLPI5.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/pierre-dark-DDWDl8g6-CpLgRqie.js +1 -0
- package/dist/console/runtime/public/console/chunks/pierre-dark-protanopia-deuteranopia-C35UMuvO-B35FxJx-.js +1 -0
- package/dist/console/runtime/public/console/chunks/pierre-dark-soft-Bb-4-biO-kZQmAZld.js +1 -0
- package/dist/console/runtime/public/console/chunks/pierre-dark-tritanopia-CIJISGWF-CpjhbsIL.js +1 -0
- package/dist/console/runtime/public/console/chunks/pierre-dark-vibrant-8oZzB3gw-CpQYzh95.js +1 -0
- package/dist/console/runtime/public/console/chunks/pierre-light-CWhW4NrH-CoaEpmwp.js +1 -0
- package/dist/console/runtime/public/console/chunks/pierre-light-protanopia-deuteranopia-u0U7N4Hn-0fSaH845.js +1 -0
- package/dist/console/runtime/public/console/chunks/pierre-light-soft-BCU6fuhO-lWLdNTOI.js +1 -0
- package/dist/console/runtime/public/console/chunks/pierre-light-tritanopia-3c8Yx3co-CEbqgOJL.js +1 -0
- package/dist/console/runtime/public/console/chunks/pierre-light-vibrant-Cwh332o_-D80Fkn33.js +1 -0
- package/dist/console/runtime/public/console/chunks/pkl-ot-7Btpt.js +1 -0
- package/dist/console/runtime/public/console/chunks/plastic-DQwYfKfQ.js +1 -0
- package/dist/console/runtime/public/console/chunks/plastic-DtdaCjub-DQwYfKfQ.js +1 -0
- package/dist/console/runtime/public/console/chunks/plsql-DGHpHOYJ.js +1 -0
- package/dist/console/runtime/public/console/chunks/po-BiJDBrnU.js +1 -0
- package/dist/console/runtime/public/console/chunks/poimandres-DRFjx7u4.js +1 -0
- package/dist/console/runtime/public/console/chunks/poimandres-Hdda6aHK-DRFjx7u4.js +1 -0
- package/dist/console/runtime/public/console/chunks/polar-C7UOKdEL.js +1 -0
- package/dist/console/runtime/public/console/chunks/postcss-BXeXVLqQ.js +1 -0
- package/dist/console/runtime/public/console/chunks/powerquery-DNMTfnFr.js +1 -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/prolog-iXnhIJG7.js +1 -0
- package/dist/console/runtime/public/console/chunks/proto-DB4EqR-F.js +1 -0
- package/dist/console/runtime/public/console/chunks/pug-ChIfOLQs.js +1 -0
- package/dist/console/runtime/public/console/chunks/puppet-CDv2pdJW.js +1 -0
- package/dist/console/runtime/public/console/chunks/purescript-9MfHhQsQ.js +1 -0
- package/dist/console/runtime/public/console/chunks/python-gzcpVVnB.js +1 -0
- package/dist/console/runtime/public/console/chunks/qml-BAjZcRJm.js +1 -0
- package/dist/console/runtime/public/console/chunks/qmldir-DCQb3MpD.js +1 -0
- package/dist/console/runtime/public/console/chunks/qss-Fe1Jh2GI.js +1 -0
- package/dist/console/runtime/public/console/chunks/r-CnJIyxn2.js +1 -0
- package/dist/console/runtime/public/console/chunks/racket-DcIDlBhZ.js +1 -0
- package/dist/console/runtime/public/console/chunks/raku-B3gFvitq.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/reg-CRGYupPL.js +1 -0
- package/dist/console/runtime/public/console/chunks/regexp-CF4aByxb.js +1 -0
- package/dist/console/runtime/public/console/chunks/rel-BtDbiS_P.js +1 -0
- package/dist/console/runtime/public/console/chunks/riscv-Ckw8ddFX.js +1 -0
- package/dist/console/runtime/public/console/chunks/rolldown-runtime-DK3Fl9T5.js +1 -0
- package/dist/console/runtime/public/console/chunks/ron-VUp2lXgN.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/rosmsg-CAekHB0j.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/sass-DXrisJhu.js +1 -0
- package/dist/console/runtime/public/console/chunks/scala-BiFt_7mu.js +1 -0
- package/dist/console/runtime/public/console/chunks/scheme-DQCgrYNe.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/sdbl-bTVj8UrX.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/slack-dark-DnToyrRv.js +1 -0
- package/dist/console/runtime/public/console/chunks/slack-dark-v8P_eXr6-DnToyrRv.js +1 -0
- package/dist/console/runtime/public/console/chunks/slack-ochin-B2OO5cIa.js +1 -0
- package/dist/console/runtime/public/console/chunks/slack-ochin-D8SyEdKz-B2OO5cIa.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/snazzy-light-4G7pJPwS.js +1 -0
- package/dist/console/runtime/public/console/chunks/snazzy-light-BtkQkvXb-4G7pJPwS.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/splunk-BC2Px7Mm.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/ssh-config-BgfXC-Er.js +1 -0
- package/dist/console/runtime/public/console/chunks/stata-5ekhIp_w.js +1 -0
- package/dist/console/runtime/public/console/chunks/stylus-B6D30XZt.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/synthwave-84-DcsXCF_c-nFMaYfgc.js +1 -0
- package/dist/console/runtime/public/console/chunks/synthwave-84-nFMaYfgc.js +1 -0
- package/dist/console/runtime/public/console/chunks/system-verilog-Dh5ihWbf.js +1 -0
- package/dist/console/runtime/public/console/chunks/systemd-BxMlprV5.js +1 -0
- package/dist/console/runtime/public/console/chunks/talonscript-CohzipZa.js +1 -0
- package/dist/console/runtime/public/console/chunks/tasl-DMoTqEGO.js +1 -0
- package/dist/console/runtime/public/console/chunks/tcl-CZd0xW_V.js +1 -0
- package/dist/console/runtime/public/console/chunks/templ-fdyF5dsr.js +1 -0
- package/dist/console/runtime/public/console/chunks/terraform-DswuEJGm.js +1 -0
- package/dist/console/runtime/public/console/chunks/tex-DHA47n0s.js +1 -0
- package/dist/console/runtime/public/console/chunks/tokyo-night-Bvpqduda-oM2G3aXe.js +1 -0
- package/dist/console/runtime/public/console/chunks/tokyo-night-oM2G3aXe.js +1 -0
- package/dist/console/runtime/public/console/chunks/toml-CcmNWLt0.js +1 -0
- package/dist/console/runtime/public/console/chunks/ts-tags-FylMzM_u.js +1 -0
- package/dist/console/runtime/public/console/chunks/tsv-sltzmVWM.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/turtle-ByJddavk.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/vala-zf12oZj6.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/vesper-CfxmMOy3-DdrHHSXu.js +1 -0
- package/dist/console/runtime/public/console/chunks/vesper-DdrHHSXu.js +1 -0
- package/dist/console/runtime/public/console/chunks/vhdl-BroJfC0k.js +1 -0
- package/dist/console/runtime/public/console/chunks/viml-DvXPmvsu.js +1 -0
- package/dist/console/runtime/public/console/chunks/vitesse-black-D9-_1mjV-fwtXNY1n.js +1 -0
- package/dist/console/runtime/public/console/chunks/vitesse-black-fwtXNY1n.js +1 -0
- package/dist/console/runtime/public/console/chunks/vitesse-dark-BZCL-v6S.js +1 -0
- package/dist/console/runtime/public/console/chunks/vitesse-dark-DlSMLlr9-BZCL-v6S.js +1 -0
- package/dist/console/runtime/public/console/chunks/vitesse-light-KRWWWztf-VbXTXTou.js +1 -0
- package/dist/console/runtime/public/console/chunks/vitesse-light-VbXTXTou.js +1 -0
- package/dist/console/runtime/public/console/chunks/vue-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/vyper-CgoNMtux.js +1 -0
- package/dist/console/runtime/public/console/chunks/wasm-BnjxR4X6.js +1 -0
- package/dist/console/runtime/public/console/chunks/wasm-ByWQv1Qj.js +1 -0
- package/dist/console/runtime/public/console/chunks/wenyan-C8pVoKbM.js +1 -0
- package/dist/console/runtime/public/console/chunks/wgsl-BsKzXJz4.js +1 -0
- package/dist/console/runtime/public/console/chunks/wikitext-ClFFjSW2.js +1 -0
- package/dist/console/runtime/public/console/chunks/wit-DdvCle-K.js +1 -0
- package/dist/console/runtime/public/console/chunks/wolfram-DLL8P-h_.js +1 -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/chunks/zenscript-BnlCZFoB.js +1 -0
- package/dist/console/runtime/public/console/chunks/zig-CMLA9XwU.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 +36 -0
- package/dist/console/runtime/rpc.js +4 -0
- package/dist/console/runtime/sections.d.ts +2 -0
- package/dist/console/runtime/sections.js +351 -0
- package/dist/console/runtime/server/agents.get.d.ts +17 -0
- package/dist/console/runtime/server/agents.get.js +23 -0
- 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 +2 -0
- package/dist/console/runtime/server/blob.js +19 -0
- 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 +2 -0
- package/dist/console/runtime/server/database.get.d.ts +70 -0
- package/dist/console/runtime/server/database.get.js +223 -0
- package/dist/console/runtime/server/database.js +18 -0
- package/dist/console/runtime/server/definitions.d.ts +2 -0
- package/dist/console/runtime/server/definitions.get.d.ts +11 -0
- package/dist/console/runtime/server/definitions.get.js +70 -0
- package/dist/console/runtime/server/definitions.js +97 -0
- 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 +10 -0
- package/dist/console/runtime/server/invocation-capabilities.get.js +22 -0
- 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 +47 -0
- package/dist/console/runtime/server/invocation.get.js +153 -0
- package/dist/console/runtime/server/invocations.get.d.ts +8 -0
- package/dist/console/runtime/server/invocations.get.js +227 -0
- 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 +4 -0
- package/dist/console/runtime/server/page.get.js +49 -0
- 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 +9 -0
- package/dist/console/runtime/server/search.get.js +103 -0
- package/dist/console/runtime/server/sections.d.ts +4 -0
- package/dist/console/runtime/server/sections.get.d.ts +22 -0
- package/dist/console/runtime/server/sections.get.js +27 -0
- package/dist/console/runtime/server/sections.js +4 -0
- 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 +7 -0
- package/dist/console/runtime/server/usage.get.js +99 -0
- package/dist/console/server.d.ts +22 -0
- package/dist/console/server.js +34 -0
- package/dist/console/ui.d.ts +201 -0
- package/dist/console/ui.js +3215 -0
- package/dist/console.d.ts +5 -0
- package/dist/console.js +4 -0
- 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-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/provider.d.ts +1 -0
- package/dist/env/provider.js +2 -0
- package/dist/env/seal.d.ts +1 -0
- package/dist/env/seal.js +2 -0
- package/dist/env.d.ts +1 -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 -44
- package/dist/index.js +1 -1
- 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 +15 -14
- package/dist/nuxt.js +1156 -25
- 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/realtime/server.d.ts +1 -0
- package/dist/realtime/server.js +2 -0
- package/dist/realtime/vue.d.ts +1 -0
- package/dist/realtime/vue.js +2 -0
- package/dist/realtime.d.ts +1 -0
- package/dist/realtime.js +2 -0
- package/dist/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/node.d.ts +1 -0
- package/dist/runtime/node.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/client.d.ts +1 -0
- package/dist/source/client.js +2 -0
- package/dist/source/file.d.ts +1 -0
- package/dist/source/file.js +2 -0
- package/dist/source/files.d.ts +1 -0
- package/dist/source/files.js +2 -0
- package/dist/source/github.d.ts +1 -0
- package/dist/source/github.js +2 -0
- package/dist/source/glob.d.ts +1 -0
- package/dist/source/glob.js +2 -0
- package/dist/source/markdown.d.ts +1 -0
- package/dist/source/markdown.js +2 -0
- package/dist/source/mcp.d.ts +1 -0
- package/dist/source/mcp.js +2 -0
- package/dist/source/server.d.ts +1 -0
- package/dist/source/server.js +2 -0
- package/dist/source/vite.d.ts +7 -0
- package/dist/source/vite.js +20 -0
- package/dist/source.d.ts +2 -1
- package/dist/source.js +1 -0
- 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/headless.d.ts +1 -0
- package/dist/ui/headless.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/nuxt.d.ts +3 -0
- package/dist/ui/nuxt.js +3 -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 +2662 -0
- 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/ui/vite.d.ts +3 -0
- package/dist/ui/vite.js +3 -0
- package/dist/ui.d.ts +1 -0
- package/dist/ui.js +2 -0
- package/dist/usage-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 +1356 -139
- 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/agent/harness/local-sandbox.d.ts +0 -1
- package/dist/agent/harness/local-sandbox.js +0 -2
- package/dist/box.d.ts +0 -1
- package/dist/box.js +0 -2
- package/dist/email/drivers/smtp.d.ts +0 -1
- package/dist/email/drivers/smtp.js +0 -2
- package/dist/schedule/runtime/driver.d.ts +0 -1
- package/dist/schedule/runtime/driver.js +0 -2
- package/dist/shell/providers/cloudflare.d.ts +0 -1
- package/dist/shell/providers/cloudflare.js +0 -2
- package/dist/src-o6zB-soj.js +0 -1135
- 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
|
@@ -0,0 +1,501 @@
|
|
|
1
|
+
import { ConsoleRequestError, requestConsole } from "./request.js";
|
|
2
|
+
import { dayLabel } from "./time.js";
|
|
3
|
+
//#region src/console/runtime/client/documents.ts
|
|
4
|
+
const consoleDocumentStates = [
|
|
5
|
+
"draft",
|
|
6
|
+
"changed",
|
|
7
|
+
"published",
|
|
8
|
+
"deleted"
|
|
9
|
+
];
|
|
10
|
+
/** Calls the owner document actions of one document editor section. */
|
|
11
|
+
function createConsoleDocumentsClient(base, section) {
|
|
12
|
+
async function call(action, body, signal, keepalive) {
|
|
13
|
+
const options = {
|
|
14
|
+
body,
|
|
15
|
+
method: "POST",
|
|
16
|
+
query: {
|
|
17
|
+
action,
|
|
18
|
+
section
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
if (signal) options.signal = signal;
|
|
22
|
+
if (keepalive) options.keepalive = true;
|
|
23
|
+
return await requestConsole(base, options);
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
list: (collection, query = {}) => call("list", {
|
|
27
|
+
collection,
|
|
28
|
+
...query
|
|
29
|
+
}),
|
|
30
|
+
overview: (options = {}) => call("overview", { ...options }),
|
|
31
|
+
search: async (query, options = {}) => (await call("search", options.limit ? {
|
|
32
|
+
limit: options.limit,
|
|
33
|
+
query
|
|
34
|
+
} : { query }, options.signal)).items,
|
|
35
|
+
get: (collection, id, ref) => call("get", ref === "published" ? {
|
|
36
|
+
collection,
|
|
37
|
+
id,
|
|
38
|
+
ref
|
|
39
|
+
} : {
|
|
40
|
+
collection,
|
|
41
|
+
id
|
|
42
|
+
}),
|
|
43
|
+
preview: (collection, id) => call("preview", {
|
|
44
|
+
collection,
|
|
45
|
+
id
|
|
46
|
+
}),
|
|
47
|
+
raw: (collection, id, revision) => call("raw", revision ? {
|
|
48
|
+
collection,
|
|
49
|
+
id,
|
|
50
|
+
revision
|
|
51
|
+
} : {
|
|
52
|
+
collection,
|
|
53
|
+
id
|
|
54
|
+
}),
|
|
55
|
+
save: (collection, id, input) => call("save", {
|
|
56
|
+
collection,
|
|
57
|
+
id,
|
|
58
|
+
...input
|
|
59
|
+
}),
|
|
60
|
+
remove: (collection, id, ifDigest, session, live) => call("remove", {
|
|
61
|
+
collection,
|
|
62
|
+
id,
|
|
63
|
+
ifDigest,
|
|
64
|
+
...session ? { session } : {},
|
|
65
|
+
...live ? { live } : {}
|
|
66
|
+
}),
|
|
67
|
+
publish: (collection, expect) => call("publish", {
|
|
68
|
+
collection,
|
|
69
|
+
expect: expect.map(({ digest, id }) => ({
|
|
70
|
+
digest,
|
|
71
|
+
id
|
|
72
|
+
}))
|
|
73
|
+
}),
|
|
74
|
+
revisions: (collection, id, cursor) => call("revisions", cursor ? {
|
|
75
|
+
collection,
|
|
76
|
+
cursor,
|
|
77
|
+
id
|
|
78
|
+
} : {
|
|
79
|
+
collection,
|
|
80
|
+
id
|
|
81
|
+
}),
|
|
82
|
+
restore: (collection, id, revision, ifDigest, session, live) => call("restore", {
|
|
83
|
+
collection,
|
|
84
|
+
id,
|
|
85
|
+
ifDigest,
|
|
86
|
+
revision,
|
|
87
|
+
...session ? { session } : {},
|
|
88
|
+
...live ? { live } : {}
|
|
89
|
+
}),
|
|
90
|
+
schedule: (collection, at, expect) => call("schedule", {
|
|
91
|
+
at,
|
|
92
|
+
collection,
|
|
93
|
+
expect: expect.map(({ digest, id }) => ({
|
|
94
|
+
digest,
|
|
95
|
+
id
|
|
96
|
+
}))
|
|
97
|
+
}),
|
|
98
|
+
unschedule: (collection, schedule) => call("unschedule", {
|
|
99
|
+
collection,
|
|
100
|
+
schedule
|
|
101
|
+
}),
|
|
102
|
+
session: (collection, id, input, options = {}) => call("session", {
|
|
103
|
+
collection,
|
|
104
|
+
id,
|
|
105
|
+
...input
|
|
106
|
+
}, void 0, options.keepalive),
|
|
107
|
+
sessions: (options = {}) => call("sessions", {
|
|
108
|
+
...options.collection ? { collection: options.collection } : {},
|
|
109
|
+
...options.session ? { session: options.session } : {}
|
|
110
|
+
}, options.signal)
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
function record(value) {
|
|
114
|
+
return value instanceof Object && !Array.isArray(value) ? Object.fromEntries(Object.entries(value)) : void 0;
|
|
115
|
+
}
|
|
116
|
+
/** "Fix 2 fields to publish": why Publish is off for a draft with field issues. */
|
|
117
|
+
function consoleFixFieldsLabel(count) {
|
|
118
|
+
return `Fix ${count === 1 ? "1 field" : `${count} fields`} to publish`;
|
|
119
|
+
}
|
|
120
|
+
/** Returns the field issues of a `CONTENT_INVALID` failure, or undefined for another error. */
|
|
121
|
+
function consoleFieldIssues(error) {
|
|
122
|
+
if (!(error instanceof ConsoleRequestError) || error.failureCode !== "CONTENT_INVALID") return;
|
|
123
|
+
const issues = error.details?.issues;
|
|
124
|
+
if (!Array.isArray(issues)) return [];
|
|
125
|
+
return issues.flatMap((issue) => {
|
|
126
|
+
if (!(issue instanceof Object) || Array.isArray(issue)) return [];
|
|
127
|
+
const message = Reflect.get(issue, "message");
|
|
128
|
+
const field = Reflect.get(issue, "field");
|
|
129
|
+
const path = Reflect.get(issue, "path");
|
|
130
|
+
if (String(message) !== message) return [];
|
|
131
|
+
const entry = {
|
|
132
|
+
message,
|
|
133
|
+
path: Array.isArray(path) ? path.filter((segment) => String(segment) === segment || Number.isInteger(segment)) : []
|
|
134
|
+
};
|
|
135
|
+
if (String(field) === field) entry.field = field;
|
|
136
|
+
return [entry];
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
/** The document a `CONTENT_INVALID` failure names, as `publish` reports a draft that no longer validates. */
|
|
140
|
+
function consoleInvalidDocument(error) {
|
|
141
|
+
if (!(error instanceof ConsoleRequestError) || error.failureCode !== "CONTENT_INVALID") return;
|
|
142
|
+
const id = error.details?.id;
|
|
143
|
+
return String(id) === id ? id : void 0;
|
|
144
|
+
}
|
|
145
|
+
/** The holder named by a `CONTENT_LEASE_HELD` failure: another tab holds the edit lease. Undefined for another error. */
|
|
146
|
+
function consoleLeaseHolder(error) {
|
|
147
|
+
if (!(error instanceof ConsoleRequestError) || error.failureCode !== "CONTENT_LEASE_HELD") return;
|
|
148
|
+
const holder = error.details?.holder;
|
|
149
|
+
const user = holder instanceof Object ? Reflect.get(holder, "user") : void 0;
|
|
150
|
+
const name = user instanceof Object ? Reflect.get(user, "name") : void 0;
|
|
151
|
+
const since = holder instanceof Object ? Reflect.get(holder, "since") : void 0;
|
|
152
|
+
return {
|
|
153
|
+
name: String(name) === name && name ? name : "Someone",
|
|
154
|
+
since: String(since) === since ? since : null
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
function isConsoleConflict(error) {
|
|
158
|
+
return error instanceof ConsoleRequestError && error.failureCode === "WORKSPACE_CONFLICT";
|
|
159
|
+
}
|
|
160
|
+
/** Returns the drafts that changed after review, from a publish conflict, or undefined for another error. */
|
|
161
|
+
function consolePublishMismatches(error) {
|
|
162
|
+
if (!isConsoleConflict(error) || !(error instanceof ConsoleRequestError) || error.details?.ref === "published") return;
|
|
163
|
+
return publishConflictDocuments(error);
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Returns the documents that also changed on the site after their draft started, from a publish conflict, or undefined
|
|
167
|
+
* for another error. Publishing them would erase that change, so the person compares and chooses first.
|
|
168
|
+
*/
|
|
169
|
+
function consolePublishedConflicts(error) {
|
|
170
|
+
if (!isConsoleConflict(error) || !(error instanceof ConsoleRequestError) || error.details?.ref !== "published") return;
|
|
171
|
+
return publishConflictDocuments(error);
|
|
172
|
+
}
|
|
173
|
+
function publishConflictDocuments(error) {
|
|
174
|
+
const documents = error.details?.documents;
|
|
175
|
+
if (!Array.isArray(documents)) return;
|
|
176
|
+
return documents.flatMap((entry) => {
|
|
177
|
+
if (!(entry instanceof Object) || Array.isArray(entry)) return [];
|
|
178
|
+
const id = Reflect.get(entry, "id");
|
|
179
|
+
const expected = Reflect.get(entry, "expected");
|
|
180
|
+
const actual = Reflect.get(entry, "actual");
|
|
181
|
+
if (String(id) !== id) return [];
|
|
182
|
+
return [{
|
|
183
|
+
actual: String(actual) === actual ? actual : null,
|
|
184
|
+
expected: String(expected) === expected ? expected : null,
|
|
185
|
+
id
|
|
186
|
+
}];
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
function consoleErrorMessage(error, fallback = "The request failed.") {
|
|
190
|
+
return error instanceof Error && error.message ? error.message : fallback;
|
|
191
|
+
}
|
|
192
|
+
/** A document id from a title: lowercase words joined by dashes, such as `hello-world`. */
|
|
193
|
+
function consoleDocumentSlug(value) {
|
|
194
|
+
return value.normalize("NFKD").replace(/[̀-ͯ]/g, "").toLowerCase().replace(/[^a-z0-9/]+/g, "-").replace(/\/+/g, "/").replace(/(^|\/)-+|-+(?=\/|$)/g, "$1").replace(/^\/+|\/+$/g, "");
|
|
195
|
+
}
|
|
196
|
+
/** Whether the server accepts an id: relative path segments without `.` or `..`. */
|
|
197
|
+
function isConsoleDocumentId(id) {
|
|
198
|
+
return Boolean(id) && !id.startsWith("/") && !id.endsWith("/") && !id.includes("\\") && id.split("/").every((segment) => segment && segment !== "." && segment !== "..");
|
|
199
|
+
}
|
|
200
|
+
function stableConsoleJSON(value) {
|
|
201
|
+
return JSON.stringify(value, (_key, entry) => {
|
|
202
|
+
const object = record(entry);
|
|
203
|
+
return object && !Array.isArray(entry) ? Object.fromEntries(Object.entries(object).sort(([left], [right]) => left.localeCompare(right))) : entry;
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
function consoleDocumentStateLabel(state) {
|
|
207
|
+
return {
|
|
208
|
+
changed: "Changed",
|
|
209
|
+
deleted: "Deleted",
|
|
210
|
+
draft: "Draft",
|
|
211
|
+
published: "Published"
|
|
212
|
+
}[state];
|
|
213
|
+
}
|
|
214
|
+
/** "Scheduled · Oct 20, 09:00" in the browser time zone, "Overdue · …", or "Schedule failed". */
|
|
215
|
+
function consoleDocumentScheduleLabel(schedule, locale) {
|
|
216
|
+
if (schedule.status === "failed") return "Schedule failed";
|
|
217
|
+
const date = new Date(schedule.at);
|
|
218
|
+
const when = Number.isNaN(date.getTime()) ? schedule.at : `${date.toLocaleDateString(locale, {
|
|
219
|
+
day: "numeric",
|
|
220
|
+
month: "short"
|
|
221
|
+
})}, ${date.toLocaleTimeString(locale, {
|
|
222
|
+
hour: "2-digit",
|
|
223
|
+
hour12: false,
|
|
224
|
+
minute: "2-digit"
|
|
225
|
+
})}`;
|
|
226
|
+
return `${schedule.status === "overdue" ? "Overdue" : "Scheduled"} · ${when}`;
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Why a schedule shows its status, for tooltips: when it publishes, why it failed, or, for an overdue one, the fix. The
|
|
230
|
+
* owner names the fix in `setup.schedule` when nothing runs scheduled publishes.
|
|
231
|
+
*/
|
|
232
|
+
function consoleDocumentScheduleHint(schedule, setup, locale) {
|
|
233
|
+
if (schedule.failure) return `${schedule.failure} Dismiss it from the menu, then schedule again.`;
|
|
234
|
+
const when = new Date(schedule.at).toLocaleString(locale, {
|
|
235
|
+
dateStyle: "medium",
|
|
236
|
+
timeStyle: "short"
|
|
237
|
+
});
|
|
238
|
+
if (schedule.status === "overdue") return `Was due ${when}. No run has published it yet. ${setup?.schedule ? consoleHintText(setup.schedule.message) : "Check that the Schedule that publishes scheduled documents runs on this host."}`;
|
|
239
|
+
return `Publishes this draft ${when}. Saving it again before then makes the schedule fail.`;
|
|
240
|
+
}
|
|
241
|
+
/** A setup hint as text and code parts: text in backticks, such as `defineContent()`, is code. */
|
|
242
|
+
function consoleHintParts(message) {
|
|
243
|
+
return message.split("`").map((text, index) => ({
|
|
244
|
+
code: index % 2 === 1,
|
|
245
|
+
text
|
|
246
|
+
})).filter((part) => part.text);
|
|
247
|
+
}
|
|
248
|
+
/** A setup hint as plain text, for tooltips and menu descriptions. */
|
|
249
|
+
function consoleHintText(message) {
|
|
250
|
+
return message.replaceAll("`", "");
|
|
251
|
+
}
|
|
252
|
+
/** The status dot of a schedule: a pending one is neutral, an overdue one a warning, and a failed one an error. */
|
|
253
|
+
function consoleDocumentScheduleTone(schedule) {
|
|
254
|
+
return {
|
|
255
|
+
failed: "error",
|
|
256
|
+
overdue: "warning",
|
|
257
|
+
pending: "neutral"
|
|
258
|
+
}[schedule.status];
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* The ISO timestamp of a local date (`2026-10-20`) and time (`09:00`, or `09:00:00` as `Time.toString()` writes it) in the
|
|
262
|
+
* browser time zone, or undefined when the inputs do not name a valid time.
|
|
263
|
+
*/
|
|
264
|
+
function consoleLocalScheduleTime(date, time) {
|
|
265
|
+
const match = /^(\d{4})-(\d{2})-(\d{2})$/.exec(date);
|
|
266
|
+
const clock = /^(\d{2}):(\d{2})(?::\d{2})?$/.exec(time);
|
|
267
|
+
if (!match || !clock) return;
|
|
268
|
+
const value = new Date(Number(match[1]), Number(match[2]) - 1, Number(match[3]), Number(clock[1]), Number(clock[2]));
|
|
269
|
+
return Number.isNaN(value.getTime()) ? void 0 : value.toISOString();
|
|
270
|
+
}
|
|
271
|
+
function consoleDocumentStateColor(state) {
|
|
272
|
+
return {
|
|
273
|
+
changed: "warning",
|
|
274
|
+
deleted: "error",
|
|
275
|
+
draft: "neutral",
|
|
276
|
+
published: "success"
|
|
277
|
+
}[state];
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* One folder for each glob of a collection. Ids are the path below the folder that all globs share, so a collection with
|
|
281
|
+
* one glob has one folder and an empty prefix.
|
|
282
|
+
*/
|
|
283
|
+
function consoleDocumentFolders(collection) {
|
|
284
|
+
const bases = (collection.paths?.length ? collection.paths : [collection.path]).map((glob) => {
|
|
285
|
+
const segments = glob.replace(/^\.?\/+/, "").split("/");
|
|
286
|
+
const wildcard = segments.findIndex((segment) => /[*?]/.test(segment));
|
|
287
|
+
return segments.slice(0, wildcard < 0 ? segments.length - 1 : wildcard).map((segment) => `${segment}/`).join("");
|
|
288
|
+
});
|
|
289
|
+
const split = bases.map((base) => base.split("/").filter(Boolean));
|
|
290
|
+
const shared = [];
|
|
291
|
+
for (const [index, segment] of (split[0] ?? []).entries()) {
|
|
292
|
+
if (!split.every((parts) => parts[index] === segment)) break;
|
|
293
|
+
shared.push(segment);
|
|
294
|
+
}
|
|
295
|
+
const common = shared.map((segment) => `${segment}/`).join("");
|
|
296
|
+
return [...new Set(bases)].map((folder) => ({
|
|
297
|
+
folder,
|
|
298
|
+
prefix: folder.slice(common.length)
|
|
299
|
+
}));
|
|
300
|
+
}
|
|
301
|
+
function consoleSingularLabel(collection) {
|
|
302
|
+
if (collection.singularLabel?.trim()) return collection.singularLabel.trim();
|
|
303
|
+
const word = collection.label.trim();
|
|
304
|
+
if (/\s/.test(word) || !/s$/i.test(word) || /(ss|us|is|news|series)$/i.test(word)) return "Document";
|
|
305
|
+
if (/ies$/i.test(word)) return `${word.slice(0, -3)}y`;
|
|
306
|
+
return word.slice(0, -1);
|
|
307
|
+
}
|
|
308
|
+
const filterPrefix = "filter.";
|
|
309
|
+
function queryText(value) {
|
|
310
|
+
const first = Array.isArray(value) ? value[0] : value;
|
|
311
|
+
return String(first) === first && first ? first : void 0;
|
|
312
|
+
}
|
|
313
|
+
/** Reads the list view from a route query. Unknown states, sorts, and filter fields fall back to the defaults. */
|
|
314
|
+
function parseConsoleListQuery(query, options) {
|
|
315
|
+
const state = queryText(query.state);
|
|
316
|
+
const sort = queryText(query.sort);
|
|
317
|
+
const filters = {};
|
|
318
|
+
for (const [key, value] of Object.entries(query)) {
|
|
319
|
+
const name = key.startsWith(filterPrefix) ? key.slice(7) : void 0;
|
|
320
|
+
const text = queryText(value);
|
|
321
|
+
if (name && text && options.facets.includes(name)) filters[name] = text;
|
|
322
|
+
}
|
|
323
|
+
return {
|
|
324
|
+
filters,
|
|
325
|
+
search: queryText(query.q) ?? "",
|
|
326
|
+
sort: sort && options.sorts.includes(sort) ? sort : options.sorts[0] ?? "id:asc",
|
|
327
|
+
state: state === "scheduled" ? state : consoleDocumentStates.find((entry) => entry === state) ?? "all"
|
|
328
|
+
};
|
|
329
|
+
}
|
|
330
|
+
/** Writes the list view as a route query, leaving out defaults so a fresh list has a clean URL. */
|
|
331
|
+
function consoleListQuery(view, defaultSort) {
|
|
332
|
+
const query = {};
|
|
333
|
+
if (view.search.trim()) query.q = view.search.trim();
|
|
334
|
+
if (view.state !== "all") query.state = view.state;
|
|
335
|
+
if (view.sort !== defaultSort) query.sort = view.sort;
|
|
336
|
+
for (const [name, value] of Object.entries(view.filters).sort(([left], [right]) => left.localeCompare(right))) if (value) query[`${filterPrefix}${name}`] = value;
|
|
337
|
+
return query;
|
|
338
|
+
}
|
|
339
|
+
const listQueries = /* @__PURE__ */ new Map();
|
|
340
|
+
/** Remembers the list query of a collection, so Back from the editor returns to the same tab, sort, and filters. */
|
|
341
|
+
function rememberConsoleListQuery(collection, query) {
|
|
342
|
+
listQueries.set(collection, { ...query });
|
|
343
|
+
}
|
|
344
|
+
/** The last list query of a collection, or an empty query. */
|
|
345
|
+
function consoleListQueryFor(collection) {
|
|
346
|
+
return { ...listQueries.get(collection) };
|
|
347
|
+
}
|
|
348
|
+
/** Groups revisions, newest first, under day labels such as `Today` and `Oct 12`. */
|
|
349
|
+
function groupConsoleRevisions(revisions, now, timeZone) {
|
|
350
|
+
const groups = [];
|
|
351
|
+
for (const revision of revisions) {
|
|
352
|
+
const label = dayLabel(revision.createdAt, now, timeZone) ?? "Unknown date";
|
|
353
|
+
const last = groups.at(-1);
|
|
354
|
+
if (last?.label === label) last.revisions.push(revision);
|
|
355
|
+
else groups.push({
|
|
356
|
+
label,
|
|
357
|
+
revisions: [revision]
|
|
358
|
+
});
|
|
359
|
+
}
|
|
360
|
+
return groups;
|
|
361
|
+
}
|
|
362
|
+
/** What a revision did, as History names it: `Saved`, `Published`, `Restored`, `Deleted`, or `Started draft`. */
|
|
363
|
+
function consoleRevisionLabel(revision) {
|
|
364
|
+
if (revision.ref === "published" || revision.action === "publish") return "Published";
|
|
365
|
+
return (/* @__PURE__ */ new Map([
|
|
366
|
+
["remove", "Deleted"],
|
|
367
|
+
["restore", "Restored"],
|
|
368
|
+
["save", "Saved"],
|
|
369
|
+
["seed", "Started draft"]
|
|
370
|
+
])).get(revision.action) ?? "Changed";
|
|
371
|
+
}
|
|
372
|
+
function consoleRevisionTone(revision) {
|
|
373
|
+
if (revision.ref === "published" || revision.action === "publish") return "success";
|
|
374
|
+
return revision.action === "remove" ? "error" : "neutral";
|
|
375
|
+
}
|
|
376
|
+
/** Saves further apart than this start a new run, even from the same author. */
|
|
377
|
+
const revisionRunGap = 9e5;
|
|
378
|
+
/**
|
|
379
|
+
* Collapses consecutive saves by the same author into runs for History. The editor saves a draft after each pause in
|
|
380
|
+
* typing, so one sitting writes many revisions; History shows them as one row. Publishes, restores, deletes, saves by
|
|
381
|
+
* someone else, and saves more than 15 minutes apart each start a new run. Storage keeps every revision.
|
|
382
|
+
*/
|
|
383
|
+
function groupConsoleRevisionRuns(revisions) {
|
|
384
|
+
const runs = [];
|
|
385
|
+
for (const revision of revisions) {
|
|
386
|
+
const last = runs.at(-1)?.revisions.at(-1);
|
|
387
|
+
if (last && revision.action === "save" && last.action === "save" && revision.ref === last.ref && revision.author === last.author && Math.abs(Date.parse(last.createdAt) - Date.parse(revision.createdAt)) <= revisionRunGap) runs.at(-1).revisions.push(revision);
|
|
388
|
+
else runs.push({ revisions: [revision] });
|
|
389
|
+
}
|
|
390
|
+
return runs;
|
|
391
|
+
}
|
|
392
|
+
/** Whether documents of a collection have a Markdown body. JSON and YAML documents are fields only. */
|
|
393
|
+
function consoleDocumentHasBody(collection) {
|
|
394
|
+
return (collection.format ?? "markdown") === "markdown";
|
|
395
|
+
}
|
|
396
|
+
const ambiguousYamlScalar = /^(?:true|false|yes|no|on|off|y|n|null|~|[-+]?(?:\d[\d_]*(?:\.\d*)?|\.\d+)(?:e[-+]?\d+)?|0x[\da-f]+|0o[0-7]+|[-+]?\.inf|\.nan)$/i;
|
|
397
|
+
/** Whether a string can be written as a plain YAML scalar and read back as the same string. */
|
|
398
|
+
function isPlainYamlString(value) {
|
|
399
|
+
return Boolean(value) && value.trim() === value && !/^[-?:,[\]{}#&*!|>'"%@`]/.test(value) && ![...value].some((character) => character.charCodeAt(0) < 32 || character.charCodeAt(0) === 127) && !/: | #|:$/.test(value) && !ambiguousYamlScalar.test(value);
|
|
400
|
+
}
|
|
401
|
+
/** A YAML scalar. Strings that would read back differently are quoted as JSON, which YAML also reads. */
|
|
402
|
+
function yamlScalar(value) {
|
|
403
|
+
if (value === null || value === void 0) return "null";
|
|
404
|
+
if (String(value) === value) return isPlainYamlString(value) ? value : JSON.stringify(value);
|
|
405
|
+
return JSON.stringify(value);
|
|
406
|
+
}
|
|
407
|
+
function yamlLines(value, indent) {
|
|
408
|
+
if (Array.isArray(value)) {
|
|
409
|
+
if (!value.length) return [`${indent}[]`];
|
|
410
|
+
return value.flatMap((entry) => {
|
|
411
|
+
const nested = yamlBlock(entry, `${indent} `);
|
|
412
|
+
if (!nested) return [`${indent}- ${yamlScalar(entry)}`];
|
|
413
|
+
return Array.isArray(entry) ? [`${indent}-`, ...nested] : [`${indent}- ${nested[0].trimStart()}`, ...nested.slice(1)];
|
|
414
|
+
});
|
|
415
|
+
}
|
|
416
|
+
const entries = Object.entries(record(value) ?? {});
|
|
417
|
+
if (!entries.length) return [`${indent}{}`];
|
|
418
|
+
return entries.flatMap(([key, entry]) => {
|
|
419
|
+
const nested = yamlBlock(entry, `${indent} `);
|
|
420
|
+
return nested ? [`${indent}${yamlScalar(key)}:`, ...nested] : [`${indent}${yamlScalar(key)}: ${yamlScalar(entry)}`];
|
|
421
|
+
});
|
|
422
|
+
}
|
|
423
|
+
/** Block lines for a non-empty object or list, or undefined for a value that fits on its key's line. */
|
|
424
|
+
function yamlBlock(value, indent) {
|
|
425
|
+
if (Array.isArray(value)) return value.length ? yamlLines(value, indent) : void 0;
|
|
426
|
+
const object = record(value);
|
|
427
|
+
return object && Object.keys(object).length ? yamlLines(object, indent) : void 0;
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* The text of a document in its file format, for diffs: a Markdown file with YAML frontmatter, an indented JSON object,
|
|
431
|
+
* or a YAML mapping. Nested fields become nested YAML blocks, so a change to one nested value is one changed line.
|
|
432
|
+
*/
|
|
433
|
+
function consoleDocumentText(version, format = "markdown") {
|
|
434
|
+
if (format === "json") return `${JSON.stringify(version.data, null, 2)}\n`;
|
|
435
|
+
const fields = Object.keys(version.data).length ? `${yamlLines(version.data, "").join("\n")}\n` : "";
|
|
436
|
+
if (format === "yaml") return fields || "{}\n";
|
|
437
|
+
const body = version.body.endsWith("\n") ? version.body : `${version.body}\n`;
|
|
438
|
+
return `${fields ? `---\n${fields}---\n\n` : ""}${body}`;
|
|
439
|
+
}
|
|
440
|
+
/** The name and hint of the collection's `seo()` field, found by its `x-vitehub-seo` keyword. */
|
|
441
|
+
function consoleSeoField(schema) {
|
|
442
|
+
for (const [name, value] of Object.entries(record(schema.properties) ?? {})) {
|
|
443
|
+
const property = record(value);
|
|
444
|
+
const hint = record(property?.["x-vitehub-seo"]);
|
|
445
|
+
if (!property || !hint) continue;
|
|
446
|
+
const number = (value, fallback) => Number.isFinite(value) ? Number(value) : fallback;
|
|
447
|
+
const title = record(hint.title) ?? {};
|
|
448
|
+
const description = record(hint.description) ?? {};
|
|
449
|
+
return {
|
|
450
|
+
hint: {
|
|
451
|
+
description: {
|
|
452
|
+
min: number(description.min, 50),
|
|
453
|
+
recommended: number(description.recommended, 160)
|
|
454
|
+
},
|
|
455
|
+
title: { recommended: number(title.recommended, 60) }
|
|
456
|
+
},
|
|
457
|
+
name,
|
|
458
|
+
schema: property
|
|
459
|
+
};
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
function firstText(data, fields) {
|
|
463
|
+
for (const field of fields) {
|
|
464
|
+
const value = data[field];
|
|
465
|
+
if (String(value) === value && value.trim()) return value.trim();
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
/** What `contentHead()` falls back to when an SEO value is empty: the document title, then its description or summary. */
|
|
469
|
+
function consoleSeoFallbacks(data, titleField, url) {
|
|
470
|
+
const fallbacks = {};
|
|
471
|
+
const title = firstText(data, titleField ? [
|
|
472
|
+
titleField,
|
|
473
|
+
"title",
|
|
474
|
+
"name"
|
|
475
|
+
] : ["title", "name"]);
|
|
476
|
+
const description = firstText(data, [
|
|
477
|
+
"description",
|
|
478
|
+
"summary",
|
|
479
|
+
"excerpt"
|
|
480
|
+
]);
|
|
481
|
+
if (title) fallbacks.title = title;
|
|
482
|
+
if (description) fallbacks.description = description;
|
|
483
|
+
if (url) fallbacks.url = url;
|
|
484
|
+
return fallbacks;
|
|
485
|
+
}
|
|
486
|
+
/**
|
|
487
|
+
* A URL the Console can show for an image value: a URL as is. A Blob reference `{ pathname }` has no URL of its own; the
|
|
488
|
+
* media library resolves it with the served Blob route of the project, and without one the preview shows a placeholder.
|
|
489
|
+
*/
|
|
490
|
+
function consoleImageUrl(image) {
|
|
491
|
+
return String(image) === image && image.trim() ? image : void 0;
|
|
492
|
+
}
|
|
493
|
+
/** Text cut to a length on a word boundary with an ellipsis, as search results show it. */
|
|
494
|
+
function consoleTruncate(value, length) {
|
|
495
|
+
if (value.length <= length) return value;
|
|
496
|
+
const cut = value.slice(0, length + 1);
|
|
497
|
+
const space = cut.lastIndexOf(" ");
|
|
498
|
+
return `${(space > length * .6 ? cut.slice(0, space) : value.slice(0, length)).trimEnd()}…`;
|
|
499
|
+
}
|
|
500
|
+
//#endregion
|
|
501
|
+
export { consoleDocumentFolders, consoleDocumentHasBody, consoleDocumentScheduleHint, consoleDocumentScheduleLabel, consoleDocumentScheduleTone, consoleDocumentSlug, consoleDocumentStateColor, consoleDocumentStateLabel, consoleDocumentStates, consoleDocumentText, consoleErrorMessage, consoleFieldIssues, consoleFixFieldsLabel, consoleHintParts, consoleHintText, consoleImageUrl, consoleInvalidDocument, consoleLeaseHolder, consoleListQuery, consoleListQueryFor, consoleLocalScheduleTime, consolePublishMismatches, consolePublishedConflicts, consoleRevisionLabel, consoleRevisionTone, consoleSeoFallbacks, consoleSeoField, consoleSingularLabel, consoleTruncate, createConsoleDocumentsClient, groupConsoleRevisionRuns, groupConsoleRevisions, isConsoleConflict, isConsoleDocumentId, parseConsoleListQuery, rememberConsoleListQuery, stableConsoleJSON };
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { o as ConsoleDocumentComponent } from "../../../definitions-BJGSpYGa.js";
|
|
2
|
+
import { DocumentComponent } from "@vite-hub/content";
|
|
3
|
+
//#region src/console/runtime/client/editor.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Menus of the document body editor, as plain data so they can be tested without an editor. Item `kind`s are Nuxt UI
|
|
6
|
+
* editor handler names; `table`, `image`, and `component` are handlers the body editor adds.
|
|
7
|
+
*/
|
|
8
|
+
export interface ConsoleSlashItem {
|
|
9
|
+
/** Comark tag of a `component` item. */
|
|
10
|
+
component?: string;
|
|
11
|
+
/** The Markdown that the item writes, shown on the right as a hint, such as `##`. */
|
|
12
|
+
description?: string;
|
|
13
|
+
icon: string;
|
|
14
|
+
/** Other words that find the item, such as `h2` or `subtitle`. */
|
|
15
|
+
keywords: string[];
|
|
16
|
+
kind: string;
|
|
17
|
+
label: string;
|
|
18
|
+
level?: 1 | 2 | 3;
|
|
19
|
+
}
|
|
20
|
+
export interface ConsoleSlashLabel {
|
|
21
|
+
label: string;
|
|
22
|
+
type: "label";
|
|
23
|
+
}
|
|
24
|
+
export type ConsoleSlashGroup = Array<ConsoleSlashLabel | ConsoleSlashItem>;
|
|
25
|
+
/** The collection components keyed by tag, as Content declares them, for the codec that Content owns. */
|
|
26
|
+
export declare function consoleComponentRecord(components: readonly ConsoleDocumentComponent[] | undefined): Record<string, DocumentComponent>;
|
|
27
|
+
/**
|
|
28
|
+
* The collection components the editor can register: the ones Content's `contentEditorComponents()` keeps, so the
|
|
29
|
+
* Console and the server codec of a live room have the same schema.
|
|
30
|
+
*/
|
|
31
|
+
export declare function consoleEditorComponents(components: readonly ConsoleDocumentComponent[] | undefined): ConsoleDocumentComponent[];
|
|
32
|
+
/** Default attributes of a new component: each prop's declared default. */
|
|
33
|
+
export declare function consoleComponentDefaults(component: ConsoleDocumentComponent): Record<string, unknown>;
|
|
34
|
+
/** The `/` menu: basic blocks, media, then the components of the collection. */
|
|
35
|
+
export declare function consoleSlashGroups(components: readonly ConsoleDocumentComponent[]): ConsoleSlashGroup[];
|
|
36
|
+
/** Block types that "Turn into" converts between, in menu order. */
|
|
37
|
+
export declare const consoleTurnIntoItems: readonly [{
|
|
38
|
+
readonly icon: "i-lucide-pilcrow";
|
|
39
|
+
readonly kind: "paragraph";
|
|
40
|
+
readonly label: "Text";
|
|
41
|
+
}, {
|
|
42
|
+
readonly icon: "i-lucide-heading-1";
|
|
43
|
+
readonly kind: "heading";
|
|
44
|
+
readonly label: "Heading 1";
|
|
45
|
+
readonly level: 1;
|
|
46
|
+
}, {
|
|
47
|
+
readonly icon: "i-lucide-heading-2";
|
|
48
|
+
readonly kind: "heading";
|
|
49
|
+
readonly label: "Heading 2";
|
|
50
|
+
readonly level: 2;
|
|
51
|
+
}, {
|
|
52
|
+
readonly icon: "i-lucide-heading-3";
|
|
53
|
+
readonly kind: "heading";
|
|
54
|
+
readonly label: "Heading 3";
|
|
55
|
+
readonly level: 3;
|
|
56
|
+
}, {
|
|
57
|
+
readonly icon: "i-lucide-list";
|
|
58
|
+
readonly kind: "bulletList";
|
|
59
|
+
readonly label: "Bulleted list";
|
|
60
|
+
}, {
|
|
61
|
+
readonly icon: "i-lucide-list-ordered";
|
|
62
|
+
readonly kind: "orderedList";
|
|
63
|
+
readonly label: "Numbered list";
|
|
64
|
+
}, {
|
|
65
|
+
readonly icon: "i-lucide-text-quote";
|
|
66
|
+
readonly kind: "blockquote";
|
|
67
|
+
readonly label: "Quote";
|
|
68
|
+
}, {
|
|
69
|
+
readonly icon: "i-lucide-square-code";
|
|
70
|
+
readonly kind: "codeBlock";
|
|
71
|
+
readonly label: "Code";
|
|
72
|
+
}];
|
|
73
|
+
/** Node types that "Turn into" can convert. Others, such as tables and components, only move, duplicate, and delete. */
|
|
74
|
+
export declare const consoleConvertibleNodes: ReadonlySet<string>;
|
|
75
|
+
/** Splits a stored file into its frontmatter block, delimiters included, and the Markdown body after it. */
|
|
76
|
+
export declare function splitConsoleFrontmatter(text: string): {
|
|
77
|
+
body: string;
|
|
78
|
+
frontmatter: string;
|
|
79
|
+
};
|
|
80
|
+
/** A heading anchor such as `getting-started`, for links to a section of the body. */
|
|
81
|
+
export declare function consoleHeadingSlug(text: string): string;
|
|
82
|
+
//#endregion
|