@contentful/experience-design-system-cli 2.27.1-dev-build-4c02585.0 → 2.27.1-dev-build-fd316dc.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-cli",
3
- "version": "2.27.1-dev-build-4c02585.0",
3
+ "version": "2.27.1-dev-build-fd316dc.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/dist/src/index.js CHANGED
@@ -28491,7 +28491,8 @@ import { isAbsolute as isAbsolute4, join as join15, relative as relative3, resol
28491
28491
  init_src();
28492
28492
  var AGENT_DESCRIPTION = `Agent to use: ${AGENT_NAMES.join(", ")} (defaults to value saved by experiences setup)`;
28493
28493
  var MODEL_DESCRIPTION = "Model to use (defaults to a lightweight per-agent model; override with EDS_AGENT_MODEL_<AGENT>)";
28494
- var BEDROCK_DESCRIPTION = "Route the selected agent through AWS Bedrock instead of its default model provider (requires AWS credentials in the environment: AWS_PROFILE, or AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY/AWS_SESSION_TOKEN, plus AWS_REGION). Only supported by agents with a Bedrock routing mechanism (currently: claude).";
28494
+ var BEDROCK_AGENTS = AGENT_NAMES.filter((agent) => agentSupportsBedrock(agent)).join(", ");
28495
+ var BEDROCK_DESCRIPTION = `Route the selected agent through AWS Bedrock instead of its default model provider (requires AWS credentials in the environment: AWS_PROFILE, or AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY/AWS_SESSION_TOKEN, plus AWS_REGION). Only supported by agents with a Bedrock routing mechanism (currently: ${BEDROCK_AGENTS}).`;
28495
28496
  function addAgentModelOptions(cmd, config = {}) {
28496
28497
  const { agentDescription = AGENT_DESCRIPTION, includeModel = true, modelDescription = MODEL_DESCRIPTION } = config;
28497
28498
  cmd.option("--agent <name>", agentDescription);
@@ -33836,7 +33837,6 @@ function registerImportCommand(program) {
33836
33837
  process.stderr.write(`Error: --bedrock is not supported for --agent ${resolvedAgent}
33837
33838
  `);
33838
33839
  process.exit(1);
33839
- return;
33840
33840
  }
33841
33841
  const pickerDecision = await shouldShowRunPicker({
33842
33842
  flags: {
@@ -33933,7 +33933,6 @@ function registerImportCommand(program) {
33933
33933
  process.stderr.write(`Error: --bedrock is not supported for --agent ${headlessAgent}
33934
33934
  `);
33935
33935
  process.exit(1);
33936
- return;
33937
33936
  }
33938
33937
  const result = await runPipeline(
33939
33938
  {
@@ -1,7 +1,7 @@
1
1
  import type { Command } from 'commander';
2
2
  export declare const AGENT_DESCRIPTION: string;
3
3
  export declare const MODEL_DESCRIPTION = "Model to use (defaults to a lightweight per-agent model; override with EDS_AGENT_MODEL_<AGENT>)";
4
- export declare const BEDROCK_DESCRIPTION = "Route the selected agent through AWS Bedrock instead of its default model provider (requires AWS credentials in the environment: AWS_PROFILE, or AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY/AWS_SESSION_TOKEN, plus AWS_REGION). Only supported by agents with a Bedrock routing mechanism (currently: claude).";
4
+ export declare const BEDROCK_DESCRIPTION: string;
5
5
  export interface AgentModelOptionsConfig {
6
6
  agentDescription?: string;
7
7
  includeModel?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-cli",
3
- "version": "2.27.1-dev-build-4c02585.0",
3
+ "version": "2.27.1-dev-build-fd316dc.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -39,7 +39,7 @@
39
39
  "svelte": "^5.56.4",
40
40
  "ts-morph": "^27.0.2",
41
41
  "typescript": "^5.9.3",
42
- "@contentful/experience-design-system-types": "2.27.1-dev-build-4c02585.0"
42
+ "@contentful/experience-design-system-types": "2.27.1-dev-build-fd316dc.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@tsconfig/node24": "^24.0.4",
@@ -51,9 +51,9 @@
51
51
  "ink-testing-library": "^4.0.0",
52
52
  "typescript-eslint": "^8.67.0",
53
53
  "vitest": "^4.0.16",
54
- "@contentful/experience-design-system-client": "2.27.1-dev-build-4c02585.0",
55
- "@contentful/experience-design-system-extraction": "2.27.1-dev-build-4c02585.0",
56
- "@contentful/experience-design-system-generation": "2.27.1-dev-build-4c02585.0"
54
+ "@contentful/experience-design-system-client": "2.27.1-dev-build-fd316dc.0",
55
+ "@contentful/experience-design-system-extraction": "2.27.1-dev-build-fd316dc.0",
56
+ "@contentful/experience-design-system-generation": "2.27.1-dev-build-fd316dc.0"
57
57
  },
58
58
  "repository": {
59
59
  "type": "git",