@adcp/sdk 13.0.0 → 13.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/bin/adcp.js +102 -38
  2. package/dist/lib/schemas-data/v2.5/_provenance.json +1 -1
  3. package/dist/lib/testing/compliance/comply.d.mts +3 -0
  4. package/dist/lib/testing/compliance/comply.d.ts +3 -0
  5. package/dist/lib/testing/compliance/comply.d.ts.map +1 -1
  6. package/dist/lib/testing/compliance/comply.js +5 -2
  7. package/dist/lib/testing/compliance/comply.js.map +1 -1
  8. package/dist/lib/testing/compliance/comply.mjs +5 -2
  9. package/dist/lib/testing/compliance/comply.mjs.map +1 -1
  10. package/dist/lib/testing/storyboard/compliance.d.ts.map +1 -1
  11. package/dist/lib/testing/storyboard/compliance.js +13 -4
  12. package/dist/lib/testing/storyboard/compliance.js.map +1 -1
  13. package/dist/lib/testing/storyboard/compliance.mjs +13 -4
  14. package/dist/lib/testing/storyboard/compliance.mjs.map +1 -1
  15. package/dist/lib/testing/storyboard/loader.d.ts.map +1 -1
  16. package/dist/lib/testing/storyboard/loader.js +5 -0
  17. package/dist/lib/testing/storyboard/loader.js.map +1 -1
  18. package/dist/lib/testing/storyboard/loader.mjs +5 -0
  19. package/dist/lib/testing/storyboard/loader.mjs.map +1 -1
  20. package/dist/lib/testing/storyboard/provenance.d.mts +3 -0
  21. package/dist/lib/testing/storyboard/provenance.d.ts +4 -0
  22. package/dist/lib/testing/storyboard/provenance.d.ts.map +1 -0
  23. package/dist/lib/testing/storyboard/provenance.js +38 -0
  24. package/dist/lib/testing/storyboard/provenance.js.map +1 -0
  25. package/dist/lib/testing/storyboard/provenance.mjs +13 -0
  26. package/dist/lib/testing/storyboard/provenance.mjs.map +1 -0
  27. package/dist/lib/testing/storyboard/runner.d.ts.map +1 -1
  28. package/dist/lib/testing/storyboard/runner.js +42 -5
  29. package/dist/lib/testing/storyboard/runner.js.map +1 -1
  30. package/dist/lib/testing/storyboard/runner.mjs +43 -6
  31. package/dist/lib/testing/storyboard/runner.mjs.map +1 -1
  32. package/dist/lib/testing/storyboard/test-kit.d.mts +35 -0
  33. package/dist/lib/testing/storyboard/test-kit.d.ts +35 -0
  34. package/dist/lib/testing/storyboard/test-kit.d.ts.map +1 -1
  35. package/dist/lib/testing/storyboard/test-kit.js +101 -6
  36. package/dist/lib/testing/storyboard/test-kit.js.map +1 -1
  37. package/dist/lib/testing/storyboard/test-kit.mjs +100 -6
  38. package/dist/lib/testing/storyboard/test-kit.mjs.map +1 -1
  39. package/dist/lib/testing/storyboard/types.d.mts +2 -0
  40. package/dist/lib/testing/storyboard/types.d.ts +2 -0
  41. package/dist/lib/testing/storyboard/types.d.ts.map +1 -1
  42. package/dist/lib/testing/storyboard/types.js.map +1 -1
  43. package/dist/lib/testing/storyboard/types.mjs.map +1 -1
  44. package/dist/lib/testing/storyboard/validations.d.mts +1 -1
  45. package/dist/lib/testing/storyboard/validations.d.ts +1 -1
  46. package/dist/lib/version.d.mts +3 -3
  47. package/dist/lib/version.d.ts +3 -3
  48. package/dist/lib/version.js +3 -3
  49. package/dist/lib/version.js.map +1 -1
  50. package/dist/lib/version.mjs +3 -3
  51. package/dist/lib/version.mjs.map +1 -1
  52. package/package.json +1 -1
