@wildo-ai/saas-models 1.1.2 → 1.1.3

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 (410) hide show
  1. package/dist/esm/applications/applications-context.schemas.d.ts +14 -10
  2. package/dist/esm/applications/applications-context.schemas.d.ts.map +1 -1
  3. package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts.map +1 -1
  4. package/dist/esm/applications/applications.shared.resources-config.schemas.js +4 -3
  5. package/dist/esm/applications/applications.shared.resources-config.schemas.js.map +1 -1
  6. package/dist/esm/billing/billing-configuration.shared.schemas.d.ts +0 -4
  7. package/dist/esm/billing/billing-configuration.shared.schemas.d.ts.map +1 -1
  8. package/dist/esm/billing/billing-configuration.shared.schemas.js +59 -17
  9. package/dist/esm/billing/billing-configuration.shared.schemas.js.map +1 -1
  10. package/dist/esm/billing/billing-enums.shared.schemas.d.ts +77 -21
  11. package/dist/esm/billing/billing-enums.shared.schemas.d.ts.map +1 -1
  12. package/dist/esm/billing/billing-enums.shared.schemas.js +85 -23
  13. package/dist/esm/billing/billing-enums.shared.schemas.js.map +1 -1
  14. package/dist/esm/billing/billing-types.shared.schemas.d.ts +3 -3
  15. package/dist/esm/billing/price.shared.schemas.d.ts.map +1 -1
  16. package/dist/esm/billing/price.shared.schemas.js +7 -1
  17. package/dist/esm/billing/price.shared.schemas.js.map +1 -1
  18. package/dist/esm/billing/product-behavior-policy.shared.schemas.d.ts.map +1 -1
  19. package/dist/esm/billing/product-behavior-policy.shared.schemas.js +52 -11
  20. package/dist/esm/billing/product-behavior-policy.shared.schemas.js.map +1 -1
  21. package/dist/esm/billing/product-definition.shared.schemas.d.ts +2 -2
  22. package/dist/esm/billing/product.shared.resources-config.schemas.d.ts +2 -2
  23. package/dist/esm/billing/product.shared.schemas.d.ts +2 -2
  24. package/dist/esm/billing/product.shared.schemas.d.ts.map +1 -1
  25. package/dist/esm/billing/product.shared.schemas.js +7 -3
  26. package/dist/esm/billing/product.shared.schemas.js.map +1 -1
  27. package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts +1 -1
  28. package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts.map +1 -1
  29. package/dist/esm/billing/subscription.shared.resources-config.schemas.js +15 -1
  30. package/dist/esm/billing/subscription.shared.resources-config.schemas.js.map +1 -1
  31. package/dist/esm/billing/usage-record.shared.schemas.d.ts +7 -3
  32. package/dist/esm/billing/usage-record.shared.schemas.d.ts.map +1 -1
  33. package/dist/esm/billing/usage-record.shared.schemas.js +22 -3
  34. package/dist/esm/billing/usage-record.shared.schemas.js.map +1 -1
  35. package/dist/esm/companion/provider-discovery.shared.schemas.d.ts +69 -2
  36. package/dist/esm/companion/provider-discovery.shared.schemas.d.ts.map +1 -1
  37. package/dist/esm/companion/provider-discovery.shared.schemas.js +20 -1
  38. package/dist/esm/companion/provider-discovery.shared.schemas.js.map +1 -1
  39. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts +85 -0
  40. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts.map +1 -0
  41. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js +157 -0
  42. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js.map +1 -0
  43. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts +23 -0
  44. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts.map +1 -1
  45. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js +56 -0
  46. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js.map +1 -1
  47. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts +480 -20
  48. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts.map +1 -1
  49. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js +547 -23
  50. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js.map +1 -1
  51. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.d.ts.map +1 -1
  52. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js +82 -3
  53. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js.map +1 -1
  54. package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.d.ts +31 -30
  55. package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.d.ts.map +1 -1
  56. package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.js +98 -3
  57. package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.js.map +1 -1
  58. package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts +17 -0
  59. package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts.map +1 -1
  60. package/dist/esm/compliance/privacy/privacy.shared.schemas.js +27 -4
  61. package/dist/esm/compliance/privacy/privacy.shared.schemas.js.map +1 -1
  62. package/dist/esm/compliance/privacy/redaction.shared.schemas.d.ts +82 -29
  63. package/dist/esm/compliance/privacy/redaction.shared.schemas.d.ts.map +1 -1
  64. package/dist/esm/compliance/privacy/redaction.shared.schemas.js +95 -29
  65. package/dist/esm/compliance/privacy/redaction.shared.schemas.js.map +1 -1
  66. package/dist/esm/compliance/privacy/subject-export.shared.schemas.d.ts.map +1 -1
  67. package/dist/esm/compliance/privacy/subject-export.shared.schemas.js +12 -5
  68. package/dist/esm/compliance/privacy/subject-export.shared.schemas.js.map +1 -1
  69. package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts +21 -0
  70. package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts.map +1 -1
  71. package/dist/esm/config/analytics-value-moments.shared.schemas.js +20 -0
  72. package/dist/esm/config/analytics-value-moments.shared.schemas.js.map +1 -1
  73. package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts +7 -5
  74. package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts.map +1 -1
  75. package/dist/esm/config/auth-config-resolution.shared.utils.d.ts +8 -1
  76. package/dist/esm/config/auth-config-resolution.shared.utils.d.ts.map +1 -1
  77. package/dist/esm/config/auth-config-resolution.shared.utils.js +29 -0
  78. package/dist/esm/config/auth-config-resolution.shared.utils.js.map +1 -1
  79. package/dist/esm/config/entity-identity-config.shared.schemas.d.ts +95 -17
  80. package/dist/esm/config/entity-identity-config.shared.schemas.d.ts.map +1 -1
  81. package/dist/esm/config/entity-identity-config.shared.schemas.js +86 -8
  82. package/dist/esm/config/entity-identity-config.shared.schemas.js.map +1 -1
  83. package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts +12 -12
  84. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts +28 -0
  85. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts.map +1 -1
  86. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js +28 -0
  87. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js.map +1 -1
  88. package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts +45 -12
  89. package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts.map +1 -1
  90. package/dist/esm/external-data/external-data-pipeline.shared.schemas.js.map +1 -1
  91. package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts +103 -58
  92. package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts.map +1 -1
  93. package/dist/esm/external-providers/engine-capabilities.shared.schemas.js +176 -15
  94. package/dist/esm/external-providers/engine-capabilities.shared.schemas.js.map +1 -1
  95. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.d.ts +15 -3
  96. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.d.ts.map +1 -1
  97. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js +32 -5
  98. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js.map +1 -1
  99. package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts +83 -7
  100. package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts.map +1 -1
  101. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts +59 -0
  102. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts.map +1 -0
  103. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js +61 -0
  104. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js.map +1 -0
  105. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.d.ts +97 -0
  106. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.d.ts.map +1 -0
  107. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.js +41 -0
  108. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.js.map +1 -0
  109. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts +148 -2
  110. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts.map +1 -1
  111. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js +56 -1
  112. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js.map +1 -1
  113. package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts +5 -28
  114. package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts.map +1 -1
  115. package/dist/esm/external-providers/provider-capability.shared.schemas.js +4 -2
  116. package/dist/esm/external-providers/provider-capability.shared.schemas.js.map +1 -1
  117. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts +18 -8
  118. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts.map +1 -1
  119. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js +9 -4
  120. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js.map +1 -1
  121. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts +338 -0
  122. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts.map +1 -0
  123. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js +332 -0
  124. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js.map +1 -0
  125. package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts +178 -9
  126. package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts.map +1 -1
  127. package/dist/esm/external-providers/provider-metadata.shared.schemas.js +181 -9
  128. package/dist/esm/external-providers/provider-metadata.shared.schemas.js.map +1 -1
  129. package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts +7 -5
  130. package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts.map +1 -1
  131. package/dist/esm/external-providers/provider-protocol.shared.schemas.js +7 -5
  132. package/dist/esm/external-providers/provider-protocol.shared.schemas.js.map +1 -1
  133. package/dist/esm/external-providers/provider-tier-rule.shared.utils.d.ts +40 -0
  134. package/dist/esm/external-providers/provider-tier-rule.shared.utils.d.ts.map +1 -0
  135. package/dist/esm/external-providers/provider-tier-rule.shared.utils.js +80 -0
  136. package/dist/esm/external-providers/provider-tier-rule.shared.utils.js.map +1 -0
  137. package/dist/esm/features/core-feature-definitions.shared.d.ts.map +1 -1
  138. package/dist/esm/features/core-feature-definitions.shared.js +7 -1
  139. package/dist/esm/features/core-feature-definitions.shared.js.map +1 -1
  140. package/dist/esm/features/feature-builders.shared.d.ts +32 -0
  141. package/dist/esm/features/feature-builders.shared.d.ts.map +1 -1
  142. package/dist/esm/features/feature-builders.shared.js +32 -0
  143. package/dist/esm/features/feature-builders.shared.js.map +1 -1
  144. package/dist/esm/files/file-upload-grant.shared.schemas.d.ts +14 -2
  145. package/dist/esm/files/file-upload-grant.shared.schemas.d.ts.map +1 -1
  146. package/dist/esm/files/file-upload-grant.shared.schemas.js +44 -5
  147. package/dist/esm/files/file-upload-grant.shared.schemas.js.map +1 -1
  148. package/dist/esm/files/files.shared.schemas.d.ts +15 -8
  149. package/dist/esm/files/files.shared.schemas.d.ts.map +1 -1
  150. package/dist/esm/files/files.shared.schemas.js +15 -8
  151. package/dist/esm/files/files.shared.schemas.js.map +1 -1
  152. package/dist/esm/flows-actors/actors.shared.schemas.d.ts.map +1 -1
  153. package/dist/esm/flows-actors/actors.shared.schemas.js +3 -2
  154. package/dist/esm/flows-actors/actors.shared.schemas.js.map +1 -1
  155. package/dist/esm/flows-actors/agents.shared.schemas.d.ts +54 -5
  156. package/dist/esm/flows-actors/agents.shared.schemas.d.ts.map +1 -1
  157. package/dist/esm/flows-actors/agents.shared.schemas.js.map +1 -1
  158. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.d.ts +6 -6
  159. package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts +0 -3
  160. package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts.map +1 -1
  161. package/dist/esm/flows-actors/deliberation.shared.schemas.js +0 -5
  162. package/dist/esm/flows-actors/deliberation.shared.schemas.js.map +1 -1
  163. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts +14 -0
  164. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts.map +1 -1
  165. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js +40 -3
  166. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js.map +1 -1
  167. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts +19 -0
  168. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts.map +1 -1
  169. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js +33 -0
  170. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js.map +1 -1
  171. package/dist/esm/flows-actors/flows-actors.io.shared.schemas.d.ts +14 -9
  172. package/dist/esm/flows-actors/flows-actors.io.shared.schemas.d.ts.map +1 -1
  173. package/dist/esm/flows-actors/flows-actors.io.shared.schemas.js +14 -9
  174. package/dist/esm/flows-actors/flows-actors.io.shared.schemas.js.map +1 -1
  175. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts.map +1 -1
  176. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.js +3 -2
  177. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.js.map +1 -1
  178. package/dist/esm/flows-actors/flows.shared.schemas.d.ts.map +1 -1
  179. package/dist/esm/flows-actors/flows.shared.schemas.js +3 -2
  180. package/dist/esm/flows-actors/flows.shared.schemas.js.map +1 -1
  181. package/dist/esm/flows-actors/mcp-servers.shared.schemas.d.ts +128 -0
  182. package/dist/esm/flows-actors/mcp-servers.shared.schemas.d.ts.map +1 -0
  183. package/dist/esm/flows-actors/mcp-servers.shared.schemas.js +142 -0
  184. package/dist/esm/flows-actors/mcp-servers.shared.schemas.js.map +1 -0
  185. package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.d.ts +0 -3
  186. package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.d.ts.map +1 -1
  187. package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.js +1 -4
  188. package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.js.map +1 -1
  189. package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts +0 -16
  190. package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts.map +1 -1
  191. package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.js +1 -17
  192. package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.js.map +1 -1
  193. package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts +3 -3
  194. package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.js +3 -3
  195. package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +1 -1
  196. package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.d.ts +2 -8
  197. package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.d.ts.map +1 -1
  198. package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.js +4 -15
  199. package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.js.map +1 -1
  200. package/dist/esm/guidance/guidance-state.shared.utils.d.ts.map +1 -1
  201. package/dist/esm/guidance/guidance-state.shared.utils.js +1 -0
  202. package/dist/esm/guidance/guidance-state.shared.utils.js.map +1 -1
  203. package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts +8 -0
  204. package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts.map +1 -1
  205. package/dist/esm/guidance/progression-state.shared.schemas.d.ts +46 -0
  206. package/dist/esm/guidance/progression-state.shared.schemas.d.ts.map +1 -1
  207. package/dist/esm/guidance/progression-state.shared.schemas.js +49 -0
  208. package/dist/esm/guidance/progression-state.shared.schemas.js.map +1 -1
  209. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts +320 -50
  210. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts.map +1 -1
  211. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js +137 -36
  212. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js.map +1 -1
  213. package/dist/esm/index.d.ts +9 -0
  214. package/dist/esm/index.d.ts.map +1 -1
  215. package/dist/esm/index.js +9 -0
  216. package/dist/esm/index.js.map +1 -1
  217. package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts +11 -2
  218. package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts.map +1 -1
  219. package/dist/esm/notifications/email/email-template-registry.shared.schemas.js.map +1 -1
  220. package/dist/esm/notifications/email/email-template.shared.enums.d.ts +15 -0
  221. package/dist/esm/notifications/email/email-template.shared.enums.d.ts.map +1 -1
  222. package/dist/esm/notifications/email/email-template.shared.enums.js +15 -0
  223. package/dist/esm/notifications/email/email-template.shared.enums.js.map +1 -1
  224. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts +1 -0
  225. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts.map +1 -1
  226. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js +19 -0
  227. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js.map +1 -1
  228. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts +30 -0
  229. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts.map +1 -1
  230. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js +65 -1
  231. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js.map +1 -1
  232. package/dist/esm/notifications/notification-badges.core.definitions.d.ts +6 -4
  233. package/dist/esm/notifications/notification-badges.core.definitions.d.ts.map +1 -1
  234. package/dist/esm/notifications/notification-badges.core.definitions.js +6 -4
  235. package/dist/esm/notifications/notification-badges.core.definitions.js.map +1 -1
  236. package/dist/esm/notifications/notification-badges.schemas.d.ts +167 -5
  237. package/dist/esm/notifications/notification-badges.schemas.d.ts.map +1 -1
  238. package/dist/esm/notifications/notification-badges.schemas.js +191 -6
  239. package/dist/esm/notifications/notification-badges.schemas.js.map +1 -1
  240. package/dist/esm/notifications/notifications.shared.schemas.d.ts +107 -0
  241. package/dist/esm/notifications/notifications.shared.schemas.d.ts.map +1 -1
  242. package/dist/esm/notifications/notifications.shared.schemas.js +149 -1
  243. package/dist/esm/notifications/notifications.shared.schemas.js.map +1 -1
  244. package/dist/esm/organizations/organization-notifications.shared.schemas.d.ts.map +1 -1
  245. package/dist/esm/organizations/organization-notifications.shared.schemas.js +22 -1
  246. package/dist/esm/organizations/organization-notifications.shared.schemas.js.map +1 -1
  247. package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts +26 -0
  248. package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts.map +1 -1
  249. package/dist/esm/organizations/organization-preferences.shared.schemas.js +25 -0
  250. package/dist/esm/organizations/organization-preferences.shared.schemas.js.map +1 -1
  251. package/dist/esm/organizations/organization-profile.shared.schemas.d.ts +25 -0
  252. package/dist/esm/organizations/organization-profile.shared.schemas.d.ts.map +1 -1
  253. package/dist/esm/organizations/organization-profile.shared.schemas.js +42 -17
  254. package/dist/esm/organizations/organization-profile.shared.schemas.js.map +1 -1
  255. package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts +3 -2
  256. package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts.map +1 -1
  257. package/dist/esm/organizations/organization-unit-narrowing.shared.js +9 -2
  258. package/dist/esm/organizations/organization-unit-narrowing.shared.js.map +1 -1
  259. package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts.map +1 -1
  260. package/dist/esm/organizations/organizations.shared.resources-config.schemas.js +18 -3
  261. package/dist/esm/organizations/organizations.shared.resources-config.schemas.js.map +1 -1
  262. package/dist/esm/public-runtime/index.d.ts +49 -2
  263. package/dist/esm/public-runtime/index.d.ts.map +1 -1
  264. package/dist/esm/public-runtime/index.js +48 -1
  265. package/dist/esm/public-runtime/index.js.map +1 -1
  266. package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts +6 -5
  267. package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts.map +1 -1
  268. package/dist/esm/queue/jobs.shared.resources-config.schemas.js +6 -5
  269. package/dist/esm/queue/jobs.shared.resources-config.schemas.js.map +1 -1
  270. package/dist/esm/queue/jobs.shared.schemas.d.ts +16 -3
  271. package/dist/esm/queue/jobs.shared.schemas.d.ts.map +1 -1
  272. package/dist/esm/queue/jobs.shared.schemas.js +16 -3
  273. package/dist/esm/queue/jobs.shared.schemas.js.map +1 -1
  274. package/dist/esm/requests/manual-controllers-routes-documentation.d.ts +137 -0
  275. package/dist/esm/requests/manual-controllers-routes-documentation.d.ts.map +1 -0
  276. package/dist/esm/requests/manual-controllers-routes-documentation.js +1201 -0
  277. package/dist/esm/requests/manual-controllers-routes-documentation.js.map +1 -0
  278. package/dist/esm/requests/manual-controllers-routes-urls.d.ts +67 -0
  279. package/dist/esm/requests/manual-controllers-routes-urls.d.ts.map +1 -1
  280. package/dist/esm/requests/manual-controllers-routes-urls.js +78 -0
  281. package/dist/esm/requests/manual-controllers-routes-urls.js.map +1 -1
  282. package/dist/esm/requests/rate-limits.shared.schemas.d.ts +11 -1
  283. package/dist/esm/requests/rate-limits.shared.schemas.d.ts.map +1 -1
  284. package/dist/esm/requests/rate-limits.shared.schemas.js +11 -1
  285. package/dist/esm/requests/rate-limits.shared.schemas.js.map +1 -1
  286. package/dist/esm/requests/websocket.shared.schemas.d.ts +27 -4
  287. package/dist/esm/requests/websocket.shared.schemas.d.ts.map +1 -1
  288. package/dist/esm/requests/websocket.shared.schemas.js +35 -0
  289. package/dist/esm/requests/websocket.shared.schemas.js.map +1 -1
  290. package/dist/esm/resources/resources-config.shared.factory.d.ts +1 -0
  291. package/dist/esm/resources/resources-config.shared.factory.d.ts.map +1 -1
  292. package/dist/esm/resources/resources-config.shared.factory.js +105 -20
  293. package/dist/esm/resources/resources-config.shared.factory.js.map +1 -1
  294. package/dist/esm/resources/resources-config.shared.schemas.d.ts +254 -72
  295. package/dist/esm/resources/resources-config.shared.schemas.d.ts.map +1 -1
  296. package/dist/esm/resources/resources-config.shared.schemas.js.map +1 -1
  297. package/dist/esm/resources/resources-registry.shared.core.definitions.d.ts.map +1 -1
  298. package/dist/esm/resources/resources-registry.shared.core.definitions.js +97 -5
  299. package/dist/esm/resources/resources-registry.shared.core.definitions.js.map +1 -1
  300. package/dist/esm/resources/resources-relationships.shared.factory.d.ts.map +1 -1
  301. package/dist/esm/resources/resources-relationships.shared.factory.js +15 -0
  302. package/dist/esm/resources/resources-relationships.shared.factory.js.map +1 -1
  303. package/dist/esm/resources/resources.shared.core.definitions.d.ts +37 -0
  304. package/dist/esm/resources/resources.shared.core.definitions.d.ts.map +1 -1
  305. package/dist/esm/resources/resources.shared.core.definitions.js +51 -0
  306. package/dist/esm/resources/resources.shared.core.definitions.js.map +1 -1
  307. package/dist/esm/resources/resources.shared.schemas.d.ts +11 -2
  308. package/dist/esm/resources/resources.shared.schemas.d.ts.map +1 -1
  309. package/dist/esm/resources/resources.shared.schemas.js +34 -3
  310. package/dist/esm/resources/resources.shared.schemas.js.map +1 -1
  311. package/dist/esm/resources/utils/field-value-disclosure.utils.d.ts +51 -0
  312. package/dist/esm/resources/utils/field-value-disclosure.utils.d.ts.map +1 -0
  313. package/dist/esm/resources/utils/field-value-disclosure.utils.js +53 -0
  314. package/dist/esm/resources/utils/field-value-disclosure.utils.js.map +1 -0
  315. package/dist/esm/resources/utils/resources-summary.utils.d.ts +16 -2
  316. package/dist/esm/resources/utils/resources-summary.utils.d.ts.map +1 -1
  317. package/dist/esm/resources/utils/resources-summary.utils.js +19 -5
  318. package/dist/esm/resources/utils/resources-summary.utils.js.map +1 -1
  319. package/dist/esm/resources/utils/shared-persistence-collection.utils.d.ts.map +1 -1
  320. package/dist/esm/resources/utils/shared-persistence-collection.utils.js +11 -0
  321. package/dist/esm/resources/utils/shared-persistence-collection.utils.js.map +1 -1
  322. package/dist/esm/runtime/domain-module.shared.definitions.d.ts +25 -0
  323. package/dist/esm/runtime/domain-module.shared.definitions.d.ts.map +1 -1
  324. package/dist/esm/runtime/domain-module.shared.definitions.js.map +1 -1
  325. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.d.ts +1 -0
  326. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.d.ts.map +1 -1
  327. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js +38 -0
  328. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js.map +1 -1
  329. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.d.ts +1 -0
  330. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.d.ts.map +1 -1
  331. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js +38 -0
  332. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js.map +1 -1
  333. package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts +4 -11
  334. package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts.map +1 -1
  335. package/dist/esm/security/authentications/authentication.shared.dto.schemas.js +0 -1
  336. package/dist/esm/security/authentications/authentication.shared.dto.schemas.js.map +1 -1
  337. package/dist/esm/security/authentications/authentication.shared.schemas.d.ts +84 -5
  338. package/dist/esm/security/authentications/authentication.shared.schemas.d.ts.map +1 -1
  339. package/dist/esm/security/authentications/authentication.shared.schemas.js +83 -3
  340. package/dist/esm/security/authentications/authentication.shared.schemas.js.map +1 -1
  341. package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts +1 -0
  342. package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts.map +1 -1
  343. package/dist/esm/security/authentications/registration.shared.dto.schemas.js +11 -0
  344. package/dist/esm/security/authentications/registration.shared.dto.schemas.js.map +1 -1
  345. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.d.ts +15 -0
  346. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.d.ts.map +1 -1
  347. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js +21 -4
  348. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js.map +1 -1
  349. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.d.ts +61 -1
  350. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.d.ts.map +1 -1
  351. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js +208 -6
  352. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js.map +1 -1
  353. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.d.ts +37 -27
  354. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.d.ts.map +1 -1
  355. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js +134 -12
  356. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js.map +1 -1
  357. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts +0 -6
  358. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts.map +1 -1
  359. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js +17 -8
  360. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js.map +1 -1
  361. package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.d.ts.map +1 -1
  362. package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.js +27 -0
  363. package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.js.map +1 -1
  364. package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.d.ts +52 -7
  365. package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.d.ts.map +1 -1
  366. package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.js +45 -8
  367. package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.js.map +1 -1
  368. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts +31 -0
  369. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts.map +1 -0
  370. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.js +198 -0
  371. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.js.map +1 -0
  372. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts +31 -0
  373. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts.map +1 -0
  374. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js +191 -0
  375. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js.map +1 -0
  376. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts +250 -0
  377. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts.map +1 -0
  378. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js +486 -0
  379. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js.map +1 -0
  380. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts +4 -1
  381. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts.map +1 -1
  382. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js +29 -0
  383. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js.map +1 -1
  384. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts +4 -1
  385. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts.map +1 -1
  386. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js +29 -0
  387. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js.map +1 -1
  388. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.d.ts +6 -0
  389. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.d.ts.map +1 -1
  390. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.js +31 -0
  391. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.js.map +1 -1
  392. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.d.ts +13 -0
  393. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.d.ts.map +1 -1
  394. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.js +24 -3
  395. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.js.map +1 -1
  396. package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts +4 -4
  397. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts +4 -4
  398. package/dist/esm/users/user-self.shared.resources-config.schemas.d.ts.map +1 -1
  399. package/dist/esm/users/user-self.shared.resources-config.schemas.js +33 -3
  400. package/dist/esm/users/user-self.shared.resources-config.schemas.js.map +1 -1
  401. package/dist/esm/users/users.shared.resources-config.schemas.d.ts +17 -1
  402. package/dist/esm/users/users.shared.resources-config.schemas.d.ts.map +1 -1
  403. package/dist/esm/users/users.shared.resources-config.schemas.js +136 -5
  404. package/dist/esm/users/users.shared.resources-config.schemas.js.map +1 -1
  405. package/dist/esm/users/users.shared.schemas.d.ts +43 -12
  406. package/dist/esm/users/users.shared.schemas.d.ts.map +1 -1
  407. package/dist/esm/users/users.shared.schemas.js +38 -7
  408. package/dist/esm/users/users.shared.schemas.js.map +1 -1
  409. package/dist/tsconfig.build.tsbuildinfo +1 -1
  410. package/package.json +4 -4
