@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,375 @@
|
|
|
1
|
+
import { PlatformConfigSchema } from "../../config/platform.config.descriptor.js";
|
|
2
|
+
/**
|
|
3
|
+
* Shared cloud-init template for fleet-provisioned hosts (fleet-droplet F0.1).
|
|
4
|
+
*
|
|
5
|
+
* One template, two consumers: platform-web's `handleHostProvision` (the
|
|
6
|
+
* server-built `infra/sandbox` descriptor's user_data) and the fleet CLI
|
|
7
|
+
* launch path. The generated boot script:
|
|
8
|
+
* 1. curl-installs the `vibes` CLI from the public installer,
|
|
9
|
+
* 2. writes the one-time enrollment token into a root-only file (0600) at
|
|
10
|
+
* `/root/.vibes/hosts/<host-id>.enroll-token` (the path `vibes fleet
|
|
11
|
+
* daemon install` uses), the platform origin into a root-only env file
|
|
12
|
+
* (0600) at `/etc/vibes/fleet-daemon.env`, and the daemon root's
|
|
13
|
+
* `vibes.config.json` (`daemon-host-config.ts`): the host's declared
|
|
14
|
+
* environment tier (`config['runtime.host'].environmentTier`) and the
|
|
15
|
+
* fleet CLI plugin the daemon command needs,
|
|
16
|
+
* 3. writes a systemd SYSTEM unit whose working directory is the daemon root
|
|
17
|
+
* and that runs `vibes fleet daemon --enroll-token-file <path>` headless
|
|
18
|
+
* (the CLI binds that root from its cwd): argv carries
|
|
19
|
+
* the token's PATH, never the token, so nothing sensitive appears in
|
|
20
|
+
* `ps`; the daemon consumes and removes the file once it has persisted
|
|
21
|
+
* the durable host token. The
|
|
22
|
+
* `vibes fleet daemon install` service backend manages user units via
|
|
23
|
+
* `systemctl --user`, which has no bus in cloud-init's root context, so
|
|
24
|
+
* the unit is rendered here with the same `vibes-fleet-daemon-<host-id>`
|
|
25
|
+
* naming,
|
|
26
|
+
* 4. verifies the installed CLI can run the daemon from the daemon root
|
|
27
|
+
* (`vibes fleet daemon --help` exits 0 there) and ONLY THEN enables +
|
|
28
|
+
* starts the unit.
|
|
29
|
+
* `Restart=on-failure` retries transient enroll failures until the daemon
|
|
30
|
+
* claims the token and persists the durable host token at
|
|
31
|
+
* `/root/.vibes/hosts/<host-id>.json`; later runs ignore the (spent)
|
|
32
|
+
* enroll token.
|
|
33
|
+
*
|
|
34
|
+
* Why the verify gate: the public installer ships a THIN SHIM and finishes it
|
|
35
|
+
* with `vibes update --global`, which needs the private `@vibesdotdev`
|
|
36
|
+
* registry. A bare droplet has no registry credential (none is embedded here —
|
|
37
|
+
* user_data is not a place for one), so that step fails and the installer
|
|
38
|
+
* deliberately exits 0 anyway. Without the gate, cloud-init enabled a unit
|
|
39
|
+
* whose binary exits 78 on every command; `Restart=on-failure` looped it
|
|
40
|
+
* forever and the platform showed "awaiting first heartbeat" indefinitely.
|
|
41
|
+
* With the gate, an unusable daemon writes {@link FLEET_DAEMON_UNUSABLE_MARKER_FILE}
|
|
42
|
+
* (`status=unusable`, `reason=...`, `remedy=...`), appends a timestamped line
|
|
43
|
+
* to {@link FLEET_CLOUD_INIT_LOG_FILE}, and leaves the unit written but
|
|
44
|
+
* DISABLED so an operator (or a later brokered install step) can repair the
|
|
45
|
+
* host graph and `systemctl enable --now` it.
|
|
46
|
+
*
|
|
47
|
+
* Why the daemon root declares the fleet CLI plugin and binds by cwd: the
|
|
48
|
+
* installer pulls the latest PUBLISHED CLI, not the one this template was
|
|
49
|
+
* built with, so the template may only rely on what every supported release
|
|
50
|
+
* accepts. A release whose global root does not compose `vibes fleet` (0.2.13)
|
|
51
|
+
* still composes it from a root that declares it; one that does registers it
|
|
52
|
+
* once (a plugin registers idempotently). Every release binds its workspace
|
|
53
|
+
* from the cwd, while 0.2.13 refuses `--workspace-root`, so neither unit
|
|
54
|
+
* passes that flag. The daemon reads its enrollment token from
|
|
55
|
+
* `--enroll-token-file` and its tier from the bound root.
|
|
56
|
+
*
|
|
57
|
+
* By default the unit runs `--relay` so the daemon dials OUT to the broker DO and
|
|
58
|
+
* a NAT'd droplet reachable only via public IP is still reachable over the relay
|
|
59
|
+
* by `getVibesRemote(hostId)` (the `--no-relay` default previously left provisioned
|
|
60
|
+
* hosts unreachable — fleet-relay NAT gap). Pass `relayReachable: false` for the
|
|
61
|
+
* legacy http-only public-IP path. The relay REQUIRES the same L5-gated pipeline
|
|
62
|
+
* (wired by construction in the daemon CLI), so relay-reachable never weakens the
|
|
63
|
+
* secure-by-default bind guards.
|
|
64
|
+
*
|
|
65
|
+
* Pure string builder: must stay workerd-safe (platform-web consumes it).
|
|
66
|
+
*/
|
|
67
|
+
// The build-runner toolchain (git + bun) setup script is a first-class
|
|
68
|
+
// `extraScript` for this template; re-exported here so `@vibesdotdev/platform/fleets/provision`
|
|
69
|
+
// (mapped to this file) is the single import home for both.
|
|
70
|
+
export { BUILD_RUNNER_BUN_INSTALL_DIR, BUILD_RUNNER_BUN_INSTALL_URL, BUILD_RUNNER_BUN_VERSION, BUILD_RUNNER_SETUP_MARKER, buildBuildRunnerSetupScript } from "./build-runner-setup.js";
|
|
71
|
+
// The desktop/GPU-host setup script (docker + vibes-desktop-base) is a first-class
|
|
72
|
+
// `extraScript` for this template too; re-exported so `@vibesdotdev/platform/fleets/provision`
|
|
73
|
+
// is the single import home for every provisioning script.
|
|
74
|
+
export { DEFAULT_DESKTOP_SOURCE_REPO, DESKTOP_IMAGE_CONTEXT_DIR, DESKTOP_IMAGE_TAG, DESKTOP_HOST_SETUP_MARKER, buildDesktopHostSetupScript } from "./desktop-host-setup.js";
|
|
75
|
+
export { GPU_HOST_SETUP_MARKER, buildGpuHostSetupScript } from "./gpu-host-setup.js";
|
|
76
|
+
import { FLEET_DAEMON_CLI_PLUGIN, FLEET_DAEMON_HOST_CONFIG_FILE, fleetDaemonRootName, parseFleetDaemonTier, renderFleetDaemonHostConfig } from "./daemon-host-config.js";
|
|
77
|
+
export const DEFAULT_VIBES_INSTALL_URL = PlatformConfigSchema.shape.fleetInstallUrl.parse(undefined);
|
|
78
|
+
export const FLEET_DAEMON_ENV_FILE = '/etc/vibes/fleet-daemon.env';
|
|
79
|
+
/**
|
|
80
|
+
* The secret key an operator publishes the one-time enrollment token under
|
|
81
|
+
* (`vibes secrets exec --with VIBES_FLEET_ENROLL_TOKEN -- vibes fleet daemon`);
|
|
82
|
+
* the daemon resolves it through `runtime.resolveCredential`, never the raw
|
|
83
|
+
* process environment. Cloud-init writes a token file instead.
|
|
84
|
+
*/
|
|
85
|
+
export const FLEET_ENROLL_TOKEN_ENV = 'VIBES_FLEET_ENROLL_TOKEN';
|
|
86
|
+
/** A provisioned droplet's Vibes home: the daemon's unit runs with HOME=/root. */
|
|
87
|
+
const FLEET_CLOUD_INIT_VIBES_HOME = '/root/.vibes';
|
|
88
|
+
/** The one-time enrollment token file cloud-init writes (0600) for `hostId`. */
|
|
89
|
+
export function fleetCloudInitEnrollTokenFile(hostId) {
|
|
90
|
+
return `${FLEET_CLOUD_INIT_VIBES_HOME}/hosts/${hostId}.enroll-token`;
|
|
91
|
+
}
|
|
92
|
+
/** The root the provisioned daemon binds (its unit's working directory); it carries the declared tier and the fleet CLI plugin. */
|
|
93
|
+
export function fleetCloudInitDaemonRoot(hostId) {
|
|
94
|
+
return `${FLEET_CLOUD_INIT_VIBES_HOME}/hosts/${fleetDaemonRootName(hostId)}`;
|
|
95
|
+
}
|
|
96
|
+
/** Installed CLI path the unit executes; the installer honours VIBES_INSTALL_DIR. */
|
|
97
|
+
export const FLEET_CLOUD_INIT_VIBES_BIN = '/root/.local/bin/vibes';
|
|
98
|
+
/**
|
|
99
|
+
* Written (0600, root) when the installed CLI cannot run `fleet daemon`. Key=value
|
|
100
|
+
* lines: `status=unusable`, `reason=<verify output>`, `checkedAt=<iso>`,
|
|
101
|
+
* `remedy=<what to run>`. Absent on a healthy host. A future host-side status
|
|
102
|
+
* report can forward this so the platform shows `daemon unusable: <reason>`.
|
|
103
|
+
*/
|
|
104
|
+
export const FLEET_DAEMON_UNUSABLE_MARKER_FILE = '/etc/vibes/fleet-daemon.unusable';
|
|
105
|
+
/** Timestamped boot-script log (in addition to /var/log/cloud-init-output.log). */
|
|
106
|
+
export const FLEET_CLOUD_INIT_LOG_FILE = '/root/.vibes/logs/vibes-fleet-cloud-init.log';
|
|
107
|
+
/** The command whose exit status, run from the daemon root, decides whether the unit is enabled. */
|
|
108
|
+
export const FLEET_DAEMON_VERIFY_COMMAND = `${FLEET_CLOUD_INIT_VIBES_BIN} fleet daemon --help`;
|
|
109
|
+
/**
|
|
110
|
+
* Bunfig the brokered registry lease is written into (0600), resolved from the
|
|
111
|
+
* script's own HOME so a harness can run the rendered script under a temporary
|
|
112
|
+
* root instead of the real /root.
|
|
113
|
+
*/
|
|
114
|
+
export const FLEET_REGISTRY_BUNFIG_FILE = '${HOME}/.bunfig.toml';
|
|
115
|
+
/**
|
|
116
|
+
* The bunfig `vibes update --global` requires, measured on a real droplet
|
|
117
|
+
* 2026-09-07. Every field matters and each was wrong once:
|
|
118
|
+
*
|
|
119
|
+
* - the scope key carries its `@`. Bun matches either spelling, which is why
|
|
120
|
+
* a `bun add @vibesdotdev/…` smoke test passed while the droplet failed —
|
|
121
|
+
* but the CLI's own precondition looks for `"@vibesdotdev"` and exits 78
|
|
122
|
+
* with "the @vibesdotdev package scope has no credential" without it.
|
|
123
|
+
* - `linker = "hoisted"` is a measured decision, not a default: under
|
|
124
|
+
* "isolated" a workspaces glob member that is not also a dependency is
|
|
125
|
+
* never linked, which breaks the host graph.
|
|
126
|
+
* - the token is an ENV VAR REFERENCE. Nothing writes a credential to the
|
|
127
|
+
* droplet's disk; the lease is exported for the one command that needs it.
|
|
128
|
+
*
|
|
129
|
+
* Bunfig files do NOT merge — the one bun reads for an install replaces the
|
|
130
|
+
* rest — so this file must be complete, not a fragment. The shape is
|
|
131
|
+
* `renderSeedBunfig()` in @vibesdotdev/plugins; `cloud-init.test.ts` pins the
|
|
132
|
+
* two together.
|
|
133
|
+
*/
|
|
134
|
+
export const FLEET_REGISTRY_NPM_SCOPE = '@vibesdotdev';
|
|
135
|
+
/** Registry the lease authenticates against; trailing slash as the seed writes it. */
|
|
136
|
+
export const FLEET_REGISTRY_URL = PlatformConfigSchema.shape.fleetRegistryUrl.parse(undefined);
|
|
137
|
+
/** Env var the bunfig references, and the one the lease is exported as. */
|
|
138
|
+
export const FLEET_REGISTRY_TOKEN_ENV = 'VIBES_REGISTRY_TOKEN';
|
|
139
|
+
/** Bun linker the host graph requires. */
|
|
140
|
+
export const FLEET_REGISTRY_LINKER = 'hoisted';
|
|
141
|
+
const HOST_ID_PATTERN = /^[a-z0-9][a-z0-9-]{0,62}$/;
|
|
142
|
+
const ENROLL_TOKEN_PATTERN = /^[A-Za-z0-9._-]{8,256}$/;
|
|
143
|
+
const LABEL_PATTERN = /^[A-Za-z0-9][A-Za-z0-9:._/-]{0,127}$/;
|
|
144
|
+
/**
|
|
145
|
+
* Optional host-local PM service. Harness binaries remain owned by their setup
|
|
146
|
+
* hooks. The daemon binds its workspace from its working directory, never an
|
|
147
|
+
* environment variable (rc02-rc03 §2.2); `--workspace-root` is refused by
|
|
148
|
+
* published CLIs the installer may pull.
|
|
149
|
+
*/
|
|
150
|
+
export function buildPmDaemonServiceScript() {
|
|
151
|
+
return `
|
|
152
|
+
# Host-local PM daemon; run only after workspace/tool setup.
|
|
153
|
+
mkdir -p /root/workspace /root/.vibes/logs
|
|
154
|
+
cat > /etc/systemd/system/vibes-pm-daemon.service <<'VIBES_PM_UNIT'
|
|
155
|
+
[Unit]
|
|
156
|
+
Description=Vibes PM Daemon (host-local lanes)
|
|
157
|
+
After=network-online.target
|
|
158
|
+
Wants=network-online.target
|
|
159
|
+
|
|
160
|
+
[Service]
|
|
161
|
+
Type=simple
|
|
162
|
+
Environment="HOME=/root"
|
|
163
|
+
Environment="PATH=/root/.local/bin:/root/.bun/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
|
164
|
+
WorkingDirectory=/root/workspace
|
|
165
|
+
ExecStart=${FLEET_CLOUD_INIT_VIBES_BIN} pm daemon serve --detached
|
|
166
|
+
Restart=on-failure
|
|
167
|
+
RestartSec=10
|
|
168
|
+
StandardOutput=append:/root/.vibes/logs/vibes-pm-daemon.log
|
|
169
|
+
StandardError=append:/root/.vibes/logs/vibes-pm-daemon.err
|
|
170
|
+
|
|
171
|
+
[Install]
|
|
172
|
+
WantedBy=multi-user.target
|
|
173
|
+
VIBES_PM_UNIT
|
|
174
|
+
systemctl daemon-reload
|
|
175
|
+
# Verify PM itself; a working fleet command does not prove this plugin is installed.
|
|
176
|
+
if (cd /root/workspace && timeout 120 ${FLEET_CLOUD_INIT_VIBES_BIN} pm daemon serve --help >/dev/null 2>&1); then
|
|
177
|
+
systemctl enable --now vibes-pm-daemon.service
|
|
178
|
+
else
|
|
179
|
+
echo 'PM daemon unavailable; service written but not enabled. Repair the CLI, then enable vibes-pm-daemon.service.' >&2
|
|
180
|
+
exit 1
|
|
181
|
+
fi
|
|
182
|
+
`;
|
|
183
|
+
}
|
|
184
|
+
export function fleetDaemonServiceName(hostId) {
|
|
185
|
+
return `vibes-fleet-daemon-${hostId}`;
|
|
186
|
+
}
|
|
187
|
+
function assertHttpUrl(value, field) {
|
|
188
|
+
let parsed;
|
|
189
|
+
try {
|
|
190
|
+
parsed = new URL(value);
|
|
191
|
+
}
|
|
192
|
+
catch (cause) {
|
|
193
|
+
throw new Error(`${field} must be a valid URL, got: ${value}`, { cause });
|
|
194
|
+
}
|
|
195
|
+
if (parsed.protocol !== 'https:' && parsed.protocol !== 'http:') {
|
|
196
|
+
throw new Error(`${field} must be http(s), got: ${value}`);
|
|
197
|
+
}
|
|
198
|
+
if (/['\s]/.test(value)) {
|
|
199
|
+
throw new Error(`${field} must not contain quotes or whitespace`);
|
|
200
|
+
}
|
|
201
|
+
return value;
|
|
202
|
+
}
|
|
203
|
+
export function buildFleetCloudInit(input) {
|
|
204
|
+
if (!HOST_ID_PATTERN.test(input.hostId)) {
|
|
205
|
+
throw new Error(`Invalid hostId for cloud-init (kebab-case required): ${input.hostId}`);
|
|
206
|
+
}
|
|
207
|
+
if (!ENROLL_TOKEN_PATTERN.test(input.enrollToken)) {
|
|
208
|
+
throw new Error('Invalid enrollment token for cloud-init (unsafe characters or length)');
|
|
209
|
+
}
|
|
210
|
+
const labels = input.labels ?? [];
|
|
211
|
+
for (const label of labels) {
|
|
212
|
+
if (!LABEL_PATTERN.test(label)) {
|
|
213
|
+
throw new Error(`Invalid capability label for cloud-init: ${label}`);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
const platformOrigin = new URL(assertHttpUrl(input.platformOrigin, 'platformOrigin')).origin;
|
|
217
|
+
const installUrl = assertHttpUrl(input.installUrl ?? DEFAULT_VIBES_INSTALL_URL, 'installUrl');
|
|
218
|
+
const registryUrl = assertHttpUrl(input.registryUrl ?? FLEET_REGISTRY_URL, 'registryUrl');
|
|
219
|
+
const serviceName = fleetDaemonServiceName(input.hostId);
|
|
220
|
+
const labelsFlag = labels.length > 0 ? ` --labels ${labels.join(',')}` : '';
|
|
221
|
+
// Relay-reachable by default (NAT gap fix): a provisioned droplet dials OUT to
|
|
222
|
+
// the broker so `getVibesRemote(hostId)` resolves it even behind NAT. The daemon
|
|
223
|
+
// CLI wires the L5 gates by construction, so `--relay` never weakens the bind
|
|
224
|
+
// guards. `relayReachable: false` restores the legacy http-only public-IP path.
|
|
225
|
+
const relayFlag = input.relayReachable === false ? '--no-relay' : '--relay';
|
|
226
|
+
// No --enroll-token here: argv carries only the token FILE's path. A token
|
|
227
|
+
// (or a `${VAR}` expansion of one) on ExecStart would be visible in `ps`
|
|
228
|
+
// for the process lifetime.
|
|
229
|
+
const tier = parseFleetDaemonTier(input.environmentTier);
|
|
230
|
+
const enrollTokenFile = fleetCloudInitEnrollTokenFile(input.hostId);
|
|
231
|
+
const daemonRoot = fleetCloudInitDaemonRoot(input.hostId);
|
|
232
|
+
const execStart = `${FLEET_CLOUD_INIT_VIBES_BIN} fleet daemon --host-id ${input.hostId} ` +
|
|
233
|
+
`--enroll-token-file ${enrollTokenFile} --broker-origin ${platformOrigin} ${relayFlag}${labelsFlag}`;
|
|
234
|
+
// The installer is allowed to fail here (network blip, download 404): the
|
|
235
|
+
// verify gate below reports "binary missing" through the same marker instead
|
|
236
|
+
// of aborting cloud-init before anything diagnostic was written.
|
|
237
|
+
const script = `#!/bin/bash
|
|
238
|
+
set -euo pipefail
|
|
239
|
+
|
|
240
|
+
export HOME=/root
|
|
241
|
+
export VIBES_INSTALL_DIR=/root/.local/bin
|
|
242
|
+
|
|
243
|
+
mkdir -p /root/.vibes/logs
|
|
244
|
+
fleet_log() {
|
|
245
|
+
printf '%s fleet cloud-init: %s\\n' "$(date -u +%Y-%m-%dT%H:%M:%SZ)" "$1" | tee -a ${FLEET_CLOUD_INIT_LOG_FILE}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
installer_status=0
|
|
249
|
+
curl -fsSL '${installUrl}' | bash || installer_status=$?
|
|
250
|
+
if [ "\${installer_status}" -ne 0 ]; then
|
|
251
|
+
fleet_log "installer exited \${installer_status}; continuing so the verify step can record why"
|
|
252
|
+
fi
|
|
253
|
+
|
|
254
|
+
install -d -m 0700 /etc/vibes
|
|
255
|
+
cat > ${FLEET_DAEMON_ENV_FILE} <<'VIBES_FLEET_ENV'
|
|
256
|
+
PUBLIC_VIBES_PLATFORM_ORIGIN=${platformOrigin}
|
|
257
|
+
VIBES_FLEET_ENV
|
|
258
|
+
chmod 0600 ${FLEET_DAEMON_ENV_FILE}
|
|
259
|
+
|
|
260
|
+
# The one-time enrollment token, in a root-only file the daemon consumes and
|
|
261
|
+
# removes; its service argv names only the path.
|
|
262
|
+
install -d -m 0700 ${FLEET_CLOUD_INIT_VIBES_HOME}/hosts
|
|
263
|
+
(umask 077 && cat > ${enrollTokenFile} <<'VIBES_FLEET_ENROLL_TOKEN'
|
|
264
|
+
${input.enrollToken}
|
|
265
|
+
VIBES_FLEET_ENROLL_TOKEN
|
|
266
|
+
)
|
|
267
|
+
chmod 0600 ${enrollTokenFile}
|
|
268
|
+
|
|
269
|
+
# The daemon's bound root declares this host's environment tier (the daemon's
|
|
270
|
+
# credential reads refuse an undeclared tier, and none is defaulted) and the
|
|
271
|
+
# fleet CLI plugin, which not every published CLI composes at its global root.
|
|
272
|
+
install -d -m 0700 ${daemonRoot}
|
|
273
|
+
cat > ${daemonRoot}/${FLEET_DAEMON_HOST_CONFIG_FILE} <<'VIBES_FLEET_HOST_CONFIG'
|
|
274
|
+
${renderFleetDaemonHostConfig(tier, { plugins: [FLEET_DAEMON_CLI_PLUGIN] }).trimEnd()}
|
|
275
|
+
VIBES_FLEET_HOST_CONFIG
|
|
276
|
+
|
|
277
|
+
# Brokered install step. The installer's \`vibes update --global\` needs the
|
|
278
|
+
# private @vibesdotdev registry and a bare droplet has no credential, so trade
|
|
279
|
+
# the one-time ENROLLMENT token this host already carries for a short-lived,
|
|
280
|
+
# read-only, owner-scoped registry lease and materialize with it. The lease
|
|
281
|
+
# expires on its own; nothing long-lived is written.
|
|
282
|
+
#
|
|
283
|
+
# The token is read back OUT of the root-only token file rather than inlined
|
|
284
|
+
# here, so it appears exactly once in this script, and the request body goes
|
|
285
|
+
# over stdin (--data @-) so it never lands on curl's argv where ps would show
|
|
286
|
+
# it. A failure is not fatal: the verify gate below still records why the
|
|
287
|
+
# daemon is unusable.
|
|
288
|
+
registry_lease_status=0
|
|
289
|
+
registry_lease_body=$(printf '{"hostId":"%s","token":"%s"}' '${input.hostId}' "$(cat ${enrollTokenFile})" | curl -fsSL -X POST -H 'content-type: application/json' --data @- '${platformOrigin}/api/hosts/${input.hostId}/registry-lease' 2>/dev/null) || registry_lease_status=$?
|
|
290
|
+
registry_lease_token=""
|
|
291
|
+
if [ "\${registry_lease_status}" -eq 0 ]; then
|
|
292
|
+
registry_lease_token=$(printf '%s' "\${registry_lease_body}" | grep -o '"token":"[^"]*"' | head -n 1 | cut -d'"' -f4 || true)
|
|
293
|
+
fi
|
|
294
|
+
if [ -n "\${registry_lease_token}" ]; then
|
|
295
|
+
umask 077
|
|
296
|
+
cat > ${FLEET_REGISTRY_BUNFIG_FILE} <<'VIBES_FLEET_BUNFIG'
|
|
297
|
+
[install]
|
|
298
|
+
linker = "${FLEET_REGISTRY_LINKER}"
|
|
299
|
+
auto = "disable"
|
|
300
|
+
|
|
301
|
+
[install.scopes]
|
|
302
|
+
"${FLEET_REGISTRY_NPM_SCOPE}" = { url = "${registryUrl}", token = "$${FLEET_REGISTRY_TOKEN_ENV}" }
|
|
303
|
+
VIBES_FLEET_BUNFIG
|
|
304
|
+
chmod 0600 ${FLEET_REGISTRY_BUNFIG_FILE}
|
|
305
|
+
fleet_log "registry lease issued; materializing the plugin host"
|
|
306
|
+
materialize_status=0
|
|
307
|
+
${FLEET_REGISTRY_TOKEN_ENV}="\${registry_lease_token}" ${FLEET_CLOUD_INIT_VIBES_BIN} update --global >>${FLEET_CLOUD_INIT_LOG_FILE} 2>&1 || materialize_status=$?
|
|
308
|
+
if [ "\${materialize_status}" -ne 0 ]; then
|
|
309
|
+
fleet_log "'update --global' exited \${materialize_status} with the lease; the verify step reports why"
|
|
310
|
+
fi
|
|
311
|
+
else
|
|
312
|
+
fleet_log "no registry lease (request exit \${registry_lease_status}); the host graph stays unmaterialized"
|
|
313
|
+
fi
|
|
314
|
+
|
|
315
|
+
cat > /etc/systemd/system/${serviceName}.service <<'VIBES_FLEET_UNIT'
|
|
316
|
+
[Unit]
|
|
317
|
+
Description=Vibes Fleet Daemon (${input.hostId})
|
|
318
|
+
After=network-online.target
|
|
319
|
+
Wants=network-online.target
|
|
320
|
+
StartLimitIntervalSec=0
|
|
321
|
+
|
|
322
|
+
[Service]
|
|
323
|
+
Type=simple
|
|
324
|
+
Environment="HOME=/root"
|
|
325
|
+
EnvironmentFile=${FLEET_DAEMON_ENV_FILE}
|
|
326
|
+
WorkingDirectory=${daemonRoot}
|
|
327
|
+
ExecStart=${execStart}
|
|
328
|
+
Restart=on-failure
|
|
329
|
+
RestartSec=10
|
|
330
|
+
StandardOutput=append:/root/.vibes/logs/${serviceName}.log
|
|
331
|
+
StandardError=append:/root/.vibes/logs/${serviceName}.err
|
|
332
|
+
|
|
333
|
+
[Install]
|
|
334
|
+
WantedBy=multi-user.target
|
|
335
|
+
VIBES_FLEET_UNIT
|
|
336
|
+
|
|
337
|
+
systemctl daemon-reload
|
|
338
|
+
|
|
339
|
+
# Verify the installed CLI can run the daemon BEFORE enabling the unit, from
|
|
340
|
+
# the daemon root the unit runs in (its config composes the command). The
|
|
341
|
+
# public installer exits 0 even when \`vibes update --global\` could not
|
|
342
|
+
# materialize the plugin host (a bare droplet has no @vibesdotdev registry
|
|
343
|
+
# credential); the thin shim then exits 78 on every command, and an enabled
|
|
344
|
+
# unit would crash-loop under Restart=on-failure forever while the platform
|
|
345
|
+
# waited for a first heartbeat that can never come.
|
|
346
|
+
rm -f ${FLEET_DAEMON_UNUSABLE_MARKER_FILE}
|
|
347
|
+
daemon_verify_status=0
|
|
348
|
+
daemon_verify_output=$(cd ${daemonRoot} && timeout 120 ${FLEET_DAEMON_VERIFY_COMMAND} 2>&1 >/dev/null) || daemon_verify_status=$?
|
|
349
|
+
if [ "\${daemon_verify_status}" -eq 0 ]; then
|
|
350
|
+
fleet_log "verified '${FLEET_DAEMON_VERIFY_COMMAND}' (exit 0); enabling ${serviceName}.service"
|
|
351
|
+
systemctl enable --now ${serviceName}.service
|
|
352
|
+
else
|
|
353
|
+
daemon_verify_reason="'${FLEET_DAEMON_VERIFY_COMMAND}' exited \${daemon_verify_status}"
|
|
354
|
+
if [ "\${installer_status}" -ne 0 ]; then
|
|
355
|
+
daemon_verify_reason="\${daemon_verify_reason} after installer exit \${installer_status}"
|
|
356
|
+
fi
|
|
357
|
+
daemon_verify_last_line=$(printf '%s\\n' "\${daemon_verify_output}" | grep -v '^[[:space:]]*$' | tail -n 1 || true)
|
|
358
|
+
if [ -n "\${daemon_verify_last_line}" ]; then
|
|
359
|
+
daemon_verify_reason="\${daemon_verify_reason}: \${daemon_verify_last_line}"
|
|
360
|
+
fi
|
|
361
|
+
umask 077
|
|
362
|
+
cat > ${FLEET_DAEMON_UNUSABLE_MARKER_FILE} <<VIBES_FLEET_UNUSABLE
|
|
363
|
+
status=unusable
|
|
364
|
+
reason=\${daemon_verify_reason}
|
|
365
|
+
checkedAt=$(date -u +%Y-%m-%dT%H:%M:%SZ)
|
|
366
|
+
unit=${serviceName}.service
|
|
367
|
+
remedy=run '${FLEET_CLOUD_INIT_VIBES_BIN} update --global' as root (it names the missing configuration), then 'systemctl enable --now ${serviceName}.service' and remove this file
|
|
368
|
+
VIBES_FLEET_UNUSABLE
|
|
369
|
+
fleet_log "daemon unusable: \${daemon_verify_reason}; ${serviceName}.service written but left DISABLED; see ${FLEET_DAEMON_UNUSABLE_MARKER_FILE}"
|
|
370
|
+
fi
|
|
371
|
+
`;
|
|
372
|
+
const configured = input.extraScript ? `${script}${input.extraScript}\n` : script;
|
|
373
|
+
return input.pmDaemon ? `${configured}${buildPmDaemonServiceScript()}` : configured;
|
|
374
|
+
}
|
|
375
|
+
//# sourceMappingURL=cloud-init.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cloud-init.js","sourceRoot":"","sources":["../../../src/fleets/provision/cloud-init.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAClF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AAEH,uEAAuE;AACvE,gGAAgG;AAChG,4DAA4D;AAC5D,OAAO,EACN,4BAA4B,EAC5B,4BAA4B,EAC5B,wBAAwB,EACxB,yBAAyB,EACzB,2BAA2B,EAC3B,MAAM,yBAAyB,CAAC;AAEjC,mFAAmF;AACnF,+FAA+F;AAC/F,2DAA2D;AAC3D,OAAO,EACN,2BAA2B,EAC3B,yBAAyB,EACzB,iBAAiB,EACjB,yBAAyB,EACzB,2BAA2B,EAE3B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAErF,OAAO,EACN,uBAAuB,EACvB,6BAA6B,EAC7B,mBAAmB,EACnB,oBAAoB,EACpB,2BAA2B,EAC3B,MAAM,yBAAyB,CAAC;AAEjC,MAAM,CAAC,MAAM,yBAAyB,GAAG,oBAAoB,CAAC,KAAK,CAAC,eAAe,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AACrG,MAAM,CAAC,MAAM,qBAAqB,GAAG,6BAA6B,CAAC;AACnE;;;;;GAKG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,0BAA0B,CAAC;AACjE,kFAAkF;AAClF,MAAM,2BAA2B,GAAG,cAAc,CAAC;AACnD,gFAAgF;AAChF,MAAM,UAAU,6BAA6B,CAAC,MAAc;IAC3D,OAAO,GAAG,2BAA2B,UAAU,MAAM,eAAe,CAAC;AACtE,CAAC;AACD,mIAAmI;AACnI,MAAM,UAAU,wBAAwB,CAAC,MAAc;IACtD,OAAO,GAAG,2BAA2B,UAAU,mBAAmB,CAAC,MAAM,CAAC,EAAE,CAAC;AAC9E,CAAC;AACD,qFAAqF;AACrF,MAAM,CAAC,MAAM,0BAA0B,GAAG,wBAAwB,CAAC;AACnE;;;;;GAKG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,kCAAkC,CAAC;AACpF,mFAAmF;AACnF,MAAM,CAAC,MAAM,yBAAyB,GAAG,8CAA8C,CAAC;AACxF,oGAAoG;AACpG,MAAM,CAAC,MAAM,2BAA2B,GAAG,GAAG,0BAA0B,sBAAsB,CAAC;AAE/F;;;;GAIG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,sBAAsB,CAAC;AAEjE;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,cAAc,CAAC;AAEvD,sFAAsF;AACtF,MAAM,CAAC,MAAM,kBAAkB,GAAG,oBAAoB,CAAC,KAAK,CAAC,gBAAgB,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AAE/F,2EAA2E;AAC3E,MAAM,CAAC,MAAM,wBAAwB,GAAG,sBAAsB,CAAC;AAE/D,0CAA0C;AAC1C,MAAM,CAAC,MAAM,qBAAqB,GAAG,SAAS,CAAC;AAE/C,MAAM,eAAe,GAAG,2BAA2B,CAAC;AACpD,MAAM,oBAAoB,GAAG,yBAAyB,CAAC;AACvD,MAAM,aAAa,GAAG,sCAAsC,CAAC;AAE7D;;;;;GAKG;AACH,MAAM,UAAU,0BAA0B;IACzC,OAAO;;;;;;;;;;;;;;YAcI,0BAA0B;;;;;;;;;;;wCAWE,0BAA0B;;;;;;CAMjE,CAAC;AACF,CAAC;AAkCD,MAAM,UAAU,sBAAsB,CAAC,MAAc;IACpD,OAAO,sBAAsB,MAAM,EAAE,CAAC;AACvC,CAAC;AAED,SAAS,aAAa,CAAC,KAAa,EAAE,KAAa;IAClD,IAAI,MAAW,CAAC;IAChB,IAAI,CAAC;QACJ,MAAM,GAAG,IAAI,GAAG,CAAC,KAAK,CAAC,CAAC;IACzB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QAChB,MAAM,IAAI,KAAK,CAAC,GAAG,KAAK,8BAA8B,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;IAC3E,CAAC;IACD,IAAI,MAAM,CAAC,QAAQ,KAAK,QAAQ,IAAI,MAAM,CAAC,QAAQ,KAAK,OAAO,EAAE,CAAC;QACjE,MAAM,IAAI,KAAK,CAAC,GAAG,KAAK,0BAA0B,KAAK,EAAE,CAAC,CAAC;IAC5D,CAAC;IACD,IAAI,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QACzB,MAAM,IAAI,KAAK,CAAC,GAAG,KAAK,wCAAwC,CAAC,CAAC;IACnE,CAAC;IACD,OAAO,KAAK,CAAC;AACd,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,KAA0B;IAC7D,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC;QACzC,MAAM,IAAI,KAAK,CAAC,wDAAwD,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;IACzF,CAAC;IACD,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC;QACnD,MAAM,IAAI,KAAK,CAAC,uEAAuE,CAAC,CAAC;IAC1F,CAAC;IACD,MAAM,MAAM,GAAG,KAAK,CAAC,MAAM,IAAI,EAAE,CAAC;IAClC,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC5B,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YAChC,MAAM,IAAI,KAAK,CAAC,4CAA4C,KAAK,EAAE,CAAC,CAAC;QACtE,CAAC;IACF,CAAC;IACD,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,aAAa,CAAC,KAAK,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC,CAAC,MAAM,CAAC;IAC7F,MAAM,UAAU,GAAG,aAAa,CAAC,KAAK,CAAC,UAAU,IAAI,yBAAyB,EAAE,YAAY,CAAC,CAAC;IAC9F,MAAM,WAAW,GAAG,aAAa,CAAC,KAAK,CAAC,WAAW,IAAI,kBAAkB,EAAE,aAAa,CAAC,CAAC;IAE1F,MAAM,WAAW,GAAG,sBAAsB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACzD,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,aAAa,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IAC5E,+EAA+E;IAC/E,iFAAiF;IACjF,8EAA8E;IAC9E,gFAAgF;IAChF,MAAM,SAAS,GAAG,KAAK,CAAC,cAAc,KAAK,KAAK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;IAC5E,2EAA2E;IAC3E,yEAAyE;IACzE,4BAA4B;IAC5B,MAAM,IAAI,GAAG,oBAAoB,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;IACzD,MAAM,eAAe,GAAG,6BAA6B,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpE,MAAM,UAAU,GAAG,wBAAwB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1D,MAAM,SAAS,GACd,GAAG,0BAA0B,2BAA2B,KAAK,CAAC,MAAM,GAAG;QACvE,uBAAuB,eAAe,oBAAoB,cAAc,IAAI,SAAS,GAAG,UAAU,EAAE,CAAC;IAEtG,0EAA0E;IAC1E,6EAA6E;IAC7E,iEAAiE;IACjE,MAAM,MAAM,GAAG;;;;;;;;uFAQuE,yBAAyB;;;;cAIlG,UAAU;;;;;;QAMhB,qBAAqB;+BACE,cAAc;;aAEhC,qBAAqB;;;;qBAIb,2BAA2B;sBAC1B,eAAe;EACnC,KAAK,CAAC,WAAW;;;aAGN,eAAe;;;;;qBAKP,UAAU;QACvB,UAAU,IAAI,6BAA6B;EACjD,2BAA2B,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,uBAAuB,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE;;;;;;;;;;;;;;;+DAetB,KAAK,CAAC,MAAM,YAAY,eAAe,0EAA0E,cAAc,cAAc,KAAK,CAAC,MAAM;;;;;;;UAO9M,0BAA0B;;YAExB,qBAAqB;;;;GAI9B,wBAAwB,gBAAgB,WAAW,gBAAgB,wBAAwB;;eAE/E,0BAA0B;;;IAGrC,wBAAwB,+BAA+B,0BAA0B,sBAAsB,yBAAyB;;;;;;;;4BAQxG,WAAW;;kCAEL,KAAK,CAAC,MAAM;;;;;;;;kBAQ5B,qBAAqB;mBACpB,UAAU;YACjB,SAAS;;;0CAGqB,WAAW;yCACZ,WAAW;;;;;;;;;;;;;;;QAe5C,iCAAiC;;4BAEb,UAAU,mBAAmB,2BAA2B;;yBAE3D,2BAA2B,wBAAwB,WAAW;2BAC5D,WAAW;;2BAEX,2BAA2B;;;;;;;;;UAS5C,iCAAiC;;;;OAIpC,WAAW;cACJ,0BAA0B,gGAAgG,WAAW;;0DAEzF,WAAW,2CAA2C,iCAAiC;;CAEhJ,CAAC;IAED,MAAM,UAAU,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,MAAM,GAAG,KAAK,CAAC,WAAW,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;IAClF,OAAO,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,UAAU,GAAG,0BAA0B,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC;AACrF,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The fleet daemon's declared host config (rc04 §2.1, C7).
|
|
3
|
+
*
|
|
4
|
+
* An installed fleet daemon (launchd, systemd or Windows) resolves its
|
|
5
|
+
* connection bearer and its enrollment and host tokens through
|
|
6
|
+
* `runtime.resolveCredential`, which refuses `tier-undeclared` on a host with
|
|
7
|
+
* no environment tier. The tier is never defaulted: whoever installs or
|
|
8
|
+
* provisions the daemon declares it, and it reaches the daemon as composition
|
|
9
|
+
* config, `config['runtime.host'].environmentTier`, in a `vibes.config.json`
|
|
10
|
+
* at the root the daemon's service binds (`--workspace-root` for a local
|
|
11
|
+
* install, the unit's working directory for a provisioned host).
|
|
12
|
+
*
|
|
13
|
+
* Pure (workerd-safe): the CLI installer and the cloud-init template both
|
|
14
|
+
* render the same file from here.
|
|
15
|
+
*/
|
|
16
|
+
import { EnvironmentTierSchema } from '@vibesdotdev/kernel/schemas/scope';
|
|
17
|
+
import type * as z from 'zod/v4';
|
|
18
|
+
/** The tiers a daemon host may declare (the kernel's `EnvironmentTierSchema`). */
|
|
19
|
+
export declare const FLEET_DAEMON_TIERS: ("local" | "dev" | "staging" | "production")[];
|
|
20
|
+
export type FleetDaemonTier = z.infer<typeof EnvironmentTierSchema>;
|
|
21
|
+
/** The root config file the daemon's bound root carries. */
|
|
22
|
+
export declare const FLEET_DAEMON_HOST_CONFIG_FILE = "vibes.config.json";
|
|
23
|
+
/** The daemon root's directory name under `<vibesHome>/hosts`. */
|
|
24
|
+
export declare function fleetDaemonRootName(hostId: string): string;
|
|
25
|
+
/** Admit a declared tier; anything else (including none) is refused, never defaulted. */
|
|
26
|
+
export declare function parseFleetDaemonTier(value: string | undefined): FleetDaemonTier;
|
|
27
|
+
/**
|
|
28
|
+
* The fleet CLI plugin: the daemon root of a provisioned host declares it, so
|
|
29
|
+
* `vibes fleet daemon` composes from that root whatever the installer's
|
|
30
|
+
* global CLI composes (rc04 §2.1; consumer-local plugin selection).
|
|
31
|
+
*/
|
|
32
|
+
export declare const FLEET_DAEMON_CLI_PLUGIN = "@vibesdotdev/platform/fleets/cli/plugin";
|
|
33
|
+
export interface FleetDaemonHostConfigOptions {
|
|
34
|
+
/** Workspace plugins the daemon root declares; omitted when empty. */
|
|
35
|
+
readonly plugins?: readonly string[];
|
|
36
|
+
}
|
|
37
|
+
/** The daemon root's `vibes.config.json`: the host's declared tier, plus any plugins its daemon command needs. */
|
|
38
|
+
export declare function renderFleetDaemonHostConfig(tier: FleetDaemonTier, options?: FleetDaemonHostConfigOptions): string;
|
|
39
|
+
//# sourceMappingURL=daemon-host-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"daemon-host-config.d.ts","sourceRoot":"","sources":["../../../src/fleets/provision/daemon-host-config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,KAAK,KAAK,CAAC,MAAM,QAAQ,CAAC;AAEjC,kFAAkF;AAClF,eAAO,MAAM,kBAAkB,gDAAgC,CAAC;AAChE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,4DAA4D;AAC5D,eAAO,MAAM,6BAA6B,sBAAsB,CAAC;AAEjE,kEAAkE;AAClE,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAE1D;AAED,yFAAyF;AACzF,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,eAAe,CAQ/E;AAED;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,4CAA4C,CAAC;AAEjF,MAAM,WAAW,4BAA4B;IAC5C,sEAAsE;IACtE,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACrC;AAED,kHAAkH;AAClH,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,eAAe,EAAE,OAAO,GAAE,4BAAiC,GAAG,MAAM,CAIrH"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The fleet daemon's declared host config (rc04 §2.1, C7).
|
|
3
|
+
*
|
|
4
|
+
* An installed fleet daemon (launchd, systemd or Windows) resolves its
|
|
5
|
+
* connection bearer and its enrollment and host tokens through
|
|
6
|
+
* `runtime.resolveCredential`, which refuses `tier-undeclared` on a host with
|
|
7
|
+
* no environment tier. The tier is never defaulted: whoever installs or
|
|
8
|
+
* provisions the daemon declares it, and it reaches the daemon as composition
|
|
9
|
+
* config, `config['runtime.host'].environmentTier`, in a `vibes.config.json`
|
|
10
|
+
* at the root the daemon's service binds (`--workspace-root` for a local
|
|
11
|
+
* install, the unit's working directory for a provisioned host).
|
|
12
|
+
*
|
|
13
|
+
* Pure (workerd-safe): the CLI installer and the cloud-init template both
|
|
14
|
+
* render the same file from here.
|
|
15
|
+
*/
|
|
16
|
+
import { EnvironmentTierSchema } from '@vibesdotdev/kernel/schemas/scope';
|
|
17
|
+
/** The tiers a daemon host may declare (the kernel's `EnvironmentTierSchema`). */
|
|
18
|
+
export const FLEET_DAEMON_TIERS = EnvironmentTierSchema.options;
|
|
19
|
+
/** The root config file the daemon's bound root carries. */
|
|
20
|
+
export const FLEET_DAEMON_HOST_CONFIG_FILE = 'vibes.config.json';
|
|
21
|
+
/** The daemon root's directory name under `<vibesHome>/hosts`. */
|
|
22
|
+
export function fleetDaemonRootName(hostId) {
|
|
23
|
+
return `${hostId}.daemon-root`;
|
|
24
|
+
}
|
|
25
|
+
/** Admit a declared tier; anything else (including none) is refused, never defaulted. */
|
|
26
|
+
export function parseFleetDaemonTier(value) {
|
|
27
|
+
const parsed = EnvironmentTierSchema.safeParse(value);
|
|
28
|
+
if (parsed.success)
|
|
29
|
+
return parsed.data;
|
|
30
|
+
throw new Error(`The fleet daemon's environment tier must be declared as one of ${FLEET_DAEMON_TIERS.join(', ')}; got ${value === undefined ? 'none' : JSON.stringify(value)}.`);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* The fleet CLI plugin: the daemon root of a provisioned host declares it, so
|
|
34
|
+
* `vibes fleet daemon` composes from that root whatever the installer's
|
|
35
|
+
* global CLI composes (rc04 §2.1; consumer-local plugin selection).
|
|
36
|
+
*/
|
|
37
|
+
export const FLEET_DAEMON_CLI_PLUGIN = '@vibesdotdev/platform/fleets/cli/plugin';
|
|
38
|
+
/** The daemon root's `vibes.config.json`: the host's declared tier, plus any plugins its daemon command needs. */
|
|
39
|
+
export function renderFleetDaemonHostConfig(tier, options = {}) {
|
|
40
|
+
const plugins = options.plugins ?? [];
|
|
41
|
+
const config = { config: { 'runtime.host': { environmentTier: parseFleetDaemonTier(tier) } } };
|
|
42
|
+
return `${JSON.stringify(plugins.length > 0 ? { plugins: [...plugins], ...config } : config, null, '\t')}\n`;
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=daemon-host-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"daemon-host-config.js","sourceRoot":"","sources":["../../../src/fleets/provision/daemon-host-config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAG1E,kFAAkF;AAClF,MAAM,CAAC,MAAM,kBAAkB,GAAG,qBAAqB,CAAC,OAAO,CAAC;AAGhE,4DAA4D;AAC5D,MAAM,CAAC,MAAM,6BAA6B,GAAG,mBAAmB,CAAC;AAEjE,kEAAkE;AAClE,MAAM,UAAU,mBAAmB,CAAC,MAAc;IACjD,OAAO,GAAG,MAAM,cAAc,CAAC;AAChC,CAAC;AAED,yFAAyF;AACzF,MAAM,UAAU,oBAAoB,CAAC,KAAyB;IAC7D,MAAM,MAAM,GAAG,qBAAqB,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IACtD,IAAI,MAAM,CAAC,OAAO;QAAE,OAAO,MAAM,CAAC,IAAI,CAAC;IACvC,MAAM,IAAI,KAAK,CACd,kEAAkE,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,SAC9F,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CACpD,GAAG,CACH,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,yCAAyC,CAAC;AAOjF,kHAAkH;AAClH,MAAM,UAAU,2BAA2B,CAAC,IAAqB,EAAE,UAAwC,EAAE;IAC5G,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,EAAE,CAAC;IACtC,MAAM,MAAM,GAAG,EAAE,MAAM,EAAE,EAAE,cAAc,EAAE,EAAE,eAAe,EAAE,oBAAoB,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC;IAC/F,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;AAC9G,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Desktop-host provisioning for fleet hosts (D3 desktop recipe).
|
|
3
|
+
*
|
|
4
|
+
* A freshly provisioned fleet droplet ships only the compiled `vibes` daemon; the
|
|
5
|
+
* `desktop` tool drives a `vibes-desktop-base` Docker container (the FastAPI driver
|
|
6
|
+
* on :8765 — see `docker-desktop-base/`). A bare host can't run it. This module
|
|
7
|
+
* renders the idempotent bash that:
|
|
8
|
+
* 1. installs Docker Engine (get.docker.com convenience script) + enables dockerd,
|
|
9
|
+
* 2. makes `vibes-desktop-base:latest` available — either by PULLING a published
|
|
10
|
+
* `imageRef` (retagged local), or by BUILDING it from a sparse git checkout of
|
|
11
|
+
* `docker-desktop-base/` in the Framework Forge destination (default).
|
|
12
|
+
*
|
|
13
|
+
* The script is a caller-supplied `extraScript` for {@link buildFleetCloudInit} — it
|
|
14
|
+
* is appended AFTER daemon enrollment is wired, inside the same `#!/bin/bash` +
|
|
15
|
+
* `set -euo pipefail` cloud-init shell. Because the same string can flow through
|
|
16
|
+
* platform-web's `handleHostProvision` (workerd), this is a PURE string builder:
|
|
17
|
+
* NO Node/Bun APIs, no filesystem, no secrets.
|
|
18
|
+
*
|
|
19
|
+
* Idempotency: guards every install (`command -v docker`, an image-presence check),
|
|
20
|
+
* so re-running cloud-init is a no-op. Composable with
|
|
21
|
+
* {@link buildBuildRunnerSetupScript}: a desktop host that also builds needs git+bun
|
|
22
|
+
* (the source-build path here reuses git, which the build-runner script installs).
|
|
23
|
+
*/
|
|
24
|
+
/** The Forge destination the desktop image is built from when no `imageRef` is given. */
|
|
25
|
+
export declare const DEFAULT_DESKTOP_SOURCE_REPO = "ssh://git@git.vibes.dev/vibesdotdev/framework.git";
|
|
26
|
+
/** The git ref (branch/tag/sha) the desktop image is built from when none is given. */
|
|
27
|
+
export declare const DEFAULT_DESKTOP_SOURCE_REF = "cutover";
|
|
28
|
+
/** The subtree that holds the `vibes-desktop-base` Dockerfile + driver source. */
|
|
29
|
+
export declare const DESKTOP_IMAGE_CONTEXT_DIR = "docker-desktop-base";
|
|
30
|
+
/** The image tag the `desktop` tool resolves by default (desktop constants). */
|
|
31
|
+
export declare const DESKTOP_IMAGE_TAG = "vibes-desktop-base:latest";
|
|
32
|
+
/** Stable marker comment — lets callers/tests detect the block in a rendered cloud-init. */
|
|
33
|
+
export declare const DESKTOP_HOST_SETUP_MARKER = "vibes fleet desktop host (docker + vibes-desktop-base)";
|
|
34
|
+
export interface DesktopHostSetupOptions {
|
|
35
|
+
/**
|
|
36
|
+
* When set, PULL this published image and retag it `vibes-desktop-base:latest`
|
|
37
|
+
* instead of building from source. Must be a shell-safe registry ref.
|
|
38
|
+
*/
|
|
39
|
+
imageRef?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Git repo to sparse-checkout `docker-desktop-base/` from for the source build.
|
|
42
|
+
* Defaults to {@link DEFAULT_DESKTOP_SOURCE_REPO}. Ignored when `imageRef` is set.
|
|
43
|
+
*/
|
|
44
|
+
sourceRepo?: string;
|
|
45
|
+
/** Git ref (branch/tag/sha) to check out for the source build. Defaults to `main`. */
|
|
46
|
+
sourceRef?: string;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Returns the idempotent bash that installs Docker + makes `vibes-desktop-base:latest`
|
|
50
|
+
* available on a fleet host. A GPU desktop also takes {@link buildGpuHostSetupScript}
|
|
51
|
+
* (rendered first) for `--gpus all`. Intended as the `extraScript`
|
|
52
|
+
* for {@link buildFleetCloudInit}. Pure string builder (workerd-safe).
|
|
53
|
+
*/
|
|
54
|
+
export declare function buildDesktopHostSetupScript(options?: DesktopHostSetupOptions): string;
|
|
55
|
+
//# sourceMappingURL=desktop-host-setup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"desktop-host-setup.d.ts","sourceRoot":"","sources":["../../../src/fleets/provision/desktop-host-setup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAMH,yFAAyF;AACzF,eAAO,MAAM,2BAA2B,sDAAsD,CAAC;AAC/F,uFAAuF;AACvF,eAAO,MAAM,0BAA0B,YAAY,CAAC;AACpD,kFAAkF;AAClF,eAAO,MAAM,yBAAyB,wBAAwB,CAAC;AAC/D,gFAAgF;AAChF,eAAO,MAAM,iBAAiB,8BAA8B,CAAC;AAC7D,4FAA4F;AAC5F,eAAO,MAAM,yBAAyB,2DAA2D,CAAC;AAElG,MAAM,WAAW,uBAAuB;IACvC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,sFAAsF;IACtF,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AASD;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,OAAO,GAAE,uBAA4B,GAAG,MAAM,CA6CzF"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Desktop-host provisioning for fleet hosts (D3 desktop recipe).
|
|
3
|
+
*
|
|
4
|
+
* A freshly provisioned fleet droplet ships only the compiled `vibes` daemon; the
|
|
5
|
+
* `desktop` tool drives a `vibes-desktop-base` Docker container (the FastAPI driver
|
|
6
|
+
* on :8765 — see `docker-desktop-base/`). A bare host can't run it. This module
|
|
7
|
+
* renders the idempotent bash that:
|
|
8
|
+
* 1. installs Docker Engine (get.docker.com convenience script) + enables dockerd,
|
|
9
|
+
* 2. makes `vibes-desktop-base:latest` available — either by PULLING a published
|
|
10
|
+
* `imageRef` (retagged local), or by BUILDING it from a sparse git checkout of
|
|
11
|
+
* `docker-desktop-base/` in the Framework Forge destination (default).
|
|
12
|
+
*
|
|
13
|
+
* The script is a caller-supplied `extraScript` for {@link buildFleetCloudInit} — it
|
|
14
|
+
* is appended AFTER daemon enrollment is wired, inside the same `#!/bin/bash` +
|
|
15
|
+
* `set -euo pipefail` cloud-init shell. Because the same string can flow through
|
|
16
|
+
* platform-web's `handleHostProvision` (workerd), this is a PURE string builder:
|
|
17
|
+
* NO Node/Bun APIs, no filesystem, no secrets.
|
|
18
|
+
*
|
|
19
|
+
* Idempotency: guards every install (`command -v docker`, an image-presence check),
|
|
20
|
+
* so re-running cloud-init is a no-op. Composable with
|
|
21
|
+
* {@link buildBuildRunnerSetupScript}: a desktop host that also builds needs git+bun
|
|
22
|
+
* (the source-build path here reuses git, which the build-runner script installs).
|
|
23
|
+
*/
|
|
24
|
+
// A docker image ref / git URL / git ref embedded in the boot script MUST NOT carry
|
|
25
|
+
// quotes, whitespace, or shell metacharacters — it is interpolated into bash.
|
|
26
|
+
const SHELL_SAFE_TOKEN = /^[A-Za-z0-9._:/@+-]{1,255}$/;
|
|
27
|
+
/** The Forge destination the desktop image is built from when no `imageRef` is given. */
|
|
28
|
+
export const DEFAULT_DESKTOP_SOURCE_REPO = 'ssh://git@git.vibes.dev/vibesdotdev/framework.git';
|
|
29
|
+
/** The git ref (branch/tag/sha) the desktop image is built from when none is given. */
|
|
30
|
+
export const DEFAULT_DESKTOP_SOURCE_REF = 'cutover';
|
|
31
|
+
/** The subtree that holds the `vibes-desktop-base` Dockerfile + driver source. */
|
|
32
|
+
export const DESKTOP_IMAGE_CONTEXT_DIR = 'docker-desktop-base';
|
|
33
|
+
/** The image tag the `desktop` tool resolves by default (desktop constants). */
|
|
34
|
+
export const DESKTOP_IMAGE_TAG = 'vibes-desktop-base:latest';
|
|
35
|
+
/** Stable marker comment — lets callers/tests detect the block in a rendered cloud-init. */
|
|
36
|
+
export const DESKTOP_HOST_SETUP_MARKER = 'vibes fleet desktop host (docker + vibes-desktop-base)';
|
|
37
|
+
function assertShellSafe(value, field) {
|
|
38
|
+
if (!SHELL_SAFE_TOKEN.test(value)) {
|
|
39
|
+
throw new Error(`${field} must be a shell-safe token (no quotes/whitespace/metacharacters): ${value}`);
|
|
40
|
+
}
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Returns the idempotent bash that installs Docker + makes `vibes-desktop-base:latest`
|
|
45
|
+
* available on a fleet host. A GPU desktop also takes {@link buildGpuHostSetupScript}
|
|
46
|
+
* (rendered first) for `--gpus all`. Intended as the `extraScript`
|
|
47
|
+
* for {@link buildFleetCloudInit}. Pure string builder (workerd-safe).
|
|
48
|
+
*/
|
|
49
|
+
export function buildDesktopHostSetupScript(options = {}) {
|
|
50
|
+
const imageRef = options.imageRef ? assertShellSafe(options.imageRef, 'imageRef') : undefined;
|
|
51
|
+
const sourceRepo = assertShellSafe(options.sourceRepo ?? DEFAULT_DESKTOP_SOURCE_REPO, 'sourceRepo');
|
|
52
|
+
const sourceRef = assertShellSafe(options.sourceRef ?? DEFAULT_DESKTOP_SOURCE_REF, 'sourceRef');
|
|
53
|
+
const imageBlock = imageRef
|
|
54
|
+
? `
|
|
55
|
+
# Pull the published desktop image and retag to the tool's default tag.
|
|
56
|
+
if [ -z "$(docker images -q ${DESKTOP_IMAGE_TAG} 2>/dev/null)" ]; then
|
|
57
|
+
docker pull ${imageRef}
|
|
58
|
+
docker tag ${imageRef} ${DESKTOP_IMAGE_TAG}
|
|
59
|
+
fi
|
|
60
|
+
`
|
|
61
|
+
: `
|
|
62
|
+
# Build vibes-desktop-base from Framework's ${DESKTOP_IMAGE_CONTEXT_DIR}/ (sparse
|
|
63
|
+
# checkout keeps the download tiny). Requires git (the build-runner setup installs it;
|
|
64
|
+
# apt-installed here too so a desktop-only host still builds).
|
|
65
|
+
if [ -z "$(docker images -q ${DESKTOP_IMAGE_TAG} 2>/dev/null)" ]; then
|
|
66
|
+
command -v git >/dev/null 2>&1 || { apt-get update && apt-get install -y git; }
|
|
67
|
+
rm -rf /root/.vibes/desktop-image-src
|
|
68
|
+
git clone --filter=blob:none --no-checkout --depth 1 --branch ${sourceRef} ${sourceRepo} /root/.vibes/desktop-image-src
|
|
69
|
+
git -C /root/.vibes/desktop-image-src sparse-checkout set --no-cone ${DESKTOP_IMAGE_CONTEXT_DIR}
|
|
70
|
+
git -C /root/.vibes/desktop-image-src checkout
|
|
71
|
+
docker build -t ${DESKTOP_IMAGE_TAG} /root/.vibes/desktop-image-src/${DESKTOP_IMAGE_CONTEXT_DIR}
|
|
72
|
+
fi
|
|
73
|
+
`;
|
|
74
|
+
return (`
|
|
75
|
+
# === ${DESKTOP_HOST_SETUP_MARKER} — desktop tool hosts ===
|
|
76
|
+
# Idempotent: guards reinstall + image build so a re-run of cloud-init is a no-op.
|
|
77
|
+
set -euo pipefail
|
|
78
|
+
export HOME=/root
|
|
79
|
+
export DEBIAN_FRONTEND=noninteractive
|
|
80
|
+
|
|
81
|
+
if ! command -v docker >/dev/null 2>&1; then
|
|
82
|
+
curl -fsSL https://get.docker.com | sh
|
|
83
|
+
fi
|
|
84
|
+
systemctl enable --now docker
|
|
85
|
+
${imageBlock}
|
|
86
|
+
# Fail loudly if the image is still missing — a desktop host with no image can't
|
|
87
|
+
# start the tool.
|
|
88
|
+
docker image inspect ${DESKTOP_IMAGE_TAG} >/dev/null 2>&1 || { echo 'desktop-host: ${DESKTOP_IMAGE_TAG} missing after setup' >&2; exit 1; }
|
|
89
|
+
`.trimStart());
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=desktop-host-setup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"desktop-host-setup.js","sourceRoot":"","sources":["../../../src/fleets/provision/desktop-host-setup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,oFAAoF;AACpF,8EAA8E;AAC9E,MAAM,gBAAgB,GAAG,6BAA6B,CAAC;AAEvD,yFAAyF;AACzF,MAAM,CAAC,MAAM,2BAA2B,GAAG,mDAAmD,CAAC;AAC/F,uFAAuF;AACvF,MAAM,CAAC,MAAM,0BAA0B,GAAG,SAAS,CAAC;AACpD,kFAAkF;AAClF,MAAM,CAAC,MAAM,yBAAyB,GAAG,qBAAqB,CAAC;AAC/D,gFAAgF;AAChF,MAAM,CAAC,MAAM,iBAAiB,GAAG,2BAA2B,CAAC;AAC7D,4FAA4F;AAC5F,MAAM,CAAC,MAAM,yBAAyB,GAAG,wDAAwD,CAAC;AAiBlG,SAAS,eAAe,CAAC,KAAa,EAAE,KAAa;IACpD,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QACnC,MAAM,IAAI,KAAK,CAAC,GAAG,KAAK,sEAAsE,KAAK,EAAE,CAAC,CAAC;IACxG,CAAC;IACD,OAAO,KAAK,CAAC;AACd,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,2BAA2B,CAAC,UAAmC,EAAE;IAChF,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC,OAAO,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAC9F,MAAM,UAAU,GAAG,eAAe,CAAC,OAAO,CAAC,UAAU,IAAI,2BAA2B,EAAE,YAAY,CAAC,CAAC;IACpG,MAAM,SAAS,GAAG,eAAe,CAAC,OAAO,CAAC,SAAS,IAAI,0BAA0B,EAAE,WAAW,CAAC,CAAC;IAEhG,MAAM,UAAU,GAAG,QAAQ;QAC1B,CAAC,CAAC;;8BAE0B,iBAAiB;gBAC/B,QAAQ;eACT,QAAQ,IAAI,iBAAiB;;CAE3C;QACC,CAAC,CAAC;8CAC0C,yBAAyB;;;8BAGzC,iBAAiB;;;kEAGmB,SAAS,IAAI,UAAU;wEACjB,yBAAyB;;oBAE7E,iBAAiB,mCAAmC,yBAAyB;;CAEhG,CAAC;IAED,OAAO,CACN;QACM,yBAAyB;;;;;;;;;;EAU/B,UAAU;;;uBAGW,iBAAiB,6CAA6C,iBAAiB;CACrG,CAAC,SAAS,EAAE,CACX,CAAC;AACH,CAAC"}
|