@wildo-ai/dev-companion 1.1.6 → 1.1.7

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 (956) 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__/asset-noop.js.map +1 -1
  4. package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts.map +1 -1
  5. package/dist/esm/__tests__/chdir-dogfood-app.setup.js.map +1 -1
  6. package/dist/esm/__tests__/internal-test-view.d.ts.map +1 -1
  7. package/dist/esm/__tests__/internal-test-view.js.map +1 -1
  8. package/dist/esm/brand/models/logo-creative-brief.schemas.d.ts.map +1 -1
  9. package/dist/esm/brand/models/logo-creative-brief.schemas.js.map +1 -1
  10. package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts.map +1 -1
  11. package/dist/esm/brand/models/logo-generation.actors-system.definitions.js.map +1 -1
  12. package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts.map +1 -1
  13. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -1
  14. package/dist/esm/brand/models/logo-judge.schemas.d.ts.map +1 -1
  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.map +1 -1
  22. package/dist/esm/brand/services/logo-generation.companion.service.d.ts.map +1 -1
  23. package/dist/esm/brand/services/logo-generation.companion.service.js.map +1 -1
  24. package/dist/esm/brand/utils/derived-brand-assets.d.ts.map +1 -1
  25. package/dist/esm/brand/utils/derived-brand-assets.js.map +1 -1
  26. package/dist/esm/brand/utils/stage-brand-candidate.d.ts.map +1 -1
  27. package/dist/esm/brand/utils/stage-brand-candidate.js.map +1 -1
  28. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts.map +1 -1
  29. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js.map +1 -1
  30. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
  31. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
  32. package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts.map +1 -1
  33. package/dist/esm/claude-cli/models/coding-session-frame-retention.js.map +1 -1
  34. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -1
  35. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -1
  36. package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts.map +1 -1
  37. package/dist/esm/claude-cli/models/parked-question-answer.models.js.map +1 -1
  38. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts.map +1 -1
  39. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js.map +1 -1
  40. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts.map +1 -1
  41. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js.map +1 -1
  42. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -1
  43. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -1
  44. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
  45. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
  46. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts.map +1 -1
  47. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js.map +1 -1
  48. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
  49. package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
  50. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.d.ts.map +1 -1
  51. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js.map +1 -1
  52. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -1
  53. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -1
  54. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
  55. package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
  56. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.d.ts.map +1 -1
  57. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.js.map +1 -1
  58. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.d.ts.map +1 -1
  59. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -1
  60. package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
  61. package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
  62. package/dist/esm/companion-api/companion-error-guidance.models.d.ts.map +1 -1
  63. package/dist/esm/companion-api/companion-error-guidance.models.js.map +1 -1
  64. package/dist/esm/companion-api/controllers/companion-file-route-confinement.d.ts.map +1 -1
  65. package/dist/esm/companion-api/controllers/companion-file-route-confinement.js.map +1 -1
  66. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.d.ts.map +1 -1
  67. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.js.map +1 -1
  68. package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts.map +1 -1
  69. package/dist/esm/companion-api/controllers/companion-token-floor.policy.js.map +1 -1
  70. package/dist/esm/companion-api/controllers/companion-trace-exemptions.d.ts.map +1 -1
  71. package/dist/esm/companion-api/controllers/companion-trace-exemptions.js.map +1 -1
  72. package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
  73. package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
  74. package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts.map +1 -1
  75. package/dist/esm/core/auth/companion-auth-floor.companion.service.js.map +1 -1
  76. package/dist/esm/core/catalogs/catalog-context.factory.d.ts.map +1 -1
  77. package/dist/esm/core/catalogs/catalog-context.factory.js.map +1 -1
  78. package/dist/esm/core/catalogs/catalog-context.factory.models.d.ts.map +1 -1
  79. package/dist/esm/core/catalogs/catalog-context.factory.models.js.map +1 -1
  80. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.d.ts.map +1 -1
  81. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.js.map +1 -1
  82. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.d.ts.map +1 -1
  83. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.js.map +1 -1
  84. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.d.ts.map +1 -1
  85. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.js.map +1 -1
  86. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.d.ts.map +1 -1
  87. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.js.map +1 -1
  88. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.d.ts.map +1 -1
  89. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.js.map +1 -1
  90. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.d.ts.map +1 -1
  91. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.js.map +1 -1
  92. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.d.ts.map +1 -1
  93. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.js.map +1 -1
  94. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.d.ts.map +1 -1
  95. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.js.map +1 -1
  96. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.d.ts.map +1 -1
  97. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.js.map +1 -1
  98. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.d.ts.map +1 -1
  99. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.js.map +1 -1
  100. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts.map +1 -1
  101. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js.map +1 -1
  102. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts.map +1 -1
  103. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.js.map +1 -1
  104. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.d.ts.map +1 -1
  105. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.js.map +1 -1
  106. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.d.ts.map +1 -1
  107. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.js.map +1 -1
  108. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.d.ts.map +1 -1
  109. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -1
  110. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts.map +1 -1
  111. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js.map +1 -1
  112. package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
  113. package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
  114. package/dist/esm/core/context/companion-context.d.ts.map +1 -1
  115. package/dist/esm/core/context/companion-context.js.map +1 -1
  116. package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
  117. package/dist/esm/core/context/companion-package-loaders.companion.js.map +1 -1
  118. package/dist/esm/core/context/draft-family-values.companion.d.ts.map +1 -1
  119. package/dist/esm/core/context/draft-family-values.companion.js.map +1 -1
  120. package/dist/esm/core/inject/models/container.d.ts.map +1 -1
  121. package/dist/esm/core/inject/models/container.js.map +1 -1
  122. package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
  123. package/dist/esm/core/inject/models/service-types.js.map +1 -1
  124. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -1
  125. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js.map +1 -1
  126. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -1
  127. package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
  128. package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts.map +1 -1
  129. package/dist/esm/core/introspection/resources/application-secrets.companion.js.map +1 -1
  130. package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts.map +1 -1
  131. package/dist/esm/core/introspection/resources/creation-console-answer.companion.js.map +1 -1
  132. package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts.map +1 -1
  133. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js.map +1 -1
  134. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -1
  135. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -1
  136. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -1
  137. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js.map +1 -1
  138. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
  139. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
  140. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts.map +1 -1
  141. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js.map +1 -1
  142. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -1
  143. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -1
  144. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.d.ts.map +1 -1
  145. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.js.map +1 -1
  146. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts.map +1 -1
  147. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
  148. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts.map +1 -1
  149. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js.map +1 -1
  150. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
  151. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
  152. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts.map +1 -1
  153. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js.map +1 -1
  154. package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -1
  155. package/dist/esm/core/introspection/services/translation-placement.companion.service.js.map +1 -1
  156. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts.map +1 -1
  157. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js.map +1 -1
  158. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts.map +1 -1
  159. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js.map +1 -1
  160. package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts.map +1 -1
  161. package/dist/esm/core/introspection/subprocess/assertions.behavior.js.map +1 -1
  162. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts.map +1 -1
  163. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.js.map +1 -1
  164. package/dist/esm/core/introspection/subprocess/asset-noop-register.d.ts.map +1 -1
  165. package/dist/esm/core/introspection/subprocess/asset-noop-register.js.map +1 -1
  166. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.d.ts.map +1 -1
  167. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.js.map +1 -1
  168. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.d.ts.map +1 -1
  169. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.js.map +1 -1
  170. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
  171. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
  172. package/dist/esm/core/introspection/subprocess/companion-introspection-child.d.ts.map +1 -1
  173. package/dist/esm/core/introspection/subprocess/companion-introspection-child.js.map +1 -1
  174. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.d.ts.map +1 -1
  175. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.js.map +1 -1
  176. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts.map +1 -1
  177. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -1
  178. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.d.ts.map +1 -1
  179. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.js.map +1 -1
  180. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts.map +1 -1
  181. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js.map +1 -1
  182. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts.map +1 -1
  183. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js.map +1 -1
  184. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts.map +1 -1
  185. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js.map +1 -1
  186. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts.map +1 -1
  187. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js.map +1 -1
  188. package/dist/esm/core/introspection/subprocess/market-context-block.builder.d.ts.map +1 -1
  189. package/dist/esm/core/introspection/subprocess/market-context-block.builder.js.map +1 -1
  190. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts.map +1 -1
  191. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js.map +1 -1
  192. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts.map +1 -1
  193. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
  194. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts.map +1 -1
  195. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js.map +1 -1
  196. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
  197. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -1
  198. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts.map +1 -1
  199. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js.map +1 -1
  200. package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -1
  201. package/dist/esm/core/introspection/workspace-element-index.companion.js.map +1 -1
  202. package/dist/esm/core/introspection/workspace-elements.companion.d.ts.map +1 -1
  203. package/dist/esm/core/introspection/workspace-elements.companion.js.map +1 -1
  204. package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts.map +1 -1
  205. package/dist/esm/core/lock/wildo-saas-lock.companion.service.js.map +1 -1
  206. package/dist/esm/core/lock/wildo-saas-lock.models.d.ts.map +1 -1
  207. package/dist/esm/core/lock/wildo-saas-lock.models.js.map +1 -1
  208. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts.map +1 -1
  209. package/dist/esm/core/lock/wildo-saas-lock.schemas.js.map +1 -1
  210. package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts.map +1 -1
  211. package/dist/esm/core/runtime/application-runtime-liveness.companion.js.map +1 -1
  212. package/dist/esm/core/runtime/companion-endpoint-record.d.ts.map +1 -1
  213. package/dist/esm/core/runtime/companion-endpoint-record.js.map +1 -1
  214. package/dist/esm/core/runtime/companion-env-file.d.ts.map +1 -1
  215. package/dist/esm/core/runtime/companion-env-file.js.map +1 -1
  216. package/dist/esm/core/runtime/companion-startup-assembly.d.ts.map +1 -1
  217. package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
  218. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
  219. package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
  220. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts.map +1 -1
  221. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js.map +1 -1
  222. package/dist/esm/core/runtime/models/companion-runtime.models.d.ts.map +1 -1
  223. package/dist/esm/core/runtime/models/companion-runtime.models.js.map +1 -1
  224. package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts.map +1 -1
  225. package/dist/esm/core/runtime/services/file-storage-initialization.companion.js.map +1 -1
  226. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
  227. package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
  228. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.d.ts.map +1 -1
  229. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.js.map +1 -1
  230. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
  231. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
  232. package/dist/esm/core/runtime/utils/companion-workbench-topology.d.ts.map +1 -1
  233. package/dist/esm/core/runtime/utils/companion-workbench-topology.js.map +1 -1
  234. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.d.ts.map +1 -1
  235. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.js.map +1 -1
  236. package/dist/esm/core/specifications/chart-view-specification-context.factory.d.ts.map +1 -1
  237. package/dist/esm/core/specifications/chart-view-specification-context.factory.js.map +1 -1
  238. package/dist/esm/core/specifications/composite-view-specification-context.factory.d.ts.map +1 -1
  239. package/dist/esm/core/specifications/composite-view-specification-context.factory.js.map +1 -1
  240. package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts.map +1 -1
  241. package/dist/esm/core/specifications/cross-registry-rendering.shared.js.map +1 -1
  242. package/dist/esm/core/specifications/execution-view-specification-context.factory.d.ts.map +1 -1
  243. package/dist/esm/core/specifications/execution-view-specification-context.factory.js.map +1 -1
  244. package/dist/esm/core/specifications/feature-specification-context.factory.d.ts.map +1 -1
  245. package/dist/esm/core/specifications/feature-specification-context.factory.js.map +1 -1
  246. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.d.ts.map +1 -1
  247. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.js.map +1 -1
  248. package/dist/esm/core/specifications/frontend-component-specification-context.factory.d.ts.map +1 -1
  249. package/dist/esm/core/specifications/frontend-component-specification-context.factory.js.map +1 -1
  250. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.d.ts.map +1 -1
  251. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.js.map +1 -1
  252. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.d.ts.map +1 -1
  253. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.js.map +1 -1
  254. package/dist/esm/core/specifications/milestone-specification-context.factory.d.ts.map +1 -1
  255. package/dist/esm/core/specifications/milestone-specification-context.factory.js.map +1 -1
  256. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.d.ts.map +1 -1
  257. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.js.map +1 -1
  258. package/dist/esm/core/specifications/onboarding-element-rendering.shared.d.ts.map +1 -1
  259. package/dist/esm/core/specifications/onboarding-element-rendering.shared.js.map +1 -1
  260. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.d.ts.map +1 -1
  261. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.js.map +1 -1
  262. package/dist/esm/core/specifications/product-specification-context.factory.d.ts.map +1 -1
  263. package/dist/esm/core/specifications/product-specification-context.factory.js.map +1 -1
  264. package/dist/esm/core/specifications/resource-specification-context.factory.d.ts.map +1 -1
  265. package/dist/esm/core/specifications/resource-specification-context.factory.js.map +1 -1
  266. package/dist/esm/core/specifications/role-specification-context.factory.d.ts.map +1 -1
  267. package/dist/esm/core/specifications/role-specification-context.factory.js.map +1 -1
  268. package/dist/esm/core/specifications/specification-context-factory.d.ts.map +1 -1
  269. package/dist/esm/core/specifications/specification-context-factory.js.map +1 -1
  270. package/dist/esm/core/specifications/specification-context-factory.models.d.ts.map +1 -1
  271. package/dist/esm/core/specifications/specification-context-factory.models.js.map +1 -1
  272. package/dist/esm/core/specifications/specification-context-factory.shared.d.ts.map +1 -1
  273. package/dist/esm/core/specifications/specification-context-factory.shared.js.map +1 -1
  274. package/dist/esm/core/specifications/system-email-template-specification-context.factory.d.ts.map +1 -1
  275. package/dist/esm/core/specifications/system-email-template-specification-context.factory.js.map +1 -1
  276. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.d.ts.map +1 -1
  277. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.js.map +1 -1
  278. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.d.ts.map +1 -1
  279. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.js.map +1 -1
  280. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.d.ts.map +1 -1
  281. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.js.map +1 -1
  282. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.d.ts.map +1 -1
  283. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.js.map +1 -1
  284. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.d.ts.map +1 -1
  285. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.js.map +1 -1
  286. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.d.ts.map +1 -1
  287. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.js.map +1 -1
  288. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.d.ts.map +1 -1
  289. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.js.map +1 -1
  290. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.d.ts.map +1 -1
  291. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.js.map +1 -1
  292. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.d.ts.map +1 -1
  293. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.js.map +1 -1
  294. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.d.ts.map +1 -1
  295. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.js.map +1 -1
  296. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.d.ts.map +1 -1
  297. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.js.map +1 -1
  298. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.d.ts.map +1 -1
  299. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.js.map +1 -1
  300. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.d.ts.map +1 -1
  301. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.js.map +1 -1
  302. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.d.ts.map +1 -1
  303. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.js.map +1 -1
  304. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.d.ts.map +1 -1
  305. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.js.map +1 -1
  306. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.d.ts.map +1 -1
  307. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.js.map +1 -1
  308. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.d.ts.map +1 -1
  309. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.js.map +1 -1
  310. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.d.ts.map +1 -1
  311. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.js.map +1 -1
  312. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.d.ts.map +1 -1
  313. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.js.map +1 -1
  314. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.d.ts.map +1 -1
  315. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.js.map +1 -1
  316. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.d.ts.map +1 -1
  317. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.js.map +1 -1
  318. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.d.ts.map +1 -1
  319. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.js.map +1 -1
  320. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.d.ts.map +1 -1
  321. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.js.map +1 -1
  322. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.d.ts.map +1 -1
  323. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.js.map +1 -1
  324. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.d.ts.map +1 -1
  325. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.js.map +1 -1
  326. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.d.ts.map +1 -1
  327. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.js.map +1 -1
  328. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.d.ts.map +1 -1
  329. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.js.map +1 -1
  330. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.d.ts.map +1 -1
  331. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.js.map +1 -1
  332. package/dist/esm/core/specifications/templates/product/product-all-information.template.d.ts.map +1 -1
  333. package/dist/esm/core/specifications/templates/product/product-all-information.template.js.map +1 -1
  334. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.d.ts.map +1 -1
  335. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.js.map +1 -1
  336. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.d.ts.map +1 -1
  337. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.js.map +1 -1
  338. package/dist/esm/core/specifications/templates/product/product-translation-context.template.d.ts.map +1 -1
  339. package/dist/esm/core/specifications/templates/product/product-translation-context.template.js.map +1 -1
  340. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.d.ts.map +1 -1
  341. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.js.map +1 -1
  342. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.d.ts.map +1 -1
  343. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.js.map +1 -1
  344. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.d.ts.map +1 -1
  345. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.js.map +1 -1
  346. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.d.ts.map +1 -1
  347. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.js.map +1 -1
  348. package/dist/esm/core/specifications/templates/role/role-all-information.template.d.ts.map +1 -1
  349. package/dist/esm/core/specifications/templates/role/role-all-information.template.js.map +1 -1
  350. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.d.ts.map +1 -1
  351. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.js.map +1 -1
  352. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.d.ts.map +1 -1
  353. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.js.map +1 -1
  354. package/dist/esm/core/specifications/templates/role/role-translation-context.template.d.ts.map +1 -1
  355. package/dist/esm/core/specifications/templates/role/role-translation-context.template.js.map +1 -1
  356. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.d.ts.map +1 -1
  357. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.js.map +1 -1
  358. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.d.ts.map +1 -1
  359. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.js.map +1 -1
  360. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.d.ts.map +1 -1
  361. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.js.map +1 -1
  362. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.d.ts.map +1 -1
  363. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.js.map +1 -1
  364. package/dist/esm/core/specifications/validate-resource-field-completeness.d.ts.map +1 -1
  365. package/dist/esm/core/specifications/validate-resource-field-completeness.js.map +1 -1
  366. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts.map +1 -1
  367. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js.map +1 -1
  368. package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -1
  369. package/dist/esm/core/traceability/companion-traceability.models.js.map +1 -1
  370. package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -1
  371. package/dist/esm/core/traceability/companion-traceability.service.js.map +1 -1
  372. package/dist/esm/core/utils/atomic-write.utils.d.ts.map +1 -1
  373. package/dist/esm/core/utils/atomic-write.utils.js.map +1 -1
  374. package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts.map +1 -1
  375. package/dist/esm/core/utils/derived-input-signature.companion.utils.js.map +1 -1
  376. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts.map +1 -1
  377. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js.map +1 -1
  378. package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -1
  379. package/dist/esm/creation-conversation/creation-conversation.function-tools.js.map +1 -1
  380. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
  381. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
  382. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
  383. package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
  384. package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts.map +1 -1
  385. package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -1
  386. package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts.map +1 -1
  387. package/dist/esm/deliberations/utils/load-committed-expert-agents.js.map +1 -1
  388. package/dist/esm/email/models/email-template.actors-system.definitions.d.ts.map +1 -1
  389. package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -1
  390. package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts.map +1 -1
  391. package/dist/esm/email/services/email-spec-context-loader.companion.service.js.map +1 -1
  392. package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
  393. package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
  394. package/dist/esm/email/utils/email-labels-file-source.utils.d.ts.map +1 -1
  395. package/dist/esm/email/utils/email-labels-file-source.utils.js.map +1 -1
  396. package/dist/esm/email/utils/email-labels-tree.utils.d.ts.map +1 -1
  397. package/dist/esm/email/utils/email-labels-tree.utils.js.map +1 -1
  398. package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
  399. package/dist/esm/email/utils/email-template-fs-discovery.utils.js.map +1 -1
  400. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts.map +1 -1
  401. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js.map +1 -1
  402. package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
  403. package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
  404. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -1
  405. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -1
  406. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -1
  407. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -1
  408. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts.map +1 -1
  409. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js.map +1 -1
  410. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
  411. package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
  412. package/dist/esm/expert-personas/services/persona-source-ownership.d.ts.map +1 -1
  413. package/dist/esm/expert-personas/services/persona-source-ownership.js.map +1 -1
  414. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts.map +1 -1
  415. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js.map +1 -1
  416. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts.map +1 -1
  417. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js.map +1 -1
  418. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts.map +1 -1
  419. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js.map +1 -1
  420. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.d.ts.map +1 -1
  421. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.js.map +1 -1
  422. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.d.ts.map +1 -1
  423. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.js.map +1 -1
  424. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts.map +1 -1
  425. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js.map +1 -1
  426. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts.map +1 -1
  427. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js.map +1 -1
  428. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts.map +1 -1
  429. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js.map +1 -1
  430. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  431. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js.map +1 -1
  432. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts.map +1 -1
  433. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js.map +1 -1
  434. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.d.ts.map +1 -1
  435. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.js.map +1 -1
  436. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts.map +1 -1
  437. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js.map +1 -1
  438. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts.map +1 -1
  439. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js.map +1 -1
  440. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.d.ts.map +1 -1
  441. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js.map +1 -1
  442. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts.map +1 -1
  443. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js.map +1 -1
  444. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts.map +1 -1
  445. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js.map +1 -1
  446. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts.map +1 -1
  447. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js.map +1 -1
  448. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts.map +1 -1
  449. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js.map +1 -1
  450. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts.map +1 -1
  451. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js.map +1 -1
  452. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts.map +1 -1
  453. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js.map +1 -1
  454. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts.map +1 -1
  455. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js.map +1 -1
  456. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts.map +1 -1
  457. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js.map +1 -1
  458. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts.map +1 -1
  459. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js.map +1 -1
  460. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts.map +1 -1
  461. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js.map +1 -1
  462. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts.map +1 -1
  463. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js.map +1 -1
  464. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts.map +1 -1
  465. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js.map +1 -1
  466. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts.map +1 -1
  467. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js.map +1 -1
  468. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts.map +1 -1
  469. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js.map +1 -1
  470. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts.map +1 -1
  471. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js.map +1 -1
  472. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts.map +1 -1
  473. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js.map +1 -1
  474. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts.map +1 -1
  475. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js.map +1 -1
  476. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts.map +1 -1
  477. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js.map +1 -1
  478. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.d.ts.map +1 -1
  479. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.js.map +1 -1
  480. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts.map +1 -1
  481. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js.map +1 -1
  482. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -1
  483. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
  484. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
  485. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
  486. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts.map +1 -1
  487. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js.map +1 -1
  488. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts.map +1 -1
  489. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js.map +1 -1
  490. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.d.ts.map +1 -1
  491. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.js.map +1 -1
  492. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.d.ts.map +1 -1
  493. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.js.map +1 -1
  494. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts.map +1 -1
  495. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js.map +1 -1
  496. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts.map +1 -1
  497. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js.map +1 -1
  498. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.d.ts.map +1 -1
  499. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.js.map +1 -1
  500. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts.map +1 -1
  501. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js.map +1 -1
  502. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts.map +1 -1
  503. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js.map +1 -1
  504. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts.map +1 -1
  505. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js.map +1 -1
  506. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts.map +1 -1
  507. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js.map +1 -1
  508. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.d.ts.map +1 -1
  509. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.js.map +1 -1
  510. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.d.ts.map +1 -1
  511. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.js.map +1 -1
  512. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.d.ts.map +1 -1
  513. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.js.map +1 -1
  514. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts.map +1 -1
  515. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js.map +1 -1
  516. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts.map +1 -1
  517. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js.map +1 -1
  518. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.d.ts.map +1 -1
  519. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.js.map +1 -1
  520. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.d.ts.map +1 -1
  521. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.js.map +1 -1
  522. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.d.ts.map +1 -1
  523. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.js.map +1 -1
  524. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts.map +1 -1
  525. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js.map +1 -1
  526. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts.map +1 -1
  527. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js.map +1 -1
  528. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts.map +1 -1
  529. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js.map +1 -1
  530. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts.map +1 -1
  531. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js.map +1 -1
  532. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts.map +1 -1
  533. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js.map +1 -1
  534. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +1 -1
  535. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +1 -1
  536. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts.map +1 -1
  537. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js.map +1 -1
  538. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts.map +1 -1
  539. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js.map +1 -1
  540. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts.map +1 -1
  541. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js.map +1 -1
  542. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts.map +1 -1
  543. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js.map +1 -1
  544. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.d.ts.map +1 -1
  545. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.js.map +1 -1
  546. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.d.ts.map +1 -1
  547. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.js.map +1 -1
  548. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.d.ts.map +1 -1
  549. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.js.map +1 -1
  550. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.d.ts.map +1 -1
  551. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.js.map +1 -1
  552. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts.map +1 -1
  553. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js.map +1 -1
  554. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts.map +1 -1
  555. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js.map +1 -1
  556. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -1
  557. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
  558. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts.map +1 -1
  559. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js.map +1 -1
  560. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.d.ts.map +1 -1
  561. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.js.map +1 -1
  562. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts.map +1 -1
  563. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js.map +1 -1
  564. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts.map +1 -1
  565. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js.map +1 -1
  566. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.d.ts.map +1 -1
  567. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.js.map +1 -1
  568. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts.map +1 -1
  569. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js.map +1 -1
  570. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.d.ts.map +1 -1
  571. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.js.map +1 -1
  572. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts.map +1 -1
  573. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js.map +1 -1
  574. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts.map +1 -1
  575. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js.map +1 -1
  576. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts.map +1 -1
  577. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js.map +1 -1
  578. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.d.ts.map +1 -1
  579. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.js.map +1 -1
  580. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts.map +1 -1
  581. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js.map +1 -1
  582. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.d.ts.map +1 -1
  583. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.js.map +1 -1
  584. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.d.ts.map +1 -1
  585. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.js.map +1 -1
  586. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.d.ts.map +1 -1
  587. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js.map +1 -1
  588. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts.map +1 -1
  589. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js.map +1 -1
  590. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts.map +1 -1
  591. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js.map +1 -1
  592. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts.map +1 -1
  593. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js.map +1 -1
  594. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts.map +1 -1
  595. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js.map +1 -1
  596. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts.map +1 -1
  597. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js.map +1 -1
  598. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts.map +1 -1
  599. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js.map +1 -1
  600. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts.map +1 -1
  601. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js.map +1 -1
  602. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.d.ts.map +1 -1
  603. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.js.map +1 -1
  604. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts.map +1 -1
  605. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js.map +1 -1
  606. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts.map +1 -1
  607. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js.map +1 -1
  608. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts.map +1 -1
  609. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js.map +1 -1
  610. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts.map +1 -1
  611. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js.map +1 -1
  612. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.d.ts.map +1 -1
  613. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.js.map +1 -1
  614. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts.map +1 -1
  615. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js.map +1 -1
  616. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts.map +1 -1
  617. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js.map +1 -1
  618. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.d.ts.map +1 -1
  619. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.js.map +1 -1
  620. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -1
  621. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js.map +1 -1
  622. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts.map +1 -1
  623. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js.map +1 -1
  624. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.d.ts.map +1 -1
  625. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.js.map +1 -1
  626. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.d.ts.map +1 -1
  627. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.js.map +1 -1
  628. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.d.ts.map +1 -1
  629. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.js.map +1 -1
  630. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts.map +1 -1
  631. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js.map +1 -1
  632. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.d.ts.map +1 -1
  633. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.js.map +1 -1
  634. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.d.ts.map +1 -1
  635. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.js.map +1 -1
  636. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts.map +1 -1
  637. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js.map +1 -1
  638. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts.map +1 -1
  639. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js.map +1 -1
  640. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts.map +1 -1
  641. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.js.map +1 -1
  642. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.d.ts.map +1 -1
  643. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.js.map +1 -1
  644. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  645. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js.map +1 -1
  646. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts.map +1 -1
  647. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js.map +1 -1
  648. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts.map +1 -1
  649. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js.map +1 -1
  650. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts.map +1 -1
  651. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js.map +1 -1
  652. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts.map +1 -1
  653. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js.map +1 -1
  654. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts.map +1 -1
  655. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js.map +1 -1
  656. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -1
  657. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -1
  658. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts.map +1 -1
  659. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js.map +1 -1
  660. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts.map +1 -1
  661. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js.map +1 -1
  662. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts.map +1 -1
  663. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js.map +1 -1
  664. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts.map +1 -1
  665. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js.map +1 -1
  666. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts.map +1 -1
  667. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js.map +1 -1
  668. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
  669. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -1
  670. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts.map +1 -1
  671. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
  672. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts.map +1 -1
  673. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js.map +1 -1
  674. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts.map +1 -1
  675. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js.map +1 -1
  676. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts.map +1 -1
  677. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js.map +1 -1
  678. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts.map +1 -1
  679. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js.map +1 -1
  680. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts.map +1 -1
  681. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js.map +1 -1
  682. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts.map +1 -1
  683. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js.map +1 -1
  684. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts.map +1 -1
  685. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js.map +1 -1
  686. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -1
  687. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js.map +1 -1
  688. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts.map +1 -1
  689. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js.map +1 -1
  690. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
  691. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
  692. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts.map +1 -1
  693. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js.map +1 -1
  694. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
  695. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
  696. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts.map +1 -1
  697. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js.map +1 -1
  698. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts.map +1 -1
  699. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js.map +1 -1
  700. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.d.ts.map +1 -1
  701. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.js.map +1 -1
  702. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts.map +1 -1
  703. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js.map +1 -1
  704. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts.map +1 -1
  705. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js.map +1 -1
  706. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts.map +1 -1
  707. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js.map +1 -1
  708. package/dist/esm/i18n/components/guidance_announcement.en.d.ts.map +1 -1
  709. package/dist/esm/i18n/components/guidance_announcement.en.js.map +1 -1
  710. package/dist/esm/i18n/components/guidance_banner.en.d.ts.map +1 -1
  711. package/dist/esm/i18n/components/guidance_banner.en.js.map +1 -1
  712. package/dist/esm/i18n/components/guidance_card.en.d.ts.map +1 -1
  713. package/dist/esm/i18n/components/guidance_card.en.js.map +1 -1
  714. package/dist/esm/i18n/components/guidance_checklist.en.d.ts.map +1 -1
  715. package/dist/esm/i18n/components/guidance_checklist.en.js.map +1 -1
  716. package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts.map +1 -1
  717. package/dist/esm/i18n/components/guidance_checklist_item.en.js.map +1 -1
  718. package/dist/esm/i18n/components/guidance_modal.en.d.ts.map +1 -1
  719. package/dist/esm/i18n/components/guidance_modal.en.js.map +1 -1
  720. package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts.map +1 -1
  721. package/dist/esm/i18n/components/guidance_onboarding_view.en.js.map +1 -1
  722. package/dist/esm/i18n/components/guidance_survey.en.d.ts.map +1 -1
  723. package/dist/esm/i18n/components/guidance_survey.en.js.map +1 -1
  724. package/dist/esm/i18n/components/guidance_tooltip.en.d.ts.map +1 -1
  725. package/dist/esm/i18n/components/guidance_tooltip.en.js.map +1 -1
  726. package/dist/esm/i18n/components/guidance_tour.en.d.ts.map +1 -1
  727. package/dist/esm/i18n/components/guidance_tour.en.js.map +1 -1
  728. package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts.map +1 -1
  729. package/dist/esm/i18n/components/progression_achievement_badge.en.js.map +1 -1
  730. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
  731. package/dist/esm/i18n/components/progression_milestone_tracker.en.js.map +1 -1
  732. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts.map +1 -1
  733. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js.map +1 -1
  734. package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts.map +1 -1
  735. package/dist/esm/i18n/composite_views/app.creation-dossier.en.js.map +1 -1
  736. package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts.map +1 -1
  737. package/dist/esm/i18n/composite_views/app.domain-model.en.js.map +1 -1
  738. package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts.map +1 -1
  739. package/dist/esm/i18n/errors_guidance/errors-guidance.en.js.map +1 -1
  740. package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts.map +1 -1
  741. package/dist/esm/i18n/errors_messages/errors-messages.en.js.map +1 -1
  742. package/dist/esm/i18n/index.d.ts.map +1 -1
  743. package/dist/esm/i18n/index.js.map +1 -1
  744. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
  745. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
  746. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
  747. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js.map +1 -1
  748. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
  749. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js.map +1 -1
  750. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts.map +1 -1
  751. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js.map +1 -1
  752. package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -1
  753. package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -1
  754. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts.map +1 -1
  755. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js.map +1 -1
  756. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts.map +1 -1
  757. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js.map +1 -1
  758. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
  759. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js.map +1 -1
  760. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts.map +1 -1
  761. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js.map +1 -1
  762. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts.map +1 -1
  763. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js.map +1 -1
  764. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts.map +1 -1
  765. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js.map +1 -1
  766. package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts.map +1 -1
  767. package/dist/esm/i18n/resources/workbenchDomainResources.en.js.map +1 -1
  768. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -1
  769. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -1
  770. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts.map +1 -1
  771. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js.map +1 -1
  772. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts.map +1 -1
  773. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js.map +1 -1
  774. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts.map +1 -1
  775. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js.map +1 -1
  776. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts.map +1 -1
  777. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js.map +1 -1
  778. package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
  779. package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -1
  780. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
  781. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js.map +1 -1
  782. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
  783. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
  784. package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -1
  785. package/dist/esm/i18n/resources/workbenchTraceSessions.en.js.map +1 -1
  786. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts.map +1 -1
  787. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js.map +1 -1
  788. package/dist/esm/i18n/system_enums/application-creation.en.d.ts.map +1 -1
  789. package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -1
  790. package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts.map +1 -1
  791. package/dist/esm/i18n/system_enums/compliance-programme.en.js.map +1 -1
  792. package/dist/esm/i18n/system_enums/flows-actors.en.d.ts.map +1 -1
  793. package/dist/esm/i18n/system_enums/flows-actors.en.js.map +1 -1
  794. package/dist/esm/i18n/system_enums/market.en.d.ts.map +1 -1
  795. package/dist/esm/i18n/system_enums/market.en.js.map +1 -1
  796. package/dist/esm/i18n/system_enums/processor-register.en.d.ts.map +1 -1
  797. package/dist/esm/i18n/system_enums/processor-register.en.js.map +1 -1
  798. package/dist/esm/i18n/system_enums/risk-register.en.d.ts.map +1 -1
  799. package/dist/esm/i18n/system_enums/risk-register.en.js.map +1 -1
  800. package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -1
  801. package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -1
  802. package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -1
  803. package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -1
  804. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts.map +1 -1
  805. package/dist/esm/i18n/system_enums/workbench-dossier.en.js.map +1 -1
  806. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts.map +1 -1
  807. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js.map +1 -1
  808. package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts.map +1 -1
  809. package/dist/esm/i18n/system_enums/workbench-secrets.en.js.map +1 -1
  810. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts.map +1 -1
  811. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js.map +1 -1
  812. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts.map +1 -1
  813. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js.map +1 -1
  814. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
  815. package/dist/esm/i18n-labelling/models/labelling-unit.models.js.map +1 -1
  816. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts.map +1 -1
  817. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -1
  818. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.d.ts.map +1 -1
  819. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.js.map +1 -1
  820. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts.map +1 -1
  821. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js.map +1 -1
  822. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
  823. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
  824. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts.map +1 -1
  825. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js.map +1 -1
  826. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -1
  827. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js.map +1 -1
  828. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -1
  829. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
  830. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts.map +1 -1
  831. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js.map +1 -1
  832. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -1
  833. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -1
  834. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts.map +1 -1
  835. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js.map +1 -1
  836. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts.map +1 -1
  837. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js.map +1 -1
  838. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts.map +1 -1
  839. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js.map +1 -1
  840. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.d.ts.map +1 -1
  841. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.js.map +1 -1
  842. package/dist/esm/i18n-labelling/utils/label-file-source.utils.d.ts.map +1 -1
  843. package/dist/esm/i18n-labelling/utils/label-file-source.utils.js.map +1 -1
  844. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts.map +1 -1
  845. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js.map +1 -1
  846. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts.map +1 -1
  847. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js.map +1 -1
  848. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts.map +1 -1
  849. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js.map +1 -1
  850. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.d.ts.map +1 -1
  851. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js.map +1 -1
  852. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts.map +1 -1
  853. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js.map +1 -1
  854. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.d.ts.map +1 -1
  855. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.js.map +1 -1
  856. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -1
  857. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
  858. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.map +1 -1
  859. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js.map +1 -1
  860. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.d.ts.map +1 -1
  861. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js.map +1 -1
  862. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.d.ts.map +1 -1
  863. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.js.map +1 -1
  864. package/dist/esm/index.d.ts.map +1 -1
  865. package/dist/esm/index.js.map +1 -1
  866. package/dist/esm/market/services/market-generation.companion.service.d.ts.map +1 -1
  867. package/dist/esm/market/services/market-generation.companion.service.js.map +1 -1
  868. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts.map +1 -1
  869. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js.map +1 -1
  870. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
  871. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
  872. package/dist/esm/meta-workflows/models/application-line-catalog.models.d.ts.map +1 -1
  873. package/dist/esm/meta-workflows/models/application-line-catalog.models.js.map +1 -1
  874. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -1
  875. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -1
  876. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts.map +1 -1
  877. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -1
  878. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts.map +1 -1
  879. package/dist/esm/meta-workflows/models/build-task-rearm.models.js.map +1 -1
  880. package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts.map +1 -1
  881. package/dist/esm/meta-workflows/models/carried-verification-failure.models.js.map +1 -1
  882. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts.map +1 -1
  883. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js.map +1 -1
  884. package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts.map +1 -1
  885. package/dist/esm/meta-workflows/models/human-decision-settler.models.js.map +1 -1
  886. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -1
  887. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js.map +1 -1
  888. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts.map +1 -1
  889. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js.map +1 -1
  890. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts.map +1 -1
  891. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js.map +1 -1
  892. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts.map +1 -1
  893. package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -1
  894. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts.map +1 -1
  895. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js.map +1 -1
  896. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts.map +1 -1
  897. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js.map +1 -1
  898. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts.map +1 -1
  899. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js.map +1 -1
  900. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
  901. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
  902. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.d.ts.map +1 -1
  903. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.js.map +1 -1
  904. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
  905. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
  906. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
  907. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
  908. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts.map +1 -1
  909. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js.map +1 -1
  910. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts.map +1 -1
  911. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js.map +1 -1
  912. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts.map +1 -1
  913. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js.map +1 -1
  914. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map +1 -1
  915. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map +1 -1
  916. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -1
  917. package/dist/esm/meta-workflows/services/dossier.companion.service.js.map +1 -1
  918. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts.map +1 -1
  919. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js.map +1 -1
  920. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts.map +1 -1
  921. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js.map +1 -1
  922. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts.map +1 -1
  923. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js.map +1 -1
  924. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
  925. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
  926. package/dist/esm/meta-workflows/services/governed-document-texts.companion.d.ts.map +1 -1
  927. package/dist/esm/meta-workflows/services/governed-document-texts.companion.js.map +1 -1
  928. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts.map +1 -1
  929. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js.map +1 -1
  930. package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts.map +1 -1
  931. package/dist/esm/meta-workflows/services/landed-module-import.companion.js.map +1 -1
  932. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.d.ts.map +1 -1
  933. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.js.map +1 -1
  934. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts.map +1 -1
  935. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js.map +1 -1
  936. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -1
  937. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js.map +1 -1
  938. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
  939. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
  940. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts.map +1 -1
  941. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js.map +1 -1
  942. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts.map +1 -1
  943. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js.map +1 -1
  944. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts.map +1 -1
  945. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js.map +1 -1
  946. package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts.map +1 -1
  947. package/dist/esm/technical-doc/services/technical-doc.companion.service.js.map +1 -1
  948. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts.map +1 -1
  949. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js.map +1 -1
  950. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.d.ts.map +1 -1
  951. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.js.map +1 -1
  952. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.d.ts.map +1 -1
  953. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.js.map +1 -1
  954. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -1
  955. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -1
  956. package/package.json +17 -17
