@wildo-ai/dev-companion 1.1.8 → 1.1.10

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 (1244) hide show
  1. package/bin/companion-supervisor.d.mts +33 -0
  2. package/bin/companion-supervisor.mjs +174 -0
  3. package/bin/wildo-dev-companion-supervised.mjs +16 -0
  4. package/dist/esm/.tsbuildinfo +1 -1
  5. package/dist/esm/brand/models/accepted-brand-mark.models.d.ts +46 -0
  6. package/dist/esm/brand/models/accepted-brand-mark.models.d.ts.map +1 -0
  7. package/dist/esm/brand/models/accepted-brand-mark.models.js +89 -0
  8. package/dist/esm/brand/models/accepted-brand-mark.models.js.map +1 -0
  9. package/dist/esm/brand/models/logo-creative-brief.schemas.d.ts.map +1 -1
  10. package/dist/esm/brand/models/logo-creative-brief.schemas.js.map +1 -1
  11. package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts.map +1 -1
  12. package/dist/esm/brand/models/logo-generation.actors-system.definitions.js +8 -2
  13. package/dist/esm/brand/models/logo-generation.actors-system.definitions.js.map +1 -1
  14. package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts.map +1 -1
  15. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js +8 -2
  16. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -1
  17. package/dist/esm/brand/models/logo-judge.schemas.d.ts +5 -3
  18. package/dist/esm/brand/models/logo-judge.schemas.d.ts.map +1 -1
  19. package/dist/esm/brand/models/logo-judge.schemas.js +5 -3
  20. package/dist/esm/brand/models/logo-judge.schemas.js.map +1 -1
  21. package/dist/esm/brand/services/brand-accept.companion.service.d.ts +1 -1
  22. package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
  23. package/dist/esm/brand/services/brand-accept.companion.service.js +9 -11
  24. package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
  25. package/dist/esm/brand/services/brand-propagation.companion.utils.d.ts.map +1 -1
  26. package/dist/esm/brand/services/brand-propagation.companion.utils.js.map +1 -1
  27. package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts.map +1 -1
  28. package/dist/esm/brand/services/logo-deliberation.companion.service.js +10 -7
  29. package/dist/esm/brand/services/logo-deliberation.companion.service.js.map +1 -1
  30. package/dist/esm/brand/services/logo-generation.companion.service.d.ts.map +1 -1
  31. package/dist/esm/brand/services/logo-generation.companion.service.js.map +1 -1
  32. package/dist/esm/brand/utils/derived-brand-assets.d.ts.map +1 -1
  33. package/dist/esm/brand/utils/derived-brand-assets.js.map +1 -1
  34. package/dist/esm/brand/utils/stage-brand-candidate.d.ts.map +1 -1
  35. package/dist/esm/brand/utils/stage-brand-candidate.js.map +1 -1
  36. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts +21 -0
  37. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts.map +1 -1
  38. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js +33 -1
  39. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js.map +1 -1
  40. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +130 -2
  41. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
  42. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +176 -1
  43. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
  44. package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.d.ts +52 -0
  45. package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.d.ts.map +1 -0
  46. package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.js +206 -0
  47. package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.js.map +1 -0
  48. package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts.map +1 -1
  49. package/dist/esm/claude-cli/models/coding-session-frame-retention.js.map +1 -1
  50. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts +38 -3
  51. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -1
  52. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js +48 -4
  53. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -1
  54. package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts.map +1 -1
  55. package/dist/esm/claude-cli/models/parked-question-answer.models.js.map +1 -1
  56. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts.map +1 -1
  57. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js.map +1 -1
  58. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +165 -8
  59. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -1
  60. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +536 -28
  61. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -1
  62. package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.d.ts +53 -0
  63. package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.d.ts.map +1 -0
  64. package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.js +193 -0
  65. package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.js.map +1 -0
  66. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +164 -6
  67. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
  68. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +468 -41
  69. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
  70. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts.map +1 -1
  71. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js.map +1 -1
  72. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
  73. package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
  74. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.d.ts.map +1 -1
  75. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js.map +1 -1
  76. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -1
  77. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -1
  78. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts +15 -2
  79. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
  80. package/dist/esm/claude-cli/services/research-evidence-store.companion.js +36 -4
  81. package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
  82. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.d.ts.map +1 -1
  83. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.js.map +1 -1
  84. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.d.ts.map +1 -1
  85. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -1
  86. package/dist/esm/companion-api/companion-api.schemas.d.ts +360 -339
  87. package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
  88. package/dist/esm/companion-api/companion-api.schemas.js +13 -2
  89. package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
  90. package/dist/esm/companion-api/companion-error-guidance.models.d.ts.map +1 -1
  91. package/dist/esm/companion-api/companion-error-guidance.models.js.map +1 -1
  92. package/dist/esm/companion-api/controllers/companion-file-route-confinement.d.ts.map +1 -1
  93. package/dist/esm/companion-api/controllers/companion-file-route-confinement.js.map +1 -1
  94. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.d.ts.map +1 -1
  95. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.js.map +1 -1
  96. package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts.map +1 -1
  97. package/dist/esm/companion-api/controllers/companion-token-floor.policy.js.map +1 -1
  98. package/dist/esm/companion-api/controllers/companion-trace-exemptions.d.ts.map +1 -1
  99. package/dist/esm/companion-api/controllers/companion-trace-exemptions.js.map +1 -1
  100. package/dist/esm/companion-api/controllers/companion.controller.d.ts +88 -13
  101. package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
  102. package/dist/esm/companion-api/controllers/companion.controller.js +448 -51
  103. package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
  104. package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts.map +1 -1
  105. package/dist/esm/core/auth/companion-auth-floor.companion.service.js.map +1 -1
  106. package/dist/esm/core/catalogs/catalog-context.factory.d.ts.map +1 -1
  107. package/dist/esm/core/catalogs/catalog-context.factory.js.map +1 -1
  108. package/dist/esm/core/catalogs/catalog-context.factory.models.d.ts.map +1 -1
  109. package/dist/esm/core/catalogs/catalog-context.factory.models.js.map +1 -1
  110. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.d.ts.map +1 -1
  111. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.js.map +1 -1
  112. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.d.ts.map +1 -1
  113. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.js.map +1 -1
  114. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.d.ts.map +1 -1
  115. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.js.map +1 -1
  116. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.d.ts.map +1 -1
  117. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.js.map +1 -1
  118. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.d.ts.map +1 -1
  119. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.js.map +1 -1
  120. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.d.ts.map +1 -1
  121. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.js.map +1 -1
  122. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.d.ts.map +1 -1
  123. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.js.map +1 -1
  124. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.d.ts.map +1 -1
  125. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.js.map +1 -1
  126. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.d.ts.map +1 -1
  127. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.js.map +1 -1
  128. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.d.ts.map +1 -1
  129. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.js.map +1 -1
  130. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts.map +1 -1
  131. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js.map +1 -1
  132. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts.map +1 -1
  133. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.js.map +1 -1
  134. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.d.ts.map +1 -1
  135. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.js.map +1 -1
  136. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.d.ts.map +1 -1
  137. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.js.map +1 -1
  138. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.d.ts.map +1 -1
  139. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -1
  140. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts.map +1 -1
  141. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js.map +1 -1
  142. package/dist/esm/core/config/primary-language.companion.utils.d.ts +5 -4
  143. package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
  144. package/dist/esm/core/config/primary-language.companion.utils.js +5 -4
  145. package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
  146. package/dist/esm/core/context/application-module-generations.companion.d.ts +103 -0
  147. package/dist/esm/core/context/application-module-generations.companion.d.ts.map +1 -0
  148. package/dist/esm/core/context/application-module-generations.companion.js +313 -0
  149. package/dist/esm/core/context/application-module-generations.companion.js.map +1 -0
  150. package/dist/esm/core/context/companion-context.d.ts.map +1 -1
  151. package/dist/esm/core/context/companion-context.js.map +1 -1
  152. package/dist/esm/core/context/companion-package-loaders.companion.d.ts +19 -19
  153. package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
  154. package/dist/esm/core/context/companion-package-loaders.companion.js +52 -40
  155. package/dist/esm/core/context/companion-package-loaders.companion.js.map +1 -1
  156. package/dist/esm/core/context/draft-family-values.companion.d.ts.map +1 -1
  157. package/dist/esm/core/context/draft-family-values.companion.js.map +1 -1
  158. package/dist/esm/core/inject/models/container.d.ts.map +1 -1
  159. package/dist/esm/core/inject/models/container.js +4 -0
  160. package/dist/esm/core/inject/models/container.js.map +1 -1
  161. package/dist/esm/core/inject/models/service-types.d.ts +4 -0
  162. package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
  163. package/dist/esm/core/inject/models/service-types.js +4 -0
  164. package/dist/esm/core/inject/models/service-types.js.map +1 -1
  165. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -1
  166. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js.map +1 -1
  167. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -1
  168. package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
  169. package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts.map +1 -1
  170. package/dist/esm/core/introspection/resources/application-secrets.companion.js.map +1 -1
  171. package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts +15 -1
  172. package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts.map +1 -1
  173. package/dist/esm/core/introspection/resources/creation-console-answer.companion.js +38 -3
  174. package/dist/esm/core/introspection/resources/creation-console-answer.companion.js.map +1 -1
  175. package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts +21 -0
  176. package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts.map +1 -1
  177. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js +71 -25
  178. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js.map +1 -1
  179. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts +10 -0
  180. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -1
  181. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +58 -2
  182. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -1
  183. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts +0 -28
  184. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -1
  185. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js +197 -20
  186. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js.map +1 -1
  187. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
  188. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +49 -7
  189. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
  190. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts.map +1 -1
  191. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js.map +1 -1
  192. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -1
  193. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -1
  194. package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts +51 -0
  195. package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts.map +1 -0
  196. package/dist/esm/core/introspection/resources/launch-blockers.companion.js +124 -0
  197. package/dist/esm/core/introspection/resources/launch-blockers.companion.js.map +1 -0
  198. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.d.ts.map +1 -1
  199. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.js.map +1 -1
  200. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts +14 -3
  201. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts.map +1 -1
  202. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js +91 -5
  203. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
  204. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts +186 -11
  205. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts.map +1 -1
  206. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js +437 -35
  207. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js.map +1 -1
  208. package/dist/esm/core/introspection/services/introspection-input-closure.companion.d.ts +44 -0
  209. package/dist/esm/core/introspection/services/introspection-input-closure.companion.d.ts.map +1 -0
  210. package/dist/esm/core/introspection/services/introspection-input-closure.companion.js +104 -0
  211. package/dist/esm/core/introspection/services/introspection-input-closure.companion.js.map +1 -0
  212. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts +123 -24
  213. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
  214. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js +281 -54
  215. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
  216. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts +22 -6
  217. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts.map +1 -1
  218. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js +38 -7
  219. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js.map +1 -1
  220. package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -1
  221. package/dist/esm/core/introspection/services/translation-placement.companion.service.js.map +1 -1
  222. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts +9 -0
  223. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts.map +1 -1
  224. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js +29 -9
  225. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js.map +1 -1
  226. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts.map +1 -1
  227. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js.map +1 -1
  228. package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts.map +1 -1
  229. package/dist/esm/core/introspection/subprocess/assertions.behavior.js +10 -10
  230. package/dist/esm/core/introspection/subprocess/assertions.behavior.js.map +1 -1
  231. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts.map +1 -1
  232. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.js.map +1 -1
  233. package/dist/esm/core/introspection/subprocess/asset-noop-register.d.ts.map +1 -1
  234. package/dist/esm/core/introspection/subprocess/asset-noop-register.js.map +1 -1
  235. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.d.ts.map +1 -1
  236. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.js.map +1 -1
  237. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.d.ts.map +1 -1
  238. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.js.map +1 -1
  239. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts +1 -1
  240. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
  241. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +20 -19
  242. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
  243. package/dist/esm/core/introspection/subprocess/companion-introspection-child.d.ts.map +1 -1
  244. package/dist/esm/core/introspection/subprocess/companion-introspection-child.js.map +1 -1
  245. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.d.ts.map +1 -1
  246. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.js.map +1 -1
  247. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts.map +1 -1
  248. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -1
  249. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.d.ts.map +1 -1
  250. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.js.map +1 -1
  251. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts.map +1 -1
  252. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js.map +1 -1
  253. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts +7 -1
  254. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts.map +1 -1
  255. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js +13 -4
  256. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js.map +1 -1
  257. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts.map +1 -1
  258. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js +9 -1
  259. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js.map +1 -1
  260. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts.map +1 -1
  261. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js.map +1 -1
  262. package/dist/esm/core/introspection/subprocess/market-context-block.builder.d.ts.map +1 -1
  263. package/dist/esm/core/introspection/subprocess/market-context-block.builder.js +2 -1
  264. package/dist/esm/core/introspection/subprocess/market-context-block.builder.js.map +1 -1
  265. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts +4 -3
  266. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts.map +1 -1
  267. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js +14 -8
  268. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js.map +1 -1
  269. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts.map +1 -1
  270. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js +17 -4
  271. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
  272. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts.map +1 -1
  273. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js.map +1 -1
  274. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
  275. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js +7 -0
  276. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -1
  277. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts.map +1 -1
  278. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js.map +1 -1
  279. package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -1
  280. package/dist/esm/core/introspection/workspace-element-index.companion.js.map +1 -1
  281. package/dist/esm/core/introspection/workspace-elements.companion.d.ts.map +1 -1
  282. package/dist/esm/core/introspection/workspace-elements.companion.js.map +1 -1
  283. package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts.map +1 -1
  284. package/dist/esm/core/lock/wildo-saas-lock.companion.service.js.map +1 -1
  285. package/dist/esm/core/lock/wildo-saas-lock.models.d.ts.map +1 -1
  286. package/dist/esm/core/lock/wildo-saas-lock.models.js.map +1 -1
  287. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts +4 -4
  288. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts.map +1 -1
  289. package/dist/esm/core/lock/wildo-saas-lock.schemas.js.map +1 -1
  290. package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts +35 -0
  291. package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts.map +1 -1
  292. package/dist/esm/core/runtime/application-runtime-liveness.companion.js +74 -0
  293. package/dist/esm/core/runtime/application-runtime-liveness.companion.js.map +1 -1
  294. package/dist/esm/core/runtime/companion-endpoint-record.d.ts.map +1 -1
  295. package/dist/esm/core/runtime/companion-endpoint-record.js.map +1 -1
  296. package/dist/esm/core/runtime/companion-env-file.d.ts +39 -9
  297. package/dist/esm/core/runtime/companion-env-file.d.ts.map +1 -1
  298. package/dist/esm/core/runtime/companion-env-file.js +75 -16
  299. package/dist/esm/core/runtime/companion-env-file.js.map +1 -1
  300. package/dist/esm/core/runtime/companion-self-restart.companion.d.ts +38 -0
  301. package/dist/esm/core/runtime/companion-self-restart.companion.d.ts.map +1 -0
  302. package/dist/esm/core/runtime/companion-self-restart.companion.js +110 -0
  303. package/dist/esm/core/runtime/companion-self-restart.companion.js.map +1 -0
  304. package/dist/esm/core/runtime/companion-startup-assembly.d.ts.map +1 -1
  305. package/dist/esm/core/runtime/companion-startup-assembly.js +7 -1
  306. package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
  307. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts +12 -0
  308. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
  309. package/dist/esm/core/runtime/dev-compile-quiet.companion.js +15 -1
  310. package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
  311. package/dist/esm/core/runtime/event-loop-stall-monitor.companion.d.ts +83 -0
  312. package/dist/esm/core/runtime/event-loop-stall-monitor.companion.d.ts.map +1 -0
  313. package/dist/esm/core/runtime/event-loop-stall-monitor.companion.js +150 -0
  314. package/dist/esm/core/runtime/event-loop-stall-monitor.companion.js.map +1 -0
  315. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts.map +1 -1
  316. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js.map +1 -1
  317. package/dist/esm/core/runtime/models/companion-runtime.models.d.ts.map +1 -1
  318. package/dist/esm/core/runtime/models/companion-runtime.models.js.map +1 -1
  319. package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts.map +1 -1
  320. package/dist/esm/core/runtime/services/file-storage-initialization.companion.js.map +1 -1
  321. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +30 -4
  322. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
  323. package/dist/esm/core/runtime/services/start-companion-application.service.js +78 -12
  324. package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
  325. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.d.ts.map +1 -1
  326. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.js.map +1 -1
  327. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
  328. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
  329. package/dist/esm/core/runtime/utils/companion-workbench-topology.d.ts.map +1 -1
  330. package/dist/esm/core/runtime/utils/companion-workbench-topology.js.map +1 -1
  331. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.d.ts.map +1 -1
  332. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.js.map +1 -1
  333. package/dist/esm/core/specifications/chart-view-specification-context.factory.d.ts.map +1 -1
  334. package/dist/esm/core/specifications/chart-view-specification-context.factory.js.map +1 -1
  335. package/dist/esm/core/specifications/composite-view-specification-context.factory.d.ts.map +1 -1
  336. package/dist/esm/core/specifications/composite-view-specification-context.factory.js.map +1 -1
  337. package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts.map +1 -1
  338. package/dist/esm/core/specifications/cross-registry-rendering.shared.js.map +1 -1
  339. package/dist/esm/core/specifications/execution-view-specification-context.factory.d.ts.map +1 -1
  340. package/dist/esm/core/specifications/execution-view-specification-context.factory.js.map +1 -1
  341. package/dist/esm/core/specifications/feature-specification-context.factory.d.ts.map +1 -1
  342. package/dist/esm/core/specifications/feature-specification-context.factory.js.map +1 -1
  343. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.d.ts.map +1 -1
  344. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.js.map +1 -1
  345. package/dist/esm/core/specifications/frontend-component-specification-context.factory.d.ts.map +1 -1
  346. package/dist/esm/core/specifications/frontend-component-specification-context.factory.js.map +1 -1
  347. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.d.ts.map +1 -1
  348. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.js.map +1 -1
  349. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.d.ts.map +1 -1
  350. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.js.map +1 -1
  351. package/dist/esm/core/specifications/milestone-specification-context.factory.d.ts.map +1 -1
  352. package/dist/esm/core/specifications/milestone-specification-context.factory.js.map +1 -1
  353. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.d.ts.map +1 -1
  354. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.js.map +1 -1
  355. package/dist/esm/core/specifications/onboarding-element-rendering.shared.d.ts.map +1 -1
  356. package/dist/esm/core/specifications/onboarding-element-rendering.shared.js.map +1 -1
  357. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.d.ts.map +1 -1
  358. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.js.map +1 -1
  359. package/dist/esm/core/specifications/product-specification-context.factory.d.ts.map +1 -1
  360. package/dist/esm/core/specifications/product-specification-context.factory.js.map +1 -1
  361. package/dist/esm/core/specifications/resource-specification-context.factory.d.ts.map +1 -1
  362. package/dist/esm/core/specifications/resource-specification-context.factory.js.map +1 -1
  363. package/dist/esm/core/specifications/role-specification-context.factory.d.ts.map +1 -1
  364. package/dist/esm/core/specifications/role-specification-context.factory.js.map +1 -1
  365. package/dist/esm/core/specifications/specification-context-factory.d.ts.map +1 -1
  366. package/dist/esm/core/specifications/specification-context-factory.js.map +1 -1
  367. package/dist/esm/core/specifications/specification-context-factory.models.d.ts.map +1 -1
  368. package/dist/esm/core/specifications/specification-context-factory.models.js.map +1 -1
  369. package/dist/esm/core/specifications/specification-context-factory.shared.d.ts.map +1 -1
  370. package/dist/esm/core/specifications/specification-context-factory.shared.js.map +1 -1
  371. package/dist/esm/core/specifications/system-email-template-specification-context.factory.d.ts.map +1 -1
  372. package/dist/esm/core/specifications/system-email-template-specification-context.factory.js.map +1 -1
  373. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.d.ts.map +1 -1
  374. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.js.map +1 -1
  375. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.d.ts.map +1 -1
  376. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.js.map +1 -1
  377. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.d.ts.map +1 -1
  378. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.js.map +1 -1
  379. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.d.ts.map +1 -1
  380. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.js.map +1 -1
  381. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.d.ts.map +1 -1
  382. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.js.map +1 -1
  383. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.d.ts.map +1 -1
  384. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.js.map +1 -1
  385. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.d.ts.map +1 -1
  386. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.js.map +1 -1
  387. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.d.ts.map +1 -1
  388. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.js.map +1 -1
  389. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.d.ts.map +1 -1
  390. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.js.map +1 -1
  391. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.d.ts.map +1 -1
  392. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.js.map +1 -1
  393. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.d.ts.map +1 -1
  394. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.js.map +1 -1
  395. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.d.ts.map +1 -1
  396. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.js.map +1 -1
  397. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.d.ts.map +1 -1
  398. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.js.map +1 -1
  399. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.d.ts.map +1 -1
  400. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.js.map +1 -1
  401. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.d.ts.map +1 -1
  402. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.js.map +1 -1
  403. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.d.ts.map +1 -1
  404. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.js.map +1 -1
  405. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.d.ts.map +1 -1
  406. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.js.map +1 -1
  407. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.d.ts.map +1 -1
  408. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.js.map +1 -1
  409. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.d.ts.map +1 -1
  410. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.js.map +1 -1
  411. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.d.ts.map +1 -1
  412. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.js.map +1 -1
  413. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.d.ts.map +1 -1
  414. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.js.map +1 -1
  415. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.d.ts.map +1 -1
  416. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.js.map +1 -1
  417. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.d.ts.map +1 -1
  418. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.js.map +1 -1
  419. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.d.ts.map +1 -1
  420. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.js.map +1 -1
  421. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.d.ts.map +1 -1
  422. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.js.map +1 -1
  423. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.d.ts.map +1 -1
  424. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.js.map +1 -1
  425. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.d.ts.map +1 -1
  426. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.js.map +1 -1
  427. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.d.ts.map +1 -1
  428. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.js.map +1 -1
  429. package/dist/esm/core/specifications/templates/product/product-all-information.template.d.ts.map +1 -1
  430. package/dist/esm/core/specifications/templates/product/product-all-information.template.js.map +1 -1
  431. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.d.ts.map +1 -1
  432. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.js.map +1 -1
  433. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.d.ts.map +1 -1
  434. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.js.map +1 -1
  435. package/dist/esm/core/specifications/templates/product/product-translation-context.template.d.ts.map +1 -1
  436. package/dist/esm/core/specifications/templates/product/product-translation-context.template.js.map +1 -1
  437. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.d.ts.map +1 -1
  438. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.js.map +1 -1
  439. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.d.ts.map +1 -1
  440. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.js.map +1 -1
  441. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.d.ts.map +1 -1
  442. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.js.map +1 -1
  443. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.d.ts.map +1 -1
  444. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.js.map +1 -1
  445. package/dist/esm/core/specifications/templates/role/role-all-information.template.d.ts.map +1 -1
  446. package/dist/esm/core/specifications/templates/role/role-all-information.template.js.map +1 -1
  447. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.d.ts.map +1 -1
  448. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.js.map +1 -1
  449. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.d.ts.map +1 -1
  450. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.js.map +1 -1
  451. package/dist/esm/core/specifications/templates/role/role-translation-context.template.d.ts.map +1 -1
  452. package/dist/esm/core/specifications/templates/role/role-translation-context.template.js.map +1 -1
  453. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.d.ts.map +1 -1
  454. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.js.map +1 -1
  455. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.d.ts.map +1 -1
  456. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.js.map +1 -1
  457. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.d.ts.map +1 -1
  458. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.js.map +1 -1
  459. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.d.ts.map +1 -1
  460. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.js.map +1 -1
  461. package/dist/esm/core/specifications/validate-resource-field-completeness.d.ts.map +1 -1
  462. package/dist/esm/core/specifications/validate-resource-field-completeness.js.map +1 -1
  463. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts.map +1 -1
  464. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js.map +1 -1
  465. package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -1
  466. package/dist/esm/core/traceability/companion-traceability.models.js.map +1 -1
  467. package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -1
  468. package/dist/esm/core/traceability/companion-traceability.service.js.map +1 -1
  469. package/dist/esm/core/utils/atomic-write.utils.d.ts.map +1 -1
  470. package/dist/esm/core/utils/atomic-write.utils.js.map +1 -1
  471. package/dist/esm/core/utils/bounded-concurrency.utils.d.ts +17 -0
  472. package/dist/esm/core/utils/bounded-concurrency.utils.d.ts.map +1 -0
  473. package/dist/esm/core/utils/bounded-concurrency.utils.js +37 -0
  474. package/dist/esm/core/utils/bounded-concurrency.utils.js.map +1 -0
  475. package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts +10 -1
  476. package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts.map +1 -1
  477. package/dist/esm/core/utils/derived-input-signature.companion.utils.js +9 -2
  478. package/dist/esm/core/utils/derived-input-signature.companion.utils.js.map +1 -1
  479. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts.map +1 -1
  480. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js +2 -0
  481. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js.map +1 -1
  482. package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -1
  483. package/dist/esm/creation-conversation/creation-conversation.function-tools.js +69 -7
  484. package/dist/esm/creation-conversation/creation-conversation.function-tools.js.map +1 -1
  485. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts +0 -17
  486. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
  487. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js +17 -12
  488. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
  489. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts +10 -5
  490. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
  491. package/dist/esm/deliberations/services/deliberation.companion.service.js +31 -21
  492. package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
  493. package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts.map +1 -1
  494. package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -1
  495. package/dist/esm/deliberations/utils/expert-agent-registration.d.ts +56 -0
  496. package/dist/esm/deliberations/utils/expert-agent-registration.d.ts.map +1 -0
  497. package/dist/esm/deliberations/utils/expert-agent-registration.js +74 -0
  498. package/dist/esm/deliberations/utils/expert-agent-registration.js.map +1 -0
  499. package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts +9 -5
  500. package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts.map +1 -1
  501. package/dist/esm/deliberations/utils/load-committed-expert-agents.js +11 -15
  502. package/dist/esm/deliberations/utils/load-committed-expert-agents.js.map +1 -1
  503. package/dist/esm/email/models/email-template.actors-system.definitions.d.ts.map +1 -1
  504. package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -1
  505. package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts.map +1 -1
  506. package/dist/esm/email/services/email-spec-context-loader.companion.service.js.map +1 -1
  507. package/dist/esm/email/services/email-template.companion.service.d.ts +6 -1
  508. package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
  509. package/dist/esm/email/services/email-template.companion.service.js +4 -1
  510. package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
  511. package/dist/esm/email/utils/email-labels-file-source.utils.d.ts.map +1 -1
  512. package/dist/esm/email/utils/email-labels-file-source.utils.js.map +1 -1
  513. package/dist/esm/email/utils/email-labels-tree.utils.d.ts.map +1 -1
  514. package/dist/esm/email/utils/email-labels-tree.utils.js.map +1 -1
  515. package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
  516. package/dist/esm/email/utils/email-template-fs-discovery.utils.js.map +1 -1
  517. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts.map +1 -1
  518. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js.map +1 -1
  519. package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
  520. package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
  521. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -1
  522. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js +8 -2
  523. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -1
  524. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -1
  525. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js +8 -2
  526. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -1
  527. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts +5 -3
  528. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts.map +1 -1
  529. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js +5 -3
  530. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js.map +1 -1
  531. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts +17 -1
  532. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
  533. package/dist/esm/expert-personas/services/expert-persona.companion.service.js +51 -14
  534. package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
  535. package/dist/esm/expert-personas/services/persona-source-ownership.d.ts.map +1 -1
  536. package/dist/esm/expert-personas/services/persona-source-ownership.js.map +1 -1
  537. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts.map +1 -1
  538. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js.map +1 -1
  539. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts.map +1 -1
  540. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js.map +1 -1
  541. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts.map +1 -1
  542. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js.map +1 -1
  543. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.d.ts.map +1 -1
  544. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.js.map +1 -1
  545. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.d.ts.map +1 -1
  546. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.js.map +1 -1
  547. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts.map +1 -1
  548. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js.map +1 -1
  549. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts.map +1 -1
  550. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js.map +1 -1
  551. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts.map +1 -1
  552. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js.map +1 -1
  553. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  554. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js.map +1 -1
  555. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts.map +1 -1
  556. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js.map +1 -1
  557. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.d.ts.map +1 -1
  558. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.js.map +1 -1
  559. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts.map +1 -1
  560. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js.map +1 -1
  561. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts.map +1 -1
  562. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js.map +1 -1
  563. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.d.ts.map +1 -1
  564. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js.map +1 -1
  565. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts.map +1 -1
  566. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js.map +1 -1
  567. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts.map +1 -1
  568. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js.map +1 -1
  569. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts.map +1 -1
  570. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js.map +1 -1
  571. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts.map +1 -1
  572. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js.map +1 -1
  573. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts.map +1 -1
  574. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js.map +1 -1
  575. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts.map +1 -1
  576. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js.map +1 -1
  577. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts.map +1 -1
  578. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js.map +1 -1
  579. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts.map +1 -1
  580. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js.map +1 -1
  581. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts.map +1 -1
  582. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js.map +1 -1
  583. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts.map +1 -1
  584. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js.map +1 -1
  585. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts.map +1 -1
  586. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js.map +1 -1
  587. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts.map +1 -1
  588. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js.map +1 -1
  589. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts.map +1 -1
  590. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js.map +1 -1
  591. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts.map +1 -1
  592. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js.map +1 -1
  593. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts.map +1 -1
  594. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js.map +1 -1
  595. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts.map +1 -1
  596. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js.map +1 -1
  597. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts.map +1 -1
  598. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js.map +1 -1
  599. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts.map +1 -1
  600. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js.map +1 -1
  601. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.d.ts.map +1 -1
  602. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.js.map +1 -1
  603. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts.map +1 -1
  604. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js.map +1 -1
  605. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -1
  606. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
  607. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
  608. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
  609. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts.map +1 -1
  610. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js.map +1 -1
  611. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts.map +1 -1
  612. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js.map +1 -1
  613. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.d.ts.map +1 -1
  614. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.js.map +1 -1
  615. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.d.ts.map +1 -1
  616. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.js.map +1 -1
  617. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts.map +1 -1
  618. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js.map +1 -1
  619. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts.map +1 -1
  620. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js.map +1 -1
  621. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.d.ts.map +1 -1
  622. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.js.map +1 -1
  623. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts.map +1 -1
  624. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js.map +1 -1
  625. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts.map +1 -1
  626. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js.map +1 -1
  627. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts.map +1 -1
  628. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js.map +1 -1
  629. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts.map +1 -1
  630. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js.map +1 -1
  631. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.d.ts.map +1 -1
  632. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.js.map +1 -1
  633. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.d.ts.map +1 -1
  634. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.js.map +1 -1
  635. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.d.ts.map +1 -1
  636. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.js.map +1 -1
  637. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts.map +1 -1
  638. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js.map +1 -1
  639. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts.map +1 -1
  640. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js.map +1 -1
  641. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.d.ts.map +1 -1
  642. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.js.map +1 -1
  643. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.d.ts.map +1 -1
  644. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.js.map +1 -1
  645. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.d.ts.map +1 -1
  646. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.js.map +1 -1
  647. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts.map +1 -1
  648. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js.map +1 -1
  649. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts.map +1 -1
  650. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js.map +1 -1
  651. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts.map +1 -1
  652. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js.map +1 -1
  653. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts.map +1 -1
  654. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js.map +1 -1
  655. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts.map +1 -1
  656. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js.map +1 -1
  657. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +1 -1
  658. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +1 -1
  659. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts.map +1 -1
  660. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js.map +1 -1
  661. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts.map +1 -1
  662. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js.map +1 -1
  663. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts.map +1 -1
  664. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js.map +1 -1
  665. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts.map +1 -1
  666. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js.map +1 -1
  667. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.d.ts.map +1 -1
  668. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.js.map +1 -1
  669. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.d.ts.map +1 -1
  670. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.js.map +1 -1
  671. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.d.ts.map +1 -1
  672. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.js.map +1 -1
  673. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.d.ts.map +1 -1
  674. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.js.map +1 -1
  675. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts.map +1 -1
  676. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js.map +1 -1
  677. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts.map +1 -1
  678. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js.map +1 -1
  679. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -1
  680. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
  681. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts.map +1 -1
  682. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js.map +1 -1
  683. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.d.ts.map +1 -1
  684. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.js.map +1 -1
  685. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts.map +1 -1
  686. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js.map +1 -1
  687. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts.map +1 -1
  688. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js.map +1 -1
  689. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.d.ts.map +1 -1
  690. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.js.map +1 -1
  691. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts.map +1 -1
  692. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js.map +1 -1
  693. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.d.ts.map +1 -1
  694. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.js.map +1 -1
  695. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts.map +1 -1
  696. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js.map +1 -1
  697. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts.map +1 -1
  698. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js.map +1 -1
  699. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts.map +1 -1
  700. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js.map +1 -1
  701. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.d.ts.map +1 -1
  702. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.js.map +1 -1
  703. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts.map +1 -1
  704. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js.map +1 -1
  705. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.d.ts.map +1 -1
  706. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.js.map +1 -1
  707. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.d.ts.map +1 -1
  708. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.js.map +1 -1
  709. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.d.ts.map +1 -1
  710. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js.map +1 -1
  711. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts.map +1 -1
  712. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js.map +1 -1
  713. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts.map +1 -1
  714. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js.map +1 -1
  715. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts.map +1 -1
  716. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js.map +1 -1
  717. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts.map +1 -1
  718. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js.map +1 -1
  719. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts.map +1 -1
  720. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js.map +1 -1
  721. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts.map +1 -1
  722. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js.map +1 -1
  723. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts.map +1 -1
  724. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js.map +1 -1
  725. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.d.ts.map +1 -1
  726. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.js.map +1 -1
  727. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts.map +1 -1
  728. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js.map +1 -1
  729. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts.map +1 -1
  730. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js.map +1 -1
  731. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts.map +1 -1
  732. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js.map +1 -1
  733. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts.map +1 -1
  734. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js.map +1 -1
  735. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.d.ts.map +1 -1
  736. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.js.map +1 -1
  737. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts.map +1 -1
  738. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js.map +1 -1
  739. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts.map +1 -1
  740. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js.map +1 -1
  741. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.d.ts.map +1 -1
  742. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.js.map +1 -1
  743. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -1
  744. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js.map +1 -1
  745. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts.map +1 -1
  746. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js.map +1 -1
  747. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.d.ts.map +1 -1
  748. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.js.map +1 -1
  749. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.d.ts.map +1 -1
  750. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.js.map +1 -1
  751. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.d.ts.map +1 -1
  752. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.js.map +1 -1
  753. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts.map +1 -1
  754. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js.map +1 -1
  755. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.d.ts.map +1 -1
  756. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.js.map +1 -1
  757. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.d.ts.map +1 -1
  758. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.js.map +1 -1
  759. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts.map +1 -1
  760. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js.map +1 -1
  761. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts.map +1 -1
  762. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js.map +1 -1
  763. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts.map +1 -1
  764. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.js.map +1 -1
  765. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.d.ts.map +1 -1
  766. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.js.map +1 -1
  767. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  768. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js.map +1 -1
  769. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts.map +1 -1
  770. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js.map +1 -1
  771. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts.map +1 -1
  772. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js.map +1 -1
  773. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts.map +1 -1
  774. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js.map +1 -1
  775. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts.map +1 -1
  776. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js.map +1 -1
  777. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts.map +1 -1
  778. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js.map +1 -1
  779. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -1
  780. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -1
  781. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts.map +1 -1
  782. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js.map +1 -1
  783. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts.map +1 -1
  784. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js.map +1 -1
  785. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts.map +1 -1
  786. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js.map +1 -1
  787. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts.map +1 -1
  788. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js.map +1 -1
  789. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts.map +1 -1
  790. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js.map +1 -1
  791. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
  792. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -1
  793. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts.map +1 -1
  794. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
  795. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts.map +1 -1
  796. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js.map +1 -1
  797. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts.map +1 -1
  798. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js.map +1 -1
  799. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts.map +1 -1
  800. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js.map +1 -1
  801. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts.map +1 -1
  802. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js.map +1 -1
  803. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts.map +1 -1
  804. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js.map +1 -1
  805. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts.map +1 -1
  806. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js.map +1 -1
  807. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts.map +1 -1
  808. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js.map +1 -1
  809. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -1
  810. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js.map +1 -1
  811. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts.map +1 -1
  812. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js.map +1 -1
  813. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
  814. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
  815. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts.map +1 -1
  816. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js.map +1 -1
  817. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
  818. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
  819. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts.map +1 -1
  820. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js.map +1 -1
  821. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts.map +1 -1
  822. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js.map +1 -1
  823. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.d.ts.map +1 -1
  824. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.js.map +1 -1
  825. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts.map +1 -1
  826. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js.map +1 -1
  827. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts.map +1 -1
  828. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js.map +1 -1
  829. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts.map +1 -1
  830. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js.map +1 -1
  831. package/dist/esm/i18n/components/guidance_announcement.en.d.ts.map +1 -1
  832. package/dist/esm/i18n/components/guidance_announcement.en.js.map +1 -1
  833. package/dist/esm/i18n/components/guidance_banner.en.d.ts.map +1 -1
  834. package/dist/esm/i18n/components/guidance_banner.en.js.map +1 -1
  835. package/dist/esm/i18n/components/guidance_card.en.d.ts.map +1 -1
  836. package/dist/esm/i18n/components/guidance_card.en.js.map +1 -1
  837. package/dist/esm/i18n/components/guidance_checklist.en.d.ts.map +1 -1
  838. package/dist/esm/i18n/components/guidance_checklist.en.js.map +1 -1
  839. package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts.map +1 -1
  840. package/dist/esm/i18n/components/guidance_checklist_item.en.js.map +1 -1
  841. package/dist/esm/i18n/components/guidance_modal.en.d.ts.map +1 -1
  842. package/dist/esm/i18n/components/guidance_modal.en.js.map +1 -1
  843. package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts.map +1 -1
  844. package/dist/esm/i18n/components/guidance_onboarding_view.en.js.map +1 -1
  845. package/dist/esm/i18n/components/guidance_survey.en.d.ts.map +1 -1
  846. package/dist/esm/i18n/components/guidance_survey.en.js.map +1 -1
  847. package/dist/esm/i18n/components/guidance_tooltip.en.d.ts.map +1 -1
  848. package/dist/esm/i18n/components/guidance_tooltip.en.js.map +1 -1
  849. package/dist/esm/i18n/components/guidance_tour.en.d.ts.map +1 -1
  850. package/dist/esm/i18n/components/guidance_tour.en.js.map +1 -1
  851. package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts.map +1 -1
  852. package/dist/esm/i18n/components/progression_achievement_badge.en.js.map +1 -1
  853. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
  854. package/dist/esm/i18n/components/progression_milestone_tracker.en.js.map +1 -1
  855. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts +1 -0
  856. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts.map +1 -1
  857. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js +55 -1
  858. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js.map +1 -1
  859. package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts.map +1 -1
  860. package/dist/esm/i18n/composite_views/app.creation-dossier.en.js.map +1 -1
  861. package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts.map +1 -1
  862. package/dist/esm/i18n/composite_views/app.domain-model.en.js.map +1 -1
  863. package/dist/esm/i18n/control-plane-label-blocks.d.ts +344 -0
  864. package/dist/esm/i18n/control-plane-label-blocks.d.ts.map +1 -0
  865. package/dist/esm/i18n/control-plane-label-blocks.js +115 -0
  866. package/dist/esm/i18n/control-plane-label-blocks.js.map +1 -0
  867. package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts.map +1 -1
  868. package/dist/esm/i18n/errors_guidance/errors-guidance.en.js.map +1 -1
  869. package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts.map +1 -1
  870. package/dist/esm/i18n/errors_messages/errors-messages.en.js.map +1 -1
  871. package/dist/esm/i18n/index.d.ts.map +1 -1
  872. package/dist/esm/i18n/index.js.map +1 -1
  873. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts +410 -0
  874. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
  875. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js +13 -145
  876. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
  877. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts +65 -0
  878. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
  879. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js +4 -37
  880. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js.map +1 -1
  881. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts +65 -0
  882. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
  883. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js +4 -37
  884. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js.map +1 -1
  885. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts.map +1 -1
  886. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js.map +1 -1
  887. package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -1
  888. package/dist/esm/i18n/resources/workbenchAspects.en.js +11 -0
  889. package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -1
  890. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts +5 -0
  891. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts.map +1 -1
  892. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js +5 -0
  893. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js.map +1 -1
  894. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts.map +1 -1
  895. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js.map +1 -1
  896. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts +1 -1
  897. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
  898. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js +2 -1
  899. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js.map +1 -1
  900. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts.map +1 -1
  901. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js.map +1 -1
  902. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts.map +1 -1
  903. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js.map +1 -1
  904. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts.map +1 -1
  905. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js.map +1 -1
  906. package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts.map +1 -1
  907. package/dist/esm/i18n/resources/workbenchDomainResources.en.js.map +1 -1
  908. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts +56 -0
  909. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -1
  910. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js +15 -0
  911. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -1
  912. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts.map +1 -1
  913. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js.map +1 -1
  914. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts.map +1 -1
  915. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js.map +1 -1
  916. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts.map +1 -1
  917. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js.map +1 -1
  918. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts.map +1 -1
  919. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js.map +1 -1
  920. package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
  921. package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -1
  922. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
  923. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js.map +1 -1
  924. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +553 -0
  925. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
  926. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +187 -5
  927. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
  928. package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -1
  929. package/dist/esm/i18n/resources/workbenchTraceSessions.en.js.map +1 -1
  930. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts.map +1 -1
  931. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js.map +1 -1
  932. package/dist/esm/i18n/system_enums/application-creation.en.d.ts +60 -0
  933. package/dist/esm/i18n/system_enums/application-creation.en.d.ts.map +1 -1
  934. package/dist/esm/i18n/system_enums/application-creation.en.js +66 -1
  935. package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -1
  936. package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts.map +1 -1
  937. package/dist/esm/i18n/system_enums/compliance-programme.en.js.map +1 -1
  938. package/dist/esm/i18n/system_enums/flows-actors.en.d.ts.map +1 -1
  939. package/dist/esm/i18n/system_enums/flows-actors.en.js.map +1 -1
  940. package/dist/esm/i18n/system_enums/localization.en.d.ts +82 -0
  941. package/dist/esm/i18n/system_enums/localization.en.d.ts.map +1 -0
  942. package/dist/esm/i18n/system_enums/localization.en.js +82 -0
  943. package/dist/esm/i18n/system_enums/localization.en.js.map +1 -0
  944. package/dist/esm/i18n/system_enums/market.en.d.ts.map +1 -1
  945. package/dist/esm/i18n/system_enums/market.en.js.map +1 -1
  946. package/dist/esm/i18n/system_enums/processor-register.en.d.ts.map +1 -1
  947. package/dist/esm/i18n/system_enums/processor-register.en.js.map +1 -1
  948. package/dist/esm/i18n/system_enums/risk-register.en.d.ts +1 -0
  949. package/dist/esm/i18n/system_enums/risk-register.en.d.ts.map +1 -1
  950. package/dist/esm/i18n/system_enums/risk-register.en.js +1 -0
  951. package/dist/esm/i18n/system_enums/risk-register.en.js.map +1 -1
  952. package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -1
  953. package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -1
  954. package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts +1 -0
  955. package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -1
  956. package/dist/esm/i18n/system_enums/workbench-creation-home.en.js +2 -0
  957. package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -1
  958. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts +10 -0
  959. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts.map +1 -1
  960. package/dist/esm/i18n/system_enums/workbench-dossier.en.js +13 -0
  961. package/dist/esm/i18n/system_enums/workbench-dossier.en.js.map +1 -1
  962. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts.map +1 -1
  963. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js.map +1 -1
  964. package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts.map +1 -1
  965. package/dist/esm/i18n/system_enums/workbench-secrets.en.js.map +1 -1
  966. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts.map +1 -1
  967. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js.map +1 -1
  968. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts.map +1 -1
  969. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js.map +1 -1
  970. package/dist/esm/i18n-labelling/models/labelling-progress.models.d.ts +43 -0
  971. package/dist/esm/i18n-labelling/models/labelling-progress.models.d.ts.map +1 -0
  972. package/dist/esm/i18n-labelling/models/labelling-progress.models.js +34 -0
  973. package/dist/esm/i18n-labelling/models/labelling-progress.models.js.map +1 -0
  974. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts +29 -2
  975. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
  976. package/dist/esm/i18n-labelling/models/labelling-unit.models.js +17 -0
  977. package/dist/esm/i18n-labelling/models/labelling-unit.models.js.map +1 -1
  978. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts.map +1 -1
  979. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -1
  980. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.d.ts.map +1 -1
  981. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.js.map +1 -1
  982. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts.map +1 -1
  983. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js.map +1 -1
  984. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts +5 -0
  985. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
  986. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js +44 -4
  987. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
  988. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts.map +1 -1
  989. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js.map +1 -1
  990. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts +8 -0
  991. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -1
  992. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js +97 -56
  993. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js.map +1 -1
  994. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts +18 -0
  995. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -1
  996. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js +269 -153
  997. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
  998. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts.map +1 -1
  999. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js.map +1 -1
  1000. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -1
  1001. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -1
  1002. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts.map +1 -1
  1003. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js.map +1 -1
  1004. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts.map +1 -1
  1005. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js.map +1 -1
  1006. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts.map +1 -1
  1007. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js.map +1 -1
  1008. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.d.ts.map +1 -1
  1009. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.js.map +1 -1
  1010. package/dist/esm/i18n-labelling/utils/label-file-source.utils.d.ts.map +1 -1
  1011. package/dist/esm/i18n-labelling/utils/label-file-source.utils.js.map +1 -1
  1012. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts.map +1 -1
  1013. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js.map +1 -1
  1014. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.d.ts +41 -0
  1015. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.d.ts.map +1 -0
  1016. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.js +47 -0
  1017. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.js.map +1 -0
  1018. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts.map +1 -1
  1019. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js.map +1 -1
  1020. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts +12 -0
  1021. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts.map +1 -1
  1022. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js +10 -2
  1023. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js.map +1 -1
  1024. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.d.ts.map +1 -1
  1025. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js.map +1 -1
  1026. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts.map +1 -1
  1027. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js.map +1 -1
  1028. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.d.ts.map +1 -1
  1029. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.js.map +1 -1
  1030. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts +8 -1
  1031. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -1
  1032. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js +9 -2
  1033. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
  1034. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.d.ts +89 -0
  1035. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.d.ts.map +1 -0
  1036. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.js +229 -0
  1037. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.js.map +1 -0
  1038. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts +13 -7
  1039. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.map +1 -1
  1040. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js +13 -7
  1041. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js.map +1 -1
  1042. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.d.ts.map +1 -1
  1043. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js.map +1 -1
  1044. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.d.ts.map +1 -1
  1045. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.js.map +1 -1
  1046. package/dist/esm/index.d.ts.map +1 -1
  1047. package/dist/esm/index.js.map +1 -1
  1048. package/dist/esm/market/services/market-generation.companion.service.d.ts.map +1 -1
  1049. package/dist/esm/market/services/market-generation.companion.service.js.map +1 -1
  1050. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts.map +1 -1
  1051. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js.map +1 -1
  1052. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
  1053. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js +3 -3
  1054. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
  1055. package/dist/esm/meta-workflows/models/application-line-catalog.models.d.ts.map +1 -1
  1056. package/dist/esm/meta-workflows/models/application-line-catalog.models.js.map +1 -1
  1057. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -1
  1058. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -1
  1059. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts.map +1 -1
  1060. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -1
  1061. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts +85 -1
  1062. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts.map +1 -1
  1063. package/dist/esm/meta-workflows/models/build-task-rearm.models.js +101 -0
  1064. package/dist/esm/meta-workflows/models/build-task-rearm.models.js.map +1 -1
  1065. package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts.map +1 -1
  1066. package/dist/esm/meta-workflows/models/carried-verification-failure.models.js.map +1 -1
  1067. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts.map +1 -1
  1068. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js.map +1 -1
  1069. package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts +308 -0
  1070. package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts.map +1 -0
  1071. package/dist/esm/meta-workflows/models/creation-intervention.models.js +365 -0
  1072. package/dist/esm/meta-workflows/models/creation-intervention.models.js.map +1 -0
  1073. package/dist/esm/meta-workflows/models/generation-step-progress.models.d.ts +61 -0
  1074. package/dist/esm/meta-workflows/models/generation-step-progress.models.d.ts.map +1 -0
  1075. package/dist/esm/meta-workflows/models/generation-step-progress.models.js +58 -0
  1076. package/dist/esm/meta-workflows/models/generation-step-progress.models.js.map +1 -0
  1077. package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts.map +1 -1
  1078. package/dist/esm/meta-workflows/models/human-decision-settler.models.js.map +1 -1
  1079. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts +10 -6
  1080. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -1
  1081. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js +11 -6
  1082. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js.map +1 -1
  1083. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts.map +1 -1
  1084. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js.map +1 -1
  1085. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts +3 -0
  1086. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts.map +1 -1
  1087. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js +8 -1
  1088. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js.map +1 -1
  1089. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts +26 -0
  1090. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts.map +1 -1
  1091. package/dist/esm/meta-workflows/models/playbook-run-record.models.js +66 -10
  1092. package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -1
  1093. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts.map +1 -1
  1094. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js.map +1 -1
  1095. package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.d.ts +36 -0
  1096. package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.d.ts.map +1 -0
  1097. package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.js +97 -0
  1098. package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.js.map +1 -0
  1099. package/dist/esm/meta-workflows/models/website-copy-review.models.d.ts +124 -0
  1100. package/dist/esm/meta-workflows/models/website-copy-review.models.d.ts.map +1 -0
  1101. package/dist/esm/meta-workflows/models/website-copy-review.models.js +74 -0
  1102. package/dist/esm/meta-workflows/models/website-copy-review.models.js.map +1 -0
  1103. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts +13 -0
  1104. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts.map +1 -0
  1105. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js +33 -0
  1106. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js.map +1 -0
  1107. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.d.ts +145 -0
  1108. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.d.ts.map +1 -0
  1109. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.js +179 -0
  1110. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.js.map +1 -0
  1111. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +672 -24
  1112. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
  1113. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +1887 -74
  1114. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
  1115. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.d.ts.map +1 -1
  1116. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.js.map +1 -1
  1117. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +232 -14
  1118. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
  1119. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +407 -55
  1120. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
  1121. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts +158 -3
  1122. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
  1123. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js +446 -18
  1124. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
  1125. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts +130 -2
  1126. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts.map +1 -1
  1127. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js +266 -10
  1128. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js.map +1 -1
  1129. package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.d.ts +122 -0
  1130. package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.d.ts.map +1 -0
  1131. package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.js +295 -0
  1132. package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.js.map +1 -0
  1133. package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.d.ts +22 -0
  1134. package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.d.ts.map +1 -0
  1135. package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.js +45 -0
  1136. package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.js.map +1 -0
  1137. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts.map +1 -1
  1138. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js +10 -11
  1139. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js.map +1 -1
  1140. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts.map +1 -1
  1141. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js.map +1 -1
  1142. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts +53 -0
  1143. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts.map +1 -0
  1144. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js +97 -0
  1145. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js.map +1 -0
  1146. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map +1 -1
  1147. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js +10 -11
  1148. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map +1 -1
  1149. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts +82 -0
  1150. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts.map +1 -0
  1151. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js +291 -0
  1152. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js.map +1 -0
  1153. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts +76 -0
  1154. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts.map +1 -0
  1155. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js +88 -0
  1156. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js.map +1 -0
  1157. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts +53 -0
  1158. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts.map +1 -0
  1159. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js +164 -0
  1160. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js.map +1 -0
  1161. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.d.ts +37 -0
  1162. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.d.ts.map +1 -0
  1163. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.js +52 -0
  1164. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.js.map +1 -0
  1165. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts +79 -14
  1166. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -1
  1167. package/dist/esm/meta-workflows/services/dossier.companion.service.js +185 -29
  1168. package/dist/esm/meta-workflows/services/dossier.companion.service.js.map +1 -1
  1169. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts.map +1 -1
  1170. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js.map +1 -1
  1171. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts.map +1 -1
  1172. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js.map +1 -1
  1173. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts.map +1 -1
  1174. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js.map +1 -1
  1175. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts +52 -4
  1176. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
  1177. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js +134 -62
  1178. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
  1179. package/dist/esm/meta-workflows/services/governed-document-texts.companion.d.ts.map +1 -1
  1180. package/dist/esm/meta-workflows/services/governed-document-texts.companion.js.map +1 -1
  1181. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts.map +1 -1
  1182. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js.map +1 -1
  1183. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.d.ts +67 -0
  1184. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.d.ts.map +1 -0
  1185. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.js +64 -0
  1186. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.js.map +1 -0
  1187. package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts.map +1 -1
  1188. package/dist/esm/meta-workflows/services/landed-module-import.companion.js.map +1 -1
  1189. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.d.ts.map +1 -1
  1190. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.js.map +1 -1
  1191. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts.map +1 -1
  1192. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js +61 -20
  1193. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js.map +1 -1
  1194. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts +134 -4
  1195. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -1
  1196. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js +390 -7
  1197. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js.map +1 -1
  1198. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +166 -7
  1199. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
  1200. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +703 -116
  1201. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
  1202. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts +62 -1
  1203. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts.map +1 -1
  1204. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js +152 -2
  1205. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js.map +1 -1
  1206. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts.map +1 -1
  1207. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js.map +1 -1
  1208. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts.map +1 -1
  1209. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js.map +1 -1
  1210. package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts.map +1 -1
  1211. package/dist/esm/technical-doc/services/technical-doc.companion.service.js.map +1 -1
  1212. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts.map +1 -1
  1213. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js.map +1 -1
  1214. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.d.ts.map +1 -1
  1215. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.js.map +1 -1
  1216. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.d.ts.map +1 -1
  1217. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.js.map +1 -1
  1218. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -1
  1219. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -1
  1220. package/package.json +22 -18
  1221. package/dist/esm/__tests__/asset-noop.d.ts +0 -3
  1222. package/dist/esm/__tests__/asset-noop.d.ts.map +0 -1
  1223. package/dist/esm/__tests__/asset-noop.js +0 -2
  1224. package/dist/esm/__tests__/asset-noop.js.map +0 -1
  1225. package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts +0 -2
  1226. package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts.map +0 -1
  1227. package/dist/esm/__tests__/chdir-dogfood-app.setup.js +0 -44
  1228. package/dist/esm/__tests__/chdir-dogfood-app.setup.js.map +0 -1
  1229. package/dist/esm/__tests__/internal-test-view.d.ts +0 -39
  1230. package/dist/esm/__tests__/internal-test-view.d.ts.map +0 -1
  1231. package/dist/esm/__tests__/internal-test-view.js +0 -2
  1232. package/dist/esm/__tests__/internal-test-view.js.map +0 -1
  1233. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts +0 -50
  1234. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts.map +0 -1
  1235. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js +0 -157
  1236. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js.map +0 -1
  1237. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts +0 -8
  1238. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts.map +0 -1
  1239. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js +0 -43
  1240. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js.map +0 -1
  1241. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts +0 -79
  1242. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts.map +0 -1
  1243. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js +0 -193
  1244. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"governed-document-texts.companion.js","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/governed-document-texts.companion.ts"],"names":[],"mappings":"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","sourcesContent":["import {\n GovernedDocumentPublicDocumentKind,\n GovernedDocumentPublicDocumentSchema,\n governedDocumentReleaseIsInForce,\n projectGovernedDocumentPublicRelease,\n type GovernedDocumentPublicDocument,\n type GovernedDocumentRelease,\n} from '@wildo-ai/saas-models';\nimport type { ComplianceDocumentCandidate } from '@wildo-ai/saas-specifications/application-creation';\nimport {\n latestGovernedDocumentRelease,\n projectComplianceDocumentCandidatePublicContent,\n type AssuranceDocumentPublicationVariant,\n} from '@wildo-ai/saas-specifications/assurance';\n\n/**\n * BCP 47's own code for \"undetermined\" — the language a draft is printed under when neither the draft\n * nor a single declared publication variant decides one. A draft may leave its language open on\n * purpose (`ComplianceDocumentCandidate.locale` is optional so that the decision never gates drafting),\n * so the honest value is the one the standard reserves for exactly that, not a guessed language. BCP 47\n * admits `und` only where a tag is REQUIRED and the language is not known, and both hold here: the public\n * content schema requires a locale, and the draft has not decided one.\n *\n * spec-cite: RFC 5646 §4.1, item 5, the 'und' (Undetermined) bullet — fetched 2026-09-25.\n */\nconst UNDETERMINED_LANGUAGE = 'und';\n\n/**\n * The CURRENT text of every governed document the application holds, keyed by definition ref (#1645) —\n * what the workbench prints when a creator asks for all their documents as PDF. PURE.\n *\n * Per definition, the first that exists, each picked by `latestGovernedDocumentRelease` (latest\n * effective, then highest version — the precedence `resolveEffectiveDocumentRelease` applies):\n *\n * 1. **a release IN FORCE at `at`** — the document's text as it stands;\n * 2. **a release not yet in effect** — the text the application has committed to, which the PDF prints\n * with its effective date;\n * 3. **its latest draft**, as the same allow-list projection the public pages use\n * (`projectComplianceDocumentCandidatePublicContent`). Its language and jurisdictions come from the\n * draft when it states both, else from the application's single declared publication variant, else\n * they are UNDETERMINED — never borrowed from one of several variants nobody picked for it;\n * 4. **an EXPIRED release** — ranked last because it is no longer anyone's text: a draft being worked\n * on says more about the document than a release that has lapsed. The PDF prints it as expired.\n *\n * Otherwise nothing, and the caller prints the document as not composed yet.\n *\n * Unlike the public projection (`projectGovernedDocumentPublicDocuments` in the CLI) nothing is filtered\n * by publication channel: an internal governance policy is as much the creator's document as the privacy\n * notice, and this is the creator reading their own documents, not a page facing the public.\n *\n * Variants are not multiplied out: a document released in two languages prints once, in the release\n * selected above. The bundle answers \"what does each document say\", and the other language is the same\n * document.\n */\nexport function selectCurrentGovernedDocumentTexts(input: {\n readonly releases: readonly GovernedDocumentRelease[];\n readonly drafts: readonly ComplianceDocumentCandidate[];\n /** The definition ref a draft is drafted against — the catalog's `document:` → `document-definition:` join. */\n readonly definitionRefOfDraft: (draft: ComplianceDocumentCandidate) => string | undefined;\n readonly publishedVariants: readonly AssuranceDocumentPublicationVariant[];\n /** ISO-8601. The instant \"in force\" is asked at. */\n readonly at: string;\n}): ReadonlyMap<string, GovernedDocumentPublicDocument> {\n const texts = new Map<string, GovernedDocumentPublicDocument>();\n\n const at = Date.parse(input.at);\n const releasesByDefinition = new Map<string, GovernedDocumentRelease[]>();\n for (const release of input.releases) {\n const key = release.definition.definitionRef as string;\n releasesByDefinition.set(key, [...(releasesByDefinition.get(key) ?? []), release]);\n }\n const draftsByDefinition = new Map<string, ComplianceDocumentCandidate>();\n for (const draft of input.drafts) {\n const definitionRef = input.definitionRefOfDraft(draft);\n // The candidate set holds at most one draft per document; the first wins should it ever hold two.\n if (definitionRef !== undefined && !draftsByDefinition.has(definitionRef)) draftsByDefinition.set(definitionRef, draft);\n }\n\n for (const definitionRef of new Set([...releasesByDefinition.keys(), ...draftsByDefinition.keys()])) {\n const releases = releasesByDefinition.get(definitionRef) ?? [];\n const release = latestGovernedDocumentRelease(releases.filter((candidate) => governedDocumentReleaseIsInForce(candidate, input.at)))\n ?? latestGovernedDocumentRelease(releases.filter((candidate) => Date.parse(candidate.effectiveAt) > at));\n const draft = draftsByDefinition.get(definitionRef);\n const chosen = release ?? (draft === undefined ? latestGovernedDocumentRelease(releases) : undefined);\n if (chosen !== undefined) {\n texts.set(definitionRef, GovernedDocumentPublicDocumentSchema.parse({\n schemaVersion: 1,\n kind: GovernedDocumentPublicDocumentKind.RELEASED,\n release: projectGovernedDocumentPublicRelease(chosen),\n content: chosen.content,\n approvalState: chosen.approvalState,\n }));\n } else if (draft !== undefined) {\n texts.set(definitionRef, GovernedDocumentPublicDocumentSchema.parse({\n schemaVersion: 1,\n kind: GovernedDocumentPublicDocumentKind.UNRELEASED_DRAFT,\n documentRef: draft.documentRef,\n content: projectComplianceDocumentCandidatePublicContent(draft, draftPublication(draft, input.publishedVariants)),\n }));\n }\n }\n return texts;\n}\n\nfunction draftPublication(\n draft: ComplianceDocumentCandidate,\n variants: readonly AssuranceDocumentPublicationVariant[],\n): { locale: string; jurisdictionRefs: string[] } {\n if (draft.locale !== undefined && draft.jurisdictionRefs !== undefined) {\n return { locale: draft.locale, jurisdictionRefs: [...new Set<string>(draft.jurisdictionRefs)].sort() };\n }\n if (variants.length === 1) {\n return { locale: variants[0]!.locale, jurisdictionRefs: [...new Set<string>(variants[0]!.jurisdictionRefs)].sort() };\n }\n return { locale: draft.locale ?? UNDETERMINED_LANGUAGE, jurisdictionRefs: [...new Set<string>(draft.jurisdictionRefs ?? [])].sort() };\n}\n"]}
