@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,159 @@
|
|
|
1
|
+
import { resolveFileSystemAdapter, publishPrivateFile } from '@vibesdotdev/filesystem';
|
|
2
|
+
/**
|
|
3
|
+
* The fleet daemon's connection-bearer store (RC05): a `secrets/store` the
|
|
4
|
+
* daemon and `vibes fleet daemon install` compose onto the runtime they were
|
|
5
|
+
* handed, bound to one host id.
|
|
6
|
+
*
|
|
7
|
+
* It is `selection: 'by-id'`, so scope resolution never picks it and it never
|
|
8
|
+
* shadows the host's own stores; a reader names it
|
|
9
|
+
* ({@link FLEET_DAEMON_TOKEN_REFERENCE}) and resolves through
|
|
10
|
+
* `runtime.resolveCredential`. It answers only {@link FLEET_DAEMON_TOKEN_KEY},
|
|
11
|
+
* from `<vibesHome>/hosts/<hostId>.daemon-token` under the handed runtime's
|
|
12
|
+
* path roots, beside the host-token state (`host-token-store.ts`):
|
|
13
|
+
*
|
|
14
|
+
* - an absent or empty file is `undefined`, which the kernel reports as
|
|
15
|
+
* `credential-not-set`;
|
|
16
|
+
* - a file other users can read is refused `PERMISSION_DENIED`
|
|
17
|
+
* `credential-file-exposed` (the enrollment-token file's check);
|
|
18
|
+
* - `set` writes mode 0600 atomically (a private temp file, then rename);
|
|
19
|
+
* - `unset` removes the file;
|
|
20
|
+
* - `list`, `getAll` and `setAll` are refused: the store is one key.
|
|
21
|
+
*
|
|
22
|
+
* The value is the same for every tier: the bearer belongs to the host, not
|
|
23
|
+
* to an environment.
|
|
24
|
+
*/
|
|
25
|
+
import { CapabilityError, createRuntimeImplementation } from '@vibesdotdev/kernel';
|
|
26
|
+
import { getPathRoots } from '@vibesdotdev/paths';
|
|
27
|
+
import { secretsStoreKind } from '@vibesdotdev/secrets/kinds/store.kind';
|
|
28
|
+
import { readPrivateCredentialFile, hostsDir } from "./host-token-store.js";
|
|
29
|
+
/** The id of the daemon's connection-bearer store. */
|
|
30
|
+
export const FLEET_DAEMON_CREDENTIALS_STORE_ID = 'fleet.daemon-credentials';
|
|
31
|
+
/**
|
|
32
|
+
* The one key the store answers. Services installed before the bearer moved
|
|
33
|
+
* here carried it under the same name in their environment; only
|
|
34
|
+
* `vibes fleet daemon install` reads that, to migrate it.
|
|
35
|
+
*/
|
|
36
|
+
export const FLEET_DAEMON_TOKEN_KEY = 'FLEET_DAEMON_TOKEN';
|
|
37
|
+
/** How the daemon names its bearer to `runtime.resolveCredential`. */
|
|
38
|
+
export const FLEET_DAEMON_TOKEN_REFERENCE = {
|
|
39
|
+
source: 'secret',
|
|
40
|
+
key: FLEET_DAEMON_TOKEN_KEY,
|
|
41
|
+
store: FLEET_DAEMON_CREDENTIALS_STORE_ID
|
|
42
|
+
};
|
|
43
|
+
/** The current by-id registration for each runtime; kernel assets remain the source of resolution. */
|
|
44
|
+
const daemonCredentialRegistrations = new WeakMap();
|
|
45
|
+
/** The bearer file for `hostId` under the handed roots' Vibes home. */
|
|
46
|
+
export function defaultDaemonTokenFile(roots, hostId) {
|
|
47
|
+
return `${hostsDir(roots)}/${hostId}.daemon-token`;
|
|
48
|
+
}
|
|
49
|
+
const descriptor = {
|
|
50
|
+
id: FLEET_DAEMON_CREDENTIALS_STORE_ID,
|
|
51
|
+
kind: 'secrets/store',
|
|
52
|
+
name: 'Fleet daemon credentials',
|
|
53
|
+
description: "This host's fleet daemon connection bearer, reachable only by id.",
|
|
54
|
+
tags: ['fleet', 'by-id'],
|
|
55
|
+
enabled: true,
|
|
56
|
+
backend: 'fleet/daemon',
|
|
57
|
+
selection: 'by-id',
|
|
58
|
+
tiers: ['local', 'dev', 'staging', 'production'],
|
|
59
|
+
priority: 0
|
|
60
|
+
};
|
|
61
|
+
function oneKeyStore(operation) {
|
|
62
|
+
return new CapabilityError(`The fleet daemon credential store holds only ${FLEET_DAEMON_TOKEN_KEY}; ${operation} is not supported.`, 'PERMISSION_DENIED', { reason: 'fleet-daemon-credentials-single-key', retryable: false, details: { operation } });
|
|
63
|
+
}
|
|
64
|
+
function unsupportedKey(key) {
|
|
65
|
+
return new CapabilityError(`The fleet daemon credential store holds only ${FLEET_DAEMON_TOKEN_KEY}, not '${key}'.`, 'INVALID_INPUT', { reason: 'fleet-daemon-credentials-key-unsupported', retryable: false, details: { key } });
|
|
66
|
+
}
|
|
67
|
+
async function readBearer(runtime, path) {
|
|
68
|
+
const value = (await readPrivateCredentialFile(runtime, path))?.trim();
|
|
69
|
+
return value ? value : undefined;
|
|
70
|
+
}
|
|
71
|
+
async function writeBearer(runtime, path, dir, value) {
|
|
72
|
+
const filesystem = await resolveFileSystemAdapter(runtime, { binding: false });
|
|
73
|
+
await filesystem.mkdir(dir, { recursive: true, mode: 0o700 });
|
|
74
|
+
await publishPrivateFile(filesystem, path, `${value}\n`);
|
|
75
|
+
}
|
|
76
|
+
/** The store implementation for `hostId` under `roots`. */
|
|
77
|
+
export function createFleetDaemonCredentialsStore(roots, hostId, runtime) {
|
|
78
|
+
const path = defaultDaemonTokenFile(roots, hostId);
|
|
79
|
+
return {
|
|
80
|
+
id: FLEET_DAEMON_CREDENTIALS_STORE_ID,
|
|
81
|
+
descriptor,
|
|
82
|
+
get: async (_environment, key) => (key === FLEET_DAEMON_TOKEN_KEY ? readBearer(runtime, path) : undefined),
|
|
83
|
+
set: async (_environment, key, value) => {
|
|
84
|
+
if (key !== FLEET_DAEMON_TOKEN_KEY)
|
|
85
|
+
throw unsupportedKey(key);
|
|
86
|
+
if (value.trim().length === 0) {
|
|
87
|
+
throw new CapabilityError('A fleet daemon connection bearer cannot be empty.', 'INVALID_INPUT', {
|
|
88
|
+
reason: 'fleet-daemon-bearer-empty',
|
|
89
|
+
retryable: false
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
await writeBearer(runtime, path, hostsDir(roots), value.trim());
|
|
93
|
+
},
|
|
94
|
+
unset: async (_environment, key) => {
|
|
95
|
+
if (key !== FLEET_DAEMON_TOKEN_KEY)
|
|
96
|
+
throw unsupportedKey(key);
|
|
97
|
+
const filesystem = await resolveFileSystemAdapter(runtime, { binding: false });
|
|
98
|
+
if (await filesystem.exists(path))
|
|
99
|
+
await filesystem.remove(path);
|
|
100
|
+
},
|
|
101
|
+
list: async () => {
|
|
102
|
+
throw oneKeyStore('list');
|
|
103
|
+
},
|
|
104
|
+
getAll: async () => {
|
|
105
|
+
throw oneKeyStore('getAll');
|
|
106
|
+
},
|
|
107
|
+
setAll: async () => {
|
|
108
|
+
throw oneKeyStore('setAll');
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Compose the store onto `runtime`, bound to `hostId` and the runtime's own
|
|
114
|
+
* path roots. Returns the exact disposer; the caller retracts the store when
|
|
115
|
+
* its command ends.
|
|
116
|
+
*/
|
|
117
|
+
export function registerFleetDaemonCredentials(runtime, hostId) {
|
|
118
|
+
if (!runtime.hasKind(secretsStoreKind.id))
|
|
119
|
+
runtime.registerKind(secretsStoreKind);
|
|
120
|
+
const store = createFleetDaemonCredentialsStore(getPathRoots(runtime), hostId, runtime);
|
|
121
|
+
const previous = daemonCredentialRegistrations.get(runtime);
|
|
122
|
+
const dispose = runtime.registerDynamicAsset(secretsStoreKind.id, descriptor, async () => createRuntimeImplementation({
|
|
123
|
+
kind: secretsStoreKind.id,
|
|
124
|
+
id: FLEET_DAEMON_CREDENTIALS_STORE_ID,
|
|
125
|
+
implementation: store
|
|
126
|
+
}));
|
|
127
|
+
daemonCredentialRegistrations.set(runtime, dispose);
|
|
128
|
+
previous?.();
|
|
129
|
+
return dispose;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Write the bearer through the composed store (resolved by id on `runtime`,
|
|
133
|
+
* so the write crosses the same guard every store operation does).
|
|
134
|
+
*/
|
|
135
|
+
export async function setFleetDaemonBearer(runtime, value) {
|
|
136
|
+
const tier = runtime.scope.qualifiers.environmentTier;
|
|
137
|
+
if (!tier) {
|
|
138
|
+
throw new CapabilityError(`No environment tier is declared, so ${FLEET_DAEMON_TOKEN_KEY} cannot be stored.`, 'INTERNAL', { reason: 'tier-undeclared', retryable: false, details: { key: FLEET_DAEMON_TOKEN_KEY } });
|
|
139
|
+
}
|
|
140
|
+
const store = await runtime
|
|
141
|
+
.query(secretsStoreKind.id)
|
|
142
|
+
.withId(FLEET_DAEMON_CREDENTIALS_STORE_ID)
|
|
143
|
+
.resolve();
|
|
144
|
+
await store.set(tier, FLEET_DAEMON_TOKEN_KEY, value);
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* The stored bearer, or `undefined` when none is stored (`credential-not-set`).
|
|
148
|
+
* Every other failure (an exposed file, an undeclared tier, a missing store)
|
|
149
|
+
* is thrown typed.
|
|
150
|
+
*/
|
|
151
|
+
export async function readFleetDaemonBearer(runtime) {
|
|
152
|
+
const result = await runtime.resolveCredential(FLEET_DAEMON_TOKEN_REFERENCE);
|
|
153
|
+
if (result.ok)
|
|
154
|
+
return result.value;
|
|
155
|
+
if (result.error.reason === 'credential-not-set')
|
|
156
|
+
return undefined;
|
|
157
|
+
throw result.error;
|
|
158
|
+
}
|
|
159
|
+
//# sourceMappingURL=daemon-credentials-store.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"daemon-credentials-store.js","sourceRoot":"","sources":["../../../../src/cli/fleets/lib/daemon-credentials-store.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daemon L5 policy — what the invoke pipeline's RuntimeLike carries.
|
|
3
|
+
*
|
|
4
|
+
* Deny-by-default is the spine (fleet.md §4.5, correction #5: a connection
|
|
5
|
+
* token connects; it does not grant capability). A machine grants REMOTE
|
|
6
|
+
* execution only by explicit opt-in: running the daemon with
|
|
7
|
+
* `--labels sandbox:code-execution` — the same label the platform requires on
|
|
8
|
+
* the host record before a code session may target it (`requireOwnedHost`) and
|
|
9
|
+
* the label chat's HostSelector filters on. One label, advertised in
|
|
10
|
+
* heartbeats AND enforced at the daemon's own gate, so the platform's view and
|
|
11
|
+
* the machine's actual posture cannot drift.
|
|
12
|
+
*
|
|
13
|
+
* Without the label the pipeline carries the owner baseline alone: the local
|
|
14
|
+
* owner may invoke, and a remote peer is denied by default. The engine never
|
|
15
|
+
* allows on an absent policy (D37), so there is no empty posture. With the
|
|
16
|
+
* label the remote-execution grant is added on top of the same baseline.
|
|
17
|
+
*
|
|
18
|
+
* Friction is unaffected either way: bright-lines still veto dangerous
|
|
19
|
+
* commands (rm -rf, wrangler, …) on every path, remote or local.
|
|
20
|
+
*/
|
|
21
|
+
import { type AuthzPolicyDescriptor, type RuntimeLike } from '@vibesdotdev/kernel/authz';
|
|
22
|
+
import { SANDBOX_CODE_EXECUTION_HOST_LABEL } from '@vibesdotdev/platform/hosts/schemas';
|
|
23
|
+
export { SANDBOX_CODE_EXECUTION_HOST_LABEL };
|
|
24
|
+
/**
|
|
25
|
+
* The remote-execution grant a `sandbox:code-execution` machine carries.
|
|
26
|
+
* `kind: 'runtime/execution'` is the daemon wire's gate context — the listen
|
|
27
|
+
* target stamps EVERY daemon-root invoke with the execution kind — so this is
|
|
28
|
+
* precisely "remote peers may invoke the daemon wire surface", nothing wider.
|
|
29
|
+
* Precedence 10 sits above the owner baseline (0); higher-precedence descriptors
|
|
30
|
+
* can still carve out denies on top.
|
|
31
|
+
*/
|
|
32
|
+
export declare const remoteExecutionGrantDescriptor: AuthzPolicyDescriptor;
|
|
33
|
+
/**
|
|
34
|
+
* Build the RuntimeLike both L5 interceptors read, from the daemon's
|
|
35
|
+
* capability labels. The single decision point for the daemon's authz posture.
|
|
36
|
+
*/
|
|
37
|
+
export declare function buildDaemonPolicyRuntime(capabilityLabels: string[]): RuntimeLike;
|
|
38
|
+
//# sourceMappingURL=daemon-policy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"daemon-policy.d.ts","sourceRoot":"","sources":["../../../../src/cli/fleets/lib/daemon-policy.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAGN,KAAK,qBAAqB,EAC1B,KAAK,WAAW,EAChB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AAExF,OAAO,EAAE,iCAAiC,EAAE,CAAC;AAE7C;;;;;;;GAOG;AACH,eAAO,MAAM,8BAA8B,EAAE,qBAkB5C,CAAC;AAgBF;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,gBAAgB,EAAE,MAAM,EAAE,GAAG,WAAW,CAKhF"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { VibesRuntime } from '@vibesdotdev/kernel';
|
|
2
|
+
/**
|
|
3
|
+
* Daemon L5 policy — what the invoke pipeline's RuntimeLike carries.
|
|
4
|
+
*
|
|
5
|
+
* Deny-by-default is the spine (fleet.md §4.5, correction #5: a connection
|
|
6
|
+
* token connects; it does not grant capability). A machine grants REMOTE
|
|
7
|
+
* execution only by explicit opt-in: running the daemon with
|
|
8
|
+
* `--labels sandbox:code-execution` — the same label the platform requires on
|
|
9
|
+
* the host record before a code session may target it (`requireOwnedHost`) and
|
|
10
|
+
* the label chat's HostSelector filters on. One label, advertised in
|
|
11
|
+
* heartbeats AND enforced at the daemon's own gate, so the platform's view and
|
|
12
|
+
* the machine's actual posture cannot drift.
|
|
13
|
+
*
|
|
14
|
+
* Without the label the pipeline carries the owner baseline alone: the local
|
|
15
|
+
* owner may invoke, and a remote peer is denied by default. The engine never
|
|
16
|
+
* allows on an absent policy (D37), so there is no empty posture. With the
|
|
17
|
+
* label the remote-execution grant is added on top of the same baseline.
|
|
18
|
+
*
|
|
19
|
+
* Friction is unaffected either way: bright-lines still veto dangerous
|
|
20
|
+
* commands (rm -rf, wrangler, …) on every path, remote or local.
|
|
21
|
+
*/
|
|
22
|
+
import { ownerBaselineAuthzDescriptor, authzPolicyKind } from '@vibesdotdev/kernel/authz';
|
|
23
|
+
import { SANDBOX_CODE_EXECUTION_HOST_LABEL } from '@vibesdotdev/platform/hosts/schemas';
|
|
24
|
+
export { SANDBOX_CODE_EXECUTION_HOST_LABEL };
|
|
25
|
+
/**
|
|
26
|
+
* The remote-execution grant a `sandbox:code-execution` machine carries.
|
|
27
|
+
* `kind: 'runtime/execution'` is the daemon wire's gate context — the listen
|
|
28
|
+
* target stamps EVERY daemon-root invoke with the execution kind — so this is
|
|
29
|
+
* precisely "remote peers may invoke the daemon wire surface", nothing wider.
|
|
30
|
+
* Precedence 10 sits above the owner baseline (0); higher-precedence descriptors
|
|
31
|
+
* can still carve out denies on top.
|
|
32
|
+
*/
|
|
33
|
+
export const remoteExecutionGrantDescriptor = {
|
|
34
|
+
id: 'fleet-daemon.remote-execution-grant',
|
|
35
|
+
kind: 'authz/policy',
|
|
36
|
+
name: 'Fleet daemon remote execution (sandbox:code-execution opt-in)',
|
|
37
|
+
description: 'Grants remote peers the runtime/execution surface over the daemon wire. Present ONLY when the daemon runs with --labels sandbox:code-execution. Friction bright-lines still veto dangerous commands.',
|
|
38
|
+
enabled: true,
|
|
39
|
+
precedence: 10,
|
|
40
|
+
rules: [
|
|
41
|
+
{
|
|
42
|
+
principalClass: 'peer',
|
|
43
|
+
kind: 'runtime/execution',
|
|
44
|
+
method: '*',
|
|
45
|
+
origin: 'remote',
|
|
46
|
+
effect: 'allow',
|
|
47
|
+
reason: 'machine opted into code execution (sandbox:code-execution label)'
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
};
|
|
51
|
+
/** A RuntimeLike carrying exactly the given authz/policy descriptors. */
|
|
52
|
+
function policyRuntimeLike(policies) {
|
|
53
|
+
const runtime = new VibesRuntime({
|
|
54
|
+
scope: {
|
|
55
|
+
hardware: 'consumer', surface: 'cli', purpose: 'direct', lifecycle: 'finite',
|
|
56
|
+
hosting: { mode: 'local', owner: 'consumer' }, qualifiers: { dev: false }
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
runtime.registerKind(authzPolicyKind);
|
|
60
|
+
for (const policy of policies)
|
|
61
|
+
runtime.registerDescriptor('authz/policy', policy);
|
|
62
|
+
return runtime;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Build the RuntimeLike both L5 interceptors read, from the daemon's
|
|
66
|
+
* capability labels. The single decision point for the daemon's authz posture.
|
|
67
|
+
*/
|
|
68
|
+
export function buildDaemonPolicyRuntime(capabilityLabels) {
|
|
69
|
+
if (!capabilityLabels.includes(SANDBOX_CODE_EXECUTION_HOST_LABEL)) {
|
|
70
|
+
return policyRuntimeLike([ownerBaselineAuthzDescriptor]);
|
|
71
|
+
}
|
|
72
|
+
return policyRuntimeLike([ownerBaselineAuthzDescriptor, remoteExecutionGrantDescriptor]);
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=daemon-policy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"daemon-policy.js","sourceRoot":"","sources":["../../../../src/cli/fleets/lib/daemon-policy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EACN,4BAA4B,EAC5B,eAAe,EAGf,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AAExF,OAAO,EAAE,iCAAiC,EAAE,CAAC;AAE7C;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAA0B;IACpE,EAAE,EAAE,qCAAqC;IACzC,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,+DAA+D;IACrE,WAAW,EACV,sMAAsM;IACvM,OAAO,EAAE,IAAI;IACb,UAAU,EAAE,EAAE;IACd,KAAK,EAAE;QACN;YACC,cAAc,EAAE,MAAM;YACtB,IAAI,EAAE,mBAAmB;YACzB,MAAM,EAAE,GAAG;YACX,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,OAAO;YACf,MAAM,EAAE,kEAAkE;SAC1E;KACD;CACD,CAAC;AAEF,yEAAyE;AACzE,SAAS,iBAAiB,CAAC,QAAiC;IAC3D,MAAM,OAAO,GAAG,IAAI,YAAY,CAAC;QAChC,KAAK,EAAE;YACN,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ;YAC5E,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,UAAU,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE;SACzE;KACD,CAAC,CAAC;IACH,OAAO,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC;IACtC,KAAK,MAAM,MAAM,IAAI,QAAQ;QAAE,OAAO,CAAC,kBAAkB,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;IAClF,OAAO,OAAO,CAAC;AAEhB,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,wBAAwB,CAAC,gBAA0B;IAClE,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,iCAAiC,CAAC,EAAE,CAAC;QACnE,OAAO,iBAAiB,CAAC,CAAC,4BAA4B,CAAC,CAAC,CAAC;IAC1D,CAAC;IACD,OAAO,iBAAiB,CAAC,CAAC,4BAA4B,EAAE,8BAA8B,CAAC,CAAC,CAAC;AAC1F,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A fleet host named on the command line, resolved from the caller's own
|
|
3
|
+
* inventory (`GET /api/hosts`), by record id or by host id. Shared by the fleet
|
|
4
|
+
* commands that act on one host.
|
|
5
|
+
*/
|
|
6
|
+
import type { Host } from '@vibesdotdev/platform/hosts/schemas/types';
|
|
7
|
+
export declare function resolveHost<THost extends Pick<Host, 'id' | 'hostId'> = Host>(platform: {
|
|
8
|
+
hosts: {
|
|
9
|
+
list(query?: {
|
|
10
|
+
limit?: number;
|
|
11
|
+
offset?: number;
|
|
12
|
+
}): Promise<{
|
|
13
|
+
results: THost[];
|
|
14
|
+
}>;
|
|
15
|
+
};
|
|
16
|
+
}, ref: string): Promise<THost | null>;
|
|
17
|
+
//# sourceMappingURL=host-ref.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"host-ref.d.ts","sourceRoot":"","sources":["../../../../src/cli/fleets/lib/host-ref.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2CAA2C,CAAC;AAKtE,wBAAsB,WAAW,CAAC,KAAK,SAAS,IAAI,CAAC,IAAI,EAAE,IAAI,GAAG,QAAQ,CAAC,GAAG,IAAI,EACjF,QAAQ,EAAE;IAAE,KAAK,EAAE;QAAE,IAAI,CAAC,KAAK,CAAC,EAAE;YAAE,KAAK,CAAC,EAAE,MAAM,CAAC;YAAC,MAAM,CAAC,EAAE,MAAM,CAAA;SAAE,GAAG,OAAO,CAAC;YAAE,OAAO,EAAE,KAAK,EAAE,CAAA;SAAE,CAAC,CAAA;KAAE,CAAA;CAAE,EACzG,GAAG,EAAE,MAAM,GACT,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC,CAOvB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A fleet host named on the command line, resolved from the caller's own
|
|
3
|
+
* inventory (`GET /api/hosts`), by record id or by host id. Shared by the fleet
|
|
4
|
+
* commands that act on one host.
|
|
5
|
+
*/
|
|
6
|
+
/** The largest page `GET /api/hosts` serves. */
|
|
7
|
+
const PAGE_SIZE = 200;
|
|
8
|
+
export async function resolveHost(platform, ref) {
|
|
9
|
+
for (let offset = 0;; offset += PAGE_SIZE) {
|
|
10
|
+
const page = await platform.hosts.list({ limit: PAGE_SIZE, offset });
|
|
11
|
+
const match = page.results.find((h) => h.id === ref || h.hostId === ref);
|
|
12
|
+
if (match)
|
|
13
|
+
return match;
|
|
14
|
+
if (page.results.length < PAGE_SIZE)
|
|
15
|
+
return null;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=host-ref.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"host-ref.js","sourceRoot":"","sources":["../../../../src/cli/fleets/lib/host-ref.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,gDAAgD;AAChD,MAAM,SAAS,GAAG,GAAG,CAAC;AAEtB,MAAM,CAAC,KAAK,UAAU,WAAW,CAChC,QAAyG,EACzG,GAAW;IAEX,KAAK,IAAI,MAAM,GAAG,CAAC,GAAI,MAAM,IAAI,SAAS,EAAE,CAAC;QAC5C,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,CAAC;QACrE,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC,CAAC,MAAM,KAAK,GAAG,CAAC,CAAC;QACzE,IAAI,KAAK;YAAE,OAAO,KAAK,CAAC;QACxB,IAAI,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,SAAS;YAAE,OAAO,IAAI,CAAC;IAClD,CAAC;AACF,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Host credentials live under the handed runtime's Vibes home.
|
|
3
|
+
* Enrollment files are removed only after the caller has awaited durable
|
|
4
|
+
* host-token publication. Filesystem adapters own private atomic publication.
|
|
5
|
+
*/
|
|
6
|
+
import { type VibesRuntime } from '@vibesdotdev/kernel';
|
|
7
|
+
import type { PathRoots } from '@vibesdotdev/paths';
|
|
8
|
+
import { type HostTokenState } from '../../../schemas/cli/host-token.ts';
|
|
9
|
+
export type { HostTokenState } from '../../../schemas/cli/host-token.ts';
|
|
10
|
+
export type HostTokenRoots = Pick<PathRoots, 'vibesHome'>;
|
|
11
|
+
/** Append fixed children without interpreting or normalizing drive/UNC roots. */
|
|
12
|
+
export declare function hostsDir(roots: HostTokenRoots): string;
|
|
13
|
+
export declare function defaultTokenFile(roots: HostTokenRoots, hostId: string): string;
|
|
14
|
+
export declare function defaultEnrollTokenFile(roots: HostTokenRoots, hostId: string): string;
|
|
15
|
+
/** The declared host name, or an explicit name; no process-global hostname. */
|
|
16
|
+
export declare function defaultHostId(source: string): string;
|
|
17
|
+
export declare function readHostToken(runtime: VibesRuntime, path: string, hostId: string): Promise<string | undefined>;
|
|
18
|
+
/** Private, atomic publication completes before its promise resolves. */
|
|
19
|
+
export declare function writeHostToken(runtime: VibesRuntime, path: string, input: HostTokenState): Promise<void>;
|
|
20
|
+
/**
|
|
21
|
+
* POSIX permissions come from the selected adapter. Windows adapters retain
|
|
22
|
+
* their user-profile ACL posture when they do not expose POSIX permissions.
|
|
23
|
+
*/
|
|
24
|
+
export declare function assertPrivateFile(runtime: VibesRuntime, path: string): Promise<void>;
|
|
25
|
+
/** The adapter enforces owner-private reads at its host file boundary. */
|
|
26
|
+
export declare function readPrivateCredentialFile(runtime: VibesRuntime, path: string): Promise<string | undefined>;
|
|
27
|
+
export declare function readEnrollTokenFile(runtime: VibesRuntime, path: string): Promise<string | undefined>;
|
|
28
|
+
export declare function writeEnrollTokenFile(runtime: VibesRuntime, path: string, token: string): Promise<void>;
|
|
29
|
+
export declare function removeEnrollTokenFile(runtime: VibesRuntime, path: string): Promise<boolean>;
|
|
30
|
+
export declare function listLocalHostIds(runtime: VibesRuntime, roots: HostTokenRoots): Promise<string[]>;
|
|
31
|
+
//# sourceMappingURL=host-token-store.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"host-token-store.d.ts","sourceRoot":"","sources":["../../../../src/cli/fleets/lib/host-token-store.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAyD,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAE/G,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EACqC,KAAK,cAAc,EAC9D,MAAM,oCAAoC,CAAC;AAE5C,YAAY,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACzE,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;AAE1D,iFAAiF;AACjF,wBAAgB,QAAQ,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM,CAEtD;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAE9E;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAEpF;AAED,+EAA+E;AAC/E,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAIpD;AAED,wBAAsB,aAAa,CAAC,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAYpH;AAED,yEAAyE;AACzE,wBAAsB,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAK9G;AAED;;;GAGG;AACH,wBAAsB,iBAAiB,CAAC,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAE1F;AAED,0EAA0E;AAC1E,wBAAsB,yBAAyB,CAAC,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAYhH;AAED,wBAAsB,mBAAmB,CAAC,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAG1G;AAED,wBAAsB,oBAAoB,CAAC,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAI5G;AAED,wBAAsB,qBAAqB,CAAC,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAKjG;AAED,wBAAsB,gBAAgB,CAAC,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAiBtG"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Host credentials live under the handed runtime's Vibes home.
|
|
3
|
+
* Enrollment files are removed only after the caller has awaited durable
|
|
4
|
+
* host-token publication. Filesystem adapters own private atomic publication.
|
|
5
|
+
*/
|
|
6
|
+
import { CapabilityError, isCapabilityError, settle, settleNow } from '@vibesdotdev/kernel';
|
|
7
|
+
import { resolveFileSystemAdapter, publishPrivateFile, readFilePrivate } from '@vibesdotdev/filesystem';
|
|
8
|
+
import * as z from 'zod/v4';
|
|
9
|
+
import { HostTokenFileSchema, HostTokenStateSchema } from "../../../schemas/cli/host-token.js";
|
|
10
|
+
/** Append fixed children without interpreting or normalizing drive/UNC roots. */
|
|
11
|
+
export function hostsDir(roots) {
|
|
12
|
+
return `${roots.vibesHome}/hosts`;
|
|
13
|
+
}
|
|
14
|
+
export function defaultTokenFile(roots, hostId) {
|
|
15
|
+
return `${hostsDir(roots)}/${hostId}.json`;
|
|
16
|
+
}
|
|
17
|
+
export function defaultEnrollTokenFile(roots, hostId) {
|
|
18
|
+
return `${hostsDir(roots)}/${hostId}.enroll-token`;
|
|
19
|
+
}
|
|
20
|
+
/** The declared host name, or an explicit name; no process-global hostname. */
|
|
21
|
+
export function defaultHostId(source) {
|
|
22
|
+
return source
|
|
23
|
+
.toLowerCase().replace(/\.local$/, '').replace(/[^a-z0-9]+/g, '-')
|
|
24
|
+
.replace(/^-+|-+$/g, '').slice(0, 60) || 'host';
|
|
25
|
+
}
|
|
26
|
+
export async function readHostToken(runtime, path, hostId) {
|
|
27
|
+
const filesystem = await resolveFileSystemAdapter(runtime, { binding: false });
|
|
28
|
+
if (!(await filesystem.exists(path)))
|
|
29
|
+
return undefined;
|
|
30
|
+
const text = z.string().parse(await filesystem.readFile(path, 'utf-8'));
|
|
31
|
+
const state = settleNow(() => HostTokenFileSchema.parse(JSON.parse(text)));
|
|
32
|
+
if (!state.ok)
|
|
33
|
+
throw new CapabilityError(`The host token file ${path} is not a readable host token.`, 'INVALID_INPUT', {
|
|
34
|
+
reason: 'host-token-file-invalid',
|
|
35
|
+
recoveryHint: `Repair or remove ${path}, then enroll again.`,
|
|
36
|
+
cause: state.cause
|
|
37
|
+
});
|
|
38
|
+
if (state.value.hostId !== hostId)
|
|
39
|
+
return undefined;
|
|
40
|
+
return state.value.hostToken;
|
|
41
|
+
}
|
|
42
|
+
/** Private, atomic publication completes before its promise resolves. */
|
|
43
|
+
export async function writeHostToken(runtime, path, input) {
|
|
44
|
+
const state = HostTokenStateSchema.parse(input);
|
|
45
|
+
const filesystem = await resolveFileSystemAdapter(runtime, { binding: false });
|
|
46
|
+
await filesystem.mkdir(filesystem.dirname(path), { recursive: true, mode: 0o700 });
|
|
47
|
+
await publishPrivateFile(filesystem, path, `${JSON.stringify(state, null, 2)}\n`);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* POSIX permissions come from the selected adapter. Windows adapters retain
|
|
51
|
+
* their user-profile ACL posture when they do not expose POSIX permissions.
|
|
52
|
+
*/
|
|
53
|
+
export async function assertPrivateFile(runtime, path) {
|
|
54
|
+
await readPrivateCredentialFile(runtime, path);
|
|
55
|
+
}
|
|
56
|
+
/** The adapter enforces owner-private reads at its host file boundary. */
|
|
57
|
+
export async function readPrivateCredentialFile(runtime, path) {
|
|
58
|
+
const filesystem = await resolveFileSystemAdapter(runtime, { binding: false });
|
|
59
|
+
if (!(await filesystem.exists(path)))
|
|
60
|
+
return undefined;
|
|
61
|
+
const read = await settle(() => readFilePrivate(filesystem, path, Number.MAX_SAFE_INTEGER));
|
|
62
|
+
if (read.ok)
|
|
63
|
+
return new TextDecoder().decode(read.value);
|
|
64
|
+
if (isCapabilityError(read.cause) && read.cause.reason === 'filesystem-private-file-shared') {
|
|
65
|
+
throw new CapabilityError(`Credential file ${path} is readable by other users. Fix it with: chmod 600 ${path}`, 'PERMISSION_DENIED', {
|
|
66
|
+
reason: 'credential-file-exposed', retryable: false,
|
|
67
|
+
recoveryHint: `chmod 600 ${path}`, details: { path }, cause: read.cause
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
throw read.cause;
|
|
71
|
+
}
|
|
72
|
+
export async function readEnrollTokenFile(runtime, path) {
|
|
73
|
+
const token = (await readPrivateCredentialFile(runtime, path))?.trim();
|
|
74
|
+
return token ? token : undefined;
|
|
75
|
+
}
|
|
76
|
+
export async function writeEnrollTokenFile(runtime, path, token) {
|
|
77
|
+
const filesystem = await resolveFileSystemAdapter(runtime, { binding: false });
|
|
78
|
+
await filesystem.mkdir(filesystem.dirname(path), { recursive: true, mode: 0o700 });
|
|
79
|
+
await publishPrivateFile(filesystem, path, `${token}\n`);
|
|
80
|
+
}
|
|
81
|
+
export async function removeEnrollTokenFile(runtime, path) {
|
|
82
|
+
const filesystem = await resolveFileSystemAdapter(runtime, { binding: false });
|
|
83
|
+
if (!(await filesystem.exists(path)))
|
|
84
|
+
return false;
|
|
85
|
+
await filesystem.remove(path);
|
|
86
|
+
return true;
|
|
87
|
+
}
|
|
88
|
+
export async function listLocalHostIds(runtime, roots) {
|
|
89
|
+
const filesystem = await resolveFileSystemAdapter(runtime, { binding: false });
|
|
90
|
+
const dir = hostsDir(roots);
|
|
91
|
+
if (!(await filesystem.exists(dir)))
|
|
92
|
+
return [];
|
|
93
|
+
const entries = await filesystem.list(dir);
|
|
94
|
+
const ids = [];
|
|
95
|
+
for (const entry of entries) {
|
|
96
|
+
if (!entry.name.endsWith('.json'))
|
|
97
|
+
continue;
|
|
98
|
+
const path = filesystem.join(dir, entry.name);
|
|
99
|
+
const text = z.string().parse(await filesystem.readFile(path, 'utf-8'));
|
|
100
|
+
const state = settleNow(() => HostTokenFileSchema.parse(JSON.parse(text)));
|
|
101
|
+
if (!state.ok)
|
|
102
|
+
throw new CapabilityError(`The host token file ${path} is not a readable host token.`, 'INVALID_INPUT', {
|
|
103
|
+
reason: 'host-token-file-invalid', cause: state.cause
|
|
104
|
+
});
|
|
105
|
+
ids.push(state.value.hostId ?? entry.name.replace(/\.json$/, ''));
|
|
106
|
+
}
|
|
107
|
+
return ids;
|
|
108
|
+
}
|
|
109
|
+
//# sourceMappingURL=host-token-store.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"host-token-store.js","sourceRoot":"","sources":["../../../../src/cli/fleets/lib/host-token-store.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Origin resolution for fleet CLI surfaces.
|
|
3
|
+
*
|
|
4
|
+
* The async resolvers answer from the declared `infra/service` catalog in the
|
|
5
|
+
* runtime's configured service environment (`infra.services`), the one origin
|
|
6
|
+
* authority; an undeclared service fails `NOT_FOUND` rather than inventing a
|
|
7
|
+
* host. There is no origin env and no default (rc04 §2.4); the former sync
|
|
8
|
+
* `resolvePlatformOrigin`/`resolveHqOrigin` env readers are gone, their callers
|
|
9
|
+
* read `serviceOrigin(runtime, id)` or the resolvers here.
|
|
10
|
+
*/
|
|
11
|
+
import type { RuntimeRef } from '@vibesdotdev/kernel';
|
|
12
|
+
/** The declared `platform` service origin; an undeclared service fails `NOT_FOUND`. */
|
|
13
|
+
export declare function resolvePlatformOriginAsync(runtime: RuntimeRef): Promise<string>;
|
|
14
|
+
/** The declared `auth` service origin; an undeclared service fails `NOT_FOUND`. */
|
|
15
|
+
export declare function resolveAuthOrigin(runtime: RuntimeRef): Promise<string>;
|
|
16
|
+
//# sourceMappingURL=origins.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"origins.d.ts","sourceRoot":"","sources":["../../../../src/cli/fleets/lib/origins.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAiBtD,uFAAuF;AACvF,wBAAsB,0BAA0B,CAAC,OAAO,EAAE,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,CAErF;AAED,mFAAmF;AACnF,wBAAsB,iBAAiB,CAAC,OAAO,EAAE,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,CAE5E"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Origin resolution for fleet CLI surfaces.
|
|
3
|
+
*
|
|
4
|
+
* The async resolvers answer from the declared `infra/service` catalog in the
|
|
5
|
+
* runtime's configured service environment (`infra.services`), the one origin
|
|
6
|
+
* authority; an undeclared service fails `NOT_FOUND` rather than inventing a
|
|
7
|
+
* host. There is no origin env and no default (rc04 §2.4); the former sync
|
|
8
|
+
* `resolvePlatformOrigin`/`resolveHqOrigin` env readers are gone, their callers
|
|
9
|
+
* read `serviceOrigin(runtime, id)` or the resolvers here.
|
|
10
|
+
*/
|
|
11
|
+
import { originOf, serviceEnvironment } from '@vibesdotdev/infra-core/service';
|
|
12
|
+
/** The declared service's primary origin in the runtime's configured service environment. */
|
|
13
|
+
async function declaredServiceOrigin(runtime, serviceId) {
|
|
14
|
+
return originOf(await runtime.query('infra/service').withId(serviceId).resolve(), await serviceEnvironment(runtime), 'primary');
|
|
15
|
+
}
|
|
16
|
+
/** The declared `platform` service origin; an undeclared service fails `NOT_FOUND`. */
|
|
17
|
+
export async function resolvePlatformOriginAsync(runtime) {
|
|
18
|
+
return declaredServiceOrigin(runtime, 'platform');
|
|
19
|
+
}
|
|
20
|
+
/** The declared `auth` service origin; an undeclared service fails `NOT_FOUND`. */
|
|
21
|
+
export async function resolveAuthOrigin(runtime) {
|
|
22
|
+
return declaredServiceOrigin(runtime, 'auth');
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=origins.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"origins.js","sourceRoot":"","sources":["../../../../src/cli/fleets/lib/origins.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,EACN,QAAQ,EACR,kBAAkB,EAGlB,MAAM,iCAAiC,CAAC;AAEzC,6FAA6F;AAC7F,KAAK,UAAU,qBAAqB,CAAC,OAAmB,EAAE,SAAiB;IAC1E,OAAO,QAAQ,CACd,MAAM,OAAO,CAAC,KAAK,CAA2C,eAAe,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,EAAE,EAC1G,MAAM,kBAAkB,CAAC,OAAO,CAAC,EACjC,SAAS,CACT,CAAC;AACH,CAAC;AAED,uFAAuF;AACvF,MAAM,CAAC,KAAK,UAAU,0BAA0B,CAAC,OAAmB;IACnE,OAAO,qBAAqB,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;AACnD,CAAC;AAED,mFAAmF;AACnF,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAAC,OAAmB;IAC1D,OAAO,qBAAqB,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A standing fleet host renewing its own registry credential.
|
|
3
|
+
*
|
|
4
|
+
* A host's ENROLLMENT token is one-time and expiring, so it can only ever pay
|
|
5
|
+
* for the first materialization (cloud-init's brokered step). Everything after
|
|
6
|
+
* that — a new release, a repair, a wiped `node_modules` — has to be paid for
|
|
7
|
+
* with the durable HOST token the daemon persisted at enrollment. Without this
|
|
8
|
+
* a fleet kept in rotation for weeks is stuck exactly where it started.
|
|
9
|
+
*
|
|
10
|
+
* Pure request/response shaping: no filesystem, no process. The command impl
|
|
11
|
+
* supplies the token and the fetch.
|
|
12
|
+
*/
|
|
13
|
+
import { type HostRegistryLease } from '../../../schemas/fleet-cli.ts';
|
|
14
|
+
export type { HostRegistryLease } from '../../../schemas/fleet-cli.ts';
|
|
15
|
+
export declare function hostRegistryLeaseUrl(platformOrigin: string, hostId: string): string;
|
|
16
|
+
/**
|
|
17
|
+
* Read a lease out of a platform response body. A body that is not a lease is
|
|
18
|
+
* `null` rather than a throw: the caller reports the platform's own error, and
|
|
19
|
+
* an unparseable body must not read as a credential.
|
|
20
|
+
*/
|
|
21
|
+
export declare function parseHostRegistryLease<Body>(body: Body): HostRegistryLease | null;
|
|
22
|
+
/** What a caller may say out loud about a lease. Never the token. */
|
|
23
|
+
export declare function describeHostRegistryLease(lease: HostRegistryLease): string;
|
|
24
|
+
//# sourceMappingURL=registry-lease.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry-lease.d.ts","sourceRoot":"","sources":["../../../../src/cli/fleets/lib/registry-lease.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAuB,KAAK,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAC5F,YAAY,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAEvE,wBAAgB,oBAAoB,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAEnF;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,GAAG,iBAAiB,GAAG,IAAI,CAGjF;AAED,qEAAqE;AACrE,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,CAG1E"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A standing fleet host renewing its own registry credential.
|
|
3
|
+
*
|
|
4
|
+
* A host's ENROLLMENT token is one-time and expiring, so it can only ever pay
|
|
5
|
+
* for the first materialization (cloud-init's brokered step). Everything after
|
|
6
|
+
* that — a new release, a repair, a wiped `node_modules` — has to be paid for
|
|
7
|
+
* with the durable HOST token the daemon persisted at enrollment. Without this
|
|
8
|
+
* a fleet kept in rotation for weeks is stuck exactly where it started.
|
|
9
|
+
*
|
|
10
|
+
* Pure request/response shaping: no filesystem, no process. The command impl
|
|
11
|
+
* supplies the token and the fetch.
|
|
12
|
+
*/
|
|
13
|
+
import { RegistryLeaseSchema } from "../../../schemas/fleet-cli.js";
|
|
14
|
+
export function hostRegistryLeaseUrl(platformOrigin, hostId) {
|
|
15
|
+
return `${platformOrigin.replace(/\/+$/, '')}/api/hosts/${encodeURIComponent(hostId)}/registry-lease`;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Read a lease out of a platform response body. A body that is not a lease is
|
|
19
|
+
* `null` rather than a throw: the caller reports the platform's own error, and
|
|
20
|
+
* an unparseable body must not read as a credential.
|
|
21
|
+
*/
|
|
22
|
+
export function parseHostRegistryLease(body) {
|
|
23
|
+
const parsed = RegistryLeaseSchema.safeParse(body);
|
|
24
|
+
return parsed.success ? parsed.data : null;
|
|
25
|
+
}
|
|
26
|
+
/** What a caller may say out loud about a lease. Never the token. */
|
|
27
|
+
export function describeHostRegistryLease(lease) {
|
|
28
|
+
const owner = `${lease.owner.type}:${lease.owner.id}`;
|
|
29
|
+
return `registry lease for ${owner} (${lease.scopes.join(', ')}) until ${lease.expiresAt}`;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=registry-lease.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry-lease.js","sourceRoot":"","sources":["../../../../src/cli/fleets/lib/registry-lease.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,mBAAmB,EAA0B,MAAM,+BAA+B,CAAC;AAG5F,MAAM,UAAU,oBAAoB,CAAC,cAAsB,EAAE,MAAc;IAC1E,OAAO,GAAG,cAAc,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,cAAc,kBAAkB,CAAC,MAAM,CAAC,iBAAiB,CAAC;AACvG,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,sBAAsB,CAAO,IAAU;IACtD,MAAM,MAAM,GAAG,mBAAmB,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACnD,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;AAC5C,CAAC;AAED,qEAAqE;AACrE,MAAM,UAAU,yBAAyB,CAAC,KAAwB;IACjE,MAAM,KAAK,GAAG,GAAG,KAAK,CAAC,KAAK,CAAC,IAAI,IAAI,KAAK,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC;IACtD,OAAO,sBAAsB,KAAK,KAAK,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,KAAK,CAAC,SAAS,EAAE,CAAC;AAC5F,CAAC"}
|