@vibesdotdev/docs 0.0.0-stage → 1.0.0-rc.3
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
package/dist/documents/presentations/capabilities/presentations.directory.impl.consumer.worker.js
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { serviceOrigin } from '@vibesdotdev/infra-core/service';
|
|
2
|
+
import { CapabilityError } from '@vibesdotdev/kernel';
|
|
3
|
+
import { JsonValueSchema } from '@vibesdotdev/kernel/schemas/json';
|
|
4
|
+
import * as z from 'zod/v4';
|
|
5
|
+
import { CreatePresentationRequestInputSchema, ListPresentationRequestsInputSchema, ListPresentationSurfacesInputSchema, PresentationRequestSchema, PresentationReviewSubmissionSchema, PresentationSurfaceSummarySchema, WithdrawPresentationRequestInputSchema } from "../schemas/index.js";
|
|
6
|
+
const NonEmptyStringSchema = z.string().trim().min(1);
|
|
7
|
+
const RequestResultSchema = z.object({ result: PresentationRequestSchema }).strict();
|
|
8
|
+
const RequestNullableResultSchema = z
|
|
9
|
+
.object({ result: PresentationRequestSchema.nullable() })
|
|
10
|
+
.strict();
|
|
11
|
+
const RequestListResultSchema = z.object({ results: PresentationRequestSchema.array() }).strict();
|
|
12
|
+
const SurfaceListResultSchema = z
|
|
13
|
+
.object({ results: PresentationSurfaceSummarySchema.array() })
|
|
14
|
+
.strict();
|
|
15
|
+
const ReviewListResultSchema = z
|
|
16
|
+
.object({ results: PresentationReviewSubmissionSchema.array() })
|
|
17
|
+
.strict();
|
|
18
|
+
function runtimeEnv(runtime, key) {
|
|
19
|
+
const parsed = NonEmptyStringSchema.safeParse(runtime.getEnv(key));
|
|
20
|
+
return parsed.success ? parsed.data : undefined;
|
|
21
|
+
}
|
|
22
|
+
export default class ConsumerPresentationsDirectoryCapability {
|
|
23
|
+
runtime;
|
|
24
|
+
constructor(_descriptor, context) {
|
|
25
|
+
if (!context.runtime) {
|
|
26
|
+
throw new CapabilityError('Presentation directory capability requires runtime context', 'INVALID_INPUT', { reason: 'runtime-required' });
|
|
27
|
+
}
|
|
28
|
+
this.runtime = context.runtime;
|
|
29
|
+
}
|
|
30
|
+
async listSurfaces(input = ListPresentationSurfacesInputSchema.parse({})) {
|
|
31
|
+
const response = SurfaceListResultSchema.parse(await this.request('/api/presentations/surfaces'));
|
|
32
|
+
return response.results
|
|
33
|
+
.filter((surface) => input.includeBusy ||
|
|
34
|
+
(surface.state.availability !== 'busy' && surface.state.availability !== 'do-not-disturb'))
|
|
35
|
+
.filter((surface) => (input.requires ?? []).every((capability) => surface.capabilities.includes(capability)));
|
|
36
|
+
}
|
|
37
|
+
async createRequest(input) {
|
|
38
|
+
const body = CreatePresentationRequestInputSchema.parse(input);
|
|
39
|
+
return RequestResultSchema.parse(await this.request('/api/presentations/requests', {
|
|
40
|
+
method: 'POST',
|
|
41
|
+
body: JSON.stringify(body)
|
|
42
|
+
})).result;
|
|
43
|
+
}
|
|
44
|
+
async getRequest(requestId) {
|
|
45
|
+
const parsedId = z.string().uuid().parse(requestId);
|
|
46
|
+
return RequestNullableResultSchema.parse(await this.request(`/api/presentations/requests/${encodeURIComponent(parsedId)}`)).result;
|
|
47
|
+
}
|
|
48
|
+
async listRequests(input = ListPresentationRequestsInputSchema.parse({})) {
|
|
49
|
+
const filters = ListPresentationRequestsInputSchema.parse(input);
|
|
50
|
+
const url = new URL('/api/presentations/requests', 'https://hq.invalid');
|
|
51
|
+
for (const status of filters.status ?? [])
|
|
52
|
+
url.searchParams.append('status', status);
|
|
53
|
+
if (filters.surfaceId)
|
|
54
|
+
url.searchParams.set('surfaceId', filters.surfaceId);
|
|
55
|
+
url.searchParams.set('limit', String(filters.limit));
|
|
56
|
+
return RequestListResultSchema.parse(await this.request(`${url.pathname}${url.search}`))
|
|
57
|
+
.results;
|
|
58
|
+
}
|
|
59
|
+
async withdrawRequest(input) {
|
|
60
|
+
const body = WithdrawPresentationRequestInputSchema.parse(input);
|
|
61
|
+
const payload = {
|
|
62
|
+
action: 'withdraw',
|
|
63
|
+
operationId: body.operationId,
|
|
64
|
+
expectedRevision: body.expectedRevision
|
|
65
|
+
};
|
|
66
|
+
if (body.note !== undefined) {
|
|
67
|
+
payload.note = body.note;
|
|
68
|
+
}
|
|
69
|
+
return RequestResultSchema.parse(await this.request(`/api/presentations/requests/${encodeURIComponent(body.requestId)}`, {
|
|
70
|
+
method: 'PATCH',
|
|
71
|
+
body: JSON.stringify(payload)
|
|
72
|
+
})).result;
|
|
73
|
+
}
|
|
74
|
+
async listReviews(requestId) {
|
|
75
|
+
const parsedId = z.string().uuid().parse(requestId);
|
|
76
|
+
const query = new URLSearchParams({ requestId: parsedId });
|
|
77
|
+
return ReviewListResultSchema.parse(await this.request(`/api/presentations/requester-reviews?${query.toString()}`)).results;
|
|
78
|
+
}
|
|
79
|
+
async request(path, init = {}) {
|
|
80
|
+
const token = runtimeEnv(this.runtime, 'VIBES_AGENT_TOKEN');
|
|
81
|
+
if (!token) {
|
|
82
|
+
throw new CapabilityError('Presentations requires a centrally issued VIBES_AGENT_TOKEN. Create an agent credential in Auth first.', 'AUTH_REQUIRED', { reason: 'agent-token-required' });
|
|
83
|
+
}
|
|
84
|
+
// The directory is hq-web's: the declared `hq` service (`service-undeclared` when absent).
|
|
85
|
+
const origin = (await serviceOrigin(this.runtime, 'hq')).replace(/\/+$/, '');
|
|
86
|
+
const headers = new Headers(init.headers);
|
|
87
|
+
headers.set('accept', 'application/json');
|
|
88
|
+
headers.set('authorization', `Bearer ${token}`);
|
|
89
|
+
if (init.body)
|
|
90
|
+
headers.set('content-type', 'application/json');
|
|
91
|
+
const response = await globalThis.fetch(new URL(path, origin), {
|
|
92
|
+
...init,
|
|
93
|
+
headers
|
|
94
|
+
});
|
|
95
|
+
if (!response.ok) {
|
|
96
|
+
throw new CapabilityError(`Presentation directory request failed with HTTP ${response.status}.`, 'UNAVAILABLE', { reason: 'directory-request-failed' });
|
|
97
|
+
}
|
|
98
|
+
return JsonValueSchema.parse(await response.json());
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
//# sourceMappingURL=presentations.directory.impl.consumer.worker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentations.directory.impl.consumer.worker.js","sourceRoot":"","sources":["../../../../src/documents/presentations/capabilities/presentations.directory.impl.consumer.worker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,eAAe,EAA6D,MAAM,qBAAqB,CAAC;AACjH,OAAO,EAAE,eAAe,EAAkB,MAAM,kCAAkC,CAAC;AACnF,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EACN,oCAAoC,EACpC,mCAAmC,EACnC,mCAAmC,EACnC,yBAAyB,EACzB,kC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CAAC,GAAG,CAAC,eAAe,EAAE,UAAU,KAAK,EAAE,CAAC,CAAC;QAChD,IAAI,IAAI,CAAC,IAAI;YAAE,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAAC;QAC/D,MAAM,QAAQ,GAAG,MAAM,UAAU,CAAC,KAAK,CAAC,IAAI,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,EAAE;YAC9D,GAAG,IAAI;YACP,OAAO;SACP,CAAC,CAAC;QACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;YAClB,MAAM,IAAI,eAAe,CACxB,mDAAmD,QAAQ,CAAC,MAAM,GAAG,EACrE,aAAa,EACb,EAAE,MAAM,EAAE,0BAA0B,EAAE,CACtC,CAAC;QACH,CAAC;QACD,OAAO,eAAe,CAAC,KAAK,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;CACD"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { type RuntimeDescriptor } from '@vibesdotdev/kernel';
|
|
2
|
+
import * as z from 'zod/v4';
|
|
3
|
+
import { type CreatePresentationRequestInput, type ListPresentationRequestsInput, type ListPresentationSurfacesInput, type PresentationRequest, type PresentationReviewSubmission, type PresentationSurfaceSummary, type WithdrawPresentationRequestInput } from '../schemas/index.ts';
|
|
4
|
+
export declare const PRESENTATIONS_DIRECTORY_KIND_ID = "presentations/directory";
|
|
5
|
+
export declare const PRESENTATIONS_DIRECTORY_CAPABILITY_ID = "presentations.directory";
|
|
6
|
+
export interface PresentationsDirectoryCapability {
|
|
7
|
+
listSurfaces(input?: ListPresentationSurfacesInput): Promise<PresentationSurfaceSummary[]>;
|
|
8
|
+
createRequest(input: CreatePresentationRequestInput): Promise<PresentationRequest>;
|
|
9
|
+
getRequest(requestId: string): Promise<PresentationRequest | null>;
|
|
10
|
+
listRequests(input?: ListPresentationRequestsInput): Promise<PresentationRequest[]>;
|
|
11
|
+
withdrawRequest(input: WithdrawPresentationRequestInput): Promise<PresentationRequest>;
|
|
12
|
+
listReviews(requestId: string): Promise<PresentationReviewSubmission[]>;
|
|
13
|
+
}
|
|
14
|
+
export declare const presentationsDirectoryKind: import("@vibesdotdev/kernel").RuntimeKindDescriptorRecord<PresentationsDirectoryCapability>;
|
|
15
|
+
export declare const presentationsDirectoryDescriptor: RuntimeDescriptor;
|
|
16
|
+
export declare const presentationsDirectoryExposure: {
|
|
17
|
+
protocolVersion: 1;
|
|
18
|
+
discoverable: boolean;
|
|
19
|
+
audiences: ("service" | "operator" | "consumer-renderer" | "consumer-cli" | "consumer-agent")[];
|
|
20
|
+
methods: Record<string, {
|
|
21
|
+
request: {
|
|
22
|
+
id: string;
|
|
23
|
+
version: number;
|
|
24
|
+
schema: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
25
|
+
};
|
|
26
|
+
result: {
|
|
27
|
+
id: string;
|
|
28
|
+
version: number;
|
|
29
|
+
schema: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
30
|
+
};
|
|
31
|
+
dataClassification: "secret" | "user" | "public" | "sensitive";
|
|
32
|
+
rendererView: "denied" | "raw" | "redacted";
|
|
33
|
+
retry: {
|
|
34
|
+
mode: "read";
|
|
35
|
+
retry: "safe";
|
|
36
|
+
} | {
|
|
37
|
+
mode: "idempotent";
|
|
38
|
+
operationIdRequired: true;
|
|
39
|
+
reconciliationMethod: string;
|
|
40
|
+
} | {
|
|
41
|
+
mode: "non-idempotent";
|
|
42
|
+
retry: "never";
|
|
43
|
+
};
|
|
44
|
+
cancellation: {
|
|
45
|
+
mode: "required" | "none" | "cooperative";
|
|
46
|
+
defaultDeadlineMs: number;
|
|
47
|
+
maxDeadlineMs: number;
|
|
48
|
+
};
|
|
49
|
+
maxRequestBytes: number;
|
|
50
|
+
maxResultBytes: number;
|
|
51
|
+
projectRenderer?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
52
|
+
stream?: {
|
|
53
|
+
event: {
|
|
54
|
+
id: string;
|
|
55
|
+
version: number;
|
|
56
|
+
schema: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
57
|
+
};
|
|
58
|
+
maxEventBytes: number;
|
|
59
|
+
initialCredits: number;
|
|
60
|
+
maxCredits: number;
|
|
61
|
+
projectRenderer?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
62
|
+
} | undefined;
|
|
63
|
+
}>;
|
|
64
|
+
};
|
|
65
|
+
//# sourceMappingURL=presentations.directory.kind.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentations.directory.kind.d.ts","sourceRoot":"","sources":["../../../../src/documents/presentations/capabilities/presentations.directory.kind.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,KAAK,iBAAiB,EACtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAQN,KAAK,8BAA8B,EACnC,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,mBAAmB,EACxB,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,gCAAgC,EACrC,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,+BAA+B,4BAA4B,CAAC;AACzE,eAAO,MAAM,qCAAqC,4BAA4B,CAAC;AAE/E,MAAM,WAAW,gCAAgC;IAChD,YAAY,CAAC,KAAK,CAAC,EAAE,6BAA6B,GAAG,OAAO,CAAC,0BAA0B,EAAE,CAAC,CAAC;IAC3F,aAAa,CAAC,KAAK,EAAE,8BAA8B,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;IACnF,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC;IACnE,YAAY,CAAC,KAAK,CAAC,EAAE,6BAA6B,GAAG,OAAO,CAAC,mBAAmB,EAAE,CAAC,CAAC;IACpF,eAAe,CAAC,KAAK,EAAE,gCAAgC,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;IACvF,WAAW,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,4BAA4B,EAAE,CAAC,CAAC;CACxE;AAED,eAAO,MAAM,0BAA0B,6FAQrC,CAAC;AAEH,eAAO,MAAM,gCAAgC,EAAE,iBAO9C,CAAC;AAgBF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwHzC,CAAC"}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { createRuntimeKind, RuntimeDescriptorSchema } from '@vibesdotdev/kernel';
|
|
2
|
+
import { defineRemoteExposure } from '@vibesdotdev/kernel/federation';
|
|
3
|
+
import * as z from 'zod/v4';
|
|
4
|
+
import { CreatePresentationRequestInputSchema, ListPresentationRequestsInputSchema, ListPresentationSurfacesInputSchema, PresentationRequestSchema, PresentationReviewSubmissionSchema, PresentationSurfaceSummarySchema, WithdrawPresentationRequestInputSchema } from "../schemas/index.js";
|
|
5
|
+
export const PRESENTATIONS_DIRECTORY_KIND_ID = 'presentations/directory';
|
|
6
|
+
export const PRESENTATIONS_DIRECTORY_CAPABILITY_ID = 'presentations.directory';
|
|
7
|
+
export const presentationsDirectoryKind = createRuntimeKind({
|
|
8
|
+
id: PRESENTATIONS_DIRECTORY_KIND_ID,
|
|
9
|
+
descriptorSchema: RuntimeDescriptorSchema.extend({
|
|
10
|
+
kind: z.literal(PRESENTATIONS_DIRECTORY_KIND_ID)
|
|
11
|
+
})
|
|
12
|
+
});
|
|
13
|
+
export const presentationsDirectoryDescriptor = {
|
|
14
|
+
id: PRESENTATIONS_DIRECTORY_CAPABILITY_ID,
|
|
15
|
+
kind: PRESENTATIONS_DIRECTORY_KIND_ID,
|
|
16
|
+
name: 'Presentation directory',
|
|
17
|
+
description: 'Agent-facing discovery and request capability for RBAC-filtered presentation surfaces',
|
|
18
|
+
enabled: true
|
|
19
|
+
};
|
|
20
|
+
const readCancellation = {
|
|
21
|
+
mode: 'cooperative',
|
|
22
|
+
defaultDeadlineMs: 5_000,
|
|
23
|
+
maxDeadlineMs: 30_000
|
|
24
|
+
};
|
|
25
|
+
const mutationCancellation = {
|
|
26
|
+
mode: 'cooperative',
|
|
27
|
+
defaultDeadlineMs: 10_000,
|
|
28
|
+
maxDeadlineMs: 30_000
|
|
29
|
+
};
|
|
30
|
+
const requestIdSchema = z.string().uuid();
|
|
31
|
+
export const presentationsDirectoryExposure = defineRemoteExposure({
|
|
32
|
+
protocolVersion: 1,
|
|
33
|
+
discoverable: true,
|
|
34
|
+
audiences: ['consumer-agent', 'service'],
|
|
35
|
+
methods: {
|
|
36
|
+
listSurfaces: {
|
|
37
|
+
request: {
|
|
38
|
+
id: 'presentations.directory.list-surfaces.request',
|
|
39
|
+
version: 1,
|
|
40
|
+
schema: z.union([
|
|
41
|
+
z.tuple([]),
|
|
42
|
+
z.tuple([ListPresentationSurfacesInputSchema])
|
|
43
|
+
])
|
|
44
|
+
},
|
|
45
|
+
result: {
|
|
46
|
+
id: 'presentations.directory.list-surfaces.result',
|
|
47
|
+
version: 1,
|
|
48
|
+
schema: PresentationSurfaceSummarySchema.array()
|
|
49
|
+
},
|
|
50
|
+
dataClassification: 'user',
|
|
51
|
+
rendererView: 'raw',
|
|
52
|
+
retry: { mode: 'read', retry: 'safe' },
|
|
53
|
+
cancellation: readCancellation,
|
|
54
|
+
maxRequestBytes: 16 * 1024,
|
|
55
|
+
maxResultBytes: 512 * 1024
|
|
56
|
+
},
|
|
57
|
+
createRequest: {
|
|
58
|
+
request: {
|
|
59
|
+
id: 'presentations.directory.create-request.request',
|
|
60
|
+
version: 1,
|
|
61
|
+
schema: z.tuple([CreatePresentationRequestInputSchema])
|
|
62
|
+
},
|
|
63
|
+
result: {
|
|
64
|
+
id: 'presentations.directory.create-request.result',
|
|
65
|
+
version: 1,
|
|
66
|
+
schema: PresentationRequestSchema
|
|
67
|
+
},
|
|
68
|
+
dataClassification: 'user',
|
|
69
|
+
rendererView: 'raw',
|
|
70
|
+
retry: { mode: 'non-idempotent', retry: 'never' },
|
|
71
|
+
cancellation: mutationCancellation,
|
|
72
|
+
maxRequestBytes: 128 * 1024,
|
|
73
|
+
maxResultBytes: 128 * 1024
|
|
74
|
+
},
|
|
75
|
+
getRequest: {
|
|
76
|
+
request: {
|
|
77
|
+
id: 'presentations.directory.get-request.request',
|
|
78
|
+
version: 1,
|
|
79
|
+
schema: z.tuple([requestIdSchema])
|
|
80
|
+
},
|
|
81
|
+
result: {
|
|
82
|
+
id: 'presentations.directory.get-request.result',
|
|
83
|
+
version: 1,
|
|
84
|
+
schema: PresentationRequestSchema.nullable()
|
|
85
|
+
},
|
|
86
|
+
dataClassification: 'user',
|
|
87
|
+
rendererView: 'raw',
|
|
88
|
+
retry: { mode: 'read', retry: 'safe' },
|
|
89
|
+
cancellation: readCancellation,
|
|
90
|
+
maxRequestBytes: 1024,
|
|
91
|
+
maxResultBytes: 128 * 1024
|
|
92
|
+
},
|
|
93
|
+
listRequests: {
|
|
94
|
+
request: {
|
|
95
|
+
id: 'presentations.directory.list-requests.request',
|
|
96
|
+
version: 1,
|
|
97
|
+
schema: z.union([
|
|
98
|
+
z.tuple([]),
|
|
99
|
+
z.tuple([ListPresentationRequestsInputSchema])
|
|
100
|
+
])
|
|
101
|
+
},
|
|
102
|
+
result: {
|
|
103
|
+
id: 'presentations.directory.list-requests.result',
|
|
104
|
+
version: 1,
|
|
105
|
+
schema: PresentationRequestSchema.array()
|
|
106
|
+
},
|
|
107
|
+
dataClassification: 'user',
|
|
108
|
+
rendererView: 'raw',
|
|
109
|
+
retry: { mode: 'read', retry: 'safe' },
|
|
110
|
+
cancellation: readCancellation,
|
|
111
|
+
maxRequestBytes: 16 * 1024,
|
|
112
|
+
maxResultBytes: 2 * 1024 * 1024
|
|
113
|
+
},
|
|
114
|
+
withdrawRequest: {
|
|
115
|
+
request: {
|
|
116
|
+
id: 'presentations.directory.withdraw-request.request',
|
|
117
|
+
version: 1,
|
|
118
|
+
schema: z.tuple([WithdrawPresentationRequestInputSchema])
|
|
119
|
+
},
|
|
120
|
+
result: {
|
|
121
|
+
id: 'presentations.directory.withdraw-request.result',
|
|
122
|
+
version: 1,
|
|
123
|
+
schema: PresentationRequestSchema
|
|
124
|
+
},
|
|
125
|
+
dataClassification: 'user',
|
|
126
|
+
rendererView: 'raw',
|
|
127
|
+
retry: { mode: 'non-idempotent', retry: 'never' },
|
|
128
|
+
cancellation: mutationCancellation,
|
|
129
|
+
maxRequestBytes: 16 * 1024,
|
|
130
|
+
maxResultBytes: 128 * 1024
|
|
131
|
+
},
|
|
132
|
+
listReviews: {
|
|
133
|
+
request: {
|
|
134
|
+
id: 'presentations.directory.list-reviews.request',
|
|
135
|
+
version: 1,
|
|
136
|
+
schema: z.tuple([requestIdSchema])
|
|
137
|
+
},
|
|
138
|
+
result: {
|
|
139
|
+
id: 'presentations.directory.list-reviews.result',
|
|
140
|
+
version: 1,
|
|
141
|
+
schema: PresentationReviewSubmissionSchema.array()
|
|
142
|
+
},
|
|
143
|
+
dataClassification: 'user',
|
|
144
|
+
rendererView: 'raw',
|
|
145
|
+
retry: { mode: 'read', retry: 'safe' },
|
|
146
|
+
cancellation: readCancellation,
|
|
147
|
+
maxRequestBytes: 1024,
|
|
148
|
+
maxResultBytes: 4 * 1024 * 1024
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
//# sourceMappingURL=presentations.directory.kind.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentations.directory.kind.js","sourceRoot":"","sources":["../../../../src/documents/presentations/capabilities/presentations.directory.kind.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,iBAAiB,EACjB,uBAAuB,EAEvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,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K,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,KAAK,EAAE,OAAO,EAAE;YACjD,YAAY,EAAE,oBAAoB;YAClC,eAAe,EAAE,EAAE,GAAG,IAAI;YAC1B,cAAc,EAAE,GAAG,GAAG,IAAI;SAC1B;QACD,WAAW,EAAE;YACZ,OAAO,EAAE;gBACR,EAAE,EAAE,8CAA8C;gBAClD,OAAO,EAAE,CAAC;gBACV,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,eAAe,CAAC,CAAC;aAClC;YACD,MAAM,EAAE;gBACP,EAAE,EAAE,6CAA6C;gBACjD,OAAO,EAAE,CAAC;gBACV,MAAM,EAAE,kCAAkC,CAAC,KAAK,EAAE;aAClD;YACD,kBAAkB,EAAE,MAAM;YAC1B,YAAY,EAAE,KAAK;YACnB,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;YACtC,YAAY,EAAE,gBAAgB;YAC9B,eAAe,EAAE,IAAI;YACrB,cAAc,EAAE,CAAC,GAAG,IAAI,GAAG,IAAI;SAC/B;KACD;CACD,CAAC,CAAC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { type RuntimeDescriptor } from '@vibesdotdev/kernel';
|
|
2
|
+
import * as z from 'zod/v4';
|
|
3
|
+
import { type FinishPresentationInput, type GetIncomingPresentationRequestInput, type ListIncomingPresentationRequestsInput, type MarkPresentationStartedInput, type PresentationRequest, type PresentationReviewSubmission, type PresentationSurfaceLease, type RegisterPresentationSurfaceInput, type ReleasePresentationSurfaceInput, type RenewPresentationSurfaceInput, type RespondToPresentationRequestInput, type SubmitPresentationReviewInput } from '../schemas/index.ts';
|
|
4
|
+
export declare const PRESENTATIONS_SURFACE_KIND_ID = "presentations/surface";
|
|
5
|
+
export declare const PRESENTATIONS_SURFACE_CAPABILITY_ID = "presentations.surface";
|
|
6
|
+
export interface PresentationsSurfaceCapability {
|
|
7
|
+
register(input: RegisterPresentationSurfaceInput): Promise<PresentationSurfaceLease>;
|
|
8
|
+
renew(input: RenewPresentationSurfaceInput): Promise<PresentationSurfaceLease>;
|
|
9
|
+
release(input: ReleasePresentationSurfaceInput): Promise<boolean>;
|
|
10
|
+
listRequests(input: ListIncomingPresentationRequestsInput): Promise<PresentationRequest[]>;
|
|
11
|
+
getRequest(input: GetIncomingPresentationRequestInput): Promise<PresentationRequest | null>;
|
|
12
|
+
respond(input: RespondToPresentationRequestInput): Promise<PresentationRequest>;
|
|
13
|
+
markPresenting(input: MarkPresentationStartedInput): Promise<PresentationRequest>;
|
|
14
|
+
finish(input: FinishPresentationInput): Promise<PresentationRequest>;
|
|
15
|
+
submitReview(input: SubmitPresentationReviewInput): Promise<PresentationReviewSubmission>;
|
|
16
|
+
}
|
|
17
|
+
export declare const presentationsSurfaceKind: import("@vibesdotdev/kernel").RuntimeKindDescriptorRecord<PresentationsSurfaceCapability>;
|
|
18
|
+
export declare const presentationsSurfaceDescriptor: RuntimeDescriptor;
|
|
19
|
+
export declare const presentationsSurfaceExposure: {
|
|
20
|
+
protocolVersion: 1;
|
|
21
|
+
discoverable: boolean;
|
|
22
|
+
audiences: ("service" | "operator" | "consumer-renderer" | "consumer-cli" | "consumer-agent")[];
|
|
23
|
+
methods: Record<string, {
|
|
24
|
+
request: {
|
|
25
|
+
id: string;
|
|
26
|
+
version: number;
|
|
27
|
+
schema: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
28
|
+
};
|
|
29
|
+
result: {
|
|
30
|
+
id: string;
|
|
31
|
+
version: number;
|
|
32
|
+
schema: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
33
|
+
};
|
|
34
|
+
dataClassification: "secret" | "user" | "public" | "sensitive";
|
|
35
|
+
rendererView: "denied" | "raw" | "redacted";
|
|
36
|
+
retry: {
|
|
37
|
+
mode: "read";
|
|
38
|
+
retry: "safe";
|
|
39
|
+
} | {
|
|
40
|
+
mode: "idempotent";
|
|
41
|
+
operationIdRequired: true;
|
|
42
|
+
reconciliationMethod: string;
|
|
43
|
+
} | {
|
|
44
|
+
mode: "non-idempotent";
|
|
45
|
+
retry: "never";
|
|
46
|
+
};
|
|
47
|
+
cancellation: {
|
|
48
|
+
mode: "required" | "none" | "cooperative";
|
|
49
|
+
defaultDeadlineMs: number;
|
|
50
|
+
maxDeadlineMs: number;
|
|
51
|
+
};
|
|
52
|
+
maxRequestBytes: number;
|
|
53
|
+
maxResultBytes: number;
|
|
54
|
+
projectRenderer?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
55
|
+
stream?: {
|
|
56
|
+
event: {
|
|
57
|
+
id: string;
|
|
58
|
+
version: number;
|
|
59
|
+
schema: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
60
|
+
};
|
|
61
|
+
maxEventBytes: number;
|
|
62
|
+
initialCredits: number;
|
|
63
|
+
maxCredits: number;
|
|
64
|
+
projectRenderer?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
65
|
+
} | undefined;
|
|
66
|
+
}>;
|
|
67
|
+
};
|
|
68
|
+
//# sourceMappingURL=presentations.surface.kind.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentations.surface.kind.d.ts","sourceRoot":"","sources":["../../../../src/documents/presentations/capabilities/presentations.surface.kind.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,KAAK,iBAAiB,EACtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAaN,KAAK,uBAAuB,EAC5B,KAAK,mCAAmC,EACxC,KAAK,qCAAqC,EAC1C,KAAK,4BAA4B,EACjC,KAAK,mBAAmB,EACxB,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,+BAA+B,EACpC,KAAK,6BAA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|
+
import * as z from 'zod/v4';
|
|
4
|
+
import { FinishPresentationInputSchema, GetIncomingPresentationRequestInputSchema, ListIncomingPresentationRequestsInputSchema, MarkPresentationStartedInputSchema, PresentationRequestSchema, PresentationReviewSubmissionSchema, PresentationSurfaceLeaseSchema, RegisterPresentationSurfaceInputSchema, ReleasePresentationSurfaceInputSchema, RenewPresentationSurfaceInputSchema, RespondToPresentationRequestInputSchema, SubmitPresentationReviewInputSchema } from "../schemas/index.js";
|
|
5
|
+
export const PRESENTATIONS_SURFACE_KIND_ID = 'presentations/surface';
|
|
6
|
+
export const PRESENTATIONS_SURFACE_CAPABILITY_ID = 'presentations.surface';
|
|
7
|
+
export const presentationsSurfaceKind = createRuntimeKind({
|
|
8
|
+
id: PRESENTATIONS_SURFACE_KIND_ID,
|
|
9
|
+
descriptorSchema: RuntimeDescriptorSchema.extend({
|
|
10
|
+
kind: z.literal(PRESENTATIONS_SURFACE_KIND_ID)
|
|
11
|
+
})
|
|
12
|
+
});
|
|
13
|
+
export const presentationsSurfaceDescriptor = {
|
|
14
|
+
id: PRESENTATIONS_SURFACE_CAPABILITY_ID,
|
|
15
|
+
kind: PRESENTATIONS_SURFACE_KIND_ID,
|
|
16
|
+
name: 'Presentation surface',
|
|
17
|
+
description: 'User-facing surface registration, request response, lifecycle, and structured review capability',
|
|
18
|
+
enabled: true
|
|
19
|
+
};
|
|
20
|
+
const readCancellation = {
|
|
21
|
+
mode: 'cooperative',
|
|
22
|
+
defaultDeadlineMs: 5_000,
|
|
23
|
+
maxDeadlineMs: 30_000
|
|
24
|
+
};
|
|
25
|
+
const mutationCancellation = {
|
|
26
|
+
mode: 'cooperative',
|
|
27
|
+
defaultDeadlineMs: 10_000,
|
|
28
|
+
maxDeadlineMs: 30_000
|
|
29
|
+
};
|
|
30
|
+
function mutationMethod(id, requestSchema, resultSchema, maxRequestBytes) {
|
|
31
|
+
return {
|
|
32
|
+
request: {
|
|
33
|
+
id: `presentations.surface.${id}.request`,
|
|
34
|
+
version: 1,
|
|
35
|
+
schema: z.tuple([requestSchema])
|
|
36
|
+
},
|
|
37
|
+
result: {
|
|
38
|
+
id: `presentations.surface.${id}.result`,
|
|
39
|
+
version: 1,
|
|
40
|
+
schema: resultSchema
|
|
41
|
+
},
|
|
42
|
+
dataClassification: 'user',
|
|
43
|
+
rendererView: 'raw',
|
|
44
|
+
retry: { mode: 'non-idempotent', retry: 'never' },
|
|
45
|
+
cancellation: mutationCancellation,
|
|
46
|
+
maxRequestBytes,
|
|
47
|
+
maxResultBytes: 4 * 1024 * 1024
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export const presentationsSurfaceExposure = defineRemoteExposure({
|
|
51
|
+
protocolVersion: 1,
|
|
52
|
+
discoverable: true,
|
|
53
|
+
audiences: ['consumer-renderer', 'service'],
|
|
54
|
+
methods: {
|
|
55
|
+
register: mutationMethod('register', RegisterPresentationSurfaceInputSchema, PresentationSurfaceLeaseSchema, 128 * 1024),
|
|
56
|
+
renew: mutationMethod('renew', RenewPresentationSurfaceInputSchema, PresentationSurfaceLeaseSchema, 128 * 1024),
|
|
57
|
+
release: mutationMethod('release', ReleasePresentationSurfaceInputSchema, z.boolean(), 16 * 1024),
|
|
58
|
+
listRequests: {
|
|
59
|
+
request: {
|
|
60
|
+
id: 'presentations.surface.list-requests.request',
|
|
61
|
+
version: 1,
|
|
62
|
+
schema: z.tuple([ListIncomingPresentationRequestsInputSchema])
|
|
63
|
+
},
|
|
64
|
+
result: {
|
|
65
|
+
id: 'presentations.surface.list-requests.result',
|
|
66
|
+
version: 1,
|
|
67
|
+
schema: PresentationRequestSchema.array()
|
|
68
|
+
},
|
|
69
|
+
dataClassification: 'user',
|
|
70
|
+
rendererView: 'raw',
|
|
71
|
+
retry: { mode: 'read', retry: 'safe' },
|
|
72
|
+
cancellation: readCancellation,
|
|
73
|
+
maxRequestBytes: 16 * 1024,
|
|
74
|
+
maxResultBytes: 2 * 1024 * 1024
|
|
75
|
+
},
|
|
76
|
+
getRequest: {
|
|
77
|
+
request: {
|
|
78
|
+
id: 'presentations.surface.get-request.request',
|
|
79
|
+
version: 1,
|
|
80
|
+
schema: z.tuple([GetIncomingPresentationRequestInputSchema])
|
|
81
|
+
},
|
|
82
|
+
result: {
|
|
83
|
+
id: 'presentations.surface.get-request.result',
|
|
84
|
+
version: 1,
|
|
85
|
+
schema: PresentationRequestSchema.nullable()
|
|
86
|
+
},
|
|
87
|
+
dataClassification: 'user',
|
|
88
|
+
rendererView: 'raw',
|
|
89
|
+
retry: { mode: 'read', retry: 'safe' },
|
|
90
|
+
cancellation: readCancellation,
|
|
91
|
+
maxRequestBytes: 16 * 1024,
|
|
92
|
+
maxResultBytes: 128 * 1024
|
|
93
|
+
},
|
|
94
|
+
respond: mutationMethod('respond', RespondToPresentationRequestInputSchema, PresentationRequestSchema, 32 * 1024),
|
|
95
|
+
markPresenting: mutationMethod('mark-presenting', MarkPresentationStartedInputSchema, PresentationRequestSchema, 16 * 1024),
|
|
96
|
+
finish: mutationMethod('finish', FinishPresentationInputSchema, PresentationRequestSchema, 32 * 1024),
|
|
97
|
+
submitReview: mutationMethod('submit-review', SubmitPresentationReviewInputSchema, PresentationReviewSubmissionSchema, 4 * 1024 * 1024)
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
//# sourceMappingURL=presentations.surface.kind.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentations.surface.kind.js","sourceRoot":"","sources":["../../../../src/documents/presentations/capabilities/presentations.surface.kind.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,iBAAiB,EACjB,uBAAuB,EAEvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EACN,6BAA6B,EAC7B,yCAAyC,EACzC,2CAA2C,EAC3C,kCAAkC,EAClC,yBAAyB,EACzB,kCAAkC,EAClC,8BA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/C,OAAO,EAAE,CAAC;gBACV,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,yCAAyC,CAAC,CAAC;aAC5D;YACD,MAAM,EAAE;gBACP,EAAE,EAAE,0CAA0C;gBAC9C,OAAO,EAAE,CAAC;gBACV,MAAM,EAAE,yBAAyB,CAAC,QAAQ,EAAE;aAC5C;YACD,kBAAkB,EAAE,MAAM;YAC1B,YAAY,EAAE,KAAK;YACnB,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;YACtC,YAAY,EAAE,gBAAgB;YAC9B,eAAe,EAAE,EAAE,GAAG,IAAI;YAC1B,cAAc,EAAE,GAAG,GAAG,IAAI;SAC1B;QACD,OAAO,EAAE,cAAc,CACtB,SAAS,EACT,uCAAuC,EACvC,yBAAyB,EACzB,EAAE,GAAG,IAAI,CACT;QACD,cAAc,EAAE,cAAc,CAC7B,iBAAiB,EACjB,kCAAkC,EAClC,yBAAyB,EACzB,EAAE,GAAG,IAAI,CACT;QACD,MAAM,EAAE,cAAc,CACrB,QAAQ,EACR,6BAA6B,EAC7B,yBAAyB,EACzB,EAAE,GAAG,IAAI,CACT;QACD,YAAY,EAAE,cAAc,CAC3B,eAAe,EACf,mCAAmC,EACnC,kCAAkC,EAClC,CAAC,GAAG,IAAI,GAAG,IAAI,CACf;KACD;CACD,CAAC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { RuntimeClient } from '@vibesdotdev/kernel/client';
|
|
2
|
+
import type { CreatePresentationRequestInput, FinishPresentationInput, GetIncomingPresentationRequestInput, ListIncomingPresentationRequestsInput, ListPresentationRequestsInput, ListPresentationSurfacesInput, MarkPresentationStartedInput, PresentationRequest, PresentationReviewSubmission, PresentationSurfaceLease, PresentationSurfaceSummary, RegisterPresentationSurfaceInput, ReleasePresentationSurfaceInput, RenewPresentationSurfaceInput, RespondToPresentationRequestInput, SubmitPresentationReviewInput, WithdrawPresentationRequestInput } from '../schemas/index.ts';
|
|
3
|
+
export interface PresentationsClient extends RuntimeClient {
|
|
4
|
+
listSurfaces(input?: ListPresentationSurfacesInput): Promise<PresentationSurfaceSummary[]>;
|
|
5
|
+
requestPresentation(input: CreatePresentationRequestInput): Promise<PresentationRequest>;
|
|
6
|
+
getPresentationRequest(requestId: string): Promise<PresentationRequest | null>;
|
|
7
|
+
listPresentationRequests(input?: ListPresentationRequestsInput): Promise<PresentationRequest[]>;
|
|
8
|
+
withdrawPresentationRequest(input: WithdrawPresentationRequestInput): Promise<PresentationRequest>;
|
|
9
|
+
listPresentationReviews(requestId: string): Promise<PresentationReviewSubmission[]>;
|
|
10
|
+
registerSurface(input: RegisterPresentationSurfaceInput): Promise<PresentationSurfaceLease>;
|
|
11
|
+
renewSurface(input: RenewPresentationSurfaceInput): Promise<PresentationSurfaceLease>;
|
|
12
|
+
releaseSurface(input: ReleasePresentationSurfaceInput): Promise<boolean>;
|
|
13
|
+
listIncomingRequests(input: ListIncomingPresentationRequestsInput): Promise<PresentationRequest[]>;
|
|
14
|
+
getIncomingRequest(input: GetIncomingPresentationRequestInput): Promise<PresentationRequest | null>;
|
|
15
|
+
respondToRequest(input: RespondToPresentationRequestInput): Promise<PresentationRequest>;
|
|
16
|
+
markPresentationStarted(input: MarkPresentationStartedInput): Promise<PresentationRequest>;
|
|
17
|
+
finishPresentation(input: FinishPresentationInput): Promise<PresentationRequest>;
|
|
18
|
+
submitReview(input: SubmitPresentationReviewInput): Promise<PresentationReviewSubmission>;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=contracts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../../../src/documents/presentations/client/contracts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,EACX,8BAA8B,EAC9B,uBAAuB,EACvB,mCAAmC,EACnC,qCAAqC,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AG,OAAO,CAAC,mBAAmB,CAAC,CAAC;IACzF,uBAAuB,CACtB,KAAK,EAAE,4BAA4B,GACjC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAChC,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;IACjF,YAAY,CAAC,KAAK,EAAE,6BAA6B,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;CAC1F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contracts.js","sourceRoot":"","sources":["../../../../src/documents/presentations/client/contracts.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { VibesRuntime } from '@vibesdotdev/kernel';
|
|
2
|
+
import type { PresentationsClient } from './contracts.ts';
|
|
3
|
+
export type { PresentationsClient } from './contracts.ts';
|
|
4
|
+
export declare function getVibesPresentationsClient(runtime: VibesRuntime): Promise<PresentationsClient>;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/documents/presentations/client/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAE1D,YAAY,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAE1D,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAE/F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/documents/presentations/client/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAM5D,MAAM,UAAU,2BAA2B,CAAC,OAAqB;IAChE,OAAO,cAAc,CAAsB,eAAe,EAAE,OAAO,CAAC,CAAC;AACtE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentations.runtime-client.descriptor.d.ts","sourceRoot":"","sources":["../../../../src/documents/presentations/client/presentations.runtime-client.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,uBAAuB,EAC5B,MAAM,4BAA4B,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,uBAUhB,CAAC;AAEH,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { RuntimeClientDescriptorSchema } from '@vibesdotdev/kernel/client';
|
|
2
|
+
const descriptor = RuntimeClientDescriptorSchema.parse({
|
|
3
|
+
id: 'presentations',
|
|
4
|
+
kind: 'runtime/client',
|
|
5
|
+
name: 'Presentations Client',
|
|
6
|
+
description: 'Canonical client for presentation-surface discovery, negotiated handoff, and structured review',
|
|
7
|
+
enabled: true,
|
|
8
|
+
hardware: ['consumer', 'cloud'],
|
|
9
|
+
requiredContext: [],
|
|
10
|
+
optionalContext: ['user', 'surface', 'session']
|
|
11
|
+
});
|
|
12
|
+
export default descriptor;
|
|
13
|
+
//# sourceMappingURL=presentations.runtime-client.descriptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentations.runtime-client.descriptor.js","sourceRoot":"","sources":["../../../../src/documents/presentations/client/presentations.runtime-client.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,6BAA6B,EAE7B,MAAM,4BAA4B,CAAC;AAEpC,MAAM,UAAU,GAA4B,6BAA6B,CAAC,KAAK,CAAC;IAC/E,EAAE,EAAE,eAAe;IACnB,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EACV,gGAAgG;IACjG,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,CAAC,UAAU,EAAE,OAAO,CAAC;IAC/B,eAAe,EAAE,EAAE;IACnB,eAAe,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,SAAS,CAAC;CAC/C,CAAC,CAAC;AAEH,eAAe,UAAU,CAAC"}
|