@adcp/sdk 6.7.0 → 6.9.0

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 (971) hide show
  1. package/ADCP_VERSION +1 -1
  2. package/bin/adcp.js +15 -3
  3. package/compliance/cache/{3.0.5 → 3.0.6}/domains/media-buy/scenarios/inventory_list_targeting.yaml +5 -0
  4. package/compliance/cache/{3.0.5 → 3.0.6}/index.json +2 -2
  5. package/compliance/cache/{3.0.5 → 3.0.6}/protocols/media-buy/scenarios/inventory_list_targeting.yaml +5 -0
  6. package/compliance/cache/{3.0.5 → 3.0.6}/specialisms/sales-guaranteed/index.yaml +1 -1
  7. package/compliance/cache/{3.0.5 → 3.0.6}/universal/storyboard-schema.yaml +15 -0
  8. package/dist/lib/adapters/derived-account-store.d.ts +152 -0
  9. package/dist/lib/adapters/derived-account-store.d.ts.map +1 -0
  10. package/dist/lib/adapters/derived-account-store.js +135 -0
  11. package/dist/lib/adapters/derived-account-store.js.map +1 -0
  12. package/dist/lib/adapters/implicit-account-store.d.ts +3 -1
  13. package/dist/lib/adapters/implicit-account-store.d.ts.map +1 -1
  14. package/dist/lib/adapters/implicit-account-store.js +3 -1
  15. package/dist/lib/adapters/implicit-account-store.js.map +1 -1
  16. package/dist/lib/adapters/index.d.ts +1 -0
  17. package/dist/lib/adapters/index.d.ts.map +1 -1
  18. package/dist/lib/adapters/index.js +7 -1
  19. package/dist/lib/adapters/index.js.map +1 -1
  20. package/dist/lib/adapters/oauth-passthrough-resolver.d.ts +3 -1
  21. package/dist/lib/adapters/oauth-passthrough-resolver.d.ts.map +1 -1
  22. package/dist/lib/adapters/oauth-passthrough-resolver.js +3 -1
  23. package/dist/lib/adapters/oauth-passthrough-resolver.js.map +1 -1
  24. package/dist/lib/adapters/roster-account-store.d.ts +85 -24
  25. package/dist/lib/adapters/roster-account-store.d.ts.map +1 -1
  26. package/dist/lib/adapters/roster-account-store.js +52 -30
  27. package/dist/lib/adapters/roster-account-store.js.map +1 -1
  28. package/dist/lib/core/AgentClient.d.ts.map +1 -1
  29. package/dist/lib/core/AgentClient.js +20 -0
  30. package/dist/lib/core/AgentClient.js.map +1 -1
  31. package/dist/lib/index.d.ts +3 -3
  32. package/dist/lib/index.d.ts.map +1 -1
  33. package/dist/lib/index.js +13 -8
  34. package/dist/lib/index.js.map +1 -1
  35. package/dist/lib/mock-server/creative-ad-server/seed-data.d.ts +81 -0
  36. package/dist/lib/mock-server/creative-ad-server/seed-data.d.ts.map +1 -0
  37. package/dist/lib/mock-server/creative-ad-server/seed-data.js +200 -0
  38. package/dist/lib/mock-server/creative-ad-server/seed-data.js.map +1 -0
  39. package/dist/lib/mock-server/creative-ad-server/server.d.ts +39 -0
  40. package/dist/lib/mock-server/creative-ad-server/server.d.ts.map +1 -0
  41. package/dist/lib/mock-server/creative-ad-server/server.js +618 -0
  42. package/dist/lib/mock-server/creative-ad-server/server.js.map +1 -0
  43. package/dist/lib/mock-server/creative-template/seed-data.d.ts +1 -1
  44. package/dist/lib/mock-server/creative-template/seed-data.d.ts.map +1 -1
  45. package/dist/lib/mock-server/creative-template/seed-data.js +53 -0
  46. package/dist/lib/mock-server/creative-template/seed-data.js.map +1 -1
  47. package/dist/lib/mock-server/creative-template/server.d.ts.map +1 -1
  48. package/dist/lib/mock-server/creative-template/server.js +12 -0
  49. package/dist/lib/mock-server/creative-template/server.js.map +1 -1
  50. package/dist/lib/mock-server/index.d.ts.map +1 -1
  51. package/dist/lib/mock-server/index.js +180 -24
  52. package/dist/lib/mock-server/index.js.map +1 -1
  53. package/dist/lib/mock-server/sales-non-guaranteed/seed-data.d.ts +66 -0
  54. package/dist/lib/mock-server/sales-non-guaranteed/seed-data.d.ts.map +1 -0
  55. package/dist/lib/mock-server/sales-non-guaranteed/seed-data.js +193 -0
  56. package/dist/lib/mock-server/sales-non-guaranteed/seed-data.js.map +1 -0
  57. package/dist/lib/mock-server/sales-non-guaranteed/server.d.ts +33 -0
  58. package/dist/lib/mock-server/sales-non-guaranteed/server.d.ts.map +1 -0
  59. package/dist/lib/mock-server/sales-non-guaranteed/server.js +782 -0
  60. package/dist/lib/mock-server/sales-non-guaranteed/server.js.map +1 -0
  61. package/dist/lib/mock-server/sponsored-intelligence/seed-data.d.ts +50 -0
  62. package/dist/lib/mock-server/sponsored-intelligence/seed-data.d.ts.map +1 -0
  63. package/dist/lib/mock-server/sponsored-intelligence/seed-data.js +133 -0
  64. package/dist/lib/mock-server/sponsored-intelligence/seed-data.js.map +1 -0
  65. package/dist/lib/mock-server/sponsored-intelligence/server.d.ts +13 -0
  66. package/dist/lib/mock-server/sponsored-intelligence/server.d.ts.map +1 -0
  67. package/dist/lib/mock-server/sponsored-intelligence/server.js +609 -0
  68. package/dist/lib/mock-server/sponsored-intelligence/server.js.map +1 -0
  69. package/dist/lib/protocols/mcp.d.ts.map +1 -1
  70. package/dist/lib/protocols/mcp.js +1 -41
  71. package/dist/lib/protocols/mcp.js.map +1 -1
  72. package/dist/lib/schemas-data/3.0/a2ui/bound-value.json +1 -1
  73. package/dist/lib/schemas-data/3.0/a2ui/component.json +1 -1
  74. package/dist/lib/schemas-data/3.0/a2ui/si-catalog.json +25 -25
  75. package/dist/lib/schemas-data/3.0/a2ui/surface.json +2 -2
  76. package/dist/lib/schemas-data/3.0/a2ui/user-action.json +1 -1
  77. package/dist/lib/schemas-data/3.0/account/get-account-financials-request.json +5 -5
  78. package/dist/lib/schemas-data/3.0/account/get-account-financials-response.json +10 -10
  79. package/dist/lib/schemas-data/3.0/account/list-accounts-request.json +4 -4
  80. package/dist/lib/schemas-data/3.0/account/list-accounts-response.json +6 -6
  81. package/dist/lib/schemas-data/3.0/account/report-usage-request.json +5 -5
  82. package/dist/lib/schemas-data/3.0/account/report-usage-response.json +4 -4
  83. package/dist/lib/schemas-data/3.0/account/sync-accounts-request.json +9 -9
  84. package/dist/lib/schemas-data/3.0/account/sync-accounts-response.json +12 -12
  85. package/dist/lib/schemas-data/3.0/account/sync-governance-request.json +5 -5
  86. package/dist/lib/schemas-data/3.0/account/sync-governance-response.json +8 -8
  87. package/dist/lib/schemas-data/3.0/adagents.json +32 -32
  88. package/dist/lib/schemas-data/3.0/brand/acquire-rights-request.json +8 -8
  89. package/dist/lib/schemas-data/3.0/brand/acquire-rights-response.json +14 -14
  90. package/dist/lib/schemas-data/3.0/brand/creative-approval-request.json +4 -4
  91. package/dist/lib/schemas-data/3.0/brand/creative-approval-response.json +10 -10
  92. package/dist/lib/schemas-data/3.0/brand/get-brand-identity-request.json +3 -3
  93. package/dist/lib/schemas-data/3.0/brand/get-brand-identity-response.json +8 -8
  94. package/dist/lib/schemas-data/3.0/brand/get-rights-request.json +7 -7
  95. package/dist/lib/schemas-data/3.0/brand/get-rights-response.json +9 -9
  96. package/dist/lib/schemas-data/3.0/brand/revocation-notification.json +4 -4
  97. package/dist/lib/schemas-data/3.0/brand/rights-pricing-option.json +5 -5
  98. package/dist/lib/schemas-data/3.0/brand/rights-terms.json +3 -3
  99. package/dist/lib/schemas-data/3.0/brand/update-rights-request.json +4 -4
  100. package/dist/lib/schemas-data/3.0/brand/update-rights-response.json +9 -9
  101. package/dist/lib/schemas-data/3.0/brand.json +14 -14
  102. package/dist/lib/schemas-data/3.0/bundled/content-standards/calibrate-content-request.json +2 -2
  103. package/dist/lib/schemas-data/3.0/bundled/content-standards/calibrate-content-response.json +2 -2
  104. package/dist/lib/schemas-data/3.0/bundled/content-standards/create-content-standards-request.json +2 -2
  105. package/dist/lib/schemas-data/3.0/bundled/content-standards/create-content-standards-response.json +2 -2
  106. package/dist/lib/schemas-data/3.0/bundled/content-standards/get-content-standards-request.json +2 -2
  107. package/dist/lib/schemas-data/3.0/bundled/content-standards/get-content-standards-response.json +2 -2
  108. package/dist/lib/schemas-data/3.0/bundled/content-standards/get-media-buy-artifacts-request.json +2 -2
  109. package/dist/lib/schemas-data/3.0/bundled/content-standards/get-media-buy-artifacts-response.json +2 -2
  110. package/dist/lib/schemas-data/3.0/bundled/content-standards/list-content-standards-request.json +2 -2
  111. package/dist/lib/schemas-data/3.0/bundled/content-standards/list-content-standards-response.json +2 -2
  112. package/dist/lib/schemas-data/3.0/bundled/content-standards/update-content-standards-request.json +2 -2
  113. package/dist/lib/schemas-data/3.0/bundled/content-standards/update-content-standards-response.json +2 -2
  114. package/dist/lib/schemas-data/3.0/bundled/content-standards/validate-content-delivery-request.json +2 -2
  115. package/dist/lib/schemas-data/3.0/bundled/content-standards/validate-content-delivery-response.json +2 -2
  116. package/dist/lib/schemas-data/3.0/bundled/core/tasks-get-request.json +2 -2
  117. package/dist/lib/schemas-data/3.0/bundled/core/tasks-get-response.json +2 -2
  118. package/dist/lib/schemas-data/3.0/bundled/core/tasks-list-request.json +2 -2
  119. package/dist/lib/schemas-data/3.0/bundled/core/tasks-list-response.json +2 -2
  120. package/dist/lib/schemas-data/3.0/bundled/creative/get-creative-delivery-request.json +2 -2
  121. package/dist/lib/schemas-data/3.0/bundled/creative/get-creative-delivery-response.json +2 -2
  122. package/dist/lib/schemas-data/3.0/bundled/creative/get-creative-features-request.json +2 -2
  123. package/dist/lib/schemas-data/3.0/bundled/creative/get-creative-features-response.json +2 -2
  124. package/dist/lib/schemas-data/3.0/bundled/creative/list-creative-formats-request.json +2 -2
  125. package/dist/lib/schemas-data/3.0/bundled/creative/list-creative-formats-response.json +2 -2
  126. package/dist/lib/schemas-data/3.0/bundled/creative/list-creatives-request.json +2 -2
  127. package/dist/lib/schemas-data/3.0/bundled/creative/list-creatives-response.json +2 -2
  128. package/dist/lib/schemas-data/3.0/bundled/creative/preview-creative-request.json +2 -2
  129. package/dist/lib/schemas-data/3.0/bundled/creative/preview-creative-response.json +2 -2
  130. package/dist/lib/schemas-data/3.0/bundled/creative/sync-creatives-request.json +2 -2
  131. package/dist/lib/schemas-data/3.0/bundled/creative/sync-creatives-response.json +2 -2
  132. package/dist/lib/schemas-data/3.0/bundled/media-buy/build-creative-request.json +2 -2
  133. package/dist/lib/schemas-data/3.0/bundled/media-buy/build-creative-response.json +2 -2
  134. package/dist/lib/schemas-data/3.0/bundled/media-buy/create-media-buy-request.json +2 -2
  135. package/dist/lib/schemas-data/3.0/bundled/media-buy/create-media-buy-response.json +2 -2
  136. package/dist/lib/schemas-data/3.0/bundled/media-buy/get-media-buy-delivery-request.json +2 -2
  137. package/dist/lib/schemas-data/3.0/bundled/media-buy/get-media-buy-delivery-response.json +2 -2
  138. package/dist/lib/schemas-data/3.0/bundled/media-buy/get-media-buys-request.json +2 -2
  139. package/dist/lib/schemas-data/3.0/bundled/media-buy/get-media-buys-response.json +2 -2
  140. package/dist/lib/schemas-data/3.0/bundled/media-buy/get-products-request.json +2 -2
  141. package/dist/lib/schemas-data/3.0/bundled/media-buy/get-products-response.json +2 -2
  142. package/dist/lib/schemas-data/3.0/bundled/media-buy/list-creative-formats-request.json +2 -2
  143. package/dist/lib/schemas-data/3.0/bundled/media-buy/list-creative-formats-response.json +2 -2
  144. package/dist/lib/schemas-data/3.0/bundled/media-buy/log-event-request.json +2 -2
  145. package/dist/lib/schemas-data/3.0/bundled/media-buy/log-event-response.json +2 -2
  146. package/dist/lib/schemas-data/3.0/bundled/media-buy/package-request.json +2 -2
  147. package/dist/lib/schemas-data/3.0/bundled/media-buy/provide-performance-feedback-request.json +2 -2
  148. package/dist/lib/schemas-data/3.0/bundled/media-buy/provide-performance-feedback-response.json +2 -2
  149. package/dist/lib/schemas-data/3.0/bundled/media-buy/sync-audiences-request.json +2 -2
  150. package/dist/lib/schemas-data/3.0/bundled/media-buy/sync-audiences-response.json +2 -2
  151. package/dist/lib/schemas-data/3.0/bundled/media-buy/sync-catalogs-request.json +2 -2
  152. package/dist/lib/schemas-data/3.0/bundled/media-buy/sync-catalogs-response.json +2 -2
  153. package/dist/lib/schemas-data/3.0/bundled/media-buy/sync-event-sources-request.json +2 -2
  154. package/dist/lib/schemas-data/3.0/bundled/media-buy/sync-event-sources-response.json +2 -2
  155. package/dist/lib/schemas-data/3.0/bundled/media-buy/update-media-buy-request.json +2 -2
  156. package/dist/lib/schemas-data/3.0/bundled/media-buy/update-media-buy-response.json +2 -2
  157. package/dist/lib/schemas-data/3.0/bundled/property/create-property-list-request.json +2 -2
  158. package/dist/lib/schemas-data/3.0/bundled/property/create-property-list-response.json +2 -2
  159. package/dist/lib/schemas-data/3.0/bundled/property/delete-property-list-request.json +2 -2
  160. package/dist/lib/schemas-data/3.0/bundled/property/delete-property-list-response.json +2 -2
  161. package/dist/lib/schemas-data/3.0/bundled/property/get-property-list-request.json +2 -2
  162. package/dist/lib/schemas-data/3.0/bundled/property/get-property-list-response.json +2 -2
  163. package/dist/lib/schemas-data/3.0/bundled/property/list-property-lists-request.json +2 -2
  164. package/dist/lib/schemas-data/3.0/bundled/property/list-property-lists-response.json +2 -2
  165. package/dist/lib/schemas-data/3.0/bundled/property/update-property-list-request.json +2 -2
  166. package/dist/lib/schemas-data/3.0/bundled/property/update-property-list-response.json +2 -2
  167. package/dist/lib/schemas-data/3.0/bundled/property/validate-property-delivery-request.json +2 -2
  168. package/dist/lib/schemas-data/3.0/bundled/property/validate-property-delivery-response.json +2 -2
  169. package/dist/lib/schemas-data/3.0/bundled/protocol/get-adcp-capabilities-request.json +2 -2
  170. package/dist/lib/schemas-data/3.0/bundled/protocol/get-adcp-capabilities-response.json +2 -2
  171. package/dist/lib/schemas-data/3.0/bundled/signals/activate-signal-request.json +2 -2
  172. package/dist/lib/schemas-data/3.0/bundled/signals/activate-signal-response.json +2 -2
  173. package/dist/lib/schemas-data/3.0/bundled/signals/get-signals-request.json +2 -2
  174. package/dist/lib/schemas-data/3.0/bundled/signals/get-signals-response.json +2 -2
  175. package/dist/lib/schemas-data/3.0/bundled/sponsored-intelligence/si-get-offering-request.json +2 -2
  176. package/dist/lib/schemas-data/3.0/bundled/sponsored-intelligence/si-get-offering-response.json +2 -2
  177. package/dist/lib/schemas-data/3.0/bundled/sponsored-intelligence/si-initiate-session-request.json +2 -2
  178. package/dist/lib/schemas-data/3.0/bundled/sponsored-intelligence/si-initiate-session-response.json +2 -2
  179. package/dist/lib/schemas-data/3.0/bundled/sponsored-intelligence/si-send-message-request.json +2 -2
  180. package/dist/lib/schemas-data/3.0/bundled/sponsored-intelligence/si-send-message-response.json +2 -2
  181. package/dist/lib/schemas-data/3.0/bundled/sponsored-intelligence/si-terminate-session-request.json +2 -2
  182. package/dist/lib/schemas-data/3.0/bundled/sponsored-intelligence/si-terminate-session-response.json +2 -2
  183. package/dist/lib/schemas-data/3.0/collection/base-collection-source.json +3 -3
  184. package/dist/lib/schemas-data/3.0/collection/collection-list-changed-webhook.json +2 -2
  185. package/dist/lib/schemas-data/3.0/collection/collection-list-filters.json +7 -7
  186. package/dist/lib/schemas-data/3.0/collection/collection-list.json +5 -5
  187. package/dist/lib/schemas-data/3.0/collection/create-collection-list-request.json +7 -7
  188. package/dist/lib/schemas-data/3.0/collection/create-collection-list-response.json +4 -4
  189. package/dist/lib/schemas-data/3.0/collection/delete-collection-list-request.json +4 -4
  190. package/dist/lib/schemas-data/3.0/collection/delete-collection-list-response.json +3 -3
  191. package/dist/lib/schemas-data/3.0/collection/get-collection-list-request.json +4 -4
  192. package/dist/lib/schemas-data/3.0/collection/get-collection-list-response.json +10 -10
  193. package/dist/lib/schemas-data/3.0/collection/list-collection-lists-request.json +5 -5
  194. package/dist/lib/schemas-data/3.0/collection/list-collection-lists-response.json +5 -5
  195. package/dist/lib/schemas-data/3.0/collection/update-collection-list-request.json +7 -7
  196. package/dist/lib/schemas-data/3.0/collection/update-collection-list-response.json +4 -4
  197. package/dist/lib/schemas-data/3.0/content-standards/artifact-webhook-payload.json +3 -3
  198. package/dist/lib/schemas-data/3.0/content-standards/artifact.json +7 -7
  199. package/dist/lib/schemas-data/3.0/content-standards/calibrate-content-request.json +4 -4
  200. package/dist/lib/schemas-data/3.0/content-standards/calibrate-content-response.json +8 -8
  201. package/dist/lib/schemas-data/3.0/content-standards/content-standards.json +7 -7
  202. package/dist/lib/schemas-data/3.0/content-standards/create-content-standards-request.json +7 -7
  203. package/dist/lib/schemas-data/3.0/content-standards/create-content-standards-response.json +6 -6
  204. package/dist/lib/schemas-data/3.0/content-standards/get-content-standards-request.json +3 -3
  205. package/dist/lib/schemas-data/3.0/content-standards/get-content-standards-response.json +7 -7
  206. package/dist/lib/schemas-data/3.0/content-standards/get-media-buy-artifacts-request.json +4 -4
  207. package/dist/lib/schemas-data/3.0/content-standards/get-media-buy-artifacts-response.json +8 -8
  208. package/dist/lib/schemas-data/3.0/content-standards/list-content-standards-request.json +5 -5
  209. package/dist/lib/schemas-data/3.0/content-standards/list-content-standards-response.json +8 -8
  210. package/dist/lib/schemas-data/3.0/content-standards/update-content-standards-request.json +7 -7
  211. package/dist/lib/schemas-data/3.0/content-standards/update-content-standards-response.json +6 -6
  212. package/dist/lib/schemas-data/3.0/content-standards/validate-content-delivery-request.json +4 -4
  213. package/dist/lib/schemas-data/3.0/content-standards/validate-content-delivery-response.json +8 -8
  214. package/dist/lib/schemas-data/3.0/core/account-ref.json +2 -2
  215. package/dist/lib/schemas-data/3.0/core/account.json +9 -9
  216. package/dist/lib/schemas-data/3.0/core/activation-key.json +1 -1
  217. package/dist/lib/schemas-data/3.0/core/ad-inventory-config.json +1 -1
  218. package/dist/lib/schemas-data/3.0/core/agent-encryption-key.json +1 -1
  219. package/dist/lib/schemas-data/3.0/core/agent-signing-key.json +1 -1
  220. package/dist/lib/schemas-data/3.0/core/app-item.json +4 -4
  221. package/dist/lib/schemas-data/3.0/core/assets/asset-union.json +15 -15
  222. package/dist/lib/schemas-data/3.0/core/assets/audio-asset.json +3 -3
  223. package/dist/lib/schemas-data/3.0/core/assets/brief-asset.json +2 -2
  224. package/dist/lib/schemas-data/3.0/core/assets/catalog-asset.json +2 -2
  225. package/dist/lib/schemas-data/3.0/core/assets/css-asset.json +2 -2
  226. package/dist/lib/schemas-data/3.0/core/assets/daast-asset.json +4 -4
  227. package/dist/lib/schemas-data/3.0/core/assets/html-asset.json +2 -2
  228. package/dist/lib/schemas-data/3.0/core/assets/image-asset.json +2 -2
  229. package/dist/lib/schemas-data/3.0/core/assets/javascript-asset.json +3 -3
  230. package/dist/lib/schemas-data/3.0/core/assets/markdown-asset.json +2 -2
  231. package/dist/lib/schemas-data/3.0/core/assets/text-asset.json +2 -2
  232. package/dist/lib/schemas-data/3.0/core/assets/url-asset.json +3 -3
  233. package/dist/lib/schemas-data/3.0/core/assets/vast-asset.json +4 -4
  234. package/dist/lib/schemas-data/3.0/core/assets/video-asset.json +7 -7
  235. package/dist/lib/schemas-data/3.0/core/assets/webhook-asset.json +7 -7
  236. package/dist/lib/schemas-data/3.0/core/async-response-data.json +25 -25
  237. package/dist/lib/schemas-data/3.0/core/attribution-window.json +4 -4
  238. package/dist/lib/schemas-data/3.0/core/audience-member.json +3 -3
  239. package/dist/lib/schemas-data/3.0/core/audience-selector.json +4 -4
  240. package/dist/lib/schemas-data/3.0/core/brand-id.json +1 -1
  241. package/dist/lib/schemas-data/3.0/core/brand-ref.json +2 -2
  242. package/dist/lib/schemas-data/3.0/core/business-entity.json +2 -2
  243. package/dist/lib/schemas-data/3.0/core/cancellation-policy.json +2 -2
  244. package/dist/lib/schemas-data/3.0/core/catalog-field-mapping.json +2 -2
  245. package/dist/lib/schemas-data/3.0/core/catalog.json +7 -7
  246. package/dist/lib/schemas-data/3.0/core/catchment.json +5 -5
  247. package/dist/lib/schemas-data/3.0/core/collection-distribution.json +2 -2
  248. package/dist/lib/schemas-data/3.0/core/collection-list-ref.json +1 -1
  249. package/dist/lib/schemas-data/3.0/core/collection-selector.json +1 -1
  250. package/dist/lib/schemas-data/3.0/core/collection.json +13 -13
  251. package/dist/lib/schemas-data/3.0/core/content-rating.json +2 -2
  252. package/dist/lib/schemas-data/3.0/core/context.json +1 -1
  253. package/dist/lib/schemas-data/3.0/core/creative-asset.json +6 -6
  254. package/dist/lib/schemas-data/3.0/core/creative-assignment.json +1 -1
  255. package/dist/lib/schemas-data/3.0/core/creative-brief.json +4 -4
  256. package/dist/lib/schemas-data/3.0/core/creative-consumption.json +1 -1
  257. package/dist/lib/schemas-data/3.0/core/creative-filters.json +4 -4
  258. package/dist/lib/schemas-data/3.0/core/creative-item.json +1 -1
  259. package/dist/lib/schemas-data/3.0/core/creative-manifest.json +7 -7
  260. package/dist/lib/schemas-data/3.0/core/creative-policy.json +3 -3
  261. package/dist/lib/schemas-data/3.0/core/creative-variable.json +1 -1
  262. package/dist/lib/schemas-data/3.0/core/creative-variant.json +5 -5
  263. package/dist/lib/schemas-data/3.0/core/data-provider-signal-selector.json +1 -1
  264. package/dist/lib/schemas-data/3.0/core/date-range.json +1 -1
  265. package/dist/lib/schemas-data/3.0/core/datetime-range.json +1 -1
  266. package/dist/lib/schemas-data/3.0/core/daypart-target.json +2 -2
  267. package/dist/lib/schemas-data/3.0/core/deadline-policy.json +1 -1
  268. package/dist/lib/schemas-data/3.0/core/delivery-forecast.json +7 -7
  269. package/dist/lib/schemas-data/3.0/core/delivery-metrics.json +5 -5
  270. package/dist/lib/schemas-data/3.0/core/deployment.json +3 -3
  271. package/dist/lib/schemas-data/3.0/core/destination-item.json +4 -4
  272. package/dist/lib/schemas-data/3.0/core/destination.json +1 -1
  273. package/dist/lib/schemas-data/3.0/core/diagnostic-issue.json +1 -1
  274. package/dist/lib/schemas-data/3.0/core/duration.json +1 -1
  275. package/dist/lib/schemas-data/3.0/core/education-item.json +4 -4
  276. package/dist/lib/schemas-data/3.0/core/error.json +1 -1
  277. package/dist/lib/schemas-data/3.0/core/event-custom-data.json +2 -2
  278. package/dist/lib/schemas-data/3.0/core/event-source-health.json +3 -3
  279. package/dist/lib/schemas-data/3.0/core/event.json +6 -6
  280. package/dist/lib/schemas-data/3.0/core/ext.json +1 -1
  281. package/dist/lib/schemas-data/3.0/core/feature-requirement.json +1 -1
  282. package/dist/lib/schemas-data/3.0/core/flight-item.json +4 -4
  283. package/dist/lib/schemas-data/3.0/core/forecast-point.json +18 -18
  284. package/dist/lib/schemas-data/3.0/core/forecast-range.json +1 -1
  285. package/dist/lib/schemas-data/3.0/core/format-id.json +1 -1
  286. package/dist/lib/schemas-data/3.0/core/format.json +42 -42
  287. package/dist/lib/schemas-data/3.0/core/frequency-cap.json +4 -4
  288. package/dist/lib/schemas-data/3.0/core/generation-credential.json +3 -3
  289. package/dist/lib/schemas-data/3.0/core/geo-breakdown-support.json +3 -3
  290. package/dist/lib/schemas-data/3.0/core/hotel-item.json +4 -4
  291. package/dist/lib/schemas-data/3.0/core/identifier.json +2 -2
  292. package/dist/lib/schemas-data/3.0/core/industry-identifier.json +2 -2
  293. package/dist/lib/schemas-data/3.0/core/insertion-order.json +1 -1
  294. package/dist/lib/schemas-data/3.0/core/installment-deadlines.json +2 -2
  295. package/dist/lib/schemas-data/3.0/core/installment.json +9 -9
  296. package/dist/lib/schemas-data/3.0/core/job-item.json +3 -3
  297. package/dist/lib/schemas-data/3.0/core/limited-series.json +1 -1
  298. package/dist/lib/schemas-data/3.0/core/material-deadline.json +1 -1
  299. package/dist/lib/schemas-data/3.0/core/mcp-webhook-payload.json +5 -5
  300. package/dist/lib/schemas-data/3.0/core/measurement-readiness.json +5 -5
  301. package/dist/lib/schemas-data/3.0/core/measurement-terms.json +3 -3
  302. package/dist/lib/schemas-data/3.0/core/measurement-window.json +1 -1
  303. package/dist/lib/schemas-data/3.0/core/media-buy-features.json +1 -1
  304. package/dist/lib/schemas-data/3.0/core/media-buy.json +7 -7
  305. package/dist/lib/schemas-data/3.0/core/offering-asset-group.json +15 -15
  306. package/dist/lib/schemas-data/3.0/core/offering.json +5 -5
  307. package/dist/lib/schemas-data/3.0/core/optimization-goal.json +6 -6
  308. package/dist/lib/schemas-data/3.0/core/outcome-measurement.json +2 -2
  309. package/dist/lib/schemas-data/3.0/core/overlay.json +1 -1
  310. package/dist/lib/schemas-data/3.0/core/package.json +14 -14
  311. package/dist/lib/schemas-data/3.0/core/pagination-request.json +1 -1
  312. package/dist/lib/schemas-data/3.0/core/pagination-response.json +1 -1
  313. package/dist/lib/schemas-data/3.0/core/performance-feedback.json +3 -3
  314. package/dist/lib/schemas-data/3.0/core/performance-standard.json +4 -4
  315. package/dist/lib/schemas-data/3.0/core/placement-definition.json +5 -5
  316. package/dist/lib/schemas-data/3.0/core/placement.json +2 -2
  317. package/dist/lib/schemas-data/3.0/core/planned-delivery.json +5 -5
  318. package/dist/lib/schemas-data/3.0/core/price.json +1 -1
  319. package/dist/lib/schemas-data/3.0/core/pricing-option.json +10 -10
  320. package/dist/lib/schemas-data/3.0/core/product-allocation.json +4 -4
  321. package/dist/lib/schemas-data/3.0/core/product-filters.json +16 -16
  322. package/dist/lib/schemas-data/3.0/core/product.json +28 -28
  323. package/dist/lib/schemas-data/3.0/core/property-id.json +1 -1
  324. package/dist/lib/schemas-data/3.0/core/property-list-ref.json +1 -1
  325. package/dist/lib/schemas-data/3.0/core/property-tag.json +1 -1
  326. package/dist/lib/schemas-data/3.0/core/property.json +6 -6
  327. package/dist/lib/schemas-data/3.0/core/proposal.json +6 -6
  328. package/dist/lib/schemas-data/3.0/core/protocol-envelope.json +3 -3
  329. package/dist/lib/schemas-data/3.0/core/provenance.json +6 -6
  330. package/dist/lib/schemas-data/3.0/core/publisher-property-selector.json +3 -3
  331. package/dist/lib/schemas-data/3.0/core/push-notification-config.json +2 -2
  332. package/dist/lib/schemas-data/3.0/core/real-estate-item.json +4 -4
  333. package/dist/lib/schemas-data/3.0/core/reference-asset.json +1 -1
  334. package/dist/lib/schemas-data/3.0/core/reporting-capabilities.json +5 -5
  335. package/dist/lib/schemas-data/3.0/core/reporting-webhook.json +3 -3
  336. package/dist/lib/schemas-data/3.0/core/requirements/asset-requirements.json +13 -13
  337. package/dist/lib/schemas-data/3.0/core/requirements/audio-asset-requirements.json +1 -1
  338. package/dist/lib/schemas-data/3.0/core/requirements/catalog-field-binding.json +4 -4
  339. package/dist/lib/schemas-data/3.0/core/requirements/catalog-requirements.json +5 -5
  340. package/dist/lib/schemas-data/3.0/core/requirements/css-asset-requirements.json +1 -1
  341. package/dist/lib/schemas-data/3.0/core/requirements/daast-asset-requirements.json +1 -1
  342. package/dist/lib/schemas-data/3.0/core/requirements/html-asset-requirements.json +1 -1
  343. package/dist/lib/schemas-data/3.0/core/requirements/image-asset-requirements.json +2 -2
  344. package/dist/lib/schemas-data/3.0/core/requirements/javascript-asset-requirements.json +1 -1
  345. package/dist/lib/schemas-data/3.0/core/requirements/markdown-asset-requirements.json +1 -1
  346. package/dist/lib/schemas-data/3.0/core/requirements/offering-asset-constraint.json +4 -4
  347. package/dist/lib/schemas-data/3.0/core/requirements/text-asset-requirements.json +1 -1
  348. package/dist/lib/schemas-data/3.0/core/requirements/url-asset-requirements.json +1 -1
  349. package/dist/lib/schemas-data/3.0/core/requirements/vast-asset-requirements.json +1 -1
  350. package/dist/lib/schemas-data/3.0/core/requirements/video-asset-requirements.json +6 -6
  351. package/dist/lib/schemas-data/3.0/core/requirements/webhook-asset-requirements.json +1 -1
  352. package/dist/lib/schemas-data/3.0/core/response.json +1 -1
  353. package/dist/lib/schemas-data/3.0/core/rights-constraint.json +4 -4
  354. package/dist/lib/schemas-data/3.0/core/seller-agent-ref.json +1 -1
  355. package/dist/lib/schemas-data/3.0/core/signal-definition.json +3 -3
  356. package/dist/lib/schemas-data/3.0/core/signal-filters.json +2 -2
  357. package/dist/lib/schemas-data/3.0/core/signal-id.json +1 -1
  358. package/dist/lib/schemas-data/3.0/core/signal-pricing-option.json +2 -2
  359. package/dist/lib/schemas-data/3.0/core/signal-pricing.json +6 -6
  360. package/dist/lib/schemas-data/3.0/core/signal-targeting.json +4 -4
  361. package/dist/lib/schemas-data/3.0/core/special.json +2 -2
  362. package/dist/lib/schemas-data/3.0/core/start-timing.json +1 -1
  363. package/dist/lib/schemas-data/3.0/core/store-item.json +3 -3
  364. package/dist/lib/schemas-data/3.0/core/talent.json +2 -2
  365. package/dist/lib/schemas-data/3.0/core/targeting.json +20 -20
  366. package/dist/lib/schemas-data/3.0/core/tasks-get-request.json +3 -3
  367. package/dist/lib/schemas-data/3.0/core/tasks-get-response.json +7 -7
  368. package/dist/lib/schemas-data/3.0/core/tasks-list-request.json +11 -11
  369. package/dist/lib/schemas-data/3.0/core/tasks-list-response.json +6 -6
  370. package/dist/lib/schemas-data/3.0/core/user-match.json +3 -3
  371. package/dist/lib/schemas-data/3.0/core/vehicle-item.json +4 -4
  372. package/dist/lib/schemas-data/3.0/core/vendor-pricing-option.json +2 -2
  373. package/dist/lib/schemas-data/3.0/core/x-entity-types.json +1 -1
  374. package/dist/lib/schemas-data/3.0/creative/asset-types/index.json +5 -5
  375. package/dist/lib/schemas-data/3.0/creative/creative-feature-result.json +2 -2
  376. package/dist/lib/schemas-data/3.0/creative/get-creative-delivery-request.json +5 -5
  377. package/dist/lib/schemas-data/3.0/creative/get-creative-delivery-response.json +7 -7
  378. package/dist/lib/schemas-data/3.0/creative/get-creative-features-request.json +5 -5
  379. package/dist/lib/schemas-data/3.0/creative/get-creative-features-response.json +8 -8
  380. package/dist/lib/schemas-data/3.0/creative/list-creative-formats-request.json +11 -11
  381. package/dist/lib/schemas-data/3.0/creative/list-creative-formats-response.json +7 -7
  382. package/dist/lib/schemas-data/3.0/creative/list-creatives-request.json +8 -8
  383. package/dist/lib/schemas-data/3.0/creative/list-creatives-response.json +14 -14
  384. package/dist/lib/schemas-data/3.0/creative/preview-creative-request.json +11 -11
  385. package/dist/lib/schemas-data/3.0/creative/preview-creative-response.json +12 -12
  386. package/dist/lib/schemas-data/3.0/creative/preview-render.json +1 -1
  387. package/dist/lib/schemas-data/3.0/creative/sync-creatives-async-response-input-required.json +3 -3
  388. package/dist/lib/schemas-data/3.0/creative/sync-creatives-async-response-submitted.json +3 -3
  389. package/dist/lib/schemas-data/3.0/creative/sync-creatives-async-response-working.json +3 -3
  390. package/dist/lib/schemas-data/3.0/creative/sync-creatives-request.json +7 -7
  391. package/dist/lib/schemas-data/3.0/creative/sync-creatives-response.json +13 -13
  392. package/dist/lib/schemas-data/3.0/enums/account-scope.json +1 -1
  393. package/dist/lib/schemas-data/3.0/enums/account-status.json +1 -1
  394. package/dist/lib/schemas-data/3.0/enums/action-source.json +1 -1
  395. package/dist/lib/schemas-data/3.0/enums/adcp-protocol.json +1 -1
  396. package/dist/lib/schemas-data/3.0/enums/adjustment-kind.json +1 -1
  397. package/dist/lib/schemas-data/3.0/enums/advertiser-industry.json +1 -1
  398. package/dist/lib/schemas-data/3.0/enums/age-verification-method.json +1 -1
  399. package/dist/lib/schemas-data/3.0/enums/assessment-status.json +1 -1
  400. package/dist/lib/schemas-data/3.0/enums/asset-content-type.json +1 -1
  401. package/dist/lib/schemas-data/3.0/enums/attribution-model.json +1 -1
  402. package/dist/lib/schemas-data/3.0/enums/audience-source.json +1 -1
  403. package/dist/lib/schemas-data/3.0/enums/audience-status.json +1 -1
  404. package/dist/lib/schemas-data/3.0/enums/audio-channel-layout.json +1 -1
  405. package/dist/lib/schemas-data/3.0/enums/auth-scheme.json +1 -1
  406. package/dist/lib/schemas-data/3.0/enums/available-metric.json +1 -1
  407. package/dist/lib/schemas-data/3.0/enums/billing-party.json +1 -1
  408. package/dist/lib/schemas-data/3.0/enums/binary-verdict.json +1 -1
  409. package/dist/lib/schemas-data/3.0/enums/brand-agent-type.json +1 -1
  410. package/dist/lib/schemas-data/3.0/enums/canceled-by.json +1 -1
  411. package/dist/lib/schemas-data/3.0/enums/catalog-action.json +1 -1
  412. package/dist/lib/schemas-data/3.0/enums/catalog-item-status.json +1 -1
  413. package/dist/lib/schemas-data/3.0/enums/catalog-type.json +1 -1
  414. package/dist/lib/schemas-data/3.0/enums/channels.json +1 -1
  415. package/dist/lib/schemas-data/3.0/enums/cloud-storage-protocol.json +1 -1
  416. package/dist/lib/schemas-data/3.0/enums/co-branding-requirement.json +1 -1
  417. package/dist/lib/schemas-data/3.0/enums/collection-cadence.json +1 -1
  418. package/dist/lib/schemas-data/3.0/enums/collection-kind.json +1 -1
  419. package/dist/lib/schemas-data/3.0/enums/collection-relationship.json +1 -1
  420. package/dist/lib/schemas-data/3.0/enums/collection-status.json +1 -1
  421. package/dist/lib/schemas-data/3.0/enums/consent-basis.json +1 -1
  422. package/dist/lib/schemas-data/3.0/enums/content-id-type.json +1 -1
  423. package/dist/lib/schemas-data/3.0/enums/content-rating-system.json +1 -1
  424. package/dist/lib/schemas-data/3.0/enums/creative-action.json +1 -1
  425. package/dist/lib/schemas-data/3.0/enums/creative-agent-capability.json +1 -1
  426. package/dist/lib/schemas-data/3.0/enums/creative-approval-status.json +1 -1
  427. package/dist/lib/schemas-data/3.0/enums/creative-identifier-type.json +1 -1
  428. package/dist/lib/schemas-data/3.0/enums/creative-quality.json +1 -1
  429. package/dist/lib/schemas-data/3.0/enums/creative-sort-field.json +1 -1
  430. package/dist/lib/schemas-data/3.0/enums/creative-status.json +1 -1
  431. package/dist/lib/schemas-data/3.0/enums/daast-tracking-event.json +1 -1
  432. package/dist/lib/schemas-data/3.0/enums/daast-version.json +1 -1
  433. package/dist/lib/schemas-data/3.0/enums/day-of-week.json +1 -1
  434. package/dist/lib/schemas-data/3.0/enums/delegation-authority.json +1 -1
  435. package/dist/lib/schemas-data/3.0/enums/delivery-type.json +1 -1
  436. package/dist/lib/schemas-data/3.0/enums/demographic-system.json +1 -1
  437. package/dist/lib/schemas-data/3.0/enums/derivative-type.json +1 -1
  438. package/dist/lib/schemas-data/3.0/enums/device-platform.json +1 -1
  439. package/dist/lib/schemas-data/3.0/enums/device-type.json +1 -1
  440. package/dist/lib/schemas-data/3.0/enums/digital-source-type.json +1 -1
  441. package/dist/lib/schemas-data/3.0/enums/dimension-unit.json +1 -1
  442. package/dist/lib/schemas-data/3.0/enums/disclosure-persistence.json +1 -1
  443. package/dist/lib/schemas-data/3.0/enums/disclosure-position.json +1 -1
  444. package/dist/lib/schemas-data/3.0/enums/distance-unit.json +1 -1
  445. package/dist/lib/schemas-data/3.0/enums/distribution-identifier-type.json +1 -1
  446. package/dist/lib/schemas-data/3.0/enums/error-code.json +3 -3
  447. package/dist/lib/schemas-data/3.0/enums/escalation-severity.json +1 -1
  448. package/dist/lib/schemas-data/3.0/enums/event-type.json +1 -1
  449. package/dist/lib/schemas-data/3.0/enums/exclusivity.json +1 -1
  450. package/dist/lib/schemas-data/3.0/enums/feature-check-status.json +1 -1
  451. package/dist/lib/schemas-data/3.0/enums/feed-format.json +1 -1
  452. package/dist/lib/schemas-data/3.0/enums/feedback-source.json +1 -1
  453. package/dist/lib/schemas-data/3.0/enums/forecast-method.json +1 -1
  454. package/dist/lib/schemas-data/3.0/enums/forecast-range-unit.json +1 -1
  455. package/dist/lib/schemas-data/3.0/enums/forecastable-metric.json +1 -1
  456. package/dist/lib/schemas-data/3.0/enums/format-id-parameter.json +1 -1
  457. package/dist/lib/schemas-data/3.0/enums/frame-rate-type.json +1 -1
  458. package/dist/lib/schemas-data/3.0/enums/frequency-cap-scope.json +1 -1
  459. package/dist/lib/schemas-data/3.0/enums/genre-taxonomy.json +1 -1
  460. package/dist/lib/schemas-data/3.0/enums/geo-level.json +1 -1
  461. package/dist/lib/schemas-data/3.0/enums/gop-type.json +1 -1
  462. package/dist/lib/schemas-data/3.0/enums/governance-decision.json +1 -1
  463. package/dist/lib/schemas-data/3.0/enums/governance-domain.json +1 -1
  464. package/dist/lib/schemas-data/3.0/enums/governance-mode.json +1 -1
  465. package/dist/lib/schemas-data/3.0/enums/governance-phase.json +1 -1
  466. package/dist/lib/schemas-data/3.0/enums/history-entry-type.json +1 -1
  467. package/dist/lib/schemas-data/3.0/enums/http-method.json +1 -1
  468. package/dist/lib/schemas-data/3.0/enums/identifier-types.json +1 -1
  469. package/dist/lib/schemas-data/3.0/enums/installment-status.json +1 -1
  470. package/dist/lib/schemas-data/3.0/enums/javascript-module-type.json +1 -1
  471. package/dist/lib/schemas-data/3.0/enums/landing-page-requirement.json +1 -1
  472. package/dist/lib/schemas-data/3.0/enums/makegood-remedy.json +1 -1
  473. package/dist/lib/schemas-data/3.0/enums/markdown-flavor.json +1 -1
  474. package/dist/lib/schemas-data/3.0/enums/match-id-type.json +1 -1
  475. package/dist/lib/schemas-data/3.0/enums/match-type.json +1 -1
  476. package/dist/lib/schemas-data/3.0/enums/media-buy-status.json +1 -1
  477. package/dist/lib/schemas-data/3.0/enums/media-buy-valid-action.json +1 -1
  478. package/dist/lib/schemas-data/3.0/enums/metric-type.json +1 -1
  479. package/dist/lib/schemas-data/3.0/enums/metro-system.json +1 -1
  480. package/dist/lib/schemas-data/3.0/enums/moov-atom-position.json +1 -1
  481. package/dist/lib/schemas-data/3.0/enums/notification-type.json +1 -1
  482. package/dist/lib/schemas-data/3.0/enums/outcome-type.json +1 -1
  483. package/dist/lib/schemas-data/3.0/enums/pacing.json +1 -1
  484. package/dist/lib/schemas-data/3.0/enums/payment-terms.json +1 -1
  485. package/dist/lib/schemas-data/3.0/enums/performance-standard-metric.json +1 -1
  486. package/dist/lib/schemas-data/3.0/enums/policy-category.json +1 -1
  487. package/dist/lib/schemas-data/3.0/enums/policy-enforcement.json +1 -1
  488. package/dist/lib/schemas-data/3.0/enums/postal-system.json +1 -1
  489. package/dist/lib/schemas-data/3.0/enums/preview-output-format.json +1 -1
  490. package/dist/lib/schemas-data/3.0/enums/pricing-model.json +1 -1
  491. package/dist/lib/schemas-data/3.0/enums/production-quality.json +1 -1
  492. package/dist/lib/schemas-data/3.0/enums/property-type.json +1 -1
  493. package/dist/lib/schemas-data/3.0/enums/proposal-status.json +1 -1
  494. package/dist/lib/schemas-data/3.0/enums/publisher-identifier-types.json +1 -1
  495. package/dist/lib/schemas-data/3.0/enums/purchase-type.json +1 -1
  496. package/dist/lib/schemas-data/3.0/enums/reach-unit.json +1 -1
  497. package/dist/lib/schemas-data/3.0/enums/reporting-frequency.json +1 -1
  498. package/dist/lib/schemas-data/3.0/enums/response-type.json +1 -1
  499. package/dist/lib/schemas-data/3.0/enums/restricted-attribute.json +1 -1
  500. package/dist/lib/schemas-data/3.0/enums/right-type.json +1 -1
  501. package/dist/lib/schemas-data/3.0/enums/right-use.json +1 -1
  502. package/dist/lib/schemas-data/3.0/enums/rights-billing-period.json +1 -1
  503. package/dist/lib/schemas-data/3.0/enums/scan-type.json +1 -1
  504. package/dist/lib/schemas-data/3.0/enums/si-session-status.json +1 -1
  505. package/dist/lib/schemas-data/3.0/enums/signal-catalog-type.json +1 -1
  506. package/dist/lib/schemas-data/3.0/enums/signal-source.json +1 -1
  507. package/dist/lib/schemas-data/3.0/enums/signal-value-type.json +1 -1
  508. package/dist/lib/schemas-data/3.0/enums/snapshot-unavailable-reason.json +1 -1
  509. package/dist/lib/schemas-data/3.0/enums/sort-direction.json +1 -1
  510. package/dist/lib/schemas-data/3.0/enums/sort-metric.json +1 -1
  511. package/dist/lib/schemas-data/3.0/enums/special-category.json +1 -1
  512. package/dist/lib/schemas-data/3.0/enums/specialism.json +1 -1
  513. package/dist/lib/schemas-data/3.0/enums/talent-role.json +1 -1
  514. package/dist/lib/schemas-data/3.0/enums/task-status.json +1 -1
  515. package/dist/lib/schemas-data/3.0/enums/task-type.json +1 -1
  516. package/dist/lib/schemas-data/3.0/enums/transport-mode.json +1 -1
  517. package/dist/lib/schemas-data/3.0/enums/travel-time-unit.json +1 -1
  518. package/dist/lib/schemas-data/3.0/enums/uid-type.json +1 -1
  519. package/dist/lib/schemas-data/3.0/enums/universal-macro.json +1 -1
  520. package/dist/lib/schemas-data/3.0/enums/update-frequency.json +1 -1
  521. package/dist/lib/schemas-data/3.0/enums/url-asset-type.json +1 -1
  522. package/dist/lib/schemas-data/3.0/enums/validation-mode.json +1 -1
  523. package/dist/lib/schemas-data/3.0/enums/vast-tracking-event.json +1 -1
  524. package/dist/lib/schemas-data/3.0/enums/vast-version.json +1 -1
  525. package/dist/lib/schemas-data/3.0/enums/viewability-standard.json +1 -1
  526. package/dist/lib/schemas-data/3.0/enums/wcag-level.json +1 -1
  527. package/dist/lib/schemas-data/3.0/enums/webhook-response-type.json +1 -1
  528. package/dist/lib/schemas-data/3.0/enums/webhook-security-method.json +1 -1
  529. package/dist/lib/schemas-data/3.0/error-details/account-setup-required.json +1 -1
  530. package/dist/lib/schemas-data/3.0/error-details/audience-too-small.json +1 -1
  531. package/dist/lib/schemas-data/3.0/error-details/budget-too-low.json +1 -1
  532. package/dist/lib/schemas-data/3.0/error-details/conflict.json +1 -1
  533. package/dist/lib/schemas-data/3.0/error-details/creative-rejected.json +1 -1
  534. package/dist/lib/schemas-data/3.0/error-details/policy-violation.json +1 -1
  535. package/dist/lib/schemas-data/3.0/error-details/rate-limited.json +1 -1
  536. package/dist/lib/schemas-data/3.0/error-details/vendor-error-codes.json +1 -1
  537. package/dist/lib/schemas-data/3.0/extensions/extension-meta.json +1 -1
  538. package/dist/lib/schemas-data/3.0/extensions/index.json +2 -2
  539. package/dist/lib/schemas-data/3.0/governance/attribute-definition.json +1 -1
  540. package/dist/lib/schemas-data/3.0/governance/audience-constraints.json +3 -3
  541. package/dist/lib/schemas-data/3.0/governance/check-governance-request.json +7 -7
  542. package/dist/lib/schemas-data/3.0/governance/check-governance-response.json +6 -6
  543. package/dist/lib/schemas-data/3.0/governance/get-plan-audit-logs-request.json +4 -4
  544. package/dist/lib/schemas-data/3.0/governance/get-plan-audit-logs-response.json +9 -9
  545. package/dist/lib/schemas-data/3.0/governance/policy-category-definition.json +2 -2
  546. package/dist/lib/schemas-data/3.0/governance/policy-entry.json +6 -6
  547. package/dist/lib/schemas-data/3.0/governance/policy-ref.json +1 -1
  548. package/dist/lib/schemas-data/3.0/governance/report-plan-outcome-request.json +6 -6
  549. package/dist/lib/schemas-data/3.0/governance/report-plan-outcome-response.json +4 -4
  550. package/dist/lib/schemas-data/3.0/governance/sync-plans-request.json +13 -13
  551. package/dist/lib/schemas-data/3.0/governance/sync-plans-response.json +4 -4
  552. package/dist/lib/schemas-data/3.0/index.json +364 -364
  553. package/dist/lib/schemas-data/3.0/manifest.json +5 -5
  554. package/dist/lib/schemas-data/3.0/manifest.schema.json +1 -1
  555. package/dist/lib/schemas-data/3.0/media-buy/build-creative-async-response-input-required.json +4 -4
  556. package/dist/lib/schemas-data/3.0/media-buy/build-creative-async-response-submitted.json +3 -3
  557. package/dist/lib/schemas-data/3.0/media-buy/build-creative-async-response-working.json +3 -3
  558. package/dist/lib/schemas-data/3.0/media-buy/build-creative-request.json +11 -11
  559. package/dist/lib/schemas-data/3.0/media-buy/build-creative-response.json +17 -17
  560. package/dist/lib/schemas-data/3.0/media-buy/create-media-buy-async-response-input-required.json +4 -4
  561. package/dist/lib/schemas-data/3.0/media-buy/create-media-buy-async-response-submitted.json +3 -3
  562. package/dist/lib/schemas-data/3.0/media-buy/create-media-buy-async-response-working.json +3 -3
  563. package/dist/lib/schemas-data/3.0/media-buy/create-media-buy-request.json +12 -12
  564. package/dist/lib/schemas-data/3.0/media-buy/create-media-buy-response.json +15 -15
  565. package/dist/lib/schemas-data/3.0/media-buy/get-media-buy-delivery-request.json +17 -17
  566. package/dist/lib/schemas-data/3.0/media-buy/get-media-buy-delivery-response.json +24 -24
  567. package/dist/lib/schemas-data/3.0/media-buy/get-media-buys-request.json +7 -7
  568. package/dist/lib/schemas-data/3.0/media-buy/get-media-buys-response.json +19 -19
  569. package/dist/lib/schemas-data/3.0/media-buy/get-products-async-response-input-required.json +4 -4
  570. package/dist/lib/schemas-data/3.0/media-buy/get-products-async-response-submitted.json +3 -3
  571. package/dist/lib/schemas-data/3.0/media-buy/get-products-async-response-working.json +3 -3
  572. package/dist/lib/schemas-data/3.0/media-buy/get-products-request.json +11 -11
  573. package/dist/lib/schemas-data/3.0/media-buy/get-products-response.json +8 -8
  574. package/dist/lib/schemas-data/3.0/media-buy/list-creative-formats-request.json +11 -11
  575. package/dist/lib/schemas-data/3.0/media-buy/list-creative-formats-response.json +7 -7
  576. package/dist/lib/schemas-data/3.0/media-buy/log-event-request.json +4 -4
  577. package/dist/lib/schemas-data/3.0/media-buy/log-event-response.json +6 -6
  578. package/dist/lib/schemas-data/3.0/media-buy/package-request.json +12 -12
  579. package/dist/lib/schemas-data/3.0/media-buy/package-update.json +13 -13
  580. package/dist/lib/schemas-data/3.0/media-buy/provide-performance-feedback-request.json +6 -6
  581. package/dist/lib/schemas-data/3.0/media-buy/provide-performance-feedback-response.json +6 -6
  582. package/dist/lib/schemas-data/3.0/media-buy/sync-audiences-request.json +7 -7
  583. package/dist/lib/schemas-data/3.0/media-buy/sync-audiences-response.json +9 -9
  584. package/dist/lib/schemas-data/3.0/media-buy/sync-catalogs-async-response-input-required.json +3 -3
  585. package/dist/lib/schemas-data/3.0/media-buy/sync-catalogs-async-response-submitted.json +3 -3
  586. package/dist/lib/schemas-data/3.0/media-buy/sync-catalogs-async-response-working.json +3 -3
  587. package/dist/lib/schemas-data/3.0/media-buy/sync-catalogs-request.json +7 -7
  588. package/dist/lib/schemas-data/3.0/media-buy/sync-catalogs-response.json +9 -9
  589. package/dist/lib/schemas-data/3.0/media-buy/sync-event-sources-request.json +5 -5
  590. package/dist/lib/schemas-data/3.0/media-buy/sync-event-sources-response.json +10 -10
  591. package/dist/lib/schemas-data/3.0/media-buy/update-media-buy-async-response-input-required.json +3 -3
  592. package/dist/lib/schemas-data/3.0/media-buy/update-media-buy-async-response-submitted.json +3 -3
  593. package/dist/lib/schemas-data/3.0/media-buy/update-media-buy-async-response-working.json +3 -3
  594. package/dist/lib/schemas-data/3.0/media-buy/update-media-buy-request.json +10 -10
  595. package/dist/lib/schemas-data/3.0/media-buy/update-media-buy-response.json +10 -10
  596. package/dist/lib/schemas-data/3.0/pricing-options/cpa-option.json +4 -4
  597. package/dist/lib/schemas-data/3.0/pricing-options/cpc-option.json +4 -4
  598. package/dist/lib/schemas-data/3.0/pricing-options/cpcv-option.json +4 -4
  599. package/dist/lib/schemas-data/3.0/pricing-options/cpm-option.json +4 -4
  600. package/dist/lib/schemas-data/3.0/pricing-options/cpp-option.json +5 -5
  601. package/dist/lib/schemas-data/3.0/pricing-options/cpv-option.json +4 -4
  602. package/dist/lib/schemas-data/3.0/pricing-options/flat-rate-option.json +4 -4
  603. package/dist/lib/schemas-data/3.0/pricing-options/price-breakdown.json +2 -2
  604. package/dist/lib/schemas-data/3.0/pricing-options/price-guidance.json +1 -1
  605. package/dist/lib/schemas-data/3.0/pricing-options/time-option.json +4 -4
  606. package/dist/lib/schemas-data/3.0/pricing-options/vcpm-option.json +4 -4
  607. package/dist/lib/schemas-data/3.0/property/authorization-result.json +1 -1
  608. package/dist/lib/schemas-data/3.0/property/base-property-source.json +4 -4
  609. package/dist/lib/schemas-data/3.0/property/create-property-list-request.json +7 -7
  610. package/dist/lib/schemas-data/3.0/property/create-property-list-response.json +4 -4
  611. package/dist/lib/schemas-data/3.0/property/delete-property-list-request.json +4 -4
  612. package/dist/lib/schemas-data/3.0/property/delete-property-list-response.json +3 -3
  613. package/dist/lib/schemas-data/3.0/property/delivery-record.json +3 -3
  614. package/dist/lib/schemas-data/3.0/property/get-property-list-request.json +4 -4
  615. package/dist/lib/schemas-data/3.0/property/get-property-list-response.json +7 -7
  616. package/dist/lib/schemas-data/3.0/property/list-property-lists-request.json +5 -5
  617. package/dist/lib/schemas-data/3.0/property/list-property-lists-response.json +5 -5
  618. package/dist/lib/schemas-data/3.0/property/property-error.json +2 -2
  619. package/dist/lib/schemas-data/3.0/property/property-feature-definition.json +2 -2
  620. package/dist/lib/schemas-data/3.0/property/property-feature-result.json +4 -4
  621. package/dist/lib/schemas-data/3.0/property/property-feature-value.json +2 -2
  622. package/dist/lib/schemas-data/3.0/property/property-feature.json +1 -1
  623. package/dist/lib/schemas-data/3.0/property/property-list-changed-webhook.json +2 -2
  624. package/dist/lib/schemas-data/3.0/property/property-list-filters.json +5 -5
  625. package/dist/lib/schemas-data/3.0/property/property-list.json +6 -6
  626. package/dist/lib/schemas-data/3.0/property/update-property-list-request.json +7 -7
  627. package/dist/lib/schemas-data/3.0/property/update-property-list-response.json +4 -4
  628. package/dist/lib/schemas-data/3.0/property/validate-property-delivery-request.json +5 -5
  629. package/dist/lib/schemas-data/3.0/property/validate-property-delivery-response.json +4 -4
  630. package/dist/lib/schemas-data/3.0/property/validation-result.json +5 -5
  631. package/dist/lib/schemas-data/3.0/protocol/get-adcp-capabilities-request.json +3 -3
  632. package/dist/lib/schemas-data/3.0/protocol/get-adcp-capabilities-response.json +25 -25
  633. package/dist/lib/schemas-data/3.0/signals/activate-signal-request.json +5 -5
  634. package/dist/lib/schemas-data/3.0/signals/activate-signal-response.json +7 -7
  635. package/dist/lib/schemas-data/3.0/signals/get-signals-request.json +8 -8
  636. package/dist/lib/schemas-data/3.0/signals/get-signals-response.json +10 -10
  637. package/dist/lib/schemas-data/3.0/sponsored-intelligence/si-capabilities.json +1 -1
  638. package/dist/lib/schemas-data/3.0/sponsored-intelligence/si-get-offering-request.json +3 -3
  639. package/dist/lib/schemas-data/3.0/sponsored-intelligence/si-get-offering-response.json +4 -4
  640. package/dist/lib/schemas-data/3.0/sponsored-intelligence/si-identity.json +1 -1
  641. package/dist/lib/schemas-data/3.0/sponsored-intelligence/si-initiate-session-request.json +5 -5
  642. package/dist/lib/schemas-data/3.0/sponsored-intelligence/si-initiate-session-response.json +7 -7
  643. package/dist/lib/schemas-data/3.0/sponsored-intelligence/si-send-message-request.json +3 -3
  644. package/dist/lib/schemas-data/3.0/sponsored-intelligence/si-send-message-response.json +7 -7
  645. package/dist/lib/schemas-data/3.0/sponsored-intelligence/si-terminate-session-request.json +3 -3
  646. package/dist/lib/schemas-data/3.0/sponsored-intelligence/si-terminate-session-response.json +5 -5
  647. package/dist/lib/schemas-data/3.0/sponsored-intelligence/si-ui-element.json +1 -1
  648. package/dist/lib/schemas-data/v2.5/_provenance.json +1 -1
  649. package/dist/lib/server/account-mode.d.ts +113 -0
  650. package/dist/lib/server/account-mode.d.ts.map +1 -0
  651. package/dist/lib/server/account-mode.js +125 -0
  652. package/dist/lib/server/account-mode.js.map +1 -0
  653. package/dist/lib/server/adcp-server.js +41 -0
  654. package/dist/lib/server/adcp-server.js.map +1 -1
  655. package/dist/lib/server/auth.d.ts +35 -0
  656. package/dist/lib/server/auth.d.ts.map +1 -1
  657. package/dist/lib/server/auth.js.map +1 -1
  658. package/dist/lib/server/create-adcp-server.d.ts +26 -9
  659. package/dist/lib/server/create-adcp-server.d.ts.map +1 -1
  660. package/dist/lib/server/create-adcp-server.js +46 -20
  661. package/dist/lib/server/create-adcp-server.js.map +1 -1
  662. package/dist/lib/server/ctx-metadata/store.d.ts +1 -1
  663. package/dist/lib/server/ctx-metadata/store.d.ts.map +1 -1
  664. package/dist/lib/server/ctx-metadata/store.js +1 -0
  665. package/dist/lib/server/ctx-metadata/store.js.map +1 -1
  666. package/dist/lib/server/decisioning/account.d.ts +19 -0
  667. package/dist/lib/server/decisioning/account.d.ts.map +1 -1
  668. package/dist/lib/server/decisioning/account.js.map +1 -1
  669. package/dist/lib/server/decisioning/buyer-agent.d.ts +37 -4
  670. package/dist/lib/server/decisioning/buyer-agent.d.ts.map +1 -1
  671. package/dist/lib/server/decisioning/buyer-agent.js +12 -2
  672. package/dist/lib/server/decisioning/buyer-agent.js.map +1 -1
  673. package/dist/lib/server/decisioning/compose.d.ts +33 -2
  674. package/dist/lib/server/decisioning/compose.d.ts.map +1 -1
  675. package/dist/lib/server/decisioning/compose.js +13 -46
  676. package/dist/lib/server/decisioning/compose.js.map +1 -1
  677. package/dist/lib/server/decisioning/index.d.ts +2 -1
  678. package/dist/lib/server/decisioning/index.d.ts.map +1 -1
  679. package/dist/lib/server/decisioning/index.js +2 -1
  680. package/dist/lib/server/decisioning/index.js.map +1 -1
  681. package/dist/lib/server/decisioning/platform-helpers.d.ts +18 -0
  682. package/dist/lib/server/decisioning/platform-helpers.d.ts.map +1 -1
  683. package/dist/lib/server/decisioning/platform-helpers.js +20 -0
  684. package/dist/lib/server/decisioning/platform-helpers.js.map +1 -1
  685. package/dist/lib/server/decisioning/platform.d.ts +19 -21
  686. package/dist/lib/server/decisioning/platform.d.ts.map +1 -1
  687. package/dist/lib/server/decisioning/platform.js.map +1 -1
  688. package/dist/lib/server/decisioning/runtime/entity-hydration.generated.js +1 -1
  689. package/dist/lib/server/decisioning/runtime/from-platform.d.ts.map +1 -1
  690. package/dist/lib/server/decisioning/runtime/from-platform.js +369 -54
  691. package/dist/lib/server/decisioning/runtime/from-platform.js.map +1 -1
  692. package/dist/lib/server/decisioning/runtime/observed-modes.d.ts +40 -0
  693. package/dist/lib/server/decisioning/runtime/observed-modes.d.ts.map +1 -0
  694. package/dist/lib/server/decisioning/runtime/observed-modes.js +82 -0
  695. package/dist/lib/server/decisioning/runtime/observed-modes.js.map +1 -0
  696. package/dist/lib/server/decisioning/runtime/protocol-for-tool.js +2 -2
  697. package/dist/lib/server/decisioning/runtime/protocol-for-tool.js.map +1 -1
  698. package/dist/lib/server/decisioning/runtime/validate-platform.d.ts.map +1 -1
  699. package/dist/lib/server/decisioning/runtime/validate-platform.js +9 -1
  700. package/dist/lib/server/decisioning/runtime/validate-platform.js.map +1 -1
  701. package/dist/lib/server/decisioning/specialisms/sponsored-intelligence.d.ts +125 -0
  702. package/dist/lib/server/decisioning/specialisms/sponsored-intelligence.d.ts.map +1 -0
  703. package/dist/lib/server/decisioning/specialisms/sponsored-intelligence.js +52 -0
  704. package/dist/lib/server/decisioning/specialisms/sponsored-intelligence.js.map +1 -0
  705. package/dist/lib/server/decisioning/tenant-registry.d.ts +16 -0
  706. package/dist/lib/server/decisioning/tenant-registry.d.ts.map +1 -1
  707. package/dist/lib/server/decisioning/tenant-registry.js.map +1 -1
  708. package/dist/lib/server/index.d.ts +5 -1
  709. package/dist/lib/server/index.d.ts.map +1 -1
  710. package/dist/lib/server/index.js +15 -3
  711. package/dist/lib/server/index.js.map +1 -1
  712. package/dist/lib/server/serve.js +20 -2
  713. package/dist/lib/server/serve.js.map +1 -1
  714. package/dist/lib/server/socket-mode/conformance-client.d.ts +83 -0
  715. package/dist/lib/server/socket-mode/conformance-client.d.ts.map +1 -0
  716. package/dist/lib/server/socket-mode/conformance-client.js +117 -0
  717. package/dist/lib/server/socket-mode/conformance-client.js.map +1 -0
  718. package/dist/lib/server/socket-mode/index.d.ts +15 -0
  719. package/dist/lib/server/socket-mode/index.d.ts.map +1 -0
  720. package/dist/lib/server/socket-mode/index.js +20 -0
  721. package/dist/lib/server/socket-mode/index.js.map +1 -0
  722. package/dist/lib/server/socket-mode/ws-transport.d.ts +26 -0
  723. package/dist/lib/server/socket-mode/ws-transport.d.ts.map +1 -0
  724. package/dist/lib/server/socket-mode/ws-transport.js +93 -0
  725. package/dist/lib/server/socket-mode/ws-transport.js.map +1 -0
  726. package/dist/lib/server/test-controller.d.ts +3 -0
  727. package/dist/lib/server/test-controller.d.ts.map +1 -1
  728. package/dist/lib/server/test-controller.js +23 -20
  729. package/dist/lib/server/test-controller.js.map +1 -1
  730. package/dist/lib/testing/comply-controller.d.ts +65 -3
  731. package/dist/lib/testing/comply-controller.d.ts.map +1 -1
  732. package/dist/lib/testing/comply-controller.js +32 -3
  733. package/dist/lib/testing/comply-controller.js.map +1 -1
  734. package/dist/lib/testing/index.d.ts +1 -1
  735. package/dist/lib/testing/index.d.ts.map +1 -1
  736. package/dist/lib/testing/index.js.map +1 -1
  737. package/dist/lib/testing/storyboard/request-builder.d.ts.map +1 -1
  738. package/dist/lib/testing/storyboard/request-builder.js +63 -40
  739. package/dist/lib/testing/storyboard/request-builder.js.map +1 -1
  740. package/dist/lib/testing/storyboard/validations.d.ts.map +1 -1
  741. package/dist/lib/testing/storyboard/validations.js +36 -54
  742. package/dist/lib/testing/storyboard/validations.js.map +1 -1
  743. package/dist/lib/testing/test-controller.d.ts +10 -4
  744. package/dist/lib/testing/test-controller.d.ts.map +1 -1
  745. package/dist/lib/testing/test-controller.js +9 -3
  746. package/dist/lib/testing/test-controller.js.map +1 -1
  747. package/dist/lib/types/core.generated.d.ts +54 -14
  748. package/dist/lib/types/core.generated.d.ts.map +1 -1
  749. package/dist/lib/types/core.generated.js +2 -2
  750. package/dist/lib/types/error-codes.d.ts +2 -2
  751. package/dist/lib/types/index.d.ts +4 -3
  752. package/dist/lib/types/index.d.ts.map +1 -1
  753. package/dist/lib/types/index.js +3 -0
  754. package/dist/lib/types/index.js.map +1 -1
  755. package/dist/lib/types/manifest.generated.d.ts +5 -5
  756. package/dist/lib/types/manifest.generated.js +3 -3
  757. package/dist/lib/types/manifest.generated.js.map +1 -1
  758. package/dist/lib/types/schemas.generated.d.ts +465 -381
  759. package/dist/lib/types/schemas.generated.d.ts.map +1 -1
  760. package/dist/lib/types/schemas.generated.js +171 -143
  761. package/dist/lib/types/schemas.generated.js.map +1 -1
  762. package/dist/lib/types/tools.generated.d.ts +42 -14
  763. package/dist/lib/types/tools.generated.d.ts.map +1 -1
  764. package/dist/lib/utils/glob.d.ts +4 -2
  765. package/dist/lib/utils/glob.d.ts.map +1 -1
  766. package/dist/lib/utils/glob.js +4 -2
  767. package/dist/lib/utils/glob.js.map +1 -1
  768. package/dist/lib/version.d.ts +7 -7
  769. package/dist/lib/version.d.ts.map +1 -1
  770. package/dist/lib/version.js +6 -5
  771. package/dist/lib/version.js.map +1 -1
  772. package/docs/llms.txt +5 -4
  773. package/examples/README.md +29 -13
  774. package/examples/hello-cluster.ts +62 -23
  775. package/examples/hello_creative_adapter_ad_server.ts +809 -0
  776. package/examples/hello_creative_adapter_template.ts +61 -6
  777. package/examples/hello_seller_adapter_guaranteed.ts +158 -25
  778. package/examples/hello_seller_adapter_multi_tenant.ts +39 -5
  779. package/examples/hello_seller_adapter_non_guaranteed.ts +1071 -0
  780. package/examples/hello_seller_adapter_social.ts +1 -1
  781. package/examples/hello_si_adapter_brand.ts +572 -0
  782. package/examples/hello_signals_adapter_marketplace.ts +34 -29
  783. package/package.json +7 -5
  784. package/skills/SHAPE-GOTCHAS.md +18 -0
  785. package/skills/build-brand-rights-agent/SKILL.md +61 -597
  786. package/skills/build-creative-agent/SKILL.md +69 -830
  787. package/skills/build-generative-seller-agent/SKILL.md +43 -577
  788. package/skills/build-governance-agent/SKILL.md +63 -950
  789. package/skills/build-holdco-agent/SKILL.md +8 -0
  790. package/skills/build-retail-media-agent/SKILL.md +46 -478
  791. package/skills/build-seller-agent/SKILL.md +53 -1795
  792. package/skills/build-seller-agent/specialisms/sales-non-guaranteed.md +9 -31
  793. package/skills/build-si-agent/SKILL.md +55 -318
  794. package/skills/build-signals-agent/SKILL.md +49 -537
  795. package/skills/call-adcp-agent/SKILL.md +7 -1
  796. package/skills/cross-cutting.md +84 -0
  797. package/skills/call-adcp-agent.previous/SKILL.md +0 -261
  798. /package/compliance/cache/{3.0.5 → 3.0.6}/domains/brand/index.yaml +0 -0
  799. /package/compliance/cache/{3.0.5 → 3.0.6}/domains/creative/index.yaml +0 -0
  800. /package/compliance/cache/{3.0.5 → 3.0.6}/domains/governance/index.yaml +0 -0
  801. /package/compliance/cache/{3.0.5 → 3.0.6}/domains/media-buy/creative-reception.yaml +0 -0
  802. /package/compliance/cache/{3.0.5 → 3.0.6}/domains/media-buy/index.yaml +0 -0
  803. /package/compliance/cache/{3.0.5 → 3.0.6}/domains/media-buy/scenarios/create_media_buy_async.yaml +0 -0
  804. /package/compliance/cache/{3.0.5 → 3.0.6}/domains/media-buy/scenarios/creative_fate_after_cancellation.yaml +0 -0
  805. /package/compliance/cache/{3.0.5 → 3.0.6}/domains/media-buy/scenarios/delivery_reporting.yaml +0 -0
  806. /package/compliance/cache/{3.0.5 → 3.0.6}/domains/media-buy/scenarios/governance_approved.yaml +0 -0
  807. /package/compliance/cache/{3.0.5 → 3.0.6}/domains/media-buy/scenarios/governance_conditions.yaml +0 -0
  808. /package/compliance/cache/{3.0.5 → 3.0.6}/domains/media-buy/scenarios/governance_denied.yaml +0 -0
  809. /package/compliance/cache/{3.0.5 → 3.0.6}/domains/media-buy/scenarios/governance_denied_recovery.yaml +0 -0
  810. /package/compliance/cache/{3.0.5 → 3.0.6}/domains/media-buy/scenarios/invalid_transitions.yaml +0 -0
  811. /package/compliance/cache/{3.0.5 → 3.0.6}/domains/media-buy/scenarios/inventory_list_no_match.yaml +0 -0
  812. /package/compliance/cache/{3.0.5 → 3.0.6}/domains/media-buy/scenarios/measurement_terms_rejected.yaml +0 -0
  813. /package/compliance/cache/{3.0.5 → 3.0.6}/domains/media-buy/scenarios/pending_creatives_to_start.yaml +0 -0
  814. /package/compliance/cache/{3.0.5 → 3.0.6}/domains/media-buy/scenarios/proposal_finalize.yaml +0 -0
  815. /package/compliance/cache/{3.0.5 → 3.0.6}/domains/media-buy/scenarios/refine_products.yaml +0 -0
  816. /package/compliance/cache/{3.0.5 → 3.0.6}/domains/media-buy/state-machine.yaml +0 -0
  817. /package/compliance/cache/{3.0.5 → 3.0.6}/domains/signals/index.yaml +0 -0
  818. /package/compliance/cache/{3.0.5 → 3.0.6}/domains/sponsored-intelligence/index.yaml +0 -0
  819. /package/compliance/cache/{3.0.5 → 3.0.6}/protocols/brand/index.yaml +0 -0
  820. /package/compliance/cache/{3.0.5 → 3.0.6}/protocols/creative/index.yaml +0 -0
  821. /package/compliance/cache/{3.0.5 → 3.0.6}/protocols/governance/index.yaml +0 -0
  822. /package/compliance/cache/{3.0.5 → 3.0.6}/protocols/media-buy/creative-reception.yaml +0 -0
  823. /package/compliance/cache/{3.0.5 → 3.0.6}/protocols/media-buy/index.yaml +0 -0
  824. /package/compliance/cache/{3.0.5 → 3.0.6}/protocols/media-buy/scenarios/create_media_buy_async.yaml +0 -0
  825. /package/compliance/cache/{3.0.5 → 3.0.6}/protocols/media-buy/scenarios/creative_fate_after_cancellation.yaml +0 -0
  826. /package/compliance/cache/{3.0.5 → 3.0.6}/protocols/media-buy/scenarios/delivery_reporting.yaml +0 -0
  827. /package/compliance/cache/{3.0.5 → 3.0.6}/protocols/media-buy/scenarios/governance_approved.yaml +0 -0
  828. /package/compliance/cache/{3.0.5 → 3.0.6}/protocols/media-buy/scenarios/governance_conditions.yaml +0 -0
  829. /package/compliance/cache/{3.0.5 → 3.0.6}/protocols/media-buy/scenarios/governance_denied.yaml +0 -0
  830. /package/compliance/cache/{3.0.5 → 3.0.6}/protocols/media-buy/scenarios/governance_denied_recovery.yaml +0 -0
  831. /package/compliance/cache/{3.0.5 → 3.0.6}/protocols/media-buy/scenarios/invalid_transitions.yaml +0 -0
  832. /package/compliance/cache/{3.0.5 → 3.0.6}/protocols/media-buy/scenarios/inventory_list_no_match.yaml +0 -0
  833. /package/compliance/cache/{3.0.5 → 3.0.6}/protocols/media-buy/scenarios/measurement_terms_rejected.yaml +0 -0
  834. /package/compliance/cache/{3.0.5 → 3.0.6}/protocols/media-buy/scenarios/pending_creatives_to_start.yaml +0 -0
  835. /package/compliance/cache/{3.0.5 → 3.0.6}/protocols/media-buy/scenarios/proposal_finalize.yaml +0 -0
  836. /package/compliance/cache/{3.0.5 → 3.0.6}/protocols/media-buy/scenarios/refine_products.yaml +0 -0
  837. /package/compliance/cache/{3.0.5 → 3.0.6}/protocols/media-buy/state-machine.yaml +0 -0
  838. /package/compliance/cache/{3.0.5 → 3.0.6}/protocols/signals/index.yaml +0 -0
  839. /package/compliance/cache/{3.0.5 → 3.0.6}/protocols/sponsored-intelligence/index.yaml +0 -0
  840. /package/compliance/cache/{3.0.5 → 3.0.6}/specialisms/audience-sync/index.yaml +0 -0
  841. /package/compliance/cache/{3.0.5 → 3.0.6}/specialisms/brand-rights/index.yaml +0 -0
  842. /package/compliance/cache/{3.0.5 → 3.0.6}/specialisms/brand-rights/scenarios/governance_denied.yaml +0 -0
  843. /package/compliance/cache/{3.0.5 → 3.0.6}/specialisms/collection-lists/index.yaml +0 -0
  844. /package/compliance/cache/{3.0.5 → 3.0.6}/specialisms/content-standards/index.yaml +0 -0
  845. /package/compliance/cache/{3.0.5 → 3.0.6}/specialisms/creative-ad-server/index.yaml +0 -0
  846. /package/compliance/cache/{3.0.5 → 3.0.6}/specialisms/creative-generative/generative-seller.yaml +0 -0
  847. /package/compliance/cache/{3.0.5 → 3.0.6}/specialisms/creative-generative/index.yaml +0 -0
  848. /package/compliance/cache/{3.0.5 → 3.0.6}/specialisms/creative-template/index.yaml +0 -0
  849. /package/compliance/cache/{3.0.5 → 3.0.6}/specialisms/governance-aware-seller/index.yaml +0 -0
  850. /package/compliance/cache/{3.0.5 → 3.0.6}/specialisms/governance-delivery-monitor/index.yaml +0 -0
  851. /package/compliance/cache/{3.0.5 → 3.0.6}/specialisms/governance-spend-authority/denied.yaml +0 -0
  852. /package/compliance/cache/{3.0.5 → 3.0.6}/specialisms/governance-spend-authority/index.yaml +0 -0
  853. /package/compliance/cache/{3.0.5 → 3.0.6}/specialisms/property-lists/index.yaml +0 -0
  854. /package/compliance/cache/{3.0.5 → 3.0.6}/specialisms/sales-broadcast-tv/index.yaml +0 -0
  855. /package/compliance/cache/{3.0.5 → 3.0.6}/specialisms/sales-catalog-driven/index.yaml +0 -0
  856. /package/compliance/cache/{3.0.5 → 3.0.6}/specialisms/sales-non-guaranteed/index.yaml +0 -0
  857. /package/compliance/cache/{3.0.5 → 3.0.6}/specialisms/sales-proposal-mode/index.yaml +0 -0
  858. /package/compliance/cache/{3.0.5 → 3.0.6}/specialisms/sales-social/index.yaml +0 -0
  859. /package/compliance/cache/{3.0.5 → 3.0.6}/specialisms/signal-marketplace/index.yaml +0 -0
  860. /package/compliance/cache/{3.0.5 → 3.0.6}/specialisms/signal-marketplace/scenarios/governance_denied.yaml +0 -0
  861. /package/compliance/cache/{3.0.5 → 3.0.6}/specialisms/signal-owned/index.yaml +0 -0
  862. /package/compliance/cache/{3.0.5 → 3.0.6}/test-kits/acme-outdoor.yaml +0 -0
  863. /package/compliance/cache/{3.0.5 → 3.0.6}/test-kits/bistro-oranje.yaml +0 -0
  864. /package/compliance/cache/{3.0.5 → 3.0.6}/test-kits/nova-motors.yaml +0 -0
  865. /package/compliance/cache/{3.0.5 → 3.0.6}/test-kits/osei-natural.yaml +0 -0
  866. /package/compliance/cache/{3.0.5 → 3.0.6}/test-kits/signed-requests-runner.yaml +0 -0
  867. /package/compliance/cache/{3.0.5 → 3.0.6}/test-kits/substitution-observer-runner.yaml +0 -0
  868. /package/compliance/cache/{3.0.5 → 3.0.6}/test-kits/summit-foods.yaml +0 -0
  869. /package/compliance/cache/{3.0.5 → 3.0.6}/test-kits/webhook-receiver-runner.yaml +0 -0
  870. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/plan-hash/001-minimal-plan.json +0 -0
  871. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/plan-hash/002-full-plan.json +0 -0
  872. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/plan-hash/003-bookkeeping-stripped.json +0 -0
  873. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/plan-hash/004a-human-review-omitted.json +0 -0
  874. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/plan-hash/004b-human-review-explicit-null.json +0 -0
  875. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/plan-hash/005a-policy-categories-order-1.json +0 -0
  876. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/plan-hash/005b-policy-categories-order-2.json +0 -0
  877. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/plan-hash/006a-ext-trace-v1.json +0 -0
  878. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/plan-hash/006b-ext-trace-v2.json +0 -0
  879. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/plan-hash/007-unicode-objectives.json +0 -0
  880. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/plan-hash/008-numeric-canonicalization.json +0 -0
  881. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/README.md +0 -0
  882. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/canonicalization.json +0 -0
  883. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/keys.json +0 -0
  884. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/001-no-signature-header.json +0 -0
  885. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/002-wrong-tag.json +0 -0
  886. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/003-expired-signature.json +0 -0
  887. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/004-window-too-long.json +0 -0
  888. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/005-alg-not-allowed.json +0 -0
  889. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/006-missing-covered-component.json +0 -0
  890. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/007-missing-content-digest.json +0 -0
  891. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/008-unknown-keyid.json +0 -0
  892. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/009-key-ops-missing-verify.json +0 -0
  893. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/010-content-digest-mismatch.json +0 -0
  894. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/011-malformed-header.json +0 -0
  895. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/012-missing-expires-param.json +0 -0
  896. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/013-expires-le-created.json +0 -0
  897. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/014-missing-nonce-param.json +0 -0
  898. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/015-signature-invalid.json +0 -0
  899. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/016-replayed-nonce.json +0 -0
  900. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/017-key-revoked.json +0 -0
  901. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/018-digest-covered-when-forbidden.json +0 -0
  902. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/019-signature-without-signature-input.json +0 -0
  903. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/020-rate-abuse.json +0 -0
  904. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/021-duplicate-signature-input-label.json +0 -0
  905. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/022-multi-valued-content-type.json +0 -0
  906. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/023-multi-valued-content-digest.json +0 -0
  907. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/024-unquoted-string-param.json +0 -0
  908. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/025-jwk-alg-crv-mismatch.json +0 -0
  909. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/026-non-ascii-host.json +0 -0
  910. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/negative/027-webhook-registration-authentication-unsigned.json +0 -0
  911. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/positive/001-basic-post.json +0 -0
  912. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/positive/002-post-with-content-digest.json +0 -0
  913. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/positive/003-es256-post.json +0 -0
  914. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/positive/004-multiple-signature-labels.json +0 -0
  915. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/positive/005-default-port-stripped.json +0 -0
  916. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/positive/006-dot-segment-path.json +0 -0
  917. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/positive/007-query-byte-preserved.json +0 -0
  918. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/positive/008-percent-encoded-path.json +0 -0
  919. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/positive/009-percent-encoded-unreserved-decoded.json +0 -0
  920. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/positive/010-percent-encoded-slash-preserved.json +0 -0
  921. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/positive/011-ipv6-authority.json +0 -0
  922. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/request-signing/positive/012-ipv6-authority-default-port-stripped.json +0 -0
  923. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/README.md +0 -0
  924. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/keys.json +0 -0
  925. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/negative/001-wrong-tag.json +0 -0
  926. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/negative/002-expired-signature.json +0 -0
  927. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/negative/003-window-too-long.json +0 -0
  928. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/negative/004-alg-not-allowed.json +0 -0
  929. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/negative/005-missing-authority-component.json +0 -0
  930. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/negative/006-missing-content-digest.json +0 -0
  931. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/negative/007-unknown-keyid.json +0 -0
  932. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/negative/008-wrong-adcp-use.json +0 -0
  933. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/negative/009-content-digest-mismatch.json +0 -0
  934. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/negative/010-malformed-signature-input.json +0 -0
  935. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/negative/011-signature-without-input.json +0 -0
  936. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/negative/012-missing-expires-param.json +0 -0
  937. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/negative/013-expires-le-created.json +0 -0
  938. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/negative/014-missing-nonce-param.json +0 -0
  939. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/negative/015-signature-invalid.json +0 -0
  940. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/negative/016-replayed-nonce.json +0 -0
  941. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/negative/017-key-revoked.json +0 -0
  942. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/negative/018-rate-abuse.json +0 -0
  943. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/negative/019-revocation-stale.json +0 -0
  944. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/negative/020-key-ops-missing-verify.json +0 -0
  945. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/negative/021-base64-alphabet-mixing.json +0 -0
  946. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/positive/001-basic-post.json +0 -0
  947. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/positive/002-es256-post.json +0 -0
  948. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/positive/003-multiple-signature-labels.json +0 -0
  949. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/positive/004-default-port-stripped.json +0 -0
  950. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/positive/005-percent-encoded-path.json +0 -0
  951. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/positive/006-query-byte-preserved.json +0 -0
  952. /package/compliance/cache/{3.0.5 → 3.0.6}/test-vectors/webhook-signing/positive/007-body-without-idempotency-key.json +0 -0
  953. /package/compliance/cache/{3.0.5 → 3.0.6}/universal/capability-discovery.yaml +0 -0
  954. /package/compliance/cache/{3.0.5 → 3.0.6}/universal/collection-lists-pagination-integrity.yaml +0 -0
  955. /package/compliance/cache/{3.0.5 → 3.0.6}/universal/content-standards-pagination-integrity.yaml +0 -0
  956. /package/compliance/cache/{3.0.5 → 3.0.6}/universal/deterministic-testing.yaml +0 -0
  957. /package/compliance/cache/{3.0.5 → 3.0.6}/universal/error-compliance.yaml +0 -0
  958. /package/compliance/cache/{3.0.5 → 3.0.6}/universal/fictional-entities.yaml +0 -0
  959. /package/compliance/cache/{3.0.5 → 3.0.6}/universal/get-media-buys-pagination-integrity.yaml +0 -0
  960. /package/compliance/cache/{3.0.5 → 3.0.6}/universal/get-signals-pagination-integrity.yaml +0 -0
  961. /package/compliance/cache/{3.0.5 → 3.0.6}/universal/idempotency.yaml +0 -0
  962. /package/compliance/cache/{3.0.5 → 3.0.6}/universal/pagination-integrity-creative-formats.yaml +0 -0
  963. /package/compliance/cache/{3.0.5 → 3.0.6}/universal/pagination-integrity-list-accounts.yaml +0 -0
  964. /package/compliance/cache/{3.0.5 → 3.0.6}/universal/pagination-integrity.yaml +0 -0
  965. /package/compliance/cache/{3.0.5 → 3.0.6}/universal/property-lists-pagination-integrity.yaml +0 -0
  966. /package/compliance/cache/{3.0.5 → 3.0.6}/universal/runner-output-contract.yaml +0 -0
  967. /package/compliance/cache/{3.0.5 → 3.0.6}/universal/schema-validation.yaml +0 -0
  968. /package/compliance/cache/{3.0.5 → 3.0.6}/universal/security.yaml +0 -0
  969. /package/compliance/cache/{3.0.5 → 3.0.6}/universal/signed-requests.yaml +0 -0
  970. /package/compliance/cache/{3.0.5 → 3.0.6}/universal/v3-envelope-integrity.yaml +0 -0
  971. /package/compliance/cache/{3.0.5 → 3.0.6}/universal/webhook-emission.yaml +0 -0