package/bin/adcp.js CHANGED
@@ -1440,13 +1440,13 @@ function loadTestKitFile(testKitPath) {
1440
1440
  try {
1441
1441
  raw = fs.readFileSync(resolved, 'utf8');
1442
1442
  } catch (err) {
1443
- throw new Error(`failed to read test-kit at ${resolved}: ${err.message}`);
1443
+ throw new Error(`failed to read test-kit at ${resolved} (${err?.code || 'filesystem error'}).`);
1444
1444
  }
1445
1445
  try {
1446
1446
  const { parse } = require('yaml');
1447
1447
  return parse(raw);
1448
- } catch (err) {
1449
- throw new Error(`failed to parse ${resolved} as YAML: ${err.message}`);
1448
+ } catch {
1449
+ throw new Error(`failed to parse test-kit at ${resolved} as YAML.`);
1450
1450
  }
1451
1451
  }
1452
1452
 
@@ -1972,14 +1972,18 @@ RUN OPTIONS (full assessment):
1972
1972
  --test-kit points into a compliance cache, its version is
1973
1973
  selected automatically; an explicit mismatch is rejected.
1974
1974
  --compliance-dir PATH
1975
- Use a specific compliance cache directory
1975
+ Use a specific compliance cache directory. For --file
1976
+ storyboards, this explicitly authorizes a cache-relative
1977
+ prerequisites.test_kit. --compliance-version alone does
1978
+ not authorize credential loading; pass --test-kit instead.
1976
1979
  --schema-root PATH Use a specific schema bundle/root for validation.
1977
1980
  --validator-source is accepted as an alias.
1978
1981
  --hosted-stable-line-alias VERSION
1979
1982
  Hosted badge mode: allow a stable line (e.g. 3.1)
1980
1983
  to resolve against a prerelease compliance cache.
1981
1984
  --file PATH Run an ad-hoc storyboard YAML (spec evolution)
1982
- --test-kit PATH Load test-kit YAML. If an ancestor index.json declares
1985
+ --test-kit PATH Load test-kit YAML for either run or step, overriding any
1986
+ cache-declared kit. If an ancestor index.json declares
1983
1987
  adcp_version or published_version, the same compliance
1984
1988
  line is required for storyboard resolution.
1985
1989
  --timeout SECONDS Soft budget in seconds: stop starting new storyboards
@@ -2622,6 +2626,27 @@ function enforceStrictFlags(args, removedFound) {
2622
2626
  }
2623
2627
  }
2624
2628
 
