vite-hub 0.0.4 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +265 -14
- package/dist/_internal/auth/internal/server.d.ts +1 -0
- package/dist/_internal/auth/internal/server.js +2 -0
- package/dist/_internal/auth/runtime/server.d.ts +1 -0
- package/dist/_internal/auth/runtime/server.js +2 -0
- package/dist/_internal/runtime/browser-errors.d.ts +22 -0
- package/dist/_internal/runtime/browser-errors.js +156 -0
- package/dist/_internal/runtime/internal/h3.d.ts +1 -0
- package/dist/_internal/runtime/internal/h3.js +2 -0
- package/dist/_internal/runtime/redirects.d.ts +37 -0
- package/dist/_internal/runtime/redirects.js +71 -0
- package/dist/_internal/runtime/request-policy.d.ts +43 -0
- package/dist/_internal/runtime/request-policy.js +62 -0
- package/dist/_internal/runtime/security.d.ts +27 -0
- package/dist/_internal/runtime/security.js +104 -0
- package/dist/access-F0YP5D5E.js +439 -0
- package/dist/access-policy-B_DCpZUt.js +73 -0
- package/dist/access-policy-BsB3QVe5.d.ts +109 -0
- package/dist/account-Bsu-LBOF.d.ts +195 -0
- package/dist/agent/capabilities.d.ts +1 -20
- package/dist/agent/capabilities.js +1 -7
- package/dist/agent/invocations/database.d.ts +1 -0
- package/dist/agent/invocations/database.js +2 -0
- package/dist/agent/invocations/drizzle.d.ts +1 -0
- package/dist/agent/invocations/drizzle.js +2 -0
- package/dist/agent/invocations.d.ts +1 -0
- package/dist/agent/invocations.js +2 -0
- package/dist/agent/observability.d.ts +1 -0
- package/dist/agent/observability.js +2 -0
- package/dist/agent/page.d.ts +1 -0
- package/dist/agent/page.js +2 -0
- package/dist/agent/process.d.ts +1 -0
- package/dist/agent/process.js +2 -0
- package/dist/agent/state.d.ts +1 -0
- package/dist/agent/state.js +2 -0
- package/dist/agent/ui/vue.d.ts +1 -0
- package/dist/agent/ui/vue.js +2 -0
- package/dist/agent/ui.d.ts +1 -0
- package/dist/agent/ui.js +2 -0
- package/dist/agent/vite.d.ts +1 -0
- package/dist/agent/vite.js +2 -0
- package/dist/agent-invocations.post-DIm8tJV2.js +423 -0
- package/dist/agent.d.ts +1 -7
- package/dist/agent.js +1 -31
- package/dist/agents-C94A4N9u.d.ts +29 -0
- package/dist/agents-DnHexzTJ.js +123 -0
- package/dist/agents-y5hBFHUQ.js +2 -0
- package/dist/auth/abilities.d.ts +1 -0
- package/dist/auth/abilities.js +2 -0
- package/dist/auth/database.d.ts +1 -0
- package/dist/auth/database.js +2 -0
- package/dist/auth/forward.d.ts +1 -0
- package/dist/auth/forward.js +2 -0
- package/dist/auth/mcp.d.ts +1 -0
- package/dist/auth/mcp.js +2 -0
- package/dist/auth/presets.d.ts +1 -0
- package/dist/auth/presets.js +2 -0
- package/dist/auth/schema.d.ts +1 -0
- package/dist/auth/schema.js +2 -0
- package/dist/auth-BFVHYizM.d.ts +120 -0
- package/dist/auth-operations-GcQk0O0X.js +34 -0
- package/dist/auth-types-DWpTBZvp.d.ts +90 -0
- package/dist/bin.d.ts +1 -1
- package/dist/bin.js +318 -50
- 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/nuxt-image.d.ts +3 -0
- package/dist/blob/nuxt-image.js +3 -0
- package/dist/blob/vue.d.ts +1 -0
- package/dist/blob/vue.js +2 -0
- package/dist/blob-BRV6_wZa.js +26 -0
- package/dist/blob-CiUmptIp.d.ts +9 -0
- package/dist/bundle.d.ts +1 -0
- package/dist/bundle.js +2 -0
- package/dist/cache/operations.d.ts +5 -0
- package/dist/cache/operations.js +51 -0
- package/dist/cache.d.ts +28 -0
- package/dist/cache.js +219 -0
- package/dist/cli-DjoDGgT4.js +36 -0
- package/dist/cli-config--rAg6V-a.js +2 -0
- package/dist/cli-config-Bpjjfz5j.js +105 -0
- package/dist/cloudflare-env-lookup-DKXdr4P_.js +16 -0
- package/dist/cloudflare-prerender.mjs +3 -0
- package/dist/cloudflare-workers.d.ts +12 -0
- package/dist/cms/access.d.ts +1 -0
- package/dist/cms/access.js +2 -0
- package/dist/cms/vite.d.ts +1 -0
- package/dist/cms/vite.js +2 -0
- package/dist/cms.d.ts +3 -0
- package/dist/cms.js +3 -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/testing.d.ts +1 -0
- package/dist/comments/testing.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/operations.d.ts +1 -0
- package/dist/connections/operations.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-types.d.ts +2 -0
- package/dist/console/auth-types.js +1 -0
- package/dist/console/auth.d.ts +6 -0
- package/dist/console/auth.js +9 -0
- package/dist/console/runtime/auth-operations.d.ts +35 -0
- package/dist/console/runtime/auth-operations.js +2 -0
- package/dist/console/runtime/client/account-views.d.ts +17 -0
- package/dist/console/runtime/client/account-views.js +8 -0
- package/dist/console/runtime/client/account.d.ts +2 -0
- package/dist/console/runtime/client/account.js +1125 -0
- package/dist/console/runtime/client/add-primitive.ts +59 -0
- package/dist/console/runtime/client/app-identity.ts +44 -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 +67 -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/command-search.ts +103 -0
- package/dist/console/runtime/client/comment-thread.d.ts +33 -0
- package/dist/console/runtime/client/comment-thread.js +62 -0
- package/dist/console/runtime/client/document-cache.ts +13 -0
- package/dist/console/runtime/client/documents.d.ts +3 -0
- package/dist/console/runtime/client/documents.js +2 -0
- package/dist/console/runtime/client/editor.d.ts +83 -0
- package/dist/console/runtime/client/editor.js +269 -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-status.d.ts +35 -0
- package/dist/console/runtime/client/env-status.js +68 -0
- package/dist/console/runtime/client/format.d.ts +91 -0
- package/dist/console/runtime/client/format.js +2 -0
- package/dist/console/runtime/client/format.ts +267 -0
- package/dist/console/runtime/client/highlight-languages.ts +27 -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 +67 -0
- package/dist/console/runtime/client/live.js +158 -0
- package/dist/console/runtime/client/mcp-client.d.ts +58 -0
- package/dist/console/runtime/client/mcp-client.js +125 -0
- package/dist/console/runtime/client/media-library.d.ts +2 -0
- package/dist/console/runtime/client/media-library.js +2 -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 +2 -0
- package/dist/console/runtime/client/media.js +13 -0
- package/dist/console/runtime/client/operation-view.d.ts +44 -0
- package/dist/console/runtime/client/operation-view.js +161 -0
- package/dist/console/runtime/client/presence.d.ts +98 -0
- package/dist/console/runtime/client/presence.js +255 -0
- package/dist/console/runtime/client/preview.d.ts +86 -0
- package/dist/console/runtime/client/preview.js +125 -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/project-link.d.ts +2 -0
- package/dist/console/runtime/client/project-link.js +2 -0
- package/dist/console/runtime/client/project-session.d.ts +221 -0
- package/dist/console/runtime/client/project-session.js +723 -0
- package/dist/console/runtime/client/project.d.ts +48 -0
- package/dist/console/runtime/client/project.js +2 -0
- package/dist/console/runtime/client/projects.d.ts +2 -0
- package/dist/console/runtime/client/projects.js +2 -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 +55 -8
- package/dist/console/runtime/client/request.js +2 -133
- package/dist/console/runtime/client/route-query.d.ts +60 -0
- package/dist/console/runtime/client/route-query.js +2 -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 +2 -12
- package/dist/console/runtime/client/sections.js +2 -41
- package/dist/console/runtime/client/sidebar.ts +84 -0
- package/dist/console/runtime/client/site-access.d.ts +32 -0
- package/dist/console/runtime/client/site-access.js +932 -0
- package/dist/console/runtime/client/stored.d.ts +33 -0
- package/dist/console/runtime/client/stored.js +2 -0
- package/dist/console/runtime/client/ticket.d.ts +2 -0
- package/dist/console/runtime/client/ticket.js +2 -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-account-api-keys.vue +195 -0
- package/dist/console/runtime/components/console-account-env.vue +286 -0
- package/dist/console/runtime/components/console-account-home.vue +427 -0
- package/dist/console/runtime/components/console-account-link.vue +68 -0
- package/dist/console/runtime/components/console-account-menu.vue +126 -0
- package/dist/console/runtime/components/console-account-rename.vue +67 -0
- package/dist/console/runtime/components/console-account-settings.vue +184 -0
- package/dist/console/runtime/components/console-account-setup.vue +82 -0
- package/dist/console/runtime/components/console-account-shell.vue +339 -0
- package/dist/console/runtime/components/console-account-sign-in.vue +152 -0
- package/dist/console/runtime/components/console-account-snippet.vue +89 -0
- package/dist/console/runtime/components/console-account-team-settings.vue +131 -0
- package/dist/console/runtime/components/console-account-team.vue +199 -0
- package/dist/console/runtime/components/console-account-unlink.vue +52 -0
- package/dist/console/runtime/components/console-activity-feed.vue +69 -0
- package/dist/console/runtime/components/console-add-primitive.vue +176 -0
- package/dist/console/runtime/components/console-agent-list.ts +61 -0
- package/dist/console/runtime/components/console-agent-session.vue +301 -0
- package/dist/console/runtime/components/console-app-crumb.vue +52 -0
- package/dist/console/runtime/components/console-app-logo.vue +44 -0
- package/dist/console/runtime/components/console-app-settings.vue +271 -0
- package/dist/console/runtime/components/console-app.vue +894 -669
- package/dist/console/runtime/components/console-auth-action.vue +241 -0
- package/dist/console/runtime/components/console-auth-activity.vue +162 -0
- package/dist/console/runtime/components/console-auth-chart.vue +105 -0
- package/dist/console/runtime/components/console-auth-detail.vue +379 -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 +95 -0
- package/dist/console/runtime/components/console-auth-user-events.vue +62 -0
- package/dist/console/runtime/components/console-auth.vue +651 -0
- package/dist/console/runtime/components/console-blob-detail.vue +83 -0
- package/dist/console/runtime/components/console-blob.vue +160 -300
- package/dist/console/runtime/components/console-cache.vue +358 -0
- package/dist/console/runtime/components/console-code-text.vue +18 -0
- package/dist/console/runtime/components/console-comark-component.vue +146 -0
- package/dist/console/runtime/components/console-comment-thread.vue +320 -0
- package/dist/console/runtime/components/console-confirm.vue +46 -0
- package/dist/console/runtime/components/console-connection-state.vue +40 -0
- package/dist/console/runtime/components/console-connection.ts +18 -0
- package/dist/console/runtime/components/console-database-model.ts +51 -6
- package/dist/console/runtime/components/console-database.vue +310 -380
- package/dist/console/runtime/components/console-definitions.vue +491 -306
- package/dist/console/runtime/components/console-document-dashboard.vue +473 -0
- package/dist/console/runtime/components/console-document-diff.vue +43 -0
- package/dist/console/runtime/components/console-document-editor.vue +2806 -0
- package/dist/console/runtime/components/console-document-history.vue +118 -0
- package/dist/console/runtime/components/console-document-list.vue +575 -0
- package/dist/console/runtime/components/console-document-preview.vue +409 -0
- package/dist/console/runtime/components/console-document-settings.vue +106 -0
- package/dist/console/runtime/components/console-documents.vue +544 -0
- package/dist/console/runtime/components/console-env-details.vue +49 -0
- package/dist/console/runtime/components/console-env.vue +322 -0
- package/dist/console/runtime/components/console-facts.ts +13 -0
- package/dist/console/runtime/components/console-frame.vue +201 -1
- package/dist/console/runtime/components/console-home.vue +575 -155
- package/dist/console/runtime/components/console-icon.vue +19 -0
- package/dist/console/runtime/components/console-invocation-composer.vue +155 -0
- package/dist/console/runtime/components/console-kv.vue +225 -235
- package/dist/console/runtime/components/console-lazy-views.ts +2 -0
- package/dist/console/runtime/components/console-loading.vue +29 -0
- package/dist/console/runtime/components/console-mark.vue +3 -8
- package/dist/console/runtime/components/console-markdown-editor.vue +681 -0
- package/dist/console/runtime/components/console-mcp-callback.vue +76 -0
- package/dist/console/runtime/components/console-mcp-client.vue +255 -0
- package/dist/console/runtime/components/console-mcp-connect.vue +162 -0
- package/dist/console/runtime/components/console-mcp-connection.vue +219 -0
- package/dist/console/runtime/components/console-mcp-content.vue +157 -0
- package/dist/console/runtime/components/console-mcp-items.vue +346 -0
- package/dist/console/runtime/components/console-media-browser.vue +956 -0
- package/dist/console/runtime/components/console-media-crops.vue +168 -0
- package/dist/console/runtime/components/console-media-detail.vue +278 -0
- package/dist/console/runtime/components/console-media-dialog.vue +74 -0
- package/dist/console/runtime/components/console-media-field.vue +161 -0
- package/dist/console/runtime/components/console-media-focal.vue +138 -0
- package/dist/console/runtime/components/console-media-library.vue +132 -0
- package/dist/console/runtime/components/console-media-move.vue +161 -0
- package/dist/console/runtime/components/console-media-picker.vue +196 -0
- package/dist/console/runtime/components/console-media-uploads.vue +75 -0
- package/dist/console/runtime/components/console-new-chat.ts +27 -0
- package/dist/console/runtime/components/console-operation-view.vue +327 -0
- package/dist/console/runtime/components/console-page-changes.vue +207 -0
- package/dist/console/runtime/components/console-page-header.vue +82 -0
- package/dist/console/runtime/components/console-page-toolbar.vue +41 -0
- package/dist/console/runtime/components/console-presence-avatars.vue +74 -0
- package/dist/console/runtime/components/console-project-switcher.vue +212 -0
- package/dist/console/runtime/components/console-property-list.vue +41 -0
- package/dist/console/runtime/components/console-property-row.vue +59 -0
- package/dist/console/runtime/components/console-rail.vue +237 -0
- package/dist/console/runtime/components/console-rate-limit.vue +175 -0
- package/dist/console/runtime/components/console-relative-time.vue +74 -0
- package/dist/console/runtime/components/console-schema-date-input.vue +88 -0
- package/dist/console/runtime/components/console-schema-field.vue +450 -0
- package/dist/console/runtime/components/console-schema-form.vue +76 -0
- package/dist/console/runtime/components/console-schema-list.vue +157 -0
- package/dist/console/runtime/components/console-search-palette.vue +1051 -0
- package/dist/console/runtime/components/console-search.vue +17 -424
- package/dist/console/runtime/components/console-section-icon.vue +18 -0
- package/dist/console/runtime/components/console-section.vue +68 -0
- package/dist/console/runtime/components/console-seo-panel.vue +261 -0
- package/dist/console/runtime/components/console-session-actions.vue +158 -0
- package/dist/console/runtime/components/console-session-bootstrap.ts +0 -26
- package/dist/console/runtime/components/console-session-cancel.vue +89 -0
- package/dist/console/runtime/components/console-session-code-language.ts +32 -0
- package/dist/console/runtime/components/console-session-code-preview.vue +42 -40
- package/dist/console/runtime/components/console-session-copy-link.vue +11 -0
- package/dist/console/runtime/components/console-session-inspector.vue +392 -235
- package/dist/console/runtime/components/console-session-loading.vue +19 -27
- package/dist/console/runtime/components/console-session-navbar.vue +44 -27
- package/dist/console/runtime/components/console-session-trace.vue +30 -84
- package/dist/console/runtime/components/console-session.css +438 -818
- package/dist/console/runtime/components/console-settings-card.vue +76 -0
- package/dist/console/runtime/components/console-settings-value.vue +46 -0
- package/dist/console/runtime/components/console-settings.vue +100 -0
- package/dist/console/runtime/components/console-setup-hint.vue +15 -0
- package/dist/console/runtime/components/console-sidebar-item.vue +62 -0
- package/dist/console/runtime/components/console-sidebar-trigger.vue +34 -0
- package/dist/console/runtime/components/console-sidebar.vue +352 -0
- package/dist/console/runtime/components/console-site.vue +370 -0
- package/dist/console/runtime/components/console-skill-file.vue +73 -0
- package/dist/console/runtime/components/console-skill-tree.vue +62 -0
- package/dist/console/runtime/components/console-skills.vue +193 -0
- package/dist/console/runtime/components/console-stat-grid.vue +64 -0
- package/dist/console/runtime/components/console-state.vue +150 -0
- package/dist/console/runtime/components/console-toaster.vue +75 -0
- package/dist/console/runtime/components/console-usage-chart.vue +210 -0
- package/dist/console/runtime/components/console-usage-model-detail.vue +138 -0
- package/dist/console/runtime/components/console-usage-model.ts +376 -0
- package/dist/console/runtime/components/console-usage-share-bar.vue +48 -0
- package/dist/console/runtime/components/console-usage.vue +1086 -508
- package/dist/console/runtime/components/console-user-menu.vue +42 -0
- package/dist/console/runtime/components/console-value.vue +36 -0
- package/dist/console/runtime/components/console-workflow-actions.vue +174 -0
- package/dist/console/runtime/components/console-workspace-browser.vue +507 -0
- package/dist/console/runtime/components/console-workspace-file.ts +12 -0
- package/dist/console/runtime/components/console-workspace-history.vue +76 -0
- package/dist/console/runtime/components/console-wrap.ts +10 -0
- package/dist/console/runtime/components/invocation/agent-capability-inspector.ts +165 -0
- package/dist/console/runtime/components/invocation/agent-invocation-list.ts +260 -0
- package/dist/console/runtime/components/invocation/agent-invocation-timeline.ts +112 -0
- package/dist/console/runtime/components/invocation/agent-invocation.ts +1991 -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 +745 -0
- package/dist/console/runtime/components/invocation/internal/invocation-brand.ts +173 -0
- package/dist/console/runtime/components/invocation/internal/invocation-conversation.ts +167 -0
- package/dist/console/runtime/components/invocation/internal/invocation-page-changes.ts +64 -0
- package/dist/console/runtime/components/invocation/internal/payload-text.ts +27 -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 +2789 -0
- package/dist/console/runtime/components/invocation/types.ts +97 -0
- package/dist/console/runtime/console-route.d.ts +15 -9
- package/dist/console/runtime/console-route.js +2 -37
- package/dist/console/runtime/definitions.d.ts +2 -2
- package/dist/console/runtime/definitions.js +2 -15
- package/dist/console/runtime/diagnostics.ts +287 -0
- package/dist/console/runtime/mcp-client.d.ts +2 -0
- package/dist/console/runtime/mcp-client.js +2 -0
- package/dist/console/runtime/page/loader.js +142 -0
- package/dist/console/runtime/page-tool/page-tool.js +10 -0
- package/dist/console/runtime/public/skills/index.json +47 -0
- package/dist/console/runtime/public/skills/vitehub/SKILL.md +99 -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/bundle.md +57 -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 +27 -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 +14 -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 +11 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/connections.md +14 -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 +15 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/email.md +11 -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 +14 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/rate-limit.md +11 -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 +11 -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 +11 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/shell.md +11 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/source.md +11 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/workflow.md +11 -0
- package/dist/console/runtime/public/skills/vitehub/references/primitives/workspace.md +11 -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 +81 -0
- package/dist/console/runtime/public/skills/vitehub/references/proof-recovery.md +31 -0
- package/dist/console/runtime/public/skills/vitehub/references/sandboxes-hosts.md +26 -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 +2 -35
- package/dist/console/runtime/rpc.js +2 -16
- package/dist/console/runtime/sections.d.ts +2 -2
- package/dist/console/runtime/sections.js +2 -126
- package/dist/console/runtime/server/access-policy.d.ts +2 -0
- package/dist/console/runtime/server/access-policy.js +2 -0
- package/dist/console/runtime/server/agents.get.d.ts +10 -5
- package/dist/console/runtime/server/agents.get.js +18 -10
- package/dist/console/runtime/server/auth.d.ts +2 -0
- package/dist/console/runtime/server/auth.js +81 -0
- package/dist/console/runtime/server/blob.d.ts +2 -2
- package/dist/console/runtime/server/blob.js +2 -18
- package/dist/console/runtime/server/channel-replay.d.ts +23 -0
- package/dist/console/runtime/server/channel-replay.js +52 -0
- package/dist/console/runtime/server/database.d.ts +1 -1
- package/dist/console/runtime/server/database.get.d.ts +34 -6
- package/dist/console/runtime/server/database.get.js +77 -40
- package/dist/console/runtime/server/database.js +1 -16
- package/dist/console/runtime/server/definitions.d.ts +2 -2
- package/dist/console/runtime/server/definitions.get.d.ts +10 -9
- package/dist/console/runtime/server/definitions.get.js +76 -15
- package/dist/console/runtime/server/definitions.js +2 -22
- package/dist/console/runtime/server/development.d.ts +2 -0
- package/dist/console/runtime/server/development.js +2 -0
- package/dist/console/runtime/server/documents.d.ts +2 -0
- package/dist/console/runtime/server/documents.js +3 -0
- package/dist/console/runtime/server/env.d.ts +6 -0
- package/dist/console/runtime/server/env.get.d.ts +9 -0
- package/dist/console/runtime/server/env.get.js +16 -0
- package/dist/console/runtime/server/env.js +2 -0
- package/dist/console/runtime/server/invocation-capabilities.get.d.ts +6 -5
- package/dist/console/runtime/server/invocation-capabilities.get.js +14 -11
- package/dist/console/runtime/server/invocation-workspace.get.d.ts +8 -0
- package/dist/console/runtime/server/invocation-workspace.get.js +77 -0
- package/dist/console/runtime/server/invocation.get.d.ts +36 -25
- package/dist/console/runtime/server/invocation.get.js +140 -25
- package/dist/console/runtime/server/invocations.get.d.ts +12 -5
- package/dist/console/runtime/server/invocations.get.js +56 -69
- package/dist/console/runtime/server/logs.get.d.ts +16 -0
- package/dist/console/runtime/server/logs.get.js +56 -0
- package/dist/console/runtime/server/mcp-client-operations.d.ts +5 -0
- package/dist/console/runtime/server/mcp-client-operations.js +139 -0
- package/dist/console/runtime/server/operation-contributions.d.ts +2 -0
- package/dist/console/runtime/server/operation-contributions.js +2 -0
- package/dist/console/runtime/server/page-auth.d.ts +18 -0
- package/dist/console/runtime/server/page-auth.js +44 -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-tool.d.ts +2 -0
- package/dist/console/runtime/server/page-tool.js +105 -0
- package/dist/console/runtime/server/rpc.d.ts +27 -0
- package/dist/console/runtime/server/rpc.js +222 -0
- package/dist/console/runtime/server/runtime.d.ts +2 -0
- package/dist/console/runtime/server/runtime.js +2 -0
- package/dist/console/runtime/server/search.get.d.ts +2 -6
- package/dist/console/runtime/server/search.get.js +97 -2
- package/dist/console/runtime/server/sections.d.ts +6 -2
- package/dist/console/runtime/server/sections.get.d.ts +2 -9
- package/dist/console/runtime/server/sections.get.js +47 -9
- package/dist/console/runtime/server/sections.js +7 -16
- package/dist/console/runtime/server/setup.d.ts +5 -0
- package/dist/console/runtime/server/setup.js +5 -0
- package/dist/console/runtime/server/site-entry.d.ts +24 -0
- package/dist/console/runtime/server/site-entry.js +142 -0
- package/dist/console/runtime/server/site-session.d.ts +85 -0
- package/dist/console/runtime/server/site-session.js +2 -0
- package/dist/console/runtime/server/status.get.d.ts +16 -0
- package/dist/console/runtime/server/status.get.js +30 -0
- package/dist/console/runtime/server/tickets.d.ts +2 -0
- package/dist/console/runtime/server/tickets.js +2 -0
- package/dist/console/runtime/server/usage.get.d.ts +7 -3
- package/dist/console/runtime/server/usage.get.js +74 -26
- package/dist/console/runtime/server/workspace-files.get.d.ts +12 -0
- package/dist/console/runtime/server/workspace-files.get.js +55 -0
- package/dist/console/runtime/site-access.d.ts +2 -0
- package/dist/console/runtime/site-access.js +2 -0
- package/dist/console/runtime/skills.d.ts +18 -0
- package/dist/console/runtime/skills.js +17 -0
- package/dist/console/server.d.ts +33 -7
- package/dist/console/server.js +9 -28
- package/dist/console/ui.d.ts +217 -0
- package/dist/console/ui.js +3233 -0
- package/dist/console-lazy-views-DXnIkdyd.js +2 -0
- package/dist/console-route-COvNB_Xj.js +49 -0
- package/dist/console.d.ts +3 -2
- package/dist/content/client.d.ts +1 -0
- package/dist/content/client.js +2 -0
- package/dist/content/collections.d.ts +1 -0
- package/dist/content/collections.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/markdown.d.ts +1 -0
- package/dist/content/markdown.js +2 -0
- package/dist/content/preview.d.ts +1 -0
- package/dist/content/preview.js +2 -0
- package/dist/content/realtime.d.ts +1 -0
- package/dist/content/realtime.js +2 -0
- package/dist/content/sqlite.d.ts +1 -0
- package/dist/content/sqlite.js +2 -0
- package/dist/content.d.ts +1 -0
- package/dist/content.js +2 -0
- package/dist/database-BVyhAxq-.d.ts +6 -0
- package/dist/database-J7M0B3ED.js +17 -0
- package/dist/decisions/vue.d.ts +1 -0
- package/dist/decisions/vue.js +2 -0
- package/dist/decisions.d.ts +1 -0
- package/dist/decisions.js +2 -0
- package/dist/definitions-BDRkT5-f.js +336 -0
- package/dist/definitions-CGTWTj67.d.ts +19 -0
- package/dist/definitions-CxDT8D8Y.d.ts +243 -0
- package/dist/definitions-bepsXY5G.js +98 -0
- package/dist/dev-peer-am78OsHH.js +472 -0
- package/dist/development-BzeSHZGH.js +18 -0
- package/dist/development-DgaQ05jw.d.ts +9 -0
- package/dist/device/vue.d.ts +1 -0
- package/dist/device/vue.js +2 -0
- package/dist/device.d.ts +1 -0
- package/dist/device.js +2 -0
- package/dist/diagnostics-CjGiniKb.d.ts +11 -0
- package/dist/diagnostics-D0DefmQj.js +79 -0
- package/dist/docs/assistant.d.ts +1 -0
- package/dist/docs/assistant.js +2 -0
- package/dist/docs/nuxt.d.ts +3 -0
- package/dist/docs/nuxt.js +3 -0
- package/dist/docs/server.d.ts +1 -0
- package/dist/docs/server.js +2 -0
- package/dist/docs.d.ts +1 -0
- package/dist/docs.js +2 -0
- package/dist/doctor.d.ts +13 -0
- package/dist/doctor.js +3096 -0
- package/dist/documents-8US1nUgK.js +547 -0
- package/dist/documents-C97WMaJZ.d.ts +474 -0
- package/dist/documents-DwPfR-fz.js +136 -0
- package/dist/documents-RVHsQKFw.d.ts +87 -0
- package/dist/durability/operations.d.ts +5 -0
- package/dist/durability/operations.js +28 -0
- package/dist/email/test.d.ts +1 -0
- package/dist/email/test.js +2 -0
- package/dist/entries-D48wVEaS.js +142 -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/seal.d.ts +1 -0
- package/dist/env/seal.js +2 -0
- package/dist/env-Dg1I_DWr.js +11 -0
- package/dist/error-diagnostics-C2rjmOlX.js +630 -0
- package/dist/error-diagnostics.ts +639 -0
- package/dist/forge.d.ts +1 -0
- package/dist/forge.js +2 -0
- package/dist/format-BOYlanIZ.js +304 -0
- package/dist/forms/client.d.ts +1 -0
- package/dist/forms/client.js +2 -0
- package/dist/forms/database.d.ts +1 -0
- package/dist/forms/database.js +2 -0
- package/dist/forms/formisch.d.ts +1 -0
- package/dist/forms/formisch.js +2 -0
- package/dist/forms/operations.d.ts +1 -0
- package/dist/forms/operations.js +2 -0
- package/dist/forms/runtime.d.ts +1 -0
- package/dist/forms/runtime.js +2 -0
- package/dist/forms/vue.d.ts +1 -0
- package/dist/forms/vue.js +2 -0
- package/dist/forms.d.ts +1 -0
- package/dist/forms.js +2 -0
- package/dist/gateways/ai-sdk.d.ts +1 -0
- package/dist/gateways/ai-sdk.js +2 -0
- package/dist/gateways.d.ts +1 -0
- package/dist/gateways.js +2 -0
- package/dist/host-CkL0jjBq.js +11 -0
- package/dist/http-error-Bs6e8_-8.js +30 -0
- package/dist/i18n/runtime.d.ts +1 -0
- package/dist/i18n/runtime.js +2 -0
- package/dist/i18n/server.d.ts +1 -0
- package/dist/i18n/server.js +2 -0
- package/dist/i18n/vue.d.ts +1 -0
- package/dist/i18n/vue.js +2 -0
- package/dist/i18n.d.ts +1 -0
- package/dist/i18n.js +2 -0
- package/dist/index.d.ts +7 -2
- package/dist/index.js +39 -3
- package/dist/inspect-CDw7e0vK.js +127 -0
- package/dist/internal/agent-invocations-libsql.d.ts +2 -0
- package/dist/internal/agent-invocations-libsql.js +2 -0
- package/dist/internal/disabled-redis-driver.d.ts +3 -0
- package/dist/internal/disabled-redis-driver.js +7 -0
- package/dist/internal/disabled-upstash-driver.d.ts +3 -0
- package/dist/internal/disabled-upstash-driver.js +7 -0
- package/dist/internal/test-loader.d.ts +8 -0
- package/dist/internal/test-loader.js +75 -0
- package/dist/internal/test-server.d.ts +1 -0
- package/dist/internal/test-server.js +84 -0
- package/dist/internal-BP_O70ic.d.ts +59 -0
- package/dist/internal-BreyUsQ6.js +31 -0
- package/dist/invariant-DolT9EEx.js +22 -0
- package/dist/invocation-page-undo-BkUau8X7.js +54 -0
- package/dist/invocations-CsucCJuq.js +86 -0
- package/dist/limits-BUlwWYQE.js +34 -0
- package/dist/logs/host.d.ts +6 -0
- package/dist/logs/host.js +2 -0
- package/dist/logs/memory.d.ts +2 -0
- package/dist/logs/memory.js +2 -0
- package/dist/logs/source.d.ts +2 -0
- package/dist/logs/source.js +2 -0
- package/dist/logs.d.ts +3 -0
- package/dist/logs.js +3 -0
- package/dist/markdown-template/file.d.ts +1 -0
- package/dist/markdown-template/file.js +2 -0
- package/dist/mcp-client-CTbTbn7d.js +10 -0
- package/dist/mcp-client-C_sEmyQw.d.ts +118 -0
- package/dist/mcp-client-D0mUt18v.js +1024 -0
- package/dist/mcp.d.ts +1 -0
- package/dist/mcp.js +2 -0
- package/dist/media-library-BChf8XOd.js +279 -0
- package/dist/media-library-CEo-Ye2B.d.ts +212 -0
- package/dist/media-uKX4Wy-c.d.ts +74 -0
- package/dist/media-wZMY6f2M.js +478 -0
- package/dist/memory-2bbl4hcV.d.ts +19 -0
- package/dist/memory-DhirB6SA.js +86 -0
- package/dist/nuxt-server-imports-Lnaf5Fe-.js +97 -0
- package/dist/nuxt.d.ts +14 -60
- package/dist/nuxt.js +966 -374
- package/dist/object-D8pRdprI.js +15 -0
- package/dist/operation-contributions-DflAv5AC.js +50 -0
- package/dist/operation-contributions-fZyVo662.d.ts +21 -0
- package/dist/operation-definition-Bn8V2hab.js +430 -0
- package/dist/operation-registry-BogGwk_I.js +22 -0
- package/dist/operation-rpc-DI9txNxK.js +158 -0
- package/dist/operations-B6N-ja8x.js +863 -0
- package/dist/operations-DX9EkHwb.d.ts +153 -0
- package/dist/operations-Dj_cp-UK.js +235 -0
- package/dist/operations-H9q0QB2C.js +2 -0
- package/dist/operations.d.ts +1 -0
- package/dist/operations.js +2 -0
- package/dist/optional-owners-Crm6kVS5.js +889 -0
- package/dist/owned-paths-BnjT0FhU.js +15 -0
- package/dist/page/pill.iife.js +70 -0
- package/dist/page-tool-BCRyx3pM.d.ts +68 -0
- package/dist/page-tools-BkSSBFoi.js +444 -0
- package/dist/page-tools-shared-D3fFoEV2.js +122 -0
- package/dist/page-tools-sw4I-Nqx.d.ts +23 -0
- package/dist/plugins-5uDXr9Km.d.ts +2124 -0
- package/dist/plugins-DQ8pF-38.js +11325 -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 +3 -0
- package/dist/presets/workspace.js +3 -0
- package/dist/project-5EN7JaXI.d.ts +26 -0
- package/dist/project-C2dnB9Kf.js +30 -0
- package/dist/project-DOeM0zg3.js +57 -0
- package/dist/project-link-D_XQvBOC.d.ts +94 -0
- package/dist/project-link-Qi7nltHM.js +149 -0
- package/dist/project-root-v6ba4tn7.js +12 -0
- package/dist/projects-CAcXztf4.js +154 -0
- package/dist/projects-Ddvl9EJp.d.ts +66 -0
- package/dist/rate-limit/drivers/cloudflare.d.ts +1 -0
- package/dist/rate-limit/drivers/cloudflare.js +2 -0
- package/dist/rate-limit/drivers/kv.d.ts +1 -0
- package/dist/rate-limit/drivers/kv.js +2 -0
- package/dist/rate-limit/drivers/memory.d.ts +1 -0
- package/dist/rate-limit/drivers/memory.js +2 -0
- package/dist/realtime/agent.d.ts +1 -0
- package/dist/realtime/agent.js +2 -0
- package/dist/realtime/bus.d.ts +1 -0
- package/dist/realtime/bus.js +2 -0
- package/dist/realtime/client.d.ts +1 -0
- package/dist/realtime/client.js +2 -0
- package/dist/registry-CDKLACCZ.js +16 -0
- package/dist/registry-zw6aE2N9.js +18 -0
- package/dist/request-BUYAlAJl.js +162 -0
- package/dist/request-D7h3SQ92.d.ts +21 -0
- package/dist/request-origin-Bq7mDQG9.js +23 -0
- package/dist/request-yCybBeqT.js +468 -0
- package/dist/route-query-CRVWXIrc.js +222 -0
- package/dist/rpc-7nlHSv3y.d.ts +37 -0
- package/dist/rpc-DIUA61pv.js +4 -0
- package/dist/runtime/durability.d.ts +1 -0
- package/dist/runtime/durability.js +2 -0
- package/dist/runtime-B_btezs1.d.ts +7 -0
- package/dist/runtime-DG34DLXc.js +55 -0
- package/dist/runtime-DM8Z6KLT.js +10 -0
- package/dist/runtime-DxfJOfCd.js +25 -0
- package/dist/runtime-YLWfdrtO.js +65 -0
- package/dist/runtime-feature-guard-rpZz1eMF.js +55 -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-BTeOuZsp.js +2 -0
- package/dist/scan-module-DlHQ8a0X.js +148 -0
- package/dist/schedule/os.d.ts +1 -0
- package/dist/schedule/os.js +2 -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-AZLhaNyr.js +44 -0
- package/dist/sections-4xyBoiar.d.ts +159 -0
- package/dist/sections-ACHVTCWn.d.ts +10 -0
- package/dist/sections-BriKrBgN.d.ts +57 -0
- package/dist/sections-C83x0slv.js +13 -0
- package/dist/sections-CUJyQA9d.js +122 -0
- package/dist/sections-D6AM5Gy5.js +369 -0
- package/dist/sections.get-1lHjyKCI.d.ts +20 -0
- package/dist/seo/runtime.d.ts +64 -0
- package/dist/seo/runtime.js +123 -0
- package/dist/seo-CtLywyRx.d.ts +24 -0
- package/dist/seo.d.ts +2 -0
- package/dist/seo.js +17 -0
- package/dist/server-DbjFYSeU.js +18 -0
- package/dist/setup-C-5nB7aY.js +22 -0
- package/dist/setup-DLZFzuLv.d.ts +12 -0
- package/dist/site-access-Bhsty_v4.js +2 -0
- package/dist/site-access-BycrwM2v.js +18 -0
- package/dist/site-access-CyRtc0gZ.js +292 -0
- package/dist/site-access-DxfdOel1.d.ts +55 -0
- package/dist/site-session-Jf21TVw8.js +272 -0
- package/dist/skills/operations.d.ts +17 -0
- package/dist/skills/operations.js +51 -0
- package/dist/skills-DdpSMiCI.js +500 -0
- package/dist/skills.d.ts +197 -0
- package/dist/skills.get-CHQMzSD_.js +48 -0
- package/dist/skills.js +2 -0
- package/dist/source/drizzle.d.ts +1 -0
- package/dist/source/drizzle.js +2 -0
- package/dist/source/server.d.ts +1 -24
- package/dist/source/server.js +1 -24
- package/dist/source/vite.d.ts +1 -8
- package/dist/source/vite.js +2 -18
- package/dist/source-S-LChQvw.d.ts +59 -0
- package/dist/source-w9BHUwyO.js +60 -0
- package/dist/source.d.ts +1 -66
- package/dist/source.js +1 -103
- package/dist/stored-Dhv2qsQv.js +40 -0
- package/dist/sync/client.d.ts +1 -0
- package/dist/sync/client.js +2 -0
- package/dist/sync/database.d.ts +1 -0
- package/dist/sync/database.js +2 -0
- package/dist/sync/operations.d.ts +1 -0
- package/dist/sync/operations.js +2 -0
- package/dist/sync/runtime.d.ts +1 -0
- package/dist/sync/runtime.js +2 -0
- package/dist/sync/vue.d.ts +1 -0
- package/dist/sync/vue.js +2 -0
- package/dist/sync.d.ts +1 -0
- package/dist/sync.js +2 -0
- package/dist/task/operations.d.ts +22 -0
- package/dist/task/operations.js +36 -0
- package/dist/test/register.d.ts +1 -0
- package/dist/test/register.js +68 -0
- package/dist/test.d.ts +175 -0
- package/dist/test.js +49 -0
- package/dist/ticket-Pr_8ZtXW.d.ts +14 -0
- package/dist/ticket-RKQF6Wy9.js +31 -0
- package/dist/tickets-CfJhT7d0.js +358 -0
- package/dist/ui/markdown-editor.d.ts +1 -0
- package/dist/ui/markdown-editor.js +2 -0
- package/dist/ui/playground.d.ts +1 -0
- package/dist/ui/playground.js +2 -0
- package/dist/ui/styles.css +2 -2562
- package/dist/ui/theme.css +2 -0
- package/dist/ui/theme.d.ts +1 -0
- package/dist/ui/theme.js +2 -0
- package/dist/ui/workspace.d.ts +1 -0
- package/dist/ui/workspace.js +2 -0
- package/dist/usage-Bc0YY_ka.js +569 -0
- package/dist/usage-CoQXs5nW.d.ts +22 -0
- package/dist/usage-index-CMMT4cXQ.js +335 -0
- package/dist/version-DDRL_OYz.js +1080 -0
- package/dist/vue-router-C68IU1jM.d.ts +1914 -0
- package/dist/web-container/connect.d.ts +1 -0
- package/dist/web-container/connect.js +2 -0
- package/dist/web-container/env.d.ts +1 -0
- package/dist/web-container/env.js +2 -0
- package/dist/web-container/snapshot.d.ts +1 -0
- package/dist/web-container/snapshot.js +2 -0
- package/dist/web-container.d.ts +1 -0
- package/dist/web-container.js +2 -0
- package/dist/webhooks/database.d.ts +1 -0
- package/dist/webhooks/database.js +2 -0
- package/dist/webhooks/operations.d.ts +1 -0
- package/dist/webhooks/operations.js +2 -0
- package/dist/webhooks/runtime.d.ts +1 -0
- package/dist/webhooks/runtime.js +2 -0
- package/dist/webhooks.d.ts +1 -0
- package/dist/webhooks.js +2 -0
- package/dist/workflow/openworkflow.d.ts +1 -0
- package/dist/workflow/openworkflow.js +2 -0
- package/dist/workspace/blob-database.d.ts +1 -0
- package/dist/workspace/blob-database.js +2 -0
- package/dist/workspace/checkout.d.ts +1 -0
- package/dist/workspace/checkout.js +2 -0
- package/dist/workspace/files.d.ts +1 -0
- package/dist/workspace/files.js +2 -0
- package/dist/workspace/lineage.d.ts +1 -0
- package/dist/workspace/lineage.js +2 -0
- package/dist/workspace-history-CeVwBB6Q.d.ts +52 -0
- package/dist/workspace-history-l47NPVSy.js +248 -0
- package/package.json +1320 -207
- package/dist/_internal/agent/cloudflare/state.d.ts +0 -1
- package/dist/_internal/agent/cloudflare/state.js +0 -2
- package/dist/_internal/agent/cloudflare.d.ts +0 -1
- package/dist/_internal/agent/cloudflare.js +0 -2
- package/dist/_internal/agent/eve.d.ts +0 -1
- package/dist/_internal/agent/eve.js +0 -2
- package/dist/_internal/agent/runtime/workflow.d.ts +0 -1
- package/dist/_internal/agent/runtime/workflow.js +0 -2
- package/dist/_internal/agent/server/internal.d.ts +0 -1
- package/dist/_internal/agent/server/internal.js +0 -2
- package/dist/_internal/agent/server/workspace.d.ts +0 -1
- package/dist/_internal/agent/server/workspace.js +0 -2
- package/dist/_internal/agent/server.d.ts +0 -1
- package/dist/_internal/agent/server.js +0 -2
- package/dist/_internal/agent/state/sqlite.d.ts +0 -1
- package/dist/_internal/agent/state/sqlite.js +0 -2
- package/dist/_internal/agent.d.ts +0 -1
- package/dist/_internal/agent.js +0 -2
- package/dist/_internal/blob/runtime/state.d.ts +0 -1
- package/dist/_internal/blob/runtime/state.js +0 -2
- package/dist/_internal/blob.d.ts +0 -1
- package/dist/_internal/blob.js +0 -2
- package/dist/_internal/database/runtime/state.d.ts +0 -4
- package/dist/_internal/database/runtime/state.js +0 -5
- package/dist/_internal/kv/runtime/disabled-upstash.d.ts +0 -4
- package/dist/_internal/kv/runtime/disabled-upstash.js +0 -6
- package/dist/_internal/kv.d.ts +0 -1
- package/dist/_internal/kv.js +0 -2
- package/dist/_internal/markdown-template.d.ts +0 -2
- package/dist/_internal/markdown-template.js +0 -2
- package/dist/_internal/rate-limit/runtime.d.ts +0 -1
- package/dist/_internal/rate-limit/runtime.js +0 -2
- 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/_internal/schedule/runtime/process.d.ts +0 -1
- package/dist/_internal/schedule/runtime/process.js +0 -2
- package/dist/_internal/schedule/runtime/static.d.ts +0 -1
- package/dist/_internal/schedule/runtime/static.js +0 -2
- package/dist/_internal/schedule/runtime.d.ts +0 -1
- package/dist/_internal/schedule/runtime.js +0 -2
- package/dist/_internal/schedule.d.ts +0 -1
- package/dist/_internal/schedule.js +0 -2
- package/dist/_internal/workflow/runtime/cloudflare-runner.d.ts +0 -1
- package/dist/_internal/workflow/runtime/cloudflare-runner.js +0 -2
- package/dist/_internal/workflow/runtime/cloudflare-vite.d.ts +0 -1
- package/dist/_internal/workflow/runtime/cloudflare-vite.js +0 -2
- package/dist/_internal/workflow/runtime/execute.d.ts +0 -1
- package/dist/_internal/workflow/runtime/execute.js +0 -2
- package/dist/_internal/workflow/runtime/state.d.ts +0 -1
- package/dist/_internal/workflow/runtime/state.js +0 -2
- package/dist/_internal/workflow/runtime/vercel-vite.d.ts +0 -1
- package/dist/_internal/workflow/runtime/vercel-vite.js +0 -2
- package/dist/_internal/workflow.d.ts +0 -1
- package/dist/_internal/workflow.js +0 -2
- package/dist/_internal/workspace/internal/runtime/hosted-vercel-blob.d.ts +0 -1
- package/dist/_internal/workspace/internal/runtime/hosted-vercel-blob.js +0 -2
- package/dist/_internal/workspace/internal/runtime/hosted.d.ts +0 -1
- package/dist/_internal/workspace/internal/runtime/hosted.js +0 -2
- package/dist/_internal/workspace/internal/runtime/state.d.ts +0 -1
- package/dist/_internal/workspace/internal/runtime/state.js +0 -2
- package/dist/_internal/workspace/runtime.d.ts +0 -1
- package/dist/_internal/workspace/runtime.js +0 -2
- package/dist/_internal/workspace.d.ts +0 -1
- package/dist/_internal/workspace.js +0 -2
- package/dist/agent/invocations/sqlite.d.ts +0 -1
- package/dist/agent/invocations/sqlite.js +0 -2
- package/dist/agent/runtime/process.d.ts +0 -1
- package/dist/agent/runtime/process.js +0 -2
- package/dist/agent/state/sqlite.d.ts +0 -1
- package/dist/agent/state/sqlite.js +0 -2
- package/dist/agents-DGL-2SS3.js +0 -53
- package/dist/blob/content-type.d.ts +0 -1
- package/dist/blob/content-type.js +0 -2
- package/dist/blob-_CeYUuZh.d.ts +0 -8
- package/dist/box.d.ts +0 -1
- package/dist/box.js +0 -2
- package/dist/browser/actions.d.ts +0 -1
- package/dist/browser/actions.js +0 -2
- package/dist/console/runtime/client/time.d.ts +0 -4
- package/dist/console/runtime/client/time.js +0 -8
- package/dist/console/runtime/components/console-brand.vue +0 -37
- package/dist/console/runtime/components/console-health-model.ts +0 -54
- package/dist/console/runtime/components/console-health.vue +0 -236
- package/dist/console/runtime/components/console-primitive-switcher.vue +0 -69
- package/dist/console/runtime/components/console-provider.vue +0 -12
- package/dist/console/runtime/pages/agents.vue +0 -58
- package/dist/console/runtime/pages/blob.vue +0 -30
- package/dist/console/runtime/pages/databases.vue +0 -67
- package/dist/console/runtime/pages/index.vue +0 -29
- package/dist/console/runtime/pages/kv.vue +0 -68
- package/dist/console/runtime/pages/queues.vue +0 -30
- package/dist/console/runtime/pages/rate-limits.vue +0 -30
- package/dist/console/runtime/pages/sandboxes.vue +0 -27
- package/dist/console/runtime/pages/schedules.vue +0 -30
- package/dist/console/runtime/pages/workflows.vue +0 -30
- package/dist/console/runtime/pages/workspaces.vue +0 -30
- package/dist/console/runtime/public/console/chunks/ChatMessage-CVruGJWM.js +0 -1
- package/dist/console/runtime/public/console/chunks/ChatPrompt-BmTjPf5_.js +0 -1
- package/dist/console/runtime/public/console/chunks/ChatPromptSubmit-DcxguvaS.js +0 -1
- package/dist/console/runtime/public/console/chunks/ChatReasoning-DIMO2K2F.js +0 -1
- package/dist/console/runtime/public/console/chunks/ChatShimmer-C613EbHI.js +0 -1
- package/dist/console/runtime/public/console/chunks/ChatTool-DDmc-ZK6.js +0 -1
- package/dist/console/runtime/public/console/chunks/Collapsible-C0CXnWpw.js +0 -1
- package/dist/console/runtime/public/console/chunks/CollapsibleTrigger-CmJucLnT.js +0 -1
- package/dist/console/runtime/public/console/chunks/Icon-D-AnqCok.js +0 -1
- package/dist/console/runtime/public/console/chunks/abap-LtYK6g-v-CLvhMVsD.js +0 -1
- package/dist/console/runtime/public/console/chunks/actionscript-3-Czo0lKSf--17pq3dv.js +0 -1
- package/dist/console/runtime/public/console/chunks/ada-twHwrVWN-C5qYipkI.js +0 -1
- package/dist/console/runtime/public/console/chunks/andromeeda-DnSv6o6l-vGVdxbeo.js +0 -1
- package/dist/console/runtime/public/console/chunks/andromeeda-vGVdxbeo.js +0 -1
- package/dist/console/runtime/public/console/chunks/angular-html-Ct-40ew8-D8X9MCxo.js +0 -1
- package/dist/console/runtime/public/console/chunks/angular-html-DTyieMYv.js +0 -1
- package/dist/console/runtime/public/console/chunks/angular-ts-D3gV1N-x.js +0 -1
- package/dist/console/runtime/public/console/chunks/angular-ts-D6akBVit-CAEqTior.js +0 -1
- package/dist/console/runtime/public/console/chunks/apache-BIl2qPOf-U0d_L8uA.js +0 -1
- package/dist/console/runtime/public/console/chunks/apex-BkQQFAhi-VAyPSnFM.js +0 -1
- package/dist/console/runtime/public/console/chunks/apl-Cxjn4xYu-QUZjoXcb.js +0 -1
- package/dist/console/runtime/public/console/chunks/applescript-CJ80B5XJ-CCn79oCD.js +0 -1
- package/dist/console/runtime/public/console/chunks/ara-IxnQjO6j-4CJ0cIlV.js +0 -1
- package/dist/console/runtime/public/console/chunks/asciidoc-Dsw6zvwf-DE70LPWp.js +0 -1
- package/dist/console/runtime/public/console/chunks/asm-wBDSgBbA-Cmm7eHzH.js +0 -1
- package/dist/console/runtime/public/console/chunks/astro-BPVTb8uX-BMHg0UsI.js +0 -1
- package/dist/console/runtime/public/console/chunks/astro-CLAWI0Fn.js +0 -1
- package/dist/console/runtime/public/console/chunks/aurora-x-CDeNXAV0.js +0 -1
- package/dist/console/runtime/public/console/chunks/aurora-x-XJ5I8rFc-CDeNXAV0.js +0 -1
- package/dist/console/runtime/public/console/chunks/awk-D6dA05Ye-BWXHIvNe.js +0 -1
- package/dist/console/runtime/public/console/chunks/ayu-dark-CBRGL64--DluEY0Gj.js +0 -1
- package/dist/console/runtime/public/console/chunks/ayu-dark-DluEY0Gj.js +0 -1
- package/dist/console/runtime/public/console/chunks/ayu-light-BlrCS3Ih-C3h-C4tm.js +0 -1
- package/dist/console/runtime/public/console/chunks/ayu-light-C3h-C4tm.js +0 -1
- package/dist/console/runtime/public/console/chunks/ayu-mirage-Bqwy1Gya.js +0 -1
- package/dist/console/runtime/public/console/chunks/ayu-mirage-CqpTmLcF-Bqwy1Gya.js +0 -1
- package/dist/console/runtime/public/console/chunks/ballerina-DIdXD2KH-B7ZEbQpA.js +0 -1
- package/dist/console/runtime/public/console/chunks/bat-hQslfzu--Bo4NYOV-.js +0 -1
- package/dist/console/runtime/public/console/chunks/beancount-CXtOQ8oS-D-usSTwE.js +0 -1
- package/dist/console/runtime/public/console/chunks/berry-CgA2ea0_-DKpUyyne.js +0 -1
- package/dist/console/runtime/public/console/chunks/bibtex-BzgdqG3s-Ci_nEsc7.js +0 -1
- package/dist/console/runtime/public/console/chunks/bicep-CZ338dSk-CUHmPFLl.js +0 -1
- package/dist/console/runtime/public/console/chunks/bird2-GLyzhwkD-C6vDhewU.js +0 -1
- package/dist/console/runtime/public/console/chunks/blade-0LMawyyw-CZBPwR53.js +0 -1
- package/dist/console/runtime/public/console/chunks/blade-CP_mgflB.js +0 -1
- package/dist/console/runtime/public/console/chunks/bsl-0NWGiiFE-mk7PqslV.js +0 -1
- package/dist/console/runtime/public/console/chunks/bundle-web-DTJmdyvB.js +0 -13
- package/dist/console/runtime/public/console/chunks/c-BhmuwSav.js +0 -1
- package/dist/console/runtime/public/console/chunks/c-Dc0_AVM6-CjS7AEt5.js +0 -1
- package/dist/console/runtime/public/console/chunks/c3-BLXk7BLN-BFHwR3_K.js +0 -1
- package/dist/console/runtime/public/console/chunks/cadence-B1ELWULD-CQ2zXKGN.js +0 -1
- package/dist/console/runtime/public/console/chunks/cairo-DjG4M3vq-xb-J0v0e.js +0 -1
- package/dist/console/runtime/public/console/chunks/catppuccin-frappe-3VR1Za6u.js +0 -1
- package/dist/console/runtime/public/console/chunks/catppuccin-frappe-COUg_LSX-3VR1Za6u.js +0 -1
- package/dist/console/runtime/public/console/chunks/catppuccin-latte-DwIHMF0Q.js +0 -1
- package/dist/console/runtime/public/console/chunks/catppuccin-latte-r30LFfsa-DwIHMF0Q.js +0 -1
- package/dist/console/runtime/public/console/chunks/catppuccin-macchiato-D-EwZyPh-DYnBP6_5.js +0 -1
- package/dist/console/runtime/public/console/chunks/catppuccin-macchiato-DYnBP6_5.js +0 -1
- package/dist/console/runtime/public/console/chunks/catppuccin-mocha-C6RD5yh3-DYhrFGRu.js +0 -1
- package/dist/console/runtime/public/console/chunks/catppuccin-mocha-DYhrFGRu.js +0 -1
- package/dist/console/runtime/public/console/chunks/chunk-DK3Fl9T5.js +0 -1
- package/dist/console/runtime/public/console/chunks/clarity-2iIoRiLx-SemFz856.js +0 -1
- package/dist/console/runtime/public/console/chunks/clojure-DDsQ0FaV-DqKBuwfJ.js +0 -1
- package/dist/console/runtime/public/console/chunks/cmake-DPsCB_V6-Bj61d0ZC.js +0 -1
- package/dist/console/runtime/public/console/chunks/cobol-CocL1RYn-DoHa8rFw.js +0 -1
- package/dist/console/runtime/public/console/chunks/codeowners-CxEKPWu0-C8r90Shi.js +0 -1
- package/dist/console/runtime/public/console/chunks/codeql-BwdvwJnv-oeQT6MSM.js +0 -1
- package/dist/console/runtime/public/console/chunks/coffee-DtqnQNu5-Ca3s2Keu.js +0 -1
- package/dist/console/runtime/public/console/chunks/coffee-PUiKoj8Q.js +0 -1
- package/dist/console/runtime/public/console/chunks/common-lisp-DJtwvW4V-Cv5bFMCO.js +0 -1
- package/dist/console/runtime/public/console/chunks/coq-Ds6Ye5el-BrsZFFmf.js +0 -1
- package/dist/console/runtime/public/console/chunks/cpp-CxycoGSa.js +0 -1
- package/dist/console/runtime/public/console/chunks/cpp-Mb4ikSI3-tLY9dtiu.js +0 -1
- package/dist/console/runtime/public/console/chunks/crystal-D4OMbAh_-C9omPlZ-.js +0 -1
- package/dist/console/runtime/public/console/chunks/csharp-CFKaLbHg-oqKa8noW.js +0 -1
- package/dist/console/runtime/public/console/chunks/css-DLlZbWMi.js +0 -1
- package/dist/console/runtime/public/console/chunks/css-DTzmO9U0-CbxoEllx.js +0 -1
- package/dist/console/runtime/public/console/chunks/csv-DqIVFkK7-Dx-8-gkx.js +0 -1
- package/dist/console/runtime/public/console/chunks/csv-Dx-8-gkx.js +0 -1
- package/dist/console/runtime/public/console/chunks/cue-B5KneM5p-CE9AQfxI.js +0 -1
- package/dist/console/runtime/public/console/chunks/cypher-D8Bb8Cq2-ClKdZ_lG.js +0 -1
- package/dist/console/runtime/public/console/chunks/d-BQY8TDgQ-qD-0Kul2.js +0 -1
- package/dist/console/runtime/public/console/chunks/dark-plus-BCxGtnt0-Cs2F2srj.js +0 -1
- package/dist/console/runtime/public/console/chunks/dark-plus-Cs2F2srj.js +0 -1
- package/dist/console/runtime/public/console/chunks/dart-C6DUdjib-CnvKMtbv.js +0 -1
- package/dist/console/runtime/public/console/chunks/dax-S-Noo-ku-BkyTk9wS.js +0 -1
- package/dist/console/runtime/public/console/chunks/desktop-BgOb7Aj4-Dlh5hvp9.js +0 -1
- package/dist/console/runtime/public/console/chunks/diff-Blb4MjsC-woXpYk--.js +0 -1
- package/dist/console/runtime/public/console/chunks/docker-PC1tuYpa-IyjqRm3v.js +0 -1
- package/dist/console/runtime/public/console/chunks/dotenv-Dkdv7Sm2-_5a1GRtc.js +0 -1
- package/dist/console/runtime/public/console/chunks/dracula-BHWKrbxM.js +0 -1
- package/dist/console/runtime/public/console/chunks/dracula-fPErIccy-BHWKrbxM.js +0 -1
- package/dist/console/runtime/public/console/chunks/dracula-soft-5eyTD99u.js +0 -1
- package/dist/console/runtime/public/console/chunks/dracula-soft-BrQbqXs8-5eyTD99u.js +0 -1
- package/dist/console/runtime/public/console/chunks/dream-maker-CngiPd8U-DW3nJb8Q.js +0 -1
- package/dist/console/runtime/public/console/chunks/edge-DrFNu-N9-BY3pzybO.js +0 -1
- package/dist/console/runtime/public/console/chunks/elixir-OpZyQ8Ht-CwWfuiQ1.js +0 -1
- package/dist/console/runtime/public/console/chunks/elm-CjX_545P-Dn-DqM39.js +0 -1
- package/dist/console/runtime/public/console/chunks/emacs-lisp-DxhFFVu_-B4R74twV.js +0 -1
- package/dist/console/runtime/public/console/chunks/erb-trZRdc47-DRBdWH-D.js +0 -1
- package/dist/console/runtime/public/console/chunks/erlang-BJeTH9QH-BfDtvnHZ.js +0 -1
- package/dist/console/runtime/public/console/chunks/everforest-dark-gTeBQCos-sB-x3p7T.js +0 -1
- package/dist/console/runtime/public/console/chunks/everforest-dark-sB-x3p7T.js +0 -1
- package/dist/console/runtime/public/console/chunks/everforest-light-DUjxsp-2-Df2xbC6M.js +0 -1
- package/dist/console/runtime/public/console/chunks/everforest-light-Df2xbC6M.js +0 -1
- package/dist/console/runtime/public/console/chunks/fennel-B3wtZRne-DQxkIbk2.js +0 -1
- package/dist/console/runtime/public/console/chunks/fish-D7qAeWQz-BJitypiv.js +0 -1
- package/dist/console/runtime/public/console/chunks/fluent-BjfpB34g-C03EYrpw.js +0 -1
- package/dist/console/runtime/public/console/chunks/fortran-fixed-form-B_eBTsj9-C2-rkbip.js +0 -1
- package/dist/console/runtime/public/console/chunks/fortran-free-form-yxJ7igsv-CYNrtFtB.js +0 -1
- package/dist/console/runtime/public/console/chunks/fsharp-UvrT6oWG-LCdvSpj6.js +0 -1
- package/dist/console/runtime/public/console/chunks/gdresource-Dl9wvKCd-C3MGX-jo.js +0 -1
- package/dist/console/runtime/public/console/chunks/gdscript-jjgTGGzd-Cp2uCuqX.js +0 -1
- package/dist/console/runtime/public/console/chunks/gdshader-D7JfdFV3-CBce3t8t.js +0 -1
- package/dist/console/runtime/public/console/chunks/genie-DnK2KWIP-CV2tkWYe.js +0 -1
- package/dist/console/runtime/public/console/chunks/gherkin-D6Lr12YQ-DExj1W_8.js +0 -1
- package/dist/console/runtime/public/console/chunks/git-commit-2LMniMoO-CfgJCLX7.js +0 -1
- package/dist/console/runtime/public/console/chunks/git-rebase-DUOURRPN-DbPsFIae.js +0 -1
- package/dist/console/runtime/public/console/chunks/github-dark-C-LZuMrd.js +0 -1
- package/dist/console/runtime/public/console/chunks/github-dark-Dg1hl_QD-C-LZuMrd.js +0 -1
- package/dist/console/runtime/public/console/chunks/github-dark-default-DXG-b-1a.js +0 -1
- package/dist/console/runtime/public/console/chunks/github-dark-default-Dym2P842-DXG-b-1a.js +0 -1
- package/dist/console/runtime/public/console/chunks/github-dark-dimmed-7iDMx266-Bx1FflLF.js +0 -1
- package/dist/console/runtime/public/console/chunks/github-dark-dimmed-Bx1FflLF.js +0 -1
- package/dist/console/runtime/public/console/chunks/github-dark-high-contrast-B_tTalzw.js +0 -1
- package/dist/console/runtime/public/console/chunks/github-dark-high-contrast-DkV2fyPG-B_tTalzw.js +0 -1
- package/dist/console/runtime/public/console/chunks/github-light-BQKYgor9-EUqPIrTm.js +0 -1
- package/dist/console/runtime/public/console/chunks/github-light-EUqPIrTm.js +0 -1
- package/dist/console/runtime/public/console/chunks/github-light-default-BXViO-2h.js +0 -1
- package/dist/console/runtime/public/console/chunks/github-light-default-BZhIfzqQ-BXViO-2h.js +0 -1
- package/dist/console/runtime/public/console/chunks/github-light-high-contrast-B68TUdTA.js +0 -1
- package/dist/console/runtime/public/console/chunks/github-light-high-contrast-C7zHfx4C-B68TUdTA.js +0 -1
- package/dist/console/runtime/public/console/chunks/gleam-CTllUdfC-CSRkHgEL.js +0 -1
- package/dist/console/runtime/public/console/chunks/glimmer-js-D_32hFh8-Dv_1Q6fk.js +0 -1
- package/dist/console/runtime/public/console/chunks/glimmer-ts-CVt002zd-PmMLyqBp.js +0 -1
- package/dist/console/runtime/public/console/chunks/glsl-8MDrjpMp.js +0 -1
- package/dist/console/runtime/public/console/chunks/glsl-pHhzolba-D3h1XPFw.js +0 -1
- package/dist/console/runtime/public/console/chunks/gn-DDjbVPF4-ilITqXS6.js +0 -1
- package/dist/console/runtime/public/console/chunks/gnuplot-DgWvVXI8-7GGW24-e.js +0 -1
- package/dist/console/runtime/public/console/chunks/go-aXtTCanQ-rLFTqkRN.js +0 -1
- package/dist/console/runtime/public/console/chunks/graphql-BjqekQIR-CtUxCAnJ.js +0 -1
- package/dist/console/runtime/public/console/chunks/graphql-C4iAGs1_.js +0 -1
- package/dist/console/runtime/public/console/chunks/groovy-Bw2Ku4bU-CacY0gHj.js +0 -1
- package/dist/console/runtime/public/console/chunks/gruvbox-dark-hard-C820rvS2.js +0 -1
- package/dist/console/runtime/public/console/chunks/gruvbox-dark-hard-CQiwpF03-C820rvS2.js +0 -1
- package/dist/console/runtime/public/console/chunks/gruvbox-dark-medium-BKe6XKBS-BPjhmG05.js +0 -1
- package/dist/console/runtime/public/console/chunks/gruvbox-dark-medium-BPjhmG05.js +0 -1
- package/dist/console/runtime/public/console/chunks/gruvbox-dark-soft-Cz6U6pa4-MrdJrrXF.js +0 -1
- package/dist/console/runtime/public/console/chunks/gruvbox-dark-soft-MrdJrrXF.js +0 -1
- package/dist/console/runtime/public/console/chunks/gruvbox-light-hard-BC_s9l72.js +0 -1
- package/dist/console/runtime/public/console/chunks/gruvbox-light-hard-DgU_i19B-BC_s9l72.js +0 -1
- package/dist/console/runtime/public/console/chunks/gruvbox-light-medium-BAWPOn9u.js +0 -1
- package/dist/console/runtime/public/console/chunks/gruvbox-light-medium-D64I06ER-BAWPOn9u.js +0 -1
- package/dist/console/runtime/public/console/chunks/gruvbox-light-soft-B-YxAs1L-BSMLrYjP.js +0 -1
- package/dist/console/runtime/public/console/chunks/gruvbox-light-soft-BSMLrYjP.js +0 -1
- package/dist/console/runtime/public/console/chunks/hack-BITNGzgt-BwY4KWmq.js +0 -1
- package/dist/console/runtime/public/console/chunks/haml-BJGeH8A5.js +0 -1
- package/dist/console/runtime/public/console/chunks/haml-DVwRP8W9-C4Ue42xj.js +0 -1
- package/dist/console/runtime/public/console/chunks/handlebars-OC1LcHwO.js +0 -1
- package/dist/console/runtime/public/console/chunks/handlebars-T3TJj8Il-BLQCwuJT.js +0 -1
- package/dist/console/runtime/public/console/chunks/haskell-CfGsE1Cf-D8IpX4py.js +0 -1
- package/dist/console/runtime/public/console/chunks/haxe-B0odltAZ-OTjmBuCE.js +0 -1
- package/dist/console/runtime/public/console/chunks/hcl-DHg_Osgo-Dh228itO.js +0 -1
- package/dist/console/runtime/public/console/chunks/hjson-Cuaphql8-CxZEssPk.js +0 -1
- package/dist/console/runtime/public/console/chunks/hlsl-BJLUNfne-Cvrh5tZx.js +0 -1
- package/dist/console/runtime/public/console/chunks/horizon-CE9ld1lL.js +0 -1
- package/dist/console/runtime/public/console/chunks/horizon-DYoumREk-CE9ld1lL.js +0 -1
- package/dist/console/runtime/public/console/chunks/horizon-bright-CPyV7XIA-DSNQnXHK.js +0 -1
- package/dist/console/runtime/public/console/chunks/horizon-bright-DSNQnXHK.js +0 -1
- package/dist/console/runtime/public/console/chunks/houston-B3NWfq0V-CsvMBhTu.js +0 -1
- package/dist/console/runtime/public/console/chunks/houston-CsvMBhTu.js +0 -1
- package/dist/console/runtime/public/console/chunks/html-CamevgpM-BbT95zHF.js +0 -1
- package/dist/console/runtime/public/console/chunks/html-Cs160JwT.js +0 -1
- package/dist/console/runtime/public/console/chunks/html-derivative-GiQ9zDJU.js +0 -1
- package/dist/console/runtime/public/console/chunks/html-derivative-jMOJf6rB-Kh3SdD3S.js +0 -1
- package/dist/console/runtime/public/console/chunks/http-BEHztmFP-BxphIJE7.js +0 -1
- package/dist/console/runtime/public/console/chunks/http-Cgwuv9UR.js +0 -1
- package/dist/console/runtime/public/console/chunks/hurl-DMKCZZMv.js +0 -1
- package/dist/console/runtime/public/console/chunks/hurl-LmFBxrwm-CGo4dqUD.js +0 -1
- package/dist/console/runtime/public/console/chunks/hxml-BQ4V4Tez-BaHUc7lX.js +0 -1
- package/dist/console/runtime/public/console/chunks/hy-CJKxDzbh-CZbG8q4J.js +0 -1
- package/dist/console/runtime/public/console/chunks/imba-96qKoJCa-DsUTQ-LC.js +0 -1
- package/dist/console/runtime/public/console/chunks/imba-DsUTQ-LC.js +0 -1
- package/dist/console/runtime/public/console/chunks/ini-C24lZfdM-B5eOa1yu.js +0 -1
- package/dist/console/runtime/public/console/chunks/java-CUcXVav_.js +0 -1
- package/dist/console/runtime/public/console/chunks/java-Cfowl-Ex-BnGnzH2k.js +0 -1
- package/dist/console/runtime/public/console/chunks/javascript-C4sF7sej-B29qPxDa.js +0 -1
- package/dist/console/runtime/public/console/chunks/javascript-DrVpc-sp.js +0 -1
- package/dist/console/runtime/public/console/chunks/jinja-C17UUgXU.js +0 -1
- package/dist/console/runtime/public/console/chunks/jinja-CCAEwzP4-PaInFpq5.js +0 -1
- package/dist/console/runtime/public/console/chunks/jison-BKCoBkyT-BRL7eVgb.js +0 -1
- package/dist/console/runtime/public/console/chunks/jison-ByjIV4zh.js +0 -1
- package/dist/console/runtime/public/console/chunks/json-E4f3l6hr-DuNL0Aj9.js +0 -1
- package/dist/console/runtime/public/console/chunks/json-qhed-kSA.js +0 -1
- package/dist/console/runtime/public/console/chunks/json5-BR5RXkoi.js +0 -1
- package/dist/console/runtime/public/console/chunks/json5-xULSgPQI-BR5RXkoi.js +0 -1
- package/dist/console/runtime/public/console/chunks/jsonc-CYpm1nAK.js +0 -1
- package/dist/console/runtime/public/console/chunks/jsonc-Cu6rqcrJ-CYpm1nAK.js +0 -1
- package/dist/console/runtime/public/console/chunks/jsonl-Bp0qqr10-CmCQp5Yx.js +0 -1
- package/dist/console/runtime/public/console/chunks/jsonl-CmCQp5Yx.js +0 -1
- package/dist/console/runtime/public/console/chunks/jsonnet-BafgE6cE-CJTPZ8u_.js +0 -1
- package/dist/console/runtime/public/console/chunks/jssm-Dx5A5sBR-DXw9l8Rf.js +0 -1
- package/dist/console/runtime/public/console/chunks/jsx-BZjOirBP-Dga5sQe3.js +0 -1
- package/dist/console/runtime/public/console/chunks/jsx-C-HlKHLe.js +0 -1
- package/dist/console/runtime/public/console/chunks/julia-Ca_tGyZB.js +0 -1
- package/dist/console/runtime/public/console/chunks/julia-nEdJo0dp-CJRta6ZT.js +0 -1
- package/dist/console/runtime/public/console/chunks/just-Brtw3q7S-DmytbepJ.js +0 -1
- package/dist/console/runtime/public/console/chunks/kanagawa-dragon-CXtmUGW6.js +0 -1
- package/dist/console/runtime/public/console/chunks/kanagawa-dragon-DExkuQAs-CXtmUGW6.js +0 -1
- package/dist/console/runtime/public/console/chunks/kanagawa-lotus-BN08jTvb.js +0 -1
- package/dist/console/runtime/public/console/chunks/kanagawa-lotus-qdYh7_RY-BN08jTvb.js +0 -1
- package/dist/console/runtime/public/console/chunks/kanagawa-wave-CSW_hADG-CTweb8Dz.js +0 -1
- package/dist/console/runtime/public/console/chunks/kanagawa-wave-CTweb8Dz.js +0 -1
- package/dist/console/runtime/public/console/chunks/kdl-DkTyxPcj-CsD5j6eV.js +0 -1
- package/dist/console/runtime/public/console/chunks/kotlin-BHE8CoV9-DhhofPvG.js +0 -1
- package/dist/console/runtime/public/console/chunks/kusto-6FdaWTzR-C7mF5XQf.js +0 -1
- package/dist/console/runtime/public/console/chunks/laserwave-C_8bwKvT.js +0 -1
- package/dist/console/runtime/public/console/chunks/laserwave-DkfjiLxA-C_8bwKvT.js +0 -1
- package/dist/console/runtime/public/console/chunks/latex-QHQNiZDD-fcyJN6QK.js +0 -1
- package/dist/console/runtime/public/console/chunks/lean-BwOKScIt-CewbzKMR.js +0 -1
- package/dist/console/runtime/public/console/chunks/less-BzbdhFUi-DVTAwKKz.js +0 -1
- package/dist/console/runtime/public/console/chunks/less-DVTAwKKz.js +0 -1
- package/dist/console/runtime/public/console/chunks/light-plus-DVQuIRkW.js +0 -1
- package/dist/console/runtime/public/console/chunks/light-plus-DuO6rXxZ-DVQuIRkW.js +0 -1
- package/dist/console/runtime/public/console/chunks/liquid-DYQ7uW5u-JGNMHTpg.js +0 -1
- package/dist/console/runtime/public/console/chunks/llvm-uY68ROGz-Cm23YOpf.js +0 -1
- package/dist/console/runtime/public/console/chunks/log-Dad54gsi-BNLmms1o.js +0 -1
- package/dist/console/runtime/public/console/chunks/logo-DTXV8SKw-Cluzi2Zq.js +0 -1
- package/dist/console/runtime/public/console/chunks/lua-BhkUWs1q-CVcL4bwV.js +0 -1
- package/dist/console/runtime/public/console/chunks/luau-YC4aaMmR-FMPmPwt6.js +0 -1
- package/dist/console/runtime/public/console/chunks/make-B2ukzWs3-Dixweg8N.js +0 -1
- package/dist/console/runtime/public/console/chunks/markdown-BYOwaDjH.js +0 -1
- package/dist/console/runtime/public/console/chunks/markdown-CkmxmzqY-BYOwaDjH.js +0 -1
- package/dist/console/runtime/public/console/chunks/marko-BHWvxp04-U7nYXRKW.js +0 -1
- package/dist/console/runtime/public/console/chunks/marko-DmV4Eg2F.js +0 -1
- package/dist/console/runtime/public/console/chunks/material-theme-Bm3Qr25_.js +0 -1
- package/dist/console/runtime/public/console/chunks/material-theme-C_YrwKEa-Bm3Qr25_.js +0 -1
- package/dist/console/runtime/public/console/chunks/material-theme-darker-2IIEA8gg.js +0 -1
- package/dist/console/runtime/public/console/chunks/material-theme-darker-DB3YVCla-2IIEA8gg.js +0 -1
- package/dist/console/runtime/public/console/chunks/material-theme-lighter-D2fgNrBK-uhdI0v04.js +0 -1
- package/dist/console/runtime/public/console/chunks/material-theme-lighter-uhdI0v04.js +0 -1
- package/dist/console/runtime/public/console/chunks/material-theme-ocean-CHQ94UKr.js +0 -1
- package/dist/console/runtime/public/console/chunks/material-theme-ocean-DVy172Rs-CHQ94UKr.js +0 -1
- package/dist/console/runtime/public/console/chunks/material-theme-palenight-B5W6OYN7.js +0 -1
- package/dist/console/runtime/public/console/chunks/material-theme-palenight-uMMwIfpG-B5W6OYN7.js +0 -1
- package/dist/console/runtime/public/console/chunks/matlab-CfRK6IMC-D7qyCx1q.js +0 -1
- package/dist/console/runtime/public/console/chunks/mdc-BVkdQPZX.js +0 -1
- package/dist/console/runtime/public/console/chunks/mdc-Dg7VPYLa-CshLRYP7.js +0 -1
- package/dist/console/runtime/public/console/chunks/mdx-BK9ZufRc-DQZ5AkYe.js +0 -1
- package/dist/console/runtime/public/console/chunks/mdx-DQZ5AkYe.js +0 -1
- package/dist/console/runtime/public/console/chunks/mermaid-r7OoIYpE-Bk4SNUv9.js +0 -1
- package/dist/console/runtime/public/console/chunks/min-dark-BSWPekZh.js +0 -1
- package/dist/console/runtime/public/console/chunks/min-dark-C7Ec8I_2-BSWPekZh.js +0 -1
- package/dist/console/runtime/public/console/chunks/min-light-Be6foA7m-DDpmG2fV.js +0 -1
- package/dist/console/runtime/public/console/chunks/min-light-DDpmG2fV.js +0 -1
- package/dist/console/runtime/public/console/chunks/mipsasm-EL46Y4Xg-BMqwQI7S.js +0 -1
- package/dist/console/runtime/public/console/chunks/mojo-YCzvCoMT-BgCJLMeH.js +0 -1
- package/dist/console/runtime/public/console/chunks/monokai-CREPpJ3k-CdkpiU2Y.js +0 -1
- package/dist/console/runtime/public/console/chunks/monokai-CdkpiU2Y.js +0 -1
- package/dist/console/runtime/public/console/chunks/moonbit-B_9L5rST-CaWjb8XO.js +0 -1
- package/dist/console/runtime/public/console/chunks/move-Dqi5fhOb-B1IS1UjX.js +0 -1
- package/dist/console/runtime/public/console/chunks/narrat-D9rrR0H5-_X_XdTYD.js +0 -1
- package/dist/console/runtime/public/console/chunks/nextflow-CgUAk9iA-CTMUe4Ca.js +0 -1
- package/dist/console/runtime/public/console/chunks/nextflow-groovy-CdFFX-gF-DJMQeKeT.js +0 -1
- package/dist/console/runtime/public/console/chunks/nginx-Q-E8IJvs-DiQO9reH.js +0 -1
- package/dist/console/runtime/public/console/chunks/night-owl-CqqbiLON-DhmEMT88.js +0 -1
- package/dist/console/runtime/public/console/chunks/night-owl-DhmEMT88.js +0 -1
- package/dist/console/runtime/public/console/chunks/night-owl-light-B9vYgGRt-eJ-hLW7d.js +0 -1
- package/dist/console/runtime/public/console/chunks/night-owl-light-eJ-hLW7d.js +0 -1
- package/dist/console/runtime/public/console/chunks/nim-CNcTuF14-W9Ucwkhx.js +0 -1
- package/dist/console/runtime/public/console/chunks/nix-Bm1Ax-Z3-IvuFDN5E.js +0 -1
- package/dist/console/runtime/public/console/chunks/nord-BZ9DVmcN-Cb4Vim4T.js +0 -1
- package/dist/console/runtime/public/console/chunks/nord-Cb4Vim4T.js +0 -1
- package/dist/console/runtime/public/console/chunks/nushell-r7hBzeS_-DcLAeLz5.js +0 -1
- package/dist/console/runtime/public/console/chunks/objective-c-6dJF64Dt-D1A_Heim.js +0 -1
- package/dist/console/runtime/public/console/chunks/objective-cpp-_ooRQ-PY-BsSzOQcm.js +0 -1
- package/dist/console/runtime/public/console/chunks/ocaml-vm1Y8An6-O90oeIOV.js +0 -1
- package/dist/console/runtime/public/console/chunks/odin-vjOJSyfV-B1RWQWA5.js +0 -1
- package/dist/console/runtime/public/console/chunks/one-dark-pro-CLwyXe_n.js +0 -1
- package/dist/console/runtime/public/console/chunks/one-dark-pro-Ev8UPkf4-CLwyXe_n.js +0 -1
- package/dist/console/runtime/public/console/chunks/one-light-CzxBC38_-D7Lr4KcI.js +0 -1
- package/dist/console/runtime/public/console/chunks/one-light-D7Lr4KcI.js +0 -1
- package/dist/console/runtime/public/console/chunks/openscad-jn-f1Ocl-BUDT5pXO.js +0 -1
- package/dist/console/runtime/public/console/chunks/pascal-D8-gNZ2I-4ZHwLPI5.js +0 -1
- package/dist/console/runtime/public/console/chunks/perl-Bbgb6Twx-CHGXAzGq.js +0 -1
- package/dist/console/runtime/public/console/chunks/php-CBOR45_G-D5pyod9R.js +0 -1
- package/dist/console/runtime/public/console/chunks/php-J5BBb-PR.js +0 -1
- package/dist/console/runtime/public/console/chunks/pierre-code-view-DYpF5M8R-BiohFcCD.js +0 -1511
- package/dist/console/runtime/public/console/chunks/pierre-dark-DDWDl8g6-CpLgRqie.js +0 -1
- package/dist/console/runtime/public/console/chunks/pierre-dark-protanopia-deuteranopia-C35UMuvO-B35FxJx-.js +0 -1
- package/dist/console/runtime/public/console/chunks/pierre-dark-soft-Bb-4-biO-kZQmAZld.js +0 -1
- package/dist/console/runtime/public/console/chunks/pierre-dark-tritanopia-CIJISGWF-CpjhbsIL.js +0 -1
- package/dist/console/runtime/public/console/chunks/pierre-dark-vibrant-8oZzB3gw-CpQYzh95.js +0 -1
- package/dist/console/runtime/public/console/chunks/pierre-light-CWhW4NrH-CoaEpmwp.js +0 -1
- package/dist/console/runtime/public/console/chunks/pierre-light-protanopia-deuteranopia-u0U7N4Hn-0fSaH845.js +0 -1
- package/dist/console/runtime/public/console/chunks/pierre-light-soft-BCU6fuhO-lWLdNTOI.js +0 -1
- package/dist/console/runtime/public/console/chunks/pierre-light-tritanopia-3c8Yx3co-CEbqgOJL.js +0 -1
- package/dist/console/runtime/public/console/chunks/pierre-light-vibrant-Cwh332o_-D80Fkn33.js +0 -1
- package/dist/console/runtime/public/console/chunks/pkl-C7lWzykI-ot-7Btpt.js +0 -1
- package/dist/console/runtime/public/console/chunks/plastic-BGkJ2das-DQwYfKfQ.js +0 -1
- package/dist/console/runtime/public/console/chunks/plastic-DQwYfKfQ.js +0 -1
- package/dist/console/runtime/public/console/chunks/plsql-DCNXypXO-DGHpHOYJ.js +0 -1
- package/dist/console/runtime/public/console/chunks/po-IjpR1yHO-BiJDBrnU.js +0 -1
- package/dist/console/runtime/public/console/chunks/poimandres-CpnMgZuc-DRFjx7u4.js +0 -1
- package/dist/console/runtime/public/console/chunks/poimandres-DRFjx7u4.js +0 -1
- package/dist/console/runtime/public/console/chunks/polar-4pN1JrJ8-C7UOKdEL.js +0 -1
- package/dist/console/runtime/public/console/chunks/postcss-BXeXVLqQ.js +0 -1
- package/dist/console/runtime/public/console/chunks/postcss-D1gKt4z_-BXeXVLqQ.js +0 -1
- package/dist/console/runtime/public/console/chunks/powerquery-SrvS_NBM-DNMTfnFr.js +0 -1
- package/dist/console/runtime/public/console/chunks/powershell-CpTLv_ai-DshXNtvi.js +0 -1
- package/dist/console/runtime/public/console/chunks/prisma-BWfa4-tI-BsRQq5mF.js +0 -1
- package/dist/console/runtime/public/console/chunks/prolog-Bacii3Ue-iXnhIJG7.js +0 -1
- package/dist/console/runtime/public/console/chunks/proto-ClkOcAW0-DB4EqR-F.js +0 -1
- package/dist/console/runtime/public/console/chunks/pug-CfJcGJfh.js +0 -1
- package/dist/console/runtime/public/console/chunks/pug-Cn_U_o_I-Cw4zFEpZ.js +0 -1
- package/dist/console/runtime/public/console/chunks/puppet-CQlPp728-CDv2pdJW.js +0 -1
- package/dist/console/runtime/public/console/chunks/purescript-CLpaGMbw-9MfHhQsQ.js +0 -1
- package/dist/console/runtime/public/console/chunks/python-BjnOIxPe-gzcpVVnB.js +0 -1
- package/dist/console/runtime/public/console/chunks/python-gzcpVVnB.js +0 -1
- package/dist/console/runtime/public/console/chunks/qml-DNlrbxJT-B_IzAFFX.js +0 -1
- package/dist/console/runtime/public/console/chunks/qmldir-Dz8ttxjf-DCQb3MpD.js +0 -1
- package/dist/console/runtime/public/console/chunks/qss-Iltvkn1C-Fe1Jh2GI.js +0 -1
- package/dist/console/runtime/public/console/chunks/r-Dzep-lPg.js +0 -1
- package/dist/console/runtime/public/console/chunks/r-VqTZMNY_-EnO4GoeC.js +0 -1
- package/dist/console/runtime/public/console/chunks/racket-DRv7j6nv-DcIDlBhZ.js +0 -1
- package/dist/console/runtime/public/console/chunks/raku-DI9yGpeW-B3gFvitq.js +0 -1
- package/dist/console/runtime/public/console/chunks/razor-Bw2un3e8-CtGvw0jo.js +0 -1
- package/dist/console/runtime/public/console/chunks/red-CJ3rzSJv.js +0 -1
- package/dist/console/runtime/public/console/chunks/red-EHiRGXSv-CJ3rzSJv.js +0 -1
- package/dist/console/runtime/public/console/chunks/reg-DpJf71oO-CRGYupPL.js +0 -1
- package/dist/console/runtime/public/console/chunks/regexp-5HbFqwky-C3xQXL6t.js +0 -1
- package/dist/console/runtime/public/console/chunks/regexp-R83qIIH_.js +0 -1
- package/dist/console/runtime/public/console/chunks/rel-BT0iIKKw-BtDbiS_P.js +0 -1
- package/dist/console/runtime/public/console/chunks/riscv-CvzikGLb-Ckw8ddFX.js +0 -1
- package/dist/console/runtime/public/console/chunks/ron-DzAo6FTJ-VUp2lXgN.js +0 -1
- package/dist/console/runtime/public/console/chunks/rose-pine-BthvhNj6.js +0 -1
- package/dist/console/runtime/public/console/chunks/rose-pine-DTI-z1Qp-BthvhNj6.js +0 -1
- package/dist/console/runtime/public/console/chunks/rose-pine-dawn-BIiGXpWs-Dg85fqjY.js +0 -1
- package/dist/console/runtime/public/console/chunks/rose-pine-dawn-Dg85fqjY.js +0 -1
- package/dist/console/runtime/public/console/chunks/rose-pine-moon-DU4wt90U-hon4tzzS.js +0 -1
- package/dist/console/runtime/public/console/chunks/rose-pine-moon-hon4tzzS.js +0 -1
- package/dist/console/runtime/public/console/chunks/rosmsg-CyYq6XdT-CAekHB0j.js +0 -1
- package/dist/console/runtime/public/console/chunks/rst-BZPDb03W-BDIwqmQR.js +0 -1
- package/dist/console/runtime/public/console/chunks/ruby-BbVp0_gQ-BUOn3oxT.js +0 -1
- package/dist/console/runtime/public/console/chunks/rust-COBzcmTx-Cfkwpbl8.js +0 -1
- package/dist/console/runtime/public/console/chunks/sas-DSkdG4wF-BE4zxtJ7.js +0 -1
- package/dist/console/runtime/public/console/chunks/sass-DI2zJwx7-DXrisJhu.js +0 -1
- package/dist/console/runtime/public/console/chunks/sass-DXrisJhu.js +0 -1
- package/dist/console/runtime/public/console/chunks/scala-CtSYTRYT-DKOlJaKm.js +0 -1
- package/dist/console/runtime/public/console/chunks/scheme-D3A2QBtM-DQCgrYNe.js +0 -1
- package/dist/console/runtime/public/console/chunks/scss-BQ7uffpQ-D2aPazKS.js +0 -1
- package/dist/console/runtime/public/console/chunks/scss-DTeHeodw.js +0 -1
- package/dist/console/runtime/public/console/chunks/sdbl-CdQg5gu1-bTVj8UrX.js +0 -1
- package/dist/console/runtime/public/console/chunks/shaderlab-CWP9wBCf-C6U2tjWC.js +0 -1
- package/dist/console/runtime/public/console/chunks/shellscript-B42c0JAn-D5OxpxEd.js +0 -1
- package/dist/console/runtime/public/console/chunks/shellscript-CLZ0U2zV.js +0 -1
- package/dist/console/runtime/public/console/chunks/shellsession-Oc9-NqAv-C1K_F4Is.js +0 -1
- package/dist/console/runtime/public/console/chunks/slack-dark-BS2AOOdo-DnToyrRv.js +0 -1
- package/dist/console/runtime/public/console/chunks/slack-dark-DnToyrRv.js +0 -1
- package/dist/console/runtime/public/console/chunks/slack-ochin-B2OO5cIa.js +0 -1
- package/dist/console/runtime/public/console/chunks/slack-ochin-Nc7Cucwk-B2OO5cIa.js +0 -1
- package/dist/console/runtime/public/console/chunks/smalltalk-BEQkVl4K-B16xEiuN.js +0 -1
- package/dist/console/runtime/public/console/chunks/snazzy-light-4G7pJPwS.js +0 -1
- package/dist/console/runtime/public/console/chunks/snazzy-light-C2ghKZXY-4G7pJPwS.js +0 -1
- package/dist/console/runtime/public/console/chunks/solarized-dark-DV17i1UV.js +0 -1
- package/dist/console/runtime/public/console/chunks/solarized-dark-UHgjRWhr-DV17i1UV.js +0 -1
- package/dist/console/runtime/public/console/chunks/solarized-light-B-Zcwve2-DSh2HLQt.js +0 -1
- package/dist/console/runtime/public/console/chunks/solarized-light-DSh2HLQt.js +0 -1
- package/dist/console/runtime/public/console/chunks/solidity-lB9VjfB9-CKzVLygQ.js +0 -1
- package/dist/console/runtime/public/console/chunks/soy-tgh9u9aW-Cm_LtJoW.js +0 -1
- package/dist/console/runtime/public/console/chunks/sparql-B4t0ZbEe-CXgkFCv7.js +0 -1
- package/dist/console/runtime/public/console/chunks/splunk-xP_ZjUH2-BC2Px7Mm.js +0 -1
- package/dist/console/runtime/public/console/chunks/sql-C7n9abzK.js +0 -1
- package/dist/console/runtime/public/console/chunks/sql-CrPlEQn4-COghB3-E.js +0 -1
- package/dist/console/runtime/public/console/chunks/ssh-config-DXFPABYp-BgfXC-Er.js +0 -1
- package/dist/console/runtime/public/console/chunks/stata-D_KqT8cj-oQQpG6t_.js +0 -1
- package/dist/console/runtime/public/console/chunks/stylus-B6D30XZt.js +0 -1
- package/dist/console/runtime/public/console/chunks/stylus-ZZDn1yUO-B6D30XZt.js +0 -1
- package/dist/console/runtime/public/console/chunks/surrealql-C0KhgoyZ-DqXNFH_A.js +0 -1
- package/dist/console/runtime/public/console/chunks/svelte-CRpWSJAY.js +0 -1
- package/dist/console/runtime/public/console/chunks/svelte-DuHT0xxw-Bs0TxuUS.js +0 -1
- package/dist/console/runtime/public/console/chunks/swift-BTPQlRLK-DonLKvLd.js +0 -1
- package/dist/console/runtime/public/console/chunks/synthwave-84-CPtGYwOz-nFMaYfgc.js +0 -1
- package/dist/console/runtime/public/console/chunks/synthwave-84-nFMaYfgc.js +0 -1
- package/dist/console/runtime/public/console/chunks/system-verilog-BEoxaBuU-DJ5XKQeo.js +0 -1
- package/dist/console/runtime/public/console/chunks/systemd-DFbUltlW-BxMlprV5.js +0 -1
- package/dist/console/runtime/public/console/chunks/talonscript-CLxaFu-b-CohzipZa.js +0 -1
- package/dist/console/runtime/public/console/chunks/tasl-_AAbKiWM-DMoTqEGO.js +0 -1
- package/dist/console/runtime/public/console/chunks/tcl-DLe0Tsfm-CZd0xW_V.js +0 -1
- package/dist/console/runtime/public/console/chunks/templ-DF54artD-BPb_zNLV.js +0 -1
- package/dist/console/runtime/public/console/chunks/terraform-v0KN9QQh-DswuEJGm.js +0 -1
- package/dist/console/runtime/public/console/chunks/tex-Bbhb8xAP-9R8lE_en.js +0 -1
- package/dist/console/runtime/public/console/chunks/tokyo-night-BKYoawWu-oM2G3aXe.js +0 -1
- package/dist/console/runtime/public/console/chunks/tokyo-night-oM2G3aXe.js +0 -1
- package/dist/console/runtime/public/console/chunks/toml-B7BHZIqX-CcmNWLt0.js +0 -1
- package/dist/console/runtime/public/console/chunks/ts-tags-DH1AB-Ri-CgEe3BFX.js +0 -1
- package/dist/console/runtime/public/console/chunks/ts-tags-DJjZLMnt.js +0 -1
- package/dist/console/runtime/public/console/chunks/tsv-BorGVq2Z-sltzmVWM.js +0 -1
- package/dist/console/runtime/public/console/chunks/tsx-B7QamQLF.js +0 -1
- package/dist/console/runtime/public/console/chunks/tsx-BR8s1Lhs-DiW36VFk.js +0 -1
- package/dist/console/runtime/public/console/chunks/turtle-BEG5g_eT-ByJddavk.js +0 -1
- package/dist/console/runtime/public/console/chunks/tv-WsfYJXat.js +0 -1
- package/dist/console/runtime/public/console/chunks/twig-DziFF7iU-DLOFbR4k.js +0 -1
- package/dist/console/runtime/public/console/chunks/typescript-D8TR6ff2-CCKRkaRI.js +0 -1
- package/dist/console/runtime/public/console/chunks/typescript-DzLO-qqB.js +0 -1
- package/dist/console/runtime/public/console/chunks/typespec-C_R5TbvO-BRdr0IET.js +0 -1
- package/dist/console/runtime/public/console/chunks/typst-BV9w0z8--DI99ib-x.js +0 -1
- package/dist/console/runtime/public/console/chunks/v-DfbeXLo8-DETTlOr0.js +0 -1
- package/dist/console/runtime/public/console/chunks/vala-BnnASFsX-zf12oZj6.js +0 -1
- package/dist/console/runtime/public/console/chunks/vb-DU29mvss-Djn5o6TS.js +0 -1
- package/dist/console/runtime/public/console/chunks/verilog-BW5U03XW-CiiDBU1e.js +0 -1
- package/dist/console/runtime/public/console/chunks/vesper-ClvmKzqD-DdrHHSXu.js +0 -1
- package/dist/console/runtime/public/console/chunks/vesper-DdrHHSXu.js +0 -1
- package/dist/console/runtime/public/console/chunks/vhdl-Co2XFKY7-BroJfC0k.js +0 -1
- package/dist/console/runtime/public/console/chunks/viml-BReTXeDA-DvXPmvsu.js +0 -1
- package/dist/console/runtime/public/console/chunks/vitesse-black-BY6Qtyq--fwtXNY1n.js +0 -1
- package/dist/console/runtime/public/console/chunks/vitesse-black-fwtXNY1n.js +0 -1
- package/dist/console/runtime/public/console/chunks/vitesse-dark-BT-v_EgR-BZCL-v6S.js +0 -1
- package/dist/console/runtime/public/console/chunks/vitesse-dark-BZCL-v6S.js +0 -1
- package/dist/console/runtime/public/console/chunks/vitesse-light-Box8ZFz6-VbXTXTou.js +0 -1
- package/dist/console/runtime/public/console/chunks/vitesse-light-VbXTXTou.js +0 -1
- package/dist/console/runtime/public/console/chunks/vue-BRy8iDCZ-CL7P9CNz.js +0 -1
- package/dist/console/runtime/public/console/chunks/vue-CQQ6_PvN.js +0 -1
- package/dist/console/runtime/public/console/chunks/vue-html-B24bjO_3-BY2skbNe.js +0 -1
- package/dist/console/runtime/public/console/chunks/vue-html-Ce5SCNOK.js +0 -1
- package/dist/console/runtime/public/console/chunks/vue-vine-DKH1_YEZ.js +0 -1
- package/dist/console/runtime/public/console/chunks/vue-vine-l7O7Mg81-CFWzX3HC.js +0 -1
- package/dist/console/runtime/public/console/chunks/vue.runtime.esm-bundler-COh-O3z7.js +0 -3
- package/dist/console/runtime/public/console/chunks/vyper-C6KGx0YU-CgoNMtux.js +0 -1
- package/dist/console/runtime/public/console/chunks/wasm-BRCjOXGL-BnjxR4X6.js +0 -1
- package/dist/console/runtime/public/console/chunks/wasm-BnjxR4X6.js +0 -1
- package/dist/console/runtime/public/console/chunks/wasm-ByWQv1Qj.js +0 -1
- package/dist/console/runtime/public/console/chunks/wasm-gNIKwGlD-ByWQv1Qj.js +0 -1
- package/dist/console/runtime/public/console/chunks/wenyan-BeysbCrW-C8pVoKbM.js +0 -1
- package/dist/console/runtime/public/console/chunks/wgsl-1s5rV5xS-BsKzXJz4.js +0 -1
- package/dist/console/runtime/public/console/chunks/wgsl-BsKzXJz4.js +0 -1
- package/dist/console/runtime/public/console/chunks/wikitext-wjhjmmzD-ClFFjSW2.js +0 -1
- package/dist/console/runtime/public/console/chunks/wit-CeQiCbz_-DdvCle-K.js +0 -1
- package/dist/console/runtime/public/console/chunks/wit-DdvCle-K.js +0 -1
- package/dist/console/runtime/public/console/chunks/wolfram-CcZPfnLd-DLL8P-h_.js +0 -1
- package/dist/console/runtime/public/console/chunks/xml-CduVPlYa-BZCwbgEk.js +0 -1
- package/dist/console/runtime/public/console/chunks/xml-G-voesMw.js +0 -1
- package/dist/console/runtime/public/console/chunks/xsl-BeH_vLTK-DeKk-5KU.js +0 -1
- package/dist/console/runtime/public/console/chunks/yaml-Cb0uRU1q-CkSC4c4u.js +0 -1
- package/dist/console/runtime/public/console/chunks/yaml-rwi0_p6S.js +0 -1
- package/dist/console/runtime/public/console/chunks/zenscript-BoijL7rl-BnlCZFoB.js +0 -1
- package/dist/console/runtime/public/console/chunks/zig-lTQvxhLD-CMLA9XwU.js +0 -1
- package/dist/console/runtime/public/console/console-Bwq3z75a.css +0 -3
- package/dist/console/runtime/public/console/console-Cl-xrMah.js +0 -1371
- package/dist/console/runtime/server/blob.get.d.ts +0 -25
- package/dist/console/runtime/server/blob.get.js +0 -74
- package/dist/console/runtime/server/devframe.d.ts +0 -13
- package/dist/console/runtime/server/devframe.js +0 -133
- package/dist/console/runtime/server/kv.d.ts +0 -2
- package/dist/console/runtime/server/kv.get.d.ts +0 -24
- package/dist/console/runtime/server/kv.get.js +0 -236
- package/dist/console/runtime/server/kv.js +0 -18
- package/dist/console/runtime/server/page.get.d.ts +0 -6
- package/dist/console/runtime/server/page.get.js +0 -33
- package/dist/database/drizzle.d.ts +0 -16
- package/dist/database/drizzle.js +0 -9
- package/dist/database-CW-WjW4u.d.ts +0 -8
- package/dist/definitions-BHmB22eM.d.ts +0 -7
- package/dist/definitions-CfSmoS5G.d.ts +0 -17
- package/dist/email/server.d.ts +0 -1
- package/dist/email/server.js +0 -2
- package/dist/env/presets.d.ts +0 -1
- package/dist/env/presets.js +0 -2
- package/dist/env/provider.d.ts +0 -1
- package/dist/env/provider.js +0 -2
- package/dist/env/schema.d.ts +0 -1
- package/dist/env/schema.js +0 -2
- package/dist/env/secret.d.ts +0 -1
- package/dist/env/secret.js +0 -2
- package/dist/index-B072hyCd.d.ts +0 -59
- package/dist/internal-12r-XCbk.d.ts +0 -20
- package/dist/internal-DzLLx0iR.js +0 -304
- package/dist/invocations-qwMRTSy7.js +0 -364
- package/dist/kv-DLGscNQ_.d.ts +0 -8
- package/dist/request-DxBwxGnk.js +0 -72
- package/dist/request-NErg_P5m.d.ts +0 -43
- package/dist/runtime/node.d.ts +0 -1
- package/dist/runtime/node.js +0 -2
- package/dist/schedule/runtime/driver.d.ts +0 -1
- package/dist/schedule/runtime/driver.js +0 -2
- package/dist/search.get-ClTCn-mh.js +0 -100
- package/dist/sections-7HoMOIGH.d.ts +0 -9
- package/dist/sections-DVsqeLAF.d.ts +0 -100
- package/dist/server-BFxDhCzA.d.ts +0 -78
- package/dist/shell/providers/cloudflare.d.ts +0 -1
- package/dist/shell/providers/cloudflare.js +0 -2
- package/dist/source/content/client.d.ts +0 -1
- package/dist/source/content/client.js +0 -2
- package/dist/source/content.d.ts +0 -1
- package/dist/source/content.js +0 -2
- package/dist/source/file.d.ts +0 -1
- package/dist/source/file.js +0 -2
- package/dist/source/github.d.ts +0 -1
- package/dist/source/github.js +0 -2
- package/dist/source/glob.d.ts +0 -1
- package/dist/source/glob.js +0 -2
- package/dist/source/markdown.d.ts +0 -1
- package/dist/source/markdown.js +0 -2
- package/dist/src-XEJGHDr9.js +0 -5247
- package/dist/types-BucGTJnk.js +0 -168
- package/dist/ui/nuxt.d.ts +0 -3
- package/dist/ui/nuxt.js +0 -3
- package/dist/usage-CoZa_8fx.js +0 -361
- package/dist/workspace/collections/client.d.ts +0 -1
- package/dist/workspace/collections/client.js +0 -2
- package/dist/workspace/collections.d.ts +0 -1
- package/dist/workspace/collections.js +0 -2
- package/dist/workspace/publish.d.ts +0 -1
- package/dist/workspace/publish.js +0 -2
|
@@ -1,12 +1,40 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
2
|
+
import { consoleNumber } from "../client/format";
|
|
3
|
+
import { computed, nextTick, onBeforeUnmount, ref, useTemplateRef, watch } from "vue";
|
|
4
|
+
import * as v from "valibot";
|
|
4
5
|
|
|
5
|
-
import {
|
|
6
|
+
import { useRoute, useRouter } from "vue-router";
|
|
7
|
+
import { encodeAgentRouteParam, resolveConsoleRouteName } from "../console-route";
|
|
8
|
+
import { requestConsole } from "../client/request";
|
|
9
|
+
import ConsolePageHeader from "./console-page-header.vue";
|
|
10
|
+
import ConsoleState from "./console-state.vue";
|
|
11
|
+
import ConsoleUsageChart from "./console-usage-chart.vue";
|
|
12
|
+
import ConsoleUsageModelDetail from "./console-usage-model-detail.vue";
|
|
13
|
+
import ConsoleUsageShareBar from "./console-usage-share-bar.vue";
|
|
14
|
+
import Icon from "./console-icon.vue";
|
|
15
|
+
import {
|
|
16
|
+
consoleUsageCacheHitRate,
|
|
17
|
+
consoleUsageMetricValue,
|
|
18
|
+
consoleUsageModelShare,
|
|
19
|
+
consoleUsageChartPoint,
|
|
20
|
+
consoleUsageTokenSegments,
|
|
21
|
+
formatConsoleUsageCost as formatCost,
|
|
22
|
+
formatConsoleUsageCostEvidence as formatCostEvidence,
|
|
23
|
+
formatConsoleUsageDateTime as formatDateTime,
|
|
24
|
+
formatConsoleUsagePeriod as formatPeriod,
|
|
25
|
+
formatConsoleUsageShare,
|
|
26
|
+
formatConsoleUsageTimestamp as formatTimestamp,
|
|
27
|
+
formatConsoleUsageTokenEvidence as formatTokenEvidence,
|
|
28
|
+
formatConsoleUsageTokens as formatTokens,
|
|
29
|
+
formatConsoleUsageValue,
|
|
30
|
+
sortConsoleUsageModels,
|
|
31
|
+
type ConsoleUsageChartPoint,
|
|
32
|
+
type ConsoleUsageMetric as UsageMetric,
|
|
33
|
+
} from "./console-usage-model";
|
|
6
34
|
|
|
7
|
-
type
|
|
8
|
-
type
|
|
9
|
-
type UsageWindow = "24h" | "7d" | "30d" | "90d"
|
|
35
|
+
type UsageBreakdown = "model" | "time";
|
|
36
|
+
type UsageSection = "overview" | "sessions" | "accounts";
|
|
37
|
+
type UsageWindow = "24h" | "7d" | "14d" | "30d" | "90d";
|
|
10
38
|
const usageTotalsEntries = {
|
|
11
39
|
cacheWriteTokens: v.number(),
|
|
12
40
|
cacheWriteTokensAvailable: v.boolean(),
|
|
@@ -15,6 +43,8 @@ const usageTotalsEntries = {
|
|
|
15
43
|
costAvailable: v.boolean(),
|
|
16
44
|
costEstimated: v.boolean(),
|
|
17
45
|
costUsd: v.string(),
|
|
46
|
+
averageCostUsd: v.optional(v.string()),
|
|
47
|
+
pricedInvocations: v.number(),
|
|
18
48
|
inputTokens: v.number(),
|
|
19
49
|
inputTokensAvailable: v.boolean(),
|
|
20
50
|
invocations: v.number(),
|
|
@@ -25,16 +55,83 @@ const usageTotalsEntries = {
|
|
|
25
55
|
reasoningTokensAvailable: v.boolean(),
|
|
26
56
|
totalTokens: v.number(),
|
|
27
57
|
totalTokensAvailable: v.boolean(),
|
|
28
|
-
}
|
|
29
|
-
const usageTotalsSchema = v.object(usageTotalsEntries)
|
|
30
|
-
const usageModelSchema = v.object({ ...usageTotalsEntries, model: v.string() })
|
|
58
|
+
};
|
|
59
|
+
const usageTotalsSchema = v.object(usageTotalsEntries);
|
|
60
|
+
const usageModelSchema = v.object({ ...usageTotalsEntries, model: v.string() });
|
|
31
61
|
const usageBucketSchema = v.object({
|
|
32
62
|
...usageTotalsEntries,
|
|
33
63
|
models: v.array(usageModelSchema),
|
|
34
64
|
start: v.string(),
|
|
35
|
-
})
|
|
65
|
+
});
|
|
66
|
+
const usageRunSchema = v.object({
|
|
67
|
+
id: v.string(),
|
|
68
|
+
agent: v.string(),
|
|
69
|
+
status: v.string(),
|
|
70
|
+
at: v.string(),
|
|
71
|
+
usage: v.optional(
|
|
72
|
+
v.object({
|
|
73
|
+
model: v.optional(v.string()),
|
|
74
|
+
totalTokens: v.optional(v.number()),
|
|
75
|
+
cost: v.optional(v.object({ usd: v.string(), estimated: v.boolean(), source: v.string() })),
|
|
76
|
+
}),
|
|
77
|
+
),
|
|
78
|
+
});
|
|
79
|
+
const usageSessionSchema = v.object({
|
|
80
|
+
id: v.string(),
|
|
81
|
+
agent: v.string(),
|
|
82
|
+
title: v.optional(v.string()),
|
|
83
|
+
status: v.picklist(["completed", "failed", "cancelled"]),
|
|
84
|
+
at: v.string(),
|
|
85
|
+
models: v.array(v.string()),
|
|
86
|
+
partial: v.boolean(),
|
|
87
|
+
totals: usageTotalsSchema,
|
|
88
|
+
});
|
|
89
|
+
const providerStatusSchema = v.object({
|
|
90
|
+
agents: v.array(
|
|
91
|
+
v.object({
|
|
92
|
+
agent: v.string(),
|
|
93
|
+
provider: v.optional(v.string()),
|
|
94
|
+
account: v.optional(v.object({ id: v.string(), kind: v.picklist(["credential", "account"]) })),
|
|
95
|
+
readiness: v.picklist(["ready", "unavailable", "unknown", "unsupported"]),
|
|
96
|
+
checkedAt: v.string(),
|
|
97
|
+
stale: v.boolean(),
|
|
98
|
+
reason: v.optional(v.string()),
|
|
99
|
+
modelCompatibility: v.optional(v.object({
|
|
100
|
+
status: v.picklist(["ready", "unavailable", "unknown", "unsupported"]),
|
|
101
|
+
reason: v.optional(v.string()),
|
|
102
|
+
})),
|
|
103
|
+
workspaceCapacity: v.optional(v.object({
|
|
104
|
+
status: v.picklist(["ready", "unavailable", "unknown", "unsupported"]),
|
|
105
|
+
reason: v.optional(v.string()),
|
|
106
|
+
})),
|
|
107
|
+
installed: v.optional(v.boolean()),
|
|
108
|
+
authenticated: v.optional(v.boolean()),
|
|
109
|
+
usageLimits: v.optional(
|
|
110
|
+
v.object({
|
|
111
|
+
checkedAt: v.string(),
|
|
112
|
+
windows: v.array(
|
|
113
|
+
v.object({
|
|
114
|
+
id: v.string(),
|
|
115
|
+
label: v.string(),
|
|
116
|
+
usedPercent: v.number(),
|
|
117
|
+
resetsAt: v.optional(v.string()),
|
|
118
|
+
}),
|
|
119
|
+
),
|
|
120
|
+
unavailable: v.optional(v.object({ reason: v.string() })),
|
|
121
|
+
}),
|
|
122
|
+
),
|
|
123
|
+
}),
|
|
124
|
+
),
|
|
125
|
+
});
|
|
36
126
|
const usageSummarySchema = v.object({
|
|
37
127
|
available: v.boolean(),
|
|
128
|
+
costSupported: v.boolean(),
|
|
129
|
+
agents: v.array(v.object({ ...usageTotalsEntries, agent: v.string() })),
|
|
130
|
+
sessions: v.array(usageSessionSchema),
|
|
131
|
+
sessionCount: v.number(),
|
|
132
|
+
runs: v.array(usageRunSchema),
|
|
133
|
+
expensive: v.array(usageRunSchema),
|
|
134
|
+
cursor: v.optional(v.string()),
|
|
38
135
|
buckets: v.array(usageBucketSchema),
|
|
39
136
|
costAvailable: v.boolean(),
|
|
40
137
|
from: v.string(),
|
|
@@ -44,553 +141,1034 @@ const usageSummarySchema = v.object({
|
|
|
44
141
|
resolution: v.picklist(["day", "hour"]),
|
|
45
142
|
to: v.string(),
|
|
46
143
|
totals: usageTotalsSchema,
|
|
47
|
-
})
|
|
48
|
-
type UsageTotals = v.InferOutput<typeof usageTotalsSchema
|
|
49
|
-
type UsageSummary = v.InferOutput<typeof usageSummarySchema
|
|
50
|
-
|
|
51
|
-
const
|
|
52
|
-
const
|
|
53
|
-
const
|
|
54
|
-
const
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
const
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
144
|
+
});
|
|
145
|
+
type UsageTotals = v.InferOutput<typeof usageTotalsSchema>;
|
|
146
|
+
type UsageSummary = v.InferOutput<typeof usageSummarySchema>;
|
|
147
|
+
|
|
148
|
+
const route = useRoute();
|
|
149
|
+
const router = useRouter();
|
|
150
|
+
const props = defineProps<{ base: string }>();
|
|
151
|
+
const emit = defineEmits<{ "open-sessions": [] }>();
|
|
152
|
+
function setFilter(key: string, value: string) {
|
|
153
|
+
void router.replace({ query: { ...route.query, [key]: value || undefined } });
|
|
154
|
+
}
|
|
155
|
+
const window = computed<UsageWindow>({
|
|
156
|
+
get: () => {
|
|
157
|
+
const parsed = v.safeParse(v.picklist(["24h", "7d", "14d", "30d", "90d"]), route.query.window);
|
|
158
|
+
return parsed.success ? parsed.output : "30d";
|
|
159
|
+
},
|
|
160
|
+
set: value => setFilter("window", value),
|
|
161
|
+
});
|
|
162
|
+
// The section, metric, and breakdown live in the query, so a reload or a shared link keeps the view.
|
|
163
|
+
// Each setter keeps the other query values, including the filters.
|
|
164
|
+
const section = computed<UsageSection>({
|
|
165
|
+
get: () => {
|
|
166
|
+
const parsed = v.safeParse(v.picklist(["overview", "sessions", "accounts"]), route.query.section);
|
|
167
|
+
return parsed.success ? parsed.output : "overview";
|
|
168
|
+
},
|
|
169
|
+
set: value => setFilter("section", value === "overview" ? "" : value),
|
|
170
|
+
});
|
|
171
|
+
// An explicit choice stays in the query. Without one, the page shows cost when the Agents record it.
|
|
172
|
+
const metric = computed<UsageMetric>({
|
|
173
|
+
get: () => {
|
|
174
|
+
const parsed = v.safeParse(v.picklist(["cost", "sessions", "tokens"]), route.query.metric);
|
|
175
|
+
const requested = parsed.success ? parsed.output : costSupported.value ? "cost" : "tokens";
|
|
176
|
+
return requested === "cost" && !costSupported.value ? "tokens" : requested;
|
|
177
|
+
},
|
|
178
|
+
set: value => setFilter("metric", value),
|
|
179
|
+
});
|
|
180
|
+
const breakdown = computed<UsageBreakdown>({
|
|
181
|
+
get: () => {
|
|
182
|
+
const parsed = v.safeParse(v.picklist(["model", "time"]), route.query.breakdown);
|
|
183
|
+
return parsed.success ? parsed.output : "model";
|
|
184
|
+
},
|
|
185
|
+
set: value => setFilter("breakdown", value === "model" ? "" : value),
|
|
186
|
+
});
|
|
187
|
+
// Each tab renders its panel through the item slot, so every tab controls a real `tabpanel`.
|
|
188
|
+
const sections = [
|
|
189
|
+
{ label: "Overview", value: "overview", slot: "overview" as const },
|
|
190
|
+
{ label: "Sessions", value: "sessions", slot: "sessions" as const },
|
|
191
|
+
{ label: "Accounts", value: "accounts", slot: "accounts" as const },
|
|
192
|
+
];
|
|
193
|
+
const summary = ref<UsageSummary>();
|
|
194
|
+
const loading = ref(true);
|
|
195
|
+
const error = ref<unknown>();
|
|
196
|
+
const agent = computed(() => String(route.query.agent || ""));
|
|
197
|
+
const selectedAgent = computed({
|
|
198
|
+
get: () => agent.value ? `agent:${agent.value}` : "all",
|
|
199
|
+
set: (value: string) => setFilter("agent", value.startsWith("agent:") ? value.slice(6) : ""),
|
|
200
|
+
});
|
|
201
|
+
const status = computed({
|
|
202
|
+
get: () => {
|
|
203
|
+
const parsed = v.safeParse(v.picklist(["completed", "failed", "cancelled"]), route.query.status);
|
|
204
|
+
return parsed.success ? parsed.output : "all";
|
|
205
|
+
},
|
|
206
|
+
set: (value: string) => setFilter("status", value === "all" ? "" : value),
|
|
207
|
+
});
|
|
208
|
+
const search = computed(() => String(route.query.search || "").trim());
|
|
209
|
+
const filtered = computed(() => Boolean(agent.value || search.value || status.value !== "all"));
|
|
210
|
+
const emptyState = computed(() =>
|
|
211
|
+
filtered.value
|
|
212
|
+
? {
|
|
213
|
+
"data-usage-empty": "no-match",
|
|
214
|
+
icon: "i-lucide-search-x",
|
|
215
|
+
title: "No sessions match these filters",
|
|
216
|
+
description: `No session from the last ${windowOptions.find(option => option.value === window.value)?.label ?? "period"} matches the search, Agent, and status filters.`,
|
|
217
|
+
actions: [{ label: "Clear filters", icon: "i-lucide-x", color: "neutral" as const, variant: "outline" as const, onClick: clearFilters }],
|
|
218
|
+
}
|
|
219
|
+
: {
|
|
220
|
+
icon: "i-lucide-inbox",
|
|
221
|
+
title: "No sessions in this period",
|
|
222
|
+
description: "Finished Agent sessions appear here with their token and cost evidence.",
|
|
223
|
+
},
|
|
224
|
+
);
|
|
225
|
+
function clearFilters() {
|
|
226
|
+
clearTimeout(searchTimer);
|
|
227
|
+
searchInput.value = "";
|
|
228
|
+
const { agent: _agent, search: _search, status: _status, ...query } = route.query;
|
|
229
|
+
void router.replace({ query });
|
|
230
|
+
}
|
|
231
|
+
const searchInput = ref(search.value);
|
|
232
|
+
let searchTimer: ReturnType<typeof setTimeout> | undefined;
|
|
233
|
+
watch(search, value => { searchInput.value = value; });
|
|
234
|
+
watch(searchInput, value => {
|
|
235
|
+
clearTimeout(searchTimer);
|
|
236
|
+
if (value.trim() === search.value) return;
|
|
237
|
+
searchTimer = setTimeout(() => setFilter("search", value.trim()), 250);
|
|
238
|
+
});
|
|
239
|
+
const statusOptions = [
|
|
240
|
+
{ label: "All statuses", value: "all" },
|
|
241
|
+
{ label: "Completed", value: "completed" },
|
|
242
|
+
{ label: "Failed", value: "failed" },
|
|
243
|
+
{ label: "Cancelled", value: "cancelled" },
|
|
244
|
+
];
|
|
245
|
+
const statusIcons = { completed: "i-lucide-check", failed: "i-lucide-x", cancelled: "i-lucide-ban" };
|
|
246
|
+
const statusLabels = { completed: "Completed", failed: "Failed", cancelled: "Cancelled" };
|
|
247
|
+
const statuses = ref<v.InferOutput<typeof providerStatusSchema>["agents"]>([]);
|
|
248
|
+
const accounts = computed(() => {
|
|
249
|
+
const groups = new Map<string, (typeof statuses.value)[number] & { agents: string[] }>();
|
|
250
|
+
for (const status of statuses.value) {
|
|
251
|
+
const id = status.account ? `${status.provider}:${status.account.id}` : `agent:${status.agent}`;
|
|
252
|
+
const previous = groups.get(id);
|
|
253
|
+
// A failing or stale sample must not be hidden by another agent's ready sample.
|
|
254
|
+
const current = !previous || status.readiness === "unavailable" || (status.readiness === previous.readiness && status.checkedAt > previous.checkedAt) ? status : previous;
|
|
255
|
+
groups.set(id, { ...current, agents: [...(previous?.agents || []), status.agent] });
|
|
256
|
+
}
|
|
257
|
+
return [...groups.values()].filter(status => !agent.value || status.agents.includes(agent.value));
|
|
258
|
+
});
|
|
259
|
+
const statusError = ref<string>();
|
|
260
|
+
const runCursor = ref<string>();
|
|
261
|
+
const previousCursors = ref<Array<string | undefined>>([]);
|
|
262
|
+
const costSupported = computed(() => summary.value?.costSupported === true);
|
|
263
|
+
// A partial total keeps its "recorded" note, but the note is quieter than the number it qualifies.
|
|
264
|
+
const totals = computed(() => {
|
|
265
|
+
const value = summary.value;
|
|
266
|
+
if (!value) return [];
|
|
267
|
+
const items = [
|
|
268
|
+
{ label: "Sessions", text: `${consoleNumber(value.sessionCount)}${value.totals.invocationsAvailable ? "" : " recorded"}` },
|
|
269
|
+
{ label: "Tokens", text: formatTokenEvidence(value.totals.totalTokens, value.totals.totalTokensAvailable) },
|
|
270
|
+
];
|
|
271
|
+
if (costSupported.value) {
|
|
272
|
+
items.push(
|
|
273
|
+
{ label: "Cost", text: formatCostEvidence(value.totals.costUsd, value.totals.costEstimated, value.totals.costAvailable) },
|
|
274
|
+
{ label: "Average per priced session", text: value.totals.averageCostUsd === undefined ? "Unavailable" : formatCost(value.totals.averageCostUsd, value.totals.costEstimated) },
|
|
275
|
+
);
|
|
276
|
+
}
|
|
277
|
+
return items.map(({ label, text }) => ({
|
|
278
|
+
label,
|
|
279
|
+
note: text.endsWith(" recorded") ? "recorded" : undefined,
|
|
280
|
+
value: text.replace(/ recorded$/, ""),
|
|
281
|
+
}));
|
|
282
|
+
});
|
|
283
|
+
const agentOptions = computed(() => [
|
|
284
|
+
{ label: "All agents", value: "all" },
|
|
285
|
+
...[
|
|
286
|
+
...new Set([
|
|
287
|
+
...statuses.value.map((status) => status.agent),
|
|
288
|
+
...(summary.value?.agents.map((item) => item.agent) ?? []),
|
|
289
|
+
]),
|
|
290
|
+
]
|
|
291
|
+
.filter(Boolean)
|
|
292
|
+
.sort()
|
|
293
|
+
.map((value) => ({ label: value, value: `agent:${value}` })),
|
|
294
|
+
]);
|
|
295
|
+
function runRoute(run: { id: string; agent: string }) {
|
|
296
|
+
try {
|
|
297
|
+
return { name: resolveConsoleRouteName(route.name, "vitehub-console-invocation"), params: { agent: encodeAgentRouteParam(run.agent), invocation: run.id } };
|
|
298
|
+
} catch { return undefined; }
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
const historyHeading = useTemplateRef<HTMLElement>("historyHeading");
|
|
302
|
+
// The page buttons are disabled while a page loads, so focus moves to the heading at the start of the new rows.
|
|
303
|
+
async function showHistoryPage(page: Promise<void>): Promise<void> {
|
|
304
|
+
await page;
|
|
305
|
+
if (error.value) return;
|
|
306
|
+
await nextTick();
|
|
307
|
+
historyHeading.value?.scrollIntoView({ block: "start" });
|
|
308
|
+
historyHeading.value?.focus({ preventScroll: true });
|
|
309
|
+
}
|
|
310
|
+
function nextRuns() {
|
|
311
|
+
if (loading.value || !summary.value?.cursor) return;
|
|
312
|
+
void showHistoryPage(loadPage({ cursor: summary.value.cursor, previous: [...previousCursors.value, runCursor.value] }));
|
|
313
|
+
}
|
|
314
|
+
function previousRuns() {
|
|
315
|
+
if (loading.value || !previousCursors.value.length) return;
|
|
316
|
+
void showHistoryPage(loadPage({ cursor: previousCursors.value.at(-1), previous: previousCursors.value.slice(0, -1) }));
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
let request: AbortController | undefined;
|
|
320
|
+
|
|
321
|
+
// The range picker offers the common views. A link can still ask for 24 hours or 90 days.
|
|
322
|
+
const windowOptions: Array<{ label: string; value: UsageWindow }> = [
|
|
63
323
|
{ label: "7 days", value: "7d" },
|
|
324
|
+
{ label: "14 days", value: "14d" },
|
|
64
325
|
{ label: "30 days", value: "30d" },
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
const
|
|
68
|
-
|
|
326
|
+
];
|
|
327
|
+
const windowLabels: Record<UsageWindow, string> = { "24h": "24 hours", "7d": "7 days", "14d": "14 days", "30d": "30 days", "90d": "90 days" };
|
|
328
|
+
const spendLabel = computed(() => summary.value?.totals.costEstimated === false ? "Spend" : "Est. spend");
|
|
329
|
+
const metricOptions = computed<Array<{ label: string; value: UsageMetric }>>(() => [
|
|
330
|
+
{ label: "Sessions", value: "sessions" },
|
|
69
331
|
{ label: "Tokens", value: "tokens" },
|
|
70
|
-
]
|
|
71
|
-
|
|
332
|
+
...(costSupported.value ? [{ label: spendLabel.value, value: "cost" as const }] : []),
|
|
333
|
+
]);
|
|
334
|
+
// The big numbers of the period. Each one also picks the metric of the chart and the ranking.
|
|
335
|
+
const headline = computed(() => {
|
|
336
|
+
const value = summary.value;
|
|
337
|
+
if (!value) return [];
|
|
338
|
+
return metricOptions.value.map(option => ({
|
|
339
|
+
...option,
|
|
340
|
+
note: option.value === "cost" && value.totals.costEstimated ? "models.dev prices" : undefined,
|
|
341
|
+
text: option.value === "sessions"
|
|
342
|
+
? `${consoleNumber(value.sessionCount)}${value.totals.invocationsAvailable ? "" : " recorded"}`
|
|
343
|
+
: formatConsoleUsageValue(value.totals, option.value).replace(/^~/, ""),
|
|
344
|
+
}));
|
|
345
|
+
});
|
|
346
|
+
/** Neutral steps from the text color, so the share bar reads by rank and never looks like a status color. */
|
|
347
|
+
const shareColors = [100, 72, 52, 36, 24, 16].map(percent => `color-mix(in oklab, var(--foreground) ${percent}%, var(--background))`);
|
|
348
|
+
const modelSegments = computed(() => breakdownModels.value
|
|
349
|
+
.map((model, index) => ({ color: shareColors[Math.min(index, shareColors.length - 1)]!, key: model.model, label: model.model, value: consoleUsageMetricValue(model, metric.value) }))
|
|
350
|
+
.filter(segment => segment.value > 0));
|
|
351
|
+
const updatedAt = computed(() => summary.value ? formatTimestamp(summary.value.generatedAt) : undefined);
|
|
352
|
+
const agentRows = computed(() => (summary.value?.agents ?? []).map(row => ({ agent: row.agent, count: row.invocations })));
|
|
353
|
+
const breakdownOptions = computed<Array<{ label: string; value: UsageBreakdown }>>(() => [
|
|
72
354
|
{ label: "Model", value: "model" },
|
|
73
355
|
{ label: summary.value?.resolution === "hour" ? "Hour" : "Day", value: "time" },
|
|
74
|
-
])
|
|
75
|
-
const
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
const
|
|
83
|
-
const
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
)
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
const
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
)
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
.
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
)
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
return Math.ceil(peak / step) * step
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
function chartY(recorded: number): number {
|
|
127
|
-
return chartMaximum.value === 0 ? chartHeight : chartHeight - recorded / chartMaximum.value * chartHeight
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
function chartTickPosition(tick: number): string {
|
|
131
|
-
return `${chartMaximum.value === 0 ? 100 : 100 - tick / chartMaximum.value * 100}%`
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
function formatTokens(value: number): string {
|
|
135
|
-
return new Intl.NumberFormat("en", {
|
|
136
|
-
maximumFractionDigits: 1,
|
|
137
|
-
notation: value >= 10_000 ? "compact" : "standard",
|
|
138
|
-
}).format(value)
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
function formatCost(value: string, estimated = false): string {
|
|
142
|
-
const resolved = Number(value) || 0
|
|
143
|
-
if (resolved > 0 && resolved < 0.01 && /^0\.\d+$/.test(value)) {
|
|
144
|
-
return `${estimated ? "~" : ""}$${value}`
|
|
145
|
-
}
|
|
146
|
-
const display = new Intl.NumberFormat("en", {
|
|
147
|
-
currency: "USD",
|
|
148
|
-
maximumFractionDigits: 2,
|
|
149
|
-
minimumFractionDigits: 2,
|
|
150
|
-
style: "currency",
|
|
151
|
-
}).format(resolved)
|
|
152
|
-
return estimated ? `~${display}` : display
|
|
153
|
-
}
|
|
356
|
+
]);
|
|
357
|
+
const chartPoints = computed<ConsoleUsageChartPoint[]>(() =>
|
|
358
|
+
(summary.value?.buckets ?? []).map(bucket =>
|
|
359
|
+
consoleUsageChartPoint(bucket.start, bucket, metric.value, summary.value?.resolution ?? "day")),
|
|
360
|
+
);
|
|
361
|
+
const partialChart = computed(() => chartPoints.value.some(point => point.evidence === "partial"));
|
|
362
|
+
const chartTitle = computed(() => `${summary.value?.resolution === "hour" ? "Hourly" : "Daily"} ${metric.value === "cost" ? "spend" : metric.value}`);
|
|
363
|
+
// Unknown cost is not zero. When no period has cost evidence, offer the token trend instead.
|
|
364
|
+
const tokenEvidence = computed(() => Boolean(summary.value && (summary.value.totals.totalTokensAvailable || summary.value.totals.totalTokens > 0)));
|
|
365
|
+
const breakdownBuckets = computed(() =>
|
|
366
|
+
(summary.value?.buckets ?? [])
|
|
367
|
+
.filter(
|
|
368
|
+
(bucket) =>
|
|
369
|
+
bucket.invocations > 0 || bucket.totalTokens > 0 || (Number(bucket.costUsd) || 0) > 0,
|
|
370
|
+
)
|
|
371
|
+
.toReversed(),
|
|
372
|
+
);
|
|
373
|
+
const breakdownModels = computed(() => sortConsoleUsageModels(summary.value?.models ?? [], metric.value));
|
|
374
|
+
// Row bars scale to the largest model, so the ranking reads at a glance.
|
|
375
|
+
const breakdownPeak = computed(() =>
|
|
376
|
+
Math.max(0, ...breakdownModels.value.map(model => consoleUsageMetricValue(model, metric.value))),
|
|
377
|
+
);
|
|
378
|
+
// Header and chart summary show the totals. This grid splits processed tokens by type.
|
|
379
|
+
const tokenTypeStats = computed(() => {
|
|
380
|
+
const totals = summary.value?.totals;
|
|
381
|
+
if (!totals) return [];
|
|
382
|
+
return [
|
|
383
|
+
{ label: "Input", note: "Including cache", value: totals.inputTokens, available: totals.inputTokensAvailable },
|
|
384
|
+
{ label: "Cached input", value: totals.cachedInputTokens, available: totals.cachedInputTokensAvailable },
|
|
385
|
+
{ label: "Cache writes", value: totals.cacheWriteTokens, available: totals.cacheWriteTokensAvailable },
|
|
386
|
+
{ label: "Output", value: totals.outputTokens, available: totals.outputTokensAvailable },
|
|
387
|
+
{ label: "Reasoning", note: "Included in output", value: totals.reasoningTokens, available: totals.reasoningTokensAvailable },
|
|
388
|
+
];
|
|
389
|
+
});
|
|
390
|
+
// Agents first, then models. The kind label tells the two apart in one list.
|
|
391
|
+
const averageRows = computed(() => [
|
|
392
|
+
...(summary.value?.agents ?? []).map(row => ({ ...row, key: `agent:${row.agent}`, kind: "Agent", label: row.agent })),
|
|
393
|
+
...(summary.value?.models ?? []).map(row => ({ ...row, key: `model:${row.model}`, kind: "Model", label: row.model })),
|
|
394
|
+
]);
|
|
395
|
+
const tokenSegments = computed(() => summary.value ? consoleUsageTokenSegments(summary.value.totals) : undefined);
|
|
396
|
+
const cacheHitRate = computed(() => summary.value ? consoleUsageCacheHitRate(summary.value.totals) : null);
|
|
397
|
+
const selectedModelName = ref<string>();
|
|
398
|
+
const selectedModel = computed(() =>
|
|
399
|
+
summary.value?.models.find(model => model.model === selectedModelName.value),
|
|
400
|
+
);
|
|
401
|
+
const modelDetailOpen = computed({
|
|
402
|
+
get: () => selectedModel.value !== undefined,
|
|
403
|
+
set: (open: boolean) => { if (!open) selectedModelName.value = undefined; },
|
|
404
|
+
});
|
|
154
405
|
|
|
155
|
-
function
|
|
156
|
-
|
|
157
|
-
if (!metricComplete(totals) && recorded === 0) return "Unavailable"
|
|
158
|
-
const display = metric.value === "cost"
|
|
159
|
-
? formatCost(totals.costUsd, totals.costEstimated)
|
|
160
|
-
: formatTokens(totals.totalTokens)
|
|
161
|
-
return metricComplete(totals) ? display : `${display} recorded`
|
|
406
|
+
function modelShare(model: (typeof breakdownModels.value)[number]): string {
|
|
407
|
+
return summary.value ? formatConsoleUsageShare(consoleUsageModelShare(model, summary.value.totals, metric.value)) : "—";
|
|
162
408
|
}
|
|
163
409
|
|
|
164
|
-
function
|
|
165
|
-
|
|
410
|
+
function modelBarWidth(model: (typeof breakdownModels.value)[number]): string {
|
|
411
|
+
const recorded = consoleUsageMetricValue(model, metric.value);
|
|
412
|
+
// A short minimum keeps a tiny share visible as a dash, not a dot.
|
|
413
|
+
return recorded > 0 && breakdownPeak.value > 0 ? `max(0.5rem, ${(recorded / breakdownPeak.value) * 100}%)` : "0";
|
|
166
414
|
}
|
|
167
415
|
|
|
168
|
-
function
|
|
169
|
-
|
|
170
|
-
const display = formatTokens(value)
|
|
171
|
-
return complete ? display : `${display} recorded`
|
|
416
|
+
function formatValue(totals: UsageTotals): string {
|
|
417
|
+
return formatConsoleUsageValue(totals, metric.value);
|
|
172
418
|
}
|
|
173
419
|
|
|
174
|
-
function
|
|
175
|
-
if (
|
|
176
|
-
|
|
177
|
-
return complete ? display : `${display} recorded`
|
|
420
|
+
function formatMetricNumber(value: number): string {
|
|
421
|
+
if (metric.value === "sessions") return value.toLocaleString("en");
|
|
422
|
+
return metric.value === "cost" ? formatCost(String(value)) : formatTokens(value);
|
|
178
423
|
}
|
|
179
424
|
|
|
180
|
-
function
|
|
181
|
-
|
|
182
|
-
return denominator > 0 ? `${((Number(value) || 0) / denominator * 100).toFixed(1)}%` : "—"
|
|
425
|
+
function errorMessage(value: unknown): string | undefined {
|
|
426
|
+
return value instanceof Error ? value.message : value ? "Usage could not be loaded." : undefined;
|
|
183
427
|
}
|
|
184
428
|
|
|
185
|
-
function
|
|
186
|
-
return
|
|
187
|
-
? { day: "numeric", hour: "numeric", month: "short" }
|
|
188
|
-
: { day: "numeric", month: "short" }).format(new Date(value))
|
|
429
|
+
async function load(): Promise<void> {
|
|
430
|
+
return loadPage({ cursor: runCursor.value, previous: previousCursors.value });
|
|
189
431
|
}
|
|
190
432
|
|
|
191
|
-
function
|
|
192
|
-
return
|
|
433
|
+
async function refresh(): Promise<void> {
|
|
434
|
+
return loadPage({ cursor: undefined, previous: [] });
|
|
193
435
|
}
|
|
194
436
|
|
|
195
|
-
async function
|
|
196
|
-
request?.abort()
|
|
197
|
-
const controller = new AbortController()
|
|
198
|
-
request = controller
|
|
199
|
-
loading.value = true
|
|
200
|
-
|
|
201
|
-
error.value = undefined
|
|
437
|
+
async function loadPage(page: { cursor: string | undefined; previous: Array<string | undefined> }): Promise<void> {
|
|
438
|
+
request?.abort();
|
|
439
|
+
const controller = new AbortController();
|
|
440
|
+
request = controller;
|
|
441
|
+
loading.value = true;
|
|
442
|
+
error.value = undefined;
|
|
202
443
|
try {
|
|
203
|
-
const result = v.parse(
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
444
|
+
const result = v.parse(
|
|
445
|
+
usageSummarySchema,
|
|
446
|
+
await requestConsole(props.base, {
|
|
447
|
+
query: {
|
|
448
|
+
window: window.value,
|
|
449
|
+
...(agent.value ? { agent: agent.value } : {}),
|
|
450
|
+
...(status.value !== "all" ? { status: status.value } : {}),
|
|
451
|
+
...(search.value ? { search: search.value } : {}),
|
|
452
|
+
...(page.cursor ? { cursor: page.cursor } : {}),
|
|
453
|
+
},
|
|
454
|
+
signal: controller.signal,
|
|
455
|
+
}),
|
|
456
|
+
);
|
|
457
|
+
if (request !== controller) return;
|
|
458
|
+
summary.value = result;
|
|
459
|
+
runCursor.value = page.cursor;
|
|
460
|
+
previousCursors.value = page.previous;
|
|
461
|
+
error.value = undefined;
|
|
462
|
+
} catch (value) {
|
|
463
|
+
if (value instanceof Object && "name" in value && value.name === "AbortError") return;
|
|
464
|
+
if (request === controller) error.value = value;
|
|
465
|
+
} finally {
|
|
217
466
|
if (request === controller) {
|
|
218
|
-
request = undefined
|
|
219
|
-
loading.value = false
|
|
467
|
+
request = undefined;
|
|
468
|
+
loading.value = false;
|
|
220
469
|
}
|
|
221
470
|
}
|
|
222
471
|
}
|
|
223
472
|
|
|
224
|
-
|
|
225
|
-
|
|
473
|
+
async function loadStatus(): Promise<void> {
|
|
474
|
+
try {
|
|
475
|
+
const result = v.parse(
|
|
476
|
+
providerStatusSchema,
|
|
477
|
+
await requestConsole(props.base.replace(/\/usage$/, "/status")),
|
|
478
|
+
);
|
|
479
|
+
statuses.value = result.agents;
|
|
480
|
+
statusError.value = undefined;
|
|
481
|
+
} catch (error) {
|
|
482
|
+
statusError.value = errorMessage(error);
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
watch(
|
|
486
|
+
[() => props.base, window, agent, status, search],
|
|
487
|
+
() => {
|
|
488
|
+
runCursor.value = undefined;
|
|
489
|
+
previousCursors.value = [];
|
|
490
|
+
summary.value = undefined;
|
|
491
|
+
void load();
|
|
492
|
+
},
|
|
493
|
+
{ immediate: true },
|
|
494
|
+
);
|
|
495
|
+
watch(() => props.base, () => { void loadStatus(); }, { immediate: true });
|
|
496
|
+
onBeforeUnmount(() => { request?.abort(); clearTimeout(searchTimer); });
|
|
226
497
|
</script>
|
|
227
498
|
|
|
228
499
|
<template>
|
|
229
|
-
<UDashboardPanel id="console-usage" :ui="{ body: 'min-h-0 overflow-
|
|
500
|
+
<UDashboardPanel id="console-usage" :ui="{ body: 'min-h-0 overflow-hidden p-0 sm:p-0 gap-0 sm:gap-0' }">
|
|
230
501
|
<template #header>
|
|
231
|
-
<
|
|
502
|
+
<ConsolePageHeader title="Usage" :toggle="false">
|
|
232
503
|
<template #right>
|
|
233
|
-
<
|
|
234
|
-
|
|
235
|
-
class="lg:hidden"
|
|
236
|
-
icon="i-ph-sidebar-simple-light"
|
|
237
|
-
color="neutral"
|
|
238
|
-
variant="ghost"
|
|
239
|
-
size="sm"
|
|
240
|
-
aria-label="Open sessions"
|
|
241
|
-
@click="emit('openSessions')"
|
|
242
|
-
/>
|
|
243
|
-
</UTooltip>
|
|
244
|
-
<div
|
|
245
|
-
v-if="summary"
|
|
246
|
-
class="hidden rounded-md bg-elevated p-0.5 sm:inline-flex"
|
|
247
|
-
aria-label="Usage metric"
|
|
248
|
-
>
|
|
249
|
-
<UButton
|
|
250
|
-
v-for="option in metricOptions"
|
|
251
|
-
:key="option.value"
|
|
252
|
-
:label="option.label"
|
|
253
|
-
color="neutral"
|
|
254
|
-
size="xs"
|
|
255
|
-
:variant="metric === option.value ? 'solid' : 'ghost'"
|
|
256
|
-
@click="metric = option.value"
|
|
257
|
-
/>
|
|
258
|
-
</div>
|
|
259
|
-
<USelect
|
|
260
|
-
v-model="window"
|
|
261
|
-
aria-label="Usage period"
|
|
262
|
-
class="w-24 sm:w-28"
|
|
263
|
-
size="sm"
|
|
264
|
-
value-key="value"
|
|
265
|
-
:items="windowOptions"
|
|
266
|
-
/>
|
|
504
|
+
<span v-if="updatedAt" class="hidden text-xs text-dimmed tabular-nums sm:inline">Updated {{ updatedAt }}</span>
|
|
505
|
+
<UButton class="md:hidden" aria-label="Open agent sessions" color="neutral" icon="i-lucide-list" label="Sessions" size="sm" variant="ghost" @click="emit('open-sessions')" />
|
|
267
506
|
<UTooltip text="Refresh usage">
|
|
268
|
-
<UButton
|
|
269
|
-
class="hidden sm:inline-flex"
|
|
270
|
-
aria-label="Refresh usage"
|
|
271
|
-
color="neutral"
|
|
272
|
-
icon="i-ph-arrows-clockwise-light"
|
|
273
|
-
size="sm"
|
|
274
|
-
variant="ghost"
|
|
275
|
-
:loading="loading"
|
|
276
|
-
@click="load"
|
|
277
|
-
/>
|
|
507
|
+
<UButton aria-label="Refresh usage" color="neutral" icon="i-lucide-refresh-cw" size="sm" variant="ghost" :loading="loading" @click="refresh(); loadStatus();" />
|
|
278
508
|
</UTooltip>
|
|
279
509
|
</template>
|
|
280
|
-
</
|
|
510
|
+
</ConsolePageHeader>
|
|
281
511
|
</template>
|
|
282
|
-
|
|
283
512
|
<template #body>
|
|
284
|
-
<
|
|
285
|
-
<
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
v-if="
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
/>
|
|
309
|
-
<UAlert
|
|
310
|
-
v-if="summary?.partial"
|
|
311
|
-
color="warning"
|
|
312
|
-
variant="subtle"
|
|
313
|
-
icon="i-ph-warning-light"
|
|
314
|
-
title="Partial usage"
|
|
315
|
-
description="Some usage evidence is unavailable for this period. Values labeled recorded exclude missing usage."
|
|
316
|
-
/>
|
|
317
|
-
|
|
318
|
-
<template v-if="loading && !summary">
|
|
319
|
-
<section class="grid gap-3 sm:grid-cols-2 lg:grid-cols-4">
|
|
320
|
-
<USkeleton v-for="index in 4" :key="index" class="h-28 rounded-lg" />
|
|
321
|
-
</section>
|
|
322
|
-
<USkeleton class="h-72 rounded-lg" />
|
|
323
|
-
</template>
|
|
513
|
+
<div class="usage-page">
|
|
514
|
+
<main class="usage-page__main" :aria-busy="loading">
|
|
515
|
+
<div class="usage-page__controls">
|
|
516
|
+
<nav class="usage-toggles" aria-label="Usage sections">
|
|
517
|
+
<button v-for="item in sections" :key="item.value" type="button" :data-tab="item.value" :aria-current="section === item.value ? 'page' : undefined" @click="section = item.value as UsageSection">{{ item.label }}</button>
|
|
518
|
+
</nav>
|
|
519
|
+
<span class="usage-toggles__divider" aria-hidden="true" />
|
|
520
|
+
<div class="usage-toggles" role="group" aria-label="Usage period">
|
|
521
|
+
<button v-for="option in windowOptions" :key="option.value" type="button" :aria-pressed="window === option.value" @click="window = option.value">{{ option.label }}</button>
|
|
522
|
+
</div>
|
|
523
|
+
</div>
|
|
524
|
+
<ConsoleState v-if="error" compact :error="error" title="Could not load usage" :retry="load" />
|
|
525
|
+
<p v-if="summary?.partial" class="flex items-start gap-2 text-xs text-muted" role="status">
|
|
526
|
+
<Icon name="i-lucide-info" class="mt-0.5 size-3.5 shrink-0" aria-hidden="true" />
|
|
527
|
+
Some usage is unavailable. Recorded totals include only the evidence received.
|
|
528
|
+
</p>
|
|
529
|
+
<!-- The skeleton has the height of the numbers, so they do not push the page down when they arrive. -->
|
|
530
|
+
<div v-if="!summary && loading" class="usage-headline" role="status" aria-label="Loading usage">
|
|
531
|
+
<div v-for="index in 3" :key="index" class="grid gap-1.5">
|
|
532
|
+
<USkeleton class="h-3.5 w-16" />
|
|
533
|
+
<USkeleton class="h-10 w-28" />
|
|
534
|
+
<USkeleton class="h-3 w-20" />
|
|
535
|
+
</div>
|
|
536
|
+
</div>
|
|
324
537
|
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
<
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
{{ formatValue(summary.totals) }}
|
|
343
|
-
</p>
|
|
344
|
-
<p class="mt-2 text-xs text-muted">
|
|
345
|
-
{{ formatPeriod(summary.from, summary.resolution) }} to {{ formatPeriod(summary.to, summary.resolution) }}
|
|
346
|
-
</p>
|
|
347
|
-
</div>
|
|
348
|
-
<dl class="grid grid-cols-2 gap-4 text-xs">
|
|
349
|
-
<div>
|
|
350
|
-
<dt class="text-muted">Sessions</dt>
|
|
351
|
-
<dd class="mt-1 font-medium tabular-nums">
|
|
352
|
-
{{ formatTokenEvidence(summary.totals.invocations, summary.totals.invocationsAvailable) }}
|
|
353
|
-
</dd>
|
|
354
|
-
</div>
|
|
355
|
-
<div>
|
|
356
|
-
<dt class="text-muted">Total cost</dt>
|
|
357
|
-
<dd class="mt-1 font-medium tabular-nums">
|
|
358
|
-
{{ formatCostEvidence(summary.totals.costUsd, summary.totals.costEstimated, summary.totals.costAvailable) }}
|
|
359
|
-
</dd>
|
|
360
|
-
</div>
|
|
361
|
-
<div>
|
|
362
|
-
<dt class="text-muted">Processed</dt>
|
|
363
|
-
<dd class="mt-1 font-medium tabular-nums">
|
|
364
|
-
{{ formatTokenEvidence(summary.totals.totalTokens, summary.totals.totalTokensAvailable) }}
|
|
365
|
-
</dd>
|
|
366
|
-
</div>
|
|
367
|
-
<div>
|
|
368
|
-
<dt class="text-muted">Resolution</dt>
|
|
369
|
-
<dd class="mt-1 font-medium">{{ summary.resolution === "hour" ? "Hourly" : "Daily" }}</dd>
|
|
370
|
-
</div>
|
|
371
|
-
</dl>
|
|
538
|
+
<template v-if="section === 'overview'">
|
|
539
|
+
<UEmpty v-if="summary && !summary.available && summary.totals.invocationsAvailable" v-bind="emptyState" variant="naked" />
|
|
540
|
+
<template v-if="summary?.available">
|
|
541
|
+
<!-- Big numbers with small labels. Each one picks the metric of the chart and the ranking below. -->
|
|
542
|
+
<div class="usage-headline" role="group" aria-label="Usage metric">
|
|
543
|
+
<button
|
|
544
|
+
v-for="item in headline"
|
|
545
|
+
:key="item.value"
|
|
546
|
+
type="button"
|
|
547
|
+
class="usage-headline__item"
|
|
548
|
+
:aria-pressed="metric === item.value"
|
|
549
|
+
@click="metric = item.value"
|
|
550
|
+
>
|
|
551
|
+
<span class="usage-headline__label">{{ item.label }}</span>
|
|
552
|
+
<span class="usage-headline__value">{{ item.text.replace(/ recorded$/, "") }}</span>
|
|
553
|
+
<span class="usage-headline__note">{{ item.text.endsWith(" recorded") ? "recorded" : item.note ?? "" }} </span>
|
|
554
|
+
</button>
|
|
372
555
|
</div>
|
|
556
|
+
<p class="usage-page__caption">
|
|
557
|
+
{{ windowLabels[window] }} · {{ formatPeriod(summary.from, summary.resolution) }} to {{ formatPeriod(summary.to, summary.resolution) }} UTC
|
|
558
|
+
<span v-if="partialChart" class="ms-2 inline-flex items-center gap-1.5 text-default">
|
|
559
|
+
<span class="size-1.5 rounded-full bg-warning" aria-hidden="true" /> Partial points
|
|
560
|
+
</span>
|
|
561
|
+
</p>
|
|
373
562
|
|
|
374
|
-
<
|
|
375
|
-
<div
|
|
376
|
-
<
|
|
377
|
-
{{ summary.resolution === "hour" ? "Hourly" : "Daily" }} {{ metric === "cost" ? "cost" : "tokens" }}
|
|
378
|
-
</h2>
|
|
379
|
-
<p v-if="partialChartBuckets.length" class="inline-flex items-center gap-1.5 text-xs text-warning">
|
|
380
|
-
<span class="size-1.5 rounded-full bg-warning" /> Partial points
|
|
381
|
-
</p>
|
|
563
|
+
<section v-if="metric !== 'sessions' && modelSegments.length > 1" aria-label="Share by model" class="usage-share">
|
|
564
|
+
<div role="img" :aria-label="`Share of ${metric === 'cost' ? 'spend' : metric} by model: ${breakdownModels.map(model => `${model.model} ${modelShare(model)}`).join(', ')}`" class="usage-share__bar">
|
|
565
|
+
<span v-for="segment in modelSegments" :key="segment.key" :style="{ flex: `${segment.value} 1 0`, backgroundColor: segment.color }" :title="`${segment.label} · ${formatMetricNumber(segment.value)}`" />
|
|
382
566
|
</div>
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
567
|
+
</section>
|
|
568
|
+
|
|
569
|
+
<ConsoleUsageChart
|
|
570
|
+
:points="chartPoints"
|
|
571
|
+
:format="formatMetricNumber"
|
|
572
|
+
:title="chartTitle"
|
|
573
|
+
:value-label="metric === 'cost' ? spendLabel : metric === 'sessions' ? 'Sessions' : 'Tokens'"
|
|
574
|
+
:empty="`No recorded ${metric === 'cost' ? 'spend' : metric} for this period`"
|
|
575
|
+
:unavailable="metric === 'cost' ? 'Spend is unavailable for this period' : 'Usage is unavailable for this period'"
|
|
576
|
+
:from="formatPeriod(summary.from, summary.resolution)"
|
|
577
|
+
:to="formatPeriod(summary.to, summary.resolution)"
|
|
578
|
+
>
|
|
579
|
+
<template #unavailable>
|
|
580
|
+
<UButton v-if="metric === 'cost' && tokenEvidence" label="Show tokens" color="neutral" variant="outline" size="xs" @click="metric = 'tokens'" />
|
|
581
|
+
</template>
|
|
582
|
+
</ConsoleUsageChart>
|
|
583
|
+
|
|
584
|
+
<section class="usage-ranked" aria-labelledby="usage-ranked-heading">
|
|
585
|
+
<header>
|
|
586
|
+
<h2 id="usage-ranked-heading">{{ breakdown === "model" ? "Models" : summary.resolution === "hour" ? "Hours" : "Days" }}</h2>
|
|
587
|
+
<div class="usage-toggles usage-toggles--small" role="group" aria-label="Usage breakdown">
|
|
588
|
+
<button v-for="option in breakdownOptions" :key="option.value" type="button" :aria-pressed="breakdown === option.value" @click="breakdown = option.value">{{ option.label }}</button>
|
|
391
589
|
</div>
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
>
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
<stop offset="100%" stop-color="currentColor" stop-opacity="0.02" />
|
|
403
|
-
</linearGradient>
|
|
404
|
-
</defs>
|
|
405
|
-
<line
|
|
406
|
-
v-for="tick in chartTicks"
|
|
407
|
-
:key="`grid-${tick}`"
|
|
408
|
-
x1="0"
|
|
409
|
-
:y1="chartY(tick)"
|
|
410
|
-
:x2="chartWidth"
|
|
411
|
-
:y2="chartY(tick)"
|
|
412
|
-
vector-effect="non-scaling-stroke"
|
|
413
|
-
class="stroke-default"
|
|
414
|
-
stroke-width="1"
|
|
415
|
-
stroke-dasharray="3 4"
|
|
416
|
-
/>
|
|
417
|
-
<path v-if="chartHasActivity" :d="chartArea" fill="url(#usage-area)" class="text-primary" />
|
|
418
|
-
<path
|
|
419
|
-
v-if="chartHasActivity"
|
|
420
|
-
:d="chartLine"
|
|
421
|
-
fill="none"
|
|
422
|
-
class="stroke-primary"
|
|
423
|
-
stroke-width="2"
|
|
424
|
-
vector-effect="non-scaling-stroke"
|
|
425
|
-
/>
|
|
426
|
-
<circle
|
|
427
|
-
v-for="bucket in partialChartBuckets"
|
|
428
|
-
:key="`partial-${bucket.start}`"
|
|
429
|
-
:cx="bucket.x"
|
|
430
|
-
:cy="bucket.y"
|
|
431
|
-
r="4"
|
|
432
|
-
class="fill-warning stroke-default"
|
|
433
|
-
stroke-width="2"
|
|
434
|
-
vector-effect="non-scaling-stroke"
|
|
435
|
-
/>
|
|
436
|
-
</svg>
|
|
437
|
-
<p
|
|
438
|
-
v-if="!chartHasActivity"
|
|
439
|
-
class="absolute inset-0 grid place-items-center text-xs text-muted"
|
|
440
|
-
>No recorded {{ metric }} for this period</p>
|
|
441
|
-
<div
|
|
442
|
-
class="absolute inset-0 grid"
|
|
443
|
-
:style="{ gridTemplateColumns: `repeat(${Math.max(chartBuckets.length, 1)}, minmax(0, 1fr))` }"
|
|
444
|
-
>
|
|
445
|
-
<UTooltip
|
|
446
|
-
v-for="bucket in chartBuckets"
|
|
447
|
-
:key="bucket.start"
|
|
448
|
-
:text="`${formatPeriod(bucket.start, summary.resolution)}: ${formatValue(bucket)}`"
|
|
449
|
-
>
|
|
450
|
-
<button class="h-full w-full cursor-crosshair" :aria-label="`${formatPeriod(bucket.start, summary.resolution)}: ${formatValue(bucket)}`" />
|
|
451
|
-
</UTooltip>
|
|
452
|
-
</div>
|
|
453
|
-
<span class="absolute top-full left-0 mt-2 text-[10px] text-muted">
|
|
454
|
-
{{ formatPeriod(summary.from, summary.resolution) }}
|
|
590
|
+
</header>
|
|
591
|
+
<ol v-if="breakdown === 'model' && summary.models.length" data-slot="usage-model-breakdown">
|
|
592
|
+
<li class="usage-ranked__head" aria-hidden="true">
|
|
593
|
+
<span /><span>Model</span><span>Sessions</span><span>{{ metric === "sessions" ? "Tokens" : metricOptions.find(option => option.value === metric)?.label }}</span><span v-if="metric !== 'sessions'">Share</span>
|
|
594
|
+
</li>
|
|
595
|
+
<li v-for="(model, index) in breakdownModels" :key="model.model">
|
|
596
|
+
<span class="usage-ranked__rank">{{ index + 1 }}</span>
|
|
597
|
+
<span class="usage-ranked__name">
|
|
598
|
+
<button type="button" :aria-label="`${model.model} usage details`" @click="selectedModelName = model.model">{{ model.model }}</button>
|
|
599
|
+
<span aria-hidden="true" class="usage-ranked__bar" :style="{ width: modelBarWidth(model) }" />
|
|
455
600
|
</span>
|
|
456
|
-
<span
|
|
457
|
-
|
|
458
|
-
</span>
|
|
459
|
-
</
|
|
460
|
-
</
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
601
|
+
<span>{{ formatTokenEvidence(model.invocations, model.invocationsAvailable) }}</span>
|
|
602
|
+
<span class="text-highlighted">{{ metric === "sessions" ? formatTokenEvidence(model.totalTokens, model.totalTokensAvailable) : formatValue(model).replace(/^~/, "") }}</span>
|
|
603
|
+
<span v-if="metric !== 'sessions'">{{ modelShare(model) }}</span>
|
|
604
|
+
</li>
|
|
605
|
+
</ol>
|
|
606
|
+
<ol v-else-if="breakdown === 'time' && summary.buckets.length">
|
|
607
|
+
<li class="usage-ranked__head" aria-hidden="true">
|
|
608
|
+
<span /><span>{{ summary.resolution === "hour" ? "Hour (UTC)" : "Day (UTC)" }}</span><span>Sessions</span><span>Tokens</span><span>{{ costSupported ? spendLabel : "" }}</span>
|
|
609
|
+
</li>
|
|
610
|
+
<li v-for="bucket in breakdownBuckets" :key="bucket.start">
|
|
611
|
+
<span class="usage-ranked__rank" />
|
|
612
|
+
<span class="usage-ranked__name">{{ formatPeriod(bucket.start, summary.resolution) }}</span>
|
|
613
|
+
<span>{{ formatTokenEvidence(bucket.invocations, bucket.invocationsAvailable) }}</span>
|
|
614
|
+
<span class="text-highlighted">{{ formatTokenEvidence(bucket.totalTokens, bucket.totalTokensAvailable) }}</span>
|
|
615
|
+
<span>{{ costSupported ? formatCostEvidence(bucket.costUsd, bucket.costEstimated, bucket.costAvailable) : "" }}</span>
|
|
616
|
+
</li>
|
|
617
|
+
</ol>
|
|
618
|
+
</section>
|
|
464
619
|
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
</
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
</
|
|
620
|
+
<section v-if="tokenSegments?.segments.length && summary.totals.totalTokens > 0" aria-label="Tokens by type">
|
|
621
|
+
<ConsoleUsageShareBar
|
|
622
|
+
label="Tokens by type"
|
|
623
|
+
:segments="tokenSegments.segments"
|
|
624
|
+
:format="formatTokens"
|
|
625
|
+
:note="tokenSegments.complete ? undefined : 'Recorded evidence only. Some sessions did not report every token type. Input can include their cache tokens.'"
|
|
626
|
+
>
|
|
627
|
+
<template v-if="cacheHitRate !== null" #aside>
|
|
628
|
+
<span class="text-xs text-muted">Cache hit <span class="text-highlighted tabular-nums">{{ formatConsoleUsageShare(cacheHitRate) }}</span></span>
|
|
629
|
+
</template>
|
|
630
|
+
</ConsoleUsageShareBar>
|
|
631
|
+
<p v-if="summary.totals.reasoningTokens > 0" class="mt-2 text-xs text-muted">
|
|
632
|
+
Output includes {{ formatTokenEvidence(summary.totals.reasoningTokens, summary.totals.reasoningTokensAvailable) }} reasoning tokens.
|
|
633
|
+
</p>
|
|
634
|
+
</section>
|
|
635
|
+
|
|
636
|
+
<section v-if="costSupported && summary.expensive.length" class="usage-ranked" aria-labelledby="usage-expensive-heading">
|
|
637
|
+
<header>
|
|
638
|
+
<h2 id="usage-expensive-heading">Most expensive sessions</h2>
|
|
639
|
+
<span class="text-xs text-dimmed">{{ summary.totals.pricedInvocations }} of {{ summary.totals.invocations }} sessions priced</span>
|
|
640
|
+
</header>
|
|
641
|
+
<ol>
|
|
642
|
+
<li v-for="(run, index) in summary.expensive" :key="run.id">
|
|
643
|
+
<span class="usage-ranked__rank">{{ index + 1 }}</span>
|
|
644
|
+
<span class="usage-ranked__name">
|
|
645
|
+
<RouterLink v-if="runRoute(run)" :to="runRoute(run)!" :title="run.id">{{ run.usage?.model || run.agent }}</RouterLink>
|
|
646
|
+
<span v-else :title="run.id">{{ run.usage?.model || run.agent }}</span>
|
|
647
|
+
<small><time :datetime="run.at" :title="formatDateTime(run.at)">{{ formatTimestamp(run.at) }}</time> · {{ run.agent }}</small>
|
|
648
|
+
</span>
|
|
649
|
+
<span class="capitalize">{{ run.status }}</span>
|
|
650
|
+
<span>{{ run.usage?.totalTokens === undefined ? "Unavailable" : formatTokens(run.usage.totalTokens) }}</span>
|
|
651
|
+
<span class="text-highlighted">{{ run.usage?.cost ? formatCost(run.usage.cost.usd, run.usage.cost.estimated) : "Unavailable" }}</span>
|
|
652
|
+
</li>
|
|
653
|
+
</ol>
|
|
654
|
+
</section>
|
|
655
|
+
</template>
|
|
656
|
+
</template>
|
|
657
|
+
<template v-else-if="section === 'sessions'">
|
|
658
|
+
<section v-if="summary" aria-labelledby="session-history-heading">
|
|
659
|
+
<div class="mb-3 flex items-baseline justify-between gap-3">
|
|
660
|
+
<h2 id="session-history-heading" ref="historyHeading" class="scroll-mt-4 text-sm font-semibold outline-none" tabindex="-1">Session history</h2>
|
|
661
|
+
<span class="text-xs text-muted">Newest first</span>
|
|
506
662
|
</div>
|
|
507
|
-
<div class="
|
|
508
|
-
<
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
663
|
+
<div v-if="summary.sessions.length" class="overflow-x-auto">
|
|
664
|
+
<table class="w-full min-w-[42rem] table-fixed text-xs" data-slot="session-history">
|
|
665
|
+
<thead class="text-left text-dimmed">
|
|
666
|
+
<tr>
|
|
667
|
+
<th class="h-9 w-[34%] px-3 font-medium" scope="col">Session</th>
|
|
668
|
+
<th class="h-9 w-[19%] px-3 font-medium" scope="col">Agent / model</th>
|
|
669
|
+
<th class="h-9 w-[15%] px-3 font-medium" scope="col">Last activity</th>
|
|
670
|
+
<th class="h-9 w-[13%] px-3 font-medium" scope="col">Status</th>
|
|
671
|
+
<th class="h-9 px-3 text-right font-medium" scope="col">Tokens</th>
|
|
672
|
+
<th v-if="costSupported" class="h-9 px-3 text-right font-medium" scope="col">Cost</th>
|
|
673
|
+
</tr>
|
|
674
|
+
</thead>
|
|
675
|
+
<tbody>
|
|
676
|
+
<tr v-for="session in summary.sessions" :key="session.id" class="border-t border-default hover:bg-elevated/40">
|
|
677
|
+
<td class="px-3 py-2.5 align-top">
|
|
678
|
+
<RouterLink v-if="runRoute(session)" :to="runRoute(session)!" class="block truncate font-medium text-highlighted underline-offset-4 hover:underline focus-visible:underline" :title="session.title || session.id">{{ session.title || session.id }}</RouterLink>
|
|
679
|
+
<span v-else class="block truncate" :title="session.title || session.id">{{ session.title || session.id }}</span>
|
|
680
|
+
</td>
|
|
681
|
+
<td class="px-3 py-2.5 align-top"><span class="block truncate" :title="session.agent">{{ session.agent || 'Unknown agent' }}</span><span class="block truncate text-xs text-muted" :title="session.models.join(', ')">{{ session.models.length ? session.models.join(', ') : 'Model unavailable' }}</span></td>
|
|
682
|
+
<td class="px-3 py-2.5 align-top text-muted"><time :datetime="session.at" :title="formatDateTime(session.at)">{{ formatTimestamp(session.at) }}</time></td>
|
|
683
|
+
<td class="px-3 py-2.5 align-top"><span class="inline-flex items-center gap-1.5 text-xs" :class="session.status === 'failed' ? 'text-default' : 'text-muted'"><Icon :name="statusIcons[session.status]" class="size-3.5 shrink-0" :class="session.status === 'failed' ? 'text-error' : ''" aria-hidden="true" />{{ statusLabels[session.status] }}</span></td>
|
|
684
|
+
<td class="px-3 py-2.5 text-right align-top tabular-nums" :class="session.totals.totalTokensAvailable ? 'text-highlighted' : 'text-muted'">{{ formatTokenEvidence(session.totals.totalTokens, session.totals.totalTokensAvailable) }}</td>
|
|
685
|
+
<td v-if="costSupported" class="px-3 py-2.5 text-right align-top font-medium tabular-nums" :class="session.totals.costAvailable ? 'text-highlighted' : 'text-muted'">{{ formatCostEvidence(session.totals.costUsd, session.totals.costEstimated, session.totals.costAvailable) }}</td>
|
|
686
|
+
</tr>
|
|
687
|
+
</tbody>
|
|
688
|
+
</table>
|
|
512
689
|
</div>
|
|
513
|
-
<
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
690
|
+
<p v-if="!summary.sessions.length && !summary.totals.invocationsAvailable" class="py-6 text-sm text-muted" role="status">Session history is still loading…</p>
|
|
691
|
+
<UEmpty v-else-if="!summary.sessions.length" v-bind="emptyState" variant="naked" />
|
|
692
|
+
<div v-if="summary.sessions.length || previousCursors.length" class="mt-3 flex items-center justify-between gap-3 text-xs text-muted">
|
|
693
|
+
<span>{{ summary.sessions.length ? `${previousCursors.length * 50 + 1}–${previousCursors.length * 50 + summary.sessions.length} of ${summary.sessionCount}` : `${summary.sessionCount} sessions` }}{{ summary.totals.invocationsAvailable ? '' : ' recorded' }}</span>
|
|
694
|
+
<div class="flex gap-1">
|
|
695
|
+
<UButton label="Previous" aria-label="Previous history page" color="neutral" variant="ghost" size="xs" :disabled="!previousCursors.length || loading" @click="previousRuns" />
|
|
696
|
+
<UButton label="Next" aria-label="Next history page" color="neutral" variant="ghost" size="xs" :disabled="!summary.cursor || loading" @click="nextRuns" />
|
|
697
|
+
</div>
|
|
518
698
|
</div>
|
|
519
|
-
</
|
|
520
|
-
</
|
|
699
|
+
</section>
|
|
700
|
+
</template>
|
|
701
|
+
<template v-else>
|
|
702
|
+
<section aria-labelledby="usage-accounts-heading">
|
|
703
|
+
<h2 id="usage-accounts-heading" class="text-sm font-semibold">Provider accounts</h2>
|
|
704
|
+
<p class="mt-0.5 mb-3 text-xs text-muted">Provider limits apply to the shared account or credential. Recorded session tokens and API cost estimates are shown separately.</p>
|
|
521
705
|
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
:
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
706
|
+
<p v-if="statusError" class="flex items-start gap-2 p-3 text-sm" role="status">
|
|
707
|
+
<Icon name="i-lucide-triangle-alert" class="mt-0.5 size-4 shrink-0 text-warning" aria-hidden="true" />
|
|
708
|
+
{{ statusError }}
|
|
709
|
+
</p>
|
|
710
|
+
<div v-else class="grid gap-x-8 lg:grid-cols-2">
|
|
711
|
+
<article
|
|
712
|
+
v-for="status in accounts"
|
|
713
|
+
:key="status.account?.id || status.agent"
|
|
714
|
+
class="space-y-3 border-t border-default py-4"
|
|
715
|
+
>
|
|
716
|
+
<div class="flex items-center justify-between gap-3">
|
|
717
|
+
<div>
|
|
718
|
+
<h3 class="text-sm font-medium">{{ status.provider || "Provider" }} · {{ status.account ? 'Shared credential' : 'Identity unavailable' }}</h3>
|
|
719
|
+
<p class="text-xs text-muted">{{ status.agents.join(', ') }}</p>
|
|
720
|
+
</div>
|
|
721
|
+
<UBadge
|
|
722
|
+
:color="
|
|
723
|
+
status.readiness === 'ready' && !status.stale
|
|
724
|
+
? 'success'
|
|
725
|
+
: status.readiness === 'unavailable'
|
|
726
|
+
? 'error'
|
|
727
|
+
: 'neutral'
|
|
728
|
+
"
|
|
729
|
+
variant="subtle"
|
|
730
|
+
>{{ status.stale ? "Stale" : status.readiness }}</UBadge
|
|
731
|
+
>
|
|
732
|
+
</div>
|
|
733
|
+
<p v-if="status.reason" class="text-xs text-muted">{{ status.reason }}</p>
|
|
734
|
+
<p v-if="status.modelCompatibility" class="text-xs text-muted">
|
|
735
|
+
Model compatibility: {{ status.modelCompatibility.reason || status.modelCompatibility.status }}
|
|
736
|
+
</p>
|
|
737
|
+
<p v-if="status.workspaceCapacity" class="text-xs text-muted">
|
|
738
|
+
Workspace capacity: {{ status.workspaceCapacity.reason || status.workspaceCapacity.status }}
|
|
739
|
+
</p>
|
|
740
|
+
<div class="flex flex-wrap gap-3 text-xs text-muted">
|
|
741
|
+
<span v-if="status.authenticated !== undefined"
|
|
742
|
+
>Account: {{ status.authenticated ? "Signed in" : "Signed out" }}</span
|
|
743
|
+
>
|
|
744
|
+
<span>Checked <time :datetime="status.checkedAt" :title="formatDateTime(status.checkedAt)">{{ formatTimestamp(status.checkedAt) }}</time></span>
|
|
745
|
+
</div>
|
|
746
|
+
<div
|
|
747
|
+
v-for="limit in status.usageLimits?.windows ?? []"
|
|
748
|
+
:key="limit.id"
|
|
749
|
+
class="space-y-1.5"
|
|
750
|
+
>
|
|
751
|
+
<div class="flex justify-between gap-3 text-xs">
|
|
752
|
+
<span>{{ limit.label }}</span
|
|
753
|
+
><span class="tabular-nums">{{ limit.usedPercent.toFixed(0) }}% used</span>
|
|
754
|
+
</div>
|
|
755
|
+
<progress
|
|
756
|
+
class="h-1.5 w-full accent-primary"
|
|
757
|
+
:value="Math.min(100, Math.max(0, limit.usedPercent))"
|
|
758
|
+
max="100"
|
|
759
|
+
:aria-label="limit.label"
|
|
760
|
+
/>
|
|
761
|
+
<p v-if="limit.resetsAt" class="text-xs text-muted">
|
|
762
|
+
Resets <time :datetime="limit.resetsAt" :title="formatDateTime(limit.resetsAt)">{{ formatTimestamp(limit.resetsAt) }}</time>
|
|
763
|
+
</p>
|
|
764
|
+
</div>
|
|
765
|
+
<p v-if="status.usageLimits?.unavailable" class="text-xs text-muted">
|
|
766
|
+
Subscription usage
|
|
767
|
+
{{
|
|
768
|
+
status.usageLimits.unavailable.reason === "unsupported"
|
|
769
|
+
? "is not reported by this provider"
|
|
770
|
+
: "could not be checked"
|
|
771
|
+
}}.
|
|
772
|
+
</p>
|
|
773
|
+
</article>
|
|
535
774
|
</div>
|
|
536
|
-
</
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
<
|
|
567
|
-
<
|
|
568
|
-
<
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
{{ formatTokenEvidence(bucket.invocations, bucket.invocationsAvailable) }}
|
|
580
|
-
</td>
|
|
581
|
-
<td class="px-4 py-3 text-right tabular-nums">
|
|
582
|
-
{{ formatCostEvidence(bucket.costUsd, bucket.costEstimated, bucket.costAvailable) }}
|
|
583
|
-
</td>
|
|
584
|
-
<td class="px-4 py-3 text-right tabular-nums sm:px-5">
|
|
585
|
-
{{ formatTokenEvidence(bucket.totalTokens, bucket.totalTokensAvailable) }}
|
|
586
|
-
</td>
|
|
587
|
-
</tr>
|
|
588
|
-
</tbody>
|
|
589
|
-
</table>
|
|
590
|
-
</div>
|
|
775
|
+
</section>
|
|
776
|
+
</template>
|
|
777
|
+
<USlideover
|
|
778
|
+
v-model:open="modelDetailOpen"
|
|
779
|
+
:title="selectedModel?.model || 'Model'"
|
|
780
|
+
description="Model usage in this period"
|
|
781
|
+
:ui="{ description: 'sr-only' }"
|
|
782
|
+
>
|
|
783
|
+
<template #body>
|
|
784
|
+
<ConsoleUsageModelDetail
|
|
785
|
+
v-if="summary && selectedModel"
|
|
786
|
+
:model="selectedModel"
|
|
787
|
+
:totals="summary.totals"
|
|
788
|
+
:buckets="summary.buckets"
|
|
789
|
+
:metric="metric"
|
|
790
|
+
:cost-supported="costSupported"
|
|
791
|
+
:resolution="summary.resolution"
|
|
792
|
+
:from="summary.from"
|
|
793
|
+
:to="summary.to"
|
|
794
|
+
/>
|
|
795
|
+
</template>
|
|
796
|
+
</USlideover>
|
|
797
|
+
</main>
|
|
798
|
+
|
|
799
|
+
<!-- A quiet column for filters, like the sidebar of a usage dashboard. -->
|
|
800
|
+
<aside class="usage-filters" aria-label="Usage filters">
|
|
801
|
+
<UInput v-model="searchInput" type="search" icon="i-lucide-search" placeholder="Search sessions" aria-label="Search sessions" size="sm" variant="ghost" class="w-full" :ui="{ base: 'text-base sm:text-sm' }" />
|
|
802
|
+
<section aria-labelledby="usage-filter-agents">
|
|
803
|
+
<h2 id="usage-filter-agents"><span>Agents</span><small v-if="agentRows.length">{{ agentRows.length }}</small></h2>
|
|
804
|
+
<ul>
|
|
805
|
+
<li>
|
|
806
|
+
<button type="button" :aria-pressed="selectedAgent === 'all'" @click="selectedAgent = 'all'">
|
|
807
|
+
<span class="usage-filters__check" aria-hidden="true" /><span class="usage-filters__name">All agents</span>
|
|
808
|
+
<span class="usage-filters__count">{{ summary?.sessionCount ?? "" }}</span>
|
|
809
|
+
</button>
|
|
810
|
+
</li>
|
|
811
|
+
<li v-for="row in agentRows" :key="row.agent">
|
|
812
|
+
<button type="button" :aria-pressed="selectedAgent === `agent:${row.agent}`" @click="selectedAgent = `agent:${row.agent}`">
|
|
813
|
+
<span class="usage-filters__check" aria-hidden="true" /><span class="usage-filters__name" :title="row.agent">{{ row.agent }}</span>
|
|
814
|
+
<span class="usage-filters__count">{{ row.count }}</span>
|
|
815
|
+
</button>
|
|
816
|
+
</li>
|
|
817
|
+
</ul>
|
|
591
818
|
</section>
|
|
592
|
-
|
|
593
|
-
|
|
819
|
+
<section aria-labelledby="usage-filter-status">
|
|
820
|
+
<h2 id="usage-filter-status"><span>Status</span></h2>
|
|
821
|
+
<ul>
|
|
822
|
+
<li v-for="option in statusOptions" :key="option.value">
|
|
823
|
+
<button type="button" :aria-pressed="status === option.value" @click="status = option.value">
|
|
824
|
+
<span class="usage-filters__check" aria-hidden="true" /><span class="usage-filters__name">{{ option.label }}</span>
|
|
825
|
+
</button>
|
|
826
|
+
</li>
|
|
827
|
+
</ul>
|
|
828
|
+
</section>
|
|
829
|
+
<button v-if="filtered" type="button" class="usage-filters__clear" @click="clearFilters">Clear filters</button>
|
|
830
|
+
<p class="usage-filters__note">Filters apply to every view. Est. spend adds the cost that each session recorded, estimated or reported. <code>vitehub agent usage</code> reads the same data.</p>
|
|
831
|
+
</aside>
|
|
832
|
+
</div>
|
|
594
833
|
</template>
|
|
595
834
|
</UDashboardPanel>
|
|
596
835
|
</template>
|
|
836
|
+
|
|
837
|
+
<style>
|
|
838
|
+
/* Usage reads like a dashboard of numbers: text toggles, big tabular figures, hairline rows, and no boxed cards. */
|
|
839
|
+
.usage-page {
|
|
840
|
+
display: grid;
|
|
841
|
+
grid-template-columns: minmax(0, 1fr) 16rem;
|
|
842
|
+
height: 100%;
|
|
843
|
+
min-height: 0;
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
.usage-page__main {
|
|
847
|
+
display: flex;
|
|
848
|
+
flex-direction: column;
|
|
849
|
+
gap: 1.75rem;
|
|
850
|
+
margin-inline: auto;
|
|
851
|
+
max-width: 64rem;
|
|
852
|
+
min-height: 0;
|
|
853
|
+
overflow-y: auto;
|
|
854
|
+
padding: 1.25rem 1.5rem 3rem;
|
|
855
|
+
width: 100%;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
.usage-page__controls {
|
|
859
|
+
align-items: center;
|
|
860
|
+
display: flex;
|
|
861
|
+
flex-wrap: wrap;
|
|
862
|
+
gap: 1rem;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
.usage-toggles {
|
|
866
|
+
display: flex;
|
|
867
|
+
gap: 1rem;
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
.usage-toggles button {
|
|
871
|
+
border-block-end: 1px solid transparent;
|
|
872
|
+
position: relative;
|
|
873
|
+
color: var(--muted-foreground);
|
|
874
|
+
font-size: 0.8125rem;
|
|
875
|
+
padding-block: 0.25rem;
|
|
876
|
+
transition: color 150ms ease, border-color 150ms ease;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
/* The text toggles are short. The hit area grows to 40 px tall and stays inside the 1 rem gap to the next one. */
|
|
880
|
+
.usage-toggles button::before {
|
|
881
|
+
content: "";
|
|
882
|
+
inset: -0.5rem -0.375rem;
|
|
883
|
+
position: absolute;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
.usage-toggles button:hover {
|
|
887
|
+
color: var(--foreground);
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
.usage-toggles button:is([aria-pressed="true"], [aria-current="page"]) {
|
|
891
|
+
border-block-end-color: var(--foreground);
|
|
892
|
+
color: var(--foreground);
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
.usage-toggles--small button {
|
|
896
|
+
font-size: 0.75rem;
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
.usage-toggles__divider {
|
|
900
|
+
background: var(--border);
|
|
901
|
+
height: 1rem;
|
|
902
|
+
width: 1px;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
.usage-headline {
|
|
906
|
+
display: grid;
|
|
907
|
+
gap: 1.5rem;
|
|
908
|
+
grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
.usage-headline__item {
|
|
912
|
+
display: grid;
|
|
913
|
+
gap: 0.25rem;
|
|
914
|
+
justify-items: start;
|
|
915
|
+
text-align: start;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
.usage-headline__label {
|
|
919
|
+
color: var(--muted-foreground);
|
|
920
|
+
font-size: 0.75rem;
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
.usage-headline__value {
|
|
924
|
+
color: var(--ui-text-dimmed);
|
|
925
|
+
font-size: 2.25rem;
|
|
926
|
+
font-variant-numeric: tabular-nums;
|
|
927
|
+
font-weight: 400;
|
|
928
|
+
letter-spacing: -0.02em;
|
|
929
|
+
line-height: 2.5rem;
|
|
930
|
+
transition: color 150ms ease;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
.usage-headline__item:hover .usage-headline__value,
|
|
934
|
+
.usage-headline__item[aria-pressed="true"] .usage-headline__value {
|
|
935
|
+
color: var(--foreground);
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
.usage-headline__item[aria-pressed="true"] .usage-headline__label {
|
|
939
|
+
color: var(--foreground);
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
.usage-headline__note {
|
|
943
|
+
color: var(--ui-text-dimmed);
|
|
944
|
+
font-size: 0.6875rem;
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
.usage-page__caption {
|
|
948
|
+
color: var(--ui-text-dimmed);
|
|
949
|
+
font-size: 0.75rem;
|
|
950
|
+
margin-block-start: -1rem;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
.usage-share__bar {
|
|
954
|
+
display: flex;
|
|
955
|
+
gap: 2px;
|
|
956
|
+
height: 0.375rem;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
.usage-share__bar > span {
|
|
960
|
+
min-width: 0.25rem;
|
|
961
|
+
user-select: none;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
.usage-share__bar > span:first-child {
|
|
965
|
+
border-end-start-radius: 9999px;
|
|
966
|
+
border-start-start-radius: 9999px;
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
.usage-share__bar > span:last-child {
|
|
970
|
+
border-end-end-radius: 9999px;
|
|
971
|
+
border-start-end-radius: 9999px;
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
.usage-ranked > header {
|
|
975
|
+
align-items: baseline;
|
|
976
|
+
display: flex;
|
|
977
|
+
justify-content: space-between;
|
|
978
|
+
margin-block-end: 0.5rem;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
.usage-ranked h2 {
|
|
982
|
+
color: var(--foreground);
|
|
983
|
+
font-size: 0.8125rem;
|
|
984
|
+
font-weight: 500;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
.usage-ranked ol {
|
|
988
|
+
list-style: none;
|
|
989
|
+
margin: 0;
|
|
990
|
+
padding: 0;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
.usage-ranked li {
|
|
994
|
+
align-items: center;
|
|
995
|
+
border-block-start: 1px solid var(--border);
|
|
996
|
+
color: var(--muted-foreground);
|
|
997
|
+
column-gap: 1rem;
|
|
998
|
+
display: grid;
|
|
999
|
+
font-size: 0.8125rem;
|
|
1000
|
+
font-variant-numeric: tabular-nums;
|
|
1001
|
+
grid-template-columns: 1.5rem minmax(0, 1fr) 5rem 7rem 4.5rem;
|
|
1002
|
+
min-height: 2.75rem;
|
|
1003
|
+
padding-block: 0.5rem;
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
.usage-ranked li > span:nth-child(n + 3) {
|
|
1007
|
+
text-align: end;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
.usage-ranked li.usage-ranked__head {
|
|
1011
|
+
border-block-start: 0;
|
|
1012
|
+
color: var(--ui-text-dimmed);
|
|
1013
|
+
font-size: 0.6875rem;
|
|
1014
|
+
min-height: 1.5rem;
|
|
1015
|
+
padding-block: 0;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
.usage-ranked__rank {
|
|
1019
|
+
color: var(--ui-text-dimmed);
|
|
1020
|
+
font-size: 0.75rem;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
.usage-ranked__name {
|
|
1024
|
+
display: grid;
|
|
1025
|
+
gap: 0.375rem;
|
|
1026
|
+
justify-items: start;
|
|
1027
|
+
min-width: 0;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
.usage-ranked__name > :is(button, a, span:not(.usage-ranked__bar)) {
|
|
1031
|
+
color: var(--foreground);
|
|
1032
|
+
max-width: 100%;
|
|
1033
|
+
overflow: hidden;
|
|
1034
|
+
text-overflow: ellipsis;
|
|
1035
|
+
white-space: nowrap;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
.usage-ranked__name > :is(button, a):hover {
|
|
1039
|
+
text-decoration: underline;
|
|
1040
|
+
text-underline-offset: 4px;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
.usage-ranked__name small {
|
|
1044
|
+
color: var(--ui-text-dimmed);
|
|
1045
|
+
font-size: 0.6875rem;
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
.usage-ranked__bar {
|
|
1049
|
+
background: var(--foreground);
|
|
1050
|
+
pointer-events: none;
|
|
1051
|
+
border-radius: 9999px;
|
|
1052
|
+
height: 2px;
|
|
1053
|
+
max-width: 12rem;
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
.usage-filters {
|
|
1057
|
+
border-inline-start: 1px solid var(--border);
|
|
1058
|
+
display: flex;
|
|
1059
|
+
flex-direction: column;
|
|
1060
|
+
gap: 1.5rem;
|
|
1061
|
+
min-height: 0;
|
|
1062
|
+
overflow-y: auto;
|
|
1063
|
+
padding: 1rem 1rem 2rem;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
.usage-filters h2 {
|
|
1067
|
+
align-items: baseline;
|
|
1068
|
+
color: var(--foreground);
|
|
1069
|
+
display: flex;
|
|
1070
|
+
font-size: 0.8125rem;
|
|
1071
|
+
font-weight: 500;
|
|
1072
|
+
gap: 0.375rem;
|
|
1073
|
+
margin-block-end: 0.375rem;
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
.usage-filters h2 small {
|
|
1077
|
+
color: var(--ui-text-dimmed);
|
|
1078
|
+
font-size: 0.6875rem;
|
|
1079
|
+
font-variant-numeric: tabular-nums;
|
|
1080
|
+
font-weight: 400;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
.usage-filters ul {
|
|
1084
|
+
list-style: none;
|
|
1085
|
+
margin: 0;
|
|
1086
|
+
padding: 0;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
.usage-filters li button {
|
|
1090
|
+
align-items: center;
|
|
1091
|
+
color: var(--muted-foreground);
|
|
1092
|
+
display: flex;
|
|
1093
|
+
font-size: 0.8125rem;
|
|
1094
|
+
gap: 0.5rem;
|
|
1095
|
+
min-height: 2rem;
|
|
1096
|
+
text-align: start;
|
|
1097
|
+
transition: color 150ms ease;
|
|
1098
|
+
width: 100%;
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
.usage-filters li button:hover,
|
|
1102
|
+
.usage-filters li button[aria-pressed="true"] {
|
|
1103
|
+
color: var(--foreground);
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
.usage-filters__check {
|
|
1107
|
+
border: 1px solid var(--ui-border-accented);
|
|
1108
|
+
border-radius: 0.1875rem;
|
|
1109
|
+
flex: none;
|
|
1110
|
+
height: 0.75rem;
|
|
1111
|
+
width: 0.75rem;
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
[aria-pressed="true"] > .usage-filters__check {
|
|
1115
|
+
background: var(--foreground);
|
|
1116
|
+
border-color: var(--foreground);
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
.usage-filters__name {
|
|
1120
|
+
flex: 1;
|
|
1121
|
+
min-width: 0;
|
|
1122
|
+
overflow: hidden;
|
|
1123
|
+
text-overflow: ellipsis;
|
|
1124
|
+
white-space: nowrap;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
.usage-filters__count {
|
|
1128
|
+
color: var(--ui-text-dimmed);
|
|
1129
|
+
font-size: 0.75rem;
|
|
1130
|
+
font-variant-numeric: tabular-nums;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
.usage-filters__clear {
|
|
1134
|
+
align-self: start;
|
|
1135
|
+
color: var(--muted-foreground);
|
|
1136
|
+
font-size: 0.75rem;
|
|
1137
|
+
text-decoration: underline;
|
|
1138
|
+
text-underline-offset: 4px;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
.usage-filters__note {
|
|
1142
|
+
border-block-start: 1px solid var(--border);
|
|
1143
|
+
color: var(--ui-text-dimmed);
|
|
1144
|
+
font-size: 0.6875rem;
|
|
1145
|
+
line-height: 1.5;
|
|
1146
|
+
padding-block-start: 1rem;
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
/* A narrow screen stacks the filters under the numbers, and the whole page scrolls. */
|
|
1150
|
+
@media (max-width: 64rem) {
|
|
1151
|
+
.usage-page {
|
|
1152
|
+
display: block;
|
|
1153
|
+
overflow-y: auto;
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
.usage-page__main,
|
|
1157
|
+
.usage-filters {
|
|
1158
|
+
overflow: visible;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
.usage-filters {
|
|
1162
|
+
border-block-start: 1px solid var(--border);
|
|
1163
|
+
border-inline-start: 0;
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1168
|
+
.usage-toggles button,
|
|
1169
|
+
.usage-headline__value,
|
|
1170
|
+
.usage-filters li button {
|
|
1171
|
+
transition: none;
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
</style>
|