@adcp/sdk 14.0.0-beta.11 → 14.0.0-beta.13
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/bin/adcp-storyboard-sandbox.js +16 -0
- package/bin/adcp.js +28 -30
- package/dist/lib/index.d.mts +3 -3
- package/dist/lib/index.d.ts +3 -3
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +2 -0
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +3 -1
- package/dist/lib/index.mjs.map +1 -1
- package/dist/lib/schemas/index.d.mts +385 -1
- package/dist/lib/schemas/index.d.ts +385 -1
- package/dist/lib/schemas/index.d.ts.map +1 -1
- package/dist/lib/schemas/index.js +13 -0
- package/dist/lib/schemas/index.js.map +1 -1
- package/dist/lib/schemas/index.mjs +11 -0
- package/dist/lib/schemas/index.mjs.map +1 -1
- package/dist/lib/schemas-data/v2.5/_provenance.json +1 -1
- package/dist/lib/server/create-adcp-server.d.mts +2 -2
- package/dist/lib/server/create-adcp-server.d.ts +2 -2
- package/dist/lib/server/create-adcp-server.d.ts.map +1 -1
- package/dist/lib/server/create-adcp-server.js +6 -1
- package/dist/lib/server/create-adcp-server.js.map +1 -1
- package/dist/lib/server/create-adcp-server.mjs +6 -1
- package/dist/lib/server/create-adcp-server.mjs.map +1 -1
- package/dist/lib/server/decisioning/index.d.mts +3 -3
- package/dist/lib/server/decisioning/index.d.ts +3 -3
- package/dist/lib/server/decisioning/index.d.ts.map +1 -1
- package/dist/lib/server/decisioning/index.js.map +1 -1
- package/dist/lib/server/decisioning/index.mjs.map +1 -1
- package/dist/lib/server/decisioning/runtime/from-platform.d.mts +24 -17
- package/dist/lib/server/decisioning/runtime/from-platform.d.ts +24 -17
- package/dist/lib/server/decisioning/runtime/from-platform.d.ts.map +1 -1
- package/dist/lib/server/decisioning/runtime/from-platform.js +71 -42
- package/dist/lib/server/decisioning/runtime/from-platform.js.map +1 -1
- package/dist/lib/server/decisioning/runtime/from-platform.mjs +75 -43
- package/dist/lib/server/decisioning/runtime/from-platform.mjs.map +1 -1
- package/dist/lib/server/decisioning/runtime/postgres-task-registry.d.mts +15 -21
- package/dist/lib/server/decisioning/runtime/postgres-task-registry.d.ts +15 -21
- package/dist/lib/server/decisioning/runtime/postgres-task-registry.d.ts.map +1 -1
- package/dist/lib/server/decisioning/runtime/postgres-task-registry.js +100 -30
- package/dist/lib/server/decisioning/runtime/postgres-task-registry.js.map +1 -1
- package/dist/lib/server/decisioning/runtime/postgres-task-registry.mjs +100 -30
- package/dist/lib/server/decisioning/runtime/postgres-task-registry.mjs.map +1 -1
- package/dist/lib/server/decisioning/runtime/task-registry.d.mts +30 -16
- package/dist/lib/server/decisioning/runtime/task-registry.d.ts +30 -16
- package/dist/lib/server/decisioning/runtime/task-registry.d.ts.map +1 -1
- package/dist/lib/server/decisioning/runtime/task-registry.js +40 -20
- package/dist/lib/server/decisioning/runtime/task-registry.js.map +1 -1
- package/dist/lib/server/decisioning/runtime/task-registry.mjs +38 -19
- package/dist/lib/server/decisioning/runtime/task-registry.mjs.map +1 -1
- package/dist/lib/server/decisioning/runtime/to-context.d.mts +2 -2
- package/dist/lib/server/decisioning/runtime/to-context.d.ts +2 -2
- package/dist/lib/server/decisioning/runtime/to-context.d.ts.map +1 -1
- package/dist/lib/server/decisioning/runtime/to-context.js +2 -2
- package/dist/lib/server/decisioning/runtime/to-context.js.map +1 -1
- package/dist/lib/server/decisioning/runtime/to-context.mjs +2 -2
- package/dist/lib/server/decisioning/runtime/to-context.mjs.map +1 -1
- package/dist/lib/server/decisioning/specialisms/creative-ad-server.d.mts +3 -2
- package/dist/lib/server/decisioning/specialisms/creative-ad-server.d.ts +3 -2
- package/dist/lib/server/decisioning/specialisms/creative-ad-server.d.ts.map +1 -1
- package/dist/lib/server/decisioning/specialisms/creative-ad-server.js.map +1 -1
- package/dist/lib/server/decisioning/specialisms/creative.d.mts +10 -10
- package/dist/lib/server/decisioning/specialisms/creative.d.ts +10 -10
- package/dist/lib/server/decisioning/specialisms/creative.d.ts.map +1 -1
- package/dist/lib/server/decisioning/specialisms/creative.js.map +1 -1
- package/dist/lib/server/index.d.mts +1 -1
- package/dist/lib/server/index.d.ts +1 -1
- package/dist/lib/server/index.d.ts.map +1 -1
- package/dist/lib/server/index.js.map +1 -1
- package/dist/lib/server/index.mjs.map +1 -1
- package/dist/lib/signing/agent-context.d.mts +1 -0
- package/dist/lib/signing/agent-context.d.ts +1 -0
- package/dist/lib/signing/agent-context.d.ts.map +1 -1
- package/dist/lib/signing/agent-context.js +37 -2
- package/dist/lib/signing/agent-context.js.map +1 -1
- package/dist/lib/signing/agent-context.mjs +38 -3
- package/dist/lib/signing/agent-context.mjs.map +1 -1
- package/dist/lib/signing/agent-fetch.d.mts +1 -2
- package/dist/lib/signing/agent-fetch.d.ts +1 -2
- package/dist/lib/signing/agent-fetch.d.ts.map +1 -1
- package/dist/lib/signing/agent-fetch.js +2 -0
- package/dist/lib/signing/agent-fetch.js.map +1 -1
- package/dist/lib/signing/agent-fetch.mjs +2 -0
- package/dist/lib/signing/agent-fetch.mjs.map +1 -1
- package/dist/lib/signing/agent-resolver/etld.js.map +1 -1
- package/dist/lib/signing/agent-resolver/etld.mjs.map +1 -1
- package/dist/lib/testing/client.d.mts +6 -0
- package/dist/lib/testing/client.d.ts +6 -0
- package/dist/lib/testing/client.d.ts.map +1 -1
- package/dist/lib/testing/client.js +76 -4
- package/dist/lib/testing/client.js.map +1 -1
- package/dist/lib/testing/client.mjs +75 -4
- package/dist/lib/testing/client.mjs.map +1 -1
- package/dist/lib/testing/compliance/comply.d.ts.map +1 -1
- package/dist/lib/testing/compliance/comply.js +6 -0
- package/dist/lib/testing/compliance/comply.js.map +1 -1
- package/dist/lib/testing/compliance/comply.mjs +7 -1
- package/dist/lib/testing/compliance/comply.mjs.map +1 -1
- package/dist/lib/testing/storyboard/default-invariants.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/default-invariants.js +11 -2
- package/dist/lib/testing/storyboard/default-invariants.js.map +1 -1
- package/dist/lib/testing/storyboard/default-invariants.mjs +11 -2
- package/dist/lib/testing/storyboard/default-invariants.mjs.map +1 -1
- package/dist/lib/testing/storyboard/index.d.mts +1 -1
- package/dist/lib/testing/storyboard/index.d.ts +1 -1
- package/dist/lib/testing/storyboard/index.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/index.js.map +1 -1
- package/dist/lib/testing/storyboard/index.mjs.map +1 -1
- package/dist/lib/testing/storyboard/loader.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/loader.js +14 -0
- package/dist/lib/testing/storyboard/loader.js.map +1 -1
- package/dist/lib/testing/storyboard/loader.mjs +14 -0
- package/dist/lib/testing/storyboard/loader.mjs.map +1 -1
- package/dist/lib/testing/storyboard/phase-condition.d.mts +41 -0
- package/dist/lib/testing/storyboard/phase-condition.d.ts +42 -0
- package/dist/lib/testing/storyboard/phase-condition.d.ts.map +1 -0
- package/dist/lib/testing/storyboard/phase-condition.js +215 -0
- package/dist/lib/testing/storyboard/phase-condition.js.map +1 -0
- package/dist/lib/testing/storyboard/phase-condition.mjs +189 -0
- package/dist/lib/testing/storyboard/phase-condition.mjs.map +1 -0
- package/dist/lib/testing/storyboard/request-builder.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/request-builder.js +15 -2
- package/dist/lib/testing/storyboard/request-builder.js.map +1 -1
- package/dist/lib/testing/storyboard/request-builder.mjs +15 -2
- package/dist/lib/testing/storyboard/request-builder.mjs.map +1 -1
- package/dist/lib/testing/storyboard/request-signing/functional-dispatch.d.mts +15 -0
- package/dist/lib/testing/storyboard/request-signing/functional-dispatch.d.ts +16 -0
- package/dist/lib/testing/storyboard/request-signing/functional-dispatch.d.ts.map +1 -0
- package/dist/lib/testing/storyboard/request-signing/functional-dispatch.js +106 -0
- package/dist/lib/testing/storyboard/request-signing/functional-dispatch.js.map +1 -0
- package/dist/lib/testing/storyboard/request-signing/functional-dispatch.mjs +82 -0
- package/dist/lib/testing/storyboard/request-signing/functional-dispatch.mjs.map +1 -0
- package/dist/lib/testing/storyboard/request-signing/test-kit.d.mts +15 -0
- package/dist/lib/testing/storyboard/request-signing/test-kit.d.ts +15 -0
- package/dist/lib/testing/storyboard/request-signing/test-kit.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/request-signing/test-kit.js +58 -0
- package/dist/lib/testing/storyboard/request-signing/test-kit.js.map +1 -1
- package/dist/lib/testing/storyboard/request-signing/test-kit.mjs +58 -0
- package/dist/lib/testing/storyboard/request-signing/test-kit.mjs.map +1 -1
- package/dist/lib/testing/storyboard/request-signing/vector-loader.d.mts +2 -0
- package/dist/lib/testing/storyboard/request-signing/vector-loader.d.ts +2 -0
- package/dist/lib/testing/storyboard/request-signing/vector-loader.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/request-signing/vector-loader.js +7 -1
- package/dist/lib/testing/storyboard/request-signing/vector-loader.js.map +1 -1
- package/dist/lib/testing/storyboard/request-signing/vector-loader.mjs +6 -1
- package/dist/lib/testing/storyboard/request-signing/vector-loader.mjs.map +1 -1
- package/dist/lib/testing/storyboard/runner.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/runner.js +67 -24
- package/dist/lib/testing/storyboard/runner.js.map +1 -1
- package/dist/lib/testing/storyboard/runner.mjs +67 -24
- package/dist/lib/testing/storyboard/runner.mjs.map +1 -1
- package/dist/lib/testing/storyboard/task-map.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/task-map.js +6 -2
- package/dist/lib/testing/storyboard/task-map.js.map +1 -1
- package/dist/lib/testing/storyboard/task-map.mjs +6 -2
- package/dist/lib/testing/storyboard/task-map.mjs.map +1 -1
- package/dist/lib/testing/storyboard/types.d.mts +5 -4
- package/dist/lib/testing/storyboard/types.d.ts +5 -4
- package/dist/lib/testing/storyboard/types.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/types.js.map +1 -1
- package/dist/lib/testing/storyboard/types.mjs.map +1 -1
- package/dist/lib/testing/storyboard/validations.d.mts +1 -1
- package/dist/lib/testing/storyboard/validations.d.ts +1 -1
- package/dist/lib/testing/storyboard/webhook-assertions.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/webhook-assertions.js +60 -4
- package/dist/lib/testing/storyboard/webhook-assertions.js.map +1 -1
- package/dist/lib/testing/storyboard/webhook-assertions.mjs +60 -4
- package/dist/lib/testing/storyboard/webhook-assertions.mjs.map +1 -1
- package/dist/lib/testing/storyboard/webhook-receiver.d.mts +15 -0
- package/dist/lib/testing/storyboard/webhook-receiver.d.ts +15 -0
- package/dist/lib/testing/storyboard/webhook-receiver.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/webhook-receiver.js +57 -6
- package/dist/lib/testing/storyboard/webhook-receiver.js.map +1 -1
- package/dist/lib/testing/storyboard/webhook-receiver.mjs +57 -6
- package/dist/lib/testing/storyboard/webhook-receiver.mjs.map +1 -1
- package/dist/lib/testing/types.d.mts +12 -0
- package/dist/lib/testing/types.d.ts +12 -0
- package/dist/lib/testing/types.d.ts.map +1 -1
- package/dist/lib/testing/types.js.map +1 -1
- package/dist/lib/types/comply-test-controller.d.ts +1 -14
- package/dist/lib/types/core.generated.d.mts +6 -3
- package/dist/lib/types/core.generated.d.ts +6 -3
- 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/get-products.d.ts +1 -14
- package/dist/lib/types/index.d.mts +1 -1
- package/dist/lib/types/index.d.ts +1 -1
- package/dist/lib/types/index.d.ts.map +1 -1
- package/dist/lib/types/index.js.map +1 -1
- package/dist/lib/types/index.mjs.map +1 -1
- package/dist/lib/types/list-transformers.d.ts +9 -5
- package/dist/lib/types/schemas.generated.d.ts +23 -352
- package/dist/lib/types/schemas.generated.d.ts.map +1 -1
- package/dist/lib/types/schemas.generated.js +7 -4
- package/dist/lib/types/schemas.generated.js.map +1 -1
- package/dist/lib/types/schemas.generated.mjs +6 -4
- package/dist/lib/types/schemas.generated.mjs.map +1 -1
- package/dist/lib/types/server-payload-aliases.d.mts +2 -1
- package/dist/lib/types/server-payload-aliases.d.ts +2 -1
- package/dist/lib/types/server-payload-aliases.d.ts.map +1 -1
- package/dist/lib/types/server-payload-aliases.js.map +1 -1
- package/dist/lib/types/tools.generated.d.mts +6 -3
- package/dist/lib/types/tools.generated.d.ts +6 -3
- package/dist/lib/types/tools.generated.d.ts.map +1 -1
- package/dist/lib/types/tools.generated.js.map +1 -1
- package/dist/lib/utils/build-creative-return-builders.d.mts +5 -1
- package/dist/lib/utils/build-creative-return-builders.d.ts +5 -1
- package/dist/lib/utils/build-creative-return-builders.d.ts.map +1 -1
- package/dist/lib/utils/build-creative-return-builders.js +9 -3
- package/dist/lib/utils/build-creative-return-builders.js.map +1 -1
- package/dist/lib/utils/build-creative-return-builders.mjs +7 -2
- package/dist/lib/utils/build-creative-return-builders.mjs.map +1 -1
- package/dist/lib/utils/response-unwrapper.js +1 -1
- package/dist/lib/utils/response-unwrapper.js.map +1 -1
- package/dist/lib/utils/response-unwrapper.mjs +1 -1
- package/dist/lib/utils/response-unwrapper.mjs.map +1 -1
- package/dist/lib/validation/schema-loader.d.ts.map +1 -1
- package/dist/lib/validation/schema-loader.js +16 -7
- package/dist/lib/validation/schema-loader.js.map +1 -1
- package/dist/lib/validation/schema-loader.mjs +16 -7
- package/dist/lib/validation/schema-loader.mjs.map +1 -1
- package/dist/lib/version.d.mts +3 -3
- package/dist/lib/version.d.ts +3 -3
- package/dist/lib/version.js +3 -3
- package/dist/lib/version.js.map +1 -1
- package/dist/lib/version.mjs +3 -3
- package/dist/lib/version.mjs.map +1 -1
- package/docs/llms.txt +2 -2
- package/docs/migration-5.x-to-6.x.md +3 -2
- package/docs/migration-task-registry-scoping.md +61 -0
- package/examples/hello_seller_adapter_guaranteed.ts +1 -1
- package/package.json +5 -5
- package/skills/build-decisioning-creative-template/SKILL.md +2 -2
- package/skills/build-decisioning-platform/SKILL.md +4 -2
- package/skills/build-decisioning-platform/advanced/REFERENCE.md +7 -6
|
@@ -27,7 +27,7 @@ import type { Account, NoAccountCtx } from '../account';
|
|
|
27
27
|
import type { RequestContext } from '../context';
|
|
28
28
|
import type { TaskHandoff } from '../async-outcome';
|
|
29
29
|
import type { ServerPayload } from '../../../types/server-payload';
|
|
30
|
-
import type { BuildCreativeRequest, CreativeManifest, PreviewCreativeRequest as LegacyPreviewCreativeRequest, PreviewCreativeResponse as LegacyPreviewCreativeResponse, ListCreativeFormatsRequest, ListCreativeFormatsResponse, GetCreativeDeliveryRequest, GetCreativeDeliveryResponse, BuildCreativeSuccess, BuildCreativeMultiSuccess } from '../../../types/tools.generated';
|
|
30
|
+
import type { BuildCreativeRequest, CreativeManifest, PreviewCreativeRequest as LegacyPreviewCreativeRequest, PreviewCreativeResponse as LegacyPreviewCreativeResponse, ListCreativeFormatsRequest, ListCreativeFormatsResponse, GetCreativeDeliveryRequest, GetCreativeDeliveryResponse, BuildCreativeSuccess, BuildCreativeMultiSuccess, BuildCreativeVariantSuccess } from '../../../types/tools.generated';
|
|
31
31
|
import type { CanonicalSyncCreativeAsset, CanonicalCreativeResponse, CanonicalListCreativesRequest, CanonicalListCreativesResponse, CanonicalPreviewCreativeRequest, CanonicalPreviewCreativeResponse } from '../../../v2/projection/creative-delivery';
|
|
32
32
|
import type { SyncCreativesRow } from './sales';
|
|
33
33
|
type SyncCreative = CanonicalSyncCreativeAsset;
|
|
@@ -40,7 +40,8 @@ export type GetCreativeDeliveryPayload = ServerPayload<CanonicalCreativeResponse
|
|
|
40
40
|
export type LegacyGetCreativeDeliveryPayload = ServerPayload<GetCreativeDeliveryResponse>;
|
|
41
41
|
export type LegacyBuildCreativePayload = ServerPayload<BuildCreativeSuccess>;
|
|
42
42
|
export type LegacyBuildCreativeMultiPayload = ServerPayload<BuildCreativeMultiSuccess>;
|
|
43
|
-
export type
|
|
43
|
+
export type BuildCreativeVariantPayload = ServerPayload<BuildCreativeVariantSuccess>;
|
|
44
|
+
export type LegacyBuildCreativeReturn = CreativeManifest | CreativeManifest[] | LegacyBuildCreativePayload | LegacyBuildCreativeMultiPayload | BuildCreativeVariantPayload;
|
|
44
45
|
interface CreativeAdServerPlatformBase<TCtxMeta> {
|
|
45
46
|
/**
|
|
46
47
|
* Build / retrieve creative tags. Two invocation modes per the spec:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creative-ad-server.d.ts","sourceRoot":"","sources":["../../../../../src/lib/server/decisioning/specialisms/creative-ad-server.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,EACV,oBAAoB,EACpB,gBAAgB,EAChB,sBAAsB,IAAI,4BAA4B,EACtD,uBAAuB,IAAI,6BAA6B,EAGxD,0BAA0B,EAC1B,2BAA2B,EAC3B,0BAA0B,EAC1B,2BAA2B,EAC3B,oBAAoB,EACpB,yBAAyB,
|
|
1
|
+
{"version":3,"file":"creative-ad-server.d.ts","sourceRoot":"","sources":["../../../../../src/lib/server/decisioning/specialisms/creative-ad-server.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,EACV,oBAAoB,EACpB,gBAAgB,EAChB,sBAAsB,IAAI,4BAA4B,EACtD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AAG,EAAE,YAAY,CAAC,QAAQ,CAAC,GAC1B,OAAO,CAAC,4BAA4B,CAAC,CAAC;CAC1C,CAAC;AAEN,iGAAiG;AACjG,MAAM,MAAM,wBAAwB,CAAC,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,4BAA4B,CAAC,QAAQ,CAAC,GAC/G,uBAAuB,CAAC,QAAQ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/lib/server/decisioning/specialisms/creative-ad-server.ts"],"sourcesContent":["/**\n * CreativeAdServerPlatform — third creative archetype (v6.0).\n *\n * Stateful creative library + per-creative pricing + tag generation. The\n * canonical shape for creative-ad-server adopters: Innovid, Flashtalking,\n * GAM-creative, CMP-style platforms.\n *\n * Distinct from `CreativeTemplatePlatform` (stateless transform) and\n * `CreativeGenerativePlatform` (brief-driven generation):\n *\n * - **Stateful** — adopter persists creatives in a library; `syncCreatives`\n * pushes assets in, `listCreatives` reads them back, `buildCreative`\n * either looks up an existing creative by id OR pushes a new one\n * - **Pricing per creative** — vendor pricing options on each creative;\n * `pricing_option_id` selected at activation, billed via `report_usage`\n * - **Tag generation** — `buildCreative` returns ad-server tags (VAST,\n * placement-specific tracking pixels, macro-substituted creative HTML)\n * when invoked with `media_buy_id` + `package_id` context\n * - **Per-creative delivery reports** — `get_creative_delivery` returns\n * pacing data per creative across the library\n *\n * Status: Preview / 6.0.\n *\n * @public\n */\n\nimport type { Account, NoAccountCtx } from '../account';\nimport type { RequestContext } from '../context';\nimport type { TaskHandoff } from '../async-outcome';\nimport type { ServerPayload } from '../../../types/server-payload';\nimport type {\n BuildCreativeRequest,\n CreativeManifest,\n PreviewCreativeRequest as LegacyPreviewCreativeRequest,\n PreviewCreativeResponse as LegacyPreviewCreativeResponse,\n ListCreativesRequest,\n ListCreativesResponse,\n ListCreativeFormatsRequest,\n ListCreativeFormatsResponse,\n GetCreativeDeliveryRequest,\n GetCreativeDeliveryResponse,\n BuildCreativeSuccess,\n BuildCreativeMultiSuccess,\n} from '../../../types/tools.generated';\nimport type {\n CanonicalSyncCreativeAsset,\n CanonicalCreativeResponse,\n CanonicalListCreativesRequest,\n CanonicalListCreativesResponse,\n CanonicalPreviewCreativeRequest,\n CanonicalPreviewCreativeResponse,\n} from '../../../v2/projection/creative-delivery';\nimport type { SyncCreativesRow } from './sales';\n\ntype SyncCreative = CanonicalSyncCreativeAsset;\ntype Ctx<TCtxMeta> = RequestContext<Account<TCtxMeta>>;\n\nexport type PreviewCreativePayload = ServerPayload<CanonicalPreviewCreativeResponse>;\nexport type LegacyPreviewCreativePayload = ServerPayload<LegacyPreviewCreativeResponse>;\nexport type LegacyListCreativeFormatsPayload = ServerPayload<ListCreativeFormatsResponse>;\nexport type ListCreativesPayload = ServerPayload<CanonicalListCreativesResponse>;\nexport type GetCreativeDeliveryPayload = ServerPayload<CanonicalCreativeResponse<GetCreativeDeliveryResponse>>;\nexport type LegacyGetCreativeDeliveryPayload = ServerPayload<GetCreativeDeliveryResponse>;\nexport type LegacyBuildCreativePayload = ServerPayload<BuildCreativeSuccess>;\nexport type LegacyBuildCreativeMultiPayload = ServerPayload<BuildCreativeMultiSuccess>;\nexport type LegacyBuildCreativeReturn =\n | CreativeManifest\n | CreativeManifest[]\n | LegacyBuildCreativePayload\n | LegacyBuildCreativeMultiPayload;\n\ninterface CreativeAdServerPlatformBase<TCtxMeta> {\n /**\n * Build / retrieve creative tags. Two invocation modes per the spec:\n *\n * - **Library lookup**: `req.creative_id` references an existing\n * creative; return the manifest with tag fields populated\n * (`vast_tag`, click trackers, etc.). When `req.media_buy_id` +\n * `req.package_id` are also set, generate placement-specific tags\n * with macro substitution baked in.\n * - **Inline build**: `req.creative_manifest` is provided directly;\n * transform / wrap it (similar to template archetype but with\n * ad-server side effects: register the creative in the library,\n * generate the tag, etc.).\n *\n * Spec defines a Submitted arm via `async-response-data.json` but the\n * per-tool `build-creative-response.json` `oneOf` doesn't include it,\n * so codegen produces a `BuildCreativeResponse` without Submitted —\n * a SPEC inconsistency, tracked as adcontextprotocol/adcp#3392. Until\n * that lands, slow tag-generation pipelines await in-request; status\n * changes flow via `publishStatusChange`.\n */\n buildCreativeLegacy(req: BuildCreativeRequest, ctx: Ctx<TCtxMeta>): Promise<LegacyBuildCreativeReturn>;\n\n /**\n * Format catalog. Optional because adopters who delegate format definitions\n * to a separate creative agent (declared via `capabilities.creative_agents`)\n * don't own them; the framework returns `UNSUPPORTED_FEATURE` when omitted.\n *\n * ⚠️ NO-ACCOUNT TOOL. See `previewCreative` note above.\n */\n listCreativeFormatsLegacy?(\n req: ListCreativeFormatsRequest,\n ctx: NoAccountCtx<TCtxMeta>\n ): Promise<LegacyListCreativeFormatsPayload>;\n\n // sync_creatives: sync OR task — `SyncCreativesResponse` has a Submitted arm.\n\n /**\n * Push creatives. Return per-creative result rows (sync fast path) OR\n * `ctx.handoffToTask(fn)` to promote to a background task (HITL —\n * brand-suitability, S&P review). `action: 'created'` for new entries,\n * `'updated'` for replacements, `'unchanged'` when matching. Optional\n * `status: 'pending_review'` for sync-arm rows awaiting manual review.\n */\n syncCreatives?(\n creatives: SyncCreative[],\n ctx: Ctx<TCtxMeta>\n ): Promise<SyncCreativesRow[] | TaskHandoff<SyncCreativesRow[]>>;\n\n /**\n * Read creatives from the library. Filters + pagination. When\n * `req.include_assignments`, include the buyer's package-assignment\n * graph. When `req.include_pricing`, include vendor pricing options\n * on each creative.\n */\n listCreatives(req: CanonicalListCreativesRequest, ctx: Ctx<TCtxMeta>): Promise<ListCreativesPayload>;\n\n /**\n * Per-creative delivery actuals (impressions, spend, pacing). Sync —\n * report-running platforms with manual report cycles return the\n * latest cached actuals and emit `delivery_report` status changes\n * via `publishStatusChange` when fresh reports are available.\n *\n * **Multi-id contract.** `filter.media_buy_ids` and `filter.creative_ids`\n * are arrays — buyers may scope a delivery query to multiple buys or\n * creatives in one call. The platform MUST iterate every supplied id\n * and return one row per matching (creative, buy) pair. Reading only\n * `media_buy_ids[0]` / `creative_ids[0]` silently truncates the\n * buyer's request — a correctness bug to avoid (closes #1342).\n *\n * Pass-through is the framework contract: cross-creative aggregation\n * is platform-domain knowledge (variant-level deduplication, brand\n * mapping, attribution windows), so the framework hands the array\n * through and the platform owns fan-out. Sellers that can't compute\n * cross-cuts omit them; buyers fall back to per-row values.\n */\n getCreativeDelivery(filter: GetCreativeDeliveryRequest, ctx: Ctx<TCtxMeta>): Promise<GetCreativeDeliveryPayload>;\n}\n\ntype CreativeAdServerPreview<TCtxMeta> =\n | {\n /** Canonical preview through an advertised capability or stored creative. */\n previewCreative(\n req: CanonicalPreviewCreativeRequest,\n ctx: NoAccountCtx<TCtxMeta>\n ): Promise<PreviewCreativePayload>;\n /** @deprecated Migration-only alias for requests using legacy `format_id`. */\n previewCreativeLegacy?(\n req: LegacyPreviewCreativeRequest,\n ctx: NoAccountCtx<TCtxMeta>\n ): Promise<LegacyPreviewCreativePayload>;\n }\n | {\n previewCreative?: never;\n /** @deprecated Implement canonical `previewCreative` for new integrations. */\n previewCreativeLegacy(\n req: LegacyPreviewCreativeRequest,\n ctx: NoAccountCtx<TCtxMeta>\n ): Promise<LegacyPreviewCreativePayload>;\n };\n\n/** Stateful creative-ad-server platform with canonical preview and a legacy-compatible alias. */\nexport type CreativeAdServerPlatform<TCtxMeta = Record<string, unknown>> = CreativeAdServerPlatformBase<TCtxMeta> &\n CreativeAdServerPreview<TCtxMeta>;\n"],"mappings":";;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../../../../src/lib/server/decisioning/specialisms/creative-ad-server.ts"],"sourcesContent":["/**\n * CreativeAdServerPlatform — third creative archetype (v6.0).\n *\n * Stateful creative library + per-creative pricing + tag generation. The\n * canonical shape for creative-ad-server adopters: Innovid, Flashtalking,\n * GAM-creative, CMP-style platforms.\n *\n * Distinct from `CreativeTemplatePlatform` (stateless transform) and\n * `CreativeGenerativePlatform` (brief-driven generation):\n *\n * - **Stateful** — adopter persists creatives in a library; `syncCreatives`\n * pushes assets in, `listCreatives` reads them back, `buildCreative`\n * either looks up an existing creative by id OR pushes a new one\n * - **Pricing per creative** — vendor pricing options on each creative;\n * `pricing_option_id` selected at activation, billed via `report_usage`\n * - **Tag generation** — `buildCreative` returns ad-server tags (VAST,\n * placement-specific tracking pixels, macro-substituted creative HTML)\n * when invoked with `media_buy_id` + `package_id` context\n * - **Per-creative delivery reports** — `get_creative_delivery` returns\n * pacing data per creative across the library\n *\n * Status: Preview / 6.0.\n *\n * @public\n */\n\nimport type { Account, NoAccountCtx } from '../account';\nimport type { RequestContext } from '../context';\nimport type { TaskHandoff } from '../async-outcome';\nimport type { ServerPayload } from '../../../types/server-payload';\nimport type {\n BuildCreativeRequest,\n CreativeManifest,\n PreviewCreativeRequest as LegacyPreviewCreativeRequest,\n PreviewCreativeResponse as LegacyPreviewCreativeResponse,\n ListCreativesRequest,\n ListCreativesResponse,\n ListCreativeFormatsRequest,\n ListCreativeFormatsResponse,\n GetCreativeDeliveryRequest,\n GetCreativeDeliveryResponse,\n BuildCreativeSuccess,\n BuildCreativeMultiSuccess,\n BuildCreativeVariantSuccess,\n} from '../../../types/tools.generated';\nimport type {\n CanonicalSyncCreativeAsset,\n CanonicalCreativeResponse,\n CanonicalListCreativesRequest,\n CanonicalListCreativesResponse,\n CanonicalPreviewCreativeRequest,\n CanonicalPreviewCreativeResponse,\n} from '../../../v2/projection/creative-delivery';\nimport type { SyncCreativesRow } from './sales';\n\ntype SyncCreative = CanonicalSyncCreativeAsset;\ntype Ctx<TCtxMeta> = RequestContext<Account<TCtxMeta>>;\n\nexport type PreviewCreativePayload = ServerPayload<CanonicalPreviewCreativeResponse>;\nexport type LegacyPreviewCreativePayload = ServerPayload<LegacyPreviewCreativeResponse>;\nexport type LegacyListCreativeFormatsPayload = ServerPayload<ListCreativeFormatsResponse>;\nexport type ListCreativesPayload = ServerPayload<CanonicalListCreativesResponse>;\nexport type GetCreativeDeliveryPayload = ServerPayload<CanonicalCreativeResponse<GetCreativeDeliveryResponse>>;\nexport type LegacyGetCreativeDeliveryPayload = ServerPayload<GetCreativeDeliveryResponse>;\nexport type LegacyBuildCreativePayload = ServerPayload<BuildCreativeSuccess>;\nexport type LegacyBuildCreativeMultiPayload = ServerPayload<BuildCreativeMultiSuccess>;\nexport type BuildCreativeVariantPayload = ServerPayload<BuildCreativeVariantSuccess>;\nexport type LegacyBuildCreativeReturn =\n | CreativeManifest\n | CreativeManifest[]\n | LegacyBuildCreativePayload\n | LegacyBuildCreativeMultiPayload\n | BuildCreativeVariantPayload;\n\ninterface CreativeAdServerPlatformBase<TCtxMeta> {\n /**\n * Build / retrieve creative tags. Two invocation modes per the spec:\n *\n * - **Library lookup**: `req.creative_id` references an existing\n * creative; return the manifest with tag fields populated\n * (`vast_tag`, click trackers, etc.). When `req.media_buy_id` +\n * `req.package_id` are also set, generate placement-specific tags\n * with macro substitution baked in.\n * - **Inline build**: `req.creative_manifest` is provided directly;\n * transform / wrap it (similar to template archetype but with\n * ad-server side effects: register the creative in the library,\n * generate the tag, etc.).\n *\n * Spec defines a Submitted arm via `async-response-data.json` but the\n * per-tool `build-creative-response.json` `oneOf` doesn't include it,\n * so codegen produces a `BuildCreativeResponse` without Submitted —\n * a SPEC inconsistency, tracked as adcontextprotocol/adcp#3392. Until\n * that lands, slow tag-generation pipelines await in-request; status\n * changes flow via `publishStatusChange`.\n */\n buildCreativeLegacy(req: BuildCreativeRequest, ctx: Ctx<TCtxMeta>): Promise<LegacyBuildCreativeReturn>;\n\n /**\n * Format catalog. Optional because adopters who delegate format definitions\n * to a separate creative agent (declared via `capabilities.creative_agents`)\n * don't own them; the framework returns `UNSUPPORTED_FEATURE` when omitted.\n *\n * ⚠️ NO-ACCOUNT TOOL. See `previewCreative` note above.\n */\n listCreativeFormatsLegacy?(\n req: ListCreativeFormatsRequest,\n ctx: NoAccountCtx<TCtxMeta>\n ): Promise<LegacyListCreativeFormatsPayload>;\n\n // sync_creatives: sync OR task — `SyncCreativesResponse` has a Submitted arm.\n\n /**\n * Push creatives. Return per-creative result rows (sync fast path) OR\n * `ctx.handoffToTask(fn)` to promote to a background task (HITL —\n * brand-suitability, S&P review). `action: 'created'` for new entries,\n * `'updated'` for replacements, `'unchanged'` when matching. Optional\n * `status: 'pending_review'` for sync-arm rows awaiting manual review.\n */\n syncCreatives?(\n creatives: SyncCreative[],\n ctx: Ctx<TCtxMeta>\n ): Promise<SyncCreativesRow[] | TaskHandoff<SyncCreativesRow[]>>;\n\n /**\n * Read creatives from the library. Filters + pagination. When\n * `req.include_assignments`, include the buyer's package-assignment\n * graph. When `req.include_pricing`, include vendor pricing options\n * on each creative.\n */\n listCreatives(req: CanonicalListCreativesRequest, ctx: Ctx<TCtxMeta>): Promise<ListCreativesPayload>;\n\n /**\n * Per-creative delivery actuals (impressions, spend, pacing). Sync —\n * report-running platforms with manual report cycles return the\n * latest cached actuals and emit `delivery_report` status changes\n * via `publishStatusChange` when fresh reports are available.\n *\n * **Multi-id contract.** `filter.media_buy_ids` and `filter.creative_ids`\n * are arrays — buyers may scope a delivery query to multiple buys or\n * creatives in one call. The platform MUST iterate every supplied id\n * and return one row per matching (creative, buy) pair. Reading only\n * `media_buy_ids[0]` / `creative_ids[0]` silently truncates the\n * buyer's request — a correctness bug to avoid (closes #1342).\n *\n * Pass-through is the framework contract: cross-creative aggregation\n * is platform-domain knowledge (variant-level deduplication, brand\n * mapping, attribution windows), so the framework hands the array\n * through and the platform owns fan-out. Sellers that can't compute\n * cross-cuts omit them; buyers fall back to per-row values.\n */\n getCreativeDelivery(filter: GetCreativeDeliveryRequest, ctx: Ctx<TCtxMeta>): Promise<GetCreativeDeliveryPayload>;\n}\n\ntype CreativeAdServerPreview<TCtxMeta> =\n | {\n /** Canonical preview through an advertised capability or stored creative. */\n previewCreative(\n req: CanonicalPreviewCreativeRequest,\n ctx: NoAccountCtx<TCtxMeta>\n ): Promise<PreviewCreativePayload>;\n /** @deprecated Migration-only alias for requests using legacy `format_id`. */\n previewCreativeLegacy?(\n req: LegacyPreviewCreativeRequest,\n ctx: NoAccountCtx<TCtxMeta>\n ): Promise<LegacyPreviewCreativePayload>;\n }\n | {\n previewCreative?: never;\n /** @deprecated Implement canonical `previewCreative` for new integrations. */\n previewCreativeLegacy(\n req: LegacyPreviewCreativeRequest,\n ctx: NoAccountCtx<TCtxMeta>\n ): Promise<LegacyPreviewCreativePayload>;\n };\n\n/** Stateful creative-ad-server platform with canonical preview and a legacy-compatible alias. */\nexport type CreativeAdServerPlatform<TCtxMeta = Record<string, unknown>> = CreativeAdServerPlatformBase<TCtxMeta> &\n CreativeAdServerPreview<TCtxMeta>;\n"],"mappings":";;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
|
@@ -18,13 +18,14 @@ import type { Account, NoAccountCtx } from '../account.mjs';
|
|
|
18
18
|
import type { RequestContext } from '../context.mjs';
|
|
19
19
|
import type { TaskHandoff } from '../async-outcome.mjs';
|
|
20
20
|
import type { ServerPayload } from '../../../types/server-payload.mjs';
|
|
21
|
-
import type { CreativeManifest, BuildCreativeRequest, BuildCreativeSuccess, BuildCreativeMultiSuccess, PreviewCreativeRequest as LegacyPreviewCreativeRequest, PreviewCreativeResponse as LegacyPreviewCreativeResponse, ListCreativeFormatsRequest, ListCreativeFormatsResponse } from '../../../types/tools.generated.mjs';
|
|
21
|
+
import type { CreativeManifest, BuildCreativeRequest, BuildCreativeSuccess, BuildCreativeMultiSuccess, BuildCreativeVariantSuccess, PreviewCreativeRequest as LegacyPreviewCreativeRequest, PreviewCreativeResponse as LegacyPreviewCreativeResponse, ListCreativeFormatsRequest, ListCreativeFormatsResponse } from '../../../types/tools.generated.mjs';
|
|
22
22
|
import type { CanonicalPreviewCreativeRequest, CanonicalPreviewCreativeResponse, CanonicalSyncCreativeAsset } from '../../../v2/projection/creative-delivery.mjs';
|
|
23
23
|
import type { SyncCreativesRow } from './sales.mjs';
|
|
24
24
|
type SyncCreative = CanonicalSyncCreativeAsset;
|
|
25
25
|
type Ctx<TCtxMeta> = RequestContext<Account<TCtxMeta>>;
|
|
26
26
|
export type LegacyBuildCreativePayload = ServerPayload<BuildCreativeSuccess>;
|
|
27
27
|
export type LegacyBuildCreativeMultiPayload = ServerPayload<BuildCreativeMultiSuccess>;
|
|
28
|
+
export type BuildCreativeVariantPayload = ServerPayload<BuildCreativeVariantSuccess>;
|
|
28
29
|
export type PreviewCreativePayload = ServerPayload<CanonicalPreviewCreativeResponse>;
|
|
29
30
|
export type LegacyPreviewCreativePayload = ServerPayload<LegacyPreviewCreativeResponse>;
|
|
30
31
|
export type LegacyListCreativeFormatsPayload = ServerPayload<ListCreativeFormatsResponse>;
|
|
@@ -41,11 +42,11 @@ export type LegacyListCreativeFormatsPayload = ServerPayload<ListCreativeFormats
|
|
|
41
42
|
* `CreativeManifest[]`. Framework wraps as
|
|
42
43
|
* `{ creative_manifests: [...] }`. Use this for multi-format
|
|
43
44
|
* requests (`target_format_ids`) when you don't need rich metadata.
|
|
44
|
-
* - **Fully-shaped envelope**: return a `BuildCreativePayload` (single)
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
* unchanged. Detected by
|
|
48
|
-
*
|
|
45
|
+
* - **Fully-shaped envelope**: return a `BuildCreativePayload` (single),
|
|
46
|
+
* `BuildCreativeMultiPayload` (multi), or `BuildCreativeVariantPayload`
|
|
47
|
+
* (multiplicity) with any response metadata populated. Framework passes
|
|
48
|
+
* it through unchanged. Detected by `creative_manifest`,
|
|
49
|
+
* `creative_manifests`, or `creatives` at the top level.
|
|
49
50
|
*
|
|
50
51
|
* Adopters route on `req.target_format_ids` (multi) vs `req.target_format_id`
|
|
51
52
|
* (single) and return the matching arm. Returning a `CreativeManifest[]`
|
|
@@ -53,7 +54,7 @@ export type LegacyListCreativeFormatsPayload = ServerPayload<ListCreativeFormats
|
|
|
53
54
|
* multi-format request, is an adopter contract violation that surfaces
|
|
54
55
|
* as schema-validation failure on the wire response.
|
|
55
56
|
*/
|
|
56
|
-
export type LegacyBuildCreativeReturn = CreativeManifest | CreativeManifest[] | LegacyBuildCreativePayload | LegacyBuildCreativeMultiPayload;
|
|
57
|
+
export type LegacyBuildCreativeReturn = CreativeManifest | CreativeManifest[] | LegacyBuildCreativePayload | LegacyBuildCreativeMultiPayload | BuildCreativeVariantPayload;
|
|
57
58
|
export type { SyncCreativesRow };
|
|
58
59
|
/**
|
|
59
60
|
* Creative-builder agent. Produces creatives from buyer inputs — equally
|
|
@@ -96,9 +97,8 @@ export interface CreativeBuilderPlatform<TCtxMeta = Record<string, unknown>> {
|
|
|
96
97
|
*
|
|
97
98
|
* Return shape is discriminated; see {@link BuildCreativeReturn}:
|
|
98
99
|
* single `CreativeManifest`, `CreativeManifest[]` for multi-format
|
|
99
|
-
* requests, OR a fully-shaped `BuildCreativePayload
|
|
100
|
-
* `BuildCreativeMultiPayload
|
|
101
|
-
* `sandbox` / `expires_at` / `preview`.
|
|
100
|
+
* requests, OR a fully-shaped `BuildCreativePayload`,
|
|
101
|
+
* `BuildCreativeMultiPayload`, or `BuildCreativeVariantPayload` response.
|
|
102
102
|
*/
|
|
103
103
|
buildCreativeLegacy(req: BuildCreativeRequest, ctx: Ctx<TCtxMeta>): Promise<LegacyBuildCreativeReturn>;
|
|
104
104
|
/**
|
|
@@ -18,13 +18,14 @@ import type { Account, NoAccountCtx } from '../account';
|
|
|
18
18
|
import type { RequestContext } from '../context';
|
|
19
19
|
import type { TaskHandoff } from '../async-outcome';
|
|
20
20
|
import type { ServerPayload } from '../../../types/server-payload';
|
|
21
|
-
import type { CreativeManifest, BuildCreativeRequest, BuildCreativeSuccess, BuildCreativeMultiSuccess, PreviewCreativeRequest as LegacyPreviewCreativeRequest, PreviewCreativeResponse as LegacyPreviewCreativeResponse, ListCreativeFormatsRequest, ListCreativeFormatsResponse } from '../../../types/tools.generated';
|
|
21
|
+
import type { CreativeManifest, BuildCreativeRequest, BuildCreativeSuccess, BuildCreativeMultiSuccess, BuildCreativeVariantSuccess, PreviewCreativeRequest as LegacyPreviewCreativeRequest, PreviewCreativeResponse as LegacyPreviewCreativeResponse, ListCreativeFormatsRequest, ListCreativeFormatsResponse } from '../../../types/tools.generated';
|
|
22
22
|
import type { CanonicalPreviewCreativeRequest, CanonicalPreviewCreativeResponse, CanonicalSyncCreativeAsset } from '../../../v2/projection/creative-delivery';
|
|
23
23
|
import type { SyncCreativesRow } from './sales';
|
|
24
24
|
type SyncCreative = CanonicalSyncCreativeAsset;
|
|
25
25
|
type Ctx<TCtxMeta> = RequestContext<Account<TCtxMeta>>;
|
|
26
26
|
export type LegacyBuildCreativePayload = ServerPayload<BuildCreativeSuccess>;
|
|
27
27
|
export type LegacyBuildCreativeMultiPayload = ServerPayload<BuildCreativeMultiSuccess>;
|
|
28
|
+
export type BuildCreativeVariantPayload = ServerPayload<BuildCreativeVariantSuccess>;
|
|
28
29
|
export type PreviewCreativePayload = ServerPayload<CanonicalPreviewCreativeResponse>;
|
|
29
30
|
export type LegacyPreviewCreativePayload = ServerPayload<LegacyPreviewCreativeResponse>;
|
|
30
31
|
export type LegacyListCreativeFormatsPayload = ServerPayload<ListCreativeFormatsResponse>;
|
|
@@ -41,11 +42,11 @@ export type LegacyListCreativeFormatsPayload = ServerPayload<ListCreativeFormats
|
|
|
41
42
|
* `CreativeManifest[]`. Framework wraps as
|
|
42
43
|
* `{ creative_manifests: [...] }`. Use this for multi-format
|
|
43
44
|
* requests (`target_format_ids`) when you don't need rich metadata.
|
|
44
|
-
* - **Fully-shaped envelope**: return a `BuildCreativePayload` (single)
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
* unchanged. Detected by
|
|
48
|
-
*
|
|
45
|
+
* - **Fully-shaped envelope**: return a `BuildCreativePayload` (single),
|
|
46
|
+
* `BuildCreativeMultiPayload` (multi), or `BuildCreativeVariantPayload`
|
|
47
|
+
* (multiplicity) with any response metadata populated. Framework passes
|
|
48
|
+
* it through unchanged. Detected by `creative_manifest`,
|
|
49
|
+
* `creative_manifests`, or `creatives` at the top level.
|
|
49
50
|
*
|
|
50
51
|
* Adopters route on `req.target_format_ids` (multi) vs `req.target_format_id`
|
|
51
52
|
* (single) and return the matching arm. Returning a `CreativeManifest[]`
|
|
@@ -53,7 +54,7 @@ export type LegacyListCreativeFormatsPayload = ServerPayload<ListCreativeFormats
|
|
|
53
54
|
* multi-format request, is an adopter contract violation that surfaces
|
|
54
55
|
* as schema-validation failure on the wire response.
|
|
55
56
|
*/
|
|
56
|
-
export type LegacyBuildCreativeReturn = CreativeManifest | CreativeManifest[] | LegacyBuildCreativePayload | LegacyBuildCreativeMultiPayload;
|
|
57
|
+
export type LegacyBuildCreativeReturn = CreativeManifest | CreativeManifest[] | LegacyBuildCreativePayload | LegacyBuildCreativeMultiPayload | BuildCreativeVariantPayload;
|
|
57
58
|
export type { SyncCreativesRow };
|
|
58
59
|
/**
|
|
59
60
|
* Creative-builder agent. Produces creatives from buyer inputs — equally
|
|
@@ -96,9 +97,8 @@ export interface CreativeBuilderPlatform<TCtxMeta = Record<string, unknown>> {
|
|
|
96
97
|
*
|
|
97
98
|
* Return shape is discriminated; see {@link BuildCreativeReturn}:
|
|
98
99
|
* single `CreativeManifest`, `CreativeManifest[]` for multi-format
|
|
99
|
-
* requests, OR a fully-shaped `BuildCreativePayload
|
|
100
|
-
* `BuildCreativeMultiPayload
|
|
101
|
-
* `sandbox` / `expires_at` / `preview`.
|
|
100
|
+
* requests, OR a fully-shaped `BuildCreativePayload`,
|
|
101
|
+
* `BuildCreativeMultiPayload`, or `BuildCreativeVariantPayload` response.
|
|
102
102
|
*/
|
|
103
103
|
buildCreativeLegacy(req: BuildCreativeRequest, ctx: Ctx<TCtxMeta>): Promise<LegacyBuildCreativeReturn>;
|
|
104
104
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creative.d.ts","sourceRoot":"","sources":["../../../../../src/lib/server/decisioning/specialisms/creative.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAA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ACH,MAAM,MAAM,wBAAwB,CAAC,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,uBAAuB,CAAC,QAAQ,CAAC,CAAC;AAE7G;;;;;GAKG;AACH,MAAM,MAAM,0BAA0B,CAAC,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,uBAAuB,CAAC,QAAQ,CAAC,CAAC;AAM/G,MAAM,WAAW,iBAAiB;IAChC,4CAA4C;IAC5C,OAAO,EAAE,MAAM,CAAC;IAChB,iEAAiE;IACjE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/lib/server/decisioning/specialisms/creative.ts"],"sourcesContent":["/**\n * Creative specialism platform interfaces (v2 dual-method shape).\n *\n * Three creative archetypes:\n * - CreativeTemplatePlatform: stateless transform (AudioStack, Celtra)\n * - CreativeGenerativePlatform: brief-to-creative (DALL-E-style)\n * - CreativeAdServerPlatform: stateful library + tags (Innovid, GAM-creative; v1.1)\n *\n * `buildCreative` and `syncCreatives` each have sync OR task variants;\n * adopter implements exactly one per pair. `validatePlatform()` enforces\n * exactly-one at construction time.\n *\n * Status: Preview / 6.0.\n *\n * @public\n */\n\nimport type { Account, NoAccountCtx } from '../account';\nimport type { RequestContext } from '../context';\nimport type { TaskHandoff } from '../async-outcome';\nimport type { ServerPayload } from '../../../types/server-payload';\nimport type {\n CreativeManifest,\n BuildCreativeRequest,\n BuildCreativeSuccess,\n BuildCreativeMultiSuccess,\n PreviewCreativeRequest as LegacyPreviewCreativeRequest,\n PreviewCreativeResponse as LegacyPreviewCreativeResponse,\n ListCreativeFormatsRequest,\n ListCreativeFormatsResponse,\n} from '../../../types/tools.generated';\nimport type {\n CanonicalPreviewCreativeRequest,\n CanonicalPreviewCreativeResponse,\n CanonicalSyncCreativeAsset,\n} from '../../../v2/projection/creative-delivery';\nimport type { SyncCreativesRow } from './sales';\n\ntype SyncCreative = CanonicalSyncCreativeAsset;\ntype Ctx<TCtxMeta> = RequestContext<Account<TCtxMeta>>;\n\nexport type LegacyBuildCreativePayload = ServerPayload<BuildCreativeSuccess>;\nexport type LegacyBuildCreativeMultiPayload = ServerPayload<BuildCreativeMultiSuccess>;\nexport type PreviewCreativePayload = ServerPayload<CanonicalPreviewCreativeResponse>;\nexport type LegacyPreviewCreativePayload = ServerPayload<LegacyPreviewCreativeResponse>;\nexport type LegacyListCreativeFormatsPayload = ServerPayload<ListCreativeFormatsResponse>;\n\n/**\n * Adopter return shape for `buildCreative`. Discriminated by the wire\n * spec's Single vs Multi response arms — pick whichever matches the\n * request the framework dispatched:\n *\n * - **Single manifest, no metadata**: return a `CreativeManifest`\n * directly. Framework wraps as `{ creative_manifest: <manifest> }`.\n * Use this for single-format requests (`target_format_id`) when\n * you don't need to set `sandbox` / `expires_at` / `preview`.\n * - **Multi-format manifests, no metadata**: return a\n * `CreativeManifest[]`. Framework wraps as\n * `{ creative_manifests: [...] }`. Use this for multi-format\n * requests (`target_format_ids`) when you don't need rich metadata.\n * - **Fully-shaped envelope**: return a `BuildCreativePayload` (single)\n * or `BuildCreativeMultiPayload` (multi) with `sandbox` /\n * `expires_at` / `preview` populated. Framework passes through\n * unchanged. Detected by the presence of `creative_manifest` (single\n * envelope) or `creative_manifests` (multi envelope) at the top level.\n *\n * Adopters route on `req.target_format_ids` (multi) vs `req.target_format_id`\n * (single) and return the matching arm. Returning a `CreativeManifest[]`\n * for a single-format request, or a single `CreativeManifest` for a\n * multi-format request, is an adopter contract violation that surfaces\n * as schema-validation failure on the wire response.\n */\nexport type LegacyBuildCreativeReturn =\n | CreativeManifest\n | CreativeManifest[]\n | LegacyBuildCreativePayload\n | LegacyBuildCreativeMultiPayload;\n\n// Re-export SyncCreativesRow so creative-specialism adopters don't need to\n// reach into the sales module to import the shared row type.\nexport type { SyncCreativesRow };\n\n// ---------------------------------------------------------------------------\n// CreativeBuilderPlatform — produces creatives (template-driven OR generative)\n// ---------------------------------------------------------------------------\n\n/**\n * Creative-builder agent. Produces creatives from buyer inputs — equally\n * suited to template-driven dynamic creative platforms (Bannerflow,\n * Celtra), brief-to-creative AI agents (Pencil, Omneky, AdCreative.ai),\n * and hybrids that mix both modes. The wire shape doesn't distinguish\n * \"transform a template\" from \"generate from a brief\" — both produce a\n * `CreativeManifest` from a `BuildCreativeRequest`. The previous v6\n * preview separated them into `CreativeTemplatePlatform` and\n * `CreativeGenerativePlatform`, but every interface field is the same;\n * the only meaningful difference was whether `refineCreative` was\n * supported, which is now optional on the unified shape.\n *\n * Spec defines a Submitted arm via `async-response-data.json`\n * (`BuildCreativeAsyncSubmitted`) but the per-tool\n * `build-creative-response.json` `oneOf` doesn't include it — a SPEC\n * inconsistency tracked as adcontextprotocol/adcp#3392. Until the spec\n * rolls Submitted into the `oneOf`, slow operations (TTS, audio mixing,\n * long-running generation) await in-request; status changes surface via\n * `publishStatusChange` on `resource_type: 'creative'`.\n *\n * Both `creative-template` and `creative-generative` specialism claims\n * map to this interface in `RequiredPlatformsFor<S>` — the discovery\n * distinction is preserved at the buyer-facing spec level (so buyers\n * filtering for \"AI brief-to-creative\" still find generative agents)\n * while implementation surface stays unified.\n *\n * Adopters that ALSO want library + tag generation + delivery reporting\n * (i.e., a full ad server on top of the builder) declare\n * `CreativeAdServerPlatform` instead. Multi-archetype omni agents\n * (rare in the wild) front each archetype as a separate tenant via\n * `TenantRegistry`.\n */\nexport interface CreativeBuilderPlatform<TCtxMeta = Record<string, unknown>> {\n /**\n * Build the creative. Single method covers template-driven transform\n * (`req.template_id` + asset slots), brief-to-creative generation\n * (`req.brief`), and any hybrid the platform supports — adopters\n * route internally on `req` shape.\n *\n * Return shape is discriminated; see {@link BuildCreativeReturn}:\n * single `CreativeManifest`, `CreativeManifest[]` for multi-format\n * requests, OR a fully-shaped `BuildCreativePayload` /\n * `BuildCreativeMultiPayload` payload when you need to set\n * `sandbox` / `expires_at` / `preview`.\n */\n buildCreativeLegacy(req: BuildCreativeRequest, ctx: Ctx<TCtxMeta>): Promise<LegacyBuildCreativeReturn>;\n\n /**\n * Preview-only variant — sandbox URL or inline HTML, expires. Always\n * sync. Optional because generative-only adopters that don't render\n * preview ahead of generation can omit it; the framework returns\n * `UNSUPPORTED_FEATURE` to buyers calling `preview_creative` against\n * a platform that didn't wire this.\n *\n * ⚠️ NO-ACCOUNT TOOL — `ctx: NoAccountCtx<TCtxMeta>`. The wire request\n * does not carry an `account` field, so `ctx.account` may be `undefined`\n * when `accounts.resolve(undefined)` returned null. Narrow before reading\n * `ctx.account.ctx_metadata`. See {@link NoAccountCtx}.\n */\n previewCreative?(req: CanonicalPreviewCreativeRequest, ctx: NoAccountCtx<TCtxMeta>): Promise<PreviewCreativePayload>;\n\n /** @deprecated Migration-only alias for requests using legacy `format_id`. */\n previewCreativeLegacy?(\n req: LegacyPreviewCreativeRequest,\n ctx: NoAccountCtx<TCtxMeta>\n ): Promise<LegacyPreviewCreativePayload>;\n\n /**\n * Format catalog. Buyers call `list_creative_formats` to discover the\n * formats this agent supports. Optional because adopters who declare\n * their formats via `capabilities.creative_agents` (delegating to a\n * separate creative agent) don't own format definitions; the framework\n * surfaces `UNSUPPORTED_FEATURE` when omitted.\n *\n * ⚠️ NO-ACCOUNT TOOL — `ctx: NoAccountCtx<TCtxMeta>`. The wire request\n * does not carry an `account` field. The framework dispatches with\n * `ctx.account === undefined` for `'explicit'`-resolution adopters that\n * don't return a synthetic singleton from `accounts.resolve(undefined)`.\n * Format catalogs are typically publisher-wide; if yours is per-tenant\n * (Bannerflow / Celtra-style multi-tenant catalogs), return a synthetic\n * account from `accounts.resolve(undefined)` keyed on\n * `ctx.authInfo.clientId` and narrow `ctx.account` inside the handler.\n *\n * **Precedence:** when an adopter ALSO wires `SalesPlatform.listCreativeFormats`\n * on the same platform, the sales-side handler wins (mediaBuy domain\n * registers before creative). Don't wire both — pick the surface that\n * matches your specialism. This creative-side wiring exists for adopters\n * claiming only creative specialisms (`creative-template`, `creative-\n * generative`, `creative-ad-server`) without a sales platform attached.\n */\n listCreativeFormatsLegacy?(\n req: ListCreativeFormatsRequest,\n ctx: NoAccountCtx<TCtxMeta>\n ): Promise<LegacyListCreativeFormatsPayload>;\n\n /**\n * Refine a prior generation. `taskId` references a prior submission.\n * Sync — refinement is a mutation on existing state, not a new task\n * creation. Optional because pure template platforms iterate by\n * re-calling `buildCreative` with different inputs and don't carry\n * generation state across calls.\n */\n refineCreativeLegacy?(taskId: string, refinement: RefinementMessage, ctx: Ctx<TCtxMeta>): Promise<CreativeManifest>;\n\n /**\n * Sync review surface. Stateless platforms typically auto-approve;\n * adopters needing mandatory pre-persist review return\n * `ctx.handoffToTask(fn)` to defer to a background task. Unified\n * hybrid shape — return rows OR `ctx.handoffToTask(fn)`.\n */\n syncCreatives?(\n creatives: SyncCreative[],\n ctx: Ctx<TCtxMeta>\n ): Promise<SyncCreativesRow[] | TaskHandoff<SyncCreativesRow[]>>;\n}\n\n/**\n * @deprecated Use `CreativeBuilderPlatform` — the unified interface\n * covering both template-driven and brief-to-creative agents. The\n * v6 preview's separation of `CreativeTemplatePlatform` and\n * `CreativeGenerativePlatform` had no meaningful interface\n * distinction; this alias preserves source compatibility for one\n * release while adopters migrate. Will be removed in a future\n * release.\n */\nexport type CreativeTemplatePlatform<TCtxMeta = Record<string, unknown>> = CreativeBuilderPlatform<TCtxMeta>;\n\n/**\n * @deprecated Use `CreativeBuilderPlatform` — the unified interface\n * covering both template-driven and brief-to-creative agents. See\n * `CreativeTemplatePlatform` deprecation note. Will be removed in a\n * future release.\n */\nexport type CreativeGenerativePlatform<TCtxMeta = Record<string, unknown>> = CreativeBuilderPlatform<TCtxMeta>;\n\n// ---------------------------------------------------------------------------\n// Shared shapes\n// ---------------------------------------------------------------------------\n\nexport interface RefinementMessage {\n /** Free-text instruction from the buyer. */\n message: string;\n /** Optional structured changes (e.g., \"make headline say X\"). */\n changes?: Record<string, unknown>;\n}\n"],"mappings":";;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../../../../src/lib/server/decisioning/specialisms/creative.ts"],"sourcesContent":["/**\n * Creative specialism platform interfaces (v2 dual-method shape).\n *\n * Three creative archetypes:\n * - CreativeTemplatePlatform: stateless transform (AudioStack, Celtra)\n * - CreativeGenerativePlatform: brief-to-creative (DALL-E-style)\n * - CreativeAdServerPlatform: stateful library + tags (Innovid, GAM-creative; v1.1)\n *\n * `buildCreative` and `syncCreatives` each have sync OR task variants;\n * adopter implements exactly one per pair. `validatePlatform()` enforces\n * exactly-one at construction time.\n *\n * Status: Preview / 6.0.\n *\n * @public\n */\n\nimport type { Account, NoAccountCtx } from '../account';\nimport type { RequestContext } from '../context';\nimport type { TaskHandoff } from '../async-outcome';\nimport type { ServerPayload } from '../../../types/server-payload';\nimport type {\n CreativeManifest,\n BuildCreativeRequest,\n BuildCreativeSuccess,\n BuildCreativeMultiSuccess,\n BuildCreativeVariantSuccess,\n PreviewCreativeRequest as LegacyPreviewCreativeRequest,\n PreviewCreativeResponse as LegacyPreviewCreativeResponse,\n ListCreativeFormatsRequest,\n ListCreativeFormatsResponse,\n} from '../../../types/tools.generated';\nimport type {\n CanonicalPreviewCreativeRequest,\n CanonicalPreviewCreativeResponse,\n CanonicalSyncCreativeAsset,\n} from '../../../v2/projection/creative-delivery';\nimport type { SyncCreativesRow } from './sales';\n\ntype SyncCreative = CanonicalSyncCreativeAsset;\ntype Ctx<TCtxMeta> = RequestContext<Account<TCtxMeta>>;\n\nexport type LegacyBuildCreativePayload = ServerPayload<BuildCreativeSuccess>;\nexport type LegacyBuildCreativeMultiPayload = ServerPayload<BuildCreativeMultiSuccess>;\nexport type BuildCreativeVariantPayload = ServerPayload<BuildCreativeVariantSuccess>;\nexport type PreviewCreativePayload = ServerPayload<CanonicalPreviewCreativeResponse>;\nexport type LegacyPreviewCreativePayload = ServerPayload<LegacyPreviewCreativeResponse>;\nexport type LegacyListCreativeFormatsPayload = ServerPayload<ListCreativeFormatsResponse>;\n\n/**\n * Adopter return shape for `buildCreative`. Discriminated by the wire\n * spec's Single vs Multi response arms — pick whichever matches the\n * request the framework dispatched:\n *\n * - **Single manifest, no metadata**: return a `CreativeManifest`\n * directly. Framework wraps as `{ creative_manifest: <manifest> }`.\n * Use this for single-format requests (`target_format_id`) when\n * you don't need to set `sandbox` / `expires_at` / `preview`.\n * - **Multi-format manifests, no metadata**: return a\n * `CreativeManifest[]`. Framework wraps as\n * `{ creative_manifests: [...] }`. Use this for multi-format\n * requests (`target_format_ids`) when you don't need rich metadata.\n * - **Fully-shaped envelope**: return a `BuildCreativePayload` (single),\n * `BuildCreativeMultiPayload` (multi), or `BuildCreativeVariantPayload`\n * (multiplicity) with any response metadata populated. Framework passes\n * it through unchanged. Detected by `creative_manifest`,\n * `creative_manifests`, or `creatives` at the top level.\n *\n * Adopters route on `req.target_format_ids` (multi) vs `req.target_format_id`\n * (single) and return the matching arm. Returning a `CreativeManifest[]`\n * for a single-format request, or a single `CreativeManifest` for a\n * multi-format request, is an adopter contract violation that surfaces\n * as schema-validation failure on the wire response.\n */\nexport type LegacyBuildCreativeReturn =\n | CreativeManifest\n | CreativeManifest[]\n | LegacyBuildCreativePayload\n | LegacyBuildCreativeMultiPayload\n | BuildCreativeVariantPayload;\n\n// Re-export SyncCreativesRow so creative-specialism adopters don't need to\n// reach into the sales module to import the shared row type.\nexport type { SyncCreativesRow };\n\n// ---------------------------------------------------------------------------\n// CreativeBuilderPlatform — produces creatives (template-driven OR generative)\n// ---------------------------------------------------------------------------\n\n/**\n * Creative-builder agent. Produces creatives from buyer inputs — equally\n * suited to template-driven dynamic creative platforms (Bannerflow,\n * Celtra), brief-to-creative AI agents (Pencil, Omneky, AdCreative.ai),\n * and hybrids that mix both modes. The wire shape doesn't distinguish\n * \"transform a template\" from \"generate from a brief\" — both produce a\n * `CreativeManifest` from a `BuildCreativeRequest`. The previous v6\n * preview separated them into `CreativeTemplatePlatform` and\n * `CreativeGenerativePlatform`, but every interface field is the same;\n * the only meaningful difference was whether `refineCreative` was\n * supported, which is now optional on the unified shape.\n *\n * Spec defines a Submitted arm via `async-response-data.json`\n * (`BuildCreativeAsyncSubmitted`) but the per-tool\n * `build-creative-response.json` `oneOf` doesn't include it — a SPEC\n * inconsistency tracked as adcontextprotocol/adcp#3392. Until the spec\n * rolls Submitted into the `oneOf`, slow operations (TTS, audio mixing,\n * long-running generation) await in-request; status changes surface via\n * `publishStatusChange` on `resource_type: 'creative'`.\n *\n * Both `creative-template` and `creative-generative` specialism claims\n * map to this interface in `RequiredPlatformsFor<S>` — the discovery\n * distinction is preserved at the buyer-facing spec level (so buyers\n * filtering for \"AI brief-to-creative\" still find generative agents)\n * while implementation surface stays unified.\n *\n * Adopters that ALSO want library + tag generation + delivery reporting\n * (i.e., a full ad server on top of the builder) declare\n * `CreativeAdServerPlatform` instead. Multi-archetype omni agents\n * (rare in the wild) front each archetype as a separate tenant via\n * `TenantRegistry`.\n */\nexport interface CreativeBuilderPlatform<TCtxMeta = Record<string, unknown>> {\n /**\n * Build the creative. Single method covers template-driven transform\n * (`req.template_id` + asset slots), brief-to-creative generation\n * (`req.brief`), and any hybrid the platform supports — adopters\n * route internally on `req` shape.\n *\n * Return shape is discriminated; see {@link BuildCreativeReturn}:\n * single `CreativeManifest`, `CreativeManifest[]` for multi-format\n * requests, OR a fully-shaped `BuildCreativePayload`,\n * `BuildCreativeMultiPayload`, or `BuildCreativeVariantPayload` response.\n */\n buildCreativeLegacy(req: BuildCreativeRequest, ctx: Ctx<TCtxMeta>): Promise<LegacyBuildCreativeReturn>;\n\n /**\n * Preview-only variant — sandbox URL or inline HTML, expires. Always\n * sync. Optional because generative-only adopters that don't render\n * preview ahead of generation can omit it; the framework returns\n * `UNSUPPORTED_FEATURE` to buyers calling `preview_creative` against\n * a platform that didn't wire this.\n *\n * ⚠️ NO-ACCOUNT TOOL — `ctx: NoAccountCtx<TCtxMeta>`. The wire request\n * does not carry an `account` field, so `ctx.account` may be `undefined`\n * when `accounts.resolve(undefined)` returned null. Narrow before reading\n * `ctx.account.ctx_metadata`. See {@link NoAccountCtx}.\n */\n previewCreative?(req: CanonicalPreviewCreativeRequest, ctx: NoAccountCtx<TCtxMeta>): Promise<PreviewCreativePayload>;\n\n /** @deprecated Migration-only alias for requests using legacy `format_id`. */\n previewCreativeLegacy?(\n req: LegacyPreviewCreativeRequest,\n ctx: NoAccountCtx<TCtxMeta>\n ): Promise<LegacyPreviewCreativePayload>;\n\n /**\n * Format catalog. Buyers call `list_creative_formats` to discover the\n * formats this agent supports. Optional because adopters who declare\n * their formats via `capabilities.creative_agents` (delegating to a\n * separate creative agent) don't own format definitions; the framework\n * surfaces `UNSUPPORTED_FEATURE` when omitted.\n *\n * ⚠️ NO-ACCOUNT TOOL — `ctx: NoAccountCtx<TCtxMeta>`. The wire request\n * does not carry an `account` field. The framework dispatches with\n * `ctx.account === undefined` for `'explicit'`-resolution adopters that\n * don't return a synthetic singleton from `accounts.resolve(undefined)`.\n * Format catalogs are typically publisher-wide; if yours is per-tenant\n * (Bannerflow / Celtra-style multi-tenant catalogs), return a synthetic\n * account from `accounts.resolve(undefined)` keyed on\n * `ctx.authInfo.clientId` and narrow `ctx.account` inside the handler.\n *\n * **Precedence:** when an adopter ALSO wires `SalesPlatform.listCreativeFormats`\n * on the same platform, the sales-side handler wins (mediaBuy domain\n * registers before creative). Don't wire both — pick the surface that\n * matches your specialism. This creative-side wiring exists for adopters\n * claiming only creative specialisms (`creative-template`, `creative-\n * generative`, `creative-ad-server`) without a sales platform attached.\n */\n listCreativeFormatsLegacy?(\n req: ListCreativeFormatsRequest,\n ctx: NoAccountCtx<TCtxMeta>\n ): Promise<LegacyListCreativeFormatsPayload>;\n\n /**\n * Refine a prior generation. `taskId` references a prior submission.\n * Sync — refinement is a mutation on existing state, not a new task\n * creation. Optional because pure template platforms iterate by\n * re-calling `buildCreative` with different inputs and don't carry\n * generation state across calls.\n */\n refineCreativeLegacy?(taskId: string, refinement: RefinementMessage, ctx: Ctx<TCtxMeta>): Promise<CreativeManifest>;\n\n /**\n * Sync review surface. Stateless platforms typically auto-approve;\n * adopters needing mandatory pre-persist review return\n * `ctx.handoffToTask(fn)` to defer to a background task. Unified\n * hybrid shape — return rows OR `ctx.handoffToTask(fn)`.\n */\n syncCreatives?(\n creatives: SyncCreative[],\n ctx: Ctx<TCtxMeta>\n ): Promise<SyncCreativesRow[] | TaskHandoff<SyncCreativesRow[]>>;\n}\n\n/**\n * @deprecated Use `CreativeBuilderPlatform` — the unified interface\n * covering both template-driven and brief-to-creative agents. The\n * v6 preview's separation of `CreativeTemplatePlatform` and\n * `CreativeGenerativePlatform` had no meaningful interface\n * distinction; this alias preserves source compatibility for one\n * release while adopters migrate. Will be removed in a future\n * release.\n */\nexport type CreativeTemplatePlatform<TCtxMeta = Record<string, unknown>> = CreativeBuilderPlatform<TCtxMeta>;\n\n/**\n * @deprecated Use `CreativeBuilderPlatform` — the unified interface\n * covering both template-driven and brief-to-creative agents. See\n * `CreativeTemplatePlatform` deprecation note. Will be removed in a\n * future release.\n */\nexport type CreativeGenerativePlatform<TCtxMeta = Record<string, unknown>> = CreativeBuilderPlatform<TCtxMeta>;\n\n// ---------------------------------------------------------------------------\n// Shared shapes\n// ---------------------------------------------------------------------------\n\nexport interface RefinementMessage {\n /** Free-text instruction from the buyer. */\n message: string;\n /** Optional structured changes (e.g., \"make headline say X\"). */\n changes?: Record<string, unknown>;\n}\n"],"mappings":";;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
|
@@ -16,7 +16,7 @@ export type { OperationalPlatform, OperationalContext } from './operational-plat
|
|
|
16
16
|
export { pickWireSpecFields, scrubExtensions, WIRE_SPEC_FIELDS } from './wire-safe.mjs';
|
|
17
17
|
export type { WireSafe, WireSpecRequestName, ScrubExtensionsOptions } from './wire-safe.mjs';
|
|
18
18
|
export type { RequireCacheScopeWhenProducts, ServerPayload } from '../types/server-payload.mjs';
|
|
19
|
-
export type { ActivateSignalPayload, AcquireRightsAcquiredPayload as LegacyAcquireRightsAcquiredPayload, AcquireRightsPayload as LegacyAcquireRightsPayload, AcquireRightsPendingApprovalPayload as LegacyAcquireRightsPendingApprovalPayload, AcquireRightsRejectedPayload as LegacyAcquireRightsRejectedPayload, BuildCreativeMultiPayload as LegacyBuildCreativeMultiPayload, BuildCreativePayload as LegacyBuildCreativePayload, CalibrateContentPayload as LegacyCalibrateContentPayload, CheckGovernancePayload, CreateCollectionListPayload, CreateContentStandardsPayload as LegacyCreateContentStandardsPayload, CreateMediaBuyPayload as LegacyCreateMediaBuyPayload, CreatePropertyListPayload, CreativeApprovalPayload, CreativeApprovedPayload, CreativePendingReviewPayload, CreativeRejectedPayload, DeleteCollectionListPayload, DeletePropertyListPayload, GetAccountFinancialsPayload, GetAccountFinancialsSuccessPayload, GetAdCPCapabilitiesPayload, GetBrandIdentityPayload, GetCollectionListPayload, GetContentStandardsPayload as LegacyGetContentStandardsPayload, GetCreativeDeliveryPayload as LegacyGetCreativeDeliveryPayload, GetCreativeFeaturesPayload as LegacyGetCreativeFeaturesPayload, GetMediaBuyArtifactsPayload as LegacyGetMediaBuyArtifactsPayload, GetMediaBuyDeliveryPayload as LegacyGetMediaBuyDeliveryPayload, GetMediaBuysPayload as LegacyGetMediaBuysPayload, GetPlanAuditLogsPayload, GetProductsPayload as LegacyGetProductsPayload, GetPropertyListPayload, GetRightsPayload as LegacyGetRightsPayload, GetRightsResponsePayload as LegacyGetRightsResponsePayload, GetSignalsPayload, ListAccountsPayload, ListCollectionListsPayload, ListContentStandardsPayload as LegacyListContentStandardsPayload, ListCreativeFormatsPayload as LegacyListCreativeFormatsPayload, ListCreativeFormatsResponsePayload as LegacyListCreativeFormatsResponsePayload, ListCreativeFormatsServerPayload as LegacyListCreativeFormatsServerPayload, ListCreativesPayload as LegacyListCreativesPayload, ListPropertyListsPayload, LogEventPayload, CanonicalPreviewCreativePayload, PreviewCreativePayload as LegacyPreviewCreativePayload, ProvidePerformanceFeedbackPayload, ReportPlanOutcomePayload, ReportUsagePayload, SIGetOfferingPayload, SIInitiateSessionPayload, SISendMessagePayload, SITerminateSessionPayload, SyncAccountsPayload, SyncAccountsSuccessPayload, SyncAudiencesPayload, SyncCatalogsPayload, SyncCreativesErrorPayload, SyncCreativesPayload, SyncCreativesSuccessPayload, SyncEventSourcesPayload, SyncGovernancePayload, SyncGovernanceSuccessPayload, SyncPlansPayload, UpdateCollectionListPayload, UpdateContentStandardsPayload as LegacyUpdateContentStandardsPayload, UpdateMediaBuyPayload as LegacyUpdateMediaBuyPayload, UpdatePropertyListPayload, UpdateRightsPayload as LegacyUpdateRightsPayload, ValidateContentDeliveryPayload as LegacyValidateContentDeliveryPayload, } from '../types/server-payload-aliases.mjs';
|
|
19
|
+
export type { ActivateSignalPayload, AcquireRightsAcquiredPayload as LegacyAcquireRightsAcquiredPayload, AcquireRightsPayload as LegacyAcquireRightsPayload, AcquireRightsPendingApprovalPayload as LegacyAcquireRightsPendingApprovalPayload, AcquireRightsRejectedPayload as LegacyAcquireRightsRejectedPayload, BuildCreativeMultiPayload as LegacyBuildCreativeMultiPayload, BuildCreativePayload as LegacyBuildCreativePayload, BuildCreativeVariantPayload as LegacyBuildCreativeVariantPayload, CalibrateContentPayload as LegacyCalibrateContentPayload, CheckGovernancePayload, CreateCollectionListPayload, CreateContentStandardsPayload as LegacyCreateContentStandardsPayload, CreateMediaBuyPayload as LegacyCreateMediaBuyPayload, CreatePropertyListPayload, CreativeApprovalPayload, CreativeApprovedPayload, CreativePendingReviewPayload, CreativeRejectedPayload, DeleteCollectionListPayload, DeletePropertyListPayload, GetAccountFinancialsPayload, GetAccountFinancialsSuccessPayload, GetAdCPCapabilitiesPayload, GetBrandIdentityPayload, GetCollectionListPayload, GetContentStandardsPayload as LegacyGetContentStandardsPayload, GetCreativeDeliveryPayload as LegacyGetCreativeDeliveryPayload, GetCreativeFeaturesPayload as LegacyGetCreativeFeaturesPayload, GetMediaBuyArtifactsPayload as LegacyGetMediaBuyArtifactsPayload, GetMediaBuyDeliveryPayload as LegacyGetMediaBuyDeliveryPayload, GetMediaBuysPayload as LegacyGetMediaBuysPayload, GetPlanAuditLogsPayload, GetProductsPayload as LegacyGetProductsPayload, GetPropertyListPayload, GetRightsPayload as LegacyGetRightsPayload, GetRightsResponsePayload as LegacyGetRightsResponsePayload, GetSignalsPayload, ListAccountsPayload, ListCollectionListsPayload, ListContentStandardsPayload as LegacyListContentStandardsPayload, ListCreativeFormatsPayload as LegacyListCreativeFormatsPayload, ListCreativeFormatsResponsePayload as LegacyListCreativeFormatsResponsePayload, ListCreativeFormatsServerPayload as LegacyListCreativeFormatsServerPayload, ListCreativesPayload as LegacyListCreativesPayload, ListPropertyListsPayload, LogEventPayload, CanonicalPreviewCreativePayload, PreviewCreativePayload as LegacyPreviewCreativePayload, ProvidePerformanceFeedbackPayload, ReportPlanOutcomePayload, ReportUsagePayload, SIGetOfferingPayload, SIInitiateSessionPayload, SISendMessagePayload, SITerminateSessionPayload, SyncAccountsPayload, SyncAccountsSuccessPayload, SyncAudiencesPayload, SyncCatalogsPayload, SyncCreativesErrorPayload, SyncCreativesPayload, SyncCreativesSuccessPayload, SyncEventSourcesPayload, SyncGovernancePayload, SyncGovernanceSuccessPayload, SyncPlansPayload, UpdateCollectionListPayload, UpdateContentStandardsPayload as LegacyUpdateContentStandardsPayload, UpdateMediaBuyPayload as LegacyUpdateMediaBuyPayload, UpdatePropertyListPayload, UpdateRightsPayload as LegacyUpdateRightsPayload, ValidateContentDeliveryPayload as LegacyValidateContentDeliveryPayload, } from '../types/server-payload-aliases.mjs';
|
|
20
20
|
export { assertNoExampleTlds } from './example-tld-guard.mjs';
|
|
21
21
|
export type { AssertNoExampleTldsOptions } from './example-tld-guard.mjs';
|
|
22
22
|
export { capabilitiesResponse as legacyCapabilitiesResponse, productsResponse as legacyProductsResponse, mediaBuyResponse as legacyMediaBuyResponse, deliveryResponse as legacyDeliveryResponse, listAccountsResponse as legacyListAccountsResponse, listCreativeFormatsResponse as legacyListCreativeFormatsResponse, updateMediaBuyResponse as legacyUpdateMediaBuyResponse, getMediaBuysResponse as legacyGetMediaBuysResponse, performanceFeedbackResponse as legacyPerformanceFeedbackResponse, buildCreativeResponse as legacyBuildCreativeResponse, buildCreativeMultiResponse as legacyBuildCreativeMultiResponse, previewCreativeResponse as legacyPreviewCreativeResponse, creativeDeliveryResponse as legacyCreativeDeliveryResponse, listCreativesResponse as legacyListCreativesResponse, listPropertyListsResponse as legacyListPropertyListsResponse, listCollectionListsResponse as legacyListCollectionListsResponse, listContentStandardsResponse as legacyListContentStandardsResponse, getPlanAuditLogsResponse as legacyGetPlanAuditLogsResponse, syncCreativesResponse as legacySyncCreativesResponse, getSignalsResponse as legacyGetSignalsResponse, activateSignalResponse as legacyActivateSignalResponse, cancelMediaBuyResponse as legacyCancelMediaBuyResponse, acquireRightsResponse as legacyAcquireRightsResponse, acquireRightsAcquired as legacyAcquireRightsAcquired, acquireRightsPendingApproval as legacyAcquireRightsPendingApproval, acquireRightsRejected as legacyAcquireRightsRejected, updateRightsResponse as legacyUpdateRightsResponse, updateRightsSuccess as legacyUpdateRightsSuccess, creativeApprovalResponse as legacyCreativeApprovalResponse, creativeApprovalApproved as legacyCreativeApprovalApproved, creativeApprovalRejected as legacyCreativeApprovalRejected, creativeApprovalPendingReview as legacyCreativeApprovalPendingReview, creativeApprovalError as legacyCreativeApprovalError, syncAccountsResponse as legacySyncAccountsResponse, syncGovernanceResponse as legacySyncGovernanceResponse, reportUsageResponse as legacyReportUsageResponse, toStructuredContent, } from './responses.mjs';
|
|
@@ -16,7 +16,7 @@ export type { OperationalPlatform, OperationalContext } from './operational-plat
|
|
|
16
16
|
export { pickWireSpecFields, scrubExtensions, WIRE_SPEC_FIELDS } from './wire-safe';
|
|
17
17
|
export type { WireSafe, WireSpecRequestName, ScrubExtensionsOptions } from './wire-safe';
|
|
18
18
|
export type { RequireCacheScopeWhenProducts, ServerPayload } from '../types/server-payload';
|
|
19
|
-
export type { ActivateSignalPayload, AcquireRightsAcquiredPayload as LegacyAcquireRightsAcquiredPayload, AcquireRightsPayload as LegacyAcquireRightsPayload, AcquireRightsPendingApprovalPayload as LegacyAcquireRightsPendingApprovalPayload, AcquireRightsRejectedPayload as LegacyAcquireRightsRejectedPayload, BuildCreativeMultiPayload as LegacyBuildCreativeMultiPayload, BuildCreativePayload as LegacyBuildCreativePayload, CalibrateContentPayload as LegacyCalibrateContentPayload, CheckGovernancePayload, CreateCollectionListPayload, CreateContentStandardsPayload as LegacyCreateContentStandardsPayload, CreateMediaBuyPayload as LegacyCreateMediaBuyPayload, CreatePropertyListPayload, CreativeApprovalPayload, CreativeApprovedPayload, CreativePendingReviewPayload, CreativeRejectedPayload, DeleteCollectionListPayload, DeletePropertyListPayload, GetAccountFinancialsPayload, GetAccountFinancialsSuccessPayload, GetAdCPCapabilitiesPayload, GetBrandIdentityPayload, GetCollectionListPayload, GetContentStandardsPayload as LegacyGetContentStandardsPayload, GetCreativeDeliveryPayload as LegacyGetCreativeDeliveryPayload, GetCreativeFeaturesPayload as LegacyGetCreativeFeaturesPayload, GetMediaBuyArtifactsPayload as LegacyGetMediaBuyArtifactsPayload, GetMediaBuyDeliveryPayload as LegacyGetMediaBuyDeliveryPayload, GetMediaBuysPayload as LegacyGetMediaBuysPayload, GetPlanAuditLogsPayload, GetProductsPayload as LegacyGetProductsPayload, GetPropertyListPayload, GetRightsPayload as LegacyGetRightsPayload, GetRightsResponsePayload as LegacyGetRightsResponsePayload, GetSignalsPayload, ListAccountsPayload, ListCollectionListsPayload, ListContentStandardsPayload as LegacyListContentStandardsPayload, ListCreativeFormatsPayload as LegacyListCreativeFormatsPayload, ListCreativeFormatsResponsePayload as LegacyListCreativeFormatsResponsePayload, ListCreativeFormatsServerPayload as LegacyListCreativeFormatsServerPayload, ListCreativesPayload as LegacyListCreativesPayload, ListPropertyListsPayload, LogEventPayload, CanonicalPreviewCreativePayload, PreviewCreativePayload as LegacyPreviewCreativePayload, ProvidePerformanceFeedbackPayload, ReportPlanOutcomePayload, ReportUsagePayload, SIGetOfferingPayload, SIInitiateSessionPayload, SISendMessagePayload, SITerminateSessionPayload, SyncAccountsPayload, SyncAccountsSuccessPayload, SyncAudiencesPayload, SyncCatalogsPayload, SyncCreativesErrorPayload, SyncCreativesPayload, SyncCreativesSuccessPayload, SyncEventSourcesPayload, SyncGovernancePayload, SyncGovernanceSuccessPayload, SyncPlansPayload, UpdateCollectionListPayload, UpdateContentStandardsPayload as LegacyUpdateContentStandardsPayload, UpdateMediaBuyPayload as LegacyUpdateMediaBuyPayload, UpdatePropertyListPayload, UpdateRightsPayload as LegacyUpdateRightsPayload, ValidateContentDeliveryPayload as LegacyValidateContentDeliveryPayload, } from '../types/server-payload-aliases';
|
|
19
|
+
export type { ActivateSignalPayload, AcquireRightsAcquiredPayload as LegacyAcquireRightsAcquiredPayload, AcquireRightsPayload as LegacyAcquireRightsPayload, AcquireRightsPendingApprovalPayload as LegacyAcquireRightsPendingApprovalPayload, AcquireRightsRejectedPayload as LegacyAcquireRightsRejectedPayload, BuildCreativeMultiPayload as LegacyBuildCreativeMultiPayload, BuildCreativePayload as LegacyBuildCreativePayload, BuildCreativeVariantPayload as LegacyBuildCreativeVariantPayload, CalibrateContentPayload as LegacyCalibrateContentPayload, CheckGovernancePayload, CreateCollectionListPayload, CreateContentStandardsPayload as LegacyCreateContentStandardsPayload, CreateMediaBuyPayload as LegacyCreateMediaBuyPayload, CreatePropertyListPayload, CreativeApprovalPayload, CreativeApprovedPayload, CreativePendingReviewPayload, CreativeRejectedPayload, DeleteCollectionListPayload, DeletePropertyListPayload, GetAccountFinancialsPayload, GetAccountFinancialsSuccessPayload, GetAdCPCapabilitiesPayload, GetBrandIdentityPayload, GetCollectionListPayload, GetContentStandardsPayload as LegacyGetContentStandardsPayload, GetCreativeDeliveryPayload as LegacyGetCreativeDeliveryPayload, GetCreativeFeaturesPayload as LegacyGetCreativeFeaturesPayload, GetMediaBuyArtifactsPayload as LegacyGetMediaBuyArtifactsPayload, GetMediaBuyDeliveryPayload as LegacyGetMediaBuyDeliveryPayload, GetMediaBuysPayload as LegacyGetMediaBuysPayload, GetPlanAuditLogsPayload, GetProductsPayload as LegacyGetProductsPayload, GetPropertyListPayload, GetRightsPayload as LegacyGetRightsPayload, GetRightsResponsePayload as LegacyGetRightsResponsePayload, GetSignalsPayload, ListAccountsPayload, ListCollectionListsPayload, ListContentStandardsPayload as LegacyListContentStandardsPayload, ListCreativeFormatsPayload as LegacyListCreativeFormatsPayload, ListCreativeFormatsResponsePayload as LegacyListCreativeFormatsResponsePayload, ListCreativeFormatsServerPayload as LegacyListCreativeFormatsServerPayload, ListCreativesPayload as LegacyListCreativesPayload, ListPropertyListsPayload, LogEventPayload, CanonicalPreviewCreativePayload, PreviewCreativePayload as LegacyPreviewCreativePayload, ProvidePerformanceFeedbackPayload, ReportPlanOutcomePayload, ReportUsagePayload, SIGetOfferingPayload, SIInitiateSessionPayload, SISendMessagePayload, SITerminateSessionPayload, SyncAccountsPayload, SyncAccountsSuccessPayload, SyncAudiencesPayload, SyncCatalogsPayload, SyncCreativesErrorPayload, SyncCreativesPayload, SyncCreativesSuccessPayload, SyncEventSourcesPayload, SyncGovernancePayload, SyncGovernanceSuccessPayload, SyncPlansPayload, UpdateCollectionListPayload, UpdateContentStandardsPayload as LegacyUpdateContentStandardsPayload, UpdateMediaBuyPayload as LegacyUpdateMediaBuyPayload, UpdatePropertyListPayload, UpdateRightsPayload as LegacyUpdateRightsPayload, ValidateContentDeliveryPayload as LegacyValidateContentDeliveryPayload, } from '../types/server-payload-aliases';
|
|
20
20
|
export { assertNoExampleTlds } from './example-tld-guard';
|
|
21
21
|
export type { AssertNoExampleTldsOptions } from './example-tld-guard';
|
|
22
22
|
export { capabilitiesResponse as legacyCapabilitiesResponse, productsResponse as legacyProductsResponse, mediaBuyResponse as legacyMediaBuyResponse, deliveryResponse as legacyDeliveryResponse, listAccountsResponse as legacyListAccountsResponse, listCreativeFormatsResponse as legacyListCreativeFormatsResponse, updateMediaBuyResponse as legacyUpdateMediaBuyResponse, getMediaBuysResponse as legacyGetMediaBuysResponse, performanceFeedbackResponse as legacyPerformanceFeedbackResponse, buildCreativeResponse as legacyBuildCreativeResponse, buildCreativeMultiResponse as legacyBuildCreativeMultiResponse, previewCreativeResponse as legacyPreviewCreativeResponse, creativeDeliveryResponse as legacyCreativeDeliveryResponse, listCreativesResponse as legacyListCreativesResponse, listPropertyListsResponse as legacyListPropertyListsResponse, listCollectionListsResponse as legacyListCollectionListsResponse, listContentStandardsResponse as legacyListContentStandardsResponse, getPlanAuditLogsResponse as legacyGetPlanAuditLogsResponse, syncCreativesResponse as legacySyncCreativesResponse, getSignalsResponse as legacyGetSignalsResponse, activateSignalResponse as legacyActivateSignalResponse, cancelMediaBuyResponse as legacyCancelMediaBuyResponse, acquireRightsResponse as legacyAcquireRightsResponse, acquireRightsAcquired as legacyAcquireRightsAcquired, acquireRightsPendingApproval as legacyAcquireRightsPendingApproval, acquireRightsRejected as legacyAcquireRightsRejected, updateRightsResponse as legacyUpdateRightsResponse, updateRightsSuccess as legacyUpdateRightsSuccess, creativeApprovalResponse as legacyCreativeApprovalResponse, creativeApprovalApproved as legacyCreativeApprovalApproved, creativeApprovalRejected as legacyCreativeApprovalRejected, creativeApprovalPendingReview as legacyCreativeApprovalPendingReview, creativeApprovalError as legacyCreativeApprovalError, syncAccountsResponse as legacySyncAccountsResponse, syncGovernanceResponse as legacySyncGovernanceResponse, reportUsageResponse as legacyReportUsageResponse, toStructuredContent, } from './responses';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/server/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAEtF,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,oB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AuB,EACvB,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EACV,gBAAgB,EAChB,sBAAsB,EACtB,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,YAAY,IAAI,uBAAuB,EACvC,6BAA6B,EAC7B,2BAA2B,EAC3B,8BAA8B,EAC9B,6BAA6B,EAC7B,0BAA0B,EAC1B,SAAS,GACV,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACpF,YAAY,EACV,cAAc,EACd,YAAY,EACZ,WAAW,EACX,mBAAmB,EACnB,yBAAyB,EACzB,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,oBAAoB,CAAC;AAK5B,OAAO,EACL,4BAA4B,EAC5B,oBAAoB,EACpB,KAAK,2BAA2B,GACjC,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EACL,8BAA8B,EAC9B,KAAK,+BAA+B,GACrC,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAAE,wBAAwB,EAAE,KAAK,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAE5G,OAAO,EAAE,yBAAyB,EAAE,KAAK,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAK/G,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,GACvB,MAAM,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/lib/server/index.ts"],"sourcesContent":["export { adcpError } from './errors';\nexport type { AdcpErrorOptions, AdcpErrorPayload, AdcpErrorResponse } from './errors';\n\nexport { normalizeError, normalizeErrors } from './normalize-errors';\nexport type { NormalizedError } from './normalize-errors';\n\nexport { pickSafeDetails } from './pick-safe-details';\nexport type { PickSafeDetailsOptions } from './pick-safe-details';\n\nexport { wrapEnvelope } from './wrap-envelope';\nexport type { WrapEnvelopeOptions } from './wrap-envelope';\n\nexport {\n ERROR_ENVELOPE_FIELD_ALLOWLIST,\n DEFAULT_ERROR_ENVELOPE_FIELDS,\n ADCP_ERROR_FIELD_ALLOWLIST,\n CONFLICT_ADCP_ERROR_ALLOWLIST,\n} from './envelope-allowlist';\n\nexport { scanArgsForCredentials, DEFAULT_CREDENTIAL_PATTERNS } from './credential-policy';\nexport type {\n CredentialPolicy,\n CredentialPolicyMode,\n CredentialPolicyConfig,\n CredentialPatternsConfig,\n} from './credential-policy';\n\nexport { createDynamicRegistry } from './dynamic-registry';\nexport type {\n DynamicRegistry,\n DynamicRegistryConfig,\n DynamicRegistryRegisterOptions,\n PendingRegistries,\n RegistryShape,\n} from './dynamic-registry';\n\nexport { defineOperationalPlatform } from './operational-platform';\nexport type { OperationalPlatform, OperationalContext } from './operational-platform';\n\nexport { pickWireSpecFields, scrubExtensions, WIRE_SPEC_FIELDS } from './wire-safe';\nexport type { WireSafe, WireSpecRequestName, ScrubExtensionsOptions } from './wire-safe';\nexport type { RequireCacheScopeWhenProducts, ServerPayload } from '../types/server-payload';\nexport type {\n ActivateSignalPayload,\n AcquireRightsAcquiredPayload as LegacyAcquireRightsAcquiredPayload,\n AcquireRightsPayload as LegacyAcquireRightsPayload,\n AcquireRightsPendingApprovalPayload as LegacyAcquireRightsPendingApprovalPayload,\n AcquireRightsRejectedPayload as LegacyAcquireRightsRejectedPayload,\n BuildCreativeMultiPayload as LegacyBuildCreativeMultiPayload,\n BuildCreativePayload as LegacyBuildCreativePayload,\n CalibrateContentPayload as LegacyCalibrateContentPayload,\n CheckGovernancePayload,\n CreateCollectionListPayload,\n CreateContentStandardsPayload as LegacyCreateContentStandardsPayload,\n CreateMediaBuyPayload as LegacyCreateMediaBuyPayload,\n CreatePropertyListPayload,\n CreativeApprovalPayload,\n CreativeApprovedPayload,\n CreativePendingReviewPayload,\n CreativeRejectedPayload,\n DeleteCollectionListPayload,\n DeletePropertyListPayload,\n GetAccountFinancialsPayload,\n GetAccountFinancialsSuccessPayload,\n GetAdCPCapabilitiesPayload,\n GetBrandIdentityPayload,\n GetCollectionListPayload,\n GetContentStandardsPayload as LegacyGetContentStandardsPayload,\n GetCreativeDeliveryPayload as LegacyGetCreativeDeliveryPayload,\n GetCreativeFeaturesPayload as LegacyGetCreativeFeaturesPayload,\n GetMediaBuyArtifactsPayload as LegacyGetMediaBuyArtifactsPayload,\n GetMediaBuyDeliveryPayload as LegacyGetMediaBuyDeliveryPayload,\n GetMediaBuysPayload as LegacyGetMediaBuysPayload,\n GetPlanAuditLogsPayload,\n GetProductsPayload as LegacyGetProductsPayload,\n GetPropertyListPayload,\n GetRightsPayload as LegacyGetRightsPayload,\n GetRightsResponsePayload as LegacyGetRightsResponsePayload,\n GetSignalsPayload,\n ListAccountsPayload,\n ListCollectionListsPayload,\n ListContentStandardsPayload as LegacyListContentStandardsPayload,\n ListCreativeFormatsPayload as LegacyListCreativeFormatsPayload,\n ListCreativeFormatsResponsePayload as LegacyListCreativeFormatsResponsePayload,\n ListCreativeFormatsServerPayload as LegacyListCreativeFormatsServerPayload,\n ListCreativesPayload as LegacyListCreativesPayload,\n ListPropertyListsPayload,\n LogEventPayload,\n CanonicalPreviewCreativePayload,\n PreviewCreativePayload as LegacyPreviewCreativePayload,\n ProvidePerformanceFeedbackPayload,\n ReportPlanOutcomePayload,\n ReportUsagePayload,\n SIGetOfferingPayload,\n SIInitiateSessionPayload,\n SISendMessagePayload,\n SITerminateSessionPayload,\n SyncAccountsPayload,\n SyncAccountsSuccessPayload,\n SyncAudiencesPayload,\n SyncCatalogsPayload,\n SyncCreativesErrorPayload,\n SyncCreativesPayload,\n SyncCreativesSuccessPayload,\n SyncEventSourcesPayload,\n SyncGovernancePayload,\n SyncGovernanceSuccessPayload,\n SyncPlansPayload,\n UpdateCollectionListPayload,\n UpdateContentStandardsPayload as LegacyUpdateContentStandardsPayload,\n UpdateMediaBuyPayload as LegacyUpdateMediaBuyPayload,\n UpdatePropertyListPayload,\n UpdateRightsPayload as LegacyUpdateRightsPayload,\n ValidateContentDeliveryPayload as LegacyValidateContentDeliveryPayload,\n} from '../types/server-payload-aliases';\n\nexport { assertNoExampleTlds } from './example-tld-guard';\nexport type { AssertNoExampleTldsOptions } from './example-tld-guard';\n\n// Raw wire response builders remain available only through explicit\n// `legacy*` aliases on this primary barrel. The legacy/v5 subpath preserves\n// their historical names for handler-bag adopters.\nexport {\n capabilitiesResponse as legacyCapabilitiesResponse,\n productsResponse as legacyProductsResponse,\n mediaBuyResponse as legacyMediaBuyResponse,\n deliveryResponse as legacyDeliveryResponse,\n listAccountsResponse as legacyListAccountsResponse,\n listCreativeFormatsResponse as legacyListCreativeFormatsResponse,\n updateMediaBuyResponse as legacyUpdateMediaBuyResponse,\n getMediaBuysResponse as legacyGetMediaBuysResponse,\n performanceFeedbackResponse as legacyPerformanceFeedbackResponse,\n buildCreativeResponse as legacyBuildCreativeResponse,\n buildCreativeMultiResponse as legacyBuildCreativeMultiResponse,\n previewCreativeResponse as legacyPreviewCreativeResponse,\n creativeDeliveryResponse as legacyCreativeDeliveryResponse,\n listCreativesResponse as legacyListCreativesResponse,\n listPropertyListsResponse as legacyListPropertyListsResponse,\n listCollectionListsResponse as legacyListCollectionListsResponse,\n listContentStandardsResponse as legacyListContentStandardsResponse,\n getPlanAuditLogsResponse as legacyGetPlanAuditLogsResponse,\n syncCreativesResponse as legacySyncCreativesResponse,\n getSignalsResponse as legacyGetSignalsResponse,\n activateSignalResponse as legacyActivateSignalResponse,\n cancelMediaBuyResponse as legacyCancelMediaBuyResponse,\n acquireRightsResponse as legacyAcquireRightsResponse,\n acquireRightsAcquired as legacyAcquireRightsAcquired,\n acquireRightsPendingApproval as legacyAcquireRightsPendingApproval,\n acquireRightsRejected as legacyAcquireRightsRejected,\n updateRightsResponse as legacyUpdateRightsResponse,\n updateRightsSuccess as legacyUpdateRightsSuccess,\n creativeApprovalResponse as legacyCreativeApprovalResponse,\n creativeApprovalApproved as legacyCreativeApprovalApproved,\n creativeApprovalRejected as legacyCreativeApprovalRejected,\n creativeApprovalPendingReview as legacyCreativeApprovalPendingReview,\n creativeApprovalError as legacyCreativeApprovalError,\n syncAccountsResponse as legacySyncAccountsResponse,\n syncGovernanceResponse as legacySyncGovernanceResponse,\n reportUsageResponse as legacyReportUsageResponse,\n toStructuredContent,\n} from './responses';\nexport type { McpToolResponse } from './responses';\n\nexport { validActionsForStatus } from './media-buy-helpers';\nexport type { ValidAction, CancelMediaBuyInput } from './media-buy-helpers';\nexport { assertUpdateMediaBuyAllowed } from './media-buy-actions';\nexport type { AssertUpdateMediaBuyAllowedOptions } from './media-buy-actions';\n\nexport { createMediaBuyStore, DEFAULT_MEDIA_BUY_STORE_COLLECTION } from './media-buy-store';\nexport type {\n MediaBuyStore,\n CreateMediaBuyStoreOptions,\n CreateMediaBuyInputForStore,\n CreateMediaBuyResultForStore,\n UpdateMediaBuyInputForStore,\n GetMediaBuysResultForStore,\n} from './media-buy-store';\n\nexport {\n MEDIA_BUY_TRANSITIONS,\n CREATIVE_ASSET_TRANSITIONS,\n isLegalMediaBuyTransition,\n isLegalCreativeTransition,\n assertMediaBuyTransition,\n assertCreativeTransition,\n} from './state-machine';\n\nexport { getAccountMode, isSandboxOrMockAccount, assertSandboxAccount } from './account-mode';\nexport type { AccountMode } from './account-mode';\n\nexport {\n taskToolResponse,\n registerAdcpTaskTool,\n createTaskCapableServer,\n InMemoryTaskStore,\n isTerminal,\n} from './tasks';\nexport type {\n AdcpTaskToolConfig,\n TaskStore,\n TaskMessageQueue,\n CreateTaskOptions,\n ToolTaskHandler,\n CreateTaskRequestHandlerExtra,\n TaskRequestHandlerExtra,\n CreateTaskResult,\n GetTaskResult,\n Task,\n} from './tasks';\n\nexport {\n PostgresTaskStore,\n cleanupExpiredTasks,\n getMcpTasksMigration,\n MCP_TASKS_MIGRATION,\n} from './postgres-task-store';\nexport type { PgQueryable, PostgresTaskStoreOptions } from './postgres-task-store';\n\nexport {\n registerTestController,\n handleTestControllerRequest,\n TestControllerError,\n toMcpResponse,\n TOOL_INPUT_SHAPE,\n CONTROLLER_SCENARIOS,\n DISCOVERY_ARM_SCENARIOS,\n SEED_SCENARIOS,\n SEED_MESSAGES,\n SESSION_ENTRY_CAP,\n enforceMapCap,\n createSeedFixtureCache,\n} from './test-controller';\nexport type {\n TestControllerStore,\n TestControllerStoreFactory,\n TestControllerStoreOrFactory,\n ControllerScenario,\n SeedScenario,\n SeedFixtureCache,\n} from './test-controller';\n\nexport { serve, taskScopeFromPrincipal, UnknownHostError, hostname, resolveHost } from './serve';\nexport type { ServeContext, ServeOptions, ProtectedResourceMetadata } from './serve';\n\nexport { createExpressAdapter } from './express-adapter';\nexport type { ExpressAdapter, ExpressAdapterOptions } from './express-adapter';\n\nexport {\n verifyApiKey,\n verifyBearer,\n anyOf,\n extractBearerToken,\n respondUnauthorized,\n signatureErrorCodeFromCause,\n AuthError,\n AUTH_NEEDS_RAW_BODY,\n tagAuthenticatorNeedsRawBody,\n authenticatorNeedsRawBody,\n AUTH_PRESENCE_GATED,\n tagAuthenticatorPresenceGated,\n isAuthenticatorPresenceGated,\n ADCP_SERVE_REQUEST_CONTEXT,\n getServeRequestContext,\n DEFAULT_JWT_ALGORITHMS,\n DEFAULT_JWT_CLOCK_TOLERANCE_SECONDS,\n} from './auth';\nexport type {\n Authenticator,\n AuthPrincipal,\n AuthResult,\n VerifyApiKeyOptions,\n VerifyBearerOptions,\n RespondUnauthorizedOptions,\n ServeRequestContext,\n} from './auth';\n\nexport { verifyIntrospection } from './auth-introspection';\nexport type {\n VerifyIntrospectionOptions,\n IntrospectionCacheOptions,\n IntrospectionResponse,\n} from './auth-introspection';\n\nexport {\n verifySignatureAsAuthenticator,\n requireSignatureWhenPresent,\n requireAuthenticatedOrSigned,\n mcpToolNameResolver,\n} from './auth-signature';\nexport type {\n VerifySignatureAsAuthenticatorOptions,\n RequireSignatureWhenPresentOptions,\n RequireAuthenticatedOrSignedOptions,\n} from './auth-signature';\n\nexport {\n InMemoryStateStore,\n StateError,\n PatchConflictError,\n DEFAULT_MAX_DOCUMENT_BYTES,\n SESSION_KEY_FIELD,\n createSessionedStore,\n scopedStore,\n patchWithRetry,\n isPutIfMatchConflict,\n validateCollection,\n validateId,\n validatePayloadSize,\n validateWrite,\n} from './state-store';\nexport type {\n AdcpStateStore,\n InMemoryStateStoreOptions,\n ListOptions,\n ListResult,\n PatchWithRetryOptions,\n PutIfMatchResult,\n StateErrorCode,\n VersionedDocument,\n} from './state-store';\n\nexport { PostgresStateStore, getAdcpStateMigration, ADCP_STATE_MIGRATION } from './postgres-state-store';\nexport type { PostgresStateStoreOptions } from './postgres-state-store';\n\nexport { structuredSerialize, structuredDeserialize } from './structured-serialize';\n\nexport { MCP_APP_RESOURCE_MIME_TYPE } from './mcp-app';\nexport type {\n AdcpMcpResourceDefinition,\n McpAppResourceCsp,\n McpAppResourcePermissions,\n McpAppResourceUiMeta,\n McpAppResourceMeta,\n McpAppResourceReadContext,\n} from './mcp-app';\n\n// `createAdcpServer` is NOT re-exported from `@adcp/sdk/server` anymore —\n// LLMs scaffolding from skills consistently latched onto it as the canonical\n// entry point despite the @deprecated JSDoc. Removing the top-level export\n// forces new code to either reach for `createAdcpServerFromPlatform` (the v6\n// canonical) or import from `@adcp/sdk/server/legacy/v5` (mid-migration /\n// escape-hatch only). Breaking change: v5 adopters see a hard import error\n// and update their import path. The migration is one line; the LLM-output\n// quality win is significant. See `docs/migration-5.x-to-6.x.md`.\nexport {\n requireSessionKey,\n ADCP_PRE_TRANSPORT,\n ADCP_SIGNED_REQUESTS_STATE,\n ADCP_INSTRUCTIONS_FN,\n} from './create-adcp-server';\nexport type { SessionContext, OnInstructionsError, MaybePromise, BridgeMarker } from './create-adcp-server';\nexport type {\n AdcpServer,\n AdcpServerComplianceApi,\n AdcpServerTransport,\n AdcpTestRequest,\n AdcpTestToolsCallRequest,\n AdcpTestResponse,\n} from './adcp-server';\n// Handler-bag types describe the raw v5 server surface. Primary-barrel names\n// are explicit Legacy aliases; the legacy/v5 subpath retains the originals.\nexport type {\n AdcpServerConfig as LegacyAdcpServerConfig,\n WebhooksConfig,\n AdcpToolMap as LegacyAdcpToolMap,\n AdcpServerToolName,\n AdcpCapabilitiesConfig,\n AdcpCapabilitiesOverrides,\n AdcpCustomToolConfig as LegacyAdcpCustomToolConfig,\n McpAppUiMeta,\n McpAppMeta,\n AdcpLogger,\n SignedRequestsConfig,\n AdcpPreTransport,\n AdcpSignedRequestsState,\n HandlerContext as LegacyHandlerContext,\n SessionKeyContext,\n MediaBuyHandlers as LegacyMediaBuyHandlers,\n ProposalNegotiationHandlers as LegacyProposalNegotiationHandlers,\n SignalsHandlers as LegacySignalsHandlers,\n CreativeHandlers as LegacyCreativeHandlers,\n GovernanceHandlers as LegacyGovernanceHandlers,\n AccountHandlers as LegacyAccountHandlers,\n EventTrackingHandlers as LegacyEventTrackingHandlers,\n SponsoredIntelligenceHandlers as LegacySponsoredIntelligenceHandlers,\n ResolveAccountContext as LegacyResolveAccountContext,\n} from './create-adcp-server';\n\nexport { DEFAULT_REPORTING_CAPABILITIES } from './product-defaults';\n\nexport {\n isSandboxRequest,\n mergeSeededProductsIntoResponse,\n filterValidSeededProducts,\n filterValidSeededCreatives,\n filterValidSeededMediaBuys,\n filterValidSeededAccounts,\n filterValidSeededAccountFinancials,\n filterValidSeededCreativeFormats,\n mergeSeededCreativesIntoResponse,\n mergeSeededMediaBuysIntoResponse,\n mergeSeededAccountsIntoResponse,\n mergeSeededCreativeFormatsIntoResponse,\n pickSeededAccountFinancialsForRequest,\n replaceAccountFinancialsIfSeeded,\n bridgeFromTestControllerStore,\n bridgeFromSessionStore,\n} from './test-controller-bridge';\nexport type {\n TestControllerBridge,\n TestControllerBridgeContext,\n BridgeFromSessionStoreOptions,\n SeededCreative,\n SeededMediaBuy,\n SeededAccountFinancials,\n} from './test-controller-bridge';\n\nexport {\n createIdempotencyStore,\n probeIdempotencyStore,\n memoryBackend,\n pgBackend,\n getIdempotencyMigration,\n IDEMPOTENCY_MIGRATION,\n cleanupExpiredIdempotency,\n redisBackend,\n createLazyBackend,\n hashPayload,\n IdempotencyClaimOwnershipError,\n} from './idempotency';\nexport type {\n IdempotencyStore,\n IdempotencyStoreConfig,\n IdempotencyBackend,\n IdempotencyCacheEntry,\n IdempotencyCheckResult,\n MemoryBackendOptions,\n PgBackendOptions,\n RedisBackendOptions,\n RedisBackendClient,\n RedisLikeClient,\n LazyBackendFactory,\n LazyBackendOptions,\n} from './idempotency';\n\nexport { createA2AAdapter, A2AInvocationError } from './a2a-adapter';\nexport type {\n A2AAdapter,\n A2AAdapterOptions,\n A2AAgentCardOverrides,\n A2AAgentCapabilitiesOverride,\n A2AAgentSkillOverride,\n A2AMountOptions,\n ExpressAppLike,\n LegacyHttpSecurityScheme,\n LegacySecurityScheme,\n} from './a2a-adapter';\n\nexport { createWebhookEmitter, memoryWebhookDeliveryStore, memoryWebhookKeyStore } from './webhook-emitter';\nexport {\n pgWebhookDeliveryStore,\n pgWebhookDeliveryRecoveryBackend,\n redisWebhookDeliveryStore,\n redisWebhookDeliveryRecoveryBackend,\n getWebhookDeliveryMigration,\n getWebhookDeliveryRecoveryMigration,\n WEBHOOK_DELIVERY_MIGRATION,\n WEBHOOK_DELIVERY_RECOVERY_MIGRATION,\n createWebhookDeliveryRecovery,\n pollWebhookDeliveryRecovery,\n memoryWebhookDeliveryRecoveryBackend,\n WebhookDeliveryTerminalError,\n isWebhookDeliveryTerminalError,\n} from './webhook-delivery';\nexport type {\n PgWebhookDeliveryStoreOptions,\n PgWebhookDeliveryRecoveryOptions,\n RedisWebhookDeliveryStoreOptions,\n RedisWebhookDeliveryRecoveryOptions,\n ProtectedWebhookAuthentication,\n WebhookAuthenticationAdapter,\n WebhookAuthenticationContext,\n StoredWebhookDeliverySnapshot,\n WebhookRecoveryRecord,\n WebhookRecoveryLease,\n WebhookRecoveryCheckpointResult,\n WebhookRecoveryCheckpointOutcome,\n WebhookDeliveryRecoveryBackend,\n DurableWebhookDeliveryRecovery,\n CreateWebhookDeliveryRecoveryOptions,\n PollWebhookDeliveryRecoveryOptions,\n} from './webhook-delivery';\nexport type {\n WebhookEmitter,\n RecoverableWebhookEmitter,\n WebhookEmitterOptions,\n WebhookEmitParams,\n WebhookEmitResult,\n WebhookRecoveredDelivery,\n WebhookEmitAttempt,\n WebhookEmitAttemptResult,\n WebhookDeliveryBinding,\n WebhookDeliveryRetired,\n WebhookDeliveryRecord,\n WebhookDeliveryKey,\n WebhookDeliveryProposal,\n WebhookDeliverySnapshot,\n WebhookDeliveryRecovery,\n WebhookDeliveryRecoveryClaim,\n WebhookDeliveryStore,\n WebhookIdempotencyKeyStore,\n WebhookRetryOptions,\n WebhookAuthentication,\n} from './webhook-emitter';\nexport type { SigningProvider } from '../signing/provider';\n\nexport { createPinAndBindFetch, WEBHOOK_SSRF_POLICY, LOOPBACK_OK_WEBHOOK_SSRF_POLICY } from './pin-and-bind-fetch';\nexport type { PinAndBindFetchOptions, DnsLookupAll } from './pin-and-bind-fetch';\n\nexport {\n checkGovernance,\n createAdcpGovernanceEnforcementMiddleware,\n governanceDeniedError,\n governanceUnavailableError,\n} from './governance';\nexport type {\n AdcpGovernanceEnforcementMiddleware,\n CheckGovernanceOptions,\n GovernanceCallResult,\n GovernanceApproved,\n GovernanceDenied,\n GovernanceConditions,\n} from './governance';\n\nexport {\n GovernanceAuthorizationError,\n GovernanceReplayStoreAdapter,\n InMemoryGovernanceReplayStore,\n buildGovernanceExecutionCommitment,\n buildGovernanceExecutionRequest,\n computeGovernedPayloadHash,\n createGovernanceEnforcementMiddleware,\n verifyGovernanceAuthorization,\n} from '../governance';\nexport type {\n BuildGovernanceExecutionRequestInput,\n GovernanceAuthorizationClaims,\n GovernanceAuthorizationErrorCode,\n GovernanceAuthorizationResult,\n GovernanceAuthorizationSuccess,\n GovernanceCommitment,\n GovernanceEnforcementMiddleware,\n GovernanceEnforcementMiddlewareConfig,\n GovernanceEnforcementMiddlewareInput,\n GovernanceReplayStore,\n GovernanceReplayBinding,\n GovernanceRevocationResolver,\n GovernanceRevocationStatus,\n VerifyGovernanceAuthorizationOptions,\n} from '../governance';\n\nexport {\n clearDefaultResolvedListCache,\n createResolvedListCache,\n DEFAULT_RESOLVE_LIST_PAGE_SIZE,\n defaultResolvedListCache,\n resolvePropertyList,\n resolveCollectionList,\n resolvedListCacheKey,\n matchesPropertyList,\n matchesCollectionList,\n} from './targeting-helpers';\nexport type {\n ResolvedListCache,\n ResolvedListCacheEntry,\n ResolvedListCacheValue,\n ResolvedListKind,\n ResolvedPropertyList,\n ResolvedCollectionList,\n ResolvedCollection,\n ResolveListCallTool,\n ResolveListOptions,\n} from './targeting-helpers';\n\n// ---------------------------------------------------------------------------\n// Platform-shaped server entry point (recommended for new agents)\n// ---------------------------------------------------------------------------\n//\n// `createAdcpServerFromPlatform` wraps `createAdcpServer` (the lower-level\n// handler-bag entry above) with compile-time specialism enforcement\n// (`RequiredPlatformsFor<S>`), capability projection, idempotency wiring,\n// async tasks, status normalization, multi-tenant routing, and async task\n// completion webhooks. Synchronous terminal responses remain inline by\n// default. Adopters declare a typed `DecisioningPlatform` per-specialism\n// and the framework wires the rest. See `docs/migration-5.x-to-6.x.md` and\n// `skills/build-decisioning-platform/` for the full walkthrough.\n//\n// Both `createAdcpServer` and `createAdcpServerFromPlatform` live on the\n// same import path so adopters discover them as siblings; pick the\n// function shape that matches your agent. The platform path internally\n// builds an `AdcpServerConfig` and calls `createAdcpServer` — they're\n// not adjacent surfaces, they're parent-child layers of the same SDK.\n//\n// **Pin to v5 long-term?** Import from `@adcp/sdk/server/legacy/v5`\n// instead. The subpath is the stable home for the v5 handler-bag\n// constructor; the top-level re-export here may be removed in a\n// future major. New code should not pin against `legacy/v5` either —\n// reach for `createAdcpServerFromPlatform` first.\nexport * from './decisioning';\nexport {\n createProposalRefinementHandler,\n createProposalSuccessor,\n proposalRefinementScopeFromContext,\n classifyProposalRefinementFailure,\n defineProposalRefinementCapabilities,\n ProposalSellerPreflightError,\n} from '../negotiation/seller';\nexport { proposalTermsDigest, verifyProposalTermsDigest } from '../negotiation/verification';\nexport type {\n ProposalCommercialEvaluator,\n ProposalFailureClassification,\n ProposalEvaluationContext,\n ProposalRefinementHandler,\n ProposalRefinementHandlerOptions,\n ProposalRefinementStore,\n ProposalRefinementTransaction,\n ProposalRefinementScope,\n ProposalSourceExpectation,\n ProposalSourceSnapshot,\n ProposalSuccessorInput,\n} from '../negotiation/seller';\nexport type {\n CanonicalProposal,\n ProposalCommercialTerms,\n ProposalRefinementCapabilities,\n ProposalRefinementResult,\n RefineProposalsRequest,\n RefineProposalsResponse,\n} from '../negotiation/types';\n\n// ---------------------------------------------------------------------------\n// Ctx-metadata store — opaque-blob round-trip for adapter-internal state\n// ---------------------------------------------------------------------------\n//\n// Publishers attach platform-specific opaque blobs to any returned resource\n// (product, media_buy, package, creative, audience, signal, rights_grant);\n// the framework persists by `(account_id, kind, id)`, strips from buyer-\n// facing wire payloads, threads back into the publisher's request context\n// on subsequent calls referencing the same resource ID. See\n// `docs/proposals/decisioning-platform-v6-1-ctx-metadata.md`.\nexport {\n createCtxMetadataStore,\n memoryCtxMetadataStore,\n pgCtxMetadataStore,\n redisCtxMetadataStore,\n getCtxMetadataMigration,\n cleanupExpiredCtxMetadata,\n CTX_METADATA_MIGRATION,\n CtxMetadataValidationError,\n ADCP_INTERNAL_TAG,\n DEFAULT_MAX_VALUE_BYTES,\n MAX_TTL_SECONDS,\n stripCtxMetadata,\n hasCtxMetadata,\n stripImplementationConfig,\n hasImplementationConfig,\n ctxMetadataResultKey,\n scopeCtxMetadataKey,\n} from './ctx-metadata';\nexport type {\n CtxMetadataStore,\n CtxMetadataStoreConfig,\n CtxMetadataBackend,\n CtxMetadataEntry,\n CtxMetadataRef,\n ResourceKind as CtxMetadataResourceKind,\n MemoryCtxMetadataStoreOptions,\n PgCtxMetadataBackendOptions,\n RedisCtxMetadataBackendOptions,\n CtxMetadataRedisBackendClient,\n CtxMetadataRedisLikeClient,\n WireShape,\n} from './ctx-metadata';\n\nexport { createTranslationMap, createUpstreamHttpClient } from './upstream-helpers';\nexport type {\n TranslationMap,\n UpstreamAuth,\n AuthContext,\n UpstreamCallOptions,\n UpstreamHttpClientOptions,\n UpstreamHttpClient,\n UpstreamHttpResult,\n} from './upstream-helpers';\n\n// ---------------------------------------------------------------------------\n// Server-side adapters\n// ---------------------------------------------------------------------------\nexport {\n InMemoryImplicitAccountStore,\n defaultImplicitKeyFn,\n type ImplicitAccountStoreOptions,\n} from '../adapters/implicit-account-store';\n\nexport {\n createOAuthPassthroughResolver,\n type OAuthPassthroughResolverOptions,\n} from '../adapters/oauth-passthrough-resolver';\n\nexport { createRosterAccountStore, type RosterAccountStoreOptions } from '../adapters/roster-account-store';\n\nexport { createDerivedAccountStore, type DerivedAccountStoreOptions } from '../adapters/derived-account-store';\n\n// ---------------------------------------------------------------------------\n// Socket Mode — outbound WebSocket bridge for adopter dev environments\n// ---------------------------------------------------------------------------\nexport {\n ConformanceClient,\n WebSocketTransport,\n type ConformanceClientOptions,\n type ConformanceStatus,\n} from './socket-mode';\n"],"mappings":";;;;;;;;;;;;;;;;;;;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;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;AAAA;AAAA;AAAA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AAuF;AAGvF,6BAAqC;AAGrC,kBAkBO;AAWP,gCAAoC;AAOpC,4BAKO;AAOP,yBAcO;AAYP,kCAAgF;AAGhF,kCAA2D;AAE3D,qBAA2C;AAkB3C,gCAKO;AAuCP,8BAA+C;AAE/C,oCAiBO;AAUP,yBAYO;AAgBP,yBAAqD;AAarD,6BAAwF;AACxF,8BAcO;AA2CP,gCAA4F;AAG5F,wBAKO;AAUP,IAAAA,qBASO;AAkBP,+BAUO;AAqCP,2BAAc,0BAhmBd;AAimBA,oBAOO;AACP,0BAA+D;AAiC/D,0BAkBO;AAgBP,8BAA+D;AAc/D,oCAIO;AAEP,wCAGO;AAEP,kCAAyE;AAEzE,mCAA2E;AAK3E,yBAKO;","names":["import_governance"]}
|
|
1
|
+
{"version":3,"sources":["../../../src/lib/server/index.ts"],"sourcesContent":["export { adcpError } from './errors';\nexport type { AdcpErrorOptions, AdcpErrorPayload, AdcpErrorResponse } from './errors';\n\nexport { normalizeError, normalizeErrors } from './normalize-errors';\nexport type { NormalizedError } from './normalize-errors';\n\nexport { pickSafeDetails } from './pick-safe-details';\nexport type { PickSafeDetailsOptions } from './pick-safe-details';\n\nexport { wrapEnvelope } from './wrap-envelope';\nexport type { WrapEnvelopeOptions } from './wrap-envelope';\n\nexport {\n ERROR_ENVELOPE_FIELD_ALLOWLIST,\n DEFAULT_ERROR_ENVELOPE_FIELDS,\n ADCP_ERROR_FIELD_ALLOWLIST,\n CONFLICT_ADCP_ERROR_ALLOWLIST,\n} from './envelope-allowlist';\n\nexport { scanArgsForCredentials, DEFAULT_CREDENTIAL_PATTERNS } from './credential-policy';\nexport type {\n CredentialPolicy,\n CredentialPolicyMode,\n CredentialPolicyConfig,\n CredentialPatternsConfig,\n} from './credential-policy';\n\nexport { createDynamicRegistry } from './dynamic-registry';\nexport type {\n DynamicRegistry,\n DynamicRegistryConfig,\n DynamicRegistryRegisterOptions,\n PendingRegistries,\n RegistryShape,\n} from './dynamic-registry';\n\nexport { defineOperationalPlatform } from './operational-platform';\nexport type { OperationalPlatform, OperationalContext } from './operational-platform';\n\nexport { pickWireSpecFields, scrubExtensions, WIRE_SPEC_FIELDS } from './wire-safe';\nexport type { WireSafe, WireSpecRequestName, ScrubExtensionsOptions } from './wire-safe';\nexport type { RequireCacheScopeWhenProducts, ServerPayload } from '../types/server-payload';\nexport type {\n ActivateSignalPayload,\n AcquireRightsAcquiredPayload as LegacyAcquireRightsAcquiredPayload,\n AcquireRightsPayload as LegacyAcquireRightsPayload,\n AcquireRightsPendingApprovalPayload as LegacyAcquireRightsPendingApprovalPayload,\n AcquireRightsRejectedPayload as LegacyAcquireRightsRejectedPayload,\n BuildCreativeMultiPayload as LegacyBuildCreativeMultiPayload,\n BuildCreativePayload as LegacyBuildCreativePayload,\n BuildCreativeVariantPayload as LegacyBuildCreativeVariantPayload,\n CalibrateContentPayload as LegacyCalibrateContentPayload,\n CheckGovernancePayload,\n CreateCollectionListPayload,\n CreateContentStandardsPayload as LegacyCreateContentStandardsPayload,\n CreateMediaBuyPayload as LegacyCreateMediaBuyPayload,\n CreatePropertyListPayload,\n CreativeApprovalPayload,\n CreativeApprovedPayload,\n CreativePendingReviewPayload,\n CreativeRejectedPayload,\n DeleteCollectionListPayload,\n DeletePropertyListPayload,\n GetAccountFinancialsPayload,\n GetAccountFinancialsSuccessPayload,\n GetAdCPCapabilitiesPayload,\n GetBrandIdentityPayload,\n GetCollectionListPayload,\n GetContentStandardsPayload as LegacyGetContentStandardsPayload,\n GetCreativeDeliveryPayload as LegacyGetCreativeDeliveryPayload,\n GetCreativeFeaturesPayload as LegacyGetCreativeFeaturesPayload,\n GetMediaBuyArtifactsPayload as LegacyGetMediaBuyArtifactsPayload,\n GetMediaBuyDeliveryPayload as LegacyGetMediaBuyDeliveryPayload,\n GetMediaBuysPayload as LegacyGetMediaBuysPayload,\n GetPlanAuditLogsPayload,\n GetProductsPayload as LegacyGetProductsPayload,\n GetPropertyListPayload,\n GetRightsPayload as LegacyGetRightsPayload,\n GetRightsResponsePayload as LegacyGetRightsResponsePayload,\n GetSignalsPayload,\n ListAccountsPayload,\n ListCollectionListsPayload,\n ListContentStandardsPayload as LegacyListContentStandardsPayload,\n ListCreativeFormatsPayload as LegacyListCreativeFormatsPayload,\n ListCreativeFormatsResponsePayload as LegacyListCreativeFormatsResponsePayload,\n ListCreativeFormatsServerPayload as LegacyListCreativeFormatsServerPayload,\n ListCreativesPayload as LegacyListCreativesPayload,\n ListPropertyListsPayload,\n LogEventPayload,\n CanonicalPreviewCreativePayload,\n PreviewCreativePayload as LegacyPreviewCreativePayload,\n ProvidePerformanceFeedbackPayload,\n ReportPlanOutcomePayload,\n ReportUsagePayload,\n SIGetOfferingPayload,\n SIInitiateSessionPayload,\n SISendMessagePayload,\n SITerminateSessionPayload,\n SyncAccountsPayload,\n SyncAccountsSuccessPayload,\n SyncAudiencesPayload,\n SyncCatalogsPayload,\n SyncCreativesErrorPayload,\n SyncCreativesPayload,\n SyncCreativesSuccessPayload,\n SyncEventSourcesPayload,\n SyncGovernancePayload,\n SyncGovernanceSuccessPayload,\n SyncPlansPayload,\n UpdateCollectionListPayload,\n UpdateContentStandardsPayload as LegacyUpdateContentStandardsPayload,\n UpdateMediaBuyPayload as LegacyUpdateMediaBuyPayload,\n UpdatePropertyListPayload,\n UpdateRightsPayload as LegacyUpdateRightsPayload,\n ValidateContentDeliveryPayload as LegacyValidateContentDeliveryPayload,\n} from '../types/server-payload-aliases';\n\nexport { assertNoExampleTlds } from './example-tld-guard';\nexport type { AssertNoExampleTldsOptions } from './example-tld-guard';\n\n// Raw wire response builders remain available only through explicit\n// `legacy*` aliases on this primary barrel. The legacy/v5 subpath preserves\n// their historical names for handler-bag adopters.\nexport {\n capabilitiesResponse as legacyCapabilitiesResponse,\n productsResponse as legacyProductsResponse,\n mediaBuyResponse as legacyMediaBuyResponse,\n deliveryResponse as legacyDeliveryResponse,\n listAccountsResponse as legacyListAccountsResponse,\n listCreativeFormatsResponse as legacyListCreativeFormatsResponse,\n updateMediaBuyResponse as legacyUpdateMediaBuyResponse,\n getMediaBuysResponse as legacyGetMediaBuysResponse,\n performanceFeedbackResponse as legacyPerformanceFeedbackResponse,\n buildCreativeResponse as legacyBuildCreativeResponse,\n buildCreativeMultiResponse as legacyBuildCreativeMultiResponse,\n previewCreativeResponse as legacyPreviewCreativeResponse,\n creativeDeliveryResponse as legacyCreativeDeliveryResponse,\n listCreativesResponse as legacyListCreativesResponse,\n listPropertyListsResponse as legacyListPropertyListsResponse,\n listCollectionListsResponse as legacyListCollectionListsResponse,\n listContentStandardsResponse as legacyListContentStandardsResponse,\n getPlanAuditLogsResponse as legacyGetPlanAuditLogsResponse,\n syncCreativesResponse as legacySyncCreativesResponse,\n getSignalsResponse as legacyGetSignalsResponse,\n activateSignalResponse as legacyActivateSignalResponse,\n cancelMediaBuyResponse as legacyCancelMediaBuyResponse,\n acquireRightsResponse as legacyAcquireRightsResponse,\n acquireRightsAcquired as legacyAcquireRightsAcquired,\n acquireRightsPendingApproval as legacyAcquireRightsPendingApproval,\n acquireRightsRejected as legacyAcquireRightsRejected,\n updateRightsResponse as legacyUpdateRightsResponse,\n updateRightsSuccess as legacyUpdateRightsSuccess,\n creativeApprovalResponse as legacyCreativeApprovalResponse,\n creativeApprovalApproved as legacyCreativeApprovalApproved,\n creativeApprovalRejected as legacyCreativeApprovalRejected,\n creativeApprovalPendingReview as legacyCreativeApprovalPendingReview,\n creativeApprovalError as legacyCreativeApprovalError,\n syncAccountsResponse as legacySyncAccountsResponse,\n syncGovernanceResponse as legacySyncGovernanceResponse,\n reportUsageResponse as legacyReportUsageResponse,\n toStructuredContent,\n} from './responses';\nexport type { McpToolResponse } from './responses';\n\nexport { validActionsForStatus } from './media-buy-helpers';\nexport type { ValidAction, CancelMediaBuyInput } from './media-buy-helpers';\nexport { assertUpdateMediaBuyAllowed } from './media-buy-actions';\nexport type { AssertUpdateMediaBuyAllowedOptions } from './media-buy-actions';\n\nexport { createMediaBuyStore, DEFAULT_MEDIA_BUY_STORE_COLLECTION } from './media-buy-store';\nexport type {\n MediaBuyStore,\n CreateMediaBuyStoreOptions,\n CreateMediaBuyInputForStore,\n CreateMediaBuyResultForStore,\n UpdateMediaBuyInputForStore,\n GetMediaBuysResultForStore,\n} from './media-buy-store';\n\nexport {\n MEDIA_BUY_TRANSITIONS,\n CREATIVE_ASSET_TRANSITIONS,\n isLegalMediaBuyTransition,\n isLegalCreativeTransition,\n assertMediaBuyTransition,\n assertCreativeTransition,\n} from './state-machine';\n\nexport { getAccountMode, isSandboxOrMockAccount, assertSandboxAccount } from './account-mode';\nexport type { AccountMode } from './account-mode';\n\nexport {\n taskToolResponse,\n registerAdcpTaskTool,\n createTaskCapableServer,\n InMemoryTaskStore,\n isTerminal,\n} from './tasks';\nexport type {\n AdcpTaskToolConfig,\n TaskStore,\n TaskMessageQueue,\n CreateTaskOptions,\n ToolTaskHandler,\n CreateTaskRequestHandlerExtra,\n TaskRequestHandlerExtra,\n CreateTaskResult,\n GetTaskResult,\n Task,\n} from './tasks';\n\nexport {\n PostgresTaskStore,\n cleanupExpiredTasks,\n getMcpTasksMigration,\n MCP_TASKS_MIGRATION,\n} from './postgres-task-store';\nexport type { PgQueryable, PostgresTaskStoreOptions } from './postgres-task-store';\n\nexport {\n registerTestController,\n handleTestControllerRequest,\n TestControllerError,\n toMcpResponse,\n TOOL_INPUT_SHAPE,\n CONTROLLER_SCENARIOS,\n DISCOVERY_ARM_SCENARIOS,\n SEED_SCENARIOS,\n SEED_MESSAGES,\n SESSION_ENTRY_CAP,\n enforceMapCap,\n createSeedFixtureCache,\n} from './test-controller';\nexport type {\n TestControllerStore,\n TestControllerStoreFactory,\n TestControllerStoreOrFactory,\n ControllerScenario,\n SeedScenario,\n SeedFixtureCache,\n} from './test-controller';\n\nexport { serve, taskScopeFromPrincipal, UnknownHostError, hostname, resolveHost } from './serve';\nexport type { ServeContext, ServeOptions, ProtectedResourceMetadata } from './serve';\n\nexport { createExpressAdapter } from './express-adapter';\nexport type { ExpressAdapter, ExpressAdapterOptions } from './express-adapter';\n\nexport {\n verifyApiKey,\n verifyBearer,\n anyOf,\n extractBearerToken,\n respondUnauthorized,\n signatureErrorCodeFromCause,\n AuthError,\n AUTH_NEEDS_RAW_BODY,\n tagAuthenticatorNeedsRawBody,\n authenticatorNeedsRawBody,\n AUTH_PRESENCE_GATED,\n tagAuthenticatorPresenceGated,\n isAuthenticatorPresenceGated,\n ADCP_SERVE_REQUEST_CONTEXT,\n getServeRequestContext,\n DEFAULT_JWT_ALGORITHMS,\n DEFAULT_JWT_CLOCK_TOLERANCE_SECONDS,\n} from './auth';\nexport type {\n Authenticator,\n AuthPrincipal,\n AuthResult,\n VerifyApiKeyOptions,\n VerifyBearerOptions,\n RespondUnauthorizedOptions,\n ServeRequestContext,\n} from './auth';\n\nexport { verifyIntrospection } from './auth-introspection';\nexport type {\n VerifyIntrospectionOptions,\n IntrospectionCacheOptions,\n IntrospectionResponse,\n} from './auth-introspection';\n\nexport {\n verifySignatureAsAuthenticator,\n requireSignatureWhenPresent,\n requireAuthenticatedOrSigned,\n mcpToolNameResolver,\n} from './auth-signature';\nexport type {\n VerifySignatureAsAuthenticatorOptions,\n RequireSignatureWhenPresentOptions,\n RequireAuthenticatedOrSignedOptions,\n} from './auth-signature';\n\nexport {\n InMemoryStateStore,\n StateError,\n PatchConflictError,\n DEFAULT_MAX_DOCUMENT_BYTES,\n SESSION_KEY_FIELD,\n createSessionedStore,\n scopedStore,\n patchWithRetry,\n isPutIfMatchConflict,\n validateCollection,\n validateId,\n validatePayloadSize,\n validateWrite,\n} from './state-store';\nexport type {\n AdcpStateStore,\n InMemoryStateStoreOptions,\n ListOptions,\n ListResult,\n PatchWithRetryOptions,\n PutIfMatchResult,\n StateErrorCode,\n VersionedDocument,\n} from './state-store';\n\nexport { PostgresStateStore, getAdcpStateMigration, ADCP_STATE_MIGRATION } from './postgres-state-store';\nexport type { PostgresStateStoreOptions } from './postgres-state-store';\n\nexport { structuredSerialize, structuredDeserialize } from './structured-serialize';\n\nexport { MCP_APP_RESOURCE_MIME_TYPE } from './mcp-app';\nexport type {\n AdcpMcpResourceDefinition,\n McpAppResourceCsp,\n McpAppResourcePermissions,\n McpAppResourceUiMeta,\n McpAppResourceMeta,\n McpAppResourceReadContext,\n} from './mcp-app';\n\n// `createAdcpServer` is NOT re-exported from `@adcp/sdk/server` anymore —\n// LLMs scaffolding from skills consistently latched onto it as the canonical\n// entry point despite the @deprecated JSDoc. Removing the top-level export\n// forces new code to either reach for `createAdcpServerFromPlatform` (the v6\n// canonical) or import from `@adcp/sdk/server/legacy/v5` (mid-migration /\n// escape-hatch only). Breaking change: v5 adopters see a hard import error\n// and update their import path. The migration is one line; the LLM-output\n// quality win is significant. See `docs/migration-5.x-to-6.x.md`.\nexport {\n requireSessionKey,\n ADCP_PRE_TRANSPORT,\n ADCP_SIGNED_REQUESTS_STATE,\n ADCP_INSTRUCTIONS_FN,\n} from './create-adcp-server';\nexport type { SessionContext, OnInstructionsError, MaybePromise, BridgeMarker } from './create-adcp-server';\nexport type {\n AdcpServer,\n AdcpServerComplianceApi,\n AdcpServerTransport,\n AdcpTestRequest,\n AdcpTestToolsCallRequest,\n AdcpTestResponse,\n} from './adcp-server';\n// Handler-bag types describe the raw v5 server surface. Primary-barrel names\n// are explicit Legacy aliases; the legacy/v5 subpath retains the originals.\nexport type {\n AdcpServerConfig as LegacyAdcpServerConfig,\n WebhooksConfig,\n AdcpToolMap as LegacyAdcpToolMap,\n AdcpServerToolName,\n AdcpCapabilitiesConfig,\n AdcpCapabilitiesOverrides,\n AdcpCustomToolConfig as LegacyAdcpCustomToolConfig,\n McpAppUiMeta,\n McpAppMeta,\n AdcpLogger,\n SignedRequestsConfig,\n AdcpPreTransport,\n AdcpSignedRequestsState,\n HandlerContext as LegacyHandlerContext,\n SessionKeyContext,\n MediaBuyHandlers as LegacyMediaBuyHandlers,\n ProposalNegotiationHandlers as LegacyProposalNegotiationHandlers,\n SignalsHandlers as LegacySignalsHandlers,\n CreativeHandlers as LegacyCreativeHandlers,\n GovernanceHandlers as LegacyGovernanceHandlers,\n AccountHandlers as LegacyAccountHandlers,\n EventTrackingHandlers as LegacyEventTrackingHandlers,\n SponsoredIntelligenceHandlers as LegacySponsoredIntelligenceHandlers,\n ResolveAccountContext as LegacyResolveAccountContext,\n} from './create-adcp-server';\n\nexport { DEFAULT_REPORTING_CAPABILITIES } from './product-defaults';\n\nexport {\n isSandboxRequest,\n mergeSeededProductsIntoResponse,\n filterValidSeededProducts,\n filterValidSeededCreatives,\n filterValidSeededMediaBuys,\n filterValidSeededAccounts,\n filterValidSeededAccountFinancials,\n filterValidSeededCreativeFormats,\n mergeSeededCreativesIntoResponse,\n mergeSeededMediaBuysIntoResponse,\n mergeSeededAccountsIntoResponse,\n mergeSeededCreativeFormatsIntoResponse,\n pickSeededAccountFinancialsForRequest,\n replaceAccountFinancialsIfSeeded,\n bridgeFromTestControllerStore,\n bridgeFromSessionStore,\n} from './test-controller-bridge';\nexport type {\n TestControllerBridge,\n TestControllerBridgeContext,\n BridgeFromSessionStoreOptions,\n SeededCreative,\n SeededMediaBuy,\n SeededAccountFinancials,\n} from './test-controller-bridge';\n\nexport {\n createIdempotencyStore,\n probeIdempotencyStore,\n memoryBackend,\n pgBackend,\n getIdempotencyMigration,\n IDEMPOTENCY_MIGRATION,\n cleanupExpiredIdempotency,\n redisBackend,\n createLazyBackend,\n hashPayload,\n IdempotencyClaimOwnershipError,\n} from './idempotency';\nexport type {\n IdempotencyStore,\n IdempotencyStoreConfig,\n IdempotencyBackend,\n IdempotencyCacheEntry,\n IdempotencyCheckResult,\n MemoryBackendOptions,\n PgBackendOptions,\n RedisBackendOptions,\n RedisBackendClient,\n RedisLikeClient,\n LazyBackendFactory,\n LazyBackendOptions,\n} from './idempotency';\n\nexport { createA2AAdapter, A2AInvocationError } from './a2a-adapter';\nexport type {\n A2AAdapter,\n A2AAdapterOptions,\n A2AAgentCardOverrides,\n A2AAgentCapabilitiesOverride,\n A2AAgentSkillOverride,\n A2AMountOptions,\n ExpressAppLike,\n LegacyHttpSecurityScheme,\n LegacySecurityScheme,\n} from './a2a-adapter';\n\nexport { createWebhookEmitter, memoryWebhookDeliveryStore, memoryWebhookKeyStore } from './webhook-emitter';\nexport {\n pgWebhookDeliveryStore,\n pgWebhookDeliveryRecoveryBackend,\n redisWebhookDeliveryStore,\n redisWebhookDeliveryRecoveryBackend,\n getWebhookDeliveryMigration,\n getWebhookDeliveryRecoveryMigration,\n WEBHOOK_DELIVERY_MIGRATION,\n WEBHOOK_DELIVERY_RECOVERY_MIGRATION,\n createWebhookDeliveryRecovery,\n pollWebhookDeliveryRecovery,\n memoryWebhookDeliveryRecoveryBackend,\n WebhookDeliveryTerminalError,\n isWebhookDeliveryTerminalError,\n} from './webhook-delivery';\nexport type {\n PgWebhookDeliveryStoreOptions,\n PgWebhookDeliveryRecoveryOptions,\n RedisWebhookDeliveryStoreOptions,\n RedisWebhookDeliveryRecoveryOptions,\n ProtectedWebhookAuthentication,\n WebhookAuthenticationAdapter,\n WebhookAuthenticationContext,\n StoredWebhookDeliverySnapshot,\n WebhookRecoveryRecord,\n WebhookRecoveryLease,\n WebhookRecoveryCheckpointResult,\n WebhookRecoveryCheckpointOutcome,\n WebhookDeliveryRecoveryBackend,\n DurableWebhookDeliveryRecovery,\n CreateWebhookDeliveryRecoveryOptions,\n PollWebhookDeliveryRecoveryOptions,\n} from './webhook-delivery';\nexport type {\n WebhookEmitter,\n RecoverableWebhookEmitter,\n WebhookEmitterOptions,\n WebhookEmitParams,\n WebhookEmitResult,\n WebhookRecoveredDelivery,\n WebhookEmitAttempt,\n WebhookEmitAttemptResult,\n WebhookDeliveryBinding,\n WebhookDeliveryRetired,\n WebhookDeliveryRecord,\n WebhookDeliveryKey,\n WebhookDeliveryProposal,\n WebhookDeliverySnapshot,\n WebhookDeliveryRecovery,\n WebhookDeliveryRecoveryClaim,\n WebhookDeliveryStore,\n WebhookIdempotencyKeyStore,\n WebhookRetryOptions,\n WebhookAuthentication,\n} from './webhook-emitter';\nexport type { SigningProvider } from '../signing/provider';\n\nexport { createPinAndBindFetch, WEBHOOK_SSRF_POLICY, LOOPBACK_OK_WEBHOOK_SSRF_POLICY } from './pin-and-bind-fetch';\nexport type { PinAndBindFetchOptions, DnsLookupAll } from './pin-and-bind-fetch';\n\nexport {\n checkGovernance,\n createAdcpGovernanceEnforcementMiddleware,\n governanceDeniedError,\n governanceUnavailableError,\n} from './governance';\nexport type {\n AdcpGovernanceEnforcementMiddleware,\n CheckGovernanceOptions,\n GovernanceCallResult,\n GovernanceApproved,\n GovernanceDenied,\n GovernanceConditions,\n} from './governance';\n\nexport {\n GovernanceAuthorizationError,\n GovernanceReplayStoreAdapter,\n InMemoryGovernanceReplayStore,\n buildGovernanceExecutionCommitment,\n buildGovernanceExecutionRequest,\n computeGovernedPayloadHash,\n createGovernanceEnforcementMiddleware,\n verifyGovernanceAuthorization,\n} from '../governance';\nexport type {\n BuildGovernanceExecutionRequestInput,\n GovernanceAuthorizationClaims,\n GovernanceAuthorizationErrorCode,\n GovernanceAuthorizationResult,\n GovernanceAuthorizationSuccess,\n GovernanceCommitment,\n GovernanceEnforcementMiddleware,\n GovernanceEnforcementMiddlewareConfig,\n GovernanceEnforcementMiddlewareInput,\n GovernanceReplayStore,\n GovernanceReplayBinding,\n GovernanceRevocationResolver,\n GovernanceRevocationStatus,\n VerifyGovernanceAuthorizationOptions,\n} from '../governance';\n\nexport {\n clearDefaultResolvedListCache,\n createResolvedListCache,\n DEFAULT_RESOLVE_LIST_PAGE_SIZE,\n defaultResolvedListCache,\n resolvePropertyList,\n resolveCollectionList,\n resolvedListCacheKey,\n matchesPropertyList,\n matchesCollectionList,\n} from './targeting-helpers';\nexport type {\n ResolvedListCache,\n ResolvedListCacheEntry,\n ResolvedListCacheValue,\n ResolvedListKind,\n ResolvedPropertyList,\n ResolvedCollectionList,\n ResolvedCollection,\n ResolveListCallTool,\n ResolveListOptions,\n} from './targeting-helpers';\n\n// ---------------------------------------------------------------------------\n// Platform-shaped server entry point (recommended for new agents)\n// ---------------------------------------------------------------------------\n//\n// `createAdcpServerFromPlatform` wraps `createAdcpServer` (the lower-level\n// handler-bag entry above) with compile-time specialism enforcement\n// (`RequiredPlatformsFor<S>`), capability projection, idempotency wiring,\n// async tasks, status normalization, multi-tenant routing, and async task\n// completion webhooks. Synchronous terminal responses remain inline by\n// default. Adopters declare a typed `DecisioningPlatform` per-specialism\n// and the framework wires the rest. See `docs/migration-5.x-to-6.x.md` and\n// `skills/build-decisioning-platform/` for the full walkthrough.\n//\n// Both `createAdcpServer` and `createAdcpServerFromPlatform` live on the\n// same import path so adopters discover them as siblings; pick the\n// function shape that matches your agent. The platform path internally\n// builds an `AdcpServerConfig` and calls `createAdcpServer` — they're\n// not adjacent surfaces, they're parent-child layers of the same SDK.\n//\n// **Pin to v5 long-term?** Import from `@adcp/sdk/server/legacy/v5`\n// instead. The subpath is the stable home for the v5 handler-bag\n// constructor; the top-level re-export here may be removed in a\n// future major. New code should not pin against `legacy/v5` either —\n// reach for `createAdcpServerFromPlatform` first.\nexport * from './decisioning';\nexport {\n createProposalRefinementHandler,\n createProposalSuccessor,\n proposalRefinementScopeFromContext,\n classifyProposalRefinementFailure,\n defineProposalRefinementCapabilities,\n ProposalSellerPreflightError,\n} from '../negotiation/seller';\nexport { proposalTermsDigest, verifyProposalTermsDigest } from '../negotiation/verification';\nexport type {\n ProposalCommercialEvaluator,\n ProposalFailureClassification,\n ProposalEvaluationContext,\n ProposalRefinementHandler,\n ProposalRefinementHandlerOptions,\n ProposalRefinementStore,\n ProposalRefinementTransaction,\n ProposalRefinementScope,\n ProposalSourceExpectation,\n ProposalSourceSnapshot,\n ProposalSuccessorInput,\n} from '../negotiation/seller';\nexport type {\n CanonicalProposal,\n ProposalCommercialTerms,\n ProposalRefinementCapabilities,\n ProposalRefinementResult,\n RefineProposalsRequest,\n RefineProposalsResponse,\n} from '../negotiation/types';\n\n// ---------------------------------------------------------------------------\n// Ctx-metadata store — opaque-blob round-trip for adapter-internal state\n// ---------------------------------------------------------------------------\n//\n// Publishers attach platform-specific opaque blobs to any returned resource\n// (product, media_buy, package, creative, audience, signal, rights_grant);\n// the framework persists by `(account_id, kind, id)`, strips from buyer-\n// facing wire payloads, threads back into the publisher's request context\n// on subsequent calls referencing the same resource ID. See\n// `docs/proposals/decisioning-platform-v6-1-ctx-metadata.md`.\nexport {\n createCtxMetadataStore,\n memoryCtxMetadataStore,\n pgCtxMetadataStore,\n redisCtxMetadataStore,\n getCtxMetadataMigration,\n cleanupExpiredCtxMetadata,\n CTX_METADATA_MIGRATION,\n CtxMetadataValidationError,\n ADCP_INTERNAL_TAG,\n DEFAULT_MAX_VALUE_BYTES,\n MAX_TTL_SECONDS,\n stripCtxMetadata,\n hasCtxMetadata,\n stripImplementationConfig,\n hasImplementationConfig,\n ctxMetadataResultKey,\n scopeCtxMetadataKey,\n} from './ctx-metadata';\nexport type {\n CtxMetadataStore,\n CtxMetadataStoreConfig,\n CtxMetadataBackend,\n CtxMetadataEntry,\n CtxMetadataRef,\n ResourceKind as CtxMetadataResourceKind,\n MemoryCtxMetadataStoreOptions,\n PgCtxMetadataBackendOptions,\n RedisCtxMetadataBackendOptions,\n CtxMetadataRedisBackendClient,\n CtxMetadataRedisLikeClient,\n WireShape,\n} from './ctx-metadata';\n\nexport { createTranslationMap, createUpstreamHttpClient } from './upstream-helpers';\nexport type {\n TranslationMap,\n UpstreamAuth,\n AuthContext,\n UpstreamCallOptions,\n UpstreamHttpClientOptions,\n UpstreamHttpClient,\n UpstreamHttpResult,\n} from './upstream-helpers';\n\n// ---------------------------------------------------------------------------\n// Server-side adapters\n// ---------------------------------------------------------------------------\nexport {\n InMemoryImplicitAccountStore,\n defaultImplicitKeyFn,\n type ImplicitAccountStoreOptions,\n} from '../adapters/implicit-account-store';\n\nexport {\n createOAuthPassthroughResolver,\n type OAuthPassthroughResolverOptions,\n} from '../adapters/oauth-passthrough-resolver';\n\nexport { createRosterAccountStore, type RosterAccountStoreOptions } from '../adapters/roster-account-store';\n\nexport { createDerivedAccountStore, type DerivedAccountStoreOptions } from '../adapters/derived-account-store';\n\n// ---------------------------------------------------------------------------\n// Socket Mode — outbound WebSocket bridge for adopter dev environments\n// ---------------------------------------------------------------------------\nexport {\n ConformanceClient,\n WebSocketTransport,\n type ConformanceClientOptions,\n type ConformanceStatus,\n} from './socket-mode';\n"],"mappings":";;;;;;;;;;;;;;;;;;;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;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;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;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;A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