@wildo-ai/dev-companion 1.1.3 → 1.1.4

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 (549) hide show
  1. package/dist/esm/.tsbuildinfo +1 -1
  2. package/dist/esm/__tests__/asset-noop.d.ts.map +1 -1
  3. package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts.map +1 -1
  4. package/dist/esm/__tests__/internal-test-view.d.ts.map +1 -1
  5. package/dist/esm/brand/models/logo-creative-brief.schemas.d.ts.map +1 -1
  6. package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts.map +1 -1
  7. package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts.map +1 -1
  8. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js +9 -3
  9. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -1
  10. package/dist/esm/brand/models/logo-judge.schemas.d.ts.map +1 -1
  11. package/dist/esm/brand/services/brand-accept.companion.service.d.ts +3 -24
  12. package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
  13. package/dist/esm/brand/services/brand-accept.companion.service.js +10 -48
  14. package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
  15. package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts.map +1 -1
  16. package/dist/esm/brand/services/logo-deliberation.companion.service.js +2 -8
  17. package/dist/esm/brand/services/logo-deliberation.companion.service.js.map +1 -1
  18. package/dist/esm/brand/services/logo-generation.companion.service.d.ts +6 -3
  19. package/dist/esm/brand/services/logo-generation.companion.service.d.ts.map +1 -1
  20. package/dist/esm/brand/services/logo-generation.companion.service.js +11 -12
  21. package/dist/esm/brand/services/logo-generation.companion.service.js.map +1 -1
  22. package/dist/esm/brand/utils/derived-brand-assets.d.ts +0 -1
  23. package/dist/esm/brand/utils/derived-brand-assets.d.ts.map +1 -1
  24. package/dist/esm/brand/utils/derived-brand-assets.js +1 -2
  25. package/dist/esm/brand/utils/derived-brand-assets.js.map +1 -1
  26. package/dist/esm/brand/utils/stage-brand-candidate.d.ts +7 -9
  27. package/dist/esm/brand/utils/stage-brand-candidate.d.ts.map +1 -1
  28. package/dist/esm/brand/utils/stage-brand-candidate.js +8 -11
  29. package/dist/esm/brand/utils/stage-brand-candidate.js.map +1 -1
  30. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +52 -2
  31. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
  32. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +45 -0
  33. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
  34. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +45 -5
  35. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
  36. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +192 -13
  37. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
  38. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts +12 -22
  39. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
  40. package/dist/esm/claude-cli/services/git-change-set.companion.service.js +151 -82
  41. package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
  42. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts +30 -4
  43. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -1
  44. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js +30 -4
  45. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -1
  46. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts +16 -0
  47. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
  48. package/dist/esm/claude-cli/services/research-evidence-store.companion.js +17 -0
  49. package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
  50. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.d.ts.map +1 -1
  51. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.d.ts.map +1 -1
  52. package/dist/esm/companion-api/companion-api.schemas.d.ts +57 -57
  53. package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
  54. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.d.ts.map +1 -1
  55. package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts +90 -0
  56. package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts.map +1 -0
  57. package/dist/esm/companion-api/controllers/companion-token-floor.policy.js +98 -0
  58. package/dist/esm/companion-api/controllers/companion-token-floor.policy.js.map +1 -0
  59. package/dist/esm/companion-api/controllers/companion.controller.d.ts +33 -5
  60. package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
  61. package/dist/esm/companion-api/controllers/companion.controller.js +150 -40
  62. package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
  63. package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts +8 -1
  64. package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts.map +1 -1
  65. package/dist/esm/core/auth/companion-auth-floor.companion.service.js +8 -1
  66. package/dist/esm/core/auth/companion-auth-floor.companion.service.js.map +1 -1
  67. package/dist/esm/core/catalogs/catalog-context.factory.d.ts.map +1 -1
  68. package/dist/esm/core/catalogs/catalog-context.factory.models.d.ts.map +1 -1
  69. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.d.ts.map +1 -1
  70. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.d.ts.map +1 -1
  71. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.d.ts.map +1 -1
  72. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.d.ts.map +1 -1
  73. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.d.ts.map +1 -1
  74. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.d.ts.map +1 -1
  75. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.d.ts.map +1 -1
  76. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.d.ts.map +1 -1
  77. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.d.ts.map +1 -1
  78. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.d.ts.map +1 -1
  79. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts +34 -0
  80. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts.map +1 -0
  81. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js +65 -0
  82. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js.map +1 -0
  83. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts +11 -1
  84. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts.map +1 -1
  85. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.js.map +1 -1
  86. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.d.ts.map +1 -1
  87. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.d.ts.map +1 -1
  88. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.d.ts.map +1 -1
  89. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js +10 -2
  90. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -1
  91. package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
  92. package/dist/esm/core/context/companion-context.d.ts.map +1 -1
  93. package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
  94. package/dist/esm/core/inject/models/container.d.ts.map +1 -1
  95. package/dist/esm/core/inject/models/container.js +0 -7
  96. package/dist/esm/core/inject/models/container.js.map +1 -1
  97. package/dist/esm/core/inject/models/service-types.d.ts +0 -1
  98. package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
  99. package/dist/esm/core/inject/models/service-types.js +0 -1
  100. package/dist/esm/core/inject/models/service-types.js.map +1 -1
  101. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -1
  102. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -1
  103. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -1
  104. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js +8 -4
  105. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js.map +1 -1
  106. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
  107. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +8 -1
  108. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
  109. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts.map +1 -1
  110. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -1
  111. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.d.ts.map +1 -1
  112. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts.map +1 -1
  113. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js +42 -1
  114. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
  115. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts.map +1 -1
  116. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
  117. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts.map +1 -1
  118. package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -1
  119. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts +4 -9
  120. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts.map +1 -1
  121. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js.map +1 -1
  122. package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts.map +1 -1
  123. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts.map +1 -1
  124. package/dist/esm/core/introspection/subprocess/asset-noop-register.d.ts.map +1 -1
  125. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.d.ts.map +1 -1
  126. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.d.ts.map +1 -1
  127. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
  128. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +3 -2
  129. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
  130. package/dist/esm/core/introspection/subprocess/companion-introspection-child.d.ts.map +1 -1
  131. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.d.ts.map +1 -1
  132. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts +14 -5
  133. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts.map +1 -1
  134. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js +14 -5
  135. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -1
  136. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.d.ts.map +1 -1
  137. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts.map +1 -1
  138. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts +0 -21
  139. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts.map +1 -1
  140. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js +39 -1
  141. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js.map +1 -1
  142. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts.map +1 -1
  143. package/dist/esm/core/introspection/subprocess/market-context-block.builder.d.ts.map +1 -1
  144. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts.map +1 -1
  145. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts +41 -2
  146. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts.map +1 -1
  147. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js +178 -41
  148. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
  149. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
  150. package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts +23 -0
  151. package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts.map +1 -1
  152. package/dist/esm/core/lock/wildo-saas-lock.companion.service.js +23 -0
  153. package/dist/esm/core/lock/wildo-saas-lock.companion.service.js.map +1 -1
  154. package/dist/esm/core/lock/wildo-saas-lock.models.d.ts.map +1 -1
  155. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts +4 -4
  156. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts.map +1 -1
  157. package/dist/esm/core/runtime/companion-startup-assembly.d.ts.map +1 -1
  158. package/dist/esm/core/runtime/companion-startup-assembly.js +5 -0
  159. package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
  160. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
  161. package/dist/esm/core/runtime/models/companion-runtime.models.d.ts.map +1 -1
  162. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +16 -13
  163. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
  164. package/dist/esm/core/runtime/services/start-companion-application.service.js +70 -45
  165. package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
  166. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.d.ts.map +1 -1
  167. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
  168. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js +9 -2
  169. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
  170. package/dist/esm/core/runtime/utils/companion-workbench-topology.d.ts.map +1 -1
  171. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.d.ts.map +1 -1
  172. package/dist/esm/core/specifications/chart-view-specification-context.factory.d.ts.map +1 -1
  173. package/dist/esm/core/specifications/composite-view-specification-context.factory.d.ts.map +1 -1
  174. package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts.map +1 -1
  175. package/dist/esm/core/specifications/execution-view-specification-context.factory.d.ts.map +1 -1
  176. package/dist/esm/core/specifications/feature-specification-context.factory.d.ts.map +1 -1
  177. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.d.ts.map +1 -1
  178. package/dist/esm/core/specifications/frontend-component-specification-context.factory.d.ts.map +1 -1
  179. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.d.ts.map +1 -1
  180. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.d.ts.map +1 -1
  181. package/dist/esm/core/specifications/milestone-specification-context.factory.d.ts.map +1 -1
  182. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.d.ts.map +1 -1
  183. package/dist/esm/core/specifications/onboarding-element-rendering.shared.d.ts.map +1 -1
  184. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.d.ts.map +1 -1
  185. package/dist/esm/core/specifications/product-specification-context.factory.d.ts.map +1 -1
  186. package/dist/esm/core/specifications/resource-specification-context.factory.d.ts.map +1 -1
  187. package/dist/esm/core/specifications/role-specification-context.factory.d.ts.map +1 -1
  188. package/dist/esm/core/specifications/specification-context-factory.d.ts.map +1 -1
  189. package/dist/esm/core/specifications/specification-context-factory.models.d.ts.map +1 -1
  190. package/dist/esm/core/specifications/specification-context-factory.shared.d.ts.map +1 -1
  191. package/dist/esm/core/specifications/system-email-template-specification-context.factory.d.ts.map +1 -1
  192. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.d.ts.map +1 -1
  193. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.d.ts.map +1 -1
  194. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.d.ts.map +1 -1
  195. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.d.ts.map +1 -1
  196. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.d.ts.map +1 -1
  197. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.d.ts.map +1 -1
  198. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.d.ts.map +1 -1
  199. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.d.ts.map +1 -1
  200. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.d.ts.map +1 -1
  201. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.d.ts.map +1 -1
  202. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.d.ts.map +1 -1
  203. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.d.ts.map +1 -1
  204. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.d.ts.map +1 -1
  205. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.d.ts.map +1 -1
  206. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.d.ts.map +1 -1
  207. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.d.ts.map +1 -1
  208. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.d.ts.map +1 -1
  209. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.d.ts.map +1 -1
  210. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.d.ts.map +1 -1
  211. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.d.ts.map +1 -1
  212. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.d.ts.map +1 -1
  213. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.d.ts.map +1 -1
  214. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.d.ts.map +1 -1
  215. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.d.ts.map +1 -1
  216. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.d.ts.map +1 -1
  217. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.d.ts.map +1 -1
  218. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.d.ts.map +1 -1
  219. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.d.ts.map +1 -1
  220. package/dist/esm/core/specifications/templates/product/product-all-information.template.d.ts.map +1 -1
  221. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.d.ts.map +1 -1
  222. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.d.ts.map +1 -1
  223. package/dist/esm/core/specifications/templates/product/product-translation-context.template.d.ts.map +1 -1
  224. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.d.ts.map +1 -1
  225. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.d.ts.map +1 -1
  226. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.d.ts.map +1 -1
  227. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.d.ts.map +1 -1
  228. package/dist/esm/core/specifications/templates/role/role-all-information.template.d.ts.map +1 -1
  229. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.d.ts.map +1 -1
  230. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.d.ts.map +1 -1
  231. package/dist/esm/core/specifications/templates/role/role-translation-context.template.d.ts.map +1 -1
  232. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.d.ts.map +1 -1
  233. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.d.ts.map +1 -1
  234. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.d.ts.map +1 -1
  235. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.d.ts.map +1 -1
  236. package/dist/esm/core/specifications/validate-resource-field-completeness.d.ts.map +1 -1
  237. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts.map +1 -1
  238. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js +4 -4
  239. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js.map +1 -1
  240. package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -1
  241. package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -1
  242. package/dist/esm/core/utils/atomic-write.utils.d.ts.map +1 -1
  243. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
  244. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js +13 -3
  245. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
  246. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
  247. package/dist/esm/deliberations/services/deliberation.companion.service.js +0 -5
  248. package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
  249. package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts.map +1 -1
  250. package/dist/esm/deliberations/services/structured-deliberation.companion.service.js +0 -2
  251. package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -1
  252. package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts.map +1 -1
  253. package/dist/esm/email/models/email-template.actors-system.definitions.d.ts.map +1 -1
  254. package/dist/esm/email/models/email-template.actors-system.definitions.js +4 -2
  255. package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -1
  256. package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts +1 -1
  257. package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts.map +1 -1
  258. package/dist/esm/email/services/email-spec-context-loader.companion.service.js +1 -1
  259. package/dist/esm/email/services/email-spec-context-loader.companion.service.js.map +1 -1
  260. package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
  261. package/dist/esm/email/services/email-template.companion.service.js +23 -1
  262. package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
  263. package/dist/esm/email/utils/email-labels-file-source.utils.d.ts.map +1 -1
  264. package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
  265. package/dist/esm/executions/services/companion-executions.companion.service.d.ts +82 -3
  266. package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
  267. package/dist/esm/executions/services/companion-executions.companion.service.js +128 -6
  268. package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
  269. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -1
  270. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js +7 -3
  271. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -1
  272. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -1
  273. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js +11 -5
  274. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -1
  275. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts.map +1 -1
  276. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts +9 -24
  277. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
  278. package/dist/esm/expert-personas/services/expert-persona.companion.service.js +11 -60
  279. package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
  280. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts.map +1 -1
  281. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts.map +1 -1
  282. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts.map +1 -1
  283. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.d.ts.map +1 -1
  284. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.d.ts.map +1 -1
  285. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts.map +1 -1
  286. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts.map +1 -1
  287. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts.map +1 -1
  288. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  289. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts.map +1 -1
  290. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.d.ts.map +1 -1
  291. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts.map +1 -1
  292. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts.map +1 -1
  293. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts.map +1 -1
  294. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts.map +1 -1
  295. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts.map +1 -1
  296. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts.map +1 -1
  297. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts.map +1 -1
  298. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts.map +1 -1
  299. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts.map +1 -1
  300. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts.map +1 -1
  301. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts.map +1 -1
  302. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts.map +1 -1
  303. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts.map +1 -1
  304. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts.map +1 -1
  305. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts.map +1 -1
  306. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts.map +1 -1
  307. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.d.ts.map +1 -1
  308. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts.map +1 -1
  309. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -1
  310. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
  311. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts.map +1 -1
  312. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts.map +1 -1
  313. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.d.ts.map +1 -1
  314. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.d.ts.map +1 -1
  315. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts.map +1 -1
  316. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts.map +1 -1
  317. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.d.ts.map +1 -1
  318. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts.map +1 -1
  319. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts.map +1 -1
  320. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts.map +1 -1
  321. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.d.ts.map +1 -1
  322. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.d.ts.map +1 -1
  323. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.d.ts.map +1 -1
  324. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts.map +1 -1
  325. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts.map +1 -1
  326. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.d.ts.map +1 -1
  327. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.d.ts.map +1 -1
  328. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.d.ts.map +1 -1
  329. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts.map +1 -1
  330. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts.map +1 -1
  331. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts.map +1 -1
  332. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts.map +1 -1
  333. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts.map +1 -1
  334. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts.map +1 -1
  335. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts.map +1 -1
  336. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts.map +1 -1
  337. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts.map +1 -1
  338. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.d.ts.map +1 -1
  339. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.d.ts.map +1 -1
  340. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.d.ts.map +1 -1
  341. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.d.ts.map +1 -1
  342. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts.map +1 -1
  343. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts.map +1 -1
  344. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -1
  345. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.d.ts.map +1 -1
  346. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts.map +1 -1
  347. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.d.ts.map +1 -1
  348. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts.map +1 -1
  349. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.d.ts.map +1 -1
  350. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts.map +1 -1
  351. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts.map +1 -1
  352. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts.map +1 -1
  353. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.d.ts.map +1 -1
  354. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts.map +1 -1
  355. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.d.ts.map +1 -1
  356. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.d.ts.map +1 -1
  357. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts.map +1 -1
  358. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts.map +1 -1
  359. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts.map +1 -1
  360. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts.map +1 -1
  361. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts.map +1 -1
  362. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts.map +1 -1
  363. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.d.ts.map +1 -1
  364. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts.map +1 -1
  365. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts.map +1 -1
  366. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts.map +1 -1
  367. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.d.ts.map +1 -1
  368. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts.map +1 -1
  369. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts.map +1 -1
  370. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.d.ts.map +1 -1
  371. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -1
  372. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts.map +1 -1
  373. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.d.ts.map +1 -1
  374. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.d.ts.map +1 -1
  375. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.d.ts.map +1 -1
  376. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts.map +1 -1
  377. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.d.ts.map +1 -1
  378. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.d.ts.map +1 -1
  379. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts.map +1 -1
  380. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.d.ts.map +1 -1
  381. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  382. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts.map +1 -1
  383. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts.map +1 -1
  384. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts +39 -0
  385. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts.map +1 -0
  386. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js +39 -0
  387. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js.map +1 -0
  388. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts.map +1 -1
  389. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -1
  390. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts.map +1 -1
  391. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts.map +1 -1
  392. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts.map +1 -1
  393. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts.map +1 -1
  394. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
  395. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts.map +1 -1
  396. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts.map +1 -1
  397. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts.map +1 -1
  398. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts.map +1 -1
  399. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts.map +1 -1
  400. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts.map +1 -1
  401. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts.map +1 -1
  402. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts.map +1 -1
  403. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -1
  404. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts.map +1 -1
  405. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
  406. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts.map +1 -1
  407. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
  408. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts.map +1 -1
  409. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts.map +1 -1
  410. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.d.ts.map +1 -1
  411. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts.map +1 -1
  412. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts.map +1 -1
  413. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts.map +1 -1
  414. package/dist/esm/i18n/components/guidance_announcement.en.d.ts.map +1 -1
  415. package/dist/esm/i18n/components/guidance_banner.en.d.ts.map +1 -1
  416. package/dist/esm/i18n/components/guidance_card.en.d.ts.map +1 -1
  417. package/dist/esm/i18n/components/guidance_checklist.en.d.ts.map +1 -1
  418. package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts.map +1 -1
  419. package/dist/esm/i18n/components/guidance_modal.en.d.ts.map +1 -1
  420. package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts.map +1 -1
  421. package/dist/esm/i18n/components/guidance_survey.en.d.ts.map +1 -1
  422. package/dist/esm/i18n/components/guidance_tooltip.en.d.ts.map +1 -1
  423. package/dist/esm/i18n/components/guidance_tour.en.d.ts.map +1 -1
  424. package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts.map +1 -1
  425. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
  426. package/dist/esm/i18n/composite_views/app.creation-board.en.d.ts.map +1 -1
  427. package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts.map +1 -1
  428. package/dist/esm/i18n/index.d.ts.map +1 -1
  429. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
  430. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
  431. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
  432. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
  433. package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts.map +1 -1
  434. package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
  435. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
  436. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
  437. package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -1
  438. package/dist/esm/i18n/system_enums/market.en.d.ts.map +1 -1
  439. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts +58 -0
  440. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
  441. package/dist/esm/i18n-labelling/models/labelling-unit.models.js +35 -0
  442. package/dist/esm/i18n-labelling/models/labelling-unit.models.js.map +1 -1
  443. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts.map +1 -1
  444. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js +8 -3
  445. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -1
  446. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.d.ts.map +1 -1
  447. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts +55 -1
  448. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
  449. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js +178 -73
  450. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
  451. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts +3 -3
  452. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts.map +1 -1
  453. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js +16 -5
  454. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js.map +1 -1
  455. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts +35 -2
  456. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -1
  457. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js +68 -29
  458. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js.map +1 -1
  459. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -1
  460. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js +126 -35
  461. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
  462. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts.map +1 -1
  463. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts.map +1 -1
  464. package/dist/esm/i18n-labelling/utils/label-file-source.utils.d.ts.map +1 -1
  465. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts +143 -0
  466. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts.map +1 -0
  467. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js +179 -0
  468. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js.map +1 -0
  469. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts +154 -0
  470. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts.map +1 -0
  471. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js +174 -0
  472. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js.map +1 -0
  473. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts.map +1 -1
  474. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.d.ts.map +1 -1
  475. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts +104 -0
  476. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -1
  477. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js +163 -18
  478. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
  479. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.map +1 -1
  480. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.d.ts.map +1 -1
  481. package/dist/esm/index.d.ts.map +1 -1
  482. package/dist/esm/market/services/market-generation.companion.service.d.ts.map +1 -1
  483. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts +82 -3
  484. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
  485. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js +210 -54
  486. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
  487. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts +27 -1
  488. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -1
  489. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js +38 -5
  490. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -1
  491. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts +49 -0
  492. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts.map +1 -0
  493. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js +95 -0
  494. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -0
  495. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -1
  496. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts.map +1 -1
  497. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js +9 -4
  498. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js.map +1 -1
  499. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts.map +1 -1
  500. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +25 -6
  501. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
  502. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +82 -25
  503. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
  504. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +83 -2
  505. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
  506. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +197 -4
  507. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
  508. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
  509. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts.map +1 -1
  510. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
  511. package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.d.ts.map +1 -1
  512. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.d.ts.map +1 -1
  513. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -1
  514. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +44 -3
  515. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
  516. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +346 -42
  517. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
  518. package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.d.ts.map +1 -1
  519. package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts +117 -2
  520. package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts.map +1 -1
  521. package/dist/esm/technical-doc/services/technical-doc.companion.service.js +260 -69
  522. package/dist/esm/technical-doc/services/technical-doc.companion.service.js.map +1 -1
  523. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts +7 -1
  524. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts.map +1 -1
  525. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js +179 -10
  526. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js.map +1 -1
  527. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.d.ts.map +1 -1
  528. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.d.ts.map +1 -1
  529. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts +2 -1
  530. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -1
  531. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js +10 -2
  532. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -1
  533. package/package.json +17 -17
  534. package/dist/esm/core/runtime/companion-startup-composition-fence.d.ts +0 -44
  535. package/dist/esm/core/runtime/companion-startup-composition-fence.d.ts.map +0 -1
  536. package/dist/esm/core/runtime/companion-startup-composition-fence.js +0 -85
  537. package/dist/esm/core/runtime/companion-startup-composition-fence.js.map +0 -1
  538. package/dist/esm/expert-personas/utils/canonical-json.d.ts +0 -25
  539. package/dist/esm/expert-personas/utils/canonical-json.d.ts.map +0 -1
  540. package/dist/esm/expert-personas/utils/canonical-json.js +0 -45
  541. package/dist/esm/expert-personas/utils/canonical-json.js.map +0 -1
  542. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts +0 -19
  543. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +0 -1
  544. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js +0 -19
  545. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +0 -1
  546. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PROMOTION_CODE_INPUT.en.d.ts +0 -17
  547. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PROMOTION_CODE_INPUT.en.d.ts.map +0 -1
  548. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PROMOTION_CODE_INPUT.en.js +0 -17
  549. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PROMOTION_CODE_INPUT.en.js.map +0 -1
