@wildo-ai/wildo-cli 1.1.13 → 1.1.15

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 (589) hide show
  1. package/dist/src/commands/build/approve.command.d.ts +4 -0
  2. package/dist/src/commands/build/approve.command.d.ts.map +1 -1
  3. package/dist/src/commands/build/approve.command.js +14 -3
  4. package/dist/src/commands/build/approve.command.js.map +1 -1
  5. package/dist/src/commands/build/close.command.d.ts +4 -0
  6. package/dist/src/commands/build/close.command.d.ts.map +1 -1
  7. package/dist/src/commands/build/close.command.js +17 -3
  8. package/dist/src/commands/build/close.command.js.map +1 -1
  9. package/dist/src/commands/config/sync.command.d.ts.map +1 -1
  10. package/dist/src/commands/config/sync.command.js +21 -1
  11. package/dist/src/commands/config/sync.command.js.map +1 -1
  12. package/dist/src/commands/creation/feed.command.d.ts.map +1 -1
  13. package/dist/src/commands/creation/feed.command.js +6 -3
  14. package/dist/src/commands/creation/feed.command.js.map +1 -1
  15. package/dist/src/commands/fwk/publish-all.command.d.ts +13 -0
  16. package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
  17. package/dist/src/commands/fwk/publish-all.command.js +57 -3
  18. package/dist/src/commands/fwk/publish-all.command.js.map +1 -1
  19. package/dist/src/commands/fwk/publish-docker.command.d.ts.map +1 -1
  20. package/dist/src/commands/fwk/publish-docker.command.js +16 -1
  21. package/dist/src/commands/fwk/publish-docker.command.js.map +1 -1
  22. package/dist/src/commands/fwk/registry-host.command.d.ts +19 -1
  23. package/dist/src/commands/fwk/registry-host.command.d.ts.map +1 -1
  24. package/dist/src/commands/fwk/registry-host.command.js +78 -3
  25. package/dist/src/commands/fwk/registry-host.command.js.map +1 -1
  26. package/dist/src/commands/generate/email-command.utils.d.ts +2 -0
  27. package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -1
  28. package/dist/src/commands/generate/email-command.utils.js +5 -0
  29. package/dist/src/commands/generate/email-command.utils.js.map +1 -1
  30. package/dist/src/commands/init.command.d.ts +14 -0
  31. package/dist/src/commands/init.command.d.ts.map +1 -1
  32. package/dist/src/commands/init.command.js +36 -5
  33. package/dist/src/commands/init.command.js.map +1 -1
  34. package/dist/src/commands/local/deregister.command.d.ts.map +1 -1
  35. package/dist/src/commands/local/deregister.command.js +4 -0
  36. package/dist/src/commands/local/deregister.command.js.map +1 -1
  37. package/dist/src/commands/local/dev.command.d.ts +6 -0
  38. package/dist/src/commands/local/dev.command.d.ts.map +1 -1
  39. package/dist/src/commands/local/dev.command.js +72 -0
  40. package/dist/src/commands/local/dev.command.js.map +1 -1
  41. package/dist/src/commands/local/jobs-command.utils.d.ts +24 -0
  42. package/dist/src/commands/local/jobs-command.utils.d.ts.map +1 -0
  43. package/dist/src/commands/local/jobs-command.utils.js +44 -0
  44. package/dist/src/commands/local/jobs-command.utils.js.map +1 -0
  45. package/dist/src/commands/local/jobs-run.command.d.ts +7 -0
  46. package/dist/src/commands/local/jobs-run.command.d.ts.map +1 -0
  47. package/dist/src/commands/local/jobs-run.command.js +92 -0
  48. package/dist/src/commands/local/jobs-run.command.js.map +1 -0
  49. package/dist/src/commands/local/jobs.command.d.ts +7 -0
  50. package/dist/src/commands/local/jobs.command.d.ts.map +1 -0
  51. package/dist/src/commands/local/jobs.command.js +59 -0
  52. package/dist/src/commands/local/jobs.command.js.map +1 -0
  53. package/dist/src/commands/local/tunnel.command.d.ts +84 -0
  54. package/dist/src/commands/local/tunnel.command.d.ts.map +1 -0
  55. package/dist/src/commands/local/tunnel.command.js +274 -0
  56. package/dist/src/commands/local/tunnel.command.js.map +1 -0
  57. package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
  58. package/dist/src/commands/registry/repair-lockfile.command.js +1 -0
  59. package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -1
  60. package/dist/src/commands/registry/update.command.d.ts.map +1 -1
  61. package/dist/src/commands/registry/update.command.js +1 -0
  62. package/dist/src/commands/registry/update.command.js.map +1 -1
  63. package/dist/src/commands/seal/verify.command.d.ts +18 -0
  64. package/dist/src/commands/seal/verify.command.d.ts.map +1 -1
  65. package/dist/src/commands/seal/verify.command.js +62 -1
  66. package/dist/src/commands/seal/verify.command.js.map +1 -1
  67. package/dist/src/services/application/app-bootstrap.service.d.ts +41 -1
  68. package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
  69. package/dist/src/services/application/app-bootstrap.service.js +49 -3
  70. package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
  71. package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -1
  72. package/dist/src/services/application/app-runtime-targets.service.js +9 -1
  73. package/dist/src/services/application/app-runtime-targets.service.js.map +1 -1
  74. package/dist/src/services/application/application-dependency-alignment.service.d.ts +20 -0
  75. package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
  76. package/dist/src/services/application/application-dependency-alignment.service.js +32 -2
  77. package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
  78. package/dist/src/services/application/local-tunnel.service.d.ts +153 -0
  79. package/dist/src/services/application/local-tunnel.service.d.ts.map +1 -0
  80. package/dist/src/services/application/local-tunnel.service.js +294 -0
  81. package/dist/src/services/application/local-tunnel.service.js.map +1 -0
  82. package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
  83. package/dist/src/services/application/provider-runtime-sync.service.js +29 -1
  84. package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
  85. package/dist/src/services/application/saas-skeleton.service.d.ts +7 -0
  86. package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
  87. package/dist/src/services/application/saas-skeleton.service.js +26 -2
  88. package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
  89. package/dist/src/services/catalog/service-address-resolver.service.d.ts +7 -1
  90. package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
  91. package/dist/src/services/catalog/service-address-resolver.service.js +6 -3
  92. package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
  93. package/dist/src/services/companion/build-console.service.d.ts +39 -2
  94. package/dist/src/services/companion/build-console.service.d.ts.map +1 -1
  95. package/dist/src/services/companion/build-console.service.js +54 -4
  96. package/dist/src/services/companion/build-console.service.js.map +1 -1
  97. package/dist/src/services/companion/creation-console.service.d.ts +6 -1
  98. package/dist/src/services/companion/creation-console.service.d.ts.map +1 -1
  99. package/dist/src/services/companion/creation-console.service.js +14 -2
  100. package/dist/src/services/companion/creation-console.service.js.map +1 -1
  101. package/dist/src/services/companion/creation-drive.service.d.ts.map +1 -1
  102. package/dist/src/services/companion/creation-drive.service.js +5 -2
  103. package/dist/src/services/companion/creation-drive.service.js.map +1 -1
  104. package/dist/src/services/credentials/application-secrets.service.d.ts +6 -0
  105. package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -1
  106. package/dist/src/services/credentials/application-secrets.service.js +1 -1
  107. package/dist/src/services/credentials/application-secrets.service.js.map +1 -1
  108. package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
  109. package/dist/src/services/credentials/composed-provider-catalogue.js +14 -2
  110. package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
  111. package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
  112. package/dist/src/services/credentials/provider-env-vars.utils.js +3 -1
  113. package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
  114. package/dist/src/services/credentials/secret-requirements.service.d.ts +2 -1
  115. package/dist/src/services/credentials/secret-requirements.service.d.ts.map +1 -1
  116. package/dist/src/services/credentials/secret-requirements.service.js +17 -1
  117. package/dist/src/services/credentials/secret-requirements.service.js.map +1 -1
  118. package/dist/src/services/credentials/secrets-writer.service.d.ts +11 -2
  119. package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -1
  120. package/dist/src/services/credentials/secrets-writer.service.js +12 -3
  121. package/dist/src/services/credentials/secrets-writer.service.js.map +1 -1
  122. package/dist/src/services/deployment/application-runtime-environment.d.ts.map +1 -1
  123. package/dist/src/services/deployment/application-runtime-environment.js +3 -13
  124. package/dist/src/services/deployment/application-runtime-environment.js.map +1 -1
  125. package/dist/src/services/deployment/ci-deploy-generator.service.d.ts.map +1 -1
  126. package/dist/src/services/deployment/ci-deploy-generator.service.js +3 -3
  127. package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -1
  128. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +3 -3
  129. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
  130. package/dist/src/services/deployment/docker/docker-compose-generator.service.js +24 -14
  131. package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
  132. package/dist/src/services/deployment/framework-pod-network-membership.d.ts +6 -0
  133. package/dist/src/services/deployment/framework-pod-network-membership.d.ts.map +1 -1
  134. package/dist/src/services/deployment/framework-pod-network-membership.js +12 -3
  135. package/dist/src/services/deployment/framework-pod-network-membership.js.map +1 -1
  136. package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts +1 -1
  137. package/dist/src/services/deployment/host-toolchain-readiness.service.js +1 -1
  138. package/dist/src/services/deployment/host-toolchain-readiness.service.js.map +1 -1
  139. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +4 -1
  140. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
  141. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +20 -8
  142. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
  143. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +7 -0
  144. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
  145. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
  146. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
  147. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +15 -9
  148. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
  149. package/dist/src/services/deployment/k8s/kind-pod-host-gateway.d.ts +43 -0
  150. package/dist/src/services/deployment/k8s/kind-pod-host-gateway.d.ts.map +1 -0
  151. package/dist/src/services/deployment/k8s/kind-pod-host-gateway.js +12 -0
  152. package/dist/src/services/deployment/k8s/kind-pod-host-gateway.js.map +1 -0
  153. package/dist/src/services/deployment/k8s/off-cluster-backing-services.d.ts +3 -1
  154. package/dist/src/services/deployment/k8s/off-cluster-backing-services.d.ts.map +1 -1
  155. package/dist/src/services/deployment/k8s/off-cluster-backing-services.js.map +1 -1
  156. package/dist/src/services/deployment/local-dev-late-workspace-members.service.d.ts +124 -0
  157. package/dist/src/services/deployment/local-dev-late-workspace-members.service.d.ts.map +1 -0
  158. package/dist/src/services/deployment/local-dev-late-workspace-members.service.js +249 -0
  159. package/dist/src/services/deployment/local-dev-late-workspace-members.service.js.map +1 -0
  160. package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
  161. package/dist/src/services/deployment/local-precondition-checks.service.js +4 -2
  162. package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
  163. package/dist/src/services/environment/authored-infra-config.utils.d.ts +9 -0
  164. package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
  165. package/dist/src/services/environment/authored-infra-config.utils.js +20 -1
  166. package/dist/src/services/environment/authored-infra-config.utils.js.map +1 -1
  167. package/dist/src/services/environment/container-host-gateway-listen-host.d.ts +6 -0
  168. package/dist/src/services/environment/container-host-gateway-listen-host.d.ts.map +1 -1
  169. package/dist/src/services/environment/container-host-gateway-listen-host.js +6 -0
  170. package/dist/src/services/environment/container-host-gateway-listen-host.js.map +1 -1
  171. package/dist/src/services/environment/env-configuration-generator.service.d.ts +12 -0
  172. package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
  173. package/dist/src/services/environment/env-configuration-generator.service.js +45 -8
  174. package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
  175. package/dist/src/services/environment/env-vars-builder.service.d.ts +2 -1
  176. package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
  177. package/dist/src/services/environment/env-vars-builder.service.js +47 -32
  178. package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
  179. package/dist/src/services/environment/environment-lifecycle.service.d.ts +7 -4
  180. package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
  181. package/dist/src/services/environment/environment-lifecycle.service.js +14 -18
  182. package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
  183. package/dist/src/services/environment/environment-service-profile.utils.d.ts +8 -1
  184. package/dist/src/services/environment/environment-service-profile.utils.d.ts.map +1 -1
  185. package/dist/src/services/environment/environment-service-profile.utils.js +14 -1
  186. package/dist/src/services/environment/environment-service-profile.utils.js.map +1 -1
  187. package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
  188. package/dist/src/services/environment/environment-setup.service.js +17 -6
  189. package/dist/src/services/environment/environment-setup.service.js.map +1 -1
  190. package/dist/src/services/environment/environment.service.d.ts +4 -3
  191. package/dist/src/services/environment/environment.service.d.ts.map +1 -1
  192. package/dist/src/services/environment/environment.service.js +0 -1
  193. package/dist/src/services/environment/environment.service.js.map +1 -1
  194. package/dist/src/services/framework/framework-docker-publish.service.d.ts +129 -0
  195. package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
  196. package/dist/src/services/framework/framework-docker-publish.service.js +271 -19
  197. package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -1
  198. package/dist/src/services/framework/github-actions-annotation.d.ts +19 -0
  199. package/dist/src/services/framework/github-actions-annotation.d.ts.map +1 -0
  200. package/dist/src/services/framework/github-actions-annotation.js +25 -0
  201. package/dist/src/services/framework/github-actions-annotation.js.map +1 -0
  202. package/dist/src/services/framework/registry-host/registry-host-upgrade.d.ts +43 -0
  203. package/dist/src/services/framework/registry-host/registry-host-upgrade.d.ts.map +1 -0
  204. package/dist/src/services/framework/registry-host/registry-host-upgrade.js +117 -0
  205. package/dist/src/services/framework/registry-host/registry-host-upgrade.js.map +1 -0
  206. package/dist/src/services/framework/registry-host/registry-host.service.d.ts +1 -1
  207. package/dist/src/services/framework/registry-host/registry-host.service.d.ts.map +1 -1
  208. package/dist/src/services/framework/registry-host/registry-host.service.js +2 -0
  209. package/dist/src/services/framework/registry-host/registry-host.service.js.map +1 -1
  210. package/dist/src/services/registry/installed-file-state.utils.d.ts +8 -0
  211. package/dist/src/services/registry/installed-file-state.utils.d.ts.map +1 -1
  212. package/dist/src/services/registry/installed-file-state.utils.js +9 -1
  213. package/dist/src/services/registry/installed-file-state.utils.js.map +1 -1
  214. package/dist/src/services/registry/module-install.service.d.ts.map +1 -1
  215. package/dist/src/services/registry/module-install.service.js +1 -0
  216. package/dist/src/services/registry/module-install.service.js.map +1 -1
  217. package/dist/src/services/registry/provider-module-scaffold.service.d.ts.map +1 -1
  218. package/dist/src/services/registry/provider-module-scaffold.service.js +4 -0
  219. package/dist/src/services/registry/provider-module-scaffold.service.js.map +1 -1
  220. package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
  221. package/dist/src/services/security/csp-sync.service.js +21 -2
  222. package/dist/src/services/security/csp-sync.service.js.map +1 -1
  223. package/dist/tsconfig.build.tsbuildinfo +1 -1
  224. package/framework-root-package.json +3 -3
  225. package/package.json +23 -23
  226. package/scripts/app-dependency-alignment/propagated-engine-overrides.json +1 -1
  227. package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +31 -9
  228. package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +13 -0
  229. package/templates/infra/registry-host/docker-compose.yml +9 -2
  230. package/templates/infra/registry-host/upgrade-image.sh +108 -0
  231. package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_ready/labels.fr.ts +22 -0
  232. package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_received/labels.fr.ts +23 -0
  233. package/templates/saas/i18n/email/resources/dataSubjectRequests/update.users-custom_extended/labels.fr.ts +23 -0
  234. package/templates/saas/i18n/email/resources/organizationSsoConfig/repairUnreadableConfiguration.organization-users/labels.fr.ts +23 -0
  235. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.en.ts +28 -0
  236. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.fr.ts +28 -0
  237. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +2 -1
  238. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +2 -1
  239. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.ts +6 -1
  240. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.ts +6 -1
  241. package/templates/saas/i18n/engine/components/LOW_LEVEL_APPROVAL_SEAL.en.ts +40 -0
  242. package/templates/saas/i18n/engine/components/LOW_LEVEL_APPROVAL_SEAL.fr.ts +40 -0
  243. package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.ts +2 -1
  244. package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.ts +2 -1
  245. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.en.ts +2 -1
  246. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.fr.ts +2 -1
  247. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.ts +2 -1
  248. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.ts +2 -1
  249. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_TERMS.en.ts +3 -1
  250. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_TERMS.fr.ts +3 -1
  251. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.en.ts +2 -1
  252. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.fr.ts +2 -1
  253. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_FILTERS.en.ts +3 -1
  254. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_FILTERS.fr.ts +4 -2
  255. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.en.ts +18 -1
  256. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.fr.ts +18 -1
  257. package/templates/saas/i18n/engine/resources/actorSystemExecutions.en.ts +10 -82
  258. package/templates/saas/i18n/engine/resources/actorSystemExecutions.fr.ts +0 -72
  259. package/templates/saas/i18n/engine/resources/actorTasks.en.ts +0 -33
  260. package/templates/saas/i18n/engine/resources/actorTasks.fr.ts +0 -33
  261. package/templates/saas/i18n/engine/resources/agentBehaviorReports.en.ts +0 -108
  262. package/templates/saas/i18n/engine/resources/agentBehaviorReports.fr.ts +0 -108
  263. package/templates/saas/i18n/engine/resources/agentOperationRecords.en.ts +8 -24
  264. package/templates/saas/i18n/engine/resources/agentOperationRecords.fr.ts +10 -26
  265. package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.en.ts +0 -12
  266. package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.fr.ts +0 -12
  267. package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +8 -74
  268. package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +0 -66
  269. package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.en.ts +3 -21
  270. package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.fr.ts +0 -18
  271. package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.en.ts +3 -33
  272. package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.fr.ts +0 -30
  273. package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +13 -55
  274. package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +0 -42
  275. package/templates/saas/i18n/engine/resources/applicationAgentPolicies.en.ts +8 -24
  276. package/templates/saas/i18n/engine/resources/applicationAgentPolicies.fr.ts +8 -24
  277. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.en.ts +0 -27
  278. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.fr.ts +0 -27
  279. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.en.ts +13 -43
  280. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.fr.ts +0 -30
  281. package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +2 -70
  282. package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +2 -70
  283. package/templates/saas/i18n/engine/resources/applicationAuditLogs.en.ts +41 -94
  284. package/templates/saas/i18n/engine/resources/applicationAuditLogs.fr.ts +41 -94
  285. package/templates/saas/i18n/engine/resources/applicationDataKeys.en.ts +2 -22
  286. package/templates/saas/i18n/engine/resources/applicationDataKeys.fr.ts +2 -22
  287. package/templates/saas/i18n/engine/resources/applicationFeatures.en.ts +0 -24
  288. package/templates/saas/i18n/engine/resources/applicationFeatures.fr.ts +0 -24
  289. package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +25 -160
  290. package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +25 -160
  291. package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +6 -28
  292. package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +8 -30
  293. package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +92 -23
  294. package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +95 -26
  295. package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +1 -25
  296. package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +4 -28
  297. package/templates/saas/i18n/engine/resources/applicationMetadata.en.ts +0 -18
  298. package/templates/saas/i18n/engine/resources/applicationMetadata.fr.ts +0 -18
  299. package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +2 -58
  300. package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +2 -58
  301. package/templates/saas/i18n/engine/resources/applicationProviderCredentials.en.ts +168 -0
  302. package/templates/saas/i18n/engine/resources/applicationProviderCredentials.fr.ts +168 -0
  303. package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.en.ts +0 -30
  304. package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.fr.ts +0 -30
  305. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.en.ts +3 -42
  306. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.fr.ts +5 -44
  307. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.en.ts +3 -30
  308. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.fr.ts +0 -27
  309. package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.en.ts +0 -24
  310. package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.fr.ts +0 -24
  311. package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +113 -61
  312. package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +113 -61
  313. package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +0 -138
  314. package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +0 -138
  315. package/templates/saas/i18n/engine/resources/applicationVersions.en.ts +3 -27
  316. package/templates/saas/i18n/engine/resources/applicationVersions.fr.ts +0 -24
  317. package/templates/saas/i18n/engine/resources/applicationWebhookConfig.en.ts +5 -54
  318. package/templates/saas/i18n/engine/resources/applicationWebhookConfig.fr.ts +5 -54
  319. package/templates/saas/i18n/engine/resources/applications.en.ts +39 -2177
  320. package/templates/saas/i18n/engine/resources/applications.fr.ts +39 -2177
  321. package/templates/saas/i18n/engine/resources/approvalSeals.en.ts +38 -31
  322. package/templates/saas/i18n/engine/resources/approvalSeals.fr.ts +38 -31
  323. package/templates/saas/i18n/engine/resources/auditLogs.en.ts +78 -111
  324. package/templates/saas/i18n/engine/resources/auditLogs.fr.ts +78 -111
  325. package/templates/saas/i18n/engine/resources/billingEffectOutbox.en.ts +2 -4
  326. package/templates/saas/i18n/engine/resources/billingEffectOutbox.fr.ts +2 -4
  327. package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.en.ts +8 -6
  328. package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.fr.ts +8 -6
  329. package/templates/saas/i18n/engine/resources/chatConversations.en.ts +0 -18
  330. package/templates/saas/i18n/engine/resources/chatConversations.fr.ts +0 -18
  331. package/templates/saas/i18n/engine/resources/chatIdentityLinks.en.ts +0 -44
  332. package/templates/saas/i18n/engine/resources/chatIdentityLinks.fr.ts +0 -44
  333. package/templates/saas/i18n/engine/resources/consumableTokens.en.ts +4 -43
  334. package/templates/saas/i18n/engine/resources/consumableTokens.fr.ts +4 -43
  335. package/templates/saas/i18n/engine/resources/conversationMessages.en.ts +16 -27
  336. package/templates/saas/i18n/engine/resources/conversationMessages.fr.ts +16 -27
  337. package/templates/saas/i18n/engine/resources/conversationReplyTokens.en.ts +0 -27
  338. package/templates/saas/i18n/engine/resources/conversationReplyTokens.fr.ts +0 -27
  339. package/templates/saas/i18n/engine/resources/conversationThreads.en.ts +0 -27
  340. package/templates/saas/i18n/engine/resources/conversationThreads.fr.ts +0 -27
  341. package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +22 -17
  342. package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +22 -17
  343. package/templates/saas/i18n/engine/resources/dataSubjectRequests.en.ts +410 -0
  344. package/templates/saas/i18n/engine/resources/dataSubjectRequests.fr.ts +410 -0
  345. package/templates/saas/i18n/engine/resources/etlPipelineStates.en.ts +128 -146
  346. package/templates/saas/i18n/engine/resources/etlPipelineStates.fr.ts +0 -18
  347. package/templates/saas/i18n/engine/resources/evaluationDatasetExports.en.ts +13 -43
  348. package/templates/saas/i18n/engine/resources/evaluationDatasetExports.fr.ts +0 -30
  349. package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +0 -12
  350. package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +0 -12
  351. package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.en.ts +0 -21
  352. package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.fr.ts +0 -21
  353. package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.en.ts +24 -45
  354. package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.fr.ts +0 -21
  355. package/templates/saas/i18n/engine/resources/externalDataPendingReferences.en.ts +0 -24
  356. package/templates/saas/i18n/engine/resources/externalDataPendingReferences.fr.ts +0 -24
  357. package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.en.ts +0 -21
  358. package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.fr.ts +0 -21
  359. package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.en.ts +8 -14
  360. package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.fr.ts +0 -6
  361. package/templates/saas/i18n/engine/resources/externalDataPipelineRequestedKeys.en.ts +0 -24
  362. package/templates/saas/i18n/engine/resources/externalDataPipelineRequestedKeys.fr.ts +0 -24
  363. package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.en.ts +150 -174
  364. package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.fr.ts +0 -24
  365. package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.en.ts +12 -33
  366. package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.fr.ts +0 -21
  367. package/templates/saas/i18n/engine/resources/externalEffectReservations.en.ts +147 -0
  368. package/templates/saas/i18n/engine/resources/externalEffectReservations.fr.ts +147 -0
  369. package/templates/saas/i18n/engine/resources/files.en.ts +0 -39
  370. package/templates/saas/i18n/engine/resources/files.fr.ts +0 -39
  371. package/templates/saas/i18n/engine/resources/humanDecisionNoticeStays.en.ts +0 -18
  372. package/templates/saas/i18n/engine/resources/humanDecisionNoticeStays.fr.ts +0 -18
  373. package/templates/saas/i18n/engine/resources/idempotentRequestOutcomes.en.ts +115 -0
  374. package/templates/saas/i18n/engine/resources/idempotentRequestOutcomes.fr.ts +115 -0
  375. package/templates/saas/i18n/engine/resources/inboundAddressTombstones.en.ts +0 -27
  376. package/templates/saas/i18n/engine/resources/inboundAddressTombstones.fr.ts +0 -27
  377. package/templates/saas/i18n/engine/resources/inboundContacts.en.ts +3 -30
  378. package/templates/saas/i18n/engine/resources/inboundContacts.fr.ts +0 -27
  379. package/templates/saas/i18n/engine/resources/inboundEmails.en.ts +0 -27
  380. package/templates/saas/i18n/engine/resources/inboundEmails.fr.ts +0 -27
  381. package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +11 -25
  382. package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +11 -25
  383. package/templates/saas/i18n/engine/resources/jobPayloadStorage.en.ts +3 -30
  384. package/templates/saas/i18n/engine/resources/jobPayloadStorage.fr.ts +0 -27
  385. package/templates/saas/i18n/engine/resources/legalHolds.en.ts +0 -88
  386. package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +0 -88
  387. package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +16 -40
  388. package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +0 -24
  389. package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +13 -37
  390. package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +0 -24
  391. package/templates/saas/i18n/engine/resources/oauthConsentGrants.en.ts +10 -40
  392. package/templates/saas/i18n/engine/resources/oauthConsentGrants.fr.ts +0 -30
  393. package/templates/saas/i18n/engine/resources/operationApprovalRequests.en.ts +120 -60
  394. package/templates/saas/i18n/engine/resources/operationApprovalRequests.fr.ts +120 -60
  395. package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.en.ts +3 -21
  396. package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.fr.ts +0 -18
  397. package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.en.ts +3 -33
  398. package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.fr.ts +0 -30
  399. package/templates/saas/i18n/engine/resources/organizationAgentPolicies.en.ts +0 -27
  400. package/templates/saas/i18n/engine/resources/organizationAgentPolicies.fr.ts +0 -27
  401. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.en.ts +0 -27
  402. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.fr.ts +0 -27
  403. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.en.ts +13 -43
  404. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.fr.ts +0 -30
  405. package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +2 -79
  406. package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +2 -79
  407. package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +0 -549
  408. package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +0 -549
  409. package/templates/saas/i18n/engine/resources/organizationChatSettings.en.ts +0 -27
  410. package/templates/saas/i18n/engine/resources/organizationChatSettings.fr.ts +0 -27
  411. package/templates/saas/i18n/engine/resources/organizationCreditPools.en.ts +13 -18
  412. package/templates/saas/i18n/engine/resources/organizationCreditPools.fr.ts +13 -18
  413. package/templates/saas/i18n/engine/resources/organizationCustomDomains.en.ts +195 -0
  414. package/templates/saas/i18n/engine/resources/organizationCustomDomains.fr.ts +195 -0
  415. package/templates/saas/i18n/engine/resources/organizationDashboardLayouts.en.ts +153 -0
  416. package/templates/saas/i18n/engine/resources/organizationDashboardLayouts.fr.ts +153 -0
  417. package/templates/saas/i18n/engine/resources/organizationEmailDomains.en.ts +0 -39
  418. package/templates/saas/i18n/engine/resources/organizationEmailDomains.fr.ts +0 -39
  419. package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +0 -34
  420. package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +0 -34
  421. package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +25 -160
  422. package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +25 -160
  423. package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +6 -28
  424. package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +8 -30
  425. package/templates/saas/i18n/engine/resources/organizationGuidanceState.en.ts +3 -18
  426. package/templates/saas/i18n/engine/resources/organizationGuidanceState.fr.ts +0 -15
  427. package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +95 -26
  428. package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +95 -26
  429. package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.en.ts +14 -45
  430. package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.fr.ts +14 -45
  431. package/templates/saas/i18n/engine/resources/organizationLifecycleState.en.ts +1 -17
  432. package/templates/saas/i18n/engine/resources/organizationLifecycleState.fr.ts +1 -17
  433. package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +2 -26
  434. package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +4 -28
  435. package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +2 -95
  436. package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +2 -95
  437. package/templates/saas/i18n/engine/resources/organizationModelUsageCeilingState.en.ts +0 -27
  438. package/templates/saas/i18n/engine/resources/organizationModelUsageCeilingState.fr.ts +0 -27
  439. package/templates/saas/i18n/engine/resources/organizationNotificationBadges.en.ts +3 -36
  440. package/templates/saas/i18n/engine/resources/organizationNotificationBadges.fr.ts +0 -33
  441. package/templates/saas/i18n/engine/resources/organizationNotifications.en.ts +0 -12
  442. package/templates/saas/i18n/engine/resources/organizationNotifications.fr.ts +0 -12
  443. package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +2 -67
  444. package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +2 -67
  445. package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.en.ts +0 -9
  446. package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.fr.ts +0 -9
  447. package/templates/saas/i18n/engine/resources/organizationPersonTokenCeilingState.en.ts +0 -27
  448. package/templates/saas/i18n/engine/resources/organizationPersonTokenCeilingState.fr.ts +0 -27
  449. package/templates/saas/i18n/engine/resources/organizationPreferences.en.ts +0 -37
  450. package/templates/saas/i18n/engine/resources/organizationPreferences.fr.ts +0 -37
  451. package/templates/saas/i18n/engine/resources/organizationProfiles.en.ts +0 -37
  452. package/templates/saas/i18n/engine/resources/organizationProfiles.fr.ts +0 -37
  453. package/templates/saas/i18n/engine/resources/organizationProgressionState.en.ts +1 -17
  454. package/templates/saas/i18n/engine/resources/organizationProgressionState.fr.ts +1 -17
  455. package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +0 -58
  456. package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +0 -58
  457. package/templates/saas/i18n/engine/resources/organizationRelationships.en.ts +0 -128
  458. package/templates/saas/i18n/engine/resources/organizationRelationships.fr.ts +0 -128
  459. package/templates/saas/i18n/engine/resources/organizationRepresentations.en.ts +0 -83
  460. package/templates/saas/i18n/engine/resources/organizationRepresentations.fr.ts +0 -83
  461. package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.en.ts +0 -43
  462. package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.fr.ts +0 -43
  463. package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +5 -76
  464. package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +5 -76
  465. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.en.ts +4 -43
  466. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.fr.ts +6 -45
  467. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.en.ts +3 -30
  468. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.fr.ts +0 -27
  469. package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.en.ts +0 -37
  470. package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.fr.ts +0 -37
  471. package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +113 -74
  472. package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +113 -74
  473. package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +0 -148
  474. package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +0 -148
  475. package/templates/saas/i18n/engine/resources/organizationSubscriptions.en.ts +40 -78
  476. package/templates/saas/i18n/engine/resources/organizationSubscriptions.fr.ts +42 -80
  477. package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +2 -50
  478. package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +2 -50
  479. package/templates/saas/i18n/engine/resources/organizationUnits.en.ts +0 -49
  480. package/templates/saas/i18n/engine/resources/organizationUnits.fr.ts +0 -49
  481. package/templates/saas/i18n/engine/resources/organizationUsageRecords.en.ts +13 -37
  482. package/templates/saas/i18n/engine/resources/organizationUsageRecords.fr.ts +13 -37
  483. package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +5 -67
  484. package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +5 -67
  485. package/templates/saas/i18n/engine/resources/organizations.en.ts +34 -637
  486. package/templates/saas/i18n/engine/resources/organizations.fr.ts +32 -635
  487. package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +0 -91
  488. package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +0 -91
  489. package/templates/saas/i18n/engine/resources/postCommitEffectOutbox.en.ts +0 -24
  490. package/templates/saas/i18n/engine/resources/postCommitEffectOutbox.fr.ts +0 -24
  491. package/templates/saas/i18n/engine/resources/prices.en.ts +47 -108
  492. package/templates/saas/i18n/engine/resources/prices.fr.ts +48 -109
  493. package/templates/saas/i18n/engine/resources/products.en.ts +24 -68
  494. package/templates/saas/i18n/engine/resources/products.fr.ts +24 -68
  495. package/templates/saas/i18n/engine/resources/professionalQualifications.en.ts +0 -87
  496. package/templates/saas/i18n/engine/resources/professionalQualifications.fr.ts +0 -87
  497. package/templates/saas/i18n/engine/resources/promotions.en.ts +4 -56
  498. package/templates/saas/i18n/engine/resources/promotions.fr.ts +6 -58
  499. package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +77 -101
  500. package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +0 -24
  501. package/templates/saas/i18n/engine/resources/publishedVerificationKeys.en.ts +2 -25
  502. package/templates/saas/i18n/engine/resources/publishedVerificationKeys.fr.ts +2 -25
  503. package/templates/saas/i18n/engine/resources/referrals.en.ts +21 -18
  504. package/templates/saas/i18n/engine/resources/referrals.fr.ts +21 -18
  505. package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.en.ts +0 -80
  506. package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.fr.ts +0 -80
  507. package/templates/saas/i18n/engine/resources/relationshipInvitations.en.ts +0 -89
  508. package/templates/saas/i18n/engine/resources/relationshipInvitations.fr.ts +0 -89
  509. package/templates/saas/i18n/engine/resources/relationshipMailboxes.en.ts +0 -27
  510. package/templates/saas/i18n/engine/resources/relationshipMailboxes.fr.ts +0 -27
  511. package/templates/saas/i18n/engine/resources/representativeAssignments.en.ts +108 -112
  512. package/templates/saas/i18n/engine/resources/representativeAssignments.fr.ts +108 -112
  513. package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.en.ts +8 -21
  514. package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.fr.ts +8 -21
  515. package/templates/saas/i18n/engine/resources/signatureRequestSigners.en.ts +141 -0
  516. package/templates/saas/i18n/engine/resources/signatureRequestSigners.fr.ts +141 -0
  517. package/templates/saas/i18n/engine/resources/signatureRequests.en.ts +205 -0
  518. package/templates/saas/i18n/engine/resources/signatureRequests.fr.ts +205 -0
  519. package/templates/saas/i18n/engine/resources/smsNumberAssignments.en.ts +101 -0
  520. package/templates/saas/i18n/engine/resources/smsNumberAssignments.fr.ts +101 -0
  521. package/templates/saas/i18n/engine/resources/smsOptOuts.en.ts +166 -0
  522. package/templates/saas/i18n/engine/resources/smsOptOuts.fr.ts +166 -0
  523. package/templates/saas/i18n/engine/resources/smsProviderEvents.en.ts +195 -0
  524. package/templates/saas/i18n/engine/resources/smsProviderEvents.fr.ts +195 -0
  525. package/templates/saas/i18n/engine/resources/ssoDomainReservations.en.ts +0 -27
  526. package/templates/saas/i18n/engine/resources/ssoDomainReservations.fr.ts +0 -27
  527. package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.en.ts +3 -39
  528. package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.fr.ts +0 -36
  529. package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.en.ts +0 -3
  530. package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.fr.ts +0 -3
  531. package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.en.ts +0 -6
  532. package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.fr.ts +0 -6
  533. package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.en.ts +3 -21
  534. package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.fr.ts +0 -18
  535. package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.en.ts +3 -33
  536. package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.fr.ts +0 -30
  537. package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.en.ts +0 -27
  538. package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.fr.ts +0 -27
  539. package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.en.ts +13 -43
  540. package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.fr.ts +0 -30
  541. package/templates/saas/i18n/engine/resources/userCredentials.en.ts +3 -87
  542. package/templates/saas/i18n/engine/resources/userCredentials.fr.ts +0 -84
  543. package/templates/saas/i18n/engine/resources/userFeatures.en.ts +0 -12
  544. package/templates/saas/i18n/engine/resources/userFeatures.fr.ts +0 -12
  545. package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +25 -160
  546. package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +25 -160
  547. package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +6 -28
  548. package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +8 -30
  549. package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.en.ts +13 -18
  550. package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.fr.ts +13 -18
  551. package/templates/saas/i18n/engine/resources/userGuidanceState.en.ts +3 -18
  552. package/templates/saas/i18n/engine/resources/userGuidanceState.fr.ts +0 -15
  553. package/templates/saas/i18n/engine/resources/userIdentityLinks.en.ts +13 -40
  554. package/templates/saas/i18n/engine/resources/userIdentityLinks.fr.ts +0 -27
  555. package/templates/saas/i18n/engine/resources/userLifecycleState.en.ts +0 -15
  556. package/templates/saas/i18n/engine/resources/userLifecycleState.fr.ts +0 -15
  557. package/templates/saas/i18n/engine/resources/userNotificationBadges.en.ts +3 -36
  558. package/templates/saas/i18n/engine/resources/userNotificationBadges.fr.ts +0 -33
  559. package/templates/saas/i18n/engine/resources/userPreferences.en.ts +8 -60
  560. package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +8 -60
  561. package/templates/saas/i18n/engine/resources/userProfiles.en.ts +5 -56
  562. package/templates/saas/i18n/engine/resources/userProfiles.fr.ts +0 -51
  563. package/templates/saas/i18n/engine/resources/userProgressionState.en.ts +1 -17
  564. package/templates/saas/i18n/engine/resources/userProgressionState.fr.ts +1 -17
  565. package/templates/saas/i18n/engine/resources/userProviderCredentials.en.ts +0 -52
  566. package/templates/saas/i18n/engine/resources/userProviderCredentials.fr.ts +0 -52
  567. package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +8 -56
  568. package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +8 -56
  569. package/templates/saas/i18n/engine/resources/userSelfProfiles.en.ts +5 -61
  570. package/templates/saas/i18n/engine/resources/userSelfProfiles.fr.ts +0 -56
  571. package/templates/saas/i18n/engine/resources/user_self.en.ts +37 -214
  572. package/templates/saas/i18n/engine/resources/user_self.fr.ts +37 -214
  573. package/templates/saas/i18n/engine/resources/users.en.ts +53 -180
  574. package/templates/saas/i18n/engine/resources/users.fr.ts +53 -180
  575. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/Dockerfile +4 -1
  576. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/plugins/api-reference-pages.ts +9 -1
  577. package/templates/saas/scenarios/add-website/files/website/Dockerfile +4 -1
  578. package/templates/saas/scenarios/add-website/files/website/astro.config.ts.hbs +4 -0
  579. package/templates/saas/scenarios/add-website/files/website/package.json.hbs +1 -1
  580. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/Dockerfile.hbs +3 -1
  581. package/templates/saas/skeleton/.wildo-saas/wildo-dev-companion/scripts/dev-supervised.sh +18 -4
  582. package/templates/saas/skeleton/backend-api/Dockerfile +5 -2
  583. package/templates/saas/skeleton/frontend/Dockerfile +4 -1
  584. package/templates/saas/skeleton/frontend/nginx-config/default.conf.hbs +1 -1
  585. package/templates/saas/skeleton/frontend/src/generated/csp.generated.json.hbs +4 -4
  586. package/templates/saas/skeleton/frontend/vite-engine-dependency-prebundle.ts +10 -1
  587. package/templates/saas/skeleton/frontend/vite.config.ts.hbs +14 -3
  588. package/templates/saas/skeleton/infrastructure/local/wildo.infra.local.config.ts.hbs +2 -0
  589. package/wildo-framework.info.json +1 -1
