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
|
@@ -6,43 +6,57 @@ import {
|
|
|
6
6
|
agentInvocationExternalUrl,
|
|
7
7
|
agentInvocationProject,
|
|
8
8
|
agentInvocationTitle,
|
|
9
|
-
} from "
|
|
9
|
+
} from "./invocation";
|
|
10
10
|
import { useAgentInvocation, useAgentInvocations } from "vite-hub/agent/vue";
|
|
11
11
|
import { computed, nextTick, onBeforeUnmount, onMounted, ref, watch } from "vue";
|
|
12
12
|
import { useRoute, useRouter } from "vue-router";
|
|
13
|
-
import {
|
|
13
|
+
import {
|
|
14
|
+
resolveConsoleAgentInvocation,
|
|
15
|
+
resolveConsoleAgentInvocationOptions,
|
|
16
|
+
resolveConsoleNewChatAgent,
|
|
17
|
+
} from "./console-new-chat";
|
|
18
|
+
import {
|
|
19
|
+
readConsoleAgentListOpen,
|
|
20
|
+
rememberConsoleAgentListOpen,
|
|
21
|
+
resolveConsoleAgentCatalog,
|
|
22
|
+
resolveConsoleAgentRows,
|
|
23
|
+
} from "./console-agent-list";
|
|
14
24
|
|
|
15
|
-
import type {
|
|
25
|
+
import type { CommandPaletteItem } from "@nuxt/ui";
|
|
16
26
|
import type {
|
|
17
27
|
AgentInvocationConfiguration,
|
|
18
28
|
AgentInvocationListItem,
|
|
19
29
|
AgentInvocationView,
|
|
20
|
-
} from "
|
|
30
|
+
} from "./invocation";
|
|
21
31
|
import {
|
|
22
32
|
decodeAgentRouteParam,
|
|
23
33
|
encodeAgentRouteParam,
|
|
24
34
|
resolveConsoleRouteName,
|
|
35
|
+
resolveUsageSessionsAgent,
|
|
25
36
|
} from "../console-route";
|
|
26
|
-
import { isRetryableConsoleRequestError, requestConsole } from "../client/request";
|
|
37
|
+
import { isConsoleSignInRequired, isRetryableConsoleRequestError, requestConsole } from "../client/request";
|
|
38
|
+
import { queryChoice, querySelection, queryText, useConsoleQuery, writeConsoleQuery } from "../client/route-query";
|
|
39
|
+
import { useConsoleConnectionUnavailable } from "./console-connection";
|
|
27
40
|
import { rememberConsoleSection } from "../sections";
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import ConsoleHealth from "./console-health.vue";
|
|
41
|
+
import ConsoleConnectionState from "./console-connection-state.vue";
|
|
42
|
+
import ConsoleState from "./console-state.vue";
|
|
43
|
+
import ConsoleInvocationComposer from "./console-invocation-composer.vue";
|
|
32
44
|
import ConsoleMark from "./console-mark.vue";
|
|
33
45
|
import ConsoleSessionLoading from "./console-session-loading.vue";
|
|
34
46
|
import ConsoleSessionNavbar from "./console-session-navbar.vue";
|
|
47
|
+
import { createConsoleInvocationDeletion } from "../client/invocation-deletion";
|
|
48
|
+
import ConsoleSessionCancel from "./console-session-cancel.vue";
|
|
49
|
+
import ConsoleSessionActions from "./console-session-actions.vue";
|
|
50
|
+
import type { ConsoleSessionRerun } from "./console-session-actions.vue";
|
|
35
51
|
import ConsoleSessionInspector from "./console-session-inspector.vue";
|
|
52
|
+
import ConsoleAgentSession from "./console-agent-session.vue";
|
|
36
53
|
import ConsoleSearch from "./console-search.vue";
|
|
37
54
|
import ConsoleUsage from "./console-usage.vue";
|
|
38
|
-
import
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
resetCapabilityFilterForRouteTransition,
|
|
42
|
-
useConsoleSessionBootstrap,
|
|
43
|
-
} from "./console-session-bootstrap";
|
|
44
|
-
import type { CapabilityFilterRouteTransition } from "./console-session-bootstrap";
|
|
55
|
+
import Icon from "./console-icon.vue";
|
|
56
|
+
import { formatConsoleUsageCost } from "./console-usage-model";
|
|
57
|
+
import { refreshCapabilityFilteredInvocations, useConsoleSessionBootstrap } from "./console-session-bootstrap";
|
|
45
58
|
import "./console-session.css";
|
|
59
|
+
import "./invocation/invocation.css";
|
|
46
60
|
|
|
47
61
|
const route = useRoute();
|
|
48
62
|
const router = useRouter();
|
|
@@ -52,7 +66,6 @@ const props = defineProps<{
|
|
|
52
66
|
capabilitiesBase: string;
|
|
53
67
|
definitionsBase: string;
|
|
54
68
|
kvBase: string;
|
|
55
|
-
hostBase: string;
|
|
56
69
|
searchBase: string;
|
|
57
70
|
sectionsBase: string;
|
|
58
71
|
usageBase: string;
|
|
@@ -60,28 +73,105 @@ const props = defineProps<{
|
|
|
60
73
|
const initialAgentParam = decodeAgentRouteParam(route.params.agent);
|
|
61
74
|
const selectedInvocationId = ref<string>();
|
|
62
75
|
const selectedAgentName = ref(initialAgentParam?.trim() ? initialAgentParam : undefined);
|
|
63
|
-
const
|
|
76
|
+
const newChatAgentName = ref<string>();
|
|
77
|
+
const inspectorViewNames = ["details", "trace", "workspace", "capabilities", "diff"] as const;
|
|
78
|
+
// The session filters, the details panel, and its tab or file live in the URL, so a reload, a shared link, or a new
|
|
79
|
+
// tab opens the same view. The session itself is in the path. The sessions drawer of narrow screens stays out: the
|
|
80
|
+
// dashboard sidebar closes it on every navigation, so a URL write would close it at once.
|
|
81
|
+
const sessionQuery = {
|
|
82
|
+
capability: querySelection({ history: "replace" }),
|
|
83
|
+
details: queryChoice(["closed", "open", "max"], "closed", { history: "push" }),
|
|
84
|
+
file: querySelection(),
|
|
85
|
+
q: queryText(),
|
|
86
|
+
tab: queryChoice(inspectorViewNames, "details", { history: "push" }),
|
|
87
|
+
triggeredBy: querySelection({ history: "replace" }),
|
|
88
|
+
};
|
|
89
|
+
const {
|
|
90
|
+
capability: selectedCapabilityId,
|
|
91
|
+
details: detailsView,
|
|
92
|
+
file: inspectorSelectedPath,
|
|
93
|
+
q: sessionSearch,
|
|
94
|
+
tab: inspectorTab,
|
|
95
|
+
triggeredBy: selectedTriggeredBy,
|
|
96
|
+
} = useConsoleQuery(sessionQuery, {
|
|
97
|
+
active: current => ["vitehub-console-agents", "vitehub-console-agent", "vitehub-console-invocation"]
|
|
98
|
+
.some(name => current.name === resolveConsoleRouteName(current.name, name)),
|
|
99
|
+
onRestore(names) {
|
|
100
|
+
if (names.includes("capability") || names.includes("triggeredBy")) scheduleInvocationListRefresh();
|
|
101
|
+
if (names.includes("tab") || names.includes("file") || (names.includes("details") && detailsOpen.value)) showInspectorSurface();
|
|
102
|
+
},
|
|
103
|
+
});
|
|
104
|
+
/** The URL query of the page as it shows now, for a route that only fills in the Agent or the first session. */
|
|
105
|
+
function currentSessionQuery() {
|
|
106
|
+
return writeConsoleQuery(sessionQuery, {
|
|
107
|
+
capability: selectedCapabilityId.value,
|
|
108
|
+
details: detailsView.value,
|
|
109
|
+
file: inspectorSelectedPath.value,
|
|
110
|
+
q: sessionSearch.value,
|
|
111
|
+
tab: inspectorTab.value,
|
|
112
|
+
triggeredBy: selectedTriggeredBy.value,
|
|
113
|
+
}, route.query);
|
|
114
|
+
}
|
|
115
|
+
/** The query to keep when another session or Agent opens: the filters, and the details panel unless `closeDetails`. */
|
|
116
|
+
function keptSessionQuery(options: { closeDetails?: boolean } = {}) {
|
|
117
|
+
return writeConsoleQuery(sessionQuery, {
|
|
118
|
+
capability: selectedCapabilityId.value,
|
|
119
|
+
q: sessionSearch.value,
|
|
120
|
+
triggeredBy: selectedTriggeredBy.value,
|
|
121
|
+
...(options.closeDetails ? {} : { details: detailsView.value, tab: inspectorTab.value }),
|
|
122
|
+
}, {});
|
|
123
|
+
}
|
|
64
124
|
const filterOpen = ref(false);
|
|
65
125
|
const capabilityIds = ref<string[]>([]);
|
|
126
|
+
const triggeredByValues = ref<string[]>([]);
|
|
66
127
|
const capabilitiesLoading = ref(false);
|
|
67
128
|
const capabilitiesError = ref<unknown>();
|
|
68
129
|
const initialBootstrapPending = ref(!selectedAgentName.value);
|
|
69
130
|
const agentNames = ref<string[]>([]);
|
|
131
|
+
// Names that appear only in invocation history. Their sessions stay browsable, but they are not listed as Agents.
|
|
132
|
+
const historicalAgentNames = ref<string[]>([]);
|
|
133
|
+
const sessionAgentNames = computed(() => [...agentNames.value, ...historicalAgentNames.value]);
|
|
70
134
|
const agentsLoading = ref(true);
|
|
71
135
|
const agentsError = ref<unknown>();
|
|
136
|
+
interface ConsoleAgentProfile {
|
|
137
|
+
id: string;
|
|
138
|
+
label?: string;
|
|
139
|
+
}
|
|
140
|
+
const agentInvocationOptions = ref<Record<string, { profiles: ConsoleAgentProfile[] }>>({});
|
|
72
141
|
const nowMs = ref(Date.now());
|
|
73
|
-
|
|
74
|
-
const
|
|
75
|
-
const detailsOpen =
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
142
|
+
// Usage links to the sessions with `?sessions=open`.
|
|
143
|
+
const sessionsOpen = ref(route.query.sessions === "open");
|
|
144
|
+
const detailsOpen = computed({
|
|
145
|
+
get: () => detailsView.value !== "closed",
|
|
146
|
+
set: (open: boolean) => {
|
|
147
|
+
detailsView.value = !open ? "closed" : detailsView.value === "max" ? "max" : "open";
|
|
148
|
+
},
|
|
149
|
+
});
|
|
150
|
+
const detailsMaximized = computed({
|
|
151
|
+
get: () => detailsView.value === "max",
|
|
152
|
+
set: (maximized: boolean) => {
|
|
153
|
+
detailsView.value = maximized ? "max" : detailsView.value === "closed" ? "closed" : "open";
|
|
154
|
+
},
|
|
155
|
+
});
|
|
156
|
+
const inspectorActiveSurface = ref("");
|
|
157
|
+
const inspectorOpenViews = ref<Array<(typeof inspectorViewNames)[number]>>([]);
|
|
80
158
|
const inspectorOpenPaths = ref<string[]>([]);
|
|
81
|
-
|
|
159
|
+
/** Opens the tab or file of the URL in the inspector, for a link, Back, and Forward. */
|
|
160
|
+
function showInspectorSurface(): void {
|
|
161
|
+
const path = inspectorSelectedPath.value;
|
|
162
|
+
if (path) {
|
|
163
|
+
if (!inspectorOpenPaths.value.includes(path)) inspectorOpenPaths.value = [...inspectorOpenPaths.value, path];
|
|
164
|
+
if (inspectorTab.value === "workspace") {
|
|
165
|
+
inspectorActiveSurface.value = `file:${path}`;
|
|
166
|
+
return;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
const view = inspectorTab.value;
|
|
170
|
+
if (!inspectorOpenViews.value.includes(view)) inspectorOpenViews.value = [...inspectorOpenViews.value, view];
|
|
171
|
+
inspectorActiveSurface.value = `view:${view}`;
|
|
172
|
+
}
|
|
173
|
+
if (detailsOpen.value || inspectorSelectedPath.value || inspectorTab.value !== "details") showInspectorSurface();
|
|
82
174
|
const inspectorWorkspaceIdentity = ref<string>();
|
|
83
|
-
const activePage = ref<"health" | "sessions">("sessions");
|
|
84
|
-
const healthAvailable = ref(false);
|
|
85
175
|
const selectedActivityId = ref<string>();
|
|
86
176
|
const isDesktop = ref(false);
|
|
87
177
|
const pageVisible = ref(!import.meta.env.SSR && document.visibilityState !== "hidden");
|
|
@@ -90,15 +180,12 @@ let clock: ReturnType<typeof setInterval> | undefined;
|
|
|
90
180
|
let agentsRetry: ReturnType<typeof setTimeout> | undefined;
|
|
91
181
|
let media: MediaQueryList | undefined;
|
|
92
182
|
let agentsRequest: AbortController | undefined;
|
|
93
|
-
let capabilitiesRequest: AbortController | undefined;
|
|
94
183
|
let capabilityIdsRequest: AbortController | undefined;
|
|
95
184
|
let refreshCount = 0;
|
|
96
185
|
let invocationListRefreshQueued = false;
|
|
97
|
-
let pendingCapabilityFilterRouteTransition: CapabilityFilterRouteTransition | undefined;
|
|
98
186
|
const sessionPollingEnabled = computed(
|
|
99
187
|
() =>
|
|
100
188
|
pageVisible.value &&
|
|
101
|
-
activePage.value === "sessions" &&
|
|
102
189
|
route.name !== resolveConsoleRouteName(route.name, "vitehub-console-usage"),
|
|
103
190
|
);
|
|
104
191
|
const listPollInterval = computed(() => (sessionPollingEnabled.value ? 5_000 : false));
|
|
@@ -106,6 +193,21 @@ const isUsageRoute = computed(
|
|
|
106
193
|
() => route.name === resolveConsoleRouteName(route.name, "vitehub-console-usage"),
|
|
107
194
|
);
|
|
108
195
|
|
|
196
|
+
async function openSessionsFromUsage(): Promise<void> {
|
|
197
|
+
const agent = resolveUsageSessionsAgent(route.query, selectedAgentName.value);
|
|
198
|
+
if (agent) {
|
|
199
|
+
await router.push({
|
|
200
|
+
name: resolveConsoleRouteName(route.name, "vitehub-console-agent"),
|
|
201
|
+
params: { agent: encodeAgentRouteParam(agent) },
|
|
202
|
+
query: { sessions: "open" },
|
|
203
|
+
});
|
|
204
|
+
sessionsOpen.value = true;
|
|
205
|
+
return;
|
|
206
|
+
}
|
|
207
|
+
await router.push({ name: resolveConsoleRouteName(route.name, "vitehub-console-agents"), query: { sessions: "open" } });
|
|
208
|
+
sessionsOpen.value = true;
|
|
209
|
+
}
|
|
210
|
+
|
|
109
211
|
const list = useAgentInvocations({
|
|
110
212
|
baseURL: props.apiBase,
|
|
111
213
|
immediate: pageVisible.value && !isUsageRoute.value,
|
|
@@ -113,17 +215,19 @@ const list = useAgentInvocations({
|
|
|
113
215
|
request: requestConsole,
|
|
114
216
|
requestSummaries: requestConsole,
|
|
115
217
|
watch: false,
|
|
116
|
-
query: computed(() =>
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
218
|
+
query: computed(() => {
|
|
219
|
+
const query: { agent?: string; capability?: string; limit: number; triggeredBy?: string } = { limit: 50 };
|
|
220
|
+
if (selectedAgentName.value) query.agent = selectedAgentName.value;
|
|
221
|
+
if (selectedCapabilityId.value) query.capability = selectedCapabilityId.value;
|
|
222
|
+
if (selectedTriggeredBy.value) query.triggeredBy = selectedTriggeredBy.value;
|
|
223
|
+
return query;
|
|
224
|
+
}),
|
|
121
225
|
});
|
|
122
226
|
const selectedSummary = computed(() =>
|
|
123
227
|
list.invocations.value.find((invocation) => invocation.id === selectedInvocationId.value),
|
|
124
228
|
);
|
|
125
229
|
const { selectAgentName } = useConsoleSessionBootstrap({
|
|
126
|
-
agentNames,
|
|
230
|
+
agentNames: sessionAgentNames,
|
|
127
231
|
firstInvocation: computed(() => list.invocations.value[0]),
|
|
128
232
|
initialBootstrapPending,
|
|
129
233
|
isUsageRoute,
|
|
@@ -136,8 +240,11 @@ const selectedDetailStatus = ref<{
|
|
|
136
240
|
status: AgentInvocationListItem["status"];
|
|
137
241
|
}>();
|
|
138
242
|
const selectedDetailError = ref<unknown>();
|
|
139
|
-
const initialSessionLoading = computed(
|
|
140
|
-
|
|
243
|
+
const initialSessionLoading = computed(
|
|
244
|
+
() =>
|
|
245
|
+
!selectedInvocationId.value &&
|
|
246
|
+
!selectedAgentInvocation.value &&
|
|
247
|
+
(agentsLoading.value || list.isLoading.value),
|
|
141
248
|
);
|
|
142
249
|
const detailPollInterval = computed(() => {
|
|
143
250
|
if (!sessionPollingEnabled.value || !selectedInvocationId.value) return false;
|
|
@@ -145,10 +252,7 @@ const detailPollInterval = computed(() => {
|
|
|
145
252
|
return isRetryableConsoleRequestError(selectedDetailError.value) ? 3_000 : false;
|
|
146
253
|
}
|
|
147
254
|
const detailStatus = selectedDetailStatus.value;
|
|
148
|
-
const status =
|
|
149
|
-
detailStatus?.id === selectedInvocationId.value
|
|
150
|
-
? detailStatus.status
|
|
151
|
-
: undefined;
|
|
255
|
+
const status = detailStatus?.id === selectedInvocationId.value ? detailStatus.status : undefined;
|
|
152
256
|
return status === "completed" || status === "failed" || status === "cancelled" ? false : 3_000;
|
|
153
257
|
});
|
|
154
258
|
const detail = useAgentInvocation(selectedInvocationId, {
|
|
@@ -165,16 +269,31 @@ watch(
|
|
|
165
269
|
{ flush: "sync", immediate: true },
|
|
166
270
|
);
|
|
167
271
|
|
|
272
|
+
const connectionUnavailable = useConsoleConnectionUnavailable(() => ({
|
|
273
|
+
errors: [agentsError.value, list.error.value, detail.error.value],
|
|
274
|
+
pending: refreshing.value || agentsLoading.value || list.isLoading.value || detail.isLoading.value,
|
|
275
|
+
}));
|
|
276
|
+
|
|
277
|
+
// Sign-in covers the whole panel: neither request can succeed until the user signs in again.
|
|
278
|
+
const sessionsSignInError = computed(() =>
|
|
279
|
+
[agentsError.value, list.error.value].find((error) => isConsoleSignInRequired(error)),
|
|
280
|
+
);
|
|
281
|
+
// When the Agents and their sessions both fail for another reason, one state explains both.
|
|
282
|
+
const sessionsPanelError = computed(() =>
|
|
283
|
+
sessionsSignInError.value ?? (!connectionUnavailable.value && agentsError.value && list.error.value ? agentsError.value : undefined),
|
|
284
|
+
);
|
|
285
|
+
|
|
168
286
|
const invocationItems = computed<AgentInvocationListItem[]>(() =>
|
|
169
287
|
list.invocations.value.map((invocation) => ({
|
|
170
288
|
agent: invocation.agentName,
|
|
289
|
+
channel: invocation.channelId ? invocation.origin || invocation.channelId : undefined,
|
|
171
290
|
context:
|
|
172
|
-
[invocationCostDisplay(invocation),
|
|
291
|
+
[invocationCostDisplay(invocation), invocationListContext(invocation)]
|
|
173
292
|
.filter((value): value is string => Boolean(value))
|
|
174
293
|
.join(" · ") || undefined,
|
|
175
|
-
description: invocation.error?.message,
|
|
176
294
|
id: invocation.id,
|
|
177
|
-
project
|
|
295
|
+
// The list is already filtered by Agent, so the project line only names a different origin.
|
|
296
|
+
project: agentInvocationProject(invocation) === invocation.agentName ? undefined : agentInvocationProject(invocation),
|
|
178
297
|
provider:
|
|
179
298
|
stringValue(invocation.annotations?.["agent.model.provider"]) ||
|
|
180
299
|
(invocation.id === selectedInvocationId.value
|
|
@@ -185,22 +304,62 @@ const invocationItems = computed<AgentInvocationListItem[]>(() =>
|
|
|
185
304
|
status: invocation.status,
|
|
186
305
|
title: agentInvocationTitle(invocation),
|
|
187
306
|
updatedAt: invocation.updatedAt || invocation.startedAt || invocation.createdAt,
|
|
188
|
-
})),
|
|
307
|
+
})).filter(item => matchesSessionSearch(item)),
|
|
189
308
|
);
|
|
309
|
+
/** The search matches the title or the ID of a loaded session. An empty result keeps reading older pages. */
|
|
310
|
+
function matchesSessionSearch(item: Pick<AgentInvocationListItem, "id" | "title">): boolean {
|
|
311
|
+
const query = sessionSearch.value.trim().toLowerCase();
|
|
312
|
+
return !query || `${item.title ?? ""} ${item.id}`.toLowerCase().includes(query);
|
|
313
|
+
}
|
|
190
314
|
const hasMultipleAgents = computed(() => agentNames.value.length > 1);
|
|
191
|
-
const
|
|
192
|
-
(
|
|
315
|
+
const selectedAgentInvocation = computed(() =>
|
|
316
|
+
resolveConsoleAgentInvocation(selectedAgentName.value, agentInvocationOptions.value),
|
|
317
|
+
);
|
|
318
|
+
const newChatTargetName = computed(() =>
|
|
319
|
+
resolveConsoleNewChatAgent(selectedAgentName.value, agentInvocationOptions.value),
|
|
193
320
|
);
|
|
194
|
-
const
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
trailingIcon: selectedAgentName.value === name ? "i-ph-check-light" : undefined,
|
|
200
|
-
})),
|
|
321
|
+
const agentListOpen = ref(readConsoleAgentListOpen());
|
|
322
|
+
const showAllAgents = ref(false);
|
|
323
|
+
// The list shows a few Agents first. The selected Agent stays in it, so the panel always names the active filter.
|
|
324
|
+
const agentRows = computed(() =>
|
|
325
|
+
resolveConsoleAgentRows(agentNames.value, selectedAgentName.value, showAllAgents.value),
|
|
201
326
|
);
|
|
202
|
-
|
|
203
|
-
|
|
327
|
+
// Search shows the same New chat action as the sidebar button.
|
|
328
|
+
const searchActions = computed<CommandPaletteItem[]>(() =>
|
|
329
|
+
newChatTargetName.value
|
|
330
|
+
? [{
|
|
331
|
+
description: `Start a session with ${newChatTargetName.value}`,
|
|
332
|
+
icon: "i-lucide-square-pen",
|
|
333
|
+
label: "New chat",
|
|
334
|
+
onSelect: () => void startNewChat(),
|
|
335
|
+
}]
|
|
336
|
+
: [],
|
|
337
|
+
);
|
|
338
|
+
const activeFilterCount = computed(() => Number(Boolean(selectedCapabilityId.value)) + Number(Boolean(selectedTriggeredBy.value)));
|
|
339
|
+
interface SessionFilterItem {
|
|
340
|
+
id: string;
|
|
341
|
+
kind: "capability" | "triggeredBy";
|
|
342
|
+
label: string;
|
|
343
|
+
value: string;
|
|
344
|
+
}
|
|
345
|
+
const sessionFilterGroups = computed(() =>
|
|
346
|
+
[
|
|
347
|
+
{
|
|
348
|
+
id: "capability",
|
|
349
|
+
label: "Used capability",
|
|
350
|
+
items: capabilityIds.value.map((id): SessionFilterItem => ({ id: `capability:${id}`, kind: "capability", label: capabilityLabel(id), value: id })),
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
id: "triggeredBy",
|
|
354
|
+
label: "Triggered by",
|
|
355
|
+
items: triggeredByValues.value.map((name): SessionFilterItem => ({ id: `triggeredBy:${name}`, kind: "triggeredBy", label: name, value: name })),
|
|
356
|
+
},
|
|
357
|
+
].filter((group) => group.items.length),
|
|
358
|
+
);
|
|
359
|
+
const selectedSessionFilters = computed(() =>
|
|
360
|
+
sessionFilterGroups.value
|
|
361
|
+
.flatMap((group) => group.items)
|
|
362
|
+
.filter((item) => item.value === (item.kind === "capability" ? selectedCapabilityId.value : selectedTriggeredBy.value)),
|
|
204
363
|
);
|
|
205
364
|
const routeInvocation = computed(() => {
|
|
206
365
|
const value = route.params.invocation;
|
|
@@ -231,6 +390,45 @@ const invocationView = computed<AgentInvocationView | undefined>(() => {
|
|
|
231
390
|
return view;
|
|
232
391
|
});
|
|
233
392
|
const selectedDisplay = computed(() => invocationView.value ?? selectedSummary.value);
|
|
393
|
+
const selectedRefreshable = computed(() =>
|
|
394
|
+
selectedDisplay.value?.status === "pending" || selectedDisplay.value?.status === "running",
|
|
395
|
+
);
|
|
396
|
+
const selectedActions = computed(() => {
|
|
397
|
+
const invocation = invocationView.value;
|
|
398
|
+
const actions = record(record(detail.invocation.value)?.actions);
|
|
399
|
+
if (!invocation?.agentName || !actions) return;
|
|
400
|
+
const rerun = record(actions.rerun);
|
|
401
|
+
const prompt = stringValue(rerun?.prompt);
|
|
402
|
+
const invokerProfileId = stringValue(rerun?.invokerProfileId);
|
|
403
|
+
return {
|
|
404
|
+
agent: invocation.agentName,
|
|
405
|
+
deletable: record(actions.delete)?.available === true,
|
|
406
|
+
deleteUnavailableReason: stringValue(record(actions.delete)?.reason),
|
|
407
|
+
id: invocation.id,
|
|
408
|
+
rerun: (rerun?.available === true && prompt
|
|
409
|
+
? { available: true, prompt, ...(invokerProfileId ? { invokerProfileId } : {}) }
|
|
410
|
+
: { available: false, reason: stringValue(rerun?.reason) ?? "unavailable" }) satisfies ConsoleSessionRerun,
|
|
411
|
+
};
|
|
412
|
+
});
|
|
413
|
+
const selectedCancel = computed(() => {
|
|
414
|
+
const invocation = invocationView.value;
|
|
415
|
+
const actions = record(record(detail.invocation.value)?.actions);
|
|
416
|
+
if (!invocation || record(actions?.cancel)?.available !== true) return;
|
|
417
|
+
const summary = record(invocation);
|
|
418
|
+
const notEnforcedBy = stringValue(summary?.cancelNotEnforcedBy);
|
|
419
|
+
const cancel: {
|
|
420
|
+
cancelRequested: boolean;
|
|
421
|
+
id: string;
|
|
422
|
+
notEnforcedBy?: string;
|
|
423
|
+
terminal: boolean;
|
|
424
|
+
} = {
|
|
425
|
+
cancelRequested: Boolean(stringValue(summary?.cancelRequestedAt)),
|
|
426
|
+
id: invocation.id,
|
|
427
|
+
terminal: invocation.status !== "pending" && invocation.status !== "running",
|
|
428
|
+
};
|
|
429
|
+
if (notEnforcedBy) cancel.notEnforcedBy = notEnforcedBy;
|
|
430
|
+
return cancel;
|
|
431
|
+
});
|
|
234
432
|
const selectedCost = computed(() => invocationCostDisplay(selectedDisplay.value));
|
|
235
433
|
const selectedTokens = computed(() => invocationTokenDisplay(selectedDisplay.value));
|
|
236
434
|
const selectedTitle = computed(() =>
|
|
@@ -240,31 +438,18 @@ const selectedTitle = computed(() =>
|
|
|
240
438
|
);
|
|
241
439
|
const selectedProject = computed(() =>
|
|
242
440
|
selectedDisplay.value
|
|
243
|
-
?
|
|
244
|
-
: selectedAgentName.value || "
|
|
441
|
+
? selectedDisplay.value.agentName || selectedAgentName.value || ""
|
|
442
|
+
: selectedAgentName.value || "",
|
|
245
443
|
);
|
|
246
444
|
const selectedExternalUrl = computed(() =>
|
|
247
445
|
selectedDisplay.value ? agentInvocationExternalUrl(selectedDisplay.value) : undefined,
|
|
248
446
|
);
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
sizeUnit: "px",
|
|
256
|
-
class: "h-full min-h-0 min-w-0 overflow-hidden",
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
id: "details",
|
|
260
|
-
slot: "details",
|
|
261
|
-
minSize: 360,
|
|
262
|
-
maxSize: 1080,
|
|
263
|
-
defaultSize: 440,
|
|
264
|
-
sizeUnit: "px",
|
|
265
|
-
class: "h-full min-h-0 min-w-0 overflow-hidden",
|
|
266
|
-
},
|
|
267
|
-
];
|
|
447
|
+
|
|
448
|
+
/** Opens or closes the details panel. It opens on the tab of the URL, Invocation by default. */
|
|
449
|
+
function toggleDetails(): void {
|
|
450
|
+
detailsOpen.value = !detailsOpen.value;
|
|
451
|
+
if (detailsOpen.value && !inspectorActiveSurface.value) showInspectorSurface();
|
|
452
|
+
}
|
|
268
453
|
|
|
269
454
|
function selectActivity(id: string): void {
|
|
270
455
|
selectedActivityId.value = undefined;
|
|
@@ -279,44 +464,22 @@ function closeDetails(): void {
|
|
|
279
464
|
detailsMaximized.value = false;
|
|
280
465
|
}
|
|
281
466
|
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
);
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
function showSessions(): void {
|
|
299
|
-
activePage.value = "sessions";
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
async function detectHostCapabilities(): Promise<void> {
|
|
303
|
-
capabilitiesRequest?.abort();
|
|
304
|
-
const controller = new AbortController();
|
|
305
|
-
capabilitiesRequest = controller;
|
|
306
|
-
try {
|
|
307
|
-
const response = await fetch(`${props.hostBase}/api/health`, {
|
|
308
|
-
method: "GET",
|
|
309
|
-
signal: controller.signal,
|
|
310
|
-
});
|
|
311
|
-
const available = response.ok && isConsoleHealth(await response.json());
|
|
312
|
-
if (capabilitiesRequest === controller) healthAvailable.value = available;
|
|
313
|
-
} catch (error) {
|
|
314
|
-
if (error instanceof Object && "name" in error && error.name === "AbortError") return;
|
|
315
|
-
if (capabilitiesRequest === controller) healthAvailable.value = false;
|
|
316
|
-
} finally {
|
|
317
|
-
if (capabilitiesRequest === controller) capabilitiesRequest = undefined;
|
|
318
|
-
}
|
|
319
|
-
}
|
|
467
|
+
// On desktop, the session navbar and the inspector move to another layout when the details panel is maximized or
|
|
468
|
+
// restored. Vue mounts new elements there, so keyboard focus would fall to the page body. Put it back on the same
|
|
469
|
+
// control, on the active inspector tab, or on the details toggle.
|
|
470
|
+
watch([detailsOpen, detailsMaximized], () => {
|
|
471
|
+
const focused = document.activeElement;
|
|
472
|
+
const panel = focused instanceof HTMLElement ? focused.closest(".vitehub-console__session-panel") : null;
|
|
473
|
+
if (!isDesktop.value || !(focused instanceof HTMLElement) || !panel) return;
|
|
474
|
+
const slot = focused.dataset.slot;
|
|
475
|
+
void nextTick(() => {
|
|
476
|
+
if (document.activeElement && document.activeElement !== document.body) return;
|
|
477
|
+
const same = detailsOpen.value && slot ? panel.querySelector(`[data-slot="${CSS.escape(slot)}"]`) : null;
|
|
478
|
+
const tab = detailsOpen.value && slot !== "session-details-toggle" ? panel.querySelector(".session-inspector [aria-selected='true']") : null;
|
|
479
|
+
const target = same ?? tab ?? panel.querySelector("[data-slot='session-details-toggle']");
|
|
480
|
+
if (target instanceof HTMLElement) target.focus();
|
|
481
|
+
});
|
|
482
|
+
});
|
|
320
483
|
|
|
321
484
|
async function loadCapabilityIds(): Promise<void> {
|
|
322
485
|
capabilityIdsRequest?.abort();
|
|
@@ -324,20 +487,30 @@ async function loadCapabilityIds(): Promise<void> {
|
|
|
324
487
|
capabilityIdsRequest = controller;
|
|
325
488
|
capabilitiesLoading.value = true;
|
|
326
489
|
try {
|
|
327
|
-
const value = record(
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
490
|
+
const value = record(
|
|
491
|
+
await requestConsole(props.capabilitiesBase, {
|
|
492
|
+
query: selectedAgentName.value ? { agent: selectedAgentName.value } : undefined,
|
|
493
|
+
signal: controller.signal,
|
|
494
|
+
}),
|
|
495
|
+
);
|
|
331
496
|
const ids = Array.isArray(value?.capabilities)
|
|
332
497
|
? value.capabilities.map(stringValue).filter((id): id is string => Boolean(id?.trim()))
|
|
333
498
|
: [];
|
|
499
|
+
const people = Array.isArray(value?.triggeredBy)
|
|
500
|
+
? value.triggeredBy.map(stringValue).filter((name): name is string => Boolean(name?.trim()))
|
|
501
|
+
: [];
|
|
334
502
|
if (capabilityIdsRequest === controller) {
|
|
335
|
-
capabilityIds.value = [...new Set(ids.map(id => id.trim()))].sort();
|
|
503
|
+
capabilityIds.value = [...new Set(ids.map((id) => id.trim()))].sort();
|
|
504
|
+
triggeredByValues.value = [...new Set(people.map((name) => name.trim()))].sort((left, right) => left.localeCompare(right));
|
|
336
505
|
capabilitiesError.value = undefined;
|
|
337
506
|
if (selectedCapabilityId.value && !capabilityIds.value.includes(selectedCapabilityId.value)) {
|
|
338
507
|
selectedCapabilityId.value = undefined;
|
|
339
508
|
scheduleInvocationListRefresh();
|
|
340
509
|
}
|
|
510
|
+
if (selectedTriggeredBy.value && !triggeredByValues.value.includes(selectedTriggeredBy.value)) {
|
|
511
|
+
selectedTriggeredBy.value = undefined;
|
|
512
|
+
scheduleInvocationListRefresh();
|
|
513
|
+
}
|
|
341
514
|
}
|
|
342
515
|
} catch (error) {
|
|
343
516
|
if (error instanceof Object && "name" in error && error.name === "AbortError") return;
|
|
@@ -357,12 +530,20 @@ function record(value: unknown): Record<string, unknown> | undefined {
|
|
|
357
530
|
}
|
|
358
531
|
|
|
359
532
|
function stringValue(value: unknown): string | undefined {
|
|
360
|
-
// doctor-disable-next-line typescript/strict/no-runtime-typeof -- Host responses are untrusted JSON, so validate strings at the capability boundary.
|
|
361
533
|
return typeof value === "string" ? value : undefined;
|
|
362
534
|
}
|
|
363
535
|
|
|
536
|
+
function capabilityLabel(id: string): string {
|
|
537
|
+
const packageSuffix = id.match(/(?:^|_)s([a-z][a-z0-9-]*)$/i)?.[1];
|
|
538
|
+
const source = packageSuffix || id.split(/[/:]/).at(-1) || id;
|
|
539
|
+
return source
|
|
540
|
+
.replace(/^@/, "")
|
|
541
|
+
.replace(/[_-]+/g, " ")
|
|
542
|
+
.replace(/\b(api|github|mcp|ui)\b/gi, value => value.toLowerCase() === "github" ? "GitHub" : value.toUpperCase())
|
|
543
|
+
.replace(/(^|\s)\p{Ll}/gu, value => value.toUpperCase());
|
|
544
|
+
}
|
|
545
|
+
|
|
364
546
|
function numericValue(value: unknown): number | undefined {
|
|
365
|
-
// doctor-disable-next-line typescript/strict/no-runtime-typeof -- Host responses are untrusted JSON, so validate finite numbers at the capability boundary.
|
|
366
547
|
return typeof value === "number" && Number.isFinite(value) ? value : undefined;
|
|
367
548
|
}
|
|
368
549
|
|
|
@@ -370,9 +551,16 @@ function invocationUsage(value: unknown): Record<string, unknown> | undefined {
|
|
|
370
551
|
return record(record(value)?.usage);
|
|
371
552
|
}
|
|
372
553
|
|
|
554
|
+
// A channel thread ID such as `teams:19:…` repeats what the channel icon shows, so the row leaves it out.
|
|
555
|
+
function invocationListContext(invocation: Parameters<typeof agentInvocationContext>[0]): string | undefined {
|
|
556
|
+
const context = agentInvocationContext(invocation);
|
|
557
|
+
return invocation.channelId && context === invocation.threadId ? undefined : context;
|
|
558
|
+
}
|
|
559
|
+
|
|
373
560
|
function invocationCostDisplay(value: unknown): string | undefined {
|
|
374
561
|
const cost = record(invocationUsage(value)?.cost);
|
|
375
|
-
|
|
562
|
+
const usd = stringValue(cost?.usd);
|
|
563
|
+
return usd ? formatConsoleUsageCost(usd, cost?.estimated === true) : stringValue(cost?.display);
|
|
376
564
|
}
|
|
377
565
|
|
|
378
566
|
function invocationTokenDisplay(value: unknown): string | undefined {
|
|
@@ -405,85 +593,154 @@ function observedConfiguration(
|
|
|
405
593
|
}
|
|
406
594
|
}
|
|
407
595
|
|
|
408
|
-
function errorMessage(error: unknown): string | undefined {
|
|
409
|
-
return error instanceof Error
|
|
410
|
-
? error.message
|
|
411
|
-
: error
|
|
412
|
-
? "The console could not load this data."
|
|
413
|
-
: undefined;
|
|
414
|
-
}
|
|
415
|
-
|
|
416
596
|
async function selectInvocation(
|
|
417
597
|
invocation: Pick<AgentInvocationListItem, "agent" | "id">,
|
|
418
598
|
): Promise<void> {
|
|
419
599
|
const agentName = invocation.agent?.trim() || selectedAgentName.value;
|
|
420
600
|
if (!agentName) return;
|
|
421
|
-
showSessions();
|
|
422
601
|
sessionsOpen.value = false;
|
|
602
|
+
newChatAgentName.value = undefined;
|
|
423
603
|
updateSelectedAgentName(agentName);
|
|
424
604
|
await router.push({
|
|
425
605
|
name: resolveConsoleRouteName(route.name, "vitehub-console-invocation"),
|
|
426
606
|
params: { agent: encodeAgentRouteParam(agentName), invocation: invocation.id },
|
|
607
|
+
query: keptSessionQuery(),
|
|
427
608
|
});
|
|
428
609
|
}
|
|
429
610
|
|
|
611
|
+
async function selectStartedInvocation(invocation: { agent: string; id: string }): Promise<void> {
|
|
612
|
+
await selectInvocation(invocation);
|
|
613
|
+
scheduleInvocationListRefresh();
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
const deletedInvocations = createConsoleInvocationDeletion();
|
|
617
|
+
|
|
618
|
+
async function removeDeletedInvocation(id: string): Promise<void> {
|
|
619
|
+
const agentName = selectedAgentName.value;
|
|
620
|
+
const selected = selectedInvocationId.value === id || routeInvocation.value === id;
|
|
621
|
+
await deletedInvocations.remove(id, {
|
|
622
|
+
clearSelection() {
|
|
623
|
+
if (selected) {
|
|
624
|
+
selectedInvocationId.value = undefined;
|
|
625
|
+
closeDetails();
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
async navigate() {
|
|
629
|
+
if (selected && agentName) {
|
|
630
|
+
await router.replace({
|
|
631
|
+
name: resolveConsoleRouteName(route.name, "vitehub-console-agent"),
|
|
632
|
+
params: { agent: encodeAgentRouteParam(agentName) },
|
|
633
|
+
query: keptSessionQuery({ closeDetails: true }),
|
|
634
|
+
});
|
|
635
|
+
}
|
|
636
|
+
},
|
|
637
|
+
removeFromList() {
|
|
638
|
+
list.invocations.value = deletedInvocations.exclude(list.invocations.value);
|
|
639
|
+
},
|
|
640
|
+
refresh: () => list.refresh().catch(() => undefined),
|
|
641
|
+
});
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
async function startNewChat(): Promise<void> {
|
|
645
|
+
const agentName = newChatTargetName.value;
|
|
646
|
+
if (!agentName) return;
|
|
647
|
+
sessionsOpen.value = false;
|
|
648
|
+
newChatAgentName.value = agentName;
|
|
649
|
+
updateSelectedAgentName(agentName);
|
|
650
|
+
selectedInvocationId.value = undefined;
|
|
651
|
+
closeDetails();
|
|
652
|
+
await router.push({
|
|
653
|
+
name: resolveConsoleRouteName(route.name, "vitehub-console-agent"),
|
|
654
|
+
params: { agent: encodeAgentRouteParam(agentName) },
|
|
655
|
+
query: keptSessionQuery({ closeDetails: true }),
|
|
656
|
+
});
|
|
657
|
+
await nextTick();
|
|
658
|
+
document.querySelector<HTMLTextAreaElement>('textarea[aria-label="Test this Agent"]')?.focus();
|
|
659
|
+
}
|
|
660
|
+
|
|
430
661
|
async function selectAgent(name: string): Promise<void> {
|
|
431
662
|
if (name === selectedAgentName.value) return;
|
|
432
|
-
|
|
663
|
+
newChatAgentName.value = undefined;
|
|
433
664
|
updateSelectedAgentName(name);
|
|
434
665
|
selectedInvocationId.value = undefined;
|
|
435
666
|
selectedCapabilityId.value = undefined;
|
|
667
|
+
selectedTriggeredBy.value = undefined;
|
|
436
668
|
await router.push({
|
|
437
669
|
name: resolveConsoleRouteName(route.name, "vitehub-console-agent"),
|
|
438
670
|
params: { agent: encodeAgentRouteParam(name) },
|
|
439
671
|
});
|
|
440
672
|
}
|
|
441
673
|
|
|
442
|
-
async function
|
|
443
|
-
|
|
444
|
-
selectedCapabilityId.value = capabilityId;
|
|
445
|
-
filterOpen.value = false;
|
|
674
|
+
async function applySessionFilters(): Promise<void> {
|
|
675
|
+
newChatAgentName.value = undefined;
|
|
446
676
|
selectedInvocationId.value = undefined;
|
|
447
677
|
closeDetails();
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
invocation: undefined,
|
|
451
|
-
} satisfies CapabilityFilterRouteTransition;
|
|
452
|
-
pendingCapabilityFilterRouteTransition = transition;
|
|
453
|
-
try {
|
|
454
|
-
await refreshCapabilityFilteredInvocations({
|
|
455
|
-
navigate: () =>
|
|
456
|
-
selectedAgentName.value
|
|
457
|
-
? router.replace({
|
|
458
|
-
name: resolveConsoleRouteName(route.name, "vitehub-console-agent"),
|
|
459
|
-
params: { agent: encodeAgentRouteParam(selectedAgentName.value) },
|
|
460
|
-
})
|
|
461
|
-
: Promise.resolve(),
|
|
462
|
-
refresh: () => list.refresh(),
|
|
463
|
-
});
|
|
464
|
-
} finally {
|
|
465
|
-
if (pendingCapabilityFilterRouteTransition === transition) {
|
|
466
|
-
pendingCapabilityFilterRouteTransition = undefined;
|
|
467
|
-
}
|
|
468
|
-
}
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
async function toggleUsage(): Promise<void> {
|
|
472
|
-
showSessions();
|
|
473
|
-
sessionsOpen.value = false;
|
|
474
|
-
if (isUsageRoute.value) {
|
|
475
|
-
await router.push(
|
|
678
|
+
await refreshCapabilityFilteredInvocations({
|
|
679
|
+
navigate: () =>
|
|
476
680
|
selectedAgentName.value
|
|
477
|
-
? {
|
|
681
|
+
? router.replace({
|
|
478
682
|
name: resolveConsoleRouteName(route.name, "vitehub-console-agent"),
|
|
479
683
|
params: { agent: encodeAgentRouteParam(selectedAgentName.value) },
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
}
|
|
485
|
-
|
|
684
|
+
query: keptSessionQuery({ closeDetails: true }),
|
|
685
|
+
})
|
|
686
|
+
: Promise.resolve(),
|
|
687
|
+
refresh: () => list.refresh(),
|
|
688
|
+
});
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
function selectCapability(capabilityId?: string): void {
|
|
692
|
+
if (selectedCapabilityId.value === capabilityId) return;
|
|
693
|
+
selectedCapabilityId.value = capabilityId;
|
|
694
|
+
void applySessionFilters();
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
function selectTriggeredBy(triggeredBy?: string): void {
|
|
698
|
+
if (selectedTriggeredBy.value === triggeredBy) return;
|
|
699
|
+
selectedTriggeredBy.value = triggeredBy;
|
|
700
|
+
void applySessionFilters();
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
/** Each group holds one value: a checked item replaces the other item of its group, and unchecking clears it. */
|
|
704
|
+
function updateSessionFilters(value: SessionFilterItem | SessionFilterItem[]): void {
|
|
705
|
+
const items = Array.isArray(value) ? value : [value];
|
|
706
|
+
const previous = new Set(selectedSessionFilters.value.map((item) => item.id));
|
|
707
|
+
const added = items.find((item) => !previous.has(item.id));
|
|
708
|
+
if (added?.kind === "capability") return selectCapability(added.value);
|
|
709
|
+
if (added?.kind === "triggeredBy") return selectTriggeredBy(added.value);
|
|
710
|
+
if (selectedCapabilityId.value && !items.some((item) => item.kind === "capability")) selectCapability(undefined);
|
|
711
|
+
if (selectedTriggeredBy.value && !items.some((item) => item.kind === "triggeredBy")) selectTriggeredBy(undefined);
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
function toggleAgentList(): void {
|
|
715
|
+
agentListOpen.value = !agentListOpen.value;
|
|
716
|
+
rememberConsoleAgentListOpen(agentListOpen.value);
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
function clearSessionSearchAndFilters(): void {
|
|
720
|
+
sessionSearch.value = "";
|
|
721
|
+
resetSessionFilters();
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
function resetSessionFilters(): void {
|
|
725
|
+
if (!activeFilterCount.value) return;
|
|
726
|
+
selectedCapabilityId.value = undefined;
|
|
727
|
+
selectedTriggeredBy.value = undefined;
|
|
728
|
+
void applySessionFilters();
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
function loadMoreSessions(): void {
|
|
732
|
+
if (!list.cursor.value || list.isLoadingMore.value || list.loadMoreError.value) return;
|
|
733
|
+
void list.loadMore();
|
|
486
734
|
}
|
|
735
|
+
|
|
736
|
+
// A filtered page can come back empty with a cursor. The list keeps reading, so "No sessions yet" means the end.
|
|
737
|
+
watch(
|
|
738
|
+
() => [invocationItems.value.length, list.cursor.value, list.isLoading.value, list.isLoadingMore.value] as const,
|
|
739
|
+
([count, cursor, loading, loadingMore]) => {
|
|
740
|
+
if (!count && cursor && !loading && !loadingMore) loadMoreSessions();
|
|
741
|
+
},
|
|
742
|
+
);
|
|
743
|
+
|
|
487
744
|
function clearAgentsRetry(): void {
|
|
488
745
|
if (agentsRetry) clearTimeout(agentsRetry);
|
|
489
746
|
agentsRetry = undefined;
|
|
@@ -506,14 +763,29 @@ async function loadAgents(): Promise<void> {
|
|
|
506
763
|
agentsLoading.value = true;
|
|
507
764
|
try {
|
|
508
765
|
const value = record(await requestConsole(props.agentsBase, { signal: controller.signal }));
|
|
509
|
-
const
|
|
510
|
-
? value.agents.filter((name): name is string => {
|
|
511
|
-
// doctor-disable-next-line typescript/strict/no-runtime-typeof -- The console API response is untrusted JSON, so validate every array entry before using it as an Agent identity.
|
|
512
|
-
return typeof name === "string" && Boolean(name.trim());
|
|
513
|
-
})
|
|
514
|
-
: [];
|
|
766
|
+
const catalog = resolveConsoleAgentCatalog(value);
|
|
515
767
|
if (agentsRequest === controller) {
|
|
516
|
-
agentNames.value =
|
|
768
|
+
agentNames.value = catalog.agents;
|
|
769
|
+
historicalAgentNames.value = catalog.historicalAgents;
|
|
770
|
+
const invocation = record(value?.invocation);
|
|
771
|
+
agentInvocationOptions.value = Object.fromEntries(
|
|
772
|
+
agentNames.value.flatMap((name) => {
|
|
773
|
+
const options = record(resolveConsoleAgentInvocationOptions(invocation, name));
|
|
774
|
+
if (!options) return [];
|
|
775
|
+
const profiles = Array.isArray(options.profiles)
|
|
776
|
+
? options.profiles.flatMap((value) => {
|
|
777
|
+
const profile = record(value);
|
|
778
|
+
const id = stringValue(profile?.id)?.trim();
|
|
779
|
+
if (!id) return [];
|
|
780
|
+
const label = stringValue(profile?.label)?.trim();
|
|
781
|
+
const resolved: ConsoleAgentProfile = { id };
|
|
782
|
+
if (label) resolved.label = label;
|
|
783
|
+
return [resolved];
|
|
784
|
+
})
|
|
785
|
+
: [];
|
|
786
|
+
return [[name, { profiles }] as const];
|
|
787
|
+
}),
|
|
788
|
+
);
|
|
517
789
|
agentsError.value = undefined;
|
|
518
790
|
}
|
|
519
791
|
} catch (error) {
|
|
@@ -549,7 +821,6 @@ async function refresh(): Promise<void> {
|
|
|
549
821
|
try {
|
|
550
822
|
const agents = loadAgents();
|
|
551
823
|
await Promise.all([
|
|
552
|
-
detectHostCapabilities(),
|
|
553
824
|
agents,
|
|
554
825
|
isUsageRoute.value ? Promise.resolve() : list.refresh(),
|
|
555
826
|
selectedInvocationId.value ? detail.refresh() : Promise.resolve(),
|
|
@@ -560,25 +831,23 @@ async function refresh(): Promise<void> {
|
|
|
560
831
|
}
|
|
561
832
|
}
|
|
562
833
|
|
|
563
|
-
function inspectSession(target: "agent" | "workspace"): void {
|
|
564
|
-
|
|
565
|
-
const view = "details";
|
|
834
|
+
function inspectSession(target: "agent" | "workspace", path?: string): void {
|
|
835
|
+
const view = target === "agent" ? "details" : "workspace";
|
|
566
836
|
inspectorTab.value = view;
|
|
567
837
|
if (!inspectorOpenViews.value.includes(view)) {
|
|
568
838
|
inspectorOpenViews.value = [...inspectorOpenViews.value, view];
|
|
569
839
|
}
|
|
570
|
-
|
|
840
|
+
if (view === "workspace" && path) {
|
|
841
|
+
if (!inspectorOpenPaths.value.includes(path)) inspectorOpenPaths.value = [...inspectorOpenPaths.value, path];
|
|
842
|
+
inspectorSelectedPath.value = path;
|
|
843
|
+
inspectorActiveSurface.value = `file:${path}`;
|
|
844
|
+
} else {
|
|
845
|
+
inspectorSelectedPath.value = undefined;
|
|
846
|
+
inspectorActiveSurface.value = `view:${view}`;
|
|
847
|
+
}
|
|
571
848
|
detailsOpen.value = true;
|
|
572
849
|
}
|
|
573
850
|
|
|
574
|
-
function statusIcon(status: AgentInvocationListItem["status"]): string {
|
|
575
|
-
if (status === "running") return "i-ph-circle-notch-light";
|
|
576
|
-
if (status === "completed") return "i-ph-check-light";
|
|
577
|
-
if (status === "failed") return "i-ph-x-light";
|
|
578
|
-
if (status === "cancelled") return "i-ph-prohibit-light";
|
|
579
|
-
return "i-ph-clock-light";
|
|
580
|
-
}
|
|
581
|
-
|
|
582
851
|
function updateDesktop(event?: MediaQueryListEvent): void {
|
|
583
852
|
isDesktop.value = event?.matches ?? media?.matches ?? false;
|
|
584
853
|
}
|
|
@@ -602,67 +871,60 @@ function updatePageVisibility(): void {
|
|
|
602
871
|
}
|
|
603
872
|
|
|
604
873
|
watch(
|
|
605
|
-
[
|
|
606
|
-
routeInvocation,
|
|
607
|
-
routeAgent,
|
|
608
|
-
() => list.invocations.value[0],
|
|
609
|
-
selectedAgentName,
|
|
610
|
-
isUsageRoute,
|
|
611
|
-
],
|
|
874
|
+
[routeInvocation, routeAgent, () => list.invocations.value.find(invocation => !deletedInvocations.has(invocation.id)), selectedAgentName, isUsageRoute],
|
|
612
875
|
async (
|
|
613
876
|
[requestedInvocation, requestedAgent, firstInvocation, agentName, usageRoute],
|
|
614
|
-
previous,
|
|
615
877
|
) => {
|
|
878
|
+
if (requestedInvocation && deletedInvocations.has(requestedInvocation)) {
|
|
879
|
+
selectedInvocationId.value = undefined;
|
|
880
|
+
return;
|
|
881
|
+
}
|
|
616
882
|
if (usageRoute) {
|
|
883
|
+
newChatAgentName.value = undefined;
|
|
617
884
|
initialBootstrapPending.value = false;
|
|
618
885
|
selectedInvocationId.value = undefined;
|
|
619
886
|
return;
|
|
620
887
|
}
|
|
621
|
-
|
|
622
|
-
!previous || requestedInvocation !== previous[0] || requestedAgent !== previous[1];
|
|
623
|
-
const preserveCapabilityFilter = routeChanged && isCapabilityFilterRouteTransition(
|
|
624
|
-
pendingCapabilityFilterRouteTransition,
|
|
625
|
-
{ agent: requestedAgent, invocation: requestedInvocation },
|
|
626
|
-
);
|
|
627
|
-
if (routeChanged) pendingCapabilityFilterRouteTransition = undefined;
|
|
628
|
-
const filterReset = resetCapabilityFilterForRouteTransition({
|
|
629
|
-
preserve: preserveCapabilityFilter,
|
|
630
|
-
routeChanged,
|
|
631
|
-
scheduleRefresh: scheduleInvocationListRefresh,
|
|
632
|
-
selectedCapabilityId,
|
|
633
|
-
});
|
|
634
|
-
const availableFirstInvocation = filterReset ? undefined : firstInvocation;
|
|
888
|
+
if (requestedInvocation) newChatAgentName.value = undefined;
|
|
635
889
|
if (requestedInvocation || requestedAgent) {
|
|
636
890
|
initialBootstrapPending.value = false;
|
|
637
|
-
if (routeChanged) showSessions();
|
|
638
891
|
}
|
|
639
892
|
if (!requestedAgent && !agentName) {
|
|
640
|
-
if (!
|
|
641
|
-
if (!
|
|
893
|
+
if (!firstInvocation) return;
|
|
894
|
+
if (!firstInvocation.agentName) {
|
|
642
895
|
initialBootstrapPending.value = false;
|
|
643
896
|
return;
|
|
644
897
|
}
|
|
645
|
-
selectedInvocationId.value =
|
|
898
|
+
selectedInvocationId.value = firstInvocation.id;
|
|
646
899
|
try {
|
|
647
900
|
await router.replace({
|
|
648
901
|
name: resolveConsoleRouteName(route.name, "vitehub-console-invocation"),
|
|
649
902
|
params: {
|
|
650
|
-
agent: encodeAgentRouteParam(
|
|
651
|
-
invocation:
|
|
903
|
+
agent: encodeAgentRouteParam(firstInvocation.agentName),
|
|
904
|
+
invocation: firstInvocation.id,
|
|
652
905
|
},
|
|
906
|
+
query: currentSessionQuery(),
|
|
653
907
|
});
|
|
654
908
|
} finally {
|
|
655
909
|
initialBootstrapPending.value = false;
|
|
656
910
|
}
|
|
657
911
|
return;
|
|
658
912
|
}
|
|
913
|
+
if (!requestedInvocation && requestedAgent && requestedAgent === newChatAgentName.value) {
|
|
914
|
+
selectedInvocationId.value = undefined;
|
|
915
|
+
return;
|
|
916
|
+
}
|
|
659
917
|
const agentRouteReady = !requestedAgent || requestedAgent === agentName;
|
|
660
918
|
selectedInvocationId.value =
|
|
661
|
-
requestedInvocation || (agentRouteReady ?
|
|
662
|
-
if (!requestedInvocation &&
|
|
919
|
+
requestedInvocation || (agentRouteReady ? firstInvocation?.id : undefined);
|
|
920
|
+
if (!requestedInvocation && firstInvocation?.id && agentName && agentRouteReady) {
|
|
663
921
|
await router.replace({
|
|
664
922
|
name: resolveConsoleRouteName(route.name, "vitehub-console-invocation"),
|
|
665
|
-
params: {
|
|
923
|
+
params: {
|
|
924
|
+
agent: encodeAgentRouteParam(agentName),
|
|
925
|
+
invocation: firstInvocation.id,
|
|
926
|
+
},
|
|
927
|
+
query: currentSessionQuery(),
|
|
666
928
|
});
|
|
667
929
|
}
|
|
668
930
|
},
|
|
@@ -670,7 +932,7 @@ watch(
|
|
|
670
932
|
);
|
|
671
933
|
|
|
672
934
|
watch(
|
|
673
|
-
[routeAgent,
|
|
935
|
+
[routeAgent, sessionAgentNames, isUsageRoute, initialBootstrapPending],
|
|
674
936
|
async ([requestedAgent, names, usageRoute, bootstrapPending]) => {
|
|
675
937
|
if (usageRoute) return;
|
|
676
938
|
if (!names.length) return;
|
|
@@ -687,24 +949,22 @@ watch(
|
|
|
687
949
|
await router.replace({
|
|
688
950
|
name: resolveConsoleRouteName(route.name, "vitehub-console-agent"),
|
|
689
951
|
params: { agent: encodeAgentRouteParam(agentName) },
|
|
952
|
+
query: currentSessionQuery(),
|
|
690
953
|
});
|
|
691
954
|
}
|
|
692
955
|
},
|
|
693
956
|
{ immediate: true },
|
|
694
957
|
);
|
|
695
958
|
|
|
696
|
-
watch(
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
}
|
|
706
|
-
},
|
|
707
|
-
);
|
|
959
|
+
watch([() => list.isLoading.value, () => list.error.value], ([loading, error]) => {
|
|
960
|
+
if (
|
|
961
|
+
initialBootstrapPending.value &&
|
|
962
|
+
!loading &&
|
|
963
|
+
(Boolean(error) || list.invocations.value.length === 0)
|
|
964
|
+
) {
|
|
965
|
+
initialBootstrapPending.value = false;
|
|
966
|
+
}
|
|
967
|
+
});
|
|
708
968
|
|
|
709
969
|
watch(
|
|
710
970
|
[selectedAgentName, () => detail.invocation.value, isUsageRoute],
|
|
@@ -721,6 +981,7 @@ watch(
|
|
|
721
981
|
await router.replace({
|
|
722
982
|
name: resolveConsoleRouteName(route.name, "vitehub-console-agent"),
|
|
723
983
|
params: { agent: encodeAgentRouteParam(agentName) },
|
|
984
|
+
query: keptSessionQuery({ closeDetails: true }),
|
|
724
985
|
});
|
|
725
986
|
},
|
|
726
987
|
);
|
|
@@ -729,12 +990,12 @@ watch(selectedInvocationId, () => {
|
|
|
729
990
|
selectedActivityId.value = undefined;
|
|
730
991
|
selectedDetailStatus.value = undefined;
|
|
731
992
|
const identity = selectedInvocationId.value
|
|
732
|
-
? `${props.
|
|
993
|
+
? `${props.apiBase}/${selectedInvocationId.value}`
|
|
733
994
|
: undefined;
|
|
734
995
|
if (identity !== inspectorWorkspaceIdentity.value) {
|
|
996
|
+
// A new session's URL omits the file. Back and Forward can restore one from the destination session.
|
|
997
|
+
inspectorOpenPaths.value = inspectorSelectedPath.value ? [inspectorSelectedPath.value] : [];
|
|
735
998
|
inspectorWorkspaceIdentity.value = identity;
|
|
736
|
-
inspectorSelectedPath.value = undefined;
|
|
737
|
-
inspectorOpenPaths.value = [];
|
|
738
999
|
}
|
|
739
1000
|
});
|
|
740
1001
|
|
|
@@ -759,9 +1020,14 @@ watch(
|
|
|
759
1020
|
{ immediate: true },
|
|
760
1021
|
);
|
|
761
1022
|
|
|
762
|
-
watch(
|
|
763
|
-
|
|
764
|
-
|
|
1023
|
+
watch(
|
|
1024
|
+
selectedAgentName,
|
|
1025
|
+
() => {
|
|
1026
|
+
// Filter values scan every Invocation of the Agent. Load them for the open menu or to validate an active filter.
|
|
1027
|
+
if (filterOpen.value || selectedCapabilityId.value || selectedTriggeredBy.value) void loadCapabilityIds();
|
|
1028
|
+
},
|
|
1029
|
+
{ immediate: true },
|
|
1030
|
+
);
|
|
765
1031
|
|
|
766
1032
|
watch(filterOpen, (open) => {
|
|
767
1033
|
if (open) void loadCapabilityIds();
|
|
@@ -772,16 +1038,13 @@ if (pageVisible.value) void loadAgents();
|
|
|
772
1038
|
onMounted(() => {
|
|
773
1039
|
media = window.matchMedia("(min-width: 981px)");
|
|
774
1040
|
updateDesktop();
|
|
775
|
-
detailsOpen.value = isDesktop.value;
|
|
776
1041
|
media.addEventListener("change", updateDesktop);
|
|
777
1042
|
document.addEventListener("visibilitychange", updatePageVisibility);
|
|
778
1043
|
updatePageVisibility();
|
|
779
|
-
void detectHostCapabilities();
|
|
780
1044
|
});
|
|
781
1045
|
|
|
782
1046
|
onBeforeUnmount(() => {
|
|
783
1047
|
agentsRequest?.abort();
|
|
784
|
-
capabilitiesRequest?.abort();
|
|
785
1048
|
capabilityIdsRequest?.abort();
|
|
786
1049
|
clearAgentsRetry();
|
|
787
1050
|
if (clock) clearInterval(clock);
|
|
@@ -791,526 +1054,405 @@ onBeforeUnmount(() => {
|
|
|
791
1054
|
</script>
|
|
792
1055
|
|
|
793
1056
|
<template>
|
|
794
|
-
<ConsoleFrame>
|
|
795
1057
|
<UDashboardSidebar
|
|
1058
|
+
v-if="!isUsageRoute"
|
|
796
1059
|
id="agent-sessions"
|
|
797
1060
|
class="vitehub-console__sessions"
|
|
798
1061
|
v-model:open="sessionsOpen"
|
|
799
|
-
v-model:collapsed="sessionsCollapsed"
|
|
800
1062
|
:default-size="16"
|
|
801
|
-
:collapsed-size="3"
|
|
802
1063
|
:min-size="13"
|
|
803
1064
|
:max-size="26"
|
|
804
1065
|
:menu="{ title: 'Agent sessions', description: 'Browse read-only Agent Invocations.' }"
|
|
805
1066
|
:ui="{
|
|
806
1067
|
root: 'md:flex',
|
|
1068
|
+
header: 'p-0',
|
|
807
1069
|
body: 'gap-0 overflow-hidden p-0',
|
|
808
|
-
|
|
809
|
-
content: 'md:hidden',
|
|
1070
|
+
content: 'md:hidden w-[calc(100vw-0.75rem)] max-w-none',
|
|
810
1071
|
overlay: 'md:hidden',
|
|
811
1072
|
}"
|
|
812
|
-
collapsible
|
|
813
1073
|
resizable
|
|
814
1074
|
>
|
|
815
|
-
<template #header
|
|
816
|
-
<
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
<template #default="{ collapsed }">
|
|
820
|
-
<div v-if="hasMultipleAgents" class="px-2 pb-2 pt-1">
|
|
821
|
-
<UDropdownMenu
|
|
822
|
-
:items="agentMenuItems"
|
|
823
|
-
:content="{ align: 'start', collisionPadding: 12 }"
|
|
824
|
-
:ui="{ content: collapsed ? 'w-44' : 'w-(--reka-dropdown-menu-trigger-width)' }"
|
|
825
|
-
>
|
|
1075
|
+
<template #header>
|
|
1076
|
+
<div class="vitehub-console__panel-title mx-2 min-w-0 flex-1">
|
|
1077
|
+
<span class="min-w-0 flex-1 truncate">Agents</span>
|
|
1078
|
+
<UTooltip v-if="newChatTargetName" text="New chat">
|
|
826
1079
|
<UButton
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
:label="collapsed ? undefined : selectedAgentLabel"
|
|
832
|
-
:trailing-icon="
|
|
833
|
-
!collapsed && hasMultipleAgents ? 'i-ph-caret-up-down-light' : undefined
|
|
834
|
-
"
|
|
1080
|
+
aria-label="New chat"
|
|
1081
|
+
icon="i-lucide-square-pen"
|
|
1082
|
+
size="xs"
|
|
1083
|
+
square
|
|
835
1084
|
variant="ghost"
|
|
836
|
-
|
|
837
|
-
hasMultipleAgents
|
|
838
|
-
? `Switch Agent. ${selectedAgentLabel} selected.`
|
|
839
|
-
: selectedAgentLabel
|
|
840
|
-
"
|
|
1085
|
+
@click="startNewChat"
|
|
841
1086
|
/>
|
|
842
|
-
</
|
|
843
|
-
</div>
|
|
844
|
-
<div v-if="!collapsed && errorMessage(agentsError)" class="px-3 pb-3">
|
|
845
|
-
<UAlert
|
|
846
|
-
color="error"
|
|
847
|
-
variant="subtle"
|
|
848
|
-
icon="i-ph-cloud-slash-light"
|
|
849
|
-
title="Could not load agents"
|
|
850
|
-
:description="errorMessage(agentsError)"
|
|
851
|
-
:actions="[
|
|
852
|
-
{ label: 'Try again', icon: 'i-ph-arrows-clockwise-light', onClick: loadAgents },
|
|
853
|
-
]"
|
|
854
|
-
/>
|
|
855
|
-
</div>
|
|
856
|
-
<div class="flex shrink-0 items-center gap-1 px-2 pb-2 pt-1">
|
|
857
|
-
<UDashboardSearchButton
|
|
858
|
-
:collapsed="collapsed"
|
|
859
|
-
block
|
|
860
|
-
class="vitehub-console__search min-w-0 flex-1 bg-transparent ring-0 hover:bg-elevated/60"
|
|
861
|
-
label="Search console"
|
|
862
|
-
:ui="{ trailing: 'vitehub-console__search-shortcut' }"
|
|
863
|
-
/>
|
|
1087
|
+
</UTooltip>
|
|
864
1088
|
<UPopover
|
|
865
|
-
v-if="!
|
|
1089
|
+
v-if="!sessionsPanelError"
|
|
866
1090
|
v-model:open="filterOpen"
|
|
867
|
-
:content="{ align: '
|
|
868
|
-
:ui="{ content: 'w-
|
|
1091
|
+
:content="{ align: 'end', collisionPadding: 12 }"
|
|
1092
|
+
:ui="{ content: 'w-72 max-w-[calc(100vw-1.5rem)] overflow-hidden p-0' }"
|
|
869
1093
|
>
|
|
1094
|
+
<!-- A dot on the funnel marks active filters; the Sessions label says how many. -->
|
|
870
1095
|
<UButton
|
|
871
|
-
aria-label="Filter sessions"
|
|
872
|
-
|
|
873
|
-
icon="i-ph-funnel-light"
|
|
1096
|
+
:aria-label="activeFilterCount ? `Filter sessions, ${activeFilterCount} active` : 'Filter sessions'"
|
|
1097
|
+
size="xs"
|
|
874
1098
|
square
|
|
875
|
-
|
|
876
|
-
|
|
1099
|
+
variant="ghost"
|
|
1100
|
+
>
|
|
1101
|
+
<UChip as="span" :show="activeFilterCount > 0" color="neutral" size="sm">
|
|
1102
|
+
<Icon name="i-lucide-funnel" class="size-4" />
|
|
1103
|
+
</UChip>
|
|
1104
|
+
</UButton>
|
|
877
1105
|
<template #content>
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
<p class="text-sm font-medium">Filter sessions</p>
|
|
882
|
-
<p class="text-xs text-muted">Capability actually used</p>
|
|
883
|
-
</div>
|
|
884
|
-
<UBadge v-if="selectedCapabilityId" color="primary" size="sm" variant="subtle">1</UBadge>
|
|
885
|
-
</div>
|
|
1106
|
+
<!-- A select panel like GitHub's filters: search, then one checked value per group. -->
|
|
1107
|
+
<div class="flex h-10 items-center gap-2 border-b border-default ps-3 pe-1.5">
|
|
1108
|
+
<p class="min-w-0 flex-1 truncate text-sm font-medium text-highlighted">Filter sessions</p>
|
|
886
1109
|
<UButton
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
label="All capabilities"
|
|
891
|
-
:trailing-icon="!selectedCapabilityId ? 'i-ph-check-light' : undefined"
|
|
1110
|
+
v-if="activeFilterCount"
|
|
1111
|
+
label="Clear"
|
|
1112
|
+
size="xs"
|
|
892
1113
|
variant="ghost"
|
|
893
|
-
@click="
|
|
1114
|
+
@click="resetSessionFilters"
|
|
894
1115
|
/>
|
|
895
|
-
<USeparator />
|
|
896
|
-
<div
|
|
897
|
-
v-if="capabilitiesLoading"
|
|
898
|
-
class="grid gap-2 px-2 py-2"
|
|
899
|
-
aria-label="Loading capabilities"
|
|
900
|
-
role="status"
|
|
901
|
-
>
|
|
902
|
-
<USkeleton v-for="index in 3" :key="index" class="h-7 rounded" />
|
|
903
|
-
</div>
|
|
904
|
-
<p v-else-if="errorMessage(capabilitiesError)" class="px-2 py-2 text-xs text-error">
|
|
905
|
-
{{ errorMessage(capabilitiesError) }}
|
|
906
|
-
</p>
|
|
907
|
-
<p v-else-if="!capabilityIds.length" class="px-2 py-2 text-xs text-muted">
|
|
908
|
-
No capability use recorded yet.
|
|
909
|
-
</p>
|
|
910
|
-
<template v-else>
|
|
911
|
-
<UButton
|
|
912
|
-
v-for="capabilityId in capabilityIds"
|
|
913
|
-
:key="capabilityId"
|
|
914
|
-
block
|
|
915
|
-
class="justify-start font-mono"
|
|
916
|
-
color="neutral"
|
|
917
|
-
:label="capabilityId"
|
|
918
|
-
:trailing-icon="selectedCapabilityId === capabilityId ? 'i-ph-check-light' : undefined"
|
|
919
|
-
variant="ghost"
|
|
920
|
-
@click="selectCapability(capabilityId)"
|
|
921
|
-
/>
|
|
922
|
-
</template>
|
|
923
|
-
<p
|
|
924
|
-
v-if="selectedCapabilityId"
|
|
925
|
-
class="truncate px-2 pt-1 text-xs text-muted"
|
|
926
|
-
:title="capabilityFilterLabel"
|
|
927
|
-
>
|
|
928
|
-
{{ capabilityFilterLabel }}
|
|
929
|
-
</p>
|
|
930
1116
|
</div>
|
|
1117
|
+
<div
|
|
1118
|
+
v-if="capabilitiesLoading"
|
|
1119
|
+
class="grid gap-1 p-2"
|
|
1120
|
+
aria-label="Loading session filters"
|
|
1121
|
+
role="status"
|
|
1122
|
+
>
|
|
1123
|
+
<USkeleton v-for="index in 4" :key="index" class="h-7" />
|
|
1124
|
+
</div>
|
|
1125
|
+
<div v-else-if="capabilitiesError" class="p-2">
|
|
1126
|
+
<ConsoleState compact :error="capabilitiesError" title="Could not load session filters" :retry="loadCapabilityIds" />
|
|
1127
|
+
</div>
|
|
1128
|
+
<UEmpty
|
|
1129
|
+
v-else-if="!sessionFilterGroups.length"
|
|
1130
|
+
variant="naked"
|
|
1131
|
+
size="xs"
|
|
1132
|
+
icon="i-lucide-list-filter"
|
|
1133
|
+
title="No filter values yet"
|
|
1134
|
+
description="Sessions record their Capabilities and who triggered them."
|
|
1135
|
+
/>
|
|
1136
|
+
<UCommandPalette
|
|
1137
|
+
v-else
|
|
1138
|
+
by="id"
|
|
1139
|
+
:close="false"
|
|
1140
|
+
:groups="sessionFilterGroups"
|
|
1141
|
+
:model-value="selectedSessionFilters"
|
|
1142
|
+
multiple
|
|
1143
|
+
placeholder="Filter values…"
|
|
1144
|
+
selected-icon="i-lucide-check"
|
|
1145
|
+
size="sm"
|
|
1146
|
+
:ui="{ content: 'max-h-72' }"
|
|
1147
|
+
@update:model-value="updateSessionFilters"
|
|
1148
|
+
/>
|
|
931
1149
|
</template>
|
|
932
1150
|
</UPopover>
|
|
933
1151
|
</div>
|
|
1152
|
+
</template>
|
|
1153
|
+
|
|
1154
|
+
<template #default>
|
|
1155
|
+
<!-- A failure that covers the whole panel shows once, in the main area. -->
|
|
1156
|
+
<template v-if="!sessionsPanelError">
|
|
1157
|
+
<div v-if="!connectionUnavailable && agentsError" class="px-2 pb-3">
|
|
1158
|
+
<ConsoleState compact :error="agentsError" title="Could not load Agents" :retry="loadAgents" />
|
|
1159
|
+
</div>
|
|
1160
|
+
<section v-if="hasMultipleAgents" class="vitehub-console__agents shrink-0 px-1.5 pb-2">
|
|
1161
|
+
<h2 class="m-0">
|
|
1162
|
+
<UButton
|
|
1163
|
+
class="vitehub-console__section-toggle"
|
|
1164
|
+
data-focus-inset
|
|
1165
|
+
aria-controls="vitehub-console-agent-list"
|
|
1166
|
+
:aria-expanded="agentListOpen"
|
|
1167
|
+
block
|
|
1168
|
+
size="xs"
|
|
1169
|
+
trailing-icon="i-lucide-chevron-right"
|
|
1170
|
+
variant="ghost"
|
|
1171
|
+
@click="toggleAgentList"
|
|
1172
|
+
>
|
|
1173
|
+
<span>Agents</span>
|
|
1174
|
+
<span class="vitehub-console__section-count">{{ agentNames.length }}</span>
|
|
1175
|
+
</UButton>
|
|
1176
|
+
</h2>
|
|
1177
|
+
<ul
|
|
1178
|
+
v-show="agentListOpen"
|
|
1179
|
+
id="vitehub-console-agent-list"
|
|
1180
|
+
class="grid max-h-48 gap-px overflow-y-auto"
|
|
1181
|
+
aria-label="Agents"
|
|
1182
|
+
>
|
|
1183
|
+
<li v-for="name in agentRows.visible" :key="name">
|
|
1184
|
+
<button
|
|
1185
|
+
type="button"
|
|
1186
|
+
class="vitehub-console__agent-row"
|
|
1187
|
+
data-focus-inset
|
|
1188
|
+
:aria-current="name === selectedAgentName ? 'true' : undefined"
|
|
1189
|
+
:title="name"
|
|
1190
|
+
@click="selectAgent(name)"
|
|
1191
|
+
>
|
|
1192
|
+
<span class="vitehub-console__agent-dot" aria-hidden="true" />
|
|
1193
|
+
<span class="min-w-0 flex-1 truncate">{{ name }}</span>
|
|
1194
|
+
</button>
|
|
1195
|
+
</li>
|
|
1196
|
+
<li v-if="agentRows.hidden">
|
|
1197
|
+
<button
|
|
1198
|
+
type="button"
|
|
1199
|
+
class="vitehub-console__agent-row vitehub-console__agent-more"
|
|
1200
|
+
data-focus-inset
|
|
1201
|
+
@click="showAllAgents = true"
|
|
1202
|
+
>
|
|
1203
|
+
<span class="vitehub-console__agent-dot invisible" aria-hidden="true" />
|
|
1204
|
+
<span>Show {{ agentRows.hidden }} more</span>
|
|
1205
|
+
</button>
|
|
1206
|
+
</li>
|
|
1207
|
+
</ul>
|
|
1208
|
+
</section>
|
|
1209
|
+
<h2 v-if="!connectionUnavailable || invocationItems.length" class="vitehub-console__section-label vitehub-console__sessions-label m-0 shrink-0">
|
|
1210
|
+
<span>Sessions</span>
|
|
1211
|
+
<span v-if="selectedAgentName" class="vitehub-console__sessions-agent" :title="selectedAgentName">{{
|
|
1212
|
+
selectedAgentName
|
|
1213
|
+
}}</span>
|
|
1214
|
+
<span v-if="activeFilterCount" class="vitehub-console__section-count">{{
|
|
1215
|
+
activeFilterCount === 1 ? "1 filter" : `${activeFilterCount} filters`
|
|
1216
|
+
}}</span>
|
|
1217
|
+
</h2>
|
|
1218
|
+
<div v-if="list.invocations.value.length || sessionSearch" class="shrink-0 px-2 pb-1.5">
|
|
1219
|
+
<UInput
|
|
1220
|
+
v-model="sessionSearch"
|
|
1221
|
+
class="w-full"
|
|
1222
|
+
icon="i-lucide-search"
|
|
1223
|
+
placeholder="Search sessions…"
|
|
1224
|
+
aria-label="Search sessions by title or ID"
|
|
1225
|
+
/>
|
|
1226
|
+
</div>
|
|
934
1227
|
<div
|
|
935
|
-
v-if="!
|
|
936
|
-
class="px-
|
|
1228
|
+
v-if="(!connectionUnavailable && list.error.value) || list.loadMoreError.value"
|
|
1229
|
+
class="px-2"
|
|
937
1230
|
>
|
|
938
|
-
<
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
icon="i-ph-cloud-slash-light"
|
|
1231
|
+
<ConsoleState
|
|
1232
|
+
compact
|
|
1233
|
+
:error="(!connectionUnavailable && list.error.value) || list.loadMoreError.value"
|
|
942
1234
|
title="Could not load sessions"
|
|
943
|
-
:
|
|
944
|
-
:actions="
|
|
945
|
-
list.error.value
|
|
946
|
-
? [{ label: 'Try again', icon: 'i-ph-arrows-clockwise-light', onClick: list.refresh }]
|
|
947
|
-
: undefined
|
|
948
|
-
"
|
|
1235
|
+
:retry="!connectionUnavailable && list.error.value ? list.refresh : undefined"
|
|
949
1236
|
/>
|
|
950
1237
|
<UButton
|
|
951
|
-
v-if="
|
|
1238
|
+
v-if="list.cursor.value && list.loadMoreError.value"
|
|
952
1239
|
class="mt-2"
|
|
953
|
-
color="neutral"
|
|
954
1240
|
label="Retry loading older sessions"
|
|
955
|
-
|
|
956
|
-
variant="soft"
|
|
1241
|
+
variant="outline"
|
|
957
1242
|
:loading="list.isLoadingMore.value"
|
|
958
1243
|
@click="list.loadMore"
|
|
959
1244
|
/>
|
|
960
1245
|
</div>
|
|
961
1246
|
<div
|
|
962
|
-
v-if="
|
|
963
|
-
!collapsed && (agentsLoading || list.isLoading.value) && !invocationItems.length
|
|
964
|
-
"
|
|
1247
|
+
v-if="!connectionUnavailable && (agentsLoading || list.isLoading.value || (list.cursor.value && !list.loadMoreError.value)) && !invocationItems.length"
|
|
965
1248
|
class="grid gap-1 px-2"
|
|
966
1249
|
aria-label="Loading sessions"
|
|
967
1250
|
role="status"
|
|
968
1251
|
>
|
|
969
1252
|
<div
|
|
970
|
-
v-for="index in 6"
|
|
971
|
-
:key="index"
|
|
972
1253
|
class="grid grid-cols-[1rem_minmax(0,1fr)] gap-x-2 gap-y-2 rounded-md px-2 py-2.5"
|
|
973
1254
|
>
|
|
974
|
-
<USkeleton class="mt-0.5 size-4
|
|
1255
|
+
<USkeleton class="mt-0.5 size-4" />
|
|
975
1256
|
<div class="grid min-w-0 gap-2">
|
|
976
1257
|
<div class="flex items-center justify-between gap-3">
|
|
977
|
-
<USkeleton class="h-3 w-16
|
|
978
|
-
<USkeleton class="h-3 w-14
|
|
1258
|
+
<USkeleton class="h-3 w-16" />
|
|
1259
|
+
<USkeleton class="h-3 w-14" />
|
|
979
1260
|
</div>
|
|
980
|
-
<USkeleton class="h-4
|
|
981
|
-
<USkeleton class="h-3 w-2/3
|
|
1261
|
+
<USkeleton class="h-4 w-full" />
|
|
1262
|
+
<USkeleton class="h-3 w-2/3" />
|
|
982
1263
|
</div>
|
|
983
1264
|
</div>
|
|
984
1265
|
</div>
|
|
985
|
-
<div v-if="collapsed" class="min-h-0 flex-1 overflow-y-auto">
|
|
986
|
-
<div class="grid gap-1 px-2 py-1">
|
|
987
|
-
<UTooltip
|
|
988
|
-
v-for="invocation in invocationItems"
|
|
989
|
-
:key="invocation.id"
|
|
990
|
-
:text="invocation.title"
|
|
991
|
-
:content="{ side: 'right' }"
|
|
992
|
-
><UButton
|
|
993
|
-
:icon="statusIcon(invocation.status)"
|
|
994
|
-
:color="invocation.status === 'failed' ? 'error' : 'neutral'"
|
|
995
|
-
:variant="selectedInvocationId === invocation.id ? 'soft' : 'ghost'"
|
|
996
|
-
block
|
|
997
|
-
:aria-label="invocation.title"
|
|
998
|
-
@click="selectInvocation(invocation)"
|
|
999
|
-
/></UTooltip>
|
|
1000
|
-
</div>
|
|
1001
|
-
</div>
|
|
1002
1266
|
<AgentInvocationList
|
|
1003
|
-
v-
|
|
1267
|
+
v-if="
|
|
1004
1268
|
(!list.isLoading.value || invocationItems.length) &&
|
|
1005
|
-
(!
|
|
1269
|
+
(!list.error.value || invocationItems.length) &&
|
|
1270
|
+
(!list.cursor.value || invocationItems.length)
|
|
1006
1271
|
"
|
|
1007
|
-
class="min-h-0 flex-1 px-1 pb-3"
|
|
1272
|
+
class="vitehub-console__session-list min-h-0 flex-1 px-1.5 pb-3"
|
|
1008
1273
|
:continuation-key="list.cursor.value"
|
|
1009
1274
|
:has-more="Boolean(list.cursor.value)"
|
|
1010
1275
|
:items="invocationItems"
|
|
1011
1276
|
:loading="list.isLoading.value || list.isLoadingMore.value"
|
|
1012
|
-
|
|
1277
|
+
group-by="recency"
|
|
1013
1278
|
:now="nowMs"
|
|
1014
1279
|
:selected-id="selectedInvocationId"
|
|
1280
|
+
@end-reached="loadMoreSessions"
|
|
1015
1281
|
@select="selectInvocation($event)"
|
|
1016
1282
|
>
|
|
1017
1283
|
<template #loading />
|
|
1018
1284
|
<template #footer>
|
|
1019
|
-
<div v-if="list.cursor.value" class="flex justify-center px-2 py-3">
|
|
1285
|
+
<div v-if="list.cursor.value && invocationItems.length" class="flex justify-center px-2 py-3">
|
|
1020
1286
|
<UButton
|
|
1021
|
-
color="neutral"
|
|
1022
1287
|
label="Load older sessions"
|
|
1023
1288
|
size="xs"
|
|
1024
|
-
variant="
|
|
1289
|
+
variant="ghost"
|
|
1025
1290
|
:loading="list.isLoadingMore.value"
|
|
1026
|
-
@click="
|
|
1291
|
+
@click="loadMoreSessions"
|
|
1027
1292
|
/>
|
|
1028
1293
|
</div>
|
|
1029
1294
|
</template>
|
|
1030
1295
|
<template #empty
|
|
1031
1296
|
><UEmpty
|
|
1297
|
+
v-if="activeFilterCount || sessionSearch.trim()"
|
|
1032
1298
|
class="px-4"
|
|
1033
|
-
icon="i-
|
|
1299
|
+
icon="i-lucide-message-square-more"
|
|
1300
|
+
title="No matching sessions"
|
|
1301
|
+
:actions="[{ label: 'Clear filters', onClick: clearSessionSearchAndFilters }]" /><ConsoleState
|
|
1302
|
+
v-else
|
|
1303
|
+
section="agents"
|
|
1304
|
+
icon="i-lucide-message-square-more"
|
|
1034
1305
|
title="No sessions yet"
|
|
1035
|
-
description="
|
|
1306
|
+
description="Invoke an Agent from your app or from this Console. Its session appears here."
|
|
1036
1307
|
/></template>
|
|
1037
1308
|
</AgentInvocationList>
|
|
1309
|
+
</template>
|
|
1038
1310
|
</template>
|
|
1039
1311
|
|
|
1040
|
-
<template #footer="{ collapsed, collapse }">
|
|
1041
|
-
<div class="flex min-w-0 items-center gap-1" :class="collapsed ? 'justify-center' : ''">
|
|
1042
|
-
<ConsolePrimitiveSwitcher
|
|
1043
|
-
:active="isUsageRoute ? 'usage' : 'agents'"
|
|
1044
|
-
:collapsed="collapsed"
|
|
1045
|
-
:exclude="['usage']"
|
|
1046
|
-
:sections-base="sectionsBase"
|
|
1047
|
-
/>
|
|
1048
|
-
<UTooltip
|
|
1049
|
-
v-if="healthAvailable || activePage === 'health'"
|
|
1050
|
-
:text="activePage === 'health' ? 'Back to sessions' : 'Health'"
|
|
1051
|
-
>
|
|
1052
|
-
<UButton
|
|
1053
|
-
:icon="activePage === 'health' ? 'i-lucide-arrow-left' : 'i-lucide-heart-pulse'"
|
|
1054
|
-
color="neutral"
|
|
1055
|
-
:variant="activePage === 'health' ? 'soft' : 'ghost'"
|
|
1056
|
-
size="xs"
|
|
1057
|
-
:aria-label="activePage === 'health' ? 'Back to sessions' : 'Health'"
|
|
1058
|
-
@click="activePage === 'health' ? showSessions() : void showHealth()"
|
|
1059
|
-
/>
|
|
1060
|
-
</UTooltip>
|
|
1061
|
-
<UTooltip :text="isUsageRoute ? 'Back to sessions' : 'Usage'">
|
|
1062
|
-
<UButton
|
|
1063
|
-
:block="!collapsed"
|
|
1064
|
-
:class="collapsed ? '' : 'min-w-0 flex-1 justify-start'"
|
|
1065
|
-
:icon="isUsageRoute ? 'i-lucide-arrow-left' : 'i-lucide-chart-no-axes-column'"
|
|
1066
|
-
:label="collapsed ? undefined : isUsageRoute ? 'Sessions' : 'Usage'"
|
|
1067
|
-
color="neutral"
|
|
1068
|
-
:variant="isUsageRoute ? 'soft' : 'ghost'"
|
|
1069
|
-
size="xs"
|
|
1070
|
-
:aria-label="isUsageRoute ? 'Back to sessions' : 'Usage'"
|
|
1071
|
-
@click="toggleUsage"
|
|
1072
|
-
/>
|
|
1073
|
-
</UTooltip>
|
|
1074
|
-
<UTooltip :text="collapsed ? 'Show sessions' : 'Hide sessions'">
|
|
1075
|
-
<UButton
|
|
1076
|
-
class="ml-auto max-md:hidden"
|
|
1077
|
-
icon="i-ph-sidebar-simple-light"
|
|
1078
|
-
color="neutral"
|
|
1079
|
-
variant="ghost"
|
|
1080
|
-
size="xs"
|
|
1081
|
-
:aria-label="collapsed ? 'Show sessions' : 'Hide sessions'"
|
|
1082
|
-
@click="collapse(!collapsed)"
|
|
1083
|
-
/>
|
|
1084
|
-
</UTooltip>
|
|
1085
|
-
</div>
|
|
1086
|
-
</template>
|
|
1087
1312
|
</UDashboardSidebar>
|
|
1088
1313
|
|
|
1089
1314
|
<ConsoleSearch
|
|
1315
|
+
:actions="searchActions"
|
|
1090
1316
|
:agent-names="agentNames"
|
|
1317
|
+
:historical-agent-names="historicalAgentNames"
|
|
1091
1318
|
:agents-base="agentsBase"
|
|
1092
1319
|
:definitions-base="definitionsBase"
|
|
1093
1320
|
:kv-base="kvBase"
|
|
1094
1321
|
:search-base="searchBase"
|
|
1095
1322
|
:sections-base="sectionsBase"
|
|
1096
|
-
@select-session="showSessions"
|
|
1097
|
-
@select-page="showSessions"
|
|
1098
1323
|
/>
|
|
1099
1324
|
|
|
1100
|
-
<ConsoleUsage v-if="isUsageRoute" :base="usageBase" @open-sessions="
|
|
1101
|
-
|
|
1102
|
-
<UDashboardPanel
|
|
1103
|
-
v-else-if="activePage === 'health'"
|
|
1104
|
-
id="agent-health"
|
|
1105
|
-
:ui="{ body: 'min-h-0 overflow-hidden p-0 gap-0' }"
|
|
1106
|
-
>
|
|
1107
|
-
<template #body><ConsoleHealth :endpoint="`${hostBase}/api/health`" /></template>
|
|
1108
|
-
</UDashboardPanel>
|
|
1325
|
+
<ConsoleUsage v-if="isUsageRoute" :base="usageBase" @open-sessions="openSessionsFromUsage" />
|
|
1109
1326
|
|
|
1110
1327
|
<UDashboardPanel
|
|
1111
1328
|
v-else
|
|
1112
|
-
id="
|
|
1329
|
+
id="chat-session"
|
|
1113
1330
|
class="vitehub-console__session-panel"
|
|
1114
|
-
:ui="{ body: 'min-h-0 overflow-hidden p-0 gap-0' }"
|
|
1115
1331
|
>
|
|
1116
1332
|
<template #body>
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
v-model:active-surface="inspectorActiveSurface"
|
|
1128
|
-
v-model:open-views="inspectorOpenViews"
|
|
1129
|
-
v-model:open-paths="inspectorOpenPaths"
|
|
1130
|
-
v-model:selected-path="inspectorSelectedPath"
|
|
1131
|
-
class="h-full"
|
|
1132
|
-
@close="closeDetails"
|
|
1133
|
-
@focus-activity="selectActivity"
|
|
1134
|
-
@toggle-maximized="detailsMaximized = false"
|
|
1135
|
-
/>
|
|
1136
|
-
<ConsoleSessionLoading
|
|
1137
|
-
v-else-if="detail.isLoading.value"
|
|
1138
|
-
class="h-full min-h-0"
|
|
1139
|
-
:maximized="true"
|
|
1140
|
-
surface="inspector"
|
|
1141
|
-
@close="closeDetails"
|
|
1142
|
-
@toggle-maximized="detailsMaximized = false"
|
|
1143
|
-
/>
|
|
1144
|
-
<ConsoleSessionLoading
|
|
1145
|
-
v-else
|
|
1146
|
-
class="h-full min-h-0"
|
|
1147
|
-
:error="errorMessage(detail.error.value)"
|
|
1148
|
-
:maximized="true"
|
|
1149
|
-
surface="inspector"
|
|
1150
|
-
@close="closeDetails"
|
|
1151
|
-
@retry="refresh"
|
|
1152
|
-
@toggle-maximized="detailsMaximized = false"
|
|
1153
|
-
/>
|
|
1154
|
-
</div>
|
|
1155
|
-
<USplitter
|
|
1156
|
-
v-else-if="isDesktop && detailsOpen && (selectedInvocationId || initialSessionLoading)"
|
|
1157
|
-
id="agent-session-layout"
|
|
1158
|
-
auto-save-id="vitehub-agent-session-layout-v2"
|
|
1159
|
-
:items="splitterItems"
|
|
1160
|
-
class="h-full min-h-0 overflow-hidden"
|
|
1161
|
-
>
|
|
1162
|
-
<template #thread>
|
|
1163
|
-
<div class="flex h-full min-h-0 w-full flex-col overflow-hidden">
|
|
1164
|
-
<ConsoleSessionNavbar
|
|
1165
|
-
:cost="selectedCost"
|
|
1166
|
-
:details-open="detailsOpen"
|
|
1167
|
-
:external-url="selectedExternalUrl"
|
|
1168
|
-
:has-display="Boolean(selectedDisplay)"
|
|
1169
|
-
:has-selection="Boolean(selectedInvocationId)"
|
|
1170
|
-
:loading="refreshing"
|
|
1171
|
-
:project="selectedProject"
|
|
1172
|
-
:title="selectedTitle"
|
|
1173
|
-
:tokens="selectedTokens"
|
|
1174
|
-
@open-sessions="sessionsOpen = true"
|
|
1175
|
-
@refresh="refresh"
|
|
1176
|
-
@toggle-details="detailsOpen = !detailsOpen"
|
|
1177
|
-
/>
|
|
1178
|
-
<UAlert
|
|
1179
|
-
v-if="invocationView && errorMessage(detail.error.value)"
|
|
1180
|
-
class="m-3 shrink-0"
|
|
1181
|
-
color="error"
|
|
1182
|
-
variant="subtle"
|
|
1183
|
-
icon="i-ph-cloud-slash-light"
|
|
1184
|
-
title="Could not refresh this session"
|
|
1185
|
-
:description="errorMessage(detail.error.value)"
|
|
1186
|
-
:actions="[
|
|
1187
|
-
{ label: 'Try again', icon: 'i-ph-arrows-clockwise-light', onClick: refresh },
|
|
1188
|
-
]"
|
|
1189
|
-
/>
|
|
1190
|
-
<ConsoleSessionLoading
|
|
1191
|
-
v-if="(detail.isLoading.value || initialSessionLoading) && !invocationView"
|
|
1192
|
-
class="min-h-0 flex-1"
|
|
1193
|
-
/>
|
|
1194
|
-
<UEmpty
|
|
1195
|
-
v-else-if="errorMessage(detail.error.value) && !invocationView"
|
|
1196
|
-
class="min-h-0 flex-1"
|
|
1197
|
-
icon="i-ph-cloud-slash-light"
|
|
1198
|
-
title="Could not load this session"
|
|
1199
|
-
:description="errorMessage(detail.error.value)"
|
|
1200
|
-
:actions="[
|
|
1201
|
-
{ label: 'Try again', icon: 'i-ph-arrows-clockwise-light', onClick: refresh },
|
|
1202
|
-
]"
|
|
1203
|
-
/>
|
|
1204
|
-
<AgentInvocation
|
|
1205
|
-
v-else-if="invocationView"
|
|
1206
|
-
:header="false"
|
|
1207
|
-
:invocation="invocationView"
|
|
1208
|
-
:selected-activity-id="selectedActivityId"
|
|
1209
|
-
:workspace-inspectable="false"
|
|
1210
|
-
class="min-h-0 flex-1"
|
|
1211
|
-
@inspect="inspectSession"
|
|
1212
|
-
/>
|
|
1213
|
-
</div>
|
|
1214
|
-
</template>
|
|
1215
|
-
<template #details>
|
|
1216
|
-
<ConsoleSessionInspector
|
|
1217
|
-
v-if="invocationView"
|
|
1218
|
-
:invocation="invocationView"
|
|
1219
|
-
v-model:tab="inspectorTab"
|
|
1220
|
-
v-model:active-surface="inspectorActiveSurface"
|
|
1221
|
-
v-model:open-views="inspectorOpenViews"
|
|
1222
|
-
v-model:open-paths="inspectorOpenPaths"
|
|
1223
|
-
v-model:selected-path="inspectorSelectedPath"
|
|
1224
|
-
class="h-full"
|
|
1225
|
-
@close="closeDetails"
|
|
1226
|
-
@focus-activity="selectActivity"
|
|
1227
|
-
@toggle-maximized="detailsMaximized = true"
|
|
1228
|
-
/>
|
|
1229
|
-
<ConsoleSessionLoading
|
|
1230
|
-
v-else-if="detail.isLoading.value || initialSessionLoading"
|
|
1231
|
-
class="h-full min-h-0"
|
|
1232
|
-
:maximizable="Boolean(selectedInvocationId)"
|
|
1233
|
-
surface="inspector"
|
|
1234
|
-
@close="closeDetails"
|
|
1235
|
-
@toggle-maximized="detailsMaximized = true"
|
|
1236
|
-
/>
|
|
1237
|
-
<ConsoleSessionLoading
|
|
1238
|
-
v-else
|
|
1239
|
-
class="h-full min-h-0"
|
|
1240
|
-
:error="errorMessage(detail.error.value)"
|
|
1241
|
-
surface="inspector"
|
|
1242
|
-
@close="closeDetails"
|
|
1243
|
-
@retry="refresh"
|
|
1244
|
-
@toggle-maximized="detailsMaximized = true"
|
|
1245
|
-
/>
|
|
1246
|
-
</template>
|
|
1247
|
-
<template #resize-handle>
|
|
1248
|
-
<span
|
|
1249
|
-
class="pointer-events-none absolute inset-y-0 start-1/2 w-px -translate-x-1/2 bg-(--ui-border) transition-colors group-hover:bg-primary group-focus-visible:bg-primary"
|
|
1250
|
-
/>
|
|
1251
|
-
</template>
|
|
1252
|
-
</USplitter>
|
|
1253
|
-
<div v-else class="flex h-full min-h-0 flex-col overflow-hidden">
|
|
1333
|
+
<!-- No live region here: the thread is a log, and the connection state is an alert. A polite region around both made screen readers read the session again after each update. -->
|
|
1334
|
+
<div class="flex h-full min-h-0 w-full flex-col overflow-hidden">
|
|
1335
|
+
<ConsoleConnectionState
|
|
1336
|
+
v-if="connectionUnavailable"
|
|
1337
|
+
:compact="Boolean(invocationView)"
|
|
1338
|
+
:retrying="refreshing"
|
|
1339
|
+
@retry="refresh"
|
|
1340
|
+
@open-sessions="sessionsOpen = true"
|
|
1341
|
+
/>
|
|
1342
|
+
<div v-if="!connectionUnavailable || invocationView" class="flex min-h-0 w-full flex-1 flex-col overflow-hidden">
|
|
1254
1343
|
<ConsoleSessionNavbar
|
|
1344
|
+
v-if="!(isDesktop && selectedInvocationId)"
|
|
1255
1345
|
:cost="selectedCost"
|
|
1256
1346
|
:details-open="detailsOpen"
|
|
1257
1347
|
:external-url="selectedExternalUrl"
|
|
1258
1348
|
:has-display="Boolean(selectedDisplay)"
|
|
1259
1349
|
:has-selection="Boolean(selectedInvocationId)"
|
|
1260
1350
|
:loading="refreshing"
|
|
1261
|
-
:
|
|
1351
|
+
:refreshable="selectedRefreshable"
|
|
1352
|
+
:project="hasMultipleAgents ? selectedProject : ''"
|
|
1262
1353
|
:title="selectedTitle"
|
|
1263
1354
|
:tokens="selectedTokens"
|
|
1264
1355
|
@open-sessions="sessionsOpen = true"
|
|
1265
1356
|
@refresh="refresh"
|
|
1266
|
-
@toggle-details="
|
|
1267
|
-
/>
|
|
1268
|
-
<ConsoleSessionLoading
|
|
1269
|
-
v-if="initialSessionLoading"
|
|
1270
|
-
class="min-h-0 flex-1"
|
|
1271
|
-
/>
|
|
1272
|
-
<div
|
|
1273
|
-
v-else-if="!selectedInvocationId"
|
|
1274
|
-
class="flex min-h-0 flex-1 items-center justify-center p-8 text-sm text-muted"
|
|
1357
|
+
@toggle-details="toggleDetails"
|
|
1275
1358
|
>
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1359
|
+
<template v-if="selectedActions || selectedCancel" #actions>
|
|
1360
|
+
<ConsoleSessionActions
|
|
1361
|
+
v-if="selectedActions"
|
|
1362
|
+
v-bind="selectedActions"
|
|
1363
|
+
:agents-base="agentsBase"
|
|
1364
|
+
:api-base="apiBase"
|
|
1365
|
+
@deleted="removeDeletedInvocation"
|
|
1366
|
+
@started="selectStartedInvocation"
|
|
1367
|
+
/>
|
|
1368
|
+
<ConsoleSessionCancel
|
|
1369
|
+
v-if="selectedCancel"
|
|
1370
|
+
v-bind="selectedCancel"
|
|
1371
|
+
:api-base="apiBase"
|
|
1372
|
+
@cancelled="refresh"
|
|
1373
|
+
/>
|
|
1374
|
+
</template>
|
|
1375
|
+
</ConsoleSessionNavbar>
|
|
1376
|
+
<!-- A selected session on a wide screen is one AgentSession: the header, the timeline, a details card, and a
|
|
1377
|
+
right panel of Workspace, Changes, Trace and Details. Its toggles keep their place when the panel opens. -->
|
|
1378
|
+
<ConsoleAgentSession
|
|
1379
|
+
v-if="isDesktop && selectedInvocationId"
|
|
1380
|
+
v-model:tab="inspectorTab"
|
|
1381
|
+
v-model:details="detailsView"
|
|
1382
|
+
v-model:selected-path="inspectorSelectedPath"
|
|
1383
|
+
class="min-h-0 flex-1"
|
|
1384
|
+
:invocation="invocationView"
|
|
1385
|
+
:loading="detail.isLoading.value || initialSessionLoading"
|
|
1386
|
+
:error="connectionUnavailable ? undefined : detail.error.value"
|
|
1387
|
+
:title="selectedTitle"
|
|
1388
|
+
:project="hasMultipleAgents ? selectedProject : ''"
|
|
1389
|
+
:workspace-base="apiBase"
|
|
1390
|
+
:selected-activity-id="selectedActivityId"
|
|
1391
|
+
@focus-activity="selectActivity"
|
|
1392
|
+
@refresh="refresh"
|
|
1393
|
+
>
|
|
1394
|
+
<template #actions>
|
|
1395
|
+
<UTooltip v-if="selectedExternalUrl" text="Open related page">
|
|
1396
|
+
<UButton :to="selectedExternalUrl" target="_blank" icon="i-lucide-external-link" color="neutral" variant="ghost" size="xs" aria-label="Open related page" />
|
|
1397
|
+
</UTooltip>
|
|
1398
|
+
<ConsoleSessionActions
|
|
1399
|
+
v-if="selectedActions"
|
|
1400
|
+
v-bind="selectedActions"
|
|
1401
|
+
:agents-base="agentsBase"
|
|
1402
|
+
:api-base="apiBase"
|
|
1403
|
+
@deleted="removeDeletedInvocation"
|
|
1404
|
+
@started="selectStartedInvocation"
|
|
1405
|
+
/>
|
|
1406
|
+
<ConsoleSessionCancel
|
|
1407
|
+
v-if="selectedCancel"
|
|
1408
|
+
v-bind="selectedCancel"
|
|
1409
|
+
:api-base="apiBase"
|
|
1410
|
+
@cancelled="refresh"
|
|
1411
|
+
/>
|
|
1412
|
+
<UTooltip v-if="selectedRefreshable" text="Refresh session">
|
|
1413
|
+
<UButton icon="i-lucide-refresh-cw" color="neutral" variant="ghost" size="xs" :loading="refreshing" aria-label="Refresh session" @click="refresh" />
|
|
1414
|
+
</UTooltip>
|
|
1415
|
+
</template>
|
|
1416
|
+
</ConsoleAgentSession>
|
|
1417
|
+
<div v-else class="flex min-h-0 flex-1 flex-col overflow-hidden">
|
|
1418
|
+
<ConsoleSessionLoading v-if="initialSessionLoading" class="min-h-0 flex-1" />
|
|
1419
|
+
<ConsoleState
|
|
1420
|
+
v-else-if="!selectedInvocationId && sessionsPanelError"
|
|
1421
|
+
:error="sessionsPanelError"
|
|
1422
|
+
:title="sessionsSignInError ? 'Sign in to see Agent sessions' : 'Could not load Agents or sessions'"
|
|
1423
|
+
:retry="refresh"
|
|
1424
|
+
/>
|
|
1425
|
+
<div v-else-if="!selectedInvocationId" class="min-h-0 flex-1" />
|
|
1426
|
+
<ConsoleState
|
|
1427
|
+
v-else-if="detail.error.value && !invocationView"
|
|
1428
|
+
:error="detail.error.value"
|
|
1282
1429
|
title="Could not load this session"
|
|
1283
|
-
:
|
|
1284
|
-
:actions="[
|
|
1285
|
-
{ label: 'Try again', icon: 'i-ph-arrows-clockwise-light', onClick: refresh },
|
|
1286
|
-
]"
|
|
1430
|
+
:retry="refresh"
|
|
1287
1431
|
/>
|
|
1288
1432
|
<ConsoleSessionLoading
|
|
1289
1433
|
v-else-if="detail.isLoading.value && !invocationView"
|
|
1290
1434
|
class="min-h-0 flex-1"
|
|
1291
1435
|
/>
|
|
1292
1436
|
<div v-else-if="invocationView" class="flex min-h-0 flex-1 flex-col">
|
|
1293
|
-
<
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
color="error"
|
|
1297
|
-
variant="subtle"
|
|
1298
|
-
icon="i-ph-cloud-slash-light"
|
|
1299
|
-
title="Could not refresh this session"
|
|
1300
|
-
:description="errorMessage(detail.error.value)"
|
|
1301
|
-
:actions="[
|
|
1302
|
-
{ label: 'Try again', icon: 'i-ph-arrows-clockwise-light', onClick: refresh },
|
|
1303
|
-
]"
|
|
1304
|
-
/>
|
|
1437
|
+
<div v-if="!connectionUnavailable && detail.error.value" class="m-3 shrink-0">
|
|
1438
|
+
<ConsoleState compact :error="detail.error.value" title="Could not refresh this session" :retry="refresh" />
|
|
1439
|
+
</div>
|
|
1305
1440
|
<AgentInvocation
|
|
1306
1441
|
:header="false"
|
|
1307
1442
|
:invocation="invocationView"
|
|
1308
1443
|
:selected-activity-id="selectedActivityId"
|
|
1309
|
-
:workspace-inspectable="
|
|
1444
|
+
:workspace-inspectable="true"
|
|
1310
1445
|
class="min-h-0 flex-1"
|
|
1311
1446
|
@inspect="inspectSession"
|
|
1312
1447
|
/>
|
|
1313
1448
|
</div>
|
|
1449
|
+
<ConsoleInvocationComposer
|
|
1450
|
+
v-if="selectedAgentName && selectedAgentInvocation && !selectedInvocationId && !sessionsPanelError"
|
|
1451
|
+
:agent="selectedAgentName"
|
|
1452
|
+
:base="agentsBase"
|
|
1453
|
+
:profiles="selectedAgentInvocation.profiles"
|
|
1454
|
+
@started="selectStartedInvocation"
|
|
1455
|
+
/>
|
|
1314
1456
|
<USlideover
|
|
1315
1457
|
v-if="!isDesktop && invocationView"
|
|
1316
1458
|
v-model:open="detailsOpen"
|
|
@@ -1320,6 +1462,7 @@ onBeforeUnmount(() => {
|
|
|
1320
1462
|
>
|
|
1321
1463
|
<template #content>
|
|
1322
1464
|
<ConsoleSessionInspector
|
|
1465
|
+
:workspace-base="apiBase"
|
|
1323
1466
|
:invocation="invocationView"
|
|
1324
1467
|
:maximizable="false"
|
|
1325
1468
|
v-model:tab="inspectorTab"
|
|
@@ -1334,15 +1477,14 @@ onBeforeUnmount(() => {
|
|
|
1334
1477
|
</template>
|
|
1335
1478
|
</USlideover>
|
|
1336
1479
|
</div>
|
|
1480
|
+
</div>
|
|
1337
1481
|
</div>
|
|
1338
1482
|
</template>
|
|
1339
1483
|
</UDashboardPanel>
|
|
1340
|
-
</ConsoleFrame>
|
|
1341
1484
|
</template>
|
|
1342
1485
|
|
|
1343
1486
|
<style>
|
|
1344
1487
|
.vitehub-console {
|
|
1345
|
-
--ui-header-height: 3.25rem;
|
|
1346
1488
|
height: 100dvh;
|
|
1347
1489
|
min-height: 0;
|
|
1348
1490
|
overflow: hidden;
|
|
@@ -1373,46 +1515,129 @@ onBeforeUnmount(() => {
|
|
|
1373
1515
|
|
|
1374
1516
|
.vitehub-console__sessions[data-slot="root"] {
|
|
1375
1517
|
background: var(--ui-bg-muted);
|
|
1518
|
+
border-inline-end: 1px solid var(--border);
|
|
1376
1519
|
}
|
|
1377
1520
|
|
|
1378
|
-
.vitehub-
|
|
1379
|
-
|
|
1521
|
+
.vitehub-console__sessions [data-slot="header"] {
|
|
1522
|
+
min-height: 2.75rem;
|
|
1380
1523
|
}
|
|
1381
1524
|
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1525
|
+
/* Section labels are quiet sentence-case text with a count, like the labels on onmax.me. */
|
|
1526
|
+
.vitehub-console__section-label {
|
|
1527
|
+
align-items: center;
|
|
1528
|
+
color: var(--ui-text-dimmed);
|
|
1529
|
+
display: flex;
|
|
1530
|
+
font-size: 0.75rem;
|
|
1531
|
+
font-weight: 400;
|
|
1532
|
+
gap: 0.375rem;
|
|
1533
|
+
height: 1.75rem;
|
|
1534
|
+
min-width: 0;
|
|
1535
|
+
padding-inline: 0.625rem;
|
|
1536
|
+
width: 100%;
|
|
1389
1537
|
}
|
|
1390
1538
|
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1539
|
+
.vitehub-console__section-toggle {
|
|
1540
|
+
justify-content: flex-start;
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
.vitehub-console__section-toggle [data-slot="trailingIcon"] {
|
|
1544
|
+
transition: transform 150ms ease-out;
|
|
1396
1545
|
}
|
|
1397
1546
|
|
|
1398
|
-
.vitehub-
|
|
1399
|
-
|
|
1400
|
-
transform: translateX(0);
|
|
1547
|
+
.vitehub-console__section-toggle[aria-expanded="true"] [data-slot="trailingIcon"] {
|
|
1548
|
+
transform: rotate(90deg);
|
|
1401
1549
|
}
|
|
1402
1550
|
|
|
1403
1551
|
@media (prefers-reduced-motion: reduce) {
|
|
1404
|
-
.vitehub-
|
|
1405
|
-
|
|
1406
|
-
transition: opacity 150ms ease;
|
|
1552
|
+
.vitehub-console__section-toggle [data-slot="trailingIcon"] {
|
|
1553
|
+
transition: none;
|
|
1407
1554
|
}
|
|
1408
1555
|
}
|
|
1409
1556
|
|
|
1410
|
-
.vitehub-
|
|
1411
|
-
|
|
1557
|
+
.vitehub-console__section-count {
|
|
1558
|
+
color: var(--ui-text-dimmed);
|
|
1559
|
+
font-family: var(--font-mono);
|
|
1560
|
+
font-variant-numeric: tabular-nums;
|
|
1561
|
+
letter-spacing: 0;
|
|
1562
|
+
text-transform: none;
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
.vitehub-console__sessions-label {
|
|
1566
|
+
padding-inline: 1rem 1rem;
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
.vitehub-console__sessions-agent {
|
|
1570
|
+
color: var(--ui-text-dimmed);
|
|
1571
|
+
flex: 1;
|
|
1572
|
+
letter-spacing: 0;
|
|
1573
|
+
min-width: 0;
|
|
1574
|
+
overflow: hidden;
|
|
1575
|
+
text-overflow: ellipsis;
|
|
1576
|
+
text-transform: none;
|
|
1577
|
+
white-space: nowrap;
|
|
1412
1578
|
}
|
|
1413
1579
|
|
|
1414
|
-
.
|
|
1415
|
-
|
|
1580
|
+
.vitehub-console__agent-row {
|
|
1581
|
+
align-items: center;
|
|
1582
|
+
border-radius: 0.375rem;
|
|
1583
|
+
color: var(--ui-text-toned);
|
|
1584
|
+
cursor: pointer;
|
|
1585
|
+
display: flex;
|
|
1586
|
+
font-size: 0.8125rem;
|
|
1587
|
+
gap: 0.625rem;
|
|
1588
|
+
height: 1.875rem;
|
|
1589
|
+
padding-inline: 0.625rem;
|
|
1590
|
+
text-align: start;
|
|
1591
|
+
width: 100%;
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
/* Agent rows are a list of rows, like the section rows of the frame: they change at once, without a transition. */
|
|
1595
|
+
.vitehub-console__agent-row:hover {
|
|
1596
|
+
background: var(--muted);
|
|
1597
|
+
color: var(--foreground);
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1600
|
+
.vitehub-console__agent-row[aria-current="true"] {
|
|
1601
|
+
background: var(--ui-bg-accented);
|
|
1602
|
+
color: var(--foreground);
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
.vitehub-console__agent-dot {
|
|
1606
|
+
background: var(--ui-text-dimmed);
|
|
1607
|
+
border-radius: 999px;
|
|
1608
|
+
flex: none;
|
|
1609
|
+
height: 0.375rem;
|
|
1610
|
+
opacity: 0.7;
|
|
1611
|
+
width: 0.375rem;
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1614
|
+
[aria-current="true"] > .vitehub-console__agent-dot {
|
|
1615
|
+
background: var(--primary);
|
|
1616
|
+
opacity: 1;
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
.vitehub-console__agent-more {
|
|
1620
|
+
color: var(--muted-foreground);
|
|
1621
|
+
font-size: 0.75rem;
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
/* Recency headings sit under the Sessions label and use the same sentence case. */
|
|
1625
|
+
.vitehub-console__session-list .vh-invocation-list__group-heading {
|
|
1626
|
+
color: var(--ui-text-dimmed);
|
|
1627
|
+
font-size: 0.75rem;
|
|
1628
|
+
font-weight: 500;
|
|
1629
|
+
letter-spacing: 0;
|
|
1630
|
+
min-height: 1.5rem;
|
|
1631
|
+
padding: 0.5rem 0.625rem 0.125rem;
|
|
1632
|
+
text-transform: none;
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
.vitehub-console__session-list .vh-invocation-list__groups {
|
|
1636
|
+
gap: 0.375rem;
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
.vitehub-console__sessions .vh-invocation-list__item[aria-current="true"] {
|
|
1640
|
+
background: var(--ui-bg-accented);
|
|
1416
1641
|
}
|
|
1417
1642
|
|
|
1418
1643
|
.vitehub-console__session-panel > [data-slot="body"] {
|
|
@@ -1421,9 +1646,9 @@ onBeforeUnmount(() => {
|
|
|
1421
1646
|
}
|
|
1422
1647
|
|
|
1423
1648
|
.vitehub-console__session-navbar {
|
|
1424
|
-
background: var(--
|
|
1425
|
-
height:
|
|
1426
|
-
min-height:
|
|
1649
|
+
background: var(--background) !important;
|
|
1650
|
+
height: 2.75rem !important;
|
|
1651
|
+
min-height: 2.75rem !important;
|
|
1427
1652
|
overflow: visible !important;
|
|
1428
1653
|
padding: 0 1.25rem !important;
|
|
1429
1654
|
position: relative;
|
|
@@ -1436,7 +1661,7 @@ onBeforeUnmount(() => {
|
|
|
1436
1661
|
}
|
|
1437
1662
|
|
|
1438
1663
|
.vitehub-console__session-navbar::after {
|
|
1439
|
-
background: linear-gradient(to bottom, var(--
|
|
1664
|
+
background: linear-gradient(to bottom, var(--background), transparent);
|
|
1440
1665
|
content: "";
|
|
1441
1666
|
height: 0.75rem;
|
|
1442
1667
|
inset: 100% 0 auto;
|