@wildo-ai/dev-companion 1.1.3 → 1.1.5

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 (1095) hide show
  1. package/dist/esm/.tsbuildinfo +1 -1
  2. package/dist/esm/__time-gov.probe.d.mts +0 -0
  3. package/dist/esm/__time-gov.probe.d.mts.map +0 -0
  4. package/dist/esm/__time-gov.probe.mjs.map +0 -0
  5. package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts.map +1 -1
  6. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js +9 -3
  7. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -1
  8. package/dist/esm/brand/services/brand-accept.companion.service.d.ts +3 -24
  9. package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
  10. package/dist/esm/brand/services/brand-accept.companion.service.js +34 -53
  11. package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
  12. package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts +7 -0
  13. package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts.map +1 -1
  14. package/dist/esm/brand/services/logo-deliberation.companion.service.js +9 -8
  15. package/dist/esm/brand/services/logo-deliberation.companion.service.js.map +1 -1
  16. package/dist/esm/brand/services/logo-generation.companion.service.d.ts +6 -3
  17. package/dist/esm/brand/services/logo-generation.companion.service.d.ts.map +1 -1
  18. package/dist/esm/brand/services/logo-generation.companion.service.js +11 -12
  19. package/dist/esm/brand/services/logo-generation.companion.service.js.map +1 -1
  20. package/dist/esm/brand/utils/derived-brand-assets.d.ts +0 -1
  21. package/dist/esm/brand/utils/derived-brand-assets.d.ts.map +1 -1
  22. package/dist/esm/brand/utils/derived-brand-assets.js +1 -2
  23. package/dist/esm/brand/utils/derived-brand-assets.js.map +1 -1
  24. package/dist/esm/brand/utils/stage-brand-candidate.d.ts +7 -9
  25. package/dist/esm/brand/utils/stage-brand-candidate.d.ts.map +1 -1
  26. package/dist/esm/brand/utils/stage-brand-candidate.js +8 -11
  27. package/dist/esm/brand/utils/stage-brand-candidate.js.map +1 -1
  28. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts +143 -0
  29. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts.map +1 -0
  30. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js +84 -0
  31. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js.map +1 -0
  32. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +177 -14
  33. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
  34. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +215 -8
  35. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
  36. package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts +85 -0
  37. package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts.map +1 -0
  38. package/dist/esm/claude-cli/models/coding-session-frame-retention.js +122 -0
  39. package/dist/esm/claude-cli/models/coding-session-frame-retention.js.map +1 -0
  40. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts +98 -0
  41. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -0
  42. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js +135 -0
  43. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -0
  44. package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts +94 -0
  45. package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts.map +1 -0
  46. package/dist/esm/claude-cli/models/parked-question-answer.models.js +137 -0
  47. package/dist/esm/claude-cli/models/parked-question-answer.models.js.map +1 -0
  48. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts +16 -0
  49. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts.map +1 -0
  50. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js +46 -0
  51. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js.map +1 -0
  52. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts +46 -0
  53. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts.map +1 -0
  54. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js +135 -0
  55. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js.map +1 -0
  56. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +131 -0
  57. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -0
  58. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +371 -0
  59. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -0
  60. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +717 -76
  61. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
  62. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +2056 -388
  63. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
  64. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts +109 -0
  65. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts.map +1 -0
  66. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js +186 -0
  67. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js.map +1 -0
  68. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts +227 -29
  69. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
  70. package/dist/esm/claude-cli/services/git-change-set.companion.service.js +666 -125
  71. package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
  72. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts +57 -10
  73. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -1
  74. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js +127 -10
  75. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -1
  76. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts +16 -0
  77. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
  78. package/dist/esm/claude-cli/services/research-evidence-store.companion.js +17 -0
  79. package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
  80. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js +8 -1
  81. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -1
  82. package/dist/esm/companion-api/companion-api.schemas.d.ts +164 -87
  83. package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
  84. package/dist/esm/companion-api/companion-api.schemas.js +52 -6
  85. package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
  86. package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts +90 -0
  87. package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts.map +1 -0
  88. package/dist/esm/companion-api/controllers/companion-token-floor.policy.js +109 -0
  89. package/dist/esm/companion-api/controllers/companion-token-floor.policy.js.map +1 -0
  90. package/dist/esm/companion-api/controllers/companion.controller.d.ts +201 -16
  91. package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
  92. package/dist/esm/companion-api/controllers/companion.controller.js +660 -117
  93. package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
  94. package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts +47 -5
  95. package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts.map +1 -1
  96. package/dist/esm/core/auth/companion-auth-floor.companion.service.js +47 -5
  97. package/dist/esm/core/auth/companion-auth-floor.companion.service.js.map +1 -1
  98. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts +34 -0
  99. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts.map +1 -0
  100. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js +65 -0
  101. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js.map +1 -0
  102. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts +11 -1
  103. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts.map +1 -1
  104. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.js.map +1 -1
  105. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.d.ts.map +1 -1
  106. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js +10 -2
  107. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -1
  108. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts +54 -0
  109. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts.map +1 -0
  110. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js +78 -0
  111. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js.map +1 -0
  112. package/dist/esm/core/config/primary-language.companion.utils.d.ts +13 -0
  113. package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
  114. package/dist/esm/core/config/primary-language.companion.utils.js +12 -0
  115. package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
  116. package/dist/esm/core/context/companion-context.d.ts.map +1 -1
  117. package/dist/esm/core/context/companion-context.js +4 -0
  118. package/dist/esm/core/context/companion-context.js.map +1 -1
  119. package/dist/esm/core/context/companion-package-loaders.companion.d.ts +57 -0
  120. package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
  121. package/dist/esm/core/context/companion-package-loaders.companion.js +181 -7
  122. package/dist/esm/core/context/companion-package-loaders.companion.js.map +1 -1
  123. package/dist/esm/core/context/draft-family-values.companion.d.ts +23 -0
  124. package/dist/esm/core/context/draft-family-values.companion.d.ts.map +1 -0
  125. package/dist/esm/core/context/draft-family-values.companion.js +49 -0
  126. package/dist/esm/core/context/draft-family-values.companion.js.map +1 -0
  127. package/dist/esm/core/inject/models/container.d.ts.map +1 -1
  128. package/dist/esm/core/inject/models/container.js +28 -11
  129. package/dist/esm/core/inject/models/container.js.map +1 -1
  130. package/dist/esm/core/inject/models/service-types.d.ts +12 -3
  131. package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
  132. package/dist/esm/core/inject/models/service-types.js +14 -3
  133. package/dist/esm/core/inject/models/service-types.js.map +1 -1
  134. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -1
  135. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js +74 -2
  136. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js.map +1 -1
  137. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts +37 -1
  138. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -1
  139. package/dist/esm/core/introspection/models/companion-introspection.models.js +55 -0
  140. package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
  141. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts +93 -0
  142. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -0
  143. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +290 -0
  144. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -0
  145. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -1
  146. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js +636 -18
  147. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js.map +1 -1
  148. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts +592 -17
  149. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
  150. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +1425 -94
  151. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
  152. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts +61 -4
  153. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts.map +1 -1
  154. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js +136 -10
  155. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js.map +1 -1
  156. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -1
  157. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js +11 -0
  158. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -1
  159. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts +21 -0
  160. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts.map +1 -1
  161. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js +63 -4
  162. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
  163. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts.map +1 -1
  164. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js +11 -3
  165. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js.map +1 -1
  166. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts +15 -5
  167. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
  168. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js +28 -15
  169. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
  170. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts +24 -0
  171. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts.map +1 -1
  172. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js +29 -5
  173. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js.map +1 -1
  174. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts +116 -0
  175. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts.map +1 -0
  176. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js +223 -0
  177. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js.map +1 -0
  178. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts +13 -15
  179. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts.map +1 -1
  180. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js.map +1 -1
  181. package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts +2 -1
  182. package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts.map +1 -1
  183. package/dist/esm/core/introspection/subprocess/assertions.behavior.js.map +1 -1
  184. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
  185. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +85 -51
  186. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
  187. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts +14 -5
  188. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts.map +1 -1
  189. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js +14 -5
  190. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -1
  191. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts +33 -0
  192. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts.map +1 -0
  193. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js +59 -0
  194. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js.map +1 -0
  195. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts +12 -0
  196. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts.map +1 -1
  197. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.head-parity.tmp.d.ts +0 -0
  198. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.head-parity.tmp.d.ts.map +0 -0
  199. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.head-parity.tmp.js.map +0 -0
  200. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js +46 -102
  201. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js.map +1 -1
  202. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts +15 -0
  203. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts.map +1 -1
  204. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js +140 -46
  205. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js.map +1 -1
  206. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts +65 -2
  207. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts.map +1 -1
  208. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js +292 -49
  209. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
  210. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts +79 -0
  211. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts.map +1 -0
  212. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js +49 -0
  213. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js.map +1 -0
  214. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
  215. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js +314 -212
  216. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -1
  217. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts +72 -0
  218. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts.map +1 -0
  219. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js +123 -0
  220. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js.map +1 -0
  221. package/dist/esm/core/introspection/workspace-element-index.companion.d.ts +184 -0
  222. package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -0
  223. package/dist/esm/core/introspection/workspace-element-index.companion.js +311 -0
  224. package/dist/esm/core/introspection/workspace-element-index.companion.js.map +1 -0
  225. package/dist/esm/core/introspection/workspace-elements.companion.d.ts +54 -0
  226. package/dist/esm/core/introspection/workspace-elements.companion.d.ts.map +1 -0
  227. package/dist/esm/core/introspection/workspace-elements.companion.js +43 -0
  228. package/dist/esm/core/introspection/workspace-elements.companion.js.map +1 -0
  229. package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts +23 -0
  230. package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts.map +1 -1
  231. package/dist/esm/core/lock/wildo-saas-lock.companion.service.js +23 -0
  232. package/dist/esm/core/lock/wildo-saas-lock.companion.service.js.map +1 -1
  233. package/dist/esm/core/lock/wildo-saas-lock.models.d.ts +7 -0
  234. package/dist/esm/core/lock/wildo-saas-lock.models.d.ts.map +1 -1
  235. package/dist/esm/core/lock/wildo-saas-lock.models.js.map +1 -1
  236. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts +3 -0
  237. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts.map +1 -1
  238. package/dist/esm/core/lock/wildo-saas-lock.schemas.js +1 -0
  239. package/dist/esm/core/lock/wildo-saas-lock.schemas.js.map +1 -1
  240. package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts +31 -0
  241. package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts.map +1 -0
  242. package/dist/esm/core/runtime/application-runtime-liveness.companion.js +53 -0
  243. package/dist/esm/core/runtime/application-runtime-liveness.companion.js.map +1 -0
  244. package/dist/esm/core/runtime/companion-startup-assembly.d.ts.map +1 -1
  245. package/dist/esm/core/runtime/companion-startup-assembly.js +35 -1
  246. package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
  247. package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts +54 -0
  248. package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts.map +1 -0
  249. package/dist/esm/core/runtime/services/file-storage-initialization.companion.js +54 -0
  250. package/dist/esm/core/runtime/services/file-storage-initialization.companion.js.map +1 -0
  251. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +26 -14
  252. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
  253. package/dist/esm/core/runtime/services/start-companion-application.service.js +243 -67
  254. package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
  255. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts +3 -3
  256. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
  257. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js +35 -10
  258. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
  259. package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts +0 -4
  260. package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts.map +1 -1
  261. package/dist/esm/core/specifications/cross-registry-rendering.shared.js +0 -4
  262. package/dist/esm/core/specifications/cross-registry-rendering.shared.js.map +1 -1
  263. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.d.ts.map +1 -1
  264. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.js.map +1 -1
  265. package/dist/esm/core/specifications/onboarding-element-rendering.shared.d.ts.map +1 -1
  266. package/dist/esm/core/specifications/onboarding-element-rendering.shared.js +6 -34
  267. package/dist/esm/core/specifications/onboarding-element-rendering.shared.js.map +1 -1
  268. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.d.ts.map +1 -1
  269. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.js.map +1 -1
  270. package/dist/esm/core/specifications/resource-specification-context.factory.d.ts.map +1 -1
  271. package/dist/esm/core/specifications/resource-specification-context.factory.js +2 -0
  272. package/dist/esm/core/specifications/resource-specification-context.factory.js.map +1 -1
  273. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts +4 -2
  274. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts.map +1 -1
  275. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js +16 -6
  276. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js.map +1 -1
  277. package/dist/esm/core/traceability/companion-traceability.service.d.ts +21 -1
  278. package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -1
  279. package/dist/esm/core/traceability/companion-traceability.service.js +25 -1
  280. package/dist/esm/core/traceability/companion-traceability.service.js.map +1 -1
  281. package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts +45 -0
  282. package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts.map +1 -0
  283. package/dist/esm/core/utils/derived-input-signature.companion.utils.js +96 -0
  284. package/dist/esm/core/utils/derived-input-signature.companion.utils.js.map +1 -0
  285. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts +35 -0
  286. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts.map +1 -0
  287. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js +118 -0
  288. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js.map +1 -0
  289. package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts +34 -0
  290. package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -0
  291. package/dist/esm/creation-conversation/creation-conversation.function-tools.js +280 -0
  292. package/dist/esm/creation-conversation/creation-conversation.function-tools.js.map +1 -0
  293. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
  294. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js +13 -3
  295. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
  296. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts +19 -1
  297. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
  298. package/dist/esm/deliberations/services/deliberation.companion.service.js +61 -10
  299. package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
  300. package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts +3 -1
  301. package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts.map +1 -1
  302. package/dist/esm/deliberations/services/structured-deliberation.companion.service.js +7 -4
  303. package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -1
  304. package/dist/esm/email/models/email-template.actors-system.definitions.d.ts.map +1 -1
  305. package/dist/esm/email/models/email-template.actors-system.definitions.js +4 -2
  306. package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -1
  307. package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts +1 -1
  308. package/dist/esm/email/services/email-spec-context-loader.companion.service.js +1 -1
  309. package/dist/esm/email/services/email-spec-context-loader.companion.service.js.map +1 -1
  310. package/dist/esm/email/services/email-template.companion.service.d.ts +30 -0
  311. package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
  312. package/dist/esm/email/services/email-template.companion.service.js +92 -19
  313. package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
  314. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts +34 -0
  315. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts.map +1 -0
  316. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js +130 -0
  317. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js.map +1 -0
  318. package/dist/esm/executions/services/companion-executions.companion.service.d.ts +117 -5
  319. package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
  320. package/dist/esm/executions/services/companion-executions.companion.service.js +263 -10
  321. package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
  322. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -1
  323. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js +7 -3
  324. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -1
  325. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -1
  326. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js +11 -5
  327. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -1
  328. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts +14 -24
  329. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
  330. package/dist/esm/expert-personas/services/expert-persona.companion.service.js +69 -68
  331. package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
  332. package/dist/esm/expert-personas/services/persona-source-ownership.d.ts +8 -0
  333. package/dist/esm/expert-personas/services/persona-source-ownership.d.ts.map +1 -0
  334. package/dist/esm/expert-personas/services/persona-source-ownership.js +83 -0
  335. package/dist/esm/expert-personas/services/persona-source-ownership.js.map +1 -0
  336. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts +1 -1
  337. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js +1 -1
  338. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js.map +1 -1
  339. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts +4 -4
  340. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js +4 -4
  341. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js.map +1 -1
  342. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts +2 -2
  343. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js +2 -2
  344. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js.map +1 -1
  345. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts +4 -2
  346. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts.map +1 -1
  347. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js +5 -3
  348. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js.map +1 -1
  349. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts +2 -1
  350. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts.map +1 -1
  351. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js +2 -1
  352. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js.map +1 -1
  353. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts +1 -1
  354. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js +1 -1
  355. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js.map +1 -1
  356. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts +6 -5
  357. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  358. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js +7 -6
  359. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js.map +1 -1
  360. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts +3 -3
  361. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js +3 -3
  362. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js.map +1 -1
  363. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts +2 -2
  364. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js +2 -2
  365. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js.map +1 -1
  366. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts +2 -1
  367. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts.map +1 -1
  368. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js +2 -1
  369. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js.map +1 -1
  370. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts +1 -1
  371. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js +1 -1
  372. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js.map +1 -1
  373. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts +1 -1
  374. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js +1 -1
  375. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js.map +1 -1
  376. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts +43 -0
  377. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts.map +1 -0
  378. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js +43 -0
  379. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js.map +1 -0
  380. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts +26 -0
  381. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts.map +1 -0
  382. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js +26 -0
  383. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js.map +1 -0
  384. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts +18 -0
  385. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts.map +1 -0
  386. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js +18 -0
  387. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js.map +1 -0
  388. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts +3 -3
  389. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js +3 -3
  390. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js.map +1 -1
  391. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts +1 -1
  392. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js +1 -1
  393. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js.map +1 -1
  394. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts +2 -2
  395. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js +2 -2
  396. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js.map +1 -1
  397. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts +4 -1
  398. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts.map +1 -1
  399. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js +4 -1
  400. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js.map +1 -1
  401. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts +10 -10
  402. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js +10 -10
  403. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js.map +1 -1
  404. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts +25 -13
  405. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts.map +1 -1
  406. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js +26 -14
  407. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js.map +1 -1
  408. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts +1 -0
  409. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts.map +1 -1
  410. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js +2 -1
  411. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js.map +1 -1
  412. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts +17 -0
  413. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts.map +1 -0
  414. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js +17 -0
  415. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js.map +1 -0
  416. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts +5 -5
  417. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js +5 -5
  418. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js.map +1 -1
  419. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts +1 -1
  420. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js +1 -1
  421. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js.map +1 -1
  422. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts +1 -1
  423. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js +1 -1
  424. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js.map +1 -1
  425. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts +16 -2
  426. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts.map +1 -1
  427. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js +16 -2
  428. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js.map +1 -1
  429. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts +3 -3
  430. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js +3 -3
  431. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js.map +1 -1
  432. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts +8 -8
  433. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js +8 -8
  434. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js.map +1 -1
  435. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts +14 -14
  436. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js +14 -14
  437. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
  438. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts +22 -6
  439. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
  440. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js +23 -7
  441. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
  442. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts +2 -2
  443. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js +2 -2
  444. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js.map +1 -1
  445. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts +1 -1
  446. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js +1 -1
  447. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js.map +1 -1
  448. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts +1 -1
  449. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js +1 -1
  450. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js.map +1 -1
  451. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts +1 -1
  452. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js +1 -1
  453. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js.map +1 -1
  454. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts +2 -2
  455. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js +2 -2
  456. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js.map +1 -1
  457. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts +21 -0
  458. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts.map +1 -0
  459. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js +21 -0
  460. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js.map +1 -0
  461. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts +1 -1
  462. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js +1 -1
  463. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js.map +1 -1
  464. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts +1 -1
  465. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js +1 -1
  466. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js.map +1 -1
  467. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts +2 -2
  468. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js +2 -2
  469. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js.map +1 -1
  470. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts +1 -1
  471. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js +1 -1
  472. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js.map +1 -1
  473. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts +4 -5
  474. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts.map +1 -1
  475. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js +4 -5
  476. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js.map +1 -1
  477. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts +4 -4
  478. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js +4 -4
  479. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js.map +1 -1
  480. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts +2 -2
  481. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js +2 -2
  482. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js.map +1 -1
  483. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts +1 -1
  484. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js +1 -1
  485. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js.map +1 -1
  486. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts +1 -0
  487. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts.map +1 -1
  488. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js +2 -1
  489. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js.map +1 -1
  490. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts +12 -6
  491. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +1 -1
  492. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js +12 -6
  493. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +1 -1
  494. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts +1 -0
  495. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts.map +1 -1
  496. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js +2 -1
  497. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js.map +1 -1
  498. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts +3 -2
  499. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts.map +1 -1
  500. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js +4 -3
  501. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js.map +1 -1
  502. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts +3 -2
  503. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts.map +1 -1
  504. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js +4 -3
  505. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js.map +1 -1
  506. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts +3 -1
  507. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts.map +1 -1
  508. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js +4 -2
  509. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js.map +1 -1
  510. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts +3 -3
  511. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js +3 -3
  512. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js.map +1 -1
  513. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts +1 -1
  514. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js +1 -1
  515. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js.map +1 -1
  516. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts +3 -3
  517. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js +3 -3
  518. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
  519. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts +15 -0
  520. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts.map +1 -0
  521. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js +15 -0
  522. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js.map +1 -0
  523. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts +12 -0
  524. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts.map +1 -0
  525. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js +12 -0
  526. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js.map +1 -0
  527. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts +1 -1
  528. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js +1 -1
  529. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js.map +1 -1
  530. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts +1 -1
  531. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js +1 -1
  532. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js.map +1 -1
  533. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts +4 -3
  534. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts.map +1 -1
  535. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js +4 -3
  536. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js.map +1 -1
  537. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts +1 -1
  538. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js +1 -1
  539. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js.map +1 -1
  540. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts +3 -0
  541. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts.map +1 -1
  542. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js +4 -1
  543. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js.map +1 -1
  544. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts +1 -1
  545. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js +1 -1
  546. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js.map +1 -1
  547. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts +1 -1
  548. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js +1 -1
  549. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js.map +1 -1
  550. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts +1 -1
  551. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js +1 -1
  552. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js.map +1 -1
  553. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts +1 -1
  554. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js +1 -1
  555. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js.map +1 -1
  556. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts +1 -1
  557. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js +1 -1
  558. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js.map +1 -1
  559. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts +1 -1
  560. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js +1 -1
  561. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js.map +1 -1
  562. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts +22 -0
  563. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts.map +1 -0
  564. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js +22 -0
  565. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js.map +1 -0
  566. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts +2 -2
  567. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js +2 -2
  568. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js.map +1 -1
  569. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts +6 -6
  570. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js +6 -6
  571. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js.map +1 -1
  572. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts +3 -3
  573. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js +3 -3
  574. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js.map +1 -1
  575. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts +15 -8
  576. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts.map +1 -1
  577. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js +16 -9
  578. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js.map +1 -1
  579. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts +20 -0
  580. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts.map +1 -0
  581. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js +20 -0
  582. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js.map +1 -0
  583. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts +1 -1
  584. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js +1 -1
  585. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js.map +1 -1
  586. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts +39 -20
  587. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts.map +1 -1
  588. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js +39 -20
  589. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js.map +1 -1
  590. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts +5 -5
  591. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js +5 -5
  592. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js.map +1 -1
  593. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts +1 -1
  594. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js +1 -1
  595. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js.map +1 -1
  596. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts +13 -0
  597. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts.map +1 -0
  598. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js +13 -0
  599. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js.map +1 -0
  600. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts +13 -0
  601. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts.map +1 -0
  602. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js +13 -0
  603. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js.map +1 -0
  604. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts +3 -3
  605. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js +3 -3
  606. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js.map +1 -1
  607. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts +15 -0
  608. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts.map +1 -0
  609. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js +15 -0
  610. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js.map +1 -0
  611. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts +5 -3
  612. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts.map +1 -1
  613. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js +6 -4
  614. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js.map +1 -1
  615. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts +10 -9
  616. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts.map +1 -1
  617. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js +11 -10
  618. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js.map +1 -1
  619. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts +39 -0
  620. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts.map +1 -0
  621. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js +39 -0
  622. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js.map +1 -0
  623. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts +5 -5
  624. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js +5 -5
  625. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js.map +1 -1
  626. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts +6 -6
  627. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js +6 -6
  628. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -1
  629. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts +7 -7
  630. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js +7 -7
  631. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js.map +1 -1
  632. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts +1 -1
  633. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js +1 -1
  634. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js.map +1 -1
  635. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts +1 -1
  636. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js +1 -1
  637. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js.map +1 -1
  638. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts +4 -4
  639. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js +4 -4
  640. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js.map +1 -1
  641. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts +24 -0
  642. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts.map +1 -0
  643. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js +24 -0
  644. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js.map +1 -0
  645. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts +6 -4
  646. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
  647. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js +6 -4
  648. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -1
  649. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts +14 -10
  650. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts.map +1 -1
  651. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js +14 -10
  652. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
  653. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts +6 -6
  654. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js +6 -6
  655. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js.map +1 -1
  656. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts +11 -8
  657. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts.map +1 -1
  658. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js +12 -9
  659. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js.map +1 -1
  660. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts +9 -8
  661. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts.map +1 -1
  662. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js +9 -8
  663. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js.map +1 -1
  664. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts +25 -9
  665. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts.map +1 -1
  666. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js +25 -9
  667. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js.map +1 -1
  668. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts +1 -1
  669. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js +1 -1
  670. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js.map +1 -1
  671. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts +2 -2
  672. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js +2 -2
  673. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js.map +1 -1
  674. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts +1 -0
  675. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts.map +1 -1
  676. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js +2 -1
  677. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js.map +1 -1
  678. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts +25 -24
  679. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -1
  680. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js +26 -25
  681. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js.map +1 -1
  682. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts +1 -1
  683. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js +1 -1
  684. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js.map +1 -1
  685. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts +3 -1
  686. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
  687. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js +4 -2
  688. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
  689. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts +2 -2
  690. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js +2 -2
  691. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js.map +1 -1
  692. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts +11 -11
  693. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js +11 -11
  694. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
  695. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts +1 -1
  696. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js +1 -1
  697. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js.map +1 -1
  698. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts +12 -0
  699. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts.map +1 -1
  700. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js +13 -1
  701. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js.map +1 -1
  702. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts +6 -6
  703. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js +6 -6
  704. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js.map +1 -1
  705. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts +2 -2
  706. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js +2 -2
  707. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js.map +1 -1
  708. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts +2 -2
  709. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js +2 -2
  710. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js.map +1 -1
  711. package/dist/esm/i18n/components/guidance_banner.en.d.ts +1 -1
  712. package/dist/esm/i18n/components/guidance_banner.en.js +1 -1
  713. package/dist/esm/i18n/components/guidance_banner.en.js.map +1 -1
  714. package/dist/esm/i18n/components/guidance_checklist.en.d.ts +2 -2
  715. package/dist/esm/i18n/components/guidance_checklist.en.js +2 -2
  716. package/dist/esm/i18n/components/guidance_checklist.en.js.map +1 -1
  717. package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts +1 -0
  718. package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts.map +1 -1
  719. package/dist/esm/i18n/components/guidance_checklist_item.en.js +2 -1
  720. package/dist/esm/i18n/components/guidance_checklist_item.en.js.map +1 -1
  721. package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts +1 -1
  722. package/dist/esm/i18n/components/guidance_onboarding_view.en.js +1 -1
  723. package/dist/esm/i18n/components/guidance_onboarding_view.en.js.map +1 -1
  724. package/dist/esm/i18n/components/guidance_survey.en.d.ts +1 -0
  725. package/dist/esm/i18n/components/guidance_survey.en.d.ts.map +1 -1
  726. package/dist/esm/i18n/components/guidance_survey.en.js +2 -1
  727. package/dist/esm/i18n/components/guidance_survey.en.js.map +1 -1
  728. package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts +1 -1
  729. package/dist/esm/i18n/components/progression_achievement_badge.en.js +1 -1
  730. package/dist/esm/i18n/components/progression_achievement_badge.en.js.map +1 -1
  731. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts +5 -1
  732. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
  733. package/dist/esm/i18n/components/progression_milestone_tracker.en.js +6 -2
  734. package/dist/esm/i18n/components/progression_milestone_tracker.en.js.map +1 -1
  735. package/dist/esm/i18n/composite_views/app.creation-board.en.d.ts +0 -13
  736. package/dist/esm/i18n/composite_views/app.creation-board.en.d.ts.map +0 -1
  737. package/dist/esm/i18n/composite_views/app.creation-board.en.js.map +0 -1
  738. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts +17 -0
  739. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts.map +1 -0
  740. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js +252 -0
  741. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js.map +1 -0
  742. package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts +15 -0
  743. package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts.map +1 -0
  744. package/dist/esm/i18n/composite_views/app.creation-dossier.en.js +58 -0
  745. package/dist/esm/i18n/composite_views/app.creation-dossier.en.js.map +1 -0
  746. package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts +96 -0
  747. package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts.map +1 -0
  748. package/dist/esm/i18n/errors_messages/errors-messages.en.js +54 -0
  749. package/dist/esm/i18n/errors_messages/errors-messages.en.js.map +1 -0
  750. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts +2014 -1
  751. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
  752. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js +516 -0
  753. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
  754. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts +878 -8
  755. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
  756. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js +247 -0
  757. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js.map +1 -1
  758. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts +504 -1
  759. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
  760. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js +153 -0
  761. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js.map +1 -1
  762. package/dist/esm/i18n/resources/workbenchAspects.en.d.ts +78 -0
  763. package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -0
  764. package/dist/esm/i18n/resources/workbenchAspects.en.js +255 -0
  765. package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -0
  766. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts +149 -0
  767. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts.map +1 -0
  768. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js +79 -0
  769. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js.map +1 -0
  770. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts +89 -0
  771. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts.map +1 -0
  772. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js +74 -0
  773. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js.map +1 -0
  774. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts +70 -5
  775. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
  776. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js +67 -0
  777. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js.map +1 -1
  778. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts +80 -0
  779. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts.map +1 -0
  780. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js +50 -0
  781. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js.map +1 -0
  782. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts +95 -0
  783. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts.map +1 -0
  784. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js +54 -0
  785. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js.map +1 -0
  786. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts +95 -0
  787. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts.map +1 -0
  788. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js +51 -0
  789. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js.map +1 -0
  790. package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts +1 -1
  791. package/dist/esm/i18n/resources/workbenchDomainResources.en.js +2 -2
  792. package/dist/esm/i18n/resources/workbenchDomainResources.en.js.map +1 -1
  793. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts +108 -0
  794. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -0
  795. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js +61 -0
  796. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -0
  797. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts +99 -0
  798. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts.map +1 -0
  799. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js +87 -0
  800. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js.map +1 -0
  801. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts +121 -0
  802. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts.map +1 -0
  803. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js +84 -0
  804. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js.map +1 -0
  805. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts +83 -0
  806. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts.map +1 -0
  807. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js +71 -0
  808. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js.map +1 -0
  809. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts +159 -0
  810. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts.map +1 -0
  811. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js +103 -0
  812. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js.map +1 -0
  813. package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts +142 -6
  814. package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
  815. package/dist/esm/i18n/resources/workbenchPlaybooks.en.js +103 -0
  816. package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -1
  817. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts +94 -4
  818. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
  819. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js +79 -0
  820. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js.map +1 -1
  821. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +5074 -257
  822. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
  823. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +1201 -44
  824. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
  825. package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts +86 -3
  826. package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -1
  827. package/dist/esm/i18n/resources/workbenchTraceSessions.en.js +90 -0
  828. package/dist/esm/i18n/resources/workbenchTraceSessions.en.js.map +1 -1
  829. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts +97 -0
  830. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts.map +1 -0
  831. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js +77 -0
  832. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js.map +1 -0
  833. package/dist/esm/i18n/system_enums/application-creation.en.d.ts +272 -0
  834. package/dist/esm/i18n/system_enums/application-creation.en.d.ts.map +1 -0
  835. package/dist/esm/i18n/system_enums/application-creation.en.js +319 -0
  836. package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -0
  837. package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts +154 -0
  838. package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts.map +1 -0
  839. package/dist/esm/i18n/system_enums/compliance-programme.en.js +154 -0
  840. package/dist/esm/i18n/system_enums/compliance-programme.en.js.map +1 -0
  841. package/dist/esm/i18n/system_enums/flows-actors.en.d.ts +54 -0
  842. package/dist/esm/i18n/system_enums/flows-actors.en.d.ts.map +1 -0
  843. package/dist/esm/i18n/system_enums/flows-actors.en.js +54 -0
  844. package/dist/esm/i18n/system_enums/flows-actors.en.js.map +1 -0
  845. package/dist/esm/i18n/system_enums/market.en.d.ts +12 -2
  846. package/dist/esm/i18n/system_enums/market.en.d.ts.map +1 -1
  847. package/dist/esm/i18n/system_enums/market.en.js +12 -2
  848. package/dist/esm/i18n/system_enums/market.en.js.map +1 -1
  849. package/dist/esm/i18n/system_enums/processor-register.en.d.ts +43 -0
  850. package/dist/esm/i18n/system_enums/processor-register.en.d.ts.map +1 -0
  851. package/dist/esm/i18n/system_enums/processor-register.en.js +43 -0
  852. package/dist/esm/i18n/system_enums/processor-register.en.js.map +1 -0
  853. package/dist/esm/i18n/system_enums/risk-register.en.d.ts +56 -0
  854. package/dist/esm/i18n/system_enums/risk-register.en.d.ts.map +1 -0
  855. package/dist/esm/i18n/system_enums/risk-register.en.js +56 -0
  856. package/dist/esm/i18n/system_enums/risk-register.en.js.map +1 -0
  857. package/dist/esm/i18n/system_enums/workbench-build.en.d.ts +50 -0
  858. package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -0
  859. package/dist/esm/i18n/system_enums/workbench-build.en.js +55 -0
  860. package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -0
  861. package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts +47 -0
  862. package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -0
  863. package/dist/esm/i18n/system_enums/workbench-creation-home.en.js +48 -0
  864. package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -0
  865. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts +18 -0
  866. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts.map +1 -0
  867. package/dist/esm/i18n/system_enums/workbench-dossier.en.js +18 -0
  868. package/dist/esm/i18n/system_enums/workbench-dossier.en.js.map +1 -0
  869. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts +29 -0
  870. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts.map +1 -0
  871. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js +29 -0
  872. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js.map +1 -0
  873. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts +24 -0
  874. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts.map +1 -0
  875. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js +24 -0
  876. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js.map +1 -0
  877. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts +106 -0
  878. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
  879. package/dist/esm/i18n-labelling/models/labelling-unit.models.js +69 -0
  880. package/dist/esm/i18n-labelling/models/labelling-unit.models.js.map +1 -1
  881. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts.map +1 -1
  882. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js +8 -3
  883. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -1
  884. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts +68 -4
  885. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
  886. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js +320 -88
  887. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
  888. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts +11 -11
  889. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts.map +1 -1
  890. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js +61 -44
  891. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js.map +1 -1
  892. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts +139 -2
  893. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -1
  894. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js +521 -42
  895. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js.map +1 -1
  896. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -1
  897. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js +156 -36
  898. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
  899. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts +91 -0
  900. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts.map +1 -0
  901. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js +149 -0
  902. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js.map +1 -0
  903. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts +27 -0
  904. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -0
  905. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js +44 -0
  906. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -0
  907. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts +27 -0
  908. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts.map +1 -1
  909. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js +27 -0
  910. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js.map +1 -1
  911. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts +12 -0
  912. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts.map +1 -1
  913. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js +58 -1
  914. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js.map +1 -1
  915. package/dist/esm/i18n-labelling/utils/label-file-source.utils.d.ts.map +1 -1
  916. package/dist/esm/i18n-labelling/utils/label-file-source.utils.js +19 -0
  917. package/dist/esm/i18n-labelling/utils/label-file-source.utils.js.map +1 -1
  918. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts +143 -0
  919. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts.map +1 -0
  920. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js +179 -0
  921. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js.map +1 -0
  922. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts +154 -0
  923. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts.map +1 -0
  924. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js +174 -0
  925. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js.map +1 -0
  926. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts.map +1 -1
  927. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js +10 -0
  928. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js.map +1 -1
  929. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts +108 -1
  930. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -1
  931. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js +289 -104
  932. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
  933. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts +11 -0
  934. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.map +1 -1
  935. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js +27 -3
  936. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js.map +1 -1
  937. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts +29 -0
  938. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts.map +1 -0
  939. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js +59 -0
  940. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js.map +1 -0
  941. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts +117 -3
  942. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
  943. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js +277 -55
  944. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
  945. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts +27 -1
  946. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -1
  947. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js +43 -8
  948. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -1
  949. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts +50 -0
  950. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts.map +1 -0
  951. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js +116 -0
  952. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -0
  953. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts +46 -0
  954. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts.map +1 -0
  955. package/dist/esm/meta-workflows/models/build-task-rearm.models.js +43 -0
  956. package/dist/esm/meta-workflows/models/build-task-rearm.models.js.map +1 -0
  957. package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts +34 -0
  958. package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts.map +1 -0
  959. package/dist/esm/meta-workflows/models/carried-verification-failure.models.js +59 -0
  960. package/dist/esm/meta-workflows/models/carried-verification-failure.models.js.map +1 -0
  961. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts +65 -0
  962. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts.map +1 -0
  963. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js +83 -0
  964. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js.map +1 -0
  965. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts +69 -7
  966. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -1
  967. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js +70 -7
  968. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js.map +1 -1
  969. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts.map +1 -1
  970. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js +36 -9
  971. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js.map +1 -1
  972. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts +208 -0
  973. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts.map +1 -0
  974. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js +273 -0
  975. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js.map +1 -0
  976. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts +356 -0
  977. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts.map +1 -0
  978. package/dist/esm/meta-workflows/models/playbook-run-record.models.js +417 -0
  979. package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -0
  980. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts +14 -0
  981. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts.map +1 -0
  982. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js +21 -0
  983. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js.map +1 -0
  984. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts.map +1 -1
  985. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js +3 -1
  986. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js.map +1 -1
  987. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts +65 -0
  988. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts.map +1 -0
  989. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js +148 -0
  990. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js.map +1 -0
  991. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +933 -36
  992. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
  993. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +2092 -134
  994. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
  995. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +183 -23
  996. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
  997. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +422 -6
  998. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
  999. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts +402 -16
  1000. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
  1001. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js +1398 -70
  1002. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
  1003. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts +47 -0
  1004. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts.map +1 -0
  1005. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js +103 -0
  1006. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js.map +1 -0
  1007. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts +29 -0
  1008. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts.map +1 -0
  1009. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js +88 -0
  1010. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js.map +1 -0
  1011. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts +47 -0
  1012. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map +1 -0
  1013. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js +102 -0
  1014. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map +1 -0
  1015. package/dist/esm/meta-workflows/services/creator-inputs.companion.service.d.ts +0 -0
  1016. package/dist/esm/meta-workflows/services/creator-inputs.companion.service.d.ts.map +0 -0
  1017. package/dist/esm/meta-workflows/services/creator-inputs.companion.service.js.map +0 -0
  1018. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts +81 -0
  1019. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -0
  1020. package/dist/esm/meta-workflows/services/dossier.companion.service.js +231 -0
  1021. package/dist/esm/meta-workflows/services/dossier.companion.service.js.map +1 -0
  1022. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts +36 -0
  1023. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts.map +1 -0
  1024. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js +72 -0
  1025. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js.map +1 -0
  1026. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts +82 -1
  1027. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts.map +1 -1
  1028. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js +200 -31
  1029. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js.map +1 -1
  1030. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts +16 -0
  1031. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts.map +1 -0
  1032. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js +29 -0
  1033. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js.map +1 -0
  1034. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts +196 -1
  1035. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
  1036. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js +380 -10
  1037. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
  1038. package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts +2 -0
  1039. package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts.map +1 -0
  1040. package/dist/esm/meta-workflows/services/landed-module-import.companion.js +36 -0
  1041. package/dist/esm/meta-workflows/services/landed-module-import.companion.js.map +1 -0
  1042. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts +57 -0
  1043. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -1
  1044. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js +83 -3
  1045. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js.map +1 -1
  1046. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +980 -167
  1047. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
  1048. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +3410 -409
  1049. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
  1050. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts +100 -0
  1051. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts.map +1 -0
  1052. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js +156 -0
  1053. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js.map +1 -0
  1054. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts +49 -0
  1055. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts.map +1 -0
  1056. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js +93 -0
  1057. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js.map +1 -0
  1058. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts +45 -0
  1059. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts.map +1 -0
  1060. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js +145 -0
  1061. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js.map +1 -0
  1062. package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts +148 -9
  1063. package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts.map +1 -1
  1064. package/dist/esm/technical-doc/services/technical-doc.companion.service.js +317 -85
  1065. package/dist/esm/technical-doc/services/technical-doc.companion.service.js.map +1 -1
  1066. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts +27 -6
  1067. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts.map +1 -1
  1068. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js +211 -20
  1069. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js.map +1 -1
  1070. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts +2 -1
  1071. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -1
  1072. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js +10 -2
  1073. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -1
  1074. package/package.json +18 -18
  1075. package/dist/esm/core/runtime/companion-startup-composition-fence.d.ts +0 -44
  1076. package/dist/esm/core/runtime/companion-startup-composition-fence.d.ts.map +0 -1
  1077. package/dist/esm/core/runtime/companion-startup-composition-fence.js +0 -85
  1078. package/dist/esm/core/runtime/companion-startup-composition-fence.js.map +0 -1
  1079. package/dist/esm/expert-personas/utils/canonical-json.d.ts +0 -25
  1080. package/dist/esm/expert-personas/utils/canonical-json.d.ts.map +0 -1
  1081. package/dist/esm/expert-personas/utils/canonical-json.js +0 -45
  1082. package/dist/esm/expert-personas/utils/canonical-json.js.map +0 -1
  1083. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PROMOTION_CODE_INPUT.en.d.ts +0 -17
  1084. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PROMOTION_CODE_INPUT.en.d.ts.map +0 -1
  1085. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PROMOTION_CODE_INPUT.en.js +0 -17
  1086. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PROMOTION_CODE_INPUT.en.js.map +0 -1
  1087. package/dist/esm/i18n/composite_views/app.creation-board.en.js +0 -91
  1088. package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.d.ts +0 -92
  1089. package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.d.ts.map +0 -1
  1090. package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.js +0 -178
  1091. package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.js.map +0 -1
  1092. package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.d.ts +0 -107
  1093. package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.d.ts.map +0 -1
  1094. package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.js +0 -188
  1095. package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.js.map +0 -1