2629
+ async function resolveFileComplianceRunOptions(args, opts) {
2630
+ let adcpVersion = opts.complianceVersion;
2631
+ let complianceDir = opts.complianceDir;
2632
+ let schemaRoot = opts.schemaRoot;
2633
+ if (opts.complianceDir || opts.complianceVersion || opts.schemaRoot) {
2634
+ const { loadComplianceIndex, getExternalSchemaRootForCompliance } =
2635
+ await import('../dist/lib/testing/storyboard/index.js');
2636
+ const resolveOptions = parseComplianceSelection(args).resolveOptions;
2637
+ const index = loadComplianceIndex(resolveOptions);
2638
+ if (opts.complianceVersion && index.adcp_version !== opts.complianceVersion) {
2639
+ throw new Error(
2640
+ `--compliance-version ${opts.complianceVersion} selected a compliance cache that declares ` +
2641
+ `AdCP ${index.adcp_version}. Check --compliance-dir or ADCP_COMPLIANCE_DIR and select a matching cache.`
2642
+ );
2643
+ }
2644
+ adcpVersion = adcpVersion || index.adcp_version;
2645
+ schemaRoot = schemaRoot || getExternalSchemaRootForCompliance(resolveOptions, index.adcp_version);
2646
+ }
2647
+ return { adcpVersion, complianceDir, schemaRoot };
2648
+ }
2649
+
2625
2650
  async function handleStoryboardRun(args) {
2626
2651
  let opts = parseAgentOptions(args);
2627
2652
  let {
@@ -2726,8 +2751,7 @@ async function handleStoryboardRun(args) {
2726
2751
  return;
2727
2752
  }
2728
2753
 
2729
- const { loadStoryboardFile, runStoryboard, loadComplianceIndex, getExternalSchemaRootForCompliance } =
2730
- await import('../dist/lib/testing/storyboard/index.js');
2754
+ const { loadStoryboardFile, runStoryboard } = await import('../dist/lib/testing/storyboard/index.js');
2731
2755
  let storyboard;
2732
2756
  try {
2733
2757
  storyboard = loadStoryboardFile(filePath);
@@ -2735,18 +2759,12 @@ async function handleStoryboardRun(args) {
2735
2759
  console.error(`Failed to load storyboard from ${filePath}: ${err.message}`);
2736
2760
  process.exit(2);
2737
2761
  }
2738
- let fileComplianceVersion = opts.complianceVersion;
2739
- let fileSchemaRoot = opts.schemaRoot;
2740
- if (opts.complianceDir || opts.complianceVersion || opts.schemaRoot) {
2741
- try {
2742
- const resolveOptions = parseComplianceSelection(args).resolveOptions;
2743
- const index = loadComplianceIndex(resolveOptions);
2744
- fileComplianceVersion = fileComplianceVersion || index.adcp_version;
2745
- fileSchemaRoot = fileSchemaRoot || getExternalSchemaRootForCompliance(resolveOptions, index.adcp_version);
2746
- } catch (err) {
2747
- console.error(`ERROR: ${err.message}`);
2748
- process.exit(2);
2749
- }
2762
+ let fileComplianceOptions;
2763
+ try {
2764
+ fileComplianceOptions = await resolveFileComplianceRunOptions(args, opts);
2765
+ } catch (err) {
2766
+ console.error(`ERROR: ${err.message}`);
2767
+ process.exit(2);
2750
2768
  }
2751
2769
 
2752
2770
  const {
@@ -2820,8 +2838,6 @@ async function handleStoryboardRun(args) {
2820
2838
  ? await resolveWebhookReceiverOptions(args, { jsonOutput })
2821
2839
  : webhookReceiverBase;
2822
2840
 
2823
- const loadedTestKit = opts.loadedTestKit ?? null;
2824
-
2825
2841
  const options = {
2826
2842
  protocol,
2827
2843
  ...buildResolvedAuthOption({
@@ -2832,12 +2848,13 @@ async function handleStoryboardRun(args) {
2832
2848
  resolvedOauthClientCredentials,
2833
2849
  }),
2834
2850
  ...(webhookReceiverOpts ?? {}),
2835
- ...(fileComplianceVersion && { adcpVersion: fileComplianceVersion }),
2836
- ...(fileSchemaRoot && { schemaRoot: fileSchemaRoot }),
2851
+ ...(fileComplianceOptions.complianceDir && { complianceDir: fileComplianceOptions.complianceDir }),
2852
+ ...(fileComplianceOptions.adcpVersion && { adcpVersion: fileComplianceOptions.adcpVersion }),
2853
+ ...(fileComplianceOptions.schemaRoot && { schemaRoot: fileComplianceOptions.schemaRoot }),
2837
2854
  ...(opts.noSandbox && { sandbox: false, disable_sandbox: true }),
2838
2855
  ...(opts.assertsSeededState && { assertsSeededState: true }),
2839
2856
  ...(mergedRunHeaders && { headers: mergedRunHeaders }),
2840
- ...(loadedTestKit && { test_kit: loadedTestKit }),
2857
+ ...(opts.loadedTestKit !== undefined && { test_kit: opts.loadedTestKit }),
2841
2858
  };
2842
2859
 
2843
2860
  const restoreLogs = jsonOutput ? captureStdoutLogs() : null;
@@ -3670,14 +3687,18 @@ async function handleLocalAgentStoryboardRun(modulePath, args, opts) {
3670
3687
  createAgent,
3671
3688
  storyboards: storyboardsSpec,
3672
3689
  compliance: resolveOptions,
3673
- ...(opts.complianceVersion || opts.schemaRoot || opts.noSandbox || opts.assertsSeededState || opts.loadedTestKit
3690
+ ...(opts.complianceVersion ||
3691
+ opts.schemaRoot ||
3692
+ opts.noSandbox ||
3693
+ opts.assertsSeededState ||
3694
+ opts.loadedTestKit !== undefined
3674
3695
  ? {
3675
3696
  runStoryboardOptions: {
3676
3697
  ...(opts.complianceVersion && !opts.complianceDir && { adcpVersion: opts.complianceVersion }),
3677
3698
  ...(opts.schemaRoot && { schemaRoot: opts.schemaRoot }),
3678
3699
  ...(opts.noSandbox && { sandbox: false, disable_sandbox: true }),
3679
3700
  ...(opts.assertsSeededState && { assertsSeededState: true }),
3680
- ...(opts.loadedTestKit && { test_kit: opts.loadedTestKit }),
3701
+ ...(opts.loadedTestKit !== undefined && { test_kit: opts.loadedTestKit }),
3681
3702
  },
3682
3703
  }
3683
3704
  : {}),
@@ -3962,6 +3983,21 @@ async function handleMultiInstanceStoryboardRun(args, opts, urls) {
3962
3983
  }
3963
3984
  }
3964
3985
 
3986
+ let runAdcpVersion = opts.complianceVersion && !opts.complianceDir ? opts.complianceVersion : undefined;
3987
+ let runComplianceDir = opts.complianceDir;
3988
+ let runSchemaRoot = opts.schemaRoot;
3989
+ if (filePath) {
3990
+ try {
3991
+ const selected = await resolveFileComplianceRunOptions(args, opts);
3992
+ runAdcpVersion = selected.adcpVersion;
3993
+ runComplianceDir = selected.complianceDir;
3994
+ runSchemaRoot = selected.schemaRoot;
3995
+ } catch (err) {
3996
+ console.error(`ERROR: ${err.message}`);
3997
+ process.exit(2);
3998
+ }
3999
+ }
4000
+
3965
4001
  // Auto-detect protocol from the first URL. Multi-instance deployments
3966
4002
  // share a codebase across replicas, so one probe is representative.
3967
4003
  let protocol = protocolFlag;
@@ -4090,11 +4126,12 @@ async function handleMultiInstanceStoryboardRun(args, opts, urls) {
4090
4126
  ...(opts.allowHttp && { allow_http: true }),
4091
4127
  multi_instance_strategy: strategy,
4092
4128
  ...(webhookReceiverOpts ?? {}),
4093
- ...(opts.complianceVersion && !opts.complianceDir && { adcpVersion: opts.complianceVersion }),
4094
- ...(opts.schemaRoot && { schemaRoot: opts.schemaRoot }),
4129
+ ...(runComplianceDir && { complianceDir: runComplianceDir }),
4130
+ ...(runAdcpVersion && { adcpVersion: runAdcpVersion }),
4131
+ ...(runSchemaRoot && { schemaRoot: runSchemaRoot }),
4095
4132
  ...(opts.noSandbox && { sandbox: false, disable_sandbox: true }),
4096
4133
  ...(opts.assertsSeededState && { assertsSeededState: true }),
4097
- ...(opts.loadedTestKit && { test_kit: opts.loadedTestKit }),
4134
+ ...(opts.loadedTestKit !== undefined && { test_kit: opts.loadedTestKit }),
4098
4135
  };
4099
4136
 
4100
4137
  const restoreLogs = jsonOutput ? captureStdoutLogs() : null;
@@ -4269,6 +4306,21 @@ async function handleAgentsRoutedStoryboardRun(args, opts, routing) {
4269
4306
  }
4270
4307
  }
4271
4308
 
4309
+ let runAdcpVersion = opts.complianceVersion && !opts.complianceDir ? opts.complianceVersion : undefined;
4310
+ let runComplianceDir = opts.complianceDir;
4311
+ let runSchemaRoot = opts.schemaRoot;
4312
+ if (filePath) {
4313
+ try {
4314
+ const selected = await resolveFileComplianceRunOptions(args, opts);
4315
+ runAdcpVersion = selected.adcpVersion;
4316
+ runComplianceDir = selected.complianceDir;
4317
+ runSchemaRoot = selected.schemaRoot;
4318
+ } catch (err) {
4319
+ console.error(`ERROR: ${err.message}`);
4320
+ process.exit(2);
4321
+ }
4322
+ }
4323
+
4272
4324
  // Detect protocol from the first agent. Multi-agent topologies typically
4273
4325
  // share the same transport (the prod test-agent uses MCP across all 6
4274
4326
  // tenants), so one probe is representative. Per-agent transport overrides
@@ -4354,11 +4406,12 @@ async function handleAgentsRoutedStoryboardRun(args, opts, routing) {
4354
4406
  agents: routing.agents,
4355
4407
  ...(routing.default_agent ? { default_agent: routing.default_agent } : {}),
4356
4408
  ...(webhookReceiverOpts ?? {}),
4357
- ...(opts.complianceVersion && !opts.complianceDir && { adcpVersion: opts.complianceVersion }),
4358
- ...(opts.schemaRoot && { schemaRoot: opts.schemaRoot }),
4409
+ ...(runComplianceDir && { complianceDir: runComplianceDir }),
4410
+ ...(runAdcpVersion && { adcpVersion: runAdcpVersion }),
4411
+ ...(runSchemaRoot && { schemaRoot: runSchemaRoot }),
4359
4412
  ...(opts.noSandbox && { sandbox: false, disable_sandbox: true }),
4360
4413
  ...(opts.assertsSeededState && { assertsSeededState: true }),
4361
- ...(opts.loadedTestKit && { test_kit: opts.loadedTestKit }),
4414
+ ...(opts.loadedTestKit !== undefined && { test_kit: opts.loadedTestKit }),
4362
4415
  };
4363
4416
 
4364
4417
  const restoreLogs = jsonOutput ? captureStdoutLogs() : null;
@@ -4550,8 +4603,6 @@ async function runFullAssessment(agentArg, rawArgs, parsedOpts) {
4550
4603
 
4551
4604
  await loadInvariantModules(rawArgs);
4552
4605
 
4553
- const loadedTestKit = opts.loadedTestKit ?? null;
4554
-
4555
4606
  const testOptions = {
4556
4607
  protocol,
4557
4608
  brief: opts.brief,
@@ -4565,7 +4616,8 @@ async function runFullAssessment(agentArg, rawArgs, parsedOpts) {
4565
4616
  ...(opts.noSandbox && { sandbox: false, disable_sandbox: true }),
4566
4617
  ...(opts.assertsSeededState && { assertsSeededState: true }),
4567
4618
  ...(mergedAssessmentHeaders && { headers: mergedAssessmentHeaders }),
4568
- ...(loadedTestKit && { test_kit: loadedTestKit }),
4619
+ ...(opts.loadedTestKit !== undefined && { test_kit: opts.loadedTestKit }),
4620
+ ...(opts.testKitPath && { testKitPath: path.resolve(opts.testKitPath) }),
4569
4621
  ...(opts.complianceVersion && { version: opts.complianceVersion }),
4570
4622
  ...(opts.complianceDir && { complianceDir: opts.complianceDir }),
4571
4623
  ...(opts.schemaRoot && { schemaRoot: opts.schemaRoot }),
@@ -4709,12 +4761,22 @@ async function runFullAssessment(agentArg, rawArgs, parsedOpts) {
4709
4761
 
4710
4762
  async function handleStoryboardStepCmd(args) {
4711
4763
  const { getComplianceStoryboardById, runStoryboardStep } = await import('../dist/lib/testing/storyboard/index.js');
4712
- const { authToken, authScheme, protocolFlag, jsonOutput, positionalArgs, complianceVersion, schemaRoot } =
4713
- parseAgentOptions(args);
4714
- const { resolveOptions } = parseComplianceSelection(args);
4764
+ let opts = parseAgentOptions(args);
4765
+ let { authToken, authScheme, protocolFlag, jsonOutput, positionalArgs, complianceVersion, schemaRoot } = opts;
4715
4766
 
4716
4767
  enforceStrictFlags(args, warnRemovedFlags(args));
4717
4768
 
4769
+ try {
4770
+ const prepared = prepareTestKitComplianceSelection(args, opts);
4771
+ args = prepared.args;
4772
+ opts = prepared.opts;
4773
+ } catch (err) {
4774
+ exitTestKitSelectionError(err, jsonOutput);
4775
+ }
4776
+
4777
+ ({ authToken, authScheme, protocolFlag, jsonOutput, positionalArgs, complianceVersion, schemaRoot } = opts);
4778
+ const { resolveOptions } = parseComplianceSelection(args);
4779
+
4718
4780
  const agentArg = positionalArgs[0];
4719
4781
  const storyboardId = positionalArgs[1];
4720
4782
  const stepId = positionalArgs[2];
@@ -4765,7 +4827,9 @@ async function handleStoryboardStepCmd(args) {
4765
4827
  ...(contributions && { contributions }),
4766
4828
  request,
4767
4829
  ...(complianceVersion && { adcpVersion: complianceVersion }),
4830
+ ...(opts.complianceDir && { complianceDir: opts.complianceDir }),
4768
4831
  ...(schemaRoot && { schemaRoot }),
4832
+ ...(opts.loadedTestKit !== undefined && { test_kit: opts.loadedTestKit }),
4769
4833
  ...buildResolvedAuthOption({
4770
4834
  resolvedAuth,
4771
4835
  resolvedAuthScheme,
@@ -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-08-16T22:27:20.520Z"
7
+ "synced_at": "2026-09-02T12:36:49.079Z"
8
8
  }
@@ -73,6 +73,8 @@ export interface ComplyOptions extends TestOptions {
73
73
  complianceDir?: string;
74
74
  /** Explicit schema bundle root to pair with the selected compliance cache. */
75
75
  schemaRoot?: string;
76
+ /** CLI source path for an explicit test kit, preserved in generated fix commands. */
77
+ testKitPath?: string;
76
78
  /** Scoped hosted stable-line alias for prerelease-backed compliance caches. */
77
79
  hostedStableLineAlias?: string;
78
80
  }
@@ -112,6 +114,7 @@ export declare function extractFailures(results: StoryboardResult[], storyboards
112
114
  complianceDir?: string;
113
115
  schemaRoot?: string;
114
116
  hostedStableLineAlias?: string;
117
+ testKitPath?: string;
115
118
  }): ComplianceFailure[];
116
119
  /**
117
120
  * Detect whether a capability-discovery failure is an auth rejection.
@@ -73,6 +73,8 @@ export interface ComplyOptions extends TestOptions {
73
73
  complianceDir?: string;
74
74
  /** Explicit schema bundle root to pair with the selected compliance cache. */
75
75
  schemaRoot?: string;
76
+ /** CLI source path for an explicit test kit, preserved in generated fix commands. */
77
+ testKitPath?: string;
76
78
  /** Scoped hosted stable-line alias for prerelease-backed compliance caches. */
77
79
  hostedStableLineAlias?: string;
78
80
  }
@@ -112,6 +114,7 @@ export declare function extractFailures(results: StoryboardResult[], storyboards
112
114
  complianceDir?: string;
113
115
  schemaRoot?: string;
114
116
  hostedStableLineAlias?: string;
117
+ testKitPath?: string;
115
118
  }): ComplianceFailure[];
116
119
  /**
117
120
  * Detect whether a capability-discovery failure is an auth rejection.
@@ -1 +1 @@
1
- {"version":3,"file":"comply.d.ts","sourceRoot":"","sources":["../../../../src/lib/testing/compliance/comply.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,YAAY,EAAkB,MAAM,UAAU,CAAC;AAuBtF,OAAO,KAAK,EAGV,UAAU,EAEV,gBAAgB,EAChB,oBAAoB,EAGrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAEV,eAAe,EACf,iBAAiB,EAGjB,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,aAAa,EACd,MAAM,SAAS,CAAC;AAEjB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AA2C3D;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,eAAe,EACtB,OAAO,EAAE,UAAU,EAAE,EACrB,OAAO,EAAE,YAAY,GACpB,mBAAmB,EAAE,CAuavB;AAED,MAAM,WAAW,aAAc,SAAQ,WAAW;IA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,mBAAmB,EAAE,CAAA;CAAE,CAAC,CAyFnE;AAyLD;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,iBAAiB,GAAG,aAAa,CAe9E;AAmJD;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,gBAAgB,GAAG,MAAM,CAqKxE;AAcD;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,gBAAgB,GAAG,MAAM,CAa5E"}
@@ -733,6 +733,7 @@ function buildFixCommand(agentRef, storyboardId, stepId, options) {
733
733
  if (options.complianceDir) parts.push("--compliance-dir", options.complianceDir);
734
734
  if (options.schemaRoot) parts.push("--schema-root", options.schemaRoot);
735
735
  if (options.hostedStableLineAlias) parts.push("--hosted-stable-line-alias", options.hostedStableLineAlias);
736
+ if (options.testKitPath) parts.push("--test-kit", options.testKitPath);
736
737
  return parts.map(shellArg).join(" ");
737
738
  }
738
739
  function shellArg(value) {
@@ -995,7 +996,8 @@ async function complyImpl(agentUrl, options) {
995
996
  complianceVersion: complianceIndex.adcp_version,
996
997
  ...complianceDir !== void 0 && { complianceDir },
997
998
  ...schemaRoot !== void 0 && { schemaRoot },
998
- ...hostedStableLineAlias !== void 0 && { hostedStableLineAlias }
999
+ ...hostedStableLineAlias !== void 0 && { hostedStableLineAlias },
1000
+ ...options.testKitPath !== void 0 && { testKitPath: options.testKitPath }
999
1001
  });
1000
1002
  const aggregatedNotices = /* @__PURE__ */ new Map();
1001
1003
  for (const sbResult of storyboardResults) {
@@ -1174,7 +1176,8 @@ async function runWithDegradedProfile(agentUrl, profile, storyboards, options, e
1174
1176
  complianceVersion: adcpVersion,
1175
1177
  ...options.complianceDir !== void 0 && { complianceDir: options.complianceDir },
1176
1178
  ...options.schemaRoot !== void 0 && { schemaRoot: options.schemaRoot },
1177
- ...options.hostedStableLineAlias !== void 0 && { hostedStableLineAlias: options.hostedStableLineAlias }
1179
+ ...options.hostedStableLineAlias !== void 0 && { hostedStableLineAlias: options.hostedStableLineAlias },
1180
+ ...options.testKitPath !== void 0 && { testKitPath: options.testKitPath }
1178
1181
  });
1179
1182
  for (const t of trackResults) t._view = "canonical";
1180
1183
  const skippedTracks = trackResults.filter((t) => t.status === "skip").map((t) => ({