@wildo-ai/saas-backend-lib 1.1.2 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1358) hide show
  1. package/dist/esm/__tests__/fixture-deep-partial.d.ts.map +1 -1
  2. package/dist/esm/__tests__/integration/redis-integration-gate.d.ts.map +1 -1
  3. package/dist/esm/__tests__/setup.d.ts.map +1 -1
  4. package/dist/esm/__tests__/test-container.d.ts.map +1 -1
  5. package/dist/esm/applications/models/applications.backend.schemas.d.ts.map +1 -1
  6. package/dist/esm/applications/seeds/application-metadata-defaults.seeds.d.ts.map +1 -1
  7. package/dist/esm/applications/services/worker-remote-client-factory.backend.service.d.ts.map +1 -1
  8. package/dist/esm/applications/services/worker-remote-client-factory.backend.service.js +19 -1
  9. package/dist/esm/applications/services/worker-remote-client-factory.backend.service.js.map +1 -1
  10. package/dist/esm/base-classes/models/manual-controllers.backend.definition.d.ts.map +1 -1
  11. package/dist/esm/base-classes/models/manual-controllers.backend.definition.js +4 -0
  12. package/dist/esm/base-classes/models/manual-controllers.backend.definition.js.map +1 -1
  13. package/dist/esm/base-classes/models/repositories.backend.schemas.d.ts.map +1 -1
  14. package/dist/esm/base-classes/services/__tests__/mock-resource-operation-helper.service.d.ts +1 -1
  15. package/dist/esm/base-classes/services/__tests__/mock-resource-operation-helper.service.d.ts.map +1 -1
  16. package/dist/esm/base-classes/services/batches/batches-cronjobs-custom-execution.service.d.ts.map +1 -1
  17. package/dist/esm/base-classes/services/batches/batches-cronjobs-executor.backend.service.d.ts.map +1 -1
  18. package/dist/esm/base-classes/services/batches/batches-cronjobs-resource-execution.backend.service.d.ts.map +1 -1
  19. package/dist/esm/base-classes/services/batches/child-lifecycle-teardown.batch.backend.service.d.ts +35 -0
  20. package/dist/esm/base-classes/services/batches/child-lifecycle-teardown.batch.backend.service.d.ts.map +1 -0
  21. package/dist/esm/base-classes/services/batches/child-lifecycle-teardown.batch.backend.service.js +111 -0
  22. package/dist/esm/base-classes/services/batches/child-lifecycle-teardown.batch.backend.service.js.map +1 -0
  23. package/dist/esm/base-classes/services/batches/credential-expiry-sweep.batch.backend.service.d.ts +50 -0
  24. package/dist/esm/base-classes/services/batches/credential-expiry-sweep.batch.backend.service.d.ts.map +1 -0
  25. package/dist/esm/base-classes/services/batches/credential-expiry-sweep.batch.backend.service.js +210 -0
  26. package/dist/esm/base-classes/services/batches/credential-expiry-sweep.batch.backend.service.js.map +1 -0
  27. package/dist/esm/base-classes/services/batches/engine-custom-batch-manifests.d.ts +111 -0
  28. package/dist/esm/base-classes/services/batches/engine-custom-batch-manifests.d.ts.map +1 -1
  29. package/dist/esm/base-classes/services/batches/engine-custom-batch-manifests.js +140 -0
  30. package/dist/esm/base-classes/services/batches/engine-custom-batch-manifests.js.map +1 -1
  31. package/dist/esm/base-classes/services/batches/resource-retention-sweep.batch.backend.service.d.ts.map +1 -1
  32. package/dist/esm/base-classes/services/batches/suspension-reactivation-sweep.batch.backend.service.d.ts.map +1 -1
  33. package/dist/esm/base-classes/services/controllers/abstract-controller.backend.service.d.ts.map +1 -1
  34. package/dist/esm/base-classes/services/controllers/controller-resource.backend.service.d.ts.map +1 -1
  35. package/dist/esm/base-classes/services/controllers/controller-resource.backend.service.js +27 -6
  36. package/dist/esm/base-classes/services/controllers/controller-resource.backend.service.js.map +1 -1
  37. package/dist/esm/base-classes/services/controllers/controllers-registry-handler.backend.service.d.ts.map +1 -1
  38. package/dist/esm/base-classes/services/controllers/controllers-registry-handler.backend.service.js.map +1 -1
  39. package/dist/esm/base-classes/services/controllers/utils/audit-access-fields.backend.utils.d.ts.map +1 -1
  40. package/dist/esm/base-classes/services/controllers/utils/operation-response-serializer.backend.utils.d.ts.map +1 -1
  41. package/dist/esm/base-classes/services/controllers/validate-field-handler.backend.service.d.ts.map +1 -1
  42. package/dist/esm/base-classes/services/repositories/__tests__/method-span-scan.guard-helpers.d.ts.map +1 -1
  43. package/dist/esm/base-classes/services/repositories/__tests__/mock-repositories-registry-handler.service.d.ts.map +1 -1
  44. package/dist/esm/base-classes/services/repositories/field-clearing-partition.backend.d.ts.map +1 -1
  45. package/dist/esm/base-classes/services/repositories/http-api/http-api-filter-translation.backend.d.ts.map +1 -1
  46. package/dist/esm/base-classes/services/repositories/http-api/http-api-provider-access.backend.d.ts +124 -13
  47. package/dist/esm/base-classes/services/repositories/http-api/http-api-provider-access.backend.d.ts.map +1 -1
  48. package/dist/esm/base-classes/services/repositories/http-api/http-api-provider-access.backend.js +220 -25
  49. package/dist/esm/base-classes/services/repositories/http-api/http-api-provider-access.backend.js.map +1 -1
  50. package/dist/esm/base-classes/services/repositories/http-api/http-api-query.backend.d.ts.map +1 -1
  51. package/dist/esm/base-classes/services/repositories/http-api/http-api-read-client.backend.d.ts +60 -8
  52. package/dist/esm/base-classes/services/repositories/http-api/http-api-read-client.backend.d.ts.map +1 -1
  53. package/dist/esm/base-classes/services/repositories/http-api/http-api-read-client.backend.js +191 -26
  54. package/dist/esm/base-classes/services/repositories/http-api/http-api-read-client.backend.js.map +1 -1
  55. package/dist/esm/base-classes/services/repositories/http-api/http-api-resource-repository.backend.service.d.ts +47 -4
  56. package/dist/esm/base-classes/services/repositories/http-api/http-api-resource-repository.backend.service.d.ts.map +1 -1
  57. package/dist/esm/base-classes/services/repositories/http-api/http-api-resource-repository.backend.service.js +96 -29
  58. package/dist/esm/base-classes/services/repositories/http-api/http-api-resource-repository.backend.service.js.map +1 -1
  59. package/dist/esm/base-classes/services/repositories/http-api/http-api-rest-operation-reference.backend.d.ts +55 -0
  60. package/dist/esm/base-classes/services/repositories/http-api/http-api-rest-operation-reference.backend.d.ts.map +1 -0
  61. package/dist/esm/base-classes/services/repositories/http-api/http-api-rest-operation-reference.backend.js +114 -0
  62. package/dist/esm/base-classes/services/repositories/http-api/http-api-rest-operation-reference.backend.js.map +1 -0
  63. package/dist/esm/base-classes/services/repositories/http-api/http-api-row-projection.backend.d.ts.map +1 -1
  64. package/dist/esm/base-classes/services/repositories/http-api/http-api-subject-erasure-effect.backend.d.ts.map +1 -1
  65. package/dist/esm/base-classes/services/repositories/http-api/http-api-transport.backend.d.ts +89 -14
  66. package/dist/esm/base-classes/services/repositories/http-api/http-api-transport.backend.d.ts.map +1 -1
  67. package/dist/esm/base-classes/services/repositories/http-api/http-api-transport.backend.js +84 -11
  68. package/dist/esm/base-classes/services/repositories/http-api/http-api-transport.backend.js.map +1 -1
  69. package/dist/esm/base-classes/services/repositories/http-api/odata-query-compiler.backend.d.ts.map +1 -1
  70. package/dist/esm/base-classes/services/repositories/http-api/odoo-jsonrpc-compiler.backend.d.ts.map +1 -1
  71. package/dist/esm/base-classes/services/repositories/http-api/rest-json-query-compiler.backend.d.ts.map +1 -1
  72. package/dist/esm/base-classes/services/repositories/infrastructure-tier-contract.backend.d.ts.map +1 -1
  73. package/dist/esm/base-classes/services/repositories/infrastructure-tier-contract.backend.js +9 -1
  74. package/dist/esm/base-classes/services/repositories/infrastructure-tier-contract.backend.js.map +1 -1
  75. package/dist/esm/base-classes/services/repositories/introspection/introspection-resource-repository.backend.service.d.ts.map +1 -1
  76. package/dist/esm/base-classes/services/repositories/introspection/introspection-resource-source.backend.port.d.ts.map +1 -1
  77. package/dist/esm/base-classes/services/repositories/postgresql-resource-repository.backend.service.d.ts +106 -0
  78. package/dist/esm/base-classes/services/repositories/postgresql-resource-repository.backend.service.d.ts.map +1 -1
  79. package/dist/esm/base-classes/services/repositories/postgresql-resource-repository.backend.service.js +266 -20
  80. package/dist/esm/base-classes/services/repositories/postgresql-resource-repository.backend.service.js.map +1 -1
  81. package/dist/esm/base-classes/services/repositories/repositories-registry-handler.backend.service.d.ts.map +1 -1
  82. package/dist/esm/base-classes/services/repositories/repositories-registry-handler.backend.service.js +23 -3
  83. package/dist/esm/base-classes/services/repositories/repositories-registry-handler.backend.service.js.map +1 -1
  84. package/dist/esm/base-classes/services/repositories/repository-guarded-mutation.backend.types.d.ts.map +1 -1
  85. package/dist/esm/base-classes/services/repositories/repository-resource.backend.service.d.ts +5 -2
  86. package/dist/esm/base-classes/services/repositories/repository-resource.backend.service.d.ts.map +1 -1
  87. package/dist/esm/base-classes/services/repositories/repository-resource.backend.service.js +34 -3
  88. package/dist/esm/base-classes/services/repositories/repository-resource.backend.service.js.map +1 -1
  89. package/dist/esm/base-classes/services/repositories/repository-version-metadata.backend.utils.d.ts.map +1 -1
  90. package/dist/esm/base-classes/services/repositories/resource-write-integrity.backend.d.ts.map +1 -1
  91. package/dist/esm/base-classes/services/repositories/seed-row-default-materialization.backend.d.ts +72 -0
  92. package/dist/esm/base-classes/services/repositories/seed-row-default-materialization.backend.d.ts.map +1 -0
  93. package/dist/esm/base-classes/services/repositories/seed-row-default-materialization.backend.js +88 -0
  94. package/dist/esm/base-classes/services/repositories/seed-row-default-materialization.backend.js.map +1 -0
  95. package/dist/esm/base-classes/services/repositories/unique-constraint-conflict-reference.backend.d.ts.map +1 -1
  96. package/dist/esm/base-classes/services/resource-operations-helper.backend.service.d.ts.map +1 -1
  97. package/dist/esm/base-classes/services/services/__tests__/mock-services-registry-handler.service.d.ts.map +1 -1
  98. package/dist/esm/base-classes/services/services/__tests__/mock-system-access.service.d.ts.map +1 -1
  99. package/dist/esm/base-classes/services/services/read-only-field-change.backend.utils.d.ts.map +1 -1
  100. package/dist/esm/base-classes/services/services/resource-operation-audit-emission.backend.utils.d.ts.map +1 -1
  101. package/dist/esm/base-classes/services/services/resource-operation-custom-implementation-base.backend.service.d.ts +22 -0
  102. package/dist/esm/base-classes/services/services/resource-operation-custom-implementation-base.backend.service.d.ts.map +1 -1
  103. package/dist/esm/base-classes/services/services/resource-operation-custom-implementation-base.backend.service.js.map +1 -1
  104. package/dist/esm/base-classes/services/services/resource-operation-custom-implementation-registry.backend.service.d.ts.map +1 -1
  105. package/dist/esm/base-classes/services/services/resource-operation-custom-implementation.factory.backend.d.ts.map +1 -1
  106. package/dist/esm/base-classes/services/services/resource-operation-implementation-coverage.backend.utils.d.ts.map +1 -1
  107. package/dist/esm/base-classes/services/services/resource-operation-server-injected-fields.backend.utils.d.ts.map +1 -1
  108. package/dist/esm/base-classes/services/services/resource-operation-transaction-persistence.backend.utils.d.ts.map +1 -1
  109. package/dist/esm/base-classes/services/services/resource-status-transition.custom-impl.backend.service.d.ts.map +1 -1
  110. package/dist/esm/base-classes/services/services/resource-status-transition.custom-impl.backend.service.js +4 -1
  111. package/dist/esm/base-classes/services/services/resource-status-transition.custom-impl.backend.service.js.map +1 -1
  112. package/dist/esm/base-classes/services/services/resource-status-transition.definitions.backend.d.ts +11 -0
  113. package/dist/esm/base-classes/services/services/resource-status-transition.definitions.backend.d.ts.map +1 -1
  114. package/dist/esm/base-classes/services/services/resource-status-transition.definitions.backend.js +39 -5
  115. package/dist/esm/base-classes/services/services/resource-status-transition.definitions.backend.js.map +1 -1
  116. package/dist/esm/base-classes/services/services/services-registry-handler.backend.service.d.ts +181 -2
  117. package/dist/esm/base-classes/services/services/services-registry-handler.backend.service.d.ts.map +1 -1
  118. package/dist/esm/base-classes/services/services/services-registry-handler.backend.service.js +571 -45
  119. package/dist/esm/base-classes/services/services/services-registry-handler.backend.service.js.map +1 -1
  120. package/dist/esm/base-classes/services/services/system-access.backend.service.d.ts +36 -3
  121. package/dist/esm/base-classes/services/services/system-access.backend.service.d.ts.map +1 -1
  122. package/dist/esm/base-classes/services/services/system-access.backend.service.js +70 -8
  123. package/dist/esm/base-classes/services/services/system-access.backend.service.js.map +1 -1
  124. package/dist/esm/base-classes/utils/backend-type-utils.d.ts.map +1 -1
  125. package/dist/esm/base-classes/utils/single-subject-addressing.backend.utils.d.ts.map +1 -1
  126. package/dist/esm/billing/batches/billing-reconciliation.batch.backend.service.d.ts +28 -0
  127. package/dist/esm/billing/batches/billing-reconciliation.batch.backend.service.d.ts.map +1 -0
  128. package/dist/esm/billing/batches/billing-reconciliation.batch.backend.service.js +90 -0
  129. package/dist/esm/billing/batches/billing-reconciliation.batch.backend.service.js.map +1 -0
  130. package/dist/esm/billing/batches/usage-flush.batch.backend.service.d.ts +44 -0
  131. package/dist/esm/billing/batches/usage-flush.batch.backend.service.d.ts.map +1 -0
  132. package/dist/esm/billing/batches/usage-flush.batch.backend.service.js +99 -0
  133. package/dist/esm/billing/batches/usage-flush.batch.backend.service.js.map +1 -0
  134. package/dist/esm/billing/models/billing-provider-event-settlement.backend.schemas.d.ts +91 -0
  135. package/dist/esm/billing/models/billing-provider-event-settlement.backend.schemas.d.ts.map +1 -0
  136. package/dist/esm/billing/models/billing-provider-event-settlement.backend.schemas.js +152 -0
  137. package/dist/esm/billing/models/billing-provider-event-settlement.backend.schemas.js.map +1 -0
  138. package/dist/esm/billing/services/back-office/abstract-billing.backend.service.d.ts.map +1 -1
  139. package/dist/esm/billing/services/back-office/billing-feature-sync.backend.service.d.ts.map +1 -1
  140. package/dist/esm/billing/services/back-office/billing-reconciliation.backend.service.d.ts +186 -0
  141. package/dist/esm/billing/services/back-office/billing-reconciliation.backend.service.d.ts.map +1 -0
  142. package/dist/esm/billing/services/back-office/billing-reconciliation.backend.service.js +475 -0
  143. package/dist/esm/billing/services/back-office/billing-reconciliation.backend.service.js.map +1 -0
  144. package/dist/esm/billing/services/back-office/billing-state.backend.service.d.ts.map +1 -1
  145. package/dist/esm/billing/services/back-office/billing-state.backend.service.js +11 -1
  146. package/dist/esm/billing/services/back-office/billing-state.backend.service.js.map +1 -1
  147. package/dist/esm/billing/services/back-office/billing-subject-erasure-effect.backend.d.ts.map +1 -1
  148. package/dist/esm/billing/services/back-office/product-catalog-sync.backend.service.d.ts +100 -0
  149. package/dist/esm/billing/services/back-office/product-catalog-sync.backend.service.d.ts.map +1 -1
  150. package/dist/esm/billing/services/back-office/product-catalog-sync.backend.service.js +209 -6
  151. package/dist/esm/billing/services/back-office/product-catalog-sync.backend.service.js.map +1 -1
  152. package/dist/esm/billing/services/back-office/usage-metering.backend.service.d.ts +200 -4
  153. package/dist/esm/billing/services/back-office/usage-metering.backend.service.d.ts.map +1 -1
  154. package/dist/esm/billing/services/back-office/usage-metering.backend.service.js +593 -64
  155. package/dist/esm/billing/services/back-office/usage-metering.backend.service.js.map +1 -1
  156. package/dist/esm/billing/services/billing-adapter-registry.backend.d.ts +36 -0
  157. package/dist/esm/billing/services/billing-adapter-registry.backend.d.ts.map +1 -0
  158. package/dist/esm/billing/services/billing-adapter-registry.backend.js +83 -0
  159. package/dist/esm/billing/services/billing-adapter-registry.backend.js.map +1 -0
  160. package/dist/esm/billing/services/billing-checkout-metadata.backend.utils.d.ts +9 -0
  161. package/dist/esm/billing/services/billing-checkout-metadata.backend.utils.d.ts.map +1 -1
  162. package/dist/esm/billing/services/billing-checkout-metadata.backend.utils.js +11 -1
  163. package/dist/esm/billing/services/billing-checkout-metadata.backend.utils.js.map +1 -1
  164. package/dist/esm/billing/services/billing.utils.d.ts.map +1 -1
  165. package/dist/esm/billing/services/custom-impl/billing-account.mutations.custom-impl.backend.service.d.ts.map +1 -1
  166. package/dist/esm/billing/services/custom-impl/billing-account.mutations.custom-impl.backend.service.js +48 -7
  167. package/dist/esm/billing/services/custom-impl/billing-account.mutations.custom-impl.backend.service.js.map +1 -1
  168. package/dist/esm/billing/services/custom-impl/billing-custom-impl-utils.backend.d.ts +70 -1
  169. package/dist/esm/billing/services/custom-impl/billing-custom-impl-utils.backend.d.ts.map +1 -1
  170. package/dist/esm/billing/services/custom-impl/billing-custom-impl-utils.backend.js +98 -2
  171. package/dist/esm/billing/services/custom-impl/billing-custom-impl-utils.backend.js.map +1 -1
  172. package/dist/esm/billing/services/custom-impl/billing-custom-implementations.backend.d.ts +30 -1
  173. package/dist/esm/billing/services/custom-impl/billing-custom-implementations.backend.d.ts.map +1 -1
  174. package/dist/esm/billing/services/custom-impl/billing-custom-implementations.backend.js +43 -1
  175. package/dist/esm/billing/services/custom-impl/billing-custom-implementations.backend.js.map +1 -1
  176. package/dist/esm/billing/services/custom-impl/credit-pool.custom-ops.custom-impl.backend.service.d.ts.map +1 -1
  177. package/dist/esm/billing/services/custom-impl/promotion.custom-ops.custom-impl.backend.service.d.ts +11 -3
  178. package/dist/esm/billing/services/custom-impl/promotion.custom-ops.custom-impl.backend.service.d.ts.map +1 -1
  179. package/dist/esm/billing/services/custom-impl/promotion.custom-ops.custom-impl.backend.service.js +30 -16
  180. package/dist/esm/billing/services/custom-impl/promotion.custom-ops.custom-impl.backend.service.js.map +1 -1
  181. package/dist/esm/billing/services/custom-impl/subscription.mutations.custom-impl.backend.service.d.ts.map +1 -1
  182. package/dist/esm/billing/services/custom-impl/subscription.mutations.custom-impl.backend.service.js +104 -25
  183. package/dist/esm/billing/services/custom-impl/subscription.mutations.custom-impl.backend.service.js.map +1 -1
  184. package/dist/esm/billing/services/stripe-standard-billing-provider.backend.service.d.ts +21 -1
  185. package/dist/esm/billing/services/stripe-standard-billing-provider.backend.service.d.ts.map +1 -1
  186. package/dist/esm/billing/services/stripe-standard-billing-provider.backend.service.js +109 -2
  187. package/dist/esm/billing/services/stripe-standard-billing-provider.backend.service.js.map +1 -1
  188. package/dist/esm/billing/services/webhooks/__tests__/settlement-ledger.test-double.d.ts +52 -0
  189. package/dist/esm/billing/services/webhooks/__tests__/settlement-ledger.test-double.d.ts.map +1 -0
  190. package/dist/esm/billing/services/webhooks/__tests__/settlement-ledger.test-double.js +74 -0
  191. package/dist/esm/billing/services/webhooks/__tests__/settlement-ledger.test-double.js.map +1 -0
  192. package/dist/esm/billing/services/webhooks/billing-webhook-adapter.backend.service.d.ts.map +1 -1
  193. package/dist/esm/billing/services/webhooks/billing-webhook-capability-handler.backend.service.d.ts.map +1 -1
  194. package/dist/esm/billing/services/webhooks/billing-webhook-event-router.backend.service.d.ts +104 -11
  195. package/dist/esm/billing/services/webhooks/billing-webhook-event-router.backend.service.d.ts.map +1 -1
  196. package/dist/esm/billing/services/webhooks/billing-webhook-event-router.backend.service.js +310 -29
  197. package/dist/esm/billing/services/webhooks/billing-webhook-event-router.backend.service.js.map +1 -1
  198. package/dist/esm/billing/testing/billing-test-fixtures.d.ts.map +1 -1
  199. package/dist/esm/billing/testing/mock-billing-provider.d.ts +30 -1
  200. package/dist/esm/billing/testing/mock-billing-provider.d.ts.map +1 -1
  201. package/dist/esm/billing/testing/mock-billing-provider.js +25 -0
  202. package/dist/esm/billing/testing/mock-billing-provider.js.map +1 -1
  203. package/dist/esm/charts/controllers/chart.backend.controller.d.ts.map +1 -1
  204. package/dist/esm/charts/services/chart-registry.backend.service.d.ts +80 -7
  205. package/dist/esm/charts/services/chart-registry.backend.service.d.ts.map +1 -1
  206. package/dist/esm/charts/services/chart-registry.backend.service.js +115 -8
  207. package/dist/esm/charts/services/chart-registry.backend.service.js.map +1 -1
  208. package/dist/esm/companion-exports.d.ts.map +1 -1
  209. package/dist/esm/compliance/audit-trails/audit-logs.custom-impl.backend.service.d.ts.map +1 -1
  210. package/dist/esm/compliance/audit-trails/batches/audit-logs-archive.batch.backend.service.d.ts.map +1 -1
  211. package/dist/esm/compliance/audit-trails/batches/audit-logs-archive.batch.backend.service.js +11 -4
  212. package/dist/esm/compliance/audit-trails/batches/audit-logs-archive.batch.backend.service.js.map +1 -1
  213. package/dist/esm/compliance/audit-trails/batches/immudb-audit-reconcile.batch.backend.service.d.ts.map +1 -1
  214. package/dist/esm/compliance/audit-trails/batches/siem-webhook-delivery.batch.backend.service.d.ts.map +1 -1
  215. package/dist/esm/compliance/audit-trails/services/__tests__/mock-audit-logs.service.d.ts.map +1 -1
  216. package/dist/esm/compliance/audit-trails/services/audit-event-dispatcher.backend.service.d.ts +225 -13
  217. package/dist/esm/compliance/audit-trails/services/audit-event-dispatcher.backend.service.d.ts.map +1 -1
  218. package/dist/esm/compliance/audit-trails/services/audit-event-dispatcher.backend.service.js +340 -62
  219. package/dist/esm/compliance/audit-trails/services/audit-event-dispatcher.backend.service.js.map +1 -1
  220. package/dist/esm/compliance/audit-trails/services/audit-logs.backend.service.d.ts +350 -10
  221. package/dist/esm/compliance/audit-trails/services/audit-logs.backend.service.d.ts.map +1 -1
  222. package/dist/esm/compliance/audit-trails/services/audit-logs.backend.service.js +562 -10
  223. package/dist/esm/compliance/audit-trails/services/audit-logs.backend.service.js.map +1 -1
  224. package/dist/esm/compliance/audit-trails/services/composite-audit-log-sink.backend.d.ts.map +1 -1
  225. package/dist/esm/compliance/audit-trails/services/composite-audit-log-sink.backend.js +7 -1
  226. package/dist/esm/compliance/audit-trails/services/composite-audit-log-sink.backend.js.map +1 -1
  227. package/dist/esm/compliance/audit-trails/services/siem-export-config-cache-invalidation.custom-impl.backend.service.d.ts +6 -2
  228. package/dist/esm/compliance/audit-trails/services/siem-export-config-cache-invalidation.custom-impl.backend.service.d.ts.map +1 -1
  229. package/dist/esm/compliance/audit-trails/services/siem-export-config-cache-invalidation.custom-impl.backend.service.js +31 -9
  230. package/dist/esm/compliance/audit-trails/services/siem-export-config-cache-invalidation.custom-impl.backend.service.js.map +1 -1
  231. package/dist/esm/compliance/audit-trails/services/siem-webhook-delivery.backend.service.d.ts +42 -0
  232. package/dist/esm/compliance/audit-trails/services/siem-webhook-delivery.backend.service.d.ts.map +1 -1
  233. package/dist/esm/compliance/audit-trails/services/siem-webhook-delivery.backend.service.js +57 -1
  234. package/dist/esm/compliance/audit-trails/services/siem-webhook-delivery.backend.service.js.map +1 -1
  235. package/dist/esm/compliance/audit-trails/services/utils/leased-value-cache.backend.utils.d.ts +110 -0
  236. package/dist/esm/compliance/audit-trails/services/utils/leased-value-cache.backend.utils.d.ts.map +1 -0
  237. package/dist/esm/compliance/audit-trails/services/utils/leased-value-cache.backend.utils.js +192 -0
  238. package/dist/esm/compliance/audit-trails/services/utils/leased-value-cache.backend.utils.js.map +1 -0
  239. package/dist/esm/compliance/audit-trails/services/utils/ocsf-activity-mapping.backend.utils.d.ts.map +1 -1
  240. package/dist/esm/compliance/audit-trails/services/utils/ocsf-activity-mapping.backend.utils.js +52 -0
  241. package/dist/esm/compliance/audit-trails/services/utils/ocsf-activity-mapping.backend.utils.js.map +1 -1
  242. package/dist/esm/compliance/audit-trails/services/utils/ocsf-class-mapping.backend.utils.d.ts.map +1 -1
  243. package/dist/esm/compliance/audit-trails/services/utils/siem-dictionary.backend.utils.d.ts.map +1 -1
  244. package/dist/esm/compliance/audit-trails/services/utils/siem-ocsf-projection.backend.utils.d.ts.map +1 -1
  245. package/dist/esm/compliance/audit-trails/services/utils/siem-projection-contract.backend.utils.d.ts.map +1 -1
  246. package/dist/esm/compliance/audit-trails/utils/audit-actor.backend.utils.d.ts.map +1 -1
  247. package/dist/esm/compliance/audit-trails/utils/layer2-audit-provider-boot-diagnostic.backend.utils.d.ts.map +1 -1
  248. package/dist/esm/compliance/index.d.ts.map +1 -1
  249. package/dist/esm/compliance/privacy/retention-hide-predicate.backend.d.ts.map +1 -1
  250. package/dist/esm/compliance/privacy/services/subject-erasure-external-effects.backend.service.d.ts.map +1 -1
  251. package/dist/esm/compliance/privacy/services/subject-session-revocation.backend.service.d.ts.map +1 -1
  252. package/dist/esm/config/bootstrap/application-runtime-profile.backend.d.ts +5 -0
  253. package/dist/esm/config/bootstrap/application-runtime-profile.backend.d.ts.map +1 -1
  254. package/dist/esm/config/bootstrap/application-runtime-profile.backend.js +6 -0
  255. package/dist/esm/config/bootstrap/application-runtime-profile.backend.js.map +1 -1
  256. package/dist/esm/config/bootstrap/minion-initialization-projection.backend.d.ts.map +1 -1
  257. package/dist/esm/config/bootstrap/runtime-principal-attestation.backend.service.d.ts.map +1 -1
  258. package/dist/esm/config/bootstrap/runtime-principal-attestation.backend.service.js +3 -0
  259. package/dist/esm/config/bootstrap/runtime-principal-attestation.backend.service.js.map +1 -1
  260. package/dist/esm/config/bootstrap/runtime-principal.backend.service.d.ts.map +1 -1
  261. package/dist/esm/config/custom/application-config-controller.backend.service.d.ts.map +1 -1
  262. package/dist/esm/config/models/app-config-secrets.backend.schemas.d.ts.map +1 -1
  263. package/dist/esm/config/models/app-config.backend-authored.definitions.d.ts.map +1 -1
  264. package/dist/esm/config/models/app-config.backend.schemas.d.ts +145 -49
  265. package/dist/esm/config/models/app-config.backend.schemas.d.ts.map +1 -1
  266. package/dist/esm/config/models/app-config.backend.schemas.js +121 -12
  267. package/dist/esm/config/models/app-config.backend.schemas.js.map +1 -1
  268. package/dist/esm/config/models/app-env-config.backend.schemas.d.ts.map +1 -1
  269. package/dist/esm/config/models/apps-manager-transport.backend.definitions.d.ts +36 -0
  270. package/dist/esm/config/models/apps-manager-transport.backend.definitions.d.ts.map +1 -0
  271. package/dist/esm/config/models/apps-manager-transport.backend.definitions.js +36 -0
  272. package/dist/esm/config/models/apps-manager-transport.backend.definitions.js.map +1 -0
  273. package/dist/esm/config/models/config-mutation-boundary.utils.d.ts.map +1 -1
  274. package/dist/esm/config/models/postgresql-env-config.backend.schemas.d.ts.map +1 -1
  275. package/dist/esm/config/models/provider-runtime-artifact.backend.schemas.d.ts +38 -15
  276. package/dist/esm/config/models/provider-runtime-artifact.backend.schemas.d.ts.map +1 -1
  277. package/dist/esm/config/models/provider-runtime-artifact.backend.schemas.js +17 -2
  278. package/dist/esm/config/models/provider-runtime-artifact.backend.schemas.js.map +1 -1
  279. package/dist/esm/config/models/runtime-topology.backend.contracts.d.ts.map +1 -1
  280. package/dist/esm/config/services/__tests__/mock-app-configuration.service.d.ts.map +1 -1
  281. package/dist/esm/config/services/app-configuration-loader.backend.service.d.ts +0 -1
  282. package/dist/esm/config/services/app-configuration-loader.backend.service.d.ts.map +1 -1
  283. package/dist/esm/config/services/app-configuration-loader.backend.service.js +71 -76
  284. package/dist/esm/config/services/app-configuration-loader.backend.service.js.map +1 -1
  285. package/dist/esm/config/services/app-configuration.backend.service.d.ts.map +1 -1
  286. package/dist/esm/config/services/app-configuration.backend.service.js +23 -1
  287. package/dist/esm/config/services/app-configuration.backend.service.js.map +1 -1
  288. package/dist/esm/config/services/app-configuration.backend.utils.d.ts +33 -0
  289. package/dist/esm/config/services/app-configuration.backend.utils.d.ts.map +1 -1
  290. package/dist/esm/config/services/app-configuration.backend.utils.js +39 -1
  291. package/dist/esm/config/services/app-configuration.backend.utils.js.map +1 -1
  292. package/dist/esm/config/services/application-startup-config-validator.backend.service.d.ts +37 -0
  293. package/dist/esm/config/services/application-startup-config-validator.backend.service.d.ts.map +1 -1
  294. package/dist/esm/config/services/application-startup-config-validator.backend.service.js +69 -1
  295. package/dist/esm/config/services/application-startup-config-validator.backend.service.js.map +1 -1
  296. package/dist/esm/data-seeding/batches/data-seeding-run-cleanup.batch.backend.service.d.ts.map +1 -1
  297. package/dist/esm/data-seeding/batches/data-seeding-scheduled-rerun.batch.backend.service.d.ts.map +1 -1
  298. package/dist/esm/data-seeding/controllers/data-seeding-admin.backend.contracts.d.ts.map +1 -1
  299. package/dist/esm/data-seeding/controllers/data-seeding-admin.backend.controller.d.ts.map +1 -1
  300. package/dist/esm/data-seeding/data-seeding-models.d.ts.map +1 -1
  301. package/dist/esm/data-seeding/models/business-key-resolver.shared.utils.d.ts.map +1 -1
  302. package/dist/esm/data-seeding/models/data-seed-execution-context.shared.types.d.ts.map +1 -1
  303. package/dist/esm/data-seeding/models/data-seed-migrator-runner.shared.utils.d.ts.map +1 -1
  304. package/dist/esm/data-seeding/models/data-seed-reconciler.shared.utils.d.ts.map +1 -1
  305. package/dist/esm/data-seeding/models/data-seed-row-metadata.shared.schemas.d.ts.map +1 -1
  306. package/dist/esm/data-seeding/models/data-seed-row-metadata.shared.utils.d.ts.map +1 -1
  307. package/dist/esm/data-seeding/models/data-seed-run.shared.resources-config.schemas.d.ts.map +1 -1
  308. package/dist/esm/data-seeding/models/data-seed-run.shared.schemas.d.ts.map +1 -1
  309. package/dist/esm/data-seeding/models/data-seed-trigger-mode-matrix.shared.utils.d.ts.map +1 -1
  310. package/dist/esm/data-seeding/models/data-seed.shared.schemas.d.ts.map +1 -1
  311. package/dist/esm/data-seeding/services/data-seed-application-bootstrap.backend.d.ts.map +1 -1
  312. package/dist/esm/data-seeding/services/data-seed-dispatcher.backend.service.d.ts.map +1 -1
  313. package/dist/esm/data-seeding/services/data-seed-registry.backend.service.d.ts.map +1 -1
  314. package/dist/esm/data-seeding/services/data-seed-scope-resolver-registry.backend.service.d.ts.map +1 -1
  315. package/dist/esm/data-seeding/services/engines/additive-seed-engine.backend.service.d.ts.map +1 -1
  316. package/dist/esm/data-seeding/services/engines/lazy-seed-engine.backend.service.d.ts.map +1 -1
  317. package/dist/esm/data-seeding/services/engines/manual-seed-engine.backend.service.d.ts.map +1 -1
  318. package/dist/esm/data-seeding/services/engines/sync-seed-engine.backend.service.d.ts.map +1 -1
  319. package/dist/esm/data-seeding/services/engines/upgrade-seed-engine.backend.service.d.ts.map +1 -1
  320. package/dist/esm/data-seeding/services/shared/data-seed-business-key.shared.utils.d.ts.map +1 -1
  321. package/dist/esm/data-seeding/services/shared/data-seed-error.shared.utils.d.ts.map +1 -1
  322. package/dist/esm/data-seeding/services/shared/data-seed-run-counters.shared.types.d.ts.map +1 -1
  323. package/dist/esm/data-seeding/services/shared/data-seed-run-ledger.backend.d.ts.map +1 -1
  324. package/dist/esm/data-seeding/services/shared/data-seed-scope-anchor.shared.types.d.ts.map +1 -1
  325. package/dist/esm/data-seeding/services/shared/data-seed-scope-iteration.shared.utils.d.ts.map +1 -1
  326. package/dist/esm/data-seeding/services/shared/data-seed-scope-resolution.backend.d.ts.map +1 -1
  327. package/dist/esm/databases/models/aggregation.backend.schemas.d.ts.map +1 -1
  328. package/dist/esm/databases/models/databases.backend.schemas.d.ts.map +1 -1
  329. package/dist/esm/databases/models/filter.backend.schemas.d.ts.map +1 -1
  330. package/dist/esm/databases/models/resolve-persistence-adapter.backend.utils.d.ts.map +1 -1
  331. package/dist/esm/databases/models/sql.backend.schemas.d.ts.map +1 -1
  332. package/dist/esm/databases/models/transaction.shared.schemas.d.ts.map +1 -1
  333. package/dist/esm/databases/services/__tests__/mock-mongo-transaction-registry.service.d.ts.map +1 -1
  334. package/dist/esm/databases/services/__tests__/mock-mongodb.service.d.ts.map +1 -1
  335. package/dist/esm/databases/services/__tests__/mock-mongoose-model.service.d.ts.map +1 -1
  336. package/dist/esm/databases/services/__tests__/mock-redis.service.d.ts.map +1 -1
  337. package/dist/esm/databases/services/__tests__/mock-zod-mongoose-schema-convertor.service.d.ts.map +1 -1
  338. package/dist/esm/databases/services/aggregation/aggregation-authorization.backend.service.d.ts.map +1 -1
  339. package/dist/esm/databases/services/aggregation/aggregation-query.backend.service.d.ts.map +1 -1
  340. package/dist/esm/databases/services/aggregation/computed-measure-evaluator.backend.service.d.ts.map +1 -1
  341. package/dist/esm/databases/services/aggregation/field-access-validator.backend.service.d.ts.map +1 -1
  342. package/dist/esm/databases/services/aggregation/time-series-densifier.backend.service.d.ts.map +1 -1
  343. package/dist/esm/databases/services/aggregation/topn-processor.backend.service.d.ts.map +1 -1
  344. package/dist/esm/databases/services/aggregation/window-function-processor.backend.service.d.ts.map +1 -1
  345. package/dist/esm/databases/services/db-utils.d.ts.map +1 -1
  346. package/dist/esm/databases/services/mongo-aggregation.backend.service.d.ts.map +1 -1
  347. package/dist/esm/databases/services/mongodb.service.d.ts.map +1 -1
  348. package/dist/esm/databases/services/postgresql-aggregation.backend.service.d.ts.map +1 -1
  349. package/dist/esm/databases/services/postgresql-database.backend.service.d.ts.map +1 -1
  350. package/dist/esm/databases/services/postgresql-development-provisioning.backend.d.ts.map +1 -1
  351. package/dist/esm/databases/services/postgresql-filter.backend.service.d.ts.map +1 -1
  352. package/dist/esm/databases/services/postgresql-migration-runner.backend.d.ts.map +1 -1
  353. package/dist/esm/databases/services/postgresql-schema-ddl.backend.d.ts.map +1 -1
  354. package/dist/esm/databases/services/postgresql-schema-migration-sql.backend.d.ts.map +1 -1
  355. package/dist/esm/databases/services/postgresql-schema-plan-diff.backend.d.ts.map +1 -1
  356. package/dist/esm/databases/services/postgresql-schema-plan-diff.backend.js +48 -0
  357. package/dist/esm/databases/services/postgresql-schema-plan-diff.backend.js.map +1 -1
  358. package/dist/esm/databases/services/postgresql-schema-plan-lockfile.backend.d.ts.map +1 -1
  359. package/dist/esm/databases/services/redis.service.d.ts.map +1 -1
  360. package/dist/esm/databases/services/resource-persistence-unit-of-work.backend.service.d.ts.map +1 -1
  361. package/dist/esm/databases/services/schema-planning-standalone.backend.d.ts.map +1 -1
  362. package/dist/esm/databases/services/zod-to-mongoose-schema-convertor.backend.service.d.ts.map +1 -1
  363. package/dist/esm/databases/services/zod-to-sql-hybrid-schema.planner.d.ts.map +1 -1
  364. package/dist/esm/databases/utils/postgresql-identifier.backend.utils.d.ts.map +1 -1
  365. package/dist/esm/errors/services/__tests__/mock-error-builder.service.d.ts.map +1 -1
  366. package/dist/esm/errors/services/error-builder.backend.service.d.ts +13 -1
  367. package/dist/esm/errors/services/error-builder.backend.service.d.ts.map +1 -1
  368. package/dist/esm/errors/services/error-builder.backend.service.js +13 -1
  369. package/dist/esm/errors/services/error-builder.backend.service.js.map +1 -1
  370. package/dist/esm/errors/services/error-handler.backend.service.d.ts +70 -7
  371. package/dist/esm/errors/services/error-handler.backend.service.d.ts.map +1 -1
  372. package/dist/esm/errors/services/error-handler.backend.service.js +129 -8
  373. package/dist/esm/errors/services/error-handler.backend.service.js.map +1 -1
  374. package/dist/esm/errors/services/rate-limit.backend.service.d.ts +66 -0
  375. package/dist/esm/errors/services/rate-limit.backend.service.d.ts.map +1 -1
  376. package/dist/esm/errors/services/rate-limit.backend.service.js +102 -25
  377. package/dist/esm/errors/services/rate-limit.backend.service.js.map +1 -1
  378. package/dist/esm/errors/utils/error-log-level-classification.backend.utils.d.ts +5 -0
  379. package/dist/esm/errors/utils/error-log-level-classification.backend.utils.d.ts.map +1 -1
  380. package/dist/esm/errors/utils/error-log-level-classification.backend.utils.js +25 -0
  381. package/dist/esm/errors/utils/error-log-level-classification.backend.utils.js.map +1 -1
  382. package/dist/esm/errors/utils/rate-limit-environment-relaxation.backend.utils.d.ts +33 -0
  383. package/dist/esm/errors/utils/rate-limit-environment-relaxation.backend.utils.d.ts.map +1 -1
  384. package/dist/esm/errors/utils/rate-limit-environment-relaxation.backend.utils.js +40 -0
  385. package/dist/esm/errors/utils/rate-limit-environment-relaxation.backend.utils.js.map +1 -1
  386. package/dist/esm/external-data/batches/external-data-pipeline-scheduled-run.batch.backend.service.d.ts.map +1 -1
  387. package/dist/esm/external-data/controllers/external-data-admin.backend.contracts.d.ts.map +1 -1
  388. package/dist/esm/external-data/controllers/external-data-admin.backend.controller.d.ts.map +1 -1
  389. package/dist/esm/external-data/external-data-extraction-source.backend.d.ts.map +1 -1
  390. package/dist/esm/external-data/external-data-models.exports.d.ts.map +1 -1
  391. package/dist/esm/external-data/external-data-pipeline-run.backend.service.d.ts +59 -2
  392. package/dist/esm/external-data/external-data-pipeline-run.backend.service.d.ts.map +1 -1
  393. package/dist/esm/external-data/external-data-pipeline-run.backend.service.js +52 -17
  394. package/dist/esm/external-data/external-data-pipeline-run.backend.service.js.map +1 -1
  395. package/dist/esm/external-data/external-data-transform.backend.d.ts.map +1 -1
  396. package/dist/esm/external-data/models/external-data-pipeline-state.backend.schemas.d.ts.map +1 -1
  397. package/dist/esm/external-providers/models/external-providers.backend.schemas.d.ts.map +1 -1
  398. package/dist/esm/external-providers/models/provider-selection-resolution-evidence.backend.definitions.d.ts +4 -2
  399. package/dist/esm/external-providers/models/provider-selection-resolution-evidence.backend.definitions.d.ts.map +1 -1
  400. package/dist/esm/external-providers/models/provider-selection-resolution-evidence.backend.definitions.js.map +1 -1
  401. package/dist/esm/external-providers/operations/provider-operation-executor.backend.service.d.ts +306 -0
  402. package/dist/esm/external-providers/operations/provider-operation-executor.backend.service.d.ts.map +1 -0
  403. package/dist/esm/external-providers/operations/provider-operation-executor.backend.service.js +379 -0
  404. package/dist/esm/external-providers/operations/provider-operation-executor.backend.service.js.map +1 -0
  405. package/dist/esm/external-providers/operations/provider-operation-request.backend.d.ts +56 -0
  406. package/dist/esm/external-providers/operations/provider-operation-request.backend.d.ts.map +1 -0
  407. package/dist/esm/external-providers/operations/provider-operation-request.backend.js +211 -0
  408. package/dist/esm/external-providers/operations/provider-operation-request.backend.js.map +1 -0
  409. package/dist/esm/external-providers/operations/provider-request-signing.backend.d.ts +45 -0
  410. package/dist/esm/external-providers/operations/provider-request-signing.backend.d.ts.map +1 -0
  411. package/dist/esm/external-providers/operations/provider-request-signing.backend.js +235 -0
  412. package/dist/esm/external-providers/operations/provider-request-signing.backend.js.map +1 -0
  413. package/dist/esm/external-providers/operations/provider-rest-call-client.backend.d.ts +56 -0
  414. package/dist/esm/external-providers/operations/provider-rest-call-client.backend.d.ts.map +1 -0
  415. package/dist/esm/external-providers/operations/provider-rest-call-client.backend.js +78 -0
  416. package/dist/esm/external-providers/operations/provider-rest-call-client.backend.js.map +1 -0
  417. package/dist/esm/external-providers/services/__tests__/mock-external-providers-registry.service.d.ts +1 -1
  418. package/dist/esm/external-providers/services/__tests__/mock-external-providers-registry.service.d.ts.map +1 -1
  419. package/dist/esm/external-providers/services/__tests__/mock-external-providers-registry.service.js +2 -2
  420. package/dist/esm/external-providers/services/__tests__/mock-external-providers-registry.service.js.map +1 -1
  421. package/dist/esm/external-providers/services/backend-provider-loader.backend.service.d.ts +89 -0
  422. package/dist/esm/external-providers/services/backend-provider-loader.backend.service.d.ts.map +1 -0
  423. package/dist/esm/external-providers/services/backend-provider-loader.backend.service.js +164 -0
  424. package/dist/esm/external-providers/services/backend-provider-loader.backend.service.js.map +1 -0
  425. package/dist/esm/external-providers/services/backend-provider-registry.backend.service.d.ts +26 -27
  426. package/dist/esm/external-providers/services/backend-provider-registry.backend.service.d.ts.map +1 -1
  427. package/dist/esm/external-providers/services/backend-provider-registry.backend.service.js +50 -64
  428. package/dist/esm/external-providers/services/backend-provider-registry.backend.service.js.map +1 -1
  429. package/dist/esm/external-providers/services/document-extraction.backend.service.d.ts +81 -34
  430. package/dist/esm/external-providers/services/document-extraction.backend.service.d.ts.map +1 -1
  431. package/dist/esm/external-providers/services/document-extraction.backend.service.js +181 -100
  432. package/dist/esm/external-providers/services/document-extraction.backend.service.js.map +1 -1
  433. package/dist/esm/external-providers/services/embeddings.backend.service.d.ts.map +1 -1
  434. package/dist/esm/external-providers/services/embeddings.backend.service.js +4 -4
  435. package/dist/esm/external-providers/services/embeddings.backend.service.js.map +1 -1
  436. package/dist/esm/external-providers/services/external-api-handler.backend.service.d.ts.map +1 -1
  437. package/dist/esm/external-providers/services/external-providers-registry.backend.service.d.ts +413 -7
  438. package/dist/esm/external-providers/services/external-providers-registry.backend.service.d.ts.map +1 -1
  439. package/dist/esm/external-providers/services/external-providers-registry.backend.service.js +684 -45
  440. package/dist/esm/external-providers/services/external-providers-registry.backend.service.js.map +1 -1
  441. package/dist/esm/external-providers/services/frontend-bootstrap.backend.service.d.ts +15 -1
  442. package/dist/esm/external-providers/services/frontend-bootstrap.backend.service.d.ts.map +1 -1
  443. package/dist/esm/external-providers/services/frontend-bootstrap.backend.service.js +84 -5
  444. package/dist/esm/external-providers/services/frontend-bootstrap.backend.service.js.map +1 -1
  445. package/dist/esm/features/controllers/features.backend.controller.d.ts.map +1 -1
  446. package/dist/esm/features/services/__tests__/mock-feature-definition-registry.service.d.ts.map +1 -1
  447. package/dist/esm/features/services/__tests__/mock-feature-resolution.service.d.ts.map +1 -1
  448. package/dist/esm/features/services/application-features-admin-write-path.custom-impl.backend.service.d.ts.map +1 -1
  449. package/dist/esm/features/services/feature-definition-registry.backend.service.d.ts.map +1 -1
  450. package/dist/esm/features/services/feature-gate.backend.service.d.ts.map +1 -1
  451. package/dist/esm/features/services/feature-resolution.backend.service.d.ts.map +1 -1
  452. package/dist/esm/features/services/organization-features-admin-write-path.custom-impl.backend.service.d.ts.map +1 -1
  453. package/dist/esm/features/services/scope-feature-ledger-relationship.backend.utils.d.ts.map +1 -1
  454. package/dist/esm/features/services/scope-features-cache-invalidation.custom-impl.backend.service.d.ts.map +1 -1
  455. package/dist/esm/features/testing/feature-test-utils.d.ts.map +1 -1
  456. package/dist/esm/files/batches/files-cleanup.batch.backend.service.d.ts.map +1 -1
  457. package/dist/esm/files/constraints/file-analyzers.types.d.ts.map +1 -1
  458. package/dist/esm/files/constraints/file-constraint-resolver-chain.backend.service.d.ts.map +1 -1
  459. package/dist/esm/files/constraints/file-constraint.types.d.ts.map +1 -1
  460. package/dist/esm/files/constraints/file-validation.backend.service.d.ts.map +1 -1
  461. package/dist/esm/files/constraints/resource-field-constraint-resolver.backend.service.d.ts.map +1 -1
  462. package/dist/esm/files/controllers/file.controller.d.ts.map +1 -1
  463. package/dist/esm/files/controllers/file.controller.js +21 -13
  464. package/dist/esm/files/controllers/file.controller.js.map +1 -1
  465. package/dist/esm/files/handlers/file-upload-route-locals.backend.types.d.ts.map +1 -1
  466. package/dist/esm/files/handlers/file-upload-route-locals.backend.types.js.map +1 -1
  467. package/dist/esm/files/handlers/resource-file-upload-handler.backend.service.d.ts +37 -0
  468. package/dist/esm/files/handlers/resource-file-upload-handler.backend.service.d.ts.map +1 -1
  469. package/dist/esm/files/handlers/resource-file-upload-handler.backend.service.js +260 -36
  470. package/dist/esm/files/handlers/resource-file-upload-handler.backend.service.js.map +1 -1
  471. package/dist/esm/files/scanning/clamav-scanner.backend.service.d.ts.map +1 -1
  472. package/dist/esm/files/scanning/file-scan.types.d.ts.map +1 -1
  473. package/dist/esm/files/scanning/yara-scanner.backend.service.d.ts.map +1 -1
  474. package/dist/esm/files/scanning/yara-scanner.backend.service.js +20 -2
  475. package/dist/esm/files/scanning/yara-scanner.backend.service.js.map +1 -1
  476. package/dist/esm/files/services/__tests__/mock-file-field-detection.service.d.ts.map +1 -1
  477. package/dist/esm/files/services/__tests__/mock-file-operation-handler.service.d.ts.map +1 -1
  478. package/dist/esm/files/services/__tests__/mock-file-repository.service.d.ts.map +1 -1
  479. package/dist/esm/files/services/file-field-detection.backend.service.d.ts.map +1 -1
  480. package/dist/esm/files/services/file-operation-handler.backend.service.d.ts.map +1 -1
  481. package/dist/esm/files/services/file-operation-handler.backend.service.js.map +1 -1
  482. package/dist/esm/files/services/file-population.backend.service.d.ts.map +1 -1
  483. package/dist/esm/files/services/file-scanning.backend.service.d.ts +94 -9
  484. package/dist/esm/files/services/file-scanning.backend.service.d.ts.map +1 -1
  485. package/dist/esm/files/services/file-scanning.backend.service.js +202 -17
  486. package/dist/esm/files/services/file-scanning.backend.service.js.map +1 -1
  487. package/dist/esm/files/services/file-text-extraction.backend.service.d.ts +60 -1
  488. package/dist/esm/files/services/file-text-extraction.backend.service.d.ts.map +1 -1
  489. package/dist/esm/files/services/file-text-extraction.backend.service.js +175 -13
  490. package/dist/esm/files/services/file-text-extraction.backend.service.js.map +1 -1
  491. package/dist/esm/files/services/file-upload-grant.backend.service.d.ts +53 -2
  492. package/dist/esm/files/services/file-upload-grant.backend.service.d.ts.map +1 -1
  493. package/dist/esm/files/services/file-upload-grant.backend.service.js +127 -3
  494. package/dist/esm/files/services/file-upload-grant.backend.service.js.map +1 -1
  495. package/dist/esm/files/services/files.backend.service.d.ts +68 -0
  496. package/dist/esm/files/services/files.backend.service.d.ts.map +1 -1
  497. package/dist/esm/files/services/files.backend.service.js +177 -5
  498. package/dist/esm/files/services/files.backend.service.js.map +1 -1
  499. package/dist/esm/files/services/rag-source-field-detection.backend.service.d.ts.map +1 -1
  500. package/dist/esm/files/storage/application-storage-key.backend.utils.d.ts +109 -0
  501. package/dist/esm/files/storage/application-storage-key.backend.utils.d.ts.map +1 -0
  502. package/dist/esm/files/storage/application-storage-key.backend.utils.js +123 -0
  503. package/dist/esm/files/storage/application-storage-key.backend.utils.js.map +1 -0
  504. package/dist/esm/files/storage/file-storage-path-resolver.backend.service.d.ts.map +1 -1
  505. package/dist/esm/files/storage/file-storage-provider.types.d.ts +52 -11
  506. package/dist/esm/files/storage/file-storage-provider.types.d.ts.map +1 -1
  507. package/dist/esm/files/storage/file-storage-provider.types.js.map +1 -1
  508. package/dist/esm/files/storage/file-storage-router.backend.service.d.ts +21 -3
  509. package/dist/esm/files/storage/file-storage-router.backend.service.d.ts.map +1 -1
  510. package/dist/esm/files/storage/file-storage-router.backend.service.js +38 -5
  511. package/dist/esm/files/storage/file-storage-router.backend.service.js.map +1 -1
  512. package/dist/esm/files/storage/google-drive-storage-provider.backend.service.d.ts +87 -0
  513. package/dist/esm/files/storage/google-drive-storage-provider.backend.service.d.ts.map +1 -0
  514. package/dist/esm/files/storage/google-drive-storage-provider.backend.service.js +340 -0
  515. package/dist/esm/files/storage/google-drive-storage-provider.backend.service.js.map +1 -0
  516. package/dist/esm/files/storage/local-directory-storage-provider.backend.service.d.ts +67 -8
  517. package/dist/esm/files/storage/local-directory-storage-provider.backend.service.d.ts.map +1 -1
  518. package/dist/esm/files/storage/local-directory-storage-provider.backend.service.js +101 -28
  519. package/dist/esm/files/storage/local-directory-storage-provider.backend.service.js.map +1 -1
  520. package/dist/esm/files/storage/storage-credential-provider.backend.utils.d.ts.map +1 -1
  521. package/dist/esm/files/storage/storage-platform-sts-credential-resolver.backend.utils.d.ts.map +1 -1
  522. package/dist/esm/files/storage/storage-sts-credential-resolver.backend.utils.d.ts.map +1 -1
  523. package/dist/esm/files/storage/storage-sts-credential-resolver.backend.utils.js +10 -3
  524. package/dist/esm/files/storage/storage-sts-credential-resolver.backend.utils.js.map +1 -1
  525. package/dist/esm/files/storage/wildo-managed-storage-provider.backend.service.d.ts.map +1 -1
  526. package/dist/esm/files/storage/wildo-managed-storage-provider.backend.service.js +8 -55
  527. package/dist/esm/files/storage/wildo-managed-storage-provider.backend.service.js.map +1 -1
  528. package/dist/esm/files/utils/file-field-schema-path.backend.utils.d.ts.map +1 -1
  529. package/dist/esm/files/utils/file-field-schema-path.backend.utils.js +20 -0
  530. package/dist/esm/files/utils/file-field-schema-path.backend.utils.js.map +1 -1
  531. package/dist/esm/files/utils/file-upload.utils.d.ts.map +1 -1
  532. package/dist/esm/files/utils/file-uploader.utils.d.ts.map +1 -1
  533. package/dist/esm/files/utils/file-uploader.utils.js.map +1 -1
  534. package/dist/esm/files/utils/file-validation.utils.d.ts.map +1 -1
  535. package/dist/esm/files/utils/image-derivation.backend.utils.d.ts.map +1 -1
  536. package/dist/esm/files/utils/image-thumbnail.backend.utils.d.ts.map +1 -1
  537. package/dist/esm/files/utils/office-document-text-extraction.backend.utils.d.ts +86 -0
  538. package/dist/esm/files/utils/office-document-text-extraction.backend.utils.d.ts.map +1 -0
  539. package/dist/esm/files/utils/office-document-text-extraction.backend.utils.js +288 -0
  540. package/dist/esm/files/utils/office-document-text-extraction.backend.utils.js.map +1 -0
  541. package/dist/esm/files/utils/rag-source-field-schema-path.backend.utils.d.ts.map +1 -1
  542. package/dist/esm/files/utils/storage-application-identity.backend.utils.d.ts.map +1 -1
  543. package/dist/esm/flows-actors/a2a/batches/a2a-abandoned-task-sweep.batch.backend.service.d.ts +15 -0
  544. package/dist/esm/flows-actors/a2a/batches/a2a-abandoned-task-sweep.batch.backend.service.d.ts.map +1 -1
  545. package/dist/esm/flows-actors/a2a/batches/a2a-abandoned-task-sweep.batch.backend.service.js +76 -5
  546. package/dist/esm/flows-actors/a2a/batches/a2a-abandoned-task-sweep.batch.backend.service.js.map +1 -1
  547. package/dist/esm/flows-actors/a2a/batches/a2a-push-delivery.batch.backend.service.d.ts.map +1 -1
  548. package/dist/esm/flows-actors/a2a/controllers/a2a.controller.d.ts.map +1 -1
  549. package/dist/esm/flows-actors/a2a/controllers/a2a.controller.js +6 -1
  550. package/dist/esm/flows-actors/a2a/controllers/a2a.controller.js.map +1 -1
  551. package/dist/esm/flows-actors/a2a/models/a2a-dialect.backend.schemas.d.ts.map +1 -1
  552. package/dist/esm/flows-actors/a2a/models/a2a-push-notification-delivery.backend.utils.d.ts.map +1 -1
  553. package/dist/esm/flows-actors/a2a/models/a2a-push-notification.backend.schemas.d.ts.map +1 -1
  554. package/dist/esm/flows-actors/a2a/models/a2a.backend.schemas.d.ts +60 -0
  555. package/dist/esm/flows-actors/a2a/models/a2a.backend.schemas.d.ts.map +1 -1
  556. package/dist/esm/flows-actors/a2a/models/a2a.backend.schemas.js +63 -0
  557. package/dist/esm/flows-actors/a2a/models/a2a.backend.schemas.js.map +1 -1
  558. package/dist/esm/flows-actors/a2a/services/a2a-push-delivery-log.repository.d.ts.map +1 -1
  559. package/dist/esm/flows-actors/a2a/services/a2a-push-dispatcher.backend.service.d.ts.map +1 -1
  560. package/dist/esm/flows-actors/a2a/services/a2a-task-cancellation.backend.service.d.ts +74 -0
  561. package/dist/esm/flows-actors/a2a/services/a2a-task-cancellation.backend.service.d.ts.map +1 -1
  562. package/dist/esm/flows-actors/a2a/services/a2a-task-cancellation.backend.service.js +196 -40
  563. package/dist/esm/flows-actors/a2a/services/a2a-task-cancellation.backend.service.js.map +1 -1
  564. package/dist/esm/flows-actors/a2a/services/a2a-task.backend.service.d.ts +7 -1
  565. package/dist/esm/flows-actors/a2a/services/a2a-task.backend.service.d.ts.map +1 -1
  566. package/dist/esm/flows-actors/a2a/services/a2a-task.backend.service.js +53 -1
  567. package/dist/esm/flows-actors/a2a/services/a2a-task.backend.service.js.map +1 -1
  568. package/dist/esm/flows-actors/a2a/services/a2a-token-budget.backend.service.d.ts +18 -0
  569. package/dist/esm/flows-actors/a2a/services/a2a-token-budget.backend.service.d.ts.map +1 -1
  570. package/dist/esm/flows-actors/a2a/services/a2a-token-budget.backend.service.js +18 -0
  571. package/dist/esm/flows-actors/a2a/services/a2a-token-budget.backend.service.js.map +1 -1
  572. package/dist/esm/flows-actors/a2a/services/a2a.backend.service.d.ts +12 -7
  573. package/dist/esm/flows-actors/a2a/services/a2a.backend.service.d.ts.map +1 -1
  574. package/dist/esm/flows-actors/a2a/services/a2a.backend.service.js.map +1 -1
  575. package/dist/esm/flows-actors/controllers/flows-actors.controller.d.ts.map +1 -1
  576. package/dist/esm/flows-actors/models/agent-catalogs.backend.definitions.d.ts +0 -13
  577. package/dist/esm/flows-actors/models/agent-catalogs.backend.definitions.d.ts.map +1 -1
  578. package/dist/esm/flows-actors/models/agent-catalogs.backend.definitions.js +14 -22
  579. package/dist/esm/flows-actors/models/agent-catalogs.backend.definitions.js.map +1 -1
  580. package/dist/esm/flows-actors/models/agent-facets.backend.definitions.d.ts.map +1 -1
  581. package/dist/esm/flows-actors/models/agents.backend.definitions.d.ts.map +1 -1
  582. package/dist/esm/flows-actors/models/core-facets.backend.definitions.d.ts +8 -3
  583. package/dist/esm/flows-actors/models/core-facets.backend.definitions.d.ts.map +1 -1
  584. package/dist/esm/flows-actors/models/core-facets.backend.definitions.js +25 -15
  585. package/dist/esm/flows-actors/models/core-facets.backend.definitions.js.map +1 -1
  586. package/dist/esm/flows-actors/models/flows-actors.backend.definitions.d.ts.map +1 -1
  587. package/dist/esm/flows-actors/models/flows-actors.backend.schemas.d.ts +13 -1
  588. package/dist/esm/flows-actors/models/flows-actors.backend.schemas.d.ts.map +1 -1
  589. package/dist/esm/flows-actors/models/flows-actors.backend.schemas.js.map +1 -1
  590. package/dist/esm/flows-actors/models/function-tools.backend.definitions.d.ts +179 -8
  591. package/dist/esm/flows-actors/models/function-tools.backend.definitions.d.ts.map +1 -1
  592. package/dist/esm/flows-actors/models/function-tools.backend.definitions.js +436 -34
  593. package/dist/esm/flows-actors/models/function-tools.backend.definitions.js.map +1 -1
  594. package/dist/esm/flows-actors/models/market-generation.actors-system.backend.definitions.d.ts.map +1 -1
  595. package/dist/esm/flows-actors/models/market-generation.actors-system.backend.definitions.js +4 -2
  596. package/dist/esm/flows-actors/models/market-generation.actors-system.backend.definitions.js.map +1 -1
  597. package/dist/esm/flows-actors/models/mcp-client.backend.definitions.d.ts +113 -0
  598. package/dist/esm/flows-actors/models/mcp-client.backend.definitions.d.ts.map +1 -0
  599. package/dist/esm/flows-actors/models/mcp-client.backend.definitions.js +62 -0
  600. package/dist/esm/flows-actors/models/mcp-client.backend.definitions.js.map +1 -0
  601. package/dist/esm/flows-actors/services/__tests__/fixtures/meta-workflow-evaluation-treatment.test-fixture.d.ts.map +1 -1
  602. package/dist/esm/flows-actors/services/actors-system.backend.service.d.ts.map +1 -1
  603. package/dist/esm/flows-actors/services/actors-system.backend.service.js +0 -2
  604. package/dist/esm/flows-actors/services/actors-system.backend.service.js.map +1 -1
  605. package/dist/esm/flows-actors/services/agent-call-trace-sink.backend.d.ts.map +1 -1
  606. package/dist/esm/flows-actors/services/agent-facets.backend.service.d.ts.map +1 -1
  607. package/dist/esm/flows-actors/services/agents.backend.service.d.ts +132 -6
  608. package/dist/esm/flows-actors/services/agents.backend.service.d.ts.map +1 -1
  609. package/dist/esm/flows-actors/services/agents.backend.service.js +467 -49
  610. package/dist/esm/flows-actors/services/agents.backend.service.js.map +1 -1
  611. package/dist/esm/flows-actors/services/context-curation.backend.service.d.ts.map +1 -1
  612. package/dist/esm/flows-actors/services/conversational-execution.backend.service.d.ts +50 -1
  613. package/dist/esm/flows-actors/services/conversational-execution.backend.service.d.ts.map +1 -1
  614. package/dist/esm/flows-actors/services/conversational-execution.backend.service.js +270 -20
  615. package/dist/esm/flows-actors/services/conversational-execution.backend.service.js.map +1 -1
  616. package/dist/esm/flows-actors/services/flows-actors-registry.service.d.ts +34 -5
  617. package/dist/esm/flows-actors/services/flows-actors-registry.service.d.ts.map +1 -1
  618. package/dist/esm/flows-actors/services/flows-actors-registry.service.js +154 -20
  619. package/dist/esm/flows-actors/services/flows-actors-registry.service.js.map +1 -1
  620. package/dist/esm/flows-actors/services/flows.backend.services.d.ts.map +1 -1
  621. package/dist/esm/flows-actors/services/flows.backend.services.js +27 -23
  622. package/dist/esm/flows-actors/services/flows.backend.services.js.map +1 -1
  623. package/dist/esm/flows-actors/services/llm-observability-agent-call-trace-sink.backend.d.ts.map +1 -1
  624. package/dist/esm/flows-actors/services/llm-observability-agent-call-trace-sink.backend.js +7 -1
  625. package/dist/esm/flows-actors/services/llm-observability-agent-call-trace-sink.backend.js.map +1 -1
  626. package/dist/esm/flows-actors/services/mcp-client.backend.service.d.ts +90 -0
  627. package/dist/esm/flows-actors/services/mcp-client.backend.service.d.ts.map +1 -0
  628. package/dist/esm/flows-actors/services/mcp-client.backend.service.js +371 -0
  629. package/dist/esm/flows-actors/services/mcp-client.backend.service.js.map +1 -0
  630. package/dist/esm/flows-actors/services/mcp-credential-resolver.backend.service.d.ts +99 -0
  631. package/dist/esm/flows-actors/services/mcp-credential-resolver.backend.service.d.ts.map +1 -0
  632. package/dist/esm/flows-actors/services/mcp-credential-resolver.backend.service.js +155 -0
  633. package/dist/esm/flows-actors/services/mcp-credential-resolver.backend.service.js.map +1 -0
  634. package/dist/esm/flows-actors/services/meta-workflow-evaluation-treatment-compiler.backend.service.d.ts.map +1 -1
  635. package/dist/esm/flows-actors/services/meta-workflow-standard-action-contracts.backend.service.d.ts.map +1 -1
  636. package/dist/esm/flows-actors/services/meta-workflow-standard-evaluation-contracts.backend.service.d.ts.map +1 -1
  637. package/dist/esm/flows-actors/services/meta-workflow-structured-artifact-action-compiler.backend.service.d.ts.map +1 -1
  638. package/dist/esm/flows-actors/services/prompt-compiler.backend.service.d.ts +9 -5
  639. package/dist/esm/flows-actors/services/prompt-compiler.backend.service.d.ts.map +1 -1
  640. package/dist/esm/flows-actors/services/prompt-compiler.backend.service.js +12 -17
  641. package/dist/esm/flows-actors/services/prompt-compiler.backend.service.js.map +1 -1
  642. package/dist/esm/flows-actors/utils/acp-session-runner.backend.utils.d.ts.map +1 -1
  643. package/dist/esm/flows-actors/utils/acp-session-runner.backend.utils.js +17 -4
  644. package/dist/esm/flows-actors/utils/acp-session-runner.backend.utils.js.map +1 -1
  645. package/dist/esm/flows-actors/utils/bounded-subprocess.backend.utils.d.ts.map +1 -1
  646. package/dist/esm/flows-actors/utils/flows-actors-frontend-extractor.utils.d.ts.map +1 -1
  647. package/dist/esm/flows-actors/utils/meta-workflow-canonical-json.backend.utils.d.ts +0 -207
  648. package/dist/esm/flows-actors/utils/meta-workflow-canonical-json.backend.utils.d.ts.map +1 -1
  649. package/dist/esm/flows-actors/utils/meta-workflow-canonical-json.backend.utils.js +8 -243
  650. package/dist/esm/flows-actors/utils/meta-workflow-canonical-json.backend.utils.js.map +1 -1
  651. package/dist/esm/flows-actors/utils/meta-workflow-structured-generation-plan.backend.utils.d.ts.map +1 -1
  652. package/dist/esm/flows-actors/utils/meta-workflow-structured-generation-plan.backend.utils.js.map +1 -1
  653. package/dist/esm/flows-actors/utils/prompt-ir-adapters.backend.utils.d.ts.map +1 -1
  654. package/dist/esm/flows-actors/utils/tool-approval-modification.backend.utils.d.ts +77 -0
  655. package/dist/esm/flows-actors/utils/tool-approval-modification.backend.utils.d.ts.map +1 -0
  656. package/dist/esm/flows-actors/utils/tool-approval-modification.backend.utils.js +164 -0
  657. package/dist/esm/flows-actors/utils/tool-approval-modification.backend.utils.js.map +1 -0
  658. package/dist/esm/flows-actors/utils/tool-approval-signing.backend.utils.d.ts +48 -0
  659. package/dist/esm/flows-actors/utils/tool-approval-signing.backend.utils.d.ts.map +1 -0
  660. package/dist/esm/flows-actors/utils/tool-approval-signing.backend.utils.js +101 -0
  661. package/dist/esm/flows-actors/utils/tool-approval-signing.backend.utils.js.map +1 -0
  662. package/dist/esm/guidance/batches/dormancy-detection.batch.backend.service.d.ts.map +1 -1
  663. package/dist/esm/guidance/services/guidance-trigger-evaluator.backend.service.d.ts.map +1 -1
  664. package/dist/esm/guidance/services/lifecycle-custom-implementations.backend.d.ts.map +1 -1
  665. package/dist/esm/guidance/services/lifecycle-evaluator.backend.service.d.ts.map +1 -1
  666. package/dist/esm/guidance/services/lifecycle-scope-id.backend.utils.d.ts.map +1 -1
  667. package/dist/esm/guidance/services/milestone-condition-registry.backend.service.d.ts.map +1 -1
  668. package/dist/esm/guidance/services/milestone-definition-registry.backend.service.d.ts.map +1 -1
  669. package/dist/esm/guidance/services/milestone-evaluator.backend.service.d.ts +9 -14
  670. package/dist/esm/guidance/services/milestone-evaluator.backend.service.d.ts.map +1 -1
  671. package/dist/esm/guidance/services/milestone-evaluator.backend.service.js +18 -89
  672. package/dist/esm/guidance/services/milestone-evaluator.backend.service.js.map +1 -1
  673. package/dist/esm/guidance/services/progression-state-store.backend.service.d.ts +86 -0
  674. package/dist/esm/guidance/services/progression-state-store.backend.service.d.ts.map +1 -0
  675. package/dist/esm/guidance/services/progression-state-store.backend.service.js +155 -0
  676. package/dist/esm/guidance/services/progression-state-store.backend.service.js.map +1 -0
  677. package/dist/esm/guidance/services/scoped-state-read-custom-implementations.backend.d.ts.map +1 -1
  678. package/dist/esm/i18n/controllers/i18n-controller.backend.service.d.ts +10 -0
  679. package/dist/esm/i18n/controllers/i18n-controller.backend.service.d.ts.map +1 -1
  680. package/dist/esm/i18n/controllers/i18n-controller.backend.service.js +55 -5
  681. package/dist/esm/i18n/controllers/i18n-controller.backend.service.js.map +1 -1
  682. package/dist/esm/i18n/services/i18n.backend.service.d.ts.map +1 -1
  683. package/dist/esm/index.d.ts +11 -5
  684. package/dist/esm/index.d.ts.map +1 -1
  685. package/dist/esm/index.js +31 -5
  686. package/dist/esm/index.js.map +1 -1
  687. package/dist/esm/inject/models/container.d.ts +10 -0
  688. package/dist/esm/inject/models/container.d.ts.map +1 -1
  689. package/dist/esm/inject/models/container.js +126 -10
  690. package/dist/esm/inject/models/container.js.map +1 -1
  691. package/dist/esm/inject/models/service-types.d.ts +20 -3
  692. package/dist/esm/inject/models/service-types.d.ts.map +1 -1
  693. package/dist/esm/inject/models/service-types.js +22 -3
  694. package/dist/esm/inject/models/service-types.js.map +1 -1
  695. package/dist/esm/mcp/controllers/mcp.controller.d.ts.map +1 -1
  696. package/dist/esm/mcp/controllers/mcp.controller.js +70 -3
  697. package/dist/esm/mcp/controllers/mcp.controller.js.map +1 -1
  698. package/dist/esm/mcp/models/mcp-protocol.backend.schemas.d.ts.map +1 -1
  699. package/dist/esm/mcp/models/mcp-tool.backend.schemas.d.ts.map +1 -1
  700. package/dist/esm/mcp/models/mcp-tool.backend.schemas.js.map +1 -1
  701. package/dist/esm/mcp/services/mcp-server.backend.service.d.ts +56 -1
  702. package/dist/esm/mcp/services/mcp-server.backend.service.d.ts.map +1 -1
  703. package/dist/esm/mcp/services/mcp-server.backend.service.js +107 -11
  704. package/dist/esm/mcp/services/mcp-server.backend.service.js.map +1 -1
  705. package/dist/esm/mcp/services/mcp-tool-adapter.backend.service.d.ts.map +1 -1
  706. package/dist/esm/mcp/services/mcp-tool-adapter.backend.service.js +22 -0
  707. package/dist/esm/mcp/services/mcp-tool-adapter.backend.service.js.map +1 -1
  708. package/dist/esm/mcp/services/resource-server-instances-registry.backend.service.d.ts.map +1 -1
  709. package/dist/esm/mcp/utils/zod-to-mcp-json-schema.backend.utils.d.ts.map +1 -1
  710. package/dist/esm/meta-workflow-runtime.exports.d.ts.map +1 -1
  711. package/dist/esm/monitoring/analytics/controllers/analytics.backend.controller.d.ts.map +1 -1
  712. package/dist/esm/monitoring/analytics/controllers/analytics.backend.controller.js +49 -4
  713. package/dist/esm/monitoring/analytics/controllers/analytics.backend.controller.js.map +1 -1
  714. package/dist/esm/monitoring/analytics/services/value-moment-definition-registry.backend.service.d.ts +66 -0
  715. package/dist/esm/monitoring/analytics/services/value-moment-definition-registry.backend.service.d.ts.map +1 -0
  716. package/dist/esm/monitoring/analytics/services/value-moment-definition-registry.backend.service.js +199 -0
  717. package/dist/esm/monitoring/analytics/services/value-moment-definition-registry.backend.service.js.map +1 -0
  718. package/dist/esm/monitoring/analytics/services/value-moment-engine.backend.service.d.ts +149 -13
  719. package/dist/esm/monitoring/analytics/services/value-moment-engine.backend.service.d.ts.map +1 -1
  720. package/dist/esm/monitoring/analytics/services/value-moment-engine.backend.service.js +411 -19
  721. package/dist/esm/monitoring/analytics/services/value-moment-engine.backend.service.js.map +1 -1
  722. package/dist/esm/monitoring/analytics/services/value-moment-handler-registry.backend.service.d.ts +11 -2
  723. package/dist/esm/monitoring/analytics/services/value-moment-handler-registry.backend.service.d.ts.map +1 -1
  724. package/dist/esm/monitoring/analytics/services/value-moment-handler-registry.backend.service.js.map +1 -1
  725. package/dist/esm/monitoring/logger/models/logger.backend.schemas.d.ts +28 -9
  726. package/dist/esm/monitoring/logger/models/logger.backend.schemas.d.ts.map +1 -1
  727. package/dist/esm/monitoring/logger/models/logger.backend.schemas.js +30 -10
  728. package/dist/esm/monitoring/logger/models/logger.backend.schemas.js.map +1 -1
  729. package/dist/esm/monitoring/logger/services/__tests__/mock-logger.service.d.ts.map +1 -1
  730. package/dist/esm/monitoring/logger/services/logger.service.d.ts +24 -0
  731. package/dist/esm/monitoring/logger/services/logger.service.d.ts.map +1 -1
  732. package/dist/esm/monitoring/logger/services/logger.service.js +52 -11
  733. package/dist/esm/monitoring/logger/services/logger.service.js.map +1 -1
  734. package/dist/esm/monitoring/logger/utils/log-severity-floor.backend.utils.d.ts +62 -0
  735. package/dist/esm/monitoring/logger/utils/log-severity-floor.backend.utils.d.ts.map +1 -0
  736. package/dist/esm/monitoring/logger/utils/log-severity-floor.backend.utils.js +78 -0
  737. package/dist/esm/monitoring/logger/utils/log-severity-floor.backend.utils.js.map +1 -0
  738. package/dist/esm/monitoring/logger/utils/log-value-normalization.backend.utils.d.ts.map +1 -1
  739. package/dist/esm/monitoring/observability/audit-observation-emission.backend.d.ts +313 -0
  740. package/dist/esm/monitoring/observability/audit-observation-emission.backend.d.ts.map +1 -0
  741. package/dist/esm/monitoring/observability/audit-observation-emission.backend.js +389 -0
  742. package/dist/esm/monitoring/observability/audit-observation-emission.backend.js.map +1 -0
  743. package/dist/esm/monitoring/observability/models/observability.backend.schemas.d.ts +1 -0
  744. package/dist/esm/monitoring/observability/models/observability.backend.schemas.d.ts.map +1 -1
  745. package/dist/esm/monitoring/observability/models/observability.backend.schemas.js.map +1 -1
  746. package/dist/esm/monitoring/observability/otel-preload.d.ts.map +1 -1
  747. package/dist/esm/monitoring/observability/otel-sdk-global-handle.d.ts.map +1 -1
  748. package/dist/esm/monitoring/observability/services/__tests__/mock-metrics.service.d.ts.map +1 -1
  749. package/dist/esm/monitoring/observability/services/metrics.service.d.ts +21 -0
  750. package/dist/esm/monitoring/observability/services/metrics.service.d.ts.map +1 -1
  751. package/dist/esm/monitoring/observability/services/metrics.service.js +38 -0
  752. package/dist/esm/monitoring/observability/services/metrics.service.js.map +1 -1
  753. package/dist/esm/monitoring/observability/services/observability.backend.service.d.ts.map +1 -1
  754. package/dist/esm/notifications/email/components/email-components.d.ts.map +1 -1
  755. package/dist/esm/notifications/email/models/email-template-definition.d.ts.map +1 -1
  756. package/dist/esm/notifications/email/models/email-transport.backend.definitions.d.ts.map +1 -1
  757. package/dist/esm/notifications/email/services/email-batch-send.batch.backend.service.d.ts.map +1 -1
  758. package/dist/esm/notifications/email/services/email-template-registry.backend.service.d.ts +66 -1
  759. package/dist/esm/notifications/email/services/email-template-registry.backend.service.d.ts.map +1 -1
  760. package/dist/esm/notifications/email/services/email-template-registry.backend.service.js +105 -10
  761. package/dist/esm/notifications/email/services/email-template-registry.backend.service.js.map +1 -1
  762. package/dist/esm/notifications/email/services/email-template-validator.backend.service.d.ts.map +1 -1
  763. package/dist/esm/notifications/email/services/email-template-validator.backend.service.js +10 -1
  764. package/dist/esm/notifications/email/services/email-template-validator.backend.service.js.map +1 -1
  765. package/dist/esm/notifications/email/services/email.backend.service.d.ts +102 -5
  766. package/dist/esm/notifications/email/services/email.backend.service.d.ts.map +1 -1
  767. package/dist/esm/notifications/email/services/email.backend.service.js +222 -70
  768. package/dist/esm/notifications/email/services/email.backend.service.js.map +1 -1
  769. package/dist/esm/notifications/email/utils/color-conversion.utils.d.ts +0 -1
  770. package/dist/esm/notifications/email/utils/color-conversion.utils.d.ts.map +1 -1
  771. package/dist/esm/notifications/email/utils/color-conversion.utils.js.map +1 -1
  772. package/dist/esm/notifications/email/utils/interpolate-email-label.utils.d.ts.map +1 -1
  773. package/dist/esm/notifications/email/utils/zod-to-typescript.utils.d.ts.map +1 -1
  774. package/dist/esm/notifications/services/notification-badge.backend.service.d.ts +142 -21
  775. package/dist/esm/notifications/services/notification-badge.backend.service.d.ts.map +1 -1
  776. package/dist/esm/notifications/services/notification-badge.backend.service.js +283 -58
  777. package/dist/esm/notifications/services/notification-badge.backend.service.js.map +1 -1
  778. package/dist/esm/notifications/services/notifications-dispatcher.backend.service.d.ts +99 -13
  779. package/dist/esm/notifications/services/notifications-dispatcher.backend.service.d.ts.map +1 -1
  780. package/dist/esm/notifications/services/notifications-dispatcher.backend.service.js +422 -66
  781. package/dist/esm/notifications/services/notifications-dispatcher.backend.service.js.map +1 -1
  782. package/dist/esm/notifications/sms/models/sms-transport.backend.definitions.d.ts +32 -0
  783. package/dist/esm/notifications/sms/models/sms-transport.backend.definitions.d.ts.map +1 -0
  784. package/dist/esm/notifications/sms/models/sms-transport.backend.definitions.js +32 -0
  785. package/dist/esm/notifications/sms/models/sms-transport.backend.definitions.js.map +1 -0
  786. package/dist/esm/notifications/sms/services/sms.backend.service.d.ts +64 -10
  787. package/dist/esm/notifications/sms/services/sms.backend.service.d.ts.map +1 -1
  788. package/dist/esm/notifications/sms/services/sms.backend.service.js +277 -82
  789. package/dist/esm/notifications/sms/services/sms.backend.service.js.map +1 -1
  790. package/dist/esm/notifications/webhooks/controllers/webhook-auto-controller.backend.service.d.ts +117 -5
  791. package/dist/esm/notifications/webhooks/controllers/webhook-auto-controller.backend.service.d.ts.map +1 -1
  792. package/dist/esm/notifications/webhooks/controllers/webhook-auto-controller.backend.service.js +164 -6
  793. package/dist/esm/notifications/webhooks/controllers/webhook-auto-controller.backend.service.js.map +1 -1
  794. package/dist/esm/notifications/webhooks/outbound/batches/m2m-webhook-delivery.batch.backend.service.d.ts +0 -6
  795. package/dist/esm/notifications/webhooks/outbound/batches/m2m-webhook-delivery.batch.backend.service.d.ts.map +1 -1
  796. package/dist/esm/notifications/webhooks/outbound/batches/m2m-webhook-delivery.batch.backend.service.js +46 -1
  797. package/dist/esm/notifications/webhooks/outbound/batches/m2m-webhook-delivery.batch.backend.service.js.map +1 -1
  798. package/dist/esm/notifications/webhooks/outbound/batches/m2m-webhook-delivery.batch.utils.d.ts.map +1 -1
  799. package/dist/esm/notifications/webhooks/outbound/m2m-webhook-signed-request.backend.utils.d.ts.map +1 -1
  800. package/dist/esm/notifications/webhooks/outbound/m2m-webhook-signed-request.backend.utils.js +16 -6
  801. package/dist/esm/notifications/webhooks/outbound/m2m-webhook-signed-request.backend.utils.js.map +1 -1
  802. package/dist/esm/notifications/webhooks/outbound/services/m2m-webhook-delivery-log.custom-impl.backend.service.d.ts.map +1 -1
  803. package/dist/esm/notifications/webhooks/outbound/services/m2m-webhook-delivery-log.repository.d.ts.map +1 -1
  804. package/dist/esm/notifications/webhooks/outbound/services/m2m-webhook-dispatcher.backend.service.d.ts.map +1 -1
  805. package/dist/esm/notifications/webhooks/outbound/services/webhook-config-public-key.custom-impl.backend.service.d.ts.map +1 -1
  806. package/dist/esm/notifications/webhooks/outbound/services/webhook-config-test-endpoint.custom-impl.backend.service.d.ts.map +1 -1
  807. package/dist/esm/notifications/webhooks/outbound/services/webhook-config-test-endpoint.custom-impl.backend.service.js +12 -12
  808. package/dist/esm/notifications/webhooks/outbound/services/webhook-config-test-endpoint.custom-impl.backend.service.js.map +1 -1
  809. package/dist/esm/notifications/webhooks/outbound/services/webhook-config.backend.service.d.ts.map +1 -1
  810. package/dist/esm/notifications/webhooks/services/polymorphic-lookup.backend.service.d.ts.map +1 -1
  811. package/dist/esm/notifications/webhooks/services/webhook-handler.backend.service.d.ts +16 -0
  812. package/dist/esm/notifications/webhooks/services/webhook-handler.backend.service.d.ts.map +1 -1
  813. package/dist/esm/notifications/webhooks/services/webhook-handler.backend.service.js +18 -0
  814. package/dist/esm/notifications/webhooks/services/webhook-handler.backend.service.js.map +1 -1
  815. package/dist/esm/organizations/batches/organization-member-invitation-sweep.batch.backend.service.d.ts.map +1 -1
  816. package/dist/esm/organizations/batches/organization-purge.batch.backend.service.d.ts +2 -2
  817. package/dist/esm/organizations/batches/organization-purge.batch.backend.service.d.ts.map +1 -1
  818. package/dist/esm/organizations/batches/organization-purge.batch.backend.service.js +2 -2
  819. package/dist/esm/organizations/batches/organization-purge.batch.backend.service.js.map +1 -1
  820. package/dist/esm/organizations/services/authority-change-audit.backend.utils.d.ts.map +1 -1
  821. package/dist/esm/organizations/services/invitation-acceptance.backend.utils.d.ts.map +1 -1
  822. package/dist/esm/organizations/services/org-creation-on-registration.backend.utils.d.ts.map +1 -1
  823. package/dist/esm/organizations/services/org-member-roles-validation.backend.utils.d.ts.map +1 -1
  824. package/dist/esm/organizations/services/organization-custom-implementation.backend.service.d.ts.map +1 -1
  825. package/dist/esm/organizations/services/organization-custom-implementation.backend.service.js +63 -2
  826. package/dist/esm/organizations/services/organization-custom-implementation.backend.service.js.map +1 -1
  827. package/dist/esm/organizations/services/organization-deletion-audit.custom-impl.backend.service.d.ts.map +1 -1
  828. package/dist/esm/organizations/services/organization-member-custom-implementation.backend.service.d.ts.map +1 -1
  829. package/dist/esm/organizations/services/organization-onboarding-operation.backend.utils.d.ts.map +1 -1
  830. package/dist/esm/organizations/services/organization-unit-custom-implementation.backend.service.d.ts.map +1 -1
  831. package/dist/esm/organizations/services/organization-unit-member-custom-implementation.backend.service.d.ts.map +1 -1
  832. package/dist/esm/organizations/services/scim-provisioning-gate.backend.utils.d.ts.map +1 -1
  833. package/dist/esm/organizations/services/user-org-type-grant.backend.utils.d.ts.map +1 -1
  834. package/dist/esm/organizations/services/user-type-revocation-on-org-leave.backend.utils.d.ts.map +1 -1
  835. package/dist/esm/pdf-templates/__tests__/fixtures/tiny-pdf-template.fixture.d.ts.map +1 -1
  836. package/dist/esm/pdf-templates/models/pdf-template-binding.d.ts.map +1 -1
  837. package/dist/esm/pdf-templates/models/pdf-template-definition.d.ts.map +1 -1
  838. package/dist/esm/pdf-templates/services/pdf-generated-file-writer.backend.service.d.ts.map +1 -1
  839. package/dist/esm/pdf-templates/services/pdf-generation-orchestrator.backend.service.d.ts.map +1 -1
  840. package/dist/esm/pdf-templates/services/pdf-renderer.backend.service.d.ts.map +1 -1
  841. package/dist/esm/pdf-templates/services/pdf-template-binding.backend.service.d.ts.map +1 -1
  842. package/dist/esm/queue/adapters/in-memory-queue-adapter.backend.service.d.ts +66 -0
  843. package/dist/esm/queue/adapters/in-memory-queue-adapter.backend.service.d.ts.map +1 -0
  844. package/dist/esm/queue/adapters/in-memory-queue-adapter.backend.service.js +257 -0
  845. package/dist/esm/queue/adapters/in-memory-queue-adapter.backend.service.js.map +1 -0
  846. package/dist/esm/queue/adapters/queue-adapter.backend.binding.d.ts +12 -0
  847. package/dist/esm/queue/adapters/queue-adapter.backend.binding.d.ts.map +1 -0
  848. package/dist/esm/queue/adapters/queue-adapter.backend.binding.js +47 -0
  849. package/dist/esm/queue/adapters/queue-adapter.backend.binding.js.map +1 -0
  850. package/dist/esm/queue/adapters/queue-adapter.backend.interface.d.ts +87 -0
  851. package/dist/esm/queue/adapters/queue-adapter.backend.interface.d.ts.map +1 -0
  852. package/dist/esm/queue/adapters/queue-adapter.backend.interface.js +1 -0
  853. package/dist/esm/queue/adapters/queue-adapter.backend.interface.js.map +1 -0
  854. package/dist/esm/queue/adapters/queue-adapter.backend.options.d.ts +31 -0
  855. package/dist/esm/queue/adapters/queue-adapter.backend.options.d.ts.map +1 -0
  856. package/dist/esm/queue/adapters/queue-adapter.backend.options.js +13 -0
  857. package/dist/esm/queue/adapters/queue-adapter.backend.options.js.map +1 -0
  858. package/dist/esm/queue/adapters/rabbitmq-adapter.backend.service.d.ts +19 -25
  859. package/dist/esm/queue/adapters/rabbitmq-adapter.backend.service.d.ts.map +1 -1
  860. package/dist/esm/queue/adapters/rabbitmq-adapter.backend.service.js +33 -0
  861. package/dist/esm/queue/adapters/rabbitmq-adapter.backend.service.js.map +1 -1
  862. package/dist/esm/queue/apps-crontabs-manager.backend.service.d.ts.map +1 -1
  863. package/dist/esm/queue/cron-job-sync.backend.service.d.ts.map +1 -1
  864. package/dist/esm/queue/domain-queue-consumer.backend.service.d.ts +2 -2
  865. package/dist/esm/queue/domain-queue-consumer.backend.service.d.ts.map +1 -1
  866. package/dist/esm/queue/domain-queue-consumer.backend.service.js +1 -4
  867. package/dist/esm/queue/domain-queue-consumer.backend.service.js.map +1 -1
  868. package/dist/esm/queue/job-completion-registry.backend.service.d.ts.map +1 -1
  869. package/dist/esm/queue/job-consumer.backend.service.d.ts +2 -2
  870. package/dist/esm/queue/job-consumer.backend.service.d.ts.map +1 -1
  871. package/dist/esm/queue/job-consumer.backend.service.js +1 -4
  872. package/dist/esm/queue/job-consumer.backend.service.js.map +1 -1
  873. package/dist/esm/queue/job-executor.backend.service.d.ts +2 -2
  874. package/dist/esm/queue/job-executor.backend.service.d.ts.map +1 -1
  875. package/dist/esm/queue/job-executor.backend.service.js +1 -4
  876. package/dist/esm/queue/job-executor.backend.service.js.map +1 -1
  877. package/dist/esm/queue/job-payload-storage.backend.service.d.ts.map +1 -1
  878. package/dist/esm/queue/job-status-tracking.backend.service.d.ts.map +1 -1
  879. package/dist/esm/queue/queue-monitoring.backend.service.d.ts +8 -4
  880. package/dist/esm/queue/queue-monitoring.backend.service.d.ts.map +1 -1
  881. package/dist/esm/queue/queue-monitoring.backend.service.js +25 -17
  882. package/dist/esm/queue/queue-monitoring.backend.service.js.map +1 -1
  883. package/dist/esm/queue/queue-worker-initializer.backend.service.d.ts +16 -1
  884. package/dist/esm/queue/queue-worker-initializer.backend.service.d.ts.map +1 -1
  885. package/dist/esm/queue/queue-worker-initializer.backend.service.js +16 -1
  886. package/dist/esm/queue/queue-worker-initializer.backend.service.js.map +1 -1
  887. package/dist/esm/queue/queue.backend.service.d.ts +3 -3
  888. package/dist/esm/queue/queue.backend.service.d.ts.map +1 -1
  889. package/dist/esm/queue/queue.backend.service.js +26 -4
  890. package/dist/esm/queue/queue.backend.service.js.map +1 -1
  891. package/dist/esm/queue/scheduled-message-verifier.backend.service.d.ts.map +1 -1
  892. package/dist/esm/queue/worker-shutdown-manager.backend.service.d.ts +2 -2
  893. package/dist/esm/queue/worker-shutdown-manager.backend.service.d.ts.map +1 -1
  894. package/dist/esm/queue/worker-shutdown-manager.backend.service.js +18 -3
  895. package/dist/esm/queue/worker-shutdown-manager.backend.service.js.map +1 -1
  896. package/dist/esm/rag/batches/rag-embedding-drain.batch.backend.service.d.ts.map +1 -1
  897. package/dist/esm/rag/batches/rag-reconciliation-sweep.batch.backend.service.d.ts.map +1 -1
  898. package/dist/esm/rag/models/rag-chunk-store.backend.types.d.ts.map +1 -1
  899. package/dist/esm/rag/models/rag-retrieval.backend.types.d.ts.map +1 -1
  900. package/dist/esm/rag/services/mongodb-rag-chunk-store.backend.service.d.ts.map +1 -1
  901. package/dist/esm/rag/services/postgresql-rag-chunk-store.backend.service.d.ts.map +1 -1
  902. package/dist/esm/rag/services/rag-chunk-collection.mongodb-ddl.backend.d.ts.map +1 -1
  903. package/dist/esm/rag/services/rag-chunk-retrieval.mongodb-query.backend.d.ts.map +1 -1
  904. package/dist/esm/rag/services/rag-chunk-retrieval.postgresql-query.backend.d.ts.map +1 -1
  905. package/dist/esm/rag/services/rag-chunk-store.backend.service.d.ts.map +1 -1
  906. package/dist/esm/rag/services/rag-chunk-table.postgresql-ddl.backend.d.ts.map +1 -1
  907. package/dist/esm/rag/services/rag-ingestion.backend.service.d.ts.map +1 -1
  908. package/dist/esm/rag/services/rag-retrieval.backend.service.d.ts.map +1 -1
  909. package/dist/esm/rag/utils/rag-chunk-fusion.backend.utils.d.ts.map +1 -1
  910. package/dist/esm/rag/utils/rag-chunk-removal.backend.utils.d.ts.map +1 -1
  911. package/dist/esm/rag/utils/rag-chunk-row-shaping.backend.utils.d.ts.map +1 -1
  912. package/dist/esm/rag/utils/rag-chunking.backend.utils.d.ts +50 -25
  913. package/dist/esm/rag/utils/rag-chunking.backend.utils.d.ts.map +1 -1
  914. package/dist/esm/rag/utils/rag-chunking.backend.utils.js +147 -39
  915. package/dist/esm/rag/utils/rag-chunking.backend.utils.js.map +1 -1
  916. package/dist/esm/rag/utils/rag-context-assembly.backend.utils.d.ts +12 -3
  917. package/dist/esm/rag/utils/rag-context-assembly.backend.utils.d.ts.map +1 -1
  918. package/dist/esm/rag/utils/rag-context-assembly.backend.utils.js +12 -3
  919. package/dist/esm/rag/utils/rag-context-assembly.backend.utils.js.map +1 -1
  920. package/dist/esm/rag/utils/rag-ingestion-trigger.backend.utils.d.ts.map +1 -1
  921. package/dist/esm/rag/utils/rag-retrieval-scope.backend.utils.d.ts.map +1 -1
  922. package/dist/esm/rag/utils/rag-source-field-value.backend.utils.d.ts.map +1 -1
  923. package/dist/esm/requests/models/api-routes.backend.defintions.d.ts.map +1 -1
  924. package/dist/esm/requests/models/requests.backend.schemas.d.ts.map +1 -1
  925. package/dist/esm/requests/service/platform-mutualized-handler.backend.service.d.ts.map +1 -1
  926. package/dist/esm/requests/service/platform-requests.backend.utils.d.ts.map +1 -1
  927. package/dist/esm/requests/service/remote-client-base.backend.service.d.ts.map +1 -1
  928. package/dist/esm/requests/service/serverless-services-handler.backend.service.d.ts.map +1 -1
  929. package/dist/esm/requests/service/websocket.service.d.ts +9 -0
  930. package/dist/esm/requests/service/websocket.service.d.ts.map +1 -1
  931. package/dist/esm/requests/service/websocket.service.js +81 -9
  932. package/dist/esm/requests/service/websocket.service.js.map +1 -1
  933. package/dist/esm/resources/backend-resource-registry.exports.d.ts.map +1 -1
  934. package/dist/esm/resources/models/custom-service-implementations.backend.definition.d.ts.map +1 -1
  935. package/dist/esm/resources/models/custom-service-implementations.backend.definition.js +16 -2
  936. package/dist/esm/resources/models/custom-service-implementations.backend.definition.js.map +1 -1
  937. package/dist/esm/resources/models/index.d.ts.map +1 -1
  938. package/dist/esm/resources/models/resources-operations.backend.definitions.d.ts.map +1 -1
  939. package/dist/esm/resources/models/resources-operations.backend.definitions.js +2 -0
  940. package/dist/esm/resources/models/resources-operations.backend.definitions.js.map +1 -1
  941. package/dist/esm/resources/models/resources-relationships.backend.definitions.d.ts.map +1 -1
  942. package/dist/esm/resources/models/resources-relationships.backend.definitions.js +14 -0
  943. package/dist/esm/resources/models/resources-relationships.backend.definitions.js.map +1 -1
  944. package/dist/esm/resources/models/resources-types.backend.schemas.d.ts +2 -1
  945. package/dist/esm/resources/models/resources-types.backend.schemas.d.ts.map +1 -1
  946. package/dist/esm/resources/models/resources-types.backend.schemas.js +8 -0
  947. package/dist/esm/resources/models/resources-types.backend.schemas.js.map +1 -1
  948. package/dist/esm/resources/models/resources.backend.schemas.d.ts.map +1 -1
  949. package/dist/esm/resources/models/virtual-fields.backend.types.d.ts.map +1 -1
  950. package/dist/esm/resources/services/__tests__/mock-resources-registry.service.d.ts.map +1 -1
  951. package/dist/esm/resources/services/resource-context.backend.service.d.ts.map +1 -1
  952. package/dist/esm/resources/services/resource-id.backend.service.d.ts.map +1 -1
  953. package/dist/esm/resources/services/resource-population.backend.service.d.ts +17 -2
  954. package/dist/esm/resources/services/resource-population.backend.service.d.ts.map +1 -1
  955. package/dist/esm/resources/services/resource-population.backend.service.js +74 -18
  956. package/dist/esm/resources/services/resource-population.backend.service.js.map +1 -1
  957. package/dist/esm/resources/services/resources-registry.backend.service.d.ts +83 -5
  958. package/dist/esm/resources/services/resources-registry.backend.service.d.ts.map +1 -1
  959. package/dist/esm/resources/services/resources-registry.backend.service.js +121 -6
  960. package/dist/esm/resources/services/resources-registry.backend.service.js.map +1 -1
  961. package/dist/esm/resources/services/virtual-fields.backend.service.d.ts.map +1 -1
  962. package/dist/esm/resources/utils/resource-retention.backend.utils.d.ts.map +1 -1
  963. package/dist/esm/runtime/controllers/health-controller.backend.service.d.ts +36 -3
  964. package/dist/esm/runtime/controllers/health-controller.backend.service.d.ts.map +1 -1
  965. package/dist/esm/runtime/controllers/health-controller.backend.service.js +32 -10
  966. package/dist/esm/runtime/controllers/health-controller.backend.service.js.map +1 -1
  967. package/dist/esm/runtime/domain-module.backend.definitions.d.ts +24 -0
  968. package/dist/esm/runtime/domain-module.backend.definitions.d.ts.map +1 -1
  969. package/dist/esm/runtime/domain-module.backend.definitions.js +24 -0
  970. package/dist/esm/runtime/domain-module.backend.definitions.js.map +1 -1
  971. package/dist/esm/runtime/models/execution-context.backend.schemas.d.ts.map +1 -1
  972. package/dist/esm/runtime/models/request-context.als.backend.d.ts.map +1 -1
  973. package/dist/esm/runtime/models/runtime.backend.schemas.d.ts.map +1 -1
  974. package/dist/esm/runtime/services/execution-context-creator.backend.service.d.ts.map +1 -1
  975. package/dist/esm/runtime/services/execution-context-creator.backend.service.js.map +1 -1
  976. package/dist/esm/runtime/services/execution-context-handler.backend.service.d.ts.map +1 -1
  977. package/dist/esm/runtime/services/health-readiness-contributor.backend.interface.d.ts +51 -0
  978. package/dist/esm/runtime/services/health-readiness-contributor.backend.interface.d.ts.map +1 -1
  979. package/dist/esm/runtime/services/health-readiness-contributor.backend.interface.js.map +1 -1
  980. package/dist/esm/runtime/services/http-server.backend.service.d.ts +26 -0
  981. package/dist/esm/runtime/services/http-server.backend.service.d.ts.map +1 -1
  982. package/dist/esm/runtime/services/http-server.backend.service.js +191 -1
  983. package/dist/esm/runtime/services/http-server.backend.service.js.map +1 -1
  984. package/dist/esm/runtime/services/start-application.backend.service.d.ts +19 -1
  985. package/dist/esm/runtime/services/start-application.backend.service.d.ts.map +1 -1
  986. package/dist/esm/runtime/services/start-application.backend.service.js +287 -89
  987. package/dist/esm/runtime/services/start-application.backend.service.js.map +1 -1
  988. package/dist/esm/runtime/services/utils/oauth-body-cap.backend.utils.d.ts.map +1 -1
  989. package/dist/esm/runtime/testing/execution-context-test-fixtures.d.ts.map +1 -1
  990. package/dist/esm/runtime/testing/mock-execution-context-creator.service.d.ts.map +1 -1
  991. package/dist/esm/runtime/utils/application-startup-config-access.backend.utils.d.ts.map +1 -1
  992. package/dist/esm/runtime/utils/feature-gated-core-resource-exclusions.backend.utils.d.ts.map +1 -1
  993. package/dist/esm/runtime/utils/request-client-ip.utils.d.ts.map +1 -1
  994. package/dist/esm/runtime/utils/scan-default-exports.backend.utils.d.ts.map +1 -1
  995. package/dist/esm/security/api-keys/api-key-generation.backend.utils.d.ts.map +1 -1
  996. package/dist/esm/security/api-keys/api-keys.custom-impl.backend.service.d.ts +15 -0
  997. package/dist/esm/security/api-keys/api-keys.custom-impl.backend.service.d.ts.map +1 -1
  998. package/dist/esm/security/api-keys/api-keys.custom-impl.backend.service.js +28 -0
  999. package/dist/esm/security/api-keys/api-keys.custom-impl.backend.service.js.map +1 -1
  1000. package/dist/esm/security/authentications/batches/anonymous-session-cleanup.batch.backend.service.d.ts +5 -1
  1001. package/dist/esm/security/authentications/batches/anonymous-session-cleanup.batch.backend.service.d.ts.map +1 -1
  1002. package/dist/esm/security/authentications/batches/anonymous-session-cleanup.batch.backend.service.js +24 -4
  1003. package/dist/esm/security/authentications/batches/anonymous-session-cleanup.batch.backend.service.js.map +1 -1
  1004. package/dist/esm/security/authentications/controllers/auth-method-management-controller.backend.service.d.ts.map +1 -1
  1005. package/dist/esm/security/authentications/controllers/authentication-controller.backend.service.d.ts +22 -0
  1006. package/dist/esm/security/authentications/controllers/authentication-controller.backend.service.d.ts.map +1 -1
  1007. package/dist/esm/security/authentications/controllers/authentication-controller.backend.service.js +113 -4
  1008. package/dist/esm/security/authentications/controllers/authentication-controller.backend.service.js.map +1 -1
  1009. package/dist/esm/security/authentications/controllers/oauth-provider-controller.backend.service.d.ts +114 -0
  1010. package/dist/esm/security/authentications/controllers/oauth-provider-controller.backend.service.d.ts.map +1 -1
  1011. package/dist/esm/security/authentications/controllers/oauth-provider-controller.backend.service.js +354 -3
  1012. package/dist/esm/security/authentications/controllers/oauth-provider-controller.backend.service.js.map +1 -1
  1013. package/dist/esm/security/authentications/models/auth-constants.backend.d.ts.map +1 -1
  1014. package/dist/esm/security/authentications/models/authentications.backend.schemas.d.ts.map +1 -1
  1015. package/dist/esm/security/authentications/models/authorization-client.backend.schemas.d.ts.map +1 -1
  1016. package/dist/esm/security/authentications/models/cimd.backend.schemas.d.ts +1 -0
  1017. package/dist/esm/security/authentications/models/cimd.backend.schemas.d.ts.map +1 -1
  1018. package/dist/esm/security/authentications/models/cimd.backend.schemas.js +22 -0
  1019. package/dist/esm/security/authentications/models/cimd.backend.schemas.js.map +1 -1
  1020. package/dist/esm/security/authentications/models/federated-auth-transport.backend.definitions.d.ts +37 -0
  1021. package/dist/esm/security/authentications/models/federated-auth-transport.backend.definitions.d.ts.map +1 -0
  1022. package/dist/esm/security/authentications/models/federated-auth-transport.backend.definitions.js +37 -0
  1023. package/dist/esm/security/authentications/models/federated-auth-transport.backend.definitions.js.map +1 -0
  1024. package/dist/esm/security/authentications/models/identity-persistence-boundaries.backend.d.ts.map +1 -1
  1025. package/dist/esm/security/authentications/models/jwt.backend.schemas.d.ts.map +1 -1
  1026. package/dist/esm/security/authentications/models/oauth2-connection.backend.schemas.d.ts +30 -0
  1027. package/dist/esm/security/authentications/models/oauth2-connection.backend.schemas.d.ts.map +1 -1
  1028. package/dist/esm/security/authentications/models/oauth2-connection.backend.schemas.js.map +1 -1
  1029. package/dist/esm/security/authentications/models/saml-authentication.backend.schemas.d.ts.map +1 -1
  1030. package/dist/esm/security/authentications/models/sso-connection.backend.schemas.d.ts.map +1 -1
  1031. package/dist/esm/security/authentications/models/user-authorization-version.backend.utils.d.ts.map +1 -1
  1032. package/dist/esm/security/authentications/seeds/enterprise-config-defaults.seeds.d.ts.map +1 -1
  1033. package/dist/esm/security/authentications/services/__tests__/mock-auth-execution-context-factory.service.d.ts.map +1 -1
  1034. package/dist/esm/security/authentications/services/__tests__/mock-auth-token-issuer.service.d.ts.map +1 -1
  1035. package/dist/esm/security/authentications/services/__tests__/oauth-provider-audit-spies.mock.d.ts.map +1 -1
  1036. package/dist/esm/security/authentications/services/admin-config/__tests__/mock-domain-to-org-lookup.service.d.ts.map +1 -1
  1037. package/dist/esm/security/authentications/services/admin-config/__tests__/mock-enterprise-user-provisioning.service.d.ts.map +1 -1
  1038. package/dist/esm/security/authentications/services/admin-config/auth-organization-configuration.service.d.ts +0 -2
  1039. package/dist/esm/security/authentications/services/admin-config/auth-organization-configuration.service.d.ts.map +1 -1
  1040. package/dist/esm/security/authentications/services/admin-config/auth-organization-configuration.service.js +23 -14
  1041. package/dist/esm/security/authentications/services/admin-config/auth-organization-configuration.service.js.map +1 -1
  1042. package/dist/esm/security/authentications/services/admin-config/domain-to-org-lookup.backend.service.d.ts +0 -1
  1043. package/dist/esm/security/authentications/services/admin-config/domain-to-org-lookup.backend.service.d.ts.map +1 -1
  1044. package/dist/esm/security/authentications/services/admin-config/domain-to-org-lookup.backend.service.js +15 -12
  1045. package/dist/esm/security/authentications/services/admin-config/domain-to-org-lookup.backend.service.js.map +1 -1
  1046. package/dist/esm/security/authentications/services/admin-config/domain-verification.backend.service.d.ts +113 -3
  1047. package/dist/esm/security/authentications/services/admin-config/domain-verification.backend.service.d.ts.map +1 -1
  1048. package/dist/esm/security/authentications/services/admin-config/domain-verification.backend.service.js +207 -30
  1049. package/dist/esm/security/authentications/services/admin-config/domain-verification.backend.service.js.map +1 -1
  1050. package/dist/esm/security/authentications/services/admin-config/enterprise-user-provisioning.backend.service.d.ts +95 -2
  1051. package/dist/esm/security/authentications/services/admin-config/enterprise-user-provisioning.backend.service.d.ts.map +1 -1
  1052. package/dist/esm/security/authentications/services/admin-config/enterprise-user-provisioning.backend.service.js +153 -9
  1053. package/dist/esm/security/authentications/services/admin-config/enterprise-user-provisioning.backend.service.js.map +1 -1
  1054. package/dist/esm/security/authentications/services/admin-config/oidc-discovery.backend.service.d.ts.map +1 -1
  1055. package/dist/esm/security/authentications/services/admin-config/oidc-discovery.backend.service.js +2 -1
  1056. package/dist/esm/security/authentications/services/admin-config/oidc-discovery.backend.service.js.map +1 -1
  1057. package/dist/esm/security/authentications/services/anonymous-session.backend.service.d.ts +197 -0
  1058. package/dist/esm/security/authentications/services/anonymous-session.backend.service.d.ts.map +1 -1
  1059. package/dist/esm/security/authentications/services/anonymous-session.backend.service.js +384 -53
  1060. package/dist/esm/security/authentications/services/anonymous-session.backend.service.js.map +1 -1
  1061. package/dist/esm/security/authentications/services/auth-credential-verifier.backend.service.d.ts.map +1 -1
  1062. package/dist/esm/security/authentications/services/auth-execution-context-factory.backend.service.d.ts.map +1 -1
  1063. package/dist/esm/security/authentications/services/auth-methods/auth-method-management.backend.service.d.ts.map +1 -1
  1064. package/dist/esm/security/authentications/services/auth-methods/auth-method-management.backend.service.js +68 -1
  1065. package/dist/esm/security/authentications/services/auth-methods/auth-method-management.backend.service.js.map +1 -1
  1066. package/dist/esm/security/authentications/services/auth-methods/auth-mfa.backend.service.d.ts.map +1 -1
  1067. package/dist/esm/security/authentications/services/auth-methods/auth-password-reset.backend.service.d.ts.map +1 -1
  1068. package/dist/esm/security/authentications/services/auth-methods/auth-phone-verification.backend.service.d.ts.map +1 -1
  1069. package/dist/esm/security/authentications/services/auth-methods/auth-registration.backend.service.d.ts +41 -0
  1070. package/dist/esm/security/authentications/services/auth-methods/auth-registration.backend.service.d.ts.map +1 -1
  1071. package/dist/esm/security/authentications/services/auth-methods/auth-registration.backend.service.js +202 -23
  1072. package/dist/esm/security/authentications/services/auth-methods/auth-registration.backend.service.js.map +1 -1
  1073. package/dist/esm/security/authentications/services/auth-methods/oauth2-authentication.backend.service.d.ts +97 -0
  1074. package/dist/esm/security/authentications/services/auth-methods/oauth2-authentication.backend.service.d.ts.map +1 -1
  1075. package/dist/esm/security/authentications/services/auth-methods/oauth2-authentication.backend.service.js +260 -27
  1076. package/dist/esm/security/authentications/services/auth-methods/oauth2-authentication.backend.service.js.map +1 -1
  1077. package/dist/esm/security/authentications/services/auth-methods/oauth2-connection-resolver.backend.service.d.ts +14 -0
  1078. package/dist/esm/security/authentications/services/auth-methods/oauth2-connection-resolver.backend.service.d.ts.map +1 -1
  1079. package/dist/esm/security/authentications/services/auth-methods/oauth2-connection-resolver.backend.service.js +70 -4
  1080. package/dist/esm/security/authentications/services/auth-methods/oauth2-connection-resolver.backend.service.js.map +1 -1
  1081. package/dist/esm/security/authentications/services/auth-methods/saml-assertion-validator.backend.service.d.ts.map +1 -1
  1082. package/dist/esm/security/authentications/services/auth-methods/saml-authentication.backend.service.d.ts.map +1 -1
  1083. package/dist/esm/security/authentications/services/auth-methods/saml-metadata.backend.service.d.ts.map +1 -1
  1084. package/dist/esm/security/authentications/services/auth-methods/saml-replay-guard.backend.service.d.ts.map +1 -1
  1085. package/dist/esm/security/authentications/services/auth-methods/webauthn.backend.service.d.ts +29 -5
  1086. package/dist/esm/security/authentications/services/auth-methods/webauthn.backend.service.d.ts.map +1 -1
  1087. package/dist/esm/security/authentications/services/auth-methods/webauthn.backend.service.js +77 -5
  1088. package/dist/esm/security/authentications/services/auth-methods/webauthn.backend.service.js.map +1 -1
  1089. package/dist/esm/security/authentications/services/auth-session-store.backend.service.d.ts.map +1 -1
  1090. package/dist/esm/security/authentications/services/auth-token-issuer.backend.service.d.ts +17 -1
  1091. package/dist/esm/security/authentications/services/auth-token-issuer.backend.service.d.ts.map +1 -1
  1092. package/dist/esm/security/authentications/services/auth-token-issuer.backend.service.js +49 -17
  1093. package/dist/esm/security/authentications/services/auth-token-issuer.backend.service.js.map +1 -1
  1094. package/dist/esm/security/authentications/services/authentication-orchestrator.backend.service.d.ts +43 -1
  1095. package/dist/esm/security/authentications/services/authentication-orchestrator.backend.service.d.ts.map +1 -1
  1096. package/dist/esm/security/authentications/services/authentication-orchestrator.backend.service.js +277 -97
  1097. package/dist/esm/security/authentications/services/authentication-orchestrator.backend.service.js.map +1 -1
  1098. package/dist/esm/security/authentications/services/cimd-client-metadata.backend.service.d.ts +28 -5
  1099. package/dist/esm/security/authentications/services/cimd-client-metadata.backend.service.d.ts.map +1 -1
  1100. package/dist/esm/security/authentications/services/cimd-client-metadata.backend.service.js +72 -12
  1101. package/dist/esm/security/authentications/services/cimd-client-metadata.backend.service.js.map +1 -1
  1102. package/dist/esm/security/authentications/services/custom-impls/auth-custom-implementations.backend.d.ts.map +1 -1
  1103. package/dist/esm/security/authentications/services/custom-impls/auth-custom-implementations.backend.js +3 -0
  1104. package/dist/esm/security/authentications/services/custom-impls/auth-custom-implementations.backend.js.map +1 -1
  1105. package/dist/esm/security/authentications/services/custom-impls/scim-tokens.custom-impl.backend.service.d.ts.map +1 -1
  1106. package/dist/esm/security/authentications/services/custom-impls/siem-delivery-dlq.custom-impl.backend.service.d.ts.map +1 -1
  1107. package/dist/esm/security/authentications/services/custom-impls/sso-config-domain-verification.custom-impl.backend.service.d.ts +28 -0
  1108. package/dist/esm/security/authentications/services/custom-impls/sso-config-domain-verification.custom-impl.backend.service.d.ts.map +1 -0
  1109. package/dist/esm/security/authentications/services/custom-impls/sso-config-domain-verification.custom-impl.backend.service.js +339 -0
  1110. package/dist/esm/security/authentications/services/custom-impls/sso-config-domain-verification.custom-impl.backend.service.js.map +1 -0
  1111. package/dist/esm/security/authentications/services/custom-impls/sso-config.custom-impl.backend.service.d.ts +4 -3
  1112. package/dist/esm/security/authentications/services/custom-impls/sso-config.custom-impl.backend.service.d.ts.map +1 -1
  1113. package/dist/esm/security/authentications/services/custom-impls/sso-config.custom-impl.backend.service.js +4 -3
  1114. package/dist/esm/security/authentications/services/custom-impls/sso-config.custom-impl.backend.service.js.map +1 -1
  1115. package/dist/esm/security/authentications/services/custom-impls/sso-connection.custom-impl.backend.service.d.ts.map +1 -1
  1116. package/dist/esm/security/authentications/services/custom-impls/sso-connection.custom-impl.backend.service.js +11 -1
  1117. package/dist/esm/security/authentications/services/custom-impls/sso-connection.custom-impl.backend.service.js.map +1 -1
  1118. package/dist/esm/security/authentications/services/email-verification-initiator.backend.service.d.ts.map +1 -1
  1119. package/dist/esm/security/authentications/services/machine-token-issuer.backend.service.d.ts.map +1 -1
  1120. package/dist/esm/security/authentications/services/oauth-provider-token.backend.service.d.ts +35 -0
  1121. package/dist/esm/security/authentications/services/oauth-provider-token.backend.service.d.ts.map +1 -1
  1122. package/dist/esm/security/authentications/services/oauth-provider-token.backend.service.js +111 -21
  1123. package/dist/esm/security/authentications/services/oauth-provider-token.backend.service.js.map +1 -1
  1124. package/dist/esm/security/authentications/services/oidc-authorization-code.backend.service.d.ts +14 -1
  1125. package/dist/esm/security/authentications/services/oidc-authorization-code.backend.service.d.ts.map +1 -1
  1126. package/dist/esm/security/authentications/services/oidc-authorization-code.backend.service.js +49 -8
  1127. package/dist/esm/security/authentications/services/oidc-authorization-code.backend.service.js.map +1 -1
  1128. package/dist/esm/security/authentications/services/oidc-user-claims.backend.service.d.ts.map +1 -1
  1129. package/dist/esm/security/authentications/services/resolve-active-member-orgs.backend.utils.d.ts.map +1 -1
  1130. package/dist/esm/security/authentications/services/utils/__tests__/mock-auth-user-lookup.service.d.ts.map +1 -1
  1131. package/dist/esm/security/authentications/services/utils/auth-controller.utils.d.ts.map +1 -1
  1132. package/dist/esm/security/authentications/services/utils/auth-credential-ops.backend.service.d.ts.map +1 -1
  1133. package/dist/esm/security/authentications/services/utils/auth-policy-resolution.backend.utils.d.ts.map +1 -1
  1134. package/dist/esm/security/authentications/services/utils/auth-policy-resolution.backend.utils.js +4 -0
  1135. package/dist/esm/security/authentications/services/utils/auth-policy-resolution.backend.utils.js.map +1 -1
  1136. package/dist/esm/security/authentications/services/utils/auth-response-helper.backend.service.d.ts.map +1 -1
  1137. package/dist/esm/security/authentications/services/utils/auth-user-lookup.backend.service.d.ts.map +1 -1
  1138. package/dist/esm/security/authentications/services/utils/auth-user-lookup.backend.service.js +6 -0
  1139. package/dist/esm/security/authentications/services/utils/auth-user-lookup.backend.service.js.map +1 -1
  1140. package/dist/esm/security/authentications/services/utils/concurrent-session-eviction.backend.utils.d.ts.map +1 -1
  1141. package/dist/esm/security/authentications/services/utils/ensure-user-profile.backend.utils.d.ts.map +1 -1
  1142. package/dist/esm/security/authentications/services/utils/external-turn-rate-limit.backend.utils.d.ts +37 -1
  1143. package/dist/esm/security/authentications/services/utils/external-turn-rate-limit.backend.utils.d.ts.map +1 -1
  1144. package/dist/esm/security/authentications/services/utils/external-turn-rate-limit.backend.utils.js +51 -0
  1145. package/dist/esm/security/authentications/services/utils/external-turn-rate-limit.backend.utils.js.map +1 -1
  1146. package/dist/esm/security/authentications/services/utils/machine-auth-rate-limit.backend.utils.d.ts.map +1 -1
  1147. package/dist/esm/security/authentications/services/utils/pkce.backend.utils.d.ts.map +1 -1
  1148. package/dist/esm/security/authentications/services/utils/saml-java-availability.d.ts.map +1 -1
  1149. package/dist/esm/security/authentications/utils/application-auth-policy-audit.backend.utils.d.ts.map +1 -1
  1150. package/dist/esm/security/authentications/utils/enterprise-sso-enforcement.backend.utils.d.ts +41 -0
  1151. package/dist/esm/security/authentications/utils/enterprise-sso-enforcement.backend.utils.d.ts.map +1 -1
  1152. package/dist/esm/security/authentications/utils/enterprise-sso-enforcement.backend.utils.js +45 -0
  1153. package/dist/esm/security/authentications/utils/enterprise-sso-enforcement.backend.utils.js.map +1 -1
  1154. package/dist/esm/security/authentications/utils/one-off-session-lifetime.backend.utils.d.ts.map +1 -1
  1155. package/dist/esm/security/authentications/utils/social-oauth2-purpose.backend.utils.d.ts.map +1 -1
  1156. package/dist/esm/security/authorizations/access-grant-decision.factory.backend.d.ts +59 -0
  1157. package/dist/esm/security/authorizations/access-grant-decision.factory.backend.d.ts.map +1 -0
  1158. package/dist/esm/security/authorizations/access-grant-decision.factory.backend.js +111 -0
  1159. package/dist/esm/security/authorizations/access-grant-decision.factory.backend.js.map +1 -0
  1160. package/dist/esm/security/authorizations/access-grant-lifecycle-audit.backend.d.ts +57 -0
  1161. package/dist/esm/security/authorizations/access-grant-lifecycle-audit.backend.d.ts.map +1 -0
  1162. package/dist/esm/security/authorizations/access-grant-lifecycle-audit.backend.js +133 -0
  1163. package/dist/esm/security/authorizations/access-grant-lifecycle-audit.backend.js.map +1 -0
  1164. package/dist/esm/security/authorizations/application-access-grant-custom-implementation.backend.service.d.ts +41 -0
  1165. package/dist/esm/security/authorizations/application-access-grant-custom-implementation.backend.service.d.ts.map +1 -0
  1166. package/dist/esm/security/authorizations/application-access-grant-custom-implementation.backend.service.js +157 -0
  1167. package/dist/esm/security/authorizations/application-access-grant-custom-implementation.backend.service.js.map +1 -0
  1168. package/dist/esm/security/authorizations/application-wide-read-admission.backend.d.ts +84 -0
  1169. package/dist/esm/security/authorizations/application-wide-read-admission.backend.d.ts.map +1 -0
  1170. package/dist/esm/security/authorizations/application-wide-read-admission.backend.js +99 -0
  1171. package/dist/esm/security/authorizations/application-wide-read-admission.backend.js.map +1 -0
  1172. package/dist/esm/security/authorizations/authorization-denial-audit.backend.utils.d.ts.map +1 -1
  1173. package/dist/esm/security/authorizations/cross-tenant-read-observation.backend.d.ts +116 -0
  1174. package/dist/esm/security/authorizations/cross-tenant-read-observation.backend.d.ts.map +1 -0
  1175. package/dist/esm/security/authorizations/cross-tenant-read-observation.backend.js +162 -0
  1176. package/dist/esm/security/authorizations/cross-tenant-read-observation.backend.js.map +1 -0
  1177. package/dist/esm/security/authorizations/initiator-organization-confinement.backend.d.ts.map +1 -1
  1178. package/dist/esm/security/authorizations/junction-scope-resolution.backend.d.ts.map +1 -1
  1179. package/dist/esm/security/authorizations/organization-owner-floor.backend.utils.d.ts +20 -20
  1180. package/dist/esm/security/authorizations/organization-owner-floor.backend.utils.d.ts.map +1 -1
  1181. package/dist/esm/security/authorizations/organization-owner-floor.backend.utils.js +27 -28
  1182. package/dist/esm/security/authorizations/organization-owner-floor.backend.utils.js.map +1 -1
  1183. package/dist/esm/security/authorizations/organization-unit-narrowing-enforcement.backend.d.ts.map +1 -1
  1184. package/dist/esm/security/authorizations/platform-access-grant-custom-implementation.backend.service.d.ts.map +1 -1
  1185. package/dist/esm/security/authorizations/platform-access-grant-custom-implementation.backend.service.js +37 -124
  1186. package/dist/esm/security/authorizations/platform-access-grant-custom-implementation.backend.service.js.map +1 -1
  1187. package/dist/esm/security/authorizations/privileged-access-review.backend.utils.d.ts.map +1 -1
  1188. package/dist/esm/security/authorizations/relationship-foreign-key-filter.backend.d.ts.map +1 -1
  1189. package/dist/esm/security/authorizations/role-ceiling.backend.utils.d.ts +4 -0
  1190. package/dist/esm/security/authorizations/role-ceiling.backend.utils.d.ts.map +1 -1
  1191. package/dist/esm/security/authorizations/role-ceiling.backend.utils.js +4 -0
  1192. package/dist/esm/security/authorizations/role-ceiling.backend.utils.js.map +1 -1
  1193. package/dist/esm/security/authorizations/role-conferral.backend.utils.d.ts +133 -0
  1194. package/dist/esm/security/authorizations/role-conferral.backend.utils.d.ts.map +1 -0
  1195. package/dist/esm/security/authorizations/role-conferral.backend.utils.js +137 -0
  1196. package/dist/esm/security/authorizations/role-conferral.backend.utils.js.map +1 -0
  1197. package/dist/esm/security/authorizations/scope-root-collection-confinement.backend.d.ts +134 -1
  1198. package/dist/esm/security/authorizations/scope-root-collection-confinement.backend.d.ts.map +1 -1
  1199. package/dist/esm/security/authorizations/scope-root-collection-confinement.backend.js +152 -5
  1200. package/dist/esm/security/authorizations/scope-root-collection-confinement.backend.js.map +1 -1
  1201. package/dist/esm/security/authorizations/services/authorizations.backend.service.d.ts +146 -8
  1202. package/dist/esm/security/authorizations/services/authorizations.backend.service.d.ts.map +1 -1
  1203. package/dist/esm/security/authorizations/services/authorizations.backend.service.js +328 -29
  1204. package/dist/esm/security/authorizations/services/authorizations.backend.service.js.map +1 -1
  1205. package/dist/esm/security/authorizations/super-admin-floor.backend.utils.d.ts +6 -14
  1206. package/dist/esm/security/authorizations/super-admin-floor.backend.utils.d.ts.map +1 -1
  1207. package/dist/esm/security/authorizations/super-admin-floor.backend.utils.js +13 -22
  1208. package/dist/esm/security/authorizations/super-admin-floor.backend.utils.js.map +1 -1
  1209. package/dist/esm/security/connected-accounts/connection-target-authorization.backend.d.ts +60 -0
  1210. package/dist/esm/security/connected-accounts/connection-target-authorization.backend.d.ts.map +1 -0
  1211. package/dist/esm/security/connected-accounts/connection-target-authorization.backend.js +79 -0
  1212. package/dist/esm/security/connected-accounts/connection-target-authorization.backend.js.map +1 -0
  1213. package/dist/esm/security/connected-accounts/controllers/provider-connection.controller.backend.service.d.ts +299 -0
  1214. package/dist/esm/security/connected-accounts/controllers/provider-connection.controller.backend.service.d.ts.map +1 -0
  1215. package/dist/esm/security/connected-accounts/controllers/provider-connection.controller.backend.service.js +953 -0
  1216. package/dist/esm/security/connected-accounts/controllers/provider-connection.controller.backend.service.js.map +1 -0
  1217. package/dist/esm/security/connected-accounts/organization-provider-credential-resolver.port.d.ts +99 -0
  1218. package/dist/esm/security/connected-accounts/organization-provider-credential-resolver.port.d.ts.map +1 -0
  1219. package/dist/esm/security/connected-accounts/organization-provider-credential-resolver.port.js +22 -0
  1220. package/dist/esm/security/connected-accounts/organization-provider-credential-resolver.port.js.map +1 -0
  1221. package/dist/esm/security/connected-accounts/provider-oauth2-refresher.port.d.ts +44 -0
  1222. package/dist/esm/security/connected-accounts/provider-oauth2-refresher.port.d.ts.map +1 -0
  1223. package/dist/esm/security/connected-accounts/provider-oauth2-refresher.port.js +20 -0
  1224. package/dist/esm/security/connected-accounts/provider-oauth2-refresher.port.js.map +1 -0
  1225. package/dist/esm/security/connected-accounts/services/organization-provider-credential-store.backend.service.d.ts +210 -0
  1226. package/dist/esm/security/connected-accounts/services/organization-provider-credential-store.backend.service.d.ts.map +1 -0
  1227. package/dist/esm/security/connected-accounts/services/organization-provider-credential-store.backend.service.js +423 -0
  1228. package/dist/esm/security/connected-accounts/services/organization-provider-credential-store.backend.service.js.map +1 -0
  1229. package/dist/esm/security/connected-accounts/services/organization-provider-credentials.custom-impl.backend.service.d.ts +41 -0
  1230. package/dist/esm/security/connected-accounts/services/organization-provider-credentials.custom-impl.backend.service.d.ts.map +1 -0
  1231. package/dist/esm/security/connected-accounts/services/organization-provider-credentials.custom-impl.backend.service.js +358 -0
  1232. package/dist/esm/security/connected-accounts/services/organization-provider-credentials.custom-impl.backend.service.js.map +1 -0
  1233. package/dist/esm/security/connected-accounts/services/provider-oauth2-exchange.backend.d.ts +160 -0
  1234. package/dist/esm/security/connected-accounts/services/provider-oauth2-exchange.backend.d.ts.map +1 -0
  1235. package/dist/esm/security/connected-accounts/services/provider-oauth2-exchange.backend.js +282 -0
  1236. package/dist/esm/security/connected-accounts/services/provider-oauth2-exchange.backend.js.map +1 -0
  1237. package/dist/esm/security/connected-accounts/services/provider-oauth2-pending-authorization.backend.service.d.ts +125 -0
  1238. package/dist/esm/security/connected-accounts/services/provider-oauth2-pending-authorization.backend.service.d.ts.map +1 -0
  1239. package/dist/esm/security/connected-accounts/services/provider-oauth2-pending-authorization.backend.service.js +123 -0
  1240. package/dist/esm/security/connected-accounts/services/provider-oauth2-pending-authorization.backend.service.js.map +1 -0
  1241. package/dist/esm/security/connected-accounts/services/provider-oauth2-refresher.backend.service.d.ts +54 -0
  1242. package/dist/esm/security/connected-accounts/services/provider-oauth2-refresher.backend.service.d.ts.map +1 -0
  1243. package/dist/esm/security/connected-accounts/services/provider-oauth2-refresher.backend.service.js +153 -0
  1244. package/dist/esm/security/connected-accounts/services/provider-oauth2-refresher.backend.service.js.map +1 -0
  1245. package/dist/esm/security/connected-accounts/services/user-provider-credential-store.backend.service.d.ts +214 -0
  1246. package/dist/esm/security/connected-accounts/services/user-provider-credential-store.backend.service.d.ts.map +1 -0
  1247. package/dist/esm/security/connected-accounts/services/user-provider-credential-store.backend.service.js +430 -0
  1248. package/dist/esm/security/connected-accounts/services/user-provider-credential-store.backend.service.js.map +1 -0
  1249. package/dist/esm/security/connected-accounts/services/user-provider-credentials.custom-impl.backend.service.d.ts +45 -0
  1250. package/dist/esm/security/connected-accounts/services/user-provider-credentials.custom-impl.backend.service.d.ts.map +1 -0
  1251. package/dist/esm/security/connected-accounts/services/user-provider-credentials.custom-impl.backend.service.js +291 -0
  1252. package/dist/esm/security/connected-accounts/services/user-provider-credentials.custom-impl.backend.service.js.map +1 -0
  1253. package/dist/esm/security/connected-accounts/user-provider-credential-resolver.port.d.ts +98 -0
  1254. package/dist/esm/security/connected-accounts/user-provider-credential-resolver.port.d.ts.map +1 -0
  1255. package/dist/esm/security/connected-accounts/user-provider-credential-resolver.port.js +29 -0
  1256. package/dist/esm/security/connected-accounts/user-provider-credential-resolver.port.js.map +1 -0
  1257. package/dist/esm/security/connected-accounts/utils/provider-credential-envelope.backend.utils.d.ts +127 -0
  1258. package/dist/esm/security/connected-accounts/utils/provider-credential-envelope.backend.utils.d.ts.map +1 -0
  1259. package/dist/esm/security/connected-accounts/utils/provider-credential-envelope.backend.utils.js +277 -0
  1260. package/dist/esm/security/connected-accounts/utils/provider-credential-envelope.backend.utils.js.map +1 -0
  1261. package/dist/esm/security/connected-accounts/utils/stored-credential-value.backend.utils.d.ts +66 -0
  1262. package/dist/esm/security/connected-accounts/utils/stored-credential-value.backend.utils.d.ts.map +1 -0
  1263. package/dist/esm/security/connected-accounts/utils/stored-credential-value.backend.utils.js +75 -0
  1264. package/dist/esm/security/connected-accounts/utils/stored-credential-value.backend.utils.js.map +1 -0
  1265. package/dist/esm/security/connected-accounts/utils/user-delegated-access-token-slot.backend.utils.d.ts +34 -0
  1266. package/dist/esm/security/connected-accounts/utils/user-delegated-access-token-slot.backend.utils.d.ts.map +1 -0
  1267. package/dist/esm/security/connected-accounts/utils/user-delegated-access-token-slot.backend.utils.js +39 -0
  1268. package/dist/esm/security/connected-accounts/utils/user-delegated-access-token-slot.backend.utils.js.map +1 -0
  1269. package/dist/esm/security/consumable-tokens/batches/consumable-tokens-cleanup.batch.backend.service.d.ts.map +1 -1
  1270. package/dist/esm/security/consumable-tokens/consumable-token-models.exports.d.ts.map +1 -1
  1271. package/dist/esm/security/consumable-tokens/models/consumable-tokens.backend.resources-config.schemas.d.ts.map +1 -1
  1272. package/dist/esm/security/consumable-tokens/models/consumable-tokens.shared.schemas.d.ts.map +1 -1
  1273. package/dist/esm/security/consumable-tokens/models/index.d.ts.map +1 -1
  1274. package/dist/esm/security/consumable-tokens/services/__tests__/mock-consumable-token.service.d.ts.map +1 -1
  1275. package/dist/esm/security/consumable-tokens/services/consumable-token.backend.service.d.ts +21 -3
  1276. package/dist/esm/security/consumable-tokens/services/consumable-token.backend.service.d.ts.map +1 -1
  1277. package/dist/esm/security/consumable-tokens/services/consumable-token.backend.service.js +26 -16
  1278. package/dist/esm/security/consumable-tokens/services/consumable-token.backend.service.js.map +1 -1
  1279. package/dist/esm/security/credential-rotation-grace.backend.utils.d.ts +9 -4
  1280. package/dist/esm/security/credential-rotation-grace.backend.utils.d.ts.map +1 -1
  1281. package/dist/esm/security/credential-rotation-grace.backend.utils.js +9 -4
  1282. package/dist/esm/security/credential-rotation-grace.backend.utils.js.map +1 -1
  1283. package/dist/esm/security/jwt/services/auth-jwt-guard.backend.service.d.ts.map +1 -1
  1284. package/dist/esm/security/jwt/services/jwt.backend.service.d.ts.map +1 -1
  1285. package/dist/esm/security/jwt/services/wildo-worker-bootstrap-client.backend.service.d.ts +13 -0
  1286. package/dist/esm/security/jwt/services/wildo-worker-bootstrap-client.backend.service.d.ts.map +1 -1
  1287. package/dist/esm/security/jwt/services/wildo-worker-bootstrap-client.backend.service.js +14 -0
  1288. package/dist/esm/security/jwt/services/wildo-worker-bootstrap-client.backend.service.js.map +1 -1
  1289. package/dist/esm/security/jwt/utils/jwt-verification-error-classification.backend.utils.d.ts.map +1 -1
  1290. package/dist/esm/security/oauth-clients/oauth-client-generation.backend.utils.d.ts +26 -0
  1291. package/dist/esm/security/oauth-clients/oauth-client-generation.backend.utils.d.ts.map +1 -1
  1292. package/dist/esm/security/oauth-clients/oauth-client-generation.backend.utils.js +43 -0
  1293. package/dist/esm/security/oauth-clients/oauth-client-generation.backend.utils.js.map +1 -1
  1294. package/dist/esm/security/oauth-clients/oauth-clients.custom-impl.backend.service.d.ts +8 -1
  1295. package/dist/esm/security/oauth-clients/oauth-clients.custom-impl.backend.service.d.ts.map +1 -1
  1296. package/dist/esm/security/oauth-clients/oauth-clients.custom-impl.backend.service.js +49 -0
  1297. package/dist/esm/security/oauth-clients/oauth-clients.custom-impl.backend.service.js.map +1 -1
  1298. package/dist/esm/security/outbound/outbound-request-deadline.backend.utils.d.ts +39 -0
  1299. package/dist/esm/security/outbound/outbound-request-deadline.backend.utils.d.ts.map +1 -0
  1300. package/dist/esm/security/outbound/outbound-request-deadline.backend.utils.js +60 -0
  1301. package/dist/esm/security/outbound/outbound-request-deadline.backend.utils.js.map +1 -0
  1302. package/dist/esm/security/outbound/outbound-request-headers.backend.utils.d.ts +66 -0
  1303. package/dist/esm/security/outbound/outbound-request-headers.backend.utils.d.ts.map +1 -0
  1304. package/dist/esm/security/outbound/outbound-request-headers.backend.utils.js +75 -0
  1305. package/dist/esm/security/outbound/outbound-request-headers.backend.utils.js.map +1 -0
  1306. package/dist/esm/security/scim/controllers/scim.backend.controller.d.ts.map +1 -1
  1307. package/dist/esm/security/scim/controllers/scim.backend.controller.js +17 -5
  1308. package/dist/esm/security/scim/controllers/scim.backend.controller.js.map +1 -1
  1309. package/dist/esm/security/scim/models/scim-protocol.backend.schemas.d.ts +67 -29
  1310. package/dist/esm/security/scim/models/scim-protocol.backend.schemas.d.ts.map +1 -1
  1311. package/dist/esm/security/scim/models/scim-protocol.backend.schemas.js +47 -25
  1312. package/dist/esm/security/scim/models/scim-protocol.backend.schemas.js.map +1 -1
  1313. package/dist/esm/security/scim/utils/scim-attribute-path-resolver.backend.utils.d.ts.map +1 -1
  1314. package/dist/esm/security/scim/utils/scim-filter-parser.d.ts.map +1 -1
  1315. package/dist/esm/security/scim/utils/scim-response-formatter.d.ts.map +1 -1
  1316. package/dist/esm/security/session-invalidation-fence.backend.utils.d.ts.map +1 -1
  1317. package/dist/esm/security/ssrf/outbound-target-guard.backend.utils.d.ts +10 -2
  1318. package/dist/esm/security/ssrf/outbound-target-guard.backend.utils.d.ts.map +1 -1
  1319. package/dist/esm/security/ssrf/outbound-target-guard.backend.utils.js +10 -2
  1320. package/dist/esm/security/ssrf/outbound-target-guard.backend.utils.js.map +1 -1
  1321. package/dist/esm/security/ssrf/pinned-outbound-fetch.backend.utils.d.ts +143 -0
  1322. package/dist/esm/security/ssrf/pinned-outbound-fetch.backend.utils.d.ts.map +1 -0
  1323. package/dist/esm/security/ssrf/pinned-outbound-fetch.backend.utils.js +258 -0
  1324. package/dist/esm/security/ssrf/pinned-outbound-fetch.backend.utils.js.map +1 -0
  1325. package/dist/esm/security/token-invalidation-fence.backend.utils.d.ts.map +1 -1
  1326. package/dist/esm/testing.d.ts.map +1 -1
  1327. package/dist/esm/users/services/inbound-contact-custom-implementation.backend.service.d.ts.map +1 -1
  1328. package/dist/esm/users/services/user-deletion-audit.custom-impl.backend.service.d.ts.map +1 -1
  1329. package/dist/esm/users/services/user-force-password-reset.custom-impl.backend.service.d.ts.map +1 -1
  1330. package/dist/esm/users/services/user-read-retained.custom-impl.backend.service.d.ts +39 -0
  1331. package/dist/esm/users/services/user-read-retained.custom-impl.backend.service.d.ts.map +1 -0
  1332. package/dist/esm/users/services/user-read-retained.custom-impl.backend.service.js +159 -0
  1333. package/dist/esm/users/services/user-read-retained.custom-impl.backend.service.js.map +1 -0
  1334. package/dist/esm/users/services/user-role-administration.custom-impl.backend.service.d.ts.map +1 -1
  1335. package/dist/esm/users/services/user-self-custom-implementations.backend.d.ts.map +1 -1
  1336. package/dist/esm/users/services/user-super-admin-floor.custom-impl.backend.service.d.ts.map +1 -1
  1337. package/dist/tsconfig.build.tsbuildinfo +1 -1
  1338. package/package.json +11 -9
  1339. package/dist/esm/external-providers/services/flow-actor-design.backend.service.d.ts +0 -45
  1340. package/dist/esm/external-providers/services/flow-actor-design.backend.service.d.ts.map +0 -1
  1341. package/dist/esm/external-providers/services/flow-actor-design.backend.service.js +0 -22
  1342. package/dist/esm/external-providers/services/flow-actor-design.backend.service.js.map +0 -1
  1343. package/dist/esm/notifications/email/models/email-context-provider.interface.d.ts +0 -80
  1344. package/dist/esm/notifications/email/models/email-context-provider.interface.d.ts.map +0 -1
  1345. package/dist/esm/notifications/email/models/email-context-provider.interface.js +0 -25
  1346. package/dist/esm/notifications/email/models/email-context-provider.interface.js.map +0 -1
  1347. package/dist/esm/notifications/email/services/email-context-provider-registry.backend.service.d.ts +0 -49
  1348. package/dist/esm/notifications/email/services/email-context-provider-registry.backend.service.d.ts.map +0 -1
  1349. package/dist/esm/notifications/email/services/email-context-provider-registry.backend.service.js +0 -141
  1350. package/dist/esm/notifications/email/services/email-context-provider-registry.backend.service.js.map +0 -1
  1351. package/dist/esm/notifications/email/services/email-template-compiler.backend.service.d.ts +0 -37
  1352. package/dist/esm/notifications/email/services/email-template-compiler.backend.service.d.ts.map +0 -1
  1353. package/dist/esm/notifications/email/services/email-template-compiler.backend.service.js +0 -121
  1354. package/dist/esm/notifications/email/services/email-template-compiler.backend.service.js.map +0 -1
  1355. package/dist/esm/notifications/email/services/email-template-sandbox.backend.service.d.ts +0 -58
  1356. package/dist/esm/notifications/email/services/email-template-sandbox.backend.service.d.ts.map +0 -1
  1357. package/dist/esm/notifications/email/services/email-template-sandbox.backend.service.js +0 -223
  1358. package/dist/esm/notifications/email/services/email-template-sandbox.backend.service.js.map +0 -1