@@ -1 +1 @@
1
- {"version":3,"file":"openapi-generation-input.behavior.js","sourceRoot":"","sources":["../../../../../../src/core/introspection/subprocess/openapi-generation-input.behavior.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAEH,OAAO,EAAE,0CAA0C,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AAChH,OAAO,EACL,mBAAmB,EACnB,8BAA8B,EAC9B,qCAAqC,EACrC,cAAc,EACd,wBAAwB,EACxB,mBAAmB,EACnB,kBAAkB,EAClB,6BAA6B,EAC7B,wBAAwB,EACxB,kCAAkC,EAClC,6CAA6C,EAC7C,8BAA8B,EAC9B,qBAAqB,EAErB,kBAAkB,EAClB,sBAAsB,EACtB,qCAAqC,EACrC,sCAAsC,EACtC,oBAAoB,EACpB,0BAA0B,EAC1B,kBAAkB,EAClB,+BAA+B,EAC/B,8BAA8B,EAC9B,4BAA4B,EAC5B,4BAA4B,EAC5B,oBAAoB,EACpB,4BAA4B,EAC5B,yCAAyC,EAC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,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;AACrD,CAAC","sourcesContent":["/**\n * Subprocess-side projector for the `'openapi-generation-input'`\n * companion-introspection behavior (`saas-technical-doc.md` Step 3b).\n *\n * Runs INSIDE the introspection subprocess, where loading\n * `@wildo-ai/saas-models` (and its `initZodDecorators()` boot) is\n * already paid for by the existing `'resources-registry'` /\n * `'resource-specifications'` handlers. The subprocess owns the\n * full materialization + URL-building + Zod-to-JSON-Schema\n * conversion. The parent companion process consumes only the\n * resulting JSON payload (an `OpenApiGenerationInput` minus\n * app-level metadata, which the parent merges in).\n *\n * Why split the work across the subprocess boundary at THIS\n * exact seam (and not bigger / not smaller):\n *\n * - SMALLER (subprocess returns raw `ResourceConfiguration` graph,\n * parent does projection + JSON-schema conversion): would force\n * the parent companion process to import `@wildo-ai/saas-models`\n * AND the user app's schema graph to call `z.toJSONSchema()` on\n * the request/response DTOs. That defeats the whole\n * `saas-models-public-runtime.md` K-3 boundary the project just\n * landed for the website + tech-doc bundles.\n *\n * - BIGGER (subprocess produces YAML directly): would couple the\n * subprocess hop to the YAML emitter and the splitting heuristic\n * (`@wildo-ai/saas-technical-doc/companion`), making both\n * independently un-testable. Today the generator is a pure\n * function over `OpenApiGenerationInput` (29 unit tests in\n * `openapi-generator.test.ts`); keeping the projector strictly\n * \"input only\" preserves that purity.\n *\n * - The chosen seam mirrors the `resource-specifications` handler:\n * a focused projection of the resolved registry into a flat,\n * JSON-safe shape, leaving every other concern to the consumer.\n */\n\nimport { ResourceOperationIdempotencyKeyRequirement, respondsWithPerItemRowArray } from '@wildo-ai/saas-models';\nimport {\n Actor_ExecutionMode,\n buildSharedSaaSModulesRegistry,\n CORE_APPLICATION_ADMINISTRATION_ROLES,\n CORE_APP_ROLES,\n isInboundHandlerOnlyRole,\n ErrorResponseSchema,\n MAIN_API_BASE_PATH,\n MANUAL_CONTROLLER_ROUTES_URLS,\n ManualControllerRouteKey,\n coreResourceShared_FieldIdentifier,\n coreShared_ResourcesConfigurations_FactoryMap,\n coreSharedResourceRelationship,\n CoreResourceOperation,\n CoreResourceType,\n ChildLifecycleMode,\n ChildLifecycleStrategy,\n resolveChildLifecycleTeardownStrategy,\n createResourceSearchQueryRequestSchema,\n FlowActorSystem_Kind,\n RelationshipLifecycleModel,\n RelationshipNature,\n ResourceRelationshipCardinality,\n ResourceGeneratedOperationKind,\n isDefaultUrlBearingOperation,\n ResourceOperationVariantType,\n ResourcePrimaryScope,\n EMBEDDED_RESOURCE_SCHEMA_KEY,\n ResourcesConfigOperationsDtosBuilderUtils,\n ResourcesConfigOperationsUrlsBuilderUtils,\n Resources_SharedUtils,\n WildoHeaderKeys,\n type AnyResourceConfiguration,\n type ResourceType,\n type ResourceConfiguration,\n type ResourceConfiguration_Operation,\n type ResourceConfiguration_Operation_ApiCall,\n type ResourceConfiguration_Operation_ApiCallWithCallback,\n type ResourceConfiguration_Operation_UrlInitiatorInfo,\n type ResourceRelationship,\n type FlowActorSystem,\n} from '@wildo-ai/saas-models';\nimport {\n MCP_TOOL_NAME_SEPARATOR,\n isPortableModelToolName,\n describeCaughtError,\n} from '@wildo-ai/saas-backend-lib';\nimport {\n ENGINE_RESOURCE_SUB_DOMAIN_DOCUMENTATION,\n EngineResourceSubDomain,\n engineResourceSpecificationsByType,\n extractFieldSpecsFromFieldMap,\n extractResourceFieldSpecs,\n HttpResponseStatusCode,\n type AnyResourceSpecificationConfig,\n type ExtractedFieldSpec,\n} from '@wildo-ai/saas-specifications';\nimport type { z } from 'zod';\nimport {\n engineMergedCompiledResourceRelationships,\n engineResourceConfigurationFactoryEntries,\n} from './engine-resource-population.subprocess.utils';\nimport {\n buildOperationDocFromSpec,\n buildOperationHttpDocFromSpec,\n createOpenApiOperationIdentity,\n convertZodSchemaToOpenApiSchema,\n indexApplicationRoleDocumentationSources,\n injectFieldDocsIntoCollectionContract,\n injectFieldDocsIntoJsonSchema,\n OpenApiSection,\n OperationProjectionAuthenticationMode,\n OperationProjectionHttpVerb,\n OperationProjectionPrimaryScope,\n OperationProjectionVariantType,\n type FieldDoc,\n type OperationDoc,\n type OperationAccessDocumentation,\n type OperationHttpDoc,\n type OpenApiGenerationProjectorStats,\n type OperationProjection,\n type OperationSpecProse,\n projectApplicationOrganizationRoleDocumentationSources,\n projectManualControllerRouteOperations,\n ResourceRelationshipDocumentationCardinality,\n ResourceRelationshipDocumentationDeleteMode,\n ResourceRelationshipDocumentationDeleteStrategy,\n ResourceRelationshipDocumentationLifecycleModel,\n ResourceRelationshipDocumentationNature,\n type ResourceTag,\n type ApiReferenceResourceCategory,\n type ApplicationOrganizationRoleDocumentationSource,\n type ApplicationOrganizationUnitResourceDocumentation,\n type ApplicationRoleDocumentationSource,\n projectApplicationOrganizationUnitResourceDocumentation,\n type ApplicationMcpToolSource,\n type ApplicationWebhookEventSource,\n} from '@wildo-ai/saas-technical-doc/companion';\nimport { resolveSharedLibraryCompanionExports } from './companion-introspection-module-exports.utils';\n\n/**\n * Wire format returned by the `'openapi-generation-input'` subprocess\n * behavior. It carries the JSON-safe facts that require the application module\n * graph: operations, organization-role semantics, resource descriptions and\n * the canonical error schema. The parent companion merges these with app-level\n * metadata and joins primary-locale role labels before generating the API\n * reference and application-consumer documentation.\n *\n * The split avoids re-loading `WildoSaasConfig` in the subprocess\n * (the subprocess does NOT have access to the platform-config-lib\n * loader) and keeps the IPC payload trimmed to what only the\n * subprocess can produce.\n */\nexport interface OpenApiGenerationInputSubprocessOutput {\n operations: OperationProjection[];\n /** True when the final application registry declares at least one usable MCP tool operation. */\n hasConfiguredMcpToolOperations: boolean;\n mcpTools: readonly ApplicationMcpToolSource[];\n webhookEvents: readonly ApplicationWebhookEventSource[];\n /** True when the final startup declaration contains at least one actor system that A2A can expose as a skill. */\n hasConfiguredA2aSkills: boolean;\n /** Every resolved organization-scoped role, joined to its authored semantics. */\n organizationRoles: readonly ApplicationOrganizationRoleDocumentationSource[];\n /** Business resources explicitly narrowed by this application's organization-unit access. */\n organizationUnitAwareResources: readonly ApplicationOrganizationUnitResourceDocumentation[];\n /**\n * JSON-Schema projection of the canonical `ErrorResponseSchema` serialized\n * by the backend error handler. The parent transports this value unchanged;\n * the engine generator owns the one shared OpenAPI component and response\n * references derived from it.\n */\n errorResponseSchema: unknown;\n /**\n * Per-resource OpenAPI tag descriptors (the resource's business purpose).\n * Merged by the parent into `OpenApiGenerationInput.resourceTags`; the\n * generator emits each as `tags[].description`. Empty when no resource\n * authored a `purpose` / `businessRole`.\n */\n resourceTags: ResourceTag[];\n /**\n * Diagnostic counters surfaced in the companion HTTP response so\n * a developer can confirm at a glance how many resources / ops\n * were considered and how many URL initiators each carried.\n * The OpenAPI generator does NOT consume this — it lives\n * alongside the projection for observability only.\n */\n stats: OpenApiGenerationProjectorStats;\n}\n\n/**\n * The two pieces of final startup configuration needed by consumer-documentation\n * projection. Keeping this input narrow prevents the OpenAPI projector from\n * becoming a second owner of the backend initialization contract.\n */\nexport interface ApplicationConsumerDocumentationStartupProjectionInput {\n readonly organizationUnitNarrowing?: Readonly<Partial<Record<string, { readonly unitFieldName: string }>>>;\n readonly flowActorSystemsFactoryMap?: Readonly<Record<string, () => FlowActorSystem>>;\n}\n\nconst VARIANT_TYPE_BY_FRAMEWORK_VALUE: Record<string, OperationProjectionVariantType> = {\n [ResourceOperationVariantType.API_CALL]: OperationProjectionVariantType.API_CALL,\n [ResourceOperationVariantType.API_CALL_WITH_CALLBACK]:\n OperationProjectionVariantType.API_CALL_WITH_CALLBACK,\n};\n\nconst PRIMARY_SCOPE_BY_FRAMEWORK_VALUE: Record<string, OperationProjectionPrimaryScope> = {\n [ResourcePrimaryScope.USER_SELF]: OperationProjectionPrimaryScope.USER_SELF,\n [ResourcePrimaryScope.ORGANIZATIONS]: OperationProjectionPrimaryScope.ORGANIZATIONS,\n [ResourcePrimaryScope.APPLICATION]: OperationProjectionPrimaryScope.APPLICATION,\n [ResourcePrimaryScope.ANONYMOUS]: OperationProjectionPrimaryScope.ANONYMOUS,\n};\n\nconst HTTP_VERB_BY_FRAMEWORK_VALUE: Record<string, OperationProjectionHttpVerb> = {\n GET: OperationProjectionHttpVerb.GET,\n POST: OperationProjectionHttpVerb.POST,\n PUT: OperationProjectionHttpVerb.PUT,\n DELETE: OperationProjectionHttpVerb.DELETE,\n PATCH: OperationProjectionHttpVerb.PATCH,\n};\n\n/**\n * Roles that grant authority over the application itself rather than access\n * to its customer-facing domain. The named framework subset is the only source\n * of these values; the technical-documentation projection carries the resolved\n * section so downstream generators and renderers never infer product meaning\n * from role-name prefixes or internal resource scopes.\n */\nconst APPLICATION_ADMINISTRATION_ROLES: ReadonlySet<string> = new Set(CORE_APPLICATION_ADMINISTRATION_ROLES);\n\n/**\n * The roles an HTTP caller can hold among those an operation accepts. A handler-only role (#1629,\n * `INBOUND_HANDLER_ONLY_ROLES`) is the engine's authority for provider events: no person, API key or OAuth client\n * can hold it, so listing it would tell a consumer a role exists that they can never be given. The one reader\n * both projection sites use, so the inventory and the projection cannot disagree about it.\n */\nfunction httpCallerRoles(operation: { roles?: readonly unknown[] }): string[] {\n return (operation.roles ?? []).map((role) => String(role)).filter((role) => !isInboundHandlerOnlyRole(role));\n}\n\n\n/**\n * Resolves the exact access semantics before OpenAPI exists. In particular,\n * `APP_PUBLIC` wins over every other marker, matching backend authentication;\n * `APP_ANONYMOUS` is an authentication option, not an RBAC role. Every other\n * role remains an OR requirement and carries specification-owned prose when\n * the application has authored it.\n */\nfunction buildOperationAccessDocumentation(\n roles: readonly string[],\n roleSpecsByRef: ReadonlyMap<string, Pick<ApplicationRoleDocumentationSource, 'businessRole' | 'authorityBoundary'>>,\n requireRoleDocumentation: boolean,\n): OperationAccessDocumentation {\n if (roles.includes(CORE_APP_ROLES.APP_PUBLIC)) {\n return {\n authenticationMode: OperationProjectionAuthenticationMode.PUBLIC,\n authenticationSummary: 'Public endpoint — no authentication is required.',\n roleRequirements: [],\n };\n }\n\n const hasAnonymousSession = roles.includes(CORE_APP_ROLES.APP_ANONYMOUS);\n const authorizationRoles = roles.filter(\n (role) => role !== CORE_APP_ROLES.APP_ANONYMOUS && role !== CORE_APP_ROLES.APP_PUBLIC,\n );\n const authenticationMode = hasAnonymousSession\n ? authorizationRoles.length === 0\n ? OperationProjectionAuthenticationMode.ANONYMOUS_SESSION\n : OperationProjectionAuthenticationMode.ANONYMOUS_OR_AUTHENTICATED\n : OperationProjectionAuthenticationMode.AUTHENTICATED;\n const authenticationSummary = authenticationMode === OperationProjectionAuthenticationMode.ANONYMOUS_SESSION\n ? 'Anonymous session token required.'\n : authenticationMode === OperationProjectionAuthenticationMode.ANONYMOUS_OR_AUTHENTICATED\n ? 'Anonymous session token or authenticated access is accepted.'\n : authorizationRoles.length === 0\n ? 'Any authenticated user may call this endpoint.'\n : 'Authenticated access is required.';\n\n return {\n authenticationMode,\n authenticationSummary,\n roleRequirements: authorizationRoles.map((role) => {\n const specification = roleSpecsByRef.get(role);\n if (!specification && requireRoleDocumentation) {\n throw new Error(\n `openapi-generation-input projector: exposed role '${role}' has no companion-exported role specification. `\n + 'Author its business role and authority boundary before publishing an API reference.',\n );\n }\n return {\n role,\n /*\n * The raw TOKEN, not a prettified one. The parent joins the application's OWN authored role\n * labels over this (`applyAuthoredRoleLabelsToOperationAccess`); a label it does not carry\n * stays a token, which is honest and searchable, where \"Organization Manager\" was invented\n * English indistinguishable from an authored name once printed (#382).\n */\n label: role,\n businessRole: specification?.businessRole ?? null,\n authorityBoundary: specification?.authorityBoundary ?? null,\n };\n }),\n };\n}\n\n/**\n * Classifies one exposed HTTP operation for consumer documentation.\n *\n * Mixed authority stays in the normal API reference: if a customer-facing\n * role can call an operation, hiding it under application administration would\n * misrepresent the contract. Empty, public, anonymous, organization and custom\n * role sets likewise remain normal. Only a non-empty role set composed solely\n * of application-administration roles enters the separate administration API.\n */\nexport function classifyConsumerApiSection(roles: readonly string[]): OpenApiSection {\n return roles.length > 0 && roles.every((role) => APPLICATION_ADMINISTRATION_ROLES.has(role))\n ? OpenApiSection.APPLICATION_ADMINISTRATION_API_REFERENCE\n : OpenApiSection.API_REFERENCE;\n}\n\n/**\n * Discriminator for the two URL-bearing variants. Kept as a single\n * type predicate so the rest of the projector can rely on a tight\n * union type for `httpVerb`, `isApiKeyAccessDisabled`,\n * `isBulkOperation`, and `initiatorInfos`.\n */\ntype ApiBearingOperation =\n | ResourceConfiguration_Operation_ApiCall<any, any>\n | ResourceConfiguration_Operation_ApiCallWithCallback<any, any>;\n\n/** Collection-view fields flattened onto resolved LIST operations by the resource factory. */\ntype ApiBearingCollectionOperation = ApiBearingOperation & {\n // Zod types only: the resource factory refuses a function-valued filter (#1806), so none reaches here.\n filterFields?: Readonly<Record<string, z.ZodTypeAny>>;\n isSearchable?: boolean;\n sortFields?: readonly string[];\n maxPaginatedResultPerPageLimit?: number;\n};\n\nfunction isApiBearingOperation(\n operation: ResourceConfiguration_Operation<any, any>,\n): operation is ApiBearingOperation {\n return (\n operation.variantType === ResourceOperationVariantType.API_CALL\n || operation.variantType === ResourceOperationVariantType.API_CALL_WITH_CALLBACK\n );\n}\n\n/**\n * Consumer references publish callable capabilities, not registered refusal\n * routes. `unimplementedAcknowledgement` deliberately keeps a known gap in the\n * runtime registry while making every request fail closed; presenting that\n * variant with a successful response contract would therefore be false.\n *\n * Keep this eligibility decision before the pre-projection inventory so source\n * conservation, sectioning, OpenAPI generation, links, and the renderer all\n * operate on the same serviceable HTTP set.\n */\nfunction isConsumerApiReferenceOperation(\n operation: ResourceConfiguration_Operation<any, any>,\n): operation is ApiBearingOperation {\n return isApiBearingOperation(operation)\n && operation.unimplementedAcknowledgement === undefined;\n}\n\n/**\n * Run the `'openapi-generation-input'` subprocess behavior against\n * the application's shared library companion module.\n *\n * The handler:\n *\n * 1. Loads every `SharedSaaSModule` via `loadSharedModules()` (the\n * shared-library companion export already used by\n * `resources-registry` and `resource-specifications`).\n * 2. Builds the merged shared registry to obtain the unified\n * `resourceConfigurations`, `resourceFieldIdentifiers`, and\n * `resourceRelationships`.\n * 3. For each resource: materializes the configuration (the entry\n * can be a factory taking `relationships`) and runs\n * `ResourcesConfigOperationsUrlsBuilderUtils.updateOperationUrls(...)`\n * so every API operation carries fully resolved\n * `initiatorInfos[].url` strings (already in OpenAPI brace\n * form `{paramName}` per the framework's URL builder).\n * 4. Projects each `(operation × initiatorInfo)` row into one\n * `OperationProjection`, deriving:\n * - `operationKey` — `<operationIdentifier>` plus optional\n * `_<variantKey>` / `_BULK` / `_PATH<n>` suffixes so the\n * OpenAPI `operationId` is unique across the document.\n * - `requestBodySchema` / `responseBodySchema` — via\n * `convertZodSchemaToOpenApiSchema(...)` from\n * `@wildo-ai/saas-technical-doc/companion` (a thin wrapper\n * over Zod 4's native `z.toJSONSchema()` that pins the\n * `undefined → null` projection contract). `null` when no\n * schema is present (not every operation has both).\n * - `callbackPath` — the framework-emitted\n * `initiatorInfo.urlCallback`, present only on\n * `API_CALL_WITH_CALLBACK` variants.\n * 5. Joins the exact startup narrowing declaration to specification-owned\n * resource purposes. No URL or field-name inference is permitted.\n * 6. Returns the flat projection list + diagnostic counters.\n */\nexport function runOpenApiGenerationInputBehavior(\n moduleExports: Record<string, unknown>,\n resourceSpecifications?: Record<string, unknown>,\n /**\n * Opt-in set of CORE (engine) resources to ALSO document, sourced from\n * `WildoTechnicalDocConfig.apiDocResources` (threaded through the behavior\n * `input`). `'all'` ({@link API_DOC_RESOURCES_ALL}) documents every core\n * resource that has API-bearing ops; an array is a curated subset. The\n * values arrive over IPC as strings (CoreResourceType enum values).\n *\n * Backend runtime registration automatically merges these same core maps.\n * The projector materializes them independently because the subprocess owns\n * the schema graph, applies the canonical resolved feature exclusions, and\n * overlays `engineResourceSpecificationsByType` (Tier-1/2/3). App\n * registrations always win (a core type already in the app registry is never\n * double-documented). This remains eligibility evidence, not live-route proof.\n */\n apiDocResourceTypes?: readonly string[] | 'all',\n /** Core types excluded by the canonical resolved application feature gates. */\n excludedCoreResourceTypes?: readonly CoreResourceType[],\n /** Authoritative engine + application role specifications for access prose. */\n roleSpecifications?: Record<string, unknown>,\n /** Narrow consumer-doc facts read from the application's final startup declaration. */\n startupProjection?: ApplicationConsumerDocumentationStartupProjectionInput,\n): Promise<OpenApiGenerationInputSubprocessOutput> {\n const { loadSharedModules } = resolveSharedLibraryCompanionExports(moduleExports);\n return loadSharedModules().then((sharedModules) => {\n const sharedRegistry = buildSharedSaaSModulesRegistry(...sharedModules);\n const resourceConfigs = sharedRegistry.resourceConfigurations ?? {};\n const resourceFieldIdentifiers = sharedRegistry.resourceFieldIdentifiers ?? {};\n /*\n * URL building needs the CORE parents too, and the app registry does not carry them.\n *\n * A resource anchored to a core parent gets its URL parameter name from that parent's own field\n * identifier — `organizations` → `organizationId`. The app's map holds only the app's resources,\n * so the URL builder fell through to the relationship's `foreignKeyField`, and threw when a\n * routed parent legitimately has none. The backend never hits this because its registry contains\n * the core resources; this subprocess materializes them separately, and did so only for the core\n * block below.\n *\n * Measured 2026-09-18: `d98aea6a` routed `organizations → billableServices` (correctly — the\n * organization must be in the URL to authorize a resource whose rows live in Odoo) and, being a\n * virtual resource, it has no `organizationId` to name as a foreign key. That combination is\n * exactly the throw's condition, so EVERY publication since has failed with \"Cannot generate URL\n * parent info for organizations\", leaving this application's published API reference frozen at\n * its 2026-09-14 state. The relationship is right; the map was incomplete.\n *\n * App entries spread LAST so an app registration of a core type wins, which is the precedence\n * this file already states (\"App registrations always win\").\n */\n const allResourceFieldIdentifiers: Record<string, string> = {\n ...coreResourceShared_FieldIdentifier,\n ...resourceFieldIdentifiers,\n };\n const relationships = sharedRegistry.resourceRelationships ?? [];\n const roleSpecsByRef = indexApplicationRoleDocumentationSources(roleSpecifications);\n const organizationRoles = projectApplicationOrganizationRoleDocumentationSources(sharedRegistry.customRoles, roleSpecsByRef);\n\n const operations: OperationProjection[] = [];\n const resourceTags: ResourceTag[] = [];\n /** Every projected resource's field documentation, so an embedded related record can use its own (#1625). */\n const fieldDocsByResource = new Map<string, Record<string, FieldDoc>>();\n const preparedResources: PreparedResourceProjection[] = [];\n\n /**\n * Project one prepared resource after the complete externally exposed HTTP\n * inventory has been resolved. Preparation and projection are deliberately\n * separate phases: a DTO/prose/role projection failure must fail the run,\n * but it must never determine what the source inventory says existed.\n */\n const projectResource = (prepared: PreparedResourceProjection): ResourceProjectionResult => {\n const {\n resourceType,\n materializedConfig,\n compiledRelationships,\n specOverlayMap,\n resolvedExternalHttpOperations: localResolvedExternalHttpOperations,\n } = prepared;\n const localOperations: OperationProjection[] = [];\n const localResourceTags: ResourceTag[] = [];\n let inventoryIndex = 0;\n\n // Tier-2 enrichment: extract this resource's field specs once (mirrors\n // the `resource-specifications` handler: authored `fields` map +\n // `additionalFieldSpecs`, else the resource main-schema fallback), then\n // map them into the engine's narrow FieldDoc shape. Applied to every\n // operation's request/response JSON-Schema fragment below.\n const registryContext = { currentResourceType: resourceType, relationships: compiledRelationships };\n const resourceSpecOverlay = specOverlayMap?.[resourceType] as\n | AnyResourceSpecificationConfig\n | undefined;\n\n // Emit one descriptor for every resource that can later contribute an\n // endpoint. The generator drops descriptors with no retained endpoint,\n // but emitting it here preserves the source-owned lifecycle and compiled\n // relationship facts alongside the existing business-purpose prose.\n localResourceTags.push(projectResourceTag(resourceType, resourceSpecOverlay, compiledRelationships));\n\n const overlayFieldSpecs = resourceSpecOverlay?.fields\n ? extractFieldSpecsFromFieldMap(\n resourceSpecOverlay.fields as Record<string, z.ZodTypeAny>,\n undefined,\n registryContext,\n )\n : [];\n const overlayAdditionalFieldSpecs = (resourceSpecOverlay?.additionalFieldSpecs ?? []) as ExtractedFieldSpec[];\n const fieldSpecs: ExtractedFieldSpec[] = overlayFieldSpecs.length > 0 || overlayAdditionalFieldSpecs.length > 0\n ? [...overlayFieldSpecs, ...overlayAdditionalFieldSpecs]\n : materializedConfig.mainSchema\n ? extractResourceFieldSpecs(\n materializedConfig.mainSchema,\n materializedConfig.inheritenceSchemaDefinition,\n registryContext,\n )\n : [];\n const fieldDocsByName = buildFieldDocsByName(fieldSpecs);\n\n for (const operation of materializedConfig.operations) {\n if (!isConsumerApiReferenceOperation(operation)) continue;\n // Preparation rejects the empty case before any resource is projected.\n const initiatorInfos = operation.initiatorInfos!;\n\n // Resolve the authored operation spec once per operation (shared across\n // all initiator paths). Prose (summary/description) and payload examples\n // are variant-aware; the remaining HTTP documentation (Tier 3) is shared\n // by the logical operation and is derived from this same source owner.\n const rawOperationSpec = resolveOperationSpecRaw(specOverlayMap, operation);\n const operationDoc = {\n // A generated PDF regeneration operation is not part of the\n // resource's declared core/custom operation vocabulary, so it cannot\n // have an `operations[operationIdentifier]` specification entry.\n // Its entire public contract is instead declared by the paired\n // `pdfTemplates` specification and the framework-generated runtime\n // operation. Project that contract here, before any optional\n // operation-specific prose; explicit authored prose always wins.\n ...buildGeneratedPdfRegenerateOperationDoc(resourceSpecOverlay, operation),\n ...buildOperationDocFromSpec(\n rawOperationSpec as OperationSpecProse | undefined,\n operation.variantKey,\n ),\n };\n const operationHttpDoc = {\n // The paired `pdfTemplates` declaration is likewise the source of\n // the generated operation's HTTP outcomes. An ordinary operation\n // specification remains an explicit, higher-precedence override.\n ...buildGeneratedPdfRegenerateOperationHttpDoc(resourceSpecOverlay, operation),\n ...buildOperationHttpDocFromSpec(rawOperationSpec, operation.variantKey),\n };\n\n for (let initiatorIndex = 0; initiatorIndex < initiatorInfos.length; initiatorIndex += 1) {\n const initiatorInfo = initiatorInfos[initiatorIndex]!;\n const expected = localResolvedExternalHttpOperations[inventoryIndex++];\n if (expected === undefined) {\n throw new Error(`openapi-generation-input projector: projection produced an operation absent from the pre-projection inventory`);\n }\n let projection: OperationProjection;\n try {\n projection = projectOperation(\n operation,\n initiatorInfo,\n initiatorIndex,\n initiatorInfos.length,\n operationDoc,\n roleSpecsByRef,\n true,\n );\n } catch (error) {\n const reason = describeCaughtError(error);\n throw new Error(\n `openapi-generation-input projector: failed to project `\n + `${String(operation.resourceIdentifier)}.${String(operation.operationIdentifier)} ${initiatorInfo.url}: ${reason}`,\n { cause: error },\n );\n }\n if (\n JSON.stringify(projection.identity) !== JSON.stringify(expected.identity)\n || projection.consumerApiSection !== expected.section\n || JSON.stringify(projection.roles) !== JSON.stringify(expected.roles)\n ) {\n throw new Error(\n `openapi-generation-input projector: projection no longer preserves the resolved HTTP operation identity for `\n + `${String(operation.resourceIdentifier)}.${String(operation.operationIdentifier)} ${initiatorInfo.url}.`,\n );\n }\n enrichProjectionBodiesWithFieldDocs(projection, fieldDocsByName);\n // Tier-3: attach the per-operation HTTP documentation (response\n // statuses / error scenarios / idempotency / rate-limit / examples).\n Object.assign(projection, operationHttpDoc);\n localOperations.push(projection);\n }\n }\n\n if (inventoryIndex !== localResolvedExternalHttpOperations.length) {\n throw new Error(`openapi-generation-input projector: pre-projection inventory contains an operation that projection did not consume`);\n }\n\n return {\n operations: localOperations,\n resourceTags: localResourceTags,\n resourceIdentifier: resourceType,\n fieldDocsByName,\n };\n };\n\n /** Merge an atomic per-resource projection into the shared output. */\n const mergeResourceProjection = (result: ResourceProjectionResult): void => {\n operations.push(...result.operations);\n resourceTags.push(...result.resourceTags);\n fieldDocsByResource.set(result.resourceIdentifier, result.fieldDocsByName);\n };\n\n /*\n * Which resources are the APPLICATION'S OWN, by identifier.\n *\n * The counts beside this walk already distinguish app from core, but only as totals — and the\n * distinction is the one thing that separates the product's own domain from the framework\n * underneath it. Documentation needs the identifiers, not the count: a page about what this\n * application manages must cover `todos` and `teamGoals` and say nothing about\n * `organizationMembers`, which has its own pages.\n *\n * Taken from the materialized config rather than the registry KEY, because a tag is named by\n * `resourceIdentifier` and the two are not required to match.\n */\n const applicationOwnedResourceIdentifiers: string[] = [];\n\n // ── App resources (the application's own shared-lib registry) ──────────\n // No try/catch: the app's own DTOs are the app author's responsibility, so\n // an unrepresentable shape must fail loud (mirrors the pre-existing behavior).\n for (const [resourceType, factoryOrConfig] of Object.entries(resourceConfigs)) {\n const materializedConfig: ResourceConfiguration<any, any, any> =\n typeof factoryOrConfig === 'function'\n ? (factoryOrConfig as (\n rels: typeof relationships,\n ) => ResourceConfiguration<any, any, any>)(relationships)\n : (factoryOrConfig as ResourceConfiguration<any, any, any>);\n applicationOwnedResourceIdentifiers.push(String(materializedConfig.resourceIdentifier));\n preparedResources.push(prepareResourceProjection(\n resourceType,\n materializedConfig,\n allResourceFieldIdentifiers,\n relationships,\n resourceSpecifications,\n ));\n }\n\n // ── Core (engine) resources — opt-in via `apiDocResources` ─────────────\n // Materialize requested runtime-eligible core resources from the engine's\n // shared factory map (the same map backend startup merges) and project them\n // with the engine spec overlay. This projector does not mutate runtime\n // registration. Relationships are compiled exactly as\n // the backend registry does (app + core-shared, resolved against merged\n // field identifiers) so core factories emit correct URLs / FK params.\n //\n // Every requested, eligible core resource is part of the publication\n // contract. Unknown resources and projection failures are therefore fatal;\n // publishing a partial framework catalog would make conservation green by\n // redefining the source set after the loss.\n const excludedCoreResources: CoreResourceType[] = [];\n const excludedCoreResourceTypeSet = new Set(excludedCoreResourceTypes ?? []);\n let coreResourceCount = 0;\n if (apiDocResourceTypes !== undefined) {\n const requestedCoreTypes = apiDocResourceTypes === 'all'\n ? Object.keys(coreShared_ResourcesConfigurations_FactoryMap)\n : apiDocResourceTypes;\n // The same merged map, with the app-wins precedence this file states. It used to be rebuilt\n // here spreading core LAST, which silently inverted that precedence for a core type an\n // application also registers.\n const coreFieldIdentifiers: Record<string, string> = allResourceFieldIdentifiers;\n const coreCompiledRelationships = Resources_SharedUtils.ensureCompiledRelationships(\n [...relationships, ...coreSharedResourceRelationship],\n coreFieldIdentifiers,\n );\n for (const coreType of requestedCoreTypes) {\n if (excludedCoreResourceTypeSet.has(coreType as CoreResourceType)) {\n excludedCoreResources.push(coreType as CoreResourceType);\n continue;\n }\n // App registration always wins — never double-document a type the app\n // already owns in its shared registry.\n if (resourceConfigs[coreType]) continue;\n const factory = coreShared_ResourcesConfigurations_FactoryMap[coreType as CoreResourceType];\n if (typeof factory !== 'function') {\n throw new Error(`openapi-generation-input projector: requested core resource '${coreType}' is unavailable in this engine build.`);\n }\n const materializedConfig = factory(coreCompiledRelationships) as ResourceConfiguration<any, any, any>;\n preparedResources.push(prepareResourceProjection(\n coreType,\n materializedConfig,\n coreFieldIdentifiers,\n coreCompiledRelationships,\n engineResourceSpecificationsByType,\n ));\n coreResourceCount += 1;\n }\n }\n\n // The DTOs every configuration came out of its factory with were built against an EMPTY\n // registry. Rebuild the documented ones against the population the runtime holds before any\n // schema is projected (#582) — see `rebuildDocumentedOperationDtosAgainstRuntimeRegistry`.\n rebuildDocumentedOperationDtosAgainstRuntimeRegistry(\n preparedResources,\n relationships,\n allResourceFieldIdentifiers,\n excludedCoreResourceTypeSet,\n );\n\n // This is the actual pre-projection boundary: the complete application +\n // requested-core route inventory exists and is collision-free before the\n // first DTO, prose, access, or schema projection is attempted.\n const resolvedExternalHttpOperations = preparedResources.flatMap((resource) => resource.resolvedExternalHttpOperations);\n assertNoUnexplainedResolvedHttpRouteCollisions(resolvedExternalHttpOperations);\n for (const preparedResource of preparedResources) mergeResourceProjection(projectResource(preparedResource));\n // After every resource is projected, because a context read embeds records of OTHER resources.\n for (const operation of operations) enrichEmbeddedRelatedRecordsWithFieldDocs(operation, fieldDocsByResource);\n const consideredOperationCount = preparedResources.reduce((count, resource) => count + resource.documentableApiOperationCount, 0);\n const organizationUnitAwareResources = projectApplicationOrganizationUnitResourceDocumentation(\n startupProjection?.organizationUnitNarrowing,\n resourceTags,\n );\n const integrationSurfaces = collectIntegrationSurfaces(\n preparedResources,\n resourceConfigs,\n excludedCoreResourceTypeSet,\n allResourceFieldIdentifiers,\n relationships,\n );\n const hasConfiguredMcpToolOperations = integrationSurfaces.mcpTools.length > 0;\n const hasConfiguredA2aSkills = hasConfiguredA2aSkill(startupProjection?.flowActorSystemsFactoryMap);\n\n /*\n * The manually mounted controller routes, appended AFTER every resource has been projected.\n *\n * Order matters only for readability of the emitted document (the generator sorts), but the\n * PLACEMENT matters for the pre-projection guard above: `assertNoUnexplainedResolvedHttpRouteCollisions`\n * reasons about the resource registry's own inventory, and a manual route is not part of it.\n * Collisions between the two families are caught where they can actually happen — the generator\n * refuses a duplicate `path` + `httpVerb` within a section, by construction.\n *\n * This push makes the projector a TWO-PRODUCER function, and every statistic below has to say\n * which producer it is about. `projectedRowCount` is the payload total and therefore counts\n * both; `resolvedExternalHttpOperations` is the registry inventory and therefore counts\n * neither. `manualControllerRouteRowCount` is what lets the parent add them back up — omitting\n * it is what broke `wildo docs publish` for every application the day this family landed, by\n * leaving the parent comparing a 351-entry registry inventory against a 454-row payload.\n */\n const manualControllerRoutes = projectManualControllerRouteOperations();\n operations.push(...manualControllerRoutes.operations);\n resourceTags.push(...manualControllerRoutes.resourceTags);\n\n return {\n operations,\n hasConfiguredMcpToolOperations,\n hasConfiguredA2aSkills,\n mcpTools: integrationSurfaces.mcpTools,\n webhookEvents: integrationSurfaces.webhookEvents,\n organizationRoles,\n organizationUnitAwareResources,\n errorResponseSchema: convertZodSchemaToOpenApiSchema(ErrorResponseSchema),\n resourceTags,\n applicationOwnedResourceIdentifiers: applicationOwnedResourceIdentifiers.sort((left, right) => left.localeCompare(right, 'en-US')),\n stats: {\n resourceCount: Object.keys(resourceConfigs).length + coreResourceCount,\n consideredOperationCount,\n projectedRowCount: operations.length,\n resolvedExternalHttpOperations,\n manualControllerRouteRowCount: manualControllerRoutes.operations.length,\n // These compatibility diagnostics are now structurally empty: missing\n // initiators are a publication error rather than an accepted skip.\n skippedOperationWithoutInitiatorInfosCount: 0,\n skippedOperationsWithoutInitiatorInfos: [],\n ...(excludedCoreResources.length > 0 ? { excludedCoreResources: excludedCoreResources.sort() } : {}),\n },\n };\n });\n}\n\n/**\n * Match the MCP adapter's publication gates: a tool operation must be\n * default, URL-bearing, non-bulk, explicitly opted in, and not acknowledged as\n * unimplemented; its composed public name must also be protocol-conformant and\n * unambiguous. The scan covers the application's resources plus every\n * runtime-eligible core resource; it is intentionally independent from the\n * narrower `apiDocResources` selection, which controls reference content rather\n * than whether the application has an MCP surface.\n */\n/**\n * One tool an MCP client can call, and one event a webhook receiver can be sent.\n *\n * Both were computed here as BOOLEANS — \"does this application expose any MCP tool?\", \"…any\n * webhook surface?\" — which is all the applicability gates needed. It is not what a reader needs:\n * the MCP page could say a catalogue exists without naming a tool in it, and five webhook pages\n * could explain delivery without ever naming an event. The walk was already visiting every\n * operation; it now keeps what it finds.\n */\nexport interface ProjectedIntegrationSurfaces {\n readonly mcpTools: readonly ApplicationMcpToolSource[];\n readonly webhookEvents: readonly ApplicationWebhookEventSource[];\n}\n\n/**\n * Walks the application's own resources AND the selected core resources once, collecting both\n * integration surfaces. Core resources are materialized from the same factory map the runtime uses,\n * so a core resource this application excluded contributes nothing — exactly as it contributes no\n * route.\n */\nexport function collectIntegrationSurfaces(\n preparedApplicationAndSelectedCoreResources: readonly PreparedResourceProjection[],\n applicationResourceConfigurations: Readonly<Record<string, unknown>>,\n excludedCoreResourceTypes: ReadonlySet<CoreResourceType>,\n applicationFieldIdentifiers: Readonly<Record<string, string>>,\n applicationRelationships: readonly ResourceRelationship[],\n): ProjectedIntegrationSurfaces {\n const mcpTools: ApplicationMcpToolSource[] = [];\n const webhookEvents: ApplicationWebhookEventSource[] = [];\n\n const collectFrom = (configuration: ResourceConfiguration<any, any, any>): void => {\n const resourceIdentifier = String(configuration.resourceIdentifier);\n // A resource whose own identifier contains the tool separator could not produce an\n // unambiguous tool name, so it is skipped here exactly as the adapter skips it.\n const resourceCanCarryTools = !resourceIdentifier.includes(MCP_TOOL_NAME_SEPARATOR);\n /*\n * `configuration.operations` is a flat list of VARIANTS, not of operations — which is why the\n * MCP branch below has to select one with `isDefaultUrlBearingOperation`. The webhook branch\n * has no equivalent filter and must not grow one, because a webhook is not a property of a\n * variant: `m2mNotifications` is declared once per OPERATION and copied onto every variant, and\n * the runtime dispatcher fires it for whichever variant executed. So a receiver sees exactly one\n * kind of event whether the caller took `todos.change_status`'s member route or its admin one.\n *\n * The multiplicity is therefore real and expected, and collapsing it is the projection's job.\n * The scope of this set is deliberately ONE resource configuration rather than the whole walk:\n * a variant fan-out within a resource is normal, while the SAME resource being walked twice is\n * a producer defect, and `projectApplicationIntegrationDocumentation` must keep being able to\n * refuse the second one. A collector-wide set would silence both.\n *\n * Filtering to the default variant instead was rejected: it happens to give the right answer\n * today only because every variant carries the same copy, and it would silently drop a genuine\n * event the day a non-default variant declares a channel of its own.\n */\n const resourceWebhookEventIdentities = new Set<string>();\n for (const operation of configuration.operations) {\n const operationIdentifier = String(operation.operationIdentifier);\n const toolName = `${resourceIdentifier}${MCP_TOOL_NAME_SEPARATOR}${operationIdentifier}`;\n if (\n resourceCanCarryTools\n && isDefaultUrlBearingOperation(operation, operationIdentifier)\n && operation.mcp?.exposed === true\n && operation.unimplementedAcknowledgement === undefined\n && isPortableModelToolName(toolName)\n ) {\n mcpTools.push({ toolName, resourceIdentifier, operationIdentifier });\n }\n for (const notification of operation.m2mNotifications ?? []) {\n const channel = String((notification as { channel?: unknown }).channel ?? '');\n if (channel.length === 0) continue;\n const eventIdentity = `${operationIdentifier}.${channel}`;\n if (resourceWebhookEventIdentities.has(eventIdentity)) continue;\n resourceWebhookEventIdentities.add(eventIdentity);\n webhookEvents.push({ resourceIdentifier, operationIdentifier, channel });\n }\n }\n };\n\n /*\n * The prepared list already holds the app's resources AND every core resource the API reference\n * SELECTED, so the factory sweep below must skip what it already carries or each selected core\n * resource is walked twice. That double-visit was always here and was invisible while this\n * function answered a BOOLEAN: `||` collapses duplicates, so nothing could show it. Returning the\n * lists made it visible on the first real render — Wonder CRM's catalogue listed\n * `userSelfPreferences__read` and `userSelfPreferences__update` twice each, one row per visit.\n *\n * The sweep still runs, because documentation SELECTION and runtime EXPOSURE are different sets:\n * a core resource an application left out of its API reference is still published to MCP clients\n * at runtime, and a catalogue that omitted it would be describing the documentation rather than\n * the application.\n */\n const alreadyCollectedResourceTypes = new Set(preparedApplicationAndSelectedCoreResources.map((prepared) => prepared.resourceType));\n for (const prepared of preparedApplicationAndSelectedCoreResources) collectFrom(prepared.materializedConfig);\n\n const coreCompiledRelationships = Resources_SharedUtils.ensureCompiledRelationships(\n [...applicationRelationships, ...coreSharedResourceRelationship],\n { ...applicationFieldIdentifiers, ...coreResourceShared_FieldIdentifier },\n );\n for (const [coreType, factory] of Object.entries(coreShared_ResourcesConfigurations_FactoryMap)) {\n if (\n alreadyCollectedResourceTypes.has(coreType)\n || applicationResourceConfigurations[coreType] !== undefined\n || excludedCoreResourceTypes.has(coreType as CoreResourceType)\n ) continue;\n if (typeof factory === 'function') collectFrom(factory(coreCompiledRelationships) as ResourceConfiguration<any, any, any>);\n }\n\n const byToolName = (left: ApplicationMcpToolSource, right: ApplicationMcpToolSource): number => left.toolName.localeCompare(right.toolName, 'en-US');\n const byEvent = (left: ApplicationWebhookEventSource, right: ApplicationWebhookEventSource): number =>\n `${left.resourceIdentifier}.${left.operationIdentifier}.${left.channel}`.localeCompare(`${right.resourceIdentifier}.${right.operationIdentifier}.${right.channel}`, 'en-US');\n return { mcpTools: mcpTools.sort(byToolName), webhookEvents: webhookEvents.sort(byEvent) };\n}\n\n/** Match the A2A runtime's skill filter exactly: only agentic ACTOR systems backed by an agent ref are advertised. */\nfunction hasConfiguredA2aSkill(\n factories: Readonly<Record<string, () => FlowActorSystem>> | undefined,\n): boolean {\n return Object.values(factories ?? {}).some((factory) => {\n const system = factory();\n return system.kind === FlowActorSystem_Kind.ACTOR\n && system.actors.some((actor) => actor.executionMode === Actor_ExecutionMode.AGENTIC && Boolean(actor.agentRef));\n });\n}\n\n/** Local accumulation returned by `projectResource` for atomic merge. */\ninterface ResourceProjectionResult {\n operations: OperationProjection[];\n resourceTags: ResourceTag[];\n resourceIdentifier: string;\n /** This resource's field documentation, which a context read of ANOTHER resource embedding it reuses. */\n fieldDocsByName: Record<string, FieldDoc>;\n}\n\nexport interface PreparedResourceProjection {\n resourceType: string;\n materializedConfig: ResourceConfiguration<any, any, any>;\n compiledRelationships: ResourceRelationship[];\n specOverlayMap: Record<string, unknown> | undefined;\n documentableApiOperationCount: number;\n resolvedExternalHttpOperations: OpenApiGenerationInputSubprocessOutput['stats']['resolvedExternalHttpOperations'];\n}\n\n/**\n * Resolve the source identity of every externally exposed HTTP route without\n * invoking any documentation projector. Missing routes are defects: an\n * API-bearing variant that cannot be addressed cannot be represented honestly\n * in either the runtime router or the reference.\n */\nexport function inventoryResolvedExternalHttpOperations(\n operations: readonly ResourceConfiguration_Operation<any, any>[],\n): OpenApiGenerationInputSubprocessOutput['stats']['resolvedExternalHttpOperations'] {\n const inventory: OpenApiGenerationInputSubprocessOutput['stats']['resolvedExternalHttpOperations'] = [];\n for (const operation of operations) {\n if (!isConsumerApiReferenceOperation(operation)) continue;\n const initiatorInfos = operation.initiatorInfos ?? [];\n if (initiatorInfos.length === 0) {\n throw new Error(\n `openapi-generation-input projector: API-bearing operation `\n + `${String(operation.resourceIdentifier)}.${String(operation.operationIdentifier)} has no resolved initiator route.`,\n );\n }\n const variantType = VARIANT_TYPE_BY_FRAMEWORK_VALUE[operation.variantType];\n const httpVerb = HTTP_VERB_BY_FRAMEWORK_VALUE[operation.httpVerb];\n if (variantType === undefined || httpVerb === undefined) {\n throw new Error(\n `openapi-generation-input projector: API-bearing operation `\n + `${String(operation.resourceIdentifier)}.${String(operation.operationIdentifier)} has an unsupported HTTP identity.`,\n );\n }\n const roles = httpCallerRoles(operation);\n const section = classifyConsumerApiSection(roles);\n for (const initiatorInfo of initiatorInfos) {\n inventory.push({\n identity: createOpenApiOperationIdentity({\n resourceIdentifier: String(operation.resourceIdentifier),\n baseOperationIdentifier: String(operation.operationIdentifier),\n variantKey: operation.variantKey === undefined ? null : String(operation.variantKey),\n variantType,\n httpVerb,\n path: initiatorInfo.url,\n }),\n section,\n roles,\n });\n }\n }\n return inventory;\n}\n\n/**\n * Rebuild each documented operation's DTOs against the registry the RUNNING application holds (#582).\n *\n * `createResourceConfiguration_Initialization` pre-builds DTOs with an empty registry, so\n * `resolveRelationshipObjectIdentity` cannot read a related resource's AUTHORED\n * `resourceFieldIdentifier` and falls back to singularising its type. The backend registry\n * (`resources-registry.backend.service.ts`) and the frontend repository both repair this with\n * `rebuildResourceConfigurationsOperationDtos` before serving; this projector did not, so the\n * published reference named `userSelfPreference`, `organizationPreference`, `organizationFeature`\n * where the runtime returns `userSelfPreferences`, `organizationPreferences`, `organizationFeatures`\n * — a contract derived from a different input than the one served.\n *\n * The registry is every documented configuration plus every OTHER engine configuration the runtime\n * merges, minus the feature-excluded core types (the runtime deletes those, identifiers included).\n * The undocumented ones are materialized for their identity only; only documented configurations are\n * rebuilt. Relationships are compiled against the merged identifiers first, as the backend's\n * `normalizeResourceConfigurationRelationships` does. Operations are rebuilt with a spread, so the\n * URLs `prepareResourceProjection` already resolved survive.\n *\n * NOT reproduced here, deliberately: the backend's `reconcileGeneratedRelationshipBulkOperations`.\n * It ADDS operations rather than naming fields, which would change the documented route inventory —\n * a separate question from this one.\n */\nexport function rebuildDocumentedOperationDtosAgainstRuntimeRegistry(\n preparedResources: ReadonlyArray<Pick<PreparedResourceProjection, 'resourceType' | 'materializedConfig'>>,\n applicationRelationships: readonly unknown[],\n applicationFieldIdentifiers: Record<string, string>,\n excludedCoreResourceTypes: ReadonlySet<string>,\n): void {\n const registry = new Map<ResourceType, AnyResourceConfiguration>();\n for (const prepared of preparedResources) {\n registry.set(prepared.resourceType as ResourceType, prepared.materializedConfig as unknown as AnyResourceConfiguration);\n }\n\n const engineRelationships = engineMergedCompiledResourceRelationships(applicationRelationships, applicationFieldIdentifiers);\n for (const [resourceType, factory] of engineResourceConfigurationFactoryEntries()) {\n if (registry.has(resourceType as ResourceType) || excludedCoreResourceTypes.has(resourceType)) continue;\n if (typeof factory !== 'function') continue;\n registry.set(resourceType as ResourceType, (factory as (relationships: unknown) => AnyResourceConfiguration)(engineRelationships));\n }\n\n const mergedFieldIdentifiers: Record<string, string> = {};\n for (const [resourceType, configuration] of registry) {\n if (typeof configuration.resourceFieldIdentifier === 'string') {\n mergedFieldIdentifiers[resourceType] = configuration.resourceFieldIdentifier;\n }\n }\n\n for (const prepared of preparedResources) {\n const configuration = prepared.materializedConfig as unknown as AnyResourceConfiguration;\n const buckets = configuration.resourceRelationships;\n if (buckets) {\n configuration.resourceRelationships = {\n parentRelationships: Resources_SharedUtils.ensureCompiledRelationships(buckets.parentRelationships ?? [], mergedFieldIdentifiers),\n childRelationships: Resources_SharedUtils.ensureCompiledRelationships(buckets.childRelationships ?? [], mergedFieldIdentifiers),\n selfRelationships: Resources_SharedUtils.ensureCompiledRelationships(buckets.selfRelationships ?? [], mergedFieldIdentifiers),\n };\n }\n configuration.operations = configuration.operations.map((operation) => {\n try {\n return ResourcesConfigOperationsDtosBuilderUtils.buildAllOperationDtos(operation as never, configuration as never, registry) as never;\n } catch (error) {\n // Fail the run, naming the operation — the same contract as a projection failure. A DTO the\n // runtime would build identically cannot be skipped from a publication that claims it.\n throw new Error(\n `openapi-generation-input projector: failed to rebuild DTOs for `\n + `${String(prepared.resourceType)}.${String((operation as { operationIdentifier?: unknown }).operationIdentifier)}`\n + ` against the runtime registry: ${describeCaughtError(error)}`,\n { cause: error },\n );\n }\n });\n }\n}\n\nfunction prepareResourceProjection(\n resourceType: string,\n materializedConfig: ResourceConfiguration<any, any, any>,\n fieldIdentifiers: Record<string, string>,\n compiledRelationships: ResourceRelationship[],\n specOverlayMap: Record<string, unknown> | undefined,\n): PreparedResourceProjection {\n ResourcesConfigOperationsUrlsBuilderUtils.updateOperationUrls(materializedConfig, fieldIdentifiers);\n return {\n resourceType,\n materializedConfig,\n compiledRelationships,\n specOverlayMap,\n documentableApiOperationCount: materializedConfig.operations.filter(isConsumerApiReferenceOperation).length,\n resolvedExternalHttpOperations: inventoryResolvedExternalHttpOperations(materializedConfig.operations),\n };\n}\n\n/** OpenAPI cannot represent two semantic operations at one method/path location. */\nexport function assertNoUnexplainedResolvedHttpRouteCollisions(\n inventory: ReadonlyArray<OpenApiGenerationInputSubprocessOutput['stats']['resolvedExternalHttpOperations'][number]>,\n): void {\n const identityByRoute = new Map<string, string>();\n for (const entry of inventory) {\n const route = `${entry.identity.httpVerb.toUpperCase()} ${entry.identity.path}`;\n const prior = identityByRoute.get(route);\n if (prior !== undefined) {\n throw new Error(\n `openapi-generation-input projector: unexplained HTTP route collision at ${route} between '${prior}' and `\n + `'${entry.identity.operationVariantRef}'. Define one runtime operation or an explicit alias contract before publishing.`,\n );\n }\n identityByRoute.set(route, entry.identity.operationVariantRef);\n }\n}\n\nfunction isPlainObject(value: unknown): value is Record<string, unknown> {\n return typeof value === 'object' && value !== null && !Array.isArray(value);\n}\n\n/**\n * Map the extracted resource field specs into the engine's narrow `FieldDoc`\n * shape, keyed by field name (the JSON-Schema property key the injector joins\n * on). Pulls `meaning` / `whyItMatters` / `relationshipContext` and, for enum\n * fields, `values[*].meaning`. Fields with no usable prose are omitted so the\n * injector only touches properties that have something to say.\n */\nfunction buildFieldDocsByName(fieldSpecs: readonly ExtractedFieldSpec[]): Record<string, FieldDoc> {\n const result: Record<string, FieldDoc> = {};\n for (const fieldSpec of fieldSpecs) {\n const params: Record<string, unknown> = fieldSpec.params ?? {};\n const doc: FieldDoc = {};\n if (typeof params['meaning'] === 'string') doc.meaning = params['meaning'];\n if (typeof params['whyItMatters'] === 'string') doc.whyItMatters = params['whyItMatters'];\n if (typeof params['relationshipContext'] === 'string') {\n doc.relationshipContext = params['relationshipContext'];\n }\n const values = params['values'];\n if (isPlainObject(values)) {\n const enumValueMeanings: Record<string, string> = {};\n for (const [enumValue, valueConfig] of Object.entries(values)) {\n if (isPlainObject(valueConfig) && typeof valueConfig['meaning'] === 'string') {\n enumValueMeanings[enumValue] = valueConfig['meaning'];\n }\n }\n if (Object.keys(enumValueMeanings).length > 0) {\n doc.enumValueMeanings = enumValueMeanings;\n }\n }\n if (\n doc.meaning !== undefined\n || doc.whyItMatters !== undefined\n || doc.relationshipContext !== undefined\n || doc.enumValueMeanings !== undefined\n ) {\n result[fieldSpec.fieldName] = doc;\n }\n }\n return result;\n}\n\n/**\n * Resolve a resource's OpenAPI tag description from its specification overlay:\n * the resource-level `purpose`, falling back to `businessRole`. Returns\n * `undefined` when neither is authored (the generator then emits a bare\n * `{ name }` tag — graceful).\n */\nfunction resolveResourceTagDescription(overlay: unknown): string | undefined {\n if (!isPlainObject(overlay)) {\n return undefined;\n }\n const purpose = overlay['purpose'];\n if (typeof purpose === 'string' && purpose.trim().length > 0) {\n return purpose.trim();\n }\n const businessRole = overlay['businessRole'];\n if (typeof businessRole === 'string' && businessRole.trim().length > 0) {\n return businessRole.trim();\n }\n return undefined;\n}\n\n/** Resolve specification-owned lifecycle prose; it is never invented by the renderer. */\nfunction resolveResourceTagLifecycleRole(overlay: unknown): string | undefined {\n if (!isPlainObject(overlay)) return undefined;\n const lifecycleRole = overlay['lifecycleRole'];\n return typeof lifecycleRole === 'string' && lifecycleRole.trim().length > 0 ? lifecycleRole.trim() : undefined;\n}\n\n/** The engine's own sub-domain values, as a runtime set — an application's are open strings. */\nconst ENGINE_RESOURCE_SUB_DOMAIN_VALUES: ReadonlySet<string> = new Set<string>(Object.values(EngineResourceSubDomain));\n\n/**\n * The API-reference group an ENGINE resource belongs to, taken from the sub-domain its own\n * specification declares.\n *\n * ## Why the engine answers this and not the application\n *\n * The category was reachable only through `apiReferenceResourceCategories` in an application's\n * tech-doc config, and that declaration is EXACT: once made, every published resource must be\n * listed exactly once or publication fails closed. A generated application publishes ~8 resources\n * of its own beside ~52 of the engine's, so opting in meant hand-classifying the engine's\n * catalogue — and re-classifying it every time the engine grows a resource. Measured on Wonder\n * CRM: 60 tags, 0 categorised, because the cheapest correct action was to omit the declaration\n * entirely. The renderer groups by this field, so the whole reference rendered as one flat list.\n *\n * The grouping already existed as data: `subDomain` is declared by 64 engine specifications and is\n * what the application-creation workbench groups the engine by. Deriving from it means the engine\n * classifies what the engine owns, one source, with no list for an application to maintain.\n *\n * An application's own `subDomain` is deliberately NOT read here. That field is open by contract —\n * an application writes its own vocabulary in it, and Wonder CRM writes a sentence\n * (`'Opinionated deal pipeline staging'`) rather than a group id. An application's API taxonomy is\n * authored, with a label and a description a reader meets, in its tech-doc config; inventing one\n * from a free-text field would put words in the reference that nobody wrote for a reader.\n *\n * Absent or unrecognised → no category, never a default bucket. `subDomain`'s own contract says its\n * absence means \"unclassified\" rather than \"belongs to a default\", and the renderer has a group for\n * exactly that.\n */\nfunction resolveEngineSubDomainCategory(overlay: unknown): ApiReferenceResourceCategory | undefined {\n if (!isPlainObject(overlay)) return undefined;\n const subDomain = overlay['subDomain'];\n if (typeof subDomain !== 'string' || !ENGINE_RESOURCE_SUB_DOMAIN_VALUES.has(subDomain)) return undefined;\n const documentation = ENGINE_RESOURCE_SUB_DOMAIN_DOCUMENTATION[subDomain as EngineResourceSubDomain];\n return { id: subDomain, label: documentation.label, description: documentation.description };\n}\n\nfunction projectRelationshipCardinality(value: ResourceRelationshipCardinality): ResourceRelationshipDocumentationCardinality {\n switch (value) {\n case ResourceRelationshipCardinality.ONE:\n return ResourceRelationshipDocumentationCardinality.ONE;\n case ResourceRelationshipCardinality.ZERO_OR_ONE:\n return ResourceRelationshipDocumentationCardinality.ZERO_OR_ONE;\n case ResourceRelationshipCardinality.ONE_OR_MANY:\n return ResourceRelationshipDocumentationCardinality.ONE_OR_MANY;\n case ResourceRelationshipCardinality.MANY:\n return ResourceRelationshipDocumentationCardinality.MANY;\n default: {\n const exhaustiveValue: never = value;\n throw new Error(`openapi-generation-input projector: unsupported relationship cardinality '${String(exhaustiveValue)}'.`);\n }\n }\n}\n\nfunction projectRelationshipNature(value: RelationshipNature): ResourceRelationshipDocumentationNature {\n switch (value) {\n case RelationshipNature.COMPOSITION:\n return ResourceRelationshipDocumentationNature.COMPOSITION;\n case RelationshipNature.REFERENCE:\n return ResourceRelationshipDocumentationNature.REFERENCE;\n case RelationshipNature.ASSOCIATION:\n return ResourceRelationshipDocumentationNature.ASSOCIATION;\n default: {\n const exhaustiveValue: never = value;\n throw new Error(`openapi-generation-input projector: unsupported relationship nature '${String(exhaustiveValue)}'.`);\n }\n }\n}\n\nfunction projectRelationshipLifecycleModel(value: RelationshipLifecycleModel): ResourceRelationshipDocumentationLifecycleModel {\n switch (value) {\n case RelationshipLifecycleModel.DEPENDENT:\n return ResourceRelationshipDocumentationLifecycleModel.DEPENDENT;\n case RelationshipLifecycleModel.INDEPENDENT:\n return ResourceRelationshipDocumentationLifecycleModel.INDEPENDENT;\n case RelationshipLifecycleModel.LINK_ONLY:\n return ResourceRelationshipDocumentationLifecycleModel.LINK_ONLY;\n default: {\n const exhaustiveValue: never = value;\n throw new Error(`openapi-generation-input projector: unsupported relationship lifecycle model '${String(exhaustiveValue)}'.`);\n }\n }\n}\n\nfunction projectRelationshipDeleteMode(value: ChildLifecycleMode): ResourceRelationshipDocumentationDeleteMode {\n switch (value) {\n case ChildLifecycleMode.IMMEDIATE:\n return ResourceRelationshipDocumentationDeleteMode.IMMEDIATE;\n case ChildLifecycleMode.LAZY:\n return ResourceRelationshipDocumentationDeleteMode.LAZY;\n default: {\n const exhaustiveValue: never = value;\n throw new Error(`openapi-generation-input projector: unsupported relationship delete mode '${String(exhaustiveValue)}'.`);\n }\n }\n}\n\nfunction projectRelationshipDeleteStrategy(value: ChildLifecycleStrategy): ResourceRelationshipDocumentationDeleteStrategy {\n switch (value) {\n case ChildLifecycleStrategy.DELETE:\n return ResourceRelationshipDocumentationDeleteStrategy.DELETE;\n case ChildLifecycleStrategy.IMPERSONALIZE_AND_RETAIN:\n return ResourceRelationshipDocumentationDeleteStrategy.IMPERSONALIZE_AND_RETAIN;\n case ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST:\n return ResourceRelationshipDocumentationDeleteStrategy.REFUSE_WHILE_CHILDREN_EXIST;\n default: {\n const exhaustiveValue: never = value;\n throw new Error(`openapi-generation-input projector: unsupported relationship delete strategy '${String(exhaustiveValue)}'.`);\n }\n }\n}\n\n/**\n * Project the resource facts that are meaningful to an API integrator.\n *\n * The resolved relationship graph is the authority for lifecycle dependency\n * and delete policy; the resource specification is the authority for the\n * lifecycle narrative. We intentionally avoid `parent`/`child` labels here:\n * relationship declarations also represent direct FK references, where a\n * declaration's order is not a safe public ownership claim.\n */\nexport function projectResourceTag(\n resourceType: string,\n specificationOverlay: unknown,\n compiledRelationships: readonly ResourceRelationship[],\n): ResourceTag {\n const relationships = compiledRelationships\n .filter((relationship) => !relationship.isDisabled && (relationship.resourceType1 === resourceType || relationship.resourceType2 === resourceType))\n .map((relationship) => {\n const resourceIsFirst = relationship.resourceType1 === resourceType;\n const onParentDelete = relationship.resolvedSemantics.handling.lifecycle?.onParentDelete;\n return {\n relatedResourceName: String(resourceIsFirst ? relationship.resourceType2 : relationship.resourceType1),\n ...(relationship.resolvedSemantics.persistence.foreignKey === undefined\n ? {}\n : { foreignKeyField: relationship.resolvedSemantics.persistence.foreignKey.fieldIdentifier }),\n resourceCardinality: projectRelationshipCardinality(resourceIsFirst ? relationship.cardinality1 : relationship.cardinality2),\n relatedResourceCardinality: projectRelationshipCardinality(resourceIsFirst ? relationship.cardinality2 : relationship.cardinality1),\n nature: projectRelationshipNature(relationship.resolvedSemantics.nature),\n lifecycleModel: projectRelationshipLifecycleModel(relationship.resolvedSemantics.handling.lifecycleModelMode),\n ...(onParentDelete === undefined ? {} : {\n onParentDelete: {\n enabled: onParentDelete.enabled ?? false,\n mode: projectRelationshipDeleteMode(onParentDelete.mode ?? ChildLifecycleMode.IMMEDIATE),\n strategy: projectRelationshipDeleteStrategy(resolveChildLifecycleTeardownStrategy(onParentDelete)!),\n maxDepth: onParentDelete.maxDepth ?? 0,\n },\n }),\n };\n })\n .sort((left, right) => `${left.relatedResourceName}:${left.nature}:${left.resourceCardinality}:${left.relatedResourceCardinality}`.localeCompare(\n `${right.relatedResourceName}:${right.nature}:${right.resourceCardinality}:${right.relatedResourceCardinality}`,\n ));\n const description = resolveResourceTagDescription(specificationOverlay);\n const lifecycleRole = resolveResourceTagLifecycleRole(specificationOverlay);\n const category = resolveEngineSubDomainCategory(specificationOverlay);\n return {\n name: resourceType,\n ...(description === undefined ? {} : { description }),\n ...(lifecycleRole === undefined ? {} : { lifecycleRole }),\n ...(relationships.length === 0 ? {} : { relationships }),\n ...(category === undefined ? {} : { category }),\n };\n}\n\n/**\n * Resolve the raw authored operation spec for a runtime operation, if any.\n *\n * Joins on `(resourceIdentifier, operationIdentifier)` against the merged\n * `resourceSpecifications` overlay loaded from the `specifications` companion\n * target. Returns `undefined` when the resource or the operation has no\n * authored spec — a graceful, expected miss (generated / relationship-bulk\n * operations and any unspecified resource fall through to the generator's\n * defaults). The raw object feeds both `buildOperationDocFromSpec` (prose,\n * variant-aware, structurally narrowed to `OperationSpecProse`) and\n * `buildOperationHttpDocFromSpec` (shared HTTP documentation plus\n * variant-aware payload examples).\n */\nfunction resolveOperationSpecRaw(\n resourceSpecifications: Record<string, unknown> | undefined,\n operation: ApiBearingOperation,\n): Record<string, unknown> | undefined {\n const resourceSpec = resourceSpecifications?.[String(operation.resourceIdentifier)] as\n | { operations?: Record<string, unknown> }\n | undefined;\n const operationSpec = resourceSpec?.operations?.[String(operation.operationIdentifier)];\n return isPlainObject(operationSpec) ? operationSpec : undefined;\n}\n\n/**\n * Build the standard consumer-facing description for a generated PDF\n * regeneration operation.\n *\n * This is deliberately not a React fallback: `pdfTemplates` is the canonical\n * specification of the generated field's read/write, lifecycle, and context\n * contract, while `generatedOperation` identifies the runtime operation it\n * governs. The two independent identities must agree before this helper emits\n * anything. That prevents an arbitrary UPDATE-like operation from acquiring\n * PDF semantics merely because it happens to share a field-shaped name.\n */\nexport function buildGeneratedPdfRegenerateOperationDoc(\n specification: AnyResourceSpecificationConfig | undefined,\n operation: ApiBearingOperation,\n): OperationDoc {\n const template = findGeneratedPdfTemplateForOperation(specification, operation);\n if (!template) {\n return {};\n }\n\n return {\n description: `Regenerate the read-visible PDF in \\`${template.fieldName}\\` from the persisted resource and its supported relationships. The response returns the refreshed file descriptor and resource. Creating the resource renders this PDF synchronously; ordinary updates do not rerender it automatically.`,\n };\n}\n\n/**\n * Build the HTTP response/error contract shared by framework-generated PDF\n * regeneration operations. The resource's `pdfTemplates` declaration is the\n * only canonical owner: generated operations have no normal `operations[]`\n * specification entry to annotate by hand.\n */\nexport function buildGeneratedPdfRegenerateOperationHttpDoc(\n specification: AnyResourceSpecificationConfig | undefined,\n operation: ApiBearingOperation,\n): OperationHttpDoc {\n if (!findGeneratedPdfTemplateForOperation(specification, operation)) {\n return {};\n }\n\n return {\n responseStatuses: [\n {\n code: HttpResponseStatusCode.OK_200,\n meaning: 'The regenerated PDF file descriptor and refreshed resource are returned.',\n },\n ],\n errorScenarios: [\n {\n code: HttpResponseStatusCode.FORBIDDEN_403,\n when: 'The caller does not hold the access required to regenerate this resource\\'s generated PDF.',\n },\n {\n code: HttpResponseStatusCode.NOT_FOUND_404,\n when: 'No resource with this id is visible in the caller\\'s scope.',\n },\n ],\n };\n}\n\nfunction findGeneratedPdfTemplateForOperation(\n specification: AnyResourceSpecificationConfig | undefined,\n operation: ApiBearingOperation,\n) {\n const generatedOperation = operation.generatedOperation;\n if (generatedOperation?.kind !== ResourceGeneratedOperationKind.GENERATED_FILE_REGENERATE) {\n return undefined;\n }\n\n return specification?.pdfTemplates?.find((candidate) =>\n candidate.fieldName === generatedOperation.fieldName\n && candidate.operations.regenerateOperationIdentifier === String(operation.operationIdentifier),\n );\n}\n\n/** Remove the generic free-text axis when an operation has no searchable fields. */\nfunction omitFreeTextSearchRequest(projected: unknown): unknown {\n if (!isPlainObject(projected) || !isPlainObject(projected.properties)) {\n return projected;\n }\n const filters = projected.properties['filters'];\n if (!isPlainObject(filters) || !isPlainObject(filters.properties) || !('searchRequest' in filters.properties)) {\n return projected;\n }\n\n const { searchRequest: _omitted, ...filterProperties } = filters.properties;\n return {\n ...projected,\n properties: {\n ...projected.properties,\n filters: {\n ...filters,\n properties: filterProperties,\n ...(Array.isArray(filters.required)\n ? { required: filters.required.filter((fieldName) => fieldName !== 'searchRequest') }\n : {}),\n },\n },\n };\n}\n\n/**\n * Tier-2: enrich a projected operation's request and response bodies, in place, from the\n * resource's authored field documentation. A no-op for a non-object or null body and for a property\n * whose name matches no field specification.\n *\n * A paginated collection re-wraps the resource's own fields one level down — the request's\n * `filters` bag (flattened into query parameters) and the response's `data[]` items — where the\n * top-level pass cannot reach, so those two containers are enriched as well. `pagination` is the\n * signal because `projectOperation` sets it for exactly the LIST and SEARCH-like operations the\n * generator treats as paginated collections.\n */\nexport function enrichProjectionBodiesWithFieldDocs(\n projection: Pick<OperationProjection, 'requestBodySchema' | 'responseBodySchema' | 'pagination'>,\n fieldDocsByName: Record<string, FieldDoc>,\n): void {\n injectFieldDocsIntoJsonSchema(projection.requestBodySchema, fieldDocsByName);\n injectFieldDocsIntoJsonSchema(projection.responseBodySchema, fieldDocsByName);\n if (projection.pagination !== undefined) {\n injectFieldDocsIntoCollectionContract(projection.requestBodySchema, projection.responseBodySchema, fieldDocsByName);\n }\n}\n\n/**\n * Tier-2 for embedded related records (#1625): describe the fields of every record a context read\n * embeds from the RELATED resource's own documentation, and describe the property that holds it.\n *\n * A context read embeds related records under a name derived from the relationship (`todos`,\n * `user`). Their fields are the related resource's, so the resource being read has no documentation\n * for them, and they were the largest undescribed population in the reference (about 4,000 fields\n * across the two dogfood applications). The DTO builder marks each placeholder with the resource it\n * embeds (`EMBEDDED_RESOURCE_SCHEMA_KEY`), and an aggregate response marks the records it embeds the\n * same way (the billing state's products, prices and promotions); this reads that mark rather than re-deriving the\n * placeholder's name, which the reference's DTO path computes with a different identifier map than\n * the runtime does. The mark is removed once read: it is an input to this step, not published API.\n *\n * An authored description always wins. A marked record whose resource was not projected keeps its\n * fields undescribed, and still loses the mark.\n */\nexport function enrichEmbeddedRelatedRecordsWithFieldDocs(\n projection: Pick<OperationProjection, 'requestBodySchema' | 'responseBodySchema'>,\n fieldDocsByResource: ReadonlyMap<string, Record<string, FieldDoc>>,\n): void {\n const takeMark = (node: unknown): string | undefined => {\n if (typeof node !== 'object' || node === null || Array.isArray(node)) return undefined;\n const record = node as Record<string, unknown>;\n const resource = record[EMBEDDED_RESOURCE_SCHEMA_KEY];\n if (typeof resource !== 'string') return undefined;\n delete record[EMBEDDED_RESOURCE_SCHEMA_KEY];\n const docs = fieldDocsByResource.get(resource);\n if (docs !== undefined) injectFieldDocsIntoJsonSchema(record, docs);\n return resource;\n };\n const visit = (node: unknown): void => {\n if (Array.isArray(node)) {\n for (const entry of node) visit(entry);\n return;\n }\n if (typeof node !== 'object' || node === null) return;\n const record = node as Record<string, unknown>;\n takeMark(record);\n const properties = record['properties'];\n if (typeof properties === 'object' && properties !== null && !Array.isArray(properties)) {\n for (const property of Object.values(properties as Record<string, unknown>)) {\n if (typeof property !== 'object' || property === null) continue;\n const holder = property as Record<string, unknown>;\n const single = takeMark(holder);\n const many = single === undefined ? takeMark(holder['items']) : undefined;\n if (holder['description'] === undefined && (single ?? many) !== undefined) {\n holder['description'] = single !== undefined\n ? `The related \\`${single}\\` record this read embeds.`\n : `The related \\`${many}\\` records this read embeds.`;\n }\n }\n }\n for (const value of Object.values(record)) visit(value);\n };\n visit(projection.requestBodySchema);\n visit(projection.responseBodySchema);\n}\n\n\n/**\n * The documented 200 body of an operation: its response DTO, as an ARRAY of it when the runtime answers one row per\n * item (#1872).\n *\n * `respondsWithPerItemRowArray` is the rule the serializer and both HTTP clients use: CREATE_MANY, UPDATE_MANY, and a\n * bulk variant of CREATE or UPDATE (`haveBulkOperation`) answer `[row, row, …]`, validated per item against the row\n * DTO. The DTO itself is the ROW, so publishing it as-is documented one object for a route that returns a list, and a\n * client generated from the reference mistyped every bulk edit. Reading the same rule keeps the reference and the\n * wire in step by construction.\n */\nfunction projectOperationResponseBodySchema(operation: Parameters<typeof respondsWithPerItemRowArray>[0] & { responseDto?: unknown }): unknown {\n const rowSchema = convertZodSchemaToOpenApiSchema(operation.responseDto as never);\n // An omitted DTO converts to `null`; there is then no row to list.\n return respondsWithPerItemRowArray(operation) && rowSchema !== null && rowSchema !== undefined ? { type: 'array', items: rowSchema } : rowSchema;\n}\n\n/**\n * Resolve the request schema the HTTP reference must publish.\n *\n * LIST filters are a framework-level query contract carried on the resolved\n * operation's `filterFields`, not on its normally empty `requestDto`. The HTTP\n * controller nevertheless accepts those flat query parameters and the runtime\n * uses the same declaration as its allow-list. SEARCH owns its request schema\n * directly, but the factory-level `isSearchable` declaration still decides\n * whether its generic `searchRequest` field is an actual public capability.\n */\nfunction projectOperationRequestBodySchema(operation: ApiBearingOperation): unknown {\n const effectiveOperation = operation.resourceOperationLike ?? operation.operationIdentifier;\n if (effectiveOperation === CoreResourceOperation.SEARCH) {\n const projected = convertZodSchemaToOpenApiSchema(operation.requestDto);\n return (operation as ApiBearingCollectionOperation).isSearchable === false\n ? omitFreeTextSearchRequest(projected)\n : projected;\n }\n if (effectiveOperation !== CoreResourceOperation.LIST) {\n return convertZodSchemaToOpenApiSchema(operation.requestDto);\n }\n\n const collectionOperation = operation as ApiBearingCollectionOperation;\n const entries = Object.entries(collectionOperation.filterFields ?? {});\n if (entries.length === 0) {\n return convertZodSchemaToOpenApiSchema(operation.requestDto);\n }\n\n const filterFields: Record<string, z.ZodTypeAny> = Object.fromEntries(entries);\n\n const projected = convertZodSchemaToOpenApiSchema(createResourceSearchQueryRequestSchema({\n filterFields: filterFields as never,\n allowedSortFields: collectionOperation.sortFields ?? [],\n pagination: true,\n maxPaginatedResultPerPageLimit: collectionOperation.maxPaginatedResultPerPageLimit ?? 50,\n }));\n if (!isPlainObject(projected) || !isPlainObject(projected.properties)) {\n throw new Error(\n `openapi-generation-input projector: LIST filter schema for `\n + `${String(operation.resourceIdentifier)}.${String(operation.operationIdentifier)} `\n + 'did not project to an object.',\n );\n }\n const filters = projected.properties['filters'];\n if (!isPlainObject(filters) || !isPlainObject(filters.properties)) {\n throw new Error(\n `openapi-generation-input projector: LIST filter schema for `\n + `${String(operation.resourceIdentifier)}.${String(operation.operationIdentifier)} `\n + 'did not contain an object-shaped filters property.',\n );\n }\n\n // `searchRequest` is a SEARCH-only free-text axis. LIST accepts the authored\n // scalar/range filters but does not consume `q`, so remove it rather than\n // letting the OpenAPI flattener promise an ignored parameter.\n return omitFreeTextSearchRequest(projected);\n}\n\n/**\n * Project a single `(operation × initiatorInfo)` pair into the\n * flat `OperationProjection` shape consumed by the OpenAPI\n * generator. Throws (rather than skipping silently) when a\n * framework enum value cannot be mapped — silent drops would\n * produce an OpenAPI doc that omits real operations without any\n * developer-visible signal.\n *\n * `operationDoc` carries the authored summary/description resolved from the\n * specification layer (empty `{}` when the operation has no authored prose).\n */\nexport function projectOperation(\n operation: ApiBearingOperation,\n initiatorInfo: ResourceConfiguration_Operation_UrlInitiatorInfo,\n initiatorIndex: number,\n initiatorCount: number,\n operationDoc: OperationDoc = {},\n roleSpecsByRef: ReadonlyMap<string, Pick<ApplicationRoleDocumentationSource, 'businessRole' | 'authorityBoundary'>> = new Map(),\n requireRoleDocumentation = false,\n): OperationProjection {\n const variantType = VARIANT_TYPE_BY_FRAMEWORK_VALUE[operation.variantType];\n if (!variantType) {\n throw new Error(\n `openapi-generation-input projector: unsupported variantType \"${operation.variantType}\" `\n + `on ${String(operation.resourceIdentifier)}.${String(operation.operationIdentifier)}.`,\n );\n }\n const primaryScope = PRIMARY_SCOPE_BY_FRAMEWORK_VALUE[operation.resourcePrimaryScope];\n if (!primaryScope) {\n throw new Error(\n `openapi-generation-input projector: unsupported resourcePrimaryScope `\n + `\"${operation.resourcePrimaryScope}\" on `\n + `${String(operation.resourceIdentifier)}.${String(operation.operationIdentifier)}.`,\n );\n }\n const httpVerb = HTTP_VERB_BY_FRAMEWORK_VALUE[operation.httpVerb];\n if (!httpVerb) {\n throw new Error(\n `openapi-generation-input projector: unsupported httpVerb \"${operation.httpVerb}\" `\n + `on ${String(operation.resourceIdentifier)}.${String(operation.operationIdentifier)}.`,\n );\n }\n\n const operationKey = buildOperationKey(operation, initiatorIndex, initiatorCount);\n const roles = httpCallerRoles(operation);\n const effectiveOperation = operation.resourceOperationLike ?? operation.operationIdentifier;\n const acceptsIfMatch = effectiveOperation === CoreResourceOperation.UPDATE\n && !('isBulkOperation' in operation && operation.isBulkOperation === true);\n const projection: OperationProjection = {\n resourceIdentifier: String(operation.resourceIdentifier),\n operationKey,\n // Raw operation identifier (without variant/bulk/Via qualifiers) — the\n // generator's verb-first `operationId` derives the verb from this.\n baseOperationIdentifier: String(operation.operationIdentifier),\n variantKey: operation.variantKey === undefined ? null : String(operation.variantKey),\n variantType,\n httpVerb,\n /*\n * The outbound webhooks this call fires. Already walked for the integration inventory that\n * decides whether the webhook PAGES publish; carried onto the operation as well so the API\n * reference can say, at the operation a developer is reading, that calling it notifies every\n * configured endpoint.\n */\n ...(((operation.m2mNotifications ?? []) as readonly { identifier?: unknown; channel?: unknown; level?: unknown }[]).length > 0\n ? {\n m2mNotifications: ((operation.m2mNotifications ?? []) as readonly { identifier?: unknown; channel?: unknown; level?: unknown }[])\n .filter((notification) => String(notification.channel ?? '').length > 0)\n .map((notification) => ({\n identifier: String(notification.identifier ?? notification.channel),\n channel: String(notification.channel),\n ...(notification.level === undefined ? {} : { level: String(notification.level) }),\n })),\n }\n : {}),\n path: initiatorInfo.url,\n primaryScope,\n consumerApiSection: classifyConsumerApiSection(roles),\n identity: createOpenApiOperationIdentity({\n resourceIdentifier: String(operation.resourceIdentifier),\n baseOperationIdentifier: String(operation.operationIdentifier),\n variantKey: operation.variantKey === undefined ? null : String(operation.variantKey),\n variantType,\n httpVerb,\n path: initiatorInfo.url,\n }),\n roles,\n access: buildOperationAccessDocumentation(roles, roleSpecsByRef, requireRoleDocumentation),\n isApiKeyAccessDisabled: Boolean(operation.isApiKeyAccessDisabled),\n acceptsIfMatch,\n ...(operation.requiresStepUpAuthentication === true\n ? {\n stepUpAuthentication: {\n headerName: WildoHeaderKeys.REAUTH_TOKEN,\n tokenEndpointPath: `${MAIN_API_BASE_PATH}${MANUAL_CONTROLLER_ROUTES_URLS[ManualControllerRouteKey.AUTH_REAUTH]}`,\n },\n }\n : {}),\n ...(operation.idempotencyKey !== undefined\n ? {\n idempotencyKey: {\n headerName: WildoHeaderKeys.IDEMPOTENCY_KEY,\n required: operation.idempotencyKey === ResourceOperationIdempotencyKeyRequirement.REQUIRED,\n },\n }\n : {}),\n // #1985: a declared submission challenge is documented from the declaration, never from prose.\n ...(operation.submissionChallenge !== undefined\n ? {\n submissionChallenge: {\n headerName: WildoHeaderKeys.SUBMISSION_CHALLENGE_RESPONSE,\n proofOfWorkChallengePath: `${MAIN_API_BASE_PATH}${MANUAL_CONTROLLER_ROUTES_URLS[ManualControllerRouteKey.SUBMISSION_CHALLENGE_PROOF_OF_WORK]}`,\n },\n }\n : {}),\n requestBodySchema: projectOperationRequestBodySchema(operation),\n responseBodySchema: projectOperationResponseBodySchema(operation),\n };\n\n // Paginated-collection contract (LIST / SEARCH-like): the backend controller\n // treats every HTTP LIST/SEARCH dispatch — including custom operations\n // borrowing one via `resourceOperationLike` — as paginated: flat\n // `page` / `limit` / `sort` query parameters in, `{ data, pagination }`\n // envelope out. None of that lives on the request DTO, so it is projected\n // explicitly here and the generator derives the query parameters from it.\n // The collection-view fields (`sortFields`, `maxPaginatedResultPerPageLimit`)\n // are flattened onto the resolved operation by the resources-config factory\n // but are not part of the `ResourceConfiguration_Operation` base type — the\n // narrow structural read below is the same pattern the frontend runtime uses\n // (`executeSearchOperationInternal`, `ResourceLayout_List`). The `?? 50`\n // fallback mirrors the frontend HTTP client's clamp (only SEARCH-like ops\n // can author a different cap today). Empty `sortableFields` = no allow-list:\n // the backend applies any requested field and defaults to `createdAt:desc`.\n if (\n effectiveOperation === CoreResourceOperation.LIST\n || effectiveOperation === CoreResourceOperation.SEARCH\n ) {\n const collectionViewFields = operation as {\n maxPaginatedResultPerPageLimit?: number;\n sortFields?: readonly string[];\n };\n projection.pagination = {\n maxLimit: collectionViewFields.maxPaginatedResultPerPageLimit ?? 50,\n sortableFields: [...(collectionViewFields.sortFields ?? [])],\n };\n }\n\n // Tier-1 spec enrichment: fill authored summary/description when present.\n // Both are left unset (so the generator's humanized fallback applies) when\n // the operation has no authored spec prose.\n if (operationDoc.summary !== undefined) {\n projection.summary = operationDoc.summary;\n }\n if (operationDoc.description !== undefined) {\n projection.description = operationDoc.description;\n }\n\n if (operation.variantType === ResourceOperationVariantType.API_CALL_WITH_CALLBACK) {\n // The framework auto-emits `${url}/callback` on every initiator\n // for callback variants — fall back to that derivation if a\n // future op overrides `urlCallback` with `undefined`.\n projection.callbackPath = initiatorInfo.urlCallback ?? `${initiatorInfo.url}/callback`;\n }\n\n return projection;\n}\n\n/**\n * Build a stable, unique `operationKey` per projected row. The\n * key MUST be unique across an OpenAPI document because the\n * generator concatenates it with the resource identifier into the\n * top-level `operationId`. Collisions silently overwrite path\n * items in some OpenAPI tools, so we fail-loud at the projector\n * by always appending all relevant disambiguators rather than\n * relying on luck-of-the-draw uniqueness from `operationIdentifier`\n * alone.\n *\n * Suffix order is fixed (Via<Relationship> → variantKey → BULK) so the\n * output is stable across runs even if a future framework change\n * reorders fields on the operation object.\n */\nexport function buildOperationKey(\n operation: ApiBearingOperation,\n initiatorIndex: number,\n initiatorCount: number,\n): string {\n const segments: string[] = [String(operation.operationIdentifier)];\n // Multi-path disambiguator: when an operation is addressable at more than one\n // URL, the non-default (relationship-nested) paths carry a SEMANTIC\n // `Via<Relationship>` segment derived from the initiator's FK\n // `relationshipField` (e.g. `postedByUserId` → `ViaPostedByUser`) — never a\n // positional `PATH<n>` index that means nothing to a developer. The\n // default-parent path (no `relationshipField`) stays canonical (no segment).\n if (initiatorCount > 1) {\n const via = deriveViaDisambiguator(operation.initiatorInfos ?? [], initiatorIndex);\n if (via) {\n segments.push(via);\n } else if (initiatorIndex > 0) {\n // Defensive: >1 path but this one carries no relationship signal and is\n // not the first — keep an index so the derived operationId stays unique.\n segments.push(`Path${initiatorIndex}`);\n }\n }\n if (operation.variantKey) segments.push(String(operation.variantKey));\n if (operation.isBulkOperation) segments.push('BULK');\n return segments.join('_');\n}\n\n/**\n * Distinct STATIC (non-parameter) path segments of one URL initiator — the\n * ground-truth parent chain. The URL is what ultimately distinguishes an\n * operation's multiple endpoints (paths are unique by construction), so it is a\n * more robust disambiguator than the FK parameter metadata: it separates not\n * just relationship FKs (`/assigned-to-users/{}/tasks`) but also a resource's\n * distinct default-parent variants — e.g. the same `draft-notes` child under\n * its authenticated vs anonymous parent (`/users/{userId}/draft-notes` vs\n * `/anonymous-users/{anonymousUserId}/draft-notes`). The diff keys on the\n * STATIC segment, so it holds whether or not those parents' params also differ.\n *\n * The `/api` mount + `v<n>` version segments are dropped (they appear on every\n * path and would only add noise); the resource's own segment and the shared\n * scope segments appear on every path too, so the canonical-diff in\n * {@link deriveViaDisambiguator} cancels them. Deduped.\n */\nfunction staticPathSegmentsOf(\n initiator: ResourceConfiguration_Operation_UrlInitiatorInfo | undefined,\n): string[] {\n return [\n ...new Set(\n (initiator?.url ?? '')\n .split('/')\n .filter((segment) =>\n segment.length > 0\n && !segment.startsWith('{')\n && segment !== 'api'\n && !/^v\\d+$/u.test(segment)),\n ),\n ];\n}\n\n/**\n * Derive the semantic `Via<Relationship>` disambiguator for one URL initiator of\n * a multi-path operation. The suffix names the STATIC path segment(s) UNIQUE to\n * this path relative to the CANONICAL (most-direct) path — the one with the\n * fewest static segments. Because the resource's own segment and the shared\n * scope segments appear on EVERY path, they are part of the canonical set and\n * cancel out, leaving only the genuine extra parent hop:\n *\n * `/organizations/{org}/tasks` → canonical, no suffix → `assignTasks`\n * `/organizations/{org}/assigned-to-users/{user}/tasks` → `ViaAssignedToUsers` → `assignTasksViaAssignedToUsers`\n * `/anonymous-users/{anonymousUserId}/draft-notes` → `ViaAnonymousUsers`\n *\n * Returns `null` for the canonical path (no extra segment). Multiple extra\n * segments join with `And`. The `buildOperationKey` index fallback keeps any\n * genuine duplicate (two paths with identical static segments) unique.\n */\nfunction deriveViaDisambiguator(\n initiators: readonly (ResourceConfiguration_Operation_UrlInitiatorInfo | undefined)[],\n index: number,\n): string | null {\n const segmentSets = initiators.map(staticPathSegmentsOf);\n if (segmentSets.length === 0) return null;\n const minCount = Math.min(...segmentSets.map((set) => set.length));\n // The canonical path = the most-direct one (fewest static segments). Its\n // segment set is the baseline subtracted from every other path.\n const canonical = new Set(segmentSets.find((set) => set.length === minCount) ?? []);\n const extra = (segmentSets[index] ?? []).filter((segment) => !canonical.has(segment));\n if (extra.length === 0) return null;\n const toPascalNoun = (input: string): string =>\n input\n .replace(/Id$/u, '')\n .split(/[^a-zA-Z0-9]+|(?<=[a-z0-9])(?=[A-Z])/u)\n .filter(Boolean)\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1))\n .join('');\n return `Via${extra.map(toPascalNoun).join('And')}`;\n}\n"]}
1
+ {"version":3,"file":"openapi-generation-input.behavior.js","sourceRoot":"","sources":["../../../../../src/core/introspection/subprocess/openapi-generation-input.behavior.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAEH,OAAO,EAAE,0CAA0C,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AAChH,OAAO,EACL,mBAAmB,EACnB,8BAA8B,EAC9B,qCAAqC,EACrC,cAAc,EACd,wBAAwB,EACxB,mBAAmB,EACnB,kBAAkB,EAClB,6BAA6B,EAC7B,wBAAwB,EACxB,kCAAkC,EAClC,6CAA6C,EAC7C,8BAA8B,EAC9B,qBAAqB,EAErB,kBAAkB,EAClB,sBAAsB,EACtB,qCAAqC,EACrC,sCAAsC,EACtC,oBAAoB,EACpB,0BAA0B,EAC1B,kBAAkB,EAClB,+BAA+B,EAC/B,8BAA8B,EAC9B,4BAA4B,EAC5B,4BAA4B,EAC5B,oBAAoB,EACpB,4BAA4B,EAC5B,yCAAyC,EACzC,yCAAyC,EACzC,qBAAqB,EACrB,eAAe,GAUhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,uBAAuB,EACvB,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,wCAAwC,EACxC,uBAAuB,EACvB,kCAAkC,EAClC,6BAA6B,EAC7B,yBAAyB,EACzB,sBA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CAAC;IAC1C,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,WAAW,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;IACnE,yEAAyE;IACzE,gEAAgE;IAChE,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,KAAK,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;IACpF,MAAM,KAAK,GAAG,CAAC,WAAW,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;IACtF,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,IAAI,CAAC;IACpC,MAAM,YAAY,GAAG,CAAC,KAAa,EAAU,EAAE,CAC7C,KAAK;SACF,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC;SACnB,KAAK,CAAC,uCAAuC,CAAC;SAC9C,MAAM,CAAC,OAAO,CAAC;SACf,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;SAC3D,IAAI,CAAC,EAAE,CAAC,CAAC;IACd,OAAO,MAAM,KAAK,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;AACrD,CAAC","sourcesContent":["/**\n * Subprocess-side projector for the `'openapi-generation-input'`\n * companion-introspection behavior (`saas-technical-doc.md` Step 3b).\n *\n * Runs INSIDE the introspection subprocess, where loading\n * `@wildo-ai/saas-models` (and its `initZodDecorators()` boot) is\n * already paid for by the existing `'resources-registry'` /\n * `'resource-specifications'` handlers. The subprocess owns the\n * full materialization + URL-building + Zod-to-JSON-Schema\n * conversion. The parent companion process consumes only the\n * resulting JSON payload (an `OpenApiGenerationInput` minus\n * app-level metadata, which the parent merges in).\n *\n * Why split the work across the subprocess boundary at THIS\n * exact seam (and not bigger / not smaller):\n *\n * - SMALLER (subprocess returns raw `ResourceConfiguration` graph,\n * parent does projection + JSON-schema conversion): would force\n * the parent companion process to import `@wildo-ai/saas-models`\n * AND the user app's schema graph to call `z.toJSONSchema()` on\n * the request/response DTOs. That defeats the whole\n * `saas-models-public-runtime.md` K-3 boundary the project just\n * landed for the website + tech-doc bundles.\n *\n * - BIGGER (subprocess produces YAML directly): would couple the\n * subprocess hop to the YAML emitter and the splitting heuristic\n * (`@wildo-ai/saas-technical-doc/companion`), making both\n * independently un-testable. Today the generator is a pure\n * function over `OpenApiGenerationInput` (29 unit tests in\n * `openapi-generator.test.ts`); keeping the projector strictly\n * \"input only\" preserves that purity.\n *\n * - The chosen seam mirrors the `resource-specifications` handler:\n * a focused projection of the resolved registry into a flat,\n * JSON-safe shape, leaving every other concern to the consumer.\n */\n\nimport { ResourceOperationIdempotencyKeyRequirement, respondsWithPerItemRowArray } from '@wildo-ai/saas-models';\nimport {\n Actor_ExecutionMode,\n buildSharedSaaSModulesRegistry,\n CORE_APPLICATION_ADMINISTRATION_ROLES,\n CORE_APP_ROLES,\n isInboundHandlerOnlyRole,\n ErrorResponseSchema,\n MAIN_API_BASE_PATH,\n MANUAL_CONTROLLER_ROUTES_URLS,\n ManualControllerRouteKey,\n coreResourceShared_FieldIdentifier,\n coreShared_ResourcesConfigurations_FactoryMap,\n coreSharedResourceRelationship,\n CoreResourceOperation,\n CoreResourceType,\n ChildLifecycleMode,\n ChildLifecycleStrategy,\n resolveChildLifecycleTeardownStrategy,\n createResourceSearchQueryRequestSchema,\n FlowActorSystem_Kind,\n RelationshipLifecycleModel,\n RelationshipNature,\n ResourceRelationshipCardinality,\n ResourceGeneratedOperationKind,\n isDefaultUrlBearingOperation,\n ResourceOperationVariantType,\n ResourcePrimaryScope,\n EMBEDDED_RESOURCE_SCHEMA_KEY,\n ResourcesConfigOperationsDtosBuilderUtils,\n ResourcesConfigOperationsUrlsBuilderUtils,\n Resources_SharedUtils,\n WildoHeaderKeys,\n type AnyResourceConfiguration,\n type ResourceType,\n type ResourceConfiguration,\n type ResourceConfiguration_Operation,\n type ResourceConfiguration_Operation_ApiCall,\n type ResourceConfiguration_Operation_ApiCallWithCallback,\n type ResourceConfiguration_Operation_UrlInitiatorInfo,\n type ResourceRelationship,\n type FlowActorSystem,\n} from '@wildo-ai/saas-models';\nimport {\n MCP_TOOL_NAME_SEPARATOR,\n isPortableModelToolName,\n describeCaughtError,\n} from '@wildo-ai/saas-backend-lib';\nimport {\n ENGINE_RESOURCE_SUB_DOMAIN_DOCUMENTATION,\n EngineResourceSubDomain,\n engineResourceSpecificationsByType,\n extractFieldSpecsFromFieldMap,\n extractResourceFieldSpecs,\n HttpResponseStatusCode,\n type AnyResourceSpecificationConfig,\n type ExtractedFieldSpec,\n} from '@wildo-ai/saas-specifications';\nimport type { z } from 'zod';\nimport {\n engineMergedCompiledResourceRelationships,\n engineResourceConfigurationFactoryEntries,\n} from './engine-resource-population.subprocess.utils';\nimport {\n buildOperationDocFromSpec,\n buildOperationHttpDocFromSpec,\n createOpenApiOperationIdentity,\n convertZodSchemaToOpenApiSchema,\n indexApplicationRoleDocumentationSources,\n injectFieldDocsIntoCollectionContract,\n injectFieldDocsIntoJsonSchema,\n OpenApiSection,\n OperationProjectionAuthenticationMode,\n OperationProjectionHttpVerb,\n OperationProjectionPrimaryScope,\n OperationProjectionVariantType,\n type FieldDoc,\n type OperationDoc,\n type OperationAccessDocumentation,\n type OperationHttpDoc,\n type OpenApiGenerationProjectorStats,\n type OperationProjection,\n type OperationSpecProse,\n projectApplicationOrganizationRoleDocumentationSources,\n projectManualControllerRouteOperations,\n ResourceRelationshipDocumentationCardinality,\n ResourceRelationshipDocumentationDeleteMode,\n ResourceRelationshipDocumentationDeleteStrategy,\n ResourceRelationshipDocumentationLifecycleModel,\n ResourceRelationshipDocumentationNature,\n type ResourceTag,\n type ApiReferenceResourceCategory,\n type ApplicationOrganizationRoleDocumentationSource,\n type ApplicationOrganizationUnitResourceDocumentation,\n type ApplicationRoleDocumentationSource,\n projectApplicationOrganizationUnitResourceDocumentation,\n type ApplicationMcpToolSource,\n type ApplicationWebhookEventSource,\n} from '@wildo-ai/saas-technical-doc/companion';\nimport { resolveSharedLibraryCompanionExports } from './companion-introspection-module-exports.utils';\n\n/**\n * Wire format returned by the `'openapi-generation-input'` subprocess\n * behavior. It carries the JSON-safe facts that require the application module\n * graph: operations, organization-role semantics, resource descriptions and\n * the canonical error schema. The parent companion merges these with app-level\n * metadata and joins primary-locale role labels before generating the API\n * reference and application-consumer documentation.\n *\n * The split avoids re-loading `WildoSaasConfig` in the subprocess\n * (the subprocess does NOT have access to the platform-config-lib\n * loader) and keeps the IPC payload trimmed to what only the\n * subprocess can produce.\n */\nexport interface OpenApiGenerationInputSubprocessOutput {\n operations: OperationProjection[];\n /** True when the final application registry declares at least one usable MCP tool operation. */\n hasConfiguredMcpToolOperations: boolean;\n mcpTools: readonly ApplicationMcpToolSource[];\n webhookEvents: readonly ApplicationWebhookEventSource[];\n /** True when the final startup declaration contains at least one actor system that A2A can expose as a skill. */\n hasConfiguredA2aSkills: boolean;\n /** Every resolved organization-scoped role, joined to its authored semantics. */\n organizationRoles: readonly ApplicationOrganizationRoleDocumentationSource[];\n /** Business resources explicitly narrowed by this application's organization-unit access. */\n organizationUnitAwareResources: readonly ApplicationOrganizationUnitResourceDocumentation[];\n /**\n * JSON-Schema projection of the canonical `ErrorResponseSchema` serialized\n * by the backend error handler. The parent transports this value unchanged;\n * the engine generator owns the one shared OpenAPI component and response\n * references derived from it.\n */\n errorResponseSchema: unknown;\n /**\n * Per-resource OpenAPI tag descriptors (the resource's business purpose).\n * Merged by the parent into `OpenApiGenerationInput.resourceTags`; the\n * generator emits each as `tags[].description`. Empty when no resource\n * authored a `purpose` / `businessRole`.\n */\n resourceTags: ResourceTag[];\n /**\n * Diagnostic counters surfaced in the companion HTTP response so\n * a developer can confirm at a glance how many resources / ops\n * were considered and how many URL initiators each carried.\n * The OpenAPI generator does NOT consume this — it lives\n * alongside the projection for observability only.\n */\n stats: OpenApiGenerationProjectorStats;\n}\n\n/**\n * The two pieces of final startup configuration needed by consumer-documentation\n * projection. Keeping this input narrow prevents the OpenAPI projector from\n * becoming a second owner of the backend initialization contract.\n */\nexport interface ApplicationConsumerDocumentationStartupProjectionInput {\n readonly organizationUnitNarrowing?: Readonly<Partial<Record<string, { readonly unitFieldName: string }>>>;\n readonly flowActorSystemsFactoryMap?: Readonly<Record<string, () => FlowActorSystem>>;\n}\n\nconst VARIANT_TYPE_BY_FRAMEWORK_VALUE: Record<string, OperationProjectionVariantType> = {\n [ResourceOperationVariantType.API_CALL]: OperationProjectionVariantType.API_CALL,\n [ResourceOperationVariantType.API_CALL_WITH_CALLBACK]:\n OperationProjectionVariantType.API_CALL_WITH_CALLBACK,\n};\n\nconst PRIMARY_SCOPE_BY_FRAMEWORK_VALUE: Record<string, OperationProjectionPrimaryScope> = {\n [ResourcePrimaryScope.USER_SELF]: OperationProjectionPrimaryScope.USER_SELF,\n [ResourcePrimaryScope.ORGANIZATIONS]: OperationProjectionPrimaryScope.ORGANIZATIONS,\n [ResourcePrimaryScope.APPLICATION]: OperationProjectionPrimaryScope.APPLICATION,\n [ResourcePrimaryScope.ANONYMOUS]: OperationProjectionPrimaryScope.ANONYMOUS,\n};\n\nconst HTTP_VERB_BY_FRAMEWORK_VALUE: Record<string, OperationProjectionHttpVerb> = {\n GET: OperationProjectionHttpVerb.GET,\n POST: OperationProjectionHttpVerb.POST,\n PUT: OperationProjectionHttpVerb.PUT,\n DELETE: OperationProjectionHttpVerb.DELETE,\n PATCH: OperationProjectionHttpVerb.PATCH,\n};\n\n/**\n * Roles that grant authority over the application itself rather than access\n * to its customer-facing domain. The named framework subset is the only source\n * of these values; the technical-documentation projection carries the resolved\n * section so downstream generators and renderers never infer product meaning\n * from role-name prefixes or internal resource scopes.\n */\nconst APPLICATION_ADMINISTRATION_ROLES: ReadonlySet<string> = new Set(CORE_APPLICATION_ADMINISTRATION_ROLES);\n\n/**\n * The roles an HTTP caller can hold among those an operation accepts. A handler-only role (#1629,\n * `INBOUND_HANDLER_ONLY_ROLES`) is the engine's authority for provider events: no person, API key or OAuth client\n * can hold it, so listing it would tell a consumer a role exists that they can never be given. The one reader\n * both projection sites use, so the inventory and the projection cannot disagree about it.\n */\nfunction httpCallerRoles(operation: { roles?: readonly unknown[] }): string[] {\n return (operation.roles ?? []).map((role) => String(role)).filter((role) => !isInboundHandlerOnlyRole(role));\n}\n\n\n/**\n * Resolves the exact access semantics before OpenAPI exists. In particular,\n * `APP_PUBLIC` wins over every other marker, matching backend authentication;\n * `APP_ANONYMOUS` is an authentication option, not an RBAC role. Every other\n * role remains an OR requirement and carries specification-owned prose when\n * the application has authored it.\n */\nfunction buildOperationAccessDocumentation(\n roles: readonly string[],\n roleSpecsByRef: ReadonlyMap<string, Pick<ApplicationRoleDocumentationSource, 'businessRole' | 'authorityBoundary'>>,\n requireRoleDocumentation: boolean,\n): OperationAccessDocumentation {\n if (roles.includes(CORE_APP_ROLES.APP_PUBLIC)) {\n return {\n authenticationMode: OperationProjectionAuthenticationMode.PUBLIC,\n authenticationSummary: 'Public endpoint — no authentication is required.',\n roleRequirements: [],\n };\n }\n\n const hasAnonymousSession = roles.includes(CORE_APP_ROLES.APP_ANONYMOUS);\n const authorizationRoles = roles.filter(\n (role) => role !== CORE_APP_ROLES.APP_ANONYMOUS && role !== CORE_APP_ROLES.APP_PUBLIC,\n );\n const authenticationMode = hasAnonymousSession\n ? authorizationRoles.length === 0\n ? OperationProjectionAuthenticationMode.ANONYMOUS_SESSION\n : OperationProjectionAuthenticationMode.ANONYMOUS_OR_AUTHENTICATED\n : OperationProjectionAuthenticationMode.AUTHENTICATED;\n const authenticationSummary = authenticationMode === OperationProjectionAuthenticationMode.ANONYMOUS_SESSION\n ? 'Anonymous session token required.'\n : authenticationMode === OperationProjectionAuthenticationMode.ANONYMOUS_OR_AUTHENTICATED\n ? 'Anonymous session token or authenticated access is accepted.'\n : authorizationRoles.length === 0\n ? 'Any authenticated user may call this endpoint.'\n : 'Authenticated access is required.';\n\n return {\n authenticationMode,\n authenticationSummary,\n roleRequirements: authorizationRoles.map((role) => {\n const specification = roleSpecsByRef.get(role);\n if (!specification && requireRoleDocumentation) {\n throw new Error(\n `openapi-generation-input projector: exposed role '${role}' has no companion-exported role specification. `\n + 'Author its business role and authority boundary before publishing an API reference.',\n );\n }\n return {\n role,\n /*\n * The raw TOKEN, not a prettified one. The parent joins the application's OWN authored role\n * labels over this (`applyAuthoredRoleLabelsToOperationAccess`); a label it does not carry\n * stays a token, which is honest and searchable, where \"Organization Manager\" was invented\n * English indistinguishable from an authored name once printed (#382).\n */\n label: role,\n businessRole: specification?.businessRole ?? null,\n authorityBoundary: specification?.authorityBoundary ?? null,\n };\n }),\n };\n}\n\n/**\n * Classifies one exposed HTTP operation for consumer documentation.\n *\n * Mixed authority stays in the normal API reference: if a customer-facing\n * role can call an operation, hiding it under application administration would\n * misrepresent the contract. Empty, public, anonymous, organization and custom\n * role sets likewise remain normal. Only a non-empty role set composed solely\n * of application-administration roles enters the separate administration API.\n */\nexport function classifyConsumerApiSection(roles: readonly string[]): OpenApiSection {\n return roles.length > 0 && roles.every((role) => APPLICATION_ADMINISTRATION_ROLES.has(role))\n ? OpenApiSection.APPLICATION_ADMINISTRATION_API_REFERENCE\n : OpenApiSection.API_REFERENCE;\n}\n\n/**\n * Discriminator for the two URL-bearing variants. Kept as a single\n * type predicate so the rest of the projector can rely on a tight\n * union type for `httpVerb`, `isApiKeyAccessDisabled`,\n * `isBulkOperation`, and `initiatorInfos`.\n */\ntype ApiBearingOperation =\n | ResourceConfiguration_Operation_ApiCall<any, any>\n | ResourceConfiguration_Operation_ApiCallWithCallback<any, any>;\n\n/** Collection-view fields flattened onto resolved LIST operations by the resource factory. */\ntype ApiBearingCollectionOperation = ApiBearingOperation & {\n // Zod types only: the resource factory refuses a function-valued filter (#1806), so none reaches here.\n filterFields?: Readonly<Record<string, z.ZodTypeAny>>;\n isSearchable?: boolean;\n sortFields?: readonly string[];\n maxPaginatedResultPerPageLimit?: number;\n};\n\nfunction isApiBearingOperation(\n operation: ResourceConfiguration_Operation<any, any>,\n): operation is ApiBearingOperation {\n return (\n operation.variantType === ResourceOperationVariantType.API_CALL\n || operation.variantType === ResourceOperationVariantType.API_CALL_WITH_CALLBACK\n );\n}\n\n/**\n * Consumer references publish callable capabilities, not registered refusal\n * routes. `unimplementedAcknowledgement` deliberately keeps a known gap in the\n * runtime registry while making every request fail closed; presenting that\n * variant with a successful response contract would therefore be false.\n *\n * Keep this eligibility decision before the pre-projection inventory so source\n * conservation, sectioning, OpenAPI generation, links, and the renderer all\n * operate on the same serviceable HTTP set.\n */\nfunction isConsumerApiReferenceOperation(\n operation: ResourceConfiguration_Operation<any, any>,\n): operation is ApiBearingOperation {\n return isApiBearingOperation(operation)\n && operation.unimplementedAcknowledgement === undefined;\n}\n\n/**\n * Run the `'openapi-generation-input'` subprocess behavior against\n * the application's shared library companion module.\n *\n * The handler:\n *\n * 1. Loads every `SharedSaaSModule` via `loadSharedModules()` (the\n * shared-library companion export already used by\n * `resources-registry` and `resource-specifications`).\n * 2. Builds the merged shared registry to obtain the unified\n * `resourceConfigurations`, `resourceFieldIdentifiers`, and\n * `resourceRelationships`.\n * 3. For each resource: materializes the configuration (the entry\n * can be a factory taking `relationships`) and runs\n * `ResourcesConfigOperationsUrlsBuilderUtils.updateOperationUrls(...)`\n * so every API operation carries fully resolved\n * `initiatorInfos[].url` strings (already in OpenAPI brace\n * form `{paramName}` per the framework's URL builder).\n * 4. Projects each `(operation × initiatorInfo)` row into one\n * `OperationProjection`, deriving:\n * - `operationKey` — `<operationIdentifier>` plus optional\n * `_<variantKey>` / `_BULK` / `_PATH<n>` suffixes so the\n * OpenAPI `operationId` is unique across the document.\n * - `requestBodySchema` / `responseBodySchema` — via\n * `convertZodSchemaToOpenApiSchema(...)` from\n * `@wildo-ai/saas-technical-doc/companion` (a thin wrapper\n * over Zod 4's native `z.toJSONSchema()` that pins the\n * `undefined → null` projection contract). `null` when no\n * schema is present (not every operation has both).\n * - `callbackPath` — the framework-emitted\n * `initiatorInfo.urlCallback`, present only on\n * `API_CALL_WITH_CALLBACK` variants.\n * 5. Joins the exact startup narrowing declaration to specification-owned\n * resource purposes. No URL or field-name inference is permitted.\n * 6. Returns the flat projection list + diagnostic counters.\n */\nexport function runOpenApiGenerationInputBehavior(\n moduleExports: Record<string, unknown>,\n resourceSpecifications?: Record<string, unknown>,\n /**\n * Opt-in set of CORE (engine) resources to ALSO document, sourced from\n * `WildoTechnicalDocConfig.apiDocResources` (threaded through the behavior\n * `input`). `'all'` ({@link API_DOC_RESOURCES_ALL}) documents every core\n * resource that has API-bearing ops; an array is a curated subset. The\n * values arrive over IPC as strings (CoreResourceType enum values).\n *\n * Backend runtime registration automatically merges these same core maps.\n * The projector materializes them independently because the subprocess owns\n * the schema graph, applies the canonical resolved feature exclusions, and\n * overlays `engineResourceSpecificationsByType` (Tier-1/2/3). App\n * registrations always win (a core type already in the app registry is never\n * double-documented). This remains eligibility evidence, not live-route proof.\n */\n apiDocResourceTypes?: readonly string[] | 'all',\n /** Core types excluded by the canonical resolved application feature gates. */\n excludedCoreResourceTypes?: readonly CoreResourceType[],\n /** Authoritative engine + application role specifications for access prose. */\n roleSpecifications?: Record<string, unknown>,\n /** Narrow consumer-doc facts read from the application's final startup declaration. */\n startupProjection?: ApplicationConsumerDocumentationStartupProjectionInput,\n): Promise<OpenApiGenerationInputSubprocessOutput> {\n const { loadSharedModules } = resolveSharedLibraryCompanionExports(moduleExports);\n return loadSharedModules().then((sharedModules) => {\n const sharedRegistry = buildSharedSaaSModulesRegistry(...sharedModules);\n const resourceConfigs = sharedRegistry.resourceConfigurations ?? {};\n const resourceFieldIdentifiers = sharedRegistry.resourceFieldIdentifiers ?? {};\n /*\n * URL building needs the CORE parents too, and the app registry does not carry them.\n *\n * A resource anchored to a core parent gets its URL parameter name from that parent's own field\n * identifier — `organizations` → `organizationId`. The app's map holds only the app's resources,\n * so the URL builder fell through to the relationship's `foreignKeyField`, and threw when a\n * routed parent legitimately has none. The backend never hits this because its registry contains\n * the core resources; this subprocess materializes them separately, and did so only for the core\n * block below.\n *\n * Measured 2026-09-18: `d98aea6a` routed `organizations → billableServices` (correctly — the\n * organization must be in the URL to authorize a resource whose rows live in Odoo) and, being a\n * virtual resource, it has no `organizationId` to name as a foreign key. That combination is\n * exactly the throw's condition, so EVERY publication since has failed with \"Cannot generate URL\n * parent info for organizations\", leaving this application's published API reference frozen at\n * its 2026-09-14 state. The relationship is right; the map was incomplete.\n *\n * App entries spread LAST so an app registration of a core type wins, which is the precedence\n * this file already states (\"App registrations always win\").\n */\n const allResourceFieldIdentifiers: Record<string, string> = {\n ...coreResourceShared_FieldIdentifier,\n ...resourceFieldIdentifiers,\n };\n const relationships = sharedRegistry.resourceRelationships ?? [];\n const roleSpecsByRef = indexApplicationRoleDocumentationSources(roleSpecifications);\n const organizationRoles = projectApplicationOrganizationRoleDocumentationSources(sharedRegistry.customRoles, roleSpecsByRef);\n\n const operations: OperationProjection[] = [];\n const resourceTags: ResourceTag[] = [];\n /** Every projected resource's field documentation, so an embedded related record can use its own (#1625). */\n const fieldDocsByResource = new Map<string, Record<string, FieldDoc>>();\n const preparedResources: PreparedResourceProjection[] = [];\n\n /**\n * Project one prepared resource after the complete externally exposed HTTP\n * inventory has been resolved. Preparation and projection are deliberately\n * separate phases: a DTO/prose/role projection failure must fail the run,\n * but it must never determine what the source inventory says existed.\n */\n const projectResource = (prepared: PreparedResourceProjection): ResourceProjectionResult => {\n const {\n resourceType,\n materializedConfig,\n compiledRelationships,\n specOverlayMap,\n resolvedExternalHttpOperations: localResolvedExternalHttpOperations,\n } = prepared;\n const localOperations: OperationProjection[] = [];\n const localResourceTags: ResourceTag[] = [];\n let inventoryIndex = 0;\n\n // Tier-2 enrichment: extract this resource's field specs once (mirrors\n // the `resource-specifications` handler: authored `fields` map +\n // `additionalFieldSpecs`, else the resource main-schema fallback), then\n // map them into the engine's narrow FieldDoc shape. Applied to every\n // operation's request/response JSON-Schema fragment below.\n const registryContext = { currentResourceType: resourceType, relationships: compiledRelationships };\n const resourceSpecOverlay = specOverlayMap?.[resourceType] as\n | AnyResourceSpecificationConfig\n | undefined;\n\n // Emit one descriptor for every resource that can later contribute an\n // endpoint. The generator drops descriptors with no retained endpoint,\n // but emitting it here preserves the source-owned lifecycle and compiled\n // relationship facts alongside the existing business-purpose prose.\n localResourceTags.push(projectResourceTag(resourceType, resourceSpecOverlay, compiledRelationships));\n\n const overlayFieldSpecs = resourceSpecOverlay?.fields\n ? extractFieldSpecsFromFieldMap(\n resourceSpecOverlay.fields as Record<string, z.ZodTypeAny>,\n undefined,\n registryContext,\n )\n : [];\n const overlayAdditionalFieldSpecs = (resourceSpecOverlay?.additionalFieldSpecs ?? []) as ExtractedFieldSpec[];\n const fieldSpecs: ExtractedFieldSpec[] = overlayFieldSpecs.length > 0 || overlayAdditionalFieldSpecs.length > 0\n ? [...overlayFieldSpecs, ...overlayAdditionalFieldSpecs]\n : materializedConfig.mainSchema\n ? extractResourceFieldSpecs(\n materializedConfig.mainSchema,\n materializedConfig.inheritenceSchemaDefinition,\n registryContext,\n )\n : [];\n const fieldDocsByName = buildFieldDocsByName(fieldSpecs);\n\n for (const operation of materializedConfig.operations) {\n if (!isConsumerApiReferenceOperation(operation)) continue;\n // Preparation rejects the empty case before any resource is projected.\n const initiatorInfos = operation.initiatorInfos!;\n\n // Resolve the authored operation spec once per operation (shared across\n // all initiator paths). Prose (summary/description) and payload examples\n // are variant-aware; the remaining HTTP documentation (Tier 3) is shared\n // by the logical operation and is derived from this same source owner.\n const rawOperationSpec = resolveOperationSpecRaw(specOverlayMap, operation);\n const operationDoc = {\n // A generated PDF regeneration operation is not part of the\n // resource's declared core/custom operation vocabulary, so it cannot\n // have an `operations[operationIdentifier]` specification entry.\n // Its entire public contract is instead declared by the paired\n // `pdfTemplates` specification and the framework-generated runtime\n // operation. Project that contract here, before any optional\n // operation-specific prose; explicit authored prose always wins.\n ...buildGeneratedPdfRegenerateOperationDoc(resourceSpecOverlay, operation),\n ...buildOperationDocFromSpec(\n rawOperationSpec as OperationSpecProse | undefined,\n operation.variantKey,\n ),\n };\n const operationHttpDoc = {\n // The paired `pdfTemplates` declaration is likewise the source of\n // the generated operation's HTTP outcomes. An ordinary operation\n // specification remains an explicit, higher-precedence override.\n ...buildGeneratedPdfRegenerateOperationHttpDoc(resourceSpecOverlay, operation),\n ...buildOperationHttpDocFromSpec(rawOperationSpec, operation.variantKey),\n };\n\n for (let initiatorIndex = 0; initiatorIndex < initiatorInfos.length; initiatorIndex += 1) {\n const initiatorInfo = initiatorInfos[initiatorIndex]!;\n const expected = localResolvedExternalHttpOperations[inventoryIndex++];\n if (expected === undefined) {\n throw new Error(`openapi-generation-input projector: projection produced an operation absent from the pre-projection inventory`);\n }\n let projection: OperationProjection;\n try {\n projection = projectOperation(\n operation,\n initiatorInfo,\n initiatorIndex,\n initiatorInfos.length,\n operationDoc,\n roleSpecsByRef,\n true,\n );\n } catch (error) {\n const reason = describeCaughtError(error);\n throw new Error(\n `openapi-generation-input projector: failed to project `\n + `${String(operation.resourceIdentifier)}.${String(operation.operationIdentifier)} ${initiatorInfo.url}: ${reason}`,\n { cause: error },\n );\n }\n if (\n JSON.stringify(projection.identity) !== JSON.stringify(expected.identity)\n || projection.consumerApiSection !== expected.section\n || JSON.stringify(projection.roles) !== JSON.stringify(expected.roles)\n ) {\n throw new Error(\n `openapi-generation-input projector: projection no longer preserves the resolved HTTP operation identity for `\n + `${String(operation.resourceIdentifier)}.${String(operation.operationIdentifier)} ${initiatorInfo.url}.`,\n );\n }\n enrichProjectionBodiesWithFieldDocs(projection, fieldDocsByName);\n // Tier-3: attach the per-operation HTTP documentation (response\n // statuses / error scenarios / idempotency / rate-limit / examples).\n Object.assign(projection, operationHttpDoc);\n localOperations.push(projection);\n }\n }\n\n if (inventoryIndex !== localResolvedExternalHttpOperations.length) {\n throw new Error(`openapi-generation-input projector: pre-projection inventory contains an operation that projection did not consume`);\n }\n\n return {\n operations: localOperations,\n resourceTags: localResourceTags,\n resourceIdentifier: resourceType,\n fieldDocsByName,\n };\n };\n\n /** Merge an atomic per-resource projection into the shared output. */\n const mergeResourceProjection = (result: ResourceProjectionResult): void => {\n operations.push(...result.operations);\n resourceTags.push(...result.resourceTags);\n fieldDocsByResource.set(result.resourceIdentifier, result.fieldDocsByName);\n };\n\n /*\n * Which resources are the APPLICATION'S OWN, by identifier.\n *\n * The counts beside this walk already distinguish app from core, but only as totals — and the\n * distinction is the one thing that separates the product's own domain from the framework\n * underneath it. Documentation needs the identifiers, not the count: a page about what this\n * application manages must cover `todos` and `teamGoals` and say nothing about\n * `organizationMembers`, which has its own pages.\n *\n * Taken from the materialized config rather than the registry KEY, because a tag is named by\n * `resourceIdentifier` and the two are not required to match.\n */\n const applicationOwnedResourceIdentifiers: string[] = [];\n\n // ── App resources (the application's own shared-lib registry) ──────────\n // No try/catch: the app's own DTOs are the app author's responsibility, so\n // an unrepresentable shape must fail loud (mirrors the pre-existing behavior).\n for (const [resourceType, factoryOrConfig] of Object.entries(resourceConfigs)) {\n const materializedConfig: ResourceConfiguration<any, any, any> =\n typeof factoryOrConfig === 'function'\n ? (factoryOrConfig as (\n rels: typeof relationships,\n ) => ResourceConfiguration<any, any, any>)(relationships)\n : (factoryOrConfig as ResourceConfiguration<any, any, any>);\n applicationOwnedResourceIdentifiers.push(String(materializedConfig.resourceIdentifier));\n preparedResources.push(prepareResourceProjection(\n resourceType,\n materializedConfig,\n allResourceFieldIdentifiers,\n relationships,\n resourceSpecifications,\n ));\n }\n\n // ── Core (engine) resources — opt-in via `apiDocResources` ─────────────\n // Materialize requested runtime-eligible core resources from the engine's\n // shared factory map (the same map backend startup merges) and project them\n // with the engine spec overlay. This projector does not mutate runtime\n // registration. Relationships are compiled exactly as\n // the backend registry does (app + core-shared, resolved against merged\n // field identifiers) so core factories emit correct URLs / FK params.\n //\n // Every requested, eligible core resource is part of the publication\n // contract. Unknown resources and projection failures are therefore fatal;\n // publishing a partial framework catalog would make conservation green by\n // redefining the source set after the loss.\n const excludedCoreResources: CoreResourceType[] = [];\n const excludedCoreResourceTypeSet = new Set(excludedCoreResourceTypes ?? []);\n let coreResourceCount = 0;\n if (apiDocResourceTypes !== undefined) {\n const requestedCoreTypes = apiDocResourceTypes === 'all'\n ? Object.keys(coreShared_ResourcesConfigurations_FactoryMap)\n : apiDocResourceTypes;\n // The same merged map, with the app-wins precedence this file states. It used to be rebuilt\n // here spreading core LAST, which silently inverted that precedence for a core type an\n // application also registers.\n const coreFieldIdentifiers: Record<string, string> = allResourceFieldIdentifiers;\n const coreCompiledRelationships = Resources_SharedUtils.ensureCompiledRelationships(\n [...relationships, ...coreSharedResourceRelationship],\n coreFieldIdentifiers,\n );\n for (const coreType of requestedCoreTypes) {\n if (excludedCoreResourceTypeSet.has(coreType as CoreResourceType)) {\n excludedCoreResources.push(coreType as CoreResourceType);\n continue;\n }\n // App registration always wins — never double-document a type the app\n // already owns in its shared registry.\n if (resourceConfigs[coreType]) continue;\n const factory = coreShared_ResourcesConfigurations_FactoryMap[coreType as CoreResourceType];\n if (typeof factory !== 'function') {\n throw new Error(`openapi-generation-input projector: requested core resource '${coreType}' is unavailable in this engine build.`);\n }\n const materializedConfig = factory(coreCompiledRelationships) as ResourceConfiguration<any, any, any>;\n preparedResources.push(prepareResourceProjection(\n coreType,\n materializedConfig,\n coreFieldIdentifiers,\n coreCompiledRelationships,\n engineResourceSpecificationsByType,\n ));\n coreResourceCount += 1;\n }\n }\n\n // The DTOs every configuration came out of its factory with were built against an EMPTY\n // registry. Rebuild the documented ones against the population the runtime holds before any\n // schema is projected (#582) — see `rebuildDocumentedOperationDtosAgainstRuntimeRegistry`.\n rebuildDocumentedOperationDtosAgainstRuntimeRegistry(\n preparedResources,\n relationships,\n allResourceFieldIdentifiers,\n excludedCoreResourceTypeSet,\n );\n\n // This is the actual pre-projection boundary: the complete application +\n // requested-core route inventory exists and is collision-free before the\n // first DTO, prose, access, or schema projection is attempted.\n const resolvedExternalHttpOperations = preparedResources.flatMap((resource) => resource.resolvedExternalHttpOperations);\n assertNoUnexplainedResolvedHttpRouteCollisions(resolvedExternalHttpOperations);\n for (const preparedResource of preparedResources) mergeResourceProjection(projectResource(preparedResource));\n // After every resource is projected, because a context read embeds records of OTHER resources.\n for (const operation of operations) enrichEmbeddedRelatedRecordsWithFieldDocs(operation, fieldDocsByResource);\n const consideredOperationCount = preparedResources.reduce((count, resource) => count + resource.documentableApiOperationCount, 0);\n const organizationUnitAwareResources = projectApplicationOrganizationUnitResourceDocumentation(\n startupProjection?.organizationUnitNarrowing,\n resourceTags,\n );\n const integrationSurfaces = collectIntegrationSurfaces(\n preparedResources,\n resourceConfigs,\n excludedCoreResourceTypeSet,\n allResourceFieldIdentifiers,\n relationships,\n );\n const hasConfiguredMcpToolOperations = integrationSurfaces.mcpTools.length > 0;\n const hasConfiguredA2aSkills = hasConfiguredA2aSkill(startupProjection?.flowActorSystemsFactoryMap);\n\n /*\n * The manually mounted controller routes, appended AFTER every resource has been projected.\n *\n * Order matters only for readability of the emitted document (the generator sorts), but the\n * PLACEMENT matters for the pre-projection guard above: `assertNoUnexplainedResolvedHttpRouteCollisions`\n * reasons about the resource registry's own inventory, and a manual route is not part of it.\n * Collisions between the two families are caught where they can actually happen — the generator\n * refuses a duplicate `path` + `httpVerb` within a section, by construction.\n *\n * This push makes the projector a TWO-PRODUCER function, and every statistic below has to say\n * which producer it is about. `projectedRowCount` is the payload total and therefore counts\n * both; `resolvedExternalHttpOperations` is the registry inventory and therefore counts\n * neither. `manualControllerRouteRowCount` is what lets the parent add them back up — omitting\n * it is what broke `wildo docs publish` for every application the day this family landed, by\n * leaving the parent comparing a 351-entry registry inventory against a 454-row payload.\n */\n const manualControllerRoutes = projectManualControllerRouteOperations();\n operations.push(...manualControllerRoutes.operations);\n resourceTags.push(...manualControllerRoutes.resourceTags);\n\n return {\n operations,\n hasConfiguredMcpToolOperations,\n hasConfiguredA2aSkills,\n mcpTools: integrationSurfaces.mcpTools,\n webhookEvents: integrationSurfaces.webhookEvents,\n organizationRoles,\n organizationUnitAwareResources,\n errorResponseSchema: convertZodSchemaToOpenApiSchema(ErrorResponseSchema),\n resourceTags,\n applicationOwnedResourceIdentifiers: applicationOwnedResourceIdentifiers.sort((left, right) => left.localeCompare(right, 'en-US')),\n stats: {\n resourceCount: Object.keys(resourceConfigs).length + coreResourceCount,\n consideredOperationCount,\n projectedRowCount: operations.length,\n resolvedExternalHttpOperations,\n manualControllerRouteRowCount: manualControllerRoutes.operations.length,\n // These compatibility diagnostics are now structurally empty: missing\n // initiators are a publication error rather than an accepted skip.\n skippedOperationWithoutInitiatorInfosCount: 0,\n skippedOperationsWithoutInitiatorInfos: [],\n ...(excludedCoreResources.length > 0 ? { excludedCoreResources: excludedCoreResources.sort() } : {}),\n },\n };\n });\n}\n\n/**\n * Match the MCP adapter's publication gates: a tool operation must be\n * default, URL-bearing, non-bulk, explicitly opted in, and not acknowledged as\n * unimplemented; its composed public name must also be protocol-conformant and\n * unambiguous. The scan covers the application's resources plus every\n * runtime-eligible core resource; it is intentionally independent from the\n * narrower `apiDocResources` selection, which controls reference content rather\n * than whether the application has an MCP surface.\n */\n/**\n * One tool an MCP client can call, and one event a webhook receiver can be sent.\n *\n * Both were computed here as BOOLEANS — \"does this application expose any MCP tool?\", \"…any\n * webhook surface?\" — which is all the applicability gates needed. It is not what a reader needs:\n * the MCP page could say a catalogue exists without naming a tool in it, and five webhook pages\n * could explain delivery without ever naming an event. The walk was already visiting every\n * operation; it now keeps what it finds.\n */\nexport interface ProjectedIntegrationSurfaces {\n readonly mcpTools: readonly ApplicationMcpToolSource[];\n readonly webhookEvents: readonly ApplicationWebhookEventSource[];\n}\n\n/**\n * Walks the application's own resources AND the selected core resources once, collecting both\n * integration surfaces. Core resources are materialized from the same factory map the runtime uses,\n * so a core resource this application excluded contributes nothing — exactly as it contributes no\n * route.\n */\nexport function collectIntegrationSurfaces(\n preparedApplicationAndSelectedCoreResources: readonly PreparedResourceProjection[],\n applicationResourceConfigurations: Readonly<Record<string, unknown>>,\n excludedCoreResourceTypes: ReadonlySet<CoreResourceType>,\n applicationFieldIdentifiers: Readonly<Record<string, string>>,\n applicationRelationships: readonly ResourceRelationship[],\n): ProjectedIntegrationSurfaces {\n const mcpTools: ApplicationMcpToolSource[] = [];\n const webhookEvents: ApplicationWebhookEventSource[] = [];\n\n const collectFrom = (configuration: ResourceConfiguration<any, any, any>): void => {\n const resourceIdentifier = String(configuration.resourceIdentifier);\n // A resource whose own identifier contains the tool separator could not produce an\n // unambiguous tool name, so it is skipped here exactly as the adapter skips it.\n const resourceCanCarryTools = !resourceIdentifier.includes(MCP_TOOL_NAME_SEPARATOR);\n /*\n * `configuration.operations` is a flat list of VARIANTS, not of operations — which is why the\n * MCP branch below has to select one with `isDefaultUrlBearingOperation`. The webhook branch\n * has no equivalent filter and must not grow one, because a webhook is not a property of a\n * variant: `m2mNotifications` is declared once per OPERATION and copied onto every variant, and\n * the runtime dispatcher fires it for whichever variant executed. So a receiver sees exactly one\n * kind of event whether the caller took `todos.change_status`'s member route or its admin one.\n *\n * The multiplicity is therefore real and expected, and collapsing it is the projection's job.\n * The scope of this set is deliberately ONE resource configuration rather than the whole walk:\n * a variant fan-out within a resource is normal, while the SAME resource being walked twice is\n * a producer defect, and `projectApplicationIntegrationDocumentation` must keep being able to\n * refuse the second one. A collector-wide set would silence both.\n *\n * Filtering to the default variant instead was rejected: it happens to give the right answer\n * today only because every variant carries the same copy, and it would silently drop a genuine\n * event the day a non-default variant declares a channel of its own.\n */\n const resourceWebhookEventIdentities = new Set<string>();\n for (const operation of configuration.operations) {\n const operationIdentifier = String(operation.operationIdentifier);\n const toolName = `${resourceIdentifier}${MCP_TOOL_NAME_SEPARATOR}${operationIdentifier}`;\n if (\n resourceCanCarryTools\n && isDefaultUrlBearingOperation(operation, operationIdentifier)\n && operation.mcp?.exposed === true\n && operation.unimplementedAcknowledgement === undefined\n && isPortableModelToolName(toolName)\n ) {\n mcpTools.push({ toolName, resourceIdentifier, operationIdentifier });\n }\n for (const notification of operation.m2mNotifications ?? []) {\n const channel = String((notification as { channel?: unknown }).channel ?? '');\n if (channel.length === 0) continue;\n const eventIdentity = `${operationIdentifier}.${channel}`;\n if (resourceWebhookEventIdentities.has(eventIdentity)) continue;\n resourceWebhookEventIdentities.add(eventIdentity);\n webhookEvents.push({ resourceIdentifier, operationIdentifier, channel });\n }\n }\n };\n\n /*\n * The prepared list already holds the app's resources AND every core resource the API reference\n * SELECTED, so the factory sweep below must skip what it already carries or each selected core\n * resource is walked twice. That double-visit was always here and was invisible while this\n * function answered a BOOLEAN: `||` collapses duplicates, so nothing could show it. Returning the\n * lists made it visible on the first real render — Wonder CRM's catalogue listed\n * `userSelfPreferences__read` and `userSelfPreferences__update` twice each, one row per visit.\n *\n * The sweep still runs, because documentation SELECTION and runtime EXPOSURE are different sets:\n * a core resource an application left out of its API reference is still published to MCP clients\n * at runtime, and a catalogue that omitted it would be describing the documentation rather than\n * the application.\n */\n const alreadyCollectedResourceTypes = new Set(preparedApplicationAndSelectedCoreResources.map((prepared) => prepared.resourceType));\n for (const prepared of preparedApplicationAndSelectedCoreResources) collectFrom(prepared.materializedConfig);\n\n const coreCompiledRelationships = Resources_SharedUtils.ensureCompiledRelationships(\n [...applicationRelationships, ...coreSharedResourceRelationship],\n { ...applicationFieldIdentifiers, ...coreResourceShared_FieldIdentifier },\n );\n for (const [coreType, factory] of Object.entries(coreShared_ResourcesConfigurations_FactoryMap)) {\n if (\n alreadyCollectedResourceTypes.has(coreType)\n || applicationResourceConfigurations[coreType] !== undefined\n || excludedCoreResourceTypes.has(coreType as CoreResourceType)\n ) continue;\n if (typeof factory === 'function') collectFrom(factory(coreCompiledRelationships) as ResourceConfiguration<any, any, any>);\n }\n\n const byToolName = (left: ApplicationMcpToolSource, right: ApplicationMcpToolSource): number => left.toolName.localeCompare(right.toolName, 'en-US');\n const byEvent = (left: ApplicationWebhookEventSource, right: ApplicationWebhookEventSource): number =>\n `${left.resourceIdentifier}.${left.operationIdentifier}.${left.channel}`.localeCompare(`${right.resourceIdentifier}.${right.operationIdentifier}.${right.channel}`, 'en-US');\n return { mcpTools: mcpTools.sort(byToolName), webhookEvents: webhookEvents.sort(byEvent) };\n}\n\n/** Match the A2A runtime's skill filter exactly: only agentic ACTOR systems backed by an agent ref are advertised. */\nfunction hasConfiguredA2aSkill(\n factories: Readonly<Record<string, () => FlowActorSystem>> | undefined,\n): boolean {\n return Object.values(factories ?? {}).some((factory) => {\n const system = factory();\n return system.kind === FlowActorSystem_Kind.ACTOR\n && system.actors.some((actor) => actor.executionMode === Actor_ExecutionMode.AGENTIC && Boolean(actor.agentRef));\n });\n}\n\n/** Local accumulation returned by `projectResource` for atomic merge. */\ninterface ResourceProjectionResult {\n operations: OperationProjection[];\n resourceTags: ResourceTag[];\n resourceIdentifier: string;\n /** This resource's field documentation, which a context read of ANOTHER resource embedding it reuses. */\n fieldDocsByName: Record<string, FieldDoc>;\n}\n\nexport interface PreparedResourceProjection {\n resourceType: string;\n materializedConfig: ResourceConfiguration<any, any, any>;\n compiledRelationships: ResourceRelationship[];\n specOverlayMap: Record<string, unknown> | undefined;\n documentableApiOperationCount: number;\n resolvedExternalHttpOperations: OpenApiGenerationInputSubprocessOutput['stats']['resolvedExternalHttpOperations'];\n}\n\n/**\n * Resolve the source identity of every externally exposed HTTP route without\n * invoking any documentation projector. Missing routes are defects: an\n * API-bearing variant that cannot be addressed cannot be represented honestly\n * in either the runtime router or the reference.\n */\nexport function inventoryResolvedExternalHttpOperations(\n operations: readonly ResourceConfiguration_Operation<any, any>[],\n): OpenApiGenerationInputSubprocessOutput['stats']['resolvedExternalHttpOperations'] {\n const inventory: OpenApiGenerationInputSubprocessOutput['stats']['resolvedExternalHttpOperations'] = [];\n for (const operation of operations) {\n if (!isConsumerApiReferenceOperation(operation)) continue;\n const initiatorInfos = operation.initiatorInfos ?? [];\n if (initiatorInfos.length === 0) {\n throw new Error(\n `openapi-generation-input projector: API-bearing operation `\n + `${String(operation.resourceIdentifier)}.${String(operation.operationIdentifier)} has no resolved initiator route.`,\n );\n }\n const variantType = VARIANT_TYPE_BY_FRAMEWORK_VALUE[operation.variantType];\n const httpVerb = HTTP_VERB_BY_FRAMEWORK_VALUE[operation.httpVerb];\n if (variantType === undefined || httpVerb === undefined) {\n throw new Error(\n `openapi-generation-input projector: API-bearing operation `\n + `${String(operation.resourceIdentifier)}.${String(operation.operationIdentifier)} has an unsupported HTTP identity.`,\n );\n }\n const roles = httpCallerRoles(operation);\n const section = classifyConsumerApiSection(roles);\n for (const initiatorInfo of initiatorInfos) {\n inventory.push({\n identity: createOpenApiOperationIdentity({\n resourceIdentifier: String(operation.resourceIdentifier),\n baseOperationIdentifier: String(operation.operationIdentifier),\n variantKey: operation.variantKey === undefined ? null : String(operation.variantKey),\n variantType,\n httpVerb,\n path: initiatorInfo.url,\n }),\n section,\n roles,\n });\n }\n }\n return inventory;\n}\n\n/**\n * Rebuild each documented operation's DTOs against the registry the RUNNING application holds (#582).\n *\n * `createResourceConfiguration_Initialization` pre-builds DTOs with an empty registry, so\n * `resolveRelationshipObjectIdentity` cannot read a related resource's AUTHORED\n * `resourceFieldIdentifier` and falls back to singularising its type. The backend registry\n * (`resources-registry.backend.service.ts`) and the frontend repository both repair this with\n * `rebuildResourceConfigurationsOperationDtos` before serving; this projector did not, so the\n * published reference named `userSelfPreference`, `organizationPreference`, `organizationFeature`\n * where the runtime returns `userSelfPreferences`, `organizationPreferences`, `organizationFeatures`\n * — a contract derived from a different input than the one served.\n *\n * The registry is every documented configuration plus every OTHER engine configuration the runtime\n * merges, minus the feature-excluded core types (the runtime deletes those, identifiers included).\n * The undocumented ones are materialized for their identity only; only documented configurations are\n * rebuilt. Relationships are compiled against the merged identifiers first, as the backend's\n * `normalizeResourceConfigurationRelationships` does. Operations are rebuilt with a spread, so the\n * URLs `prepareResourceProjection` already resolved survive.\n *\n * NOT reproduced here, deliberately: the backend's `reconcileGeneratedRelationshipBulkOperations`.\n * It ADDS operations rather than naming fields, which would change the documented route inventory —\n * a separate question from this one.\n */\nexport function rebuildDocumentedOperationDtosAgainstRuntimeRegistry(\n preparedResources: ReadonlyArray<Pick<PreparedResourceProjection, 'resourceType' | 'materializedConfig'>>,\n applicationRelationships: readonly unknown[],\n applicationFieldIdentifiers: Record<string, string>,\n excludedCoreResourceTypes: ReadonlySet<string>,\n): void {\n const registry = new Map<ResourceType, AnyResourceConfiguration>();\n for (const prepared of preparedResources) {\n registry.set(prepared.resourceType as ResourceType, prepared.materializedConfig as unknown as AnyResourceConfiguration);\n }\n\n const engineRelationships = engineMergedCompiledResourceRelationships(applicationRelationships, applicationFieldIdentifiers);\n for (const [resourceType, factory] of engineResourceConfigurationFactoryEntries()) {\n if (registry.has(resourceType as ResourceType) || excludedCoreResourceTypes.has(resourceType)) continue;\n if (typeof factory !== 'function') continue;\n registry.set(resourceType as ResourceType, (factory as (relationships: unknown) => AnyResourceConfiguration)(engineRelationships));\n }\n\n const mergedFieldIdentifiers: Record<string, string> = {};\n for (const [resourceType, configuration] of registry) {\n if (typeof configuration.resourceFieldIdentifier === 'string') {\n mergedFieldIdentifiers[resourceType] = configuration.resourceFieldIdentifier;\n }\n }\n\n for (const prepared of preparedResources) {\n const configuration = prepared.materializedConfig as unknown as AnyResourceConfiguration;\n const buckets = configuration.resourceRelationships;\n if (buckets) {\n configuration.resourceRelationships = {\n parentRelationships: Resources_SharedUtils.ensureCompiledRelationships(buckets.parentRelationships ?? [], mergedFieldIdentifiers),\n childRelationships: Resources_SharedUtils.ensureCompiledRelationships(buckets.childRelationships ?? [], mergedFieldIdentifiers),\n selfRelationships: Resources_SharedUtils.ensureCompiledRelationships(buckets.selfRelationships ?? [], mergedFieldIdentifiers),\n };\n }\n configuration.operations = configuration.operations.map((operation) => {\n try {\n return ResourcesConfigOperationsDtosBuilderUtils.buildAllOperationDtos(operation as never, configuration as never, registry) as never;\n } catch (error) {\n // Fail the run, naming the operation — the same contract as a projection failure. A DTO the\n // runtime would build identically cannot be skipped from a publication that claims it.\n throw new Error(\n `openapi-generation-input projector: failed to rebuild DTOs for `\n + `${String(prepared.resourceType)}.${String((operation as { operationIdentifier?: unknown }).operationIdentifier)}`\n + ` against the runtime registry: ${describeCaughtError(error)}`,\n { cause: error },\n );\n }\n });\n }\n}\n\nfunction prepareResourceProjection(\n resourceType: string,\n materializedConfig: ResourceConfiguration<any, any, any>,\n fieldIdentifiers: Record<string, string>,\n compiledRelationships: ResourceRelationship[],\n specOverlayMap: Record<string, unknown> | undefined,\n): PreparedResourceProjection {\n ResourcesConfigOperationsUrlsBuilderUtils.updateOperationUrls(materializedConfig, fieldIdentifiers);\n return {\n resourceType,\n materializedConfig,\n compiledRelationships,\n specOverlayMap,\n documentableApiOperationCount: materializedConfig.operations.filter(isConsumerApiReferenceOperation).length,\n resolvedExternalHttpOperations: inventoryResolvedExternalHttpOperations(materializedConfig.operations),\n };\n}\n\n/** OpenAPI cannot represent two semantic operations at one method/path location. */\nexport function assertNoUnexplainedResolvedHttpRouteCollisions(\n inventory: ReadonlyArray<OpenApiGenerationInputSubprocessOutput['stats']['resolvedExternalHttpOperations'][number]>,\n): void {\n const identityByRoute = new Map<string, string>();\n for (const entry of inventory) {\n const route = `${entry.identity.httpVerb.toUpperCase()} ${entry.identity.path}`;\n const prior = identityByRoute.get(route);\n if (prior !== undefined) {\n throw new Error(\n `openapi-generation-input projector: unexplained HTTP route collision at ${route} between '${prior}' and `\n + `'${entry.identity.operationVariantRef}'. Define one runtime operation or an explicit alias contract before publishing.`,\n );\n }\n identityByRoute.set(route, entry.identity.operationVariantRef);\n }\n}\n\nfunction isPlainObject(value: unknown): value is Record<string, unknown> {\n return typeof value === 'object' && value !== null && !Array.isArray(value);\n}\n\n/**\n * Map the extracted resource field specs into the engine's narrow `FieldDoc`\n * shape, keyed by field name (the JSON-Schema property key the injector joins\n * on). Pulls `meaning` / `whyItMatters` / `relationshipContext` and, for enum\n * fields, `values[*].meaning`. Fields with no usable prose are omitted so the\n * injector only touches properties that have something to say.\n */\nfunction buildFieldDocsByName(fieldSpecs: readonly ExtractedFieldSpec[]): Record<string, FieldDoc> {\n const result: Record<string, FieldDoc> = {};\n for (const fieldSpec of fieldSpecs) {\n const params: Record<string, unknown> = fieldSpec.params ?? {};\n const doc: FieldDoc = {};\n if (typeof params['meaning'] === 'string') doc.meaning = params['meaning'];\n if (typeof params['whyItMatters'] === 'string') doc.whyItMatters = params['whyItMatters'];\n if (typeof params['relationshipContext'] === 'string') {\n doc.relationshipContext = params['relationshipContext'];\n }\n const values = params['values'];\n if (isPlainObject(values)) {\n const enumValueMeanings: Record<string, string> = {};\n for (const [enumValue, valueConfig] of Object.entries(values)) {\n if (isPlainObject(valueConfig) && typeof valueConfig['meaning'] === 'string') {\n enumValueMeanings[enumValue] = valueConfig['meaning'];\n }\n }\n if (Object.keys(enumValueMeanings).length > 0) {\n doc.enumValueMeanings = enumValueMeanings;\n }\n }\n if (\n doc.meaning !== undefined\n || doc.whyItMatters !== undefined\n || doc.relationshipContext !== undefined\n || doc.enumValueMeanings !== undefined\n ) {\n result[fieldSpec.fieldName] = doc;\n }\n }\n return result;\n}\n\n/**\n * Resolve a resource's OpenAPI tag description from its specification overlay:\n * the resource-level `purpose`, falling back to `businessRole`. Returns\n * `undefined` when neither is authored (the generator then emits a bare\n * `{ name }` tag — graceful).\n */\nfunction resolveResourceTagDescription(overlay: unknown): string | undefined {\n if (!isPlainObject(overlay)) {\n return undefined;\n }\n const purpose = overlay['purpose'];\n if (typeof purpose === 'string' && purpose.trim().length > 0) {\n return purpose.trim();\n }\n const businessRole = overlay['businessRole'];\n if (typeof businessRole === 'string' && businessRole.trim().length > 0) {\n return businessRole.trim();\n }\n return undefined;\n}\n\n/** Resolve specification-owned lifecycle prose; it is never invented by the renderer. */\nfunction resolveResourceTagLifecycleRole(overlay: unknown): string | undefined {\n if (!isPlainObject(overlay)) return undefined;\n const lifecycleRole = overlay['lifecycleRole'];\n return typeof lifecycleRole === 'string' && lifecycleRole.trim().length > 0 ? lifecycleRole.trim() : undefined;\n}\n\n/** The engine's own sub-domain values, as a runtime set — an application's are open strings. */\nconst ENGINE_RESOURCE_SUB_DOMAIN_VALUES: ReadonlySet<string> = new Set<string>(Object.values(EngineResourceSubDomain));\n\n/**\n * The API-reference group an ENGINE resource belongs to, taken from the sub-domain its own\n * specification declares.\n *\n * ## Why the engine answers this and not the application\n *\n * The category was reachable only through `apiReferenceResourceCategories` in an application's\n * tech-doc config, and that declaration is EXACT: once made, every published resource must be\n * listed exactly once or publication fails closed. A generated application publishes ~8 resources\n * of its own beside ~52 of the engine's, so opting in meant hand-classifying the engine's\n * catalogue — and re-classifying it every time the engine grows a resource. Measured on Wonder\n * CRM: 60 tags, 0 categorised, because the cheapest correct action was to omit the declaration\n * entirely. The renderer groups by this field, so the whole reference rendered as one flat list.\n *\n * The grouping already existed as data: `subDomain` is declared by 64 engine specifications and is\n * what the application-creation workbench groups the engine by. Deriving from it means the engine\n * classifies what the engine owns, one source, with no list for an application to maintain.\n *\n * An application's own `subDomain` is deliberately NOT read here. That field is open by contract —\n * an application writes its own vocabulary in it, and Wonder CRM writes a sentence\n * (`'Opinionated deal pipeline staging'`) rather than a group id. An application's API taxonomy is\n * authored, with a label and a description a reader meets, in its tech-doc config; inventing one\n * from a free-text field would put words in the reference that nobody wrote for a reader.\n *\n * Absent or unrecognised → no category, never a default bucket. `subDomain`'s own contract says its\n * absence means \"unclassified\" rather than \"belongs to a default\", and the renderer has a group for\n * exactly that.\n */\nfunction resolveEngineSubDomainCategory(overlay: unknown): ApiReferenceResourceCategory | undefined {\n if (!isPlainObject(overlay)) return undefined;\n const subDomain = overlay['subDomain'];\n if (typeof subDomain !== 'string' || !ENGINE_RESOURCE_SUB_DOMAIN_VALUES.has(subDomain)) return undefined;\n const documentation = ENGINE_RESOURCE_SUB_DOMAIN_DOCUMENTATION[subDomain as EngineResourceSubDomain];\n return { id: subDomain, label: documentation.label, description: documentation.description };\n}\n\nfunction projectRelationshipCardinality(value: ResourceRelationshipCardinality): ResourceRelationshipDocumentationCardinality {\n switch (value) {\n case ResourceRelationshipCardinality.ONE:\n return ResourceRelationshipDocumentationCardinality.ONE;\n case ResourceRelationshipCardinality.ZERO_OR_ONE:\n return ResourceRelationshipDocumentationCardinality.ZERO_OR_ONE;\n case ResourceRelationshipCardinality.ONE_OR_MANY:\n return ResourceRelationshipDocumentationCardinality.ONE_OR_MANY;\n case ResourceRelationshipCardinality.MANY:\n return ResourceRelationshipDocumentationCardinality.MANY;\n default: {\n const exhaustiveValue: never = value;\n throw new Error(`openapi-generation-input projector: unsupported relationship cardinality '${String(exhaustiveValue)}'.`);\n }\n }\n}\n\nfunction projectRelationshipNature(value: RelationshipNature): ResourceRelationshipDocumentationNature {\n switch (value) {\n case RelationshipNature.COMPOSITION:\n return ResourceRelationshipDocumentationNature.COMPOSITION;\n case RelationshipNature.REFERENCE:\n return ResourceRelationshipDocumentationNature.REFERENCE;\n case RelationshipNature.ASSOCIATION:\n return ResourceRelationshipDocumentationNature.ASSOCIATION;\n default: {\n const exhaustiveValue: never = value;\n throw new Error(`openapi-generation-input projector: unsupported relationship nature '${String(exhaustiveValue)}'.`);\n }\n }\n}\n\nfunction projectRelationshipLifecycleModel(value: RelationshipLifecycleModel): ResourceRelationshipDocumentationLifecycleModel {\n switch (value) {\n case RelationshipLifecycleModel.DEPENDENT:\n return ResourceRelationshipDocumentationLifecycleModel.DEPENDENT;\n case RelationshipLifecycleModel.INDEPENDENT:\n return ResourceRelationshipDocumentationLifecycleModel.INDEPENDENT;\n case RelationshipLifecycleModel.LINK_ONLY:\n return ResourceRelationshipDocumentationLifecycleModel.LINK_ONLY;\n default: {\n const exhaustiveValue: never = value;\n throw new Error(`openapi-generation-input projector: unsupported relationship lifecycle model '${String(exhaustiveValue)}'.`);\n }\n }\n}\n\nfunction projectRelationshipDeleteMode(value: ChildLifecycleMode): ResourceRelationshipDocumentationDeleteMode {\n switch (value) {\n case ChildLifecycleMode.IMMEDIATE:\n return ResourceRelationshipDocumentationDeleteMode.IMMEDIATE;\n case ChildLifecycleMode.LAZY:\n return ResourceRelationshipDocumentationDeleteMode.LAZY;\n default: {\n const exhaustiveValue: never = value;\n throw new Error(`openapi-generation-input projector: unsupported relationship delete mode '${String(exhaustiveValue)}'.`);\n }\n }\n}\n\nfunction projectRelationshipDeleteStrategy(value: ChildLifecycleStrategy): ResourceRelationshipDocumentationDeleteStrategy {\n switch (value) {\n case ChildLifecycleStrategy.DELETE:\n return ResourceRelationshipDocumentationDeleteStrategy.DELETE;\n case ChildLifecycleStrategy.IMPERSONALIZE_AND_RETAIN:\n return ResourceRelationshipDocumentationDeleteStrategy.IMPERSONALIZE_AND_RETAIN;\n case ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST:\n return ResourceRelationshipDocumentationDeleteStrategy.REFUSE_WHILE_CHILDREN_EXIST;\n default: {\n const exhaustiveValue: never = value;\n throw new Error(`openapi-generation-input projector: unsupported relationship delete strategy '${String(exhaustiveValue)}'.`);\n }\n }\n}\n\n/**\n * Project the resource facts that are meaningful to an API integrator.\n *\n * The resolved relationship graph is the authority for lifecycle dependency\n * and delete policy; the resource specification is the authority for the\n * lifecycle narrative. We intentionally avoid `parent`/`child` labels here:\n * relationship declarations also represent direct FK references, where a\n * declaration's order is not a safe public ownership claim.\n */\nexport function projectResourceTag(\n resourceType: string,\n specificationOverlay: unknown,\n compiledRelationships: readonly ResourceRelationship[],\n): ResourceTag {\n const relationships = compiledRelationships\n .filter((relationship) => !relationship.isDisabled && (relationship.resourceType1 === resourceType || relationship.resourceType2 === resourceType))\n .map((relationship) => {\n const resourceIsFirst = relationship.resourceType1 === resourceType;\n const onParentDelete = relationship.resolvedSemantics.handling.lifecycle?.onParentDelete;\n return {\n relatedResourceName: String(resourceIsFirst ? relationship.resourceType2 : relationship.resourceType1),\n ...(relationship.resolvedSemantics.persistence.foreignKey === undefined\n ? {}\n : { foreignKeyField: relationship.resolvedSemantics.persistence.foreignKey.fieldIdentifier }),\n resourceCardinality: projectRelationshipCardinality(resourceIsFirst ? relationship.cardinality1 : relationship.cardinality2),\n relatedResourceCardinality: projectRelationshipCardinality(resourceIsFirst ? relationship.cardinality2 : relationship.cardinality1),\n nature: projectRelationshipNature(relationship.resolvedSemantics.nature),\n lifecycleModel: projectRelationshipLifecycleModel(relationship.resolvedSemantics.handling.lifecycleModelMode),\n ...(onParentDelete === undefined ? {} : {\n onParentDelete: {\n enabled: onParentDelete.enabled ?? false,\n mode: projectRelationshipDeleteMode(onParentDelete.mode ?? ChildLifecycleMode.IMMEDIATE),\n strategy: projectRelationshipDeleteStrategy(resolveChildLifecycleTeardownStrategy(onParentDelete)!),\n maxDepth: onParentDelete.maxDepth ?? 0,\n },\n }),\n };\n })\n .sort((left, right) => `${left.relatedResourceName}:${left.nature}:${left.resourceCardinality}:${left.relatedResourceCardinality}`.localeCompare(\n `${right.relatedResourceName}:${right.nature}:${right.resourceCardinality}:${right.relatedResourceCardinality}`,\n ));\n const description = resolveResourceTagDescription(specificationOverlay);\n const lifecycleRole = resolveResourceTagLifecycleRole(specificationOverlay);\n const category = resolveEngineSubDomainCategory(specificationOverlay);\n return {\n name: resourceType,\n ...(description === undefined ? {} : { description }),\n ...(lifecycleRole === undefined ? {} : { lifecycleRole }),\n ...(relationships.length === 0 ? {} : { relationships }),\n ...(category === undefined ? {} : { category }),\n };\n}\n\n/**\n * Resolve the raw authored operation spec for a runtime operation, if any.\n *\n * Joins on `(resourceIdentifier, operationIdentifier)` against the merged\n * `resourceSpecifications` overlay loaded from the `specifications` companion\n * target. Returns `undefined` when the resource or the operation has no\n * authored spec — a graceful, expected miss (generated / relationship-bulk\n * operations and any unspecified resource fall through to the generator's\n * defaults). The raw object feeds both `buildOperationDocFromSpec` (prose,\n * variant-aware, structurally narrowed to `OperationSpecProse`) and\n * `buildOperationHttpDocFromSpec` (shared HTTP documentation plus\n * variant-aware payload examples).\n */\nfunction resolveOperationSpecRaw(\n resourceSpecifications: Record<string, unknown> | undefined,\n operation: ApiBearingOperation,\n): Record<string, unknown> | undefined {\n const resourceSpec = resourceSpecifications?.[String(operation.resourceIdentifier)] as\n | { operations?: Record<string, unknown> }\n | undefined;\n const operationSpec = resourceSpec?.operations?.[String(operation.operationIdentifier)];\n return isPlainObject(operationSpec) ? operationSpec : undefined;\n}\n\n/**\n * Build the standard consumer-facing description for a generated PDF\n * regeneration operation.\n *\n * This is deliberately not a React fallback: `pdfTemplates` is the canonical\n * specification of the generated field's read/write, lifecycle, and context\n * contract, while `generatedOperation` identifies the runtime operation it\n * governs. The two independent identities must agree before this helper emits\n * anything. That prevents an arbitrary UPDATE-like operation from acquiring\n * PDF semantics merely because it happens to share a field-shaped name.\n */\nexport function buildGeneratedPdfRegenerateOperationDoc(\n specification: AnyResourceSpecificationConfig | undefined,\n operation: ApiBearingOperation,\n): OperationDoc {\n const template = findGeneratedPdfTemplateForOperation(specification, operation);\n if (!template) {\n return {};\n }\n\n return {\n description: `Regenerate the read-visible PDF in \\`${template.fieldName}\\` from the persisted resource and its supported relationships. The response returns the refreshed file descriptor and resource. Creating the resource renders this PDF synchronously; ordinary updates do not rerender it automatically.`,\n };\n}\n\n/**\n * Build the HTTP response/error contract shared by framework-generated PDF\n * regeneration operations. The resource's `pdfTemplates` declaration is the\n * only canonical owner: generated operations have no normal `operations[]`\n * specification entry to annotate by hand.\n */\nexport function buildGeneratedPdfRegenerateOperationHttpDoc(\n specification: AnyResourceSpecificationConfig | undefined,\n operation: ApiBearingOperation,\n): OperationHttpDoc {\n if (!findGeneratedPdfTemplateForOperation(specification, operation)) {\n return {};\n }\n\n return {\n responseStatuses: [\n {\n code: HttpResponseStatusCode.OK_200,\n meaning: 'The regenerated PDF file descriptor and refreshed resource are returned.',\n },\n ],\n errorScenarios: [\n {\n code: HttpResponseStatusCode.FORBIDDEN_403,\n when: 'The caller does not hold the access required to regenerate this resource\\'s generated PDF.',\n },\n {\n code: HttpResponseStatusCode.NOT_FOUND_404,\n when: 'No resource with this id is visible in the caller\\'s scope.',\n },\n ],\n };\n}\n\nfunction findGeneratedPdfTemplateForOperation(\n specification: AnyResourceSpecificationConfig | undefined,\n operation: ApiBearingOperation,\n) {\n const generatedOperation = operation.generatedOperation;\n if (generatedOperation?.kind !== ResourceGeneratedOperationKind.GENERATED_FILE_REGENERATE) {\n return undefined;\n }\n\n return specification?.pdfTemplates?.find((candidate) =>\n candidate.fieldName === generatedOperation.fieldName\n && candidate.operations.regenerateOperationIdentifier === String(operation.operationIdentifier),\n );\n}\n\n/** Remove the generic free-text axis when an operation has no searchable fields. */\nfunction omitFreeTextSearchRequest(projected: unknown): unknown {\n if (!isPlainObject(projected) || !isPlainObject(projected.properties)) {\n return projected;\n }\n const filters = projected.properties['filters'];\n if (!isPlainObject(filters) || !isPlainObject(filters.properties) || !('searchRequest' in filters.properties)) {\n return projected;\n }\n\n const { searchRequest: _omitted, ...filterProperties } = filters.properties;\n return {\n ...projected,\n properties: {\n ...projected.properties,\n filters: {\n ...filters,\n properties: filterProperties,\n ...(Array.isArray(filters.required)\n ? { required: filters.required.filter((fieldName) => fieldName !== 'searchRequest') }\n : {}),\n },\n },\n };\n}\n\n/**\n * Tier-2: enrich a projected operation's request and response bodies, in place, from the\n * resource's authored field documentation. A no-op for a non-object or null body and for a property\n * whose name matches no field specification.\n *\n * A paginated collection re-wraps the resource's own fields one level down — the request's\n * `filters` bag (flattened into query parameters) and the response's `data[]` items — where the\n * top-level pass cannot reach, so those two containers are enriched as well. `pagination` is the\n * signal because `projectOperation` sets it for exactly the LIST and SEARCH-like operations the\n * generator treats as paginated collections.\n */\nexport function enrichProjectionBodiesWithFieldDocs(\n projection: Pick<OperationProjection, 'requestBodySchema' | 'responseBodySchema' | 'pagination'>,\n fieldDocsByName: Record<string, FieldDoc>,\n): void {\n injectFieldDocsIntoJsonSchema(projection.requestBodySchema, fieldDocsByName);\n injectFieldDocsIntoJsonSchema(projection.responseBodySchema, fieldDocsByName);\n if (projection.pagination !== undefined) {\n injectFieldDocsIntoCollectionContract(projection.requestBodySchema, projection.responseBodySchema, fieldDocsByName);\n }\n}\n\n/**\n * Tier-2 for embedded related records (#1625): describe the fields of every record a context read\n * embeds from the RELATED resource's own documentation, and describe the property that holds it.\n *\n * A context read embeds related records under a name derived from the relationship (`todos`,\n * `user`). Their fields are the related resource's, so the resource being read has no documentation\n * for them, and they were the largest undescribed population in the reference (about 4,000 fields\n * across the two dogfood applications). The DTO builder marks each placeholder with the resource it\n * embeds (`EMBEDDED_RESOURCE_SCHEMA_KEY`), and an aggregate response marks the records it embeds the\n * same way (the billing state's products, prices and promotions); this reads that mark rather than re-deriving the\n * placeholder's name, which the reference's DTO path computes with a different identifier map than\n * the runtime does. The mark is removed once read: it is an input to this step, not published API.\n *\n * An authored description always wins. A marked record whose resource was not projected keeps its\n * fields undescribed, and still loses the mark.\n */\nexport function enrichEmbeddedRelatedRecordsWithFieldDocs(\n projection: Pick<OperationProjection, 'requestBodySchema' | 'responseBodySchema'>,\n fieldDocsByResource: ReadonlyMap<string, Record<string, FieldDoc>>,\n): void {\n const takeMark = (node: unknown): string | undefined => {\n if (typeof node !== 'object' || node === null || Array.isArray(node)) return undefined;\n const record = node as Record<string, unknown>;\n const resource = record[EMBEDDED_RESOURCE_SCHEMA_KEY];\n if (typeof resource !== 'string') return undefined;\n delete record[EMBEDDED_RESOURCE_SCHEMA_KEY];\n const docs = fieldDocsByResource.get(resource);\n if (docs !== undefined) injectFieldDocsIntoJsonSchema(record, docs);\n return resource;\n };\n const visit = (node: unknown): void => {\n if (Array.isArray(node)) {\n for (const entry of node) visit(entry);\n return;\n }\n if (typeof node !== 'object' || node === null) return;\n const record = node as Record<string, unknown>;\n takeMark(record);\n const properties = record['properties'];\n if (typeof properties === 'object' && properties !== null && !Array.isArray(properties)) {\n for (const property of Object.values(properties as Record<string, unknown>)) {\n if (typeof property !== 'object' || property === null) continue;\n const holder = property as Record<string, unknown>;\n const single = takeMark(holder);\n const many = single === undefined ? takeMark(holder['items']) : undefined;\n if (holder['description'] === undefined && (single ?? many) !== undefined) {\n holder['description'] = single !== undefined\n ? `The related \\`${single}\\` record this read embeds.`\n : `The related \\`${many}\\` records this read embeds.`;\n }\n }\n }\n for (const value of Object.values(record)) visit(value);\n };\n visit(projection.requestBodySchema);\n visit(projection.responseBodySchema);\n}\n\n\n/**\n * The documented 200 body of an operation: its response DTO, as an ARRAY of it when the runtime answers one row per\n * item (#1872).\n *\n * `respondsWithPerItemRowArray` is the rule the serializer and both HTTP clients use: CREATE_MANY, UPDATE_MANY, and a\n * bulk variant of CREATE or UPDATE (`haveBulkOperation`) answer `[row, row, …]`, validated per item against the row\n * DTO. The DTO itself is the ROW, so publishing it as-is documented one object for a route that returns a list, and a\n * client generated from the reference mistyped every bulk edit. Reading the same rule keeps the reference and the\n * wire in step by construction.\n */\nfunction projectOperationResponseBodySchema(operation: Parameters<typeof respondsWithPerItemRowArray>[0] & { responseDto?: unknown }): unknown {\n const rowSchema = convertZodSchemaToOpenApiSchema(operation.responseDto as never);\n // An omitted DTO converts to `null`; there is then no row to list.\n return respondsWithPerItemRowArray(operation) && rowSchema !== null && rowSchema !== undefined ? { type: 'array', items: rowSchema } : rowSchema;\n}\n\n/**\n * Resolve the request schema the HTTP reference must publish.\n *\n * LIST filters are a framework-level query contract carried on the resolved\n * operation's `filterFields`, not on its normally empty `requestDto`. The HTTP\n * controller nevertheless accepts those flat query parameters and the runtime\n * uses the same declaration as its allow-list. SEARCH owns its request schema\n * directly, but the factory-level `isSearchable` declaration still decides\n * whether its generic `searchRequest` field is an actual public capability.\n */\nfunction projectOperationRequestBodySchema(operation: ApiBearingOperation): unknown {\n const effectiveOperation = operation.resourceOperationLike ?? operation.operationIdentifier;\n if (effectiveOperation === CoreResourceOperation.SEARCH) {\n const projected = convertZodSchemaToOpenApiSchema(operation.requestDto);\n return (operation as ApiBearingCollectionOperation).isSearchable === false\n ? omitFreeTextSearchRequest(projected)\n : projected;\n }\n if (effectiveOperation !== CoreResourceOperation.LIST) {\n return convertZodSchemaToOpenApiSchema(operation.requestDto);\n }\n\n const collectionOperation = operation as ApiBearingCollectionOperation;\n const entries = Object.entries(collectionOperation.filterFields ?? {});\n if (entries.length === 0) {\n return convertZodSchemaToOpenApiSchema(operation.requestDto);\n }\n\n const filterFields: Record<string, z.ZodTypeAny> = Object.fromEntries(entries);\n\n const projected = convertZodSchemaToOpenApiSchema(createResourceSearchQueryRequestSchema({\n filterFields: filterFields as never,\n allowedSortFields: collectionOperation.sortFields ?? [],\n pagination: true,\n maxPaginatedResultPerPageLimit: collectionOperation.maxPaginatedResultPerPageLimit ?? 50,\n }));\n if (!isPlainObject(projected) || !isPlainObject(projected.properties)) {\n throw new Error(\n `openapi-generation-input projector: LIST filter schema for `\n + `${String(operation.resourceIdentifier)}.${String(operation.operationIdentifier)} `\n + 'did not project to an object.',\n );\n }\n const filters = projected.properties['filters'];\n if (!isPlainObject(filters) || !isPlainObject(filters.properties)) {\n throw new Error(\n `openapi-generation-input projector: LIST filter schema for `\n + `${String(operation.resourceIdentifier)}.${String(operation.operationIdentifier)} `\n + 'did not contain an object-shaped filters property.',\n );\n }\n\n // `searchRequest` is a SEARCH-only free-text axis. LIST accepts the authored\n // scalar/range filters but does not consume `q`, so remove it rather than\n // letting the OpenAPI flattener promise an ignored parameter.\n return omitFreeTextSearchRequest(projected);\n}\n\n/**\n * Project a single `(operation × initiatorInfo)` pair into the\n * flat `OperationProjection` shape consumed by the OpenAPI\n * generator. Throws (rather than skipping silently) when a\n * framework enum value cannot be mapped — silent drops would\n * produce an OpenAPI doc that omits real operations without any\n * developer-visible signal.\n *\n * `operationDoc` carries the authored summary/description resolved from the\n * specification layer (empty `{}` when the operation has no authored prose).\n */\nexport function projectOperation(\n operation: ApiBearingOperation,\n initiatorInfo: ResourceConfiguration_Operation_UrlInitiatorInfo,\n initiatorIndex: number,\n initiatorCount: number,\n operationDoc: OperationDoc = {},\n roleSpecsByRef: ReadonlyMap<string, Pick<ApplicationRoleDocumentationSource, 'businessRole' | 'authorityBoundary'>> = new Map(),\n requireRoleDocumentation = false,\n): OperationProjection {\n const variantType = VARIANT_TYPE_BY_FRAMEWORK_VALUE[operation.variantType];\n if (!variantType) {\n throw new Error(\n `openapi-generation-input projector: unsupported variantType \"${operation.variantType}\" `\n + `on ${String(operation.resourceIdentifier)}.${String(operation.operationIdentifier)}.`,\n );\n }\n const primaryScope = PRIMARY_SCOPE_BY_FRAMEWORK_VALUE[operation.resourcePrimaryScope];\n if (!primaryScope) {\n throw new Error(\n `openapi-generation-input projector: unsupported resourcePrimaryScope `\n + `\"${operation.resourcePrimaryScope}\" on `\n + `${String(operation.resourceIdentifier)}.${String(operation.operationIdentifier)}.`,\n );\n }\n const httpVerb = HTTP_VERB_BY_FRAMEWORK_VALUE[operation.httpVerb];\n if (!httpVerb) {\n throw new Error(\n `openapi-generation-input projector: unsupported httpVerb \"${operation.httpVerb}\" `\n + `on ${String(operation.resourceIdentifier)}.${String(operation.operationIdentifier)}.`,\n );\n }\n\n const operationKey = buildOperationKey(operation, initiatorIndex, initiatorCount);\n const roles = httpCallerRoles(operation);\n const effectiveOperation = operation.resourceOperationLike ?? operation.operationIdentifier;\n const acceptsIfMatch = effectiveOperation === CoreResourceOperation.UPDATE\n && !('isBulkOperation' in operation && operation.isBulkOperation === true);\n const projection: OperationProjection = {\n resourceIdentifier: String(operation.resourceIdentifier),\n operationKey,\n // Raw operation identifier (without variant/bulk/Via qualifiers) — the\n // generator's verb-first `operationId` derives the verb from this.\n baseOperationIdentifier: String(operation.operationIdentifier),\n variantKey: operation.variantKey === undefined ? null : String(operation.variantKey),\n variantType,\n httpVerb,\n /*\n * The outbound webhooks this call fires. Already walked for the integration inventory that\n * decides whether the webhook PAGES publish; carried onto the operation as well so the API\n * reference can say, at the operation a developer is reading, that calling it notifies every\n * configured endpoint.\n */\n ...(((operation.m2mNotifications ?? []) as readonly { identifier?: unknown; channel?: unknown; level?: unknown }[]).length > 0\n ? {\n m2mNotifications: ((operation.m2mNotifications ?? []) as readonly { identifier?: unknown; channel?: unknown; level?: unknown }[])\n .filter((notification) => String(notification.channel ?? '').length > 0)\n .map((notification) => ({\n identifier: String(notification.identifier ?? notification.channel),\n channel: String(notification.channel),\n ...(notification.level === undefined ? {} : { level: String(notification.level) }),\n })),\n }\n : {}),\n path: initiatorInfo.url,\n primaryScope,\n consumerApiSection: classifyConsumerApiSection(roles),\n identity: createOpenApiOperationIdentity({\n resourceIdentifier: String(operation.resourceIdentifier),\n baseOperationIdentifier: String(operation.operationIdentifier),\n variantKey: operation.variantKey === undefined ? null : String(operation.variantKey),\n variantType,\n httpVerb,\n path: initiatorInfo.url,\n }),\n roles,\n access: buildOperationAccessDocumentation(roles, roleSpecsByRef, requireRoleDocumentation),\n isApiKeyAccessDisabled: Boolean(operation.isApiKeyAccessDisabled),\n acceptsIfMatch,\n ...(operation.requiresStepUpAuthentication === true\n ? {\n stepUpAuthentication: {\n headerName: WildoHeaderKeys.REAUTH_TOKEN,\n tokenEndpointPath: `${MAIN_API_BASE_PATH}${MANUAL_CONTROLLER_ROUTES_URLS[ManualControllerRouteKey.AUTH_REAUTH]}`,\n },\n }\n : {}),\n ...(operation.idempotencyKey !== undefined\n ? {\n idempotencyKey: {\n headerName: WildoHeaderKeys.IDEMPOTENCY_KEY,\n required: operation.idempotencyKey === ResourceOperationIdempotencyKeyRequirement.REQUIRED,\n },\n }\n : {}),\n // #1985: a declared submission challenge is documented from the declaration, never from prose.\n ...(operation.submissionChallenge !== undefined\n ? {\n submissionChallenge: {\n headerName: WildoHeaderKeys.SUBMISSION_CHALLENGE_RESPONSE,\n proofOfWorkChallengePath: `${MAIN_API_BASE_PATH}${MANUAL_CONTROLLER_ROUTES_URLS[ManualControllerRouteKey.SUBMISSION_CHALLENGE_PROOF_OF_WORK]}`,\n },\n }\n : {}),\n requestBodySchema: projectOperationRequestBodySchema(operation),\n responseBodySchema: projectOperationResponseBodySchema(operation),\n };\n\n // Paginated-collection contract (LIST / SEARCH-like): the backend controller\n // treats every HTTP LIST/SEARCH dispatch — including custom operations\n // borrowing one via `resourceOperationLike` — as paginated: flat\n // `page` / `limit` / `sort` query parameters in, `{ data, pagination }`\n // envelope out. None of that lives on the request DTO, so it is projected\n // explicitly here and the generator derives the query parameters from it.\n // The collection-view fields (`sortFields`, `maxPaginatedResultPerPageLimit`)\n // are flattened onto the resolved operation by the resources-config factory\n // but are not part of the `ResourceConfiguration_Operation` base type — the\n // narrow structural read below is the same pattern the frontend runtime uses\n // (`executeSearchOperationInternal`, `ResourceLayout_List`). The `?? 50`\n // fallback mirrors the frontend HTTP client's clamp (only SEARCH-like ops\n // can author a different cap today). Empty `sortableFields` = no allow-list:\n // the backend applies any requested field and defaults to `createdAt:desc`.\n if (\n effectiveOperation === CoreResourceOperation.LIST\n || effectiveOperation === CoreResourceOperation.SEARCH\n ) {\n const collectionViewFields = operation as {\n maxPaginatedResultPerPageLimit?: number;\n sortFields?: readonly string[];\n };\n projection.pagination = {\n maxLimit: collectionViewFields.maxPaginatedResultPerPageLimit ?? 50,\n sortableFields: [...(collectionViewFields.sortFields ?? [])],\n };\n }\n\n // Tier-1 spec enrichment: fill authored summary/description when present.\n // Both are left unset (so the generator's humanized fallback applies) when\n // the operation has no authored spec prose.\n if (operationDoc.summary !== undefined) {\n projection.summary = operationDoc.summary;\n }\n if (operationDoc.description !== undefined) {\n projection.description = operationDoc.description;\n }\n\n if (operation.variantType === ResourceOperationVariantType.API_CALL_WITH_CALLBACK) {\n // The framework auto-emits `${url}/callback` on every initiator\n // for callback variants — fall back to that derivation if a\n // future op overrides `urlCallback` with `undefined`.\n projection.callbackPath = initiatorInfo.urlCallback ?? `${initiatorInfo.url}/callback`;\n }\n\n return projection;\n}\n\n/**\n * Build a stable, unique `operationKey` per projected row. The\n * key MUST be unique across an OpenAPI document because the\n * generator concatenates it with the resource identifier into the\n * top-level `operationId`. Collisions silently overwrite path\n * items in some OpenAPI tools, so we fail-loud at the projector\n * by always appending all relevant disambiguators rather than\n * relying on luck-of-the-draw uniqueness from `operationIdentifier`\n * alone.\n *\n * Suffix order is fixed (Via<Relationship> → variantKey → BULK) so the\n * output is stable across runs even if a future framework change\n * reorders fields on the operation object.\n */\nexport function buildOperationKey(\n operation: ApiBearingOperation,\n initiatorIndex: number,\n initiatorCount: number,\n): string {\n const segments: string[] = [String(operation.operationIdentifier)];\n // Multi-path disambiguator: when an operation is addressable at more than one\n // URL, the non-default (relationship-nested) paths carry a SEMANTIC\n // `Via<Relationship>` segment derived from the initiator's FK\n // `relationshipField` (e.g. `postedByUserId` → `ViaPostedByUser`) — never a\n // positional `PATH<n>` index that means nothing to a developer. The\n // default-parent path (no `relationshipField`) stays canonical (no segment).\n if (initiatorCount > 1) {\n const via = deriveViaDisambiguator(operation.initiatorInfos ?? [], initiatorIndex);\n if (via) {\n segments.push(via);\n } else if (initiatorIndex > 0) {\n // Defensive: >1 path but this one carries no relationship signal and is\n // not the first — keep an index so the derived operationId stays unique.\n segments.push(`Path${initiatorIndex}`);\n }\n }\n if (operation.variantKey) segments.push(String(operation.variantKey));\n if (operation.isBulkOperation) segments.push('BULK');\n return segments.join('_');\n}\n\n/**\n * Distinct STATIC (non-parameter) path segments of one URL initiator — the\n * ground-truth parent chain. The URL is what ultimately distinguishes an\n * operation's multiple endpoints (paths are unique by construction), so it is a\n * more robust disambiguator than the FK parameter metadata: it separates not\n * just relationship FKs (`/assigned-to-users/{}/tasks`) but also a resource's\n * distinct default-parent variants — e.g. the same `draft-notes` child under\n * its authenticated vs anonymous parent (`/users/{userId}/draft-notes` vs\n * `/anonymous-users/{anonymousUserId}/draft-notes`). The diff keys on the\n * STATIC segment, so it holds whether or not those parents' params also differ.\n *\n * The `/api` mount + `v<n>` version segments are dropped (they appear on every\n * path and would only add noise); the resource's own segment and the shared\n * scope segments appear on every path too, so the canonical-diff in\n * {@link deriveViaDisambiguator} cancels them. Deduped.\n */\nfunction staticPathSegmentsOf(\n initiator: ResourceConfiguration_Operation_UrlInitiatorInfo | undefined,\n): string[] {\n return [\n ...new Set(\n (initiator?.url ?? '')\n .split('/')\n .filter((segment) =>\n segment.length > 0\n && !segment.startsWith('{')\n && segment !== 'api'\n && !/^v\\d+$/u.test(segment)),\n ),\n ];\n}\n\n/**\n * Derive the semantic `Via<Relationship>` disambiguator for one URL initiator of\n * a multi-path operation. The suffix names the STATIC path segment(s) UNIQUE to\n * this path relative to the CANONICAL (most-direct) path — the one with the\n * fewest static segments. Because the resource's own segment and the shared\n * scope segments appear on EVERY path, they are part of the canonical set and\n * cancel out, leaving only the genuine extra parent hop:\n *\n * `/organizations/{org}/tasks` → canonical, no suffix → `assignTasks`\n * `/organizations/{org}/assigned-to-users/{user}/tasks` → `ViaAssignedToUsers` → `assignTasksViaAssignedToUsers`\n * `/anonymous-users/{anonymousUserId}/draft-notes` → `ViaAnonymousUsers`\n *\n * Returns `null` for the canonical path (no extra segment). Multiple extra\n * segments join with `And`. The `buildOperationKey` index fallback keeps any\n * genuine duplicate (two paths with identical static segments) unique.\n */\nfunction deriveViaDisambiguator(\n initiators: readonly (ResourceConfiguration_Operation_UrlInitiatorInfo | undefined)[],\n index: number,\n): string | null {\n const segmentSets = initiators.map(staticPathSegmentsOf);\n if (segmentSets.length === 0) return null;\n const minCount = Math.min(...segmentSets.map((set) => set.length));\n // The canonical path = the most-direct one (fewest static segments). Its\n // segment set is the baseline subtracted from every other path.\n const canonical = new Set(segmentSets.find((set) => set.length === minCount) ?? []);\n const extra = (segmentSets[index] ?? []).filter((segment) => !canonical.has(segment));\n if (extra.length === 0) return null;\n const toPascalNoun = (input: string): string =>\n input\n .replace(/Id$/u, '')\n .split(/[^a-zA-Z0-9]+|(?<=[a-z0-9])(?=[A-Z])/u)\n .filter(Boolean)\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1))\n .join('');\n return `Via${extra.map(toPascalNoun).join('And')}`;\n}\n"]}