@@ -42,14 +42,15 @@ var __metadata = (this && this.__metadata) || function (k, v) {
42
42
  var __param = (this && this.__param) || function (paramIndex, decorator) {
43
43
  return function (target, key) { decorator(target, key, paramIndex); }
44
44
  };
45
+ var TechnicalDocCompanionService_1;
45
46
  import { existsSync } from 'node:fs';
46
47
  import * as path from 'node:path';
47
48
  import { inject, injectable } from 'inversify';
48
49
  import { AppConfigurationService, ErrorBuilderBackendService, LoggerService, SAAS_SERVICE_TYPES, resolveFeatureGatedCoreResourceExclusions, describeCaughtError, } from '@wildo-ai/saas-backend-lib';
49
50
  import { AuthMethod, CoreResourceType, ErrorCustomMessageReference, ErrorType, getEnabledMethods } from '@wildo-ai/saas-models';
50
51
  import { AppFrontendType, loadConfig } from '@wildo-ai/platform-config-lib';
51
- import { generateOpenApiDocuments, resolveTechnicalDocumentationForbiddenPublicSentinels, resolveTechnicalDocumentationOutputBudgets, OpenApiGenerationInputSchema, resolveApplicationOrganizationRoleDocumentation, } from '@wildo-ai/saas-technical-doc/companion';
52
- import { createApiReferenceLinkIndex, resolveTechnicalDocumentationApiReferenceLink, } from '@wildo-ai/saas-technical-doc';
52
+ import { generateOpenApiDocuments, resolveTechnicalDocumentationForbiddenPublicSentinels, resolveTechnicalDocumentationOutputBudgets, OpenApiGenerationInputSchema, applyAuthoredRoleLabelsToOperationAccess, resolveApplicationOrganizationRoleDocumentation, } from '@wildo-ai/saas-technical-doc/companion';
53
+ import { createApiReferenceLinkIndex, getTechnicalDocumentationApiReferenceTargetAvailability, resolveTechnicalDocumentationApiReferenceLink, TechnicalDocumentationApiReferenceTargetAvailability, } from '@wildo-ai/saas-technical-doc';
53
54
  import { createConservedApiReferenceModel } from '@wildo-ai/saas-technical-doc/openapi-reference-model';
54
55
  import { TechnicalDocumentationPilotCompanionService } from './technical-documentation-pilot.companion.service.js';
55
56
  import { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types.js';
@@ -76,7 +77,7 @@ import { ROLE_LABELLING_UNIT_FILE_PATH_HINT } from '../../i18n-labelling/utils/r
76
77
  * OpenAPI metadata).
77
78
  */
78
79
  const PER_SERVICE_TECH_DOC_CONFIG_FILE_NAME = 'wildo.tech-doc.config.ts';
79
- let TechnicalDocCompanionService = class TechnicalDocCompanionService {
80
+ let TechnicalDocCompanionService = TechnicalDocCompanionService_1 = class TechnicalDocCompanionService {
80
81
  logger;
81
82
  errorBuilder;
82
83
  appConfigService;
@@ -110,13 +111,22 @@ let TechnicalDocCompanionService = class TechnicalDocCompanionService {
110
111
  const organizationRoles = await this.resolveApplicationOrganizationRoles(input.backendServiceKey, subprocessOutput.organizationRoles);
111
112
  return this.applicationDerivationService.deriveAuthorizedBundles({
112
113
  ...input,
113
- operations: subprocessOutput.operations,
114
+ operations: applyAuthoredRoleLabelsToOperationAccess(subprocessOutput.operations, TechnicalDocCompanionService_1.roleLabels(organizationRoles)),
114
115
  hasConfiguredMcpToolOperations: subprocessOutput.hasConfiguredMcpToolOperations,
115
116
  hasConfiguredA2aSkills: subprocessOutput.hasConfiguredA2aSkills,
116
117
  organizationRoles,
117
118
  organizationUnitAwareResources: subprocessOutput.organizationUnitAwareResources,
118
119
  ...this.resolveApplicationConnectionInputs(technicalDocConfig),
119
120
  authentication: this.resolveApplicationAuthenticationInputs(),
121
+ integration: { mcpTools: subprocessOutput.mcpTools, webhookEvents: subprocessOutput.webhookEvents },
122
+ /*
123
+ * The CATEGORISED tags, not the raw ones. The categoriser is what attaches the application's
124
+ * own grouping and validates it (every published resource named exactly once, no unknown
125
+ * names), so passing the raw list would silently drop the grouping and put the whole domain
126
+ * in one unnamed pile.
127
+ */
128
+ resourceTags: applyApiReferenceResourceCategories(subprocessOutput.resourceTags, technicalDocConfig.apiReferenceResourceCategories),
129
+ applicationOwnedResourceIdentifiers: subprocessOutput.applicationOwnedResourceIdentifiers ?? [],
120
130
  });
121
131
  }
122
132
  /**
@@ -221,16 +231,44 @@ let TechnicalDocCompanionService = class TechnicalDocCompanionService {
221
231
  documents: generated.documents,
222
232
  sourceUnitRefs: [`technical-documentation:source/openapi/${this.companionContext.saasConfig.slug}`],
223
233
  });
224
- return publisher.generateValidateAndPublish({
234
+ /*
235
+ * A guide may link to an API-reference target this application does not publish — the engine
236
+ * hardcodes 43 `apiReferenceTargets` naming engine resources an application may feature-gate
237
+ * off. Those links DEGRADE to plain text and the rest of the portal publishes (#472).
238
+ *
239
+ * Reporting is the half that keeps the degradation from becoming the next silent gap: every
240
+ * dropped target is collected here and named after publication, so an author sees which links
241
+ * their configuration removed rather than discovering a thinner portal.
242
+ */
243
+ const degradedApiReferenceTargets = [];
244
+ const resolveApiReferenceTarget = (target) => {
245
+ if (getTechnicalDocumentationApiReferenceTargetAvailability(apiReferenceLinkIndex, target)
246
+ === TechnicalDocumentationApiReferenceTargetAvailability.UNAVAILABLE) {
247
+ degradedApiReferenceTargets.push(JSON.stringify(target));
248
+ return null;
249
+ }
250
+ return resolveTechnicalDocumentationApiReferenceLink(apiReferenceLinkIndex, target);
251
+ };
252
+ const publication = await publisher.generateValidateAndPublish({
225
253
  derivation: generated.derivation,
226
254
  supportedApiVersion: technicalDocConfig.supportedApiVersion,
227
255
  forbiddenPublicSentinels: resolveTechnicalDocumentationForbiddenPublicSentinels(technicalDocConfig.forbiddenPublicSentinels),
228
256
  budgets: resolveTechnicalDocumentationOutputBudgets(technicalDocConfig.outputBudgets),
229
- resolveApiReferenceTarget: (target) => resolveTechnicalDocumentationApiReferenceLink(apiReferenceLinkIndex, target),
257
+ resolveApiReferenceTarget,
230
258
  ...(input.refuseProvisionalAssets === undefined
231
259
  ? {}
232
260
  : { refuseProvisionalAssets: input.refuseProvisionalAssets }),
233
261
  });
262
+ if (degradedApiReferenceTargets.length > 0) {
263
+ // Deduplicated: one target linked from several guides is ONE configuration fact, and
264
+ // repeating it per link would bury the distinct ones.
265
+ const distinct = [...new Set(degradedApiReferenceTargets)].sort();
266
+ this.logger.warn('technical-documentation API-reference links degraded to plain text — this application does not publish these targets', {
267
+ count: distinct.length,
268
+ targets: distinct,
269
+ });
270
+ }
271
+ return publication;
234
272
  }
235
273
  /**
236
274
  * Generates the complete API reference from the resolved application and
@@ -251,15 +289,24 @@ let TechnicalDocCompanionService = class TechnicalDocCompanionService {
251
289
  const organizationRoles = await this.resolveApplicationOrganizationRoles(input.backendServiceKey, subprocessOutput.organizationRoles);
252
290
  const derivation = await this.applicationDerivationService.deriveAuthorizedBundles({
253
291
  ...input,
254
- operations: subprocessOutput.operations,
292
+ operations: applyAuthoredRoleLabelsToOperationAccess(subprocessOutput.operations, TechnicalDocCompanionService_1.roleLabels(organizationRoles)),
255
293
  hasConfiguredMcpToolOperations: subprocessOutput.hasConfiguredMcpToolOperations,
256
294
  hasConfiguredA2aSkills: subprocessOutput.hasConfiguredA2aSkills,
257
295
  organizationRoles,
258
296
  organizationUnitAwareResources: subprocessOutput.organizationUnitAwareResources,
259
297
  ...this.resolveApplicationConnectionInputs(technicalDocConfig),
260
298
  authentication: this.resolveApplicationAuthenticationInputs(),
299
+ integration: { mcpTools: subprocessOutput.mcpTools, webhookEvents: subprocessOutput.webhookEvents },
300
+ /*
301
+ * The CATEGORISED tags, not the raw ones. The categoriser is what attaches the application's
302
+ * own grouping and validates it (every published resource named exactly once, no unknown
303
+ * names), so passing the raw list would silently drop the grouping and put the whole domain
304
+ * in one unnamed pile.
305
+ */
306
+ resourceTags: applyApiReferenceResourceCategories(subprocessOutput.resourceTags, technicalDocConfig.apiReferenceResourceCategories),
307
+ applicationOwnedResourceIdentifiers: subprocessOutput.applicationOwnedResourceIdentifiers ?? [],
261
308
  });