@@ -0,0 +1,44 @@
1
+ import { EnvironmentRegistry } from '../../services/environment/environment-registry.service.js';
2
+ import { EnvironmentUtils } from '../../services/environment/environment.service.js';
3
+ import { AppRuntimeTargetsService } from '../../services/application/app-runtime-targets.service.js';
4
+ /** Resolve the target, or log why it cannot be and answer `null`. */
5
+ export async function loadJobsCommandTarget(ctx, verb) {
6
+ const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;
7
+ if (!saasRoot) {
8
+ ctx.log.error(`\`wildo ${verb}\` requires a targeted app root with wildo.saas.config.ts.`);
9
+ return null;
10
+ }
11
+ const envName = ctx.activeEnv?.name;
12
+ if (!envName) {
13
+ ctx.log.error('No active environment. Run `wildo init` first.');
14
+ return null;
15
+ }
16
+ const env = EnvironmentRegistry.get(envName);
17
+ if (!env) {
18
+ ctx.log.error(`Environment '${envName}' not found. Run 'wildo init' first.`);
19
+ return null;
20
+ }
21
+ const credentials = EnvironmentUtils.loadSecretsJson(envName);
22
+ if (!credentials) {
23
+ ctx.log.error(`No secrets for '${envName}'. Run 'wildo init' first.`);
24
+ return null;
25
+ }
26
+ const requestedAppSlug = ctx.flags.app;
27
+ const runtimeTarget = await AppRuntimeTargetsService.resolve(saasRoot, { environmentName: envName, requestedAppSlug });
28
+ if (!runtimeTarget) {
29
+ ctx.log.error(requestedAppSlug
30
+ ? `Application '${requestedAppSlug}' not found under ${saasRoot}.`
31
+ : `No application could be resolved from ${saasRoot}. Pass --app <slug> to disambiguate.`);
32
+ return null;
33
+ }
34
+ return { env, credentials, appSlug: runtimeTarget.appSlug, envName };
35
+ }
36
+ /**
37
+ * One line per job: the selector to type, its kind (the wire value), and whether the replica that answered has it armed.
38
+ * "Not armed" covers two causes the listing cannot tell apart, a schedule its author disabled and a standby replica, so the
39
+ * line names both rather than guessing; `run` runs the job either way.
40
+ */
41
+ export function describeScheduledJob(job) {
42
+ return `${job.selector} [${job.kind}${job.armed ? '' : ', not armed: disabled, or a standby replica'}]`;
43
+ }
44
+ //# sourceMappingURL=jobs-command.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jobs-command.utils.js","sourceRoot":"","sources":["../../../../src/commands/local/jobs-command.utils.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AACnG,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,wBAAwB,EAAE,MAAM,6DAA6D,CAAC;AAUvG,qEAAq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,qBAAqB,QAAQ,GAAG;YAClE,CAAC,CAAC,yCAAyC,QAAQ,sCAAsC,CAC5F,CAAC;QACF,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,EAAE,GAAG,EAAE,WAAW,EAAE,OAAO,EAAE,aAAa,CAAC,OAAO,EAAE,OAAO,EAAE,CAAC;AACvE,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,oBAAoB,CAAC,GAA4B;IAC/D,OAAO,GAAG,GAAG,CAAC,QAAQ,MAAM,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,6CAA6C,GAAG,CAAC;AAC3G,CAAC","sourcesContent":["/**\n * What `wildo local jobs` and `wildo local jobs run` share (#4006): finding the application and the environment that\n * hosts it, the way `wildo local deregister` does, and printing a job as a person types it.\n */\nimport type { ApplicationScheduledJob } from '@wildo-ai/platform-config-lib';\nimport type { CommandContext } from '~wildo-cli/kernel/types';\nimport type { PlatformEnvSecretsJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { AppRuntimeTargetsService } from '~wildo-cli/services/application/app-runtime-targets.service';\n\n/** The application the verb acts on, and the platform it asks. */\nexport interface JobsCommandTarget {\n readonly env: PlatformEnvironmentConfiguration;\n readonly credentials: PlatformEnvSecretsJson;\n readonly appSlug: string;\n readonly envName: string;\n}\n\n/** Resolve the target, or log why it cannot be and answer `null`. */\nexport async function loadJobsCommandTarget(ctx: CommandContext, verb: string): Promise<JobsCommandTarget | null> {\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n if (!saasRoot) {\n ctx.log.error(`\\`wildo ${verb}\\` requires a targeted app root with wildo.saas.config.ts.`);\n return null;\n }\n\n const envName = ctx.activeEnv?.name;\n if (!envName) {\n ctx.log.error('No active environment. Run `wildo init` first.');\n return null;\n }\n const env = EnvironmentRegistry.get(envName);\n if (!env) {\n ctx.log.error(`Environment '${envName}' not found. Run 'wildo init' first.`);\n return null;\n }\n const credentials = EnvironmentUtils.loadSecretsJson(envName);\n if (!credentials) {\n ctx.log.error(`No secrets for '${envName}'. Run 'wildo init' first.`);\n return null;\n }\n\n const requestedAppSlug = ctx.flags.app as string | undefined;\n const runtimeTarget = await AppRuntimeTargetsService.resolve(saasRoot, { environmentName: envName, requestedAppSlug });\n if (!runtimeTarget) {\n ctx.log.error(\n requestedAppSlug\n ? `Application '${requestedAppSlug}' not found under ${saasRoot}.`\n : `No application could be resolved from ${saasRoot}. Pass --app <slug> to disambiguate.`,\n );\n return null;\n }\n\n return { env, credentials, appSlug: runtimeTarget.appSlug, envName };\n}\n\n/**\n * One line per job: the selector to type, its kind (the wire value), and whether the replica that answered has it armed.\n * \"Not armed\" covers two causes the listing cannot tell apart, a schedule its author disabled and a standby replica, so the\n * line names both rather than guessing; `run` runs the job either way.\n */\nexport function describeScheduledJob(job: ApplicationScheduledJob): string {\n return `${job.selector} [${job.kind}${job.armed ? '' : ', not armed: disabled, or a standby replica'}]`;\n}\n"]}
@@ -0,0 +1,7 @@
1
+ import { BaseCommand } from '../../kernel/base-command';
2
+ import type { CommandContext, CommandMeta, CommandResult } from '../../kernel/types';
3
+ export default class LocalJobsRunCommand extends BaseCommand {
4
+ readonly meta: CommandMeta;
5
+ run(ctx: CommandContext): Promise<CommandResult>;
6
+ }
7
+ //# sourceMappingURL=jobs-run.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jobs-run.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/local/jobs-run.command.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAG7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAI1F,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,WAAW;IAC1D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAexB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CA2CvD"}
@@ -0,0 +1,92 @@
1
+ /**
2
+ * `wildo local jobs run <selector>` — run one of this application's scheduled jobs NOW, once (#4006).
3
+ *
4
+ * A scheduled job runs at its next tick, so anything it writes (a recurring todo's occurrences, written hourly) waits up
5
+ * to a period. This runs the job's ordinary execution once, through the crontabs manager's manual trigger, and leaves its
6
+ * schedule unchanged: `kubectl create job --from=cronjob/<name>`, Laravel's `schedule:test`.
7
+ *
8
+ * The selector is the application-relative name `wildo local jobs` prints:
9
+ *
10
+ * - `<resourceType>.<operation>[:<variantKey>]` — a resource cron operation; the variant may be left out when the
11
+ * operation is scheduled under one (`todosRecurringOccurrences.run_recurring_generation`);
12
+ * - `batch:<ref>` — a custom batch;
13
+ * - `minion-tick:<name>[:<variantKey>]` — a minion's tick.
14
+ *
15
+ * It is resolved against the listing, and the `jobId` the listing named is what is sent: nobody types the application's
16
+ * platform id. apps-manager refuses a job that is not this application's (`scheduled_job_not_owned_by_application`).
17
+ *
18
+ * The answer means the crontabs manager ACCEPTED the trigger: the occurrence is delivered to the application backend and
19
+ * runs there, asynchronously, as a tick does. Read its effect where the job writes, a moment later.
20
+ *
21
+ * Exit codes: 0 triggered, 1 not resolved, refused or failed.
22
+ */
23
+ import chalk from 'chalk';
24
+ import { ApplicationScheduledJobSelectorResolution, resolveApplicationScheduledJobSelector } from '@wildo-ai/platform-config-lib';
25
+ import { BaseCommand } from '../../kernel/base-command.js';
26
+ import { ErrorUtils } from '../../infrastructure/errors/error.utils.js';
27
+ import { CommandCategory } from '../../kernel/types.js';
28
+ import { AppBootstrapService } from '../../services/application/app-bootstrap.service.js';
29
+ import { describeScheduledJob, loadJobsCommandTarget } from './jobs-command.utils.js';
30
+ export default class LocalJobsRunCommand extends BaseCommand {
31
+ meta = {
32
+ name: 'local jobs run',
33
+ description: "Run one of this application's scheduled jobs now, once, without changing its schedule",
34
+ category: CommandCategory.Local,
35
+ args: [
36
+ {
37
+ name: 'selector',
38
+ description: 'The job as `wildo local jobs` prints it: <resourceType>.<operation>[:<variant>], batch:<ref> or minion-tick:<name>',
39
+ required: true,
40
+ },
41
+ ],
42
+ flags: {
43
+ app: { type: 'string', description: 'Application slug (defaults to the single resolved app)', default: undefined },
44
+ reason: { type: 'string', description: 'Why it is being run now — recorded on the platform audit row', default: undefined },
45
+ },
46
+ };
47
+ async run(ctx) {
48
+ const selector = ctx.args.selector?.trim();
49
+ if (!selector) {
50
+ ctx.log.error('Name the job to run: `wildo local jobs run <selector>`. `wildo local jobs` lists the selectors.');
51
+ return { success: false, exitCode: 1 };
52
+ }
53
+ const target = await loadJobsCommandTarget(ctx, 'local jobs run');
54
+ if (!target)
55
+ return { success: false, exitCode: 1 };
56
+ try {
57
+ const listing = await AppBootstrapService.listApplicationScheduledJobs(target.env, target.credentials, target.appSlug);
58
+ const resolved = resolveApplicationScheduledJobSelector(listing.jobs, selector);
59
+ if (resolved.resolution === ApplicationScheduledJobSelectorResolution.NOT_FOUND) {
60
+ ctx.log.error(`'${target.appSlug}' has no scheduled job '${selector}'.`);
61
+ if (resolved.candidates.length === 0) {
62
+ ctx.log.info(` It has none at all on this platform (the scheduler holds ${listing.platformScheduledTotal} job(s) across every application).`);
63
+ }
64
+ else {
65
+ ctx.log.info(' Its scheduled jobs:');
66
+ for (const job of resolved.candidates)
67
+ ctx.log.info(` ${describeScheduledJob(job)}`);
68
+ }
69
+ return { success: false, exitCode: 1 };
70
+ }
71
+ if (resolved.resolution === ApplicationScheduledJobSelectorResolution.AMBIGUOUS) {
72
+ ctx.log.error(`'${selector}' names ${resolved.matches.length} scheduled jobs of '${target.appSlug}'; name the variant:`);
73
+ for (const job of resolved.matches)
74
+ ctx.log.info(` ${describeScheduledJob(job)}`);
75
+ return { success: false, exitCode: 1 };
76
+ }
77
+ const reason = ctx.flags.reason;
78
+ const result = await AppBootstrapService.runApplicationScheduledJob(target.env, target.credentials, target.appSlug, {
79
+ jobId: resolved.job.jobId,
80
+ ...(reason ? { reason } : {}),
81
+ });
82
+ ctx.log.success(` Triggered '${result.selector}' of '${target.appSlug}' at ${result.triggeredAt}.`);
83
+ ctx.log.info(chalk.dim(' The application backend runs it asynchronously, as it runs a tick; its schedule is unchanged.\n'));
84
+ return { success: true };
85
+ }
86
+ catch (error) {
87
+ ctx.log.error(`Failed to run '${selector}' of '${target.appSlug}': ${ErrorUtils.extractErrorMessage(error)}`);
88
+ return { success: false, exitCode: 1 };
89
+ }
90
+ }
91
+ }
92
+ //# sourceMappingURL=jobs-run.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jobs-run.command.js","sourceRoot":"","sources":["../../../../src/commands/local/jobs-run.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,yCAAyC,EAAE,sCAAsC,EAAE,MAAM,+BAA+B,CAAC;AAClI,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uDAAuD,CAAC;AAC5F,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAEnF,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,WAAW;IACjD,IAAI,GAAgB;QAC3B,IAAI,EAAE,gBAAgB;QACtB,WAAW,EAAE,uFAAuF;QACpG,QAAQ,EAAE,eAAe,CAAC,KAAK;QAC/B,IAAI,EAAE;YACJ;gBACE,IAAI,EAAE,UAAU;gBAChB,WAAW,EAAE,oHAAoH;gBACj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CAAC,OAAO,CAAC,gBAAgB,MAAM,CAAC,QAAQ,SAAS,MAAM,CAAC,OAAO,QAAQ,MAAM,CAAC,WAAW,GAAG,CAAC,CAAC;YACrG,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,mGAAmG,CAAC,CAAC,CAAC;YAC7H,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;QAC3B,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,kBAAkB,QAAQ,SAAS,MAAM,CAAC,OAAO,MAAM,UAAU,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YAC9G,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC;QACzC,CAAC;IACH,CAAC;CACF","sourcesContent":["/**\n * `wildo local jobs run <selector>` — run one of this application's scheduled jobs NOW, once (#4006).\n *\n * A scheduled job runs at its next tick, so anything it writes (a recurring todo's occurrences, written hourly) waits up\n * to a period. This runs the job's ordinary execution once, through the crontabs manager's manual trigger, and leaves its\n * schedule unchanged: `kubectl create job --from=cronjob/<name>`, Laravel's `schedule:test`.\n *\n * The selector is the application-relative name `wildo local jobs` prints:\n *\n * - `<resourceType>.<operation>[:<variantKey>]` — a resource cron operation; the variant may be left out when the\n * operation is scheduled under one (`todosRecurringOccurrences.run_recurring_generation`);\n * - `batch:<ref>` — a custom batch;\n * - `minion-tick:<name>[:<variantKey>]` — a minion's tick.\n *\n * It is resolved against the listing, and the `jobId` the listing named is what is sent: nobody types the application's\n * platform id. apps-manager refuses a job that is not this application's (`scheduled_job_not_owned_by_application`).\n *\n * The answer means the crontabs manager ACCEPTED the trigger: the occurrence is delivered to the application backend and\n * runs there, asynchronously, as a tick does. Read its effect where the job writes, a moment later.\n *\n * Exit codes: 0 triggered, 1 not resolved, refused or failed.\n */\nimport chalk from 'chalk';\nimport { ApplicationScheduledJobSelectorResolution, resolveApplicationScheduledJobSelector } from '@wildo-ai/platform-config-lib';\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { AppBootstrapService } from '~wildo-cli/services/application/app-bootstrap.service';\nimport { describeScheduledJob, loadJobsCommandTarget } from './jobs-command.utils';\n\nexport default class LocalJobsRunCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'local jobs run',\n description: \"Run one of this application's scheduled jobs now, once, without changing its schedule\",\n category: CommandCategory.Local,\n args: [\n {\n name: 'selector',\n description: 'The job as `wildo local jobs` prints it: <resourceType>.<operation>[:<variant>], batch:<ref> or minion-tick:<name>',\n required: true,\n },\n ],\n flags: {\n app: { type: 'string', description: 'Application slug (defaults to the single resolved app)', default: undefined },\n reason: { type: 'string', description: 'Why it is being run now — recorded on the platform audit row', default: undefined },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const selector = ctx.args.selector?.trim();\n if (!selector) {\n ctx.log.error('Name the job to run: `wildo local jobs run <selector>`. `wildo local jobs` lists the selectors.');\n return { success: false, exitCode: 1 };\n }\n\n const target = await loadJobsCommandTarget(ctx, 'local jobs run');\n if (!target) return { success: false, exitCode: 1 };\n\n try {\n const listing = await AppBootstrapService.listApplicationScheduledJobs(target.env, target.credentials, target.appSlug);\n const resolved = resolveApplicationScheduledJobSelector(listing.jobs, selector);\n\n if (resolved.resolution === ApplicationScheduledJobSelectorResolution.NOT_FOUND) {\n ctx.log.error(`'${target.appSlug}' has no scheduled job '${selector}'.`);\n if (resolved.candidates.length === 0) {\n ctx.log.info(` It has none at all on this platform (the scheduler holds ${listing.platformScheduledTotal} job(s) across every application).`);\n } else {\n ctx.log.info(' Its scheduled jobs:');\n for (const job of resolved.candidates) ctx.log.info(` ${describeScheduledJob(job)}`);\n }\n return { success: false, exitCode: 1 };\n }\n if (resolved.resolution === ApplicationScheduledJobSelectorResolution.AMBIGUOUS) {\n ctx.log.error(`'${selector}' names ${resolved.matches.length} scheduled jobs of '${target.appSlug}'; name the variant:`);\n for (const job of resolved.matches) ctx.log.info(` ${describeScheduledJob(job)}`);\n return { success: false, exitCode: 1 };\n }\n\n const reason = ctx.flags.reason as string | undefined;\n const result = await AppBootstrapService.runApplicationScheduledJob(target.env, target.credentials, target.appSlug, {\n jobId: resolved.job.jobId,\n ...(reason ? { reason } : {}),\n });\n ctx.log.success(` Triggered '${result.selector}' of '${target.appSlug}' at ${result.triggeredAt}.`);\n ctx.log.info(chalk.dim(' The application backend runs it asynchronously, as it runs a tick; its schedule is unchanged.\\n'));\n return { success: true };\n } catch (error) {\n ctx.log.error(`Failed to run '${selector}' of '${target.appSlug}': ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false, exitCode: 1 };\n }\n }\n}\n"]}
@@ -0,0 +1,7 @@
1
+ import { BaseCommand } from '../../kernel/base-command';
2
+ import type { CommandContext, CommandMeta, CommandResult } from '../../kernel/types';
3
+ export default class LocalJobsCommand extends BaseCommand {
4
+ readonly meta: CommandMeta;
5
+ run(ctx: CommandContext): Promise<CommandResult>;
6
+ }
7
+ //# sourceMappingURL=jobs.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jobs.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/local/jobs.command.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAI7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAI1F,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,WAAW;IACvD,QAAQ,CAAC,IAAI,EAAE,WAAW,CAQxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CA2BvD"}
@@ -0,0 +1,59 @@
1
+ /**
2
+ * `wildo local jobs` — list this application's scheduled jobs, each with the selector `wildo local jobs run` takes (#4006).
3
+ *
4
+ * The listing is what the crontabs manager holds right now, read through apps-manager's admin door (the same
5
+ * `PLATFORM_ADMIN_SECRET` every `wildo local` admin verb uses). It is printed beside the platform-wide total so an empty
6
+ * list can be told apart from a scheduler that holds nothing for anyone (not loaded yet, or no application has booted
7
+ * and synced its schedule).
8
+ *
9
+ * Exit codes: 0 listed, 1 could not list.
10
+ */
11
+ import chalk from 'chalk';
12
+ import { BaseCommand } from '../../kernel/base-command.js';
13
+ import { ErrorUtils } from '../../infrastructure/errors/error.utils.js';
14
+ import { JsonDocumentLayout, writeJsonDocument } from '../../kernel/json-document-output.js';
15
+ import { CommandCategory } from '../../kernel/types.js';
16
+ import { AppBootstrapService } from '../../services/application/app-bootstrap.service.js';
17
+ import { describeScheduledJob, loadJobsCommandTarget } from './jobs-command.utils.js';
18
+ export default class LocalJobsCommand extends BaseCommand {
19
+ meta = {
20
+ name: 'local jobs',
21
+ description: "List this application's scheduled jobs and the selector `wildo local jobs run` takes for each",
22
+ category: CommandCategory.Local,
23
+ flags: {
24
+ app: { type: 'string', description: 'Application slug (defaults to the single resolved app)', default: undefined },
25
+ json: { type: 'boolean', description: 'Print the listing as one JSON document', default: false },
26
+ },
27
+ };
28
+ async run(ctx) {
29
+ const target = await loadJobsCommandTarget(ctx, 'local jobs');
30
+ if (!target)
31
+ return { success: false, exitCode: 1 };
32
+ try {
33
+ const listing = await AppBootstrapService.listApplicationScheduledJobs(target.env, target.credentials, target.appSlug);
34
+ if (ctx.flags.json === true) {
35
+ writeJsonDocument(listing, JsonDocumentLayout.INDENTED);
36
+ return { success: true };
37
+ }
38
+ ctx.log.info(chalk.cyan(`\n Scheduled jobs of '${target.appSlug}' on the '${target.envName}' platform\n`));
39
+ if (listing.jobs.length === 0) {
40
+ ctx.log.info(` none (the scheduler holds ${listing.platformScheduledTotal} job(s) across every application)`);
41
+ if (listing.platformScheduledTotal === 0) {
42
+ ctx.log.warn(' the scheduler holds no job for any application, so this says nothing about this one: has its backend booted?');
43
+ }
44
+ }
45
+ for (const job of listing.jobs)
46
+ ctx.log.info(` ${describeScheduledJob(job)}`);
47
+ if (!listing.schedulerRunning)
48
+ ctx.log.warn(' the scheduler is not running on the replica that answered');
49
+ if (listing.jobs.length > 0)
50
+ ctx.log.info(chalk.dim('\n Run one now: wildo local jobs run <selector> (the variant may be left out when there is one)\n'));
51
+ return { success: true };
52
+ }
53
+ catch (error) {
54
+ ctx.log.error(`Failed to list the scheduled jobs of '${target.appSlug}': ${ErrorUtils.extractErrorMessage(error)}`);
55
+ return { success: false, exitCode: 1 };
56
+ }
57
+ }
58
+ }
59
+ //# sourceMappingURL=jobs.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jobs.command.js","sourceRoot":"","sources":["../../../../src/commands/local/jobs.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAC1E,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAC/F,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uDAAuD,CAAC;AAC5F,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAEnF,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,WAAW;IAC9C,IAAI,GAAgB;QAC3B,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,+FAA+F;QAC5G,QAAQ,EAAE,eAAe,CAAC,KAAK;QAC/B,KAAK,EAAE;YACL,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,wDAAwD,EAAE,OAA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CAAC,KAAK,oBAAoB,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;YAC/E,IAAI,CAAC,OAAO,CAAC,gBAAgB;gBAAE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,6DAA6D,CAAC,CAAC;YAC3G,IAAI,OAAO,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC;gBAAE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,qGAAqG,CAAC,CAAC,CAAC;YAC5J,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;QAC3B,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,yCAAyC,MAAM,CAAC,OAAO,MAAM,UAAU,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YACpH,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC;QACzC,CAAC;IACH,CAAC;CACF","sourcesContent":["/**\n * `wildo local jobs` — list this application's scheduled jobs, each with the selector `wildo local jobs run` takes (#4006).\n *\n * The listing is what the crontabs manager holds right now, read through apps-manager's admin door (the same\n * `PLATFORM_ADMIN_SECRET` every `wildo local` admin verb uses). It is printed beside the platform-wide total so an empty\n * list can be told apart from a scheduler that holds nothing for anyone (not loaded yet, or no application has booted\n * and synced its schedule).\n *\n * Exit codes: 0 listed, 1 could not list.\n */\nimport chalk from 'chalk';\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { JsonDocumentLayout, writeJsonDocument } from '~wildo-cli/kernel/json-document-output';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { AppBootstrapService } from '~wildo-cli/services/application/app-bootstrap.service';\nimport { describeScheduledJob, loadJobsCommandTarget } from './jobs-command.utils';\n\nexport default class LocalJobsCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'local jobs',\n description: \"List this application's scheduled jobs and the selector `wildo local jobs run` takes for each\",\n category: CommandCategory.Local,\n flags: {\n app: { type: 'string', description: 'Application slug (defaults to the single resolved app)', default: undefined },\n json: { type: 'boolean', description: 'Print the listing as one JSON document', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const target = await loadJobsCommandTarget(ctx, 'local jobs');\n if (!target) return { success: false, exitCode: 1 };\n\n try {\n const listing = await AppBootstrapService.listApplicationScheduledJobs(target.env, target.credentials, target.appSlug);\n if (ctx.flags.json === true) {\n writeJsonDocument(listing, JsonDocumentLayout.INDENTED);\n return { success: true };\n }\n\n ctx.log.info(chalk.cyan(`\\n Scheduled jobs of '${target.appSlug}' on the '${target.envName}' platform\\n`));\n if (listing.jobs.length === 0) {\n ctx.log.info(` none (the scheduler holds ${listing.platformScheduledTotal} job(s) across every application)`);\n if (listing.platformScheduledTotal === 0) {\n ctx.log.warn(' the scheduler holds no job for any application, so this says nothing about this one: has its backend booted?');\n }\n }\n for (const job of listing.jobs) ctx.log.info(` ${describeScheduledJob(job)}`);\n if (!listing.schedulerRunning) ctx.log.warn(' the scheduler is not running on the replica that answered');\n if (listing.jobs.length > 0) ctx.log.info(chalk.dim('\\n Run one now: wildo local jobs run <selector> (the variant may be left out when there is one)\\n'));\n return { success: true };\n } catch (error) {\n ctx.log.error(`Failed to list the scheduled jobs of '${target.appSlug}': ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false, exitCode: 1 };\n }\n }\n}\n"]}
@@ -0,0 +1,84 @@
1
+ import { BaseCommand } from '../../kernel/base-command';
2
+ import type { CommandContext, CommandMeta, CommandResult } from '../../kernel/types';
3
+ import { processIsTunnel, type CloudflaredRunner, type TunnelExtraRoute } from '../../services/application/local-tunnel.service';
4
+ /** The verbs of `wildo local tunnel`. */
5
+ export declare enum LocalTunnelAction {
6
+ UP = "up",
7
+ DOWN = "down",
8
+ STATUS = "status"
9
+ }
10
+ interface SaasServices {
11
+ services?: Record<string, {
12
+ path?: string;
13
+ serviceName?: string;
14
+ defaultPort?: number;
15
+ frontendType?: string;
16
+ }>;
17
+ minions?: Record<string, unknown>;
18
+ workers?: Record<string, unknown>;
19
+ }
20
+ /** What the command reaches outside itself, injectable for tests. */
21
+ export interface LocalTunnelEnvironment {
22
+ readonly runner: CloudflaredRunner;
23
+ readonly directory: string;
24
+ readonly isTunnel: typeof processIsTunnel;
25
+ readonly cloudflaredHome: string | undefined;
26
+ readonly credentialsExist: (path: string) => boolean;
27
+ readonly waitForConnection: (logPath: string, pid: number, configPath: string) => Promise<boolean>;
28
+ readonly waitForExit: (pid: number, configPath: string) => Promise<boolean>;
29
+ readonly loadConfig: (appRoot: string) => Promise<SaasServices>;
30
+ readonly regenerate: (appRoot: string, envName: string) => {
31
+ readonly regenerated: boolean;
32
+ readonly failure: string | null;
33
+ };
34
+ readonly signal: (appRoot: string, runtimes: readonly string[]) => Promise<string[]>;
35
+ }
36
+ export declare const systemLocalTunnelEnvironment: LocalTunnelEnvironment;
37
+ /** The application's backend port and its interactive frontend, from its own `wildo.saas.config.ts`. */
38
+ export declare function resolveApplicationTargets(config: SaasServices, frontendFlag: string | undefined): {
39
+ backendPort: number;
40
+ frontendServiceName: string;
41
+ };
42
+ /** `host=url` pairs, each a local service. */
43
+ export declare function parseTunnelExtras(values: readonly string[]): TunnelExtraRoute[];
44
+ /**
45
+ * `wildo local tunnel up | down | status` — give this application a public HTTPS origin through this machine's
46
+ * locally-managed Cloudflare tunnel, while it runs (#3907).
47
+ *
48
+ * - `up --hostname <app>-<machine>.wildo.ai [--tunnel <name>] [--frontend <service>] [--extra host=http://127.0.0.1:<port>]`:
49
+ * ensures the named tunnel (created on the first use with this machine's `cloudflared tunnel login`), routes the
50
+ * hostname to it (refusing a hostname whose record points elsewhere), writes the machine's ingress, (re)starts the ONE
51
+ * `cloudflared` process and waits for a registered connection, and only then records the state, regenerates the env
52
+ * files and restarts the backend, minions and workers through their supervisors. The companion is not restarted: its
53
+ * endpoints never follow the tunnel.
54
+ * - `down`: removes this application from the machine's tunnel, stops `cloudflared` when nothing is left (otherwise
55
+ * restarts it with the rest), regenerates and restarts the same runtimes, so the stack is back on localhost.
56
+ * - `status`: the application's and the machine's state, and whether the process is the live tunnel.
57
+ *
58
+ * When the recorded process is not the live tunnel (a crash, a reboot), `up` starts from this application alone: an
59
+ * entry another application left behind is never revived by someone else's `up` (#3907 review F3).
60
+ *
61
+ * Fail closed: only the protocol paths are forwarded (`TUNNEL_FORWARDED_API_PATHS`); everything else answers 404. Nothing
62
+ * here prints a credential. Exit codes: 0 done, 1 refused or failed.
63
+ */
64
+ export default class LocalTunnelCommand extends BaseCommand {
65
+ readonly meta: CommandMeta;
66
+ /** Overridable for tests. */
67
+ protected environment: LocalTunnelEnvironment;
68
+ run(ctx: CommandContext): Promise<CommandResult>;
69
+ /** The machine state, or `null` when its process is not the live tunnel (its entries are then not trusted). */
70
+ private liveMachine;
71
+ private up;
72
+ private down;
73
+ private status;
74
+ /**
75
+ * Write the ingress and (re)start the machine's one `cloudflared` process: the old one is stopped and has EXITED before
76
+ * the new one starts, so two connectors with different ingress never serve at once (review F12), and the new one has
77
+ * registered a connection before anything is recorded (review F5).
78
+ */
79
+ private restart;
80
+ /** Regenerate the env files and restart every runtime that reads the public origin, never the companion. */
81
+ private applyToRuntimes;
82
+ }
83
+ export {};
84
+ //# sourceMappingURL=tunnel.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tunnel.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/local/tunnel.command.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG1F,OAAO,EAML,eAAe,EAWf,KAAK,iBAAiB,EAEtB,KAAK,gBAAgB,EACtB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