@wildo-ai/dev-companion 1.1.9 → 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 (1131) hide show
  1. package/dist/esm/.tsbuildinfo +1 -0
  2. package/dist/esm/brand/models/accepted-brand-mark.models.d.ts +46 -0
  3. package/dist/esm/brand/models/accepted-brand-mark.models.d.ts.map +1 -0
  4. package/dist/esm/brand/models/accepted-brand-mark.models.js +89 -0
  5. package/dist/esm/brand/models/accepted-brand-mark.models.js.map +1 -0
  6. package/dist/esm/brand/models/logo-creative-brief.schemas.d.ts.map +1 -1
  7. package/dist/esm/brand/models/logo-creative-brief.schemas.js.map +1 -1
  8. package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts.map +1 -1
  9. package/dist/esm/brand/models/logo-generation.actors-system.definitions.js.map +1 -1
  10. package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts.map +1 -1
  11. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -1
  12. package/dist/esm/brand/models/logo-judge.schemas.d.ts +5 -3
  13. package/dist/esm/brand/models/logo-judge.schemas.d.ts.map +1 -1
  14. package/dist/esm/brand/models/logo-judge.schemas.js +5 -3
  15. package/dist/esm/brand/models/logo-judge.schemas.js.map +1 -1
  16. package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
  17. package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
  18. package/dist/esm/brand/services/brand-propagation.companion.utils.d.ts.map +1 -1
  19. package/dist/esm/brand/services/brand-propagation.companion.utils.js.map +1 -1
  20. package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts.map +1 -1
  21. package/dist/esm/brand/services/logo-deliberation.companion.service.js +10 -7
  22. package/dist/esm/brand/services/logo-deliberation.companion.service.js.map +1 -1
  23. package/dist/esm/brand/services/logo-generation.companion.service.d.ts.map +1 -1
  24. package/dist/esm/brand/services/logo-generation.companion.service.js.map +1 -1
  25. package/dist/esm/brand/utils/derived-brand-assets.d.ts.map +1 -1
  26. package/dist/esm/brand/utils/derived-brand-assets.js.map +1 -1
  27. package/dist/esm/brand/utils/stage-brand-candidate.d.ts.map +1 -1
  28. package/dist/esm/brand/utils/stage-brand-candidate.js.map +1 -1
  29. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts.map +1 -1
  30. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js.map +1 -1
  31. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +89 -0
  32. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
  33. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +133 -0
  34. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
  35. package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.d.ts +52 -0
  36. package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.d.ts.map +1 -0
  37. package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.js +206 -0
  38. package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.js.map +1 -0
  39. package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts.map +1 -1
  40. package/dist/esm/claude-cli/models/coding-session-frame-retention.js.map +1 -1
  41. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts +38 -3
  42. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -1
  43. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js +48 -4
  44. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -1
  45. package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts.map +1 -1
  46. package/dist/esm/claude-cli/models/parked-question-answer.models.js.map +1 -1
  47. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts.map +1 -1
  48. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js.map +1 -1
  49. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +108 -7
  50. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -1
  51. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +461 -27
  52. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -1
  53. package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.d.ts +53 -0
  54. package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.d.ts.map +1 -0
  55. package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.js +193 -0
  56. package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.js.map +1 -0
  57. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +74 -1
  58. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
  59. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +246 -39
  60. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
  61. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts.map +1 -1
  62. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js.map +1 -1
  63. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
  64. package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
  65. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.d.ts.map +1 -1
  66. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js.map +1 -1
  67. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -1
  68. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -1
  69. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts +15 -2
  70. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
  71. package/dist/esm/claude-cli/services/research-evidence-store.companion.js +36 -4
  72. package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
  73. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.d.ts.map +1 -1
  74. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.js.map +1 -1
  75. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.d.ts.map +1 -1
  76. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -1
  77. package/dist/esm/companion-api/companion-api.schemas.d.ts +337 -337
  78. package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
  79. package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
  80. package/dist/esm/companion-api/companion-error-guidance.models.d.ts.map +1 -1
  81. package/dist/esm/companion-api/companion-error-guidance.models.js.map +1 -1
  82. package/dist/esm/companion-api/controllers/companion-file-route-confinement.d.ts.map +1 -1
  83. package/dist/esm/companion-api/controllers/companion-file-route-confinement.js.map +1 -1
  84. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.d.ts.map +1 -1
  85. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.js.map +1 -1
  86. package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts.map +1 -1
  87. package/dist/esm/companion-api/controllers/companion-token-floor.policy.js.map +1 -1
  88. package/dist/esm/companion-api/controllers/companion-trace-exemptions.d.ts.map +1 -1
  89. package/dist/esm/companion-api/controllers/companion-trace-exemptions.js.map +1 -1
  90. package/dist/esm/companion-api/controllers/companion.controller.d.ts +25 -6
  91. package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
  92. package/dist/esm/companion-api/controllers/companion.controller.js +136 -15
  93. package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
  94. package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts.map +1 -1
  95. package/dist/esm/core/auth/companion-auth-floor.companion.service.js.map +1 -1
  96. package/dist/esm/core/catalogs/catalog-context.factory.d.ts.map +1 -1
  97. package/dist/esm/core/catalogs/catalog-context.factory.js.map +1 -1
  98. package/dist/esm/core/catalogs/catalog-context.factory.models.d.ts.map +1 -1
  99. package/dist/esm/core/catalogs/catalog-context.factory.models.js.map +1 -1
  100. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.d.ts.map +1 -1
  101. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.js.map +1 -1
  102. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.d.ts.map +1 -1
  103. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.js.map +1 -1
  104. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.d.ts.map +1 -1
  105. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.js.map +1 -1
  106. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.d.ts.map +1 -1
  107. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.js.map +1 -1
  108. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.d.ts.map +1 -1
  109. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.js.map +1 -1
  110. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.d.ts.map +1 -1
  111. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.js.map +1 -1
  112. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.d.ts.map +1 -1
  113. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.js.map +1 -1
  114. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.d.ts.map +1 -1
  115. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.js.map +1 -1
  116. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.d.ts.map +1 -1
  117. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.js.map +1 -1
  118. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.d.ts.map +1 -1
  119. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.js.map +1 -1
  120. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts.map +1 -1
  121. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js.map +1 -1
  122. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts.map +1 -1
  123. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.js.map +1 -1
  124. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.d.ts.map +1 -1
  125. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.js.map +1 -1
  126. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.d.ts.map +1 -1
  127. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.js.map +1 -1
  128. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.d.ts.map +1 -1
  129. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -1
  130. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts.map +1 -1
  131. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js.map +1 -1
  132. package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
  133. package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
  134. package/dist/esm/core/context/application-module-generations.companion.d.ts.map +1 -1
  135. package/dist/esm/core/context/application-module-generations.companion.js.map +1 -1
  136. package/dist/esm/core/context/companion-context.d.ts.map +1 -1
  137. package/dist/esm/core/context/companion-context.js.map +1 -1
  138. package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
  139. package/dist/esm/core/context/companion-package-loaders.companion.js.map +1 -1
  140. package/dist/esm/core/context/draft-family-values.companion.d.ts.map +1 -1
  141. package/dist/esm/core/context/draft-family-values.companion.js.map +1 -1
  142. package/dist/esm/core/inject/models/container.d.ts.map +1 -1
  143. package/dist/esm/core/inject/models/container.js.map +1 -1
  144. package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
  145. package/dist/esm/core/inject/models/service-types.js.map +1 -1
  146. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -1
  147. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js.map +1 -1
  148. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -1
  149. package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
  150. package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts.map +1 -1
  151. package/dist/esm/core/introspection/resources/application-secrets.companion.js.map +1 -1
  152. package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts.map +1 -1
  153. package/dist/esm/core/introspection/resources/creation-console-answer.companion.js.map +1 -1
  154. package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts.map +1 -1
  155. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js +8 -1
  156. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js.map +1 -1
  157. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts +10 -0
  158. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -1
  159. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +56 -2
  160. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -1
  161. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -1
  162. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js +7 -3
  163. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js.map +1 -1
  164. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
  165. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +22 -2
  166. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
  167. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts.map +1 -1
  168. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js.map +1 -1
  169. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -1
  170. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -1
  171. package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts +7 -3
  172. package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts.map +1 -1
  173. package/dist/esm/core/introspection/resources/launch-blockers.companion.js +28 -2
  174. package/dist/esm/core/introspection/resources/launch-blockers.companion.js.map +1 -1
  175. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.d.ts.map +1 -1
  176. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.js.map +1 -1
  177. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts +8 -2
  178. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts.map +1 -1
  179. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js +72 -5
  180. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
  181. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts +153 -4
  182. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts.map +1 -1
  183. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js +383 -30
  184. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js.map +1 -1
  185. package/dist/esm/core/introspection/services/introspection-input-closure.companion.d.ts.map +1 -1
  186. package/dist/esm/core/introspection/services/introspection-input-closure.companion.js.map +1 -1
  187. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts +82 -2
  188. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
  189. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js +220 -10
  190. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
  191. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts +22 -6
  192. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts.map +1 -1
  193. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js +38 -7
  194. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js.map +1 -1
  195. package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -1
  196. package/dist/esm/core/introspection/services/translation-placement.companion.service.js.map +1 -1
  197. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts +9 -0
  198. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts.map +1 -1
  199. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js +29 -9
  200. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js.map +1 -1
  201. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts.map +1 -1
  202. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js.map +1 -1
  203. package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts.map +1 -1
  204. package/dist/esm/core/introspection/subprocess/assertions.behavior.js +10 -10
  205. package/dist/esm/core/introspection/subprocess/assertions.behavior.js.map +1 -1
  206. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts.map +1 -1
  207. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.js.map +1 -1
  208. package/dist/esm/core/introspection/subprocess/asset-noop-register.d.ts.map +1 -1
  209. package/dist/esm/core/introspection/subprocess/asset-noop-register.js.map +1 -1
  210. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.d.ts.map +1 -1
  211. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.js.map +1 -1
  212. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.d.ts.map +1 -1
  213. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.js.map +1 -1
  214. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts +1 -1
  215. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
  216. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +20 -19
  217. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
  218. package/dist/esm/core/introspection/subprocess/companion-introspection-child.d.ts.map +1 -1
  219. package/dist/esm/core/introspection/subprocess/companion-introspection-child.js.map +1 -1
  220. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.d.ts.map +1 -1
  221. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.js.map +1 -1
  222. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts.map +1 -1
  223. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -1
  224. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.d.ts.map +1 -1
  225. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.js.map +1 -1
  226. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts.map +1 -1
  227. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js.map +1 -1
  228. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts.map +1 -1
  229. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js.map +1 -1
  230. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts.map +1 -1
  231. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js +9 -1
  232. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js.map +1 -1
  233. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts.map +1 -1
  234. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js.map +1 -1
  235. package/dist/esm/core/introspection/subprocess/market-context-block.builder.d.ts.map +1 -1
  236. package/dist/esm/core/introspection/subprocess/market-context-block.builder.js +2 -1
  237. package/dist/esm/core/introspection/subprocess/market-context-block.builder.js.map +1 -1
  238. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts +4 -3
  239. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts.map +1 -1
  240. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js +14 -8
  241. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js.map +1 -1
  242. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts.map +1 -1
  243. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js +17 -4
  244. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
  245. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts.map +1 -1
  246. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js.map +1 -1
  247. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
  248. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -1
  249. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts.map +1 -1
  250. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js.map +1 -1
  251. package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -1
  252. package/dist/esm/core/introspection/workspace-element-index.companion.js.map +1 -1
  253. package/dist/esm/core/introspection/workspace-elements.companion.d.ts.map +1 -1
  254. package/dist/esm/core/introspection/workspace-elements.companion.js.map +1 -1
  255. package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts.map +1 -1
  256. package/dist/esm/core/lock/wildo-saas-lock.companion.service.js.map +1 -1
  257. package/dist/esm/core/lock/wildo-saas-lock.models.d.ts.map +1 -1
  258. package/dist/esm/core/lock/wildo-saas-lock.models.js.map +1 -1
  259. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts.map +1 -1
  260. package/dist/esm/core/lock/wildo-saas-lock.schemas.js.map +1 -1
  261. package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts +35 -0
  262. package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts.map +1 -1
  263. package/dist/esm/core/runtime/application-runtime-liveness.companion.js +74 -0
  264. package/dist/esm/core/runtime/application-runtime-liveness.companion.js.map +1 -1
  265. package/dist/esm/core/runtime/companion-endpoint-record.d.ts.map +1 -1
  266. package/dist/esm/core/runtime/companion-endpoint-record.js.map +1 -1
  267. package/dist/esm/core/runtime/companion-env-file.d.ts.map +1 -1
  268. package/dist/esm/core/runtime/companion-env-file.js.map +1 -1
  269. package/dist/esm/core/runtime/companion-self-restart.companion.d.ts +38 -0
  270. package/dist/esm/core/runtime/companion-self-restart.companion.d.ts.map +1 -0
  271. package/dist/esm/core/runtime/companion-self-restart.companion.js +110 -0
  272. package/dist/esm/core/runtime/companion-self-restart.companion.js.map +1 -0
  273. package/dist/esm/core/runtime/companion-startup-assembly.d.ts.map +1 -1
  274. package/dist/esm/core/runtime/companion-startup-assembly.js +7 -1
  275. package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
  276. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts +12 -0
  277. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
  278. package/dist/esm/core/runtime/dev-compile-quiet.companion.js +15 -1
  279. package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
  280. package/dist/esm/core/runtime/event-loop-stall-monitor.companion.d.ts +83 -0
  281. package/dist/esm/core/runtime/event-loop-stall-monitor.companion.d.ts.map +1 -0
  282. package/dist/esm/core/runtime/event-loop-stall-monitor.companion.js +150 -0
  283. package/dist/esm/core/runtime/event-loop-stall-monitor.companion.js.map +1 -0
  284. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts.map +1 -1
  285. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js.map +1 -1
  286. package/dist/esm/core/runtime/models/companion-runtime.models.d.ts.map +1 -1
  287. package/dist/esm/core/runtime/models/companion-runtime.models.js.map +1 -1
  288. package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts.map +1 -1
  289. package/dist/esm/core/runtime/services/file-storage-initialization.companion.js.map +1 -1
  290. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +23 -1
  291. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
  292. package/dist/esm/core/runtime/services/start-companion-application.service.js +50 -2
  293. package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
  294. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.d.ts.map +1 -1
  295. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.js.map +1 -1
  296. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
  297. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
  298. package/dist/esm/core/runtime/utils/companion-workbench-topology.d.ts.map +1 -1
  299. package/dist/esm/core/runtime/utils/companion-workbench-topology.js.map +1 -1
  300. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.d.ts.map +1 -1
  301. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.js.map +1 -1
  302. package/dist/esm/core/specifications/chart-view-specification-context.factory.d.ts.map +1 -1
  303. package/dist/esm/core/specifications/chart-view-specification-context.factory.js.map +1 -1
  304. package/dist/esm/core/specifications/composite-view-specification-context.factory.d.ts.map +1 -1
  305. package/dist/esm/core/specifications/composite-view-specification-context.factory.js.map +1 -1
  306. package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts.map +1 -1
  307. package/dist/esm/core/specifications/cross-registry-rendering.shared.js.map +1 -1
  308. package/dist/esm/core/specifications/execution-view-specification-context.factory.d.ts.map +1 -1
  309. package/dist/esm/core/specifications/execution-view-specification-context.factory.js.map +1 -1
  310. package/dist/esm/core/specifications/feature-specification-context.factory.d.ts.map +1 -1
  311. package/dist/esm/core/specifications/feature-specification-context.factory.js.map +1 -1
  312. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.d.ts.map +1 -1
  313. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.js.map +1 -1
  314. package/dist/esm/core/specifications/frontend-component-specification-context.factory.d.ts.map +1 -1
  315. package/dist/esm/core/specifications/frontend-component-specification-context.factory.js.map +1 -1
  316. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.d.ts.map +1 -1
  317. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.js.map +1 -1
  318. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.d.ts.map +1 -1
  319. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.js.map +1 -1
  320. package/dist/esm/core/specifications/milestone-specification-context.factory.d.ts.map +1 -1
  321. package/dist/esm/core/specifications/milestone-specification-context.factory.js.map +1 -1
  322. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.d.ts.map +1 -1
  323. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.js.map +1 -1
  324. package/dist/esm/core/specifications/onboarding-element-rendering.shared.d.ts.map +1 -1
  325. package/dist/esm/core/specifications/onboarding-element-rendering.shared.js.map +1 -1
  326. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.d.ts.map +1 -1
  327. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.js.map +1 -1
  328. package/dist/esm/core/specifications/product-specification-context.factory.d.ts.map +1 -1
  329. package/dist/esm/core/specifications/product-specification-context.factory.js.map +1 -1
  330. package/dist/esm/core/specifications/resource-specification-context.factory.d.ts.map +1 -1
  331. package/dist/esm/core/specifications/resource-specification-context.factory.js.map +1 -1
  332. package/dist/esm/core/specifications/role-specification-context.factory.d.ts.map +1 -1
  333. package/dist/esm/core/specifications/role-specification-context.factory.js.map +1 -1
  334. package/dist/esm/core/specifications/specification-context-factory.d.ts.map +1 -1
  335. package/dist/esm/core/specifications/specification-context-factory.js.map +1 -1
  336. package/dist/esm/core/specifications/specification-context-factory.models.d.ts.map +1 -1
  337. package/dist/esm/core/specifications/specification-context-factory.models.js.map +1 -1
  338. package/dist/esm/core/specifications/specification-context-factory.shared.d.ts.map +1 -1
  339. package/dist/esm/core/specifications/specification-context-factory.shared.js.map +1 -1
  340. package/dist/esm/core/specifications/system-email-template-specification-context.factory.d.ts.map +1 -1
  341. package/dist/esm/core/specifications/system-email-template-specification-context.factory.js.map +1 -1
  342. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.d.ts.map +1 -1
  343. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.js.map +1 -1
  344. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.d.ts.map +1 -1
  345. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.js.map +1 -1
  346. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.d.ts.map +1 -1
  347. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.js.map +1 -1
  348. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.d.ts.map +1 -1
  349. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.js.map +1 -1
  350. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.d.ts.map +1 -1
  351. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.js.map +1 -1
  352. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.d.ts.map +1 -1
  353. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.js.map +1 -1
  354. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.d.ts.map +1 -1
  355. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.js.map +1 -1
  356. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.d.ts.map +1 -1
  357. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.js.map +1 -1
  358. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.d.ts.map +1 -1
  359. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.js.map +1 -1
  360. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.d.ts.map +1 -1
  361. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.js.map +1 -1
  362. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.d.ts.map +1 -1
  363. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.js.map +1 -1
  364. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.d.ts.map +1 -1
  365. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.js.map +1 -1
  366. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.d.ts.map +1 -1
  367. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.js.map +1 -1
  368. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.d.ts.map +1 -1
  369. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.js.map +1 -1
  370. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.d.ts.map +1 -1
  371. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.js.map +1 -1
  372. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.d.ts.map +1 -1
  373. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.js.map +1 -1
  374. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.d.ts.map +1 -1
  375. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.js.map +1 -1
  376. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.d.ts.map +1 -1
  377. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.js.map +1 -1
  378. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.d.ts.map +1 -1
  379. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.js.map +1 -1
  380. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.d.ts.map +1 -1
  381. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.js.map +1 -1
  382. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.d.ts.map +1 -1
  383. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.js.map +1 -1
  384. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.d.ts.map +1 -1
  385. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.js.map +1 -1
  386. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.d.ts.map +1 -1
  387. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.js.map +1 -1
  388. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.d.ts.map +1 -1
  389. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.js.map +1 -1
  390. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.d.ts.map +1 -1
  391. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.js.map +1 -1
  392. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.d.ts.map +1 -1
  393. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.js.map +1 -1
  394. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.d.ts.map +1 -1
  395. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.js.map +1 -1
  396. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.d.ts.map +1 -1
  397. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.js.map +1 -1
  398. package/dist/esm/core/specifications/templates/product/product-all-information.template.d.ts.map +1 -1
  399. package/dist/esm/core/specifications/templates/product/product-all-information.template.js.map +1 -1
  400. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.d.ts.map +1 -1
  401. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.js.map +1 -1
  402. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.d.ts.map +1 -1
  403. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.js.map +1 -1
  404. package/dist/esm/core/specifications/templates/product/product-translation-context.template.d.ts.map +1 -1
  405. package/dist/esm/core/specifications/templates/product/product-translation-context.template.js.map +1 -1
  406. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.d.ts.map +1 -1
  407. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.js.map +1 -1
  408. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.d.ts.map +1 -1
  409. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.js.map +1 -1
  410. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.d.ts.map +1 -1
  411. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.js.map +1 -1
  412. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.d.ts.map +1 -1
  413. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.js.map +1 -1
  414. package/dist/esm/core/specifications/templates/role/role-all-information.template.d.ts.map +1 -1
  415. package/dist/esm/core/specifications/templates/role/role-all-information.template.js.map +1 -1
  416. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.d.ts.map +1 -1
  417. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.js.map +1 -1
  418. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.d.ts.map +1 -1
  419. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.js.map +1 -1
  420. package/dist/esm/core/specifications/templates/role/role-translation-context.template.d.ts.map +1 -1
  421. package/dist/esm/core/specifications/templates/role/role-translation-context.template.js.map +1 -1
  422. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.d.ts.map +1 -1
  423. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.js.map +1 -1
  424. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.d.ts.map +1 -1
  425. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.js.map +1 -1
  426. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.d.ts.map +1 -1
  427. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.js.map +1 -1
  428. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.d.ts.map +1 -1
  429. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.js.map +1 -1
  430. package/dist/esm/core/specifications/validate-resource-field-completeness.d.ts.map +1 -1
  431. package/dist/esm/core/specifications/validate-resource-field-completeness.js.map +1 -1
  432. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts.map +1 -1
  433. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js.map +1 -1
  434. package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -1
  435. package/dist/esm/core/traceability/companion-traceability.models.js.map +1 -1
  436. package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -1
  437. package/dist/esm/core/traceability/companion-traceability.service.js.map +1 -1
  438. package/dist/esm/core/utils/atomic-write.utils.d.ts.map +1 -1
  439. package/dist/esm/core/utils/atomic-write.utils.js.map +1 -1
  440. package/dist/esm/core/utils/bounded-concurrency.utils.d.ts.map +1 -1
  441. package/dist/esm/core/utils/bounded-concurrency.utils.js.map +1 -1
  442. package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts.map +1 -1
  443. package/dist/esm/core/utils/derived-input-signature.companion.utils.js.map +1 -1
  444. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts.map +1 -1
  445. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js.map +1 -1
  446. package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -1
  447. package/dist/esm/creation-conversation/creation-conversation.function-tools.js +4 -2
  448. package/dist/esm/creation-conversation/creation-conversation.function-tools.js.map +1 -1
  449. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
  450. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js +7 -8
  451. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
  452. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts +10 -5
  453. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
  454. package/dist/esm/deliberations/services/deliberation.companion.service.js +31 -21
  455. package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
  456. package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts.map +1 -1
  457. package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -1
  458. package/dist/esm/deliberations/utils/expert-agent-registration.d.ts +56 -0
  459. package/dist/esm/deliberations/utils/expert-agent-registration.d.ts.map +1 -0
  460. package/dist/esm/deliberations/utils/expert-agent-registration.js +74 -0
  461. package/dist/esm/deliberations/utils/expert-agent-registration.js.map +1 -0
  462. package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts +9 -5
  463. package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts.map +1 -1
  464. package/dist/esm/deliberations/utils/load-committed-expert-agents.js +11 -15
  465. package/dist/esm/deliberations/utils/load-committed-expert-agents.js.map +1 -1
  466. package/dist/esm/email/models/email-template.actors-system.definitions.d.ts.map +1 -1
  467. package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -1
  468. package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts.map +1 -1
  469. package/dist/esm/email/services/email-spec-context-loader.companion.service.js.map +1 -1
  470. package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
  471. package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
  472. package/dist/esm/email/utils/email-labels-file-source.utils.d.ts.map +1 -1
  473. package/dist/esm/email/utils/email-labels-file-source.utils.js.map +1 -1
  474. package/dist/esm/email/utils/email-labels-tree.utils.d.ts.map +1 -1
  475. package/dist/esm/email/utils/email-labels-tree.utils.js.map +1 -1
  476. package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
  477. package/dist/esm/email/utils/email-template-fs-discovery.utils.js.map +1 -1
  478. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts.map +1 -1
  479. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js.map +1 -1
  480. package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
  481. package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
  482. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -1
  483. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -1
  484. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -1
  485. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -1
  486. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts +5 -3
  487. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts.map +1 -1
  488. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js +5 -3
  489. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js.map +1 -1
  490. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts +17 -1
  491. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
  492. package/dist/esm/expert-personas/services/expert-persona.companion.service.js +47 -10
  493. package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
  494. package/dist/esm/expert-personas/services/persona-source-ownership.d.ts.map +1 -1
  495. package/dist/esm/expert-personas/services/persona-source-ownership.js.map +1 -1
  496. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts.map +1 -1
  497. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js.map +1 -1
  498. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts.map +1 -1
  499. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js.map +1 -1
  500. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts.map +1 -1
  501. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js.map +1 -1
  502. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.d.ts.map +1 -1
  503. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.js.map +1 -1
  504. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.d.ts.map +1 -1
  505. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.js.map +1 -1
  506. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts.map +1 -1
  507. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js.map +1 -1
  508. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts.map +1 -1
  509. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js.map +1 -1
  510. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts.map +1 -1
  511. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js.map +1 -1
  512. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  513. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js.map +1 -1
  514. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts.map +1 -1
  515. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js.map +1 -1
  516. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.d.ts.map +1 -1
  517. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.js.map +1 -1
  518. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts.map +1 -1
  519. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js.map +1 -1
  520. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts.map +1 -1
  521. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js.map +1 -1
  522. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.d.ts.map +1 -1
  523. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js.map +1 -1
  524. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts.map +1 -1
  525. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js.map +1 -1
  526. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts.map +1 -1
  527. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js.map +1 -1
  528. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts.map +1 -1
  529. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js.map +1 -1
  530. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts.map +1 -1
  531. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js.map +1 -1
  532. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts.map +1 -1
  533. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js.map +1 -1
  534. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts.map +1 -1
  535. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js.map +1 -1
  536. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts.map +1 -1
  537. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js.map +1 -1
  538. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts.map +1 -1
  539. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js.map +1 -1
  540. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts.map +1 -1
  541. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js.map +1 -1
  542. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts.map +1 -1
  543. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js.map +1 -1
  544. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts.map +1 -1
  545. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js.map +1 -1
  546. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts.map +1 -1
  547. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js.map +1 -1
  548. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts.map +1 -1
  549. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js.map +1 -1
  550. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts.map +1 -1
  551. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js.map +1 -1
  552. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts.map +1 -1
  553. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js.map +1 -1
  554. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts.map +1 -1
  555. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js.map +1 -1
  556. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts.map +1 -1
  557. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js.map +1 -1
  558. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts.map +1 -1
  559. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js.map +1 -1
  560. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.d.ts.map +1 -1
  561. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.js.map +1 -1
  562. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts.map +1 -1
  563. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js.map +1 -1
  564. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -1
  565. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
  566. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
  567. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
  568. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts.map +1 -1
  569. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js.map +1 -1
  570. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts.map +1 -1
  571. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js.map +1 -1
  572. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.d.ts.map +1 -1
  573. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.js.map +1 -1
  574. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.d.ts.map +1 -1
  575. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.js.map +1 -1
  576. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts.map +1 -1
  577. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js.map +1 -1
  578. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts.map +1 -1
  579. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js.map +1 -1
  580. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.d.ts.map +1 -1
  581. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.js.map +1 -1
  582. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts.map +1 -1
  583. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js.map +1 -1
  584. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts.map +1 -1
  585. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js.map +1 -1
  586. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts.map +1 -1
  587. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js.map +1 -1
  588. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts.map +1 -1
  589. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js.map +1 -1
  590. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.d.ts.map +1 -1
  591. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.js.map +1 -1
  592. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.d.ts.map +1 -1
  593. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.js.map +1 -1
  594. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.d.ts.map +1 -1
  595. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.js.map +1 -1
  596. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts.map +1 -1
  597. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js.map +1 -1
  598. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts.map +1 -1
  599. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js.map +1 -1
  600. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.d.ts.map +1 -1
  601. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.js.map +1 -1
  602. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.d.ts.map +1 -1
  603. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.js.map +1 -1
  604. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.d.ts.map +1 -1
  605. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.js.map +1 -1
  606. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts.map +1 -1
  607. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js.map +1 -1
  608. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts.map +1 -1
  609. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js.map +1 -1
  610. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts.map +1 -1
  611. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js.map +1 -1
  612. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts.map +1 -1
  613. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js.map +1 -1
  614. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts.map +1 -1
  615. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js.map +1 -1
  616. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +1 -1
  617. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +1 -1
  618. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts.map +1 -1
  619. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js.map +1 -1
  620. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts.map +1 -1
  621. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js.map +1 -1
  622. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts.map +1 -1
  623. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js.map +1 -1
  624. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts.map +1 -1
  625. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js.map +1 -1
  626. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.d.ts.map +1 -1
  627. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.js.map +1 -1
  628. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.d.ts.map +1 -1
  629. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.js.map +1 -1
  630. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.d.ts.map +1 -1
  631. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.js.map +1 -1
  632. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.d.ts.map +1 -1
  633. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.js.map +1 -1
  634. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts.map +1 -1
  635. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js.map +1 -1
  636. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts.map +1 -1
  637. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js.map +1 -1
  638. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -1
  639. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
  640. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts.map +1 -1
  641. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js.map +1 -1
  642. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.d.ts.map +1 -1
  643. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.js.map +1 -1
  644. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts.map +1 -1
  645. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js.map +1 -1
  646. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts.map +1 -1
  647. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js.map +1 -1
  648. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.d.ts.map +1 -1
  649. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.js.map +1 -1
  650. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts.map +1 -1
  651. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js.map +1 -1
  652. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.d.ts.map +1 -1
  653. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.js.map +1 -1
  654. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts.map +1 -1
  655. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js.map +1 -1
  656. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts.map +1 -1
  657. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js.map +1 -1
  658. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts.map +1 -1
  659. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js.map +1 -1
  660. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.d.ts.map +1 -1
  661. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.js.map +1 -1
  662. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts.map +1 -1
  663. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js.map +1 -1
  664. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.d.ts.map +1 -1
  665. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.js.map +1 -1
  666. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.d.ts.map +1 -1
  667. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.js.map +1 -1
  668. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.d.ts.map +1 -1
  669. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js.map +1 -1
  670. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts.map +1 -1
  671. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js.map +1 -1
  672. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts.map +1 -1
  673. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js.map +1 -1
  674. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts.map +1 -1
  675. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js.map +1 -1
  676. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts.map +1 -1
  677. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js.map +1 -1
  678. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts.map +1 -1
  679. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js.map +1 -1
  680. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts.map +1 -1
  681. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js.map +1 -1
  682. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts.map +1 -1
  683. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js.map +1 -1
  684. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.d.ts.map +1 -1
  685. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.js.map +1 -1
  686. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts.map +1 -1
  687. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js.map +1 -1
  688. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts.map +1 -1
  689. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js.map +1 -1
  690. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts.map +1 -1
  691. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js.map +1 -1
  692. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts.map +1 -1
  693. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js.map +1 -1
  694. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.d.ts.map +1 -1
  695. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.js.map +1 -1
  696. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts.map +1 -1
  697. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js.map +1 -1
  698. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts.map +1 -1
  699. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js.map +1 -1
  700. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.d.ts.map +1 -1
  701. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.js.map +1 -1
  702. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -1
  703. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js.map +1 -1
  704. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts.map +1 -1
  705. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js.map +1 -1
  706. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.d.ts.map +1 -1
  707. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.js.map +1 -1
  708. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.d.ts.map +1 -1
  709. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.js.map +1 -1
  710. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.d.ts.map +1 -1
  711. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.js.map +1 -1
  712. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts.map +1 -1
  713. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js.map +1 -1
  714. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.d.ts.map +1 -1
  715. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.js.map +1 -1
  716. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.d.ts.map +1 -1
  717. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.js.map +1 -1
  718. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts.map +1 -1
  719. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js.map +1 -1
  720. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts.map +1 -1
  721. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js.map +1 -1
  722. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts.map +1 -1
  723. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.js.map +1 -1
  724. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.d.ts.map +1 -1
  725. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.js.map +1 -1
  726. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  727. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js.map +1 -1
  728. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts.map +1 -1
  729. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js.map +1 -1
  730. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts.map +1 -1
  731. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js.map +1 -1
  732. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts.map +1 -1
  733. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js.map +1 -1
  734. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts.map +1 -1
  735. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js.map +1 -1
  736. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts.map +1 -1
  737. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js.map +1 -1
  738. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -1
  739. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -1
  740. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts.map +1 -1
  741. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js.map +1 -1
  742. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts.map +1 -1
  743. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js.map +1 -1
  744. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts.map +1 -1
  745. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js.map +1 -1
  746. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts.map +1 -1
  747. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js.map +1 -1
  748. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts.map +1 -1
  749. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js.map +1 -1
  750. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
  751. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -1
  752. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts.map +1 -1
  753. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
  754. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts.map +1 -1
  755. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js.map +1 -1
  756. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts.map +1 -1
  757. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js.map +1 -1
  758. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts.map +1 -1
  759. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js.map +1 -1
  760. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts.map +1 -1
  761. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js.map +1 -1
  762. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts.map +1 -1
  763. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js.map +1 -1
  764. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts.map +1 -1
  765. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js.map +1 -1
  766. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts.map +1 -1
  767. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js.map +1 -1
  768. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -1
  769. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js.map +1 -1
  770. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts.map +1 -1
  771. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js.map +1 -1
  772. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
  773. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
  774. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts.map +1 -1
  775. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js.map +1 -1
  776. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
  777. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
  778. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts.map +1 -1
  779. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js.map +1 -1
  780. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts.map +1 -1
  781. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js.map +1 -1
  782. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.d.ts.map +1 -1
  783. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.js.map +1 -1
  784. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts.map +1 -1
  785. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js.map +1 -1
  786. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts.map +1 -1
  787. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js.map +1 -1
  788. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts.map +1 -1
  789. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js.map +1 -1
  790. package/dist/esm/i18n/components/guidance_announcement.en.d.ts.map +1 -1
  791. package/dist/esm/i18n/components/guidance_announcement.en.js.map +1 -1
  792. package/dist/esm/i18n/components/guidance_banner.en.d.ts.map +1 -1
  793. package/dist/esm/i18n/components/guidance_banner.en.js.map +1 -1
  794. package/dist/esm/i18n/components/guidance_card.en.d.ts.map +1 -1
  795. package/dist/esm/i18n/components/guidance_card.en.js.map +1 -1
  796. package/dist/esm/i18n/components/guidance_checklist.en.d.ts.map +1 -1
  797. package/dist/esm/i18n/components/guidance_checklist.en.js.map +1 -1
  798. package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts.map +1 -1
  799. package/dist/esm/i18n/components/guidance_checklist_item.en.js.map +1 -1
  800. package/dist/esm/i18n/components/guidance_modal.en.d.ts.map +1 -1
  801. package/dist/esm/i18n/components/guidance_modal.en.js.map +1 -1
  802. package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts.map +1 -1
  803. package/dist/esm/i18n/components/guidance_onboarding_view.en.js.map +1 -1
  804. package/dist/esm/i18n/components/guidance_survey.en.d.ts.map +1 -1
  805. package/dist/esm/i18n/components/guidance_survey.en.js.map +1 -1
  806. package/dist/esm/i18n/components/guidance_tooltip.en.d.ts.map +1 -1
  807. package/dist/esm/i18n/components/guidance_tooltip.en.js.map +1 -1
  808. package/dist/esm/i18n/components/guidance_tour.en.d.ts.map +1 -1
  809. package/dist/esm/i18n/components/guidance_tour.en.js.map +1 -1
  810. package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts.map +1 -1
  811. package/dist/esm/i18n/components/progression_achievement_badge.en.js.map +1 -1
  812. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
  813. package/dist/esm/i18n/components/progression_milestone_tracker.en.js.map +1 -1
  814. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts +1 -0
  815. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts.map +1 -1
  816. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js +14 -0
  817. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js.map +1 -1
  818. package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts.map +1 -1
  819. package/dist/esm/i18n/composite_views/app.creation-dossier.en.js.map +1 -1
  820. package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts.map +1 -1
  821. package/dist/esm/i18n/composite_views/app.domain-model.en.js.map +1 -1
  822. package/dist/esm/i18n/control-plane-label-blocks.d.ts +344 -0
  823. package/dist/esm/i18n/control-plane-label-blocks.d.ts.map +1 -0
  824. package/dist/esm/i18n/control-plane-label-blocks.js +115 -0
  825. package/dist/esm/i18n/control-plane-label-blocks.js.map +1 -0
  826. package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts.map +1 -1
  827. package/dist/esm/i18n/errors_guidance/errors-guidance.en.js.map +1 -1
  828. package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts.map +1 -1
  829. package/dist/esm/i18n/errors_messages/errors-messages.en.js.map +1 -1
  830. package/dist/esm/i18n/index.d.ts.map +1 -1
  831. package/dist/esm/i18n/index.js.map +1 -1
  832. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts +410 -0
  833. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
  834. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js +13 -145
  835. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
  836. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts +65 -0
  837. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
  838. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js +4 -37
  839. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js.map +1 -1
  840. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts +65 -0
  841. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
  842. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js +4 -37
  843. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js.map +1 -1
  844. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts.map +1 -1
  845. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js.map +1 -1
  846. package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -1
  847. package/dist/esm/i18n/resources/workbenchAspects.en.js +4 -0
  848. package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -1
  849. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts.map +1 -1
  850. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js.map +1 -1
  851. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts.map +1 -1
  852. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js.map +1 -1
  853. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
  854. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js.map +1 -1
  855. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts.map +1 -1
  856. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js.map +1 -1
  857. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts.map +1 -1
  858. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js.map +1 -1
  859. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts.map +1 -1
  860. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js.map +1 -1
  861. package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts.map +1 -1
  862. package/dist/esm/i18n/resources/workbenchDomainResources.en.js.map +1 -1
  863. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts +10 -0
  864. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -1
  865. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js +3 -0
  866. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -1
  867. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts.map +1 -1
  868. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js.map +1 -1
  869. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts.map +1 -1
  870. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js.map +1 -1
  871. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts.map +1 -1
  872. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js.map +1 -1
  873. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts.map +1 -1
  874. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js.map +1 -1
  875. package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
  876. package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -1
  877. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
  878. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js.map +1 -1
  879. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +287 -0
  880. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
  881. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +97 -1
  882. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
  883. package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -1
  884. package/dist/esm/i18n/resources/workbenchTraceSessions.en.js.map +1 -1
  885. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts.map +1 -1
  886. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js.map +1 -1
  887. package/dist/esm/i18n/system_enums/application-creation.en.d.ts +19 -0
  888. package/dist/esm/i18n/system_enums/application-creation.en.d.ts.map +1 -1
  889. package/dist/esm/i18n/system_enums/application-creation.en.js +21 -0
  890. package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -1
  891. package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts.map +1 -1
  892. package/dist/esm/i18n/system_enums/compliance-programme.en.js.map +1 -1
  893. package/dist/esm/i18n/system_enums/flows-actors.en.d.ts.map +1 -1
  894. package/dist/esm/i18n/system_enums/flows-actors.en.js.map +1 -1
  895. package/dist/esm/i18n/system_enums/localization.en.d.ts.map +1 -1
  896. package/dist/esm/i18n/system_enums/localization.en.js.map +1 -1
  897. package/dist/esm/i18n/system_enums/market.en.d.ts.map +1 -1
  898. package/dist/esm/i18n/system_enums/market.en.js.map +1 -1
  899. package/dist/esm/i18n/system_enums/processor-register.en.d.ts.map +1 -1
  900. package/dist/esm/i18n/system_enums/processor-register.en.js.map +1 -1
  901. package/dist/esm/i18n/system_enums/risk-register.en.d.ts.map +1 -1
  902. package/dist/esm/i18n/system_enums/risk-register.en.js.map +1 -1
  903. package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -1
  904. package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -1
  905. package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts +1 -0
  906. package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -1
  907. package/dist/esm/i18n/system_enums/workbench-creation-home.en.js +2 -0
  908. package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -1
  909. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts.map +1 -1
  910. package/dist/esm/i18n/system_enums/workbench-dossier.en.js.map +1 -1
  911. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts.map +1 -1
  912. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js.map +1 -1
  913. package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts.map +1 -1
  914. package/dist/esm/i18n/system_enums/workbench-secrets.en.js.map +1 -1
  915. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts.map +1 -1
  916. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js.map +1 -1
  917. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts.map +1 -1
  918. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js.map +1 -1
  919. package/dist/esm/i18n-labelling/models/labelling-progress.models.d.ts.map +1 -1
  920. package/dist/esm/i18n-labelling/models/labelling-progress.models.js.map +1 -1
  921. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts +29 -2
  922. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
  923. package/dist/esm/i18n-labelling/models/labelling-unit.models.js +17 -0
  924. package/dist/esm/i18n-labelling/models/labelling-unit.models.js.map +1 -1
  925. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts.map +1 -1
  926. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -1
  927. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.d.ts.map +1 -1
  928. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.js.map +1 -1
  929. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts.map +1 -1
  930. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js.map +1 -1
  931. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts +5 -0
  932. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
  933. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js +44 -4
  934. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
  935. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts.map +1 -1
  936. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js.map +1 -1
  937. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -1
  938. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js.map +1 -1
  939. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -1
  940. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
  941. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts.map +1 -1
  942. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js.map +1 -1
  943. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -1
  944. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -1
  945. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts.map +1 -1
  946. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js.map +1 -1
  947. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts.map +1 -1
  948. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js.map +1 -1
  949. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts.map +1 -1
  950. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js.map +1 -1
  951. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.d.ts.map +1 -1
  952. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.js.map +1 -1
  953. package/dist/esm/i18n-labelling/utils/label-file-source.utils.d.ts.map +1 -1
  954. package/dist/esm/i18n-labelling/utils/label-file-source.utils.js.map +1 -1
  955. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts.map +1 -1
  956. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js.map +1 -1
  957. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.d.ts.map +1 -1
  958. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.js.map +1 -1
  959. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts.map +1 -1
  960. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js.map +1 -1
  961. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts.map +1 -1
  962. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js.map +1 -1
  963. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.d.ts.map +1 -1
  964. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js.map +1 -1
  965. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts.map +1 -1
  966. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js.map +1 -1
  967. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.d.ts.map +1 -1
  968. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.js.map +1 -1
  969. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts +8 -1
  970. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -1
  971. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js +9 -2
  972. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
  973. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.d.ts.map +1 -1
  974. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.js.map +1 -1
  975. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts +13 -7
  976. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.map +1 -1
  977. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js +13 -7
  978. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js.map +1 -1
  979. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.d.ts.map +1 -1
  980. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js.map +1 -1
  981. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.d.ts.map +1 -1
  982. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.js.map +1 -1
  983. package/dist/esm/index.d.ts.map +1 -1
  984. package/dist/esm/index.js.map +1 -1
  985. package/dist/esm/market/services/market-generation.companion.service.d.ts.map +1 -1
  986. package/dist/esm/market/services/market-generation.companion.service.js.map +1 -1
  987. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts.map +1 -1
  988. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js.map +1 -1
  989. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
  990. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js +3 -3
  991. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
  992. package/dist/esm/meta-workflows/models/application-line-catalog.models.d.ts.map +1 -1
  993. package/dist/esm/meta-workflows/models/application-line-catalog.models.js.map +1 -1
  994. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -1
  995. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -1
  996. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts.map +1 -1
  997. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -1
  998. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts +18 -0
  999. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts.map +1 -1
  1000. package/dist/esm/meta-workflows/models/build-task-rearm.models.js +37 -0
  1001. package/dist/esm/meta-workflows/models/build-task-rearm.models.js.map +1 -1
  1002. package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts.map +1 -1
  1003. package/dist/esm/meta-workflows/models/carried-verification-failure.models.js.map +1 -1
  1004. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts.map +1 -1
  1005. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js.map +1 -1
  1006. package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts.map +1 -1
  1007. package/dist/esm/meta-workflows/models/creation-intervention.models.js.map +1 -1
  1008. package/dist/esm/meta-workflows/models/generation-step-progress.models.d.ts.map +1 -1
  1009. package/dist/esm/meta-workflows/models/generation-step-progress.models.js.map +1 -1
  1010. package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts.map +1 -1
  1011. package/dist/esm/meta-workflows/models/human-decision-settler.models.js.map +1 -1
  1012. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -1
  1013. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js.map +1 -1
  1014. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts.map +1 -1
  1015. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js.map +1 -1
  1016. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts.map +1 -1
  1017. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js.map +1 -1
  1018. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts.map +1 -1
  1019. package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -1
  1020. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts.map +1 -1
  1021. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js.map +1 -1
  1022. package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.d.ts +36 -0
  1023. package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.d.ts.map +1 -0
  1024. package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.js +97 -0
  1025. package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.js.map +1 -0
  1026. package/dist/esm/meta-workflows/models/website-copy-review.models.d.ts +124 -0
  1027. package/dist/esm/meta-workflows/models/website-copy-review.models.d.ts.map +1 -0
  1028. package/dist/esm/meta-workflows/models/website-copy-review.models.js +74 -0
  1029. package/dist/esm/meta-workflows/models/website-copy-review.models.js.map +1 -0
  1030. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts.map +1 -1
  1031. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js.map +1 -1
  1032. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.d.ts.map +1 -1
  1033. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.js.map +1 -1
  1034. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +297 -8
  1035. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
  1036. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +1089 -42
  1037. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
  1038. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.d.ts.map +1 -1
  1039. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.js.map +1 -1
  1040. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +143 -11
  1041. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
  1042. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +277 -42
  1043. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
  1044. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts +38 -0
  1045. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
  1046. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js +123 -4
  1047. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
  1048. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts +130 -2
  1049. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts.map +1 -1
  1050. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js +251 -4
  1051. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js.map +1 -1
  1052. package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.d.ts +122 -0
  1053. package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.d.ts.map +1 -0
  1054. package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.js +295 -0
  1055. package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.js.map +1 -0
  1056. package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.d.ts +22 -0
  1057. package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.d.ts.map +1 -0
  1058. package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.js +45 -0
  1059. package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.js.map +1 -0
  1060. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts.map +1 -1
  1061. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js.map +1 -1
  1062. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts.map +1 -1
  1063. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js.map +1 -1
  1064. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts +53 -0
  1065. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts.map +1 -0
  1066. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js +97 -0
  1067. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js.map +1 -0
  1068. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map +1 -1
  1069. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map +1 -1
  1070. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts.map +1 -1
  1071. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js.map +1 -1
  1072. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts +17 -1
  1073. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts.map +1 -1
  1074. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js +25 -3
  1075. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js.map +1 -1
  1076. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts.map +1 -1
  1077. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js.map +1 -1
  1078. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.d.ts.map +1 -1
  1079. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.js.map +1 -1
  1080. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts +5 -0
  1081. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -1
  1082. package/dist/esm/meta-workflows/services/dossier.companion.service.js +5 -1
  1083. package/dist/esm/meta-workflows/services/dossier.companion.service.js.map +1 -1
  1084. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts.map +1 -1
  1085. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js.map +1 -1
  1086. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts.map +1 -1
  1087. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js.map +1 -1
  1088. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts.map +1 -1
  1089. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js.map +1 -1
  1090. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts +50 -1
  1091. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
  1092. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js +132 -54
  1093. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
  1094. package/dist/esm/meta-workflows/services/governed-document-texts.companion.d.ts.map +1 -1
  1095. package/dist/esm/meta-workflows/services/governed-document-texts.companion.js.map +1 -1
  1096. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts.map +1 -1
  1097. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js.map +1 -1
  1098. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.d.ts.map +1 -1
  1099. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.js.map +1 -1
  1100. package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts.map +1 -1
  1101. package/dist/esm/meta-workflows/services/landed-module-import.companion.js.map +1 -1
  1102. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.d.ts.map +1 -1
  1103. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.js.map +1 -1
  1104. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts.map +1 -1
  1105. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js +50 -17
  1106. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js.map +1 -1
  1107. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts +42 -0
  1108. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -1
  1109. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js +62 -0
  1110. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js.map +1 -1
  1111. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +61 -1
  1112. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
  1113. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +398 -81
  1114. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
  1115. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts.map +1 -1
  1116. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js.map +1 -1
  1117. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts.map +1 -1
  1118. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js.map +1 -1
  1119. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts.map +1 -1
  1120. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js.map +1 -1
  1121. package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts.map +1 -1
  1122. package/dist/esm/technical-doc/services/technical-doc.companion.service.js.map +1 -1
  1123. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts.map +1 -1
  1124. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js.map +1 -1
  1125. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.d.ts.map +1 -1
  1126. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.js.map +1 -1
  1127. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.d.ts.map +1 -1
  1128. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.js.map +1 -1
  1129. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -1
  1130. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -1
  1131. package/package.json +17 -17