@@ -2,6 +2,7 @@ import { z } from 'zod';
2
2
  import { Actors_Task_Schema, ActorSystem_ExecutionSchema, FlowSystem_Execution_Schema, FlowsActors_Status, } from '@wildo-ai/saas-models';
3
3
  import { CompanionIntrospectionBehaviorCategoryValues, CompanionIntrospectionBehaviorIdValues, CompanionIntrospectionMaterializationKindValues, CompanionIntrospectionRouteTargetValues, CompanionIntrospectionServiceKindValues, } from '../core/introspection/models/companion-introspection.models.js';
4
4
  import { safeParseSpecificationContextFactoryRequest, } from '../core/specifications/specification-context-factory.models.js';
5
+ import { BuildTaskRearmReason } from '../meta-workflows/models/build-task-rearm.models.js';
5
6
  const TERMINAL_FLOWS_ACTORS_STATUSES = new Set([
6
7
  FlowsActors_Status.COMPLETED,
7
8
  FlowsActors_Status.FAILED,
@@ -124,8 +125,6 @@ export const CompanionIntrospectionResultSchema = z.discriminatedUnion('success'
124
125
  */
125
126
  export const CompanionLandGovernanceFactsRequestSchema = z.object({
126
127
  definitionRef: z.string().min(1),
127
- specificationRef: z.string().min(1),
128
- specificationVersion: z.number().int().positive(),
129
128
  decidedByRef: z.string().min(1),
130
129
  decidedAt: z.string().min(1),
131
130
  governanceScope: z.object({
@@ -214,6 +213,16 @@ const EMPTY_ACTORS_MEMORY = {
214
213
  export const CompanionActorTasksListQuerySchema = z.object({
215
214
  executionId: z.string().min(1).optional(),
216
215
  status: z.enum(FlowsActors_Status).optional(),
216
+ /**
217
+ * Keep only tasks addressed to one of these actors — applied BEFORE `limit` trims (#1359).
218
+ *
219
+ * Without it the trim spans every actor: a caller looking for one lane's rows read the N most
220
+ * recently updated tasks of the whole application, so a busy judge or labelling lane could push a
221
+ * coding row out of the window and the caller would conclude it never existed. The list is
222
+ * materialised before it is trimmed, so this is an in-memory filter and not a nested-path query a
223
+ * store might silently ignore. A single value arrives as a string from a query string.
224
+ */
225
+ actorRefs: z.union([z.string().min(1).transform((value) => [value]), z.array(z.string().min(1)).min(1)]).optional(),
217
226
  limit: z.coerce.number().int().min(1).max(200).default(50),
218
227
  });
219
228
  // `.strict()` refuses unknown context keys instead of Zod's default silent strip.
@@ -233,8 +242,6 @@ export const CompanionCreateActorTaskRequestSchema = Actors_Task_Schema.omit({
233
242
  createdAt: Actors_Task_Schema.shape.createdAt.optional(),
234
243
  updatedAt: Actors_Task_Schema.shape.updatedAt.optional(),
235
244
  wildoApplicationActorSystemExecutionId: z.string().min(1).optional(),
236
- /** The build-plan dispatch row this task executes — see the field's doc on the persisted schema. */
237
- workbenchBuildPlanTaskId: z.string().min(1).optional(),
238
245
  }).superRefine((value, ctx) => {
239
246
  if (value.completedAt && !isTerminalFlowsActorsStatus(value.status)) {
240
247
  ctx.addIssue({
@@ -244,6 +251,47 @@ export const CompanionCreateActorTaskRequestSchema = Actors_Task_Schema.omit({
244
251
  });
245
252
  }
246
253
  });
254
+ /**
255
+ * Settling an EXECUTION, which until 2026-09-19 nothing could do (#1343).
256
+ *
257
+ * `createActorExecution` existed and no update did, so an execution could be opened and never
258
+ * closed: its `status` stayed wherever it was created while `standaloneTaskStates` moved underneath
259
+ * it, because `syncTaskIntoExecutionSnapshot` writes the task snapshot and never the execution's own
260
+ * state. An execution stuck at `PROCESSING` forever is the shape this lane already suffers from —
261
+ * a control-plane row that looks like it tracks something and does not.
262
+ *
263
+ * Deliberately NARROW: status, and the two fields that only mean anything beside it. Everything
264
+ * else about an execution is either immutable (`systemRef`, `kind`) or maintained by the task
265
+ * snapshot, and a broad update DTO would invite a caller to rewrite the latter by hand.
266
+ */
267
+ export const CompanionUpdateActorExecutionRequestSchema = z.object({
268
+ status: ActorSystem_ExecutionSchema.shape.status,
269
+ /** Only meaningful for a terminal status; the service refuses the combination otherwise. */
270
+ finishedAt: ActorSystem_ExecutionSchema.shape.finishedAt,
271
+ statusChanges: ActorSystem_ExecutionSchema.shape.statusChanges.optional(),
272
+ /**
273
+ * The two fields the engine's driver writes beside a move (#1360): the human decision a run now
274
+ * waits on, and its resume inputs. `null` CLEARS, absent leaves alone — the distinction the driver
275
+ * relies on when a resume clears the suspension and keeps the checkpoint. Still narrow: these are
276
+ * the execution's own state, not the task snapshot a caller must never rewrite by hand.
277
+ */
278
+ suspension: ActorSystem_ExecutionSchema.shape.suspension,
279
+ checkpoint: ActorSystem_ExecutionSchema.shape.checkpoint,
280
+ }).superRefine((value, ctx) => {
281
+ if (value.finishedAt && !isTerminalFlowsActorsStatus(value.status)) {
282
+ ctx.addIssue({
283
+ code: 'custom',
284
+ message: 'finishedAt can only be provided for a terminal execution status',
285
+ path: ['finishedAt'],
286
+ });
287
+ }
288
+ });
289
+ /** `POST /build/tasks/:taskRef/rearm` (#1535) — why the task goes back in the queue. */
290
+ export const CompanionRearmBuildTaskRequestSchema = z.strictObject({
291
+ reason: z.enum(BuildTaskRearmReason),
292
+ /** What was fixed, in a sentence. Required: a reason code alone cannot say which defect. */
293
+ note: z.string().trim().min(1),
294
+ });
247
295
  export const CompanionUpdateActorTaskRequestSchema = Actors_Task_Schema.omit({
248
296
  _id: true,
249
297
  createdAt: true,
@@ -253,8 +301,6 @@ export const CompanionUpdateActorTaskRequestSchema = Actors_Task_Schema.omit({
253
301
  context: CompanionExternalActorTaskContextSchema.optional(),
254
302
  updatedAt: Actors_Task_Schema.shape.updatedAt.optional(),
255
303
  wildoApplicationActorSystemExecutionId: z.string().min(1).optional(),
256
- /** The build-plan dispatch row this task executes — see the field's doc on the persisted schema. */
257
- workbenchBuildPlanTaskId: z.string().min(1).optional(),
258
304
  clearExecutionLink: z.boolean().optional(),
259
305
  }).refine((value) => !(value.clearExecutionLink && value.wildoApplicationActorSystemExecutionId), {
260
306
  message: 'clearExecutionLink cannot be combined with wildoApplicationActorSystemExecutionId',
@@ -1 +1 @@
1
- {"version":3,"file":"companion-api.schemas.js","sourceRoot":"","sources":["../../../../src/companion-api/companion-api.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,kBAAkB,EAClB,2BAA2B,EAC3B,2BAA2B,EAC3B,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,4CAA4C,EAC5C,sCAAsC,EACtC,+CAA+C,EAC/C,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QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QAC3B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QAC3B,2FAA2F;QAC3F,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE;KACvB,CAAC,CAAC;IACH,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;QAC7C,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;QAC7C,uBAAuB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;QACpD,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;KAClD,CAAC;IACF,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CAChC,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport {\n Actors_Task_Schema,\n ActorSystem_ExecutionSchema,\n FlowSystem_Execution_Schema,\n FlowsActors_Status,\n} from '@wildo-ai/saas-models';\nimport {\n CompanionIntrospectionBehaviorCategoryValues,\n CompanionIntrospectionBehaviorIdValues,\n CompanionIntrospectionMaterializationKindValues,\n CompanionIntrospectionRouteTargetValues,\n CompanionIntrospectionServiceKindValues,\n} from '../core/introspection/models/companion-introspection.models';\nimport {\n safeParseSpecificationContextFactoryRequest,\n} from '../core/specifications/specification-context-factory.models';\n\nconst TERMINAL_FLOWS_ACTORS_STATUSES = new Set<FlowsActors_Status>([\n FlowsActors_Status.COMPLETED,\n FlowsActors_Status.FAILED,\n FlowsActors_Status.CANCELLED,\n FlowsActors_Status.ABORTED,\n]);\n\nfunction isTerminalFlowsActorsStatus(status: FlowsActors_Status): boolean {\n return TERMINAL_FLOWS_ACTORS_STATUSES.has(status);\n}\n\n/**\n * Dev Companion API Schemas\n * \n * DTOs for communication between platform services and the dev companion\n */\n\n// =============================================================================\n// File Operations\n// =============================================================================\n\n/** ──────────────────────────────────────────────────────────────\n * Internal Schemas with z.ZodObject type annotation\n * \n * ✅ Preserves all ZodObject methods (.extend, .partial, .omit, .pick, .shape)\n * ✅ Compatible with isolatedDeclarations: true (OXC)\n * ────────────────────────────────────────────────────────────── */\n\n\n\nexport const FileEntrySchema: z.ZodObject<{\n name: z.ZodString;\n isDirectory: z.ZodBoolean;\n path: z.ZodString;\n}> = z.object({\n /** File or directory name */\n name: z.string(),\n /** Whether this entry is a directory */\n isDirectory: z.boolean(),\n /** Full relative path */\n path: z.string(),\n});\n\n// =============================================================================\n// Resources Registry\n// =============================================================================\n\n\nexport const CompanionIntrospectionRequestSchema = z.object({\n serviceKey: z.string().min(1),\n behavior: z.enum(CompanionIntrospectionBehaviorIdValues),\n input: z.unknown().optional(),\n}).transform((request, context) => {\n if (request.behavior !== 'specification-context-parts') {\n return request;\n }\n\n const parsedInput = safeParseSpecificationContextFactoryRequest(request.input);\n if ('issues' in parsedInput) {\n for (const issue of parsedInput.issues) {\n context.addIssue({\n code: 'custom',\n message: issue.message,\n path: ['input', ...issue.path],\n });\n }\n\n return z.NEVER;\n }\n\n return {\n ...request,\n input: parsedInput.data,\n };\n});\n\nconst CompanionIntrospectionResultBaseSchema = z.object({\n serviceKey: z.string().min(1),\n serviceKind: z.enum(CompanionIntrospectionServiceKindValues),\n behavior: z.enum(CompanionIntrospectionBehaviorIdValues),\n behaviorCategory: z.enum(CompanionIntrospectionBehaviorCategoryValues),\n materializationKind: z.enum(CompanionIntrospectionMaterializationKindValues),\n targetId: z.enum(CompanionIntrospectionRouteTargetValues),\n durationMs: z.number().nonnegative(),\n stdout: z.string().optional(),\n stderr: z.string().optional(),\n /**\n * Parent-side provenance, never sent by the child.\n *\n * Declared here anyway so the schema and the two hand-written interfaces below describe the same\n * shape: the parent's derivation cache stamps this on a memoized result, and a schema that did\n * not know the key would strip it from anything that round-trips through a parse.\n */\n servedFromCache: z.literal(true).optional(),\n});\nconst CompanionIntrospectionErrorSchema = z.object({\n message: z.string(),\n name: z.string().optional(),\n stack: z.string().optional(),\n});\nexport const CompanionIntrospectionResultSchema = z.discriminatedUnion('success', [\n CompanionIntrospectionResultBaseSchema.extend({\n success: z.literal(true),\n // `data` may carry any shape (per-behavior payloads vary), but the success\n // branch must always deliver SOMETHING — the asymmetry mirrors the failure\n // branch's required `error` block. Zod 4's `z.unknown()` accepts a missing\n // key, so we wrap with a presence refinement; replacing it with a typed\n // schema would over-constrain the cross-behavior payload union.\n data: z.unknown().refine((value) => value !== undefined, {\n message: 'data is required for successful introspection results',\n }),\n error: z.never().optional(),\n }),\n CompanionIntrospectionResultBaseSchema.extend({\n success: z.literal(false),\n data: z.never().optional(),\n error: CompanionIntrospectionErrorSchema,\n }),\n]);\n\n// =============================================================================\n// Health Check\n// =============================================================================\n\n\n/** ──────────────────────────────────────────────────────────────\n * Explicit Interfaces (for OXC isolatedDeclarations compatibility)\n * ────────────────────────────────────────────────────────────── */\n\nexport interface FileUpdateRequest {\n path: string;\n content: string;\n encoding: string;\n createDirectories: boolean;\n}\n\n\nexport interface FileEntry {\n name: string;\n isDirectory: boolean;\n path: string;\n}\n\n\n\n\nexport interface CompanionIntrospectionRequest {\n serviceKey: string;\n behavior: typeof CompanionIntrospectionBehaviorIdValues[number];\n input?: unknown;\n}\n\nexport interface CompanionIntrospectionSuccessResult {\n success: true;\n serviceKey: string;\n serviceKind: typeof CompanionIntrospectionServiceKindValues[number];\n behavior: typeof CompanionIntrospectionBehaviorIdValues[number];\n behaviorCategory: typeof CompanionIntrospectionBehaviorCategoryValues[number];\n materializationKind: typeof CompanionIntrospectionMaterializationKindValues[number];\n targetId: typeof CompanionIntrospectionRouteTargetValues[number];\n durationMs: number;\n data: unknown;\n stdout?: string;\n stderr?: string;\n /** Set when a memoized derivation answered this request; see the schema above. */\n servedFromCache?: true;\n}\n\nexport interface CompanionIntrospectionFailureResult {\n success: false;\n serviceKey: string;\n serviceKind: typeof CompanionIntrospectionServiceKindValues[number];\n behavior: typeof CompanionIntrospectionBehaviorIdValues[number];\n behaviorCategory: typeof CompanionIntrospectionBehaviorCategoryValues[number];\n materializationKind: typeof CompanionIntrospectionMaterializationKindValues[number];\n targetId: typeof CompanionIntrospectionRouteTargetValues[number];\n durationMs: number;\n error: {\n message: string;\n name?: string;\n stack?: string;\n };\n stdout?: string;\n stderr?: string;\n}\n\nexport type CompanionIntrospectionResult =\n | CompanionIntrospectionSuccessResult\n | CompanionIntrospectionFailureResult;\n\n\n/**\n * The ENVELOPE of a governance-fact landing request (#192) — and deliberately only the envelope.\n *\n * ## Why this stops where it does\n *\n * Everything about what makes an ANSWER SET valid — which questions this document asks, whether each\n * was answered, whether a qualified-review answer names a reviewer, whether \"does not apply\" is even\n * offered — belongs to `buildGovernanceFactDeclarations`, which derives it from the engine's question\n * catalog. A second copy here could only ever disagree with the one that actually refuses, and would\n * refuse with a worse message.\n *\n * What the transport must still check is that a body is SHAPED like a request at all. Without this a\n * malformed payload reached the service and threw a `TypeError` on a missing `answers` array, which\n * the generic error path classifies INTERNAL and sanitizes to the literal \"internal\" — a 500 saying\n * nothing for what is plainly a bad request. Measured against the live companion, 2026-09-03.\n *\n * So `answers` is `z.array(z.unknown())`: present and a list, contents unexamined. That is the exact\n * line between \"this is a request\" and \"this is a good answer set\".\n */\nexport const CompanionLandGovernanceFactsRequestSchema = z.object({\n definitionRef: z.string().min(1),\n specificationRef: z.string().min(1),\n specificationVersion: z.number().int().positive(),\n decidedByRef: z.string().min(1),\n decidedAt: z.string().min(1),\n governanceScope: z.object({\n subjectKind: z.string().min(1),\n subjectRef: z.string().min(1),\n scopeRef: z.string().min(1),\n scopeVersion: z.number().int().positive(),\n participantRefs: z.array(z.string()),\n precedenceRuleRefs: z.array(z.string()),\n }),\n answers: z.array(z.unknown()),\n});\n\nexport const CompanionExecutionsListQuerySchema = z.object({\n systemRef: z.string().min(1).optional(),\n status: z.enum(FlowsActors_Status).optional(),\n limit: z.coerce.number().int().min(1).max(200).default(50),\n});\n\nexport const CompanionCreateActorExecutionRequestSchema = ActorSystem_ExecutionSchema.omit({\n _id: true,\n kind: true,\n}).extend({\n createdAt: ActorSystem_ExecutionSchema.shape.createdAt.optional(),\n updatedAt: ActorSystem_ExecutionSchema.shape.updatedAt.optional(),\n statusChanges: ActorSystem_ExecutionSchema.shape.statusChanges.default([]),\n standaloneTasks: ActorSystem_ExecutionSchema.shape.standaloneTasks.default([]),\n standaloneTaskStates: ActorSystem_ExecutionSchema.shape.standaloneTaskStates.default([]),\n}).superRefine((value, ctx) => {\n if (value.finishedAt && !isTerminalFlowsActorsStatus(value.status)) {\n ctx.addIssue({\n code: 'custom',\n message: 'finishedAt can only be provided for a terminal execution status',\n path: ['finishedAt'],\n });\n }\n\n const seenTaskIds = new Set<string>();\n value.standaloneTasks.forEach((task, index) => {\n if (seenTaskIds.has(task._id)) {\n ctx.addIssue({\n code: 'custom',\n message: 'standalone task ids must be unique within one execution payload',\n path: ['standaloneTasks', index, '_id'],\n });\n return;\n }\n\n seenTaskIds.add(task._id);\n\n if (task.completedAt && !isTerminalFlowsActorsStatus(task.status)) {\n ctx.addIssue({\n code: 'custom',\n message: 'completedAt can only be provided for a terminal task status',\n path: ['standaloneTasks', index, 'completedAt'],\n });\n }\n });\n\n value.standaloneTaskStates.forEach((taskState, index) => {\n if (!seenTaskIds.has(taskState.taskId)) {\n ctx.addIssue({\n code: 'custom',\n message: 'standaloneTaskStates must reference a task declared in standaloneTasks',\n path: ['standaloneTaskStates', index, 'taskId'],\n });\n }\n });\n});\n\nexport const CompanionCreateFlowExecutionRequestSchema = FlowSystem_Execution_Schema.omit({\n _id: true,\n kind: true,\n}).extend({\n createdAt: FlowSystem_Execution_Schema.shape.createdAt.optional(),\n updatedAt: FlowSystem_Execution_Schema.shape.updatedAt.optional(),\n statusChanges: FlowSystem_Execution_Schema.shape.statusChanges.default([]),\n nodeStates: FlowSystem_Execution_Schema.shape.nodeStates.default([]),\n}).superRefine((value, ctx) => {\n if (value.finishedAt && !isTerminalFlowsActorsStatus(value.status)) {\n ctx.addIssue({\n code: 'custom',\n message: 'finishedAt can only be provided for a terminal execution status',\n path: ['finishedAt'],\n });\n }\n});\n\nconst EMPTY_ACTORS_MEMORY = {\n shortTerm: { entries: [] },\n longTerm: { entries: [] },\n working: { entries: [] },\n};\n\nexport const CompanionActorTasksListQuerySchema = z.object({\n executionId: z.string().min(1).optional(),\n status: z.enum(FlowsActors_Status).optional(),\n limit: z.coerce.number().int().min(1).max(200).default(50),\n});\n\n// `.strict()` refuses unknown context keys instead of Zod's default silent strip.\nconst CompanionExternalActorTaskContextSchema = Actors_Task_Schema.shape.context.strict();\n\nexport const CompanionCreateActorTaskRequestSchema = Actors_Task_Schema.omit({\n _id: true,\n createdAt: true,\n updatedAt: true,\n}).extend({\n title: z.string().min(1),\n initiator: Actors_Task_Schema.shape.initiator.default({}),\n relationships: Actors_Task_Schema.shape.relationships.default([]),\n input: Actors_Task_Schema.shape.input.default({}),\n memory: Actors_Task_Schema.shape.memory.default(EMPTY_ACTORS_MEMORY),\n context: CompanionExternalActorTaskContextSchema.default({}),\n actorStates: Actors_Task_Schema.shape.actorStates.default([]),\n createdAt: Actors_Task_Schema.shape.createdAt.optional(),\n updatedAt: Actors_Task_Schema.shape.updatedAt.optional(),\n wildoApplicationActorSystemExecutionId: z.string().min(1).optional(),\n /** The build-plan dispatch row this task executes — see the field's doc on the persisted schema. */\n workbenchBuildPlanTaskId: z.string().min(1).optional(),\n}).superRefine((value, ctx) => {\n if (value.completedAt && !isTerminalFlowsActorsStatus(value.status)) {\n ctx.addIssue({\n code: 'custom',\n message: 'completedAt can only be provided for a terminal task status',\n path: ['completedAt'],\n });\n }\n});\n\nexport const CompanionUpdateActorTaskRequestSchema = Actors_Task_Schema.omit({\n _id: true,\n createdAt: true,\n context: true,\n}).partial().extend({\n title: z.string().min(1).optional(),\n context: CompanionExternalActorTaskContextSchema.optional(),\n updatedAt: Actors_Task_Schema.shape.updatedAt.optional(),\n wildoApplicationActorSystemExecutionId: z.string().min(1).optional(),\n /** The build-plan dispatch row this task executes — see the field's doc on the persisted schema. */\n workbenchBuildPlanTaskId: z.string().min(1).optional(),\n clearExecutionLink: z.boolean().optional(),\n}).refine(\n (value) => !(value.clearExecutionLink && value.wildoApplicationActorSystemExecutionId),\n {\n message: 'clearExecutionLink cannot be combined with wildoApplicationActorSystemExecutionId',\n path: ['clearExecutionLink'],\n },\n);\n\n// =============================================================================\n// Coding-agent status (typed Flows/Actors coding path)\n// =============================================================================\n// The raw dispatch request/response DTOs were deleted with the\n// POST /coding-agent/dispatch endpoint at the first-activation hard cut.\n\n/**\n * Readiness snapshot for `GET /api/companion/coding-agent/status`.\n * `codingAgentRegistered` only reflects the agent registry —\n * it does NOT guarantee the `claude` binary is present or authenticated.\n */\nexport const CompanionCodingAgentStatusResponseSchema = z.object({\n codingAgentRegistered: z.boolean(),\n activeRun: z.object({\n taskId: z.string().min(1),\n startedAt: z.string().min(1),\n }).nullable(),\n /**\n * Coding tasks PARKED on an operator question, answerable in this process via\n * `POST /coding-agent/session/respond`. Always present (empty when none), so a\n * client tells \"nothing is waiting\" from \"the field is missing\".\n */\n pendingQuestions: z.array(z.object({\n taskId: z.string().min(1),\n taskRef: z.string().min(1),\n question: z.string().min(1),\n parkedAt: z.string().min(1),\n /** Whether the answer can resume the same agent session (agent advertised loadSession). */\n resumable: z.boolean(),\n })),\n limits: z.object({\n defaultTimeoutMs: z.number().int().positive(),\n hardMaxTimeoutMs: z.number().int().positive(),\n defaultMaxCapturedBytes: z.number().int().positive(),\n hardMaxCapturedBytes: z.number().int().positive(),\n }),\n lockFilePath: z.string().min(1),\n});\n\nexport type CompanionExecutionsListQuery = z.infer<typeof CompanionExecutionsListQuerySchema>;\nexport type CompanionCreateActorExecutionRequest =\n z.infer<typeof CompanionCreateActorExecutionRequestSchema>;\nexport type CompanionCreateFlowExecutionRequest =\n z.infer<typeof CompanionCreateFlowExecutionRequestSchema>;\nexport type CompanionActorTasksListQuery = z.infer<typeof CompanionActorTasksListQuerySchema>;\nexport type CompanionCreateActorTaskRequest =\n z.infer<typeof CompanionCreateActorTaskRequestSchema>;\nexport type CompanionUpdateActorTaskRequest =\n z.infer<typeof CompanionUpdateActorTaskRequestSchema>;\nexport type CompanionCodingAgentStatusResponse =\n z.infer<typeof CompanionCodingAgentStatusResponseSchema>;\n"]}
1
+ {"version":3,"file":"companion-api.schemas.js","sourceRoot":"","sources":["../../../../src/companion-api/companion-api.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,kBAAkB,EAClB,2BAA2B,EAC3B,2BAA2B,EAC3B,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,4CAA4C,EAC5C,sCAAsC,EACtC,+CAA+C,EAC/C,uCAAuC,EACvC,uCAAuC,GACxC,MAAM,6DAA6D,CAAC;AACrE,OAAO,EACL,2CAA2C,GAC5C,MAAM,6DAA6D,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AAExF,MAAM,8BAA8B,GAAG,IAAI,GAAG,CAAqB;IACjE,kBAAkB,CAAC,SAAS;IAC5B,kBAAkB,CAAC,MAAM;IACzB,kBAAkB,CAAC,SAAS;IAC5B,kBAAkB,CAAC,OAAO;CAC3B,CAAC,CAAC;AAEH,SAAS,2BAA2B,CAAC,MAA0B;IAC7D,OAAO,8BAA8B,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACpD,CAAC;AAED;;;;GAIG;AAEH,gFAAgF;AAChF,kBAAkB;AAClB,gFAAgF;AAEhF;;;;;oEAKoE;AAIpE,MAAM,CAAC,MAAM,eAAe,GAIvB,CAAC,CAAC,MAAM,CAAC;IACZ,6BAA6B;IAC7B,IAAI,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AAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QACzB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;KAC7B,CAAC,CAAC,QAAQ,EAAE;IACb;;;;OAIG;IACH,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC;QACjC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QACzB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QAC1B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QAC3B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QAC3B,2FAA2F;QAC3F,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE;KACvB,CAAC,CAAC;IACH,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;QAC7C,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;QAC7C,uBAAuB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;QACpD,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;KAClD,CAAC;IACF,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CAChC,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport {\n Actors_Task_Schema,\n ActorSystem_ExecutionSchema,\n FlowSystem_Execution_Schema,\n FlowsActors_Status,\n} from '@wildo-ai/saas-models';\nimport {\n CompanionIntrospectionBehaviorCategoryValues,\n CompanionIntrospectionBehaviorIdValues,\n CompanionIntrospectionMaterializationKindValues,\n CompanionIntrospectionRouteTargetValues,\n CompanionIntrospectionServiceKindValues,\n} from '../core/introspection/models/companion-introspection.models';\nimport {\n safeParseSpecificationContextFactoryRequest,\n} from '../core/specifications/specification-context-factory.models';\nimport { BuildTaskRearmReason } from '../meta-workflows/models/build-task-rearm.models';\n\nconst TERMINAL_FLOWS_ACTORS_STATUSES = new Set<FlowsActors_Status>([\n FlowsActors_Status.COMPLETED,\n FlowsActors_Status.FAILED,\n FlowsActors_Status.CANCELLED,\n FlowsActors_Status.ABORTED,\n]);\n\nfunction isTerminalFlowsActorsStatus(status: FlowsActors_Status): boolean {\n return TERMINAL_FLOWS_ACTORS_STATUSES.has(status);\n}\n\n/**\n * Dev Companion API Schemas\n * \n * DTOs for communication between platform services and the dev companion\n */\n\n// =============================================================================\n// File Operations\n// =============================================================================\n\n/** ──────────────────────────────────────────────────────────────\n * Internal Schemas with z.ZodObject type annotation\n * \n * ✅ Preserves all ZodObject methods (.extend, .partial, .omit, .pick, .shape)\n * ✅ Compatible with isolatedDeclarations: true (OXC)\n * ────────────────────────────────────────────────────────────── */\n\n\n\nexport const FileEntrySchema: z.ZodObject<{\n name: z.ZodString;\n isDirectory: z.ZodBoolean;\n path: z.ZodString;\n}> = z.object({\n /** File or directory name */\n name: z.string(),\n /** Whether this entry is a directory */\n isDirectory: z.boolean(),\n /** Full relative path */\n path: z.string(),\n});\n\n// =============================================================================\n// Resources Registry\n// =============================================================================\n\n\nexport const CompanionIntrospectionRequestSchema = z.object({\n serviceKey: z.string().min(1),\n behavior: z.enum(CompanionIntrospectionBehaviorIdValues),\n input: z.unknown().optional(),\n}).transform((request, context) => {\n if (request.behavior !== 'specification-context-parts') {\n return request;\n }\n\n const parsedInput = safeParseSpecificationContextFactoryRequest(request.input);\n if ('issues' in parsedInput) {\n for (const issue of parsedInput.issues) {\n context.addIssue({\n code: 'custom',\n message: issue.message,\n path: ['input', ...issue.path],\n });\n }\n\n return z.NEVER;\n }\n\n return {\n ...request,\n input: parsedInput.data,\n };\n});\n\nconst CompanionIntrospectionResultBaseSchema = z.object({\n serviceKey: z.string().min(1),\n serviceKind: z.enum(CompanionIntrospectionServiceKindValues),\n behavior: z.enum(CompanionIntrospectionBehaviorIdValues),\n behaviorCategory: z.enum(CompanionIntrospectionBehaviorCategoryValues),\n materializationKind: z.enum(CompanionIntrospectionMaterializationKindValues),\n targetId: z.enum(CompanionIntrospectionRouteTargetValues),\n durationMs: z.number().nonnegative(),\n stdout: z.string().optional(),\n stderr: z.string().optional(),\n /**\n * Parent-side provenance, never sent by the child.\n *\n * Declared here anyway so the schema and the two hand-written interfaces below describe the same\n * shape: the parent's derivation cache stamps this on a memoized result, and a schema that did\n * not know the key would strip it from anything that round-trips through a parse.\n */\n servedFromCache: z.literal(true).optional(),\n});\nconst CompanionIntrospectionErrorSchema = z.object({\n message: z.string(),\n name: z.string().optional(),\n stack: z.string().optional(),\n});\nexport const CompanionIntrospectionResultSchema = z.discriminatedUnion('success', [\n CompanionIntrospectionResultBaseSchema.extend({\n success: z.literal(true),\n // `data` may carry any shape (per-behavior payloads vary), but the success\n // branch must always deliver SOMETHING — the asymmetry mirrors the failure\n // branch's required `error` block. Zod 4's `z.unknown()` accepts a missing\n // key, so we wrap with a presence refinement; replacing it with a typed\n // schema would over-constrain the cross-behavior payload union.\n data: z.unknown().refine((value) => value !== undefined, {\n message: 'data is required for successful introspection results',\n }),\n error: z.never().optional(),\n }),\n CompanionIntrospectionResultBaseSchema.extend({\n success: z.literal(false),\n data: z.never().optional(),\n error: CompanionIntrospectionErrorSchema,\n }),\n]);\n\n// =============================================================================\n// Health Check\n// =============================================================================\n\n\n/** ──────────────────────────────────────────────────────────────\n * Explicit Interfaces (for OXC isolatedDeclarations compatibility)\n * ────────────────────────────────────────────────────────────── */\n\nexport interface FileUpdateRequest {\n path: string;\n content: string;\n encoding: string;\n createDirectories: boolean;\n}\n\n\nexport interface FileEntry {\n name: string;\n isDirectory: boolean;\n path: string;\n}\n\n\n\n\nexport interface CompanionIntrospectionRequest {\n serviceKey: string;\n behavior: typeof CompanionIntrospectionBehaviorIdValues[number];\n input?: unknown;\n}\n\nexport interface CompanionIntrospectionSuccessResult {\n success: true;\n serviceKey: string;\n serviceKind: typeof CompanionIntrospectionServiceKindValues[number];\n behavior: typeof CompanionIntrospectionBehaviorIdValues[number];\n behaviorCategory: typeof CompanionIntrospectionBehaviorCategoryValues[number];\n materializationKind: typeof CompanionIntrospectionMaterializationKindValues[number];\n targetId: typeof CompanionIntrospectionRouteTargetValues[number];\n durationMs: number;\n data: unknown;\n stdout?: string;\n stderr?: string;\n /** Set when a memoized derivation answered this request; see the schema above. */\n servedFromCache?: true;\n}\n\nexport interface CompanionIntrospectionFailureResult {\n success: false;\n serviceKey: string;\n serviceKind: typeof CompanionIntrospectionServiceKindValues[number];\n behavior: typeof CompanionIntrospectionBehaviorIdValues[number];\n behaviorCategory: typeof CompanionIntrospectionBehaviorCategoryValues[number];\n materializationKind: typeof CompanionIntrospectionMaterializationKindValues[number];\n targetId: typeof CompanionIntrospectionRouteTargetValues[number];\n durationMs: number;\n error: {\n message: string;\n name?: string;\n stack?: string;\n };\n stdout?: string;\n stderr?: string;\n}\n\nexport type CompanionIntrospectionResult =\n | CompanionIntrospectionSuccessResult\n | CompanionIntrospectionFailureResult;\n\n\n/**\n * The ENVELOPE of a governance-fact landing request (#192) — and deliberately only the envelope.\n *\n * ## Why this stops where it does\n *\n * Everything about what makes an ANSWER SET valid — which questions this document asks, whether each\n * was answered, whether a qualified-review answer names a reviewer, whether \"does not apply\" is even\n * offered — belongs to `buildGovernanceFactDeclarations`, which derives it from the engine's question\n * catalog. A second copy here could only ever disagree with the one that actually refuses, and would\n * refuse with a worse message.\n *\n * What the transport must still check is that a body is SHAPED like a request at all. Without this a\n * malformed payload reached the service and threw a `TypeError` on a missing `answers` array, which\n * the generic error path classifies INTERNAL and sanitizes to the literal \"internal\" — a 500 saying\n * nothing for what is plainly a bad request. Measured against the live companion, 2026-09-03.\n *\n * So `answers` is `z.array(z.unknown())`: present and a list, contents unexamined. That is the exact\n * line between \"this is a request\" and \"this is a good answer set\".\n */\nexport const CompanionLandGovernanceFactsRequestSchema = z.object({\n definitionRef: z.string().min(1),\n decidedByRef: z.string().min(1),\n decidedAt: z.string().min(1),\n governanceScope: z.object({\n subjectKind: z.string().min(1),\n subjectRef: z.string().min(1),\n scopeRef: z.string().min(1),\n scopeVersion: z.number().int().positive(),\n participantRefs: z.array(z.string()),\n precedenceRuleRefs: z.array(z.string()),\n }),\n answers: z.array(z.unknown()),\n});\n\nexport const CompanionExecutionsListQuerySchema = z.object({\n systemRef: z.string().min(1).optional(),\n status: z.enum(FlowsActors_Status).optional(),\n limit: z.coerce.number().int().min(1).max(200).default(50),\n});\n\nexport const CompanionCreateActorExecutionRequestSchema = ActorSystem_ExecutionSchema.omit({\n _id: true,\n kind: true,\n}).extend({\n createdAt: ActorSystem_ExecutionSchema.shape.createdAt.optional(),\n updatedAt: ActorSystem_ExecutionSchema.shape.updatedAt.optional(),\n statusChanges: ActorSystem_ExecutionSchema.shape.statusChanges.default([]),\n standaloneTasks: ActorSystem_ExecutionSchema.shape.standaloneTasks.default([]),\n standaloneTaskStates: ActorSystem_ExecutionSchema.shape.standaloneTaskStates.default([]),\n}).superRefine((value, ctx) => {\n if (value.finishedAt && !isTerminalFlowsActorsStatus(value.status)) {\n ctx.addIssue({\n code: 'custom',\n message: 'finishedAt can only be provided for a terminal execution status',\n path: ['finishedAt'],\n });\n }\n\n const seenTaskIds = new Set<string>();\n value.standaloneTasks.forEach((task, index) => {\n if (seenTaskIds.has(task._id)) {\n ctx.addIssue({\n code: 'custom',\n message: 'standalone task ids must be unique within one execution payload',\n path: ['standaloneTasks', index, '_id'],\n });\n return;\n }\n\n seenTaskIds.add(task._id);\n\n if (task.completedAt && !isTerminalFlowsActorsStatus(task.status)) {\n ctx.addIssue({\n code: 'custom',\n message: 'completedAt can only be provided for a terminal task status',\n path: ['standaloneTasks', index, 'completedAt'],\n });\n }\n });\n\n value.standaloneTaskStates.forEach((taskState, index) => {\n if (!seenTaskIds.has(taskState.taskId)) {\n ctx.addIssue({\n code: 'custom',\n message: 'standaloneTaskStates must reference a task declared in standaloneTasks',\n path: ['standaloneTaskStates', index, 'taskId'],\n });\n }\n });\n});\n\nexport const CompanionCreateFlowExecutionRequestSchema = FlowSystem_Execution_Schema.omit({\n _id: true,\n kind: true,\n}).extend({\n createdAt: FlowSystem_Execution_Schema.shape.createdAt.optional(),\n updatedAt: FlowSystem_Execution_Schema.shape.updatedAt.optional(),\n statusChanges: FlowSystem_Execution_Schema.shape.statusChanges.default([]),\n nodeStates: FlowSystem_Execution_Schema.shape.nodeStates.default([]),\n}).superRefine((value, ctx) => {\n if (value.finishedAt && !isTerminalFlowsActorsStatus(value.status)) {\n ctx.addIssue({\n code: 'custom',\n message: 'finishedAt can only be provided for a terminal execution status',\n path: ['finishedAt'],\n });\n }\n});\n\nconst EMPTY_ACTORS_MEMORY = {\n shortTerm: { entries: [] },\n longTerm: { entries: [] },\n working: { entries: [] },\n};\n\nexport const CompanionActorTasksListQuerySchema = z.object({\n executionId: z.string().min(1).optional(),\n status: z.enum(FlowsActors_Status).optional(),\n /**\n * Keep only tasks addressed to one of these actors — applied BEFORE `limit` trims (#1359).\n *\n * Without it the trim spans every actor: a caller looking for one lane's rows read the N most\n * recently updated tasks of the whole application, so a busy judge or labelling lane could push a\n * coding row out of the window and the caller would conclude it never existed. The list is\n * materialised before it is trimmed, so this is an in-memory filter and not a nested-path query a\n * store might silently ignore. A single value arrives as a string from a query string.\n */\n actorRefs: z.union([z.string().min(1).transform((value) => [value]), z.array(z.string().min(1)).min(1)]).optional(),\n limit: z.coerce.number().int().min(1).max(200).default(50),\n});\n\n// `.strict()` refuses unknown context keys instead of Zod's default silent strip.\nconst CompanionExternalActorTaskContextSchema = Actors_Task_Schema.shape.context.strict();\n\nexport const CompanionCreateActorTaskRequestSchema = Actors_Task_Schema.omit({\n _id: true,\n createdAt: true,\n updatedAt: true,\n}).extend({\n title: z.string().min(1),\n initiator: Actors_Task_Schema.shape.initiator.default({}),\n relationships: Actors_Task_Schema.shape.relationships.default([]),\n input: Actors_Task_Schema.shape.input.default({}),\n memory: Actors_Task_Schema.shape.memory.default(EMPTY_ACTORS_MEMORY),\n context: CompanionExternalActorTaskContextSchema.default({}),\n actorStates: Actors_Task_Schema.shape.actorStates.default([]),\n createdAt: Actors_Task_Schema.shape.createdAt.optional(),\n updatedAt: Actors_Task_Schema.shape.updatedAt.optional(),\n wildoApplicationActorSystemExecutionId: z.string().min(1).optional(),\n}).superRefine((value, ctx) => {\n if (value.completedAt && !isTerminalFlowsActorsStatus(value.status)) {\n ctx.addIssue({\n code: 'custom',\n message: 'completedAt can only be provided for a terminal task status',\n path: ['completedAt'],\n });\n }\n});\n\n/**\n * Settling an EXECUTION, which until 2026-09-19 nothing could do (#1343).\n *\n * `createActorExecution` existed and no update did, so an execution could be opened and never\n * closed: its `status` stayed wherever it was created while `standaloneTaskStates` moved underneath\n * it, because `syncTaskIntoExecutionSnapshot` writes the task snapshot and never the execution's own\n * state. An execution stuck at `PROCESSING` forever is the shape this lane already suffers from —\n * a control-plane row that looks like it tracks something and does not.\n *\n * Deliberately NARROW: status, and the two fields that only mean anything beside it. Everything\n * else about an execution is either immutable (`systemRef`, `kind`) or maintained by the task\n * snapshot, and a broad update DTO would invite a caller to rewrite the latter by hand.\n */\nexport const CompanionUpdateActorExecutionRequestSchema = z.object({\n status: ActorSystem_ExecutionSchema.shape.status,\n /** Only meaningful for a terminal status; the service refuses the combination otherwise. */\n finishedAt: ActorSystem_ExecutionSchema.shape.finishedAt,\n statusChanges: ActorSystem_ExecutionSchema.shape.statusChanges.optional(),\n /**\n * The two fields the engine's driver writes beside a move (#1360): the human decision a run now\n * waits on, and its resume inputs. `null` CLEARS, absent leaves alone — the distinction the driver\n * relies on when a resume clears the suspension and keeps the checkpoint. Still narrow: these are\n * the execution's own state, not the task snapshot a caller must never rewrite by hand.\n */\n suspension: ActorSystem_ExecutionSchema.shape.suspension,\n checkpoint: ActorSystem_ExecutionSchema.shape.checkpoint,\n}).superRefine((value, ctx) => {\n if (value.finishedAt && !isTerminalFlowsActorsStatus(value.status)) {\n ctx.addIssue({\n code: 'custom',\n message: 'finishedAt can only be provided for a terminal execution status',\n path: ['finishedAt'],\n });\n }\n});\nexport type CompanionUpdateActorExecutionRequest = z.infer<typeof CompanionUpdateActorExecutionRequestSchema>;\n\n/** `POST /build/tasks/:taskRef/rearm` (#1535) — why the task goes back in the queue. */\nexport const CompanionRearmBuildTaskRequestSchema = z.strictObject({\n reason: z.enum(BuildTaskRearmReason),\n /** What was fixed, in a sentence. Required: a reason code alone cannot say which defect. */\n note: z.string().trim().min(1),\n});\nexport type CompanionRearmBuildTaskRequest = z.infer<typeof CompanionRearmBuildTaskRequestSchema>;\n\nexport const CompanionUpdateActorTaskRequestSchema = Actors_Task_Schema.omit({\n _id: true,\n createdAt: true,\n context: true,\n}).partial().extend({\n title: z.string().min(1).optional(),\n context: CompanionExternalActorTaskContextSchema.optional(),\n updatedAt: Actors_Task_Schema.shape.updatedAt.optional(),\n wildoApplicationActorSystemExecutionId: z.string().min(1).optional(),\n clearExecutionLink: z.boolean().optional(),\n}).refine(\n (value) => !(value.clearExecutionLink && value.wildoApplicationActorSystemExecutionId),\n {\n message: 'clearExecutionLink cannot be combined with wildoApplicationActorSystemExecutionId',\n path: ['clearExecutionLink'],\n },\n);\n\n// =============================================================================\n// Coding-agent status (typed Flows/Actors coding path)\n// =============================================================================\n// The raw dispatch request/response DTOs were deleted with the\n// POST /coding-agent/dispatch endpoint at the first-activation hard cut.\n\n/**\n * Readiness snapshot for `GET /api/companion/coding-agent/status`.\n * `codingAgentRegistered` only reflects the agent registry —\n * it does NOT guarantee the `claude` binary is present or authenticated.\n */\nexport const CompanionCodingAgentStatusResponseSchema = z.object({\n codingAgentRegistered: z.boolean(),\n activeRun: z.object({\n taskId: z.string().min(1),\n startedAt: z.string().min(1),\n }).nullable(),\n /**\n * Coding tasks PARKED on an operator question, answerable in this process via\n * `POST /coding-agent/session/respond`. Always present (empty when none), so a\n * client tells \"nothing is waiting\" from \"the field is missing\".\n */\n pendingQuestions: z.array(z.object({\n taskId: z.string().min(1),\n taskRef: z.string().min(1),\n question: z.string().min(1),\n parkedAt: z.string().min(1),\n /** Whether the answer can resume the same agent session (agent advertised loadSession). */\n resumable: z.boolean(),\n })),\n limits: z.object({\n defaultTimeoutMs: z.number().int().positive(),\n hardMaxTimeoutMs: z.number().int().positive(),\n defaultMaxCapturedBytes: z.number().int().positive(),\n hardMaxCapturedBytes: z.number().int().positive(),\n }),\n lockFilePath: z.string().min(1),\n});\n\nexport type CompanionExecutionsListQuery = z.infer<typeof CompanionExecutionsListQuerySchema>;\nexport type CompanionCreateActorExecutionRequest =\n z.infer<typeof CompanionCreateActorExecutionRequestSchema>;\nexport type CompanionCreateFlowExecutionRequest =\n z.infer<typeof CompanionCreateFlowExecutionRequestSchema>;\nexport type CompanionActorTasksListQuery = z.infer<typeof CompanionActorTasksListQuerySchema>;\nexport type CompanionCreateActorTaskRequest =\n z.infer<typeof CompanionCreateActorTaskRequestSchema>;\nexport type CompanionUpdateActorTaskRequest =\n z.infer<typeof CompanionUpdateActorTaskRequestSchema>;\nexport type CompanionCodingAgentStatusResponse =\n z.infer<typeof CompanionCodingAgentStatusResponseSchema>;\n"]}
@@ -0,0 +1,90 @@
1
+ /**
2
+ * WHO must present the machine-local companion token — the P-29b floor's decision, and nothing else.
3
+ *
4
+ * It is a module of its own, with no imports, for two reasons that both bit this floor before:
5
+ *
6
+ * - **It is the half that can be pinned.** The floor's previous life ended because the middleware
7
+ * that used it was deleted with the single endpoint it guarded, and the service's own unit test —
8
+ * six cases, all mint-and-validate — went on passing. A decision expressed inside a controller that
9
+ * drags the whole companion DI graph behind it is a decision no cheap test ever exercises.
10
+ * - **Two ends must agree.** The CLI decides whether to ATTACH the token and the companion decides
11
+ * whether to REQUIRE it. Those are the same predicate written twice, in two packages that cannot
12
+ * import each other, so the least this side can do is state it once and name the other end.
13
+ *
14
+ * The CLI's copy is `COMPANION_TOKEN_UNGATED_METHODS` in
15
+ * `platform/factory/wildo-cli/src/services/companion/companion-client.service.ts`. Move one, move both.
16
+ */
17
+ /**
18
+ * The methods that pass unconditionally.
19
+ *
20
+ * Gating is decided by the HTTP VERB rather than by a list of gated paths, and that is the whole
21
+ * design: the companion controller registers 68 routes and grows, so any hand-kept list of "the
22
+ * mutating ones" is a second enumeration of a population that moves — the shape
23
+ * `.claude/rules/invariant-call-site-enumeration.md` records as this repository's most frequent
24
+ * defect. With the verb as the discriminator, a route added tomorrow is gated by construction and
25
+ * there is nothing to remember.
26
+ *
27
+ * Reads stay open, deliberately: DD-6's posture for read-only routes is unchanged, and a token that
28
+ * has gone stale (an older CLI, a companion restarted under a running client) must not be able to
29
+ * blind the diagnostics an operator needs precisely when something is wrong.
30
+ *
31
+ * `OPTIONS` passes so a CORS preflight is answered rather than 401'd — a preflight carries no
32
+ * author-supplied headers by definition, so refusing it would only replace a legible refusal on the
33
+ * real request with an opaque browser-side CORS failure.
34
+ */
35
+ export declare const COMPANION_TOKEN_FLOOR_UNGATED_METHODS: ReadonlySet<string>;
36
+ /**
37
+ * The mutating routes a BROWSER reaches, which therefore cannot carry the token.
38
+ *
39
+ * These are not an opinion about their risk — `/compliance/governance-facts` genuinely writes files.
40
+ * They are a statement of fact about their one caller: the application-creation workbench is a bundle
41
+ * running in the operator's browser (`platform/factory/application-creation-workbench`), and a browser
42
+ * cannot read `<saasRoot>/.wildo-saas/state/companion.token` (mode 0600, on disk). Gating them would
43
+ * 401 the board's own buttons, so the real choice is between an exemption that is written down and a
44
+ * gate that is quietly not applied.
45
+ *
46
+ * Proxy-injecting the token in the workbench's Vite dev server was considered and rejected twice over:
47
+ * it is dev-only (`server.proxy` has no effect on a built bundle, which reaches the companion through
48
+ * `VITE_COMPANION_URL`), and it would re-open on the workbench's own origin exactly the forgery the
49
+ * floor exists to refuse.
50
+ *
51
+ * The real fix is a migration already under way and half-finished: `runPlaybook`, `resumePlaybookRun`,
52
+ * `dispatchNextBuildTask` and `revertRunWrites` left this mount for CUSTOM RESOURCE OPERATIONS on the
53
+ * engine's `/api/v1` plane, which the workbench reaches with an authenticated session (it really does
54
+ * `POST /auth/authenticate`). These three are the stragglers — the workbench's own client names
55
+ * `cancelCodingAgentRun` "a recorded singleton exception until it has a resource to carry the verb".
56
+ * When each grows its resource operation, delete its row here.
57
+ *
58
+ * Kept as an EXEMPTION rather than as a gated-route list so the polarity stays right: the default is
59
+ * refusal, and every opening is one line somebody had to write and justify.
60
+ */
61
+ export declare const COMPANION_TOKEN_FLOOR_BROWSER_EXEMPT_PATHS: readonly string[];
62
+ /**
63
+ * Does this request have to present the local companion token?
64
+ *
65
+ * `path` is MOUNT-RELATIVE (`/playbooks/loop`, not `/api/companion/playbooks/loop`) and carries no
66
+ * query string — the same coordinate `req.path` gives inside the mounted router, and the same one
67
+ * `attachRequestTraceSession` already compares against.
68
+ *
69
+ * A path variant the exemption list does not match exactly — a trailing slash, a different case —
70
+ * requires the token. That is the safe direction, and it costs nothing: such a variant matches no
71
+ * route either.
72
+ */
73
+ export declare function companionRequestRequiresLocalToken(method: string, path: string): boolean;
74
+ /**
75
+ * The floor's complete verdict on one request: admit, or refuse.
76
+ *
77
+ * `isValidToken` is passed in rather than imported so this stays a pure function of its inputs — the
78
+ * validator is `CompanionAuthFloorCompanionService.isValidToken`, a constant-time digest comparison
79
+ * that already fails closed when the floor was never initialized.
80
+ *
81
+ * A repeated header arrives typed `string[]`. It is refused rather than searched: a caller that sends
82
+ * the token twice is either confused or probing, and "one of the values was right" is not a rule this
83
+ * floor wants to own.
84
+ */
85
+ export declare function companionRequestIsAdmittedByTokenFloor(request: {
86
+ readonly method: string;
87
+ readonly path: string;
88
+ readonly presentedToken: string | string[] | undefined;
89
+ }, isValidToken: (presented: string | undefined) => boolean): boolean;
90
+ //# sourceMappingURL=companion-token-floor.policy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"companion-token-floor.policy.d.ts","sourceRoot":"","sources":["../../../../../src/companion-api/controllers/companion-token-floor.policy.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,qCAAqC,EAAE,WAAW,CAAC,MAAM,CAAuC,CAAC;AAE9G;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,0CAA0C,EAAE,SAAS,MAAM,EAevE,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAgB,kCAAkC,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAGxF;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,sCAAsC,CACpD,OAAO,EAAE;IAAE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,CAAA;CAAE,EACnH,YAAY,EAAE,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,KAAK,OAAO,GACvD,OAAO,CAGT"}
@@ -0,0 +1,109 @@
1
+ /**
2
+ * WHO must present the machine-local companion token — the P-29b floor's decision, and nothing else.
3
+ *
4
+ * It is a module of its own, with no imports, for two reasons that both bit this floor before:
5
+ *
6
+ * - **It is the half that can be pinned.** The floor's previous life ended because the middleware
7
+ * that used it was deleted with the single endpoint it guarded, and the service's own unit test —
8
+ * six cases, all mint-and-validate — went on passing. A decision expressed inside a controller that
9
+ * drags the whole companion DI graph behind it is a decision no cheap test ever exercises.
10
+ * - **Two ends must agree.** The CLI decides whether to ATTACH the token and the companion decides
11
+ * whether to REQUIRE it. Those are the same predicate written twice, in two packages that cannot
12
+ * import each other, so the least this side can do is state it once and name the other end.
13
+ *
14
+ * The CLI's copy is `COMPANION_TOKEN_UNGATED_METHODS` in
15
+ * `platform/factory/wildo-cli/src/services/companion/companion-client.service.ts`. Move one, move both.
16
+ */
17
+ /**
18
+ * The methods that pass unconditionally.
19
+ *
20
+ * Gating is decided by the HTTP VERB rather than by a list of gated paths, and that is the whole
21
+ * design: the companion controller registers 68 routes and grows, so any hand-kept list of "the
22
+ * mutating ones" is a second enumeration of a population that moves — the shape
23
+ * `.claude/rules/invariant-call-site-enumeration.md` records as this repository's most frequent
24
+ * defect. With the verb as the discriminator, a route added tomorrow is gated by construction and
25
+ * there is nothing to remember.
26
+ *
27
+ * Reads stay open, deliberately: DD-6's posture for read-only routes is unchanged, and a token that
28
+ * has gone stale (an older CLI, a companion restarted under a running client) must not be able to
29
+ * blind the diagnostics an operator needs precisely when something is wrong.
30
+ *
31
+ * `OPTIONS` passes so a CORS preflight is answered rather than 401'd — a preflight carries no
32
+ * author-supplied headers by definition, so refusing it would only replace a legible refusal on the
33
+ * real request with an opaque browser-side CORS failure.
34
+ */
35
+ export const COMPANION_TOKEN_FLOOR_UNGATED_METHODS = new Set(['GET', 'HEAD', 'OPTIONS']);
36
+ /**
37
+ * The mutating routes a BROWSER reaches, which therefore cannot carry the token.
38
+ *
39
+ * These are not an opinion about their risk — `/compliance/governance-facts` genuinely writes files.
40
+ * They are a statement of fact about their one caller: the application-creation workbench is a bundle
41
+ * running in the operator's browser (`platform/factory/application-creation-workbench`), and a browser
42
+ * cannot read `<saasRoot>/.wildo-saas/state/companion.token` (mode 0600, on disk). Gating them would
43
+ * 401 the board's own buttons, so the real choice is between an exemption that is written down and a
44
+ * gate that is quietly not applied.
45
+ *
46
+ * Proxy-injecting the token in the workbench's Vite dev server was considered and rejected twice over:
47
+ * it is dev-only (`server.proxy` has no effect on a built bundle, which reaches the companion through
48
+ * `VITE_COMPANION_URL`), and it would re-open on the workbench's own origin exactly the forgery the
49
+ * floor exists to refuse.
50
+ *
51
+ * The real fix is a migration already under way and half-finished: `runPlaybook`, `resumePlaybookRun`,
52
+ * `dispatchNextBuildTask` and `revertRunWrites` left this mount for CUSTOM RESOURCE OPERATIONS on the
53
+ * engine's `/api/v1` plane, which the workbench reaches with an authenticated session (it really does
54
+ * `POST /auth/authenticate`). These three are the stragglers — the workbench's own client names
55
+ * `cancelCodingAgentRun` "a recorded singleton exception until it has a resource to carry the verb".
56
+ * When each grows its resource operation, delete its row here.
57
+ *
58
+ * Kept as an EXEMPTION rather than as a gated-route list so the polarity stays right: the default is
59
+ * refusal, and every opening is one line somebody had to write and justify.
60
+ */
61
+ export const COMPANION_TOKEN_FLOOR_BROWSER_EXEMPT_PATHS = [
62
+ /*
63
+ * EMPTY since 2026-09-22 (#1454), and kept as the seam rather than deleted.
64
+ *
65
+ * It held four rows — `/playbooks/refresh-board`, `/compliance/governance-facts`,
66
+ * `/coding-agent/cancel`, `/coding-agent/session/respond` — each a workbench browser call the floor
67
+ * would otherwise have refused, because a browser bundle cannot read the 0600 `companion.token`.
68
+ * Every one of those acts is a RESOURCE OPERATION now (`read_interview`, `land_facts`, `cancel`,
69
+ * `answer` and their siblings on the creation-plane resources), reached through the engine's
70
+ * authenticated `/api/v1` plane, so the browser no longer touches this mount with a mutating verb.
71
+ * The routes survive for the CLI, which holds the token.
72
+ *
73
+ * The list stays because the polarity is the design: the default is refusal, and the day a browser
74
+ * call needs this mount again it is one line somebody has to write and justify here.
75
+ */
76
+ ];
77
+ /**
78
+ * Does this request have to present the local companion token?
79
+ *
80
+ * `path` is MOUNT-RELATIVE (`/playbooks/loop`, not `/api/companion/playbooks/loop`) and carries no
81
+ * query string — the same coordinate `req.path` gives inside the mounted router, and the same one
82
+ * `attachRequestTraceSession` already compares against.
83
+ *
84
+ * A path variant the exemption list does not match exactly — a trailing slash, a different case —
85
+ * requires the token. That is the safe direction, and it costs nothing: such a variant matches no
86
+ * route either.
87
+ */
88
+ export function companionRequestRequiresLocalToken(method, path) {
89
+ if (COMPANION_TOKEN_FLOOR_UNGATED_METHODS.has(method.toUpperCase()))
90
+ return false;
91
+ return !COMPANION_TOKEN_FLOOR_BROWSER_EXEMPT_PATHS.includes(path);
92
+ }
93
+ /**
94
+ * The floor's complete verdict on one request: admit, or refuse.
95
+ *
96
+ * `isValidToken` is passed in rather than imported so this stays a pure function of its inputs — the
97
+ * validator is `CompanionAuthFloorCompanionService.isValidToken`, a constant-time digest comparison
98
+ * that already fails closed when the floor was never initialized.
99
+ *
100
+ * A repeated header arrives typed `string[]`. It is refused rather than searched: a caller that sends
101
+ * the token twice is either confused or probing, and "one of the values was right" is not a rule this
102
+ * floor wants to own.
103
+ */
104
+ export function companionRequestIsAdmittedByTokenFloor(request, isValidToken) {
105
+ if (!companionRequestRequiresLocalToken(request.method, request.path))
106
+ return true;
107
+ return isValidToken(typeof request.presentedToken === 'string' ? request.presentedToken : undefined);
108
+ }
109
+ //# sourceMappingURL=companion-token-floor.policy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"companion-token-floor.policy.js","sourceRoot":"","sources":["../../../../../src/companion-api/controllers/companion-token-floor.policy.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAwB,IAAI,GAAG,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC;AAE9G;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAsB;AAC3E;;;;;;;;;;;;;GAaG;CACJ,CAAC;AAEF;;;;;;;;;;GAUG;AACH,MAAM,UAAU,kCAAkC,CAAC,MAAc,EAAE,IAAY;IAC7E,IAAI,qCAAqC,CAAC,GAAG,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC;QAAE,OAAO,KAAK,CAAC;IAClF,OAAO,CAAC,0CAA0C,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AACpE,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,UAAU,sCAAsC,CACpD,OAAmH,EACnH,YAAwD;IAExD,IAAI,CAAC,kCAAkC,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAC;IACnF,OAAO,YAAY,CAAC,OAAO,OAAO,CAAC,cAAc,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;AACvG,CAAC","sourcesContent":["/**\n * WHO must present the machine-local companion token — the P-29b floor's decision, and nothing else.\n *\n * It is a module of its own, with no imports, for two reasons that both bit this floor before:\n *\n * - **It is the half that can be pinned.** The floor's previous life ended because the middleware\n * that used it was deleted with the single endpoint it guarded, and the service's own unit test —\n * six cases, all mint-and-validate — went on passing. A decision expressed inside a controller that\n * drags the whole companion DI graph behind it is a decision no cheap test ever exercises.\n * - **Two ends must agree.** The CLI decides whether to ATTACH the token and the companion decides\n * whether to REQUIRE it. Those are the same predicate written twice, in two packages that cannot\n * import each other, so the least this side can do is state it once and name the other end.\n *\n * The CLI's copy is `COMPANION_TOKEN_UNGATED_METHODS` in\n * `platform/factory/wildo-cli/src/services/companion/companion-client.service.ts`. Move one, move both.\n */\n\n/**\n * The methods that pass unconditionally.\n *\n * Gating is decided by the HTTP VERB rather than by a list of gated paths, and that is the whole\n * design: the companion controller registers 68 routes and grows, so any hand-kept list of \"the\n * mutating ones\" is a second enumeration of a population that moves — the shape\n * `.claude/rules/invariant-call-site-enumeration.md` records as this repository's most frequent\n * defect. With the verb as the discriminator, a route added tomorrow is gated by construction and\n * there is nothing to remember.\n *\n * Reads stay open, deliberately: DD-6's posture for read-only routes is unchanged, and a token that\n * has gone stale (an older CLI, a companion restarted under a running client) must not be able to\n * blind the diagnostics an operator needs precisely when something is wrong.\n *\n * `OPTIONS` passes so a CORS preflight is answered rather than 401'd — a preflight carries no\n * author-supplied headers by definition, so refusing it would only replace a legible refusal on the\n * real request with an opaque browser-side CORS failure.\n */\nexport const COMPANION_TOKEN_FLOOR_UNGATED_METHODS: ReadonlySet<string> = new Set(['GET', 'HEAD', 'OPTIONS']);\n\n/**\n * The mutating routes a BROWSER reaches, which therefore cannot carry the token.\n *\n * These are not an opinion about their risk — `/compliance/governance-facts` genuinely writes files.\n * They are a statement of fact about their one caller: the application-creation workbench is a bundle\n * running in the operator's browser (`platform/factory/application-creation-workbench`), and a browser\n * cannot read `<saasRoot>/.wildo-saas/state/companion.token` (mode 0600, on disk). Gating them would\n * 401 the board's own buttons, so the real choice is between an exemption that is written down and a\n * gate that is quietly not applied.\n *\n * Proxy-injecting the token in the workbench's Vite dev server was considered and rejected twice over:\n * it is dev-only (`server.proxy` has no effect on a built bundle, which reaches the companion through\n * `VITE_COMPANION_URL`), and it would re-open on the workbench's own origin exactly the forgery the\n * floor exists to refuse.\n *\n * The real fix is a migration already under way and half-finished: `runPlaybook`, `resumePlaybookRun`,\n * `dispatchNextBuildTask` and `revertRunWrites` left this mount for CUSTOM RESOURCE OPERATIONS on the\n * engine's `/api/v1` plane, which the workbench reaches with an authenticated session (it really does\n * `POST /auth/authenticate`). These three are the stragglers — the workbench's own client names\n * `cancelCodingAgentRun` \"a recorded singleton exception until it has a resource to carry the verb\".\n * When each grows its resource operation, delete its row here.\n *\n * Kept as an EXEMPTION rather than as a gated-route list so the polarity stays right: the default is\n * refusal, and every opening is one line somebody had to write and justify.\n */\nexport const COMPANION_TOKEN_FLOOR_BROWSER_EXEMPT_PATHS: readonly string[] = [\n /*\n * EMPTY since 2026-09-22 (#1454), and kept as the seam rather than deleted.\n *\n * It held four rows — `/playbooks/refresh-board`, `/compliance/governance-facts`,\n * `/coding-agent/cancel`, `/coding-agent/session/respond` — each a workbench browser call the floor\n * would otherwise have refused, because a browser bundle cannot read the 0600 `companion.token`.\n * Every one of those acts is a RESOURCE OPERATION now (`read_interview`, `land_facts`, `cancel`,\n * `answer` and their siblings on the creation-plane resources), reached through the engine's\n * authenticated `/api/v1` plane, so the browser no longer touches this mount with a mutating verb.\n * The routes survive for the CLI, which holds the token.\n *\n * The list stays because the polarity is the design: the default is refusal, and the day a browser\n * call needs this mount again it is one line somebody has to write and justify here.\n */\n];\n\n/**\n * Does this request have to present the local companion token?\n *\n * `path` is MOUNT-RELATIVE (`/playbooks/loop`, not `/api/companion/playbooks/loop`) and carries no\n * query string — the same coordinate `req.path` gives inside the mounted router, and the same one\n * `attachRequestTraceSession` already compares against.\n *\n * A path variant the exemption list does not match exactly — a trailing slash, a different case —\n * requires the token. That is the safe direction, and it costs nothing: such a variant matches no\n * route either.\n */\nexport function companionRequestRequiresLocalToken(method: string, path: string): boolean {\n if (COMPANION_TOKEN_FLOOR_UNGATED_METHODS.has(method.toUpperCase())) return false;\n return !COMPANION_TOKEN_FLOOR_BROWSER_EXEMPT_PATHS.includes(path);\n}\n\n/**\n * The floor's complete verdict on one request: admit, or refuse.\n *\n * `isValidToken` is passed in rather than imported so this stays a pure function of its inputs — the\n * validator is `CompanionAuthFloorCompanionService.isValidToken`, a constant-time digest comparison\n * that already fails closed when the floor was never initialized.\n *\n * A repeated header arrives typed `string[]`. It is refused rather than searched: a caller that sends\n * the token twice is either confused or probing, and \"one of the values was right\" is not a rule this\n * floor wants to own.\n */\nexport function companionRequestIsAdmittedByTokenFloor(\n request: { readonly method: string; readonly path: string; readonly presentedToken: string | string[] | undefined },\n isValidToken: (presented: string | undefined) => boolean,\n): boolean {\n if (!companionRequestRequiresLocalToken(request.method, request.path)) return true;\n return isValidToken(typeof request.presentedToken === 'string' ? request.presentedToken : undefined);\n}\n"]}