1
+ {"version":3,"file":"governed-document-texts.companion.js","sourceRoot":"","sources":["../../../../src/meta-workflows/services/governed-document-texts.companion.ts"],"names":[],"mappings":"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","sourcesContent":["import {\n GovernedDocumentPublicDocumentKind,\n GovernedDocumentPublicDocumentSchema,\n governedDocumentReleaseIsInForce,\n projectGovernedDocumentPublicRelease,\n type GovernedDocumentPublicDocument,\n type GovernedDocumentRelease,\n} from '@wildo-ai/saas-models';\nimport type { ComplianceDocumentCandidate } from '@wildo-ai/saas-specifications/application-creation';\nimport {\n latestGovernedDocumentRelease,\n projectComplianceDocumentCandidatePublicContent,\n type AssuranceDocumentPublicationVariant,\n} from '@wildo-ai/saas-specifications/assurance';\n\n/**\n * BCP 47's own code for \"undetermined\" — the language a draft is printed under when neither the draft\n * nor a single declared publication variant decides one. A draft may leave its language open on\n * purpose (`ComplianceDocumentCandidate.locale` is optional so that the decision never gates drafting),\n * so the honest value is the one the standard reserves for exactly that, not a guessed language. BCP 47\n * admits `und` only where a tag is REQUIRED and the language is not known, and both hold here: the public\n * content schema requires a locale, and the draft has not decided one.\n *\n * spec-cite: RFC 5646 §4.1, item 5, the 'und' (Undetermined) bullet — fetched 2026-09-25.\n */\nconst UNDETERMINED_LANGUAGE = 'und';\n\n/**\n * The CURRENT text of every governed document the application holds, keyed by definition ref (#1645) —\n * what the workbench prints when a creator asks for all their documents as PDF. PURE.\n *\n * Per definition, the first that exists, each picked by `latestGovernedDocumentRelease` (latest\n * effective, then highest version — the precedence `resolveEffectiveDocumentRelease` applies):\n *\n * 1. **a release IN FORCE at `at`** — the document's text as it stands;\n * 2. **a release not yet in effect** — the text the application has committed to, which the PDF prints\n * with its effective date;\n * 3. **its latest draft**, as the same allow-list projection the public pages use\n * (`projectComplianceDocumentCandidatePublicContent`). Its language and jurisdictions come from the\n * draft when it states both, else from the application's single declared publication variant, else\n * they are UNDETERMINED — never borrowed from one of several variants nobody picked for it;\n * 4. **an EXPIRED release** — ranked last because it is no longer anyone's text: a draft being worked\n * on says more about the document than a release that has lapsed. The PDF prints it as expired.\n *\n * Otherwise nothing, and the caller prints the document as not composed yet.\n *\n * Unlike the public projection (`projectGovernedDocumentPublicDocuments` in the CLI) nothing is filtered\n * by publication channel: an internal governance policy is as much the creator's document as the privacy\n * notice, and this is the creator reading their own documents, not a page facing the public.\n *\n * Variants are not multiplied out: a document released in two languages prints once, in the release\n * selected above. The bundle answers \"what does each document say\", and the other language is the same\n * document.\n */\nexport function selectCurrentGovernedDocumentTexts(input: {\n readonly releases: readonly GovernedDocumentRelease[];\n readonly drafts: readonly ComplianceDocumentCandidate[];\n /** The definition ref a draft is drafted against — the catalog's `document:` → `document-definition:` join. */\n readonly definitionRefOfDraft: (draft: ComplianceDocumentCandidate) => string | undefined;\n readonly publishedVariants: readonly AssuranceDocumentPublicationVariant[];\n /** ISO-8601. The instant \"in force\" is asked at. */\n readonly at: string;\n}): ReadonlyMap<string, GovernedDocumentPublicDocument> {\n const texts = new Map<string, GovernedDocumentPublicDocument>();\n\n const at = Date.parse(input.at);\n const releasesByDefinition = new Map<string, GovernedDocumentRelease[]>();\n for (const release of input.releases) {\n const key = release.definition.definitionRef as string;\n releasesByDefinition.set(key, [...(releasesByDefinition.get(key) ?? []), release]);\n }\n const draftsByDefinition = new Map<string, ComplianceDocumentCandidate>();\n for (const draft of input.drafts) {\n const definitionRef = input.definitionRefOfDraft(draft);\n // The candidate set holds at most one draft per document; the first wins should it ever hold two.\n if (definitionRef !== undefined && !draftsByDefinition.has(definitionRef)) draftsByDefinition.set(definitionRef, draft);\n }\n\n for (const definitionRef of new Set([...releasesByDefinition.keys(), ...draftsByDefinition.keys()])) {\n const releases = releasesByDefinition.get(definitionRef) ?? [];\n const release = latestGovernedDocumentRelease(releases.filter((candidate) => governedDocumentReleaseIsInForce(candidate, input.at)))\n ?? latestGovernedDocumentRelease(releases.filter((candidate) => Date.parse(candidate.effectiveAt) > at));\n const draft = draftsByDefinition.get(definitionRef);\n const chosen = release ?? (draft === undefined ? latestGovernedDocumentRelease(releases) : undefined);\n if (chosen !== undefined) {\n texts.set(definitionRef, GovernedDocumentPublicDocumentSchema.parse({\n schemaVersion: 1,\n kind: GovernedDocumentPublicDocumentKind.RELEASED,\n release: projectGovernedDocumentPublicRelease(chosen),\n content: chosen.content,\n approvalState: chosen.approvalState,\n }));\n } else if (draft !== undefined) {\n texts.set(definitionRef, GovernedDocumentPublicDocumentSchema.parse({\n schemaVersion: 1,\n kind: GovernedDocumentPublicDocumentKind.UNRELEASED_DRAFT,\n documentRef: draft.documentRef,\n content: projectComplianceDocumentCandidatePublicContent(draft, draftPublication(draft, input.publishedVariants)),\n }));\n }\n }\n return texts;\n}\n\nfunction draftPublication(\n draft: ComplianceDocumentCandidate,\n variants: readonly AssuranceDocumentPublicationVariant[],\n): { locale: string; jurisdictionRefs: string[] } {\n if (draft.locale !== undefined && draft.jurisdictionRefs !== undefined) {\n return { locale: draft.locale, jurisdictionRefs: [...new Set<string>(draft.jurisdictionRefs)].sort() };\n }\n if (variants.length === 1) {\n return { locale: variants[0]!.locale, jurisdictionRefs: [...new Set<string>(variants[0]!.jurisdictionRefs)].sort() };\n }\n return { locale: draft.locale ?? UNDETERMINED_LANGUAGE, jurisdictionRefs: [...new Set<string>(draft.jurisdictionRefs ?? [])].sort() };\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"governed-documents-pdf.companion.d.ts","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/governed-documents-pdf.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,2BAA2B,EAChC,KAAK,+BAA+B,EACrC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAGL,KAAK,4BAA4B,EAClC,MAAM,gCAAgC,CAAC;AAExC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAK3E;;;;GAIG;AACH,wBAAgB,iCAAiC,CAAC,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAM5G;AAED;;;;;;;;;GASG;AACH,wBAAgB,2CAA2C,CAAC,YAAY,EAAE;IACxE,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC,uBAAuB,EAAE,kCAAkC,CAAC,CAAC;IACpF,gFAAgF;IAChF,QAAQ,CAAC,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC;CACjD,GAAG,+BAA+B,CAAC,4BAA4B,EAAE,2BAA2B,CAAC,CAY7F"}
1
+ {"version":3,"file":"governed-documents-pdf.companion.d.ts","sourceRoot":"","sources":["../../../../src/meta-workflows/services/governed-documents-pdf.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,2BAA2B,EAChC,KAAK,+BAA+B,EACrC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAGL,KAAK,4BAA4B,EAClC,MAAM,gCAAgC,CAAC;AAExC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAK3E;;;;GAIG;AACH,wBAAgB,iCAAiC,CAAC,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAM5G;AAED;;;;;;;;;GASG;AACH,wBAAgB,2CAA2C,CAAC,YAAY,EAAE;IACxE,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC,uBAAuB,EAAE,kCAAkC,CAAC,CAAC;IACpF,gFAAgF;IAChF,QAAQ,CAAC,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC;CACjD,GAAG,+BAA+B,CAAC,4BAA4B,EAAE,2BAA2B,CAAC,CAY7F"}
@@ -1 +1 @@
1
- {"version":3,"file":"governed-documents-pdf.companion.js","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/governed-documents-pdf.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kCAAkC,GAGnC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,4CAA4C,EAC5C,sCAAsC,GAEvC,MAAM,gCAAgC,CAAC;AAIxC,4GAA4G;AAC5G,MAAM,kCAAkC,GAAG,CAAC,WAAW,EAAE,8BAA8B,EAAE,QAAQ,CAAU,CAAC;AAE5G;;;;GAIG;AACH,MAAM,UAAU,iCAAiC,CAAC,MAAe,EAAE,aAAqB;IACtF,IAAI,IAAI,GAAY,MAAM,CAAC;IAC3B,KAAK,MAAM,OAAO,IAAI,CAAC,GAAG,kCAAkC,EAAE,sCAAsC,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC;QACrH,IAAI,GAAG,IAAI,KAAK,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAE,IAAgC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAC5G,CAAC;IACD,OAAO,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;AAC3E,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,UAAU,2CAA2C,CAAC,YAI3D;IACC,OAAO,kCAAkC,CAA+B;QACtE,EAAE,EAAE,4CAA4C;QAChD,cAAc,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,EAAE;YACtD,MAAM,KAAK,GAAG,MAAM,YAAY,CAAC,OAAO,CAAC,gCAAgC,CAAC,WAAW,CAAC,CAAC;YACvF,MAAM,MAAM,GAAG,YAAY,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;YAC9C,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;gBACxB,KAAK,EAAE,iCAAiC,CAAC,MAAM,EAAE,GAAG,CAAC,aAAa,CAAC,IAAI,GAAG,CAAC,aAAa;gBACxF,QAAQ,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,IAAI;aAC/C,CAAC,CAAC,CAAC;QACN,CAAC;KACF,CAAC,CAAC;AACL,CAAC","sourcesContent":["import {\n createGovernedDocumentsPdfTemplate,\n type GovernedDocumentsPdfContext,\n type PdfCollectionTemplateDefinition,\n} from '@wildo-ai/saas-backend-lib';\nimport {\n WORKBENCH_GOVERNED_DOCUMENTS_PDF_TEMPLATE_ID,\n sanitizeWorkbenchCreationPlaneIdentity,\n type Workbench_GovernanceDocument,\n} from '@wildo-ai/platform-core-shared';\n\nimport type { DossierCompanionService } from './dossier.companion.service';\n\n/** Where the workbench keeps each governed document's NAME, keyed by the row's sanitized definition ref. */\nconst GOVERNED_DOCUMENT_TITLE_LABEL_PATH = ['resources', 'workbenchGovernanceDocuments', 'titles'] as const;\n\n/**\n * The name the workbench shows for a governed document, read from the SAME label the screen reads\n * (`resources.workbenchGovernanceDocuments.titles.<sanitized ref>`), so the PDF and the dossier call a\n * document by one name. `undefined` when the label is missing.\n */\nexport function resolveGovernedDocumentTitleLabel(labels: unknown, definitionRef: string): string | undefined {\n let node: unknown = labels;\n for (const segment of [...GOVERNED_DOCUMENT_TITLE_LABEL_PATH, sanitizeWorkbenchCreationPlaneIdentity(definitionRef)]) {\n node = node !== null && typeof node === 'object' ? (node as Record<string, unknown>)[segment] : undefined;\n }\n return typeof node === 'string' && node.trim() !== '' ? node : undefined;\n}\n\n/**\n * The workbench's \"all governed documents as PDF\" template (#1645): the engine's governed-documents\n * template, fed from the governance-documents listing.\n *\n * The listing decides WHICH documents are printed, and in which order; each row's text is read here,\n * once per export, from the application's releases and drafts. A document with neither is printed under\n * the workbench's own name for it — the title the dossier shows — and only when that label is missing\n * under its raw definition ref, which reads as the missing name it is\n * (`display-text-comes-from-i18n.md`) rather than as invented words.\n */\nexport function createWorkbenchGovernedDocumentsPdfTemplate(dependencies: {\n readonly dossier: Pick<DossierCompanionService, 'readCurrentGovernedDocumentTexts'>;\n /** The workbench's label tree for a locale (`I18nBackendService.getLabels`). */\n readonly labelsFor: (locale: string) => unknown;\n}): PdfCollectionTemplateDefinition<Workbench_GovernanceDocument, GovernedDocumentsPdfContext> {\n return createGovernedDocumentsPdfTemplate<Workbench_GovernanceDocument>({\n id: WORKBENCH_GOVERNED_DOCUMENTS_PDF_TEMPLATE_ID,\n resolveSources: async ({ rows, generatedAt, locale }) => {\n const texts = await dependencies.dossier.readCurrentGovernedDocumentTexts(generatedAt);\n const labels = dependencies.labelsFor(locale);\n return rows.map((row) => ({\n title: resolveGovernedDocumentTitleLabel(labels, row.definitionRef) ?? row.definitionRef,\n document: texts.get(row.definitionRef) ?? null,\n }));\n },\n });\n}\n"]}
1
+ {"version":3,"file":"governed-documents-pdf.companion.js","sourceRoot":"","sources":["../../../../src/meta-workflows/services/governed-documents-pdf.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kCAAkC,GAGnC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,4CAA4C,EAC5C,sCAAsC,GAEvC,MAAM,gCAAgC,CAAC;AAIxC,4GAA4G;AAC5G,MAAM,kCAAkC,GAAG,CAAC,WAAW,EAAE,8BAA8B,EAAE,QAAQ,CAAU,CAAC;AAE5G;;;;GAIG;AACH,MAAM,UAAU,iCAAiC,CAAC,MAAe,EAAE,aAAqB;IACtF,IAAI,IAAI,GAAY,MAAM,CAAC;IAC3B,KAAK,MAAM,OAAO,IAAI,CAAC,GAAG,kCAAkC,EAAE,sCAAsC,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC;QACrH,IAAI,GAAG,IAAI,KAAK,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAE,IAAgC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAC5G,CAAC;IACD,OAAO,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;AAC3E,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,UAAU,2CAA2C,CAAC,YAI3D;IACC,OAAO,kCAAkC,CAA+B;QACtE,EAAE,EAAE,4CAA4C;QAChD,cAAc,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,EAAE;YACtD,MAAM,KAAK,GAAG,MAAM,YAAY,CAAC,OAAO,CAAC,gCAAgC,CAAC,WAAW,CAAC,CAAC;YACvF,MAAM,MAAM,GAAG,YAAY,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;YAC9C,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;gBACxB,KAAK,EAAE,iCAAiC,CAAC,MAAM,EAAE,GAAG,CAAC,aAAa,CAAC,IAAI,GAAG,CAAC,aAAa;gBACxF,QAAQ,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,IAAI;aAC/C,CAAC,CAAC,CAAC;QACN,CAAC;KACF,CAAC,CAAC;AACL,CAAC","sourcesContent":["import {\n createGovernedDocumentsPdfTemplate,\n type GovernedDocumentsPdfContext,\n type PdfCollectionTemplateDefinition,\n} from '@wildo-ai/saas-backend-lib';\nimport {\n WORKBENCH_GOVERNED_DOCUMENTS_PDF_TEMPLATE_ID,\n sanitizeWorkbenchCreationPlaneIdentity,\n type Workbench_GovernanceDocument,\n} from '@wildo-ai/platform-core-shared';\n\nimport type { DossierCompanionService } from './dossier.companion.service';\n\n/** Where the workbench keeps each governed document's NAME, keyed by the row's sanitized definition ref. */\nconst GOVERNED_DOCUMENT_TITLE_LABEL_PATH = ['resources', 'workbenchGovernanceDocuments', 'titles'] as const;\n\n/**\n * The name the workbench shows for a governed document, read from the SAME label the screen reads\n * (`resources.workbenchGovernanceDocuments.titles.<sanitized ref>`), so the PDF and the dossier call a\n * document by one name. `undefined` when the label is missing.\n */\nexport function resolveGovernedDocumentTitleLabel(labels: unknown, definitionRef: string): string | undefined {\n let node: unknown = labels;\n for (const segment of [...GOVERNED_DOCUMENT_TITLE_LABEL_PATH, sanitizeWorkbenchCreationPlaneIdentity(definitionRef)]) {\n node = node !== null && typeof node === 'object' ? (node as Record<string, unknown>)[segment] : undefined;\n }\n return typeof node === 'string' && node.trim() !== '' ? node : undefined;\n}\n\n/**\n * The workbench's \"all governed documents as PDF\" template (#1645): the engine's governed-documents\n * template, fed from the governance-documents listing.\n *\n * The listing decides WHICH documents are printed, and in which order; each row's text is read here,\n * once per export, from the application's releases and drafts. A document with neither is printed under\n * the workbench's own name for it — the title the dossier shows — and only when that label is missing\n * under its raw definition ref, which reads as the missing name it is\n * (`display-text-comes-from-i18n.md`) rather than as invented words.\n */\nexport function createWorkbenchGovernedDocumentsPdfTemplate(dependencies: {\n readonly dossier: Pick<DossierCompanionService, 'readCurrentGovernedDocumentTexts'>;\n /** The workbench's label tree for a locale (`I18nBackendService.getLabels`). */\n readonly labelsFor: (locale: string) => unknown;\n}): PdfCollectionTemplateDefinition<Workbench_GovernanceDocument, GovernedDocumentsPdfContext> {\n return createGovernedDocumentsPdfTemplate<Workbench_GovernanceDocument>({\n id: WORKBENCH_GOVERNED_DOCUMENTS_PDF_TEMPLATE_ID,\n resolveSources: async ({ rows, generatedAt, locale }) => {\n const texts = await dependencies.dossier.readCurrentGovernedDocumentTexts(generatedAt);\n const labels = dependencies.labelsFor(locale);\n return rows.map((row) => ({\n title: resolveGovernedDocumentTitleLabel(labels, row.definitionRef) ?? row.definitionRef,\n document: texts.get(row.definitionRef) ?? null,\n }));\n },\n });\n}\n"]}
@@ -0,0 +1,67 @@
1
+ import { type InterviewAnswerProposal } from '@wildo-ai/application-creation-runtime';
2
+ import type { ApplicationCreatorInputs, MetaWorkflowPlaybook } from '@wildo-ai/saas-specifications/application-creation';
3
+ import type { ZodType } from 'zod';
4
+ /**
5
+ * PROPOSE answers to interview questions the person does not know (#2129) — the companion half.
6
+ *
7
+ * The runtime owns what a proposal IS (`interview-answer-proposal.application-creation.service.ts`): which
8
+ * questions to propose, the prompt, the output contract, and the check of what comes back. This owns only the
9
+ * call and the retry, and it WRITES NOTHING: the proposals go back to the caller. A surface shows them to the
10
+ * person, and what they keep is answered through the ordinary answer door as ASSUMED; an unattended round
11
+ * (`PlaybookRunCompanionService.assumeInterviewAnswers`) records them as ASSUMED itself, through the same door.
12
+ *
13
+ * ## Why one call for every surface
14
+ *
15
+ * The plugin, the workbench conversation, the console and the unattended loop and composite runs all reach this
16
+ * one function through the companion, bound once by `PlaybookRunCompanionService.interviewAnswerProposalPorts()`,
17
+ * so a proposal reads the same whichever asked. A plugin-side proposer would have lived in prompt
18
+ * prose and left the workbench with nothing.
19
+ */
20
+ /** What a proposal reads and calls. Bound by the controller to the dossier service and the playbook lane's generation port. */
21
+ export interface InterviewAnswerProposalPorts {
22
+ /** The playbook as an answer to it is checked — the options a proposal must choose from are the ones the dossier offers. */
23
+ readonly readAnswerablePlaybook: (playbookRef: string) => Promise<MetaWorkflowPlaybook | undefined>;
24
+ /** Every playbook that interviews, for the question texts the dossier is rendered through. */
25
+ readonly listInterviewPlaybooks: () => readonly MetaWorkflowPlaybook[];
26
+ readonly readCreatorInputs: () => Promise<ApplicationCreatorInputs | undefined>;
27
+ /**
28
+ * The landed families, as the run reads them: the proposer is shown the ones the asking playbook declares as
29
+ * inputs, so a proposal for the brand's visual direction rests on the market's voice and not only on what the
30
+ * creator typed. Absent (a test, a host with no tree), proposals rest on the dossier alone.
31
+ */
32
+ readonly readArtifactsByFamily?: () => Promise<ReadonlyMap<string, unknown>>;
33
+ /**
34
+ * ONE schema-constrained model call. The playbook lane's own port (`PlaybookRunCompanionService.generateStructured`),
35
+ * so a proposal is counted by the same runaway breaker as every other lane call.
36
+ */
37
+ readonly generate: (input: {
38
+ readonly prompt: string;
39
+ readonly schema: ZodType<unknown>;
40
+ readonly label: string;
41
+ }) => Promise<{
42
+ readonly output: unknown;
43
+ readonly generationFindings?: readonly string[];
44
+ }>;
45
+ }
46
+ export interface InterviewAnswerProposalResult {
47
+ readonly playbookRef: string;
48
+ readonly proposals: readonly InterviewAnswerProposal[];
49
+ /** Asked for, and nothing admissible came back — each with the last refusal. The person answers these. */
50
+ readonly unproposed: readonly {
51
+ readonly questionRef: string;
52
+ readonly reason: string;
53
+ }[];
54
+ }
55
+ /** Attempts per proposal call, matching the generation lane's default of three attempts per output. */
56
+ export declare const INTERVIEW_ANSWER_PROPOSAL_MAXIMUM_ATTEMPTS = 3;
57
+ /**
58
+ * Propose answers for `questionRefs`, or — when none are named — for every unanswered question the
59
+ * application's interview depth does not ask of the person. Refuses, before any call, a playbook that is not
60
+ * in the catalog and a question only the person may answer.
61
+ */
62
+ export declare function proposeInterviewAnswers(ports: InterviewAnswerProposalPorts, request: {
63
+ readonly playbookRef: string;
64
+ readonly instanceKey?: string;
65
+ readonly questionRefs?: readonly string[];
66
+ }): Promise<InterviewAnswerProposalResult>;
67
+ //# sourceMappingURL=interview-answer-proposal.companion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interview-answer-proposal.companion.d.ts","sourceRoot":"","sources":["../../../../src/meta-workflows/services/interview-answer-proposal.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAUL,KAAK,uBAAuB,EAC7B,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,MAAM,oDAAoD,CAAC;AACzH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAEnC;;;;;;;;;;;;;;;GAeG;AAEH,+HAA+H;AAC/H,MAAM,WAAW,4BAA4B;IAC3C,4HAA4H;IAC5H,QAAQ,CAAC,sBAAsB,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;IACpG,8FAA8F;IAC9F,QAAQ,CAAC,sBAAsB,EAAE,MAAM,SAAS,oBAAoB,EAAE,CAAC;IACvE,QAAQ,CAAC,iBAAiB,EAAE,MAAM,OAAO,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAAC;IAChF;;;;OAIG;IACH,QAAQ,CAAC,qBAAqB,CAAC,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IAC7E;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;QAAE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;QAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,OAAO,CAAC;QAC5H,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;QACzB,QAAQ,CAAC,kBAAkB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;KACjD,CAAC,CAAC;CACJ;AAED,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,SAAS,EAAE,SAAS,uBAAuB,EAAE,CAAC;IACvD,0GAA0G;IAC1G,QAAQ,CAAC,UAAU,EAAE,SAAS;QAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAC3F;AAED,uGAAuG;AACvG,eAAO,MAAM,0CAA0C,IAAI,CAAC;AAE5D;;;;GAIG;AACH,wBAAsB,uBAAuB,CAC3C,KAAK,EAAE,4BAA4B,EACnC,OAAO,EAAE;IAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,GAClH,OAAO,CAAC,6BAA6B,CAAC,CAoDxC"}
@@ -0,0 +1,64 @@
1
+ import { InterviewAnswerProposalOutputSchema, PlaybookElicitationError, admitInterviewAnswerProposals, assertInterviewProposalTargets, composeInterviewAnswerProposalPrompt, defaultInterviewProposalTargets, renderApplicationContextForProposal, renderDossierForProposal, unansweredElicitationQuestionRefs, } from '@wildo-ai/application-creation-runtime';
2
+ /** Attempts per proposal call, matching the generation lane's default of three attempts per output. */
3
+ export const INTERVIEW_ANSWER_PROPOSAL_MAXIMUM_ATTEMPTS = 3;
4
+ /**
5
+ * Propose answers for `questionRefs`, or — when none are named — for every unanswered question the
6
+ * application's interview depth does not ask of the person. Refuses, before any call, a playbook that is not
7
+ * in the catalog and a question only the person may answer.
8
+ */
9
+ export async function proposeInterviewAnswers(ports, request) {
10
+ const playbook = await ports.readAnswerablePlaybook(request.playbookRef);
11
+ if (!playbook)
12
+ throw new PlaybookElicitationError(`No compiled playbook is registered under "${request.playbookRef}", so there is nothing to propose for.`);
13
+ const creatorInputs = await ports.readCreatorInputs();
14
+ const targets = request.questionRefs !== undefined
15
+ ? [...new Set(request.questionRefs)]
16
+ : defaultInterviewProposalTargets({
17
+ playbook,
18
+ unansweredQuestionRefs: unansweredElicitationQuestionRefs(playbook, creatorInputs, request.instanceKey),
19
+ interviewDepth: creatorInputs?.interviewDepth,
20
+ });
21
+ assertInterviewProposalTargets(playbook, targets);
22
+ if (targets.length === 0)
23
+ return { playbookRef: playbook.ref, proposals: [], unproposed: [] };
24
+ const dossier = renderDossierForProposal({ catalog: ports.listInterviewPlaybooks(), creatorInputs });
25
+ const applicationContext = ports.readArtifactsByFamily
26
+ ? renderApplicationContextForProposal({ playbook, artifactsByFamily: await ports.readArtifactsByFamily() })
27
+ : undefined;
28
+ const admitted = new Map();
29
+ let remaining = targets;
30
+ let findings = [];
31
+ for (let attempt = 1; attempt <= INTERVIEW_ANSWER_PROPOSAL_MAXIMUM_ATTEMPTS && remaining.length > 0; attempt += 1) {
32
+ const generated = await ports.generate({
33
+ prompt: composeInterviewAnswerProposalPrompt({
34
+ playbook,
35
+ targetQuestionRefs: remaining,
36
+ dossier,
37
+ ...(applicationContext !== undefined ? { applicationContext } : {}),
38
+ findings,
39
+ }),
40
+ schema: InterviewAnswerProposalOutputSchema,
41
+ label: `interview-proposal:${playbook.ref}:attempt-${attempt}`,
42
+ });
43
+ const parsed = InterviewAnswerProposalOutputSchema.safeParse(generated.output);
44
+ if (!parsed.success) {
45
+ /* The provider's own refusal reason when it gave one; otherwise the schema's. Either goes back verbatim. */
46
+ findings = generated.generationFindings?.length ? generated.generationFindings : parsed.error.issues.map((issue) => `${issue.path.join('.')}: ${issue.message}`);
47
+ continue;
48
+ }
49
+ const checked = admitInterviewAnswerProposals({ playbook, targetQuestionRefs: remaining, output: parsed.data });
50
+ for (const proposal of checked.admitted)
51
+ admitted.set(proposal.questionRef, proposal);
52
+ remaining = remaining.filter((ref) => !admitted.has(ref));
53
+ findings = checked.findings;
54
+ }
55
+ return {
56
+ playbookRef: playbook.ref,
57
+ proposals: targets.flatMap((ref) => (admitted.has(ref) ? [admitted.get(ref)] : [])),
58
+ unproposed: remaining.map((questionRef) => ({
59
+ questionRef,
60
+ reason: findings.find((finding) => finding.includes(`"${questionRef}"`)) ?? findings[0] ?? 'No admissible proposal came back.',
61
+ })),
62
+ };
63
+ }
64
+ //# sourceMappingURL=interview-answer-proposal.companion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interview-answer-proposal.companion.js","sourceRoot":"","sources":["../../../../src/meta-workflows/services/interview-answer-proposal.companion.ts"],"names":[],"mappings":"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","sourcesContent":["import {\n InterviewAnswerProposalOutputSchema,\n PlaybookElicitationError,\n admitInterviewAnswerProposals,\n assertInterviewProposalTargets,\n composeInterviewAnswerProposalPrompt,\n defaultInterviewProposalTargets,\n renderApplicationContextForProposal,\n renderDossierForProposal,\n unansweredElicitationQuestionRefs,\n type InterviewAnswerProposal,\n} from '@wildo-ai/application-creation-runtime';\nimport type { ApplicationCreatorInputs, MetaWorkflowPlaybook } from '@wildo-ai/saas-specifications/application-creation';\nimport type { ZodType } from 'zod';\n\n/**\n * PROPOSE answers to interview questions the person does not know (#2129) — the companion half.\n *\n * The runtime owns what a proposal IS (`interview-answer-proposal.application-creation.service.ts`): which\n * questions to propose, the prompt, the output contract, and the check of what comes back. This owns only the\n * call and the retry, and it WRITES NOTHING: the proposals go back to the caller. A surface shows them to the\n * person, and what they keep is answered through the ordinary answer door as ASSUMED; an unattended round\n * (`PlaybookRunCompanionService.assumeInterviewAnswers`) records them as ASSUMED itself, through the same door.\n *\n * ## Why one call for every surface\n *\n * The plugin, the workbench conversation, the console and the unattended loop and composite runs all reach this\n * one function through the companion, bound once by `PlaybookRunCompanionService.interviewAnswerProposalPorts()`,\n * so a proposal reads the same whichever asked. A plugin-side proposer would have lived in prompt\n * prose and left the workbench with nothing.\n */\n\n/** What a proposal reads and calls. Bound by the controller to the dossier service and the playbook lane's generation port. */\nexport interface InterviewAnswerProposalPorts {\n /** The playbook as an answer to it is checked — the options a proposal must choose from are the ones the dossier offers. */\n readonly readAnswerablePlaybook: (playbookRef: string) => Promise<MetaWorkflowPlaybook | undefined>;\n /** Every playbook that interviews, for the question texts the dossier is rendered through. */\n readonly listInterviewPlaybooks: () => readonly MetaWorkflowPlaybook[];\n readonly readCreatorInputs: () => Promise<ApplicationCreatorInputs | undefined>;\n /**\n * The landed families, as the run reads them: the proposer is shown the ones the asking playbook declares as\n * inputs, so a proposal for the brand's visual direction rests on the market's voice and not only on what the\n * creator typed. Absent (a test, a host with no tree), proposals rest on the dossier alone.\n */\n readonly readArtifactsByFamily?: () => Promise<ReadonlyMap<string, unknown>>;\n /**\n * ONE schema-constrained model call. The playbook lane's own port (`PlaybookRunCompanionService.generateStructured`),\n * so a proposal is counted by the same runaway breaker as every other lane call.\n */\n readonly generate: (input: { readonly prompt: string; readonly schema: ZodType<unknown>; readonly label: string }) => Promise<{\n readonly output: unknown;\n readonly generationFindings?: readonly string[];\n }>;\n}\n\nexport interface InterviewAnswerProposalResult {\n readonly playbookRef: string;\n readonly proposals: readonly InterviewAnswerProposal[];\n /** Asked for, and nothing admissible came back — each with the last refusal. The person answers these. */\n readonly unproposed: readonly { readonly questionRef: string; readonly reason: string }[];\n}\n\n/** Attempts per proposal call, matching the generation lane's default of three attempts per output. */\nexport const INTERVIEW_ANSWER_PROPOSAL_MAXIMUM_ATTEMPTS = 3;\n\n/**\n * Propose answers for `questionRefs`, or — when none are named — for every unanswered question the\n * application's interview depth does not ask of the person. Refuses, before any call, a playbook that is not\n * in the catalog and a question only the person may answer.\n */\nexport async function proposeInterviewAnswers(\n ports: InterviewAnswerProposalPorts,\n request: { readonly playbookRef: string; readonly instanceKey?: string; readonly questionRefs?: readonly string[] },\n): Promise<InterviewAnswerProposalResult> {\n const playbook = await ports.readAnswerablePlaybook(request.playbookRef);\n if (!playbook) throw new PlaybookElicitationError(`No compiled playbook is registered under \"${request.playbookRef}\", so there is nothing to propose for.`);\n const creatorInputs = await ports.readCreatorInputs();\n const targets = request.questionRefs !== undefined\n ? [...new Set(request.questionRefs)]\n : defaultInterviewProposalTargets({\n playbook,\n unansweredQuestionRefs: unansweredElicitationQuestionRefs(playbook, creatorInputs, request.instanceKey),\n interviewDepth: creatorInputs?.interviewDepth,\n });\n assertInterviewProposalTargets(playbook, targets);\n if (targets.length === 0) return { playbookRef: playbook.ref, proposals: [], unproposed: [] };\n\n const dossier = renderDossierForProposal({ catalog: ports.listInterviewPlaybooks(), creatorInputs });\n const applicationContext = ports.readArtifactsByFamily\n ? renderApplicationContextForProposal({ playbook, artifactsByFamily: await ports.readArtifactsByFamily() })\n : undefined;\n const admitted = new Map<string, InterviewAnswerProposal>();\n let remaining = targets;\n let findings: readonly string[] = [];\n for (let attempt = 1; attempt <= INTERVIEW_ANSWER_PROPOSAL_MAXIMUM_ATTEMPTS && remaining.length > 0; attempt += 1) {\n const generated = await ports.generate({\n prompt: composeInterviewAnswerProposalPrompt({\n playbook,\n targetQuestionRefs: remaining,\n dossier,\n ...(applicationContext !== undefined ? { applicationContext } : {}),\n findings,\n }),\n schema: InterviewAnswerProposalOutputSchema,\n label: `interview-proposal:${playbook.ref}:attempt-${attempt}`,\n });\n const parsed = InterviewAnswerProposalOutputSchema.safeParse(generated.output);\n if (!parsed.success) {\n /* The provider's own refusal reason when it gave one; otherwise the schema's. Either goes back verbatim. */\n findings = generated.generationFindings?.length ? generated.generationFindings : parsed.error.issues.map((issue) => `${issue.path.join('.')}: ${issue.message}`);\n continue;\n }\n const checked = admitInterviewAnswerProposals({ playbook, targetQuestionRefs: remaining, output: parsed.data });\n for (const proposal of checked.admitted) admitted.set(proposal.questionRef, proposal);\n remaining = remaining.filter((ref) => !admitted.has(ref));\n findings = checked.findings;\n }\n return {\n playbookRef: playbook.ref,\n proposals: targets.flatMap((ref) => (admitted.has(ref) ? [admitted.get(ref)!] : [])),\n unproposed: remaining.map((questionRef) => ({\n questionRef,\n reason: findings.find((finding) => finding.includes(`\"${questionRef}\"`)) ?? findings[0] ?? 'No admissible proposal came back.',\n })),\n };\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"landed-module-import.companion.d.ts","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/landed-module-import.companion.ts"],"names":[],"mappings":"AAuBA,wBAAsB,4BAA4B,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAW1H"}
1
+ {"version":3,"file":"landed-module-import.companion.d.ts","sourceRoot":"","sources":["../../../../src/meta-workflows/services/landed-module-import.companion.ts"],"names":[],"mappings":"AAuBA,wBAAsB,4BAA4B,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAW1H"}
@@ -1 +1 @@
1
- {"version":3,"file":"landed-module-import.companion.js","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/landed-module-import.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAuF,CAAC;AAEhH,MAAM,CAAC,KAAK,UAAU,4BAA4B,CAAC,UAAkB,EAAE,SAAiB;IACtF,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;IACvD,MAAM,GAAG,GAAG,GAAG,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,IAAI,KAAK,CAAC,GAAG,EAAE,CAAC;IAC1D,MAAM,KAAK,GAAG,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACvC,IAAI,KAAK,IAAI,KAAK,CAAC,GAAG,KAAK,GAAG;QAAE,OAAO,KAAK,CAAC,MAAM,CAAC;IACpD,MAAM,MAAM,GAAI,QAAQ,CAAC,UAAU,EAAE,EAAE,SAAS,EAAE,CAAsC,CAAC;IACzF,QAAQ,CAAC,GAAG,CAAC,UAAU,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,CAAC;IAC1C,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE;QAChB,IAAI,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,MAAM,KAAK,MAAM;YAAE,QAAQ,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IAC/E,CAAC,CAAC,CAAC;IACH,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["import { stat } from 'node:fs/promises';\nimport { tsImport } from 'tsx/esm/api';\n\n/**\n * Import a LANDED TypeScript specification module, re-reading it only when the file changed.\n *\n * `tsImport` transpiles the file and its whole import graph on every call, with no cache between\n * calls. Measured on scratch-journey: 13–35 s per call for the compliance-document candidate set.\n * The dossier reads that file to know which governed documents are drafted, Home's lines read the\n * dossier on every poll, and so every Home load paid ten seconds and held the companion's other\n * reads behind it — the write-record list a pane asked for took 16–25 s in the page against 0.3 s\n * alone, and once answered 503 (#1264).\n *\n * The file's identity is its path plus the nanosecond modification time, size and inode — a landing\n * rewrites the file, so it changes all of them; nothing else can make the module say something\n * new. So this is not a cache that can go stale: the key is read from the file itself on every call\n * (one `stat`), and a changed file is imported again. Concurrent callers share one import in flight.\n *\n * A failed import is not remembered: the next call tries again, so a file caught mid-write reads\n * correctly once the write completes.\n */\nconst imported = new Map<string, { readonly key: string; readonly module: Promise<Record<string, unknown>> }>();\n\nexport async function importLandedTypeScriptModule(modulePath: string, parentURL: string): Promise<Record<string, unknown>> {\n const entry = await stat(modulePath, { bigint: true });\n const key = `${entry.mtimeNs}:${entry.size}:${entry.ino}`;\n const known = imported.get(modulePath);\n if (known && known.key === key) return known.module;\n const module = (tsImport(modulePath, { parentURL }) as Promise<Record<string, unknown>>);\n imported.set(modulePath, { key, module });\n module.catch(() => {\n if (imported.get(modulePath)?.module === module) imported.delete(modulePath);\n });\n return module;\n}\n"]}
1
+ {"version":3,"file":"landed-module-import.companion.js","sourceRoot":"","sources":["../../../../src/meta-workflows/services/landed-module-import.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAuF,CAAC;AAEhH,MAAM,CAAC,KAAK,UAAU,4BAA4B,CAAC,UAAkB,EAAE,SAAiB;IACtF,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;IACvD,MAAM,GAAG,GAAG,GAAG,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,IAAI,KAAK,CAAC,GAAG,EAAE,CAAC;IAC1D,MAAM,KAAK,GAAG,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACvC,IAAI,KAAK,IAAI,KAAK,CAAC,GAAG,KAAK,GAAG;QAAE,OAAO,KAAK,CAAC,MAAM,CAAC;IACpD,MAAM,MAAM,GAAI,QAAQ,CAAC,UAAU,EAAE,EAAE,SAAS,EAAE,CAAsC,CAAC;IACzF,QAAQ,CAAC,GAAG,CAAC,UAAU,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,CAAC;IAC1C,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE;QAChB,IAAI,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,MAAM,KAAK,MAAM;YAAE,QAAQ,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IAC/E,CAAC,CAAC,CAAC;IACH,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["import { stat } from 'node:fs/promises';\nimport { tsImport } from 'tsx/esm/api';\n\n/**\n * Import a LANDED TypeScript specification module, re-reading it only when the file changed.\n *\n * `tsImport` transpiles the file and its whole import graph on every call, with no cache between\n * calls. Measured on scratch-journey: 13–35 s per call for the compliance-document candidate set.\n * The dossier reads that file to know which governed documents are drafted, Home's lines read the\n * dossier on every poll, and so every Home load paid ten seconds and held the companion's other\n * reads behind it — the write-record list a pane asked for took 16–25 s in the page against 0.3 s\n * alone, and once answered 503 (#1264).\n *\n * The file's identity is its path plus the nanosecond modification time, size and inode — a landing\n * rewrites the file, so it changes all of them; nothing else can make the module say something\n * new. So this is not a cache that can go stale: the key is read from the file itself on every call\n * (one `stat`), and a changed file is imported again. Concurrent callers share one import in flight.\n *\n * A failed import is not remembered: the next call tries again, so a file caught mid-write reads\n * correctly once the write completes.\n */\nconst imported = new Map<string, { readonly key: string; readonly module: Promise<Record<string, unknown>> }>();\n\nexport async function importLandedTypeScriptModule(modulePath: string, parentURL: string): Promise<Record<string, unknown>> {\n const entry = await stat(modulePath, { bigint: true });\n const key = `${entry.mtimeNs}:${entry.size}:${entry.ino}`;\n const known = imported.get(modulePath);\n if (known && known.key === key) return known.module;\n const module = (tsImport(modulePath, { parentURL }) as Promise<Record<string, unknown>>);\n imported.set(modulePath, { key, module });\n module.catch(() => {\n if (imported.get(modulePath)?.module === module) imported.delete(modulePath);\n });\n return module;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"playbook-execution-trace.companion.service.d.ts","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/playbook-execution-trace.companion.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,KAAK,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AAE/H,OAAO,EAGL,KAAK,gCAAgC,EACrC,KAAK,yBAAyB,EAC/B,MAAM,uDAAuD,CAAC;AAC/D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,wDAAwD,CAAC;AAE3G;;;;;;;;;;;;GAYG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE;IAClD,QAAQ,CAAC,YAAY,EAAE,4BAA4B,CAAC;IACpD,QAAQ,CAAC,OAAO,EAAE,gCAAgC,CAAC;IACnD,QAAQ,CAAC,IAAI,EAAE,yBAAyB,CAAC;CAC1C,GAAG,0BAA0B,CAkC7B"}
1
+ {"version":3,"file":"playbook-execution-trace.companion.service.d.ts","sourceRoot":"","sources":["../../../../src/meta-workflows/services/playbook-execution-trace.companion.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,KAAK,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AAE/H,OAAO,EAGL,KAAK,gCAAgC,EACrC,KAAK,yBAAyB,EAC/B,MAAM,uDAAuD,CAAC;AAC/D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,wDAAwD,CAAC;AAE3G;;;;;;;;;;;;GAYG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE;IAClD,QAAQ,CAAC,YAAY,EAAE,4BAA4B,CAAC;IACpD,QAAQ,CAAC,OAAO,EAAE,gCAAgC,CAAC;IACnD,QAAQ,CAAC,IAAI,EAAE,yBAAyB,CAAC;CAC1C,GAAG,0BAA0B,CAkC7B"}
@@ -1 +1 @@
1
- {"version":3,"file":"playbook-execution-trace.companion.service.js","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/playbook-execution-trace.companion.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oCAAoC,EAAmC,MAAM,wCAAwC,CAAC;AAE/H,OAAO,EACL,0BAA0B,EAC1B,4BAA4B,GAG7B,MAAM,uDAAuD,CAAC;AAG/D;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,4BAA4B,CAAC,KAI5C;IACC,OAAO;QACL,KAAK,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE;YAC1C,MAAM,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC;gBAClC,OAAO,EAAE,KAAK,CAAC,OAAO;gBACtB,IAAI,EAAE,KAAK,CAAC,IAAI;gBAChB,kGAAkG;gBAClG,4DAA4D;gBAC5D,YAAY,EAAE,0BAA0B,CAAC,KAAK;gBAC9C,IAAI;gBACJ,OAAO;gBACP,GAAG,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;aAC9C,CAAC,CAAC;QACL,CAAC;QACD,QAAQ,EAAE,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE;YAChD,MAAM,KAAK,CAAC,YAAY,CAAC,aAAa,CAAC;gBACrC,OAAO,EAAE,KAAK,CAAC,OAAO;gBACtB,IAAI,EAAE,KAAK,CAAC,IAAI;gBAChB,YAAY,EAAE,0BAA0B,CAAC,KAAK;gBAC9C,QAAQ;gBACR,OAAO;gBACP,qEAAqE;gBACrE,sEAAsE;gBACtE,kEAAkE;gBAClE,GAAG,CAAC,MAAM;oBACR,CAAC,CAAC;wBACE,MAAM,EAAE,MAAM,KAAK,oCAAoC,CAAC,IAAI;4BAC1D,CAAC,CAAC,4BAA4B,CAAC,IAAI;4BACnC,CAAC,CAAC,4BAA4B,CAAC,IAAI;qBACtC;oBACH,CAAC,CAAC,EAAE,CAAC;aACR,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["import { PlaybookExecutionTraceArtifactFormat, type PlaybookExecutionTracePort } from '@wildo-ai/application-creation-runtime';\n\nimport {\n CompanionTraceabilityLevel,\n CompanionTraceArtifactFormat,\n type CompanionExecutionSessionContext,\n type CompanionTraceStepContext,\n} from '../../core/traceability/companion-traceability.models';\nimport type { CompanionTraceabilityService } from '../../core/traceability/companion-traceability.service';\n\n/**\n * Route application-creation execution into the companion's EXISTING traceability tree.\n *\n * The companion already mints a session per API request, writes `events.ndjson` per session and artifacts\n * per step, and the engine's agent-call sink already deposits every `invokeAgent` prompt and output there.\n * So the model half of \"what happened\" was already recorded; what was missing was everything AROUND it —\n * which brief was composed, whether the validator accepted the answer, which file was written, which\n * playbook the loop chose and why.\n *\n * Adding a second trace store would have split one run's evidence across two places. This adapter puts the\n * application-creation events in the same session directory as the LLM call they explain, so a reader opens\n * one folder and sees the whole run in order.\n */\nexport function createPlaybookExecutionTrace(input: {\n readonly traceability: CompanionTraceabilityService;\n readonly session: CompanionExecutionSessionContext;\n readonly step: CompanionTraceStepContext;\n}): PlaybookExecutionTracePort {\n return {\n event: async ({ type, summary, payload }) => {\n await input.traceability.traceEvent({\n session: input.session,\n step: input.step,\n // DEBUG, matching the companion's always-on default. An execution trace nobody can see because it\n // needs a level nobody sets is the same as no trace at all.\n minimumLevel: CompanionTraceabilityLevel.DEBUG,\n type,\n summary,\n ...(payload !== undefined ? { payload } : {}),\n });\n },\n artifact: async ({ fileName, content, format }) => {\n await input.traceability.writeArtifact({\n session: input.session,\n step: input.step,\n minimumLevel: CompanionTraceabilityLevel.DEBUG,\n fileName,\n content,\n // The port and the companion each own a nominal format enum with the\n // same wire values; this adapter is the seam that translates one into\n // the other so neither package depends on the other's vocabulary.\n ...(format\n ? {\n format: format === PlaybookExecutionTraceArtifactFormat.TEXT\n ? CompanionTraceArtifactFormat.TEXT\n : CompanionTraceArtifactFormat.JSON,\n }\n : {}),\n });\n },\n };\n}\n"]}
1
+ {"version":3,"file":"playbook-execution-trace.companion.service.js","sourceRoot":"","sources":["../../../../src/meta-workflows/services/playbook-execution-trace.companion.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oCAAoC,EAAmC,MAAM,wCAAwC,CAAC;AAE/H,OAAO,EACL,0BAA0B,EAC1B,4BAA4B,GAG7B,MAAM,uDAAuD,CAAC;AAG/D;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,4BAA4B,CAAC,KAI5C;IACC,OAAO;QACL,KAAK,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE;YAC1C,MAAM,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC;gBAClC,OAAO,EAAE,KAAK,CAAC,OAAO;gBACtB,IAAI,EAAE,KAAK,CAAC,IAAI;gBAChB,kGAAkG;gBAClG,4DAA4D;gBAC5D,YAAY,EAAE,0BAA0B,CAAC,KAAK;gBAC9C,IAAI;gBACJ,OAAO;gBACP,GAAG,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;aAC9C,CAAC,CAAC;QACL,CAAC;QACD,QAAQ,EAAE,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE;YAChD,MAAM,KAAK,CAAC,YAAY,CAAC,aAAa,CAAC;gBACrC,OAAO,EAAE,KAAK,CAAC,OAAO;gBACtB,IAAI,EAAE,KAAK,CAAC,IAAI;gBAChB,YAAY,EAAE,0BAA0B,CAAC,KAAK;gBAC9C,QAAQ;gBACR,OAAO;gBACP,qEAAqE;gBACrE,sEAAsE;gBACtE,kEAAkE;gBAClE,GAAG,CAAC,MAAM;oBACR,CAAC,CAAC;wBACE,MAAM,EAAE,MAAM,KAAK,oCAAoC,CAAC,IAAI;4BAC1D,CAAC,CAAC,4BAA4B,CAAC,IAAI;4BACnC,CAAC,CAAC,4BAA4B,CAAC,IAAI;qBACtC;oBACH,CAAC,CAAC,EAAE,CAAC;aACR,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["import { PlaybookExecutionTraceArtifactFormat, type PlaybookExecutionTracePort } from '@wildo-ai/application-creation-runtime';\n\nimport {\n CompanionTraceabilityLevel,\n CompanionTraceArtifactFormat,\n type CompanionExecutionSessionContext,\n type CompanionTraceStepContext,\n} from '../../core/traceability/companion-traceability.models';\nimport type { CompanionTraceabilityService } from '../../core/traceability/companion-traceability.service';\n\n/**\n * Route application-creation execution into the companion's EXISTING traceability tree.\n *\n * The companion already mints a session per API request, writes `events.ndjson` per session and artifacts\n * per step, and the engine's agent-call sink already deposits every `invokeAgent` prompt and output there.\n * So the model half of \"what happened\" was already recorded; what was missing was everything AROUND it —\n * which brief was composed, whether the validator accepted the answer, which file was written, which\n * playbook the loop chose and why.\n *\n * Adding a second trace store would have split one run's evidence across two places. This adapter puts the\n * application-creation events in the same session directory as the LLM call they explain, so a reader opens\n * one folder and sees the whole run in order.\n */\nexport function createPlaybookExecutionTrace(input: {\n readonly traceability: CompanionTraceabilityService;\n readonly session: CompanionExecutionSessionContext;\n readonly step: CompanionTraceStepContext;\n}): PlaybookExecutionTracePort {\n return {\n event: async ({ type, summary, payload }) => {\n await input.traceability.traceEvent({\n session: input.session,\n step: input.step,\n // DEBUG, matching the companion's always-on default. An execution trace nobody can see because it\n // needs a level nobody sets is the same as no trace at all.\n minimumLevel: CompanionTraceabilityLevel.DEBUG,\n type,\n summary,\n ...(payload !== undefined ? { payload } : {}),\n });\n },\n artifact: async ({ fileName, content, format }) => {\n await input.traceability.writeArtifact({\n session: input.session,\n step: input.step,\n minimumLevel: CompanionTraceabilityLevel.DEBUG,\n fileName,\n content,\n // The port and the companion each own a nominal format enum with the\n // same wire values; this adapter is the seam that translates one into\n // the other so neither package depends on the other's vocabulary.\n ...(format\n ? {\n format: format === PlaybookExecutionTraceArtifactFormat.TEXT\n ? CompanionTraceArtifactFormat.TEXT\n : CompanionTraceArtifactFormat.JSON,\n }\n : {}),\n });\n },\n };\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"playbook-instance.companion.service.d.ts","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/playbook-instance.companion.service.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAGhE,OAAO,EAEL,sCAAsC,EACtC,8BAA8B,EAM9B,KAAK,6BAA6B,EACnC,MAAM,oDAAoD,CAAC;AAG5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAgB,mBAAmB,EAAE,KAAK,oCAAoC,EAAE,MAAM,oEAAoE,CAAC;AAOlK,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAYpF,gGAAgG;AAChG,qBAAa,4BAA6B,SAAQ,KAAK;CAAG;AAE1D,+FAA+F;AAC/F,qBAAa,6BAA8B,SAAQ,KAAK;CAAG;AAE3D,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,UAAU,EAAE,6BAA6B,CAAC;IACnD,4EAA4E;IAC5E,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,2GAA2G;IAC3G,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,qBACa,gCAAgC;IAIN,OAAO,CAAC,QAAQ,CAAC,MAAM;IACR,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACnC,OAAO,CAAC,QAAQ,CAAC,OAAO;IACX,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IAC9C,OAAO,CAAC,QAAQ,CAAC,YAAY;IAPnF,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA+D;gBAGlC,MAAM,EAAE,aAAa,EACN,gBAAgB,EAAE,gBAAgB,EACpC,OAAO,EAAE,uBAAuB,EACnB,oBAAoB,EAAE,oCAAoC,EACnE,YAAY,EAAE,IAAI,CAAC,2BAA2B,EAAE,qBAAqB,GAAG,oBAAoB,CAAC;IAKvJ,YAAY,CAAC,KAAK,EAAE;QAC/B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;QACzB,kIAAkI;QAClI,QAAQ,CAAC,cAAc,CAAC,EAAE,SAAS,8BAA8B,EAAE,CAAC;QACpE,yGAAyG;QACzG,QAAQ,CAAC,eAAe,CAAC,EAAE,SAAS,8BAA8B,EAAE,CAAC;QACrE,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC;QACpC,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;KAC3B,GAAG,OAAO,CAAC,0BAA0B,CAAC;IA+FvC;;;;;;;;;;OAUG;YACW,eAAe;IAoD7B;;;;;OAKG;IACU,aAAa,CAAC,KAAK,EAAE;QAChC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,IAAI,EAAE,sCAAsC,CAAC;QACtD,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QACzB,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC;KACrC,GAAG,OAAO,CAAC;QACV,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;QAC5B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;QAC5B,QAAQ,CAAC,eAAe,EAAE,SAAS,MAAM,EAAE,CAAC;QAC5C,QAAQ,CAAC,wBAAwB,EAAE,SAAS,MAAM,EAAE,CAAC;QACrD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;KACvB,CAAC;CA8DH"}
1
+ {"version":3,"file":"playbook-instance.companion.service.d.ts","sourceRoot":"","sources":["../../../../src/meta-workflows/services/playbook-instance.companion.service.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAGhE,OAAO,EAEL,sCAAsC,EACtC,8BAA8B,EAM9B,KAAK,6BAA6B,EACnC,MAAM,oDAAoD,CAAC;AAG5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAuD,mBAAmB,EAAE,KAAK,oCAAoC,EAAE,MAAM,oEAAoE,CAAC;AAOzM,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAE3E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAYpF,gGAAgG;AAChG,qBAAa,4BAA6B,SAAQ,KAAK;CAAG;AAE1D,+FAA+F;AAC/F,qBAAa,6BAA8B,SAAQ,KAAK;CAAG;AAE3D,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,UAAU,EAAE,6BAA6B,CAAC;IACnD,4EAA4E;IAC5E,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,2GAA2G;IAC3G,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,qBACa,gCAAgC;IAIN,OAAO,CAAC,QAAQ,CAAC,MAAM;IACR,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACnC,OAAO,CAAC,QAAQ,CAAC,OAAO;IACX,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IAC9C,OAAO,CAAC,QAAQ,CAAC,YAAY;IAPnF,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA+D;gBAGlC,MAAM,EAAE,aAAa,EACN,gBAAgB,EAAE,gBAAgB,EACpC,OAAO,EAAE,uBAAuB,EACnB,oBAAoB,EAAE,oCAAoC,EACnE,YAAY,EAAE,IAAI,CAAC,2BAA2B,EAAE,qBAAqB,GAAG,oBAAoB,CAAC;IAKvJ,YAAY,CAAC,KAAK,EAAE;QAC/B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;QACzB,kIAAkI;QAClI,QAAQ,CAAC,cAAc,CAAC,EAAE,SAAS,8BAA8B,EAAE,CAAC;QACpE,yGAAyG;QACzG,QAAQ,CAAC,eAAe,CAAC,EAAE,SAAS,8BAA8B,EAAE,CAAC;QACrE,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC;QACpC,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;KAC3B,GAAG,OAAO,CAAC,0BAA0B,CAAC;IAsHvC;;;;;;;;;;OAUG;YACW,eAAe;IAoD7B;;;;;OAKG;IACU,aAAa,CAAC,KAAK,EAAE;QAChC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,IAAI,EAAE,sCAAsC,CAAC;QACtD,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QACzB,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC;KACrC,GAAG,OAAO,CAAC;QACV,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;QAC5B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;QAC5B,QAAQ,CAAC,eAAe,EAAE,SAAS,MAAM,EAAE,CAAC;QAC5C,QAAQ,CAAC,wBAAwB,EAAE,SAAS,MAAM,EAAE,CAAC;QACrD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;KACvB,CAAC;CA+EH"}
@@ -19,9 +19,10 @@ import { SAAS_SERVICE_TYPES } from '@wildo-ai/saas-backend-lib';
19
19
  import { MetaWorkflow_Executor } from '@wildo-ai/saas-models/meta-workflows';
20
20
  import { MetaWorkflowPlaybookSchema, ApplicationPlaybookInstanceClosureKind, PlaybookInstanceKeySchema, secondaryLineDefinitionOfEntry, withPlaybookActivation, playbookInstanceId, } from '@wildo-ai/saas-specifications/application-creation';
21
21
  import { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types.js';
22
- import { AcceptOrigin } from '../../claude-cli/services/accepted-change-commit.companion.service.js';
22
+ import { AcceptOrigin, AcceptWouldLeaveUnresolvedImportError } from '../../claude-cli/services/accepted-change-commit.companion.service.js';
23
23
  import { APPLICATION_CREATION_AUTONOMY_POSTURE, LaneBoundaryTreatment, laneBoundaryTreatmentFor, } from '../models/playbook-run-checkpoint.models.js';
24
24
  import { readCompiledApplicationLineCatalog } from '../models/application-line-catalog.models.js';
25
+ import { serializeDossierWrite } from './dossier-write-queue.companion.utils.js';
25
26
  /** The same prefix every landed specification constant carries (issue #65): app identity lives in values, never in export names. */
26
27
  const LANDED_CONSTANT_PREFIX = 'application';
27
28
  /**
@@ -136,13 +137,32 @@ let PlaybookInstanceCompanionService = class PlaybookInstanceCompanionService {
136
137
  : 'Recorded as a working edit: the autonomy posture leaves committing it to you.',
137
138
  };
138
139
  }
139
- const committed = await this.acceptedChangeCommit.commitDecisionRecord({
140
- paths: written,
141
- summary: `Open the playbook instance ${instanceId}${landed.activation.neededFamilies ? ` (needs ${landed.activation.neededFamilies.join(', ')})` : ''}${landed.activation.refinedFamilies ? ` (refines ${landed.activation.refinedFamilies.join(', ')})` : ''}`,
142
- purpose: input.purpose,
143
- actor: input.actor,
144
- origin: AcceptOrigin.AUTONOMY_POSTURE,
145
- });
140
+ let committed;
141
+ try {
142
+ committed = await this.acceptedChangeCommit.commitDecisionRecord({
143
+ paths: written,
144
+ summary: `Open the playbook instance ${instanceId}${landed.activation.neededFamilies ? ` (needs ${landed.activation.neededFamilies.join(', ')})` : ''}${landed.activation.refinedFamilies ? ` (refines ${landed.activation.refinedFamilies.join(', ')})` : ''}`,
145
+ purpose: input.purpose,
146
+ actor: input.actor,
147
+ origin: AcceptOrigin.AUTONOMY_POSTURE,
148
+ });
149
+ }
150
+ catch (error) {
151
+ /*
152
+ * The aggregate this decision rewires also wires an output that is not committed yet (#2332), so committing
153
+ * it now would leave HEAD importing a module no commit holds. The decision is recorded and stays a working
154
+ * edit; the refusal names that module and how to get it committed, after which
155
+ * `wildo creation accept --dossier` commits the decision.
156
+ */
157
+ if (!(error instanceof AcceptWouldLeaveUnresolvedImportError))
158
+ throw error;
159
+ return {
160
+ activation: landed.activation,
161
+ instanceId,
162
+ packageRelativePath: landed.packageRelativePath,
163
+ note: `Opened, and recorded as a working edit: ${error.message} The decision is then committed with \`wildo creation accept --dossier\`.`,
164
+ };
165
+ }
146
166
  this.logDebug('Playbook instance opened', { instanceId, commitSha: committed.commitSha });
147
167
  return {
148
168
  activation: landed.activation,
@@ -152,10 +172,16 @@ let PlaybookInstanceCompanionService = class PlaybookInstanceCompanionService {
152
172
  note: `Opened and committed (${committed.commitSha.slice(0, 8)}). Run it with instanceKey "${parsedKey.data}".`,
153
173
  };
154
174
  };
175
+ /*
176
+ * The dossier write queue INSIDE the workspace lock (#2179): the lock keeps a coding run out of the tree, the
177
+ * queue keeps an answer landing at the same moment from building on the same dossier read. Nothing holding
178
+ * the queue asks for the workspace lock, so the two cannot deadlock.
179
+ */
180
+ const recordQueued = () => serializeDossierWrite(specificationsPackageRoot, record);
155
181
  if (input.dryRun === true)
156
- return record();
182
+ return recordQueued();
157
183
  try {
158
- return await withDedicatedFileLock(getWorkspaceMutationLockPath(this.companionContext.saasRoot), record, { retries: OPEN_INSTANCE_LOCK_RETRIES });
184
+ return await withDedicatedFileLock(getWorkspaceMutationLockPath(this.companionContext.saasRoot), recordQueued, { retries: OPEN_INSTANCE_LOCK_RETRIES });
159
185
  }
160
186
  catch (error) {
161
187
  if (error instanceof PlaybookInstanceRefusedError)
@@ -229,6 +255,8 @@ let PlaybookInstanceCompanionService = class PlaybookInstanceCompanionService {
229
255
  const instanceId = playbookInstanceId(input.playbookRef, input.instanceKey);
230
256
  const reason = input.reason?.trim() || undefined;
231
257
  const commits = laneBoundaryTreatmentFor(APPLICATION_CREATION_AUTONOMY_POSTURE, PlaybookLaneBoundaryDecision.APPROVE_RESULT) === LaneBoundaryTreatment.NOTIFY_AND_PROCEED;
258
+ /* Set when the posture would commit and the import closure refused (#2332): said in the note, not hidden behind the posture's sentence. */
259
+ let uncommittedBecause;
232
260
  const record = async () => {
233
261
  let landed;
234
262
  try {
@@ -252,18 +280,29 @@ let PlaybookInstanceCompanionService = class PlaybookInstanceCompanionService {
252
280
  const specificationsRelativeRoot = path.relative(this.companionContext.saasRoot, specificationsPackageRoot);
253
281
  const written = [landed.packageRelativePath, ...landed.wiringEdits.map((edit) => edit.packageRelativePath)]
254
282
  .map((relative) => path.posix.join(specificationsRelativeRoot, relative));
255
- const committed = await this.acceptedChangeCommit.commitDecisionRecord({
256
- paths: written,
257
- summary: `Close the playbook instance ${instanceId} (${input.kind})`,
258
- purpose: reason ?? `The instance is ${input.kind}.`,
259
- actor: input.actor,
260
- origin: AcceptOrigin.AUTONOMY_POSTURE,
261
- });
262
- return committed.commitSha;
283
+ try {
284
+ const committed = await this.acceptedChangeCommit.commitDecisionRecord({
285
+ paths: written,
286
+ summary: `Close the playbook instance ${instanceId} (${input.kind})`,
287
+ purpose: reason ?? `The instance is ${input.kind}.`,
288
+ actor: input.actor,
289
+ origin: AcceptOrigin.AUTONOMY_POSTURE,
290
+ });
291
+ return committed.commitSha;
292
+ }
293
+ catch (error) {
294
+ // As when opening one (#2332): the closure stays a working edit, committed with `wildo creation accept --dossier` once the module it names is.
295
+ if (!(error instanceof AcceptWouldLeaveUnresolvedImportError))
296
+ throw error;
297
+ this.logDebug('A playbook instance closure stays a working edit: committing it would leave an import unresolved', { instanceId, reason: error.message });
298
+ uncommittedBecause = error.message;
299
+ return undefined;
300
+ }
263
301
  };
264
302
  let commitSha;
265
303
  try {
266
- commitSha = await withDedicatedFileLock(getWorkspaceMutationLockPath(this.companionContext.saasRoot), record, { retries: OPEN_INSTANCE_LOCK_RETRIES });
304
+ // The dossier write queue inside the workspace lock, as when opening one (#2179).
305
+ commitSha = await withDedicatedFileLock(getWorkspaceMutationLockPath(this.companionContext.saasRoot), () => serializeDossierWrite(specificationsPackageRoot, record), { retries: OPEN_INSTANCE_LOCK_RETRIES });
267
306
  }
268
307
  catch (error) {
269
308
  if (error instanceof PlaybookInstanceRefusedError)
@@ -282,7 +321,9 @@ let PlaybookInstanceCompanionService = class PlaybookInstanceCompanionService {
282
321
  instanceId,
283
322
  ...(commitSha ? { commitSha } : {}),
284
323
  ...cleared,
285
- note: `${instanceId} is ${input.kind}.${commitSha ? ` Committed (${commitSha.slice(0, 8)}).` : ' Recorded as a working edit: the autonomy posture leaves committing it to you.'}`
324
+ note: `${instanceId} is ${input.kind}.${commitSha
325
+ ? ` Committed (${commitSha.slice(0, 8)}).`
326
+ : uncommittedBecause ? ` Recorded as a working edit: ${uncommittedBecause} The closure is then committed with \`wildo creation accept --dossier\`.` : ' Recorded as a working edit: the autonomy posture leaves committing it to you.'}`
286
327
  + (input.kind === ApplicationPlaybookInstanceClosureKind.ABANDONED
287
328
  ? ` ${cleared.withdrawnRunIds.length} waiting run(s) withdrawn, ${cleared.consumedCheckpointRunIds.length} interrupted checkpoint(s) consumed; a run in flight stops at its next round.`
288
329
  : ''),