@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,44 @@
|
|
|
1
|
+
import * as z from 'zod/v4';
|
|
2
|
+
import { EnvironmentTierSchema } from '@vibesdotdev/kernel';
|
|
3
|
+
import { IntegrationConfigValueSchema } from '@vibesdotdev/integrations/schemas/integration-descriptor';
|
|
4
|
+
const SECRET_NAME_PATTERN = /^[A-Za-z_][A-Za-z0-9_]{0,127}$/;
|
|
5
|
+
export const CiJobSecretDelegationInputSchema = z.object({
|
|
6
|
+
actionRunId: z.uuid(),
|
|
7
|
+
step: z.string().trim().min(1).max(160),
|
|
8
|
+
ownerType: z.enum(['user', 'organization']),
|
|
9
|
+
ownerId: z.string().trim().min(1),
|
|
10
|
+
targetTier: EnvironmentTierSchema.optional()
|
|
11
|
+
}).strict();
|
|
12
|
+
export const CiJobSecretReadRequestSchema = CiJobSecretDelegationInputSchema.extend({
|
|
13
|
+
secretName: z.string().regex(SECRET_NAME_PATTERN)
|
|
14
|
+
}).strict();
|
|
15
|
+
export const VerifiedCiJobSecretAuthoritySchema = CiJobSecretDelegationInputSchema.extend({
|
|
16
|
+
attemptId: z.uuid(),
|
|
17
|
+
targetTier: EnvironmentTierSchema,
|
|
18
|
+
allowedSecrets: z.array(z.string().regex(SECRET_NAME_PATTERN)).min(1)
|
|
19
|
+
}).strict();
|
|
20
|
+
export const ConnectionConfigSchema = z.record(z.string(), IntegrationConfigValueSchema);
|
|
21
|
+
export const MailIdentitySchema = z.object({
|
|
22
|
+
fromEmail: z.string().trim().optional(),
|
|
23
|
+
fromName: z.string().trim().optional()
|
|
24
|
+
});
|
|
25
|
+
export const CredentialStateSchema = z.object({
|
|
26
|
+
expiresAt: z.string().nullable().optional(),
|
|
27
|
+
status: z.string().optional()
|
|
28
|
+
});
|
|
29
|
+
export const DeploymentAuthoritySchema = z.object({
|
|
30
|
+
deploymentId: z.string().trim().min(1),
|
|
31
|
+
agentId: z.string().trim().min(1),
|
|
32
|
+
ownerUserId: z.string().trim().min(1),
|
|
33
|
+
organizationId: z.string().optional(),
|
|
34
|
+
integrationId: z.string().trim().min(1),
|
|
35
|
+
sourceId: z.string().trim().min(1),
|
|
36
|
+
channelId: z.string().trim().min(1),
|
|
37
|
+
guildId: z.string().optional(),
|
|
38
|
+
connectionId: z.string().optional()
|
|
39
|
+
});
|
|
40
|
+
export const DeploymentVerificationSchema = z.object({
|
|
41
|
+
allowed: z.boolean().optional(),
|
|
42
|
+
authority: DeploymentAuthoritySchema.optional()
|
|
43
|
+
});
|
|
44
|
+
//# sourceMappingURL=connection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../../../../src/server/integration-accounts/schemas/connection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,qBAAqB,EAAqB,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EAAE,4BAA4B,EAAE,MAAM,0DAA0D,CAAC;AAGxG,MAAM,mBAAmB,GAAG,gCAAgC,CAAC;AAE7D,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IACxD,WAAW,EAAE,CAAC,CAAC,IAAI,EAAE;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IACvC,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IAC3C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACjC,UAAU,EAAE,qBAAqB,CAAC,QAAQ,EAAE;CAC5C,CAAC,CAAC,MAAM,EAAE,CAAC;AAGZ,MAAM,CAAC,MAAM,4BAA4B,GAAG,gCAAgC,CAAC,MAAM,CAAC;IACnF,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,mBAAmB,CAAC;CACjD,CAAC,CAAC,MAAM,EAAE,CAAC;AAGZ,MAAM,CAAC,MAAM,kCAAkC,GAAG,gCAAgC,CAAC,MAAM,CAAC;IACzF,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE;IACnB,UAAU,EAAE,qBAAqB;IACjC,cAAc,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;CACrE,CAAC,CAAC,MAAM,EAAE,CAAC;AASZ,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,4BAA4B,CAAC,CAAC;AACzF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACvC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC3C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC7B,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACtC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACjC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACrC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAClC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACnC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B,SAAS,EAAE,yBAAyB,CAAC,QAAQ,EAAE;CAC/C,CAAC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CapabilityError } from '@vibesdotdev/kernel';
|
|
2
|
+
export interface ProjectPermissionCheckInput {
|
|
3
|
+
userId: string;
|
|
4
|
+
projectId: string;
|
|
5
|
+
permission: SecretProjectPermission;
|
|
6
|
+
}
|
|
7
|
+
export type SecretProjectPermission = 'secrets:read' | 'secrets:write' | 'secrets:delete';
|
|
8
|
+
export type ProjectPermissionChecker = (input: ProjectPermissionCheckInput) => Promise<boolean> | boolean;
|
|
9
|
+
export declare class ProjectPermissionCheckerNotConfiguredError extends CapabilityError {
|
|
10
|
+
readonly permission: SecretProjectPermission;
|
|
11
|
+
readonly projectId: string;
|
|
12
|
+
constructor(permission: SecretProjectPermission, projectId: string);
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=project-permissions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-permissions.d.ts","sourceRoot":"","sources":["../../../../src/server/integration-accounts/schemas/project-permissions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,MAAM,WAAW,2BAA2B;IAC3C,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,uBAAuB,CAAC;CACpC;AAED,MAAM,MAAM,uBAAuB,GAAG,cAAc,GAAG,eAAe,GAAG,gBAAgB,CAAC;AAE1F,MAAM,MAAM,wBAAwB,GAAG,CACtC,KAAK,EAAE,2BAA2B,KAC9B,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;AAEhC,qBAAa,0CAA2C,SAAQ,eAAe;IAC9E,QAAQ,CAAC,UAAU,EAAE,uBAAuB,CAAC;IAC7C,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;gBACf,UAAU,EAAE,uBAAuB,EAAE,SAAS,EAAE,MAAM;CAQlE"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CapabilityError } from '@vibesdotdev/kernel';
|
|
2
|
+
export class ProjectPermissionCheckerNotConfiguredError extends CapabilityError {
|
|
3
|
+
permission;
|
|
4
|
+
projectId;
|
|
5
|
+
constructor(permission, projectId) {
|
|
6
|
+
super('Project permission checker is not configured.', 'UNAVAILABLE', { reason: 'project-permission-checker-not-configured' });
|
|
7
|
+
this.name = 'ProjectPermissionCheckerNotConfiguredError';
|
|
8
|
+
this.permission = permission;
|
|
9
|
+
this.projectId = projectId;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=project-permissions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-permissions.js","sourceRoot":"","sources":["../../../../src/server/integration-accounts/schemas/project-permissions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AActD,MAAM,OAAO,0CAA2C,SAAQ,eAAe;IACrE,UAAU,CAA0B;IACpC,SAAS,CAAS;IAC3B,YAAY,UAAmC,EAAE,SAAiB;QACjE,KAAK,CACJ,+CAA+C,EAAE,aAAa,EAAE,EAAE,MAAM,EAAE,2CAA2C,EAAE,CACvH,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,4CAA4C,CAAC;QACzD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC5B,CAAC;CACD"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { type SelectedSecret, type Secret } from './secrets';
|
|
2
|
+
import { type RuntimeRef } from '@vibesdotdev/kernel';
|
|
3
|
+
import { type CreateSecretInput, type UpdateSecretInput, type ListSecretsOptions, type DeleteByQueryInput, type DecryptedSecret, type SecretReadContext, type SecretServiceContext } from './secret-types';
|
|
4
|
+
import { type ProjectPermissionChecker } from './schemas/project-permissions';
|
|
5
|
+
import type { DrizzleDb } from '@vibesdotdev/storage/adapters/drizzle';
|
|
6
|
+
/**
|
|
7
|
+
* Service for managing encrypted secrets with access control
|
|
8
|
+
*/
|
|
9
|
+
type PlatformDb = DrizzleDb;
|
|
10
|
+
export declare class SecretService {
|
|
11
|
+
private readonly checkProjectPermission;
|
|
12
|
+
private encryption;
|
|
13
|
+
private db;
|
|
14
|
+
constructor(db: PlatformDb, runtime: RuntimeRef, checkProjectPermission?: ProjectPermissionChecker);
|
|
15
|
+
/**
|
|
16
|
+
* Create a new secret
|
|
17
|
+
*/
|
|
18
|
+
create(data: CreateSecretInput, context: SecretServiceContext): Promise<SelectedSecret>;
|
|
19
|
+
/**
|
|
20
|
+
* Get a secret by ID (without decrypting the value).
|
|
21
|
+
*
|
|
22
|
+
* Fail-closed multi-tenant: unreadable / foreign secrets return `null`
|
|
23
|
+
* (same as missing) so callers map to **404**, never **403**. Throwing
|
|
24
|
+
* {@link SecretAccessDeniedError} here was an existence oracle for private
|
|
25
|
+
* foreign UUIDs on every route that only handled the null branch.
|
|
26
|
+
*/
|
|
27
|
+
get(id: string, context: SecretReadContext): Promise<SelectedSecret | null>;
|
|
28
|
+
/**
|
|
29
|
+
* Get and decrypt a secret value
|
|
30
|
+
*/
|
|
31
|
+
decrypt(id: string, context: SecretReadContext): Promise<string>;
|
|
32
|
+
/**
|
|
33
|
+
* Backward-compatible alias used by existing routes.
|
|
34
|
+
* Returns null only for absent or inaccessible records; storage failures remain failures.
|
|
35
|
+
*/
|
|
36
|
+
getDecryptedValue(id: string, context: SecretReadContext): Promise<string | null>;
|
|
37
|
+
/**
|
|
38
|
+
* Get a secret with decrypted value
|
|
39
|
+
*/
|
|
40
|
+
getDecrypted(id: string, context: SecretReadContext): Promise<DecryptedSecret>;
|
|
41
|
+
/**
|
|
42
|
+
* List secrets with optional filtering.
|
|
43
|
+
*
|
|
44
|
+
* When context.orgId is provided and no explicit scopeId is given,
|
|
45
|
+
* org-scoped secrets are automatically filtered to those whose
|
|
46
|
+
* scopeId starts with the orgId prefix. This prevents cross-org
|
|
47
|
+
* data leakage in admin views and integration credential lookups.
|
|
48
|
+
*/
|
|
49
|
+
list(options: ListSecretsOptions, context: SecretReadContext): Promise<SelectedSecret[]>;
|
|
50
|
+
private matchesOrgScopeId;
|
|
51
|
+
/**
|
|
52
|
+
* Update a secret
|
|
53
|
+
*/
|
|
54
|
+
update(id: string, data: UpdateSecretInput, context: SecretServiceContext): Promise<SelectedSecret>;
|
|
55
|
+
/**
|
|
56
|
+
* Delete a secret
|
|
57
|
+
*/
|
|
58
|
+
delete(id: string, context: SecretServiceContext): Promise<void>;
|
|
59
|
+
/**
|
|
60
|
+
* Service-level batch delete by query.
|
|
61
|
+
*
|
|
62
|
+
* Used by OAuth flows to clear existing tokens before rotation
|
|
63
|
+
* without fetching+permission-checking each row individually. The
|
|
64
|
+
* scope/scopeId pair gates access via the same rules as create —
|
|
65
|
+
* the caller must own the scope or be a superuser.
|
|
66
|
+
*
|
|
67
|
+
* Returns the number of rows deleted.
|
|
68
|
+
*/
|
|
69
|
+
deleteByQuery(query: DeleteByQueryInput, context: SecretServiceContext): Promise<number>;
|
|
70
|
+
/**
|
|
71
|
+
* Record secret usage
|
|
72
|
+
*/
|
|
73
|
+
recordUsage(id: string): Promise<void>;
|
|
74
|
+
/**
|
|
75
|
+
* Get secrets for a specific provider type and scope
|
|
76
|
+
*/
|
|
77
|
+
getByProvider(providerType: string, context: SecretReadContext): Promise<Secret[]>;
|
|
78
|
+
/**
|
|
79
|
+
* Check permissions for creating a secret
|
|
80
|
+
*/
|
|
81
|
+
private checkCreatePermissions;
|
|
82
|
+
/**
|
|
83
|
+
* Scope-level write permission check used by `create` and
|
|
84
|
+
* `deleteByQuery`. Validates whether `context` may write to a
|
|
85
|
+
* (scope, scopeId) pair without requiring an existing secret row.
|
|
86
|
+
*/
|
|
87
|
+
private checkScopeWritePermission;
|
|
88
|
+
/**
|
|
89
|
+
* Check permissions for reading a secret
|
|
90
|
+
*/
|
|
91
|
+
private canRead;
|
|
92
|
+
/**
|
|
93
|
+
* Check permissions for writing a secret
|
|
94
|
+
*/
|
|
95
|
+
private checkWritePermissions;
|
|
96
|
+
/**
|
|
97
|
+
* Check permissions for deleting a secret
|
|
98
|
+
*/
|
|
99
|
+
private checkDeletePermissions;
|
|
100
|
+
}
|
|
101
|
+
export {};
|
|
102
|
+
//# sourceMappingURL=secret-service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secret-service.d.ts","sourceRoot":"","sources":["../../../src/server/integration-accounts/secret-service.ts"],"names":[],"mappings":"AACA,OAAO,EAIN,KAAK,cAAc,EACnB,KAAK,MAAM,EAEX,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAU,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EACN,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EAKzB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAA8C,KAAK,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC1H,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAEvE;;GAEG;AACH,KAAK,UAAU,GAAG,SAAS,CAAC;AAE5B,qBAAa,aAAa;IAIwB,OAAO,CAAC,QAAQ,CAAC,sBAAsB;IAHxF,OAAO,CAAC,UAAU,CAAmB;IACrC,OAAO,CAAC,EAAE,CAAa;gBAEX,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAmB,sBAAsB,GAAE,wBAAgJ;IAK1O;;OAEG;IACG,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,cAAc,CAAC;IA8C7F;;;;;;;OAOG;IACG,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC;IAYjF;;OAEG;IACG,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,MAAM,CAAC;IAatE;;;OAGG;IACG,iBAAiB,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAUvF;;OAEG;IACG,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,eAAe,CAAC;IAcpF;;;;;;;OAOG;IACG,IAAI,CACT,OAAO,EAAE,kBAAkB,EAC3B,OAAO,EAAE,iBAAiB,GACxB,OAAO,CAAC,cAAc,EAAE,CAAC;IAwE5B,OAAO,CAAC,iBAAiB;IAIzB;;OAEG;IACG,MAAM,CACX,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,iBAAiB,EACvB,OAAO,EAAE,oBAAoB,GAC3B,OAAO,CAAC,cAAc,CAAC;IA2C1B;;OAEG;IACG,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC;IAYtE;;;;;;;;;OASG;IACG,aAAa,CAClB,KAAK,EAAE,kBAAkB,EACzB,OAAO,EAAE,oBAAoB,GAC3B,OAAO,CAAC,MAAM,CAAC;IAoBlB;;OAEG;IACG,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI5C;;OAEG;IACH,aAAa,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IASlF;;OAEG;YACW,sBAAsB;IAapC;;;;OAIG;YACW,yBAAyB;IA2CvC;;OAEG;YACW,OAAO;IA0CrB;;OAEG;YACW,qBAAqB;IAoDnC;;OAEG;YACW,sBAAsB;CAmDpC"}
|
|
@@ -0,0 +1,482 @@
|
|
|
1
|
+
import { and, desc, eq } from 'drizzle-orm';
|
|
2
|
+
import { secrets, selectSecretSchema, insertSecretSchema } from './secrets';
|
|
3
|
+
import { SecretEncryption } from '@vibesdotdev/security/encryption';
|
|
4
|
+
import { settle } from '@vibesdotdev/kernel';
|
|
5
|
+
import { SecretNotFoundError, SecretAccessDeniedError, SecretEncryptionError, SecretValidationError } from './secret-types';
|
|
6
|
+
import { ProjectPermissionCheckerNotConfiguredError } from './schemas/project-permissions';
|
|
7
|
+
export class SecretService {
|
|
8
|
+
checkProjectPermission;
|
|
9
|
+
encryption;
|
|
10
|
+
db;
|
|
11
|
+
constructor(db, runtime, checkProjectPermission = async ({ permission, projectId }) => { throw new ProjectPermissionCheckerNotConfiguredError(permission, projectId); }) {
|
|
12
|
+
this.checkProjectPermission = checkProjectPermission;
|
|
13
|
+
this.db = db;
|
|
14
|
+
this.encryption = new SecretEncryption(runtime);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Create a new secret
|
|
18
|
+
*/
|
|
19
|
+
async create(data, context) {
|
|
20
|
+
const result = await settle(async () => {
|
|
21
|
+
// Check permissions first (before validation)
|
|
22
|
+
await this.checkCreatePermissions(data, context);
|
|
23
|
+
// Validate input
|
|
24
|
+
const now = new Date();
|
|
25
|
+
const validatedData = insertSecretSchema.required({ id: true, createdAt: true, updatedAt: true }).parse({
|
|
26
|
+
id: crypto.randomUUID(),
|
|
27
|
+
name: data.name,
|
|
28
|
+
scope: data.scope,
|
|
29
|
+
scopeId: data.scopeId,
|
|
30
|
+
providerType: data.providerType,
|
|
31
|
+
encryptedValue: await this.encryption.encryptForStorage(data.value),
|
|
32
|
+
createdBy: context.userId,
|
|
33
|
+
createdAt: now,
|
|
34
|
+
updatedAt: now,
|
|
35
|
+
metadata: data.metadata
|
|
36
|
+
});
|
|
37
|
+
// Insert into database
|
|
38
|
+
const [newSecret] = await this.db.insert(secrets).values(validatedData).returning();
|
|
39
|
+
return selectSecretSchema.parse(newSecret);
|
|
40
|
+
});
|
|
41
|
+
if (!result.ok) {
|
|
42
|
+
const error = result.cause;
|
|
43
|
+
// Re-throw our custom errors as-is
|
|
44
|
+
if (error instanceof SecretAccessDeniedError ||
|
|
45
|
+
error instanceof SecretNotFoundError ||
|
|
46
|
+
error instanceof SecretEncryptionError ||
|
|
47
|
+
error instanceof SecretValidationError) {
|
|
48
|
+
throw error;
|
|
49
|
+
}
|
|
50
|
+
// Convert other errors to validation errors
|
|
51
|
+
if (error instanceof Error) {
|
|
52
|
+
throw new SecretValidationError('Invalid secret.', error);
|
|
53
|
+
}
|
|
54
|
+
throw error;
|
|
55
|
+
}
|
|
56
|
+
return result.value;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Get a secret by ID (without decrypting the value).
|
|
60
|
+
*
|
|
61
|
+
* Fail-closed multi-tenant: unreadable / foreign secrets return `null`
|
|
62
|
+
* (same as missing) so callers map to **404**, never **403**. Throwing
|
|
63
|
+
* {@link SecretAccessDeniedError} here was an existence oracle for private
|
|
64
|
+
* foreign UUIDs on every route that only handled the null branch.
|
|
65
|
+
*/
|
|
66
|
+
async get(id, context) {
|
|
67
|
+
const [secret] = await this.db.select().from(secrets).where(eq(secrets.id, id)).limit(1);
|
|
68
|
+
if (!secret) {
|
|
69
|
+
return null;
|
|
70
|
+
}
|
|
71
|
+
if (!await this.canRead(secret, context))
|
|
72
|
+
return null;
|
|
73
|
+
return selectSecretSchema.parse(secret);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Get and decrypt a secret value
|
|
77
|
+
*/
|
|
78
|
+
async decrypt(id, context) {
|
|
79
|
+
const secret = await this.get(id, context);
|
|
80
|
+
if (!secret) {
|
|
81
|
+
throw new SecretNotFoundError(id);
|
|
82
|
+
}
|
|
83
|
+
// Storage failures must not be disguised as missing or invalid ciphertext.
|
|
84
|
+
await this.recordUsage(id);
|
|
85
|
+
const result = await settle(() => this.encryption.decryptFromStorage(secret.encryptedValue));
|
|
86
|
+
if (!result.ok)
|
|
87
|
+
throw new SecretEncryptionError('Failed to decrypt secret.', result.cause);
|
|
88
|
+
return result.value;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Backward-compatible alias used by existing routes.
|
|
92
|
+
* Returns null only for absent or inaccessible records; storage failures remain failures.
|
|
93
|
+
*/
|
|
94
|
+
async getDecryptedValue(id, context) {
|
|
95
|
+
const result = await settle(() => this.decrypt(id, context));
|
|
96
|
+
if (!result.ok) {
|
|
97
|
+
const error = result.cause;
|
|
98
|
+
if (error instanceof SecretNotFoundError || error instanceof SecretAccessDeniedError)
|
|
99
|
+
return null;
|
|
100
|
+
throw error;
|
|
101
|
+
}
|
|
102
|
+
return result.value;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Get a secret with decrypted value
|
|
106
|
+
*/
|
|
107
|
+
async getDecrypted(id, context) {
|
|
108
|
+
const secret = await this.get(id, context);
|
|
109
|
+
if (!secret) {
|
|
110
|
+
throw new SecretNotFoundError(id);
|
|
111
|
+
}
|
|
112
|
+
const decryptedValue = await this.decrypt(id, context);
|
|
113
|
+
return {
|
|
114
|
+
...secret,
|
|
115
|
+
value: decryptedValue
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* List secrets with optional filtering.
|
|
120
|
+
*
|
|
121
|
+
* When context.orgId is provided and no explicit scopeId is given,
|
|
122
|
+
* org-scoped secrets are automatically filtered to those whose
|
|
123
|
+
* scopeId starts with the orgId prefix. This prevents cross-org
|
|
124
|
+
* data leakage in admin views and integration credential lookups.
|
|
125
|
+
*/
|
|
126
|
+
async list(options, context) {
|
|
127
|
+
// Use the simpler query builder pattern that works with TypeScript
|
|
128
|
+
const baseQuery = this.db.select().from(secrets).orderBy(desc(secrets.createdAt));
|
|
129
|
+
// Build where conditions
|
|
130
|
+
const conditions = [];
|
|
131
|
+
if (options.scope && options.scopeId) {
|
|
132
|
+
// Explicit scope filter requested
|
|
133
|
+
conditions.push(eq(secrets.scope, options.scope));
|
|
134
|
+
conditions.push(eq(secrets.scopeId, options.scopeId));
|
|
135
|
+
}
|
|
136
|
+
else if (options.scope === 'org') {
|
|
137
|
+
if (!context.orgId) {
|
|
138
|
+
return [];
|
|
139
|
+
}
|
|
140
|
+
conditions.push(eq(secrets.scope, 'org'));
|
|
141
|
+
}
|
|
142
|
+
else if (context.orgId && !options.scopeId) {
|
|
143
|
+
// Auto-scope org secrets to the requesting org when no explicit scopeId
|
|
144
|
+
conditions.push(eq(secrets.scope, 'org'));
|
|
145
|
+
}
|
|
146
|
+
else if (context.isSuperuser) {
|
|
147
|
+
// Platform admins default to platform-scoped secrets when no org is selected.
|
|
148
|
+
conditions.push(eq(secrets.scope, 'platform'));
|
|
149
|
+
}
|
|
150
|
+
else if (context.userId && !context.isSuperuser) {
|
|
151
|
+
// For regular users without explicit scope, default to their own user-scoped secrets
|
|
152
|
+
conditions.push(eq(secrets.scope, 'user'));
|
|
153
|
+
conditions.push(eq(secrets.scopeId, context.userId));
|
|
154
|
+
}
|
|
155
|
+
if (options.providerType) {
|
|
156
|
+
conditions.push(eq(secrets.providerType, options.providerType));
|
|
157
|
+
}
|
|
158
|
+
// Execute query with conditions and pagination
|
|
159
|
+
let results;
|
|
160
|
+
if (conditions.length > 0) {
|
|
161
|
+
const queryWithWhere = baseQuery.where(and(...conditions));
|
|
162
|
+
if (options.limit) {
|
|
163
|
+
const queryWithLimit = queryWithWhere.limit(options.limit);
|
|
164
|
+
if (options.offset) {
|
|
165
|
+
results = await queryWithLimit.offset(options.offset);
|
|
166
|
+
}
|
|
167
|
+
else {
|
|
168
|
+
results = await queryWithLimit;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
else {
|
|
172
|
+
results = await queryWithWhere;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
else if (options.limit) {
|
|
176
|
+
const queryWithLimit = baseQuery.limit(options.limit);
|
|
177
|
+
if (options.offset) {
|
|
178
|
+
results = await queryWithLimit.offset(options.offset);
|
|
179
|
+
}
|
|
180
|
+
else {
|
|
181
|
+
results = await queryWithLimit;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
else {
|
|
185
|
+
results = await baseQuery;
|
|
186
|
+
}
|
|
187
|
+
if (context.orgId && (!options.scopeId || options.scope === 'org')) {
|
|
188
|
+
results = results.filter((secret) => secret.scope !== 'org' || this.matchesOrgScopeId(secret.scopeId, context.orgId));
|
|
189
|
+
}
|
|
190
|
+
// Filter by permissions
|
|
191
|
+
const filteredResults = [];
|
|
192
|
+
for (const secret of results) {
|
|
193
|
+
if (await this.canRead(secret, context)) {
|
|
194
|
+
filteredResults.push(selectSecretSchema.parse(secret));
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
return filteredResults;
|
|
198
|
+
}
|
|
199
|
+
matchesOrgScopeId(scopeId, orgId) {
|
|
200
|
+
return scopeId === orgId || scopeId.startsWith(`${orgId}:`);
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Update a secret
|
|
204
|
+
*/
|
|
205
|
+
async update(id, data, context) {
|
|
206
|
+
const existingSecret = await this.get(id, context);
|
|
207
|
+
if (!existingSecret) {
|
|
208
|
+
throw new SecretNotFoundError(id);
|
|
209
|
+
}
|
|
210
|
+
// Check permissions
|
|
211
|
+
await this.checkWritePermissions(existingSecret, context);
|
|
212
|
+
const result = await settle(async () => {
|
|
213
|
+
const updateData = {
|
|
214
|
+
updatedAt: new Date()
|
|
215
|
+
};
|
|
216
|
+
if (data.name !== undefined) {
|
|
217
|
+
updateData.name = data.name;
|
|
218
|
+
}
|
|
219
|
+
if (data.value !== undefined) {
|
|
220
|
+
updateData.encryptedValue = await this.encryption.encryptForStorage(data.value);
|
|
221
|
+
updateData.lastRotatedAt = new Date();
|
|
222
|
+
}
|
|
223
|
+
if (data.metadata !== undefined) {
|
|
224
|
+
updateData.metadata = data.metadata;
|
|
225
|
+
}
|
|
226
|
+
const [updatedSecret] = await this.db
|
|
227
|
+
.update(secrets)
|
|
228
|
+
.set(updateData)
|
|
229
|
+
.where(eq(secrets.id, id))
|
|
230
|
+
.returning();
|
|
231
|
+
return selectSecretSchema.parse(updatedSecret);
|
|
232
|
+
});
|
|
233
|
+
if (!result.ok) {
|
|
234
|
+
const error = result.cause;
|
|
235
|
+
if (error instanceof Error) {
|
|
236
|
+
throw new SecretValidationError('Invalid secret.', error);
|
|
237
|
+
}
|
|
238
|
+
throw error;
|
|
239
|
+
}
|
|
240
|
+
return result.value;
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* Delete a secret
|
|
244
|
+
*/
|
|
245
|
+
async delete(id, context) {
|
|
246
|
+
const existingSecret = await this.get(id, context);
|
|
247
|
+
if (!existingSecret) {
|
|
248
|
+
throw new SecretNotFoundError(id);
|
|
249
|
+
}
|
|
250
|
+
// Check permissions
|
|
251
|
+
await this.checkDeletePermissions(existingSecret, context);
|
|
252
|
+
await this.db.delete(secrets).where(eq(secrets.id, id));
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* Service-level batch delete by query.
|
|
256
|
+
*
|
|
257
|
+
* Used by OAuth flows to clear existing tokens before rotation
|
|
258
|
+
* without fetching+permission-checking each row individually. The
|
|
259
|
+
* scope/scopeId pair gates access via the same rules as create —
|
|
260
|
+
* the caller must own the scope or be a superuser.
|
|
261
|
+
*
|
|
262
|
+
* Returns the number of rows deleted.
|
|
263
|
+
*/
|
|
264
|
+
async deleteByQuery(query, context) {
|
|
265
|
+
await this.checkScopeWritePermission(query.scope, query.scopeId, context);
|
|
266
|
+
const conditions = [
|
|
267
|
+
eq(secrets.scope, query.scope),
|
|
268
|
+
eq(secrets.scopeId, query.scopeId),
|
|
269
|
+
eq(secrets.providerType, query.providerType)
|
|
270
|
+
];
|
|
271
|
+
if (query.name !== undefined) {
|
|
272
|
+
conditions.push(eq(secrets.name, query.name));
|
|
273
|
+
}
|
|
274
|
+
const result = await this.db
|
|
275
|
+
.delete(secrets)
|
|
276
|
+
.where(and(...conditions))
|
|
277
|
+
.returning({ id: secrets.id });
|
|
278
|
+
return result.length;
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* Record secret usage
|
|
282
|
+
*/
|
|
283
|
+
async recordUsage(id) {
|
|
284
|
+
await this.db.update(secrets).set({ lastUsedAt: new Date() }).where(eq(secrets.id, id));
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* Get secrets for a specific provider type and scope
|
|
288
|
+
*/
|
|
289
|
+
getByProvider(providerType, context) {
|
|
290
|
+
return this.list({
|
|
291
|
+
providerType
|
|
292
|
+
}, context);
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* Check permissions for creating a secret
|
|
296
|
+
*/
|
|
297
|
+
async checkCreatePermissions(data, context) {
|
|
298
|
+
const result = await settle(() => this.checkScopeWritePermission(data.scope, data.scopeId, context));
|
|
299
|
+
if (!result.ok) {
|
|
300
|
+
if (result.cause instanceof SecretAccessDeniedError) {
|
|
301
|
+
throw new SecretAccessDeniedError('new', 'create', result.cause);
|
|
302
|
+
}
|
|
303
|
+
throw result.cause;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* Scope-level write permission check used by `create` and
|
|
308
|
+
* `deleteByQuery`. Validates whether `context` may write to a
|
|
309
|
+
* (scope, scopeId) pair without requiring an existing secret row.
|
|
310
|
+
*/
|
|
311
|
+
async checkScopeWritePermission(scope, scopeId, context) {
|
|
312
|
+
const id = `${scope}:${scopeId}`;
|
|
313
|
+
switch (scope) {
|
|
314
|
+
case 'user':
|
|
315
|
+
if (scopeId !== context.userId && !context.isSuperuser) {
|
|
316
|
+
throw new SecretAccessDeniedError(id, 'write');
|
|
317
|
+
}
|
|
318
|
+
break;
|
|
319
|
+
case 'project': {
|
|
320
|
+
if (!context.projectId || !context.userId) {
|
|
321
|
+
throw new SecretAccessDeniedError(id, 'write');
|
|
322
|
+
}
|
|
323
|
+
const canWrite = await this.checkProjectPermission({
|
|
324
|
+
userId: context.userId,
|
|
325
|
+
projectId: context.projectId,
|
|
326
|
+
permission: 'secrets:write'
|
|
327
|
+
});
|
|
328
|
+
if (!canWrite && !context.isSuperuser) {
|
|
329
|
+
throw new SecretAccessDeniedError(id, 'write');
|
|
330
|
+
}
|
|
331
|
+
break;
|
|
332
|
+
}
|
|
333
|
+
case 'org':
|
|
334
|
+
if (!context.isSuperuser &&
|
|
335
|
+
(!context.orgId ||
|
|
336
|
+
(scopeId !== context.orgId && !scopeId.startsWith(`${context.orgId}:`)))) {
|
|
337
|
+
throw new SecretAccessDeniedError(id, 'write');
|
|
338
|
+
}
|
|
339
|
+
break;
|
|
340
|
+
case 'platform':
|
|
341
|
+
if (!context.isSuperuser) {
|
|
342
|
+
throw new SecretAccessDeniedError(id, 'write');
|
|
343
|
+
}
|
|
344
|
+
break;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* Check permissions for reading a secret
|
|
349
|
+
*/
|
|
350
|
+
async canRead(secret, context) {
|
|
351
|
+
switch (secret.scope) {
|
|
352
|
+
case 'user':
|
|
353
|
+
if (secret.scopeId !== context.userId && !context.isSuperuser) {
|
|
354
|
+
return false;
|
|
355
|
+
}
|
|
356
|
+
break;
|
|
357
|
+
case 'project':
|
|
358
|
+
if (secret.scopeId !== context.projectId && !context.isSuperuser) {
|
|
359
|
+
return false;
|
|
360
|
+
}
|
|
361
|
+
if (context.projectId) {
|
|
362
|
+
if (!context.userId)
|
|
363
|
+
return context.isSuperuser === true;
|
|
364
|
+
const canRead = await this.checkProjectPermission({
|
|
365
|
+
userId: context.userId,
|
|
366
|
+
projectId: context.projectId,
|
|
367
|
+
permission: 'secrets:read'
|
|
368
|
+
});
|
|
369
|
+
if (!canRead && !context.isSuperuser) {
|
|
370
|
+
return false;
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
break;
|
|
374
|
+
case 'org':
|
|
375
|
+
if (!context.isSuperuser &&
|
|
376
|
+
(!context.orgId ||
|
|
377
|
+
(secret.scopeId !== context.orgId && !secret.scopeId.startsWith(`${context.orgId}:`)))) {
|
|
378
|
+
return false;
|
|
379
|
+
}
|
|
380
|
+
break;
|
|
381
|
+
case 'platform':
|
|
382
|
+
if (!context.isSuperuser) {
|
|
383
|
+
return false;
|
|
384
|
+
}
|
|
385
|
+
break;
|
|
386
|
+
}
|
|
387
|
+
return true;
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* Check permissions for writing a secret
|
|
391
|
+
*/
|
|
392
|
+
async checkWritePermissions(secret, context) {
|
|
393
|
+
switch (secret.scope) {
|
|
394
|
+
case 'user':
|
|
395
|
+
if (secret.scopeId !== context.userId &&
|
|
396
|
+
secret.createdBy !== context.userId &&
|
|
397
|
+
!context.isSuperuser) {
|
|
398
|
+
throw new SecretAccessDeniedError(secret.id, 'write');
|
|
399
|
+
}
|
|
400
|
+
break;
|
|
401
|
+
case 'project':
|
|
402
|
+
if (secret.scopeId !== context.projectId && !context.isSuperuser) {
|
|
403
|
+
throw new SecretAccessDeniedError(secret.id, 'write');
|
|
404
|
+
}
|
|
405
|
+
if (context.projectId) {
|
|
406
|
+
if (!context.userId) {
|
|
407
|
+
if (!context.isSuperuser)
|
|
408
|
+
throw new SecretAccessDeniedError(secret.id, 'write');
|
|
409
|
+
break;
|
|
410
|
+
}
|
|
411
|
+
const canWrite = await this.checkProjectPermission({
|
|
412
|
+
userId: context.userId,
|
|
413
|
+
projectId: context.projectId,
|
|
414
|
+
permission: 'secrets:write'
|
|
415
|
+
});
|
|
416
|
+
if (!canWrite && !context.isSuperuser) {
|
|
417
|
+
throw new SecretAccessDeniedError(secret.id, 'write');
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
break;
|
|
421
|
+
case 'org':
|
|
422
|
+
if (!context.isSuperuser &&
|
|
423
|
+
(!context.orgId ||
|
|
424
|
+
(secret.scopeId !== context.orgId && !secret.scopeId.startsWith(`${context.orgId}:`)))) {
|
|
425
|
+
throw new SecretAccessDeniedError(secret.id, 'write');
|
|
426
|
+
}
|
|
427
|
+
break;
|
|
428
|
+
case 'platform':
|
|
429
|
+
if (!context.isSuperuser) {
|
|
430
|
+
throw new SecretAccessDeniedError(secret.id, 'write');
|
|
431
|
+
}
|
|
432
|
+
break;
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* Check permissions for deleting a secret
|
|
437
|
+
*/
|
|
438
|
+
async checkDeletePermissions(secret, context) {
|
|
439
|
+
switch (secret.scope) {
|
|
440
|
+
case 'user':
|
|
441
|
+
if (secret.scopeId !== context.userId &&
|
|
442
|
+
secret.createdBy !== context.userId &&
|
|
443
|
+
!context.isSuperuser) {
|
|
444
|
+
throw new SecretAccessDeniedError(secret.id, 'delete');
|
|
445
|
+
}
|
|
446
|
+
break;
|
|
447
|
+
case 'project':
|
|
448
|
+
if (secret.scopeId !== context.projectId && !context.isSuperuser) {
|
|
449
|
+
throw new SecretAccessDeniedError(secret.id, 'delete');
|
|
450
|
+
}
|
|
451
|
+
if (context.projectId) {
|
|
452
|
+
if (!context.userId) {
|
|
453
|
+
if (!context.isSuperuser)
|
|
454
|
+
throw new SecretAccessDeniedError(secret.id, 'delete');
|
|
455
|
+
break;
|
|
456
|
+
}
|
|
457
|
+
const canDelete = await this.checkProjectPermission({
|
|
458
|
+
userId: context.userId,
|
|
459
|
+
projectId: context.projectId,
|
|
460
|
+
permission: 'secrets:delete'
|
|
461
|
+
});
|
|
462
|
+
if (!canDelete && !context.isSuperuser) {
|
|
463
|
+
throw new SecretAccessDeniedError(secret.id, 'delete');
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
break;
|
|
467
|
+
case 'org':
|
|
468
|
+
if (!context.isSuperuser &&
|
|
469
|
+
(!context.orgId ||
|
|
470
|
+
(secret.scopeId !== context.orgId && !secret.scopeId.startsWith(`${context.orgId}:`)))) {
|
|
471
|
+
throw new SecretAccessDeniedError(secret.id, 'delete');
|
|
472
|
+
}
|
|
473
|
+
break;
|
|
474
|
+
case 'platform':
|
|
475
|
+
if (!context.isSuperuser) {
|
|
476
|
+
throw new SecretAccessDeniedError(secret.id, 'delete');
|
|
477
|
+
}
|
|
478
|
+
break;
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
//# sourceMappingURL=secret-service.js.map
|