@vibesdotdev/platform 0.0.0-stage → 1.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1657) hide show
  1. package/LICENSE +18 -0
  2. package/README.md +179 -2
  3. package/dist/api/cloud-response.schemas.d.ts +8 -0
  4. package/dist/api/cloud-response.schemas.d.ts.map +1 -0
  5. package/dist/api/cloud-response.schemas.js +64 -0
  6. package/dist/api/cloud-response.schemas.js.map +1 -0
  7. package/dist/api/index.d.ts +16 -0
  8. package/dist/api/index.d.ts.map +1 -0
  9. package/dist/api/index.js +15 -0
  10. package/dist/api/index.js.map +1 -0
  11. package/dist/api/platform.api-client-crossorigin.impl.d.ts +52 -0
  12. package/dist/api/platform.api-client-crossorigin.impl.d.ts.map +1 -0
  13. package/dist/api/platform.api-client-crossorigin.impl.js +55 -0
  14. package/dist/api/platform.api-client-crossorigin.impl.js.map +1 -0
  15. package/dist/api/platform.api-client.descriptor.d.ts +18 -0
  16. package/dist/api/platform.api-client.descriptor.d.ts.map +1 -0
  17. package/dist/api/platform.api-client.descriptor.js +24 -0
  18. package/dist/api/platform.api-client.descriptor.js.map +1 -0
  19. package/dist/api/platform.api-client.impl.cloud.d.ts +24 -0
  20. package/dist/api/platform.api-client.impl.cloud.d.ts.map +1 -0
  21. package/dist/api/platform.api-client.impl.cloud.js +36 -0
  22. package/dist/api/platform.api-client.impl.cloud.js.map +1 -0
  23. package/dist/api/platform.api-client.impl.consumer.browser.d.ts +13 -0
  24. package/dist/api/platform.api-client.impl.consumer.browser.d.ts.map +1 -0
  25. package/dist/api/platform.api-client.impl.consumer.browser.js +13 -0
  26. package/dist/api/platform.api-client.impl.consumer.browser.js.map +1 -0
  27. package/dist/api/platform.api-client.impl.d.ts +71 -0
  28. package/dist/api/platform.api-client.impl.d.ts.map +1 -0
  29. package/dist/api/platform.api-client.impl.js +247 -0
  30. package/dist/api/platform.api-client.impl.js.map +1 -0
  31. package/dist/api/platform.api-client.types.d.ts +225 -0
  32. package/dist/api/platform.api-client.types.d.ts.map +1 -0
  33. package/dist/api/platform.api-client.types.js +63 -0
  34. package/dist/api/platform.api-client.types.js.map +1 -0
  35. package/dist/api-client.plugin.d.ts +8 -0
  36. package/dist/api-client.plugin.d.ts.map +1 -0
  37. package/dist/api-client.plugin.js +20 -0
  38. package/dist/api-client.plugin.js.map +1 -0
  39. package/dist/banners/banner.storage.descriptor.d.ts +13 -0
  40. package/dist/banners/banner.storage.descriptor.d.ts.map +1 -0
  41. package/dist/banners/banner.storage.descriptor.js +37 -0
  42. package/dist/banners/banner.storage.descriptor.js.map +1 -0
  43. package/dist/banners/schemas/banner.d.ts +222 -0
  44. package/dist/banners/schemas/banner.d.ts.map +1 -0
  45. package/dist/banners/schemas/banner.js +117 -0
  46. package/dist/banners/schemas/banner.js.map +1 -0
  47. package/dist/cli/commands/caller-session.d.ts +10 -0
  48. package/dist/cli/commands/caller-session.d.ts.map +1 -0
  49. package/dist/cli/commands/caller-session.js +19 -0
  50. package/dist/cli/commands/caller-session.js.map +1 -0
  51. package/dist/cli/commands/daemons/platform.daemons.cli-group.descriptor.d.ts +9 -0
  52. package/dist/cli/commands/daemons/platform.daemons.cli-group.descriptor.d.ts.map +1 -0
  53. package/dist/cli/commands/daemons/platform.daemons.cli-group.descriptor.js +17 -0
  54. package/dist/cli/commands/daemons/platform.daemons.cli-group.descriptor.js.map +1 -0
  55. package/dist/cli/commands/daemons/platform.daemons.get.cli-command.descriptor.d.ts +9 -0
  56. package/dist/cli/commands/daemons/platform.daemons.get.cli-command.descriptor.d.ts.map +1 -0
  57. package/dist/cli/commands/daemons/platform.daemons.get.cli-command.descriptor.js +19 -0
  58. package/dist/cli/commands/daemons/platform.daemons.get.cli-command.descriptor.js.map +1 -0
  59. package/dist/cli/commands/daemons/platform.daemons.get.cli-command.impl.d.ts +14 -0
  60. package/dist/cli/commands/daemons/platform.daemons.get.cli-command.impl.d.ts.map +1 -0
  61. package/dist/cli/commands/daemons/platform.daemons.get.cli-command.impl.js +43 -0
  62. package/dist/cli/commands/daemons/platform.daemons.get.cli-command.impl.js.map +1 -0
  63. package/dist/cli/commands/daemons/platform.daemons.list.cli-command.descriptor.d.ts +9 -0
  64. package/dist/cli/commands/daemons/platform.daemons.list.cli-command.descriptor.d.ts.map +1 -0
  65. package/dist/cli/commands/daemons/platform.daemons.list.cli-command.descriptor.js +28 -0
  66. package/dist/cli/commands/daemons/platform.daemons.list.cli-command.descriptor.js.map +1 -0
  67. package/dist/cli/commands/daemons/platform.daemons.list.cli-command.impl.d.ts +15 -0
  68. package/dist/cli/commands/daemons/platform.daemons.list.cli-command.impl.d.ts.map +1 -0
  69. package/dist/cli/commands/daemons/platform.daemons.list.cli-command.impl.js +27 -0
  70. package/dist/cli/commands/daemons/platform.daemons.list.cli-command.impl.js.map +1 -0
  71. package/dist/cli/commands/daemons/platform.daemons.register.cli-command.descriptor.d.ts +9 -0
  72. package/dist/cli/commands/daemons/platform.daemons.register.cli-command.descriptor.d.ts.map +1 -0
  73. package/dist/cli/commands/daemons/platform.daemons.register.cli-command.descriptor.js +32 -0
  74. package/dist/cli/commands/daemons/platform.daemons.register.cli-command.descriptor.js.map +1 -0
  75. package/dist/cli/commands/daemons/platform.daemons.register.cli-command.impl.d.ts +9 -0
  76. package/dist/cli/commands/daemons/platform.daemons.register.cli-command.impl.d.ts.map +1 -0
  77. package/dist/cli/commands/daemons/platform.daemons.register.cli-command.impl.js +47 -0
  78. package/dist/cli/commands/daemons/platform.daemons.register.cli-command.impl.js.map +1 -0
  79. package/dist/cli/commands/daemons/platform.daemons.retire.cli-command.descriptor.d.ts +9 -0
  80. package/dist/cli/commands/daemons/platform.daemons.retire.cli-command.descriptor.d.ts.map +1 -0
  81. package/dist/cli/commands/daemons/platform.daemons.retire.cli-command.descriptor.js +21 -0
  82. package/dist/cli/commands/daemons/platform.daemons.retire.cli-command.descriptor.js.map +1 -0
  83. package/dist/cli/commands/daemons/platform.daemons.retire.cli-command.impl.d.ts +14 -0
  84. package/dist/cli/commands/daemons/platform.daemons.retire.cli-command.impl.d.ts.map +1 -0
  85. package/dist/cli/commands/daemons/platform.daemons.retire.cli-command.impl.js +21 -0
  86. package/dist/cli/commands/daemons/platform.daemons.retire.cli-command.impl.js.map +1 -0
  87. package/dist/cli/commands/daemons/schemas.d.ts +2 -0
  88. package/dist/cli/commands/daemons/schemas.d.ts.map +1 -0
  89. package/dist/cli/commands/daemons/schemas.js +2 -0
  90. package/dist/cli/commands/daemons/schemas.js.map +1 -0
  91. package/dist/cli/commands/deployments.command.descriptor.d.ts +38 -0
  92. package/dist/cli/commands/deployments.command.descriptor.d.ts.map +1 -0
  93. package/dist/cli/commands/deployments.command.descriptor.js +42 -0
  94. package/dist/cli/commands/deployments.command.descriptor.js.map +1 -0
  95. package/dist/cli/commands/deployments.command.impl.d.ts +15 -0
  96. package/dist/cli/commands/deployments.command.impl.d.ts.map +1 -0
  97. package/dist/cli/commands/deployments.command.impl.js +116 -0
  98. package/dist/cli/commands/deployments.command.impl.js.map +1 -0
  99. package/dist/cli/commands/hostnames/create/resources.networking.hostnames.create.cli-command.descriptor.d.ts +4 -0
  100. package/dist/cli/commands/hostnames/create/resources.networking.hostnames.create.cli-command.descriptor.d.ts.map +1 -0
  101. package/dist/cli/commands/hostnames/create/resources.networking.hostnames.create.cli-command.descriptor.js +20 -0
  102. package/dist/cli/commands/hostnames/create/resources.networking.hostnames.create.cli-command.descriptor.js.map +1 -0
  103. package/dist/cli/commands/hostnames/create/resources.networking.hostnames.create.cli-command.impl.d.ts +12 -0
  104. package/dist/cli/commands/hostnames/create/resources.networking.hostnames.create.cli-command.impl.d.ts.map +1 -0
  105. package/dist/cli/commands/hostnames/create/resources.networking.hostnames.create.cli-command.impl.js +54 -0
  106. package/dist/cli/commands/hostnames/create/resources.networking.hostnames.create.cli-command.impl.js.map +1 -0
  107. package/dist/cli/commands/hostnames/delete/resources.networking.hostnames.delete.cli-command.descriptor.d.ts +4 -0
  108. package/dist/cli/commands/hostnames/delete/resources.networking.hostnames.delete.cli-command.descriptor.d.ts.map +1 -0
  109. package/dist/cli/commands/hostnames/delete/resources.networking.hostnames.delete.cli-command.descriptor.js +18 -0
  110. package/dist/cli/commands/hostnames/delete/resources.networking.hostnames.delete.cli-command.descriptor.js.map +1 -0
  111. package/dist/cli/commands/hostnames/delete/resources.networking.hostnames.delete.cli-command.impl.d.ts +12 -0
  112. package/dist/cli/commands/hostnames/delete/resources.networking.hostnames.delete.cli-command.impl.d.ts.map +1 -0
  113. package/dist/cli/commands/hostnames/delete/resources.networking.hostnames.delete.cli-command.impl.js +44 -0
  114. package/dist/cli/commands/hostnames/delete/resources.networking.hostnames.delete.cli-command.impl.js.map +1 -0
  115. package/dist/cli/commands/hostnames/list/resources.networking.hostnames.list.cli-command.descriptor.d.ts +4 -0
  116. package/dist/cli/commands/hostnames/list/resources.networking.hostnames.list.cli-command.descriptor.d.ts.map +1 -0
  117. package/dist/cli/commands/hostnames/list/resources.networking.hostnames.list.cli-command.descriptor.js +20 -0
  118. package/dist/cli/commands/hostnames/list/resources.networking.hostnames.list.cli-command.descriptor.js.map +1 -0
  119. package/dist/cli/commands/hostnames/list/resources.networking.hostnames.list.cli-command.impl.d.ts +16 -0
  120. package/dist/cli/commands/hostnames/list/resources.networking.hostnames.list.cli-command.impl.d.ts.map +1 -0
  121. package/dist/cli/commands/hostnames/list/resources.networking.hostnames.list.cli-command.impl.js +61 -0
  122. package/dist/cli/commands/hostnames/list/resources.networking.hostnames.list.cli-command.impl.js.map +1 -0
  123. package/dist/cli/commands/hostnames/map/resources.networking.hostnames.map.cli-command.descriptor.d.ts +4 -0
  124. package/dist/cli/commands/hostnames/map/resources.networking.hostnames.map.cli-command.descriptor.d.ts.map +1 -0
  125. package/dist/cli/commands/hostnames/map/resources.networking.hostnames.map.cli-command.descriptor.js +23 -0
  126. package/dist/cli/commands/hostnames/map/resources.networking.hostnames.map.cli-command.descriptor.js.map +1 -0
  127. package/dist/cli/commands/hostnames/map/resources.networking.hostnames.map.cli-command.impl.d.ts +12 -0
  128. package/dist/cli/commands/hostnames/map/resources.networking.hostnames.map.cli-command.impl.d.ts.map +1 -0
  129. package/dist/cli/commands/hostnames/map/resources.networking.hostnames.map.cli-command.impl.js +48 -0
  130. package/dist/cli/commands/hostnames/map/resources.networking.hostnames.map.cli-command.impl.js.map +1 -0
  131. package/dist/cli/commands/hostnames/platform-api-failure.d.ts +8 -0
  132. package/dist/cli/commands/hostnames/platform-api-failure.d.ts.map +1 -0
  133. package/dist/cli/commands/hostnames/platform-api-failure.js +49 -0
  134. package/dist/cli/commands/hostnames/platform-api-failure.js.map +1 -0
  135. package/dist/cli/commands/hostnames/resources.networking.hostnames.cli-group.descriptor.d.ts +4 -0
  136. package/dist/cli/commands/hostnames/resources.networking.hostnames.cli-group.descriptor.d.ts.map +1 -0
  137. package/dist/cli/commands/hostnames/resources.networking.hostnames.cli-group.descriptor.js +12 -0
  138. package/dist/cli/commands/hostnames/resources.networking.hostnames.cli-group.descriptor.js.map +1 -0
  139. package/dist/cli/commands/hostnames/schemas.d.ts +2 -0
  140. package/dist/cli/commands/hostnames/schemas.d.ts.map +1 -0
  141. package/dist/cli/commands/hostnames/schemas.js +2 -0
  142. package/dist/cli/commands/hostnames/schemas.js.map +1 -0
  143. package/dist/cli/commands/hostnames/status/resources.networking.hostnames.status.cli-command.descriptor.d.ts +4 -0
  144. package/dist/cli/commands/hostnames/status/resources.networking.hostnames.status.cli-command.descriptor.d.ts.map +1 -0
  145. package/dist/cli/commands/hostnames/status/resources.networking.hostnames.status.cli-command.descriptor.js +18 -0
  146. package/dist/cli/commands/hostnames/status/resources.networking.hostnames.status.cli-command.descriptor.js.map +1 -0
  147. package/dist/cli/commands/hostnames/status/resources.networking.hostnames.status.cli-command.impl.d.ts +12 -0
  148. package/dist/cli/commands/hostnames/status/resources.networking.hostnames.status.cli-command.impl.d.ts.map +1 -0
  149. package/dist/cli/commands/hostnames/status/resources.networking.hostnames.status.cli-command.impl.js +73 -0
  150. package/dist/cli/commands/hostnames/status/resources.networking.hostnames.status.cli-command.impl.js.map +1 -0
  151. package/dist/cli/commands/hostnames/verify/resources.networking.hostnames.verify.cli-command.descriptor.d.ts +4 -0
  152. package/dist/cli/commands/hostnames/verify/resources.networking.hostnames.verify.cli-command.descriptor.d.ts.map +1 -0
  153. package/dist/cli/commands/hostnames/verify/resources.networking.hostnames.verify.cli-command.descriptor.js +17 -0
  154. package/dist/cli/commands/hostnames/verify/resources.networking.hostnames.verify.cli-command.descriptor.js.map +1 -0
  155. package/dist/cli/commands/hostnames/verify/resources.networking.hostnames.verify.cli-command.impl.d.ts +12 -0
  156. package/dist/cli/commands/hostnames/verify/resources.networking.hostnames.verify.cli-command.impl.d.ts.map +1 -0
  157. package/dist/cli/commands/hostnames/verify/resources.networking.hostnames.verify.cli-command.impl.js +53 -0
  158. package/dist/cli/commands/hostnames/verify/resources.networking.hostnames.verify.cli-command.impl.js.map +1 -0
  159. package/dist/cli/commands/hosts/infra.hosts.cli-group.descriptor.d.ts +12 -0
  160. package/dist/cli/commands/hosts/infra.hosts.cli-group.descriptor.d.ts.map +1 -0
  161. package/dist/cli/commands/hosts/infra.hosts.cli-group.descriptor.js +25 -0
  162. package/dist/cli/commands/hosts/infra.hosts.cli-group.descriptor.js.map +1 -0
  163. package/dist/cli/commands/hosts/infra.hosts.get.cli-command.descriptor.d.ts +4 -0
  164. package/dist/cli/commands/hosts/infra.hosts.get.cli-command.descriptor.d.ts.map +1 -0
  165. package/dist/cli/commands/hosts/infra.hosts.get.cli-command.descriptor.js +8 -0
  166. package/dist/cli/commands/hosts/infra.hosts.get.cli-command.descriptor.js.map +1 -0
  167. package/dist/cli/commands/hosts/infra.hosts.list.cli-command.descriptor.d.ts +4 -0
  168. package/dist/cli/commands/hosts/infra.hosts.list.cli-command.descriptor.d.ts.map +1 -0
  169. package/dist/cli/commands/hosts/infra.hosts.list.cli-command.descriptor.js +9 -0
  170. package/dist/cli/commands/hosts/infra.hosts.list.cli-command.descriptor.js.map +1 -0
  171. package/dist/cli/commands/hosts/infra.hosts.provision.cli-command.descriptor.d.ts +4 -0
  172. package/dist/cli/commands/hosts/infra.hosts.provision.cli-command.descriptor.d.ts.map +1 -0
  173. package/dist/cli/commands/hosts/infra.hosts.provision.cli-command.descriptor.js +8 -0
  174. package/dist/cli/commands/hosts/infra.hosts.provision.cli-command.descriptor.js.map +1 -0
  175. package/dist/cli/commands/hosts/infra.hosts.register.cli-command.descriptor.d.ts +4 -0
  176. package/dist/cli/commands/hosts/infra.hosts.register.cli-command.descriptor.d.ts.map +1 -0
  177. package/dist/cli/commands/hosts/infra.hosts.register.cli-command.descriptor.js +10 -0
  178. package/dist/cli/commands/hosts/infra.hosts.register.cli-command.descriptor.js.map +1 -0
  179. package/dist/cli/commands/hosts/infra.hosts.retire.cli-command.descriptor.d.ts +4 -0
  180. package/dist/cli/commands/hosts/infra.hosts.retire.cli-command.descriptor.d.ts.map +1 -0
  181. package/dist/cli/commands/hosts/infra.hosts.retire.cli-command.descriptor.js +8 -0
  182. package/dist/cli/commands/hosts/infra.hosts.retire.cli-command.descriptor.js.map +1 -0
  183. package/dist/cli/commands/hosts/platform.hosts.agent.cli-command.descriptor.d.ts +10 -0
  184. package/dist/cli/commands/hosts/platform.hosts.agent.cli-command.descriptor.d.ts.map +1 -0
  185. package/dist/cli/commands/hosts/platform.hosts.agent.cli-command.descriptor.js +38 -0
  186. package/dist/cli/commands/hosts/platform.hosts.agent.cli-command.descriptor.js.map +1 -0
  187. package/dist/cli/commands/hosts/platform.hosts.agent.cli-command.impl.d.ts +22 -0
  188. package/dist/cli/commands/hosts/platform.hosts.agent.cli-command.impl.d.ts.map +1 -0
  189. package/dist/cli/commands/hosts/platform.hosts.agent.cli-command.impl.js +159 -0
  190. package/dist/cli/commands/hosts/platform.hosts.agent.cli-command.impl.js.map +1 -0
  191. package/dist/cli/commands/hosts/platform.hosts.cli-group.descriptor.d.ts +9 -0
  192. package/dist/cli/commands/hosts/platform.hosts.cli-group.descriptor.d.ts.map +1 -0
  193. package/dist/cli/commands/hosts/platform.hosts.cli-group.descriptor.js +17 -0
  194. package/dist/cli/commands/hosts/platform.hosts.cli-group.descriptor.js.map +1 -0
  195. package/dist/cli/commands/hosts/platform.hosts.get.cli-command.descriptor.d.ts +9 -0
  196. package/dist/cli/commands/hosts/platform.hosts.get.cli-command.descriptor.d.ts.map +1 -0
  197. package/dist/cli/commands/hosts/platform.hosts.get.cli-command.descriptor.js +19 -0
  198. package/dist/cli/commands/hosts/platform.hosts.get.cli-command.descriptor.js.map +1 -0
  199. package/dist/cli/commands/hosts/platform.hosts.get.cli-command.impl.d.ts +14 -0
  200. package/dist/cli/commands/hosts/platform.hosts.get.cli-command.impl.d.ts.map +1 -0
  201. package/dist/cli/commands/hosts/platform.hosts.get.cli-command.impl.js +45 -0
  202. package/dist/cli/commands/hosts/platform.hosts.get.cli-command.impl.js.map +1 -0
  203. package/dist/cli/commands/hosts/platform.hosts.list.cli-command.descriptor.d.ts +9 -0
  204. package/dist/cli/commands/hosts/platform.hosts.list.cli-command.descriptor.d.ts.map +1 -0
  205. package/dist/cli/commands/hosts/platform.hosts.list.cli-command.descriptor.js +29 -0
  206. package/dist/cli/commands/hosts/platform.hosts.list.cli-command.descriptor.js.map +1 -0
  207. package/dist/cli/commands/hosts/platform.hosts.list.cli-command.impl.d.ts +15 -0
  208. package/dist/cli/commands/hosts/platform.hosts.list.cli-command.impl.d.ts.map +1 -0
  209. package/dist/cli/commands/hosts/platform.hosts.list.cli-command.impl.js +31 -0
  210. package/dist/cli/commands/hosts/platform.hosts.list.cli-command.impl.js.map +1 -0
  211. package/dist/cli/commands/hosts/platform.hosts.provision.cli-command.descriptor.d.ts +9 -0
  212. package/dist/cli/commands/hosts/platform.hosts.provision.cli-command.descriptor.d.ts.map +1 -0
  213. package/dist/cli/commands/hosts/platform.hosts.provision.cli-command.descriptor.js +58 -0
  214. package/dist/cli/commands/hosts/platform.hosts.provision.cli-command.descriptor.js.map +1 -0
  215. package/dist/cli/commands/hosts/platform.hosts.provision.cli-command.impl.d.ts +108 -0
  216. package/dist/cli/commands/hosts/platform.hosts.provision.cli-command.impl.d.ts.map +1 -0
  217. package/dist/cli/commands/hosts/platform.hosts.provision.cli-command.impl.js +34 -0
  218. package/dist/cli/commands/hosts/platform.hosts.provision.cli-command.impl.js.map +1 -0
  219. package/dist/cli/commands/hosts/platform.hosts.queue-action.cli-command.descriptor.d.ts +7 -0
  220. package/dist/cli/commands/hosts/platform.hosts.queue-action.cli-command.descriptor.d.ts.map +1 -0
  221. package/dist/cli/commands/hosts/platform.hosts.queue-action.cli-command.descriptor.js +17 -0
  222. package/dist/cli/commands/hosts/platform.hosts.queue-action.cli-command.descriptor.js.map +1 -0
  223. package/dist/cli/commands/hosts/platform.hosts.queue-action.cli-command.impl.d.ts +8 -0
  224. package/dist/cli/commands/hosts/platform.hosts.queue-action.cli-command.impl.d.ts.map +1 -0
  225. package/dist/cli/commands/hosts/platform.hosts.queue-action.cli-command.impl.js +35 -0
  226. package/dist/cli/commands/hosts/platform.hosts.queue-action.cli-command.impl.js.map +1 -0
  227. package/dist/cli/commands/hosts/platform.hosts.register.cli-command.descriptor.d.ts +10 -0
  228. package/dist/cli/commands/hosts/platform.hosts.register.cli-command.descriptor.d.ts.map +1 -0
  229. package/dist/cli/commands/hosts/platform.hosts.register.cli-command.descriptor.js +33 -0
  230. package/dist/cli/commands/hosts/platform.hosts.register.cli-command.descriptor.js.map +1 -0
  231. package/dist/cli/commands/hosts/platform.hosts.register.cli-command.impl.d.ts +14 -0
  232. package/dist/cli/commands/hosts/platform.hosts.register.cli-command.impl.d.ts.map +1 -0
  233. package/dist/cli/commands/hosts/platform.hosts.register.cli-command.impl.js +62 -0
  234. package/dist/cli/commands/hosts/platform.hosts.register.cli-command.impl.js.map +1 -0
  235. package/dist/cli/commands/hosts/platform.hosts.retire.cli-command.descriptor.d.ts +9 -0
  236. package/dist/cli/commands/hosts/platform.hosts.retire.cli-command.descriptor.d.ts.map +1 -0
  237. package/dist/cli/commands/hosts/platform.hosts.retire.cli-command.descriptor.js +21 -0
  238. package/dist/cli/commands/hosts/platform.hosts.retire.cli-command.descriptor.js.map +1 -0
  239. package/dist/cli/commands/hosts/platform.hosts.retire.cli-command.impl.d.ts +15 -0
  240. package/dist/cli/commands/hosts/platform.hosts.retire.cli-command.impl.d.ts.map +1 -0
  241. package/dist/cli/commands/hosts/platform.hosts.retire.cli-command.impl.js +27 -0
  242. package/dist/cli/commands/hosts/platform.hosts.retire.cli-command.impl.js.map +1 -0
  243. package/dist/cli/commands/hosts/schemas.d.ts +2 -0
  244. package/dist/cli/commands/hosts/schemas.d.ts.map +1 -0
  245. package/dist/cli/commands/hosts/schemas.js +2 -0
  246. package/dist/cli/commands/hosts/schemas.js.map +1 -0
  247. package/dist/cli/commands/platform-api-failure.d.ts +8 -0
  248. package/dist/cli/commands/platform-api-failure.d.ts.map +1 -0
  249. package/dist/cli/commands/platform-api-failure.js +46 -0
  250. package/dist/cli/commands/platform-api-failure.js.map +1 -0
  251. package/dist/cli/commands/platform.status.command.descriptor.d.ts +26 -0
  252. package/dist/cli/commands/platform.status.command.descriptor.d.ts.map +1 -0
  253. package/dist/cli/commands/platform.status.command.descriptor.js +33 -0
  254. package/dist/cli/commands/platform.status.command.descriptor.js.map +1 -0
  255. package/dist/cli/commands/platform.status.command.impl.d.ts +7 -0
  256. package/dist/cli/commands/platform.status.command.impl.d.ts.map +1 -0
  257. package/dist/cli/commands/platform.status.command.impl.js +130 -0
  258. package/dist/cli/commands/platform.status.command.impl.js.map +1 -0
  259. package/dist/cli/commands/processes/platform.processes.cli-group.descriptor.d.ts +9 -0
  260. package/dist/cli/commands/processes/platform.processes.cli-group.descriptor.d.ts.map +1 -0
  261. package/dist/cli/commands/processes/platform.processes.cli-group.descriptor.js +17 -0
  262. package/dist/cli/commands/processes/platform.processes.cli-group.descriptor.js.map +1 -0
  263. package/dist/cli/commands/processes/platform.processes.get.cli-command.descriptor.d.ts +9 -0
  264. package/dist/cli/commands/processes/platform.processes.get.cli-command.descriptor.d.ts.map +1 -0
  265. package/dist/cli/commands/processes/platform.processes.get.cli-command.descriptor.js +19 -0
  266. package/dist/cli/commands/processes/platform.processes.get.cli-command.descriptor.js.map +1 -0
  267. package/dist/cli/commands/processes/platform.processes.get.cli-command.impl.d.ts +14 -0
  268. package/dist/cli/commands/processes/platform.processes.get.cli-command.impl.d.ts.map +1 -0
  269. package/dist/cli/commands/processes/platform.processes.get.cli-command.impl.js +59 -0
  270. package/dist/cli/commands/processes/platform.processes.get.cli-command.impl.js.map +1 -0
  271. package/dist/cli/commands/processes/platform.processes.list.cli-command.descriptor.d.ts +9 -0
  272. package/dist/cli/commands/processes/platform.processes.list.cli-command.descriptor.d.ts.map +1 -0
  273. package/dist/cli/commands/processes/platform.processes.list.cli-command.descriptor.js +29 -0
  274. package/dist/cli/commands/processes/platform.processes.list.cli-command.descriptor.js.map +1 -0
  275. package/dist/cli/commands/processes/platform.processes.list.cli-command.impl.d.ts +15 -0
  276. package/dist/cli/commands/processes/platform.processes.list.cli-command.impl.d.ts.map +1 -0
  277. package/dist/cli/commands/processes/platform.processes.list.cli-command.impl.js +34 -0
  278. package/dist/cli/commands/processes/platform.processes.list.cli-command.impl.js.map +1 -0
  279. package/dist/cli/commands/processes/platform.processes.stop.cli-command.descriptor.d.ts +9 -0
  280. package/dist/cli/commands/processes/platform.processes.stop.cli-command.descriptor.d.ts.map +1 -0
  281. package/dist/cli/commands/processes/platform.processes.stop.cli-command.descriptor.js +21 -0
  282. package/dist/cli/commands/processes/platform.processes.stop.cli-command.descriptor.js.map +1 -0
  283. package/dist/cli/commands/processes/platform.processes.stop.cli-command.impl.d.ts +15 -0
  284. package/dist/cli/commands/processes/platform.processes.stop.cli-command.impl.d.ts.map +1 -0
  285. package/dist/cli/commands/processes/platform.processes.stop.cli-command.impl.js +27 -0
  286. package/dist/cli/commands/processes/platform.processes.stop.cli-command.impl.js.map +1 -0
  287. package/dist/cli/commands/processes/schemas.d.ts +2 -0
  288. package/dist/cli/commands/processes/schemas.d.ts.map +1 -0
  289. package/dist/cli/commands/processes/schemas.js +2 -0
  290. package/dist/cli/commands/processes/schemas.js.map +1 -0
  291. package/dist/cli/commands/resources/resources.cli-group.descriptor.d.ts +4 -0
  292. package/dist/cli/commands/resources/resources.cli-group.descriptor.d.ts.map +1 -0
  293. package/dist/cli/commands/resources/resources.cli-group.descriptor.js +11 -0
  294. package/dist/cli/commands/resources/resources.cli-group.descriptor.js.map +1 -0
  295. package/dist/cli/commands/resources/resources.networking.cli-group.descriptor.d.ts +4 -0
  296. package/dist/cli/commands/resources/resources.networking.cli-group.descriptor.d.ts.map +1 -0
  297. package/dist/cli/commands/resources/resources.networking.cli-group.descriptor.js +12 -0
  298. package/dist/cli/commands/resources/resources.networking.cli-group.descriptor.js.map +1 -0
  299. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.cli-group.descriptor.d.ts +9 -0
  300. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.cli-group.descriptor.d.ts.map +1 -0
  301. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.cli-group.descriptor.js +17 -0
  302. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.cli-group.descriptor.js.map +1 -0
  303. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.create.cli-command.descriptor.d.ts +9 -0
  304. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.create.cli-command.descriptor.d.ts.map +1 -0
  305. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.create.cli-command.descriptor.js +82 -0
  306. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.create.cli-command.descriptor.js.map +1 -0
  307. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.create.cli-command.impl.d.ts +15 -0
  308. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.create.cli-command.impl.d.ts.map +1 -0
  309. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.create.cli-command.impl.js +90 -0
  310. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.create.cli-command.impl.js.map +1 -0
  311. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.delete.cli-command.descriptor.d.ts +9 -0
  312. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.delete.cli-command.descriptor.d.ts.map +1 -0
  313. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.delete.cli-command.descriptor.js +19 -0
  314. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.delete.cli-command.descriptor.js.map +1 -0
  315. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.delete.cli-command.impl.d.ts +13 -0
  316. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.delete.cli-command.impl.d.ts.map +1 -0
  317. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.delete.cli-command.impl.js +37 -0
  318. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.delete.cli-command.impl.js.map +1 -0
  319. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.get.cli-command.descriptor.d.ts +9 -0
  320. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.get.cli-command.descriptor.d.ts.map +1 -0
  321. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.get.cli-command.descriptor.js +19 -0
  322. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.get.cli-command.descriptor.js.map +1 -0
  323. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.get.cli-command.impl.d.ts +14 -0
  324. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.get.cli-command.impl.d.ts.map +1 -0
  325. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.get.cli-command.impl.js +42 -0
  326. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.get.cli-command.impl.js.map +1 -0
  327. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.list.cli-command.descriptor.d.ts +9 -0
  328. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.list.cli-command.descriptor.d.ts.map +1 -0
  329. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.list.cli-command.descriptor.js +33 -0
  330. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.list.cli-command.descriptor.js.map +1 -0
  331. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.list.cli-command.impl.d.ts +15 -0
  332. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.list.cli-command.impl.d.ts.map +1 -0
  333. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.list.cli-command.impl.js +57 -0
  334. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.list.cli-command.impl.js.map +1 -0
  335. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.trigger.cli-command.descriptor.d.ts +9 -0
  336. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.trigger.cli-command.descriptor.d.ts.map +1 -0
  337. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.trigger.cli-command.descriptor.js +19 -0
  338. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.trigger.cli-command.descriptor.js.map +1 -0
  339. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.trigger.cli-command.impl.d.ts +14 -0
  340. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.trigger.cli-command.impl.d.ts.map +1 -0
  341. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.trigger.cli-command.impl.js +40 -0
  342. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.trigger.cli-command.impl.js.map +1 -0
  343. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.update.cli-command.descriptor.d.ts +9 -0
  344. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.update.cli-command.descriptor.d.ts.map +1 -0
  345. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.update.cli-command.descriptor.js +76 -0
  346. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.update.cli-command.descriptor.js.map +1 -0
  347. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.update.cli-command.impl.d.ts +14 -0
  348. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.update.cli-command.impl.d.ts.map +1 -0
  349. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.update.cli-command.impl.js +101 -0
  350. package/dist/cli/commands/scheduled-tasks/platform.scheduled-tasks.update.cli-command.impl.js.map +1 -0
  351. package/dist/cli/commands/scheduled-tasks/schemas.d.ts +2 -0
  352. package/dist/cli/commands/scheduled-tasks/schemas.d.ts.map +1 -0
  353. package/dist/cli/commands/scheduled-tasks/schemas.js +2 -0
  354. package/dist/cli/commands/scheduled-tasks/schemas.js.map +1 -0
  355. package/dist/cli/commands/services.command.descriptor.d.ts +30 -0
  356. package/dist/cli/commands/services.command.descriptor.d.ts.map +1 -0
  357. package/dist/cli/commands/services.command.descriptor.js +36 -0
  358. package/dist/cli/commands/services.command.descriptor.js.map +1 -0
  359. package/dist/cli/commands/services.command.impl.d.ts +7 -0
  360. package/dist/cli/commands/services.command.impl.d.ts.map +1 -0
  361. package/dist/cli/commands/services.command.impl.js +141 -0
  362. package/dist/cli/commands/services.command.impl.js.map +1 -0
  363. package/dist/cli/fleets/commands/fleet.actions.command.descriptor.d.ts +13 -0
  364. package/dist/cli/fleets/commands/fleet.actions.command.descriptor.d.ts.map +1 -0
  365. package/dist/cli/fleets/commands/fleet.actions.command.descriptor.js +33 -0
  366. package/dist/cli/fleets/commands/fleet.actions.command.descriptor.js.map +1 -0
  367. package/dist/cli/fleets/commands/fleet.actions.command.impl.d.ts +14 -0
  368. package/dist/cli/fleets/commands/fleet.actions.command.impl.d.ts.map +1 -0
  369. package/dist/cli/fleets/commands/fleet.actions.command.impl.js +45 -0
  370. package/dist/cli/fleets/commands/fleet.actions.command.impl.js.map +1 -0
  371. package/dist/cli/fleets/commands/fleet.build.command.descriptor.d.ts +9 -0
  372. package/dist/cli/fleets/commands/fleet.build.command.descriptor.d.ts.map +1 -0
  373. package/dist/cli/fleets/commands/fleet.build.command.descriptor.js +46 -0
  374. package/dist/cli/fleets/commands/fleet.build.command.descriptor.js.map +1 -0
  375. package/dist/cli/fleets/commands/fleet.build.command.impl.d.ts +57 -0
  376. package/dist/cli/fleets/commands/fleet.build.command.impl.d.ts.map +1 -0
  377. package/dist/cli/fleets/commands/fleet.build.command.impl.js +165 -0
  378. package/dist/cli/fleets/commands/fleet.build.command.impl.js.map +1 -0
  379. package/dist/cli/fleets/commands/fleet.daemon.command.descriptor.d.ts +23 -0
  380. package/dist/cli/fleets/commands/fleet.daemon.command.descriptor.d.ts.map +1 -0
  381. package/dist/cli/fleets/commands/fleet.daemon.command.descriptor.js +104 -0
  382. package/dist/cli/fleets/commands/fleet.daemon.command.descriptor.js.map +1 -0
  383. package/dist/cli/fleets/commands/fleet.daemon.command.impl.d.ts +65 -0
  384. package/dist/cli/fleets/commands/fleet.daemon.command.impl.d.ts.map +1 -0
  385. package/dist/cli/fleets/commands/fleet.daemon.command.impl.js +546 -0
  386. package/dist/cli/fleets/commands/fleet.daemon.command.impl.js.map +1 -0
  387. package/dist/cli/fleets/commands/fleet.daemon.install.command.descriptor.d.ts +10 -0
  388. package/dist/cli/fleets/commands/fleet.daemon.install.command.descriptor.d.ts.map +1 -0
  389. package/dist/cli/fleets/commands/fleet.daemon.install.command.descriptor.js +70 -0
  390. package/dist/cli/fleets/commands/fleet.daemon.install.command.descriptor.js.map +1 -0
  391. package/dist/cli/fleets/commands/fleet.daemon.install.command.impl.d.ts +115 -0
  392. package/dist/cli/fleets/commands/fleet.daemon.install.command.impl.d.ts.map +1 -0
  393. package/dist/cli/fleets/commands/fleet.daemon.install.command.impl.js +211 -0
  394. package/dist/cli/fleets/commands/fleet.daemon.install.command.impl.js.map +1 -0
  395. package/dist/cli/fleets/commands/fleet.daemon.service-descriptor.d.ts +66 -0
  396. package/dist/cli/fleets/commands/fleet.daemon.service-descriptor.d.ts.map +1 -0
  397. package/dist/cli/fleets/commands/fleet.daemon.service-descriptor.js +77 -0
  398. package/dist/cli/fleets/commands/fleet.daemon.service-descriptor.js.map +1 -0
  399. package/dist/cli/fleets/commands/fleet.daemon.token-env.d.ts +86 -0
  400. package/dist/cli/fleets/commands/fleet.daemon.token-env.d.ts.map +1 -0
  401. package/dist/cli/fleets/commands/fleet.daemon.token-env.js +106 -0
  402. package/dist/cli/fleets/commands/fleet.daemon.token-env.js.map +1 -0
  403. package/dist/cli/fleets/commands/fleet.daemon.uninstall.command.descriptor.d.ts +7 -0
  404. package/dist/cli/fleets/commands/fleet.daemon.uninstall.command.descriptor.d.ts.map +1 -0
  405. package/dist/cli/fleets/commands/fleet.daemon.uninstall.command.descriptor.js +26 -0
  406. package/dist/cli/fleets/commands/fleet.daemon.uninstall.command.descriptor.js.map +1 -0
  407. package/dist/cli/fleets/commands/fleet.daemon.uninstall.command.impl.d.ts +6 -0
  408. package/dist/cli/fleets/commands/fleet.daemon.uninstall.command.impl.d.ts.map +1 -0
  409. package/dist/cli/fleets/commands/fleet.daemon.uninstall.command.impl.js +30 -0
  410. package/dist/cli/fleets/commands/fleet.daemon.uninstall.command.impl.js.map +1 -0
  411. package/dist/cli/fleets/commands/fleet.destroy.command.descriptor.d.ts +7 -0
  412. package/dist/cli/fleets/commands/fleet.destroy.command.descriptor.d.ts.map +1 -0
  413. package/dist/cli/fleets/commands/fleet.destroy.command.descriptor.js +17 -0
  414. package/dist/cli/fleets/commands/fleet.destroy.command.descriptor.js.map +1 -0
  415. package/dist/cli/fleets/commands/fleet.destroy.command.impl.d.ts +41 -0
  416. package/dist/cli/fleets/commands/fleet.destroy.command.impl.d.ts.map +1 -0
  417. package/dist/cli/fleets/commands/fleet.destroy.command.impl.js +89 -0
  418. package/dist/cli/fleets/commands/fleet.destroy.command.impl.js.map +1 -0
  419. package/dist/cli/fleets/commands/fleet.enroll-token.cli-group.descriptor.d.ts +7 -0
  420. package/dist/cli/fleets/commands/fleet.enroll-token.cli-group.descriptor.d.ts.map +1 -0
  421. package/dist/cli/fleets/commands/fleet.enroll-token.cli-group.descriptor.js +15 -0
  422. package/dist/cli/fleets/commands/fleet.enroll-token.cli-group.descriptor.js.map +1 -0
  423. package/dist/cli/fleets/commands/fleet.enroll-token.create.command.descriptor.d.ts +8 -0
  424. package/dist/cli/fleets/commands/fleet.enroll-token.create.command.descriptor.d.ts.map +1 -0
  425. package/dist/cli/fleets/commands/fleet.enroll-token.create.command.descriptor.js +51 -0
  426. package/dist/cli/fleets/commands/fleet.enroll-token.create.command.descriptor.js.map +1 -0
  427. package/dist/cli/fleets/commands/fleet.enroll-token.create.command.impl.d.ts +22 -0
  428. package/dist/cli/fleets/commands/fleet.enroll-token.create.command.impl.d.ts.map +1 -0
  429. package/dist/cli/fleets/commands/fleet.enroll-token.create.command.impl.js +171 -0
  430. package/dist/cli/fleets/commands/fleet.enroll-token.create.command.impl.js.map +1 -0
  431. package/dist/cli/fleets/commands/fleet.launch.command.descriptor.d.ts +7 -0
  432. package/dist/cli/fleets/commands/fleet.launch.command.descriptor.d.ts.map +1 -0
  433. package/dist/cli/fleets/commands/fleet.launch.command.descriptor.js +112 -0
  434. package/dist/cli/fleets/commands/fleet.launch.command.descriptor.js.map +1 -0
  435. package/dist/cli/fleets/commands/fleet.launch.command.impl.d.ts +51 -0
  436. package/dist/cli/fleets/commands/fleet.launch.command.impl.d.ts.map +1 -0
  437. package/dist/cli/fleets/commands/fleet.launch.command.impl.js +225 -0
  438. package/dist/cli/fleets/commands/fleet.launch.command.impl.js.map +1 -0
  439. package/dist/cli/fleets/commands/fleet.ls.command.descriptor.d.ts +10 -0
  440. package/dist/cli/fleets/commands/fleet.ls.command.descriptor.d.ts.map +1 -0
  441. package/dist/cli/fleets/commands/fleet.ls.command.descriptor.js +30 -0
  442. package/dist/cli/fleets/commands/fleet.ls.command.descriptor.js.map +1 -0
  443. package/dist/cli/fleets/commands/fleet.ls.command.impl.d.ts +13 -0
  444. package/dist/cli/fleets/commands/fleet.ls.command.impl.d.ts.map +1 -0
  445. package/dist/cli/fleets/commands/fleet.ls.command.impl.js +56 -0
  446. package/dist/cli/fleets/commands/fleet.ls.command.impl.js.map +1 -0
  447. package/dist/cli/fleets/commands/fleet.marshal-presence.cli-group.descriptor.d.ts +4 -0
  448. package/dist/cli/fleets/commands/fleet.marshal-presence.cli-group.descriptor.d.ts.map +1 -0
  449. package/dist/cli/fleets/commands/fleet.marshal-presence.cli-group.descriptor.js +12 -0
  450. package/dist/cli/fleets/commands/fleet.marshal-presence.cli-group.descriptor.js.map +1 -0
  451. package/dist/cli/fleets/commands/fleet.marshal-presence.install.command.descriptor.d.ts +4 -0
  452. package/dist/cli/fleets/commands/fleet.marshal-presence.install.command.descriptor.d.ts.map +1 -0
  453. package/dist/cli/fleets/commands/fleet.marshal-presence.install.command.descriptor.js +20 -0
  454. package/dist/cli/fleets/commands/fleet.marshal-presence.install.command.descriptor.js.map +1 -0
  455. package/dist/cli/fleets/commands/fleet.marshal-presence.install.command.impl.d.ts +8 -0
  456. package/dist/cli/fleets/commands/fleet.marshal-presence.install.command.impl.d.ts.map +1 -0
  457. package/dist/cli/fleets/commands/fleet.marshal-presence.install.command.impl.js +55 -0
  458. package/dist/cli/fleets/commands/fleet.marshal-presence.install.command.impl.js.map +1 -0
  459. package/dist/cli/fleets/commands/fleet.marshal-presence.service-descriptor.d.ts +20 -0
  460. package/dist/cli/fleets/commands/fleet.marshal-presence.service-descriptor.d.ts.map +1 -0
  461. package/dist/cli/fleets/commands/fleet.marshal-presence.service-descriptor.js +62 -0
  462. package/dist/cli/fleets/commands/fleet.marshal-presence.service-descriptor.js.map +1 -0
  463. package/dist/cli/fleets/commands/fleet.marshal-presence.uninstall.command.descriptor.d.ts +4 -0
  464. package/dist/cli/fleets/commands/fleet.marshal-presence.uninstall.command.descriptor.d.ts.map +1 -0
  465. package/dist/cli/fleets/commands/fleet.marshal-presence.uninstall.command.descriptor.js +14 -0
  466. package/dist/cli/fleets/commands/fleet.marshal-presence.uninstall.command.descriptor.js.map +1 -0
  467. package/dist/cli/fleets/commands/fleet.marshal-presence.uninstall.command.impl.d.ts +7 -0
  468. package/dist/cli/fleets/commands/fleet.marshal-presence.uninstall.command.impl.d.ts.map +1 -0
  469. package/dist/cli/fleets/commands/fleet.marshal-presence.uninstall.command.impl.js +24 -0
  470. package/dist/cli/fleets/commands/fleet.marshal-presence.uninstall.command.impl.js.map +1 -0
  471. package/dist/cli/fleets/commands/fleet.materialize.command.descriptor.d.ts +4 -0
  472. package/dist/cli/fleets/commands/fleet.materialize.command.descriptor.d.ts.map +1 -0
  473. package/dist/cli/fleets/commands/fleet.materialize.command.descriptor.js +35 -0
  474. package/dist/cli/fleets/commands/fleet.materialize.command.descriptor.js.map +1 -0
  475. package/dist/cli/fleets/commands/fleet.materialize.command.impl.d.ts +7 -0
  476. package/dist/cli/fleets/commands/fleet.materialize.command.impl.d.ts.map +1 -0
  477. package/dist/cli/fleets/commands/fleet.materialize.command.impl.js +125 -0
  478. package/dist/cli/fleets/commands/fleet.materialize.command.impl.js.map +1 -0
  479. package/dist/cli/fleets/commands/fleet.pause.command.descriptor.d.ts +7 -0
  480. package/dist/cli/fleets/commands/fleet.pause.command.descriptor.d.ts.map +1 -0
  481. package/dist/cli/fleets/commands/fleet.pause.command.descriptor.js +17 -0
  482. package/dist/cli/fleets/commands/fleet.pause.command.descriptor.js.map +1 -0
  483. package/dist/cli/fleets/commands/fleet.pause.command.impl.d.ts +55 -0
  484. package/dist/cli/fleets/commands/fleet.pause.command.impl.d.ts.map +1 -0
  485. package/dist/cli/fleets/commands/fleet.pause.command.impl.js +105 -0
  486. package/dist/cli/fleets/commands/fleet.pause.command.impl.js.map +1 -0
  487. package/dist/cli/fleets/commands/fleet.policy.command.descriptor.d.ts +14 -0
  488. package/dist/cli/fleets/commands/fleet.policy.command.descriptor.d.ts.map +1 -0
  489. package/dist/cli/fleets/commands/fleet.policy.command.descriptor.js +39 -0
  490. package/dist/cli/fleets/commands/fleet.policy.command.descriptor.js.map +1 -0
  491. package/dist/cli/fleets/commands/fleet.policy.command.impl.d.ts +21 -0
  492. package/dist/cli/fleets/commands/fleet.policy.command.impl.d.ts.map +1 -0
  493. package/dist/cli/fleets/commands/fleet.policy.command.impl.js +48 -0
  494. package/dist/cli/fleets/commands/fleet.policy.command.impl.js.map +1 -0
  495. package/dist/cli/fleets/commands/fleet.resume.command.descriptor.d.ts +7 -0
  496. package/dist/cli/fleets/commands/fleet.resume.command.descriptor.d.ts.map +1 -0
  497. package/dist/cli/fleets/commands/fleet.resume.command.descriptor.js +17 -0
  498. package/dist/cli/fleets/commands/fleet.resume.command.descriptor.js.map +1 -0
  499. package/dist/cli/fleets/commands/fleet.resume.command.impl.d.ts +5 -0
  500. package/dist/cli/fleets/commands/fleet.resume.command.impl.d.ts.map +1 -0
  501. package/dist/cli/fleets/commands/fleet.resume.command.impl.js +4 -0
  502. package/dist/cli/fleets/commands/fleet.resume.command.impl.js.map +1 -0
  503. package/dist/cli/fleets/commands/fleet.schemas.d.ts +160 -0
  504. package/dist/cli/fleets/commands/fleet.schemas.d.ts.map +1 -0
  505. package/dist/cli/fleets/commands/fleet.schemas.js +274 -0
  506. package/dist/cli/fleets/commands/fleet.schemas.js.map +1 -0
  507. package/dist/cli/fleets/commands/fleet.status.command.descriptor.d.ts +7 -0
  508. package/dist/cli/fleets/commands/fleet.status.command.descriptor.d.ts.map +1 -0
  509. package/dist/cli/fleets/commands/fleet.status.command.descriptor.js +22 -0
  510. package/dist/cli/fleets/commands/fleet.status.command.descriptor.js.map +1 -0
  511. package/dist/cli/fleets/commands/fleet.status.command.impl.d.ts +27 -0
  512. package/dist/cli/fleets/commands/fleet.status.command.impl.d.ts.map +1 -0
  513. package/dist/cli/fleets/commands/fleet.status.command.impl.js +109 -0
  514. package/dist/cli/fleets/commands/fleet.status.command.impl.js.map +1 -0
  515. package/dist/cli/fleets/commands/workspace/workspace-config-loader.d.ts +39 -0
  516. package/dist/cli/fleets/commands/workspace/workspace-config-loader.d.ts.map +1 -0
  517. package/dist/cli/fleets/commands/workspace/workspace-config-loader.js +221 -0
  518. package/dist/cli/fleets/commands/workspace/workspace-config-loader.js.map +1 -0
  519. package/dist/cli/fleets/commands/workspace/workspace.create.command.descriptor.d.ts +8 -0
  520. package/dist/cli/fleets/commands/workspace/workspace.create.command.descriptor.d.ts.map +1 -0
  521. package/dist/cli/fleets/commands/workspace/workspace.create.command.descriptor.js +79 -0
  522. package/dist/cli/fleets/commands/workspace/workspace.create.command.descriptor.js.map +1 -0
  523. package/dist/cli/fleets/commands/workspace/workspace.create.command.impl.d.ts +6 -0
  524. package/dist/cli/fleets/commands/workspace/workspace.create.command.impl.d.ts.map +1 -0
  525. package/dist/cli/fleets/commands/workspace/workspace.create.command.impl.js +104 -0
  526. package/dist/cli/fleets/commands/workspace/workspace.create.command.impl.js.map +1 -0
  527. package/dist/cli/fleets/commands/workspace/workspace.destroy.command.descriptor.d.ts +8 -0
  528. package/dist/cli/fleets/commands/workspace/workspace.destroy.command.descriptor.d.ts.map +1 -0
  529. package/dist/cli/fleets/commands/workspace/workspace.destroy.command.descriptor.js +35 -0
  530. package/dist/cli/fleets/commands/workspace/workspace.destroy.command.descriptor.js.map +1 -0
  531. package/dist/cli/fleets/commands/workspace/workspace.destroy.command.impl.d.ts +13 -0
  532. package/dist/cli/fleets/commands/workspace/workspace.destroy.command.impl.d.ts.map +1 -0
  533. package/dist/cli/fleets/commands/workspace/workspace.destroy.command.impl.js +32 -0
  534. package/dist/cli/fleets/commands/workspace/workspace.destroy.command.impl.js.map +1 -0
  535. package/dist/cli/fleets/commands/workspace/workspace.group.descriptor.d.ts +7 -0
  536. package/dist/cli/fleets/commands/workspace/workspace.group.descriptor.d.ts.map +1 -0
  537. package/dist/cli/fleets/commands/workspace/workspace.group.descriptor.js +14 -0
  538. package/dist/cli/fleets/commands/workspace/workspace.group.descriptor.js.map +1 -0
  539. package/dist/cli/fleets/commands/workspace/workspace.list.command.descriptor.d.ts +8 -0
  540. package/dist/cli/fleets/commands/workspace/workspace.list.command.descriptor.d.ts.map +1 -0
  541. package/dist/cli/fleets/commands/workspace/workspace.list.command.descriptor.js +36 -0
  542. package/dist/cli/fleets/commands/workspace/workspace.list.command.descriptor.js.map +1 -0
  543. package/dist/cli/fleets/commands/workspace/workspace.list.command.impl.d.ts +9 -0
  544. package/dist/cli/fleets/commands/workspace/workspace.list.command.impl.d.ts.map +1 -0
  545. package/dist/cli/fleets/commands/workspace/workspace.list.command.impl.js +49 -0
  546. package/dist/cli/fleets/commands/workspace/workspace.list.command.impl.js.map +1 -0
  547. package/dist/cli/fleets/commands/workspace/workspace.status.command.descriptor.d.ts +7 -0
  548. package/dist/cli/fleets/commands/workspace/workspace.status.command.descriptor.d.ts.map +1 -0
  549. package/dist/cli/fleets/commands/workspace/workspace.status.command.descriptor.js +29 -0
  550. package/dist/cli/fleets/commands/workspace/workspace.status.command.descriptor.js.map +1 -0
  551. package/dist/cli/fleets/commands/workspace/workspace.status.command.impl.d.ts +9 -0
  552. package/dist/cli/fleets/commands/workspace/workspace.status.command.impl.d.ts.map +1 -0
  553. package/dist/cli/fleets/commands/workspace/workspace.status.command.impl.js +36 -0
  554. package/dist/cli/fleets/commands/workspace/workspace.status.command.impl.js.map +1 -0
  555. package/dist/cli/fleets/fleet-group.descriptor.d.ts +7 -0
  556. package/dist/cli/fleets/fleet-group.descriptor.d.ts.map +1 -0
  557. package/dist/cli/fleets/fleet-group.descriptor.js +14 -0
  558. package/dist/cli/fleets/fleet-group.descriptor.js.map +1 -0
  559. package/dist/cli/fleets/index.d.ts +27 -0
  560. package/dist/cli/fleets/index.d.ts.map +1 -0
  561. package/dist/cli/fleets/index.js +28 -0
  562. package/dist/cli/fleets/index.js.map +1 -0
  563. package/dist/cli/fleets/lib/action-policy.d.ts +23 -0
  564. package/dist/cli/fleets/lib/action-policy.d.ts.map +1 -0
  565. package/dist/cli/fleets/lib/action-policy.js +57 -0
  566. package/dist/cli/fleets/lib/action-policy.js.map +1 -0
  567. package/dist/cli/fleets/lib/authed-platform.d.ts +16 -0
  568. package/dist/cli/fleets/lib/authed-platform.d.ts.map +1 -0
  569. package/dist/cli/fleets/lib/authed-platform.js +47 -0
  570. package/dist/cli/fleets/lib/authed-platform.js.map +1 -0
  571. package/dist/cli/fleets/lib/daemon-credentials-store.d.ts +59 -0
  572. package/dist/cli/fleets/lib/daemon-credentials-store.d.ts.map +1 -0
  573. package/dist/cli/fleets/lib/daemon-credentials-store.js +159 -0
  574. package/dist/cli/fleets/lib/daemon-credentials-store.js.map +1 -0
  575. package/dist/cli/fleets/lib/daemon-policy.d.ts +38 -0
  576. package/dist/cli/fleets/lib/daemon-policy.d.ts.map +1 -0
  577. package/dist/cli/fleets/lib/daemon-policy.js +74 -0
  578. package/dist/cli/fleets/lib/daemon-policy.js.map +1 -0
  579. package/dist/cli/fleets/lib/host-ref.d.ts +17 -0
  580. package/dist/cli/fleets/lib/host-ref.d.ts.map +1 -0
  581. package/dist/cli/fleets/lib/host-ref.js +18 -0
  582. package/dist/cli/fleets/lib/host-ref.js.map +1 -0
  583. package/dist/cli/fleets/lib/host-token-store.d.ts +31 -0
  584. package/dist/cli/fleets/lib/host-token-store.d.ts.map +1 -0
  585. package/dist/cli/fleets/lib/host-token-store.js +109 -0
  586. package/dist/cli/fleets/lib/host-token-store.js.map +1 -0
  587. package/dist/cli/fleets/lib/origins.d.ts +16 -0
  588. package/dist/cli/fleets/lib/origins.d.ts.map +1 -0
  589. package/dist/cli/fleets/lib/origins.js +24 -0
  590. package/dist/cli/fleets/lib/origins.js.map +1 -0
  591. package/dist/cli/fleets/lib/registry-lease.d.ts +24 -0
  592. package/dist/cli/fleets/lib/registry-lease.d.ts.map +1 -0
  593. package/dist/cli/fleets/lib/registry-lease.js +31 -0
  594. package/dist/cli/fleets/lib/registry-lease.js.map +1 -0
  595. package/dist/cli/fleets/lib/wait-for-host.d.ts +29 -0
  596. package/dist/cli/fleets/lib/wait-for-host.d.ts.map +1 -0
  597. package/dist/cli/fleets/lib/wait-for-host.js +56 -0
  598. package/dist/cli/fleets/lib/wait-for-host.js.map +1 -0
  599. package/dist/cli/fleets/plugin.d.ts +16 -0
  600. package/dist/cli/fleets/plugin.d.ts.map +1 -0
  601. package/dist/cli/fleets/plugin.js +108 -0
  602. package/dist/cli/fleets/plugin.js.map +1 -0
  603. package/dist/cli/host-agent/agent.d.ts +12 -0
  604. package/dist/cli/host-agent/agent.d.ts.map +1 -0
  605. package/dist/cli/host-agent/agent.js +12 -0
  606. package/dist/cli/host-agent/agent.js.map +1 -0
  607. package/dist/cli/host-agent/index.d.ts +12 -0
  608. package/dist/cli/host-agent/index.d.ts.map +1 -0
  609. package/dist/cli/host-agent/index.js +2 -0
  610. package/dist/cli/host-agent/index.js.map +1 -0
  611. package/dist/cli/index.d.ts +13 -0
  612. package/dist/cli/index.d.ts.map +1 -0
  613. package/dist/cli/index.js +13 -0
  614. package/dist/cli/index.js.map +1 -0
  615. package/dist/cli/platform-group.descriptor.d.ts +13 -0
  616. package/dist/cli/platform-group.descriptor.d.ts.map +1 -0
  617. package/dist/cli/platform-group.descriptor.js +21 -0
  618. package/dist/cli/platform-group.descriptor.js.map +1 -0
  619. package/dist/cli/plugin.d.ts +31 -0
  620. package/dist/cli/plugin.d.ts.map +1 -0
  621. package/dist/cli/plugin.js +182 -0
  622. package/dist/cli/plugin.js.map +1 -0
  623. package/dist/client/contracts.d.ts +17 -0
  624. package/dist/client/contracts.d.ts.map +1 -0
  625. package/dist/client/contracts.js +2 -0
  626. package/dist/client/contracts.js.map +1 -0
  627. package/dist/client/helper.d.ts +25 -0
  628. package/dist/client/helper.d.ts.map +1 -0
  629. package/dist/client/helper.js +38 -0
  630. package/dist/client/helper.js.map +1 -0
  631. package/dist/client/http.d.ts +442 -0
  632. package/dist/client/http.d.ts.map +1 -0
  633. package/dist/client/http.js +911 -0
  634. package/dist/client/http.js.map +1 -0
  635. package/dist/client/index.d.ts +5 -0
  636. package/dist/client/index.d.ts.map +1 -0
  637. package/dist/client/index.js +11 -0
  638. package/dist/client/index.js.map +1 -0
  639. package/dist/client/origins.d.ts +9 -0
  640. package/dist/client/origins.d.ts.map +1 -0
  641. package/dist/client/origins.js +11 -0
  642. package/dist/client/origins.js.map +1 -0
  643. package/dist/components/compiler/cloud.plugin.d.ts +4 -0
  644. package/dist/components/compiler/cloud.plugin.d.ts.map +1 -0
  645. package/dist/components/compiler/cloud.plugin.js +12 -0
  646. package/dist/components/compiler/cloud.plugin.js.map +1 -0
  647. package/dist/components/compiler/compiler.client.descriptor.d.ts +9 -0
  648. package/dist/components/compiler/compiler.client.descriptor.d.ts.map +1 -0
  649. package/dist/components/compiler/compiler.client.descriptor.js +10 -0
  650. package/dist/components/compiler/compiler.client.descriptor.js.map +1 -0
  651. package/dist/components/compiler/compiler.cloud.impl.d.ts +7 -0
  652. package/dist/components/compiler/compiler.cloud.impl.d.ts.map +1 -0
  653. package/dist/components/compiler/compiler.cloud.impl.js +22 -0
  654. package/dist/components/compiler/compiler.cloud.impl.js.map +1 -0
  655. package/dist/components/compiler/compiler.consumer.impl.d.ts +8 -0
  656. package/dist/components/compiler/compiler.consumer.impl.d.ts.map +1 -0
  657. package/dist/components/compiler/compiler.consumer.impl.js +112 -0
  658. package/dist/components/compiler/compiler.consumer.impl.js.map +1 -0
  659. package/dist/components/compiler/compiler.tool.descriptor.d.ts +29 -0
  660. package/dist/components/compiler/compiler.tool.descriptor.d.ts.map +1 -0
  661. package/dist/components/compiler/compiler.tool.descriptor.js +14 -0
  662. package/dist/components/compiler/compiler.tool.descriptor.js.map +1 -0
  663. package/dist/components/compiler/compiler.tool.impl.d.ts +11 -0
  664. package/dist/components/compiler/compiler.tool.impl.d.ts.map +1 -0
  665. package/dist/components/compiler/compiler.tool.impl.js +13 -0
  666. package/dist/components/compiler/compiler.tool.impl.js.map +1 -0
  667. package/dist/components/compiler/consumer.plugin.d.ts +3 -0
  668. package/dist/components/compiler/consumer.plugin.d.ts.map +1 -0
  669. package/dist/components/compiler/consumer.plugin.js +11 -0
  670. package/dist/components/compiler/consumer.plugin.js.map +1 -0
  671. package/dist/components/compiler/contract.d.ts +27 -0
  672. package/dist/components/compiler/contract.d.ts.map +1 -0
  673. package/dist/components/compiler/contract.js +20 -0
  674. package/dist/components/compiler/contract.js.map +1 -0
  675. package/dist/components/compiler/index.d.ts +2 -0
  676. package/dist/components/compiler/index.d.ts.map +1 -0
  677. package/dist/components/compiler/index.js +2 -0
  678. package/dist/components/compiler/index.js.map +1 -0
  679. package/dist/components/compiler/plugin.d.ts +3 -0
  680. package/dist/components/compiler/plugin.d.ts.map +1 -0
  681. package/dist/components/compiler/plugin.js +8 -0
  682. package/dist/components/compiler/plugin.js.map +1 -0
  683. package/dist/components/compiler/tools.plugin.d.ts +4 -0
  684. package/dist/components/compiler/tools.plugin.d.ts.map +1 -0
  685. package/dist/components/compiler/tools.plugin.js +12 -0
  686. package/dist/components/compiler/tools.plugin.js.map +1 -0
  687. package/dist/config/load.d.ts +6 -0
  688. package/dist/config/load.d.ts.map +1 -0
  689. package/dist/config/load.js +14 -0
  690. package/dist/config/load.js.map +1 -0
  691. package/dist/config/platform.config.descriptor.d.ts +56 -0
  692. package/dist/config/platform.config.descriptor.d.ts.map +1 -0
  693. package/dist/config/platform.config.descriptor.js +39 -0
  694. package/dist/config/platform.config.descriptor.js.map +1 -0
  695. package/dist/docs/errors.billing.insufficient-credits.docs.descriptor.d.ts +4 -0
  696. package/dist/docs/errors.billing.insufficient-credits.docs.descriptor.d.ts.map +1 -0
  697. package/dist/docs/errors.billing.insufficient-credits.docs.descriptor.js +57 -0
  698. package/dist/docs/errors.billing.insufficient-credits.docs.descriptor.js.map +1 -0
  699. package/dist/docs/errors.docs.descriptor.d.ts +4 -0
  700. package/dist/docs/errors.docs.descriptor.d.ts.map +1 -0
  701. package/dist/docs/errors.docs.descriptor.js +64 -0
  702. package/dist/docs/errors.docs.descriptor.js.map +1 -0
  703. package/dist/docs/errors.storage.access-denied.docs.descriptor.d.ts +4 -0
  704. package/dist/docs/errors.storage.access-denied.docs.descriptor.d.ts.map +1 -0
  705. package/dist/docs/errors.storage.access-denied.docs.descriptor.js +60 -0
  706. package/dist/docs/errors.storage.access-denied.docs.descriptor.js.map +1 -0
  707. package/dist/docs/errors.storage.provider-not-found.docs.descriptor.d.ts +4 -0
  708. package/dist/docs/errors.storage.provider-not-found.docs.descriptor.d.ts.map +1 -0
  709. package/dist/docs/errors.storage.provider-not-found.docs.descriptor.js +60 -0
  710. package/dist/docs/errors.storage.provider-not-found.docs.descriptor.js.map +1 -0
  711. package/dist/docs/errors.storage.quota-exceeded.docs.descriptor.d.ts +4 -0
  712. package/dist/docs/errors.storage.quota-exceeded.docs.descriptor.d.ts.map +1 -0
  713. package/dist/docs/errors.storage.quota-exceeded.docs.descriptor.js +74 -0
  714. package/dist/docs/errors.storage.quota-exceeded.docs.descriptor.js.map +1 -0
  715. package/dist/docs/platform.config.docs.descriptor.d.ts +22 -0
  716. package/dist/docs/platform.config.docs.descriptor.d.ts.map +1 -0
  717. package/dist/docs/platform.config.docs.descriptor.js +82 -0
  718. package/dist/docs/platform.config.docs.descriptor.js.map +1 -0
  719. package/dist/docs/platform.repositories.docs.descriptor.d.ts +22 -0
  720. package/dist/docs/platform.repositories.docs.descriptor.d.ts.map +1 -0
  721. package/dist/docs/platform.repositories.docs.descriptor.js +64 -0
  722. package/dist/docs/platform.repositories.docs.descriptor.js.map +1 -0
  723. package/dist/docs/platform.scheduled-tasks.docs.descriptor.d.ts +22 -0
  724. package/dist/docs/platform.scheduled-tasks.docs.descriptor.d.ts.map +1 -0
  725. package/dist/docs/platform.scheduled-tasks.docs.descriptor.js +75 -0
  726. package/dist/docs/platform.scheduled-tasks.docs.descriptor.js.map +1 -0
  727. package/dist/fleet-events/index.d.ts +12 -0
  728. package/dist/fleet-events/index.d.ts.map +1 -0
  729. package/dist/fleet-events/index.js +12 -0
  730. package/dist/fleet-events/index.js.map +1 -0
  731. package/dist/fleet-events/subscriber.d.ts +138 -0
  732. package/dist/fleet-events/subscriber.d.ts.map +1 -0
  733. package/dist/fleet-events/subscriber.js +231 -0
  734. package/dist/fleet-events/subscriber.js.map +1 -0
  735. package/dist/fleets/acting-org.d.ts +12 -0
  736. package/dist/fleets/acting-org.d.ts.map +1 -0
  737. package/dist/fleets/acting-org.js +17 -0
  738. package/dist/fleets/acting-org.js.map +1 -0
  739. package/dist/fleets/bootstrap/index.d.ts +107 -0
  740. package/dist/fleets/bootstrap/index.d.ts.map +1 -0
  741. package/dist/fleets/bootstrap/index.js +147 -0
  742. package/dist/fleets/bootstrap/index.js.map +1 -0
  743. package/dist/fleets/bound-tool.d.ts +10 -0
  744. package/dist/fleets/bound-tool.d.ts.map +1 -0
  745. package/dist/fleets/bound-tool.js +150 -0
  746. package/dist/fleets/bound-tool.js.map +1 -0
  747. package/dist/fleets/boundary/platform-events.d.ts +177 -0
  748. package/dist/fleets/boundary/platform-events.d.ts.map +1 -0
  749. package/dist/fleets/boundary/platform-events.js +142 -0
  750. package/dist/fleets/boundary/platform-events.js.map +1 -0
  751. package/dist/fleets/build-job-action.d.ts +210 -0
  752. package/dist/fleets/build-job-action.d.ts.map +1 -0
  753. package/dist/fleets/build-job-action.js +89 -0
  754. package/dist/fleets/build-job-action.js.map +1 -0
  755. package/dist/fleets/build-job-credentials-contract.d.ts +73 -0
  756. package/dist/fleets/build-job-credentials-contract.d.ts.map +1 -0
  757. package/dist/fleets/build-job-credentials-contract.js +58 -0
  758. package/dist/fleets/build-job-credentials-contract.js.map +1 -0
  759. package/dist/fleets/build-job-install.d.ts +42 -0
  760. package/dist/fleets/build-job-install.d.ts.map +1 -0
  761. package/dist/fleets/build-job-install.js +23 -0
  762. package/dist/fleets/build-job-install.js.map +1 -0
  763. package/dist/fleets/build-job.plugin.d.ts +52 -0
  764. package/dist/fleets/build-job.plugin.d.ts.map +1 -0
  765. package/dist/fleets/build-job.plugin.js +31 -0
  766. package/dist/fleets/build-job.plugin.js.map +1 -0
  767. package/dist/fleets/ci-executor.plugin.d.ts +7 -0
  768. package/dist/fleets/ci-executor.plugin.d.ts.map +1 -0
  769. package/dist/fleets/ci-executor.plugin.js +28 -0
  770. package/dist/fleets/ci-executor.plugin.js.map +1 -0
  771. package/dist/fleets/client.d.ts +97 -0
  772. package/dist/fleets/client.d.ts.map +1 -0
  773. package/dist/fleets/client.js +257 -0
  774. package/dist/fleets/client.js.map +1 -0
  775. package/dist/fleets/daemon/bun/index.d.ts +9 -0
  776. package/dist/fleets/daemon/bun/index.d.ts.map +1 -0
  777. package/dist/fleets/daemon/bun/index.js +13 -0
  778. package/dist/fleets/daemon/bun/index.js.map +1 -0
  779. package/dist/fleets/daemon/daemon-root.d.ts +148 -0
  780. package/dist/fleets/daemon/daemon-root.d.ts.map +1 -0
  781. package/dist/fleets/daemon/daemon-root.js +167 -0
  782. package/dist/fleets/daemon/daemon-root.js.map +1 -0
  783. package/dist/fleets/daemon/execution-listen-policy.d.ts +497 -0
  784. package/dist/fleets/daemon/execution-listen-policy.d.ts.map +1 -0
  785. package/dist/fleets/daemon/execution-listen-policy.js +678 -0
  786. package/dist/fleets/daemon/execution-listen-policy.js.map +1 -0
  787. package/dist/fleets/daemon/fleet-daemon.d.ts +271 -0
  788. package/dist/fleets/daemon/fleet-daemon.d.ts.map +1 -0
  789. package/dist/fleets/daemon/fleet-daemon.js +327 -0
  790. package/dist/fleets/daemon/fleet-daemon.js.map +1 -0
  791. package/dist/fleets/daemon/host-agent/agent.d.ts +134 -0
  792. package/dist/fleets/daemon/host-agent/agent.d.ts.map +1 -0
  793. package/dist/fleets/daemon/host-agent/agent.js +375 -0
  794. package/dist/fleets/daemon/host-agent/agent.js.map +1 -0
  795. package/dist/fleets/daemon/host-agent/build-job-credentials.d.ts +25 -0
  796. package/dist/fleets/daemon/host-agent/build-job-credentials.d.ts.map +1 -0
  797. package/dist/fleets/daemon/host-agent/build-job-credentials.js +101 -0
  798. package/dist/fleets/daemon/host-agent/build-job-credentials.js.map +1 -0
  799. package/dist/fleets/daemon/host-agent/build-job-executor.d.ts +50 -0
  800. package/dist/fleets/daemon/host-agent/build-job-executor.d.ts.map +1 -0
  801. package/dist/fleets/daemon/host-agent/build-job-executor.js +803 -0
  802. package/dist/fleets/daemon/host-agent/build-job-executor.js.map +1 -0
  803. package/dist/fleets/daemon/host-agent/index.d.ts +8 -0
  804. package/dist/fleets/daemon/host-agent/index.d.ts.map +1 -0
  805. package/dist/fleets/daemon/host-agent/index.js +8 -0
  806. package/dist/fleets/daemon/host-agent/index.js.map +1 -0
  807. package/dist/fleets/daemon/host-agent/system-info.d.ts +13 -0
  808. package/dist/fleets/daemon/host-agent/system-info.d.ts.map +1 -0
  809. package/dist/fleets/daemon/host-agent/system-info.js +179 -0
  810. package/dist/fleets/daemon/host-agent/system-info.js.map +1 -0
  811. package/dist/fleets/daemon/index.d.ts +25 -0
  812. package/dist/fleets/daemon/index.d.ts.map +1 -0
  813. package/dist/fleets/daemon/index.js +31 -0
  814. package/dist/fleets/daemon/index.js.map +1 -0
  815. package/dist/fleets/daemon/relay/connect-relay.d.ts +135 -0
  816. package/dist/fleets/daemon/relay/connect-relay.d.ts.map +1 -0
  817. package/dist/fleets/daemon/relay/connect-relay.js +321 -0
  818. package/dist/fleets/daemon/relay/connect-relay.js.map +1 -0
  819. package/dist/fleets/daemon/relay/real-relay-server-adapter.d.ts +26 -0
  820. package/dist/fleets/daemon/relay/real-relay-server-adapter.d.ts.map +1 -0
  821. package/dist/fleets/daemon/relay/real-relay-server-adapter.js +36 -0
  822. package/dist/fleets/daemon/relay/real-relay-server-adapter.js.map +1 -0
  823. package/dist/fleets/daemon/relay/relay-server-adapter.seam.d.ts +75 -0
  824. package/dist/fleets/daemon/relay/relay-server-adapter.seam.d.ts.map +1 -0
  825. package/dist/fleets/daemon/relay/relay-server-adapter.seam.js +29 -0
  826. package/dist/fleets/daemon/relay/relay-server-adapter.seam.js.map +1 -0
  827. package/dist/fleets/discovery-contract.d.ts +75 -0
  828. package/dist/fleets/discovery-contract.d.ts.map +1 -0
  829. package/dist/fleets/discovery-contract.js +70 -0
  830. package/dist/fleets/discovery-contract.js.map +1 -0
  831. package/dist/fleets/fleet.consumer.plugin.d.ts +3 -0
  832. package/dist/fleets/fleet.consumer.plugin.d.ts.map +1 -0
  833. package/dist/fleets/fleet.consumer.plugin.js +15 -0
  834. package/dist/fleets/fleet.consumer.plugin.js.map +1 -0
  835. package/dist/fleets/fleet.plugin.d.ts +10 -0
  836. package/dist/fleets/fleet.plugin.d.ts.map +1 -0
  837. package/dist/fleets/fleet.plugin.js +27 -0
  838. package/dist/fleets/fleet.plugin.js.map +1 -0
  839. package/dist/fleets/host-lifecycle-client.d.ts +70 -0
  840. package/dist/fleets/host-lifecycle-client.d.ts.map +1 -0
  841. package/dist/fleets/host-lifecycle-client.js +99 -0
  842. package/dist/fleets/host-lifecycle-client.js.map +1 -0
  843. package/dist/fleets/host-lifecycle.d.ts +40 -0
  844. package/dist/fleets/host-lifecycle.d.ts.map +1 -0
  845. package/dist/fleets/host-lifecycle.js +32 -0
  846. package/dist/fleets/host-lifecycle.js.map +1 -0
  847. package/dist/fleets/index.d.ts +26 -0
  848. package/dist/fleets/index.d.ts.map +1 -0
  849. package/dist/fleets/index.js +39 -0
  850. package/dist/fleets/index.js.map +1 -0
  851. package/dist/fleets/kinds/daemon.kind.d.ts +73 -0
  852. package/dist/fleets/kinds/daemon.kind.d.ts.map +1 -0
  853. package/dist/fleets/kinds/daemon.kind.js +51 -0
  854. package/dist/fleets/kinds/daemon.kind.js.map +1 -0
  855. package/dist/fleets/kinds/host.kind.d.ts +105 -0
  856. package/dist/fleets/kinds/host.kind.d.ts.map +1 -0
  857. package/dist/fleets/kinds/host.kind.js +57 -0
  858. package/dist/fleets/kinds/host.kind.js.map +1 -0
  859. package/dist/fleets/kinds/index.d.ts +11 -0
  860. package/dist/fleets/kinds/index.d.ts.map +1 -0
  861. package/dist/fleets/kinds/index.js +11 -0
  862. package/dist/fleets/kinds/index.js.map +1 -0
  863. package/dist/fleets/kinds/service.kind.d.ts +54 -0
  864. package/dist/fleets/kinds/service.kind.d.ts.map +1 -0
  865. package/dist/fleets/kinds/service.kind.js +33 -0
  866. package/dist/fleets/kinds/service.kind.js.map +1 -0
  867. package/dist/fleets/launch.d.ts +215 -0
  868. package/dist/fleets/launch.d.ts.map +1 -0
  869. package/dist/fleets/launch.js +536 -0
  870. package/dist/fleets/launch.js.map +1 -0
  871. package/dist/fleets/merged-view.d.ts +129 -0
  872. package/dist/fleets/merged-view.d.ts.map +1 -0
  873. package/dist/fleets/merged-view.js +130 -0
  874. package/dist/fleets/merged-view.js.map +1 -0
  875. package/dist/fleets/pairing/direct/direct-discovery.d.ts +57 -0
  876. package/dist/fleets/pairing/direct/direct-discovery.d.ts.map +1 -0
  877. package/dist/fleets/pairing/direct/direct-discovery.descriptor.d.ts +27 -0
  878. package/dist/fleets/pairing/direct/direct-discovery.descriptor.d.ts.map +1 -0
  879. package/dist/fleets/pairing/direct/direct-discovery.descriptor.js +11 -0
  880. package/dist/fleets/pairing/direct/direct-discovery.descriptor.js.map +1 -0
  881. package/dist/fleets/pairing/direct/direct-discovery.impl.d.ts +67 -0
  882. package/dist/fleets/pairing/direct/direct-discovery.impl.d.ts.map +1 -0
  883. package/dist/fleets/pairing/direct/direct-discovery.impl.js +13 -0
  884. package/dist/fleets/pairing/direct/direct-discovery.impl.js.map +1 -0
  885. package/dist/fleets/pairing/direct/direct-discovery.js +120 -0
  886. package/dist/fleets/pairing/direct/direct-discovery.js.map +1 -0
  887. package/dist/fleets/pairing/direct/ids.d.ts +45 -0
  888. package/dist/fleets/pairing/direct/ids.d.ts.map +1 -0
  889. package/dist/fleets/pairing/direct/ids.js +15 -0
  890. package/dist/fleets/pairing/direct/ids.js.map +1 -0
  891. package/dist/fleets/pairing/direct/index.d.ts +9 -0
  892. package/dist/fleets/pairing/direct/index.d.ts.map +1 -0
  893. package/dist/fleets/pairing/direct/index.js +9 -0
  894. package/dist/fleets/pairing/direct/index.js.map +1 -0
  895. package/dist/fleets/pairing/index.d.ts +15 -0
  896. package/dist/fleets/pairing/index.d.ts.map +1 -0
  897. package/dist/fleets/pairing/index.js +15 -0
  898. package/dist/fleets/pairing/index.js.map +1 -0
  899. package/dist/fleets/pairing/kinds/discovery.kind.d.ts +55 -0
  900. package/dist/fleets/pairing/kinds/discovery.kind.d.ts.map +1 -0
  901. package/dist/fleets/pairing/kinds/discovery.kind.js +50 -0
  902. package/dist/fleets/pairing/kinds/discovery.kind.js.map +1 -0
  903. package/dist/fleets/pairing/mdns/ids.d.ts +39 -0
  904. package/dist/fleets/pairing/mdns/ids.d.ts.map +1 -0
  905. package/dist/fleets/pairing/mdns/ids.js +11 -0
  906. package/dist/fleets/pairing/mdns/ids.js.map +1 -0
  907. package/dist/fleets/pairing/mdns/index.d.ts +10 -0
  908. package/dist/fleets/pairing/mdns/index.d.ts.map +1 -0
  909. package/dist/fleets/pairing/mdns/index.js +10 -0
  910. package/dist/fleets/pairing/mdns/index.js.map +1 -0
  911. package/dist/fleets/pairing/mdns/mdns-discovery.d.ts +62 -0
  912. package/dist/fleets/pairing/mdns/mdns-discovery.d.ts.map +1 -0
  913. package/dist/fleets/pairing/mdns/mdns-discovery.js +108 -0
  914. package/dist/fleets/pairing/mdns/mdns-discovery.js.map +1 -0
  915. package/dist/fleets/pairing/platform/ids.d.ts +64 -0
  916. package/dist/fleets/pairing/platform/ids.d.ts.map +1 -0
  917. package/dist/fleets/pairing/platform/ids.js +10 -0
  918. package/dist/fleets/pairing/platform/ids.js.map +1 -0
  919. package/dist/fleets/pairing/platform/index.d.ts +10 -0
  920. package/dist/fleets/pairing/platform/index.d.ts.map +1 -0
  921. package/dist/fleets/pairing/platform/index.js +10 -0
  922. package/dist/fleets/pairing/platform/index.js.map +1 -0
  923. package/dist/fleets/pairing/platform/platform-discovery.d.ts +56 -0
  924. package/dist/fleets/pairing/platform/platform-discovery.d.ts.map +1 -0
  925. package/dist/fleets/pairing/platform/platform-discovery.js +113 -0
  926. package/dist/fleets/pairing/platform/platform-discovery.js.map +1 -0
  927. package/dist/fleets/provision/build-runner-setup.d.ts +72 -0
  928. package/dist/fleets/provision/build-runner-setup.d.ts.map +1 -0
  929. package/dist/fleets/provision/build-runner-setup.js +126 -0
  930. package/dist/fleets/provision/build-runner-setup.js.map +1 -0
  931. package/dist/fleets/provision/cloud-init.d.ts +167 -0
  932. package/dist/fleets/provision/cloud-init.d.ts.map +1 -0
  933. package/dist/fleets/provision/cloud-init.js +375 -0
  934. package/dist/fleets/provision/cloud-init.js.map +1 -0
  935. package/dist/fleets/provision/daemon-host-config.d.ts +39 -0
  936. package/dist/fleets/provision/daemon-host-config.d.ts.map +1 -0
  937. package/dist/fleets/provision/daemon-host-config.js +44 -0
  938. package/dist/fleets/provision/daemon-host-config.js.map +1 -0
  939. package/dist/fleets/provision/desktop-host-setup.d.ts +55 -0
  940. package/dist/fleets/provision/desktop-host-setup.d.ts.map +1 -0
  941. package/dist/fleets/provision/desktop-host-setup.js +91 -0
  942. package/dist/fleets/provision/desktop-host-setup.js.map +1 -0
  943. package/dist/fleets/provision/gpu-host-setup.d.ts +25 -0
  944. package/dist/fleets/provision/gpu-host-setup.d.ts.map +1 -0
  945. package/dist/fleets/provision/gpu-host-setup.js +88 -0
  946. package/dist/fleets/provision/gpu-host-setup.js.map +1 -0
  947. package/dist/fleets/provision/harness-bootstrap.d.ts +49 -0
  948. package/dist/fleets/provision/harness-bootstrap.d.ts.map +1 -0
  949. package/dist/fleets/provision/harness-bootstrap.js +72 -0
  950. package/dist/fleets/provision/harness-bootstrap.js.map +1 -0
  951. package/dist/fleets/provision/index.d.ts +8 -0
  952. package/dist/fleets/provision/index.d.ts.map +1 -0
  953. package/dist/fleets/provision/index.js +8 -0
  954. package/dist/fleets/provision/index.js.map +1 -0
  955. package/dist/fleets/provision/portable-bootstrap.d.ts +27 -0
  956. package/dist/fleets/provision/portable-bootstrap.d.ts.map +1 -0
  957. package/dist/fleets/provision/portable-bootstrap.js +78 -0
  958. package/dist/fleets/provision/portable-bootstrap.js.map +1 -0
  959. package/dist/fleets/provision/workspace-host-setup.d.ts +22 -0
  960. package/dist/fleets/provision/workspace-host-setup.d.ts.map +1 -0
  961. package/dist/fleets/provision/workspace-host-setup.js +219 -0
  962. package/dist/fleets/provision/workspace-host-setup.js.map +1 -0
  963. package/dist/fleets/provisioning/sandbox-provisioning-adapter.d.ts +132 -0
  964. package/dist/fleets/provisioning/sandbox-provisioning-adapter.d.ts.map +1 -0
  965. package/dist/fleets/provisioning/sandbox-provisioning-adapter.js +133 -0
  966. package/dist/fleets/provisioning/sandbox-provisioning-adapter.js.map +1 -0
  967. package/dist/fleets/registry/reachable-runtime.d.ts +115 -0
  968. package/dist/fleets/registry/reachable-runtime.d.ts.map +1 -0
  969. package/dist/fleets/registry/reachable-runtime.js +56 -0
  970. package/dist/fleets/registry/reachable-runtime.js.map +1 -0
  971. package/dist/fleets/registry-bridge.plugin.d.ts +100 -0
  972. package/dist/fleets/registry-bridge.plugin.d.ts.map +1 -0
  973. package/dist/fleets/registry-bridge.plugin.js +218 -0
  974. package/dist/fleets/registry-bridge.plugin.js.map +1 -0
  975. package/dist/fleets/remote-control.d.ts +4 -0
  976. package/dist/fleets/remote-control.d.ts.map +1 -0
  977. package/dist/fleets/remote-control.js +13 -0
  978. package/dist/fleets/remote-control.js.map +1 -0
  979. package/dist/fleets/request-credentials.d.ts +25 -0
  980. package/dist/fleets/request-credentials.d.ts.map +1 -0
  981. package/dist/fleets/request-credentials.js +52 -0
  982. package/dist/fleets/request-credentials.js.map +1 -0
  983. package/dist/fleets/restricted-workload.d.ts +48 -0
  984. package/dist/fleets/restricted-workload.d.ts.map +1 -0
  985. package/dist/fleets/restricted-workload.js +91 -0
  986. package/dist/fleets/restricted-workload.js.map +1 -0
  987. package/dist/fleets/service-backends/index.d.ts +41 -0
  988. package/dist/fleets/service-backends/index.d.ts.map +1 -0
  989. package/dist/fleets/service-backends/index.js +56 -0
  990. package/dist/fleets/service-backends/index.js.map +1 -0
  991. package/dist/fleets/service-backends/launchd.backend.d.ts +25 -0
  992. package/dist/fleets/service-backends/launchd.backend.d.ts.map +1 -0
  993. package/dist/fleets/service-backends/launchd.backend.js +24 -0
  994. package/dist/fleets/service-backends/launchd.backend.js.map +1 -0
  995. package/dist/fleets/service-backends/launchd.d.ts +43 -0
  996. package/dist/fleets/service-backends/launchd.d.ts.map +1 -0
  997. package/dist/fleets/service-backends/launchd.js +230 -0
  998. package/dist/fleets/service-backends/launchd.js.map +1 -0
  999. package/dist/fleets/service-backends/os-service-manager.consumer.d.ts +3 -0
  1000. package/dist/fleets/service-backends/os-service-manager.consumer.d.ts.map +1 -0
  1001. package/dist/fleets/service-backends/os-service-manager.consumer.js +8 -0
  1002. package/dist/fleets/service-backends/os-service-manager.consumer.js.map +1 -0
  1003. package/dist/fleets/service-backends/os-service-manager.descriptor.d.ts +12 -0
  1004. package/dist/fleets/service-backends/os-service-manager.descriptor.d.ts.map +1 -0
  1005. package/dist/fleets/service-backends/os-service-manager.descriptor.js +21 -0
  1006. package/dist/fleets/service-backends/os-service-manager.descriptor.js.map +1 -0
  1007. package/dist/fleets/service-backends/restart.d.ts +28 -0
  1008. package/dist/fleets/service-backends/restart.d.ts.map +1 -0
  1009. package/dist/fleets/service-backends/restart.js +43 -0
  1010. package/dist/fleets/service-backends/restart.js.map +1 -0
  1011. package/dist/fleets/service-backends/service-command.d.ts +23 -0
  1012. package/dist/fleets/service-backends/service-command.d.ts.map +1 -0
  1013. package/dist/fleets/service-backends/service-command.js +35 -0
  1014. package/dist/fleets/service-backends/service-command.js.map +1 -0
  1015. package/dist/fleets/service-backends/systemd.backend.d.ts +25 -0
  1016. package/dist/fleets/service-backends/systemd.backend.d.ts.map +1 -0
  1017. package/dist/fleets/service-backends/systemd.backend.js +24 -0
  1018. package/dist/fleets/service-backends/systemd.backend.js.map +1 -0
  1019. package/dist/fleets/service-backends/systemd.d.ts +29 -0
  1020. package/dist/fleets/service-backends/systemd.d.ts.map +1 -0
  1021. package/dist/fleets/service-backends/systemd.js +160 -0
  1022. package/dist/fleets/service-backends/systemd.js.map +1 -0
  1023. package/dist/fleets/service-backends/types.d.ts +97 -0
  1024. package/dist/fleets/service-backends/types.d.ts.map +1 -0
  1025. package/dist/fleets/service-backends/types.js +13 -0
  1026. package/dist/fleets/service-backends/types.js.map +1 -0
  1027. package/dist/fleets/service-backends/windows.backend.d.ts +26 -0
  1028. package/dist/fleets/service-backends/windows.backend.d.ts.map +1 -0
  1029. package/dist/fleets/service-backends/windows.backend.js +35 -0
  1030. package/dist/fleets/service-backends/windows.backend.js.map +1 -0
  1031. package/dist/fleets/service-backends/windows.d.ts +73 -0
  1032. package/dist/fleets/service-backends/windows.d.ts.map +1 -0
  1033. package/dist/fleets/service-backends/windows.js +309 -0
  1034. package/dist/fleets/service-backends/windows.js.map +1 -0
  1035. package/dist/index.d.ts +8 -0
  1036. package/dist/index.d.ts.map +1 -0
  1037. package/dist/index.js +11 -0
  1038. package/dist/index.js.map +1 -0
  1039. package/dist/integration-connect.d.ts +73 -0
  1040. package/dist/integration-connect.d.ts.map +1 -0
  1041. package/dist/integration-connect.js +176 -0
  1042. package/dist/integration-connect.js.map +1 -0
  1043. package/dist/integration-tools.plugin.d.ts +3 -0
  1044. package/dist/integration-tools.plugin.d.ts.map +1 -0
  1045. package/dist/integration-tools.plugin.js +14 -0
  1046. package/dist/integration-tools.plugin.js.map +1 -0
  1047. package/dist/internal-api/client.d.ts +75 -0
  1048. package/dist/internal-api/client.d.ts.map +1 -0
  1049. package/dist/internal-api/client.js +206 -0
  1050. package/dist/internal-api/client.js.map +1 -0
  1051. package/dist/internal-api/helper.d.ts +129 -0
  1052. package/dist/internal-api/helper.d.ts.map +1 -0
  1053. package/dist/internal-api/helper.js +128 -0
  1054. package/dist/internal-api/helper.js.map +1 -0
  1055. package/dist/internal-api/index.d.ts +5 -0
  1056. package/dist/internal-api/index.d.ts.map +1 -0
  1057. package/dist/internal-api/index.js +4 -0
  1058. package/dist/internal-api/index.js.map +1 -0
  1059. package/dist/internal-api/schemas/index.d.ts +255 -0
  1060. package/dist/internal-api/schemas/index.d.ts.map +1 -0
  1061. package/dist/internal-api/schemas/index.js +208 -0
  1062. package/dist/internal-api/schemas/index.js.map +1 -0
  1063. package/dist/logging/platform.logger.descriptor.d.ts +9 -0
  1064. package/dist/logging/platform.logger.descriptor.d.ts.map +1 -0
  1065. package/dist/logging/platform.logger.descriptor.js +18 -0
  1066. package/dist/logging/platform.logger.descriptor.js.map +1 -0
  1067. package/dist/logging/platform.output.descriptor.d.ts +7 -0
  1068. package/dist/logging/platform.output.descriptor.d.ts.map +1 -0
  1069. package/dist/logging/platform.output.descriptor.js +17 -0
  1070. package/dist/logging/platform.output.descriptor.js.map +1 -0
  1071. package/dist/networking/hostnames/worker/platform.hostnames.descriptor.d.ts +5 -0
  1072. package/dist/networking/hostnames/worker/platform.hostnames.descriptor.d.ts.map +1 -0
  1073. package/dist/networking/hostnames/worker/platform.hostnames.descriptor.js +14 -0
  1074. package/dist/networking/hostnames/worker/platform.hostnames.descriptor.js.map +1 -0
  1075. package/dist/networking/hostnames/worker/platform.hostnames.impl.cloud.d.ts +12 -0
  1076. package/dist/networking/hostnames/worker/platform.hostnames.impl.cloud.d.ts.map +1 -0
  1077. package/dist/networking/hostnames/worker/platform.hostnames.impl.cloud.js +22 -0
  1078. package/dist/networking/hostnames/worker/platform.hostnames.impl.cloud.js.map +1 -0
  1079. package/dist/networking/ssrf.d.ts +7 -0
  1080. package/dist/networking/ssrf.d.ts.map +1 -0
  1081. package/dist/networking/ssrf.js +7 -0
  1082. package/dist/networking/ssrf.js.map +1 -0
  1083. package/dist/platform.browser.plugin.d.ts +3 -0
  1084. package/dist/platform.browser.plugin.d.ts.map +1 -0
  1085. package/dist/platform.browser.plugin.js +21 -0
  1086. package/dist/platform.browser.plugin.js.map +1 -0
  1087. package/dist/platform.consumer.plugin.d.ts +3 -0
  1088. package/dist/platform.consumer.plugin.d.ts.map +1 -0
  1089. package/dist/platform.consumer.plugin.js +24 -0
  1090. package/dist/platform.consumer.plugin.js.map +1 -0
  1091. package/dist/platform.plugin.d.ts +9 -0
  1092. package/dist/platform.plugin.d.ts.map +1 -0
  1093. package/dist/platform.plugin.js +87 -0
  1094. package/dist/platform.plugin.js.map +1 -0
  1095. package/dist/scheduled-tasks/index.d.ts +5 -0
  1096. package/dist/scheduled-tasks/index.d.ts.map +1 -0
  1097. package/dist/scheduled-tasks/index.js +4 -0
  1098. package/dist/scheduled-tasks/index.js.map +1 -0
  1099. package/dist/scheduled-tasks/scheduled-tasks.storage.descriptor.d.ts +100 -0
  1100. package/dist/scheduled-tasks/scheduled-tasks.storage.descriptor.d.ts.map +1 -0
  1101. package/dist/scheduled-tasks/scheduled-tasks.storage.descriptor.js +40 -0
  1102. package/dist/scheduled-tasks/scheduled-tasks.storage.descriptor.js.map +1 -0
  1103. package/dist/scheduled-tasks/schemas/api.d.ts +255 -0
  1104. package/dist/scheduled-tasks/schemas/api.d.ts.map +1 -0
  1105. package/dist/scheduled-tasks/schemas/api.js +31 -0
  1106. package/dist/scheduled-tasks/schemas/api.js.map +1 -0
  1107. package/dist/scheduled-tasks/schemas/common.d.ts +147 -0
  1108. package/dist/scheduled-tasks/schemas/common.d.ts.map +1 -0
  1109. package/dist/scheduled-tasks/schemas/common.js +107 -0
  1110. package/dist/scheduled-tasks/schemas/common.js.map +1 -0
  1111. package/dist/scheduled-tasks/schemas/forms.d.ts +118 -0
  1112. package/dist/scheduled-tasks/schemas/forms.d.ts.map +1 -0
  1113. package/dist/scheduled-tasks/schemas/forms.js +25 -0
  1114. package/dist/scheduled-tasks/schemas/forms.js.map +1 -0
  1115. package/dist/scheduled-tasks/schemas/index.d.ts +5 -0
  1116. package/dist/scheduled-tasks/schemas/index.d.ts.map +1 -0
  1117. package/dist/scheduled-tasks/schemas/index.js +4 -0
  1118. package/dist/scheduled-tasks/schemas/index.js.map +1 -0
  1119. package/dist/scheduled-tasks/schemas/types.d.ts +16 -0
  1120. package/dist/scheduled-tasks/schemas/types.d.ts.map +1 -0
  1121. package/dist/scheduled-tasks/schemas/types.js +2 -0
  1122. package/dist/scheduled-tasks/schemas/types.js.map +1 -0
  1123. package/dist/schemas/build-execution.d.ts +65 -0
  1124. package/dist/schemas/build-execution.d.ts.map +1 -0
  1125. package/dist/schemas/build-execution.js +26 -0
  1126. package/dist/schemas/build-execution.js.map +1 -0
  1127. package/dist/schemas/cli/daemon-install.d.ts +27 -0
  1128. package/dist/schemas/cli/daemon-install.d.ts.map +1 -0
  1129. package/dist/schemas/cli/daemon-install.js +20 -0
  1130. package/dist/schemas/cli/daemon-install.js.map +1 -0
  1131. package/dist/schemas/cli/daemons.d.ts +71 -0
  1132. package/dist/schemas/cli/daemons.d.ts.map +1 -0
  1133. package/dist/schemas/cli/daemons.js +34 -0
  1134. package/dist/schemas/cli/daemons.js.map +1 -0
  1135. package/dist/schemas/cli/fleet-policy.d.ts +17 -0
  1136. package/dist/schemas/cli/fleet-policy.d.ts.map +1 -0
  1137. package/dist/schemas/cli/fleet-policy.js +17 -0
  1138. package/dist/schemas/cli/fleet-policy.js.map +1 -0
  1139. package/dist/schemas/cli/host-agent.d.ts +16 -0
  1140. package/dist/schemas/cli/host-agent.d.ts.map +1 -0
  1141. package/dist/schemas/cli/host-agent.js +16 -0
  1142. package/dist/schemas/cli/host-agent.js.map +1 -0
  1143. package/dist/schemas/cli/host-token.d.ts +13 -0
  1144. package/dist/schemas/cli/host-token.d.ts.map +1 -0
  1145. package/dist/schemas/cli/host-token.js +8 -0
  1146. package/dist/schemas/cli/host-token.js.map +1 -0
  1147. package/dist/schemas/cli/hostnames.d.ts +125 -0
  1148. package/dist/schemas/cli/hostnames.d.ts.map +1 -0
  1149. package/dist/schemas/cli/hostnames.js +70 -0
  1150. package/dist/schemas/cli/hostnames.js.map +1 -0
  1151. package/dist/schemas/cli/hosts.d.ts +150 -0
  1152. package/dist/schemas/cli/hosts.d.ts.map +1 -0
  1153. package/dist/schemas/cli/hosts.js +40 -0
  1154. package/dist/schemas/cli/hosts.js.map +1 -0
  1155. package/dist/schemas/cli/infrastructure.d.ts +33 -0
  1156. package/dist/schemas/cli/infrastructure.d.ts.map +1 -0
  1157. package/dist/schemas/cli/infrastructure.js +17 -0
  1158. package/dist/schemas/cli/infrastructure.js.map +1 -0
  1159. package/dist/schemas/cli/marshal-presence.d.ts +13 -0
  1160. package/dist/schemas/cli/marshal-presence.d.ts.map +1 -0
  1161. package/dist/schemas/cli/marshal-presence.js +21 -0
  1162. package/dist/schemas/cli/marshal-presence.js.map +1 -0
  1163. package/dist/schemas/cli/processes.d.ts +33 -0
  1164. package/dist/schemas/cli/processes.d.ts.map +1 -0
  1165. package/dist/schemas/cli/processes.js +20 -0
  1166. package/dist/schemas/cli/processes.js.map +1 -0
  1167. package/dist/schemas/cli/scheduled-tasks.d.ts +222 -0
  1168. package/dist/schemas/cli/scheduled-tasks.d.ts.map +1 -0
  1169. package/dist/schemas/cli/scheduled-tasks.js +182 -0
  1170. package/dist/schemas/cli/scheduled-tasks.js.map +1 -0
  1171. package/dist/schemas/cli/workspace.d.ts +88 -0
  1172. package/dist/schemas/cli/workspace.d.ts.map +1 -0
  1173. package/dist/schemas/cli/workspace.js +50 -0
  1174. package/dist/schemas/cli/workspace.js.map +1 -0
  1175. package/dist/schemas/client.d.ts +442 -0
  1176. package/dist/schemas/client.d.ts.map +1 -0
  1177. package/dist/schemas/client.js +312 -0
  1178. package/dist/schemas/client.js.map +1 -0
  1179. package/dist/schemas/components/api.d.ts +277 -0
  1180. package/dist/schemas/components/api.d.ts.map +1 -0
  1181. package/dist/schemas/components/api.js +26 -0
  1182. package/dist/schemas/components/api.js.map +1 -0
  1183. package/dist/schemas/components/common.d.ts +96 -0
  1184. package/dist/schemas/components/common.d.ts.map +1 -0
  1185. package/dist/schemas/components/common.js +70 -0
  1186. package/dist/schemas/components/common.js.map +1 -0
  1187. package/dist/schemas/components/forms.d.ts +97 -0
  1188. package/dist/schemas/components/forms.d.ts.map +1 -0
  1189. package/dist/schemas/components/forms.js +68 -0
  1190. package/dist/schemas/components/forms.js.map +1 -0
  1191. package/dist/schemas/components/index.d.ts +10 -0
  1192. package/dist/schemas/components/index.d.ts.map +1 -0
  1193. package/dist/schemas/components/index.js +6 -0
  1194. package/dist/schemas/components/index.js.map +1 -0
  1195. package/dist/schemas/components/starter-fixtures.d.ts +154 -0
  1196. package/dist/schemas/components/starter-fixtures.d.ts.map +1 -0
  1197. package/dist/schemas/components/starter-fixtures.js +208 -0
  1198. package/dist/schemas/components/starter-fixtures.js.map +1 -0
  1199. package/dist/schemas/components/starter.d.ts +429 -0
  1200. package/dist/schemas/components/starter.d.ts.map +1 -0
  1201. package/dist/schemas/components/starter.js +438 -0
  1202. package/dist/schemas/components/starter.js.map +1 -0
  1203. package/dist/schemas/daemons/api.d.ts +199 -0
  1204. package/dist/schemas/daemons/api.d.ts.map +1 -0
  1205. package/dist/schemas/daemons/api.js +16 -0
  1206. package/dist/schemas/daemons/api.js.map +1 -0
  1207. package/dist/schemas/daemons/common.d.ts +119 -0
  1208. package/dist/schemas/daemons/common.d.ts.map +1 -0
  1209. package/dist/schemas/daemons/common.js +70 -0
  1210. package/dist/schemas/daemons/common.js.map +1 -0
  1211. package/dist/schemas/daemons/forms.d.ts +89 -0
  1212. package/dist/schemas/daemons/forms.d.ts.map +1 -0
  1213. package/dist/schemas/daemons/forms.js +50 -0
  1214. package/dist/schemas/daemons/forms.js.map +1 -0
  1215. package/dist/schemas/daemons/index.d.ts +7 -0
  1216. package/dist/schemas/daemons/index.d.ts.map +1 -0
  1217. package/dist/schemas/daemons/index.js +4 -0
  1218. package/dist/schemas/daemons/index.js.map +1 -0
  1219. package/dist/schemas/deployments-cli.d.ts +21 -0
  1220. package/dist/schemas/deployments-cli.d.ts.map +1 -0
  1221. package/dist/schemas/deployments-cli.js +21 -0
  1222. package/dist/schemas/deployments-cli.js.map +1 -0
  1223. package/dist/schemas/fleet-cli.d.ts +412 -0
  1224. package/dist/schemas/fleet-cli.d.ts.map +1 -0
  1225. package/dist/schemas/fleet-cli.js +38 -0
  1226. package/dist/schemas/fleet-cli.js.map +1 -0
  1227. package/dist/schemas/fleet-service.d.ts +4 -0
  1228. package/dist/schemas/fleet-service.d.ts.map +1 -0
  1229. package/dist/schemas/fleet-service.js +3 -0
  1230. package/dist/schemas/fleet-service.js.map +1 -0
  1231. package/dist/schemas/fleet-wire.d.ts +18 -0
  1232. package/dist/schemas/fleet-wire.d.ts.map +1 -0
  1233. package/dist/schemas/fleet-wire.js +19 -0
  1234. package/dist/schemas/fleet-wire.js.map +1 -0
  1235. package/dist/schemas/hostnames/api.d.ts +174 -0
  1236. package/dist/schemas/hostnames/api.d.ts.map +1 -0
  1237. package/dist/schemas/hostnames/api.js +53 -0
  1238. package/dist/schemas/hostnames/api.js.map +1 -0
  1239. package/dist/schemas/hostnames/common.d.ts +117 -0
  1240. package/dist/schemas/hostnames/common.d.ts.map +1 -0
  1241. package/dist/schemas/hostnames/common.js +90 -0
  1242. package/dist/schemas/hostnames/common.js.map +1 -0
  1243. package/dist/schemas/hostnames/deploy-targets.d.ts +115 -0
  1244. package/dist/schemas/hostnames/deploy-targets.d.ts.map +1 -0
  1245. package/dist/schemas/hostnames/deploy-targets.js +141 -0
  1246. package/dist/schemas/hostnames/deploy-targets.js.map +1 -0
  1247. package/dist/schemas/hostnames/forms.d.ts +34 -0
  1248. package/dist/schemas/hostnames/forms.d.ts.map +1 -0
  1249. package/dist/schemas/hostnames/forms.js +28 -0
  1250. package/dist/schemas/hostnames/forms.js.map +1 -0
  1251. package/dist/schemas/hostnames/index.d.ts +8 -0
  1252. package/dist/schemas/hostnames/index.d.ts.map +1 -0
  1253. package/dist/schemas/hostnames/index.js +5 -0
  1254. package/dist/schemas/hostnames/index.js.map +1 -0
  1255. package/dist/schemas/hostnames/types.d.ts +4 -0
  1256. package/dist/schemas/hostnames/types.d.ts.map +1 -0
  1257. package/dist/schemas/hostnames/types.js +2 -0
  1258. package/dist/schemas/hostnames/types.js.map +1 -0
  1259. package/dist/schemas/hosts/actions.d.ts +585 -0
  1260. package/dist/schemas/hosts/actions.d.ts.map +1 -0
  1261. package/dist/schemas/hosts/actions.js +157 -0
  1262. package/dist/schemas/hosts/actions.js.map +1 -0
  1263. package/dist/schemas/hosts/agent.d.ts +27 -0
  1264. package/dist/schemas/hosts/agent.d.ts.map +1 -0
  1265. package/dist/schemas/hosts/agent.js +30 -0
  1266. package/dist/schemas/hosts/agent.js.map +1 -0
  1267. package/dist/schemas/hosts/api.d.ts +1559 -0
  1268. package/dist/schemas/hosts/api.d.ts.map +1 -0
  1269. package/dist/schemas/hosts/api.js +67 -0
  1270. package/dist/schemas/hosts/api.js.map +1 -0
  1271. package/dist/schemas/hosts/capabilities.d.ts +26 -0
  1272. package/dist/schemas/hosts/capabilities.d.ts.map +1 -0
  1273. package/dist/schemas/hosts/capabilities.js +31 -0
  1274. package/dist/schemas/hosts/capabilities.js.map +1 -0
  1275. package/dist/schemas/hosts/common.d.ts +506 -0
  1276. package/dist/schemas/hosts/common.d.ts.map +1 -0
  1277. package/dist/schemas/hosts/common.js +217 -0
  1278. package/dist/schemas/hosts/common.js.map +1 -0
  1279. package/dist/schemas/hosts/forms.d.ts +616 -0
  1280. package/dist/schemas/hosts/forms.d.ts.map +1 -0
  1281. package/dist/schemas/hosts/forms.js +123 -0
  1282. package/dist/schemas/hosts/forms.js.map +1 -0
  1283. package/dist/schemas/hosts/index.d.ts +16 -0
  1284. package/dist/schemas/hosts/index.d.ts.map +1 -0
  1285. package/dist/schemas/hosts/index.js +9 -0
  1286. package/dist/schemas/hosts/index.js.map +1 -0
  1287. package/dist/schemas/hosts/lifecycle.d.ts +53 -0
  1288. package/dist/schemas/hosts/lifecycle.d.ts.map +1 -0
  1289. package/dist/schemas/hosts/lifecycle.js +52 -0
  1290. package/dist/schemas/hosts/lifecycle.js.map +1 -0
  1291. package/dist/schemas/hosts/provision-cli.d.ts +684 -0
  1292. package/dist/schemas/hosts/provision-cli.d.ts.map +1 -0
  1293. package/dist/schemas/hosts/provision-cli.js +65 -0
  1294. package/dist/schemas/hosts/provision-cli.js.map +1 -0
  1295. package/dist/schemas/hosts/provision.d.ts +465 -0
  1296. package/dist/schemas/hosts/provision.d.ts.map +1 -0
  1297. package/dist/schemas/hosts/provision.js +110 -0
  1298. package/dist/schemas/hosts/provision.js.map +1 -0
  1299. package/dist/schemas/hosts/telemetry.d.ts +42 -0
  1300. package/dist/schemas/hosts/telemetry.d.ts.map +1 -0
  1301. package/dist/schemas/hosts/telemetry.js +9 -0
  1302. package/dist/schemas/hosts/telemetry.js.map +1 -0
  1303. package/dist/schemas/hosts/types.d.ts +6 -0
  1304. package/dist/schemas/hosts/types.d.ts.map +1 -0
  1305. package/dist/schemas/hosts/types.js +2 -0
  1306. package/dist/schemas/hosts/types.js.map +1 -0
  1307. package/dist/schemas/hosts/workspace.d.ts +53 -0
  1308. package/dist/schemas/hosts/workspace.d.ts.map +1 -0
  1309. package/dist/schemas/hosts/workspace.js +61 -0
  1310. package/dist/schemas/hosts/workspace.js.map +1 -0
  1311. package/dist/schemas/http-date.d.ts +4 -0
  1312. package/dist/schemas/http-date.d.ts.map +1 -0
  1313. package/dist/schemas/http-date.js +9 -0
  1314. package/dist/schemas/http-date.js.map +1 -0
  1315. package/dist/schemas/http-responses.d.ts +3250 -0
  1316. package/dist/schemas/http-responses.d.ts.map +1 -0
  1317. package/dist/schemas/http-responses.js +263 -0
  1318. package/dist/schemas/http-responses.js.map +1 -0
  1319. package/dist/schemas/infrastructure.d.ts +35 -0
  1320. package/dist/schemas/infrastructure.d.ts.map +1 -0
  1321. package/dist/schemas/infrastructure.js +9 -0
  1322. package/dist/schemas/infrastructure.js.map +1 -0
  1323. package/dist/schemas/media/api.d.ts +121 -0
  1324. package/dist/schemas/media/api.d.ts.map +1 -0
  1325. package/dist/schemas/media/api.js +65 -0
  1326. package/dist/schemas/media/api.js.map +1 -0
  1327. package/dist/schemas/media/index.d.ts +4 -0
  1328. package/dist/schemas/media/index.d.ts.map +1 -0
  1329. package/dist/schemas/media/index.js +3 -0
  1330. package/dist/schemas/media/index.js.map +1 -0
  1331. package/dist/schemas/media/types.d.ts +92 -0
  1332. package/dist/schemas/media/types.d.ts.map +1 -0
  1333. package/dist/schemas/media/types.js +59 -0
  1334. package/dist/schemas/media/types.js.map +1 -0
  1335. package/dist/schemas/platform-state.d.ts +154 -0
  1336. package/dist/schemas/platform-state.d.ts.map +1 -0
  1337. package/dist/schemas/platform-state.js +23 -0
  1338. package/dist/schemas/platform-state.js.map +1 -0
  1339. package/dist/schemas/processes/api.d.ts +140 -0
  1340. package/dist/schemas/processes/api.d.ts.map +1 -0
  1341. package/dist/schemas/processes/api.js +16 -0
  1342. package/dist/schemas/processes/api.js.map +1 -0
  1343. package/dist/schemas/processes/common.d.ts +54 -0
  1344. package/dist/schemas/processes/common.d.ts.map +1 -0
  1345. package/dist/schemas/processes/common.js +35 -0
  1346. package/dist/schemas/processes/common.js.map +1 -0
  1347. package/dist/schemas/processes/forms.d.ts +62 -0
  1348. package/dist/schemas/processes/forms.d.ts.map +1 -0
  1349. package/dist/schemas/processes/forms.js +46 -0
  1350. package/dist/schemas/processes/forms.js.map +1 -0
  1351. package/dist/schemas/processes/index.d.ts +7 -0
  1352. package/dist/schemas/processes/index.d.ts.map +1 -0
  1353. package/dist/schemas/processes/index.js +4 -0
  1354. package/dist/schemas/processes/index.js.map +1 -0
  1355. package/dist/schemas/project-presentation.d.ts +20 -0
  1356. package/dist/schemas/project-presentation.d.ts.map +1 -0
  1357. package/dist/schemas/project-presentation.js +10 -0
  1358. package/dist/schemas/project-presentation.js.map +1 -0
  1359. package/dist/schemas/queue-action.d.ts +1633 -0
  1360. package/dist/schemas/queue-action.d.ts.map +1 -0
  1361. package/dist/schemas/queue-action.js +88 -0
  1362. package/dist/schemas/queue-action.js.map +1 -0
  1363. package/dist/schemas/secrets/api.d.ts +228 -0
  1364. package/dist/schemas/secrets/api.d.ts.map +1 -0
  1365. package/dist/schemas/secrets/api.js +67 -0
  1366. package/dist/schemas/secrets/api.js.map +1 -0
  1367. package/dist/schemas/secrets/common.d.ts +62 -0
  1368. package/dist/schemas/secrets/common.d.ts.map +1 -0
  1369. package/dist/schemas/secrets/common.js +10 -0
  1370. package/dist/schemas/secrets/common.js.map +1 -0
  1371. package/dist/schemas/secrets/index.d.ts +8 -0
  1372. package/dist/schemas/secrets/index.d.ts.map +1 -0
  1373. package/dist/schemas/secrets/index.js +4 -0
  1374. package/dist/schemas/secrets/index.js.map +1 -0
  1375. package/dist/schemas/secrets/metadata.d.ts +8 -0
  1376. package/dist/schemas/secrets/metadata.d.ts.map +1 -0
  1377. package/dist/schemas/secrets/metadata.js +11 -0
  1378. package/dist/schemas/secrets/metadata.js.map +1 -0
  1379. package/dist/schemas/secrets/resource-secrets.d.ts +11 -0
  1380. package/dist/schemas/secrets/resource-secrets.d.ts.map +1 -0
  1381. package/dist/schemas/secrets/resource-secrets.js +24 -0
  1382. package/dist/schemas/secrets/resource-secrets.js.map +1 -0
  1383. package/dist/schemas/tool-presentation.d.ts +47 -0
  1384. package/dist/schemas/tool-presentation.d.ts.map +1 -0
  1385. package/dist/schemas/tool-presentation.js +25 -0
  1386. package/dist/schemas/tool-presentation.js.map +1 -0
  1387. package/dist/server/integration-accounts/account-client.d.ts +14 -0
  1388. package/dist/server/integration-accounts/account-client.d.ts.map +1 -0
  1389. package/dist/server/integration-accounts/account-client.js +102 -0
  1390. package/dist/server/integration-accounts/account-client.js.map +1 -0
  1391. package/dist/server/integration-accounts/account-secrets.d.ts +10 -0
  1392. package/dist/server/integration-accounts/account-secrets.d.ts.map +1 -0
  1393. package/dist/server/integration-accounts/account-secrets.descriptor.d.ts +4 -0
  1394. package/dist/server/integration-accounts/account-secrets.descriptor.d.ts.map +1 -0
  1395. package/dist/server/integration-accounts/account-secrets.descriptor.js +13 -0
  1396. package/dist/server/integration-accounts/account-secrets.descriptor.js.map +1 -0
  1397. package/dist/server/integration-accounts/account-secrets.js +70 -0
  1398. package/dist/server/integration-accounts/account-secrets.js.map +1 -0
  1399. package/dist/server/integration-accounts/ci-job-secrets.d.ts +23 -0
  1400. package/dist/server/integration-accounts/ci-job-secrets.d.ts.map +1 -0
  1401. package/dist/server/integration-accounts/ci-job-secrets.descriptor.d.ts +4 -0
  1402. package/dist/server/integration-accounts/ci-job-secrets.descriptor.d.ts.map +1 -0
  1403. package/dist/server/integration-accounts/ci-job-secrets.descriptor.js +13 -0
  1404. package/dist/server/integration-accounts/ci-job-secrets.descriptor.js.map +1 -0
  1405. package/dist/server/integration-accounts/ci-job-secrets.js +168 -0
  1406. package/dist/server/integration-accounts/ci-job-secrets.js.map +1 -0
  1407. package/dist/server/integration-accounts/connect-routes.d.ts +10 -0
  1408. package/dist/server/integration-accounts/connect-routes.d.ts.map +1 -0
  1409. package/dist/server/integration-accounts/connect-routes.js +12 -0
  1410. package/dist/server/integration-accounts/connect-routes.js.map +1 -0
  1411. package/dist/server/integration-accounts/connection-store.d.ts +24 -0
  1412. package/dist/server/integration-accounts/connection-store.d.ts.map +1 -0
  1413. package/dist/server/integration-accounts/connection-store.js +161 -0
  1414. package/dist/server/integration-accounts/connection-store.js.map +1 -0
  1415. package/dist/server/integration-accounts/index.d.ts +8 -0
  1416. package/dist/server/integration-accounts/index.d.ts.map +1 -0
  1417. package/dist/server/integration-accounts/index.js +6 -0
  1418. package/dist/server/integration-accounts/index.js.map +1 -0
  1419. package/dist/server/integration-accounts/integration-availability.d.ts +4 -0
  1420. package/dist/server/integration-accounts/integration-availability.d.ts.map +1 -0
  1421. package/dist/server/integration-accounts/integration-availability.js +19 -0
  1422. package/dist/server/integration-accounts/integration-availability.js.map +1 -0
  1423. package/dist/server/integration-accounts/integrations.d.ts +1166 -0
  1424. package/dist/server/integration-accounts/integrations.d.ts.map +1 -0
  1425. package/dist/server/integration-accounts/integrations.js +355 -0
  1426. package/dist/server/integration-accounts/integrations.js.map +1 -0
  1427. package/dist/server/integration-accounts/internal-service.d.ts +19 -0
  1428. package/dist/server/integration-accounts/internal-service.d.ts.map +1 -0
  1429. package/dist/server/integration-accounts/internal-service.js +39 -0
  1430. package/dist/server/integration-accounts/internal-service.js.map +1 -0
  1431. package/dist/server/integration-accounts/operation-authority.d.ts +36 -0
  1432. package/dist/server/integration-accounts/operation-authority.d.ts.map +1 -0
  1433. package/dist/server/integration-accounts/operation-authority.js +38 -0
  1434. package/dist/server/integration-accounts/operation-authority.js.map +1 -0
  1435. package/dist/server/integration-accounts/operation-http-error.d.ts +12 -0
  1436. package/dist/server/integration-accounts/operation-http-error.d.ts.map +1 -0
  1437. package/dist/server/integration-accounts/operation-http-error.js +16 -0
  1438. package/dist/server/integration-accounts/operation-http-error.js.map +1 -0
  1439. package/dist/server/integration-accounts/operation-receiver.d.ts +13 -0
  1440. package/dist/server/integration-accounts/operation-receiver.d.ts.map +1 -0
  1441. package/dist/server/integration-accounts/operation-receiver.js +210 -0
  1442. package/dist/server/integration-accounts/operation-receiver.js.map +1 -0
  1443. package/dist/server/integration-accounts/plugin.d.ts +8 -0
  1444. package/dist/server/integration-accounts/plugin.d.ts.map +1 -0
  1445. package/dist/server/integration-accounts/plugin.js +43 -0
  1446. package/dist/server/integration-accounts/plugin.js.map +1 -0
  1447. package/dist/server/integration-accounts/resource-secrets.d.ts +125 -0
  1448. package/dist/server/integration-accounts/resource-secrets.d.ts.map +1 -0
  1449. package/dist/server/integration-accounts/resource-secrets.js +21 -0
  1450. package/dist/server/integration-accounts/resource-secrets.js.map +1 -0
  1451. package/dist/server/integration-accounts/schema.d.ts +6 -0
  1452. package/dist/server/integration-accounts/schema.d.ts.map +1 -0
  1453. package/dist/server/integration-accounts/schema.js +10 -0
  1454. package/dist/server/integration-accounts/schema.js.map +1 -0
  1455. package/dist/server/integration-accounts/schemas/account.d.ts +12 -0
  1456. package/dist/server/integration-accounts/schemas/account.d.ts.map +1 -0
  1457. package/dist/server/integration-accounts/schemas/account.js +12 -0
  1458. package/dist/server/integration-accounts/schemas/account.js.map +1 -0
  1459. package/dist/server/integration-accounts/schemas/connection.d.ts +91 -0
  1460. package/dist/server/integration-accounts/schemas/connection.d.ts.map +1 -0
  1461. package/dist/server/integration-accounts/schemas/connection.js +44 -0
  1462. package/dist/server/integration-accounts/schemas/connection.js.map +1 -0
  1463. package/dist/server/integration-accounts/schemas/project-permissions.d.ts +14 -0
  1464. package/dist/server/integration-accounts/schemas/project-permissions.d.ts.map +1 -0
  1465. package/dist/server/integration-accounts/schemas/project-permissions.js +12 -0
  1466. package/dist/server/integration-accounts/schemas/project-permissions.js.map +1 -0
  1467. package/dist/server/integration-accounts/secret-service.d.ts +102 -0
  1468. package/dist/server/integration-accounts/secret-service.d.ts.map +1 -0
  1469. package/dist/server/integration-accounts/secret-service.js +482 -0
  1470. package/dist/server/integration-accounts/secret-service.js.map +1 -0
  1471. package/dist/server/integration-accounts/secret-types.d.ts +87 -0
  1472. package/dist/server/integration-accounts/secret-types.d.ts.map +1 -0
  1473. package/dist/server/integration-accounts/secret-types.js +29 -0
  1474. package/dist/server/integration-accounts/secret-types.js.map +1 -0
  1475. package/dist/server/integration-accounts/secrets.d.ts +345 -0
  1476. package/dist/server/integration-accounts/secrets.d.ts.map +1 -0
  1477. package/dist/server/integration-accounts/secrets.js +101 -0
  1478. package/dist/server/integration-accounts/secrets.js.map +1 -0
  1479. package/dist/server/integration-accounts/store-adapter.d.ts +5 -0
  1480. package/dist/server/integration-accounts/store-adapter.d.ts.map +1 -0
  1481. package/dist/server/integration-accounts/store-adapter.js +88 -0
  1482. package/dist/server/integration-accounts/store-adapter.js.map +1 -0
  1483. package/dist/svelte/command-palette/projects-source.plugin.d.ts +37 -0
  1484. package/dist/svelte/command-palette/projects-source.plugin.d.ts.map +1 -0
  1485. package/dist/svelte/command-palette/projects-source.plugin.js +112 -0
  1486. package/dist/svelte/components/CodeSessionHostPicker.svelte +108 -0
  1487. package/dist/svelte/components/CodeSessionHostPicker.svelte.d.ts +19 -0
  1488. package/dist/svelte/components/CodeSessionHostPicker.svelte.d.ts.map +1 -0
  1489. package/dist/svelte/components/HostCapabilitySelector.svelte +78 -0
  1490. package/dist/svelte/components/HostCapabilitySelector.svelte.d.ts +9 -0
  1491. package/dist/svelte/components/HostCapabilitySelector.svelte.d.ts.map +1 -0
  1492. package/dist/svelte/components/HostProvisionForm.svelte +335 -0
  1493. package/dist/svelte/components/HostProvisionForm.svelte.d.ts +17 -0
  1494. package/dist/svelte/components/HostProvisionForm.svelte.d.ts.map +1 -0
  1495. package/dist/svelte/components/HostSelector.svelte +172 -0
  1496. package/dist/svelte/components/HostSelector.svelte.d.ts +20 -0
  1497. package/dist/svelte/components/HostSelector.svelte.d.ts.map +1 -0
  1498. package/dist/svelte/components/IntegrationConnectionCard.svelte +142 -0
  1499. package/dist/svelte/components/IntegrationConnectionCard.svelte.d.ts +33 -0
  1500. package/dist/svelte/components/IntegrationConnectionCard.svelte.d.ts.map +1 -0
  1501. package/dist/svelte/components/PlatformDeploymentsList.svelte +87 -0
  1502. package/dist/svelte/components/PlatformDeploymentsList.svelte.d.ts +19 -0
  1503. package/dist/svelte/components/PlatformDeploymentsList.svelte.d.ts.map +1 -0
  1504. package/dist/svelte/components/PlatformLoader.svelte +36 -0
  1505. package/dist/svelte/components/PlatformLoader.svelte.d.ts +6 -0
  1506. package/dist/svelte/components/PlatformLoader.svelte.d.ts.map +1 -0
  1507. package/dist/svelte/components/PlatformProvider.svelte +9 -0
  1508. package/dist/svelte/components/PlatformProvider.svelte.d.ts +8 -0
  1509. package/dist/svelte/components/PlatformProvider.svelte.d.ts.map +1 -0
  1510. package/dist/svelte/components/PlatformServiceList.svelte +95 -0
  1511. package/dist/svelte/components/PlatformServiceList.svelte.d.ts +20 -0
  1512. package/dist/svelte/components/PlatformServiceList.svelte.d.ts.map +1 -0
  1513. package/dist/svelte/components/PlatformStatusBadge.svelte +135 -0
  1514. package/dist/svelte/components/PlatformStatusBadge.svelte.d.ts +20 -0
  1515. package/dist/svelte/components/PlatformStatusBadge.svelte.d.ts.map +1 -0
  1516. package/dist/svelte/components/RepositorySelector.svelte +491 -0
  1517. package/dist/svelte/components/RepositorySelector.svelte.d.ts +31 -0
  1518. package/dist/svelte/components/RepositorySelector.svelte.d.ts.map +1 -0
  1519. package/dist/svelte/components/index.d.ts +12 -0
  1520. package/dist/svelte/components/index.d.ts.map +1 -0
  1521. package/dist/svelte/components/index.js +11 -0
  1522. package/dist/svelte/fleets/AddMachineDialog.svelte +633 -0
  1523. package/dist/svelte/fleets/AddMachineDialog.svelte.d.ts +5 -0
  1524. package/dist/svelte/fleets/AddMachineDialog.svelte.d.ts.map +1 -0
  1525. package/dist/svelte/fleets/MachineCard.svelte +161 -0
  1526. package/dist/svelte/fleets/MachineCard.svelte.d.ts +5 -0
  1527. package/dist/svelte/fleets/MachineCard.svelte.d.ts.map +1 -0
  1528. package/dist/svelte/fleets/MachinesPanel.svelte +389 -0
  1529. package/dist/svelte/fleets/MachinesPanel.svelte.d.ts +5 -0
  1530. package/dist/svelte/fleets/MachinesPanel.svelte.d.ts.map +1 -0
  1531. package/dist/svelte/fleets/helpers.d.ts +45 -0
  1532. package/dist/svelte/fleets/helpers.d.ts.map +1 -0
  1533. package/dist/svelte/fleets/helpers.js +113 -0
  1534. package/dist/svelte/fleets/index.d.ts +15 -0
  1535. package/dist/svelte/fleets/index.d.ts.map +1 -0
  1536. package/dist/svelte/fleets/index.js +13 -0
  1537. package/dist/svelte/fleets/styles.css +8 -0
  1538. package/dist/svelte/fleets/types.d.ts +139 -0
  1539. package/dist/svelte/fleets/types.d.ts.map +1 -0
  1540. package/dist/svelte/fleets/types.js +9 -0
  1541. package/dist/svelte/index.d.ts +15 -0
  1542. package/dist/svelte/index.d.ts.map +1 -0
  1543. package/dist/svelte/index.js +13 -0
  1544. package/dist/svelte/integration-catalog.load.d.ts +108 -0
  1545. package/dist/svelte/integration-catalog.load.d.ts.map +1 -0
  1546. package/dist/svelte/integration-catalog.load.js +132 -0
  1547. package/dist/svelte/integration-connect.d.ts +3 -0
  1548. package/dist/svelte/integration-connect.d.ts.map +1 -0
  1549. package/dist/svelte/integration-connect.js +2 -0
  1550. package/dist/svelte/integration-connect.load.d.ts +29 -0
  1551. package/dist/svelte/integration-connect.load.d.ts.map +1 -0
  1552. package/dist/svelte/integration-connect.load.js +22 -0
  1553. package/dist/svelte/loaders.d.ts +59 -0
  1554. package/dist/svelte/loaders.d.ts.map +1 -0
  1555. package/dist/svelte/loaders.js +163 -0
  1556. package/dist/svelte/navigation.d.ts +31 -0
  1557. package/dist/svelte/navigation.d.ts.map +1 -0
  1558. package/dist/svelte/navigation.js +282 -0
  1559. package/dist/svelte/platform-svelte.plugin.d.ts +87 -0
  1560. package/dist/svelte/platform-svelte.plugin.d.ts.map +1 -0
  1561. package/dist/svelte/platform-svelte.plugin.js +28 -0
  1562. package/dist/svelte/repositories-runtime.d.ts +68 -0
  1563. package/dist/svelte/repositories-runtime.d.ts.map +1 -0
  1564. package/dist/svelte/repositories-runtime.js +110 -0
  1565. package/dist/svelte/runtime.d.ts +57 -0
  1566. package/dist/svelte/runtime.d.ts.map +1 -0
  1567. package/dist/svelte/runtime.js +124 -0
  1568. package/dist/svelte/state.svelte.d.ts +71 -0
  1569. package/dist/svelte/state.svelte.d.ts.map +1 -0
  1570. package/dist/svelte/state.svelte.js +235 -0
  1571. package/dist/svelte/storage/components/PlatformChatUploadDialog.svelte +77 -0
  1572. package/dist/svelte/storage/components/PlatformChatUploadDialog.svelte.d.ts +17 -0
  1573. package/dist/svelte/storage/components/PlatformChatUploadDialog.svelte.d.ts.map +1 -0
  1574. package/dist/svelte/storage/components/PlatformStorageUpload.svelte +204 -0
  1575. package/dist/svelte/storage/components/PlatformStorageUpload.svelte.d.ts +22 -0
  1576. package/dist/svelte/storage/components/PlatformStorageUpload.svelte.d.ts.map +1 -0
  1577. package/dist/svelte/storage/index.d.ts +22 -0
  1578. package/dist/svelte/storage/index.d.ts.map +1 -0
  1579. package/dist/svelte/storage/index.js +17 -0
  1580. package/dist/svelte/storage/platform-storage-upload-runtime.d.ts +26 -0
  1581. package/dist/svelte/storage/platform-storage-upload-runtime.d.ts.map +1 -0
  1582. package/dist/svelte/storage/platform-storage-upload-runtime.js +35 -0
  1583. package/dist/svelte/storage/platform-storage-upload.plugin.d.ts +27 -0
  1584. package/dist/svelte/storage/platform-storage-upload.plugin.d.ts.map +1 -0
  1585. package/dist/svelte/storage/platform-storage-upload.plugin.js +45 -0
  1586. package/dist/svelte/storage/stores/platform-storage-uploads.svelte.d.ts +50 -0
  1587. package/dist/svelte/storage/stores/platform-storage-uploads.svelte.d.ts.map +1 -0
  1588. package/dist/svelte/storage/stores/platform-storage-uploads.svelte.js +129 -0
  1589. package/dist/svelte/stores/hosts.svelte.d.ts +32 -0
  1590. package/dist/svelte/stores/hosts.svelte.d.ts.map +1 -0
  1591. package/dist/svelte/stores/hosts.svelte.js +63 -0
  1592. package/dist/svelte/stores/index.d.ts +3 -0
  1593. package/dist/svelte/stores/index.d.ts.map +1 -0
  1594. package/dist/svelte/stores/index.js +2 -0
  1595. package/dist/svelte/stores/repositories.svelte.d.ts +34 -0
  1596. package/dist/svelte/stores/repositories.svelte.d.ts.map +1 -0
  1597. package/dist/svelte/stores/repositories.svelte.js +80 -0
  1598. package/dist/svelte/styles.css +10 -0
  1599. package/dist/svelte/tool-widgets/ComponentsToolCard.svelte +150 -0
  1600. package/dist/svelte/tool-widgets/ComponentsToolCard.svelte.d.ts +5 -0
  1601. package/dist/svelte/tool-widgets/ComponentsToolCard.svelte.d.ts.map +1 -0
  1602. package/dist/svelte/tool-widgets/IntegrationOperationToolCard.svelte +76 -0
  1603. package/dist/svelte/tool-widgets/IntegrationOperationToolCard.svelte.d.ts +5 -0
  1604. package/dist/svelte/tool-widgets/IntegrationOperationToolCard.svelte.d.ts.map +1 -0
  1605. package/dist/svelte/tool-widgets/StorageInspectorToolCard.svelte +133 -0
  1606. package/dist/svelte/tool-widgets/StorageInspectorToolCard.svelte.d.ts +5 -0
  1607. package/dist/svelte/tool-widgets/StorageInspectorToolCard.svelte.d.ts.map +1 -0
  1608. package/dist/svelte/tool-widgets/index.d.ts +4 -0
  1609. package/dist/svelte/tool-widgets/index.d.ts.map +1 -0
  1610. package/dist/svelte/tool-widgets/index.js +3 -0
  1611. package/dist/svelte/tool-widgets/presentation.d.ts +22 -0
  1612. package/dist/svelte/tool-widgets/presentation.d.ts.map +1 -0
  1613. package/dist/svelte/tool-widgets/presentation.js +182 -0
  1614. package/dist/svelte/tool-widgets/utils.d.ts +5 -0
  1615. package/dist/svelte/tool-widgets/utils.d.ts.map +1 -0
  1616. package/dist/svelte/tool-widgets/utils.js +12 -0
  1617. package/dist/tools/components.descriptor.d.ts +177 -0
  1618. package/dist/tools/components.descriptor.d.ts.map +1 -0
  1619. package/dist/tools/components.descriptor.js +116 -0
  1620. package/dist/tools/components.descriptor.js.map +1 -0
  1621. package/dist/tools/components.impl.d.ts +8 -0
  1622. package/dist/tools/components.impl.d.ts.map +1 -0
  1623. package/dist/tools/components.impl.js +119 -0
  1624. package/dist/tools/components.impl.js.map +1 -0
  1625. package/dist/tools/integration-operation.descriptor.d.ts +29 -0
  1626. package/dist/tools/integration-operation.descriptor.d.ts.map +1 -0
  1627. package/dist/tools/integration-operation.descriptor.js +22 -0
  1628. package/dist/tools/integration-operation.descriptor.js.map +1 -0
  1629. package/dist/tools/integration-operation.impl.d.ts +16 -0
  1630. package/dist/tools/integration-operation.impl.d.ts.map +1 -0
  1631. package/dist/tools/integration-operation.impl.js +34 -0
  1632. package/dist/tools/integration-operation.impl.js.map +1 -0
  1633. package/dist/tools/storage-inspector.descriptor.d.ts +55 -0
  1634. package/dist/tools/storage-inspector.descriptor.d.ts.map +1 -0
  1635. package/dist/tools/storage-inspector.descriptor.js +46 -0
  1636. package/dist/tools/storage-inspector.descriptor.js.map +1 -0
  1637. package/dist/tools/storage-inspector.impl.d.ts +8 -0
  1638. package/dist/tools/storage-inspector.impl.d.ts.map +1 -0
  1639. package/dist/tools/storage-inspector.impl.js +136 -0
  1640. package/dist/tools/storage-inspector.impl.js.map +1 -0
  1641. package/dist/tools/workspace-create.descriptor.d.ts +80 -0
  1642. package/dist/tools/workspace-create.descriptor.d.ts.map +1 -0
  1643. package/dist/tools/workspace-create.descriptor.js +49 -0
  1644. package/dist/tools/workspace-create.descriptor.js.map +1 -0
  1645. package/dist/tools/workspace-create.impl.d.ts +15 -0
  1646. package/dist/tools/workspace-create.impl.d.ts.map +1 -0
  1647. package/dist/tools/workspace-create.impl.js +125 -0
  1648. package/dist/tools/workspace-create.impl.js.map +1 -0
  1649. package/dist/tools/workspace-destroy.descriptor.d.ts +38 -0
  1650. package/dist/tools/workspace-destroy.descriptor.d.ts.map +1 -0
  1651. package/dist/tools/workspace-destroy.descriptor.js +33 -0
  1652. package/dist/tools/workspace-destroy.descriptor.js.map +1 -0
  1653. package/dist/tools/workspace-destroy.impl.d.ts +14 -0
  1654. package/dist/tools/workspace-destroy.impl.d.ts.map +1 -0
  1655. package/dist/tools/workspace-destroy.impl.js +73 -0
  1656. package/dist/tools/workspace-destroy.impl.js.map +1 -0
  1657. package/package.json +770 -4
