@omnitron-dev/omnitron 0.2.0 → 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.
Files changed (1247) hide show
  1. package/dist/BUILD.json +5 -0
  2. package/dist/cli/omnitron.js +351 -29
  3. package/dist/cli/omnitron.js.map +1 -1
  4. package/dist/cluster/cluster.rpc-service.d.ts +40 -0
  5. package/dist/cluster/cluster.rpc-service.d.ts.map +1 -1
  6. package/dist/cluster/cluster.rpc-service.js +49 -3
  7. package/dist/cluster/cluster.rpc-service.js.map +1 -1
  8. package/dist/cluster/config-sync.d.ts.map +1 -1
  9. package/dist/cluster/config-sync.js.map +1 -1
  10. package/dist/cluster/leader-election.d.ts +90 -2
  11. package/dist/cluster/leader-election.d.ts.map +1 -1
  12. package/dist/cluster/leader-election.js +176 -22
  13. package/dist/cluster/leader-election.js.map +1 -1
  14. package/dist/cluster/mesh-link.d.ts +136 -0
  15. package/dist/cluster/mesh-link.d.ts.map +1 -0
  16. package/dist/cluster/mesh-link.js +212 -0
  17. package/dist/cluster/mesh-link.js.map +1 -0
  18. package/dist/cluster/mesh.d.ts +59 -0
  19. package/dist/cluster/mesh.d.ts.map +1 -0
  20. package/dist/cluster/mesh.js +117 -0
  21. package/dist/cluster/mesh.js.map +1 -0
  22. package/dist/cluster/slave-connector.d.ts +193 -9
  23. package/dist/cluster/slave-connector.d.ts.map +1 -1
  24. package/dist/cluster/slave-connector.js +409 -37
  25. package/dist/cluster/slave-connector.js.map +1 -1
  26. package/dist/commands/audit.d.ts +65 -0
  27. package/dist/commands/audit.d.ts.map +1 -0
  28. package/dist/commands/audit.js +233 -0
  29. package/dist/commands/audit.js.map +1 -0
  30. package/dist/commands/backup.d.ts +4 -0
  31. package/dist/commands/backup.d.ts.map +1 -1
  32. package/dist/commands/backup.js +255 -33
  33. package/dist/commands/backup.js.map +1 -1
  34. package/dist/commands/cluster.d.ts.map +1 -1
  35. package/dist/commands/cluster.js +78 -47
  36. package/dist/commands/cluster.js.map +1 -1
  37. package/dist/commands/daemon-cmd.d.ts +7 -1
  38. package/dist/commands/daemon-cmd.d.ts.map +1 -1
  39. package/dist/commands/daemon-cmd.js +87 -21
  40. package/dist/commands/daemon-cmd.js.map +1 -1
  41. package/dist/commands/daemon-required.d.ts +34 -0
  42. package/dist/commands/daemon-required.d.ts.map +1 -0
  43. package/dist/commands/daemon-required.js +92 -0
  44. package/dist/commands/daemon-required.js.map +1 -0
  45. package/dist/commands/deploy.d.ts +70 -8
  46. package/dist/commands/deploy.d.ts.map +1 -1
  47. package/dist/commands/deploy.js +99 -64
  48. package/dist/commands/deploy.js.map +1 -1
  49. package/dist/commands/discover.d.ts +25 -4
  50. package/dist/commands/discover.d.ts.map +1 -1
  51. package/dist/commands/discover.js +155 -102
  52. package/dist/commands/discover.js.map +1 -1
  53. package/dist/commands/doctor.d.ts +293 -0
  54. package/dist/commands/doctor.d.ts.map +1 -0
  55. package/dist/commands/doctor.js +1706 -0
  56. package/dist/commands/doctor.js.map +1 -0
  57. package/dist/commands/env.d.ts +8 -1
  58. package/dist/commands/env.d.ts.map +1 -1
  59. package/dist/commands/env.js +13 -8
  60. package/dist/commands/env.js.map +1 -1
  61. package/dist/commands/exec.d.ts.map +1 -1
  62. package/dist/commands/exec.js +3 -2
  63. package/dist/commands/exec.js.map +1 -1
  64. package/dist/commands/fleet-asking.d.ts +87 -0
  65. package/dist/commands/fleet-asking.d.ts.map +1 -0
  66. package/dist/commands/fleet-asking.js +176 -0
  67. package/dist/commands/fleet-asking.js.map +1 -0
  68. package/dist/commands/fleet.d.ts +18 -0
  69. package/dist/commands/fleet.d.ts.map +1 -1
  70. package/dist/commands/fleet.js +314 -74
  71. package/dist/commands/fleet.js.map +1 -1
  72. package/dist/commands/health-check.d.ts +8 -6
  73. package/dist/commands/health-check.d.ts.map +1 -1
  74. package/dist/commands/health-check.js +26 -23
  75. package/dist/commands/health-check.js.map +1 -1
  76. package/dist/commands/health.d.ts.map +1 -1
  77. package/dist/commands/health.js +22 -8
  78. package/dist/commands/health.js.map +1 -1
  79. package/dist/commands/infra.d.ts +42 -1
  80. package/dist/commands/infra.d.ts.map +1 -1
  81. package/dist/commands/infra.js +418 -49
  82. package/dist/commands/infra.js.map +1 -1
  83. package/dist/commands/init.d.ts.map +1 -1
  84. package/dist/commands/init.js +21 -36
  85. package/dist/commands/init.js.map +1 -1
  86. package/dist/commands/inspect-graph.d.ts.map +1 -1
  87. package/dist/commands/inspect-graph.js +2 -6
  88. package/dist/commands/inspect-graph.js.map +1 -1
  89. package/dist/commands/inspect.d.ts.map +1 -1
  90. package/dist/commands/inspect.js +110 -14
  91. package/dist/commands/inspect.js.map +1 -1
  92. package/dist/commands/k8s.d.ts.map +1 -1
  93. package/dist/commands/k8s.js +23 -18
  94. package/dist/commands/k8s.js.map +1 -1
  95. package/dist/commands/kb.d.ts.map +1 -1
  96. package/dist/commands/kb.js +88 -29
  97. package/dist/commands/kb.js.map +1 -1
  98. package/dist/commands/list.d.ts.map +1 -1
  99. package/dist/commands/list.js +21 -9
  100. package/dist/commands/list.js.map +1 -1
  101. package/dist/commands/log-health.d.ts +120 -0
  102. package/dist/commands/log-health.d.ts.map +1 -0
  103. package/dist/commands/log-health.js +212 -0
  104. package/dist/commands/log-health.js.map +1 -0
  105. package/dist/commands/logs.d.ts +96 -2
  106. package/dist/commands/logs.d.ts.map +1 -1
  107. package/dist/commands/logs.js +522 -196
  108. package/dist/commands/logs.js.map +1 -1
  109. package/dist/commands/metrics.d.ts.map +1 -1
  110. package/dist/commands/metrics.js +35 -17
  111. package/dist/commands/metrics.js.map +1 -1
  112. package/dist/commands/monit.d.ts.map +1 -1
  113. package/dist/commands/monit.js +3 -2
  114. package/dist/commands/monit.js.map +1 -1
  115. package/dist/commands/node.d.ts +68 -0
  116. package/dist/commands/node.d.ts.map +1 -1
  117. package/dist/commands/node.js +285 -68
  118. package/dist/commands/node.js.map +1 -1
  119. package/dist/commands/output.d.ts +10 -0
  120. package/dist/commands/output.d.ts.map +1 -1
  121. package/dist/commands/output.js +41 -1
  122. package/dist/commands/output.js.map +1 -1
  123. package/dist/commands/pipeline.d.ts.map +1 -1
  124. package/dist/commands/pipeline.js +26 -19
  125. package/dist/commands/pipeline.js.map +1 -1
  126. package/dist/commands/project.d.ts +19 -0
  127. package/dist/commands/project.d.ts.map +1 -1
  128. package/dist/commands/project.js +125 -27
  129. package/dist/commands/project.js.map +1 -1
  130. package/dist/commands/release-store.d.ts +28 -0
  131. package/dist/commands/release-store.d.ts.map +1 -0
  132. package/dist/commands/release-store.js +158 -0
  133. package/dist/commands/release-store.js.map +1 -0
  134. package/dist/commands/release.d.ts +61 -0
  135. package/dist/commands/release.d.ts.map +1 -0
  136. package/dist/commands/release.js +555 -0
  137. package/dist/commands/release.js.map +1 -0
  138. package/dist/commands/reload.d.ts +16 -0
  139. package/dist/commands/reload.d.ts.map +1 -1
  140. package/dist/commands/reload.js +21 -5
  141. package/dist/commands/reload.js.map +1 -1
  142. package/dist/commands/remote.d.ts +40 -0
  143. package/dist/commands/remote.d.ts.map +1 -1
  144. package/dist/commands/remote.js +146 -35
  145. package/dist/commands/remote.js.map +1 -1
  146. package/dist/commands/restart.d.ts +16 -0
  147. package/dist/commands/restart.d.ts.map +1 -1
  148. package/dist/commands/restart.js +21 -5
  149. package/dist/commands/restart.js.map +1 -1
  150. package/dist/commands/scale.d.ts.map +1 -1
  151. package/dist/commands/scale.js +4 -3
  152. package/dist/commands/scale.js.map +1 -1
  153. package/dist/commands/secret.d.ts +54 -0
  154. package/dist/commands/secret.d.ts.map +1 -1
  155. package/dist/commands/secret.js +236 -34
  156. package/dist/commands/secret.js.map +1 -1
  157. package/dist/commands/service-units.d.ts +181 -0
  158. package/dist/commands/service-units.d.ts.map +1 -0
  159. package/dist/commands/service-units.js +291 -0
  160. package/dist/commands/service-units.js.map +1 -0
  161. package/dist/commands/service.d.ts +39 -0
  162. package/dist/commands/service.d.ts.map +1 -0
  163. package/dist/commands/service.js +370 -0
  164. package/dist/commands/service.js.map +1 -0
  165. package/dist/commands/spinner.d.ts +29 -0
  166. package/dist/commands/spinner.d.ts.map +1 -0
  167. package/dist/commands/spinner.js +44 -0
  168. package/dist/commands/spinner.js.map +1 -0
  169. package/dist/commands/stack.d.ts +49 -1
  170. package/dist/commands/stack.d.ts.map +1 -1
  171. package/dist/commands/stack.js +325 -12
  172. package/dist/commands/stack.js.map +1 -1
  173. package/dist/commands/start.d.ts +16 -0
  174. package/dist/commands/start.d.ts.map +1 -1
  175. package/dist/commands/start.js +20 -3
  176. package/dist/commands/start.js.map +1 -1
  177. package/dist/commands/status.d.ts +9 -0
  178. package/dist/commands/status.d.ts.map +1 -1
  179. package/dist/commands/status.js +45 -29
  180. package/dist/commands/status.js.map +1 -1
  181. package/dist/commands/stop.d.ts +16 -0
  182. package/dist/commands/stop.d.ts.map +1 -1
  183. package/dist/commands/stop.js +34 -6
  184. package/dist/commands/stop.js.map +1 -1
  185. package/dist/commands/tor.d.ts +14 -7
  186. package/dist/commands/tor.d.ts.map +1 -1
  187. package/dist/commands/tor.js +113 -33
  188. package/dist/commands/tor.js.map +1 -1
  189. package/dist/commands/up.d.ts +85 -1
  190. package/dist/commands/up.d.ts.map +1 -1
  191. package/dist/commands/up.js +180 -32
  192. package/dist/commands/up.js.map +1 -1
  193. package/dist/commands/webapp.d.ts.map +1 -1
  194. package/dist/commands/webapp.js +2 -1
  195. package/dist/commands/webapp.js.map +1 -1
  196. package/dist/config/defaults.d.ts +16 -0
  197. package/dist/config/defaults.d.ts.map +1 -1
  198. package/dist/config/defaults.js +26 -3
  199. package/dist/config/defaults.js.map +1 -1
  200. package/dist/config/define-ecosystem.d.ts.map +1 -1
  201. package/dist/config/define-ecosystem.js +2 -0
  202. package/dist/config/define-ecosystem.js.map +1 -1
  203. package/dist/config/index.d.ts +1 -1
  204. package/dist/config/index.d.ts.map +1 -1
  205. package/dist/config/index.js +1 -1
  206. package/dist/config/index.js.map +1 -1
  207. package/dist/config/loader.d.ts +45 -1
  208. package/dist/config/loader.d.ts.map +1 -1
  209. package/dist/config/loader.js +64 -6
  210. package/dist/config/loader.js.map +1 -1
  211. package/dist/config/omnitron-config.schema.d.ts.map +1 -1
  212. package/dist/config/omnitron-config.schema.js +16 -0
  213. package/dist/config/omnitron-config.schema.js.map +1 -1
  214. package/dist/config/types.d.ts +411 -42
  215. package/dist/config/types.d.ts.map +1 -1
  216. package/dist/daemon/config-reload.d.ts +27 -0
  217. package/dist/daemon/config-reload.d.ts.map +1 -0
  218. package/dist/daemon/config-reload.js +42 -0
  219. package/dist/daemon/config-reload.js.map +1 -0
  220. package/dist/daemon/daemon-client.d.ts +136 -2
  221. package/dist/daemon/daemon-client.d.ts.map +1 -1
  222. package/dist/daemon/daemon-client.js +307 -21
  223. package/dist/daemon/daemon-client.js.map +1 -1
  224. package/dist/daemon/daemon-entry.js +90 -30
  225. package/dist/daemon/daemon-entry.js.map +1 -1
  226. package/dist/daemon/daemon-scheduler.d.ts +4 -0
  227. package/dist/daemon/daemon-scheduler.d.ts.map +1 -1
  228. package/dist/daemon/daemon-scheduler.js +137 -7
  229. package/dist/daemon/daemon-scheduler.js.map +1 -1
  230. package/dist/daemon/daemon-state-store.service.d.ts +263 -0
  231. package/dist/daemon/daemon-state-store.service.d.ts.map +1 -0
  232. package/dist/daemon/daemon-state-store.service.js +446 -0
  233. package/dist/daemon/daemon-state-store.service.js.map +1 -0
  234. package/dist/daemon/daemon.d.ts +205 -1
  235. package/dist/daemon/daemon.d.ts.map +1 -1
  236. package/dist/daemon/daemon.js +1139 -139
  237. package/dist/daemon/daemon.js.map +1 -1
  238. package/dist/daemon/daemon.module.d.ts.map +1 -1
  239. package/dist/daemon/daemon.module.js +163 -83
  240. package/dist/daemon/daemon.module.js.map +1 -1
  241. package/dist/daemon/daemon.rpc-service.d.ts +90 -1
  242. package/dist/daemon/daemon.rpc-service.d.ts.map +1 -1
  243. package/dist/daemon/daemon.rpc-service.js +438 -96
  244. package/dist/daemon/daemon.rpc-service.js.map +1 -1
  245. package/dist/daemon/pid-manager.d.ts +16 -3
  246. package/dist/daemon/pid-manager.d.ts.map +1 -1
  247. package/dist/daemon/pid-manager.js +31 -4
  248. package/dist/daemon/pid-manager.js.map +1 -1
  249. package/dist/daemon/spawn-daemon.d.ts +73 -0
  250. package/dist/daemon/spawn-daemon.d.ts.map +1 -0
  251. package/dist/daemon/spawn-daemon.js +101 -0
  252. package/dist/daemon/spawn-daemon.js.map +1 -0
  253. package/dist/daemon/state-store.d.ts +65 -3
  254. package/dist/daemon/state-store.d.ts.map +1 -1
  255. package/dist/daemon/state-store.js +100 -58
  256. package/dist/daemon/state-store.js.map +1 -1
  257. package/dist/database/connection.d.ts +71 -0
  258. package/dist/database/connection.d.ts.map +1 -0
  259. package/dist/database/connection.js +129 -0
  260. package/dist/database/connection.js.map +1 -0
  261. package/dist/database/dialect.d.ts +60 -0
  262. package/dist/database/dialect.d.ts.map +1 -0
  263. package/dist/database/dialect.js +80 -0
  264. package/dist/database/dialect.js.map +1 -0
  265. package/dist/database/migrate.d.ts +5 -2
  266. package/dist/database/migrate.d.ts.map +1 -1
  267. package/dist/database/migrate.js +23 -33
  268. package/dist/database/migrate.js.map +1 -1
  269. package/dist/database/migration-runner.d.ts +50 -0
  270. package/dist/database/migration-runner.d.ts.map +1 -0
  271. package/dist/database/migration-runner.js +143 -0
  272. package/dist/database/migration-runner.js.map +1 -0
  273. package/dist/database/migrations/006_login_throttle.d.ts +17 -0
  274. package/dist/database/migrations/006_login_throttle.d.ts.map +1 -0
  275. package/dist/database/migrations/006_login_throttle.js +33 -0
  276. package/dist/database/migrations/006_login_throttle.js.map +1 -0
  277. package/dist/database/migrations/007_sync_ingested.d.ts +21 -0
  278. package/dist/database/migrations/007_sync_ingested.d.ts.map +1 -0
  279. package/dist/database/migrations/007_sync_ingested.js +39 -0
  280. package/dist/database/migrations/007_sync_ingested.js.map +1 -0
  281. package/dist/database/migrations/008_node_health_version_text.d.ts +24 -0
  282. package/dist/database/migrations/008_node_health_version_text.d.ts.map +1 -0
  283. package/dist/database/migrations/008_node_health_version_text.js +35 -0
  284. package/dist/database/migrations/008_node_health_version_text.js.map +1 -0
  285. package/dist/database/migrations/009_node_health_unmeasured.d.ts +40 -0
  286. package/dist/database/migrations/009_node_health_unmeasured.d.ts.map +1 -0
  287. package/dist/database/migrations/009_node_health_unmeasured.js +63 -0
  288. package/dist/database/migrations/009_node_health_unmeasured.js.map +1 -0
  289. package/dist/database/migrations/010_metrics_raw_had_no_reader.d.ts +22 -0
  290. package/dist/database/migrations/010_metrics_raw_had_no_reader.d.ts.map +1 -0
  291. package/dist/database/migrations/010_metrics_raw_had_no_reader.js +26 -0
  292. package/dist/database/migrations/010_metrics_raw_had_no_reader.js.map +1 -0
  293. package/dist/database/migrations/011_alerts_nobody_had_to_write.d.ts +56 -0
  294. package/dist/database/migrations/011_alerts_nobody_had_to_write.d.ts.map +1 -0
  295. package/dist/database/migrations/011_alerts_nobody_had_to_write.js +79 -0
  296. package/dist/database/migrations/011_alerts_nobody_had_to_write.js.map +1 -0
  297. package/dist/database/migrations/012_a_disk_nobody_watched.d.ts +26 -0
  298. package/dist/database/migrations/012_a_disk_nobody_watched.d.ts.map +1 -0
  299. package/dist/database/migrations/012_a_disk_nobody_watched.js +40 -0
  300. package/dist/database/migrations/012_a_disk_nobody_watched.js.map +1 -0
  301. package/dist/database/migrations/013_an_alarm_delivered.d.ts +14 -0
  302. package/dist/database/migrations/013_an_alarm_delivered.d.ts.map +1 -0
  303. package/dist/database/migrations/013_an_alarm_delivered.js +28 -0
  304. package/dist/database/migrations/013_an_alarm_delivered.js.map +1 -0
  305. package/dist/database/migrations/index.d.ts +21 -0
  306. package/dist/database/migrations/index.d.ts.map +1 -0
  307. package/dist/database/migrations/index.js +47 -0
  308. package/dist/database/migrations/index.js.map +1 -0
  309. package/dist/database/schema.d.ts +27 -11
  310. package/dist/database/schema.d.ts.map +1 -1
  311. package/dist/database/sqlite-date-binding.d.ts +71 -0
  312. package/dist/database/sqlite-date-binding.d.ts.map +1 -0
  313. package/dist/database/sqlite-date-binding.js +174 -0
  314. package/dist/database/sqlite-date-binding.js.map +1 -0
  315. package/dist/execution/data-channel.d.ts +48 -0
  316. package/dist/execution/data-channel.d.ts.map +1 -0
  317. package/dist/execution/data-channel.js +55 -0
  318. package/dist/execution/data-channel.js.map +1 -0
  319. package/dist/execution/execution.service.d.ts +139 -0
  320. package/dist/execution/execution.service.d.ts.map +1 -1
  321. package/dist/execution/execution.service.js +273 -10
  322. package/dist/execution/execution.service.js.map +1 -1
  323. package/dist/index.d.ts +1 -1
  324. package/dist/index.d.ts.map +1 -1
  325. package/dist/infrastructure/bare-metal-plan.d.ts +208 -0
  326. package/dist/infrastructure/bare-metal-plan.d.ts.map +1 -0
  327. package/dist/infrastructure/bare-metal-plan.js +363 -0
  328. package/dist/infrastructure/bare-metal-plan.js.map +1 -0
  329. package/dist/infrastructure/bare-metal-runner.d.ts +65 -0
  330. package/dist/infrastructure/bare-metal-runner.d.ts.map +1 -0
  331. package/dist/infrastructure/bare-metal-runner.js +354 -0
  332. package/dist/infrastructure/bare-metal-runner.js.map +1 -0
  333. package/dist/infrastructure/config-payload.d.ts +149 -0
  334. package/dist/infrastructure/config-payload.d.ts.map +1 -0
  335. package/dist/infrastructure/config-payload.js +235 -0
  336. package/dist/infrastructure/config-payload.js.map +1 -0
  337. package/dist/infrastructure/container-runtime.d.ts +169 -1
  338. package/dist/infrastructure/container-runtime.d.ts.map +1 -1
  339. package/dist/infrastructure/container-runtime.js +525 -33
  340. package/dist/infrastructure/container-runtime.js.map +1 -1
  341. package/dist/infrastructure/gateway-reachability.d.ts +85 -0
  342. package/dist/infrastructure/gateway-reachability.d.ts.map +1 -0
  343. package/dist/infrastructure/gateway-reachability.js +116 -0
  344. package/dist/infrastructure/gateway-reachability.js.map +1 -0
  345. package/dist/infrastructure/gateway-redis-db.d.ts +29 -0
  346. package/dist/infrastructure/gateway-redis-db.d.ts.map +1 -0
  347. package/dist/infrastructure/gateway-redis-db.js +32 -0
  348. package/dist/infrastructure/gateway-redis-db.js.map +1 -0
  349. package/dist/infrastructure/host-inspection.d.ts +223 -0
  350. package/dist/infrastructure/host-inspection.d.ts.map +1 -0
  351. package/dist/infrastructure/host-inspection.js +501 -0
  352. package/dist/infrastructure/host-inspection.js.map +1 -0
  353. package/dist/infrastructure/infrastructure-gate.d.ts.map +1 -1
  354. package/dist/infrastructure/infrastructure.service.d.ts +206 -6
  355. package/dist/infrastructure/infrastructure.service.d.ts.map +1 -1
  356. package/dist/infrastructure/infrastructure.service.js +415 -89
  357. package/dist/infrastructure/infrastructure.service.js.map +1 -1
  358. package/dist/infrastructure/known-machines.d.ts +76 -0
  359. package/dist/infrastructure/known-machines.d.ts.map +1 -0
  360. package/dist/infrastructure/known-machines.js +94 -0
  361. package/dist/infrastructure/known-machines.js.map +1 -0
  362. package/dist/infrastructure/node-credentials.d.ts +45 -0
  363. package/dist/infrastructure/node-credentials.d.ts.map +1 -0
  364. package/dist/infrastructure/node-credentials.js +80 -0
  365. package/dist/infrastructure/node-credentials.js.map +1 -0
  366. package/dist/infrastructure/orphan-containers.d.ts +99 -0
  367. package/dist/infrastructure/orphan-containers.d.ts.map +1 -0
  368. package/dist/infrastructure/orphan-containers.js +106 -0
  369. package/dist/infrastructure/orphan-containers.js.map +1 -0
  370. package/dist/infrastructure/phantom-endpoint-janitor.d.ts +20 -0
  371. package/dist/infrastructure/phantom-endpoint-janitor.d.ts.map +1 -1
  372. package/dist/infrastructure/phantom-endpoint-janitor.js +56 -6
  373. package/dist/infrastructure/phantom-endpoint-janitor.js.map +1 -1
  374. package/dist/infrastructure/presets/gateway-openresty.d.ts.map +1 -1
  375. package/dist/infrastructure/presets/gateway-openresty.js +29 -3
  376. package/dist/infrastructure/presets/gateway-openresty.js.map +1 -1
  377. package/dist/infrastructure/presets/minio.d.ts.map +1 -1
  378. package/dist/infrastructure/presets/minio.js +36 -3
  379. package/dist/infrastructure/presets/minio.js.map +1 -1
  380. package/dist/infrastructure/presets/postgres.d.ts.map +1 -1
  381. package/dist/infrastructure/presets/postgres.js +69 -2
  382. package/dist/infrastructure/presets/postgres.js.map +1 -1
  383. package/dist/infrastructure/presets/redis.d.ts.map +1 -1
  384. package/dist/infrastructure/presets/redis.js +13 -0
  385. package/dist/infrastructure/presets/redis.js.map +1 -1
  386. package/dist/infrastructure/presets/registry.d.ts.map +1 -1
  387. package/dist/infrastructure/presets/registry.js +81 -12
  388. package/dist/infrastructure/presets/registry.js.map +1 -1
  389. package/dist/infrastructure/presets/tor.d.ts +38 -0
  390. package/dist/infrastructure/presets/tor.d.ts.map +1 -1
  391. package/dist/infrastructure/presets/tor.js +78 -69
  392. package/dist/infrastructure/presets/tor.js.map +1 -1
  393. package/dist/infrastructure/presets/torrc.d.ts +54 -0
  394. package/dist/infrastructure/presets/torrc.d.ts.map +1 -0
  395. package/dist/infrastructure/presets/torrc.js +153 -0
  396. package/dist/infrastructure/presets/torrc.js.map +1 -0
  397. package/dist/infrastructure/presets/types.d.ts +17 -0
  398. package/dist/infrastructure/presets/types.d.ts.map +1 -1
  399. package/dist/infrastructure/provisioning-outcome.d.ts +85 -0
  400. package/dist/infrastructure/provisioning-outcome.d.ts.map +1 -0
  401. package/dist/infrastructure/provisioning-outcome.js +122 -0
  402. package/dist/infrastructure/provisioning-outcome.js.map +1 -0
  403. package/dist/infrastructure/server-registry.d.ts +27 -0
  404. package/dist/infrastructure/server-registry.d.ts.map +1 -1
  405. package/dist/infrastructure/server-registry.js +60 -5
  406. package/dist/infrastructure/server-registry.js.map +1 -1
  407. package/dist/infrastructure/service-binding.d.ts +60 -0
  408. package/dist/infrastructure/service-binding.d.ts.map +1 -0
  409. package/dist/infrastructure/service-binding.js +90 -0
  410. package/dist/infrastructure/service-binding.js.map +1 -0
  411. package/dist/infrastructure/service-credentials.d.ts +105 -0
  412. package/dist/infrastructure/service-credentials.d.ts.map +1 -0
  413. package/dist/infrastructure/service-credentials.js +141 -0
  414. package/dist/infrastructure/service-credentials.js.map +1 -0
  415. package/dist/infrastructure/service-resolver.d.ts +160 -12
  416. package/dist/infrastructure/service-resolver.d.ts.map +1 -1
  417. package/dist/infrastructure/service-resolver.js +463 -53
  418. package/dist/infrastructure/service-resolver.js.map +1 -1
  419. package/dist/infrastructure/shipped-config.d.ts +43 -0
  420. package/dist/infrastructure/shipped-config.d.ts.map +1 -0
  421. package/dist/infrastructure/shipped-config.js +159 -0
  422. package/dist/infrastructure/shipped-config.js.map +1 -0
  423. package/dist/infrastructure/stack-infra-manager.d.ts +6 -0
  424. package/dist/infrastructure/stack-infra-manager.d.ts.map +1 -1
  425. package/dist/infrastructure/stack-infra-manager.js +31 -13
  426. package/dist/infrastructure/stack-infra-manager.js.map +1 -1
  427. package/dist/infrastructure/types.d.ts +261 -6
  428. package/dist/infrastructure/types.d.ts.map +1 -1
  429. package/dist/mcp/mcp-bridge.d.ts.map +1 -1
  430. package/dist/mcp/mcp-bridge.js.map +1 -1
  431. package/dist/mcp/tool-groups/apps.tools.d.ts +2 -1
  432. package/dist/mcp/tool-groups/apps.tools.d.ts.map +1 -1
  433. package/dist/mcp/tool-groups/apps.tools.js +2 -2
  434. package/dist/mcp/tool-groups/apps.tools.js.map +1 -1
  435. package/dist/mcp/tool-groups/infra.tools.d.ts +16 -2
  436. package/dist/mcp/tool-groups/infra.tools.d.ts.map +1 -1
  437. package/dist/mcp/tool-groups/infra.tools.js +51 -41
  438. package/dist/mcp/tool-groups/infra.tools.js.map +1 -1
  439. package/dist/mcp/tool-groups/kb.tools.d.ts.map +1 -1
  440. package/dist/mcp/tool-groups/kb.tools.js +4 -6
  441. package/dist/mcp/tool-groups/kb.tools.js.map +1 -1
  442. package/dist/mcp/tool-groups/management.tools.d.ts +20 -3
  443. package/dist/mcp/tool-groups/management.tools.d.ts.map +1 -1
  444. package/dist/mcp/tool-groups/management.tools.js +158 -125
  445. package/dist/mcp/tool-groups/management.tools.js.map +1 -1
  446. package/dist/mcp/tool-groups/monitoring.tools.d.ts +10 -1
  447. package/dist/mcp/tool-groups/monitoring.tools.d.ts.map +1 -1
  448. package/dist/mcp/tool-groups/monitoring.tools.js +65 -18
  449. package/dist/mcp/tool-groups/monitoring.tools.js.map +1 -1
  450. package/dist/mcp/unavailable-tools.d.ts +35 -0
  451. package/dist/mcp/unavailable-tools.d.ts.map +1 -0
  452. package/dist/mcp/unavailable-tools.js +59 -0
  453. package/dist/mcp/unavailable-tools.js.map +1 -0
  454. package/dist/monitoring/app-health.indicator.d.ts.map +1 -1
  455. package/dist/monitoring/app-health.indicator.js +12 -0
  456. package/dist/monitoring/app-health.indicator.js.map +1 -1
  457. package/dist/monitoring/desktop-notifier.d.ts +26 -0
  458. package/dist/monitoring/desktop-notifier.d.ts.map +1 -0
  459. package/dist/monitoring/desktop-notifier.js +49 -0
  460. package/dist/monitoring/desktop-notifier.js.map +1 -0
  461. package/dist/monitoring/docker-health.indicator.d.ts +17 -1
  462. package/dist/monitoring/docker-health.indicator.d.ts.map +1 -1
  463. package/dist/monitoring/docker-health.indicator.js +38 -8
  464. package/dist/monitoring/docker-health.indicator.js.map +1 -1
  465. package/dist/monitoring/event-loop-stall.indicator.d.ts +26 -0
  466. package/dist/monitoring/event-loop-stall.indicator.d.ts.map +1 -0
  467. package/dist/monitoring/event-loop-stall.indicator.js +47 -0
  468. package/dist/monitoring/event-loop-stall.indicator.js.map +1 -0
  469. package/dist/monitoring/event-loop-watch.d.ts +124 -0
  470. package/dist/monitoring/event-loop-watch.d.ts.map +1 -0
  471. package/dist/monitoring/event-loop-watch.js +179 -0
  472. package/dist/monitoring/event-loop-watch.js.map +1 -0
  473. package/dist/monitoring/host-disk.d.ts +6 -0
  474. package/dist/monitoring/host-disk.d.ts.map +1 -0
  475. package/dist/monitoring/host-disk.js +26 -0
  476. package/dist/monitoring/host-disk.js.map +1 -0
  477. package/dist/monitoring/log-line.d.ts +188 -0
  478. package/dist/monitoring/log-line.d.ts.map +1 -0
  479. package/dist/monitoring/log-line.js +458 -0
  480. package/dist/monitoring/log-line.js.map +1 -0
  481. package/dist/monitoring/log-manager.d.ts +89 -8
  482. package/dist/monitoring/log-manager.d.ts.map +1 -1
  483. package/dist/monitoring/log-manager.js +246 -77
  484. package/dist/monitoring/log-manager.js.map +1 -1
  485. package/dist/observability/metrics-bridge.d.ts.map +1 -1
  486. package/dist/observability/metrics-server.d.ts.map +1 -1
  487. package/dist/orchestrator/app-handle.d.ts +157 -2
  488. package/dist/orchestrator/app-handle.d.ts.map +1 -1
  489. package/dist/orchestrator/app-handle.js +165 -3
  490. package/dist/orchestrator/app-handle.js.map +1 -1
  491. package/dist/orchestrator/app-health.d.ts +33 -0
  492. package/dist/orchestrator/app-health.d.ts.map +1 -0
  493. package/dist/orchestrator/app-health.js +74 -0
  494. package/dist/orchestrator/app-health.js.map +1 -0
  495. package/dist/orchestrator/app-traffic.d.ts +14 -0
  496. package/dist/orchestrator/app-traffic.d.ts.map +1 -0
  497. package/dist/orchestrator/app-traffic.js +33 -0
  498. package/dist/orchestrator/app-traffic.js.map +1 -0
  499. package/dist/orchestrator/bootstrap-loader-child.d.ts +19 -0
  500. package/dist/orchestrator/bootstrap-loader-child.d.ts.map +1 -0
  501. package/dist/orchestrator/bootstrap-loader-child.js +43 -0
  502. package/dist/orchestrator/bootstrap-loader-child.js.map +1 -0
  503. package/dist/orchestrator/bootstrap-loader.d.ts +72 -0
  504. package/dist/orchestrator/bootstrap-loader.d.ts.map +1 -1
  505. package/dist/orchestrator/bootstrap-loader.js +350 -5
  506. package/dist/orchestrator/bootstrap-loader.js.map +1 -1
  507. package/dist/orchestrator/bootstrap-process.d.ts +99 -4
  508. package/dist/orchestrator/bootstrap-process.d.ts.map +1 -1
  509. package/dist/orchestrator/bootstrap-process.js +330 -19
  510. package/dist/orchestrator/bootstrap-process.js.map +1 -1
  511. package/dist/orchestrator/build-service.d.ts.map +1 -1
  512. package/dist/orchestrator/build-service.js.map +1 -1
  513. package/dist/orchestrator/call-exposed-service.d.ts +7 -0
  514. package/dist/orchestrator/call-exposed-service.d.ts.map +1 -0
  515. package/dist/orchestrator/call-exposed-service.js +50 -0
  516. package/dist/orchestrator/call-exposed-service.js.map +1 -0
  517. package/dist/orchestrator/classic-launcher.d.ts +1 -0
  518. package/dist/orchestrator/classic-launcher.d.ts.map +1 -1
  519. package/dist/orchestrator/classic-launcher.js +34 -3
  520. package/dist/orchestrator/classic-launcher.js.map +1 -1
  521. package/dist/orchestrator/file-watcher.d.ts +78 -1
  522. package/dist/orchestrator/file-watcher.d.ts.map +1 -1
  523. package/dist/orchestrator/file-watcher.js +181 -6
  524. package/dist/orchestrator/file-watcher.js.map +1 -1
  525. package/dist/orchestrator/module-worker-process.d.ts.map +1 -1
  526. package/dist/orchestrator/module-worker-process.js +10 -0
  527. package/dist/orchestrator/module-worker-process.js.map +1 -1
  528. package/dist/orchestrator/orchestrator.service.d.ts +371 -11
  529. package/dist/orchestrator/orchestrator.service.d.ts.map +1 -1
  530. package/dist/orchestrator/orchestrator.service.js +1602 -269
  531. package/dist/orchestrator/orchestrator.service.js.map +1 -1
  532. package/dist/orchestrator/owned-pids.d.ts +83 -0
  533. package/dist/orchestrator/owned-pids.d.ts.map +1 -0
  534. package/dist/orchestrator/owned-pids.js +93 -0
  535. package/dist/orchestrator/owned-pids.js.map +1 -0
  536. package/dist/orchestrator/port-conflict.d.ts +102 -0
  537. package/dist/orchestrator/port-conflict.d.ts.map +1 -0
  538. package/dist/orchestrator/port-conflict.js +131 -0
  539. package/dist/orchestrator/port-conflict.js.map +1 -0
  540. package/dist/orchestrator/process-janitor.d.ts +78 -4
  541. package/dist/orchestrator/process-janitor.d.ts.map +1 -1
  542. package/dist/orchestrator/process-janitor.js +246 -30
  543. package/dist/orchestrator/process-janitor.js.map +1 -1
  544. package/dist/orchestrator/ps-metrics.d.ts +37 -0
  545. package/dist/orchestrator/ps-metrics.d.ts.map +1 -0
  546. package/dist/orchestrator/ps-metrics.js +60 -0
  547. package/dist/orchestrator/ps-metrics.js.map +1 -0
  548. package/dist/orchestrator/service-router.d.ts +58 -2
  549. package/dist/orchestrator/service-router.d.ts.map +1 -1
  550. package/dist/orchestrator/service-router.js +157 -25
  551. package/dist/orchestrator/service-router.js.map +1 -1
  552. package/dist/orchestrator/topology-query.d.ts +49 -0
  553. package/dist/orchestrator/topology-query.d.ts.map +1 -0
  554. package/dist/orchestrator/topology-query.js +54 -0
  555. package/dist/orchestrator/topology-query.js.map +1 -0
  556. package/dist/project/artifact-builder.d.ts +174 -3
  557. package/dist/project/artifact-builder.d.ts.map +1 -1
  558. package/dist/project/artifact-builder.js +454 -42
  559. package/dist/project/artifact-builder.js.map +1 -1
  560. package/dist/project/build-decision.d.ts +58 -0
  561. package/dist/project/build-decision.d.ts.map +1 -0
  562. package/dist/project/build-decision.js +59 -0
  563. package/dist/project/build-decision.js.map +1 -0
  564. package/dist/project/config-resolver.d.ts +6 -4
  565. package/dist/project/config-resolver.d.ts.map +1 -1
  566. package/dist/project/config-resolver.js +128 -74
  567. package/dist/project/config-resolver.js.map +1 -1
  568. package/dist/project/declared-config.d.ts +42 -0
  569. package/dist/project/declared-config.d.ts.map +1 -0
  570. package/dist/project/declared-config.js +60 -0
  571. package/dist/project/declared-config.js.map +1 -0
  572. package/dist/project/dependency-analyzer.d.ts.map +1 -1
  573. package/dist/project/dependency-analyzer.js.map +1 -1
  574. package/dist/project/deploy-phases.d.ts +35 -0
  575. package/dist/project/deploy-phases.d.ts.map +1 -0
  576. package/dist/project/deploy-phases.js +75 -0
  577. package/dist/project/deploy-phases.js.map +1 -0
  578. package/dist/project/exec-in-group.d.ts +49 -0
  579. package/dist/project/exec-in-group.d.ts.map +1 -0
  580. package/dist/project/exec-in-group.js +100 -0
  581. package/dist/project/exec-in-group.js.map +1 -0
  582. package/dist/project/node-app-config.d.ts +101 -0
  583. package/dist/project/node-app-config.d.ts.map +1 -0
  584. package/dist/project/node-app-config.js +134 -0
  585. package/dist/project/node-app-config.js.map +1 -0
  586. package/dist/project/node-app-health.d.ts +76 -0
  587. package/dist/project/node-app-health.d.ts.map +1 -0
  588. package/dist/project/node-app-health.js +119 -0
  589. package/dist/project/node-app-health.js.map +1 -0
  590. package/dist/project/operator-account.d.ts +287 -0
  591. package/dist/project/operator-account.d.ts.map +1 -0
  592. package/dist/project/operator-account.js +373 -0
  593. package/dist/project/operator-account.js.map +1 -0
  594. package/dist/project/registry.d.ts +45 -8
  595. package/dist/project/registry.d.ts.map +1 -1
  596. package/dist/project/registry.js +217 -49
  597. package/dist/project/registry.js.map +1 -1
  598. package/dist/project/requirements-scanner.d.ts +1 -0
  599. package/dist/project/requirements-scanner.d.ts.map +1 -1
  600. package/dist/project/requirements-scanner.js +28 -3
  601. package/dist/project/requirements-scanner.js.map +1 -1
  602. package/dist/project/stack-env.d.ts +37 -0
  603. package/dist/project/stack-env.d.ts.map +1 -0
  604. package/dist/project/stack-env.js +85 -0
  605. package/dist/project/stack-env.js.map +1 -0
  606. package/dist/project/stand-containers.d.ts +4 -0
  607. package/dist/project/stand-containers.d.ts.map +1 -0
  608. package/dist/project/stand-containers.js +27 -0
  609. package/dist/project/stand-containers.js.map +1 -0
  610. package/dist/project/working-tree.d.ts +62 -0
  611. package/dist/project/working-tree.d.ts.map +1 -0
  612. package/dist/project/working-tree.js +101 -0
  613. package/dist/project/working-tree.js.map +1 -0
  614. package/dist/release/artifact-store.d.ts +360 -0
  615. package/dist/release/artifact-store.d.ts.map +1 -0
  616. package/dist/release/artifact-store.js +1040 -0
  617. package/dist/release/artifact-store.js.map +1 -0
  618. package/dist/release/attest-on-node.d.ts +92 -0
  619. package/dist/release/attest-on-node.d.ts.map +1 -0
  620. package/dist/release/attest-on-node.js +207 -0
  621. package/dist/release/attest-on-node.js.map +1 -0
  622. package/dist/release/attest.d.ts +135 -0
  623. package/dist/release/attest.d.ts.map +1 -0
  624. package/dist/release/attest.js +199 -0
  625. package/dist/release/attest.js.map +1 -0
  626. package/dist/release/build-run.d.ts +151 -0
  627. package/dist/release/build-run.d.ts.map +1 -0
  628. package/dist/release/build-run.js +609 -0
  629. package/dist/release/build-run.js.map +1 -0
  630. package/dist/release/builder.d.ts +57 -0
  631. package/dist/release/builder.d.ts.map +1 -0
  632. package/dist/release/builder.js +120 -0
  633. package/dist/release/builder.js.map +1 -0
  634. package/dist/release/daemon-omni.d.ts +41 -0
  635. package/dist/release/daemon-omni.d.ts.map +1 -0
  636. package/dist/release/daemon-omni.js +59 -0
  637. package/dist/release/daemon-omni.js.map +1 -0
  638. package/dist/release/definition-inputs.d.ts +34 -0
  639. package/dist/release/definition-inputs.d.ts.map +1 -0
  640. package/dist/release/definition-inputs.js +90 -0
  641. package/dist/release/definition-inputs.js.map +1 -0
  642. package/dist/release/delivered.d.ts +53 -0
  643. package/dist/release/delivered.d.ts.map +1 -0
  644. package/dist/release/delivered.js +81 -0
  645. package/dist/release/delivered.js.map +1 -0
  646. package/dist/release/layout.d.ts +61 -0
  647. package/dist/release/layout.d.ts.map +1 -0
  648. package/dist/release/layout.js +114 -0
  649. package/dist/release/layout.js.map +1 -0
  650. package/dist/release/load.d.ts +44 -0
  651. package/dist/release/load.d.ts.map +1 -0
  652. package/dist/release/load.js +84 -0
  653. package/dist/release/load.js.map +1 -0
  654. package/dist/release/manifest.d.ts +299 -0
  655. package/dist/release/manifest.d.ts.map +1 -0
  656. package/dist/release/manifest.js +176 -0
  657. package/dist/release/manifest.js.map +1 -0
  658. package/dist/release/migrations.d.ts +32 -0
  659. package/dist/release/migrations.d.ts.map +1 -0
  660. package/dist/release/migrations.js +51 -0
  661. package/dist/release/migrations.js.map +1 -0
  662. package/dist/release/publish.d.ts +71 -0
  663. package/dist/release/publish.d.ts.map +1 -0
  664. package/dist/release/publish.js +102 -0
  665. package/dist/release/publish.js.map +1 -0
  666. package/dist/release/store.d.ts +174 -0
  667. package/dist/release/store.d.ts.map +1 -0
  668. package/dist/release/store.js +257 -0
  669. package/dist/release/store.js.map +1 -0
  670. package/dist/services/alert.rpc-service.d.ts +11 -15
  671. package/dist/services/alert.rpc-service.d.ts.map +1 -1
  672. package/dist/services/alert.rpc-service.js +29 -14
  673. package/dist/services/alert.rpc-service.js.map +1 -1
  674. package/dist/services/alert.service.d.ts +96 -59
  675. package/dist/services/alert.service.d.ts.map +1 -1
  676. package/dist/services/alert.service.js +455 -70
  677. package/dist/services/alert.service.js.map +1 -1
  678. package/dist/services/anonymous-input.d.ts +26 -0
  679. package/dist/services/anonymous-input.d.ts.map +1 -0
  680. package/dist/services/anonymous-input.js +44 -0
  681. package/dist/services/anonymous-input.js.map +1 -0
  682. package/dist/services/audit.rpc-service.d.ts +27 -0
  683. package/dist/services/audit.rpc-service.d.ts.map +1 -0
  684. package/dist/services/audit.rpc-service.js +57 -0
  685. package/dist/services/audit.rpc-service.js.map +1 -0
  686. package/dist/services/audit.service.d.ts +165 -0
  687. package/dist/services/audit.service.d.ts.map +1 -0
  688. package/dist/services/audit.service.js +242 -0
  689. package/dist/services/audit.service.js.map +1 -0
  690. package/dist/services/auth-context.d.ts +21 -1
  691. package/dist/services/auth-context.d.ts.map +1 -1
  692. package/dist/services/auth-context.js +51 -5
  693. package/dist/services/auth-context.js.map +1 -1
  694. package/dist/services/auth.rpc-service.d.ts +0 -1
  695. package/dist/services/auth.rpc-service.d.ts.map +1 -1
  696. package/dist/services/auth.rpc-service.js +23 -9
  697. package/dist/services/auth.rpc-service.js.map +1 -1
  698. package/dist/services/auth.service.d.ts +47 -33
  699. package/dist/services/auth.service.d.ts.map +1 -1
  700. package/dist/services/auth.service.js +155 -23
  701. package/dist/services/auth.service.js.map +1 -1
  702. package/dist/services/backup-pipeline.d.ts +97 -0
  703. package/dist/services/backup-pipeline.d.ts.map +1 -0
  704. package/dist/services/backup-pipeline.js +286 -0
  705. package/dist/services/backup-pipeline.js.map +1 -0
  706. package/dist/services/backup-schedule.d.ts +69 -0
  707. package/dist/services/backup-schedule.d.ts.map +1 -0
  708. package/dist/services/backup-schedule.js +132 -0
  709. package/dist/services/backup-schedule.js.map +1 -0
  710. package/dist/services/backup.rpc-service.d.ts +31 -2
  711. package/dist/services/backup.rpc-service.d.ts.map +1 -1
  712. package/dist/services/backup.rpc-service.js +53 -0
  713. package/dist/services/backup.rpc-service.js.map +1 -1
  714. package/dist/services/backup.service.d.ts +458 -14
  715. package/dist/services/backup.service.d.ts.map +1 -1
  716. package/dist/services/backup.service.js +1368 -170
  717. package/dist/services/backup.service.js.map +1 -1
  718. package/dist/services/bundle-build-worker.d.ts +19 -0
  719. package/dist/services/bundle-build-worker.d.ts.map +1 -0
  720. package/dist/services/bundle-build-worker.js +40 -0
  721. package/dist/services/bundle-build-worker.js.map +1 -0
  722. package/dist/services/bundle-builder.d.ts +487 -0
  723. package/dist/services/bundle-builder.d.ts.map +1 -0
  724. package/dist/services/bundle-builder.js +1083 -0
  725. package/dist/services/bundle-builder.js.map +1 -0
  726. package/dist/services/bundle-worker-protocol.d.ts +19 -0
  727. package/dist/services/bundle-worker-protocol.d.ts.map +1 -0
  728. package/dist/services/bundle-worker-protocol.js +32 -0
  729. package/dist/services/bundle-worker-protocol.js.map +1 -0
  730. package/dist/services/deploy.rpc-service.d.ts +4 -1
  731. package/dist/services/deploy.rpc-service.d.ts.map +1 -1
  732. package/dist/services/deploy.rpc-service.js +10 -0
  733. package/dist/services/deploy.rpc-service.js.map +1 -1
  734. package/dist/services/deploy.service.d.ts +14 -24
  735. package/dist/services/deploy.service.d.ts.map +1 -1
  736. package/dist/services/deploy.service.js +46 -5
  737. package/dist/services/deploy.service.js.map +1 -1
  738. package/dist/services/discovery.rpc-service.d.ts +2 -1
  739. package/dist/services/discovery.rpc-service.d.ts.map +1 -1
  740. package/dist/services/discovery.rpc-service.js.map +1 -1
  741. package/dist/services/discovery.service.d.ts +32 -28
  742. package/dist/services/discovery.service.d.ts.map +1 -1
  743. package/dist/services/discovery.service.js +108 -133
  744. package/dist/services/discovery.service.js.map +1 -1
  745. package/dist/services/event-broadcaster.rpc-service.d.ts +36 -23
  746. package/dist/services/event-broadcaster.rpc-service.d.ts.map +1 -1
  747. package/dist/services/event-broadcaster.rpc-service.js +70 -32
  748. package/dist/services/event-broadcaster.rpc-service.js.map +1 -1
  749. package/dist/services/event-broadcaster.service.d.ts.map +1 -1
  750. package/dist/services/event-broadcaster.service.js.map +1 -1
  751. package/dist/services/fleet.rpc-service.d.ts +2 -1
  752. package/dist/services/fleet.rpc-service.d.ts.map +1 -1
  753. package/dist/services/fleet.rpc-service.js +3 -1
  754. package/dist/services/fleet.rpc-service.js.map +1 -1
  755. package/dist/services/fleet.service.d.ts +32 -34
  756. package/dist/services/fleet.service.d.ts.map +1 -1
  757. package/dist/services/fleet.service.js +66 -10
  758. package/dist/services/fleet.service.js.map +1 -1
  759. package/dist/services/health-check.rpc-service.d.ts +2 -1
  760. package/dist/services/health-check.rpc-service.d.ts.map +1 -1
  761. package/dist/services/health-check.rpc-service.js.map +1 -1
  762. package/dist/services/health-check.service.d.ts +50 -36
  763. package/dist/services/health-check.service.d.ts.map +1 -1
  764. package/dist/services/health-check.service.js +179 -182
  765. package/dist/services/health-check.service.js.map +1 -1
  766. package/dist/services/infrastructure.rpc-service.d.ts +297 -2
  767. package/dist/services/infrastructure.rpc-service.d.ts.map +1 -1
  768. package/dist/services/infrastructure.rpc-service.js +523 -11
  769. package/dist/services/infrastructure.rpc-service.js.map +1 -1
  770. package/dist/services/kubernetes.rpc-service.d.ts +2 -1
  771. package/dist/services/kubernetes.rpc-service.d.ts.map +1 -1
  772. package/dist/services/kubernetes.rpc-service.js.map +1 -1
  773. package/dist/services/kubernetes.service.d.ts +5 -39
  774. package/dist/services/kubernetes.service.d.ts.map +1 -1
  775. package/dist/services/kubernetes.service.js +29 -5
  776. package/dist/services/kubernetes.service.js.map +1 -1
  777. package/dist/services/local-bundle.d.ts +151 -0
  778. package/dist/services/local-bundle.d.ts.map +1 -0
  779. package/dist/services/local-bundle.js +233 -0
  780. package/dist/services/local-bundle.js.map +1 -0
  781. package/dist/services/lockout.d.ts +28 -0
  782. package/dist/services/lockout.d.ts.map +1 -0
  783. package/dist/services/lockout.js +41 -0
  784. package/dist/services/lockout.js.map +1 -0
  785. package/dist/services/log-collector.rpc-service.d.ts +16 -0
  786. package/dist/services/log-collector.rpc-service.d.ts.map +1 -1
  787. package/dist/services/log-collector.rpc-service.js +16 -0
  788. package/dist/services/log-collector.rpc-service.js.map +1 -1
  789. package/dist/services/log-collector.service.d.ts +172 -54
  790. package/dist/services/log-collector.service.d.ts.map +1 -1
  791. package/dist/services/log-collector.service.js +492 -102
  792. package/dist/services/log-collector.service.js.map +1 -1
  793. package/dist/services/log-retention.d.ts +50 -0
  794. package/dist/services/log-retention.d.ts.map +1 -0
  795. package/dist/services/log-retention.js +52 -0
  796. package/dist/services/log-retention.js.map +1 -0
  797. package/dist/services/maintenance-lock.d.ts +162 -0
  798. package/dist/services/maintenance-lock.d.ts.map +1 -0
  799. package/dist/services/maintenance-lock.js +316 -0
  800. package/dist/services/maintenance-lock.js.map +1 -0
  801. package/dist/services/master-address.d.ts +107 -0
  802. package/dist/services/master-address.d.ts.map +1 -0
  803. package/dist/services/master-address.js +154 -0
  804. package/dist/services/master-address.js.map +1 -0
  805. package/dist/services/migration-output.d.ts +16 -0
  806. package/dist/services/migration-output.d.ts.map +1 -0
  807. package/dist/services/migration-output.js +22 -0
  808. package/dist/services/migration-output.js.map +1 -0
  809. package/dist/services/netron-telemetry-transport.d.ts.map +1 -1
  810. package/dist/services/netron-telemetry-transport.js.map +1 -1
  811. package/dist/services/node-deploy-lease.d.ts +154 -0
  812. package/dist/services/node-deploy-lease.d.ts.map +1 -0
  813. package/dist/services/node-deploy-lease.js +386 -0
  814. package/dist/services/node-deploy-lease.js.map +1 -0
  815. package/dist/services/node-health.repository.d.ts +63 -4
  816. package/dist/services/node-health.repository.d.ts.map +1 -1
  817. package/dist/services/node-health.repository.js +108 -67
  818. package/dist/services/node-health.repository.js.map +1 -1
  819. package/dist/services/node-manager.rpc-service.d.ts +355 -10
  820. package/dist/services/node-manager.rpc-service.d.ts.map +1 -1
  821. package/dist/services/node-manager.rpc-service.js +730 -34
  822. package/dist/services/node-manager.rpc-service.js.map +1 -1
  823. package/dist/services/node-manager.service.d.ts +267 -95
  824. package/dist/services/node-manager.service.d.ts.map +1 -1
  825. package/dist/services/node-manager.service.js +805 -103
  826. package/dist/services/node-manager.service.js.map +1 -1
  827. package/dist/services/node-upgrade.d.ts +129 -0
  828. package/dist/services/node-upgrade.d.ts.map +1 -0
  829. package/dist/services/node-upgrade.js +161 -0
  830. package/dist/services/node-upgrade.js.map +1 -0
  831. package/dist/services/node-upgrade.service.d.ts +232 -0
  832. package/dist/services/node-upgrade.service.d.ts.map +1 -0
  833. package/dist/services/node-upgrade.service.js +468 -0
  834. package/dist/services/node-upgrade.service.js.map +1 -0
  835. package/dist/services/pipeline.rpc-service.d.ts +2 -1
  836. package/dist/services/pipeline.rpc-service.d.ts.map +1 -1
  837. package/dist/services/pipeline.rpc-service.js.map +1 -1
  838. package/dist/services/pipeline.service.d.ts +15 -46
  839. package/dist/services/pipeline.service.d.ts.map +1 -1
  840. package/dist/services/pipeline.service.js +72 -9
  841. package/dist/services/pipeline.service.js.map +1 -1
  842. package/dist/services/project.rpc-service.d.ts +133 -5
  843. package/dist/services/project.rpc-service.d.ts.map +1 -1
  844. package/dist/services/project.rpc-service.js +249 -22
  845. package/dist/services/project.rpc-service.js.map +1 -1
  846. package/dist/services/project.service.d.ts +677 -15
  847. package/dist/services/project.service.d.ts.map +1 -1
  848. package/dist/services/project.service.js +2798 -304
  849. package/dist/services/project.service.js.map +1 -1
  850. package/dist/services/redeploy-decision.d.ts +176 -0
  851. package/dist/services/redeploy-decision.d.ts.map +1 -0
  852. package/dist/services/redeploy-decision.js +142 -0
  853. package/dist/services/redeploy-decision.js.map +1 -0
  854. package/dist/services/release.rpc-service.d.ts +159 -0
  855. package/dist/services/release.rpc-service.d.ts.map +1 -0
  856. package/dist/services/release.rpc-service.js +395 -0
  857. package/dist/services/release.rpc-service.js.map +1 -0
  858. package/dist/services/release.service.d.ts +114 -0
  859. package/dist/services/release.service.d.ts.map +1 -0
  860. package/dist/services/release.service.js +208 -0
  861. package/dist/services/release.service.js.map +1 -0
  862. package/dist/services/remote-deployer.service.d.ts +569 -8
  863. package/dist/services/remote-deployer.service.d.ts.map +1 -1
  864. package/dist/services/remote-deployer.service.js +1618 -169
  865. package/dist/services/remote-deployer.service.js.map +1 -1
  866. package/dist/services/remote-ops.service.d.ts +51 -9
  867. package/dist/services/remote-ops.service.d.ts.map +1 -1
  868. package/dist/services/remote-ops.service.js +235 -39
  869. package/dist/services/remote-ops.service.js.map +1 -1
  870. package/dist/services/remote-provisioner.d.ts +122 -0
  871. package/dist/services/remote-provisioner.d.ts.map +1 -0
  872. package/dist/services/remote-provisioner.js +258 -0
  873. package/dist/services/remote-provisioner.js.map +1 -0
  874. package/dist/services/secrets.rpc-service.d.ts +51 -2
  875. package/dist/services/secrets.rpc-service.d.ts.map +1 -1
  876. package/dist/services/secrets.rpc-service.js +81 -2
  877. package/dist/services/secrets.rpc-service.js.map +1 -1
  878. package/dist/services/secrets.service.d.ts +108 -9
  879. package/dist/services/secrets.service.d.ts.map +1 -1
  880. package/dist/services/secrets.service.js +313 -48
  881. package/dist/services/secrets.service.js.map +1 -1
  882. package/dist/services/slave-storage.service.d.ts +107 -0
  883. package/dist/services/slave-storage.service.d.ts.map +1 -1
  884. package/dist/services/slave-storage.service.js +171 -2
  885. package/dist/services/slave-storage.service.js.map +1 -1
  886. package/dist/services/static-carry-forward.d.ts +85 -0
  887. package/dist/services/static-carry-forward.d.ts.map +1 -0
  888. package/dist/services/static-carry-forward.js +159 -0
  889. package/dist/services/static-carry-forward.js.map +1 -0
  890. package/dist/services/sync-policy.d.ts +167 -0
  891. package/dist/services/sync-policy.d.ts.map +1 -0
  892. package/dist/services/sync-policy.js +161 -0
  893. package/dist/services/sync-policy.js.map +1 -0
  894. package/dist/services/sync-summary.d.ts +39 -0
  895. package/dist/services/sync-summary.d.ts.map +1 -0
  896. package/dist/services/sync-summary.js +62 -0
  897. package/dist/services/sync-summary.js.map +1 -0
  898. package/dist/services/sync.rpc-service.d.ts +19 -7
  899. package/dist/services/sync.rpc-service.d.ts.map +1 -1
  900. package/dist/services/sync.rpc-service.js +36 -5
  901. package/dist/services/sync.rpc-service.js.map +1 -1
  902. package/dist/services/sync.service.d.ts +350 -18
  903. package/dist/services/sync.service.d.ts.map +1 -1
  904. package/dist/services/sync.service.js +864 -116
  905. package/dist/services/sync.service.js.map +1 -1
  906. package/dist/services/system-info.rpc-service.d.ts +2 -1
  907. package/dist/services/system-info.rpc-service.d.ts.map +1 -1
  908. package/dist/services/system-info.rpc-service.js.map +1 -1
  909. package/dist/services/system-info.service.d.ts +56 -68
  910. package/dist/services/system-info.service.d.ts.map +1 -1
  911. package/dist/services/system-info.service.js +240 -127
  912. package/dist/services/system-info.service.js.map +1 -1
  913. package/dist/services/telemetry.rpc-service.d.ts.map +1 -1
  914. package/dist/services/telemetry.rpc-service.js +9 -3
  915. package/dist/services/telemetry.rpc-service.js.map +1 -1
  916. package/dist/services/telemetry.service.d.ts +4 -2
  917. package/dist/services/telemetry.service.d.ts.map +1 -1
  918. package/dist/services/telemetry.service.js +4 -2
  919. package/dist/services/telemetry.service.js.map +1 -1
  920. package/dist/services/trace-collector.rpc-service.d.ts +2 -1
  921. package/dist/services/trace-collector.rpc-service.d.ts.map +1 -1
  922. package/dist/services/trace-collector.rpc-service.js.map +1 -1
  923. package/dist/services/trace-collector.service.d.ts +2 -41
  924. package/dist/services/trace-collector.service.d.ts.map +1 -1
  925. package/dist/services/trace-collector.service.js +27 -7
  926. package/dist/services/trace-collector.service.js.map +1 -1
  927. package/dist/services/wait-for-postgres.d.ts +28 -0
  928. package/dist/services/wait-for-postgres.d.ts.map +1 -0
  929. package/dist/services/wait-for-postgres.js +77 -0
  930. package/dist/services/wait-for-postgres.js.map +1 -0
  931. package/dist/shared/alert-expression.d.ts +60 -0
  932. package/dist/shared/alert-expression.d.ts.map +1 -0
  933. package/dist/shared/alert-expression.js +124 -0
  934. package/dist/shared/alert-expression.js.map +1 -0
  935. package/dist/shared/audit-outcome.d.ts +39 -0
  936. package/dist/shared/audit-outcome.d.ts.map +1 -0
  937. package/dist/shared/audit-outcome.js +45 -0
  938. package/dist/shared/audit-outcome.js.map +1 -0
  939. package/dist/shared/build-freshness.d.ts +59 -0
  940. package/dist/shared/build-freshness.d.ts.map +1 -0
  941. package/dist/shared/build-freshness.js +113 -0
  942. package/dist/shared/build-freshness.js.map +1 -0
  943. package/dist/shared/build-stamp.d.ts +26 -0
  944. package/dist/shared/build-stamp.d.ts.map +1 -0
  945. package/dist/shared/build-stamp.js +36 -0
  946. package/dist/shared/build-stamp.js.map +1 -0
  947. package/dist/shared/describe-error.d.ts +22 -0
  948. package/dist/shared/describe-error.d.ts.map +1 -0
  949. package/dist/shared/describe-error.js +39 -0
  950. package/dist/shared/describe-error.js.map +1 -0
  951. package/dist/shared/dto/alerts.d.ts +101 -0
  952. package/dist/shared/dto/alerts.d.ts.map +1 -0
  953. package/dist/shared/dto/alerts.js +9 -0
  954. package/dist/shared/dto/alerts.js.map +1 -0
  955. package/dist/shared/dto/auth.d.ts +49 -0
  956. package/dist/shared/dto/auth.d.ts.map +1 -0
  957. package/dist/shared/dto/auth.js +14 -0
  958. package/dist/shared/dto/auth.js.map +1 -0
  959. package/dist/shared/dto/backups.d.ts +16 -0
  960. package/dist/shared/dto/backups.d.ts.map +1 -0
  961. package/dist/shared/dto/backups.js +9 -0
  962. package/dist/shared/dto/backups.js.map +1 -0
  963. package/dist/shared/dto/deploy.d.ts +28 -0
  964. package/dist/shared/dto/deploy.d.ts.map +1 -0
  965. package/dist/shared/dto/deploy.js +8 -0
  966. package/dist/shared/dto/deploy.js.map +1 -0
  967. package/dist/shared/dto/discovery.d.ts +24 -0
  968. package/dist/shared/dto/discovery.d.ts.map +1 -0
  969. package/dist/shared/dto/discovery.js +9 -0
  970. package/dist/shared/dto/discovery.js.map +1 -0
  971. package/dist/shared/dto/fleet.d.ts +35 -0
  972. package/dist/shared/dto/fleet.d.ts.map +1 -0
  973. package/dist/shared/dto/fleet.js +8 -0
  974. package/dist/shared/dto/fleet.js.map +1 -0
  975. package/dist/shared/dto/health.d.ts +26 -0
  976. package/dist/shared/dto/health.d.ts.map +1 -0
  977. package/dist/shared/dto/health.js +9 -0
  978. package/dist/shared/dto/health.js.map +1 -0
  979. package/dist/shared/dto/kubernetes.d.ts +44 -0
  980. package/dist/shared/dto/kubernetes.d.ts.map +1 -0
  981. package/dist/shared/dto/kubernetes.js +9 -0
  982. package/dist/shared/dto/kubernetes.js.map +1 -0
  983. package/dist/shared/dto/logs.d.ts +77 -0
  984. package/dist/shared/dto/logs.d.ts.map +1 -0
  985. package/dist/shared/dto/logs.js +10 -0
  986. package/dist/shared/dto/logs.js.map +1 -0
  987. package/dist/shared/dto/metrics.d.ts +65 -0
  988. package/dist/shared/dto/metrics.d.ts.map +1 -0
  989. package/dist/shared/dto/metrics.js +17 -0
  990. package/dist/shared/dto/metrics.js.map +1 -0
  991. package/dist/shared/dto/nodes.d.ts +347 -0
  992. package/dist/shared/dto/nodes.d.ts.map +1 -0
  993. package/dist/shared/dto/nodes.js +8 -0
  994. package/dist/shared/dto/nodes.js.map +1 -0
  995. package/dist/shared/dto/pipelines.d.ts +53 -0
  996. package/dist/shared/dto/pipelines.d.ts.map +1 -0
  997. package/dist/shared/dto/pipelines.js +9 -0
  998. package/dist/shared/dto/pipelines.js.map +1 -0
  999. package/dist/shared/dto/project.d.ts +142 -8
  1000. package/dist/shared/dto/project.d.ts.map +1 -1
  1001. package/dist/shared/dto/services.d.ts +831 -7
  1002. package/dist/shared/dto/services.d.ts.map +1 -1
  1003. package/dist/shared/dto/system-info.d.ts +93 -0
  1004. package/dist/shared/dto/system-info.d.ts.map +1 -0
  1005. package/dist/shared/dto/system-info.js +9 -0
  1006. package/dist/shared/dto/system-info.js.map +1 -0
  1007. package/dist/shared/dto/traces.d.ts +49 -0
  1008. package/dist/shared/dto/traces.d.ts.map +1 -0
  1009. package/dist/shared/dto/traces.js +9 -0
  1010. package/dist/shared/dto/traces.js.map +1 -0
  1011. package/dist/shared/env-config.d.ts +74 -0
  1012. package/dist/shared/env-config.d.ts.map +1 -0
  1013. package/dist/shared/env-config.js +99 -0
  1014. package/dist/shared/env-config.js.map +1 -0
  1015. package/dist/shared/events.d.ts +45 -39
  1016. package/dist/shared/events.d.ts.map +1 -1
  1017. package/dist/shared/events.js +6 -0
  1018. package/dist/shared/events.js.map +1 -1
  1019. package/dist/shared/format.d.ts +1 -1
  1020. package/dist/shared/format.d.ts.map +1 -1
  1021. package/dist/shared/format.js +4 -0
  1022. package/dist/shared/format.js.map +1 -1
  1023. package/dist/shared/local-infra-host.d.ts +28 -0
  1024. package/dist/shared/local-infra-host.d.ts.map +1 -0
  1025. package/dist/shared/local-infra-host.js +28 -0
  1026. package/dist/shared/local-infra-host.js.map +1 -0
  1027. package/dist/shared/node-check.d.ts +37 -0
  1028. package/dist/shared/node-check.d.ts.map +1 -0
  1029. package/dist/shared/node-check.js +41 -0
  1030. package/dist/shared/node-check.js.map +1 -0
  1031. package/dist/shared/paths.d.ts +29 -0
  1032. package/dist/shared/paths.d.ts.map +1 -0
  1033. package/dist/shared/paths.js +54 -0
  1034. package/dist/shared/paths.js.map +1 -0
  1035. package/dist/shared/pnpm.d.ts +29 -0
  1036. package/dist/shared/pnpm.d.ts.map +1 -0
  1037. package/dist/shared/pnpm.js +57 -0
  1038. package/dist/shared/pnpm.js.map +1 -0
  1039. package/dist/shared/private-files.d.ts +29 -0
  1040. package/dist/shared/private-files.d.ts.map +1 -0
  1041. package/dist/shared/private-files.js +109 -0
  1042. package/dist/shared/private-files.js.map +1 -0
  1043. package/dist/shared/redact-env.d.ts +24 -0
  1044. package/dist/shared/redact-env.d.ts.map +1 -0
  1045. package/dist/shared/redact-env.js +36 -0
  1046. package/dist/shared/redact-env.js.map +1 -0
  1047. package/dist/shared/release-reading.d.ts +85 -0
  1048. package/dist/shared/release-reading.d.ts.map +1 -0
  1049. package/dist/shared/release-reading.js +81 -0
  1050. package/dist/shared/release-reading.js.map +1 -0
  1051. package/dist/shared/roles.d.ts +58 -3
  1052. package/dist/shared/roles.d.ts.map +1 -1
  1053. package/dist/shared/roles.js +55 -0
  1054. package/dist/shared/roles.js.map +1 -1
  1055. package/dist/shared/rpcauth.d.ts +13 -0
  1056. package/dist/shared/rpcauth.d.ts.map +1 -0
  1057. package/dist/shared/rpcauth.js +23 -0
  1058. package/dist/shared/rpcauth.js.map +1 -0
  1059. package/dist/shared/shell-escape.d.ts +9 -0
  1060. package/dist/shared/shell-escape.d.ts.map +1 -0
  1061. package/dist/shared/shell-escape.js +11 -0
  1062. package/dist/shared/shell-escape.js.map +1 -0
  1063. package/dist/shared/sync-reading.d.ts +45 -0
  1064. package/dist/shared/sync-reading.d.ts.map +1 -0
  1065. package/dist/shared/sync-reading.js +42 -0
  1066. package/dist/shared/sync-reading.js.map +1 -0
  1067. package/dist/shared/tokens.d.ts +19 -0
  1068. package/dist/shared/tokens.d.ts.map +1 -1
  1069. package/dist/shared/tokens.js +28 -0
  1070. package/dist/shared/tokens.js.map +1 -1
  1071. package/dist/webapp/webapp.service.d.ts +33 -2
  1072. package/dist/webapp/webapp.service.d.ts.map +1 -1
  1073. package/dist/webapp/webapp.service.js +143 -31
  1074. package/dist/webapp/webapp.service.js.map +1 -1
  1075. package/dist/workers/health-monitor-process.d.ts.map +1 -1
  1076. package/dist/workers/health-monitor-process.js +10 -0
  1077. package/dist/workers/health-monitor-process.js.map +1 -1
  1078. package/dist/workers/health-monitor.service.d.ts +45 -3
  1079. package/dist/workers/health-monitor.service.d.ts.map +1 -1
  1080. package/dist/workers/health-monitor.service.js +152 -25
  1081. package/dist/workers/health-monitor.service.js.map +1 -1
  1082. package/dist/workers/system-worker-manager.d.ts +43 -0
  1083. package/dist/workers/system-worker-manager.d.ts.map +1 -1
  1084. package/dist/workers/system-worker-manager.js +150 -3
  1085. package/dist/workers/system-worker-manager.js.map +1 -1
  1086. package/dist/workers/types.d.ts +8 -2
  1087. package/dist/workers/types.d.ts.map +1 -1
  1088. package/package.json +64 -30
  1089. package/webapp/dist/BUILD.json +5 -0
  1090. package/webapp/dist/assets/FormControlLabel-BrH2diyl.js +1 -0
  1091. package/webapp/dist/assets/Grid-BZ7xhoHQ.js +1 -0
  1092. package/webapp/dist/assets/Switch-DGSAxQPM.js +1 -0
  1093. package/webapp/dist/assets/alerts-sXqHJbsa.js +1 -0
  1094. package/webapp/dist/assets/apps-B_Ah8Flh.js +1 -0
  1095. package/webapp/dist/assets/audit-YXihwyui.js +1 -0
  1096. package/webapp/dist/assets/client-CGbBvy9k.js +1 -0
  1097. package/webapp/dist/assets/constants-veKGFkC6.js +1 -0
  1098. package/webapp/dist/assets/containers-Di4NOTLf.js +2 -0
  1099. package/webapp/dist/assets/daemon-memory-CCPZ4cV_.js +1 -0
  1100. package/webapp/dist/assets/dashboard-Cfuf95N3.js +1 -0
  1101. package/webapp/dist/assets/dashboard-builder-CowaYb-M.js +1 -0
  1102. package/webapp/dist/assets/deploy-release-dialog-D6C-XcKY.js +1 -0
  1103. package/webapp/dist/assets/deployments-ChTq5kCw.js +1 -0
  1104. package/webapp/dist/assets/detail-BsGWv7Dj.js +1 -0
  1105. package/webapp/dist/assets/detail-CyVf_cw5.js +2 -0
  1106. package/webapp/dist/assets/detail-D027j6aO.js +8 -0
  1107. package/webapp/dist/assets/formatters-BqjL73N3.js +1 -0
  1108. package/webapp/dist/assets/index-B8AHIPc-.css +1 -0
  1109. package/webapp/dist/assets/index-DiZbrwxT.js +414 -0
  1110. package/webapp/dist/assets/logs-L2b8Oqmo.js +12 -0
  1111. package/webapp/dist/assets/maplibre-gl-MlmG2kbn.js +801 -0
  1112. package/webapp/dist/assets/metrics-CQgjz2Lz.js +2 -0
  1113. package/webapp/dist/assets/nodes-Nwia2Ty6.js +7 -0
  1114. package/webapp/dist/assets/pipelines-DCu_rXOr.js +4 -0
  1115. package/webapp/dist/assets/projects-Bb4aV76h.js +1 -0
  1116. package/webapp/dist/assets/react-CwJFpaho.js +1 -0
  1117. package/webapp/dist/assets/react-apexcharts.esm-Dy0Fez42.js +1956 -0
  1118. package/webapp/dist/assets/release-bits-Dj4EOhhb.js +1 -0
  1119. package/webapp/dist/assets/release-build-panel-D6OCVlhT.js +1 -0
  1120. package/webapp/dist/assets/releases-CnAt3yO6.js +2 -0
  1121. package/webapp/dist/assets/rolldown-runtime-hePW80VL.js +1 -0
  1122. package/webapp/dist/assets/settings-DU-mjiwb.js +1 -0
  1123. package/webapp/dist/assets/settled-pair-C7SjZuns.js +1 -0
  1124. package/webapp/dist/assets/sign-in-Bcvjrr4C.js +1 -0
  1125. package/webapp/dist/assets/stacks-B-e8p50I.js +1 -0
  1126. package/webapp/dist/assets/sync-reading-C3PnJ7AX.js +1 -0
  1127. package/webapp/dist/assets/system-info-BtE3dgfw.js +1 -0
  1128. package/webapp/dist/assets/topology-Cwch-uF1.js +12 -0
  1129. package/webapp/dist/assets/topology-DLioOiRN.css +1 -0
  1130. package/webapp/dist/assets/traces-BbShR-4P.js +1 -0
  1131. package/webapp/dist/assets/use-stack-context-CZUgPq88.js +1 -0
  1132. package/webapp/dist/index.html +6 -6
  1133. package/dist/commands/dev.d.ts +0 -23
  1134. package/dist/commands/dev.d.ts.map +0 -1
  1135. package/dist/commands/dev.js +0 -76
  1136. package/dist/commands/dev.js.map +0 -1
  1137. package/dist/config/define-app.d.ts +0 -6
  1138. package/dist/config/define-app.d.ts.map +0 -1
  1139. package/dist/config/define-app.js +0 -38
  1140. package/dist/config/define-app.js.map +0 -1
  1141. package/dist/infrastructure/gateway-generator.d.ts +0 -63
  1142. package/dist/infrastructure/gateway-generator.d.ts.map +0 -1
  1143. package/dist/infrastructure/gateway-generator.js +0 -253
  1144. package/dist/infrastructure/gateway-generator.js.map +0 -1
  1145. package/dist/monitoring/health.service.d.ts +0 -14
  1146. package/dist/monitoring/health.service.d.ts.map +0 -1
  1147. package/dist/monitoring/health.service.js +0 -50
  1148. package/dist/monitoring/health.service.js.map +0 -1
  1149. package/dist/monitoring/metrics.service.d.ts +0 -14
  1150. package/dist/monitoring/metrics.service.d.ts.map +0 -1
  1151. package/dist/monitoring/metrics.service.js +0 -40
  1152. package/dist/monitoring/metrics.service.js.map +0 -1
  1153. package/dist/orchestrator/bootstrap-runner.d.ts +0 -15
  1154. package/dist/orchestrator/bootstrap-runner.d.ts.map +0 -1
  1155. package/dist/orchestrator/bootstrap-runner.js +0 -152
  1156. package/dist/orchestrator/bootstrap-runner.js.map +0 -1
  1157. package/dist/orchestrator/topology-proxy.d.ts +0 -65
  1158. package/dist/orchestrator/topology-proxy.d.ts.map +0 -1
  1159. package/dist/orchestrator/topology-proxy.js +0 -209
  1160. package/dist/orchestrator/topology-proxy.js.map +0 -1
  1161. package/dist/orchestrator/topology-relay.d.ts +0 -111
  1162. package/dist/orchestrator/topology-relay.d.ts.map +0 -1
  1163. package/dist/orchestrator/topology-relay.js +0 -255
  1164. package/dist/orchestrator/topology-relay.js.map +0 -1
  1165. package/dist/services/auth-middleware.d.ts +0 -47
  1166. package/dist/services/auth-middleware.d.ts.map +0 -1
  1167. package/dist/services/auth-middleware.js +0 -158
  1168. package/dist/services/auth-middleware.js.map +0 -1
  1169. package/dist/services/environment.rpc-service.d.ts +0 -22
  1170. package/dist/services/environment.rpc-service.d.ts.map +0 -1
  1171. package/dist/services/environment.rpc-service.js +0 -65
  1172. package/dist/services/environment.rpc-service.js.map +0 -1
  1173. package/dist/services/environment.service.d.ts +0 -87
  1174. package/dist/services/environment.service.d.ts.map +0 -1
  1175. package/dist/services/environment.service.js +0 -220
  1176. package/dist/services/environment.service.js.map +0 -1
  1177. package/dist/services/metrics-collector.service.d.ts +0 -103
  1178. package/dist/services/metrics-collector.service.d.ts.map +0 -1
  1179. package/dist/services/metrics-collector.service.js +0 -235
  1180. package/dist/services/metrics-collector.service.js.map +0 -1
  1181. package/dist/services/metrics.rpc-service.d.ts +0 -41
  1182. package/dist/services/metrics.rpc-service.d.ts.map +0 -1
  1183. package/dist/services/metrics.rpc-service.js +0 -90
  1184. package/dist/services/metrics.rpc-service.js.map +0 -1
  1185. package/dist/services/metrics.service.d.ts +0 -72
  1186. package/dist/services/metrics.service.d.ts.map +0 -1
  1187. package/dist/services/metrics.service.js +0 -185
  1188. package/dist/services/metrics.service.js.map +0 -1
  1189. package/dist/supervisor/omnitron-supervisor.d.ts +0 -21
  1190. package/dist/supervisor/omnitron-supervisor.d.ts.map +0 -1
  1191. package/dist/supervisor/omnitron-supervisor.js +0 -43
  1192. package/dist/supervisor/omnitron-supervisor.js.map +0 -1
  1193. package/dist/webapp/static-server.d.ts +0 -24
  1194. package/dist/webapp/static-server.d.ts.map +0 -1
  1195. package/dist/webapp/static-server.js +0 -152
  1196. package/dist/webapp/static-server.js.map +0 -1
  1197. package/webapp/dist/assets/Badge-D2ZBP5iK.js +0 -1
  1198. package/webapp/dist/assets/Card-vO88g06B.js +0 -1
  1199. package/webapp/dist/assets/CardActions-C9h7Q2wW.js +0 -1
  1200. package/webapp/dist/assets/CardContent-BA_Xmmhk.js +0 -1
  1201. package/webapp/dist/assets/CardHeader-ceIs__6x.js +0 -1
  1202. package/webapp/dist/assets/Chip-Ckk0xUhK.js +0 -1
  1203. package/webapp/dist/assets/DialogActions-BhHM7hov.js +0 -1
  1204. package/webapp/dist/assets/DialogContentText-BT2JQRmK.js +0 -1
  1205. package/webapp/dist/assets/FormControlLabel-CcQByVS8.js +0 -1
  1206. package/webapp/dist/assets/Grid-14PETRQW.js +0 -1
  1207. package/webapp/dist/assets/InputAdornment-B8aHIsQ7.js +0 -1
  1208. package/webapp/dist/assets/Skeleton-B74-Ds6O.js +0 -37
  1209. package/webapp/dist/assets/Switch-DvWD2wh4.js +0 -1
  1210. package/webapp/dist/assets/SwitchBase-CDU4nY8O.js +0 -1
  1211. package/webapp/dist/assets/Tab-DcCOYYp5.js +0 -1
  1212. package/webapp/dist/assets/TableContainer-CzTh4mu-.js +0 -1
  1213. package/webapp/dist/assets/TableRow-BySEreZR.js +0 -2
  1214. package/webapp/dist/assets/TextField-BLf-BHz2.js +0 -1
  1215. package/webapp/dist/assets/alerts-DnRbT41C.js +0 -1
  1216. package/webapp/dist/assets/apps-CdR0VH2d.js +0 -1
  1217. package/webapp/dist/assets/chunk-DtcAfS_W.js +0 -1
  1218. package/webapp/dist/assets/client-DU8I_lDc.js +0 -2
  1219. package/webapp/dist/assets/constants-BgnT-Xdy.js +0 -1
  1220. package/webapp/dist/assets/containers-Dw-rRXV1.js +0 -1
  1221. package/webapp/dist/assets/dashboard-CzgB0uZz.js +0 -1
  1222. package/webapp/dist/assets/dashboard-builder-DsA0yg33.js +0 -1
  1223. package/webapp/dist/assets/deployments-DtQAoIcQ.js +0 -1
  1224. package/webapp/dist/assets/detail-BJR-G7JG.js +0 -1
  1225. package/webapp/dist/assets/detail-nlCeSltl.js +0 -8
  1226. package/webapp/dist/assets/formatters-Do41SRmE.js +0 -1
  1227. package/webapp/dist/assets/index-ByQDwp2r.js +0 -566
  1228. package/webapp/dist/assets/index-CHVXOsTS.css +0 -1
  1229. package/webapp/dist/assets/isMuiElement-DwF2naaF.js +0 -1
  1230. package/webapp/dist/assets/logs-Kn8o4H7k.js +0 -11
  1231. package/webapp/dist/assets/metrics-DN8Zu5wT.js +0 -2
  1232. package/webapp/dist/assets/nodes-Bgch7AtN.js +0 -7
  1233. package/webapp/dist/assets/pipelines-Cry3qm-S.js +0 -4
  1234. package/webapp/dist/assets/popper-BJFSj6rc.js +0 -1
  1235. package/webapp/dist/assets/preload-helper-DSXbuxSR.js +0 -1
  1236. package/webapp/dist/assets/projects-Dym2GI1U.js +0 -1
  1237. package/webapp/dist/assets/react-apexcharts.esm-CSGK5Cxn.js +0 -958
  1238. package/webapp/dist/assets/react-apexcharts.esm-DEAWOwx5.js +0 -1003
  1239. package/webapp/dist/assets/settings-va3zTcow.js +0 -1
  1240. package/webapp/dist/assets/sign-in-ik35umbp.js +0 -1
  1241. package/webapp/dist/assets/stacks-CVFOnxbF.js +0 -1
  1242. package/webapp/dist/assets/system-info-npIXAjX2.js +0 -1
  1243. package/webapp/dist/assets/topology-CHpVij2M.css +0 -1
  1244. package/webapp/dist/assets/topology-bDe70vLs.js +0 -12
  1245. package/webapp/dist/assets/traces-DIIcT8DF.js +0 -1
  1246. package/webapp/dist/assets/use-stack-context-DHLwZv1r.js +0 -1
  1247. /package/webapp/dist/assets/{fs-CgZLtHiQ.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 { ILogger } from '@omnitron-dev/titan/module/logger';
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 type { FleetService } from './fleet.service.js';
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
- constructor(logger: ILogger, orchestrator: OrchestratorService, fleetService?: FleetService | undefined, syncService?: SyncService | undefined);
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
- * Get or create the SlaveConnector (lazy — only created when first remote/cluster stack starts).
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,34 @@ 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>;
47
194
  updateProject(name: string, data: {
48
195
  path?: string;
49
196
  }): IProjectInfo;
@@ -62,13 +209,295 @@ export declare class ProjectService extends EventEmitter {
62
209
  private deleteUserStack;
63
210
  listStacks(projectName: string): IStackInfo[];
64
211
  getStack(projectName: string, stackName: string): IStackInfo;
65
- startStack(projectName: string, stackName: string): Promise<IStackInfo>;
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;
66
272
  stopStack(projectName: string, stackName: string): Promise<IStackInfo>;
67
- getStackStatus(projectName: string, stackName: string): StackRuntime;
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;
68
481
  /**
69
482
  * Get the infrastructure manager (for daemon-level access).
70
483
  */
71
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;
72
501
  /**
73
502
  * Dispose of all resources held by this service.
74
503
  * Called during daemon shutdown.
@@ -76,6 +505,19 @@ export declare class ProjectService extends EventEmitter {
76
505
  dispose(): Promise<void>;
77
506
  loadProjectConfig(projectName: string): Promise<IEcosystemConfig>;
78
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>;
79
521
  reloadConfig(projectName?: string): Promise<void>;
80
522
  getRunningStacks(projectName: string): string[];
81
523
  /** Build the stack handle key for an app */
@@ -94,12 +536,142 @@ export declare class ProjectService extends EventEmitter {
94
536
  * Validate that a stack's infrastructure config satisfies all app requirements.
95
537
  * Returns issues if infrastructure is missing for apps that need it.
96
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
+ }>>;
97
558
  validateStackInfrastructure(projectName: string, stackName: string): Promise<{
98
559
  valid: boolean;
99
560
  issues: string[];
100
561
  }>;
101
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
+ */
102
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;
103
675
  private startClusterStack;
104
676
  /**
105
677
  * Run database migrations for apps that declare migrate: true in their
@@ -111,12 +683,6 @@ export declare class ProjectService extends EventEmitter {
111
683
  * localhost:{port}/{dbName} with postgres:postgres — matching the stack's provisioned postgres.
112
684
  */
113
685
  private runStackMigrations;
114
- /**
115
- * Block until a postgres instance accepts connections, with bounded retries.
116
- * Used before running migrations to avoid ECONNREFUSED on freshly-provisioned
117
- * containers.
118
- */
119
- private waitForPostgres;
120
686
  /**
121
687
  * Resolve stacks from config + user stacks.
122
688
  * User-created stacks (from omnitron.stacks.json) are merged with config stacks.
@@ -124,9 +690,105 @@ export declare class ProjectService extends EventEmitter {
124
690
  * No implicit fallbacks — stacks must be created explicitly.
125
691
  */
126
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;
127
732
  private resolveStackApps;
128
733
  private updateEnabledStacks;
129
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;
130
777
  private toStackInfo;
131
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
+ };
132
794
  //# sourceMappingURL=project.service.d.ts.map