@contentful/experience-design-system-cli 2.34.5-dev-build-fcf31517.0 → 2.34.5-dev-build-04d687d.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;
7
8
  modelDescription?: string;
8
9
  }
9
10
  /**
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.
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.
14
14
  */
15
15
  export declare function addAgentModelOptions(cmd: Command, config?: AgentModelOptionsConfig): Command;
@@ -29,9 +29,8 @@ export declare function __resetDebugLoggerForTest(): void;
29
29
  * Resolve effective debug-mode setting from three sources.
30
30
  *
31
31
  * Precedence (highest first):
32
- * 1. `--debug` / `--no-debug` CLI flag
33
- * 2. `EDSI_DEBUG` env var (truthy: 1, true, yes, on)
34
- * 3. Persisted `debug` field in credentials.json
32
+ * 1. `EDSI_DEBUG` env var (truthy: 1, true, yes, on)
33
+ * 2. Persisted `debug` field in credentials.json
35
34
  * 4. Default: OFF
36
35
  */
37
36
  export declare function resolveDebugMode(opts: {
@@ -17,7 +17,7 @@ export declare function runBuild(opts: {
17
17
  }>;
18
18
  /**
19
19
  * Walks `actionCommand` and its ancestors for a truthy `--bedrock`. --bedrock
20
- * is registered per-subcommand (not at program scope, unlike --debug), so a
20
+ * is registered per-subcommand, so a
21
21
  * root-level or subcommand-level setting can each carry it.
22
22
  */
23
23
  export declare function resolveBedrockFromAncestors(actionCommand: Command): boolean;
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-fcf31517.0",
3
+ "version": "2.34.5-dev-build-04d687d.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-cli-v2": "2.34.5-dev-build-fcf31517.0",
45
- "@contentful/experience-design-system-types": "2.34.5-dev-build-fcf31517.0"
44
+ "@contentful/experience-design-system-cli-v2": "2.34.5-dev-build-04d687d.0",
45
+ "@contentful/experience-design-system-types": "2.34.5-dev-build-04d687d.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-fcf31517.0",
58
- "@contentful/experience-design-system-extraction": "2.34.5-dev-build-fcf31517.0",
59
- "@contentful/experience-design-system-generation": "2.34.5-dev-build-fcf31517.0"
57
+ "@contentful/experience-design-system-generation": "2.34.5-dev-build-04d687d.0",
58
+ "@contentful/experience-design-system-extraction": "2.34.5-dev-build-04d687d.0",
59
+ "@contentful/experience-design-system-client": "2.34.5-dev-build-04d687d.0"
60
60
  },
61
61
  "repository": {
62
62
  "type": "git",
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import type { ReviewStepProps } from './review-step-props.js';
3
- export type FinalReviewHostProps = Omit<ReviewStepProps, 'extractSessionId'> & {
4
- extractSessionId: string | null;
5
- };
6
- export declare function FinalReviewHost({ extractSessionId, tokenSessionId, onFinalize, onQuit, livePreview, spaceId, environmentId, cmaToken, host, tokensPath, initialFinalizeError, }: FinalReviewHostProps): React.ReactElement;
@@ -1,13 +0,0 @@
1
- export type ReviewStepProps = {
2
- extractSessionId: string;
3
- tokenSessionId?: string | null;
4
- onFinalize: (accepted: number, rejected: number, unresolved: number) => void;
5
- onQuit: () => void;
6
- livePreview?: boolean;
7
- spaceId?: string;
8
- environmentId?: string;
9
- cmaToken?: string;
10
- host?: string;
11
- tokensPath?: string;
12
- initialFinalizeError?: string | null;
13
- };
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- import type { ScopeComponent } from './steps/ScopeGateStep.js';
3
- export type { ScopeComponent };
4
- export type ScopeGateHostProps = {
5
- components: ReadonlyArray<ScopeComponent>;
6
- onConfirm: (decisions: {
7
- accepted: string[];
8
- rejected: string[];
9
- }) => void;
10
- onQuit: () => void;
11
- /** Retained for fixture compatibility; filtering is no longer performed here. */
12
- aiFilterStatus?: string;
13
- aiFilterProgress?: {
14
- done: number;
15
- total: number;
16
- } | null;
17
- aiFilterError?: string | null;
18
- };
19
- export declare function ScopeGateHost({ components, onConfirm, onQuit }: ScopeGateHostProps): React.ReactElement;
@@ -1 +0,0 @@
1
- export declare function useTerminalColumns(): number;