@vibesdotdev/docs 0.0.0-stage → 1.0.0-rc.2
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/LICENSE +18 -0
- package/README.md +74 -2
- package/dist/cli/cli.plugin.d.ts +14 -0
- package/dist/cli/cli.plugin.d.ts.map +1 -0
- package/dist/cli/cli.plugin.js +57 -0
- package/dist/cli/cli.plugin.js.map +1 -0
- package/dist/cli/commands/docs.list.command.descriptor.d.ts +33 -0
- package/dist/cli/commands/docs.list.command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/docs.list.command.descriptor.js +34 -0
- package/dist/cli/commands/docs.list.command.descriptor.js.map +1 -0
- package/dist/cli/commands/docs.list.command.impl.d.ts +25 -0
- package/dist/cli/commands/docs.list.command.impl.d.ts.map +1 -0
- package/dist/cli/commands/docs.list.command.impl.js +87 -0
- package/dist/cli/commands/docs.list.command.impl.js.map +1 -0
- package/dist/cli/commands/docs.show.command.descriptor.d.ts +44 -0
- package/dist/cli/commands/docs.show.command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/docs.show.command.descriptor.js +48 -0
- package/dist/cli/commands/docs.show.command.descriptor.js.map +1 -0
- package/dist/cli/commands/docs.show.command.impl.d.ts +26 -0
- package/dist/cli/commands/docs.show.command.impl.d.ts.map +1 -0
- package/dist/cli/commands/docs.show.command.impl.js +82 -0
- package/dist/cli/commands/docs.show.command.impl.js.map +1 -0
- package/dist/cli/commands/generate/docs.generate.cli-command.descriptor.d.ts +4 -0
- package/dist/cli/commands/generate/docs.generate.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/generate/docs.generate.cli-command.descriptor.js +58 -0
- package/dist/cli/commands/generate/docs.generate.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/generate/docs.generate.cli-command.impl.d.ts +24 -0
- package/dist/cli/commands/generate/docs.generate.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/generate/docs.generate.cli-command.impl.js +283 -0
- package/dist/cli/commands/generate/docs.generate.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/man/man.cli-command.descriptor.d.ts +4 -0
- package/dist/cli/commands/man/man.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/man/man.cli-command.descriptor.js +32 -0
- package/dist/cli/commands/man/man.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/man/man.cli-command.impl.d.ts +23 -0
- package/dist/cli/commands/man/man.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/man/man.cli-command.impl.js +22 -0
- package/dist/cli/commands/man/man.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/open/docs.open.cli-command.descriptor.d.ts +4 -0
- package/dist/cli/commands/open/docs.open.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/open/docs.open.cli-command.descriptor.js +18 -0
- package/dist/cli/commands/open/docs.open.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/open/docs.open.cli-command.impl.d.ts +14 -0
- package/dist/cli/commands/open/docs.open.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/open/docs.open.cli-command.impl.js +52 -0
- package/dist/cli/commands/open/docs.open.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/search.command.descriptor.d.ts +36 -0
- package/dist/cli/commands/search.command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/search.command.descriptor.js +35 -0
- package/dist/cli/commands/search.command.descriptor.js.map +1 -0
- package/dist/cli/commands/search.command.impl.d.ts +25 -0
- package/dist/cli/commands/search.command.impl.d.ts.map +1 -0
- package/dist/cli/commands/search.command.impl.js +113 -0
- package/dist/cli/commands/search.command.impl.js.map +1 -0
- package/dist/cli/directives/card.d.ts +11 -0
- package/dist/cli/directives/card.d.ts.map +1 -0
- package/dist/cli/directives/card.js +18 -0
- package/dist/cli/directives/card.js.map +1 -0
- package/dist/cli/directives/descriptor.d.ts +11 -0
- package/dist/cli/directives/descriptor.d.ts.map +1 -0
- package/dist/cli/directives/descriptor.js +20 -0
- package/dist/cli/directives/descriptor.js.map +1 -0
- package/dist/cli/directives/endpoint.d.ts +8 -0
- package/dist/cli/directives/endpoint.d.ts.map +1 -0
- package/dist/cli/directives/endpoint.js +31 -0
- package/dist/cli/directives/endpoint.js.map +1 -0
- package/dist/cli/directives/index.d.ts +9 -0
- package/dist/cli/directives/index.d.ts.map +1 -0
- package/dist/cli/directives/index.js +37 -0
- package/dist/cli/directives/index.js.map +1 -0
- package/dist/cli/directives/install.d.ts +12 -0
- package/dist/cli/directives/install.d.ts.map +1 -0
- package/dist/cli/directives/install.js +27 -0
- package/dist/cli/directives/install.js.map +1 -0
- package/dist/cli/directives/shell.d.ts +10 -0
- package/dist/cli/directives/shell.d.ts.map +1 -0
- package/dist/cli/directives/shell.js +16 -0
- package/dist/cli/directives/shell.js.map +1 -0
- package/dist/cli/directives/usage.d.ts +9 -0
- package/dist/cli/directives/usage.d.ts.map +1 -0
- package/dist/cli/directives/usage.js +13 -0
- package/dist/cli/directives/usage.js.map +1 -0
- package/dist/cli/docs/docs.cli.docs.descriptor.d.ts +22 -0
- package/dist/cli/docs/docs.cli.docs.descriptor.d.ts.map +1 -0
- package/dist/cli/docs/docs.cli.docs.descriptor.js +92 -0
- package/dist/cli/docs/docs.cli.docs.descriptor.js.map +1 -0
- package/dist/cli/docs.cli-group.descriptor.d.ts +4 -0
- package/dist/cli/docs.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/docs.cli-group.descriptor.js +11 -0
- package/dist/cli/docs.cli-group.descriptor.js.map +1 -0
- package/dist/client/citations.d.ts +11 -0
- package/dist/client/citations.d.ts.map +1 -0
- package/dist/client/citations.js +197 -0
- package/dist/client/citations.js.map +1 -0
- package/dist/client/docs-client.d.ts +51 -0
- package/dist/client/docs-client.d.ts.map +1 -0
- package/dist/client/docs-client.js +298 -0
- package/dist/client/docs-client.js.map +1 -0
- package/dist/client/index.d.ts +12 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +13 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/types.d.ts +26 -0
- package/dist/client/types.d.ts.map +1 -0
- package/dist/client/types.js +2 -0
- package/dist/client/types.js.map +1 -0
- package/dist/config/docs.svelte.config.descriptor.d.ts +50 -0
- package/dist/config/docs.svelte.config.descriptor.d.ts.map +1 -0
- package/dist/config/docs.svelte.config.descriptor.js +46 -0
- package/dist/config/docs.svelte.config.descriptor.js.map +1 -0
- package/dist/config/documents.source-refresh.config.descriptor.d.ts +41 -0
- package/dist/config/documents.source-refresh.config.descriptor.d.ts.map +1 -0
- package/dist/config/documents.source-refresh.config.descriptor.js +39 -0
- package/dist/config/documents.source-refresh.config.descriptor.js.map +1 -0
- package/dist/directives/index.d.ts +4 -0
- package/dist/directives/index.d.ts.map +1 -0
- package/dist/directives/index.js +3 -0
- package/dist/directives/index.js.map +1 -0
- package/dist/directives/registry.d.ts +31 -0
- package/dist/directives/registry.d.ts.map +1 -0
- package/dist/directives/registry.js +65 -0
- package/dist/directives/registry.js.map +1 -0
- package/dist/directives/types.d.ts +33 -0
- package/dist/directives/types.d.ts.map +1 -0
- package/dist/directives/types.js +2 -0
- package/dist/directives/types.js.map +1 -0
- package/dist/docs/agent-voice.docs.descriptor.d.ts +30 -0
- package/dist/docs/agent-voice.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/agent-voice.docs.descriptor.js +107 -0
- package/dist/docs/agent-voice.docs.descriptor.js.map +1 -0
- package/dist/docs/charts.usage.docs.descriptor.d.ts +27 -0
- package/dist/docs/charts.usage.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/charts.usage.docs.descriptor.js +90 -0
- package/dist/docs/charts.usage.docs.descriptor.js.map +1 -0
- package/dist/docs/command-palette.actions.docs.descriptor.d.ts +25 -0
- package/dist/docs/command-palette.actions.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/command-palette.actions.docs.descriptor.js +80 -0
- package/dist/docs/command-palette.actions.docs.descriptor.js.map +1 -0
- package/dist/docs/docs.directives.docs.descriptor.d.ts +22 -0
- package/dist/docs/docs.directives.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/docs.directives.docs.descriptor.js +104 -0
- package/dist/docs/docs.directives.docs.descriptor.js.map +1 -0
- package/dist/docs/docs.topics.docs.descriptor.d.ts +22 -0
- package/dist/docs/docs.topics.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/docs.topics.docs.descriptor.js +90 -0
- package/dist/docs/docs.topics.docs.descriptor.js.map +1 -0
- package/dist/docs/fleet-pairing-direct.docs.descriptor.d.ts +30 -0
- package/dist/docs/fleet-pairing-direct.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/fleet-pairing-direct.docs.descriptor.js +93 -0
- package/dist/docs/fleet-pairing-direct.docs.descriptor.js.map +1 -0
- package/dist/docs/fleet-pairing-mdns.docs.descriptor.d.ts +30 -0
- package/dist/docs/fleet-pairing-mdns.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/fleet-pairing-mdns.docs.descriptor.js +88 -0
- package/dist/docs/fleet-pairing-mdns.docs.descriptor.js.map +1 -0
- package/dist/docs/fleet-pairing-platform.docs.descriptor.d.ts +30 -0
- package/dist/docs/fleet-pairing-platform.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/fleet-pairing-platform.docs.descriptor.js +101 -0
- package/dist/docs/fleet-pairing-platform.docs.descriptor.js.map +1 -0
- package/dist/docs/fleet-pairing.docs.descriptor.d.ts +28 -0
- package/dist/docs/fleet-pairing.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/fleet-pairing.docs.descriptor.js +89 -0
- package/dist/docs/fleet-pairing.docs.descriptor.js.map +1 -0
- package/dist/docs/getting-started-cli.docs.descriptor.d.ts +4 -0
- package/dist/docs/getting-started-cli.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/getting-started-cli.docs.descriptor.js +141 -0
- package/dist/docs/getting-started-cli.docs.descriptor.js.map +1 -0
- package/dist/docs/getting-started.concepts.docs.descriptor.d.ts +4 -0
- package/dist/docs/getting-started.concepts.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/getting-started.concepts.docs.descriptor.js +100 -0
- package/dist/docs/getting-started.concepts.docs.descriptor.js.map +1 -0
- package/dist/docs/getting-started.docs.descriptor.d.ts +4 -0
- package/dist/docs/getting-started.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/getting-started.docs.descriptor.js +63 -0
- package/dist/docs/getting-started.docs.descriptor.js.map +1 -0
- package/dist/docs/getting-started.first-query.docs.descriptor.d.ts +4 -0
- package/dist/docs/getting-started.first-query.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/getting-started.first-query.docs.descriptor.js +95 -0
- package/dist/docs/getting-started.first-query.docs.descriptor.js.map +1 -0
- package/dist/docs/guided-flows.flows.docs.descriptor.d.ts +22 -0
- package/dist/docs/guided-flows.flows.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/guided-flows.flows.docs.descriptor.js +114 -0
- package/dist/docs/guided-flows.flows.docs.descriptor.js.map +1 -0
- package/dist/docs/runtime-rpc-relay.docs.descriptor.d.ts +19 -0
- package/dist/docs/runtime-rpc-relay.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/runtime-rpc-relay.docs.descriptor.js +140 -0
- package/dist/docs/runtime-rpc-relay.docs.descriptor.js.map +1 -0
- package/dist/docs/tutorials.ai-text-generation.docs.descriptor.d.ts +4 -0
- package/dist/docs/tutorials.ai-text-generation.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/tutorials.ai-text-generation.docs.descriptor.js +115 -0
- package/dist/docs/tutorials.ai-text-generation.docs.descriptor.js.map +1 -0
- package/dist/docs/tutorials.build-an-app.docs.descriptor.d.ts +4 -0
- package/dist/docs/tutorials.build-an-app.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/tutorials.build-an-app.docs.descriptor.js +172 -0
- package/dist/docs/tutorials.build-an-app.docs.descriptor.js.map +1 -0
- package/dist/docs/tutorials.crud-collection.docs.descriptor.d.ts +4 -0
- package/dist/docs/tutorials.crud-collection.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/tutorials.crud-collection.docs.descriptor.js +142 -0
- package/dist/docs/tutorials.crud-collection.docs.descriptor.js.map +1 -0
- package/dist/docs/tutorials.docs.descriptor.d.ts +4 -0
- package/dist/docs/tutorials.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/tutorials.docs.descriptor.js +52 -0
- package/dist/docs/tutorials.docs.descriptor.js.map +1 -0
- package/dist/docs/tutorials.runtime-plugin.docs.descriptor.d.ts +4 -0
- package/dist/docs/tutorials.runtime-plugin.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/tutorials.runtime-plugin.docs.descriptor.js +121 -0
- package/dist/docs/tutorials.runtime-plugin.docs.descriptor.js.map +1 -0
- package/dist/docs.plugin.d.ts +12 -0
- package/dist/docs.plugin.d.ts.map +1 -0
- package/dist/docs.plugin.js +118 -0
- package/dist/docs.plugin.js.map +1 -0
- package/dist/documents/documents.cloud.plugin.d.ts +3 -0
- package/dist/documents/documents.cloud.plugin.d.ts.map +1 -0
- package/dist/documents/documents.cloud.plugin.js +26 -0
- package/dist/documents/documents.cloud.plugin.js.map +1 -0
- package/dist/documents/documents.consumer.plugin.d.ts +3 -0
- package/dist/documents/documents.consumer.plugin.d.ts.map +1 -0
- package/dist/documents/documents.consumer.plugin.js +26 -0
- package/dist/documents/documents.consumer.plugin.js.map +1 -0
- package/dist/documents/documents.plugin.d.ts +3 -0
- package/dist/documents/documents.plugin.d.ts.map +1 -0
- package/dist/documents/documents.plugin.js +33 -0
- package/dist/documents/documents.plugin.js.map +1 -0
- package/dist/documents/docx/client.d.ts +56 -0
- package/dist/documents/docx/client.d.ts.map +1 -0
- package/dist/documents/docx/client.js +90 -0
- package/dist/documents/docx/client.js.map +1 -0
- package/dist/documents/docx/extract.d.ts +12 -0
- package/dist/documents/docx/extract.d.ts.map +1 -0
- package/dist/documents/docx/extract.js +62 -0
- package/dist/documents/docx/extract.js.map +1 -0
- package/dist/documents/docx/generator.d.ts +49 -0
- package/dist/documents/docx/generator.d.ts.map +1 -0
- package/dist/documents/docx/generator.js +101 -0
- package/dist/documents/docx/generator.js.map +1 -0
- package/dist/documents/docx/index.d.ts +19 -0
- package/dist/documents/docx/index.d.ts.map +1 -0
- package/dist/documents/docx/index.js +16 -0
- package/dist/documents/docx/index.js.map +1 -0
- package/dist/documents/docx/kinds.d.ts +10 -0
- package/dist/documents/docx/kinds.d.ts.map +1 -0
- package/dist/documents/docx/kinds.js +11 -0
- package/dist/documents/docx/kinds.js.map +1 -0
- package/dist/documents/docx/plugin/docx.plugin.d.ts +9 -0
- package/dist/documents/docx/plugin/docx.plugin.d.ts.map +1 -0
- package/dist/documents/docx/plugin/docx.plugin.js +35 -0
- package/dist/documents/docx/plugin/docx.plugin.js.map +1 -0
- package/dist/documents/docx/schemas/generator.d.ts +10 -0
- package/dist/documents/docx/schemas/generator.d.ts.map +1 -0
- package/dist/documents/docx/schemas/generator.js +2 -0
- package/dist/documents/docx/schemas/generator.js.map +1 -0
- package/dist/documents/docx/schemas/index.d.ts +4 -0
- package/dist/documents/docx/schemas/index.d.ts.map +1 -0
- package/dist/documents/docx/schemas/index.js +2 -0
- package/dist/documents/docx/schemas/index.js.map +1 -0
- package/dist/documents/docx/schemas/runtime.d.ts +68 -0
- package/dist/documents/docx/schemas/runtime.d.ts.map +1 -0
- package/dist/documents/docx/schemas/runtime.js +30 -0
- package/dist/documents/docx/schemas/runtime.js.map +1 -0
- package/dist/documents/docx/schemas/template-registry.d.ts +21 -0
- package/dist/documents/docx/schemas/template-registry.d.ts.map +1 -0
- package/dist/documents/docx/schemas/template-registry.js +2 -0
- package/dist/documents/docx/schemas/template-registry.js.map +1 -0
- package/dist/documents/docx/templates/index.d.ts +3 -0
- package/dist/documents/docx/templates/index.d.ts.map +1 -0
- package/dist/documents/docx/templates/index.js +2 -0
- package/dist/documents/docx/templates/index.js.map +1 -0
- package/dist/documents/docx/templates/loader.d.ts +20 -0
- package/dist/documents/docx/templates/loader.d.ts.map +1 -0
- package/dist/documents/docx/templates/loader.js +36 -0
- package/dist/documents/docx/templates/loader.js.map +1 -0
- package/dist/documents/docx/templates/types.d.ts +2 -0
- package/dist/documents/docx/templates/types.d.ts.map +1 -0
- package/dist/documents/docx/templates/types.js +2 -0
- package/dist/documents/docx/templates/types.js.map +1 -0
- package/dist/documents/index.d.ts +4 -0
- package/dist/documents/index.d.ts.map +1 -0
- package/dist/documents/index.js +4 -0
- package/dist/documents/index.js.map +1 -0
- package/dist/documents/outline/parse-outline.d.ts +132 -0
- package/dist/documents/outline/parse-outline.d.ts.map +1 -0
- package/dist/documents/outline/parse-outline.js +246 -0
- package/dist/documents/outline/parse-outline.js.map +1 -0
- package/dist/documents/plugin.d.ts +3 -0
- package/dist/documents/plugin.d.ts.map +1 -0
- package/dist/documents/plugin.js +13 -0
- package/dist/documents/plugin.js.map +1 -0
- package/dist/documents/presentations/capabilities/index.d.ts +3 -0
- package/dist/documents/presentations/capabilities/index.d.ts.map +1 -0
- package/dist/documents/presentations/capabilities/index.js +3 -0
- package/dist/documents/presentations/capabilities/index.js.map +1 -0
- package/dist/documents/presentations/capabilities/presentations.directory.impl.consumer.worker.d.ts +333 -0
- package/dist/documents/presentations/capabilities/presentations.directory.impl.consumer.worker.d.ts.map +1 -0
- package/dist/documents/presentations/capabilities/presentations.directory.impl.consumer.worker.js +101 -0
- package/dist/documents/presentations/capabilities/presentations.directory.impl.consumer.worker.js.map +1 -0
- package/dist/documents/presentations/capabilities/presentations.directory.kind.d.ts +65 -0
- package/dist/documents/presentations/capabilities/presentations.directory.kind.d.ts.map +1 -0
- package/dist/documents/presentations/capabilities/presentations.directory.kind.js +152 -0
- package/dist/documents/presentations/capabilities/presentations.directory.kind.js.map +1 -0
- package/dist/documents/presentations/capabilities/presentations.surface.kind.d.ts +68 -0
- package/dist/documents/presentations/capabilities/presentations.surface.kind.d.ts.map +1 -0
- package/dist/documents/presentations/capabilities/presentations.surface.kind.js +100 -0
- package/dist/documents/presentations/capabilities/presentations.surface.kind.js.map +1 -0
- package/dist/documents/presentations/client/contracts.d.ts +20 -0
- package/dist/documents/presentations/client/contracts.d.ts.map +1 -0
- package/dist/documents/presentations/client/contracts.js +2 -0
- package/dist/documents/presentations/client/contracts.js.map +1 -0
- package/dist/documents/presentations/client/index.d.ts +5 -0
- package/dist/documents/presentations/client/index.d.ts.map +1 -0
- package/dist/documents/presentations/client/index.js +5 -0
- package/dist/documents/presentations/client/index.js.map +1 -0
- package/dist/documents/presentations/client/presentations.runtime-client.descriptor.d.ts +4 -0
- package/dist/documents/presentations/client/presentations.runtime-client.descriptor.d.ts.map +1 -0
- package/dist/documents/presentations/client/presentations.runtime-client.descriptor.js +13 -0
- package/dist/documents/presentations/client/presentations.runtime-client.descriptor.js.map +1 -0
- package/dist/documents/presentations/client/presentations.runtime-client.impl.d.ts +711 -0
- package/dist/documents/presentations/client/presentations.runtime-client.impl.d.ts.map +1 -0
- package/dist/documents/presentations/client/presentations.runtime-client.impl.js +72 -0
- package/dist/documents/presentations/client/presentations.runtime-client.impl.js.map +1 -0
- package/dist/documents/presentations/docs/presentations.docs.descriptor.d.ts +4 -0
- package/dist/documents/presentations/docs/presentations.docs.descriptor.d.ts.map +1 -0
- package/dist/documents/presentations/docs/presentations.docs.descriptor.js +54 -0
- package/dist/documents/presentations/docs/presentations.docs.descriptor.js.map +1 -0
- package/dist/documents/presentations/index.d.ts +8 -0
- package/dist/documents/presentations/index.d.ts.map +1 -0
- package/dist/documents/presentations/index.js +8 -0
- package/dist/documents/presentations/index.js.map +1 -0
- package/dist/documents/presentations/presentations.consumer.plugin.d.ts +4 -0
- package/dist/documents/presentations/presentations.consumer.plugin.d.ts.map +1 -0
- package/dist/documents/presentations/presentations.consumer.plugin.js +16 -0
- package/dist/documents/presentations/presentations.consumer.plugin.js.map +1 -0
- package/dist/documents/presentations/presentations.plugin.d.ts +3 -0
- package/dist/documents/presentations/presentations.plugin.d.ts.map +1 -0
- package/dist/documents/presentations/presentations.plugin.js +48 -0
- package/dist/documents/presentations/presentations.plugin.js.map +1 -0
- package/dist/documents/presentations/review-read-authority.d.ts +117 -0
- package/dist/documents/presentations/review-read-authority.d.ts.map +1 -0
- package/dist/documents/presentations/review-read-authority.js +74 -0
- package/dist/documents/presentations/review-read-authority.js.map +1 -0
- package/dist/documents/presentations/schemas/index.d.ts +5 -0
- package/dist/documents/presentations/schemas/index.d.ts.map +1 -0
- package/dist/documents/presentations/schemas/index.js +5 -0
- package/dist/documents/presentations/schemas/index.js.map +1 -0
- package/dist/documents/presentations/schemas/owner.d.ts +28 -0
- package/dist/documents/presentations/schemas/owner.d.ts.map +1 -0
- package/dist/documents/presentations/schemas/owner.js +18 -0
- package/dist/documents/presentations/schemas/owner.js.map +1 -0
- package/dist/documents/presentations/schemas/request.d.ts +325 -0
- package/dist/documents/presentations/schemas/request.d.ts.map +1 -0
- package/dist/documents/presentations/schemas/request.js +169 -0
- package/dist/documents/presentations/schemas/request.js.map +1 -0
- package/dist/documents/presentations/schemas/review.d.ts +154 -0
- package/dist/documents/presentations/schemas/review.d.ts.map +1 -0
- package/dist/documents/presentations/schemas/review.js +83 -0
- package/dist/documents/presentations/schemas/review.js.map +1 -0
- package/dist/documents/presentations/schemas/surface.d.ts +315 -0
- package/dist/documents/presentations/schemas/surface.d.ts.map +1 -0
- package/dist/documents/presentations/schemas/surface.js +125 -0
- package/dist/documents/presentations/schemas/surface.js.map +1 -0
- package/dist/documents/presentations/state-machine.d.ts +36 -0
- package/dist/documents/presentations/state-machine.d.ts.map +1 -0
- package/dist/documents/presentations/state-machine.js +158 -0
- package/dist/documents/presentations/state-machine.js.map +1 -0
- package/dist/documents/presentations/storage/index.d.ts +3 -0
- package/dist/documents/presentations/storage/index.d.ts.map +1 -0
- package/dist/documents/presentations/storage/index.js +3 -0
- package/dist/documents/presentations/storage/index.js.map +1 -0
- package/dist/documents/presentations/storage/owner-app.d.ts +12 -0
- package/dist/documents/presentations/storage/owner-app.d.ts.map +1 -0
- package/dist/documents/presentations/storage/owner-app.js +43 -0
- package/dist/documents/presentations/storage/owner-app.js.map +1 -0
- package/dist/documents/presentations/storage/owner-transforms.d.ts +476 -0
- package/dist/documents/presentations/storage/owner-transforms.d.ts.map +1 -0
- package/dist/documents/presentations/storage/owner-transforms.js +77 -0
- package/dist/documents/presentations/storage/owner-transforms.js.map +1 -0
- package/dist/documents/presentations/storage/records.d.ts +227 -0
- package/dist/documents/presentations/storage/records.d.ts.map +1 -0
- package/dist/documents/presentations/storage/records.js +145 -0
- package/dist/documents/presentations/storage/records.js.map +1 -0
- package/dist/documents/presentations/tools/presentations.tool.descriptor.d.ts +543 -0
- package/dist/documents/presentations/tools/presentations.tool.descriptor.d.ts.map +1 -0
- package/dist/documents/presentations/tools/presentations.tool.descriptor.js +47 -0
- package/dist/documents/presentations/tools/presentations.tool.descriptor.js.map +1 -0
- package/dist/documents/presentations/tools/presentations.tool.impl.consumer.d.ts +8 -0
- package/dist/documents/presentations/tools/presentations.tool.impl.consumer.d.ts.map +1 -0
- package/dist/documents/presentations/tools/presentations.tool.impl.consumer.js +68 -0
- package/dist/documents/presentations/tools/presentations.tool.impl.consumer.js.map +1 -0
- package/dist/documents/presentations/tools/presentations.tool.schemas.d.ts +504 -0
- package/dist/documents/presentations/tools/presentations.tool.schemas.d.ts.map +1 -0
- package/dist/documents/presentations/tools/presentations.tool.schemas.js +76 -0
- package/dist/documents/presentations/tools/presentations.tool.schemas.js.map +1 -0
- package/dist/documents/render/grid.d.ts +96 -0
- package/dist/documents/render/grid.d.ts.map +1 -0
- package/dist/documents/render/grid.js +115 -0
- package/dist/documents/render/grid.js.map +1 -0
- package/dist/documents/render/index.d.ts +2 -0
- package/dist/documents/render/index.d.ts.map +1 -0
- package/dist/documents/render/index.js +2 -0
- package/dist/documents/render/index.js.map +1 -0
- package/dist/documents/render/render.impl.cloud.d.ts +25 -0
- package/dist/documents/render/render.impl.cloud.d.ts.map +1 -0
- package/dist/documents/render/render.impl.cloud.js +245 -0
- package/dist/documents/render/render.impl.cloud.js.map +1 -0
- package/dist/documents/render/render.impl.consumer.d.ts +35 -0
- package/dist/documents/render/render.impl.consumer.d.ts.map +1 -0
- package/dist/documents/render/render.impl.consumer.js +104 -0
- package/dist/documents/render/render.impl.consumer.js.map +1 -0
- package/dist/documents/render/render.interface.d.ts +147 -0
- package/dist/documents/render/render.interface.d.ts.map +1 -0
- package/dist/documents/render/render.interface.js +90 -0
- package/dist/documents/render/render.interface.js.map +1 -0
- package/dist/documents/schemas/ai-service-binding.schema.d.ts +11 -0
- package/dist/documents/schemas/ai-service-binding.schema.d.ts.map +1 -0
- package/dist/documents/schemas/ai-service-binding.schema.js +8 -0
- package/dist/documents/schemas/ai-service-binding.schema.js.map +1 -0
- package/dist/documents/schemas/document-read.schema.d.ts +107 -0
- package/dist/documents/schemas/document-read.schema.d.ts.map +1 -0
- package/dist/documents/schemas/document-read.schema.js +124 -0
- package/dist/documents/schemas/document-read.schema.js.map +1 -0
- package/dist/documents/schemas/document-view.schema.d.ts +74 -0
- package/dist/documents/schemas/document-view.schema.d.ts.map +1 -0
- package/dist/documents/schemas/document-view.schema.js +66 -0
- package/dist/documents/schemas/document-view.schema.js.map +1 -0
- package/dist/documents/schemas/index.d.ts +3 -0
- package/dist/documents/schemas/index.d.ts.map +1 -0
- package/dist/documents/schemas/index.js +3 -0
- package/dist/documents/schemas/index.js.map +1 -0
- package/dist/documents/schemas/page-cache.schema.d.ts +29 -0
- package/dist/documents/schemas/page-cache.schema.d.ts.map +1 -0
- package/dist/documents/schemas/page-cache.schema.js +50 -0
- package/dist/documents/schemas/page-cache.schema.js.map +1 -0
- package/dist/documents/storage/index.d.ts +3 -0
- package/dist/documents/storage/index.d.ts.map +1 -0
- package/dist/documents/storage/index.js +2 -0
- package/dist/documents/storage/index.js.map +1 -0
- package/dist/documents/storage/page-cache.descriptor.d.ts +17 -0
- package/dist/documents/storage/page-cache.descriptor.d.ts.map +1 -0
- package/dist/documents/storage/page-cache.descriptor.js +45 -0
- package/dist/documents/storage/page-cache.descriptor.js.map +1 -0
- package/dist/documents/tools/descriptors.d.ts +248 -0
- package/dist/documents/tools/descriptors.d.ts.map +1 -0
- package/dist/documents/tools/descriptors.js +78 -0
- package/dist/documents/tools/descriptors.js.map +1 -0
- package/dist/documents/tools/document-read-loop-guard.d.ts +61 -0
- package/dist/documents/tools/document-read-loop-guard.d.ts.map +1 -0
- package/dist/documents/tools/document-read-loop-guard.js +314 -0
- package/dist/documents/tools/document-read-loop-guard.js.map +1 -0
- package/dist/documents/tools/document-read.impl.d.ts +77 -0
- package/dist/documents/tools/document-read.impl.d.ts.map +1 -0
- package/dist/documents/tools/document-read.impl.js +1139 -0
- package/dist/documents/tools/document-read.impl.js.map +1 -0
- package/dist/documents/tools/document-view.impl.d.ts +45 -0
- package/dist/documents/tools/document-view.impl.d.ts.map +1 -0
- package/dist/documents/tools/document-view.impl.js +168 -0
- package/dist/documents/tools/document-view.impl.js.map +1 -0
- package/dist/documents/tools/index.d.ts +3 -0
- package/dist/documents/tools/index.d.ts.map +1 -0
- package/dist/documents/tools/index.js +6 -0
- package/dist/documents/tools/index.js.map +1 -0
- package/dist/documents/tools/source-refresh.d.ts +33 -0
- package/dist/documents/tools/source-refresh.d.ts.map +1 -0
- package/dist/documents/tools/source-refresh.js +127 -0
- package/dist/documents/tools/source-refresh.js.map +1 -0
- package/dist/documents/tools/unavailable.impl.d.ts +5 -0
- package/dist/documents/tools/unavailable.impl.d.ts.map +1 -0
- package/dist/documents/tools/unavailable.impl.js +12 -0
- package/dist/documents/tools/unavailable.impl.js.map +1 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -0
- package/dist/prompts/descriptors/vibes-platform.prompt.descriptor.d.ts +113 -0
- package/dist/prompts/descriptors/vibes-platform.prompt.descriptor.d.ts.map +1 -0
- package/dist/prompts/descriptors/vibes-platform.prompt.descriptor.js +35 -0
- package/dist/prompts/descriptors/vibes-platform.prompt.descriptor.js.map +1 -0
- package/dist/render/ansi.d.ts +86 -0
- package/dist/render/ansi.d.ts.map +1 -0
- package/dist/render/ansi.js +125 -0
- package/dist/render/ansi.js.map +1 -0
- package/dist/render/frontmatter.d.ts +21 -0
- package/dist/render/frontmatter.d.ts.map +1 -0
- package/dist/render/frontmatter.js +57 -0
- package/dist/render/frontmatter.js.map +1 -0
- package/dist/render/index.d.ts +10 -0
- package/dist/render/index.d.ts.map +1 -0
- package/dist/render/index.js +6 -0
- package/dist/render/index.js.map +1 -0
- package/dist/render/parse.d.ts +29 -0
- package/dist/render/parse.d.ts.map +1 -0
- package/dist/render/parse.js +145 -0
- package/dist/render/parse.js.map +1 -0
- package/dist/render/sections.d.ts +24 -0
- package/dist/render/sections.d.ts.map +1 -0
- package/dist/render/sections.js +76 -0
- package/dist/render/sections.js.map +1 -0
- package/dist/render/terminal.d.ts +15 -0
- package/dist/render/terminal.d.ts.map +1 -0
- package/dist/render/terminal.js +293 -0
- package/dist/render/terminal.js.map +1 -0
- package/dist/runbooks/index.d.ts +4 -0
- package/dist/runbooks/index.d.ts.map +1 -0
- package/dist/runbooks/index.js +3 -0
- package/dist/runbooks/index.js.map +1 -0
- package/dist/runbooks/runbooks.plugin.d.ts +3 -0
- package/dist/runbooks/runbooks.plugin.d.ts.map +1 -0
- package/dist/runbooks/runbooks.plugin.js +3 -0
- package/dist/runbooks/runbooks.plugin.js.map +1 -0
- package/dist/schemas/citations.schema.d.ts +21 -0
- package/dist/schemas/citations.schema.d.ts.map +1 -0
- package/dist/schemas/citations.schema.js +17 -0
- package/dist/schemas/citations.schema.js.map +1 -0
- package/dist/schemas/index.d.ts +4 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +3 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/topic.schema.d.ts +179 -0
- package/dist/schemas/topic.schema.d.ts.map +1 -0
- package/dist/schemas/topic.schema.js +15 -0
- package/dist/schemas/topic.schema.js.map +1 -0
- package/dist/svelte/build/highlight.d.ts +33 -0
- package/dist/svelte/build/highlight.d.ts.map +1 -0
- package/dist/svelte/build/highlight.js +95 -0
- package/dist/svelte/build/topic-index.d.ts +96 -0
- package/dist/svelte/build/topic-index.d.ts.map +1 -0
- package/dist/svelte/build/topic-index.js +247 -0
- package/dist/svelte/context.d.ts +12 -0
- package/dist/svelte/context.d.ts.map +1 -0
- package/dist/svelte/context.js +16 -0
- package/dist/svelte/docs-origin.d.ts +14 -0
- package/dist/svelte/docs-origin.d.ts.map +1 -0
- package/dist/svelte/docs-origin.js +49 -0
- package/dist/svelte/docs-svelte.plugin.d.ts +121 -0
- package/dist/svelte/docs-svelte.plugin.d.ts.map +1 -0
- package/dist/svelte/docs-svelte.plugin.js +35 -0
- package/dist/svelte/documents/presentations/components/PresentationMonitor.svelte +261 -0
- package/dist/svelte/documents/presentations/components/PresentationMonitor.svelte.d.ts +16 -0
- package/dist/svelte/documents/presentations/components/PresentationMonitor.svelte.d.ts.map +1 -0
- package/dist/svelte/documents/presentations/index.d.ts +3 -0
- package/dist/svelte/documents/presentations/index.d.ts.map +1 -0
- package/dist/svelte/documents/presentations/index.js +2 -0
- package/dist/svelte/documents/presentations/monitor-state.d.ts +17 -0
- package/dist/svelte/documents/presentations/monitor-state.d.ts.map +1 -0
- package/dist/svelte/documents/presentations/monitor-state.js +38 -0
- package/dist/svelte/index.d.ts +20 -0
- package/dist/svelte/index.d.ts.map +1 -0
- package/dist/svelte/index.js +16 -0
- package/dist/svelte/loaders.d.ts +57 -0
- package/dist/svelte/loaders.d.ts.map +1 -0
- package/dist/svelte/loaders.js +74 -0
- package/dist/svelte/state.svelte.d.ts +366 -0
- package/dist/svelte/state.svelte.d.ts.map +1 -0
- package/dist/svelte/state.svelte.js +155 -0
- package/dist/svelte/styles.css +8 -0
- package/dist/svelte/tool-widgets/DocsToolCard.svelte +41 -0
- package/dist/svelte/tool-widgets/DocsToolCard.svelte.d.ts +5 -0
- package/dist/svelte/tool-widgets/DocsToolCard.svelte.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/DocumentReadToolCard.svelte +28 -0
- package/dist/svelte/tool-widgets/DocumentReadToolCard.svelte.d.ts +8 -0
- package/dist/svelte/tool-widgets/DocumentReadToolCard.svelte.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/PresentationsToolCard.svelte +25 -0
- package/dist/svelte/tool-widgets/PresentationsToolCard.svelte.d.ts +8 -0
- package/dist/svelte/tool-widgets/PresentationsToolCard.svelte.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/RunbookToolCard.svelte +29 -0
- package/dist/svelte/tool-widgets/RunbookToolCard.svelte.d.ts +8 -0
- package/dist/svelte/tool-widgets/RunbookToolCard.svelte.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/index.d.ts +7 -0
- package/dist/svelte/tool-widgets/index.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/index.js +5 -0
- package/dist/svelte/tool-widgets/models.d.ts +47 -0
- package/dist/svelte/tool-widgets/models.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/models.js +112 -0
- package/dist/svelte/ui/DocViewer.svelte +122 -0
- package/dist/svelte/ui/DocViewer.svelte.d.ts +17 -0
- package/dist/svelte/ui/DocViewer.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/DocsLoader.svelte +37 -0
- package/dist/svelte/ui/DocsLoader.svelte.d.ts +21 -0
- package/dist/svelte/ui/DocsLoader.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/DocsSearch.svelte +129 -0
- package/dist/svelte/ui/DocsSearch.svelte.d.ts +15 -0
- package/dist/svelte/ui/DocsSearch.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/directives/Card.svelte +61 -0
- package/dist/svelte/ui/directives/Card.svelte.d.ts +8 -0
- package/dist/svelte/ui/directives/Card.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/directives/Descriptor.svelte +73 -0
- package/dist/svelte/ui/directives/Descriptor.svelte.d.ts +8 -0
- package/dist/svelte/ui/directives/Descriptor.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/directives/DirectiveDispatch.svelte +45 -0
- package/dist/svelte/ui/directives/DirectiveDispatch.svelte.d.ts +8 -0
- package/dist/svelte/ui/directives/DirectiveDispatch.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/directives/Endpoint.svelte +68 -0
- package/dist/svelte/ui/directives/Endpoint.svelte.d.ts +8 -0
- package/dist/svelte/ui/directives/Endpoint.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/directives/Install.svelte +112 -0
- package/dist/svelte/ui/directives/Install.svelte.d.ts +8 -0
- package/dist/svelte/ui/directives/Install.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/directives/Shell.svelte +32 -0
- package/dist/svelte/ui/directives/Shell.svelte.d.ts +8 -0
- package/dist/svelte/ui/directives/Shell.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/directives/Usage.svelte +14 -0
- package/dist/svelte/ui/directives/Usage.svelte.d.ts +8 -0
- package/dist/svelte/ui/directives/Usage.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/help/HelpDialog.svelte +210 -0
- package/dist/svelte/ui/help/HelpDialog.svelte.d.ts +11 -0
- package/dist/svelte/ui/help/HelpDialog.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/help/HelpIcon.svelte +83 -0
- package/dist/svelte/ui/help/HelpIcon.svelte.d.ts +16 -0
- package/dist/svelte/ui/help/HelpIcon.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/markdown/CodeBlock.svelte +125 -0
- package/dist/svelte/ui/markdown/CodeBlock.svelte.d.ts +8 -0
- package/dist/svelte/ui/markdown/CodeBlock.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/markdown/MarkdownView.svelte +319 -0
- package/dist/svelte/ui/markdown/MarkdownView.svelte.d.ts +9 -0
- package/dist/svelte/ui/markdown/MarkdownView.svelte.d.ts.map +1 -0
- package/dist/tools/docs.descriptor.d.ts +48 -0
- package/dist/tools/docs.descriptor.d.ts.map +1 -0
- package/dist/tools/docs.descriptor.js +23 -0
- package/dist/tools/docs.descriptor.js.map +1 -0
- package/dist/tools/docs.impl.d.ts +7 -0
- package/dist/tools/docs.impl.d.ts.map +1 -0
- package/dist/tools/docs.impl.js +67 -0
- package/dist/tools/docs.impl.js.map +1 -0
- package/dist/tools/schemas.d.ts +43 -0
- package/dist/tools/schemas.d.ts.map +1 -0
- package/dist/tools/schemas.js +30 -0
- package/dist/tools/schemas.js.map +1 -0
- package/dist/tui/docs-tui.plugin.d.ts +3 -0
- package/dist/tui/docs-tui.plugin.d.ts.map +1 -0
- package/dist/tui/docs-tui.plugin.js +18 -0
- package/dist/tui/docs-tui.plugin.js.map +1 -0
- package/dist/tui/index.d.ts +2 -0
- package/dist/tui/index.d.ts.map +1 -0
- package/dist/tui/index.js +2 -0
- package/dist/tui/index.js.map +1 -0
- package/dist/tui/tui/docs-explorer.impl.consumer.d.ts +38 -0
- package/dist/tui/tui/docs-explorer.impl.consumer.d.ts.map +1 -0
- package/dist/tui/tui/docs-explorer.impl.consumer.js +334 -0
- package/dist/tui/tui/docs-explorer.impl.consumer.js.map +1 -0
- package/dist/tui/tui/docs-explorer.tui.descriptor.d.ts +13 -0
- package/dist/tui/tui/docs-explorer.tui.descriptor.d.ts.map +1 -0
- package/dist/tui/tui/docs-explorer.tui.descriptor.js +29 -0
- package/dist/tui/tui/docs-explorer.tui.descriptor.js.map +1 -0
- package/package.json +450 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentations.runtime-client.impl.d.ts","sourceRoot":"","sources":["../../../../src/documents/presentations/client/presentations.runtime-client.impl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,KAAK,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAC7F,OAAO,KAAK,EAAqB,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AASpE,OAAO,KAAK,EACX,8BAA8B,EAC9B,uBAAuB,EACvB,mCAAmC,EACnC,qCAAqC,EACrC,6BAA6B,EAC7B,6BAA6B,EAC7B,4BAA4B,EAC5B,gCAAgC,EAChC,+BAA+B,EAC/B,6BAA6B,EAC7B,iCAAiC,EACjC,6BAA6B,EAC7B,gCAAgC,EAChC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAE1D,MAAM,CAAC,OAAO,OAAO,0BACpB,SAAQ,iBACR,YAAW,mBAAmB;gBAG7B,UAAU,GAAE,uBAGX,EACD,OAAO,CAAC,EAAE,WAAW,EACrB,OAAO,CAAC,EAAE,YAAY;IAKjB,YAAY,CAAC,KAAK,CAAC,EAAE,6BAA6B;;;;;;;;;;;;;IAKlD,mBAAmB,CAAC,KAAK,EAAE,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIzD,sBAAsB,CAAC,SAAS,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIxC,wBAAwB,CAAC,KAAK,CAAC,EAAE,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAK9D,2BAA2B,CAAC,KAAK,EAAE,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAInE,uBAAuB,CAAC,SAAS,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIzC,eAAe,CAAC,KAAK,EAAE,gCAAgC;;;;;;;;;;;;;;;IAIvD,YAAY,CAAC,KAAK,EAAE,6BAA6B;;;;;;;;;;;;;;;IAIjD,cAAc,CAAC,KAAK,EAAE,+BAA+B;IAIrD,oBAAoB,CAAC,KAAK,EAAE,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIjE,kBAAkB,CAAC,KAAK,EAAE,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAI7D,gBAAgB,CAAC,KAAK,EAAE,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIzD,uBAAuB,CAAC,KAAK,EAAE,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAI3D,kBAAkB,CAAC,KAAK,EAAE,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIjD,YAAY,CAAC,KAAK,EAAE,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAIzC,SAAS;YAUT,OAAO;CASrB"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { BaseRuntimeClient } from '@vibesdotdev/kernel/client';
|
|
2
|
+
import { PRESENTATIONS_DIRECTORY_CAPABILITY_ID, PRESENTATIONS_DIRECTORY_KIND_ID, PRESENTATIONS_SURFACE_CAPABILITY_ID, PRESENTATIONS_SURFACE_KIND_ID } from "../capabilities/index.js";
|
|
3
|
+
export default class PresentationsRuntimeClient extends BaseRuntimeClient {
|
|
4
|
+
constructor(descriptor = {
|
|
5
|
+
id: 'presentations',
|
|
6
|
+
kind: 'runtime/client'
|
|
7
|
+
}, context, runtime) {
|
|
8
|
+
super(descriptor, context, runtime);
|
|
9
|
+
}
|
|
10
|
+
async listSurfaces(input) {
|
|
11
|
+
const directory = await this.directory();
|
|
12
|
+
return input ? directory.listSurfaces(input) : directory.listSurfaces();
|
|
13
|
+
}
|
|
14
|
+
async requestPresentation(input) {
|
|
15
|
+
return (await this.directory()).createRequest(input);
|
|
16
|
+
}
|
|
17
|
+
async getPresentationRequest(requestId) {
|
|
18
|
+
return (await this.directory()).getRequest(requestId);
|
|
19
|
+
}
|
|
20
|
+
async listPresentationRequests(input) {
|
|
21
|
+
const directory = await this.directory();
|
|
22
|
+
return input ? directory.listRequests(input) : directory.listRequests();
|
|
23
|
+
}
|
|
24
|
+
async withdrawPresentationRequest(input) {
|
|
25
|
+
return (await this.directory()).withdrawRequest(input);
|
|
26
|
+
}
|
|
27
|
+
async listPresentationReviews(requestId) {
|
|
28
|
+
return (await this.directory()).listReviews(requestId);
|
|
29
|
+
}
|
|
30
|
+
async registerSurface(input) {
|
|
31
|
+
return (await this.surface()).register(input);
|
|
32
|
+
}
|
|
33
|
+
async renewSurface(input) {
|
|
34
|
+
return (await this.surface()).renew(input);
|
|
35
|
+
}
|
|
36
|
+
async releaseSurface(input) {
|
|
37
|
+
return (await this.surface()).release(input);
|
|
38
|
+
}
|
|
39
|
+
async listIncomingRequests(input) {
|
|
40
|
+
return (await this.surface()).listRequests(input);
|
|
41
|
+
}
|
|
42
|
+
async getIncomingRequest(input) {
|
|
43
|
+
return (await this.surface()).getRequest(input);
|
|
44
|
+
}
|
|
45
|
+
async respondToRequest(input) {
|
|
46
|
+
return (await this.surface()).respond(input);
|
|
47
|
+
}
|
|
48
|
+
async markPresentationStarted(input) {
|
|
49
|
+
return (await this.surface()).markPresenting(input);
|
|
50
|
+
}
|
|
51
|
+
async finishPresentation(input) {
|
|
52
|
+
return (await this.surface()).finish(input);
|
|
53
|
+
}
|
|
54
|
+
async submitReview(input) {
|
|
55
|
+
return (await this.surface()).submitReview(input);
|
|
56
|
+
}
|
|
57
|
+
async directory() {
|
|
58
|
+
await this.ensureLoaded();
|
|
59
|
+
return this.runtime
|
|
60
|
+
.query(PRESENTATIONS_DIRECTORY_KIND_ID)
|
|
61
|
+
.withId(PRESENTATIONS_DIRECTORY_CAPABILITY_ID)
|
|
62
|
+
.resolve();
|
|
63
|
+
}
|
|
64
|
+
async surface() {
|
|
65
|
+
await this.ensureLoaded();
|
|
66
|
+
return this.runtime
|
|
67
|
+
.query(PRESENTATIONS_SURFACE_KIND_ID)
|
|
68
|
+
.withId(PRESENTATIONS_SURFACE_CAPABILITY_ID)
|
|
69
|
+
.resolve();
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=presentations.runtime-client.impl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentations.runtime-client.impl.js","sourceRoot":"","sources":["../../../../src/documents/presentations/client/presentations.runtime-client.impl.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentations.docs.descriptor.d.ts","sourceRoot":"","sources":["../../../../src/documents/presentations/docs/presentations.docs.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAuCvE,QAAA,MAAM,UAAU,EAAE,mBAgBjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
const markdown = `---
|
|
2
|
+
title: Presentations
|
|
3
|
+
summary: Cross-device presentation discovery, negotiated attention handoff, and structured review
|
|
4
|
+
tags: [presentations, sessions, review, annotations, agents]
|
|
5
|
+
order: 40
|
|
6
|
+
surfaces: [web, in-app, mcp]
|
|
7
|
+
hardware: [consumer, cloud]
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Presentations
|
|
11
|
+
|
|
12
|
+
\`@vibesdotdev/docs/documents/presentations\` defines the runtime contract for showing a user
|
|
13
|
+
something on an available desktop, browser, phone, or tablet surface.
|
|
14
|
+
|
|
15
|
+
An agent discovers only RBAC-filtered surface summaries, creates a typed request,
|
|
16
|
+
and waits for the user to accept. Acceptance attaches the chosen surface to the
|
|
17
|
+
requesting session and target; it does not grant raw device control. Review comes
|
|
18
|
+
back as comments, steering, revision-bound code/plan notes, normalized regions,
|
|
19
|
+
or ink strokes.
|
|
20
|
+
|
|
21
|
+
Owners may also invite an authenticated guest reviewer through an expiring,
|
|
22
|
+
revocable grant over one exact target revision. The grant can allow only the
|
|
23
|
+
named review actions and never confers session, workspace, organization, surface
|
|
24
|
+
discovery, or delegation authority.
|
|
25
|
+
|
|
26
|
+
## Runtime capabilities
|
|
27
|
+
|
|
28
|
+
- \`presentations/directory\` — agent/service audience: discover surfaces, create
|
|
29
|
+
and withdraw requests, and read review submissions.
|
|
30
|
+
- \`presentations/surface\` — renderer/service audience: register and renew a
|
|
31
|
+
surface, accept or decline, mark presentation state, and submit review.
|
|
32
|
+
- \`runtime/client\` id \`presentations\` — one transport-blind client over both.
|
|
33
|
+
|
|
34
|
+
Concrete cross-device providers and product surfaces are separate packages. A
|
|
35
|
+
host that only registers this base contract exposes no phantom directory.
|
|
36
|
+
`;
|
|
37
|
+
const descriptor = {
|
|
38
|
+
kind: 'docs/topic',
|
|
39
|
+
id: 'presentations',
|
|
40
|
+
title: 'Presentations',
|
|
41
|
+
summary: 'Cross-device presentation discovery, negotiated attention handoff, and structured review',
|
|
42
|
+
body: {
|
|
43
|
+
type: 'markdown',
|
|
44
|
+
sourceType: 'raw',
|
|
45
|
+
source: markdown
|
|
46
|
+
},
|
|
47
|
+
order: 40,
|
|
48
|
+
tags: ['presentations', 'sessions', 'review', 'annotations', 'agents'],
|
|
49
|
+
surfaces: ['web', 'in-app', 'mcp'],
|
|
50
|
+
hardware: ['consumer', 'cloud'],
|
|
51
|
+
enabled: true
|
|
52
|
+
};
|
|
53
|
+
export default descriptor;
|
|
54
|
+
//# sourceMappingURL=presentations.docs.descriptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentations.docs.descriptor.js","sourceRoot":"","sources":["../../../../src/documents/presentations/docs/presentations.docs.descriptor.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmChB,CAAC;AAEF,MAAM,UAAU,GAAwB;IACvC,IAAI,EAAE,YAAY;IAClB,EAAE,EAAE,eAAe;IACnB,KAAK,EAAE,eAAe;IACtB,OAAO,EACN,0FAA0F;IAC3F,IAAI,EAAE;QACL,IAAI,EAAE,UAAU;QAChB,UAAU,EAAE,KAAK;QACjB,MAAM,EAAE,QAAQ;KAChB;IACD,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,CAAC,eAAe,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,QAAQ,CAAC;IACtE,QAAQ,EAAE,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,CAAC;IAClC,QAAQ,EAAE,CAAC,UAAU,EAAE,OAAO,CAAC;IAC/B,OAAO,EAAE,IAAI;CACb,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './schemas/index.ts';
|
|
2
|
+
export * from './capabilities/index.ts';
|
|
3
|
+
export * from './client/index.ts';
|
|
4
|
+
export * from './storage/index.ts';
|
|
5
|
+
export * from './state-machine.ts';
|
|
6
|
+
export * from './review-read-authority.ts';
|
|
7
|
+
export { presentationsConsumerPlugin as presentationsPlugin, default } from './presentations.consumer.plugin.ts';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/documents/presentations/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EAAE,2BAA2B,IAAI,mBAAmB,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./schemas/index.js";
|
|
2
|
+
export * from "./capabilities/index.js";
|
|
3
|
+
export * from "./client/index.js";
|
|
4
|
+
export * from "./storage/index.js";
|
|
5
|
+
export * from "./state-machine.js";
|
|
6
|
+
export * from "./review-read-authority.js";
|
|
7
|
+
export { presentationsConsumerPlugin as presentationsPlugin, default } from "./presentations.consumer.plugin.js";
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/documents/presentations/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EAAE,2BAA2B,IAAI,mBAAmB,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentations.consumer.plugin.d.ts","sourceRoot":"","sources":["../../../src/documents/presentations/presentations.consumer.plugin.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,2BAA2B,6CAiBtC,CAAC;AACH,OAAO,EAAE,2BAA2B,IAAI,mBAAmB,EAAE,CAAC;AAC9D,eAAe,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { createRuntimePlugin, loader } from '@vibesdotdev/kernel';
|
|
2
|
+
import presentationsPlugin from "./presentations.plugin.js";
|
|
3
|
+
import { presentationsDirectoryDescriptor, presentationsDirectoryKind } from "./capabilities/index.js";
|
|
4
|
+
export const presentationsConsumerPlugin = createRuntimePlugin({
|
|
5
|
+
id: 'presentations.consumer',
|
|
6
|
+
async onRegister(runtime) {
|
|
7
|
+
await runtime.registerPlugin(presentationsPlugin);
|
|
8
|
+
},
|
|
9
|
+
loaders: [
|
|
10
|
+
loader(presentationsDirectoryDescriptor.id, { kind: presentationsDirectoryKind.id, scope: 'consumer.worker' }, () => import("./capabilities/presentations.directory.impl.consumer.worker.js")),
|
|
11
|
+
loader('presentations', { kind: 'tools/tool', scope: 'consumer' }, () => import("./tools/presentations.tool.impl.consumer.js"))
|
|
12
|
+
]
|
|
13
|
+
});
|
|
14
|
+
export { presentationsConsumerPlugin as presentationsPlugin };
|
|
15
|
+
export default presentationsConsumerPlugin;
|
|
16
|
+
//# sourceMappingURL=presentations.consumer.plugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentations.consumer.plugin.js","sourceRoot":"","sources":["../../../src/documents/presentations/presentations.consumer.plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,mBAAmB,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,gCAAgC,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAEvG,MAAM,CAAC,MAAM,2BAA2B,GAAG,mBAAmB,CAAC;IAC9D,EAAE,EAAE,wBAAwB;IAC5B,KAAK,CAAC,UAAU,CAAC,OAAO;QACvB,MAAM,OAAO,CAAC,cAAc,CAAC,mBAAmB,CAAC,CAAC;IACnD,CAAC;IACD,OAAO,EAAE;QACR,MAAM,CACL,gCAAgC,CAAC,EAAE,EACnC,EAAE,IAAI,EAAE,0BAA0B,CAAC,EAAE,EAAE,KAAK,EAAE,iBAAiB,EAAE,EACjE,GAAG,EAAE,CAAC,MAAM,CAAC,gEAAgE,CAAC,CAC9E;QACD,MAAM,CACL,eAAe,EACf,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,UAAU,EAAE,EACzC,GAAG,EAAE,CAAC,MAAM,CAAC,6CAA6C,CAAC,CAC3D;KACD;CACD,CAAC,CAAC;AACH,OAAO,EAAE,2BAA2B,IAAI,mBAAmB,EAAE,CAAC;AAC9D,eAAe,2BAA2B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentations.plugin.d.ts","sourceRoot":"","sources":["../../../src/documents/presentations/presentations.plugin.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,mBAAmB,6CA2C9B,CAAC;AAEH,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { createRuntimePlugin, loader } from '@vibesdotdev/kernel';
|
|
2
|
+
import { presentationsDirectoryDescriptor, presentationsDirectoryExposure, presentationsDirectoryKind, presentationsSurfaceDescriptor, presentationsSurfaceExposure, presentationsSurfaceKind } from "./capabilities/index.js";
|
|
3
|
+
import presentationsRuntimeClientDescriptor from "./client/presentations.runtime-client.descriptor.js";
|
|
4
|
+
import presentationsDocsDescriptor from "./docs/presentations.docs.descriptor.js";
|
|
5
|
+
import { presentationRequestRecordDescriptor, presentationReviewRecordDescriptor, presentationSurfaceRecordDescriptor } from "./storage/records.js";
|
|
6
|
+
import presentationsToolDescriptor from "./tools/presentations.tool.descriptor.js";
|
|
7
|
+
import { presentationOwnerStorageTransforms } from "./storage/owner-transforms.js";
|
|
8
|
+
export const presentationsPlugin = createRuntimePlugin({
|
|
9
|
+
id: 'presentations',
|
|
10
|
+
name: 'Presentations',
|
|
11
|
+
description: 'Cross-device presentation discovery, negotiated attention handoff, and structured review contracts',
|
|
12
|
+
dependencies: ['config', 'runtime-client', 'storage', 'tools'],
|
|
13
|
+
kinds: [presentationsDirectoryKind, presentationsSurfaceKind],
|
|
14
|
+
descriptors: [
|
|
15
|
+
presentationsDirectoryDescriptor,
|
|
16
|
+
presentationsSurfaceDescriptor,
|
|
17
|
+
presentationsRuntimeClientDescriptor,
|
|
18
|
+
presentationsDocsDescriptor,
|
|
19
|
+
presentationSurfaceRecordDescriptor,
|
|
20
|
+
presentationRequestRecordDescriptor,
|
|
21
|
+
presentationReviewRecordDescriptor,
|
|
22
|
+
presentationsToolDescriptor,
|
|
23
|
+
...presentationOwnerStorageTransforms.map((transform) => transform.descriptor)
|
|
24
|
+
],
|
|
25
|
+
loaders: [
|
|
26
|
+
loader('presentations', { kind: 'runtime/client' }, () => import("./client/presentations.runtime-client.impl.js"))
|
|
27
|
+
],
|
|
28
|
+
remoteExposures: [
|
|
29
|
+
{
|
|
30
|
+
kindId: presentationsDirectoryKind.id,
|
|
31
|
+
assetId: presentationsDirectoryDescriptor.id,
|
|
32
|
+
exposure: presentationsDirectoryExposure
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
kindId: presentationsSurfaceKind.id,
|
|
36
|
+
assetId: presentationsSurfaceDescriptor.id,
|
|
37
|
+
exposure: presentationsSurfaceExposure
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
onActivate(runtime) {
|
|
41
|
+
const [surface, request, review] = presentationOwnerStorageTransforms;
|
|
42
|
+
runtime.registerLoader('storage/transform', surface.descriptor.id, async () => surface.implementation);
|
|
43
|
+
runtime.registerLoader('storage/transform', request.descriptor.id, async () => request.implementation);
|
|
44
|
+
runtime.registerLoader('storage/transform', review.descriptor.id, async () => review.implementation);
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
export default presentationsPlugin;
|
|
48
|
+
//# sourceMappingURL=presentations.plugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentations.plugin.js","sourceRoot":"","sources":["../../../src/documents/presentations/presentations.plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EACN,gCAAgC,EAChC,8BAA8B,EAC9B,0BAA0B,EAC1B,8BAA8B,EAC9B,4BAA4B,EAC5B,wBAAwB,EACxB,MAAM,yBAAyB,CAAC;AACjC,OAAO,oCAAoC,MAAM,qDAAqD,CAAC;AACvG,OAAO,2BAA2B,MAAM,yCAAyC,CAAC;AAClF,OAAO,EACN,mCAAmC,EACnC,kCAAkC,EAClC,mCAAmC,EACnC,MAAM,sBAAsB,CAAC;AAC9B,OAAO,2BAA2B,MAAM,0CAA0C,CAAC;AACnF,OAAO,EAAE,kCAAkC,EAAE,MAAM,+BAA+B,CAAC;AAEnF,MAAM,CAAC,MAAM,mBAAmB,GAAG,mBAAmB,CAAC;IACtD,EAAE,EAAE,eAAe;IACnB,IAAI,EAAE,eAAe;IACrB,WAAW,EACV,oGAAoG;IACrG,YAAY,EAAE,CAAC,QAAQ,EAAE,gBAAgB,EAAE,SAAS,EAAE,OAAO,CAAC;IAC9D,KAAK,EAAE,CAAC,0BAA0B,EAAE,wBAAwB,CAAC;IAC7D,WAAW,EAAE;QACZ,gCAAgC;QAChC,8BAA8B;QAC9B,oCAAoC;QACpC,2BAA2B;QAC3B,mCAAmC;QACnC,mCAAmC;QACnC,kCAAkC;QAClC,2BAA2B;QAC3B,GAAG,kCAAkC,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC;KAC9E;IACD,OAAO,EAAE;QACR,MAAM,CACL,eAAe,EACf,EAAE,IAAI,EAAE,gBAAgB,EAAE,EAC1B,GAAG,EAAE,CAAC,MAAM,CAAC,+CAA+C,CAAC,CAC7D;KACD;IACD,eAAe,EAAE;QAChB;YACC,MAAM,EAAE,0BAA0B,CAAC,EAAE;YACrC,OAAO,EAAE,gCAAgC,CAAC,EAAE;YAC5C,QAAQ,EAAE,8BAA8B;SACxC;QACD;YACC,MAAM,EAAE,wBAAwB,CAAC,EAAE;YACnC,OAAO,EAAE,8BAA8B,CAAC,EAAE;YAC1C,QAAQ,EAAE,4BAA4B;SACtC;KACD;IACD,UAAU,CAAC,OAAO;QACjB,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,GAAG,kCAAkC,CAAC;QACtE,OAAO,CAAC,cAAc,CAAC,mBAAmB,EAAE,OAAO,CAAC,UAAU,CAAC,EAAE,EAAE,KAAK,IAAI,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;QACvG,OAAO,CAAC,cAAc,CAAC,mBAAmB,EAAE,OAAO,CAAC,UAAU,CAAC,EAAE,EAAE,KAAK,IAAI,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;QACvG,OAAO,CAAC,cAAc,CAAC,mBAAmB,EAAE,MAAM,CAAC,UAAU,CAAC,EAAE,EAAE,KAAK,IAAI,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;IACtG,CAAC;CACD,CAAC,CAAC;AAEH,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import * as z from 'zod/v4';
|
|
2
|
+
import { type PresentationRequest, type PresentationReviewSubmission } from './schemas/index.ts';
|
|
3
|
+
/**
|
|
4
|
+
* Server-stamped review read authority.
|
|
5
|
+
*
|
|
6
|
+
* This contract is deliberately absent from the directory and surface wire
|
|
7
|
+
* inputs. Serving adapters derive it from authenticated context plus the
|
|
8
|
+
* persisted request; model/browser callers can name only a request id.
|
|
9
|
+
*/
|
|
10
|
+
export declare const PresentationReviewReadAuthoritySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11
|
+
owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12
|
+
type: z.ZodLiteral<"user">;
|
|
13
|
+
id: z.ZodString;
|
|
14
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
+
type: z.ZodLiteral<"organization">;
|
|
16
|
+
id: z.ZodString;
|
|
17
|
+
}, z.core.$strip>], "type">;
|
|
18
|
+
requestId: z.ZodString;
|
|
19
|
+
sessionId: z.ZodString;
|
|
20
|
+
target: z.ZodObject<{
|
|
21
|
+
view: z.ZodEnum<{
|
|
22
|
+
session: "session";
|
|
23
|
+
artifact: "artifact";
|
|
24
|
+
"image-review": "image-review";
|
|
25
|
+
"code-review": "code-review";
|
|
26
|
+
"plan-review": "plan-review";
|
|
27
|
+
}>;
|
|
28
|
+
link: z.ZodObject<{
|
|
29
|
+
kind: z.ZodString;
|
|
30
|
+
id: z.ZodString;
|
|
31
|
+
source: z.ZodString;
|
|
32
|
+
role: z.ZodDefault<z.ZodString>;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
title: z.ZodOptional<z.ZodString>;
|
|
35
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
36
|
+
anchor: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
37
|
+
kind: z.ZodLiteral<"region">;
|
|
38
|
+
rect: z.ZodObject<{
|
|
39
|
+
x: z.ZodNumber;
|
|
40
|
+
y: z.ZodNumber;
|
|
41
|
+
width: z.ZodNumber;
|
|
42
|
+
height: z.ZodNumber;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
+
kind: z.ZodLiteral<"code">;
|
|
46
|
+
path: z.ZodString;
|
|
47
|
+
startLine: z.ZodNumber;
|
|
48
|
+
endLine: z.ZodNumber;
|
|
49
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
+
kind: z.ZodLiteral<"plan-node">;
|
|
51
|
+
nodeId: z.ZodString;
|
|
52
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
+
kind: z.ZodLiteral<"fragment">;
|
|
54
|
+
id: z.ZodString;
|
|
55
|
+
}, z.core.$strip>], "kind">>;
|
|
56
|
+
}, z.core.$strict>;
|
|
57
|
+
kind: z.ZodLiteral<"owner-surface">;
|
|
58
|
+
principalId: z.ZodString;
|
|
59
|
+
ownerRole: z.ZodEnum<{
|
|
60
|
+
"personal-owner": "personal-owner";
|
|
61
|
+
"organization-review-manager": "organization-review-manager";
|
|
62
|
+
}>;
|
|
63
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
64
|
+
owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
65
|
+
type: z.ZodLiteral<"user">;
|
|
66
|
+
id: z.ZodString;
|
|
67
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
68
|
+
type: z.ZodLiteral<"organization">;
|
|
69
|
+
id: z.ZodString;
|
|
70
|
+
}, z.core.$strip>], "type">;
|
|
71
|
+
requestId: z.ZodString;
|
|
72
|
+
sessionId: z.ZodString;
|
|
73
|
+
target: z.ZodObject<{
|
|
74
|
+
view: z.ZodEnum<{
|
|
75
|
+
session: "session";
|
|
76
|
+
artifact: "artifact";
|
|
77
|
+
"image-review": "image-review";
|
|
78
|
+
"code-review": "code-review";
|
|
79
|
+
"plan-review": "plan-review";
|
|
80
|
+
}>;
|
|
81
|
+
link: z.ZodObject<{
|
|
82
|
+
kind: z.ZodString;
|
|
83
|
+
id: z.ZodString;
|
|
84
|
+
source: z.ZodString;
|
|
85
|
+
role: z.ZodDefault<z.ZodString>;
|
|
86
|
+
}, z.core.$strip>;
|
|
87
|
+
title: z.ZodOptional<z.ZodString>;
|
|
88
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
89
|
+
anchor: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
90
|
+
kind: z.ZodLiteral<"region">;
|
|
91
|
+
rect: z.ZodObject<{
|
|
92
|
+
x: z.ZodNumber;
|
|
93
|
+
y: z.ZodNumber;
|
|
94
|
+
width: z.ZodNumber;
|
|
95
|
+
height: z.ZodNumber;
|
|
96
|
+
}, z.core.$strip>;
|
|
97
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
98
|
+
kind: z.ZodLiteral<"code">;
|
|
99
|
+
path: z.ZodString;
|
|
100
|
+
startLine: z.ZodNumber;
|
|
101
|
+
endLine: z.ZodNumber;
|
|
102
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
103
|
+
kind: z.ZodLiteral<"plan-node">;
|
|
104
|
+
nodeId: z.ZodString;
|
|
105
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
106
|
+
kind: z.ZodLiteral<"fragment">;
|
|
107
|
+
id: z.ZodString;
|
|
108
|
+
}, z.core.$strip>], "kind">>;
|
|
109
|
+
}, z.core.$strict>;
|
|
110
|
+
kind: z.ZodLiteral<"request-participant">;
|
|
111
|
+
agentId: z.ZodString;
|
|
112
|
+
}, z.core.$strict>], "kind">;
|
|
113
|
+
export type PresentationReviewReadAuthority = z.infer<typeof PresentationReviewReadAuthoritySchema>;
|
|
114
|
+
export declare function presentationReviewAuthorityMatchesRequest(authorityInput: PresentationReviewReadAuthority, requestInput: PresentationRequest): boolean;
|
|
115
|
+
export declare function createRequestParticipantReviewAuthority(request: PresentationRequest, agentId: string): PresentationReviewReadAuthority;
|
|
116
|
+
export declare function projectPresentationReviewsForAuthority(requestInput: PresentationRequest, reviews: readonly PresentationReviewSubmission[], authorityInput: PresentationReviewReadAuthority): PresentationReviewSubmission[];
|
|
117
|
+
//# sourceMappingURL=review-read-authority.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"review-read-authority.d.ts","sourceRoot":"","sources":["../../../src/documents/presentations/review-read-authority.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAKN,KAAK,mBAAmB,EACxB,KAAK,4BAA4B,EACjC,MAAM,oBAAoB,CAAC;AAW5B;;;;;;GAMG;AACH,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAUhD,CAAC;AAEH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AAqBpG,wBAAgB,yCAAyC,CACxD,cAAc,EAAE,+BAA+B,EAC/C,YAAY,EAAE,mBAAmB,GAC/B,OAAO,CAoBT;AAED,wBAAgB,uCAAuC,CACtD,OAAO,EAAE,mBAAmB,EAC5B,OAAO,EAAE,MAAM,GACb,+BAA+B,CASjC;AAED,wBAAgB,sCAAsC,CACrD,YAAY,EAAE,mBAAmB,EACjC,OAAO,EAAE,SAAS,4BAA4B,EAAE,EAChD,cAAc,EAAE,+BAA+B,GAC7C,4BAA4B,EAAE,CAWhC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import * as z from 'zod/v4';
|
|
2
|
+
import { PresentationOwnerSchema, PresentationRequestSchema, PresentationReviewSubmissionSchema, PresentationTargetSchema } from "./schemas/index.js";
|
|
3
|
+
const PresentationReviewReadBindingSchema = z
|
|
4
|
+
.object({
|
|
5
|
+
owner: PresentationOwnerSchema,
|
|
6
|
+
requestId: z.string().uuid(),
|
|
7
|
+
sessionId: z.string().uuid(),
|
|
8
|
+
target: PresentationTargetSchema
|
|
9
|
+
})
|
|
10
|
+
.strict();
|
|
11
|
+
/**
|
|
12
|
+
* Server-stamped review read authority.
|
|
13
|
+
*
|
|
14
|
+
* This contract is deliberately absent from the directory and surface wire
|
|
15
|
+
* inputs. Serving adapters derive it from authenticated context plus the
|
|
16
|
+
* persisted request; model/browser callers can name only a request id.
|
|
17
|
+
*/
|
|
18
|
+
export const PresentationReviewReadAuthoritySchema = z.discriminatedUnion('kind', [
|
|
19
|
+
PresentationReviewReadBindingSchema.extend({
|
|
20
|
+
kind: z.literal('owner-surface'),
|
|
21
|
+
principalId: z.string().min(1).max(256),
|
|
22
|
+
ownerRole: z.enum(['personal-owner', 'organization-review-manager'])
|
|
23
|
+
}).strict(),
|
|
24
|
+
PresentationReviewReadBindingSchema.extend({
|
|
25
|
+
kind: z.literal('request-participant'),
|
|
26
|
+
agentId: z.string().min(1).max(256)
|
|
27
|
+
}).strict()
|
|
28
|
+
]);
|
|
29
|
+
function sameOwner(left, right) {
|
|
30
|
+
return left.type === right.type && left.id === right.id;
|
|
31
|
+
}
|
|
32
|
+
function sameTarget(left, right) {
|
|
33
|
+
// Both operands are parsed into the same canonical schema order before
|
|
34
|
+
// comparison, so optional/defaulted link fields cannot create false matches.
|
|
35
|
+
return (JSON.stringify(PresentationTargetSchema.parse(left)) ===
|
|
36
|
+
JSON.stringify(PresentationTargetSchema.parse(right)));
|
|
37
|
+
}
|
|
38
|
+
export function presentationReviewAuthorityMatchesRequest(authorityInput, requestInput) {
|
|
39
|
+
const authority = PresentationReviewReadAuthoritySchema.parse(authorityInput);
|
|
40
|
+
const request = PresentationRequestSchema.parse(requestInput);
|
|
41
|
+
if (authority.requestId !== request.id ||
|
|
42
|
+
authority.sessionId !== request.sessionId ||
|
|
43
|
+
!sameOwner(authority.owner, request.owner) ||
|
|
44
|
+
!sameTarget(authority.target, request.target)) {
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
if (authority.kind === 'request-participant') {
|
|
48
|
+
return request.requester.type === 'agent' && request.requester.id === authority.agentId;
|
|
49
|
+
}
|
|
50
|
+
return request.owner.type === 'user'
|
|
51
|
+
? authority.ownerRole === 'personal-owner' && authority.principalId === request.owner.id
|
|
52
|
+
: authority.ownerRole === 'organization-review-manager';
|
|
53
|
+
}
|
|
54
|
+
export function createRequestParticipantReviewAuthority(request, agentId) {
|
|
55
|
+
return PresentationReviewReadAuthoritySchema.parse({
|
|
56
|
+
kind: 'request-participant',
|
|
57
|
+
agentId,
|
|
58
|
+
owner: request.owner,
|
|
59
|
+
requestId: request.id,
|
|
60
|
+
sessionId: request.sessionId,
|
|
61
|
+
target: request.target
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
export function projectPresentationReviewsForAuthority(requestInput, reviews, authorityInput) {
|
|
65
|
+
const request = PresentationRequestSchema.parse(requestInput);
|
|
66
|
+
const authority = PresentationReviewReadAuthoritySchema.parse(authorityInput);
|
|
67
|
+
if (!presentationReviewAuthorityMatchesRequest(authority, request))
|
|
68
|
+
return [];
|
|
69
|
+
return reviews
|
|
70
|
+
.map((review) => PresentationReviewSubmissionSchema.parse(review))
|
|
71
|
+
.filter((review) => review.requestId === request.id)
|
|
72
|
+
.filter((review) => authority.kind === 'owner-surface' || review.audience === 'request-participants');
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=review-read-authority.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"review-read-authority.js","sourceRoot":"","sources":["../../../src/documents/presentations/review-read-authority.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/documents/presentations/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/documents/presentations/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as z from 'zod/v4';
|
|
2
|
+
export declare const PresentationOwnerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3
|
+
type: z.ZodLiteral<"user">;
|
|
4
|
+
id: z.ZodString;
|
|
5
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6
|
+
type: z.ZodLiteral<"organization">;
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
}, z.core.$strip>], "type">;
|
|
9
|
+
export declare const PresentationRequesterSchema: z.ZodObject<{
|
|
10
|
+
id: z.ZodString;
|
|
11
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12
|
+
type: z.ZodLiteral<"agent">;
|
|
13
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
export declare const PresentationReviewSubmitterSchema: z.ZodObject<{
|
|
16
|
+
type: z.ZodEnum<{
|
|
17
|
+
user: "user";
|
|
18
|
+
agent: "agent";
|
|
19
|
+
service: "service";
|
|
20
|
+
operator: "operator";
|
|
21
|
+
}>;
|
|
22
|
+
id: z.ZodString;
|
|
23
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
export type PresentationOwner = z.infer<typeof PresentationOwnerSchema>;
|
|
26
|
+
export type PresentationRequester = z.infer<typeof PresentationRequesterSchema>;
|
|
27
|
+
export type PresentationReviewSubmitter = z.infer<typeof PresentationReviewSubmitterSchema>;
|
|
28
|
+
//# sourceMappingURL=owner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"owner.d.ts","sourceRoot":"","sources":["../../../../src/documents/presentations/schemas/owner.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,eAAO,MAAM,uBAAuB;;;;;;2BASlC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;iBAGtC,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;;;;;;iBAG7C,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,iCAAiC,CACxC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { RuntimePrincipalIdentitySchema } from '@vibesdotdev/kernel/federation';
|
|
2
|
+
import * as z from 'zod/v4';
|
|
3
|
+
export const PresentationOwnerSchema = z.discriminatedUnion('type', [
|
|
4
|
+
z.object({
|
|
5
|
+
type: z.literal('user'),
|
|
6
|
+
id: z.string().min(1).max(256)
|
|
7
|
+
}),
|
|
8
|
+
z.object({
|
|
9
|
+
type: z.literal('organization'),
|
|
10
|
+
id: z.string().min(1).max(256)
|
|
11
|
+
})
|
|
12
|
+
]);
|
|
13
|
+
export const PresentationRequesterSchema = RuntimePrincipalIdentitySchema.extend({
|
|
14
|
+
type: z.literal('agent'),
|
|
15
|
+
displayName: z.string().min(1).max(200).optional()
|
|
16
|
+
});
|
|
17
|
+
export const PresentationReviewSubmitterSchema = RuntimePrincipalIdentitySchema.refine((principal) => principal.type === 'user' || principal.type === 'operator', 'review submitter must be an authenticated user or operator');
|
|
18
|
+
//# sourceMappingURL=owner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"owner.js","sourceRoot":"","sources":["../../../../src/documents/presentations/schemas/owner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IACnE,CAAC,CAAC,MAAM,CAAC;QACR,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC;QACvB,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;KAC9B,CAAC;IACF,CAAC,CAAC,MAAM,CAAC;QACR,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;QAC/B,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;KAC9B,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,2BAA2B,GAAG,8BAA8B,CAAC,MAAM,CAAC;IAChF,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;IACxB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;CAClD,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,iCAAiC,GAAG,8BAA8B,CAAC,MAAM,CACrF,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,KAAK,MAAM,IAAI,SAAS,CAAC,IAAI,KAAK,UAAU,EACzE,4DAA4D,CAC5D,CAAC"}
|