@@ -417,6 +417,66 @@ export declare const ADVANCEABLE_TASK_STATUSES: FlowsActors_Status[];
417
417
  * once its protocol meaning is decided.
418
418
  */
419
419
  export declare const LIVENESS_GOVERNED_TASK_STATUSES: FlowsActors_Status[];
420
+ /**
421
+ * WHY an absent lease is absent — the difference between a VERDICT and a failed enquiry.
422
+ *
423
+ * ## The inversion this vocabulary exists to name (review finding S-1a)
424
+ *
425
+ * "No lease" was a single answer with two incompatible meanings, and the sweep read both as
426
+ * death:
427
+ *
428
+ * - **a pod held this task and stopped refreshing** — the lease existed and lapsed. That is
429
+ * abandonment, and repairing the row is the sweep's whole purpose.
430
+ * - **this task's liveness was never observable at all** — the owning pod could not write the
431
+ * lease (its own Redis connection is broken while the sweep's is fine, or it started the turn
432
+ * with no client at all). The turn is HEALTHY and running; nothing about it is knowable from
433
+ * the lease.
434
+ *
435
+ * The two are indistinguishable from a single read of one key, so the write side leaves a second,
436
+ * long-lived ESTABLISHMENT marker whenever it successfully writes a lease. Its presence is what
437
+ * turns an absent lease into evidence; its absence is what makes the reading indeterminate.
438
+ *
439
+ * `isLeaseMechanismWritable` does NOT cover this: it is evaluated on the SWEEP's pod, so a
440
+ * per-pod outage on the executing pod passes it unnoticed. That check answers "can the fleet's
441
+ * liveness signal be trusted at all"; this answers "does this one task's missing lease mean
442
+ * anything".
443
+ *
444
+ * Four members, not two, because "do not act" has two causes that want opposite follow-ups: one
445
+ * makes progress toward a verdict on a later run, the other learned nothing at all and must not
446
+ * be recorded as though it had. Merging them is the semantic collapse this framework refuses.
447
+ */
448
+ export declare enum A2A_AbandonmentEvidence {
449
+ /**
450
+ * The task's lease was demonstrably established and has since lapsed. A pod claimed this work
451
+ * and stopped refreshing — the classic dead-pod signature, and a VERDICT.
452
+ */
453
+ LEASE_LAPSED = "lease-lapsed",
454
+ /**
455
+ * No establishment marker, but a PRIOR sweep run recorded the same absence and that observation
456
+ * is still standing. Two observations separated by at least one sweep period — a lease that a
457
+ * live pod merely failed to write once is rewritten on the next 10-second heartbeat, so an
458
+ * absence that survives a full period is not a missed write. A VERDICT.
459
+ */
460
+ CORROBORATED_ABSENCE = "corroborated-absence",
461
+ /**
462
+ * No establishment marker and no prior observation; THIS run recorded the first one. Not a
463
+ * verdict — the task is left exactly as it stands, and a later run decides.
464
+ */
465
+ FIRST_ABSENCE = "first-absence",
466
+ /**
467
+ * Nothing was learned: the observation itself could not be read or recorded. Not a verdict, and
468
+ * unlike {@link FIRST_ABSENCE} it makes no progress toward one — a later run starts over.
469
+ */
470
+ UNDETERMINED = "undetermined"
471
+ }
472
+ /**
473
+ * May the sweep turn this evidence into a DURABLE terminal status?
474
+ *
475
+ * Named rather than inlined at the one call site on purpose: this predicate IS the boundary
476
+ * between an enquiry and a verdict, and the sweep is the only consumer allowed to cross it. A
477
+ * second consumer that re-derives the set by hand is how the two come to disagree.
478
+ */
479
+ export declare function abandonmentEvidenceIsAVerdict(evidence: A2A_AbandonmentEvidence): boolean;
420
480
  /**
421
481
  * An outbound A2A `Task` — the `result` of `tasks/get`, `tasks/cancel`, and of a
422
482
  * `message/send` whose turn could not complete inline.
@@ -1 +1 @@
1
- {"version":3,"file":"a2a.backend.schemas.d.ts","sourceRoot":"","sources":["../../../../../../src/flows-actors/a2a/models/a2a.backend.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAuC,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhG;;;;;;;;;;GAUG;AAEH,+FAA+F;AAC/F,eAAO,MAAM,oBAAoB,UAAU,CAAC;A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ACjB;AAED,MAAM,WAAW,aAAa;IAC5B;;;;;;;OAOG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;;;;;;;;OAWG;IACH,mBAAmB,EAAE,kBAAkB,EAAE,CAAC;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE;QAAE,SAAS,EAAE,OAAO,CAAC;QAAC,iBAAiB,EAAE,OAAO,CAAA;KAAE,CAAC;IACjE,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;CACtC;AACD,sEAAsE"}
@@ -441,5 +441,68 @@ export const ADVANCEABLE_TASK_STATUSES = Object.values(FlowsActors_Status).filte
441
441
  * once its protocol meaning is decided.
442
442
  */
