@adcp/sdk 13.0.0-rc.6 → 13.0.0-rc.8
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.
- package/ADCP_VERSION +1 -1
- package/bin/adcp.js +29 -0
- package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/index.yaml +1 -0
- package/compliance/cache/{3.1.8.previous/protocols → 3.1.11/domains}/media-buy/scenarios/creative_fate_after_cancellation.yaml +46 -24
- package/compliance/cache/3.1.11/domains/media-buy/scenarios/dependency_impairment_audience.yaml +317 -0
- package/compliance/cache/{3.1.8 → 3.1.11}/index.json +3 -3
- package/compliance/cache/{3.1.8.previous/domains → 3.1.11/protocols}/media-buy/index.yaml +1 -0
- package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/creative_fate_after_cancellation.yaml +46 -24
- package/compliance/cache/3.1.11/protocols/media-buy/scenarios/dependency_impairment_audience.yaml +317 -0
- package/compliance/cache/{3.1.8.previous → 3.1.11}/universal/runner-output-contract.yaml +1 -1
- package/compliance/cache/{3.1.8 → 3.1.11}/universal/storyboard-schema.yaml +19 -6
- package/compliance/cache/{3.1.8/protocols → 3.1.11.previous/domains}/media-buy/index.yaml +1 -0
- package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/creative_fate_after_cancellation.yaml +46 -24
- package/compliance/cache/3.1.11.previous/domains/media-buy/scenarios/dependency_impairment_audience.yaml +317 -0
- package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/index.json +3 -3
- package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/index.yaml +1 -0
- package/compliance/cache/{3.1.8/domains → 3.1.11.previous/protocols}/media-buy/scenarios/creative_fate_after_cancellation.yaml +46 -24
- package/compliance/cache/3.1.11.previous/protocols/media-buy/scenarios/dependency_impairment_audience.yaml +317 -0
- package/compliance/cache/{3.1.8 → 3.1.11.previous}/universal/runner-output-contract.yaml +1 -1
- package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/storyboard-schema.yaml +19 -6
- package/dist/lib/adapters/legacy/v2-5/sync_creatives.d.mts +4 -3
- package/dist/lib/adapters/legacy/v2-5/sync_creatives.d.ts +4 -3
- package/dist/lib/adapters/legacy/v2-5/sync_creatives.d.ts.map +1 -1
- package/dist/lib/adapters/legacy/v2-5/sync_creatives.js.map +1 -1
- package/dist/lib/adapters/legacy/v2-5/sync_creatives.mjs.map +1 -1
- package/dist/lib/auth/oauth/ClientCredentialsFlow.d.mts +2 -0
- package/dist/lib/auth/oauth/ClientCredentialsFlow.d.ts +2 -0
- package/dist/lib/auth/oauth/ClientCredentialsFlow.d.ts.map +1 -1
- package/dist/lib/auth/oauth/ClientCredentialsFlow.js +69 -24
- package/dist/lib/auth/oauth/ClientCredentialsFlow.js.map +1 -1
- package/dist/lib/auth/oauth/ClientCredentialsFlow.mjs +69 -24
- package/dist/lib/auth/oauth/ClientCredentialsFlow.mjs.map +1 -1
- package/dist/lib/auth/oauth/MCPOAuthProvider.d.mts +2 -0
- package/dist/lib/auth/oauth/MCPOAuthProvider.d.ts +2 -0
- package/dist/lib/auth/oauth/MCPOAuthProvider.d.ts.map +1 -1
- package/dist/lib/auth/oauth/MCPOAuthProvider.js +8 -7
- package/dist/lib/auth/oauth/MCPOAuthProvider.js.map +1 -1
- package/dist/lib/auth/oauth/MCPOAuthProvider.mjs +8 -7
- package/dist/lib/auth/oauth/MCPOAuthProvider.mjs.map +1 -1
- package/dist/lib/auth/oauth/authorization-required.d.mts +3 -0
- package/dist/lib/auth/oauth/authorization-required.d.ts +3 -0
- package/dist/lib/auth/oauth/authorization-required.d.ts.map +1 -1
- package/dist/lib/auth/oauth/authorization-required.js +37 -7
- package/dist/lib/auth/oauth/authorization-required.js.map +1 -1
- package/dist/lib/auth/oauth/authorization-required.mjs +37 -7
- package/dist/lib/auth/oauth/authorization-required.mjs.map +1 -1
- package/dist/lib/auth/oauth/discovery.d.mts +2 -0
- package/dist/lib/auth/oauth/discovery.d.ts +2 -0
- package/dist/lib/auth/oauth/discovery.d.ts.map +1 -1
- package/dist/lib/auth/oauth/discovery.js +7 -5
- package/dist/lib/auth/oauth/discovery.js.map +1 -1
- package/dist/lib/auth/oauth/discovery.mjs +7 -5
- package/dist/lib/auth/oauth/discovery.mjs.map +1 -1
- package/dist/lib/auth/oauth/file-storage.d.mts +2 -1
- package/dist/lib/auth/oauth/file-storage.d.ts +2 -1
- package/dist/lib/auth/oauth/file-storage.d.ts.map +1 -1
- package/dist/lib/auth/oauth/file-storage.js +5 -1
- package/dist/lib/auth/oauth/file-storage.js.map +1 -1
- package/dist/lib/auth/oauth/file-storage.mjs +5 -1
- package/dist/lib/auth/oauth/file-storage.mjs.map +1 -1
- package/dist/lib/auth/oauth/index.d.mts +5 -1
- package/dist/lib/auth/oauth/index.d.ts +5 -1
- package/dist/lib/auth/oauth/index.d.ts.map +1 -1
- package/dist/lib/auth/oauth/index.js +4 -0
- package/dist/lib/auth/oauth/index.js.map +1 -1
- package/dist/lib/auth/oauth/index.mjs +4 -0
- package/dist/lib/auth/oauth/index.mjs.map +1 -1
- package/dist/lib/auth/oauth/resource-url.d.mts +4 -0
- package/dist/lib/auth/oauth/resource-url.d.ts +5 -0
- package/dist/lib/auth/oauth/resource-url.d.ts.map +1 -0
- package/dist/lib/auth/oauth/resource-url.js +51 -0
- package/dist/lib/auth/oauth/resource-url.js.map +1 -0
- package/dist/lib/auth/oauth/resource-url.mjs +27 -0
- package/dist/lib/auth/oauth/resource-url.mjs.map +1 -0
- package/dist/lib/auth/oauth/types.d.mts +7 -0
- package/dist/lib/auth/oauth/types.d.ts +7 -0
- package/dist/lib/auth/oauth/types.d.ts.map +1 -1
- package/dist/lib/auth/oauth/types.js.map +1 -1
- package/dist/lib/auth/oauth/types.mjs.map +1 -1
- package/dist/lib/auth/oauth/web-flow.d.mts +30 -5
- package/dist/lib/auth/oauth/web-flow.d.ts +30 -5
- package/dist/lib/auth/oauth/web-flow.d.ts.map +1 -1
- package/dist/lib/auth/oauth/web-flow.js +52 -8
- package/dist/lib/auth/oauth/web-flow.js.map +1 -1
- package/dist/lib/auth/oauth/web-flow.mjs +51 -8
- package/dist/lib/auth/oauth/web-flow.mjs.map +1 -1
- package/dist/lib/core/AgentClient.d.mts +2 -2
- package/dist/lib/core/AgentClient.d.ts +2 -2
- package/dist/lib/core/AgentClient.d.ts.map +1 -1
- package/dist/lib/core/AgentClient.js.map +1 -1
- package/dist/lib/core/AgentClient.mjs.map +1 -1
- package/dist/lib/core/ConversationTypes.d.mts +6 -2
- package/dist/lib/core/ConversationTypes.d.ts +6 -2
- package/dist/lib/core/ConversationTypes.d.ts.map +1 -1
- package/dist/lib/core/ConversationTypes.js.map +1 -1
- package/dist/lib/core/GovernanceMiddleware.d.mts +3 -3
- package/dist/lib/core/GovernanceMiddleware.d.ts +3 -3
- package/dist/lib/core/GovernanceMiddleware.d.ts.map +1 -1
- package/dist/lib/core/GovernanceMiddleware.js +8 -4
- package/dist/lib/core/GovernanceMiddleware.js.map +1 -1
- package/dist/lib/core/GovernanceMiddleware.mjs +8 -4
- package/dist/lib/core/GovernanceMiddleware.mjs.map +1 -1
- package/dist/lib/core/SingleAgentClient.d.mts +12 -1
- package/dist/lib/core/SingleAgentClient.d.ts +12 -1
- package/dist/lib/core/SingleAgentClient.d.ts.map +1 -1
- package/dist/lib/core/SingleAgentClient.js +89 -12
- package/dist/lib/core/SingleAgentClient.js.map +1 -1
- package/dist/lib/core/SingleAgentClient.mjs +89 -12
- package/dist/lib/core/SingleAgentClient.mjs.map +1 -1
- package/dist/lib/core/TaskExecutor.d.mts +2 -4
- package/dist/lib/core/TaskExecutor.d.ts +2 -4
- package/dist/lib/core/TaskExecutor.d.ts.map +1 -1
- package/dist/lib/core/TaskExecutor.js +90 -14
- package/dist/lib/core/TaskExecutor.js.map +1 -1
- package/dist/lib/core/TaskExecutor.mjs +95 -14
- package/dist/lib/core/TaskExecutor.mjs.map +1 -1
- package/dist/lib/core/task-deadline.d.mts +20 -0
- package/dist/lib/core/task-deadline.d.ts +21 -0
- package/dist/lib/core/task-deadline.d.ts.map +1 -0
- package/dist/lib/core/task-deadline.js +74 -0
- package/dist/lib/core/task-deadline.js.map +1 -0
- package/dist/lib/core/task-deadline.mjs +47 -0
- package/dist/lib/core/task-deadline.mjs.map +1 -0
- package/dist/lib/errors/index.d.mts +11 -0
- package/dist/lib/errors/index.d.ts +11 -0
- package/dist/lib/errors/index.d.ts.map +1 -1
- package/dist/lib/errors/index.js +6 -0
- package/dist/lib/errors/index.js.map +1 -1
- package/dist/lib/errors/index.mjs +6 -0
- package/dist/lib/errors/index.mjs.map +1 -1
- package/dist/lib/net/ssrf-fetch.d.ts.map +1 -1
- package/dist/lib/net/ssrf-fetch.js +11 -0
- package/dist/lib/net/ssrf-fetch.js.map +1 -1
- package/dist/lib/net/ssrf-fetch.mjs +11 -0
- package/dist/lib/net/ssrf-fetch.mjs.map +1 -1
- package/dist/lib/protocols/abort.d.mts +3 -1
- package/dist/lib/protocols/abort.d.ts +3 -1
- package/dist/lib/protocols/abort.d.ts.map +1 -1
- package/dist/lib/protocols/abort.js +19 -17
- package/dist/lib/protocols/abort.js.map +1 -1
- package/dist/lib/protocols/abort.mjs +19 -17
- package/dist/lib/protocols/abort.mjs.map +1 -1
- package/dist/lib/protocols/index.d.ts.map +1 -1
- package/dist/lib/protocols/index.js +13 -10
- package/dist/lib/protocols/index.js.map +1 -1
- package/dist/lib/protocols/index.mjs +13 -10
- package/dist/lib/protocols/index.mjs.map +1 -1
- package/dist/lib/protocols/mcp.d.ts.map +1 -1
- package/dist/lib/protocols/mcp.js +8 -7
- package/dist/lib/protocols/mcp.js.map +1 -1
- package/dist/lib/protocols/mcp.mjs +8 -7
- package/dist/lib/protocols/mcp.mjs.map +1 -1
- package/dist/lib/registry/types.generated.d.mts +72 -9
- package/dist/lib/registry/types.generated.d.ts +72 -9
- package/dist/lib/registry/types.generated.d.ts.map +1 -1
- package/dist/lib/registry/types.generated.js.map +1 -1
- package/dist/lib/schemas-data/3.1/a2ui/bound-value.json +1 -1
- package/dist/lib/schemas-data/3.1/a2ui/component.json +1 -1
- package/dist/lib/schemas-data/3.1/a2ui/si-catalog.json +25 -25
- package/dist/lib/schemas-data/3.1/a2ui/surface.json +2 -2
- package/dist/lib/schemas-data/3.1/a2ui/user-action.json +1 -1
- package/dist/lib/schemas-data/3.1/aao/agent-publishers.json +1 -1
- package/dist/lib/schemas-data/3.1/account/get-account-financials-request.json +6 -6
- package/dist/lib/schemas-data/3.1/account/get-account-financials-response.json +12 -12
- package/dist/lib/schemas-data/3.1/account/list-accounts-request.json +6 -6
- package/dist/lib/schemas-data/3.1/account/list-accounts-response.json +8 -8
- package/dist/lib/schemas-data/3.1/account/report-usage-request.json +6 -6
- package/dist/lib/schemas-data/3.1/account/report-usage-response.json +6 -6
- package/dist/lib/schemas-data/3.1/account/sync-accounts-request.json +12 -12
- package/dist/lib/schemas-data/3.1/account/sync-accounts-response.json +16 -16
- package/dist/lib/schemas-data/3.1/account/sync-governance-request.json +6 -6
- package/dist/lib/schemas-data/3.1/account/sync-governance-response.json +10 -10
- package/dist/lib/schemas-data/3.1/adagents.json +29 -29
- package/dist/lib/schemas-data/3.1/brand/acquire-rights-request.json +10 -10
- package/dist/lib/schemas-data/3.1/brand/acquire-rights-response.json +16 -16
- package/dist/lib/schemas-data/3.1/brand/creative-approval-request.json +5 -5
- package/dist/lib/schemas-data/3.1/brand/creative-approval-response.json +12 -12
- package/dist/lib/schemas-data/3.1/brand/get-brand-identity-request.json +4 -4
- package/dist/lib/schemas-data/3.1/brand/get-brand-identity-response.json +10 -10
- package/dist/lib/schemas-data/3.1/brand/get-rights-request.json +8 -8
- package/dist/lib/schemas-data/3.1/brand/get-rights-response.json +11 -11
- package/dist/lib/schemas-data/3.1/brand/revocation-notification.json +4 -4
- package/dist/lib/schemas-data/3.1/brand/rights-pricing-option.json +5 -5
- package/dist/lib/schemas-data/3.1/brand/rights-terms.json +3 -3
- package/dist/lib/schemas-data/3.1/brand/search-brands-request.json +6 -6
- package/dist/lib/schemas-data/3.1/brand/search-brands-response.json +11 -11
- package/dist/lib/schemas-data/3.1/brand/update-rights-request.json +6 -6
- package/dist/lib/schemas-data/3.1/brand/update-rights-response.json +11 -11
- package/dist/lib/schemas-data/3.1/brand/verification-status.json +1 -1
- package/dist/lib/schemas-data/3.1/brand/verify-brand-claim-request.json +2 -2
- package/dist/lib/schemas-data/3.1/brand/verify-brand-claim-response.json +13 -13
- package/dist/lib/schemas-data/3.1/brand/verify-brand-claims-request.json +2 -2
- package/dist/lib/schemas-data/3.1/brand/verify-brand-claims-response.json +13 -13
- package/dist/lib/schemas-data/3.1/brand.json +21 -21
- package/dist/lib/schemas-data/3.1/bundled/content-standards/calibrate-content-request.json +12 -12
- package/dist/lib/schemas-data/3.1/bundled/content-standards/calibrate-content-response.json +12 -12
- package/dist/lib/schemas-data/3.1/bundled/content-standards/create-content-standards-request.json +16 -16
- package/dist/lib/schemas-data/3.1/bundled/content-standards/create-content-standards-response.json +10 -10
- package/dist/lib/schemas-data/3.1/bundled/content-standards/get-content-standards-request.json +5 -5
- package/dist/lib/schemas-data/3.1/bundled/content-standards/get-content-standards-response.json +23 -23
- package/dist/lib/schemas-data/3.1/bundled/content-standards/get-media-buy-artifacts-request.json +16 -16
- package/dist/lib/schemas-data/3.1/bundled/content-standards/get-media-buy-artifacts-response.json +18 -18
- package/dist/lib/schemas-data/3.1/bundled/content-standards/list-content-standards-request.json +7 -7
- package/dist/lib/schemas-data/3.1/bundled/content-standards/list-content-standards-response.json +24 -24
- package/dist/lib/schemas-data/3.1/bundled/content-standards/update-content-standards-request.json +16 -16
- package/dist/lib/schemas-data/3.1/bundled/content-standards/update-content-standards-response.json +10 -10
- package/dist/lib/schemas-data/3.1/bundled/content-standards/validate-content-delivery-request.json +12 -12
- package/dist/lib/schemas-data/3.1/bundled/content-standards/validate-content-delivery-response.json +12 -12
- package/dist/lib/schemas-data/3.1/bundled/core/tasks-get-request.json +16 -16
- package/dist/lib/schemas-data/3.1/bundled/core/tasks-get-response.json +181 -181
- package/dist/lib/schemas-data/3.1/bundled/core/tasks-list-request.json +21 -21
- package/dist/lib/schemas-data/3.1/bundled/core/tasks-list-response.json +11 -11
- package/dist/lib/schemas-data/3.1/bundled/creative/get-creative-delivery-request.json +17 -17
- package/dist/lib/schemas-data/3.1/bundled/creative/get-creative-delivery-response.json +56 -56
- package/dist/lib/schemas-data/3.1/bundled/creative/get-creative-features-request.json +44 -44
- package/dist/lib/schemas-data/3.1/bundled/creative/get-creative-features-response.json +13 -13
- package/dist/lib/schemas-data/3.1/bundled/creative/list-creative-formats-request.json +16 -16
- package/dist/lib/schemas-data/3.1/bundled/creative/list-creative-formats-response.json +48 -48
- package/dist/lib/schemas-data/3.1/bundled/creative/list-creatives-request.json +17 -17
- package/dist/lib/schemas-data/3.1/bundled/creative/list-creatives-response.json +58 -58
- package/dist/lib/schemas-data/3.1/bundled/creative/list-transformers-request.json +18 -18
- package/dist/lib/schemas-data/3.1/bundled/creative/list-transformers-response.json +16 -16
- package/dist/lib/schemas-data/3.1/bundled/creative/preview-creative-request.json +44 -44
- package/dist/lib/schemas-data/3.1/bundled/creative/preview-creative-response.json +50 -50
- package/dist/lib/schemas-data/3.1/bundled/creative/sync-creatives-request.json +46 -46
- package/dist/lib/schemas-data/3.1/bundled/creative/sync-creatives-response.json +27 -27
- package/dist/lib/schemas-data/3.1/bundled/creative/validate-input-request.json +42 -42
- package/dist/lib/schemas-data/3.1/bundled/creative/validate-input-response.json +10 -10
- package/dist/lib/schemas-data/3.1/bundled/media-buy/build-creative-request.json +53 -53
- package/dist/lib/schemas-data/3.1/bundled/media-buy/build-creative-response.json +54 -54
- package/dist/lib/schemas-data/3.1/bundled/media-buy/create-media-buy-request.json +83 -83
- package/dist/lib/schemas-data/3.1/bundled/media-buy/create-media-buy-response.json +77 -77
- package/dist/lib/schemas-data/3.1/bundled/media-buy/get-media-buy-delivery-request.json +25 -25
- package/dist/lib/schemas-data/3.1/bundled/media-buy/get-media-buy-delivery-response.json +40 -40
- package/dist/lib/schemas-data/3.1/bundled/media-buy/get-media-buys-request.json +18 -18
- package/dist/lib/schemas-data/3.1/bundled/media-buy/get-media-buys-response.json +65 -65
- package/dist/lib/schemas-data/3.1/bundled/media-buy/get-products-request.json +49 -49
- package/dist/lib/schemas-data/3.1/bundled/media-buy/get-products-response.json +99 -99
- package/dist/lib/schemas-data/3.1/bundled/media-buy/list-creative-formats-request.json +12 -12
- package/dist/lib/schemas-data/3.1/bundled/media-buy/list-creative-formats-response.json +48 -48
- package/dist/lib/schemas-data/3.1/bundled/media-buy/log-event-request.json +12 -12
- package/dist/lib/schemas-data/3.1/bundled/media-buy/log-event-response.json +10 -10
- package/dist/lib/schemas-data/3.1/bundled/media-buy/package-request.json +79 -79
- package/dist/lib/schemas-data/3.1/bundled/media-buy/provide-performance-feedback-request.json +8 -8
- package/dist/lib/schemas-data/3.1/bundled/media-buy/provide-performance-feedback-response.json +10 -10
- package/dist/lib/schemas-data/3.1/bundled/media-buy/sync-audiences-request.json +18 -18
- package/dist/lib/schemas-data/3.1/bundled/media-buy/sync-audiences-response.json +12 -12
- package/dist/lib/schemas-data/3.1/bundled/media-buy/sync-catalogs-request.json +26 -26
- package/dist/lib/schemas-data/3.1/bundled/media-buy/sync-catalogs-response.json +12 -12
- package/dist/lib/schemas-data/3.1/bundled/media-buy/sync-event-sources-request.json +19 -19
- package/dist/lib/schemas-data/3.1/bundled/media-buy/sync-event-sources-response.json +16 -16
- package/dist/lib/schemas-data/3.1/bundled/media-buy/update-media-buy-request.json +79 -79
- package/dist/lib/schemas-data/3.1/bundled/media-buy/update-media-buy-response.json +71 -71
- package/dist/lib/schemas-data/3.1/bundled/property/create-property-list-request.json +18 -18
- package/dist/lib/schemas-data/3.1/bundled/property/create-property-list-response.json +26 -26
- package/dist/lib/schemas-data/3.1/bundled/property/delete-property-list-request.json +16 -16
- package/dist/lib/schemas-data/3.1/bundled/property/delete-property-list-response.json +10 -10
- package/dist/lib/schemas-data/3.1/bundled/property/get-property-list-request.json +16 -16
- package/dist/lib/schemas-data/3.1/bundled/property/get-property-list-response.json +27 -27
- package/dist/lib/schemas-data/3.1/bundled/property/list-property-lists-request.json +17 -17
- package/dist/lib/schemas-data/3.1/bundled/property/list-property-lists-response.json +27 -27
- package/dist/lib/schemas-data/3.1/bundled/property/update-property-list-request.json +18 -18
- package/dist/lib/schemas-data/3.1/bundled/property/update-property-list-response.json +26 -26
- package/dist/lib/schemas-data/3.1/bundled/property/validate-property-delivery-request.json +19 -19
- package/dist/lib/schemas-data/3.1/bundled/property/validate-property-delivery-response.json +15 -15
- package/dist/lib/schemas-data/3.1/bundled/protocol/get-adcp-capabilities-request.json +5 -5
- package/dist/lib/schemas-data/3.1/bundled/protocol/get-adcp-capabilities-response.json +35 -35
- package/dist/lib/schemas-data/3.1/bundled/protocol/get-task-status-request.json +16 -16
- package/dist/lib/schemas-data/3.1/bundled/protocol/get-task-status-response.json +181 -181
- package/dist/lib/schemas-data/3.1/bundled/protocol/list-tasks-request.json +21 -21
- package/dist/lib/schemas-data/3.1/bundled/protocol/list-tasks-response.json +11 -11
- package/dist/lib/schemas-data/3.1/bundled/signals/activate-signal-request.json +17 -17
- package/dist/lib/schemas-data/3.1/bundled/signals/activate-signal-response.json +12 -12
- package/dist/lib/schemas-data/3.1/bundled/signals/get-signals-request.json +24 -24
- package/dist/lib/schemas-data/3.1/bundled/signals/get-signals-response.json +53 -53
- package/dist/lib/schemas-data/3.1/bundled/sponsored-intelligence/si-get-offering-request.json +5 -5
- package/dist/lib/schemas-data/3.1/bundled/sponsored-intelligence/si-get-offering-response.json +23 -23
- package/dist/lib/schemas-data/3.1/bundled/sponsored-intelligence/si-initiate-session-request.json +18 -18
- package/dist/lib/schemas-data/3.1/bundled/sponsored-intelligence/si-initiate-session-response.json +25 -25
- package/dist/lib/schemas-data/3.1/bundled/sponsored-intelligence/si-send-message-request.json +16 -16
- package/dist/lib/schemas-data/3.1/bundled/sponsored-intelligence/si-send-message-response.json +26 -26
- package/dist/lib/schemas-data/3.1/bundled/sponsored-intelligence/si-terminate-session-request.json +5 -5
- package/dist/lib/schemas-data/3.1/bundled/sponsored-intelligence/si-terminate-session-response.json +11 -11
- package/dist/lib/schemas-data/3.1/collection/base-collection-source.json +3 -3
- package/dist/lib/schemas-data/3.1/collection/collection-list-changed-webhook.json +2 -2
- package/dist/lib/schemas-data/3.1/collection/collection-list-filters.json +7 -7
- package/dist/lib/schemas-data/3.1/collection/collection-list.json +5 -5
- package/dist/lib/schemas-data/3.1/collection/create-collection-list-request.json +8 -8
- package/dist/lib/schemas-data/3.1/collection/create-collection-list-response.json +6 -6
- package/dist/lib/schemas-data/3.1/collection/delete-collection-list-request.json +5 -5
- package/dist/lib/schemas-data/3.1/collection/delete-collection-list-response.json +5 -5
- package/dist/lib/schemas-data/3.1/collection/get-collection-list-request.json +5 -5
- package/dist/lib/schemas-data/3.1/collection/get-collection-list-response.json +12 -12
- package/dist/lib/schemas-data/3.1/collection/list-collection-lists-request.json +6 -6
- package/dist/lib/schemas-data/3.1/collection/list-collection-lists-response.json +7 -7
- package/dist/lib/schemas-data/3.1/collection/update-collection-list-request.json +8 -8
- package/dist/lib/schemas-data/3.1/collection/update-collection-list-response.json +6 -6
- package/dist/lib/schemas-data/3.1/content-standards/artifact-webhook-payload.json +3 -3
- package/dist/lib/schemas-data/3.1/content-standards/artifact.json +7 -7
- package/dist/lib/schemas-data/3.1/content-standards/calibrate-content-request.json +5 -5
- package/dist/lib/schemas-data/3.1/content-standards/calibrate-content-response.json +10 -10
- package/dist/lib/schemas-data/3.1/content-standards/content-standards.json +7 -7
- package/dist/lib/schemas-data/3.1/content-standards/create-content-standards-request.json +8 -8
- package/dist/lib/schemas-data/3.1/content-standards/create-content-standards-response.json +8 -8
- package/dist/lib/schemas-data/3.1/content-standards/get-content-standards-request.json +4 -4
- package/dist/lib/schemas-data/3.1/content-standards/get-content-standards-response.json +9 -9
- package/dist/lib/schemas-data/3.1/content-standards/get-media-buy-artifacts-request.json +5 -5
- package/dist/lib/schemas-data/3.1/content-standards/get-media-buy-artifacts-response.json +10 -10
- package/dist/lib/schemas-data/3.1/content-standards/list-content-standards-request.json +6 -6
- package/dist/lib/schemas-data/3.1/content-standards/list-content-standards-response.json +10 -10
- package/dist/lib/schemas-data/3.1/content-standards/update-content-standards-request.json +8 -8
- package/dist/lib/schemas-data/3.1/content-standards/update-content-standards-response.json +8 -8
- package/dist/lib/schemas-data/3.1/content-standards/validate-content-delivery-request.json +5 -5
- package/dist/lib/schemas-data/3.1/content-standards/validate-content-delivery-response.json +10 -10
- package/dist/lib/schemas-data/3.1/core/account-authorization.json +1 -1
- package/dist/lib/schemas-data/3.1/core/account-ref.json +2 -2
- package/dist/lib/schemas-data/3.1/core/account-with-authorization.json +3 -3
- package/dist/lib/schemas-data/3.1/core/account.json +10 -10
- package/dist/lib/schemas-data/3.1/core/activation-key.json +1 -1
- package/dist/lib/schemas-data/3.1/core/ad-inventory-config.json +1 -1
- package/dist/lib/schemas-data/3.1/core/agent-encryption-key.json +1 -1
- package/dist/lib/schemas-data/3.1/core/agent-signing-key.json +1 -1
- package/dist/lib/schemas-data/3.1/core/app-item.json +4 -4
- package/dist/lib/schemas-data/3.1/core/asset-group-vocabulary.json +1 -1
- package/dist/lib/schemas-data/3.1/core/assets/asset-union.json +21 -21
- package/dist/lib/schemas-data/3.1/core/assets/audio-asset.json +3 -3
- package/dist/lib/schemas-data/3.1/core/assets/brief-asset.json +2 -2
- package/dist/lib/schemas-data/3.1/core/assets/card-asset.json +6 -6
- package/dist/lib/schemas-data/3.1/core/assets/catalog-asset.json +2 -2
- package/dist/lib/schemas-data/3.1/core/assets/css-asset.json +2 -2
- package/dist/lib/schemas-data/3.1/core/assets/daast-asset.json +4 -4
- package/dist/lib/schemas-data/3.1/core/assets/daast-tracker-asset.json +3 -3
- package/dist/lib/schemas-data/3.1/core/assets/html-asset.json +2 -2
- package/dist/lib/schemas-data/3.1/core/assets/image-asset.json +2 -2
- package/dist/lib/schemas-data/3.1/core/assets/javascript-asset.json +3 -3
- package/dist/lib/schemas-data/3.1/core/assets/markdown-asset.json +2 -2
- package/dist/lib/schemas-data/3.1/core/assets/pixel-tracker-asset.json +2 -2
- package/dist/lib/schemas-data/3.1/core/assets/published-post-asset.json +2 -2
- package/dist/lib/schemas-data/3.1/core/assets/text-asset.json +2 -2
- package/dist/lib/schemas-data/3.1/core/assets/url-asset.json +3 -3
- package/dist/lib/schemas-data/3.1/core/assets/vast-asset.json +4 -4
- package/dist/lib/schemas-data/3.1/core/assets/vast-tracker-asset.json +3 -3
- package/dist/lib/schemas-data/3.1/core/assets/video-asset.json +7 -7
- package/dist/lib/schemas-data/3.1/core/assets/webhook-asset.json +7 -7
- package/dist/lib/schemas-data/3.1/core/assets/zip-asset.json +2 -2
- package/dist/lib/schemas-data/3.1/core/async-response-data.json +29 -29
- package/dist/lib/schemas-data/3.1/core/async-response-refs/creative/sync-creatives-async-response-input-required.json +3 -3
- package/dist/lib/schemas-data/3.1/core/async-response-refs/creative/sync-creatives-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/core/async-response-refs/creative/sync-creatives-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/build-creative-async-response-input-required.json +4 -4
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/build-creative-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/build-creative-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/create-media-buy-async-response-input-required.json +4 -4
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/create-media-buy-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/create-media-buy-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/get-products-async-response-input-required.json +4 -4
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/get-products-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/get-products-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/sync-catalogs-async-response-input-required.json +3 -3
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/sync-catalogs-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/sync-catalogs-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/update-media-buy-async-response-input-required.json +3 -3
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/update-media-buy-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/update-media-buy-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/core/async-response-refs/signals/get-signals-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/core/async-response-refs/signals/get-signals-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/core/attribution-window.json +4 -4
- package/dist/lib/schemas-data/3.1/core/audience-member.json +3 -3
- package/dist/lib/schemas-data/3.1/core/audience-selector.json +7 -7
- package/dist/lib/schemas-data/3.1/core/authorized-agent-base.json +3 -3
- package/dist/lib/schemas-data/3.1/core/brand-id.json +1 -1
- package/dist/lib/schemas-data/3.1/core/brand-ref.json +3 -3
- package/dist/lib/schemas-data/3.1/core/business-entity.json +2 -2
- package/dist/lib/schemas-data/3.1/core/cancellation-policy.json +2 -2
- package/dist/lib/schemas-data/3.1/core/canonical-format-kind.json +1 -1
- package/dist/lib/schemas-data/3.1/core/canonical-projection-ref.json +3 -3
- package/dist/lib/schemas-data/3.1/core/canonical-projection-slot-override.json +1 -1
- package/dist/lib/schemas-data/3.1/core/catalog-field-mapping.json +2 -2
- package/dist/lib/schemas-data/3.1/core/catalog-item-delivery-metrics.json +3 -3
- package/dist/lib/schemas-data/3.1/core/catalog.json +7 -7
- package/dist/lib/schemas-data/3.1/core/catchment.json +5 -5
- package/dist/lib/schemas-data/3.1/core/collection-distribution.json +2 -2
- package/dist/lib/schemas-data/3.1/core/collection-list-ref.json +1 -1
- package/dist/lib/schemas-data/3.1/core/collection-selector.json +1 -1
- package/dist/lib/schemas-data/3.1/core/collection.json +13 -13
- package/dist/lib/schemas-data/3.1/core/committed-metric.json +9 -9
- package/dist/lib/schemas-data/3.1/core/content-rating.json +2 -2
- package/dist/lib/schemas-data/3.1/core/context.json +1 -1
- package/dist/lib/schemas-data/3.1/core/creative-asset.json +10 -10
- package/dist/lib/schemas-data/3.1/core/creative-assignment.json +2 -2
- package/dist/lib/schemas-data/3.1/core/creative-brief.json +4 -4
- package/dist/lib/schemas-data/3.1/core/creative-consumption.json +1 -1
- package/dist/lib/schemas-data/3.1/core/creative-delivery-metrics.json +2 -2
- package/dist/lib/schemas-data/3.1/core/creative-filters.json +5 -5
- package/dist/lib/schemas-data/3.1/core/creative-item.json +1 -1
- package/dist/lib/schemas-data/3.1/core/creative-manifest.json +11 -11
- package/dist/lib/schemas-data/3.1/core/creative-policy.json +3 -3
- package/dist/lib/schemas-data/3.1/core/creative-variable.json +1 -1
- package/dist/lib/schemas-data/3.1/core/creative-variant.json +5 -5
- package/dist/lib/schemas-data/3.1/core/data-provider-signal-selector.json +1 -1
- package/dist/lib/schemas-data/3.1/core/date-range.json +1 -1
- package/dist/lib/schemas-data/3.1/core/datetime-range.json +1 -1
- package/dist/lib/schemas-data/3.1/core/daypart-target.json +2 -2
- package/dist/lib/schemas-data/3.1/core/deadline-policy.json +1 -1
- package/dist/lib/schemas-data/3.1/core/delivery-forecast.json +7 -7
- package/dist/lib/schemas-data/3.1/core/delivery-metric-aggregate.json +9 -9
- package/dist/lib/schemas-data/3.1/core/delivery-metrics.json +8 -8
- package/dist/lib/schemas-data/3.1/core/deployment.json +3 -3
- package/dist/lib/schemas-data/3.1/core/destination-item.json +4 -4
- package/dist/lib/schemas-data/3.1/core/destination.json +1 -1
- package/dist/lib/schemas-data/3.1/core/diagnostic-issue.json +1 -1
- package/dist/lib/schemas-data/3.1/core/downstream-connection-requirement.json +1 -1
- package/dist/lib/schemas-data/3.1/core/duration.json +1 -1
- package/dist/lib/schemas-data/3.1/core/education-item.json +4 -4
- package/dist/lib/schemas-data/3.1/core/error.json +1 -1
- package/dist/lib/schemas-data/3.1/core/evaluator-spec.json +5 -5
- package/dist/lib/schemas-data/3.1/core/event-custom-data.json +2 -2
- package/dist/lib/schemas-data/3.1/core/event-source-health.json +3 -3
- package/dist/lib/schemas-data/3.1/core/event-surface.json +2 -2
- package/dist/lib/schemas-data/3.1/core/event.json +8 -8
- package/dist/lib/schemas-data/3.1/core/ext.json +1 -1
- package/dist/lib/schemas-data/3.1/core/feature-requirement.json +1 -1
- package/dist/lib/schemas-data/3.1/core/flight-item.json +4 -4
- package/dist/lib/schemas-data/3.1/core/forecast-dimension-audience.json +2 -2
- package/dist/lib/schemas-data/3.1/core/forecast-dimension-device-platform.json +2 -2
- package/dist/lib/schemas-data/3.1/core/forecast-dimension-device-type.json +2 -2
- package/dist/lib/schemas-data/3.1/core/forecast-dimension-geo.json +5 -5
- package/dist/lib/schemas-data/3.1/core/forecast-dimension-placement.json +2 -2
- package/dist/lib/schemas-data/3.1/core/forecast-dimension-signal.json +2 -2
- package/dist/lib/schemas-data/3.1/core/forecast-point-dimensions.json +7 -7
- package/dist/lib/schemas-data/3.1/core/forecast-point.json +27 -27
- package/dist/lib/schemas-data/3.1/core/forecast-range.json +1 -1
- package/dist/lib/schemas-data/3.1/core/forecast-vendor-metric-value.json +5 -5
- package/dist/lib/schemas-data/3.1/core/format-id.json +1 -1
- package/dist/lib/schemas-data/3.1/core/format-option-ref.json +1 -1
- package/dist/lib/schemas-data/3.1/core/format-shape-vocabulary.json +1 -1
- package/dist/lib/schemas-data/3.1/core/format.json +44 -44
- package/dist/lib/schemas-data/3.1/core/frequency-cap.json +4 -4
- package/dist/lib/schemas-data/3.1/core/generation-credential.json +3 -3
- package/dist/lib/schemas-data/3.1/core/geo-breakdown-support.json +3 -3
- package/dist/lib/schemas-data/3.1/core/geo-delivery-metrics.json +6 -6
- package/dist/lib/schemas-data/3.1/core/hotel-item.json +4 -4
- package/dist/lib/schemas-data/3.1/core/identifier.json +2 -2
- package/dist/lib/schemas-data/3.1/core/impairment.json +3 -3
- package/dist/lib/schemas-data/3.1/core/industry-identifier.json +2 -2
- package/dist/lib/schemas-data/3.1/core/insertion-order.json +1 -1
- package/dist/lib/schemas-data/3.1/core/installment-deadlines.json +2 -2
- package/dist/lib/schemas-data/3.1/core/installment.json +9 -9
- package/dist/lib/schemas-data/3.1/core/job-item.json +3 -3
- package/dist/lib/schemas-data/3.1/core/keyword-delivery-metrics.json +3 -3
- package/dist/lib/schemas-data/3.1/core/limited-series.json +1 -1
- package/dist/lib/schemas-data/3.1/core/material-deadline.json +1 -1
- package/dist/lib/schemas-data/3.1/core/mcp-webhook-payload.json +5 -5
- package/dist/lib/schemas-data/3.1/core/measurement-readiness.json +5 -5
- package/dist/lib/schemas-data/3.1/core/measurement-terms.json +3 -3
- package/dist/lib/schemas-data/3.1/core/measurement-window.json +1 -1
- package/dist/lib/schemas-data/3.1/core/media-buy-available-action.json +4 -4
- package/dist/lib/schemas-data/3.1/core/media-buy-features.json +1 -1
- package/dist/lib/schemas-data/3.1/core/media-buy.json +10 -10
- package/dist/lib/schemas-data/3.1/core/missing-metric.json +9 -9
- package/dist/lib/schemas-data/3.1/core/notification-config.json +4 -4
- package/dist/lib/schemas-data/3.1/core/offering-asset-group.json +16 -16
- package/dist/lib/schemas-data/3.1/core/offering.json +5 -5
- package/dist/lib/schemas-data/3.1/core/optimization-goal.json +7 -7
- package/dist/lib/schemas-data/3.1/core/outcome-measurement.json +2 -2
- package/dist/lib/schemas-data/3.1/core/overlay.json +1 -1
- package/dist/lib/schemas-data/3.1/core/package-signal-targeting-group.json +2 -2
- package/dist/lib/schemas-data/3.1/core/package-signal-targeting-groups.json +2 -2
- package/dist/lib/schemas-data/3.1/core/package-signal-targeting.json +3 -3
- package/dist/lib/schemas-data/3.1/core/package.json +17 -17
- package/dist/lib/schemas-data/3.1/core/pagination-request.json +1 -1
- package/dist/lib/schemas-data/3.1/core/pagination-response.json +1 -1
- package/dist/lib/schemas-data/3.1/core/performance-feedback.json +12 -12
- package/dist/lib/schemas-data/3.1/core/performance-standard.json +4 -4
- package/dist/lib/schemas-data/3.1/core/placement-definition.json +10 -10
- package/dist/lib/schemas-data/3.1/core/placement-ref.json +1 -1
- package/dist/lib/schemas-data/3.1/core/placement.json +7 -7
- package/dist/lib/schemas-data/3.1/core/planned-delivery.json +5 -5
- package/dist/lib/schemas-data/3.1/core/platform-extension-ref.json +1 -1
- package/dist/lib/schemas-data/3.1/core/postal-area-support.json +2 -2
- package/dist/lib/schemas-data/3.1/core/postal-area.json +4 -4
- package/dist/lib/schemas-data/3.1/core/postal-country-system.json +2 -2
- package/dist/lib/schemas-data/3.1/core/price.json +1 -1
- package/dist/lib/schemas-data/3.1/core/pricing-option.json +10 -10
- package/dist/lib/schemas-data/3.1/core/product-allocation.json +4 -4
- package/dist/lib/schemas-data/3.1/core/product-allowed-action.json +5 -5
- package/dist/lib/schemas-data/3.1/core/product-filters.json +27 -27
- package/dist/lib/schemas-data/3.1/core/product-format-declaration.json +16 -16
- package/dist/lib/schemas-data/3.1/core/product-signal-targeting-option.json +3 -3
- package/dist/lib/schemas-data/3.1/core/product.json +40 -40
- package/dist/lib/schemas-data/3.1/core/property-id.json +1 -1
- package/dist/lib/schemas-data/3.1/core/property-list-ref.json +1 -1
- package/dist/lib/schemas-data/3.1/core/property-tag.json +1 -1
- package/dist/lib/schemas-data/3.1/core/property.json +6 -6
- package/dist/lib/schemas-data/3.1/core/proposal.json +6 -6
- package/dist/lib/schemas-data/3.1/core/protocol-envelope.json +5 -5
- package/dist/lib/schemas-data/3.1/core/provenance.json +9 -9
- package/dist/lib/schemas-data/3.1/core/publisher-property-selector.json +3 -3
- package/dist/lib/schemas-data/3.1/core/push-notification-config.json +2 -2
- package/dist/lib/schemas-data/3.1/core/real-estate-item.json +4 -4
- package/dist/lib/schemas-data/3.1/core/reference-asset.json +1 -1
- package/dist/lib/schemas-data/3.1/core/registry-event.json +13 -13
- package/dist/lib/schemas-data/3.1/core/registry-feed-response.json +2 -2
- package/dist/lib/schemas-data/3.1/core/reporting-capabilities.json +8 -8
- package/dist/lib/schemas-data/3.1/core/reporting-webhook.json +3 -3
- package/dist/lib/schemas-data/3.1/core/requirements/asset-requirements.json +13 -13
- package/dist/lib/schemas-data/3.1/core/requirements/audio-asset-requirements.json +1 -1
- package/dist/lib/schemas-data/3.1/core/requirements/catalog-field-binding.json +4 -4
- package/dist/lib/schemas-data/3.1/core/requirements/catalog-requirements.json +5 -5
- package/dist/lib/schemas-data/3.1/core/requirements/css-asset-requirements.json +1 -1
- package/dist/lib/schemas-data/3.1/core/requirements/daast-asset-requirements.json +1 -1
- package/dist/lib/schemas-data/3.1/core/requirements/html-asset-requirements.json +1 -1
- package/dist/lib/schemas-data/3.1/core/requirements/image-asset-requirements.json +2 -2
- package/dist/lib/schemas-data/3.1/core/requirements/javascript-asset-requirements.json +1 -1
- package/dist/lib/schemas-data/3.1/core/requirements/markdown-asset-requirements.json +1 -1
- package/dist/lib/schemas-data/3.1/core/requirements/offering-asset-constraint.json +4 -4
- package/dist/lib/schemas-data/3.1/core/requirements/text-asset-requirements.json +1 -1
- package/dist/lib/schemas-data/3.1/core/requirements/url-asset-requirements.json +1 -1
- package/dist/lib/schemas-data/3.1/core/requirements/vast-asset-requirements.json +1 -1
- package/dist/lib/schemas-data/3.1/core/requirements/video-asset-requirements.json +6 -6
- package/dist/lib/schemas-data/3.1/core/requirements/webhook-asset-requirements.json +1 -1
- package/dist/lib/schemas-data/3.1/core/response-payload-jws-envelope.json +1 -1
- package/dist/lib/schemas-data/3.1/core/response.json +1 -1
- package/dist/lib/schemas-data/3.1/core/rights-constraint.json +4 -4
- package/dist/lib/schemas-data/3.1/core/seller-agent-ref.json +1 -1
- package/dist/lib/schemas-data/3.1/core/signal-coverage-forecast.json +5 -5
- package/dist/lib/schemas-data/3.1/core/signal-definition-enrichment.json +4 -4
- package/dist/lib/schemas-data/3.1/core/signal-definition.json +5 -5
- package/dist/lib/schemas-data/3.1/core/signal-filters.json +3 -3
- package/dist/lib/schemas-data/3.1/core/signal-id.json +1 -1
- package/dist/lib/schemas-data/3.1/core/signal-listing.json +4 -4
- package/dist/lib/schemas-data/3.1/core/signal-modeling-disclosure.json +1 -1
- package/dist/lib/schemas-data/3.1/core/signal-pricing-option.json +2 -2
- package/dist/lib/schemas-data/3.1/core/signal-pricing.json +6 -6
- package/dist/lib/schemas-data/3.1/core/signal-ref.json +1 -1
- package/dist/lib/schemas-data/3.1/core/signal-selection-group-rule.json +1 -1
- package/dist/lib/schemas-data/3.1/core/signal-targeting-expression.json +4 -4
- package/dist/lib/schemas-data/3.1/core/signal-targeting-rules.json +2 -2
- package/dist/lib/schemas-data/3.1/core/signal-targeting.json +7 -7
- package/dist/lib/schemas-data/3.1/core/sla-window.json +1 -1
- package/dist/lib/schemas-data/3.1/core/special.json +2 -2
- package/dist/lib/schemas-data/3.1/core/start-timing.json +1 -1
- package/dist/lib/schemas-data/3.1/core/store-item.json +3 -3
- package/dist/lib/schemas-data/3.1/core/talent.json +2 -2
- package/dist/lib/schemas-data/3.1/core/targeting.json +22 -22
- package/dist/lib/schemas-data/3.1/core/tasks-get-request.json +5 -5
- package/dist/lib/schemas-data/3.1/core/tasks-get-response.json +10 -10
- package/dist/lib/schemas-data/3.1/core/tasks-list-request.json +13 -13
- package/dist/lib/schemas-data/3.1/core/tasks-list-response.json +8 -8
- package/dist/lib/schemas-data/3.1/core/transformer-param.json +1 -1
- package/dist/lib/schemas-data/3.1/core/transformer.json +5 -5
- package/dist/lib/schemas-data/3.1/core/truncation-sentinel.json +1 -1
- package/dist/lib/schemas-data/3.1/core/user-match.json +3 -3
- package/dist/lib/schemas-data/3.1/core/vehicle-item.json +4 -4
- package/dist/lib/schemas-data/3.1/core/vendor-metric-id.json +1 -1
- package/dist/lib/schemas-data/3.1/core/vendor-metric-optimization-supported-metric.json +3 -3
- package/dist/lib/schemas-data/3.1/core/vendor-metric-optimization.json +2 -2
- package/dist/lib/schemas-data/3.1/core/vendor-metric-value.json +3 -3
- package/dist/lib/schemas-data/3.1/core/vendor-pricing-option.json +3 -3
- package/dist/lib/schemas-data/3.1/core/version-envelope.json +1 -1
- package/dist/lib/schemas-data/3.1/core/webhook-activity-record.json +3 -3
- package/dist/lib/schemas-data/3.1/core/webhook-challenge-response.json +1 -1
- package/dist/lib/schemas-data/3.1/core/webhook-challenge.json +2 -2
- package/dist/lib/schemas-data/3.1/core/wholesale-feed-event.json +17 -17
- package/dist/lib/schemas-data/3.1/core/wholesale-feed-webhook.json +3 -3
- package/dist/lib/schemas-data/3.1/core/x-entity-types.json +1 -1
- package/dist/lib/schemas-data/3.1/creative/asset-types/index.json +6 -6
- package/dist/lib/schemas-data/3.1/creative/audit-observation.json +2 -2
- package/dist/lib/schemas-data/3.1/creative/creative-feature-result.json +2 -2
- package/dist/lib/schemas-data/3.1/creative/creative-purged-webhook.json +3 -3
- package/dist/lib/schemas-data/3.1/creative/creative-status-changed-webhook.json +4 -4
- package/dist/lib/schemas-data/3.1/creative/get-creative-delivery-request.json +6 -6
- package/dist/lib/schemas-data/3.1/creative/get-creative-delivery-response.json +9 -9
- package/dist/lib/schemas-data/3.1/creative/get-creative-features-request.json +6 -6
- package/dist/lib/schemas-data/3.1/creative/get-creative-features-response.json +11 -11
- package/dist/lib/schemas-data/3.1/creative/list-creative-formats-request.json +13 -13
- package/dist/lib/schemas-data/3.1/creative/list-creative-formats-response.json +9 -9
- package/dist/lib/schemas-data/3.1/creative/list-creatives-request.json +9 -9
- package/dist/lib/schemas-data/3.1/creative/list-creatives-response.json +21 -21
- package/dist/lib/schemas-data/3.1/creative/list-transformers-request.json +8 -8
- package/dist/lib/schemas-data/3.1/creative/list-transformers-response.json +8 -8
- package/dist/lib/schemas-data/3.1/creative/preview-creative-request.json +12 -12
- package/dist/lib/schemas-data/3.1/creative/preview-creative-response.json +14 -14
- package/dist/lib/schemas-data/3.1/creative/preview-render.json +1 -1
- package/dist/lib/schemas-data/3.1/creative/sync-creatives-async-response-input-required.json +3 -3
- package/dist/lib/schemas-data/3.1/creative/sync-creatives-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/creative/sync-creatives-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/creative/sync-creatives-request.json +8 -8
- package/dist/lib/schemas-data/3.1/creative/sync-creatives-response.json +15 -15
- package/dist/lib/schemas-data/3.1/creative/validate-input-request.json +4 -4
- package/dist/lib/schemas-data/3.1/creative/validate-input-response.json +4 -4
- package/dist/lib/schemas-data/3.1/creative/validate-input-result.json +1 -1
- package/dist/lib/schemas-data/3.1/creative/video-brief.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/account-scope.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/account-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/action-not-allowed-reason.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/action-source.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/adcp-protocol.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/adjustment-kind.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/advertiser-industry.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/age-verification-method.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/assessment-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/asset-content-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/attestation-claim.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/attribution-methodology.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/attribution-model.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/audience-source.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/audience-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/audio-channel-layout.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/audio-distribution-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/auth-scheme.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/available-metric.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/billing-party.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/binary-verdict.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/brand-agent-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/c2pa-watermark-action.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/canceled-by.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/catalog-action.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/catalog-item-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/catalog-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/channels.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/cloud-storage-protocol.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/co-branding-requirement.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/collection-cadence.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/collection-kind.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/collection-relationship.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/collection-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/completion-source.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/consent-basis.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/content-id-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/content-rating-system.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/creative-action.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/creative-agent-capability.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/creative-approval-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/creative-event-reason-code.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/creative-identifier-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/creative-quality.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/creative-selection-strategy.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/creative-sort-field.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/creative-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/daast-tracking-event.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/daast-version.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/day-of-week.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/delegation-authority.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/delivery-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/demographic-system.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/derivative-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/device-platform.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/device-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/digital-source-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/dimension-unit.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/disclosure-persistence.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/disclosure-position.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/distance-unit.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/distribution-identifier-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/embedded-provenance-method.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/error-code.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/error-scope.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/escalation-severity.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/event-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/exclusivity.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/feature-check-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/feed-format.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/feedback-source.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/forecast-method.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/forecast-range-unit.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/forecastable-metric.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/format-id-parameter.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/frame-rate-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/frequency-cap-scope.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/genre-taxonomy.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/geo-level.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/gop-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/governance-decision.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/governance-domain.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/governance-mode.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/governance-phase.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/history-entry-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/http-method.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/identifier-types.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/impairment-offline-state.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/impairment-reason-code.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/installment-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/javascript-module-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/landing-page-requirement.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/legacy-postal-system.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/lift-dimension.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/logo-slot.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/makegood-remedy.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/markdown-flavor.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/match-id-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/match-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/media-buy-action-mode.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/media-buy-health.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/media-buy-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/media-buy-valid-action.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/metric-scope.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/metric-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/metro-system.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/moov-atom-position.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/notification-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/offering-availability-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/outcome-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/pacing.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/payment-terms.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/performance-standard-metric.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/policy-category.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/policy-enforcement.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/postal-system.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/preview-output-format.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/pricing-model.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/production-quality.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/property-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/proposal-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/publisher-identifier-types.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/purchase-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/reach-unit.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/reporting-frequency.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/response-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/restricted-attribute.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/right-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/right-use.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/rights-billing-period.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/scan-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/si-session-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/signal-catalog-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/signal-source.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/signal-value-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/snapshot-unavailable-reason.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/social-placement-surface.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/sort-direction.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/sort-metric.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/special-category.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/specialism.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/sponsored-placement-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/talent-role.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/task-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/task-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/transport-mode.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/travel-time-unit.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/uid-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/universal-macro.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/update-frequency.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/url-asset-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/validation-mode.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/vast-tracking-event.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/vast-version.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/video-placement-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/viewability-standard.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/watermark-media-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/wcag-level.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/webhook-response-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/webhook-security-method.json +1 -1
- package/dist/lib/schemas-data/3.1/error-details/account-setup-required.json +1 -1
- package/dist/lib/schemas-data/3.1/error-details/action-not-allowed.json +4 -4
- package/dist/lib/schemas-data/3.1/error-details/agent-permission-denied.json +1 -1
- package/dist/lib/schemas-data/3.1/error-details/audience-too-small.json +1 -1
- package/dist/lib/schemas-data/3.1/error-details/authorization-required.json +3 -3
- package/dist/lib/schemas-data/3.1/error-details/billing-not-permitted-for-agent.json +3 -3
- package/dist/lib/schemas-data/3.1/error-details/billing-not-supported.json +2 -2
- package/dist/lib/schemas-data/3.1/error-details/budget-too-low.json +1 -1
- package/dist/lib/schemas-data/3.1/error-details/conflict.json +1 -1
- package/dist/lib/schemas-data/3.1/error-details/creative-rejected.json +1 -1
- package/dist/lib/schemas-data/3.1/error-details/policy-violation.json +1 -1
- package/dist/lib/schemas-data/3.1/error-details/rate-limited.json +1 -1
- package/dist/lib/schemas-data/3.1/error-details/stale-response.json +1 -1
- package/dist/lib/schemas-data/3.1/error-details/vendor-error-codes.json +1 -1
- package/dist/lib/schemas-data/3.1/error-details/version-unsupported.json +2 -2
- package/dist/lib/schemas-data/3.1/extensions/extension-meta.json +1 -1
- package/dist/lib/schemas-data/3.1/extensions/index.json +2 -2
- package/dist/lib/schemas-data/3.1/formats/canonical/_base.json +5 -5
- package/dist/lib/schemas-data/3.1/formats/canonical/agent_placement.json +2 -2
- package/dist/lib/schemas-data/3.1/formats/canonical/audio_daast.json +2 -2
- package/dist/lib/schemas-data/3.1/formats/canonical/audio_hosted.json +2 -2
- package/dist/lib/schemas-data/3.1/formats/canonical/display_tag.json +2 -2
- package/dist/lib/schemas-data/3.1/formats/canonical/html5.json +2 -2
- package/dist/lib/schemas-data/3.1/formats/canonical/image.json +2 -2
- package/dist/lib/schemas-data/3.1/formats/canonical/image_carousel.json +2 -2
- package/dist/lib/schemas-data/3.1/formats/canonical/native_in_feed.json +2 -2
- package/dist/lib/schemas-data/3.1/formats/canonical/responsive_creative.json +2 -2
- package/dist/lib/schemas-data/3.1/formats/canonical/sponsored_placement.json +2 -2
- package/dist/lib/schemas-data/3.1/formats/canonical/video_hosted.json +2 -2
- package/dist/lib/schemas-data/3.1/formats/canonical/video_vast.json +2 -2
- package/dist/lib/schemas-data/3.1/governance/attribute-definition.json +1 -1
- package/dist/lib/schemas-data/3.1/governance/audience-constraints.json +3 -3
- package/dist/lib/schemas-data/3.1/governance/check-governance-request.json +8 -8
- package/dist/lib/schemas-data/3.1/governance/check-governance-response.json +7 -7
- package/dist/lib/schemas-data/3.1/governance/get-plan-audit-logs-request.json +5 -5
- package/dist/lib/schemas-data/3.1/governance/get-plan-audit-logs-response.json +11 -11
- package/dist/lib/schemas-data/3.1/governance/policy-category-definition.json +2 -2
- package/dist/lib/schemas-data/3.1/governance/policy-entry.json +6 -6
- package/dist/lib/schemas-data/3.1/governance/policy-ref.json +1 -1
- package/dist/lib/schemas-data/3.1/governance/report-plan-outcome-request.json +7 -7
- package/dist/lib/schemas-data/3.1/governance/report-plan-outcome-response.json +5 -5
- package/dist/lib/schemas-data/3.1/governance/sync-plans-request.json +14 -14
- package/dist/lib/schemas-data/3.1/governance/sync-plans-response.json +6 -6
- package/dist/lib/schemas-data/3.1/index.json +452 -440
- package/dist/lib/schemas-data/3.1/manifest.json +3 -3
- package/dist/lib/schemas-data/3.1/manifest.schema.json +1 -1
- package/dist/lib/schemas-data/3.1/media-buy/build-creative-async-response-input-required.json +4 -4
- package/dist/lib/schemas-data/3.1/media-buy/build-creative-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/media-buy/build-creative-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/media-buy/build-creative-request.json +16 -16
- package/dist/lib/schemas-data/3.1/media-buy/build-creative-response.json +35 -35
- package/dist/lib/schemas-data/3.1/media-buy/create-media-buy-async-response-input-required.json +4 -4
- package/dist/lib/schemas-data/3.1/media-buy/create-media-buy-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/media-buy/create-media-buy-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/media-buy/create-media-buy-request.json +13 -13
- package/dist/lib/schemas-data/3.1/media-buy/create-media-buy-response.json +19 -19
- package/dist/lib/schemas-data/3.1/media-buy/get-media-buy-delivery-request.json +23 -23
- package/dist/lib/schemas-data/3.1/media-buy/get-media-buy-delivery-response.json +27 -27
- package/dist/lib/schemas-data/3.1/media-buy/get-media-buys-request.json +8 -8
- package/dist/lib/schemas-data/3.1/media-buy/get-media-buys-response.json +30 -30
- package/dist/lib/schemas-data/3.1/media-buy/get-products-async-response-input-required.json +4 -4
- package/dist/lib/schemas-data/3.1/media-buy/get-products-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/media-buy/get-products-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/media-buy/get-products-request.json +13 -13
- package/dist/lib/schemas-data/3.1/media-buy/get-products-response.json +10 -10
- package/dist/lib/schemas-data/3.1/media-buy/list-creative-formats-request.json +13 -13
- package/dist/lib/schemas-data/3.1/media-buy/list-creative-formats-response.json +9 -9
- package/dist/lib/schemas-data/3.1/media-buy/log-event-request.json +5 -5
- package/dist/lib/schemas-data/3.1/media-buy/log-event-response.json +8 -8
- package/dist/lib/schemas-data/3.1/media-buy/media-buy-delivery-webhook-result.json +9 -9
- package/dist/lib/schemas-data/3.1/media-buy/package-request.json +23 -23
- package/dist/lib/schemas-data/3.1/media-buy/package-update.json +13 -13
- package/dist/lib/schemas-data/3.1/media-buy/provide-performance-feedback-request.json +7 -7
- package/dist/lib/schemas-data/3.1/media-buy/provide-performance-feedback-response.json +8 -8
- package/dist/lib/schemas-data/3.1/media-buy/sync-audiences-request.json +8 -8
- package/dist/lib/schemas-data/3.1/media-buy/sync-audiences-response.json +14 -14
- package/dist/lib/schemas-data/3.1/media-buy/sync-catalogs-async-response-input-required.json +3 -3
- package/dist/lib/schemas-data/3.1/media-buy/sync-catalogs-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/media-buy/sync-catalogs-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/media-buy/sync-catalogs-request.json +8 -8
- package/dist/lib/schemas-data/3.1/media-buy/sync-catalogs-response.json +14 -14
- package/dist/lib/schemas-data/3.1/media-buy/sync-event-sources-request.json +8 -8
- package/dist/lib/schemas-data/3.1/media-buy/sync-event-sources-response.json +14 -14
- package/dist/lib/schemas-data/3.1/media-buy/update-media-buy-async-response-input-required.json +3 -3
- package/dist/lib/schemas-data/3.1/media-buy/update-media-buy-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/media-buy/update-media-buy-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/media-buy/update-media-buy-request.json +11 -11
- package/dist/lib/schemas-data/3.1/media-buy/update-media-buy-response.json +17 -17
- package/dist/lib/schemas-data/3.1/pricing-options/cpa-option.json +4 -4
- package/dist/lib/schemas-data/3.1/pricing-options/cpc-option.json +4 -4
- package/dist/lib/schemas-data/3.1/pricing-options/cpcv-option.json +4 -4
- package/dist/lib/schemas-data/3.1/pricing-options/cpm-option.json +4 -4
- package/dist/lib/schemas-data/3.1/pricing-options/cpp-option.json +5 -5
- package/dist/lib/schemas-data/3.1/pricing-options/cpv-option.json +4 -4
- package/dist/lib/schemas-data/3.1/pricing-options/flat-rate-option.json +4 -4
- package/dist/lib/schemas-data/3.1/pricing-options/price-breakdown.json +2 -2
- package/dist/lib/schemas-data/3.1/pricing-options/price-guidance.json +1 -1
- package/dist/lib/schemas-data/3.1/pricing-options/time-option.json +4 -4
- package/dist/lib/schemas-data/3.1/pricing-options/vcpm-option.json +4 -4
- package/dist/lib/schemas-data/3.1/property/authorization-result.json +1 -1
- package/dist/lib/schemas-data/3.1/property/base-property-source.json +4 -4
- package/dist/lib/schemas-data/3.1/property/create-property-list-request.json +8 -8
- package/dist/lib/schemas-data/3.1/property/create-property-list-response.json +6 -6
- package/dist/lib/schemas-data/3.1/property/delete-property-list-request.json +5 -5
- package/dist/lib/schemas-data/3.1/property/delete-property-list-response.json +5 -5
- package/dist/lib/schemas-data/3.1/property/delivery-record.json +3 -3
- package/dist/lib/schemas-data/3.1/property/get-property-list-request.json +5 -5
- package/dist/lib/schemas-data/3.1/property/get-property-list-response.json +9 -9
- package/dist/lib/schemas-data/3.1/property/list-property-lists-request.json +6 -6
- package/dist/lib/schemas-data/3.1/property/list-property-lists-response.json +7 -7
- package/dist/lib/schemas-data/3.1/property/property-error.json +2 -2
- package/dist/lib/schemas-data/3.1/property/property-feature-definition.json +2 -2
- package/dist/lib/schemas-data/3.1/property/property-feature-result.json +4 -4
- package/dist/lib/schemas-data/3.1/property/property-feature-value.json +2 -2
- package/dist/lib/schemas-data/3.1/property/property-feature.json +1 -1
- package/dist/lib/schemas-data/3.1/property/property-list-changed-webhook.json +2 -2
- package/dist/lib/schemas-data/3.1/property/property-list-filters.json +5 -5
- package/dist/lib/schemas-data/3.1/property/property-list.json +6 -6
- package/dist/lib/schemas-data/3.1/property/update-property-list-request.json +8 -8
- package/dist/lib/schemas-data/3.1/property/update-property-list-response.json +6 -6
- package/dist/lib/schemas-data/3.1/property/validate-property-delivery-request.json +6 -6
- package/dist/lib/schemas-data/3.1/property/validate-property-delivery-response.json +6 -6
- package/dist/lib/schemas-data/3.1/property/validation-result.json +5 -5
- package/dist/lib/schemas-data/3.1/protocol/get-adcp-capabilities-request.json +4 -4
- package/dist/lib/schemas-data/3.1/protocol/get-adcp-capabilities-response.json +33 -33
- package/dist/lib/schemas-data/3.1/protocol/get-task-status-request.json +5 -5
- package/dist/lib/schemas-data/3.1/protocol/get-task-status-response.json +10 -10
- package/dist/lib/schemas-data/3.1/protocol/list-tasks-request.json +13 -13
- package/dist/lib/schemas-data/3.1/protocol/list-tasks-response.json +8 -8
- package/dist/lib/schemas-data/3.1/registries/v1-canonical-mapping.json +355 -5
- package/dist/lib/schemas-data/3.1/signals/activate-signal-request.json +6 -6
- package/dist/lib/schemas-data/3.1/signals/activate-signal-response.json +9 -9
- package/dist/lib/schemas-data/3.1/signals/get-signals-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/signals/get-signals-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/signals/get-signals-request.json +11 -11
- package/dist/lib/schemas-data/3.1/signals/get-signals-response.json +17 -17
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-capabilities.json +1 -1
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-context-use.json +1 -1
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-get-offering-request.json +4 -4
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-get-offering-response.json +9 -9
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-identity.json +1 -1
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-initiate-session-request.json +7 -7
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-initiate-session-response.json +10 -10
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-send-message-request.json +5 -5
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-send-message-response.json +10 -10
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-sponsored-context-receipt.json +4 -4
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-sponsored-context.json +4 -4
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-terminate-session-request.json +4 -4
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-terminate-session-response.json +7 -7
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-ui-element.json +1 -1
- package/dist/lib/schemas-data/3.1/trusted-match/available-package.json +4 -4
- package/dist/lib/schemas-data/3.1/trusted-match/context-match-request.json +5 -5
- package/dist/lib/schemas-data/3.1/trusted-match/context-match-response.json +4 -4
- package/dist/lib/schemas-data/3.1/trusted-match/error.json +1 -1
- package/dist/lib/schemas-data/3.1/trusted-match/identity-match-request.json +4 -4
- package/dist/lib/schemas-data/3.1/trusted-match/identity-match-response.json +45 -45
- package/dist/lib/schemas-data/3.1/trusted-match/offer-price.json +1 -1
- package/dist/lib/schemas-data/3.1/trusted-match/offer.json +5 -5
- package/dist/lib/schemas-data/3.1/trusted-match/provider-identity-match-response.json +90 -0
- package/dist/lib/schemas-data/3.1/trusted-match/provider-registration.json +8 -7
- package/dist/lib/schemas-data/3.1/trusted-match/publisher-tmpx-config.json +41 -0
- package/dist/lib/schemas-data/3.1/trusted-match/tmpx-chunk.json +28 -0
- package/dist/lib/schemas-data/v2.5/_provenance.json +1 -1
- package/dist/lib/server/decisioning/runtime/entity-hydration.generated.js.map +1 -1
- package/dist/lib/server/decisioning/runtime/entity-hydration.generated.mjs.map +1 -1
- package/dist/lib/server/wire-spec-fields.generated.d.mts +29 -29
- package/dist/lib/server/wire-spec-fields.generated.d.ts +29 -29
- package/dist/lib/server/wire-spec-fields.generated.d.ts.map +1 -1
- package/dist/lib/server/wire-spec-fields.generated.js +29 -29
- package/dist/lib/server/wire-spec-fields.generated.js.map +1 -1
- package/dist/lib/server/wire-spec-fields.generated.mjs +29 -29
- package/dist/lib/server/wire-spec-fields.generated.mjs.map +1 -1
- package/dist/lib/testing/index.d.mts +1 -1
- package/dist/lib/testing/index.d.ts +1 -1
- package/dist/lib/testing/index.d.ts.map +1 -1
- package/dist/lib/testing/index.js +12 -0
- package/dist/lib/testing/index.js.map +1 -1
- package/dist/lib/testing/index.mjs +12 -0
- package/dist/lib/testing/index.mjs.map +1 -1
- package/dist/lib/testing/storyboard/canonical-format-satisfaction.d.mts +6 -0
- package/dist/lib/testing/storyboard/canonical-format-satisfaction.d.ts +6 -0
- package/dist/lib/testing/storyboard/canonical-format-satisfaction.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/canonical-format-satisfaction.js +11 -0
- package/dist/lib/testing/storyboard/canonical-format-satisfaction.js.map +1 -1
- package/dist/lib/testing/storyboard/canonical-format-satisfaction.mjs +10 -0
- package/dist/lib/testing/storyboard/canonical-format-satisfaction.mjs.map +1 -1
- package/dist/lib/testing/storyboard/creative-assets.d.mts +5 -0
- package/dist/lib/testing/storyboard/creative-assets.d.ts +6 -0
- package/dist/lib/testing/storyboard/creative-assets.d.ts.map +1 -0
- package/dist/lib/testing/storyboard/creative-assets.js +180 -0
- package/dist/lib/testing/storyboard/creative-assets.js.map +1 -0
- package/dist/lib/testing/storyboard/creative-assets.mjs +154 -0
- package/dist/lib/testing/storyboard/creative-assets.mjs.map +1 -0
- package/dist/lib/testing/storyboard/fixture-resolution.d.mts +37 -0
- package/dist/lib/testing/storyboard/fixture-resolution.d.ts +38 -0
- package/dist/lib/testing/storyboard/fixture-resolution.d.ts.map +1 -0
- package/dist/lib/testing/storyboard/fixture-resolution.js +424 -0
- package/dist/lib/testing/storyboard/fixture-resolution.js.map +1 -0
- package/dist/lib/testing/storyboard/fixture-resolution.mjs +395 -0
- package/dist/lib/testing/storyboard/fixture-resolution.mjs.map +1 -0
- package/dist/lib/testing/storyboard/index.d.mts +2 -1
- package/dist/lib/testing/storyboard/index.d.ts +2 -1
- package/dist/lib/testing/storyboard/index.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/index.js +13 -0
- package/dist/lib/testing/storyboard/index.js.map +1 -1
- package/dist/lib/testing/storyboard/index.mjs +14 -0
- package/dist/lib/testing/storyboard/index.mjs.map +1 -1
- package/dist/lib/testing/storyboard/junit.js +14 -1
- package/dist/lib/testing/storyboard/junit.js.map +1 -1
- package/dist/lib/testing/storyboard/junit.mjs +14 -1
- package/dist/lib/testing/storyboard/junit.mjs.map +1 -1
- package/dist/lib/testing/storyboard/loader.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/loader.js +2 -0
- package/dist/lib/testing/storyboard/loader.js.map +1 -1
- package/dist/lib/testing/storyboard/loader.mjs +2 -0
- package/dist/lib/testing/storyboard/loader.mjs.map +1 -1
- package/dist/lib/testing/storyboard/runner.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/runner.js +170 -12
- package/dist/lib/testing/storyboard/runner.js.map +1 -1
- package/dist/lib/testing/storyboard/runner.mjs +175 -13
- package/dist/lib/testing/storyboard/runner.mjs.map +1 -1
- package/dist/lib/testing/storyboard/seeding.d.mts +10 -3
- package/dist/lib/testing/storyboard/seeding.d.ts +10 -3
- package/dist/lib/testing/storyboard/seeding.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/seeding.js +550 -2
- package/dist/lib/testing/storyboard/seeding.js.map +1 -1
- package/dist/lib/testing/storyboard/seeding.mjs +555 -2
- package/dist/lib/testing/storyboard/seeding.mjs.map +1 -1
- package/dist/lib/testing/storyboard/types.d.mts +106 -0
- package/dist/lib/testing/storyboard/types.d.ts +106 -0
- package/dist/lib/testing/storyboard/types.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/types.js +1 -0
- package/dist/lib/testing/storyboard/types.js.map +1 -1
- package/dist/lib/testing/storyboard/types.mjs +1 -0
- package/dist/lib/testing/storyboard/types.mjs.map +1 -1
- package/dist/lib/testing/stubs/governance-agent-stub.d.ts.map +1 -1
- package/dist/lib/testing/stubs/governance-agent-stub.js +4 -1
- package/dist/lib/testing/stubs/governance-agent-stub.js.map +1 -1
- package/dist/lib/testing/stubs/governance-agent-stub.mjs +4 -1
- package/dist/lib/testing/stubs/governance-agent-stub.mjs.map +1 -1
- package/dist/lib/types/adcp.d.mts +10 -0
- package/dist/lib/types/adcp.d.ts +10 -0
- package/dist/lib/types/adcp.d.ts.map +1 -1
- package/dist/lib/types/adcp.js.map +1 -1
- package/dist/lib/types/adcp.mjs.map +1 -1
- package/dist/lib/types/core.generated.d.mts +127 -19
- package/dist/lib/types/core.generated.d.ts +127 -19
- package/dist/lib/types/core.generated.d.ts.map +1 -1
- package/dist/lib/types/core.generated.js.map +1 -1
- package/dist/lib/types/inline-enums.generated.d.mts +2 -0
- package/dist/lib/types/inline-enums.generated.d.ts +2 -0
- package/dist/lib/types/inline-enums.generated.d.ts.map +1 -1
- package/dist/lib/types/inline-enums.generated.js +3 -0
- package/dist/lib/types/inline-enums.generated.js.map +1 -1
- package/dist/lib/types/inline-enums.generated.mjs +2 -0
- package/dist/lib/types/inline-enums.generated.mjs.map +1 -1
- package/dist/lib/types/manifest.generated.d.mts +3 -3
- package/dist/lib/types/manifest.generated.d.ts +3 -3
- package/dist/lib/types/manifest.generated.js.map +1 -1
- package/dist/lib/types/manifest.generated.mjs.map +1 -1
- package/dist/lib/types/per-tool-index.json +1 -1
- package/dist/lib/types/schemas.generated.d.mts +124 -20
- package/dist/lib/types/schemas.generated.d.ts +124 -20
- package/dist/lib/types/schemas.generated.d.ts.map +1 -1
- package/dist/lib/types/schemas.generated.js +83 -24
- package/dist/lib/types/schemas.generated.js.map +1 -1
- package/dist/lib/types/schemas.generated.mjs +79 -24
- package/dist/lib/types/schemas.generated.mjs.map +1 -1
- package/dist/lib/utils/response-schemas.js +1 -1
- package/dist/lib/utils/response-schemas.js.map +1 -1
- package/dist/lib/utils/response-schemas.mjs +1 -1
- package/dist/lib/utils/response-schemas.mjs.map +1 -1
- package/dist/lib/utils/sync-creatives-adapter.d.mts +6 -0
- package/dist/lib/utils/sync-creatives-adapter.d.ts +6 -0
- package/dist/lib/utils/sync-creatives-adapter.d.ts.map +1 -1
- package/dist/lib/utils/sync-creatives-adapter.js +22 -1
- package/dist/lib/utils/sync-creatives-adapter.js.map +1 -1
- package/dist/lib/utils/sync-creatives-adapter.mjs +22 -1
- package/dist/lib/utils/sync-creatives-adapter.mjs.map +1 -1
- package/dist/lib/validation/schema-loader.d.mts +16 -0
- package/dist/lib/validation/schema-loader.d.ts +16 -0
- package/dist/lib/validation/schema-loader.d.ts.map +1 -1
- package/dist/lib/validation/schema-loader.js +116 -0
- package/dist/lib/validation/schema-loader.js.map +1 -1
- package/dist/lib/validation/schema-loader.mjs +115 -0
- package/dist/lib/validation/schema-loader.mjs.map +1 -1
- package/dist/lib/version.d.mts +7 -7
- package/dist/lib/version.d.ts +7 -7
- package/dist/lib/version.d.ts.map +1 -1
- package/dist/lib/version.js +9 -6
- package/dist/lib/version.js.map +1 -1
- package/dist/lib/version.mjs +9 -6
- package/dist/lib/version.mjs.map +1 -1
- package/docs/llms.txt +13 -3
- package/package.json +2 -2
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/brand/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/brand/scenarios/distributed_brand_resolution.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/brand/scenarios/single_side_trust_extension.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/creative/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/creative/scenarios/billing_out_of_band.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/creative/scenarios/canonical_supported_formats.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/creative/scenarios/creative_lifecycle_webhooks.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/creative/scenarios/evaluator_auth.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/creative/scenarios/native_in_feed.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/governance/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/audience_buy_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/available_actions.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/billing_finality_delivery.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/canonical_formats.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/clicks_buy_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/completed_views_buy_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/create_media_buy_async.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/creative_reception.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/delivery_reporting.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/dependency_impairment.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/dependency_impairment_cardinality.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/event_dedup_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/frequency_cap_enforcement.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/get_products_async.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/governance_approved.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/governance_conditions.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/governance_denied.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/governance_denied_recovery.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/inline_creatives_without_sync.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/invalid_transitions.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/inventory_list_no_match.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/inventory_list_targeting.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/measurement_accountability.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/measurement_terms_rejected.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/package_correlation_legacy_fallback.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/pending_creatives_to_start.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/per_creative_conversion_attribution.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/performance_buy_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/performance_buy_flow_roas.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/pricing_currency_filter.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/product_signal_targeting.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/proposal_finalize.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/proposal_finalize_asap_timing.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/proposal_not_found_errors.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/provenance_audit_observation.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/provenance_enforcement.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/provenance_truth_of_claim.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/reach_buy_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/refine_finalize_exclusivity.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/refine_products.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/vendor_metric_accountability.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/vendor_metric_catalog_precondition.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/scenarios/vendor_metric_optimization_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/media-buy/state-machine.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/signals/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/signals/scenarios/get_signals_async.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/sponsored-intelligence/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/domains/sponsored-intelligence/sponsored-context-accountability.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/brand/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/brand/scenarios/distributed_brand_resolution.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/brand/scenarios/single_side_trust_extension.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/creative/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/creative/scenarios/billing_out_of_band.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/creative/scenarios/canonical_supported_formats.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/creative/scenarios/creative_lifecycle_webhooks.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/creative/scenarios/evaluator_auth.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/creative/scenarios/native_in_feed.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/governance/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/audience_buy_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/available_actions.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/billing_finality_delivery.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/canonical_formats.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/clicks_buy_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/completed_views_buy_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/create_media_buy_async.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/creative_reception.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/delivery_reporting.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/dependency_impairment.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/dependency_impairment_cardinality.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/event_dedup_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/frequency_cap_enforcement.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/get_products_async.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/governance_approved.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/governance_conditions.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/governance_denied.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/governance_denied_recovery.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/inline_creatives_without_sync.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/invalid_transitions.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/inventory_list_no_match.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/inventory_list_targeting.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/measurement_accountability.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/measurement_terms_rejected.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/package_correlation_legacy_fallback.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/pending_creatives_to_start.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/per_creative_conversion_attribution.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/performance_buy_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/performance_buy_flow_roas.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/pricing_currency_filter.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/product_signal_targeting.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/proposal_finalize.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/proposal_finalize_asap_timing.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/proposal_not_found_errors.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/provenance_audit_observation.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/provenance_enforcement.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/provenance_truth_of_claim.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/reach_buy_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/refine_finalize_exclusivity.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/refine_products.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/vendor_metric_accountability.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/vendor_metric_catalog_precondition.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/scenarios/vendor_metric_optimization_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/media-buy/state-machine.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/signals/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/signals/scenarios/get_signals_async.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/sponsored-intelligence/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/protocols/sponsored-intelligence/sponsored-context-accountability.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/audience-sync/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/brand-rights/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/brand-rights/scenarios/governance_denied.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/collection-lists/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/content-standards/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/creative-ad-server/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/creative-generative/generative-seller.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/creative-generative/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/creative-template/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/creative-transformers/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/governance-aware-seller/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/governance-aware-seller/scenarios/governance_multi_agent_rejected.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/governance-delivery-monitor/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/governance-spend-authority/denied.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/governance-spend-authority/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/property-lists/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/sales-broadcast-tv/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/sales-catalog-driven/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/sales-guaranteed/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/sales-non-guaranteed/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/sales-proposal-mode/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/sales-social/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/signal-marketplace/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/signal-marketplace/scenarios/governance_denied.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/signal-owned/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/specialisms/sponsored-intelligence/index.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-kits/acme-outdoor-live.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-kits/acme-outdoor.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-kits/billing-gate-runner.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-kits/bistro-oranje.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-kits/distributed-brand-runner.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-kits/nova-motors.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-kits/osei-natural.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-kits/parallel-dispatch-runner.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-kits/rate-limit-trip-runner.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-kits/signed-requests-runner.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-kits/single-side-trust-runner.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-kits/substitution-observer-runner.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-kits/summit-foods.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-kits/webhook-receiver-runner.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/catalog-macro-substitution.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/plan-hash/001-minimal-plan.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/plan-hash/002-full-plan.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/plan-hash/003-bookkeeping-stripped.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/plan-hash/004a-human-review-omitted.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/plan-hash/004b-human-review-explicit-null.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/plan-hash/005a-policy-categories-order-1.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/plan-hash/005b-policy-categories-order-2.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/plan-hash/006a-ext-trace-v1.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/plan-hash/006b-ext-trace-v2.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/plan-hash/007-unicode-objectives.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/plan-hash/008-numeric-canonicalization.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/README.md +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/canonicalization.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/keys.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/001-no-signature-header.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/002-wrong-tag.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/003-expired-signature.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/004-window-too-long.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/005-alg-not-allowed.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/006-missing-covered-component.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/007-missing-content-digest.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/008-unknown-keyid.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/009-key-ops-missing-verify.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/010-content-digest-mismatch.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/011-malformed-header.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/012-missing-expires-param.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/013-expires-le-created.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/014-missing-nonce-param.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/015-signature-invalid.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/016-replayed-nonce.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/017-key-revoked.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/018-digest-covered-when-forbidden.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/019-signature-without-signature-input.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/020-rate-abuse.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/021-duplicate-signature-input-label.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/022-multi-valued-content-type.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/023-multi-valued-content-digest.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/024-unquoted-string-param.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/025-jwk-alg-crv-mismatch.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/026-non-ascii-host.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/027-webhook-registration-authentication-unsigned.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/negative/028-unsigned-protocol-method-required.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/positive/001-basic-post.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/positive/002-post-with-content-digest.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/positive/003-es256-post.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/positive/004-multiple-signature-labels.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/positive/005-default-port-stripped.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/positive/006-dot-segment-path.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/positive/007-query-byte-preserved.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/positive/008-percent-encoded-path.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/positive/009-percent-encoded-unreserved-decoded.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/positive/010-percent-encoded-slash-preserved.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/positive/011-ipv6-authority.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/request-signing/positive/012-ipv6-authority-default-port-stripped.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-receiver-envelope.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/README.md +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/keys.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/negative/001-wrong-tag.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/negative/002-expired-signature.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/negative/003-window-too-long.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/negative/004-alg-not-allowed.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/negative/005-missing-authority-component.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/negative/006-missing-content-digest.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/negative/007-unknown-keyid.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/negative/008-wrong-adcp-use.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/negative/009-content-digest-mismatch.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/negative/010-malformed-signature-input.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/negative/011-signature-without-input.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/negative/012-missing-expires-param.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/negative/013-expires-le-created.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/negative/014-missing-nonce-param.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/negative/015-signature-invalid.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/negative/016-replayed-nonce.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/negative/017-key-revoked.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/negative/018-rate-abuse.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/negative/019-revocation-stale.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/negative/020-key-ops-missing-verify.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/negative/021-base64-alphabet-mixing.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/positive/001-basic-post.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/positive/002-es256-post.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/positive/003-multiple-signature-labels.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/positive/004-default-port-stripped.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/positive/005-percent-encoded-path.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/positive/006-query-byte-preserved.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/positive/007-body-without-idempotency-key.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/test-vectors/webhook-signing/positive/008-request-signing-key-reuse.json +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/billing-gate-dispatch.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/canonical-format-validate-input.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/capability-discovery.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/collection-lists-pagination-integrity.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/comply-controller-mode-gate.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/content-standards-pagination-integrity.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/deterministic-testing.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/error-compliance-signals.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/error-compliance.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/fictional-entities.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/get-media-buys-pagination-integrity.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/get-products-pagination-integrity.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/get-signals-pagination-integrity.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/idempotency.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/notification-config-event-scope.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/notification-config-lifecycle.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/notification-config-rejections.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/pagination-integrity-creative-formats.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/pagination-integrity-list-accounts.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/pagination-integrity.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/property-lists-pagination-integrity.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/read-tool-idempotency.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/schema-validation-signals.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/schema-validation.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/security.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/signed-requests.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/stale-response-advisory.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/v3-envelope-integrity.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/version-negotiation.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/webhook-emission.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/webhook-receiver-envelope.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/wholesale-feed-bulk-webhooks.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/wholesale-feed-product-webhooks.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/wholesale-feed-products.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/wholesale-feed-signal-webhooks.yaml +0 -0
- /package/compliance/cache/{3.1.8 → 3.1.11}/universal/wholesale-feed-signals.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/brand/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/brand/scenarios/distributed_brand_resolution.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/brand/scenarios/single_side_trust_extension.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/creative/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/creative/scenarios/billing_out_of_band.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/creative/scenarios/canonical_supported_formats.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/creative/scenarios/creative_lifecycle_webhooks.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/creative/scenarios/evaluator_auth.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/creative/scenarios/native_in_feed.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/governance/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/audience_buy_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/available_actions.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/billing_finality_delivery.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/canonical_formats.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/clicks_buy_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/completed_views_buy_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/create_media_buy_async.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/creative_reception.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/delivery_reporting.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/dependency_impairment.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/dependency_impairment_cardinality.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/event_dedup_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/frequency_cap_enforcement.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/get_products_async.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/governance_approved.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/governance_conditions.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/governance_denied.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/governance_denied_recovery.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/inline_creatives_without_sync.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/invalid_transitions.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/inventory_list_no_match.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/inventory_list_targeting.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/measurement_accountability.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/measurement_terms_rejected.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/package_correlation_legacy_fallback.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/pending_creatives_to_start.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/per_creative_conversion_attribution.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/performance_buy_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/performance_buy_flow_roas.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/pricing_currency_filter.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/product_signal_targeting.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/proposal_finalize.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/proposal_finalize_asap_timing.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/proposal_not_found_errors.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/provenance_audit_observation.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/provenance_enforcement.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/provenance_truth_of_claim.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/reach_buy_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/refine_finalize_exclusivity.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/refine_products.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/vendor_metric_accountability.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/vendor_metric_catalog_precondition.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/scenarios/vendor_metric_optimization_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/media-buy/state-machine.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/signals/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/signals/scenarios/get_signals_async.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/sponsored-intelligence/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/domains/sponsored-intelligence/sponsored-context-accountability.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/brand/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/brand/scenarios/distributed_brand_resolution.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/brand/scenarios/single_side_trust_extension.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/creative/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/creative/scenarios/billing_out_of_band.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/creative/scenarios/canonical_supported_formats.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/creative/scenarios/creative_lifecycle_webhooks.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/creative/scenarios/evaluator_auth.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/creative/scenarios/native_in_feed.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/governance/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/audience_buy_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/available_actions.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/billing_finality_delivery.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/canonical_formats.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/clicks_buy_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/completed_views_buy_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/create_media_buy_async.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/creative_reception.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/delivery_reporting.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/dependency_impairment.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/dependency_impairment_cardinality.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/event_dedup_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/frequency_cap_enforcement.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/get_products_async.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/governance_approved.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/governance_conditions.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/governance_denied.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/governance_denied_recovery.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/inline_creatives_without_sync.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/invalid_transitions.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/inventory_list_no_match.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/inventory_list_targeting.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/measurement_accountability.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/measurement_terms_rejected.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/package_correlation_legacy_fallback.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/pending_creatives_to_start.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/per_creative_conversion_attribution.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/performance_buy_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/performance_buy_flow_roas.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/pricing_currency_filter.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/product_signal_targeting.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/proposal_finalize.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/proposal_finalize_asap_timing.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/proposal_not_found_errors.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/provenance_audit_observation.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/provenance_enforcement.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/provenance_truth_of_claim.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/reach_buy_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/refine_finalize_exclusivity.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/refine_products.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/vendor_metric_accountability.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/vendor_metric_catalog_precondition.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/scenarios/vendor_metric_optimization_flow.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/media-buy/state-machine.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/signals/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/signals/scenarios/get_signals_async.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/sponsored-intelligence/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/protocols/sponsored-intelligence/sponsored-context-accountability.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/audience-sync/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/brand-rights/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/brand-rights/scenarios/governance_denied.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/collection-lists/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/content-standards/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/creative-ad-server/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/creative-generative/generative-seller.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/creative-generative/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/creative-template/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/creative-transformers/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/governance-aware-seller/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/governance-aware-seller/scenarios/governance_multi_agent_rejected.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/governance-delivery-monitor/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/governance-spend-authority/denied.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/governance-spend-authority/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/property-lists/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/sales-broadcast-tv/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/sales-catalog-driven/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/sales-guaranteed/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/sales-non-guaranteed/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/sales-proposal-mode/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/sales-social/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/signal-marketplace/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/signal-marketplace/scenarios/governance_denied.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/signal-owned/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/specialisms/sponsored-intelligence/index.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-kits/acme-outdoor-live.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-kits/acme-outdoor.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-kits/billing-gate-runner.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-kits/bistro-oranje.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-kits/distributed-brand-runner.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-kits/nova-motors.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-kits/osei-natural.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-kits/parallel-dispatch-runner.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-kits/rate-limit-trip-runner.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-kits/signed-requests-runner.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-kits/single-side-trust-runner.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-kits/substitution-observer-runner.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-kits/summit-foods.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-kits/webhook-receiver-runner.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/catalog-macro-substitution.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/plan-hash/001-minimal-plan.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/plan-hash/002-full-plan.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/plan-hash/003-bookkeeping-stripped.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/plan-hash/004a-human-review-omitted.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/plan-hash/004b-human-review-explicit-null.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/plan-hash/005a-policy-categories-order-1.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/plan-hash/005b-policy-categories-order-2.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/plan-hash/006a-ext-trace-v1.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/plan-hash/006b-ext-trace-v2.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/plan-hash/007-unicode-objectives.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/plan-hash/008-numeric-canonicalization.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/README.md +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/canonicalization.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/keys.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/001-no-signature-header.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/002-wrong-tag.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/003-expired-signature.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/004-window-too-long.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/005-alg-not-allowed.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/006-missing-covered-component.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/007-missing-content-digest.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/008-unknown-keyid.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/009-key-ops-missing-verify.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/010-content-digest-mismatch.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/011-malformed-header.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/012-missing-expires-param.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/013-expires-le-created.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/014-missing-nonce-param.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/015-signature-invalid.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/016-replayed-nonce.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/017-key-revoked.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/018-digest-covered-when-forbidden.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/019-signature-without-signature-input.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/020-rate-abuse.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/021-duplicate-signature-input-label.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/022-multi-valued-content-type.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/023-multi-valued-content-digest.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/024-unquoted-string-param.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/025-jwk-alg-crv-mismatch.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/026-non-ascii-host.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/027-webhook-registration-authentication-unsigned.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/negative/028-unsigned-protocol-method-required.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/positive/001-basic-post.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/positive/002-post-with-content-digest.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/positive/003-es256-post.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/positive/004-multiple-signature-labels.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/positive/005-default-port-stripped.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/positive/006-dot-segment-path.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/positive/007-query-byte-preserved.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/positive/008-percent-encoded-path.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/positive/009-percent-encoded-unreserved-decoded.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/positive/010-percent-encoded-slash-preserved.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/positive/011-ipv6-authority.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/request-signing/positive/012-ipv6-authority-default-port-stripped.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-receiver-envelope.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/README.md +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/keys.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/negative/001-wrong-tag.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/negative/002-expired-signature.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/negative/003-window-too-long.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/negative/004-alg-not-allowed.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/negative/005-missing-authority-component.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/negative/006-missing-content-digest.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/negative/007-unknown-keyid.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/negative/008-wrong-adcp-use.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/negative/009-content-digest-mismatch.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/negative/010-malformed-signature-input.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/negative/011-signature-without-input.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/negative/012-missing-expires-param.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/negative/013-expires-le-created.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/negative/014-missing-nonce-param.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/negative/015-signature-invalid.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/negative/016-replayed-nonce.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/negative/017-key-revoked.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/negative/018-rate-abuse.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/negative/019-revocation-stale.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/negative/020-key-ops-missing-verify.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/negative/021-base64-alphabet-mixing.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/positive/001-basic-post.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/positive/002-es256-post.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/positive/003-multiple-signature-labels.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/positive/004-default-port-stripped.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/positive/005-percent-encoded-path.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/positive/006-query-byte-preserved.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/positive/007-body-without-idempotency-key.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/test-vectors/webhook-signing/positive/008-request-signing-key-reuse.json +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/billing-gate-dispatch.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/canonical-format-validate-input.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/capability-discovery.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/collection-lists-pagination-integrity.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/comply-controller-mode-gate.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/content-standards-pagination-integrity.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/deterministic-testing.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/error-compliance-signals.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/error-compliance.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/fictional-entities.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/get-media-buys-pagination-integrity.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/get-products-pagination-integrity.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/get-signals-pagination-integrity.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/idempotency.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/notification-config-event-scope.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/notification-config-lifecycle.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/notification-config-rejections.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/pagination-integrity-creative-formats.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/pagination-integrity-list-accounts.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/pagination-integrity.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/property-lists-pagination-integrity.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/read-tool-idempotency.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/schema-validation-signals.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/schema-validation.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/security.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/signed-requests.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/stale-response-advisory.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/v3-envelope-integrity.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/version-negotiation.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/webhook-emission.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/webhook-receiver-envelope.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/wholesale-feed-bulk-webhooks.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/wholesale-feed-product-webhooks.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/wholesale-feed-products.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/wholesale-feed-signal-webhooks.yaml +0 -0
- /package/compliance/cache/{3.1.8.previous → 3.1.11.previous}/universal/wholesale-feed-signals.yaml +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/lib/core/AgentClient.ts"],"sourcesContent":["// Per-agent client wrapper with conversation context preservation\n\nimport type { Client as MCPClient } from '@modelcontextprotocol/sdk/client/index.js';\nimport { randomUUID } from 'node:crypto';\nimport type { AgentConfig } from '../types';\nimport type {\n MCPWebhookPayload,\n GetBrandIdentityRequest,\n GetBrandIdentityResponse,\n GetRightsRequest,\n GetRightsResponse,\n AcquireRightsRequest,\n AcquireRightsResponse,\n ContextMatchRequest,\n ContextMatchResponse,\n IdentityMatchRequest,\n IdentityMatchResponse,\n} from '../types/core.generated';\nimport type { Task as A2ATask, TaskStatusUpdateEvent } from '@a2a-js/sdk';\nimport {\n SingleAgentClient,\n type CanonicalReadTaskOptions,\n type CreativeDeliveryTaskOptions,\n type SingleAgentClientConfig,\n type SyncCreativesTaskOptions,\n type VerifyAndParseWebhookOptions,\n type WebhookParseResult,\n} from './SingleAgentClient';\nimport type { InputHandler, TaskOptions, TaskResult, TaskInfo, Message } from './ConversationTypes';\nimport type { AdcpCapabilities } from '../utils/capabilities';\nimport type { WebhookHeaderValue } from '../webhooks';\nimport type {\n GetProductsRequest,\n GetProductsResponse,\n ListCreativeFormatsRequest,\n ListCreativeFormatsResponse,\n CreateMediaBuyRequest,\n CreateMediaBuyResponse,\n UpdateMediaBuyRequest,\n UpdateMediaBuyResponse,\n SyncCreativesRequest,\n SyncCreativesResponse,\n ListCreativesRequest,\n ListCreativesResponse,\n GetMediaBuysRequest,\n GetMediaBuysResponse,\n GetMediaBuyDeliveryRequest,\n GetMediaBuyDeliveryResponse,\n GetCreativeDeliveryRequest,\n GetCreativeDeliveryResponse,\n ProvidePerformanceFeedbackRequest,\n ProvidePerformanceFeedbackResponse,\n GetSignalsRequest,\n GetSignalsResponse,\n ActivateSignalRequest,\n ActivateSignalResponse,\n GetAdCPCapabilitiesRequest,\n GetAdCPCapabilitiesResponse,\n PreviewCreativeRequest,\n PreviewCreativeResponse,\n BuildCreativeRequest,\n BuildCreativeResponse,\n ListAccountsRequest,\n ListAccountsResponse,\n SyncAccountsRequest,\n SyncAccountsResponse,\n SyncAudiencesRequest,\n SyncAudiencesResponse,\n CreatePropertyListRequest,\n CreatePropertyListResponse,\n GetPropertyListRequest,\n GetPropertyListResponse,\n UpdatePropertyListRequest,\n UpdatePropertyListResponse,\n ListPropertyListsRequest,\n ListPropertyListsResponse,\n DeletePropertyListRequest,\n DeletePropertyListResponse,\n ListContentStandardsRequest,\n ListContentStandardsResponse,\n GetContentStandardsRequest,\n GetContentStandardsResponse,\n CalibrateContentRequest,\n CalibrateContentResponse,\n ValidateContentDeliveryRequest,\n ValidateContentDeliveryResponse,\n SIGetOfferingRequest,\n SIGetOfferingResponse,\n SIInitiateSessionRequest,\n SIInitiateSessionResponse,\n SISendMessageRequest,\n SISendMessageResponse,\n SITerminateSessionRequest,\n SITerminateSessionResponse,\n CreateContentStandardsResponse,\n CreateContentStandardsRequest,\n SyncPlansRequest,\n SyncPlansResponse,\n CheckGovernanceRequest,\n CheckGovernanceResponse,\n ReportPlanOutcomeRequest,\n ReportPlanOutcomeResponse,\n GetPlanAuditLogsRequest,\n GetPlanAuditLogsResponse,\n ListTransformersRequest,\n ListTransformersResponse,\n} from '../types/tools.generated';\nimport type { MutatingRequestInput } from '../utils/idempotency';\nimport type { V1Product } from '../v2/projection/types';\nimport type { LegacyFormatConverter } from '../v2/projection/v1-to-v2';\nimport type { ProjectionCatalogSnapshot } from '../v2/projection/catalog-snapshot';\nimport type {\n CanonicalCreateMediaBuyRequest,\n CanonicalCreativeResponse,\n CanonicalGetProductsRequest,\n CanonicalGetProductsResponse,\n CanonicalListCreativesRequest,\n CanonicalListCreativesResponse,\n CanonicalProduct,\n CanonicalSyncCreativesRequest,\n CanonicalUpdateMediaBuyRequest,\n} from '../v2/projection/creative-delivery';\nexport type { CanonicalGetProductsResponse } from '../v2/projection/creative-delivery';\n\nexport type CanonicalProjectionTaskOptions = TaskOptions & {\n /** Migration escape hatch for seller-specific legacy refs absent from the bundled registry. */\n legacyFormatConverter?: LegacyFormatConverter;\n /** Pre-resolved exact-owner publisher/community catalogs, highest precedence first. */\n projectionCatalogs?: readonly ProjectionCatalogSnapshot[];\n};\n\n/**\n * Projection metadata attached to canonical `get_products` responses.\n *\n * Present whenever projection ran (the default). Portable projection\n * advisories are added to the standard `data.errors[]` array; this envelope\n * is a convenience view for SDK-local inspection. Absence of diagnostics means every product's\n * `format_options[]` is fully populated (clean catalog match) or was\n * already v2-shaped on the wire.\n */\n/**\n * @deprecated The primary SDK surface is canonical-only. Use\n * {@link CanonicalGetProductsResponse}. Raw legacy wire shapes remain\n * available only through the explicit `getProductsLegacy()` escape hatch.\n */\nexport type V2AugmentedGetProductsResponse = CanonicalGetProductsResponse;\n\n/**\n * Type mapping for task names to their response types\n * Enables type-safe generic executeTask() calls\n */\nexport type TaskResponseTypeMap = {\n get_products: CanonicalGetProductsResponse;\n create_media_buy: CanonicalCreativeResponse<CreateMediaBuyResponse>;\n update_media_buy: CanonicalCreativeResponse<UpdateMediaBuyResponse>;\n sync_creatives: CanonicalCreativeResponse<SyncCreativesResponse>;\n list_creatives: CanonicalListCreativesResponse;\n get_media_buys: CanonicalCreativeResponse<GetMediaBuysResponse>;\n get_media_buy_delivery: CanonicalCreativeResponse<GetMediaBuyDeliveryResponse>;\n get_creative_delivery: CanonicalCreativeResponse<GetCreativeDeliveryResponse>;\n provide_performance_feedback: ProvidePerformanceFeedbackResponse;\n get_signals: GetSignalsResponse;\n activate_signal: ActivateSignalResponse;\n get_adcp_capabilities: GetAdCPCapabilitiesResponse;\n list_accounts: ListAccountsResponse;\n sync_accounts: SyncAccountsResponse;\n sync_audiences: SyncAudiencesResponse;\n create_property_list: CreatePropertyListResponse;\n get_property_list: GetPropertyListResponse;\n update_property_list: UpdatePropertyListResponse;\n list_property_lists: ListPropertyListsResponse;\n delete_property_list: DeletePropertyListResponse;\n si_get_offering: SIGetOfferingResponse;\n si_initiate_session: SIInitiateSessionResponse;\n si_send_message: SISendMessageResponse;\n si_terminate_session: SITerminateSessionResponse;\n get_brand_identity: GetBrandIdentityResponse;\n sync_plans: SyncPlansResponse;\n check_governance: CheckGovernanceResponse;\n report_plan_outcome: ReportPlanOutcomeResponse;\n get_plan_audit_logs: GetPlanAuditLogsResponse;\n context_match: ContextMatchResponse;\n identity_match: IdentityMatchResponse;\n};\n\n/**\n * Valid ADCP task names\n */\nexport type AdcpTaskName = keyof TaskResponseTypeMap;\n\n/** Exact request mapping paired with {@link TaskResponseTypeMap}. */\nexport type TaskRequestTypeMap = {\n get_products: CanonicalGetProductsRequest;\n create_media_buy: MutatingRequestInput<CanonicalCreateMediaBuyRequest>;\n update_media_buy: MutatingRequestInput<CanonicalUpdateMediaBuyRequest>;\n sync_creatives: MutatingRequestInput<CanonicalSyncCreativesRequest>;\n list_creatives: CanonicalListCreativesRequest;\n get_media_buys: GetMediaBuysRequest;\n get_media_buy_delivery: GetMediaBuyDeliveryRequest;\n get_creative_delivery: GetCreativeDeliveryRequest;\n provide_performance_feedback: MutatingRequestInput<ProvidePerformanceFeedbackRequest>;\n get_signals: GetSignalsRequest;\n activate_signal: MutatingRequestInput<ActivateSignalRequest>;\n get_adcp_capabilities: GetAdCPCapabilitiesRequest;\n list_accounts: ListAccountsRequest;\n sync_accounts: MutatingRequestInput<SyncAccountsRequest>;\n sync_audiences: MutatingRequestInput<SyncAudiencesRequest>;\n create_property_list: MutatingRequestInput<CreatePropertyListRequest>;\n get_property_list: GetPropertyListRequest;\n update_property_list: MutatingRequestInput<UpdatePropertyListRequest>;\n list_property_lists: ListPropertyListsRequest;\n delete_property_list: MutatingRequestInput<DeletePropertyListRequest>;\n si_get_offering: SIGetOfferingRequest;\n si_initiate_session: MutatingRequestInput<SIInitiateSessionRequest>;\n si_send_message: MutatingRequestInput<SISendMessageRequest>;\n si_terminate_session: SITerminateSessionRequest;\n get_brand_identity: GetBrandIdentityRequest;\n sync_plans: MutatingRequestInput<SyncPlansRequest>;\n check_governance: CheckGovernanceRequest;\n report_plan_outcome: MutatingRequestInput<ReportPlanOutcomeRequest>;\n get_plan_audit_logs: GetPlanAuditLogsRequest;\n context_match: ContextMatchRequest;\n identity_match: IdentityMatchRequest;\n};\n\nexport type TaskRequestFor<K extends AdcpTaskName> = TaskRequestTypeMap[K];\n\n/**\n * Configuration for `AgentClient.fromMCPClient()`.\n *\n * A narrowed subset of `SingleAgentClientConfig` — only includes options that\n * are meaningful for in-process transport. HTTP-only fields (`userAgent`, `headers`,\n * `webhookUrlTemplate`, OAuth paths) are excluded because they have no effect when\n * the client dispatches directly to an in-process MCP `Client`.\n *\n * The fields you most likely want:\n * - `validation` — `requests`/`responses` validation mode (`strict` | `warn` | `off`)\n * - `governance` — buyer-side governance config\n * - `requireV3ForMutations` — enforce AdCP v3 before dispatching mutating tools\n */\nexport type InProcessAgentClientConfig = Pick<\n SingleAgentClientConfig,\n | 'adcpVersion'\n | 'versionEnvelope'\n | 'debug'\n | 'validation'\n | 'governance'\n | 'onActivity'\n | 'legacyFormatConverter'\n | 'projectionCatalogs'\n | 'canonicalFormatLegacyResolver'\n | 'validateFeatures'\n | 'requireV3ForMutations'\n | 'allowV2'\n | 'workingTimeout'\n | 'defaultMaxClarifications'\n | 'persistConversations'\n> & {\n /**\n * Human-readable name for this agent, used in debug logs and\n * `getAgentName()`. Defaults to `'in-process'`.\n */\n agentName?: string;\n /**\n * Stable identifier for this agent, used in `getAgentId()`.\n * Defaults to a random string prefixed with `'in-process-'`.\n */\n agentId?: string;\n};\n\n/**\n * Task result states where the server is still holding the task open. While\n * the last response was in one of these states the AgentClient retains the\n * server-returned `taskId` so a follow-up call can resume the same\n * server-side task (HITL approvals, long-running workflows).\n */\nconst NON_TERMINAL_STATES: ReadonlySet<string> = new Set([\n 'working',\n 'input-required',\n 'submitted',\n 'auth-required',\n 'deferred',\n]);\n\n/**\n * Per-agent client that maintains conversation context across calls.\n *\n * **One AgentClient per conversation.** The client retains `contextId` and\n * `pendingTaskId` in-memory so subsequent calls ride the same A2A session.\n * Sharing an AgentClient across concurrent conversations will interleave\n * their contexts (last-write-wins). Create a fresh AgentClient — or call\n * {@link resetContext} — per logical conversation.\n *\n * **Resume across process restart** — persist `getContextId()` after a\n * non-terminal response and pass it to `resetContext(id)` on rehydration.\n * The server will route the next call back to the same session.\n */\n/**\n * Retained server-side task handle. Paired with the `contextId` and skill\n * name under which it was returned so {@link AgentClient.withSession} only\n * auto-threads it when the next call is plausibly a continuation of the\n * SAME task (same skill, same conversation). A different skill or switched\n * contextId signals new work — sending the retained handle in that case\n * produces \"Task not found\" against spec-compliant A2A sellers (per A2A\n * 0.3.0 §3.4 — Message.taskId continues the parent task).\n */\ninterface PendingTaskHandle {\n taskId: string;\n contextId: string;\n taskName: string;\n}\n\nexport class AgentClient {\n private client: SingleAgentClient;\n private currentContextId?: string;\n private pendingTask?: PendingTaskHandle;\n private readonly _isInProcess: boolean;\n\n constructor(\n private agent: AgentConfig,\n private config: SingleAgentClientConfig = {}\n ) {\n this.client = new SingleAgentClient(agent, config);\n this._isInProcess = agent._inProcessMcpClient !== undefined;\n }\n\n /**\n * Internal access to the underlying `TaskExecutor`. Used by the storyboard\n * runner's `pollTaskCompletion` race so it can poll AdCP `tasks/get` against\n * the agent's transport (see `src/lib/testing/storyboard/runner.ts`'s\n * `resolveTaskCompletionOutputs`). Without this surface the runner sees\n * `executor: undefined` on AgentClient and silently falls back to webhook-\n * only racing — which times out for storyboard fixtures that don't address\n * a runner-controlled webhook URL.\n *\n * Not part of the documented client API; production code goes through the\n * tool-specific methods on `AgentClient` / `AdCPClient`. The shape may\n * change without notice if the runner's polling contract evolves.\n *\n * @internal\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- runtime-internal accessor\n get executor(): any {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- reach-through to the underlying executor\n return (this.client as any).executor;\n }\n\n /**\n * Returns the AdCP protocol version this client speaks. Mirrors\n * `SingleAgentClient.getAdcpVersion()`. See {@link SingleAgentClientConfig.adcpVersion}.\n */\n getAdcpVersion(): string {\n return this.client.getAdcpVersion();\n }\n\n /**\n * Create an `AgentClient` backed by a pre-connected MCP `Client` instead of\n * an HTTP endpoint. Useful for in-process compliance testing without spinning\n * up a loopback HTTP server.\n *\n * **MCP only.** This factory wraps an MCP `Client` from\n * `@modelcontextprotocol/sdk`. There is no equivalent in-process bridge for\n * A2A today — for A2A agents, run them on a loopback HTTP server and use the\n * standard `AgentClient` constructor with the agent's `agent_uri`.\n *\n * **What this gives you over `dispatchTestRequest`:**\n * All client-side pipeline stages still apply — idempotency key auto-injection,\n * request/response schema validation hooks, governance middleware, and the typed\n * `TaskResult<T>` discriminated-union response shape. None of these apply when\n * calling `dispatchTestRequest()` directly.\n *\n * **Usage:**\n * ```ts\n * import { Client } from '@modelcontextprotocol/sdk/client/index.js';\n * import { InMemoryTransport } from '@modelcontextprotocol/sdk/inMemory.js';\n * import { AgentClient } from '@adcp/sdk';\n *\n * const [clientTransport, serverTransport] = InMemoryTransport.createLinkedPair();\n * const mcpClient = new Client({ name: 'test', version: '1.0.0' });\n * await Promise.all([\n * mcpClient.connect(clientTransport),\n * adcpServer.connect(serverTransport),\n * ]);\n *\n * const agent = AgentClient.fromMCPClient(mcpClient, {\n * validation: { requests: 'strict' },\n * });\n * const result = await agent.createMediaBuy({ ... });\n * ```\n *\n * **Unsupported methods on in-process instances:** `resolveCanonicalUrl`,\n * `getWebhookUrl`, `registerWebhook`, `unregisterWebhook` — these require HTTP\n * and will throw `Error` with a descriptive message. Use `getAgentId()` /\n * `getAgentName()` for identification instead.\n *\n * @param mcpClient - An already-connected MCP `Client` (see example above).\n * @param config - Optional narrowed config. HTTP-only fields are excluded.\n */\n static fromMCPClient(mcpClient: MCPClient, config: InProcessAgentClientConfig = {}): AgentClient {\n // Reject pre-connect clients up front — MCP `Client.transport` is only set\n // after `client.connect(transport)` resolves. A pre-connect client would\n // fail later inside `listTools()`/`callTool()` with an opaque error; the\n // up-front check produces a clean failure pointing at the construction site.\n if ((mcpClient as { transport?: unknown }).transport === undefined) {\n throw new Error(\n 'AgentClient.fromMCPClient: the supplied MCP Client is not connected. ' +\n 'Call `await client.connect(transport)` before passing it here.'\n );\n }\n const { agentName, agentId, ...rest } = config;\n // Use randomUUID for collision resistance — the agent ID feeds session\n // routing so a debug-label collision (~65k via Math.random base36) could\n // alias two distinct in-process agents in a concurrent test fleet.\n const id = agentId ?? `in-process-${randomUUID()}`;\n // The `adcp-in-process://` scheme is parseable as a URL so existing\n // url-validation paths don't crash, but distinguishable from real http(s)\n // so the SDK skips network discovery + SSRF checks. The protocol layer\n // routes on the presence of `_inProcessMcpClient`, not the URI shape.\n const syntheticAgent: AgentConfig = {\n id,\n name: agentName ?? 'in-process',\n agent_uri: `adcp-in-process://${id}`,\n protocol: 'mcp',\n _inProcessMcpClient: mcpClient,\n };\n return new AgentClient(syntheticAgent, rest as SingleAgentClientConfig);\n }\n\n /**\n * Absorb the session ids the server returned on `result.metadata`:\n * retain `contextId` whenever one is present, and retain a\n * `PendingTaskHandle` (taskId + contextId + skill name) only while the\n * response was non-terminal. Terminal responses clear `pendingTask` so\n * the next call starts a fresh server-side task.\n *\n * The `deferred` case is deliberately asymmetric: deferred results don't\n * surface a new `serverTaskId` on metadata (the caller holds a resume\n * token, not a task-id), so the partial-metadata guard preserves the\n * pre-defer handle — which is exactly what a later resume needs.\n */\n private retainSession<T>(result: TaskResult<T>): void {\n const meta = result.metadata;\n if (meta?.contextId) {\n this.currentContextId = meta.contextId;\n }\n if (NON_TERMINAL_STATES.has(meta?.status as string)) {\n if (meta?.serverTaskId && meta?.contextId && meta?.taskName) {\n this.pendingTask = {\n taskId: meta.serverTaskId,\n contextId: meta.contextId,\n taskName: meta.taskName,\n };\n }\n // Partial metadata preserves the pre-existing handle. Two distinct\n // cases land here: (1) the deferred resume-token path, where the\n // server intentionally omits a new `serverTaskId`; (2) a non-spec\n // A2A Task that lacks `contextId` or surfaces no `taskName` — by\n // design those are NOT retained as a fresh handle, since auto-\n // threading a partially-keyed taskId into a future call is exactly\n // the leak class #1590 narrows.\n } else {\n this.pendingTask = undefined;\n }\n }\n\n /**\n * Merge the caller's `TaskOptions` with the retained session ids so the\n * outbound request carries whatever session continuity is in scope.\n * Caller-supplied ids win (explicit > implicit); unset caller fields fall\n * back to the retained ones.\n *\n * **Auto-threading the retained taskId is narrowed.** Per A2A 0.3.0 §3.4,\n * `Message.taskId` continues the parent task — sending it implies \"this\n * message belongs to that task.\" We auto-thread `pendingTask.taskId` only\n * when the next call is plausibly a continuation: same skill name AND\n * same effective contextId. A different skill (different work) or a\n * switched contextId signals new work; the retained handle is stale, and\n * sending it produces \"Task not found\" against spec-compliant sellers.\n *\n * HITL flows (e.g., `createMediaBuy` → `input-required` → `createMediaBuy`\n * resume) match same-skill same-context and continue to thread as before.\n * Cross-skill or cross-conversation reuse of one `AgentClient` no longer\n * leaks taskIds — see #1585 / #1590 for the motivating compliance scenario.\n */\n private withSession(taskName: string, options?: TaskOptions): TaskOptions {\n const explicitSwitch = options?.contextId !== undefined && options.contextId !== this.currentContextId;\n const effectiveContextId = options?.contextId ?? this.currentContextId;\n const continuation =\n !explicitSwitch &&\n this.pendingTask !== undefined &&\n this.pendingTask.contextId === effectiveContextId &&\n this.pendingTask.taskName === taskName;\n return {\n ...options,\n contextId: effectiveContextId,\n taskId: options?.taskId ?? (continuation ? this.pendingTask?.taskId : undefined),\n };\n }\n\n /**\n * Handle webhook from agent (async task completion or notifications)\n *\n * @param payload - Webhook payload from agent\n * @param taskType - Task type (e.g create_media_buy) from url param or url part of the webhook delivery\n * @param operationId - Operation id (e.g used for client app to track the operation) from the param or url part of the webhook delivery\n * @param signature - Optional signature for verification (X-ADCP-Signature)\n * @param timestamp - Optional timestamp for verification (X-ADCP-Timestamp)\n * @param taskType - Task type from URL path (e.g., 'create_media_buy')\n * @returns Whether webhook was handled successfully\n */\n async handleWebhook(\n payload: MCPWebhookPayload | A2ATask | TaskStatusUpdateEvent,\n taskType: string,\n operationId: string,\n signature?: WebhookHeaderValue,\n timestamp?: WebhookHeaderValue,\n rawBody?: string | Buffer | Uint8Array\n ): Promise<boolean> {\n return this.client.handleWebhook(payload, taskType, operationId, signature, timestamp, rawBody);\n }\n\n /**\n * Verify and normalize an inbound webhook without dispatching handlers.\n */\n async verifyAndParseWebhook(options: VerifyAndParseWebhookOptions): Promise<WebhookParseResult> {\n return this.client.verifyAndParseWebhook(options);\n }\n\n /**\n * Verify webhook signature using HMAC-SHA256 per AdCP spec.\n *\n * Prefer passing the raw HTTP body string for correct cross-language interop.\n * Passing a parsed object still works but re-serializes with JSON.stringify,\n * which may not match the sender's byte representation.\n *\n * @param rawBodyOrPayload - Raw HTTP body string (preferred) or parsed payload object (deprecated)\n * @param signature - X-ADCP-Signature header value (format: \"sha256=...\")\n * @param timestamp - X-ADCP-Timestamp header value (Unix timestamp)\n * @returns true if signature is valid\n */\n verifyWebhookSignature(\n rawBodyOrPayload: string | Buffer | Uint8Array | unknown,\n signature: WebhookHeaderValue,\n timestamp: WebhookHeaderValue\n ): boolean {\n return this.client.verifyWebhookSignature(rawBodyOrPayload, signature, timestamp);\n }\n\n // ====== MEDIA BUY TASKS ======\n\n /**\n * Discover available advertising products.\n *\n * Response products expose only canonical `format_options[]`, regardless of\n * the seller's negotiated wire version. The SDK performs any required legacy\n * translation below this public boundary.\n *\n * Projection failures surface portably on `result.data.errors[]` and are\n * also mirrored on `result.data.projection.diagnostics` (structured\n * `source: 'sdk'` markers; codes mirror the spec's error-code\n * vocabulary plus three SDK-local codes — see the projection\n * module's `ProjectionDiagnostic` type for the full set).\n *\n * Protocol tooling that must inspect raw seller emission uses the explicit\n * deprecated `getProductsLegacy()` method.\n */\n async getProducts(\n params: CanonicalGetProductsRequest,\n inputHandler?: InputHandler,\n options?: CanonicalProjectionTaskOptions\n ): Promise<TaskResult<CanonicalGetProductsResponse>> {\n const result = await this.client.getProducts(params, inputHandler, {\n ...options,\n ...this.withSession('get_products', options),\n });\n\n this.retainSession(result);\n return result;\n }\n\n /** @deprecated Explicit raw-wire escape hatch for migration tooling. */\n async getProductsLegacy(\n params: GetProductsRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<GetProductsResponse>> {\n const result = await this.client.getProductsLegacy(params, inputHandler, {\n ...this.withSession('get_products', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /** @deprecated Migration-only access to a legacy named-format catalog. */\n async listCreativeFormatsLegacy(\n params: ListCreativeFormatsRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<ListCreativeFormatsResponse>> {\n const result = await this.client.listCreativeFormatsLegacy(params, inputHandler, {\n ...this.withSession('list_creative_formats', options),\n });\n\n this.retainSession(result);\n\n return result;\n }\n\n /** @deprecated Migration-only access to legacy creative transformer declarations. */\n async listTransformersLegacy(\n params: ListTransformersRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<ListTransformersResponse>> {\n const result = await this.client.listTransformersLegacy(params, inputHandler, {\n ...this.withSession('list_transformers', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Create a new media buy.\n *\n * Discover canonical `format_options[]` with `getProducts()`, select a\n * `format_option_id`, and send only canonical package and creative fields.\n * Compatibility translation for an older seller happens below this method.\n *\n * ```ts\n * const { data: { products } } = await agent.getProducts({ brief: '...' });\n * const product = products[0];\n * const format = product.format_options[0];\n *\n * await agent.createMediaBuy({\n * packages: [{\n * package_id: 'pkg-1',\n * product_id: product.product_id,\n * pricing_option_id: product.pricing_options[0].pricing_option_id,\n * format_option_refs: [{\n * scope: 'product',\n * format_option_id: format.format_option_id\n * }],\n * creatives: [{\n * creative_id: 'hero',\n * format_kind: format.format_kind,\n * format_option_ref: {\n * scope: 'product',\n * format_option_id: format.format_option_id\n * },\n * assets: { image: { url: 'https://cdn.example/hero.png' } }\n * }],\n * budget: { currency: 'USD', total: 5000 },\n * }],\n * // ...\n * });\n * ```\n *\n * **Inline creative fallback.** Sellers that do not advertise a creative\n * library (`supportsSyncCreatives(await agent.getCapabilities()) === false`)\n * can still accept package-scoped creative uploads when they advertise\n * `caps.features.inlineCreativeManagement`. Use\n * `inlineCreativesForPackages(packages, creatives, { assignments })` to\n * project `sync_creatives`-style creative assets into create-media-buy\n * package payloads without rewriting a raw `sync_creatives` call. If using\n * assignments for create payloads, give each package a stable key such as\n * `context.buyer_ref`, or pass a custom `packageId` resolver.\n *\n * Existing applications that still hold old named-format payloads must opt\n * into `createMediaBuyLegacy()` explicitly.\n */\n async createMediaBuy(\n params: MutatingRequestInput<CanonicalCreateMediaBuyRequest>,\n inputHandler?: InputHandler,\n options?: CreativeDeliveryTaskOptions\n ): Promise<TaskResult<CanonicalCreativeResponse<CreateMediaBuyResponse>>> {\n const result = await this.client.createMediaBuy(params, inputHandler, {\n ...this.withSession('create_media_buy', options),\n });\n\n this.retainSession(result);\n\n return result;\n }\n\n /** @deprecated Use `createMediaBuy`; this explicit compatibility surface accepts legacy creative `format_id`. */\n async createMediaBuyLegacy(\n params: MutatingRequestInput<CreateMediaBuyRequest>,\n inputHandler?: InputHandler,\n options?: CreativeDeliveryTaskOptions\n ): Promise<TaskResult<CreateMediaBuyResponse>> {\n const result = await this.client.createMediaBuyLegacy(params, inputHandler, {\n ...this.withSession('create_media_buy', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Update an existing media buy.\n *\n * For sellers without a creative library but with\n * `caps.features.inlineCreativeManagement`, post-create creative replacement\n * can be represented as package-scoped inline `packages[].creatives` on this\n * request. Build the package patch with `inlineCreativesForPackages()` and\n * preflight it with `preflightUpdateMediaBuy(currentBuy, patch)` so\n * `available_actions[]` allows `replace_creative` before dispatch.\n * Use `format_kind` and `format_option_ref` for every creative in the patch;\n * the SDK handles any negotiated compatibility conversion.\n */\n async updateMediaBuy(\n params: MutatingRequestInput<CanonicalUpdateMediaBuyRequest>,\n inputHandler?: InputHandler,\n options?: CreativeDeliveryTaskOptions\n ): Promise<TaskResult<CanonicalCreativeResponse<UpdateMediaBuyResponse>>> {\n const result = await this.client.updateMediaBuy(params, inputHandler, {\n ...this.withSession('update_media_buy', options),\n });\n\n this.retainSession(result);\n\n return result;\n }\n\n /** @deprecated Use `updateMediaBuy`; this explicit compatibility surface accepts legacy creative `format_id`. */\n async updateMediaBuyLegacy(\n params: MutatingRequestInput<UpdateMediaBuyRequest>,\n inputHandler?: InputHandler,\n options?: CreativeDeliveryTaskOptions\n ): Promise<TaskResult<UpdateMediaBuyResponse>> {\n const result = await this.client.updateMediaBuyLegacy(params, inputHandler, {\n ...this.withSession('update_media_buy', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Sync creative assets into the seller's reusable creative library.\n *\n * This is library-scoped: assignments can reference packages, but a raw\n * `sync_creatives` request does not contain enough media-buy context for the\n * SDK to safely rewrite it into inline package creatives. When the seller\n * lacks `creative.has_creative_library` but does advertise\n * `media_buy.features.inline_creative_management`, use\n * `inlineCreativesForPackages()` with explicit package/media-buy context and\n * send a separate `create_media_buy` or `update_media_buy` request with its\n * own idempotency key. If neither capability is advertised, creative upload\n * is not available through this SDK helper surface.\n *\n * A sync request does not carry product declarations. When compatibility\n * translation needs seller selection metadata, pass\n * `options.creativeFormatProjection.selectorContainers` with the routed\n * package/product selectors. Assignments scope each creative to its package.\n */\n async syncCreatives(\n params: MutatingRequestInput<CanonicalSyncCreativesRequest>,\n inputHandler?: InputHandler,\n options?: SyncCreativesTaskOptions\n ): Promise<TaskResult<CanonicalCreativeResponse<SyncCreativesResponse>>> {\n const result = await this.client.syncCreatives(params, inputHandler, {\n ...this.withSession('sync_creatives', options),\n });\n\n this.retainSession(result);\n\n return result;\n }\n\n /** @deprecated Use `syncCreatives`; this explicit compatibility surface accepts legacy creative `format_id`. */\n async syncCreativesLegacy(\n params: MutatingRequestInput<SyncCreativesRequest>,\n inputHandler?: InputHandler,\n options?: SyncCreativesTaskOptions\n ): Promise<TaskResult<SyncCreativesResponse>> {\n const result = await this.client.syncCreativesLegacy(params, inputHandler, {\n ...this.withSession('sync_creatives', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * List creative assets\n */\n async listCreatives(\n params: CanonicalListCreativesRequest,\n inputHandler?: InputHandler,\n options?: CanonicalProjectionTaskOptions\n ): Promise<TaskResult<CanonicalListCreativesResponse>> {\n const result = await this.client.listCreatives(params, inputHandler, {\n ...options,\n ...this.withSession('list_creatives', options),\n });\n\n this.retainSession(result);\n return result;\n }\n\n /**\n * Return the unprojected `list_creatives` wire response.\n *\n * @deprecated Compatibility-only escape hatch for migration and protocol tooling.\n */\n async listCreativesLegacy(\n params: ListCreativesRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<ListCreativesResponse>> {\n const result = await this.client.listCreativesLegacy(params, inputHandler, {\n ...this.withSession('list_creatives', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Get media buy status, creative approvals, and optional delivery snapshots\n */\n async getMediaBuys(\n params: GetMediaBuysRequest,\n inputHandler?: InputHandler,\n options?: CanonicalReadTaskOptions\n ): Promise<TaskResult<CanonicalCreativeResponse<GetMediaBuysResponse>>> {\n const result = await this.client.getMediaBuys(params, inputHandler, {\n ...this.withSession('get_media_buys', options),\n });\n\n this.retainSession(result);\n\n return result;\n }\n\n /**\n * Get media buy delivery information\n */\n async getMediaBuyDelivery(\n params: GetMediaBuyDeliveryRequest,\n inputHandler?: InputHandler,\n options?: CanonicalReadTaskOptions\n ): Promise<TaskResult<CanonicalCreativeResponse<GetMediaBuyDeliveryResponse>>> {\n const result = await this.client.getMediaBuyDelivery(params, inputHandler, {\n ...this.withSession('get_media_buy_delivery', options),\n });\n\n this.retainSession(result);\n\n return result;\n }\n\n /** Retrieve canonical creative-level and variant-level delivery metrics. */\n async getCreativeDelivery(\n params: GetCreativeDeliveryRequest,\n inputHandler?: InputHandler,\n options?: CanonicalProjectionTaskOptions\n ): Promise<TaskResult<CanonicalCreativeResponse<GetCreativeDeliveryResponse>>> {\n const result = await this.client.getCreativeDelivery(params, inputHandler, {\n ...options,\n ...this.withSession('get_creative_delivery', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Provide performance feedback\n */\n async providePerformanceFeedback(\n params: MutatingRequestInput<ProvidePerformanceFeedbackRequest>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<ProvidePerformanceFeedbackResponse>> {\n const result = await this.client.providePerformanceFeedback(params, inputHandler, {\n ...this.withSession('provide_performance_feedback', options),\n });\n\n this.retainSession(result);\n\n return result;\n }\n\n // ====== SIGNALS TASKS ======\n\n /**\n * Get audience signals\n */\n async getSignals(\n params: GetSignalsRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<GetSignalsResponse>> {\n const result = await this.client.getSignals(params, inputHandler, this.withSession('get_signals', options));\n\n this.retainSession(result);\n\n return result;\n }\n\n /**\n * Activate audience signals\n */\n async activateSignal(\n params: MutatingRequestInput<ActivateSignalRequest>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<ActivateSignalResponse>> {\n const result = await this.client.activateSignal(params, inputHandler, {\n ...this.withSession('activate_signal', options),\n });\n\n this.retainSession(result);\n\n return result;\n }\n\n // ====== PROTOCOL TASKS ======\n\n /**\n * Get AdCP capabilities (v3 tool call)\n */\n async getAdcpCapabilities(\n params: GetAdCPCapabilitiesRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<GetAdCPCapabilitiesResponse>> {\n const result = await this.client.getAdcpCapabilities(params, inputHandler, {\n ...this.withSession('get_adcp_capabilities', options),\n });\n\n this.retainSession(result);\n\n return result;\n }\n\n /**\n * Get normalized capabilities with v2/v3 fallback\n *\n * For v3 servers: calls get_adcp_capabilities tool\n * For v2 servers: builds synthetic capabilities from tool list\n */\n async getCapabilities(options?: Pick<TaskOptions, 'signal' | 'transport'>): Promise<AdcpCapabilities> {\n return this.client.getCapabilities(options);\n }\n\n /**\n * Return the seller's declared `adcp.idempotency.replay_ttl_seconds`, or\n * throw when a v3 seller omits the (required) declaration.\n *\n * Returns `undefined` for v2 agents — v2 pre-dates the idempotency envelope.\n */\n async getIdempotencyReplayTtlSeconds(): Promise<number | undefined> {\n return this.client.getIdempotencyReplayTtlSeconds();\n }\n\n /**\n * Assert that the seller's capabilities corroborate this client's pinned\n * AdCP major (per `getAdcpVersion()`). Throws `VersionUnsupportedError`\n * otherwise. Set `ADCP_ALLOW_V2=1` to bypass.\n */\n async requireSupportedMajor(taskType: string = 'request'): Promise<void> {\n return this.client.requireSupportedMajor(taskType);\n }\n\n /**\n * Deprecated alias for {@link requireSupportedMajor}.\n * @deprecated Use `requireSupportedMajor()` instead.\n */\n async requireV3(taskType: string = 'request'): Promise<void> {\n return this.client.requireSupportedMajor(taskType);\n }\n\n /** @deprecated Migration-only access to legacy `format_id`-based creative preview. */\n async previewCreativeLegacy(\n params: PreviewCreativeRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<PreviewCreativeResponse>> {\n const result = await this.client.previewCreativeLegacy(params, inputHandler, {\n ...this.withSession('preview_creative', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /** @deprecated Migration-only access to legacy `target_format_id`-based creative building. */\n async buildCreativeLegacy(\n params: MutatingRequestInput<BuildCreativeRequest>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<BuildCreativeResponse>> {\n const result = await this.client.buildCreativeLegacy(params, inputHandler, {\n ...this.withSession('build_creative', options),\n });\n this.retainSession(result);\n return result;\n }\n\n // ====== ACCOUNT & AUDIENCE TASKS ======\n\n /**\n * List accounts\n */\n async listAccounts(\n params: ListAccountsRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<ListAccountsResponse>> {\n const result = await this.client.listAccounts(params, inputHandler, {\n ...this.withSession('list_accounts', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Sync accounts\n */\n async syncAccounts(\n params: MutatingRequestInput<SyncAccountsRequest>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<SyncAccountsResponse>> {\n const result = await this.client.syncAccounts(params, inputHandler, {\n ...this.withSession('sync_accounts', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Sync audiences\n */\n async syncAudiences(\n params: MutatingRequestInput<SyncAudiencesRequest>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<SyncAudiencesResponse>> {\n const result = await this.client.syncAudiences(params, inputHandler, {\n ...this.withSession('sync_audiences', options),\n });\n this.retainSession(result);\n return result;\n }\n\n // ====== GOVERNANCE TASKS ======\n\n /**\n * Create a property list\n */\n async createPropertyList(\n params: MutatingRequestInput<CreatePropertyListRequest>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<CreatePropertyListResponse>> {\n const result = await this.client.createPropertyList(params, inputHandler, {\n ...this.withSession('create_property_list', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Get a property list\n */\n async getPropertyList(\n params: GetPropertyListRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<GetPropertyListResponse>> {\n const result = await this.client.getPropertyList(params, inputHandler, {\n ...this.withSession('get_property_list', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Update a property list\n */\n async updatePropertyList(\n params: MutatingRequestInput<UpdatePropertyListRequest>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<UpdatePropertyListResponse>> {\n const result = await this.client.updatePropertyList(params, inputHandler, {\n ...this.withSession('update_property_list', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * List property lists\n */\n async listPropertyLists(\n params: ListPropertyListsRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<ListPropertyListsResponse>> {\n const result = await this.client.listPropertyLists(params, inputHandler, {\n ...this.withSession('list_property_lists', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Delete a property list\n */\n async deletePropertyList(\n params: MutatingRequestInput<DeletePropertyListRequest>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<DeletePropertyListResponse>> {\n const result = await this.client.deletePropertyList(params, inputHandler, {\n ...this.withSession('delete_property_list', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * List content standards\n */\n async listContentStandardsLegacy(\n params: ListContentStandardsRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<ListContentStandardsResponse>> {\n const result = await this.client.listContentStandardsLegacy(params, inputHandler, {\n ...this.withSession('list_content_standards', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Get content standards\n */\n async getContentStandardsLegacy(\n params: GetContentStandardsRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<GetContentStandardsResponse>> {\n const result = await this.client.getContentStandardsLegacy(params, inputHandler, {\n ...this.withSession('get_content_standards', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Calibrate content against standards\n */\n async calibrateContentLegacy(\n params: MutatingRequestInput<CalibrateContentRequest>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<CalibrateContentResponse>> {\n const result = await this.client.calibrateContentLegacy(params, inputHandler, {\n ...this.withSession('calibrate_content', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Validate content delivery\n */\n async validateContentDeliveryLegacy(\n params: ValidateContentDeliveryRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<ValidateContentDeliveryResponse>> {\n const result = await this.client.validateContentDeliveryLegacy(params, inputHandler, {\n ...this.withSession('validate_content_delivery', options),\n });\n this.retainSession(result);\n return result;\n }\n\n // ====== SPONSORED INTELLIGENCE TASKS ======\n\n /**\n * Get an SI offering\n */\n async siGetOffering(\n params: SIGetOfferingRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<SIGetOfferingResponse>> {\n const result = await this.client.siGetOffering(params, inputHandler, {\n ...this.withSession('si_get_offering', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Initiate an SI session\n */\n async siInitiateSession(\n params: MutatingRequestInput<SIInitiateSessionRequest>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<SIInitiateSessionResponse>> {\n const result = await this.client.siInitiateSession(params, inputHandler, {\n ...this.withSession('si_initiate_session', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Send a message in an SI session\n */\n async siSendMessage(\n params: MutatingRequestInput<SISendMessageRequest>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<SISendMessageResponse>> {\n const result = await this.client.siSendMessage(params, inputHandler, {\n ...this.withSession('si_send_message', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Terminate an SI session\n */\n async siTerminateSession(\n params: SITerminateSessionRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<SITerminateSessionResponse>> {\n const result = await this.client.siTerminateSession(params, inputHandler, {\n ...this.withSession('si_terminate_session', options),\n });\n this.retainSession(result);\n return result;\n }\n\n // ====== CONVERSATION MANAGEMENT ======\n\n /**\n * Continue the conversation with a natural language message\n *\n * @param message - Natural language message to send to the agent\n * @param inputHandler - Handler for any clarification requests\n *\n * @example\n * ```typescript\n * const agent = multiClient.agent('my-agent');\n * await agent.getProducts({ brief: 'Tech products' });\n *\n * // Continue the conversation\n * const refined = await agent.continueConversation(\n * 'Focus only on laptops under $1000'\n * );\n * ```\n */\n async continueConversation<T = any>(\n message: string,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<T>> {\n if (!this.currentContextId) {\n throw new Error('No active conversation to continue. Start with a task method first.');\n }\n\n const result = await this.client.continueConversation<T>(message, this.currentContextId, inputHandler);\n\n this.retainSession(result);\n\n return result;\n }\n\n /**\n * Get the full conversation history\n */\n getHistory(): Message[] | undefined {\n if (!this.currentContextId) {\n return undefined;\n }\n return this.client.getConversationHistory(this.currentContextId);\n }\n\n /**\n * Clear the conversation context (start fresh).\n *\n * Equivalent to `resetContext()` — clears both the retained `contextId`\n * and any pending server-side `taskId`, and drops cached history.\n */\n clearContext(): void {\n this.resetContext();\n }\n\n /**\n * Reset conversation state. Call with no args to start a fresh\n * conversation; pass a seed to rehydrate a persisted session id (e.g.,\n * across a process restart).\n *\n * Always clears the retained pending-task handle — a persisted `contextId`\n * places the next send into the same server-side session, but any old\n * `taskId` is stale.\n */\n resetContext(seed?: string): void {\n if (this.currentContextId) {\n this.client.clearConversationHistory(this.currentContextId);\n }\n this.currentContextId = seed;\n this.pendingTask = undefined;\n }\n\n /**\n * Get the current conversation context ID\n */\n getContextId(): string | undefined {\n return this.currentContextId;\n }\n\n /**\n * Get the pending server-side `taskId` from the last non-terminal\n * response, if any. Populated when the server returned\n * `input-required` / `working` / `submitted` / `auth-required`;\n * cleared when the task reaches a terminal state.\n *\n * Persist this alongside `getContextId()` if you need to resume a\n * specific task (not just a conversation) across a process restart.\n */\n getPendingTaskId(): string | undefined {\n return this.pendingTask?.taskId;\n }\n\n /**\n * Set a specific conversation context ID\n */\n setContextId(contextId: string): void {\n this.currentContextId = contextId;\n }\n\n // ====== AGENT INFORMATION ======\n\n /**\n * Get the agent configuration\n */\n getAgent(): AgentConfig {\n return this.client.getAgent();\n }\n\n /**\n * Get the agent ID\n */\n getAgentId(): string {\n return this.client.getAgentId();\n }\n\n /**\n * Get the agent name\n */\n getAgentName(): string {\n return this.client.getAgentName();\n }\n\n /**\n * Get the agent protocol\n */\n getProtocol(): 'mcp' | 'a2a' {\n return this.client.getProtocol();\n }\n\n /**\n * Get the canonical base URL for this agent\n *\n * Returns the canonical URL if already resolved, or computes it synchronously.\n * For guaranteed canonical URL (especially for A2A), use resolveCanonicalUrl() first.\n */\n getCanonicalUrl(): string {\n return this.client.getCanonicalUrl();\n }\n\n /**\n * Resolve and return the canonical base URL for this agent\n *\n * For A2A: Fetches the agent card and uses its 'url' field\n * For MCP: Performs endpoint discovery and strips /mcp suffix\n *\n * **Not supported on in-process instances** (created via `fromMCPClient`).\n * Use `getAgentId()` / `getAgentName()` for identification instead.\n */\n async resolveCanonicalUrl(): Promise<string> {\n if (this._isInProcess) {\n throw new Error(\n 'resolveCanonicalUrl() is not supported on in-process AgentClient instances. ' +\n 'Use getAgentId() or getAgentName() to identify this client.'\n );\n }\n return this.client.resolveCanonicalUrl();\n }\n\n /**\n * Check if this agent is the same as another agent by canonical URL\n */\n isSameAgent(other: AgentConfig | AgentClient): boolean {\n if (other instanceof AgentClient) {\n // Compare using the other client's agent config\n return this.client.isSameAgent(other.getAgent());\n }\n return this.client.isSameAgent(other);\n }\n\n /**\n * Async version that resolves canonical URLs first for more accurate comparison\n */\n async isSameAgentResolved(other: AgentConfig | AgentClient): Promise<boolean> {\n const otherIsInProcess = other instanceof AgentClient && other._isInProcess;\n if (this._isInProcess || otherIsInProcess) {\n // In-process agents have no canonical URL to resolve — compare sentinel IDs instead.\n const thisId = this.getAgentId();\n const otherId = other instanceof AgentClient ? other.getAgentId() : other.id;\n return thisId === otherId;\n }\n if (other instanceof AgentClient) {\n // Resolve both sides first\n await this.resolveCanonicalUrl();\n await other.resolveCanonicalUrl();\n // Then compare using the resolved agent config\n return this.client.isSameAgent(other.getAgent());\n }\n return this.client.isSameAgentResolved(other);\n }\n\n /**\n * Get the fully resolved agent configuration with canonical URL\n */\n async getResolvedAgent(): Promise<AgentConfig> {\n return this.client.getResolvedAgent();\n }\n\n /**\n * Get agent information including capabilities\n */\n async getAgentInfo(options?: Pick<TaskOptions, 'signal' | 'transport'>) {\n return this.client.getAgentInfo(options);\n }\n\n /**\n * Check if there's an active conversation\n */\n hasActiveConversation(): boolean {\n return this.currentContextId !== undefined;\n }\n\n /**\n * Get active tasks for this agent\n */\n getActiveTasks() {\n return this.client.getActiveTasks();\n }\n\n // ====== GENERIC TASK EXECUTION ======\n\n /**\n * Execute any ADCP task by name with full type safety\n *\n * @example\n * ```typescript\n * // ✅ TYPE-SAFE: Automatic response type inference\n * const result = await agent.executeTask('get_products', params);\n * // result is TaskResult<CanonicalGetProductsResponse> - no casting needed!\n *\n * // ✅ CUSTOM TYPES: For non-standard tasks\n * const customResult = await agent.executeCustomTask<MyCustomResponse>('custom_task', params);\n * ```\n */\n async executeTask<K extends AdcpTaskName>(\n taskName: K,\n params: TaskRequestFor<K>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<TaskResponseTypeMap[K]>>;\n\n async executeTask(\n taskName: string,\n params: Record<string, unknown>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<unknown>> {\n switch (taskName) {\n case 'get_products':\n return this.getProducts(params as CanonicalGetProductsRequest, inputHandler, options);\n case 'create_media_buy':\n return (await this.createMediaBuy(\n params as MutatingRequestInput<CanonicalCreateMediaBuyRequest>,\n inputHandler,\n options\n )) as TaskResult<unknown>;\n case 'update_media_buy':\n return (await this.updateMediaBuy(\n params as MutatingRequestInput<CanonicalUpdateMediaBuyRequest>,\n inputHandler,\n options\n )) as TaskResult<unknown>;\n case 'sync_creatives':\n return (await this.syncCreatives(\n params as MutatingRequestInput<CanonicalSyncCreativesRequest>,\n inputHandler,\n options\n )) as TaskResult<unknown>;\n case 'list_creatives':\n return this.listCreatives(params as CanonicalListCreativesRequest, inputHandler, options);\n case 'get_media_buys':\n return this.getMediaBuys(params as GetMediaBuysRequest, inputHandler, options);\n case 'get_media_buy_delivery':\n return this.getMediaBuyDelivery(params as GetMediaBuyDeliveryRequest, inputHandler, options);\n case 'get_creative_delivery':\n return this.getCreativeDelivery(params as GetCreativeDeliveryRequest, inputHandler, options);\n }\n const result = await this.client.executeTaskLegacy(taskName, params, inputHandler, {\n ...this.withSession(taskName, options),\n });\n\n this.retainSession(result);\n\n return result;\n }\n\n /** Execute an extension task that is not part of the standard AdCP task set. */\n async executeCustomTask<T = unknown>(\n taskName: string,\n params: Record<string, unknown>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<T>> {\n const result = await this.client.executeCustomTask<T>(taskName, params, inputHandler, {\n ...this.withSession(taskName, options),\n });\n\n this.retainSession(result);\n return result;\n }\n\n /**\n * Explicit raw-task compatibility escape hatch for conformance and migration tooling.\n * @deprecated Application code should use typed primary methods or `executeTask()`.\n */\n async executeTaskLegacy<T = unknown>(\n taskName: string,\n params: Record<string, unknown>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<T>> {\n const result = await this.client.executeTaskLegacy<T>(taskName, params, inputHandler, {\n ...this.withSession(taskName, options),\n });\n this.retainSession(result);\n return result;\n }\n\n // ====== TASK MANAGEMENT DELEGATION ======\n\n /**\n * List all tasks for this agent\n */\n async listTasks(): Promise<TaskInfo[]> {\n return this.client.listTasks();\n }\n\n /**\n * Get detailed information about a specific task\n */\n async getTaskInfo(taskId: string): Promise<TaskInfo | null> {\n return this.client.getTaskInfo(taskId);\n }\n\n /**\n * Subscribe to task notifications for this agent\n */\n onTaskUpdate(callback: (task: TaskInfo) => void): () => void {\n return this.client.onTaskUpdate(callback);\n }\n\n /**\n * Subscribe to all task events\n */\n onTaskEvents(callbacks: {\n onTaskCreated?: (task: TaskInfo) => void;\n onTaskUpdated?: (task: TaskInfo) => void;\n onTaskCompleted?: (task: TaskInfo) => void;\n onTaskFailed?: (task: TaskInfo, error: string) => void;\n }): () => void {\n return this.client.onTaskEvents(callbacks);\n }\n\n /**\n * Generate webhook URL for a specific task and operation.\n *\n * **Not supported on in-process instances** (created via `fromMCPClient`).\n * In-process clients have no HTTP listener to receive webhook callbacks.\n */\n getWebhookUrl(taskType: string, operationId: string): string {\n if (this._isInProcess) {\n throw new Error(\n 'getWebhookUrl() is not supported on in-process AgentClient instances. ' +\n 'In-process clients have no HTTP listener for webhook delivery.'\n );\n }\n return this.client.getWebhookUrl(taskType, operationId);\n }\n\n /**\n * Register webhook for task notifications.\n *\n * **Not supported on in-process instances** (created via `fromMCPClient`).\n */\n async registerWebhook(webhookUrl: string, taskTypes?: string[]): Promise<void> {\n if (this._isInProcess) {\n throw new Error(\n 'registerWebhook() is not supported on in-process AgentClient instances. ' +\n 'In-process clients have no HTTP listener for webhook delivery.'\n );\n }\n return this.client.registerWebhook(webhookUrl, taskTypes);\n }\n\n /**\n * Unregister webhook notifications.\n *\n * **Not supported on in-process instances** (created via `fromMCPClient`).\n */\n async unregisterWebhook(): Promise<void> {\n if (this._isInProcess) {\n throw new Error(\n 'unregisterWebhook() is not supported on in-process AgentClient instances. ' +\n 'In-process clients have no HTTP listener for webhook delivery.'\n );\n }\n return this.client.unregisterWebhook();\n }\n}\n"],"mappings":"AAGA,SAAS,kBAAkB;AAgB3B;AAAA,EACE;AAAA,OAOK;AAyPP,MAAM,sBAA2C,oBAAI,IAAI;AAAA,EACvD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AA8BM,MAAM,YAAY;AAAA,EAMvB,YACU,OACA,SAAkC,CAAC,GAC3C;AAFQ;AACA;AAER,SAAK,SAAS,IAAI,kBAAkB,OAAO,MAAM;AACjD,SAAK,eAAe,MAAM,wBAAwB;AAAA,EACpD;AAAA,EALU;AAAA,EACA;AAAA,EAPF;AAAA,EACA;AAAA,EACA;AAAA,EACS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EA0BjB,IAAI,WAAgB;AAElB,WAAQ,KAAK,OAAe;AAAA,EAC9B;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,iBAAyB;AACvB,WAAO,KAAK,OAAO,eAAe;AAAA,EACpC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EA6CA,OAAO,cAAc,WAAsB,SAAqC,CAAC,GAAgB;AAK/F,QAAK,UAAsC,cAAc,QAAW;AAClE,YAAM,I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AqB,UAAU,QAAQ,cAAc;AAAA,MACpF,GAAG,KAAK,YAAY,UAAU,OAAO;AAAA,IACvC,CAAC;AACD,SAAK,cAAc,MAAM;AACzB,WAAO;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,MAAM,YAAiC;AACrC,WAAO,KAAK,OAAO,UAAU;AAAA,EAC/B;AAAA;AAAA;AAAA;AAAA,EAKA,MAAM,YAAY,QAA0C;AAC1D,WAAO,KAAK,OAAO,YAAY,MAAM;AAAA,EACvC;AAAA;AAAA;AAAA;AAAA,EAKA,aAAa,UAAgD;AAC3D,WAAO,KAAK,OAAO,aAAa,QAAQ;AAAA,EAC1C;AAAA;AAAA;AAAA;AAAA,EAKA,aAAa,WAKE;AACb,WAAO,KAAK,OAAO,aAAa,SAAS;AAAA,EAC3C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,cAAc,UAAkB,aAA6B;AAC3D,QAAI,KAAK,cAAc;AACrB,YAAM,IAAI;AAAA,QACR;AAAA,MAEF;AAAA,IACF;AACA,WAAO,KAAK,OAAO,cAAc,UAAU,WAAW;AAAA,EACxD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,MAAM,gBAAgB,YAAoB,WAAqC;AAC7E,QAAI,KAAK,cAAc;AACrB,YAAM,IAAI;AAAA,QACR;AAAA,MAEF;AAAA,IACF;AACA,WAAO,KAAK,OAAO,gBAAgB,YAAY,SAAS;AAAA,EAC1D;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,MAAM,oBAAmC;AACvC,QAAI,KAAK,cAAc;AACrB,YAAM,IAAI;AAAA,QACR;AAAA,MAEF;AAAA,IACF;AACA,WAAO,KAAK,OAAO,kBAAkB;AAAA,EACvC;AACF;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../../src/lib/core/AgentClient.ts"],"sourcesContent":["// Per-agent client wrapper with conversation context preservation\n\nimport type { Client as MCPClient } from '@modelcontextprotocol/sdk/client/index.js';\nimport { randomUUID } from 'node:crypto';\nimport type { AgentConfig } from '../types';\nimport type {\n MCPWebhookPayload,\n GetBrandIdentityRequest,\n GetBrandIdentityResponse,\n GetRightsRequest,\n GetRightsResponse,\n AcquireRightsRequest,\n AcquireRightsResponse,\n ContextMatchRequest,\n ContextMatchResponse,\n IdentityMatchRequest,\n IdentityMatchResponseRouterPublisher,\n} from '../types/core.generated';\nimport type { Task as A2ATask, TaskStatusUpdateEvent } from '@a2a-js/sdk';\nimport {\n SingleAgentClient,\n type CanonicalReadTaskOptions,\n type CreativeDeliveryTaskOptions,\n type SingleAgentClientConfig,\n type SyncCreativesTaskOptions,\n type VerifyAndParseWebhookOptions,\n type WebhookParseResult,\n} from './SingleAgentClient';\nimport type { InputHandler, TaskOptions, TaskResult, TaskInfo, Message } from './ConversationTypes';\nimport type { AdcpCapabilities } from '../utils/capabilities';\nimport type { WebhookHeaderValue } from '../webhooks';\nimport type {\n GetProductsRequest,\n GetProductsResponse,\n ListCreativeFormatsRequest,\n ListCreativeFormatsResponse,\n CreateMediaBuyRequest,\n CreateMediaBuyResponse,\n UpdateMediaBuyRequest,\n UpdateMediaBuyResponse,\n SyncCreativesRequest,\n SyncCreativesResponse,\n ListCreativesRequest,\n ListCreativesResponse,\n GetMediaBuysRequest,\n GetMediaBuysResponse,\n GetMediaBuyDeliveryRequest,\n GetMediaBuyDeliveryResponse,\n GetCreativeDeliveryRequest,\n GetCreativeDeliveryResponse,\n ProvidePerformanceFeedbackRequest,\n ProvidePerformanceFeedbackResponse,\n GetSignalsRequest,\n GetSignalsResponse,\n ActivateSignalRequest,\n ActivateSignalResponse,\n GetAdCPCapabilitiesRequest,\n GetAdCPCapabilitiesResponse,\n PreviewCreativeRequest,\n PreviewCreativeResponse,\n BuildCreativeRequest,\n BuildCreativeResponse,\n ListAccountsRequest,\n ListAccountsResponse,\n SyncAccountsRequest,\n SyncAccountsResponse,\n SyncAudiencesRequest,\n SyncAudiencesResponse,\n CreatePropertyListRequest,\n CreatePropertyListResponse,\n GetPropertyListRequest,\n GetPropertyListResponse,\n UpdatePropertyListRequest,\n UpdatePropertyListResponse,\n ListPropertyListsRequest,\n ListPropertyListsResponse,\n DeletePropertyListRequest,\n DeletePropertyListResponse,\n ListContentStandardsRequest,\n ListContentStandardsResponse,\n GetContentStandardsRequest,\n GetContentStandardsResponse,\n CalibrateContentRequest,\n CalibrateContentResponse,\n ValidateContentDeliveryRequest,\n ValidateContentDeliveryResponse,\n SIGetOfferingRequest,\n SIGetOfferingResponse,\n SIInitiateSessionRequest,\n SIInitiateSessionResponse,\n SISendMessageRequest,\n SISendMessageResponse,\n SITerminateSessionRequest,\n SITerminateSessionResponse,\n CreateContentStandardsResponse,\n CreateContentStandardsRequest,\n SyncPlansRequest,\n SyncPlansResponse,\n CheckGovernanceRequest,\n CheckGovernanceResponse,\n ReportPlanOutcomeRequest,\n ReportPlanOutcomeResponse,\n GetPlanAuditLogsRequest,\n GetPlanAuditLogsResponse,\n ListTransformersRequest,\n ListTransformersResponse,\n} from '../types/tools.generated';\nimport type { MutatingRequestInput } from '../utils/idempotency';\nimport type { V1Product } from '../v2/projection/types';\nimport type { LegacyFormatConverter } from '../v2/projection/v1-to-v2';\nimport type { ProjectionCatalogSnapshot } from '../v2/projection/catalog-snapshot';\nimport type {\n CanonicalCreateMediaBuyRequest,\n CanonicalCreativeResponse,\n CanonicalGetProductsRequest,\n CanonicalGetProductsResponse,\n CanonicalListCreativesRequest,\n CanonicalListCreativesResponse,\n CanonicalProduct,\n CanonicalSyncCreativesRequest,\n CanonicalUpdateMediaBuyRequest,\n} from '../v2/projection/creative-delivery';\nexport type { CanonicalGetProductsResponse } from '../v2/projection/creative-delivery';\n\nexport type CanonicalProjectionTaskOptions = TaskOptions & {\n /** Migration escape hatch for seller-specific legacy refs absent from the bundled registry. */\n legacyFormatConverter?: LegacyFormatConverter;\n /** Pre-resolved exact-owner publisher/community catalogs, highest precedence first. */\n projectionCatalogs?: readonly ProjectionCatalogSnapshot[];\n};\n\n/**\n * Projection metadata attached to canonical `get_products` responses.\n *\n * Present whenever projection ran (the default). Portable projection\n * advisories are added to the standard `data.errors[]` array; this envelope\n * is a convenience view for SDK-local inspection. Absence of diagnostics means every product's\n * `format_options[]` is fully populated (clean catalog match) or was\n * already v2-shaped on the wire.\n */\n/**\n * @deprecated The primary SDK surface is canonical-only. Use\n * {@link CanonicalGetProductsResponse}. Raw legacy wire shapes remain\n * available only through the explicit `getProductsLegacy()` escape hatch.\n */\nexport type V2AugmentedGetProductsResponse = CanonicalGetProductsResponse;\n\n/**\n * Type mapping for task names to their response types\n * Enables type-safe generic executeTask() calls\n */\nexport type TaskResponseTypeMap = {\n get_products: CanonicalGetProductsResponse;\n create_media_buy: CanonicalCreativeResponse<CreateMediaBuyResponse>;\n update_media_buy: CanonicalCreativeResponse<UpdateMediaBuyResponse>;\n sync_creatives: CanonicalCreativeResponse<SyncCreativesResponse>;\n list_creatives: CanonicalListCreativesResponse;\n get_media_buys: CanonicalCreativeResponse<GetMediaBuysResponse>;\n get_media_buy_delivery: CanonicalCreativeResponse<GetMediaBuyDeliveryResponse>;\n get_creative_delivery: CanonicalCreativeResponse<GetCreativeDeliveryResponse>;\n provide_performance_feedback: ProvidePerformanceFeedbackResponse;\n get_signals: GetSignalsResponse;\n activate_signal: ActivateSignalResponse;\n get_adcp_capabilities: GetAdCPCapabilitiesResponse;\n list_accounts: ListAccountsResponse;\n sync_accounts: SyncAccountsResponse;\n sync_audiences: SyncAudiencesResponse;\n create_property_list: CreatePropertyListResponse;\n get_property_list: GetPropertyListResponse;\n update_property_list: UpdatePropertyListResponse;\n list_property_lists: ListPropertyListsResponse;\n delete_property_list: DeletePropertyListResponse;\n si_get_offering: SIGetOfferingResponse;\n si_initiate_session: SIInitiateSessionResponse;\n si_send_message: SISendMessageResponse;\n si_terminate_session: SITerminateSessionResponse;\n get_brand_identity: GetBrandIdentityResponse;\n sync_plans: SyncPlansResponse;\n check_governance: CheckGovernanceResponse;\n report_plan_outcome: ReportPlanOutcomeResponse;\n get_plan_audit_logs: GetPlanAuditLogsResponse;\n context_match: ContextMatchResponse;\n identity_match: IdentityMatchResponseRouterPublisher;\n};\n\n/**\n * Valid ADCP task names\n */\nexport type AdcpTaskName = keyof TaskResponseTypeMap;\n\n/** Exact request mapping paired with {@link TaskResponseTypeMap}. */\nexport type TaskRequestTypeMap = {\n get_products: CanonicalGetProductsRequest;\n create_media_buy: MutatingRequestInput<CanonicalCreateMediaBuyRequest>;\n update_media_buy: MutatingRequestInput<CanonicalUpdateMediaBuyRequest>;\n sync_creatives: MutatingRequestInput<CanonicalSyncCreativesRequest>;\n list_creatives: CanonicalListCreativesRequest;\n get_media_buys: GetMediaBuysRequest;\n get_media_buy_delivery: GetMediaBuyDeliveryRequest;\n get_creative_delivery: GetCreativeDeliveryRequest;\n provide_performance_feedback: MutatingRequestInput<ProvidePerformanceFeedbackRequest>;\n get_signals: GetSignalsRequest;\n activate_signal: MutatingRequestInput<ActivateSignalRequest>;\n get_adcp_capabilities: GetAdCPCapabilitiesRequest;\n list_accounts: ListAccountsRequest;\n sync_accounts: MutatingRequestInput<SyncAccountsRequest>;\n sync_audiences: MutatingRequestInput<SyncAudiencesRequest>;\n create_property_list: MutatingRequestInput<CreatePropertyListRequest>;\n get_property_list: GetPropertyListRequest;\n update_property_list: MutatingRequestInput<UpdatePropertyListRequest>;\n list_property_lists: ListPropertyListsRequest;\n delete_property_list: MutatingRequestInput<DeletePropertyListRequest>;\n si_get_offering: SIGetOfferingRequest;\n si_initiate_session: MutatingRequestInput<SIInitiateSessionRequest>;\n si_send_message: MutatingRequestInput<SISendMessageRequest>;\n si_terminate_session: SITerminateSessionRequest;\n get_brand_identity: GetBrandIdentityRequest;\n sync_plans: MutatingRequestInput<SyncPlansRequest>;\n check_governance: CheckGovernanceRequest;\n report_plan_outcome: MutatingRequestInput<ReportPlanOutcomeRequest>;\n get_plan_audit_logs: GetPlanAuditLogsRequest;\n context_match: ContextMatchRequest;\n identity_match: IdentityMatchRequest;\n};\n\nexport type TaskRequestFor<K extends AdcpTaskName> = TaskRequestTypeMap[K];\n\n/**\n * Configuration for `AgentClient.fromMCPClient()`.\n *\n * A narrowed subset of `SingleAgentClientConfig` — only includes options that\n * are meaningful for in-process transport. HTTP-only fields (`userAgent`, `headers`,\n * `webhookUrlTemplate`, OAuth paths) are excluded because they have no effect when\n * the client dispatches directly to an in-process MCP `Client`.\n *\n * The fields you most likely want:\n * - `validation` — `requests`/`responses` validation mode (`strict` | `warn` | `off`)\n * - `governance` — buyer-side governance config\n * - `requireV3ForMutations` — enforce AdCP v3 before dispatching mutating tools\n */\nexport type InProcessAgentClientConfig = Pick<\n SingleAgentClientConfig,\n | 'adcpVersion'\n | 'versionEnvelope'\n | 'debug'\n | 'validation'\n | 'governance'\n | 'onActivity'\n | 'legacyFormatConverter'\n | 'projectionCatalogs'\n | 'canonicalFormatLegacyResolver'\n | 'validateFeatures'\n | 'requireV3ForMutations'\n | 'allowV2'\n | 'workingTimeout'\n | 'defaultMaxClarifications'\n | 'persistConversations'\n> & {\n /**\n * Human-readable name for this agent, used in debug logs and\n * `getAgentName()`. Defaults to `'in-process'`.\n */\n agentName?: string;\n /**\n * Stable identifier for this agent, used in `getAgentId()`.\n * Defaults to a random string prefixed with `'in-process-'`.\n */\n agentId?: string;\n};\n\n/**\n * Task result states where the server is still holding the task open. While\n * the last response was in one of these states the AgentClient retains the\n * server-returned `taskId` so a follow-up call can resume the same\n * server-side task (HITL approvals, long-running workflows).\n */\nconst NON_TERMINAL_STATES: ReadonlySet<string> = new Set([\n 'working',\n 'input-required',\n 'submitted',\n 'auth-required',\n 'deferred',\n]);\n\n/**\n * Per-agent client that maintains conversation context across calls.\n *\n * **One AgentClient per conversation.** The client retains `contextId` and\n * `pendingTaskId` in-memory so subsequent calls ride the same A2A session.\n * Sharing an AgentClient across concurrent conversations will interleave\n * their contexts (last-write-wins). Create a fresh AgentClient — or call\n * {@link resetContext} — per logical conversation.\n *\n * **Resume across process restart** — persist `getContextId()` after a\n * non-terminal response and pass it to `resetContext(id)` on rehydration.\n * The server will route the next call back to the same session.\n */\n/**\n * Retained server-side task handle. Paired with the `contextId` and skill\n * name under which it was returned so {@link AgentClient.withSession} only\n * auto-threads it when the next call is plausibly a continuation of the\n * SAME task (same skill, same conversation). A different skill or switched\n * contextId signals new work — sending the retained handle in that case\n * produces \"Task not found\" against spec-compliant A2A sellers (per A2A\n * 0.3.0 §3.4 — Message.taskId continues the parent task).\n */\ninterface PendingTaskHandle {\n taskId: string;\n contextId: string;\n taskName: string;\n}\n\nexport class AgentClient {\n private client: SingleAgentClient;\n private currentContextId?: string;\n private pendingTask?: PendingTaskHandle;\n private readonly _isInProcess: boolean;\n\n constructor(\n private agent: AgentConfig,\n private config: SingleAgentClientConfig = {}\n ) {\n this.client = new SingleAgentClient(agent, config);\n this._isInProcess = agent._inProcessMcpClient !== undefined;\n }\n\n /**\n * Internal access to the underlying `TaskExecutor`. Used by the storyboard\n * runner's `pollTaskCompletion` race so it can poll AdCP `tasks/get` against\n * the agent's transport (see `src/lib/testing/storyboard/runner.ts`'s\n * `resolveTaskCompletionOutputs`). Without this surface the runner sees\n * `executor: undefined` on AgentClient and silently falls back to webhook-\n * only racing — which times out for storyboard fixtures that don't address\n * a runner-controlled webhook URL.\n *\n * Not part of the documented client API; production code goes through the\n * tool-specific methods on `AgentClient` / `AdCPClient`. The shape may\n * change without notice if the runner's polling contract evolves.\n *\n * @internal\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- runtime-internal accessor\n get executor(): any {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- reach-through to the underlying executor\n return (this.client as any).executor;\n }\n\n /**\n * Returns the AdCP protocol version this client speaks. Mirrors\n * `SingleAgentClient.getAdcpVersion()`. See {@link SingleAgentClientConfig.adcpVersion}.\n */\n getAdcpVersion(): string {\n return this.client.getAdcpVersion();\n }\n\n /**\n * Create an `AgentClient` backed by a pre-connected MCP `Client` instead of\n * an HTTP endpoint. Useful for in-process compliance testing without spinning\n * up a loopback HTTP server.\n *\n * **MCP only.** This factory wraps an MCP `Client` from\n * `@modelcontextprotocol/sdk`. There is no equivalent in-process bridge for\n * A2A today — for A2A agents, run them on a loopback HTTP server and use the\n * standard `AgentClient` constructor with the agent's `agent_uri`.\n *\n * **What this gives you over `dispatchTestRequest`:**\n * All client-side pipeline stages still apply — idempotency key auto-injection,\n * request/response schema validation hooks, governance middleware, and the typed\n * `TaskResult<T>` discriminated-union response shape. None of these apply when\n * calling `dispatchTestRequest()` directly.\n *\n * **Usage:**\n * ```ts\n * import { Client } from '@modelcontextprotocol/sdk/client/index.js';\n * import { InMemoryTransport } from '@modelcontextprotocol/sdk/inMemory.js';\n * import { AgentClient } from '@adcp/sdk';\n *\n * const [clientTransport, serverTransport] = InMemoryTransport.createLinkedPair();\n * const mcpClient = new Client({ name: 'test', version: '1.0.0' });\n * await Promise.all([\n * mcpClient.connect(clientTransport),\n * adcpServer.connect(serverTransport),\n * ]);\n *\n * const agent = AgentClient.fromMCPClient(mcpClient, {\n * validation: { requests: 'strict' },\n * });\n * const result = await agent.createMediaBuy({ ... });\n * ```\n *\n * **Unsupported methods on in-process instances:** `resolveCanonicalUrl`,\n * `getWebhookUrl`, `registerWebhook`, `unregisterWebhook` — these require HTTP\n * and will throw `Error` with a descriptive message. Use `getAgentId()` /\n * `getAgentName()` for identification instead.\n *\n * @param mcpClient - An already-connected MCP `Client` (see example above).\n * @param config - Optional narrowed config. HTTP-only fields are excluded.\n */\n static fromMCPClient(mcpClient: MCPClient, config: InProcessAgentClientConfig = {}): AgentClient {\n // Reject pre-connect clients up front — MCP `Client.transport` is only set\n // after `client.connect(transport)` resolves. A pre-connect client would\n // fail later inside `listTools()`/`callTool()` with an opaque error; the\n // up-front check produces a clean failure pointing at the construction site.\n if ((mcpClient as { transport?: unknown }).transport === undefined) {\n throw new Error(\n 'AgentClient.fromMCPClient: the supplied MCP Client is not connected. ' +\n 'Call `await client.connect(transport)` before passing it here.'\n );\n }\n const { agentName, agentId, ...rest } = config;\n // Use randomUUID for collision resistance — the agent ID feeds session\n // routing so a debug-label collision (~65k via Math.random base36) could\n // alias two distinct in-process agents in a concurrent test fleet.\n const id = agentId ?? `in-process-${randomUUID()}`;\n // The `adcp-in-process://` scheme is parseable as a URL so existing\n // url-validation paths don't crash, but distinguishable from real http(s)\n // so the SDK skips network discovery + SSRF checks. The protocol layer\n // routes on the presence of `_inProcessMcpClient`, not the URI shape.\n const syntheticAgent: AgentConfig = {\n id,\n name: agentName ?? 'in-process',\n agent_uri: `adcp-in-process://${id}`,\n protocol: 'mcp',\n _inProcessMcpClient: mcpClient,\n };\n return new AgentClient(syntheticAgent, rest as SingleAgentClientConfig);\n }\n\n /**\n * Absorb the session ids the server returned on `result.metadata`:\n * retain `contextId` whenever one is present, and retain a\n * `PendingTaskHandle` (taskId + contextId + skill name) only while the\n * response was non-terminal. Terminal responses clear `pendingTask` so\n * the next call starts a fresh server-side task.\n *\n * The `deferred` case is deliberately asymmetric: deferred results don't\n * surface a new `serverTaskId` on metadata (the caller holds a resume\n * token, not a task-id), so the partial-metadata guard preserves the\n * pre-defer handle — which is exactly what a later resume needs.\n */\n private retainSession<T>(result: TaskResult<T>): void {\n const meta = result.metadata;\n if (meta?.contextId) {\n this.currentContextId = meta.contextId;\n }\n if (NON_TERMINAL_STATES.has(meta?.status as string)) {\n if (meta?.serverTaskId && meta?.contextId && meta?.taskName) {\n this.pendingTask = {\n taskId: meta.serverTaskId,\n contextId: meta.contextId,\n taskName: meta.taskName,\n };\n }\n // Partial metadata preserves the pre-existing handle. Two distinct\n // cases land here: (1) the deferred resume-token path, where the\n // server intentionally omits a new `serverTaskId`; (2) a non-spec\n // A2A Task that lacks `contextId` or surfaces no `taskName` — by\n // design those are NOT retained as a fresh handle, since auto-\n // threading a partially-keyed taskId into a future call is exactly\n // the leak class #1590 narrows.\n } else {\n this.pendingTask = undefined;\n }\n }\n\n /**\n * Merge the caller's `TaskOptions` with the retained session ids so the\n * outbound request carries whatever session continuity is in scope.\n * Caller-supplied ids win (explicit > implicit); unset caller fields fall\n * back to the retained ones.\n *\n * **Auto-threading the retained taskId is narrowed.** Per A2A 0.3.0 §3.4,\n * `Message.taskId` continues the parent task — sending it implies \"this\n * message belongs to that task.\" We auto-thread `pendingTask.taskId` only\n * when the next call is plausibly a continuation: same skill name AND\n * same effective contextId. A different skill (different work) or a\n * switched contextId signals new work; the retained handle is stale, and\n * sending it produces \"Task not found\" against spec-compliant sellers.\n *\n * HITL flows (e.g., `createMediaBuy` → `input-required` → `createMediaBuy`\n * resume) match same-skill same-context and continue to thread as before.\n * Cross-skill or cross-conversation reuse of one `AgentClient` no longer\n * leaks taskIds — see #1585 / #1590 for the motivating compliance scenario.\n */\n private withSession(taskName: string, options?: TaskOptions): TaskOptions {\n const explicitSwitch = options?.contextId !== undefined && options.contextId !== this.currentContextId;\n const effectiveContextId = options?.contextId ?? this.currentContextId;\n const continuation =\n !explicitSwitch &&\n this.pendingTask !== undefined &&\n this.pendingTask.contextId === effectiveContextId &&\n this.pendingTask.taskName === taskName;\n return {\n ...options,\n contextId: effectiveContextId,\n taskId: options?.taskId ?? (continuation ? this.pendingTask?.taskId : undefined),\n };\n }\n\n /**\n * Handle webhook from agent (async task completion or notifications)\n *\n * @param payload - Webhook payload from agent\n * @param taskType - Task type (e.g create_media_buy) from url param or url part of the webhook delivery\n * @param operationId - Operation id (e.g used for client app to track the operation) from the param or url part of the webhook delivery\n * @param signature - Optional signature for verification (X-ADCP-Signature)\n * @param timestamp - Optional timestamp for verification (X-ADCP-Timestamp)\n * @param taskType - Task type from URL path (e.g., 'create_media_buy')\n * @returns Whether webhook was handled successfully\n */\n async handleWebhook(\n payload: MCPWebhookPayload | A2ATask | TaskStatusUpdateEvent,\n taskType: string,\n operationId: string,\n signature?: WebhookHeaderValue,\n timestamp?: WebhookHeaderValue,\n rawBody?: string | Buffer | Uint8Array\n ): Promise<boolean> {\n return this.client.handleWebhook(payload, taskType, operationId, signature, timestamp, rawBody);\n }\n\n /**\n * Verify and normalize an inbound webhook without dispatching handlers.\n */\n async verifyAndParseWebhook(options: VerifyAndParseWebhookOptions): Promise<WebhookParseResult> {\n return this.client.verifyAndParseWebhook(options);\n }\n\n /**\n * Verify webhook signature using HMAC-SHA256 per AdCP spec.\n *\n * Prefer passing the raw HTTP body string for correct cross-language interop.\n * Passing a parsed object still works but re-serializes with JSON.stringify,\n * which may not match the sender's byte representation.\n *\n * @param rawBodyOrPayload - Raw HTTP body string (preferred) or parsed payload object (deprecated)\n * @param signature - X-ADCP-Signature header value (format: \"sha256=...\")\n * @param timestamp - X-ADCP-Timestamp header value (Unix timestamp)\n * @returns true if signature is valid\n */\n verifyWebhookSignature(\n rawBodyOrPayload: string | Buffer | Uint8Array | unknown,\n signature: WebhookHeaderValue,\n timestamp: WebhookHeaderValue\n ): boolean {\n return this.client.verifyWebhookSignature(rawBodyOrPayload, signature, timestamp);\n }\n\n // ====== MEDIA BUY TASKS ======\n\n /**\n * Discover available advertising products.\n *\n * Response products expose only canonical `format_options[]`, regardless of\n * the seller's negotiated wire version. The SDK performs any required legacy\n * translation below this public boundary.\n *\n * Projection failures surface portably on `result.data.errors[]` and are\n * also mirrored on `result.data.projection.diagnostics` (structured\n * `source: 'sdk'` markers; codes mirror the spec's error-code\n * vocabulary plus three SDK-local codes — see the projection\n * module's `ProjectionDiagnostic` type for the full set).\n *\n * Protocol tooling that must inspect raw seller emission uses the explicit\n * deprecated `getProductsLegacy()` method.\n */\n async getProducts(\n params: CanonicalGetProductsRequest,\n inputHandler?: InputHandler,\n options?: CanonicalProjectionTaskOptions\n ): Promise<TaskResult<CanonicalGetProductsResponse>> {\n const result = await this.client.getProducts(params, inputHandler, {\n ...options,\n ...this.withSession('get_products', options),\n });\n\n this.retainSession(result);\n return result;\n }\n\n /** @deprecated Explicit raw-wire escape hatch for migration tooling. */\n async getProductsLegacy(\n params: GetProductsRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<GetProductsResponse>> {\n const result = await this.client.getProductsLegacy(params, inputHandler, {\n ...this.withSession('get_products', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /** @deprecated Migration-only access to a legacy named-format catalog. */\n async listCreativeFormatsLegacy(\n params: ListCreativeFormatsRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<ListCreativeFormatsResponse>> {\n const result = await this.client.listCreativeFormatsLegacy(params, inputHandler, {\n ...this.withSession('list_creative_formats', options),\n });\n\n this.retainSession(result);\n\n return result;\n }\n\n /** @deprecated Migration-only access to legacy creative transformer declarations. */\n async listTransformersLegacy(\n params: ListTransformersRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<ListTransformersResponse>> {\n const result = await this.client.listTransformersLegacy(params, inputHandler, {\n ...this.withSession('list_transformers', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Create a new media buy.\n *\n * Discover canonical `format_options[]` with `getProducts()`, select a\n * `format_option_id`, and send only canonical package and creative fields.\n * Compatibility translation for an older seller happens below this method.\n *\n * ```ts\n * const { data: { products } } = await agent.getProducts({ brief: '...' });\n * const product = products[0];\n * const format = product.format_options[0];\n *\n * await agent.createMediaBuy({\n * packages: [{\n * package_id: 'pkg-1',\n * product_id: product.product_id,\n * pricing_option_id: product.pricing_options[0].pricing_option_id,\n * format_option_refs: [{\n * scope: 'product',\n * format_option_id: format.format_option_id\n * }],\n * creatives: [{\n * creative_id: 'hero',\n * format_kind: format.format_kind,\n * format_option_ref: {\n * scope: 'product',\n * format_option_id: format.format_option_id\n * },\n * assets: { image: { url: 'https://cdn.example/hero.png' } }\n * }],\n * budget: { currency: 'USD', total: 5000 },\n * }],\n * // ...\n * });\n * ```\n *\n * **Inline creative fallback.** Sellers that do not advertise a creative\n * library (`supportsSyncCreatives(await agent.getCapabilities()) === false`)\n * can still accept package-scoped creative uploads when they advertise\n * `caps.features.inlineCreativeManagement`. Use\n * `inlineCreativesForPackages(packages, creatives, { assignments })` to\n * project `sync_creatives`-style creative assets into create-media-buy\n * package payloads without rewriting a raw `sync_creatives` call. If using\n * assignments for create payloads, give each package a stable key such as\n * `context.buyer_ref`, or pass a custom `packageId` resolver.\n *\n * Existing applications that still hold old named-format payloads must opt\n * into `createMediaBuyLegacy()` explicitly.\n */\n async createMediaBuy(\n params: MutatingRequestInput<CanonicalCreateMediaBuyRequest>,\n inputHandler?: InputHandler,\n options?: CreativeDeliveryTaskOptions\n ): Promise<TaskResult<CanonicalCreativeResponse<CreateMediaBuyResponse>>> {\n const result = await this.client.createMediaBuy(params, inputHandler, {\n ...this.withSession('create_media_buy', options),\n });\n\n this.retainSession(result);\n\n return result;\n }\n\n /** @deprecated Use `createMediaBuy`; this explicit compatibility surface accepts legacy creative `format_id`. */\n async createMediaBuyLegacy(\n params: MutatingRequestInput<CreateMediaBuyRequest>,\n inputHandler?: InputHandler,\n options?: CreativeDeliveryTaskOptions\n ): Promise<TaskResult<CreateMediaBuyResponse>> {\n const result = await this.client.createMediaBuyLegacy(params, inputHandler, {\n ...this.withSession('create_media_buy', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Update an existing media buy.\n *\n * For sellers without a creative library but with\n * `caps.features.inlineCreativeManagement`, post-create creative replacement\n * can be represented as package-scoped inline `packages[].creatives` on this\n * request. Build the package patch with `inlineCreativesForPackages()` and\n * preflight it with `preflightUpdateMediaBuy(currentBuy, patch)` so\n * `available_actions[]` allows `replace_creative` before dispatch.\n * Use `format_kind` and `format_option_ref` for every creative in the patch;\n * the SDK handles any negotiated compatibility conversion.\n */\n async updateMediaBuy(\n params: MutatingRequestInput<CanonicalUpdateMediaBuyRequest>,\n inputHandler?: InputHandler,\n options?: CreativeDeliveryTaskOptions\n ): Promise<TaskResult<CanonicalCreativeResponse<UpdateMediaBuyResponse>>> {\n const result = await this.client.updateMediaBuy(params, inputHandler, {\n ...this.withSession('update_media_buy', options),\n });\n\n this.retainSession(result);\n\n return result;\n }\n\n /** @deprecated Use `updateMediaBuy`; this explicit compatibility surface accepts legacy creative `format_id`. */\n async updateMediaBuyLegacy(\n params: MutatingRequestInput<UpdateMediaBuyRequest>,\n inputHandler?: InputHandler,\n options?: CreativeDeliveryTaskOptions\n ): Promise<TaskResult<UpdateMediaBuyResponse>> {\n const result = await this.client.updateMediaBuyLegacy(params, inputHandler, {\n ...this.withSession('update_media_buy', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Sync creative assets into the seller's reusable creative library.\n *\n * This is library-scoped: assignments can reference packages, but a raw\n * `sync_creatives` request does not contain enough media-buy context for the\n * SDK to safely rewrite it into inline package creatives. When the seller\n * lacks `creative.has_creative_library` but does advertise\n * `media_buy.features.inline_creative_management`, use\n * `inlineCreativesForPackages()` with explicit package/media-buy context and\n * send a separate `create_media_buy` or `update_media_buy` request with its\n * own idempotency key. If neither capability is advertised, creative upload\n * is not available through this SDK helper surface.\n *\n * A sync request does not carry product declarations. When compatibility\n * translation needs seller selection metadata, pass\n * `options.creativeFormatProjection.selectorContainers` with the routed\n * package/product selectors. Assignments scope each creative to its package.\n */\n async syncCreatives(\n params: MutatingRequestInput<CanonicalSyncCreativesRequest>,\n inputHandler?: InputHandler,\n options?: SyncCreativesTaskOptions\n ): Promise<TaskResult<CanonicalCreativeResponse<SyncCreativesResponse>>> {\n const result = await this.client.syncCreatives(params, inputHandler, {\n ...this.withSession('sync_creatives', options),\n });\n\n this.retainSession(result);\n\n return result;\n }\n\n /** @deprecated Use `syncCreatives`; this explicit compatibility surface accepts legacy creative `format_id`. */\n async syncCreativesLegacy(\n params: MutatingRequestInput<SyncCreativesRequest>,\n inputHandler?: InputHandler,\n options?: SyncCreativesTaskOptions\n ): Promise<TaskResult<SyncCreativesResponse>> {\n const result = await this.client.syncCreativesLegacy(params, inputHandler, {\n ...this.withSession('sync_creatives', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * List creative assets\n */\n async listCreatives(\n params: CanonicalListCreativesRequest,\n inputHandler?: InputHandler,\n options?: CanonicalProjectionTaskOptions\n ): Promise<TaskResult<CanonicalListCreativesResponse>> {\n const result = await this.client.listCreatives(params, inputHandler, {\n ...options,\n ...this.withSession('list_creatives', options),\n });\n\n this.retainSession(result);\n return result;\n }\n\n /**\n * Return the unprojected `list_creatives` wire response.\n *\n * @deprecated Compatibility-only escape hatch for migration and protocol tooling.\n */\n async listCreativesLegacy(\n params: ListCreativesRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<ListCreativesResponse>> {\n const result = await this.client.listCreativesLegacy(params, inputHandler, {\n ...this.withSession('list_creatives', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Get media buy status, creative approvals, and optional delivery snapshots\n */\n async getMediaBuys(\n params: GetMediaBuysRequest,\n inputHandler?: InputHandler,\n options?: CanonicalReadTaskOptions\n ): Promise<TaskResult<CanonicalCreativeResponse<GetMediaBuysResponse>>> {\n const result = await this.client.getMediaBuys(params, inputHandler, {\n ...this.withSession('get_media_buys', options),\n });\n\n this.retainSession(result);\n\n return result;\n }\n\n /**\n * Get media buy delivery information\n */\n async getMediaBuyDelivery(\n params: GetMediaBuyDeliveryRequest,\n inputHandler?: InputHandler,\n options?: CanonicalReadTaskOptions\n ): Promise<TaskResult<CanonicalCreativeResponse<GetMediaBuyDeliveryResponse>>> {\n const result = await this.client.getMediaBuyDelivery(params, inputHandler, {\n ...this.withSession('get_media_buy_delivery', options),\n });\n\n this.retainSession(result);\n\n return result;\n }\n\n /** Retrieve canonical creative-level and variant-level delivery metrics. */\n async getCreativeDelivery(\n params: GetCreativeDeliveryRequest,\n inputHandler?: InputHandler,\n options?: CanonicalProjectionTaskOptions\n ): Promise<TaskResult<CanonicalCreativeResponse<GetCreativeDeliveryResponse>>> {\n const result = await this.client.getCreativeDelivery(params, inputHandler, {\n ...options,\n ...this.withSession('get_creative_delivery', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Provide performance feedback\n */\n async providePerformanceFeedback(\n params: MutatingRequestInput<ProvidePerformanceFeedbackRequest>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<ProvidePerformanceFeedbackResponse>> {\n const result = await this.client.providePerformanceFeedback(params, inputHandler, {\n ...this.withSession('provide_performance_feedback', options),\n });\n\n this.retainSession(result);\n\n return result;\n }\n\n // ====== SIGNALS TASKS ======\n\n /**\n * Get audience signals\n */\n async getSignals(\n params: GetSignalsRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<GetSignalsResponse>> {\n const result = await this.client.getSignals(params, inputHandler, this.withSession('get_signals', options));\n\n this.retainSession(result);\n\n return result;\n }\n\n /**\n * Activate audience signals\n */\n async activateSignal(\n params: MutatingRequestInput<ActivateSignalRequest>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<ActivateSignalResponse>> {\n const result = await this.client.activateSignal(params, inputHandler, {\n ...this.withSession('activate_signal', options),\n });\n\n this.retainSession(result);\n\n return result;\n }\n\n // ====== PROTOCOL TASKS ======\n\n /**\n * Get AdCP capabilities (v3 tool call)\n */\n async getAdcpCapabilities(\n params: GetAdCPCapabilitiesRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<GetAdCPCapabilitiesResponse>> {\n const result = await this.client.getAdcpCapabilities(params, inputHandler, {\n ...this.withSession('get_adcp_capabilities', options),\n });\n\n this.retainSession(result);\n\n return result;\n }\n\n /**\n * Get normalized capabilities with v2/v3 fallback\n *\n * For v3 servers: calls get_adcp_capabilities tool\n * For v2 servers: builds synthetic capabilities from tool list\n */\n async getCapabilities(options?: Pick<TaskOptions, 'signal' | 'transport'>): Promise<AdcpCapabilities> {\n return this.client.getCapabilities(options);\n }\n\n /**\n * Return the seller's declared `adcp.idempotency.replay_ttl_seconds`, or\n * throw when a v3 seller omits the (required) declaration.\n *\n * Returns `undefined` for v2 agents — v2 pre-dates the idempotency envelope.\n */\n async getIdempotencyReplayTtlSeconds(): Promise<number | undefined> {\n return this.client.getIdempotencyReplayTtlSeconds();\n }\n\n /**\n * Assert that the seller's capabilities corroborate this client's pinned\n * AdCP major (per `getAdcpVersion()`). Throws `VersionUnsupportedError`\n * otherwise. Set `ADCP_ALLOW_V2=1` to bypass.\n */\n async requireSupportedMajor(taskType: string = 'request'): Promise<void> {\n return this.client.requireSupportedMajor(taskType);\n }\n\n /**\n * Deprecated alias for {@link requireSupportedMajor}.\n * @deprecated Use `requireSupportedMajor()` instead.\n */\n async requireV3(taskType: string = 'request'): Promise<void> {\n return this.client.requireSupportedMajor(taskType);\n }\n\n /** @deprecated Migration-only access to legacy `format_id`-based creative preview. */\n async previewCreativeLegacy(\n params: PreviewCreativeRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<PreviewCreativeResponse>> {\n const result = await this.client.previewCreativeLegacy(params, inputHandler, {\n ...this.withSession('preview_creative', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /** @deprecated Migration-only access to legacy `target_format_id`-based creative building. */\n async buildCreativeLegacy(\n params: MutatingRequestInput<BuildCreativeRequest>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<BuildCreativeResponse>> {\n const result = await this.client.buildCreativeLegacy(params, inputHandler, {\n ...this.withSession('build_creative', options),\n });\n this.retainSession(result);\n return result;\n }\n\n // ====== ACCOUNT & AUDIENCE TASKS ======\n\n /**\n * List accounts\n */\n async listAccounts(\n params: ListAccountsRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<ListAccountsResponse>> {\n const result = await this.client.listAccounts(params, inputHandler, {\n ...this.withSession('list_accounts', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Sync accounts\n */\n async syncAccounts(\n params: MutatingRequestInput<SyncAccountsRequest>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<SyncAccountsResponse>> {\n const result = await this.client.syncAccounts(params, inputHandler, {\n ...this.withSession('sync_accounts', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Sync audiences\n */\n async syncAudiences(\n params: MutatingRequestInput<SyncAudiencesRequest>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<SyncAudiencesResponse>> {\n const result = await this.client.syncAudiences(params, inputHandler, {\n ...this.withSession('sync_audiences', options),\n });\n this.retainSession(result);\n return result;\n }\n\n // ====== GOVERNANCE TASKS ======\n\n /**\n * Create a property list\n */\n async createPropertyList(\n params: MutatingRequestInput<CreatePropertyListRequest>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<CreatePropertyListResponse>> {\n const result = await this.client.createPropertyList(params, inputHandler, {\n ...this.withSession('create_property_list', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Get a property list\n */\n async getPropertyList(\n params: GetPropertyListRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<GetPropertyListResponse>> {\n const result = await this.client.getPropertyList(params, inputHandler, {\n ...this.withSession('get_property_list', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Update a property list\n */\n async updatePropertyList(\n params: MutatingRequestInput<UpdatePropertyListRequest>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<UpdatePropertyListResponse>> {\n const result = await this.client.updatePropertyList(params, inputHandler, {\n ...this.withSession('update_property_list', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * List property lists\n */\n async listPropertyLists(\n params: ListPropertyListsRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<ListPropertyListsResponse>> {\n const result = await this.client.listPropertyLists(params, inputHandler, {\n ...this.withSession('list_property_lists', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Delete a property list\n */\n async deletePropertyList(\n params: MutatingRequestInput<DeletePropertyListRequest>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<DeletePropertyListResponse>> {\n const result = await this.client.deletePropertyList(params, inputHandler, {\n ...this.withSession('delete_property_list', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * List content standards\n */\n async listContentStandardsLegacy(\n params: ListContentStandardsRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<ListContentStandardsResponse>> {\n const result = await this.client.listContentStandardsLegacy(params, inputHandler, {\n ...this.withSession('list_content_standards', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Get content standards\n */\n async getContentStandardsLegacy(\n params: GetContentStandardsRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<GetContentStandardsResponse>> {\n const result = await this.client.getContentStandardsLegacy(params, inputHandler, {\n ...this.withSession('get_content_standards', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Calibrate content against standards\n */\n async calibrateContentLegacy(\n params: MutatingRequestInput<CalibrateContentRequest>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<CalibrateContentResponse>> {\n const result = await this.client.calibrateContentLegacy(params, inputHandler, {\n ...this.withSession('calibrate_content', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Validate content delivery\n */\n async validateContentDeliveryLegacy(\n params: ValidateContentDeliveryRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<ValidateContentDeliveryResponse>> {\n const result = await this.client.validateContentDeliveryLegacy(params, inputHandler, {\n ...this.withSession('validate_content_delivery', options),\n });\n this.retainSession(result);\n return result;\n }\n\n // ====== SPONSORED INTELLIGENCE TASKS ======\n\n /**\n * Get an SI offering\n */\n async siGetOffering(\n params: SIGetOfferingRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<SIGetOfferingResponse>> {\n const result = await this.client.siGetOffering(params, inputHandler, {\n ...this.withSession('si_get_offering', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Initiate an SI session\n */\n async siInitiateSession(\n params: MutatingRequestInput<SIInitiateSessionRequest>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<SIInitiateSessionResponse>> {\n const result = await this.client.siInitiateSession(params, inputHandler, {\n ...this.withSession('si_initiate_session', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Send a message in an SI session\n */\n async siSendMessage(\n params: MutatingRequestInput<SISendMessageRequest>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<SISendMessageResponse>> {\n const result = await this.client.siSendMessage(params, inputHandler, {\n ...this.withSession('si_send_message', options),\n });\n this.retainSession(result);\n return result;\n }\n\n /**\n * Terminate an SI session\n */\n async siTerminateSession(\n params: SITerminateSessionRequest,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<SITerminateSessionResponse>> {\n const result = await this.client.siTerminateSession(params, inputHandler, {\n ...this.withSession('si_terminate_session', options),\n });\n this.retainSession(result);\n return result;\n }\n\n // ====== CONVERSATION MANAGEMENT ======\n\n /**\n * Continue the conversation with a natural language message\n *\n * @param message - Natural language message to send to the agent\n * @param inputHandler - Handler for any clarification requests\n *\n * @example\n * ```typescript\n * const agent = multiClient.agent('my-agent');\n * await agent.getProducts({ brief: 'Tech products' });\n *\n * // Continue the conversation\n * const refined = await agent.continueConversation(\n * 'Focus only on laptops under $1000'\n * );\n * ```\n */\n async continueConversation<T = any>(\n message: string,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<T>> {\n if (!this.currentContextId) {\n throw new Error('No active conversation to continue. Start with a task method first.');\n }\n\n const result = await this.client.continueConversation<T>(message, this.currentContextId, inputHandler);\n\n this.retainSession(result);\n\n return result;\n }\n\n /**\n * Get the full conversation history\n */\n getHistory(): Message[] | undefined {\n if (!this.currentContextId) {\n return undefined;\n }\n return this.client.getConversationHistory(this.currentContextId);\n }\n\n /**\n * Clear the conversation context (start fresh).\n *\n * Equivalent to `resetContext()` — clears both the retained `contextId`\n * and any pending server-side `taskId`, and drops cached history.\n */\n clearContext(): void {\n this.resetContext();\n }\n\n /**\n * Reset conversation state. Call with no args to start a fresh\n * conversation; pass a seed to rehydrate a persisted session id (e.g.,\n * across a process restart).\n *\n * Always clears the retained pending-task handle — a persisted `contextId`\n * places the next send into the same server-side session, but any old\n * `taskId` is stale.\n */\n resetContext(seed?: string): void {\n if (this.currentContextId) {\n this.client.clearConversationHistory(this.currentContextId);\n }\n this.currentContextId = seed;\n this.pendingTask = undefined;\n }\n\n /**\n * Get the current conversation context ID\n */\n getContextId(): string | undefined {\n return this.currentContextId;\n }\n\n /**\n * Get the pending server-side `taskId` from the last non-terminal\n * response, if any. Populated when the server returned\n * `input-required` / `working` / `submitted` / `auth-required`;\n * cleared when the task reaches a terminal state.\n *\n * Persist this alongside `getContextId()` if you need to resume a\n * specific task (not just a conversation) across a process restart.\n */\n getPendingTaskId(): string | undefined {\n return this.pendingTask?.taskId;\n }\n\n /**\n * Set a specific conversation context ID\n */\n setContextId(contextId: string): void {\n this.currentContextId = contextId;\n }\n\n // ====== AGENT INFORMATION ======\n\n /**\n * Get the agent configuration\n */\n getAgent(): AgentConfig {\n return this.client.getAgent();\n }\n\n /**\n * Get the agent ID\n */\n getAgentId(): string {\n return this.client.getAgentId();\n }\n\n /**\n * Get the agent name\n */\n getAgentName(): string {\n return this.client.getAgentName();\n }\n\n /**\n * Get the agent protocol\n */\n getProtocol(): 'mcp' | 'a2a' {\n return this.client.getProtocol();\n }\n\n /**\n * Get the canonical base URL for this agent\n *\n * Returns the canonical URL if already resolved, or computes it synchronously.\n * For guaranteed canonical URL (especially for A2A), use resolveCanonicalUrl() first.\n */\n getCanonicalUrl(): string {\n return this.client.getCanonicalUrl();\n }\n\n /**\n * Resolve and return the canonical base URL for this agent\n *\n * For A2A: Fetches the agent card and uses its 'url' field\n * For MCP: Performs endpoint discovery and strips /mcp suffix\n *\n * **Not supported on in-process instances** (created via `fromMCPClient`).\n * Use `getAgentId()` / `getAgentName()` for identification instead.\n */\n async resolveCanonicalUrl(): Promise<string> {\n if (this._isInProcess) {\n throw new Error(\n 'resolveCanonicalUrl() is not supported on in-process AgentClient instances. ' +\n 'Use getAgentId() or getAgentName() to identify this client.'\n );\n }\n return this.client.resolveCanonicalUrl();\n }\n\n /**\n * Check if this agent is the same as another agent by canonical URL\n */\n isSameAgent(other: AgentConfig | AgentClient): boolean {\n if (other instanceof AgentClient) {\n // Compare using the other client's agent config\n return this.client.isSameAgent(other.getAgent());\n }\n return this.client.isSameAgent(other);\n }\n\n /**\n * Async version that resolves canonical URLs first for more accurate comparison\n */\n async isSameAgentResolved(other: AgentConfig | AgentClient): Promise<boolean> {\n const otherIsInProcess = other instanceof AgentClient && other._isInProcess;\n if (this._isInProcess || otherIsInProcess) {\n // In-process agents have no canonical URL to resolve — compare sentinel IDs instead.\n const thisId = this.getAgentId();\n const otherId = other instanceof AgentClient ? other.getAgentId() : other.id;\n return thisId === otherId;\n }\n if (other instanceof AgentClient) {\n // Resolve both sides first\n await this.resolveCanonicalUrl();\n await other.resolveCanonicalUrl();\n // Then compare using the resolved agent config\n return this.client.isSameAgent(other.getAgent());\n }\n return this.client.isSameAgentResolved(other);\n }\n\n /**\n * Get the fully resolved agent configuration with canonical URL\n */\n async getResolvedAgent(): Promise<AgentConfig> {\n return this.client.getResolvedAgent();\n }\n\n /**\n * Get agent information including capabilities\n */\n async getAgentInfo(options?: Pick<TaskOptions, 'signal' | 'transport'>) {\n return this.client.getAgentInfo(options);\n }\n\n /**\n * Check if there's an active conversation\n */\n hasActiveConversation(): boolean {\n return this.currentContextId !== undefined;\n }\n\n /**\n * Get active tasks for this agent\n */\n getActiveTasks() {\n return this.client.getActiveTasks();\n }\n\n // ====== GENERIC TASK EXECUTION ======\n\n /**\n * Execute any ADCP task by name with full type safety\n *\n * @example\n * ```typescript\n * // ✅ TYPE-SAFE: Automatic response type inference\n * const result = await agent.executeTask('get_products', params);\n * // result is TaskResult<CanonicalGetProductsResponse> - no casting needed!\n *\n * // ✅ CUSTOM TYPES: For non-standard tasks\n * const customResult = await agent.executeCustomTask<MyCustomResponse>('custom_task', params);\n * ```\n */\n async executeTask<K extends AdcpTaskName>(\n taskName: K,\n params: TaskRequestFor<K>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<TaskResponseTypeMap[K]>>;\n\n async executeTask(\n taskName: string,\n params: Record<string, unknown>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<unknown>> {\n switch (taskName) {\n case 'get_products':\n return this.getProducts(params as CanonicalGetProductsRequest, inputHandler, options);\n case 'create_media_buy':\n return (await this.createMediaBuy(\n params as MutatingRequestInput<CanonicalCreateMediaBuyRequest>,\n inputHandler,\n options\n )) as TaskResult<unknown>;\n case 'update_media_buy':\n return (await this.updateMediaBuy(\n params as MutatingRequestInput<CanonicalUpdateMediaBuyRequest>,\n inputHandler,\n options\n )) as TaskResult<unknown>;\n case 'sync_creatives':\n return (await this.syncCreatives(\n params as MutatingRequestInput<CanonicalSyncCreativesRequest>,\n inputHandler,\n options\n )) as TaskResult<unknown>;\n case 'list_creatives':\n return this.listCreatives(params as CanonicalListCreativesRequest, inputHandler, options);\n case 'get_media_buys':\n return this.getMediaBuys(params as GetMediaBuysRequest, inputHandler, options);\n case 'get_media_buy_delivery':\n return this.getMediaBuyDelivery(params as GetMediaBuyDeliveryRequest, inputHandler, options);\n case 'get_creative_delivery':\n return this.getCreativeDelivery(params as GetCreativeDeliveryRequest, inputHandler, options);\n }\n const result = await this.client.executeTaskLegacy(taskName, params, inputHandler, {\n ...this.withSession(taskName, options),\n });\n\n this.retainSession(result);\n\n return result;\n }\n\n /** Execute an extension task that is not part of the standard AdCP task set. */\n async executeCustomTask<T = unknown>(\n taskName: string,\n params: Record<string, unknown>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<T>> {\n const result = await this.client.executeCustomTask<T>(taskName, params, inputHandler, {\n ...this.withSession(taskName, options),\n });\n\n this.retainSession(result);\n return result;\n }\n\n /**\n * Explicit raw-task compatibility escape hatch for conformance and migration tooling.\n * @deprecated Application code should use typed primary methods or `executeTask()`.\n */\n async executeTaskLegacy<T = unknown>(\n taskName: string,\n params: Record<string, unknown>,\n inputHandler?: InputHandler,\n options?: TaskOptions\n ): Promise<TaskResult<T>> {\n const result = await this.client.executeTaskLegacy<T>(taskName, params, inputHandler, {\n ...this.withSession(taskName, options),\n });\n this.retainSession(result);\n return result;\n }\n\n // ====== TASK MANAGEMENT DELEGATION ======\n\n /**\n * List all tasks for this agent\n */\n async listTasks(): Promise<TaskInfo[]> {\n return this.client.listTasks();\n }\n\n /**\n * Get detailed information about a specific task\n */\n async getTaskInfo(taskId: string): Promise<TaskInfo | null> {\n return this.client.getTaskInfo(taskId);\n }\n\n /**\n * Subscribe to task notifications for this agent\n */\n onTaskUpdate(callback: (task: TaskInfo) => void): () => void {\n return this.client.onTaskUpdate(callback);\n }\n\n /**\n * Subscribe to all task events\n */\n onTaskEvents(callbacks: {\n onTaskCreated?: (task: TaskInfo) => void;\n onTaskUpdated?: (task: TaskInfo) => void;\n onTaskCompleted?: (task: TaskInfo) => void;\n onTaskFailed?: (task: TaskInfo, error: string) => void;\n }): () => void {\n return this.client.onTaskEvents(callbacks);\n }\n\n /**\n * Generate webhook URL for a specific task and operation.\n *\n * **Not supported on in-process instances** (created via `fromMCPClient`).\n * In-process clients have no HTTP listener to receive webhook callbacks.\n */\n getWebhookUrl(taskType: string, operationId: string): string {\n if (this._isInProcess) {\n throw new Error(\n 'getWebhookUrl() is not supported on in-process AgentClient instances. ' +\n 'In-process clients have no HTTP listener for webhook delivery.'\n );\n }\n return this.client.getWebhookUrl(taskType, operationId);\n }\n\n /**\n * Register webhook for task notifications.\n *\n * **Not supported on in-process instances** (created via `fromMCPClient`).\n */\n async registerWebhook(webhookUrl: string, taskTypes?: string[]): Promise<void> {\n if (this._isInProcess) {\n throw new Error(\n 'registerWebhook() is not supported on in-process AgentClient instances. ' +\n 'In-process clients have no HTTP listener for webhook delivery.'\n );\n }\n return this.client.registerWebhook(webhookUrl, taskTypes);\n }\n\n /**\n * Unregister webhook notifications.\n *\n * **Not supported on in-process instances** (created via `fromMCPClient`).\n */\n async unregisterWebhook(): Promise<void> {\n if (this._isInProcess) {\n throw new Error(\n 'unregisterWebhook() is not supported on in-process AgentClient instances. ' +\n 'In-process clients have no HTTP listener for webhook delivery.'\n );\n }\n return this.client.unregisterWebhook();\n }\n}\n"],"mappings":"AAGA,SAAS,kBAAkB;AAgB3B;AAAA,EACE;AAAA,OAOK;AAyPP,MAAM,sBAA2C,oBAAI,IAAI;AAAA,EACvD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AA8BM,MAAM,YAAY;AAAA,EAMvB,YACU,OACA,SAAkC,CAAC,GAC3C;AAFQ;AACA;AAER,SAAK,SAAS,IAAI,kBAAkB,OAAO,MAAM;AACjD,SAAK,eAAe,MAAM,wBAAwB;AAAA,EACpD;AAAA,EALU;AAAA,EACA;AAAA,EAPF;AAAA,EACA;AAAA,EACA;AAAA,EACS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EA0BjB,IAAI,WAAgB;AAElB,WAAQ,KAAK,OAAe;AAAA,EAC9B;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,iBAAyB;AACvB,WAAO,KAAK,OAAO,eAAe;AAAA,EACpC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EA6CA,OAAO,cAAc,WAAsB,SAAqC,CAAC,GAAgB;AAK/F,QAAK,UAAsC,cAAc,QAAW;AAClE,YAAM,IAAI;AAAA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,QAAQ,cAAc;AAAA,MACpF,GAAG,KAAK,YAAY,UAAU,OAAO;AAAA,IACvC,CAAC;AACD,SAAK,cAAc,MAAM;AACzB,WAAO;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,MAAM,YAAiC;AACrC,WAAO,KAAK,OAAO,UAAU;AAAA,EAC/B;AAAA;AAAA;AAAA;AAAA,EAKA,MAAM,YAAY,QAA0C;AAC1D,WAAO,KAAK,OAAO,YAAY,MAAM;AAAA,EACvC;AAAA;AAAA;AAAA;AAAA,EAKA,aAAa,UAAgD;AAC3D,WAAO,KAAK,OAAO,aAAa,QAAQ;AAAA,EAC1C;AAAA;AAAA;AAAA;AAAA,EAKA,aAAa,WAKE;AACb,WAAO,KAAK,OAAO,aAAa,SAAS;AAAA,EAC3C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,cAAc,UAAkB,aAA6B;AAC3D,QAAI,KAAK,cAAc;AACrB,YAAM,IAAI;AAAA,QACR;AAAA,MAEF;AAAA,IACF;AACA,WAAO,KAAK,OAAO,cAAc,UAAU,WAAW;AAAA,EACxD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,MAAM,gBAAgB,YAAoB,WAAqC;AAC7E,QAAI,KAAK,cAAc;AACrB,YAAM,IAAI;AAAA,QACR;AAAA,MAEF;AAAA,IACF;AACA,WAAO,KAAK,OAAO,gBAAgB,YAAY,SAAS;AAAA,EAC1D;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,MAAM,oBAAmC;AACvC,QAAI,KAAK,cAAc;AACrB,YAAM,IAAI;AAAA,QACR;AAAA,MAEF;AAAA,IACF;AACA,WAAO,KAAK,OAAO,kBAAkB;AAAA,EACvC;AACF;","names":[]}
|
|
@@ -115,7 +115,11 @@ export type WebhookUrlTemplate = string | {
|
|
|
115
115
|
* Options for task execution
|
|
116
116
|
*/
|
|
117
117
|
export interface TaskOptions {
|
|
118
|
-
/**
|
|
118
|
+
/**
|
|
119
|
+
* Absolute wall-clock deadline for the entire SDK task call (ms), including
|
|
120
|
+
* discovery and capability/version preflight. Unlike `workingTimeout`, this
|
|
121
|
+
* deadline never resets on progress and aborts in-flight protocol work.
|
|
122
|
+
*/
|
|
119
123
|
timeout?: number;
|
|
120
124
|
/**
|
|
121
125
|
* Caller-owned cancellation signal for the read path and in-flight protocol
|
|
@@ -527,7 +531,7 @@ export interface ConversationConfig {
|
|
|
527
531
|
maxHistorySize?: number;
|
|
528
532
|
/** Whether to persist conversations */
|
|
529
533
|
persistConversations?: boolean;
|
|
530
|
-
/**
|
|
534
|
+
/** Resettable idle/progress timeout for protocol work in 'working' status. */
|
|
531
535
|
workingTimeout?: number;
|
|
532
536
|
/** Default max clarifications */
|
|
533
537
|
defaultMaxClarifications?: number;
|
|
@@ -115,7 +115,11 @@ export type WebhookUrlTemplate = string | {
|
|
|
115
115
|
* Options for task execution
|
|
116
116
|
*/
|
|
117
117
|
export interface TaskOptions {
|
|
118
|
-
/**
|
|
118
|
+
/**
|
|
119
|
+
* Absolute wall-clock deadline for the entire SDK task call (ms), including
|
|
120
|
+
* discovery and capability/version preflight. Unlike `workingTimeout`, this
|
|
121
|
+
* deadline never resets on progress and aborts in-flight protocol work.
|
|
122
|
+
*/
|
|
119
123
|
timeout?: number;
|
|
120
124
|
/**
|
|
121
125
|
* Caller-owned cancellation signal for the read path and in-flight protocol
|
|
@@ -527,7 +531,7 @@ export interface ConversationConfig {
|
|
|
527
531
|
maxHistorySize?: number;
|
|
528
532
|
/** Whether to persist conversations */
|
|
529
533
|
persistConversations?: boolean;
|
|
530
|
-
/**
|
|
534
|
+
/** Resettable idle/progress timeout for protocol work in 'working' status. */
|
|
531
535
|
workingTimeout?: number;
|
|
532
536
|
/** Default max clarifications */
|
|
533
537
|
defaultMaxClarifications?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConversationTypes.d.ts","sourceRoot":"","sources":["../../../src/lib/core/ConversationTypes.ts"],"names":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O,WAAW,EAAE,SAAS,CAAC;IAC9C,gFAAgF;IAChF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,GAAG,IAAI,mBAAmB,CAAC,CAAC,CAAC,GAAG,sBAAsB,CAAC,CAAC,CAAC,GAAG,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAE5G;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,0CAA0C;IAC1C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,uCAAuC;IACvC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,8EAA8E;IAC9E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iCAAiC;IACjC,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/lib/core/ConversationTypes.ts"],"sourcesContent":["// Core conversation types for ADCP client library\n// These types support the conversation and clarification pattern\n\nimport type { ProductPropertyPolicyDiagnostic, ProductPropertyPolicyMode } from '../media-buy/property-policy';\n\n/**\n * Represents a single message in a conversation with an agent\n */\nexport interface Message {\n /** Unique identifier for this message */\n id: string;\n /** Role of the message sender */\n role: 'user' | 'agent' | 'system';\n /** Message content - can be structured or text */\n content: any;\n /** Timestamp when message was created */\n timestamp: string;\n /** Optional metadata about the message */\n metadata?: {\n /** Tool/task name if this message is tool-related */\n toolName?: string;\n /** Message type (request, response, clarification, etc.) */\n type?: string;\n /** Additional context data */\n [key: string]: any;\n };\n}\n\n/**\n * Request for input from the agent - sent when clarification is needed\n */\nexport interface InputRequest {\n /** Human-readable question or prompt */\n question: string;\n /** Specific field being requested (if applicable) */\n field?: string;\n /** Expected type of response */\n expectedType?: 'string' | 'number' | 'boolean' | 'object' | 'array';\n /** Suggested values or options */\n suggestions?: any[];\n /** Whether this input is required */\n required?: boolean;\n /** Validation rules for the input */\n validation?: {\n min?: number;\n max?: number;\n pattern?: string;\n enum?: any[];\n };\n /** Additional context about why this input is needed */\n context?: string;\n}\n\n/**\n * Different types of responses an input handler can provide\n */\nexport type InputHandlerResponse =\n | any // Direct answer\n | Promise<any> // Async answer\n | { defer: true; token: string } // Defer to human\n | { abort: true; reason?: string } // Abort task\n | never; // For control flow (abort() helper)\n\n/**\n * Function signature for input handlers\n */\nexport type InputHandler = (context: ConversationContext) => InputHandlerResponse;\n\n/**\n * Complete conversation context provided to input handlers\n */\nexport interface ConversationContext {\n /** Full conversation history for this task */\n messages: Message[];\n /** Current input request from the agent */\n inputRequest: InputRequest;\n /** Unique task identifier */\n taskId: string;\n /** Agent configuration */\n agent: {\n id: string;\n name: string;\n protocol: 'mcp' | 'a2a';\n };\n /** Current clarification attempt number (1-based) */\n attempt: number;\n /** Maximum allowed clarification attempts */\n maxAttempts: number;\n\n /** Helper method to defer task to human */\n deferToHuman(): Promise<{ defer: true; token: string }>;\n\n /** Helper method to abort the task */\n abort(reason?: string): never;\n\n /** Get conversation summary for context */\n getSummary(): string;\n\n /** Check if a field was previously discussed */\n wasFieldDiscussed(field: string): boolean;\n\n /** Get previous response for a field */\n getPreviousResponse(field: string): any;\n}\n\n/**\n * Status of a task execution\n */\nexport type TaskStatus =\n | 'pending'\n | 'running'\n | 'working'\n | 'needs_input'\n | 'input-required'\n | 'auth-required'\n | 'completed'\n | 'failed'\n | 'rejected'\n | 'canceled'\n | 'deferred'\n | 'aborted'\n | 'submitted'\n | 'governance-denied';\n\n/**\n * Predicate used by scoped webhook URL templates to decide which operations\n * receive protocol-level webhook URLs.\n */\nexport type WebhookToolPredicate = (toolName: string) => boolean;\n\n/**\n * Webhook URL template with macro substitution. A bare string preserves the\n * legacy behavior: every operation receives a generated webhook URL. The\n * object form scopes webhook URL generation to a tool allowlist or predicate.\n */\nexport type WebhookUrlTemplate =\n | string\n | {\n template: string;\n tools?: string[] | WebhookToolPredicate;\n };\n\n/**\n * Options for task execution\n */\nexport interface TaskOptions {\n /** Timeout for entire task (ms) */\n timeout?: number;\n /**\n * Caller-owned cancellation signal for the read path and in-flight protocol\n * call. Aborting this signal cancels discovery probes (`getAgentInfo`,\n * `getCapabilities`, feature/version preflight) and the tool request where\n * the underlying official protocol client supports it.\n */\n signal?: AbortSignal;\n /** Maximum clarification rounds before failing */\n maxClarifications?: number;\n /**\n * A2A `contextId` that binds this call to a server-side conversation.\n * When set, the client sends it on the A2A Message envelope so the server\n * can route to the existing session instead of starting a new one.\n * Retained automatically across calls on the same `AgentClient`.\n */\n contextId?: string;\n /**\n * A2A `taskId` of a non-terminal task to resume (HITL / approval flows).\n * When set, the client sends it on the A2A Message envelope so the server\n * continues the same task rather than opening a new one.\n */\n taskId?: string;\n /** Enable debug logging for this task */\n debug?: boolean;\n /** Suppress automatic webhook URL generation for this call. */\n disableWebhook?: boolean;\n /** Additional metadata to include */\n metadata?: Record<string, any>;\n /**\n * INTERNAL — compliance-test-only escape hatch.\n *\n * Suppresses the client's automatic `idempotency_key` generation on\n * mutating requests. The sole caller is the storyboard runner, which\n * needs to exercise servers' missing-key validation. Auto-injection\n * is the retry-safety contract for every real buyer — bypassing it\n * in production breaks at-most-once semantics on network retries.\n *\n * @internal Do not set in production buyer code.\n */\n skipIdempotencyAutoInject?: boolean;\n /**\n * INTERNAL — compliance-test-only escape hatch.\n *\n * Suppresses the client's `account`-required validation on\n * `create_media_buy` requests. The sole caller is the storyboard runner,\n * which needs to exercise servers' missing-account validation without the\n * SDK throwing client-side before the wire call.\n *\n * @internal Do not set in production buyer code.\n */\n skipAccountValidation?: boolean;\n /**\n * Transport-level safeguards for this call. Overrides the matching field\n * on the client constructor's `transport` option. Use to lift or tighten\n * `maxResponseBytes` per call when an agent legitimately publishes large\n * catalogs (e.g., `list_creative_formats` on a generative seller).\n */\n transport?: import('../protocols').TransportOptions;\n}\n\n/**\n * Internal task state for tracking execution\n */\nexport interface TaskState {\n /** Unique task identifier */\n taskId: string;\n /** Task name (tool name) */\n taskName: string;\n /**\n * Original parameters while the SDK is actively dispatching or resolving\n * input. Redacted after a task becomes working, submitted, or terminal so\n * lifecycle inspection does not retain request assets or credentials.\n */\n params?: any;\n /** Current status */\n status: TaskStatus;\n /** Message history */\n messages: Message[];\n /** Current input request (if waiting for input) */\n pendingInput?: InputRequest;\n /** Start time */\n startTime: number;\n /** Current attempt number */\n attempt: number;\n /** Maximum attempts allowed */\n maxAttempts: number;\n /** Task options */\n options: TaskOptions;\n /** Agent configuration */\n agent: {\n id: string;\n name: string;\n protocol: 'mcp' | 'a2a';\n };\n /**\n * Idempotency key for this task, when the tool is mutating. Tracked on\n * state so internal retries reuse the same key (the whole point of the\n * envelope — a re-generated key defeats retry safety).\n */\n idempotencyKey?: string;\n}\n\n/**\n * Task tracking information from tasks/get endpoint (PR #78)\n */\nexport interface TaskInfo {\n /** Task ID */\n taskId: string;\n /** Current status */\n status: string;\n /** Task type/name */\n taskType: string;\n /** Creation timestamp */\n createdAt: number;\n /** Last update timestamp */\n updatedAt: number;\n /** Task result (if completed) */\n result?: any;\n /** Error message (if failed) */\n error?: string;\n /** Human-readable message from agent (alternative to error field) */\n message?: string;\n /** Webhook URL (if applicable) */\n webhookUrl?: string;\n}\n\n/**\n * Continuation for deferred client tasks (client needs time)\n */\nexport interface DeferredContinuation<T> {\n /** Token for resuming the task */\n token: string;\n /** Question that triggered the deferral */\n question?: string;\n /** Resume the task with user input */\n resume: (input: any) => Promise<TaskResult<T>>;\n}\n\n/**\n * Continuation for submitted server tasks (server needs time).\n *\n * Returned in `TaskResult.submitted` when the seller signals an AdCP\n * `submitted` arm (long-running work that won't complete inside the\n * transport call). The buyer either polls via {@link waitForCompletion}\n * / {@link track} or waits for the seller's webhook callback at\n * {@link webhookUrl}.\n */\nexport interface SubmittedContinuation<T> {\n /**\n * Server-assigned task handle — the value the seller emitted in\n * `response.task_id` (AdCP submitted-arm wire field) or surfaced via\n * the A2A response Task. This is the identifier the seller knows; it\n * is what the SDK passes to subsequent `tasks/get` polling calls.\n *\n * NOT the same as the SDK's runner-side correlation id (`TaskState.taskId`,\n * a local UUID generated at request time and used internally for\n * `activeTasks` map indexing and the `{operation_id}` webhook URL macro).\n * The runner-side id never reaches the seller.\n *\n * If the seller violated the spec and didn't include a task handle on\n * the submitted-arm response, this falls back to the runner-side\n * correlation id — pollers won't be able to locate the work, but\n * callers at least get a non-undefined value to log.\n */\n taskId: string;\n /** Webhook URL where server will notify completion */\n webhookUrl?: string;\n /** Get current task status. Pass `transport` to override the executor-constructor cap for this poll. */\n track: (transport?: import('../protocols').TransportOptions) => Promise<TaskInfo>;\n /**\n * Wait for completion with polling. Transport cap is fixed at task-submission time; use `track` for per-poll override.\n * Pass `signal` to cancel the polling loop early (e.g. `AbortSignal.timeout(ms)`); the loop exits cleanly on abort\n * rather than continuing to issue `tasks/get` requests after the caller has moved on. (adcp-client#1612)\n * On abort with an A2A seller, a `tasks/cancel` is also dispatched as a protocol courtesy (A2A 0.3.0 §7.4)\n * — fire-and-forget; the buyer does not wait for acknowledgment and the outcome does not affect the returned `TaskResult`.\n */\n waitForCompletion: (pollInterval?: number, signal?: AbortSignal) => Promise<TaskResult<T>>;\n}\n\n/**\n * A single validation failure from an AdCP VALIDATION_ERROR response.\n *\n * `pointer` uses RFC 6901 JSON Pointer format (e.g. `/packages/0/targeting`),\n * which differs from the top-level `AdcpErrorInfo.field` that uses JSONPath-lite\n * (`packages[0].targeting`). For LLM self-correction: read `keyword` first —\n * `'required'` means add the missing field, `'enum'` means pick a valid value,\n * `'type'` means fix the value type.\n */\nexport interface AdcpValidationIssue {\n /** RFC 6901 JSON Pointer to the offending field (e.g. `/packages/0/targeting`). */\n pointer: string;\n /** Human-readable reason this field was rejected. */\n message: string;\n /** JSON Schema keyword that caused rejection (e.g. `'required'`, `'type'`, `'enum'`). */\n keyword: string;\n /**\n * Path inside the schema that rejected the payload. Sellers SHOULD NOT emit on\n * production endpoints — it leaks oneOf branch selection and is a fingerprinting\n * oracle for adversarial callers. May appear in dev/sandbox mode.\n */\n schemaPath?: string;\n}\n\n/**\n * Structured AdCP error information extracted from a failed task response.\n * Present on `TaskResult.adcpError` when the agent returns a recognized error.\n */\nexport interface AdcpErrorInfo {\n /** AdCP error code (e.g., 'RATE_LIMITED', 'PRODUCT_NOT_FOUND') */\n code: string;\n /** Human-readable error message. **Sellers:** do not embed tokens, account IDs, or internal paths — this field is forwarded to `ComplianceResult.failures[].adcp_error` and is grader-visible beyond the request lifetime. */\n message: string;\n /** Recovery classification: retry, fix the request, or give up */\n recovery?: 'transient' | 'correctable' | 'terminal';\n /** Field that caused the error */\n field?: string;\n /** Suggested fix from the agent. Untrusted — sanitize before rendering in HTML. */\n suggestion?: string;\n /** Seconds to wait before retrying (transient errors). See also `retryAfterMs`. */\n retry_after?: number;\n /** Milliseconds to wait before retrying — convenience conversion of `retry_after * 1000`. */\n retryAfterMs?: number;\n /** Additional error details. Untrusted agent-controlled content — sanitize before rendering. **Sellers:** do not embed tokens, account IDs, or internal paths — this field is forwarded to `ComplianceResult.failures[].adcp_error` and is grader-visible beyond the request lifetime. */\n details?: Record<string, unknown>;\n /**\n * Structured validation failures. Present on `VALIDATION_ERROR` when the seller\n * identifies multiple offending fields. Each item's `pointer` is RFC 6901 format\n * (e.g. `/packages/0/targeting`) — differs from the top-level `field` which uses\n * JSONPath-lite. For LLM self-correction, read `keyword` first: `'required'` → add\n * the field, `'enum'` → pick a valid value, `'type'` → fix the value type.\n */\n issues?: AdcpValidationIssue[];\n /** True when the SDK inferred this error from unstructured text (L1 compliance) */\n synthetic?: boolean;\n}\n\n/**\n * Task execution metadata, shared across all result variants.\n */\nexport interface TaskResultMetadata {\n /**\n * Client-minted correlation id for this specific request attempt. Used\n * for internal tracking (activeTasks map, webhook URL macros, debug\n * logs) and retried/refired across attempts — NOT the A2A task id the\n * server is tracking. For the server-side id, use {@link serverTaskId}.\n */\n taskId: string;\n /**\n * Server-returned A2A `contextId` / AdCP `context_id` that binds this\n * response to a server-side conversation. Present when the server surfaced\n * one; `undefined` otherwise (e.g., fire-and-forget MCP completions).\n *\n * Buyers who persist conversation across process restarts should save this\n * and seed it into `AgentClient.resetContext(id)` on rehydration.\n */\n contextId?: string;\n /**\n * A2A `taskId` of the server-tracked task for this response. Populated\n * from A2A Task / Message responses; `undefined` for MCP and for A2A\n * responses that carry no task binding. Distinct from {@link taskId},\n * which is the client-minted correlation id.\n */\n serverTaskId?: string;\n taskName: string;\n agent: { id: string; name: string; protocol: 'mcp' | 'a2a' };\n /** Total execution time in milliseconds */\n responseTimeMs: number;\n /** ISO timestamp of completion */\n timestamp: string;\n /** Number of clarification rounds */\n clarificationRounds: number;\n /** Final status */\n status: TaskStatus;\n /** Input request details (for input-required status) */\n inputRequest?: InputRequest;\n /**\n * Idempotency key used for this request, when the tool is mutating. Auto-\n * generated by the SDK when the caller doesn't supply one. Surfaced for\n * logging, correlation, and BYOK flows where the caller persists the key\n * alongside the resource it creates.\n */\n idempotency_key?: string;\n /**\n * True when the response was a cached replay from the seller's idempotency\n * store (i.e., an earlier request with the same key already succeeded).\n *\n * Callers with side effects on response — \"campaign created!\" notifications,\n * LLM memory writes, downstream tool calls — MUST check this flag before\n * acting, or retries will re-fire side effects.\n */\n replayed?: boolean;\n /**\n * Seller-served, release-precision AdCP version echoed on the response\n * envelope. Present when the seller emits `adcp_version` (3.1+). Compare\n * with the request's wire-normalized version, not a raw full-semver\n * configuration pin, when detecting same-major downshift.\n */\n adcpVersion?: string;\n /**\n * Buyer-side product property policy enforcement summary for `get_products`.\n * Present when the client evaluates a configured product property policy or\n * enforces the request's `property_list` reference against the response.\n */\n productPropertyPolicy?: {\n mode: ProductPropertyPolicyMode;\n ok: boolean;\n accepted_count: number;\n rejected_count: number;\n flagged_count: number;\n message?: string;\n request_property_list?: {\n list_id: string;\n agent_url: string;\n identifier_count?: number;\n cache_valid_until?: string;\n resolution_error?: string;\n };\n diagnostics: ProductPropertyPolicyDiagnostic[];\n };\n /**\n * Buyer-side pricing-options enforcement summary for `get_products`. Present\n * when the client drops one or more products that arrived without a usable\n * `pricing_options[]` array (a required, non-empty field in AdCP 3.1).\n */\n productPricingPolicy?: {\n ok: boolean;\n accepted_count: number;\n rejected_count: number;\n rejected_products: Array<{ index: number; product_id?: string }>;\n };\n}\n\n/** Fields shared across all TaskResult variants. */\ninterface TaskResultBase<T = any> {\n metadata: TaskResultMetadata;\n /** Governance check result (present when governance is configured) */\n governance?: import('./GovernanceTypes').GovernanceCheckResult;\n /** Governance outcome (present after successful execution with governance) */\n governanceOutcome?: import('./GovernanceTypes').GovernanceOutcome;\n /** Error message when governance outcome reporting failed */\n governanceOutcomeError?: string;\n /** Full conversation history */\n conversation?: Message[];\n /** Debug logs (if debug enabled) */\n debug_logs?: any[];\n /**\n * Exhaustive pattern match on the result's `status`. Prefer this method\n * form — it autocompletes alongside the other `TaskResult` accessors.\n *\n * The free function {@link import('./match').match} is also exported for\n * compositional use (e.g., point-free style or when the result type is\n * not yet narrowed).\n *\n * Attached non-enumerably by the client when the result is returned\n * from `executeTask`. Results constructed by hand (e.g., in test\n * fixtures or custom middleware) will not have this method — use the\n * free function, or call `attachMatch(result)` first.\n */\n match?: <R>(handlers: import('./match').MatchHandlers<T, R> | import('./match').PartialMatchHandlers<T, R>) => R;\n}\n\n/** Successful completion — `data` is always present. */\nexport interface TaskResultCompleted<T> extends TaskResultBase<T> {\n success: true;\n status: 'completed';\n data: T;\n error?: undefined;\n adcpError?: undefined;\n errorInstance?: undefined;\n correlationId?: undefined;\n deferred?: undefined;\n submitted?: undefined;\n}\n\n/** Task is still progressing (working, submitted, input-required, deferred). */\nexport interface TaskResultIntermediate<T> extends TaskResultBase<T> {\n success: true;\n /**\n * Task is progressing but not yet final. `'auth-required'` and\n * `'input-required'` are paused states surfaced by the polling\n * cycle (`pollTaskCompletion`) — the buyer must satisfy the\n * paused condition (refresh auth / supply input) and retry the\n * original tool call. Polling alone won't advance them.\n */\n status: 'working' | 'submitted' | 'input-required' | 'auth-required' | 'deferred';\n data?: T;\n error?: undefined;\n adcpError?: undefined;\n errorInstance?: undefined;\n correlationId?: undefined;\n /** Deferred continuation (client needs time for input) */\n deferred?: DeferredContinuation<T>;\n /** Submitted continuation (server needs time for processing) */\n submitted?: SubmittedContinuation<T>;\n}\n\n/** Task failed — `error` is always present. */\nexport interface TaskResultFailure<T> extends TaskResultBase<T> {\n success: false;\n status: 'failed' | 'governance-denied';\n /** Response payload with structured error details (adcp_error, context, ext) */\n data?: T;\n /** Human-readable error message */\n error: string;\n /** Structured AdCP error (code, recovery, suggestion, retryAfterMs) */\n adcpError?: AdcpErrorInfo;\n /**\n * Typed `ADCPError` subclass instance when the seller's error code has a\n * dedicated class — currently `IdempotencyConflictError` and\n * `IdempotencyExpiredError`. Lets callers write\n * `if (result.errorInstance instanceof IdempotencyConflictError)` instead of\n * switching on `adcpError.code` strings. Absent for codes without a typed\n * mapping.\n */\n errorInstance?: import('../errors').ADCPError;\n /** Correlation ID from the error response context, for tracing across agents */\n correlationId?: string;\n deferred?: undefined;\n submitted?: undefined;\n}\n\n/**\n * Result of a task execution.\n *\n * Discriminated union on `success`:\n * - `success: true` + `status: 'completed'` → `data` is `T`\n * - `success: true` + intermediate status → task is progressing, `data` may be partial\n * - `success: false` → `error` is always a string, `adcpError` has structured details\n */\nexport type TaskResult<T = any> = TaskResultCompleted<T> | TaskResultIntermediate<T> | TaskResultFailure<T>;\n\n/**\n * Configuration for conversation management\n */\nexport interface ConversationConfig {\n /** Maximum messages to keep in history */\n maxHistorySize?: number;\n /** Whether to persist conversations */\n persistConversations?: boolean;\n /** Timeout for 'working' status (max 120s per PR #78) */\n workingTimeout?: number;\n /** Default max clarifications */\n defaultMaxClarifications?: number;\n}\n"],"mappings":";;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../../src/lib/core/ConversationTypes.ts"],"sourcesContent":["// Core conversation types for ADCP client library\n// These types support the conversation and clarification pattern\n\nimport type { ProductPropertyPolicyDiagnostic, ProductPropertyPolicyMode } from '../media-buy/property-policy';\n\n/**\n * Represents a single message in a conversation with an agent\n */\nexport interface Message {\n /** Unique identifier for this message */\n id: string;\n /** Role of the message sender */\n role: 'user' | 'agent' | 'system';\n /** Message content - can be structured or text */\n content: any;\n /** Timestamp when message was created */\n timestamp: string;\n /** Optional metadata about the message */\n metadata?: {\n /** Tool/task name if this message is tool-related */\n toolName?: string;\n /** Message type (request, response, clarification, etc.) */\n type?: string;\n /** Additional context data */\n [key: string]: any;\n };\n}\n\n/**\n * Request for input from the agent - sent when clarification is needed\n */\nexport interface InputRequest {\n /** Human-readable question or prompt */\n question: string;\n /** Specific field being requested (if applicable) */\n field?: string;\n /** Expected type of response */\n expectedType?: 'string' | 'number' | 'boolean' | 'object' | 'array';\n /** Suggested values or options */\n suggestions?: any[];\n /** Whether this input is required */\n required?: boolean;\n /** Validation rules for the input */\n validation?: {\n min?: number;\n max?: number;\n pattern?: string;\n enum?: any[];\n };\n /** Additional context about why this input is needed */\n context?: string;\n}\n\n/**\n * Different types of responses an input handler can provide\n */\nexport type InputHandlerResponse =\n | any // Direct answer\n | Promise<any> // Async answer\n | { defer: true; token: string } // Defer to human\n | { abort: true; reason?: string } // Abort task\n | never; // For control flow (abort() helper)\n\n/**\n * Function signature for input handlers\n */\nexport type InputHandler = (context: ConversationContext) => InputHandlerResponse;\n\n/**\n * Complete conversation context provided to input handlers\n */\nexport interface ConversationContext {\n /** Full conversation history for this task */\n messages: Message[];\n /** Current input request from the agent */\n inputRequest: InputRequest;\n /** Unique task identifier */\n taskId: string;\n /** Agent configuration */\n agent: {\n id: string;\n name: string;\n protocol: 'mcp' | 'a2a';\n };\n /** Current clarification attempt number (1-based) */\n attempt: number;\n /** Maximum allowed clarification attempts */\n maxAttempts: number;\n\n /** Helper method to defer task to human */\n deferToHuman(): Promise<{ defer: true; token: string }>;\n\n /** Helper method to abort the task */\n abort(reason?: string): never;\n\n /** Get conversation summary for context */\n getSummary(): string;\n\n /** Check if a field was previously discussed */\n wasFieldDiscussed(field: string): boolean;\n\n /** Get previous response for a field */\n getPreviousResponse(field: string): any;\n}\n\n/**\n * Status of a task execution\n */\nexport type TaskStatus =\n | 'pending'\n | 'running'\n | 'working'\n | 'needs_input'\n | 'input-required'\n | 'auth-required'\n | 'completed'\n | 'failed'\n | 'rejected'\n | 'canceled'\n | 'deferred'\n | 'aborted'\n | 'submitted'\n | 'governance-denied';\n\n/**\n * Predicate used by scoped webhook URL templates to decide which operations\n * receive protocol-level webhook URLs.\n */\nexport type WebhookToolPredicate = (toolName: string) => boolean;\n\n/**\n * Webhook URL template with macro substitution. A bare string preserves the\n * legacy behavior: every operation receives a generated webhook URL. The\n * object form scopes webhook URL generation to a tool allowlist or predicate.\n */\nexport type WebhookUrlTemplate =\n | string\n | {\n template: string;\n tools?: string[] | WebhookToolPredicate;\n };\n\n/**\n * Options for task execution\n */\nexport interface TaskOptions {\n /**\n * Absolute wall-clock deadline for the entire SDK task call (ms), including\n * discovery and capability/version preflight. Unlike `workingTimeout`, this\n * deadline never resets on progress and aborts in-flight protocol work.\n */\n timeout?: number;\n /**\n * Caller-owned cancellation signal for the read path and in-flight protocol\n * call. Aborting this signal cancels discovery probes (`getAgentInfo`,\n * `getCapabilities`, feature/version preflight) and the tool request where\n * the underlying official protocol client supports it.\n */\n signal?: AbortSignal;\n /** Maximum clarification rounds before failing */\n maxClarifications?: number;\n /**\n * A2A `contextId` that binds this call to a server-side conversation.\n * When set, the client sends it on the A2A Message envelope so the server\n * can route to the existing session instead of starting a new one.\n * Retained automatically across calls on the same `AgentClient`.\n */\n contextId?: string;\n /**\n * A2A `taskId` of a non-terminal task to resume (HITL / approval flows).\n * When set, the client sends it on the A2A Message envelope so the server\n * continues the same task rather than opening a new one.\n */\n taskId?: string;\n /** Enable debug logging for this task */\n debug?: boolean;\n /** Suppress automatic webhook URL generation for this call. */\n disableWebhook?: boolean;\n /** Additional metadata to include */\n metadata?: Record<string, any>;\n /**\n * INTERNAL — compliance-test-only escape hatch.\n *\n * Suppresses the client's automatic `idempotency_key` generation on\n * mutating requests. The sole caller is the storyboard runner, which\n * needs to exercise servers' missing-key validation. Auto-injection\n * is the retry-safety contract for every real buyer — bypassing it\n * in production breaks at-most-once semantics on network retries.\n *\n * @internal Do not set in production buyer code.\n */\n skipIdempotencyAutoInject?: boolean;\n /**\n * INTERNAL — compliance-test-only escape hatch.\n *\n * Suppresses the client's `account`-required validation on\n * `create_media_buy` requests. The sole caller is the storyboard runner,\n * which needs to exercise servers' missing-account validation without the\n * SDK throwing client-side before the wire call.\n *\n * @internal Do not set in production buyer code.\n */\n skipAccountValidation?: boolean;\n /**\n * Transport-level safeguards for this call. Overrides the matching field\n * on the client constructor's `transport` option. Use to lift or tighten\n * `maxResponseBytes` per call when an agent legitimately publishes large\n * catalogs (e.g., `list_creative_formats` on a generative seller).\n */\n transport?: import('../protocols').TransportOptions;\n}\n\n/**\n * Internal task state for tracking execution\n */\nexport interface TaskState {\n /** Unique task identifier */\n taskId: string;\n /** Task name (tool name) */\n taskName: string;\n /**\n * Original parameters while the SDK is actively dispatching or resolving\n * input. Redacted after a task becomes working, submitted, or terminal so\n * lifecycle inspection does not retain request assets or credentials.\n */\n params?: any;\n /** Current status */\n status: TaskStatus;\n /** Message history */\n messages: Message[];\n /** Current input request (if waiting for input) */\n pendingInput?: InputRequest;\n /** Start time */\n startTime: number;\n /** Current attempt number */\n attempt: number;\n /** Maximum attempts allowed */\n maxAttempts: number;\n /** Task options */\n options: TaskOptions;\n /** Agent configuration */\n agent: {\n id: string;\n name: string;\n protocol: 'mcp' | 'a2a';\n };\n /**\n * Idempotency key for this task, when the tool is mutating. Tracked on\n * state so internal retries reuse the same key (the whole point of the\n * envelope — a re-generated key defeats retry safety).\n */\n idempotencyKey?: string;\n}\n\n/**\n * Task tracking information from tasks/get endpoint (PR #78)\n */\nexport interface TaskInfo {\n /** Task ID */\n taskId: string;\n /** Current status */\n status: string;\n /** Task type/name */\n taskType: string;\n /** Creation timestamp */\n createdAt: number;\n /** Last update timestamp */\n updatedAt: number;\n /** Task result (if completed) */\n result?: any;\n /** Error message (if failed) */\n error?: string;\n /** Human-readable message from agent (alternative to error field) */\n message?: string;\n /** Webhook URL (if applicable) */\n webhookUrl?: string;\n}\n\n/**\n * Continuation for deferred client tasks (client needs time)\n */\nexport interface DeferredContinuation<T> {\n /** Token for resuming the task */\n token: string;\n /** Question that triggered the deferral */\n question?: string;\n /** Resume the task with user input */\n resume: (input: any) => Promise<TaskResult<T>>;\n}\n\n/**\n * Continuation for submitted server tasks (server needs time).\n *\n * Returned in `TaskResult.submitted` when the seller signals an AdCP\n * `submitted` arm (long-running work that won't complete inside the\n * transport call). The buyer either polls via {@link waitForCompletion}\n * / {@link track} or waits for the seller's webhook callback at\n * {@link webhookUrl}.\n */\nexport interface SubmittedContinuation<T> {\n /**\n * Server-assigned task handle — the value the seller emitted in\n * `response.task_id` (AdCP submitted-arm wire field) or surfaced via\n * the A2A response Task. This is the identifier the seller knows; it\n * is what the SDK passes to subsequent `tasks/get` polling calls.\n *\n * NOT the same as the SDK's runner-side correlation id (`TaskState.taskId`,\n * a local UUID generated at request time and used internally for\n * `activeTasks` map indexing and the `{operation_id}` webhook URL macro).\n * The runner-side id never reaches the seller.\n *\n * If the seller violated the spec and didn't include a task handle on\n * the submitted-arm response, this falls back to the runner-side\n * correlation id — pollers won't be able to locate the work, but\n * callers at least get a non-undefined value to log.\n */\n taskId: string;\n /** Webhook URL where server will notify completion */\n webhookUrl?: string;\n /** Get current task status. Pass `transport` to override the executor-constructor cap for this poll. */\n track: (transport?: import('../protocols').TransportOptions) => Promise<TaskInfo>;\n /**\n * Wait for completion with polling. Transport cap is fixed at task-submission time; use `track` for per-poll override.\n * Pass `signal` to cancel the polling loop early (e.g. `AbortSignal.timeout(ms)`); the loop exits cleanly on abort\n * rather than continuing to issue `tasks/get` requests after the caller has moved on. (adcp-client#1612)\n * On abort with an A2A seller, a `tasks/cancel` is also dispatched as a protocol courtesy (A2A 0.3.0 §7.4)\n * — fire-and-forget; the buyer does not wait for acknowledgment and the outcome does not affect the returned `TaskResult`.\n */\n waitForCompletion: (pollInterval?: number, signal?: AbortSignal) => Promise<TaskResult<T>>;\n}\n\n/**\n * A single validation failure from an AdCP VALIDATION_ERROR response.\n *\n * `pointer` uses RFC 6901 JSON Pointer format (e.g. `/packages/0/targeting`),\n * which differs from the top-level `AdcpErrorInfo.field` that uses JSONPath-lite\n * (`packages[0].targeting`). For LLM self-correction: read `keyword` first —\n * `'required'` means add the missing field, `'enum'` means pick a valid value,\n * `'type'` means fix the value type.\n */\nexport interface AdcpValidationIssue {\n /** RFC 6901 JSON Pointer to the offending field (e.g. `/packages/0/targeting`). */\n pointer: string;\n /** Human-readable reason this field was rejected. */\n message: string;\n /** JSON Schema keyword that caused rejection (e.g. `'required'`, `'type'`, `'enum'`). */\n keyword: string;\n /**\n * Path inside the schema that rejected the payload. Sellers SHOULD NOT emit on\n * production endpoints — it leaks oneOf branch selection and is a fingerprinting\n * oracle for adversarial callers. May appear in dev/sandbox mode.\n */\n schemaPath?: string;\n}\n\n/**\n * Structured AdCP error information extracted from a failed task response.\n * Present on `TaskResult.adcpError` when the agent returns a recognized error.\n */\nexport interface AdcpErrorInfo {\n /** AdCP error code (e.g., 'RATE_LIMITED', 'PRODUCT_NOT_FOUND') */\n code: string;\n /** Human-readable error message. **Sellers:** do not embed tokens, account IDs, or internal paths — this field is forwarded to `ComplianceResult.failures[].adcp_error` and is grader-visible beyond the request lifetime. */\n message: string;\n /** Recovery classification: retry, fix the request, or give up */\n recovery?: 'transient' | 'correctable' | 'terminal';\n /** Field that caused the error */\n field?: string;\n /** Suggested fix from the agent. Untrusted — sanitize before rendering in HTML. */\n suggestion?: string;\n /** Seconds to wait before retrying (transient errors). See also `retryAfterMs`. */\n retry_after?: number;\n /** Milliseconds to wait before retrying — convenience conversion of `retry_after * 1000`. */\n retryAfterMs?: number;\n /** Additional error details. Untrusted agent-controlled content — sanitize before rendering. **Sellers:** do not embed tokens, account IDs, or internal paths — this field is forwarded to `ComplianceResult.failures[].adcp_error` and is grader-visible beyond the request lifetime. */\n details?: Record<string, unknown>;\n /**\n * Structured validation failures. Present on `VALIDATION_ERROR` when the seller\n * identifies multiple offending fields. Each item's `pointer` is RFC 6901 format\n * (e.g. `/packages/0/targeting`) — differs from the top-level `field` which uses\n * JSONPath-lite. For LLM self-correction, read `keyword` first: `'required'` → add\n * the field, `'enum'` → pick a valid value, `'type'` → fix the value type.\n */\n issues?: AdcpValidationIssue[];\n /** True when the SDK inferred this error from unstructured text (L1 compliance) */\n synthetic?: boolean;\n}\n\n/**\n * Task execution metadata, shared across all result variants.\n */\nexport interface TaskResultMetadata {\n /**\n * Client-minted correlation id for this specific request attempt. Used\n * for internal tracking (activeTasks map, webhook URL macros, debug\n * logs) and retried/refired across attempts — NOT the A2A task id the\n * server is tracking. For the server-side id, use {@link serverTaskId}.\n */\n taskId: string;\n /**\n * Server-returned A2A `contextId` / AdCP `context_id` that binds this\n * response to a server-side conversation. Present when the server surfaced\n * one; `undefined` otherwise (e.g., fire-and-forget MCP completions).\n *\n * Buyers who persist conversation across process restarts should save this\n * and seed it into `AgentClient.resetContext(id)` on rehydration.\n */\n contextId?: string;\n /**\n * A2A `taskId` of the server-tracked task for this response. Populated\n * from A2A Task / Message responses; `undefined` for MCP and for A2A\n * responses that carry no task binding. Distinct from {@link taskId},\n * which is the client-minted correlation id.\n */\n serverTaskId?: string;\n taskName: string;\n agent: { id: string; name: string; protocol: 'mcp' | 'a2a' };\n /** Total execution time in milliseconds */\n responseTimeMs: number;\n /** ISO timestamp of completion */\n timestamp: string;\n /** Number of clarification rounds */\n clarificationRounds: number;\n /** Final status */\n status: TaskStatus;\n /** Input request details (for input-required status) */\n inputRequest?: InputRequest;\n /**\n * Idempotency key used for this request, when the tool is mutating. Auto-\n * generated by the SDK when the caller doesn't supply one. Surfaced for\n * logging, correlation, and BYOK flows where the caller persists the key\n * alongside the resource it creates.\n */\n idempotency_key?: string;\n /**\n * True when the response was a cached replay from the seller's idempotency\n * store (i.e., an earlier request with the same key already succeeded).\n *\n * Callers with side effects on response — \"campaign created!\" notifications,\n * LLM memory writes, downstream tool calls — MUST check this flag before\n * acting, or retries will re-fire side effects.\n */\n replayed?: boolean;\n /**\n * Seller-served, release-precision AdCP version echoed on the response\n * envelope. Present when the seller emits `adcp_version` (3.1+). Compare\n * with the request's wire-normalized version, not a raw full-semver\n * configuration pin, when detecting same-major downshift.\n */\n adcpVersion?: string;\n /**\n * Buyer-side product property policy enforcement summary for `get_products`.\n * Present when the client evaluates a configured product property policy or\n * enforces the request's `property_list` reference against the response.\n */\n productPropertyPolicy?: {\n mode: ProductPropertyPolicyMode;\n ok: boolean;\n accepted_count: number;\n rejected_count: number;\n flagged_count: number;\n message?: string;\n request_property_list?: {\n list_id: string;\n agent_url: string;\n identifier_count?: number;\n cache_valid_until?: string;\n resolution_error?: string;\n };\n diagnostics: ProductPropertyPolicyDiagnostic[];\n };\n /**\n * Buyer-side pricing-options enforcement summary for `get_products`. Present\n * when the client drops one or more products that arrived without a usable\n * `pricing_options[]` array (a required, non-empty field in AdCP 3.1).\n */\n productPricingPolicy?: {\n ok: boolean;\n accepted_count: number;\n rejected_count: number;\n rejected_products: Array<{ index: number; product_id?: string }>;\n };\n}\n\n/** Fields shared across all TaskResult variants. */\ninterface TaskResultBase<T = any> {\n metadata: TaskResultMetadata;\n /** Governance check result (present when governance is configured) */\n governance?: import('./GovernanceTypes').GovernanceCheckResult;\n /** Governance outcome (present after successful execution with governance) */\n governanceOutcome?: import('./GovernanceTypes').GovernanceOutcome;\n /** Error message when governance outcome reporting failed */\n governanceOutcomeError?: string;\n /** Full conversation history */\n conversation?: Message[];\n /** Debug logs (if debug enabled) */\n debug_logs?: any[];\n /**\n * Exhaustive pattern match on the result's `status`. Prefer this method\n * form — it autocompletes alongside the other `TaskResult` accessors.\n *\n * The free function {@link import('./match').match} is also exported for\n * compositional use (e.g., point-free style or when the result type is\n * not yet narrowed).\n *\n * Attached non-enumerably by the client when the result is returned\n * from `executeTask`. Results constructed by hand (e.g., in test\n * fixtures or custom middleware) will not have this method — use the\n * free function, or call `attachMatch(result)` first.\n */\n match?: <R>(handlers: import('./match').MatchHandlers<T, R> | import('./match').PartialMatchHandlers<T, R>) => R;\n}\n\n/** Successful completion — `data` is always present. */\nexport interface TaskResultCompleted<T> extends TaskResultBase<T> {\n success: true;\n status: 'completed';\n data: T;\n error?: undefined;\n adcpError?: undefined;\n errorInstance?: undefined;\n correlationId?: undefined;\n deferred?: undefined;\n submitted?: undefined;\n}\n\n/** Task is still progressing (working, submitted, input-required, deferred). */\nexport interface TaskResultIntermediate<T> extends TaskResultBase<T> {\n success: true;\n /**\n * Task is progressing but not yet final. `'auth-required'` and\n * `'input-required'` are paused states surfaced by the polling\n * cycle (`pollTaskCompletion`) — the buyer must satisfy the\n * paused condition (refresh auth / supply input) and retry the\n * original tool call. Polling alone won't advance them.\n */\n status: 'working' | 'submitted' | 'input-required' | 'auth-required' | 'deferred';\n data?: T;\n error?: undefined;\n adcpError?: undefined;\n errorInstance?: undefined;\n correlationId?: undefined;\n /** Deferred continuation (client needs time for input) */\n deferred?: DeferredContinuation<T>;\n /** Submitted continuation (server needs time for processing) */\n submitted?: SubmittedContinuation<T>;\n}\n\n/** Task failed — `error` is always present. */\nexport interface TaskResultFailure<T> extends TaskResultBase<T> {\n success: false;\n status: 'failed' | 'governance-denied';\n /** Response payload with structured error details (adcp_error, context, ext) */\n data?: T;\n /** Human-readable error message */\n error: string;\n /** Structured AdCP error (code, recovery, suggestion, retryAfterMs) */\n adcpError?: AdcpErrorInfo;\n /**\n * Typed `ADCPError` subclass instance when the seller's error code has a\n * dedicated class — currently `IdempotencyConflictError` and\n * `IdempotencyExpiredError`. Lets callers write\n * `if (result.errorInstance instanceof IdempotencyConflictError)` instead of\n * switching on `adcpError.code` strings. Absent for codes without a typed\n * mapping.\n */\n errorInstance?: import('../errors').ADCPError;\n /** Correlation ID from the error response context, for tracing across agents */\n correlationId?: string;\n deferred?: undefined;\n submitted?: undefined;\n}\n\n/**\n * Result of a task execution.\n *\n * Discriminated union on `success`:\n * - `success: true` + `status: 'completed'` → `data` is `T`\n * - `success: true` + intermediate status → task is progressing, `data` may be partial\n * - `success: false` → `error` is always a string, `adcpError` has structured details\n */\nexport type TaskResult<T = any> = TaskResultCompleted<T> | TaskResultIntermediate<T> | TaskResultFailure<T>;\n\n/**\n * Configuration for conversation management\n */\nexport interface ConversationConfig {\n /** Maximum messages to keep in history */\n maxHistorySize?: number;\n /** Whether to persist conversations */\n persistConversations?: boolean;\n /** Resettable idle/progress timeout for protocol work in 'working' status. */\n workingTimeout?: number;\n /** Default max clarifications */\n defaultMaxClarifications?: number;\n}\n"],"mappings":";;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
|
@@ -77,7 +77,7 @@ export declare class GovernanceMiddleware {
|
|
|
77
77
|
* Get or mint the idempotency key for a `(checkId, outcome)` tuple.
|
|
78
78
|
* Uses the Map's insertion-order semantics for LRU eviction.
|
|
79
79
|
*/
|
|
80
|
-
|
|
80
|
+
getOutcomeIdempotencyKey(checkId: string, outcome: OutcomeType): string;
|
|
81
81
|
/**
|
|
82
82
|
* Check whether this tool requires a governance check.
|
|
83
83
|
*/
|
|
@@ -96,7 +96,7 @@ export declare class GovernanceMiddleware {
|
|
|
96
96
|
* When conditions are returned with required_value, this method auto-applies
|
|
97
97
|
* them and re-checks, up to maxConditionsIterations.
|
|
98
98
|
*/
|
|
99
|
-
checkProposed(tool: string, params: Record<string, unknown>, debugLogs?: GovernanceDebugEntry[]): Promise<{
|
|
99
|
+
checkProposed(tool: string, params: Record<string, unknown>, debugLogs?: GovernanceDebugEntry[], signal?: AbortSignal): Promise<{
|
|
100
100
|
result: GovernanceCheckResult;
|
|
101
101
|
params: Record<string, unknown>;
|
|
102
102
|
}>;
|
|
@@ -107,6 +107,6 @@ export declare class GovernanceMiddleware {
|
|
|
107
107
|
reportOutcome(checkId: string, outcome: OutcomeType, sellerResponse?: Record<string, unknown>, error?: {
|
|
108
108
|
code?: string;
|
|
109
109
|
message: string;
|
|
110
|
-
}, debugLogs?: GovernanceDebugEntry[], governanceContext?: string): Promise<GovernanceOutcome | undefined>;
|
|
110
|
+
}, debugLogs?: GovernanceDebugEntry[], governanceContext?: string, signal?: AbortSignal, outcomeIdempotencyKey?: string): Promise<GovernanceOutcome | undefined>;
|
|
111
111
|
private emitGovernanceActivity;
|
|
112
112
|
}
|