@adcp/sdk 14.0.0-rc.34 → 14.0.0-rc.35
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/dist/lib/core/SingleAgentClient.js +19 -13
- package/dist/lib/core/SingleAgentClient.mjs +19 -13
- package/dist/lib/schemas-data/v2.5/_provenance.json +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/version.d.mts +3 -3
- package/dist/lib/version.d.ts +3 -3
- package/dist/lib/version.js +3 -3
- package/dist/lib/version.mjs +3 -3
- package/docs/TYPE-SUMMARY.md +2 -2
- package/docs/guides/CONFORMANCE.md +6 -0
- package/docs/llms.txt +2 -2
- package/package.json +2 -2
|
@@ -4077,10 +4077,7 @@ Hint: this usually means agent_uri does not include the MCP endpoint path. The S
|
|
|
4077
4077
|
if (hasCreativeFormatData) {
|
|
4078
4078
|
this.validateBeforeCreativeCapabilityProbe("create_media_buy", params, taskOptions);
|
|
4079
4079
|
}
|
|
4080
|
-
const wireMode = hasCreativeFormatData ? this.resolveCreativeFormatWireMode(
|
|
4081
|
-
"create_media_buy",
|
|
4082
|
-
await this.getCapabilities({ signal: taskOptions.signal, transport: taskOptions.transport })
|
|
4083
|
-
) : "canonical";
|
|
4080
|
+
const wireMode = hasCreativeFormatData ? this.resolveCreativeFormatWireMode("create_media_buy", await this.getCapabilities(taskOptions)) : "canonical";
|
|
4084
4081
|
if (this.config.webhookUrlTemplate && !options?.disableWebhook) {
|
|
4085
4082
|
const now = /* @__PURE__ */ new Date();
|
|
4086
4083
|
const year = now.getUTCFullYear();
|
|
@@ -4198,10 +4195,7 @@ Hint: this usually means agent_uri does not include the MCP endpoint path. The S
|
|
|
4198
4195
|
if (hasCreativeFormatData) {
|
|
4199
4196
|
this.validateBeforeCreativeCapabilityProbe("update_media_buy", params, taskOptions);
|
|
4200
4197
|
}
|
|
4201
|
-
const wireMode = hasCreativeFormatData ? this.resolveCreativeFormatWireMode(
|
|
4202
|
-
"update_media_buy",
|
|
4203
|
-
await this.getCapabilities({ signal: taskOptions.signal, transport: taskOptions.transport })
|
|
4204
|
-
) : "canonical";
|
|
4198
|
+
const wireMode = hasCreativeFormatData ? this.resolveCreativeFormatWireMode("update_media_buy", await this.getCapabilities(taskOptions)) : "canonical";
|
|
4205
4199
|
const result = await this.executeAndHandle(
|
|
4206
4200
|
"update_media_buy",
|
|
4207
4201
|
"onUpdateMediaBuyStatusChange",
|
|
@@ -4283,10 +4277,7 @@ Hint: this usually means agent_uri does not include the MCP endpoint path. The S
|
|
|
4283
4277
|
projectionCatalogs ?? this.config.projectionCatalogs
|
|
4284
4278
|
);
|
|
4285
4279
|
this.validateBeforeCreativeCapabilityProbe("sync_creatives", params, taskOptions);
|
|
4286
|
-
const wireMode = this.resolveCreativeFormatWireMode(
|
|
4287
|
-
"sync_creatives",
|
|
4288
|
-
await this.getCapabilities({ signal: taskOptions.signal, transport: taskOptions.transport })
|
|
4289
|
-
);
|
|
4280
|
+
const wireMode = this.resolveCreativeFormatWireMode("sync_creatives", await this.getCapabilities(taskOptions));
|
|
4290
4281
|
const configuredSelectorContainers = [
|
|
4291
4282
|
...creativeFormatProjection?.selectorContainers ?? []
|
|
4292
4283
|
];
|
|
@@ -5709,7 +5700,22 @@ Hint: this usually means agent_uri does not include the MCP endpoint path. The S
|
|
|
5709
5700
|
if (hasCapabilitiesTool) {
|
|
5710
5701
|
try {
|
|
5711
5702
|
const agent = await this.ensureEndpointDiscovered(options);
|
|
5712
|
-
const
|
|
5703
|
+
const callerOptions = options;
|
|
5704
|
+
const probeOptions = {
|
|
5705
|
+
...options?.signal !== void 0 && { signal: options.signal },
|
|
5706
|
+
...options?.transport !== void 0 && { transport: options.transport },
|
|
5707
|
+
...callerOptions?.disableWebhook !== void 0 && { disableWebhook: callerOptions.disableWebhook },
|
|
5708
|
+
...callerOptions?.delegatedOperatorAuthorization !== void 0 && {
|
|
5709
|
+
delegatedOperatorAuthorization: { ...callerOptions.delegatedOperatorAuthorization }
|
|
5710
|
+
}
|
|
5711
|
+
};
|
|
5712
|
+
const result = await this.executor.executeTask(
|
|
5713
|
+
agent,
|
|
5714
|
+
"get_adcp_capabilities",
|
|
5715
|
+
{},
|
|
5716
|
+
void 0,
|
|
5717
|
+
probeOptions
|
|
5718
|
+
);
|
|
5713
5719
|
(0, import_abort2.throwIfAborted)(options?.signal);
|
|
5714
5720
|
const requestTimeoutMs = (0, import_abort2.resolveRequestTimeoutMs)(
|
|
5715
5721
|
options?.transport?.requestTimeoutMs ?? this.config.transport?.requestTimeoutMs
|
|
@@ -4131,10 +4131,7 @@ Hint: this usually means agent_uri does not include the MCP endpoint path. The S
|
|
|
4131
4131
|
if (hasCreativeFormatData) {
|
|
4132
4132
|
this.validateBeforeCreativeCapabilityProbe("create_media_buy", params, taskOptions);
|
|
4133
4133
|
}
|
|
4134
|
-
const wireMode = hasCreativeFormatData ? this.resolveCreativeFormatWireMode(
|
|
4135
|
-
"create_media_buy",
|
|
4136
|
-
await this.getCapabilities({ signal: taskOptions.signal, transport: taskOptions.transport })
|
|
4137
|
-
) : "canonical";
|
|
4134
|
+
const wireMode = hasCreativeFormatData ? this.resolveCreativeFormatWireMode("create_media_buy", await this.getCapabilities(taskOptions)) : "canonical";
|
|
4138
4135
|
if (this.config.webhookUrlTemplate && !options?.disableWebhook) {
|
|
4139
4136
|
const now = /* @__PURE__ */ new Date();
|
|
4140
4137
|
const year = now.getUTCFullYear();
|
|
@@ -4252,10 +4249,7 @@ Hint: this usually means agent_uri does not include the MCP endpoint path. The S
|
|
|
4252
4249
|
if (hasCreativeFormatData) {
|
|
4253
4250
|
this.validateBeforeCreativeCapabilityProbe("update_media_buy", params, taskOptions);
|
|
4254
4251
|
}
|
|
4255
|
-
const wireMode = hasCreativeFormatData ? this.resolveCreativeFormatWireMode(
|
|
4256
|
-
"update_media_buy",
|
|
4257
|
-
await this.getCapabilities({ signal: taskOptions.signal, transport: taskOptions.transport })
|
|
4258
|
-
) : "canonical";
|
|
4252
|
+
const wireMode = hasCreativeFormatData ? this.resolveCreativeFormatWireMode("update_media_buy", await this.getCapabilities(taskOptions)) : "canonical";
|
|
4259
4253
|
const result = await this.executeAndHandle(
|
|
4260
4254
|
"update_media_buy",
|
|
4261
4255
|
"onUpdateMediaBuyStatusChange",
|
|
@@ -4337,10 +4331,7 @@ Hint: this usually means agent_uri does not include the MCP endpoint path. The S
|
|
|
4337
4331
|
projectionCatalogs ?? this.config.projectionCatalogs
|
|
4338
4332
|
);
|
|
4339
4333
|
this.validateBeforeCreativeCapabilityProbe("sync_creatives", params, taskOptions);
|
|
4340
|
-
const wireMode = this.resolveCreativeFormatWireMode(
|
|
4341
|
-
"sync_creatives",
|
|
4342
|
-
await this.getCapabilities({ signal: taskOptions.signal, transport: taskOptions.transport })
|
|
4343
|
-
);
|
|
4334
|
+
const wireMode = this.resolveCreativeFormatWireMode("sync_creatives", await this.getCapabilities(taskOptions));
|
|
4344
4335
|
const configuredSelectorContainers = [
|
|
4345
4336
|
...creativeFormatProjection?.selectorContainers ?? []
|
|
4346
4337
|
];
|
|
@@ -5763,7 +5754,22 @@ Hint: this usually means agent_uri does not include the MCP endpoint path. The S
|
|
|
5763
5754
|
if (hasCapabilitiesTool) {
|
|
5764
5755
|
try {
|
|
5765
5756
|
const agent = await this.ensureEndpointDiscovered(options);
|
|
5766
|
-
const
|
|
5757
|
+
const callerOptions = options;
|
|
5758
|
+
const probeOptions = {
|
|
5759
|
+
...options?.signal !== void 0 && { signal: options.signal },
|
|
5760
|
+
...options?.transport !== void 0 && { transport: options.transport },
|
|
5761
|
+
...callerOptions?.disableWebhook !== void 0 && { disableWebhook: callerOptions.disableWebhook },
|
|
5762
|
+
...callerOptions?.delegatedOperatorAuthorization !== void 0 && {
|
|
5763
|
+
delegatedOperatorAuthorization: { ...callerOptions.delegatedOperatorAuthorization }
|
|
5764
|
+
}
|
|
5765
|
+
};
|
|
5766
|
+
const result = await this.executor.executeTask(
|
|
5767
|
+
agent,
|
|
5768
|
+
"get_adcp_capabilities",
|
|
5769
|
+
{},
|
|
5770
|
+
void 0,
|
|
5771
|
+
probeOptions
|
|
5772
|
+
);
|
|
5767
5773
|
throwIfAborted(options?.signal);
|
|
5768
5774
|
const requestTimeoutMs = resolveRequestTimeoutMs(
|
|
5769
5775
|
options?.transport?.requestTimeoutMs ?? this.config.transport?.requestTimeoutMs
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
"source_sha": "4e553ad955f83b49c7d221ab5c3ff78237ad02e3",
|
|
5
5
|
"source_tarball_sha256": "580656d6466ef9f0d1119985e6726c2efea718dc671e2ad30957fcb2fd54af0f",
|
|
6
6
|
"upstream_adcp_version": "2.5.3",
|
|
7
|
-
"synced_at": "2026-09-
|
|
7
|
+
"synced_at": "2026-09-09T11:59:36.565Z"
|
|
8
8
|
}
|
|
@@ -197,7 +197,7 @@ export interface UpstreamTrafficQueryResult {
|
|
|
197
197
|
*/
|
|
198
198
|
export declare function runValidations(validations: StoryboardValidation[], context: ValidationContext): ValidationResult[];
|
|
199
199
|
/** Capability semver emitted in run summaries and used for advisory expiry. */
|
|
200
|
-
export declare const RUNNER_CAPABILITY_VERSION = "14.0.0-rc.
|
|
200
|
+
export declare const RUNNER_CAPABILITY_VERSION = "14.0.0-rc.35";
|
|
201
201
|
/** True when a failed validation contributes to the owning step's grade. */
|
|
202
202
|
export declare function validationFailsStep(result: ValidationResult): boolean;
|
|
203
203
|
/**
|
|
@@ -197,7 +197,7 @@ export interface UpstreamTrafficQueryResult {
|
|
|
197
197
|
*/
|
|
198
198
|
export declare function runValidations(validations: StoryboardValidation[], context: ValidationContext): ValidationResult[];
|
|
199
199
|
/** Capability semver emitted in run summaries and used for advisory expiry. */
|
|
200
|
-
export declare const RUNNER_CAPABILITY_VERSION = "14.0.0-rc.
|
|
200
|
+
export declare const RUNNER_CAPABILITY_VERSION = "14.0.0-rc.35";
|
|
201
201
|
/** True when a failed validation contributes to the owning step's grade. */
|
|
202
202
|
export declare function validationFailsStep(result: ValidationResult): boolean;
|
|
203
203
|
/**
|
package/dist/lib/version.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AdCP SDK library version
|
|
3
3
|
*/
|
|
4
|
-
export declare const LIBRARY_VERSION = "14.0.0-rc.
|
|
4
|
+
export declare const LIBRARY_VERSION = "14.0.0-rc.35";
|
|
5
5
|
/**
|
|
6
6
|
* AdCP specification version this library is built for
|
|
7
7
|
*/
|
|
@@ -33,10 +33,10 @@ export type AdcpVersion = (typeof COMPATIBLE_ADCP_VERSIONS)[number];
|
|
|
33
33
|
* Full version information
|
|
34
34
|
*/
|
|
35
35
|
export declare const VERSION_INFO: {
|
|
36
|
-
readonly library: "14.0.0-rc.
|
|
36
|
+
readonly library: "14.0.0-rc.35";
|
|
37
37
|
readonly adcp: "3.2.0-rc.1";
|
|
38
38
|
readonly compatibleVersions: readonly ["v2.5", "v2.6", "v3", "3.0.0-beta.1", "3.0-beta.1", "3.0-beta", "3.0.0-beta.3", "3.0-beta.3", "3.0.0", "3.0", "3.0.1", "3.0.2", "3.0.3", "3.0.4", "3.0.5", "3.0.6", "3.0.7", "3.0.8", "3.0.9", "3.0.10", "3.0.11", "3.0.12", "3.0.13", "3.0.14", "3.0.15", "3.0.16", "3.0.17", "3.0.18", "3.0.19", "3.0.20", "3.0.21", "3.0.22", "3.0.23", "3.0.24", "3.0.25", "3.1.0", "3.1", "3.1.1", "3.1.2", "3.1.3", "3.1.4", "3.1.5", "3.1.6", "3.1.7", "3.1.8", "3.1.9", "3.1.10", "3.1.11", "3.1.12", "3.1.13", "3.1.14", "3.1.15", "3.1.16", "3.1.17", "3.1.18", "3.2.0-rc.1", "3.2-rc.1"];
|
|
39
|
-
readonly generatedAt: "2026-09-
|
|
39
|
+
readonly generatedAt: "2026-09-09T11:42:43.056Z";
|
|
40
40
|
};
|
|
41
41
|
/**
|
|
42
42
|
* Get the AdCP specification version this library is built for
|
package/dist/lib/version.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AdCP SDK library version
|
|
3
3
|
*/
|
|
4
|
-
export declare const LIBRARY_VERSION = "14.0.0-rc.
|
|
4
|
+
export declare const LIBRARY_VERSION = "14.0.0-rc.35";
|
|
5
5
|
/**
|
|
6
6
|
* AdCP specification version this library is built for
|
|
7
7
|
*/
|
|
@@ -33,10 +33,10 @@ export type AdcpVersion = (typeof COMPATIBLE_ADCP_VERSIONS)[number];
|
|
|
33
33
|
* Full version information
|
|
34
34
|
*/
|
|
35
35
|
export declare const VERSION_INFO: {
|
|
36
|
-
readonly library: "14.0.0-rc.
|
|
36
|
+
readonly library: "14.0.0-rc.35";
|
|
37
37
|
readonly adcp: "3.2.0-rc.1";
|
|
38
38
|
readonly compatibleVersions: readonly ["v2.5", "v2.6", "v3", "3.0.0-beta.1", "3.0-beta.1", "3.0-beta", "3.0.0-beta.3", "3.0-beta.3", "3.0.0", "3.0", "3.0.1", "3.0.2", "3.0.3", "3.0.4", "3.0.5", "3.0.6", "3.0.7", "3.0.8", "3.0.9", "3.0.10", "3.0.11", "3.0.12", "3.0.13", "3.0.14", "3.0.15", "3.0.16", "3.0.17", "3.0.18", "3.0.19", "3.0.20", "3.0.21", "3.0.22", "3.0.23", "3.0.24", "3.0.25", "3.1.0", "3.1", "3.1.1", "3.1.2", "3.1.3", "3.1.4", "3.1.5", "3.1.6", "3.1.7", "3.1.8", "3.1.9", "3.1.10", "3.1.11", "3.1.12", "3.1.13", "3.1.14", "3.1.15", "3.1.16", "3.1.17", "3.1.18", "3.2.0-rc.1", "3.2-rc.1"];
|
|
39
|
-
readonly generatedAt: "2026-09-
|
|
39
|
+
readonly generatedAt: "2026-09-09T11:42:43.056Z";
|
|
40
40
|
};
|
|
41
41
|
/**
|
|
42
42
|
* Get the AdCP specification version this library is built for
|
package/dist/lib/version.js
CHANGED
|
@@ -31,7 +31,7 @@ __export(version_exports, {
|
|
|
31
31
|
toReleasePrecisionVersion: () => toReleasePrecisionVersion
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(version_exports);
|
|
34
|
-
const LIBRARY_VERSION = "14.0.0-rc.
|
|
34
|
+
const LIBRARY_VERSION = "14.0.0-rc.35";
|
|
35
35
|
const ADCP_VERSION = "3.2.0-rc.1";
|
|
36
36
|
const ADCP_MAJOR_VERSION = 3;
|
|
37
37
|
const COMPATIBLE_ADCP_VERSIONS = [
|
|
@@ -94,10 +94,10 @@ const COMPATIBLE_ADCP_VERSIONS = [
|
|
|
94
94
|
"3.2-rc.1"
|
|
95
95
|
];
|
|
96
96
|
const VERSION_INFO = {
|
|
97
|
-
library: "14.0.0-rc.
|
|
97
|
+
library: "14.0.0-rc.35",
|
|
98
98
|
adcp: "3.2.0-rc.1",
|
|
99
99
|
compatibleVersions: COMPATIBLE_ADCP_VERSIONS,
|
|
100
|
-
generatedAt: "2026-09-
|
|
100
|
+
generatedAt: "2026-09-09T11:42:43.056Z"
|
|
101
101
|
};
|
|
102
102
|
function getAdcpVersion() {
|
|
103
103
|
return ADCP_VERSION;
|
package/dist/lib/version.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const LIBRARY_VERSION = "14.0.0-rc.
|
|
1
|
+
const LIBRARY_VERSION = "14.0.0-rc.35";
|
|
2
2
|
const ADCP_VERSION = "3.2.0-rc.1";
|
|
3
3
|
const ADCP_MAJOR_VERSION = 3;
|
|
4
4
|
const COMPATIBLE_ADCP_VERSIONS = [
|
|
@@ -61,10 +61,10 @@ const COMPATIBLE_ADCP_VERSIONS = [
|
|
|
61
61
|
"3.2-rc.1"
|
|
62
62
|
];
|
|
63
63
|
const VERSION_INFO = {
|
|
64
|
-
library: "14.0.0-rc.
|
|
64
|
+
library: "14.0.0-rc.35",
|
|
65
65
|
adcp: "3.2.0-rc.1",
|
|
66
66
|
compatibleVersions: COMPATIBLE_ADCP_VERSIONS,
|
|
67
|
-
generatedAt: "2026-09-
|
|
67
|
+
generatedAt: "2026-09-09T11:42:43.056Z"
|
|
68
68
|
};
|
|
69
69
|
function getAdcpVersion() {
|
|
70
70
|
return ADCP_VERSION;
|
package/docs/TYPE-SUMMARY.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# AdCP Type Summary
|
|
2
2
|
|
|
3
|
-
> Generated at: 2026-09-
|
|
4
|
-
> @adcp/sdk v14.0.0-rc.
|
|
3
|
+
> Generated at: 2026-09-09
|
|
4
|
+
> @adcp/sdk v14.0.0-rc.35
|
|
5
5
|
|
|
6
6
|
Curated reference of the types that matter for using the AdCP client. For full generated types see `src/lib/types/tools.generated.ts` and `src/lib/types/core.generated.ts`.
|
|
7
7
|
|
|
@@ -227,6 +227,12 @@ nightly job to broaden coverage.
|
|
|
227
227
|
|
|
228
228
|
- **Storyboards** — narrative flow, multi-step sequences, async task
|
|
229
229
|
lifecycle. Use `@adcp/sdk/testing` storyboard runners.
|
|
230
|
+
- **Buyer SDK configuration tests** — conformance grades the remote agent,
|
|
231
|
+
not interactions among client options. The storyboard runner also discovers
|
|
232
|
+
and caches the agent profile before functional steps, so it does not exercise
|
|
233
|
+
a cold client's lazy preflight path. Cover combinations such as capability
|
|
234
|
+
guards, webhook templates, durable registration stores, signing, and
|
|
235
|
+
caller-scoped cancellation in SDK integration tests.
|
|
230
236
|
- **LLM red-team runner** — `adcp#2630`. Multi-step conversational
|
|
231
237
|
fuzzing driven by an LLM.
|
|
232
238
|
- **Semantic validation** — budget math, referential integrity across
|
package/docs/llms.txt
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Ad Context Protocol (AdCP)
|
|
2
2
|
|
|
3
|
-
> Generated at: 2026-09-
|
|
4
|
-
> Library: @adcp/sdk v14.0.0-rc.
|
|
3
|
+
> Generated at: 2026-09-09
|
|
4
|
+
> Library: @adcp/sdk v14.0.0-rc.35
|
|
5
5
|
> AdCP major version: 3
|
|
6
6
|
> Canonical URL: https://adcontextprotocol.github.io/adcp-client/llms.txt
|
|
7
7
|
> Note: the `Library` stamp reflects the package.json version at doc-generation time. The narrative below describes the surface that lands on the next-published minor — including any 6.7 helpers documented here ahead of the release tag.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adcp/sdk",
|
|
3
|
-
"version": "14.0.0-rc.
|
|
3
|
+
"version": "14.0.0-rc.35",
|
|
4
4
|
"description": "AdCP SDK — client, server, and compliance harnesses for the AdContext Protocol (MCP + A2A)",
|
|
5
5
|
"workspaces": [
|
|
6
6
|
".",
|
|
@@ -700,7 +700,7 @@
|
|
|
700
700
|
"js-yaml": "^5.2.2"
|
|
701
701
|
},
|
|
702
702
|
"@changesets/parse": {
|
|
703
|
-
"js-yaml": "^3.
|
|
703
|
+
"js-yaml": "^3.15.2"
|
|
704
704
|
},
|
|
705
705
|
"minimatch": "^10.2.1"
|
|
706
706
|
},
|