443
443
  export const LIVENESS_GOVERNED_TASK_STATUSES = Object.values(FlowsActors_Status).filter(isLivenessGovernedA2ATaskStatus);
444
+ /**
445
+ * WHY an absent lease is absent — the difference between a VERDICT and a failed enquiry.
446
+ *
447
+ * ## The inversion this vocabulary exists to name (review finding S-1a)
448
+ *
449
+ * "No lease" was a single answer with two incompatible meanings, and the sweep read both as
450
+ * death:
451
+ *
452
+ * - **a pod held this task and stopped refreshing** — the lease existed and lapsed. That is
453
+ * abandonment, and repairing the row is the sweep's whole purpose.
454
+ * - **this task's liveness was never observable at all** — the owning pod could not write the
455
+ * lease (its own Redis connection is broken while the sweep's is fine, or it started the turn
456
+ * with no client at all). The turn is HEALTHY and running; nothing about it is knowable from
457
+ * the lease.
458
+ *
459
+ * The two are indistinguishable from a single read of one key, so the write side leaves a second,
460
+ * long-lived ESTABLISHMENT marker whenever it successfully writes a lease. Its presence is what
461
+ * turns an absent lease into evidence; its absence is what makes the reading indeterminate.
462
+ *
463
+ * `isLeaseMechanismWritable` does NOT cover this: it is evaluated on the SWEEP's pod, so a
464
+ * per-pod outage on the executing pod passes it unnoticed. That check answers "can the fleet's
465
+ * liveness signal be trusted at all"; this answers "does this one task's missing lease mean
466
+ * anything".
467
+ *
468
+ * Four members, not two, because "do not act" has two causes that want opposite follow-ups: one
469
+ * makes progress toward a verdict on a later run, the other learned nothing at all and must not
470
+ * be recorded as though it had. Merging them is the semantic collapse this framework refuses.
471
+ */
472
+ export var A2A_AbandonmentEvidence;
473
+ (function (A2A_AbandonmentEvidence) {
474
+ /**
475
+ * The task's lease was demonstrably established and has since lapsed. A pod claimed this work
476
+ * and stopped refreshing — the classic dead-pod signature, and a VERDICT.
477
+ */
478
+ A2A_AbandonmentEvidence["LEASE_LAPSED"] = "lease-lapsed";
479
+ /**
480
+ * No establishment marker, but a PRIOR sweep run recorded the same absence and that observation
481
+ * is still standing. Two observations separated by at least one sweep period — a lease that a
482
+ * live pod merely failed to write once is rewritten on the next 10-second heartbeat, so an
483
+ * absence that survives a full period is not a missed write. A VERDICT.
484
+ */
485
+ A2A_AbandonmentEvidence["CORROBORATED_ABSENCE"] = "corroborated-absence";
486
+ /**
487
+ * No establishment marker and no prior observation; THIS run recorded the first one. Not a
488
+ * verdict — the task is left exactly as it stands, and a later run decides.
489
+ */
490
+ A2A_AbandonmentEvidence["FIRST_ABSENCE"] = "first-absence";
491
+ /**
492
+ * Nothing was learned: the observation itself could not be read or recorded. Not a verdict, and
493
+ * unlike {@link FIRST_ABSENCE} it makes no progress toward one — a later run starts over.
494
+ */
495
+ A2A_AbandonmentEvidence["UNDETERMINED"] = "undetermined";
496
+ })(A2A_AbandonmentEvidence || (A2A_AbandonmentEvidence = {}));
497
+ /**
498
+ * May the sweep turn this evidence into a DURABLE terminal status?
499
+ *
500
+ * Named rather than inlined at the one call site on purpose: this predicate IS the boundary
501
+ * between an enquiry and a verdict, and the sweep is the only consumer allowed to cross it. A
502
+ * second consumer that re-derives the set by hand is how the two come to disagree.
503
+ */
504
+ export function abandonmentEvidenceIsAVerdict(evidence) {
505
+ return evidence === A2A_AbandonmentEvidence.LEASE_LAPSED || evidence === A2A_AbandonmentEvidence.CORROBORATED_ABSENCE;
506
+ }
444
507
  /** @wildo_source:part:end saas.backend.flows-actors.a2a-agent-card */
