@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.
- package/dist/package.json +1 -1
- package/dist/src/analyze/composition/interchange-schema.d.ts +4 -24
- package/dist/src/analyze/composition/resolve-mapping-cli.d.ts +0 -11
- package/dist/src/analyze/composition/resolve-mapping.d.ts +5 -7
- package/dist/src/import/agent-model-resolve.d.ts +8 -4
- package/dist/src/import/composition-options.d.ts +0 -2
- package/dist/src/import/tui/WizardApp.d.ts +3 -2
- package/dist/src/import/tui/run-selection-agent.d.ts +8 -0
- package/dist/src/import/tui/steps/GenerateReviewStep.d.ts +14 -3
- package/dist/src/import/tui/steps/ScopeGateStep.d.ts +1 -1
- package/dist/src/index.js +845 -845
- package/dist/src/lib/agent-model-options.d.ts +4 -4
- package/dist/src/lib/debug-logger.d.ts +2 -3
- package/dist/src/program.d.ts +1 -1
- package/package.json +6 -6
- package/dist/src/import/tui/final-review-host.d.ts +0 -6
- package/dist/src/import/tui/review-step-props.d.ts +0 -13
- package/dist/src/import/tui/scope-gate-host.d.ts +0 -19
- package/dist/src/import/tui/steps/useTerminalColumns.d.ts +0 -1
|
@@ -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
|
|
11
|
-
* command.
|
|
12
|
-
*
|
|
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.
|
|
33
|
-
* 2. `
|
|
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: {
|
package/dist/src/program.d.ts
CHANGED
|
@@ -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
|
|
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-
|
|
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-
|
|
45
|
-
"@contentful/experience-design-system-types": "2.34.5-dev-build-
|
|
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-
|
|
58
|
-
"@contentful/experience-design-system-extraction": "2.34.5-dev-build-
|
|
59
|
-
"@contentful/experience-design-system-
|
|
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;
|