@omnitron-dev/omnitron 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +35 -0
- package/dist/cli/omnitron.d.ts +9 -0
- package/dist/cli/omnitron.d.ts.map +1 -0
- package/dist/cli/omnitron.js +768 -0
- package/dist/cli/omnitron.js.map +1 -0
- package/dist/cluster/cluster.rpc-service.d.ts +48 -0
- package/dist/cluster/cluster.rpc-service.d.ts.map +1 -0
- package/dist/cluster/cluster.rpc-service.js +105 -0
- package/dist/cluster/cluster.rpc-service.js.map +1 -0
- package/dist/cluster/config-sync.d.ts +89 -0
- package/dist/cluster/config-sync.d.ts.map +1 -0
- package/dist/cluster/config-sync.js +162 -0
- package/dist/cluster/config-sync.js.map +1 -0
- package/dist/cluster/index.d.ts +9 -0
- package/dist/cluster/index.d.ts.map +1 -0
- package/dist/cluster/index.js +7 -0
- package/dist/cluster/index.js.map +1 -0
- package/dist/cluster/leader-election.d.ts +145 -0
- package/dist/cluster/leader-election.d.ts.map +1 -0
- package/dist/cluster/leader-election.js +410 -0
- package/dist/cluster/leader-election.js.map +1 -0
- package/dist/cluster/slave-connector.d.ts +104 -0
- package/dist/cluster/slave-connector.d.ts.map +1 -0
- package/dist/cluster/slave-connector.js +316 -0
- package/dist/cluster/slave-connector.js.map +1 -0
- package/dist/commands/backup.d.ts +9 -0
- package/dist/commands/backup.d.ts.map +1 -0
- package/dist/commands/backup.js +81 -0
- package/dist/commands/backup.js.map +1 -0
- package/dist/commands/cluster.d.ts +9 -0
- package/dist/commands/cluster.d.ts.map +1 -0
- package/dist/commands/cluster.js +148 -0
- package/dist/commands/cluster.js.map +1 -0
- package/dist/commands/daemon-cmd.d.ts +11 -0
- package/dist/commands/daemon-cmd.d.ts.map +1 -0
- package/dist/commands/daemon-cmd.js +182 -0
- package/dist/commands/daemon-cmd.js.map +1 -0
- package/dist/commands/deploy.d.ts +17 -0
- package/dist/commands/deploy.d.ts.map +1 -0
- package/dist/commands/deploy.js +110 -0
- package/dist/commands/deploy.js.map +1 -0
- package/dist/commands/dev.d.ts +23 -0
- package/dist/commands/dev.d.ts.map +1 -0
- package/dist/commands/dev.js +76 -0
- package/dist/commands/dev.js.map +1 -0
- package/dist/commands/discover.d.ts +9 -0
- package/dist/commands/discover.d.ts.map +1 -0
- package/dist/commands/discover.js +124 -0
- package/dist/commands/discover.js.map +1 -0
- package/dist/commands/env.d.ts +5 -0
- package/dist/commands/env.d.ts.map +1 -0
- package/dist/commands/env.js +30 -0
- package/dist/commands/env.js.map +1 -0
- package/dist/commands/exec.d.ts +5 -0
- package/dist/commands/exec.d.ts.map +1 -0
- package/dist/commands/exec.js +36 -0
- package/dist/commands/exec.js.map +1 -0
- package/dist/commands/fleet.d.ts +9 -0
- package/dist/commands/fleet.d.ts.map +1 -0
- package/dist/commands/fleet.js +136 -0
- package/dist/commands/fleet.js.map +1 -0
- package/dist/commands/health-check.d.ts +12 -0
- package/dist/commands/health-check.d.ts.map +1 -0
- package/dist/commands/health-check.js +91 -0
- package/dist/commands/health-check.js.map +1 -0
- package/dist/commands/health.d.ts +7 -0
- package/dist/commands/health.d.ts.map +1 -0
- package/dist/commands/health.js +44 -0
- package/dist/commands/health.js.map +1 -0
- package/dist/commands/infra.d.ts +32 -0
- package/dist/commands/infra.d.ts.map +1 -0
- package/dist/commands/infra.js +179 -0
- package/dist/commands/infra.js.map +1 -0
- package/dist/commands/init.d.ts +5 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +78 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/inspect.d.ts +7 -0
- package/dist/commands/inspect.d.ts.map +1 -0
- package/dist/commands/inspect.js +95 -0
- package/dist/commands/inspect.js.map +1 -0
- package/dist/commands/k8s.d.ts +7 -0
- package/dist/commands/k8s.d.ts.map +1 -0
- package/dist/commands/k8s.js +74 -0
- package/dist/commands/k8s.js.map +1 -0
- package/dist/commands/kb.d.ts +21 -0
- package/dist/commands/kb.d.ts.map +1 -0
- package/dist/commands/kb.js +137 -0
- package/dist/commands/kb.js.map +1 -0
- package/dist/commands/list.d.ts +7 -0
- package/dist/commands/list.d.ts.map +1 -0
- package/dist/commands/list.js +77 -0
- package/dist/commands/list.js.map +1 -0
- package/dist/commands/logs.d.ts +17 -0
- package/dist/commands/logs.d.ts.map +1 -0
- package/dist/commands/logs.js +287 -0
- package/dist/commands/logs.js.map +1 -0
- package/dist/commands/metrics.d.ts +7 -0
- package/dist/commands/metrics.d.ts.map +1 -0
- package/dist/commands/metrics.js +64 -0
- package/dist/commands/metrics.js.map +1 -0
- package/dist/commands/monit.d.ts +7 -0
- package/dist/commands/monit.d.ts.map +1 -0
- package/dist/commands/monit.js +90 -0
- package/dist/commands/monit.js.map +1 -0
- package/dist/commands/node.d.ts +33 -0
- package/dist/commands/node.d.ts.map +1 -0
- package/dist/commands/node.js +169 -0
- package/dist/commands/node.js.map +1 -0
- package/dist/commands/pipeline.d.ts +9 -0
- package/dist/commands/pipeline.d.ts.map +1 -0
- package/dist/commands/pipeline.js +89 -0
- package/dist/commands/pipeline.js.map +1 -0
- package/dist/commands/project.d.ts +11 -0
- package/dist/commands/project.d.ts.map +1 -0
- package/dist/commands/project.js +54 -0
- package/dist/commands/project.js.map +1 -0
- package/dist/commands/reload.d.ts +5 -0
- package/dist/commands/reload.d.ts.map +1 -0
- package/dist/commands/reload.js +31 -0
- package/dist/commands/reload.js.map +1 -0
- package/dist/commands/remote.d.ts +13 -0
- package/dist/commands/remote.d.ts.map +1 -0
- package/dist/commands/remote.js +88 -0
- package/dist/commands/remote.js.map +1 -0
- package/dist/commands/restart.d.ts +5 -0
- package/dist/commands/restart.d.ts.map +1 -0
- package/dist/commands/restart.js +31 -0
- package/dist/commands/restart.js.map +1 -0
- package/dist/commands/scale.d.ts +5 -0
- package/dist/commands/scale.d.ts.map +1 -0
- package/dist/commands/scale.js +29 -0
- package/dist/commands/scale.js.map +1 -0
- package/dist/commands/secret.d.ts +14 -0
- package/dist/commands/secret.d.ts.map +1 -0
- package/dist/commands/secret.js +148 -0
- package/dist/commands/secret.js.map +1 -0
- package/dist/commands/stack.d.ts +18 -0
- package/dist/commands/stack.d.ts.map +1 -0
- package/dist/commands/stack.js +252 -0
- package/dist/commands/stack.js.map +1 -0
- package/dist/commands/start.d.ts +7 -0
- package/dist/commands/start.d.ts.map +1 -0
- package/dist/commands/start.js +43 -0
- package/dist/commands/start.js.map +1 -0
- package/dist/commands/status.d.ts +9 -0
- package/dist/commands/status.d.ts.map +1 -0
- package/dist/commands/status.js +70 -0
- package/dist/commands/status.js.map +1 -0
- package/dist/commands/stop.d.ts +10 -0
- package/dist/commands/stop.d.ts.map +1 -0
- package/dist/commands/stop.js +69 -0
- package/dist/commands/stop.js.map +1 -0
- package/dist/commands/up.d.ts +47 -0
- package/dist/commands/up.d.ts.map +1 -0
- package/dist/commands/up.js +278 -0
- package/dist/commands/up.js.map +1 -0
- package/dist/commands/webapp.d.ts +17 -0
- package/dist/commands/webapp.d.ts.map +1 -0
- package/dist/commands/webapp.js +103 -0
- package/dist/commands/webapp.js.map +1 -0
- package/dist/config/defaults.d.ts +22 -0
- package/dist/config/defaults.d.ts.map +1 -0
- package/dist/config/defaults.js +76 -0
- package/dist/config/defaults.js.map +1 -0
- package/dist/config/define-app.d.ts +6 -0
- package/dist/config/define-app.d.ts.map +1 -0
- package/dist/config/define-app.js +38 -0
- package/dist/config/define-app.js.map +1 -0
- package/dist/config/define-ecosystem.d.ts +6 -0
- package/dist/config/define-ecosystem.d.ts.map +1 -0
- package/dist/config/define-ecosystem.js +21 -0
- package/dist/config/define-ecosystem.js.map +1 -0
- package/dist/config/define-system.d.ts +9 -0
- package/dist/config/define-system.d.ts.map +1 -0
- package/dist/config/define-system.js +106 -0
- package/dist/config/define-system.js.map +1 -0
- package/dist/config/index.d.ts +7 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +6 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/loader.d.ts +11 -0
- package/dist/config/loader.d.ts.map +1 -0
- package/dist/config/loader.js +68 -0
- package/dist/config/loader.js.map +1 -0
- package/dist/config/omnitron-config.schema.d.ts +14 -0
- package/dist/config/omnitron-config.schema.d.ts.map +1 -0
- package/dist/config/omnitron-config.schema.js +35 -0
- package/dist/config/omnitron-config.schema.js.map +1 -0
- package/dist/config/types.d.ts +807 -0
- package/dist/config/types.d.ts.map +1 -0
- package/dist/config/types.js +7 -0
- package/dist/config/types.js.map +1 -0
- package/dist/daemon/daemon-client.d.ts +147 -0
- package/dist/daemon/daemon-client.d.ts.map +1 -0
- package/dist/daemon/daemon-client.js +256 -0
- package/dist/daemon/daemon-client.js.map +1 -0
- package/dist/daemon/daemon-entry.d.ts +9 -0
- package/dist/daemon/daemon-entry.d.ts.map +1 -0
- package/dist/daemon/daemon-entry.js +62 -0
- package/dist/daemon/daemon-entry.js.map +1 -0
- package/dist/daemon/daemon-scheduler.d.ts +32 -0
- package/dist/daemon/daemon-scheduler.d.ts.map +1 -0
- package/dist/daemon/daemon-scheduler.js +93 -0
- package/dist/daemon/daemon-scheduler.js.map +1 -0
- package/dist/daemon/daemon.d.ts +115 -0
- package/dist/daemon/daemon.d.ts.map +1 -0
- package/dist/daemon/daemon.js +1202 -0
- package/dist/daemon/daemon.js.map +1 -0
- package/dist/daemon/daemon.module.d.ts +50 -0
- package/dist/daemon/daemon.module.d.ts.map +1 -0
- package/dist/daemon/daemon.module.js +506 -0
- package/dist/daemon/daemon.module.js.map +1 -0
- package/dist/daemon/daemon.rpc-service.d.ts +122 -0
- package/dist/daemon/daemon.rpc-service.d.ts.map +1 -0
- package/dist/daemon/daemon.rpc-service.js +452 -0
- package/dist/daemon/daemon.rpc-service.js.map +1 -0
- package/dist/daemon/pid-manager.d.ts +43 -0
- package/dist/daemon/pid-manager.d.ts.map +1 -0
- package/dist/daemon/pid-manager.js +103 -0
- package/dist/daemon/pid-manager.js.map +1 -0
- package/dist/daemon/state-store.d.ts +26 -0
- package/dist/daemon/state-store.d.ts.map +1 -0
- package/dist/daemon/state-store.js +34 -0
- package/dist/daemon/state-store.js.map +1 -0
- package/dist/database/index.d.ts +10 -0
- package/dist/database/index.d.ts.map +1 -0
- package/dist/database/index.js +10 -0
- package/dist/database/index.js.map +1 -0
- package/dist/database/migrate.d.ts +11 -0
- package/dist/database/migrate.d.ts.map +1 -0
- package/dist/database/migrate.js +62 -0
- package/dist/database/migrate.js.map +1 -0
- package/dist/database/migrations/001_initial_schema.d.ts +12 -0
- package/dist/database/migrations/001_initial_schema.d.ts.map +1 -0
- package/dist/database/migrations/001_initial_schema.js +246 -0
- package/dist/database/migrations/001_initial_schema.js.map +1 -0
- package/dist/database/migrations/002_metrics_raw.d.ts +17 -0
- package/dist/database/migrations/002_metrics_raw.d.ts.map +1 -0
- package/dist/database/migrations/002_metrics_raw.js +44 -0
- package/dist/database/migrations/002_metrics_raw.js.map +1 -0
- package/dist/database/migrations/003_pipelines_traces.d.ts +14 -0
- package/dist/database/migrations/003_pipelines_traces.d.ts.map +1 -0
- package/dist/database/migrations/003_pipelines_traces.js +108 -0
- package/dist/database/migrations/003_pipelines_traces.js.map +1 -0
- package/dist/database/migrations/004_sync_buffer.d.ts +17 -0
- package/dist/database/migrations/004_sync_buffer.d.ts.map +1 -0
- package/dist/database/migrations/004_sync_buffer.js +59 -0
- package/dist/database/migrations/004_sync_buffer.js.map +1 -0
- package/dist/database/migrations/005_node_health_checks.d.ts +11 -0
- package/dist/database/migrations/005_node_health_checks.d.ts.map +1 -0
- package/dist/database/migrations/005_node_health_checks.js +71 -0
- package/dist/database/migrations/005_node_health_checks.js.map +1 -0
- package/dist/database/schema.d.ts +217 -0
- package/dist/database/schema.d.ts.map +1 -0
- package/dist/database/schema.js +9 -0
- package/dist/database/schema.js.map +1 -0
- package/dist/execution/execution.service.d.ts +72 -0
- package/dist/execution/execution.service.d.ts.map +1 -0
- package/dist/execution/execution.service.js +191 -0
- package/dist/execution/execution.service.js.map +1 -0
- package/dist/execution/index.d.ts +3 -0
- package/dist/execution/index.d.ts.map +1 -0
- package/dist/execution/index.js +2 -0
- package/dist/execution/index.js.map +1 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/dist/infrastructure/config-normalizer.d.ts +13 -0
- package/dist/infrastructure/config-normalizer.d.ts.map +1 -0
- package/dist/infrastructure/config-normalizer.js +84 -0
- package/dist/infrastructure/config-normalizer.js.map +1 -0
- package/dist/infrastructure/container-runtime.d.ts +63 -0
- package/dist/infrastructure/container-runtime.d.ts.map +1 -0
- package/dist/infrastructure/container-runtime.js +304 -0
- package/dist/infrastructure/container-runtime.js.map +1 -0
- package/dist/infrastructure/gateway-generator.d.ts +63 -0
- package/dist/infrastructure/gateway-generator.d.ts.map +1 -0
- package/dist/infrastructure/gateway-generator.js +253 -0
- package/dist/infrastructure/gateway-generator.js.map +1 -0
- package/dist/infrastructure/index.d.ts +5 -0
- package/dist/infrastructure/index.d.ts.map +1 -0
- package/dist/infrastructure/index.js +5 -0
- package/dist/infrastructure/index.js.map +1 -0
- package/dist/infrastructure/infrastructure-gate.d.ts +48 -0
- package/dist/infrastructure/infrastructure-gate.d.ts.map +1 -0
- package/dist/infrastructure/infrastructure-gate.js +92 -0
- package/dist/infrastructure/infrastructure-gate.js.map +1 -0
- package/dist/infrastructure/infrastructure.service.d.ts +84 -0
- package/dist/infrastructure/infrastructure.service.d.ts.map +1 -0
- package/dist/infrastructure/infrastructure.service.js +502 -0
- package/dist/infrastructure/infrastructure.service.js.map +1 -0
- package/dist/infrastructure/presets/gateway-openresty.d.ts +10 -0
- package/dist/infrastructure/presets/gateway-openresty.d.ts.map +1 -0
- package/dist/infrastructure/presets/gateway-openresty.js +30 -0
- package/dist/infrastructure/presets/gateway-openresty.js.map +1 -0
- package/dist/infrastructure/presets/index.d.ts +14 -0
- package/dist/infrastructure/presets/index.d.ts.map +1 -0
- package/dist/infrastructure/presets/index.js +24 -0
- package/dist/infrastructure/presets/index.js.map +1 -0
- package/dist/infrastructure/presets/minio.d.ts +10 -0
- package/dist/infrastructure/presets/minio.d.ts.map +1 -0
- package/dist/infrastructure/presets/minio.js +60 -0
- package/dist/infrastructure/presets/minio.js.map +1 -0
- package/dist/infrastructure/presets/postgres.d.ts +9 -0
- package/dist/infrastructure/presets/postgres.d.ts.map +1 -0
- package/dist/infrastructure/presets/postgres.js +80 -0
- package/dist/infrastructure/presets/postgres.js.map +1 -0
- package/dist/infrastructure/presets/redis.d.ts +9 -0
- package/dist/infrastructure/presets/redis.d.ts.map +1 -0
- package/dist/infrastructure/presets/redis.js +32 -0
- package/dist/infrastructure/presets/redis.js.map +1 -0
- package/dist/infrastructure/presets/registry.d.ts +21 -0
- package/dist/infrastructure/presets/registry.d.ts.map +1 -0
- package/dist/infrastructure/presets/registry.js +87 -0
- package/dist/infrastructure/presets/registry.js.map +1 -0
- package/dist/infrastructure/presets/types.d.ts +88 -0
- package/dist/infrastructure/presets/types.d.ts.map +1 -0
- package/dist/infrastructure/presets/types.js +14 -0
- package/dist/infrastructure/presets/types.js.map +1 -0
- package/dist/infrastructure/runtime/types.d.ts +35 -0
- package/dist/infrastructure/runtime/types.d.ts.map +1 -0
- package/dist/infrastructure/runtime/types.js +9 -0
- package/dist/infrastructure/runtime/types.js.map +1 -0
- package/dist/infrastructure/server-registry.d.ts +16 -0
- package/dist/infrastructure/server-registry.d.ts.map +1 -0
- package/dist/infrastructure/server-registry.js +45 -0
- package/dist/infrastructure/server-registry.js.map +1 -0
- package/dist/infrastructure/service-resolver.d.ts +93 -0
- package/dist/infrastructure/service-resolver.d.ts.map +1 -0
- package/dist/infrastructure/service-resolver.js +419 -0
- package/dist/infrastructure/service-resolver.js.map +1 -0
- package/dist/infrastructure/stack-infra-manager.d.ts +81 -0
- package/dist/infrastructure/stack-infra-manager.d.ts.map +1 -0
- package/dist/infrastructure/stack-infra-manager.js +309 -0
- package/dist/infrastructure/stack-infra-manager.js.map +1 -0
- package/dist/infrastructure/types.d.ts +413 -0
- package/dist/infrastructure/types.d.ts.map +1 -0
- package/dist/infrastructure/types.js +10 -0
- package/dist/infrastructure/types.js.map +1 -0
- package/dist/mcp/mcp-bridge.d.ts +21 -0
- package/dist/mcp/mcp-bridge.d.ts.map +1 -0
- package/dist/mcp/mcp-bridge.js +126 -0
- package/dist/mcp/mcp-bridge.js.map +1 -0
- package/dist/mcp/tool-groups/apps.tools.d.ts +7 -0
- package/dist/mcp/tool-groups/apps.tools.d.ts.map +1 -0
- package/dist/mcp/tool-groups/apps.tools.js +104 -0
- package/dist/mcp/tool-groups/apps.tools.js.map +1 -0
- package/dist/mcp/tool-groups/infra.tools.d.ts +7 -0
- package/dist/mcp/tool-groups/infra.tools.d.ts.map +1 -0
- package/dist/mcp/tool-groups/infra.tools.js +80 -0
- package/dist/mcp/tool-groups/infra.tools.js.map +1 -0
- package/dist/mcp/tool-groups/kb.tools.d.ts +7 -0
- package/dist/mcp/tool-groups/kb.tools.d.ts.map +1 -0
- package/dist/mcp/tool-groups/kb.tools.js +147 -0
- package/dist/mcp/tool-groups/kb.tools.js.map +1 -0
- package/dist/mcp/tool-groups/management.tools.d.ts +7 -0
- package/dist/mcp/tool-groups/management.tools.d.ts.map +1 -0
- package/dist/mcp/tool-groups/management.tools.js +263 -0
- package/dist/mcp/tool-groups/management.tools.js.map +1 -0
- package/dist/mcp/tool-groups/monitoring.tools.d.ts +6 -0
- package/dist/mcp/tool-groups/monitoring.tools.d.ts.map +1 -0
- package/dist/mcp/tool-groups/monitoring.tools.js +52 -0
- package/dist/mcp/tool-groups/monitoring.tools.js.map +1 -0
- package/dist/mcp/types.d.ts +23 -0
- package/dist/mcp/types.d.ts.map +1 -0
- package/dist/mcp/types.js +2 -0
- package/dist/mcp/types.js.map +1 -0
- package/dist/monitoring/app-health.indicator.d.ts +16 -0
- package/dist/monitoring/app-health.indicator.d.ts.map +1 -0
- package/dist/monitoring/app-health.indicator.js +45 -0
- package/dist/monitoring/app-health.indicator.js.map +1 -0
- package/dist/monitoring/docker-health.indicator.d.ts +19 -0
- package/dist/monitoring/docker-health.indicator.d.ts.map +1 -0
- package/dist/monitoring/docker-health.indicator.js +52 -0
- package/dist/monitoring/docker-health.indicator.js.map +1 -0
- package/dist/monitoring/health.service.d.ts +14 -0
- package/dist/monitoring/health.service.d.ts.map +1 -0
- package/dist/monitoring/health.service.js +50 -0
- package/dist/monitoring/health.service.js.map +1 -0
- package/dist/monitoring/log-manager.d.ts +88 -0
- package/dist/monitoring/log-manager.d.ts.map +1 -0
- package/dist/monitoring/log-manager.js +353 -0
- package/dist/monitoring/log-manager.js.map +1 -0
- package/dist/monitoring/metrics.service.d.ts +14 -0
- package/dist/monitoring/metrics.service.d.ts.map +1 -0
- package/dist/monitoring/metrics.service.js +40 -0
- package/dist/monitoring/metrics.service.js.map +1 -0
- package/dist/orchestrator/app-handle.d.ts +51 -0
- package/dist/orchestrator/app-handle.d.ts.map +1 -0
- package/dist/orchestrator/app-handle.js +90 -0
- package/dist/orchestrator/app-handle.js.map +1 -0
- package/dist/orchestrator/bootstrap-loader.d.ts +36 -0
- package/dist/orchestrator/bootstrap-loader.d.ts.map +1 -0
- package/dist/orchestrator/bootstrap-loader.js +118 -0
- package/dist/orchestrator/bootstrap-loader.js.map +1 -0
- package/dist/orchestrator/bootstrap-process.d.ts +73 -0
- package/dist/orchestrator/bootstrap-process.d.ts.map +1 -0
- package/dist/orchestrator/bootstrap-process.js +342 -0
- package/dist/orchestrator/bootstrap-process.js.map +1 -0
- package/dist/orchestrator/bootstrap-runner.d.ts +15 -0
- package/dist/orchestrator/bootstrap-runner.d.ts.map +1 -0
- package/dist/orchestrator/bootstrap-runner.js +152 -0
- package/dist/orchestrator/bootstrap-runner.js.map +1 -0
- package/dist/orchestrator/build-service.d.ts +70 -0
- package/dist/orchestrator/build-service.d.ts.map +1 -0
- package/dist/orchestrator/build-service.js +313 -0
- package/dist/orchestrator/build-service.js.map +1 -0
- package/dist/orchestrator/classic-launcher.d.ts +17 -0
- package/dist/orchestrator/classic-launcher.d.ts.map +1 -0
- package/dist/orchestrator/classic-launcher.js +111 -0
- package/dist/orchestrator/classic-launcher.js.map +1 -0
- package/dist/orchestrator/dependency-resolver.d.ts +14 -0
- package/dist/orchestrator/dependency-resolver.d.ts.map +1 -0
- package/dist/orchestrator/dependency-resolver.js +56 -0
- package/dist/orchestrator/dependency-resolver.js.map +1 -0
- package/dist/orchestrator/file-watcher.d.ts +53 -0
- package/dist/orchestrator/file-watcher.d.ts.map +1 -0
- package/dist/orchestrator/file-watcher.js +307 -0
- package/dist/orchestrator/file-watcher.js.map +1 -0
- package/dist/orchestrator/module-worker-process.d.ts +37 -0
- package/dist/orchestrator/module-worker-process.d.ts.map +1 -0
- package/dist/orchestrator/module-worker-process.js +187 -0
- package/dist/orchestrator/module-worker-process.js.map +1 -0
- package/dist/orchestrator/orchestrator.service.d.ts +170 -0
- package/dist/orchestrator/orchestrator.service.d.ts.map +1 -0
- package/dist/orchestrator/orchestrator.service.js +1146 -0
- package/dist/orchestrator/orchestrator.service.js.map +1 -0
- package/dist/orchestrator/service-router.d.ts +78 -0
- package/dist/orchestrator/service-router.d.ts.map +1 -0
- package/dist/orchestrator/service-router.js +148 -0
- package/dist/orchestrator/service-router.js.map +1 -0
- package/dist/orchestrator/topology-proxy.d.ts +65 -0
- package/dist/orchestrator/topology-proxy.d.ts.map +1 -0
- package/dist/orchestrator/topology-proxy.js +209 -0
- package/dist/orchestrator/topology-proxy.js.map +1 -0
- package/dist/orchestrator/topology-relay.d.ts +111 -0
- package/dist/orchestrator/topology-relay.d.ts.map +1 -0
- package/dist/orchestrator/topology-relay.js +255 -0
- package/dist/orchestrator/topology-relay.js.map +1 -0
- package/dist/orchestrator/ts-compiler.d.ts +55 -0
- package/dist/orchestrator/ts-compiler.d.ts.map +1 -0
- package/dist/orchestrator/ts-compiler.js +166 -0
- package/dist/orchestrator/ts-compiler.js.map +1 -0
- package/dist/project/artifact-builder.d.ts +63 -0
- package/dist/project/artifact-builder.d.ts.map +1 -0
- package/dist/project/artifact-builder.js +193 -0
- package/dist/project/artifact-builder.js.map +1 -0
- package/dist/project/config-resolver.d.ts +110 -0
- package/dist/project/config-resolver.d.ts.map +1 -0
- package/dist/project/config-resolver.js +563 -0
- package/dist/project/config-resolver.js.map +1 -0
- package/dist/project/dependency-analyzer.d.ts +53 -0
- package/dist/project/dependency-analyzer.d.ts.map +1 -0
- package/dist/project/dependency-analyzer.js +135 -0
- package/dist/project/dependency-analyzer.js.map +1 -0
- package/dist/project/index.d.ts +10 -0
- package/dist/project/index.d.ts.map +1 -0
- package/dist/project/index.js +6 -0
- package/dist/project/index.js.map +1 -0
- package/dist/project/registry.d.ts +28 -0
- package/dist/project/registry.d.ts.map +1 -0
- package/dist/project/registry.js +117 -0
- package/dist/project/registry.js.map +1 -0
- package/dist/project/requirements-scanner.d.ts +65 -0
- package/dist/project/requirements-scanner.d.ts.map +1 -0
- package/dist/project/requirements-scanner.js +217 -0
- package/dist/project/requirements-scanner.js.map +1 -0
- package/dist/services/alert.rpc-service.d.ts +41 -0
- package/dist/services/alert.rpc-service.d.ts.map +1 -0
- package/dist/services/alert.rpc-service.js +102 -0
- package/dist/services/alert.rpc-service.js.map +1 -0
- package/dist/services/alert.service.d.ts +83 -0
- package/dist/services/alert.service.d.ts.map +1 -0
- package/dist/services/alert.service.js +277 -0
- package/dist/services/alert.service.js.map +1 -0
- package/dist/services/auth-context.d.ts +39 -0
- package/dist/services/auth-context.d.ts.map +1 -0
- package/dist/services/auth-context.js +66 -0
- package/dist/services/auth-context.js.map +1 -0
- package/dist/services/auth-middleware.d.ts +47 -0
- package/dist/services/auth-middleware.d.ts.map +1 -0
- package/dist/services/auth-middleware.js +158 -0
- package/dist/services/auth-middleware.js.map +1 -0
- package/dist/services/auth.rpc-service.d.ts +61 -0
- package/dist/services/auth.rpc-service.d.ts.map +1 -0
- package/dist/services/auth.rpc-service.js +131 -0
- package/dist/services/auth.rpc-service.js.map +1 -0
- package/dist/services/auth.service.d.ts +70 -0
- package/dist/services/auth.service.d.ts.map +1 -0
- package/dist/services/auth.service.js +310 -0
- package/dist/services/auth.service.js.map +1 -0
- package/dist/services/backup.rpc-service.d.ts +37 -0
- package/dist/services/backup.rpc-service.d.ts.map +1 -0
- package/dist/services/backup.rpc-service.js +85 -0
- package/dist/services/backup.rpc-service.js.map +1 -0
- package/dist/services/backup.service.d.ts +45 -0
- package/dist/services/backup.service.d.ts.map +1 -0
- package/dist/services/backup.service.js +299 -0
- package/dist/services/backup.service.js.map +1 -0
- package/dist/services/deploy.rpc-service.d.ts +26 -0
- package/dist/services/deploy.rpc-service.d.ts.map +1 -0
- package/dist/services/deploy.rpc-service.js +61 -0
- package/dist/services/deploy.rpc-service.js.map +1 -0
- package/dist/services/deploy.service.d.ts +85 -0
- package/dist/services/deploy.service.d.ts.map +1 -0
- package/dist/services/deploy.service.js +269 -0
- package/dist/services/deploy.service.js.map +1 -0
- package/dist/services/discovery.rpc-service.d.ts +16 -0
- package/dist/services/discovery.rpc-service.d.ts.map +1 -0
- package/dist/services/discovery.rpc-service.js +55 -0
- package/dist/services/discovery.rpc-service.js.map +1 -0
- package/dist/services/discovery.service.d.ts +43 -0
- package/dist/services/discovery.service.d.ts.map +1 -0
- package/dist/services/discovery.service.js +178 -0
- package/dist/services/discovery.service.js.map +1 -0
- package/dist/services/environment.rpc-service.d.ts +22 -0
- package/dist/services/environment.rpc-service.d.ts.map +1 -0
- package/dist/services/environment.rpc-service.js +65 -0
- package/dist/services/environment.rpc-service.js.map +1 -0
- package/dist/services/environment.service.d.ts +87 -0
- package/dist/services/environment.service.d.ts.map +1 -0
- package/dist/services/environment.service.js +220 -0
- package/dist/services/environment.service.js.map +1 -0
- package/dist/services/event-broadcaster.rpc-service.d.ts +44 -0
- package/dist/services/event-broadcaster.rpc-service.d.ts.map +1 -0
- package/dist/services/event-broadcaster.rpc-service.js +84 -0
- package/dist/services/event-broadcaster.rpc-service.js.map +1 -0
- package/dist/services/event-broadcaster.service.d.ts +42 -0
- package/dist/services/event-broadcaster.service.d.ts.map +1 -0
- package/dist/services/event-broadcaster.service.js +87 -0
- package/dist/services/event-broadcaster.service.js.map +1 -0
- package/dist/services/fleet.rpc-service.d.ts +37 -0
- package/dist/services/fleet.rpc-service.d.ts.map +1 -0
- package/dist/services/fleet.rpc-service.js +104 -0
- package/dist/services/fleet.rpc-service.js.map +1 -0
- package/dist/services/fleet.service.d.ts +104 -0
- package/dist/services/fleet.service.d.ts.map +1 -0
- package/dist/services/fleet.service.js +243 -0
- package/dist/services/fleet.service.js.map +1 -0
- package/dist/services/health-check.rpc-service.d.ts +18 -0
- package/dist/services/health-check.rpc-service.d.ts.map +1 -0
- package/dist/services/health-check.rpc-service.js +64 -0
- package/dist/services/health-check.rpc-service.js.map +1 -0
- package/dist/services/health-check.service.d.ts +53 -0
- package/dist/services/health-check.service.d.ts.map +1 -0
- package/dist/services/health-check.service.js +232 -0
- package/dist/services/health-check.service.js.map +1 -0
- package/dist/services/infrastructure.rpc-service.d.ts +18 -0
- package/dist/services/infrastructure.rpc-service.d.ts.map +1 -0
- package/dist/services/infrastructure.rpc-service.js +64 -0
- package/dist/services/infrastructure.rpc-service.js.map +1 -0
- package/dist/services/kubernetes.rpc-service.d.ts +54 -0
- package/dist/services/kubernetes.rpc-service.d.ts.map +1 -0
- package/dist/services/kubernetes.rpc-service.js +112 -0
- package/dist/services/kubernetes.rpc-service.js.map +1 -0
- package/dist/services/kubernetes.service.d.ts +71 -0
- package/dist/services/kubernetes.service.d.ts.map +1 -0
- package/dist/services/kubernetes.service.js +244 -0
- package/dist/services/kubernetes.service.js.map +1 -0
- package/dist/services/log-collector.rpc-service.d.ts +38 -0
- package/dist/services/log-collector.rpc-service.d.ts.map +1 -0
- package/dist/services/log-collector.rpc-service.js +74 -0
- package/dist/services/log-collector.rpc-service.js.map +1 -0
- package/dist/services/log-collector.service.d.ts +96 -0
- package/dist/services/log-collector.service.d.ts.map +1 -0
- package/dist/services/log-collector.service.js +303 -0
- package/dist/services/log-collector.service.js.map +1 -0
- package/dist/services/metrics-collector.service.d.ts +103 -0
- package/dist/services/metrics-collector.service.d.ts.map +1 -0
- package/dist/services/metrics-collector.service.js +235 -0
- package/dist/services/metrics-collector.service.js.map +1 -0
- package/dist/services/metrics.rpc-service.d.ts +41 -0
- package/dist/services/metrics.rpc-service.d.ts.map +1 -0
- package/dist/services/metrics.rpc-service.js +90 -0
- package/dist/services/metrics.rpc-service.js.map +1 -0
- package/dist/services/metrics.service.d.ts +72 -0
- package/dist/services/metrics.service.d.ts.map +1 -0
- package/dist/services/metrics.service.js +185 -0
- package/dist/services/metrics.service.js.map +1 -0
- package/dist/services/netron-telemetry-transport.d.ts +42 -0
- package/dist/services/netron-telemetry-transport.d.ts.map +1 -0
- package/dist/services/netron-telemetry-transport.js +97 -0
- package/dist/services/netron-telemetry-transport.js.map +1 -0
- package/dist/services/node-health.repository.d.ts +65 -0
- package/dist/services/node-health.repository.d.ts.map +1 -0
- package/dist/services/node-health.repository.js +132 -0
- package/dist/services/node-health.repository.js.map +1 -0
- package/dist/services/node-manager.rpc-service.d.ts +66 -0
- package/dist/services/node-manager.rpc-service.d.ts.map +1 -0
- package/dist/services/node-manager.rpc-service.js +229 -0
- package/dist/services/node-manager.rpc-service.js.map +1 -0
- package/dist/services/node-manager.service.d.ts +149 -0
- package/dist/services/node-manager.service.d.ts.map +1 -0
- package/dist/services/node-manager.service.js +547 -0
- package/dist/services/node-manager.service.js.map +1 -0
- package/dist/services/pipeline.rpc-service.d.ts +37 -0
- package/dist/services/pipeline.rpc-service.d.ts.map +1 -0
- package/dist/services/pipeline.rpc-service.js +102 -0
- package/dist/services/pipeline.rpc-service.js.map +1 -0
- package/dist/services/pipeline.service.d.ts +77 -0
- package/dist/services/pipeline.service.d.ts.map +1 -0
- package/dist/services/pipeline.service.js +278 -0
- package/dist/services/pipeline.service.js.map +1 -0
- package/dist/services/project.rpc-service.d.ts +73 -0
- package/dist/services/project.rpc-service.d.ts.map +1 -0
- package/dist/services/project.rpc-service.js +184 -0
- package/dist/services/project.rpc-service.js.map +1 -0
- package/dist/services/project.service.d.ts +123 -0
- package/dist/services/project.service.d.ts.map +1 -0
- package/dist/services/project.service.js +1112 -0
- package/dist/services/project.service.js.map +1 -0
- package/dist/services/remote-deployer.service.d.ts +85 -0
- package/dist/services/remote-deployer.service.d.ts.map +1 -0
- package/dist/services/remote-deployer.service.js +332 -0
- package/dist/services/remote-deployer.service.js.map +1 -0
- package/dist/services/remote-ops.service.d.ts +72 -0
- package/dist/services/remote-ops.service.d.ts.map +1 -0
- package/dist/services/remote-ops.service.js +132 -0
- package/dist/services/remote-ops.service.js.map +1 -0
- package/dist/services/secrets.rpc-service.d.ts +45 -0
- package/dist/services/secrets.rpc-service.d.ts.map +1 -0
- package/dist/services/secrets.rpc-service.js +81 -0
- package/dist/services/secrets.rpc-service.js.map +1 -0
- package/dist/services/secrets.service.d.ts +57 -0
- package/dist/services/secrets.service.d.ts.map +1 -0
- package/dist/services/secrets.service.js +211 -0
- package/dist/services/secrets.service.js.map +1 -0
- package/dist/services/slave-storage.service.d.ts +69 -0
- package/dist/services/slave-storage.service.d.ts.map +1 -0
- package/dist/services/slave-storage.service.js +131 -0
- package/dist/services/slave-storage.service.js.map +1 -0
- package/dist/services/sync.rpc-service.d.ts +37 -0
- package/dist/services/sync.rpc-service.d.ts.map +1 -0
- package/dist/services/sync.rpc-service.js +72 -0
- package/dist/services/sync.rpc-service.js.map +1 -0
- package/dist/services/sync.service.d.ts +121 -0
- package/dist/services/sync.service.d.ts.map +1 -0
- package/dist/services/sync.service.js +440 -0
- package/dist/services/sync.service.js.map +1 -0
- package/dist/services/system-info.rpc-service.d.ts +12 -0
- package/dist/services/system-info.rpc-service.d.ts.map +1 -0
- package/dist/services/system-info.rpc-service.js +37 -0
- package/dist/services/system-info.rpc-service.js.map +1 -0
- package/dist/services/system-info.service.d.ts +89 -0
- package/dist/services/system-info.service.d.ts.map +1 -0
- package/dist/services/system-info.service.js +151 -0
- package/dist/services/system-info.service.js.map +1 -0
- package/dist/services/telemetry.rpc-service.d.ts +27 -0
- package/dist/services/telemetry.rpc-service.d.ts.map +1 -0
- package/dist/services/telemetry.rpc-service.js +56 -0
- package/dist/services/telemetry.rpc-service.js.map +1 -0
- package/dist/services/telemetry.service.d.ts +31 -0
- package/dist/services/telemetry.service.d.ts.map +1 -0
- package/dist/services/telemetry.service.js +134 -0
- package/dist/services/telemetry.service.js.map +1 -0
- package/dist/services/trace-collector.rpc-service.d.ts +24 -0
- package/dist/services/trace-collector.rpc-service.d.ts.map +1 -0
- package/dist/services/trace-collector.rpc-service.js +75 -0
- package/dist/services/trace-collector.rpc-service.js.map +1 -0
- package/dist/services/trace-collector.service.d.ts +76 -0
- package/dist/services/trace-collector.service.d.ts.map +1 -0
- package/dist/services/trace-collector.service.js +201 -0
- package/dist/services/trace-collector.service.js.map +1 -0
- package/dist/shared/dto/project.d.ts +156 -0
- package/dist/shared/dto/project.d.ts.map +1 -0
- package/dist/shared/dto/project.js +8 -0
- package/dist/shared/dto/project.js.map +1 -0
- package/dist/shared/dto/services.d.ts +254 -0
- package/dist/shared/dto/services.d.ts.map +1 -0
- package/dist/shared/dto/services.js +7 -0
- package/dist/shared/dto/services.js.map +1 -0
- package/dist/shared/dto/types.d.ts +5 -0
- package/dist/shared/dto/types.d.ts.map +1 -0
- package/dist/shared/dto/types.js +5 -0
- package/dist/shared/dto/types.js.map +1 -0
- package/dist/shared/events.d.ts +215 -0
- package/dist/shared/events.d.ts.map +1 -0
- package/dist/shared/events.js +101 -0
- package/dist/shared/events.js.map +1 -0
- package/dist/shared/format.d.ts +18 -0
- package/dist/shared/format.d.ts.map +1 -0
- package/dist/shared/format.js +93 -0
- package/dist/shared/format.js.map +1 -0
- package/dist/shared/roles.d.ts +31 -0
- package/dist/shared/roles.d.ts.map +1 -0
- package/dist/shared/roles.js +39 -0
- package/dist/shared/roles.js.map +1 -0
- package/dist/shared/tokens.d.ts +70 -0
- package/dist/shared/tokens.d.ts.map +1 -0
- package/dist/shared/tokens.js +46 -0
- package/dist/shared/tokens.js.map +1 -0
- package/dist/shared/xec-loader.d.ts +17 -0
- package/dist/shared/xec-loader.d.ts.map +1 -0
- package/dist/shared/xec-loader.js +41 -0
- package/dist/shared/xec-loader.js.map +1 -0
- package/dist/supervisor/omnitron-supervisor.d.ts +21 -0
- package/dist/supervisor/omnitron-supervisor.d.ts.map +1 -0
- package/dist/supervisor/omnitron-supervisor.js +43 -0
- package/dist/supervisor/omnitron-supervisor.js.map +1 -0
- package/dist/supervisor/restart-policy.d.ts +11 -0
- package/dist/supervisor/restart-policy.d.ts.map +1 -0
- package/dist/supervisor/restart-policy.js +33 -0
- package/dist/supervisor/restart-policy.js.map +1 -0
- package/dist/webapp/static-server.d.ts +24 -0
- package/dist/webapp/static-server.d.ts.map +1 -0
- package/dist/webapp/static-server.js +152 -0
- package/dist/webapp/static-server.js.map +1 -0
- package/dist/webapp/webapp.service.d.ts +55 -0
- package/dist/webapp/webapp.service.d.ts.map +1 -0
- package/dist/webapp/webapp.service.js +233 -0
- package/dist/webapp/webapp.service.js.map +1 -0
- package/dist/workers/health-monitor-process.d.ts +41 -0
- package/dist/workers/health-monitor-process.d.ts.map +1 -0
- package/dist/workers/health-monitor-process.js +128 -0
- package/dist/workers/health-monitor-process.js.map +1 -0
- package/dist/workers/health-monitor.module.d.ts +11 -0
- package/dist/workers/health-monitor.module.d.ts.map +1 -0
- package/dist/workers/health-monitor.module.js +29 -0
- package/dist/workers/health-monitor.module.js.map +1 -0
- package/dist/workers/health-monitor.service.d.ts +55 -0
- package/dist/workers/health-monitor.service.d.ts.map +1 -0
- package/dist/workers/health-monitor.service.js +402 -0
- package/dist/workers/health-monitor.service.js.map +1 -0
- package/dist/workers/system-worker-manager.d.ts +47 -0
- package/dist/workers/system-worker-manager.d.ts.map +1 -0
- package/dist/workers/system-worker-manager.js +98 -0
- package/dist/workers/system-worker-manager.js.map +1 -0
- package/dist/workers/types.d.ts +80 -0
- package/dist/workers/types.d.ts.map +1 -0
- package/dist/workers/types.js +8 -0
- package/dist/workers/types.js.map +1 -0
- package/package.json +85 -0
- package/webapp/dist/assets/Chip-BySxTjyN.js +1 -0
- package/webapp/dist/assets/DialogContentText-YQWiAVrU.js +1 -0
- package/webapp/dist/assets/DialogTitle-CDkgUIwp.js +1 -0
- package/webapp/dist/assets/FormControlLabel-Bu3CCsBM.js +1 -0
- package/webapp/dist/assets/Grid-BFY8hAzL.js +1 -0
- package/webapp/dist/assets/InputAdornment-_Dayk-3y.js +3 -0
- package/webapp/dist/assets/Skeleton-BGj6Sw8m.js +37 -0
- package/webapp/dist/assets/Switch-CA6682vv.js +1 -0
- package/webapp/dist/assets/TableContainer-4epq10KJ.js +1 -0
- package/webapp/dist/assets/TextField-C73KHMVN.js +1 -0
- package/webapp/dist/assets/alerts-JEQALS7Y.js +1 -0
- package/webapp/dist/assets/apps-DMPysEKB.js +1 -0
- package/webapp/dist/assets/client-DlGPter5.js +110 -0
- package/webapp/dist/assets/constants-DqFQJ27U.js +1 -0
- package/webapp/dist/assets/containers-CvkC7do8.js +1 -0
- package/webapp/dist/assets/dashboard-C0Fre9pC.js +1 -0
- package/webapp/dist/assets/dashboard-builder-DAghqdpE.js +1 -0
- package/webapp/dist/assets/deployments-Cg1lI1uT.js +1 -0
- package/webapp/dist/assets/detail-CyFtEson.js +1 -0
- package/webapp/dist/assets/detail-DqoSGKT1.js +8 -0
- package/webapp/dist/assets/formatters-J3Xqn6BQ.js +1 -0
- package/webapp/dist/assets/fs-uP8eiZAR.js +1 -0
- package/webapp/dist/assets/icons-ynIWYfBP.js +3 -0
- package/webapp/dist/assets/index-CHVXOsTS.css +1 -0
- package/webapp/dist/assets/index-vKrDmEA_.js +259 -0
- package/webapp/dist/assets/inter-cyrillic-400-normal-HOLc17fK.woff +0 -0
- package/webapp/dist/assets/inter-cyrillic-400-normal-obahsSVq.woff2 +0 -0
- package/webapp/dist/assets/inter-cyrillic-500-normal-BasfLYem.woff2 +0 -0
- package/webapp/dist/assets/inter-cyrillic-500-normal-CxZf_p3X.woff +0 -0
- package/webapp/dist/assets/inter-cyrillic-600-normal-4D_pXhcN.woff +0 -0
- package/webapp/dist/assets/inter-cyrillic-600-normal-CWCymEST.woff2 +0 -0
- package/webapp/dist/assets/inter-cyrillic-700-normal-CjBOestx.woff2 +0 -0
- package/webapp/dist/assets/inter-cyrillic-700-normal-DrXBdSj3.woff +0 -0
- package/webapp/dist/assets/inter-cyrillic-ext-400-normal-BQZuk6qB.woff2 +0 -0
- package/webapp/dist/assets/inter-cyrillic-ext-400-normal-DQukG94-.woff +0 -0
- package/webapp/dist/assets/inter-cyrillic-ext-500-normal-B0yAr1jD.woff2 +0 -0
- package/webapp/dist/assets/inter-cyrillic-ext-500-normal-BmqWE9Dz.woff +0 -0
- package/webapp/dist/assets/inter-cyrillic-ext-600-normal-Bcila6Z-.woff +0 -0
- package/webapp/dist/assets/inter-cyrillic-ext-600-normal-Dfes3d0z.woff2 +0 -0
- package/webapp/dist/assets/inter-cyrillic-ext-700-normal-BjwYoWNd.woff2 +0 -0
- package/webapp/dist/assets/inter-cyrillic-ext-700-normal-LO58E6JB.woff +0 -0
- package/webapp/dist/assets/inter-greek-400-normal-B4URO6DV.woff2 +0 -0
- package/webapp/dist/assets/inter-greek-400-normal-q2sYcFCs.woff +0 -0
- package/webapp/dist/assets/inter-greek-500-normal-BIZE56-Y.woff2 +0 -0
- package/webapp/dist/assets/inter-greek-500-normal-Xzm54t5V.woff +0 -0
- package/webapp/dist/assets/inter-greek-600-normal-BZpKdvQh.woff +0 -0
- package/webapp/dist/assets/inter-greek-600-normal-plRanbMR.woff2 +0 -0
- package/webapp/dist/assets/inter-greek-700-normal-BUv2fZ6O.woff +0 -0
- package/webapp/dist/assets/inter-greek-700-normal-C3JjAnD8.woff2 +0 -0
- package/webapp/dist/assets/inter-greek-ext-400-normal-DGGRlc-M.woff2 +0 -0
- package/webapp/dist/assets/inter-greek-ext-400-normal-KugGGMne.woff +0 -0
- package/webapp/dist/assets/inter-greek-ext-500-normal-2j5mBUwD.woff +0 -0
- package/webapp/dist/assets/inter-greek-ext-500-normal-C4iEst2y.woff2 +0 -0
- package/webapp/dist/assets/inter-greek-ext-600-normal-B8X0CLgF.woff +0 -0
- package/webapp/dist/assets/inter-greek-ext-600-normal-DRtmH8MT.woff2 +0 -0
- package/webapp/dist/assets/inter-greek-ext-700-normal-BoQ6DsYi.woff +0 -0
- package/webapp/dist/assets/inter-greek-ext-700-normal-qfdV9bQt.woff2 +0 -0
- package/webapp/dist/assets/inter-latin-400-normal-C38fXH4l.woff2 +0 -0
- package/webapp/dist/assets/inter-latin-400-normal-CyCys3Eg.woff +0 -0
- package/webapp/dist/assets/inter-latin-500-normal-BL9OpVg8.woff +0 -0
- package/webapp/dist/assets/inter-latin-500-normal-Cerq10X2.woff2 +0 -0
- package/webapp/dist/assets/inter-latin-600-normal-CiBQ2DWP.woff +0 -0
- package/webapp/dist/assets/inter-latin-600-normal-LgqL8muc.woff2 +0 -0
- package/webapp/dist/assets/inter-latin-700-normal-BLAVimhd.woff +0 -0
- package/webapp/dist/assets/inter-latin-700-normal-Yt3aPRUw.woff2 +0 -0
- package/webapp/dist/assets/inter-latin-ext-400-normal-77YHD8bZ.woff +0 -0
- package/webapp/dist/assets/inter-latin-ext-400-normal-C1nco2VV.woff2 +0 -0
- package/webapp/dist/assets/inter-latin-ext-500-normal-BxGbmqWO.woff +0 -0
- package/webapp/dist/assets/inter-latin-ext-500-normal-CV4jyFjo.woff2 +0 -0
- package/webapp/dist/assets/inter-latin-ext-600-normal-CIVaiw4L.woff +0 -0
- package/webapp/dist/assets/inter-latin-ext-600-normal-D2bJ5OIk.woff2 +0 -0
- package/webapp/dist/assets/inter-latin-ext-700-normal-Ca8adRJv.woff2 +0 -0
- package/webapp/dist/assets/inter-latin-ext-700-normal-TidjK2hL.woff +0 -0
- package/webapp/dist/assets/inter-vietnamese-400-normal-Bbgyi5SW.woff +0 -0
- package/webapp/dist/assets/inter-vietnamese-400-normal-DMkecbls.woff2 +0 -0
- package/webapp/dist/assets/inter-vietnamese-500-normal-DOriooB6.woff2 +0 -0
- package/webapp/dist/assets/inter-vietnamese-500-normal-mJboJaSs.woff +0 -0
- package/webapp/dist/assets/inter-vietnamese-600-normal-BuLX-rYi.woff +0 -0
- package/webapp/dist/assets/inter-vietnamese-600-normal-Cc8MFFhd.woff2 +0 -0
- package/webapp/dist/assets/inter-vietnamese-700-normal-BZaoP0fm.woff +0 -0
- package/webapp/dist/assets/inter-vietnamese-700-normal-DlLaEgI2.woff2 +0 -0
- package/webapp/dist/assets/isMuiElement-BRL3YuCT.js +1 -0
- package/webapp/dist/assets/logs-IovIij1C.js +11 -0
- package/webapp/dist/assets/metrics-Dufwtwjq.js +1 -0
- package/webapp/dist/assets/nodes-Brvu8W3j.js +7 -0
- package/webapp/dist/assets/pipelines-t40X4MuC.js +4 -0
- package/webapp/dist/assets/prop-types-CvVtHxp4.js +1 -0
- package/webapp/dist/assets/react-apexcharts.esm-CLO6gala.js +954 -0
- package/webapp/dist/assets/settings-DTAIST3v.js +1 -0
- package/webapp/dist/assets/sign-in-DQEAkJum.js +1 -0
- package/webapp/dist/assets/stacks-BjM1f45N.js +1 -0
- package/webapp/dist/assets/system-info-BQSbSEK-.js +1 -0
- package/webapp/dist/assets/topology-6N8-Az_Z.js +12 -0
- package/webapp/dist/assets/topology-CHpVij2M.css +1 -0
- package/webapp/dist/assets/traces-DVXyb-4m.js +1 -0
- package/webapp/dist/assets/use-stack-context-CbE8fxBA.js +1 -0
- package/webapp/dist/favicon.png +0 -0
- package/webapp/dist/index.html +19 -0
- package/webapp/dist/logo.svg +80 -0
|
@@ -0,0 +1,768 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* Omnitron CLI — Production-grade Titan Application Supervisor
|
|
4
|
+
*
|
|
5
|
+
* Entry point. Uses commander for command parsing,
|
|
6
|
+
* @xec-sh/kit for TUI rendering.
|
|
7
|
+
*/
|
|
8
|
+
import { Command } from 'commander';
|
|
9
|
+
import { CLI_VERSION } from '../config/defaults.js';
|
|
10
|
+
const program = new Command();
|
|
11
|
+
program.name('omnitron').description('Production-grade Titan application supervisor').version(CLI_VERSION);
|
|
12
|
+
// ============================================================================
|
|
13
|
+
// Daemon Lifecycle
|
|
14
|
+
// ============================================================================
|
|
15
|
+
program
|
|
16
|
+
.command('up')
|
|
17
|
+
.description('Start omnitron daemon (background by default)')
|
|
18
|
+
.option('-c, --config <path>', 'Path to omnitron.config.ts (default: auto-detect)')
|
|
19
|
+
.option('-p, --project <name>', 'Initial project (default: auto-detect from CWD)')
|
|
20
|
+
.option('-f, --foreground', 'Run in foreground (block terminal)')
|
|
21
|
+
.option('--no-infra', 'Skip Docker infrastructure provisioning')
|
|
22
|
+
.option('--no-watch', 'Disable file watching for dev stacks')
|
|
23
|
+
.option('--master', 'Configure as master node (first-run setup)')
|
|
24
|
+
.option('--slave [address]', 'Configure as slave node (first-run setup). Optional: host:port of master')
|
|
25
|
+
.option('--webapp', 'Enable Console UI (webapp) auto-start')
|
|
26
|
+
.option('--no-webapp', 'Disable Console UI (webapp) auto-start')
|
|
27
|
+
.action(async (opts) => {
|
|
28
|
+
const { upCommand } = await import('../commands/up.js');
|
|
29
|
+
await upCommand({
|
|
30
|
+
configPath: opts.config,
|
|
31
|
+
project: opts.project,
|
|
32
|
+
foreground: opts.foreground,
|
|
33
|
+
noInfra: opts.infra === false,
|
|
34
|
+
noWatch: opts.watch === false,
|
|
35
|
+
master: opts.master,
|
|
36
|
+
slave: opts.slave,
|
|
37
|
+
webapp: opts.webapp,
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
program
|
|
41
|
+
.command('down')
|
|
42
|
+
.description('Stop omnitron daemon — stops all projects, stacks, infrastructure')
|
|
43
|
+
.action(async () => {
|
|
44
|
+
const { downCommand } = await import('../commands/up.js');
|
|
45
|
+
await downCommand();
|
|
46
|
+
});
|
|
47
|
+
// ============================================================================
|
|
48
|
+
// Project Management
|
|
49
|
+
// ============================================================================
|
|
50
|
+
const project = program.command('project').aliases(['proj']).description('Manage seed projects');
|
|
51
|
+
project
|
|
52
|
+
.command('add <name> <path>')
|
|
53
|
+
.description('Register a seed project (directory with omnitron.config.ts)')
|
|
54
|
+
.action(async (name, projectPath) => {
|
|
55
|
+
const { projectAddCommand } = await import('../commands/project.js');
|
|
56
|
+
await projectAddCommand(name, projectPath);
|
|
57
|
+
});
|
|
58
|
+
project
|
|
59
|
+
.command('list')
|
|
60
|
+
.description('List registered projects')
|
|
61
|
+
.action(async () => {
|
|
62
|
+
const { projectListCommand } = await import('../commands/project.js');
|
|
63
|
+
await projectListCommand();
|
|
64
|
+
});
|
|
65
|
+
project
|
|
66
|
+
.command('remove <name>')
|
|
67
|
+
.description('Remove a project from registry')
|
|
68
|
+
.action(async (name) => {
|
|
69
|
+
const { projectRemoveCommand } = await import('../commands/project.js');
|
|
70
|
+
await projectRemoveCommand(name);
|
|
71
|
+
});
|
|
72
|
+
project
|
|
73
|
+
.command('scan')
|
|
74
|
+
.description('Scan app bootstraps and show infrastructure requirements')
|
|
75
|
+
.action(async () => {
|
|
76
|
+
const { loadEcosystemConfig } = await import('../config/loader.js');
|
|
77
|
+
const { scanRequirements, formatRequirements } = await import('../project/requirements-scanner.js');
|
|
78
|
+
const config = await loadEcosystemConfig();
|
|
79
|
+
const reqs = await scanRequirements(config.apps, process.cwd());
|
|
80
|
+
process.stdout.write(formatRequirements(reqs) + '\n');
|
|
81
|
+
});
|
|
82
|
+
// ============================================================================
|
|
83
|
+
// Stack Management
|
|
84
|
+
// ============================================================================
|
|
85
|
+
const stack = program.command('stack').aliases(['stacks']).description('Manage deployment stacks across projects');
|
|
86
|
+
stack
|
|
87
|
+
.command('list')
|
|
88
|
+
.description('List all stacks across all projects')
|
|
89
|
+
.option('-p, --project <name>', 'Filter to specific project')
|
|
90
|
+
.action(async (opts) => {
|
|
91
|
+
const { stackListCommand } = await import('../commands/stack.js');
|
|
92
|
+
await stackListCommand({ project: opts.project });
|
|
93
|
+
});
|
|
94
|
+
stack
|
|
95
|
+
.command('create <project> <stack>')
|
|
96
|
+
.description('Create a new stack')
|
|
97
|
+
.option('-t, --type <type>', 'Stack type: local, remote, cluster', 'local')
|
|
98
|
+
.option('-a, --apps <apps>', 'Comma-separated app names, or "all"', 'all')
|
|
99
|
+
.action(async (projectName, stackName, opts) => {
|
|
100
|
+
const { stackCreateCommand } = await import('../commands/stack.js');
|
|
101
|
+
await stackCreateCommand(projectName, stackName, opts);
|
|
102
|
+
});
|
|
103
|
+
stack
|
|
104
|
+
.command('delete <project> <stack>')
|
|
105
|
+
.description('Delete a stack (must be stopped first)')
|
|
106
|
+
.action(async (projectName, stackName) => {
|
|
107
|
+
const { stackDeleteCommand } = await import('../commands/stack.js');
|
|
108
|
+
await stackDeleteCommand(projectName, stackName);
|
|
109
|
+
});
|
|
110
|
+
stack
|
|
111
|
+
.command('status <project> <stack>')
|
|
112
|
+
.description('Show stack detail (apps, nodes, infrastructure, sync)')
|
|
113
|
+
.action(async (projectName, stackName) => {
|
|
114
|
+
const { stackStatusCommand } = await import('../commands/stack.js');
|
|
115
|
+
await stackStatusCommand(projectName, stackName);
|
|
116
|
+
});
|
|
117
|
+
stack
|
|
118
|
+
.command('start <project> <stack>')
|
|
119
|
+
.description('Start a stack — provision infra + deploy + start apps')
|
|
120
|
+
.action(async (projectName, stackName) => {
|
|
121
|
+
const { stackStartCommand } = await import('../commands/stack.js');
|
|
122
|
+
await stackStartCommand(projectName, stackName);
|
|
123
|
+
});
|
|
124
|
+
stack
|
|
125
|
+
.command('stop <project> <stack>')
|
|
126
|
+
.description('Stop a stack — stop apps + disconnect slaves + teardown infra')
|
|
127
|
+
.action(async (projectName, stackName) => {
|
|
128
|
+
const { stackStopCommand } = await import('../commands/stack.js');
|
|
129
|
+
await stackStopCommand(projectName, stackName);
|
|
130
|
+
});
|
|
131
|
+
stack
|
|
132
|
+
.command('runtime <project> <stack>')
|
|
133
|
+
.description('Show stack runtime status as JSON')
|
|
134
|
+
.action(async (projectName, stackName) => {
|
|
135
|
+
const { stackRuntimeCommand } = await import('../commands/stack.js');
|
|
136
|
+
await stackRuntimeCommand(projectName, stackName);
|
|
137
|
+
});
|
|
138
|
+
// ============================================================================
|
|
139
|
+
// App Management
|
|
140
|
+
// ============================================================================
|
|
141
|
+
program
|
|
142
|
+
.command('start [app]')
|
|
143
|
+
.description('Start app(s), auto-starts daemon if needed')
|
|
144
|
+
.action(async (app) => {
|
|
145
|
+
const { startCommand } = await import('../commands/start.js');
|
|
146
|
+
await startCommand(app);
|
|
147
|
+
});
|
|
148
|
+
program
|
|
149
|
+
.command('stop [app]')
|
|
150
|
+
.description('Stop app(s) gracefully')
|
|
151
|
+
.option('-f, --force', 'Force kill')
|
|
152
|
+
.action(async (app, opts) => {
|
|
153
|
+
const { stopCommand } = await import('../commands/stop.js');
|
|
154
|
+
await stopCommand(app, opts);
|
|
155
|
+
});
|
|
156
|
+
program
|
|
157
|
+
.command('restart [app]')
|
|
158
|
+
.description('Restart app(s)')
|
|
159
|
+
.action(async (app) => {
|
|
160
|
+
const { restartCommand } = await import('../commands/restart.js');
|
|
161
|
+
await restartCommand(app);
|
|
162
|
+
});
|
|
163
|
+
program
|
|
164
|
+
.command('reload [app]')
|
|
165
|
+
.description('Zero-downtime reload')
|
|
166
|
+
.action(async (app) => {
|
|
167
|
+
const { reloadCommand } = await import('../commands/reload.js');
|
|
168
|
+
await reloadCommand(app);
|
|
169
|
+
});
|
|
170
|
+
// ============================================================================
|
|
171
|
+
// Information
|
|
172
|
+
// ============================================================================
|
|
173
|
+
program
|
|
174
|
+
.command('list')
|
|
175
|
+
.aliases(['ls'])
|
|
176
|
+
.description('List all managed processes')
|
|
177
|
+
.action(async () => {
|
|
178
|
+
const { listCommand } = await import('../commands/list.js');
|
|
179
|
+
await listCommand();
|
|
180
|
+
});
|
|
181
|
+
program
|
|
182
|
+
.command('status')
|
|
183
|
+
.description('Show daemon status overview')
|
|
184
|
+
.action(async () => {
|
|
185
|
+
const { statusCommand } = await import('../commands/status.js');
|
|
186
|
+
await statusCommand();
|
|
187
|
+
});
|
|
188
|
+
// ============================================================================
|
|
189
|
+
// Monitoring
|
|
190
|
+
// ============================================================================
|
|
191
|
+
program
|
|
192
|
+
.command('logs [app]')
|
|
193
|
+
.description('View logs (omit app for daemon log, specify app name for app log)')
|
|
194
|
+
.option('-f, --follow', 'Follow log output')
|
|
195
|
+
.option('-n, --lines <N>', 'Number of lines', '50')
|
|
196
|
+
.option('-l, --level <level>', 'Minimum log level (trace|debug|info|warn|error|fatal)')
|
|
197
|
+
.option('-g, --grep <pattern>', 'Filter by message pattern (regex)')
|
|
198
|
+
.option('--file', 'Read from log files instead of daemon (auto when daemon offline)')
|
|
199
|
+
.action(async (app, opts) => {
|
|
200
|
+
const { logsCommand } = await import('../commands/logs.js');
|
|
201
|
+
await logsCommand(app, {
|
|
202
|
+
lines: parseInt(opts.lines, 10),
|
|
203
|
+
follow: opts.follow,
|
|
204
|
+
file: opts.file,
|
|
205
|
+
level: opts.level,
|
|
206
|
+
grep: opts.grep,
|
|
207
|
+
});
|
|
208
|
+
});
|
|
209
|
+
program
|
|
210
|
+
.command('monit')
|
|
211
|
+
.description('Live TUI dashboard')
|
|
212
|
+
.action(async () => {
|
|
213
|
+
const { monitCommand } = await import('../commands/monit.js');
|
|
214
|
+
await monitCommand();
|
|
215
|
+
});
|
|
216
|
+
program
|
|
217
|
+
.command('health [app]')
|
|
218
|
+
.description('Health check report')
|
|
219
|
+
.action(async (app) => {
|
|
220
|
+
const { healthCommand } = await import('../commands/health.js');
|
|
221
|
+
await healthCommand(app);
|
|
222
|
+
});
|
|
223
|
+
program
|
|
224
|
+
.command('metrics [app]')
|
|
225
|
+
.description('Show CPU/memory/latency metrics')
|
|
226
|
+
.action(async (app) => {
|
|
227
|
+
const { metricsCommand } = await import('../commands/metrics.js');
|
|
228
|
+
await metricsCommand(app);
|
|
229
|
+
});
|
|
230
|
+
// ============================================================================
|
|
231
|
+
// Scaling
|
|
232
|
+
// ============================================================================
|
|
233
|
+
program
|
|
234
|
+
.command('scale <app> <count>')
|
|
235
|
+
.description('Scale app instances')
|
|
236
|
+
.action(async (app, count) => {
|
|
237
|
+
const { scaleCommand } = await import('../commands/scale.js');
|
|
238
|
+
await scaleCommand(app, count);
|
|
239
|
+
});
|
|
240
|
+
// ============================================================================
|
|
241
|
+
// Diagnostics
|
|
242
|
+
// ============================================================================
|
|
243
|
+
program
|
|
244
|
+
.command('inspect <app>')
|
|
245
|
+
.description('Deep diagnostics for an app')
|
|
246
|
+
.action(async (app) => {
|
|
247
|
+
const { inspectCommand } = await import('../commands/inspect.js');
|
|
248
|
+
await inspectCommand(app);
|
|
249
|
+
});
|
|
250
|
+
program
|
|
251
|
+
.command('exec <app> <service> <method> [args...]')
|
|
252
|
+
.description('Invoke an RPC method on a managed app')
|
|
253
|
+
.action(async (app, service, method, args) => {
|
|
254
|
+
const { execCommand } = await import('../commands/exec.js');
|
|
255
|
+
await execCommand(app, service, method, args);
|
|
256
|
+
});
|
|
257
|
+
program
|
|
258
|
+
.command('env <app>')
|
|
259
|
+
.description('Show resolved environment variables')
|
|
260
|
+
.action(async (app) => {
|
|
261
|
+
const { envCommand } = await import('../commands/env.js');
|
|
262
|
+
await envCommand(app);
|
|
263
|
+
});
|
|
264
|
+
// ============================================================================
|
|
265
|
+
// Infrastructure
|
|
266
|
+
// ============================================================================
|
|
267
|
+
const remote = program.command('remote').description('Manage remote daemon servers');
|
|
268
|
+
remote
|
|
269
|
+
.command('add <alias> <host>')
|
|
270
|
+
.description('Register a remote daemon server')
|
|
271
|
+
.option('-p, --port <port>', 'Daemon port', '9700')
|
|
272
|
+
.option('-t, --tags <tags>', 'Comma-separated tags')
|
|
273
|
+
.action(async (alias, host, opts) => {
|
|
274
|
+
const { remoteAddCommand } = await import('../commands/remote.js');
|
|
275
|
+
await remoteAddCommand(alias, host, opts);
|
|
276
|
+
});
|
|
277
|
+
remote
|
|
278
|
+
.command('remove <alias>')
|
|
279
|
+
.description('Remove a remote server')
|
|
280
|
+
.action(async (alias) => {
|
|
281
|
+
const { remoteRemoveCommand } = await import('../commands/remote.js');
|
|
282
|
+
await remoteRemoveCommand(alias);
|
|
283
|
+
});
|
|
284
|
+
remote
|
|
285
|
+
.command('list')
|
|
286
|
+
.description('List registered remote servers')
|
|
287
|
+
.action(async () => {
|
|
288
|
+
const { remoteListCommand } = await import('../commands/remote.js');
|
|
289
|
+
await remoteListCommand();
|
|
290
|
+
});
|
|
291
|
+
remote
|
|
292
|
+
.command('status <alias>')
|
|
293
|
+
.description('Check remote server status')
|
|
294
|
+
.action(async (alias) => {
|
|
295
|
+
const { remoteStatusCommand } = await import('../commands/remote.js');
|
|
296
|
+
await remoteStatusCommand(alias);
|
|
297
|
+
});
|
|
298
|
+
// ============================================================================
|
|
299
|
+
// Fleet
|
|
300
|
+
// ============================================================================
|
|
301
|
+
const fleet = program.command('fleet').description('Fleet-wide operations across remote servers');
|
|
302
|
+
fleet
|
|
303
|
+
.command('status')
|
|
304
|
+
.description('Aggregated fleet status')
|
|
305
|
+
.action(async () => {
|
|
306
|
+
const { fleetStatusCommand } = await import('../commands/fleet.js');
|
|
307
|
+
await fleetStatusCommand();
|
|
308
|
+
});
|
|
309
|
+
fleet
|
|
310
|
+
.command('health')
|
|
311
|
+
.description('Fleet-wide health report')
|
|
312
|
+
.action(async () => {
|
|
313
|
+
const { fleetHealthCommand } = await import('../commands/fleet.js');
|
|
314
|
+
await fleetHealthCommand();
|
|
315
|
+
});
|
|
316
|
+
fleet
|
|
317
|
+
.command('metrics')
|
|
318
|
+
.description('Fleet-wide metrics')
|
|
319
|
+
.action(async () => {
|
|
320
|
+
const { fleetMetricsCommand } = await import('../commands/fleet.js');
|
|
321
|
+
await fleetMetricsCommand();
|
|
322
|
+
});
|
|
323
|
+
// ============================================================================
|
|
324
|
+
// Cluster
|
|
325
|
+
// ============================================================================
|
|
326
|
+
const cluster = program.command('cluster').description('Cluster management — leader election, state');
|
|
327
|
+
cluster
|
|
328
|
+
.command('status')
|
|
329
|
+
.description('Show cluster state: leader, followers, election term')
|
|
330
|
+
.action(async () => {
|
|
331
|
+
const { clusterStatusCommand } = await import('../commands/cluster.js');
|
|
332
|
+
await clusterStatusCommand();
|
|
333
|
+
});
|
|
334
|
+
cluster
|
|
335
|
+
.command('step-down')
|
|
336
|
+
.description('Force the current leader to step down (triggers new election)')
|
|
337
|
+
.action(async () => {
|
|
338
|
+
const { clusterStepDownCommand } = await import('../commands/cluster.js');
|
|
339
|
+
await clusterStepDownCommand();
|
|
340
|
+
});
|
|
341
|
+
// ============================================================================
|
|
342
|
+
// Secrets
|
|
343
|
+
// ============================================================================
|
|
344
|
+
const secret = program.command('secret').description('Encrypted secrets management');
|
|
345
|
+
secret
|
|
346
|
+
.command('set <key> <value>')
|
|
347
|
+
.description('Set a secret (encrypted at rest)')
|
|
348
|
+
.action(async (key, value) => {
|
|
349
|
+
const { secretSetCommand } = await import('../commands/secret.js');
|
|
350
|
+
await secretSetCommand(key, value);
|
|
351
|
+
});
|
|
352
|
+
secret
|
|
353
|
+
.command('get <key>')
|
|
354
|
+
.description('Get a secret value')
|
|
355
|
+
.action(async (key) => {
|
|
356
|
+
const { secretGetCommand } = await import('../commands/secret.js');
|
|
357
|
+
await secretGetCommand(key);
|
|
358
|
+
});
|
|
359
|
+
secret
|
|
360
|
+
.command('list')
|
|
361
|
+
.description('List all secret keys (values hidden)')
|
|
362
|
+
.action(async () => {
|
|
363
|
+
const { secretListCommand } = await import('../commands/secret.js');
|
|
364
|
+
await secretListCommand();
|
|
365
|
+
});
|
|
366
|
+
secret
|
|
367
|
+
.command('delete <key>')
|
|
368
|
+
.description('Delete a secret')
|
|
369
|
+
.action(async (key) => {
|
|
370
|
+
const { secretDeleteCommand } = await import('../commands/secret.js');
|
|
371
|
+
await secretDeleteCommand(key);
|
|
372
|
+
});
|
|
373
|
+
// ============================================================================
|
|
374
|
+
// Discovery & Health Check
|
|
375
|
+
// ============================================================================
|
|
376
|
+
program
|
|
377
|
+
.command('discover')
|
|
378
|
+
.description('Scan Docker + SSH for Omnitron-managed targets')
|
|
379
|
+
.action(async () => {
|
|
380
|
+
const { discoverCommand } = await import('../commands/discover.js');
|
|
381
|
+
await discoverCommand();
|
|
382
|
+
});
|
|
383
|
+
program
|
|
384
|
+
.command('health-check [app]')
|
|
385
|
+
.description('Detailed composable health report (HTTP/TCP probes)')
|
|
386
|
+
.action(async (app) => {
|
|
387
|
+
const { healthCheckCommand } = await import('../commands/health-check.js');
|
|
388
|
+
await healthCheckCommand(app);
|
|
389
|
+
});
|
|
390
|
+
// ============================================================================
|
|
391
|
+
// Deployment
|
|
392
|
+
// ============================================================================
|
|
393
|
+
const deploy = program.command('deploy').description('Deployment management');
|
|
394
|
+
deploy
|
|
395
|
+
.command('app <app>')
|
|
396
|
+
.description('Deploy app with strategy')
|
|
397
|
+
.option('-s, --strategy <strategy>', 'Deploy strategy (rolling|all-at-once|blue-green|canary)', 'all-at-once')
|
|
398
|
+
.option('-v, --version <version>', 'Version label (git sha, tag, or custom)')
|
|
399
|
+
.option('-t, --target <server>', 'Target server alias or tag')
|
|
400
|
+
.action(async (app, opts) => {
|
|
401
|
+
const { deployCommand } = await import('../commands/deploy.js');
|
|
402
|
+
await deployCommand(app, opts);
|
|
403
|
+
});
|
|
404
|
+
deploy
|
|
405
|
+
.command('build <app>')
|
|
406
|
+
.description('Build deployment artifact (tarball of app + workspace deps)')
|
|
407
|
+
.action(async (app) => {
|
|
408
|
+
const { projectBuildCommand } = await import('../commands/deploy.js');
|
|
409
|
+
await projectBuildCommand(app);
|
|
410
|
+
});
|
|
411
|
+
program
|
|
412
|
+
.command('rollback <app>')
|
|
413
|
+
.description('Rollback app to previous version')
|
|
414
|
+
.option('-t, --target <server>', 'Target server alias or tag')
|
|
415
|
+
.action(async (app, opts) => {
|
|
416
|
+
const { rollbackCommand } = await import('../commands/deploy.js');
|
|
417
|
+
await rollbackCommand(app, opts);
|
|
418
|
+
});
|
|
419
|
+
// ============================================================================
|
|
420
|
+
// Infrastructure Management
|
|
421
|
+
// ============================================================================
|
|
422
|
+
const infra = program.command('infra').description('Manage infrastructure containers (PostgreSQL, Redis, MinIO, etc.)');
|
|
423
|
+
infra
|
|
424
|
+
.command('up')
|
|
425
|
+
.description('Provision and start all infrastructure services')
|
|
426
|
+
.action(async () => {
|
|
427
|
+
const { infraUpCommand } = await import('../commands/infra.js');
|
|
428
|
+
await infraUpCommand();
|
|
429
|
+
});
|
|
430
|
+
infra
|
|
431
|
+
.command('down')
|
|
432
|
+
.description('Stop all infrastructure containers')
|
|
433
|
+
.option('--volumes', 'Remove data volumes (DESTRUCTIVE)')
|
|
434
|
+
.action(async (opts) => {
|
|
435
|
+
const { infraDownCommand } = await import('../commands/infra.js');
|
|
436
|
+
await infraDownCommand(opts);
|
|
437
|
+
});
|
|
438
|
+
infra
|
|
439
|
+
.command('status')
|
|
440
|
+
.aliases(['ps'])
|
|
441
|
+
.description('Show infrastructure container status')
|
|
442
|
+
.action(async () => {
|
|
443
|
+
const { infraStatusCommand } = await import('../commands/infra.js');
|
|
444
|
+
await infraStatusCommand();
|
|
445
|
+
});
|
|
446
|
+
infra
|
|
447
|
+
.command('logs [service]')
|
|
448
|
+
.description('View infrastructure service logs')
|
|
449
|
+
.option('-f, --follow', 'Follow log output')
|
|
450
|
+
.option('-n, --lines <N>', 'Number of lines', '50')
|
|
451
|
+
.action(async (service, opts) => {
|
|
452
|
+
const { infraLogsCommand } = await import('../commands/infra.js');
|
|
453
|
+
await infraLogsCommand(service, opts);
|
|
454
|
+
});
|
|
455
|
+
infra
|
|
456
|
+
.command('psql [database]')
|
|
457
|
+
.description('Open psql shell to PostgreSQL')
|
|
458
|
+
.action(async (database) => {
|
|
459
|
+
const { infraPsqlCommand } = await import('../commands/infra.js');
|
|
460
|
+
await infraPsqlCommand(database);
|
|
461
|
+
});
|
|
462
|
+
infra
|
|
463
|
+
.command('redis-cli')
|
|
464
|
+
.description('Open redis-cli shell')
|
|
465
|
+
.action(async () => {
|
|
466
|
+
const { infraRedisCliCommand } = await import('../commands/infra.js');
|
|
467
|
+
await infraRedisCliCommand();
|
|
468
|
+
});
|
|
469
|
+
infra
|
|
470
|
+
.command('migrate [app]')
|
|
471
|
+
.description('Run database migrations')
|
|
472
|
+
.action(async (app) => {
|
|
473
|
+
const { infraMigrateCommand } = await import('../commands/infra.js');
|
|
474
|
+
await infraMigrateCommand(app);
|
|
475
|
+
});
|
|
476
|
+
infra
|
|
477
|
+
.command('reset')
|
|
478
|
+
.description('Destroy all infrastructure data and recreate (DESTRUCTIVE)')
|
|
479
|
+
.option('--yes', 'Skip confirmation prompt')
|
|
480
|
+
.action(async (opts) => {
|
|
481
|
+
const { infraResetCommand } = await import('../commands/infra.js');
|
|
482
|
+
await infraResetCommand(opts);
|
|
483
|
+
});
|
|
484
|
+
// ============================================================================
|
|
485
|
+
// CI/CD Pipelines
|
|
486
|
+
// ============================================================================
|
|
487
|
+
const pipeline = program.command('pipeline').description('CI/CD pipeline management');
|
|
488
|
+
pipeline
|
|
489
|
+
.command('list')
|
|
490
|
+
.description('List all pipelines')
|
|
491
|
+
.action(async () => {
|
|
492
|
+
const { pipelineListCommand } = await import('../commands/pipeline.js');
|
|
493
|
+
await pipelineListCommand();
|
|
494
|
+
});
|
|
495
|
+
pipeline
|
|
496
|
+
.command('run <id>')
|
|
497
|
+
.description('Execute a pipeline')
|
|
498
|
+
.action(async (id) => {
|
|
499
|
+
const { pipelineRunCommand } = await import('../commands/pipeline.js');
|
|
500
|
+
await pipelineRunCommand(id);
|
|
501
|
+
});
|
|
502
|
+
pipeline
|
|
503
|
+
.command('status <runId>')
|
|
504
|
+
.description('Check pipeline run status')
|
|
505
|
+
.action(async (runId) => {
|
|
506
|
+
const { pipelineStatusCommand } = await import('../commands/pipeline.js');
|
|
507
|
+
await pipelineStatusCommand(runId);
|
|
508
|
+
});
|
|
509
|
+
// ============================================================================
|
|
510
|
+
// Backup/Restore
|
|
511
|
+
// ============================================================================
|
|
512
|
+
const backup = program.command('backup').description('Database backup and restore');
|
|
513
|
+
backup
|
|
514
|
+
.command('create [database]')
|
|
515
|
+
.description('Create a database backup')
|
|
516
|
+
.action(async (database) => {
|
|
517
|
+
const { backupCreateCommand } = await import('../commands/backup.js');
|
|
518
|
+
await backupCreateCommand(database);
|
|
519
|
+
});
|
|
520
|
+
backup
|
|
521
|
+
.command('list')
|
|
522
|
+
.description('List available backups')
|
|
523
|
+
.action(async () => {
|
|
524
|
+
const { backupListCommand } = await import('../commands/backup.js');
|
|
525
|
+
await backupListCommand();
|
|
526
|
+
});
|
|
527
|
+
backup
|
|
528
|
+
.command('restore <id>')
|
|
529
|
+
.description('Restore from a backup')
|
|
530
|
+
.action(async (id) => {
|
|
531
|
+
const { backupRestoreCommand } = await import('../commands/backup.js');
|
|
532
|
+
await backupRestoreCommand(id);
|
|
533
|
+
});
|
|
534
|
+
// ============================================================================
|
|
535
|
+
// Kubernetes
|
|
536
|
+
// ============================================================================
|
|
537
|
+
const k8s = program.command('k8s').description('Kubernetes cluster management');
|
|
538
|
+
k8s
|
|
539
|
+
.command('pods [namespace]')
|
|
540
|
+
.description('List Kubernetes pods')
|
|
541
|
+
.action(async (namespace) => {
|
|
542
|
+
const { k8sPodsCommand } = await import('../commands/k8s.js');
|
|
543
|
+
await k8sPodsCommand(namespace);
|
|
544
|
+
});
|
|
545
|
+
const k8sDeploy = k8s.command('deploy').description('Kubernetes deployment management');
|
|
546
|
+
k8sDeploy
|
|
547
|
+
.command('scale <name> <replicas>')
|
|
548
|
+
.description('Scale a deployment')
|
|
549
|
+
.option('-n, --namespace <namespace>', 'Kubernetes namespace')
|
|
550
|
+
.action(async (name, replicas, opts) => {
|
|
551
|
+
const { k8sDeployScaleCommand } = await import('../commands/k8s.js');
|
|
552
|
+
await k8sDeployScaleCommand(name, replicas, opts.namespace);
|
|
553
|
+
});
|
|
554
|
+
// ============================================================================
|
|
555
|
+
// Node Management (infrastructure machines)
|
|
556
|
+
// ============================================================================
|
|
557
|
+
const node = program.command('node').description('Manage infrastructure nodes (machines)');
|
|
558
|
+
node
|
|
559
|
+
.command('list')
|
|
560
|
+
.alias('ls')
|
|
561
|
+
.description('List all registered nodes')
|
|
562
|
+
.action(async () => {
|
|
563
|
+
const { nodeListCommand } = await import('../commands/node.js');
|
|
564
|
+
await nodeListCommand();
|
|
565
|
+
});
|
|
566
|
+
node
|
|
567
|
+
.command('add')
|
|
568
|
+
.description('Add a remote node')
|
|
569
|
+
.requiredOption('--name <name>', 'Node display name')
|
|
570
|
+
.requiredOption('--host <host>', 'Node hostname or IP')
|
|
571
|
+
.option('--ssh-port <port>', 'SSH port', '22')
|
|
572
|
+
.option('--ssh-user <user>', 'SSH user', 'root')
|
|
573
|
+
.option('--ssh-auth <method>', 'Auth method: password|key', 'key')
|
|
574
|
+
.option('--ssh-key <path>', 'Path to SSH private key')
|
|
575
|
+
.option('--runtime <runtime>', 'Runtime: node|bun', 'node')
|
|
576
|
+
.option('--daemon-port <port>', 'Omnitron daemon port', '9700')
|
|
577
|
+
.option('--tags <tags>', 'Comma-separated tags')
|
|
578
|
+
.action(async (opts) => {
|
|
579
|
+
const { nodeAddCommand } = await import('../commands/node.js');
|
|
580
|
+
await nodeAddCommand({
|
|
581
|
+
name: opts.name,
|
|
582
|
+
host: opts.host,
|
|
583
|
+
sshPort: parseInt(opts.sshPort, 10),
|
|
584
|
+
sshUser: opts.sshUser,
|
|
585
|
+
sshAuthMethod: opts.sshAuth,
|
|
586
|
+
sshPrivateKey: opts.sshKey,
|
|
587
|
+
runtime: opts.runtime,
|
|
588
|
+
daemonPort: parseInt(opts.daemonPort, 10),
|
|
589
|
+
tags: opts.tags?.split(',').map((t) => t.trim()) ?? [],
|
|
590
|
+
});
|
|
591
|
+
});
|
|
592
|
+
node
|
|
593
|
+
.command('update <id>')
|
|
594
|
+
.description('Update a node')
|
|
595
|
+
.option('--name <name>', 'Node display name')
|
|
596
|
+
.option('--host <host>', 'Node hostname or IP')
|
|
597
|
+
.option('--ssh-port <port>', 'SSH port')
|
|
598
|
+
.option('--ssh-user <user>', 'SSH user')
|
|
599
|
+
.option('--ssh-auth <method>', 'Auth method: password|key')
|
|
600
|
+
.option('--ssh-key <path>', 'Path to SSH private key')
|
|
601
|
+
.option('--runtime <runtime>', 'Runtime: node|bun')
|
|
602
|
+
.option('--daemon-port <port>', 'Omnitron daemon port')
|
|
603
|
+
.option('--tags <tags>', 'Comma-separated tags')
|
|
604
|
+
.action(async (id, opts) => {
|
|
605
|
+
const { nodeUpdateCommand } = await import('../commands/node.js');
|
|
606
|
+
const input = {};
|
|
607
|
+
if (opts.name)
|
|
608
|
+
input['name'] = opts.name;
|
|
609
|
+
if (opts.host)
|
|
610
|
+
input['host'] = opts.host;
|
|
611
|
+
if (opts.sshPort)
|
|
612
|
+
input['sshPort'] = parseInt(opts.sshPort, 10);
|
|
613
|
+
if (opts.sshUser)
|
|
614
|
+
input['sshUser'] = opts.sshUser;
|
|
615
|
+
if (opts.sshAuth)
|
|
616
|
+
input['sshAuthMethod'] = opts.sshAuth;
|
|
617
|
+
if (opts.sshKey)
|
|
618
|
+
input['sshPrivateKey'] = opts.sshKey;
|
|
619
|
+
if (opts.runtime)
|
|
620
|
+
input['runtime'] = opts.runtime;
|
|
621
|
+
if (opts.daemonPort)
|
|
622
|
+
input['daemonPort'] = parseInt(opts.daemonPort, 10);
|
|
623
|
+
if (opts.tags)
|
|
624
|
+
input['tags'] = opts.tags.split(',').map((t) => t.trim());
|
|
625
|
+
await nodeUpdateCommand(id, input);
|
|
626
|
+
});
|
|
627
|
+
node
|
|
628
|
+
.command('remove <id>')
|
|
629
|
+
.alias('rm')
|
|
630
|
+
.description('Remove a node')
|
|
631
|
+
.action(async (id) => {
|
|
632
|
+
const { nodeRemoveCommand } = await import('../commands/node.js');
|
|
633
|
+
await nodeRemoveCommand(id);
|
|
634
|
+
});
|
|
635
|
+
node
|
|
636
|
+
.command('check [id]')
|
|
637
|
+
.description('Check node connectivity (all nodes if id omitted)')
|
|
638
|
+
.action(async (id) => {
|
|
639
|
+
const { nodeCheckCommand } = await import('../commands/node.js');
|
|
640
|
+
await nodeCheckCommand(id);
|
|
641
|
+
});
|
|
642
|
+
node
|
|
643
|
+
.command('ssh-keys')
|
|
644
|
+
.description('List available SSH private keys from ~/.ssh/')
|
|
645
|
+
.action(async () => {
|
|
646
|
+
const { nodeSshKeysCommand } = await import('../commands/node.js');
|
|
647
|
+
await nodeSshKeysCommand();
|
|
648
|
+
});
|
|
649
|
+
// ============================================================================
|
|
650
|
+
// Webapp Management
|
|
651
|
+
// ============================================================================
|
|
652
|
+
const webapp = program.command('webapp').description('Manage Omnitron Console webapp');
|
|
653
|
+
webapp
|
|
654
|
+
.command('build')
|
|
655
|
+
.description('Build webapp (vite build)')
|
|
656
|
+
.action(async () => {
|
|
657
|
+
const { webappBuildCommand } = await import('../commands/webapp.js');
|
|
658
|
+
await webappBuildCommand();
|
|
659
|
+
});
|
|
660
|
+
webapp
|
|
661
|
+
.command('start')
|
|
662
|
+
.description('Start webapp (nginx container serving static + API gateway)')
|
|
663
|
+
.option('-f, --force', 'Force recreate container even if already running')
|
|
664
|
+
.action(async (opts) => {
|
|
665
|
+
const { webappStartCommand } = await import('../commands/webapp.js');
|
|
666
|
+
await webappStartCommand({ force: opts.force });
|
|
667
|
+
});
|
|
668
|
+
webapp
|
|
669
|
+
.command('stop')
|
|
670
|
+
.description('Stop webapp nginx container')
|
|
671
|
+
.action(async () => {
|
|
672
|
+
const { webappStopCommand } = await import('../commands/webapp.js');
|
|
673
|
+
await webappStopCommand();
|
|
674
|
+
});
|
|
675
|
+
webapp
|
|
676
|
+
.command('status')
|
|
677
|
+
.description('Show webapp status')
|
|
678
|
+
.action(async () => {
|
|
679
|
+
const { webappStatusCommand } = await import('../commands/webapp.js');
|
|
680
|
+
await webappStatusCommand();
|
|
681
|
+
});
|
|
682
|
+
webapp
|
|
683
|
+
.command('open')
|
|
684
|
+
.description('Open webapp in browser')
|
|
685
|
+
.action(async () => {
|
|
686
|
+
const { webappOpenCommand } = await import('../commands/webapp.js');
|
|
687
|
+
await webappOpenCommand();
|
|
688
|
+
});
|
|
689
|
+
// ============================================================================
|
|
690
|
+
// Utilities
|
|
691
|
+
// ============================================================================
|
|
692
|
+
program
|
|
693
|
+
.command('ping')
|
|
694
|
+
.description('Check if omnitron daemon is running')
|
|
695
|
+
.action(async () => {
|
|
696
|
+
const { daemonPing } = await import('../commands/daemon-cmd.js');
|
|
697
|
+
await daemonPing();
|
|
698
|
+
});
|
|
699
|
+
program
|
|
700
|
+
.command('kill')
|
|
701
|
+
.description('Force kill the daemon process')
|
|
702
|
+
.action(async () => {
|
|
703
|
+
const { daemonKill } = await import('../commands/daemon-cmd.js');
|
|
704
|
+
await daemonKill();
|
|
705
|
+
});
|
|
706
|
+
program
|
|
707
|
+
.command('init')
|
|
708
|
+
.description('Scaffold omnitron.config.ts in current directory')
|
|
709
|
+
.action(async () => {
|
|
710
|
+
const { initCommand } = await import('../commands/init.js');
|
|
711
|
+
await initCommand();
|
|
712
|
+
});
|
|
713
|
+
program
|
|
714
|
+
.command('config')
|
|
715
|
+
.description('Show resolved ecosystem configuration')
|
|
716
|
+
.option('--json', 'Output as JSON')
|
|
717
|
+
.action(async (opts) => {
|
|
718
|
+
const { loadEcosystemConfig } = await import('../config/loader.js');
|
|
719
|
+
const config = await loadEcosystemConfig();
|
|
720
|
+
if (opts.json) {
|
|
721
|
+
process.stdout.write(JSON.stringify(config, null, 2) + '\n');
|
|
722
|
+
}
|
|
723
|
+
else {
|
|
724
|
+
const { log } = await import('@xec-sh/kit');
|
|
725
|
+
log.info(`Project: ${config.project ?? '(unnamed)'}`);
|
|
726
|
+
log.info(`Apps: ${config.apps.map((a) => a.name).join(', ')}`);
|
|
727
|
+
if (config.infrastructure) {
|
|
728
|
+
const services = Object.keys(config.infrastructure).filter((k) => k !== 'containers');
|
|
729
|
+
const custom = config.infrastructure.containers ? Object.keys(config.infrastructure.containers) : [];
|
|
730
|
+
log.info(`Infrastructure: ${[...services, ...custom].join(', ')}`);
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
});
|
|
734
|
+
// ============================================================================
|
|
735
|
+
// Knowledge Base
|
|
736
|
+
// ============================================================================
|
|
737
|
+
const kb = program.command('kb').description('Knowledge base management');
|
|
738
|
+
kb.command('mcp')
|
|
739
|
+
.description('Start MCP server for AI assistants (stdio)')
|
|
740
|
+
.action(async () => {
|
|
741
|
+
const { kbMcpCommand } = await import('../commands/kb.js');
|
|
742
|
+
await kbMcpCommand();
|
|
743
|
+
});
|
|
744
|
+
kb.command('index')
|
|
745
|
+
.description('Reindex the knowledge base')
|
|
746
|
+
.option('--full', 'Full reindex (ignore manifest cache)')
|
|
747
|
+
.option('--watch', 'Watch for file changes and reindex incrementally')
|
|
748
|
+
.action(async (opts) => {
|
|
749
|
+
const { kbIndexCommand } = await import('../commands/kb.js');
|
|
750
|
+
await kbIndexCommand(opts);
|
|
751
|
+
});
|
|
752
|
+
kb.command('status')
|
|
753
|
+
.description('Show KB index health and statistics')
|
|
754
|
+
.action(async () => {
|
|
755
|
+
const { kbStatusCommand } = await import('../commands/kb.js');
|
|
756
|
+
await kbStatusCommand();
|
|
757
|
+
});
|
|
758
|
+
kb.command('query <question>')
|
|
759
|
+
.description('Test a query against the knowledge base')
|
|
760
|
+
.action(async (question) => {
|
|
761
|
+
const { kbQueryCommand } = await import('../commands/kb.js');
|
|
762
|
+
await kbQueryCommand(question);
|
|
763
|
+
});
|
|
764
|
+
// ============================================================================
|
|
765
|
+
// Run
|
|
766
|
+
// ============================================================================
|
|
767
|
+
program.parse();
|
|
768
|
+
//# sourceMappingURL=omnitron.js.map
|