@contentful/experience-design-system-cli 2.35.1-dev-build-98f1ba74.0 → 2.35.1-dev-build-c8bff53c.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/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 +1328 -184
- 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 -1
- package/package.json +2 -2
package/dist/package.json
CHANGED
|
@@ -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;
|