@contentful/experience-design-system-cli 2.34.5-dev-build-134fe990.0 → 2.34.5-dev-build-50638cc0.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.
@@ -4,12 +4,12 @@ export declare const MODEL_DESCRIPTION = "Model to use (defaults to a lightweigh
4
4
  export interface AgentModelOptionsConfig {
5
5
  agentDescription?: string;
6
6
  includeModel?: boolean;
7
- includeBedrock?: boolean;
8
7
  modelDescription?: string;
9
8
  }
10
9
  /**
11
- * Register --agent plus optional --model and --bedrock flags with a Commander
12
- * command. The optional flags can be omitted for commands with a narrower
13
- * public surface.
10
+ * Register --agent, --bedrock, and optional --model flags with a Commander
11
+ * command. Pass includeModel: false to omit --model only — --bedrock is
12
+ * independent of model selection (it's a routing switch, not a model choice)
13
+ * and is always registered alongside --agent.
14
14
  */
15
15
  export declare function addAgentModelOptions(cmd: Command, config?: AgentModelOptionsConfig): Command;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-cli",
3
- "version": "2.34.5-dev-build-134fe990.0",
3
+ "version": "2.34.5-dev-build-50638cc0.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -41,8 +41,8 @@
41
41
  "svelte": "^5.56.4",
42
42
  "ts-morph": "^27.0.2",
43
43
  "typescript": "^5.9.3",
44
- "@contentful/experience-design-system-types": "2.34.5-dev-build-134fe990.0",
45
- "@contentful/experience-design-system-cli-v2": "2.34.5-dev-build-134fe990.0"
44
+ "@contentful/experience-design-system-cli-v2": "2.34.5-dev-build-50638cc0.0",
45
+ "@contentful/experience-design-system-types": "2.34.5-dev-build-50638cc0.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@tsconfig/node24": "^24.0.4",
@@ -54,9 +54,9 @@
54
54
  "ink-testing-library": "^4.0.0",
55
55
  "typescript-eslint": "^8.67.0",
56
56
  "vitest": "^4.0.16",
57
- "@contentful/experience-design-system-client": "2.34.5-dev-build-134fe990.0",
58
- "@contentful/experience-design-system-extraction": "2.34.5-dev-build-134fe990.0",
59
- "@contentful/experience-design-system-generation": "2.34.5-dev-build-134fe990.0"
57
+ "@contentful/experience-design-system-client": "2.34.5-dev-build-50638cc0.0",
58
+ "@contentful/experience-design-system-extraction": "2.34.5-dev-build-50638cc0.0",
59
+ "@contentful/experience-design-system-generation": "2.34.5-dev-build-50638cc0.0"
60
60
  },
61
61
  "repository": {
62
62
  "type": "git",
@@ -1,27 +0,0 @@
1
- /**
2
- * Resolution chain for the combined `--agent` override on `experiences import`.
3
- *
4
- * The wizard path previously hard-defaulted `--agent` to `'claude'` at the
5
- * commander layer, which (a) shadowed the stored `credentials.json` value when
6
- * the user passed no flag, and (b) made it impossible to distinguish "user
7
- * explicitly passed --agent claude" from "user passed nothing". The combined
8
- * flag accepts either `agent:model` or `agent model`.
9
- *
10
- * These helpers produce the resolved values to feed into `WizardApp` /
11
- * the import wizard:
12
- *
13
- * 1. CLI flag wins when provided.
14
- * 2. Otherwise, the value persisted in `credentials.json` (written by
15
- * `experiences setup`) is used.
16
- * 3. Otherwise, the built-in default (currently `'claude'`) is used for
17
- * the agent. Model has no default — agents pick a small/fast model
18
- * themselves when no model is included in `--agent`.
19
- */
20
- /** Built-in fallback agent when neither a flag nor a stored preference is set. */
21
- export declare const DEFAULT_AGENT = "claude";
22
- export declare function parseAgentModel(value: string | undefined): {
23
- agent?: string;
24
- model?: string;
25
- };
26
- export declare function resolveAgent(flagValue: string | undefined, storedValue: string | undefined): string;
27
- export declare function resolveModel(flagValue: string | undefined, storedValue: string | undefined): string | undefined;
@@ -1,8 +0,0 @@
1
- import { type AgentName } from '@contentful/experience-design-system-generation';
2
- export declare function runSelectionAgent(options: {
3
- sessionId: string;
4
- agent: AgentName;
5
- model?: string;
6
- promptText?: string;
7
- promptPath?: string;
8
- }): Promise<void>;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- type WelcomeStepProps = {
3
- onContinue: (projectPath: string) => void;
4
- onQuit: () => void;
5
- };
6
- export declare function WelcomeStep({ onContinue, onQuit }: WelcomeStepProps): React.ReactElement;
7
- export {};