445
508
  //# sourceMappingURL=a2a.backend.schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"a2a.backend.schemas.js","sourceRoot":"","sources":["../../../../../../src/flows-actors/a2a/models/a2a.backend.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mCAAmC,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhG;;;;;;;;;;GAUG;AAEH,+FAA+F;AAC/F,MAAM,CAAC,MAAM,oBAAoB,GAAG,OAAO,CAAC;AAE5C;;;;;GAKG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,SAAS,CAAC;AAE/C,qFAAqF;AACrF,MAAM,CAAN,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,gCAAa,CAAA;IACb,kCAAe,CAAA;AACjB,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAG1B,CAAC,CAAC,MAAM,CAAC;IACZ,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC;IACvB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAEH;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAuC,CAAC,CAAC,WAAW,CAAC;IACrF,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAEH,yFAAyF;AACzF,MAAM,CAAC,MAAM,wBAAwB,GAOh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AAO,CAAC,EAAE,aAAa,CAAC,MAAM;CACC,CAAC;AAEtD,mEAAmE;AACnE,MAAM,UAAU,cAAc,CAAC,MAA0B;IACvD,OAAO,gCAAgC,CAAC,MAAM,CAAC,CAAC;AAClD,CAAC;AAED,6EAA6E;AAC7E,MAAM,UAAU,uBAAuB,CAAC,MAA0B;IAChE,OAAO,wBAAwB,CAAC,GAAG,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;AAC9D,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAW,mCAAmC,CAAC;AAEpF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAA+B,IAAI,GAAG,CAAC;IAC7E,aAAa,CAAC,cAAc;IAC5B,aAAa,CAAC,aAAa;CAC5B,CAAC,CAAC;AAEH;;;;;;GAMG;AACH,MAAM,UAAU,+BAA+B,CAAC,MAA0B;IACxE,MAAM,KAAK,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;IACrC,OAAO,CAAC,wBAAwB,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,2BAA2B,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACzF,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,yBAAyB,GACnC,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAA0B,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,uBAAuB,CAAC,MAAM,CAAC,CAAC,CAAC;AAEnH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,+BAA+B,GACzC,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAA0B,CAAC,MAAM,CAAC,+BAA+B,CAAC,CAAC;AAiHtG,sEAAsE","sourcesContent":["import { z } from 'zod';\nimport { FLOWS_ACTORS_DEFAULT_AGENT_INSTANCE, FlowsActors_Status } from '@wildo-ai/saas-models';\n\n/**\n * Backend-local contracts for the inbound Agent2Agent (A2A) JSON-RPC transport.\n * The public card advertises both A2A 1.0 and the legacy 0.2.5 dialect; the\n * controller normalizes both vocabularies onto these canonical message, task,\n * push-notification and agent-card shapes.\n *\n * Kept backend-local (not `saas-models`) on purpose: no frontend or\n * cross-package consumer owns the A2A wire representation. The conversational\n * runtime remains transport-agnostic; this module owns only the external\n * protocol boundary and the dialect-neutral shapes used by the controller.\n */\n\n/** Legacy scalar version retained for 0.2.5 clients that do not read `supportedInterfaces`. */\nexport const A2A_PROTOCOL_VERSION = '0.2.5';\n\n/**\n * The transport name for this surface's JSON-RPC binding, as `AgentInterface.transport` spells it.\n *\n * spec-cite: A2A 1.0 §5.3 — the binding table's JSON-RPC column; the proto's `AgentInterface`\n * carries the transport alongside the url and version.\n */\nexport const A2A_JSONRPC_TRANSPORT = 'JSONRPC';\n\n/** A2A message roles. External callers send `user`; the agent replies as `agent`. */\nexport enum A2A_MessageRole {\n USER = 'user',\n AGENT = 'agent',\n}\n\n/**\n * A single text part of an A2A message. A2A also defines `file` and `data`\n * parts; this slice consumes/produces TEXT only (the conversational runtime is\n * text-in/markdown-out) and fails closed on a message with no text part.\n */\nexport const A2A_TextPartSchema: z.ZodObject<{\n kind: z.ZodLiteral<'text'>;\n text: z.ZodString;\n}> = z.object({\n kind: z.literal('text'),\n text: z.string(),\n});\n\n/**\n * An inbound A2A part. Non-text parts are tolerated on the wire (passthrough,\n * unknown-key-preserving) but ignored by the text-only mapping — we never reject\n * a caller for sending a richer part, we just read the text.\n */\nexport const A2A_InboundPartSchema: z.ZodType<Record<string, unknown>> = z.looseObject({\n kind: z.string(),\n});\n\n/** Inbound A2A message (the `params.message` of a `message/send` / `message/stream`). */\nexport const A2A_InboundMessageSchema: z.ZodObject<{\n role: z.ZodOptional<z.ZodEnum<typeof A2A_MessageRole>>;\n parts: z.ZodArray<typeof A2A_InboundPartSchema>;\n messageId: z.ZodOptional<z.ZodString>;\n taskId: z.ZodOptional<z.ZodString>;\n contextId: z.ZodOptional<z.ZodString>;\n metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;\n}> = z.object({\n role: z.enum(A2A_MessageRole).optional(),\n parts: z.array(A2A_InboundPartSchema),\n messageId: z.string().optional(),\n /**\n * A2A task continuation — \"this message belongs to task X\".\n *\n * DECLARED AND REJECTED, not declared-and-ignored (review finding A3-9). This transport opens a\n * task per non-inline turn and has no continuation runtime, so honouring the field is a later\n * phase. The two alternatives to rejecting are both worse: dropping it from the schema strips it\n * silently (still reading as supported), and accepting it would open a SECOND task for a message\n * the client explicitly attached to a first — a divergence the client cannot see. The controller\n * therefore answers `INVALID_PARAMS` naming `contextId` as the supported way to continue a thread.\n */\n taskId: z.string().optional(),\n contextId: z.string().optional(),\n metadata: z.record(z.string(), z.unknown()).optional(),\n});\n\n/**\n * `configuration` of an A2A `message/send` / `message/stream` call.\n *\n * ## `blocking` is the protocol's field. `returnImmediately` never existed.\n *\n * ⚠️ An earlier revision keyed the whole task plane on `configuration.returnImmediately`, described\n * as \"the PROTOCOL's own answer to whether this turn is inline\" and supported by quotations\n * attributed to the specification. **The field is not in A2A, and the quotations are not in the\n * specification.** v0.2.5 defines `MessageSendConfiguration` as\n * `{ acceptedOutputModes, historyLength?, pushNotificationConfig?, blocking? }`, where `blocking` is\n * documented as \"If the server should treat the client as a blocking request\".\n *\n * The consequence was not cosmetic: every mechanism built on the trigger — task materialisation,\n * `tasks/get`, `tasks/cancel`, the Redis lease and cancel broadcast, the compare-and-swap, the\n * abandoned-task sweep — was reachable only by a client sending a Wildo-invented field. A\n * conformant client asking for exactly this behaviour with `{\"blocking\": false}` got a blocking\n * call and could never obtain a task id.\n *\n * The sense is also INVERTED from the field it replaced, so this is not a rename:\n * `returnImmediately: true` ⇒ `blocking: false`.\n *\n * **Absent means blocking.** The spec makes the field optional and prescribes no default, so the\n * choice is ours: a client that says nothing keeps the inline `Message` reply, which preserves the\n * hot-path property D-P1-1 exists for (no task row per turn) and changes nothing for existing\n * callers. Only an explicit `blocking: false` opts into a task.\n *\n * `z.looseObject` on purpose: the configuration carries further fields this transport does not\n * implement yet (`acceptedOutputModes`, `historyLength`, `pushNotificationConfig`), and dropping\n * unknown keys silently would make a future client's request look accepted while its intent was\n * discarded.\n */\nexport const A2A_MessageSendConfigurationSchema: z.ZodType<Record<string, unknown>> = z.looseObject({\n blocking: z.boolean().optional(),\n});\n\n/**\n * Does this configuration ask for a NON-BLOCKING turn — i.e. a task the client will poll?\n *\n * The one place the protocol field is interpreted, so the inversion lives here rather than at each\n * call site. `undefined` is deliberately NOT non-blocking; see the schema note above.\n */\nexport function requestsNonBlockingTurn(configuration: unknown): boolean {\n return (configuration as { blocking?: unknown } | undefined)?.blocking === false;\n}\n\n/** `params` of an A2A `message/send` / `message/stream` call. */\n/**\n * ⚠️ `looseObject`, and the strict version was a REAL defect — found live, not in review.\n *\n * A2A 1.0 puts its non-blocking flag at the TOP LEVEL (`return_immediately`), where v0.2.5 nests it\n * under `configuration.blocking`. A strict `z.object` silently STRIPS unknown top-level keys, so\n * `return_immediately` never survived the parse: a 1.0 client's request for a non-blocking turn was\n * discarded, the turn blocked, and the response was a `Message` where the client expected a `Task`.\n * No error anywhere — the client simply looked broken.\n *\n * The reasoning was already written down TWICE in this very file, on\n * `A2A_MessageSendConfigurationSchema` and `A2A_TaskIdParamsSchema`: *\"dropping unknown keys\n * silently would make a future client's request look accepted while its intent was discarded.\"*\n * This schema was the one sibling that did not follow it, and the cost was exactly the one predicted.\n */\nexport const A2A_MessageSendParamsSchema: z.ZodType<{\n message: z.infer<typeof A2A_InboundMessageSchema>;\n configuration?: Record<string, unknown>;\n metadata?: Record<string, unknown>;\n}> = z.looseObject({\n message: A2A_InboundMessageSchema,\n configuration: A2A_MessageSendConfigurationSchema.optional(),\n metadata: z.record(z.string(), z.unknown()).optional(),\n}) as unknown as z.ZodType<{\n message: z.infer<typeof A2A_InboundMessageSchema>;\n configuration?: Record<string, unknown>;\n metadata?: Record<string, unknown>;\n}>;\n\n/**\n * `params` of an A2A `tasks/get` / `tasks/cancel` call — both address a task by id.\n *\n * `looseObject` for the same reason the send configuration uses it (review finding L-4): the spec\n * carries further fields here — `historyLength` on `tasks/get` — that this transport does not\n * implement. A strict object DROPS them silently, so the request looks accepted while the client's\n * intent was discarded. Tolerating-and-ignoring is honest; the fields simply have no effect yet.\n *\n * `id` stays `z.string()`, which is also the NoSQL-operator-injection boundary: an object here\n * would otherwise reach the owner filter as a query operator.\n */\nexport const A2A_TaskIdParamsSchema: z.ZodType<{ id: string; metadata?: Record<string, unknown> }> = z.looseObject({\n id: z.string().min(1),\n metadata: z.record(z.string(), z.unknown()).optional(),\n}) as unknown as z.ZodType<{ id: string; metadata?: Record<string, unknown> }>;\nexport type A2A_TaskIdParams = z.infer<typeof A2A_TaskIdParamsSchema>;\n\n/** JSON-RPC 2.0 request envelope for the A2A endpoint. */\nexport const A2A_JsonRpcRequestSchema: z.ZodObject<{\n jsonrpc: z.ZodLiteral<'2.0'>;\n id: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>;\n method: z.ZodString;\n params: z.ZodOptional<z.ZodUnknown>;\n}> = z.object({\n jsonrpc: z.literal('2.0'),\n id: z.union([z.string(), z.number(), z.null()]),\n method: z.string(),\n params: z.unknown().optional(),\n});\n\nexport type A2A_JsonRpcRequest = z.infer<typeof A2A_JsonRpcRequestSchema>;\nexport type A2A_MessageSendParams = z.infer<typeof A2A_MessageSendParamsSchema>;\n\n/**\n * JSON-RPC error codes for this transport, split into the two ranges that actually exist.\n *\n * ## The numbering is SPEC-CONFORMANT, and that was a correction\n *\n * A2A assigns **SIX** codes in this block: `-32001` TaskNotFound, `-32002` TaskNotCancelable,\n * `-32003` PushNotificationNotSupported, `-32004` UnsupportedOperation, `-32005`\n * ContentTypeNotSupported, `-32006` InvalidAgentResponse. `-32007`..`-32009` are UNASSIGNED in\n * v0.2.5.\n * spec-cite: A2A v0.2.5 §8.2 (error code assignments)\n *\n * An earlier revision of this enum occupied five of those slots with Wildo meanings, so a\n * conformant client mis-read every one — an unknown skill answered `-32002`, which the spec defines\n * as TaskNotCancelable, so the client was told the task could not be canceled.\n * spec-cite: N/A — that reading is the MEANING a client derives from the code, not a quotation.\n *\n * spec-cite: N/A — the sentence quoted just below is this file's OWN retired claim, reproduced so\n * the error is legible; it is not attributed to the specification.\n *\n * ⚠️ THE COUNT HAS NOW BEEN WRONG TWICE IN THIS BLOCK, which is worth more than the correction.\n * The first note flagged only the `-32001` clash and picked `-32005` without noticing it too was\n * assigned. The SECOND said the spec assigns nine and that \"every slot was taken; there was never a\n * free one to move into\" — and a later pass added a `spec-cite:` marker directly beneath it, so a\n * citation ended up vouching for a number nobody had checked. A citation records WHERE to look; it\n * is not evidence that anyone looked. Re-derive counts from the document, never from this block.\n *\n * Reserving `-32007`..`-32009` rather than using them is therefore a WILDO CHOICE, not a necessity:\n * they are free today, and leaving them alone keeps the Wildo range from colliding with codes a\n * future A2A version may assign.\n *\n * The resolution keeps the two ranges apart:\n *\n * - **-32001..-32009 — A2A's, used ONLY with A2A's meanings.** Adding a code here means adopting\n * the spec's error for it, never inventing one.\n * - **-32010..-32099 — Wildo's.** JSON-RPC 2.0 reserves `-32000..-32099` for implementation-defined\n * server errors, and A2A assigns nothing above `-32006`, so this is genuinely free. Wildo\n * concerns that the protocol has no vocabulary for (authentication, skill routing, rate limits,\n * spend caps) live here and cannot collide with a future spec code below `-32010`.\n *\n * Renumbering was a WIRE change to a shipped surface; it is safe here only because this is a\n * greenfield project, and the e2e assertions that pinned the old literals were moved with it.\n */\nexport enum A2A_JsonRpcErrorCode {\n // ── JSON-RPC 2.0 standard ────────────────────────────────────────────────────────────────\n PARSE_ERROR = -32700,\n INVALID_REQUEST = -32600,\n METHOD_NOT_FOUND = -32601,\n INVALID_PARAMS = -32602,\n INTERNAL_ERROR = -32603,\n\n // ── A2A-assigned (-32001..-32009): the spec's codes, with the spec's meanings ─────────────\n /** A2A `TaskNotFoundError`: the addressed task does not exist, or is not visible to this caller. */\n TASK_NOT_FOUND = -32001,\n /**\n * A2A `TaskNotCancelableError`: the task is already terminal, so it cannot be canceled.\n *\n * spec-cite: A2A v0.2.5 §7.4 (tasks/cancel error list, permissive tone) — and N/A for the quoted\n * `\"MUST NOT succeed\"`, which appears here BECAUSE it is false, and for the two client-outcome\n * phrases, which are not document text.\n *\n * ⚠️ A WILDO DESIGN DECISION, not a protocol requirement — and an earlier revision of this note\n * claimed otherwise by quoting `\"MUST NOT succeed\"` as specification text. **That string is not in\n * v0.2.5.** §7.4 is permissive in tone (\"the server will attempt to cancel… but success is not\n * guaranteed\") and lists `TaskNotCancelableError` among its example errors. So the spec PERMITS\n * this answer; it does not mandate it.\n *\n * spec-cite: N/A — the two phrases below are the OUTCOMES a client could not tell apart, not\n * text from the document.\n *\n * The reason we choose it stands on its own, which is why the correction changes no behaviour:\n * answering 200 with the task makes \"I stopped it\" and \"it had already finished\"\n * indistinguishable on the wire, and those are different outcomes to anything reconciling state.\n * The task remains readable via `tasks/get` either way.\n */\n TASK_NOT_CANCELABLE = -32002,\n /**\n * A2A `PushNotificationNotSupportedError`: the agent does not support webhook task updates.\n *\n * Returned by all four push-notification-configuration operations whenever the agent card\n * advertises `capabilities.pushNotifications: false`. The norm makes this a MUST, and it is not\n * interchangeable with `METHOD_NOT_FOUND`: a client that receives `-32601` cannot distinguish\n * \"this agent does not do push notifications\" from \"this agent is not A2A-compliant\", whereas\n * `-32003` tells it exactly which capability to stop asking for.\n *\n * spec-cite: A2A 1.0 §3.3.4 — *\"If `AgentCard.capabilities.pushNotifications` is `false` or not\n * present, operations related to push notification configuration (Create, Get, List, Delete)\n * **MUST** return `PushNotificationNotSupportedError`\"* — and §5.4, which assigns it the JSON-RPC\n * code `-32003` (gRPC `FAILED_PRECONDITION`, HTTP `400 Bad Request`).\n */\n PUSH_NOTIFICATION_NOT_SUPPORTED = -32003,\n /**\n * A2A `UnsupportedOperationError`: the agent does not support this operation.\n *\n * Distinct from `METHOD_NOT_FOUND` in exactly the way `-32003` is: `-32601` says \"this server does\n * not know that method\", which a client cannot tell from a misrouted or non-compliant server, so\n * it retries or reports a transport fault. `-32004` says \"this agent knows the operation and does\n * not offer it\" — permanent, cacheable, actionable.\n *\n * spec-cite: A2A 1.0 §5.4 assigns `UnsupportedOperationError` the JSON-RPC code `-32004` (gRPC\n * `FAILED_PRECONDITION`, HTTP `400 Bad Request`); §3.3.4 — *\"If `AgentCard.capabilities.\n * extendedAgentCard` is `false` or not present, attempts to call the Get Extended Agent Card\n * operation **MUST** return `UnsupportedOperationError`\"*.\n */\n UNSUPPORTED_OPERATION = -32004,\n\n // ── Wildo-assigned (-32010..-32099): concerns A2A has no vocabulary for ───────────────────\n /** The caller is unauthenticated / the token is invalid. */\n UNAUTHENTICATED = -32010,\n /** The referenced skill / actor system does not exist, or is outside this agent's subset. */\n SKILL_NOT_FOUND = -32011,\n /**\n * The caller exceeded the per-principal turn rate cap. Ridden by a transport-level HTTP 429 +\n * `Retry-After` (throttling is a transport concern), unlike the codes above which ride HTTP 200\n * per JSON-RPC. The body stays a valid JSON-RPC error so strict clients still parse it.\n */\n RATE_LIMITED = -32012,\n /**\n * The caller's tenant has exhausted its plan-granted LLM token budget for the current period.\n * Ridden by a transport-level **HTTP 402** — deliberately NOT the 429 + `Retry-After` of\n * {@link RATE_LIMITED}: a spend cap is not a rolling-window throttle, so the client's correct\n * reaction is to upgrade the plan or wait for the period to roll, not to retry after N seconds.\n * 402 matches the existing `FEATURE_LIMIT_EXCEEDED` / `INSUFFICIENT_CREDITS` billing mapping.\n */\n BUDGET_EXCEEDED = -32013,\n}\n\n/**\n * @wildo_source:part:start saas.backend.flows-actors.a2a-task-surface facet:layer:backend facet:family:flows-actors\n *\n * The A2A TASK surface your app exposes to external agents. You never author these —\n * the engine serves them — but knowing the contract tells you what an agent client can\n * do with a turn your actor system runs.\n *\n * A task is materialised ONLY when a turn cannot complete inline:\n * - the client sent `configuration.blocking: false` (the A2A field — absent means blocking), or\n * - the turn reached an interrupted state (a human-in-the-loop approval pause).\n *\n * BOTH triggers are live. The interrupted-state arm needs a runtime that can pause a turn; that\n * is the human-in-the-loop approval gate, and a paused turn now materialises a task carrying\n * `input-required` on all three transports (blocking send, non-blocking send, stream). An earlier\n * revision of this note warned that the arm was inert and `input-required` never emitted — true\n * when written, and left here in corrected form because a reader who remembers the old claim would\n * otherwise conclude the state is decorative and safe to drop.\n *\n * A blocking turn that answers in one shot returns an A2A `Message` and writes no task\n * row at all. Both shapes are protocol-conformant: the specification types the\n * `message/send` result as `Task | Message`, so returning either is conformance rather than a\n * shortcut. The inline case is the default so a chatty agent does not accumulate a row per turn.\n * spec-cite: A2A v0.2.5 §7.1 (SendMessageResponse result type)\n *\n *\n * Once a task exists the client can poll it with `tasks/get` and stop it with\n * `tasks/cancel`. Cancel is a STATUS TRANSITION, never a delete: the spec requires it to\n * return the task's updated state, so a cancelled task stays readable.\n *\n * ⚠️ **What cancel does and does not guarantee.** It always records the cancellation, and\n * it aborts the model call for the streaming API transports — which is every agent using\n * the standard text/chat operations. It does NOT interrupt two cases: an agent whose\n * transport buffers its whole reply (a CLI-transport agent, or a non-text operation), and\n * a tool call already in flight — those finish, and only then does the turn stop. So\n * cancel is best read as \"stop as soon as the runtime is able\", not \"stop instantly\".\n * The task record is the truth about the request either way.\n *\n * Import path: `@wildo-ai/saas-backend-lib`.\n */\n/**\n * ⚠️ DOCUMENTATION-ONLY. Nothing implements this interface — it exists to give the anchored\n * excerpt a typed shape an app builder can read. The real methods are\n * `A2ATaskBackendService.readTask` / `advanceTask`, whose signatures differ (they take an\n * owner scope). Do not `implements` this; keep it in step with the service by hand, or\n * delete it if it ever drifts.\n */\nexport interface A2A_TaskSurfaceContract {\n /** `tasks/get` — read one task by id. Returns the task in its current state. */\n tasksGet: (taskId: string) => Promise<A2A_OutboundTask | undefined>;\n /** `tasks/cancel` — request cancellation; returns the task's UPDATED state. */\n tasksCancel: (taskId: string) => Promise<A2A_OutboundTask | undefined>;\n}\n\n/**\n * A2A task lifecycle states — the PROTOCOL's closed vocabulary (v0.2.5).\n *\n * Declared as a named enum rather than inline literals because it is exactly the\n * kind of closed semantic vocabulary that must have one runtime source: the\n * projection from `FlowsActors_Status` reads it, the transport emits it, and tests\n * pin it.\n *\n * Not every member is emitted by this transport today — `AUTH_REQUIRED` and\n * `REJECTED` have no `FlowsActors_Status` counterpart and are never produced. They\n * are declared because the vocabulary belongs to the protocol, not to us: a client\n * may legitimately receive them from another A2A server, and omitting them would\n * invite a future contributor to invent a second, partial enum.\n */\nexport enum A2A_TaskState {\n /** Acknowledged, not yet processing. */\n SUBMITTED = 'submitted',\n /** Actively being processed. */\n WORKING = 'working',\n /**\n * Interrupted (non-terminal): the agent needs input. The current transport emits this when a\n * user-delegated turn reaches an approval-gated tool, persists the signed pending decision and\n * materialises an addressable task. Approval or refusal resumes that same execution; machine\n * principals are denied rather than parked because no named person can answer for them.\n */\n INPUT_REQUIRED = 'input-required',\n /** Interrupted (non-terminal): authentication needed. NOT emitted by this transport. */\n AUTH_REQUIRED = 'auth-required',\n /** Terminal: finished successfully. */\n COMPLETED = 'completed',\n /** Terminal: finished with error. */\n FAILED = 'failed',\n /** Terminal: canceled before completion. */\n CANCELED = 'canceled',\n /** Terminal: refused by the agent. NOT emitted by this transport. */\n REJECTED = 'rejected',\n /**\n * Terminal: the agent cannot determine the task's state.\n *\n * Declared for the same reason as `AUTH_REQUIRED` and `REJECTED` — the enum's rule is that the\n * protocol vocabulary is represented in full so nobody invents a second, partial one. It was\n * simply missed: the spec defines NINE states and this declared eight (review finding G5-6).\n * Never emitted by this transport, which always knows a task's state or cannot find the row.\n */\n UNKNOWN = 'unknown',\n}\n\n/** States after which no further work occurs — a terminal task cannot be canceled. */\nexport const A2A_TERMINAL_TASK_STATES: ReadonlySet<A2A_TaskState> = new Set([\n A2A_TaskState.COMPLETED,\n A2A_TaskState.FAILED,\n A2A_TaskState.CANCELED,\n A2A_TaskState.REJECTED,\n A2A_TaskState.UNKNOWN,\n]);\n/** @wildo_source:part:end saas.backend.flows-actors.a2a-task-surface */\n\n/**\n * Deliberately OUTSIDE the `@wildo_source` anchor above: this is an authoring correction for\n * framework maintainers, and the anchored span ships verbatim into application-facing skills\n * where neither the anchor nor this repository's revision history exists.\n *\n * ⚠️ An earlier revision of the `message/send` paragraph above supported its conclusion with a\n * QUOTATION — \"the agent MAY create a new Task … or MAY return a direct Message response for\n * simple interactions\" — attributed to the A2A specification. It is not in the document.\n * spec-cite: N/A — that sentence is quoted precisely BECAUSE it is absent from A2A v0.2.5; it is\n * the defect, not the standard's words.\n *\n * The conclusion was right and the authority was invented, and because the block was anchored it\n * shipped that invention into the app-facing skill. Cite the TYPE, which is checkable in one step,\n * not a remembered sentence. See `.claude/rules/external-specification-citations.md`.\n */\n\n/**\n * Project the engine's persisted lifecycle status onto the A2A protocol vocabulary.\n *\n * This is the ONLY place the two vocabularies meet, and it is exhaustive by\n * construction — `FlowsActors_Status` is a closed enum, so adding a member without\n * deciding its protocol meaning is a compile error at the `satisfies` below rather\n * than a silent fallthrough to some default state.\n *\n * Both `READY` and `PENDING` project to `SUBMITTED`: the protocol draws its line at\n * \"acknowledged but not yet processing\", and our two pre-processing states are on the\n * same side of it. `ABORTED` projects to `FAILED` rather than `CANCELED` deliberately —\n * `CANCELED` means a caller asked for it, whereas `ABORTED` is the runtime halting\n * itself (e.g. a tripped circuit breaker), which a client should read as a failure it\n * did not request.\n */\nconst A2A_STATE_BY_FLOWS_ACTORS_STATUS = {\n [FlowsActors_Status.READY]: A2A_TaskState.SUBMITTED,\n [FlowsActors_Status.PENDING]: A2A_TaskState.SUBMITTED,\n [FlowsActors_Status.PROCESSING]: A2A_TaskState.WORKING,\n [FlowsActors_Status.AWAITING_APPROVAL]: A2A_TaskState.INPUT_REQUIRED,\n [FlowsActors_Status.COMPLETED]: A2A_TaskState.COMPLETED,\n [FlowsActors_Status.FAILED]: A2A_TaskState.FAILED,\n [FlowsActors_Status.CANCELLED]: A2A_TaskState.CANCELED,\n [FlowsActors_Status.ABORTED]: A2A_TaskState.FAILED,\n} satisfies Record<FlowsActors_Status, A2A_TaskState>;\n\n/** Project a persisted task status onto its A2A protocol state. */\nexport function toA2ATaskState(status: FlowsActors_Status): A2A_TaskState {\n return A2A_STATE_BY_FLOWS_ACTORS_STATUS[status];\n}\n\n/** True when the persisted status is one the protocol treats as terminal. */\nexport function isTerminalA2ATaskStatus(status: FlowsActors_Status): boolean {\n return A2A_TERMINAL_TASK_STATES.has(toA2ATaskState(status));\n}\n\n/**\n * The stored instance identity of the DEFAULT (unnamed) A2A agent.\n *\n * Declared instance refs are constrained to `^[a-z0-9][a-z0-9-]*$`, so the `*` characters make\n * this value unreachable by any real ref — the default agent gets its own identity on the task\n * plane without a collision, and without the filter having to special-case an absent field.\n */\nexport const A2A_DEFAULT_INSTANCE_REF: string = FLOWS_ACTORS_DEFAULT_AGENT_INSTANCE;\n\n/**\n * States in which a task is waiting on something OUTSIDE the runtime — a human approval, an\n * authentication step — rather than executing on any pod.\n *\n * ## Why this is a THIRD class and not a shade of \"non-terminal\" (review finding A3-3)\n *\n * The liveness design asks one question: \"a pod claimed this work — is that pod still alive?\"\n * That question is only meaningful while a pod is actually executing. Splitting statuses merely\n * into terminal / non-terminal conflates two very different non-terminal situations:\n *\n * - **executing** — a pod holds the turn and refreshes a lease. No lease ⇒ the pod died ⇒ the\n * task is abandoned, and reporting the stored `working` forever would be a lie.\n * - **interrupted** — nobody is executing, deliberately. The lease is released the moment the\n * turn unwinds, so a paused task has no lease BY DESIGN. Applying the abandonment rule here\n * reads a correct pause as a dead pod.\n *\n * With only the two-way split, a task paused for approval read as `failed` on the very next\n * poll and the sweep then made that durable within the grace window — so the approval seam\n * Phase 1 claims to have prepared would have been destroyed by Phase 1's own liveness rules\n * before Phase 2 could use it. A human approval takes minutes to hours; a lease TTL is 30s.\n *\n * Deliberately OUTSIDE the `@wildo_source` anchor above: this is engine-internal liveness\n * taxonomy, not app-facing protocol surface, and widening the shipped contract with states this\n * transport cannot yet reach is the mistake finding G2-3 recorded.\n */\nexport const A2A_INTERRUPTED_TASK_STATES: ReadonlySet<A2A_TaskState> = new Set([\n A2A_TaskState.INPUT_REQUIRED,\n A2A_TaskState.AUTH_REQUIRED,\n]);\n\n/**\n * True when the task's status is one whose truthfulness depends on a pod being alive — i.e.\n * neither terminal nor interrupted.\n *\n * This is the ONLY predicate that should gate derive-on-read downgrades and the abandoned-task\n * sweep. Using `!isTerminalA2ATaskStatus(...)` for that purpose is the A3-3 defect.\n */\nexport function isLivenessGovernedA2ATaskStatus(status: FlowsActors_Status): boolean {\n const state = toA2ATaskState(status);\n return !A2A_TERMINAL_TASK_STATES.has(state) && !A2A_INTERRUPTED_TASK_STATES.has(state);\n}\n\n/**\n * The persisted statuses a task may still be advanced FROM — everything non-terminal.\n *\n * This is the compare-and-swap set for `advanceTask` (finding A3-2). Note it deliberately\n * INCLUDES the interrupted states: a task paused for approval must remain cancellable, and\n * Phase 2 must be able to resume it. \"Cannot be advanced\" means terminal, nothing else.\n */\nexport const ADVANCEABLE_TASK_STATUSES: FlowsActors_Status[] =\n (Object.values(FlowsActors_Status) as FlowsActors_Status[]).filter((status) => !isTerminalA2ATaskStatus(status));\n\n/**\n * The persisted statuses whose stored value is only trustworthy while a pod is alive — the\n * candidate set for the abandoned-task sweep and for the derive-on-read downgrade.\n *\n * Strictly NARROWER than {@link ADVANCEABLE_TASK_STATUSES}: an interrupted task is advanceable\n * but is not abandoned merely because no pod holds it. Both are derived from the single status\n * projection above, so a new `FlowsActors_Status` member lands in the right set automatically\n * once its protocol meaning is decided.\n */\nexport const LIVENESS_GOVERNED_TASK_STATUSES: FlowsActors_Status[] =\n (Object.values(FlowsActors_Status) as FlowsActors_Status[]).filter(isLivenessGovernedA2ATaskStatus);\n\n/**\n * An outbound A2A `Task` — the `result` of `tasks/get`, `tasks/cancel`, and of a\n * `message/send` whose turn could not complete inline.\n *\n * `status.state` is the projection of the persisted `FlowsActors_Status`; `status.timestamp`\n * is when that state was last advanced, so a polling client can tell a fresh `working`\n * from a stale one.\n */\nexport interface A2A_OutboundTask {\n kind: 'task';\n id: string;\n contextId: string;\n status: {\n state: A2A_TaskState;\n timestamp: string;\n /** Present when the state carries an agent-visible message (e.g. why input is required). */\n message?: A2A_OutboundMessage;\n };\n artifacts?: { artifactId: string; name?: string; parts: { kind: string; [k: string]: unknown }[] }[];\n metadata?: Record<string, unknown>;\n}\n\n/** An outbound A2A text message (the `result` of a blocking `message/send`). */\nexport interface A2A_OutboundMessage {\n kind: 'message';\n role: A2A_MessageRole.AGENT;\n parts: { kind: 'text'; text: string }[];\n messageId: string;\n contextId: string;\n metadata?: Record<string, unknown>;\n}\n\n/**\n * @wildo_source:part:start saas.backend.flows-actors.a2a-agent-card facet:layer:backend facet:family:flows-actors\n *\n * The A2A discovery contract an external agent fetches at\n * `GET /a2a/.well-known/agent-card.json` to learn what your app exposes over\n * Agent2Agent and how to authenticate. It is SERVED by the engine — you never\n * author it: every ACTOR system with an AGENTIC actor bound to an agent is\n * exposed automatically as one `A2A_Skill` (`skill.id === system.ref`). External\n * agents then POST JSON-RPC `message/send` / `message/stream` to the card `url`.\n * Import path: `@wildo-ai/saas-backend-lib`.\n */\n\n/** One advertised A2A skill = one exposed agentic actor system (`id === system.ref`). */\nexport interface A2A_Skill {\n id: string;\n name: string;\n description: string;\n tags: string[];\n examples?: string[];\n}\n\n/**\n * The served A2A agent card. `url` is the absolute task-endpoint URI AND the\n * agent's canonical audience: BOTH a USER-delegated and a MACHINE (client-credentials)\n * inbound token MUST carry it as `aud` (RFC 8707 / external-access D7) — a token minted for\n * another surface (including the generic API audience, per the 2026-07-29 flip) is rejected.\n * `securitySchemes.oauth2.flows`\n * advertises BOTH D6 principals — `authorizationCode` (user-delegated → the\n * conversation is owned by the delegating user) and `clientCredentials` (org/app\n * machine → the conversation is owned by the org/app). Tokens are minted by the\n * app's own OIDC provider (`/oauth/authorize`, `/oauth/token`).\n */\n/**\n * One protocol interface this agent exposes — a URL, a transport, and the version it speaks there.\n *\n * spec-cite: A2A 1.0 proto `AgentInterface` — `url` (REQUIRED), and *\"The version of the A2A\n * protocol this interface exposes. Use the latest supported minor version per major version.\n * Examples: `\"0.3\"`, `\"1.0\"`\"*.\n */\nexport interface A2A_AgentInterface {\n url: string;\n transport: string;\n version: string;\n}\n\nexport interface A2A_AgentCard {\n /**\n * The v0.2.5 scalar version field.\n *\n * KEPT, and deliberately still `0.2.5`. A v0.2.5 client reads only this field, and it is the\n * version that dialect of the surface actually speaks — advertising `1.0` here would tell every\n * legacy client to send `TASK_STATE_*` states and `return_immediately`, which is the exact misread\n * this migration exists to prevent. 1.0 clients read {@link supportedInterfaces} instead.\n */\n protocolVersion: string;\n /**\n * Ordered list of supported interfaces, **first entry preferred** — the 1.0 mechanism for\n * advertising more than one protocol version.\n *\n * spec-cite: A2A 1.0 proto `AgentCard` — `repeated AgentInterface supported_interfaces = 3\n * [(google.api.field_behavior) = REQUIRED]`, *\"Ordered list of supported interfaces. The first\n * entry is preferred.\"*\n *\n * This is what makes serving two dialects a DECLARED capability rather than an undocumented\n * accident: before it, a 1.0 client could only reach the 1.0 vocabulary by guessing that it\n * existed.\n */\n supportedInterfaces: A2A_AgentInterface[];\n name: string;\n description: string;\n url: string;\n version: string;\n capabilities: { streaming: boolean; pushNotifications: boolean };\n defaultInputModes: string[];\n defaultOutputModes: string[];\n skills: A2A_Skill[];\n securitySchemes: Record<string, unknown>;\n security: Record<string, string[]>[];\n}\n/** @wildo_source:part:end saas.backend.flows-actors.a2a-agent-card */\n"]}
