@contentful/experience-design-system-cli 2.37.1-dev-build-34b19a02.0 → 2.37.1-dev-build-04aa2aa0.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/app.js +19 -9
- package/dist/index.js +22 -9
- package/dist/package.json +1 -1
- package/package.json +3 -3
package/dist/app.js
CHANGED
|
@@ -23880,7 +23880,7 @@ function ReviewLoadError({ message }) {
|
|
|
23880
23880
|
return /* @__PURE__ */ jsxs29(Box29, { flexDirection: "column", paddingX: 2, paddingY: 1, children: [
|
|
23881
23881
|
/* @__PURE__ */ jsx40(Text31, { color: PALETTE.error, children: message }),
|
|
23882
23882
|
/* @__PURE__ */ jsx40(Text31, { children: " " }),
|
|
23883
|
-
/* @__PURE__ */ jsx40(
|
|
23883
|
+
/* @__PURE__ */ jsx40(ControlHints, { hints: [{ keys: "q / Enter / Esc", label: "Quit" }] })
|
|
23884
23884
|
] });
|
|
23885
23885
|
}
|
|
23886
23886
|
|
|
@@ -24589,7 +24589,15 @@ function QuitDialog({ hasUnsavedDrafts, onConfirm, onCancel }) {
|
|
|
24589
24589
|
/* @__PURE__ */ jsx42(Text33, { children: "by running the same review command again." })
|
|
24590
24590
|
] }) : /* @__PURE__ */ jsx42(Text33, { children: "Session is saved. Quit without finalizing?" }),
|
|
24591
24591
|
/* @__PURE__ */ jsx42(Text33, { children: " " }),
|
|
24592
|
-
/* @__PURE__ */ jsx42(
|
|
24592
|
+
/* @__PURE__ */ jsx42(
|
|
24593
|
+
ControlHints,
|
|
24594
|
+
{
|
|
24595
|
+
hints: [
|
|
24596
|
+
{ keys: "y / Enter", label: "Quit" },
|
|
24597
|
+
{ keys: "n / Esc", label: "Stay" }
|
|
24598
|
+
]
|
|
24599
|
+
}
|
|
24600
|
+
)
|
|
24593
24601
|
] });
|
|
24594
24602
|
}
|
|
24595
24603
|
|
|
@@ -26502,7 +26510,7 @@ function DoneStep({
|
|
|
26502
26510
|
}
|
|
26503
26511
|
)
|
|
26504
26512
|
] }),
|
|
26505
|
-
/* @__PURE__ */ jsx48(
|
|
26513
|
+
/* @__PURE__ */ jsx48(ControlHints, { hints: [{ keys: "Enter / q", label: "Exit" }] })
|
|
26506
26514
|
] })
|
|
26507
26515
|
] });
|
|
26508
26516
|
}
|
|
@@ -28629,6 +28637,7 @@ function FieldForm({
|
|
|
28629
28637
|
const pointer = (isActive) => /* @__PURE__ */ jsx56(Text45, { color: isActive ? PALETTE.accent : void 0, children: isActive ? "\u276F" : " " });
|
|
28630
28638
|
return /* @__PURE__ */ jsxs44(Box44, { flexDirection: "column", paddingX: 2, paddingY: 1, children: [
|
|
28631
28639
|
/* @__PURE__ */ jsx56(Text45, { bold: true, children: title }),
|
|
28640
|
+
/* @__PURE__ */ jsx56(Text45, { children: " " }),
|
|
28632
28641
|
subtitle && /* @__PURE__ */ jsx56(Text45, { color: PALETTE.muted, children: subtitle }),
|
|
28633
28642
|
/* @__PURE__ */ jsx56(Text45, { children: " " }),
|
|
28634
28643
|
/* @__PURE__ */ jsxs44(Box44, { flexDirection: "column", children: [
|
|
@@ -28806,7 +28815,7 @@ function AgentDetail({
|
|
|
28806
28815
|
return /* @__PURE__ */ jsx58(
|
|
28807
28816
|
FieldForm,
|
|
28808
28817
|
{
|
|
28809
|
-
title: AGENT_LABELS[name]
|
|
28818
|
+
title: `Settings \u203A Configuration \u203A Agents \u203A ${AGENT_LABELS[name]}`,
|
|
28810
28819
|
subtitle: config.defaultAgent === name ? "This is the default agent." : `Runs the \`${AGENT_BINARIES[name]}\` command.`,
|
|
28811
28820
|
fields: formFields,
|
|
28812
28821
|
values: { binary: settings.binary, model: settings.model },
|
|
@@ -28940,7 +28949,7 @@ function AgentsScreen({ onDone }) {
|
|
|
28940
28949
|
});
|
|
28941
28950
|
if (!config) {
|
|
28942
28951
|
return /* @__PURE__ */ jsxs46(Box46, { flexDirection: "column", paddingX: 2, paddingY: 1, children: [
|
|
28943
|
-
/* @__PURE__ */ jsx59(Text48, { bold: true, children: "Agents" }),
|
|
28952
|
+
/* @__PURE__ */ jsx59(Text48, { bold: true, children: "Settings \u203A Configuration \u203A Agents" }),
|
|
28944
28953
|
/* @__PURE__ */ jsx59(Text48, { children: " " }),
|
|
28945
28954
|
loadError ? /* @__PURE__ */ jsxs46(Fragment18, { children: [
|
|
28946
28955
|
/* @__PURE__ */ jsxs46(Text48, { color: PALETTE.error, children: [
|
|
@@ -28975,7 +28984,8 @@ function AgentsScreen({ onDone }) {
|
|
|
28975
28984
|
}
|
|
28976
28985
|
const focusedAgent = AGENT_NAMES[focus];
|
|
28977
28986
|
return /* @__PURE__ */ jsxs46(Box46, { flexDirection: "column", paddingX: 2, paddingY: 1, children: [
|
|
28978
|
-
/* @__PURE__ */ jsx59(Text48, { bold: true, children: "Agents" }),
|
|
28987
|
+
/* @__PURE__ */ jsx59(Text48, { bold: true, children: "Settings \u203A Configuration \u203A Agents" }),
|
|
28988
|
+
/* @__PURE__ */ jsx59(Text48, { children: " " }),
|
|
28979
28989
|
/* @__PURE__ */ jsx59(Text48, { color: PALETTE.muted, children: "The coding agent the CLI runs, and what was found for each one." }),
|
|
28980
28990
|
/* @__PURE__ */ jsx59(Text48, { children: " " }),
|
|
28981
28991
|
/* @__PURE__ */ jsxs46(Box46, { gap: 1, children: [
|
|
@@ -29140,7 +29150,7 @@ function ProjectScreen({ onDone }) {
|
|
|
29140
29150
|
});
|
|
29141
29151
|
if (!config) {
|
|
29142
29152
|
return /* @__PURE__ */ jsxs47(Box47, { flexDirection: "column", paddingX: 2, paddingY: 1, children: [
|
|
29143
|
-
/* @__PURE__ */ jsx60(Text49, { bold: true, children: "Project" }),
|
|
29153
|
+
/* @__PURE__ */ jsx60(Text49, { bold: true, children: "Settings \u203A Configuration \u203A Project" }),
|
|
29144
29154
|
/* @__PURE__ */ jsx60(Text49, { children: " " }),
|
|
29145
29155
|
loadError ? /* @__PURE__ */ jsxs47(Fragment19, { children: [
|
|
29146
29156
|
/* @__PURE__ */ jsxs47(Text49, { color: PALETTE.error, children: [
|
|
@@ -29173,7 +29183,7 @@ function ProjectScreen({ onDone }) {
|
|
|
29173
29183
|
return /* @__PURE__ */ jsx60(
|
|
29174
29184
|
FieldForm,
|
|
29175
29185
|
{
|
|
29176
|
-
title: "Project",
|
|
29186
|
+
title: "Settings \u203A Configuration \u203A Project",
|
|
29177
29187
|
subtitle: "The Contentful space and where the CLI keeps its files.",
|
|
29178
29188
|
fields: FIELDS2,
|
|
29179
29189
|
values: valuesOf(config),
|
|
@@ -29223,7 +29233,7 @@ function ConfigurationScreen({ onDone }) {
|
|
|
29223
29233
|
if (open === "project") return /* @__PURE__ */ jsx61(ProjectScreen, { onDone: close });
|
|
29224
29234
|
if (open === "agents") return /* @__PURE__ */ jsx61(AgentsScreen, { onDone: close });
|
|
29225
29235
|
return /* @__PURE__ */ jsxs48(Box48, { flexDirection: "column", paddingX: 2, paddingY: 1, children: [
|
|
29226
|
-
/* @__PURE__ */ jsx61(Text50, { bold: true, children: "Configuration" }),
|
|
29236
|
+
/* @__PURE__ */ jsx61(Text50, { bold: true, children: "Settings \u203A Configuration" }),
|
|
29227
29237
|
/* @__PURE__ */ jsx61(Text50, { children: " " }),
|
|
29228
29238
|
SECTIONS.map((section, index) => /* @__PURE__ */ jsxs48(Box48, { gap: 1, children: [
|
|
29229
29239
|
/* @__PURE__ */ jsx61(Text50, { color: index === focus ? PALETTE.accent : void 0, children: index === focus ? "\u276F" : " " }),
|
package/dist/index.js
CHANGED
|
@@ -26832,13 +26832,14 @@ function ReviewLoadError({ message }) {
|
|
|
26832
26832
|
return /* @__PURE__ */ jsxs29(Box29, { flexDirection: "column", paddingX: 2, paddingY: 1, children: [
|
|
26833
26833
|
/* @__PURE__ */ jsx40(Text31, { color: PALETTE.error, children: message }),
|
|
26834
26834
|
/* @__PURE__ */ jsx40(Text31, { children: " " }),
|
|
26835
|
-
/* @__PURE__ */ jsx40(
|
|
26835
|
+
/* @__PURE__ */ jsx40(ControlHints, { hints: [{ keys: "q / Enter / Esc", label: "Quit" }] })
|
|
26836
26836
|
] });
|
|
26837
26837
|
}
|
|
26838
26838
|
var init_ReviewStatus = __esm({
|
|
26839
26839
|
"packages/experience-design-system-cli/src/tui/import/steps/09-review/components/ReviewStatus.tsx"() {
|
|
26840
26840
|
"use strict";
|
|
26841
26841
|
init_theme();
|
|
26842
|
+
init_ControlHints();
|
|
26842
26843
|
}
|
|
26843
26844
|
});
|
|
26844
26845
|
|
|
@@ -27604,12 +27605,21 @@ function QuitDialog({ hasUnsavedDrafts, onConfirm, onCancel }) {
|
|
|
27604
27605
|
/* @__PURE__ */ jsx42(Text33, { children: "by running the same review command again." })
|
|
27605
27606
|
] }) : /* @__PURE__ */ jsx42(Text33, { children: "Session is saved. Quit without finalizing?" }),
|
|
27606
27607
|
/* @__PURE__ */ jsx42(Text33, { children: " " }),
|
|
27607
|
-
/* @__PURE__ */ jsx42(
|
|
27608
|
+
/* @__PURE__ */ jsx42(
|
|
27609
|
+
ControlHints,
|
|
27610
|
+
{
|
|
27611
|
+
hints: [
|
|
27612
|
+
{ keys: "y / Enter", label: "Quit" },
|
|
27613
|
+
{ keys: "n / Esc", label: "Stay" }
|
|
27614
|
+
]
|
|
27615
|
+
}
|
|
27616
|
+
)
|
|
27608
27617
|
] });
|
|
27609
27618
|
}
|
|
27610
27619
|
var init_QuitDialog = __esm({
|
|
27611
27620
|
"packages/experience-design-system-cli/src/tui/import/steps/09-review/components/QuitDialog.tsx"() {
|
|
27612
27621
|
"use strict";
|
|
27622
|
+
init_ControlHints();
|
|
27613
27623
|
init_useImmediateInput();
|
|
27614
27624
|
}
|
|
27615
27625
|
});
|
|
@@ -29633,7 +29643,7 @@ function DoneStep({
|
|
|
29633
29643
|
}
|
|
29634
29644
|
)
|
|
29635
29645
|
] }),
|
|
29636
|
-
/* @__PURE__ */ jsx48(
|
|
29646
|
+
/* @__PURE__ */ jsx48(ControlHints, { hints: [{ keys: "Enter / q", label: "Exit" }] })
|
|
29637
29647
|
] })
|
|
29638
29648
|
] });
|
|
29639
29649
|
}
|
|
@@ -29644,6 +29654,7 @@ var init_DoneStep = __esm({
|
|
|
29644
29654
|
init_theme();
|
|
29645
29655
|
init_useImmediateInput();
|
|
29646
29656
|
init_contentful_urls2();
|
|
29657
|
+
init_ControlHints();
|
|
29647
29658
|
init_StepHeader();
|
|
29648
29659
|
init_SpaceEnvironment();
|
|
29649
29660
|
ACTIONS = ["created", "updated", "removed"];
|
|
@@ -32175,6 +32186,7 @@ function FieldForm({
|
|
|
32175
32186
|
const pointer = (isActive) => /* @__PURE__ */ jsx56(Text45, { color: isActive ? PALETTE.accent : void 0, children: isActive ? "\u276F" : " " });
|
|
32176
32187
|
return /* @__PURE__ */ jsxs44(Box44, { flexDirection: "column", paddingX: 2, paddingY: 1, children: [
|
|
32177
32188
|
/* @__PURE__ */ jsx56(Text45, { bold: true, children: title }),
|
|
32189
|
+
/* @__PURE__ */ jsx56(Text45, { children: " " }),
|
|
32178
32190
|
subtitle && /* @__PURE__ */ jsx56(Text45, { color: PALETTE.muted, children: subtitle }),
|
|
32179
32191
|
/* @__PURE__ */ jsx56(Text45, { children: " " }),
|
|
32180
32192
|
/* @__PURE__ */ jsxs44(Box44, { flexDirection: "column", children: [
|
|
@@ -32347,7 +32359,7 @@ function AgentDetail({
|
|
|
32347
32359
|
return /* @__PURE__ */ jsx58(
|
|
32348
32360
|
FieldForm,
|
|
32349
32361
|
{
|
|
32350
|
-
title: AGENT_LABELS[name]
|
|
32362
|
+
title: `Settings \u203A Configuration \u203A Agents \u203A ${AGENT_LABELS[name]}`,
|
|
32351
32363
|
subtitle: config.defaultAgent === name ? "This is the default agent." : `Runs the \`${AGENT_BINARIES[name]}\` command.`,
|
|
32352
32364
|
fields: formFields,
|
|
32353
32365
|
values: { binary: settings.binary, model: settings.model },
|
|
@@ -32499,7 +32511,7 @@ function AgentsScreen({ onDone }) {
|
|
|
32499
32511
|
});
|
|
32500
32512
|
if (!config) {
|
|
32501
32513
|
return /* @__PURE__ */ jsxs46(Box46, { flexDirection: "column", paddingX: 2, paddingY: 1, children: [
|
|
32502
|
-
/* @__PURE__ */ jsx59(Text48, { bold: true, children: "Agents" }),
|
|
32514
|
+
/* @__PURE__ */ jsx59(Text48, { bold: true, children: "Settings \u203A Configuration \u203A Agents" }),
|
|
32503
32515
|
/* @__PURE__ */ jsx59(Text48, { children: " " }),
|
|
32504
32516
|
loadError ? /* @__PURE__ */ jsxs46(Fragment18, { children: [
|
|
32505
32517
|
/* @__PURE__ */ jsxs46(Text48, { color: PALETTE.error, children: [
|
|
@@ -32534,7 +32546,8 @@ function AgentsScreen({ onDone }) {
|
|
|
32534
32546
|
}
|
|
32535
32547
|
const focusedAgent = AGENT_NAMES[focus];
|
|
32536
32548
|
return /* @__PURE__ */ jsxs46(Box46, { flexDirection: "column", paddingX: 2, paddingY: 1, children: [
|
|
32537
|
-
/* @__PURE__ */ jsx59(Text48, { bold: true, children: "Agents" }),
|
|
32549
|
+
/* @__PURE__ */ jsx59(Text48, { bold: true, children: "Settings \u203A Configuration \u203A Agents" }),
|
|
32550
|
+
/* @__PURE__ */ jsx59(Text48, { children: " " }),
|
|
32538
32551
|
/* @__PURE__ */ jsx59(Text48, { color: PALETTE.muted, children: "The coding agent the CLI runs, and what was found for each one." }),
|
|
32539
32552
|
/* @__PURE__ */ jsx59(Text48, { children: " " }),
|
|
32540
32553
|
/* @__PURE__ */ jsxs46(Box46, { gap: 1, children: [
|
|
@@ -32709,7 +32722,7 @@ function ProjectScreen({ onDone }) {
|
|
|
32709
32722
|
});
|
|
32710
32723
|
if (!config) {
|
|
32711
32724
|
return /* @__PURE__ */ jsxs47(Box47, { flexDirection: "column", paddingX: 2, paddingY: 1, children: [
|
|
32712
|
-
/* @__PURE__ */ jsx60(Text49, { bold: true, children: "Project" }),
|
|
32725
|
+
/* @__PURE__ */ jsx60(Text49, { bold: true, children: "Settings \u203A Configuration \u203A Project" }),
|
|
32713
32726
|
/* @__PURE__ */ jsx60(Text49, { children: " " }),
|
|
32714
32727
|
loadError ? /* @__PURE__ */ jsxs47(Fragment19, { children: [
|
|
32715
32728
|
/* @__PURE__ */ jsxs47(Text49, { color: PALETTE.error, children: [
|
|
@@ -32742,7 +32755,7 @@ function ProjectScreen({ onDone }) {
|
|
|
32742
32755
|
return /* @__PURE__ */ jsx60(
|
|
32743
32756
|
FieldForm,
|
|
32744
32757
|
{
|
|
32745
|
-
title: "Project",
|
|
32758
|
+
title: "Settings \u203A Configuration \u203A Project",
|
|
32746
32759
|
subtitle: "The Contentful space and where the CLI keeps its files.",
|
|
32747
32760
|
fields: FIELDS2,
|
|
32748
32761
|
values: valuesOf(config),
|
|
@@ -32809,7 +32822,7 @@ function ConfigurationScreen({ onDone }) {
|
|
|
32809
32822
|
if (open === "project") return /* @__PURE__ */ jsx61(ProjectScreen, { onDone: close });
|
|
32810
32823
|
if (open === "agents") return /* @__PURE__ */ jsx61(AgentsScreen, { onDone: close });
|
|
32811
32824
|
return /* @__PURE__ */ jsxs48(Box48, { flexDirection: "column", paddingX: 2, paddingY: 1, children: [
|
|
32812
|
-
/* @__PURE__ */ jsx61(Text50, { bold: true, children: "Configuration" }),
|
|
32825
|
+
/* @__PURE__ */ jsx61(Text50, { bold: true, children: "Settings \u203A Configuration" }),
|
|
32813
32826
|
/* @__PURE__ */ jsx61(Text50, { children: " " }),
|
|
32814
32827
|
SECTIONS.map((section, index) => /* @__PURE__ */ jsxs48(Box48, { gap: 1, children: [
|
|
32815
32828
|
/* @__PURE__ */ jsx61(Text50, { color: index === focus ? PALETTE.accent : void 0, children: index === focus ? "\u276F" : " " }),
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/experience-design-system-cli",
|
|
3
|
-
"version": "2.37.1-dev-build-
|
|
3
|
+
"version": "2.37.1-dev-build-04aa2aa0.0",
|
|
4
4
|
"description": "Contentful Experiences design system import CLI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"ts-morph": "^27.0.2",
|
|
46
46
|
"typescript": "^5.9.3",
|
|
47
47
|
"zod": "^4.6.5",
|
|
48
|
-
"@contentful/experience-design-system-backend-pipeline": "2.37.1-dev-build-
|
|
49
|
-
"@contentful/experience-design-system-types": "2.37.1-dev-build-
|
|
48
|
+
"@contentful/experience-design-system-backend-pipeline": "2.37.1-dev-build-04aa2aa0.0",
|
|
49
|
+
"@contentful/experience-design-system-types": "2.37.1-dev-build-04aa2aa0.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@tsconfig/node24": "^24.0.4",
|