@vibesdotdev/platform 0.0.0-stage → 1.0.0-rc.1
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 +546 -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 +134 -0
- package/dist/fleets/daemon/host-agent/agent.d.ts.map +1 -0
- package/dist/fleets/daemon/host-agent/agent.js +375 -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 +375 -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 +160 -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,803 @@
|
|
|
1
|
+
import { getLogger } from '@vibesdotdev/logging/contexts';
|
|
2
|
+
import { resolveFileSystemAdapter, createTemporaryDirectoryChecked, chmodChecked, readFileRangeChecked } from '@vibesdotdev/filesystem';
|
|
3
|
+
import { getRuntimePath } from '@vibesdotdev/paths';
|
|
4
|
+
import { JsonValueSchema, JsonObjectSchema } from '@vibesdotdev/kernel/schemas/json';
|
|
5
|
+
import { BuildJobPayloadSchema, BuildPayloadEnvelopeSchema, BrokeredCloneCredentialSchema, ArtifactPublishReceiptSchema } from "../../../schemas/build-execution.js";
|
|
6
|
+
import { FleetBuildCredentialsSchema, FleetInstallCommandSchema } from "../../build-job-install.js";
|
|
7
|
+
import { BuildStepCredentialLeaseSchema } from "../../build-job-credentials-contract.js";
|
|
8
|
+
import { materializeBuildRuntime, materializeBuildSshCredential, parseBuildJobCredentials, shellQuote } from "./build-job-credentials.js";
|
|
9
|
+
import { CapabilityError, settle, valueFreeFailure, composeChildEnv, composeHostEnv, HOST_CREDENTIAL_MANIFEST_KEY, serializeHostCredentialsManifest, SHIM_CHANNEL_KEYS } from '@vibesdotdev/kernel';
|
|
10
|
+
import { VIBES_CI_REGISTRY_AUTHORITY_KEY, VIBES_REGISTRY_READ_TOKEN_KEY } from '@vibesdotdev/registry/publish-authentication';
|
|
11
|
+
import { prepareRegistryStandaloneWorkspace } from '@vibesdotdev/registry/standalone-install';
|
|
12
|
+
import { collectProcessOutput, getRuntimeExecution, whichCommand } from '@vibesdotdev/kernel/execution';
|
|
13
|
+
import { gitChildInheritEnv } from '@vibesdotdev/git-operations/core';
|
|
14
|
+
export const UNCONFIRMED_PROCESS_TERMINATION_REASON = 'build-command-termination-unconfirmed';
|
|
15
|
+
const unconfirmedTerminations = new WeakMap();
|
|
16
|
+
export function getUnconfirmedProcessTermination(error) {
|
|
17
|
+
if (!(error instanceof Error))
|
|
18
|
+
return null;
|
|
19
|
+
const direct = unconfirmedTerminations.get(error);
|
|
20
|
+
if (direct)
|
|
21
|
+
return direct;
|
|
22
|
+
if (error.cause !== undefined) {
|
|
23
|
+
const fromCause = getUnconfirmedProcessTermination(error.cause);
|
|
24
|
+
if (fromCause)
|
|
25
|
+
return fromCause;
|
|
26
|
+
}
|
|
27
|
+
if (error instanceof AggregateError) {
|
|
28
|
+
for (const item of error.errors) {
|
|
29
|
+
const fromItem = getUnconfirmedProcessTermination(item);
|
|
30
|
+
if (fromItem)
|
|
31
|
+
return fromItem;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
export function hasUnconfirmedProcessTermination(error) {
|
|
37
|
+
if (getUnconfirmedProcessTermination(error) !== null)
|
|
38
|
+
return true;
|
|
39
|
+
if (!(error instanceof Error))
|
|
40
|
+
return false;
|
|
41
|
+
if (error instanceof CapabilityError && error.reason === UNCONFIRMED_PROCESS_TERMINATION_REASON) {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
if (error.cause !== undefined && hasUnconfirmedProcessTermination(error.cause)) {
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
if (error instanceof AggregateError &&
|
|
48
|
+
error.errors.some((item) => hasUnconfirmedProcessTermination(item))) {
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
const CONTENT_TYPES = new Map(Object.entries({
|
|
54
|
+
'.txt': 'text/plain; charset=utf-8',
|
|
55
|
+
'.sh': 'text/x-shellscript; charset=utf-8',
|
|
56
|
+
'.ps1': 'text/plain; charset=utf-8',
|
|
57
|
+
'.exe': 'application/vnd.microsoft.portable-executable',
|
|
58
|
+
'.dll': 'application/vnd.microsoft.portable-executable',
|
|
59
|
+
'.dylib': 'application/octet-stream',
|
|
60
|
+
'.so': 'application/octet-stream'
|
|
61
|
+
}));
|
|
62
|
+
function inferContentType(name) {
|
|
63
|
+
const dot = name.lastIndexOf('.');
|
|
64
|
+
const ext = dot >= 0 ? name.slice(dot).toLowerCase() : '';
|
|
65
|
+
return CONTENT_TYPES.get(ext) ?? 'application/octet-stream';
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Streams each resolved artifact to the platform R2-binding proxy:
|
|
69
|
+
* `PUT {platformOrigin}/api/hosts/actions/{actionId}/artifacts/{name}`
|
|
70
|
+
* with `Authorization: Bearer <hostToken>`. NO S3/R2 credentials on this host —
|
|
71
|
+
* the platform holds the binding and enforces the bucket/prefix allowlist. A
|
|
72
|
+
* failed upload of a REQUIRED artifact throws (fails the build); a non-required
|
|
73
|
+
* artifact's failure is logged and skipped.
|
|
74
|
+
*/
|
|
75
|
+
async function publishArtifacts(runtime, actionId, artifacts, publish, append, adapter) {
|
|
76
|
+
const fetchImpl = publish.fetchImpl ?? fetch;
|
|
77
|
+
const filesystem = await resolveFileSystemAdapter(runtime);
|
|
78
|
+
const openFile = publish.openFile ?? ((path) => ({
|
|
79
|
+
stream: () => {
|
|
80
|
+
let offset = 0;
|
|
81
|
+
return new ReadableStream({
|
|
82
|
+
async pull(controller) {
|
|
83
|
+
const bytes = await readFileRangeChecked(filesystem, path, { offset, length: 1024 * 1024 });
|
|
84
|
+
if (bytes.length === 0) {
|
|
85
|
+
controller.close();
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
offset += bytes.length;
|
|
89
|
+
controller.enqueue(bytes);
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
}));
|
|
94
|
+
const origin = publish.platformOrigin.replace(/\/+$/, '');
|
|
95
|
+
const published = [];
|
|
96
|
+
for (const artifact of artifacts) {
|
|
97
|
+
const url = `${origin}/api/hosts/actions/${actionId}/artifacts/${encodeURIComponent(artifact.name)}`;
|
|
98
|
+
append(`\n==> publish ${artifact.name} -> ${adapter}\n`);
|
|
99
|
+
// `duplex: 'half'` is required by Bun/undici to send a streaming request body.
|
|
100
|
+
// The REQUEST Content-Type is always application/octet-stream: SvelteKit's
|
|
101
|
+
// CSRF check blocks cross-origin requests carrying a form-submittable
|
|
102
|
+
// content-type (text/plain, x-www-form-urlencoded, multipart) — a
|
|
103
|
+
// server-to-server PUT of a `.ps1` (text/plain) would 403 "Cross-site PUT
|
|
104
|
+
// form submissions are forbidden". octet-stream is never form-submittable,
|
|
105
|
+
// so every artifact passes. The endpoint applies the REAL content-type to
|
|
106
|
+
// the R2 object from `X-Vibes-Artifact-Content-Type`.
|
|
107
|
+
const init = {
|
|
108
|
+
method: 'PUT',
|
|
109
|
+
headers: {
|
|
110
|
+
Authorization: `Bearer ${publish.hostToken}`,
|
|
111
|
+
'Content-Type': 'application/octet-stream',
|
|
112
|
+
'X-Vibes-Artifact-Content-Type': inferContentType(artifact.name)
|
|
113
|
+
},
|
|
114
|
+
body: openFile(artifact.path).stream(),
|
|
115
|
+
duplex: 'half'
|
|
116
|
+
};
|
|
117
|
+
const uploaded = await settle(() => fetchImpl(url, init));
|
|
118
|
+
if (!uploaded.ok) {
|
|
119
|
+
const cause = uploaded.cause;
|
|
120
|
+
const message = cause instanceof Error ? cause.message : String(cause);
|
|
121
|
+
if (artifact.required)
|
|
122
|
+
throw new CapabilityError(`Artifact publish failed for ${artifact.name}: ${message}`, 'UNAVAILABLE', { reason: 'build-artifact-publish-failed', cause });
|
|
123
|
+
append(` (non-required artifact ${artifact.name} publish errored: ${message})\n`);
|
|
124
|
+
continue;
|
|
125
|
+
}
|
|
126
|
+
const response = uploaded.value;
|
|
127
|
+
if (!response.ok) {
|
|
128
|
+
const text = await response.text();
|
|
129
|
+
if (artifact.required) {
|
|
130
|
+
throw new Error(`Artifact publish failed for ${artifact.name}: ${response.status} ${text}`);
|
|
131
|
+
}
|
|
132
|
+
append(` (non-required artifact ${artifact.name} publish -> ${response.status})\n`);
|
|
133
|
+
continue;
|
|
134
|
+
}
|
|
135
|
+
const body = ArtifactPublishReceiptSchema.parse(await response.json());
|
|
136
|
+
const key = body.key ?? artifact.name;
|
|
137
|
+
published.push({ name: artifact.name, key });
|
|
138
|
+
append(` published -> ${key}\n`);
|
|
139
|
+
}
|
|
140
|
+
return published;
|
|
141
|
+
}
|
|
142
|
+
/** Each publish adapter a fleet host honours, by the adapter id a payload declares. */
|
|
143
|
+
const ARTIFACT_PUBLISHERS = new Map([['cloudflare-r2', publishArtifacts]]);
|
|
144
|
+
/**
|
|
145
|
+
* The publish a payload declares, resolved before any step runs: its adapter
|
|
146
|
+
* by id and the daemon's publish context. `undefined` when the payload
|
|
147
|
+
* declares no publish. An adapter this host has no publisher for refuses
|
|
148
|
+
* `INVALID_INPUT`; a declared publish with no context (the daemon knows no
|
|
149
|
+
* platform origin) refuses `UNAVAILABLE`. A build never succeeds with a
|
|
150
|
+
* declared publish it did not perform.
|
|
151
|
+
*/
|
|
152
|
+
function resolveArtifactPublish(actionId, payload, context) {
|
|
153
|
+
const adapter = payload.publish?.adapter;
|
|
154
|
+
if (adapter === undefined)
|
|
155
|
+
return undefined;
|
|
156
|
+
const publisher = ARTIFACT_PUBLISHERS.get(adapter);
|
|
157
|
+
if (!publisher) {
|
|
158
|
+
throw new CapabilityError(`Build-job publish adapter '${adapter}' has no publisher on this host.`, 'INVALID_INPUT', {
|
|
159
|
+
reason: 'build-publish-adapter-unknown',
|
|
160
|
+
retryable: false,
|
|
161
|
+
details: { actionId, adapter, adapters: [...ARTIFACT_PUBLISHERS.keys()] }
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
if (!context) {
|
|
165
|
+
throw new CapabilityError(`Build-job declares a '${adapter}' publish but this host has no publish context.`, 'UNAVAILABLE', {
|
|
166
|
+
reason: 'build-publish-context-unavailable',
|
|
167
|
+
details: { actionId, adapter },
|
|
168
|
+
recoveryHint: 'Start the fleet daemon with its platform origin so it can publish through the platform proxy.'
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
return { adapter, publisher, context };
|
|
172
|
+
}
|
|
173
|
+
function asBuildJobPayload(action) {
|
|
174
|
+
const envelope = BuildPayloadEnvelopeSchema.safeParse(action.payload);
|
|
175
|
+
if (envelope.success && envelope.data.descriptor)
|
|
176
|
+
return BuildJobPayloadSchema.parse(envelope.data.descriptor);
|
|
177
|
+
return BuildJobPayloadSchema.parse(action.payload ?? {});
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* The build host's OS comes from its declared scope (`qualifiers.os`, which the
|
|
181
|
+
* host environment declares from facts it captured once), never `process.platform` (V09).
|
|
182
|
+
*/
|
|
183
|
+
function hostDeclaresWindows(runtime) {
|
|
184
|
+
return runtime.declaredScope.qualifiers.os === 'win32';
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* The host variables a build command reads by name: the build host's toolchain
|
|
188
|
+
* locations. Every build command runs with the kernel's composition
|
|
189
|
+
* (`composeChildEnv`): the host set, these names, and what the job declares
|
|
190
|
+
* (its leased credentials), with `envMode: 'replace'`. No build step sees the
|
|
191
|
+
* rest of the host's environment, and no host credential reaches one.
|
|
192
|
+
*/
|
|
193
|
+
export const BUILD_STEP_INHERIT_ENV = [
|
|
194
|
+
'JAVA_HOME',
|
|
195
|
+
'ANDROID_HOME',
|
|
196
|
+
'ANDROID_SDK_ROOT',
|
|
197
|
+
'GOPATH',
|
|
198
|
+
'GOROOT',
|
|
199
|
+
'CARGO_HOME',
|
|
200
|
+
'RUSTUP_HOME',
|
|
201
|
+
'BUN_INSTALL',
|
|
202
|
+
'PNPM_HOME',
|
|
203
|
+
'NVM_DIR',
|
|
204
|
+
'DOCKER_HOST'
|
|
205
|
+
];
|
|
206
|
+
/** The names a build's own git commands read: the toolchain's plus git's declared set. */
|
|
207
|
+
function gitCommandInheritEnv(runtime) {
|
|
208
|
+
return [...BUILD_STEP_INHERIT_ENV, ...gitChildInheritEnv(runtime.getEnvSnapshot())];
|
|
209
|
+
}
|
|
210
|
+
async function shellCommand(runtime, command, shell) {
|
|
211
|
+
const requestedShell = shell?.toLowerCase();
|
|
212
|
+
if (requestedShell?.includes('powershell') || hostDeclaresWindows(runtime)) {
|
|
213
|
+
const hostEnv = composeHostEnv(runtime);
|
|
214
|
+
const exe = (await whichCommand(runtime, 'pwsh', { env: hostEnv })) ? 'pwsh' : 'powershell';
|
|
215
|
+
return [exe, '-NoProfile', '-ExecutionPolicy', 'Bypass', '-Command', command];
|
|
216
|
+
}
|
|
217
|
+
return ['/bin/bash', '-c', command];
|
|
218
|
+
}
|
|
219
|
+
async function runCommand(runtime, command, cwd, append, options) {
|
|
220
|
+
append(`$ ${options?.display ?? command.join(' ')}\n`);
|
|
221
|
+
const [cmd, ...args] = command;
|
|
222
|
+
if (!cmd) {
|
|
223
|
+
throw new CapabilityError('A build command is empty.', 'INVALID_INPUT', { reason: 'build-command-empty' });
|
|
224
|
+
}
|
|
225
|
+
if (options?.signal?.aborted) {
|
|
226
|
+
throw new CapabilityError('Build command terminated because the host action lost its lease or was canceled.', 'UNAVAILABLE', {
|
|
227
|
+
reason: 'build-action-canceled',
|
|
228
|
+
retryable: false
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
const execution = await getRuntimeExecution(runtime);
|
|
232
|
+
const timeout = options?.expiresAt === undefined ? undefined : options.expiresAt - Date.now();
|
|
233
|
+
if (timeout !== undefined && timeout <= 0)
|
|
234
|
+
throw new Error('Step credential expired before execution');
|
|
235
|
+
const handle = await execution.spawn({
|
|
236
|
+
command: cmd,
|
|
237
|
+
args,
|
|
238
|
+
cwd,
|
|
239
|
+
// Ordinary declarations cannot carry the host credential manifest. Only
|
|
240
|
+
// the validated broker lease is added at this explicit replacement boundary.
|
|
241
|
+
env: { ...composeChildEnv(runtime, { env: options?.env, inheritEnv: options?.inheritEnv ?? BUILD_STEP_INHERIT_ENV }), ...options?.credentialEnv },
|
|
242
|
+
envMode: 'replace',
|
|
243
|
+
unsetEnv: [SHIM_CHANNEL_KEYS.root, SHIM_CHANNEL_KEYS.entry, SHIM_CHANNEL_KEYS.scope],
|
|
244
|
+
timeout,
|
|
245
|
+
killTree: true,
|
|
246
|
+
stdin: 'ignore',
|
|
247
|
+
stdout: 'pipe',
|
|
248
|
+
stderr: 'pipe'
|
|
249
|
+
});
|
|
250
|
+
let killOutcomePromise;
|
|
251
|
+
let notifyAborted;
|
|
252
|
+
const abortedGate = new Promise((resolve) => {
|
|
253
|
+
notifyAborted = resolve;
|
|
254
|
+
});
|
|
255
|
+
let processExited = false;
|
|
256
|
+
const outputPromise = collectProcessOutput(handle, (_stream, line) => append(`${line}\n`)).then((res) => {
|
|
257
|
+
processExited = true;
|
|
258
|
+
return res;
|
|
259
|
+
});
|
|
260
|
+
const waitForExitWithin = async (windowMs) => {
|
|
261
|
+
if (processExited)
|
|
262
|
+
return true;
|
|
263
|
+
let stopTimer;
|
|
264
|
+
const timerPromise = new Promise((resolve) => {
|
|
265
|
+
stopTimer = runtime.lifecycle.timeout(() => resolve(false), windowMs);
|
|
266
|
+
});
|
|
267
|
+
try {
|
|
268
|
+
return await Promise.race([
|
|
269
|
+
outputPromise.then(() => true),
|
|
270
|
+
timerPromise
|
|
271
|
+
]);
|
|
272
|
+
}
|
|
273
|
+
finally {
|
|
274
|
+
stopTimer?.();
|
|
275
|
+
}
|
|
276
|
+
};
|
|
277
|
+
const isProcessGoneError = (cause) => cause instanceof CapabilityError && cause.reason === 'execution-process-gone';
|
|
278
|
+
const terminateHandle = async () => {
|
|
279
|
+
const sigterm = await settle(async () => {
|
|
280
|
+
await handle.kill('SIGTERM');
|
|
281
|
+
});
|
|
282
|
+
if ((sigterm.ok || isProcessGoneError(sigterm.cause)) && (await waitForExitWithin(200))) {
|
|
283
|
+
return {};
|
|
284
|
+
}
|
|
285
|
+
const sigkill = await settle(async () => {
|
|
286
|
+
await handle.kill('SIGKILL');
|
|
287
|
+
});
|
|
288
|
+
if (!sigkill.ok && !isProcessGoneError(sigkill.cause)) {
|
|
289
|
+
throw sigterm.ok
|
|
290
|
+
? sigkill.cause
|
|
291
|
+
: new AggregateError([sigterm.cause, sigkill.cause], `Failed to terminate child process (pid ${handle.pid ?? 'unknown'}) with SIGTERM or SIGKILL.`, { cause: sigterm.cause });
|
|
292
|
+
}
|
|
293
|
+
if (!(await waitForExitWithin(500))) {
|
|
294
|
+
throw new Error(`Child process (pid ${handle.pid ?? 'unknown'}) did not exit after SIGTERM and SIGKILL.`);
|
|
295
|
+
}
|
|
296
|
+
return sigterm.ok || isProcessGoneError(sigterm.cause)
|
|
297
|
+
? {}
|
|
298
|
+
: { sigtermError: sigterm.cause };
|
|
299
|
+
};
|
|
300
|
+
const onAbort = () => {
|
|
301
|
+
killOutcomePromise ??= settle(terminateHandle);
|
|
302
|
+
notifyAborted();
|
|
303
|
+
};
|
|
304
|
+
const waitForKillFailure = async () => {
|
|
305
|
+
await abortedGate;
|
|
306
|
+
const outcome = await (killOutcomePromise ??= settle(terminateHandle));
|
|
307
|
+
if (!outcome.ok) {
|
|
308
|
+
throw outcome.cause;
|
|
309
|
+
}
|
|
310
|
+
return await new Promise(() => { });
|
|
311
|
+
};
|
|
312
|
+
void settle(() => outputPromise);
|
|
313
|
+
options?.signal?.addEventListener('abort', onAbort, { once: true });
|
|
314
|
+
if (options?.signal?.aborted)
|
|
315
|
+
onAbort();
|
|
316
|
+
let outputOutcome;
|
|
317
|
+
try {
|
|
318
|
+
outputOutcome = await settle(() => Promise.race([
|
|
319
|
+
outputPromise,
|
|
320
|
+
waitForKillFailure()
|
|
321
|
+
]));
|
|
322
|
+
}
|
|
323
|
+
finally {
|
|
324
|
+
options?.signal?.removeEventListener('abort', onAbort);
|
|
325
|
+
}
|
|
326
|
+
if (options?.signal?.aborted) {
|
|
327
|
+
const cancelError = new CapabilityError('Build command terminated because the host action lost its lease or was canceled.', 'UNAVAILABLE', {
|
|
328
|
+
reason: 'build-action-canceled',
|
|
329
|
+
retryable: false
|
|
330
|
+
});
|
|
331
|
+
const killOutcome = killOutcomePromise ? await killOutcomePromise : undefined;
|
|
332
|
+
if (killOutcome && !killOutcome.ok) {
|
|
333
|
+
const unconfirmedError = new CapabilityError(`Build command termination signal submission failed; child process (pid ${handle.pid ?? 'unknown'}) termination is unconfirmed.`, 'UNAVAILABLE', {
|
|
334
|
+
reason: UNCONFIRMED_PROCESS_TERMINATION_REASON,
|
|
335
|
+
retryable: false,
|
|
336
|
+
details: { pid: handle.pid ?? null, processExited },
|
|
337
|
+
cause: new AggregateError([cancelError, killOutcome.cause], 'Build command termination signal submission failed.', { cause: cancelError })
|
|
338
|
+
});
|
|
339
|
+
const unconfirmedProcess = {
|
|
340
|
+
pid: handle.pid ?? null,
|
|
341
|
+
exit: outputPromise.then(({ code }) => ({ code }))
|
|
342
|
+
};
|
|
343
|
+
unconfirmedTerminations.set(unconfirmedError, unconfirmedProcess);
|
|
344
|
+
throw unconfirmedError;
|
|
345
|
+
}
|
|
346
|
+
if (killOutcome?.ok && killOutcome.value.sigtermError !== undefined) {
|
|
347
|
+
throw new AggregateError([cancelError, killOutcome.value.sigtermError], 'Build command termination signal submission failed on SIGTERM (escalated to SIGKILL).', { cause: cancelError });
|
|
348
|
+
}
|
|
349
|
+
if (!outputOutcome.ok) {
|
|
350
|
+
throw new AggregateError([cancelError, outputOutcome.cause], 'Build command termination signal submission failed.', { cause: cancelError });
|
|
351
|
+
}
|
|
352
|
+
throw cancelError;
|
|
353
|
+
}
|
|
354
|
+
if (!outputOutcome.ok) {
|
|
355
|
+
throw outputOutcome.cause;
|
|
356
|
+
}
|
|
357
|
+
const { code } = outputOutcome.value;
|
|
358
|
+
if (code !== 0) {
|
|
359
|
+
throw new CapabilityError(`Command failed with exit code ${code}: ${command.join(' ')}`, 'UNAVAILABLE', {
|
|
360
|
+
reason: 'build-command-failed',
|
|
361
|
+
retryable: false,
|
|
362
|
+
details: { exitCode: code }
|
|
363
|
+
});
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
async function requestCloneCredential(actionId, context, fleetInstall = false) {
|
|
367
|
+
const fetchImpl = context.fetchImpl ?? fetch;
|
|
368
|
+
const origin = context.platformOrigin.replace(/\/+$/, '');
|
|
369
|
+
const response = await fetchImpl(`${origin}/api/hosts/actions/${actionId}/source-credential`, {
|
|
370
|
+
method: 'POST',
|
|
371
|
+
headers: fleetInstall ? { Authorization: `Bearer ${context.hostToken}`, 'Content-Type': 'application/json' } : { Authorization: `Bearer ${context.hostToken}` },
|
|
372
|
+
body: fleetInstall ? JSON.stringify({ kind: 'fleet-build' }) : undefined
|
|
373
|
+
});
|
|
374
|
+
if (!response.ok) {
|
|
375
|
+
throw new Error(`Source credential broker rejected checkout: HTTP ${response.status}`);
|
|
376
|
+
}
|
|
377
|
+
return JsonValueSchema.parse(await response.json());
|
|
378
|
+
}
|
|
379
|
+
async function revokeCloneCredential(actionId, tokenId, context, fleetInstall = false) {
|
|
380
|
+
const fetchImpl = context.fetchImpl ?? fetch;
|
|
381
|
+
const origin = context.platformOrigin.replace(/\/+$/, '');
|
|
382
|
+
const response = await fetchImpl(`${origin}/api/hosts/actions/${actionId}/source-credential`, {
|
|
383
|
+
method: 'DELETE',
|
|
384
|
+
headers: {
|
|
385
|
+
Authorization: `Bearer ${context.hostToken}`,
|
|
386
|
+
'Content-Type': 'application/json'
|
|
387
|
+
},
|
|
388
|
+
body: JSON.stringify(fleetInstall ? { kind: 'fleet-build' } : { tokenId })
|
|
389
|
+
});
|
|
390
|
+
if (!response.ok && response.status !== 404 && !(!fleetInstall && tokenId === undefined && response.status === 409)) {
|
|
391
|
+
throw new Error(`Source credential revocation failed: HTTP ${response.status}`);
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
async function requestStepCredential(actionId, step, context) {
|
|
395
|
+
const origin = context.platformOrigin.replace(/\/+$/, '');
|
|
396
|
+
const response = await (context.fetchImpl ?? fetch)(`${origin}/api/hosts/actions/${actionId}/step-credential`, {
|
|
397
|
+
method: 'POST',
|
|
398
|
+
headers: { Authorization: `Bearer ${context.hostToken}`, 'Content-Type': 'application/json' },
|
|
399
|
+
body: JSON.stringify({ step })
|
|
400
|
+
});
|
|
401
|
+
if (!response.ok)
|
|
402
|
+
throw new Error(`Step credential broker rejected the step: HTTP ${response.status}`);
|
|
403
|
+
const parsed = BuildStepCredentialLeaseSchema.safeParse(await response.json());
|
|
404
|
+
if (!parsed.success || parsed.data.step !== step || Date.parse(parsed.data.expiresAt) <= Date.now()) {
|
|
405
|
+
throw new Error('Step credential broker returned an invalid or expired lease');
|
|
406
|
+
}
|
|
407
|
+
return parsed.data;
|
|
408
|
+
}
|
|
409
|
+
async function retireStepCredential(actionId, step, context) {
|
|
410
|
+
const origin = context.platformOrigin.replace(/\/+$/, '');
|
|
411
|
+
const response = await (context.fetchImpl ?? fetch)(`${origin}/api/hosts/actions/${actionId}/step-credential`, {
|
|
412
|
+
method: 'DELETE',
|
|
413
|
+
headers: { Authorization: `Bearer ${context.hostToken}`, 'Content-Type': 'application/json' },
|
|
414
|
+
body: JSON.stringify({ step })
|
|
415
|
+
});
|
|
416
|
+
if (!response.ok)
|
|
417
|
+
throw new Error(`Step credential retirement failed: HTTP ${response.status}`);
|
|
418
|
+
}
|
|
419
|
+
async function checkoutSource(runtime, actionId, payload, workspace, append, context, ciCredentials, fleetCredentials, signal) {
|
|
420
|
+
const filesystem = await resolveFileSystemAdapter(runtime);
|
|
421
|
+
const paths = await getRuntimePath(runtime);
|
|
422
|
+
const source = payload.source;
|
|
423
|
+
// A remote action names no host path: every step runs inside a checkout this
|
|
424
|
+
// action owns. A `workspace` source (or none) would run the queued steps in
|
|
425
|
+
// the daemon's own bound workspace or at any absolute path on the host; a
|
|
426
|
+
// local build runs as a local command instead (fleet V03).
|
|
427
|
+
if (!source || source.kind === 'workspace') {
|
|
428
|
+
throw new CapabilityError('A remote build-job action must declare a git source; a host path is never a remote source.', 'INVALID_INPUT', { reason: 'build-job-host-path-source', retryable: false, details: { source: source?.kind ?? 'none' } });
|
|
429
|
+
}
|
|
430
|
+
if (source.kind !== 'git' || !source.repository) {
|
|
431
|
+
throw new CapabilityError('The host agent supports only git build-job sources.', 'INVALID_INPUT', {
|
|
432
|
+
reason: 'build-job-source-unsupported',
|
|
433
|
+
retryable: false,
|
|
434
|
+
details: { source: source.kind ?? 'unknown' }
|
|
435
|
+
});
|
|
436
|
+
}
|
|
437
|
+
const sourceDir = paths.join(workspace, 'source');
|
|
438
|
+
if (ciCredentials) {
|
|
439
|
+
const credential = await materializeBuildSshCredential(runtime, ciCredentials, source, workspace);
|
|
440
|
+
const git = { inheritEnv: gitCommandInheritEnv(runtime), signal };
|
|
441
|
+
try {
|
|
442
|
+
await filesystem.mkdir(sourceDir);
|
|
443
|
+
await runCommand(runtime, ['git', 'init', sourceDir], workspace, append, git);
|
|
444
|
+
await runCommand(runtime, ['git', 'remote', 'add', 'origin', source.repository], sourceDir, append, git);
|
|
445
|
+
// The key authorizes one upload-pack session: cloning and then fetching
|
|
446
|
+
// would consume it twice. Fetch the immutable revision once instead.
|
|
447
|
+
await runCommand(runtime, ['git', 'fetch', '--depth', '1', 'origin', source.ref], sourceDir, append, { ...git, env: credential.env });
|
|
448
|
+
await runCommand(runtime, ['git', 'checkout', '--detach', 'FETCH_HEAD'], sourceDir, append, git);
|
|
449
|
+
}
|
|
450
|
+
finally {
|
|
451
|
+
await credential.cleanup();
|
|
452
|
+
}
|
|
453
|
+
return sourceDir;
|
|
454
|
+
}
|
|
455
|
+
const brokered = source.authentication?.mode === 'brokered';
|
|
456
|
+
if (brokered && (!context || source.authentication?.provider !== 'vibes-forge')) {
|
|
457
|
+
throw new Error('Brokered Vibes Forge source requires an authenticated platform execution context');
|
|
458
|
+
}
|
|
459
|
+
const credential = fleetCredentials?.source ?? (brokered ? BrokeredCloneCredentialSchema.parse(await requestCloneCredential(actionId, context)) : undefined);
|
|
460
|
+
const askpass = credential ? paths.join(workspace, 'git-askpass.sh') : undefined;
|
|
461
|
+
if (askpass) {
|
|
462
|
+
await filesystem.writeFile(askpass, '#!/bin/sh\ncase "$1" in *Username*) printf "%s" "$VIBES_GIT_USERNAME" ;; *) printf "%s" "$VIBES_GIT_TOKEN" ;; esac\n', { mode: 0o700 });
|
|
463
|
+
await chmodChecked(filesystem, askpass, 0o700);
|
|
464
|
+
}
|
|
465
|
+
const authEnv = credential
|
|
466
|
+
? {
|
|
467
|
+
GIT_ASKPASS: askpass,
|
|
468
|
+
GIT_TERMINAL_PROMPT: '0',
|
|
469
|
+
VIBES_GIT_USERNAME: credential.username,
|
|
470
|
+
VIBES_GIT_TOKEN: credential.token
|
|
471
|
+
}
|
|
472
|
+
: undefined;
|
|
473
|
+
const git = { inheritEnv: gitCommandInheritEnv(runtime), signal };
|
|
474
|
+
try {
|
|
475
|
+
await runCommand(runtime, ['git', 'clone', '--depth', String(source.depth ?? 1), source.repository, sourceDir], workspace, append, {
|
|
476
|
+
...git,
|
|
477
|
+
env: authEnv,
|
|
478
|
+
display: `git clone --depth ${source.depth ?? 1} ${source.repository} ${sourceDir}`
|
|
479
|
+
});
|
|
480
|
+
if (source.ref) {
|
|
481
|
+
await runCommand(runtime, ['git', 'fetch', '--depth', '1', 'origin', source.ref], sourceDir, append, {
|
|
482
|
+
...git,
|
|
483
|
+
env: authEnv
|
|
484
|
+
});
|
|
485
|
+
await runCommand(runtime, ['git', 'checkout', '--detach', 'FETCH_HEAD'], sourceDir, append, git);
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
finally {
|
|
489
|
+
if (askpass)
|
|
490
|
+
await filesystem.remove(askpass);
|
|
491
|
+
if (credential && !fleetCredentials)
|
|
492
|
+
await revokeCloneCredential(actionId, credential.tokenId, context);
|
|
493
|
+
}
|
|
494
|
+
return sourceDir;
|
|
495
|
+
}
|
|
496
|
+
function resolveStepCwd(paths, checkoutDir, cwd) {
|
|
497
|
+
if (!cwd)
|
|
498
|
+
return checkoutDir;
|
|
499
|
+
return resolveInside(paths, checkoutDir, cwd, 'step cwd');
|
|
500
|
+
}
|
|
501
|
+
function resolveInside(paths, root, value, label) {
|
|
502
|
+
const rootPath = paths.resolve(root);
|
|
503
|
+
const resolved = paths.resolve(rootPath, value);
|
|
504
|
+
const rel = paths.relative(rootPath, resolved);
|
|
505
|
+
if (rel.startsWith('..') || paths.isAbsolute(rel)) {
|
|
506
|
+
throw new Error(`${label} escapes build workspace: ${value}`);
|
|
507
|
+
}
|
|
508
|
+
return resolved;
|
|
509
|
+
}
|
|
510
|
+
function stepLeaseCredentialEnv(actionId, credentials, authority, deployLease) {
|
|
511
|
+
if (!authority && !deployLease)
|
|
512
|
+
return undefined;
|
|
513
|
+
const env = {};
|
|
514
|
+
const keys = [];
|
|
515
|
+
const expiries = [];
|
|
516
|
+
if (authority) {
|
|
517
|
+
env[VIBES_CI_REGISTRY_AUTHORITY_KEY] = authority.token;
|
|
518
|
+
env[VIBES_REGISTRY_READ_TOKEN_KEY] = credentials.registry.token;
|
|
519
|
+
keys.push(VIBES_CI_REGISTRY_AUTHORITY_KEY, VIBES_REGISTRY_READ_TOKEN_KEY);
|
|
520
|
+
expiries.push(Date.parse(authority.expiresAt), Date.parse(credentials.registry.expiresAt));
|
|
521
|
+
}
|
|
522
|
+
if (deployLease) {
|
|
523
|
+
for (const binding of deployLease.bindings) {
|
|
524
|
+
env[binding.name] = binding.value;
|
|
525
|
+
keys.push(binding.name);
|
|
526
|
+
}
|
|
527
|
+
expiries.push(Date.parse(deployLease.expiresAt));
|
|
528
|
+
}
|
|
529
|
+
env[HOST_CREDENTIAL_MANIFEST_KEY] = serializeHostCredentialsManifest({
|
|
530
|
+
keys,
|
|
531
|
+
publisher: {
|
|
532
|
+
leaseId: authority?.leaseId ?? deployLease?.leaseId ?? actionId,
|
|
533
|
+
expiresAt: Math.min(...expiries)
|
|
534
|
+
}
|
|
535
|
+
});
|
|
536
|
+
return env;
|
|
537
|
+
}
|
|
538
|
+
export async function executeBuildJobAction(runtime, action, publish, options) {
|
|
539
|
+
const signal = options?.signal;
|
|
540
|
+
const filesystem = await resolveFileSystemAdapter(runtime);
|
|
541
|
+
const paths = await getRuntimePath(runtime);
|
|
542
|
+
const payload = asBuildJobPayload(action);
|
|
543
|
+
const steps = payload.steps;
|
|
544
|
+
if (!steps?.length) {
|
|
545
|
+
throw new Error('Build-job action payload is missing steps');
|
|
546
|
+
}
|
|
547
|
+
const declaredPublish = resolveArtifactPublish(action.id, payload, publish);
|
|
548
|
+
let logs = '';
|
|
549
|
+
const secrets = [];
|
|
550
|
+
const append = (text) => {
|
|
551
|
+
logs += text;
|
|
552
|
+
for (const secret of secrets)
|
|
553
|
+
logs = logs.replaceAll(secret, '[redacted]');
|
|
554
|
+
if (logs.length > 262_144)
|
|
555
|
+
logs = logs.slice(logs.length - 262_144);
|
|
556
|
+
};
|
|
557
|
+
// The action's scratch workspace lives under the handed runtime's temp root.
|
|
558
|
+
const scratch = await createTemporaryDirectoryChecked(filesystem);
|
|
559
|
+
const workspace = scratch.path;
|
|
560
|
+
let preserveWorkspace = false;
|
|
561
|
+
let terminationUnconfirmed = false;
|
|
562
|
+
let unconfirmedProcessHandle = null;
|
|
563
|
+
let issuedCredentials = false;
|
|
564
|
+
let credentials;
|
|
565
|
+
let fleetCredentials;
|
|
566
|
+
let fleetInstall = false;
|
|
567
|
+
let runtimeBin;
|
|
568
|
+
const completed = await settle(async () => {
|
|
569
|
+
if (BuildPayloadEnvelopeSchema.safeParse(action.payload).data?.ci !== undefined) {
|
|
570
|
+
if (!publish || payload.source?.authentication?.mode !== 'brokered') {
|
|
571
|
+
throw new Error('CI build requires an authenticated source broker');
|
|
572
|
+
}
|
|
573
|
+
// POST can mint successfully even when its response is lost. Always retire
|
|
574
|
+
// through the authenticated action, including a failed response decode.
|
|
575
|
+
issuedCredentials = true;
|
|
576
|
+
const wire = await requestCloneCredential(action.id, publish);
|
|
577
|
+
credentials = parseBuildJobCredentials(wire, action);
|
|
578
|
+
secrets.push(credentials.registry.token, ...credentials.ssh.leases.map((lease) => lease.privateKeyOpenSsh));
|
|
579
|
+
if (credentials.publish) {
|
|
580
|
+
secrets.push(...credentials.publish.map((lease) => lease.token));
|
|
581
|
+
if (credentials.publish.some((lease) => steps.filter((step) => step.name === lease.step).length !== 1)) {
|
|
582
|
+
throw new Error('Build publish authority does not match unique action steps');
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
if (credentials.secretSteps?.some((name) => steps.filter((step) => step.name === name).length !== 1 || credentials.deploy?.some((lease) => lease.step === name))) {
|
|
586
|
+
throw new Error('Build step credential does not match unique action steps');
|
|
587
|
+
}
|
|
588
|
+
if (credentials.deploy) {
|
|
589
|
+
secrets.push(...credentials.deploy.flatMap((lease) => lease.bindings.map((binding) => binding.value)));
|
|
590
|
+
if (credentials.deploy.some((lease) => steps.filter((step) => step.name === lease.step).length !== 1)) {
|
|
591
|
+
throw new Error('Build deploy credential does not match unique action steps');
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
runtimeBin = await materializeBuildRuntime(runtime, workspace);
|
|
595
|
+
}
|
|
596
|
+
else if (payload.source?.authentication?.mode === 'brokered' && steps.some((step) => FleetInstallCommandSchema.safeParse(step.run).success && !step.shell && (!step.cwd || step.cwd === '.'))) {
|
|
597
|
+
if (!publish || !/^[a-f0-9]{40}$/.test(payload.source.ref ?? '')) {
|
|
598
|
+
throw new Error('Fleet install requires an authenticated immutable source');
|
|
599
|
+
}
|
|
600
|
+
fleetInstall = true;
|
|
601
|
+
issuedCredentials = true;
|
|
602
|
+
const parsed = FleetBuildCredentialsSchema.safeParse(await requestCloneCredential(action.id, publish, true));
|
|
603
|
+
if (!parsed.success)
|
|
604
|
+
throw new Error('Fleet build broker returned invalid credentials');
|
|
605
|
+
fleetCredentials = parsed.data;
|
|
606
|
+
secrets.push(fleetCredentials.registry.token, fleetCredentials.source.token);
|
|
607
|
+
if (fleetCredentials.registry.owner.type !== action.ownerType || fleetCredentials.registry.owner.id !== action.ownerId ||
|
|
608
|
+
Date.parse(fleetCredentials.registry.expiresAt) <= Date.now() || Date.parse(fleetCredentials.source.expiresAt) <= Date.now() ||
|
|
609
|
+
fleetCredentials.installSteps.some(({ index, command }) => {
|
|
610
|
+
const step = steps[index];
|
|
611
|
+
return !step || step.run !== command || !!step.shell || (!!step.cwd && step.cwd !== '.');
|
|
612
|
+
}))
|
|
613
|
+
throw new Error('Fleet install lease does not match the action owner or steps');
|
|
614
|
+
runtimeBin = await materializeBuildRuntime(runtime, workspace);
|
|
615
|
+
}
|
|
616
|
+
const checkoutDir = await checkoutSource(runtime, action.id, payload, workspace, append, publish, credentials, fleetCredentials, signal);
|
|
617
|
+
for (const [index, step] of steps.entries()) {
|
|
618
|
+
if (signal?.aborted) {
|
|
619
|
+
throw new CapabilityError('Build command terminated because the host action lost its lease or was canceled.', 'UNAVAILABLE', {
|
|
620
|
+
reason: 'build-action-canceled',
|
|
621
|
+
retryable: false
|
|
622
|
+
});
|
|
623
|
+
}
|
|
624
|
+
append(`\n==> ${step.name}\n`);
|
|
625
|
+
const install = fleetCredentials?.installSteps.find((grant) => grant.index === index && grant.command === step.run);
|
|
626
|
+
const authority = credentials?.publish?.find((lease) => lease.step === step.name);
|
|
627
|
+
if (authority && Date.parse(authority.expiresAt) <= Date.now()) {
|
|
628
|
+
throw new Error('Build publish authority has expired before its step');
|
|
629
|
+
}
|
|
630
|
+
if (authority && Date.parse(credentials.registry.expiresAt) <= Date.now()) {
|
|
631
|
+
throw new Error('Build Registry read lease has expired before its publish step');
|
|
632
|
+
}
|
|
633
|
+
const deployLease = credentials?.deploy?.find((lease) => lease.step === step.name);
|
|
634
|
+
if (deployLease && Date.parse(deployLease.expiresAt) <= Date.now()) {
|
|
635
|
+
throw new Error('Build deploy credential has expired before its step');
|
|
636
|
+
}
|
|
637
|
+
const stepCwd = resolveStepCwd(paths, checkoutDir, step.cwd);
|
|
638
|
+
const isBunInstallStep = Boolean(install) || /^\s*bun\s+install\b/.test(step.run);
|
|
639
|
+
const standaloneWorkspace = isBunInstallStep
|
|
640
|
+
? await prepareRegistryStandaloneWorkspace(runtime, { cwd: stepCwd })
|
|
641
|
+
: undefined;
|
|
642
|
+
const effectiveInstallTokens = install?.command.split(' ').slice(1);
|
|
643
|
+
let generatedLock = false;
|
|
644
|
+
try {
|
|
645
|
+
let requestedStepCredential = false;
|
|
646
|
+
const stepOutcome = await settle(async () => {
|
|
647
|
+
let stepCredential = deployLease;
|
|
648
|
+
if (credentials?.secretSteps?.includes(step.name)) {
|
|
649
|
+
if (!publish)
|
|
650
|
+
throw new Error('Step credentials require an authenticated broker');
|
|
651
|
+
requestedStepCredential = true;
|
|
652
|
+
stepCredential = await requestStepCredential(action.id, step.name, publish);
|
|
653
|
+
secrets.push(...stepCredential.bindings.map((binding) => binding.value));
|
|
654
|
+
}
|
|
655
|
+
await runCommand(runtime, effectiveInstallTokens
|
|
656
|
+
? [paths.join(runtimeBin, 'bun'), ...effectiveInstallTokens]
|
|
657
|
+
: await shellCommand(runtime, runtimeBin
|
|
658
|
+
? `export PATH=${shellQuote(runtimeBin)}:"$PATH"; ${step.run}`
|
|
659
|
+
: step.run, step.shell), stepCwd, append, fleetCredentials
|
|
660
|
+
? {
|
|
661
|
+
display: step.run,
|
|
662
|
+
signal,
|
|
663
|
+
env: {
|
|
664
|
+
VIBES_REGISTRY_TOKEN: install ? fleetCredentials.registry.token : undefined
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
: credentials
|
|
668
|
+
? {
|
|
669
|
+
display: step.run,
|
|
670
|
+
signal,
|
|
671
|
+
env: {
|
|
672
|
+
VIBES_REGISTRY_TOKEN: credentials.installSteps.includes(step.name)
|
|
673
|
+
? credentials.registry.token
|
|
674
|
+
: undefined
|
|
675
|
+
},
|
|
676
|
+
credentialEnv: stepLeaseCredentialEnv(action.id, credentials, authority, stepCredential),
|
|
677
|
+
expiresAt: authority || stepCredential
|
|
678
|
+
? Math.min(authority ? Date.parse(authority.expiresAt) : Infinity, authority ? Date.parse(credentials.registry.expiresAt) : Infinity, stepCredential ? Date.parse(stepCredential.expiresAt) : Infinity)
|
|
679
|
+
: undefined
|
|
680
|
+
}
|
|
681
|
+
: signal
|
|
682
|
+
? { signal }
|
|
683
|
+
: undefined);
|
|
684
|
+
});
|
|
685
|
+
if (!stepOutcome.ok && hasUnconfirmedProcessTermination(stepOutcome.cause)) {
|
|
686
|
+
terminationUnconfirmed = true;
|
|
687
|
+
unconfirmedProcessHandle ??= getUnconfirmedProcessTermination(stepOutcome.cause);
|
|
688
|
+
}
|
|
689
|
+
const retirement = await settle(async () => {
|
|
690
|
+
if (requestedStepCredential && publish)
|
|
691
|
+
await retireStepCredential(action.id, step.name, publish);
|
|
692
|
+
});
|
|
693
|
+
if (!stepOutcome.ok && !retirement.ok) {
|
|
694
|
+
const combined = new AggregateError([
|
|
695
|
+
valueFreeFailure(stepOutcome.cause),
|
|
696
|
+
valueFreeFailure(retirement.cause)
|
|
697
|
+
], 'Step execution and credential retirement failed');
|
|
698
|
+
if (terminationUnconfirmed && unconfirmedProcessHandle) {
|
|
699
|
+
unconfirmedTerminations.set(combined, unconfirmedProcessHandle);
|
|
700
|
+
}
|
|
701
|
+
throw combined;
|
|
702
|
+
}
|
|
703
|
+
if (!stepOutcome.ok)
|
|
704
|
+
throw stepOutcome.cause;
|
|
705
|
+
if (!retirement.ok)
|
|
706
|
+
throw retirement.cause;
|
|
707
|
+
generatedLock = FleetInstallCommandSchema.safeParse(step.run).success && step.run.includes('--lockfile-only');
|
|
708
|
+
}
|
|
709
|
+
finally {
|
|
710
|
+
if (terminationUnconfirmed && unconfirmedProcessHandle && standaloneWorkspace) {
|
|
711
|
+
const ws = standaloneWorkspace;
|
|
712
|
+
unconfirmedProcessHandle = {
|
|
713
|
+
...unconfirmedProcessHandle,
|
|
714
|
+
exit: unconfirmedProcessHandle.exit.finally(async () => {
|
|
715
|
+
await settle(() => ws.restore(false));
|
|
716
|
+
})
|
|
717
|
+
};
|
|
718
|
+
}
|
|
719
|
+
else if (!terminationUnconfirmed) {
|
|
720
|
+
await standaloneWorkspace?.restore(generatedLock);
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
const artifacts = [];
|
|
725
|
+
for (const artifact of payload.artifacts ?? []) {
|
|
726
|
+
const path = resolveInside(paths, checkoutDir, artifact.path, 'artifact path');
|
|
727
|
+
const exists = await filesystem.exists(path);
|
|
728
|
+
const required = artifact.required ?? true;
|
|
729
|
+
if (required && !exists)
|
|
730
|
+
throw new Error(`Required artifact not found: ${artifact.path}`);
|
|
731
|
+
if (!exists)
|
|
732
|
+
continue;
|
|
733
|
+
artifacts.push({ name: artifact.name ?? paths.basename(artifact.path), path, required });
|
|
734
|
+
}
|
|
735
|
+
// Publish through the declared adapter's publisher while the workspace
|
|
736
|
+
// still exists. A required artifact's upload failure throws here (fails
|
|
737
|
+
// the build); the workspace is cleaned up by the `finally` regardless.
|
|
738
|
+
let published = [];
|
|
739
|
+
if (declaredPublish) {
|
|
740
|
+
published = await declaredPublish.publisher(runtime, action.id, artifacts, declaredPublish.context, append, declaredPublish.adapter);
|
|
741
|
+
}
|
|
742
|
+
// Only a completed build keeps its checkout, for the caller to collect the
|
|
743
|
+
// resolved artifacts; a failed one (a failed upload included) is removed.
|
|
744
|
+
preserveWorkspace = artifacts.length > 0;
|
|
745
|
+
const result = JsonObjectSchema.parse({
|
|
746
|
+
artifacts,
|
|
747
|
+
workspace: preserveWorkspace ? checkoutDir : null
|
|
748
|
+
});
|
|
749
|
+
if (published.length > 0)
|
|
750
|
+
result.published = published;
|
|
751
|
+
return { logs, result };
|
|
752
|
+
});
|
|
753
|
+
const revoked = await settle(async () => {
|
|
754
|
+
if (issuedCredentials && publish)
|
|
755
|
+
await revokeCloneCredential(action.id, undefined, publish, fleetInstall);
|
|
756
|
+
});
|
|
757
|
+
if (!completed.ok && hasUnconfirmedProcessTermination(completed.cause)) {
|
|
758
|
+
terminationUnconfirmed = true;
|
|
759
|
+
unconfirmedProcessHandle ??= getUnconfirmedProcessTermination(completed.cause);
|
|
760
|
+
}
|
|
761
|
+
if (terminationUnconfirmed && unconfirmedProcessHandle) {
|
|
762
|
+
const cleanupPromise = unconfirmedProcessHandle.exit.then(async (outcome) => {
|
|
763
|
+
if (!preserveWorkspace) {
|
|
764
|
+
await settle(() => scratch.cleanup());
|
|
765
|
+
}
|
|
766
|
+
return outcome;
|
|
767
|
+
});
|
|
768
|
+
void settle(() => cleanupPromise);
|
|
769
|
+
unconfirmedProcessHandle = {
|
|
770
|
+
...unconfirmedProcessHandle,
|
|
771
|
+
cleanup: cleanupPromise
|
|
772
|
+
};
|
|
773
|
+
}
|
|
774
|
+
const removed = await settle(async () => {
|
|
775
|
+
if (!preserveWorkspace && !terminationUnconfirmed)
|
|
776
|
+
await scratch.cleanup();
|
|
777
|
+
});
|
|
778
|
+
if (!completed.ok) {
|
|
779
|
+
const error = completed.cause;
|
|
780
|
+
if (error instanceof Error) {
|
|
781
|
+
for (const secret of secrets)
|
|
782
|
+
error.message = error.message.replaceAll(secret, '[redacted]');
|
|
783
|
+
Object.defineProperty(error, 'buildLogs', { value: logs, configurable: true });
|
|
784
|
+
if (terminationUnconfirmed && unconfirmedProcessHandle) {
|
|
785
|
+
unconfirmedTerminations.set(error, unconfirmedProcessHandle);
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
if (!revoked.ok || !removed.ok) {
|
|
789
|
+
getLogger('platform:build-job', runtime).error('Build cleanup failed after the primary failure.', {
|
|
790
|
+
revocationFailed: !revoked.ok, workspaceRemovalFailed: !removed.ok,
|
|
791
|
+
primary: completed.cause, revocation: revoked.ok ? undefined : revoked.cause,
|
|
792
|
+
workspaceRemoval: removed.ok ? undefined : removed.cause
|
|
793
|
+
});
|
|
794
|
+
}
|
|
795
|
+
throw completed.cause;
|
|
796
|
+
}
|
|
797
|
+
if (!revoked.ok)
|
|
798
|
+
throw revoked.cause;
|
|
799
|
+
if (!removed.ok)
|
|
800
|
+
throw removed.cause;
|
|
801
|
+
return completed.value;
|
|
802
|
+
}
|
|
803
|
+
//# sourceMappingURL=build-job-executor.js.map
|