1
+ {"version":3,"file":"a2a.backend.schemas.js","sourceRoot":"","sources":["../../../../../src/flows-actors/a2a/models/a2a.backend.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mCAAmC,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhG;;;;;;;;;;GAUG;AAEH,+FAA+F;AAC/F,MAAM,CAAC,MAAM,oBAAoB,G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AAC,MAAM,CAAC,CAAC;IACrC,OAAO,CAAC,wBAAwB,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,2BAA2B,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACzF,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,yBAAyB,GACnC,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAA0B,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,uBAAuB,CAAC,MAAM,CAAC,CAAC,CAAC;AAEnH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,+BAA+B,GACzC,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAA0B,CAAC,MAAM,CAAC,+BAA+B,CAAC,CAAC;AAEtG;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,CAAN,IAAY,uBAuBX;AAvBD,WAAY,uBAAuB;IACjC;;;OAGG;IACH,wDAA6B,CAAA;IAC7B;;;;;OAKG;IACH,wEAA6C,CAAA;IAC7C;;;OAGG;IACH,0DAA+B,CAAA;IAC/B;;;OAGG;IACH,wDAA6B,CAAA;AAC/B,CAAC,EAvBW,uBAAuB,KAAvB,uBAAuB,QAuBlC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,6BAA6B,CAAC,QAAiC;IAC7E,OAAO,QAAQ,KAAK,uBAAuB,CAAC,YAAY,IAAI,QAAQ,KAAK,uBAAuB,CAAC,oBAAoB,CAAC;AACxH,CAAC;AAiHD,sEAAsE","sourcesContent":["import { z } from 'zod';\nimport { FLOWS_ACTORS_DEFAULT_AGENT_INSTANCE, FlowsActors_Status } from '@wildo-ai/saas-models';\n\n/**\n * Backend-local contracts for the inbound Agent2Agent (A2A) JSON-RPC transport.\n * The public card advertises both A2A 1.0 and the legacy 0.2.5 dialect; the\n * controller normalizes both vocabularies onto these canonical message, task,\n * push-notification and agent-card shapes.\n *\n * Kept backend-local (not `saas-models`) on purpose: no frontend or\n * cross-package consumer owns the A2A wire representation. The conversational\n * runtime remains transport-agnostic; this module owns only the external\n * protocol boundary and the dialect-neutral shapes used by the controller.\n */\n\n/** Legacy scalar version retained for 0.2.5 clients that do not read `supportedInterfaces`. */\nexport const A2A_PROTOCOL_VERSION = '0.2.5';\n\n/**\n * The transport name for this surface's JSON-RPC binding, as `AgentInterface.transport` spells it.\n *\n * spec-cite: A2A 1.0 §5.3 — the binding table's JSON-RPC column; the proto's `AgentInterface`\n * carries the transport alongside the url and version.\n */\nexport const A2A_JSONRPC_TRANSPORT = 'JSONRPC';\n\n/** A2A message roles. External callers send `user`; the agent replies as `agent`. */\nexport enum A2A_MessageRole {\n USER = 'user',\n AGENT = 'agent',\n}\n\n/**\n * A single text part of an A2A message. A2A also defines `file` and `data`\n * parts; this slice consumes/produces TEXT only (the conversational runtime is\n * text-in/markdown-out) and fails closed on a message with no text part.\n */\nexport const A2A_TextPartSchema: z.ZodObject<{\n kind: z.ZodLiteral<'text'>;\n text: z.ZodString;\n}> = z.object({\n kind: z.literal('text'),\n text: z.string(),\n});\n\n/**\n * An inbound A2A part. Non-text parts are tolerated on the wire (passthrough,\n * unknown-key-preserving) but ignored by the text-only mapping — we never reject\n * a caller for sending a richer part, we just read the text.\n */\nexport const A2A_InboundPartSchema: z.ZodType<Record<string, unknown>> = z.looseObject({\n kind: z.string(),\n});\n\n/** Inbound A2A message (the `params.message` of a `message/send` / `message/stream`). */\nexport const A2A_InboundMessageSchema: z.ZodObject<{\n role: z.ZodOptional<z.ZodEnum<typeof A2A_MessageRole>>;\n parts: z.ZodArray<typeof A2A_InboundPartSchema>;\n messageId: z.ZodOptional<z.ZodString>;\n taskId: z.ZodOptional<z.ZodString>;\n contextId: z.ZodOptional<z.ZodString>;\n metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;\n}> = z.object({\n role: z.enum(A2A_MessageRole).optional(),\n parts: z.array(A2A_InboundPartSchema),\n messageId: z.string().optional(),\n /**\n * A2A task continuation — \"this message belongs to task X\".\n *\n * DECLARED AND REJECTED, not declared-and-ignored (review finding A3-9). This transport opens a\n * task per non-inline turn and has no continuation runtime, so honouring the field is a later\n * phase. The two alternatives to rejecting are both worse: dropping it from the schema strips it\n * silently (still reading as supported), and accepting it would open a SECOND task for a message\n * the client explicitly attached to a first — a divergence the client cannot see. The controller\n * therefore answers `INVALID_PARAMS` naming `contextId` as the supported way to continue a thread.\n */\n taskId: z.string().optional(),\n contextId: z.string().optional(),\n metadata: z.record(z.string(), z.unknown()).optional(),\n});\n\n/**\n * `configuration` of an A2A `message/send` / `message/stream` call.\n *\n * ## `blocking` is the protocol's field. `returnImmediately` never existed.\n *\n * ⚠️ An earlier revision keyed the whole task plane on `configuration.returnImmediately`, described\n * as \"the PROTOCOL's own answer to whether this turn is inline\" and supported by quotations\n * attributed to the specification. **The field is not in A2A, and the quotations are not in the\n * specification.** v0.2.5 defines `MessageSendConfiguration` as\n * `{ acceptedOutputModes, historyLength?, pushNotificationConfig?, blocking? }`, where `blocking` is\n * documented as \"If the server should treat the client as a blocking request\".\n *\n * The consequence was not cosmetic: every mechanism built on the trigger — task materialisation,\n * `tasks/get`, `tasks/cancel`, the Redis lease and cancel broadcast, the compare-and-swap, the\n * abandoned-task sweep — was reachable only by a client sending a Wildo-invented field. A\n * conformant client asking for exactly this behaviour with `{\"blocking\": false}` got a blocking\n * call and could never obtain a task id.\n *\n * The sense is also INVERTED from the field it replaced, so this is not a rename:\n * `returnImmediately: true` ⇒ `blocking: false`.\n *\n * **Absent means blocking.** The spec makes the field optional and prescribes no default, so the\n * choice is ours: a client that says nothing keeps the inline `Message` reply, which preserves the\n * hot-path property D-P1-1 exists for (no task row per turn) and changes nothing for existing\n * callers. Only an explicit `blocking: false` opts into a task.\n *\n * `z.looseObject` on purpose: the configuration carries further fields this transport does not\n * implement yet (`acceptedOutputModes`, `historyLength`, `pushNotificationConfig`), and dropping\n * unknown keys silently would make a future client's request look accepted while its intent was\n * discarded.\n */\nexport const A2A_MessageSendConfigurationSchema: z.ZodType<Record<string, unknown>> = z.looseObject({\n blocking: z.boolean().optional(),\n});\n\n/**\n * Does this configuration ask for a NON-BLOCKING turn — i.e. a task the client will poll?\n *\n * The one place the protocol field is interpreted, so the inversion lives here rather than at each\n * call site. `undefined` is deliberately NOT non-blocking; see the schema note above.\n */\nexport function requestsNonBlockingTurn(configuration: unknown): boolean {\n return (configuration as { blocking?: unknown } | undefined)?.blocking === false;\n}\n\n/** `params` of an A2A `message/send` / `message/stream` call. */\n/**\n * ⚠️ `looseObject`, and the strict version was a REAL defect — found live, not in review.\n *\n * A2A 1.0 puts its non-blocking flag at the TOP LEVEL (`return_immediately`), where v0.2.5 nests it\n * under `configuration.blocking`. A strict `z.object` silently STRIPS unknown top-level keys, so\n * `return_immediately` never survived the parse: a 1.0 client's request for a non-blocking turn was\n * discarded, the turn blocked, and the response was a `Message` where the client expected a `Task`.\n * No error anywhere — the client simply looked broken.\n *\n * The reasoning was already written down TWICE in this very file, on\n * `A2A_MessageSendConfigurationSchema` and `A2A_TaskIdParamsSchema`: *\"dropping unknown keys\n * silently would make a future client's request look accepted while its intent was discarded.\"*\n * This schema was the one sibling that did not follow it, and the cost was exactly the one predicted.\n */\nexport const A2A_MessageSendParamsSchema: z.ZodType<{\n message: z.infer<typeof A2A_InboundMessageSchema>;\n configuration?: Record<string, unknown>;\n metadata?: Record<string, unknown>;\n}> = z.looseObject({\n message: A2A_InboundMessageSchema,\n configuration: A2A_MessageSendConfigurationSchema.optional(),\n metadata: z.record(z.string(), z.unknown()).optional(),\n}) as unknown as z.ZodType<{\n message: z.infer<typeof A2A_InboundMessageSchema>;\n configuration?: Record<string, unknown>;\n metadata?: Record<string, unknown>;\n}>;\n\n/**\n * `params` of an A2A `tasks/get` / `tasks/cancel` call — both address a task by id.\n *\n * `looseObject` for the same reason the send configuration uses it (review finding L-4): the spec\n * carries further fields here — `historyLength` on `tasks/get` — that this transport does not\n * implement. A strict object DROPS them silently, so the request looks accepted while the client's\n * intent was discarded. Tolerating-and-ignoring is honest; the fields simply have no effect yet.\n *\n * `id` stays `z.string()`, which is also the NoSQL-operator-injection boundary: an object here\n * would otherwise reach the owner filter as a query operator.\n */\nexport const A2A_TaskIdParamsSchema: z.ZodType<{ id: string; metadata?: Record<string, unknown> }> = z.looseObject({\n id: z.string().min(1),\n metadata: z.record(z.string(), z.unknown()).optional(),\n}) as unknown as z.ZodType<{ id: string; metadata?: Record<string, unknown> }>;\nexport type A2A_TaskIdParams = z.infer<typeof A2A_TaskIdParamsSchema>;\n\n/** JSON-RPC 2.0 request envelope for the A2A endpoint. */\nexport const A2A_JsonRpcRequestSchema: z.ZodObject<{\n jsonrpc: z.ZodLiteral<'2.0'>;\n id: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>;\n method: z.ZodString;\n params: z.ZodOptional<z.ZodUnknown>;\n}> = z.object({\n jsonrpc: z.literal('2.0'),\n id: z.union([z.string(), z.number(), z.null()]),\n method: z.string(),\n params: z.unknown().optional(),\n});\n\nexport type A2A_JsonRpcRequest = z.infer<typeof A2A_JsonRpcRequestSchema>;\nexport type A2A_MessageSendParams = z.infer<typeof A2A_MessageSendParamsSchema>;\n\n/**\n * JSON-RPC error codes for this transport, split into the two ranges that actually exist.\n *\n * ## The numbering is SPEC-CONFORMANT, and that was a correction\n *\n * A2A assigns **SIX** codes in this block: `-32001` TaskNotFound, `-32002` TaskNotCancelable,\n * `-32003` PushNotificationNotSupported, `-32004` UnsupportedOperation, `-32005`\n * ContentTypeNotSupported, `-32006` InvalidAgentResponse. `-32007`..`-32009` are UNASSIGNED in\n * v0.2.5.\n * spec-cite: A2A v0.2.5 §8.2 (error code assignments)\n *\n * An earlier revision of this enum occupied five of those slots with Wildo meanings, so a\n * conformant client mis-read every one — an unknown skill answered `-32002`, which the spec defines\n * as TaskNotCancelable, so the client was told the task could not be canceled.\n * spec-cite: N/A — that reading is the MEANING a client derives from the code, not a quotation.\n *\n * spec-cite: N/A — the sentence quoted just below is this file's OWN retired claim, reproduced so\n * the error is legible; it is not attributed to the specification.\n *\n * ⚠️ THE COUNT HAS NOW BEEN WRONG TWICE IN THIS BLOCK, which is worth more than the correction.\n * The first note flagged only the `-32001` clash and picked `-32005` without noticing it too was\n * assigned. The SECOND said the spec assigns nine and that \"every slot was taken; there was never a\n * free one to move into\" — and a later pass added a `spec-cite:` marker directly beneath it, so a\n * citation ended up vouching for a number nobody had checked. A citation records WHERE to look; it\n * is not evidence that anyone looked. Re-derive counts from the document, never from this block.\n *\n * Reserving `-32007`..`-32009` rather than using them is therefore a WILDO CHOICE, not a necessity:\n * they are free today, and leaving them alone keeps the Wildo range from colliding with codes a\n * future A2A version may assign.\n *\n * The resolution keeps the two ranges apart:\n *\n * - **-32001..-32009 — A2A's, used ONLY with A2A's meanings.** Adding a code here means adopting\n * the spec's error for it, never inventing one.\n * - **-32010..-32099 — Wildo's.** JSON-RPC 2.0 reserves `-32000..-32099` for implementation-defined\n * server errors, and A2A assigns nothing above `-32006`, so this is genuinely free. Wildo\n * concerns that the protocol has no vocabulary for (authentication, skill routing, rate limits,\n * spend caps) live here and cannot collide with a future spec code below `-32010`.\n *\n * Renumbering was a WIRE change to a shipped surface; it is safe here only because this is a\n * greenfield project, and the e2e assertions that pinned the old literals were moved with it.\n */\nexport enum A2A_JsonRpcErrorCode {\n // ── JSON-RPC 2.0 standard ────────────────────────────────────────────────────────────────\n PARSE_ERROR = -32700,\n INVALID_REQUEST = -32600,\n METHOD_NOT_FOUND = -32601,\n INVALID_PARAMS = -32602,\n INTERNAL_ERROR = -32603,\n\n // ── A2A-assigned (-32001..-32009): the spec's codes, with the spec's meanings ─────────────\n /** A2A `TaskNotFoundError`: the addressed task does not exist, or is not visible to this caller. */\n TASK_NOT_FOUND = -32001,\n /**\n * A2A `TaskNotCancelableError`: the task is already terminal, so it cannot be canceled.\n *\n * spec-cite: A2A v0.2.5 §7.4 (tasks/cancel error list, permissive tone) — and N/A for the quoted\n * `\"MUST NOT succeed\"`, which appears here BECAUSE it is false, and for the two client-outcome\n * phrases, which are not document text.\n *\n * ⚠️ A WILDO DESIGN DECISION, not a protocol requirement — and an earlier revision of this note\n * claimed otherwise by quoting `\"MUST NOT succeed\"` as specification text. **That string is not in\n * v0.2.5.** §7.4 is permissive in tone (\"the server will attempt to cancel… but success is not\n * guaranteed\") and lists `TaskNotCancelableError` among its example errors. So the spec PERMITS\n * this answer; it does not mandate it.\n *\n * spec-cite: N/A — the two phrases below are the OUTCOMES a client could not tell apart, not\n * text from the document.\n *\n * The reason we choose it stands on its own, which is why the correction changes no behaviour:\n * answering 200 with the task makes \"I stopped it\" and \"it had already finished\"\n * indistinguishable on the wire, and those are different outcomes to anything reconciling state.\n * The task remains readable via `tasks/get` either way.\n */\n TASK_NOT_CANCELABLE = -32002,\n /**\n * A2A `PushNotificationNotSupportedError`: the agent does not support webhook task updates.\n *\n * Returned by all four push-notification-configuration operations whenever the agent card\n * advertises `capabilities.pushNotifications: false`. The norm makes this a MUST, and it is not\n * interchangeable with `METHOD_NOT_FOUND`: a client that receives `-32601` cannot distinguish\n * \"this agent does not do push notifications\" from \"this agent is not A2A-compliant\", whereas\n * `-32003` tells it exactly which capability to stop asking for.\n *\n * spec-cite: A2A 1.0 §3.3.4 — *\"If `AgentCard.capabilities.pushNotifications` is `false` or not\n * present, operations related to push notification configuration (Create, Get, List, Delete)\n * **MUST** return `PushNotificationNotSupportedError`\"* — and §5.4, which assigns it the JSON-RPC\n * code `-32003` (gRPC `FAILED_PRECONDITION`, HTTP `400 Bad Request`).\n */\n PUSH_NOTIFICATION_NOT_SUPPORTED = -32003,\n /**\n * A2A `UnsupportedOperationError`: the agent does not support this operation.\n *\n * Distinct from `METHOD_NOT_FOUND` in exactly the way `-32003` is: `-32601` says \"this server does\n * not know that method\", which a client cannot tell from a misrouted or non-compliant server, so\n * it retries or reports a transport fault. `-32004` says \"this agent knows the operation and does\n * not offer it\" — permanent, cacheable, actionable.\n *\n * spec-cite: A2A 1.0 §5.4 assigns `UnsupportedOperationError` the JSON-RPC code `-32004` (gRPC\n * `FAILED_PRECONDITION`, HTTP `400 Bad Request`); §3.3.4 — *\"If `AgentCard.capabilities.\n * extendedAgentCard` is `false` or not present, attempts to call the Get Extended Agent Card\n * operation **MUST** return `UnsupportedOperationError`\"*.\n */\n UNSUPPORTED_OPERATION = -32004,\n\n // ── Wildo-assigned (-32010..-32099): concerns A2A has no vocabulary for ───────────────────\n /** The caller is unauthenticated / the token is invalid. */\n UNAUTHENTICATED = -32010,\n /** The referenced skill / actor system does not exist, or is outside this agent's subset. */\n SKILL_NOT_FOUND = -32011,\n /**\n * The caller exceeded the per-principal turn rate cap. Ridden by a transport-level HTTP 429 +\n * `Retry-After` (throttling is a transport concern), unlike the codes above which ride HTTP 200\n * per JSON-RPC. The body stays a valid JSON-RPC error so strict clients still parse it.\n */\n RATE_LIMITED = -32012,\n /**\n * The caller's tenant has exhausted its plan-granted LLM token budget for the current period.\n * Ridden by a transport-level **HTTP 402** — deliberately NOT the 429 + `Retry-After` of\n * {@link RATE_LIMITED}: a spend cap is not a rolling-window throttle, so the client's correct\n * reaction is to upgrade the plan or wait for the period to roll, not to retry after N seconds.\n * 402 matches the existing `FEATURE_LIMIT_EXCEEDED` / `INSUFFICIENT_CREDITS` billing mapping.\n */\n BUDGET_EXCEEDED = -32013,\n}\n\n/**\n * @wildo_source:part:start saas.backend.flows-actors.a2a-task-surface facet:layer:backend facet:family:flows-actors\n *\n * The A2A TASK surface your app exposes to external agents. You never author these —\n * the engine serves them — but knowing the contract tells you what an agent client can\n * do with a turn your actor system runs.\n *\n * A task is materialised ONLY when a turn cannot complete inline:\n * - the client sent `configuration.blocking: false` (the A2A field — absent means blocking), or\n * - the turn reached an interrupted state (a human-in-the-loop approval pause).\n *\n * BOTH triggers are live. The interrupted-state arm needs a runtime that can pause a turn; that\n * is the human-in-the-loop approval gate, and a paused turn now materialises a task carrying\n * `input-required` on all three transports (blocking send, non-blocking send, stream). An earlier\n * revision of this note warned that the arm was inert and `input-required` never emitted — true\n * when written, and left here in corrected form because a reader who remembers the old claim would\n * otherwise conclude the state is decorative and safe to drop.\n *\n * A blocking turn that answers in one shot returns an A2A `Message` and writes no task\n * row at all. Both shapes are protocol-conformant: the specification types the\n * `message/send` result as `Task | Message`, so returning either is conformance rather than a\n * shortcut. The inline case is the default so a chatty agent does not accumulate a row per turn.\n * spec-cite: A2A v0.2.5 §7.1 (SendMessageResponse result type)\n *\n *\n * Once a task exists the client can poll it with `tasks/get` and stop it with\n * `tasks/cancel`. Cancel is a STATUS TRANSITION, never a delete: the spec requires it to\n * return the task's updated state, so a cancelled task stays readable.\n *\n * ⚠️ **What cancel does and does not guarantee.** It always records the cancellation, and\n * it aborts the model call for the streaming API transports — which is every agent using\n * the standard text/chat operations. It does NOT interrupt two cases: an agent whose\n * transport buffers its whole reply (a CLI-transport agent, or a non-text operation), and\n * a tool call already in flight — those finish, and only then does the turn stop. So\n * cancel is best read as \"stop as soon as the runtime is able\", not \"stop instantly\".\n * The task record is the truth about the request either way.\n *\n * Import path: `@wildo-ai/saas-backend-lib`.\n */\n/**\n * ⚠️ DOCUMENTATION-ONLY. Nothing implements this interface — it exists to give the anchored\n * excerpt a typed shape an app builder can read. The real methods are\n * `A2ATaskBackendService.readTask` / `advanceTask`, whose signatures differ (they take an\n * owner scope). Do not `implements` this; keep it in step with the service by hand, or\n * delete it if it ever drifts.\n */\nexport interface A2A_TaskSurfaceContract {\n /** `tasks/get` — read one task by id. Returns the task in its current state. */\n tasksGet: (taskId: string) => Promise<A2A_OutboundTask | undefined>;\n /** `tasks/cancel` — request cancellation; returns the task's UPDATED state. */\n tasksCancel: (taskId: string) => Promise<A2A_OutboundTask | undefined>;\n}\n\n/**\n * A2A task lifecycle states — the PROTOCOL's closed vocabulary (v0.2.5).\n *\n * Declared as a named enum rather than inline literals because it is exactly the\n * kind of closed semantic vocabulary that must have one runtime source: the\n * projection from `FlowsActors_Status` reads it, the transport emits it, and tests\n * pin it.\n *\n * Not every member is emitted by this transport today — `AUTH_REQUIRED` and\n * `REJECTED` have no `FlowsActors_Status` counterpart and are never produced. They\n * are declared because the vocabulary belongs to the protocol, not to us: a client\n * may legitimately receive them from another A2A server, and omitting them would\n * invite a future contributor to invent a second, partial enum.\n */\nexport enum A2A_TaskState {\n /** Acknowledged, not yet processing. */\n SUBMITTED = 'submitted',\n /** Actively being processed. */\n WORKING = 'working',\n /**\n * Interrupted (non-terminal): the agent needs input. The current transport emits this when a\n * user-delegated turn reaches an approval-gated tool, persists the signed pending decision and\n * materialises an addressable task. Approval or refusal resumes that same execution; machine\n * principals are denied rather than parked because no named person can answer for them.\n */\n INPUT_REQUIRED = 'input-required',\n /** Interrupted (non-terminal): authentication needed. NOT emitted by this transport. */\n AUTH_REQUIRED = 'auth-required',\n /** Terminal: finished successfully. */\n COMPLETED = 'completed',\n /** Terminal: finished with error. */\n FAILED = 'failed',\n /** Terminal: canceled before completion. */\n CANCELED = 'canceled',\n /** Terminal: refused by the agent. NOT emitted by this transport. */\n REJECTED = 'rejected',\n /**\n * Terminal: the agent cannot determine the task's state.\n *\n * Declared for the same reason as `AUTH_REQUIRED` and `REJECTED` — the enum's rule is that the\n * protocol vocabulary is represented in full so nobody invents a second, partial one. It was\n * simply missed: the spec defines NINE states and this declared eight (review finding G5-6).\n * Never emitted by this transport, which always knows a task's state or cannot find the row.\n */\n UNKNOWN = 'unknown',\n}\n\n/** States after which no further work occurs — a terminal task cannot be canceled. */\nexport const A2A_TERMINAL_TASK_STATES: ReadonlySet<A2A_TaskState> = new Set([\n A2A_TaskState.COMPLETED,\n A2A_TaskState.FAILED,\n A2A_TaskState.CANCELED,\n A2A_TaskState.REJECTED,\n A2A_TaskState.UNKNOWN,\n]);\n/** @wildo_source:part:end saas.backend.flows-actors.a2a-task-surface */\n\n/**\n * Deliberately OUTSIDE the `@wildo_source` anchor above: this is an authoring correction for\n * framework maintainers, and the anchored span ships verbatim into application-facing skills\n * where neither the anchor nor this repository's revision history exists.\n *\n * ⚠️ An earlier revision of the `message/send` paragraph above supported its conclusion with a\n * QUOTATION — \"the agent MAY create a new Task … or MAY return a direct Message response for\n * simple interactions\" — attributed to the A2A specification. It is not in the document.\n * spec-cite: N/A — that sentence is quoted precisely BECAUSE it is absent from A2A v0.2.5; it is\n * the defect, not the standard's words.\n *\n * The conclusion was right and the authority was invented, and because the block was anchored it\n * shipped that invention into the app-facing skill. Cite the TYPE, which is checkable in one step,\n * not a remembered sentence. See `.claude/rules/external-specification-citations.md`.\n */\n\n/**\n * Project the engine's persisted lifecycle status onto the A2A protocol vocabulary.\n *\n * This is the ONLY place the two vocabularies meet, and it is exhaustive by\n * construction — `FlowsActors_Status` is a closed enum, so adding a member without\n * deciding its protocol meaning is a compile error at the `satisfies` below rather\n * than a silent fallthrough to some default state.\n *\n * Both `READY` and `PENDING` project to `SUBMITTED`: the protocol draws its line at\n * \"acknowledged but not yet processing\", and our two pre-processing states are on the\n * same side of it. `ABORTED` projects to `FAILED` rather than `CANCELED` deliberately —\n * `CANCELED` means a caller asked for it, whereas `ABORTED` is the runtime halting\n * itself (e.g. a tripped circuit breaker), which a client should read as a failure it\n * did not request.\n */\nconst A2A_STATE_BY_FLOWS_ACTORS_STATUS = {\n [FlowsActors_Status.READY]: A2A_TaskState.SUBMITTED,\n [FlowsActors_Status.PENDING]: A2A_TaskState.SUBMITTED,\n [FlowsActors_Status.PROCESSING]: A2A_TaskState.WORKING,\n [FlowsActors_Status.AWAITING_APPROVAL]: A2A_TaskState.INPUT_REQUIRED,\n [FlowsActors_Status.COMPLETED]: A2A_TaskState.COMPLETED,\n [FlowsActors_Status.FAILED]: A2A_TaskState.FAILED,\n [FlowsActors_Status.CANCELLED]: A2A_TaskState.CANCELED,\n [FlowsActors_Status.ABORTED]: A2A_TaskState.FAILED,\n} satisfies Record<FlowsActors_Status, A2A_TaskState>;\n\n/** Project a persisted task status onto its A2A protocol state. */\nexport function toA2ATaskState(status: FlowsActors_Status): A2A_TaskState {\n return A2A_STATE_BY_FLOWS_ACTORS_STATUS[status];\n}\n\n/** True when the persisted status is one the protocol treats as terminal. */\nexport function isTerminalA2ATaskStatus(status: FlowsActors_Status): boolean {\n return A2A_TERMINAL_TASK_STATES.has(toA2ATaskState(status));\n}\n\n/**\n * The stored instance identity of the DEFAULT (unnamed) A2A agent.\n *\n * Declared instance refs are constrained to `^[a-z0-9][a-z0-9-]*$`, so the `*` characters make\n * this value unreachable by any real ref — the default agent gets its own identity on the task\n * plane without a collision, and without the filter having to special-case an absent field.\n */\nexport const A2A_DEFAULT_INSTANCE_REF: string = FLOWS_ACTORS_DEFAULT_AGENT_INSTANCE;\n\n/**\n * States in which a task is waiting on something OUTSIDE the runtime — a human approval, an\n * authentication step — rather than executing on any pod.\n *\n * ## Why this is a THIRD class and not a shade of \"non-terminal\" (review finding A3-3)\n *\n * The liveness design asks one question: \"a pod claimed this work — is that pod still alive?\"\n * That question is only meaningful while a pod is actually executing. Splitting statuses merely\n * into terminal / non-terminal conflates two very different non-terminal situations:\n *\n * - **executing** — a pod holds the turn and refreshes a lease. No lease ⇒ the pod died ⇒ the\n * task is abandoned, and reporting the stored `working` forever would be a lie.\n * - **interrupted** — nobody is executing, deliberately. The lease is released the moment the\n * turn unwinds, so a paused task has no lease BY DESIGN. Applying the abandonment rule here\n * reads a correct pause as a dead pod.\n *\n * With only the two-way split, a task paused for approval read as `failed` on the very next\n * poll and the sweep then made that durable within the grace window — so the approval seam\n * Phase 1 claims to have prepared would have been destroyed by Phase 1's own liveness rules\n * before Phase 2 could use it. A human approval takes minutes to hours; a lease TTL is 30s.\n *\n * Deliberately OUTSIDE the `@wildo_source` anchor above: this is engine-internal liveness\n * taxonomy, not app-facing protocol surface, and widening the shipped contract with states this\n * transport cannot yet reach is the mistake finding G2-3 recorded.\n */\nexport const A2A_INTERRUPTED_TASK_STATES: ReadonlySet<A2A_TaskState> = new Set([\n A2A_TaskState.INPUT_REQUIRED,\n A2A_TaskState.AUTH_REQUIRED,\n]);\n\n/**\n * True when the task's status is one whose truthfulness depends on a pod being alive — i.e.\n * neither terminal nor interrupted.\n *\n * This is the ONLY predicate that should gate derive-on-read downgrades and the abandoned-task\n * sweep. Using `!isTerminalA2ATaskStatus(...)` for that purpose is the A3-3 defect.\n */\nexport function isLivenessGovernedA2ATaskStatus(status: FlowsActors_Status): boolean {\n const state = toA2ATaskState(status);\n return !A2A_TERMINAL_TASK_STATES.has(state) && !A2A_INTERRUPTED_TASK_STATES.has(state);\n}\n\n/**\n * The persisted statuses a task may still be advanced FROM — everything non-terminal.\n *\n * This is the compare-and-swap set for `advanceTask` (finding A3-2). Note it deliberately\n * INCLUDES the interrupted states: a task paused for approval must remain cancellable, and\n * Phase 2 must be able to resume it. \"Cannot be advanced\" means terminal, nothing else.\n */\nexport const ADVANCEABLE_TASK_STATUSES: FlowsActors_Status[] =\n (Object.values(FlowsActors_Status) as FlowsActors_Status[]).filter((status) => !isTerminalA2ATaskStatus(status));\n\n/**\n * The persisted statuses whose stored value is only trustworthy while a pod is alive — the\n * candidate set for the abandoned-task sweep and for the derive-on-read downgrade.\n *\n * Strictly NARROWER than {@link ADVANCEABLE_TASK_STATUSES}: an interrupted task is advanceable\n * but is not abandoned merely because no pod holds it. Both are derived from the single status\n * projection above, so a new `FlowsActors_Status` member lands in the right set automatically\n * once its protocol meaning is decided.\n */\nexport const LIVENESS_GOVERNED_TASK_STATUSES: FlowsActors_Status[] =\n (Object.values(FlowsActors_Status) as FlowsActors_Status[]).filter(isLivenessGovernedA2ATaskStatus);\n\n/**\n * WHY an absent lease is absent — the difference between a VERDICT and a failed enquiry.\n *\n * ## The inversion this vocabulary exists to name (review finding S-1a)\n *\n * \"No lease\" was a single answer with two incompatible meanings, and the sweep read both as\n * death:\n *\n * - **a pod held this task and stopped refreshing** — the lease existed and lapsed. That is\n * abandonment, and repairing the row is the sweep's whole purpose.\n * - **this task's liveness was never observable at all** — the owning pod could not write the\n * lease (its own Redis connection is broken while the sweep's is fine, or it started the turn\n * with no client at all). The turn is HEALTHY and running; nothing about it is knowable from\n * the lease.\n *\n * The two are indistinguishable from a single read of one key, so the write side leaves a second,\n * long-lived ESTABLISHMENT marker whenever it successfully writes a lease. Its presence is what\n * turns an absent lease into evidence; its absence is what makes the reading indeterminate.\n *\n * `isLeaseMechanismWritable` does NOT cover this: it is evaluated on the SWEEP's pod, so a\n * per-pod outage on the executing pod passes it unnoticed. That check answers \"can the fleet's\n * liveness signal be trusted at all\"; this answers \"does this one task's missing lease mean\n * anything\".\n *\n * Four members, not two, because \"do not act\" has two causes that want opposite follow-ups: one\n * makes progress toward a verdict on a later run, the other learned nothing at all and must not\n * be recorded as though it had. Merging them is the semantic collapse this framework refuses.\n */\nexport enum A2A_AbandonmentEvidence {\n /**\n * The task's lease was demonstrably established and has since lapsed. A pod claimed this work\n * and stopped refreshing — the classic dead-pod signature, and a VERDICT.\n */\n LEASE_LAPSED = 'lease-lapsed',\n /**\n * No establishment marker, but a PRIOR sweep run recorded the same absence and that observation\n * is still standing. Two observations separated by at least one sweep period — a lease that a\n * live pod merely failed to write once is rewritten on the next 10-second heartbeat, so an\n * absence that survives a full period is not a missed write. A VERDICT.\n */\n CORROBORATED_ABSENCE = 'corroborated-absence',\n /**\n * No establishment marker and no prior observation; THIS run recorded the first one. Not a\n * verdict — the task is left exactly as it stands, and a later run decides.\n */\n FIRST_ABSENCE = 'first-absence',\n /**\n * Nothing was learned: the observation itself could not be read or recorded. Not a verdict, and\n * unlike {@link FIRST_ABSENCE} it makes no progress toward one — a later run starts over.\n */\n UNDETERMINED = 'undetermined',\n}\n\n/**\n * May the sweep turn this evidence into a DURABLE terminal status?\n *\n * Named rather than inlined at the one call site on purpose: this predicate IS the boundary\n * between an enquiry and a verdict, and the sweep is the only consumer allowed to cross it. A\n * second consumer that re-derives the set by hand is how the two come to disagree.\n */\nexport function abandonmentEvidenceIsAVerdict(evidence: A2A_AbandonmentEvidence): boolean {\n return evidence === A2A_AbandonmentEvidence.LEASE_LAPSED || evidence === A2A_AbandonmentEvidence.CORROBORATED_ABSENCE;\n}\n\n/**\n * An outbound A2A `Task` — the `result` of `tasks/get`, `tasks/cancel`, and of a\n * `message/send` whose turn could not complete inline.\n *\n * `status.state` is the projection of the persisted `FlowsActors_Status`; `status.timestamp`\n * is when that state was last advanced, so a polling client can tell a fresh `working`\n * from a stale one.\n */\nexport interface A2A_OutboundTask {\n kind: 'task';\n id: string;\n contextId: string;\n status: {\n state: A2A_TaskState;\n timestamp: string;\n /** Present when the state carries an agent-visible message (e.g. why input is required). */\n message?: A2A_OutboundMessage;\n };\n artifacts?: { artifactId: string; name?: string; parts: { kind: string; [k: string]: unknown }[] }[];\n metadata?: Record<string, unknown>;\n}\n\n/** An outbound A2A text message (the `result` of a blocking `message/send`). */\nexport interface A2A_OutboundMessage {\n kind: 'message';\n role: A2A_MessageRole.AGENT;\n parts: { kind: 'text'; text: string }[];\n messageId: string;\n contextId: string;\n metadata?: Record<string, unknown>;\n}\n\n/**\n * @wildo_source:part:start saas.backend.flows-actors.a2a-agent-card facet:layer:backend facet:family:flows-actors\n *\n * The A2A discovery contract an external agent fetches at\n * `GET /a2a/.well-known/agent-card.json` to learn what your app exposes over\n * Agent2Agent and how to authenticate. It is SERVED by the engine — you never\n * author it: every ACTOR system with an AGENTIC actor bound to an agent is\n * exposed automatically as one `A2A_Skill` (`skill.id === system.ref`). External\n * agents then POST JSON-RPC `message/send` / `message/stream` to the card `url`.\n * Import path: `@wildo-ai/saas-backend-lib`.\n */\n\n/** One advertised A2A skill = one exposed agentic actor system (`id === system.ref`). */\nexport interface A2A_Skill {\n id: string;\n name: string;\n description: string;\n tags: string[];\n examples?: string[];\n}\n\n/**\n * The served A2A agent card. `url` is the absolute task-endpoint URI AND the\n * agent's canonical audience: BOTH a USER-delegated and a MACHINE (client-credentials)\n * inbound token MUST carry it as `aud` (RFC 8707 / external-access D7) — a token minted for\n * another surface (including the generic API audience, per the 2026-07-29 flip) is rejected.\n * `securitySchemes.oauth2.flows`\n * advertises BOTH D6 principals — `authorizationCode` (user-delegated → the\n * conversation is owned by the delegating user) and `clientCredentials` (org/app\n * machine → the conversation is owned by the org/app). Tokens are minted by the\n * app's own OIDC provider (`/oauth/authorize`, `/oauth/token`).\n */\n/**\n * One protocol interface this agent exposes — a URL, a transport, and the version it speaks there.\n *\n * spec-cite: A2A 1.0 proto `AgentInterface` — `url` (REQUIRED), and *\"The version of the A2A\n * protocol this interface exposes. Use the latest supported minor version per major version.\n * Examples: `\"0.3\"`, `\"1.0\"`\"*.\n */\nexport interface A2A_AgentInterface {\n url: string;\n transport: string;\n version: string;\n}\n\nexport interface A2A_AgentCard {\n /**\n * The v0.2.5 scalar version field.\n *\n * KEPT, and deliberately still `0.2.5`. A v0.2.5 client reads only this field, and it is the\n * version that dialect of the surface actually speaks — advertising `1.0` here would tell every\n * legacy client to send `TASK_STATE_*` states and `return_immediately`, which is the exact misread\n * this migration exists to prevent. 1.0 clients read {@link supportedInterfaces} instead.\n */\n protocolVersion: string;\n /**\n * Ordered list of supported interfaces, **first entry preferred** — the 1.0 mechanism for\n * advertising more than one protocol version.\n *\n * spec-cite: A2A 1.0 proto `AgentCard` — `repeated AgentInterface supported_interfaces = 3\n * [(google.api.field_behavior) = REQUIRED]`, *\"Ordered list of supported interfaces. The first\n * entry is preferred.\"*\n *\n * This is what makes serving two dialects a DECLARED capability rather than an undocumented\n * accident: before it, a 1.0 client could only reach the 1.0 vocabulary by guessing that it\n * existed.\n */\n supportedInterfaces: A2A_AgentInterface[];\n name: string;\n description: string;\n url: string;\n version: string;\n capabilities: { streaming: boolean; pushNotifications: boolean };\n defaultInputModes: string[];\n defaultOutputModes: string[];\n skills: A2A_Skill[];\n securitySchemes: Record<string, unknown>;\n security: Record<string, string[]>[];\n}\n/** @wildo_source:part:end saas.backend.flows-actors.a2a-agent-card */\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"a2a-push-delivery-log.repository.d.ts","sourceRoot":"","sources":["../../../../../../src/flows-actors/a2a/services/a2a-push-delivery-log.repository.ts"],"names":[],"mappings":"AAA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,CAAC,OAAO,CAAC;IAQnB,iFAAiF;IACpE,iBAAiB,CAC5B,KAAK,EAAE,wBAAwB,EAC/B,EAAE,EAAE,MAAM,EACV,aAAa,EAAE,IAAI,EACnB,OAAO,EAAE;QAAE,cAAc,CAAC,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAC1E,OAAO,CAAC,OAAO,CAAC;IAQnB,sEAAsE;IACzD,iBAAiB,CAC5B,KAAK,EAAE,wBAAwB,EAC/B,EAAE,EAAE,MAAM,EACV,OAAO,EAAE;QAAE,cAAc,CAAC,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAC1E,OAAO,CAAC,OAAO,CAAC;IAQnB;;;;;;OAMG;IACH,OAAO,CAAC,cAAc;IAQtB,mGAAmG;YACrF,UAAU;CAiBzB"}
1
+ {"version":3,"file":"a2a-push-delivery-log.repository.d.ts","sourceRoot":"","sources":["../../../../../src/flows-actors/a2a/services/a2a-push-delivery-log.repository.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAGH,OAAO,EAGL,KAAK,sBAAsB,EAE5B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,aAAa,EAAE,MAAM,8DAA8D,CAAC;AAC7F,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iFAAiF,CAAC;AAClI,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mFAAmF,CAAC;AA6BlI,+FAA+F;AAC/F,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAC9C,sBAAsB,EACtB,YAAY,GAAG,QAAQ,GAAG,0BAA0B,GAAG,2BAA2B,GAAG,SAAS,GAAG,aAAa,GAAG,SAAS,CAC3H,GAAG,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,qBAA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OAAO,CAAC;IAQnB;;;;;;OAMG;IACH,OAAO,CAAC,cAAc;IAQtB,mGAAmG;YACrF,UAAU;CAiBzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"a2a-push-dispatcher.backend.service.d.ts","sourceRoot":"","sources":["../../../../../../src/flows-actors/a2a/services/a2a-push-dispatcher.backend.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAKH,OAAO,EAAE,aAAa,EAAE,MAAM,8DAA8D,CAAC;AAC7F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gDAAgD,CAAC;AAG1F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mFAAmF,CAAC;AAClI,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAItE,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAElF;;;;;;GAMG;AACH,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,wBAAwB,CAAC;IAChC,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,qBACa,+BAA+B;IAIL,OAAO,CAAC,QAAQ,CAAC,MAAM;IACV,OAAO,CAAC,QAAQ,CAAC,YAAY;IACpB,OAAO,CAAC,QAAQ,CAAC,WAAW;IALvF,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA+D;gBAGlC,MAAM,EAAE,aAAa,EACR,YAAY,EAAE,mBAAmB,EACxB,WAAW,EAAE,4BAA4B;IAMrH;;;;;;;;;OASG;IACU,kBAAkB,CAC7B,KAAK,EAAE,wBAAwB,EAC/B,IAAI,EAAE,gBAAgB,EACtB,iBAAiB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC5C,yBAAyB,EAAE,MAAM,EACjC,mBAAmB,CAAC,EAAE,MAAM,GAC3B,OAAO,CAAC,IAAI,CAAC;CAyDjB"}
1
+ {"version":3,"file":"a2a-push-dispatcher.backend.service.d.ts","sourceRoot":"","sources":["../../../../../src/flows-actors/a2a/services/a2a-push-dispatcher.backend.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAKH,OAAO,EAAE,aAAa,EAAE,MAAM,8DAA8D,CAAC;AAC7F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gDAAgD,CAAC;AAG1F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mFAAmF,CAAC;AAClI,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAItE,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAElF;;;;;;GAMG;AACH,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,wBAAwB,CAAC;IAChC,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,qBACa,+BAA+B;IAIL,OAAO,CAAC,QAAQ,CAAC,MAAM;IACV,OAAO,CAAC,QAAQ,CAAC,YAAY;IACpB,OAAO,CAAC,QAAQ,CAAC,WAAW;IALvF,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA+D;gBAGlC,MAAM,EAAE,aAAa,EACR,YAAY,EAAE,mBAAmB,EACxB,WAAW,EAAE,4BAA4B;IAMrH;;;;;;;;;OASG;IACU,kBAAkB,CAC7B,KAAK,EAAE,wBAAwB,EAC/B,IAAI,EAAE,gBAAgB,EACtB,iBAAiB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC5C,yBAAyB,EAAE,MAAM,EACjC,mBAAmB,CAAC,EAAE,MAAM,GAC3B,OAAO,CAAC,IAAI,CAAC;CAyDjB"}
@@ -24,9 +24,17 @@
24
24
  * While a pod owns a turn it refreshes a TTL'd lease key. That is what lets
25
25
  * `tasks/get` report an abandoned task honestly instead of leaving it `working`
26
26
  * forever after a pod dies — see the lease helpers below.
27
+ *
28
+ * An absent lease is NOT self-explanatory, though, and reading it as death is an inversion that
29
+ * costs real work: a pod that could not write the lease looks exactly like a pod that died. So
30
+ * every successful lease write also leaves a long-lived ESTABLISHMENT marker, and
31
+ * `corroborateAbandonment` is what turns "no lease" into either a verdict or an admission that
32
+ * nothing was learned. Only the sweep — the one consumer that makes a liveness answer DURABLE —
33
+ * asks that question.
27
34
  */
28
35
  import type { LoggerService } from '../../../monitoring/logger/services/logger.service';
29
36
  import type { RedisService } from '../../../databases/services/redis.service';
37
+ import { A2A_AbandonmentEvidence } from '../../../flows-actors/a2a/models/a2a.backend.schemas';
30
38
  /**
31
39
  * Lease TTL and refresh cadence. The refresh interval is deliberately well under the
32
40
  * TTL: a single missed refresh (GC pause, a slow Redis round-trip) must not make a
@@ -34,6 +42,26 @@ import type { RedisService } from '../../../databases/services/redis.service';
34
42
  */
35
43
  export declare const A2A_TASK_LEASE_TTL_SECONDS = 30;
36
44
  export declare const A2A_TASK_LEASE_REFRESH_MS = 10000;
45
+ /**
46
+ * How long the establishment marker outlives its last refresh.
47
+ *
48
+ * Sized to comfortably span the sweep's grace window plus its hourly period, so a pod that dies
49
+ * mid-turn is still recognisable as HAVING held the task when the next sweep looks. It is a
50
+ * timing optimisation, never a correctness requirement: if it lapses, the reading degrades to
51
+ * {@link A2A_AbandonmentEvidence.FIRST_ABSENCE} and the row is repaired one run later instead of
52
+ * on the first — which is the direction this whole mechanism errs in anyway.
53
+ */
54
+ export declare const A2A_TASK_LEASE_ESTABLISHED_TTL_SECONDS: number;
55
+ /**
56
+ * How long one unexplained absence stands as corroboration for the next run.
57
+ *
58
+ * MUST exceed the sweep's period or no observation ever survives to be corroborated and nothing
59
+ * is ever repaired through that path; generous beyond it so a skipped run (the fleet-wide abstain)
60
+ * does not reset the count. Nothing clears it on recovery, and it does not need clearing: a task
61
+ * whose pod recovered answers ALIVE on the lease long before this is consulted, and once its lease
62
+ * lapses for real the establishment marker gives the verdict directly.
63
+ */
64
+ export declare const A2A_TASK_ABSENCE_OBSERVATION_TTL_SECONDS: number;
37
65
  export declare class A2ATaskCancellationBackendService {
38
66
  private readonly logger;
39
67
  private readonly redisService;
@@ -46,6 +74,8 @@ export declare class A2ATaskCancellationBackendService {
46
74
  constructor(logger: LoggerService, redisService: RedisService);
47
75
  private channel;
48
76
  private leaseKey;
77
+ private leaseEstablishedKey;
78
+ private absenceObservationKey;
49
79
  /**
50
80
  * Start this pod's single shared subscriber. Idempotent — safe to call from every
51
81
  * turn, so no startup ordering is required.
@@ -74,6 +104,14 @@ export declare class A2ATaskCancellationBackendService {
74
104
  *
75
105
  * Dropping the lease EAGERLY matters — a terminal task with a live lease would look
76
106
  * like it is still executing to anything reading liveness.
107
+ *
108
+ * The ESTABLISHMENT marker is deliberately NOT dropped with it. The two record different kinds
109
+ * of fact: the lease says "a pod is working this NOW" and stops being true the instant the turn
110
+ * unwinds, while the marker says "this task's liveness was observable", which stays true
111
+ * afterwards. Keeping it also covers the one case that would otherwise regress — a turn that
112
+ * finished but whose terminal write did not land — since the row is then genuinely abandoned and
113
+ * the sweep can say so on its first pass instead of waiting for corroboration. It expires on its
114
+ * own TTL, so nothing accumulates.
77
115
  */
78
116
  endTurn(taskId: string): Promise<void>;
79
117
  /**
@@ -98,6 +136,42 @@ export declare class A2ATaskCancellationBackendService {
98
136
  * `working`.
99
137
  */
100
138
  isTurnAlive(taskId: string): Promise<boolean>;
139
+ /**
140
+ * WHY is this task's lease absent — and may that absence be turned into a durable verdict?
141
+ *
142
+ * Asked by the abandoned-task sweep, and only by it, AFTER {@link isTurnAlive} has already
143
+ * answered "no lease". `isTurnAlive` returns a boolean because every other consumer only needs
144
+ * to know whether to keep waiting; the sweep is the one caller that writes a TERMINAL status,
145
+ * so it is the one caller that must be able to tell a verdict from a failed enquiry.
146
+ *
147
+ * ## The case this closes, which no existing guard catches
148
+ *
149
+ * `isLeaseMechanismWritable` is evaluated on the SWEEP's pod. A per-pod failure — the executing
150
+ * pod's Redis connection is broken while the sweep's is fine — passes it, `isTurnAlive`
151
+ * truthfully reports no lease, and a healthy running turn is durably recorded FAILED. That
152
+ * inversion has no compensating pass; it is the reason this method exists.
153
+ *
154
+ * ## How the two are told apart
155
+ *
156
+ * 1. **An establishment marker** ({@link LEASE_ESTABLISHED_KEY_PREFIX}) is written beside every
157
+ * successful lease write and outlives it by hours. Present ⇒ a pod demonstrably held this
158
+ * task and stopped ⇒ `LEASE_LAPSED`, a verdict, on the very first pass. This is what keeps
159
+ * ordinary abandonment repaired in the same hour it happens.
160
+ * 2. **Otherwise the reading is indeterminate**, and the answer is TIME rather than another key:
161
+ * a live pod that merely failed one write rewrites its lease on the next 10-second heartbeat,
162
+ * so an absence that is still there a full sweep period later is not a missed write. The
163
+ * first pass records the observation and returns `FIRST_ABSENCE`; a later pass that still
164
+ * finds no lease and still finds the observation returns `CORROBORATED_ABSENCE`.
165
+ * 3. **If the observation can neither be read nor written, nothing was learned** —
166
+ * `UNDETERMINED`. It is NOT collapsed into `FIRST_ABSENCE`, because that one made progress
167
+ * toward a verdict and this one did not; recording it as progress would let two enquiries
168
+ * that both failed add up to a durable kill.
169
+ *
170
+ * Losing the medium fails toward the SAFE side in both directions: with the markers gone (a
171
+ * Redis restart) every absence is merely uncorroborated, so genuine abandonment is still
172
+ * repaired — one run later — while a healthy turn is not killed on a single reading.
173
+ */
174
+ corroborateAbandonment(taskId: string): Promise<A2A_AbandonmentEvidence>;
101
175
  /**
102
176
  * Can the lease mechanism actually be WRITTEN right now?
103
177
  *
@@ -1 +1 @@
1
- {"version":3,"file":"a2a-task-cancellation.backend.service.d.ts","sourceRoot":"","sources":["../../../../../../src/flows-actors/a2a/services/a2a-task-cancellation.backend.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAMH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8DAA8D,CAAC;AAClG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qDAAqD,CAAC;AAQxF;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,KAAK,CAAC;AAC7C,eAAO,MAAM,yBAAyB,QAAS,CAAC;AAEhD,qBACa,iCAAiC;IAUP,OAAO,CAAC,QAAQ,CAAC,MAAM;IACjB,OAAO,CAAC,QAAQ,CAAC,YAAY;IAVxE,+EAA+E;IAC/E,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsC;IACjE,6DAA6D;IAC7D,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAqC;IAEjE,OAAO,CAAC,UAAU,CAAgC;IAClD,OAAO,CAAC,gBAAgB,CAAS;gBAGqB,MAAM,EAAE,aAAa,EACf,YAAY,EAAE,YAAY;IAGtF,OAAO,CAAC,OAAO;IAIf,OAAO,CAAC,QAAQ;IAIhB;;;;;;;;;;OAUG;YACW,gBAAgB;IA2C9B;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IAOzB;;;OAGG;IACU,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;IA2D5D;;;;;OAKG;IACU,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAenD;;;;;;;;OAQG;IACU,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAkB5D;;;;;;;;;;OAUG;IACU,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAc1D;;;;;;;;;;;;;;;;OAgBG;IACU,wBAAwB,IAAI,OAAO,CAAC,OAAO,CAAC;CAY1D"}
1
+ {"version":3,"file":"a2a-task-cancellation.backend.service.d.ts","sourceRoot":"","sources":["../../../../../src/flows-actors/a2a/services/a2a-task-cancellation.backend.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAMH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8DAA8D,CAAC;AAClG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qDAAqD,CAAC;AAExF,OAAO,EAAE,uBAAuB,EAAE,MAAM,gEAAgE,CAAC;AAsBzG;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,KAAK,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