@@ -0,0 +1,375 @@
1
+ import { PlatformConfigSchema } from "../../config/platform.config.descriptor.js";
2
+ /**
3
+ * Shared cloud-init template for fleet-provisioned hosts (fleet-droplet F0.1).
4
+ *
5
+ * One template, two consumers: platform-web's `handleHostProvision` (the
6
+ * server-built `infra/sandbox` descriptor's user_data) and the fleet CLI
7
+ * launch path. The generated boot script:
8
+ * 1. curl-installs the `vibes` CLI from the public installer,
9
+ * 2. writes the one-time enrollment token into a root-only file (0600) at
10
+ * `/root/.vibes/hosts/<host-id>.enroll-token` (the path `vibes fleet
11
+ * daemon install` uses), the platform origin into a root-only env file
12
+ * (0600) at `/etc/vibes/fleet-daemon.env`, and the daemon root's
13
+ * `vibes.config.json` (`daemon-host-config.ts`): the host's declared
14
+ * environment tier (`config['runtime.host'].environmentTier`) and the
15
+ * fleet CLI plugin the daemon command needs,
16
+ * 3. writes a systemd SYSTEM unit whose working directory is the daemon root
17
+ * and that runs `vibes fleet daemon --enroll-token-file <path>` headless
18
+ * (the CLI binds that root from its cwd): argv carries
19
+ * the token's PATH, never the token, so nothing sensitive appears in
20
+ * `ps`; the daemon consumes and removes the file once it has persisted
21
+ * the durable host token. The
22
+ * `vibes fleet daemon install` service backend manages user units via
23
+ * `systemctl --user`, which has no bus in cloud-init's root context, so
24
+ * the unit is rendered here with the same `vibes-fleet-daemon-<host-id>`
25
+ * naming,
26
+ * 4. verifies the installed CLI can run the daemon from the daemon root
27
+ * (`vibes fleet daemon --help` exits 0 there) and ONLY THEN enables +
28
+ * starts the unit.
29
+ * `Restart=on-failure` retries transient enroll failures until the daemon
30
+ * claims the token and persists the durable host token at
31
+ * `/root/.vibes/hosts/<host-id>.json`; later runs ignore the (spent)
32
+ * enroll token.
33
+ *
34
+ * Why the verify gate: the public installer ships a THIN SHIM and finishes it
35
+ * with `vibes update --global`, which needs the private `@vibesdotdev`
36
+ * registry. A bare droplet has no registry credential (none is embedded here —
37
+ * user_data is not a place for one), so that step fails and the installer
38
+ * deliberately exits 0 anyway. Without the gate, cloud-init enabled a unit
39
+ * whose binary exits 78 on every command; `Restart=on-failure` looped it
40
+ * forever and the platform showed "awaiting first heartbeat" indefinitely.
41
+ * With the gate, an unusable daemon writes {@link FLEET_DAEMON_UNUSABLE_MARKER_FILE}
42
+ * (`status=unusable`, `reason=...`, `remedy=...`), appends a timestamped line
43
+ * to {@link FLEET_CLOUD_INIT_LOG_FILE}, and leaves the unit written but
44
+ * DISABLED so an operator (or a later brokered install step) can repair the
45
+ * host graph and `systemctl enable --now` it.
46
+ *
47
+ * Why the daemon root declares the fleet CLI plugin and binds by cwd: the
48
+ * installer pulls the latest PUBLISHED CLI, not the one this template was
49
+ * built with, so the template may only rely on what every supported release
50
+ * accepts. A release whose global root does not compose `vibes fleet` (0.2.13)
51
+ * still composes it from a root that declares it; one that does registers it
52
+ * once (a plugin registers idempotently). Every release binds its workspace
53
+ * from the cwd, while 0.2.13 refuses `--workspace-root`, so neither unit
54
+ * passes that flag. The daemon reads its enrollment token from
55
+ * `--enroll-token-file` and its tier from the bound root.
56
+ *
57
+ * By default the unit runs `--relay` so the daemon dials OUT to the broker DO and
58
+ * a NAT'd droplet reachable only via public IP is still reachable over the relay
59
+ * by `getVibesRemote(hostId)` (the `--no-relay` default previously left provisioned
60
+ * hosts unreachable — fleet-relay NAT gap). Pass `relayReachable: false` for the
61
+ * legacy http-only public-IP path. The relay REQUIRES the same L5-gated pipeline
62
+ * (wired by construction in the daemon CLI), so relay-reachable never weakens the
63
+ * secure-by-default bind guards.
64
+ *
65
+ * Pure string builder: must stay workerd-safe (platform-web consumes it).
66
+ */
67
+ // The build-runner toolchain (git + bun) setup script is a first-class
68
+ // `extraScript` for this template; re-exported here so `@vibesdotdev/platform/fleets/provision`
69
+ // (mapped to this file) is the single import home for both.
70
+ export { BUILD_RUNNER_BUN_INSTALL_DIR, BUILD_RUNNER_BUN_INSTALL_URL, BUILD_RUNNER_BUN_VERSION, BUILD_RUNNER_SETUP_MARKER, buildBuildRunnerSetupScript } from "./build-runner-setup.js";
71
+ // The desktop/GPU-host setup script (docker + vibes-desktop-base) is a first-class
72
+ // `extraScript` for this template too; re-exported so `@vibesdotdev/platform/fleets/provision`
73
+ // is the single import home for every provisioning script.
74
+ export { DEFAULT_DESKTOP_SOURCE_REPO, DESKTOP_IMAGE_CONTEXT_DIR, DESKTOP_IMAGE_TAG, DESKTOP_HOST_SETUP_MARKER, buildDesktopHostSetupScript } from "./desktop-host-setup.js";
75
+ export { GPU_HOST_SETUP_MARKER, buildGpuHostSetupScript } from "./gpu-host-setup.js";
76
+ import { FLEET_DAEMON_CLI_PLUGIN, FLEET_DAEMON_HOST_CONFIG_FILE, fleetDaemonRootName, parseFleetDaemonTier, renderFleetDaemonHostConfig } from "./daemon-host-config.js";
77
+ export const DEFAULT_VIBES_INSTALL_URL = PlatformConfigSchema.shape.fleetInstallUrl.parse(undefined);
78
+ export const FLEET_DAEMON_ENV_FILE = '/etc/vibes/fleet-daemon.env';
79
+ /**
80
+ * The secret key an operator publishes the one-time enrollment token under
81
+ * (`vibes secrets exec --with VIBES_FLEET_ENROLL_TOKEN -- vibes fleet daemon`);
82
+ * the daemon resolves it through `runtime.resolveCredential`, never the raw
83
+ * process environment. Cloud-init writes a token file instead.
84
+ */
85
+ export const FLEET_ENROLL_TOKEN_ENV = 'VIBES_FLEET_ENROLL_TOKEN';
86
+ /** A provisioned droplet's Vibes home: the daemon's unit runs with HOME=/root. */
87
+ const FLEET_CLOUD_INIT_VIBES_HOME = '/root/.vibes';
88
+ /** The one-time enrollment token file cloud-init writes (0600) for `hostId`. */
89
+ export function fleetCloudInitEnrollTokenFile(hostId) {
90
+ return `${FLEET_CLOUD_INIT_VIBES_HOME}/hosts/${hostId}.enroll-token`;
91
+ }
92
+ /** The root the provisioned daemon binds (its unit's working directory); it carries the declared tier and the fleet CLI plugin. */
93
+ export function fleetCloudInitDaemonRoot(hostId) {
94
+ return `${FLEET_CLOUD_INIT_VIBES_HOME}/hosts/${fleetDaemonRootName(hostId)}`;
95
+ }
96
+ /** Installed CLI path the unit executes; the installer honours VIBES_INSTALL_DIR. */
97
+ export const FLEET_CLOUD_INIT_VIBES_BIN = '/root/.local/bin/vibes';
98
+ /**
99
+ * Written (0600, root) when the installed CLI cannot run `fleet daemon`. Key=value
100
+ * lines: `status=unusable`, `reason=<verify output>`, `checkedAt=<iso>`,
101
+ * `remedy=<what to run>`. Absent on a healthy host. A future host-side status
102
+ * report can forward this so the platform shows `daemon unusable: <reason>`.
103
+ */
104
+ export const FLEET_DAEMON_UNUSABLE_MARKER_FILE = '/etc/vibes/fleet-daemon.unusable';
105
+ /** Timestamped boot-script log (in addition to /var/log/cloud-init-output.log). */
106
+ export const FLEET_CLOUD_INIT_LOG_FILE = '/root/.vibes/logs/vibes-fleet-cloud-init.log';
107
+ /** The command whose exit status, run from the daemon root, decides whether the unit is enabled. */
108
+ export const FLEET_DAEMON_VERIFY_COMMAND = `${FLEET_CLOUD_INIT_VIBES_BIN} fleet daemon --help`;
109
+ /**
110
+ * Bunfig the brokered registry lease is written into (0600), resolved from the
111
+ * script's own HOME so a harness can run the rendered script under a temporary
112
+ * root instead of the real /root.
113
+ */
114
+ export const FLEET_REGISTRY_BUNFIG_FILE = '${HOME}/.bunfig.toml';
115
+ /**
116
+ * The bunfig `vibes update --global` requires, measured on a real droplet
117
+ * 2026-09-07. Every field matters and each was wrong once:
118
+ *
119
+ * - the scope key carries its `@`. Bun matches either spelling, which is why
120
+ * a `bun add @vibesdotdev/…` smoke test passed while the droplet failed —
121
+ * but the CLI's own precondition looks for `"@vibesdotdev"` and exits 78
122
+ * with "the @vibesdotdev package scope has no credential" without it.
123
+ * - `linker = "hoisted"` is a measured decision, not a default: under
124
+ * "isolated" a workspaces glob member that is not also a dependency is
125
+ * never linked, which breaks the host graph.
126
+ * - the token is an ENV VAR REFERENCE. Nothing writes a credential to the
127
+ * droplet's disk; the lease is exported for the one command that needs it.
128
+ *
129
+ * Bunfig files do NOT merge — the one bun reads for an install replaces the
130
+ * rest — so this file must be complete, not a fragment. The shape is
131
+ * `renderSeedBunfig()` in @vibesdotdev/plugins; `cloud-init.test.ts` pins the
132
+ * two together.
133
+ */
134
+ export const FLEET_REGISTRY_NPM_SCOPE = '@vibesdotdev';
135
+ /** Registry the lease authenticates against; trailing slash as the seed writes it. */
136
+ export const FLEET_REGISTRY_URL = PlatformConfigSchema.shape.fleetRegistryUrl.parse(undefined);
137
+ /** Env var the bunfig references, and the one the lease is exported as. */
138
+ export const FLEET_REGISTRY_TOKEN_ENV = 'VIBES_REGISTRY_TOKEN';
139
+ /** Bun linker the host graph requires. */
140
+ export const FLEET_REGISTRY_LINKER = 'hoisted';
141
+ const HOST_ID_PATTERN = /^[a-z0-9][a-z0-9-]{0,62}$/;
142
+ const ENROLL_TOKEN_PATTERN = /^[A-Za-z0-9._-]{8,256}$/;
143
+ const LABEL_PATTERN = /^[A-Za-z0-9][A-Za-z0-9:._/-]{0,127}$/;
144
+ /**
145
+ * Optional host-local PM service. Harness binaries remain owned by their setup
146
+ * hooks. The daemon binds its workspace from its working directory, never an
147
+ * environment variable (rc02-rc03 §2.2); `--workspace-root` is refused by
148
+ * published CLIs the installer may pull.
149
+ */
150
+ export function buildPmDaemonServiceScript() {
151
+ return `
152
+ # Host-local PM daemon; run only after workspace/tool setup.
153
+ mkdir -p /root/workspace /root/.vibes/logs
154
+ cat > /etc/systemd/system/vibes-pm-daemon.service <<'VIBES_PM_UNIT'
155
+ [Unit]
156
+ Description=Vibes PM Daemon (host-local lanes)
157
+ After=network-online.target
158
+ Wants=network-online.target
159
+
160
+ [Service]
161
+ Type=simple
162
+ Environment="HOME=/root"
163
+ Environment="PATH=/root/.local/bin:/root/.bun/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
164
+ WorkingDirectory=/root/workspace
165
+ ExecStart=${FLEET_CLOUD_INIT_VIBES_BIN} pm daemon serve --detached
166
+ Restart=on-failure
167
+ RestartSec=10
168
+ StandardOutput=append:/root/.vibes/logs/vibes-pm-daemon.log
169
+ StandardError=append:/root/.vibes/logs/vibes-pm-daemon.err
170
+
171
+ [Install]
172
+ WantedBy=multi-user.target
173
+ VIBES_PM_UNIT
174
+ systemctl daemon-reload
175
+ # Verify PM itself; a working fleet command does not prove this plugin is installed.
176
+ if (cd /root/workspace && timeout 120 ${FLEET_CLOUD_INIT_VIBES_BIN} pm daemon serve --help >/dev/null 2>&1); then
177
+ systemctl enable --now vibes-pm-daemon.service
178
+ else
179
+ echo 'PM daemon unavailable; service written but not enabled. Repair the CLI, then enable vibes-pm-daemon.service.' >&2
180
+ exit 1
181
+ fi
182
+ `;
183
+ }
184
+ export function fleetDaemonServiceName(hostId) {
185
+ return `vibes-fleet-daemon-${hostId}`;
186
+ }
187
+ function assertHttpUrl(value, field) {
188
+ let parsed;
189
+ try {
190
+ parsed = new URL(value);
191
+ }
192
+ catch (cause) {
193
+ throw new Error(`${field} must be a valid URL, got: ${value}`, { cause });
194
+ }
195
+ if (parsed.protocol !== 'https:' && parsed.protocol !== 'http:') {
196
+ throw new Error(`${field} must be http(s), got: ${value}`);
197
+ }
198
+ if (/['\s]/.test(value)) {
199
+ throw new Error(`${field} must not contain quotes or whitespace`);
200
+ }
201
+ return value;
202
+ }
203
+ export function buildFleetCloudInit(input) {
204
+ if (!HOST_ID_PATTERN.test(input.hostId)) {
205
+ throw new Error(`Invalid hostId for cloud-init (kebab-case required): ${input.hostId}`);
206
+ }
207
+ if (!ENROLL_TOKEN_PATTERN.test(input.enrollToken)) {
208
+ throw new Error('Invalid enrollment token for cloud-init (unsafe characters or length)');
209
+ }
210
+ const labels = input.labels ?? [];
211
+ for (const label of labels) {
212
+ if (!LABEL_PATTERN.test(label)) {
213
+ throw new Error(`Invalid capability label for cloud-init: ${label}`);
214
+ }
215
+ }
216
+ const platformOrigin = new URL(assertHttpUrl(input.platformOrigin, 'platformOrigin')).origin;
217
+ const installUrl = assertHttpUrl(input.installUrl ?? DEFAULT_VIBES_INSTALL_URL, 'installUrl');
218
+ const registryUrl = assertHttpUrl(input.registryUrl ?? FLEET_REGISTRY_URL, 'registryUrl');
219
+ const serviceName = fleetDaemonServiceName(input.hostId);
220
+ const labelsFlag = labels.length > 0 ? ` --labels ${labels.join(',')}` : '';
221
+ // Relay-reachable by default (NAT gap fix): a provisioned droplet dials OUT to
222
+ // the broker so `getVibesRemote(hostId)` resolves it even behind NAT. The daemon
223
+ // CLI wires the L5 gates by construction, so `--relay` never weakens the bind
224
+ // guards. `relayReachable: false` restores the legacy http-only public-IP path.
225
+ const relayFlag = input.relayReachable === false ? '--no-relay' : '--relay';
226
+ // No --enroll-token here: argv carries only the token FILE's path. A token
227
+ // (or a `${VAR}` expansion of one) on ExecStart would be visible in `ps`
228
+ // for the process lifetime.
229
+ const tier = parseFleetDaemonTier(input.environmentTier);
230
+ const enrollTokenFile = fleetCloudInitEnrollTokenFile(input.hostId);
231
+ const daemonRoot = fleetCloudInitDaemonRoot(input.hostId);
232
+ const execStart = `${FLEET_CLOUD_INIT_VIBES_BIN} fleet daemon --host-id ${input.hostId} ` +
233
+ `--enroll-token-file ${enrollTokenFile} --broker-origin ${platformOrigin} ${relayFlag}${labelsFlag}`;
234
+ // The installer is allowed to fail here (network blip, download 404): the
235
+ // verify gate below reports "binary missing" through the same marker instead
236
+ // of aborting cloud-init before anything diagnostic was written.
237
+ const script = `#!/bin/bash
238
+ set -euo pipefail
239
+
240
+ export HOME=/root
241
+ export VIBES_INSTALL_DIR=/root/.local/bin
242
+
243
+ mkdir -p /root/.vibes/logs
244
+ fleet_log() {
245
+ printf '%s fleet cloud-init: %s\\n' "$(date -u +%Y-%m-%dT%H:%M:%SZ)" "$1" | tee -a ${FLEET_CLOUD_INIT_LOG_FILE}
246
+ }
247
+
248
+ installer_status=0
249
+ curl -fsSL '${installUrl}' | bash || installer_status=$?
250
+ if [ "\${installer_status}" -ne 0 ]; then
251
+ fleet_log "installer exited \${installer_status}; continuing so the verify step can record why"
252
+ fi
253
+
254
+ install -d -m 0700 /etc/vibes
255
+ cat > ${FLEET_DAEMON_ENV_FILE} <<'VIBES_FLEET_ENV'
256
+ PUBLIC_VIBES_PLATFORM_ORIGIN=${platformOrigin}
257
+ VIBES_FLEET_ENV
258
+ chmod 0600 ${FLEET_DAEMON_ENV_FILE}
259
+
260
+ # The one-time enrollment token, in a root-only file the daemon consumes and
261
+ # removes; its service argv names only the path.
262
+ install -d -m 0700 ${FLEET_CLOUD_INIT_VIBES_HOME}/hosts
263
+ (umask 077 && cat > ${enrollTokenFile} <<'VIBES_FLEET_ENROLL_TOKEN'
264
+ ${input.enrollToken}
265
+ VIBES_FLEET_ENROLL_TOKEN
266
+ )
267
+ chmod 0600 ${enrollTokenFile}
268
+
269
+ # The daemon's bound root declares this host's environment tier (the daemon's
270
+ # credential reads refuse an undeclared tier, and none is defaulted) and the
271
+ # fleet CLI plugin, which not every published CLI composes at its global root.
272
+ install -d -m 0700 ${daemonRoot}
273
+ cat > ${daemonRoot}/${FLEET_DAEMON_HOST_CONFIG_FILE} <<'VIBES_FLEET_HOST_CONFIG'
274
+ ${renderFleetDaemonHostConfig(tier, { plugins: [FLEET_DAEMON_CLI_PLUGIN] }).trimEnd()}
275
+ VIBES_FLEET_HOST_CONFIG
276
+
277
+ # Brokered install step. The installer's \`vibes update --global\` needs the
278
+ # private @vibesdotdev registry and a bare droplet has no credential, so trade
279
+ # the one-time ENROLLMENT token this host already carries for a short-lived,
280
+ # read-only, owner-scoped registry lease and materialize with it. The lease
281
+ # expires on its own; nothing long-lived is written.
282
+ #
283
+ # The token is read back OUT of the root-only token file rather than inlined
284
+ # here, so it appears exactly once in this script, and the request body goes
285
+ # over stdin (--data @-) so it never lands on curl's argv where ps would show
286
+ # it. A failure is not fatal: the verify gate below still records why the
287
+ # daemon is unusable.
288
+ registry_lease_status=0
289
+ registry_lease_body=$(printf '{"hostId":"%s","token":"%s"}' '${input.hostId}' "$(cat ${enrollTokenFile})" | curl -fsSL -X POST -H 'content-type: application/json' --data @- '${platformOrigin}/api/hosts/${input.hostId}/registry-lease' 2>/dev/null) || registry_lease_status=$?
290
+ registry_lease_token=""
291
+ if [ "\${registry_lease_status}" -eq 0 ]; then
292
+ registry_lease_token=$(printf '%s' "\${registry_lease_body}" | grep -o '"token":"[^"]*"' | head -n 1 | cut -d'"' -f4 || true)
293
+ fi
294
+ if [ -n "\${registry_lease_token}" ]; then
295
+ umask 077
296
+ cat > ${FLEET_REGISTRY_BUNFIG_FILE} <<'VIBES_FLEET_BUNFIG'
297
+ [install]
298
+ linker = "${FLEET_REGISTRY_LINKER}"
299
+ auto = "disable"
300
+
301
+ [install.scopes]
302
+ "${FLEET_REGISTRY_NPM_SCOPE}" = { url = "${registryUrl}", token = "$${FLEET_REGISTRY_TOKEN_ENV}" }
303
+ VIBES_FLEET_BUNFIG
304
+ chmod 0600 ${FLEET_REGISTRY_BUNFIG_FILE}
305
+ fleet_log "registry lease issued; materializing the plugin host"
306
+ materialize_status=0
307
+ ${FLEET_REGISTRY_TOKEN_ENV}="\${registry_lease_token}" ${FLEET_CLOUD_INIT_VIBES_BIN} update --global >>${FLEET_CLOUD_INIT_LOG_FILE} 2>&1 || materialize_status=$?
308
+ if [ "\${materialize_status}" -ne 0 ]; then
309
+ fleet_log "'update --global' exited \${materialize_status} with the lease; the verify step reports why"
310
+ fi
311
+ else
312
+ fleet_log "no registry lease (request exit \${registry_lease_status}); the host graph stays unmaterialized"
313
+ fi
314
+
315
+ cat > /etc/systemd/system/${serviceName}.service <<'VIBES_FLEET_UNIT'
316
+ [Unit]
317
+ Description=Vibes Fleet Daemon (${input.hostId})
318
+ After=network-online.target
319
+ Wants=network-online.target
320
+ StartLimitIntervalSec=0
321
+
322
+ [Service]
323
+ Type=simple
324
+ Environment="HOME=/root"
325
+ EnvironmentFile=${FLEET_DAEMON_ENV_FILE}
326
+ WorkingDirectory=${daemonRoot}
327
+ ExecStart=${execStart}
328
+ Restart=on-failure
329
+ RestartSec=10
330
+ StandardOutput=append:/root/.vibes/logs/${serviceName}.log
331
+ StandardError=append:/root/.vibes/logs/${serviceName}.err
332
+
333
+ [Install]
334
+ WantedBy=multi-user.target
335
+ VIBES_FLEET_UNIT
336
+
337
+ systemctl daemon-reload
338
+
339
+ # Verify the installed CLI can run the daemon BEFORE enabling the unit, from
340
+ # the daemon root the unit runs in (its config composes the command). The
341
+ # public installer exits 0 even when \`vibes update --global\` could not
342
+ # materialize the plugin host (a bare droplet has no @vibesdotdev registry
343
+ # credential); the thin shim then exits 78 on every command, and an enabled
344
+ # unit would crash-loop under Restart=on-failure forever while the platform
345
+ # waited for a first heartbeat that can never come.
346
+ rm -f ${FLEET_DAEMON_UNUSABLE_MARKER_FILE}
347
+ daemon_verify_status=0
348
+ daemon_verify_output=$(cd ${daemonRoot} && timeout 120 ${FLEET_DAEMON_VERIFY_COMMAND} 2>&1 >/dev/null) || daemon_verify_status=$?
349
+ if [ "\${daemon_verify_status}" -eq 0 ]; then
350
+ fleet_log "verified '${FLEET_DAEMON_VERIFY_COMMAND}' (exit 0); enabling ${serviceName}.service"
351
+ systemctl enable --now ${serviceName}.service
352
+ else
353
+ daemon_verify_reason="'${FLEET_DAEMON_VERIFY_COMMAND}' exited \${daemon_verify_status}"
354
+ if [ "\${installer_status}" -ne 0 ]; then
355
+ daemon_verify_reason="\${daemon_verify_reason} after installer exit \${installer_status}"
356
+ fi
357
+ daemon_verify_last_line=$(printf '%s\\n' "\${daemon_verify_output}" | grep -v '^[[:space:]]*$' | tail -n 1 || true)
358
+ if [ -n "\${daemon_verify_last_line}" ]; then
359
+ daemon_verify_reason="\${daemon_verify_reason}: \${daemon_verify_last_line}"
360
+ fi
361
+ umask 077
362
+ cat > ${FLEET_DAEMON_UNUSABLE_MARKER_FILE} <<VIBES_FLEET_UNUSABLE
363
+ status=unusable
364
+ reason=\${daemon_verify_reason}
365
+ checkedAt=$(date -u +%Y-%m-%dT%H:%M:%SZ)
366
+ unit=${serviceName}.service
367
+ remedy=run '${FLEET_CLOUD_INIT_VIBES_BIN} update --global' as root (it names the missing configuration), then 'systemctl enable --now ${serviceName}.service' and remove this file
368
+ VIBES_FLEET_UNUSABLE
369
+ fleet_log "daemon unusable: \${daemon_verify_reason}; ${serviceName}.service written but left DISABLED; see ${FLEET_DAEMON_UNUSABLE_MARKER_FILE}"
370
+ fi
371
+ `;
372
+ const configured = input.extraScript ? `${script}${input.extraScript}\n` : script;
373
+ return input.pmDaemon ? `${configured}${buildPmDaemonServiceScript()}` : configured;
374
+ }
375
+ //# sourceMappingURL=cloud-init.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloud-init.js","sourceRoot":"","sources":["../../../src/fleets/provision/cloud-init.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAClF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AAEH,uEAAuE;AACvE,gGAAgG;AAChG,4DAA4D;AAC5D,OAAO,EACN,4BAA4B,EAC5B,4BAA4B,EAC5B,wBAAwB,EACxB,yBAAyB,EACzB,2BAA2B,EAC3B,MAAM,yBAAyB,CAAC;AAEjC,mFAAmF;AACnF,+FAA+F;AAC/F,2DAA2D;AAC3D,OAAO,EACN,2BAA2B,EAC3B,yBAAyB,EACzB,iBAAiB,EACjB,yBAAyB,EACzB,2BAA2B,EAE3B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAErF,OAAO,EACN,uBAAuB,EACvB,6BAA6B,EAC7B,mBAAmB,EACnB,oBAAoB,EACpB,2BAA2B,EAC3B,MAAM,yBAAyB,CAAC;AAEjC,MAAM,CAAC,MAAM,yBAAyB,GAAG,oBAAoB,CAAC,KAAK,CAAC,eAAe,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AACrG,MAAM,CAAC,MAAM,qBAAqB,GAAG,6BAA6B,CAAC;AACnE;;;;;GAKG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,0BAA0B,CAAC;AACjE,kFAAkF;AAClF,MAAM,2BAA2B,GAAG,cAAc,CAAC;AACnD,gFAAgF;AAChF,MAAM,UAAU,6BAA6B,CAAC,MAAc;IAC3D,OAAO,GAAG,2BAA2B,UAAU,MAAM,eAAe,CAAC;AACtE,CAAC;AACD,mIAAmI;AACnI,MAAM,UAAU,wBAAwB,CAAC,MAAc;IACtD,OAAO,GAAG,2BAA2B,UAAU,mBAAmB,CAAC,MAAM,CAAC,EAAE,CAAC;AAC9E,CAAC;AACD,qFAAqF;AACrF,MAAM,CAAC,MAAM,0BAA0B,GAAG,wBAAwB,CAAC;AACnE;;;;;GAKG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,kCAAkC,CAAC;AACpF,mFAAmF;AACnF,MAAM,CAAC,MAAM,yBAAyB,GAAG,8CAA8C,CAAC;AACxF,oGAAoG;AACpG,MAAM,CAAC,MAAM,2BAA2B,GAAG,GAAG,0BAA0B,sBAAsB,CAAC;AAE/F;;;;GAIG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,sBAAsB,CAAC;AAEjE;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,cAAc,CAAC;AAEvD,sFAAsF;AACtF,MAAM,CAAC,MAAM,kBAAkB,GAAG,oBAAoB,CAAC,KAAK,CAAC,gBAAgB,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AAE/F,2EAA2E;AAC3E,MAAM,CAAC,MAAM,wBAAwB,GAAG,sBAAsB,CAAC;AAE/D,0CAA0C;AAC1C,MAAM,CAAC,MAAM,qBAAqB,GAAG,SAAS,CAAC;AAE/C,MAAM,eAAe,GAAG,2BAA2B,CAAC;AACpD,MAAM,oBAAoB,GAAG,yBAAyB,CAAC;AACvD,MAAM,aAAa,GAAG,sCAAsC,CAAC;AAE7D;;;;;GAKG;AACH,MAAM,UAAU,0BAA0B;IACzC,OAAO;;;;;;;;;;;;;;YAcI,0BAA0B;;;;;;;;;;;wCAWE,0BAA0B;;;;;;CAMjE,CAAC;AACF,CAAC;AAkCD,MAAM,UAAU,sBAAsB,CAAC,MAAc;IACpD,OAAO,sBAAsB,MAAM,EAAE,CAAC;AACvC,CAAC;AAED,SAAS,aAAa,CAAC,KAAa,EAAE,KAAa;IAClD,IAAI,MAAW,CAAC;IAChB,IAAI,CAAC;QACJ,MAAM,GAAG,IAAI,GAAG,CAAC,KAAK,CAAC,CAAC;IACzB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QAChB,MAAM,IAAI,KAAK,CAAC,GAAG,KAAK,8BAA8B,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;IAC3E,CAAC;IACD,IAAI,MAAM,CAAC,QAAQ,KAAK,QAAQ,IAAI,MAAM,CAAC,QAAQ,KAAK,OAAO,EAAE,CAAC;QACjE,MAAM,IAAI,KAAK,CAAC,GAAG,KAAK,0BAA0B,KAAK,EAAE,CAAC,CAAC;IAC5D,CAAC;IACD,IAAI,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QACzB,MAAM,IAAI,KAAK,CAAC,GAAG,KAAK,wCAAwC,CAAC,CAAC;IACnE,CAAC;IACD,OAAO,KAAK,CAAC;AACd,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,KAA0B;IAC7D,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC;QACzC,MAAM,IAAI,KAAK,CAAC,wDAAwD,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;IACzF,CAAC;IACD,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC;QACnD,MAAM,IAAI,KAAK,CAAC,uEAAuE,CAAC,CAAC;IAC1F,CAAC;IACD,MAAM,MAAM,GAAG,KAAK,CAAC,MAAM,IAAI,EAAE,CAAC;IAClC,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC5B,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YAChC,MAAM,IAAI,KAAK,CAAC,4CAA4C,KAAK,EAAE,CAAC,CAAC;QACtE,CAAC;IACF,CAAC;IACD,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,aAAa,CAAC,KAAK,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC,CAAC,MAAM,CAAC;IAC7F,MAAM,UAAU,GAAG,aAAa,CAAC,KAAK,CAAC,UAAU,IAAI,yBAAyB,EAAE,YAAY,CAAC,CAAC;IAC9F,MAAM,WAAW,GAAG,aAAa,CAAC,KAAK,CAAC,WAAW,IAAI,kBAAkB,EAAE,aAAa,CAAC,CAAC;IAE1F,MAAM,WAAW,GAAG,sBAAsB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACzD,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,aAAa,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IAC5E,+EAA+E;IAC/E,iFAAiF;IACjF,8EAA8E;IAC9E,gFAAgF;IAChF,MAAM,SAAS,GAAG,KAAK,CAAC,cAAc,KAAK,KAAK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;IAC5E,2EAA2E;IAC3E,yEAAyE;IACzE,4BAA4B;IAC5B,MAAM,IAAI,GAAG,oBAAoB,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;IACzD,MAAM,eAAe,GAAG,6BAA6B,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpE,MAAM,UAAU,GAAG,wBAAwB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1D,MAAM,SAAS,GACd,GAAG,0BAA0B,2BAA2B,KAAK,CAAC,MAAM,GAAG;QACvE,uBAAuB,eAAe,oBAAoB,cAAc,IAAI,SAAS,GAAG,UAAU,EAAE,CAAC;IAEtG,0EAA0E;IAC1E,6EAA6E;IAC7E,iEAAiE;IACjE,MAAM,MAAM,GAAG;;;;;;;;uFAQuE,yBAAyB;;;;cAIlG,UAAU;;;;;;QAMhB,qBAAqB;+BACE,cAAc;;aAEhC,qBAAqB;;;;qBAIb,2BAA2B;sBAC1B,eAAe;EACnC,KAAK,CAAC,WAAW;;;aAGN,eAAe;;;;;qBAKP,UAAU;QACvB,UAAU,IAAI,6BAA6B;EACjD,2BAA2B,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,uBAAuB,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE;;;;;;;;;;;;;;;+DAetB,KAAK,CAAC,MAAM,YAAY,eAAe,0EAA0E,cAAc,cAAc,KAAK,CAAC,MAAM;;;;;;;UAO9M,0BAA0B;;YAExB,qBAAqB;;;;GAI9B,wBAAwB,gBAAgB,WAAW,gBAAgB,wBAAwB;;eAE/E,0BAA0B;;;IAGrC,wBAAwB,+BAA+B,0BAA0B,sBAAsB,yBAAyB;;;;;;;;4BAQxG,WAAW;;kCAEL,KAAK,CAAC,MAAM;;;;;;;;kBAQ5B,qBAAqB;mBACpB,UAAU;YACjB,SAAS;;;0CAGqB,WAAW;yCACZ,WAAW;;;;;;;;;;;;;;;QAe5C,iCAAiC;;4BAEb,UAAU,mBAAmB,2BAA2B;;yBAE3D,2BAA2B,wBAAwB,WAAW;2BAC5D,WAAW;;2BAEX,2BAA2B;;;;;;;;;UAS5C,iCAAiC;;;;OAIpC,WAAW;cACJ,0BAA0B,gGAAgG,WAAW;;0DAEzF,WAAW,2CAA2C,iCAAiC;;CAEhJ,CAAC;IAED,MAAM,UAAU,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,MAAM,GAAG,KAAK,CAAC,WAAW,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;IAClF,OAAO,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,UAAU,GAAG,0BAA0B,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC;AACrF,CAAC"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * The fleet daemon's declared host config (rc04 §2.1, C7).
3
+ *
4
+ * An installed fleet daemon (launchd, systemd or Windows) resolves its
5
+ * connection bearer and its enrollment and host tokens through
6
+ * `runtime.resolveCredential`, which refuses `tier-undeclared` on a host with
7
+ * no environment tier. The tier is never defaulted: whoever installs or
8
+ * provisions the daemon declares it, and it reaches the daemon as composition
9
+ * config, `config['runtime.host'].environmentTier`, in a `vibes.config.json`
10
+ * at the root the daemon's service binds (`--workspace-root` for a local
11
+ * install, the unit's working directory for a provisioned host).
12
+ *
13
+ * Pure (workerd-safe): the CLI installer and the cloud-init template both
14
+ * render the same file from here.
15
+ */
16
+ import { EnvironmentTierSchema } from '@vibesdotdev/kernel/schemas/scope';
17
+ import type * as z from 'zod/v4';
18
+ /** The tiers a daemon host may declare (the kernel's `EnvironmentTierSchema`). */
19
+ export declare const FLEET_DAEMON_TIERS: ("local" | "dev" | "staging" | "production")[];
20
+ export type FleetDaemonTier = z.infer<typeof EnvironmentTierSchema>;
21
+ /** The root config file the daemon's bound root carries. */
22
+ export declare const FLEET_DAEMON_HOST_CONFIG_FILE = "vibes.config.json";
23
+ /** The daemon root's directory name under `<vibesHome>/hosts`. */
24
+ export declare function fleetDaemonRootName(hostId: string): string;
25
+ /** Admit a declared tier; anything else (including none) is refused, never defaulted. */
26
+ export declare function parseFleetDaemonTier(value: string | undefined): FleetDaemonTier;
27
+ /**
28
+ * The fleet CLI plugin: the daemon root of a provisioned host declares it, so
29
+ * `vibes fleet daemon` composes from that root whatever the installer's
30
+ * global CLI composes (rc04 §2.1; consumer-local plugin selection).
31
+ */
32
+ export declare const FLEET_DAEMON_CLI_PLUGIN = "@vibesdotdev/platform/fleets/cli/plugin";
33
+ export interface FleetDaemonHostConfigOptions {
34
+ /** Workspace plugins the daemon root declares; omitted when empty. */
35
+ readonly plugins?: readonly string[];
36
+ }
37
+ /** The daemon root's `vibes.config.json`: the host's declared tier, plus any plugins its daemon command needs. */
38
+ export declare function renderFleetDaemonHostConfig(tier: FleetDaemonTier, options?: FleetDaemonHostConfigOptions): string;
39
+ //# sourceMappingURL=daemon-host-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"daemon-host-config.d.ts","sourceRoot":"","sources":["../../../src/fleets/provision/daemon-host-config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,KAAK,KAAK,CAAC,MAAM,QAAQ,CAAC;AAEjC,kFAAkF;AAClF,eAAO,MAAM,kBAAkB,gDAAgC,CAAC;AAChE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,4DAA4D;AAC5D,eAAO,MAAM,6BAA6B,sBAAsB,CAAC;AAEjE,kEAAkE;AAClE,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAE1D;AAED,yFAAyF;AACzF,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,eAAe,CAQ/E;AAED;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,4CAA4C,CAAC;AAEjF,MAAM,WAAW,4BAA4B;IAC5C,sEAAsE;IACtE,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACrC;AAED,kHAAkH;AAClH,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,eAAe,EAAE,OAAO,GAAE,4BAAiC,GAAG,MAAM,CAIrH"}
@@ -0,0 +1,44 @@
1
+ /**
2
+ * The fleet daemon's declared host config (rc04 §2.1, C7).
3
+ *
4
+ * An installed fleet daemon (launchd, systemd or Windows) resolves its
5
+ * connection bearer and its enrollment and host tokens through
6
+ * `runtime.resolveCredential`, which refuses `tier-undeclared` on a host with
7
+ * no environment tier. The tier is never defaulted: whoever installs or
8
+ * provisions the daemon declares it, and it reaches the daemon as composition
9
+ * config, `config['runtime.host'].environmentTier`, in a `vibes.config.json`
10
+ * at the root the daemon's service binds (`--workspace-root` for a local
11
+ * install, the unit's working directory for a provisioned host).
12
+ *
13
+ * Pure (workerd-safe): the CLI installer and the cloud-init template both
14
+ * render the same file from here.
15
+ */
16
+ import { EnvironmentTierSchema } from '@vibesdotdev/kernel/schemas/scope';
17
+ /** The tiers a daemon host may declare (the kernel's `EnvironmentTierSchema`). */
18
+ export const FLEET_DAEMON_TIERS = EnvironmentTierSchema.options;
19
+ /** The root config file the daemon's bound root carries. */
20
+ export const FLEET_DAEMON_HOST_CONFIG_FILE = 'vibes.config.json';
21
+ /** The daemon root's directory name under `<vibesHome>/hosts`. */
22
+ export function fleetDaemonRootName(hostId) {
23
+ return `${hostId}.daemon-root`;
24
+ }
25
+ /** Admit a declared tier; anything else (including none) is refused, never defaulted. */
26
+ export function parseFleetDaemonTier(value) {
27
+ const parsed = EnvironmentTierSchema.safeParse(value);
28
+ if (parsed.success)
29
+ return parsed.data;
30
+ throw new Error(`The fleet daemon's environment tier must be declared as one of ${FLEET_DAEMON_TIERS.join(', ')}; got ${value === undefined ? 'none' : JSON.stringify(value)}.`);
31
+ }
32
+ /**
33
+ * The fleet CLI plugin: the daemon root of a provisioned host declares it, so
34
+ * `vibes fleet daemon` composes from that root whatever the installer's
35
+ * global CLI composes (rc04 §2.1; consumer-local plugin selection).
36
+ */
37
+ export const FLEET_DAEMON_CLI_PLUGIN = '@vibesdotdev/platform/fleets/cli/plugin';
38
+ /** The daemon root's `vibes.config.json`: the host's declared tier, plus any plugins its daemon command needs. */
39
+ export function renderFleetDaemonHostConfig(tier, options = {}) {
40
+ const plugins = options.plugins ?? [];
41
+ const config = { config: { 'runtime.host': { environmentTier: parseFleetDaemonTier(tier) } } };
42
+ return `${JSON.stringify(plugins.length > 0 ? { plugins: [...plugins], ...config } : config, null, '\t')}\n`;
43
+ }
44
+ //# sourceMappingURL=daemon-host-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"daemon-host-config.js","sourceRoot":"","sources":["../../../src/fleets/provision/daemon-host-config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAG1E,kFAAkF;AAClF,MAAM,CAAC,MAAM,kBAAkB,GAAG,qBAAqB,CAAC,OAAO,CAAC;AAGhE,4DAA4D;AAC5D,MAAM,CAAC,MAAM,6BAA6B,GAAG,mBAAmB,CAAC;AAEjE,kEAAkE;AAClE,MAAM,UAAU,mBAAmB,CAAC,MAAc;IACjD,OAAO,GAAG,MAAM,cAAc,CAAC;AAChC,CAAC;AAED,yFAAyF;AACzF,MAAM,UAAU,oBAAoB,CAAC,KAAyB;IAC7D,MAAM,MAAM,GAAG,qBAAqB,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IACtD,IAAI,MAAM,CAAC,OAAO;QAAE,OAAO,MAAM,CAAC,IAAI,CAAC;IACvC,MAAM,IAAI,KAAK,CACd,kEAAkE,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,SAC9F,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CACpD,GAAG,CACH,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,yCAAyC,CAAC;AAOjF,kHAAkH;AAClH,MAAM,UAAU,2BAA2B,CAAC,IAAqB,EAAE,UAAwC,EAAE;IAC5G,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,EAAE,CAAC;IACtC,MAAM,MAAM,GAAG,EAAE,MAAM,EAAE,EAAE,cAAc,EAAE,EAAE,eAAe,EAAE,oBAAoB,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC;IAC/F,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;AAC9G,CAAC"}
@@ -0,0 +1,55 @@
1
+ /**
2
+ * Desktop-host provisioning for fleet hosts (D3 desktop recipe).
3
+ *
4
+ * A freshly provisioned fleet droplet ships only the compiled `vibes` daemon; the
5
+ * `desktop` tool drives a `vibes-desktop-base` Docker container (the FastAPI driver
6
+ * on :8765 — see `docker-desktop-base/`). A bare host can't run it. This module
7
+ * renders the idempotent bash that:
8
+ * 1. installs Docker Engine (get.docker.com convenience script) + enables dockerd,
9
+ * 2. makes `vibes-desktop-base:latest` available — either by PULLING a published
10
+ * `imageRef` (retagged local), or by BUILDING it from a sparse git checkout of
11
+ * `docker-desktop-base/` in the Framework Forge destination (default).
12
+ *
13
+ * The script is a caller-supplied `extraScript` for {@link buildFleetCloudInit} — it
14
+ * is appended AFTER daemon enrollment is wired, inside the same `#!/bin/bash` +
15
+ * `set -euo pipefail` cloud-init shell. Because the same string can flow through
16
+ * platform-web's `handleHostProvision` (workerd), this is a PURE string builder:
17
+ * NO Node/Bun APIs, no filesystem, no secrets.
18
+ *
19
+ * Idempotency: guards every install (`command -v docker`, an image-presence check),
20
+ * so re-running cloud-init is a no-op. Composable with
21
+ * {@link buildBuildRunnerSetupScript}: a desktop host that also builds needs git+bun
22
+ * (the source-build path here reuses git, which the build-runner script installs).
23
+ */
24
+ /** The Forge destination the desktop image is built from when no `imageRef` is given. */
25
+ export declare const DEFAULT_DESKTOP_SOURCE_REPO = "ssh://git@git.vibes.dev/vibesdotdev/framework.git";
26
+ /** The git ref (branch/tag/sha) the desktop image is built from when none is given. */
27
+ export declare const DEFAULT_DESKTOP_SOURCE_REF = "cutover";
28
+ /** The subtree that holds the `vibes-desktop-base` Dockerfile + driver source. */
29
+ export declare const DESKTOP_IMAGE_CONTEXT_DIR = "docker-desktop-base";
30
+ /** The image tag the `desktop` tool resolves by default (desktop constants). */
31
+ export declare const DESKTOP_IMAGE_TAG = "vibes-desktop-base:latest";
32
+ /** Stable marker comment — lets callers/tests detect the block in a rendered cloud-init. */
33
+ export declare const DESKTOP_HOST_SETUP_MARKER = "vibes fleet desktop host (docker + vibes-desktop-base)";
34
+ export interface DesktopHostSetupOptions {
35
+ /**
36
+ * When set, PULL this published image and retag it `vibes-desktop-base:latest`
37
+ * instead of building from source. Must be a shell-safe registry ref.
38
+ */
39
+ imageRef?: string;
40
+ /**
41
+ * Git repo to sparse-checkout `docker-desktop-base/` from for the source build.
42
+ * Defaults to {@link DEFAULT_DESKTOP_SOURCE_REPO}. Ignored when `imageRef` is set.
43
+ */
44
+ sourceRepo?: string;
45
+ /** Git ref (branch/tag/sha) to check out for the source build. Defaults to `main`. */
46
+ sourceRef?: string;
47
+ }
48
+ /**
49
+ * Returns the idempotent bash that installs Docker + makes `vibes-desktop-base:latest`
50
+ * available on a fleet host. A GPU desktop also takes {@link buildGpuHostSetupScript}
51
+ * (rendered first) for `--gpus all`. Intended as the `extraScript`
52
+ * for {@link buildFleetCloudInit}. Pure string builder (workerd-safe).
53
+ */
54
+ export declare function buildDesktopHostSetupScript(options?: DesktopHostSetupOptions): string;
55
+ //# sourceMappingURL=desktop-host-setup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"desktop-host-setup.d.ts","sourceRoot":"","sources":["../../../src/fleets/provision/desktop-host-setup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAMH,yFAAyF;AACzF,eAAO,MAAM,2BAA2B,sDAAsD,CAAC;AAC/F,uFAAuF;AACvF,eAAO,MAAM,0BAA0B,YAAY,CAAC;AACpD,kFAAkF;AAClF,eAAO,MAAM,yBAAyB,wBAAwB,CAAC;AAC/D,gFAAgF;AAChF,eAAO,MAAM,iBAAiB,8BAA8B,CAAC;AAC7D,4FAA4F;AAC5F,eAAO,MAAM,yBAAyB,2DAA2D,CAAC;AAElG,MAAM,WAAW,uBAAuB;IACvC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,sFAAsF;IACtF,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AASD;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,OAAO,GAAE,uBAA4B,GAAG,MAAM,CA6CzF"}
@@ -0,0 +1,91 @@
1
+ /**
2
+ * Desktop-host provisioning for fleet hosts (D3 desktop recipe).
3
+ *
4
+ * A freshly provisioned fleet droplet ships only the compiled `vibes` daemon; the
5
+ * `desktop` tool drives a `vibes-desktop-base` Docker container (the FastAPI driver
6
+ * on :8765 — see `docker-desktop-base/`). A bare host can't run it. This module
7
+ * renders the idempotent bash that:
8
+ * 1. installs Docker Engine (get.docker.com convenience script) + enables dockerd,
9
+ * 2. makes `vibes-desktop-base:latest` available — either by PULLING a published
10
+ * `imageRef` (retagged local), or by BUILDING it from a sparse git checkout of
11
+ * `docker-desktop-base/` in the Framework Forge destination (default).
12
+ *
13
+ * The script is a caller-supplied `extraScript` for {@link buildFleetCloudInit} — it
14
+ * is appended AFTER daemon enrollment is wired, inside the same `#!/bin/bash` +
15
+ * `set -euo pipefail` cloud-init shell. Because the same string can flow through
16
+ * platform-web's `handleHostProvision` (workerd), this is a PURE string builder:
17
+ * NO Node/Bun APIs, no filesystem, no secrets.
18
+ *
19
+ * Idempotency: guards every install (`command -v docker`, an image-presence check),
20
+ * so re-running cloud-init is a no-op. Composable with
21
+ * {@link buildBuildRunnerSetupScript}: a desktop host that also builds needs git+bun
22
+ * (the source-build path here reuses git, which the build-runner script installs).
23
+ */
24
+ // A docker image ref / git URL / git ref embedded in the boot script MUST NOT carry
25
+ // quotes, whitespace, or shell metacharacters — it is interpolated into bash.
26
+ const SHELL_SAFE_TOKEN = /^[A-Za-z0-9._:/@+-]{1,255}$/;
27
+ /** The Forge destination the desktop image is built from when no `imageRef` is given. */
28
+ export const DEFAULT_DESKTOP_SOURCE_REPO = 'ssh://git@git.vibes.dev/vibesdotdev/framework.git';
29
+ /** The git ref (branch/tag/sha) the desktop image is built from when none is given. */
30
+ export const DEFAULT_DESKTOP_SOURCE_REF = 'cutover';
31
+ /** The subtree that holds the `vibes-desktop-base` Dockerfile + driver source. */
32
+ export const DESKTOP_IMAGE_CONTEXT_DIR = 'docker-desktop-base';
33
+ /** The image tag the `desktop` tool resolves by default (desktop constants). */
34
+ export const DESKTOP_IMAGE_TAG = 'vibes-desktop-base:latest';
35
+ /** Stable marker comment — lets callers/tests detect the block in a rendered cloud-init. */
36
+ export const DESKTOP_HOST_SETUP_MARKER = 'vibes fleet desktop host (docker + vibes-desktop-base)';
37
+ function assertShellSafe(value, field) {
38
+ if (!SHELL_SAFE_TOKEN.test(value)) {
39
+ throw new Error(`${field} must be a shell-safe token (no quotes/whitespace/metacharacters): ${value}`);
40
+ }
41
+ return value;
42
+ }
43
+ /**
44
+ * Returns the idempotent bash that installs Docker + makes `vibes-desktop-base:latest`
45
+ * available on a fleet host. A GPU desktop also takes {@link buildGpuHostSetupScript}
46
+ * (rendered first) for `--gpus all`. Intended as the `extraScript`
47
+ * for {@link buildFleetCloudInit}. Pure string builder (workerd-safe).
48
+ */
49
+ export function buildDesktopHostSetupScript(options = {}) {
50
+ const imageRef = options.imageRef ? assertShellSafe(options.imageRef, 'imageRef') : undefined;
51
+ const sourceRepo = assertShellSafe(options.sourceRepo ?? DEFAULT_DESKTOP_SOURCE_REPO, 'sourceRepo');
52
+ const sourceRef = assertShellSafe(options.sourceRef ?? DEFAULT_DESKTOP_SOURCE_REF, 'sourceRef');
53
+ const imageBlock = imageRef
54
+ ? `
55
+ # Pull the published desktop image and retag to the tool's default tag.
56
+ if [ -z "$(docker images -q ${DESKTOP_IMAGE_TAG} 2>/dev/null)" ]; then
57
+ docker pull ${imageRef}
58
+ docker tag ${imageRef} ${DESKTOP_IMAGE_TAG}
59
+ fi
60
+ `
61
+ : `
62
+ # Build vibes-desktop-base from Framework's ${DESKTOP_IMAGE_CONTEXT_DIR}/ (sparse
63
+ # checkout keeps the download tiny). Requires git (the build-runner setup installs it;
64
+ # apt-installed here too so a desktop-only host still builds).
65
+ if [ -z "$(docker images -q ${DESKTOP_IMAGE_TAG} 2>/dev/null)" ]; then
66
+ command -v git >/dev/null 2>&1 || { apt-get update && apt-get install -y git; }
67
+ rm -rf /root/.vibes/desktop-image-src
68
+ git clone --filter=blob:none --no-checkout --depth 1 --branch ${sourceRef} ${sourceRepo} /root/.vibes/desktop-image-src
69
+ git -C /root/.vibes/desktop-image-src sparse-checkout set --no-cone ${DESKTOP_IMAGE_CONTEXT_DIR}
70
+ git -C /root/.vibes/desktop-image-src checkout
71
+ docker build -t ${DESKTOP_IMAGE_TAG} /root/.vibes/desktop-image-src/${DESKTOP_IMAGE_CONTEXT_DIR}
72
+ fi
73
+ `;
74
+ return (`
75
+ # === ${DESKTOP_HOST_SETUP_MARKER} — desktop tool hosts ===
76
+ # Idempotent: guards reinstall + image build so a re-run of cloud-init is a no-op.
77
+ set -euo pipefail
78
+ export HOME=/root
79
+ export DEBIAN_FRONTEND=noninteractive
80
+
81
+ if ! command -v docker >/dev/null 2>&1; then
82
+ curl -fsSL https://get.docker.com | sh
83
+ fi
84
+ systemctl enable --now docker
85
+ ${imageBlock}
86
+ # Fail loudly if the image is still missing — a desktop host with no image can't
87
+ # start the tool.
88
+ docker image inspect ${DESKTOP_IMAGE_TAG} >/dev/null 2>&1 || { echo 'desktop-host: ${DESKTOP_IMAGE_TAG} missing after setup' >&2; exit 1; }
89
+ `.trimStart());
90
+ }
91
+ //# sourceMappingURL=desktop-host-setup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"desktop-host-setup.js","sourceRoot":"","sources":["../../../src/fleets/provision/desktop-host-setup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,oFAAoF;AACpF,8EAA8E;AAC9E,MAAM,gBAAgB,GAAG,6BAA6B,CAAC;AAEvD,yFAAyF;AACzF,MAAM,CAAC,MAAM,2BAA2B,GAAG,mDAAmD,CAAC;AAC/F,uFAAuF;AACvF,MAAM,CAAC,MAAM,0BAA0B,GAAG,SAAS,CAAC;AACpD,kFAAkF;AAClF,MAAM,CAAC,MAAM,yBAAyB,GAAG,qBAAqB,CAAC;AAC/D,gFAAgF;AAChF,MAAM,CAAC,MAAM,iBAAiB,GAAG,2BAA2B,CAAC;AAC7D,4FAA4F;AAC5F,MAAM,CAAC,MAAM,yBAAyB,GAAG,wDAAwD,CAAC;AAiBlG,SAAS,eAAe,CAAC,KAAa,EAAE,KAAa;IACpD,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QACnC,MAAM,IAAI,KAAK,CAAC,GAAG,KAAK,sEAAsE,KAAK,EAAE,CAAC,CAAC;IACxG,CAAC;IACD,OAAO,KAAK,CAAC;AACd,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,2BAA2B,CAAC,UAAmC,EAAE;IAChF,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC,OAAO,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAC9F,MAAM,UAAU,GAAG,eAAe,CAAC,OAAO,CAAC,UAAU,IAAI,2BAA2B,EAAE,YAAY,CAAC,CAAC;IACpG,MAAM,SAAS,GAAG,eAAe,CAAC,OAAO,CAAC,SAAS,IAAI,0BAA0B,EAAE,WAAW,CAAC,CAAC;IAEhG,MAAM,UAAU,GAAG,QAAQ;QAC1B,CAAC,CAAC;;8BAE0B,iBAAiB;gBAC/B,QAAQ;eACT,QAAQ,IAAI,iBAAiB;;CAE3C;QACC,CAAC,CAAC;8CAC0C,yBAAyB;;;8BAGzC,iBAAiB;;;kEAGmB,SAAS,IAAI,UAAU;wEACjB,yBAAyB;;oBAE7E,iBAAiB,mCAAmC,yBAAyB;;CAEhG,CAAC;IAED,OAAO,CACN;QACM,yBAAyB;;;;;;;;;;EAU/B,UAAU;;;uBAGW,iBAAiB,6CAA6C,iBAAiB;CACrG,CAAC,SAAS,EAAE,CACX,CAAC;AACH,CAAC"}