@@ -1 +1 @@
1
- {"version":3,"file":"companion-startup-assembly.d.ts","sourceRoot":"","sources":["../../../../../src/core/runtime/companion-startup-assembly.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EAI1B,MAAM,4BAA4B,CAAC;AA2BpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gDAAgD,CAAC;AAI7F;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,SAAS,EAAE,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC;IACjE,QAAQ,CAAC,aAAa,EAAE,sBAAsB,CAAC;CAChD;AA6DD;;;;;;;;;;;GAWG;AACH,wBAAsB,wBAAwB,CAC5C,gBAAgB,EAAE,gBAAgB,EAClC,aAAa,EAAE,sBAAsB,GACpC,OAAO,CAAC,yBAAyB,CAAC,CAwIpC"}
1
+ {"version":3,"file":"companion-startup-assembly.d.ts","sourceRoot":"","sources":["../../../../src/core/runtime/companion-startup-assembly.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EAI1B,MAAM,4BAA4B,CAAC;AA4BpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gDAAgD,CAAC;AAI7F;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,SAAS,EAAE,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC;IACjE,QAAQ,CAAC,aAAa,EAAE,sBAAsB,CAAC;CAChD;AA6DD;;;;;;;;;;;GAWG;AACH,wBAAsB,wBAAwB,CAC5C,gBAAgB,EAAE,gBAAgB,EAClC,aAAa,EAAE,sBAAsB,GACpC,OAAO,CAAC,yBAAyB,CAAC,CA6IpC"}
@@ -11,6 +11,7 @@ import { applicationCodingAgents, buildApplicationCodingActorSystemDefinitions }
11
11
  import { buildApplicationBuildActorSystemDefinitions } from '../../meta-workflows/models/application-build.actors-system.definitions.js';
12
12
  import { applicationResearchAgents } from '../../meta-workflows/models/application-research-agent.actors-system.definitions.js';
13
13
  import { briefAdequacyAgents } from '../../meta-workflows/models/brief-adequacy.actors-system.definitions.js';
14
+ import { websiteCopyReviewAgents } from '../../meta-workflows/models/website-copy-review.actors-system.definitions.js';
14
15
  import { parkedQuestionAnswererAgents } from '../../claude-cli/models/parked-question-answerer.actors-system.definitions.js';
15
16
  import { buildLogoGenerationAgent } from '../../brand/models/logo-generation.actors-system.definitions.js';
16
17
  import { buildLogoJudgeAgent } from '../../brand/models/logo-judge.actors-system.definitions.js';
@@ -93,7 +94,9 @@ export async function assembleCompanionStartup(companionContext, runtimeConfig)
93
94
  const effectiveMarketGenerationAgent = resolveMarketGenerationAgent(marketGenerationAgentOverride);
94
95
  // Charter-built expert agents (RF-6): one deliberation agent per
95
96
  // COMMITTED ExpertPersonaCharter. Fail-open here (an app without
96
- // charters boots normally); the deliberation composer fail-closes.
97
+ // charters boots normally). Not the authority on which experts exist:
98
+ // binding a seat registers or refreshes its agent from the live charter
99
+ // (#2349), so this only does that work early.
97
100
  const committedExpertAgents = await loadCommittedExpertAgents(companionContext.saasRoot);
98
101
  const labellingDefinitions = buildLabellingActorSystemDefinitions();
99
102
  const metaWorkflowsDefinitions = buildMetaWorkflowsActorSystemDefinitions();
@@ -162,6 +165,9 @@ export async function assembleCompanionStartup(companionContext, runtimeConfig)
162
165
  // playbook run and proposes add-only context repairs. Registered beside its siblings so
163
166
  // "registered exactly once" stays one list to read.
164
167
  ...briefAdequacyAgents,
168
+ // The website-copy judge (#2593): reads what a completed website run wrote against the standings of what it
169
+ // cites, and its verdict is recorded on the run. Advisory, so it fails open like the brief-adequacy gate.
170
+ ...websiteCopyReviewAgents,
165
171
  // The answering agent (#1559): a parked coding question is offered to it before the creator.
166
172
  ...parkedQuestionAnswererAgents,
167
173
  // Companion-owned IMAGE agent (brand/logo generation step). Registered
@@ -1 +1 @@
1
- {"version":3,"file":"companion-startup-assembly.js","sourceRoot":"","sources":["../../../../../src/core/runtime/companion-startup-assembly.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,2BAA2B,EAC3B,mBAAmB,GACpB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,wCAAwC,EAAE,MAAM,+BAA+B,CAAC;AAGzF,OAAO,EAAE,WAAW,EAAE,MAAM,6DAA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BAAyB;gBAC5B,0FAA0F;gBAC1F,wFAAwF;gBACxF,oDAAoD;gBACpD,GAAG,mBAAmB;gBACtB,6FAA6F;gBAC7F,GAAG,4BAA4B;gBAC/B,uEAAuE;gBACvE,0EAA0E;gBAC1E,wBAAwB,EAAE;gBAC1B,wEAAwE;gBACxE,uEAAuE;gBACvE,mBAAmB,EAAE;gBACrB,2DAA2D;gBAC3D,qEAAqE;gBACrE,uDAAuD;gBACvD,iCAAiC,EAAE;gBACnC,kEAAkE;gBAClE,iEAAiE;gBACjE,8DAA8D;gBAC9D,+BAA+B,EAAE;gBACjC,gEAAgE;gBAChE,kCAAkC,EAAE;gBACpC,8DAA8D;gBAC9D,GAAG,qBAAqB,CAAC,MAAM;aAChC;SACF;KACF,CAAC;IAEF,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC;AACtC,CAAC","sourcesContent":["import {\n setupSaasBackendInjection,\n marketGenerationAgent,\n MARKET_GENERATION_AGENT_REF,\n describeCaughtError,\n} from '@wildo-ai/saas-backend-lib';\nimport type { FlowsActors_Agent } from '@wildo-ai/saas-models';\nimport { readFile } from 'node:fs/promises';\nimport { join } from 'node:path';\n\nimport { PROVIDER_RUNTIME_ARTIFACT_RELATIVE_PATHS } from '@wildo-ai/platform-config-lib';\nimport type { SaasRuntimeProvidersArtifact } from '@wildo-ai/platform-config-lib';\n\nimport { emailAgents } from '../../email/models/email-template.actors-system.definitions';\nimport {\n CompanionController,\n setupCompanionInjection,\n} from '../inject/models/container';\nimport { COMPANION_SERVICE_TYPES } from '../inject/models/service-types';\nimport { buildLabellingActorSystemDefinitions } from '../../i18n-labelling/models/labelling.actors-system.definitions';\nimport { buildMetaWorkflowsActorSystemDefinitions } from '../../meta-workflows/models/meta-workflows.actors-system.definitions';\nimport { applicationCodingAgents, buildApplicationCodingActorSystemDefinitions } from '../../meta-workflows/models/application-coding-agent.actors-system.definitions';\nimport { buildApplicationBuildActorSystemDefinitions } from '../../meta-workflows/models/application-build.actors-system.definitions';\nimport { applicationResearchAgents } from '../../meta-workflows/models/application-research-agent.actors-system.definitions';\nimport { briefAdequacyAgents } from '../../meta-workflows/models/brief-adequacy.actors-system.definitions';\nimport { parkedQuestionAnswererAgents } from '../../claude-cli/models/parked-question-answerer.actors-system.definitions';\nimport { buildLogoGenerationAgent } from '../../brand/models/logo-generation.actors-system.definitions';\nimport { buildLogoJudgeAgent } from '../../brand/models/logo-judge.actors-system.definitions';\nimport { buildExpertPersonaDerivationAgent } from '../../expert-personas/models/expert-persona-derivation.actors-system.definitions';\nimport { buildExpertPersonaCritiqueAgent } from '../../expert-personas/models/expert-persona-critique.actors-system.definitions';\nimport { buildDeliberationTextProducerAgent } from '../../deliberations/models/deliberation-agents.actors-system.definitions';\nimport { loadCommittedExpertAgents } from '../../deliberations/utils/load-committed-expert-agents';\nimport type { CompanionContext } from '../context/companion-context';\nimport { loadBackendCompanionExports } from '../context/companion-package-loaders.companion';\nimport type { CompanionRuntimeConfig } from './models/companion-runtime.models';\nimport type { CompanionStartupConfig } from './services/start-companion-application.service';\nimport { buildCreationConversationFunctionTools } from '../../creation-conversation/creation-conversation.function-tools';\nimport { creationConversationAgent, creationConversationFactoryMap } from '../../creation-conversation/creation-conversation.actors-system.definitions';\n\n/**\n * The complete ordinary companion composition: the DI container and the exact\n * startup config object `StartCompanionApplicationService.initialize` accepts.\n */\nexport interface AssembledCompanionStartup {\n readonly container: ReturnType<typeof setupSaasBackendInjection>;\n readonly startupConfig: CompanionStartupConfig;\n}\n\n/**\n * Loads the companion's provider-runtime topology from the APPLICATION's generated JSON artifact\n * (`.wildo-saas/generated/providers/companion.runtime-providers.generated.json`).\n *\n * This used to be a compiled-in `src/generated/wildo-provider-runtime.generated.ts` module, like\n * the backend/minion/worker hosts still use. That shape cannot survive the dist-only companion\n * distribution (issue #64): the generated module is APP-SPECIFIC data, the canonical companion\n * package at `platform/factory` is app-agnostic, and the delivered drop carries no source and no\n * compiler. The artifact content is pure environment-independent topology data, and `wildo config\n * sync` already materializes it as JSON at a path this process can reach through its application\n * root — so the JSON is the one authority and no per-companion module exists any more.\n */\nasync function loadProviderRuntime(saasRoot: string): Promise<SaasRuntimeProvidersArtifact> {\n const artifactPath = join(saasRoot, PROVIDER_RUNTIME_ARTIFACT_RELATIVE_PATHS.companion);\n try {\n const providerRuntime = JSON.parse(await readFile(artifactPath, 'utf8')) as SaasRuntimeProvidersArtifact;\n if (!providerRuntime?.scope || providerRuntime.artifactKind !== 'companion') {\n throw new Error('Companion provider runtime artifact does not carry a companion scope.');\n }\n return providerRuntime;\n } catch (error) {\n throw new Error(\n `Missing or invalid companion provider runtime artifact at ${artifactPath}. `\n + 'Run `wildo config sync` before starting this companion. '\n + describeCaughtError(error),\n );\n }\n}\n\n/**\n * Resolve the market generation agent the companion registers under\n * `MARKET_GENERATION_AGENT_REF`.\n *\n * Returns the application-authored override\n * (`BackendCompanionExports.marketGenerationAgentOverride`) when present,\n * otherwise the framework default (`marketGenerationAgent` from\n * `@wildo-ai/saas-backend-lib`). The override must reuse the canonical ref:\n * the market service invokes the agent by that fixed ref, so an override\n * under a different ref would be dead-registered and never reached. We fail\n * fast at startup with a precise message rather than silently rewrite the\n * ref (a silent rewrite would mask the authoring mistake).\n */\nfunction resolveMarketGenerationAgent(\n override: FlowsActors_Agent | undefined,\n): FlowsActors_Agent {\n if (!override) {\n return marketGenerationAgent;\n }\n if (override.ref !== MARKET_GENERATION_AGENT_REF) {\n throw new Error(\n `Application market generation agent override must use ref \"${MARKET_GENERATION_AGENT_REF}\" `\n + `(received \"${override.ref}\"). The companion invokes the market generation agent by this fixed `\n + `ref, so an override under a different ref would never be reached. Set the override's \\`ref\\` to `\n + `the canonical value (import MARKET_GENERATION_AGENT_REF from '@wildo-ai/saas-backend-lib').`,\n );\n }\n return override;\n}\n\n/**\n * Assemble the ONE ordinary companion startup composition without starting it.\n *\n * This is the single authority for what the companion mounts and registers:\n * `src/index.ts` starts exactly this composition, and the explicit\n * first-activation maintenance operation (Step 4) boots the same assembly so\n * the startup-composition observer captures the true ordinary controller/agent\n * graph rather than a hand-maintained copy that could drift from it. Assembly\n * performs loader I/O (backend companion exports, generated provider runtime,\n * committed expert charters) and DI wiring only — no HTTP, no Mongo, no\n * continuity recovery, no durable effect.\n */\nexport async function assembleCompanionStartup(\n companionContext: CompanionContext,\n runtimeConfig: CompanionRuntimeConfig,\n): Promise<AssembledCompanionStartup> {\n const { backendConfig, marketGenerationAgentOverride } = await loadBackendCompanionExports(companionContext);\n const providerRuntime = await loadProviderRuntime(companionContext.saasRoot);\n\n // The market generation agent ships a framework default; the application\n // may override provider/model/persona via its backend companion-exports.\n const effectiveMarketGenerationAgent = resolveMarketGenerationAgent(marketGenerationAgentOverride);\n\n // Charter-built expert agents (RF-6): one deliberation agent per\n // COMMITTED ExpertPersonaCharter. Fail-open here (an app without\n // charters boots normally); the deliberation composer fail-closes.\n const committedExpertAgents = await loadCommittedExpertAgents(companionContext.saasRoot);\n\n const labellingDefinitions = buildLabellingActorSystemDefinitions();\n const metaWorkflowsDefinitions = buildMetaWorkflowsActorSystemDefinitions();\n\n const container = setupCompanionInjection(\n setupSaasBackendInjection() as never,\n companionContext,\n runtimeConfig,\n ) as ReturnType<typeof setupSaasBackendInjection>;\n\n const companionController = container.get(\n COMPANION_SERVICE_TYPES.CompanionController as never,\n ) as CompanionController;\n\n /*\n * The creation assistant's tools hold the container LAZILY: a tool resolves its service on the\n * turn that calls it, never at assembly, so the tool list can be declared here beside the systems\n * and agents without ordering the container's own resolution around it (#1454, Step 4).\n */\n const creationConversationTools = buildCreationConversationFunctionTools({\n get: <T>(identifier: symbol): T => container.get(identifier as never) as T,\n });\n\n\n \n // Public-v2 assessment surface: catalog status/next reads plus token-gated\n // episode-addressed status/next and the non-terminal working-admission\n // `run`. READY posture only — see `customControllers` below.\n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n\n const startupConfig: CompanionStartupConfig = {\n /*\n * Mounted in BOTH postures. In the healthy one it is an ordinary operator route; in the degraded one it is\n * the only way out, since a registry the companion cannot accept is exactly what closed everything else.\n */\n /*\n * The journey, public-v2 episode, workbench and assurance HTTP surfaces were deleted with the\n * accepted-state ledger they served. `companionController` is the surviving general surface; the\n * playbook-execution routes return here as the rebuild reaches them\n * (`.claude/plans/rebuild-playbook-execution.md`, P3).\n */\n customControllers: [companionController],\n backendConfig,\n providerRuntime,\n flowsActorsRegistry: {\n flowActorSystemsFactoryMap: {\n ...labellingDefinitions.factoryMap,\n ...metaWorkflowsDefinitions.factoryMap,\n // The system a coding run is an execution of (#1359) — registered beside the lane it serves.\n ...buildApplicationCodingActorSystemDefinitions().factoryMap,\n // The system that owns the build plan and runs its companion generation steps (#1359).\n ...buildApplicationBuildActorSystemDefinitions().factoryMap,\n // The CREATION CONVERSATION — the one FRONTEND-visible system, behind the workbench's chat (#1454).\n ...creationConversationFactoryMap,\n },\n /*\n * The creation assistant's tools — the first `functionTools` the companion registers. Until\n * 2026-09-22 this collection was never passed to the registry, so every agent-declared\n * function ref resolved to nothing (skipped with a debug line); the coding and research agents\n * never noticed because they reach their work through ACP, not through function tools.\n */\n functionTools: [...creationConversationTools],\n agents: [\n // The creation assistant (#1454, Step 4) — registered once, here, like every other companion agent.\n creationConversationAgent,\n ...emailAgents,\n ...labellingDefinitions.agents,\n effectiveMarketGenerationAgent,\n ...metaWorkflowsDefinitions.agents,\n // The application coding agent (Claude Code through the ordinary\n // Flows/Actors AGENT_CLIENT_PROTOCOL path, `claude-code-acp` profile\n // authored in wildo.saas.config.ts). Registered exactly once, here,\n // in the one startup Agent collection — F2's typed task wrapper\n // resolves it by ref; there is no second dispatcher or registry.\n ...applicationCodingAgents,\n // The read-only sibling: same ACP transport, opposite posture. Registered beside the coding\n // Agent so \"registered exactly once\" stays one list to read.\n ...applicationResearchAgents,\n // The brief-adequacy gate (#254's rescoped shape): judges one composed brief per opted-in\n // playbook run and proposes add-only context repairs. Registered beside its siblings so\n // \"registered exactly once\" stays one list to read.\n ...briefAdequacyAgents,\n // The answering agent (#1559): a parked coding question is offered to it before the creator.\n ...parkedQuestionAnswererAgents,\n // Companion-owned IMAGE agent (brand/logo generation step). Registered\n // here, like labelling/meta-workflows — not shipped as an engine default.\n buildLogoGenerationAgent(),\n // Companion-owned JUDGE agent (brand/logo ACCEPT review point) — scores\n // a staged candidate against the authored brief (GENERATE_STRUCTURED).\n buildLogoJudgeAgent(),\n // Companion-owned expert-persona DERIVATION agent (agentic\n // deliberation system) — compiles app-specific persona charters from\n // framework role templates + the app's spec artifacts.\n buildExpertPersonaDerivationAgent(),\n // Companion-owned expert-persona CRITIQUE agent — the self-review\n // pass of the multi-pass derivation protocol (draft → critique →\n // finalize); a dedicated critic, separate from the generator.\n buildExpertPersonaCritiqueAgent(),\n // Deliberation TEXT producer (revision step for TEXT subjects).\n buildDeliberationTextProducerAgent(),\n // One deliberation agent per COMMITTED expert charter (RF-6).\n ...committedExpertAgents.agents,\n ],\n },\n };\n\n return { container, startupConfig };\n}\n"]}
1
+ {"version":3,"file":"companion-startup-assembly.js","sourceRoot":"","sources":["../../../../src/core/runtime/companion-startup-assembly.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,2BAA2B,EAC3B,mBAAmB,GACpB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,wCAAwC,EAAE,MAAM,+BAA+B,CAAC;AAGzF,OAAO,EAAE,WAAW,EAAE,MAAM,6DAA6D,CAAC;AAC1F,OAAO,EAEL,uBAAuB,GACxB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,oCAAoC,EAAE,MAAM,iEAAiE,CAAC;AACvH,OAAO,EAAE,wCAAwC,EAAE,MAAM,sEAAsE,CAAC;AAChI,OAAO,EAAE,u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GAAG,4BAA4B;gBAC/B,uEAAuE;gBACvE,0EAA0E;gBAC1E,wBAAwB,EAAE;gBAC1B,wEAAwE;gBACxE,uEAAuE;gBACvE,mBAAmB,EAAE;gBACrB,2DAA2D;gBAC3D,qEAAqE;gBACrE,uDAAuD;gBACvD,iCAAiC,EAAE;gBACnC,kEAAkE;gBAClE,iEAAiE;gBACjE,8DAA8D;gBAC9D,+BAA+B,EAAE;gBACjC,gEAAgE;gBAChE,kCAAkC,EAAE;gBACpC,8DAA8D;gBAC9D,GAAG,qBAAqB,CAAC,MAAM;aAChC;SACF;KACF,CAAC;IAEF,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC;AACtC,CAAC","sourcesContent":["import {\n setupSaasBackendInjection,\n marketGenerationAgent,\n MARKET_GENERATION_AGENT_REF,\n describeCaughtError,\n} from '@wildo-ai/saas-backend-lib';\nimport type { FlowsActors_Agent } from '@wildo-ai/saas-models';\nimport { readFile } from 'node:fs/promises';\nimport { join } from 'node:path';\n\nimport { PROVIDER_RUNTIME_ARTIFACT_RELATIVE_PATHS } from '@wildo-ai/platform-config-lib';\nimport type { SaasRuntimeProvidersArtifact } from '@wildo-ai/platform-config-lib';\n\nimport { emailAgents } from '../../email/models/email-template.actors-system.definitions';\nimport {\n CompanionController,\n setupCompanionInjection,\n} from '../inject/models/container';\nimport { COMPANION_SERVICE_TYPES } from '../inject/models/service-types';\nimport { buildLabellingActorSystemDefinitions } from '../../i18n-labelling/models/labelling.actors-system.definitions';\nimport { buildMetaWorkflowsActorSystemDefinitions } from '../../meta-workflows/models/meta-workflows.actors-system.definitions';\nimport { applicationCodingAgents, buildApplicationCodingActorSystemDefinitions } from '../../meta-workflows/models/application-coding-agent.actors-system.definitions';\nimport { buildApplicationBuildActorSystemDefinitions } from '../../meta-workflows/models/application-build.actors-system.definitions';\nimport { applicationResearchAgents } from '../../meta-workflows/models/application-research-agent.actors-system.definitions';\nimport { briefAdequacyAgents } from '../../meta-workflows/models/brief-adequacy.actors-system.definitions';\nimport { websiteCopyReviewAgents } from '../../meta-workflows/models/website-copy-review.actors-system.definitions';\nimport { parkedQuestionAnswererAgents } from '../../claude-cli/models/parked-question-answerer.actors-system.definitions';\nimport { buildLogoGenerationAgent } from '../../brand/models/logo-generation.actors-system.definitions';\nimport { buildLogoJudgeAgent } from '../../brand/models/logo-judge.actors-system.definitions';\nimport { buildExpertPersonaDerivationAgent } from '../../expert-personas/models/expert-persona-derivation.actors-system.definitions';\nimport { buildExpertPersonaCritiqueAgent } from '../../expert-personas/models/expert-persona-critique.actors-system.definitions';\nimport { buildDeliberationTextProducerAgent } from '../../deliberations/models/deliberation-agents.actors-system.definitions';\nimport { loadCommittedExpertAgents } from '../../deliberations/utils/load-committed-expert-agents';\nimport type { CompanionContext } from '../context/companion-context';\nimport { loadBackendCompanionExports } from '../context/companion-package-loaders.companion';\nimport type { CompanionRuntimeConfig } from './models/companion-runtime.models';\nimport type { CompanionStartupConfig } from './services/start-companion-application.service';\nimport { buildCreationConversationFunctionTools } from '../../creation-conversation/creation-conversation.function-tools';\nimport { creationConversationAgent, creationConversationFactoryMap } from '../../creation-conversation/creation-conversation.actors-system.definitions';\n\n/**\n * The complete ordinary companion composition: the DI container and the exact\n * startup config object `StartCompanionApplicationService.initialize` accepts.\n */\nexport interface AssembledCompanionStartup {\n readonly container: ReturnType<typeof setupSaasBackendInjection>;\n readonly startupConfig: CompanionStartupConfig;\n}\n\n/**\n * Loads the companion's provider-runtime topology from the APPLICATION's generated JSON artifact\n * (`.wildo-saas/generated/providers/companion.runtime-providers.generated.json`).\n *\n * This used to be a compiled-in `src/generated/wildo-provider-runtime.generated.ts` module, like\n * the backend/minion/worker hosts still use. That shape cannot survive the dist-only companion\n * distribution (issue #64): the generated module is APP-SPECIFIC data, the canonical companion\n * package at `platform/factory` is app-agnostic, and the delivered drop carries no source and no\n * compiler. The artifact content is pure environment-independent topology data, and `wildo config\n * sync` already materializes it as JSON at a path this process can reach through its application\n * root — so the JSON is the one authority and no per-companion module exists any more.\n */\nasync function loadProviderRuntime(saasRoot: string): Promise<SaasRuntimeProvidersArtifact> {\n const artifactPath = join(saasRoot, PROVIDER_RUNTIME_ARTIFACT_RELATIVE_PATHS.companion);\n try {\n const providerRuntime = JSON.parse(await readFile(artifactPath, 'utf8')) as SaasRuntimeProvidersArtifact;\n if (!providerRuntime?.scope || providerRuntime.artifactKind !== 'companion') {\n throw new Error('Companion provider runtime artifact does not carry a companion scope.');\n }\n return providerRuntime;\n } catch (error) {\n throw new Error(\n `Missing or invalid companion provider runtime artifact at ${artifactPath}. `\n + 'Run `wildo config sync` before starting this companion. '\n + describeCaughtError(error),\n );\n }\n}\n\n/**\n * Resolve the market generation agent the companion registers under\n * `MARKET_GENERATION_AGENT_REF`.\n *\n * Returns the application-authored override\n * (`BackendCompanionExports.marketGenerationAgentOverride`) when present,\n * otherwise the framework default (`marketGenerationAgent` from\n * `@wildo-ai/saas-backend-lib`). The override must reuse the canonical ref:\n * the market service invokes the agent by that fixed ref, so an override\n * under a different ref would be dead-registered and never reached. We fail\n * fast at startup with a precise message rather than silently rewrite the\n * ref (a silent rewrite would mask the authoring mistake).\n */\nfunction resolveMarketGenerationAgent(\n override: FlowsActors_Agent | undefined,\n): FlowsActors_Agent {\n if (!override) {\n return marketGenerationAgent;\n }\n if (override.ref !== MARKET_GENERATION_AGENT_REF) {\n throw new Error(\n `Application market generation agent override must use ref \"${MARKET_GENERATION_AGENT_REF}\" `\n + `(received \"${override.ref}\"). The companion invokes the market generation agent by this fixed `\n + `ref, so an override under a different ref would never be reached. Set the override's \\`ref\\` to `\n + `the canonical value (import MARKET_GENERATION_AGENT_REF from '@wildo-ai/saas-backend-lib').`,\n );\n }\n return override;\n}\n\n/**\n * Assemble the ONE ordinary companion startup composition without starting it.\n *\n * This is the single authority for what the companion mounts and registers:\n * `src/index.ts` starts exactly this composition, and the explicit\n * first-activation maintenance operation (Step 4) boots the same assembly so\n * the startup-composition observer captures the true ordinary controller/agent\n * graph rather than a hand-maintained copy that could drift from it. Assembly\n * performs loader I/O (backend companion exports, generated provider runtime,\n * committed expert charters) and DI wiring only — no HTTP, no Mongo, no\n * continuity recovery, no durable effect.\n */\nexport async function assembleCompanionStartup(\n companionContext: CompanionContext,\n runtimeConfig: CompanionRuntimeConfig,\n): Promise<AssembledCompanionStartup> {\n const { backendConfig, marketGenerationAgentOverride } = await loadBackendCompanionExports(companionContext);\n const providerRuntime = await loadProviderRuntime(companionContext.saasRoot);\n\n // The market generation agent ships a framework default; the application\n // may override provider/model/persona via its backend companion-exports.\n const effectiveMarketGenerationAgent = resolveMarketGenerationAgent(marketGenerationAgentOverride);\n\n // Charter-built expert agents (RF-6): one deliberation agent per\n // COMMITTED ExpertPersonaCharter. Fail-open here (an app without\n // charters boots normally). Not the authority on which experts exist:\n // binding a seat registers or refreshes its agent from the live charter\n // (#2349), so this only does that work early.\n const committedExpertAgents = await loadCommittedExpertAgents(companionContext.saasRoot);\n\n const labellingDefinitions = buildLabellingActorSystemDefinitions();\n const metaWorkflowsDefinitions = buildMetaWorkflowsActorSystemDefinitions();\n\n const container = setupCompanionInjection(\n setupSaasBackendInjection() as never,\n companionContext,\n runtimeConfig,\n ) as ReturnType<typeof setupSaasBackendInjection>;\n\n const companionController = container.get(\n COMPANION_SERVICE_TYPES.CompanionController as never,\n ) as CompanionController;\n\n /*\n * The creation assistant's tools hold the container LAZILY: a tool resolves its service on the\n * turn that calls it, never at assembly, so the tool list can be declared here beside the systems\n * and agents without ordering the container's own resolution around it (#1454, Step 4).\n */\n const creationConversationTools = buildCreationConversationFunctionTools({\n get: <T>(identifier: symbol): T => container.get(identifier as never) as T,\n });\n\n\n \n // Public-v2 assessment surface: catalog status/next reads plus token-gated\n // episode-addressed status/next and the non-terminal working-admission\n // `run`. READY posture only — see `customControllers` below.\n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n\n const startupConfig: CompanionStartupConfig = {\n /*\n * Mounted in BOTH postures. In the healthy one it is an ordinary operator route; in the degraded one it is\n * the only way out, since a registry the companion cannot accept is exactly what closed everything else.\n */\n /*\n * The journey, public-v2 episode, workbench and assurance HTTP surfaces were deleted with the\n * accepted-state ledger they served. `companionController` is the surviving general surface; the\n * playbook-execution routes return here as the rebuild reaches them\n * (`.claude/plans/rebuild-playbook-execution.md`, P3).\n */\n customControllers: [companionController],\n backendConfig,\n providerRuntime,\n flowsActorsRegistry: {\n flowActorSystemsFactoryMap: {\n ...labellingDefinitions.factoryMap,\n ...metaWorkflowsDefinitions.factoryMap,\n // The system a coding run is an execution of (#1359) — registered beside the lane it serves.\n ...buildApplicationCodingActorSystemDefinitions().factoryMap,\n // The system that owns the build plan and runs its companion generation steps (#1359).\n ...buildApplicationBuildActorSystemDefinitions().factoryMap,\n // The CREATION CONVERSATION — the one FRONTEND-visible system, behind the workbench's chat (#1454).\n ...creationConversationFactoryMap,\n },\n /*\n * The creation assistant's tools — the first `functionTools` the companion registers. Until\n * 2026-09-22 this collection was never passed to the registry, so every agent-declared\n * function ref resolved to nothing (skipped with a debug line); the coding and research agents\n * never noticed because they reach their work through ACP, not through function tools.\n */\n functionTools: [...creationConversationTools],\n agents: [\n // The creation assistant (#1454, Step 4) — registered once, here, like every other companion agent.\n creationConversationAgent,\n ...emailAgents,\n ...labellingDefinitions.agents,\n effectiveMarketGenerationAgent,\n ...metaWorkflowsDefinitions.agents,\n // The application coding agent (Claude Code through the ordinary\n // Flows/Actors AGENT_CLIENT_PROTOCOL path, `claude-code-acp` profile\n // authored in wildo.saas.config.ts). Registered exactly once, here,\n // in the one startup Agent collection — F2's typed task wrapper\n // resolves it by ref; there is no second dispatcher or registry.\n ...applicationCodingAgents,\n // The read-only sibling: same ACP transport, opposite posture. Registered beside the coding\n // Agent so \"registered exactly once\" stays one list to read.\n ...applicationResearchAgents,\n // The brief-adequacy gate (#254's rescoped shape): judges one composed brief per opted-in\n // playbook run and proposes add-only context repairs. Registered beside its siblings so\n // \"registered exactly once\" stays one list to read.\n ...briefAdequacyAgents,\n // The website-copy judge (#2593): reads what a completed website run wrote against the standings of what it\n // cites, and its verdict is recorded on the run. Advisory, so it fails open like the brief-adequacy gate.\n ...websiteCopyReviewAgents,\n // The answering agent (#1559): a parked coding question is offered to it before the creator.\n ...parkedQuestionAnswererAgents,\n // Companion-owned IMAGE agent (brand/logo generation step). Registered\n // here, like labelling/meta-workflows — not shipped as an engine default.\n buildLogoGenerationAgent(),\n // Companion-owned JUDGE agent (brand/logo ACCEPT review point) — scores\n // a staged candidate against the authored brief (GENERATE_STRUCTURED).\n buildLogoJudgeAgent(),\n // Companion-owned expert-persona DERIVATION agent (agentic\n // deliberation system) — compiles app-specific persona charters from\n // framework role templates + the app's spec artifacts.\n buildExpertPersonaDerivationAgent(),\n // Companion-owned expert-persona CRITIQUE agent — the self-review\n // pass of the multi-pass derivation protocol (draft → critique →\n // finalize); a dedicated critic, separate from the generator.\n buildExpertPersonaCritiqueAgent(),\n // Deliberation TEXT producer (revision step for TEXT subjects).\n buildDeliberationTextProducerAgent(),\n // One deliberation agent per COMMITTED expert charter (RF-6).\n ...committedExpertAgents.agents,\n ],\n },\n };\n\n return { container, startupConfig };\n}\n"]}
@@ -83,6 +83,18 @@ export declare function isInfrastructureShapedAgentFailure(message: string): boo
83
83
  * pinned together with the words because `-32000` alone is the generic server-error code.
84
84
  */
85
85
  export declare function isProviderAccountAgentFailure(message: string): boolean;
86
+ /**
87
+ * The half of {@link isProviderAccountAgentFailure} that a CLOCK fixes: the account's usage limit, as
88
+ * distinct from an expired login, which needs a person (#2388). Split out because the two halves now
89
+ * get different treatment — a usage limit pauses the build wave until its reset and spends no attempt,
90
+ * while a login failure still waits for `claude login`. One predicate, so the classifier and the pause
91
+ * cannot disagree about which message is a limit.
92
+ *
93
+ * Measured signature: `ACP agent error -32603: Internal error: You've hit your session limit · resets
94
+ * 8:10am (Europe/Paris)` (app-creation-test-005, 2026-10-03). The adapter answers `-32603` with no
95
+ * structured quota code, so the words are the signal.
96
+ */
97
+ export declare function isProviderUsageLimitAgentFailure(message: string): boolean;
86
98
  /**
87
99
  * Did a concluded choreography END BY ENVIRONMENT — every child of its fatal iteration taken by
88
100
  * infrastructure or quota — rather than reach a semantic conclusion?
@@ -1 +1 @@
1
- {"version":3,"file":"dev-compile-quiet.companion.d.ts","sourceRoot":"","sources":["../../../../../src/core/runtime/dev-compile-quiet.companion.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,WAAW,eAAe;IAC9B,oFAAoF;IACpF,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,mFAAmF;IACnF,QAAQ,CAAC,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;CAC1C;AAID,wBAAgB,mBAAmB,CAAC,uBAAuB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,eAAe,CAevG;AAED;;;;;;;;GAQG;AACH,wBAAsB,sBAAsB,CAAC,KAAK,EAAE;IAClD,QAAQ,CAAC,uBAAuB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5D,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;CAC7E,GAAG,OAAO,CAAC;IAAE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAA;CAAE,CAAC,CAmBlE;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,kCAAkC,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAI3E;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,6BAA6B,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAQtE;AAED;;;;;;;;;;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C,OAAO,EAAE,MAAM,GAAG,OAAO,CAI3E;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,6BAA6B,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAQtE;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,gCAAgC,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAEzE;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE;IACpD,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;QAAE,QAAQ,CAAC,QAAQ,EAAE,aAAa,CAAC;YAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,CAAA;KAAE,CAAC,CAAC;CACzG,GAAG,OAAO,CASV"}
@@ -101,7 +101,7 @@ export function isProviderAccountAgentFailure(message) {
101
101
  return true;
102
102
  if (!/ACP agent error/.test(message))
103
103
  return false;
104
- if (/(session limit|usage limit|hit your \S* ?limit)/i.test(message))
104
+ if (isProviderUsageLimitAgentFailure(message))
105
105
  return true;
106
106
  if (/Failed to authenticate|OAuth session expired/i.test(message))
107
107
  return true;
@@ -109,6 +109,20 @@ export function isProviderAccountAgentFailure(message) {
109
109
  return true;
110
110
  return false;
111
111
  }
112
+ /**
113
+ * The half of {@link isProviderAccountAgentFailure} that a CLOCK fixes: the account's usage limit, as
114
+ * distinct from an expired login, which needs a person (#2388). Split out because the two halves now
115
+ * get different treatment — a usage limit pauses the build wave until its reset and spends no attempt,
116
+ * while a login failure still waits for `claude login`. One predicate, so the classifier and the pause
117
+ * cannot disagree about which message is a limit.
118
+ *
119
+ * Measured signature: `ACP agent error -32603: Internal error: You've hit your session limit · resets
120
+ * 8:10am (Europe/Paris)` (app-creation-test-005, 2026-10-03). The adapter answers `-32603` with no
121
+ * structured quota code, so the words are the signal.
122
+ */
123
+ export function isProviderUsageLimitAgentFailure(message) {
124
+ return /ACP agent error/.test(message) && /(session limit|usage limit|hit your \S* ?limit)/i.test(message);
125
+ }
112
126
  /**
113
127
  * Did a concluded choreography END BY ENVIRONMENT — every child of its fatal iteration taken by
114
128
  * infrastructure or quota — rather than reach a semantic conclusion?
@@ -1 +1 @@
1
- {"version":3,"file":"dev-compile-quiet.companion.js","sourceRoot":"","sources":["../../../../../src/core/runtime/dev-compile-quiet.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yCAAyC,EAAE,MAAM,sCAAsC,CAAC;AACjG,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AA8BjC,MAAM,gCAAgC,GAAG,gDAAgD,CAAC;AAE1F,MAAM,UAAU,mBAAmB,CAAC,uBAAkD;IACpF,IAAI,CAAC,uBAAuB;QAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC;IAC3E,MAAM,UAAU,GAAG,IAAI,CAAC,uBAAuB,EAAE,gCAAgC,CAAC,CAAC;IACnF,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC;QAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC;IAC1E,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,UAAU,EAAE,MAAM,CAAC,CAAwD,CAAC;QACnH,MAAM,QAAQ,GAAG,MAAM,CAAC,QAAQ,IAAI,EAAE,CAAC;QACvC,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC;aAC1C,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,OAAO,CAAC;aACxD,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,IAA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AI,CAAC,OAAO,CAAC,IAAI,0BAA0B,CAAC,IAAI,CAAC,OAAO,CAAC;QAAE,OAAO,IAAI,CAAC;IACpF,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,8BAA8B,CAAC,KAG9C;IACC,IAAI,KAAK,CAAC,cAAc,KAAK,qBAAqB;QAAE,OAAO,KAAK,CAAC;IACjE,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAC5D,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IACxD,OAAO,KAAK,CAAC,QAAQ,CAAC,KAAK,CACzB,CAAC,KAAK,EAAE,EAAE,CACR,KAAK,CAAC,OAAO,KAAK,SAAS;WACxB,CAAC,kCAAkC,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,6BAA6B,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CACzG,CAAC;AACJ,CAAC","sourcesContent":["import { CODING_AGENT_NOT_SIGNED_IN_MESSAGE_PREFIX } from '@wildo-ai/external-connectors-models';\nimport { existsSync, readFileSync } from 'node:fs';\nimport { join } from 'node:path';\n\n/**\n * The dev supervisor's compile state, read from the SAME artifact the supervisor keys on — so this\n * gate and the thing that kills agent children under a rebuild can never disagree about whether a\n * rebuild is happening (issue #265; the predicate was proven operationally before it was code:\n * dispatch attempts launched behind an all-`ready` read completed, attempts launched on health\n * checks alone died).\n *\n * ## Why agent spawns consult this at all\n *\n * An in-flight ACP agent child dies with every companion pause: its stdin closes on the supervisor's\n * restart and the CLI exits 0 mid-turn — nine measured kills across two lanes on 2026-09-02/03. The\n * supervisor's pauses are LEGITIMATE (a dependency really is recompiling), so the fix is not to\n * fight them but to stop spawning minutes-long turns into a window that is already churning.\n *\n * ## Absent-tolerant by design\n *\n * The status file is a DEV-ORCHESTRATOR artifact. A standalone application install has no framework\n * checkout, no watchers, and no churn — `readable: false` there means \"nothing to wait for\", never\n * an error. Same for a malformed or mid-write read: this is a convenience gate, and a gate that can\n * fail closed on its own parse error would refuse work over a JSON hiccup.\n */\nexport interface DevCompileChurn {\n /** False when no status artifact exists or it cannot be parsed — treat as quiet. */\n readonly readable: boolean;\n /** Package names currently NOT `ready` (compiling or failed). Empty when quiet. */\n readonly busyPackages: readonly string[];\n}\n\nconst DEV_COMPILE_STATUS_RELATIVE_PATH = '.wildo-runtime-signals/dev-compile-status.json';\n\nexport function readDevCompileChurn(frameworkRepositoryRoot: string | null | undefined): DevCompileChurn {\n if (!frameworkRepositoryRoot) return { readable: false, busyPackages: [] };\n const statusPath = join(frameworkRepositoryRoot, DEV_COMPILE_STATUS_RELATIVE_PATH);\n if (!existsSync(statusPath)) return { readable: false, busyPackages: [] };\n try {\n const parsed = JSON.parse(readFileSync(statusPath, 'utf8')) as { packages?: Record<string, { status?: unknown }> };\n const packages = parsed.packages ?? {};\n const busyPackages = Object.entries(packages)\n .filter(([, entry]) => String(entry?.status) !== 'ready')\n .map(([name]) => name)\n .sort();\n return { readable: true, busyPackages };\n } catch {\n return { readable: false, busyPackages: [] };\n }\n}\n\n/**\n * Wait (bounded) for the dev tree to stop compiling before spawning a long agent turn.\n *\n * BOUNDED, and proceeding on timeout rather than refusing: this gate exists to raise the odds of a\n * turn surviving, not to become a new way work is withheld. A tree that churns for the whole bound\n * (a busy multi-session day) gets the same behavior as before this gate existed — the spawn happens\n * and takes its chances — with the wait logged so a killed turn's post-mortem can see the gate did\n * what it could.\n */\nexport async function waitForDevCompileQuiet(input: {\n readonly frameworkRepositoryRoot: string | null | undefined;\n readonly maximumWaitMs?: number;\n readonly pollIntervalMs?: number;\n readonly log?: (message: string, context?: Record<string, unknown>) => void;\n}): Promise<{ readonly waitedMs: number; readonly quiet: boolean }> {\n const maximumWaitMs = input.maximumWaitMs ?? 5 * 60 * 1000;\n const pollIntervalMs = input.pollIntervalMs ?? 5000;\n const startedAt = Date.now();\n let churn = readDevCompileChurn(input.frameworkRepositoryRoot);\n if (!churn.readable || churn.busyPackages.length === 0) return { waitedMs: 0, quiet: true };\n input.log?.('Deferring agent spawn: the dev tree is compiling', { busyPackages: churn.busyPackages.slice(0, 6) });\n while (Date.now() - startedAt < maximumWaitMs) {\n await new Promise((resolve) => setTimeout(resolve, pollIntervalMs));\n churn = readDevCompileChurn(input.frameworkRepositoryRoot);\n if (!churn.readable || churn.busyPackages.length === 0) {\n const waitedMs = Date.now() - startedAt;\n input.log?.('Dev tree quiet; spawning agent', { waitedMs });\n return { waitedMs, quiet: true };\n }\n }\n const waitedMs = Date.now() - startedAt;\n input.log?.('Dev tree still compiling after the bound; spawning anyway', { waitedMs, busyPackages: churn.busyPackages.slice(0, 6) });\n return { waitedMs, quiet: false };\n}\n\n/**\n * Is this agent-child failure INFRASTRUCTURE-shaped — the environment taking the turn away — rather\n * than the agent failing at its work?\n *\n * Deliberately a closed list of measured signatures, not a heuristic:\n * - the exit-0 mid-turn kill (stdin closed under a companion pause — #121's diagnosed cause, and\n * the shape behind nine 2026-09-02/03 kills);\n * - the provider's own overload/transient answers (529 observed live on 2026-09-03; 429 is the same\n * class), which reach us as a named ACP error since the JSON-RPC rejection carries its message.\n *\n * A signature NOT on this list is the agent's outcome and is never retried here — a wrong answer\n * retried is spend; a refusal retried is worse.\n */\nexport function isInfrastructureShapedAgentFailure(message: string): boolean {\n if (/Agent process exited before the turn completed/i.test(message)) return true;\n if (/ACP agent error/.test(message) && /(529|429|Overloaded|overloaded_error|rate.?limit)/i.test(message)) return true;\n return false;\n}\n\n/**\n * Is this failure the provider ACCOUNT refusing to serve the turn — quota exhausted, or the\n * operator's login expired — rather than a transient or the agent's own outcome?\n *\n * Kept SEPARATE from {@link isInfrastructureShapedAgentFailure} because the two demand opposite\n * immediate treatment: a 529/kill is worth one retry in seconds, while an account condition has a\n * HUMAN-SCALE remedy — a quota resets hours later, an expired login needs someone to run\n * `claude login` — so retrying now is pure spend that fails identically. What the two share is the\n * LATER treatment: both are the environment taking the turn away rather than the agent failing at\n * its work, so both must preserve a choreography's checkpoint for a relaunch (measured 2026-09-03:\n * a 56-minute, 14-successful-children compliance run hit the 5-hour session limit in iteration 11\n * and the conclusion consumed the checkpoint, discarding every accumulated evidence brief).\n *\n * Closed list of measured signatures, same discipline as the sibling:\n * - `ACP agent error -32603: Internal error: You've hit your session limit · resets 9:40pm (Europe/Paris)`\n * - `ACP agent error -32603: Internal error: Failed to authenticate: OAuth session expired and\n * could not be refreshed` (2026-09-04, first iteration of the relaunch — the interactive shell\n * refreshed the same login fine minutes later; the minimal-env child could not)\n * - `ACP agent error -32000: Authentication required` — adapter 0.81.1 with NO login at all. Reproduced\n * 2026-09-25 against an empty `CLAUDE_CONFIG_DIR`: `initialize` and `session/new` succeed (the adapter\n * advertises no `authMethods`), and the first `session/prompt` answers JSON-RPC `-32000`. Until this\n * line, that failure was charged to the TASK and spent its attempt budget (#1637 R7). The code is\n * pinned together with the words because `-32000` alone is the generic server-error code.\n */\nexport function isProviderAccountAgentFailure(message: string): boolean {\n // Refused BEFORE a session opened: the engine read the agent's own login status and found none.\n if (message.startsWith(CODING_AGENT_NOT_SIGNED_IN_MESSAGE_PREFIX)) return true;\n if (!/ACP agent error/.test(message)) return false;\n if (/(session limit|usage limit|hit your \\S* ?limit)/i.test(message)) return true;\n if (/Failed to authenticate|OAuth session expired/i.test(message)) return true;\n if (/-32000/.test(message) && /Authentication required/i.test(message)) return true;\n return false;\n}\n\n/**\n * Did a concluded choreography END BY ENVIRONMENT — every child of its fatal iteration taken by\n * infrastructure or quota — rather than reach a semantic conclusion?\n *\n * This is the predicate that decides whether the run's checkpoint survives its conclusion. The\n * consuming rule (\"a run that stopped because every child failed has still CONCLUDED\") is right for\n * a semantic failure: re-running would choose again over identical state. It is wrong when the\n * children never got to do the work at all — that is the process-taken-away case the checkpoint\n * exists for, arriving as child failures instead of a SIGTERM.\n *\n * Strict on purpose: ONE semantic failure among the fatal children means the next selection would\n * see real information, so the conclusion stands and the checkpoint goes. An empty iteration list\n * or a stop reason other than ALL_CHILDREN_FAILED is never environmental.\n */\nexport function choreographyEndedByEnvironment(input: {\n readonly stoppedBecause: string;\n readonly iterations: ReadonlyArray<{ readonly children: ReadonlyArray<{ readonly failure?: string }> }>;\n}): boolean {\n if (input.stoppedBecause !== 'ALL_CHILDREN_FAILED') return false;\n const fatal = input.iterations[input.iterations.length - 1];\n if (!fatal || fatal.children.length === 0) return false;\n return fatal.children.every(\n (child) =>\n child.failure !== undefined\n && (isInfrastructureShapedAgentFailure(child.failure) || isProviderAccountAgentFailure(child.failure)),\n );\n}\n"]}
1
+ {"version":3,"file":"dev-compile-quiet.companion.js","sourceRoot":"","sources":["../../../../src/core/runtime/dev-compile-quiet.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yCAAyC,EAAE,MAAM,sCAAsC,CAAC;AACjG,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AA8BjC,MAAM,gCAAgC,GAAG,gDAAgD,CAAC;AAE1F,MAAM,UAAU,mBAAmB,CAAC,uBAAkD;IACpF,IAAI,CAAC,uBAAuB;QAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC;IAC3E,MAAM,UAAU,GAAG,IAAI,CAAC,uBAAuB,EAAE,gCAAgC,CAAC,CAAC;IACnF,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC;QAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC;IAC1E,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,UAAU,EAAE,MAAM,CAAC,CAAwD,CAAC;QACnH,MAAM,QAAQ,GAAG,MAAM,CAAC,QAAQ,IAAI,EAAE,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IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC;QAAE,OAAO,KAAK,CAAC;IACnD,IAAI,gCAAgC,CAAC,OAAO,CAAC;QAAE,OAAO,IAAI,CAAC;IAC3D,IAAI,+CAA+C,CAAC,IAAI,CAAC,OAAO,CAAC;QAAE,OAAO,IAAI,CAAC;IAC/E,IAAI,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,0BAA0B,CAAC,IAAI,CAAC,OAAO,CAAC;QAAE,OAAO,IAAI,CAAC;IACpF,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,UAAU,gCAAgC,CAAC,OAAe;IAC9D,OAAO,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,kDAAkD,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;AAC7G,CAAC;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,8BAA8B,CAAC,KAG9C;IACC,IAAI,KAAK,CAAC,cAAc,KAAK,qBAAqB;QAAE,OAAO,KAAK,CAAC;IACjE,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAC5D,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IACxD,OAAO,KAAK,CAAC,QAAQ,CAAC,KAAK,CACzB,CAAC,KAAK,EAAE,EAAE,CACR,KAAK,CAAC,OAAO,KAAK,SAAS;WACxB,CAAC,kCAAkC,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,6BAA6B,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CACzG,CAAC;AACJ,CAAC","sourcesContent":["import { CODING_AGENT_NOT_SIGNED_IN_MESSAGE_PREFIX } from '@wildo-ai/external-connectors-models';\nimport { existsSync, readFileSync } from 'node:fs';\nimport { join } from 'node:path';\n\n/**\n * The dev supervisor's compile state, read from the SAME artifact the supervisor keys on — so this\n * gate and the thing that kills agent children under a rebuild can never disagree about whether a\n * rebuild is happening (issue #265; the predicate was proven operationally before it was code:\n * dispatch attempts launched behind an all-`ready` read completed, attempts launched on health\n * checks alone died).\n *\n * ## Why agent spawns consult this at all\n *\n * An in-flight ACP agent child dies with every companion pause: its stdin closes on the supervisor's\n * restart and the CLI exits 0 mid-turn — nine measured kills across two lanes on 2026-09-02/03. The\n * supervisor's pauses are LEGITIMATE (a dependency really is recompiling), so the fix is not to\n * fight them but to stop spawning minutes-long turns into a window that is already churning.\n *\n * ## Absent-tolerant by design\n *\n * The status file is a DEV-ORCHESTRATOR artifact. A standalone application install has no framework\n * checkout, no watchers, and no churn — `readable: false` there means \"nothing to wait for\", never\n * an error. Same for a malformed or mid-write read: this is a convenience gate, and a gate that can\n * fail closed on its own parse error would refuse work over a JSON hiccup.\n */\nexport interface DevCompileChurn {\n /** False when no status artifact exists or it cannot be parsed — treat as quiet. */\n readonly readable: boolean;\n /** Package names currently NOT `ready` (compiling or failed). Empty when quiet. */\n readonly busyPackages: readonly string[];\n}\n\nconst DEV_COMPILE_STATUS_RELATIVE_PATH = '.wildo-runtime-signals/dev-compile-status.json';\n\nexport function readDevCompileChurn(frameworkRepositoryRoot: string | null | undefined): DevCompileChurn {\n if (!frameworkRepositoryRoot) return { readable: false, busyPackages: [] };\n const statusPath = join(frameworkRepositoryRoot, DEV_COMPILE_STATUS_RELATIVE_PATH);\n if (!existsSync(statusPath)) return { readable: false, busyPackages: [] };\n try {\n const parsed = JSON.parse(readFileSync(statusPath, 'utf8')) as { packages?: Record<string, { status?: unknown }> };\n const packages = parsed.packages ?? {};\n const busyPackages = Object.entries(packages)\n .filter(([, entry]) => String(entry?.status) !== 'ready')\n .map(([name]) => name)\n .sort();\n return { readable: true, busyPackages };\n } catch {\n return { readable: false, busyPackages: [] };\n }\n}\n\n/**\n * Wait (bounded) for the dev tree to stop compiling before spawning a long agent turn.\n *\n * BOUNDED, and proceeding on timeout rather than refusing: this gate exists to raise the odds of a\n * turn surviving, not to become a new way work is withheld. A tree that churns for the whole bound\n * (a busy multi-session day) gets the same behavior as before this gate existed — the spawn happens\n * and takes its chances — with the wait logged so a killed turn's post-mortem can see the gate did\n * what it could.\n */\nexport async function waitForDevCompileQuiet(input: {\n readonly frameworkRepositoryRoot: string | null | undefined;\n readonly maximumWaitMs?: number;\n readonly pollIntervalMs?: number;\n readonly log?: (message: string, context?: Record<string, unknown>) => void;\n}): Promise<{ readonly waitedMs: number; readonly quiet: boolean }> {\n const maximumWaitMs = input.maximumWaitMs ?? 5 * 60 * 1000;\n const pollIntervalMs = input.pollIntervalMs ?? 5000;\n const startedAt = Date.now();\n let churn = readDevCompileChurn(input.frameworkRepositoryRoot);\n if (!churn.readable || churn.busyPackages.length === 0) return { waitedMs: 0, quiet: true };\n input.log?.('Deferring agent spawn: the dev tree is compiling', { busyPackages: churn.busyPackages.slice(0, 6) });\n while (Date.now() - startedAt < maximumWaitMs) {\n await new Promise((resolve) => setTimeout(resolve, pollIntervalMs));\n churn = readDevCompileChurn(input.frameworkRepositoryRoot);\n if (!churn.readable || churn.busyPackages.length === 0) {\n const waitedMs = Date.now() - startedAt;\n input.log?.('Dev tree quiet; spawning agent', { waitedMs });\n return { waitedMs, quiet: true };\n }\n }\n const waitedMs = Date.now() - startedAt;\n input.log?.('Dev tree still compiling after the bound; spawning anyway', { waitedMs, busyPackages: churn.busyPackages.slice(0, 6) });\n return { waitedMs, quiet: false };\n}\n\n/**\n * Is this agent-child failure INFRASTRUCTURE-shaped — the environment taking the turn away — rather\n * than the agent failing at its work?\n *\n * Deliberately a closed list of measured signatures, not a heuristic:\n * - the exit-0 mid-turn kill (stdin closed under a companion pause — #121's diagnosed cause, and\n * the shape behind nine 2026-09-02/03 kills);\n * - the provider's own overload/transient answers (529 observed live on 2026-09-03; 429 is the same\n * class), which reach us as a named ACP error since the JSON-RPC rejection carries its message.\n *\n * A signature NOT on this list is the agent's outcome and is never retried here — a wrong answer\n * retried is spend; a refusal retried is worse.\n */\nexport function isInfrastructureShapedAgentFailure(message: string): boolean {\n if (/Agent process exited before the turn completed/i.test(message)) return true;\n if (/ACP agent error/.test(message) && /(529|429|Overloaded|overloaded_error|rate.?limit)/i.test(message)) return true;\n return false;\n}\n\n/**\n * Is this failure the provider ACCOUNT refusing to serve the turn — quota exhausted, or the\n * operator's login expired — rather than a transient or the agent's own outcome?\n *\n * Kept SEPARATE from {@link isInfrastructureShapedAgentFailure} because the two demand opposite\n * immediate treatment: a 529/kill is worth one retry in seconds, while an account condition has a\n * HUMAN-SCALE remedy — a quota resets hours later, an expired login needs someone to run\n * `claude login` — so retrying now is pure spend that fails identically. What the two share is the\n * LATER treatment: both are the environment taking the turn away rather than the agent failing at\n * its work, so both must preserve a choreography's checkpoint for a relaunch (measured 2026-09-03:\n * a 56-minute, 14-successful-children compliance run hit the 5-hour session limit in iteration 11\n * and the conclusion consumed the checkpoint, discarding every accumulated evidence brief).\n *\n * Closed list of measured signatures, same discipline as the sibling:\n * - `ACP agent error -32603: Internal error: You've hit your session limit · resets 9:40pm (Europe/Paris)`\n * - `ACP agent error -32603: Internal error: Failed to authenticate: OAuth session expired and\n * could not be refreshed` (2026-09-04, first iteration of the relaunch — the interactive shell\n * refreshed the same login fine minutes later; the minimal-env child could not)\n * - `ACP agent error -32000: Authentication required` — adapter 0.81.1 with NO login at all. Reproduced\n * 2026-09-25 against an empty `CLAUDE_CONFIG_DIR`: `initialize` and `session/new` succeed (the adapter\n * advertises no `authMethods`), and the first `session/prompt` answers JSON-RPC `-32000`. Until this\n * line, that failure was charged to the TASK and spent its attempt budget (#1637 R7). The code is\n * pinned together with the words because `-32000` alone is the generic server-error code.\n */\nexport function isProviderAccountAgentFailure(message: string): boolean {\n // Refused BEFORE a session opened: the engine read the agent's own login status and found none.\n if (message.startsWith(CODING_AGENT_NOT_SIGNED_IN_MESSAGE_PREFIX)) return true;\n if (!/ACP agent error/.test(message)) return false;\n if (isProviderUsageLimitAgentFailure(message)) return true;\n if (/Failed to authenticate|OAuth session expired/i.test(message)) return true;\n if (/-32000/.test(message) && /Authentication required/i.test(message)) return true;\n return false;\n}\n\n/**\n * The half of {@link isProviderAccountAgentFailure} that a CLOCK fixes: the account's usage limit, as\n * distinct from an expired login, which needs a person (#2388). Split out because the two halves now\n * get different treatment — a usage limit pauses the build wave until its reset and spends no attempt,\n * while a login failure still waits for `claude login`. One predicate, so the classifier and the pause\n * cannot disagree about which message is a limit.\n *\n * Measured signature: `ACP agent error -32603: Internal error: You've hit your session limit · resets\n * 8:10am (Europe/Paris)` (app-creation-test-005, 2026-10-03). The adapter answers `-32603` with no\n * structured quota code, so the words are the signal.\n */\nexport function isProviderUsageLimitAgentFailure(message: string): boolean {\n return /ACP agent error/.test(message) && /(session limit|usage limit|hit your \\S* ?limit)/i.test(message);\n}\n\n/**\n * Did a concluded choreography END BY ENVIRONMENT — every child of its fatal iteration taken by\n * infrastructure or quota — rather than reach a semantic conclusion?\n *\n * This is the predicate that decides whether the run's checkpoint survives its conclusion. The\n * consuming rule (\"a run that stopped because every child failed has still CONCLUDED\") is right for\n * a semantic failure: re-running would choose again over identical state. It is wrong when the\n * children never got to do the work at all — that is the process-taken-away case the checkpoint\n * exists for, arriving as child failures instead of a SIGTERM.\n *\n * Strict on purpose: ONE semantic failure among the fatal children means the next selection would\n * see real information, so the conclusion stands and the checkpoint goes. An empty iteration list\n * or a stop reason other than ALL_CHILDREN_FAILED is never environmental.\n */\nexport function choreographyEndedByEnvironment(input: {\n readonly stoppedBecause: string;\n readonly iterations: ReadonlyArray<{ readonly children: ReadonlyArray<{ readonly failure?: string }> }>;\n}): boolean {\n if (input.stoppedBecause !== 'ALL_CHILDREN_FAILED') return false;\n const fatal = input.iterations[input.iterations.length - 1];\n if (!fatal || fatal.children.length === 0) return false;\n return fatal.children.every(\n (child) =>\n child.failure !== undefined\n && (isInfrastructureShapedAgentFailure(child.failure) || isProviderAccountAgentFailure(child.failure)),\n );\n}\n"]}
@@ -0,0 +1,83 @@
1
+ /** How often the probe asks whether the event loop kept time. */
2
+ export declare const EVENT_LOOP_STALL_PROBE_INTERVAL_MS = 500;
3
+ /**
4
+ * A probe arriving this much later than scheduled is a STALL.
5
+ *
6
+ * One second, because it is the smallest delay with a recorded consequence here: the introspection
7
+ * subprocess's late-exit window is one second, and a parent blocked longer than that has been measured
8
+ * throwing away a child's correct result (#2396). Below it, a delay is latency nobody has shown to cost
9
+ * anything.
10
+ */
11
+ export declare const EVENT_LOOP_STALL_THRESHOLD_MS = 1000;
12
+ /**
13
+ * Stalls after the first are aggregated, and reported once per window.
14
+ *
15
+ * A saturated companion stalls on most probes. A line per stall would bury the log in the one sentence
16
+ * the reader already has, so the first stall of a quiet period is reported at once (it says when it
17
+ * started) and the rest are summed into one line per window.
18
+ */
19
+ export declare const EVENT_LOOP_STALL_REPORT_WINDOW_MS = 30000;
20
+ /** What one report says. */
21
+ export interface EventLoopStallReport {
22
+ /** Stalls counted in this report: 1 for the first stall of a quiet period. */
23
+ readonly stallCount: number;
24
+ /** The longest single stall, in ms past the probe's schedule. */
25
+ readonly longestStallMs: number;
26
+ /** The sum of every counted stall. */
27
+ readonly totalStalledMs: number;
28
+ /** How long the report covers, from its first stall to now. */
29
+ readonly windowMs: number;
30
+ /** What the process was doing when the longest stall ended. See {@link EventLoopStallMonitor}. */
31
+ readonly activityAtLongestStall: Readonly<Record<string, unknown>>;
32
+ }
33
+ /**
34
+ * Notices when this process's event loop stops keeping time, and says what was running (#2394).
35
+ *
36
+ * ## Why it exists
37
+ *
38
+ * On app-creation-test-005 the companion stopped answering HTTP for minutes at a time during build
39
+ * waves, while `/health`, a handler that awaits nothing, timed out like everything else. A route that
40
+ * awaits nothing can only be late because the thread that would run it is busy. Nothing in the process
41
+ * said so: the only trace was `sourceObservationMs` on an unrelated debug line, swinging from 0.3 s to
42
+ * 162 s for the same ~22,000-entry walk.
43
+ *
44
+ * ## What it measures, and what it cannot
45
+ *
46
+ * A timer scheduled every {@link EVENT_LOOP_STALL_PROBE_INTERVAL_MS} measures how late it fires. Late
47
+ * means the loop was held: synchronous work, a long garbage collection, or a burst of callbacks.
48
+ *
49
+ * The activity snapshot is taken when a stall ENDS. Whatever was in flight then was in flight during
50
+ * the stall, but a synchronous block that started and finished in between leaves no trace in it. So the
51
+ * snapshot narrows the search and never names the culprit. A CPU profile names it; this says WHEN to
52
+ * take one, and whether a fix made stalls go away.
53
+ *
54
+ * Never a refusal and never a decision: it reads and reports. Its timer is unref'd so it cannot keep a
55
+ * stopping process alive.
56
+ */
57
+ export declare class EventLoopStallMonitor {
58
+ private readonly report;
59
+ private readonly describeActivity;
60
+ private readonly now;
61
+ private timer;
62
+ private lastProbeAt;
63
+ private lastReportAt;
64
+ private pending;
65
+ constructor(report: (report: EventLoopStallReport) => void, describeActivity: () => Record<string, unknown>, now?: () => number);
66
+ start(): void;
67
+ stop(): void;
68
+ /**
69
+ * One probe. Called by the timer, and directly by the tests with a scripted clock.
70
+ */
71
+ probe(): void;
72
+ private flush;
73
+ private emit;
74
+ /** A failing activity reader must not stop the monitor that would report the failure's context. */
75
+ private safeActivity;
76
+ }
77
+ /**
78
+ * The share of wall time the loop spent running callbacks since the previous call: 1.0 is a loop that
79
+ * never idled. Kept beside the monitor because the two answer one question from two sides: how late the
80
+ * probe was, and how busy the loop was across the whole window.
81
+ */
82
+ export declare function createEventLoopUtilizationReader(): () => number;
83
+ //# sourceMappingURL=event-loop-stall-monitor.companion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event-loop-stall-monitor.companion.d.ts","sourceRoot":"","sources":["../../../../src/core/runtime/event-loop-stall-monitor.companion.ts"],"names":[],"mappings":"AAEA,iEAAiE;AACjE,eAAO,MAAM,kCAAkC,MAAM,CAAC;AAEtD;;;;;;;GAOG;AACH,eAAO,MAAM,6BAA6B,OAAQ,CAAC;AAEnD;;;;;;GAMG;AACH,eAAO,MAAM,iCAAiC,QAAS,CAAC;AAExD,4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A probe arriving this much later than scheduled is a STALL.
6
+ *
7
+ * One second, because it is the smallest delay with a recorded consequence here: the introspection
8
+ * subprocess's late-exit window is one second, and a parent blocked longer than that has been measured
9
+ * throwing away a child's correct result (#2396). Below it, a delay is latency nobody has shown to cost
10
+ * anything.
11
+ */
12
+ export const EVENT_LOOP_STALL_THRESHOLD_MS = 1_000;
13
+ /**
14
+ * Stalls after the first are aggregated, and reported once per window.
15
+ *
16
+ * A saturated companion stalls on most probes. A line per stall would bury the log in the one sentence
17
+ * the reader already has, so the first stall of a quiet period is reported at once (it says when it
18
+ * started) and the rest are summed into one line per window.
19
+ */
20
+ export const EVENT_LOOP_STALL_REPORT_WINDOW_MS = 30_000;
21
+ /**
22
+ * Notices when this process's event loop stops keeping time, and says what was running (#2394).
23
+ *
24
+ * ## Why it exists
25
+ *
26
+ * On app-creation-test-005 the companion stopped answering HTTP for minutes at a time during build
27
+ * waves, while `/health`, a handler that awaits nothing, timed out like everything else. A route that
28
+ * awaits nothing can only be late because the thread that would run it is busy. Nothing in the process
29
+ * said so: the only trace was `sourceObservationMs` on an unrelated debug line, swinging from 0.3 s to
30
+ * 162 s for the same ~22,000-entry walk.
31
+ *
32
+ * ## What it measures, and what it cannot
33
+ *
34
+ * A timer scheduled every {@link EVENT_LOOP_STALL_PROBE_INTERVAL_MS} measures how late it fires. Late
35
+ * means the loop was held: synchronous work, a long garbage collection, or a burst of callbacks.
36
+ *
37
+ * The activity snapshot is taken when a stall ENDS. Whatever was in flight then was in flight during
38
+ * the stall, but a synchronous block that started and finished in between leaves no trace in it. So the
39
+ * snapshot narrows the search and never names the culprit. A CPU profile names it; this says WHEN to
40
+ * take one, and whether a fix made stalls go away.
41
+ *
42
+ * Never a refusal and never a decision: it reads and reports. Its timer is unref'd so it cannot keep a
43
+ * stopping process alive.
44
+ */
45
+ export class EventLoopStallMonitor {
46
+ report;
47
+ describeActivity;
48
+ now;
49
+ timer = null;
50
+ lastProbeAt = null;
51
+ lastReportAt = Number.NEGATIVE_INFINITY;
52
+ pending = null;
53
+ constructor(report, describeActivity, now = () => performance.now()) {
54
+ this.report = report;
55
+ this.describeActivity = describeActivity;
56
+ this.now = now;
57
+ }
58
+ start() {
59
+ if (this.timer)
60
+ return;
61
+ this.lastProbeAt = this.now();
62
+ this.timer = setInterval(() => this.probe(), EVENT_LOOP_STALL_PROBE_INTERVAL_MS);
63
+ this.timer.unref?.();
64
+ }
65
+ stop() {
66
+ if (this.timer)
67
+ clearInterval(this.timer);
68
+ this.timer = null;
69
+ this.flush();
70
+ }
71
+ /**
72
+ * One probe. Called by the timer, and directly by the tests with a scripted clock.
73
+ */
74
+ probe() {
75
+ const now = this.now();
76
+ const previous = this.lastProbeAt ?? now;
77
+ this.lastProbeAt = now;
78
+ const stalledMs = now - previous - EVENT_LOOP_STALL_PROBE_INTERVAL_MS;
79
+ if (stalledMs >= EVENT_LOOP_STALL_THRESHOLD_MS) {
80
+ const activity = this.safeActivity();
81
+ if (now - this.lastReportAt >= EVENT_LOOP_STALL_REPORT_WINDOW_MS && this.pending === null) {
82
+ // The first stall of a quiet period: said now, so the log shows when it began.
83
+ this.emit({ count: 1, longest: stalledMs, total: stalledMs, firstAt: now - stalledMs, activity }, now);
84
+ return;
85
+ }
86
+ if (this.pending === null) {
87
+ this.pending = { count: 1, longest: stalledMs, total: stalledMs, firstAt: now - stalledMs, activity };
88
+ }
89
+ else {
90
+ this.pending.count += 1;
91
+ this.pending.total += stalledMs;
92
+ if (stalledMs > this.pending.longest) {
93
+ this.pending.longest = stalledMs;
94
+ this.pending.activity = activity;
95
+ }
96
+ }
97
+ }
98
+ if (this.pending !== null && now - this.lastReportAt >= EVENT_LOOP_STALL_REPORT_WINDOW_MS) {
99
+ this.emit(this.pending, now);
100
+ this.pending = null;
101
+ }
102
+ }
103
+ flush() {
104
+ if (this.pending === null)
105
+ return;
106
+ this.emit(this.pending, this.now());
107
+ this.pending = null;
108
+ }
109
+ emit(stalls, now) {
110
+ this.lastReportAt = now;
111
+ // Called from a timer: a throwing reporter would surface as an uncaught exception in the process
112
+ // this exists to observe. A failed report is lost, and the next window reports again.
113
+ try {
114
+ this.report({
115
+ stallCount: stalls.count,
116
+ longestStallMs: Math.round(stalls.longest),
117
+ totalStalledMs: Math.round(stalls.total),
118
+ windowMs: Math.round(now - stalls.firstAt),
119
+ activityAtLongestStall: stalls.activity,
120
+ });
121
+ }
122
+ catch {
123
+ // Nothing to report it to: the reporter is the channel that failed.
124
+ }
125
+ }
126
+ /** A failing activity reader must not stop the monitor that would report the failure's context. */
127
+ safeActivity() {
128
+ try {
129
+ return this.describeActivity();
130
+ }
131
+ catch (error) {
132
+ return { activityUnavailable: error instanceof Error ? error.message : String(error) };
133
+ }
134
+ }
135
+ }
136
+ /**
137
+ * The share of wall time the loop spent running callbacks since the previous call: 1.0 is a loop that
138
+ * never idled. Kept beside the monitor because the two answer one question from two sides: how late the
139
+ * probe was, and how busy the loop was across the whole window.
140
+ */
141
+ export function createEventLoopUtilizationReader() {
142
+ let previous = performance.eventLoopUtilization();
143
+ return () => {
144
+ const current = performance.eventLoopUtilization();
145
+ const delta = performance.eventLoopUtilization(current, previous);
146
+ previous = current;
147
+ return Math.round(delta.utilization * 100) / 100;
148
+ };
149
+ }
150
+ //# sourceMappingURL=event-loop-stall-monitor.companion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event-loop-stall-monitor.companion.js","sourceRoot":"","sources":["../../../../src/core/runtime/event-loop-stall-monitor.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAA6B,MAAM,iBAAiB,CAAC;AAEzE,iEAAiE;AACjE,MAAM,CAAC,MAAM,kCAAkC,GAAG,GAAG,CAAC;AAEtD;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,KAAK,CAAC;AAEnD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,MAAM,CAAC;AAgBxD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,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AAC,KAAK,CAAC,WAAW,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC;IACnD,CAAC,CAAC;AACJ,CAAC","sourcesContent":["import { performance, type EventLoopUtilization } from 'node:perf_hooks';\n\n/** How often the probe asks whether the event loop kept time. */\nexport const EVENT_LOOP_STALL_PROBE_INTERVAL_MS = 500;\n\n/**\n * A probe arriving this much later than scheduled is a STALL.\n *\n * One second, because it is the smallest delay with a recorded consequence here: the introspection\n * subprocess's late-exit window is one second, and a parent blocked longer than that has been measured\n * throwing away a child's correct result (#2396). Below it, a delay is latency nobody has shown to cost\n * anything.\n */\nexport const EVENT_LOOP_STALL_THRESHOLD_MS = 1_000;\n\n/**\n * Stalls after the first are aggregated, and reported once per window.\n *\n * A saturated companion stalls on most probes. A line per stall would bury the log in the one sentence\n * the reader already has, so the first stall of a quiet period is reported at once (it says when it\n * started) and the rest are summed into one line per window.\n */\nexport const EVENT_LOOP_STALL_REPORT_WINDOW_MS = 30_000;\n\n/** What one report says. */\nexport interface EventLoopStallReport {\n /** Stalls counted in this report: 1 for the first stall of a quiet period. */\n readonly stallCount: number;\n /** The longest single stall, in ms past the probe's schedule. */\n readonly longestStallMs: number;\n /** The sum of every counted stall. */\n readonly totalStalledMs: number;\n /** How long the report covers, from its first stall to now. */\n readonly windowMs: number;\n /** What the process was doing when the longest stall ended. See {@link EventLoopStallMonitor}. */\n readonly activityAtLongestStall: Readonly<Record<string, unknown>>;\n}\n\n/**\n * Notices when this process's event loop stops keeping time, and says what was running (#2394).\n *\n * ## Why it exists\n *\n * On app-creation-test-005 the companion stopped answering HTTP for minutes at a time during build\n * waves, while `/health`, a handler that awaits nothing, timed out like everything else. A route that\n * awaits nothing can only be late because the thread that would run it is busy. Nothing in the process\n * said so: the only trace was `sourceObservationMs` on an unrelated debug line, swinging from 0.3 s to\n * 162 s for the same ~22,000-entry walk.\n *\n * ## What it measures, and what it cannot\n *\n * A timer scheduled every {@link EVENT_LOOP_STALL_PROBE_INTERVAL_MS} measures how late it fires. Late\n * means the loop was held: synchronous work, a long garbage collection, or a burst of callbacks.\n *\n * The activity snapshot is taken when a stall ENDS. Whatever was in flight then was in flight during\n * the stall, but a synchronous block that started and finished in between leaves no trace in it. So the\n * snapshot narrows the search and never names the culprit. A CPU profile names it; this says WHEN to\n * take one, and whether a fix made stalls go away.\n *\n * Never a refusal and never a decision: it reads and reports. Its timer is unref'd so it cannot keep a\n * stopping process alive.\n */\nexport class EventLoopStallMonitor {\n private timer: ReturnType<typeof setInterval> | null = null;\n private lastProbeAt: number | null = null;\n private lastReportAt = Number.NEGATIVE_INFINITY;\n private pending: { count: number; longest: number; total: number; firstAt: number; activity: Record<string, unknown> } | null = null;\n\n public constructor(\n private readonly report: (report: EventLoopStallReport) => void,\n private readonly describeActivity: () => Record<string, unknown>,\n private readonly now: () => number = () => performance.now(),\n ) {}\n\n public start(): void {\n if (this.timer) return;\n this.lastProbeAt = this.now();\n this.timer = setInterval(() => this.probe(), EVENT_LOOP_STALL_PROBE_INTERVAL_MS);\n this.timer.unref?.();\n }\n\n public stop(): void {\n if (this.timer) clearInterval(this.timer);\n this.timer = null;\n this.flush();\n }\n\n /**\n * One probe. Called by the timer, and directly by the tests with a scripted clock.\n */\n public probe(): void {\n const now = this.now();\n const previous = this.lastProbeAt ?? now;\n this.lastProbeAt = now;\n const stalledMs = now - previous - EVENT_LOOP_STALL_PROBE_INTERVAL_MS;\n\n if (stalledMs >= EVENT_LOOP_STALL_THRESHOLD_MS) {\n const activity = this.safeActivity();\n if (now - this.lastReportAt >= EVENT_LOOP_STALL_REPORT_WINDOW_MS && this.pending === null) {\n // The first stall of a quiet period: said now, so the log shows when it began.\n this.emit({ count: 1, longest: stalledMs, total: stalledMs, firstAt: now - stalledMs, activity }, now);\n return;\n }\n if (this.pending === null) {\n this.pending = { count: 1, longest: stalledMs, total: stalledMs, firstAt: now - stalledMs, activity };\n } else {\n this.pending.count += 1;\n this.pending.total += stalledMs;\n if (stalledMs > this.pending.longest) {\n this.pending.longest = stalledMs;\n this.pending.activity = activity;\n }\n }\n }\n\n if (this.pending !== null && now - this.lastReportAt >= EVENT_LOOP_STALL_REPORT_WINDOW_MS) {\n this.emit(this.pending, now);\n this.pending = null;\n }\n }\n\n private flush(): void {\n if (this.pending === null) return;\n this.emit(this.pending, this.now());\n this.pending = null;\n }\n\n private emit(stalls: { count: number; longest: number; total: number; firstAt: number; activity: Record<string, unknown> }, now: number): void {\n this.lastReportAt = now;\n // Called from a timer: a throwing reporter would surface as an uncaught exception in the process\n // this exists to observe. A failed report is lost, and the next window reports again.\n try {\n this.report({\n stallCount: stalls.count,\n longestStallMs: Math.round(stalls.longest),\n totalStalledMs: Math.round(stalls.total),\n windowMs: Math.round(now - stalls.firstAt),\n activityAtLongestStall: stalls.activity,\n });\n } catch {\n // Nothing to report it to: the reporter is the channel that failed.\n }\n }\n\n /** A failing activity reader must not stop the monitor that would report the failure's context. */\n private safeActivity(): Record<string, unknown> {\n try {\n return this.describeActivity();\n } catch (error) {\n return { activityUnavailable: error instanceof Error ? error.message : String(error) };\n }\n }\n}\n\n/**\n * The share of wall time the loop spent running callbacks since the previous call: 1.0 is a loop that\n * never idled. Kept beside the monitor because the two answer one question from two sides: how late the\n * probe was, and how busy the loop was across the whole window.\n */\nexport function createEventLoopUtilizationReader(): () => number {\n let previous: EventLoopUtilization = performance.eventLoopUtilization();\n return () => {\n const current = performance.eventLoopUtilization();\n const delta = performance.eventLoopUtilization(current, previous);\n previous = current;\n return Math.round(delta.utilization * 100) / 100;\n };\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"in-flight-work-heartbeat.companion.d.ts","sourceRoot":"","sources":["../../../../../src/core/runtime/in-flight-work-heartbeat.companion.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qBAAa,qBAAqB;IAI9B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,aAAa;IALhC,OAAO,CAAC,KAAK,CAA+C;gBAGzC,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,EAClB,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI;IAG3E;;;OAGG;IACI,IAAI,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;IAmBpC,6EAA6E;IAC7E,IAAW,OAAO,IAAI,OAAO,CAE5B;IAED;;;;;OAKG;IACH,OAAO,CAAC,MAAM;IAQd,OAAO,CAAC,KAAK;CAQd"}
1
+ {"version":3,"file":"in-flight-work-heartbeat.companion.d.ts","sourceRoot":"","sources":["../../../../src/core/runtime/in-flight-work-heartbeat.companion.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qBAAa,qBAAqB;IAI9B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,aAAa;IALhC,OAAO,CAAC,KAAK,CAA+C;gBAGzC,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,EAClB,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI;IAG3E;;;OAGG;IACI,IAAI,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;IAmBpC,6EAA6E;IAC7E,IAAW,OAAO,IAAI,OAAO,CAE5B;IAED;;;;;OAKG;IACH,OAAO,CAAC,MAAM;IAQd,OAAO,CAAC,KAAK;CAQd"}
@@ -1 +1 @@
1
- {"version":3,"file":"in-flight-work-heartbeat.companion.js","sourceRoot":"","sources":["../../../../../src/core/runtime/in-flight-work-heartbeat.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC3D,OAAO,EAAE,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AC,aAAa,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;QACrC,CAAC;QAAC,MAAM,CAAC;YACP,2FAA2F;QAC7F,CAAC;IACH,CAAC;IAEO,KAAK;QACX,IAAI,CAAC;YACH,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;YAC5D,aAAa,CAAC,IAAI,CAAC,aAAa,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,EAAE,MAAM,CAAC,CAAC;QACtE,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,CAAC,MAAM,CAAC,8CAA8C,EAAE,KAAK,CAAC,CAAC;QACrE,CAAC;IACH,CAAC;CACF","sourcesContent":["import { mkdirSync, rmSync, writeFileSync } from 'node:fs';\nimport { dirname } from 'node:path';\n\n/**\n * A file whose MTIME says \"this companion has work in flight that a restart would kill\".\n *\n * ## Why it exists\n *\n * The dev supervisor restarts the companion whenever something it loads is rebuilt, and a restart\n * kills the companion's whole process tree — every coding agent it is driving and every playbook run\n * it is recording. So the supervisor HOLDS a restart while work is in flight\n * (`decideRestartHold` in `scripts/dev-orchestrator/runtime-supervisor-lifecycle.mjs`), and it can\n * only know about work that says so. This is how work says so: refreshed on an interval while the\n * owner has anything in flight, and REMOVED — not left to expire — the moment it has nothing, so a\n * finished run never holds a restart for one more window.\n *\n * The supervisor judges the file stale at a bound above the interval, so a companion that dies stops\n * holding anything on its own. A live heartbeat misread as dead kills the work; a dead one misread as\n * live delays a restart by one window. The bound is set the right way round for that asymmetry.\n *\n * ## Why one helper serves two signals\n *\n * The coding lane and the playbook lane each keep their OWN file, because they are different facts\n * and the supervisor says which one it is holding for. What they share is the MECHANICS — beat, keep\n * beating, stop and remove — and those were written once per lane until 2026-09-27. Measured that\n * day: the playbook lane's version beat only for DETACHED runs, and the coding lane had none at all\n * for a concurrent run (which, since #1528, holds no workspace-mutation lock). A synchronous build\n * dispatch with five concurrent coding children therefore showed the supervisor nothing, and a\n * frontend rebuild those children caused restarted the companion under them.\n *\n * ## Best-effort, never a refusal\n *\n * A companion that cannot write this file must still work. The cost of a failed write is the\n * supervisor restarting during the work — what happened before the signal existed — never a refusal\n * to run it. So every filesystem failure is reported and swallowed.\n */\nexport class InFlightWorkHeartbeat {\n private timer: ReturnType<typeof setInterval> | null = null;\n\n public constructor(\n private readonly heartbeatPath: string,\n private readonly intervalMs: number,\n private readonly reportFailure: (message: string, error: unknown) => void,\n ) {}\n\n /**\n * Make the file match whether anything is in flight. Idempotent: call it after EVERY change to the\n * owner's in-flight set, and the file exists exactly while that set is non-empty.\n */\n public sync(inFlight: boolean): void {\n if (inFlight && !this.timer) {\n this.touch();\n this.timer = setInterval(() => this.touch(), this.intervalMs);\n // Never keep the process alive for a heartbeat: it describes work, it is not work.\n this.timer.unref?.();\n return;\n }\n if (!inFlight && this.timer) {\n clearInterval(this.timer);\n this.timer = null;\n try {\n rmSync(this.heartbeatPath, { force: true });\n } catch (error) {\n this.report('In-flight heartbeat removal failed (non-fatal)', error);\n }\n }\n }\n\n /** Whether the heartbeat is currently beating. For tests and diagnostics. */\n public get beating(): boolean {\n return this.timer !== null;\n }\n\n /**\n * Report through the owner's callback, which may itself throw — a harness without a logger does.\n * Swallowed here so \"never fails the work\" is true of this class on its own, not only of its callers:\n * a throw inside the interval would be an uncaught exception in the companion, and one inside `sync`\n * would leave the owner's count raised or replace its work's own result.\n */\n private report(message: string, error: unknown): void {\n try {\n this.reportFailure(message, error);\n } catch {\n // Reporting a heartbeat failure is a courtesy; the heartbeat itself already failed softly.\n }\n }\n\n private touch(): void {\n try {\n mkdirSync(dirname(this.heartbeatPath), { recursive: true });\n writeFileSync(this.heartbeatPath, new Date().toISOString(), 'utf8');\n } catch (error) {\n this.report('In-flight heartbeat write failed (non-fatal)', error);\n }\n }\n}\n"]}
1
+ {"version":3,"file":"in-flight-work-heartbeat.companion.js","sourceRoot":"","sources":["../../../../src/core/runtime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AI,CAAC,KAAK,KAAK,IAAI,CAAC;IAC7B,CAAC;IAED;;;;;OAKG;IACK,MAAM,CAAC,OAAe,EAAE,KAAc;QAC5C,IAAI,CAAC;YACH,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;QACrC,CAAC;QAAC,MAAM,CAAC;YACP,2FAA2F;QAC7F,CAAC;IACH,CAAC;IAEO,KAAK;QACX,IAAI,CAAC;YACH,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;YAC5D,aAAa,CAAC,IAAI,CAAC,aAAa,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,EAAE,MAAM,CAAC,CAAC;QACtE,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,CAAC,MAAM,CAAC,8CAA8C,EAAE,KAAK,CAAC,CAAC;QACrE,CAAC;IACH,CAAC;CACF","sourcesContent":["import { mkdirSync, rmSync, writeFileSync } from 'node:fs';\nimport { dirname } from 'node:path';\n\n/**\n * A file whose MTIME says \"this companion has work in flight that a restart would kill\".\n *\n * ## Why it exists\n *\n * The dev supervisor restarts the companion whenever something it loads is rebuilt, and a restart\n * kills the companion's whole process tree — every coding agent it is driving and every playbook run\n * it is recording. So the supervisor HOLDS a restart while work is in flight\n * (`decideRestartHold` in `scripts/dev-orchestrator/runtime-supervisor-lifecycle.mjs`), and it can\n * only know about work that says so. This is how work says so: refreshed on an interval while the\n * owner has anything in flight, and REMOVED — not left to expire — the moment it has nothing, so a\n * finished run never holds a restart for one more window.\n *\n * The supervisor judges the file stale at a bound above the interval, so a companion that dies stops\n * holding anything on its own. A live heartbeat misread as dead kills the work; a dead one misread as\n * live delays a restart by one window. The bound is set the right way round for that asymmetry.\n *\n * ## Why one helper serves two signals\n *\n * The coding lane and the playbook lane each keep their OWN file, because they are different facts\n * and the supervisor says which one it is holding for. What they share is the MECHANICS — beat, keep\n * beating, stop and remove — and those were written once per lane until 2026-09-27. Measured that\n * day: the playbook lane's version beat only for DETACHED runs, and the coding lane had none at all\n * for a concurrent run (which, since #1528, holds no workspace-mutation lock). A synchronous build\n * dispatch with five concurrent coding children therefore showed the supervisor nothing, and a\n * frontend rebuild those children caused restarted the companion under them.\n *\n * ## Best-effort, never a refusal\n *\n * A companion that cannot write this file must still work. The cost of a failed write is the\n * supervisor restarting during the work — what happened before the signal existed — never a refusal\n * to run it. So every filesystem failure is reported and swallowed.\n */\nexport class InFlightWorkHeartbeat {\n private timer: ReturnType<typeof setInterval> | null = null;\n\n public constructor(\n private readonly heartbeatPath: string,\n private readonly intervalMs: number,\n private readonly reportFailure: (message: string, error: unknown) => void,\n ) {}\n\n /**\n * Make the file match whether anything is in flight. Idempotent: call it after EVERY change to the\n * owner's in-flight set, and the file exists exactly while that set is non-empty.\n */\n public sync(inFlight: boolean): void {\n if (inFlight && !this.timer) {\n this.touch();\n this.timer = setInterval(() => this.touch(), this.intervalMs);\n // Never keep the process alive for a heartbeat: it describes work, it is not work.\n this.timer.unref?.();\n return;\n }\n if (!inFlight && this.timer) {\n clearInterval(this.timer);\n this.timer = null;\n try {\n rmSync(this.heartbeatPath, { force: true });\n } catch (error) {\n this.report('In-flight heartbeat removal failed (non-fatal)', error);\n }\n }\n }\n\n /** Whether the heartbeat is currently beating. For tests and diagnostics. */\n public get beating(): boolean {\n return this.timer !== null;\n }\n\n /**\n * Report through the owner's callback, which may itself throw — a harness without a logger does.\n * Swallowed here so \"never fails the work\" is true of this class on its own, not only of its callers:\n * a throw inside the interval would be an uncaught exception in the companion, and one inside `sync`\n * would leave the owner's count raised or replace its work's own result.\n */\n private report(message: string, error: unknown): void {\n try {\n this.reportFailure(message, error);\n } catch {\n // Reporting a heartbeat failure is a courtesy; the heartbeat itself already failed softly.\n }\n }\n\n private touch(): void {\n try {\n mkdirSync(dirname(this.heartbeatPath), { recursive: true });\n writeFileSync(this.heartbeatPath, new Date().toISOString(), 'utf8');\n } catch (error) {\n this.report('In-flight heartbeat write failed (non-fatal)', error);\n }\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"companion-runtime.models.d.ts","sourceRoot":"","sources":["../../../../../../src/core/runtime/models/companion-runtime.models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kDAAkD,CAAC;AAEnG,MAAM,WAAW,sBAAsB;IACrC,iBAAiB,EAAE,0BAA0B,CAAC;CAC/C"}
1
+ {"version":3,"file":"companion-runtime.models.d.ts","sourceRoot":"","sources":["../../../../../src/core/runtime/models/companion-runtime.models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kDAAkD,CAAC;AAEnG,MAAM,WAAW,sBAAsB;IACrC,iBAAiB,EAAE,0BAA0B,CAAC;CAC/C"}
@@ -1 +1 @@
1
- {"version":3,"file":"companion-runtime.models.js","sourceRoot":"","sources":["../../../../../../src/core/runtime/models/companion-runtime.models.ts"],"names":[],"mappings":"","sourcesContent":["import type { CompanionTraceabilityLevel } from '../../traceability/companion-traceability.models';\n\nexport interface CompanionRuntimeConfig {\n traceabilityLevel: CompanionTraceabilityLevel;\n}\n"]}
1
+ {"version":3,"file":"companion-runtime.models.js","sourceRoot":"","sources":["../../../../../src/core/runtime/models/companion-runtime.models.ts"],"names":[],"mappings":"","sourcesContent":["import type { CompanionTraceabilityLevel } from '../../traceability/companion-traceability.models';\n\nexport interface CompanionRuntimeConfig {\n traceabilityLevel: CompanionTraceabilityLevel;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"file-storage-initialization.companion.d.ts","sourceRoot":"","sources":["../../../../../../src/core/runtime/services/file-storage-initialization.companion.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,qHAAqH;AACrH,eAAO,MAAM,8CAA8C,IAAI,CAAC;AAEhE,oDAAoD;AACpD,eAAO,MAAM,0CAA0C,MAAM,CAAC;AAE9D,MAAM,WAAW,+BAA+B;IAC9C,mCAAmC;IACnC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,mCAAmC;IAClD,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,wDAAwD;IACxD,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,mCAAmC;IAClD,UAAU,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAChC,2EAA2E;IAC3E,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,sDAAsD;IACtD,OAAO,EAAE,CAAC,MAAM,EAAE,+BAA+B,KAAK,IAAI,CAAC;IAC3D,uEAAuE;IACvE,WAAW,EAAE,CAAC,MAAM,EAAE,mCAAmC,KAAK,IAAI,CAAC;IACnE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wDAAwD;IACxD,KAAK,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACjD;AAKD,0DAA0D;AAC1D,wBAAsB,8BAA8B,CAAC,KAAK,EAAE,mCAAmC,GAAG,OAAO,CAAC,OAAO,CAAC,CAuBjH"}
1
+ {"version":3,"file":"file-storage-initialization.companion.d.ts","sourceRoot":"","sources":["../../../../../src/core/runtime/services/file-storage-initialization.companion.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,qHAAqH;AACrH,eAAO,MAAM,8CAA8C,IAAI,CAAC;AAEhE,oDAAoD;AACpD,eAAO,MAAM,0CAA0C,MAAM,CAAC;AAE9D,MAAM,WAAW,+BAA+B;IAC9C,mCAAmC;IACnC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,mCAAmC;IAClD,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,wDAAwD;IACxD,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,mCAAmC;IAClD,UAAU,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAChC,2EAA2E;IAC3E,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,sDAAsD;IACtD,OAAO,EAAE,CAAC,MAAM,EAAE,+BAA+B,KAAK,IAAI,CAAC;IAC3D,uEAAuE;IACvE,WAAW,EAAE,CAAC,MAAM,EAAE,mCAAmC,KAAK,IAAI,CAAC;IACnE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wDAAwD;IACxD,KAAK,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACjD;AAKD,0DAA0D;AAC1D,wBAAsB,8BAA8B,CAAC,KAAK,EAAE,mCAAmC,GAAG,OAAO,CAAC,OAAO,CAAC,CAuBjH"}
@@ -1 +1 @@
1
- {"version":3,"file":"file-storage-initialization.companion.js","sourceRoot":"","sources":["../../../../../../src/core/runtime/services/file-storage-initialization.companion.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,qHAAqH;AACrH,MAAM,CAAC,MAAM,8CAA8C,GAAG,CAAC,CAAC;AAEhE,oDAAoD;AACpD,MAAM,CAAC,MAAM,0CAA0C,GAAG,GAAG,CAAC;AA4B9D,MAAM,YAAY,GAAG,CAAC,YAAoB,EAAiB,EAAE,CAC3D,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAEnE,0DAA0D;AAC1D,MAAM,CAAC,KAAK,UAAU,8BAA8B,CAAC,KAA0C;IAC7F,MAAM,QAAQ,GAAG,KAAK,CAAC,QAAQ,IAAI,8CAA8C,CAAC;IAClF,MAAM,WAAW,GAAG,KAAK,CAAC,WAAW,IAAI,0CAA0C,CAAC;IACpF,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,IAAI,YAAY,CAAC;IAE1C,KAAK,IAAI,OAAO,GAAG,CAAC,EAAE,OAAO,IAAI,QAAQ,EAAE,OAAO,IAAI,CAAC,EAAE,CAAC;QACxD,IAAI,CAAC;YACH,MAAM,KAAK,CAAC,UAAU,EAAE,CAAC;YACzB,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACvB,OAAO,IAAI,CAAC;QACd,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,OAAO,KAAK,QAAQ,EAAE,CAAC;gBACzB,KAAK,CAAC,WAAW,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAC;gBACvC,OAAO,KAAK,CAAC;YACf,CAAC;YACD,KAAK,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC;YAClC,MAAM,KAAK,CAAC,WAAW,GAAG,CAAC,IAAI,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC;QAChD,CAAC;IACH,CAAC;IAED,0GAA0G;IAC1G,KAAK,CAAC,WAAW,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,KAAK,CAAC,+CAA+C,CAAC,EAAE,CAAC,CAAC;IACnG,OAAO,KAAK,CAAC;AACf,CAAC","sourcesContent":["/**\n * Companion file-storage initialization, with a bounded retry (#1195).\n *\n * ## The race this exists for, measured\n *\n * The companion's object-storage session credentials come from apps-manager, and the companion routinely\n * starts while apps-manager is still binding its port. Measured 2026-09-16 on two running stacks: the\n * companion failed with `fetch failed | cause=ECONNRESET` at 05:01:13, and apps-manager reported its own\n * storage initialized 0.9 s later. `platform-module-registry` lost the same race and recovered; the\n * companion did not, because initialization ran EXACTLY ONCE.\n *\n * ## Why losing it once was expensive\n *\n * Storage is fail-closed with no fallback, so a companion that loses the race serves its whole lifetime\n * with file operations dead — while its readiness keeps answering 200 and the only trace is a log line\n * from minutes earlier. One of the two measured companions was in exactly that state, and the remedy\n * (restart) is invisible to the operator who never reads that line.\n *\n * ## Shape\n *\n * A pure function over an `initialize` thunk and callbacks: the service owns DI and logging, this owns the\n * retry decision, and a test can drive it without constructing the companion's container. Exhausting the\n * window keeps the ORIGINAL diagnostic — a bounded retry is not a reason to report a failure more quietly.\n */\n\n/** Five attempts over ~11 s: longer than any measured apps-manager boot gap, short enough to keep startup honest. */\nexport const COMPANION_FILE_STORAGE_INITIALIZATION_ATTEMPTS = 5;\n\n/** Doubles per attempt: 750 ms, 1.5 s, 3 s, 6 s. */\nexport const COMPANION_FILE_STORAGE_RETRY_BASE_DELAY_MS = 750;\n\nexport interface CompanionFileStorageRetryReport {\n /** 1-based attempt that failed. */\n readonly attempt: number;\n readonly error: unknown;\n}\n\nexport interface CompanionFileStorageExhaustedReport {\n readonly attempts: number;\n /** The LAST failure — what a reader needs to act on. */\n readonly error: unknown;\n}\n\nexport interface InitializeFileStorageWithRetryInput {\n initialize: () => Promise<void>;\n /** Called once when storage is usable, with the attempt that succeeded. */\n onReady: (attempt: number) => void;\n /** Called per failed attempt that will be retried. */\n onRetry: (report: CompanionFileStorageRetryReport) => void;\n /** Called once when the window is exhausted; storage is NOT usable. */\n onExhausted: (report: CompanionFileStorageExhaustedReport) => void;\n attempts?: number;\n baseDelayMs?: number;\n /** Injected so a test does not wait out the backoff. */\n sleep?: (milliseconds: number) => Promise<void>;\n}\n\nconst defaultSleep = (milliseconds: number): Promise<void> =>\n new Promise((resolve) => { setTimeout(resolve, milliseconds); });\n\n/** @returns whether file storage ended up initialized. */\nexport async function initializeFileStorageWithRetry(input: InitializeFileStorageWithRetryInput): Promise<boolean> {\n const attempts = input.attempts ?? COMPANION_FILE_STORAGE_INITIALIZATION_ATTEMPTS;\n const baseDelayMs = input.baseDelayMs ?? COMPANION_FILE_STORAGE_RETRY_BASE_DELAY_MS;\n const sleep = input.sleep ?? defaultSleep;\n\n for (let attempt = 1; attempt <= attempts; attempt += 1) {\n try {\n await input.initialize();\n input.onReady(attempt);\n return true;\n } catch (error) {\n if (attempt === attempts) {\n input.onExhausted({ attempts, error });\n return false;\n }\n input.onRetry({ attempt, error });\n await sleep(baseDelayMs * 2 ** (attempt - 1));\n }\n }\n\n // Unreachable while `attempts >= 1`; a caller passing 0 gets the honest answer rather than a silent true.\n input.onExhausted({ attempts, error: new Error('File storage initialization was not attempted') });\n return false;\n}\n"]}
1
+ {"version":3,"file":"file-storage-initialization.companion.js","sourceRoot":"","sources":["../../../../../src/core/runtime/services/file-storage-initialization.companion.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,qHAAqH;AACrH,MAAM,CAAC,MAAM,8CAA8C,GAAG,CAAC,CAAC;AAEhE,oDAAoD;AACpD,MAAM,CAAC,MAAM,0CAA0C,GAAG,GAAG,CAAC;AA4B9D,MAAM,YAAY,GAAG,CAAC,YAAoB,EAAiB,EAAE,CAC3D,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAEnE,0DAA0D;AAC1D,MAAM,CAAC,KAAK,UAAU,8BAA8B,CAAC,KAA0C;IAC7F,MAAM,QAAQ,GAAG,KAAK,CAAC,QAAQ,IAAI,8CAA8C,CAAC;IAClF,MAAM,WAAW,GAAG,KAAK,CAAC,WAAW,IAAI,0CAA0C,CAAC;IACpF,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,IAAI,YAAY,CAAC;IAE1C,KAAK,IAAI,OAAO,GAAG,CAAC,EAAE,OAAO,IAAI,QAAQ,EAAE,OAAO,IAAI,CAAC,EAAE,CAAC;QACxD,IAAI,CAAC;YACH,MAAM,KAAK,CAAC,UAAU,EAAE,CAAC;YACzB,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACvB,OAAO,IAAI,CAAC;QACd,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,OAAO,KAAK,QAAQ,EAAE,CAAC;gBACzB,KAAK,CAAC,WAAW,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAC;gBACvC,OAAO,KAAK,CAAC;YACf,CAAC;YACD,KAAK,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC;YAClC,MAAM,KAAK,CAAC,WAAW,GAAG,CAAC,IAAI,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC;QAChD,CAAC;IACH,CAAC;IAED,0GAA0G;IAC1G,KAAK,CAAC,WAAW,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,KAAK,CAAC,+CAA+C,CAAC,EAAE,CAAC,CAAC;IACnG,OAAO,KAAK,CAAC;AACf,CAAC","sourcesContent":["/**\n * Companion file-storage initialization, with a bounded retry (#1195).\n *\n * ## The race this exists for, measured\n *\n * The companion's object-storage session credentials come from apps-manager, and the companion routinely\n * starts while apps-manager is still binding its port. Measured 2026-09-16 on two running stacks: the\n * companion failed with `fetch failed | cause=ECONNRESET` at 05:01:13, and apps-manager reported its own\n * storage initialized 0.9 s later. `platform-module-registry` lost the same race and recovered; the\n * companion did not, because initialization ran EXACTLY ONCE.\n *\n * ## Why losing it once was expensive\n *\n * Storage is fail-closed with no fallback, so a companion that loses the race serves its whole lifetime\n * with file operations dead — while its readiness keeps answering 200 and the only trace is a log line\n * from minutes earlier. One of the two measured companions was in exactly that state, and the remedy\n * (restart) is invisible to the operator who never reads that line.\n *\n * ## Shape\n *\n * A pure function over an `initialize` thunk and callbacks: the service owns DI and logging, this owns the\n * retry decision, and a test can drive it without constructing the companion's container. Exhausting the\n * window keeps the ORIGINAL diagnostic — a bounded retry is not a reason to report a failure more quietly.\n */\n\n/** Five attempts over ~11 s: longer than any measured apps-manager boot gap, short enough to keep startup honest. */\nexport const COMPANION_FILE_STORAGE_INITIALIZATION_ATTEMPTS = 5;\n\n/** Doubles per attempt: 750 ms, 1.5 s, 3 s, 6 s. */\nexport const COMPANION_FILE_STORAGE_RETRY_BASE_DELAY_MS = 750;\n\nexport interface CompanionFileStorageRetryReport {\n /** 1-based attempt that failed. */\n readonly attempt: number;\n readonly error: unknown;\n}\n\nexport interface CompanionFileStorageExhaustedReport {\n readonly attempts: number;\n /** The LAST failure — what a reader needs to act on. */\n readonly error: unknown;\n}\n\nexport interface InitializeFileStorageWithRetryInput {\n initialize: () => Promise<void>;\n /** Called once when storage is usable, with the attempt that succeeded. */\n onReady: (attempt: number) => void;\n /** Called per failed attempt that will be retried. */\n onRetry: (report: CompanionFileStorageRetryReport) => void;\n /** Called once when the window is exhausted; storage is NOT usable. */\n onExhausted: (report: CompanionFileStorageExhaustedReport) => void;\n attempts?: number;\n baseDelayMs?: number;\n /** Injected so a test does not wait out the backoff. */\n sleep?: (milliseconds: number) => Promise<void>;\n}\n\nconst defaultSleep = (milliseconds: number): Promise<void> =>\n new Promise((resolve) => { setTimeout(resolve, milliseconds); });\n\n/** @returns whether file storage ended up initialized. */\nexport async function initializeFileStorageWithRetry(input: InitializeFileStorageWithRetryInput): Promise<boolean> {\n const attempts = input.attempts ?? COMPANION_FILE_STORAGE_INITIALIZATION_ATTEMPTS;\n const baseDelayMs = input.baseDelayMs ?? COMPANION_FILE_STORAGE_RETRY_BASE_DELAY_MS;\n const sleep = input.sleep ?? defaultSleep;\n\n for (let attempt = 1; attempt <= attempts; attempt += 1) {\n try {\n await input.initialize();\n input.onReady(attempt);\n return true;\n } catch (error) {\n if (attempt === attempts) {\n input.onExhausted({ attempts, error });\n return false;\n }\n input.onRetry({ attempt, error });\n await sleep(baseDelayMs * 2 ** (attempt - 1));\n }\n }\n\n // Unreachable while `attempts >= 1`; a caller passing 0 gets the honest answer rather than a silent true.\n input.onExhausted({ attempts, error: new Error('File storage initialization was not attempted') });\n return false;\n}\n"]}