@contentful/experience-design-system-cli 2.37.1-dev-build-9d1e87d0.0 → 2.37.1-dev-build-a2aef8c6.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 +16 -16
- package/dist/index.js +29 -29
- package/dist/package.json +1 -1
- package/dist/src/tui/settings/{contentful-configuration/ProjectConfigScreen.d.ts → configuration/project/ProjectScreen.d.ts} +1 -1
- package/package.json +3 -3
- /package/dist/src/tui/settings/{contentful-configuration/ContentfulConfigScreen.d.ts → configuration/ConfigurationScreen.d.ts} +0 -0
- /package/dist/src/tui/settings/{agents → configuration/agents}/AgentDetail.d.ts +0 -0
- /package/dist/src/tui/settings/{agents → configuration/agents}/AgentStatusBadge.d.ts +0 -0
- /package/dist/src/tui/settings/{agents → configuration/agents}/AgentsScreen.d.ts +0 -0
- /package/dist/src/tui/settings/{agents → configuration/agents}/agent-status.d.ts +0 -0
- /package/dist/src/tui/settings/{agents → configuration/agents}/agent-store.d.ts +0 -0
- /package/dist/src/tui/settings/{agents → configuration/agents}/apply-binary-overrides.d.ts +0 -0
- /package/dist/src/tui/settings/{contentful-configuration/config-store.d.ts → configuration/project/project-store.d.ts} +0 -0
- /package/dist/src/tui/settings/{utils → shared}/v1-store.d.ts +0 -0
package/dist/app.js
CHANGED
|
@@ -28578,21 +28578,21 @@ function SettingsScreen({
|
|
|
28578
28578
|
] });
|
|
28579
28579
|
}
|
|
28580
28580
|
|
|
28581
|
-
// packages/experience-design-system-cli/src/tui/settings/
|
|
28581
|
+
// packages/experience-design-system-cli/src/tui/settings/configuration/ConfigurationScreen.tsx
|
|
28582
28582
|
import { useState as useState33 } from "react";
|
|
28583
28583
|
import { Box as Box48, Text as Text51, useInput as useInput13 } from "ink";
|
|
28584
28584
|
|
|
28585
|
-
// packages/experience-design-system-cli/src/tui/settings/agents/AgentsScreen.tsx
|
|
28585
|
+
// packages/experience-design-system-cli/src/tui/settings/configuration/agents/AgentsScreen.tsx
|
|
28586
28586
|
import { useEffect as useEffect23, useState as useState31 } from "react";
|
|
28587
28587
|
import { Box as Box46, Text as Text49, useInput as useInput12 } from "ink";
|
|
28588
28588
|
init_debug_store();
|
|
28589
28589
|
|
|
28590
|
-
// packages/experience-design-system-cli/src/tui/settings/
|
|
28590
|
+
// packages/experience-design-system-cli/src/tui/settings/shared/v1-store.ts
|
|
28591
28591
|
init_config();
|
|
28592
28592
|
var readV1Store = readSettings2;
|
|
28593
28593
|
var writeV1Store = writeSettings2;
|
|
28594
28594
|
|
|
28595
|
-
// packages/experience-design-system-cli/src/tui/settings/agents/agent-store.ts
|
|
28595
|
+
// packages/experience-design-system-cli/src/tui/settings/configuration/agents/agent-store.ts
|
|
28596
28596
|
var DEFAULT_AGENT3 = "claude";
|
|
28597
28597
|
var AGENT_LABELS = {
|
|
28598
28598
|
claude: "Claude Code",
|
|
@@ -28643,7 +28643,7 @@ async function writeAgentConfig(config) {
|
|
|
28643
28643
|
await writeV1Store(merged);
|
|
28644
28644
|
}
|
|
28645
28645
|
|
|
28646
|
-
// packages/experience-design-system-cli/src/tui/settings/agents/agent-status.ts
|
|
28646
|
+
// packages/experience-design-system-cli/src/tui/settings/configuration/agents/agent-status.ts
|
|
28647
28647
|
import { execFile as execFile2 } from "node:child_process";
|
|
28648
28648
|
import { access as access6, constants } from "node:fs/promises";
|
|
28649
28649
|
var VERSION_TIMEOUT_MS = 5e3;
|
|
@@ -28846,7 +28846,7 @@ async function withBinaryEnv(name, binary, run) {
|
|
|
28846
28846
|
}
|
|
28847
28847
|
}
|
|
28848
28848
|
|
|
28849
|
-
// packages/experience-design-system-cli/src/tui/settings/agents/AgentDetail.tsx
|
|
28849
|
+
// packages/experience-design-system-cli/src/tui/settings/configuration/agents/AgentDetail.tsx
|
|
28850
28850
|
import { useEffect as useEffect22, useState as useState30 } from "react";
|
|
28851
28851
|
import { Box as Box45, Text as Text48 } from "ink";
|
|
28852
28852
|
|
|
@@ -28980,7 +28980,7 @@ function FieldForm({
|
|
|
28980
28980
|
] });
|
|
28981
28981
|
}
|
|
28982
28982
|
|
|
28983
|
-
// packages/experience-design-system-cli/src/tui/settings/agents/AgentStatusBadge.tsx
|
|
28983
|
+
// packages/experience-design-system-cli/src/tui/settings/configuration/agents/AgentStatusBadge.tsx
|
|
28984
28984
|
import { Text as Text47 } from "ink";
|
|
28985
28985
|
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
28986
28986
|
var TONE_COLOR = {
|
|
@@ -28997,7 +28997,7 @@ function AgentStatusBadge({
|
|
|
28997
28997
|
return /* @__PURE__ */ jsx56(Text47, { color: TONE_COLOR[tone], children: `${symbol} ${text}` });
|
|
28998
28998
|
}
|
|
28999
28999
|
|
|
29000
|
-
// packages/experience-design-system-cli/src/tui/settings/agents/apply-binary-overrides.ts
|
|
29000
|
+
// packages/experience-design-system-cli/src/tui/settings/configuration/agents/apply-binary-overrides.ts
|
|
29001
29001
|
var shellValues = /* @__PURE__ */ new Map();
|
|
29002
29002
|
function applyBinaryOverrides(config) {
|
|
29003
29003
|
for (const name of AGENT_NAMES) {
|
|
@@ -29015,7 +29015,7 @@ function applyBinaryOverrides(config) {
|
|
|
29015
29015
|
}
|
|
29016
29016
|
}
|
|
29017
29017
|
|
|
29018
|
-
// packages/experience-design-system-cli/src/tui/settings/agents/AgentDetail.tsx
|
|
29018
|
+
// packages/experience-design-system-cli/src/tui/settings/configuration/agents/AgentDetail.tsx
|
|
29019
29019
|
import { jsx as jsx57, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
29020
29020
|
var fields = (name) => [
|
|
29021
29021
|
{ key: "binary", label: "Command path", hint: `(empty: \`${AGENT_BINARIES[name]}\` from the PATH)` },
|
|
@@ -29109,7 +29109,7 @@ function AgentDetail({
|
|
|
29109
29109
|
);
|
|
29110
29110
|
}
|
|
29111
29111
|
|
|
29112
|
-
// packages/experience-design-system-cli/src/tui/settings/agents/AgentsScreen.tsx
|
|
29112
|
+
// packages/experience-design-system-cli/src/tui/settings/configuration/agents/AgentsScreen.tsx
|
|
29113
29113
|
import { Fragment as Fragment18, jsx as jsx58, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
29114
29114
|
var NAME_WIDTH = 16;
|
|
29115
29115
|
var PANEL_LABEL_WIDTH = "Command".length;
|
|
@@ -29262,12 +29262,12 @@ function AgentsScreen({ onDone }) {
|
|
|
29262
29262
|
] });
|
|
29263
29263
|
}
|
|
29264
29264
|
|
|
29265
|
-
// packages/experience-design-system-cli/src/tui/settings/
|
|
29265
|
+
// packages/experience-design-system-cli/src/tui/settings/configuration/project/ProjectScreen.tsx
|
|
29266
29266
|
import { useEffect as useEffect24, useState as useState32 } from "react";
|
|
29267
29267
|
import { Box as Box47, Text as Text50 } from "ink";
|
|
29268
29268
|
init_debug_store();
|
|
29269
29269
|
|
|
29270
|
-
// packages/experience-design-system-cli/src/tui/settings/
|
|
29270
|
+
// packages/experience-design-system-cli/src/tui/settings/configuration/project/project-store.ts
|
|
29271
29271
|
async function readCredentials() {
|
|
29272
29272
|
const store = await readV1Store();
|
|
29273
29273
|
return {
|
|
@@ -29292,7 +29292,7 @@ async function writeCredentials(config) {
|
|
|
29292
29292
|
await writeV1Store(merged);
|
|
29293
29293
|
}
|
|
29294
29294
|
|
|
29295
|
-
// packages/experience-design-system-cli/src/tui/settings/
|
|
29295
|
+
// packages/experience-design-system-cli/src/tui/settings/configuration/project/ProjectScreen.tsx
|
|
29296
29296
|
import { jsx as jsx59, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
29297
29297
|
var FIELDS2 = [
|
|
29298
29298
|
{ key: "spaceId", label: "Space ID" },
|
|
@@ -29315,7 +29315,7 @@ function debugFields(config) {
|
|
|
29315
29315
|
};
|
|
29316
29316
|
}
|
|
29317
29317
|
var valuesOf = (config) => Object.fromEntries(FIELDS2.map(({ key }) => [key, config[key] || ""]));
|
|
29318
|
-
function
|
|
29318
|
+
function ProjectScreen({ onDone }) {
|
|
29319
29319
|
const [config, setConfig] = useState32(null);
|
|
29320
29320
|
const [saving, setSaving] = useState32(false);
|
|
29321
29321
|
const [notice, setNotice] = useState32(null);
|
|
@@ -29374,7 +29374,7 @@ function ProjectConfigScreen({ onDone }) {
|
|
|
29374
29374
|
);
|
|
29375
29375
|
}
|
|
29376
29376
|
|
|
29377
|
-
// packages/experience-design-system-cli/src/tui/settings/
|
|
29377
|
+
// packages/experience-design-system-cli/src/tui/settings/configuration/ConfigurationScreen.tsx
|
|
29378
29378
|
import { jsx as jsx60, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
29379
29379
|
var SECTIONS = [
|
|
29380
29380
|
{
|
|
@@ -29404,7 +29404,7 @@ function ConfigurationScreen({ onDone }) {
|
|
|
29404
29404
|
}
|
|
29405
29405
|
if (key.escape || input === "q") onDone();
|
|
29406
29406
|
});
|
|
29407
|
-
if (open === "project") return /* @__PURE__ */ jsx60(
|
|
29407
|
+
if (open === "project") return /* @__PURE__ */ jsx60(ProjectScreen, { onDone: close });
|
|
29408
29408
|
if (open === "agents") return /* @__PURE__ */ jsx60(AgentsScreen, { onDone: close });
|
|
29409
29409
|
return /* @__PURE__ */ jsxs49(Box48, { flexDirection: "column", paddingX: 2, paddingY: 1, children: [
|
|
29410
29410
|
/* @__PURE__ */ jsx60(Text51, { bold: true, children: "Configuration" }),
|
package/dist/index.js
CHANGED
|
@@ -19555,10 +19555,10 @@ var init_config = __esm({
|
|
|
19555
19555
|
}
|
|
19556
19556
|
});
|
|
19557
19557
|
|
|
19558
|
-
// packages/experience-design-system-cli/src/tui/settings/
|
|
19558
|
+
// packages/experience-design-system-cli/src/tui/settings/shared/v1-store.ts
|
|
19559
19559
|
var readV1Store, writeV1Store;
|
|
19560
19560
|
var init_v1_store = __esm({
|
|
19561
|
-
"packages/experience-design-system-cli/src/tui/settings/
|
|
19561
|
+
"packages/experience-design-system-cli/src/tui/settings/shared/v1-store.ts"() {
|
|
19562
19562
|
"use strict";
|
|
19563
19563
|
init_config();
|
|
19564
19564
|
readV1Store = readSettings2;
|
|
@@ -19566,7 +19566,7 @@ var init_v1_store = __esm({
|
|
|
19566
19566
|
}
|
|
19567
19567
|
});
|
|
19568
19568
|
|
|
19569
|
-
// packages/experience-design-system-cli/src/tui/settings/agents/agent-store.ts
|
|
19569
|
+
// packages/experience-design-system-cli/src/tui/settings/configuration/agents/agent-store.ts
|
|
19570
19570
|
function emptyAgents() {
|
|
19571
19571
|
return Object.fromEntries(AGENT_NAMES.map((name) => [name, { model: "", binary: "" }]));
|
|
19572
19572
|
}
|
|
@@ -19609,7 +19609,7 @@ async function writeAgentConfig(config) {
|
|
|
19609
19609
|
}
|
|
19610
19610
|
var DEFAULT_AGENT3, AGENT_LABELS, asString;
|
|
19611
19611
|
var init_agent_store = __esm({
|
|
19612
|
-
"packages/experience-design-system-cli/src/tui/settings/agents/agent-store.ts"() {
|
|
19612
|
+
"packages/experience-design-system-cli/src/tui/settings/configuration/agents/agent-store.ts"() {
|
|
19613
19613
|
"use strict";
|
|
19614
19614
|
init_src4();
|
|
19615
19615
|
init_v1_store();
|
|
@@ -19625,7 +19625,7 @@ var init_agent_store = __esm({
|
|
|
19625
19625
|
}
|
|
19626
19626
|
});
|
|
19627
19627
|
|
|
19628
|
-
// packages/experience-design-system-cli/src/tui/settings/agents/apply-binary-overrides.ts
|
|
19628
|
+
// packages/experience-design-system-cli/src/tui/settings/configuration/agents/apply-binary-overrides.ts
|
|
19629
19629
|
function applyBinaryOverrides(config) {
|
|
19630
19630
|
for (const name of AGENT_NAMES) {
|
|
19631
19631
|
const key = `EDS_AGENT_BINARY_${name.toUpperCase()}`;
|
|
@@ -19643,7 +19643,7 @@ function applyBinaryOverrides(config) {
|
|
|
19643
19643
|
}
|
|
19644
19644
|
var shellValues;
|
|
19645
19645
|
var init_apply_binary_overrides = __esm({
|
|
19646
|
-
"packages/experience-design-system-cli/src/tui/settings/agents/apply-binary-overrides.ts"() {
|
|
19646
|
+
"packages/experience-design-system-cli/src/tui/settings/configuration/agents/apply-binary-overrides.ts"() {
|
|
19647
19647
|
"use strict";
|
|
19648
19648
|
init_src4();
|
|
19649
19649
|
shellValues = /* @__PURE__ */ new Map();
|
|
@@ -33098,7 +33098,7 @@ var init_PageContainer3 = __esm({
|
|
|
33098
33098
|
}
|
|
33099
33099
|
});
|
|
33100
33100
|
|
|
33101
|
-
// packages/experience-design-system-cli/src/tui/settings/agents/agent-status.ts
|
|
33101
|
+
// packages/experience-design-system-cli/src/tui/settings/configuration/agents/agent-status.ts
|
|
33102
33102
|
import { execFile as execFile2 } from "node:child_process";
|
|
33103
33103
|
import { access as access6, constants } from "node:fs/promises";
|
|
33104
33104
|
function effectiveBinary(name, savedBinary) {
|
|
@@ -33272,7 +33272,7 @@ async function withBinaryEnv(name, binary, run) {
|
|
|
33272
33272
|
}
|
|
33273
33273
|
var VERSION_TIMEOUT_MS, PROMPT_TIMEOUT_MS, TEST_PROMPT, INSTALL_HINTS, LOGIN_HINTS, fail3, pass, LIST_STATUS, checking;
|
|
33274
33274
|
var init_agent_status = __esm({
|
|
33275
|
-
"packages/experience-design-system-cli/src/tui/settings/agents/agent-status.ts"() {
|
|
33275
|
+
"packages/experience-design-system-cli/src/tui/settings/configuration/agents/agent-status.ts"() {
|
|
33276
33276
|
"use strict";
|
|
33277
33277
|
init_src4();
|
|
33278
33278
|
VERSION_TIMEOUT_MS = 5e3;
|
|
@@ -33445,7 +33445,7 @@ var init_FieldForm = __esm({
|
|
|
33445
33445
|
}
|
|
33446
33446
|
});
|
|
33447
33447
|
|
|
33448
|
-
// packages/experience-design-system-cli/src/tui/settings/agents/AgentStatusBadge.tsx
|
|
33448
|
+
// packages/experience-design-system-cli/src/tui/settings/configuration/agents/AgentStatusBadge.tsx
|
|
33449
33449
|
import { Text as Text47 } from "ink";
|
|
33450
33450
|
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
33451
33451
|
function AgentStatusBadge({
|
|
@@ -33458,7 +33458,7 @@ function AgentStatusBadge({
|
|
|
33458
33458
|
}
|
|
33459
33459
|
var TONE_COLOR;
|
|
33460
33460
|
var init_AgentStatusBadge = __esm({
|
|
33461
|
-
"packages/experience-design-system-cli/src/tui/settings/agents/AgentStatusBadge.tsx"() {
|
|
33461
|
+
"packages/experience-design-system-cli/src/tui/settings/configuration/agents/AgentStatusBadge.tsx"() {
|
|
33462
33462
|
"use strict";
|
|
33463
33463
|
init_theme();
|
|
33464
33464
|
init_agent_status();
|
|
@@ -33470,7 +33470,7 @@ var init_AgentStatusBadge = __esm({
|
|
|
33470
33470
|
}
|
|
33471
33471
|
});
|
|
33472
33472
|
|
|
33473
|
-
// packages/experience-design-system-cli/src/tui/settings/agents/AgentDetail.tsx
|
|
33473
|
+
// packages/experience-design-system-cli/src/tui/settings/configuration/agents/AgentDetail.tsx
|
|
33474
33474
|
import { useEffect as useEffect22, useState as useState30 } from "react";
|
|
33475
33475
|
import { Box as Box45, Text as Text48 } from "ink";
|
|
33476
33476
|
import { jsx as jsx57, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
@@ -33560,7 +33560,7 @@ function AgentDetail({
|
|
|
33560
33560
|
}
|
|
33561
33561
|
var fields, LABEL_WIDTH, LABEL_GAP, POINTER_WIDTH;
|
|
33562
33562
|
var init_AgentDetail = __esm({
|
|
33563
|
-
"packages/experience-design-system-cli/src/tui/settings/agents/AgentDetail.tsx"() {
|
|
33563
|
+
"packages/experience-design-system-cli/src/tui/settings/configuration/agents/AgentDetail.tsx"() {
|
|
33564
33564
|
"use strict";
|
|
33565
33565
|
init_src4();
|
|
33566
33566
|
init_theme();
|
|
@@ -33579,7 +33579,7 @@ var init_AgentDetail = __esm({
|
|
|
33579
33579
|
}
|
|
33580
33580
|
});
|
|
33581
33581
|
|
|
33582
|
-
// packages/experience-design-system-cli/src/tui/settings/agents/AgentsScreen.tsx
|
|
33582
|
+
// packages/experience-design-system-cli/src/tui/settings/configuration/agents/AgentsScreen.tsx
|
|
33583
33583
|
import { useEffect as useEffect23, useState as useState31 } from "react";
|
|
33584
33584
|
import { Box as Box46, Text as Text49, useInput as useInput12 } from "ink";
|
|
33585
33585
|
import { Fragment as Fragment18, jsx as jsx58, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
@@ -33733,7 +33733,7 @@ function AgentsScreen({ onDone }) {
|
|
|
33733
33733
|
}
|
|
33734
33734
|
var NAME_WIDTH, PANEL_LABEL_WIDTH;
|
|
33735
33735
|
var init_AgentsScreen = __esm({
|
|
33736
|
-
"packages/experience-design-system-cli/src/tui/settings/agents/AgentsScreen.tsx"() {
|
|
33736
|
+
"packages/experience-design-system-cli/src/tui/settings/configuration/agents/AgentsScreen.tsx"() {
|
|
33737
33737
|
"use strict";
|
|
33738
33738
|
init_src4();
|
|
33739
33739
|
init_theme();
|
|
@@ -33748,7 +33748,7 @@ var init_AgentsScreen = __esm({
|
|
|
33748
33748
|
}
|
|
33749
33749
|
});
|
|
33750
33750
|
|
|
33751
|
-
// packages/experience-design-system-cli/src/tui/settings/
|
|
33751
|
+
// packages/experience-design-system-cli/src/tui/settings/configuration/project/project-store.ts
|
|
33752
33752
|
async function readCredentials() {
|
|
33753
33753
|
const store = await readV1Store();
|
|
33754
33754
|
return {
|
|
@@ -33772,14 +33772,14 @@ async function writeCredentials(config) {
|
|
|
33772
33772
|
});
|
|
33773
33773
|
await writeV1Store(merged);
|
|
33774
33774
|
}
|
|
33775
|
-
var
|
|
33776
|
-
"packages/experience-design-system-cli/src/tui/settings/
|
|
33775
|
+
var init_project_store = __esm({
|
|
33776
|
+
"packages/experience-design-system-cli/src/tui/settings/configuration/project/project-store.ts"() {
|
|
33777
33777
|
"use strict";
|
|
33778
33778
|
init_v1_store();
|
|
33779
33779
|
}
|
|
33780
33780
|
});
|
|
33781
33781
|
|
|
33782
|
-
// packages/experience-design-system-cli/src/tui/settings/
|
|
33782
|
+
// packages/experience-design-system-cli/src/tui/settings/configuration/project/ProjectScreen.tsx
|
|
33783
33783
|
import { useEffect as useEffect24, useState as useState32 } from "react";
|
|
33784
33784
|
import { Box as Box47, Text as Text50 } from "ink";
|
|
33785
33785
|
import { jsx as jsx59, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
@@ -33794,7 +33794,7 @@ function debugFields(config) {
|
|
|
33794
33794
|
contentful_base_dir: config?.contentfulBaseDir ?? ""
|
|
33795
33795
|
};
|
|
33796
33796
|
}
|
|
33797
|
-
function
|
|
33797
|
+
function ProjectScreen({ onDone }) {
|
|
33798
33798
|
const [config, setConfig] = useState32(null);
|
|
33799
33799
|
const [saving, setSaving] = useState32(false);
|
|
33800
33800
|
const [notice, setNotice] = useState32(null);
|
|
@@ -33853,13 +33853,13 @@ function ProjectConfigScreen({ onDone }) {
|
|
|
33853
33853
|
);
|
|
33854
33854
|
}
|
|
33855
33855
|
var FIELDS2, valuesOf;
|
|
33856
|
-
var
|
|
33857
|
-
"packages/experience-design-system-cli/src/tui/settings/
|
|
33856
|
+
var init_ProjectScreen = __esm({
|
|
33857
|
+
"packages/experience-design-system-cli/src/tui/settings/configuration/project/ProjectScreen.tsx"() {
|
|
33858
33858
|
"use strict";
|
|
33859
33859
|
init_theme();
|
|
33860
33860
|
init_debug_store();
|
|
33861
33861
|
init_FieldForm();
|
|
33862
|
-
|
|
33862
|
+
init_project_store();
|
|
33863
33863
|
FIELDS2 = [
|
|
33864
33864
|
{ key: "spaceId", label: "Space ID" },
|
|
33865
33865
|
{ key: "environmentId", label: "Environment ID" },
|
|
@@ -33873,7 +33873,7 @@ var init_ProjectConfigScreen = __esm({
|
|
|
33873
33873
|
}
|
|
33874
33874
|
});
|
|
33875
33875
|
|
|
33876
|
-
// packages/experience-design-system-cli/src/tui/settings/
|
|
33876
|
+
// packages/experience-design-system-cli/src/tui/settings/configuration/ConfigurationScreen.tsx
|
|
33877
33877
|
import { useState as useState33 } from "react";
|
|
33878
33878
|
import { Box as Box48, Text as Text51, useInput as useInput13 } from "ink";
|
|
33879
33879
|
import { jsx as jsx60, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
@@ -33897,7 +33897,7 @@ function ConfigurationScreen({ onDone }) {
|
|
|
33897
33897
|
}
|
|
33898
33898
|
if (key.escape || input === "q") onDone();
|
|
33899
33899
|
});
|
|
33900
|
-
if (open === "project") return /* @__PURE__ */ jsx60(
|
|
33900
|
+
if (open === "project") return /* @__PURE__ */ jsx60(ProjectScreen, { onDone: close });
|
|
33901
33901
|
if (open === "agents") return /* @__PURE__ */ jsx60(AgentsScreen, { onDone: close });
|
|
33902
33902
|
return /* @__PURE__ */ jsxs49(Box48, { flexDirection: "column", paddingX: 2, paddingY: 1, children: [
|
|
33903
33903
|
/* @__PURE__ */ jsx60(Text51, { bold: true, children: "Configuration" }),
|
|
@@ -33921,13 +33921,13 @@ function ConfigurationScreen({ onDone }) {
|
|
|
33921
33921
|
] });
|
|
33922
33922
|
}
|
|
33923
33923
|
var SECTIONS;
|
|
33924
|
-
var
|
|
33925
|
-
"packages/experience-design-system-cli/src/tui/settings/
|
|
33924
|
+
var init_ConfigurationScreen = __esm({
|
|
33925
|
+
"packages/experience-design-system-cli/src/tui/settings/configuration/ConfigurationScreen.tsx"() {
|
|
33926
33926
|
"use strict";
|
|
33927
33927
|
init_theme();
|
|
33928
33928
|
init_control_hints();
|
|
33929
33929
|
init_AgentsScreen();
|
|
33930
|
-
|
|
33930
|
+
init_ProjectScreen();
|
|
33931
33931
|
SECTIONS = [
|
|
33932
33932
|
{
|
|
33933
33933
|
id: "project",
|
|
@@ -34472,11 +34472,11 @@ var init_app = __esm({
|
|
|
34472
34472
|
init_use_flow();
|
|
34473
34473
|
init_PageContainer2();
|
|
34474
34474
|
init_PageContainer3();
|
|
34475
|
-
|
|
34475
|
+
init_ConfigurationScreen();
|
|
34476
34476
|
init_screen11();
|
|
34477
34477
|
init_PageContainer4();
|
|
34478
34478
|
init_screen12();
|
|
34479
|
-
|
|
34479
|
+
init_project_store();
|
|
34480
34480
|
}
|
|
34481
34481
|
});
|
|
34482
34482
|
|
package/dist/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
/** The Contentful project settings: the space, credentials, defaults and where `.contentful` goes. */
|
|
3
|
-
export declare function
|
|
3
|
+
export declare function ProjectScreen({ onDone }: {
|
|
4
4
|
onDone: () => void;
|
|
5
5
|
}): React.ReactElement;
|
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-a2aef8c6.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-a2aef8c6.0",
|
|
49
|
+
"@contentful/experience-design-system-types": "2.37.1-dev-build-a2aef8c6.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@tsconfig/node24": "^24.0.4",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|