@contentful/experience-design-system-cli 2.35.1-dev-build-a2149178.0 → 2.35.1-dev-build-36aa669d.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 -5
- package/dist/src/tui/home/home.d.ts +0 -1
- package/dist/src/tui/home/home.theme.d.ts +0 -11
- package/legacy/dist/src/analyze/extract-command.d.ts +4 -0
- package/legacy/dist/src/import/tui/WizardApp.d.ts +7 -1
- package/legacy/dist/src/import/tui/run-selection-agent.d.ts +1 -0
- package/legacy/dist/src/import/tui/wizard-state-transitions.d.ts +3 -0
- package/legacy/dist/src/index.js +1329 -213
- package/legacy/dist/src/map-tokens/tui/MapTokensView.d.ts +1 -0
- package/legacy/dist/src/session/cache-keys.d.ts +22 -0
- package/legacy/dist/src/session/core/components/hash-component-shape.d.ts +5 -0
- package/legacy/dist/src/session/core/tokens/hash-token-content.d.ts +1 -0
- package/legacy/dist/src/session/db.d.ts +72 -2
- package/legacy/package.json +1 -5
- package/package.json +3 -7
- package/legacy/skills/debate-select.md +0 -23
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/experience-design-system-cli",
|
|
3
|
-
"version": "2.35.1-dev-build-
|
|
3
|
+
"version": "2.35.1-dev-build-36aa669d.0",
|
|
4
4
|
"description": "Contentful Experiences design system import CLI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -53,9 +53,6 @@
|
|
|
53
53
|
"typescript": "^5.9.3"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@contentful/experience-design-system-agents": "workspace:*",
|
|
57
|
-
"@contentful/experience-design-system-extraction": "workspace:*",
|
|
58
|
-
"@contentful/experience-design-system-generation": "workspace:*",
|
|
59
56
|
"@tsconfig/node24": "^24.0.4",
|
|
60
57
|
"@types/node": "^24.0.3",
|
|
61
58
|
"@types/react": "^18.3.24",
|
|
@@ -63,7 +60,6 @@
|
|
|
63
60
|
"eslint": "^9.39.5",
|
|
64
61
|
"eslint-config-prettier": "^10.1.8",
|
|
65
62
|
"eslint-plugin-prettier": "^5.5.6",
|
|
66
|
-
"ink-testing-library": "^4.0.0",
|
|
67
63
|
"typescript-eslint": "^8.67.0",
|
|
68
64
|
"vitest": "^4.0.16"
|
|
69
65
|
},
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
export declare const BRAND: {
|
|
2
|
-
readonly blue: "#1773EB";
|
|
3
|
-
readonly green: "#00C459";
|
|
4
|
-
readonly orange: "#E44F20";
|
|
5
|
-
readonly yellow: "#FFDA00";
|
|
6
|
-
readonly white: "#FFFFFF";
|
|
7
|
-
readonly slate: "#A6B5C7";
|
|
8
|
-
readonly steel: "#C4D1DE";
|
|
9
|
-
readonly mist: "#DDE5EC";
|
|
10
|
-
readonly fog: "#EFF2F6";
|
|
11
|
-
};
|
|
12
1
|
export declare const PALETTE: {
|
|
13
2
|
readonly accent: "#1773EB";
|
|
14
3
|
readonly heading: "#FFFFFF";
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import type { Command } from 'commander';
|
|
2
|
+
export declare function resolveExtractNoCache(opts: {
|
|
3
|
+
cache?: boolean;
|
|
4
|
+
noCache?: boolean;
|
|
5
|
+
}): boolean;
|
|
2
6
|
export declare function collectSourceFiles(directory: string, onProgress?: (scannedCount: number) => void): Promise<string[]>;
|
|
3
7
|
export declare function registerInternalExtractCommand(program: Command): void;
|
|
@@ -7,21 +7,26 @@ export declare function buildGenerateComponentsArgs(opts: {
|
|
|
7
7
|
agent: string;
|
|
8
8
|
model?: string;
|
|
9
9
|
bedrock?: boolean;
|
|
10
|
+
noCache?: boolean;
|
|
10
11
|
generatePromptPath?: string;
|
|
11
12
|
promptOverrides?: string[];
|
|
12
13
|
existingEntitiesPath?: string;
|
|
14
|
+
restoreCache?: boolean;
|
|
15
|
+
cachedComponents?: string[];
|
|
13
16
|
}): string[];
|
|
14
17
|
export declare function buildGenerateTokensArgs(opts: {
|
|
15
18
|
rawTokensPath: string;
|
|
16
19
|
agent: string;
|
|
17
20
|
model?: string;
|
|
18
21
|
bedrock?: boolean;
|
|
22
|
+
noCache?: boolean;
|
|
19
23
|
promptOverrides?: string[];
|
|
20
24
|
}): string[];
|
|
21
25
|
export declare function buildMapTokensArgs(opts: {
|
|
22
26
|
sessionId: string;
|
|
23
27
|
agent: string;
|
|
24
28
|
model?: string;
|
|
29
|
+
noCache?: boolean;
|
|
25
30
|
skipAgent?: boolean;
|
|
26
31
|
promptOverrides?: string[];
|
|
27
32
|
existingEntitiesPath?: string;
|
|
@@ -52,10 +57,11 @@ export type WizardAppProps = {
|
|
|
52
57
|
initialProjectPath?: string;
|
|
53
58
|
host?: string;
|
|
54
59
|
promptOverrides?: string[];
|
|
60
|
+
noCache?: boolean;
|
|
55
61
|
livePreview?: boolean;
|
|
56
62
|
generatePromptPath?: string;
|
|
57
63
|
skipMapTokens?: boolean;
|
|
58
64
|
initialRawTokensPath?: string;
|
|
59
65
|
initialAgentAuth?: Promise<AgentAuthStatus>;
|
|
60
66
|
};
|
|
61
|
-
export declare function WizardApp({ initialSpaceId, initialEnvironmentId, initialCmaToken, initialHost, initialAgent, initialModel, bedrock, initialProjectPath, host, promptOverrides, livePreview, generatePromptPath, skipMapTokens, initialRawTokensPath, initialAgentAuth, }?: WizardAppProps): React.ReactElement;
|
|
67
|
+
export declare function WizardApp({ initialSpaceId, initialEnvironmentId, initialCmaToken, initialHost, initialAgent, initialModel, bedrock, initialProjectPath, host, promptOverrides, noCache, livePreview, generatePromptPath, skipMapTokens, initialRawTokensPath, initialAgentAuth, }?: WizardAppProps): React.ReactElement;
|
|
@@ -8,6 +8,9 @@ export declare function shouldSkipFinalReviewAfterCredentials(state: {
|
|
|
8
8
|
generateSessionId: string | null;
|
|
9
9
|
finalReviewPassed: boolean;
|
|
10
10
|
}): boolean;
|
|
11
|
+
export declare function resolveNoCacheForGenerate(opts: {
|
|
12
|
+
cliNoCache: boolean;
|
|
13
|
+
}): boolean;
|
|
11
14
|
export declare function shouldBypassPreview(state: {
|
|
12
15
|
credentialsSkipped: boolean;
|
|
13
16
|
}): boolean;
|