262
- const generationInput = this.assembleGenerationInput(subprocessOutput, technicalDocConfig);
309
+ const generationInput = this.assembleGenerationInput(subprocessOutput, technicalDocConfig, TechnicalDocCompanionService_1.roleLabels(organizationRoles));
263
310
  return Object.freeze({
264
311
  derivation,
265
312
  documents: generateOpenApiDocuments(generationInput),
@@ -290,7 +337,7 @@ let TechnicalDocCompanionService = class TechnicalDocCompanionService {
290
337
  const technicalDocConfig = await this.loadTechnicalDocConfig();
291
338
  const excludedCoreResourceTypes = resolveFeatureGatedCoreResourceExclusions(this.appConfigService.config);
292
339
  const subprocessOutput = await this.callSubprocessProjector(technicalDocConfig.apiDocResources, excludedCoreResourceTypes ? [...excludedCoreResourceTypes].sort() : undefined);
293
- const generationInput = this.assembleGenerationInput(subprocessOutput, technicalDocConfig);
340
+ const generationInput = this.assembleGenerationInput(subprocessOutput, technicalDocConfig, await this.resolveRoleLabelsBestEffort(subprocessOutput.organizationRoles));
294
341
  const documents = generateOpenApiDocuments(generationInput);
295
342
  this.logDebug('technical-doc generate-openapi — success', {
296
343
  appSlug: generationInput.appSlug,
@@ -360,20 +407,39 @@ let TechnicalDocCompanionService = class TechnicalDocCompanionService {
360
407
  });
361
408
  }
362
409
  const data = introspection.data;
363
- if (!isPlainObject(data)
364
- || !Array.isArray(data.operations)
365
- || typeof data.hasConfiguredMcpToolOperations !== 'boolean'
366
- || typeof data.hasConfiguredA2aSkills !== 'boolean'
367
- || !isPlainObject(data.errorResponseSchema)
368
- || !Array.isArray(data.resourceTags)
369
- || !Array.isArray(data.organizationRoles)
370
- || !Array.isArray(data.organizationUnitAwareResources)
371
- || !isOpenApiGenerationProjectorStats(data.stats)) {
410
+ /*
411
+ * Collect EVERY unmet expectation rather than short-circuiting on the first, and name each one.
412
+ * The previous form was a single `||` chain whose message listed all eight expectations and
413
+ * identified none of them, so a real refusal — the row-conservation clause, once the projector
414
+ * grew a second producer of operations — presented as an opaque 500 and had to be re-derived by
415
+ * hand from a running companion. Which clause refused, and on which numbers, is knowable here.
416
+ */
417
+ const violations = [];
418
+ if (!isPlainObject(data)) {
419
+ violations.push(`payload: expected an object, received ${describeReceivedValue(data)}`);
420
+ }
421
+ else {
422
+ if (!Array.isArray(data.operations))
423
+ violations.push(`operations: expected OperationProjection[], received ${describeReceivedValue(data.operations)}`);
424
+ if (typeof data.hasConfiguredMcpToolOperations !== 'boolean')
425
+ violations.push(`hasConfiguredMcpToolOperations: expected boolean, received ${describeReceivedValue(data.hasConfiguredMcpToolOperations)}`);
426
+ if (typeof data.hasConfiguredA2aSkills !== 'boolean')
427
+ violations.push(`hasConfiguredA2aSkills: expected boolean, received ${describeReceivedValue(data.hasConfiguredA2aSkills)}`);
428
+ if (!isPlainObject(data.errorResponseSchema))
429
+ violations.push(`errorResponseSchema: expected object, received ${describeReceivedValue(data.errorResponseSchema)}`);
430
+ if (!Array.isArray(data.resourceTags))
431
+ violations.push(`resourceTags: expected ResourceTag[], received ${describeReceivedValue(data.resourceTags)}`);
432
+ if (!Array.isArray(data.organizationRoles))
433
+ violations.push(`organizationRoles: expected OrganizationRole[], received ${describeReceivedValue(data.organizationRoles)}`);
434
+ if (!Array.isArray(data.organizationUnitAwareResources))
435
+ violations.push(`organizationUnitAwareResources: expected OrganizationUnitAwareResource[], received ${describeReceivedValue(data.organizationUnitAwareResources)}`);
436
+ violations.push(...describeOpenApiGenerationProjectorStatsViolations(data.stats));
437
+ }
438
+ if (violations.length > 0) {
372
439
  throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {
373
440
  customMessageReference: ErrorCustomMessageReference.INTERNAL,
374
441
  context: {
375
- message: 'openapi-generation-input subprocess returned a malformed payload — expected '
376
- + '`{ operations: OperationProjection[], hasConfiguredMcpToolOperations: boolean, hasConfiguredA2aSkills: boolean, organizationRoles: OrganizationRole[], organizationUnitAwareResources: OrganizationUnitAwareResource[], errorResponseSchema: object, resourceTags: ResourceTag[], stats: { ... } }`.',
442
+ message: `openapi-generation-input subprocess returned a malformed payload — ${violations.join('; ')}`,
377
443
  },
378
444
  });
379
445
  }
@@ -399,7 +465,7 @@ let TechnicalDocCompanionService = class TechnicalDocCompanionService {
399
465
  * must be updated in the same commit and the Zod parse will
400
466
  * fail fast otherwise.
401
467
  */
402
- assembleGenerationInput(subprocessOutput, technicalDocConfig) {
468
+ assembleGenerationInput(subprocessOutput, technicalDocConfig, roleLabelsByRole) {
403
469
  const saasConfig = this.companionContext.saasConfig;
404
470
  const candidateInput = {
405
471
  appSlug: saasConfig.slug,
@@ -408,7 +474,7 @@ let TechnicalDocCompanionService = class TechnicalDocCompanionService {
408
474
  ...(technicalDocConfig.publicMarketingTitle
409
475
  ? { publicMarketingTitle: technicalDocConfig.publicMarketingTitle }
410
476
  : {}),
411
- operations: subprocessOutput.operations,
477
+ operations: [...applyAuthoredRoleLabelsToOperationAccess(subprocessOutput.operations, roleLabelsByRole)],
412
478
  errorResponseSchema: subprocessOutput.errorResponseSchema,
413
479
  ...(subprocessOutput.resourceTags && subprocessOutput.resourceTags.length > 0
414
480
  ? { resourceTags: applyApiReferenceResourceCategories(subprocessOutput.resourceTags, technicalDocConfig.apiReferenceResourceCategories) }
@@ -545,6 +611,36 @@ let TechnicalDocCompanionService = class TechnicalDocCompanionService {
545
611
  * member-management interface, so an incomplete label unit blocks
546
612
  * publication instead of falling back to a prettified role token.
547
613
  */
614
+ /**
615
+ * The authored label per role, as the join needs it.
616
+ *
617
+ * Reached only AFTER {@link resolveApplicationOrganizationRoles}, which refuses a role whose
618
+ * primary-locale label the application has not generated — so on this path every role has one.
619
+ */
620
+ static roleLabels(roles) {
621
+ return Object.fromEntries(roles.map((role) => [role.role, role.label]));
622
+ }
623
+ /**
624
+ * The same labels for the READ door, WITHOUT the refusal.
625
+ *
626
+ * `generateOpenApiDocuments` generates a document and writes nothing. Failing it closed because an
627
+ * application has not generated its role labels yet would make a read unavailable for an authoring
628
+ * gap whose remedy is elsewhere — the shape `.claude/rules/continuity-drift-and-cas-basis.md`
629
+ * Rule 3 warns about. Publication keeps the refusal, which is where it belongs; here a role with
630
+ * no authored label keeps its token.
631
+ */
632
+ async resolveRoleLabelsBestEffort(roles) {
633
+ try {
634
+ const resolved = await this.resolveApplicationOrganizationRoles(this.pickProjectorCarrierServiceKey(), roles);
635
+ return TechnicalDocCompanionService_1.roleLabels(resolved);
636
+ }
637
+ catch (error) {
638
+ this.logDebug('technical-doc generate-openapi — role labels unavailable, roles keep their tokens', {
639
+ reason: describeCaughtError(error),
640
+ });
641
+ return {};
642
+ }
643
+ }
548
644
  async resolveApplicationOrganizationRoles(backendServiceKey, roles) {
549
645
  const backendService = this.companionContext.servicesByKey[backendServiceKey];
550
646
  if (backendService === undefined || backendService.frontendType !== undefined) {
@@ -582,15 +678,8 @@ let TechnicalDocCompanionService = class TechnicalDocCompanionService {
582
678
  }
583
679
  return backendServiceKey;
584
680
  }
585
- pickFrontendApplicationServiceKey() {
586
- const frontendServiceKey = Object.entries(this.companionContext.servicesByKey)
587
- .find(([, service]) => service.frontendType === AppFrontendType.SAAS_APP)?.[0];
588
- if (!frontendServiceKey)
589
- throw new Error('technical-documentation frontend runtime evidence requires one SAAS_APP service');
590
- return frontendServiceKey;
591
- }
592
681
  };
593
- TechnicalDocCompanionService = __decorate([
682
+ TechnicalDocCompanionService = TechnicalDocCompanionService_1 = __decorate([
594
683
  injectable(),
595
684
  __param(0, inject(SAAS_SERVICE_TYPES.Logger)),
596
685
  __param(1, inject(SAAS_SERVICE_TYPES.ErrorBuilderService)),
@@ -614,6 +703,18 @@ export { TechnicalDocCompanionService };
614
703
  * Once an application elects to declare categories, an exact inventory join is
615
704
  * required: an uncategorised new resource or a stale config name must stop
616
705
  * publication instead of quietly producing a misleading partial navigation.
706
+ *
707
+ * The completeness rule is about the RESULT, not about this config: a resource
708
+ * satisfies it either by being assigned here or by already carrying the
709
+ * engine's own sub-domain category (`projectResourceTag`). That distinction is
710
+ * what makes the declaration usable at all — a generated application publishes
711
+ * roughly eight resources of its own beside fifty-two of the engine's, so a
712
+ * rule demanding the config name every one of them means an application must
713
+ * hand-classify the engine's catalogue, and re-classify it whenever the engine
714
+ * grows. Wonder CRM opted out entirely for that reason and rendered its whole
715
+ * reference as one flat list. An explicit assignment still WINS over the
716
+ * engine's default, so an application that wants its own product-shaped
717
+ * taxonomy across engine and application resources keeps it.
617
718
  */
618
719
  export function applyApiReferenceResourceCategories(resourceTags, categories) {
619
720
  if (categories === undefined)
@@ -642,12 +743,17 @@ export function applyApiReferenceResourceCategories(resourceTags, categories) {
642
743
  if (unavailableResourceNames.length > 0) {
643
744
  throw new Error(`API-reference categories name unavailable resources: ${unavailableResourceNames.sort().join(', ')}`);
644
745
  }
645
- const unassignedResourceNames = [...tagsByName.keys()].filter((resourceName) => !categoryByResourceName.has(resourceName)).sort();
646
- if (unassignedResourceNames.length > 0) {
647
- throw new Error(`API-reference resources have no configured category: ${unassignedResourceNames.join(', ')}`);
746
+ const uncategorisedResourceNames = resourceTags
747
+ .filter((tag) => !categoryByResourceName.has(tag.name) && tag.category === undefined)
748
+ .map((tag) => tag.name)
749
+ .sort();
750
+ if (uncategorisedResourceNames.length > 0) {
751
+ throw new Error(`API-reference resources have no category, from this config or from the engine: ${uncategorisedResourceNames.join(', ')}`);
648
752
  }
649
753
  return resourceTags.map((tag) => {
650
754
  const category = categoryByResourceName.get(tag.name);
755
+ if (category === undefined)
756
+ return { ...tag };
651
757
  return {
652
758
  ...tag,
653
759
  category: {
@@ -670,8 +776,20 @@ function isNonNegativeInteger(value) {
670
776
  * flattening it; this parent-side join prevents a future projector filter,
671
777
  * collapse or mapper change from merely adjusting a count while dropping the
672
778
  * operation that the count represented.
779
+ *
780
+ * TOTAL OVER THE PROJECTOR'S PRODUCERS, and that is the part that has to be
781
+ * maintained. The registry inventory is a bijection onto its own rows; the
782
+ * manual controller-route catalog contributes rows that are deliberately not in
783
+ * that inventory and are counted separately. So the identity is
784
+ * `registry + manual = payload`, with every registry entry present. Written
785
+ * flat (`registry = payload`) it silently became false the day the manual
786
+ * family was added, and refused every publication in the whole fleet.
787
+ *
788
+ * A future third producer belongs in this sum as its own named term. Do NOT
789
+ * relax the equality to an inequality or a subset test to accommodate one — the
790
+ * whole value of this join is that a dropped operation cannot hide inside slack.
673
791
  */
674
- function assertResolvedHttpOperationProjectionConservation(output) {
792
+ export function assertResolvedHttpOperationProjectionConservation(output) {
675
793
  const key = (entry) => JSON.stringify([
676
794
  entry.identity.contractVersion,
677
795
  entry.identity.resourceRef,
@@ -689,62 +807,135 @@ function assertResolvedHttpOperationProjectionConservation(output) {
689
807
  section: operation.consumerApiSection,
690
808
  roles: operation.roles,
691
809
  })));
692
- if (source.size !== output.stats.resolvedExternalHttpOperations.length
693
- || projections.size !== output.operations.length
694
- || source.size !== projections.size
695
- || [...source].some((entry) => !projections.has(entry))) {
696
- throw new Error('openapi-generation-input subprocess violated resolved HTTP operation → projection conservation');
810
+ const manualRowCount = output.stats.manualControllerRouteRowCount;
811
+ const violations = [];
812
+ if (source.size !== output.stats.resolvedExternalHttpOperations.length) {
813
+ violations.push(`stats.resolvedExternalHttpOperations contains duplicate identities: ${output.stats.resolvedExternalHttpOperations.length} entries collapse to ${source.size} distinct keys`);
814
+ }
815
+ if (projections.size !== output.operations.length) {
816
+ violations.push(`operations contains duplicate identities: ${output.operations.length} rows collapse to ${projections.size} distinct keys`);
817
+ }
818
+ if (projections.size !== source.size + manualRowCount) {
819
+ violations.push(`row conservation: ${projections.size} distinct projected rows ≠ ${source.size} registry-resolved + ${manualRowCount} manual controller-route rows (${source.size + manualRowCount})`);
820
+ }
821
+ const dropped = [...source].filter((entry) => !projections.has(entry));
822
+ if (dropped.length > 0) {
823
+ violations.push(`${dropped.length} registry-resolved HTTP operation(s) reached no projection row; first: ${dropped[0]}`);
824
+ }
825
+ if (violations.length > 0) {
826
+ throw new Error(`openapi-generation-input subprocess violated resolved HTTP operation → projection conservation — ${violations.join('; ')}`);
697
827
  }
698
828
  }
699
- /** Validate the complete diagnostics object received from the subprocess. */
700
- function isOpenApiGenerationProjectorStats(value) {
829
+ /**
830
+ * Validate the complete diagnostics object received from the subprocess, and
831
+ * REPORT WHICH EXPECTATION FAILED.
832
+ *
833
+ * This used to be a boolean type predicate feeding one `||` chain, so the
834
+ * caller could only say that some one of eight expectations was unmet. When the
835
+ * payload really did stop conserving rows, establishing WHICH clause refused
836
+ * cost a companion log, an auth token, a hand-driven introspection call and a
837
+ * predicate-by-predicate comparison — for a fact the guard held in its hand at
838
+ * the moment it threw. A guard that refuses without naming the failed clause
839
+ * charges an investigation every time it fires, so this returns the clause and
840
+ * its two numbers instead.
841
+ *
842
+ * @returns one message per unmet expectation; empty means the value is a
843
+ * well-formed {@link OpenApiGenerationProjectorStats}.
844
+ */
845
+ export function describeOpenApiGenerationProjectorStatsViolations(value) {
701
846
  if (!isPlainObject(value))
847
+ return [`stats: expected an object, received ${describeReceivedValue(value)}`];
848
+ const violations = [];
849
+ const requireNonNegativeInteger = (field) => {
850
+ if (isNonNegativeInteger(value[field]))
851
+ return true;
852
+ violations.push(`stats.${field}: expected a non-negative integer, received ${describeReceivedValue(value[field])}`);
702
853
  return false;
703
- if (!isNonNegativeInteger(value.resourceCount)
704
- || !isNonNegativeInteger(value.consideredOperationCount)
705
- || !isNonNegativeInteger(value.projectedRowCount)
706
- || !Array.isArray(value.resolvedExternalHttpOperations)
707
- || !isNonNegativeInteger(value.skippedOperationWithoutInitiatorInfosCount)
708
- || !Array.isArray(value.skippedOperationsWithoutInitiatorInfos)) {
854
+ };
855
+ const requireArray = (field) => {
856
+ if (Array.isArray(value[field]))
857
+ return true;
858
+ violations.push(`stats.${field}: expected an array, received ${describeReceivedValue(value[field])}`);
709
859
  return false;
860
+ };
861
+ const hasProjectedRowCount = requireNonNegativeInteger('projectedRowCount');
862
+ const hasManualRowCount = requireNonNegativeInteger('manualControllerRouteRowCount');
863
+ requireNonNegativeInteger('resourceCount');
864
+ requireNonNegativeInteger('consideredOperationCount');
865
+ requireNonNegativeInteger('skippedOperationWithoutInitiatorInfosCount');
866
+ const hasResolvedOperations = requireArray('resolvedExternalHttpOperations');
867
+ const hasSkippedOperations = requireArray('skippedOperationsWithoutInitiatorInfos');
868
+ if (hasResolvedOperations && hasManualRowCount && hasProjectedRowCount) {
869
+ /*
870
+ * The projector has TWO producers of `OperationProjection` rows and this is where their sum is
871
+ * checked, so the message names all three terms. Compare the identity join in
872
+ * `assertResolvedHttpOperationProjectionConservation`, which checks the same statement against
873
+ * the actual rows rather than against the counts — a count can be adjusted, identities cannot.
874
+ */
875
+ const resolved = value.resolvedExternalHttpOperations.length;
876
+ const manual = value.manualControllerRouteRowCount;
877
+ const projected = value.projectedRowCount;
878
+ if (resolved + manual !== projected) {
879
+ violations.push(`stats row conservation: resolvedExternalHttpOperations (${resolved}) + manualControllerRouteRowCount (${manual}) = ${resolved + manual}, but projectedRowCount is ${projected}`);
880
+ }
710
881
  }
711
- if (value.resolvedExternalHttpOperations.length !== value.projectedRowCount
712
- || !value.resolvedExternalHttpOperations.every((entry) => isPlainObject(entry)
713
- && isPlainObject(entry.identity)
714
- && typeof entry.section === 'string'
715
- && Array.isArray(entry.roles)
716
- && entry.roles.every((role) => typeof role === 'string'))) {
717
- return false;
882
+ if (hasResolvedOperations && !value.resolvedExternalHttpOperations.every((entry) => isPlainObject(entry)
883
+ && isPlainObject(entry.identity)
884
+ && typeof entry.section === 'string'
885
+ && Array.isArray(entry.roles)
886
+ && entry.roles.every((role) => typeof role === 'string'))) {
887
+ violations.push('stats.resolvedExternalHttpOperations: every entry must be `{ identity: object, section: string, roles: string[] }`');
718
888
  }
719
- if (value.excludedCoreResources !== undefined
720
- && (!Array.isArray(value.excludedCoreResources)
721
- || !value.excludedCoreResources.every((entry) => typeof entry === 'string' && Object.values(CoreResourceType).includes(entry)))) {
722
- return false;
889
+ if (value.excludedCoreResources !== undefined) {
890
+ if (!Array.isArray(value.excludedCoreResources)
891
+ || !value.excludedCoreResources.every((entry) => typeof entry === 'string' && Object.values(CoreResourceType).includes(entry))) {
892
+ violations.push('stats.excludedCoreResources: expected an array of CoreResourceType values');
893
+ }
723
894
  }
724
- if (!value.skippedOperationsWithoutInitiatorInfos.every((entry) => isPlainObject(entry)
895
+ if (hasSkippedOperations && !value.skippedOperationsWithoutInitiatorInfos.every((entry) => isPlainObject(entry)
725
896
  && typeof entry.resourceIdentifier === 'string'
726
897
  && typeof entry.operationIdentifier === 'string'
727
898
  && typeof entry.variantType === 'string'
728
899
  && (entry.variantKey === undefined || typeof entry.variantKey === 'string')
729
900
  && (entry.isOperationDefault === undefined || typeof entry.isOperationDefault === 'boolean')
730
901
  && (entry.isBulkOperation === undefined || typeof entry.isBulkOperation === 'boolean'))) {
731
- return false;
902
+ violations.push('stats.skippedOperationsWithoutInitiatorInfos: every entry must carry string `resourceIdentifier`, `operationIdentifier` and `variantType`');
732
903
  }
733
- if (value.skippedCoreResources !== undefined
734
- && (!Array.isArray(value.skippedCoreResources)
735
- || !value.skippedCoreResources.every((entry) => isPlainObject(entry) && typeof entry.resourceType === 'string' && typeof entry.reason === 'string'))) {
736
- return false;
904
+ if (value.skippedCoreResources !== undefined) {
905
+ if (!Array.isArray(value.skippedCoreResources)
906
+ || !value.skippedCoreResources.every((entry) => isPlainObject(entry) && typeof entry.resourceType === 'string' && typeof entry.reason === 'string')) {
907
+ violations.push('stats.skippedCoreResources: expected an array of `{ resourceType: string, reason: string }`');
908
+ }
737
909
  }
738
- if (value.collapsedCoreOperations !== undefined
739
- && (!Array.isArray(value.collapsedCoreOperations)
910
+ if (value.collapsedCoreOperations !== undefined) {
911
+ if (!Array.isArray(value.collapsedCoreOperations)
740
912
  || !value.collapsedCoreOperations.every((entry) => isPlainObject(entry)
741
913
  && typeof entry.resourceType === 'string'
742
914
  && typeof entry.operationKey === 'string'
743
915
  && typeof entry.httpVerb === 'string'
744
- && typeof entry.path === 'string'))) {
745
- return false;
916
+ && typeof entry.path === 'string')) {
917
+ violations.push('stats.collapsedCoreOperations: expected an array of `{ resourceType, operationKey, httpVerb, path }` strings');
918
+ }
746
919
  }
747
- return true;
920
+ return violations;
921
+ }
922
+ /**
923
+ * A short, safe rendering of a rejected value for a diagnostic message.
924
+ *
925
+ * Type plus a bounded preview: the point of the message is to tell the reader
926
+ * whether the field is absent, the wrong type, or the right type with a wrong
927
+ * value, and the first two are invisible if only the type is printed.
928
+ */
929
+ function describeReceivedValue(value) {
930
+ if (value === undefined)
931
+ return 'undefined (absent)';
932
+ if (value === null)
933
+ return 'null';
934
+ if (Array.isArray(value))
935
+ return `an array of ${value.length}`;
936
+ if (typeof value === 'object')
937
+ return 'an object';
938
+ return `${typeof value} ${JSON.stringify(value)?.slice(0, 40) ?? ''}`.trim();
748
939
  }
749
940
  /** @wildo_source:part:end companion.technical-doc.service */
750
941
  //# sourceMappingURL=technical-doc.companion.service.js.map