replicas-cli 0.2.222 → 0.2.223
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/index.mjs +50 -50
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -8933,7 +8933,7 @@ var HOOK_EXEC_MAX_BUFFER_BYTES = 10 * 1024 * 1024;
|
|
|
8933
8933
|
var REPLICAS_CONFIG_FILENAMES = ["replicas.json", "replicas.yaml", "replicas.yml"];
|
|
8934
8934
|
|
|
8935
8935
|
// ../shared/src/cli-version.ts
|
|
8936
|
-
var CLI_VERSION = "0.2.
|
|
8936
|
+
var CLI_VERSION = "0.2.223";
|
|
8937
8937
|
|
|
8938
8938
|
// ../shared/src/engine/environment.ts
|
|
8939
8939
|
var DESKTOP_NOVNC_PORT = 6080;
|
|
@@ -10347,8 +10347,8 @@ var SOURCE_CONFIG = {
|
|
|
10347
10347
|
github_pr_existing_general: { label: "GitHub PR", color: "#8b949e" },
|
|
10348
10348
|
slack_task: { label: "Slack", color: "#BF6CC2" },
|
|
10349
10349
|
automation_triggered: { label: "Automation", color: "#f59e0b" },
|
|
10350
|
-
plan_quote: { label: "Plan", color: "#
|
|
10351
|
-
inline_diff_comments: { label: "Diff Comments", color: "#
|
|
10350
|
+
plan_quote: { label: "Plan", color: "#3eeba3" },
|
|
10351
|
+
inline_diff_comments: { label: "Diff Comments", color: "#3eeba3" },
|
|
10352
10352
|
merged: { label: "Bundled", color: "#a3a3a3" }
|
|
10353
10353
|
};
|
|
10354
10354
|
|
|
@@ -13970,7 +13970,7 @@ function StatusBar({ focusPanel, viewingDiff, hasDiffAvailable }) {
|
|
|
13970
13970
|
justifyContent: "space-between",
|
|
13971
13971
|
width: "100%",
|
|
13972
13972
|
children: [
|
|
13973
|
-
/* @__PURE__ */ jsx("text", { children: /* @__PURE__ */ jsx("span", { fg: "#
|
|
13973
|
+
/* @__PURE__ */ jsx("text", { children: /* @__PURE__ */ jsx("span", { fg: "#3eeba3", children: /* @__PURE__ */ jsx("strong", { children: "Replicas" }) }) }),
|
|
13974
13974
|
/* @__PURE__ */ jsxs("text", { children: [
|
|
13975
13975
|
/* @__PURE__ */ jsxs("span", { fg: "#555555", children: [
|
|
13976
13976
|
hints,
|
|
@@ -14210,7 +14210,7 @@ function WorkspaceSidebar({
|
|
|
14210
14210
|
width: 28,
|
|
14211
14211
|
border: true,
|
|
14212
14212
|
borderStyle: "rounded",
|
|
14213
|
-
borderColor: focused ? "#
|
|
14213
|
+
borderColor: focused ? "#3eeba3" : "#333333",
|
|
14214
14214
|
title: "Workspaces",
|
|
14215
14215
|
titleAlignment: "center",
|
|
14216
14216
|
flexDirection: "column",
|
|
@@ -14249,8 +14249,8 @@ function WorkspaceSidebar({
|
|
|
14249
14249
|
const isSelected = item.workspaceId === selectedWorkspaceId;
|
|
14250
14250
|
const isConfirming = confirmDelete === item.workspaceId;
|
|
14251
14251
|
const dot = item.status === "active" ? "\u25CF" : item.status === "preparing" ? "\u25CC" : "\u25CB";
|
|
14252
|
-
const dotColor = item.status === "active" ? "#
|
|
14253
|
-
const nameColor = isSelected ? "#
|
|
14252
|
+
const dotColor = item.status === "active" ? "#3eeba3" : item.status === "preparing" ? "#ffaa00" : "#666666";
|
|
14253
|
+
const nameColor = isSelected ? "#3eeba3" : "#cccccc";
|
|
14254
14254
|
const itemBg = isConfirming ? "#331111" : isCursor ? "#1a1a1a" : isSelected ? "#0a1a0a" : "#0a0a0a";
|
|
14255
14255
|
if (isConfirming) {
|
|
14256
14256
|
return /* @__PURE__ */ jsxs2("box", { height: 1, backgroundColor: "#331111", paddingX: 1, flexDirection: "row", gap: 1, children: [
|
|
@@ -14258,7 +14258,7 @@ function WorkspaceSidebar({
|
|
|
14258
14258
|
/* @__PURE__ */ jsx2("box", { onMouseDown: () => {
|
|
14259
14259
|
onDeleteWorkspace(item.workspaceId);
|
|
14260
14260
|
setConfirmDelete(null);
|
|
14261
|
-
}, children: /* @__PURE__ */ jsx2("text", { children: /* @__PURE__ */ jsx2("span", { fg: "#
|
|
14261
|
+
}, children: /* @__PURE__ */ jsx2("text", { children: /* @__PURE__ */ jsx2("span", { fg: "#3eeba3", children: "[y]" }) }) }),
|
|
14262
14262
|
/* @__PURE__ */ jsx2("box", { onMouseDown: () => setConfirmDelete(null), children: /* @__PURE__ */ jsx2("text", { children: /* @__PURE__ */ jsx2("span", { fg: "#ff4444", children: "[n]" }) }) })
|
|
14263
14263
|
] }, `w-${item.workspaceId}`);
|
|
14264
14264
|
}
|
|
@@ -14294,7 +14294,7 @@ function WorkspaceSidebar({
|
|
|
14294
14294
|
paddingX: 1,
|
|
14295
14295
|
onMouseDown: () => handleItemClick(globalIndex),
|
|
14296
14296
|
children: /* @__PURE__ */ jsxs2("text", { children: [
|
|
14297
|
-
/* @__PURE__ */ jsx2("span", { fg: isCursor ? "#
|
|
14297
|
+
/* @__PURE__ */ jsx2("span", { fg: isCursor ? "#3eeba3" : "#444444", children: " + " }),
|
|
14298
14298
|
/* @__PURE__ */ jsx2("span", { fg: isCursor ? "#888888" : "#333333", children: "New workspace" })
|
|
14299
14299
|
] })
|
|
14300
14300
|
},
|
|
@@ -14323,11 +14323,11 @@ import { useState as useState5, useMemo as useMemo4 } from "react";
|
|
|
14323
14323
|
import "opentui-spinner/react";
|
|
14324
14324
|
import { createPulse } from "opentui-spinner";
|
|
14325
14325
|
import { jsx as jsx3, jsxs as jsxs3 } from "@opentui/react/jsx-runtime";
|
|
14326
|
-
var thinkingColor = createPulse(["#
|
|
14326
|
+
var thinkingColor = createPulse(["#3eeba3", "#2ca774", "#1c6a49"], 0.5);
|
|
14327
14327
|
function SpinnerLabel({ color, label }) {
|
|
14328
14328
|
return /* @__PURE__ */ jsxs3("box", { flexDirection: "row", gap: 1, children: [
|
|
14329
14329
|
/* @__PURE__ */ jsx3("spinner", { name: "dots", color: color ?? thinkingColor, interval: 80 }),
|
|
14330
|
-
label && /* @__PURE__ */ jsx3("text", { children: /* @__PURE__ */ jsx3("span", { fg: color ?? "#
|
|
14330
|
+
label && /* @__PURE__ */ jsx3("text", { children: /* @__PURE__ */ jsx3("span", { fg: color ?? "#3eeba3", children: label }) })
|
|
14331
14331
|
] });
|
|
14332
14332
|
}
|
|
14333
14333
|
|
|
@@ -14343,14 +14343,14 @@ var sharedSyntaxStyle = null;
|
|
|
14343
14343
|
function getSyntaxStyle() {
|
|
14344
14344
|
if (!sharedSyntaxStyle) {
|
|
14345
14345
|
sharedSyntaxStyle = SyntaxStyle.fromTheme([
|
|
14346
|
-
{ scope: ["markup.heading", "markup.heading.1", "markup.heading.2", "markup.heading.3"], style: { foreground: "#
|
|
14346
|
+
{ scope: ["markup.heading", "markup.heading.1", "markup.heading.2", "markup.heading.3"], style: { foreground: "#3eeba3", bold: true } },
|
|
14347
14347
|
{ scope: ["markup.bold", "markup.strong"], style: { foreground: "#ffffff", bold: true } },
|
|
14348
14348
|
{ scope: ["markup.italic", "markup.emphasis"], style: { foreground: "#e0e0e0", italic: true } },
|
|
14349
14349
|
{ scope: ["markup.link"], style: { foreground: "#7dcfff", underline: true } },
|
|
14350
14350
|
{ scope: ["markup.link.url"], style: { foreground: "#7dcfff", underline: true } },
|
|
14351
|
-
{ scope: ["markup.link.text"], style: { foreground: "#
|
|
14352
|
-
{ scope: ["markup.link.label"], style: { foreground: "#
|
|
14353
|
-
{ scope: ["markup.list"], style: { foreground: "#
|
|
14351
|
+
{ scope: ["markup.link.text"], style: { foreground: "#3eeba3", underline: true } },
|
|
14352
|
+
{ scope: ["markup.link.label"], style: { foreground: "#3eeba3", underline: true } },
|
|
14353
|
+
{ scope: ["markup.list"], style: { foreground: "#3eeba3" } },
|
|
14354
14354
|
{ scope: ["markup.quote"], style: { foreground: "#888888", italic: true } },
|
|
14355
14355
|
{ scope: ["markup.raw", "markup.raw.block"], style: { foreground: "#bb9af7" } },
|
|
14356
14356
|
{ scope: ["markup.raw.inline"], style: { foreground: "#bb9af7", background: "#1a1a2e" } },
|
|
@@ -14456,7 +14456,7 @@ function diffProps(filePath) {
|
|
|
14456
14456
|
addedBg: "#0d2b0d",
|
|
14457
14457
|
removedBg: "#2b0d0d",
|
|
14458
14458
|
contextBg: "#0a0a0a",
|
|
14459
|
-
addedSignColor: "#
|
|
14459
|
+
addedSignColor: "#3eeba3",
|
|
14460
14460
|
removedSignColor: "#ff4444",
|
|
14461
14461
|
lineNumberFg: "#555555",
|
|
14462
14462
|
lineNumberBg: "#0a0a0a",
|
|
@@ -14706,8 +14706,8 @@ function DiffViewer({ diff, repoName, focused }) {
|
|
|
14706
14706
|
flexShrink: 0,
|
|
14707
14707
|
children: [
|
|
14708
14708
|
/* @__PURE__ */ jsx4("box", { paddingX: 1, flexShrink: 0, height: 1, children: /* @__PURE__ */ jsxs4("text", { children: [
|
|
14709
|
-
/* @__PURE__ */ jsx4("span", { fg: filesPaneActive ? "#
|
|
14710
|
-
/* @__PURE__ */ jsx4("span", { fg: filesPaneActive ? "#
|
|
14709
|
+
/* @__PURE__ */ jsx4("span", { fg: filesPaneActive ? "#3eeba3" : "#333333", children: filesPaneActive ? "\u25B8 " : " " }),
|
|
14710
|
+
/* @__PURE__ */ jsx4("span", { fg: filesPaneActive ? "#3eeba3" : "#888888", children: filesPaneActive ? /* @__PURE__ */ jsxs4("strong", { children: [
|
|
14711
14711
|
files.length,
|
|
14712
14712
|
" ",
|
|
14713
14713
|
files.length === 1 ? "file" : "files",
|
|
@@ -14752,7 +14752,7 @@ function DiffViewer({ diff, repoName, focused }) {
|
|
|
14752
14752
|
const removed = node.removed ?? 0;
|
|
14753
14753
|
const addedPart = added > 0 ? `+${added}` : "";
|
|
14754
14754
|
const removedPart = removed > 0 ? `-${removed}` : "";
|
|
14755
|
-
const bubbleColor = added > 0 && removed > 0 ? "#ffaa00" : removed > 0 ? "#ff4444" : "#
|
|
14755
|
+
const bubbleColor = added > 0 && removed > 0 ? "#ffaa00" : removed > 0 ? "#ff4444" : "#3eeba3";
|
|
14756
14756
|
const overhead = indent.length + 2 + statsColumnWidth + 1;
|
|
14757
14757
|
const nameMax = Math.max(1, usable - overhead);
|
|
14758
14758
|
const displayName = truncateName(node.name, nameMax);
|
|
@@ -14774,10 +14774,10 @@ function DiffViewer({ diff, repoName, focused }) {
|
|
|
14774
14774
|
"\u25CF",
|
|
14775
14775
|
" "
|
|
14776
14776
|
] }),
|
|
14777
|
-
/* @__PURE__ */ jsx4("span", { fg: isSelectedFile || isCursor ? "#
|
|
14777
|
+
/* @__PURE__ */ jsx4("span", { fg: isSelectedFile || isCursor ? "#3eeba3" : "#cccccc", children: displayName })
|
|
14778
14778
|
] }),
|
|
14779
14779
|
/* @__PURE__ */ jsx4("box", { width: statsColumnWidth, flexShrink: 0, justifyContent: "flex-end", flexDirection: "row", children: /* @__PURE__ */ jsxs4("text", { children: [
|
|
14780
|
-
addedPart && /* @__PURE__ */ jsx4("span", { fg: "#
|
|
14780
|
+
addedPart && /* @__PURE__ */ jsx4("span", { fg: "#3eeba3", children: addedPart }),
|
|
14781
14781
|
addedPart && removedPart && /* @__PURE__ */ jsx4("span", { fg: "#444444", children: " " }),
|
|
14782
14782
|
removedPart && /* @__PURE__ */ jsx4("span", { fg: "#ff4444", children: removedPart })
|
|
14783
14783
|
] }) })
|
|
@@ -14794,7 +14794,7 @@ function DiffViewer({ diff, repoName, focused }) {
|
|
|
14794
14794
|
/* @__PURE__ */ jsxs4("box", { flexDirection: "row", justifyContent: "space-between", height: 1, children: [
|
|
14795
14795
|
/* @__PURE__ */ jsxs4("text", { children: [
|
|
14796
14796
|
/* @__PURE__ */ jsx4("span", { fg: "#ffffff", children: /* @__PURE__ */ jsx4("strong", { children: repoName }) }),
|
|
14797
|
-
totalAdded > 0 && /* @__PURE__ */ jsxs4("span", { fg: "#
|
|
14797
|
+
totalAdded > 0 && /* @__PURE__ */ jsxs4("span", { fg: "#3eeba3", children: [
|
|
14798
14798
|
" +",
|
|
14799
14799
|
totalAdded
|
|
14800
14800
|
] }),
|
|
@@ -14811,14 +14811,14 @@ function DiffViewer({ diff, repoName, focused }) {
|
|
|
14811
14811
|
] })
|
|
14812
14812
|
] }),
|
|
14813
14813
|
/* @__PURE__ */ jsx4("box", { flexDirection: "row", height: 1, backgroundColor: "#0d0d0d", paddingX: 1, children: /* @__PURE__ */ jsxs4("text", { children: [
|
|
14814
|
-
/* @__PURE__ */ jsx4("span", { fg: diffPaneActive ? "#
|
|
14814
|
+
/* @__PURE__ */ jsx4("span", { fg: diffPaneActive ? "#3eeba3" : "#444444", children: diffPaneActive ? "\u25B8 " : " " }),
|
|
14815
14815
|
(() => {
|
|
14816
14816
|
const lastSlash = selected.path.lastIndexOf("/");
|
|
14817
14817
|
const dir = lastSlash >= 0 ? selected.path.slice(0, lastSlash + 1) : "";
|
|
14818
14818
|
const base = lastSlash >= 0 ? selected.path.slice(lastSlash + 1) : selected.path;
|
|
14819
14819
|
return /* @__PURE__ */ jsxs4(Fragment, { children: [
|
|
14820
14820
|
dir && /* @__PURE__ */ jsx4("span", { fg: "#666666", children: dir }),
|
|
14821
|
-
/* @__PURE__ */ jsx4("span", { fg: diffPaneActive ? "#
|
|
14821
|
+
/* @__PURE__ */ jsx4("span", { fg: diffPaneActive ? "#3eeba3" : "#ffffff", children: /* @__PURE__ */ jsx4("strong", { children: base }) })
|
|
14822
14822
|
] });
|
|
14823
14823
|
})()
|
|
14824
14824
|
] }) })
|
|
@@ -15049,7 +15049,7 @@ function truncate4(text, maxLen) {
|
|
|
15049
15049
|
return text.length > maxLen ? text.slice(0, maxLen - 1) + "\u2026" : text;
|
|
15050
15050
|
}
|
|
15051
15051
|
function StatusIcon({ status }) {
|
|
15052
|
-
if (status === "completed") return /* @__PURE__ */ jsxs6("span", { fg: "#
|
|
15052
|
+
if (status === "completed") return /* @__PURE__ */ jsxs6("span", { fg: "#3eeba3", children: [
|
|
15053
15053
|
" ",
|
|
15054
15054
|
"\u2713"
|
|
15055
15055
|
] });
|
|
@@ -15115,7 +15115,7 @@ function ExpandableAction({
|
|
|
15115
15115
|
] });
|
|
15116
15116
|
}
|
|
15117
15117
|
var CHANGE_STYLE = {
|
|
15118
|
-
add: { color: "#
|
|
15118
|
+
add: { color: "#3eeba3", sign: "+" },
|
|
15119
15119
|
delete: { color: "#ff4444", sign: "-" }
|
|
15120
15120
|
};
|
|
15121
15121
|
var DEFAULT_CHANGE_STYLE = { color: "#ffaa00", sign: "~" };
|
|
@@ -15150,7 +15150,7 @@ function PatchOperation({ op, defaultExpanded = false }) {
|
|
|
15150
15150
|
stats.removed
|
|
15151
15151
|
] }),
|
|
15152
15152
|
stats.removed > 0 && stats.added > 0 && /* @__PURE__ */ jsx6("span", { fg: "#444444", children: " " }),
|
|
15153
|
-
stats.added > 0 && /* @__PURE__ */ jsxs6("span", { fg: "#
|
|
15153
|
+
stats.added > 0 && /* @__PURE__ */ jsxs6("span", { fg: "#3eeba3", children: [
|
|
15154
15154
|
"+",
|
|
15155
15155
|
stats.added
|
|
15156
15156
|
] })
|
|
@@ -15175,7 +15175,7 @@ function UserMessageContent({ content }) {
|
|
|
15175
15175
|
paddingY: 1,
|
|
15176
15176
|
marginX: 1,
|
|
15177
15177
|
children: isStructuredPrompt(parsed) ? /* @__PURE__ */ jsx6(StructuredUserMessage, { parsed }) : /* @__PURE__ */ jsxs6(Fragment3, { children: [
|
|
15178
|
-
/* @__PURE__ */ jsx6("text", { children: /* @__PURE__ */ jsx6("span", { fg: "#
|
|
15178
|
+
/* @__PURE__ */ jsx6("text", { children: /* @__PURE__ */ jsx6("span", { fg: "#3eeba3", children: /* @__PURE__ */ jsx6("strong", { children: "You" }) }) }),
|
|
15179
15179
|
/* @__PURE__ */ jsx6("text", { fg: "#ffffff", selectable: true, children: content })
|
|
15180
15180
|
] })
|
|
15181
15181
|
}
|
|
@@ -15191,7 +15191,7 @@ function ChatMessage({ message, provider }) {
|
|
|
15191
15191
|
}
|
|
15192
15192
|
case "agent":
|
|
15193
15193
|
return /* @__PURE__ */ jsxs6("box", { flexDirection: "column", paddingX: 1, children: [
|
|
15194
|
-
/* @__PURE__ */ jsx6("text", { children: /* @__PURE__ */ jsx6("span", { fg: "#
|
|
15194
|
+
/* @__PURE__ */ jsx6("text", { children: /* @__PURE__ */ jsx6("span", { fg: "#3eeba3", children: /* @__PURE__ */ jsx6("strong", { children: AGENT_LABELS[provider] }) }) }),
|
|
15195
15195
|
/* @__PURE__ */ jsx6(
|
|
15196
15196
|
"markdown",
|
|
15197
15197
|
{
|
|
@@ -15251,7 +15251,7 @@ function ChatMessage({ message, provider }) {
|
|
|
15251
15251
|
")"
|
|
15252
15252
|
] }) }) }),
|
|
15253
15253
|
message.items.map((item, i) => /* @__PURE__ */ jsxs6("text", { children: [
|
|
15254
|
-
/* @__PURE__ */ jsx6("span", { fg: item.completed ? "#
|
|
15254
|
+
/* @__PURE__ */ jsx6("span", { fg: item.completed ? "#3eeba3" : "#555555", children: item.completed ? " \u2611" : " \u2610" }),
|
|
15255
15255
|
/* @__PURE__ */ jsxs6("span", { fg: "#ffffff", children: [
|
|
15256
15256
|
" ",
|
|
15257
15257
|
item.text
|
|
@@ -15284,7 +15284,7 @@ var textareaKeyBindings = [
|
|
|
15284
15284
|
{ name: "return", meta: true, action: "newline" }
|
|
15285
15285
|
];
|
|
15286
15286
|
var MODE_COLORS = {
|
|
15287
|
-
build: { border: "#
|
|
15287
|
+
build: { border: "#3eeba3", text: "#3eeba3" },
|
|
15288
15288
|
plan: { border: "#d97706", text: "#d97706" }
|
|
15289
15289
|
};
|
|
15290
15290
|
function ChatArea({
|
|
@@ -15362,7 +15362,7 @@ function ChatArea({
|
|
|
15362
15362
|
flexGrow: 1,
|
|
15363
15363
|
border: true,
|
|
15364
15364
|
borderStyle: "rounded",
|
|
15365
|
-
borderColor: anyFocused ? "#
|
|
15365
|
+
borderColor: anyFocused ? "#3eeba3" : "#333333",
|
|
15366
15366
|
title: "Chat",
|
|
15367
15367
|
titleAlignment: "center",
|
|
15368
15368
|
flexDirection: "column",
|
|
@@ -15375,7 +15375,7 @@ function ChatArea({
|
|
|
15375
15375
|
paddingX: 1,
|
|
15376
15376
|
marginX: 1,
|
|
15377
15377
|
border: true,
|
|
15378
|
-
borderColor: tabsFocused ? "#
|
|
15378
|
+
borderColor: tabsFocused ? "#3eeba3" : "#333333",
|
|
15379
15379
|
backgroundColor: "#000000",
|
|
15380
15380
|
flexDirection: "row",
|
|
15381
15381
|
gap: 1,
|
|
@@ -15575,7 +15575,7 @@ var AUTH_METHOD_LABELS = {
|
|
|
15575
15575
|
};
|
|
15576
15576
|
function StatusDot({ status }) {
|
|
15577
15577
|
if (status === true || status === "yes") {
|
|
15578
|
-
return /* @__PURE__ */ jsx8("span", { fg: "#
|
|
15578
|
+
return /* @__PURE__ */ jsx8("span", { fg: "#3eeba3", children: "\u2713" });
|
|
15579
15579
|
}
|
|
15580
15580
|
if (status === false || status === "no") {
|
|
15581
15581
|
return /* @__PURE__ */ jsx8("span", { fg: "#ff4444", children: "\u2717" });
|
|
@@ -15628,7 +15628,7 @@ function InteractiveRow({ id, label, highlighted, disabled, onClick }) {
|
|
|
15628
15628
|
paddingX: 1,
|
|
15629
15629
|
backgroundColor: highlighted ? "#1a2a1a" : "#111111",
|
|
15630
15630
|
onMouseDown: onClick,
|
|
15631
|
-
children: /* @__PURE__ */ jsx8("text", { children: /* @__PURE__ */ jsx8("span", { fg: highlighted ? "#
|
|
15631
|
+
children: /* @__PURE__ */ jsx8("text", { children: /* @__PURE__ */ jsx8("span", { fg: highlighted ? "#3eeba3" : "#7dcfff", children: label }) })
|
|
15632
15632
|
}
|
|
15633
15633
|
);
|
|
15634
15634
|
}
|
|
@@ -15641,7 +15641,7 @@ function ViewModeRow({
|
|
|
15641
15641
|
onClick
|
|
15642
15642
|
}) {
|
|
15643
15643
|
const bg = highlighted ? "#1a2a1a" : "#111111";
|
|
15644
|
-
const fg = disabled ? "#444444" : active ? "#
|
|
15644
|
+
const fg = disabled ? "#444444" : active ? "#3eeba3" : "#cccccc";
|
|
15645
15645
|
const marker = active ? "\u25B8" : " ";
|
|
15646
15646
|
return /* @__PURE__ */ jsx8(
|
|
15647
15647
|
"box",
|
|
@@ -15651,7 +15651,7 @@ function ViewModeRow({
|
|
|
15651
15651
|
backgroundColor: bg,
|
|
15652
15652
|
onMouseDown: disabled ? void 0 : onClick,
|
|
15653
15653
|
children: /* @__PURE__ */ jsxs8("text", { children: [
|
|
15654
|
-
/* @__PURE__ */ jsxs8("span", { fg: active ? "#
|
|
15654
|
+
/* @__PURE__ */ jsxs8("span", { fg: active ? "#3eeba3" : "#555555", children: [
|
|
15655
15655
|
marker,
|
|
15656
15656
|
" "
|
|
15657
15657
|
] }),
|
|
@@ -15661,7 +15661,7 @@ function ViewModeRow({
|
|
|
15661
15661
|
);
|
|
15662
15662
|
}
|
|
15663
15663
|
function WorkspaceInfo({ status, workspaceName, workspaceId, focused, loading, agentAvailability, previews, onWakeWorkspace, onViewDiff, wakingWorkspaceId, viewMode, viewingDiffRepoName, onSelectChatMode, onSelectDiffMode, onCreatePr, isPlanMode }) {
|
|
15664
|
-
const borderColor = focused ? "#
|
|
15664
|
+
const borderColor = focused ? "#3eeba3" : "#333333";
|
|
15665
15665
|
const [cursorIndex, setCursorIndex] = useState6(0);
|
|
15666
15666
|
const interactiveItems = useMemo5(() => {
|
|
15667
15667
|
if (!status || !workspaceName) return [];
|
|
@@ -15808,7 +15808,7 @@ function WorkspaceInfo({ status, workspaceName, workspaceId, focused, loading, a
|
|
|
15808
15808
|
}
|
|
15809
15809
|
);
|
|
15810
15810
|
}
|
|
15811
|
-
const statusColor = status.status === "active" ? "#
|
|
15811
|
+
const statusColor = status.status === "active" ? "#3eeba3" : status.status === "sleeping" ? "#ffaa00" : "#ff4444";
|
|
15812
15812
|
const rawEnv = status.environmentDetails;
|
|
15813
15813
|
const env = rawEnv && agentAvailability ? {
|
|
15814
15814
|
...rawEnv,
|
|
@@ -15891,11 +15891,11 @@ function WorkspaceInfo({ status, workspaceName, workspaceId, focused, loading, a
|
|
|
15891
15891
|
env && /* @__PURE__ */ jsxs8(Section, { title: "Agents", children: [
|
|
15892
15892
|
/* @__PURE__ */ jsxs8("box", { flexDirection: "row", justifyContent: "space-between", paddingX: 1, backgroundColor: "#111111", children: [
|
|
15893
15893
|
/* @__PURE__ */ jsx8("text", { children: /* @__PURE__ */ jsx8("span", { fg: "#cccccc", children: "Claude" }) }),
|
|
15894
|
-
/* @__PURE__ */ jsx8("text", { children: AUTH_METHOD_LABELS[env.claudeAuthMethod] ? /* @__PURE__ */ jsx8("span", { fg: "#
|
|
15894
|
+
/* @__PURE__ */ jsx8("text", { children: AUTH_METHOD_LABELS[env.claudeAuthMethod] ? /* @__PURE__ */ jsx8("span", { fg: "#3eeba3", children: AUTH_METHOD_LABELS[env.claudeAuthMethod] }) : /* @__PURE__ */ jsx8("span", { fg: "#ff4444", children: "\u2717" }) })
|
|
15895
15895
|
] }),
|
|
15896
15896
|
/* @__PURE__ */ jsxs8("box", { flexDirection: "row", justifyContent: "space-between", paddingX: 1, backgroundColor: "#111111", children: [
|
|
15897
15897
|
/* @__PURE__ */ jsx8("text", { children: /* @__PURE__ */ jsx8("span", { fg: "#cccccc", children: "Codex" }) }),
|
|
15898
|
-
/* @__PURE__ */ jsx8("text", { children: AUTH_METHOD_LABELS[env.codexAuthMethod] ? /* @__PURE__ */ jsx8("span", { fg: "#
|
|
15898
|
+
/* @__PURE__ */ jsx8("text", { children: AUTH_METHOD_LABELS[env.codexAuthMethod] ? /* @__PURE__ */ jsx8("span", { fg: "#3eeba3", children: AUTH_METHOD_LABELS[env.codexAuthMethod] }) : /* @__PURE__ */ jsx8("span", { fg: "#ff4444", children: "\u2717" }) })
|
|
15899
15899
|
] })
|
|
15900
15900
|
] }),
|
|
15901
15901
|
/* @__PURE__ */ jsx8(Section, { title: "View", children: (() => {
|
|
@@ -15927,7 +15927,7 @@ function WorkspaceInfo({ status, workspaceName, workspaceId, focused, loading, a
|
|
|
15927
15927
|
const isActive = viewMode === "diff" && viewingDiffRepoName === item.repoName;
|
|
15928
15928
|
const cursorOn = isHighlighted(item);
|
|
15929
15929
|
const bg = cursorOn ? "#1a2a1a" : isActive ? "#0d2b0d" : "#111111";
|
|
15930
|
-
const nameColor = isActive || cursorOn ? "#
|
|
15930
|
+
const nameColor = isActive || cursorOn ? "#3eeba3" : "#cccccc";
|
|
15931
15931
|
return /* @__PURE__ */ jsxs8(
|
|
15932
15932
|
"box",
|
|
15933
15933
|
{
|
|
@@ -15939,11 +15939,11 @@ function WorkspaceInfo({ status, workspaceName, workspaceId, focused, loading, a
|
|
|
15939
15939
|
justifyContent: "space-between",
|
|
15940
15940
|
children: [
|
|
15941
15941
|
/* @__PURE__ */ jsxs8("text", { children: [
|
|
15942
|
-
/* @__PURE__ */ jsx8("span", { fg: isActive ? "#
|
|
15942
|
+
/* @__PURE__ */ jsx8("span", { fg: isActive ? "#3eeba3" : "#555555", children: isActive ? " \u25B8 " : " \u2514 " }),
|
|
15943
15943
|
isActive ? /* @__PURE__ */ jsx8("span", { fg: nameColor, children: /* @__PURE__ */ jsx8("strong", { children: item.repoName }) }) : /* @__PURE__ */ jsx8("span", { fg: nameColor, children: item.repoName })
|
|
15944
15944
|
] }),
|
|
15945
15945
|
/* @__PURE__ */ jsxs8("text", { children: [
|
|
15946
|
-
item.added > 0 && /* @__PURE__ */ jsxs8("span", { fg: "#
|
|
15946
|
+
item.added > 0 && /* @__PURE__ */ jsxs8("span", { fg: "#3eeba3", children: [
|
|
15947
15947
|
"+",
|
|
15948
15948
|
item.added
|
|
15949
15949
|
] }),
|
|
@@ -15982,7 +15982,7 @@ function WorkspaceInfo({ status, workspaceName, workspaceId, focused, loading, a
|
|
|
15982
15982
|
":",
|
|
15983
15983
|
preview2.port
|
|
15984
15984
|
] }) }),
|
|
15985
|
-
/* @__PURE__ */ jsx8("text", { children: /* @__PURE__ */ jsx8("span", { fg: previewItem && isHighlighted(previewItem) ? "#
|
|
15985
|
+
/* @__PURE__ */ jsx8("text", { children: /* @__PURE__ */ jsx8("span", { fg: previewItem && isHighlighted(previewItem) ? "#3eeba3" : "#7dcfff", children: "\u2197" }) })
|
|
15986
15986
|
]
|
|
15987
15987
|
},
|
|
15988
15988
|
i
|
|
@@ -15999,7 +15999,7 @@ function WorkspaceInfo({ status, workspaceName, workspaceId, focused, loading, a
|
|
|
15999
15999
|
"\u2514",
|
|
16000
16000
|
" "
|
|
16001
16001
|
] }),
|
|
16002
|
-
/* @__PURE__ */ jsx8("span", { fg: repo.currentBranch !== repo.defaultBranch ? "#ffaa00" : "#
|
|
16002
|
+
/* @__PURE__ */ jsx8("span", { fg: repo.currentBranch !== repo.defaultBranch ? "#ffaa00" : "#3eeba3", children: repo.currentBranch })
|
|
16003
16003
|
] }) }),
|
|
16004
16004
|
prItems.map((prItem) => /* @__PURE__ */ jsx8(
|
|
16005
16005
|
InteractiveRow,
|
|
@@ -16080,8 +16080,8 @@ function ToastProvider({ children }) {
|
|
|
16080
16080
|
// src/interactive/components/Toast.tsx
|
|
16081
16081
|
import { jsx as jsx10 } from "@opentui/react/jsx-runtime";
|
|
16082
16082
|
var VARIANT_COLORS = {
|
|
16083
|
-
info: { border: "#
|
|
16084
|
-
success: { border: "#
|
|
16083
|
+
info: { border: "#3eeba3", bg: "#0a1f17" },
|
|
16084
|
+
success: { border: "#3eeba3", bg: "#0a1f17" },
|
|
16085
16085
|
warning: { border: "#ffaa00", bg: "#1a1a0a" },
|
|
16086
16086
|
error: { border: "#ff4444", bg: "#1a0a0a" }
|
|
16087
16087
|
};
|
|
@@ -16449,7 +16449,7 @@ function AppInner() {
|
|
|
16449
16449
|
flexGrow: 1,
|
|
16450
16450
|
border: true,
|
|
16451
16451
|
borderStyle: "rounded",
|
|
16452
|
-
borderColor: focusPanel !== "sidebar" && focusPanel !== "info" ? "#
|
|
16452
|
+
borderColor: focusPanel !== "sidebar" && focusPanel !== "info" ? "#3eeba3" : "#333333",
|
|
16453
16453
|
backgroundColor: "#000000",
|
|
16454
16454
|
flexDirection: "column",
|
|
16455
16455
|
title: "Diff",
|
|
@@ -16491,7 +16491,7 @@ function AppInner() {
|
|
|
16491
16491
|
] }),
|
|
16492
16492
|
/* @__PURE__ */ jsxs9("text", { fg: "#555555", children: [
|
|
16493
16493
|
"Press ",
|
|
16494
|
-
/* @__PURE__ */ jsx11("span", { fg: "#
|
|
16494
|
+
/* @__PURE__ */ jsx11("span", { fg: "#3eeba3", children: /* @__PURE__ */ jsx11("strong", { children: "w" }) }),
|
|
16495
16495
|
" to wake it up"
|
|
16496
16496
|
] })
|
|
16497
16497
|
]
|