@contentful/experience-design-system-cli 2.34.1-dev-build-928f202.0 → 2.34.1-dev-build-e12e553.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.34.1-dev-build-928f202.0",
3
+ "version": "2.34.1-dev-build-e12e553.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/dist/src/index.js CHANGED
@@ -33301,10 +33301,11 @@ async function runGenerateSkill(skill, opts, verbose = false) {
33301
33301
  }
33302
33302
  if (process.platform === "win32" && !agentSupportsStdinPrompt(agent)) {
33303
33303
  die2(
33304
- `Error: the '${agent}' agent is not supported on Windows.
33305
- Its CLI requires the prompt as a command-line argument, and these prompts exceed the
33306
- Windows command-line limit of 8191 characters.
33307
- Use --agent claude or --agent codex instead.`
33304
+ `Error: --agent ${agent} does not work on Windows.
33305
+ Its CLI only accepts the prompt as a command-line argument, and Windows limits a command
33306
+ line to 8191 characters \u2014 shorter than the prompts this command sends.
33307
+
33308
+ Every other agent works on Windows. Use --agent claude, codex, opencode, or cursor.`
33308
33309
  );
33309
33310
  }
33310
33311
  if (skill === "components" && allComponents && sessionId2) {
@@ -34838,10 +34839,11 @@ Install it, choose another agent with --agent, or use --print-prompt to run the
34838
34839
  }
34839
34840
  if (process.platform === "win32" && !agentSupportsStdinPrompt(agent)) {
34840
34841
  die2(
34841
- `Error: the '${agent}' agent is not supported on Windows.
34842
- Its CLI requires the prompt as a command-line argument, and these prompts exceed the
34843
- Windows command-line limit of 8191 characters.
34844
- Use --agent claude or --agent codex instead.`
34842
+ `Error: --agent ${agent} does not work on Windows.
34843
+ Its CLI only accepts the prompt as a command-line argument, and Windows limits a command
34844
+ line to 8191 characters \u2014 shorter than the prompts this command sends.
34845
+
34846
+ Every other agent works on Windows. Use --agent claude, codex, opencode, or cursor.`
34845
34847
  );
34846
34848
  }
34847
34849
  const stepId = createStep(db, sessionId2, "map tokens", { agent, model: model ?? "" });
@@ -36755,7 +36757,8 @@ async function setupAgent() {
36755
36757
  section("Step 4: Coding agent (claude, codex, opencode, or copilot)", "[required]");
36756
36758
  info("experiences import uses a coding agent to generate component definitions.");
36757
36759
  info("");
36758
- const found = (await Promise.all(AGENT_DEFS.map(async (a) => await binaryExists2(a.binary) ? a : null))).filter(
36760
+ const candidates = AGENT_DEFS.filter((a) => agentSupportsStdinPrompt(a.binary) || process.platform !== "win32");
36761
+ const found = (await Promise.all(candidates.map(async (a) => await binaryExists2(a.binary) ? a : null))).filter(
36759
36762
  (a) => a !== null
36760
36763
  );
36761
36764
  if (found.length === 1) {
@@ -37110,7 +37113,7 @@ async function checkBuild(pkgRoot) {
37110
37113
  }
37111
37114
  async function checkAgent() {
37112
37115
  section("Checking coding agent");
37113
- const agents = AGENT_DEFS;
37116
+ const agents = AGENT_DEFS.filter((a) => agentSupportsStdinPrompt(a.binary) || process.platform !== "win32");
37114
37117
  const creds = await readExperiencesCredentials();
37115
37118
  const savedAgent = creds.agent;
37116
37119
  const savedModel = creds.agentModel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-cli",
3
- "version": "2.34.1-dev-build-928f202.0",
3
+ "version": "2.34.1-dev-build-e12e553.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -39,8 +39,8 @@
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.34.1-dev-build-928f202.0",
43
- "@contentful/experience-design-system-cli-v2": "2.34.1-dev-build-928f202.0"
42
+ "@contentful/experience-design-system-cli-v2": "2.34.1-dev-build-e12e553.0",
43
+ "@contentful/experience-design-system-types": "2.34.1-dev-build-e12e553.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@tsconfig/node24": "^24.0.4",
@@ -52,9 +52,9 @@
52
52
  "ink-testing-library": "^4.0.0",
53
53
  "typescript-eslint": "^8.67.0",
54
54
  "vitest": "^4.0.16",
55
- "@contentful/experience-design-system-client": "2.34.1-dev-build-928f202.0",
56
- "@contentful/experience-design-system-generation": "2.34.1-dev-build-928f202.0",
57
- "@contentful/experience-design-system-extraction": "2.34.1-dev-build-928f202.0"
55
+ "@contentful/experience-design-system-client": "2.34.1-dev-build-e12e553.0",
56
+ "@contentful/experience-design-system-extraction": "2.34.1-dev-build-e12e553.0",
57
+ "@contentful/experience-design-system-generation": "2.34.1-dev-build-e12e553.0"
58
58
  },
59
59
  "repository": {
60
60
  "type": "git",