vite-hub 0.5.0 → 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/dist/_internal/runtime/browser-errors.d.ts +0 -2
- package/dist/_internal/runtime/browser-errors.js +3 -4
- 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 +1 -2
- package/dist/_internal/runtime/request-policy.js +2 -3
- package/dist/_internal/runtime/security.d.ts +1 -2
- package/dist/_internal/runtime/security.js +1 -2
- package/dist/{access-BC9HtX_M.js → access-BBHk9b5P.js} +12 -15
- package/dist/{access-policy-CVZg9LPR.js → access-policy-BM48XstY.js} +5 -6
- package/dist/{access-policy-DhsEACna.d.ts → access-policy-CUbJLvlR.d.ts} +4 -8
- package/dist/{account-Cjj-tYzo.d.ts → account-CoAO1F8G.d.ts} +5 -7
- package/dist/{agent-invocations.post-C3Onl2yH.js → agent-invocations.post-BAC1aHnG.js} +14 -17
- package/dist/agents-BClUWOj7.js +1 -0
- package/dist/{agents-B76RICcy.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-GFIN6xSJ.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-D3ugQ8xM.d.ts → auth-types-B4mq4YhK.d.ts} +0 -4
- package/dist/bin.js +8 -11
- package/dist/blob/nuxt-image.js +1 -2
- package/dist/{blob-iVewd7KQ.d.ts → blob-_TtxDb-t.d.ts} +1 -3
- package/dist/{blob-BcgsZtqM.js → blob-eH6j0AQj.js} +5 -6
- package/dist/{browser-error-limits-CToqAD-O.js → browser-error-limits-B0yS95zt.js} +2 -4
- 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/{cli-config-FPHk1nbC.js → cli-config-BX8H4ZCo.js} +2 -3
- package/dist/cli-config-DgpmE_7z.js +1 -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 +29 -45
- 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 +3 -4
- 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 +1 -1
- 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 +1 -1
- 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 +40 -12
- package/dist/console/runtime/client/site-access.js +152 -32
- 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-home.vue +9 -7
- 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 +7 -2
- 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-hosted-comments-embed.vue +106 -0
- package/dist/console/runtime/components/console-mcp-callback.vue +6 -1
- package/dist/console/runtime/components/console-mcp-items.vue +3 -16
- package/dist/console/runtime/components/console-site.vue +10 -8
- 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 +7 -0
- 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 +22 -21
- package/dist/console/runtime/page-tool/account.js +26 -0
- package/dist/console/runtime/page-tool/page-tool.js +2 -2
- 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 +5 -6
- 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 +5 -5
- package/dist/console/runtime/server/page-tools-route.d.ts +1 -1
- package/dist/console/runtime/server/page-tools-route.js +2 -3
- 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 +4 -4
- package/dist/console/runtime/server/setup.js +4 -4
- package/dist/console/runtime/server/site-entry.d.ts +1 -3
- package/dist/console/runtime/server/site-entry.js +9 -10
- package/dist/console/runtime/server/site-session.d.ts +3 -4
- 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 +14 -27
- package/dist/console-lazy-views-VEjcbL4Q.js +1 -0
- package/dist/{console-route-CM2G5hiC.js → console-route-DbdnLkkF.js} +2 -3
- package/dist/console.d.ts +1 -3
- package/dist/console.js +1 -2
- package/dist/{database-DC67Ipm-.d.ts → database-CPjZ3L0g.d.ts} +1 -3
- package/dist/{database-UMJgnU2z.js → database-CrgBUdIx.js} +3 -4
- package/dist/{definition-catalog-BUcclwSH.js → definition-catalog-1xPPtzOx.js} +3 -4
- 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-DTytrw42.js → definitions-M7i2p8SR.js} +5 -6
- package/dist/{deployment-BUshgN5Q.js → deployment-CURATxjG.js} +2 -3
- package/dist/deployment-l7RuKdEp.js +1 -0
- package/dist/{dev-peer-CHjyHYG6.js → dev-peer-DBq-isgi.js} +3 -5
- package/dist/{development-zLxOp-AO.js → development-DD567hhJ.js} +2 -3
- package/dist/{development-RnopiRwK.d.ts → development-I40mfD7B.d.ts} +1 -3
- package/dist/{diagnostics-DtR0TAmq.js → diagnostics-B2cqlCSz.js} +2 -2
- 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 +11492 -12152
- package/dist/{documents-BewAPY61.js → documents-BOYwZ5g4.js} +7 -8
- package/dist/{documents-B4R4JSfH.js → documents-Ck_iub9w.js} +4 -5
- package/dist/{documents-BASIRZ91.d.ts → documents-DxK0tdjA.d.ts} +3 -5
- package/dist/{documents-BDR0AkYR.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/{entries-DbyNPLC9.js → entries-UFs9n1MB.js} +2 -3
- package/dist/{env-Dg1I_DWr.js → env-D-wtSupz.js} +2 -3
- package/dist/{error-diagnostics-B1yAIaSn.js → error-diagnostics-CBtvqI30.js} +2 -7
- package/dist/{error-diagnostics-C0KyI408.js → error-diagnostics-kKXseq8d.js} +5 -2
- package/dist/error-diagnostics.ts +1 -7
- package/dist/{features-CC5OcZqJ.js → features-BXRKlmtN.js} +5 -6
- package/dist/features-CD5i5I8V.js +1 -0
- package/dist/{format-BOYlanIZ.js → format-Df-bS4Ly.js} +1 -2
- package/dist/{github-login-Bi3bfjRX.js → github-login-W-vaahWP.js} +1 -2
- 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 +1 -7
- package/dist/index.js +5 -7
- package/dist/{inspect-DbZuP_7b.js → inspect-CWwAuL-B.js} +2 -3
- 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-Cc9N0shU.d.ts → internal-CKocv79I.d.ts} +3 -7
- package/dist/{invariant-DolT9EEx.js → invariant-Dj2R1eMr.js} +1 -2
- package/dist/{invocation-page-undo-DqYcPlkQ.js → invocation-page-undo-BEi-rO0Q.js} +4 -5
- package/dist/{invocations-6jxqLkGY.js → invocations-8NThe8Bx.js} +5 -6
- package/dist/{limits-BUlwWYQE.js → limits-BLo31qDR.js} +1 -2
- package/dist/logs/client.d.ts +1 -3
- package/dist/logs/client.js +1 -2
- 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-C91h8Taa.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-D3OfyKni.js → media-CAKz9yrp.js} +8 -9
- package/dist/{media-library-o8RRsnn_.js → media-library-BDX89xXA.js} +5 -6
- package/dist/{media-library-D9ThbXqs.d.ts → media-library-DxGu6w9z.d.ts} +0 -2
- package/dist/{memory-C54SDH_l.js → memory-D3EJS_Bp.js} +3 -4
- package/dist/{memory-2bbl4hcV.d.ts → memory-GK5ZGWrp.d.ts} +1 -3
- package/dist/{nuxt-server-auto-imports-cfTZYvgy.js → nuxt-server-auto-imports-4aT5BD4u.js} +1 -2
- package/dist/{nuxt-server-imports-75bWMeXc.js → nuxt-server-imports-BdJqiVhT.js} +1 -2
- package/dist/nuxt.d.ts +1 -3
- package/dist/nuxt.js +184 -130
- package/dist/{object-D8pRdprI.js → object-DRSmpe04.js} +1 -2
- package/dist/{operation-contributions-CrdmqtJW.d.ts → operation-contributions-BCcQVlGb.d.ts} +1 -3
- package/dist/{operation-contributions-C3lwePQu.js → operation-contributions-D10pjkJF.js} +4 -5
- package/dist/{operation-definition-DxjKcCGm.js → operation-definition-DTpNvLd8.js} +5 -8
- 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-CFYGXqLm.js → operations-CD_mu_Ww.js} +4 -5
- package/dist/operations-D7ENc68Y.js +1 -0
- package/dist/{operations-TTjL_7Zc.d.ts → operations-DgFhA1WE.d.ts} +0 -4
- package/dist/{operations-ChEXk2ij.js → operations-vRLiH7dh.js} +15 -16
- package/dist/{optional-owners-O6sj4uoj.js → optional-owners-DAfShdgV.js} +4 -5
- package/dist/{out-fRNaVslw.js → out-Cw5Tvr92.js} +2933 -2301
- package/dist/{owned-paths-BnjT0FhU.js → owned-paths-MjjDftBn.js} +1 -2
- package/dist/page/pill.iife.js +2 -2
- package/dist/{page-tool-PmxH65gt.d.ts → page-tool-BUnUbuSy.d.ts} +4 -6
- package/dist/{page-tools-ClgqElu-.js → page-tools-BQzwuAHD.js} +5 -7
- package/dist/{page-tools-DcCCtDKi.d.ts → page-tools-UwsfvH-B.d.ts} +0 -2
- package/dist/{page-tools-shared-aNC9YtoI.js → page-tools-shared-hJcG_xk8.js} +2 -2
- package/dist/{pathe.M-eThtNZ-J4gfe1m9.js → pathe.M-eThtNZ-D4EC7Wue.js} +1 -2
- package/dist/{plugins-DoXnU6-s.d.ts → plugins-BpiTVULl.d.ts} +3 -101
- package/dist/{plugins-BTZQaFtZ.js → plugins-H6-MQrsn.js} +1544 -1087
- package/dist/presets/workspace.js +1 -2
- package/dist/{project-DXZRZEPX.js → project-BxyyclTE.js} +8 -9
- package/dist/{project-Dgyq1F1V.d.ts → project-DKBIHOf4.d.ts} +3 -7
- package/dist/{project-DlWTGB7h.js → project-DRC67Uiu.js} +1 -2
- package/dist/{project-link-DT99MoyU.js → project-link-CeS0T8Pr.js} +7 -8
- package/dist/{project-link-bNS-KROO.d.ts → project-link-isfdRO3Q.d.ts} +2 -4
- 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-SBLxvpyr.d.ts → request-CJCPyu2B.d.ts} +2 -3
- package/dist/{request-CMA2UKKq.js → request-CQ8TkHLh.js} +4 -5
- package/dist/{request-Cs0FqxEL.js → request-Cl68STwT.js} +7 -8
- package/dist/{request-origin-COUkgHd6.js → request-origin-pzWr9UUu.js} +1 -2
- package/dist/{rolldown-runtime-CMFfr-1z.js → rolldown-runtime-DegdyBIC.js} +2 -3
- 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-B-46Bawt.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-CX_l_78I.js → runtime-F0CTqBFx.js} +5 -6
- package/dist/{runtime-feature-guard-CuyPVGj9.js → runtime-feature-guard-DpUn4Oxc.js} +6 -7
- 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-DELGKpCJ.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-BKUReack.js → sections-HLxb9MrG.js} +14 -7
- package/dist/{sections.get-H46e2urg.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-W0c79AYZ.js → server-DsOEa4_A.js} +3 -4
- package/dist/{setup-BC0P3eZy.d.ts → setup-Ca7jtBLS.d.ts} +4 -6
- package/dist/{setup-DNGzawFn.js → setup-DQz_i-ee.js} +3 -4
- package/dist/{site-access-L1qbvKt6.js → site-access-1JIQjY11.js} +8 -9
- 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-CRwgKtTF.js → site-session-D36fr7Wf.js} +8 -11
- package/dist/skills/operations.d.ts +1 -5
- package/dist/skills/operations.js +4 -5
- package/dist/{skills-DdpSMiCI.js → skills-C1MaGEbO.js} +1 -2
- package/dist/skills.d.ts +1 -2
- package/dist/{skills.get-CRd06TTb.js → skills.get-DAooGWy5.js} +3 -4
- package/dist/skills.js +1 -2
- package/dist/{source-Cw3iYvJF.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-DtBAstEU.js → ticket-BwsnryuU.js} +2 -3
- package/dist/{tickets-DahBmKDT.js → tickets-Cj9_y3gw.js} +10 -11
- package/dist/ui/vite.js +1 -2
- package/dist/{usage-CoQXs5nW.d.ts → usage-BduF04ks.d.ts} +0 -2
- package/dist/{usage-jKtAgJZ0.js → usage-ZV3TBMzE.js} +3 -4
- package/dist/{usage-index-VJAZ7a0p.js → usage-index-CR_xTrXO.js} +3 -4
- package/dist/{version-dkga9imp.js → version-CAhBr673.js} +13 -16
- package/dist/{vite-stage-D7fe614I.js → vite-stage-Dmo4RgnK.js} +3 -5
- package/dist/{vue-router-C68IU1jM.d.ts → vue-router-plZJLlpm.d.ts} +120 -182
- package/dist/{workspace-history-B95Q-kGI.js → workspace-history-B52xib2J.js} +3 -4
- package/dist/{workspace-history-CeVwBB6Q.d.ts → workspace-history-WuxgLsi4.d.ts} +0 -2
- package/package.json +144 -144
- package/dist/agents-BhFggA26.js +0 -2
- package/dist/cli-config-g_mbWdjT.js +0 -2
- package/dist/console-lazy-views-DXnIkdyd.js +0 -2
- package/dist/definition-catalog-og_1razf.js +0 -2
- package/dist/deployment-C2B0hBBj.js +0 -2
- package/dist/features-ujWsvlEH.js +0 -2
- package/dist/operations-5Lwd1xEI.js +0 -2
- package/dist/scan-module-D_3X08mj.js +0 -2
- package/dist/sections-CFiMNsqu.d.ts +0 -10
- package/dist/site-access-CAiWyKOD.js +0 -2
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/console/runtime/client/invocation-deletion.d.ts
|
|
2
1
|
interface ConsoleInvocationDeletionActions {
|
|
3
2
|
clearSelection: () => void;
|
|
4
3
|
navigate: () => Promise<unknown>;
|
|
@@ -14,4 +13,4 @@ interface ConsoleInvocationDeletion {
|
|
|
14
13
|
}
|
|
15
14
|
/** Keep confirmed deletions excluded while route and list requests settle. */
|
|
16
15
|
export declare function createConsoleInvocationDeletion(): ConsoleInvocationDeletion;
|
|
17
|
-
|
|
16
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/console/runtime/client/invocation-deletion.ts
|
|
2
2
|
/** Keep confirmed deletions excluded while route and list requests settle. */
|
|
3
3
|
function createConsoleInvocationDeletion() {
|
|
4
4
|
const deleted = /* @__PURE__ */ new Set();
|
|
@@ -21,5 +21,4 @@ function createConsoleInvocationDeletion() {
|
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
|
-
//#endregion
|
|
25
24
|
export { createConsoleInvocationDeletion };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AgentInvocationCancelResult } from "@vite-hub/agent";
|
|
2
2
|
import { FileUIPart } from "ai";
|
|
3
|
-
//#region src/console/runtime/client/invocation.d.ts
|
|
4
3
|
interface ConsoleInvocationTarget {
|
|
5
4
|
agent: string;
|
|
6
5
|
base: string;
|
|
@@ -25,4 +24,4 @@ export declare function cancelConsoleInvocation(base: string, id: string): Promi
|
|
|
25
24
|
}>;
|
|
26
25
|
/** Delete one completed, failed, or cancelled invocation from the Console journal. */
|
|
27
26
|
export declare function deleteConsoleInvocation(base: string, id: string): Promise<void>;
|
|
28
|
-
|
|
27
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { u as requestConsole } from "../../../request-Cl68STwT.js";
|
|
2
|
+
import { o as encodeAgentRouteParam } from "../../../console-route-DbdnLkkF.js";
|
|
3
|
+
import { t as viteHubErrorDiagnostics } from "../../../error-diagnostics-CBtvqI30.js";
|
|
4
4
|
import * as v from "valibot";
|
|
5
5
|
import { watch } from "vue";
|
|
6
|
-
|
|
6
|
+
// src/console/runtime/client/invocation.ts
|
|
7
7
|
const invocationResultSchema = v.object({ id: v.pipe(v.string(), v.nonEmpty()) });
|
|
8
8
|
/** Each selection change invalidates pending results, even when returning to the same Agent. */
|
|
9
9
|
function useConsoleInvocationTarget(target) {
|
|
@@ -77,5 +77,4 @@ async function deleteConsoleInvocation(base, id) {
|
|
|
77
77
|
method: "POST"
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
//#endregion
|
|
81
80
|
export { cancelConsoleInvocation, deleteConsoleInvocation, startConsoleAgentInvocation, useConsoleInvocationTarget };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { w as ConsoleDocumentSessionUser } from "../../../documents-
|
|
1
|
+
import { w as ConsoleDocumentSessionUser } from "../../../documents-DxK0tdjA.js";
|
|
2
2
|
import { ComputedRef, Ref, ShallowRef } from "vue";
|
|
3
3
|
import { RealtimeIssue, RealtimeReadOnlyReason } from "@vite-hub/realtime";
|
|
4
4
|
import { RealtimeResetEvent, useRealtimeTiptap } from "@vite-hub/realtime/vue";
|
|
5
|
-
//#region src/console/runtime/client/live.d.ts
|
|
6
5
|
/** One other person in a live room, with the property they are editing, if any. */
|
|
7
6
|
export interface ConsoleLivePerson {
|
|
8
7
|
clientId: number;
|
|
@@ -63,5 +62,4 @@ export declare function useConsoleLiveDocument(options: {
|
|
|
63
62
|
room: () => string | undefined;
|
|
64
63
|
user: () => ConsoleDocumentSessionUser | null | undefined;
|
|
65
64
|
onReset: (reset: ConsoleLiveReset) => void;
|
|
66
|
-
}): ConsoleLiveDocument;
|
|
67
|
-
//#endregion
|
|
65
|
+
}): ConsoleLiveDocument;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed, onBeforeUnmount, shallowRef, watch } from "vue";
|
|
2
2
|
import { contentRealtimeEditor } from "@vite-hub/content/editor";
|
|
3
3
|
import { readRealtimeYDoc, useRealtimeTiptap } from "@vite-hub/realtime/vue";
|
|
4
|
-
|
|
4
|
+
// src/console/runtime/client/live.ts
|
|
5
5
|
function stableJson(value) {
|
|
6
6
|
if (Array.isArray(value)) return `[${value.map(stableJson).join(",")}]`;
|
|
7
7
|
if (value !== null && Object(value) === value) {
|
|
@@ -154,5 +154,4 @@ function useConsoleLiveDocument(options) {
|
|
|
154
154
|
identity
|
|
155
155
|
};
|
|
156
156
|
}
|
|
157
|
-
//#endregion
|
|
158
157
|
export { useConsoleLiveDocument };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { c as ConsoleMcpOutcome, f as ConsoleMcpStatus, i as ConsoleMcpConnection, l as ConsoleMcpOverview, n as ConsoleMcpCandidate, r as ConsoleMcpConnectResult, t as ConsoleMcpAuth, u as ConsoleMcpPage } from "../../../mcp-client-
|
|
2
|
-
//#region src/console/runtime/client/mcp-client.d.ts
|
|
1
|
+
import { c as ConsoleMcpOutcome, f as ConsoleMcpStatus, i as ConsoleMcpConnection, l as ConsoleMcpOverview, n as ConsoleMcpCandidate, r as ConsoleMcpConnectResult, t as ConsoleMcpAuth, u as ConsoleMcpPage } from "../../../mcp-client-Q2XbUXuP.js";
|
|
3
2
|
type ConsoleMcpAnswer = ConsoleMcpOutcome & {
|
|
4
3
|
connection: ConsoleMcpConnection;
|
|
5
4
|
};
|
|
@@ -20,7 +19,10 @@ export interface ConsoleMcpResults {
|
|
|
20
19
|
"mcp-client.read": ConsoleMcpAnswer;
|
|
21
20
|
"mcp-client.reconnect": ConsoleMcpConnectResult;
|
|
22
21
|
}
|
|
23
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* Call one operation of the MCP client section. A Console server, such as console.vitehub.dev, runs the MCP client
|
|
24
|
+
* itself, so its calls go to `/p/<project>/mcp-client` on that server and not to the app.
|
|
25
|
+
*/
|
|
24
26
|
export declare function requestConsoleMcp<Operation extends keyof ConsoleMcpResults>(operation: Operation, input?: Record<string, unknown>, signal?: AbortSignal): Promise<ConsoleMcpResults[Operation]>;
|
|
25
27
|
/** Status words and colors. The word always comes with the color, so the status never depends on color alone. */
|
|
26
28
|
export declare const consoleMcpStatus: Readonly<Record<ConsoleMcpStatus, {
|
|
@@ -55,4 +57,4 @@ export declare function consoleMcpToolHints(tool: Record<string, unknown>): {
|
|
|
55
57
|
}[];
|
|
56
58
|
/** The JSON Schema of the arguments of a prompt, so the schema form can render them. */
|
|
57
59
|
export declare function consoleMcpPromptSchema(prompt: Record<string, unknown>): Record<string, unknown>;
|
|
58
|
-
|
|
60
|
+
export {};
|
|
@@ -1,8 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { t as consoleProject } from "../../../project-DRC67Uiu.js";
|
|
2
|
+
import { d as requestConsoleOperation } from "../../../request-Cl68STwT.js";
|
|
3
|
+
// src/console/runtime/client/mcp-client.ts
|
|
4
|
+
/**
|
|
5
|
+
* Call one operation of the MCP client section. A Console server, such as console.vitehub.dev, runs the MCP client
|
|
6
|
+
* itself, so its calls go to `/p/<project>/mcp-client` on that server and not to the app.
|
|
7
|
+
*/
|
|
4
8
|
async function requestConsoleMcp(operation, input = {}, signal) {
|
|
5
|
-
|
|
9
|
+
const path = consoleProject().remote ? { path: "/mcp-client" } : {};
|
|
10
|
+
return await requestConsoleOperation(operation, input, {
|
|
11
|
+
...path,
|
|
12
|
+
...signal ? { signal } : {}
|
|
13
|
+
});
|
|
6
14
|
}
|
|
7
15
|
/** Status words and colors. The word always comes with the color, so the status never depends on color alone. */
|
|
8
16
|
const consoleMcpStatus = {
|
|
@@ -121,5 +129,4 @@ function consoleMcpPromptSchema(prompt) {
|
|
|
121
129
|
type: "object"
|
|
122
130
|
};
|
|
123
131
|
}
|
|
124
|
-
//#endregion
|
|
125
132
|
export { consoleMcpAccount, consoleMcpAuthLabels, consoleMcpEndpoint, consoleMcpPromptSchema, consoleMcpStatus, consoleMcpToolHints, groupConsoleMcpConnections, requestConsoleMcp };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as consoleMediaTypeIcons, C as consoleMediaAspects, D as consoleMediaFormat, E as consoleMediaFileUrl, F as isConsoleMediaPathname, I as rememberConsoleMediaFolder, L as rememberedConsoleMediaFolder, M as consoleMediaUrl, N as consoleMediaVariantUrl, O as consoleMediaTransformable, P as createConsoleMediaClient, S as consoleMediaAccepts, T as consoleMediaDate, _ as consoleCropName, a as ConsoleMediaCropReplacement, b as consoleFolderName, c as ConsoleMediaInfo, d as ConsoleMediaReferenceDocument, f as ConsoleMediaType, g as consoleAspectRatio, h as ConsoleMediaVariant, i as ConsoleMediaCrop, j as consoleMediaTypes, k as consoleMediaType, l as ConsoleMediaListQuery, m as ConsoleMediaUploadResult, n as ConsoleMediaBulkResult, o as ConsoleMediaFile, p as ConsoleMediaUploadOptions, r as ConsoleMediaClient, s as ConsoleMediaFocal, t as ConsoleMediaAccess, u as ConsoleMediaListing, v as consoleFocalCropPosition, w as consoleMediaBase, x as consoleFolderTrail, y as consoleFocalPosition } from "../../../media-library-
|
|
1
|
+
import { A as consoleMediaTypeIcons, C as consoleMediaAspects, D as consoleMediaFormat, E as consoleMediaFileUrl, F as isConsoleMediaPathname, I as rememberConsoleMediaFolder, L as rememberedConsoleMediaFolder, M as consoleMediaUrl, N as consoleMediaVariantUrl, O as consoleMediaTransformable, P as createConsoleMediaClient, S as consoleMediaAccepts, T as consoleMediaDate, _ as consoleCropName, a as ConsoleMediaCropReplacement, b as consoleFolderName, c as ConsoleMediaInfo, d as ConsoleMediaReferenceDocument, f as ConsoleMediaType, g as consoleAspectRatio, h as ConsoleMediaVariant, i as ConsoleMediaCrop, j as consoleMediaTypes, k as consoleMediaType, l as ConsoleMediaListQuery, m as ConsoleMediaUploadResult, n as ConsoleMediaBulkResult, o as ConsoleMediaFile, p as ConsoleMediaUploadOptions, r as ConsoleMediaClient, s as ConsoleMediaFocal, t as ConsoleMediaAccess, u as ConsoleMediaListing, v as consoleFocalCropPosition, w as consoleMediaBase, x as consoleFolderTrail, y as consoleFocalPosition } from "../../../media-library-DxGu6w9z.js";
|
|
2
2
|
export { ConsoleMediaAccess, ConsoleMediaBulkResult, ConsoleMediaClient, ConsoleMediaCrop, ConsoleMediaCropReplacement, ConsoleMediaFile, ConsoleMediaFocal, ConsoleMediaInfo, ConsoleMediaListQuery, ConsoleMediaListing, ConsoleMediaReferenceDocument, ConsoleMediaType, ConsoleMediaUploadOptions, ConsoleMediaUploadResult, ConsoleMediaVariant, consoleAspectRatio, consoleCropName, consoleFocalCropPosition, consoleFocalPosition, consoleFolderName, consoleFolderTrail, consoleMediaAccepts, consoleMediaAspects, consoleMediaBase, consoleMediaDate, consoleMediaFileUrl, consoleMediaFormat, consoleMediaTransformable, consoleMediaType, consoleMediaTypeIcons, consoleMediaTypes, consoleMediaUrl, consoleMediaVariantUrl, createConsoleMediaClient, isConsoleMediaPathname, rememberConsoleMediaFolder, rememberedConsoleMediaFolder };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { consoleAspectRatio, consoleCropName, consoleFocalCropPosition, consoleFocalPosition, consoleFolderName, consoleFolderTrail, consoleMediaAccepts, consoleMediaAspects, consoleMediaBase, consoleMediaDate, consoleMediaFileUrl, consoleMediaFormat, consoleMediaTransformable, consoleMediaType, consoleMediaTypeIcons, consoleMediaTypes, consoleMediaUrl, consoleMediaVariantUrl, createConsoleMediaClient, isConsoleMediaPathname, rememberConsoleMediaFolder, rememberedConsoleMediaFolder };
|
|
1
|
+
export { t as consoleAspectRatio, n as consoleCropName, r as consoleFocalCropPosition, i as consoleFocalPosition, a as consoleFolderName, o as consoleFolderTrail, s as consoleMediaAccepts, c as consoleMediaAspects, l as consoleMediaBase, u as consoleMediaDate, d as consoleMediaFileUrl, f as consoleMediaFormat, p as consoleMediaTransformable, m as consoleMediaType, h as consoleMediaTypeIcons, g as consoleMediaTypes, _ as consoleMediaUrl, v as consoleMediaVariantUrl, y as createConsoleMediaClient, b as isConsoleMediaPathname, x as rememberConsoleMediaFolder, S as rememberedConsoleMediaFolder } from "../../../media-library-BDX89xXA.js";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { m as ConsoleMediaUploadResult, r as ConsoleMediaClient } from "../../../media-library-
|
|
1
|
+
import { m as ConsoleMediaUploadResult, r as ConsoleMediaClient } from "../../../media-library-DxGu6w9z.js";
|
|
2
2
|
import { ComputedRef, Ref } from "vue";
|
|
3
|
-
//#region src/console/runtime/client/media-uploads.d.ts
|
|
4
3
|
export type ConsoleMediaUploadState = "queued" | "uploading" | "done" | "failed";
|
|
5
4
|
/** One file in the upload queue. */
|
|
6
5
|
export interface ConsoleMediaUploadEntry {
|
|
@@ -29,5 +28,4 @@ export interface ConsoleMediaUploads {
|
|
|
29
28
|
* The upload queue of the media library: files upload a few at a time with progress, failures stay in the queue with
|
|
30
29
|
* their reason and a retry, and `add()` resolves with what was stored.
|
|
31
30
|
*/
|
|
32
|
-
export declare function useConsoleMediaUploads(client: () => ConsoleMediaClient, onUploaded?: (result: ConsoleMediaUploadResult) => void): ConsoleMediaUploads;
|
|
33
|
-
//#endregion
|
|
31
|
+
export declare function useConsoleMediaUploads(client: () => ConsoleMediaClient, onUploaded?: (result: ConsoleMediaUploadResult) => void): ConsoleMediaUploads;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as consoleErrorMessage } from "../../../documents-
|
|
1
|
+
import { d as consoleErrorMessage } from "../../../documents-Ck_iub9w.js";
|
|
2
2
|
import { computed, ref } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/console/runtime/client/media-uploads.ts
|
|
4
4
|
/** Uploads at most this many files at once, so a large drop does not stall the server or the browser. */
|
|
5
5
|
const concurrency = 3;
|
|
6
6
|
let nextId = 0;
|
|
@@ -93,5 +93,4 @@ function confirmReplacement(pathname) {
|
|
|
93
93
|
const ask = Reflect.get(globalThis, "confirm");
|
|
94
94
|
return ask instanceof Function ? ask(`${pathname} already exists. Replace it?`) === true : false;
|
|
95
95
|
}
|
|
96
|
-
//#endregion
|
|
97
96
|
export { useConsoleMediaUploads };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ConsoleMediaRequest, i as ConsoleMediaReference, n as ConsoleMediaItem, o as provideConsoleMediaPicker, r as ConsoleMediaPicker, s as useConsoleMediaPicker, t as ConsoleMediaDetails } from "../../../media-
|
|
1
|
+
import { a as ConsoleMediaRequest, i as ConsoleMediaReference, n as ConsoleMediaItem, o as provideConsoleMediaPicker, r as ConsoleMediaPicker, s as useConsoleMediaPicker, t as ConsoleMediaDetails } from "../../../media-C79RB1oH.js";
|
|
2
2
|
export { ConsoleMediaDetails, ConsoleMediaItem, ConsoleMediaPicker, ConsoleMediaReference, ConsoleMediaRequest, provideConsoleMediaPicker, useConsoleMediaPicker };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { inject, provide } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/console/runtime/client/media.ts
|
|
3
3
|
const pickerKey = Symbol("vitehub-console-media-picker");
|
|
4
4
|
/** Makes `picker` the media picker of every document editor below this component. */
|
|
5
5
|
function provideConsoleMediaPicker(picker) {
|
|
@@ -9,5 +9,4 @@ function provideConsoleMediaPicker(picker) {
|
|
|
9
9
|
function useConsoleMediaPicker() {
|
|
10
10
|
return inject(pickerKey, void 0);
|
|
11
11
|
}
|
|
12
|
-
//#endregion
|
|
13
12
|
export { provideConsoleMediaPicker, useConsoleMediaPicker };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { f as ConsoleOperationTone, l as ConsoleOperationAction, p as ConsoleOperationView, u as ConsoleOperationColumn } from "../../../definitions-
|
|
2
|
-
//#region src/console/runtime/client/operation-view.d.ts
|
|
1
|
+
import { f as ConsoleOperationTone, l as ConsoleOperationAction, p as ConsoleOperationView, u as ConsoleOperationColumn } from "../../../definitions-ChvMnA1L.js";
|
|
3
2
|
/** The value at a dot path, such as `messages.0.body`. Paths joined by `|` fall back in order: `author.name|author.id`. */
|
|
4
3
|
export declare function operationValue(item: unknown, path: string): unknown;
|
|
5
4
|
/** The text of one cell: `datetime` shows a date, `excerpt` cuts a long text. Search matches this text. */
|
|
@@ -40,5 +39,4 @@ export declare function operationActionUrl(result: unknown): string | undefined;
|
|
|
40
39
|
/** The items of an operation result. Anything else is a failure of the owner operation. */
|
|
41
40
|
export declare function operationItems(result: unknown): Array<Record<string, unknown>>;
|
|
42
41
|
/** Load a complete list, following the operation's optional `before` cursor contract. */
|
|
43
|
-
export declare function loadOperationItems(view: ConsoleOperationView, input: Record<string, unknown>, signal: AbortSignal): Promise<Array<Record<string, unknown>>>;
|
|
44
|
-
//#endregion
|
|
42
|
+
export declare function loadOperationItems(view: ConsoleOperationView, input: Record<string, unknown>, signal: AbortSignal): Promise<Array<Record<string, unknown>>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as invariant } from "../../../invariant-
|
|
2
|
-
import { s as resolveProjectUrl } from "../../../project-
|
|
3
|
-
import { d as requestConsoleOperation } from "../../../request-
|
|
4
|
-
|
|
1
|
+
import { t as invariant } from "../../../invariant-Dj2R1eMr.js";
|
|
2
|
+
import { s as resolveProjectUrl } from "../../../project-DRC67Uiu.js";
|
|
3
|
+
import { d as requestConsoleOperation } from "../../../request-Cl68STwT.js";
|
|
4
|
+
// src/console/runtime/client/operation-view.ts
|
|
5
5
|
/** The value at a dot path, such as `messages.0.body`. Paths joined by `|` fall back in order: `author.name|author.id`. */
|
|
6
6
|
function operationValue(item, path) {
|
|
7
7
|
if (path.includes("|")) {
|
|
@@ -157,5 +157,4 @@ async function loadOperationItems(view, input, signal) {
|
|
|
157
157
|
};
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
//#endregion
|
|
161
160
|
export { loadOperationItems, operationActionCall, operationActionQuestion, operationActionUrl, operationActions, operationCell, operationItems, operationLink, operationStatus, operationSwitchCall, operationTime, operationValue };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { S as ConsoleDocumentSession, f as ConsoleDocumentPresence, k as ConsoleDocumentsClient, w as ConsoleDocumentSessionUser } from "../../../documents-
|
|
1
|
+
import { S as ConsoleDocumentSession, f as ConsoleDocumentPresence, k as ConsoleDocumentsClient, w as ConsoleDocumentSessionUser } from "../../../documents-DxK0tdjA.js";
|
|
2
2
|
import { ComputedRef, Ref, ShallowRef } from "vue";
|
|
3
|
-
//#region src/console/runtime/client/presence.d.ts
|
|
4
3
|
/** This tab's session token. List rows and the editor share it, so both mark this tab as `self`. */
|
|
5
4
|
export declare const consoleTabSession: string;
|
|
6
5
|
/** Reports every 15 seconds while visible and every 60 seconds while hidden. 15 minutes without input drops to viewing. */
|
|
@@ -94,5 +93,4 @@ export declare function consoleLiveDefinition(setup: {
|
|
|
94
93
|
} | {
|
|
95
94
|
unavailable: string;
|
|
96
95
|
};
|
|
97
|
-
} | undefined): string | undefined;
|
|
98
|
-
//#endregion
|
|
96
|
+
} | undefined): string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, onBeforeUnmount, onMounted, ref, shallowRef } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/console/runtime/client/presence.ts
|
|
3
3
|
const page = globalThis;
|
|
4
4
|
function hidden() {
|
|
5
5
|
return page.document.visibilityState === "hidden";
|
|
@@ -251,5 +251,4 @@ function consoleLiveDefinition(setup) {
|
|
|
251
251
|
const live = setup?.live;
|
|
252
252
|
return live && "definition" in live ? live.definition : void 0;
|
|
253
253
|
}
|
|
254
|
-
//#endregion
|
|
255
254
|
export { consoleLiveDefinition, consoleLiveLabel, consoleLiveNames, consoleLiveUnavailable, consolePresenceTimings, consoleTabSession, useConsoleDocumentPresence, useConsoleDocumentSessions };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/console/runtime/client/preview.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* The side browser of the document editor. The site renders the page of a document with its own routes: a draft view
|
|
4
3
|
* posts a form with a token signed for that document and the version of it on screen to the page URL, and the
|
|
@@ -82,5 +81,4 @@ export interface ConsoleLocalDraft {
|
|
|
82
81
|
export declare function readConsoleLocalDraft(storage: Pick<Storage, "getItem">, collection: string, id: string): ConsoleLocalDraft | undefined;
|
|
83
82
|
/** Keeps the local-only edits of a document in this tab, so a reload keeps them. Returns false when storage is full or off. */
|
|
84
83
|
export declare function writeConsoleLocalDraft(storage: Pick<Storage, "setItem">, collection: string, id: string, draft: ConsoleLocalDraft): boolean;
|
|
85
|
-
export declare function clearConsoleLocalDraft(storage: Pick<Storage, "removeItem">, collection: string, id: string): void;
|
|
86
|
-
//#endregion
|
|
84
|
+
export declare function clearConsoleLocalDraft(storage: Pick<Storage, "removeItem">, collection: string, id: string): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { contentPreviewErrorName, contentPreviewFrameParameter, contentPreviewPublishedParameter, parseContentField } from "@vite-hub/content/client";
|
|
2
|
-
|
|
2
|
+
// src/console/runtime/client/preview.ts
|
|
3
3
|
/** The narrowest preview, in pixels, and the narrowest editor next to it. */
|
|
4
4
|
const consolePreviewMinWidth = 320;
|
|
5
5
|
const consoleEditorMinWidth = 420;
|
|
@@ -121,5 +121,4 @@ function clearConsoleLocalDraft(storage, collection, id) {
|
|
|
121
121
|
storage.removeItem(localKey(collection, id));
|
|
122
122
|
} catch {}
|
|
123
123
|
}
|
|
124
|
-
//#endregion
|
|
125
124
|
export { clearConsoleLocalDraft, consoleEditorMinWidth, consolePreviewAddress, consolePreviewError, consolePreviewField, consolePreviewFormAction, consolePreviewFormValue, consolePreviewMinWidth, consolePreviewMobileWidth, consolePreviewPublishedUrl, consolePreviewUrl, consolePreviewWidth, consolePublishPreviewUrl, readConsoleLocalDraft, writeConsoleLocalDraft };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { t as ConsoleDiagnosticAction } from "../../../diagnostics-
|
|
2
|
-
//#region src/console/runtime/client/problem.d.ts
|
|
1
|
+
import { t as ConsoleDiagnosticAction } from "../../../diagnostics-BXxPggRw.js";
|
|
3
2
|
/** A failure as the Console shows it: what happened, how to repair it, and the next step. */
|
|
4
3
|
export interface ConsoleProblem {
|
|
5
4
|
/** The next step. `retry` appears only when a retry can succeed. */
|
|
@@ -15,5 +14,4 @@ export interface ConsoleProblem {
|
|
|
15
14
|
* A Console code uses its catalog action. Another code uses its status: `401` asks to sign in, a transient status
|
|
16
15
|
* offers a retry, and other failures link the docs.
|
|
17
16
|
*/
|
|
18
|
-
export declare function consoleProblem(error: unknown): ConsoleProblem | undefined;
|
|
19
|
-
//#endregion
|
|
17
|
+
export declare function consoleProblem(error: unknown): ConsoleProblem | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as isConsoleDiagnosticCode, n as consoleDiagnosticAction, t as consoleDiagnostic } from "../../../diagnostics-
|
|
2
|
-
import { t as ConsoleRequestError } from "../../../request-
|
|
3
|
-
|
|
1
|
+
import { a as isConsoleDiagnosticCode, n as consoleDiagnosticAction, t as consoleDiagnostic } from "../../../diagnostics-B2cqlCSz.js";
|
|
2
|
+
import { t as ConsoleRequestError } from "../../../request-Cl68STwT.js";
|
|
3
|
+
// src/console/runtime/client/problem.ts
|
|
4
4
|
const configurationCodes = /* @__PURE__ */ new Set(["CONNECTIONS_AUTH_REQUIRED", "ENV_BRIDGE_UNTRUSTED"]);
|
|
5
5
|
const text = (value) => typeof value === "string" && value.trim() ? value : void 0;
|
|
6
6
|
function fromCode(code, message) {
|
|
@@ -55,5 +55,4 @@ function consoleProblem(error) {
|
|
|
55
55
|
}
|
|
56
56
|
return fromCode("CONSOLE_REQUEST_FAILED");
|
|
57
57
|
}
|
|
58
|
-
//#endregion
|
|
59
58
|
export { consoleProblem };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as probeConsoleProject, a as ConsoleProjectInfo, c as consoleAuthorAvatarUrl, d as consoleFrameworkLabels, f as consoleHostLabels, g as consoleProjectProtocol, h as consoleProjectProblem, i as ConsoleProjectHostName, l as consoleCommentsSiteUrl, m as consoleProjectCommentsOf, n as ConsoleProjectComments, o as ConsoleProjectProbe, p as consoleProjectBuildOf, r as ConsoleProjectFrameworkName, s as ConsoleProjectProblem, t as ConsoleProjectBuild, u as consoleCompareUrl } from "../../../project-link-
|
|
1
|
+
import { _ as probeConsoleProject, a as ConsoleProjectInfo, c as consoleAuthorAvatarUrl, d as consoleFrameworkLabels, f as consoleHostLabels, g as consoleProjectProtocol, h as consoleProjectProblem, i as ConsoleProjectHostName, l as consoleCommentsSiteUrl, m as consoleProjectCommentsOf, n as ConsoleProjectComments, o as ConsoleProjectProbe, p as consoleProjectBuildOf, r as ConsoleProjectFrameworkName, s as ConsoleProjectProblem, t as ConsoleProjectBuild, u as consoleCompareUrl } from "../../../project-link-isfdRO3Q.js";
|
|
2
2
|
export { ConsoleProjectBuild, ConsoleProjectComments, ConsoleProjectFrameworkName, ConsoleProjectHostName, ConsoleProjectInfo, ConsoleProjectProbe, ConsoleProjectProblem, consoleAuthorAvatarUrl, consoleCommentsSiteUrl, consoleCompareUrl, consoleFrameworkLabels, consoleHostLabels, consoleProjectBuildOf, consoleProjectCommentsOf, consoleProjectProblem, consoleProjectProtocol, probeConsoleProject };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { consoleAuthorAvatarUrl, consoleCommentsSiteUrl, consoleCompareUrl, consoleFrameworkLabels, consoleHostLabels, consoleProjectBuildOf, consoleProjectCommentsOf, consoleProjectProblem, consoleProjectProtocol, probeConsoleProject };
|
|
1
|
+
export { t as consoleAuthorAvatarUrl, n as consoleCommentsSiteUrl, r as consoleCompareUrl, i as consoleFrameworkLabels, a as consoleHostLabels, o as consoleProjectBuildOf, s as consoleProjectCommentsOf, c as consoleProjectProblem, l as consoleProjectProtocol, u as probeConsoleProject } from "../../../project-link-CeS0T8Pr.js";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as ConsoleProjectInfo, s as ConsoleProjectProblem } from "../../../project-link-
|
|
3
|
-
import {
|
|
1
|
+
import { i as ConsoleAccountProject, t as ConsoleAccount } from "../../../account-CoAO1F8G.js";
|
|
2
|
+
import { a as ConsoleProjectInfo, s as ConsoleProjectProblem } from "../../../project-link-isfdRO3Q.js";
|
|
3
|
+
import { n as ConsoleProjectStorage, r as ConsoleProjectStore, t as ConsoleLinkedProject } from "../../../projects-mgPxrKZr.js";
|
|
4
4
|
import { Ref, ShallowRef } from "vue";
|
|
5
|
-
//#region src/console/runtime/client/project-session.d.ts
|
|
6
5
|
/**
|
|
7
6
|
* How the Console page started.
|
|
8
7
|
* - `embedded`: the page and the app share one origin, and the app is the only project. The Console playground runs
|
|
@@ -36,6 +35,7 @@ export type ConsoleProjectGate = {
|
|
|
36
35
|
kind: "site";
|
|
37
36
|
page: string;
|
|
38
37
|
state: string;
|
|
38
|
+
visit?: true;
|
|
39
39
|
} | {
|
|
40
40
|
kind: "site-refused";
|
|
41
41
|
url: string;
|
|
@@ -129,7 +129,8 @@ export declare function canManageConsoleProjects(account: Pick<ConsoleAccount, "
|
|
|
129
129
|
export declare function rememberAccountProject(teamId: string | undefined, projectId: string): void;
|
|
130
130
|
/**
|
|
131
131
|
* The app and the page of a link from `hostedConsoleUrl()`, `/open?project=<app URL>&path=<Console path>`, among the
|
|
132
|
-
* projects of the team. `
|
|
132
|
+
* projects of the team. An `app=<id>` parameter picks the project when two teams link the same URL, as the Console's
|
|
133
|
+
* `/visit` sends it. `undefined` when the link names no project of the team, or a path that is not a Console page.
|
|
133
134
|
*/
|
|
134
135
|
export declare function consoleOpenLink(search: string, projects: readonly {
|
|
135
136
|
id: string;
|
|
@@ -140,12 +141,14 @@ export declare function consoleOpenLink(search: string, projects: readonly {
|
|
|
140
141
|
} | undefined;
|
|
141
142
|
/**
|
|
142
143
|
* The app page and state of an `/open` link from `GET /_vitehub`, `/open?project=<app URL>&site=<page>&state=<state>`,
|
|
143
|
-
* or
|
|
144
|
+
* or from the Console's `/visit`, `/open?project=<app URL>&site=<page>&visit=<state hash>`, or `undefined` for another
|
|
145
|
+
* link. `page` is a path of the app below its base, such as `/runs/42`.
|
|
144
146
|
*/
|
|
145
147
|
export declare function consoleSiteLink(search: string): {
|
|
146
148
|
url: string;
|
|
147
149
|
page: string;
|
|
148
150
|
state: string;
|
|
151
|
+
visit?: true;
|
|
149
152
|
} | undefined;
|
|
150
153
|
/**
|
|
151
154
|
* The address of an `/open` link that the Console opens again after a sign-in, such as
|
|
@@ -190,8 +193,14 @@ export declare function startConsoleAccount(options: ConsoleAccountBoot): Promis
|
|
|
190
193
|
*/
|
|
191
194
|
export declare function siteTicketUrl(value: unknown, projectUrl: string): string | undefined;
|
|
192
195
|
/**
|
|
193
|
-
*
|
|
194
|
-
*
|
|
196
|
+
* The token link of a `POST /api/projects/<id>/site/token` answer, or `undefined` when it is not
|
|
197
|
+
* `<app>/_vitehub/site?token=vst1.…` of the app that the Console opened.
|
|
198
|
+
*/
|
|
199
|
+
export declare function siteTokenRedirect(value: unknown, projectUrl: string): string | undefined;
|
|
200
|
+
/**
|
|
201
|
+
* Sign the browser in to the app of a `/_vitehub` link, and replace this page with the link, so Back does not open the
|
|
202
|
+
* used link again. A link from the Console's `/visit` gets a Site access token from the Console. A link of an older app
|
|
203
|
+
* asks the app for a Site access link bound to the state of its route. A refusal shows why.
|
|
195
204
|
*/
|
|
196
205
|
export declare function openConsoleSite(): Promise<void>;
|
|
197
206
|
/**
|
|
@@ -204,7 +213,7 @@ export declare function accountProjectPath(id: string): string;
|
|
|
204
213
|
/** Open a project of the team from a page outside the projects. The Console loads again at its home path. */
|
|
205
214
|
export declare function openAccountProject(id: string): void;
|
|
206
215
|
/** Link an app to the active team, then open it. Until the app keeps the hash of its token, it opens on the setup step. */
|
|
207
|
-
export declare function linkAccountProject(url: string, label?: string): Promise<void>;
|
|
216
|
+
export declare function linkAccountProject(url: string, label?: string, kind?: "site"): Promise<void>;
|
|
208
217
|
/** Rename an app of the active team. An empty label removes it, so the Console shows the name that the app reports. */
|
|
209
218
|
export declare function renameAccountProject(id: string, label: string): Promise<void>;
|
|
210
219
|
/**
|
|
@@ -218,4 +227,4 @@ export declare function signOutConsole(): Promise<void>;
|
|
|
218
227
|
export declare function consoleSignInReturnPath(): string;
|
|
219
228
|
/** Load the Console after a sign-in on this page, such as with a passkey, at the page that the sign-in opens. */
|
|
220
229
|
export declare function finishConsoleSignIn(): void;
|
|
221
|
-
|
|
230
|
+
export {};
|