@adcp/sdk 14.0.0-rc.45 → 14.0.0-rc.46

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.
@@ -222,12 +222,16 @@ function sanitizeResponseHeaders(headers) {
222
222
  }
223
223
  function headerEntries(headers) {
224
224
  if (!headers) return [];
225
- if (headers instanceof Headers) {
225
+ if (Array.isArray(headers)) return headers.map(([key, value]) => [key, String(value)]);
226
+ const forEach = headers.forEach;
227
+ if (typeof forEach === "function") {
226
228
  const entries = [];
227
- headers.forEach((value, key) => entries.push([key, value]));
228
- return entries;
229
+ try {
230
+ forEach.call(headers, (value, key) => entries.push([String(key), String(value)]));
231
+ return entries;
232
+ } catch {
233
+ }
229
234
  }
230
- if (Array.isArray(headers)) return headers.map(([key, value]) => [key, value]);
231
235
  return Object.entries(headers).map(([key, value]) => [key, String(value)]);
232
236
  }
233
237
  function isSafeCorrelationHeader(lower) {
@@ -198,12 +198,16 @@ function sanitizeResponseHeaders(headers) {
198
198
  }
199
199
  function headerEntries(headers) {
200
200
  if (!headers) return [];
201
- if (headers instanceof Headers) {
201
+ if (Array.isArray(headers)) return headers.map(([key, value]) => [key, String(value)]);
202
+ const forEach = headers.forEach;
203
+ if (typeof forEach === "function") {
202
204
  const entries = [];
203
- headers.forEach((value, key) => entries.push([key, value]));
204
- return entries;
205
+ try {
206
+ forEach.call(headers, (value, key) => entries.push([String(key), String(value)]));
207
+ return entries;
208
+ } catch {
209
+ }
205
210
  }
206
- if (Array.isArray(headers)) return headers.map(([key, value]) => [key, value]);
207
211
  return Object.entries(headers).map(([key, value]) => [key, String(value)]);
208
212
  }
209
213
  function isSafeCorrelationHeader(lower) {
@@ -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-22T15:39:56.408Z"
7
+ "synced_at": "2026-09-22T19:09:10.936Z"
8
8
  }
@@ -448,8 +448,9 @@ function loadSpecialismDetail(slug, options = {}) {
448
448
  }
449
449
  const required = [];
450
450
  const unresolved = [];
451
+ const storyboardsById = new Map(listAllComplianceStoryboards(options).map((sb) => [sb.id, sb]));
451
452
  for (const ref of storyboard.requires_scenarios ?? []) {
452
- const sb = getComplianceStoryboardById(ref, options);
453
+ const sb = storyboardsById.get(ref);
453
454
  if (sb) required.push(sb);
454
455
  else unresolved.push(ref);
455
456
  }
@@ -413,8 +413,9 @@ function loadSpecialismDetail(slug, options = {}) {
413
413
  }
414
414
  const required = [];
415
415
  const unresolved = [];
416
+ const storyboardsById = new Map(listAllComplianceStoryboards(options).map((sb) => [sb.id, sb]));
416
417
  for (const ref of storyboard.requires_scenarios ?? []) {
417
- const sb = getComplianceStoryboardById(ref, options);
418
+ const sb = storyboardsById.get(ref);
418
419
  if (sb) required.push(sb);
419
420
  else unresolved.push(ref);
420
421
  }
@@ -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.45";
200
+ export declare const RUNNER_CAPABILITY_VERSION = "14.0.0-rc.46";
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.45";
200
+ export declare const RUNNER_CAPABILITY_VERSION = "14.0.0-rc.46";
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
  /**
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * AdCP SDK library version
3
3
  */
4
- export declare const LIBRARY_VERSION = "14.0.0-rc.45";
4
+ export declare const LIBRARY_VERSION = "14.0.0-rc.46";
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.45";
36
+ readonly library: "14.0.0-rc.46";
37
37
  readonly adcp: "3.2.0-rc.4";
38
38
  readonly compatibleVersions: readonly ["v2.5", "v2.6", "v3", "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.4", "3.2-rc.4"];
39
- readonly generatedAt: "2026-09-22T14:34:27.546Z";
39
+ readonly generatedAt: "2026-09-22T18:08:14.356Z";
40
40
  };
41
41
  /**
42
42
  * Get the AdCP specification version this library is built for
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * AdCP SDK library version
3
3
  */
4
- export declare const LIBRARY_VERSION = "14.0.0-rc.45";
4
+ export declare const LIBRARY_VERSION = "14.0.0-rc.46";
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.45";
36
+ readonly library: "14.0.0-rc.46";
37
37
  readonly adcp: "3.2.0-rc.4";
38
38
  readonly compatibleVersions: readonly ["v2.5", "v2.6", "v3", "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.4", "3.2-rc.4"];
39
- readonly generatedAt: "2026-09-22T14:34:27.546Z";
39
+ readonly generatedAt: "2026-09-22T18:08:14.356Z";
40
40
  };
41
41
  /**
42
42
  * Get the AdCP specification version this library is built for
@@ -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.45";
34
+ const LIBRARY_VERSION = "14.0.0-rc.46";
35
35
  const ADCP_VERSION = "3.2.0-rc.4";
36
36
  const ADCP_MAJOR_VERSION = 3;
37
37
  const COMPATIBLE_ADCP_VERSIONS = [
@@ -89,10 +89,10 @@ const COMPATIBLE_ADCP_VERSIONS = [
89
89
  "3.2-rc.4"
90
90
  ];
91
91
  const VERSION_INFO = {
92
- library: "14.0.0-rc.45",
92
+ library: "14.0.0-rc.46",
93
93
  adcp: "3.2.0-rc.4",
94
94
  compatibleVersions: COMPATIBLE_ADCP_VERSIONS,
95
- generatedAt: "2026-09-22T14:34:27.546Z"
95
+ generatedAt: "2026-09-22T18:08:14.356Z"
96
96
  };
97
97
  function getAdcpVersion() {
98
98
  return ADCP_VERSION;
@@ -1,4 +1,4 @@
1
- const LIBRARY_VERSION = "14.0.0-rc.45";
1
+ const LIBRARY_VERSION = "14.0.0-rc.46";
2
2
  const ADCP_VERSION = "3.2.0-rc.4";
3
3
  const ADCP_MAJOR_VERSION = 3;
4
4
  const COMPATIBLE_ADCP_VERSIONS = [
@@ -56,10 +56,10 @@ const COMPATIBLE_ADCP_VERSIONS = [
56
56
  "3.2-rc.4"
57
57
  ];
58
58
  const VERSION_INFO = {
59
- library: "14.0.0-rc.45",
59
+ library: "14.0.0-rc.46",
60
60
  adcp: "3.2.0-rc.4",
61
61
  compatibleVersions: COMPATIBLE_ADCP_VERSIONS,
62
- generatedAt: "2026-09-22T14:34:27.546Z"
62
+ generatedAt: "2026-09-22T18:08:14.356Z"
63
63
  };
64
64
  function getAdcpVersion() {
65
65
  return ADCP_VERSION;
@@ -1,7 +1,7 @@
1
1
  # AdCP Type Summary
2
2
 
3
3
  > Generated at: 2026-09-22
4
- > @adcp/sdk v14.0.0-rc.45
4
+ > @adcp/sdk v14.0.0-rc.46
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
 
package/docs/llms.txt CHANGED
@@ -1,7 +1,7 @@
1
1
  # Ad Context Protocol (AdCP)
2
2
 
3
3
  > Generated at: 2026-09-22
4
- > Library: @adcp/sdk v14.0.0-rc.45
4
+ > Library: @adcp/sdk v14.0.0-rc.46
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.
@@ -11,8 +11,8 @@ below as the publication/deployment gate.
11
11
 
12
12
  | Fact | Value |
13
13
  | --- | --- |
14
- | Exact npm package | `@adcp/sdk@14.0.0-rc.45` |
15
- | npm integrity | registry-derived after publication; run `npm view @adcp/sdk@14.0.0-rc.45 dist.integrity` |
14
+ | Exact npm package | `@adcp/sdk@14.0.0-rc.46` |
15
+ | npm integrity | registry-derived after publication; run `npm view @adcp/sdk@14.0.0-rc.46 dist.integrity` |
16
16
  | Node.js runtime | `^20.19.0 || >=22.12.0` |
17
17
  | Default AdCP wire release | `3.2.0-rc.4` |
18
18
  | Maintained wire releases | `v2.5`, `v2.6`, `v3`, `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.4`, `3.2-rc.4` |
@@ -21,8 +21,8 @@ below as the publication/deployment gate.
21
21
  Install exact production inputs rather than a moving prerelease range:
22
22
 
23
23
  ```bash
24
- npm install --save-exact '@adcp/sdk@14.0.0-rc.45'
25
- npm view '@adcp/sdk@14.0.0-rc.45' dist.integrity
24
+ npm install --save-exact '@adcp/sdk@14.0.0-rc.46'
25
+ npm view '@adcp/sdk@14.0.0-rc.46' dist.integrity
26
26
  ```
27
27
 
28
28
  ### Required and optional peers
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adcp/sdk",
3
- "version": "14.0.0-rc.45",
3
+ "version": "14.0.0-rc.46",
4
4
  "description": "AdCP SDK — client, server, and compliance harnesses for the AdContext Protocol (MCP + A2A)",
5
5
  "workspaces": [
6
6
  ".",