@omnitron-dev/omnitron 0.1.3 → 0.3.0
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/dist/BUILD.json +5 -0
- package/dist/cli/omnitron.js +378 -25
- package/dist/cli/omnitron.js.map +1 -1
- package/dist/cluster/cluster.rpc-service.d.ts +40 -0
- package/dist/cluster/cluster.rpc-service.d.ts.map +1 -1
- package/dist/cluster/cluster.rpc-service.js +49 -3
- package/dist/cluster/cluster.rpc-service.js.map +1 -1
- package/dist/cluster/config-sync.d.ts.map +1 -1
- package/dist/cluster/config-sync.js.map +1 -1
- package/dist/cluster/leader-election.d.ts +90 -2
- package/dist/cluster/leader-election.d.ts.map +1 -1
- package/dist/cluster/leader-election.js +176 -24
- package/dist/cluster/leader-election.js.map +1 -1
- package/dist/cluster/mesh-link.d.ts +136 -0
- package/dist/cluster/mesh-link.d.ts.map +1 -0
- package/dist/cluster/mesh-link.js +212 -0
- package/dist/cluster/mesh-link.js.map +1 -0
- package/dist/cluster/mesh.d.ts +59 -0
- package/dist/cluster/mesh.d.ts.map +1 -0
- package/dist/cluster/mesh.js +117 -0
- package/dist/cluster/mesh.js.map +1 -0
- package/dist/cluster/slave-connector.d.ts +193 -9
- package/dist/cluster/slave-connector.d.ts.map +1 -1
- package/dist/cluster/slave-connector.js +409 -37
- package/dist/cluster/slave-connector.js.map +1 -1
- package/dist/commands/audit.d.ts +65 -0
- package/dist/commands/audit.d.ts.map +1 -0
- package/dist/commands/audit.js +233 -0
- package/dist/commands/audit.js.map +1 -0
- package/dist/commands/backup.d.ts +4 -0
- package/dist/commands/backup.d.ts.map +1 -1
- package/dist/commands/backup.js +255 -33
- package/dist/commands/backup.js.map +1 -1
- package/dist/commands/cluster.d.ts.map +1 -1
- package/dist/commands/cluster.js +78 -47
- package/dist/commands/cluster.js.map +1 -1
- package/dist/commands/daemon-cmd.d.ts +7 -1
- package/dist/commands/daemon-cmd.d.ts.map +1 -1
- package/dist/commands/daemon-cmd.js +87 -21
- package/dist/commands/daemon-cmd.js.map +1 -1
- package/dist/commands/daemon-required.d.ts +34 -0
- package/dist/commands/daemon-required.d.ts.map +1 -0
- package/dist/commands/daemon-required.js +92 -0
- package/dist/commands/daemon-required.js.map +1 -0
- package/dist/commands/deploy.d.ts +70 -8
- package/dist/commands/deploy.d.ts.map +1 -1
- package/dist/commands/deploy.js +99 -64
- package/dist/commands/deploy.js.map +1 -1
- package/dist/commands/discover.d.ts +25 -4
- package/dist/commands/discover.d.ts.map +1 -1
- package/dist/commands/discover.js +155 -102
- package/dist/commands/discover.js.map +1 -1
- package/dist/commands/doctor.d.ts +293 -0
- package/dist/commands/doctor.d.ts.map +1 -0
- package/dist/commands/doctor.js +1706 -0
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/env.d.ts +8 -1
- package/dist/commands/env.d.ts.map +1 -1
- package/dist/commands/env.js +18 -5
- package/dist/commands/env.js.map +1 -1
- package/dist/commands/exec.d.ts.map +1 -1
- package/dist/commands/exec.js +3 -2
- package/dist/commands/exec.js.map +1 -1
- package/dist/commands/fleet-asking.d.ts +87 -0
- package/dist/commands/fleet-asking.d.ts.map +1 -0
- package/dist/commands/fleet-asking.js +176 -0
- package/dist/commands/fleet-asking.js.map +1 -0
- package/dist/commands/fleet.d.ts +18 -0
- package/dist/commands/fleet.d.ts.map +1 -1
- package/dist/commands/fleet.js +314 -74
- package/dist/commands/fleet.js.map +1 -1
- package/dist/commands/health-check.d.ts +8 -6
- package/dist/commands/health-check.d.ts.map +1 -1
- package/dist/commands/health-check.js +26 -23
- package/dist/commands/health-check.js.map +1 -1
- package/dist/commands/health.d.ts.map +1 -1
- package/dist/commands/health.js +26 -4
- package/dist/commands/health.js.map +1 -1
- package/dist/commands/infra.d.ts +42 -1
- package/dist/commands/infra.d.ts.map +1 -1
- package/dist/commands/infra.js +418 -49
- package/dist/commands/infra.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +21 -36
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/inspect-graph.d.ts +20 -0
- package/dist/commands/inspect-graph.d.ts.map +1 -0
- package/dist/commands/inspect-graph.js +74 -0
- package/dist/commands/inspect-graph.js.map +1 -0
- package/dist/commands/inspect.d.ts.map +1 -1
- package/dist/commands/inspect.js +115 -11
- package/dist/commands/inspect.js.map +1 -1
- package/dist/commands/k8s.d.ts.map +1 -1
- package/dist/commands/k8s.js +23 -18
- package/dist/commands/k8s.js.map +1 -1
- package/dist/commands/kb.d.ts.map +1 -1
- package/dist/commands/kb.js +88 -29
- package/dist/commands/kb.js.map +1 -1
- package/dist/commands/list.d.ts.map +1 -1
- package/dist/commands/list.js +25 -3
- package/dist/commands/list.js.map +1 -1
- package/dist/commands/log-health.d.ts +120 -0
- package/dist/commands/log-health.d.ts.map +1 -0
- package/dist/commands/log-health.js +212 -0
- package/dist/commands/log-health.js.map +1 -0
- package/dist/commands/logs.d.ts +96 -2
- package/dist/commands/logs.d.ts.map +1 -1
- package/dist/commands/logs.js +532 -192
- package/dist/commands/logs.js.map +1 -1
- package/dist/commands/metrics.d.ts.map +1 -1
- package/dist/commands/metrics.js +40 -14
- package/dist/commands/metrics.js.map +1 -1
- package/dist/commands/monit.d.ts.map +1 -1
- package/dist/commands/monit.js +12 -2
- package/dist/commands/monit.js.map +1 -1
- package/dist/commands/node.d.ts +68 -0
- package/dist/commands/node.d.ts.map +1 -1
- package/dist/commands/node.js +285 -68
- package/dist/commands/node.js.map +1 -1
- package/dist/commands/output.d.ts +45 -0
- package/dist/commands/output.d.ts.map +1 -0
- package/dist/commands/output.js +103 -0
- package/dist/commands/output.js.map +1 -0
- package/dist/commands/pipeline.d.ts.map +1 -1
- package/dist/commands/pipeline.js +26 -19
- package/dist/commands/pipeline.js.map +1 -1
- package/dist/commands/project.d.ts +19 -0
- package/dist/commands/project.d.ts.map +1 -1
- package/dist/commands/project.js +125 -27
- package/dist/commands/project.js.map +1 -1
- package/dist/commands/release-store.d.ts +28 -0
- package/dist/commands/release-store.d.ts.map +1 -0
- package/dist/commands/release-store.js +158 -0
- package/dist/commands/release-store.js.map +1 -0
- package/dist/commands/release.d.ts +61 -0
- package/dist/commands/release.d.ts.map +1 -0
- package/dist/commands/release.js +555 -0
- package/dist/commands/release.js.map +1 -0
- package/dist/commands/reload.d.ts +16 -0
- package/dist/commands/reload.d.ts.map +1 -1
- package/dist/commands/reload.js +21 -5
- package/dist/commands/reload.js.map +1 -1
- package/dist/commands/remote.d.ts +40 -0
- package/dist/commands/remote.d.ts.map +1 -1
- package/dist/commands/remote.js +146 -35
- package/dist/commands/remote.js.map +1 -1
- package/dist/commands/restart.d.ts +16 -0
- package/dist/commands/restart.d.ts.map +1 -1
- package/dist/commands/restart.js +21 -5
- package/dist/commands/restart.js.map +1 -1
- package/dist/commands/scale.d.ts.map +1 -1
- package/dist/commands/scale.js +4 -3
- package/dist/commands/scale.js.map +1 -1
- package/dist/commands/secret.d.ts +54 -0
- package/dist/commands/secret.d.ts.map +1 -1
- package/dist/commands/secret.js +236 -34
- package/dist/commands/secret.js.map +1 -1
- package/dist/commands/service-units.d.ts +181 -0
- package/dist/commands/service-units.d.ts.map +1 -0
- package/dist/commands/service-units.js +291 -0
- package/dist/commands/service-units.js.map +1 -0
- package/dist/commands/service.d.ts +39 -0
- package/dist/commands/service.d.ts.map +1 -0
- package/dist/commands/service.js +370 -0
- package/dist/commands/service.js.map +1 -0
- package/dist/commands/spinner.d.ts +29 -0
- package/dist/commands/spinner.d.ts.map +1 -0
- package/dist/commands/spinner.js +44 -0
- package/dist/commands/spinner.js.map +1 -0
- package/dist/commands/stack.d.ts +49 -1
- package/dist/commands/stack.d.ts.map +1 -1
- package/dist/commands/stack.js +341 -13
- package/dist/commands/stack.js.map +1 -1
- package/dist/commands/start.d.ts +16 -0
- package/dist/commands/start.d.ts.map +1 -1
- package/dist/commands/start.js +20 -3
- package/dist/commands/start.js.map +1 -1
- package/dist/commands/status.d.ts +9 -0
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +62 -29
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/stop.d.ts +16 -0
- package/dist/commands/stop.d.ts.map +1 -1
- package/dist/commands/stop.js +34 -6
- package/dist/commands/stop.js.map +1 -1
- package/dist/commands/tor.d.ts +20 -0
- package/dist/commands/tor.d.ts.map +1 -0
- package/dist/commands/tor.js +180 -0
- package/dist/commands/tor.js.map +1 -0
- package/dist/commands/up.d.ts +85 -1
- package/dist/commands/up.d.ts.map +1 -1
- package/dist/commands/up.js +181 -33
- package/dist/commands/up.js.map +1 -1
- package/dist/commands/webapp.d.ts.map +1 -1
- package/dist/commands/webapp.js +2 -1
- package/dist/commands/webapp.js.map +1 -1
- package/dist/config/defaults.d.ts +16 -0
- package/dist/config/defaults.d.ts.map +1 -1
- package/dist/config/defaults.js +26 -3
- package/dist/config/defaults.js.map +1 -1
- package/dist/config/define-ecosystem.d.ts.map +1 -1
- package/dist/config/define-ecosystem.js +2 -0
- package/dist/config/define-ecosystem.js.map +1 -1
- package/dist/config/index.d.ts +1 -1
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/index.js +1 -1
- package/dist/config/index.js.map +1 -1
- package/dist/config/loader.d.ts +45 -1
- package/dist/config/loader.d.ts.map +1 -1
- package/dist/config/loader.js +93 -11
- package/dist/config/loader.js.map +1 -1
- package/dist/config/omnitron-config.schema.d.ts.map +1 -1
- package/dist/config/omnitron-config.schema.js +16 -0
- package/dist/config/omnitron-config.schema.js.map +1 -1
- package/dist/config/types.d.ts +425 -42
- package/dist/config/types.d.ts.map +1 -1
- package/dist/daemon/config-reload.d.ts +27 -0
- package/dist/daemon/config-reload.d.ts.map +1 -0
- package/dist/daemon/config-reload.js +42 -0
- package/dist/daemon/config-reload.js.map +1 -0
- package/dist/daemon/daemon-client.d.ts +150 -2
- package/dist/daemon/daemon-client.d.ts.map +1 -1
- package/dist/daemon/daemon-client.js +311 -21
- package/dist/daemon/daemon-client.js.map +1 -1
- package/dist/daemon/daemon-entry.js +92 -38
- package/dist/daemon/daemon-entry.js.map +1 -1
- package/dist/daemon/daemon-scheduler.d.ts +4 -0
- package/dist/daemon/daemon-scheduler.d.ts.map +1 -1
- package/dist/daemon/daemon-scheduler.js +137 -7
- package/dist/daemon/daemon-scheduler.js.map +1 -1
- package/dist/daemon/daemon-state-store.service.d.ts +263 -0
- package/dist/daemon/daemon-state-store.service.d.ts.map +1 -0
- package/dist/daemon/daemon-state-store.service.js +446 -0
- package/dist/daemon/daemon-state-store.service.js.map +1 -0
- package/dist/daemon/daemon.d.ts +207 -1
- package/dist/daemon/daemon.d.ts.map +1 -1
- package/dist/daemon/daemon.js +1254 -143
- package/dist/daemon/daemon.js.map +1 -1
- package/dist/daemon/daemon.module.d.ts.map +1 -1
- package/dist/daemon/daemon.module.js +186 -79
- package/dist/daemon/daemon.module.js.map +1 -1
- package/dist/daemon/daemon.rpc-service.d.ts +109 -1
- package/dist/daemon/daemon.rpc-service.d.ts.map +1 -1
- package/dist/daemon/daemon.rpc-service.js +451 -95
- package/dist/daemon/daemon.rpc-service.js.map +1 -1
- package/dist/daemon/pid-manager.d.ts +69 -5
- package/dist/daemon/pid-manager.d.ts.map +1 -1
- package/dist/daemon/pid-manager.js +151 -17
- package/dist/daemon/pid-manager.js.map +1 -1
- package/dist/daemon/spawn-daemon.d.ts +73 -0
- package/dist/daemon/spawn-daemon.d.ts.map +1 -0
- package/dist/daemon/spawn-daemon.js +101 -0
- package/dist/daemon/spawn-daemon.js.map +1 -0
- package/dist/daemon/state-store.d.ts +65 -3
- package/dist/daemon/state-store.d.ts.map +1 -1
- package/dist/daemon/state-store.js +103 -19
- package/dist/daemon/state-store.js.map +1 -1
- package/dist/database/connection.d.ts +71 -0
- package/dist/database/connection.d.ts.map +1 -0
- package/dist/database/connection.js +129 -0
- package/dist/database/connection.js.map +1 -0
- package/dist/database/dialect.d.ts +60 -0
- package/dist/database/dialect.d.ts.map +1 -0
- package/dist/database/dialect.js +80 -0
- package/dist/database/dialect.js.map +1 -0
- package/dist/database/migrate.d.ts +5 -2
- package/dist/database/migrate.d.ts.map +1 -1
- package/dist/database/migrate.js +23 -33
- package/dist/database/migrate.js.map +1 -1
- package/dist/database/migration-runner.d.ts +50 -0
- package/dist/database/migration-runner.d.ts.map +1 -0
- package/dist/database/migration-runner.js +143 -0
- package/dist/database/migration-runner.js.map +1 -0
- package/dist/database/migrations/006_login_throttle.d.ts +17 -0
- package/dist/database/migrations/006_login_throttle.d.ts.map +1 -0
- package/dist/database/migrations/006_login_throttle.js +33 -0
- package/dist/database/migrations/006_login_throttle.js.map +1 -0
- package/dist/database/migrations/007_sync_ingested.d.ts +21 -0
- package/dist/database/migrations/007_sync_ingested.d.ts.map +1 -0
- package/dist/database/migrations/007_sync_ingested.js +39 -0
- package/dist/database/migrations/007_sync_ingested.js.map +1 -0
- package/dist/database/migrations/008_node_health_version_text.d.ts +24 -0
- package/dist/database/migrations/008_node_health_version_text.d.ts.map +1 -0
- package/dist/database/migrations/008_node_health_version_text.js +35 -0
- package/dist/database/migrations/008_node_health_version_text.js.map +1 -0
- package/dist/database/migrations/009_node_health_unmeasured.d.ts +40 -0
- package/dist/database/migrations/009_node_health_unmeasured.d.ts.map +1 -0
- package/dist/database/migrations/009_node_health_unmeasured.js +63 -0
- package/dist/database/migrations/009_node_health_unmeasured.js.map +1 -0
- package/dist/database/migrations/010_metrics_raw_had_no_reader.d.ts +22 -0
- package/dist/database/migrations/010_metrics_raw_had_no_reader.d.ts.map +1 -0
- package/dist/database/migrations/010_metrics_raw_had_no_reader.js +26 -0
- package/dist/database/migrations/010_metrics_raw_had_no_reader.js.map +1 -0
- package/dist/database/migrations/011_alerts_nobody_had_to_write.d.ts +56 -0
- package/dist/database/migrations/011_alerts_nobody_had_to_write.d.ts.map +1 -0
- package/dist/database/migrations/011_alerts_nobody_had_to_write.js +79 -0
- package/dist/database/migrations/011_alerts_nobody_had_to_write.js.map +1 -0
- package/dist/database/migrations/012_a_disk_nobody_watched.d.ts +26 -0
- package/dist/database/migrations/012_a_disk_nobody_watched.d.ts.map +1 -0
- package/dist/database/migrations/012_a_disk_nobody_watched.js +40 -0
- package/dist/database/migrations/012_a_disk_nobody_watched.js.map +1 -0
- package/dist/database/migrations/013_an_alarm_delivered.d.ts +14 -0
- package/dist/database/migrations/013_an_alarm_delivered.d.ts.map +1 -0
- package/dist/database/migrations/013_an_alarm_delivered.js +28 -0
- package/dist/database/migrations/013_an_alarm_delivered.js.map +1 -0
- package/dist/database/migrations/index.d.ts +21 -0
- package/dist/database/migrations/index.d.ts.map +1 -0
- package/dist/database/migrations/index.js +47 -0
- package/dist/database/migrations/index.js.map +1 -0
- package/dist/database/schema.d.ts +27 -11
- package/dist/database/schema.d.ts.map +1 -1
- package/dist/database/sqlite-date-binding.d.ts +71 -0
- package/dist/database/sqlite-date-binding.d.ts.map +1 -0
- package/dist/database/sqlite-date-binding.js +174 -0
- package/dist/database/sqlite-date-binding.js.map +1 -0
- package/dist/execution/data-channel.d.ts +48 -0
- package/dist/execution/data-channel.d.ts.map +1 -0
- package/dist/execution/data-channel.js +55 -0
- package/dist/execution/data-channel.js.map +1 -0
- package/dist/execution/execution.service.d.ts +139 -0
- package/dist/execution/execution.service.d.ts.map +1 -1
- package/dist/execution/execution.service.js +273 -10
- package/dist/execution/execution.service.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/infrastructure/bare-metal-plan.d.ts +208 -0
- package/dist/infrastructure/bare-metal-plan.d.ts.map +1 -0
- package/dist/infrastructure/bare-metal-plan.js +363 -0
- package/dist/infrastructure/bare-metal-plan.js.map +1 -0
- package/dist/infrastructure/bare-metal-runner.d.ts +65 -0
- package/dist/infrastructure/bare-metal-runner.d.ts.map +1 -0
- package/dist/infrastructure/bare-metal-runner.js +354 -0
- package/dist/infrastructure/bare-metal-runner.js.map +1 -0
- package/dist/infrastructure/config-payload.d.ts +149 -0
- package/dist/infrastructure/config-payload.d.ts.map +1 -0
- package/dist/infrastructure/config-payload.js +235 -0
- package/dist/infrastructure/config-payload.js.map +1 -0
- package/dist/infrastructure/container-runtime.d.ts +179 -1
- package/dist/infrastructure/container-runtime.d.ts.map +1 -1
- package/dist/infrastructure/container-runtime.js +612 -45
- package/dist/infrastructure/container-runtime.js.map +1 -1
- package/dist/infrastructure/gateway-reachability.d.ts +85 -0
- package/dist/infrastructure/gateway-reachability.d.ts.map +1 -0
- package/dist/infrastructure/gateway-reachability.js +116 -0
- package/dist/infrastructure/gateway-reachability.js.map +1 -0
- package/dist/infrastructure/gateway-redis-db.d.ts +29 -0
- package/dist/infrastructure/gateway-redis-db.d.ts.map +1 -0
- package/dist/infrastructure/gateway-redis-db.js +32 -0
- package/dist/infrastructure/gateway-redis-db.js.map +1 -0
- package/dist/infrastructure/host-inspection.d.ts +223 -0
- package/dist/infrastructure/host-inspection.d.ts.map +1 -0
- package/dist/infrastructure/host-inspection.js +501 -0
- package/dist/infrastructure/host-inspection.js.map +1 -0
- package/dist/infrastructure/infrastructure-gate.d.ts.map +1 -1
- package/dist/infrastructure/infrastructure.service.d.ts +247 -6
- package/dist/infrastructure/infrastructure.service.d.ts.map +1 -1
- package/dist/infrastructure/infrastructure.service.js +571 -96
- package/dist/infrastructure/infrastructure.service.js.map +1 -1
- package/dist/infrastructure/known-machines.d.ts +76 -0
- package/dist/infrastructure/known-machines.d.ts.map +1 -0
- package/dist/infrastructure/known-machines.js +94 -0
- package/dist/infrastructure/known-machines.js.map +1 -0
- package/dist/infrastructure/node-credentials.d.ts +45 -0
- package/dist/infrastructure/node-credentials.d.ts.map +1 -0
- package/dist/infrastructure/node-credentials.js +80 -0
- package/dist/infrastructure/node-credentials.js.map +1 -0
- package/dist/infrastructure/orphan-containers.d.ts +99 -0
- package/dist/infrastructure/orphan-containers.d.ts.map +1 -0
- package/dist/infrastructure/orphan-containers.js +106 -0
- package/dist/infrastructure/orphan-containers.js.map +1 -0
- package/dist/infrastructure/phantom-endpoint-janitor.d.ts +92 -0
- package/dist/infrastructure/phantom-endpoint-janitor.d.ts.map +1 -0
- package/dist/infrastructure/phantom-endpoint-janitor.js +199 -0
- package/dist/infrastructure/phantom-endpoint-janitor.js.map +1 -0
- package/dist/infrastructure/presets/gateway-openresty.d.ts.map +1 -1
- package/dist/infrastructure/presets/gateway-openresty.js +29 -3
- package/dist/infrastructure/presets/gateway-openresty.js.map +1 -1
- package/dist/infrastructure/presets/index.d.ts.map +1 -1
- package/dist/infrastructure/presets/index.js +2 -0
- package/dist/infrastructure/presets/index.js.map +1 -1
- package/dist/infrastructure/presets/minio.d.ts.map +1 -1
- package/dist/infrastructure/presets/minio.js +36 -3
- package/dist/infrastructure/presets/minio.js.map +1 -1
- package/dist/infrastructure/presets/postgres.d.ts.map +1 -1
- package/dist/infrastructure/presets/postgres.js +78 -5
- package/dist/infrastructure/presets/postgres.js.map +1 -1
- package/dist/infrastructure/presets/redis.d.ts.map +1 -1
- package/dist/infrastructure/presets/redis.js +23 -4
- package/dist/infrastructure/presets/redis.js.map +1 -1
- package/dist/infrastructure/presets/registry.d.ts.map +1 -1
- package/dist/infrastructure/presets/registry.js +85 -4
- package/dist/infrastructure/presets/registry.js.map +1 -1
- package/dist/infrastructure/presets/tor.d.ts +112 -0
- package/dist/infrastructure/presets/tor.d.ts.map +1 -0
- package/dist/infrastructure/presets/tor.js +185 -0
- package/dist/infrastructure/presets/tor.js.map +1 -0
- package/dist/infrastructure/presets/torrc.d.ts +54 -0
- package/dist/infrastructure/presets/torrc.d.ts.map +1 -0
- package/dist/infrastructure/presets/torrc.js +153 -0
- package/dist/infrastructure/presets/torrc.js.map +1 -0
- package/dist/infrastructure/presets/types.d.ts +17 -0
- package/dist/infrastructure/presets/types.d.ts.map +1 -1
- package/dist/infrastructure/provisioning-outcome.d.ts +85 -0
- package/dist/infrastructure/provisioning-outcome.d.ts.map +1 -0
- package/dist/infrastructure/provisioning-outcome.js +122 -0
- package/dist/infrastructure/provisioning-outcome.js.map +1 -0
- package/dist/infrastructure/server-registry.d.ts +27 -0
- package/dist/infrastructure/server-registry.d.ts.map +1 -1
- package/dist/infrastructure/server-registry.js +60 -5
- package/dist/infrastructure/server-registry.js.map +1 -1
- package/dist/infrastructure/service-binding.d.ts +60 -0
- package/dist/infrastructure/service-binding.d.ts.map +1 -0
- package/dist/infrastructure/service-binding.js +90 -0
- package/dist/infrastructure/service-binding.js.map +1 -0
- package/dist/infrastructure/service-credentials.d.ts +105 -0
- package/dist/infrastructure/service-credentials.d.ts.map +1 -0
- package/dist/infrastructure/service-credentials.js +141 -0
- package/dist/infrastructure/service-credentials.js.map +1 -0
- package/dist/infrastructure/service-resolver.d.ts +191 -12
- package/dist/infrastructure/service-resolver.d.ts.map +1 -1
- package/dist/infrastructure/service-resolver.js +521 -60
- package/dist/infrastructure/service-resolver.js.map +1 -1
- package/dist/infrastructure/shipped-config.d.ts +43 -0
- package/dist/infrastructure/shipped-config.d.ts.map +1 -0
- package/dist/infrastructure/shipped-config.js +159 -0
- package/dist/infrastructure/shipped-config.js.map +1 -0
- package/dist/infrastructure/stack-infra-manager.d.ts +7 -1
- package/dist/infrastructure/stack-infra-manager.d.ts.map +1 -1
- package/dist/infrastructure/stack-infra-manager.js +32 -14
- package/dist/infrastructure/stack-infra-manager.js.map +1 -1
- package/dist/infrastructure/types.d.ts +278 -6
- package/dist/infrastructure/types.d.ts.map +1 -1
- package/dist/mcp/mcp-bridge.d.ts.map +1 -1
- package/dist/mcp/mcp-bridge.js.map +1 -1
- package/dist/mcp/tool-groups/apps.tools.d.ts +2 -1
- package/dist/mcp/tool-groups/apps.tools.d.ts.map +1 -1
- package/dist/mcp/tool-groups/apps.tools.js +2 -2
- package/dist/mcp/tool-groups/apps.tools.js.map +1 -1
- package/dist/mcp/tool-groups/infra.tools.d.ts +16 -2
- package/dist/mcp/tool-groups/infra.tools.d.ts.map +1 -1
- package/dist/mcp/tool-groups/infra.tools.js +51 -41
- package/dist/mcp/tool-groups/infra.tools.js.map +1 -1
- package/dist/mcp/tool-groups/kb.tools.d.ts.map +1 -1
- package/dist/mcp/tool-groups/kb.tools.js +4 -6
- package/dist/mcp/tool-groups/kb.tools.js.map +1 -1
- package/dist/mcp/tool-groups/management.tools.d.ts +20 -3
- package/dist/mcp/tool-groups/management.tools.d.ts.map +1 -1
- package/dist/mcp/tool-groups/management.tools.js +158 -125
- package/dist/mcp/tool-groups/management.tools.js.map +1 -1
- package/dist/mcp/tool-groups/monitoring.tools.d.ts +10 -1
- package/dist/mcp/tool-groups/monitoring.tools.d.ts.map +1 -1
- package/dist/mcp/tool-groups/monitoring.tools.js +65 -18
- package/dist/mcp/tool-groups/monitoring.tools.js.map +1 -1
- package/dist/mcp/unavailable-tools.d.ts +35 -0
- package/dist/mcp/unavailable-tools.d.ts.map +1 -0
- package/dist/mcp/unavailable-tools.js +59 -0
- package/dist/mcp/unavailable-tools.js.map +1 -0
- package/dist/monitoring/app-health.indicator.d.ts.map +1 -1
- package/dist/monitoring/app-health.indicator.js +12 -0
- package/dist/monitoring/app-health.indicator.js.map +1 -1
- package/dist/monitoring/desktop-notifier.d.ts +26 -0
- package/dist/monitoring/desktop-notifier.d.ts.map +1 -0
- package/dist/monitoring/desktop-notifier.js +49 -0
- package/dist/monitoring/desktop-notifier.js.map +1 -0
- package/dist/monitoring/docker-health.indicator.d.ts +17 -1
- package/dist/monitoring/docker-health.indicator.d.ts.map +1 -1
- package/dist/monitoring/docker-health.indicator.js +38 -8
- package/dist/monitoring/docker-health.indicator.js.map +1 -1
- package/dist/monitoring/event-loop-stall.indicator.d.ts +26 -0
- package/dist/monitoring/event-loop-stall.indicator.d.ts.map +1 -0
- package/dist/monitoring/event-loop-stall.indicator.js +47 -0
- package/dist/monitoring/event-loop-stall.indicator.js.map +1 -0
- package/dist/monitoring/event-loop-watch.d.ts +124 -0
- package/dist/monitoring/event-loop-watch.d.ts.map +1 -0
- package/dist/monitoring/event-loop-watch.js +179 -0
- package/dist/monitoring/event-loop-watch.js.map +1 -0
- package/dist/monitoring/host-disk.d.ts +6 -0
- package/dist/monitoring/host-disk.d.ts.map +1 -0
- package/dist/monitoring/host-disk.js +26 -0
- package/dist/monitoring/host-disk.js.map +1 -0
- package/dist/monitoring/log-line.d.ts +188 -0
- package/dist/monitoring/log-line.d.ts.map +1 -0
- package/dist/monitoring/log-line.js +458 -0
- package/dist/monitoring/log-line.js.map +1 -0
- package/dist/monitoring/log-manager.d.ts +89 -8
- package/dist/monitoring/log-manager.d.ts.map +1 -1
- package/dist/monitoring/log-manager.js +246 -77
- package/dist/monitoring/log-manager.js.map +1 -1
- package/dist/observability/index.d.ts +4 -0
- package/dist/observability/index.d.ts.map +1 -0
- package/dist/observability/index.js +3 -0
- package/dist/observability/index.js.map +1 -0
- package/dist/observability/metrics-bridge.d.ts +87 -0
- package/dist/observability/metrics-bridge.d.ts.map +1 -0
- package/dist/observability/metrics-bridge.js +295 -0
- package/dist/observability/metrics-bridge.js.map +1 -0
- package/dist/observability/metrics-server.d.ts +68 -0
- package/dist/observability/metrics-server.d.ts.map +1 -0
- package/dist/observability/metrics-server.js +146 -0
- package/dist/observability/metrics-server.js.map +1 -0
- package/dist/orchestrator/app-handle.d.ts +170 -3
- package/dist/orchestrator/app-handle.d.ts.map +1 -1
- package/dist/orchestrator/app-handle.js +177 -3
- package/dist/orchestrator/app-handle.js.map +1 -1
- package/dist/orchestrator/app-health.d.ts +33 -0
- package/dist/orchestrator/app-health.d.ts.map +1 -0
- package/dist/orchestrator/app-health.js +74 -0
- package/dist/orchestrator/app-health.js.map +1 -0
- package/dist/orchestrator/app-traffic.d.ts +14 -0
- package/dist/orchestrator/app-traffic.d.ts.map +1 -0
- package/dist/orchestrator/app-traffic.js +33 -0
- package/dist/orchestrator/app-traffic.js.map +1 -0
- package/dist/orchestrator/bootstrap-loader-child.d.ts +19 -0
- package/dist/orchestrator/bootstrap-loader-child.d.ts.map +1 -0
- package/dist/orchestrator/bootstrap-loader-child.js +43 -0
- package/dist/orchestrator/bootstrap-loader-child.js.map +1 -0
- package/dist/orchestrator/bootstrap-loader.d.ts +72 -0
- package/dist/orchestrator/bootstrap-loader.d.ts.map +1 -1
- package/dist/orchestrator/bootstrap-loader.js +350 -5
- package/dist/orchestrator/bootstrap-loader.js.map +1 -1
- package/dist/orchestrator/bootstrap-process.d.ts +148 -4
- package/dist/orchestrator/bootstrap-process.d.ts.map +1 -1
- package/dist/orchestrator/bootstrap-process.js +496 -18
- package/dist/orchestrator/bootstrap-process.js.map +1 -1
- package/dist/orchestrator/build-service.d.ts +50 -3
- package/dist/orchestrator/build-service.d.ts.map +1 -1
- package/dist/orchestrator/build-service.js +357 -85
- package/dist/orchestrator/build-service.js.map +1 -1
- package/dist/orchestrator/call-exposed-service.d.ts +7 -0
- package/dist/orchestrator/call-exposed-service.d.ts.map +1 -0
- package/dist/orchestrator/call-exposed-service.js +50 -0
- package/dist/orchestrator/call-exposed-service.js.map +1 -0
- package/dist/orchestrator/classic-launcher.d.ts +1 -0
- package/dist/orchestrator/classic-launcher.d.ts.map +1 -1
- package/dist/orchestrator/classic-launcher.js +34 -3
- package/dist/orchestrator/classic-launcher.js.map +1 -1
- package/dist/orchestrator/file-watcher.d.ts +78 -1
- package/dist/orchestrator/file-watcher.d.ts.map +1 -1
- package/dist/orchestrator/file-watcher.js +240 -43
- package/dist/orchestrator/file-watcher.js.map +1 -1
- package/dist/orchestrator/module-worker-process.d.ts.map +1 -1
- package/dist/orchestrator/module-worker-process.js +10 -0
- package/dist/orchestrator/module-worker-process.js.map +1 -1
- package/dist/orchestrator/orchestrator.service.d.ts +540 -7
- package/dist/orchestrator/orchestrator.service.d.ts.map +1 -1
- package/dist/orchestrator/orchestrator.service.js +2106 -242
- package/dist/orchestrator/orchestrator.service.js.map +1 -1
- package/dist/orchestrator/owned-pids.d.ts +83 -0
- package/dist/orchestrator/owned-pids.d.ts.map +1 -0
- package/dist/orchestrator/owned-pids.js +93 -0
- package/dist/orchestrator/owned-pids.js.map +1 -0
- package/dist/orchestrator/port-conflict.d.ts +102 -0
- package/dist/orchestrator/port-conflict.d.ts.map +1 -0
- package/dist/orchestrator/port-conflict.js +131 -0
- package/dist/orchestrator/port-conflict.js.map +1 -0
- package/dist/orchestrator/process-janitor.d.ts +227 -0
- package/dist/orchestrator/process-janitor.d.ts.map +1 -0
- package/dist/orchestrator/process-janitor.js +495 -0
- package/dist/orchestrator/process-janitor.js.map +1 -0
- package/dist/orchestrator/ps-metrics.d.ts +37 -0
- package/dist/orchestrator/ps-metrics.d.ts.map +1 -0
- package/dist/orchestrator/ps-metrics.js +60 -0
- package/dist/orchestrator/ps-metrics.js.map +1 -0
- package/dist/orchestrator/service-router.d.ts +58 -2
- package/dist/orchestrator/service-router.d.ts.map +1 -1
- package/dist/orchestrator/service-router.js +157 -25
- package/dist/orchestrator/service-router.js.map +1 -1
- package/dist/orchestrator/topology-query.d.ts +49 -0
- package/dist/orchestrator/topology-query.d.ts.map +1 -0
- package/dist/orchestrator/topology-query.js +54 -0
- package/dist/orchestrator/topology-query.js.map +1 -0
- package/dist/project/artifact-builder.d.ts +174 -3
- package/dist/project/artifact-builder.d.ts.map +1 -1
- package/dist/project/artifact-builder.js +454 -42
- package/dist/project/artifact-builder.js.map +1 -1
- package/dist/project/build-decision.d.ts +58 -0
- package/dist/project/build-decision.d.ts.map +1 -0
- package/dist/project/build-decision.js +59 -0
- package/dist/project/build-decision.js.map +1 -0
- package/dist/project/config-resolver.d.ts +6 -4
- package/dist/project/config-resolver.d.ts.map +1 -1
- package/dist/project/config-resolver.js +158 -78
- package/dist/project/config-resolver.js.map +1 -1
- package/dist/project/declared-config.d.ts +42 -0
- package/dist/project/declared-config.d.ts.map +1 -0
- package/dist/project/declared-config.js +60 -0
- package/dist/project/declared-config.js.map +1 -0
- package/dist/project/dependency-analyzer.d.ts.map +1 -1
- package/dist/project/dependency-analyzer.js.map +1 -1
- package/dist/project/deploy-phases.d.ts +35 -0
- package/dist/project/deploy-phases.d.ts.map +1 -0
- package/dist/project/deploy-phases.js +75 -0
- package/dist/project/deploy-phases.js.map +1 -0
- package/dist/project/exec-in-group.d.ts +49 -0
- package/dist/project/exec-in-group.d.ts.map +1 -0
- package/dist/project/exec-in-group.js +100 -0
- package/dist/project/exec-in-group.js.map +1 -0
- package/dist/project/node-app-config.d.ts +101 -0
- package/dist/project/node-app-config.d.ts.map +1 -0
- package/dist/project/node-app-config.js +134 -0
- package/dist/project/node-app-config.js.map +1 -0
- package/dist/project/node-app-health.d.ts +76 -0
- package/dist/project/node-app-health.d.ts.map +1 -0
- package/dist/project/node-app-health.js +119 -0
- package/dist/project/node-app-health.js.map +1 -0
- package/dist/project/operator-account.d.ts +287 -0
- package/dist/project/operator-account.d.ts.map +1 -0
- package/dist/project/operator-account.js +373 -0
- package/dist/project/operator-account.js.map +1 -0
- package/dist/project/registry.d.ts +46 -8
- package/dist/project/registry.d.ts.map +1 -1
- package/dist/project/registry.js +238 -40
- package/dist/project/registry.js.map +1 -1
- package/dist/project/requirements-scanner.d.ts +1 -0
- package/dist/project/requirements-scanner.d.ts.map +1 -1
- package/dist/project/requirements-scanner.js +28 -3
- package/dist/project/requirements-scanner.js.map +1 -1
- package/dist/project/stack-env.d.ts +37 -0
- package/dist/project/stack-env.d.ts.map +1 -0
- package/dist/project/stack-env.js +85 -0
- package/dist/project/stack-env.js.map +1 -0
- package/dist/project/stand-containers.d.ts +4 -0
- package/dist/project/stand-containers.d.ts.map +1 -0
- package/dist/project/stand-containers.js +27 -0
- package/dist/project/stand-containers.js.map +1 -0
- package/dist/project/working-tree.d.ts +62 -0
- package/dist/project/working-tree.d.ts.map +1 -0
- package/dist/project/working-tree.js +101 -0
- package/dist/project/working-tree.js.map +1 -0
- package/dist/release/artifact-store.d.ts +360 -0
- package/dist/release/artifact-store.d.ts.map +1 -0
- package/dist/release/artifact-store.js +1040 -0
- package/dist/release/artifact-store.js.map +1 -0
- package/dist/release/attest-on-node.d.ts +92 -0
- package/dist/release/attest-on-node.d.ts.map +1 -0
- package/dist/release/attest-on-node.js +207 -0
- package/dist/release/attest-on-node.js.map +1 -0
- package/dist/release/attest.d.ts +135 -0
- package/dist/release/attest.d.ts.map +1 -0
- package/dist/release/attest.js +199 -0
- package/dist/release/attest.js.map +1 -0
- package/dist/release/build-run.d.ts +151 -0
- package/dist/release/build-run.d.ts.map +1 -0
- package/dist/release/build-run.js +609 -0
- package/dist/release/build-run.js.map +1 -0
- package/dist/release/builder.d.ts +57 -0
- package/dist/release/builder.d.ts.map +1 -0
- package/dist/release/builder.js +120 -0
- package/dist/release/builder.js.map +1 -0
- package/dist/release/daemon-omni.d.ts +41 -0
- package/dist/release/daemon-omni.d.ts.map +1 -0
- package/dist/release/daemon-omni.js +59 -0
- package/dist/release/daemon-omni.js.map +1 -0
- package/dist/release/definition-inputs.d.ts +34 -0
- package/dist/release/definition-inputs.d.ts.map +1 -0
- package/dist/release/definition-inputs.js +90 -0
- package/dist/release/definition-inputs.js.map +1 -0
- package/dist/release/delivered.d.ts +53 -0
- package/dist/release/delivered.d.ts.map +1 -0
- package/dist/release/delivered.js +81 -0
- package/dist/release/delivered.js.map +1 -0
- package/dist/release/layout.d.ts +61 -0
- package/dist/release/layout.d.ts.map +1 -0
- package/dist/release/layout.js +114 -0
- package/dist/release/layout.js.map +1 -0
- package/dist/release/load.d.ts +44 -0
- package/dist/release/load.d.ts.map +1 -0
- package/dist/release/load.js +84 -0
- package/dist/release/load.js.map +1 -0
- package/dist/release/manifest.d.ts +299 -0
- package/dist/release/manifest.d.ts.map +1 -0
- package/dist/release/manifest.js +176 -0
- package/dist/release/manifest.js.map +1 -0
- package/dist/release/migrations.d.ts +32 -0
- package/dist/release/migrations.d.ts.map +1 -0
- package/dist/release/migrations.js +51 -0
- package/dist/release/migrations.js.map +1 -0
- package/dist/release/publish.d.ts +71 -0
- package/dist/release/publish.d.ts.map +1 -0
- package/dist/release/publish.js +102 -0
- package/dist/release/publish.js.map +1 -0
- package/dist/release/store.d.ts +174 -0
- package/dist/release/store.d.ts.map +1 -0
- package/dist/release/store.js +257 -0
- package/dist/release/store.js.map +1 -0
- package/dist/services/alert.rpc-service.d.ts +11 -15
- package/dist/services/alert.rpc-service.d.ts.map +1 -1
- package/dist/services/alert.rpc-service.js +29 -14
- package/dist/services/alert.rpc-service.js.map +1 -1
- package/dist/services/alert.service.d.ts +96 -59
- package/dist/services/alert.service.d.ts.map +1 -1
- package/dist/services/alert.service.js +455 -70
- package/dist/services/alert.service.js.map +1 -1
- package/dist/services/anonymous-input.d.ts +26 -0
- package/dist/services/anonymous-input.d.ts.map +1 -0
- package/dist/services/anonymous-input.js +44 -0
- package/dist/services/anonymous-input.js.map +1 -0
- package/dist/services/audit.rpc-service.d.ts +27 -0
- package/dist/services/audit.rpc-service.d.ts.map +1 -0
- package/dist/services/audit.rpc-service.js +57 -0
- package/dist/services/audit.rpc-service.js.map +1 -0
- package/dist/services/audit.service.d.ts +165 -0
- package/dist/services/audit.service.d.ts.map +1 -0
- package/dist/services/audit.service.js +242 -0
- package/dist/services/audit.service.js.map +1 -0
- package/dist/services/auth-context.d.ts +21 -1
- package/dist/services/auth-context.d.ts.map +1 -1
- package/dist/services/auth-context.js +51 -5
- package/dist/services/auth-context.js.map +1 -1
- package/dist/services/auth.rpc-service.d.ts +0 -1
- package/dist/services/auth.rpc-service.d.ts.map +1 -1
- package/dist/services/auth.rpc-service.js +23 -9
- package/dist/services/auth.rpc-service.js.map +1 -1
- package/dist/services/auth.service.d.ts +47 -33
- package/dist/services/auth.service.d.ts.map +1 -1
- package/dist/services/auth.service.js +163 -24
- package/dist/services/auth.service.js.map +1 -1
- package/dist/services/backup-pipeline.d.ts +97 -0
- package/dist/services/backup-pipeline.d.ts.map +1 -0
- package/dist/services/backup-pipeline.js +286 -0
- package/dist/services/backup-pipeline.js.map +1 -0
- package/dist/services/backup-schedule.d.ts +69 -0
- package/dist/services/backup-schedule.d.ts.map +1 -0
- package/dist/services/backup-schedule.js +132 -0
- package/dist/services/backup-schedule.js.map +1 -0
- package/dist/services/backup.rpc-service.d.ts +31 -2
- package/dist/services/backup.rpc-service.d.ts.map +1 -1
- package/dist/services/backup.rpc-service.js +53 -0
- package/dist/services/backup.rpc-service.js.map +1 -1
- package/dist/services/backup.service.d.ts +458 -14
- package/dist/services/backup.service.d.ts.map +1 -1
- package/dist/services/backup.service.js +1368 -170
- package/dist/services/backup.service.js.map +1 -1
- package/dist/services/bundle-build-worker.d.ts +19 -0
- package/dist/services/bundle-build-worker.d.ts.map +1 -0
- package/dist/services/bundle-build-worker.js +40 -0
- package/dist/services/bundle-build-worker.js.map +1 -0
- package/dist/services/bundle-builder.d.ts +487 -0
- package/dist/services/bundle-builder.d.ts.map +1 -0
- package/dist/services/bundle-builder.js +1083 -0
- package/dist/services/bundle-builder.js.map +1 -0
- package/dist/services/bundle-worker-protocol.d.ts +19 -0
- package/dist/services/bundle-worker-protocol.d.ts.map +1 -0
- package/dist/services/bundle-worker-protocol.js +32 -0
- package/dist/services/bundle-worker-protocol.js.map +1 -0
- package/dist/services/deploy.rpc-service.d.ts +4 -1
- package/dist/services/deploy.rpc-service.d.ts.map +1 -1
- package/dist/services/deploy.rpc-service.js +10 -0
- package/dist/services/deploy.rpc-service.js.map +1 -1
- package/dist/services/deploy.service.d.ts +14 -24
- package/dist/services/deploy.service.d.ts.map +1 -1
- package/dist/services/deploy.service.js +46 -5
- package/dist/services/deploy.service.js.map +1 -1
- package/dist/services/discovery.rpc-service.d.ts +2 -1
- package/dist/services/discovery.rpc-service.d.ts.map +1 -1
- package/dist/services/discovery.rpc-service.js.map +1 -1
- package/dist/services/discovery.service.d.ts +32 -28
- package/dist/services/discovery.service.d.ts.map +1 -1
- package/dist/services/discovery.service.js +108 -133
- package/dist/services/discovery.service.js.map +1 -1
- package/dist/services/event-broadcaster.rpc-service.d.ts +36 -23
- package/dist/services/event-broadcaster.rpc-service.d.ts.map +1 -1
- package/dist/services/event-broadcaster.rpc-service.js +70 -32
- package/dist/services/event-broadcaster.rpc-service.js.map +1 -1
- package/dist/services/event-broadcaster.service.d.ts.map +1 -1
- package/dist/services/event-broadcaster.service.js.map +1 -1
- package/dist/services/fleet.rpc-service.d.ts +2 -1
- package/dist/services/fleet.rpc-service.d.ts.map +1 -1
- package/dist/services/fleet.rpc-service.js +3 -1
- package/dist/services/fleet.rpc-service.js.map +1 -1
- package/dist/services/fleet.service.d.ts +32 -34
- package/dist/services/fleet.service.d.ts.map +1 -1
- package/dist/services/fleet.service.js +66 -10
- package/dist/services/fleet.service.js.map +1 -1
- package/dist/services/health-check.rpc-service.d.ts +2 -1
- package/dist/services/health-check.rpc-service.d.ts.map +1 -1
- package/dist/services/health-check.rpc-service.js.map +1 -1
- package/dist/services/health-check.service.d.ts +50 -36
- package/dist/services/health-check.service.d.ts.map +1 -1
- package/dist/services/health-check.service.js +179 -182
- package/dist/services/health-check.service.js.map +1 -1
- package/dist/services/infrastructure.rpc-service.d.ts +297 -2
- package/dist/services/infrastructure.rpc-service.d.ts.map +1 -1
- package/dist/services/infrastructure.rpc-service.js +523 -11
- package/dist/services/infrastructure.rpc-service.js.map +1 -1
- package/dist/services/kubernetes.rpc-service.d.ts +2 -1
- package/dist/services/kubernetes.rpc-service.d.ts.map +1 -1
- package/dist/services/kubernetes.rpc-service.js.map +1 -1
- package/dist/services/kubernetes.service.d.ts +5 -39
- package/dist/services/kubernetes.service.d.ts.map +1 -1
- package/dist/services/kubernetes.service.js +29 -5
- package/dist/services/kubernetes.service.js.map +1 -1
- package/dist/services/local-bundle.d.ts +151 -0
- package/dist/services/local-bundle.d.ts.map +1 -0
- package/dist/services/local-bundle.js +233 -0
- package/dist/services/local-bundle.js.map +1 -0
- package/dist/services/lockout.d.ts +28 -0
- package/dist/services/lockout.d.ts.map +1 -0
- package/dist/services/lockout.js +41 -0
- package/dist/services/lockout.js.map +1 -0
- package/dist/services/log-collector.rpc-service.d.ts +16 -0
- package/dist/services/log-collector.rpc-service.d.ts.map +1 -1
- package/dist/services/log-collector.rpc-service.js +16 -0
- package/dist/services/log-collector.rpc-service.js.map +1 -1
- package/dist/services/log-collector.service.d.ts +172 -54
- package/dist/services/log-collector.service.d.ts.map +1 -1
- package/dist/services/log-collector.service.js +492 -102
- package/dist/services/log-collector.service.js.map +1 -1
- package/dist/services/log-retention.d.ts +50 -0
- package/dist/services/log-retention.d.ts.map +1 -0
- package/dist/services/log-retention.js +52 -0
- package/dist/services/log-retention.js.map +1 -0
- package/dist/services/maintenance-lock.d.ts +162 -0
- package/dist/services/maintenance-lock.d.ts.map +1 -0
- package/dist/services/maintenance-lock.js +316 -0
- package/dist/services/maintenance-lock.js.map +1 -0
- package/dist/services/master-address.d.ts +107 -0
- package/dist/services/master-address.d.ts.map +1 -0
- package/dist/services/master-address.js +154 -0
- package/dist/services/master-address.js.map +1 -0
- package/dist/services/migration-output.d.ts +16 -0
- package/dist/services/migration-output.d.ts.map +1 -0
- package/dist/services/migration-output.js +22 -0
- package/dist/services/migration-output.js.map +1 -0
- package/dist/services/netron-telemetry-transport.d.ts.map +1 -1
- package/dist/services/netron-telemetry-transport.js +0 -4
- package/dist/services/netron-telemetry-transport.js.map +1 -1
- package/dist/services/node-deploy-lease.d.ts +154 -0
- package/dist/services/node-deploy-lease.d.ts.map +1 -0
- package/dist/services/node-deploy-lease.js +386 -0
- package/dist/services/node-deploy-lease.js.map +1 -0
- package/dist/services/node-health.repository.d.ts +63 -4
- package/dist/services/node-health.repository.d.ts.map +1 -1
- package/dist/services/node-health.repository.js +108 -67
- package/dist/services/node-health.repository.js.map +1 -1
- package/dist/services/node-manager.rpc-service.d.ts +355 -10
- package/dist/services/node-manager.rpc-service.d.ts.map +1 -1
- package/dist/services/node-manager.rpc-service.js +730 -34
- package/dist/services/node-manager.rpc-service.js.map +1 -1
- package/dist/services/node-manager.service.d.ts +267 -95
- package/dist/services/node-manager.service.d.ts.map +1 -1
- package/dist/services/node-manager.service.js +806 -104
- package/dist/services/node-manager.service.js.map +1 -1
- package/dist/services/node-upgrade.d.ts +129 -0
- package/dist/services/node-upgrade.d.ts.map +1 -0
- package/dist/services/node-upgrade.js +161 -0
- package/dist/services/node-upgrade.js.map +1 -0
- package/dist/services/node-upgrade.service.d.ts +232 -0
- package/dist/services/node-upgrade.service.d.ts.map +1 -0
- package/dist/services/node-upgrade.service.js +468 -0
- package/dist/services/node-upgrade.service.js.map +1 -0
- package/dist/services/pipeline.rpc-service.d.ts +2 -1
- package/dist/services/pipeline.rpc-service.d.ts.map +1 -1
- package/dist/services/pipeline.rpc-service.js.map +1 -1
- package/dist/services/pipeline.service.d.ts +30 -46
- package/dist/services/pipeline.service.d.ts.map +1 -1
- package/dist/services/pipeline.service.js +125 -11
- package/dist/services/pipeline.service.js.map +1 -1
- package/dist/services/project.rpc-service.d.ts +137 -5
- package/dist/services/project.rpc-service.d.ts.map +1 -1
- package/dist/services/project.rpc-service.js +258 -22
- package/dist/services/project.rpc-service.js.map +1 -1
- package/dist/services/project.service.d.ts +680 -9
- package/dist/services/project.service.d.ts.map +1 -1
- package/dist/services/project.service.js +2914 -293
- package/dist/services/project.service.js.map +1 -1
- package/dist/services/redeploy-decision.d.ts +176 -0
- package/dist/services/redeploy-decision.d.ts.map +1 -0
- package/dist/services/redeploy-decision.js +142 -0
- package/dist/services/redeploy-decision.js.map +1 -0
- package/dist/services/release.rpc-service.d.ts +159 -0
- package/dist/services/release.rpc-service.d.ts.map +1 -0
- package/dist/services/release.rpc-service.js +395 -0
- package/dist/services/release.rpc-service.js.map +1 -0
- package/dist/services/release.service.d.ts +114 -0
- package/dist/services/release.service.d.ts.map +1 -0
- package/dist/services/release.service.js +208 -0
- package/dist/services/release.service.js.map +1 -0
- package/dist/services/remote-deployer.service.d.ts +569 -8
- package/dist/services/remote-deployer.service.d.ts.map +1 -1
- package/dist/services/remote-deployer.service.js +1618 -169
- package/dist/services/remote-deployer.service.js.map +1 -1
- package/dist/services/remote-ops.service.d.ts +51 -9
- package/dist/services/remote-ops.service.d.ts.map +1 -1
- package/dist/services/remote-ops.service.js +235 -39
- package/dist/services/remote-ops.service.js.map +1 -1
- package/dist/services/remote-provisioner.d.ts +122 -0
- package/dist/services/remote-provisioner.d.ts.map +1 -0
- package/dist/services/remote-provisioner.js +258 -0
- package/dist/services/remote-provisioner.js.map +1 -0
- package/dist/services/secrets.rpc-service.d.ts +51 -2
- package/dist/services/secrets.rpc-service.d.ts.map +1 -1
- package/dist/services/secrets.rpc-service.js +81 -2
- package/dist/services/secrets.rpc-service.js.map +1 -1
- package/dist/services/secrets.service.d.ts +108 -9
- package/dist/services/secrets.service.d.ts.map +1 -1
- package/dist/services/secrets.service.js +313 -48
- package/dist/services/secrets.service.js.map +1 -1
- package/dist/services/slave-storage.service.d.ts +107 -0
- package/dist/services/slave-storage.service.d.ts.map +1 -1
- package/dist/services/slave-storage.service.js +171 -2
- package/dist/services/slave-storage.service.js.map +1 -1
- package/dist/services/static-carry-forward.d.ts +85 -0
- package/dist/services/static-carry-forward.d.ts.map +1 -0
- package/dist/services/static-carry-forward.js +159 -0
- package/dist/services/static-carry-forward.js.map +1 -0
- package/dist/services/sync-policy.d.ts +167 -0
- package/dist/services/sync-policy.d.ts.map +1 -0
- package/dist/services/sync-policy.js +161 -0
- package/dist/services/sync-policy.js.map +1 -0
- package/dist/services/sync-summary.d.ts +39 -0
- package/dist/services/sync-summary.d.ts.map +1 -0
- package/dist/services/sync-summary.js +62 -0
- package/dist/services/sync-summary.js.map +1 -0
- package/dist/services/sync.rpc-service.d.ts +19 -7
- package/dist/services/sync.rpc-service.d.ts.map +1 -1
- package/dist/services/sync.rpc-service.js +36 -5
- package/dist/services/sync.rpc-service.js.map +1 -1
- package/dist/services/sync.service.d.ts +350 -18
- package/dist/services/sync.service.d.ts.map +1 -1
- package/dist/services/sync.service.js +864 -116
- package/dist/services/sync.service.js.map +1 -1
- package/dist/services/system-info.rpc-service.d.ts +2 -1
- package/dist/services/system-info.rpc-service.d.ts.map +1 -1
- package/dist/services/system-info.rpc-service.js.map +1 -1
- package/dist/services/system-info.service.d.ts +56 -68
- package/dist/services/system-info.service.d.ts.map +1 -1
- package/dist/services/system-info.service.js +240 -127
- package/dist/services/system-info.service.js.map +1 -1
- package/dist/services/telemetry.rpc-service.d.ts.map +1 -1
- package/dist/services/telemetry.rpc-service.js +9 -3
- package/dist/services/telemetry.rpc-service.js.map +1 -1
- package/dist/services/telemetry.service.d.ts +4 -2
- package/dist/services/telemetry.service.d.ts.map +1 -1
- package/dist/services/telemetry.service.js +4 -2
- package/dist/services/telemetry.service.js.map +1 -1
- package/dist/services/trace-collector.rpc-service.d.ts +2 -1
- package/dist/services/trace-collector.rpc-service.d.ts.map +1 -1
- package/dist/services/trace-collector.rpc-service.js.map +1 -1
- package/dist/services/trace-collector.service.d.ts +2 -41
- package/dist/services/trace-collector.service.d.ts.map +1 -1
- package/dist/services/trace-collector.service.js +27 -7
- package/dist/services/trace-collector.service.js.map +1 -1
- package/dist/services/wait-for-postgres.d.ts +28 -0
- package/dist/services/wait-for-postgres.d.ts.map +1 -0
- package/dist/services/wait-for-postgres.js +77 -0
- package/dist/services/wait-for-postgres.js.map +1 -0
- package/dist/shared/alert-expression.d.ts +60 -0
- package/dist/shared/alert-expression.d.ts.map +1 -0
- package/dist/shared/alert-expression.js +124 -0
- package/dist/shared/alert-expression.js.map +1 -0
- package/dist/shared/audit-outcome.d.ts +39 -0
- package/dist/shared/audit-outcome.d.ts.map +1 -0
- package/dist/shared/audit-outcome.js +45 -0
- package/dist/shared/audit-outcome.js.map +1 -0
- package/dist/shared/build-freshness.d.ts +59 -0
- package/dist/shared/build-freshness.d.ts.map +1 -0
- package/dist/shared/build-freshness.js +113 -0
- package/dist/shared/build-freshness.js.map +1 -0
- package/dist/shared/build-stamp.d.ts +26 -0
- package/dist/shared/build-stamp.d.ts.map +1 -0
- package/dist/shared/build-stamp.js +36 -0
- package/dist/shared/build-stamp.js.map +1 -0
- package/dist/shared/describe-error.d.ts +22 -0
- package/dist/shared/describe-error.d.ts.map +1 -0
- package/dist/shared/describe-error.js +39 -0
- package/dist/shared/describe-error.js.map +1 -0
- package/dist/shared/dto/alerts.d.ts +101 -0
- package/dist/shared/dto/alerts.d.ts.map +1 -0
- package/dist/shared/dto/alerts.js +9 -0
- package/dist/shared/dto/alerts.js.map +1 -0
- package/dist/shared/dto/auth.d.ts +49 -0
- package/dist/shared/dto/auth.d.ts.map +1 -0
- package/dist/shared/dto/auth.js +14 -0
- package/dist/shared/dto/auth.js.map +1 -0
- package/dist/shared/dto/backups.d.ts +16 -0
- package/dist/shared/dto/backups.d.ts.map +1 -0
- package/dist/shared/dto/backups.js +9 -0
- package/dist/shared/dto/backups.js.map +1 -0
- package/dist/shared/dto/deploy.d.ts +28 -0
- package/dist/shared/dto/deploy.d.ts.map +1 -0
- package/dist/shared/dto/deploy.js +8 -0
- package/dist/shared/dto/deploy.js.map +1 -0
- package/dist/shared/dto/discovery.d.ts +24 -0
- package/dist/shared/dto/discovery.d.ts.map +1 -0
- package/dist/shared/dto/discovery.js +9 -0
- package/dist/shared/dto/discovery.js.map +1 -0
- package/dist/shared/dto/fleet.d.ts +35 -0
- package/dist/shared/dto/fleet.d.ts.map +1 -0
- package/dist/shared/dto/fleet.js +8 -0
- package/dist/shared/dto/fleet.js.map +1 -0
- package/dist/shared/dto/health.d.ts +26 -0
- package/dist/shared/dto/health.d.ts.map +1 -0
- package/dist/shared/dto/health.js +9 -0
- package/dist/shared/dto/health.js.map +1 -0
- package/dist/shared/dto/kubernetes.d.ts +44 -0
- package/dist/shared/dto/kubernetes.d.ts.map +1 -0
- package/dist/shared/dto/kubernetes.js +9 -0
- package/dist/shared/dto/kubernetes.js.map +1 -0
- package/dist/shared/dto/logs.d.ts +77 -0
- package/dist/shared/dto/logs.d.ts.map +1 -0
- package/dist/shared/dto/logs.js +10 -0
- package/dist/shared/dto/logs.js.map +1 -0
- package/dist/shared/dto/metrics.d.ts +65 -0
- package/dist/shared/dto/metrics.d.ts.map +1 -0
- package/dist/shared/dto/metrics.js +17 -0
- package/dist/shared/dto/metrics.js.map +1 -0
- package/dist/shared/dto/nodes.d.ts +347 -0
- package/dist/shared/dto/nodes.d.ts.map +1 -0
- package/dist/shared/dto/nodes.js +8 -0
- package/dist/shared/dto/nodes.js.map +1 -0
- package/dist/shared/dto/pipelines.d.ts +53 -0
- package/dist/shared/dto/pipelines.d.ts.map +1 -0
- package/dist/shared/dto/pipelines.js +9 -0
- package/dist/shared/dto/pipelines.js.map +1 -0
- package/dist/shared/dto/project.d.ts +143 -9
- package/dist/shared/dto/project.d.ts.map +1 -1
- package/dist/shared/dto/services.d.ts +855 -7
- package/dist/shared/dto/services.d.ts.map +1 -1
- package/dist/shared/dto/system-info.d.ts +93 -0
- package/dist/shared/dto/system-info.d.ts.map +1 -0
- package/dist/shared/dto/system-info.js +9 -0
- package/dist/shared/dto/system-info.js.map +1 -0
- package/dist/shared/dto/traces.d.ts +49 -0
- package/dist/shared/dto/traces.d.ts.map +1 -0
- package/dist/shared/dto/traces.js +9 -0
- package/dist/shared/dto/traces.js.map +1 -0
- package/dist/shared/env-config.d.ts +74 -0
- package/dist/shared/env-config.d.ts.map +1 -0
- package/dist/shared/env-config.js +99 -0
- package/dist/shared/env-config.js.map +1 -0
- package/dist/shared/events.d.ts +45 -39
- package/dist/shared/events.d.ts.map +1 -1
- package/dist/shared/events.js +6 -0
- package/dist/shared/events.js.map +1 -1
- package/dist/shared/format.d.ts +1 -1
- package/dist/shared/format.d.ts.map +1 -1
- package/dist/shared/format.js +4 -0
- package/dist/shared/format.js.map +1 -1
- package/dist/shared/local-infra-host.d.ts +28 -0
- package/dist/shared/local-infra-host.d.ts.map +1 -0
- package/dist/shared/local-infra-host.js +28 -0
- package/dist/shared/local-infra-host.js.map +1 -0
- package/dist/shared/node-check.d.ts +37 -0
- package/dist/shared/node-check.d.ts.map +1 -0
- package/dist/shared/node-check.js +41 -0
- package/dist/shared/node-check.js.map +1 -0
- package/dist/shared/paths.d.ts +29 -0
- package/dist/shared/paths.d.ts.map +1 -0
- package/dist/shared/paths.js +54 -0
- package/dist/shared/paths.js.map +1 -0
- package/dist/shared/pnpm.d.ts +29 -0
- package/dist/shared/pnpm.d.ts.map +1 -0
- package/dist/shared/pnpm.js +57 -0
- package/dist/shared/pnpm.js.map +1 -0
- package/dist/shared/private-files.d.ts +29 -0
- package/dist/shared/private-files.d.ts.map +1 -0
- package/dist/shared/private-files.js +109 -0
- package/dist/shared/private-files.js.map +1 -0
- package/dist/shared/redact-env.d.ts +24 -0
- package/dist/shared/redact-env.d.ts.map +1 -0
- package/dist/shared/redact-env.js +36 -0
- package/dist/shared/redact-env.js.map +1 -0
- package/dist/shared/release-reading.d.ts +85 -0
- package/dist/shared/release-reading.d.ts.map +1 -0
- package/dist/shared/release-reading.js +81 -0
- package/dist/shared/release-reading.js.map +1 -0
- package/dist/shared/roles.d.ts +58 -3
- package/dist/shared/roles.d.ts.map +1 -1
- package/dist/shared/roles.js +55 -0
- package/dist/shared/roles.js.map +1 -1
- package/dist/shared/rpcauth.d.ts +13 -0
- package/dist/shared/rpcauth.d.ts.map +1 -0
- package/dist/shared/rpcauth.js +23 -0
- package/dist/shared/rpcauth.js.map +1 -0
- package/dist/shared/shell-escape.d.ts +9 -0
- package/dist/shared/shell-escape.d.ts.map +1 -0
- package/dist/shared/shell-escape.js +11 -0
- package/dist/shared/shell-escape.js.map +1 -0
- package/dist/shared/sync-reading.d.ts +45 -0
- package/dist/shared/sync-reading.d.ts.map +1 -0
- package/dist/shared/sync-reading.js +42 -0
- package/dist/shared/sync-reading.js.map +1 -0
- package/dist/shared/tokens.d.ts +19 -0
- package/dist/shared/tokens.d.ts.map +1 -1
- package/dist/shared/tokens.js +28 -0
- package/dist/shared/tokens.js.map +1 -1
- package/dist/webapp/webapp.service.d.ts +33 -2
- package/dist/webapp/webapp.service.d.ts.map +1 -1
- package/dist/webapp/webapp.service.js +143 -31
- package/dist/webapp/webapp.service.js.map +1 -1
- package/dist/workers/health-monitor-process.d.ts.map +1 -1
- package/dist/workers/health-monitor-process.js +10 -0
- package/dist/workers/health-monitor-process.js.map +1 -1
- package/dist/workers/health-monitor.service.d.ts +45 -3
- package/dist/workers/health-monitor.service.d.ts.map +1 -1
- package/dist/workers/health-monitor.service.js +156 -26
- package/dist/workers/health-monitor.service.js.map +1 -1
- package/dist/workers/system-worker-manager.d.ts +43 -0
- package/dist/workers/system-worker-manager.d.ts.map +1 -1
- package/dist/workers/system-worker-manager.js +150 -3
- package/dist/workers/system-worker-manager.js.map +1 -1
- package/dist/workers/types.d.ts +11 -2
- package/dist/workers/types.d.ts.map +1 -1
- package/package.json +64 -29
- package/webapp/dist/BUILD.json +5 -0
- package/webapp/dist/assets/FormControlLabel-BrH2diyl.js +1 -0
- package/webapp/dist/assets/Grid-BZ7xhoHQ.js +1 -0
- package/webapp/dist/assets/Switch-DGSAxQPM.js +1 -0
- package/webapp/dist/assets/alerts-sXqHJbsa.js +1 -0
- package/webapp/dist/assets/apps-B_Ah8Flh.js +1 -0
- package/webapp/dist/assets/audit-YXihwyui.js +1 -0
- package/webapp/dist/assets/client-CGbBvy9k.js +1 -0
- package/webapp/dist/assets/constants-veKGFkC6.js +1 -0
- package/webapp/dist/assets/containers-Di4NOTLf.js +2 -0
- package/webapp/dist/assets/daemon-memory-CCPZ4cV_.js +1 -0
- package/webapp/dist/assets/dashboard-Cfuf95N3.js +1 -0
- package/webapp/dist/assets/dashboard-builder-CowaYb-M.js +1 -0
- package/webapp/dist/assets/deploy-release-dialog-D6C-XcKY.js +1 -0
- package/webapp/dist/assets/deployments-ChTq5kCw.js +1 -0
- package/webapp/dist/assets/detail-BsGWv7Dj.js +1 -0
- package/webapp/dist/assets/detail-CyVf_cw5.js +2 -0
- package/webapp/dist/assets/detail-D027j6aO.js +8 -0
- package/webapp/dist/assets/formatters-BqjL73N3.js +1 -0
- package/webapp/dist/assets/index-B8AHIPc-.css +1 -0
- package/webapp/dist/assets/index-DiZbrwxT.js +414 -0
- package/webapp/dist/assets/logs-L2b8Oqmo.js +12 -0
- package/webapp/dist/assets/maplibre-gl-MlmG2kbn.js +801 -0
- package/webapp/dist/assets/metrics-CQgjz2Lz.js +2 -0
- package/webapp/dist/assets/nodes-Nwia2Ty6.js +7 -0
- package/webapp/dist/assets/pipelines-DCu_rXOr.js +4 -0
- package/webapp/dist/assets/projects-Bb4aV76h.js +1 -0
- package/webapp/dist/assets/react-CwJFpaho.js +1 -0
- package/webapp/dist/assets/react-apexcharts.esm-Dy0Fez42.js +1956 -0
- package/webapp/dist/assets/release-bits-Dj4EOhhb.js +1 -0
- package/webapp/dist/assets/release-build-panel-D6OCVlhT.js +1 -0
- package/webapp/dist/assets/releases-CnAt3yO6.js +2 -0
- package/webapp/dist/assets/rolldown-runtime-hePW80VL.js +1 -0
- package/webapp/dist/assets/settings-DU-mjiwb.js +1 -0
- package/webapp/dist/assets/settled-pair-C7SjZuns.js +1 -0
- package/webapp/dist/assets/sign-in-Bcvjrr4C.js +1 -0
- package/webapp/dist/assets/stacks-B-e8p50I.js +1 -0
- package/webapp/dist/assets/sync-reading-C3PnJ7AX.js +1 -0
- package/webapp/dist/assets/system-info-BtE3dgfw.js +1 -0
- package/webapp/dist/assets/topology-Cwch-uF1.js +12 -0
- package/webapp/dist/assets/topology-DLioOiRN.css +1 -0
- package/webapp/dist/assets/traces-BbShR-4P.js +1 -0
- package/webapp/dist/assets/use-stack-context-CZUgPq88.js +1 -0
- package/webapp/dist/index.html +6 -7
- package/dist/commands/dev.d.ts +0 -23
- package/dist/commands/dev.d.ts.map +0 -1
- package/dist/commands/dev.js +0 -76
- package/dist/commands/dev.js.map +0 -1
- package/dist/config/define-app.d.ts +0 -6
- package/dist/config/define-app.d.ts.map +0 -1
- package/dist/config/define-app.js +0 -38
- package/dist/config/define-app.js.map +0 -1
- package/dist/infrastructure/gateway-generator.d.ts +0 -63
- package/dist/infrastructure/gateway-generator.d.ts.map +0 -1
- package/dist/infrastructure/gateway-generator.js +0 -253
- package/dist/infrastructure/gateway-generator.js.map +0 -1
- package/dist/monitoring/health.service.d.ts +0 -14
- package/dist/monitoring/health.service.d.ts.map +0 -1
- package/dist/monitoring/health.service.js +0 -50
- package/dist/monitoring/health.service.js.map +0 -1
- package/dist/monitoring/metrics.service.d.ts +0 -14
- package/dist/monitoring/metrics.service.d.ts.map +0 -1
- package/dist/monitoring/metrics.service.js +0 -40
- package/dist/monitoring/metrics.service.js.map +0 -1
- package/dist/orchestrator/bootstrap-runner.d.ts +0 -15
- package/dist/orchestrator/bootstrap-runner.d.ts.map +0 -1
- package/dist/orchestrator/bootstrap-runner.js +0 -152
- package/dist/orchestrator/bootstrap-runner.js.map +0 -1
- package/dist/orchestrator/topology-proxy.d.ts +0 -65
- package/dist/orchestrator/topology-proxy.d.ts.map +0 -1
- package/dist/orchestrator/topology-proxy.js +0 -209
- package/dist/orchestrator/topology-proxy.js.map +0 -1
- package/dist/orchestrator/topology-relay.d.ts +0 -111
- package/dist/orchestrator/topology-relay.d.ts.map +0 -1
- package/dist/orchestrator/topology-relay.js +0 -255
- package/dist/orchestrator/topology-relay.js.map +0 -1
- package/dist/services/auth-middleware.d.ts +0 -47
- package/dist/services/auth-middleware.d.ts.map +0 -1
- package/dist/services/auth-middleware.js +0 -158
- package/dist/services/auth-middleware.js.map +0 -1
- package/dist/services/environment.rpc-service.d.ts +0 -22
- package/dist/services/environment.rpc-service.d.ts.map +0 -1
- package/dist/services/environment.rpc-service.js +0 -65
- package/dist/services/environment.rpc-service.js.map +0 -1
- package/dist/services/environment.service.d.ts +0 -87
- package/dist/services/environment.service.d.ts.map +0 -1
- package/dist/services/environment.service.js +0 -220
- package/dist/services/environment.service.js.map +0 -1
- package/dist/services/metrics-collector.service.d.ts +0 -103
- package/dist/services/metrics-collector.service.d.ts.map +0 -1
- package/dist/services/metrics-collector.service.js +0 -235
- package/dist/services/metrics-collector.service.js.map +0 -1
- package/dist/services/metrics.rpc-service.d.ts +0 -41
- package/dist/services/metrics.rpc-service.d.ts.map +0 -1
- package/dist/services/metrics.rpc-service.js +0 -90
- package/dist/services/metrics.rpc-service.js.map +0 -1
- package/dist/services/metrics.service.d.ts +0 -72
- package/dist/services/metrics.service.d.ts.map +0 -1
- package/dist/services/metrics.service.js +0 -185
- package/dist/services/metrics.service.js.map +0 -1
- package/dist/supervisor/omnitron-supervisor.d.ts +0 -21
- package/dist/supervisor/omnitron-supervisor.d.ts.map +0 -1
- package/dist/supervisor/omnitron-supervisor.js +0 -43
- package/dist/supervisor/omnitron-supervisor.js.map +0 -1
- package/dist/webapp/static-server.d.ts +0 -24
- package/dist/webapp/static-server.d.ts.map +0 -1
- package/dist/webapp/static-server.js +0 -152
- package/dist/webapp/static-server.js.map +0 -1
- package/webapp/dist/assets/Chip-BySxTjyN.js +0 -1
- package/webapp/dist/assets/DialogContentText-YQWiAVrU.js +0 -1
- package/webapp/dist/assets/DialogTitle-CDkgUIwp.js +0 -1
- package/webapp/dist/assets/FormControlLabel-Bu3CCsBM.js +0 -1
- package/webapp/dist/assets/Grid-BFY8hAzL.js +0 -1
- package/webapp/dist/assets/InputAdornment-_Dayk-3y.js +0 -3
- package/webapp/dist/assets/Skeleton-BGj6Sw8m.js +0 -37
- package/webapp/dist/assets/Switch-CA6682vv.js +0 -1
- package/webapp/dist/assets/TableContainer-4epq10KJ.js +0 -1
- package/webapp/dist/assets/TextField-C73KHMVN.js +0 -1
- package/webapp/dist/assets/alerts-JEQALS7Y.js +0 -1
- package/webapp/dist/assets/apps-DMPysEKB.js +0 -1
- package/webapp/dist/assets/client-DlGPter5.js +0 -110
- package/webapp/dist/assets/constants-DqFQJ27U.js +0 -1
- package/webapp/dist/assets/containers-CvkC7do8.js +0 -1
- package/webapp/dist/assets/dashboard-C0Fre9pC.js +0 -1
- package/webapp/dist/assets/dashboard-builder-DAghqdpE.js +0 -1
- package/webapp/dist/assets/deployments-Cg1lI1uT.js +0 -1
- package/webapp/dist/assets/detail-CyFtEson.js +0 -1
- package/webapp/dist/assets/detail-DqoSGKT1.js +0 -8
- package/webapp/dist/assets/formatters-J3Xqn6BQ.js +0 -1
- package/webapp/dist/assets/icons-ynIWYfBP.js +0 -3
- package/webapp/dist/assets/index-CHVXOsTS.css +0 -1
- package/webapp/dist/assets/index-vKrDmEA_.js +0 -259
- package/webapp/dist/assets/isMuiElement-BRL3YuCT.js +0 -1
- package/webapp/dist/assets/logs-IovIij1C.js +0 -11
- package/webapp/dist/assets/metrics-Dufwtwjq.js +0 -1
- package/webapp/dist/assets/nodes-Brvu8W3j.js +0 -7
- package/webapp/dist/assets/pipelines-t40X4MuC.js +0 -4
- package/webapp/dist/assets/prop-types-CvVtHxp4.js +0 -1
- package/webapp/dist/assets/react-apexcharts.esm-CLO6gala.js +0 -954
- package/webapp/dist/assets/settings-DTAIST3v.js +0 -1
- package/webapp/dist/assets/sign-in-DQEAkJum.js +0 -1
- package/webapp/dist/assets/stacks-BjM1f45N.js +0 -1
- package/webapp/dist/assets/system-info-BQSbSEK-.js +0 -1
- package/webapp/dist/assets/topology-6N8-Az_Z.js +0 -12
- package/webapp/dist/assets/topology-CHpVij2M.css +0 -1
- package/webapp/dist/assets/traces-DVXyb-4m.js +0 -1
- package/webapp/dist/assets/use-stack-context-CbE8fxBA.js +0 -1
- /package/webapp/dist/assets/{fs-uP8eiZAR.js → fs-Ccl3sAcp.js} +0 -0
|
@@ -12,28 +12,150 @@
|
|
|
12
12
|
* - Remote/cluster stacks have slave daemons that collect data locally
|
|
13
13
|
* and sync to master when connectivity is available
|
|
14
14
|
*/
|
|
15
|
-
import type
|
|
15
|
+
import { type ILogger, type ILoggerModule } from '@omnitron-dev/titan/module/logger';
|
|
16
|
+
import type { DaemonStateStore } from '../daemon/daemon-state-store.service.js';
|
|
17
|
+
import type { SecretsService } from './secrets.service.js';
|
|
18
|
+
import type { AuditService } from './audit.service.js';
|
|
16
19
|
import { EventEmitter } from '@omnitron-dev/eventemitter';
|
|
17
20
|
import type { OrchestratorService } from '../orchestrator/orchestrator.service.js';
|
|
18
21
|
import type { IEcosystemConfig } from '../config/types.js';
|
|
22
|
+
import type { InfrastructureConfig } from '../infrastructure/types.js';
|
|
19
23
|
import type { IProjectInfo, IStackInfo, StackRuntime, IProjectRequirements } from '../shared/dto/project.js';
|
|
20
24
|
import { StackInfrastructureManager } from '../infrastructure/stack-infra-manager.js';
|
|
21
|
-
import
|
|
25
|
+
import { SlaveConnector } from '../cluster/slave-connector.js';
|
|
26
|
+
import { type DeployProgressRecord } from './remote-deployer.service.js';
|
|
22
27
|
import type { SyncService } from './sync.service.js';
|
|
28
|
+
import { type SSHTarget } from '../execution/execution.service.js';
|
|
29
|
+
/**
|
|
30
|
+
* The infrastructure a stack actually gets: the ecosystem's, plus its own.
|
|
31
|
+
*
|
|
32
|
+
* Shallow for the top-level keys — a stack that declares `postgres` replaces
|
|
33
|
+
* the ecosystem's — and merged for `services`, because those are named
|
|
34
|
+
* things and a stack adding one must not remove the rest.
|
|
35
|
+
*/
|
|
36
|
+
export declare function mergeInfrastructure(ecosystemConfig: {
|
|
37
|
+
infrastructure?: InfrastructureConfig | undefined;
|
|
38
|
+
}, stackConfig: {
|
|
39
|
+
infrastructure?: Partial<InfrastructureConfig> | undefined;
|
|
40
|
+
}): InfrastructureConfig | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Who asked for this stack to start.
|
|
43
|
+
*
|
|
44
|
+
* Three callers reach `startStack`, and only one of them is a person: the
|
|
45
|
+
* RPC surface an operator (or the CLI, or an MCP tool) goes through, the
|
|
46
|
+
* boot resume, and the reconciler that retries an enabled stack after the
|
|
47
|
+
* daemon restarts. The audit row carries this so «last deployment» stops
|
|
48
|
+
* meaning «last deployment a human typed».
|
|
49
|
+
*/
|
|
50
|
+
export type StackStartSource = 'operator' | 'boot' | 'auto-resume' | 'unknown';
|
|
51
|
+
/**
|
|
52
|
+
* The stack's frontend could not be put on a node, twice.
|
|
53
|
+
*
|
|
54
|
+
* Its own class because it ends the deployment where every other failure to
|
|
55
|
+
* bring up a node's infrastructure is logged and deployed past: nothing on
|
|
56
|
+
* the node has changed yet, and a deployment that continued would recreate
|
|
57
|
+
* the gateway without a web root — see `shipStackStatics`.
|
|
58
|
+
*/
|
|
59
|
+
export declare class FrontendNotDeliveredError extends Error {
|
|
60
|
+
constructor(host: string, cause: string);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Where an on-node attestation's probes got the accounts they sign in with.
|
|
64
|
+
*
|
|
65
|
+
* provisioned the stack allows it and the release's producer can: the
|
|
66
|
+
* run created them and removed them (`--provision`);
|
|
67
|
+
* not-declared the stack does not declare `release.attest.provision`;
|
|
68
|
+
* producer-cannot it does, and the release was built before its producer
|
|
69
|
+
* knew the flag.
|
|
70
|
+
*
|
|
71
|
+
* In the latter two the probes that need a signed-in person say NOT RUN,
|
|
72
|
+
* which is their floor — and the answer says why, so a reader does not look
|
|
73
|
+
* for the cause in the release.
|
|
74
|
+
*/
|
|
75
|
+
export type AttestAccounts = 'provisioned' | 'not-declared' | 'producer-cannot';
|
|
76
|
+
/** What `ProjectService` takes beyond its three required collaborators. */
|
|
77
|
+
export interface ProjectServiceOptions {
|
|
78
|
+
/** Slave→master replication, handed to the lazily built mesh connector. */
|
|
79
|
+
readonly syncService?: SyncService;
|
|
80
|
+
/**
|
|
81
|
+
* The vault, for the secrets a stack's service overrides name. Without it
|
|
82
|
+
* the references travel unresolved and say so.
|
|
83
|
+
*/
|
|
84
|
+
readonly secrets?: import('./secrets.service.js').SecretsService;
|
|
85
|
+
/**
|
|
86
|
+
* The audit trail, for the one fact an operator asks this service about
|
|
87
|
+
* afterwards: what was deployed and when.
|
|
88
|
+
*
|
|
89
|
+
* Taken HERE rather than left to the RPC layer because the RPC layer is not
|
|
90
|
+
* the only caller. Measured on 2026-09-21: `omnitron audit` knew about one
|
|
91
|
+
* deployment of `daos/test` in twenty-four hours; the daemon log knew about
|
|
92
|
+
* eight. The seven it missed were the boot resume and the reconciler, both
|
|
93
|
+
* of which call `startStack` directly — so the trail recorded the
|
|
94
|
+
* deployments a human typed and none of the ones the daemon decided on,
|
|
95
|
+
* which is the wrong half to have.
|
|
96
|
+
*/
|
|
97
|
+
readonly audit?: import('./audit.service.js').AuditService;
|
|
98
|
+
}
|
|
23
99
|
export declare class ProjectService extends EventEmitter {
|
|
24
100
|
private readonly logger;
|
|
25
101
|
private readonly orchestrator;
|
|
26
|
-
private readonly fleetService?;
|
|
27
|
-
private readonly syncService?;
|
|
28
102
|
private readonly registry;
|
|
29
103
|
private readonly configRegistry;
|
|
30
104
|
private readonly stackStates;
|
|
31
105
|
private readonly infraManager;
|
|
32
106
|
private slaveConnector;
|
|
33
107
|
private readonly deployer;
|
|
34
|
-
|
|
108
|
+
private resumeTimer;
|
|
109
|
+
private readonly resumeBackoff;
|
|
110
|
+
private dockerWasAvailable;
|
|
111
|
+
private readonly syncService;
|
|
112
|
+
private readonly secrets;
|
|
113
|
+
private readonly audit;
|
|
114
|
+
constructor(logger: ILogger, orchestrator: OrchestratorService, daemonStateStore: import('../daemon/daemon-state-store.service.js').DaemonStateStore,
|
|
35
115
|
/**
|
|
36
|
-
*
|
|
116
|
+
* What a master has and a slave does not — by NAME. These were four more
|
|
117
|
+
* positional parameters, and the daemon's factory passed them through an
|
|
118
|
+
* `any`: `new ProjectService(logger, orchestrator, dStore, fleet,
|
|
119
|
+
* undefined, secrets, audit)`. A slot removed or reordered there moves
|
|
120
|
+
* every later argument into its neighbour's place and still compiles. The
|
|
121
|
+
* fourth had been read by nothing since the connector stopped writing the
|
|
122
|
+
* fleet table (f785d7f0); it went, and the rest became names.
|
|
123
|
+
*/
|
|
124
|
+
options?: ProjectServiceOptions);
|
|
125
|
+
/**
|
|
126
|
+
* Adopt the daemon's mesh connector.
|
|
127
|
+
*
|
|
128
|
+
* There must be ONE of these per master. It holds a live connection — and,
|
|
129
|
+
* for a node whose daemon port is firewalled, an SSH tunnel — per node, so
|
|
130
|
+
* a second instance means a second connection to every node and two
|
|
131
|
+
* independent pulls of the same buffer, racing over which one acks an
|
|
132
|
+
* entry the other has not ingested yet.
|
|
133
|
+
*
|
|
134
|
+
* The daemon builds it, because the daemon is what knows how to reach a
|
|
135
|
+
* node: the SSH credentials live in the node registry's vault, not here.
|
|
136
|
+
* Absent one, the lazy fallback below keeps the behaviour this class had
|
|
137
|
+
* on its own, which is what the tests construct.
|
|
138
|
+
*/
|
|
139
|
+
setSlaveConnector(connector: SlaveConnector): void;
|
|
140
|
+
/**
|
|
141
|
+
* How to reach a host the node registry knows about.
|
|
142
|
+
*
|
|
143
|
+
* A stack says which host; the registry says how to reach it — the user,
|
|
144
|
+
* the port, and the credential, which is in the daemon's vault because a
|
|
145
|
+
* config file in a repository is not where those go. Wired by the daemon,
|
|
146
|
+
* which is the side that has both.
|
|
147
|
+
*/
|
|
148
|
+
setNodeCredentialResolver(resolve: (host: string) => Promise<SSHTarget | null>): void;
|
|
149
|
+
private resolveNodeCredentials;
|
|
150
|
+
/** A deploy target for a stack node, with the registry filling the gaps. */
|
|
151
|
+
private targetForStackNode;
|
|
152
|
+
/**
|
|
153
|
+
* Get or create the SlaveConnector.
|
|
154
|
+
*
|
|
155
|
+
* Created lazily here only when the daemon has not handed one over —
|
|
156
|
+
* historically this was the sole owner, and it created one when the first
|
|
157
|
+
* remote or cluster stack started. That is also why a node with no stack
|
|
158
|
+
* on it was never connected to at all: nothing else ever asked.
|
|
37
159
|
*/
|
|
38
160
|
private getSlaveConnector;
|
|
39
161
|
/**
|
|
@@ -41,9 +163,37 @@ export declare class ProjectService extends EventEmitter {
|
|
|
41
163
|
* Keeps in-memory state consistent (unlike creating a separate ProjectRegistry).
|
|
42
164
|
*/
|
|
43
165
|
autoDetectProject(cwd?: string): IProjectInfo | null;
|
|
166
|
+
/**
|
|
167
|
+
* What each app on each node is doing, for a console that polls.
|
|
168
|
+
*
|
|
169
|
+
* A stack deployment publishes progress as it goes — transferring,
|
|
170
|
+
* installing, the message naming the step that failed — and the console
|
|
171
|
+
* polls. Without somewhere for an event to wait, those two never met: a
|
|
172
|
+
* deployment that takes a quarter of an hour showed one row reading
|
|
173
|
+
* `deploying` from the first second to the last, and every event that said
|
|
174
|
+
* WHERE it was reached a handler that re-emitted it to nobody.
|
|
175
|
+
*/
|
|
176
|
+
getDeployProgress(): DeployProgressRecord[];
|
|
44
177
|
listProjects(): IProjectInfo[];
|
|
45
178
|
getProject(name: string): IProjectInfo;
|
|
46
|
-
addProject(name: string, projectPath: string): IProjectInfo
|
|
179
|
+
addProject(name: string, projectPath: string): Promise<IProjectInfo & {
|
|
180
|
+
reread?: {
|
|
181
|
+
redefined: number;
|
|
182
|
+
};
|
|
183
|
+
}>;
|
|
184
|
+
/**
|
|
185
|
+
* Read a registered project's config again, and give every app its running
|
|
186
|
+
* local stacks supervise the definition that config now describes.
|
|
187
|
+
*
|
|
188
|
+
* The processes are not restarted here: each takes its new definition on
|
|
189
|
+
* its next start (`AppHandle.redefine`) — which a deployment asks for per
|
|
190
|
+
* app, only where something changed (`decideRedeploy`). Returns how many
|
|
191
|
+
* running apps were redefined.
|
|
192
|
+
*/
|
|
193
|
+
rereadProject(name: string): Promise<number>;
|
|
194
|
+
updateProject(name: string, data: {
|
|
195
|
+
path?: string;
|
|
196
|
+
}): IProjectInfo;
|
|
47
197
|
removeProject(name: string): void;
|
|
48
198
|
scanRequirements(projectName: string): Promise<IProjectRequirements>;
|
|
49
199
|
createStack(project: string, input: {
|
|
@@ -59,13 +209,295 @@ export declare class ProjectService extends EventEmitter {
|
|
|
59
209
|
private deleteUserStack;
|
|
60
210
|
listStacks(projectName: string): IStackInfo[];
|
|
61
211
|
getStack(projectName: string, stackName: string): IStackInfo;
|
|
62
|
-
|
|
212
|
+
/**
|
|
213
|
+
* Stack starts in flight, by `project/stack`.
|
|
214
|
+
*
|
|
215
|
+
* `stackStates` records `starting`, and it is written AFTER the config is
|
|
216
|
+
* loaded and the short-circuits above have run — so two callers that arrive
|
|
217
|
+
* together both see no state and both proceed. Measured on the test stack:
|
|
218
|
+
* the daemon's own `startProjectStacks` on boot and an operator's
|
|
219
|
+
* `omnitron stack start daos test` landed within twenty seconds of each
|
|
220
|
+
* other, and ran the whole remote deployment TWICE, concurrently.
|
|
221
|
+
*
|
|
222
|
+
* That is not merely wasteful. The artifact build rebuilds shared packages
|
|
223
|
+
* whose `build` script is `rm -rf dist && tsc`, so one pass emptied
|
|
224
|
+
* `@omnitron-dev/titan-database/dist` while the other compiled `@daos/main`
|
|
225
|
+
* against it:
|
|
226
|
+
*
|
|
227
|
+
* src/modules/rbac/rls-schema.ts(53,41): error TS2307: Cannot find
|
|
228
|
+
* module '@omnitron-dev/titan-database/rls'
|
|
229
|
+
*
|
|
230
|
+
* — an error about a subpath that exists, reported against a build that is
|
|
231
|
+
* correct, which sends the reader to the wrong package entirely. Building
|
|
232
|
+
* the same app by hand a minute later exits zero.
|
|
233
|
+
*
|
|
234
|
+
* A second caller gets the FIRST call's promise rather than a refusal:
|
|
235
|
+
* asking for a stack that is already being started should end when it has
|
|
236
|
+
* been started, which is what the caller meant.
|
|
237
|
+
*/
|
|
238
|
+
private readonly startsInFlight;
|
|
239
|
+
startStack(projectName: string, stackName: string, opts?: {
|
|
240
|
+
source?: StackStartSource;
|
|
241
|
+
allowDirty?: boolean;
|
|
242
|
+
release?: string;
|
|
243
|
+
reinstall?: boolean;
|
|
244
|
+
}): Promise<IStackInfo>;
|
|
245
|
+
/**
|
|
246
|
+
* One start of a stack, recorded however it ends.
|
|
247
|
+
*
|
|
248
|
+
* The row was written on the success path only — inside the `try` at the
|
|
249
|
+
* end of `runStackStart` — so a start that was refused or failed left
|
|
250
|
+
* nothing in the trail. Measured on the master 2026-09-23: 178 rows since
|
|
251
|
+
* the trail began (2026-09-20 15:37Z), not one of them a failure, against
|
|
252
|
+
* the log's eight operator starts that threw — five dirty-tree refusals
|
|
253
|
+
* (09-22 04:37:24 … 08:27:49), a release refused for a failed gate
|
|
254
|
+
* (15:12:41), «daos/test takes releases only» (15:32:43), and the
|
|
255
|
+
* deployment of 21:19:02 that failed on 6 of 6 apps, followed at 21:20:37
|
|
256
|
+
* by the redeploy the trail DID record, alone, as if it had been the only
|
|
257
|
+
* attempt.
|
|
258
|
+
*
|
|
259
|
+
* Written as `stack.start.failed`, not as `stack.start` with a flag. Two
|
|
260
|
+
* readers take every `stack.start` row as a deployment that happened —
|
|
261
|
+
* `ReleaseRpcService.deployments` (the console's «last deployed») and
|
|
262
|
+
* `lastDeployedAt` (the attestation freshness refusal) — and a refused
|
|
263
|
+
* deployment is not one; filed under the same action it would become the
|
|
264
|
+
* stack's «last deployment». Same shape as `node.upgrade.failed`.
|
|
265
|
+
*
|
|
266
|
+
* A remote stack that a restart re-attaches is left out both ways: it
|
|
267
|
+
* deploys nothing, and the reconciler re-asks a node that does not answer
|
|
268
|
+
* every few minutes — rows about looking, not about changing anything.
|
|
269
|
+
*/
|
|
270
|
+
private startStackOnce;
|
|
271
|
+
private runStackStart;
|
|
63
272
|
stopStack(projectName: string, stackName: string): Promise<IStackInfo>;
|
|
64
|
-
|
|
273
|
+
/**
|
|
274
|
+
* What is running in this stack, asked of whoever is running it.
|
|
275
|
+
*
|
|
276
|
+
* For a remote stack that is the node. This counted `this.orchestrator
|
|
277
|
+
* .list()` — the MASTER's process table — which lists none of a remote
|
|
278
|
+
* stack's applications, so `stack runtime daos test` answered
|
|
279
|
+
* `totalApps: 0, onlineApps: 0, connectedNodes: 0` while `stack status`
|
|
280
|
+
* listed six apps online from the same node, three times in three seconds
|
|
281
|
+
* (measured 2026-09-22). The JSON surface is the one a script and a
|
|
282
|
+
* dashboard read.
|
|
283
|
+
*
|
|
284
|
+
* The sibling readers were taught this already — `listStacks`, `getStack`
|
|
285
|
+
* and `startStack` all pass through `withRemoteAppStatuses`, and the
|
|
286
|
+
* comment beside one of them names the same symptom: «only 0/6 apps came
|
|
287
|
+
* online» about six that were running. The fix reached three callers of
|
|
288
|
+
* four.
|
|
289
|
+
*/
|
|
290
|
+
getStackStatus(projectName: string, stackName: string): Promise<StackRuntime>;
|
|
291
|
+
/**
|
|
292
|
+
* Each configured node paired with what it last said about its own
|
|
293
|
+
* replication — the input the summary is counted from.
|
|
294
|
+
*
|
|
295
|
+
* Matching is by `host` and effective `port`, the same rule the node list
|
|
296
|
+
* below uses; a node with no connection contributes `null`, which the
|
|
297
|
+
* summary reads as «not heard from» rather than «nothing pending».
|
|
298
|
+
*/
|
|
299
|
+
private nodesWithSync;
|
|
300
|
+
/** Where releases are kept on this master — `~/.omnitron/releases`. */
|
|
301
|
+
private releaseStore;
|
|
302
|
+
/**
|
|
303
|
+
* Take a release for a stack, or say why not.
|
|
304
|
+
*
|
|
305
|
+
* Three things are checked, each refusing by name. The stack's own
|
|
306
|
+
* requirements (`decideStackRelease`): every gate the release recorded
|
|
307
|
+
* passed, the floor it names is among them, every app the stack runs is
|
|
308
|
+
* carried. The disk: the stack definition is still evaluated HERE — the
|
|
309
|
+
* project's config keeps machine-local state beside itself (a generated
|
|
310
|
+
* dev signing key, an admin's saved coverage), so it cannot be run from a
|
|
311
|
+
* snapshot — and therefore this directory must be exactly the release's
|
|
312
|
+
* project commit, or the definition deployed is not the release's. And
|
|
313
|
+
* the statics: a stack whose gateway serves a bundle takes it from the
|
|
314
|
+
* release, built for this stack, or not at all.
|
|
315
|
+
*/
|
|
316
|
+
/**
|
|
317
|
+
* Would this release be taken by this stack? Asked without deploying it.
|
|
318
|
+
*
|
|
319
|
+
* The console shows this before an operator presses Deploy, and it is the
|
|
320
|
+
* DEPLOYMENT'S OWN decision — the same `admitRelease` a start runs, with
|
|
321
|
+
* nothing skipped and nothing re-implemented. A second copy of these rules
|
|
322
|
+
* in the browser would drift from these ones within a week, and the only
|
|
323
|
+
* thing worse than a refusal at deploy time is a console that promised the
|
|
324
|
+
* opposite.
|
|
325
|
+
*/
|
|
326
|
+
checkRelease(projectName: string, stackName: string, releaseId: string): Promise<{
|
|
327
|
+
ok: boolean;
|
|
328
|
+
because: string;
|
|
329
|
+
}>;
|
|
330
|
+
/**
|
|
331
|
+
* Run a release's probes on the node of the stack that carries it, and
|
|
332
|
+
* hand back what the producer printed and how it exited.
|
|
333
|
+
*
|
|
334
|
+
* Deciding whether to KEEP the result is not done here: that is
|
|
335
|
+
* `release/attest.ts`, reached through the release service, which also
|
|
336
|
+
* holds the audit trail the freshness refusal needs. This method is the
|
|
337
|
+
* transport — the release's own scripts and the stack definition at its
|
|
338
|
+
* commit, uploaded and run on the node under its deploy lease, so an
|
|
339
|
+
* attestation never interleaves with a deployment.
|
|
340
|
+
*
|
|
341
|
+
* One node only, and refused by name otherwise. The probes reach
|
|
342
|
+
* `localhost` and the stack's containers; on a stack of several nodes one
|
|
343
|
+
* run measures one machine, and an attestation is stored per STACK — kept
|
|
344
|
+
* as it is, it would claim for all of them what was measured on one.
|
|
345
|
+
*/
|
|
346
|
+
attestOnNode(projectName: string, stackName: string, releaseId: string): Promise<{
|
|
347
|
+
stdout: string;
|
|
348
|
+
stderr: string;
|
|
349
|
+
code: number;
|
|
350
|
+
node: string;
|
|
351
|
+
scriptsFrom: 'release' | 'history';
|
|
352
|
+
sourceFiles: number;
|
|
353
|
+
accounts: AttestAccounts;
|
|
354
|
+
}>;
|
|
355
|
+
/**
|
|
356
|
+
* Make a named account with a platform role on a remote stack, and keep
|
|
357
|
+
* its password in this daemon's vault — never in the answer.
|
|
358
|
+
*
|
|
359
|
+
* The project's own tool makes it (`scripts/operator-account.mjs` at the
|
|
360
|
+
* project's HEAD commit), on the stack's node, under its deploy lease
|
|
361
|
+
* (`withOperatorTool`). The password comes back sealed to a key made for
|
|
362
|
+
* this run and is opened only to go into the vault — the SSH layer masks
|
|
363
|
+
* anything that looks like a password on its way back (see
|
|
364
|
+
* `project/operator-account.ts`).
|
|
365
|
+
*
|
|
366
|
+
* Two steps that must both happen or neither: the account on the stand and
|
|
367
|
+
* its password in the vault. The vault is asked first whether the key is
|
|
368
|
+
* free — a key already there is somebody's secret, and a new password would
|
|
369
|
+
* replace it — and if the write still fails, the account just made is taken
|
|
370
|
+
* away again, by its name AND the id the tool printed: an account whose
|
|
371
|
+
* password nobody holds is a privileged row under a name every later run
|
|
372
|
+
* refuses as taken. When the run's outcome is not known at all, the stand is
|
|
373
|
+
* asked what it holds, and the answer says it — with the command that takes
|
|
374
|
+
* the account away if it is there.
|
|
375
|
+
*/
|
|
376
|
+
createOperatorAccount(projectName: string, stackName: string, input: {
|
|
377
|
+
username: string;
|
|
378
|
+
role?: string | undefined;
|
|
379
|
+
displayName?: string | undefined;
|
|
380
|
+
vaultKey?: string | undefined;
|
|
381
|
+
}): Promise<import('../shared/dto/project.js').IStackAccount>;
|
|
382
|
+
/**
|
|
383
|
+
* The stack's maintenance lock by hand (`maintenance-lock.ts`): the state
|
|
384
|
+
* as its gateway enforces it, or held for a bounded time, or let go — a lock
|
|
385
|
+
* a failed deployment left (it also expires by itself), or work outside a
|
|
386
|
+
* deployment. Not under the node's deploy lease: letting go of the lock is
|
|
387
|
+
* exactly what an operator does while a stuck deployment holds that lease.
|
|
388
|
+
* Only omnitron's keys; the administrators' mode is main's, in /admin.
|
|
389
|
+
*/
|
|
390
|
+
stackMaintenance(projectName: string, stackName: string, request: {
|
|
391
|
+
action: 'status' | 'on' | 'off';
|
|
392
|
+
minutes?: number | undefined;
|
|
393
|
+
}): Promise<import('../shared/dto/project.js').IStackMaintenance>;
|
|
394
|
+
/**
|
|
395
|
+
* What the probes left on a stand — the project's own census of it,
|
|
396
|
+
* `scripts/probe-leftovers.mjs` without a flag: SELECTs and nothing else,
|
|
397
|
+
* the accounts, organisations and orphans it would take and what would hold
|
|
398
|
+
* each back. Its removal is not a door here: that takes the owner's word
|
|
399
|
+
* each time, and this census is what the word is given on.
|
|
400
|
+
*/
|
|
401
|
+
probeLeftovers(projectName: string, stackName: string, request: {
|
|
402
|
+
mode: import('../project/operator-account.js').LeftoversMode;
|
|
403
|
+
/** Accounts no template matches, named after reading the census. */
|
|
404
|
+
also?: readonly string[] | undefined;
|
|
405
|
+
}): Promise<import('../shared/dto/project.js').IStackLeftoversCensus>;
|
|
406
|
+
/**
|
|
407
|
+
* The stand's accounts counted — by role, by status, by the form their MFA
|
|
408
|
+
* data is in, and whether the seeded admin still opens with its published
|
|
409
|
+
* password. Counts only. For decisions that depend on what a stand holds
|
|
410
|
+
* without reading it: a new MFA root cannot open what the old one sealed,
|
|
411
|
+
* so how many rows are sealed is asked first.
|
|
412
|
+
*/
|
|
413
|
+
censusOperatorAccounts(projectName: string, stackName: string): Promise<import('../shared/dto/project.js').IStackAccountCensus>;
|
|
414
|
+
/** What a remote stack's stand holds under a name — never a secret. */
|
|
415
|
+
showOperatorAccount(projectName: string, stackName: string, username: string): Promise<import('../shared/dto/project.js').IStackAccountLookup>;
|
|
416
|
+
/**
|
|
417
|
+
* Take an account away from a remote stack's stand — the row with this
|
|
418
|
+
* name AND this id, or nothing — and the password this daemon keeps for it,
|
|
419
|
+
* if it keeps one: a password for an account that is gone is not a secret
|
|
420
|
+
* worth keeping, and a vault that still lists it says the account exists.
|
|
421
|
+
*/
|
|
422
|
+
removeOperatorAccount(projectName: string, stackName: string, input: {
|
|
423
|
+
username: string;
|
|
424
|
+
id: string;
|
|
425
|
+
vaultKey?: string | undefined;
|
|
426
|
+
}): Promise<import('../shared/dto/project.js').IStackAccountRemoved>;
|
|
427
|
+
/**
|
|
428
|
+
* The release this stack last started with, as the audit trail recorded it
|
|
429
|
+
* (`stack.start`, `details.release`) — or null: no trail, no start, or a
|
|
430
|
+
* start that was not a release.
|
|
431
|
+
*/
|
|
432
|
+
private releaseRunningOn;
|
|
433
|
+
/**
|
|
434
|
+
* What every operator-account action shares: a remote stack of one node,
|
|
435
|
+
* the project's tool staged from its HEAD commit, the node's deploy lease,
|
|
436
|
+
* and the stage taken away again on both sides, whatever `work` did.
|
|
437
|
+
*
|
|
438
|
+
* One node, like the attestation: the tool reaches the node's containers,
|
|
439
|
+
* and which of several nodes holds the stack's database is not decided
|
|
440
|
+
* here.
|
|
441
|
+
*/
|
|
442
|
+
private withOperatorTool;
|
|
443
|
+
/**
|
|
444
|
+
* The paths of the working tree a deployment of this stack reads, relative
|
|
445
|
+
* to its root — what admission requires to be the release's commit.
|
|
446
|
+
*
|
|
447
|
+
* The definition (`release/definition-inputs.ts`), and the directories the
|
|
448
|
+
* deployment ships to its nodes (`shippedDirsOf`): the gateway's nginx tree,
|
|
449
|
+
* a service's scripts. Those were read from the working tree and compared
|
|
450
|
+
* with nothing, so an uncommitted edit to the gateway's template reached the
|
|
451
|
+
* test node past every gate a release has.
|
|
452
|
+
*/
|
|
453
|
+
private deploymentReads;
|
|
454
|
+
private admitRelease;
|
|
455
|
+
/** What each of a stack's nodes says its daemon is — the omni its applications load. */
|
|
456
|
+
private askDaemonVersions;
|
|
457
|
+
/**
|
|
458
|
+
* What a restart of THIS daemon may do to a remote stack: look, not ship.
|
|
459
|
+
*
|
|
460
|
+
* Boot and the enabled-stacks reconciler resumed every enabled stack through
|
|
461
|
+
* a full start, and for a remote stack a full start is a deployment — build,
|
|
462
|
+
* deliver, restart — of whatever this machine's working tree holds, onto
|
|
463
|
+
* machines other people deploy to as well. Measured 2026-09-22: a master
|
|
464
|
+
* restarted on a clean tree shipped its tree to the one test server by
|
|
465
|
+
* itself (`source: 'auto-resume'`, 13:56:56 → 14:00:05, five applications
|
|
466
|
+
* restarted onto new artifacts); the three restarts before it that morning
|
|
467
|
+
* were stopped only because the tree happened to be dirty — a condition
|
|
468
|
+
* that has nothing to do with intent, and a clean tree of an old commit
|
|
469
|
+
* passes it as easily. Every development machine with the stack enabled did
|
|
470
|
+
* the same, on every restart, past every gate.
|
|
471
|
+
*
|
|
472
|
+
* The applications on a node are supervised by the node's own daemon. What
|
|
473
|
+
* this master lost in its restart is its own picture of them, so that is
|
|
474
|
+
* what is rebuilt: the nodes are asked what they run, and the answer becomes
|
|
475
|
+
* the stack's state — `running`, or `degraded` when some application is not
|
|
476
|
+
* online (the node restarts its own; this master does not ship over it). A
|
|
477
|
+
* stack no node answered for is an error the reconciler retries, by asking
|
|
478
|
+
* again. Deploying stays something an operator asks for.
|
|
479
|
+
*/
|
|
480
|
+
private attachRemoteStack;
|
|
65
481
|
/**
|
|
66
482
|
* Get the infrastructure manager (for daemon-level access).
|
|
67
483
|
*/
|
|
68
484
|
getInfraManager(): StackInfrastructureManager;
|
|
485
|
+
/**
|
|
486
|
+
* Periodically converge running stacks onto the persisted desired state
|
|
487
|
+
* (`project.enabledStacks`). Boot-time resume in daemon.startApps() is
|
|
488
|
+
* one-shot — on 2026-07-11 it fired seconds after login while Docker
|
|
489
|
+
* (OrbStack) was still coming up, failed with "Docker is not available",
|
|
490
|
+
* and the platform stayed appless for days despite a healthy supervised
|
|
491
|
+
* daemon. The reconciler retries with per-stack exponential backoff until
|
|
492
|
+
* the stack is running, and picks up any later divergence (a stack that
|
|
493
|
+
* crashed into 'error', infra that vanished) the same way.
|
|
494
|
+
*
|
|
495
|
+
* Manual intent is respected by construction: `stack stop` removes the
|
|
496
|
+
* stack from enabledStacks (persisted), so a deliberately stopped stack is
|
|
497
|
+
* never resurrected; 'starting'/'stopping' states are skipped as in-flight.
|
|
498
|
+
*/
|
|
499
|
+
startEnabledStacksReconciler(intervalMs?: number): void;
|
|
500
|
+
private reconcileEnabledStacks;
|
|
69
501
|
/**
|
|
70
502
|
* Dispose of all resources held by this service.
|
|
71
503
|
* Called during daemon shutdown.
|
|
@@ -73,6 +505,19 @@ export declare class ProjectService extends EventEmitter {
|
|
|
73
505
|
dispose(): Promise<void>;
|
|
74
506
|
loadProjectConfig(projectName: string): Promise<IEcosystemConfig>;
|
|
75
507
|
getLoadedConfig(projectName: string): IEcosystemConfig | null;
|
|
508
|
+
/** In-flight loads, so callers arriving together load a project once. */
|
|
509
|
+
private readonly configLoads;
|
|
510
|
+
/**
|
|
511
|
+
* The project's config, loaded now if the daemon has not got to it yet.
|
|
512
|
+
*
|
|
513
|
+
* A reader that arrived in the first seconds after a daemon start found no
|
|
514
|
+
* config and was answered with an error: measured on the master restarted
|
|
515
|
+
* at 12:07:48 UTC, 20 ERROR lines «Project 'daos' config not loaded» from
|
|
516
|
+
* the console's `getStack` polls, logged as server failures and counted by
|
|
517
|
+
* `doctor` — for a project that loads a moment later, which is what the
|
|
518
|
+
* reconciler already does for itself (`loadProjectConfig` when absent).
|
|
519
|
+
*/
|
|
520
|
+
ensureConfig(projectName: string): Promise<IEcosystemConfig>;
|
|
76
521
|
reloadConfig(projectName?: string): Promise<void>;
|
|
77
522
|
getRunningStacks(projectName: string): string[];
|
|
78
523
|
/** Build the stack handle key for an app */
|
|
@@ -91,12 +536,142 @@ export declare class ProjectService extends EventEmitter {
|
|
|
91
536
|
* Validate that a stack's infrastructure config satisfies all app requirements.
|
|
92
537
|
* Returns issues if infrastructure is missing for apps that need it.
|
|
93
538
|
*/
|
|
539
|
+
/**
|
|
540
|
+
* What each node of a stack would find and do on its host for the services
|
|
541
|
+
* the stack declares — asked, not done (`host-inspection.ts`).
|
|
542
|
+
*
|
|
543
|
+
* Built from the parts a deployment sends — the applications'
|
|
544
|
+
* declarations and the stack's overrides with their references resolved
|
|
545
|
+
* from this vault — plus the services reached elsewhere, to say whether
|
|
546
|
+
* they answer. The node that runs mainnet chains could otherwise be read
|
|
547
|
+
* only by deploying to it: it takes SSH by password, and that stays in
|
|
548
|
+
* the vault.
|
|
549
|
+
*/
|
|
550
|
+
inspectStackHost(data: {
|
|
551
|
+
project: string;
|
|
552
|
+
stack: string;
|
|
553
|
+
} & Omit<import('../infrastructure/host-inspection.js').HostInspectionRequest, 'services' | 'overrides'>): Promise<Array<{
|
|
554
|
+
node: string;
|
|
555
|
+
inspection?: import('../infrastructure/host-inspection.js').HostInspection;
|
|
556
|
+
error?: string;
|
|
557
|
+
}>>;
|
|
94
558
|
validateStackInfrastructure(projectName: string, stackName: string): Promise<{
|
|
95
559
|
valid: boolean;
|
|
96
560
|
issues: string[];
|
|
97
561
|
}>;
|
|
98
562
|
private startLocalStack;
|
|
563
|
+
/**
|
|
564
|
+
* Deploy a stack to its nodes, and say what it is doing while it does it.
|
|
565
|
+
*
|
|
566
|
+
* Measured on 2026-09-22: 829 seconds between this method's first log line
|
|
567
|
+
* and its next one, with the work in flight the whole time. The CLI stops
|
|
568
|
+
* waiting at 600 and says the operation is «probably still running» — true,
|
|
569
|
+
* and silent about which of its seven steps was running. See
|
|
570
|
+
* `deploy-phases.ts`.
|
|
571
|
+
*/
|
|
99
572
|
private startRemoteStack;
|
|
573
|
+
private deployRemoteStack;
|
|
574
|
+
/**
|
|
575
|
+
* Warn the platform on this node, then hold it at its gateway for the
|
|
576
|
+
* deployment (`maintenance-lock.ts`). `null` when the stack opted out, or
|
|
577
|
+
* when the node has no running gateway and Redis to hold with — a first
|
|
578
|
+
* deployment, which nobody is using yet.
|
|
579
|
+
*/
|
|
580
|
+
private holdForDeployment;
|
|
581
|
+
/**
|
|
582
|
+
* Ask a node to bring up the infrastructure a stack declares.
|
|
583
|
+
*
|
|
584
|
+
* Over the mesh connection rather than over SSH: the node already runs a
|
|
585
|
+
* reconciler that knows how to wait on a container's health, how to detect
|
|
586
|
+
* a drifted spec, and how to clean up a phantom endpoint. Driving `docker`
|
|
587
|
+
* over SSH from here would be a second implementation of all of it, on the
|
|
588
|
+
* side of the wire with the least information.
|
|
589
|
+
*
|
|
590
|
+
* The connection is opened for this and kept — it is the same one the mesh
|
|
591
|
+
* uses afterwards, so the node is joined by the time its applications
|
|
592
|
+
* start rather than at the next heartbeat.
|
|
593
|
+
*/
|
|
594
|
+
/**
|
|
595
|
+
* Deliver each service's static content to the node, and report where.
|
|
596
|
+
*
|
|
597
|
+
* Only services that declare a `staticDir`, which today is the gateway
|
|
598
|
+
* serving the portal. A stack that declares none sends nothing and this
|
|
599
|
+
* costs nothing.
|
|
600
|
+
*
|
|
601
|
+
* A failure is reported and not thrown: a node whose databases came up and
|
|
602
|
+
* whose frontend did not is a node worth looking at, and stopping the whole
|
|
603
|
+
* provisioning over a frontend leaves less working, not more.
|
|
604
|
+
*/
|
|
605
|
+
/**
|
|
606
|
+
* What each deployed app should connect to, once it is on the node.
|
|
607
|
+
*
|
|
608
|
+
* The same `resolveStack` + `resolvedConfigToEnv` pair a local stack uses,
|
|
609
|
+
* fed the infrastructure the node actually provisioned — so there is one
|
|
610
|
+
* implementation of "what is DATABASE_URL" rather than a second one written
|
|
611
|
+
* for nodes, which would drift from the first the first time either
|
|
612
|
+
* changed.
|
|
613
|
+
*
|
|
614
|
+
* `type: 'local'` is not a pretence: the apps run as host processes on the
|
|
615
|
+
* node, beside containers whose ports are published on that node's
|
|
616
|
+
* loopback. Local is what they are from where they stand.
|
|
617
|
+
*/
|
|
618
|
+
private resolveNodeAppEnv;
|
|
619
|
+
/**
|
|
620
|
+
* A stack's service overrides with their secret references resolved.
|
|
621
|
+
*
|
|
622
|
+
* An override names its credentials rather than carrying them:
|
|
623
|
+
*
|
|
624
|
+
* "secrets": { "rpc_password": { "secret": "monero.mainnet.rpc_password" } }
|
|
625
|
+
*
|
|
626
|
+
* `resolveSecretRefs` has existed for that since it was written and had no
|
|
627
|
+
* caller at all, so the synchronous resolver downstream turned every one of
|
|
628
|
+
* these into the literal string `<secret:monero.mainnet.rpc_password>` and
|
|
629
|
+
* handed it to the application as a password.
|
|
630
|
+
*
|
|
631
|
+
* A key the vault does not hold resolves to an empty string, which an
|
|
632
|
+
* application reports as an authentication failure against a credential it
|
|
633
|
+
* was never given. That is worth a line naming the key.
|
|
634
|
+
*/
|
|
635
|
+
private resolveOverrideSecrets;
|
|
636
|
+
/**
|
|
637
|
+
* The credentials the NODE resolved, read back from the node.
|
|
638
|
+
*
|
|
639
|
+
* `getConnectionInfo` answers from the config `provisionStack` stored after
|
|
640
|
+
* running `withGeneratedCredentials` against the node's vault, so it is the
|
|
641
|
+
* only account of these secrets that is true on the machine the apps will
|
|
642
|
+
* run on.
|
|
643
|
+
*
|
|
644
|
+
* `null` is an answer — the node runs no such service — and leaves it as
|
|
645
|
+
* the stack declared it. A read that did not happen is not an answer. This
|
|
646
|
+
* was «best-effort per service»: a failed read fell back to the declared
|
|
647
|
+
* credentials, and for a secret the node generated those are wrong by
|
|
648
|
+
* construction. Test node, 2026-09-22 21:17:51 UTC: the heartbeat dropped
|
|
649
|
+
* the peer mid-read («manual disconnect»), the apps were configured with
|
|
650
|
+
* the declared postgres password, 6 of 6 migrations failed on it, and the
|
|
651
|
+
* node was left in a mixed state. So a dropped connection is reconnected
|
|
652
|
+
* and asked once more — this is a read, it can be — and a read that still
|
|
653
|
+
* fails stops the deployment HERE, before any application is configured
|
|
654
|
+
* with a password that is not the node's.
|
|
655
|
+
*/
|
|
656
|
+
private readNodeCredentials;
|
|
657
|
+
private shipStackStatics;
|
|
658
|
+
/**
|
|
659
|
+
* Where the stack's static build lives, absolute, or undefined.
|
|
660
|
+
*
|
|
661
|
+
* Both spellings, and the same resolution `shipStackStatics` performs —
|
|
662
|
+
* named once because two questions ask it: what to ship, and whether the
|
|
663
|
+
* trees it is built from are the commits they claim.
|
|
664
|
+
*/
|
|
665
|
+
private staticDirOf;
|
|
666
|
+
/**
|
|
667
|
+
* The config files the stack's services need, read from this master.
|
|
668
|
+
*
|
|
669
|
+
* Only services that name a directory to ship (`shippedDirOf`) — the
|
|
670
|
+
* gateway's nginx tree, Nominatim's import scripts. A stack that names none
|
|
671
|
+
* sends nothing, so this costs nothing where it is not needed.
|
|
672
|
+
*/
|
|
673
|
+
private readStackConfigFiles;
|
|
674
|
+
private provisionNodeInfrastructure;
|
|
100
675
|
private startClusterStack;
|
|
101
676
|
/**
|
|
102
677
|
* Run database migrations for apps that declare migrate: true in their
|
|
@@ -115,9 +690,105 @@ export declare class ProjectService extends EventEmitter {
|
|
|
115
690
|
* No implicit fallbacks — stacks must be created explicitly.
|
|
116
691
|
*/
|
|
117
692
|
private resolveStacks;
|
|
693
|
+
/**
|
|
694
|
+
* The environment a stack gives its apps, vault references resolved
|
|
695
|
+
* (`project/stack-env.ts`). Throws — the start is refused — for a key the
|
|
696
|
+
* vault does not hold, an `appEnv` for an app the stack does not run, or a
|
|
697
|
+
* malformed entry. Values never leave this call except into the apps' env.
|
|
698
|
+
*/
|
|
699
|
+
private stackEnvFor;
|
|
700
|
+
/**
|
|
701
|
+
* How each app of a local stack is started: the entry handed to the
|
|
702
|
+
* orchestrator — named into its stack, its environment computed from the
|
|
703
|
+
* stack's resolved configuration and then the project config's own.
|
|
704
|
+
*
|
|
705
|
+
* One builder for the start and for a re-read of the project
|
|
706
|
+
* (`rereadProject`), so a running app is redefined exactly as it would be
|
|
707
|
+
* started.
|
|
708
|
+
*/
|
|
709
|
+
private stackEntryBuilder;
|
|
710
|
+
/**
|
|
711
|
+
* Every application in a stack, with what it declares it needs.
|
|
712
|
+
*
|
|
713
|
+
* Extracted because a remote stack needs exactly this and had no way to
|
|
714
|
+
* get it: `startRemoteStack` built its own list of app ENTRIES and never
|
|
715
|
+
* their definitions, so the `infrastructure` an application declares —
|
|
716
|
+
* its chain daemon, its cache — was invisible on that path. The local
|
|
717
|
+
* path had it all along, twenty lines up from where it was needed.
|
|
718
|
+
*/
|
|
719
|
+
private loadAppDefinitions;
|
|
720
|
+
/**
|
|
721
|
+
* The infrastructure a stack's applications declare, merged and overridden.
|
|
722
|
+
*
|
|
723
|
+
* One entry per service name: two applications that both declare
|
|
724
|
+
* `postgres` mean one Postgres, which is what `serviceOverrides` keys on
|
|
725
|
+
* and what the container resolver has always assumed. A later declaration
|
|
726
|
+
* that disagrees with an earlier one is not merged silently — the first
|
|
727
|
+
* wins and the disagreement is said, because two applications wanting
|
|
728
|
+
* different versions of one service is a fact about the stack, not a
|
|
729
|
+
* detail to resolve by ordering.
|
|
730
|
+
*/
|
|
731
|
+
private collectDeclaredServices;
|
|
118
732
|
private resolveStackApps;
|
|
119
733
|
private updateEnabledStacks;
|
|
120
734
|
private toProjectInfo;
|
|
735
|
+
/**
|
|
736
|
+
* A remote stack's apps, as the NODES report them.
|
|
737
|
+
*
|
|
738
|
+
* `toStackInfo` reads this daemon's own orchestrator handles. For a remote
|
|
739
|
+
* stack there are none — the applications run on the nodes, under the
|
|
740
|
+
* node's own naming (`<project>/deployed/<app>`) — so every app came back
|
|
741
|
+
* `stopped` and the report was:
|
|
742
|
+
*
|
|
743
|
+
* Stack daos/test: only 0/6 apps came online.
|
|
744
|
+
* Not online: main (stopped), storage (stopped), priceverse (stopped),
|
|
745
|
+
* paysys (stopped), messaging (stopped), geo (stopped)
|
|
746
|
+
*
|
|
747
|
+
* measured against a node answering `appsTotal: 6, appsOnline: 6` with
|
|
748
|
+
* every port listening, thirty seconds after this same master installed,
|
|
749
|
+
* migrated and started them. The CLI exits 1 on that count, so a correct
|
|
750
|
+
* deployment fails a script; and the console's stack page shows the same
|
|
751
|
+
* six rows, stopped.
|
|
752
|
+
*
|
|
753
|
+
* A node that cannot be asked leaves its apps exactly as they were, with a
|
|
754
|
+
* line saying why. "We could not ask" is not "they are down" — and the
|
|
755
|
+
* local rows are at least honest about being local.
|
|
756
|
+
*/
|
|
757
|
+
withRemoteAppStatuses(projectName: string, info: IStackInfo): Promise<IStackInfo>;
|
|
758
|
+
/**
|
|
759
|
+
* The same question, with the count of nodes that answered it.
|
|
760
|
+
*
|
|
761
|
+
* `connectedNodes` used to be read from the connector's registry, which
|
|
762
|
+
* said 0 about a node that was answering RPCs at that moment — measured
|
|
763
|
+
* 2026-09-22, three times in three seconds, beside a `stack status` that
|
|
764
|
+
* listed six apps online from the very same node. A registry is
|
|
765
|
+
* bookkeeping; an answer is a fact, and this is where the answers are.
|
|
766
|
+
*/
|
|
767
|
+
private askNodes;
|
|
768
|
+
/**
|
|
769
|
+
* One node's infrastructure, named the way the stack names it.
|
|
770
|
+
*
|
|
771
|
+
* The node's container names carry ITS prefix (`daos-test-postgres`), and
|
|
772
|
+
* a reader wants the service — `postgres` — so the same stripping the
|
|
773
|
+
* local path does is done here. `null` when the node cannot answer or has
|
|
774
|
+
* no infrastructure of its own, which leaves the master's view in place.
|
|
775
|
+
*/
|
|
776
|
+
private remoteInfraStatus;
|
|
121
777
|
private toStackInfo;
|
|
122
778
|
}
|
|
779
|
+
/**
|
|
780
|
+
* How a master's daemon builds this service: the tokens it resolves, in
|
|
781
|
+
* order, and the factory that receives them.
|
|
782
|
+
*
|
|
783
|
+
* Here and not inline in daemon.module.ts so that the ORDER can be held to
|
|
784
|
+
* account: `inject` and the factory's parameters are two lists that must
|
|
785
|
+
* agree position by position, and the container hands the values over as
|
|
786
|
+
* `any`. Swapped there, the vault arrives as the audit trail and neither
|
|
787
|
+
* complains until a deployment needs one of them. See
|
|
788
|
+
* `test/unit/a-factory-that-passed-its-arguments-by-position.test.ts`.
|
|
789
|
+
*/
|
|
790
|
+
export declare const MASTER_PROJECT_SERVICE_PROVIDER: {
|
|
791
|
+
readonly inject: readonly unknown[];
|
|
792
|
+
readonly useFactory: (loggerModule: ILoggerModule, orchestrator: OrchestratorService, daemonStateStore: DaemonStateStore, secrets: SecretsService, audit: AuditService) => ProjectService;
|
|
793
|
+
};
|
|
123
794
|
//# sourceMappingURL=project.service.d.ts.map
|