vite-hub 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -8
- 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-CUFHPi8T.js} +13 -140
- package/dist/{access-policy-DhsEACna.d.ts → access-DkBck8Vu.d.ts} +17 -21
- package/dist/{access-policy-CVZg9LPR.js → access-policy-BM48XstY.js} +5 -6
- package/dist/{account-Cjj-tYzo.d.ts → account-DNr8fHcQ.d.ts} +5 -7
- package/dist/{console/runtime/server → agent/console}/agents.get.d.ts +2 -3
- package/dist/{console/runtime/server → agent/console}/agents.get.js +3 -4
- package/dist/{console/runtime/server → agent/console}/channel-replay.d.ts +3 -5
- package/dist/{console/runtime/server → agent/console}/channel-replay.js +6 -7
- package/dist/{console/runtime/server → agent/console}/invocation-capabilities.get.d.ts +1 -3
- package/dist/{console/runtime/server → agent/console}/invocation-capabilities.get.js +4 -5
- package/dist/agent/console/invocation-workspace.get.d.ts +6 -0
- package/dist/{console/runtime/server → agent/console}/invocation-workspace.get.js +6 -7
- package/dist/{console/runtime/server → agent/console}/invocation.get.d.ts +4 -6
- package/dist/{console/runtime/server → agent/console}/invocation.get.js +8 -9
- package/dist/{console/runtime/server → agent/console}/invocations.get.d.ts +1 -2
- package/dist/{console/runtime/server → agent/console}/invocations.get.js +5 -6
- package/dist/agent/console/invocations.usage.d.ts +6 -0
- package/dist/agent/console/invocations.usage.js +51 -0
- package/dist/agent/console/operations.d.ts +6 -0
- package/dist/agent/console/operations.js +247 -0
- package/dist/{console/runtime/server → agent/console}/status.get.d.ts +2 -4
- package/dist/{console/runtime/server → agent/console}/status.get.js +6 -7
- package/dist/{server-W0c79AYZ.js → agent-console-CHsLxKk_.js} +4 -4
- package/dist/agent-console-FmaYpVv-.d.ts +14 -0
- package/dist/{agent-invocations.post-C3Onl2yH.js → agent-invocations.post-CF5anHY6.js} +14 -17
- package/dist/agents-DBm_PJie.js +1 -0
- package/dist/{agents-B76RICcy.js → agents-DXLHsE7x.js} +5 -6
- package/dist/{agents-C94A4N9u.d.ts → agents-Gyw4VKPt.d.ts} +0 -2
- package/dist/auth/console/auth.d.ts +25 -0
- package/dist/{console/runtime/server → auth/console}/auth.js +11 -13
- package/dist/auth/console/operations.d.ts +3 -0
- package/dist/auth/console/operations.js +135 -0
- package/dist/auth/server.js +1 -2
- package/dist/{auth-operations-GcQk0O0X.js → auth-operations-BKqoX8Ua.js} +4 -5
- package/dist/{auth-types-D3ugQ8xM.d.ts → auth-types-Cotn7406.d.ts} +4 -21
- package/dist/bin.js +8 -11
- package/dist/blob/console/operations.d.ts +3 -0
- package/dist/blob/console/operations.js +44 -0
- package/dist/blob/nuxt-image.js +1 -2
- package/dist/{blob-BcgsZtqM.js → blob-iw8pWQ6o.js} +5 -6
- package/dist/{blob-iVewd7KQ.d.ts → blob-uNin0_TV.d.ts} +1 -3
- 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/cms.js +1 -2
- package/dist/console/auth-types.d.ts +2 -2
- package/dist/console/auth.d.ts +2 -4
- package/dist/console/auth.js +2 -3
- package/dist/console/runtime/auth-operations.d.ts +4 -6
- 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/auth-management.ts +6 -6
- 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 +7 -5
- package/dist/console/runtime/client/mcp-client.js +10 -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 +2 -2
- 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 +83 -16
- package/dist/console/runtime/client/site-access.js +159 -32
- package/dist/console/runtime/client/site-link.d.ts +2 -0
- package/dist/console/runtime/client/site-link.js +1 -0
- package/dist/console/runtime/client/stored.d.ts +1 -3
- package/dist/console/runtime/client/stored.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-auth-detail.vue +1 -1
- package/dist/console/runtime/components/console-auth-event-list.vue +1 -0
- package/dist/console/runtime/components/console-document-editor.vue +3 -4
- 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/components/console-usage.vue +2 -2
- 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 +14 -49
- package/dist/console/runtime/mcp-client.d.ts +2 -2
- package/dist/console/runtime/mcp-client.js +1 -2
- package/dist/console/runtime/operation-loader.d.ts +1 -0
- package/dist/console/runtime/operation-loader.js +10 -0
- 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 +2 -2
- 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/agent-console.d.ts +2 -0
- package/dist/console/runtime/server/agent-console.js +1 -0
- package/dist/console/runtime/server/blob.d.ts +1 -1
- package/dist/console/runtime/server/blob.js +1 -2
- package/dist/console/runtime/server/database.d.ts +1 -1
- 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 +2 -2
- package/dist/console/runtime/server/documents.js +3 -3
- package/dist/console/runtime/server/entry-site-access.d.ts +3 -0
- package/dist/console/runtime/server/entry-site-access.js +4 -0
- package/dist/console/runtime/server/entry.d.ts +3 -0
- package/dist/console/runtime/server/entry.js +4 -0
- package/dist/console/runtime/server/env.d.ts +1 -3
- package/dist/console/runtime/server/env.js +1 -2
- 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/pill.d.ts +45 -0
- package/dist/console/runtime/server/pill.js +62 -0
- package/dist/console/runtime/server/rpc.d.ts +5 -10
- package/dist/console/runtime/server/rpc.js +19 -27
- package/dist/console/runtime/server/runtime.d.ts +1 -1
- package/dist/console/runtime/server/runtime.js +1 -2
- 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-access-operation.d.ts +7 -0
- package/dist/console/runtime/server/site-access-operation.js +36 -0
- package/dist/console/runtime/server/site-actions.d.ts +73 -0
- package/dist/console/runtime/server/site-actions.js +105 -0
- package/dist/console/runtime/server/site-entry.d.ts +16 -9
- package/dist/console/runtime/server/site-entry.js +62 -46
- package/dist/console/runtime/server/site-visitor.d.ts +17 -0
- package/dist/console/runtime/server/site-visitor.js +1 -0
- package/dist/console/runtime/server/site.d.ts +27 -0
- package/dist/console/runtime/server/site.js +1 -0
- package/dist/console/runtime/skills.d.ts +1 -3
- package/dist/console/runtime/skills.js +1 -2
- package/dist/console/server.d.ts +9 -25
- 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-signature--55DIKf2.js +237 -0
- package/dist/console.d.ts +1 -3
- package/dist/console.js +1 -2
- package/dist/content/console/operations.d.ts +3 -0
- package/dist/content/console/operations.js +62 -0
- package/dist/{console/runtime/server → database/console}/database.get.d.ts +2 -3
- package/dist/{console/runtime/server → database/console}/database.get.js +4 -5
- package/dist/database/console/operations.d.ts +3 -0
- package/dist/database/console/operations.js +49 -0
- package/dist/{database-UMJgnU2z.js → database-CrgBUdIx.js} +3 -4
- package/dist/{database-DC67Ipm-.d.ts → database-yFezh5U1.d.ts} +1 -3
- 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-DTytrw42.js → definitions-DGo2rNQ9.js} +5 -6
- package/dist/{definitions-Dbgxfz3I.d.ts → definitions-DRkgHKmk.d.ts} +1 -3
- 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-CRYp01PE.js} +2 -222
- package/dist/dev-peer-CX5C9243.js +1 -0
- 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-DLHqjKGe.js} +3 -9
- package/dist/diagnostics-DgGKvWzF.d.ts +7 -0
- package/dist/docs/nuxt.js +1 -2
- package/dist/doctor.d.ts +0 -6
- package/dist/doctor.js +11492 -12152
- package/dist/{documents-BDR0AkYR.d.ts → documents-A-7Ho0g0.d.ts} +12 -16
- package/dist/{documents-B4R4JSfH.js → documents-BduuZjm3.js} +6 -6
- package/dist/{documents-BASIRZ91.d.ts → documents-CApMRd4o.d.ts} +4 -7
- package/dist/{documents-BewAPY61.js → documents-D6ueeoUR.js} +17 -21
- 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/{console/runtime/server → env/console}/env.get.d.ts +2 -4
- package/dist/env/console/env.get.js +15 -0
- package/dist/env/console/operations.d.ts +3 -0
- package/dist/env/console/operations.js +12 -0
- package/dist/env/vite.d.ts +1 -0
- package/dist/env/vite.js +2 -0
- 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-BRNf11h3.d.ts} +14 -8
- package/dist/{invariant-DolT9EEx.js → invariant-Dj2R1eMr.js} +1 -2
- package/dist/{invocation-page-undo-DqYcPlkQ.js → invocation-page-undo-DHbXczWY.js} +8 -7
- package/dist/invocations-B60XWNES.js +45 -0
- 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/{console/runtime/server → logs/console}/logs.get.d.ts +3 -5
- package/dist/{console/runtime/server → logs/console}/logs.get.js +7 -8
- package/dist/logs/console/operations.d.ts +3 -0
- package/dist/logs/console/operations.js +23 -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/loopback-Bl9Cvj1k.js +139 -0
- package/dist/mcp/eval.d.ts +1 -0
- package/dist/mcp/eval.js +2 -0
- package/dist/{mcp-client-C_sEmyQw.d.ts → mcp-client-uXVvS7RL.d.ts} +5 -10
- package/dist/{media-uKX4Wy-c.d.ts → media-C79RB1oH.d.ts} +0 -2
- package/dist/{media-D3OfyKni.js → media-CNwnh6CG.js} +8 -9
- package/dist/{media-library-o8RRsnn_.js → media-library-DTC8TLsZ.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 +276 -182
- package/dist/{object-D8pRdprI.js → object-DRSmpe04.js} +1 -2
- package/dist/{operation-contributions-C3lwePQu.js → operation-contributions-BU10k2QS.js} +9 -9
- package/dist/{operation-contributions-CrdmqtJW.d.ts → operation-contributions-xwjDzj28.d.ts} +6 -7
- package/dist/{operation-definition-DxjKcCGm.js → operation-definition-D04Rdjbe.js} +7 -9
- package/dist/operation-modules-BUXlwjvd.js +1 -0
- package/dist/operation-modules-DHWkPcfS.js +139 -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-D-7ljPqw.js +1 -0
- package/dist/{operations-TTjL_7Zc.d.ts → operations-DgFhA1WE.d.ts} +0 -4
- package/dist/{operations-CFYGXqLm.js → operations-DksTrRMb.js} +4 -5
- package/dist/operations-byxiZ2R2.js +113 -0
- package/dist/{optional-owners-O6sj4uoj.js → optional-owners-Cypch7V3.js} +4 -6
- 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-tools-BeZrtn4S.js +46 -0
- package/dist/page-tools-Chk8Gm9x.d.ts +23 -0
- package/dist/page-tools-shared-BLPidmCi.js +39 -0
- package/dist/{pathe.M-eThtNZ-J4gfe1m9.js → pathe.M-eThtNZ-D4EC7Wue.js} +1 -2
- package/dist/{plugins-DoXnU6-s.d.ts → plugins-BmkOoyIh.d.ts} +25 -110
- package/dist/{plugins-BTZQaFtZ.js → plugins-DfXcUnzN.js} +1779 -1384
- package/dist/presets/workspace.js +1 -2
- package/dist/{project-Dgyq1F1V.d.ts → project-B2qWt8on.d.ts} +3 -12
- package/dist/{project-DlWTGB7h.js → project-DRC67Uiu.js} +1 -2
- package/dist/{project-DXZRZEPX.js → project-_juMSuAS.js} +8 -11
- package/dist/{project-link-DT99MoyU.js → project-link-CJbCkOlC.js} +7 -8
- package/dist/{project-link-bNS-KROO.d.ts → project-link-Ck3vuq9w.d.ts} +2 -4
- package/dist/{project-root-v6ba4tn7.js → project-root-mAVQGZTX.js} +1 -2
- package/dist/project-session-8pN7pRo8.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-CMA2UKKq.js → request-D769eiBL.js} +5 -6
- package/dist/{request-D7h3SQ92.d.ts → request-DYmjLTqP.d.ts} +2 -4
- package/dist/{request-SBLxvpyr.d.ts → request-DkoE0b2h.d.ts} +11 -4
- package/dist/{request-Cs0FqxEL.js → request-XFVx7CGC.js} +30 -9
- 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/routes-D02vxUSg.js +26 -0
- 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-DxfJOfCd.js → runtime-DA7HJe10.js} +3 -4
- package/dist/runtime-DGvimtvc.d.ts +5 -0
- package/dist/{runtime-CX_l_78I.js → runtime-F0CTqBFx.js} +5 -6
- package/dist/{runtime-feature-guard-CuyPVGj9.js → runtime-feature-guard-BKAMRZzM.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/search-jgMrZJXR.js +84 -0
- package/dist/{sections-DumoLKQN.js → sections-AUGy9EkY.js} +2 -8
- package/dist/{sections-BogiCmtz.d.ts → sections-BMkFB3S-.d.ts} +4 -6
- package/dist/{sections-C83x0slv.js → sections-BNTdIEJw.js} +2 -3
- package/dist/{sections-Do7X4Nwt.d.ts → sections-DCoCa4nF.d.ts} +1 -8
- package/dist/sections-DjeAUX7o.d.ts +8 -0
- package/dist/{sections-BKUReack.js → sections-ZFAlI4JW.js} +14 -7
- package/dist/{sections.get-H46e2urg.d.ts → sections.get-BY5dClJY.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/{setup-BC0P3eZy.d.ts → setup-BBnZPziq.d.ts} +5 -10
- package/dist/{setup-DNGzawFn.js → setup-yc3_WKNG.js} +4 -17
- package/dist/site-CZCIWsUQ.js +169 -0
- package/dist/site-link-Bvo2SxPo.js +58 -0
- package/dist/site-link-Dtw8MNVB.d.ts +18 -0
- package/dist/site-pages-B6J8U2Nq.js +66 -0
- package/dist/site-token-Wa7fhjwg.js +215 -0
- package/dist/site-visitor-BkhE2TA0.js +89 -0
- 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-CW8vc_Hf.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/ui/vite.js +1 -2
- package/dist/usage-DBi7aOhx.js +33 -0
- package/dist/{version-dkga9imp.js → version-DUCd7Orc.js} +24 -21
- 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/console/operations.d.ts +3 -0
- package/dist/workspace/console/operations.js +22 -0
- package/dist/{console/runtime/server → workspace/console}/workspace-files.get.d.ts +3 -5
- package/dist/{console/runtime/server → workspace/console}/workspace-files.get.js +4 -5
- 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 +158 -149
- package/dist/agents-BhFggA26.js +0 -2
- package/dist/auth-GFIN6xSJ.d.ts +0 -120
- package/dist/cli-config-g_mbWdjT.js +0 -2
- package/dist/cloudflare-env-lookup-DKXdr4P_.js +0 -16
- package/dist/console/runtime/client/ticket.d.ts +0 -2
- package/dist/console/runtime/client/ticket.js +0 -2
- package/dist/console/runtime/page/loader.js +0 -134
- package/dist/console/runtime/server/auth.d.ts +0 -2
- package/dist/console/runtime/server/env.get.js +0 -16
- package/dist/console/runtime/server/invocation-workspace.get.d.ts +0 -8
- package/dist/console/runtime/server/mcp-client-operations.d.ts +0 -5
- package/dist/console/runtime/server/mcp-client-operations.js +0 -139
- package/dist/console/runtime/server/page-auth.d.ts +0 -18
- package/dist/console/runtime/server/page-auth.js +0 -44
- package/dist/console/runtime/server/page-tool.d.ts +0 -2
- package/dist/console/runtime/server/page-tool.js +0 -110
- package/dist/console/runtime/server/page-tools-route.d.ts +0 -2
- package/dist/console/runtime/server/page-tools-route.js +0 -5
- package/dist/console/runtime/server/search.get.d.ts +0 -4
- package/dist/console/runtime/server/search.get.js +0 -97
- package/dist/console/runtime/server/site-session.d.ts +0 -80
- package/dist/console/runtime/server/site-session.js +0 -2
- package/dist/console/runtime/server/tickets.d.ts +0 -2
- package/dist/console/runtime/server/tickets.js +0 -2
- package/dist/console/runtime/server/usage.get.d.ts +0 -10
- package/dist/console/runtime/server/usage.get.js +0 -92
- package/dist/console/runtime/site-access.d.ts +0 -2
- package/dist/console/runtime/site-access.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/diagnostics-CjGiniKb.d.ts +0 -11
- package/dist/features-ujWsvlEH.js +0 -2
- package/dist/invocations-6jxqLkGY.js +0 -86
- package/dist/mcp-client-C91h8Taa.js +0 -1024
- package/dist/mcp-client-CTbTbn7d.js +0 -10
- package/dist/operations-5Lwd1xEI.js +0 -2
- package/dist/operations-ChEXk2ij.js +0 -853
- package/dist/page-tool-PmxH65gt.d.ts +0 -69
- package/dist/page-tools-ClgqElu-.js +0 -462
- package/dist/page-tools-DcCCtDKi.d.ts +0 -23
- package/dist/page-tools-shared-aNC9YtoI.js +0 -125
- package/dist/runtime-B_btezs1.d.ts +0 -7
- package/dist/scan-module-D_3X08mj.js +0 -2
- package/dist/secret-DELGKpCJ.js +0 -44
- package/dist/sections-CFiMNsqu.d.ts +0 -10
- package/dist/site-access-BycrwM2v.js +0 -18
- package/dist/site-access-CAiWyKOD.js +0 -2
- package/dist/site-access-DxfdOel1.d.ts +0 -55
- package/dist/site-access-L1qbvKt6.js +0 -293
- package/dist/site-session-CRwgKtTF.js +0 -300
- package/dist/skills/vitehub/SKILL.md +0 -142
- package/dist/skills/vitehub/agents/openai.yaml +0 -4
- package/dist/skills/vitehub/references/agent-definitions.md +0 -36
- package/dist/skills/vitehub/references/bundle.md +0 -57
- package/dist/skills/vitehub/references/capabilities-authority.md +0 -30
- package/dist/skills/vitehub/references/channels-triggers.md +0 -27
- package/dist/skills/vitehub/references/framework-composition.md +0 -29
- package/dist/skills/vitehub/references/preview-contract.md +0 -44
- package/dist/skills/vitehub/references/primitives/auth.md +0 -14
- package/dist/skills/vitehub/references/primitives/blob.md +0 -13
- package/dist/skills/vitehub/references/primitives/browser.md +0 -17
- package/dist/skills/vitehub/references/primitives/cache.md +0 -13
- package/dist/skills/vitehub/references/primitives/channels.md +0 -11
- package/dist/skills/vitehub/references/primitives/connections.md +0 -14
- package/dist/skills/vitehub/references/primitives/content.md +0 -13
- package/dist/skills/vitehub/references/primitives/database.md +0 -15
- package/dist/skills/vitehub/references/primitives/email.md +0 -11
- package/dist/skills/vitehub/references/primitives/env.md +0 -13
- package/dist/skills/vitehub/references/primitives/kv.md +0 -13
- package/dist/skills/vitehub/references/primitives/markdown-template.md +0 -13
- package/dist/skills/vitehub/references/primitives/queue.md +0 -14
- package/dist/skills/vitehub/references/primitives/rate-limit.md +0 -11
- package/dist/skills/vitehub/references/primitives/realtime.md +0 -19
- package/dist/skills/vitehub/references/primitives/sandbox-task.md +0 -11
- package/dist/skills/vitehub/references/primitives/sandbox.md +0 -13
- package/dist/skills/vitehub/references/primitives/schedule.md +0 -11
- package/dist/skills/vitehub/references/primitives/shell.md +0 -11
- package/dist/skills/vitehub/references/primitives/source.md +0 -11
- package/dist/skills/vitehub/references/primitives/workflow.md +0 -11
- package/dist/skills/vitehub/references/primitives/workspace.md +0 -11
- package/dist/skills/vitehub/references/project-patterns.md +0 -19
- package/dist/skills/vitehub/references/project-shapes.md +0 -81
- package/dist/skills/vitehub/references/proof-recovery.md +0 -31
- package/dist/skills/vitehub/references/sandboxes-hosts.md +0 -26
- package/dist/skills/vitehub/references/schedules-workflows-invocations.md +0 -28
- package/dist/skills/vitehub/references/server-primitives.md +0 -39
- package/dist/skills/vitehub/references/workspaces-sources-access.md +0 -26
- package/dist/ticket-DtBAstEU.js +0 -31
- package/dist/ticket-Pr_8ZtXW.d.ts +0 -14
- package/dist/tickets-DahBmKDT.js +0 -357
- package/dist/usage-CoQXs5nW.d.ts +0 -22
- package/dist/usage-index-VJAZ7a0p.js +0 -335
- package/dist/usage-jKtAgJZ0.js +0 -571
- /package/dist/{console/runtime/public/skills → console-skills}/index.json +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/SKILL.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/agents/openai.yaml +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/agent-definitions.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/bundle.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/capabilities-authority.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/channels-triggers.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/framework-composition.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/preview-contract.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/auth.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/blob.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/browser.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/cache.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/channels.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/connections.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/content.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/database.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/email.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/env.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/kv.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/markdown-template.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/queue.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/rate-limit.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/realtime.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/sandbox-task.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/sandbox.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/schedule.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/shell.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/source.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/workflow.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/workspace.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/project-patterns.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/project-shapes.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/proof-recovery.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/sandboxes-hosts.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/schedules-workflows-invocations.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/server-primitives.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/workspaces-sources-access.md +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as linkConsoleGitHub, B as renameConsoleAccountProject, C as deleteConsolePasskey, D as inviteConsoleMember, E as endConsoleSession, F as loadConsoleSignInMethods, G as signInWithGitHub, H as revealConsoleEnvValue, I as loadConsoleSignInState, J as switchConsoleTeam, K as signInWithPasskey, L as loadConsoleTeam, M as listConsolePasskeys, N as listConsoleSignInProviders, O as leaveConsoleTeam, P as loadConsoleEnvStage, R as removeConsoleMember, S as deleteConsoleEnvValue, T as earlyConsoleTeam, U as revokeConsoleApiKey, V as renameConsoleTeam, W as setConsoleEnvValue, Y as unlinkConsoleAccountProject, _ as addConsolePasskey, a as ConsoleAccountTeam, b as createConsoleApiKey, c as ConsoleEnvVariable, d as ConsoleSignInState, f as ConsoleTeamDetails, g as accountAppStatusLabels, h as acceptConsoleInvitation, i as ConsoleAccountProject, j as listConsoleApiKeys, k as linkConsoleAccountProject, l as ConsolePasskey, m as ConsoleTeamMember, n as ConsoleAccountAppStatus, o as ConsoleApiKey, p as ConsoleTeamInvitation, q as signUpWithPasskey, r as ConsoleAccountCheck, s as ConsoleEnvStage, t as ConsoleAccount, u as ConsoleSignInMethods, v as cancelConsoleInvitation, w as earlyConsoleSignInState, x as createConsoleTeam, y as checkConsoleAccountProject, z as renameConsoleAccount } from "../../../account-
|
|
1
|
+
import { A as linkConsoleGitHub, B as renameConsoleAccountProject, C as deleteConsolePasskey, D as inviteConsoleMember, E as endConsoleSession, F as loadConsoleSignInMethods, G as signInWithGitHub, H as revealConsoleEnvValue, I as loadConsoleSignInState, J as switchConsoleTeam, K as signInWithPasskey, L as loadConsoleTeam, M as listConsolePasskeys, N as listConsoleSignInProviders, O as leaveConsoleTeam, P as loadConsoleEnvStage, R as removeConsoleMember, S as deleteConsoleEnvValue, T as earlyConsoleTeam, U as revokeConsoleApiKey, V as renameConsoleTeam, W as setConsoleEnvValue, Y as unlinkConsoleAccountProject, _ as addConsolePasskey, a as ConsoleAccountTeam, b as createConsoleApiKey, c as ConsoleEnvVariable, d as ConsoleSignInState, f as ConsoleTeamDetails, g as accountAppStatusLabels, h as acceptConsoleInvitation, i as ConsoleAccountProject, j as listConsoleApiKeys, k as linkConsoleAccountProject, l as ConsolePasskey, m as ConsoleTeamMember, n as ConsoleAccountAppStatus, o as ConsoleApiKey, p as ConsoleTeamInvitation, q as signUpWithPasskey, r as ConsoleAccountCheck, s as ConsoleEnvStage, t as ConsoleAccount, u as ConsoleSignInMethods, v as cancelConsoleInvitation, w as earlyConsoleSignInState, x as createConsoleTeam, y as checkConsoleAccountProject, z as renameConsoleAccount } from "../../../account-DNr8fHcQ.js";
|
|
2
2
|
export { ConsoleAccount, ConsoleAccountAppStatus, ConsoleAccountCheck, ConsoleAccountProject, ConsoleAccountTeam, ConsoleApiKey, ConsoleEnvStage, ConsoleEnvVariable, ConsolePasskey, ConsoleSignInMethods, ConsoleSignInState, ConsoleTeamDetails, ConsoleTeamInvitation, ConsoleTeamMember, acceptConsoleInvitation, accountAppStatusLabels, addConsolePasskey, cancelConsoleInvitation, checkConsoleAccountProject, createConsoleApiKey, createConsoleTeam, deleteConsoleEnvValue, deleteConsolePasskey, earlyConsoleSignInState, earlyConsoleTeam, endConsoleSession, inviteConsoleMember, leaveConsoleTeam, linkConsoleAccountProject, linkConsoleGitHub, listConsoleApiKeys, listConsolePasskeys, listConsoleSignInProviders, loadConsoleEnvStage, loadConsoleSignInMethods, loadConsoleSignInState, loadConsoleTeam, removeConsoleMember, renameConsoleAccount, renameConsoleAccountProject, renameConsoleTeam, revealConsoleEnvValue, revokeConsoleApiKey, setConsoleEnvValue, signInWithGitHub, signInWithPasskey, signUpWithPasskey, switchConsoleTeam, unlinkConsoleAccountProject };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as consoleStatusDiagnosticCode, t as consoleDiagnostic } from "../../../diagnostics-
|
|
2
|
-
import { o as consoleProjectBuildOf, s as consoleProjectCommentsOf } from "../../../project-link-
|
|
1
|
+
import { i as consoleStatusDiagnosticCode, t as consoleDiagnostic } from "../../../diagnostics-DLHqjKGe.js";
|
|
2
|
+
import { o as consoleProjectBuildOf, s as consoleProjectCommentsOf } from "../../../project-link-CJbCkOlC.js";
|
|
3
3
|
import { createAuthClient, useAuthQuery } from "better-auth/client";
|
|
4
4
|
import { organizationClient } from "better-auth/client/plugins";
|
|
5
|
-
|
|
5
|
+
// ../../node_modules/.pnpm/@better-auth+core@1.7.27_@better-auth+utils@0.5.1_@better-fetch+fetch@1.3.3_@openteleme_1565fe680b243565dc0099f9d8cd7811/node_modules/@better-auth/core/dist/utils/error-codes.mjs
|
|
6
6
|
function defineErrorCodes(codes) {
|
|
7
7
|
return Object.fromEntries(Object.entries(codes).map(([key, value]) => [key, {
|
|
8
8
|
code: key,
|
|
@@ -10,9 +10,9 @@ function defineErrorCodes(codes) {
|
|
|
10
10
|
toString: () => key
|
|
11
11
|
}]));
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
//#region ../../node_modules/.pnpm/@better-auth+passkey@1.7.15_70ea9c824adc5de32c12d7251315bda0/node_modules/@better-auth/passkey/dist/version-BYvYGwzu.mjs
|
|
13
|
+
// ../../node_modules/.pnpm/@better-auth+passkey@1.7.27_99c1172b4c5ca6436b64a29ecd99e828/node_modules/@better-auth/passkey/dist/version-aWuwIMDK.mjs
|
|
15
14
|
const PASSKEY_ERROR_CODES = defineErrorCodes({
|
|
15
|
+
ORIGIN_NOT_CONFIGURED: "Passkey origin is not configured. Set the `origin` option of the passkey plugin or configure `baseURL`.",
|
|
16
16
|
CHALLENGE_NOT_FOUND: "Challenge not found",
|
|
17
17
|
YOU_ARE_NOT_ALLOWED_TO_REGISTER_THIS_PASSKEY: "You are not allowed to register this passkey",
|
|
18
18
|
FAILED_TO_VERIFY_REGISTRATION: "Failed to verify registration",
|
|
@@ -29,9 +29,8 @@ const PASSKEY_ERROR_CODES = defineErrorCodes({
|
|
|
29
29
|
RESOLVE_USER_REQUIRED: "Passkey registration requires either an authenticated session or a resolveUser callback when requireSession is false",
|
|
30
30
|
RESOLVED_USER_INVALID: "Resolved user is invalid"
|
|
31
31
|
});
|
|
32
|
-
const PACKAGE_VERSION = "1.7.
|
|
33
|
-
|
|
34
|
-
//#region ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/helpers/bufferToBase64URLString.js
|
|
32
|
+
const PACKAGE_VERSION = "1.7.27";
|
|
33
|
+
// ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/helpers/bufferToBase64URLString.js
|
|
35
34
|
/**
|
|
36
35
|
* Convert the given array buffer into a Base64URL-encoded string. Ideal for converting various
|
|
37
36
|
* credential response ArrayBuffers to string for sending back to the server as JSON.
|
|
@@ -44,8 +43,7 @@ function bufferToBase64URLString(buffer) {
|
|
|
44
43
|
for (const charCode of bytes) str += String.fromCharCode(charCode);
|
|
45
44
|
return btoa(str).replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, "");
|
|
46
45
|
}
|
|
47
|
-
|
|
48
|
-
//#region ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/helpers/base64URLStringToBuffer.js
|
|
46
|
+
// ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/helpers/base64URLStringToBuffer.js
|
|
49
47
|
/**
|
|
50
48
|
* Convert from a Base64URL-encoded string to an Array Buffer. Best used when converting a
|
|
51
49
|
* credential ID from a JSON string to an ArrayBuffer, like in allowCredentials or
|
|
@@ -70,8 +68,7 @@ function base64URLStringToBuffer(base64URLString) {
|
|
|
70
68
|
for (let i = 0; i < binary.length; i++) bytes[i] = binary.charCodeAt(i);
|
|
71
69
|
return buffer;
|
|
72
70
|
}
|
|
73
|
-
|
|
74
|
-
//#region ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/helpers/browserSupportsWebAuthn.js
|
|
71
|
+
// ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/helpers/browserSupportsWebAuthn.js
|
|
75
72
|
/**
|
|
76
73
|
* Determine if the browser is capable of Webauthn
|
|
77
74
|
*/
|
|
@@ -83,8 +80,7 @@ function browserSupportsWebAuthn() {
|
|
|
83
80
|
* @ignore Don't include this in docs output
|
|
84
81
|
*/
|
|
85
82
|
const _browserSupportsWebAuthnInternals = { stubThis: (value) => value };
|
|
86
|
-
|
|
87
|
-
//#region ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/helpers/toPublicKeyCredentialDescriptor.js
|
|
83
|
+
// ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/helpers/toPublicKeyCredentialDescriptor.js
|
|
88
84
|
function toPublicKeyCredentialDescriptor(descriptor) {
|
|
89
85
|
const { id } = descriptor;
|
|
90
86
|
return {
|
|
@@ -98,8 +94,7 @@ function toPublicKeyCredentialDescriptor(descriptor) {
|
|
|
98
94
|
transports: descriptor.transports
|
|
99
95
|
};
|
|
100
96
|
}
|
|
101
|
-
|
|
102
|
-
//#region ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/helpers/isValidDomain.js
|
|
97
|
+
// ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/helpers/isValidDomain.js
|
|
103
98
|
/**
|
|
104
99
|
* A simple test to determine if a hostname is a properly-formatted domain name
|
|
105
100
|
*
|
|
@@ -111,8 +106,7 @@ function toPublicKeyCredentialDescriptor(descriptor) {
|
|
|
111
106
|
function isValidDomain(hostname) {
|
|
112
107
|
return hostname === "localhost" || /^((xn--[a-z0-9-]+|[a-z0-9]+(-[a-z0-9]+)*)\.)+([a-z]{2,}|xn--[a-z0-9-]+)$/i.test(hostname);
|
|
113
108
|
}
|
|
114
|
-
|
|
115
|
-
//#region ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/helpers/webAuthnError.js
|
|
109
|
+
// ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/helpers/webAuthnError.js
|
|
116
110
|
/**
|
|
117
111
|
* A custom Error used to return a more nuanced error detailing _why_ one of the eight documented
|
|
118
112
|
* errors in the spec was raised after calling `navigator.credentials.create()` or
|
|
@@ -143,8 +137,7 @@ var WebAuthnError = class extends Error {
|
|
|
143
137
|
this.code = code;
|
|
144
138
|
}
|
|
145
139
|
};
|
|
146
|
-
|
|
147
|
-
//#region ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/helpers/identifyRegistrationError.js
|
|
140
|
+
// ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/helpers/identifyRegistrationError.js
|
|
148
141
|
/**
|
|
149
142
|
* Attempt to intuit _why_ an error was raised after calling `navigator.credentials.create()`
|
|
150
143
|
*/
|
|
@@ -224,8 +217,7 @@ function identifyRegistrationError({ error, options }) {
|
|
|
224
217
|
});
|
|
225
218
|
return error;
|
|
226
219
|
}
|
|
227
|
-
|
|
228
|
-
//#region ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/helpers/webAuthnAbortService.js
|
|
220
|
+
// ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/helpers/webAuthnAbortService.js
|
|
229
221
|
var BaseWebAuthnAbortService = class {
|
|
230
222
|
constructor() {
|
|
231
223
|
Object.defineProperty(this, "controller", {
|
|
@@ -262,8 +254,7 @@ var BaseWebAuthnAbortService = class {
|
|
|
262
254
|
* their UX in response to router navigation events.
|
|
263
255
|
*/
|
|
264
256
|
const WebAuthnAbortService = new BaseWebAuthnAbortService();
|
|
265
|
-
|
|
266
|
-
//#region ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/helpers/toAuthenticatorAttachment.js
|
|
257
|
+
// ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/helpers/toAuthenticatorAttachment.js
|
|
267
258
|
const attachments = ["cross-platform", "platform"];
|
|
268
259
|
/**
|
|
269
260
|
* If possible coerce a `string` value into a known `AuthenticatorAttachment`
|
|
@@ -273,8 +264,7 @@ function toAuthenticatorAttachment(attachment) {
|
|
|
273
264
|
if (attachments.indexOf(attachment) < 0) return;
|
|
274
265
|
return attachment;
|
|
275
266
|
}
|
|
276
|
-
|
|
277
|
-
//#region ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/methods/startRegistration.js
|
|
267
|
+
// ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/methods/startRegistration.js
|
|
278
268
|
/**
|
|
279
269
|
* Begin authenticator "registration" via WebAuthn attestation
|
|
280
270
|
*
|
|
@@ -361,8 +351,7 @@ async function startRegistration(options) {
|
|
|
361
351
|
function warnOnBrokenImplementation(methodName, cause) {
|
|
362
352
|
console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${methodName}. You should report this error to them.\n`, cause);
|
|
363
353
|
}
|
|
364
|
-
|
|
365
|
-
//#region ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/helpers/browserSupportsWebAuthnAutofill.js
|
|
354
|
+
// ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/helpers/browserSupportsWebAuthnAutofill.js
|
|
366
355
|
/**
|
|
367
356
|
* Determine if the browser supports conditional UI, so that WebAuthn credentials can
|
|
368
357
|
* be shown to the user in the browser's typical password autofill popup.
|
|
@@ -380,8 +369,7 @@ function browserSupportsWebAuthnAutofill() {
|
|
|
380
369
|
return _browserSupportsWebAuthnAutofillInternals.stubThis(globalPublicKeyCredential.isConditionalMediationAvailable());
|
|
381
370
|
}
|
|
382
371
|
const _browserSupportsWebAuthnAutofillInternals = { stubThis: (value) => value };
|
|
383
|
-
|
|
384
|
-
//#region ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/helpers/identifyAuthenticationError.js
|
|
372
|
+
// ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/helpers/identifyAuthenticationError.js
|
|
385
373
|
/**
|
|
386
374
|
* Attempt to intuit _why_ an error was raised after calling `navigator.credentials.get()`
|
|
387
375
|
*/
|
|
@@ -423,8 +411,7 @@ function identifyAuthenticationError({ error, options }) {
|
|
|
423
411
|
});
|
|
424
412
|
return error;
|
|
425
413
|
}
|
|
426
|
-
|
|
427
|
-
//#region ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/methods/startAuthentication.js
|
|
414
|
+
// ../../node_modules/.pnpm/@simplewebauthn+browser@13.3.0/node_modules/@simplewebauthn/browser/esm/methods/startAuthentication.js
|
|
428
415
|
/**
|
|
429
416
|
* Begin authenticator "login" via WebAuthn assertion
|
|
430
417
|
*
|
|
@@ -486,11 +473,9 @@ async function startAuthentication(options) {
|
|
|
486
473
|
authenticatorAttachment: toAuthenticatorAttachment(credential.authenticatorAttachment)
|
|
487
474
|
};
|
|
488
475
|
}
|
|
489
|
-
|
|
490
|
-
//#region ../../node_modules/.pnpm/nanostores@1.5.4/node_modules/nanostores/clean-stores/index.js
|
|
476
|
+
// ../../node_modules/.pnpm/nanostores@1.5.4/node_modules/nanostores/clean-stores/index.js
|
|
491
477
|
const clean = Symbol("clean");
|
|
492
|
-
|
|
493
|
-
//#region ../../node_modules/.pnpm/nanostores@1.5.4/node_modules/nanostores/atom/index.js
|
|
478
|
+
// ../../node_modules/.pnpm/nanostores@1.5.4/node_modules/nanostores/atom/index.js
|
|
494
479
|
let listenerQueue = [];
|
|
495
480
|
let lqIndex = 0;
|
|
496
481
|
const QUEUE_ITEMS_PER_LISTENER = 4;
|
|
@@ -560,8 +545,7 @@ const atom = /* @__NO_SIDE_EFFECTS__ */ (initialValue) => {
|
|
|
560
545
|
};
|
|
561
546
|
return $atom;
|
|
562
547
|
};
|
|
563
|
-
|
|
564
|
-
//#region ../../node_modules/.pnpm/@better-auth+passkey@1.7.15_70ea9c824adc5de32c12d7251315bda0/node_modules/@better-auth/passkey/dist/client.mjs
|
|
548
|
+
// ../../node_modules/.pnpm/@better-auth+passkey@1.7.27_99c1172b4c5ca6436b64a29ecd99e828/node_modules/@better-auth/passkey/dist/client.mjs
|
|
565
549
|
const getPasskeyActions = ($fetch, { $listPasskeys, $store }) => {
|
|
566
550
|
const signInPasskey = async (opts, options) => {
|
|
567
551
|
const response = await $fetch("/passkey/generate-authenticate-options", {
|
|
@@ -761,8 +745,7 @@ const passkeyClient = () => {
|
|
|
761
745
|
$ERROR_CODES: PASSKEY_ERROR_CODES
|
|
762
746
|
};
|
|
763
747
|
};
|
|
764
|
-
|
|
765
|
-
//#region src/console/runtime/client/account.ts
|
|
748
|
+
// src/console/runtime/client/account.ts
|
|
766
749
|
/**
|
|
767
750
|
* The account of a Console that runs as its own app, such as console.vitehub.dev. People sign in to the Console with
|
|
768
751
|
* GitHub or a passkey. Projects belong to teams, and every account has a personal team. The Console server keeps a
|
|
@@ -980,7 +963,8 @@ const accountAppStatusLabels = {
|
|
|
980
963
|
connected: "Connected",
|
|
981
964
|
setup: "Variable not set",
|
|
982
965
|
unconfigured: "Not connected",
|
|
983
|
-
unreachable: "Not reachable"
|
|
966
|
+
unreachable: "Not reachable",
|
|
967
|
+
site: "Hosted Comments"
|
|
984
968
|
};
|
|
985
969
|
const variableProblems = /* @__PURE__ */ new Set([
|
|
986
970
|
"CONSOLE_KEY_NOT_CONFIGURED",
|
|
@@ -1012,11 +996,12 @@ async function checkConsoleAccountProject(id) {
|
|
|
1012
996
|
};
|
|
1013
997
|
}
|
|
1014
998
|
/** Link an app to the active team. The answer names the variable and the public key to set on the app. */
|
|
1015
|
-
async function linkConsoleAccountProject(url, label) {
|
|
999
|
+
async function linkConsoleAccountProject(url, label, kind) {
|
|
1016
1000
|
const { project } = await json("/api/projects", {
|
|
1017
1001
|
body: JSON.stringify({
|
|
1018
1002
|
url,
|
|
1019
|
-
|
|
1003
|
+
label,
|
|
1004
|
+
kind
|
|
1020
1005
|
}),
|
|
1021
1006
|
method: "POST"
|
|
1022
1007
|
});
|
|
@@ -1032,7 +1017,7 @@ async function renameConsoleAccountProject(id, label) {
|
|
|
1032
1017
|
return project;
|
|
1033
1018
|
}
|
|
1034
1019
|
async function unlinkConsoleAccountProject(id) {
|
|
1035
|
-
const response = await fetch(`/api/projects/${encodeURIComponent(id)}`, {
|
|
1020
|
+
const response = await fetch(`/api/projects/${encodeURIComponent(id)}?deleteHostedComments=true`, {
|
|
1036
1021
|
credentials: "same-origin",
|
|
1037
1022
|
method: "DELETE"
|
|
1038
1023
|
});
|
|
@@ -1125,5 +1110,4 @@ async function revealConsoleEnvValue(projectId, stage, name) {
|
|
|
1125
1110
|
});
|
|
1126
1111
|
return values[name];
|
|
1127
1112
|
}
|
|
1128
|
-
//#endregion
|
|
1129
1113
|
export { acceptConsoleInvitation, accountAppStatusLabels, addConsolePasskey, cancelConsoleInvitation, checkConsoleAccountProject, createConsoleApiKey, createConsoleTeam, deleteConsoleEnvValue, deleteConsolePasskey, earlyConsoleSignInState, earlyConsoleTeam, endConsoleSession, inviteConsoleMember, leaveConsoleTeam, linkConsoleAccountProject, linkConsoleGitHub, listConsoleApiKeys, listConsolePasskeys, listConsoleSignInProviders, loadConsoleEnvStage, loadConsoleSignInMethods, loadConsoleSignInState, loadConsoleTeam, removeConsoleMember, renameConsoleAccount, renameConsoleAccountProject, renameConsoleTeam, revealConsoleEnvValue, revokeConsoleApiKey, setConsoleEnvValue, signInWithGitHub, signInWithPasskey, signUpWithPasskey, switchConsoleTeam, unlinkConsoleAccountProject };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { InjectionKey, Ref } from "vue";
|
|
2
|
-
//#region src/console/runtime/client/appearance.d.ts
|
|
3
2
|
export type ConsoleAppearance = "system" | "light" | "dark";
|
|
4
3
|
export type ConsoleColorScheme = "light" | "dark";
|
|
5
4
|
export interface ConsoleAppearanceController {
|
|
@@ -59,4 +58,4 @@ export declare function startConsoleAppearance(options: {
|
|
|
59
58
|
* so Console components leave it alone when nothing is provided.
|
|
60
59
|
*/
|
|
61
60
|
export declare const consoleAppearanceKey: InjectionKey<ConsoleAppearanceController>;
|
|
62
|
-
|
|
61
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { readonly, ref } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/console/runtime/client/appearance.ts
|
|
3
3
|
const consoleAppearances = [
|
|
4
4
|
"system",
|
|
5
5
|
"light",
|
|
@@ -83,5 +83,4 @@ function startConsoleAppearance(options) {
|
|
|
83
83
|
* so Console components leave it alone when nothing is provided.
|
|
84
84
|
*/
|
|
85
85
|
const consoleAppearanceKey = Symbol("vitehub-console-appearance");
|
|
86
|
-
//#endregion
|
|
87
86
|
export { applyConsoleColorScheme, applyConsoleThemeColor, consoleAppearanceKey, consoleAppearanceOptions, consoleAppearances, consoleDarkSchemeQuery, parseConsoleAppearance, readConsoleAppearance, rememberConsoleAppearance, resolveConsoleColorScheme, startConsoleAppearance };
|
|
@@ -14,10 +14,10 @@ import type {
|
|
|
14
14
|
AuthConsoleQuery,
|
|
15
15
|
} from "@vite-hub/auth/console";
|
|
16
16
|
|
|
17
|
-
import { authConsoleActionOperations,
|
|
17
|
+
import { authConsoleActionOperations, authConsoleReadOperations } from "../auth-operations";
|
|
18
18
|
import { consoleDateTime } from "./format";
|
|
19
19
|
import { requestConsoleOperation } from "./request";
|
|
20
|
-
import {
|
|
20
|
+
import { openSiteAction } from "./site-link";
|
|
21
21
|
|
|
22
22
|
type AuthResults = {
|
|
23
23
|
describe: AuthConsoleDescription;
|
|
@@ -46,12 +46,12 @@ export async function readAuthConsole<K extends keyof AuthResults>(
|
|
|
46
46
|
return value as AuthResults[K];
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
|
-
* Runs one Auth action with its `auth.<action>` operation. Impersonation sets the app session cookie, so
|
|
50
|
-
*
|
|
49
|
+
* Runs one Auth action with its `auth.<action>` operation. Impersonation sets the app session cookie, so a new tab opens
|
|
50
|
+
* the app's `/_vitehub/site` with an `impersonate` Site access token of the Console.
|
|
51
51
|
*/
|
|
52
52
|
export async function changeAuthConsole(input: AuthConsoleMutation | { action: "stopImpersonating" }): Promise<void> {
|
|
53
|
-
if (input.action === "impersonate") return await
|
|
54
|
-
if (input.action === "stopImpersonating") return await
|
|
53
|
+
if (input.action === "impersonate") return await openSiteAction("impersonate", { action: "start", userId: input.userId });
|
|
54
|
+
if (input.action === "stopImpersonating") return await openSiteAction("impersonate", { action: "stop" });
|
|
55
55
|
const { action, ...fields } = input;
|
|
56
56
|
await requestConsoleOperation(authConsoleActionOperations[action], fields);
|
|
57
57
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { o as ConsoleMediaFile, r as ConsoleMediaClient } from "../../../media-library-
|
|
2
|
-
//#region src/console/runtime/client/blob-media.d.ts
|
|
1
|
+
import { o as ConsoleMediaFile, r as ConsoleMediaClient } from "../../../media-library-DxGu6w9z.js";
|
|
3
2
|
/** One Blob object as the Console Blob route returns it. */
|
|
4
3
|
export interface ConsoleBlobObject {
|
|
5
4
|
contentType?: string;
|
|
@@ -42,5 +41,4 @@ export interface ConsoleBlobMediaClient extends ConsoleMediaClient {
|
|
|
42
41
|
* Lists one Blob Store through the Console Blob route. Folders come from a folded listing.
|
|
43
42
|
* Search matches the start of pathnames in the open folder, since Blob providers list by prefix.
|
|
44
43
|
*/
|
|
45
|
-
export declare function createConsoleBlobMediaClient(base: string, options: ConsoleBlobMediaOptions): ConsoleBlobMediaClient;
|
|
46
|
-
//#endregion
|
|
44
|
+
export declare function createConsoleBlobMediaClient(base: string, options: ConsoleBlobMediaOptions): ConsoleBlobMediaClient;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { t as ConsoleRequestError, u as requestConsole } from "../../../request-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
1
|
+
import { t as isVitehubOwnedPath } from "../../../owned-paths-MjjDftBn.js";
|
|
2
|
+
import { t as ConsoleRequestError, u as requestConsole } from "../../../request-XFVx7CGC.js";
|
|
3
|
+
import { m as consoleMediaType } from "../../../media-library-DTC8TLsZ.js";
|
|
4
|
+
import { t as viteHubErrorDiagnostics } from "../../../error-diagnostics-CBtvqI30.js";
|
|
5
|
+
// src/console/runtime/client/blob-media.ts
|
|
6
6
|
function record(value) {
|
|
7
7
|
return value instanceof Object && !Array.isArray(value) ? Object.fromEntries(Object.entries(value)) : void 0;
|
|
8
8
|
}
|
|
@@ -253,5 +253,4 @@ function createConsoleBlobMediaClient(base, options) {
|
|
|
253
253
|
}
|
|
254
254
|
};
|
|
255
255
|
}
|
|
256
|
-
//#endregion
|
|
257
256
|
export { consoleBlobMediaFile, createConsoleBlobMediaClient, parseConsoleBlobPage };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CommentSubject, CommentThread, CommentUser, CommentsTransport } from "@vite-hub/comments/client";
|
|
2
|
-
//#region src/console/runtime/client/comment-thread.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* A Comments transport over the Console RPC. Each call runs the `comments.*` operation with the Console user, so the
|
|
5
4
|
* `authorize` policy of the app decides what the user may read and change.
|
|
@@ -29,5 +28,4 @@ export declare function readConsoleCommentSession(subject: CommentSubject, signa
|
|
|
29
28
|
/** Whether an item of `comments.list` has the fields that the thread panel reads. */
|
|
30
29
|
export declare function isConsoleCommentThread(value: unknown): value is CommentThread;
|
|
31
30
|
/** Where a thread is, for the panel heading: the page path, or `<kind> <id>` for another subject. */
|
|
32
|
-
export declare function consoleCommentSubjectLabel(subject: CommentSubject): string;
|
|
33
|
-
//#endregion
|
|
31
|
+
export declare function consoleCommentSubjectLabel(subject: CommentSubject): string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { d as requestConsoleOperation, t as ConsoleRequestError } from "../../../request-XFVx7CGC.js";
|
|
2
|
+
import { n as isRecord } from "../../../object-DRSmpe04.js";
|
|
3
|
+
// src/console/runtime/client/comment-thread.ts
|
|
4
4
|
/**
|
|
5
5
|
* A Comments transport over the Console RPC. Each call runs the `comments.*` operation with the Console user, so the
|
|
6
6
|
* `authorize` policy of the app decides what the user may read and change.
|
|
@@ -65,5 +65,4 @@ function isConsoleCommentThread(value) {
|
|
|
65
65
|
function consoleCommentSubjectLabel(subject) {
|
|
66
66
|
return subject.kind === "page" ? subject.id : `${subject.kind} ${subject.id}`;
|
|
67
67
|
}
|
|
68
|
-
//#endregion
|
|
69
68
|
export { consoleCommentSubjectLabel, consoleCommentsTransport, isConsoleCommentThread, readConsoleCommentAttachment, readConsoleCommentSession };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/console/runtime/client/content-heads.d.ts
|
|
2
1
|
/** The last GitHub push webhook delivery of a `github()` Source, as `content.head` answers it. */
|
|
3
2
|
export interface ConsoleContentWebhook {
|
|
4
3
|
id: string | null;
|
|
@@ -42,4 +41,4 @@ export declare function contentWebhookResult(webhook: ConsoleContentWebhook): {
|
|
|
42
41
|
label: string;
|
|
43
42
|
tone: Tone;
|
|
44
43
|
};
|
|
45
|
-
|
|
44
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as requestConsoleOperation } from "../../../request-
|
|
2
|
-
|
|
1
|
+
import { d as requestConsoleOperation } from "../../../request-XFVx7CGC.js";
|
|
2
|
+
// src/console/runtime/client/content-heads.ts
|
|
3
3
|
/** The heads of the app's `github()` Sources. An app without one answers an empty list. */
|
|
4
4
|
async function readContentHeads(signal) {
|
|
5
5
|
const value = await requestConsoleOperation("content.head", {}, signal ? { signal } : {});
|
|
@@ -54,5 +54,4 @@ function contentWebhookResult(webhook) {
|
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
//#endregion
|
|
58
57
|
export { contentHeadStatus, contentWebhookResult, readContentHeads, shortCommit };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as ConsoleDocumentCollection } from "../../../definitions-
|
|
2
|
-
import { $ as consoleInvalidDocument, A as ConsoleListState, B as consoleDocumentScheduleLabel, C as ConsoleDocumentSessionAction, D as ConsoleDocumentSummary, E as ConsoleDocumentState, F as ConsoleSeoFallbacks, G as consoleDocumentStates, H as consoleDocumentSlug, I as ConsoleSeoHint, J as consoleFieldIssues, K as consoleDocumentText, L as consoleDocumentFolders, M as ConsolePublishMismatch, N as ConsoleRawDocument, O as ConsoleDocumentTranslationState, P as ConsoleRevisionRun, Q as consoleImageUrl, R as consoleDocumentHasBody, S as ConsoleDocumentSession, St as stableConsoleJSON, T as ConsoleDocumentSessions, U as consoleDocumentStateColor, V as consoleDocumentScheduleTone, W as consoleDocumentStateLabel, X as consoleHintParts, Y as consoleFixFieldsLabel, Z as consoleHintText, _ as ConsoleDocumentSchedule, _t as groupConsoleRevisions, a as ConsoleDocumentFolder, at as consolePublishMismatches, b as ConsoleDocumentScheduledChange, bt as parseConsoleListQuery, c as ConsoleDocumentOverview, ct as consoleRevisionTone, d as ConsoleDocumentPendingChange, dt as consoleSingularLabel, et as consoleLeaseHolder, f as ConsoleDocumentPresence, ft as consoleTranslationLabel, g as ConsoleDocumentRevision, gt as groupConsoleRevisionRuns, h as ConsoleDocumentPublished, ht as createConsoleDocumentsClient, i as ConsoleDocumentConflict, it as consoleLocaleName, j as ConsoleListView, k as ConsoleDocumentsClient, l as ConsoleDocumentOverviewCollection, lt as consoleSeoFallbacks, m as ConsoleDocumentPublishExpectation, mt as consoleTruncate, n as ConsoleDocumentActivity, nt as consoleListQueryFor, o as ConsoleDocumentFormat, ot as consolePublishedConflicts, p as ConsoleDocumentPreview, pt as consoleTranslationsToDo, q as consoleErrorMessage, r as ConsoleDocumentChange, rt as consoleLocalScheduleTime, s as ConsoleDocumentListQuery, st as consoleRevisionLabel, t as ConsoleDocument, tt as consoleListQuery, u as ConsoleDocumentPage, ut as consoleSeoField, v as ConsoleDocumentScheduleStatus, vt as isConsoleConflict, w as ConsoleDocumentSessionUser, x as ConsoleDocumentSearchResult, xt as rememberConsoleListQuery, y as ConsoleDocumentScheduled, yt as isConsoleDocumentId, z as consoleDocumentScheduleHint } from "../../../documents-
|
|
1
|
+
import { a as ConsoleDocumentCollection } from "../../../definitions-ChvMnA1L.js";
|
|
2
|
+
import { $ as consoleInvalidDocument, A as ConsoleListState, B as consoleDocumentScheduleLabel, C as ConsoleDocumentSessionAction, D as ConsoleDocumentSummary, E as ConsoleDocumentState, F as ConsoleSeoFallbacks, G as consoleDocumentStates, H as consoleDocumentSlug, I as ConsoleSeoHint, J as consoleFieldIssues, K as consoleDocumentText, L as consoleDocumentFolders, M as ConsolePublishMismatch, N as ConsoleRawDocument, O as ConsoleDocumentTranslationState, P as ConsoleRevisionRun, Q as consoleImageUrl, R as consoleDocumentHasBody, S as ConsoleDocumentSession, St as stableConsoleJSON, T as ConsoleDocumentSessions, U as consoleDocumentStateColor, V as consoleDocumentScheduleTone, W as consoleDocumentStateLabel, X as consoleHintParts, Y as consoleFixFieldsLabel, Z as consoleHintText, _ as ConsoleDocumentSchedule, _t as groupConsoleRevisions, a as ConsoleDocumentFolder, at as consolePublishMismatches, b as ConsoleDocumentScheduledChange, bt as parseConsoleListQuery, c as ConsoleDocumentOverview, ct as consoleRevisionTone, d as ConsoleDocumentPendingChange, dt as consoleSingularLabel, et as consoleLeaseHolder, f as ConsoleDocumentPresence, ft as consoleTranslationLabel, g as ConsoleDocumentRevision, gt as groupConsoleRevisionRuns, h as ConsoleDocumentPublished, ht as createConsoleDocumentsClient, i as ConsoleDocumentConflict, it as consoleLocaleName, j as ConsoleListView, k as ConsoleDocumentsClient, l as ConsoleDocumentOverviewCollection, lt as consoleSeoFallbacks, m as ConsoleDocumentPublishExpectation, mt as consoleTruncate, n as ConsoleDocumentActivity, nt as consoleListQueryFor, o as ConsoleDocumentFormat, ot as consolePublishedConflicts, p as ConsoleDocumentPreview, pt as consoleTranslationsToDo, q as consoleErrorMessage, r as ConsoleDocumentChange, rt as consoleLocalScheduleTime, s as ConsoleDocumentListQuery, st as consoleRevisionLabel, t as ConsoleDocument, tt as consoleListQuery, u as ConsoleDocumentPage, ut as consoleSeoField, v as ConsoleDocumentScheduleStatus, vt as isConsoleConflict, w as ConsoleDocumentSessionUser, x as ConsoleDocumentSearchResult, xt as rememberConsoleListQuery, y as ConsoleDocumentScheduled, yt as isConsoleDocumentId, z as consoleDocumentScheduleHint } from "../../../documents-CApMRd4o.js";
|
|
3
3
|
export { ConsoleDocument, ConsoleDocumentActivity, ConsoleDocumentChange, type ConsoleDocumentCollection, ConsoleDocumentConflict, ConsoleDocumentFolder, ConsoleDocumentFormat, ConsoleDocumentListQuery, ConsoleDocumentOverview, ConsoleDocumentOverviewCollection, ConsoleDocumentPage, ConsoleDocumentPendingChange, ConsoleDocumentPresence, ConsoleDocumentPreview, ConsoleDocumentPublishExpectation, ConsoleDocumentPublished, ConsoleDocumentRevision, ConsoleDocumentSchedule, ConsoleDocumentScheduleStatus, ConsoleDocumentScheduled, ConsoleDocumentScheduledChange, ConsoleDocumentSearchResult, ConsoleDocumentSession, ConsoleDocumentSessionAction, ConsoleDocumentSessionUser, ConsoleDocumentSessions, ConsoleDocumentState, ConsoleDocumentSummary, ConsoleDocumentTranslationState, ConsoleDocumentsClient, ConsoleListState, ConsoleListView, ConsolePublishMismatch, ConsoleRawDocument, ConsoleRevisionRun, ConsoleSeoFallbacks, ConsoleSeoHint, consoleDocumentFolders, consoleDocumentHasBody, consoleDocumentScheduleHint, consoleDocumentScheduleLabel, consoleDocumentScheduleTone, consoleDocumentSlug, consoleDocumentStateColor, consoleDocumentStateLabel, consoleDocumentStates, consoleDocumentText, consoleErrorMessage, consoleFieldIssues, consoleFixFieldsLabel, consoleHintParts, consoleHintText, consoleImageUrl, consoleInvalidDocument, consoleLeaseHolder, consoleListQuery, consoleListQueryFor, consoleLocalScheduleTime, consoleLocaleName, consolePublishMismatches, consolePublishedConflicts, consoleRevisionLabel, consoleRevisionTone, consoleSeoFallbacks, consoleSeoField, consoleSingularLabel, consoleTranslationLabel, consoleTranslationsToDo, consoleTruncate, createConsoleDocumentsClient, groupConsoleRevisionRuns, groupConsoleRevisions, isConsoleConflict, isConsoleDocumentId, parseConsoleListQuery, rememberConsoleListQuery, stableConsoleJSON };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { consoleDocumentFolders, consoleDocumentHasBody, consoleDocumentScheduleHint, consoleDocumentScheduleLabel, consoleDocumentScheduleTone, consoleDocumentSlug, consoleDocumentStateColor, consoleDocumentStateLabel, consoleDocumentStates, consoleDocumentText, consoleErrorMessage, consoleFieldIssues, consoleFixFieldsLabel, consoleHintParts, consoleHintText, consoleImageUrl, consoleInvalidDocument, consoleLeaseHolder, consoleListQuery, consoleListQueryFor, consoleLocalScheduleTime, consoleLocaleName, consolePublishMismatches, consolePublishedConflicts, consoleRevisionLabel, consoleRevisionTone, consoleSeoFallbacks, consoleSeoField, consoleSingularLabel, consoleTranslationLabel, consoleTranslationsToDo, consoleTruncate, createConsoleDocumentsClient, groupConsoleRevisionRuns, groupConsoleRevisions, isConsoleConflict, isConsoleDocumentId, parseConsoleListQuery, rememberConsoleListQuery, stableConsoleJSON };
|
|
1
|
+
export { t as consoleDocumentFolders, n as consoleDocumentHasBody, r as consoleDocumentScheduleHint, i as consoleDocumentScheduleLabel, a as consoleDocumentScheduleTone, o as consoleDocumentSlug, s as consoleDocumentStateColor, c as consoleDocumentStateLabel, l as consoleDocumentStates, u as consoleDocumentText, d as consoleErrorMessage, f as consoleFieldIssues, p as consoleFixFieldsLabel, m as consoleHintParts, h as consoleHintText, g as consoleImageUrl, _ as consoleInvalidDocument, v as consoleLeaseHolder, y as consoleListQuery, b as consoleListQueryFor, x as consoleLocalScheduleTime, S as consoleLocaleName, C as consolePublishMismatches, w as consolePublishedConflicts, T as consoleRevisionLabel, E as consoleRevisionTone, D as consoleSeoFallbacks, O as consoleSeoField, k as consoleSingularLabel, A as consoleTranslationLabel, j as consoleTranslationsToDo, M as consoleTruncate, N as createConsoleDocumentsClient, P as groupConsoleRevisionRuns, F as groupConsoleRevisions, I as isConsoleConflict, L as isConsoleDocumentId, R as parseConsoleListQuery, z as rememberConsoleListQuery, B as stableConsoleJSON } from "../../../documents-BduuZjm3.js";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { o as ConsoleDocumentComponent } from "../../../definitions-
|
|
2
|
-
import { r as ConsoleMediaPicker } from "../../../media-
|
|
1
|
+
import { o as ConsoleDocumentComponent } from "../../../definitions-ChvMnA1L.js";
|
|
2
|
+
import { r as ConsoleMediaPicker } from "../../../media-C79RB1oH.js";
|
|
3
3
|
import { ContentImage } from "@vite-hub/content/editor";
|
|
4
|
-
//#region src/console/runtime/client/editor.d.ts
|
|
5
4
|
/** Resolve media for display while the shared codec keeps its stored pathname. */
|
|
6
5
|
export declare function consoleEditorMedia(resolveSrc: ConsoleMediaPicker["resolveSrc"]): typeof ContentImage;
|
|
7
6
|
/**
|
|
@@ -79,5 +78,4 @@ export declare function splitConsoleFrontmatter(text: string): {
|
|
|
79
78
|
frontmatter: string;
|
|
80
79
|
};
|
|
81
80
|
/** A heading anchor such as `getting-started`, for links to a section of the body. */
|
|
82
|
-
export declare function consoleHeadingSlug(text: string): string;
|
|
83
|
-
//#endregion
|
|
81
|
+
export declare function consoleHeadingSlug(text: string): string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ContentImage } from "@vite-hub/content/editor";
|
|
2
|
-
|
|
2
|
+
// src/console/runtime/client/editor.ts
|
|
3
3
|
/** Resolve media for display while the shared codec keeps its stored pathname. */
|
|
4
4
|
function consoleEditorMedia(resolveSrc) {
|
|
5
5
|
return ContentImage.extend({ renderHTML({ node, HTMLAttributes }) {
|
|
@@ -265,5 +265,4 @@ function splitConsoleFrontmatter(text) {
|
|
|
265
265
|
function consoleHeadingSlug(text) {
|
|
266
266
|
return text.normalize("NFKD").replace(/[̀-ͯ]/g, "").toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "");
|
|
267
267
|
}
|
|
268
|
-
//#endregion
|
|
269
268
|
export { consoleComponentDefaults, consoleComponentProp, consoleComponentWithProp, consoleConvertibleNodes, consoleEditorComponents, consoleEditorMedia, consoleHeadingSlug, consoleSlashGroups, consoleTurnIntoItems, splitConsoleFrontmatter };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ServerEnvDescriptionEntry } from "@vite-hub/env";
|
|
2
|
-
//#region src/console/runtime/client/env-groups.d.ts
|
|
3
2
|
/** A Server Env declaration as the Env page lists it: the name inside its group, with the parent path kept apart. */
|
|
4
3
|
export interface ConsoleEnvRow {
|
|
5
4
|
readonly entry: ServerEnvDescriptionEntry;
|
|
@@ -24,5 +23,4 @@ export declare function consoleEnvName(entry: ServerEnvDescriptionEntry): string
|
|
|
24
23
|
* values with its full name, so a group heading never labels a single row. The other values come after the namespaces
|
|
25
24
|
* and undisclosed names come last.
|
|
26
25
|
*/
|
|
27
|
-
export declare function groupConsoleEnv(entries: readonly ServerEnvDescriptionEntry[]): ConsoleEnvGroup[];
|
|
28
|
-
//#endregion
|
|
26
|
+
export declare function groupConsoleEnv(entries: readonly ServerEnvDescriptionEntry[]): ConsoleEnvGroup[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/console/runtime/client/env-groups.ts
|
|
2
2
|
/** The path without the `env.server.` prefix that every Server Env declaration shares. */
|
|
3
3
|
function consoleEnvName(entry) {
|
|
4
4
|
return entry.path?.replace(/^env\.server\./, "");
|
|
@@ -35,5 +35,4 @@ function groupConsoleEnv(entries) {
|
|
|
35
35
|
rows: rows.toSorted((a, b) => (order.get(a.entry) ?? 0) - (order.get(b.entry) ?? 0))
|
|
36
36
|
})).sort((a, b) => rank(a.name) - rank(b.name));
|
|
37
37
|
}
|
|
38
|
-
//#endregion
|
|
39
38
|
export { consoleEnvName, groupConsoleEnv };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ServerEnvDescriptionEntry } from "@vite-hub/env";
|
|
2
|
-
//#region src/console/runtime/client/env-status.d.ts
|
|
3
2
|
/** One entry of `env.inspect`: names and status of a Server Env declaration, never a value. */
|
|
4
3
|
export interface ConsoleEnvStatus {
|
|
5
4
|
blocking: boolean;
|
|
@@ -31,5 +30,4 @@ export declare function envPushCommand(host: string | undefined): string;
|
|
|
31
30
|
export declare function envStatusFix(result: ConsoleEnvInspect): {
|
|
32
31
|
title: string;
|
|
33
32
|
description: string;
|
|
34
|
-
} | undefined;
|
|
35
|
-
//#endregion
|
|
33
|
+
} | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from "valibot";
|
|
2
|
-
|
|
2
|
+
// src/console/runtime/client/env-status.ts
|
|
3
3
|
const statusEntrySchema = v.object({
|
|
4
4
|
blocking: v.boolean(),
|
|
5
5
|
conflict: v.optional(v.literal(true)),
|
|
@@ -64,5 +64,4 @@ function envStatusFix(result) {
|
|
|
64
64
|
description: steps.join(" ")
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
|
-
//#endregion
|
|
68
67
|
export { envPushCommand, envStatusFix, indexEnvStatuses, parseEnvInspect };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/console/runtime/client/format.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* A size such as `512 B`, `11.5 KB`, or `64 MB`. Units are powers of 1024, as in Blob `maxSize` options. Values under
|
|
4
3
|
* 10 keep one decimal.
|
|
@@ -87,5 +86,4 @@ export declare function consoleTimeOfDay(value: string | number | null | undefin
|
|
|
87
86
|
seconds?: boolean;
|
|
88
87
|
}): string;
|
|
89
88
|
/** A date and a 24-hour time in the viewer's zone without the year, such as `Oct 20, 09:00`, for a schedule. */
|
|
90
|
-
export declare function consoleDayTime(value: string): string;
|
|
91
|
-
//#endregion
|
|
89
|
+
export declare function consoleDayTime(value: string): string;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { consoleBytes, consoleClockTime, consoleDateTime, consoleDayTime, consoleDuration, consoleDurationWords, consoleInitials, consoleNumber, consoleRelativeTime, consoleStatusValue, consoleTimeOfDay, consoleValueParts, dayLabel, exactTimestamps, recentTimestamp };
|
|
1
|
+
export { t as consoleBytes, n as consoleClockTime, r as consoleDateTime, i as consoleDayTime, a as consoleDuration, o as consoleDurationWords, s as consoleInitials, c as consoleNumber, l as consoleRelativeTime, u as consoleStatusValue, d as consoleTimeOfDay, f as consoleValueParts, p as dayLabel, m as exactTimestamps, h as recentTimestamp } from "../../../format-Df-bS4Ly.js";
|
|
@@ -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-XFVx7CGC.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-CApMRd4o.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;
|