@@ -185,7 +185,7 @@ const upstream = {
185
185
  // returns deterministic ranges keyed on (advertiser_id, targeting), so the
186
186
  // numbers are stable across runs but vary observably with targeting.
187
187
  // Surface this on AdCP wire as `SyncAudiencesRow.matched_count` /
188
- // `effective_match_rate` (per `/schemas/3.0.5/core/audience.json`).
188
+ // `effective_match_rate` (per `/schemas/3.0.6/media-buy/sync-audiences-response.json`).
189
189
  async audienceReachEstimate(
190
190
  advertiserId: string,
191
191
  body: { targeting: Record<string, unknown> }
@@ -0,0 +1,572 @@
1
+ /**
2
+ * hello_si_adapter_brand — worked starting point for an AdCP Sponsored
3
+ * Intelligence agent (protocol `sponsored_intelligence`) that wraps an
4
+ * upstream brand-agent platform via HTTP.
5
+ *
6
+ * Fork this. Replace `upstream` with calls to your real backend
7
+ * (Salesforce Agentforce, OpenAI Assistants brand mode, custom brand
8
+ * chat). The AdCP-facing platform methods stay the same.
9
+ *
10
+ * **Status**: SI is a *protocol* in AdCP 3.0, not a specialism. Spec change
11
+ * to add it to `AdCPSpecialism` is tracked at adcontextprotocol/adcp#3961
12
+ * for 3.1. Until then the SDK dispatches off the
13
+ * `platform.sponsoredIntelligence` field's presence — which auto-derives
14
+ * `'sponsored_intelligence'` into the wire-side `supported_protocols`
15
+ * via `detectProtocols`.
16
+ *
17
+ * FORK CHECKLIST
18
+ * 1. Replace every `// SWAP:` marker with calls to your backend.
19
+ * 2. Replace `DEFAULT_LISTING_BRAND` with `ctx.authInfo`-derived per-tenant
20
+ * binding (the env-driven default is a multi-brand footgun in production).
21
+ * 3. Production brand engines almost always own full transcript state in
22
+ * their own backend (Postgres, Redis, vector DB). The auto-hydrated
23
+ * `req.session` covers fixture/mock cases and the
24
+ * "what-was-the-original-scope" lookup; do NOT model full transcripts
25
+ * into ctx_metadata — you'll hit the 16KB blob cap.
26
+ * 4. Validate: `node --test test/examples/hello-si-adapter-brand.test.js`
27
+ *
28
+ * Demo:
29
+ * npx @adcp/sdk@latest mock-server sponsored-intelligence --port 4504
30
+ * UPSTREAM_URL=http://127.0.0.1:4504 \
31
+ * npx tsx examples/hello_si_adapter_brand.ts
32
+ * curl http://127.0.0.1:4504/_debug/traffic
33
+ *
34
+ * Production:
35
+ * UPSTREAM_URL=https://my-brand-platform.example/api UPSTREAM_API_KEY=… \
36
+ * PUBLIC_AGENT_URL=https://my-agent.example.com \
37
+ * npx tsx examples/hello_si_adapter_brand.ts
38
+ */
39
+
40
+ import {
41
+ createAdcpServerFromPlatform,
42
+ definePlatform,
43
+ defineSponsoredIntelligencePlatform,
44
+ serve,
45
+ verifyApiKey,
46
+ createIdempotencyStore,
47
+ createUpstreamHttpClient,
48
+ memoryBackend,
49
+ AdcpError,
50
+ type AccountStore,
51
+ type Account,
52
+ } from '@adcp/sdk/server';
53
+ import type {
54
+ SIGetOfferingRequest,
55
+ SIGetOfferingResponse,
56
+ SIInitiateSessionRequest,
57
+ SIInitiateSessionResponse,
58
+ SISendMessageRequest,
59
+ SISendMessageResponse,
60
+ SITerminateSessionRequest,
61
+ SITerminateSessionResponse,
62
+ SIUIElement,
63
+ SISessionStatus,
64
+ } from '@adcp/sdk';
65
+
66
+ const UPSTREAM_URL = process.env['UPSTREAM_URL'] ?? 'http://127.0.0.1:4504';
67
+ const UPSTREAM_API_KEY = process.env['UPSTREAM_API_KEY'] ?? 'mock_si_brand_key_do_not_use_in_prod';
68
+ const PORT = Number(process.env['PORT'] ?? 3004);
69
+ const ADCP_AUTH_TOKEN = process.env['ADCP_AUTH_TOKEN'] ?? 'sk_harness_do_not_use_in_prod';
70
+ // Default brand used when a tool call lacks `account` resolution context.
71
+ // SI tool requests don't carry `account` on the wire (the schema omits
72
+ // it — session continuity flows through `session_id` instead), so this
73
+ // default is what `accounts.resolve(undefined)` falls back to.
74
+ //
75
+ // Defaults to `brand_nova_motors` because that's the canonical compliance
76
+ // fixture — the `si_baseline` storyboard at
77
+ // `compliance/cache/latest/protocols/sponsored-intelligence/index.yaml`
78
+ // requests `novamotors_conversational_v1`, which lives under that brand.
79
+ //
80
+ // SWAP: production agents are typically deployed per-brand (one agent per
81
+ // tenant), so a hardcoded default is fine. Multi-brand deployments derive
82
+ // from `ctx.authInfo` per-API-key binding instead.
83
+ const DEFAULT_LISTING_BRAND = process.env['DEFAULT_LISTING_BRAND'] ?? 'brand_nova_motors';
84
+
85
+ // ---------------------------------------------------------------------------
86
+ // Upstream client — SWAP for production.
87
+ // ---------------------------------------------------------------------------
88
+
89
+ interface UpstreamProduct {
90
+ sku: string;
91
+ name: string;
92
+ display_price: string;
93
+ list_price?: string;
94
+ thumbnail_url: string;
95
+ pdp_url: string;
96
+ inventory_status: string;
97
+ }
98
+
99
+ interface UpstreamOffering {
100
+ offering_id: string;
101
+ brand_id: string;
102
+ name: string;
103
+ summary: string;
104
+ tagline?: string;
105
+ hero_image_url: string;
106
+ landing_page_url: string;
107
+ price_hint: string;
108
+ expires_at: string;
109
+ available: boolean;
110
+ products: UpstreamProduct[];
111
+ total_matching: number;
112
+ offering_query_id?: string;
113
+ offering_query_expires_at?: string;
114
+ offering_query_ttl_seconds?: number;
115
+ }
116
+
117
+ /** Upstream component vocabulary — `kind` field discriminates. AdCP uses
118
+ * `type` (rename) on `SIUIElement`. */
119
+ interface UpstreamComponent {
120
+ kind: string;
121
+ [k: string]: unknown;
122
+ }
123
+
124
+ interface UpstreamTurn {
125
+ turn_id: string;
126
+ conversation_id: string;
127
+ user_message: string | null;
128
+ assistant_message: string;
129
+ components: UpstreamComponent[];
130
+ close_recommended: { type: 'txn_ready' | 'done'; payload?: Record<string, unknown> } | null;
131
+ created_at: string;
132
+ conversation_status?: 'active' | 'closed';
133
+ session_ttl_seconds?: number;
134
+ }
135
+
136
+ interface UpstreamConversation {
137
+ conversation_id: string;
138
+ brand_id: string;
139
+ status: 'active' | 'closed';
140
+ offering_id: string | null;
141
+ offering_query_id: string | null;
142
+ shown_product_skus: string[];
143
+ intent: string;
144
+ turns: UpstreamTurn[];
145
+ close: {
146
+ reason: 'txn_ready' | 'done' | 'user_left' | 'idle_timeout' | 'host_closed';
147
+ closed_at: string;
148
+ transaction_handoff: {
149
+ checkout_url?: string;
150
+ checkout_token?: string;
151
+ expires_at?: string;
152
+ payload?: Record<string, unknown>;
153
+ } | null;
154
+ } | null;
155
+ session_ttl_seconds: number;
156
+ created_at: string;
157
+ updated_at: string;
158
+ }
159
+
160
+ const http = createUpstreamHttpClient({
161
+ baseUrl: UPSTREAM_URL,
162
+ auth: { kind: 'static_bearer', token: UPSTREAM_API_KEY },
163
+ });
164
+
165
+ const upstream = {
166
+ // SWAP: AdCP-side brand identifier → upstream brand_id. Real platforms
167
+ // typically expose this through a directory service or per-API-key
168
+ // tenant binding; the mock has a public discovery endpoint.
169
+ async lookupBrand(brandIdentifier: string): Promise<string | null> {
170
+ const { body } = await http.get<{ brand_id?: string }>('/_lookup/brand', { adcp_brand: brandIdentifier });
171
+ return body?.brand_id ?? null;
172
+ },
173
+
174
+ // SWAP: GET offering details. `include_products=true` causes the upstream
175
+ // to mint an offering_query_id; pass that to startConversation so the
176
+ // brand can resolve "the second one" against the products actually shown.
177
+ async getOffering(
178
+ brandId: string,
179
+ offeringId: string,
180
+ opts: { includeProducts?: boolean; productLimit?: number } = {}
181
+ ): Promise<UpstreamOffering | null> {
182
+ const params: Record<string, string> = {};
183
+ if (opts.includeProducts) params['include_products'] = 'true';
184
+ if (opts.productLimit !== undefined) params['product_limit'] = String(opts.productLimit);
185
+ const { body } = await http.get<UpstreamOffering>(
186
+ `/v1/brands/${encodeURIComponent(brandId)}/offerings/${encodeURIComponent(offeringId)}`,
187
+ params
188
+ );
189
+ return body;
190
+ },
191
+
192
+ // SWAP: start a conversation. `client_request_id` carries the AdCP
193
+ // idempotency_key — replay protection lives in the upstream.
194
+ async startConversation(
195
+ brandId: string,
196
+ body: {
197
+ intent: string;
198
+ offering_id?: string;
199
+ offering_query_id?: string;
200
+ identity?: unknown;
201
+ client_request_id?: string;
202
+ }
203
+ ): Promise<UpstreamConversation> {
204
+ const r = await http.post<UpstreamConversation>(`/v1/brands/${encodeURIComponent(brandId)}/conversations`, body);
205
+ if (r.body === null) {
206
+ throw new AdcpError('INVALID_REQUEST', { message: 'conversation creation rejected by upstream' });
207
+ }
208
+ return r.body;
209
+ },
210
+
211
+ // SWAP: send a turn. Mismatched body on reused client_request_id → 409.
212
+ async sendTurn(
213
+ brandId: string,
214
+ conversationId: string,
215
+ body: { message?: string; action_response?: unknown; client_request_id?: string }
216
+ ): Promise<UpstreamTurn> {
217
+ const r = await http.post<UpstreamTurn>(
218
+ `/v1/brands/${encodeURIComponent(brandId)}/conversations/${encodeURIComponent(conversationId)}/turns`,
219
+ body
220
+ );
221
+ if (r.body === null) {
222
+ throw new AdcpError('INVALID_REQUEST', { message: 'turn rejected by upstream' });
223
+ }
224
+ return r.body;
225
+ },
226
+
227
+ // SWAP: close a conversation. Naturally idempotent on conversation_id
228
+ // (mirrors AdCP's omission of `idempotency_key` on terminate).
229
+ async closeConversation(
230
+ brandId: string,
231
+ conversationId: string,
232
+ body: { reason: 'txn_ready' | 'done' | 'user_left' | 'idle_timeout' | 'host_closed'; summary?: string }
233
+ ): Promise<UpstreamConversation> {
234
+ const r = await http.post<UpstreamConversation>(
235
+ `/v1/brands/${encodeURIComponent(brandId)}/conversations/${encodeURIComponent(conversationId)}/close`,
236
+ body
237
+ );
238
+ if (r.body === null) {
239
+ throw new AdcpError('INVALID_REQUEST', { message: 'close rejected by upstream' });
240
+ }
241
+ return r.body;
242
+ },
243
+ };
244
+
245
+ // ---------------------------------------------------------------------------
246
+ // Translation tables — upstream ↔ AdCP renames are deliberate per the SI mock
247
+ // design. Keeping them as small named functions makes the seams explicit.
248
+ // ---------------------------------------------------------------------------
249
+
250
+ /** AdCP `SITerminateSessionRequest.reason` → upstream close reason. The SI
251
+ * mock rejects AdCP values directly (loud rename gap by design). */
252
+ function adcpReasonToUpstream(
253
+ reason: SITerminateSessionRequest['reason']
254
+ ): 'txn_ready' | 'done' | 'user_left' | 'idle_timeout' | 'host_closed' {
255
+ switch (reason) {
256
+ case 'handoff_transaction':
257
+ return 'txn_ready';
258
+ case 'handoff_complete':
259
+ return 'done';
260
+ case 'user_exit':
261
+ return 'user_left';
262
+ case 'session_timeout':
263
+ return 'idle_timeout';
264
+ case 'host_terminated':
265
+ return 'host_closed';
266
+ }
267
+ }
268
+
269
+ /** Project an upstream component (`{ kind, ... }`) onto an AdCP `SIUIElement`
270
+ * (`{ type, data }`). Each type has its own per-data shape required by
271
+ * the spec — `product_card` needs `title` + `price`, `action_button`
272
+ * needs `label` + `action`, etc. We project per-type rather than a flat
273
+ * spread so wire-validation passes. */
274
+ function projectComponent(c: UpstreamComponent): SIUIElement {
275
+ switch (c.kind) {
276
+ case 'product_card': {
277
+ // Upstream → AdCP renames inside data: name → title, display_price →
278
+ // price, list_price → subtitle (or badge if you prefer), thumbnail_url →
279
+ // image_url. AdCP requires title + price.
280
+ const data: Record<string, unknown> = {
281
+ title: typeof c['name'] === 'string' ? c['name'] : '(unnamed product)',
282
+ price: typeof c['display_price'] === 'string' ? c['display_price'] : '',
283
+ };
284
+ if (typeof c['thumbnail_url'] === 'string') data['image_url'] = c['thumbnail_url'];
285
+ if (typeof c['list_price'] === 'string') data['subtitle'] = c['list_price'];
286
+ if (typeof c['inventory_status'] === 'string') data['badge'] = c['inventory_status'];
287
+ return { type: 'product_card', data };
288
+ }
289
+ case 'action_button': {
290
+ const data: Record<string, unknown> = {
291
+ label: typeof c['label'] === 'string' ? c['label'] : 'OK',
292
+ action: typeof c['action'] === 'string' ? c['action'] : 'noop',
293
+ };
294
+ if (c['payload'] !== undefined) data['payload'] = c['payload'];
295
+ return { type: 'action_button', data };
296
+ }
297
+ case 'text':
298
+ case 'link':
299
+ case 'image':
300
+ case 'carousel':
301
+ case 'app_handoff':
302
+ case 'integration_actions': {
303
+ // Pass-through: the upstream produces the spec-correct data shape
304
+ // for these kinds, or the data shape is permissive enough that
305
+ // additional properties don't fail wire validation.
306
+ const { kind: _k, ...data } = c;
307
+ void _k;
308
+ return { type: c.kind, data };
309
+ }
310
+ default: {
311
+ // Unknown upstream kind → safe fallback to `text` so wire validation
312
+ // doesn't reject a legitimate response. Production adapters should
313
+ // log + map every upstream-specific kind explicitly.
314
+ return { type: 'text', data: { text: `[unsupported upstream kind: ${c.kind}]` } };
315
+ }
316
+ }
317
+ }
318
+
319
+ /** Project an upstream `close_recommended` hint onto AdCP
320
+ * `session_status: 'pending_handoff'` + `handoff: { type, ... }` on a
321
+ * `si_send_message` response. The brand emits the hint mid-conversation;
322
+ * this adapter chooses the eager projection (surface as pending_handoff
323
+ * immediately) over lazy (wait for terminate). Either is spec-valid. */
324
+ function projectCloseHint(hint: NonNullable<UpstreamTurn['close_recommended']>): {
325
+ status: SISessionStatus;
326
+ handoff: NonNullable<SISendMessageResponse['handoff']>;
327
+ } {
328
+ if (hint.type === 'txn_ready') {
329
+ const product = (hint.payload?.['product'] as Record<string, unknown> | undefined) ?? {};
330
+ return {
331
+ status: 'pending_handoff',
332
+ handoff: {
333
+ type: 'transaction',
334
+ intent: {
335
+ action: 'purchase',
336
+ product,
337
+ ...(typeof product['display_price'] === 'string'
338
+ ? { price: { amount: parsePriceAmount(product['display_price']), currency: 'USD' } }
339
+ : {}),
340
+ },
341
+ },
342
+ };
343
+ }
344
+ return { status: 'pending_handoff', handoff: { type: 'complete' } };
345
+ }
346
+
347
+ function parsePriceAmount(displayPrice: string): number {
348
+ // Upstream display_price is "$129" / "$89.99" — strip non-numeric and parse.
349
+ const numeric = displayPrice.replace(/[^0-9.]/g, '');
350
+ const value = Number(numeric);
351
+ return Number.isFinite(value) ? value : 0;
352
+ }
353
+
354
+ // ---------------------------------------------------------------------------
355
+ // AdCP-side adapter — typed against SponsoredIntelligencePlatform.
356
+ // ---------------------------------------------------------------------------
357
+
358
+ interface SiBrandMeta {
359
+ /** Resolved upstream brand_id, cached on the Account by accounts.resolve. */
360
+ brand_id: string;
361
+ /** AdCP-side brand identifier — preserved for logging / debugging. */
362
+ brand_identifier: string;
363
+ [key: string]: unknown;
364
+ }
365
+
366
+ // SI isn't yet a specialism (adcp#3961). The platform field's presence
367
+ // is the declaration; framework auto-derives 'sponsored_intelligence'
368
+ // into supported_protocols from the four SI tools getting registered.
369
+ // Build with `definePlatform` so the empty-`specialisms[]` flows through
370
+ // `RequiredPlatformsFor`'s `[S] extends [never]` short-circuit cleanly.
371
+
372
+ const accounts: AccountStore<SiBrandMeta> = {
373
+ resolve: async ref => {
374
+ if (!ref) {
375
+ // No-account tools (the SI surface tools all carry account context
376
+ // via session_id correlation, but `resolve(undefined)` may still
377
+ // fire on capability discovery). Default-listing-brand fallback so
378
+ // ctx.account is non-null at runtime.
379
+ return {
380
+ id: DEFAULT_LISTING_BRAND,
381
+ name: DEFAULT_LISTING_BRAND,
382
+ status: 'active',
383
+ ctx_metadata: { brand_id: DEFAULT_LISTING_BRAND, brand_identifier: '' },
384
+ };
385
+ }
386
+ if ('account_id' in ref) {
387
+ // SWAP: production lookup keyed by your seller-assigned account_id.
388
+ return null;
389
+ }
390
+ const brandIdentifier = ref.brand.domain;
391
+ const brandId = await upstream.lookupBrand(brandIdentifier);
392
+ if (!brandId) return null;
393
+ return {
394
+ id: brandId,
395
+ name: brandIdentifier,
396
+ status: 'active',
397
+ ctx_metadata: { brand_id: brandId, brand_identifier: brandIdentifier },
398
+ };
399
+ },
400
+ };
401
+
402
+ const sponsoredIntelligence = defineSponsoredIntelligencePlatform<SiBrandMeta>({
403
+ getOffering: async (req: SIGetOfferingRequest, ctx): Promise<SIGetOfferingResponse> => {
404
+ const brandId = ctx.account?.ctx_metadata.brand_id ?? DEFAULT_LISTING_BRAND;
405
+ const offering = await upstream.getOffering(brandId, req.offering_id, {
406
+ includeProducts: req.include_products === true,
407
+ ...(req.product_limit !== undefined ? { productLimit: req.product_limit } : {}),
408
+ });
409
+ if (!offering) {
410
+ throw new AdcpError('NOT_FOUND', {
411
+ message: `Offering ${req.offering_id} not found in brand ${brandId}.`,
412
+ field: 'offering_id',
413
+ });
414
+ }
415
+ // Project upstream → AdCP. The rename pattern: hero_image_url → image_url,
416
+ // landing_page_url → landing_url, sku → product_id, thumbnail_url →
417
+ // image_url, pdp_url → url, inventory_status → availability_summary,
418
+ // offering_query_id → offering_token.
419
+ const matching = req.include_products
420
+ ? offering.products.map(p => ({
421
+ product_id: p.sku,
422
+ name: p.name,
423
+ price: p.display_price,
424
+ ...(p.list_price ? { original_price: p.list_price } : {}),
425
+ image_url: p.thumbnail_url,
426
+ availability_summary: p.inventory_status,
427
+ url: p.pdp_url,
428
+ }))
429
+ : undefined;
430
+ const response: SIGetOfferingResponse = {
431
+ available: offering.available,
432
+ ...(offering.offering_query_id !== undefined ? { offering_token: offering.offering_query_id } : {}),
433
+ ...(offering.offering_query_ttl_seconds !== undefined
434
+ ? { ttl_seconds: offering.offering_query_ttl_seconds }
435
+ : {}),
436
+ checked_at: new Date().toISOString(),
437
+ offering: {
438
+ offering_id: offering.offering_id,
439
+ title: offering.name,
440
+ summary: offering.summary,
441
+ ...(offering.tagline !== undefined ? { tagline: offering.tagline } : {}),
442
+ expires_at: offering.expires_at,
443
+ price_hint: offering.price_hint,
444
+ image_url: offering.hero_image_url,
445
+ landing_url: offering.landing_page_url,
446
+ },
447
+ ...(matching ? { matching_products: matching } : {}),
448
+ total_matching: offering.total_matching,
449
+ };
450
+ // Top-level `offering_id` mirror. The canonical AdCP wire location is
451
+ // `offering.offering_id` (above), but the `si_baseline` compliance
452
+ // storyboard captures with `path: 'offering_id'` (top-level). The
453
+ // schema allows `additionalProperties: true` at the response root so
454
+ // the mirror is permitted at the wire layer; the generated TS type
455
+ // doesn't model extra properties, so widen via cast. Drop once the
456
+ // storyboard path is corrected to `offering.offering_id` upstream.
457
+ return Object.assign({}, response, { offering_id: offering.offering_id }) as SIGetOfferingResponse;
458
+ },
459
+
460
+ initiateSession: async (req: SIInitiateSessionRequest, ctx): Promise<SIInitiateSessionResponse> => {
461
+ const brandId = ctx.account?.ctx_metadata.brand_id ?? DEFAULT_LISTING_BRAND;
462
+ const conversation = await upstream.startConversation(brandId, {
463
+ intent: req.intent,
464
+ ...(req.offering_id !== undefined ? { offering_id: req.offering_id } : {}),
465
+ ...(req.offering_token !== undefined ? { offering_query_id: req.offering_token } : {}),
466
+ ...(req.identity !== undefined ? { identity: req.identity } : {}),
467
+ client_request_id: req.idempotency_key,
468
+ });
469
+ const initial = conversation.turns[0];
470
+ return {
471
+ // conversation_id → session_id (rename only — the brand-side and
472
+ // AdCP-side identifiers are the same opaque token).
473
+ session_id: conversation.conversation_id,
474
+ ...(initial
475
+ ? {
476
+ response: {
477
+ message: initial.assistant_message,
478
+ ui_elements: initial.components.map(projectComponent),
479
+ },
480
+ }
481
+ : {}),
482
+ session_status: conversation.status === 'active' ? 'active' : 'terminated',
483
+ session_ttl_seconds: conversation.session_ttl_seconds,
484
+ };
485
+ },
486
+
487
+ sendMessage: async (req: SISendMessageRequest, ctx): Promise<SISendMessageResponse> => {
488
+ const brandId = ctx.account?.ctx_metadata.brand_id ?? DEFAULT_LISTING_BRAND;
489
+ // `req.session` is auto-hydrated by the framework when a prior
490
+ // initiateSession landed via this same SDK instance — useful for
491
+ // recalling original intent / offering scope without a separate
492
+ // store call. Production brand engines own full transcripts in
493
+ // their own backend; the upstream call below replays through the
494
+ // brand's session-keyed API which is the source of truth for
495
+ // transcript state.
496
+ const turn = await upstream.sendTurn(brandId, req.session_id, {
497
+ ...(typeof req.message === 'string' ? { message: req.message } : {}),
498
+ ...(req.action_response !== undefined ? { action_response: req.action_response } : {}),
499
+ client_request_id: req.idempotency_key,
500
+ });
501
+ // Eager close-hint projection: surface `pending_handoff` mid-conversation
502
+ // when the brand signals txn_ready / done. The host then calls
503
+ // `si_terminate_session` to formally close.
504
+ const closeProjection = turn.close_recommended ? projectCloseHint(turn.close_recommended) : null;
505
+ return {
506
+ session_id: turn.conversation_id,
507
+ response: {
508
+ message: turn.assistant_message,
509
+ ui_elements: turn.components.map(projectComponent),
510
+ },
511
+ session_status: closeProjection?.status ?? (turn.conversation_status === 'closed' ? 'terminated' : 'active'),
512
+ ...(closeProjection ? { handoff: closeProjection.handoff } : {}),
513
+ };
514
+ },
515
+
516
+ terminateSession: async (req: SITerminateSessionRequest, ctx): Promise<SITerminateSessionResponse> => {
517
+ const brandId = ctx.account?.ctx_metadata.brand_id ?? DEFAULT_LISTING_BRAND;
518
+ const conversation = await upstream.closeConversation(brandId, req.session_id, {
519
+ reason: adcpReasonToUpstream(req.reason),
520
+ ...(req.termination_context?.summary ? { summary: req.termination_context.summary } : {}),
521
+ });
522
+ const handoff = conversation.close?.transaction_handoff ?? null;
523
+ return {
524
+ session_id: conversation.conversation_id,
525
+ terminated: conversation.status === 'closed',
526
+ session_status: 'terminated',
527
+ ...(handoff
528
+ ? {
529
+ acp_handoff: {
530
+ ...(handoff.checkout_url ? { checkout_url: handoff.checkout_url } : {}),
531
+ ...(handoff.checkout_token ? { checkout_token: handoff.checkout_token } : {}),
532
+ ...(handoff.expires_at ? { expires_at: handoff.expires_at } : {}),
533
+ ...(handoff.payload ? { payload: handoff.payload } : {}),
534
+ },
535
+ }
536
+ : {}),
537
+ };
538
+ },
539
+ });
540
+
541
+ // ---------------------------------------------------------------------------
542
+ // Boot
543
+ // ---------------------------------------------------------------------------
544
+
545
+ const platform = definePlatform<Record<string, never>, SiBrandMeta>({
546
+ capabilities: { specialisms: [] as const, config: {} },
547
+ accounts,
548
+ sponsoredIntelligence,
549
+ });
550
+ const idempotencyStore = createIdempotencyStore({ backend: memoryBackend(), ttlSeconds: 86_400 });
551
+
552
+ serve(
553
+ ({ taskStore }) =>
554
+ createAdcpServerFromPlatform(platform, {
555
+ name: 'hello-si-adapter-brand',
556
+ version: '1.0.0',
557
+ taskStore,
558
+ idempotency: idempotencyStore,
559
+ resolveSessionKey: ctx => {
560
+ const acct = ctx.account as Account<SiBrandMeta> | undefined;
561
+ return acct?.id ?? 'anonymous';
562
+ },
563
+ }),
564
+ {
565
+ port: PORT,
566
+ authenticate: verifyApiKey({
567
+ keys: { [ADCP_AUTH_TOKEN]: { principal: 'compliance-runner' } },
568
+ }),
569
+ }
570
+ );
571
+
572
+ console.log(`sponsored-intelligence adapter on http://127.0.0.1:${PORT}/mcp · upstream: ${UPSTREAM_URL}`);
@@ -28,7 +28,6 @@ import {
28
28
  AdcpError,
29
29
  BuyerAgentRegistry,
30
30
  defineSignalsPlatform,
31
- registerTestController,
32
31
  type DecisioningPlatform,
33
32
  type SignalsPlatform,
34
33
  type AccountStore,
@@ -320,6 +319,13 @@ class SignalMarketplaceAdapter implements DecisioningPlatform<Record<string, nev
320
319
  capabilities = {
321
320
  specialisms: ['signal-marketplace'] as const,
322
321
  config: {},
322
+ // Declare `compliance_testing` so the framework projects the
323
+ // `comply_test_controller` capability + scenarios on
324
+ // `get_adcp_capabilities`. The `complyTest:` opts block on
325
+ // `createAdcpServerFromPlatform` (below) wires the adapters; the
326
+ // framework derives the `scenarios` list from which adapters are
327
+ // present.
328
+ compliance_testing: {},
323
329
  };
324
330
 
325
331
  /**
@@ -483,8 +489,8 @@ const platform = new SignalMarketplaceAdapter();
483
489
  const idempotencyStore = createIdempotencyStore({ backend: memoryBackend(), ttlSeconds: 86_400 });
484
490
 
485
491
  serve(
486
- ({ taskStore }) => {
487
- const adcpServer = createAdcpServerFromPlatform(platform, {
492
+ ({ taskStore }) =>
493
+ createAdcpServerFromPlatform(platform, {
488
494
  name: 'hello-signals-adapter-marketplace',
489
495
  version: '1.0.0',
490
496
  taskStore,
@@ -494,33 +500,32 @@ serve(
494
500
  const acct = ctx.account as Account<OperatorMeta> | undefined;
495
501
  return acct?.id ?? 'anonymous';
496
502
  },
497
- });
498
-
499
- // Register `comply_test_controller` with the recorder-backed
500
- // `query_upstream_traffic` scenario. The runner queries this after
501
- // each step that declares a `check: upstream_traffic` validation;
502
- // adopters who don't advertise the scenario grade `not_applicable`.
503
- //
504
- // Sandbox-only production builds 404 the controller entirely
505
- // (gate via the `if (process.env.ADCP_SANDBOX === '1')` pattern from
506
- // the SKILL). For this example adapter we always register since the
507
- // example is itself a fixture for the matrix harness.
508
- registerTestController(adcpServer, {
509
- // Adapter resolves principal from auth context. The same string
510
- // MUST be returned by both record-time (runWithPrincipal) and
511
- // query-time — mismatch returns zero per cross-tenant isolation.
512
- queryUpstreamTraffic: async params => {
513
- const result = recorder.query({
514
- principal: RECORDER_PRINCIPAL,
515
- ...(params.since_timestamp !== undefined && { sinceTimestamp: params.since_timestamp }),
516
- ...(params.endpoint_pattern !== undefined && { endpointPattern: params.endpoint_pattern }),
517
- ...(params.limit !== undefined && { limit: params.limit }),
518
- });
519
- return toQueryUpstreamTrafficResponse(result);
503
+ // ─── TEST-ONLY: comply_test_controller wiring ──────────────────────
504
+ // DELETE THIS BLOCK BEFORE DEPLOYING. The conformance runner queries
505
+ // `query_upstream_traffic` after each step that declares a
506
+ // `check: upstream_traffic` validation; adopters who don't
507
+ // advertise the scenario grade `not_applicable`.
508
+ //
509
+ // No `sandboxGate` — the framework gate inside
510
+ // `createAdcpServerFromPlatform` resolves the calling principal
511
+ // through `accounts.resolve` and admits only when the resolved
512
+ // account's `mode` is `'sandbox'` or `'mock'` (per `Account.mode`,
513
+ // AdCP 6.7+). See `docs/proposals/lifecycle-state-and-sandbox-authority.md`.
514
+ complyTest: {
515
+ // Adapter resolves principal from auth context. The same string
516
+ // MUST be returned by both record-time (runWithPrincipal) and
517
+ // query-time — mismatch returns zero per cross-tenant isolation.
518
+ queryUpstreamTraffic: async params => {
519
+ const result = recorder.query({
520
+ principal: RECORDER_PRINCIPAL,
521
+ ...(params.since_timestamp !== undefined && { sinceTimestamp: params.since_timestamp }),
522
+ ...(params.endpoint_pattern !== undefined && { endpointPattern: params.endpoint_pattern }),
523
+ ...(params.limit !== undefined && { limit: params.limit }),
524
+ });
525
+ return toQueryUpstreamTrafficResponse(result);
526
+ },
520
527
  },
521
- });
522
- return adcpServer;
523
- },
528
+ }),
524
529
  {
525
530
  port: PORT,
526
531
  authenticate: verifyApiKey({