@@ -270,9 +270,12 @@ export type FlowsActors_Agent = {
270
270
  /** Operation definition (input/output schemas, etc.), per transport family. */
271
271
  operationDefinition: LLMProvider_OperationDefinitionBase | ImageProvider_OperationDefinitionBase | CodingAgent_OperationDefinitionBase;
272
272
  /**
273
- * The modality this agent PRODUCES. Optional: when omitted the executor
274
- * derives it from `config` (LLM keys → TEXT/STRUCTURED, image key → IMAGE).
275
- * Set explicitly to make a multimodal agent's output self-describing.
273
+ * The modality this agent PRODUCES, as documentation.
274
+ *
275
+ * Declarative only: no runtime path reads it. Dispatch is decided entirely by
276
+ * the arm of `config`, so setting or omitting this field changes nothing about
277
+ * which provider protocol the agent reaches. Set it to make a multimodal
278
+ * agent's output self-describing to a reader.
276
279
  */
277
280
  outputModality?: FlowsActors_IO_PartKind;
278
281
  /** The modalities this agent CONSUMES (e.g. `[TEXT]` for text-to-image). */
@@ -285,9 +288,55 @@ export type FlowsActors_Agent = {
285
288
  /** Agent capabilities (tools, etc.) */
286
289
  capabilities?: {
287
290
  tools?: {
288
- /** References to callable functions */
291
+ /**
292
+ * References to callable functions.
293
+ *
294
+ * RESOLVED: `AgentsBackendService` looks each ref up through
295
+ * `flowsActorsRegistry.getFunctionTool(ref)` and hands the model a callable tool. An unknown
296
+ * ref is skipped with a debug line rather than failing the turn.
297
+ */
289
298
  functionRefs: string[];
290
- /** References to MCP servers */
299
+ /**
300
+ * References to MCP servers the agent may reach.
301
+ *
302
+ * ## CHECKED, NOT YET CALLABLE (#491)
303
+ *
304
+ * Each ref must name an MCP server the APPLICATION declared (`FlowsActors_McpServer`), and
305
+ * `FlowsActorsRegistryService` REFUSES at initialization an agent whose refs name none. That
306
+ * closes the shape this field was in: it used to resolve against nothing, so a shipped catalog
307
+ * carried seven refs (`filesystem-mcp`, `git-mcp`, `browser-mcp`, `mongodb-mcp`, …) that named
308
+ * no server anywhere while the agent card rendered them as capabilities — a claim shown to a
309
+ * user about a reach the agent did not have. The catalog is gone and the card no longer
310
+ * renders these.
311
+ *
312
+ * The check is deliberately stricter than `functionRefs`, which skip an unknown ref with a
313
+ * debug line: an unknown `functionRef` costs an agent one tool, whereas these were presented
314
+ * as a capability, and a refusal makes the old state unreachable rather than fixed once.
315
+ *
316
+ * ## What is still missing before a ref becomes a CALLABLE tool
317
+ *
318
+ * The declaration is checkable; the call is not yet made. `AgentsBackendService` resolves
319
+ * `functionRefs` and nothing else, so an agent carrying `mcpRefs` still has exactly the reach
320
+ * its `functionRefs` give it.
321
+ *
322
+ * 1. **An MCP client.** `saas-backend-lib/src/mcp/` is the SERVER Wildo exposes to external MCP
323
+ * clients. There is no client, and no MCP client SDK in any manifest.
324
+ * 2. ~~A server registry~~ — BUILT. `registry.mcpServers`, declared per application.
325
+ * 3. **Credential resolution at call time.** Decided 2026-09-09: the call carries the acting
326
+ * user's own delegated provider credential where present and the organization's connection
327
+ * otherwise, from `userProviderCredentials` / `organizationProviderCredentials` rather than
328
+ * a store invented for MCP. `FlowsActors_McpCredentialSubject` records that choice per
329
+ * server; nothing reads it yet.
330
+ *
331
+ * Also decided, and not yet implemented: an unreachable server contributes NO tools to a turn
332
+ * rather than failing it — tools are discovered at turn start — and a call that fails mid-turn
333
+ * returns a typed error the agent can reason about. Both emit an audit event, because a server
334
+ * quietly unreachable for a week must be visible as that rather than as an agent that became
335
+ * less capable for no stated reason.
336
+ *
337
+ * Restoring these to any surface that presents them as a capability belongs in the same change
338
+ * that makes them callable.
339
+ */
291
340
  mcpRefs: string[];
292
341
  };
293
342
  };
@@ -1 +1 @@
1
- {"version":3,"file":"agents.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../src/flows-actors/agents.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mCAA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AAO,EAAE,MAAM,EAAE,CAAC;SACnB,CAAC;KACH,CAAC;IAMF,+BAA+B;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,oCAAoC;IACpC,SAAS,EAAE,MAAM,CAAC;IAElB,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AACF,uEAAuE;AAGvE;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,MAAM,4BAA4B,CACtC,WAAW,SAAS,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,EACvD,YAAY,SAAS,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,EACxD,aAAa,SAAS,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,IACvD;IACF,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,6BAA6B,CAAC;IACzC,iBAAiB,EAAG,wBAAwB,EAAE,CAAC;IAE/C,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IAC5B,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;IAC9B,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;IACzC,gBAAgB,EAAE;QAChB,IAAI,EAAE,uBAAuB,CAAC;QAC9B,GAAG,EAAE,MAAM,CAAC;KACb,EAAE,CAAC;CAEL,CAAC;AACF,uEAAuE"}
1
+ {"version":3,"file":"agents.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../src/flows-actors/agents.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mCAAmC,EACnC,wBAAwB,EACxB,uCAAuC,EACvC,qCAAqC,EACrC,0BAA0B,EAC1B,yCAAyC,E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;SACnB,CAAC;KACH,CAAC;IAMF,+BAA+B;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,oCAAoC;IACpC,SAAS,EAAE,MAAM,CAAC;IAElB,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AACF,uEAAuE;AAGvE;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,MAAM,4BAA4B,CACtC,WAAW,SAAS,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,EACvD,YAAY,SAAS,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,EACxD,aAAa,SAAS,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,IACvD;IACF,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,6BAA6B,CAAC;IACzC,iBAAiB,EAAG,wBAAwB,EAAE,CAAC;IAE/C,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IAC5B,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;IAC9B,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;IACzC,gBAAgB,EAAE;QAChB,IAAI,EAAE,uBAAuB,CAAC;QAC9B,GAAG,EAAE,MAAM,CAAC;KACb,EAAE,CAAC;CAEL,CAAC;AACF,uEAAuE"}
@@ -1 +1 @@
1
- {"version":3,"file":"agents.shared.schemas.js","sourceRoot":"","sources":["../../../../src/flows-actors/agents.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,wBAAwB,EAGxB,0BAA0B,EAG1B,wBAAwB,EAExB,wBAAwB,GACzB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAAE,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AAE,CAAC,QAAQ,EAAE;QAC9B,wCAAwC;QACxC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACnC,iCAAiC;QACjC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC7B,oDAAoD;QACpD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KACjC,CAAC,CAAC,QAAQ,EAAE;CACd,CAAC,CAAC;AAgJH,uEAAuE","sourcesContent":["import {\n CodingAgent_OperationDefinitionBase,\n CodingAgent_OperationKey,\n CodingAgent_OperationModelConfiguration,\n ImageProvider_OperationDefinitionBase,\n ImageProvider_OperationKey,\n ImageProvider_OperationModelConfiguration,\n LLMProvider_OperationDefinitionBase,\n LLMProvider_OperationKey,\n LLMProvider_OperationModelConfiguration,\n LLMProvider_PromptFormat,\n} from \"@wildo-ai/external-connectors-models\";\nimport { FlowsActors_LeafElements_Configuration } from \"./flows-actors.configuration.shared.schemas\";\nimport { FlowsActors_IO_PartKind } from \"./flows-actors.io.shared.schemas\";\nimport { ExecutionContext_InitiatorIds } from \"../runtime/execution-context.shared.schemas\";\nimport { FlowActorSystem_Kind } from \"./flows-actors.system.shared.schemas\";\nimport z from \"zod\";\nimport { FlowsActors_Relationship } from \"./flows-actors.commons.shared.schemas\";\nimport { AppsBlueprint_FileFormat } from \"./apps-blueprint/artifacts.apps-blueprint.shared.schemas\";\n\n\n\n//===============================================================\n// FlowsActors_Agent\n// --------\n// FlowsActors_Agents are AI-powered entities that execute agentic steps within\n// flows and actors. They encapsulate LLM configurations, skills,\n// and system prompts, enabling intelligent decision-making and\n// content generation. FlowsActors_Agents can be scoped to different levels\n// (platform, application, organization, user) for access control.\n//===============================================================\n\n\n//===============================================================\n// FlowsActors_Agent execution configuration\n// Keeps semantic LLM model config while allowing transport selection\n//===============================================================\n\n/** @wildo_source:part:start saas.models.flows-actors.agent-configuration facet:kind:api facet:audience:app-developer\n *\n * Agent execution settings that stay stable across transport changes.\n *\n * `providerRef` and `model` still come from the semantic LLM configuration,\n * while `executionProfileRef` selects one transport/runtime profile under the\n * provider's `AGENT_CLIENT_PROTOCOL` transport when execution should not use the default\n * API-backed path.\n */\nexport type FlowsActors_Agent_ExecutionConfiguration = LLMProvider_OperationModelConfiguration & {\n executionProfileRef?: string;\n /** Refuse provider fan-out when one budget reservation authorizes exactly one physical model call. */\n structuredGenerationExecutionMode?: StructuredGenerationExecutionMode;\n /**\n * Immutable schema-shape ceiling used by both pre-admission planning and the physical structured-output executor.\n * SINGLE_CALL_REQUIRED agents must declare this value so a provider configuration override cannot silently change\n * the number of calls after one budget reservation has been admitted.\n */\n maximumStructuredOutputLeafFields?: number;\n};\n\nexport enum StructuredGenerationExecutionMode {\n CHUNKING_ALLOWED = 'CHUNKING_ALLOWED',\n SINGLE_CALL_REQUIRED = 'SINGLE_CALL_REQUIRED',\n}\n\n/**\n * The LLM/text execution arm of an agent config — the original shape,\n * unchanged. Its `operationKey` is an `LLMProvider_OperationKey`, which is\n * what discriminates this arm from the image arm below (the two operation-key\n * enums are disjoint, so TypeScript narrows the union by `operationKey`).\n * Produces the TEXT / STRUCTURED modality; the executor routes it to\n * `LLM_PROVIDER`.\n */\nexport type FlowsActors_Agent_LLMConfiguration = FlowsActors_LeafElements_Configuration & FlowsActors_Agent_ExecutionConfiguration & {\n operationKey: LLMProvider_OperationKey,\n seed?: number, // Random seed for deterministic output\n};\n\n/**\n * The IMAGE execution arm of an agent config. Carries image-generation\n * parameters (`size` / `quality` / `background` / …) instead of LLM sampling,\n * and an `ImageProvider_OperationKey`. Produces the IMAGE modality; the\n * executor routes it to `IMAGE_PROVIDER`. (AUDIO / VIDEO arms are reserved —\n * their config types land when those transports are wired.)\n */\nexport type FlowsActors_Agent_ImageConfiguration = FlowsActors_LeafElements_Configuration & ImageProvider_OperationModelConfiguration & {\n operationKey: ImageProvider_OperationKey,\n executionProfileRef?: string,\n};\n\n/**\n * The CODING execution arm of an agent config. Carries a workspace-mutating\n * agent reached over the Agent Client Protocol, and a `CodingAgent_OperationKey`.\n * Produces no artifact modality at all — its product is a CHANGED WORKSPACE,\n * which is why it sits on this axis rather than beside TEXT and IMAGE as\n * another thing to generate.\n *\n * `executionProfileRef` is REQUIRED here, unlike every other arm. A coding\n * agent cannot fall back to a default API-backed path: there is no such path,\n * and the profile is where the environment gate, the permission ceiling and the\n * host-configuration posture live. An agent that could omit it would be an\n * agent whose authority was unstated.\n */\nexport type FlowsActors_Agent_CodingConfiguration = FlowsActors_LeafElements_Configuration & CodingAgent_OperationModelConfiguration & {\n operationKey: CodingAgent_OperationKey,\n executionProfileRef: string,\n};\n\n/**\n * Agent execution config, discriminated by `operationKey` along the artifact\n * MODALITY axis. One agent concept; the arm selects the transport family.\n * Narrow with {@link isImageAgentConfiguration} or\n * {@link isCodingAgentConfiguration} before reading arm-specific fields.\n */\nexport type FlowsActors_Agent_Configuration =\n | FlowsActors_Agent_LLMConfiguration\n | FlowsActors_Agent_ImageConfiguration\n | FlowsActors_Agent_CodingConfiguration;\n\n/**\n * Narrows an agent config to its IMAGE arm. The two `operationKey` enums are\n * disjoint, so membership in `ImageProvider_OperationKey` is a sound\n * discriminant.\n */\nexport function isImageAgentConfiguration(\n config: FlowsActors_Agent_Configuration,\n): config is FlowsActors_Agent_ImageConfiguration {\n return Object.values(ImageProvider_OperationKey).includes(config.operationKey as ImageProvider_OperationKey);\n}\n\n/**\n * Narrows an agent config to its LLM/text arm.\n *\n * Exists so consumers can narrow POSITIVELY. Writing `!isImageAgentConfiguration(config)`\n * to mean \"this is the LLM arm\" was correct only while the union had exactly two\n * members: the moment a third arm landed, that negation silently widened to\n * include it and the compiler reported a missing property somewhere else\n * entirely. A positive guard cannot absorb a future arm by accident.\n */\nexport function isLLMAgentConfiguration(\n config: FlowsActors_Agent_Configuration,\n): config is FlowsActors_Agent_LLMConfiguration {\n return Object.values(LLMProvider_OperationKey).includes(config.operationKey as LLMProvider_OperationKey);\n}\n\n/**\n * Narrows an agent config to its CODING arm. The operation-key enums are\n * pairwise disjoint, so membership in `CodingAgent_OperationKey` is a sound\n * discriminant — the same argument the image guard rests on.\n */\nexport function isCodingAgentConfiguration(\n config: FlowsActors_Agent_Configuration,\n): config is FlowsActors_Agent_CodingConfiguration {\n return Object.values(CodingAgent_OperationKey).includes(config.operationKey as CodingAgent_OperationKey);\n}\n/** @wildo_source:part:end saas.models.flows-actors.agent-configuration */\n\n\n\n\n/** @wildo_source:part:start saas.models.flows-actors.agent-definition facet:kind:api facet:audience:app-developer\n *\n * Agent lifecycle status. Only `ACTIVE` agents are invocable — invoking an\n * `INACTIVE` / `DEPRECATED` agent is refused at the call, not at registration,\n * so this is the switch for retiring an agent without deleting its definition\n * (and without breaking the refs that still name it).\n */\nexport enum FlowsActors_Agent_Status {\n ACTIVE = \"active\",\n INACTIVE = \"inactive\",\n DEPRECATED = \"deprecated\",\n}\n/** @wildo_source:part:end saas.models.flows-actors.agent-definition */\n\n/** @wildo_source:part:start saas.models.flows-actors.agent-prompt-spec facet:kind:api facet:audience:app-developer\n *\n * What KIND of work the agent does. The prompt compiler turns this into the\n * agent's baseline behavioral instructions before your own `instructions[]` are\n * appended — so it is a real behavioral input, not a label. Pick the one that\n * matches the job: `GENERATION` (write something new), `ANALYSIS` (read and\n * report), `TRANSFORMATION` (reshape given input), `DECISION` (choose/judge),\n * `CHAT` (multi-turn conversation — see the chat-assistant skill), `CUSTOM`\n * (none of the baselines fit).\n */\nexport enum FlowsActors_Agent_Skill_Type {\n GENERATION = \"generation\",\n ANALYSIS = \"analysis\",\n TRANSFORMATION = \"transformation\",\n DECISION = \"decision\",\n CHAT = \"chat\",\n CUSTOM = \"custom\",\n}\n/** @wildo_source:part:end saas.models.flows-actors.agent-prompt-spec */\n\n\n\n\n//===============================================================\n// FlowsActors_Agent Style Preferences\n//===============================================================\n\nexport enum FlowsActors_Agent_Verbosity {\n LOW = \"low\",\n MEDIUM = \"medium\",\n HIGH = \"high\",\n}\n\nexport enum FlowsActors_Agent_Tone {\n NEUTRAL = \"neutral\",\n CASUAL = \"casual\",\n FORMAL = \"formal\",\n TECHNICAL = \"technical\",\n}\n\n\n//===============================================================\n// FlowsActors_Agent Constraint Types (Task 1)\n// For prompt-level prohibitions with precedence + violation handling\n//===============================================================\n\nexport enum FlowsActors_Agent_ConstraintType {\n SECURITY = \"security\", // Never reveal API keys, never execute arbitrary code\n SAFETY = \"safety\", // Refuse harmful requests\n PRIVACY = \"privacy\", // Handle PII appropriately\n SCOPE = \"scope\", // Stay within task boundaries\n COMPLIANCE = \"compliance\", // Regulatory constraints\n}\n\n\n//===============================================================\n// FlowsActors_Agent Constraint Schema (Task 2)\n//===============================================================\n\nexport const FlowsActors_Agent_ConstraintSchema = z.object({\n /** Unique constraint identifier */\n id: z.string(),\n /** The constraint text (prohibition) */\n text: z.string(),\n /** Constraint category */\n type: z.enum(FlowsActors_Agent_ConstraintType),\n /** Action on violation */\n onViolation: z.enum([\"refuse\", \"warn\", \"log\"]).default(\"refuse\"),\n});\n\nexport type FlowsActors_Agent_Constraint = z.infer<typeof FlowsActors_Agent_ConstraintSchema>;\n\n\n//===============================================================\n// FlowsActors_Agent Output Specification Schema (Task 3)\n// REUSES: FlowsActors_IO_PartKind, AppsBlueprint_FileFormat, FlowsActors_Agent_Verbosity\n//===============================================================\n\nexport const FlowsActors_Agent_OutputSpecSchema = z.object({\n /**\n * Output type classification\n * REUSES: FlowsActors_IO_PartKind (TEXT, FILE, RAW_DATA, STRUCTURED)\n */\n type: z.enum(FlowsActors_IO_PartKind).optional(),\n\n /**\n * File format hint (for FILE type or text formatting guidance)\n * REUSES: AppsBlueprint_FileFormat (TEXT, TYPESCRIPT, MARKDOWN, JSON, YAML, etc.)\n */\n fileFormat: z.enum(AppsBlueprint_FileFormat).optional(),\n\n /**\n * Length guidance - overrides style.verbosity for output specifically\n * REUSES: FlowsActors_Agent_Verbosity (LOW=concise, MEDIUM=moderate, HIGH=detailed)\n */\n lengthGuidance: z.enum(FlowsActors_Agent_Verbosity).optional(),\n\n /** Include reasoning/explanation in output */\n includeReasoning: z.boolean().optional(),\n\n /** Required sections in output (e.g., [\"summary\", \"recommendations\"]) */\n requiredSections: z.array(z.string()).optional(),\n});\n\nexport type FlowsActors_Agent_OutputSpec = z.infer<typeof FlowsActors_Agent_OutputSpecSchema>;\n\n\n//===============================================================\n// FlowsActors_Agent Uncertainty Policy (Task 4)\n// How to handle ambiguity in agent execution\n//===============================================================\n\nexport enum FlowsActors_Agent_UncertaintyPolicy {\n ASK = \"ask\", // Ask for clarification\n INFER = \"infer\", // Make reasonable inferences\n CONSERVATIVE = \"conservative\", // Choose safest option\n FAIL = \"fail\", // Return error on uncertainty\n}\n\n\n//===============================================================\n// FlowsActors_Agent Uncertainty Schema (Task 5)\n//===============================================================\n\nexport const FlowsActors_Agent_UncertaintySchema = z.object({\n /** Policy when agent is uncertain */\n policy: z.enum(FlowsActors_Agent_UncertaintyPolicy).default(FlowsActors_Agent_UncertaintyPolicy.ASK),\n /** Confidence threshold (0-1) below which to apply policy */\n confidenceThreshold: z.number().min(0).max(1).optional(),\n});\n\nexport type FlowsActors_Agent_Uncertainty = z.infer<typeof FlowsActors_Agent_UncertaintySchema>;\n\n\n//===============================================================\n// FlowsActors_Agent_PromptSpec (Clean Implementation)\n// Complete prompt specification - required on all agents\n// Replaces legacy skill.role/persona approach\n//===============================================================\n\n/** @wildo_source:part:start saas.models.flows-actors.agent-prompt-spec facet:kind:api facet:audience:app-developer\n *\n * The agent's prompt, authored as STRUCTURE rather than one prose blob. The\n * prompt compiler renders these fields into the provider's preferred format\n * (XML boundaries for Claude, message roles for OpenAI, …), so you never\n * hand-format a system prompt or branch on the provider yourself.\n *\n * `role` + `skillType` are the only required fields — start there and add the\n * rest as the behavior needs them. Precedence when the model must choose:\n * `constraints` (prohibitions — highest) > `instructions` (hard rules) >\n * `hints` (soft preferences). Keep the per-call task in the invocation's\n * `input.prompt`; keep everything durable about the agent here.\n */\nexport const FlowsActors_Agent_PromptSpecSchema = z.object({\n //====================\n // IDENTITY (migrated from legacy skill)\n //====================\n\n /**\n * Agent's role description\n * Explains what this agent does and its primary function\n */\n role: z.string(),\n\n /**\n * Agent's persona/character\n * Defines the agent's personality, expertise, and communication approach\n */\n persona: z.string().optional(),\n\n /**\n * Agent skill type - determines baseline behavioral instructions\n */\n skillType: z.enum(FlowsActors_Agent_Skill_Type),\n\n //====================\n // CONSTRAINTS (highest precedence)\n //====================\n\n /**\n * Constraints - HIGHEST precedence, never violate\n * Different from instructions: constraints are prohibitions, instructions are rules\n */\n constraints: z.array(FlowsActors_Agent_ConstraintSchema).optional(),\n\n //====================\n // GOAL\n //====================\n\n /**\n * Goal statement - what the agent aims to achieve\n * Single sentence describing success criteria\n */\n goal: z.string().optional(),\n\n //====================\n // OUTPUT SPECIFICATION\n //====================\n\n /**\n * Output specification - format and structure requirements\n */\n output: FlowsActors_Agent_OutputSpecSchema.optional(),\n\n //====================\n // INSTRUCTIONS & HINTS\n //====================\n\n /** Hard rules - behavioral instructions (in addition to skill type baseline) */\n instructions: z.array(z.string()).default([]),\n\n /** Soft hints - preferences, can be overridden by task constraints */\n hints: z.array(z.string()).optional(),\n\n //====================\n // UNCERTAINTY HANDLING\n //====================\n\n /**\n * Uncertainty handling policy\n */\n uncertainty: FlowsActors_Agent_UncertaintySchema.optional(),\n\n //====================\n // SCOPE BOUNDARIES\n //====================\n\n /**\n * Scope boundaries - explicit \"don't do\" statements\n * Helps prevent scope creep\n */\n outOfScope: z.array(z.string()).optional(),\n\n //====================\n // EXAMPLES (few-shot)\n //====================\n\n /**\n * Examples - few-shot examples for better output quality\n * Format: input/output pairs with optional explanation\n */\n examples: z.array(z.object({\n input: z.string(),\n output: z.string(),\n explanation: z.string().optional(),\n })).optional(),\n\n //====================\n // STYLE\n //====================\n\n /** Style preferences */\n style: z.object({\n verbosity: z.enum(FlowsActors_Agent_Verbosity).optional(),\n tone: z.enum(FlowsActors_Agent_Tone).optional(),\n }).optional(),\n\n //====================\n // CONTEXT CURATION\n //====================\n\n /** Context curation settings */\n curation: z.object({\n /** Maximum context items to include */\n maxItems: z.number().min(1).max(100).optional(),\n /** Minimum relevance score threshold (0-1) */\n minRelevance: z.number().min(0).max(1).optional(),\n /** Maximum total tokens for context */\n maxTokens: z.number().optional(),\n }).optional(),\n\n //====================\n // FORMAT & METADATA\n //====================\n\n /** Override provider's default prompt format */\n promptFormatOverride: z.enum(LLMProvider_PromptFormat).optional(),\n\n /**\n * Prompt specification metadata for versioning and tracking\n * Helps track prompt iterations and authorship for 200+ agents\n */\n metadata: z.object({\n /** Semantic version of this prompt spec (e.g., \"1.2.0\") */\n version: z.string().optional(),\n /** Last modification date (ISO 8601) */\n lastModified: z.string().optional(),\n /** Author or team responsible */\n author: z.string().optional(),\n /** Brief changelog or reason for current version */\n changelog: z.string().optional(),\n }).optional(),\n});\n\nexport type FlowsActors_Agent_PromptSpec = z.infer<typeof FlowsActors_Agent_PromptSpecSchema>;\n/** @wildo_source:part:end saas.models.flows-actors.agent-prompt-spec */\n\n\n//===============================================================\n// FlowsActors_Agent Schema (Clean Implementation)\n// FlowsActors_Agents are AI-powered entities with specific roles and capabilities\n// They are called by Flow Steps (AGENT_CALL) and Actors (AGENTIC mode)\n//===============================================================\n\n/** @wildo_source:part:start saas.models.flows-actors.agent-definition facet:kind:api facet:audience:app-developer\n *\n * A callable AI unit. This is the whole authoring surface for \"give my app an\n * LLM capability\": author one of these, register it on your backend module's\n * `flowsActors.agents`, then invoke it by `ref`.\n *\n * The definition is DECLARATIVE and durable — provider, model, operation, and\n * prompt live here; the per-call task lives in the invocation. Nothing about\n * transport, retries, rate limiting, usage accounting, or tracing is yours to\n * write: the engine owns all of it once the agent is registered.\n *\n * Import path: `@wildo-ai/saas-models`.\n */\nexport type FlowsActors_Agent = {\n //====================\n // IDENTITY\n //====================\n\n /** Unique agent reference for flow/actor calls */\n ref: string,\n\n /** Human-readable display name */\n displayName: string,\n\n /** Agent lifecycle status */\n status: FlowsActors_Agent_Status,\n\n //====================\n // EXECUTION CONFIGURATION (modality-discriminated)\n //====================\n\n /** Provider/model config, discriminated by modality (LLM/text | image | coding). */\n config: FlowsActors_Agent_Configuration,\n\n /** Operation definition (input/output schemas, etc.), per transport family. */\n operationDefinition: LLMProvider_OperationDefinitionBase | ImageProvider_OperationDefinitionBase | CodingAgent_OperationDefinitionBase,\n\n //====================\n // ARTIFACT MODALITY (optional — explicit override; else derived from config)\n //====================\n\n /**\n * The modality this agent PRODUCES. Optional: when omitted the executor\n * derives it from `config` (LLM keys → TEXT/STRUCTURED, image key → IMAGE).\n * Set explicitly to make a multimodal agent's output self-describing.\n */\n outputModality?: FlowsActors_IO_PartKind,\n\n /** The modalities this agent CONSUMES (e.g. `[TEXT]` for text-to-image). */\n inputModalities?: FlowsActors_IO_PartKind[],\n\n //====================\n // PROMPT SPECIFICATION (required)\n //====================\n\n /**\n * Complete prompt specification\n * Defines role, persona, constraints, instructions, output format, etc.\n */\n promptSpec: FlowsActors_Agent_PromptSpec,\n\n //====================\n // CAPABILITIES\n //====================\n\n /** Agent capabilities (tools, etc.) */\n capabilities?: {\n tools?: {\n /** References to callable functions */\n functionRefs: string[],\n /** References to MCP servers */\n mcpRefs: string[],\n },\n },\n\n //====================\n // VERSIONING\n //====================\n\n /** Agent definition version */\n version?: string,\n\n /** Creation timestamp (ISO 8601) */\n createdAt: string,\n\n /** Last update timestamp (ISO 8601) */\n updatedAt?: string,\n};\n/** @wildo_source:part:end saas.models.flows-actors.agent-definition */\n\n\n/** @wildo_source:part:start saas.models.flows-actors.agent-invocation facet:kind:api facet:audience:app-developer\n *\n * One call to one agent — the envelope you build and hand to\n * `AgentsBackendService.invokeAgent`, and the SAME shape you get back with\n * `output` and `executionContext` filled in.\n *\n * What you supply:\n * - `agentRef` — the `ref` of a registered agent (unknown ref throws).\n * - `input` — the per-call task. `{ prompt }` for text; add `{ schema }` (a Zod\n * schema) for `GENERATE_STRUCTURED`, which REQUIRES it. Anything else you put\n * here is JSON-serialized into the user prompt.\n * - `output` — an empty value of the expected shape (`{ text: '' }`,\n * `{ object: {} }`). It is a typing seed; the returned envelope replaces it.\n * - `initiator` / `invocationContext` / `artifactBindings` — `{}` / `[]` / `[]`\n * when you have nothing to correlate.\n *\n * What comes back: `output` normalized to the operation's shape, and\n * `executionContext` enriched with `executionTime`, `finishedAt`, and provider\n * `usage` (tokens) when the transport reports it.\n *\n * Import path: `@wildo-ai/saas-models`.\n */\nexport type FlowsActors_Agent_Invocation<\n InputSchema extends z.ZodSchema<any> = z.ZodSchema<any>,\n OutputSchema extends z.ZodSchema<any> = z.ZodSchema<any>,\n ContextSchema extends z.ZodSchema<any> = z.ZodSchema<any>,\n> = {\n _id?: string,\n agentRef: string,\n initiator: ExecutionContext_InitiatorIds,\n invocationContext : FlowsActors_Relationship[],\n\n input: z.infer<InputSchema>,\n output: z.infer<OutputSchema>,\n executionContext: z.infer<ContextSchema>,\n artifactBindings: {\n kind: FlowsActors_IO_PartKind,\n ref: string,\n }[],\n\n};\n/** @wildo_source:part:end saas.models.flows-actors.agent-invocation */\n"]}
1
+ {"version":3,"file":"agents.shared.schemas.js","sourceRoot":"","sources":["../../../../src/flows-actors/agents.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,wBAAwB,EAGxB,0BAA0B,EAG1B,wBAAwB,EAExB,wBAAwB,GACzB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAG3E,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,OAAO,EAAE,wBAAwB,EAAE,MAAM,0DAA0D,CAAC;AAyCpG,MAAM,CAAN,IAAY,iCAGX;AAHD,WAAY,iCAAiC;IAC3C,0EAAqC,CAAA;IACrC,kFAA6C,CAAA;AAC/C,CAAC,EAHW,iCAAiC,KAAjC,iCAAiC,QAG5C;AAwDD;;;;GAIG;AACH,MAAM,UAAU,yBAAyB,CACvC,MAAuC;IAEvC,OAAO,MAAM,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itionBase,\n CodingAgent_OperationKey,\n CodingAgent_OperationModelConfiguration,\n ImageProvider_OperationDefinitionBase,\n ImageProvider_OperationKey,\n ImageProvider_OperationModelConfiguration,\n LLMProvider_OperationDefinitionBase,\n LLMProvider_OperationKey,\n LLMProvider_OperationModelConfiguration,\n LLMProvider_PromptFormat,\n} from \"@wildo-ai/external-connectors-models\";\nimport { FlowsActors_LeafElements_Configuration } from \"./flows-actors.configuration.shared.schemas\";\nimport { FlowsActors_IO_PartKind } from \"./flows-actors.io.shared.schemas\";\nimport { ExecutionContext_InitiatorIds } from \"../runtime/execution-context.shared.schemas\";\nimport { FlowActorSystem_Kind } from \"./flows-actors.system.shared.schemas\";\nimport z from \"zod\";\nimport { FlowsActors_Relationship } from \"./flows-actors.commons.shared.schemas\";\nimport { AppsBlueprint_FileFormat } from \"./apps-blueprint/artifacts.apps-blueprint.shared.schemas\";\n\n\n\n//===============================================================\n// FlowsActors_Agent\n// --------\n// FlowsActors_Agents are AI-powered entities that execute agentic steps within\n// flows and actors. They encapsulate LLM configurations, skills,\n// and system prompts, enabling intelligent decision-making and\n// content generation. FlowsActors_Agents can be scoped to different levels\n// (platform, application, organization, user) for access control.\n//===============================================================\n\n\n//===============================================================\n// FlowsActors_Agent execution configuration\n// Keeps semantic LLM model config while allowing transport selection\n//===============================================================\n\n/** @wildo_source:part:start saas.models.flows-actors.agent-configuration facet:kind:api facet:audience:app-developer\n *\n * Agent execution settings that stay stable across transport changes.\n *\n * `providerRef` and `model` still come from the semantic LLM configuration,\n * while `executionProfileRef` selects one transport/runtime profile under the\n * provider's `AGENT_CLIENT_PROTOCOL` transport when execution should not use the default\n * API-backed path.\n */\nexport type FlowsActors_Agent_ExecutionConfiguration = LLMProvider_OperationModelConfiguration & {\n executionProfileRef?: string;\n /** Refuse provider fan-out when one budget reservation authorizes exactly one physical model call. */\n structuredGenerationExecutionMode?: StructuredGenerationExecutionMode;\n /**\n * Immutable schema-shape ceiling used by both pre-admission planning and the physical structured-output executor.\n * SINGLE_CALL_REQUIRED agents must declare this value so a provider configuration override cannot silently change\n * the number of calls after one budget reservation has been admitted.\n */\n maximumStructuredOutputLeafFields?: number;\n};\n\nexport enum StructuredGenerationExecutionMode {\n CHUNKING_ALLOWED = 'CHUNKING_ALLOWED',\n SINGLE_CALL_REQUIRED = 'SINGLE_CALL_REQUIRED',\n}\n\n/**\n * The LLM/text execution arm of an agent config — the original shape,\n * unchanged. Its `operationKey` is an `LLMProvider_OperationKey`, which is\n * what discriminates this arm from the image arm below (the two operation-key\n * enums are disjoint, so TypeScript narrows the union by `operationKey`).\n * Produces the TEXT / STRUCTURED modality; the executor routes it to\n * `LLM_PROVIDER`.\n */\nexport type FlowsActors_Agent_LLMConfiguration = FlowsActors_LeafElements_Configuration & FlowsActors_Agent_ExecutionConfiguration & {\n operationKey: LLMProvider_OperationKey,\n seed?: number, // Random seed for deterministic output\n};\n\n/**\n * The IMAGE execution arm of an agent config. Carries image-generation\n * parameters (`size` / `quality` / `background` / …) instead of LLM sampling,\n * and an `ImageProvider_OperationKey`. Produces the IMAGE modality; the\n * executor routes it to `IMAGE_PROVIDER`. (AUDIO / VIDEO arms are reserved —\n * their config types land when those transports are wired.)\n */\nexport type FlowsActors_Agent_ImageConfiguration = FlowsActors_LeafElements_Configuration & ImageProvider_OperationModelConfiguration & {\n operationKey: ImageProvider_OperationKey,\n executionProfileRef?: string,\n};\n\n/**\n * The CODING execution arm of an agent config. Carries a workspace-mutating\n * agent reached over the Agent Client Protocol, and a `CodingAgent_OperationKey`.\n * Produces no artifact modality at all — its product is a CHANGED WORKSPACE,\n * which is why it sits on this axis rather than beside TEXT and IMAGE as\n * another thing to generate.\n *\n * `executionProfileRef` is REQUIRED here, unlike every other arm. A coding\n * agent cannot fall back to a default API-backed path: there is no such path,\n * and the profile is where the environment gate, the permission ceiling and the\n * host-configuration posture live. An agent that could omit it would be an\n * agent whose authority was unstated.\n */\nexport type FlowsActors_Agent_CodingConfiguration = FlowsActors_LeafElements_Configuration & CodingAgent_OperationModelConfiguration & {\n operationKey: CodingAgent_OperationKey,\n executionProfileRef: string,\n};\n\n/**\n * Agent execution config, discriminated by `operationKey` along the artifact\n * MODALITY axis. One agent concept; the arm selects the transport family.\n * Narrow with {@link isImageAgentConfiguration} or\n * {@link isCodingAgentConfiguration} before reading arm-specific fields.\n */\nexport type FlowsActors_Agent_Configuration =\n | FlowsActors_Agent_LLMConfiguration\n | FlowsActors_Agent_ImageConfiguration\n | FlowsActors_Agent_CodingConfiguration;\n\n/**\n * Narrows an agent config to its IMAGE arm. The two `operationKey` enums are\n * disjoint, so membership in `ImageProvider_OperationKey` is a sound\n * discriminant.\n */\nexport function isImageAgentConfiguration(\n config: FlowsActors_Agent_Configuration,\n): config is FlowsActors_Agent_ImageConfiguration {\n return Object.values(ImageProvider_OperationKey).includes(config.operationKey as ImageProvider_OperationKey);\n}\n\n/**\n * Narrows an agent config to its LLM/text arm.\n *\n * Exists so consumers can narrow POSITIVELY. Writing `!isImageAgentConfiguration(config)`\n * to mean \"this is the LLM arm\" was correct only while the union had exactly two\n * members: the moment a third arm landed, that negation silently widened to\n * include it and the compiler reported a missing property somewhere else\n * entirely. A positive guard cannot absorb a future arm by accident.\n */\nexport function isLLMAgentConfiguration(\n config: FlowsActors_Agent_Configuration,\n): config is FlowsActors_Agent_LLMConfiguration {\n return Object.values(LLMProvider_OperationKey).includes(config.operationKey as LLMProvider_OperationKey);\n}\n\n/**\n * Narrows an agent config to its CODING arm. The operation-key enums are\n * pairwise disjoint, so membership in `CodingAgent_OperationKey` is a sound\n * discriminant — the same argument the image guard rests on.\n */\nexport function isCodingAgentConfiguration(\n config: FlowsActors_Agent_Configuration,\n): config is FlowsActors_Agent_CodingConfiguration {\n return Object.values(CodingAgent_OperationKey).includes(config.operationKey as CodingAgent_OperationKey);\n}\n/** @wildo_source:part:end saas.models.flows-actors.agent-configuration */\n\n\n\n\n/** @wildo_source:part:start saas.models.flows-actors.agent-definition facet:kind:api facet:audience:app-developer\n *\n * Agent lifecycle status. Only `ACTIVE` agents are invocable — invoking an\n * `INACTIVE` / `DEPRECATED` agent is refused at the call, not at registration,\n * so this is the switch for retiring an agent without deleting its definition\n * (and without breaking the refs that still name it).\n */\nexport enum FlowsActors_Agent_Status {\n ACTIVE = \"active\",\n INACTIVE = \"inactive\",\n DEPRECATED = \"deprecated\",\n}\n/** @wildo_source:part:end saas.models.flows-actors.agent-definition */\n\n/** @wildo_source:part:start saas.models.flows-actors.agent-prompt-spec facet:kind:api facet:audience:app-developer\n *\n * What KIND of work the agent does. The prompt compiler turns this into the\n * agent's baseline behavioral instructions before your own `instructions[]` are\n * appended — so it is a real behavioral input, not a label. Pick the one that\n * matches the job: `GENERATION` (write something new), `ANALYSIS` (read and\n * report), `TRANSFORMATION` (reshape given input), `DECISION` (choose/judge),\n * `CHAT` (multi-turn conversation — see the chat-assistant skill), `CUSTOM`\n * (none of the baselines fit).\n */\nexport enum FlowsActors_Agent_Skill_Type {\n GENERATION = \"generation\",\n ANALYSIS = \"analysis\",\n TRANSFORMATION = \"transformation\",\n DECISION = \"decision\",\n CHAT = \"chat\",\n CUSTOM = \"custom\",\n}\n/** @wildo_source:part:end saas.models.flows-actors.agent-prompt-spec */\n\n\n\n\n//===============================================================\n// FlowsActors_Agent Style Preferences\n//===============================================================\n\nexport enum FlowsActors_Agent_Verbosity {\n LOW = \"low\",\n MEDIUM = \"medium\",\n HIGH = \"high\",\n}\n\nexport enum FlowsActors_Agent_Tone {\n NEUTRAL = \"neutral\",\n CASUAL = \"casual\",\n FORMAL = \"formal\",\n TECHNICAL = \"technical\",\n}\n\n\n//===============================================================\n// FlowsActors_Agent Constraint Types (Task 1)\n// For prompt-level prohibitions with precedence + violation handling\n//===============================================================\n\nexport enum FlowsActors_Agent_ConstraintType {\n SECURITY = \"security\", // Never reveal API keys, never execute arbitrary code\n SAFETY = \"safety\", // Refuse harmful requests\n PRIVACY = \"privacy\", // Handle PII appropriately\n SCOPE = \"scope\", // Stay within task boundaries\n COMPLIANCE = \"compliance\", // Regulatory constraints\n}\n\n\n//===============================================================\n// FlowsActors_Agent Constraint Schema (Task 2)\n//===============================================================\n\nexport const FlowsActors_Agent_ConstraintSchema = z.object({\n /** Unique constraint identifier */\n id: z.string(),\n /** The constraint text (prohibition) */\n text: z.string(),\n /** Constraint category */\n type: z.enum(FlowsActors_Agent_ConstraintType),\n /** Action on violation */\n onViolation: z.enum([\"refuse\", \"warn\", \"log\"]).default(\"refuse\"),\n});\n\nexport type FlowsActors_Agent_Constraint = z.infer<typeof FlowsActors_Agent_ConstraintSchema>;\n\n\n//===============================================================\n// FlowsActors_Agent Output Specification Schema (Task 3)\n// REUSES: FlowsActors_IO_PartKind, AppsBlueprint_FileFormat, FlowsActors_Agent_Verbosity\n//===============================================================\n\nexport const FlowsActors_Agent_OutputSpecSchema = z.object({\n /**\n * Output type classification\n * REUSES: FlowsActors_IO_PartKind (TEXT, FILE, RAW_DATA, STRUCTURED)\n */\n type: z.enum(FlowsActors_IO_PartKind).optional(),\n\n /**\n * File format hint (for FILE type or text formatting guidance)\n * REUSES: AppsBlueprint_FileFormat (TEXT, TYPESCRIPT, MARKDOWN, JSON, YAML, etc.)\n */\n fileFormat: z.enum(AppsBlueprint_FileFormat).optional(),\n\n /**\n * Length guidance - overrides style.verbosity for output specifically\n * REUSES: FlowsActors_Agent_Verbosity (LOW=concise, MEDIUM=moderate, HIGH=detailed)\n */\n lengthGuidance: z.enum(FlowsActors_Agent_Verbosity).optional(),\n\n /** Include reasoning/explanation in output */\n includeReasoning: z.boolean().optional(),\n\n /** Required sections in output (e.g., [\"summary\", \"recommendations\"]) */\n requiredSections: z.array(z.string()).optional(),\n});\n\nexport type FlowsActors_Agent_OutputSpec = z.infer<typeof FlowsActors_Agent_OutputSpecSchema>;\n\n\n//===============================================================\n// FlowsActors_Agent Uncertainty Policy (Task 4)\n// How to handle ambiguity in agent execution\n//===============================================================\n\nexport enum FlowsActors_Agent_UncertaintyPolicy {\n ASK = \"ask\", // Ask for clarification\n INFER = \"infer\", // Make reasonable inferences\n CONSERVATIVE = \"conservative\", // Choose safest option\n FAIL = \"fail\", // Return error on uncertainty\n}\n\n\n//===============================================================\n// FlowsActors_Agent Uncertainty Schema (Task 5)\n//===============================================================\n\nexport const FlowsActors_Agent_UncertaintySchema = z.object({\n /** Policy when agent is uncertain */\n policy: z.enum(FlowsActors_Agent_UncertaintyPolicy).default(FlowsActors_Agent_UncertaintyPolicy.ASK),\n /** Confidence threshold (0-1) below which to apply policy */\n confidenceThreshold: z.number().min(0).max(1).optional(),\n});\n\nexport type FlowsActors_Agent_Uncertainty = z.infer<typeof FlowsActors_Agent_UncertaintySchema>;\n\n\n//===============================================================\n// FlowsActors_Agent_PromptSpec (Clean Implementation)\n// Complete prompt specification - required on all agents\n// Replaces legacy skill.role/persona approach\n//===============================================================\n\n/** @wildo_source:part:start saas.models.flows-actors.agent-prompt-spec facet:kind:api facet:audience:app-developer\n *\n * The agent's prompt, authored as STRUCTURE rather than one prose blob. The\n * prompt compiler renders these fields into the provider's preferred format\n * (XML boundaries for Claude, message roles for OpenAI, …), so you never\n * hand-format a system prompt or branch on the provider yourself.\n *\n * `role` + `skillType` are the only required fields — start there and add the\n * rest as the behavior needs them. Precedence when the model must choose:\n * `constraints` (prohibitions — highest) > `instructions` (hard rules) >\n * `hints` (soft preferences). Keep the per-call task in the invocation's\n * `input.prompt`; keep everything durable about the agent here.\n */\nexport const FlowsActors_Agent_PromptSpecSchema = z.object({\n //====================\n // IDENTITY (migrated from legacy skill)\n //====================\n\n /**\n * Agent's role description\n * Explains what this agent does and its primary function\n */\n role: z.string(),\n\n /**\n * Agent's persona/character\n * Defines the agent's personality, expertise, and communication approach\n */\n persona: z.string().optional(),\n\n /**\n * Agent skill type - determines baseline behavioral instructions\n */\n skillType: z.enum(FlowsActors_Agent_Skill_Type),\n\n //====================\n // CONSTRAINTS (highest precedence)\n //====================\n\n /**\n * Constraints - HIGHEST precedence, never violate\n * Different from instructions: constraints are prohibitions, instructions are rules\n */\n constraints: z.array(FlowsActors_Agent_ConstraintSchema).optional(),\n\n //====================\n // GOAL\n //====================\n\n /**\n * Goal statement - what the agent aims to achieve\n * Single sentence describing success criteria\n */\n goal: z.string().optional(),\n\n //====================\n // OUTPUT SPECIFICATION\n //====================\n\n /**\n * Output specification - format and structure requirements\n */\n output: FlowsActors_Agent_OutputSpecSchema.optional(),\n\n //====================\n // INSTRUCTIONS & HINTS\n //====================\n\n /** Hard rules - behavioral instructions (in addition to skill type baseline) */\n instructions: z.array(z.string()).default([]),\n\n /** Soft hints - preferences, can be overridden by task constraints */\n hints: z.array(z.string()).optional(),\n\n //====================\n // UNCERTAINTY HANDLING\n //====================\n\n /**\n * Uncertainty handling policy\n */\n uncertainty: FlowsActors_Agent_UncertaintySchema.optional(),\n\n //====================\n // SCOPE BOUNDARIES\n //====================\n\n /**\n * Scope boundaries - explicit \"don't do\" statements\n * Helps prevent scope creep\n */\n outOfScope: z.array(z.string()).optional(),\n\n //====================\n // EXAMPLES (few-shot)\n //====================\n\n /**\n * Examples - few-shot examples for better output quality\n * Format: input/output pairs with optional explanation\n */\n examples: z.array(z.object({\n input: z.string(),\n output: z.string(),\n explanation: z.string().optional(),\n })).optional(),\n\n //====================\n // STYLE\n //====================\n\n /** Style preferences */\n style: z.object({\n verbosity: z.enum(FlowsActors_Agent_Verbosity).optional(),\n tone: z.enum(FlowsActors_Agent_Tone).optional(),\n }).optional(),\n\n //====================\n // CONTEXT CURATION\n //====================\n\n /** Context curation settings */\n curation: z.object({\n /** Maximum context items to include */\n maxItems: z.number().min(1).max(100).optional(),\n /** Minimum relevance score threshold (0-1) */\n minRelevance: z.number().min(0).max(1).optional(),\n /** Maximum total tokens for context */\n maxTokens: z.number().optional(),\n }).optional(),\n\n //====================\n // FORMAT & METADATA\n //====================\n\n /** Override provider's default prompt format */\n promptFormatOverride: z.enum(LLMProvider_PromptFormat).optional(),\n\n /**\n * Prompt specification metadata for versioning and tracking\n * Helps track prompt iterations and authorship for 200+ agents\n */\n metadata: z.object({\n /** Semantic version of this prompt spec (e.g., \"1.2.0\") */\n version: z.string().optional(),\n /** Last modification date (ISO 8601) */\n lastModified: z.string().optional(),\n /** Author or team responsible */\n author: z.string().optional(),\n /** Brief changelog or reason for current version */\n changelog: z.string().optional(),\n }).optional(),\n});\n\nexport type FlowsActors_Agent_PromptSpec = z.infer<typeof FlowsActors_Agent_PromptSpecSchema>;\n/** @wildo_source:part:end saas.models.flows-actors.agent-prompt-spec */\n\n\n//===============================================================\n// FlowsActors_Agent Schema (Clean Implementation)\n// FlowsActors_Agents are AI-powered entities with specific roles and capabilities\n// They are called by Flow Steps (AGENT_CALL) and Actors (AGENTIC mode)\n//===============================================================\n\n/** @wildo_source:part:start saas.models.flows-actors.agent-definition facet:kind:api facet:audience:app-developer\n *\n * A callable AI unit. This is the whole authoring surface for \"give my app an\n * LLM capability\": author one of these, register it on your backend module's\n * `flowsActors.agents`, then invoke it by `ref`.\n *\n * The definition is DECLARATIVE and durable — provider, model, operation, and\n * prompt live here; the per-call task lives in the invocation. Nothing about\n * transport, retries, rate limiting, usage accounting, or tracing is yours to\n * write: the engine owns all of it once the agent is registered.\n *\n * Import path: `@wildo-ai/saas-models`.\n */\nexport type FlowsActors_Agent = {\n //====================\n // IDENTITY\n //====================\n\n /** Unique agent reference for flow/actor calls */\n ref: string,\n\n /** Human-readable display name */\n displayName: string,\n\n /** Agent lifecycle status */\n status: FlowsActors_Agent_Status,\n\n //====================\n // EXECUTION CONFIGURATION (modality-discriminated)\n //====================\n\n /** Provider/model config, discriminated by modality (LLM/text | image | coding). */\n config: FlowsActors_Agent_Configuration,\n\n /** Operation definition (input/output schemas, etc.), per transport family. */\n operationDefinition: LLMProvider_OperationDefinitionBase | ImageProvider_OperationDefinitionBase | CodingAgent_OperationDefinitionBase,\n\n //====================\n // ARTIFACT MODALITY (optional — explicit override; else derived from config)\n //====================\n\n /**\n * The modality this agent PRODUCES, as documentation.\n *\n * Declarative only: no runtime path reads it. Dispatch is decided entirely by\n * the arm of `config`, so setting or omitting this field changes nothing about\n * which provider protocol the agent reaches. Set it to make a multimodal\n * agent's output self-describing to a reader.\n */\n outputModality?: FlowsActors_IO_PartKind,\n\n /** The modalities this agent CONSUMES (e.g. `[TEXT]` for text-to-image). */\n inputModalities?: FlowsActors_IO_PartKind[],\n\n //====================\n // PROMPT SPECIFICATION (required)\n //====================\n\n /**\n * Complete prompt specification\n * Defines role, persona, constraints, instructions, output format, etc.\n */\n promptSpec: FlowsActors_Agent_PromptSpec,\n\n //====================\n // CAPABILITIES\n //====================\n\n /** Agent capabilities (tools, etc.) */\n capabilities?: {\n tools?: {\n /**\n * References to callable functions.\n *\n * RESOLVED: `AgentsBackendService` looks each ref up through\n * `flowsActorsRegistry.getFunctionTool(ref)` and hands the model a callable tool. An unknown\n * ref is skipped with a debug line rather than failing the turn.\n */\n functionRefs: string[],\n /**\n * References to MCP servers the agent may reach.\n *\n * ## CHECKED, NOT YET CALLABLE (#491)\n *\n * Each ref must name an MCP server the APPLICATION declared (`FlowsActors_McpServer`), and\n * `FlowsActorsRegistryService` REFUSES at initialization an agent whose refs name none. That\n * closes the shape this field was in: it used to resolve against nothing, so a shipped catalog\n * carried seven refs (`filesystem-mcp`, `git-mcp`, `browser-mcp`, `mongodb-mcp`, …) that named\n * no server anywhere while the agent card rendered them as capabilities — a claim shown to a\n * user about a reach the agent did not have. The catalog is gone and the card no longer\n * renders these.\n *\n * The check is deliberately stricter than `functionRefs`, which skip an unknown ref with a\n * debug line: an unknown `functionRef` costs an agent one tool, whereas these were presented\n * as a capability, and a refusal makes the old state unreachable rather than fixed once.\n *\n * ## What is still missing before a ref becomes a CALLABLE tool\n *\n * The declaration is checkable; the call is not yet made. `AgentsBackendService` resolves\n * `functionRefs` and nothing else, so an agent carrying `mcpRefs` still has exactly the reach\n * its `functionRefs` give it.\n *\n * 1. **An MCP client.** `saas-backend-lib/src/mcp/` is the SERVER Wildo exposes to external MCP\n * clients. There is no client, and no MCP client SDK in any manifest.\n * 2. ~~A server registry~~ — BUILT. `registry.mcpServers`, declared per application.\n * 3. **Credential resolution at call time.** Decided 2026-09-09: the call carries the acting\n * user's own delegated provider credential where present and the organization's connection\n * otherwise, from `userProviderCredentials` / `organizationProviderCredentials` rather than\n * a store invented for MCP. `FlowsActors_McpCredentialSubject` records that choice per\n * server; nothing reads it yet.\n *\n * Also decided, and not yet implemented: an unreachable server contributes NO tools to a turn\n * rather than failing it — tools are discovered at turn start — and a call that fails mid-turn\n * returns a typed error the agent can reason about. Both emit an audit event, because a server\n * quietly unreachable for a week must be visible as that rather than as an agent that became\n * less capable for no stated reason.\n *\n * Restoring these to any surface that presents them as a capability belongs in the same change\n * that makes them callable.\n */\n mcpRefs: string[],\n },\n },\n\n //====================\n // VERSIONING\n //====================\n\n /** Agent definition version */\n version?: string,\n\n /** Creation timestamp (ISO 8601) */\n createdAt: string,\n\n /** Last update timestamp (ISO 8601) */\n updatedAt?: string,\n};\n/** @wildo_source:part:end saas.models.flows-actors.agent-definition */\n\n\n/** @wildo_source:part:start saas.models.flows-actors.agent-invocation facet:kind:api facet:audience:app-developer\n *\n * One call to one agent — the envelope you build and hand to\n * `AgentsBackendService.invokeAgent`, and the SAME shape you get back with\n * `output` and `executionContext` filled in.\n *\n * What you supply:\n * - `agentRef` — the `ref` of a registered agent (unknown ref throws).\n * - `input` — the per-call task. `{ prompt }` for text; add `{ schema }` (a Zod\n * schema) for `GENERATE_STRUCTURED`, which REQUIRES it. Anything else you put\n * here is JSON-serialized into the user prompt.\n * - `output` — an empty value of the expected shape (`{ text: '' }`,\n * `{ object: {} }`). It is a typing seed; the returned envelope replaces it.\n * - `initiator` / `invocationContext` / `artifactBindings` — `{}` / `[]` / `[]`\n * when you have nothing to correlate.\n *\n * What comes back: `output` normalized to the operation's shape, and\n * `executionContext` enriched with `executionTime`, `finishedAt`, and provider\n * `usage` (tokens) when the transport reports it.\n *\n * Import path: `@wildo-ai/saas-models`.\n */\nexport type FlowsActors_Agent_Invocation<\n InputSchema extends z.ZodSchema<any> = z.ZodSchema<any>,\n OutputSchema extends z.ZodSchema<any> = z.ZodSchema<any>,\n ContextSchema extends z.ZodSchema<any> = z.ZodSchema<any>,\n> = {\n _id?: string,\n agentRef: string,\n initiator: ExecutionContext_InitiatorIds,\n invocationContext : FlowsActors_Relationship[],\n\n input: z.infer<InputSchema>,\n output: z.infer<OutputSchema>,\n executionContext: z.infer<ContextSchema>,\n artifactBindings: {\n kind: FlowsActors_IO_PartKind,\n ref: string,\n }[],\n\n};\n/** @wildo_source:part:end saas.models.flows-actors.agent-invocation */\n"]}
@@ -27,9 +27,9 @@ export declare const AppsBlueprintSkill_CodeEditor_InputSchema: z.ZodObject<{
27
27
  fileKind: z.ZodString;
28
28
  location: z.ZodString;
29
29
  operation: z.ZodEnum<{
30
- update: "update";
31
- delete: "delete";
32
30
  create: "create";
31
+ delete: "delete";
32
+ update: "update";
33
33
  review: "review";
34
34
  }>;
35
35
  context: z.ZodString;
@@ -48,9 +48,9 @@ export type AppsBlueprintSkill_CodeEditor_Output = z.infer<typeof AppsBlueprintS
48
48
  export declare const AppsBlueprintSkill_ResourceEditor_InputSchema: z.ZodObject<{
49
49
  resourceType: z.ZodString;
50
50
  operation: z.ZodEnum<{
51
- update: "update";
52
- delete: "delete";
53
51
  create: "create";
52
+ delete: "delete";
53
+ update: "update";
54
54
  }>;
55
55
  requirements: z.ZodString;
56
56
  existingConfig: z.ZodOptional<z.ZodString>;
@@ -200,9 +200,9 @@ export declare const AppsBlueprintSourceCodeArtifactSchema: z.ZodObject<{
200
200
  format: z.ZodEnum<typeof AppsBlueprint_FileFormat>;
201
201
  resourceType: z.ZodOptional<z.ZodString>;
202
202
  operation: z.ZodOptional<z.ZodEnum<{
203
- update: "update";
204
- delete: "delete";
205
203
  create: "create";
204
+ delete: "delete";
205
+ update: "update";
206
206
  review: "review";
207
207
  }>>;
208
208
  componentType: z.ZodOptional<z.ZodString>;
@@ -399,7 +399,6 @@ declare const _DeliberationRecordSchema: z.ZodObject<{
399
399
  }, z.core.$strip>>;
400
400
  roundBudget: z.ZodNumber;
401
401
  status: z.ZodEnum<typeof DeliberationStatus>;
402
- charterInputsDigests: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
403
402
  humanDecision: z.ZodDefault<z.ZodNullable<z.ZodObject<{
404
403
  decision: z.ZodString;
405
404
  decidedAt: z.ZodISODateTime;
@@ -593,8 +592,6 @@ export interface DeliberationPlan {
593
592
  roundBudget: number;
594
593
  /** Top-K candidates revised per round (RF-5 cost funnel). */
595
594
  shortlistSize: number;
596
- /** Participating charters' inputsDigests (staleness audit stamps). */
597
- charterInputsDigests: Record<string, string>;
598
595
  }
599
596
  /**
600
597
  * Result of the fail-closed criterion-ref validation of one verdict
@@ -1 +1 @@
1
- {"version":3,"file":"deliberation.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../src/flows-actors/deliberation.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAmC3E;;;;;;;;;;;;;GAaG;AACH,oBAAY,gBAAgB;IAC1B,8DAA8D;IAC9D,iBAAiB,sBAAsB;IACvC,yEAAyE;IACzE,cAAc,mBAAmB;IACjC,0EAA0E;IAC1E,mBAAmB,wBAAwB;IAC3C,uEAAuE;IACvE,cAAc,mBAAmB;IACjC;;;;;;;;;;;;OAYG;IACH,wBAAwB,6BAA6B;CACtD;AAED;;;;GAIG;AACH,oBAAY,0BAA0B;IACpC,4DAA4D;IAC5D,MAAM,WAAW;IACjB,kEAAkE;IAClE,MAAM,WAAW;IACjB,uEAAuE;IACvE,MAAM,WAAW;CAClB;AAED,uDAAuD;AACvD,oBAAY,+BAA+B;IACzC,mDAAmD;IACnD,QAAQ,aAAa;IACrB,mEAAmE;IACnE,OAAO,YAAY;CACpB;AAED,gDAAgD;AAChD,oBAAY,kBAAkB;IAC5B,kCAAkC;IA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AgB,4BAA4B,CAC1C,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,aAAa,GACrB,8BAA8B,CAmChC;AAED;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,aAAa,GACrB,MAAM,CAqBR"}
1
+ {"version":3,"file":"deliberation.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../src/flows-actors/deliberation.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAmC3E;;;;;;;;;;;;;GAaG;AACH,oBAAY,gBAAgB;IAC1B,8DAA8D;IAC9D,iBAAiB,sBAAsB;IACvC,yEAAyE;IACzE,cAAc,mBAAmB;IACjC,0EAA0E;IAC1E,mBAAmB,wBAAwB;IAC3C,uEAAuE;IACvE,cAAc,mBAAmB;IACjC;;;;;;;;;;;;OAYG;IACH,wBAAwB,6BAA6B;CACtD;AAED;;;;GAIG;AACH,oBAAY,0BAA0B;IACpC,4DAA4D;IAC5D,MAAM,WAAW;IACjB,kEAAkE;IAClE,MAAM,WAAW;IACjB,uEAAuE;IACvE,MAAM,WAAW;CAClB;AAED,uDAAuD;AACvD,oBAAY,+BAA+B;IACzC,mDAAmD;IACnD,QAAQ,aAAa;IACrB,mEAAmE;IACnE,OAAO,YAAY;CACpB;AAED,gDAAgD;AAChD,oBAAY,kBAAkB;IAC5B,kCAAkC;IAClC,OAAO,YAAY;IACnB,kEAAkE;IAClE,SAAS,cAAc;IACvB,qEAAqE;IACrE,gBAAgB,qBAAqB;IACrC,yEAAyE;IACzE,MAAM,WAAW;IACjB;;;;;;;;;;;;;;OAcG;IACH,QAAQ,aAAa;CACtB;AAED;;;;;;;GAOG;AACH,QAAA,MAAM,2BAA2B;;;;;;;;;iBAoB/B,CAAC;AACH,eAAO,MAAM,0BAA0B,EAAE,OAAO,2BACn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MAAM,WAAW,gBAAgB;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,gBAAgB,CAAC;IAC7B,gEAAgE;IAChE,WAAW,EAAE,uBAAuB,CAAC;IACrC,kEAAkE;IAClE,YAAY,EAAE,MAAM,CAAC;IACrB,2EAA2E;IAC3E,SAAS,EAAE,yBAAyB,EAAE,CAAC;IACvC,6DAA6D;IAC7D,WAAW,EAAE,yBAAyB,CAAC;IACvC,oEAAoE;IACpE,aAAa,EAAE,yBAAyB,CAAC;IACzC,2DAA2D;IAC3D,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,iBAAiB,EAAE,0BAA0B,EAAE,CAAC;IAChD,oEAAoE;IACpE,WAAW,EAAE,MAAM,CAAC;IACpB,6DAA6D;IAC7D,aAAa,EAAE,MAAM,CAAC;CACvB;AAMD;;;GAGG;AACH,MAAM,WAAW,8BAA8B;IAC7C,qHAAqH;IACrH,EAAE,EAAE,OAAO,CAAC;IACZ,wFAAwF;IACxF,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,iDAAiD;IACjD,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,iDAAiD;IACjD,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB;;;;;;OAMG;IACH,mBAAmB,EAAE,MAAM,EAAE,CAAC;CAC/B;AAED;;;;;;;GAOG;AACH,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,aAAa,GACrB,8BAA8B,CAmChC;AAED;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,aAAa,GACrB,MAAM,CAqBR"}
@@ -430,11 +430,6 @@ const _DeliberationRecordSchema = z.object({
430
430
  /** Max rounds before the coordinator must synthesize (cost bound). */
431
431
  roundBudget: z.number().int().min(1),
432
432
  status: z.enum(DeliberationStatus),
433
- /**
434
- * The charters' `inputsDigest`s at deliberation time — lets an audit
435
- * see a decision was made under a stale persona (keyed by charterRef).
436
- */
437
- charterInputsDigests: z.record(z.string(), z.string()).default({}),
438
433
  /** The human authority's decision; null until the human acts. */
439
434
  humanDecision: _DeliberationHumanDecisionSchema.nullable().default(null),
440
435
  /** ISO-8601 timestamps. */