vite-hub 0.4.1 → 0.5.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 +38 -14
- package/dist/_internal/runtime/browser-errors.d.ts +12 -4
- package/dist/_internal/runtime/browser-errors.js +69 -27
- package/dist/_internal/runtime/redirects.d.ts +1 -2
- package/dist/_internal/runtime/redirects.js +2 -3
- package/dist/_internal/runtime/request-policy.d.ts +11 -2
- package/dist/_internal/runtime/request-policy.js +25 -6
- package/dist/_internal/runtime/security.d.ts +1 -2
- package/dist/_internal/runtime/security.js +16 -3
- package/dist/{access-BDST818p.js → access-BBHk9b5P.js} +30 -20
- package/dist/{access-policy-DjBKLo3c.js → access-policy-BM48XstY.js} +5 -6
- package/dist/{access-policy-CGXhO3Ee.d.ts → access-policy-CUbJLvlR.d.ts} +4 -8
- package/dist/{account-BnOAU055.d.ts → account-CoAO1F8G.d.ts} +9 -7
- package/dist/agent/invocations/postgres.d.ts +1 -0
- package/dist/agent/invocations/postgres.js +2 -0
- package/dist/{agent-invocations.post-CcPvfA0n.js → agent-invocations.post-BAC1aHnG.js} +16 -18
- package/dist/agents-BClUWOj7.js +1 -0
- package/dist/{agents-BDeazoAW.js → agents-Cz_uhhov.js} +4 -5
- package/dist/{agents-C94A4N9u.d.ts → agents-Gyw4VKPt.d.ts} +0 -2
- package/dist/auth/server.js +1 -2
- package/dist/{auth-BZOy7obk.d.ts → auth-CeKxL2xp.d.ts} +4 -8
- package/dist/{auth-operations-GcQk0O0X.js → auth-operations-arLIY2_2.js} +1 -2
- package/dist/{auth-types-CyqhWvYF.d.ts → auth-types-B4mq4YhK.d.ts} +1 -4
- package/dist/bin.js +34 -23
- package/dist/blob/nuxt-image.js +1 -2
- package/dist/{blob-CFLwMsjH.d.ts → blob-_TtxDb-t.d.ts} +1 -3
- package/dist/{blob-CpvlM8jp.js → blob-eH6j0AQj.js} +5 -6
- package/dist/browser-error-limits-B0yS95zt.js +24 -0
- package/dist/cache/operations.d.ts +2 -4
- package/dist/cache/operations.js +3 -4
- package/dist/cache.d.ts +1 -3
- package/dist/cache.js +2 -3
- package/dist/choices/testing.d.ts +1 -0
- package/dist/choices/testing.js +2 -0
- package/dist/{cli-config-wxKjF2Y0.js → cli-config-BX8H4ZCo.js} +12 -5
- package/dist/cli-config-DgpmE_7z.js +1 -0
- package/dist/cloudflare-app-types.d.ts +18 -0
- package/dist/{cloudflare-env-lookup-DKXdr4P_.js → cloudflare-env-lookup-DcN7pGlv.js} +1 -2
- package/dist/cms.js +1 -2
- package/dist/console/auth-types.d.ts +1 -1
- package/dist/console/auth.d.ts +1 -3
- package/dist/console/auth.js +2 -3
- package/dist/console/runtime/auth-operations.d.ts +1 -3
- package/dist/console/runtime/auth-operations.js +1 -2
- package/dist/console/runtime/client/account-views.d.ts +1 -3
- package/dist/console/runtime/client/account-views.js +1 -2
- package/dist/console/runtime/client/account.d.ts +1 -1
- package/dist/console/runtime/client/account.js +36 -48
- package/dist/console/runtime/client/add-primitive.ts +2 -2
- package/dist/console/runtime/client/appearance.d.ts +1 -2
- package/dist/console/runtime/client/appearance.js +1 -2
- package/dist/console/runtime/client/blob-media.d.ts +2 -4
- package/dist/console/runtime/client/blob-media.js +5 -6
- package/dist/console/runtime/client/comment-thread.d.ts +1 -3
- package/dist/console/runtime/client/comment-thread.js +11 -5
- package/dist/console/runtime/client/content-heads.d.ts +1 -2
- package/dist/console/runtime/client/content-heads.js +2 -3
- package/dist/console/runtime/client/documents.d.ts +2 -2
- package/dist/console/runtime/client/documents.js +1 -2
- package/dist/console/runtime/client/editor.d.ts +3 -5
- package/dist/console/runtime/client/editor.js +1 -2
- package/dist/console/runtime/client/env-groups.d.ts +1 -3
- package/dist/console/runtime/client/env-groups.js +1 -2
- package/dist/console/runtime/client/env-status.d.ts +1 -3
- package/dist/console/runtime/client/env-status.js +1 -2
- package/dist/console/runtime/client/format.d.ts +1 -3
- package/dist/console/runtime/client/format.js +1 -2
- package/dist/console/runtime/client/invocation-deletion.d.ts +1 -2
- package/dist/console/runtime/client/invocation-deletion.js +1 -2
- package/dist/console/runtime/client/invocation.d.ts +1 -2
- package/dist/console/runtime/client/invocation.js +4 -5
- package/dist/console/runtime/client/live.d.ts +2 -4
- package/dist/console/runtime/client/live.js +1 -2
- package/dist/console/runtime/client/mcp-client.d.ts +6 -4
- package/dist/console/runtime/client/mcp-client.js +12 -5
- package/dist/console/runtime/client/media-library.d.ts +1 -1
- package/dist/console/runtime/client/media-library.js +1 -2
- package/dist/console/runtime/client/media-uploads.d.ts +2 -4
- package/dist/console/runtime/client/media-uploads.js +2 -3
- package/dist/console/runtime/client/media.d.ts +1 -1
- package/dist/console/runtime/client/media.js +1 -2
- package/dist/console/runtime/client/operation-view.d.ts +2 -4
- package/dist/console/runtime/client/operation-view.js +4 -5
- package/dist/console/runtime/client/presence.d.ts +2 -4
- package/dist/console/runtime/client/presence.js +1 -2
- package/dist/console/runtime/client/preview.d.ts +1 -3
- package/dist/console/runtime/client/preview.js +1 -2
- package/dist/console/runtime/client/problem.d.ts +2 -4
- package/dist/console/runtime/client/problem.js +3 -4
- package/dist/console/runtime/client/project-link.d.ts +2 -2
- package/dist/console/runtime/client/project-link.js +1 -2
- package/dist/console/runtime/client/project-session.d.ts +19 -10
- package/dist/console/runtime/client/project-session.js +1 -723
- package/dist/console/runtime/client/project.d.ts +1 -3
- package/dist/console/runtime/client/project.js +1 -2
- package/dist/console/runtime/client/projects.d.ts +1 -1
- package/dist/console/runtime/client/projects.js +1 -2
- package/dist/console/runtime/client/publish.d.ts +2 -4
- package/dist/console/runtime/client/publish.js +1 -2
- package/dist/console/runtime/client/rate-limit.d.ts +1 -3
- package/dist/console/runtime/client/rate-limit.js +3 -4
- package/dist/console/runtime/client/read-only.d.ts +2 -4
- package/dist/console/runtime/client/read-only.js +2 -3
- package/dist/console/runtime/client/request.d.ts +2 -70
- package/dist/console/runtime/client/request.js +1 -2
- package/dist/console/runtime/client/route-query.d.ts +4 -5
- package/dist/console/runtime/client/route-query.js +1 -2
- package/dist/console/runtime/client/schedule-run.d.ts +1 -3
- package/dist/console/runtime/client/schedule-run.js +3 -4
- package/dist/console/runtime/client/schema-form.d.ts +1 -1
- package/dist/console/runtime/client/schema-form.js +1 -2
- package/dist/console/runtime/client/sections.d.ts +1 -1
- package/dist/console/runtime/client/sections.js +1 -2
- package/dist/console/runtime/client/site-access.d.ts +41 -10
- package/dist/console/runtime/client/site-access.js +157 -28
- package/dist/console/runtime/client/stored.d.ts +1 -3
- package/dist/console/runtime/client/stored.js +1 -2
- package/dist/console/runtime/client/ticket.d.ts +1 -1
- package/dist/console/runtime/client/ticket.js +1 -2
- package/dist/console/runtime/client/toast.d.ts +1 -3
- package/dist/console/runtime/client/toast.js +1 -2
- package/dist/console/runtime/client/workflow.d.ts +1 -3
- package/dist/console/runtime/client/workflow.js +3 -4
- package/dist/console/runtime/components/console-account-api-keys.vue +4 -4
- package/dist/console/runtime/components/console-account-home.vue +230 -51
- package/dist/console/runtime/components/console-account-link.vue +8 -5
- package/dist/console/runtime/components/console-account-setup.vue +10 -7
- package/dist/console/runtime/components/console-account-shell.vue +13 -19
- package/dist/console/runtime/components/console-account-unlink.vue +2 -3
- package/dist/console/runtime/components/console-app-settings.vue +8 -2
- package/dist/console/runtime/components/console-app.vue +1 -10
- package/dist/console/runtime/components/console-auth-activity.vue +2 -2
- package/dist/console/runtime/components/console-auth-chart.vue +1 -1
- package/dist/console/runtime/components/console-auth-overview.vue +1 -1
- package/dist/console/runtime/components/console-auth.vue +4 -4
- package/dist/console/runtime/components/console-comment-thread.vue +1 -1
- package/dist/console/runtime/components/console-definitions.vue +4 -4
- package/dist/console/runtime/components/console-document-dashboard.vue +2 -2
- package/dist/console/runtime/components/console-document-list.vue +2 -2
- package/dist/console/runtime/components/console-document-settings.vue +1 -1
- package/dist/console/runtime/components/console-env.vue +3 -3
- package/dist/console/runtime/components/console-home.vue +220 -311
- package/dist/console/runtime/components/console-hosted-comments-embed.vue +106 -0
- package/dist/console/runtime/components/console-loading.vue +1 -1
- package/dist/console/runtime/components/console-mcp-callback.vue +6 -1
- package/dist/console/runtime/components/console-mcp-connection.vue +3 -3
- package/dist/console/runtime/components/console-mcp-items.vue +4 -17
- package/dist/console/runtime/components/console-media-browser.vue +20 -30
- package/dist/console/runtime/components/console-media-crops.vue +3 -2
- package/dist/console/runtime/components/console-media-uploads.vue +11 -7
- package/dist/console/runtime/components/console-page-toolbar.vue +5 -10
- package/dist/console/runtime/components/console-schema-list.vue +85 -31
- package/dist/console/runtime/components/console-search-palette.vue +14 -5
- package/dist/console/runtime/components/console-section.vue +2 -1
- package/dist/console/runtime/components/console-session-inspector.vue +5 -0
- package/dist/console/runtime/components/console-session.css +8 -2
- package/dist/console/runtime/components/console-settings-value.vue +4 -5
- package/dist/console/runtime/components/console-sidebar.vue +9 -8
- package/dist/console/runtime/components/console-site.vue +36 -15
- package/dist/console/runtime/components/console-stat-grid.vue +3 -2
- package/dist/console/runtime/components/console-toaster.vue +3 -2
- package/dist/console/runtime/components/console-usage-chart.vue +1 -1
- package/dist/console/runtime/components/console-usage.vue +36 -18
- package/dist/console/runtime/components/invocation/internal/brand-icons.ts +10 -0
- package/dist/console/runtime/components/invocation/internal/invocation-brand.ts +6 -2
- package/dist/console/runtime/components/invocation/invocation.css +4 -27
- package/dist/console/runtime/console-route.d.ts +1 -3
- package/dist/console/runtime/console-route.js +1 -2
- package/dist/console/runtime/definitions.d.ts +1 -1
- package/dist/console/runtime/definitions.js +1 -2
- package/dist/console/runtime/diagnostics.ts +8 -1
- package/dist/console/runtime/mcp-client.d.ts +1 -1
- package/dist/console/runtime/mcp-client.js +1 -2
- package/dist/console/runtime/page/loader.js +45 -52
- package/dist/console/runtime/page-tool/account.js +26 -0
- package/dist/console/runtime/page-tool/page-tool.js +2 -3
- package/dist/console/runtime/public/skills/index.json +1 -1
- package/dist/console/runtime/public/skills/vitehub/SKILL.md +50 -7
- package/dist/console/runtime/public/skills/vitehub/agents/openai.yaml +1 -1
- package/dist/console/runtime/public/skills/vitehub/references/primitives/channels.md +1 -1
- package/dist/console/runtime/public/skills/vitehub/references/primitives/email.md +1 -1
- package/dist/console/runtime/public/skills/vitehub/references/project-shapes.md +1 -1
- package/dist/console/runtime/rpc.d.ts +1 -1
- package/dist/console/runtime/rpc.js +1 -2
- package/dist/console/runtime/sections.d.ts +1 -1
- package/dist/console/runtime/sections.js +1 -2
- package/dist/console/runtime/server/access-policy.d.ts +1 -1
- package/dist/console/runtime/server/access-policy.js +1 -2
- package/dist/console/runtime/server/agents.get.d.ts +2 -3
- package/dist/console/runtime/server/agents.get.js +3 -4
- package/dist/console/runtime/server/auth.d.ts +1 -1
- package/dist/console/runtime/server/auth.js +4 -5
- package/dist/console/runtime/server/blob.d.ts +1 -1
- package/dist/console/runtime/server/blob.js +1 -2
- package/dist/console/runtime/server/channel-replay.d.ts +3 -5
- package/dist/console/runtime/server/channel-replay.js +7 -7
- package/dist/console/runtime/server/database.d.ts +1 -1
- package/dist/console/runtime/server/database.get.d.ts +2 -3
- package/dist/console/runtime/server/database.get.js +4 -5
- package/dist/console/runtime/server/database.js +1 -2
- package/dist/console/runtime/server/definitions.d.ts +1 -1
- package/dist/console/runtime/server/definitions.get.d.ts +4 -6
- package/dist/console/runtime/server/definitions.get.js +5 -6
- package/dist/console/runtime/server/definitions.js +1 -2
- package/dist/console/runtime/server/development.d.ts +1 -1
- package/dist/console/runtime/server/development.js +1 -2
- package/dist/console/runtime/server/documents.d.ts +1 -1
- package/dist/console/runtime/server/documents.js +2 -2
- package/dist/console/runtime/server/env.d.ts +1 -3
- package/dist/console/runtime/server/env.get.d.ts +2 -4
- package/dist/console/runtime/server/env.get.js +7 -8
- package/dist/console/runtime/server/env.js +1 -2
- package/dist/console/runtime/server/invocation-capabilities.get.d.ts +1 -3
- package/dist/console/runtime/server/invocation-capabilities.get.js +4 -5
- package/dist/console/runtime/server/invocation-workspace.get.d.ts +3 -5
- package/dist/console/runtime/server/invocation-workspace.get.js +6 -7
- package/dist/console/runtime/server/invocation.get.d.ts +3 -5
- package/dist/console/runtime/server/invocation.get.js +8 -9
- package/dist/console/runtime/server/invocations.get.d.ts +1 -2
- package/dist/console/runtime/server/invocations.get.js +5 -6
- package/dist/console/runtime/server/logs.get.d.ts +3 -5
- package/dist/console/runtime/server/logs.get.js +7 -8
- package/dist/console/runtime/server/mcp-client-operations.d.ts +2 -4
- package/dist/console/runtime/server/mcp-client-operations.js +5 -7
- package/dist/console/runtime/server/operation-contributions.d.ts +1 -1
- package/dist/console/runtime/server/operation-contributions.js +1 -2
- package/dist/console/runtime/server/page-auth.d.ts +2 -4
- package/dist/console/runtime/server/page-auth.js +1 -2
- package/dist/console/runtime/server/page-tool.d.ts +1 -1
- package/dist/console/runtime/server/page-tool.js +12 -7
- package/dist/console/runtime/server/page-tools-route.d.ts +2 -0
- package/dist/console/runtime/server/page-tools-route.js +4 -0
- package/dist/console/runtime/server/rpc.d.ts +3 -5
- package/dist/console/runtime/server/rpc.js +12 -13
- package/dist/console/runtime/server/runtime.d.ts +1 -1
- package/dist/console/runtime/server/runtime.js +1 -2
- package/dist/console/runtime/server/search.get.d.ts +1 -3
- package/dist/console/runtime/server/search.get.js +3 -5
- package/dist/console/runtime/server/sections.d.ts +5 -5
- package/dist/console/runtime/server/sections.get.d.ts +1 -1
- package/dist/console/runtime/server/sections.get.js +8 -9
- package/dist/console/runtime/server/sections.js +6 -6
- package/dist/console/runtime/server/setup.d.ts +5 -5
- package/dist/console/runtime/server/setup.js +5 -5
- package/dist/console/runtime/server/site-entry.d.ts +1 -3
- package/dist/console/runtime/server/site-entry.js +15 -10
- package/dist/console/runtime/server/site-session.d.ts +12 -22
- package/dist/console/runtime/server/site-session.js +1 -2
- package/dist/console/runtime/server/status.get.d.ts +2 -4
- package/dist/console/runtime/server/status.get.js +6 -7
- package/dist/console/runtime/server/tickets.d.ts +1 -1
- package/dist/console/runtime/server/tickets.js +1 -2
- package/dist/console/runtime/server/usage.get.d.ts +2 -4
- package/dist/console/runtime/server/usage.get.js +8 -9
- package/dist/console/runtime/server/workspace-files.get.d.ts +3 -5
- package/dist/console/runtime/server/workspace-files.get.js +4 -5
- package/dist/console/runtime/site-access.d.ts +1 -1
- package/dist/console/runtime/site-access.js +1 -2
- package/dist/console/runtime/skills.d.ts +1 -3
- package/dist/console/runtime/skills.js +1 -2
- package/dist/console/server.d.ts +7 -11
- package/dist/console/server.js +8 -8
- package/dist/console/ui.d.ts +0 -10
- package/dist/console/ui.js +32 -28
- package/dist/console-lazy-views-VEjcbL4Q.js +1 -0
- package/dist/{console-route-CBuqZ4wO.js → console-route-DbdnLkkF.js} +3 -4
- package/dist/console.d.ts +1 -3
- package/dist/console.js +1 -2
- package/dist/{database-DyPVMjp_.d.ts → database-CPjZ3L0g.d.ts} +1 -3
- package/dist/{database-BdOBjPkS.js → database-CrgBUdIx.js} +3 -4
- package/dist/definition-catalog-1xPPtzOx.js +137 -0
- package/dist/definition-catalog-M5ua7JRS.js +1 -0
- package/dist/{definitions-BW6SvmMM.js → definitions-BFYqXchw.js} +1 -2
- package/dist/{definitions-DB4LbZ7T.d.ts → definitions-ChvMnA1L.d.ts} +0 -2
- package/dist/{definitions-Dbgxfz3I.d.ts → definitions-DRkgHKmk.d.ts} +1 -3
- package/dist/{definitions-CNq_Shkh.js → definitions-M7i2p8SR.js} +5 -6
- package/dist/deployment-CURATxjG.js +229 -0
- package/dist/deployment-l7RuKdEp.js +1 -0
- package/dist/{dev-peer-am78OsHH.js → dev-peer-DBq-isgi.js} +7 -6
- package/dist/{development-zLxOp-AO.js → development-DD567hhJ.js} +2 -3
- package/dist/{development-W5EwONyL.d.ts → development-I40mfD7B.d.ts} +1 -3
- package/dist/{diagnostics-9U_fYxMy.js → diagnostics-B2cqlCSz.js} +3 -3
- package/dist/{diagnostics-CjGiniKb.d.ts → diagnostics-BXxPggRw.d.ts} +1 -3
- package/dist/docs/nuxt.js +1 -2
- package/dist/doctor.d.ts +0 -6
- package/dist/doctor.js +15078 -2377
- package/dist/{documents-CjJTCrY8.js → documents-BOYwZ5g4.js} +7 -8
- package/dist/{documents-qrHHqlNU.js → documents-Ck_iub9w.js} +4 -5
- package/dist/{documents-BASIRZ91.d.ts → documents-DxK0tdjA.d.ts} +3 -5
- package/dist/{documents-CboVhYFz.d.ts → documents-LtkKCxtu.d.ts} +4 -8
- package/dist/durability/operations.d.ts +2 -4
- package/dist/durability/operations.js +3 -4
- package/dist/email/vue.d.ts +1 -0
- package/dist/email/vue.js +2 -0
- package/dist/{entries-Bj-jPs_J.js → entries-UFs9n1MB.js} +2 -3
- package/dist/{env-Dg1I_DWr.js → env-D-wtSupz.js} +2 -3
- package/dist/{error-diagnostics-Bm3JKYjz.js → error-diagnostics-CBtvqI30.js} +33 -22
- package/dist/{operation-definition-a5keEpCd.js → error-diagnostics-kKXseq8d.js} +11 -169
- package/dist/error-diagnostics.ts +33 -23
- package/dist/{optional-owners-BNA2OX6z.js → features-BXRKlmtN.js} +57 -345
- package/dist/features-CD5i5I8V.js +1 -0
- package/dist/{format-BOYlanIZ.js → format-Df-bS4Ly.js} +1 -2
- package/dist/gateways/testing.d.ts +1 -0
- package/dist/gateways/testing.js +2 -0
- package/dist/github-login-W-vaahWP.js +6 -0
- package/dist/{host-CkL0jjBq.js → host-DeNPYIeV.js} +1 -2
- package/dist/{http-error-Bs6e8_-8.js → http-error-BorAxJYM.js} +1 -2
- package/dist/index.d.ts +2 -8
- package/dist/index.js +5 -6
- package/dist/inspect-CWwAuL-B.js +47 -0
- package/dist/internal/agent-invocations-libsql.js +1 -2
- package/dist/internal/disabled-redis-driver.d.ts +1 -3
- package/dist/internal/disabled-redis-driver.js +2 -3
- package/dist/internal/disabled-upstash-driver.d.ts +1 -3
- package/dist/internal/disabled-upstash-driver.js +2 -3
- package/dist/internal/test-loader.d.ts +1 -3
- package/dist/internal/test-loader.js +2 -3
- package/dist/internal/test-server.js +2 -3
- package/dist/{internal-BreyUsQ6.js → internal-0C_CC601.js} +1 -2
- package/dist/{internal-CO4OqqaS.d.ts → internal-CKocv79I.d.ts} +3 -7
- package/dist/{invariant-DolT9EEx.js → invariant-Dj2R1eMr.js} +1 -2
- package/dist/{invocation-page-undo-DIZ-s3xT.js → invocation-page-undo-BEi-rO0Q.js} +5 -6
- package/dist/{invocations-CK_-G540.js → invocations-8NThe8Bx.js} +5 -6
- package/dist/{limits-BUlwWYQE.js → limits-BLo31qDR.js} +1 -2
- package/dist/logs/client.d.ts +19 -0
- package/dist/logs/client.js +11 -0
- package/dist/logs/host.d.ts +2 -4
- package/dist/logs/host.js +1 -2
- package/dist/logs/memory.d.ts +1 -1
- package/dist/logs/memory.js +1 -2
- package/dist/logs/source.d.ts +1 -1
- package/dist/logs/source.js +1 -2
- package/dist/logs.d.ts +2 -2
- package/dist/logs.js +2 -2
- package/dist/{mcp-client-CTbTbn7d.js → mcp-client-Bkh-khvr.js} +1 -2
- package/dist/{mcp-client-By4zk0vU.js → mcp-client-DiObFpDS.js} +35 -22
- package/dist/{mcp-client-C_sEmyQw.d.ts → mcp-client-Q2XbUXuP.d.ts} +1 -4
- package/dist/{media-uKX4Wy-c.d.ts → media-C79RB1oH.d.ts} +0 -2
- package/dist/{media-BHpQ-4jw.js → media-CAKz9yrp.js} +8 -9
- package/dist/{media-library-NaOMBKWS.js → media-library-BDX89xXA.js} +5 -6
- package/dist/{media-library-D9ThbXqs.d.ts → media-library-DxGu6w9z.d.ts} +0 -2
- package/dist/{memory-DTmq-Z6x.js → memory-D3EJS_Bp.js} +21 -10
- package/dist/{memory-2bbl4hcV.d.ts → memory-GK5ZGWrp.d.ts} +1 -3
- package/dist/nuxt-server-auto-imports-4aT5BD4u.js +74 -0
- package/dist/{nuxt-server-imports-DH60Z7LA.js → nuxt-server-imports-BdJqiVhT.js} +10 -18
- package/dist/nuxt.d.ts +1 -3
- package/dist/nuxt.js +339 -189
- package/dist/{object-D8pRdprI.js → object-DRSmpe04.js} +1 -2
- package/dist/{operation-contributions-DpkO_iSU.d.ts → operation-contributions-BCcQVlGb.d.ts} +1 -3
- package/dist/{operation-contributions-BdS0z3tx.js → operation-contributions-D10pjkJF.js} +4 -5
- package/dist/operation-definition-DTpNvLd8.js +164 -0
- package/dist/{operation-registry-BogGwk_I.js → operation-registry-DfQbL7vE.js} +1 -2
- package/dist/{operation-rpc-DI9txNxK.js → operation-rpc-BMdfapja.js} +3 -4
- package/dist/{operations-EOdyctDc.js → operations-CD_mu_Ww.js} +86 -9
- package/dist/operations-D7ENc68Y.js +1 -0
- package/dist/{operations-B0689BG1.d.ts → operations-DgFhA1WE.d.ts} +8 -6
- package/dist/{operations-CWP9dF3i.js → operations-vRLiH7dh.js} +35 -46
- package/dist/optional-owners-DAfShdgV.js +353 -0
- package/dist/out-Cw5Tvr92.js +20989 -0
- package/dist/{owned-paths-BnjT0FhU.js → owned-paths-MjjDftBn.js} +1 -2
- package/dist/page/pill.iife.js +25 -27
- package/dist/{page-tool-CRCK1RHV.d.ts → page-tool-BUnUbuSy.d.ts} +6 -7
- package/dist/{page-tools-BkSSBFoi.js → page-tools-BQzwuAHD.js} +28 -12
- package/dist/{page-tools-sw4I-Nqx.d.ts → page-tools-UwsfvH-B.d.ts} +2 -4
- package/dist/{page-tools-shared-D3fFoEV2.js → page-tools-shared-hJcG_xk8.js} +8 -5
- package/dist/{inspect-CDw7e0vK.js → pathe.M-eThtNZ-D4EC7Wue.js} +2 -31
- package/dist/{plugins-BqAtIEX2.d.ts → plugins-BpiTVULl.d.ts} +252 -262
- package/dist/{plugins-B-DpgDPB.js → plugins-H6-MQrsn.js} +3483 -797
- package/dist/presets/workspace.js +1 -2
- package/dist/project-BxyyclTE.js +58 -0
- package/dist/{project-CufkVP1u.d.ts → project-DKBIHOf4.d.ts} +16 -4
- package/dist/{project-DlWTGB7h.js → project-DRC67Uiu.js} +1 -2
- package/dist/{project-link-D-6UefhA.js → project-link-CeS0T8Pr.js} +57 -9
- package/dist/{project-link-BuOzBH9f.d.ts → project-link-isfdRO3Q.d.ts} +42 -6
- package/dist/{project-root-v6ba4tn7.js → project-root-mAVQGZTX.js} +1 -2
- package/dist/project-session--GN7MduT.js +764 -0
- package/dist/{projects-CAcXztf4.js → projects-BRp0iseV.js} +1 -2
- package/dist/{projects-Ddvl9EJp.d.ts → projects-mgPxrKZr.d.ts} +0 -2
- package/dist/{registry-zw6aE2N9.js → registry-B8JE5NY-.js} +1 -2
- package/dist/{registry-CDKLACCZ.js → registry-CnPC-gNu.js} +1 -2
- package/dist/{request-D7h3SQ92.d.ts → request-BC_krbEr.d.ts} +2 -4
- package/dist/request-CJCPyu2B.d.ts +70 -0
- package/dist/{request-DbFfYmCu.js → request-CQ8TkHLh.js} +4 -5
- package/dist/{request-DE8w_cSM.js → request-Cl68STwT.js} +7 -8
- package/dist/request-origin-pzWr9UUu.js +37 -0
- package/dist/rolldown-runtime-DegdyBIC.js +25 -0
- package/dist/{route-query-CRVWXIrc.js → route-query-BWVl6ZO6.js} +4 -5
- package/dist/{rpc-DIUA61pv.js → rpc-D3tsx5lZ.js} +1 -2
- package/dist/{rpc-7nlHSv3y.d.ts → rpc-oijgKQtD.d.ts} +0 -2
- package/dist/{runtime-YLWfdrtO.js → runtime-CAbuQGMP.js} +3 -4
- package/dist/{runtime-DQuHg7OO.js → runtime-CRJsqVTa.js} +2 -3
- package/dist/{runtime-B_btezs1.d.ts → runtime-Cf8R1Ztr.d.ts} +0 -2
- package/dist/{runtime-DxfJOfCd.js → runtime-CyPZMiyK.js} +2 -3
- package/dist/{runtime-OsEDfbM9.js → runtime-F0CTqBFx.js} +5 -6
- package/dist/{runtime-feature-guard-B64MMW9I.js → runtime-feature-guard-DpUn4Oxc.js} +91 -10
- package/dist/scan-module-B1A24jqP.js +1 -0
- package/dist/{scan-module-Df58L_6T.js → scan-module-BfZvDBxb.js} +2 -4
- package/dist/{schema-form-C-fy3xaU.d.ts → schema-form-Bl79Bdm-.d.ts} +0 -2
- package/dist/{secret-Dy5uqvq9.js → secret-D2KL_o2h.js} +2 -3
- package/dist/{sections-Do7X4Nwt.d.ts → sections-0qrBvGbf.d.ts} +0 -4
- package/dist/{sections-C83x0slv.js → sections-BNTdIEJw.js} +2 -3
- package/dist/{sections-BogiCmtz.d.ts → sections-BTfWK14a.d.ts} +4 -6
- package/dist/{sections-DumoLKQN.js → sections-BiCOk9qP.js} +1 -2
- package/dist/sections-DAtgYMVz.d.ts +8 -0
- package/dist/{sections-et20h8w3.js → sections-HLxb9MrG.js} +14 -7
- package/dist/{sections.get-COiLcQ0P.d.ts → sections.get-CGmtYmfu.d.ts} +2 -4
- package/dist/seo/runtime.d.ts +2 -5
- package/dist/seo/runtime.js +3 -5
- package/dist/{seo-CtLywyRx.d.ts → seo-CgW5uI9L.d.ts} +0 -2
- package/dist/seo.d.ts +1 -1
- package/dist/seo.js +1 -2
- package/dist/{server-BRJE4t-W.js → server-DsOEa4_A.js} +5 -5
- package/dist/{setup-ZbA1by7W.d.ts → setup-Ca7jtBLS.d.ts} +8 -7
- package/dist/{setup-C-5nB7aY.js → setup-DQz_i-ee.js} +16 -5
- package/dist/{site-access-BmE8HGxs.js → site-access-1JIQjY11.js} +16 -16
- package/dist/{site-access-DxfdOel1.d.ts → site-access-CUXIbbbR.d.ts} +0 -2
- package/dist/{site-access-BycrwM2v.js → site-access-CmaZ-oaL.js} +1 -2
- package/dist/site-access-Cvmjb6aw.js +1 -0
- package/dist/{site-session-odJq1dYa.js → site-session-D36fr7Wf.js} +65 -40
- package/dist/skills/operations.d.ts +1 -5
- package/dist/skills/operations.js +4 -5
- package/dist/skills/vitehub/SKILL.md +142 -0
- package/dist/skills/vitehub/agents/openai.yaml +4 -0
- package/dist/skills/vitehub/references/agent-definitions.md +36 -0
- package/dist/skills/vitehub/references/bundle.md +57 -0
- package/dist/skills/vitehub/references/capabilities-authority.md +30 -0
- package/dist/skills/vitehub/references/channels-triggers.md +27 -0
- package/dist/skills/vitehub/references/framework-composition.md +29 -0
- package/dist/skills/vitehub/references/preview-contract.md +44 -0
- package/dist/skills/vitehub/references/primitives/auth.md +14 -0
- package/dist/skills/vitehub/references/primitives/blob.md +13 -0
- package/dist/skills/vitehub/references/primitives/browser.md +17 -0
- package/dist/skills/vitehub/references/primitives/cache.md +13 -0
- package/dist/skills/vitehub/references/primitives/channels.md +11 -0
- package/dist/skills/vitehub/references/primitives/connections.md +14 -0
- package/dist/skills/vitehub/references/primitives/content.md +13 -0
- package/dist/skills/vitehub/references/primitives/database.md +15 -0
- package/dist/skills/vitehub/references/primitives/email.md +11 -0
- package/dist/skills/vitehub/references/primitives/env.md +13 -0
- package/dist/skills/vitehub/references/primitives/kv.md +13 -0
- package/dist/skills/vitehub/references/primitives/markdown-template.md +13 -0
- package/dist/skills/vitehub/references/primitives/queue.md +14 -0
- package/dist/skills/vitehub/references/primitives/rate-limit.md +11 -0
- package/dist/skills/vitehub/references/primitives/realtime.md +19 -0
- package/dist/skills/vitehub/references/primitives/sandbox-task.md +11 -0
- package/dist/skills/vitehub/references/primitives/sandbox.md +13 -0
- package/dist/skills/vitehub/references/primitives/schedule.md +11 -0
- package/dist/skills/vitehub/references/primitives/shell.md +11 -0
- package/dist/skills/vitehub/references/primitives/source.md +11 -0
- package/dist/skills/vitehub/references/primitives/workflow.md +11 -0
- package/dist/skills/vitehub/references/primitives/workspace.md +11 -0
- package/dist/skills/vitehub/references/project-patterns.md +19 -0
- package/dist/skills/vitehub/references/project-shapes.md +81 -0
- package/dist/skills/vitehub/references/proof-recovery.md +31 -0
- package/dist/skills/vitehub/references/sandboxes-hosts.md +26 -0
- package/dist/skills/vitehub/references/schedules-workflows-invocations.md +28 -0
- package/dist/skills/vitehub/references/server-primitives.md +39 -0
- package/dist/skills/vitehub/references/workspaces-sources-access.md +26 -0
- package/dist/{skills-DdpSMiCI.js → skills-C1MaGEbO.js} +1 -2
- package/dist/skills.d.ts +1 -2
- package/dist/{skills.get-Bl8cBe8u.js → skills.get-DAooGWy5.js} +3 -4
- package/dist/skills.js +1 -2
- package/dist/{source-D4wWtoHh.js → source-DYFndd0W.js} +2 -3
- package/dist/{source-S-LChQvw.d.ts → source-DemBtwla.d.ts} +0 -2
- package/dist/{stored-Dhv2qsQv.js → stored-J3TetMKf.js} +1 -2
- package/dist/task/operations.d.ts +1 -5
- package/dist/task/operations.js +3 -4
- package/dist/test/register.js +2 -3
- package/dist/test.d.ts +0 -4
- package/dist/test.js +1 -2
- package/dist/{ticket-Pr_8ZtXW.d.ts → ticket-BFWwevWN.d.ts} +0 -2
- package/dist/{ticket-Cudn1dq3.js → ticket-BwsnryuU.js} +2 -3
- package/dist/{tickets-C_0Fhc00.js → tickets-Cj9_y3gw.js} +14 -16
- package/dist/ui/motion/core.d.ts +1 -0
- package/dist/ui/motion/core.js +2 -0
- package/dist/ui/motion.d.ts +1 -0
- package/dist/ui/motion.js +2 -0
- package/dist/ui/vite.js +1 -2
- package/dist/{usage-CoQXs5nW.d.ts → usage-BduF04ks.d.ts} +0 -2
- package/dist/{usage-B4taNt4a.js → usage-ZV3TBMzE.js} +6 -5
- package/dist/{usage-index-BsGAFzyq.js → usage-index-CR_xTrXO.js} +3 -4
- package/dist/{version-DNmSsk5r.js → version-CAhBr673.js} +59 -21
- package/dist/{vite-stage-mmtwQIMA.js → vite-stage-Dmo4RgnK.js} +32 -8
- package/dist/{vue-router-C68IU1jM.d.ts → vue-router-plZJLlpm.d.ts} +120 -182
- package/dist/workspace/blob-database/postgres.d.ts +1 -0
- package/dist/workspace/blob-database/postgres.js +2 -0
- package/dist/{workspace-history-CraoERnc.js → workspace-history-B52xib2J.js} +3 -4
- package/dist/{workspace-history-CeVwBB6Q.d.ts → workspace-history-WuxgLsi4.d.ts} +0 -2
- package/package.json +190 -149
- package/dist/agents-BoWau_ei.js +0 -2
- package/dist/cli-config-UAGTmuFa.js +0 -2
- package/dist/console/runtime/server/page-session.d.ts +0 -2
- package/dist/console/runtime/server/page-session.js +0 -5
- package/dist/console-lazy-views-DXnIkdyd.js +0 -2
- package/dist/operations-CAQmIxGK.js +0 -2
- package/dist/project-C4N_Zcjl.js +0 -30
- package/dist/request-origin-Bq7mDQG9.js +0 -23
- package/dist/scan-module-D_3X08mj.js +0 -2
- package/dist/sections-CyrXbbkG.d.ts +0 -10
- package/dist/site-access-BbJUe5QI.js +0 -2
- /package/dist/{agent/channels.d.ts → channels/adapters.d.ts} +0 -0
- /package/dist/{agent/channels.js → channels/adapters.js} +0 -0
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { s as ConsoleAccessRoute } from "../../../access-policy-CUbJLvlR.js";
|
|
2
|
+
import { n as ConsoleRoute, t as ConsoleRequestEvent } from "../../../request-BC_krbEr.js";
|
|
3
3
|
import { AgentProviderStatus } from "@vite-hub/agent";
|
|
4
4
|
import { ObservabilityStatus } from "@vite-hub/agent/observability";
|
|
5
|
-
//#region src/console/runtime/server/status.get.d.ts
|
|
6
5
|
/** `observability` is `null` when `vitehub({ observability })` is not set. */
|
|
7
6
|
declare function statusHandler(event: ConsoleRequestEvent): Promise<{
|
|
8
7
|
agents: AgentProviderStatus[];
|
|
@@ -12,5 +11,4 @@ declare function statusHandler(event: ConsoleRequestEvent): Promise<{
|
|
|
12
11
|
export declare const readConsoleStatus: ConsoleAccessRoute<typeof statusHandler>;
|
|
13
12
|
/** `GET <base>/_vitehub/console/status` */
|
|
14
13
|
declare const consoleStatusRoute: ConsoleRoute;
|
|
15
|
-
//#endregion
|
|
16
14
|
export { consoleStatusRoute as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as viteHubErrorDiagnostics } from "../../../error-diagnostics-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { o as consoleRequestURL, s as consoleRoute, t as assertConsoleRequest } from "../../../request-
|
|
5
|
-
import {
|
|
1
|
+
import { t as viteHubErrorDiagnostics } from "../../../error-diagnostics-CBtvqI30.js";
|
|
2
|
+
import { c as getConsoleAgents, s as getConsoleAgentDefinition } from "../../../agents-Cz_uhhov.js";
|
|
3
|
+
import { h as withConsoleAccess } from "../../../access-BBHk9b5P.js";
|
|
4
|
+
import { o as consoleRequestURL, s as consoleRoute, t as assertConsoleRequest } from "../../../request-CQ8TkHLh.js";
|
|
5
|
+
import { t as consoleHttpError } from "../../../http-error-BorAxJYM.js";
|
|
6
6
|
import { createAgentStatusReader } from "@vite-hub/agent/server";
|
|
7
7
|
import { observabilityStatus } from "@vite-hub/agent/server/internal";
|
|
8
|
-
|
|
8
|
+
// src/console/runtime/server/status.get.ts
|
|
9
9
|
const readStatus = createAgentStatusReader();
|
|
10
10
|
/** `observability` is `null` when `vitehub({ observability })` is not set. */
|
|
11
11
|
async function statusHandler(event) {
|
|
@@ -26,5 +26,4 @@ async function statusHandler(event) {
|
|
|
26
26
|
const readConsoleStatus = withConsoleAccess(statusHandler, { section: "agents" });
|
|
27
27
|
/** `GET <base>/_vitehub/console/status` */
|
|
28
28
|
const consoleStatusRoute = consoleRoute(readConsoleStatus);
|
|
29
|
-
//#endregion
|
|
30
29
|
export { consoleStatusRoute as default, readConsoleStatus };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as setConsoleTicketStore, S as seeOther, _ as consoleRecordStore, b as issueConsoleTicket, c as ConsoleTicketPurpose, d as appBase, f as appOrigin, g as consoleInvitePrefix, h as base64url, l as ConsoleTicketRecord, m as authFailure, o as ConsoleRecordStore, p as authConsole, s as ConsoleTicket, u as ConsoleTicketStore, v as consoleTicketLifetime, w as ticketProblem, x as redeemConsoleTicket, y as consoleTicketParameter } from "../../../auth-
|
|
1
|
+
import { C as setConsoleTicketStore, S as seeOther, _ as consoleRecordStore, b as issueConsoleTicket, c as ConsoleTicketPurpose, d as appBase, f as appOrigin, g as consoleInvitePrefix, h as base64url, l as ConsoleTicketRecord, m as authFailure, o as ConsoleRecordStore, p as authConsole, s as ConsoleTicket, u as ConsoleTicketStore, v as consoleTicketLifetime, w as ticketProblem, x as redeemConsoleTicket, y as consoleTicketParameter } from "../../../auth-CeKxL2xp.js";
|
|
2
2
|
export { ConsoleRecordStore, ConsoleTicket, ConsoleTicketPurpose, ConsoleTicketRecord, ConsoleTicketStore, appBase, appOrigin, authConsole, authFailure, base64url, consoleInvitePrefix, consoleRecordStore, consoleTicketLifetime, consoleTicketParameter, issueConsoleTicket, redeemConsoleTicket, seeOther, setConsoleTicketStore, ticketProblem };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { appBase, appOrigin, authConsole, authFailure, base64url, consoleInvitePrefix, consoleRecordStore, consoleTicketLifetime, consoleTicketParameter, issueConsoleTicket, redeemConsoleTicket, seeOther, setConsoleTicketStore, ticketProblem };
|
|
1
|
+
export { t as appBase, n as appOrigin, r as authConsole, i as authFailure, a as base64url, o as consoleInvitePrefix, s as consoleRecordStore, c as consoleTicketLifetime, l as consoleTicketParameter, u as issueConsoleTicket, d as redeemConsoleTicket, f as seeOther, p as setConsoleTicketStore, m as ticketProblem } from "../../../tickets-Cj9_y3gw.js";
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
//#region src/console/runtime/server/usage.get.d.ts
|
|
1
|
+
import { s as ConsoleAccessRoute } from "../../../access-policy-CUbJLvlR.js";
|
|
2
|
+
import { n as ConsoleRoute, t as ConsoleRequestEvent } from "../../../request-BC_krbEr.js";
|
|
4
3
|
declare const usageHandler: (event: ConsoleRequestEvent) => Promise<Record<string, unknown>>;
|
|
5
4
|
/** The usage summary, for the `usage.get` operation. */
|
|
6
5
|
export declare const readConsoleUsage: ConsoleAccessRoute<typeof usageHandler>;
|
|
7
6
|
/** `GET <base>/_vitehub/console/usage` */
|
|
8
7
|
declare const consoleUsageRoute: ConsoleRoute;
|
|
9
|
-
//#endregion
|
|
10
8
|
export { consoleUsageRoute as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { o as consoleRequestURL, s as consoleRoute, t as assertConsoleRequest } from "../../../request-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
1
|
+
import { c as getConsoleAgents, s as getConsoleAgentDefinition } from "../../../agents-Cz_uhhov.js";
|
|
2
|
+
import { n as getConsoleUsageIndex, t as getConsoleInvocations } from "../../../invocations-8NThe8Bx.js";
|
|
3
|
+
import { h as withConsoleAccess } from "../../../access-BBHk9b5P.js";
|
|
4
|
+
import { o as consoleRequestURL, s as consoleRoute, t as assertConsoleRequest } from "../../../request-CQ8TkHLh.js";
|
|
5
|
+
import { t as consoleHttpError } from "../../../http-error-BorAxJYM.js";
|
|
6
|
+
import { d as parseConsoleUsageWindow, r as createUsageSummary, u as parseConsoleUsageStatus } from "../../../usage-ZV3TBMzE.js";
|
|
7
|
+
import { t as viteHubErrorDiagnostics } from "../../../error-diagnostics-CBtvqI30.js";
|
|
8
|
+
// src/console/runtime/server/usage.get.ts
|
|
9
9
|
const caches = /* @__PURE__ */ new WeakMap();
|
|
10
10
|
const requests = /* @__PURE__ */ new WeakMap();
|
|
11
11
|
async function cached(invocations, key, resolve) {
|
|
@@ -88,5 +88,4 @@ const usageHandler = async (event) => {
|
|
|
88
88
|
const readConsoleUsage = withConsoleAccess(usageHandler, { section: "usage" });
|
|
89
89
|
/** `GET <base>/_vitehub/console/usage` */
|
|
90
90
|
const consoleUsageRoute = consoleRoute(readConsoleUsage);
|
|
91
|
-
//#endregion
|
|
92
91
|
export { consoleUsageRoute as default, readConsoleUsage };
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
//#region src/console/runtime/server/workspace-files.get.d.ts
|
|
1
|
+
import { s as ConsoleAccessRoute } from "../../../access-policy-CUbJLvlR.js";
|
|
2
|
+
import { n as WorkspaceFileResponse, t as WorkspaceDescriptor } from "../../../workspace-history-WuxgLsi4.js";
|
|
3
|
+
import { t as ConsoleRequestEvent } from "../../../request-BC_krbEr.js";
|
|
5
4
|
/**
|
|
6
5
|
* Reads one Workspace for the Workspaces section: the head of a ref, or a given revision, with `main` as the base of
|
|
7
6
|
* its changes. A Workspace without retained history shows its mounted files.
|
|
8
7
|
*/
|
|
9
8
|
declare function consoleWorkspaceFilesHandler(event: ConsoleRequestEvent): Promise<WorkspaceDescriptor | WorkspaceFileResponse>;
|
|
10
9
|
declare const guardedHandler: ConsoleAccessRoute<typeof consoleWorkspaceFilesHandler>;
|
|
11
|
-
//#endregion
|
|
12
10
|
export { guardedHandler as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { h as withConsoleAccess } from "../../../access-
|
|
2
|
-
import { o as consoleRequestURL, t as assertConsoleRequest } from "../../../request-
|
|
3
|
-
import { a as readWorkspaceRevision, i as readMountedWorkspace, n as historyMetadata, o as stringValue, r as historyReader, t as failure } from "../../../workspace-history-
|
|
1
|
+
import { h as withConsoleAccess } from "../../../access-BBHk9b5P.js";
|
|
2
|
+
import { o as consoleRequestURL, t as assertConsoleRequest } from "../../../request-CQ8TkHLh.js";
|
|
3
|
+
import { a as readWorkspaceRevision, i as readMountedWorkspace, n as historyMetadata, o as stringValue, r as historyReader, t as failure } from "../../../workspace-history-B52xib2J.js";
|
|
4
4
|
import { useWorkspaceFiles } from "@vite-hub/workspace/files";
|
|
5
|
-
|
|
5
|
+
// src/console/runtime/server/workspace-files.get.ts
|
|
6
6
|
/** The ref that other refs are compared with. */
|
|
7
7
|
const baseRef = "main";
|
|
8
8
|
/**
|
|
@@ -51,5 +51,4 @@ async function consoleWorkspaceFilesHandler(event) {
|
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
53
|
const guardedHandler = withConsoleAccess(consoleWorkspaceFilesHandler, { section: "workspaces" });
|
|
54
|
-
//#endregion
|
|
55
54
|
export { guardedHandler as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as siteStateCookie, i as siteAccessOperations, n as SiteInvite, r as SiteSession, t as SiteGrant } from "../../site-access-
|
|
1
|
+
import { a as siteStateCookie, i as siteAccessOperations, n as SiteInvite, r as SiteSession, t as SiteGrant } from "../../site-access-CUXIbbbR.js";
|
|
2
2
|
export { SiteGrant, SiteInvite, SiteSession, siteAccessOperations, siteStateCookie };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { siteAccessOperations, siteStateCookie };
|
|
1
|
+
export { t as siteAccessOperations, n as siteStateCookie } from "../../site-access-CmaZ-oaL.js";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as v from "valibot";
|
|
2
|
-
//#region src/console/runtime/skills.d.ts
|
|
3
2
|
export declare const consoleSkillsSchema: v.GenericSchema<unknown, {
|
|
4
3
|
agents: string[];
|
|
5
4
|
agent?: string;
|
|
@@ -14,5 +13,4 @@ export declare const consoleSkillFileSchema: v.GenericSchema<unknown, {
|
|
|
14
13
|
size: number;
|
|
15
14
|
}>;
|
|
16
15
|
export type ConsoleSkills = v.InferOutput<typeof consoleSkillsSchema>;
|
|
17
|
-
export type ConsoleSkillFile = v.InferOutput<typeof consoleSkillFileSchema>;
|
|
18
|
-
//#endregion
|
|
16
|
+
export type ConsoleSkillFile = v.InferOutput<typeof consoleSkillFileSchema>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from "valibot";
|
|
2
|
-
|
|
2
|
+
// src/console/runtime/skills.ts
|
|
3
3
|
const consoleSkillsSchema = v.object({
|
|
4
4
|
agents: v.array(v.string()),
|
|
5
5
|
agent: v.optional(v.string()),
|
|
@@ -13,5 +13,4 @@ const consoleSkillFileSchema = v.object({
|
|
|
13
13
|
content: v.string(),
|
|
14
14
|
size: v.number()
|
|
15
15
|
});
|
|
16
|
-
//#endregion
|
|
17
16
|
export { consoleSkillFileSchema, consoleSkillsSchema };
|
package/dist/console/server.d.ts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { n as
|
|
3
|
-
import { n as
|
|
4
|
-
import {
|
|
5
|
-
import "../
|
|
6
|
-
import { n as installConsoleProjectName, r as installConsoleSections } from "../setup-
|
|
7
|
-
import { n as
|
|
1
|
+
import "../usage-BduF04ks.js";
|
|
2
|
+
import { i as installConsoleAgents, n as getConsoleAgents, r as installConsoleAgentDefinitions } from "../agents-Gyw4VKPt.js";
|
|
3
|
+
import { n as getConsoleProjectName, r as getConsoleSections } from "../sections-DAtgYMVz.js";
|
|
4
|
+
import { n as installConsoleBlob, t as getConsoleBlob } from "../blob-_TtxDb-t.js";
|
|
5
|
+
import { a as installConsoleDefinitions, r as getConsoleDefinitions } from "../definitions-DRkgHKmk.js";
|
|
6
|
+
import { n as installConsoleProjectName, r as installConsoleSections } from "../setup-Ca7jtBLS.js";
|
|
7
|
+
import { n as installConsoleDatabase, t as getConsoleDatabase } from "../database-CPjZ3L0g.js";
|
|
8
8
|
import { AgentInvocations } from "@vite-hub/agent";
|
|
9
9
|
import { RuntimeHostContext } from "@vite-hub/runtime";
|
|
10
10
|
import "@libsql/client";
|
|
11
|
-
//#region src/console/runtime/server/invocations.d.ts
|
|
12
11
|
export declare function getConsoleInvocations(): AgentInvocations;
|
|
13
12
|
/**
|
|
14
13
|
* Registers the journal that the Console reads: `configuredInvocations`, else the app-wide Agent journal.
|
|
@@ -16,8 +15,6 @@ export declare function getConsoleInvocations(): AgentInvocations;
|
|
|
16
15
|
* One server bundle serves one project, so the Console keeps one journal in its state, like its sections.
|
|
17
16
|
*/
|
|
18
17
|
export declare function installConsoleInvocations(projectRoot: string, configuredInvocations?: AgentInvocations): AgentInvocations;
|
|
19
|
-
//#endregion
|
|
20
|
-
//#region src/console/server.d.ts
|
|
21
18
|
export interface ConsoleInvocationLink {
|
|
22
19
|
agentName: string;
|
|
23
20
|
id: string;
|
|
@@ -29,5 +26,4 @@ export interface ConsoleRuntime {
|
|
|
29
26
|
export declare const agentConsole: {
|
|
30
27
|
resolve(context: RuntimeHostContext<unknown>): ConsoleRuntime;
|
|
31
28
|
};
|
|
32
|
-
//#endregion
|
|
33
29
|
export { getConsoleAgents, getConsoleBlob, getConsoleDatabase, getConsoleDefinitions, getConsoleProjectName, getConsoleSections, installConsoleAgentDefinitions, installConsoleAgents, installConsoleBlob, installConsoleDatabase, installConsoleDefinitions, installConsoleProjectName, installConsoleSections };
|
package/dist/console/server.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as installConsoleBlob, t as getConsoleBlob } from "../blob-
|
|
2
|
-
import { r as installConsoleInvocations, t as getConsoleInvocations } from "../invocations-
|
|
3
|
-
import { c as getConsoleAgents, l as installConsoleAgentDefinitions, u as installConsoleAgents } from "../agents-
|
|
4
|
-
import { n as installConsoleProjectName, r as installConsoleSections } from "../setup-
|
|
5
|
-
import { n as getConsoleProjectName, r as getConsoleSections } from "../sections-
|
|
6
|
-
import { a as installConsoleDefinitions, r as getConsoleDefinitions } from "../definitions-
|
|
7
|
-
import { n as installConsoleDatabase, t as getConsoleDatabase } from "../database-
|
|
8
|
-
import { t as agentConsole } from "../server-
|
|
1
|
+
import { n as installConsoleBlob, t as getConsoleBlob } from "../blob-eH6j0AQj.js";
|
|
2
|
+
import { r as installConsoleInvocations, t as getConsoleInvocations } from "../invocations-8NThe8Bx.js";
|
|
3
|
+
import { c as getConsoleAgents, l as installConsoleAgentDefinitions, u as installConsoleAgents } from "../agents-Cz_uhhov.js";
|
|
4
|
+
import { n as installConsoleProjectName, r as installConsoleSections } from "../setup-DQz_i-ee.js";
|
|
5
|
+
import { n as getConsoleProjectName, r as getConsoleSections } from "../sections-BNTdIEJw.js";
|
|
6
|
+
import { a as installConsoleDefinitions, r as getConsoleDefinitions } from "../definitions-M7i2p8SR.js";
|
|
7
|
+
import { n as installConsoleDatabase, t as getConsoleDatabase } from "../database-CrgBUdIx.js";
|
|
8
|
+
import { t as agentConsole } from "../server-DsOEa4_A.js";
|
|
9
9
|
export { agentConsole, getConsoleAgents, getConsoleBlob, getConsoleDatabase, getConsoleDefinitions, getConsoleInvocations, getConsoleProjectName, getConsoleSections, installConsoleAgentDefinitions, installConsoleAgents, installConsoleBlob, installConsoleDatabase, installConsoleDefinitions, installConsoleInvocations, installConsoleProjectName, installConsoleSections };
|
package/dist/console/ui.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ComponentOptionsMixin, DefineComponent, PropType } from "vue";
|
|
2
2
|
import { AgentInspectionValue, AgentToolInspection } from "@vite-hub/ui";
|
|
3
3
|
import "@json-render/core";
|
|
4
|
-
//#region src/console/runtime/components/invocation/types.d.ts
|
|
5
4
|
type AgentInvocationStatus = "pending" | "running" | "completed" | "failed" | "cancelled";
|
|
6
5
|
interface AgentInvocationListItem {
|
|
7
6
|
channel?: string;
|
|
@@ -107,8 +106,6 @@ interface AgentInvocationView {
|
|
|
107
106
|
};
|
|
108
107
|
};
|
|
109
108
|
}
|
|
110
|
-
//#endregion
|
|
111
|
-
//#region src/console/runtime/components/invocation/agent-capability-inspector.d.ts
|
|
112
109
|
type AgentCapabilityInspectorPropOptions = {
|
|
113
110
|
invocation: {
|
|
114
111
|
type: PropType<AgentInvocationView>;
|
|
@@ -119,8 +116,6 @@ type AgentCapabilityInspectorEmits = {
|
|
|
119
116
|
selectActivity: (id: string) => boolean;
|
|
120
117
|
};
|
|
121
118
|
export declare const AgentCapabilityInspector: DefineComponent<AgentCapabilityInspectorPropOptions, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, AgentCapabilityInspectorEmits>;
|
|
122
|
-
//#endregion
|
|
123
|
-
//#region src/console/runtime/components/invocation/agent-invocation.d.ts
|
|
124
119
|
type InspectTarget = "agent" | "workspace";
|
|
125
120
|
type AgentInvocationPropOptions = {
|
|
126
121
|
header: {
|
|
@@ -174,8 +169,6 @@ type AgentInvocationInspectorEmits = {
|
|
|
174
169
|
selectActivity: (id: string) => boolean;
|
|
175
170
|
};
|
|
176
171
|
export declare const AgentInvocationInspector: DefineComponent<AgentInvocationInspectorPropOptions, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, AgentInvocationInspectorEmits>;
|
|
177
|
-
//#endregion
|
|
178
|
-
//#region src/console/runtime/components/invocation/agent-invocation-list.d.ts
|
|
179
172
|
type AgentInvocationListPropOptions = {
|
|
180
173
|
ariaLabel: {
|
|
181
174
|
default: string;
|
|
@@ -199,8 +192,6 @@ type AgentInvocationListEmits = {
|
|
|
199
192
|
select: (_item: AgentInvocationListItem) => true;
|
|
200
193
|
};
|
|
201
194
|
export declare const AgentInvocationList: DefineComponent<AgentInvocationListPropOptions, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, AgentInvocationListEmits>;
|
|
202
|
-
//#endregion
|
|
203
|
-
//#region src/console/runtime/components/invocation/invocation-display.d.ts
|
|
204
195
|
interface AgentInvocationDisplaySource {
|
|
205
196
|
agentName?: string;
|
|
206
197
|
annotations?: AgentInvocationView["annotations"];
|
|
@@ -213,5 +204,4 @@ interface AgentInvocationDisplaySource {
|
|
|
213
204
|
}
|
|
214
205
|
export declare function agentInvocationTitle(source: AgentInvocationDisplaySource): string;
|
|
215
206
|
export declare function agentInvocationContext(source: AgentInvocationDisplaySource): string;
|
|
216
|
-
//#endregion
|
|
217
207
|
export type { AgentInspectionValue, AgentInvocationConfiguration, AgentInvocationListItem, AgentInvocationStatus, AgentInvocationView, AgentToolInspection };
|
package/dist/console/ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as consoleDuration, l as consoleRelativeTime, r as consoleDateTime, t as consoleBytes } from "../format-
|
|
1
|
+
import { a as consoleDuration, l as consoleRelativeTime, r as consoleDateTime, t as consoleBytes } from "../format-Df-bS4Ly.js";
|
|
2
2
|
import { JSONUIProvider, Renderer } from "@json-render/vue";
|
|
3
3
|
import { Suspense, computed, defineAsyncComponent, defineComponent, getCurrentInstance, h, nextTick, onBeforeUnmount, onMounted, ref, useId, watch } from "vue";
|
|
4
4
|
import { Markdown, ToolList, useCopy } from "@vite-hub/ui";
|
|
@@ -44,8 +44,7 @@ function inputAttachmentsBody(attributes) {
|
|
|
44
44
|
const lines = [...rows(attributes["input.attachments.sent"]).map((item) => line(item, "Sent")), ...rows(attributes["input.attachments.skipped"]).map((item) => line(item, `Skipped (${item.reason ?? "unknown"})`))];
|
|
45
45
|
return lines.length ? lines.join("\n") : void 0;
|
|
46
46
|
}
|
|
47
|
-
|
|
48
|
-
//#region src/console/runtime/components/invocation/internal/payload-text.ts
|
|
47
|
+
// src/console/runtime/components/invocation/internal/payload-text.ts
|
|
49
48
|
function payloadText(value) {
|
|
50
49
|
if (typeof value === "string") return value;
|
|
51
50
|
const ancestors = [];
|
|
@@ -75,8 +74,7 @@ function payloadText(value) {
|
|
|
75
74
|
}
|
|
76
75
|
}
|
|
77
76
|
}
|
|
78
|
-
|
|
79
|
-
//#region src/console/runtime/components/invocation/internal/invocation-activity.ts
|
|
77
|
+
// src/console/runtime/components/invocation/internal/invocation-activity.ts
|
|
80
78
|
function record$1(value) {
|
|
81
79
|
return value !== null && typeof value === "object" && !Array.isArray(value) ? value : void 0;
|
|
82
80
|
}
|
|
@@ -667,8 +665,7 @@ function terminalText(value) {
|
|
|
667
665
|
const escape = String.fromCharCode(27);
|
|
668
666
|
return value.replace(new RegExp(`${escape}\\[[0-?]*[ -/]*[@-~]`, "g"), "").replaceAll("\r", "");
|
|
669
667
|
}
|
|
670
|
-
|
|
671
|
-
//#region src/console/runtime/components/invocation/agent-capability-inspector.ts
|
|
668
|
+
// src/console/runtime/components/invocation/agent-capability-inspector.ts
|
|
672
669
|
function record(value) {
|
|
673
670
|
return value !== null && typeof value === "object" && !Array.isArray(value) ? Object.fromEntries(Object.entries(value)) : void 0;
|
|
674
671
|
}
|
|
@@ -841,8 +838,7 @@ selectActivity: (id) => Boolean(id) },
|
|
|
841
838
|
]);
|
|
842
839
|
}
|
|
843
840
|
});
|
|
844
|
-
|
|
845
|
-
//#region src/console/runtime/components/invocation/internal/channel-icon.ts
|
|
841
|
+
// src/console/runtime/components/invocation/internal/channel-icon.ts
|
|
846
842
|
const channelMarks = {
|
|
847
843
|
"teams": {
|
|
848
844
|
"label": "Microsoft Teams",
|
|
@@ -893,8 +889,7 @@ function channelIcon(channel) {
|
|
|
893
889
|
innerHTML: mark.body
|
|
894
890
|
})]);
|
|
895
891
|
}
|
|
896
|
-
|
|
897
|
-
//#region src/console/runtime/components/invocation/internal/brand-icons.ts
|
|
892
|
+
// src/console/runtime/components/invocation/internal/brand-icons.ts
|
|
898
893
|
/**
|
|
899
894
|
* @license
|
|
900
895
|
* AI brand marks from Lobe Icons (@lobehub/icons-static-svg 1.95.1).
|
|
@@ -921,6 +916,9 @@ function channelIcon(channel) {
|
|
|
921
916
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
922
917
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
923
918
|
* SOFTWARE.
|
|
919
|
+
*
|
|
920
|
+
* `claude` is the Claude mark of Simple Icons (@iconify-json/simple-icons 1.2.98, CC0-1.0). `t3` is the T3 Code mark,
|
|
921
|
+
* cut out of a rounded tile so it keeps its shape in one color.
|
|
924
922
|
*/
|
|
925
923
|
/** Monochrome 24 x 24 marks that render with `currentColor`. */
|
|
926
924
|
const brandIcons = {
|
|
@@ -942,6 +940,7 @@ const brandIcons = {
|
|
|
942
940
|
clipRule: "evenodd",
|
|
943
941
|
d: "M14.121 2.701a9.299 9.299 0 000 18.598V22.7c-5.91 0-10.7-4.791-10.7-10.701S8.21 1.299 14.12 1.299V2.7zm4.752 3.677A7.353 7.353 0 109.42 17.643l-.901 1.074a8.754 8.754 0 01-1.08-12.334 8.755 8.755 0 0112.335-1.08l-.901 1.075zm-2.255.844a5.407 5.407 0 00-5.048 9.563l-.656 1.24a6.81 6.81 0 016.358-12.043l-.654 1.24zM14.12 8.539a3.46 3.46 0 100 6.922v1.402a4.863 4.863 0 010-9.726v1.402z"
|
|
944
942
|
}, { d: "M15.407 10.836a2.24 2.24 0 00-.51-.409 1.084 1.084 0 00-.544-.152c-.255 0-.483.047-.684.14a1.58 1.58 0 00-.84.912c-.074.203-.11.416-.11.631 0 .218.036.43.11.631a1.594 1.594 0 00.84.913c.2.093.43.14.684.14.216 0 .417-.046.602-.135.188-.09.35-.225.475-.392l.928 1.006c-.14.14-.3.261-.482.363a3.367 3.367 0 01-1.083.38c-.17.026-.317.04-.44.04a3.315 3.315 0 01-1.182-.21 2.825 2.825 0 01-.961-.597 2.816 2.816 0 01-.644-.929 2.987 2.987 0 01-.238-1.21c0-.444.08-.847.238-1.21.15-.35.368-.666.643-.929.278-.261.605-.464.962-.596a3.315 3.315 0 011.182-.21c.355 0 .712.068 1.072.204.361.138.685.36.944.649l-.962.97z" }],
|
|
943
|
+
claude: [{ d: "m4.714 15.956l4.718-2.648l.079-.23l-.08-.128h-.23l-.79-.048l-2.695-.073l-2.337-.097l-2.265-.122l-.57-.121l-.535-.704l.055-.353l.48-.321l.685.06l1.518.104l2.277.157l1.651.098l2.447.255h.389l.054-.158l-.133-.097l-.103-.098l-2.356-1.596l-2.55-1.688l-1.336-.972l-.722-.491L2 6.223l-.158-1.008l.656-.722l.88.06l.224.061l.893.686l1.906 1.476l2.49 1.833l.364.304l.146-.104l.018-.072l-.164-.274l-1.354-2.446l-1.445-2.49l-.644-1.032l-.17-.619a3 3 0 0 1-.103-.729L6.287.133L6.7 0l.995.134l.42.364l.619 1.415L9.735 4.14l1.555 3.03l.455.898l.243.832l.09.255h.159V9.01l.127-1.706l.237-2.095l.23-2.695l.08-.76l.376-.91l.747-.492l.583.28l.48.685l-.067.444l-.286 1.851l-.558 2.903l-.365 1.942h.213l.243-.242l.983-1.306l1.652-2.064l.728-.82l.85-.904l.547-.431h1.032l.759 1.129l-.34 1.166l-1.063 1.347l-.88 1.142l-1.263 1.7l-.79 1.36l.074.11l.188-.02l2.853-.606l1.542-.28l1.84-.315l.832.388l.09.395l-.327.807l-1.967.486l-2.307.462l-3.436.813l-.043.03l.049.061l1.548.146l.662.036h1.62l3.018.225l.79.522l.473.638l-.08.485l-1.213.62l-1.64-.389l-3.825-.91l-1.31-.329h-.183v.11l1.093 1.068l2.003 1.81l2.508 2.33l.127.578l-.321.455l-.34-.049l-2.204-1.657l-.85-.747l-1.925-1.62h-.127v.17l.443.649l2.343 3.521l.122 1.08l-.17.353l-.607.213l-.668-.122l-1.372-1.924l-1.415-2.168l-1.141-1.943l-.14.08l-.674 7.254l-.316.37l-.728.28l-.607-.461l-.322-.747l.322-1.476l.388-1.924l.316-1.53l.285-1.9l.17-.632l-.012-.042l-.14.018l-1.432 1.967l-2.18 2.945l-1.724 1.845l-.413.164l-.716-.37l.066-.662l.401-.589l2.386-3.036l1.439-1.882l.929-1.086l-.006-.158h-.055L4.138 18.56l-1.13.146l-.485-.456l.06-.746l.231-.243l1.907-1.312Z" }],
|
|
945
944
|
cloudflare: [{ d: "M16.493 17.4c.135-.52.08-.983-.161-1.338-.215-.328-.592-.519-1.05-.519l-8.663-.109a.148.148 0 01-.135-.082c-.027-.054-.027-.109-.027-.163.027-.082.108-.164.189-.164l8.744-.11c1.05-.054 2.153-.9 2.556-1.937l.511-1.31c.027-.055.027-.11.027-.164C17.92 8.91 15.66 7 12.942 7c-2.503 0-4.628 1.638-5.381 3.903a2.432 2.432 0 00-1.803-.491c-1.21.109-2.153 1.092-2.287 2.32-.027.328 0 .628.054.9C1.56 13.688 0 15.326 0 17.319c0 .19.027.355.027.545 0 .082.08.137.161.137h15.983c.08 0 .188-.055.215-.164l.107-.437" }, { d: "M19.238 11.75h-.242c-.054 0-.108.054-.135.109l-.35 1.2c-.134.52-.08.983.162 1.338.215.328.592.518 1.05.518l1.855.11c.054 0 .108.027.135.082.027.054.027.109.027.163-.027.082-.108.164-.188.164l-1.91.11c-1.05.054-2.153.9-2.557 1.937l-.134.355c-.027.055.026.137.107.137h6.592c.081 0 .162-.055.162-.137.107-.41.188-.846.188-1.31-.027-2.62-2.153-4.777-4.762-4.777" }],
|
|
946
945
|
cohere: [
|
|
947
946
|
{
|
|
@@ -981,6 +980,10 @@ const brandIcons = {
|
|
|
981
980
|
perplexity: [{ d: "M19.785 0v7.272H22.5V17.62h-2.935V24l-7.037-6.194v6.145h-1.091v-6.152L4.392 24v-6.465H1.5V7.188h2.884V0l7.053 6.494V.19h1.09v6.49L19.786 0zm-7.257 9.044v7.319l5.946 5.234V14.44l-5.946-5.397zm-1.099-.08l-5.946 5.398v7.235l5.946-5.234V8.965zm8.136 7.58h1.844V8.349H13.46l6.105 5.54v2.655zm-8.982-8.28H2.59v8.195h1.8v-2.576l6.192-5.62zM5.475 2.476v4.71h5.115l-5.115-4.71zm13.219 0l-5.115 4.71h5.115v-4.71z" }],
|
|
982
981
|
qwen: [{ d: "M12.604 1.34c.393.69.784 1.382 1.174 2.075a.18.18 0 00.157.091h5.552c.174 0 .322.11.446.327l1.454 2.57c.19.337.24.478.024.837-.26.43-.513.864-.76 1.3l-.367.658c-.106.196-.223.28-.04.512l2.652 4.637c.172.301.111.494-.043.77-.437.785-.882 1.564-1.335 2.34-.159.272-.352.375-.68.37-.777-.016-1.552-.01-2.327.016a.099.099 0 00-.081.05 575.097 575.097 0 01-2.705 4.74c-.169.293-.38.363-.725.364-.997.003-2.002.004-3.017.002a.537.537 0 01-.465-.271l-1.335-2.323a.09.09 0 00-.083-.049H4.982c-.285.03-.553-.001-.805-.092l-1.603-2.77a.543.543 0 01-.002-.54l1.207-2.12a.198.198 0 000-.197 550.951 550.951 0 01-1.875-3.272l-.79-1.395c-.16-.31-.173-.496.095-.965.465-.813.927-1.625 1.387-2.436.132-.234.304-.334.584-.335a338.3 338.3 0 012.589-.001.124.124 0 00.107-.063l2.806-4.895a.488.488 0 01.422-.246c.524-.001 1.053 0 1.583-.006L11.704 1c.341-.003.724.032.9.34zm-3.432.403a.06.06 0 00-.052.03L6.254 6.788a.157.157 0 01-.135.078H3.253c-.056 0-.07.025-.041.074l5.81 10.156c.025.042.013.062-.034.063l-2.795.015a.218.218 0 00-.2.116l-1.32 2.31c-.044.078-.021.118.068.118l5.716.008c.046 0 .08.02.104.061l1.403 2.454c.046.081.092.082.139 0l5.006-8.76.783-1.382a.055.055 0 01.096 0l1.424 2.53a.122.122 0 00.107.062l2.763-.02a.04.04 0 00.035-.02.041.041 0 000-.04l-2.9-5.086a.108.108 0 010-.113l.293-.507 1.12-1.977c.024-.041.012-.062-.035-.062H9.2c-.059 0-.073-.026-.043-.077l1.434-2.505a.107.107 0 000-.114L9.225 1.774a.06.06 0 00-.053-.031zm6.29 8.02c.046 0 .058.02.034.06l-.832 1.465-2.613 4.585a.056.056 0 01-.05.029.058.058 0 01-.05-.029L8.498 9.841c-.02-.034-.01-.052.028-.054l.216-.012 6.722-.012z" }],
|
|
983
982
|
replicate: [{ d: "M22 10.552v2.26h-7.932V22H11.54V10.552H22zM22 2v2.264H4.528V22H2V2h20zm0 4.276V8.54H9.296V22H6.768V6.276H22z" }],
|
|
983
|
+
t3: [{
|
|
984
|
+
clipRule: "evenodd",
|
|
985
|
+
d: "M5.4 0H18.6A5.4 5.4 0 0 1 24 5.4V18.6A5.4 5.4 0 0 1 18.6 24H5.4A5.4 5.4 0 0 1 0 18.6V5.4A5.4 5.4 0 0 1 5.4 0ZM7.236 16.478V9.084H4.32V7.366H12.261V9.084H9.345V16.478H7.236ZM15.905 16.634C15.271 16.634 14.642 16.552 14.017 16.387C13.392 16.213 12.863 15.97 12.429 15.658L13.249 14.044C13.596 14.295 14 14.495 14.46 14.643C14.92 14.79 15.384 14.864 15.853 14.864C16.382 14.864 16.799 14.76 17.103 14.551C17.406 14.343 17.558 14.057 17.558 13.692C17.558 13.345 17.424 13.072 17.155 12.872C16.886 12.673 16.452 12.573 15.853 12.573H14.89V11.18L17.428 8.303L17.662 9.058H12.885V7.366H19.263V8.733L16.738 11.609L15.671 10.998H16.282C17.402 10.998 18.248 11.249 18.821 11.753C19.394 12.256 19.68 12.903 19.68 13.692C19.68 14.204 19.546 14.686 19.276 15.137C19.007 15.58 18.595 15.94 18.04 16.218C17.484 16.495 16.773 16.634 15.905 16.634Z"
|
|
986
|
+
}],
|
|
984
987
|
together: [
|
|
985
988
|
{ d: "M23.197 4.503A6 6 0 0015 2.307a5.973 5.973 0 00-2.995 4.933l5.996.008v.515h-5.996c.039.937.298 1.87.8 2.74a6 6 0 1010.39-6z" },
|
|
986
989
|
{ d: "M.805 4.5A6 6 0 003 12.697a5.972 5.972 0 005.77.127L5.779 7.627l.446-.257 2.997 5.192A6 6 0 10.804 4.5z" },
|
|
@@ -989,8 +992,9 @@ const brandIcons = {
|
|
|
989
992
|
xai: [{ d: "M6.469 8.776L16.512 23h-4.464L2.005 8.776H6.47zm-.004 7.9l2.233 3.164L6.467 23H2l4.465-6.324zM22 2.582V23h-3.659V7.764L22 2.582zM22 1l-9.952 14.095-2.233-3.163L17.533 1H22z" }],
|
|
990
993
|
zai: [{ d: "M12.105 2L9.927 4.953H.653L2.83 2h9.276zM23.254 19.048L21.078 22h-9.242l2.174-2.952h9.244zM24 2L9.264 22H0L14.736 2H24z" }]
|
|
991
994
|
};
|
|
992
|
-
|
|
993
|
-
|
|
995
|
+
/** The marks that keep their brand color. The others render with `currentColor`. */
|
|
996
|
+
const brandColors = { claude: "#D97757" };
|
|
997
|
+
// src/console/runtime/components/invocation/internal/invocation-brand.ts
|
|
994
998
|
const brands = {
|
|
995
999
|
alibaba: {
|
|
996
1000
|
icon: "qwen",
|
|
@@ -1017,7 +1021,7 @@ const brands = {
|
|
|
1017
1021
|
label: "Cerebras"
|
|
1018
1022
|
},
|
|
1019
1023
|
"claude-code": {
|
|
1020
|
-
icon: "
|
|
1024
|
+
icon: "claude",
|
|
1021
1025
|
label: "Claude Code"
|
|
1022
1026
|
},
|
|
1023
1027
|
cloudflare: {
|
|
@@ -1096,6 +1100,10 @@ const brands = {
|
|
|
1096
1100
|
icon: "replicate",
|
|
1097
1101
|
label: "Replicate"
|
|
1098
1102
|
},
|
|
1103
|
+
t3: {
|
|
1104
|
+
icon: "t3",
|
|
1105
|
+
label: "T3 Code"
|
|
1106
|
+
},
|
|
1099
1107
|
together: {
|
|
1100
1108
|
icon: "together",
|
|
1101
1109
|
label: "Together AI"
|
|
@@ -1117,6 +1125,7 @@ const providerAliases = {
|
|
|
1117
1125
|
"fireworks-ai": "fireworks",
|
|
1118
1126
|
"google-vertex": "google",
|
|
1119
1127
|
"hugging-face": "huggingface",
|
|
1128
|
+
"t3-code": "t3",
|
|
1120
1129
|
"microsoft-azure": "azure",
|
|
1121
1130
|
mistralai: "mistral",
|
|
1122
1131
|
"moonshot-ai": "moonshot",
|
|
@@ -1202,7 +1211,9 @@ function invocationBrandMark(value, className) {
|
|
|
1202
1211
|
"aria-hidden": "true",
|
|
1203
1212
|
class: `vh-invocation-brand__logo ${className}`,
|
|
1204
1213
|
"data-brand": value.id,
|
|
1214
|
+
fill: "currentColor",
|
|
1205
1215
|
"fill-rule": "evenodd",
|
|
1216
|
+
style: brandColors[value.icon] ? { color: brandColors[value.icon] } : void 0,
|
|
1206
1217
|
viewBox: "0 0 24 24"
|
|
1207
1218
|
}, paths.map((path) => h("path", {
|
|
1208
1219
|
"clip-rule": path.clipRule,
|
|
@@ -1230,8 +1241,7 @@ function invocationModelName(value) {
|
|
|
1230
1241
|
return `${part[0]?.toLocaleUpperCase() ?? ""}${part.slice(1)}`;
|
|
1231
1242
|
}).join(" ") || "Configured model";
|
|
1232
1243
|
}
|
|
1233
|
-
|
|
1234
|
-
//#region src/console/runtime/components/invocation/internal/url.ts
|
|
1244
|
+
// src/console/runtime/components/invocation/internal/url.ts
|
|
1235
1245
|
function isSafeExternalUrl(value) {
|
|
1236
1246
|
try {
|
|
1237
1247
|
const protocol = new URL(value).protocol;
|
|
@@ -1240,8 +1250,7 @@ function isSafeExternalUrl(value) {
|
|
|
1240
1250
|
return false;
|
|
1241
1251
|
}
|
|
1242
1252
|
}
|
|
1243
|
-
|
|
1244
|
-
//#region src/console/runtime/components/invocation/invocation-display.ts
|
|
1253
|
+
// src/console/runtime/components/invocation/invocation-display.ts
|
|
1245
1254
|
function annotation(source, key) {
|
|
1246
1255
|
const value = source.annotations?.[key];
|
|
1247
1256
|
return typeof value === "string" && value.trim() ? value.trim() : void 0;
|
|
@@ -1262,8 +1271,7 @@ function agentInvocationExternalUrl(source) {
|
|
|
1262
1271
|
const value = annotation(source, "github.url");
|
|
1263
1272
|
return value && isSafeExternalUrl(value) ? value : void 0;
|
|
1264
1273
|
}
|
|
1265
|
-
|
|
1266
|
-
//#region src/console/runtime/components/invocation/agent-invocation-timeline.ts
|
|
1274
|
+
// src/console/runtime/components/invocation/agent-invocation-timeline.ts
|
|
1267
1275
|
/** ViteHub owns preparation, delivery, and its own tools; the Agent owns the rest. */
|
|
1268
1276
|
function timelineOwner(activity) {
|
|
1269
1277
|
const tool = String(activity.attributes["tool.name"] ?? "").toLocaleLowerCase();
|
|
@@ -1328,8 +1336,7 @@ const AgentInvocationTimeline = defineComponent({
|
|
|
1328
1336
|
])]))) : slots.empty?.() ?? h("p", { class: "vh-invocation-timeline__empty" }, "No timed steps recorded.")]);
|
|
1329
1337
|
}
|
|
1330
1338
|
});
|
|
1331
|
-
|
|
1332
|
-
//#region src/console/runtime/components/invocation/internal/invocation-conversation.ts
|
|
1339
|
+
// src/console/runtime/components/invocation/internal/invocation-conversation.ts
|
|
1333
1340
|
/** Selects the current turn and separates visible answers from their work receipts. */
|
|
1334
1341
|
function buildInvocationConversation(activities) {
|
|
1335
1342
|
const inputActivities = withoutInitialDriverEcho(activities);
|
|
@@ -1460,9 +1467,8 @@ function deliveryAnswer(activity) {
|
|
|
1460
1467
|
role: "assistant"
|
|
1461
1468
|
};
|
|
1462
1469
|
}
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
const InvocationPatchDiff = defineAsyncComponent(() => import("../console-lazy-views-DXnIkdyd.js").then((module) => module.PatchDiff));
|
|
1470
|
+
// src/console/runtime/components/invocation/agent-invocation.ts
|
|
1471
|
+
const InvocationPatchDiff = defineAsyncComponent(() => import("../console-lazy-views-VEjcbL4Q.js").then((module) => module.PatchDiff));
|
|
1466
1472
|
function statusLabel(status) {
|
|
1467
1473
|
const labels = {
|
|
1468
1474
|
cancelled: "Cancelled",
|
|
@@ -3076,8 +3082,7 @@ const AgentInvocationInspector = defineComponent({
|
|
|
3076
3082
|
};
|
|
3077
3083
|
}
|
|
3078
3084
|
});
|
|
3079
|
-
|
|
3080
|
-
//#region src/console/runtime/components/invocation/agent-invocation-list.ts
|
|
3085
|
+
// src/console/runtime/components/invocation/agent-invocation-list.ts
|
|
3081
3086
|
/** The status words of the session list. Console search uses them too. */
|
|
3082
3087
|
function invocationStatusLabel(status) {
|
|
3083
3088
|
const labels = {
|
|
@@ -3330,5 +3335,4 @@ const AgentInvocationList = defineComponent({
|
|
|
3330
3335
|
]);
|
|
3331
3336
|
}
|
|
3332
3337
|
});
|
|
3333
|
-
//#endregion
|
|
3334
3338
|
export { AgentCapabilityInspector, AgentInvocation, AgentInvocationInspector, AgentInvocationList, agentInvocationContext, agentInvocationTitle };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PatchDiff } from "@vite-hub/ui";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as viteHubErrorDiagnostics } from "./error-diagnostics-
|
|
2
|
-
import { decodeRouteSegment, encodeRouteSegment } from "@vite-hub/runtime";
|
|
3
|
-
|
|
1
|
+
import { t as viteHubErrorDiagnostics } from "./error-diagnostics-CBtvqI30.js";
|
|
2
|
+
import { decodeRouteSegment, encodeRouteSegment } from "@vite-hub/runtime/internal/console";
|
|
3
|
+
// src/console/runtime/console-route.ts
|
|
4
4
|
const consoleDatabasesSchemaPath = "/databases/:database/schema/diagram";
|
|
5
5
|
const consoleDatabasesTablePath = "/databases/:database?/:table?";
|
|
6
6
|
/** Return the application mount prefix before the Console route marker. */
|
|
@@ -45,5 +45,4 @@ function resolveConsoleRouteName(currentRouteName, targetRouteName) {
|
|
|
45
45
|
const consoleRouteName = consoleRouteNamePattern.exec(currentRouteName)?.[0];
|
|
46
46
|
return `${targetRouteName}${consoleRouteName ? currentRouteName.slice(consoleRouteName.length) : ""}`;
|
|
47
47
|
}
|
|
48
|
-
//#endregion
|
|
49
48
|
export { decodeAgentRouteParam as a, resolveUsageSessionsAgent as c, consoleMountPath as i, consoleDatabasesTablePath as n, encodeAgentRouteParam as o, consoleMountBase as r, resolveConsoleRouteName as s, consoleDatabasesSchemaPath as t };
|
package/dist/console.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { t as ConsoleAgentInvocationInput } from "./rpc-
|
|
2
|
-
//#region src/console.d.ts
|
|
1
|
+
import { t as ConsoleAgentInvocationInput } from "./rpc-oijgKQtD.js";
|
|
3
2
|
export declare const consoleRoute = "/_vitehub";
|
|
4
|
-
//#endregion
|
|
5
3
|
export type { ConsoleAgentInvocationInput };
|
package/dist/console.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { n as ConsoleDatabaseEntry, r as ConsoleDatabaseInspection } from "./internal-
|
|
2
|
-
//#region src/console/runtime/server/database.d.ts
|
|
1
|
+
import { n as ConsoleDatabaseEntry, r as ConsoleDatabaseInspection } from "./internal-CKocv79I.js";
|
|
3
2
|
declare function installConsoleDatabase(projectRoot: string, databases: Record<string, ConsoleDatabaseEntry>, names: readonly string[]): ConsoleDatabaseInspection;
|
|
4
3
|
declare function getConsoleDatabase(): ConsoleDatabaseInspection;
|
|
5
|
-
//#endregion
|
|
6
4
|
export { installConsoleDatabase as n, getConsoleDatabase as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { n as consoleState } from "./internal-0C_CC601.js";
|
|
2
|
+
import { t as viteHubErrorDiagnostics } from "./error-diagnostics-CBtvqI30.js";
|
|
3
|
+
// src/console/runtime/server/database.ts
|
|
4
4
|
function installConsoleDatabase(projectRoot, databases, names) {
|
|
5
5
|
const installedNames = [...new Set(names.filter((name) => name.length > 0))].filter((name) => Object.hasOwn(databases, name)).sort((left, right) => left === "default" ? -1 : right === "default" ? 1 : left.localeCompare(right));
|
|
6
6
|
return consoleState().database = {
|
|
@@ -13,5 +13,4 @@ function getConsoleDatabase() {
|
|
|
13
13
|
if (!inspection) throw viteHubErrorDiagnostics.VITE_HUB_R0051({ message: "[vitehub] Database inspection has not been installed for this runtime." });
|
|
14
14
|
return inspection;
|
|
15
15
|
}
|
|
16
|
-
//#endregion
|
|
17
16
|
export { installConsoleDatabase as n, getConsoleDatabase as t };
|