@vibesdotdev/platform 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 +179 -2
- package/dist/api/cloud-response.schemas.d.ts +8 -0
- package/dist/api/cloud-response.schemas.d.ts.map +1 -0
- package/dist/api/cloud-response.schemas.js +64 -0
- package/dist/api/cloud-response.schemas.js.map +1 -0
- package/dist/api/index.d.ts +16 -0
- package/dist/api/index.d.ts.map +1 -0
- package/dist/api/index.js +15 -0
- package/dist/api/index.js.map +1 -0
- package/dist/api/platform.api-client-crossorigin.impl.d.ts +52 -0
- package/dist/api/platform.api-client-crossorigin.impl.d.ts.map +1 -0
- package/dist/api/platform.api-client-crossorigin.impl.js +55 -0
- package/dist/api/platform.api-client-crossorigin.impl.js.map +1 -0
- package/dist/api/platform.api-client.descriptor.d.ts +18 -0
- package/dist/api/platform.api-client.descriptor.d.ts.map +1 -0
- package/dist/api/platform.api-client.descriptor.js +24 -0
- package/dist/api/platform.api-client.descriptor.js.map +1 -0
- package/dist/api/platform.api-client.impl.cloud.d.ts +24 -0
- package/dist/api/platform.api-client.impl.cloud.d.ts.map +1 -0
- package/dist/api/platform.api-client.impl.cloud.js +36 -0
- package/dist/api/platform.api-client.impl.cloud.js.map +1 -0
- package/dist/api/platform.api-client.impl.consumer.browser.d.ts +13 -0
- package/dist/api/platform.api-client.impl.consumer.browser.d.ts.map +1 -0
- package/dist/api/platform.api-client.impl.consumer.browser.js +13 -0
- package/dist/api/platform.api-client.impl.consumer.browser.js.map +1 -0
- package/dist/api/platform.api-client.impl.d.ts +71 -0
- package/dist/api/platform.api-client.impl.d.ts.map +1 -0
- package/dist/api/platform.api-client.impl.js +247 -0
- package/dist/api/platform.api-client.impl.js.map +1 -0
- package/dist/api/platform.api-client.types.d.ts +225 -0
- package/dist/api/platform.api-client.types.d.ts.map +1 -0
- package/dist/api/platform.api-client.types.js +63 -0
- package/dist/api/platform.api-client.types.js.map +1 -0
- package/dist/api-client.plugin.d.ts +8 -0
- package/dist/api-client.plugin.d.ts.map +1 -0
- package/dist/api-client.plugin.js +20 -0
- package/dist/api-client.plugin.js.map +1 -0
- package/dist/banners/banner.storage.descriptor.d.ts +13 -0
- package/dist/banners/banner.storage.descriptor.d.ts.map +1 -0
- package/dist/banners/banner.storage.descriptor.js +37 -0
- package/dist/banners/banner.storage.descriptor.js.map +1 -0
- package/dist/banners/schemas/banner.d.ts +222 -0
- package/dist/banners/schemas/banner.d.ts.map +1 -0
- package/dist/banners/schemas/banner.js +117 -0
- package/dist/banners/schemas/banner.js.map +1 -0
- package/dist/cli/commands/caller-session.d.ts +10 -0
- package/dist/cli/commands/caller-session.d.ts.map +1 -0
- package/dist/cli/commands/caller-session.js +19 -0
- package/dist/cli/commands/caller-session.js.map +1 -0
- package/dist/cli/commands/daemons/platform.daemons.cli-group.descriptor.d.ts +9 -0
- package/dist/cli/commands/daemons/platform.daemons.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/daemons/platform.daemons.cli-group.descriptor.js +17 -0
- package/dist/cli/commands/daemons/platform.daemons.cli-group.descriptor.js.map +1 -0
- package/dist/cli/commands/daemons/platform.daemons.get.cli-command.descriptor.d.ts +9 -0
- package/dist/cli/commands/daemons/platform.daemons.get.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/daemons/platform.daemons.get.cli-command.descriptor.js +19 -0
- package/dist/cli/commands/daemons/platform.daemons.get.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/daemons/platform.daemons.get.cli-command.impl.d.ts +14 -0
- package/dist/cli/commands/daemons/platform.daemons.get.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/daemons/platform.daemons.get.cli-command.impl.js +43 -0
- package/dist/cli/commands/daemons/platform.daemons.get.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/daemons/platform.daemons.list.cli-command.descriptor.d.ts +9 -0
- package/dist/cli/commands/daemons/platform.daemons.list.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/daemons/platform.daemons.list.cli-command.descriptor.js +28 -0
- package/dist/cli/commands/daemons/platform.daemons.list.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/daemons/platform.daemons.list.cli-command.impl.d.ts +15 -0
- package/dist/cli/commands/daemons/platform.daemons.list.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/daemons/platform.daemons.list.cli-command.impl.js +27 -0
- package/dist/cli/commands/daemons/platform.daemons.list.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/daemons/platform.daemons.register.cli-command.descriptor.d.ts +9 -0
- package/dist/cli/commands/daemons/platform.daemons.register.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/daemons/platform.daemons.register.cli-command.descriptor.js +32 -0
- package/dist/cli/commands/daemons/platform.daemons.register.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/daemons/platform.daemons.register.cli-command.impl.d.ts +9 -0
- package/dist/cli/commands/daemons/platform.daemons.register.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/daemons/platform.daemons.register.cli-command.impl.js +47 -0
- package/dist/cli/commands/daemons/platform.daemons.register.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/daemons/platform.daemons.retire.cli-command.descriptor.d.ts +9 -0
- package/dist/cli/commands/daemons/platform.daemons.retire.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/daemons/platform.daemons.retire.cli-command.descriptor.js +21 -0
- package/dist/cli/commands/daemons/platform.daemons.retire.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/daemons/platform.daemons.retire.cli-command.impl.d.ts +14 -0
- package/dist/cli/commands/daemons/platform.daemons.retire.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/daemons/platform.daemons.retire.cli-command.impl.js +21 -0
- package/dist/cli/commands/daemons/platform.daemons.retire.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/daemons/schemas.d.ts +2 -0
- package/dist/cli/commands/daemons/schemas.d.ts.map +1 -0
- package/dist/cli/commands/daemons/schemas.js +2 -0
- package/dist/cli/commands/daemons/schemas.js.map +1 -0
- package/dist/cli/commands/deployments.command.descriptor.d.ts +38 -0
- package/dist/cli/commands/deployments.command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/deployments.command.descriptor.js +42 -0
- package/dist/cli/commands/deployments.command.descriptor.js.map +1 -0
- package/dist/cli/commands/deployments.command.impl.d.ts +15 -0
- package/dist/cli/commands/deployments.command.impl.d.ts.map +1 -0
- package/dist/cli/commands/deployments.command.impl.js +116 -0
- package/dist/cli/commands/deployments.command.impl.js.map +1 -0
- package/dist/cli/commands/hostnames/create/resources.networking.hostnames.create.cli-command.descriptor.d.ts +4 -0
- package/dist/cli/commands/hostnames/create/resources.networking.hostnames.create.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/hostnames/create/resources.networking.hostnames.create.cli-command.descriptor.js +20 -0
- package/dist/cli/commands/hostnames/create/resources.networking.hostnames.create.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/hostnames/create/resources.networking.hostnames.create.cli-command.impl.d.ts +12 -0
- package/dist/cli/commands/hostnames/create/resources.networking.hostnames.create.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/hostnames/create/resources.networking.hostnames.create.cli-command.impl.js +54 -0
- package/dist/cli/commands/hostnames/create/resources.networking.hostnames.create.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/hostnames/delete/resources.networking.hostnames.delete.cli-command.descriptor.d.ts +4 -0
- package/dist/cli/commands/hostnames/delete/resources.networking.hostnames.delete.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/hostnames/delete/resources.networking.hostnames.delete.cli-command.descriptor.js +18 -0
- package/dist/cli/commands/hostnames/delete/resources.networking.hostnames.delete.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/hostnames/delete/resources.networking.hostnames.delete.cli-command.impl.d.ts +12 -0
- package/dist/cli/commands/hostnames/delete/resources.networking.hostnames.delete.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/hostnames/delete/resources.networking.hostnames.delete.cli-command.impl.js +44 -0
- package/dist/cli/commands/hostnames/delete/resources.networking.hostnames.delete.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/hostnames/list/resources.networking.hostnames.list.cli-command.descriptor.d.ts +4 -0
- package/dist/cli/commands/hostnames/list/resources.networking.hostnames.list.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/hostnames/list/resources.networking.hostnames.list.cli-command.descriptor.js +20 -0
- package/dist/cli/commands/hostnames/list/resources.networking.hostnames.list.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/hostnames/list/resources.networking.hostnames.list.cli-command.impl.d.ts +16 -0
- package/dist/cli/commands/hostnames/list/resources.networking.hostnames.list.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/hostnames/list/resources.networking.hostnames.list.cli-command.impl.js +61 -0
- package/dist/cli/commands/hostnames/list/resources.networking.hostnames.list.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/hostnames/map/resources.networking.hostnames.map.cli-command.descriptor.d.ts +4 -0
- package/dist/cli/commands/hostnames/map/resources.networking.hostnames.map.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/hostnames/map/resources.networking.hostnames.map.cli-command.descriptor.js +23 -0
- package/dist/cli/commands/hostnames/map/resources.networking.hostnames.map.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/hostnames/map/resources.networking.hostnames.map.cli-command.impl.d.ts +12 -0
- package/dist/cli/commands/hostnames/map/resources.networking.hostnames.map.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/hostnames/map/resources.networking.hostnames.map.cli-command.impl.js +48 -0
- package/dist/cli/commands/hostnames/map/resources.networking.hostnames.map.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/hostnames/platform-api-failure.d.ts +8 -0
- package/dist/cli/commands/hostnames/platform-api-failure.d.ts.map +1 -0
- package/dist/cli/commands/hostnames/platform-api-failure.js +49 -0
- package/dist/cli/commands/hostnames/platform-api-failure.js.map +1 -0
- package/dist/cli/commands/hostnames/resources.networking.hostnames.cli-group.descriptor.d.ts +4 -0
- package/dist/cli/commands/hostnames/resources.networking.hostnames.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/hostnames/resources.networking.hostnames.cli-group.descriptor.js +12 -0
- package/dist/cli/commands/hostnames/resources.networking.hostnames.cli-group.descriptor.js.map +1 -0
- package/dist/cli/commands/hostnames/schemas.d.ts +2 -0
- package/dist/cli/commands/hostnames/schemas.d.ts.map +1 -0
- package/dist/cli/commands/hostnames/schemas.js +2 -0
- package/dist/cli/commands/hostnames/schemas.js.map +1 -0
- package/dist/cli/commands/hostnames/status/resources.networking.hostnames.status.cli-command.descriptor.d.ts +4 -0
- package/dist/cli/commands/hostnames/status/resources.networking.hostnames.status.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/hostnames/status/resources.networking.hostnames.status.cli-command.descriptor.js +18 -0
- package/dist/cli/commands/hostnames/status/resources.networking.hostnames.status.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/hostnames/status/resources.networking.hostnames.status.cli-command.impl.d.ts +12 -0
- package/dist/cli/commands/hostnames/status/resources.networking.hostnames.status.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/hostnames/status/resources.networking.hostnames.status.cli-command.impl.js +73 -0
- package/dist/cli/commands/hostnames/status/resources.networking.hostnames.status.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/hostnames/verify/resources.networking.hostnames.verify.cli-command.descriptor.d.ts +4 -0
- package/dist/cli/commands/hostnames/verify/resources.networking.hostnames.verify.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/hostnames/verify/resources.networking.hostnames.verify.cli-command.descriptor.js +17 -0
- package/dist/cli/commands/hostnames/verify/resources.networking.hostnames.verify.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/hostnames/verify/resources.networking.hostnames.verify.cli-command.impl.d.ts +12 -0
- package/dist/cli/commands/hostnames/verify/resources.networking.hostnames.verify.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/hostnames/verify/resources.networking.hostnames.verify.cli-command.impl.js +53 -0
- package/dist/cli/commands/hostnames/verify/resources.networking.hostnames.verify.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/hosts/infra.hosts.cli-group.descriptor.d.ts +12 -0
- package/dist/cli/commands/hosts/infra.hosts.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/hosts/infra.hosts.cli-group.descriptor.js +25 -0
- package/dist/cli/commands/hosts/infra.hosts.cli-group.descriptor.js.map +1 -0
- package/dist/cli/commands/hosts/infra.hosts.get.cli-command.descriptor.d.ts +4 -0
- package/dist/cli/commands/hosts/infra.hosts.get.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/hosts/infra.hosts.get.cli-command.descriptor.js +8 -0
- package/dist/cli/commands/hosts/infra.hosts.get.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/hosts/infra.hosts.list.cli-command.descriptor.d.ts +4 -0
- package/dist/cli/commands/hosts/infra.hosts.list.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/hosts/infra.hosts.list.cli-command.descriptor.js +9 -0
- package/dist/cli/commands/hosts/infra.hosts.list.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/hosts/infra.hosts.provision.cli-command.descriptor.d.ts +4 -0
- package/dist/cli/commands/hosts/infra.hosts.provision.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/hosts/infra.hosts.provision.cli-command.descriptor.js +8 -0
- package/dist/cli/commands/hosts/infra.hosts.provision.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/hosts/infra.hosts.register.cli-command.descriptor.d.ts +4 -0
- package/dist/cli/commands/hosts/infra.hosts.register.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/hosts/infra.hosts.register.cli-command.descriptor.js +10 -0
- package/dist/cli/commands/hosts/infra.hosts.register.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/hosts/infra.hosts.retire.cli-command.descriptor.d.ts +4 -0
- package/dist/cli/commands/hosts/infra.hosts.retire.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/hosts/infra.hosts.retire.cli-command.descriptor.js +8 -0
- package/dist/cli/commands/hosts/infra.hosts.retire.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.agent.cli-command.descriptor.d.ts +10 -0
- package/dist/cli/commands/hosts/platform.hosts.agent.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.agent.cli-command.descriptor.js +38 -0
- package/dist/cli/commands/hosts/platform.hosts.agent.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.agent.cli-command.impl.d.ts +22 -0
- package/dist/cli/commands/hosts/platform.hosts.agent.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.agent.cli-command.impl.js +159 -0
- package/dist/cli/commands/hosts/platform.hosts.agent.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.cli-group.descriptor.d.ts +9 -0
- package/dist/cli/commands/hosts/platform.hosts.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.cli-group.descriptor.js +17 -0
- package/dist/cli/commands/hosts/platform.hosts.cli-group.descriptor.js.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.get.cli-command.descriptor.d.ts +9 -0
- package/dist/cli/commands/hosts/platform.hosts.get.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.get.cli-command.descriptor.js +19 -0
- package/dist/cli/commands/hosts/platform.hosts.get.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.get.cli-command.impl.d.ts +14 -0
- package/dist/cli/commands/hosts/platform.hosts.get.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.get.cli-command.impl.js +45 -0
- package/dist/cli/commands/hosts/platform.hosts.get.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.list.cli-command.descriptor.d.ts +9 -0
- package/dist/cli/commands/hosts/platform.hosts.list.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.list.cli-command.descriptor.js +29 -0
- package/dist/cli/commands/hosts/platform.hosts.list.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.list.cli-command.impl.d.ts +15 -0
- package/dist/cli/commands/hosts/platform.hosts.list.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.list.cli-command.impl.js +31 -0
- package/dist/cli/commands/hosts/platform.hosts.list.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.provision.cli-command.descriptor.d.ts +9 -0
- package/dist/cli/commands/hosts/platform.hosts.provision.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.provision.cli-command.descriptor.js +58 -0
- package/dist/cli/commands/hosts/platform.hosts.provision.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.provision.cli-command.impl.d.ts +108 -0
- package/dist/cli/commands/hosts/platform.hosts.provision.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.provision.cli-command.impl.js +34 -0
- package/dist/cli/commands/hosts/platform.hosts.provision.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.queue-action.cli-command.descriptor.d.ts +7 -0
- package/dist/cli/commands/hosts/platform.hosts.queue-action.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.queue-action.cli-command.descriptor.js +17 -0
- package/dist/cli/commands/hosts/platform.hosts.queue-action.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.queue-action.cli-command.impl.d.ts +8 -0
- package/dist/cli/commands/hosts/platform.hosts.queue-action.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.queue-action.cli-command.impl.js +35 -0
- package/dist/cli/commands/hosts/platform.hosts.queue-action.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.register.cli-command.descriptor.d.ts +10 -0
- package/dist/cli/commands/hosts/platform.hosts.register.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.register.cli-command.descriptor.js +33 -0
- package/dist/cli/commands/hosts/platform.hosts.register.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.register.cli-command.impl.d.ts +14 -0
- package/dist/cli/commands/hosts/platform.hosts.register.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.register.cli-command.impl.js +62 -0
- package/dist/cli/commands/hosts/platform.hosts.register.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.retire.cli-command.descriptor.d.ts +9 -0
- package/dist/cli/commands/hosts/platform.hosts.retire.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.retire.cli-command.descriptor.js +21 -0
- package/dist/cli/commands/hosts/platform.hosts.retire.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.retire.cli-command.impl.d.ts +15 -0
- package/dist/cli/commands/hosts/platform.hosts.retire.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/hosts/platform.hosts.retire.cli-command.impl.js +27 -0
- package/dist/cli/commands/hosts/platform.hosts.retire.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/hosts/schemas.d.ts +2 -0
- package/dist/cli/commands/hosts/schemas.d.ts.map +1 -0
- package/dist/cli/commands/hosts/schemas.js +2 -0
- package/dist/cli/commands/hosts/schemas.js.map +1 -0
- package/dist/cli/commands/platform-api-failure.d.ts +8 -0
- package/dist/cli/commands/platform-api-failure.d.ts.map +1 -0
- package/dist/cli/commands/platform-api-failure.js +46 -0
- package/dist/cli/commands/platform-api-failure.js.map +1 -0
- package/dist/cli/commands/platform.status.command.descriptor.d.ts +26 -0
- package/dist/cli/commands/platform.status.command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/platform.status.command.descriptor.js +33 -0
- package/dist/cli/commands/platform.status.command.descriptor.js.map +1 -0
- package/dist/cli/commands/platform.status.command.impl.d.ts +7 -0
- package/dist/cli/commands/platform.status.command.impl.d.ts.map +1 -0
- package/dist/cli/commands/platform.status.command.impl.js +130 -0
- package/dist/cli/commands/platform.status.command.impl.js.map +1 -0
- package/dist/cli/commands/processes/platform.processes.cli-group.descriptor.d.ts +9 -0
- package/dist/cli/commands/processes/platform.processes.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/processes/platform.processes.cli-group.descriptor.js +17 -0
- package/dist/cli/commands/processes/platform.processes.cli-group.descriptor.js.map +1 -0
- package/dist/cli/commands/processes/platform.processes.get.cli-command.descriptor.d.ts +9 -0
- package/dist/cli/commands/processes/platform.processes.get.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/processes/platform.processes.get.cli-command.descriptor.js +19 -0
- package/dist/cli/commands/processes/platform.processes.get.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/processes/platform.processes.get.cli-command.impl.d.ts +14 -0
- package/dist/cli/commands/processes/platform.processes.get.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/processes/platform.processes.get.cli-command.impl.js +59 -0
- package/dist/cli/commands/processes/platform.processes.get.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/processes/platform.processes.list.cli-command.descriptor.d.ts +9 -0
- package/dist/cli/commands/processes/platform.processes.list.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/processes/platform.processes.list.cli-command.descriptor.js +29 -0
- package/dist/cli/commands/processes/platform.processes.list.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/processes/platform.processes.list.cli-command.impl.d.ts +15 -0
- package/dist/cli/commands/processes/platform.processes.list.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/processes/platform.processes.list.cli-command.impl.js +34 -0
- package/dist/cli/commands/processes/platform.processes.list.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/processes/platform.processes.stop.cli-command.descriptor.d.ts +9 -0
- package/dist/cli/commands/processes/platform.processes.stop.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/processes/platform.processes.stop.cli-command.descriptor.js +21 -0
- package/dist/cli/commands/processes/platform.processes.stop.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/processes/platform.processes.stop.cli-command.impl.d.ts +15 -0
- package/dist/cli/commands/processes/platform.processes.stop.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/processes/platform.processes.stop.cli-command.impl.js +27 -0
- package/dist/cli/commands/processes/platform.processes.stop.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/processes/schemas.d.ts +2 -0
- package/dist/cli/commands/processes/schemas.d.ts.map +1 -0
- package/dist/cli/commands/processes/schemas.js +2 -0
- package/dist/cli/commands/processes/schemas.js.map +1 -0
- package/dist/cli/commands/resources/resources.cli-group.descriptor.d.ts +4 -0
- package/dist/cli/commands/resources/resources.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/resources/resources.cli-group.descriptor.js +11 -0
- package/dist/cli/commands/resources/resources.cli-group.descriptor.js.map +1 -0
- package/dist/cli/commands/resources/resources.networking.cli-group.descriptor.d.ts +4 -0
- package/dist/cli/commands/resources/resources.networking.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/resources/resources.networking.cli-group.descriptor.js +12 -0
- package/dist/cli/commands/resources/resources.networking.cli-group.descriptor.js.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.cli-group.descriptor.d.ts +9 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.cli-group.descriptor.js +17 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.cli-group.descriptor.js.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.create.cli-command.descriptor.d.ts +9 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.create.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.create.cli-command.descriptor.js +82 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.create.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.create.cli-command.impl.d.ts +15 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.create.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.create.cli-command.impl.js +90 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.create.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.delete.cli-command.descriptor.d.ts +9 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.delete.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.delete.cli-command.descriptor.js +19 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.delete.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.delete.cli-command.impl.d.ts +13 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.delete.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.delete.cli-command.impl.js +37 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.delete.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.get.cli-command.descriptor.d.ts +9 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.get.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.get.cli-command.descriptor.js +19 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.get.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.get.cli-command.impl.d.ts +14 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.get.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.get.cli-command.impl.js +42 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.get.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.list.cli-command.descriptor.d.ts +9 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.list.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.list.cli-command.descriptor.js +33 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.list.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.list.cli-command.impl.d.ts +15 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.list.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.list.cli-command.impl.js +57 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.list.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.trigger.cli-command.descriptor.d.ts +9 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.trigger.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.trigger.cli-command.descriptor.js +19 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.trigger.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.trigger.cli-command.impl.d.ts +14 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.trigger.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.trigger.cli-command.impl.js +40 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.trigger.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.update.cli-command.descriptor.d.ts +9 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.update.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.update.cli-command.descriptor.js +76 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.update.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.update.cli-command.impl.d.ts +14 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.update.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.update.cli-command.impl.js +101 -0
- package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.update.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/scheduled-tasks/schemas.d.ts +2 -0
- package/dist/cli/commands/scheduled-tasks/schemas.d.ts.map +1 -0
- package/dist/cli/commands/scheduled-tasks/schemas.js +2 -0
- package/dist/cli/commands/scheduled-tasks/schemas.js.map +1 -0
- package/dist/cli/commands/services.command.descriptor.d.ts +30 -0
- package/dist/cli/commands/services.command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/services.command.descriptor.js +36 -0
- package/dist/cli/commands/services.command.descriptor.js.map +1 -0
- package/dist/cli/commands/services.command.impl.d.ts +7 -0
- package/dist/cli/commands/services.command.impl.d.ts.map +1 -0
- package/dist/cli/commands/services.command.impl.js +141 -0
- package/dist/cli/commands/services.command.impl.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.actions.command.descriptor.d.ts +13 -0
- package/dist/cli/fleets/commands/fleet.actions.command.descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.actions.command.descriptor.js +33 -0
- package/dist/cli/fleets/commands/fleet.actions.command.descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.actions.command.impl.d.ts +14 -0
- package/dist/cli/fleets/commands/fleet.actions.command.impl.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.actions.command.impl.js +45 -0
- package/dist/cli/fleets/commands/fleet.actions.command.impl.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.build.command.descriptor.d.ts +9 -0
- package/dist/cli/fleets/commands/fleet.build.command.descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.build.command.descriptor.js +46 -0
- package/dist/cli/fleets/commands/fleet.build.command.descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.build.command.impl.d.ts +57 -0
- package/dist/cli/fleets/commands/fleet.build.command.impl.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.build.command.impl.js +165 -0
- package/dist/cli/fleets/commands/fleet.build.command.impl.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.daemon.command.descriptor.d.ts +23 -0
- package/dist/cli/fleets/commands/fleet.daemon.command.descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.daemon.command.descriptor.js +104 -0
- package/dist/cli/fleets/commands/fleet.daemon.command.descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.daemon.command.impl.d.ts +65 -0
- package/dist/cli/fleets/commands/fleet.daemon.command.impl.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.daemon.command.impl.js +559 -0
- package/dist/cli/fleets/commands/fleet.daemon.command.impl.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.daemon.install.command.descriptor.d.ts +10 -0
- package/dist/cli/fleets/commands/fleet.daemon.install.command.descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.daemon.install.command.descriptor.js +70 -0
- package/dist/cli/fleets/commands/fleet.daemon.install.command.descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.daemon.install.command.impl.d.ts +115 -0
- package/dist/cli/fleets/commands/fleet.daemon.install.command.impl.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.daemon.install.command.impl.js +211 -0
- package/dist/cli/fleets/commands/fleet.daemon.install.command.impl.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.daemon.service-descriptor.d.ts +66 -0
- package/dist/cli/fleets/commands/fleet.daemon.service-descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.daemon.service-descriptor.js +77 -0
- package/dist/cli/fleets/commands/fleet.daemon.service-descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.daemon.token-env.d.ts +86 -0
- package/dist/cli/fleets/commands/fleet.daemon.token-env.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.daemon.token-env.js +106 -0
- package/dist/cli/fleets/commands/fleet.daemon.token-env.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.daemon.uninstall.command.descriptor.d.ts +7 -0
- package/dist/cli/fleets/commands/fleet.daemon.uninstall.command.descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.daemon.uninstall.command.descriptor.js +26 -0
- package/dist/cli/fleets/commands/fleet.daemon.uninstall.command.descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.daemon.uninstall.command.impl.d.ts +6 -0
- package/dist/cli/fleets/commands/fleet.daemon.uninstall.command.impl.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.daemon.uninstall.command.impl.js +30 -0
- package/dist/cli/fleets/commands/fleet.daemon.uninstall.command.impl.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.destroy.command.descriptor.d.ts +7 -0
- package/dist/cli/fleets/commands/fleet.destroy.command.descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.destroy.command.descriptor.js +17 -0
- package/dist/cli/fleets/commands/fleet.destroy.command.descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.destroy.command.impl.d.ts +41 -0
- package/dist/cli/fleets/commands/fleet.destroy.command.impl.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.destroy.command.impl.js +89 -0
- package/dist/cli/fleets/commands/fleet.destroy.command.impl.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.enroll-token.cli-group.descriptor.d.ts +7 -0
- package/dist/cli/fleets/commands/fleet.enroll-token.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.enroll-token.cli-group.descriptor.js +15 -0
- package/dist/cli/fleets/commands/fleet.enroll-token.cli-group.descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.enroll-token.create.command.descriptor.d.ts +8 -0
- package/dist/cli/fleets/commands/fleet.enroll-token.create.command.descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.enroll-token.create.command.descriptor.js +51 -0
- package/dist/cli/fleets/commands/fleet.enroll-token.create.command.descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.enroll-token.create.command.impl.d.ts +22 -0
- package/dist/cli/fleets/commands/fleet.enroll-token.create.command.impl.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.enroll-token.create.command.impl.js +171 -0
- package/dist/cli/fleets/commands/fleet.enroll-token.create.command.impl.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.launch.command.descriptor.d.ts +7 -0
- package/dist/cli/fleets/commands/fleet.launch.command.descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.launch.command.descriptor.js +112 -0
- package/dist/cli/fleets/commands/fleet.launch.command.descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.launch.command.impl.d.ts +51 -0
- package/dist/cli/fleets/commands/fleet.launch.command.impl.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.launch.command.impl.js +225 -0
- package/dist/cli/fleets/commands/fleet.launch.command.impl.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.ls.command.descriptor.d.ts +10 -0
- package/dist/cli/fleets/commands/fleet.ls.command.descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.ls.command.descriptor.js +30 -0
- package/dist/cli/fleets/commands/fleet.ls.command.descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.ls.command.impl.d.ts +13 -0
- package/dist/cli/fleets/commands/fleet.ls.command.impl.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.ls.command.impl.js +56 -0
- package/dist/cli/fleets/commands/fleet.ls.command.impl.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.marshal-presence.cli-group.descriptor.d.ts +4 -0
- package/dist/cli/fleets/commands/fleet.marshal-presence.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.marshal-presence.cli-group.descriptor.js +12 -0
- package/dist/cli/fleets/commands/fleet.marshal-presence.cli-group.descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.marshal-presence.install.command.descriptor.d.ts +4 -0
- package/dist/cli/fleets/commands/fleet.marshal-presence.install.command.descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.marshal-presence.install.command.descriptor.js +20 -0
- package/dist/cli/fleets/commands/fleet.marshal-presence.install.command.descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.marshal-presence.install.command.impl.d.ts +8 -0
- package/dist/cli/fleets/commands/fleet.marshal-presence.install.command.impl.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.marshal-presence.install.command.impl.js +55 -0
- package/dist/cli/fleets/commands/fleet.marshal-presence.install.command.impl.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.marshal-presence.service-descriptor.d.ts +20 -0
- package/dist/cli/fleets/commands/fleet.marshal-presence.service-descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.marshal-presence.service-descriptor.js +62 -0
- package/dist/cli/fleets/commands/fleet.marshal-presence.service-descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.marshal-presence.uninstall.command.descriptor.d.ts +4 -0
- package/dist/cli/fleets/commands/fleet.marshal-presence.uninstall.command.descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.marshal-presence.uninstall.command.descriptor.js +14 -0
- package/dist/cli/fleets/commands/fleet.marshal-presence.uninstall.command.descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.marshal-presence.uninstall.command.impl.d.ts +7 -0
- package/dist/cli/fleets/commands/fleet.marshal-presence.uninstall.command.impl.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.marshal-presence.uninstall.command.impl.js +24 -0
- package/dist/cli/fleets/commands/fleet.marshal-presence.uninstall.command.impl.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.materialize.command.descriptor.d.ts +4 -0
- package/dist/cli/fleets/commands/fleet.materialize.command.descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.materialize.command.descriptor.js +35 -0
- package/dist/cli/fleets/commands/fleet.materialize.command.descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.materialize.command.impl.d.ts +7 -0
- package/dist/cli/fleets/commands/fleet.materialize.command.impl.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.materialize.command.impl.js +125 -0
- package/dist/cli/fleets/commands/fleet.materialize.command.impl.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.pause.command.descriptor.d.ts +7 -0
- package/dist/cli/fleets/commands/fleet.pause.command.descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.pause.command.descriptor.js +17 -0
- package/dist/cli/fleets/commands/fleet.pause.command.descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.pause.command.impl.d.ts +55 -0
- package/dist/cli/fleets/commands/fleet.pause.command.impl.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.pause.command.impl.js +105 -0
- package/dist/cli/fleets/commands/fleet.pause.command.impl.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.policy.command.descriptor.d.ts +14 -0
- package/dist/cli/fleets/commands/fleet.policy.command.descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.policy.command.descriptor.js +39 -0
- package/dist/cli/fleets/commands/fleet.policy.command.descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.policy.command.impl.d.ts +21 -0
- package/dist/cli/fleets/commands/fleet.policy.command.impl.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.policy.command.impl.js +48 -0
- package/dist/cli/fleets/commands/fleet.policy.command.impl.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.resume.command.descriptor.d.ts +7 -0
- package/dist/cli/fleets/commands/fleet.resume.command.descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.resume.command.descriptor.js +17 -0
- package/dist/cli/fleets/commands/fleet.resume.command.descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.resume.command.impl.d.ts +5 -0
- package/dist/cli/fleets/commands/fleet.resume.command.impl.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.resume.command.impl.js +4 -0
- package/dist/cli/fleets/commands/fleet.resume.command.impl.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.schemas.d.ts +160 -0
- package/dist/cli/fleets/commands/fleet.schemas.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.schemas.js +274 -0
- package/dist/cli/fleets/commands/fleet.schemas.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.status.command.descriptor.d.ts +7 -0
- package/dist/cli/fleets/commands/fleet.status.command.descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.status.command.descriptor.js +22 -0
- package/dist/cli/fleets/commands/fleet.status.command.descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/fleet.status.command.impl.d.ts +27 -0
- package/dist/cli/fleets/commands/fleet.status.command.impl.d.ts.map +1 -0
- package/dist/cli/fleets/commands/fleet.status.command.impl.js +109 -0
- package/dist/cli/fleets/commands/fleet.status.command.impl.js.map +1 -0
- package/dist/cli/fleets/commands/workspace/workspace-config-loader.d.ts +39 -0
- package/dist/cli/fleets/commands/workspace/workspace-config-loader.d.ts.map +1 -0
- package/dist/cli/fleets/commands/workspace/workspace-config-loader.js +221 -0
- package/dist/cli/fleets/commands/workspace/workspace-config-loader.js.map +1 -0
- package/dist/cli/fleets/commands/workspace/workspace.create.command.descriptor.d.ts +8 -0
- package/dist/cli/fleets/commands/workspace/workspace.create.command.descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/workspace/workspace.create.command.descriptor.js +79 -0
- package/dist/cli/fleets/commands/workspace/workspace.create.command.descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/workspace/workspace.create.command.impl.d.ts +6 -0
- package/dist/cli/fleets/commands/workspace/workspace.create.command.impl.d.ts.map +1 -0
- package/dist/cli/fleets/commands/workspace/workspace.create.command.impl.js +104 -0
- package/dist/cli/fleets/commands/workspace/workspace.create.command.impl.js.map +1 -0
- package/dist/cli/fleets/commands/workspace/workspace.destroy.command.descriptor.d.ts +8 -0
- package/dist/cli/fleets/commands/workspace/workspace.destroy.command.descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/workspace/workspace.destroy.command.descriptor.js +35 -0
- package/dist/cli/fleets/commands/workspace/workspace.destroy.command.descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/workspace/workspace.destroy.command.impl.d.ts +13 -0
- package/dist/cli/fleets/commands/workspace/workspace.destroy.command.impl.d.ts.map +1 -0
- package/dist/cli/fleets/commands/workspace/workspace.destroy.command.impl.js +32 -0
- package/dist/cli/fleets/commands/workspace/workspace.destroy.command.impl.js.map +1 -0
- package/dist/cli/fleets/commands/workspace/workspace.group.descriptor.d.ts +7 -0
- package/dist/cli/fleets/commands/workspace/workspace.group.descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/workspace/workspace.group.descriptor.js +14 -0
- package/dist/cli/fleets/commands/workspace/workspace.group.descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/workspace/workspace.list.command.descriptor.d.ts +8 -0
- package/dist/cli/fleets/commands/workspace/workspace.list.command.descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/workspace/workspace.list.command.descriptor.js +36 -0
- package/dist/cli/fleets/commands/workspace/workspace.list.command.descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/workspace/workspace.list.command.impl.d.ts +9 -0
- package/dist/cli/fleets/commands/workspace/workspace.list.command.impl.d.ts.map +1 -0
- package/dist/cli/fleets/commands/workspace/workspace.list.command.impl.js +49 -0
- package/dist/cli/fleets/commands/workspace/workspace.list.command.impl.js.map +1 -0
- package/dist/cli/fleets/commands/workspace/workspace.status.command.descriptor.d.ts +7 -0
- package/dist/cli/fleets/commands/workspace/workspace.status.command.descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/commands/workspace/workspace.status.command.descriptor.js +29 -0
- package/dist/cli/fleets/commands/workspace/workspace.status.command.descriptor.js.map +1 -0
- package/dist/cli/fleets/commands/workspace/workspace.status.command.impl.d.ts +9 -0
- package/dist/cli/fleets/commands/workspace/workspace.status.command.impl.d.ts.map +1 -0
- package/dist/cli/fleets/commands/workspace/workspace.status.command.impl.js +36 -0
- package/dist/cli/fleets/commands/workspace/workspace.status.command.impl.js.map +1 -0
- package/dist/cli/fleets/fleet-group.descriptor.d.ts +7 -0
- package/dist/cli/fleets/fleet-group.descriptor.d.ts.map +1 -0
- package/dist/cli/fleets/fleet-group.descriptor.js +14 -0
- package/dist/cli/fleets/fleet-group.descriptor.js.map +1 -0
- package/dist/cli/fleets/index.d.ts +27 -0
- package/dist/cli/fleets/index.d.ts.map +1 -0
- package/dist/cli/fleets/index.js +28 -0
- package/dist/cli/fleets/index.js.map +1 -0
- package/dist/cli/fleets/lib/action-policy.d.ts +23 -0
- package/dist/cli/fleets/lib/action-policy.d.ts.map +1 -0
- package/dist/cli/fleets/lib/action-policy.js +57 -0
- package/dist/cli/fleets/lib/action-policy.js.map +1 -0
- package/dist/cli/fleets/lib/authed-platform.d.ts +16 -0
- package/dist/cli/fleets/lib/authed-platform.d.ts.map +1 -0
- package/dist/cli/fleets/lib/authed-platform.js +47 -0
- package/dist/cli/fleets/lib/authed-platform.js.map +1 -0
- package/dist/cli/fleets/lib/daemon-credentials-store.d.ts +59 -0
- package/dist/cli/fleets/lib/daemon-credentials-store.d.ts.map +1 -0
- package/dist/cli/fleets/lib/daemon-credentials-store.js +159 -0
- package/dist/cli/fleets/lib/daemon-credentials-store.js.map +1 -0
- package/dist/cli/fleets/lib/daemon-policy.d.ts +38 -0
- package/dist/cli/fleets/lib/daemon-policy.d.ts.map +1 -0
- package/dist/cli/fleets/lib/daemon-policy.js +74 -0
- package/dist/cli/fleets/lib/daemon-policy.js.map +1 -0
- package/dist/cli/fleets/lib/host-ref.d.ts +17 -0
- package/dist/cli/fleets/lib/host-ref.d.ts.map +1 -0
- package/dist/cli/fleets/lib/host-ref.js +18 -0
- package/dist/cli/fleets/lib/host-ref.js.map +1 -0
- package/dist/cli/fleets/lib/host-token-store.d.ts +31 -0
- package/dist/cli/fleets/lib/host-token-store.d.ts.map +1 -0
- package/dist/cli/fleets/lib/host-token-store.js +109 -0
- package/dist/cli/fleets/lib/host-token-store.js.map +1 -0
- package/dist/cli/fleets/lib/origins.d.ts +16 -0
- package/dist/cli/fleets/lib/origins.d.ts.map +1 -0
- package/dist/cli/fleets/lib/origins.js +24 -0
- package/dist/cli/fleets/lib/origins.js.map +1 -0
- package/dist/cli/fleets/lib/registry-lease.d.ts +24 -0
- package/dist/cli/fleets/lib/registry-lease.d.ts.map +1 -0
- package/dist/cli/fleets/lib/registry-lease.js +31 -0
- package/dist/cli/fleets/lib/registry-lease.js.map +1 -0
- package/dist/cli/fleets/lib/wait-for-host.d.ts +29 -0
- package/dist/cli/fleets/lib/wait-for-host.d.ts.map +1 -0
- package/dist/cli/fleets/lib/wait-for-host.js +56 -0
- package/dist/cli/fleets/lib/wait-for-host.js.map +1 -0
- package/dist/cli/fleets/plugin.d.ts +16 -0
- package/dist/cli/fleets/plugin.d.ts.map +1 -0
- package/dist/cli/fleets/plugin.js +108 -0
- package/dist/cli/fleets/plugin.js.map +1 -0
- package/dist/cli/host-agent/agent.d.ts +12 -0
- package/dist/cli/host-agent/agent.d.ts.map +1 -0
- package/dist/cli/host-agent/agent.js +12 -0
- package/dist/cli/host-agent/agent.js.map +1 -0
- package/dist/cli/host-agent/index.d.ts +12 -0
- package/dist/cli/host-agent/index.d.ts.map +1 -0
- package/dist/cli/host-agent/index.js +2 -0
- package/dist/cli/host-agent/index.js.map +1 -0
- package/dist/cli/index.d.ts +13 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +13 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/platform-group.descriptor.d.ts +13 -0
- package/dist/cli/platform-group.descriptor.d.ts.map +1 -0
- package/dist/cli/platform-group.descriptor.js +21 -0
- package/dist/cli/platform-group.descriptor.js.map +1 -0
- package/dist/cli/plugin.d.ts +31 -0
- package/dist/cli/plugin.d.ts.map +1 -0
- package/dist/cli/plugin.js +182 -0
- package/dist/cli/plugin.js.map +1 -0
- package/dist/client/contracts.d.ts +17 -0
- package/dist/client/contracts.d.ts.map +1 -0
- package/dist/client/contracts.js +2 -0
- package/dist/client/contracts.js.map +1 -0
- package/dist/client/helper.d.ts +25 -0
- package/dist/client/helper.d.ts.map +1 -0
- package/dist/client/helper.js +38 -0
- package/dist/client/helper.js.map +1 -0
- package/dist/client/http.d.ts +442 -0
- package/dist/client/http.d.ts.map +1 -0
- package/dist/client/http.js +911 -0
- package/dist/client/http.js.map +1 -0
- package/dist/client/index.d.ts +5 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +11 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/origins.d.ts +9 -0
- package/dist/client/origins.d.ts.map +1 -0
- package/dist/client/origins.js +11 -0
- package/dist/client/origins.js.map +1 -0
- package/dist/components/compiler/cloud.plugin.d.ts +4 -0
- package/dist/components/compiler/cloud.plugin.d.ts.map +1 -0
- package/dist/components/compiler/cloud.plugin.js +12 -0
- package/dist/components/compiler/cloud.plugin.js.map +1 -0
- package/dist/components/compiler/compiler.client.descriptor.d.ts +9 -0
- package/dist/components/compiler/compiler.client.descriptor.d.ts.map +1 -0
- package/dist/components/compiler/compiler.client.descriptor.js +10 -0
- package/dist/components/compiler/compiler.client.descriptor.js.map +1 -0
- package/dist/components/compiler/compiler.cloud.impl.d.ts +7 -0
- package/dist/components/compiler/compiler.cloud.impl.d.ts.map +1 -0
- package/dist/components/compiler/compiler.cloud.impl.js +22 -0
- package/dist/components/compiler/compiler.cloud.impl.js.map +1 -0
- package/dist/components/compiler/compiler.consumer.impl.d.ts +8 -0
- package/dist/components/compiler/compiler.consumer.impl.d.ts.map +1 -0
- package/dist/components/compiler/compiler.consumer.impl.js +112 -0
- package/dist/components/compiler/compiler.consumer.impl.js.map +1 -0
- package/dist/components/compiler/compiler.tool.descriptor.d.ts +29 -0
- package/dist/components/compiler/compiler.tool.descriptor.d.ts.map +1 -0
- package/dist/components/compiler/compiler.tool.descriptor.js +14 -0
- package/dist/components/compiler/compiler.tool.descriptor.js.map +1 -0
- package/dist/components/compiler/compiler.tool.impl.d.ts +11 -0
- package/dist/components/compiler/compiler.tool.impl.d.ts.map +1 -0
- package/dist/components/compiler/compiler.tool.impl.js +13 -0
- package/dist/components/compiler/compiler.tool.impl.js.map +1 -0
- package/dist/components/compiler/consumer.plugin.d.ts +3 -0
- package/dist/components/compiler/consumer.plugin.d.ts.map +1 -0
- package/dist/components/compiler/consumer.plugin.js +11 -0
- package/dist/components/compiler/consumer.plugin.js.map +1 -0
- package/dist/components/compiler/contract.d.ts +27 -0
- package/dist/components/compiler/contract.d.ts.map +1 -0
- package/dist/components/compiler/contract.js +20 -0
- package/dist/components/compiler/contract.js.map +1 -0
- package/dist/components/compiler/index.d.ts +2 -0
- package/dist/components/compiler/index.d.ts.map +1 -0
- package/dist/components/compiler/index.js +2 -0
- package/dist/components/compiler/index.js.map +1 -0
- package/dist/components/compiler/plugin.d.ts +3 -0
- package/dist/components/compiler/plugin.d.ts.map +1 -0
- package/dist/components/compiler/plugin.js +8 -0
- package/dist/components/compiler/plugin.js.map +1 -0
- package/dist/components/compiler/tools.plugin.d.ts +4 -0
- package/dist/components/compiler/tools.plugin.d.ts.map +1 -0
- package/dist/components/compiler/tools.plugin.js +12 -0
- package/dist/components/compiler/tools.plugin.js.map +1 -0
- package/dist/config/load.d.ts +6 -0
- package/dist/config/load.d.ts.map +1 -0
- package/dist/config/load.js +14 -0
- package/dist/config/load.js.map +1 -0
- package/dist/config/platform.config.descriptor.d.ts +56 -0
- package/dist/config/platform.config.descriptor.d.ts.map +1 -0
- package/dist/config/platform.config.descriptor.js +39 -0
- package/dist/config/platform.config.descriptor.js.map +1 -0
- package/dist/docs/errors.billing.insufficient-credits.docs.descriptor.d.ts +4 -0
- package/dist/docs/errors.billing.insufficient-credits.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/errors.billing.insufficient-credits.docs.descriptor.js +57 -0
- package/dist/docs/errors.billing.insufficient-credits.docs.descriptor.js.map +1 -0
- package/dist/docs/errors.docs.descriptor.d.ts +4 -0
- package/dist/docs/errors.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/errors.docs.descriptor.js +64 -0
- package/dist/docs/errors.docs.descriptor.js.map +1 -0
- package/dist/docs/errors.storage.access-denied.docs.descriptor.d.ts +4 -0
- package/dist/docs/errors.storage.access-denied.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/errors.storage.access-denied.docs.descriptor.js +60 -0
- package/dist/docs/errors.storage.access-denied.docs.descriptor.js.map +1 -0
- package/dist/docs/errors.storage.provider-not-found.docs.descriptor.d.ts +4 -0
- package/dist/docs/errors.storage.provider-not-found.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/errors.storage.provider-not-found.docs.descriptor.js +60 -0
- package/dist/docs/errors.storage.provider-not-found.docs.descriptor.js.map +1 -0
- package/dist/docs/errors.storage.quota-exceeded.docs.descriptor.d.ts +4 -0
- package/dist/docs/errors.storage.quota-exceeded.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/errors.storage.quota-exceeded.docs.descriptor.js +74 -0
- package/dist/docs/errors.storage.quota-exceeded.docs.descriptor.js.map +1 -0
- package/dist/docs/platform.config.docs.descriptor.d.ts +22 -0
- package/dist/docs/platform.config.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/platform.config.docs.descriptor.js +82 -0
- package/dist/docs/platform.config.docs.descriptor.js.map +1 -0
- package/dist/docs/platform.repositories.docs.descriptor.d.ts +22 -0
- package/dist/docs/platform.repositories.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/platform.repositories.docs.descriptor.js +64 -0
- package/dist/docs/platform.repositories.docs.descriptor.js.map +1 -0
- package/dist/docs/platform.scheduled-tasks.docs.descriptor.d.ts +22 -0
- package/dist/docs/platform.scheduled-tasks.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/platform.scheduled-tasks.docs.descriptor.js +75 -0
- package/dist/docs/platform.scheduled-tasks.docs.descriptor.js.map +1 -0
- package/dist/fleet-events/index.d.ts +12 -0
- package/dist/fleet-events/index.d.ts.map +1 -0
- package/dist/fleet-events/index.js +12 -0
- package/dist/fleet-events/index.js.map +1 -0
- package/dist/fleet-events/subscriber.d.ts +138 -0
- package/dist/fleet-events/subscriber.d.ts.map +1 -0
- package/dist/fleet-events/subscriber.js +231 -0
- package/dist/fleet-events/subscriber.js.map +1 -0
- package/dist/fleets/acting-org.d.ts +12 -0
- package/dist/fleets/acting-org.d.ts.map +1 -0
- package/dist/fleets/acting-org.js +17 -0
- package/dist/fleets/acting-org.js.map +1 -0
- package/dist/fleets/bootstrap/index.d.ts +107 -0
- package/dist/fleets/bootstrap/index.d.ts.map +1 -0
- package/dist/fleets/bootstrap/index.js +147 -0
- package/dist/fleets/bootstrap/index.js.map +1 -0
- package/dist/fleets/bound-tool.d.ts +10 -0
- package/dist/fleets/bound-tool.d.ts.map +1 -0
- package/dist/fleets/bound-tool.js +150 -0
- package/dist/fleets/bound-tool.js.map +1 -0
- package/dist/fleets/boundary/platform-events.d.ts +177 -0
- package/dist/fleets/boundary/platform-events.d.ts.map +1 -0
- package/dist/fleets/boundary/platform-events.js +142 -0
- package/dist/fleets/boundary/platform-events.js.map +1 -0
- package/dist/fleets/build-job-action.d.ts +210 -0
- package/dist/fleets/build-job-action.d.ts.map +1 -0
- package/dist/fleets/build-job-action.js +89 -0
- package/dist/fleets/build-job-action.js.map +1 -0
- package/dist/fleets/build-job-credentials-contract.d.ts +73 -0
- package/dist/fleets/build-job-credentials-contract.d.ts.map +1 -0
- package/dist/fleets/build-job-credentials-contract.js +58 -0
- package/dist/fleets/build-job-credentials-contract.js.map +1 -0
- package/dist/fleets/build-job-install.d.ts +42 -0
- package/dist/fleets/build-job-install.d.ts.map +1 -0
- package/dist/fleets/build-job-install.js +23 -0
- package/dist/fleets/build-job-install.js.map +1 -0
- package/dist/fleets/build-job.plugin.d.ts +52 -0
- package/dist/fleets/build-job.plugin.d.ts.map +1 -0
- package/dist/fleets/build-job.plugin.js +31 -0
- package/dist/fleets/build-job.plugin.js.map +1 -0
- package/dist/fleets/ci-executor.plugin.d.ts +7 -0
- package/dist/fleets/ci-executor.plugin.d.ts.map +1 -0
- package/dist/fleets/ci-executor.plugin.js +28 -0
- package/dist/fleets/ci-executor.plugin.js.map +1 -0
- package/dist/fleets/client.d.ts +97 -0
- package/dist/fleets/client.d.ts.map +1 -0
- package/dist/fleets/client.js +257 -0
- package/dist/fleets/client.js.map +1 -0
- package/dist/fleets/daemon/bun/index.d.ts +9 -0
- package/dist/fleets/daemon/bun/index.d.ts.map +1 -0
- package/dist/fleets/daemon/bun/index.js +13 -0
- package/dist/fleets/daemon/bun/index.js.map +1 -0
- package/dist/fleets/daemon/daemon-root.d.ts +148 -0
- package/dist/fleets/daemon/daemon-root.d.ts.map +1 -0
- package/dist/fleets/daemon/daemon-root.js +167 -0
- package/dist/fleets/daemon/daemon-root.js.map +1 -0
- package/dist/fleets/daemon/execution-listen-policy.d.ts +497 -0
- package/dist/fleets/daemon/execution-listen-policy.d.ts.map +1 -0
- package/dist/fleets/daemon/execution-listen-policy.js +678 -0
- package/dist/fleets/daemon/execution-listen-policy.js.map +1 -0
- package/dist/fleets/daemon/fleet-daemon.d.ts +271 -0
- package/dist/fleets/daemon/fleet-daemon.d.ts.map +1 -0
- package/dist/fleets/daemon/fleet-daemon.js +327 -0
- package/dist/fleets/daemon/fleet-daemon.js.map +1 -0
- package/dist/fleets/daemon/host-agent/agent.d.ts +143 -0
- package/dist/fleets/daemon/host-agent/agent.d.ts.map +1 -0
- package/dist/fleets/daemon/host-agent/agent.js +400 -0
- package/dist/fleets/daemon/host-agent/agent.js.map +1 -0
- package/dist/fleets/daemon/host-agent/build-job-credentials.d.ts +25 -0
- package/dist/fleets/daemon/host-agent/build-job-credentials.d.ts.map +1 -0
- package/dist/fleets/daemon/host-agent/build-job-credentials.js +101 -0
- package/dist/fleets/daemon/host-agent/build-job-credentials.js.map +1 -0
- package/dist/fleets/daemon/host-agent/build-job-executor.d.ts +50 -0
- package/dist/fleets/daemon/host-agent/build-job-executor.d.ts.map +1 -0
- package/dist/fleets/daemon/host-agent/build-job-executor.js +803 -0
- package/dist/fleets/daemon/host-agent/build-job-executor.js.map +1 -0
- package/dist/fleets/daemon/host-agent/index.d.ts +8 -0
- package/dist/fleets/daemon/host-agent/index.d.ts.map +1 -0
- package/dist/fleets/daemon/host-agent/index.js +8 -0
- package/dist/fleets/daemon/host-agent/index.js.map +1 -0
- package/dist/fleets/daemon/host-agent/system-info.d.ts +13 -0
- package/dist/fleets/daemon/host-agent/system-info.d.ts.map +1 -0
- package/dist/fleets/daemon/host-agent/system-info.js +179 -0
- package/dist/fleets/daemon/host-agent/system-info.js.map +1 -0
- package/dist/fleets/daemon/index.d.ts +25 -0
- package/dist/fleets/daemon/index.d.ts.map +1 -0
- package/dist/fleets/daemon/index.js +31 -0
- package/dist/fleets/daemon/index.js.map +1 -0
- package/dist/fleets/daemon/relay/connect-relay.d.ts +135 -0
- package/dist/fleets/daemon/relay/connect-relay.d.ts.map +1 -0
- package/dist/fleets/daemon/relay/connect-relay.js +321 -0
- package/dist/fleets/daemon/relay/connect-relay.js.map +1 -0
- package/dist/fleets/daemon/relay/real-relay-server-adapter.d.ts +26 -0
- package/dist/fleets/daemon/relay/real-relay-server-adapter.d.ts.map +1 -0
- package/dist/fleets/daemon/relay/real-relay-server-adapter.js +36 -0
- package/dist/fleets/daemon/relay/real-relay-server-adapter.js.map +1 -0
- package/dist/fleets/daemon/relay/relay-server-adapter.seam.d.ts +75 -0
- package/dist/fleets/daemon/relay/relay-server-adapter.seam.d.ts.map +1 -0
- package/dist/fleets/daemon/relay/relay-server-adapter.seam.js +29 -0
- package/dist/fleets/daemon/relay/relay-server-adapter.seam.js.map +1 -0
- package/dist/fleets/discovery-contract.d.ts +75 -0
- package/dist/fleets/discovery-contract.d.ts.map +1 -0
- package/dist/fleets/discovery-contract.js +70 -0
- package/dist/fleets/discovery-contract.js.map +1 -0
- package/dist/fleets/fleet.consumer.plugin.d.ts +3 -0
- package/dist/fleets/fleet.consumer.plugin.d.ts.map +1 -0
- package/dist/fleets/fleet.consumer.plugin.js +15 -0
- package/dist/fleets/fleet.consumer.plugin.js.map +1 -0
- package/dist/fleets/fleet.plugin.d.ts +10 -0
- package/dist/fleets/fleet.plugin.d.ts.map +1 -0
- package/dist/fleets/fleet.plugin.js +27 -0
- package/dist/fleets/fleet.plugin.js.map +1 -0
- package/dist/fleets/host-lifecycle-client.d.ts +70 -0
- package/dist/fleets/host-lifecycle-client.d.ts.map +1 -0
- package/dist/fleets/host-lifecycle-client.js +99 -0
- package/dist/fleets/host-lifecycle-client.js.map +1 -0
- package/dist/fleets/host-lifecycle.d.ts +40 -0
- package/dist/fleets/host-lifecycle.d.ts.map +1 -0
- package/dist/fleets/host-lifecycle.js +32 -0
- package/dist/fleets/host-lifecycle.js.map +1 -0
- package/dist/fleets/index.d.ts +26 -0
- package/dist/fleets/index.d.ts.map +1 -0
- package/dist/fleets/index.js +39 -0
- package/dist/fleets/index.js.map +1 -0
- package/dist/fleets/kinds/daemon.kind.d.ts +73 -0
- package/dist/fleets/kinds/daemon.kind.d.ts.map +1 -0
- package/dist/fleets/kinds/daemon.kind.js +51 -0
- package/dist/fleets/kinds/daemon.kind.js.map +1 -0
- package/dist/fleets/kinds/host.kind.d.ts +105 -0
- package/dist/fleets/kinds/host.kind.d.ts.map +1 -0
- package/dist/fleets/kinds/host.kind.js +57 -0
- package/dist/fleets/kinds/host.kind.js.map +1 -0
- package/dist/fleets/kinds/index.d.ts +11 -0
- package/dist/fleets/kinds/index.d.ts.map +1 -0
- package/dist/fleets/kinds/index.js +11 -0
- package/dist/fleets/kinds/index.js.map +1 -0
- package/dist/fleets/kinds/service.kind.d.ts +54 -0
- package/dist/fleets/kinds/service.kind.d.ts.map +1 -0
- package/dist/fleets/kinds/service.kind.js +33 -0
- package/dist/fleets/kinds/service.kind.js.map +1 -0
- package/dist/fleets/launch.d.ts +215 -0
- package/dist/fleets/launch.d.ts.map +1 -0
- package/dist/fleets/launch.js +536 -0
- package/dist/fleets/launch.js.map +1 -0
- package/dist/fleets/merged-view.d.ts +129 -0
- package/dist/fleets/merged-view.d.ts.map +1 -0
- package/dist/fleets/merged-view.js +130 -0
- package/dist/fleets/merged-view.js.map +1 -0
- package/dist/fleets/pairing/direct/direct-discovery.d.ts +57 -0
- package/dist/fleets/pairing/direct/direct-discovery.d.ts.map +1 -0
- package/dist/fleets/pairing/direct/direct-discovery.descriptor.d.ts +27 -0
- package/dist/fleets/pairing/direct/direct-discovery.descriptor.d.ts.map +1 -0
- package/dist/fleets/pairing/direct/direct-discovery.descriptor.js +11 -0
- package/dist/fleets/pairing/direct/direct-discovery.descriptor.js.map +1 -0
- package/dist/fleets/pairing/direct/direct-discovery.impl.d.ts +67 -0
- package/dist/fleets/pairing/direct/direct-discovery.impl.d.ts.map +1 -0
- package/dist/fleets/pairing/direct/direct-discovery.impl.js +13 -0
- package/dist/fleets/pairing/direct/direct-discovery.impl.js.map +1 -0
- package/dist/fleets/pairing/direct/direct-discovery.js +120 -0
- package/dist/fleets/pairing/direct/direct-discovery.js.map +1 -0
- package/dist/fleets/pairing/direct/ids.d.ts +45 -0
- package/dist/fleets/pairing/direct/ids.d.ts.map +1 -0
- package/dist/fleets/pairing/direct/ids.js +15 -0
- package/dist/fleets/pairing/direct/ids.js.map +1 -0
- package/dist/fleets/pairing/direct/index.d.ts +9 -0
- package/dist/fleets/pairing/direct/index.d.ts.map +1 -0
- package/dist/fleets/pairing/direct/index.js +9 -0
- package/dist/fleets/pairing/direct/index.js.map +1 -0
- package/dist/fleets/pairing/index.d.ts +15 -0
- package/dist/fleets/pairing/index.d.ts.map +1 -0
- package/dist/fleets/pairing/index.js +15 -0
- package/dist/fleets/pairing/index.js.map +1 -0
- package/dist/fleets/pairing/kinds/discovery.kind.d.ts +55 -0
- package/dist/fleets/pairing/kinds/discovery.kind.d.ts.map +1 -0
- package/dist/fleets/pairing/kinds/discovery.kind.js +50 -0
- package/dist/fleets/pairing/kinds/discovery.kind.js.map +1 -0
- package/dist/fleets/pairing/mdns/ids.d.ts +39 -0
- package/dist/fleets/pairing/mdns/ids.d.ts.map +1 -0
- package/dist/fleets/pairing/mdns/ids.js +11 -0
- package/dist/fleets/pairing/mdns/ids.js.map +1 -0
- package/dist/fleets/pairing/mdns/index.d.ts +10 -0
- package/dist/fleets/pairing/mdns/index.d.ts.map +1 -0
- package/dist/fleets/pairing/mdns/index.js +10 -0
- package/dist/fleets/pairing/mdns/index.js.map +1 -0
- package/dist/fleets/pairing/mdns/mdns-discovery.d.ts +62 -0
- package/dist/fleets/pairing/mdns/mdns-discovery.d.ts.map +1 -0
- package/dist/fleets/pairing/mdns/mdns-discovery.js +108 -0
- package/dist/fleets/pairing/mdns/mdns-discovery.js.map +1 -0
- package/dist/fleets/pairing/platform/ids.d.ts +64 -0
- package/dist/fleets/pairing/platform/ids.d.ts.map +1 -0
- package/dist/fleets/pairing/platform/ids.js +10 -0
- package/dist/fleets/pairing/platform/ids.js.map +1 -0
- package/dist/fleets/pairing/platform/index.d.ts +10 -0
- package/dist/fleets/pairing/platform/index.d.ts.map +1 -0
- package/dist/fleets/pairing/platform/index.js +10 -0
- package/dist/fleets/pairing/platform/index.js.map +1 -0
- package/dist/fleets/pairing/platform/platform-discovery.d.ts +56 -0
- package/dist/fleets/pairing/platform/platform-discovery.d.ts.map +1 -0
- package/dist/fleets/pairing/platform/platform-discovery.js +113 -0
- package/dist/fleets/pairing/platform/platform-discovery.js.map +1 -0
- package/dist/fleets/provision/build-runner-setup.d.ts +72 -0
- package/dist/fleets/provision/build-runner-setup.d.ts.map +1 -0
- package/dist/fleets/provision/build-runner-setup.js +126 -0
- package/dist/fleets/provision/build-runner-setup.js.map +1 -0
- package/dist/fleets/provision/cloud-init.d.ts +167 -0
- package/dist/fleets/provision/cloud-init.d.ts.map +1 -0
- package/dist/fleets/provision/cloud-init.js +376 -0
- package/dist/fleets/provision/cloud-init.js.map +1 -0
- package/dist/fleets/provision/daemon-host-config.d.ts +39 -0
- package/dist/fleets/provision/daemon-host-config.d.ts.map +1 -0
- package/dist/fleets/provision/daemon-host-config.js +44 -0
- package/dist/fleets/provision/daemon-host-config.js.map +1 -0
- package/dist/fleets/provision/desktop-host-setup.d.ts +55 -0
- package/dist/fleets/provision/desktop-host-setup.d.ts.map +1 -0
- package/dist/fleets/provision/desktop-host-setup.js +91 -0
- package/dist/fleets/provision/desktop-host-setup.js.map +1 -0
- package/dist/fleets/provision/gpu-host-setup.d.ts +25 -0
- package/dist/fleets/provision/gpu-host-setup.d.ts.map +1 -0
- package/dist/fleets/provision/gpu-host-setup.js +88 -0
- package/dist/fleets/provision/gpu-host-setup.js.map +1 -0
- package/dist/fleets/provision/harness-bootstrap.d.ts +49 -0
- package/dist/fleets/provision/harness-bootstrap.d.ts.map +1 -0
- package/dist/fleets/provision/harness-bootstrap.js +72 -0
- package/dist/fleets/provision/harness-bootstrap.js.map +1 -0
- package/dist/fleets/provision/index.d.ts +8 -0
- package/dist/fleets/provision/index.d.ts.map +1 -0
- package/dist/fleets/provision/index.js +8 -0
- package/dist/fleets/provision/index.js.map +1 -0
- package/dist/fleets/provision/portable-bootstrap.d.ts +27 -0
- package/dist/fleets/provision/portable-bootstrap.d.ts.map +1 -0
- package/dist/fleets/provision/portable-bootstrap.js +78 -0
- package/dist/fleets/provision/portable-bootstrap.js.map +1 -0
- package/dist/fleets/provision/workspace-host-setup.d.ts +22 -0
- package/dist/fleets/provision/workspace-host-setup.d.ts.map +1 -0
- package/dist/fleets/provision/workspace-host-setup.js +219 -0
- package/dist/fleets/provision/workspace-host-setup.js.map +1 -0
- package/dist/fleets/provisioning/sandbox-provisioning-adapter.d.ts +132 -0
- package/dist/fleets/provisioning/sandbox-provisioning-adapter.d.ts.map +1 -0
- package/dist/fleets/provisioning/sandbox-provisioning-adapter.js +133 -0
- package/dist/fleets/provisioning/sandbox-provisioning-adapter.js.map +1 -0
- package/dist/fleets/registry/reachable-runtime.d.ts +115 -0
- package/dist/fleets/registry/reachable-runtime.d.ts.map +1 -0
- package/dist/fleets/registry/reachable-runtime.js +56 -0
- package/dist/fleets/registry/reachable-runtime.js.map +1 -0
- package/dist/fleets/registry-bridge.plugin.d.ts +100 -0
- package/dist/fleets/registry-bridge.plugin.d.ts.map +1 -0
- package/dist/fleets/registry-bridge.plugin.js +218 -0
- package/dist/fleets/registry-bridge.plugin.js.map +1 -0
- package/dist/fleets/remote-control.d.ts +4 -0
- package/dist/fleets/remote-control.d.ts.map +1 -0
- package/dist/fleets/remote-control.js +13 -0
- package/dist/fleets/remote-control.js.map +1 -0
- package/dist/fleets/request-credentials.d.ts +25 -0
- package/dist/fleets/request-credentials.d.ts.map +1 -0
- package/dist/fleets/request-credentials.js +52 -0
- package/dist/fleets/request-credentials.js.map +1 -0
- package/dist/fleets/restricted-workload.d.ts +48 -0
- package/dist/fleets/restricted-workload.d.ts.map +1 -0
- package/dist/fleets/restricted-workload.js +91 -0
- package/dist/fleets/restricted-workload.js.map +1 -0
- package/dist/fleets/service-backends/index.d.ts +41 -0
- package/dist/fleets/service-backends/index.d.ts.map +1 -0
- package/dist/fleets/service-backends/index.js +56 -0
- package/dist/fleets/service-backends/index.js.map +1 -0
- package/dist/fleets/service-backends/launchd.backend.d.ts +25 -0
- package/dist/fleets/service-backends/launchd.backend.d.ts.map +1 -0
- package/dist/fleets/service-backends/launchd.backend.js +24 -0
- package/dist/fleets/service-backends/launchd.backend.js.map +1 -0
- package/dist/fleets/service-backends/launchd.d.ts +43 -0
- package/dist/fleets/service-backends/launchd.d.ts.map +1 -0
- package/dist/fleets/service-backends/launchd.js +230 -0
- package/dist/fleets/service-backends/launchd.js.map +1 -0
- package/dist/fleets/service-backends/os-service-manager.consumer.d.ts +3 -0
- package/dist/fleets/service-backends/os-service-manager.consumer.d.ts.map +1 -0
- package/dist/fleets/service-backends/os-service-manager.consumer.js +8 -0
- package/dist/fleets/service-backends/os-service-manager.consumer.js.map +1 -0
- package/dist/fleets/service-backends/os-service-manager.descriptor.d.ts +12 -0
- package/dist/fleets/service-backends/os-service-manager.descriptor.d.ts.map +1 -0
- package/dist/fleets/service-backends/os-service-manager.descriptor.js +21 -0
- package/dist/fleets/service-backends/os-service-manager.descriptor.js.map +1 -0
- package/dist/fleets/service-backends/restart.d.ts +28 -0
- package/dist/fleets/service-backends/restart.d.ts.map +1 -0
- package/dist/fleets/service-backends/restart.js +43 -0
- package/dist/fleets/service-backends/restart.js.map +1 -0
- package/dist/fleets/service-backends/service-command.d.ts +23 -0
- package/dist/fleets/service-backends/service-command.d.ts.map +1 -0
- package/dist/fleets/service-backends/service-command.js +35 -0
- package/dist/fleets/service-backends/service-command.js.map +1 -0
- package/dist/fleets/service-backends/systemd.backend.d.ts +25 -0
- package/dist/fleets/service-backends/systemd.backend.d.ts.map +1 -0
- package/dist/fleets/service-backends/systemd.backend.js +24 -0
- package/dist/fleets/service-backends/systemd.backend.js.map +1 -0
- package/dist/fleets/service-backends/systemd.d.ts +29 -0
- package/dist/fleets/service-backends/systemd.d.ts.map +1 -0
- package/dist/fleets/service-backends/systemd.js +161 -0
- package/dist/fleets/service-backends/systemd.js.map +1 -0
- package/dist/fleets/service-backends/types.d.ts +97 -0
- package/dist/fleets/service-backends/types.d.ts.map +1 -0
- package/dist/fleets/service-backends/types.js +13 -0
- package/dist/fleets/service-backends/types.js.map +1 -0
- package/dist/fleets/service-backends/windows.backend.d.ts +26 -0
- package/dist/fleets/service-backends/windows.backend.d.ts.map +1 -0
- package/dist/fleets/service-backends/windows.backend.js +35 -0
- package/dist/fleets/service-backends/windows.backend.js.map +1 -0
- package/dist/fleets/service-backends/windows.d.ts +73 -0
- package/dist/fleets/service-backends/windows.d.ts.map +1 -0
- package/dist/fleets/service-backends/windows.js +309 -0
- package/dist/fleets/service-backends/windows.js.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -0
- package/dist/integration-connect.d.ts +73 -0
- package/dist/integration-connect.d.ts.map +1 -0
- package/dist/integration-connect.js +176 -0
- package/dist/integration-connect.js.map +1 -0
- package/dist/integration-tools.plugin.d.ts +3 -0
- package/dist/integration-tools.plugin.d.ts.map +1 -0
- package/dist/integration-tools.plugin.js +14 -0
- package/dist/integration-tools.plugin.js.map +1 -0
- package/dist/internal-api/client.d.ts +75 -0
- package/dist/internal-api/client.d.ts.map +1 -0
- package/dist/internal-api/client.js +206 -0
- package/dist/internal-api/client.js.map +1 -0
- package/dist/internal-api/helper.d.ts +129 -0
- package/dist/internal-api/helper.d.ts.map +1 -0
- package/dist/internal-api/helper.js +128 -0
- package/dist/internal-api/helper.js.map +1 -0
- package/dist/internal-api/index.d.ts +5 -0
- package/dist/internal-api/index.d.ts.map +1 -0
- package/dist/internal-api/index.js +4 -0
- package/dist/internal-api/index.js.map +1 -0
- package/dist/internal-api/schemas/index.d.ts +255 -0
- package/dist/internal-api/schemas/index.d.ts.map +1 -0
- package/dist/internal-api/schemas/index.js +208 -0
- package/dist/internal-api/schemas/index.js.map +1 -0
- package/dist/logging/platform.logger.descriptor.d.ts +9 -0
- package/dist/logging/platform.logger.descriptor.d.ts.map +1 -0
- package/dist/logging/platform.logger.descriptor.js +18 -0
- package/dist/logging/platform.logger.descriptor.js.map +1 -0
- package/dist/logging/platform.output.descriptor.d.ts +7 -0
- package/dist/logging/platform.output.descriptor.d.ts.map +1 -0
- package/dist/logging/platform.output.descriptor.js +17 -0
- package/dist/logging/platform.output.descriptor.js.map +1 -0
- package/dist/networking/hostnames/worker/platform.hostnames.descriptor.d.ts +5 -0
- package/dist/networking/hostnames/worker/platform.hostnames.descriptor.d.ts.map +1 -0
- package/dist/networking/hostnames/worker/platform.hostnames.descriptor.js +14 -0
- package/dist/networking/hostnames/worker/platform.hostnames.descriptor.js.map +1 -0
- package/dist/networking/hostnames/worker/platform.hostnames.impl.cloud.d.ts +12 -0
- package/dist/networking/hostnames/worker/platform.hostnames.impl.cloud.d.ts.map +1 -0
- package/dist/networking/hostnames/worker/platform.hostnames.impl.cloud.js +22 -0
- package/dist/networking/hostnames/worker/platform.hostnames.impl.cloud.js.map +1 -0
- package/dist/networking/ssrf.d.ts +7 -0
- package/dist/networking/ssrf.d.ts.map +1 -0
- package/dist/networking/ssrf.js +7 -0
- package/dist/networking/ssrf.js.map +1 -0
- package/dist/platform.browser.plugin.d.ts +3 -0
- package/dist/platform.browser.plugin.d.ts.map +1 -0
- package/dist/platform.browser.plugin.js +21 -0
- package/dist/platform.browser.plugin.js.map +1 -0
- package/dist/platform.consumer.plugin.d.ts +3 -0
- package/dist/platform.consumer.plugin.d.ts.map +1 -0
- package/dist/platform.consumer.plugin.js +24 -0
- package/dist/platform.consumer.plugin.js.map +1 -0
- package/dist/platform.plugin.d.ts +9 -0
- package/dist/platform.plugin.d.ts.map +1 -0
- package/dist/platform.plugin.js +87 -0
- package/dist/platform.plugin.js.map +1 -0
- package/dist/scheduled-tasks/index.d.ts +5 -0
- package/dist/scheduled-tasks/index.d.ts.map +1 -0
- package/dist/scheduled-tasks/index.js +4 -0
- package/dist/scheduled-tasks/index.js.map +1 -0
- package/dist/scheduled-tasks/scheduled-tasks.storage.descriptor.d.ts +100 -0
- package/dist/scheduled-tasks/scheduled-tasks.storage.descriptor.d.ts.map +1 -0
- package/dist/scheduled-tasks/scheduled-tasks.storage.descriptor.js +40 -0
- package/dist/scheduled-tasks/scheduled-tasks.storage.descriptor.js.map +1 -0
- package/dist/scheduled-tasks/schemas/api.d.ts +255 -0
- package/dist/scheduled-tasks/schemas/api.d.ts.map +1 -0
- package/dist/scheduled-tasks/schemas/api.js +31 -0
- package/dist/scheduled-tasks/schemas/api.js.map +1 -0
- package/dist/scheduled-tasks/schemas/common.d.ts +147 -0
- package/dist/scheduled-tasks/schemas/common.d.ts.map +1 -0
- package/dist/scheduled-tasks/schemas/common.js +107 -0
- package/dist/scheduled-tasks/schemas/common.js.map +1 -0
- package/dist/scheduled-tasks/schemas/forms.d.ts +118 -0
- package/dist/scheduled-tasks/schemas/forms.d.ts.map +1 -0
- package/dist/scheduled-tasks/schemas/forms.js +25 -0
- package/dist/scheduled-tasks/schemas/forms.js.map +1 -0
- package/dist/scheduled-tasks/schemas/index.d.ts +5 -0
- package/dist/scheduled-tasks/schemas/index.d.ts.map +1 -0
- package/dist/scheduled-tasks/schemas/index.js +4 -0
- package/dist/scheduled-tasks/schemas/index.js.map +1 -0
- package/dist/scheduled-tasks/schemas/types.d.ts +16 -0
- package/dist/scheduled-tasks/schemas/types.d.ts.map +1 -0
- package/dist/scheduled-tasks/schemas/types.js +2 -0
- package/dist/scheduled-tasks/schemas/types.js.map +1 -0
- package/dist/schemas/build-execution.d.ts +65 -0
- package/dist/schemas/build-execution.d.ts.map +1 -0
- package/dist/schemas/build-execution.js +26 -0
- package/dist/schemas/build-execution.js.map +1 -0
- package/dist/schemas/cli/daemon-install.d.ts +27 -0
- package/dist/schemas/cli/daemon-install.d.ts.map +1 -0
- package/dist/schemas/cli/daemon-install.js +20 -0
- package/dist/schemas/cli/daemon-install.js.map +1 -0
- package/dist/schemas/cli/daemons.d.ts +71 -0
- package/dist/schemas/cli/daemons.d.ts.map +1 -0
- package/dist/schemas/cli/daemons.js +34 -0
- package/dist/schemas/cli/daemons.js.map +1 -0
- package/dist/schemas/cli/fleet-policy.d.ts +17 -0
- package/dist/schemas/cli/fleet-policy.d.ts.map +1 -0
- package/dist/schemas/cli/fleet-policy.js +17 -0
- package/dist/schemas/cli/fleet-policy.js.map +1 -0
- package/dist/schemas/cli/host-agent.d.ts +16 -0
- package/dist/schemas/cli/host-agent.d.ts.map +1 -0
- package/dist/schemas/cli/host-agent.js +16 -0
- package/dist/schemas/cli/host-agent.js.map +1 -0
- package/dist/schemas/cli/host-token.d.ts +13 -0
- package/dist/schemas/cli/host-token.d.ts.map +1 -0
- package/dist/schemas/cli/host-token.js +8 -0
- package/dist/schemas/cli/host-token.js.map +1 -0
- package/dist/schemas/cli/hostnames.d.ts +125 -0
- package/dist/schemas/cli/hostnames.d.ts.map +1 -0
- package/dist/schemas/cli/hostnames.js +70 -0
- package/dist/schemas/cli/hostnames.js.map +1 -0
- package/dist/schemas/cli/hosts.d.ts +150 -0
- package/dist/schemas/cli/hosts.d.ts.map +1 -0
- package/dist/schemas/cli/hosts.js +40 -0
- package/dist/schemas/cli/hosts.js.map +1 -0
- package/dist/schemas/cli/infrastructure.d.ts +33 -0
- package/dist/schemas/cli/infrastructure.d.ts.map +1 -0
- package/dist/schemas/cli/infrastructure.js +17 -0
- package/dist/schemas/cli/infrastructure.js.map +1 -0
- package/dist/schemas/cli/marshal-presence.d.ts +13 -0
- package/dist/schemas/cli/marshal-presence.d.ts.map +1 -0
- package/dist/schemas/cli/marshal-presence.js +21 -0
- package/dist/schemas/cli/marshal-presence.js.map +1 -0
- package/dist/schemas/cli/processes.d.ts +33 -0
- package/dist/schemas/cli/processes.d.ts.map +1 -0
- package/dist/schemas/cli/processes.js +20 -0
- package/dist/schemas/cli/processes.js.map +1 -0
- package/dist/schemas/cli/scheduled-tasks.d.ts +222 -0
- package/dist/schemas/cli/scheduled-tasks.d.ts.map +1 -0
- package/dist/schemas/cli/scheduled-tasks.js +182 -0
- package/dist/schemas/cli/scheduled-tasks.js.map +1 -0
- package/dist/schemas/cli/workspace.d.ts +88 -0
- package/dist/schemas/cli/workspace.d.ts.map +1 -0
- package/dist/schemas/cli/workspace.js +50 -0
- package/dist/schemas/cli/workspace.js.map +1 -0
- package/dist/schemas/client.d.ts +442 -0
- package/dist/schemas/client.d.ts.map +1 -0
- package/dist/schemas/client.js +312 -0
- package/dist/schemas/client.js.map +1 -0
- package/dist/schemas/components/api.d.ts +277 -0
- package/dist/schemas/components/api.d.ts.map +1 -0
- package/dist/schemas/components/api.js +26 -0
- package/dist/schemas/components/api.js.map +1 -0
- package/dist/schemas/components/common.d.ts +96 -0
- package/dist/schemas/components/common.d.ts.map +1 -0
- package/dist/schemas/components/common.js +70 -0
- package/dist/schemas/components/common.js.map +1 -0
- package/dist/schemas/components/forms.d.ts +97 -0
- package/dist/schemas/components/forms.d.ts.map +1 -0
- package/dist/schemas/components/forms.js +68 -0
- package/dist/schemas/components/forms.js.map +1 -0
- package/dist/schemas/components/index.d.ts +10 -0
- package/dist/schemas/components/index.d.ts.map +1 -0
- package/dist/schemas/components/index.js +6 -0
- package/dist/schemas/components/index.js.map +1 -0
- package/dist/schemas/components/starter-fixtures.d.ts +154 -0
- package/dist/schemas/components/starter-fixtures.d.ts.map +1 -0
- package/dist/schemas/components/starter-fixtures.js +208 -0
- package/dist/schemas/components/starter-fixtures.js.map +1 -0
- package/dist/schemas/components/starter.d.ts +429 -0
- package/dist/schemas/components/starter.d.ts.map +1 -0
- package/dist/schemas/components/starter.js +438 -0
- package/dist/schemas/components/starter.js.map +1 -0
- package/dist/schemas/daemons/api.d.ts +199 -0
- package/dist/schemas/daemons/api.d.ts.map +1 -0
- package/dist/schemas/daemons/api.js +16 -0
- package/dist/schemas/daemons/api.js.map +1 -0
- package/dist/schemas/daemons/common.d.ts +119 -0
- package/dist/schemas/daemons/common.d.ts.map +1 -0
- package/dist/schemas/daemons/common.js +70 -0
- package/dist/schemas/daemons/common.js.map +1 -0
- package/dist/schemas/daemons/forms.d.ts +89 -0
- package/dist/schemas/daemons/forms.d.ts.map +1 -0
- package/dist/schemas/daemons/forms.js +50 -0
- package/dist/schemas/daemons/forms.js.map +1 -0
- package/dist/schemas/daemons/index.d.ts +7 -0
- package/dist/schemas/daemons/index.d.ts.map +1 -0
- package/dist/schemas/daemons/index.js +4 -0
- package/dist/schemas/daemons/index.js.map +1 -0
- package/dist/schemas/deployments-cli.d.ts +21 -0
- package/dist/schemas/deployments-cli.d.ts.map +1 -0
- package/dist/schemas/deployments-cli.js +21 -0
- package/dist/schemas/deployments-cli.js.map +1 -0
- package/dist/schemas/fleet-cli.d.ts +412 -0
- package/dist/schemas/fleet-cli.d.ts.map +1 -0
- package/dist/schemas/fleet-cli.js +38 -0
- package/dist/schemas/fleet-cli.js.map +1 -0
- package/dist/schemas/fleet-service.d.ts +4 -0
- package/dist/schemas/fleet-service.d.ts.map +1 -0
- package/dist/schemas/fleet-service.js +3 -0
- package/dist/schemas/fleet-service.js.map +1 -0
- package/dist/schemas/fleet-wire.d.ts +18 -0
- package/dist/schemas/fleet-wire.d.ts.map +1 -0
- package/dist/schemas/fleet-wire.js +19 -0
- package/dist/schemas/fleet-wire.js.map +1 -0
- package/dist/schemas/hostnames/api.d.ts +174 -0
- package/dist/schemas/hostnames/api.d.ts.map +1 -0
- package/dist/schemas/hostnames/api.js +53 -0
- package/dist/schemas/hostnames/api.js.map +1 -0
- package/dist/schemas/hostnames/common.d.ts +117 -0
- package/dist/schemas/hostnames/common.d.ts.map +1 -0
- package/dist/schemas/hostnames/common.js +90 -0
- package/dist/schemas/hostnames/common.js.map +1 -0
- package/dist/schemas/hostnames/deploy-targets.d.ts +115 -0
- package/dist/schemas/hostnames/deploy-targets.d.ts.map +1 -0
- package/dist/schemas/hostnames/deploy-targets.js +141 -0
- package/dist/schemas/hostnames/deploy-targets.js.map +1 -0
- package/dist/schemas/hostnames/forms.d.ts +34 -0
- package/dist/schemas/hostnames/forms.d.ts.map +1 -0
- package/dist/schemas/hostnames/forms.js +28 -0
- package/dist/schemas/hostnames/forms.js.map +1 -0
- package/dist/schemas/hostnames/index.d.ts +8 -0
- package/dist/schemas/hostnames/index.d.ts.map +1 -0
- package/dist/schemas/hostnames/index.js +5 -0
- package/dist/schemas/hostnames/index.js.map +1 -0
- package/dist/schemas/hostnames/types.d.ts +4 -0
- package/dist/schemas/hostnames/types.d.ts.map +1 -0
- package/dist/schemas/hostnames/types.js +2 -0
- package/dist/schemas/hostnames/types.js.map +1 -0
- package/dist/schemas/hosts/actions.d.ts +585 -0
- package/dist/schemas/hosts/actions.d.ts.map +1 -0
- package/dist/schemas/hosts/actions.js +157 -0
- package/dist/schemas/hosts/actions.js.map +1 -0
- package/dist/schemas/hosts/agent.d.ts +27 -0
- package/dist/schemas/hosts/agent.d.ts.map +1 -0
- package/dist/schemas/hosts/agent.js +30 -0
- package/dist/schemas/hosts/agent.js.map +1 -0
- package/dist/schemas/hosts/api.d.ts +1559 -0
- package/dist/schemas/hosts/api.d.ts.map +1 -0
- package/dist/schemas/hosts/api.js +67 -0
- package/dist/schemas/hosts/api.js.map +1 -0
- package/dist/schemas/hosts/capabilities.d.ts +26 -0
- package/dist/schemas/hosts/capabilities.d.ts.map +1 -0
- package/dist/schemas/hosts/capabilities.js +31 -0
- package/dist/schemas/hosts/capabilities.js.map +1 -0
- package/dist/schemas/hosts/common.d.ts +506 -0
- package/dist/schemas/hosts/common.d.ts.map +1 -0
- package/dist/schemas/hosts/common.js +217 -0
- package/dist/schemas/hosts/common.js.map +1 -0
- package/dist/schemas/hosts/forms.d.ts +616 -0
- package/dist/schemas/hosts/forms.d.ts.map +1 -0
- package/dist/schemas/hosts/forms.js +123 -0
- package/dist/schemas/hosts/forms.js.map +1 -0
- package/dist/schemas/hosts/index.d.ts +16 -0
- package/dist/schemas/hosts/index.d.ts.map +1 -0
- package/dist/schemas/hosts/index.js +9 -0
- package/dist/schemas/hosts/index.js.map +1 -0
- package/dist/schemas/hosts/lifecycle.d.ts +53 -0
- package/dist/schemas/hosts/lifecycle.d.ts.map +1 -0
- package/dist/schemas/hosts/lifecycle.js +52 -0
- package/dist/schemas/hosts/lifecycle.js.map +1 -0
- package/dist/schemas/hosts/provision-cli.d.ts +684 -0
- package/dist/schemas/hosts/provision-cli.d.ts.map +1 -0
- package/dist/schemas/hosts/provision-cli.js +65 -0
- package/dist/schemas/hosts/provision-cli.js.map +1 -0
- package/dist/schemas/hosts/provision.d.ts +465 -0
- package/dist/schemas/hosts/provision.d.ts.map +1 -0
- package/dist/schemas/hosts/provision.js +110 -0
- package/dist/schemas/hosts/provision.js.map +1 -0
- package/dist/schemas/hosts/telemetry.d.ts +42 -0
- package/dist/schemas/hosts/telemetry.d.ts.map +1 -0
- package/dist/schemas/hosts/telemetry.js +9 -0
- package/dist/schemas/hosts/telemetry.js.map +1 -0
- package/dist/schemas/hosts/types.d.ts +6 -0
- package/dist/schemas/hosts/types.d.ts.map +1 -0
- package/dist/schemas/hosts/types.js +2 -0
- package/dist/schemas/hosts/types.js.map +1 -0
- package/dist/schemas/hosts/workspace.d.ts +53 -0
- package/dist/schemas/hosts/workspace.d.ts.map +1 -0
- package/dist/schemas/hosts/workspace.js +61 -0
- package/dist/schemas/hosts/workspace.js.map +1 -0
- package/dist/schemas/http-date.d.ts +4 -0
- package/dist/schemas/http-date.d.ts.map +1 -0
- package/dist/schemas/http-date.js +9 -0
- package/dist/schemas/http-date.js.map +1 -0
- package/dist/schemas/http-responses.d.ts +3250 -0
- package/dist/schemas/http-responses.d.ts.map +1 -0
- package/dist/schemas/http-responses.js +263 -0
- package/dist/schemas/http-responses.js.map +1 -0
- package/dist/schemas/infrastructure.d.ts +35 -0
- package/dist/schemas/infrastructure.d.ts.map +1 -0
- package/dist/schemas/infrastructure.js +9 -0
- package/dist/schemas/infrastructure.js.map +1 -0
- package/dist/schemas/media/api.d.ts +121 -0
- package/dist/schemas/media/api.d.ts.map +1 -0
- package/dist/schemas/media/api.js +65 -0
- package/dist/schemas/media/api.js.map +1 -0
- package/dist/schemas/media/index.d.ts +4 -0
- package/dist/schemas/media/index.d.ts.map +1 -0
- package/dist/schemas/media/index.js +3 -0
- package/dist/schemas/media/index.js.map +1 -0
- package/dist/schemas/media/types.d.ts +92 -0
- package/dist/schemas/media/types.d.ts.map +1 -0
- package/dist/schemas/media/types.js +59 -0
- package/dist/schemas/media/types.js.map +1 -0
- package/dist/schemas/platform-state.d.ts +154 -0
- package/dist/schemas/platform-state.d.ts.map +1 -0
- package/dist/schemas/platform-state.js +23 -0
- package/dist/schemas/platform-state.js.map +1 -0
- package/dist/schemas/processes/api.d.ts +140 -0
- package/dist/schemas/processes/api.d.ts.map +1 -0
- package/dist/schemas/processes/api.js +16 -0
- package/dist/schemas/processes/api.js.map +1 -0
- package/dist/schemas/processes/common.d.ts +54 -0
- package/dist/schemas/processes/common.d.ts.map +1 -0
- package/dist/schemas/processes/common.js +35 -0
- package/dist/schemas/processes/common.js.map +1 -0
- package/dist/schemas/processes/forms.d.ts +62 -0
- package/dist/schemas/processes/forms.d.ts.map +1 -0
- package/dist/schemas/processes/forms.js +46 -0
- package/dist/schemas/processes/forms.js.map +1 -0
- package/dist/schemas/processes/index.d.ts +7 -0
- package/dist/schemas/processes/index.d.ts.map +1 -0
- package/dist/schemas/processes/index.js +4 -0
- package/dist/schemas/processes/index.js.map +1 -0
- package/dist/schemas/project-presentation.d.ts +20 -0
- package/dist/schemas/project-presentation.d.ts.map +1 -0
- package/dist/schemas/project-presentation.js +10 -0
- package/dist/schemas/project-presentation.js.map +1 -0
- package/dist/schemas/queue-action.d.ts +1633 -0
- package/dist/schemas/queue-action.d.ts.map +1 -0
- package/dist/schemas/queue-action.js +88 -0
- package/dist/schemas/queue-action.js.map +1 -0
- package/dist/schemas/secrets/api.d.ts +228 -0
- package/dist/schemas/secrets/api.d.ts.map +1 -0
- package/dist/schemas/secrets/api.js +67 -0
- package/dist/schemas/secrets/api.js.map +1 -0
- package/dist/schemas/secrets/common.d.ts +62 -0
- package/dist/schemas/secrets/common.d.ts.map +1 -0
- package/dist/schemas/secrets/common.js +10 -0
- package/dist/schemas/secrets/common.js.map +1 -0
- package/dist/schemas/secrets/index.d.ts +8 -0
- package/dist/schemas/secrets/index.d.ts.map +1 -0
- package/dist/schemas/secrets/index.js +4 -0
- package/dist/schemas/secrets/index.js.map +1 -0
- package/dist/schemas/secrets/metadata.d.ts +8 -0
- package/dist/schemas/secrets/metadata.d.ts.map +1 -0
- package/dist/schemas/secrets/metadata.js +11 -0
- package/dist/schemas/secrets/metadata.js.map +1 -0
- package/dist/schemas/secrets/resource-secrets.d.ts +11 -0
- package/dist/schemas/secrets/resource-secrets.d.ts.map +1 -0
- package/dist/schemas/secrets/resource-secrets.js +24 -0
- package/dist/schemas/secrets/resource-secrets.js.map +1 -0
- package/dist/schemas/tool-presentation.d.ts +47 -0
- package/dist/schemas/tool-presentation.d.ts.map +1 -0
- package/dist/schemas/tool-presentation.js +25 -0
- package/dist/schemas/tool-presentation.js.map +1 -0
- package/dist/server/integration-accounts/account-client.d.ts +14 -0
- package/dist/server/integration-accounts/account-client.d.ts.map +1 -0
- package/dist/server/integration-accounts/account-client.js +102 -0
- package/dist/server/integration-accounts/account-client.js.map +1 -0
- package/dist/server/integration-accounts/account-secrets.d.ts +10 -0
- package/dist/server/integration-accounts/account-secrets.d.ts.map +1 -0
- package/dist/server/integration-accounts/account-secrets.descriptor.d.ts +4 -0
- package/dist/server/integration-accounts/account-secrets.descriptor.d.ts.map +1 -0
- package/dist/server/integration-accounts/account-secrets.descriptor.js +13 -0
- package/dist/server/integration-accounts/account-secrets.descriptor.js.map +1 -0
- package/dist/server/integration-accounts/account-secrets.js +70 -0
- package/dist/server/integration-accounts/account-secrets.js.map +1 -0
- package/dist/server/integration-accounts/ci-job-secrets.d.ts +23 -0
- package/dist/server/integration-accounts/ci-job-secrets.d.ts.map +1 -0
- package/dist/server/integration-accounts/ci-job-secrets.descriptor.d.ts +4 -0
- package/dist/server/integration-accounts/ci-job-secrets.descriptor.d.ts.map +1 -0
- package/dist/server/integration-accounts/ci-job-secrets.descriptor.js +13 -0
- package/dist/server/integration-accounts/ci-job-secrets.descriptor.js.map +1 -0
- package/dist/server/integration-accounts/ci-job-secrets.js +168 -0
- package/dist/server/integration-accounts/ci-job-secrets.js.map +1 -0
- package/dist/server/integration-accounts/connect-routes.d.ts +10 -0
- package/dist/server/integration-accounts/connect-routes.d.ts.map +1 -0
- package/dist/server/integration-accounts/connect-routes.js +12 -0
- package/dist/server/integration-accounts/connect-routes.js.map +1 -0
- package/dist/server/integration-accounts/connection-store.d.ts +24 -0
- package/dist/server/integration-accounts/connection-store.d.ts.map +1 -0
- package/dist/server/integration-accounts/connection-store.js +161 -0
- package/dist/server/integration-accounts/connection-store.js.map +1 -0
- package/dist/server/integration-accounts/index.d.ts +8 -0
- package/dist/server/integration-accounts/index.d.ts.map +1 -0
- package/dist/server/integration-accounts/index.js +6 -0
- package/dist/server/integration-accounts/index.js.map +1 -0
- package/dist/server/integration-accounts/integration-availability.d.ts +4 -0
- package/dist/server/integration-accounts/integration-availability.d.ts.map +1 -0
- package/dist/server/integration-accounts/integration-availability.js +19 -0
- package/dist/server/integration-accounts/integration-availability.js.map +1 -0
- package/dist/server/integration-accounts/integrations.d.ts +1166 -0
- package/dist/server/integration-accounts/integrations.d.ts.map +1 -0
- package/dist/server/integration-accounts/integrations.js +355 -0
- package/dist/server/integration-accounts/integrations.js.map +1 -0
- package/dist/server/integration-accounts/internal-service.d.ts +19 -0
- package/dist/server/integration-accounts/internal-service.d.ts.map +1 -0
- package/dist/server/integration-accounts/internal-service.js +39 -0
- package/dist/server/integration-accounts/internal-service.js.map +1 -0
- package/dist/server/integration-accounts/operation-authority.d.ts +36 -0
- package/dist/server/integration-accounts/operation-authority.d.ts.map +1 -0
- package/dist/server/integration-accounts/operation-authority.js +38 -0
- package/dist/server/integration-accounts/operation-authority.js.map +1 -0
- package/dist/server/integration-accounts/operation-http-error.d.ts +12 -0
- package/dist/server/integration-accounts/operation-http-error.d.ts.map +1 -0
- package/dist/server/integration-accounts/operation-http-error.js +16 -0
- package/dist/server/integration-accounts/operation-http-error.js.map +1 -0
- package/dist/server/integration-accounts/operation-receiver.d.ts +13 -0
- package/dist/server/integration-accounts/operation-receiver.d.ts.map +1 -0
- package/dist/server/integration-accounts/operation-receiver.js +210 -0
- package/dist/server/integration-accounts/operation-receiver.js.map +1 -0
- package/dist/server/integration-accounts/plugin.d.ts +8 -0
- package/dist/server/integration-accounts/plugin.d.ts.map +1 -0
- package/dist/server/integration-accounts/plugin.js +43 -0
- package/dist/server/integration-accounts/plugin.js.map +1 -0
- package/dist/server/integration-accounts/resource-secrets.d.ts +125 -0
- package/dist/server/integration-accounts/resource-secrets.d.ts.map +1 -0
- package/dist/server/integration-accounts/resource-secrets.js +21 -0
- package/dist/server/integration-accounts/resource-secrets.js.map +1 -0
- package/dist/server/integration-accounts/schema.d.ts +6 -0
- package/dist/server/integration-accounts/schema.d.ts.map +1 -0
- package/dist/server/integration-accounts/schema.js +10 -0
- package/dist/server/integration-accounts/schema.js.map +1 -0
- package/dist/server/integration-accounts/schemas/account.d.ts +12 -0
- package/dist/server/integration-accounts/schemas/account.d.ts.map +1 -0
- package/dist/server/integration-accounts/schemas/account.js +12 -0
- package/dist/server/integration-accounts/schemas/account.js.map +1 -0
- package/dist/server/integration-accounts/schemas/connection.d.ts +91 -0
- package/dist/server/integration-accounts/schemas/connection.d.ts.map +1 -0
- package/dist/server/integration-accounts/schemas/connection.js +44 -0
- package/dist/server/integration-accounts/schemas/connection.js.map +1 -0
- package/dist/server/integration-accounts/schemas/project-permissions.d.ts +14 -0
- package/dist/server/integration-accounts/schemas/project-permissions.d.ts.map +1 -0
- package/dist/server/integration-accounts/schemas/project-permissions.js +12 -0
- package/dist/server/integration-accounts/schemas/project-permissions.js.map +1 -0
- package/dist/server/integration-accounts/secret-service.d.ts +102 -0
- package/dist/server/integration-accounts/secret-service.d.ts.map +1 -0
- package/dist/server/integration-accounts/secret-service.js +482 -0
- package/dist/server/integration-accounts/secret-service.js.map +1 -0
- package/dist/server/integration-accounts/secret-types.d.ts +87 -0
- package/dist/server/integration-accounts/secret-types.d.ts.map +1 -0
- package/dist/server/integration-accounts/secret-types.js +29 -0
- package/dist/server/integration-accounts/secret-types.js.map +1 -0
- package/dist/server/integration-accounts/secrets.d.ts +345 -0
- package/dist/server/integration-accounts/secrets.d.ts.map +1 -0
- package/dist/server/integration-accounts/secrets.js +101 -0
- package/dist/server/integration-accounts/secrets.js.map +1 -0
- package/dist/server/integration-accounts/store-adapter.d.ts +5 -0
- package/dist/server/integration-accounts/store-adapter.d.ts.map +1 -0
- package/dist/server/integration-accounts/store-adapter.js +88 -0
- package/dist/server/integration-accounts/store-adapter.js.map +1 -0
- package/dist/svelte/command-palette/projects-source.plugin.d.ts +37 -0
- package/dist/svelte/command-palette/projects-source.plugin.d.ts.map +1 -0
- package/dist/svelte/command-palette/projects-source.plugin.js +112 -0
- package/dist/svelte/components/CodeSessionHostPicker.svelte +108 -0
- package/dist/svelte/components/CodeSessionHostPicker.svelte.d.ts +19 -0
- package/dist/svelte/components/CodeSessionHostPicker.svelte.d.ts.map +1 -0
- package/dist/svelte/components/HostCapabilitySelector.svelte +78 -0
- package/dist/svelte/components/HostCapabilitySelector.svelte.d.ts +9 -0
- package/dist/svelte/components/HostCapabilitySelector.svelte.d.ts.map +1 -0
- package/dist/svelte/components/HostProvisionForm.svelte +335 -0
- package/dist/svelte/components/HostProvisionForm.svelte.d.ts +17 -0
- package/dist/svelte/components/HostProvisionForm.svelte.d.ts.map +1 -0
- package/dist/svelte/components/HostSelector.svelte +172 -0
- package/dist/svelte/components/HostSelector.svelte.d.ts +20 -0
- package/dist/svelte/components/HostSelector.svelte.d.ts.map +1 -0
- package/dist/svelte/components/IntegrationConnectionCard.svelte +142 -0
- package/dist/svelte/components/IntegrationConnectionCard.svelte.d.ts +33 -0
- package/dist/svelte/components/IntegrationConnectionCard.svelte.d.ts.map +1 -0
- package/dist/svelte/components/PlatformDeploymentsList.svelte +87 -0
- package/dist/svelte/components/PlatformDeploymentsList.svelte.d.ts +19 -0
- package/dist/svelte/components/PlatformDeploymentsList.svelte.d.ts.map +1 -0
- package/dist/svelte/components/PlatformLoader.svelte +36 -0
- package/dist/svelte/components/PlatformLoader.svelte.d.ts +6 -0
- package/dist/svelte/components/PlatformLoader.svelte.d.ts.map +1 -0
- package/dist/svelte/components/PlatformProvider.svelte +9 -0
- package/dist/svelte/components/PlatformProvider.svelte.d.ts +8 -0
- package/dist/svelte/components/PlatformProvider.svelte.d.ts.map +1 -0
- package/dist/svelte/components/PlatformServiceList.svelte +95 -0
- package/dist/svelte/components/PlatformServiceList.svelte.d.ts +20 -0
- package/dist/svelte/components/PlatformServiceList.svelte.d.ts.map +1 -0
- package/dist/svelte/components/PlatformStatusBadge.svelte +135 -0
- package/dist/svelte/components/PlatformStatusBadge.svelte.d.ts +20 -0
- package/dist/svelte/components/PlatformStatusBadge.svelte.d.ts.map +1 -0
- package/dist/svelte/components/RepositorySelector.svelte +491 -0
- package/dist/svelte/components/RepositorySelector.svelte.d.ts +31 -0
- package/dist/svelte/components/RepositorySelector.svelte.d.ts.map +1 -0
- package/dist/svelte/components/index.d.ts +12 -0
- package/dist/svelte/components/index.d.ts.map +1 -0
- package/dist/svelte/components/index.js +11 -0
- package/dist/svelte/fleets/AddMachineDialog.svelte +633 -0
- package/dist/svelte/fleets/AddMachineDialog.svelte.d.ts +5 -0
- package/dist/svelte/fleets/AddMachineDialog.svelte.d.ts.map +1 -0
- package/dist/svelte/fleets/MachineCard.svelte +161 -0
- package/dist/svelte/fleets/MachineCard.svelte.d.ts +5 -0
- package/dist/svelte/fleets/MachineCard.svelte.d.ts.map +1 -0
- package/dist/svelte/fleets/MachinesPanel.svelte +389 -0
- package/dist/svelte/fleets/MachinesPanel.svelte.d.ts +5 -0
- package/dist/svelte/fleets/MachinesPanel.svelte.d.ts.map +1 -0
- package/dist/svelte/fleets/helpers.d.ts +45 -0
- package/dist/svelte/fleets/helpers.d.ts.map +1 -0
- package/dist/svelte/fleets/helpers.js +113 -0
- package/dist/svelte/fleets/index.d.ts +15 -0
- package/dist/svelte/fleets/index.d.ts.map +1 -0
- package/dist/svelte/fleets/index.js +13 -0
- package/dist/svelte/fleets/styles.css +8 -0
- package/dist/svelte/fleets/types.d.ts +139 -0
- package/dist/svelte/fleets/types.d.ts.map +1 -0
- package/dist/svelte/fleets/types.js +9 -0
- package/dist/svelte/index.d.ts +15 -0
- package/dist/svelte/index.d.ts.map +1 -0
- package/dist/svelte/index.js +13 -0
- package/dist/svelte/integration-catalog.load.d.ts +108 -0
- package/dist/svelte/integration-catalog.load.d.ts.map +1 -0
- package/dist/svelte/integration-catalog.load.js +132 -0
- package/dist/svelte/integration-connect.d.ts +3 -0
- package/dist/svelte/integration-connect.d.ts.map +1 -0
- package/dist/svelte/integration-connect.js +2 -0
- package/dist/svelte/integration-connect.load.d.ts +29 -0
- package/dist/svelte/integration-connect.load.d.ts.map +1 -0
- package/dist/svelte/integration-connect.load.js +22 -0
- package/dist/svelte/loaders.d.ts +59 -0
- package/dist/svelte/loaders.d.ts.map +1 -0
- package/dist/svelte/loaders.js +163 -0
- package/dist/svelte/navigation.d.ts +31 -0
- package/dist/svelte/navigation.d.ts.map +1 -0
- package/dist/svelte/navigation.js +282 -0
- package/dist/svelte/platform-svelte.plugin.d.ts +87 -0
- package/dist/svelte/platform-svelte.plugin.d.ts.map +1 -0
- package/dist/svelte/platform-svelte.plugin.js +28 -0
- package/dist/svelte/repositories-runtime.d.ts +68 -0
- package/dist/svelte/repositories-runtime.d.ts.map +1 -0
- package/dist/svelte/repositories-runtime.js +110 -0
- package/dist/svelte/runtime.d.ts +57 -0
- package/dist/svelte/runtime.d.ts.map +1 -0
- package/dist/svelte/runtime.js +124 -0
- package/dist/svelte/state.svelte.d.ts +71 -0
- package/dist/svelte/state.svelte.d.ts.map +1 -0
- package/dist/svelte/state.svelte.js +235 -0
- package/dist/svelte/storage/components/PlatformChatUploadDialog.svelte +77 -0
- package/dist/svelte/storage/components/PlatformChatUploadDialog.svelte.d.ts +17 -0
- package/dist/svelte/storage/components/PlatformChatUploadDialog.svelte.d.ts.map +1 -0
- package/dist/svelte/storage/components/PlatformStorageUpload.svelte +204 -0
- package/dist/svelte/storage/components/PlatformStorageUpload.svelte.d.ts +22 -0
- package/dist/svelte/storage/components/PlatformStorageUpload.svelte.d.ts.map +1 -0
- package/dist/svelte/storage/index.d.ts +22 -0
- package/dist/svelte/storage/index.d.ts.map +1 -0
- package/dist/svelte/storage/index.js +17 -0
- package/dist/svelte/storage/platform-storage-upload-runtime.d.ts +26 -0
- package/dist/svelte/storage/platform-storage-upload-runtime.d.ts.map +1 -0
- package/dist/svelte/storage/platform-storage-upload-runtime.js +35 -0
- package/dist/svelte/storage/platform-storage-upload.plugin.d.ts +27 -0
- package/dist/svelte/storage/platform-storage-upload.plugin.d.ts.map +1 -0
- package/dist/svelte/storage/platform-storage-upload.plugin.js +45 -0
- package/dist/svelte/storage/stores/platform-storage-uploads.svelte.d.ts +50 -0
- package/dist/svelte/storage/stores/platform-storage-uploads.svelte.d.ts.map +1 -0
- package/dist/svelte/storage/stores/platform-storage-uploads.svelte.js +129 -0
- package/dist/svelte/stores/hosts.svelte.d.ts +32 -0
- package/dist/svelte/stores/hosts.svelte.d.ts.map +1 -0
- package/dist/svelte/stores/hosts.svelte.js +63 -0
- package/dist/svelte/stores/index.d.ts +3 -0
- package/dist/svelte/stores/index.d.ts.map +1 -0
- package/dist/svelte/stores/index.js +2 -0
- package/dist/svelte/stores/repositories.svelte.d.ts +34 -0
- package/dist/svelte/stores/repositories.svelte.d.ts.map +1 -0
- package/dist/svelte/stores/repositories.svelte.js +80 -0
- package/dist/svelte/styles.css +10 -0
- package/dist/svelte/tool-widgets/ComponentsToolCard.svelte +150 -0
- package/dist/svelte/tool-widgets/ComponentsToolCard.svelte.d.ts +5 -0
- package/dist/svelte/tool-widgets/ComponentsToolCard.svelte.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/IntegrationOperationToolCard.svelte +76 -0
- package/dist/svelte/tool-widgets/IntegrationOperationToolCard.svelte.d.ts +5 -0
- package/dist/svelte/tool-widgets/IntegrationOperationToolCard.svelte.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/StorageInspectorToolCard.svelte +133 -0
- package/dist/svelte/tool-widgets/StorageInspectorToolCard.svelte.d.ts +5 -0
- package/dist/svelte/tool-widgets/StorageInspectorToolCard.svelte.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/index.d.ts +4 -0
- package/dist/svelte/tool-widgets/index.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/index.js +3 -0
- package/dist/svelte/tool-widgets/presentation.d.ts +22 -0
- package/dist/svelte/tool-widgets/presentation.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/presentation.js +182 -0
- package/dist/svelte/tool-widgets/utils.d.ts +5 -0
- package/dist/svelte/tool-widgets/utils.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/utils.js +12 -0
- package/dist/tools/components.descriptor.d.ts +177 -0
- package/dist/tools/components.descriptor.d.ts.map +1 -0
- package/dist/tools/components.descriptor.js +116 -0
- package/dist/tools/components.descriptor.js.map +1 -0
- package/dist/tools/components.impl.d.ts +8 -0
- package/dist/tools/components.impl.d.ts.map +1 -0
- package/dist/tools/components.impl.js +119 -0
- package/dist/tools/components.impl.js.map +1 -0
- package/dist/tools/integration-operation.descriptor.d.ts +29 -0
- package/dist/tools/integration-operation.descriptor.d.ts.map +1 -0
- package/dist/tools/integration-operation.descriptor.js +22 -0
- package/dist/tools/integration-operation.descriptor.js.map +1 -0
- package/dist/tools/integration-operation.impl.d.ts +16 -0
- package/dist/tools/integration-operation.impl.d.ts.map +1 -0
- package/dist/tools/integration-operation.impl.js +34 -0
- package/dist/tools/integration-operation.impl.js.map +1 -0
- package/dist/tools/storage-inspector.descriptor.d.ts +55 -0
- package/dist/tools/storage-inspector.descriptor.d.ts.map +1 -0
- package/dist/tools/storage-inspector.descriptor.js +46 -0
- package/dist/tools/storage-inspector.descriptor.js.map +1 -0
- package/dist/tools/storage-inspector.impl.d.ts +8 -0
- package/dist/tools/storage-inspector.impl.d.ts.map +1 -0
- package/dist/tools/storage-inspector.impl.js +136 -0
- package/dist/tools/storage-inspector.impl.js.map +1 -0
- package/dist/tools/workspace-create.descriptor.d.ts +80 -0
- package/dist/tools/workspace-create.descriptor.d.ts.map +1 -0
- package/dist/tools/workspace-create.descriptor.js +49 -0
- package/dist/tools/workspace-create.descriptor.js.map +1 -0
- package/dist/tools/workspace-create.impl.d.ts +15 -0
- package/dist/tools/workspace-create.impl.d.ts.map +1 -0
- package/dist/tools/workspace-create.impl.js +125 -0
- package/dist/tools/workspace-create.impl.js.map +1 -0
- package/dist/tools/workspace-destroy.descriptor.d.ts +38 -0
- package/dist/tools/workspace-destroy.descriptor.d.ts.map +1 -0
- package/dist/tools/workspace-destroy.descriptor.js +33 -0
- package/dist/tools/workspace-destroy.descriptor.js.map +1 -0
- package/dist/tools/workspace-destroy.impl.d.ts +14 -0
- package/dist/tools/workspace-destroy.impl.d.ts.map +1 -0
- package/dist/tools/workspace-destroy.impl.js +73 -0
- package/dist/tools/workspace-destroy.impl.js.map +1 -0
- package/package.json +770 -4
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Platform API Client — Universal Base Impl
|
|
3
|
+
*
|
|
4
|
+
* Scope-neutral base shared by the consumer and cloud variants. Contains the
|
|
5
|
+
* full HTTP client surface (bearer-auth, namespace pass-throughs, deployment
|
|
6
|
+
* helpers). It is universal — `fetch` + env resolvers only, no bun:/node:
|
|
7
|
+
* imports — so it lives in `.impl.ts` (no scope suffix) and survives both the
|
|
8
|
+
* consumer and cloud bundles. The variants differ only in their default origin:
|
|
9
|
+
* - cross-origin (`platform.api-client-crossorigin.impl.ts`): declared service origin.
|
|
10
|
+
* - cloud (`.impl.cloud.ts`): same-origin loopback.
|
|
11
|
+
*
|
|
12
|
+
* NEVER logs the auth token. Every request resolves the caller's bearer at call
|
|
13
|
+
* time through auth's `resolveCallerBearer` (the invocation principal on a
|
|
14
|
+
* request host, the device session on the CLI), so retained namespace objects
|
|
15
|
+
* cannot pin an expired token. A browser presents its cookie instead. The
|
|
16
|
+
* acting organization is an explicit `forActingOrg(id)` choice, never an env
|
|
17
|
+
* read (rc01 §3 "Bridge-key readers").
|
|
18
|
+
*/
|
|
19
|
+
import { BaseRuntimeClient, type RuntimeClientDescriptor } from '@vibesdotdev/kernel/client';
|
|
20
|
+
import { type KindContext, type VibesRuntime, type ToolCallContext } from '@vibesdotdev/kernel';
|
|
21
|
+
import { createPlatformClient } from '../client/http.ts';
|
|
22
|
+
import type { PlatformClientOptions } from '../schemas/client.ts';
|
|
23
|
+
import { type InfrastructureHealthResponse, type ListDeploymentsOptions, type ListDeploymentsResult, type PlatformApiClient } from './platform.api-client.types.ts';
|
|
24
|
+
import type { InfrastructureSummary, UsageSummary } from '../schemas/client.ts';
|
|
25
|
+
/**
|
|
26
|
+
* Runtime port `VibesRuntime` (Runtime SPEC `./client`): caller headers read
|
|
27
|
+
* `declaredScope`, which `RuntimeRef` does not carry, directly and through
|
|
28
|
+
* auth's `resolveCallerBearer` port.
|
|
29
|
+
*/
|
|
30
|
+
export declare class PlatformApiClientBase extends BaseRuntimeClient<VibesRuntime> implements PlatformApiClient {
|
|
31
|
+
protected httpOverrides: Partial<PlatformClientOptions>;
|
|
32
|
+
private apiClient;
|
|
33
|
+
private requestScoped;
|
|
34
|
+
private actingOrgId;
|
|
35
|
+
constructor(descriptor?: RuntimeClientDescriptor, context?: KindContext<VibesRuntime>, runtime?: VibesRuntime);
|
|
36
|
+
configureHttp(overrides: Partial<PlatformClientOptions>): void;
|
|
37
|
+
forRequest(overrides: Partial<PlatformClientOptions>): PlatformApiClient;
|
|
38
|
+
forActingOrg(actingOrgId: string): PlatformApiClient;
|
|
39
|
+
private createFork;
|
|
40
|
+
forToolCall(ctx: ToolCallContext): Promise<PlatformApiClient>;
|
|
41
|
+
getInfrastructureHealth(): Promise<InfrastructureHealthResponse>;
|
|
42
|
+
getInfrastructureSummary(): Promise<InfrastructureSummary>;
|
|
43
|
+
getInfrastructureUsage(): Promise<UsageSummary>;
|
|
44
|
+
listDeployments(options?: ListDeploymentsOptions): Promise<ListDeploymentsResult>;
|
|
45
|
+
get storage(): ReturnType<typeof createPlatformClient>['storage'];
|
|
46
|
+
get databases(): ReturnType<typeof createPlatformClient>['databases'];
|
|
47
|
+
get integrations(): ReturnType<typeof createPlatformClient>['integrations'];
|
|
48
|
+
get secrets(): ReturnType<typeof createPlatformClient>['secrets'];
|
|
49
|
+
get hostnames(): ReturnType<typeof createPlatformClient>['hostnames'];
|
|
50
|
+
get hosts(): ReturnType<typeof createPlatformClient>['hosts'];
|
|
51
|
+
get repositories(): ReturnType<typeof createPlatformClient>['repositories'];
|
|
52
|
+
get daemons(): ReturnType<typeof createPlatformClient>['daemons'];
|
|
53
|
+
get processes(): ReturnType<typeof createPlatformClient>['processes'];
|
|
54
|
+
get scheduledTasks(): ReturnType<typeof createPlatformClient>['scheduledTasks'];
|
|
55
|
+
get infrastructure(): ReturnType<typeof createPlatformClient>['infrastructure'];
|
|
56
|
+
get components(): ReturnType<typeof createPlatformClient>['components'];
|
|
57
|
+
get media(): ReturnType<typeof createPlatformClient>['storage'];
|
|
58
|
+
protected onDispose(): void;
|
|
59
|
+
private getApiClient;
|
|
60
|
+
protected ensureHttpOrigin(): Promise<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The caller's default headers: its bearer (unless the caller supplied an
|
|
63
|
+
* Authorization header, or this is a browser presenting its cookie) and the
|
|
64
|
+
* explicit acting organization. A request-scoped fork carries only what its
|
|
65
|
+
* caller forwarded.
|
|
66
|
+
*/
|
|
67
|
+
private callerHeaders;
|
|
68
|
+
private bearerGet;
|
|
69
|
+
}
|
|
70
|
+
export default PlatformApiClientBase;
|
|
71
|
+
//# sourceMappingURL=platform.api-client.impl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform.api-client.impl.d.ts","sourceRoot":"","sources":["../../src/api/platform.api-client.impl.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,iBAAiB,EAAE,KAAK,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAC7F,OAAO,EAA6E,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAW3K,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAGN,KAAK,4BAA4B,EACjC,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAMhF;;;;GAIG;AACH,qBAAa,qBAAsB,SAAQ,iBAAiB,CAAC,YAAY,CAAE,YAAW,iBAAiB;IACtG,SAAS,CAAC,aAAa,EAAE,OAAO,CAAC,qBAAqB,CAAC,CAAM;IAC7D,OAAO,CAAC,SAAS,CAAwD;IACzE,OAAO,CAAC,aAAa,CAAS;IAC9B,OAAO,CAAC,WAAW,CAAuB;gBAGzC,UAAU,GAAE,uBAAoE,EAChF,OAAO,CAAC,EAAE,WAAW,CAAC,YAAY,CAAC,EACnC,OAAO,CAAC,EAAE,YAAY;IAKvB,aAAa,CAAC,SAAS,EAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,IAAI;IAK9D,UAAU,CAAC,SAAS,EAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,iBAAiB;IAOxE,YAAY,CAAC,WAAW,EAAE,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AI,UAAU,IAAI,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,YAAY,CAAC,CAEtE;IAED,IAAI,KAAK,IAAI,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAE9D;cAEkB,SAAS,IAAI,IAAI;IAMpC,OAAO,CAAC,YAAY;cA0BJ,gBAAgB,IAAI,OAAO,CAAC,MAAM,CAAC;IAanD;;;;;OAKG;YACW,aAAa;YAcb,SAAS;CAoCvB;AAED,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Platform API Client — Universal Base Impl
|
|
3
|
+
*
|
|
4
|
+
* Scope-neutral base shared by the consumer and cloud variants. Contains the
|
|
5
|
+
* full HTTP client surface (bearer-auth, namespace pass-throughs, deployment
|
|
6
|
+
* helpers). It is universal — `fetch` + env resolvers only, no bun:/node:
|
|
7
|
+
* imports — so it lives in `.impl.ts` (no scope suffix) and survives both the
|
|
8
|
+
* consumer and cloud bundles. The variants differ only in their default origin:
|
|
9
|
+
* - cross-origin (`platform.api-client-crossorigin.impl.ts`): declared service origin.
|
|
10
|
+
* - cloud (`.impl.cloud.ts`): same-origin loopback.
|
|
11
|
+
*
|
|
12
|
+
* NEVER logs the auth token. Every request resolves the caller's bearer at call
|
|
13
|
+
* time through auth's `resolveCallerBearer` (the invocation principal on a
|
|
14
|
+
* request host, the device session on the CLI), so retained namespace objects
|
|
15
|
+
* cannot pin an expired token. A browser presents its cookie instead. The
|
|
16
|
+
* acting organization is an explicit `forActingOrg(id)` choice, never an env
|
|
17
|
+
* read (rc01 §3 "Bridge-key readers").
|
|
18
|
+
*/
|
|
19
|
+
import { BaseRuntimeClient } from '@vibesdotdev/kernel/client';
|
|
20
|
+
import { CapabilityError, CaughtFailureSchema, isCapabilityError, valueFreeFailure } from '@vibesdotdev/kernel';
|
|
21
|
+
import * as z from 'zod/v4';
|
|
22
|
+
import { InfrastructureHealthResponseSchema, InfrastructureSummarySchema, UsageSummarySchema, ListDeploymentsResponseSchema } from "./cloud-response.schemas.js";
|
|
23
|
+
import { readTrustedRunContext, requireToolCallerBearer } from '@vibesdotdev/tools/agents/trusted-context';
|
|
24
|
+
import { originOf, serviceEnvironment } from '@vibesdotdev/infra-core/service';
|
|
25
|
+
import { resolveCallerBearer } from '@vibesdotdev/auth/caller-bearer';
|
|
26
|
+
import { createPlatformClient } from "../client/http.js";
|
|
27
|
+
import { platformNotSignedInError, platformRequestRefusedError } from "./platform.api-client.types.js";
|
|
28
|
+
/** The header a non-browser caller uses to say which organization it acts in. */
|
|
29
|
+
const ACTIVE_ORG_HEADER_NAME = 'x-vibes-active-org';
|
|
30
|
+
/**
|
|
31
|
+
* Runtime port `VibesRuntime` (Runtime SPEC `./client`): caller headers read
|
|
32
|
+
* `declaredScope`, which `RuntimeRef` does not carry, directly and through
|
|
33
|
+
* auth's `resolveCallerBearer` port.
|
|
34
|
+
*/
|
|
35
|
+
export class PlatformApiClientBase extends BaseRuntimeClient {
|
|
36
|
+
httpOverrides = {};
|
|
37
|
+
apiClient = null;
|
|
38
|
+
requestScoped = false;
|
|
39
|
+
actingOrgId = null;
|
|
40
|
+
constructor(descriptor = { id: 'platform', kind: 'runtime/client' }, context, runtime) {
|
|
41
|
+
super(descriptor, context, runtime);
|
|
42
|
+
}
|
|
43
|
+
configureHttp(overrides) {
|
|
44
|
+
this.httpOverrides = overrides;
|
|
45
|
+
this.apiClient = null;
|
|
46
|
+
}
|
|
47
|
+
forRequest(overrides) {
|
|
48
|
+
const forked = this.createFork();
|
|
49
|
+
forked.requestScoped = true;
|
|
50
|
+
forked.configureHttp({ credentials: 'omit', ...overrides });
|
|
51
|
+
return forked;
|
|
52
|
+
}
|
|
53
|
+
forActingOrg(actingOrgId) {
|
|
54
|
+
const orgId = actingOrgId.trim();
|
|
55
|
+
if (!orgId)
|
|
56
|
+
throw new Error('forActingOrg requires a non-empty organization id.');
|
|
57
|
+
const forked = this.createFork();
|
|
58
|
+
forked.requestScoped = this.requestScoped;
|
|
59
|
+
forked.actingOrgId = orgId;
|
|
60
|
+
forked.configureHttp({ ...this.httpOverrides });
|
|
61
|
+
return forked;
|
|
62
|
+
}
|
|
63
|
+
createFork() {
|
|
64
|
+
return z.instanceof(PlatformApiClientBase).parse(Reflect.construct(this.constructor, [this.descriptor, undefined, this.runtime]));
|
|
65
|
+
}
|
|
66
|
+
async forToolCall(ctx) {
|
|
67
|
+
const trusted = readTrustedRunContext(ctx);
|
|
68
|
+
if (!trusted.actorUserId || trusted.actorUserId !== trusted.userId)
|
|
69
|
+
throw new Error('Platform tool calls require the authenticated actor');
|
|
70
|
+
const bearer = await requireToolCallerBearer(this.runtime, ctx, 'platform');
|
|
71
|
+
// The declared `platform` service; an undeclared one fails NOT_FOUND.
|
|
72
|
+
const origin = originOf(await this.runtime
|
|
73
|
+
.query('infra/service')
|
|
74
|
+
.withId('platform')
|
|
75
|
+
.resolve(), await serviceEnvironment(this.runtime), 'primary');
|
|
76
|
+
const headers = { authorization: `Bearer ${bearer}` };
|
|
77
|
+
if (trusted.orgId)
|
|
78
|
+
headers[ACTIVE_ORG_HEADER_NAME] = trusted.orgId;
|
|
79
|
+
return this.forRequest({ origin, headers });
|
|
80
|
+
}
|
|
81
|
+
// -- Top-level convenience methods (replaces platform-http.ts) -----------
|
|
82
|
+
async getInfrastructureHealth() {
|
|
83
|
+
return this.bearerGet('/api/infrastructure/health', InfrastructureHealthResponseSchema);
|
|
84
|
+
}
|
|
85
|
+
async getInfrastructureSummary() {
|
|
86
|
+
return this.bearerGet('/api/infrastructure/summary', InfrastructureSummarySchema);
|
|
87
|
+
}
|
|
88
|
+
async getInfrastructureUsage() {
|
|
89
|
+
return this.bearerGet('/api/infrastructure/usage', UsageSummarySchema);
|
|
90
|
+
}
|
|
91
|
+
async listDeployments(options = {}) {
|
|
92
|
+
const qs = new URLSearchParams();
|
|
93
|
+
if (options.service)
|
|
94
|
+
qs.set('service', options.service);
|
|
95
|
+
if (options.limit !== undefined)
|
|
96
|
+
qs.set('limit', String(options.limit));
|
|
97
|
+
const suffix = qs.toString();
|
|
98
|
+
const path = suffix ? `/api/deployments?${suffix}` : '/api/deployments';
|
|
99
|
+
return this.bearerGet(path, ListDeploymentsResponseSchema, () => ({ deployments: [], notImplemented: true }));
|
|
100
|
+
}
|
|
101
|
+
// -- Namespace pass-throughs (preserve existing surface) ----------------
|
|
102
|
+
get storage() {
|
|
103
|
+
return this.getApiClient().storage;
|
|
104
|
+
}
|
|
105
|
+
get databases() {
|
|
106
|
+
return this.getApiClient().databases;
|
|
107
|
+
}
|
|
108
|
+
get integrations() {
|
|
109
|
+
return this.getApiClient().integrations;
|
|
110
|
+
}
|
|
111
|
+
get secrets() {
|
|
112
|
+
return this.getApiClient().secrets;
|
|
113
|
+
}
|
|
114
|
+
get hostnames() {
|
|
115
|
+
return this.getApiClient().hostnames;
|
|
116
|
+
}
|
|
117
|
+
get hosts() {
|
|
118
|
+
return this.getApiClient().hosts;
|
|
119
|
+
}
|
|
120
|
+
get repositories() {
|
|
121
|
+
return this.getApiClient().repositories;
|
|
122
|
+
}
|
|
123
|
+
// codeSessions getter removed — use @vibesdotdev/code-sessions' createSsrCodeSessionsClient.
|
|
124
|
+
get daemons() {
|
|
125
|
+
return this.getApiClient().daemons;
|
|
126
|
+
}
|
|
127
|
+
get processes() {
|
|
128
|
+
return this.getApiClient().processes;
|
|
129
|
+
}
|
|
130
|
+
get scheduledTasks() {
|
|
131
|
+
return this.getApiClient().scheduledTasks;
|
|
132
|
+
}
|
|
133
|
+
get infrastructure() {
|
|
134
|
+
return this.getApiClient().infrastructure;
|
|
135
|
+
}
|
|
136
|
+
get components() {
|
|
137
|
+
return this.getApiClient().components;
|
|
138
|
+
}
|
|
139
|
+
get media() {
|
|
140
|
+
return this.getApiClient().storage;
|
|
141
|
+
}
|
|
142
|
+
onDispose() {
|
|
143
|
+
this.apiClient = null;
|
|
144
|
+
}
|
|
145
|
+
// -- Private --------------------------------------------------------------
|
|
146
|
+
getApiClient() {
|
|
147
|
+
if (!this.apiClient) {
|
|
148
|
+
const configuredResolveHeaders = this.httpOverrides.resolveHeaders;
|
|
149
|
+
const httpOptions = {
|
|
150
|
+
...this.httpOverrides,
|
|
151
|
+
origin: this.httpOverrides.origin ?? '',
|
|
152
|
+
resolveOrigin: async () => {
|
|
153
|
+
const origin = await this.ensureHttpOrigin();
|
|
154
|
+
httpOptions.origin = origin;
|
|
155
|
+
return origin;
|
|
156
|
+
},
|
|
157
|
+
resolveHeaders: async () => {
|
|
158
|
+
// `http.ts` layers the static headers over these; both count as explicit.
|
|
159
|
+
const explicit = new Headers(await configuredResolveHeaders?.());
|
|
160
|
+
const supplied = new Headers(explicit);
|
|
161
|
+
for (const [name, value] of new Headers(this.httpOverrides.headers))
|
|
162
|
+
supplied.set(name, value);
|
|
163
|
+
const headers = await this.callerHeaders(supplied);
|
|
164
|
+
for (const [name, value] of explicit)
|
|
165
|
+
headers.set(name, value);
|
|
166
|
+
return headers;
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
this.apiClient = createPlatformClient(this.runtime, httpOptions);
|
|
170
|
+
}
|
|
171
|
+
return this.apiClient;
|
|
172
|
+
}
|
|
173
|
+
async ensureHttpOrigin() {
|
|
174
|
+
await this.ensureLoaded();
|
|
175
|
+
const origin = this.httpOverrides.origin;
|
|
176
|
+
if (!origin) {
|
|
177
|
+
throw new CapabilityError('Platform API client origin is not configured. Resolve via createPlatformApiClient(runtime) or pass origin in configureHttp().', 'UNAVAILABLE', { reason: 'platform-origin-unconfigured', retryable: false });
|
|
178
|
+
}
|
|
179
|
+
return origin.replace(/\/$/, '');
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* The caller's default headers: its bearer (unless the caller supplied an
|
|
183
|
+
* Authorization header, or this is a browser presenting its cookie) and the
|
|
184
|
+
* explicit acting organization. A request-scoped fork carries only what its
|
|
185
|
+
* caller forwarded.
|
|
186
|
+
*/
|
|
187
|
+
async callerHeaders(explicit) {
|
|
188
|
+
const headers = new Headers();
|
|
189
|
+
if (this.requestScoped)
|
|
190
|
+
return headers;
|
|
191
|
+
if (!explicit.has('authorization') && this.runtime.declaredScope.surface !== 'browser') {
|
|
192
|
+
const bearer = await resolveCallerBearer(this.runtime);
|
|
193
|
+
if (bearer) {
|
|
194
|
+
headers.set('authorization', `Bearer ${bearer}`);
|
|
195
|
+
headers.set('accept', 'application/json');
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
if (this.actingOrgId)
|
|
199
|
+
headers.set(ACTIVE_ORG_HEADER_NAME, this.actingOrgId);
|
|
200
|
+
return headers;
|
|
201
|
+
}
|
|
202
|
+
async bearerGet(path, schema, missing) {
|
|
203
|
+
const origin = await this.ensureHttpOrigin();
|
|
204
|
+
const url = `${origin}${path}`;
|
|
205
|
+
const fetchFn = this.httpOverrides.fetch ?? globalThis.fetch;
|
|
206
|
+
const explicit = new Headers(await this.httpOverrides.resolveHeaders?.());
|
|
207
|
+
for (const [name, value] of new Headers(this.httpOverrides.headers))
|
|
208
|
+
explicit.set(name, value);
|
|
209
|
+
const headers = await this.callerHeaders(explicit);
|
|
210
|
+
headers.set('accept', 'application/json');
|
|
211
|
+
for (const [name, value] of explicit)
|
|
212
|
+
headers.set(name, value);
|
|
213
|
+
let response;
|
|
214
|
+
try {
|
|
215
|
+
response = await fetchFn(url, { method: 'GET', headers, credentials: this.httpOverrides.credentials });
|
|
216
|
+
}
|
|
217
|
+
catch (error) {
|
|
218
|
+
const failure = CaughtFailureSchema.parse(error);
|
|
219
|
+
if (isCapabilityError(failure))
|
|
220
|
+
throw failure;
|
|
221
|
+
throw new CapabilityError('The Platform request could not be completed.', 'UNAVAILABLE', {
|
|
222
|
+
reason: 'platform-request-failed', details: { failure: valueFreeFailure(failure) }
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
if (response.status === 404 && missing)
|
|
226
|
+
return missing();
|
|
227
|
+
if (response.status === 401) {
|
|
228
|
+
throw platformNotSignedInError();
|
|
229
|
+
}
|
|
230
|
+
if (!response.ok) {
|
|
231
|
+
throw platformRequestRefusedError(response.status);
|
|
232
|
+
}
|
|
233
|
+
try {
|
|
234
|
+
return schema.parse(await response.json());
|
|
235
|
+
}
|
|
236
|
+
catch (error) {
|
|
237
|
+
const failure = CaughtFailureSchema.parse(error);
|
|
238
|
+
if (isCapabilityError(failure))
|
|
239
|
+
throw failure;
|
|
240
|
+
throw new CapabilityError('The Platform service returned an invalid response.', 'UNAVAILABLE', {
|
|
241
|
+
reason: 'platform-response-invalid', details: { status: response.status, failure: valueFreeFailure(failure) }
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
export default PlatformApiClientBase;
|
|
247
|
+
//# sourceMappingURL=platform.api-client.impl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform.api-client.impl.js","sourceRoot":"","sources":["../../src/api/platform.api-client.impl.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,iBAAiB,EAAgC,MAAM,4BAA4B,CAAC;AAC7F,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,gBAAgB,EAA6D,MAAM,qBAAqB,CAAC;AAC3K,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,kCAAkC,EAAE,2BAA2B,EAAE,kBAAkB,EAAE,6BAA6B,EAAE,MAAM,6BAA6B,CAAC;AACjK,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAC3G,OAAO,EACN,QAAQ,EACR,kBAAkB,EAGlB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEzD,OAAO,EACN,wBAAwB,EACxB,2BAA2B,EAK3B,MA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gBAAE,MAAM,OAAO,CAAC;YAC9C,MAAM,IAAI,eAAe,CAAC,oDAAoD,EAAE,aAAa,EAAE;gBAC9F,MAAM,EAAE,2BAA2B,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,QAAQ,CAAC,MAAM,EAAE,OAAO,EAAE,gBAAgB,CAAC,OAAO,CAAC,EAAE;aAC7G,CAAC,CAAC;QACJ,CAAC;IACF,CAAC;CACD;AAED,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Platform API Client — Types
|
|
3
|
+
*
|
|
4
|
+
* Public interface every `PlatformApiClient` implementation MUST satisfy.
|
|
5
|
+
* Both `platform.api-client-crossorigin.impl.ts` (cross-origin bearer-token) and
|
|
6
|
+
* `api-client.impl.cloud.ts` (in-process) implement this contract so
|
|
7
|
+
* consumers (`getVibesClient<PlatformApiClient>('platform', runtime)`) can resolve
|
|
8
|
+
* a uniform surface regardless of scope.
|
|
9
|
+
*
|
|
10
|
+
* Surface coverage:
|
|
11
|
+
* - Infrastructure aggregate endpoints (CLI status/services command).
|
|
12
|
+
* - Recent deployments (graceful 404 when the endpoint isn't deployed).
|
|
13
|
+
* - Existing namespace getters (`.hosts`, `.processes`, `.daemons`, …)
|
|
14
|
+
* carried over from the prior `PlatformClient` so all current consumers
|
|
15
|
+
* migrate in one step rather than fragmenting the surface.
|
|
16
|
+
*/
|
|
17
|
+
import type { RuntimeClient } from '@vibesdotdev/kernel/client';
|
|
18
|
+
import { CapabilityError, type CaughtFailure, type ToolCallContext } from '@vibesdotdev/kernel';
|
|
19
|
+
import type { CodeSessionRuntimeConfig, SessionHostTarget } from '@vibesdotdev/agent-execution/code-session';
|
|
20
|
+
import type { VibesLink } from '@vibesdotdev/shared/schemas';
|
|
21
|
+
import type { createPlatformClient } from '../client/http.ts';
|
|
22
|
+
import type { HealthStatus, InfrastructureSummary, PlatformClientOptions, UsageSummary } from '../schemas/client.ts';
|
|
23
|
+
/** Aggregator response from `/api/infrastructure/health`. */
|
|
24
|
+
export type { InfrastructureHealthResponse } from '../schemas/infrastructure.ts';
|
|
25
|
+
import type { InfrastructureHealthResponse } from '../schemas/infrastructure.ts';
|
|
26
|
+
export interface DeploymentRow {
|
|
27
|
+
id: string;
|
|
28
|
+
service: string;
|
|
29
|
+
version: string;
|
|
30
|
+
environment: string;
|
|
31
|
+
status: 'succeeded' | 'failed' | 'in_progress' | 'rolled_back' | string;
|
|
32
|
+
deployedAt: string;
|
|
33
|
+
deployedBy?: string | null;
|
|
34
|
+
notes?: string | null;
|
|
35
|
+
}
|
|
36
|
+
export interface ListDeploymentsOptions {
|
|
37
|
+
/** Filter to deployments for a specific service id/name. */
|
|
38
|
+
service?: string;
|
|
39
|
+
/** Maximum number of rows. */
|
|
40
|
+
limit?: number;
|
|
41
|
+
}
|
|
42
|
+
export interface ListDeploymentsResult {
|
|
43
|
+
deployments: DeploymentRow[];
|
|
44
|
+
/** True when the endpoint returned 404 — caller renders the "not implemented" notice. */
|
|
45
|
+
notImplemented?: boolean;
|
|
46
|
+
}
|
|
47
|
+
export type PlatformCodeSessionStatus = 'initializing' | 'active' | 'error' | 'ended';
|
|
48
|
+
/**
|
|
49
|
+
* Optional seed context attached at create time — the task/intent a session was
|
|
50
|
+
* opened FOR (e.g. from a work item). Carried on the record so surfaces can show
|
|
51
|
+
* "this session is for <title>", and merged into the sandbox environment as
|
|
52
|
+
* `VIBES_SEED_*` so an agent or setup script inside the workspace can pick it up.
|
|
53
|
+
* Source-tagged (not work-item-specific) so future seeds — an issue, a PR — fit
|
|
54
|
+
* the same field.
|
|
55
|
+
*/
|
|
56
|
+
export interface CodeSessionSeed {
|
|
57
|
+
/** Where the seed came from, e.g. `'work-item'`. */
|
|
58
|
+
source: string;
|
|
59
|
+
/** Human-readable task title. */
|
|
60
|
+
title: string;
|
|
61
|
+
/** Originating record id (e.g. the work item id), if any. */
|
|
62
|
+
ref?: string;
|
|
63
|
+
/** Longer task description / body, if any. */
|
|
64
|
+
body?: string;
|
|
65
|
+
}
|
|
66
|
+
export interface PlatformCodeSessionRecord {
|
|
67
|
+
sessionId: string;
|
|
68
|
+
repositoryId: string | null;
|
|
69
|
+
repositoryName: string | null;
|
|
70
|
+
ephemeral?: boolean;
|
|
71
|
+
hostTarget: SessionHostTarget;
|
|
72
|
+
runtimeConfig: CodeSessionRuntimeConfig;
|
|
73
|
+
status: PlatformCodeSessionStatus;
|
|
74
|
+
/**
|
|
75
|
+
* Why the session is in this status, when the status alone is not actionable.
|
|
76
|
+
*
|
|
77
|
+
* Set when preparation fails AFTER the create request has already been
|
|
78
|
+
* answered: at that point the record is the only place the reason can reach the
|
|
79
|
+
* person, because there is no longer a response to put it in.
|
|
80
|
+
*/
|
|
81
|
+
statusReason?: string;
|
|
82
|
+
previewUrl: string | null;
|
|
83
|
+
workspacePath: string;
|
|
84
|
+
checkoutRef: string | null;
|
|
85
|
+
ownerType: 'user' | 'organization';
|
|
86
|
+
ownerId: string;
|
|
87
|
+
createdAt: string;
|
|
88
|
+
lastActivityAt: string;
|
|
89
|
+
/**
|
|
90
|
+
* ISO timestamp of the last incremental usage emission for this session.
|
|
91
|
+
* Written by the code-session metering cron
|
|
92
|
+
* (`/api/internal/code-sessions/meter`) after each billable delta so the
|
|
93
|
+
* next tick — and the final teardown emit — only bills compute accrued
|
|
94
|
+
* since this instant (never double-counting from `createdAt`). Absent for
|
|
95
|
+
* sessions that have never been metered (delta then falls back to
|
|
96
|
+
* `createdAt`).
|
|
97
|
+
*/
|
|
98
|
+
lastMeteredAt?: string;
|
|
99
|
+
/**
|
|
100
|
+
* Seed context this session was opened for (see {@link CodeSessionSeed}).
|
|
101
|
+
* Absent for sessions created without a seed. Persisted verbatim in the
|
|
102
|
+
* per-owner JSON document, so surfaces can render "opened for <title>".
|
|
103
|
+
*/
|
|
104
|
+
seed?: CodeSessionSeed;
|
|
105
|
+
/**
|
|
106
|
+
* Cross-domain references to other units of work (work items, forge
|
|
107
|
+
* issues, projects, etc.). Uses the shared {@link VibesLink} envelope so
|
|
108
|
+
* the code session — the one unit-of-work owner that previously had no
|
|
109
|
+
* outbound links — can participate in the same relationship graph as
|
|
110
|
+
* workboard, work, autoloop, and applet records.
|
|
111
|
+
*/
|
|
112
|
+
links?: VibesLink[];
|
|
113
|
+
}
|
|
114
|
+
export interface ListPlatformCodeSessionsOptions {
|
|
115
|
+
status?: PlatformCodeSessionStatus;
|
|
116
|
+
}
|
|
117
|
+
export interface CreatePlatformCodeSessionInput {
|
|
118
|
+
repositoryId?: string;
|
|
119
|
+
ephemeral?: boolean;
|
|
120
|
+
checkoutRef?: string;
|
|
121
|
+
hostTarget?: SessionHostTarget;
|
|
122
|
+
runtimeConfig?: CodeSessionRuntimeConfig;
|
|
123
|
+
initialEnv?: Record<string, string>;
|
|
124
|
+
exposedPorts?: string[];
|
|
125
|
+
/** Seed context to attach to the session (see {@link CodeSessionSeed}). */
|
|
126
|
+
seed?: CodeSessionSeed;
|
|
127
|
+
/** Links to attach to the session record at creation time. */
|
|
128
|
+
links?: VibesLink[];
|
|
129
|
+
}
|
|
130
|
+
/** @deprecated — removed. Use @vibesdotdev/code-sessions' createSsrCodeSessionsClient instead. */
|
|
131
|
+
export interface PlatformCodeSessionsClient {
|
|
132
|
+
list(options?: ListPlatformCodeSessionsOptions): Promise<PlatformCodeSessionRecord[]>;
|
|
133
|
+
get(sessionId: string): Promise<PlatformCodeSessionRecord>;
|
|
134
|
+
create(input: CreatePlatformCodeSessionInput): Promise<PlatformCodeSessionRecord>;
|
|
135
|
+
delete(sessionId: string): Promise<void>;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Canonical PlatformApiClient. Surfaces consume this via
|
|
139
|
+
* `getVibesClient<PlatformApiClient>('platform', runtime)`.
|
|
140
|
+
*
|
|
141
|
+
* The namespace getters (`.hosts`, `.processes`, …) delegate to the
|
|
142
|
+
* underlying `createPlatformClient()` HTTP transport; they preserve the rich
|
|
143
|
+
* surface area existing consumers already depend on. The top-level
|
|
144
|
+
* methods (`getInfrastructure*`, `listDeployments`) are the CLI / Svelte
|
|
145
|
+
* loader surface that previously reinvented bare `fetch` calls.
|
|
146
|
+
*/
|
|
147
|
+
export interface PlatformApiClient extends RuntimeClient {
|
|
148
|
+
/** Idempotent lazy init — matches the `BaseRuntimeClient` lifecycle. */
|
|
149
|
+
ensureLoaded(): Promise<void>;
|
|
150
|
+
/**
|
|
151
|
+
* Override the underlying HTTP client (cookies, headers, fetch impl)
|
|
152
|
+
* IN PLACE — mutates this instance. Suitable for single-process callers
|
|
153
|
+
* (CLI, browser). NEVER call from SSR `+server.ts` handlers; concurrent
|
|
154
|
+
* requests would race. SSR callers MUST use `forRequest(...)`.
|
|
155
|
+
*/
|
|
156
|
+
configureHttp(overrides: Partial<PlatformClientOptions>): void;
|
|
157
|
+
/**
|
|
158
|
+
* Fork this client into a per-request instance bound to the given HTTP
|
|
159
|
+
* overrides (origin / fetch / headers). Returns a NEW `PlatformApiClient`
|
|
160
|
+
* — does NOT mutate `this`. Use from SvelteKit `+server.ts` handlers and
|
|
161
|
+
* any other SSR per-request context. Ambient bearer/org defaults are
|
|
162
|
+
* excluded; identity is an explicit `Authorization` header.
|
|
163
|
+
*
|
|
164
|
+
* export async function load(event) {
|
|
165
|
+
* const platform = (await getVibesPlatformClient(runtime)).forRequest({
|
|
166
|
+
* origin: PUBLIC_VIBES_PLATFORM_ORIGIN,
|
|
167
|
+
* fetch: event.fetch,
|
|
168
|
+
* headers: { authorization: `Bearer ${event.locals.sessionToken}` }
|
|
169
|
+
* });
|
|
170
|
+
* return await platform.hosts.list();
|
|
171
|
+
* }
|
|
172
|
+
*/
|
|
173
|
+
forRequest(overrides: Partial<PlatformClientOptions>): PlatformApiClient;
|
|
174
|
+
/**
|
|
175
|
+
* Fork that acts in `actingOrgId` (`x-vibes-active-org`): a Bearer caller has
|
|
176
|
+
* no `activeOrg` cookie, so the caller names the organization explicitly.
|
|
177
|
+
*/
|
|
178
|
+
forActingOrg(actingOrgId: string): PlatformApiClient;
|
|
179
|
+
/** Fork with only the authenticated tool caller's credentials and active organization. */
|
|
180
|
+
forToolCall(ctx: ToolCallContext): Promise<PlatformApiClient>;
|
|
181
|
+
/** GET /api/infrastructure/health — aggregated per-service health. */
|
|
182
|
+
getInfrastructureHealth(): Promise<InfrastructureHealthResponse>;
|
|
183
|
+
/** GET /api/infrastructure/summary — counts + totals. */
|
|
184
|
+
getInfrastructureSummary(): Promise<InfrastructureSummary>;
|
|
185
|
+
/** GET /api/infrastructure/usage — bytes/operations counters. */
|
|
186
|
+
getInfrastructureUsage(): Promise<UsageSummary>;
|
|
187
|
+
/**
|
|
188
|
+
* GET /api/deployments — recent deployments. Returns `notImplemented:true`
|
|
189
|
+
* when platform-web has no /api/deployments endpoint yet (Wave 4 finding).
|
|
190
|
+
*/
|
|
191
|
+
listDeployments(options?: ListDeploymentsOptions): Promise<ListDeploymentsResult>;
|
|
192
|
+
readonly storage: ReturnType<typeof createPlatformClient>['storage'];
|
|
193
|
+
readonly databases: ReturnType<typeof createPlatformClient>['databases'];
|
|
194
|
+
readonly integrations: ReturnType<typeof createPlatformClient>['integrations'];
|
|
195
|
+
readonly secrets: ReturnType<typeof createPlatformClient>['secrets'];
|
|
196
|
+
readonly hostnames: ReturnType<typeof createPlatformClient>['hostnames'];
|
|
197
|
+
readonly hosts: ReturnType<typeof createPlatformClient>['hosts'];
|
|
198
|
+
readonly repositories: ReturnType<typeof createPlatformClient>['repositories'];
|
|
199
|
+
readonly daemons: ReturnType<typeof createPlatformClient>['daemons'];
|
|
200
|
+
readonly processes: ReturnType<typeof createPlatformClient>['processes'];
|
|
201
|
+
readonly scheduledTasks: ReturnType<typeof createPlatformClient>['scheduledTasks'];
|
|
202
|
+
readonly infrastructure: ReturnType<typeof createPlatformClient>['infrastructure'];
|
|
203
|
+
readonly components: ReturnType<typeof createPlatformClient>['components'];
|
|
204
|
+
readonly media: ReturnType<typeof createPlatformClient>['storage'];
|
|
205
|
+
}
|
|
206
|
+
/** `AUTH_REQUIRED` when the Platform service answers 401: no caller bearer. */
|
|
207
|
+
export declare const PLATFORM_NOT_SIGNED_IN_REASON = "platform-not-signed-in";
|
|
208
|
+
/** `UNAVAILABLE` when the Platform service refuses with any other non-2xx status. */
|
|
209
|
+
export declare const PLATFORM_REQUEST_REFUSED_REASON = "platform-request-refused";
|
|
210
|
+
export declare function platformNotSignedInError(): CapabilityError;
|
|
211
|
+
export declare function platformRequestRefusedError(status: number): CapabilityError;
|
|
212
|
+
export declare function isPlatformNotSignedIn(error: CaughtFailure): error is CapabilityError;
|
|
213
|
+
/**
|
|
214
|
+
* The `{ status, message }` of a Platform HTTP refusal, or null when `error`
|
|
215
|
+
* is not one. Matches both refusal reasons; a refusal without a numeric
|
|
216
|
+
* status in details is not a refusal. The message is factory-owned stable
|
|
217
|
+
* text — read from the matching factory, never from the matched error, so a
|
|
218
|
+
* hostile message on the same reason cannot reach a rendered surface.
|
|
219
|
+
*/
|
|
220
|
+
export declare function platformRequestRefusal(error: CaughtFailure): {
|
|
221
|
+
status: number;
|
|
222
|
+
message: string;
|
|
223
|
+
} | null;
|
|
224
|
+
export type { HealthStatus, InfrastructureSummary, UsageSummary };
|
|
225
|
+
//# sourceMappingURL=platform.api-client.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform.api-client.types.d.ts","sourceRoot":"","sources":["../../src/api/platform.api-client.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAqB,KAAK,aAAa,EAAE,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEnH,OAAO,KAAK,EACX,wBAAwB,EACxB,iBAAiB,EACjB,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,KAAK,EAAE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MAAM,EAAE,MAAM,GAAG,eAAe,CAK3E;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,aAAa,GAAG,KAAK,IAAI,eAAe,CAEpF;AAID;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,aAAa,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CASvG;AAID,YAAY,EAAE,YAAY,EAAE,qBAAqB,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Platform API Client — Types
|
|
3
|
+
*
|
|
4
|
+
* Public interface every `PlatformApiClient` implementation MUST satisfy.
|
|
5
|
+
* Both `platform.api-client-crossorigin.impl.ts` (cross-origin bearer-token) and
|
|
6
|
+
* `api-client.impl.cloud.ts` (in-process) implement this contract so
|
|
7
|
+
* consumers (`getVibesClient<PlatformApiClient>('platform', runtime)`) can resolve
|
|
8
|
+
* a uniform surface regardless of scope.
|
|
9
|
+
*
|
|
10
|
+
* Surface coverage:
|
|
11
|
+
* - Infrastructure aggregate endpoints (CLI status/services command).
|
|
12
|
+
* - Recent deployments (graceful 404 when the endpoint isn't deployed).
|
|
13
|
+
* - Existing namespace getters (`.hosts`, `.processes`, `.daemons`, …)
|
|
14
|
+
* carried over from the prior `PlatformClient` so all current consumers
|
|
15
|
+
* migrate in one step rather than fragmenting the surface.
|
|
16
|
+
*/
|
|
17
|
+
import { CapabilityError, isCapabilityError } from '@vibesdotdev/kernel';
|
|
18
|
+
import * as z from 'zod/v4';
|
|
19
|
+
// -- Errors ------------------------------------------------------------------
|
|
20
|
+
//
|
|
21
|
+
// HTTP failures are canonical `CapabilityError`s, never Error subclasses.
|
|
22
|
+
// Both refusals carry the HTTP status in `details.status`; callers match by
|
|
23
|
+
// reason (`isPlatformNotSignedIn`, `platformRequestRefusal`), never by class.
|
|
24
|
+
/** `AUTH_REQUIRED` when the Platform service answers 401: no caller bearer. */
|
|
25
|
+
export const PLATFORM_NOT_SIGNED_IN_REASON = 'platform-not-signed-in';
|
|
26
|
+
/** `UNAVAILABLE` when the Platform service refuses with any other non-2xx status. */
|
|
27
|
+
export const PLATFORM_REQUEST_REFUSED_REASON = 'platform-request-refused';
|
|
28
|
+
export function platformNotSignedInError() {
|
|
29
|
+
return new CapabilityError('Not signed in to platform.vibes.dev. Run `vibes auth login`.', 'AUTH_REQUIRED', {
|
|
30
|
+
reason: PLATFORM_NOT_SIGNED_IN_REASON,
|
|
31
|
+
details: { status: 401 }
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
export function platformRequestRefusedError(status) {
|
|
35
|
+
return new CapabilityError('The Platform service refused the request.', 'UNAVAILABLE', {
|
|
36
|
+
reason: PLATFORM_REQUEST_REFUSED_REASON,
|
|
37
|
+
details: { status }
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
export function isPlatformNotSignedIn(error) {
|
|
41
|
+
return isCapabilityError(error) && error.reason === PLATFORM_NOT_SIGNED_IN_REASON;
|
|
42
|
+
}
|
|
43
|
+
const PlatformRefusalDetailsSchema = z.object({ status: z.number() });
|
|
44
|
+
/**
|
|
45
|
+
* The `{ status, message }` of a Platform HTTP refusal, or null when `error`
|
|
46
|
+
* is not one. Matches both refusal reasons; a refusal without a numeric
|
|
47
|
+
* status in details is not a refusal. The message is factory-owned stable
|
|
48
|
+
* text — read from the matching factory, never from the matched error, so a
|
|
49
|
+
* hostile message on the same reason cannot reach a rendered surface.
|
|
50
|
+
*/
|
|
51
|
+
export function platformRequestRefusal(error) {
|
|
52
|
+
if (!isCapabilityError(error))
|
|
53
|
+
return null;
|
|
54
|
+
const details = PlatformRefusalDetailsSchema.safeParse(error.details);
|
|
55
|
+
if (!details.success)
|
|
56
|
+
return null;
|
|
57
|
+
if (error.reason === PLATFORM_NOT_SIGNED_IN_REASON)
|
|
58
|
+
return { status: details.data.status, message: platformNotSignedInError().message };
|
|
59
|
+
if (error.reason === PLATFORM_REQUEST_REFUSED_REASON)
|
|
60
|
+
return { status: details.data.status, message: platformRequestRefusedError(details.data.status).message };
|
|
61
|
+
return null;
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=platform.api-client.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform.api-client.types.js","sourceRoot":"","sources":["../../src/api/platform.api-client.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAA4C,MAAM,qBAAqB,CAAC;AACnH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AA8N5B,+EAA+E;AAC/E,EAAE;AACF,0EAA0E;AAC1E,4EAA4E;AAC5E,8EAA8E;AAE9E,+EAA+E;AAC/E,MAAM,CAAC,MAAM,6BAA6B,GAAG,wBAAwB,CAAC;AACtE,qFAAqF;AACrF,MAAM,CAAC,MAAM,+BAA+B,GAAG,0BAA0B,CAAC;AAE1E,MAAM,UAAU,wBAAwB;IACvC,OAAO,IAAI,eAAe,CAAC,8DAA8D,EAAE,eAAe,EAAE;QAC3G,MAAM,EAAE,6BAA6B;QACrC,OAAO,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE;KACxB,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,2BAA2B,CAAC,MAAc;IACzD,OAAO,IAAI,eAAe,CAAC,2CAA2C,EAAE,aAAa,EAAE;QACtF,MAAM,EAAE,+BAA+B;QACvC,OAAO,EAAE,EAAE,MAAM,EAAE;KACnB,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,KAAoB;IACzD,OAAO,iBAAiB,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,6BAA6B,CAAC;AACnF,CAAC;AAED,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,C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